@procore/data-table 14.46.4 → 14.47.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.
@@ -1,6 +1,6 @@
1
1
  import React80, { useEffect, useState, forwardRef, useContext, useRef, useImperativeHandle, useLayoutEffect, useCallback, useMemo, memo, Component as Component$1, createElement } from 'react';
2
2
  import { uniqBy, prop, startsWith, mergeDeepRight, intersection, equals, omit, mergeDeepLeft, isNil, isEmpty, groupBy } from 'ramda';
3
- import { useI18nContext, Select, Input, UNSAFE_useOverlayTriggerContext, Card, Flex, Box, SegmentedController, Calendar, useDateTime, OverlayTrigger, isEventSource, DateInput, UNSAFE_isValidYearRange, DateSelect, PillSelect, TextArea, UNSAFE_useMenuImperativeControlNavigation, UNSAFE_Menu, UNSAFE_menuItemsWrapperAttribute, Spinner as Spinner$1, FlexList, Typography, Tooltip, Button, Required, MultiSelect, colors, Form, spacing, Switch, Panel, SelectButton, StyledSelectButton, typographyWeights, StyledSelectButtonLabel, StyledButton, StyledSelectArrow, Popover, UNSAFE_StyledSuperSelectTrigger, UNSAFE_StyledSuperSelectLabel, UNSAFE_StyledSuperSelectArrow, UNSAFE_StyledFilterTokenLabel, DateTimeProvider, UNSAFE_mergeRefs, useField, Label as Label$1, ContactItem as ContactItem$1, Checkbox, RadioButton, Link, AvatarStack, Pill, UNSAFE_SuperSelect, ToggleButton, Avatar, UNSAFE_useSuperSelectContext, UNSAFE_FilterToken, Typeahead, useI18n, I18nContext, Pagination as Pagination$1, H3, useVisibility, DropdownFlyout, EmptyState as EmptyState$1, StyledDropdownFlyoutLabel, StyledDropdownFlyoutExpandIcon } from '@procore/core-react';
3
+ import { useI18nContext, Select, Input, UNSAFE_useOverlayTriggerContext, Card, Flex, Box, SegmentedController, Calendar, useDateTime, OverlayTrigger, isEventSource, DateInput, UNSAFE_isValidYearRange, DateSelect, PillSelect, TextArea, UNSAFE_useMenuImperativeControlNavigation, UNSAFE_Menu, UNSAFE_menuItemsWrapperAttribute, Spinner as Spinner$1, FlexList, Typography, Tooltip, Button, Required, MultiSelect, colors, Form, spacing, Switch, Panel, SelectButton, StyledSelectButton, typographyWeights, StyledSelectButtonLabel, StyledButton, StyledSelectArrow, Popover, UNSAFE_StyledSuperSelectTrigger, UNSAFE_StyledSuperSelectLabel, UNSAFE_StyledSuperSelectArrow, UNSAFE_StyledFilterTokenLabel, DateTimeProvider, UNSAFE_mergeRefs, useField, Label, ContactItem as ContactItem$1, Checkbox, RadioButton, Link, AvatarStack, Pill, UNSAFE_SuperSelect, ToggleButton, Avatar, UNSAFE_useSuperSelectContext, UNSAFE_FilterToken, Typeahead, useI18n, I18nContext, Pagination as Pagination$1, useVisibility, DropdownFlyout, EmptyState as EmptyState$1, StyledDropdownFlyoutLabel, StyledDropdownFlyoutExpandIcon } from '@procore/core-react';
4
4
  import classnames from 'classnames/bind';
5
5
  import debounce5 from 'lodash.debounce';
6
6
  import { Error as Error$1, Grip, Building, ExternalLink, Clear, Calendar as Calendar$1, Pencil, CaretsIn, CaretsOut, ArrowDown, ArrowUp, CaretsInVertical, CaretsOutVerticalWithLine, CaretsOutVertical, CaretDown, CaretRight } from '@procore/core-icons';
@@ -1389,7 +1389,7 @@ ag-grid, ag-grid-angular, ag-grid-ng2, ag-grid-polymer, ag-grid-aurelia {
1389
1389
  animation-iteration-count: infinite;
1390
1390
  animation-name: ag-shake-left-to-right;
1391
1391
  }
1392
- @keyframes _ag-shake-left-to-right_pphrk_342 {
1392
+ @keyframes _ag-shake-left-to-right_fcvsa_342 {
1393
1393
  from {
1394
1394
  padding-left: 6px;
1395
1395
  padding-right: 2px;
@@ -5390,7 +5390,7 @@ input[class^=ag-][type=button]:focus, button[class^=ag-]:focus {
5390
5390
  animation-iteration-count: infinite;
5391
5391
  animation-timing-function: linear;
5392
5392
  }
5393
- @keyframes _spin_pphrk_1 {
5393
+ @keyframes _spin_fcvsa_1 {
5394
5394
  from {
5395
5395
  transform: rotate(0deg);
5396
5396
  }
@@ -7922,7 +7922,7 @@ input[class^=ag-][type=range]:disabled {
7922
7922
  padding-left: 16px;
7923
7923
  }
7924
7924
 
7925
- div._contextPanel_pphrk_7159 {
7925
+ div._contextPanel_fcvsa_7159 {
7926
7926
  width: 400px;
7927
7927
  transition: all ease 500ms;
7928
7928
  flex: 0 0 auto;
@@ -7931,12 +7931,12 @@ div._contextPanel_pphrk_7159 {
7931
7931
  border: 1px solid #d6dadc;
7932
7932
  display: flex;
7933
7933
  }
7934
- div._contextPanel_pphrk_7159:focus {
7934
+ div._contextPanel_fcvsa_7159:focus {
7935
7935
  border-color: #2066df;
7936
7936
  box-shadow: inset 0 0 1px 0 #2066df;
7937
7937
  outline: none;
7938
7938
  }
7939
- div._contextPanel--hidden_pphrk_7173 {
7939
+ div._contextPanel--hidden_fcvsa_7173 {
7940
7940
  border: none;
7941
7941
  overflow: hidden;
7942
7942
  padding: 0px;
@@ -7944,50 +7944,58 @@ div._contextPanel--hidden_pphrk_7173 {
7944
7944
  width: 0px;
7945
7945
  }
7946
7946
 
7947
- ._contextPanelWrapper_pphrk_7181 {
7947
+ ._contextPanelWrapper_fcvsa_7181 {
7948
7948
  position: relative;
7949
7949
  flex-grow: 1;
7950
7950
  }
7951
7951
 
7952
- ._contextPanelBody_pphrk_7186 {
7952
+ ._contextPanelBody_fcvsa_7186 {
7953
7953
  width: clamp(380px, 400px, 100%);
7954
7954
  }
7955
7955
 
7956
- ._contextPanel-stickyHeader_pphrk_7190 {
7956
+ ._contextPanel-stickyHeader_fcvsa_7190 {
7957
7957
  background-color: #ffffff;
7958
7958
  position: sticky;
7959
7959
  top: 0;
7960
7960
  z-index: 5;
7961
7961
  }
7962
7962
 
7963
- ._filters-list_pphrk_7197 {
7963
+ ._filters-list_fcvsa_7197 {
7964
7964
  padding: 0;
7965
7965
  margin: 0;
7966
7966
  }
7967
- ._filters-list_pphrk_7197 ol {
7967
+ ._filters-list_fcvsa_7197 ol {
7968
7968
  padding: 0;
7969
7969
  margin: 0;
7970
7970
  }
7971
7971
 
7972
- ._col-drag-column-icon_pphrk_7206 {
7972
+ ._date-filter-invalid-message_fcvsa_7206 {
7973
+ color: #c42223;
7974
+ font-size: 12px;
7975
+ line-height: 16px;
7976
+ margin-top: 4px;
7977
+ }
7978
+
7979
+ ._col-drag-column-icon_fcvsa_7213 {
7973
7980
  color: #6a767c;
7974
7981
  }
7975
7982
 
7976
- ._tabular-nums_pphrk_7210 {
7983
+ ._tabular-nums_fcvsa_7217 {
7977
7984
  font-variant-numeric: tabular-nums;
7978
7985
  }`;
7979
7986
  document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css));
7980
7987
  var styles_default = {
7981
- "contextPanel": "_contextPanel_pphrk_7159",
7982
- "contextPanel--hidden": "_contextPanel--hidden_pphrk_7173",
7983
- "contextPanelWrapper": "_contextPanelWrapper_pphrk_7181",
7984
- "contextPanelBody": "_contextPanelBody_pphrk_7186",
7985
- "contextPanel-stickyHeader": "_contextPanel-stickyHeader_pphrk_7190",
7986
- "filters-list": "_filters-list_pphrk_7197",
7987
- "col-drag-column-icon": "_col-drag-column-icon_pphrk_7206",
7988
- "tabular-nums": "_tabular-nums_pphrk_7210",
7989
- "ag-shake-left-to-right": "_ag-shake-left-to-right_pphrk_342",
7990
- "spin": "_spin_pphrk_1"
7988
+ "contextPanel": "_contextPanel_fcvsa_7159",
7989
+ "contextPanel--hidden": "_contextPanel--hidden_fcvsa_7173",
7990
+ "contextPanelWrapper": "_contextPanelWrapper_fcvsa_7181",
7991
+ "contextPanelBody": "_contextPanelBody_fcvsa_7186",
7992
+ "contextPanel-stickyHeader": "_contextPanel-stickyHeader_fcvsa_7190",
7993
+ "filters-list": "_filters-list_fcvsa_7197",
7994
+ "date-filter-invalid-message": "_date-filter-invalid-message_fcvsa_7206",
7995
+ "col-drag-column-icon": "_col-drag-column-icon_fcvsa_7213",
7996
+ "tabular-nums": "_tabular-nums_fcvsa_7217",
7997
+ "ag-shake-left-to-right": "_ag-shake-left-to-right_fcvsa_342",
7998
+ "spin": "_spin_fcvsa_1"
7991
7999
  };
7992
8000
 
7993
8001
  // src/CellRenderers/BooleanCell.tsx
@@ -8272,6 +8280,264 @@ var Editor = React80.forwardRef(
8272
8280
  }
8273
8281
  );
8274
8282
  var CurrencyCellEditor = withDataTableEditor(Editor, "input");
8283
+ var $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (React80).useLayoutEffect : () => {
8284
+ };
8285
+ var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
8286
+ var $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (React80)["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);
8287
+ function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
8288
+ const ref = (useRef)(null);
8289
+ $8ae05eaa5c114e9c$var$useEarlyEffect(() => {
8290
+ ref.current = fn;
8291
+ }, [
8292
+ fn
8293
+ ]);
8294
+ return (useCallback)((...args) => {
8295
+ const f = ref.current;
8296
+ return f === null || f === void 0 ? void 0 : f(...args);
8297
+ }, []);
8298
+ }
8299
+ var $b5e257d569688ac6$var$defaultContext = {
8300
+ prefix: String(Math.round(Math.random() * 1e10)),
8301
+ current: 0
8302
+ };
8303
+ var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80).createContext($b5e257d569688ac6$var$defaultContext);
8304
+ var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80).createContext(false);
8305
+ var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
8306
+ var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
8307
+ function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
8308
+ let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
8309
+ let ref = (useRef)(null);
8310
+ if (ref.current === null && !isDisabled) {
8311
+ var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
8312
+ let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = (React80).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
8313
+ if (currentOwner) {
8314
+ let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
8315
+ if (prevComponentValue == null)
8316
+ $b5e257d569688ac6$var$componentIds.set(currentOwner, {
8317
+ id: ctx.current,
8318
+ state: currentOwner.memoizedState
8319
+ });
8320
+ else if (currentOwner.memoizedState !== prevComponentValue.state) {
8321
+ ctx.current = prevComponentValue.id;
8322
+ $b5e257d569688ac6$var$componentIds.delete(currentOwner);
8323
+ }
8324
+ }
8325
+ ref.current = ++ctx.current;
8326
+ }
8327
+ return ref.current;
8328
+ }
8329
+ function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
8330
+ let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
8331
+ if (ctx === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM && process.env.NODE_ENV !== "production") console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
8332
+ let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
8333
+ let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
8334
+ return defaultId || `${prefix}-${counter2}`;
8335
+ }
8336
+ function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
8337
+ let id = (React80).useId();
8338
+ let [didSSR] = (useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
8339
+ let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
8340
+ return defaultId || `${prefix}-${id}`;
8341
+ }
8342
+ var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
8343
+ function $b5e257d569688ac6$var$getSnapshot() {
8344
+ return false;
8345
+ }
8346
+ function $b5e257d569688ac6$var$getServerSnapshot() {
8347
+ return true;
8348
+ }
8349
+ function $b5e257d569688ac6$var$subscribe(onStoreChange) {
8350
+ return () => {
8351
+ };
8352
+ }
8353
+ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
8354
+ if (typeof (React80)["useSyncExternalStore"] === "function") return (React80)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
8355
+ return (useContext)($b5e257d569688ac6$var$IsSSRContext);
8356
+ }
8357
+
8358
+ // ../../node_modules/@react-aria/utils/dist/useId.mjs
8359
+ var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
8360
+ var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
8361
+ var $bdb11010cef70236$var$registry;
8362
+ if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
8363
+ $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
8364
+ });
8365
+ function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
8366
+ let [value, setValue] = (useState)(defaultId);
8367
+ let nextId = (useRef)(null);
8368
+ let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
8369
+ let cleanupRef = (useRef)(null);
8370
+ if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
8371
+ if ($bdb11010cef70236$var$canUseDOM) {
8372
+ const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
8373
+ if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
8374
+ else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
8375
+ nextId
8376
+ ]);
8377
+ }
8378
+ ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
8379
+ let r2 = res;
8380
+ return () => {
8381
+ if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
8382
+ $bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
8383
+ };
8384
+ }, [
8385
+ res
8386
+ ]);
8387
+ (useEffect)(() => {
8388
+ let newId = nextId.current;
8389
+ if (newId) setValue(newId);
8390
+ return () => {
8391
+ if (newId) nextId.current = null;
8392
+ };
8393
+ });
8394
+ return res;
8395
+ }
8396
+ function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
8397
+ if (idA === idB) return idA;
8398
+ let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
8399
+ if (setIdsA) {
8400
+ setIdsA.forEach((ref) => ref.current = idB);
8401
+ return idB;
8402
+ }
8403
+ let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);
8404
+ if (setIdsB) {
8405
+ setIdsB.forEach((ref) => ref.current = idA);
8406
+ return idA;
8407
+ }
8408
+ return idB;
8409
+ }
8410
+
8411
+ // ../../node_modules/@react-aria/utils/dist/chain.mjs
8412
+ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
8413
+ return (...args) => {
8414
+ for (let callback of callbacks) if (typeof callback === "function") callback(...args);
8415
+ };
8416
+ }
8417
+
8418
+ // ../../node_modules/@react-aria/utils/dist/domHelpers.mjs
8419
+ var $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
8420
+ var _el_ownerDocument;
8421
+ return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
8422
+ };
8423
+ function $431fbd86ca7dc216$var$isNode(value) {
8424
+ return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
8425
+ }
8426
+ function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
8427
+ return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
8428
+ }
8429
+
8430
+ // ../../node_modules/@react-stately/flags/dist/import.mjs
8431
+ var $f4e2df6bd15f8569$var$_shadowDOM = false;
8432
+ function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
8433
+ return $f4e2df6bd15f8569$var$_shadowDOM;
8434
+ }
8435
+
8436
+ // ../../node_modules/@react-aria/utils/dist/DOMFunctions.mjs
8437
+ function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
8438
+ if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return otherNode && node ? node.contains(otherNode) : false;
8439
+ if (!node || !otherNode) return false;
8440
+ let currentNode = otherNode;
8441
+ while (currentNode !== null) {
8442
+ if (currentNode === node) return true;
8443
+ if (currentNode.tagName === "SLOT" && currentNode.assignedSlot)
8444
+ currentNode = currentNode.assignedSlot.parentNode;
8445
+ else if (($431fbd86ca7dc216$export$af51f0f06c0f328a)(currentNode))
8446
+ currentNode = currentNode.host;
8447
+ else currentNode = currentNode.parentNode;
8448
+ }
8449
+ return false;
8450
+ }
8451
+ var $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
8452
+ var _activeElement_shadowRoot;
8453
+ if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return doc.activeElement;
8454
+ let activeElement = doc.activeElement;
8455
+ while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
8456
+ return activeElement;
8457
+ };
8458
+ function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
8459
+ if (($f4e2df6bd15f8569$export$98658e8c59125e6a)() && event.target.shadowRoot) {
8460
+ if (event.composedPath) return event.composedPath()[0];
8461
+ }
8462
+ return event.target;
8463
+ }
8464
+
8465
+ // ../../node_modules/clsx/dist/clsx.mjs
8466
+ function r(e) {
8467
+ var t, f, n = "";
8468
+ if ("string" == typeof e || "number" == typeof e) n += e;
8469
+ else if ("object" == typeof e) if (Array.isArray(e)) {
8470
+ var o = e.length;
8471
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
8472
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
8473
+ return n;
8474
+ }
8475
+ function clsx() {
8476
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
8477
+ return n;
8478
+ }
8479
+ var clsx_default = clsx;
8480
+
8481
+ // ../../node_modules/@react-aria/utils/dist/mergeProps.mjs
8482
+ function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
8483
+ let result = {
8484
+ ...args[0]
8485
+ };
8486
+ for (let i = 1; i < args.length; i++) {
8487
+ let props = args[i];
8488
+ for (let key in props) {
8489
+ let a = result[key];
8490
+ let b = props[key];
8491
+ if (typeof a === "function" && typeof b === "function" && // This is a lot faster than a regex.
8492
+ key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= /* 'A' */
8493
+ 65 && key.charCodeAt(2) <= /* 'Z' */
8494
+ 90) result[key] = ($ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);
8495
+ else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = (clsx_default)(a, b);
8496
+ else if (key === "id" && a && b) result.id = ($bdb11010cef70236$export$cd8c9cb68f842629)(a, b);
8497
+ else result[key] = b !== void 0 ? b : a;
8498
+ }
8499
+ }
8500
+ return result;
8501
+ }
8502
+ function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
8503
+ let globalListeners = (useRef)(/* @__PURE__ */ new Map());
8504
+ let addGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
8505
+ let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
8506
+ globalListeners.current.delete(listener);
8507
+ listener(...args);
8508
+ } : listener;
8509
+ globalListeners.current.set(listener, {
8510
+ type,
8511
+ eventTarget,
8512
+ fn,
8513
+ options
8514
+ });
8515
+ eventTarget.addEventListener(type, fn, options);
8516
+ }, []);
8517
+ let removeGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
8518
+ var _globalListeners_current_get;
8519
+ let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
8520
+ eventTarget.removeEventListener(type, fn, options);
8521
+ globalListeners.current.delete(listener);
8522
+ }, []);
8523
+ let removeAllGlobalListeners = (useCallback)(() => {
8524
+ globalListeners.current.forEach((value, key) => {
8525
+ removeGlobalListener(value.eventTarget, value.type, key, value.options);
8526
+ });
8527
+ }, [
8528
+ removeGlobalListener
8529
+ ]);
8530
+ (useEffect)(() => {
8531
+ return removeAllGlobalListeners;
8532
+ }, [
8533
+ removeAllGlobalListeners
8534
+ ]);
8535
+ return {
8536
+ addGlobalListener,
8537
+ removeGlobalListener,
8538
+ removeAllGlobalListeners
8539
+ };
8540
+ }
8275
8541
 
8276
8542
  // src/utils/logger.ts
8277
8543
  var log = (...args) => {
@@ -8375,6 +8641,7 @@ function isValidFilter(filter) {
8375
8641
  }
8376
8642
 
8377
8643
  // src/FilterRenderers/DateFilterRenderer.tsx
8644
+ var cx4 = classnames.bind(styles_default);
8378
8645
  function getPlacement(currentSelectionType, position) {
8379
8646
  if (currentSelectionType === "single") {
8380
8647
  return "bottom-left";
@@ -8479,13 +8746,28 @@ var DateFilterSelect = React80.forwardRef(
8479
8746
  ({
8480
8747
  afterHide,
8481
8748
  onChange,
8749
+ invalidDateErrorMessage,
8482
8750
  position,
8483
8751
  selectedValue,
8484
8752
  selectionType = "either",
8485
8753
  setSelectionType = () => {
8486
8754
  }
8487
8755
  }, ref) => {
8756
+ const I18n = useI18nContext();
8757
+ const errorId = $bdb11010cef70236$export$f680877a34711e37();
8488
8758
  const dateTime = useDateTime();
8759
+ const localDateInputRef = React80.useRef(null);
8760
+ const errorMessageRef = React80.useRef(null);
8761
+ const updateInvalidState = React80.useCallback(() => {
8762
+ var _a, _b, _c;
8763
+ const isInvalid = ((_a = localDateInputRef.current) == null ? void 0 : _a.getAttribute("aria-invalid")) === "true";
8764
+ if (isInvalid) {
8765
+ (_b = errorMessageRef.current) == null ? void 0 : _b.removeAttribute("hidden");
8766
+ } else {
8767
+ (_c = errorMessageRef.current) == null ? void 0 : _c.setAttribute("hidden", "true");
8768
+ }
8769
+ }, []);
8770
+ const resolvedInvalidDateErrorMessage = typeof invalidDateErrorMessage === "function" ? invalidDateErrorMessage() : invalidDateErrorMessage || I18n.t("dataTable.filterRenders.dateFilter.invalidDate");
8489
8771
  const { start, end } = selectedValue;
8490
8772
  const selectedDate = (position === "start" ? start : end) ?? void 0;
8491
8773
  const [displayed, setDisplayed2] = React80.useState(
@@ -8520,7 +8802,7 @@ var DateFilterSelect = React80.forwardRef(
8520
8802
  yearRef
8521
8803
  }
8522
8804
  );
8523
- return /* @__PURE__ */ React80.createElement(
8805
+ return /* @__PURE__ */ React80.createElement(Box, { display: "flex-column", className: cx4("date-filter-input-wrapper") }, /* @__PURE__ */ React80.createElement(
8524
8806
  OverlayTrigger,
8525
8807
  {
8526
8808
  afterHide,
@@ -8546,9 +8828,7 @@ var DateFilterSelect = React80.forwardRef(
8546
8828
  {
8547
8829
  "data-qa": `data-table-date-filter-input-${position}`,
8548
8830
  onChangeSegment: (type, value) => {
8549
- if (value === -1) {
8550
- return;
8551
- }
8831
+ if (value === -1) return;
8552
8832
  if (type === "month") {
8553
8833
  setDisplayed2(dateTime.newDate(displayed.setMonth(value - 1)));
8554
8834
  } else if (type === "year") {
@@ -8563,12 +8843,26 @@ var DateFilterSelect = React80.forwardRef(
8563
8843
  onClear: () => {
8564
8844
  setDisplayed2(dateTime.newDate());
8565
8845
  },
8846
+ onBlur: updateInvalidState,
8566
8847
  clearRef,
8567
8848
  value: selectedDate,
8568
- ref
8849
+ ref: localDateInputRef,
8850
+ "aria-describedby": errorId
8569
8851
  }
8570
8852
  )
8571
- );
8853
+ ), /* @__PURE__ */ React80.createElement(
8854
+ Box,
8855
+ {
8856
+ id: errorId,
8857
+ ref: errorMessageRef,
8858
+ "aria-live": "polite",
8859
+ className: cx4("date-filter-invalid-message"),
8860
+ "data-qa": `data-table-date-filter-error-${position}`,
8861
+ hidden: true,
8862
+ role: "status"
8863
+ },
8864
+ resolvedInvalidDateErrorMessage
8865
+ ));
8572
8866
  }
8573
8867
  );
8574
8868
  function DateFilter({
@@ -8576,6 +8870,7 @@ function DateFilter({
8576
8870
  // core DateSelect doesn't have it
8577
8871
  // loading,
8578
8872
  onChange,
8873
+ invalidDateErrorMessage,
8579
8874
  selectionType = "either",
8580
8875
  value,
8581
8876
  ...props
@@ -8623,6 +8918,7 @@ function DateFilter({
8623
8918
  DateFilterSelect,
8624
8919
  {
8625
8920
  afterHide: dateRangeAfterHide,
8921
+ invalidDateErrorMessage,
8626
8922
  onChange: dateFilterOnChange,
8627
8923
  position: "start",
8628
8924
  selectedValue,
@@ -8632,6 +8928,7 @@ function DateFilter({
8632
8928
  ), selectedValue.type !== "single" && /* @__PURE__ */ React80.createElement(
8633
8929
  DateFilterSelect,
8634
8930
  {
8931
+ invalidDateErrorMessage,
8635
8932
  onChange: dateFilterOnChange,
8636
8933
  position: "end",
8637
8934
  ref: dateRangeEndDateRef,
@@ -8648,12 +8945,13 @@ function ServerSideDateSelectFilterRenderer({
8648
8945
  value = [],
8649
8946
  ...props
8650
8947
  }) {
8651
- var _a;
8948
+ var _a, _b;
8652
8949
  const colDef = columnDefinition;
8653
8950
  return /* @__PURE__ */ React80.createElement(OptionalDateTimeProvider, { timeZone: colDef.timeZone }, /* @__PURE__ */ React80.createElement(
8654
8951
  DateFilter,
8655
8952
  {
8656
8953
  ...props,
8954
+ invalidDateErrorMessage: (_a = colDef.filterProps) == null ? void 0 : _a.invalidDateErrorMessage,
8657
8955
  onChange: (selected) => {
8658
8956
  onChange(
8659
8957
  selected.map((date) => {
@@ -8667,7 +8965,7 @@ function ServerSideDateSelectFilterRenderer({
8667
8965
  })
8668
8966
  );
8669
8967
  },
8670
- selectionType: ((_a = colDef.filterProps) == null ? void 0 : _a.selectionType) ?? "either",
8968
+ selectionType: ((_b = colDef.filterProps) == null ? void 0 : _b.selectionType) ?? "either",
8671
8969
  value: value.map((option) => option ? option.date : option)
8672
8970
  }
8673
8971
  ));
@@ -8709,7 +9007,7 @@ function getCellValueTypographyProps(typographyProps) {
8709
9007
  }
8710
9008
 
8711
9009
  // src/CellRenderers/DateCell.tsx
8712
- var cx4 = classnames.bind(styles_default);
9010
+ var cx5 = classnames.bind(styles_default);
8713
9011
  function getDateObject(date) {
8714
9012
  if (isDate(date)) {
8715
9013
  return date;
@@ -8775,7 +9073,7 @@ var Editor2 = React80.forwardRef(
8775
9073
  StyledDateSelect,
8776
9074
  {
8777
9075
  afterHide,
8778
- className: cx4("input-cell"),
9076
+ className: cx5("input-cell"),
8779
9077
  disabledDate: (_b = columnDefinition.cellEditorParams) == null ? void 0 : _b.disabledDate,
8780
9078
  onChange,
8781
9079
  ref,
@@ -8786,7 +9084,7 @@ var Editor2 = React80.forwardRef(
8786
9084
  }
8787
9085
  );
8788
9086
  var DateCellEditor = withDataTableEditor(Editor2, "date");
8789
- var cx5 = classnames.bind(styles_default);
9087
+ var cx6 = classnames.bind(styles_default);
8790
9088
  function getDateObject2(date) {
8791
9089
  if (isDate(date)) {
8792
9090
  return date;
@@ -8837,7 +9135,7 @@ var Editor3 = React80.forwardRef(
8837
9135
  DateSelect,
8838
9136
  {
8839
9137
  afterHide,
8840
- className: cx5("input-cell"),
9138
+ className: cx6("input-cell"),
8841
9139
  disabledDate,
8842
9140
  onChange,
8843
9141
  ref,
@@ -52367,7 +52665,7 @@ globalObj.MouseEvent = typeof MouseEvent === "undefined" ? {} : MouseEvent;
52367
52665
 
52368
52666
  // src/CellRenderers/GroupCell.tsx
52369
52667
  var GroupCellRenderer2 = GroupCellRenderer;
52370
- var cx6 = classnames.bind(truncation_default);
52668
+ var cx7 = classnames.bind(truncation_default);
52371
52669
  var MIN_LINK_WIDTH = 48;
52372
52670
  var InternalLinkCellRenderer = ({
52373
52671
  columnDefinition,
@@ -52384,7 +52682,7 @@ var InternalLinkCellRenderer = ({
52384
52682
  const [isLinkWidthBelowMin, setIsLinkWidthBelowMin] = useState(false);
52385
52683
  const linkRef = useRef(null);
52386
52684
  const internalValue = value ? (_a = columnDefinition.getStringFormattedValue) == null ? void 0 : _a.call(columnDefinition, value) : "";
52387
- const className = cx6(
52685
+ const className = cx7(
52388
52686
  typographyProps == null ? void 0 : typographyProps.className,
52389
52687
  "textCell",
52390
52688
  "truncatingText",
@@ -52404,7 +52702,7 @@ var InternalLinkCellRenderer = ({
52404
52702
  }
52405
52703
  }, [internalValue]);
52406
52704
  const URL = getURL(value, data);
52407
- const extendClickableAreaClassNames = isLinkWidthBelowMin ? cx6("extendClickableArea", {
52705
+ const extendClickableAreaClassNames = isLinkWidthBelowMin ? cx7("extendClickableArea", {
52408
52706
  "extendClickableArea--rowHeightSm": rowHeight === rowSize.sm
52409
52707
  }) : "";
52410
52708
  if (isExternalLink && value && URL) {
@@ -52436,7 +52734,7 @@ var LinkCellRenderer = withDataTableRenderer(
52436
52734
  InternalLinkCellRenderer,
52437
52735
  "input"
52438
52736
  );
52439
- var cx7 = classnames.bind(styles_default);
52737
+ var cx8 = classnames.bind(styles_default);
52440
52738
  var InternalNumberCellRenderer = ({
52441
52739
  columnDefinition,
52442
52740
  rowPinned,
@@ -52452,7 +52750,7 @@ var InternalNumberCellRenderer = ({
52452
52750
  return null;
52453
52751
  }
52454
52752
  if (columnDefinition.editable) {
52455
- return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx7("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.numberCell.placeholder"));
52753
+ return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx8("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.numberCell.placeholder"));
52456
52754
  }
52457
52755
  return /* @__PURE__ */ React80.createElement(React80.Fragment, null);
52458
52756
  }
@@ -52495,7 +52793,7 @@ var InternalNumberCellEditor = React80.forwardRef(({ columnDefinition, stopEditi
52495
52793
  defaultValue: value,
52496
52794
  onBlur,
52497
52795
  ref,
52498
- className: cx7("input-cell", "input-cell--right-aligned"),
52796
+ className: cx8("input-cell", "input-cell--right-aligned"),
52499
52797
  ...inputProps
52500
52798
  }
52501
52799
  );
@@ -52571,7 +52869,7 @@ var peopleCellStyles_default = {
52571
52869
  };
52572
52870
 
52573
52871
  // src/CellRenderers/PeopleCell.tsx
52574
- var cx8 = classnames.bind(peopleCellStyles_default);
52872
+ var cx9 = classnames.bind(peopleCellStyles_default);
52575
52873
  var NUM_AVATARS_SHOWN = 4;
52576
52874
  var defaultAvatarStackItemFilter = (person) => !!person || !!person.id;
52577
52875
  var Renderer6 = ({
@@ -52660,7 +52958,7 @@ var Renderer6 = ({
52660
52958
  Flex,
52661
52959
  {
52662
52960
  direction: columnDefinition.autoHeight ? "column" : "row",
52663
- className: cx8("dynamicRowHeightSpacing", columnDefinition.autoHeight)
52961
+ className: cx9("dynamicRowHeightSpacing", columnDefinition.autoHeight)
52664
52962
  },
52665
52963
  isAvatarStackDisplayed && /* @__PURE__ */ React80.createElement(
52666
52964
  Box,
@@ -52691,7 +52989,7 @@ var Renderer6 = ({
52691
52989
  /* @__PURE__ */ React80.createElement(
52692
52990
  Typography,
52693
52991
  {
52694
- className: !columnDefinition.autoHeight ? cx8("truncatingText", {
52992
+ className: !columnDefinition.autoHeight ? cx9("truncatingText", {
52695
52993
  "truncatingText--md": rowHeight === rowSize.md,
52696
52994
  "truncatingText--lg": rowHeight === rowSize.lg
52697
52995
  }) : "",
@@ -52727,7 +53025,7 @@ var Renderer6 = ({
52727
53025
  {
52728
53026
  ...typographyProps,
52729
53027
  color: "gray45",
52730
- className: cx8("truncatingText")
53028
+ className: cx9("truncatingText")
52731
53029
  },
52732
53030
  getCompanyName(people[0])
52733
53031
  )) : /* @__PURE__ */ React80.createElement(
@@ -52735,7 +53033,7 @@ var Renderer6 = ({
52735
53033
  {
52736
53034
  ...typographyProps,
52737
53035
  color: "gray45",
52738
- className: cx8("truncatingText")
53036
+ className: cx9("truncatingText")
52739
53037
  },
52740
53038
  getCompanyName(people[0])
52741
53039
  )
@@ -52743,7 +53041,7 @@ var Renderer6 = ({
52743
53041
  );
52744
53042
  };
52745
53043
  var PeopleCellRenderer = withDataTableRenderer(Renderer6);
52746
- var cx9 = classnames.bind(styles_default);
53044
+ var cx10 = classnames.bind(styles_default);
52747
53045
  var Renderer7 = ({
52748
53046
  columnDefinition,
52749
53047
  isGroup,
@@ -52759,7 +53057,7 @@ var Renderer7 = ({
52759
53057
  return null;
52760
53058
  }
52761
53059
  if (columnDefinition.editable) {
52762
- return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx9("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.percentCell.placeholder"));
53060
+ return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx10("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.percentCell.placeholder"));
52763
53061
  }
52764
53062
  }
52765
53063
  const internalValue = formatPercentage((value == null ? void 0 : value.toString()) ?? "", formatConfig);
@@ -52769,7 +53067,7 @@ var Renderer7 = ({
52769
53067
  {
52770
53068
  intent: "small",
52771
53069
  weight: "semibold",
52772
- className: cx9("tabular-nums")
53070
+ className: cx10("tabular-nums")
52773
53071
  },
52774
53072
  internalValue
52775
53073
  );
@@ -52779,7 +53077,7 @@ var Renderer7 = ({
52779
53077
  {
52780
53078
  ...typographyProps,
52781
53079
  weight: rowPinned ? "bold" : typographyProps == null ? void 0 : typographyProps.weight,
52782
- className: cx9("tabular-nums")
53080
+ className: cx10("tabular-nums")
52783
53081
  },
52784
53082
  internalValue
52785
53083
  );
@@ -52812,7 +53110,7 @@ var Editor4 = React80.forwardRef(
52812
53110
  Input,
52813
53111
  {
52814
53112
  placeholder: (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.percentCell.placeholder"),
52815
- className: cx9("input-cell", "input-cell--right-aligned"),
53113
+ className: cx10("input-cell", "input-cell--right-aligned"),
52816
53114
  defaultValue,
52817
53115
  onBlur,
52818
53116
  ref,
@@ -52862,7 +53160,7 @@ var Renderer8 = ({
52862
53160
  );
52863
53161
  };
52864
53162
  var PersonCellRenderer = withDataTableRenderer(Renderer8, "select");
52865
- var cx10 = classnames.bind(styles_default);
53163
+ var cx11 = classnames.bind(styles_default);
52866
53164
  var Renderer9 = ({
52867
53165
  columnDefinition,
52868
53166
  isGroup,
@@ -52880,7 +53178,7 @@ var Renderer9 = ({
52880
53178
  return null;
52881
53179
  }
52882
53180
  if (columnDefinition.editable) {
52883
- return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx10("input-placeholder") }, placeholder || I18n.t("dataTable.cells.pillCell.placeholder", {
53181
+ return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx11("input-placeholder") }, placeholder || I18n.t("dataTable.cells.pillCell.placeholder", {
52884
53182
  label: columnDefinition.headerName
52885
53183
  }));
52886
53184
  }
@@ -52890,7 +53188,7 @@ var Renderer9 = ({
52890
53188
  if ((isGroup || rowPinned && columnDefinition.aggFunc) && !displayAsPill) {
52891
53189
  return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, weight: "semibold" }, label);
52892
53190
  }
52893
- return /* @__PURE__ */ React80.createElement(Pill, { color: getColor(value), className: cx10("pill-cell") }, label);
53191
+ return /* @__PURE__ */ React80.createElement(Pill, { color: getColor(value), className: cx11("pill-cell") }, label);
52894
53192
  };
52895
53193
  var PillCellRenderer = withDataTableRenderer(Renderer9, "select");
52896
53194
  var Editor5 = React80.forwardRef(
@@ -52954,7 +53252,7 @@ var Editor5 = React80.forwardRef(
52954
53252
  options,
52955
53253
  ref,
52956
53254
  value,
52957
- className: cx10("input-cell")
53255
+ className: cx11("input-cell")
52958
53256
  }
52959
53257
  );
52960
53258
  }
@@ -53027,7 +53325,7 @@ function useSelectOptions(selectOptions, data) {
53027
53325
  }
53028
53326
 
53029
53327
  // src/CellRenderers/SelectCell.tsx
53030
- var cx11 = classnames.bind({ ...styles_default, ...truncation_default });
53328
+ var cx12 = classnames.bind({ ...styles_default, ...truncation_default });
53031
53329
  var Renderer10 = ({
53032
53330
  columnDefinition,
53033
53331
  isGroup,
@@ -53042,7 +53340,7 @@ var Renderer10 = ({
53042
53340
  return null;
53043
53341
  }
53044
53342
  if (columnDefinition.editable) {
53045
- return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx11("truncatingText") }, placeholder || I18n.t("dataTable.cells.selectCell.placeholder", {
53343
+ return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx12("truncatingText") }, placeholder || I18n.t("dataTable.cells.selectCell.placeholder", {
53046
53344
  label: columnDefinition.headerName
53047
53345
  }));
53048
53346
  }
@@ -53052,14 +53350,14 @@ var Renderer10 = ({
53052
53350
  return /* @__PURE__ */ React80.createElement(
53053
53351
  Typography,
53054
53352
  {
53055
- className: cx11("truncatingText"),
53353
+ className: cx12("truncatingText"),
53056
53354
  ...typographyProps,
53057
53355
  weight: "semibold"
53058
53356
  },
53059
53357
  internalValue
53060
53358
  );
53061
53359
  }
53062
- return /* @__PURE__ */ React80.createElement(Typography, { className: cx11("truncatingText"), ...typographyProps }, internalValue);
53360
+ return /* @__PURE__ */ React80.createElement(Typography, { className: cx12("truncatingText"), ...typographyProps }, internalValue);
53063
53361
  };
53064
53362
  var SelectCellRenderer = withDataTableRenderer(Renderer10, "select");
53065
53363
  var Editor6 = React80.forwardRef(
@@ -53126,7 +53424,7 @@ var Editor6 = React80.forwardRef(
53126
53424
  onClear: clearable ? onClear : void 0,
53127
53425
  onScrollBottom,
53128
53426
  ref,
53129
- className: cx11("input-cell", "truncatingText")
53427
+ className: cx12("input-cell", "truncatingText")
53130
53428
  },
53131
53429
  (searchResultOptions || options).map((item) => /* @__PURE__ */ React80.createElement(
53132
53430
  Select.Option,
@@ -53141,7 +53439,7 @@ var Editor6 = React80.forwardRef(
53141
53439
  }
53142
53440
  );
53143
53441
  var SelectCellEditor2 = withDataTableEditor(Editor6, "select");
53144
- var cx12 = classnames.bind({ ...styles_default, ...truncation_default });
53442
+ var cx13 = classnames.bind({ ...styles_default, ...truncation_default });
53145
53443
  var Renderer11 = ({
53146
53444
  columnDefinition,
53147
53445
  rowHeight,
@@ -53157,10 +53455,10 @@ var Renderer11 = ({
53157
53455
  if (isGroup) {
53158
53456
  return null;
53159
53457
  }
53160
- return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx12("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.textCell.placeholder"));
53458
+ return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx13("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.textCell.placeholder"));
53161
53459
  }
53162
53460
  const internalValue = ((_a = columnDefinition.getStringFormattedValue) == null ? void 0 : _a.call(columnDefinition, value)) ?? value;
53163
- const className = cx12(
53461
+ const className = cx13(
53164
53462
  typographyProps == null ? void 0 : typographyProps.className,
53165
53463
  "textCell",
53166
53464
  "truncatingText",
@@ -53196,7 +53494,7 @@ var Editor7 = React80.forwardRef(
53196
53494
  return /* @__PURE__ */ React80.createElement(
53197
53495
  Input,
53198
53496
  {
53199
- className: cx12("input-cell"),
53497
+ className: cx13("input-cell"),
53200
53498
  defaultValue: internalValue,
53201
53499
  onBlur,
53202
53500
  ref,
@@ -53217,7 +53515,7 @@ var GrandTotalsLabelRenderer = (props) => {
53217
53515
  }
53218
53516
  return null;
53219
53517
  };
53220
- var cx13 = classnames.bind({ ...styles_default });
53518
+ var cx14 = classnames.bind({ ...styles_default });
53221
53519
  var Renderer12 = ({
53222
53520
  columnDefinition,
53223
53521
  node,
@@ -53232,7 +53530,7 @@ var Renderer12 = ({
53232
53530
  if (isGroup) {
53233
53531
  return null;
53234
53532
  }
53235
- return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx13("input-placeholder") }, (textAreaProps == null ? void 0 : textAreaProps.placeholder) || I18n.t("dataTable.cells.textCell.placeholder"));
53533
+ return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx14("input-placeholder") }, (textAreaProps == null ? void 0 : textAreaProps.placeholder) || I18n.t("dataTable.cells.textCell.placeholder"));
53236
53534
  }
53237
53535
  const internalValue = ((_a = columnDefinition.getStringFormattedValue) == null ? void 0 : _a.call(columnDefinition, value)) ?? value;
53238
53536
  if (isGroup) {
@@ -53247,7 +53545,7 @@ var Renderer12 = ({
53247
53545
  (node == null ? void 0 : node.footer) ? value : internalValue
53248
53546
  );
53249
53547
  }
53250
- return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx13("textarea-cell", "text") }, internalValue);
53548
+ return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx14("textarea-cell", "text") }, internalValue);
53251
53549
  };
53252
53550
  var Editor8 = React80.forwardRef(
53253
53551
  ({ columnDefinition, stopEditing, value, textAreaProps }, ref) => {
@@ -53260,7 +53558,7 @@ var Editor8 = React80.forwardRef(
53260
53558
  return /* @__PURE__ */ React80.createElement(
53261
53559
  TextArea,
53262
53560
  {
53263
- className: cx13("textarea-cell", "editor-text"),
53561
+ className: cx14("textarea-cell", "editor-text"),
53264
53562
  defaultValue: internalValue,
53265
53563
  onBlur,
53266
53564
  ref,
@@ -53909,8 +54207,23 @@ function useFilterOptions() {
53909
54207
  }
53910
54208
  var NumberFilterRenderer = React80.memo(
53911
54209
  function(props) {
53912
- const ariaLabelledBy = props["aria-labelledby"];
54210
+ const fieldLabel = props["aria-label"];
53913
54211
  const I18n = useI18nContext();
54212
+ const minValueAriaLabel = I18n.t("labels.min_value_aria_label", {
54213
+ defaultValue: "%{field} minimum value",
54214
+ field: fieldLabel ?? "",
54215
+ scope
54216
+ }).trim();
54217
+ const maxValueAriaLabel = I18n.t("labels.max_value_aria_label", {
54218
+ defaultValue: "%{field} maximum value",
54219
+ field: fieldLabel ?? "",
54220
+ scope
54221
+ }).trim();
54222
+ const valueAriaLabel = I18n.t("labels.value_aria_label", {
54223
+ defaultValue: "%{field} value",
54224
+ field: fieldLabel ?? "",
54225
+ scope
54226
+ }).trim();
53914
54227
  const defaultFilterOptions = useFilterOptions();
53915
54228
  const lowerLimitInputRef = React80.useRef(null);
53916
54229
  const [localValue, setLocalValue] = React80.useState(
@@ -53999,7 +54312,7 @@ var NumberFilterRenderer = React80.memo(
53999
54312
  {
54000
54313
  block: true,
54001
54314
  label: localLabel,
54002
- "aria-labelledby": ariaLabelledBy,
54315
+ "aria-label": fieldLabel,
54003
54316
  onClear,
54004
54317
  onSelect,
54005
54318
  placeholder: I18n.t("labels.placeholder", {
@@ -54031,6 +54344,7 @@ var NumberFilterRenderer = React80.memo(
54031
54344
  {
54032
54345
  ref: lowerLimitInputRef,
54033
54346
  type: "number",
54347
+ "aria-label": hasUpperLimitValue ? minValueAriaLabel : valueAriaLabel,
54034
54348
  placeholder: I18n.t("labels.input_placeholder", {
54035
54349
  defaultValue: "Enter Value",
54036
54350
  scope
@@ -54047,6 +54361,7 @@ var NumberFilterRenderer = React80.memo(
54047
54361
  Input,
54048
54362
  {
54049
54363
  type: "number",
54364
+ "aria-label": maxValueAriaLabel,
54050
54365
  value: localValue == null ? void 0 : localValue.filterTo,
54051
54366
  onChange: onUpdateUpperLimit
54052
54367
  }
@@ -54232,6 +54547,7 @@ var ServerSideFilter = ({
54232
54547
  );
54233
54548
  return null;
54234
54549
  }
54550
+ const filterLabel = typeof filterHeading === "string" ? filterHeading : columnDefinition.headerName;
54235
54551
  return /* @__PURE__ */ React80.createElement(
54236
54552
  Box,
54237
54553
  {
@@ -54241,7 +54557,7 @@ var ServerSideFilter = ({
54241
54557
  style: { width: "100%" }
54242
54558
  },
54243
54559
  filterHeading ? /* @__PURE__ */ React80.createElement(
54244
- H3,
54560
+ Label,
54245
54561
  {
54246
54562
  "data-qa": `data-table-filter-heading-${fieldName}`,
54247
54563
  id: `data-table-filter-heading-${fieldName}`
@@ -54251,6 +54567,7 @@ var ServerSideFilter = ({
54251
54567
  /* @__PURE__ */ React80.createElement(
54252
54568
  Component4,
54253
54569
  {
54570
+ "aria-label": filterLabel,
54254
54571
  columnDefinition,
54255
54572
  "data-qa": `data-table-filter-input-${fieldName}`,
54256
54573
  getOptions,
@@ -54267,9 +54584,25 @@ var ServerSideFilter = ({
54267
54584
  var DEBOUNCE_TIME = 300;
54268
54585
  function ServerSideNumberFilterRenderer({
54269
54586
  value = [],
54270
- onChange
54587
+ onChange,
54588
+ "aria-label": fieldLabel
54271
54589
  }) {
54272
54590
  const I18n = useI18nContext();
54591
+ const minValueAriaLabel = I18n.t("labels.min_value_aria_label", {
54592
+ defaultValue: "%{field} minimum value",
54593
+ field: fieldLabel ?? "",
54594
+ scope: "dataTable.filters.numberFilter"
54595
+ }).trim();
54596
+ const maxValueAriaLabel = I18n.t("labels.max_value_aria_label", {
54597
+ defaultValue: "%{field} maximum value",
54598
+ field: fieldLabel ?? "",
54599
+ scope: "dataTable.filters.numberFilter"
54600
+ }).trim();
54601
+ const valueAriaLabel = I18n.t("labels.value_aria_label", {
54602
+ defaultValue: "%{field} value",
54603
+ field: fieldLabel ?? "",
54604
+ scope: "dataTable.filters.numberFilter"
54605
+ }).trim();
54273
54606
  const [localFilter, setLocalFilter] = useState(
54274
54607
  () => {
54275
54608
  return {};
@@ -54457,6 +54790,7 @@ function ServerSideNumberFilterRenderer({
54457
54790
  Input,
54458
54791
  {
54459
54792
  type: "number",
54793
+ "aria-label": valueAriaLabel,
54460
54794
  placeholder: I18n.t("labels.input_placeholder", {
54461
54795
  defaultValue: "Enter Value",
54462
54796
  scope: "dataTable.filters.numberFilter"
@@ -54468,6 +54802,7 @@ function ServerSideNumberFilterRenderer({
54468
54802
  Input,
54469
54803
  {
54470
54804
  type: "number",
54805
+ "aria-label": minValueAriaLabel,
54471
54806
  placeholder: I18n.t("labels.input_placeholder", {
54472
54807
  defaultValue: "Enter Value",
54473
54808
  scope: "dataTable.filters.numberFilter"
@@ -54482,6 +54817,7 @@ function ServerSideNumberFilterRenderer({
54482
54817
  Input,
54483
54818
  {
54484
54819
  type: "number",
54820
+ "aria-label": maxValueAriaLabel,
54485
54821
  placeholder: I18n.t("labels.input_placeholder", {
54486
54822
  defaultValue: "Enter Value",
54487
54823
  scope: "dataTable.filters.numberFilter"
@@ -54496,7 +54832,8 @@ function ServerSideNumberFilterRenderer({
54496
54832
  var DEBOUNCE_TIME2 = 300;
54497
54833
  function ServerSideMultiNumberFilterRenderer({
54498
54834
  value = [],
54499
- onChange
54835
+ onChange,
54836
+ "aria-label": fieldLabel
54500
54837
  }) {
54501
54838
  const I18n = useI18nContext();
54502
54839
  const [firstFilter, setFirstFilter] = useState(
@@ -54573,6 +54910,7 @@ function ServerSideMultiNumberFilterRenderer({
54573
54910
  return /* @__PURE__ */ React80.createElement(Box, { style: { display: "flex", flexDirection: "column", gap: "8px" } }, /* @__PURE__ */ React80.createElement(
54574
54911
  ServerSideNumberFilterRenderer,
54575
54912
  {
54913
+ "aria-label": fieldLabel,
54576
54914
  value: firstFilter.type ? [firstFilter] : [],
54577
54915
  onChange: handleFirstFilterChange
54578
54916
  }
@@ -54609,6 +54947,7 @@ function ServerSideMultiNumberFilterRenderer({
54609
54947
  ), /* @__PURE__ */ React80.createElement(
54610
54948
  ServerSideNumberFilterRenderer,
54611
54949
  {
54950
+ "aria-label": fieldLabel,
54612
54951
  value: secondFilter.type ? [secondFilter] : [],
54613
54952
  onChange: handleSecondFilterChange
54614
54953
  }
@@ -55783,7 +56122,7 @@ var CellTooltipWrapper = ({
55783
56122
  /* @__PURE__ */ React80.createElement(Flex, { alignItems: "center", style: { width: "100%" } }, children)
55784
56123
  );
55785
56124
  };
55786
- var cx14 = classNames.bind(styles_exports);
56125
+ var cx15 = classNames.bind(styles_exports);
55787
56126
  var InlineEditError = React80.forwardRef(function InlineError({ errorMessage }, ref) {
55788
56127
  const buttonRef = React80.useRef(null);
55789
56128
  React80.useImperativeHandle(ref, () => ({
@@ -55798,7 +56137,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
55798
56137
  }));
55799
56138
  const hasMessage = Array.isArray(errorMessage) ? errorMessage.length > 0 : Boolean(errorMessage);
55800
56139
  const overlay = Array.isArray(errorMessage) ? /* @__PURE__ */ React80.createElement(Tooltip.Content, null, errorMessage.map((err) => /* @__PURE__ */ React80.createElement("div", { key: err }, err))) : errorMessage;
55801
- return /* @__PURE__ */ React80.createElement("div", { className: cx14("cell-error") }, /* @__PURE__ */ React80.createElement(
56140
+ return /* @__PURE__ */ React80.createElement("div", { className: cx15("cell-error") }, /* @__PURE__ */ React80.createElement(
55802
56141
  Tooltip,
55803
56142
  {
55804
56143
  ref: buttonRef,
@@ -55808,7 +56147,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
55808
56147
  /* @__PURE__ */ React80.createElement(
55809
56148
  Button,
55810
56149
  {
55811
- className: cx14("cell-error__button"),
56150
+ className: cx15("cell-error__button"),
55812
56151
  variant: "tertiary",
55813
56152
  size: "sm"
55814
56153
  },
@@ -55818,7 +56157,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
55818
56157
  });
55819
56158
 
55820
56159
  // src/CellRenderers/InlineEditWrapper.tsx
55821
- var cx15 = classnames.bind({ ...styles_default, ...truncation_default });
56160
+ var cx16 = classnames.bind({ ...styles_default, ...truncation_default });
55822
56161
  function PseudoInlineEditorWrapper({
55823
56162
  alwaysShowEditors = false,
55824
56163
  rightAligned = false,
@@ -55835,7 +56174,7 @@ function PseudoInlineEditorWrapper({
55835
56174
  return /* @__PURE__ */ React80.createElement(
55836
56175
  "div",
55837
56176
  {
55838
- className: cx15("pseudo-inline-edit-wrapper", {
56177
+ className: cx16("pseudo-inline-edit-wrapper", {
55839
56178
  "inline-wrapper--right-aligned": rightAligned,
55840
56179
  "inline-wrapper--with-show-pseudo-editors": alwaysShowEditors
55841
56180
  })
@@ -55843,7 +56182,7 @@ function PseudoInlineEditorWrapper({
55843
56182
  /* @__PURE__ */ React80.createElement(
55844
56183
  "span",
55845
56184
  {
55846
- className: cx15("pseudo-inline-edit-content", "truncatingText", {
56185
+ className: cx16("pseudo-inline-edit-content", "truncatingText", {
55847
56186
  "pseudo-inline-edit-content--right-aligned": rightAligned,
55848
56187
  "pseudo-inline-edit-content--with-arrow": showArrow,
55849
56188
  "pseudo-inline-edit-content--with-clear": onClear,
@@ -55853,10 +56192,10 @@ function PseudoInlineEditorWrapper({
55853
56192
  ...props
55854
56193
  },
55855
56194
  children,
55856
- /* @__PURE__ */ React80.createElement("div", { className: cx15("inline-edit-spacer") }),
55857
- hasValue && onClear && /* @__PURE__ */ React80.createElement("div", { className: cx15("clear-wrapper") }, /* @__PURE__ */ React80.createElement(Clear, { size: "sm", onMouseDown: onClear })),
55858
- showArrow && /* @__PURE__ */ React80.createElement("div", { className: cx15("arrow-down-wrapper") }, /* @__PURE__ */ React80.createElement("div", { className: cx15("arrow-down") })),
55859
- showCalendar && /* @__PURE__ */ React80.createElement("div", { className: cx15("calendar-wrapper") }, /* @__PURE__ */ React80.createElement(Calendar$1, { size: "sm" }))
56195
+ /* @__PURE__ */ React80.createElement("div", { className: cx16("inline-edit-spacer") }),
56196
+ hasValue && onClear && /* @__PURE__ */ React80.createElement("div", { className: cx16("clear-wrapper") }, /* @__PURE__ */ React80.createElement(Clear, { size: "sm", onMouseDown: onClear })),
56197
+ showArrow && /* @__PURE__ */ React80.createElement("div", { className: cx16("arrow-down-wrapper") }, /* @__PURE__ */ React80.createElement("div", { className: cx16("arrow-down") })),
56198
+ showCalendar && /* @__PURE__ */ React80.createElement("div", { className: cx16("calendar-wrapper") }, /* @__PURE__ */ React80.createElement(Calendar$1, { size: "sm" }))
55860
56199
  ),
55861
56200
  /* @__PURE__ */ React80.createElement(
55862
56201
  ValidationOutput,
@@ -55872,7 +56211,7 @@ var InlineEditorWrapper = React80.forwardRef(function InlineEditorWrapper2({ rig
55872
56211
  return /* @__PURE__ */ React80.createElement(
55873
56212
  "div",
55874
56213
  {
55875
- className: cx15("inline-edit-wrapper", {
56214
+ className: cx16("inline-edit-wrapper", {
55876
56215
  "inline-wrapper--right-aligned": rightAligned
55877
56216
  })
55878
56217
  },
@@ -55900,7 +56239,7 @@ var NonEditorWrapper = React80.forwardRef(function NonEditorWrapper2({
55900
56239
  return /* @__PURE__ */ React80.createElement(
55901
56240
  "div",
55902
56241
  {
55903
- className: cx15("inline-nonedit-wrapper", {
56242
+ className: cx16("inline-nonedit-wrapper", {
55904
56243
  "inline-wrapper--right-aligned": rightAligned
55905
56244
  })
55906
56245
  },
@@ -55920,7 +56259,7 @@ var NonEditorWrapper = React80.forwardRef(function NonEditorWrapper2({
55920
56259
  });
55921
56260
  var ValidationOutput = React80.forwardRef(function ValidationOutput2({ isRequired, isValid, errorMessage, rowPinned }, ref) {
55922
56261
  const showError = !isValid && errorMessage;
55923
- return /* @__PURE__ */ React80.createElement(React80.Fragment, null, !showError && isRequired && !rowPinned && /* @__PURE__ */ React80.createElement(Required, { className: cx15("cell-asterisk") }), showError && /* @__PURE__ */ React80.createElement(InlineEditError, { ref, errorMessage }));
56262
+ return /* @__PURE__ */ React80.createElement(React80.Fragment, null, !showError && isRequired && !rowPinned && /* @__PURE__ */ React80.createElement(Required, { className: cx16("cell-asterisk") }), showError && /* @__PURE__ */ React80.createElement(InlineEditError, { ref, errorMessage }));
55924
56263
  });
55925
56264
 
55926
56265
  // src/CellRenderers/DataTableCell.tsx
@@ -57457,7 +57796,7 @@ function rowSelectedEnabledForAnyRows(rowSelectionEnabled, columnDefinitions, gr
57457
57796
  }
57458
57797
 
57459
57798
  // src/CellRenderers/MultiSelectCell.tsx
57460
- var cx16 = classnames.bind(peopleCellStyles_default);
57799
+ var cx17 = classnames.bind(peopleCellStyles_default);
57461
57800
  var emptyArray = [];
57462
57801
  var commaToken = ", ";
57463
57802
  function getValue(func, value, fallback) {
@@ -57497,7 +57836,7 @@ var InternalMultiSelectCellRenderer = ({
57497
57836
  {
57498
57837
  as: "ol",
57499
57838
  ...typographyProps,
57500
- className: cx16("inlineListItems", "truncatingText", {
57839
+ className: cx17("inlineListItems", "truncatingText", {
57501
57840
  "truncatingText--md": rowHeight === rowSize.md,
57502
57841
  "truncatingText--lg": rowHeight === rowSize.lg
57503
57842
  }),
@@ -57959,7 +58298,7 @@ var quickControlsStyles_default = {
57959
58298
  };
57960
58299
 
57961
58300
  // src/QuickControls/ServerSideSearch.tsx
57962
- var cx17 = classnames.bind(quickControlsStyles_default);
58301
+ var cx18 = classnames.bind(quickControlsStyles_default);
57963
58302
  var DEFAULT_DEBOUNCE_DELAY = 250;
57964
58303
  function useSearchStorage() {
57965
58304
  const [searchValue, setSearchValue] = React80.useState("");
@@ -58002,7 +58341,7 @@ var ServerSideSearch = ({
58002
58341
  {
58003
58342
  disabled: hasNoContent || disabled,
58004
58343
  value: internalValue,
58005
- className: cx17("search", { "search--empty": !internalValue.length }),
58344
+ className: cx18("search", { "search--empty": !internalValue.length }),
58006
58345
  onChange,
58007
58346
  placeholder: resolvedPlaceholder,
58008
58347
  "aria-label": resolvedPlaceholder
@@ -77772,15 +78111,15 @@ var Matrix = class _Matrix {
77772
78111
  const yy = elements[3];
77773
78112
  const h_w = bbox.width * 0.5;
77774
78113
  const h_h = bbox.height * 0.5;
77775
- const cx22 = bbox.x + h_w;
78114
+ const cx23 = bbox.x + h_w;
77776
78115
  const cy = bbox.y + h_h;
77777
78116
  const w = Math.abs(h_w * xx) + Math.abs(h_h * yx);
77778
78117
  const h = Math.abs(h_w * xy) + Math.abs(h_h * yy);
77779
78118
  if (!target) {
77780
78119
  target = new BBox(0, 0, 0, 0);
77781
78120
  }
77782
- target.x = cx22 * xx + cy * yx + elements[4] - w;
77783
- target.y = cx22 * xy + cy * yy + elements[5] - h;
78121
+ target.x = cx23 * xx + cy * yx + elements[4] - w;
78122
+ target.y = cx23 * xy + cy * yy + elements[5] - h;
77784
78123
  target.width = w + w;
77785
78124
  target.height = h + h;
77786
78125
  return target;
@@ -79295,7 +79634,7 @@ var LinearGradient = class extends Gradient {
79295
79634
  const sin = Math.sin(radians);
79296
79635
  const w = bbox.width;
79297
79636
  const h = bbox.height;
79298
- const cx22 = bbox.x + w * 0.5;
79637
+ const cx23 = bbox.x + w * 0.5;
79299
79638
  const cy = bbox.y + h * 0.5;
79300
79639
  if (w > 0 && h > 0) {
79301
79640
  const diagonal = Math.sqrt(h * h + w * w) / 2;
@@ -79311,7 +79650,7 @@ var LinearGradient = class extends Gradient {
79311
79650
  quarteredAngle = 2 * Math.PI - radians;
79312
79651
  }
79313
79652
  const l = diagonal * Math.abs(Math.cos(quarteredAngle - diagonalAngle));
79314
- const gradient = ctx.createLinearGradient(cx22 + cos * l, cy + sin * l, cx22 - cos * l, cy - sin * l);
79653
+ const gradient = ctx.createLinearGradient(cx23 + cos * l, cy + sin * l, cx23 - cos * l, cy - sin * l);
79315
79654
  stops.forEach((stop) => {
79316
79655
  gradient.addColorStop(stop.offset, stop.color);
79317
79656
  });
@@ -84550,12 +84889,12 @@ function bezierCoefficients(P1, P2, P3, P4) {
84550
84889
  // | 1 0 0 0| |P4|
84551
84890
  ];
84552
84891
  }
84553
- function arcIntersections(cx22, cy, r2, startAngle, endAngle, counterClockwise, x1, y1, x2, y2) {
84892
+ function arcIntersections(cx23, cy, r2, startAngle, endAngle, counterClockwise, x1, y1, x2, y2) {
84554
84893
  const k = (y2 - y1) / (x2 - x1);
84555
84894
  const y0 = y1 - k * x1;
84556
84895
  const a = Math.pow(k, 2) + 1;
84557
- const b = 2 * (k * (y0 - cy) - cx22);
84558
- const c = Math.pow(cx22, 2) + Math.pow(y0 - cy, 2) - Math.pow(r2, 2);
84896
+ const b = 2 * (k * (y0 - cy) - cx23);
84897
+ const c = Math.pow(cx23, 2) + Math.pow(y0 - cy, 2) - Math.pow(r2, 2);
84559
84898
  const d = Math.pow(b, 2) - 4 * a * c;
84560
84899
  if (d < 0) {
84561
84900
  return [];
@@ -84692,12 +85031,12 @@ var Path2D = class {
84692
85031
  this.commands.push(Command.Arc);
84693
85032
  this.params.push(x, y, r2, sAngle, eAngle, antiClockwise ? 1 : 0);
84694
85033
  }
84695
- cubicCurveTo(cx1, cy1, cx22, cy2, x, y) {
85034
+ cubicCurveTo(cx1, cy1, cx23, cy2, x, y) {
84696
85035
  if (!this.xy) {
84697
85036
  this.moveTo(cx1, cy1);
84698
85037
  }
84699
85038
  this.commands.push(Command.Curve);
84700
- this.params.push(cx1, cy1, cx22, cy2, x, y);
85039
+ this.params.push(cx1, cy1, cx23, cy2, x, y);
84701
85040
  if (this.xy) {
84702
85041
  this.xy[0] = x;
84703
85042
  this.xy[1] = y;
@@ -89066,7 +89405,7 @@ var __decorate230 = function(decorators, target, key, desc) {
89066
89405
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r2 = (c < 3 ? d(r2) : c > 3 ? d(target, key, r2) : d(target, key)) || r2;
89067
89406
  return c > 3 && r2 && Object.defineProperty(target, key, r2), r2;
89068
89407
  };
89069
- var Label = class {
89408
+ var Label2 = class {
89070
89409
  constructor() {
89071
89410
  this.enabled = true;
89072
89411
  this.fontSize = 12;
@@ -89081,22 +89420,22 @@ var Label = class {
89081
89420
  };
89082
89421
  __decorate230([
89083
89422
  Validate(BOOLEAN)
89084
- ], Label.prototype, "enabled", void 0);
89423
+ ], Label2.prototype, "enabled", void 0);
89085
89424
  __decorate230([
89086
89425
  Validate(NUMBER(0))
89087
- ], Label.prototype, "fontSize", void 0);
89426
+ ], Label2.prototype, "fontSize", void 0);
89088
89427
  __decorate230([
89089
89428
  Validate(STRING)
89090
- ], Label.prototype, "fontFamily", void 0);
89429
+ ], Label2.prototype, "fontFamily", void 0);
89091
89430
  __decorate230([
89092
89431
  Validate(OPT_FONT_STYLE)
89093
- ], Label.prototype, "fontStyle", void 0);
89432
+ ], Label2.prototype, "fontStyle", void 0);
89094
89433
  __decorate230([
89095
89434
  Validate(OPT_FONT_WEIGHT)
89096
- ], Label.prototype, "fontWeight", void 0);
89435
+ ], Label2.prototype, "fontWeight", void 0);
89097
89436
  __decorate230([
89098
89437
  Validate(COLOR_STRING)
89099
- ], Label.prototype, "color", void 0);
89438
+ ], Label2.prototype, "color", void 0);
89100
89439
  function calculateLabelRotation(opts) {
89101
89440
  const { parallelFlipRotation = 0, regularFlipRotation = 0 } = opts;
89102
89441
  const configuredRotation = opts.rotation ? normalizeAngle360(toRadians(opts.rotation)) : 0;
@@ -90837,7 +91176,7 @@ var PieNodeTag;
90837
91176
  PieNodeTag2[PieNodeTag2["Callout"] = 1] = "Callout";
90838
91177
  PieNodeTag2[PieNodeTag2["Label"] = 2] = "Label";
90839
91178
  })(PieNodeTag || (PieNodeTag = {}));
90840
- var PieSeriesCalloutLabel = class extends Label {
91179
+ var PieSeriesCalloutLabel = class extends Label2 {
90841
91180
  constructor() {
90842
91181
  super(...arguments);
90843
91182
  this.offset = 3;
@@ -90866,7 +91205,7 @@ __decorate238([
90866
91205
  __decorate238([
90867
91206
  Validate(BOOLEAN)
90868
91207
  ], PieSeriesCalloutLabel.prototype, "avoidCollisions", void 0);
90869
- var PieSeriesSectorLabel = class extends Label {
91208
+ var PieSeriesSectorLabel = class extends Label2 {
90870
91209
  constructor() {
90871
91210
  super(...arguments);
90872
91211
  this.positionOffset = 0;
@@ -90917,7 +91256,7 @@ var PieTitle = class extends Caption {
90917
91256
  __decorate238([
90918
91257
  Validate(BOOLEAN)
90919
91258
  ], PieTitle.prototype, "showInLegend", void 0);
90920
- var DoughnutInnerLabel = class extends Label {
91259
+ var DoughnutInnerLabel = class extends Label2 {
90921
91260
  constructor() {
90922
91261
  super(...arguments);
90923
91262
  this.text = "";
@@ -91470,19 +91809,19 @@ var PieSeries = class extends PolarSeries {
91470
91809
  const isMoved = label.collisionTextAlign || label.collisionOffsetY !== 0;
91471
91810
  if (isMoved && label.box != null) {
91472
91811
  const box = label.box;
91473
- let cx22 = x2;
91812
+ let cx23 = x2;
91474
91813
  let cy = y2;
91475
91814
  if (x2 < box.x) {
91476
- cx22 = box.x;
91815
+ cx23 = box.x;
91477
91816
  } else if (x2 > box.x + box.width) {
91478
- cx22 = box.x + box.width;
91817
+ cx23 = box.x + box.width;
91479
91818
  }
91480
91819
  if (y2 < box.y) {
91481
91820
  cy = box.y;
91482
91821
  } else if (y2 > box.y + box.height) {
91483
91822
  cy = box.y + box.height;
91484
91823
  }
91485
- const dx = cx22 - x2;
91824
+ const dx = cx23 - x2;
91486
91825
  const dy = cy - y2;
91487
91826
  const length = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
91488
91827
  const paddedLength = length - offset4;
@@ -93793,7 +94132,7 @@ var PolarChart = class extends Chart {
93793
94132
  return shrinkRect;
93794
94133
  });
93795
94134
  }
93796
- updateAxes(cx22, cy, radius) {
94135
+ updateAxes(cx23, cy, radius) {
93797
94136
  var _a;
93798
94137
  this.axes.forEach((axis) => {
93799
94138
  var _a2;
@@ -93801,11 +94140,11 @@ var PolarChart = class extends Chart {
93801
94140
  const rotation = toRadians((_a2 = axis.rotation) !== null && _a2 !== void 0 ? _a2 : 0);
93802
94141
  axis.range = [-Math.PI / 2 + rotation, 3 * Math.PI / 2 + rotation];
93803
94142
  axis.gridLength = radius;
93804
- axis.translation.x = cx22;
94143
+ axis.translation.x = cx23;
93805
94144
  axis.translation.y = cy;
93806
94145
  } else if (axis.direction === ChartAxisDirection.Y) {
93807
94146
  axis.range = [radius, 0];
93808
- axis.translation.x = cx22;
94147
+ axis.translation.x = cx23;
93809
94148
  axis.translation.y = cy - radius;
93810
94149
  }
93811
94150
  axis.updateScale();
@@ -93830,10 +94169,10 @@ var PolarChart = class extends Chart {
93830
94169
  const polarAxes = this.axes.filter((axis) => {
93831
94170
  return axis instanceof PolarAxis;
93832
94171
  });
93833
- const setSeriesCircle = (cx22, cy, r2) => {
93834
- this.updateAxes(cx22, cy, r2);
94172
+ const setSeriesCircle = (cx23, cy, r2) => {
94173
+ this.updateAxes(cx23, cy, r2);
93835
94174
  polarSeries.forEach((series) => {
93836
- series.centerX = cx22;
94175
+ series.centerX = cx23;
93837
94176
  series.centerY = cy;
93838
94177
  series.radius = r2;
93839
94178
  });
@@ -95024,7 +95363,7 @@ var __awaiter11 = function(thisArg, _arguments, P, generator) {
95024
95363
  step((generator = generator.apply(thisArg, [])).next());
95025
95364
  });
95026
95365
  };
95027
- var AreaSeriesLabel = class extends Label {
95366
+ var AreaSeriesLabel = class extends Label2 {
95028
95367
  constructor() {
95029
95368
  super(...arguments);
95030
95369
  this.formatter = void 0;
@@ -96066,7 +96405,7 @@ var BarSeriesNodeTag;
96066
96405
  BarSeriesNodeTag2[BarSeriesNodeTag2["Bar"] = 0] = "Bar";
96067
96406
  BarSeriesNodeTag2[BarSeriesNodeTag2["Label"] = 1] = "Label";
96068
96407
  })(BarSeriesNodeTag || (BarSeriesNodeTag = {}));
96069
- var BarSeriesLabel = class extends Label {
96408
+ var BarSeriesLabel = class extends Label2 {
96070
96409
  constructor() {
96071
96410
  super(...arguments);
96072
96411
  this.formatter = void 0;
@@ -96811,7 +97150,7 @@ var HistogramSeriesNodeTag;
96811
97150
  HistogramSeriesNodeTag2[HistogramSeriesNodeTag2["Bin"] = 0] = "Bin";
96812
97151
  HistogramSeriesNodeTag2[HistogramSeriesNodeTag2["Label"] = 1] = "Label";
96813
97152
  })(HistogramSeriesNodeTag || (HistogramSeriesNodeTag = {}));
96814
- var HistogramSeriesLabel = class extends Label {
97153
+ var HistogramSeriesLabel = class extends Label2 {
96815
97154
  constructor() {
96816
97155
  super(...arguments);
96817
97156
  this.formatter = void 0;
@@ -97422,7 +97761,7 @@ var __awaiter14 = function(thisArg, _arguments, P, generator) {
97422
97761
  step((generator = generator.apply(thisArg, [])).next());
97423
97762
  });
97424
97763
  };
97425
- var LineSeriesLabel = class extends Label {
97764
+ var LineSeriesLabel = class extends Label2 {
97426
97765
  constructor() {
97427
97766
  super(...arguments);
97428
97767
  this.formatter = void 0;
@@ -98083,7 +98422,7 @@ var __awaiter15 = function(thisArg, _arguments, P, generator) {
98083
98422
  step((generator = generator.apply(thisArg, [])).next());
98084
98423
  });
98085
98424
  };
98086
- var ScatterSeriesLabel = class extends Label {
98425
+ var ScatterSeriesLabel = class extends Label2 {
98087
98426
  constructor() {
98088
98427
  super(...arguments);
98089
98428
  this.formatter = void 0;
@@ -98659,7 +98998,7 @@ var TreemapSeriesNodeDoubleClickEvent = class extends TreemapSeriesNodeBaseClick
98659
98998
  this.type = "nodeDoubleClick";
98660
98999
  }
98661
99000
  };
98662
- var TreemapSeriesLabel = class extends Label {
99001
+ var TreemapSeriesLabel = class extends Label2 {
98663
99002
  constructor() {
98664
99003
  super(...arguments);
98665
99004
  this.padding = 10;
@@ -98668,7 +99007,7 @@ var TreemapSeriesLabel = class extends Label {
98668
99007
  __decorate255([
98669
99008
  Validate(NUMBER(0))
98670
99009
  ], TreemapSeriesLabel.prototype, "padding", void 0);
98671
- var TreemapSeriesTileLabel = class extends Label {
99010
+ var TreemapSeriesTileLabel = class extends Label2 {
98672
99011
  constructor() {
98673
99012
  super(...arguments);
98674
99013
  this.wrapping = "on-space";
@@ -98680,7 +99019,7 @@ __decorate255([
98680
99019
  var TreemapValueLabel = class {
98681
99020
  constructor() {
98682
99021
  this.style = (() => {
98683
- const label = new Label();
99022
+ const label = new Label2();
98684
99023
  label.color = "white";
98685
99024
  return label;
98686
99025
  })();
@@ -101211,7 +101550,7 @@ __export(integrated_charts_scene_exports, {
101211
101550
  Group: () => Group,
101212
101551
  HdpiCanvas: () => HdpiCanvas,
101213
101552
  Image: () => Image,
101214
- Label: () => Label,
101553
+ Label: () => Label2,
101215
101554
  Line: () => Line,
101216
101555
  LinearScale: () => LinearScale,
101217
101556
  Marker: () => Marker,
@@ -102717,7 +103056,7 @@ var LineSparkline = class extends Sparkline {
102717
103056
  LineSparkline.className = "LineSparkline";
102718
103057
 
102719
103058
  // ../../node_modules/@ag-grid-enterprise/sparklines/dist/esm/es6/sparkline/label/label.mjs
102720
- var Label2 = class {
103059
+ var Label3 = class {
102721
103060
  constructor() {
102722
103061
  this.enabled = true;
102723
103062
  this.fontSize = 8;
@@ -102742,7 +103081,7 @@ var BarColumnLabelPlacement2;
102742
103081
  BarColumnLabelPlacement3["Center"] = "center";
102743
103082
  BarColumnLabelPlacement3["OutsideEnd"] = "outsideEnd";
102744
103083
  })(BarColumnLabelPlacement2 || (BarColumnLabelPlacement2 = {}));
102745
- var BarColumnLabel = class extends Label2 {
103084
+ var BarColumnLabel = class extends Label3 {
102746
103085
  constructor() {
102747
103086
  super(...arguments);
102748
103087
  this.formatter = void 0;
@@ -103465,264 +103804,6 @@ var SparklinesModule = {
103465
103804
  userComponents: [{ componentName: "agSparklineCellRenderer", componentClass: SparklineCellRenderer }],
103466
103805
  dependantModules: [EnterpriseCoreModule]
103467
103806
  };
103468
- var $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (React80).useLayoutEffect : () => {
103469
- };
103470
- var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
103471
- var $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (React80)["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);
103472
- function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
103473
- const ref = (useRef)(null);
103474
- $8ae05eaa5c114e9c$var$useEarlyEffect(() => {
103475
- ref.current = fn;
103476
- }, [
103477
- fn
103478
- ]);
103479
- return (useCallback)((...args) => {
103480
- const f = ref.current;
103481
- return f === null || f === void 0 ? void 0 : f(...args);
103482
- }, []);
103483
- }
103484
- var $b5e257d569688ac6$var$defaultContext = {
103485
- prefix: String(Math.round(Math.random() * 1e10)),
103486
- current: 0
103487
- };
103488
- var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80).createContext($b5e257d569688ac6$var$defaultContext);
103489
- var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80).createContext(false);
103490
- var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
103491
- var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
103492
- function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
103493
- let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
103494
- let ref = (useRef)(null);
103495
- if (ref.current === null && !isDisabled) {
103496
- var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
103497
- let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = (React80).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
103498
- if (currentOwner) {
103499
- let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
103500
- if (prevComponentValue == null)
103501
- $b5e257d569688ac6$var$componentIds.set(currentOwner, {
103502
- id: ctx.current,
103503
- state: currentOwner.memoizedState
103504
- });
103505
- else if (currentOwner.memoizedState !== prevComponentValue.state) {
103506
- ctx.current = prevComponentValue.id;
103507
- $b5e257d569688ac6$var$componentIds.delete(currentOwner);
103508
- }
103509
- }
103510
- ref.current = ++ctx.current;
103511
- }
103512
- return ref.current;
103513
- }
103514
- function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
103515
- let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
103516
- if (ctx === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM && process.env.NODE_ENV !== "production") console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
103517
- let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
103518
- let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
103519
- return defaultId || `${prefix}-${counter2}`;
103520
- }
103521
- function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
103522
- let id = (React80).useId();
103523
- let [didSSR] = (useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
103524
- let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
103525
- return defaultId || `${prefix}-${id}`;
103526
- }
103527
- var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
103528
- function $b5e257d569688ac6$var$getSnapshot() {
103529
- return false;
103530
- }
103531
- function $b5e257d569688ac6$var$getServerSnapshot() {
103532
- return true;
103533
- }
103534
- function $b5e257d569688ac6$var$subscribe(onStoreChange) {
103535
- return () => {
103536
- };
103537
- }
103538
- function $b5e257d569688ac6$export$535bd6ca7f90a273() {
103539
- if (typeof (React80)["useSyncExternalStore"] === "function") return (React80)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
103540
- return (useContext)($b5e257d569688ac6$var$IsSSRContext);
103541
- }
103542
-
103543
- // ../../node_modules/@react-aria/utils/dist/useId.mjs
103544
- var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
103545
- var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
103546
- var $bdb11010cef70236$var$registry;
103547
- if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
103548
- $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
103549
- });
103550
- function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
103551
- let [value, setValue] = (useState)(defaultId);
103552
- let nextId = (useRef)(null);
103553
- let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
103554
- let cleanupRef = (useRef)(null);
103555
- if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
103556
- if ($bdb11010cef70236$var$canUseDOM) {
103557
- const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
103558
- if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
103559
- else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
103560
- nextId
103561
- ]);
103562
- }
103563
- ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
103564
- let r2 = res;
103565
- return () => {
103566
- if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
103567
- $bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
103568
- };
103569
- }, [
103570
- res
103571
- ]);
103572
- (useEffect)(() => {
103573
- let newId = nextId.current;
103574
- if (newId) setValue(newId);
103575
- return () => {
103576
- if (newId) nextId.current = null;
103577
- };
103578
- });
103579
- return res;
103580
- }
103581
- function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
103582
- if (idA === idB) return idA;
103583
- let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
103584
- if (setIdsA) {
103585
- setIdsA.forEach((ref) => ref.current = idB);
103586
- return idB;
103587
- }
103588
- let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);
103589
- if (setIdsB) {
103590
- setIdsB.forEach((ref) => ref.current = idA);
103591
- return idA;
103592
- }
103593
- return idB;
103594
- }
103595
-
103596
- // ../../node_modules/@react-aria/utils/dist/chain.mjs
103597
- function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
103598
- return (...args) => {
103599
- for (let callback of callbacks) if (typeof callback === "function") callback(...args);
103600
- };
103601
- }
103602
-
103603
- // ../../node_modules/@react-aria/utils/dist/domHelpers.mjs
103604
- var $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
103605
- var _el_ownerDocument;
103606
- return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
103607
- };
103608
- function $431fbd86ca7dc216$var$isNode(value) {
103609
- return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
103610
- }
103611
- function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
103612
- return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
103613
- }
103614
-
103615
- // ../../node_modules/@react-stately/flags/dist/import.mjs
103616
- var $f4e2df6bd15f8569$var$_shadowDOM = false;
103617
- function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
103618
- return $f4e2df6bd15f8569$var$_shadowDOM;
103619
- }
103620
-
103621
- // ../../node_modules/@react-aria/utils/dist/DOMFunctions.mjs
103622
- function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
103623
- if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return otherNode && node ? node.contains(otherNode) : false;
103624
- if (!node || !otherNode) return false;
103625
- let currentNode = otherNode;
103626
- while (currentNode !== null) {
103627
- if (currentNode === node) return true;
103628
- if (currentNode.tagName === "SLOT" && currentNode.assignedSlot)
103629
- currentNode = currentNode.assignedSlot.parentNode;
103630
- else if (($431fbd86ca7dc216$export$af51f0f06c0f328a)(currentNode))
103631
- currentNode = currentNode.host;
103632
- else currentNode = currentNode.parentNode;
103633
- }
103634
- return false;
103635
- }
103636
- var $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
103637
- var _activeElement_shadowRoot;
103638
- if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return doc.activeElement;
103639
- let activeElement = doc.activeElement;
103640
- while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
103641
- return activeElement;
103642
- };
103643
- function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
103644
- if (($f4e2df6bd15f8569$export$98658e8c59125e6a)() && event.target.shadowRoot) {
103645
- if (event.composedPath) return event.composedPath()[0];
103646
- }
103647
- return event.target;
103648
- }
103649
-
103650
- // ../../node_modules/clsx/dist/clsx.mjs
103651
- function r(e) {
103652
- var t, f, n = "";
103653
- if ("string" == typeof e || "number" == typeof e) n += e;
103654
- else if ("object" == typeof e) if (Array.isArray(e)) {
103655
- var o = e.length;
103656
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
103657
- } else for (f in e) e[f] && (n && (n += " "), n += f);
103658
- return n;
103659
- }
103660
- function clsx() {
103661
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
103662
- return n;
103663
- }
103664
- var clsx_default = clsx;
103665
-
103666
- // ../../node_modules/@react-aria/utils/dist/mergeProps.mjs
103667
- function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
103668
- let result = {
103669
- ...args[0]
103670
- };
103671
- for (let i = 1; i < args.length; i++) {
103672
- let props = args[i];
103673
- for (let key in props) {
103674
- let a = result[key];
103675
- let b = props[key];
103676
- if (typeof a === "function" && typeof b === "function" && // This is a lot faster than a regex.
103677
- key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= /* 'A' */
103678
- 65 && key.charCodeAt(2) <= /* 'Z' */
103679
- 90) result[key] = ($ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);
103680
- else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = (clsx_default)(a, b);
103681
- else if (key === "id" && a && b) result.id = ($bdb11010cef70236$export$cd8c9cb68f842629)(a, b);
103682
- else result[key] = b !== void 0 ? b : a;
103683
- }
103684
- }
103685
- return result;
103686
- }
103687
- function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
103688
- let globalListeners = (useRef)(/* @__PURE__ */ new Map());
103689
- let addGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
103690
- let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
103691
- globalListeners.current.delete(listener);
103692
- listener(...args);
103693
- } : listener;
103694
- globalListeners.current.set(listener, {
103695
- type,
103696
- eventTarget,
103697
- fn,
103698
- options
103699
- });
103700
- eventTarget.addEventListener(type, fn, options);
103701
- }, []);
103702
- let removeGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
103703
- var _globalListeners_current_get;
103704
- let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
103705
- eventTarget.removeEventListener(type, fn, options);
103706
- globalListeners.current.delete(listener);
103707
- }, []);
103708
- let removeAllGlobalListeners = (useCallback)(() => {
103709
- globalListeners.current.forEach((value, key) => {
103710
- removeGlobalListener(value.eventTarget, value.type, key, value.options);
103711
- });
103712
- }, [
103713
- removeGlobalListener
103714
- ]);
103715
- (useEffect)(() => {
103716
- return removeAllGlobalListeners;
103717
- }, [
103718
- removeAllGlobalListeners
103719
- ]);
103720
- return {
103721
- addGlobalListener,
103722
- removeGlobalListener,
103723
- removeAllGlobalListeners
103724
- };
103725
- }
103726
103807
  function $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent) {
103727
103808
  let event = nativeEvent;
103728
103809
  event.nativeEvent = nativeEvent;
@@ -104663,7 +104744,7 @@ var configurationStyles_default = {
104663
104744
  };
104664
104745
 
104665
104746
  // src/Panels/Configuration.tsx
104666
- var cx18 = classnames.bind(configurationStyles_default);
104747
+ var cx19 = classnames.bind(configurationStyles_default);
104667
104748
  var DELIMITER = "$$";
104668
104749
  function isColGroupDef3(col) {
104669
104750
  return (col == null ? void 0 : col.children) !== void 0;
@@ -104859,7 +104940,7 @@ var ConfigurationColumns = React80.forwardRef(
104859
104940
  Flex,
104860
104941
  {
104861
104942
  alignItems: "center",
104862
- className: cx18("column-controls"),
104943
+ className: cx19("column-controls"),
104863
104944
  key: column2.field || column2.groupId,
104864
104945
  marginTop: "xs",
104865
104946
  padding: "sm",
@@ -104896,7 +104977,7 @@ var ConfigurationPanel = ({
104896
104977
  const I18n = useI18nContext();
104897
104978
  const configurationColumnsRef = React80.useRef();
104898
104979
  const [isAllColumnsVisible, setIsAllColumnsVisible] = React80.useState(false);
104899
- return /* @__PURE__ */ React80.createElement(Panel, null, /* @__PURE__ */ React80.createElement(Panel.Header, { onClose: contextPanel.hide }, /* @__PURE__ */ React80.createElement(Panel.Title, null, I18n.t("dataTable.tableSettings.tableSettings"))), /* @__PURE__ */ React80.createElement(Panel.Body, { className: cx18("contextPanelBody") }, children && /* @__PURE__ */ React80.createElement(Panel.Section, null, children), !onServerSideDataRequest && !enableDynamicRowHeight && /* @__PURE__ */ React80.createElement(
104980
+ return /* @__PURE__ */ React80.createElement(Panel, null, /* @__PURE__ */ React80.createElement(Panel.Header, { onClose: contextPanel.hide }, /* @__PURE__ */ React80.createElement(Panel.Title, null, I18n.t("dataTable.tableSettings.tableSettings"))), /* @__PURE__ */ React80.createElement(Panel.Body, { className: cx19("contextPanelBody") }, children && /* @__PURE__ */ React80.createElement(Panel.Section, null, children), !onServerSideDataRequest && !enableDynamicRowHeight && /* @__PURE__ */ React80.createElement(
104900
104981
  Panel.Section,
104901
104982
  {
104902
104983
  "data-qa": "data-table-config-panel-section-row-height",
@@ -105479,6 +105560,7 @@ var de_DE_default = {
105479
105560
  },
105480
105561
  filterRenders: {
105481
105562
  dateFilter: {
105563
+ invalidDate: "Geben Sie ein g\xFCltiges Datum ein.",
105482
105564
  single: "Einzeln",
105483
105565
  range: "Bereich"
105484
105566
  }
@@ -105660,6 +105742,7 @@ var en_AU_default = {
105660
105742
  },
105661
105743
  filterRenders: {
105662
105744
  dateFilter: {
105745
+ invalidDate: "Enter a valid date.",
105663
105746
  single: "Single",
105664
105747
  range: "Range"
105665
105748
  }
@@ -105841,6 +105924,7 @@ var en_CA_default = {
105841
105924
  },
105842
105925
  filterRenders: {
105843
105926
  dateFilter: {
105927
+ invalidDate: "Enter a valid date.",
105844
105928
  single: "Single",
105845
105929
  range: "Range"
105846
105930
  }
@@ -106022,6 +106106,7 @@ var en_GB_default = {
106022
106106
  },
106023
106107
  filterRenders: {
106024
106108
  dateFilter: {
106109
+ invalidDate: "Enter a valid date.",
106025
106110
  single: "Single",
106026
106111
  range: "Range"
106027
106112
  }
@@ -106093,7 +106178,10 @@ var en_default = {
106093
106178
  labels: {
106094
106179
  and: "and",
106095
106180
  input_placeholder: "Enter Value",
106096
- placeholder: "Select an item"
106181
+ max_value_aria_label: "%{field} maximum value",
106182
+ min_value_aria_label: "%{field} minimum value",
106183
+ placeholder: "Select an item",
106184
+ value_aria_label: "%{field} value"
106097
106185
  },
106098
106186
  options: {
106099
106187
  any_value: "Any Value",
@@ -106203,6 +106291,7 @@ var en_default = {
106203
106291
  },
106204
106292
  filterRenders: {
106205
106293
  dateFilter: {
106294
+ invalidDate: "Enter a valid date.",
106206
106295
  single: "Single",
106207
106296
  range: "Range"
106208
106297
  }
@@ -106384,6 +106473,7 @@ var es_ES_default = {
106384
106473
  },
106385
106474
  filterRenders: {
106386
106475
  dateFilter: {
106476
+ invalidDate: "Introduzca una fecha v\xE1lida.",
106387
106477
  single: "\xDAnica",
106388
106478
  range: "Rango"
106389
106479
  }
@@ -106494,7 +106584,7 @@ var es_default = {
106494
106584
  sortCleared: "Ordenamiento borrado"
106495
106585
  },
106496
106586
  expandAllGroups: "Expandir todos los grupos",
106497
- collapseAllGroups: "Colapsar todos los grupos",
106587
+ collapseAllGroups: "Contraer todos los grupos",
106498
106588
  pinColumn: "Anclar columna",
106499
106589
  pinLeft: "Anclar a la izquierda",
106500
106590
  pinRight: "Anclar a la derecha",
@@ -106565,13 +106655,14 @@ var es_default = {
106565
106655
  },
106566
106656
  filterRenders: {
106567
106657
  dateFilter: {
106658
+ invalidDate: "Ingrese una fecha v\xE1lida.",
106568
106659
  single: "\xDAnico",
106569
106660
  range: "Intervalo"
106570
106661
  }
106571
106662
  },
106572
106663
  groupCell: {
106573
106664
  expand: "Expandir grupo",
106574
- collapse: "Colapsar grupo"
106665
+ collapse: "Contraer grupo"
106575
106666
  },
106576
106667
  rowCheckbox: {
106577
106668
  ariaLabel: "Seleccionar fila"
@@ -106746,6 +106837,7 @@ var fr_CA_default = {
106746
106837
  },
106747
106838
  filterRenders: {
106748
106839
  dateFilter: {
106840
+ invalidDate: "Saisissez une date valide.",
106749
106841
  single: "Unique",
106750
106842
  range: "Intervalle"
106751
106843
  }
@@ -106773,7 +106865,7 @@ var fr_FR_default = {
106773
106865
  description: "Une fois que votre \xE9quipe a cr\xE9\xE9 ces \xE9l\xE9ments, vous pouvez y acc\xE9der ici. ",
106774
106866
  title: "Aucun \xE9l\xE9ment \xE0 afficher pour l'instant",
106775
106867
  itemsTitle: "Aucun %{itemsLabel} \xE0 afficher pour l'instant",
106776
- tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au tableau %{tableName}",
106868
+ tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au %{tableName}",
106777
106869
  searchTooltip: "La recherche sera activ\xE9e une fois que vous aurez ajout\xE9 des informations au %{tableName}",
106778
106870
  featureFilter: "Filtrer",
106779
106871
  featureQuickFilter: "Filtre rapide",
@@ -106927,6 +107019,7 @@ var fr_FR_default = {
106927
107019
  },
106928
107020
  filterRenders: {
106929
107021
  dateFilter: {
107022
+ invalidDate: "Veuillez saisir une date valide.",
106930
107023
  single: "Unique",
106931
107024
  range: "Plage"
106932
107025
  }
@@ -107108,6 +107201,7 @@ var is_IS_default = {
107108
107201
  },
107109
107202
  filterRenders: {
107110
107203
  dateFilter: {
107204
+ invalidDate: "Sl\xE1\xF0u inn gilda dagsetningu.",
107111
107205
  single: "Einhleypur",
107112
107206
  range: "Svi\xF0"
107113
107207
  }
@@ -107135,8 +107229,8 @@ var it_IT_default = {
107135
107229
  description: "Gli elementi creati dal team saranno accessibili qui. ",
107136
107230
  title: "Al momento non sono presenti elementi da visualizzare",
107137
107231
  itemsTitle: "Al momento non sono presenti %{itemsLabel} da visualizzare",
107138
- tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni a %{tableName}",
107139
- searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni a %{tableName}",
107232
+ tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni alla %{tableName}",
107233
+ searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni alla %{tableName}",
107140
107234
  featureFilter: "Filtro",
107141
107235
  featureQuickFilter: "Filtro rapido",
107142
107236
  featureGroupBy: "Raggruppa per",
@@ -107289,6 +107383,7 @@ var it_IT_default = {
107289
107383
  },
107290
107384
  filterRenders: {
107291
107385
  dateFilter: {
107386
+ invalidDate: "Inserire una data valida.",
107292
107387
  single: "Singolo",
107293
107388
  range: "Intervallo"
107294
107389
  }
@@ -107470,6 +107565,7 @@ var ja_JP_default = {
107470
107565
  },
107471
107566
  filterRenders: {
107472
107567
  dateFilter: {
107568
+ invalidDate: "\u6709\u52B9\u306A\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
107473
107569
  single: "\u5358\u72EC",
107474
107570
  range: "\u7BC4\u56F2"
107475
107571
  }
@@ -107490,12 +107586,12 @@ var nb_NO_default = {
107490
107586
  emptyState: {
107491
107587
  noFilteredResults: {
107492
107588
  description: "Sjekk stavem\xE5ten og filteralternativene dine, eller s\xF8k etter et annet n\xF8kkelord.",
107493
- title: "Ingen elementer samsvarer med s\xF8ket ditt",
107589
+ title: "Ingen enheter samsvarer med s\xF8ket ditt",
107494
107590
  itemsTitle: "Ingen %{itemsLabel} samsvarer med s\xF8ket ditt"
107495
107591
  },
107496
107592
  noResults: {
107497
- description: "N\xE5r teamet ditt har opprettet disse elementene, kan du f\xE5 tilgang til dem her. ",
107498
- title: "Det er ingen elementer \xE5 vise akkurat n\xE5",
107593
+ description: "N\xE5r teamet ditt har opprettet disse enhetene, kan du f\xE5 tilgang til dem her. ",
107594
+ title: "Det er ingen enheter \xE5 vise akkurat n\xE5",
107499
107595
  itemsTitle: "Det er ingen %{itemsLabel} \xE5 vise akkurat n\xE5",
107500
107596
  tooltip: "%{featureName} -knappen vil bli aktivert n\xE5r du legger til informasjon i %{tableName}",
107501
107597
  searchTooltip: "S\xF8k vil bli aktivert n\xE5r du legger til informasjon i %{tableName}",
@@ -107503,7 +107599,7 @@ var nb_NO_default = {
107503
107599
  featureQuickFilter: "Hurtigfilter",
107504
107600
  featureGroupBy: "Grupper etter",
107505
107601
  featureConfigure: "Konfigurer",
107506
- tableNameFallback: "bord"
107602
+ tableNameFallback: "tabell"
107507
107603
  }
107508
107604
  },
107509
107605
  bulkActions: {
@@ -107511,17 +107607,17 @@ var nb_NO_default = {
107511
107607
  bulkEdit: "Masseendring",
107512
107608
  cancel: "Avbryt",
107513
107609
  editValues: "Rediger verdier",
107514
- error: "Beklager, elementene kunne ikke oppdateres. Pr\xF8v igjen.",
107610
+ error: "Beklager, enhetene kunsne ikke oppdateres. Pr\xF8v igjen.",
107515
107611
  placeholderForField: "Skriv inn %{fieldName}",
107516
107612
  selection: "%{count} %{number} valgt",
107517
107613
  selection_count: {
107518
- zero: "%{count} elementer valgt",
107519
- one: "%{count} element valgt",
107520
- other: "%{count} elementer valgt"
107614
+ zero: "%{count} enheter valgt",
107615
+ one: "%{count} enhet valgt",
107616
+ other: "%{count} enheter valgt"
107521
107617
  },
107522
- success: "Elementene ble oppdatert.",
107523
- one: "element",
107524
- many: "gjenstander"
107618
+ success: "Enhetene ble oppdatert.",
107619
+ one: "enhet",
107620
+ many: "enheter"
107525
107621
  },
107526
107622
  exporting: "Eksporterer...",
107527
107623
  filters: {
@@ -107534,14 +107630,14 @@ var nb_NO_default = {
107534
107630
  locationFilter: {
107535
107631
  selectAll: "Velg alle",
107536
107632
  includeSublocations: "Inkluder underlokasjoner",
107537
- searchLocations: "S\xF8k etter steder",
107538
- locations: "Steder"
107633
+ searchLocations: "S\xF8k etter lokasjoner",
107634
+ locations: "Lokasjoner"
107539
107635
  },
107540
107636
  numberFilter: {
107541
107637
  labels: {
107542
107638
  and: "og",
107543
- input_placeholder: "Angi verdi",
107544
- placeholder: "Velg et element"
107639
+ input_placeholder: "Skriv inn verdi",
107640
+ placeholder: "Velg en enhet"
107545
107641
  },
107546
107642
  options: {
107547
107643
  any_value: "Enhver verdi",
@@ -107579,20 +107675,20 @@ var nb_NO_default = {
107579
107675
  sortDescending: "sortert synkende",
107580
107676
  sortCleared: "Sortering fjernet"
107581
107677
  },
107582
- expandAllGroups: "Utvid alle grupper",
107678
+ expandAllGroups: "Vis alle grupper",
107583
107679
  collapseAllGroups: "Skjul alle grupper",
107584
107680
  pinColumn: "Fest kolonne",
107585
107681
  pinLeft: "Fest til venstre",
107586
107682
  pinRight: "Fest til h\xF8yre",
107587
- noPin: "Ingen PIN",
107683
+ noPin: "Ikke festet",
107588
107684
  autoSizeThisColumn: "Tilpass kolonnebredden automatisk",
107589
- autoSizeAllColumns: "Tilpass alle kolonner automatisk",
107685
+ autoSizeAllColumns: "Tilpass alle kolonnebredder automatisk",
107590
107686
  hideColumn: "Skjul kolonne",
107591
107687
  resetColumns: "Tilbakestill kolonner",
107592
107688
  unGroupBy: "Fjern gruppering etter {{label}}",
107593
107689
  groupBy: "Grupper etter {{label}}"
107594
107690
  },
107595
- grandTotals: "Totale summer",
107691
+ grandTotals: "Totalsummer",
107596
107692
  search: "S\xF8k",
107597
107693
  subtotals: "Delsummer",
107598
107694
  tableSettings: {
@@ -107602,7 +107698,7 @@ var nb_NO_default = {
107602
107698
  small: "Liten",
107603
107699
  medium: "Middels",
107604
107700
  large: "Stor",
107605
- tableSettings: "Borddekking",
107701
+ tableSettings: "Innstillinger for tabell",
107606
107702
  groupBy: "Grupper etter:",
107607
107703
  reset: "Tilbakestill",
107608
107704
  selectColumnGroup: "Velg en kolonne \xE5 gruppere",
@@ -107615,14 +107711,14 @@ var nb_NO_default = {
107615
107711
  },
107616
107712
  columnGroupToggle: {
107617
107713
  collapse: "Skjul kolonnegruppe",
107618
- expand: "Utvid kolonnegruppe"
107714
+ expand: "Vis kolonnegruppe"
107619
107715
  },
107620
107716
  cells: {
107621
107717
  textCell: {
107622
107718
  placeholder: "Skriv inn tekst"
107623
107719
  },
107624
107720
  currencyCell: {
107625
- placeholder: "Angi valuta"
107721
+ placeholder: "Skriv inn valuta"
107626
107722
  },
107627
107723
  linkCell: {
107628
107724
  externalLabel: "\xC5pne ekstern kobling"
@@ -107651,12 +107747,13 @@ var nb_NO_default = {
107651
107747
  },
107652
107748
  filterRenders: {
107653
107749
  dateFilter: {
107750
+ invalidDate: "Skriv inn en gyldig dato.",
107654
107751
  single: "Enslig",
107655
107752
  range: "Rekkevidde"
107656
107753
  }
107657
107754
  },
107658
107755
  groupCell: {
107659
- expand: "Utvid gruppe",
107756
+ expand: "Vis gruppe",
107660
107757
  collapse: "Skjul gruppe"
107661
107758
  },
107662
107759
  rowCheckbox: {
@@ -107679,7 +107776,7 @@ var pl_PL_default = {
107679
107776
  title: "Obecnie nie ma pozycji do wy\u015Bwietlenia",
107680
107777
  itemsTitle: "Obecnie nie ma %{itemsLabel} do wy\u015Bwietlenia",
107681
107778
  tooltip: "Przycisk: %{featureName} zostanie w\u0142\u0105czony, gdy dodasz informacje do: %{tableName}",
107682
- searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do %{tableName}",
107779
+ searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do: %{tableName}",
107683
107780
  featureFilter: "Filtruj",
107684
107781
  featureQuickFilter: "Szybki filtr",
107685
107782
  featureGroupBy: "Grupuj wed\u0142ug",
@@ -107832,6 +107929,7 @@ var pl_PL_default = {
107832
107929
  },
107833
107930
  filterRenders: {
107834
107931
  dateFilter: {
107932
+ invalidDate: "Wprowad\u017A prawid\u0142ow\u0105 dat\u0119.",
107835
107933
  single: "Pojedyncze",
107836
107934
  range: "Zakres"
107837
107935
  }
@@ -107903,7 +108001,10 @@ var pseudo_default = {
107903
108001
  labels: {
107904
108002
  and: "[\u0227\u019E\u1E13]",
107905
108003
  input_placeholder: "[\u1E16\u1E16\u1E16\u019E\u0167\u1E17\u0159 \xB7 \u1E7C\u0227\u0140\u016D\u1E17\u1E17\u1E17]",
107906
- placeholder: "[\u015E\u015E\u015E\u1E17\u0140\u1E17\u0188\u0167 \xB7 \u0227\u019E \xB7 \u012B\u0167\u1E17\u1E3F\u1E3F\u1E3F]"
108004
+ max_value_aria_label: "[[NOTRANSLATE]%{field}[/NOTRANSLATE] \xB7 \xB7 \xB7 \u1E3F\u0227\u1E8B\u012B\u1E3F\u016D\u1E3F \xB7 \u1E7D\u0227\u0140\u016D\u1E17\u1E17\u1E17]",
108005
+ min_value_aria_label: "[[NOTRANSLATE]%{field}[/NOTRANSLATE] \xB7 \xB7 \xB7 \u1E3F\u012B\u019E\u012B\u1E3F\u016D\u1E3F \xB7 \u1E7D\u0227\u0140\u016D\u1E17\u1E17\u1E17]",
108006
+ placeholder: "[\u015E\u015E\u015E\u1E17\u0140\u1E17\u0188\u0167 \xB7 \u0227\u019E \xB7 \u012B\u0167\u1E17\u1E3F\u1E3F\u1E3F]",
108007
+ value_aria_label: "[[NOTRANSLATE]%{field}[/NOTRANSLATE] \xB7 \xB7 \u1E7D\u0227\u0140\u016D\u1E17\u1E17]"
107907
108008
  },
107908
108009
  options: {
107909
108010
  any_value: "[\u0226\u0226\u019E\u1E8F \xB7 \u1E7C\u0227\u0140\u016D\u1E17\u1E17]",
@@ -108013,6 +108114,7 @@ var pseudo_default = {
108013
108114
  },
108014
108115
  filterRenders: {
108015
108116
  dateFilter: {
108117
+ invalidDate: "[\u1E16\u1E16\u1E16\u1E16\u019E\u0167\u1E17\u0159 \xB7 \u0227 \xB7 \u1E7D\u0227\u0140\u012B\u1E13 \xB7 \u1E13\u0227\u0167\u1E17....]",
108016
108118
  single: "[\u015E\u015E\u012B\u019E\u0260\u0140\u1E17\u1E17]",
108017
108119
  range: "[\u0158\u0227\u019E\u0260\u1E17]"
108018
108120
  }
@@ -108194,6 +108296,7 @@ var pt_BR_default = {
108194
108296
  },
108195
108297
  filterRenders: {
108196
108298
  dateFilter: {
108299
+ invalidDate: "Insira uma data v\xE1lida.",
108197
108300
  single: "\xDAnico",
108198
108301
  range: "Intervalo"
108199
108302
  }
@@ -108222,7 +108325,7 @@ var pt_PT_default = {
108222
108325
  title: "N\xE3o h\xE1 itens para apresentar neste momento",
108223
108326
  itemsTitle: "N\xE3o h\xE1 %{itemsLabel} para apresentar neste momento",
108224
108327
  tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado quando adicionar informa\xE7\xF5es a %{tableName}",
108225
- searchTooltip: "A pesquisa ser\xE1 ativada quando adicionar informa\xE7\xF5es a: %{tableName}",
108328
+ searchTooltip: "A pesquisa ser\xE1 ativada quando adicionar informa\xE7\xF5es \xE0 %{tableName}",
108226
108329
  featureFilter: "Filtro",
108227
108330
  featureQuickFilter: "Filtro r\xE1pido",
108228
108331
  featureGroupBy: "Agrupar por",
@@ -108328,7 +108431,7 @@ var pt_PT_default = {
108328
108431
  large: "Grande",
108329
108432
  tableSettings: "Defini\xE7\xF5es de tabela",
108330
108433
  groupBy: "Agrupar por:",
108331
- reset: "Redefinir",
108434
+ reset: "Repor",
108332
108435
  selectColumnGroup: "Selecionar uma coluna para agrupar",
108333
108436
  configure: "Configurar"
108334
108437
  },
@@ -108375,7 +108478,8 @@ var pt_PT_default = {
108375
108478
  },
108376
108479
  filterRenders: {
108377
108480
  dateFilter: {
108378
- single: "\xDAnico",
108481
+ invalidDate: "Introduza uma data v\xE1lida.",
108482
+ single: "\xDAnica",
108379
108483
  range: "Intervalo"
108380
108484
  }
108381
108485
  },
@@ -108556,6 +108660,7 @@ var th_TH_default = {
108556
108660
  },
108557
108661
  filterRenders: {
108558
108662
  dateFilter: {
108663
+ invalidDate: "\u0E01\u0E23\u0E38\u0E13\u0E32\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
108559
108664
  single: "\u0E40\u0E14\u0E35\u0E48\u0E22\u0E27",
108560
108665
  range: "\u0E41\u0E19\u0E27"
108561
108666
  }
@@ -108583,8 +108688,8 @@ var zh_SG_default = {
108583
108688
  description: "\u56E2\u961F\u521B\u5EFA\u9879\u540E\uFF0C\u53EF\u4EE5\u5728\u6B64\u5904\u8BBF\u95EE\u5B83\u4EEC\u3002 ",
108584
108689
  title: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684\u9879",
108585
108690
  itemsTitle: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684%{itemsLabel}",
108586
- tooltip: "\u4F60\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230 %{tableName} \u540E\uFF0C\u7CFB\u7EDF\u5C06\u542F\u7528%{featureName}\u6309\u94AE",
108587
- searchTooltip: "\u4E00\u65E6\u60A8\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u641C\u7D22\u529F\u80FD\u5C31\u4F1A\u542F\u7528",
108691
+ tooltip: "\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u540E\uFF0C%{featureName}\u6309\u94AE\u5C31\u4F1A\u542F\u7528",
108692
+ searchTooltip: "\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u540E\uFF0C\u641C\u7D22\u529F\u80FD\u5C31\u4F1A\u542F\u7528",
108588
108693
  featureFilter: "\u7B5B\u9009\u5668",
108589
108694
  featureQuickFilter: "\u5FEB\u901F\u7B5B\u9009",
108590
108695
  featureGroupBy: "\u5206\u7EC4\u4F9D\u636E",
@@ -108737,6 +108842,7 @@ var zh_SG_default = {
108737
108842
  },
108738
108843
  filterRenders: {
108739
108844
  dateFilter: {
108845
+ invalidDate: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u65E5\u671F\u3002",
108740
108846
  single: "\u5355\u4E2A",
108741
108847
  range: "\u8303\u56F4"
108742
108848
  }
@@ -108800,7 +108906,7 @@ var zh_TW_default = {
108800
108906
  removeFilterToken: "\u79FB\u9664\u300C%{name}\u300D",
108801
108907
  locationFilter: {
108802
108908
  selectAll: "\u5168\u90E8\u9078\u53D6",
108803
- includeSublocations: "\u5305\u62EC\u5B50\u4F4D\u7F6E",
108909
+ includeSublocations: "\u5305\u62EC\u6B21\u8981\u5730\u9EDE",
108804
108910
  searchLocations: "\u641C\u5C0B\u5730\u9EDE",
108805
108911
  locations: "\u5730\u9EDE"
108806
108912
  },
@@ -108857,7 +108963,7 @@ var zh_TW_default = {
108857
108963
  hideColumn: "\u96B1\u85CF\u6B04\u4F4D",
108858
108964
  resetColumns: "\u91CD\u8A2D\u6B04\u4F4D",
108859
108965
  unGroupBy: "\u53D6\u6D88\u4F9D{{label}}\u5206\u7D44",
108860
- groupBy: "\u4F9D {{label}} \u5206\u7D44"
108966
+ groupBy: "\u4F9D{{label}}\u5206\u7D44"
108861
108967
  },
108862
108968
  grandTotals: "\u7E3D\u8A08",
108863
108969
  search: "\u641C\u5C0B",
@@ -108872,7 +108978,7 @@ var zh_TW_default = {
108872
108978
  tableSettings: "\u8868\u683C\u8A2D\u5B9A",
108873
108979
  groupBy: "\u5206\u7D44\u4F9D\u64DA\uFF1A",
108874
108980
  reset: "\u91CD\u8A2D",
108875
- selectColumnGroup: "\u9078\u53D6\u8981\u7D44\u6210\u7FA4\u7D44\u7684\u6B04\u4F4D",
108981
+ selectColumnGroup: "\u9078\u53D6\u5206\u7D44\u6B04\u4F4D",
108876
108982
  configure: "\u8A2D\u5B9A"
108877
108983
  },
108878
108984
  rowGroupToggle: {
@@ -108918,6 +109024,7 @@ var zh_TW_default = {
108918
109024
  },
108919
109025
  filterRenders: {
108920
109026
  dateFilter: {
109027
+ invalidDate: "\u8ACB\u8F38\u5165\u6709\u6548\u65E5\u671F\u3002",
108921
109028
  single: "\u55AE\u4E00",
108922
109029
  range: "\u7BC4\u570D"
108923
109030
  }
@@ -109888,10 +109995,10 @@ var GRAND_TOTAL_HEIGHT = rowSize.sm;
109888
109995
  var GROUP_FOOTER_HEIGHT = rowSize.sm;
109889
109996
  var CUSTOM_FOOTER_HEIGHT = rowSize.md;
109890
109997
  var HEADER_HEIGHT = rowSize.md;
109891
- var cx19 = classnames.bind(styles_default);
109998
+ var cx20 = classnames.bind(styles_default);
109892
109999
  var tableIcons = {
109893
110000
  rowDrag,
109894
- columnMoveMove: `<span class="ag-icon ${cx19(
110001
+ columnMoveMove: `<span class="ag-icon ${cx20(
109895
110002
  "col-drag-column-icon"
109896
110003
  )}">${rowDrag}</i>`
109897
110004
  };
@@ -111108,7 +111215,7 @@ var Table = (props) => {
111108
111215
  width: "100%",
111109
111216
  maxHeight: props.maxHeight && tableHeight < props.maxHeight ? void 0 : props.maxHeight
111110
111217
  },
111111
- className: cx19("data-table-container", "ag-theme-alpine", {
111218
+ className: cx20("data-table-container", "ag-theme-alpine", {
111112
111219
  "ag-suppress-column-virtualization": suppressColumnVirtualisation
111113
111220
  }),
111114
111221
  ref: combinedRef,
@@ -111300,13 +111407,13 @@ var ContextPanel = ({
111300
111407
  tabIndex: -1,
111301
111408
  role: "region",
111302
111409
  "aria-label": ariaLabel,
111303
- className: cx19("contextPanel", className, {
111410
+ className: cx20("contextPanel", className, {
111304
111411
  "contextPanel--hidden": !contextPanel.isVisible || contextPanel.content === "filters"
111305
111412
  }),
111306
111413
  "data-qa": "data-table-context-panel",
111307
111414
  ...props
111308
111415
  },
111309
- /* @__PURE__ */ React80.createElement(Box, { className: cx19("contextPanelWrapper"), display: "flex-column" }, contextPanel.content === "configuration" && /* @__PURE__ */ React80.createElement(ConfigurationPanel, null, children), contextPanel.content === "bulkEdit" && /* @__PURE__ */ React80.createElement(BulkEditPanel, null), contextPanel.content === "custom" && children)
111416
+ /* @__PURE__ */ React80.createElement(Box, { className: cx20("contextPanelWrapper"), display: "flex-column" }, contextPanel.content === "configuration" && /* @__PURE__ */ React80.createElement(ConfigurationPanel, null, children), contextPanel.content === "bulkEdit" && /* @__PURE__ */ React80.createElement(BulkEditPanel, null), contextPanel.content === "custom" && children)
111310
111417
  );
111311
111418
  };
111312
111419
  function isLastColumnInGroup(params) {
@@ -111324,8 +111431,9 @@ function ClientSideFilterInner(props) {
111324
111431
  const { Component: Component4, columnDefinition, onChange, options, value } = props;
111325
111432
  const filterHeading = ((_b = (_a = columnDefinition.filterProps) == null ? void 0 : _a.getFilterHeadingText) == null ? void 0 : _b.call(_a, columnDefinition)) ?? columnDefinition.headerName;
111326
111433
  const filterOptions = React80.useMemo(() => options ?? [], [options]);
111434
+ const filterLabel = typeof filterHeading === "string" ? filterHeading : columnDefinition.headerName;
111327
111435
  return /* @__PURE__ */ React80.createElement(Box, { as: "li", display: "block", paddingBottom: "xl", style: { width: "100%" } }, filterHeading && /* @__PURE__ */ React80.createElement(
111328
- Label$1,
111436
+ Label,
111329
111437
  {
111330
111438
  "data-qa": `data-table-filter-heading-${columnDefinition.field}`,
111331
111439
  id: `data-table-filter-heading-${columnDefinition.field}`
@@ -111335,7 +111443,7 @@ function ClientSideFilterInner(props) {
111335
111443
  Component4,
111336
111444
  {
111337
111445
  "data-qa": `data-table-filter-input-${columnDefinition.field}`,
111338
- "aria-labelledby": filterHeading ? `data-table-filter-heading-${columnDefinition.field}` : void 0,
111446
+ "aria-label": filterLabel,
111339
111447
  columnDefinition,
111340
111448
  onChange,
111341
111449
  options: filterOptions,
@@ -111433,7 +111541,7 @@ var StyledPanelSection = styled4(Panel.Section)`
111433
111541
  // src/Panels/Filters.tsx
111434
111542
  function noop5() {
111435
111543
  }
111436
- var cx20 = classnames.bind(styles_default);
111544
+ var cx21 = classnames.bind(styles_default);
111437
111545
  function isServerSideFilterGroups(_FiltersInGroup, isServerSideRowModel) {
111438
111546
  return isServerSideRowModel;
111439
111547
  }
@@ -111445,7 +111553,7 @@ var Filters = ({
111445
111553
  return /* @__PURE__ */ React80.createElement(
111446
111554
  "ol",
111447
111555
  {
111448
- className: cx20("filters-list"),
111556
+ className: cx21("filters-list"),
111449
111557
  "data-qa": "data-table-possible-filters-list"
111450
111558
  },
111451
111559
  filters.map((fieldName) => {
@@ -111480,7 +111588,7 @@ function FilterListItems(props) {
111480
111588
  return /* @__PURE__ */ React80.createElement(
111481
111589
  "ol",
111482
111590
  {
111483
- className: cx20("filters-list"),
111591
+ className: cx21("filters-list"),
111484
111592
  "data-qa": "data-table-possible-filters-list"
111485
111593
  },
111486
111594
  filtersInGroup.map((filterRecord) => {
@@ -111538,7 +111646,7 @@ function FiltersList(props) {
111538
111646
  return /* @__PURE__ */ React80.createElement(
111539
111647
  Box,
111540
111648
  {
111541
- className: cx20("filters-list"),
111649
+ className: cx21("filters-list"),
111542
111650
  "data-qa": "data-table-possible-filters-list-container"
111543
111651
  },
111544
111652
  filterGroups == null ? void 0 : filterGroups.map((group2) => {
@@ -111594,14 +111702,14 @@ var BaseFiltersPanel = ({
111594
111702
  role: "region",
111595
111703
  "aria-label": I18n.t("dataTable.filters.filters"),
111596
111704
  style: { maxHeight: "100vh" },
111597
- className: cx20("contextPanel", className, {
111705
+ className: cx21("contextPanel", className, {
111598
111706
  "contextPanel--hidden": hidden
111599
111707
  }),
111600
111708
  "data-qa": "data-table-filters-context-panel",
111601
111709
  id: filtersPanelId,
111602
111710
  ...props
111603
111711
  },
111604
- /* @__PURE__ */ React80.createElement(Box, { className: cx20("contextPanelWrapper"), display: "flex-column" }, /* @__PURE__ */ React80.createElement(Panel, null, /* @__PURE__ */ React80.createElement(Panel.Header, { onClose: contextPanel.hide }, /* @__PURE__ */ React80.createElement(Panel.Title, null, I18n.t("dataTable.filters.filters")), /* @__PURE__ */ React80.createElement(
111712
+ /* @__PURE__ */ React80.createElement(Box, { className: cx21("contextPanelWrapper"), display: "flex-column" }, /* @__PURE__ */ React80.createElement(Panel, null, /* @__PURE__ */ React80.createElement(Panel.Header, { onClose: contextPanel.hide }, /* @__PURE__ */ React80.createElement(Panel.Title, null, I18n.t("dataTable.filters.filters")), /* @__PURE__ */ React80.createElement(
111605
111713
  Button,
111606
111714
  {
111607
111715
  "data-qa": "data-table-remove-all-filters",
@@ -111610,7 +111718,7 @@ var BaseFiltersPanel = ({
111610
111718
  variant: "tertiary"
111611
111719
  },
111612
111720
  I18n.t("dataTable.filters.clearAllFilters")
111613
- )), /* @__PURE__ */ React80.createElement(Panel.Body, { id: filtersBodyId, className: cx20("contextPanelBody") }, /* @__PURE__ */ React80.createElement(Panel.Section, null, children))))
111721
+ )), /* @__PURE__ */ React80.createElement(Panel.Body, { id: filtersBodyId, className: cx21("contextPanelBody") }, /* @__PURE__ */ React80.createElement(Panel.Section, null, children))))
111614
111722
  );
111615
111723
  };
111616
111724
  function ClientSideFiltersPanel(props) {
@@ -113267,7 +113375,7 @@ function mapColumnsToOptions(columnDefinitions) {
113267
113375
  };
113268
113376
  });
113269
113377
  }
113270
- var cx21 = classnames.bind(quickControlsStyles_default);
113378
+ var cx22 = classnames.bind(quickControlsStyles_default);
113271
113379
  var ClientSideSearch = ({
113272
113380
  onSearch,
113273
113381
  placeholder
@@ -113302,7 +113410,7 @@ var ClientSideSearch = ({
113302
113410
  disabled: hasNoContent,
113303
113411
  "data-qa": "data-table-search",
113304
113412
  value: internalValue,
113305
- className: cx21("search", {
113413
+ className: cx22("search", {
113306
113414
  "search--empty": !internalValue.length
113307
113415
  }),
113308
113416
  onChange,