@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.
- package/CHANGELOG.md +21 -0
- package/dist/legacy/index.cjs +553 -445
- package/dist/legacy/index.d.cts +7 -3
- package/dist/legacy/index.d.ts +7 -3
- package/dist/legacy/index.js +555 -447
- package/dist/modern/index.cjs +550 -443
- package/dist/modern/index.d.cts +7 -3
- package/dist/modern/index.d.ts +7 -3
- package/dist/modern/index.js +552 -445
- package/package.json +3 -3
package/dist/modern/index.js
CHANGED
|
@@ -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
|
|
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';
|
|
@@ -1387,7 +1387,7 @@ ag-grid, ag-grid-angular, ag-grid-ng2, ag-grid-polymer, ag-grid-aurelia {
|
|
|
1387
1387
|
animation-iteration-count: infinite;
|
|
1388
1388
|
animation-name: ag-shake-left-to-right;
|
|
1389
1389
|
}
|
|
1390
|
-
@keyframes _ag-shake-left-to-
|
|
1390
|
+
@keyframes _ag-shake-left-to-right_fcvsa_342 {
|
|
1391
1391
|
from {
|
|
1392
1392
|
padding-left: 6px;
|
|
1393
1393
|
padding-right: 2px;
|
|
@@ -5388,7 +5388,7 @@ input[class^=ag-][type=button]:focus, button[class^=ag-]:focus {
|
|
|
5388
5388
|
animation-iteration-count: infinite;
|
|
5389
5389
|
animation-timing-function: linear;
|
|
5390
5390
|
}
|
|
5391
|
-
@keyframes
|
|
5391
|
+
@keyframes _spin_fcvsa_1 {
|
|
5392
5392
|
from {
|
|
5393
5393
|
transform: rotate(0deg);
|
|
5394
5394
|
}
|
|
@@ -7920,7 +7920,7 @@ input[class^=ag-][type=range]:disabled {
|
|
|
7920
7920
|
padding-left: 16px;
|
|
7921
7921
|
}
|
|
7922
7922
|
|
|
7923
|
-
div.
|
|
7923
|
+
div._contextPanel_fcvsa_7159 {
|
|
7924
7924
|
width: 400px;
|
|
7925
7925
|
transition: all ease 500ms;
|
|
7926
7926
|
flex: 0 0 auto;
|
|
@@ -7929,12 +7929,12 @@ div._contextPanel_pphrk_7159 {
|
|
|
7929
7929
|
border: 1px solid #d6dadc;
|
|
7930
7930
|
display: flex;
|
|
7931
7931
|
}
|
|
7932
|
-
div.
|
|
7932
|
+
div._contextPanel_fcvsa_7159:focus {
|
|
7933
7933
|
border-color: #2066df;
|
|
7934
7934
|
box-shadow: inset 0 0 1px 0 #2066df;
|
|
7935
7935
|
outline: none;
|
|
7936
7936
|
}
|
|
7937
|
-
div._contextPanel--
|
|
7937
|
+
div._contextPanel--hidden_fcvsa_7173 {
|
|
7938
7938
|
border: none;
|
|
7939
7939
|
overflow: hidden;
|
|
7940
7940
|
padding: 0px;
|
|
@@ -7942,50 +7942,58 @@ div._contextPanel--hidden_pphrk_7173 {
|
|
|
7942
7942
|
width: 0px;
|
|
7943
7943
|
}
|
|
7944
7944
|
|
|
7945
|
-
.
|
|
7945
|
+
._contextPanelWrapper_fcvsa_7181 {
|
|
7946
7946
|
position: relative;
|
|
7947
7947
|
flex-grow: 1;
|
|
7948
7948
|
}
|
|
7949
7949
|
|
|
7950
|
-
.
|
|
7950
|
+
._contextPanelBody_fcvsa_7186 {
|
|
7951
7951
|
width: clamp(380px, 400px, 100%);
|
|
7952
7952
|
}
|
|
7953
7953
|
|
|
7954
|
-
._contextPanel-
|
|
7954
|
+
._contextPanel-stickyHeader_fcvsa_7190 {
|
|
7955
7955
|
background-color: #ffffff;
|
|
7956
7956
|
position: sticky;
|
|
7957
7957
|
top: 0;
|
|
7958
7958
|
z-index: 5;
|
|
7959
7959
|
}
|
|
7960
7960
|
|
|
7961
|
-
._filters-
|
|
7961
|
+
._filters-list_fcvsa_7197 {
|
|
7962
7962
|
padding: 0;
|
|
7963
7963
|
margin: 0;
|
|
7964
7964
|
}
|
|
7965
|
-
._filters-
|
|
7965
|
+
._filters-list_fcvsa_7197 ol {
|
|
7966
7966
|
padding: 0;
|
|
7967
7967
|
margin: 0;
|
|
7968
7968
|
}
|
|
7969
7969
|
|
|
7970
|
-
.
|
|
7970
|
+
._date-filter-invalid-message_fcvsa_7206 {
|
|
7971
|
+
color: #c42223;
|
|
7972
|
+
font-size: 12px;
|
|
7973
|
+
line-height: 16px;
|
|
7974
|
+
margin-top: 4px;
|
|
7975
|
+
}
|
|
7976
|
+
|
|
7977
|
+
._col-drag-column-icon_fcvsa_7213 {
|
|
7971
7978
|
color: #6a767c;
|
|
7972
7979
|
}
|
|
7973
7980
|
|
|
7974
|
-
._tabular-
|
|
7981
|
+
._tabular-nums_fcvsa_7217 {
|
|
7975
7982
|
font-variant-numeric: tabular-nums;
|
|
7976
7983
|
}`;
|
|
7977
7984
|
document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css));
|
|
7978
7985
|
var styles_default = {
|
|
7979
|
-
"contextPanel": "
|
|
7980
|
-
"contextPanel--hidden": "_contextPanel--
|
|
7981
|
-
"contextPanelWrapper": "
|
|
7982
|
-
"contextPanelBody": "
|
|
7983
|
-
"contextPanel-stickyHeader": "_contextPanel-
|
|
7984
|
-
"filters-list": "_filters-
|
|
7985
|
-
"
|
|
7986
|
-
"
|
|
7987
|
-
"
|
|
7988
|
-
"
|
|
7986
|
+
"contextPanel": "_contextPanel_fcvsa_7159",
|
|
7987
|
+
"contextPanel--hidden": "_contextPanel--hidden_fcvsa_7173",
|
|
7988
|
+
"contextPanelWrapper": "_contextPanelWrapper_fcvsa_7181",
|
|
7989
|
+
"contextPanelBody": "_contextPanelBody_fcvsa_7186",
|
|
7990
|
+
"contextPanel-stickyHeader": "_contextPanel-stickyHeader_fcvsa_7190",
|
|
7991
|
+
"filters-list": "_filters-list_fcvsa_7197",
|
|
7992
|
+
"date-filter-invalid-message": "_date-filter-invalid-message_fcvsa_7206",
|
|
7993
|
+
"col-drag-column-icon": "_col-drag-column-icon_fcvsa_7213",
|
|
7994
|
+
"tabular-nums": "_tabular-nums_fcvsa_7217",
|
|
7995
|
+
"ag-shake-left-to-right": "_ag-shake-left-to-right_fcvsa_342",
|
|
7996
|
+
"spin": "_spin_fcvsa_1"
|
|
7989
7997
|
};
|
|
7990
7998
|
|
|
7991
7999
|
// src/CellRenderers/BooleanCell.tsx
|
|
@@ -8269,6 +8277,264 @@ var Editor = React80.forwardRef(
|
|
|
8269
8277
|
}
|
|
8270
8278
|
);
|
|
8271
8279
|
var CurrencyCellEditor = withDataTableEditor(Editor, "input");
|
|
8280
|
+
var $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (React80).useLayoutEffect : () => {
|
|
8281
|
+
};
|
|
8282
|
+
var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
|
|
8283
|
+
var $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (React80)["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);
|
|
8284
|
+
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
8285
|
+
const ref = (useRef)(null);
|
|
8286
|
+
$8ae05eaa5c114e9c$var$useEarlyEffect(() => {
|
|
8287
|
+
ref.current = fn;
|
|
8288
|
+
}, [
|
|
8289
|
+
fn
|
|
8290
|
+
]);
|
|
8291
|
+
return (useCallback)((...args) => {
|
|
8292
|
+
const f = ref.current;
|
|
8293
|
+
return f === null || f === void 0 ? void 0 : f(...args);
|
|
8294
|
+
}, []);
|
|
8295
|
+
}
|
|
8296
|
+
var $b5e257d569688ac6$var$defaultContext = {
|
|
8297
|
+
prefix: String(Math.round(Math.random() * 1e10)),
|
|
8298
|
+
current: 0
|
|
8299
|
+
};
|
|
8300
|
+
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80).createContext($b5e257d569688ac6$var$defaultContext);
|
|
8301
|
+
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80).createContext(false);
|
|
8302
|
+
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
8303
|
+
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
8304
|
+
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
8305
|
+
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
8306
|
+
let ref = (useRef)(null);
|
|
8307
|
+
if (ref.current === null && !isDisabled) {
|
|
8308
|
+
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
8309
|
+
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;
|
|
8310
|
+
if (currentOwner) {
|
|
8311
|
+
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
8312
|
+
if (prevComponentValue == null)
|
|
8313
|
+
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
8314
|
+
id: ctx.current,
|
|
8315
|
+
state: currentOwner.memoizedState
|
|
8316
|
+
});
|
|
8317
|
+
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
8318
|
+
ctx.current = prevComponentValue.id;
|
|
8319
|
+
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
8320
|
+
}
|
|
8321
|
+
}
|
|
8322
|
+
ref.current = ++ctx.current;
|
|
8323
|
+
}
|
|
8324
|
+
return ref.current;
|
|
8325
|
+
}
|
|
8326
|
+
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
8327
|
+
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
8328
|
+
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.");
|
|
8329
|
+
let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
8330
|
+
let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
|
|
8331
|
+
return defaultId || `${prefix}-${counter2}`;
|
|
8332
|
+
}
|
|
8333
|
+
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
8334
|
+
let id = (React80).useId();
|
|
8335
|
+
let [didSSR] = (useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
8336
|
+
let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
8337
|
+
return defaultId || `${prefix}-${id}`;
|
|
8338
|
+
}
|
|
8339
|
+
var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
8340
|
+
function $b5e257d569688ac6$var$getSnapshot() {
|
|
8341
|
+
return false;
|
|
8342
|
+
}
|
|
8343
|
+
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
8344
|
+
return true;
|
|
8345
|
+
}
|
|
8346
|
+
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
8347
|
+
return () => {
|
|
8348
|
+
};
|
|
8349
|
+
}
|
|
8350
|
+
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
8351
|
+
if (typeof (React80)["useSyncExternalStore"] === "function") return (React80)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
8352
|
+
return (useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
8353
|
+
}
|
|
8354
|
+
|
|
8355
|
+
// ../../node_modules/@react-aria/utils/dist/useId.mjs
|
|
8356
|
+
var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
8357
|
+
var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
8358
|
+
var $bdb11010cef70236$var$registry;
|
|
8359
|
+
if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
|
|
8360
|
+
$bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
|
|
8361
|
+
});
|
|
8362
|
+
function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
|
|
8363
|
+
let [value, setValue] = (useState)(defaultId);
|
|
8364
|
+
let nextId = (useRef)(null);
|
|
8365
|
+
let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
|
|
8366
|
+
let cleanupRef = (useRef)(null);
|
|
8367
|
+
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
|
|
8368
|
+
if ($bdb11010cef70236$var$canUseDOM) {
|
|
8369
|
+
const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
|
|
8370
|
+
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
8371
|
+
else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
|
|
8372
|
+
nextId
|
|
8373
|
+
]);
|
|
8374
|
+
}
|
|
8375
|
+
($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
|
|
8376
|
+
let r2 = res;
|
|
8377
|
+
return () => {
|
|
8378
|
+
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
|
|
8379
|
+
$bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
|
|
8380
|
+
};
|
|
8381
|
+
}, [
|
|
8382
|
+
res
|
|
8383
|
+
]);
|
|
8384
|
+
(useEffect)(() => {
|
|
8385
|
+
let newId = nextId.current;
|
|
8386
|
+
if (newId) setValue(newId);
|
|
8387
|
+
return () => {
|
|
8388
|
+
if (newId) nextId.current = null;
|
|
8389
|
+
};
|
|
8390
|
+
});
|
|
8391
|
+
return res;
|
|
8392
|
+
}
|
|
8393
|
+
function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
|
|
8394
|
+
if (idA === idB) return idA;
|
|
8395
|
+
let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
|
|
8396
|
+
if (setIdsA) {
|
|
8397
|
+
setIdsA.forEach((ref) => ref.current = idB);
|
|
8398
|
+
return idB;
|
|
8399
|
+
}
|
|
8400
|
+
let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);
|
|
8401
|
+
if (setIdsB) {
|
|
8402
|
+
setIdsB.forEach((ref) => ref.current = idA);
|
|
8403
|
+
return idA;
|
|
8404
|
+
}
|
|
8405
|
+
return idB;
|
|
8406
|
+
}
|
|
8407
|
+
|
|
8408
|
+
// ../../node_modules/@react-aria/utils/dist/chain.mjs
|
|
8409
|
+
function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
|
|
8410
|
+
return (...args) => {
|
|
8411
|
+
for (let callback of callbacks) if (typeof callback === "function") callback(...args);
|
|
8412
|
+
};
|
|
8413
|
+
}
|
|
8414
|
+
|
|
8415
|
+
// ../../node_modules/@react-aria/utils/dist/domHelpers.mjs
|
|
8416
|
+
var $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
8417
|
+
var _el_ownerDocument;
|
|
8418
|
+
return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
|
|
8419
|
+
};
|
|
8420
|
+
function $431fbd86ca7dc216$var$isNode(value) {
|
|
8421
|
+
return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
|
|
8422
|
+
}
|
|
8423
|
+
function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
|
|
8424
|
+
return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
|
|
8425
|
+
}
|
|
8426
|
+
|
|
8427
|
+
// ../../node_modules/@react-stately/flags/dist/import.mjs
|
|
8428
|
+
var $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
8429
|
+
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
8430
|
+
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
8431
|
+
}
|
|
8432
|
+
|
|
8433
|
+
// ../../node_modules/@react-aria/utils/dist/DOMFunctions.mjs
|
|
8434
|
+
function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
|
|
8435
|
+
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return otherNode && node ? node.contains(otherNode) : false;
|
|
8436
|
+
if (!node || !otherNode) return false;
|
|
8437
|
+
let currentNode = otherNode;
|
|
8438
|
+
while (currentNode !== null) {
|
|
8439
|
+
if (currentNode === node) return true;
|
|
8440
|
+
if (currentNode.tagName === "SLOT" && currentNode.assignedSlot)
|
|
8441
|
+
currentNode = currentNode.assignedSlot.parentNode;
|
|
8442
|
+
else if (($431fbd86ca7dc216$export$af51f0f06c0f328a)(currentNode))
|
|
8443
|
+
currentNode = currentNode.host;
|
|
8444
|
+
else currentNode = currentNode.parentNode;
|
|
8445
|
+
}
|
|
8446
|
+
return false;
|
|
8447
|
+
}
|
|
8448
|
+
var $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
|
|
8449
|
+
var _activeElement_shadowRoot;
|
|
8450
|
+
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return doc.activeElement;
|
|
8451
|
+
let activeElement = doc.activeElement;
|
|
8452
|
+
while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
|
|
8453
|
+
return activeElement;
|
|
8454
|
+
};
|
|
8455
|
+
function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
|
|
8456
|
+
if (($f4e2df6bd15f8569$export$98658e8c59125e6a)() && event.target.shadowRoot) {
|
|
8457
|
+
if (event.composedPath) return event.composedPath()[0];
|
|
8458
|
+
}
|
|
8459
|
+
return event.target;
|
|
8460
|
+
}
|
|
8461
|
+
|
|
8462
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
8463
|
+
function r(e) {
|
|
8464
|
+
var t, f, n = "";
|
|
8465
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
8466
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
8467
|
+
var o = e.length;
|
|
8468
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
8469
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
8470
|
+
return n;
|
|
8471
|
+
}
|
|
8472
|
+
function clsx() {
|
|
8473
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
8474
|
+
return n;
|
|
8475
|
+
}
|
|
8476
|
+
var clsx_default = clsx;
|
|
8477
|
+
|
|
8478
|
+
// ../../node_modules/@react-aria/utils/dist/mergeProps.mjs
|
|
8479
|
+
function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
|
|
8480
|
+
let result = {
|
|
8481
|
+
...args[0]
|
|
8482
|
+
};
|
|
8483
|
+
for (let i = 1; i < args.length; i++) {
|
|
8484
|
+
let props = args[i];
|
|
8485
|
+
for (let key in props) {
|
|
8486
|
+
let a = result[key];
|
|
8487
|
+
let b = props[key];
|
|
8488
|
+
if (typeof a === "function" && typeof b === "function" && // This is a lot faster than a regex.
|
|
8489
|
+
key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= /* 'A' */
|
|
8490
|
+
65 && key.charCodeAt(2) <= /* 'Z' */
|
|
8491
|
+
90) result[key] = ($ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);
|
|
8492
|
+
else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = (clsx_default)(a, b);
|
|
8493
|
+
else if (key === "id" && a && b) result.id = ($bdb11010cef70236$export$cd8c9cb68f842629)(a, b);
|
|
8494
|
+
else result[key] = b !== void 0 ? b : a;
|
|
8495
|
+
}
|
|
8496
|
+
}
|
|
8497
|
+
return result;
|
|
8498
|
+
}
|
|
8499
|
+
function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
8500
|
+
let globalListeners = (useRef)(/* @__PURE__ */ new Map());
|
|
8501
|
+
let addGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
8502
|
+
let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
|
|
8503
|
+
globalListeners.current.delete(listener);
|
|
8504
|
+
listener(...args);
|
|
8505
|
+
} : listener;
|
|
8506
|
+
globalListeners.current.set(listener, {
|
|
8507
|
+
type,
|
|
8508
|
+
eventTarget,
|
|
8509
|
+
fn,
|
|
8510
|
+
options
|
|
8511
|
+
});
|
|
8512
|
+
eventTarget.addEventListener(type, fn, options);
|
|
8513
|
+
}, []);
|
|
8514
|
+
let removeGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
8515
|
+
var _globalListeners_current_get;
|
|
8516
|
+
let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
|
|
8517
|
+
eventTarget.removeEventListener(type, fn, options);
|
|
8518
|
+
globalListeners.current.delete(listener);
|
|
8519
|
+
}, []);
|
|
8520
|
+
let removeAllGlobalListeners = (useCallback)(() => {
|
|
8521
|
+
globalListeners.current.forEach((value, key) => {
|
|
8522
|
+
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
8523
|
+
});
|
|
8524
|
+
}, [
|
|
8525
|
+
removeGlobalListener
|
|
8526
|
+
]);
|
|
8527
|
+
(useEffect)(() => {
|
|
8528
|
+
return removeAllGlobalListeners;
|
|
8529
|
+
}, [
|
|
8530
|
+
removeAllGlobalListeners
|
|
8531
|
+
]);
|
|
8532
|
+
return {
|
|
8533
|
+
addGlobalListener,
|
|
8534
|
+
removeGlobalListener,
|
|
8535
|
+
removeAllGlobalListeners
|
|
8536
|
+
};
|
|
8537
|
+
}
|
|
8272
8538
|
|
|
8273
8539
|
// src/utils/logger.ts
|
|
8274
8540
|
var log = (...args) => {
|
|
@@ -8372,6 +8638,7 @@ function isValidFilter(filter) {
|
|
|
8372
8638
|
}
|
|
8373
8639
|
|
|
8374
8640
|
// src/FilterRenderers/DateFilterRenderer.tsx
|
|
8641
|
+
var cx4 = classnames.bind(styles_default);
|
|
8375
8642
|
function getPlacement(currentSelectionType, position) {
|
|
8376
8643
|
if (currentSelectionType === "single") {
|
|
8377
8644
|
return "bottom-left";
|
|
@@ -8475,13 +8742,27 @@ var DateFilterSelect = React80.forwardRef(
|
|
|
8475
8742
|
({
|
|
8476
8743
|
afterHide,
|
|
8477
8744
|
onChange,
|
|
8745
|
+
invalidDateErrorMessage,
|
|
8478
8746
|
position,
|
|
8479
8747
|
selectedValue,
|
|
8480
8748
|
selectionType = "either",
|
|
8481
8749
|
setSelectionType = () => {
|
|
8482
8750
|
}
|
|
8483
8751
|
}, ref) => {
|
|
8752
|
+
const I18n = useI18nContext();
|
|
8753
|
+
const errorId = $bdb11010cef70236$export$f680877a34711e37();
|
|
8484
8754
|
const dateTime = useDateTime();
|
|
8755
|
+
const localDateInputRef = React80.useRef(null);
|
|
8756
|
+
const errorMessageRef = React80.useRef(null);
|
|
8757
|
+
const updateInvalidState = React80.useCallback(() => {
|
|
8758
|
+
const isInvalid = localDateInputRef.current?.getAttribute("aria-invalid") === "true";
|
|
8759
|
+
if (isInvalid) {
|
|
8760
|
+
errorMessageRef.current?.removeAttribute("hidden");
|
|
8761
|
+
} else {
|
|
8762
|
+
errorMessageRef.current?.setAttribute("hidden", "true");
|
|
8763
|
+
}
|
|
8764
|
+
}, []);
|
|
8765
|
+
const resolvedInvalidDateErrorMessage = typeof invalidDateErrorMessage === "function" ? invalidDateErrorMessage() : invalidDateErrorMessage || I18n.t("dataTable.filterRenders.dateFilter.invalidDate");
|
|
8485
8766
|
const { start, end } = selectedValue;
|
|
8486
8767
|
const selectedDate = (position === "start" ? start : end) ?? void 0;
|
|
8487
8768
|
const [displayed, setDisplayed2] = React80.useState(
|
|
@@ -8516,7 +8797,7 @@ var DateFilterSelect = React80.forwardRef(
|
|
|
8516
8797
|
yearRef
|
|
8517
8798
|
}
|
|
8518
8799
|
);
|
|
8519
|
-
return /* @__PURE__ */ React80.createElement(
|
|
8800
|
+
return /* @__PURE__ */ React80.createElement(Box, { display: "flex-column", className: cx4("date-filter-input-wrapper") }, /* @__PURE__ */ React80.createElement(
|
|
8520
8801
|
OverlayTrigger,
|
|
8521
8802
|
{
|
|
8522
8803
|
afterHide,
|
|
@@ -8542,9 +8823,7 @@ var DateFilterSelect = React80.forwardRef(
|
|
|
8542
8823
|
{
|
|
8543
8824
|
"data-qa": `data-table-date-filter-input-${position}`,
|
|
8544
8825
|
onChangeSegment: (type, value) => {
|
|
8545
|
-
if (value === -1)
|
|
8546
|
-
return;
|
|
8547
|
-
}
|
|
8826
|
+
if (value === -1) return;
|
|
8548
8827
|
if (type === "month") {
|
|
8549
8828
|
setDisplayed2(dateTime.newDate(displayed.setMonth(value - 1)));
|
|
8550
8829
|
} else if (type === "year") {
|
|
@@ -8559,12 +8838,26 @@ var DateFilterSelect = React80.forwardRef(
|
|
|
8559
8838
|
onClear: () => {
|
|
8560
8839
|
setDisplayed2(dateTime.newDate());
|
|
8561
8840
|
},
|
|
8841
|
+
onBlur: updateInvalidState,
|
|
8562
8842
|
clearRef,
|
|
8563
8843
|
value: selectedDate,
|
|
8564
|
-
ref
|
|
8844
|
+
ref: localDateInputRef,
|
|
8845
|
+
"aria-describedby": errorId
|
|
8565
8846
|
}
|
|
8566
8847
|
)
|
|
8567
|
-
)
|
|
8848
|
+
), /* @__PURE__ */ React80.createElement(
|
|
8849
|
+
Box,
|
|
8850
|
+
{
|
|
8851
|
+
id: errorId,
|
|
8852
|
+
ref: errorMessageRef,
|
|
8853
|
+
"aria-live": "polite",
|
|
8854
|
+
className: cx4("date-filter-invalid-message"),
|
|
8855
|
+
"data-qa": `data-table-date-filter-error-${position}`,
|
|
8856
|
+
hidden: true,
|
|
8857
|
+
role: "status"
|
|
8858
|
+
},
|
|
8859
|
+
resolvedInvalidDateErrorMessage
|
|
8860
|
+
));
|
|
8568
8861
|
}
|
|
8569
8862
|
);
|
|
8570
8863
|
function DateFilter({
|
|
@@ -8572,6 +8865,7 @@ function DateFilter({
|
|
|
8572
8865
|
// core DateSelect doesn't have it
|
|
8573
8866
|
// loading,
|
|
8574
8867
|
onChange,
|
|
8868
|
+
invalidDateErrorMessage,
|
|
8575
8869
|
selectionType = "either",
|
|
8576
8870
|
value,
|
|
8577
8871
|
...props
|
|
@@ -8618,6 +8912,7 @@ function DateFilter({
|
|
|
8618
8912
|
DateFilterSelect,
|
|
8619
8913
|
{
|
|
8620
8914
|
afterHide: dateRangeAfterHide,
|
|
8915
|
+
invalidDateErrorMessage,
|
|
8621
8916
|
onChange: dateFilterOnChange,
|
|
8622
8917
|
position: "start",
|
|
8623
8918
|
selectedValue,
|
|
@@ -8627,6 +8922,7 @@ function DateFilter({
|
|
|
8627
8922
|
), selectedValue.type !== "single" && /* @__PURE__ */ React80.createElement(
|
|
8628
8923
|
DateFilterSelect,
|
|
8629
8924
|
{
|
|
8925
|
+
invalidDateErrorMessage,
|
|
8630
8926
|
onChange: dateFilterOnChange,
|
|
8631
8927
|
position: "end",
|
|
8632
8928
|
ref: dateRangeEndDateRef,
|
|
@@ -8648,6 +8944,7 @@ function ServerSideDateSelectFilterRenderer({
|
|
|
8648
8944
|
DateFilter,
|
|
8649
8945
|
{
|
|
8650
8946
|
...props,
|
|
8947
|
+
invalidDateErrorMessage: colDef.filterProps?.invalidDateErrorMessage,
|
|
8651
8948
|
onChange: (selected) => {
|
|
8652
8949
|
onChange(
|
|
8653
8950
|
selected.map((date) => {
|
|
@@ -8703,7 +9000,7 @@ function getCellValueTypographyProps(typographyProps) {
|
|
|
8703
9000
|
}
|
|
8704
9001
|
|
|
8705
9002
|
// src/CellRenderers/DateCell.tsx
|
|
8706
|
-
var
|
|
9003
|
+
var cx5 = classnames.bind(styles_default);
|
|
8707
9004
|
function getDateObject(date) {
|
|
8708
9005
|
if (isDate(date)) {
|
|
8709
9006
|
return date;
|
|
@@ -8766,7 +9063,7 @@ var Editor2 = React80.forwardRef(
|
|
|
8766
9063
|
StyledDateSelect,
|
|
8767
9064
|
{
|
|
8768
9065
|
afterHide,
|
|
8769
|
-
className:
|
|
9066
|
+
className: cx5("input-cell"),
|
|
8770
9067
|
disabledDate: columnDefinition.cellEditorParams?.disabledDate,
|
|
8771
9068
|
onChange,
|
|
8772
9069
|
ref,
|
|
@@ -8777,7 +9074,7 @@ var Editor2 = React80.forwardRef(
|
|
|
8777
9074
|
}
|
|
8778
9075
|
);
|
|
8779
9076
|
var DateCellEditor = withDataTableEditor(Editor2, "date");
|
|
8780
|
-
var
|
|
9077
|
+
var cx6 = classnames.bind(styles_default);
|
|
8781
9078
|
function getDateObject2(date) {
|
|
8782
9079
|
if (isDate(date)) {
|
|
8783
9080
|
return date;
|
|
@@ -8828,7 +9125,7 @@ var Editor3 = React80.forwardRef(
|
|
|
8828
9125
|
DateSelect,
|
|
8829
9126
|
{
|
|
8830
9127
|
afterHide,
|
|
8831
|
-
className:
|
|
9128
|
+
className: cx6("input-cell"),
|
|
8832
9129
|
disabledDate,
|
|
8833
9130
|
onChange,
|
|
8834
9131
|
ref,
|
|
@@ -52358,7 +52655,7 @@ globalObj.MouseEvent = typeof MouseEvent === "undefined" ? {} : MouseEvent;
|
|
|
52358
52655
|
|
|
52359
52656
|
// src/CellRenderers/GroupCell.tsx
|
|
52360
52657
|
var GroupCellRenderer2 = GroupCellRenderer;
|
|
52361
|
-
var
|
|
52658
|
+
var cx7 = classnames.bind(truncation_default);
|
|
52362
52659
|
var MIN_LINK_WIDTH = 48;
|
|
52363
52660
|
var InternalLinkCellRenderer = ({
|
|
52364
52661
|
columnDefinition,
|
|
@@ -52374,7 +52671,7 @@ var InternalLinkCellRenderer = ({
|
|
|
52374
52671
|
const [isLinkWidthBelowMin, setIsLinkWidthBelowMin] = useState(false);
|
|
52375
52672
|
const linkRef = useRef(null);
|
|
52376
52673
|
const internalValue = value ? columnDefinition.getStringFormattedValue?.(value) : "";
|
|
52377
|
-
const className =
|
|
52674
|
+
const className = cx7(
|
|
52378
52675
|
typographyProps?.className,
|
|
52379
52676
|
"textCell",
|
|
52380
52677
|
"truncatingText",
|
|
@@ -52394,7 +52691,7 @@ var InternalLinkCellRenderer = ({
|
|
|
52394
52691
|
}
|
|
52395
52692
|
}, [internalValue]);
|
|
52396
52693
|
const URL = getURL(value, data);
|
|
52397
|
-
const extendClickableAreaClassNames = isLinkWidthBelowMin ?
|
|
52694
|
+
const extendClickableAreaClassNames = isLinkWidthBelowMin ? cx7("extendClickableArea", {
|
|
52398
52695
|
"extendClickableArea--rowHeightSm": rowHeight === rowSize.sm
|
|
52399
52696
|
}) : "";
|
|
52400
52697
|
if (isExternalLink && value && URL) {
|
|
@@ -52426,7 +52723,7 @@ var LinkCellRenderer = withDataTableRenderer(
|
|
|
52426
52723
|
InternalLinkCellRenderer,
|
|
52427
52724
|
"input"
|
|
52428
52725
|
);
|
|
52429
|
-
var
|
|
52726
|
+
var cx8 = classnames.bind(styles_default);
|
|
52430
52727
|
var InternalNumberCellRenderer = ({
|
|
52431
52728
|
columnDefinition,
|
|
52432
52729
|
rowPinned,
|
|
@@ -52442,7 +52739,7 @@ var InternalNumberCellRenderer = ({
|
|
|
52442
52739
|
return null;
|
|
52443
52740
|
}
|
|
52444
52741
|
if (columnDefinition.editable) {
|
|
52445
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
52742
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx8("input-placeholder") }, inputProps?.placeholder || I18n.t("dataTable.cells.numberCell.placeholder"));
|
|
52446
52743
|
}
|
|
52447
52744
|
return /* @__PURE__ */ React80.createElement(React80.Fragment, null);
|
|
52448
52745
|
}
|
|
@@ -52485,7 +52782,7 @@ var InternalNumberCellEditor = React80.forwardRef(({ columnDefinition, stopEditi
|
|
|
52485
52782
|
defaultValue: value,
|
|
52486
52783
|
onBlur,
|
|
52487
52784
|
ref,
|
|
52488
|
-
className:
|
|
52785
|
+
className: cx8("input-cell", "input-cell--right-aligned"),
|
|
52489
52786
|
...inputProps
|
|
52490
52787
|
}
|
|
52491
52788
|
);
|
|
@@ -52561,7 +52858,7 @@ var peopleCellStyles_default = {
|
|
|
52561
52858
|
};
|
|
52562
52859
|
|
|
52563
52860
|
// src/CellRenderers/PeopleCell.tsx
|
|
52564
|
-
var
|
|
52861
|
+
var cx9 = classnames.bind(peopleCellStyles_default);
|
|
52565
52862
|
var NUM_AVATARS_SHOWN = 4;
|
|
52566
52863
|
var defaultAvatarStackItemFilter = (person) => !!person || !!person.id;
|
|
52567
52864
|
var Renderer6 = ({
|
|
@@ -52649,7 +52946,7 @@ var Renderer6 = ({
|
|
|
52649
52946
|
Flex,
|
|
52650
52947
|
{
|
|
52651
52948
|
direction: columnDefinition.autoHeight ? "column" : "row",
|
|
52652
|
-
className:
|
|
52949
|
+
className: cx9("dynamicRowHeightSpacing", columnDefinition.autoHeight)
|
|
52653
52950
|
},
|
|
52654
52951
|
isAvatarStackDisplayed && /* @__PURE__ */ React80.createElement(
|
|
52655
52952
|
Box,
|
|
@@ -52680,7 +52977,7 @@ var Renderer6 = ({
|
|
|
52680
52977
|
/* @__PURE__ */ React80.createElement(
|
|
52681
52978
|
Typography,
|
|
52682
52979
|
{
|
|
52683
|
-
className: !columnDefinition.autoHeight ?
|
|
52980
|
+
className: !columnDefinition.autoHeight ? cx9("truncatingText", {
|
|
52684
52981
|
"truncatingText--md": rowHeight === rowSize.md,
|
|
52685
52982
|
"truncatingText--lg": rowHeight === rowSize.lg
|
|
52686
52983
|
}) : "",
|
|
@@ -52716,7 +53013,7 @@ var Renderer6 = ({
|
|
|
52716
53013
|
{
|
|
52717
53014
|
...typographyProps,
|
|
52718
53015
|
color: "gray45",
|
|
52719
|
-
className:
|
|
53016
|
+
className: cx9("truncatingText")
|
|
52720
53017
|
},
|
|
52721
53018
|
getCompanyName(people[0])
|
|
52722
53019
|
)) : /* @__PURE__ */ React80.createElement(
|
|
@@ -52724,7 +53021,7 @@ var Renderer6 = ({
|
|
|
52724
53021
|
{
|
|
52725
53022
|
...typographyProps,
|
|
52726
53023
|
color: "gray45",
|
|
52727
|
-
className:
|
|
53024
|
+
className: cx9("truncatingText")
|
|
52728
53025
|
},
|
|
52729
53026
|
getCompanyName(people[0])
|
|
52730
53027
|
)
|
|
@@ -52732,7 +53029,7 @@ var Renderer6 = ({
|
|
|
52732
53029
|
);
|
|
52733
53030
|
};
|
|
52734
53031
|
var PeopleCellRenderer = withDataTableRenderer(Renderer6);
|
|
52735
|
-
var
|
|
53032
|
+
var cx10 = classnames.bind(styles_default);
|
|
52736
53033
|
var Renderer7 = ({
|
|
52737
53034
|
columnDefinition,
|
|
52738
53035
|
isGroup,
|
|
@@ -52748,7 +53045,7 @@ var Renderer7 = ({
|
|
|
52748
53045
|
return null;
|
|
52749
53046
|
}
|
|
52750
53047
|
if (columnDefinition.editable) {
|
|
52751
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53048
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx10("input-placeholder") }, inputProps?.placeholder || I18n.t("dataTable.cells.percentCell.placeholder"));
|
|
52752
53049
|
}
|
|
52753
53050
|
}
|
|
52754
53051
|
const internalValue = formatPercentage(value?.toString() ?? "", formatConfig);
|
|
@@ -52758,7 +53055,7 @@ var Renderer7 = ({
|
|
|
52758
53055
|
{
|
|
52759
53056
|
intent: "small",
|
|
52760
53057
|
weight: "semibold",
|
|
52761
|
-
className:
|
|
53058
|
+
className: cx10("tabular-nums")
|
|
52762
53059
|
},
|
|
52763
53060
|
internalValue
|
|
52764
53061
|
);
|
|
@@ -52768,7 +53065,7 @@ var Renderer7 = ({
|
|
|
52768
53065
|
{
|
|
52769
53066
|
...typographyProps,
|
|
52770
53067
|
weight: rowPinned ? "bold" : typographyProps?.weight,
|
|
52771
|
-
className:
|
|
53068
|
+
className: cx10("tabular-nums")
|
|
52772
53069
|
},
|
|
52773
53070
|
internalValue
|
|
52774
53071
|
);
|
|
@@ -52800,7 +53097,7 @@ var Editor4 = React80.forwardRef(
|
|
|
52800
53097
|
Input,
|
|
52801
53098
|
{
|
|
52802
53099
|
placeholder: inputProps?.placeholder || I18n.t("dataTable.cells.percentCell.placeholder"),
|
|
52803
|
-
className:
|
|
53100
|
+
className: cx10("input-cell", "input-cell--right-aligned"),
|
|
52804
53101
|
defaultValue,
|
|
52805
53102
|
onBlur,
|
|
52806
53103
|
ref,
|
|
@@ -52850,7 +53147,7 @@ var Renderer8 = ({
|
|
|
52850
53147
|
);
|
|
52851
53148
|
};
|
|
52852
53149
|
var PersonCellRenderer = withDataTableRenderer(Renderer8, "select");
|
|
52853
|
-
var
|
|
53150
|
+
var cx11 = classnames.bind(styles_default);
|
|
52854
53151
|
var Renderer9 = ({
|
|
52855
53152
|
columnDefinition,
|
|
52856
53153
|
isGroup,
|
|
@@ -52867,7 +53164,7 @@ var Renderer9 = ({
|
|
|
52867
53164
|
return null;
|
|
52868
53165
|
}
|
|
52869
53166
|
if (columnDefinition.editable) {
|
|
52870
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53167
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx11("input-placeholder") }, placeholder || I18n.t("dataTable.cells.pillCell.placeholder", {
|
|
52871
53168
|
label: columnDefinition.headerName
|
|
52872
53169
|
}));
|
|
52873
53170
|
}
|
|
@@ -52877,7 +53174,7 @@ var Renderer9 = ({
|
|
|
52877
53174
|
if ((isGroup || rowPinned && columnDefinition.aggFunc) && !displayAsPill) {
|
|
52878
53175
|
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, weight: "semibold" }, label);
|
|
52879
53176
|
}
|
|
52880
|
-
return /* @__PURE__ */ React80.createElement(Pill, { color: getColor(value), className:
|
|
53177
|
+
return /* @__PURE__ */ React80.createElement(Pill, { color: getColor(value), className: cx11("pill-cell") }, label);
|
|
52881
53178
|
};
|
|
52882
53179
|
var PillCellRenderer = withDataTableRenderer(Renderer9, "select");
|
|
52883
53180
|
var Editor5 = React80.forwardRef(
|
|
@@ -52940,7 +53237,7 @@ var Editor5 = React80.forwardRef(
|
|
|
52940
53237
|
options,
|
|
52941
53238
|
ref,
|
|
52942
53239
|
value,
|
|
52943
|
-
className:
|
|
53240
|
+
className: cx11("input-cell")
|
|
52944
53241
|
}
|
|
52945
53242
|
);
|
|
52946
53243
|
}
|
|
@@ -53013,7 +53310,7 @@ function useSelectOptions(selectOptions, data) {
|
|
|
53013
53310
|
}
|
|
53014
53311
|
|
|
53015
53312
|
// src/CellRenderers/SelectCell.tsx
|
|
53016
|
-
var
|
|
53313
|
+
var cx12 = classnames.bind({ ...styles_default, ...truncation_default });
|
|
53017
53314
|
var Renderer10 = ({
|
|
53018
53315
|
columnDefinition,
|
|
53019
53316
|
isGroup,
|
|
@@ -53027,7 +53324,7 @@ var Renderer10 = ({
|
|
|
53027
53324
|
return null;
|
|
53028
53325
|
}
|
|
53029
53326
|
if (columnDefinition.editable) {
|
|
53030
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53327
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx12("truncatingText") }, placeholder || I18n.t("dataTable.cells.selectCell.placeholder", {
|
|
53031
53328
|
label: columnDefinition.headerName
|
|
53032
53329
|
}));
|
|
53033
53330
|
}
|
|
@@ -53037,14 +53334,14 @@ var Renderer10 = ({
|
|
|
53037
53334
|
return /* @__PURE__ */ React80.createElement(
|
|
53038
53335
|
Typography,
|
|
53039
53336
|
{
|
|
53040
|
-
className:
|
|
53337
|
+
className: cx12("truncatingText"),
|
|
53041
53338
|
...typographyProps,
|
|
53042
53339
|
weight: "semibold"
|
|
53043
53340
|
},
|
|
53044
53341
|
internalValue
|
|
53045
53342
|
);
|
|
53046
53343
|
}
|
|
53047
|
-
return /* @__PURE__ */ React80.createElement(Typography, { className:
|
|
53344
|
+
return /* @__PURE__ */ React80.createElement(Typography, { className: cx12("truncatingText"), ...typographyProps }, internalValue);
|
|
53048
53345
|
};
|
|
53049
53346
|
var SelectCellRenderer = withDataTableRenderer(Renderer10, "select");
|
|
53050
53347
|
var Editor6 = React80.forwardRef(
|
|
@@ -53110,7 +53407,7 @@ var Editor6 = React80.forwardRef(
|
|
|
53110
53407
|
onClear: clearable ? onClear : void 0,
|
|
53111
53408
|
onScrollBottom,
|
|
53112
53409
|
ref,
|
|
53113
|
-
className:
|
|
53410
|
+
className: cx12("input-cell", "truncatingText")
|
|
53114
53411
|
},
|
|
53115
53412
|
(searchResultOptions || options).map((item) => /* @__PURE__ */ React80.createElement(
|
|
53116
53413
|
Select.Option,
|
|
@@ -53125,7 +53422,7 @@ var Editor6 = React80.forwardRef(
|
|
|
53125
53422
|
}
|
|
53126
53423
|
);
|
|
53127
53424
|
var SelectCellEditor2 = withDataTableEditor(Editor6, "select");
|
|
53128
|
-
var
|
|
53425
|
+
var cx13 = classnames.bind({ ...styles_default, ...truncation_default });
|
|
53129
53426
|
var Renderer11 = ({
|
|
53130
53427
|
columnDefinition,
|
|
53131
53428
|
rowHeight,
|
|
@@ -53140,10 +53437,10 @@ var Renderer11 = ({
|
|
|
53140
53437
|
if (isGroup) {
|
|
53141
53438
|
return null;
|
|
53142
53439
|
}
|
|
53143
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53440
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx13("input-placeholder") }, inputProps?.placeholder || I18n.t("dataTable.cells.textCell.placeholder"));
|
|
53144
53441
|
}
|
|
53145
53442
|
const internalValue = columnDefinition.getStringFormattedValue?.(value) ?? value;
|
|
53146
|
-
const className =
|
|
53443
|
+
const className = cx13(
|
|
53147
53444
|
typographyProps?.className,
|
|
53148
53445
|
"textCell",
|
|
53149
53446
|
"truncatingText",
|
|
@@ -53178,7 +53475,7 @@ var Editor7 = React80.forwardRef(
|
|
|
53178
53475
|
return /* @__PURE__ */ React80.createElement(
|
|
53179
53476
|
Input,
|
|
53180
53477
|
{
|
|
53181
|
-
className:
|
|
53478
|
+
className: cx13("input-cell"),
|
|
53182
53479
|
defaultValue: internalValue,
|
|
53183
53480
|
onBlur,
|
|
53184
53481
|
ref,
|
|
@@ -53198,7 +53495,7 @@ var GrandTotalsLabelRenderer = (props) => {
|
|
|
53198
53495
|
}
|
|
53199
53496
|
return null;
|
|
53200
53497
|
};
|
|
53201
|
-
var
|
|
53498
|
+
var cx14 = classnames.bind({ ...styles_default });
|
|
53202
53499
|
var Renderer12 = ({
|
|
53203
53500
|
columnDefinition,
|
|
53204
53501
|
node,
|
|
@@ -53212,7 +53509,7 @@ var Renderer12 = ({
|
|
|
53212
53509
|
if (isGroup) {
|
|
53213
53510
|
return null;
|
|
53214
53511
|
}
|
|
53215
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53512
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx14("input-placeholder") }, textAreaProps?.placeholder || I18n.t("dataTable.cells.textCell.placeholder"));
|
|
53216
53513
|
}
|
|
53217
53514
|
const internalValue = columnDefinition.getStringFormattedValue?.(value) ?? value;
|
|
53218
53515
|
if (isGroup) {
|
|
@@ -53227,7 +53524,7 @@ var Renderer12 = ({
|
|
|
53227
53524
|
node?.footer ? value : internalValue
|
|
53228
53525
|
);
|
|
53229
53526
|
}
|
|
53230
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53527
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx14("textarea-cell", "text") }, internalValue);
|
|
53231
53528
|
};
|
|
53232
53529
|
var Editor8 = React80.forwardRef(
|
|
53233
53530
|
({ columnDefinition, stopEditing, value, textAreaProps }, ref) => {
|
|
@@ -53239,7 +53536,7 @@ var Editor8 = React80.forwardRef(
|
|
|
53239
53536
|
return /* @__PURE__ */ React80.createElement(
|
|
53240
53537
|
TextArea,
|
|
53241
53538
|
{
|
|
53242
|
-
className:
|
|
53539
|
+
className: cx14("textarea-cell", "editor-text"),
|
|
53243
53540
|
defaultValue: internalValue,
|
|
53244
53541
|
onBlur,
|
|
53245
53542
|
ref,
|
|
@@ -53874,8 +54171,23 @@ function useFilterOptions() {
|
|
|
53874
54171
|
}
|
|
53875
54172
|
var NumberFilterRenderer = React80.memo(
|
|
53876
54173
|
function(props) {
|
|
53877
|
-
const
|
|
54174
|
+
const fieldLabel = props["aria-label"];
|
|
53878
54175
|
const I18n = useI18nContext();
|
|
54176
|
+
const minValueAriaLabel = I18n.t("labels.min_value_aria_label", {
|
|
54177
|
+
defaultValue: "%{field} minimum value",
|
|
54178
|
+
field: fieldLabel ?? "",
|
|
54179
|
+
scope
|
|
54180
|
+
}).trim();
|
|
54181
|
+
const maxValueAriaLabel = I18n.t("labels.max_value_aria_label", {
|
|
54182
|
+
defaultValue: "%{field} maximum value",
|
|
54183
|
+
field: fieldLabel ?? "",
|
|
54184
|
+
scope
|
|
54185
|
+
}).trim();
|
|
54186
|
+
const valueAriaLabel = I18n.t("labels.value_aria_label", {
|
|
54187
|
+
defaultValue: "%{field} value",
|
|
54188
|
+
field: fieldLabel ?? "",
|
|
54189
|
+
scope
|
|
54190
|
+
}).trim();
|
|
53879
54191
|
const defaultFilterOptions = useFilterOptions();
|
|
53880
54192
|
const lowerLimitInputRef = React80.useRef(null);
|
|
53881
54193
|
const [localValue, setLocalValue] = React80.useState(
|
|
@@ -53960,7 +54272,7 @@ var NumberFilterRenderer = React80.memo(
|
|
|
53960
54272
|
{
|
|
53961
54273
|
block: true,
|
|
53962
54274
|
label: localLabel,
|
|
53963
|
-
"aria-
|
|
54275
|
+
"aria-label": fieldLabel,
|
|
53964
54276
|
onClear,
|
|
53965
54277
|
onSelect,
|
|
53966
54278
|
placeholder: I18n.t("labels.placeholder", {
|
|
@@ -53992,6 +54304,7 @@ var NumberFilterRenderer = React80.memo(
|
|
|
53992
54304
|
{
|
|
53993
54305
|
ref: lowerLimitInputRef,
|
|
53994
54306
|
type: "number",
|
|
54307
|
+
"aria-label": hasUpperLimitValue ? minValueAriaLabel : valueAriaLabel,
|
|
53995
54308
|
placeholder: I18n.t("labels.input_placeholder", {
|
|
53996
54309
|
defaultValue: "Enter Value",
|
|
53997
54310
|
scope
|
|
@@ -54008,6 +54321,7 @@ var NumberFilterRenderer = React80.memo(
|
|
|
54008
54321
|
Input,
|
|
54009
54322
|
{
|
|
54010
54323
|
type: "number",
|
|
54324
|
+
"aria-label": maxValueAriaLabel,
|
|
54011
54325
|
value: localValue?.filterTo,
|
|
54012
54326
|
onChange: onUpdateUpperLimit
|
|
54013
54327
|
}
|
|
@@ -54192,6 +54506,7 @@ var ServerSideFilter = ({
|
|
|
54192
54506
|
);
|
|
54193
54507
|
return null;
|
|
54194
54508
|
}
|
|
54509
|
+
const filterLabel = typeof filterHeading === "string" ? filterHeading : columnDefinition.headerName;
|
|
54195
54510
|
return /* @__PURE__ */ React80.createElement(
|
|
54196
54511
|
Box,
|
|
54197
54512
|
{
|
|
@@ -54201,7 +54516,7 @@ var ServerSideFilter = ({
|
|
|
54201
54516
|
style: { width: "100%" }
|
|
54202
54517
|
},
|
|
54203
54518
|
filterHeading ? /* @__PURE__ */ React80.createElement(
|
|
54204
|
-
|
|
54519
|
+
Label,
|
|
54205
54520
|
{
|
|
54206
54521
|
"data-qa": `data-table-filter-heading-${fieldName}`,
|
|
54207
54522
|
id: `data-table-filter-heading-${fieldName}`
|
|
@@ -54211,6 +54526,7 @@ var ServerSideFilter = ({
|
|
|
54211
54526
|
/* @__PURE__ */ React80.createElement(
|
|
54212
54527
|
Component4,
|
|
54213
54528
|
{
|
|
54529
|
+
"aria-label": filterLabel,
|
|
54214
54530
|
columnDefinition,
|
|
54215
54531
|
"data-qa": `data-table-filter-input-${fieldName}`,
|
|
54216
54532
|
getOptions,
|
|
@@ -54227,9 +54543,25 @@ var ServerSideFilter = ({
|
|
|
54227
54543
|
var DEBOUNCE_TIME = 300;
|
|
54228
54544
|
function ServerSideNumberFilterRenderer({
|
|
54229
54545
|
value = [],
|
|
54230
|
-
onChange
|
|
54546
|
+
onChange,
|
|
54547
|
+
"aria-label": fieldLabel
|
|
54231
54548
|
}) {
|
|
54232
54549
|
const I18n = useI18nContext();
|
|
54550
|
+
const minValueAriaLabel = I18n.t("labels.min_value_aria_label", {
|
|
54551
|
+
defaultValue: "%{field} minimum value",
|
|
54552
|
+
field: fieldLabel ?? "",
|
|
54553
|
+
scope: "dataTable.filters.numberFilter"
|
|
54554
|
+
}).trim();
|
|
54555
|
+
const maxValueAriaLabel = I18n.t("labels.max_value_aria_label", {
|
|
54556
|
+
defaultValue: "%{field} maximum value",
|
|
54557
|
+
field: fieldLabel ?? "",
|
|
54558
|
+
scope: "dataTable.filters.numberFilter"
|
|
54559
|
+
}).trim();
|
|
54560
|
+
const valueAriaLabel = I18n.t("labels.value_aria_label", {
|
|
54561
|
+
defaultValue: "%{field} value",
|
|
54562
|
+
field: fieldLabel ?? "",
|
|
54563
|
+
scope: "dataTable.filters.numberFilter"
|
|
54564
|
+
}).trim();
|
|
54233
54565
|
const [localFilter, setLocalFilter] = useState(
|
|
54234
54566
|
() => {
|
|
54235
54567
|
return {};
|
|
@@ -54416,6 +54748,7 @@ function ServerSideNumberFilterRenderer({
|
|
|
54416
54748
|
Input,
|
|
54417
54749
|
{
|
|
54418
54750
|
type: "number",
|
|
54751
|
+
"aria-label": valueAriaLabel,
|
|
54419
54752
|
placeholder: I18n.t("labels.input_placeholder", {
|
|
54420
54753
|
defaultValue: "Enter Value",
|
|
54421
54754
|
scope: "dataTable.filters.numberFilter"
|
|
@@ -54427,6 +54760,7 @@ function ServerSideNumberFilterRenderer({
|
|
|
54427
54760
|
Input,
|
|
54428
54761
|
{
|
|
54429
54762
|
type: "number",
|
|
54763
|
+
"aria-label": minValueAriaLabel,
|
|
54430
54764
|
placeholder: I18n.t("labels.input_placeholder", {
|
|
54431
54765
|
defaultValue: "Enter Value",
|
|
54432
54766
|
scope: "dataTable.filters.numberFilter"
|
|
@@ -54441,6 +54775,7 @@ function ServerSideNumberFilterRenderer({
|
|
|
54441
54775
|
Input,
|
|
54442
54776
|
{
|
|
54443
54777
|
type: "number",
|
|
54778
|
+
"aria-label": maxValueAriaLabel,
|
|
54444
54779
|
placeholder: I18n.t("labels.input_placeholder", {
|
|
54445
54780
|
defaultValue: "Enter Value",
|
|
54446
54781
|
scope: "dataTable.filters.numberFilter"
|
|
@@ -54455,7 +54790,8 @@ function ServerSideNumberFilterRenderer({
|
|
|
54455
54790
|
var DEBOUNCE_TIME2 = 300;
|
|
54456
54791
|
function ServerSideMultiNumberFilterRenderer({
|
|
54457
54792
|
value = [],
|
|
54458
|
-
onChange
|
|
54793
|
+
onChange,
|
|
54794
|
+
"aria-label": fieldLabel
|
|
54459
54795
|
}) {
|
|
54460
54796
|
const I18n = useI18nContext();
|
|
54461
54797
|
const [firstFilter, setFirstFilter] = useState(
|
|
@@ -54532,6 +54868,7 @@ function ServerSideMultiNumberFilterRenderer({
|
|
|
54532
54868
|
return /* @__PURE__ */ React80.createElement(Box, { style: { display: "flex", flexDirection: "column", gap: "8px" } }, /* @__PURE__ */ React80.createElement(
|
|
54533
54869
|
ServerSideNumberFilterRenderer,
|
|
54534
54870
|
{
|
|
54871
|
+
"aria-label": fieldLabel,
|
|
54535
54872
|
value: firstFilter.type ? [firstFilter] : [],
|
|
54536
54873
|
onChange: handleFirstFilterChange
|
|
54537
54874
|
}
|
|
@@ -54568,6 +54905,7 @@ function ServerSideMultiNumberFilterRenderer({
|
|
|
54568
54905
|
), /* @__PURE__ */ React80.createElement(
|
|
54569
54906
|
ServerSideNumberFilterRenderer,
|
|
54570
54907
|
{
|
|
54908
|
+
"aria-label": fieldLabel,
|
|
54571
54909
|
value: secondFilter.type ? [secondFilter] : [],
|
|
54572
54910
|
onChange: handleSecondFilterChange
|
|
54573
54911
|
}
|
|
@@ -55715,7 +56053,7 @@ var CellTooltipWrapper = ({
|
|
|
55715
56053
|
/* @__PURE__ */ React80.createElement(Flex, { alignItems: "center", style: { width: "100%" } }, children)
|
|
55716
56054
|
);
|
|
55717
56055
|
};
|
|
55718
|
-
var
|
|
56056
|
+
var cx15 = classNames.bind(styles_exports);
|
|
55719
56057
|
var InlineEditError = React80.forwardRef(function InlineError({ errorMessage }, ref) {
|
|
55720
56058
|
const buttonRef = React80.useRef(null);
|
|
55721
56059
|
React80.useImperativeHandle(ref, () => ({
|
|
@@ -55728,7 +56066,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55728
56066
|
}));
|
|
55729
56067
|
const hasMessage = Array.isArray(errorMessage) ? errorMessage.length > 0 : Boolean(errorMessage);
|
|
55730
56068
|
const overlay = Array.isArray(errorMessage) ? /* @__PURE__ */ React80.createElement(Tooltip.Content, null, errorMessage.map((err) => /* @__PURE__ */ React80.createElement("div", { key: err }, err))) : errorMessage;
|
|
55731
|
-
return /* @__PURE__ */ React80.createElement("div", { className:
|
|
56069
|
+
return /* @__PURE__ */ React80.createElement("div", { className: cx15("cell-error") }, /* @__PURE__ */ React80.createElement(
|
|
55732
56070
|
Tooltip,
|
|
55733
56071
|
{
|
|
55734
56072
|
ref: buttonRef,
|
|
@@ -55738,7 +56076,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55738
56076
|
/* @__PURE__ */ React80.createElement(
|
|
55739
56077
|
Button,
|
|
55740
56078
|
{
|
|
55741
|
-
className:
|
|
56079
|
+
className: cx15("cell-error__button"),
|
|
55742
56080
|
variant: "tertiary",
|
|
55743
56081
|
size: "sm"
|
|
55744
56082
|
},
|
|
@@ -55748,7 +56086,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55748
56086
|
});
|
|
55749
56087
|
|
|
55750
56088
|
// src/CellRenderers/InlineEditWrapper.tsx
|
|
55751
|
-
var
|
|
56089
|
+
var cx16 = classnames.bind({ ...styles_default, ...truncation_default });
|
|
55752
56090
|
function PseudoInlineEditorWrapper({
|
|
55753
56091
|
alwaysShowEditors = false,
|
|
55754
56092
|
rightAligned = false,
|
|
@@ -55765,7 +56103,7 @@ function PseudoInlineEditorWrapper({
|
|
|
55765
56103
|
return /* @__PURE__ */ React80.createElement(
|
|
55766
56104
|
"div",
|
|
55767
56105
|
{
|
|
55768
|
-
className:
|
|
56106
|
+
className: cx16("pseudo-inline-edit-wrapper", {
|
|
55769
56107
|
"inline-wrapper--right-aligned": rightAligned,
|
|
55770
56108
|
"inline-wrapper--with-show-pseudo-editors": alwaysShowEditors
|
|
55771
56109
|
})
|
|
@@ -55773,7 +56111,7 @@ function PseudoInlineEditorWrapper({
|
|
|
55773
56111
|
/* @__PURE__ */ React80.createElement(
|
|
55774
56112
|
"span",
|
|
55775
56113
|
{
|
|
55776
|
-
className:
|
|
56114
|
+
className: cx16("pseudo-inline-edit-content", "truncatingText", {
|
|
55777
56115
|
"pseudo-inline-edit-content--right-aligned": rightAligned,
|
|
55778
56116
|
"pseudo-inline-edit-content--with-arrow": showArrow,
|
|
55779
56117
|
"pseudo-inline-edit-content--with-clear": onClear,
|
|
@@ -55783,10 +56121,10 @@ function PseudoInlineEditorWrapper({
|
|
|
55783
56121
|
...props
|
|
55784
56122
|
},
|
|
55785
56123
|
children,
|
|
55786
|
-
/* @__PURE__ */ React80.createElement("div", { className:
|
|
55787
|
-
hasValue && onClear && /* @__PURE__ */ React80.createElement("div", { className:
|
|
55788
|
-
showArrow && /* @__PURE__ */ React80.createElement("div", { className:
|
|
55789
|
-
showCalendar && /* @__PURE__ */ React80.createElement("div", { className:
|
|
56124
|
+
/* @__PURE__ */ React80.createElement("div", { className: cx16("inline-edit-spacer") }),
|
|
56125
|
+
hasValue && onClear && /* @__PURE__ */ React80.createElement("div", { className: cx16("clear-wrapper") }, /* @__PURE__ */ React80.createElement(Clear, { size: "sm", onMouseDown: onClear })),
|
|
56126
|
+
showArrow && /* @__PURE__ */ React80.createElement("div", { className: cx16("arrow-down-wrapper") }, /* @__PURE__ */ React80.createElement("div", { className: cx16("arrow-down") })),
|
|
56127
|
+
showCalendar && /* @__PURE__ */ React80.createElement("div", { className: cx16("calendar-wrapper") }, /* @__PURE__ */ React80.createElement(Calendar$1, { size: "sm" }))
|
|
55790
56128
|
),
|
|
55791
56129
|
/* @__PURE__ */ React80.createElement(
|
|
55792
56130
|
ValidationOutput,
|
|
@@ -55802,7 +56140,7 @@ var InlineEditorWrapper = React80.forwardRef(function InlineEditorWrapper2({ rig
|
|
|
55802
56140
|
return /* @__PURE__ */ React80.createElement(
|
|
55803
56141
|
"div",
|
|
55804
56142
|
{
|
|
55805
|
-
className:
|
|
56143
|
+
className: cx16("inline-edit-wrapper", {
|
|
55806
56144
|
"inline-wrapper--right-aligned": rightAligned
|
|
55807
56145
|
})
|
|
55808
56146
|
},
|
|
@@ -55830,7 +56168,7 @@ var NonEditorWrapper = React80.forwardRef(function NonEditorWrapper2({
|
|
|
55830
56168
|
return /* @__PURE__ */ React80.createElement(
|
|
55831
56169
|
"div",
|
|
55832
56170
|
{
|
|
55833
|
-
className:
|
|
56171
|
+
className: cx16("inline-nonedit-wrapper", {
|
|
55834
56172
|
"inline-wrapper--right-aligned": rightAligned
|
|
55835
56173
|
})
|
|
55836
56174
|
},
|
|
@@ -55850,7 +56188,7 @@ var NonEditorWrapper = React80.forwardRef(function NonEditorWrapper2({
|
|
|
55850
56188
|
});
|
|
55851
56189
|
var ValidationOutput = React80.forwardRef(function ValidationOutput2({ isRequired, isValid, errorMessage, rowPinned }, ref) {
|
|
55852
56190
|
const showError = !isValid && errorMessage;
|
|
55853
|
-
return /* @__PURE__ */ React80.createElement(React80.Fragment, null, !showError && isRequired && !rowPinned && /* @__PURE__ */ React80.createElement(Required, { className:
|
|
56191
|
+
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 }));
|
|
55854
56192
|
});
|
|
55855
56193
|
|
|
55856
56194
|
// src/CellRenderers/DataTableCell.tsx
|
|
@@ -57361,7 +57699,7 @@ function rowSelectedEnabledForAnyRows(rowSelectionEnabled, columnDefinitions, gr
|
|
|
57361
57699
|
}
|
|
57362
57700
|
|
|
57363
57701
|
// src/CellRenderers/MultiSelectCell.tsx
|
|
57364
|
-
var
|
|
57702
|
+
var cx17 = classnames.bind(peopleCellStyles_default);
|
|
57365
57703
|
var emptyArray = [];
|
|
57366
57704
|
var commaToken = ", ";
|
|
57367
57705
|
function getValue(func, value, fallback) {
|
|
@@ -57400,7 +57738,7 @@ var InternalMultiSelectCellRenderer = ({
|
|
|
57400
57738
|
{
|
|
57401
57739
|
as: "ol",
|
|
57402
57740
|
...typographyProps,
|
|
57403
|
-
className:
|
|
57741
|
+
className: cx17("inlineListItems", "truncatingText", {
|
|
57404
57742
|
"truncatingText--md": rowHeight === rowSize.md,
|
|
57405
57743
|
"truncatingText--lg": rowHeight === rowSize.lg
|
|
57406
57744
|
}),
|
|
@@ -57850,7 +58188,7 @@ var quickControlsStyles_default = {
|
|
|
57850
58188
|
};
|
|
57851
58189
|
|
|
57852
58190
|
// src/QuickControls/ServerSideSearch.tsx
|
|
57853
|
-
var
|
|
58191
|
+
var cx18 = classnames.bind(quickControlsStyles_default);
|
|
57854
58192
|
var DEFAULT_DEBOUNCE_DELAY = 250;
|
|
57855
58193
|
function useSearchStorage() {
|
|
57856
58194
|
const [searchValue, setSearchValue] = React80.useState("");
|
|
@@ -57893,7 +58231,7 @@ var ServerSideSearch = ({
|
|
|
57893
58231
|
{
|
|
57894
58232
|
disabled: hasNoContent || disabled,
|
|
57895
58233
|
value: internalValue,
|
|
57896
|
-
className:
|
|
58234
|
+
className: cx18("search", { "search--empty": !internalValue.length }),
|
|
57897
58235
|
onChange,
|
|
57898
58236
|
placeholder: resolvedPlaceholder,
|
|
57899
58237
|
"aria-label": resolvedPlaceholder
|
|
@@ -77662,15 +78000,15 @@ var Matrix = class _Matrix {
|
|
|
77662
78000
|
const yy = elements[3];
|
|
77663
78001
|
const h_w = bbox.width * 0.5;
|
|
77664
78002
|
const h_h = bbox.height * 0.5;
|
|
77665
|
-
const
|
|
78003
|
+
const cx23 = bbox.x + h_w;
|
|
77666
78004
|
const cy = bbox.y + h_h;
|
|
77667
78005
|
const w = Math.abs(h_w * xx) + Math.abs(h_h * yx);
|
|
77668
78006
|
const h = Math.abs(h_w * xy) + Math.abs(h_h * yy);
|
|
77669
78007
|
if (!target) {
|
|
77670
78008
|
target = new BBox(0, 0, 0, 0);
|
|
77671
78009
|
}
|
|
77672
|
-
target.x =
|
|
77673
|
-
target.y =
|
|
78010
|
+
target.x = cx23 * xx + cy * yx + elements[4] - w;
|
|
78011
|
+
target.y = cx23 * xy + cy * yy + elements[5] - h;
|
|
77674
78012
|
target.width = w + w;
|
|
77675
78013
|
target.height = h + h;
|
|
77676
78014
|
return target;
|
|
@@ -79185,7 +79523,7 @@ var LinearGradient = class extends Gradient {
|
|
|
79185
79523
|
const sin = Math.sin(radians);
|
|
79186
79524
|
const w = bbox.width;
|
|
79187
79525
|
const h = bbox.height;
|
|
79188
|
-
const
|
|
79526
|
+
const cx23 = bbox.x + w * 0.5;
|
|
79189
79527
|
const cy = bbox.y + h * 0.5;
|
|
79190
79528
|
if (w > 0 && h > 0) {
|
|
79191
79529
|
const diagonal = Math.sqrt(h * h + w * w) / 2;
|
|
@@ -79201,7 +79539,7 @@ var LinearGradient = class extends Gradient {
|
|
|
79201
79539
|
quarteredAngle = 2 * Math.PI - radians;
|
|
79202
79540
|
}
|
|
79203
79541
|
const l = diagonal * Math.abs(Math.cos(quarteredAngle - diagonalAngle));
|
|
79204
|
-
const gradient = ctx.createLinearGradient(
|
|
79542
|
+
const gradient = ctx.createLinearGradient(cx23 + cos * l, cy + sin * l, cx23 - cos * l, cy - sin * l);
|
|
79205
79543
|
stops.forEach((stop) => {
|
|
79206
79544
|
gradient.addColorStop(stop.offset, stop.color);
|
|
79207
79545
|
});
|
|
@@ -84440,12 +84778,12 @@ function bezierCoefficients(P1, P2, P3, P4) {
|
|
|
84440
84778
|
// | 1 0 0 0| |P4|
|
|
84441
84779
|
];
|
|
84442
84780
|
}
|
|
84443
|
-
function arcIntersections(
|
|
84781
|
+
function arcIntersections(cx23, cy, r2, startAngle, endAngle, counterClockwise, x1, y1, x2, y2) {
|
|
84444
84782
|
const k = (y2 - y1) / (x2 - x1);
|
|
84445
84783
|
const y0 = y1 - k * x1;
|
|
84446
84784
|
const a = Math.pow(k, 2) + 1;
|
|
84447
|
-
const b = 2 * (k * (y0 - cy) -
|
|
84448
|
-
const c = Math.pow(
|
|
84785
|
+
const b = 2 * (k * (y0 - cy) - cx23);
|
|
84786
|
+
const c = Math.pow(cx23, 2) + Math.pow(y0 - cy, 2) - Math.pow(r2, 2);
|
|
84449
84787
|
const d = Math.pow(b, 2) - 4 * a * c;
|
|
84450
84788
|
if (d < 0) {
|
|
84451
84789
|
return [];
|
|
@@ -84582,12 +84920,12 @@ var Path2D = class {
|
|
|
84582
84920
|
this.commands.push(Command.Arc);
|
|
84583
84921
|
this.params.push(x, y, r2, sAngle, eAngle, antiClockwise ? 1 : 0);
|
|
84584
84922
|
}
|
|
84585
|
-
cubicCurveTo(cx1, cy1,
|
|
84923
|
+
cubicCurveTo(cx1, cy1, cx23, cy2, x, y) {
|
|
84586
84924
|
if (!this.xy) {
|
|
84587
84925
|
this.moveTo(cx1, cy1);
|
|
84588
84926
|
}
|
|
84589
84927
|
this.commands.push(Command.Curve);
|
|
84590
|
-
this.params.push(cx1, cy1,
|
|
84928
|
+
this.params.push(cx1, cy1, cx23, cy2, x, y);
|
|
84591
84929
|
if (this.xy) {
|
|
84592
84930
|
this.xy[0] = x;
|
|
84593
84931
|
this.xy[1] = y;
|
|
@@ -88956,7 +89294,7 @@ var __decorate230 = function(decorators, target, key, desc) {
|
|
|
88956
89294
|
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;
|
|
88957
89295
|
return c > 3 && r2 && Object.defineProperty(target, key, r2), r2;
|
|
88958
89296
|
};
|
|
88959
|
-
var
|
|
89297
|
+
var Label2 = class {
|
|
88960
89298
|
constructor() {
|
|
88961
89299
|
this.enabled = true;
|
|
88962
89300
|
this.fontSize = 12;
|
|
@@ -88971,22 +89309,22 @@ var Label = class {
|
|
|
88971
89309
|
};
|
|
88972
89310
|
__decorate230([
|
|
88973
89311
|
Validate(BOOLEAN)
|
|
88974
|
-
],
|
|
89312
|
+
], Label2.prototype, "enabled", void 0);
|
|
88975
89313
|
__decorate230([
|
|
88976
89314
|
Validate(NUMBER(0))
|
|
88977
|
-
],
|
|
89315
|
+
], Label2.prototype, "fontSize", void 0);
|
|
88978
89316
|
__decorate230([
|
|
88979
89317
|
Validate(STRING)
|
|
88980
|
-
],
|
|
89318
|
+
], Label2.prototype, "fontFamily", void 0);
|
|
88981
89319
|
__decorate230([
|
|
88982
89320
|
Validate(OPT_FONT_STYLE)
|
|
88983
|
-
],
|
|
89321
|
+
], Label2.prototype, "fontStyle", void 0);
|
|
88984
89322
|
__decorate230([
|
|
88985
89323
|
Validate(OPT_FONT_WEIGHT)
|
|
88986
|
-
],
|
|
89324
|
+
], Label2.prototype, "fontWeight", void 0);
|
|
88987
89325
|
__decorate230([
|
|
88988
89326
|
Validate(COLOR_STRING)
|
|
88989
|
-
],
|
|
89327
|
+
], Label2.prototype, "color", void 0);
|
|
88990
89328
|
function calculateLabelRotation(opts) {
|
|
88991
89329
|
const { parallelFlipRotation = 0, regularFlipRotation = 0 } = opts;
|
|
88992
89330
|
const configuredRotation = opts.rotation ? normalizeAngle360(toRadians(opts.rotation)) : 0;
|
|
@@ -90727,7 +91065,7 @@ var PieNodeTag;
|
|
|
90727
91065
|
PieNodeTag2[PieNodeTag2["Callout"] = 1] = "Callout";
|
|
90728
91066
|
PieNodeTag2[PieNodeTag2["Label"] = 2] = "Label";
|
|
90729
91067
|
})(PieNodeTag || (PieNodeTag = {}));
|
|
90730
|
-
var PieSeriesCalloutLabel = class extends
|
|
91068
|
+
var PieSeriesCalloutLabel = class extends Label2 {
|
|
90731
91069
|
constructor() {
|
|
90732
91070
|
super(...arguments);
|
|
90733
91071
|
this.offset = 3;
|
|
@@ -90756,7 +91094,7 @@ __decorate238([
|
|
|
90756
91094
|
__decorate238([
|
|
90757
91095
|
Validate(BOOLEAN)
|
|
90758
91096
|
], PieSeriesCalloutLabel.prototype, "avoidCollisions", void 0);
|
|
90759
|
-
var PieSeriesSectorLabel = class extends
|
|
91097
|
+
var PieSeriesSectorLabel = class extends Label2 {
|
|
90760
91098
|
constructor() {
|
|
90761
91099
|
super(...arguments);
|
|
90762
91100
|
this.positionOffset = 0;
|
|
@@ -90807,7 +91145,7 @@ var PieTitle = class extends Caption {
|
|
|
90807
91145
|
__decorate238([
|
|
90808
91146
|
Validate(BOOLEAN)
|
|
90809
91147
|
], PieTitle.prototype, "showInLegend", void 0);
|
|
90810
|
-
var DoughnutInnerLabel = class extends
|
|
91148
|
+
var DoughnutInnerLabel = class extends Label2 {
|
|
90811
91149
|
constructor() {
|
|
90812
91150
|
super(...arguments);
|
|
90813
91151
|
this.text = "";
|
|
@@ -91360,19 +91698,19 @@ var PieSeries = class extends PolarSeries {
|
|
|
91360
91698
|
const isMoved = label.collisionTextAlign || label.collisionOffsetY !== 0;
|
|
91361
91699
|
if (isMoved && label.box != null) {
|
|
91362
91700
|
const box = label.box;
|
|
91363
|
-
let
|
|
91701
|
+
let cx23 = x2;
|
|
91364
91702
|
let cy = y2;
|
|
91365
91703
|
if (x2 < box.x) {
|
|
91366
|
-
|
|
91704
|
+
cx23 = box.x;
|
|
91367
91705
|
} else if (x2 > box.x + box.width) {
|
|
91368
|
-
|
|
91706
|
+
cx23 = box.x + box.width;
|
|
91369
91707
|
}
|
|
91370
91708
|
if (y2 < box.y) {
|
|
91371
91709
|
cy = box.y;
|
|
91372
91710
|
} else if (y2 > box.y + box.height) {
|
|
91373
91711
|
cy = box.y + box.height;
|
|
91374
91712
|
}
|
|
91375
|
-
const dx =
|
|
91713
|
+
const dx = cx23 - x2;
|
|
91376
91714
|
const dy = cy - y2;
|
|
91377
91715
|
const length = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
|
|
91378
91716
|
const paddedLength = length - offset4;
|
|
@@ -93683,7 +94021,7 @@ var PolarChart = class extends Chart {
|
|
|
93683
94021
|
return shrinkRect;
|
|
93684
94022
|
});
|
|
93685
94023
|
}
|
|
93686
|
-
updateAxes(
|
|
94024
|
+
updateAxes(cx23, cy, radius) {
|
|
93687
94025
|
var _a;
|
|
93688
94026
|
this.axes.forEach((axis) => {
|
|
93689
94027
|
var _a2;
|
|
@@ -93691,11 +94029,11 @@ var PolarChart = class extends Chart {
|
|
|
93691
94029
|
const rotation = toRadians((_a2 = axis.rotation) !== null && _a2 !== void 0 ? _a2 : 0);
|
|
93692
94030
|
axis.range = [-Math.PI / 2 + rotation, 3 * Math.PI / 2 + rotation];
|
|
93693
94031
|
axis.gridLength = radius;
|
|
93694
|
-
axis.translation.x =
|
|
94032
|
+
axis.translation.x = cx23;
|
|
93695
94033
|
axis.translation.y = cy;
|
|
93696
94034
|
} else if (axis.direction === ChartAxisDirection.Y) {
|
|
93697
94035
|
axis.range = [radius, 0];
|
|
93698
|
-
axis.translation.x =
|
|
94036
|
+
axis.translation.x = cx23;
|
|
93699
94037
|
axis.translation.y = cy - radius;
|
|
93700
94038
|
}
|
|
93701
94039
|
axis.updateScale();
|
|
@@ -93720,10 +94058,10 @@ var PolarChart = class extends Chart {
|
|
|
93720
94058
|
const polarAxes = this.axes.filter((axis) => {
|
|
93721
94059
|
return axis instanceof PolarAxis;
|
|
93722
94060
|
});
|
|
93723
|
-
const setSeriesCircle = (
|
|
93724
|
-
this.updateAxes(
|
|
94061
|
+
const setSeriesCircle = (cx23, cy, r2) => {
|
|
94062
|
+
this.updateAxes(cx23, cy, r2);
|
|
93725
94063
|
polarSeries.forEach((series) => {
|
|
93726
|
-
series.centerX =
|
|
94064
|
+
series.centerX = cx23;
|
|
93727
94065
|
series.centerY = cy;
|
|
93728
94066
|
series.radius = r2;
|
|
93729
94067
|
});
|
|
@@ -94914,7 +95252,7 @@ var __awaiter11 = function(thisArg, _arguments, P, generator) {
|
|
|
94914
95252
|
step((generator = generator.apply(thisArg, [])).next());
|
|
94915
95253
|
});
|
|
94916
95254
|
};
|
|
94917
|
-
var AreaSeriesLabel = class extends
|
|
95255
|
+
var AreaSeriesLabel = class extends Label2 {
|
|
94918
95256
|
constructor() {
|
|
94919
95257
|
super(...arguments);
|
|
94920
95258
|
this.formatter = void 0;
|
|
@@ -95956,7 +96294,7 @@ var BarSeriesNodeTag;
|
|
|
95956
96294
|
BarSeriesNodeTag2[BarSeriesNodeTag2["Bar"] = 0] = "Bar";
|
|
95957
96295
|
BarSeriesNodeTag2[BarSeriesNodeTag2["Label"] = 1] = "Label";
|
|
95958
96296
|
})(BarSeriesNodeTag || (BarSeriesNodeTag = {}));
|
|
95959
|
-
var BarSeriesLabel = class extends
|
|
96297
|
+
var BarSeriesLabel = class extends Label2 {
|
|
95960
96298
|
constructor() {
|
|
95961
96299
|
super(...arguments);
|
|
95962
96300
|
this.formatter = void 0;
|
|
@@ -96701,7 +97039,7 @@ var HistogramSeriesNodeTag;
|
|
|
96701
97039
|
HistogramSeriesNodeTag2[HistogramSeriesNodeTag2["Bin"] = 0] = "Bin";
|
|
96702
97040
|
HistogramSeriesNodeTag2[HistogramSeriesNodeTag2["Label"] = 1] = "Label";
|
|
96703
97041
|
})(HistogramSeriesNodeTag || (HistogramSeriesNodeTag = {}));
|
|
96704
|
-
var HistogramSeriesLabel = class extends
|
|
97042
|
+
var HistogramSeriesLabel = class extends Label2 {
|
|
96705
97043
|
constructor() {
|
|
96706
97044
|
super(...arguments);
|
|
96707
97045
|
this.formatter = void 0;
|
|
@@ -97312,7 +97650,7 @@ var __awaiter14 = function(thisArg, _arguments, P, generator) {
|
|
|
97312
97650
|
step((generator = generator.apply(thisArg, [])).next());
|
|
97313
97651
|
});
|
|
97314
97652
|
};
|
|
97315
|
-
var LineSeriesLabel = class extends
|
|
97653
|
+
var LineSeriesLabel = class extends Label2 {
|
|
97316
97654
|
constructor() {
|
|
97317
97655
|
super(...arguments);
|
|
97318
97656
|
this.formatter = void 0;
|
|
@@ -97973,7 +98311,7 @@ var __awaiter15 = function(thisArg, _arguments, P, generator) {
|
|
|
97973
98311
|
step((generator = generator.apply(thisArg, [])).next());
|
|
97974
98312
|
});
|
|
97975
98313
|
};
|
|
97976
|
-
var ScatterSeriesLabel = class extends
|
|
98314
|
+
var ScatterSeriesLabel = class extends Label2 {
|
|
97977
98315
|
constructor() {
|
|
97978
98316
|
super(...arguments);
|
|
97979
98317
|
this.formatter = void 0;
|
|
@@ -98549,7 +98887,7 @@ var TreemapSeriesNodeDoubleClickEvent = class extends TreemapSeriesNodeBaseClick
|
|
|
98549
98887
|
this.type = "nodeDoubleClick";
|
|
98550
98888
|
}
|
|
98551
98889
|
};
|
|
98552
|
-
var TreemapSeriesLabel = class extends
|
|
98890
|
+
var TreemapSeriesLabel = class extends Label2 {
|
|
98553
98891
|
constructor() {
|
|
98554
98892
|
super(...arguments);
|
|
98555
98893
|
this.padding = 10;
|
|
@@ -98558,7 +98896,7 @@ var TreemapSeriesLabel = class extends Label {
|
|
|
98558
98896
|
__decorate255([
|
|
98559
98897
|
Validate(NUMBER(0))
|
|
98560
98898
|
], TreemapSeriesLabel.prototype, "padding", void 0);
|
|
98561
|
-
var TreemapSeriesTileLabel = class extends
|
|
98899
|
+
var TreemapSeriesTileLabel = class extends Label2 {
|
|
98562
98900
|
constructor() {
|
|
98563
98901
|
super(...arguments);
|
|
98564
98902
|
this.wrapping = "on-space";
|
|
@@ -98570,7 +98908,7 @@ __decorate255([
|
|
|
98570
98908
|
var TreemapValueLabel = class {
|
|
98571
98909
|
constructor() {
|
|
98572
98910
|
this.style = (() => {
|
|
98573
|
-
const label = new
|
|
98911
|
+
const label = new Label2();
|
|
98574
98912
|
label.color = "white";
|
|
98575
98913
|
return label;
|
|
98576
98914
|
})();
|
|
@@ -101101,7 +101439,7 @@ __export(integrated_charts_scene_exports, {
|
|
|
101101
101439
|
Group: () => Group,
|
|
101102
101440
|
HdpiCanvas: () => HdpiCanvas,
|
|
101103
101441
|
Image: () => Image,
|
|
101104
|
-
Label: () =>
|
|
101442
|
+
Label: () => Label2,
|
|
101105
101443
|
Line: () => Line,
|
|
101106
101444
|
LinearScale: () => LinearScale,
|
|
101107
101445
|
Marker: () => Marker,
|
|
@@ -102607,7 +102945,7 @@ var LineSparkline = class extends Sparkline {
|
|
|
102607
102945
|
LineSparkline.className = "LineSparkline";
|
|
102608
102946
|
|
|
102609
102947
|
// ../../node_modules/@ag-grid-enterprise/sparklines/dist/esm/es6/sparkline/label/label.mjs
|
|
102610
|
-
var
|
|
102948
|
+
var Label3 = class {
|
|
102611
102949
|
constructor() {
|
|
102612
102950
|
this.enabled = true;
|
|
102613
102951
|
this.fontSize = 8;
|
|
@@ -102632,7 +102970,7 @@ var BarColumnLabelPlacement2;
|
|
|
102632
102970
|
BarColumnLabelPlacement3["Center"] = "center";
|
|
102633
102971
|
BarColumnLabelPlacement3["OutsideEnd"] = "outsideEnd";
|
|
102634
102972
|
})(BarColumnLabelPlacement2 || (BarColumnLabelPlacement2 = {}));
|
|
102635
|
-
var BarColumnLabel = class extends
|
|
102973
|
+
var BarColumnLabel = class extends Label3 {
|
|
102636
102974
|
constructor() {
|
|
102637
102975
|
super(...arguments);
|
|
102638
102976
|
this.formatter = void 0;
|
|
@@ -103355,264 +103693,6 @@ var SparklinesModule = {
|
|
|
103355
103693
|
userComponents: [{ componentName: "agSparklineCellRenderer", componentClass: SparklineCellRenderer }],
|
|
103356
103694
|
dependantModules: [EnterpriseCoreModule]
|
|
103357
103695
|
};
|
|
103358
|
-
var $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (React80).useLayoutEffect : () => {
|
|
103359
|
-
};
|
|
103360
|
-
var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
|
|
103361
|
-
var $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (React80)["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);
|
|
103362
|
-
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
103363
|
-
const ref = (useRef)(null);
|
|
103364
|
-
$8ae05eaa5c114e9c$var$useEarlyEffect(() => {
|
|
103365
|
-
ref.current = fn;
|
|
103366
|
-
}, [
|
|
103367
|
-
fn
|
|
103368
|
-
]);
|
|
103369
|
-
return (useCallback)((...args) => {
|
|
103370
|
-
const f = ref.current;
|
|
103371
|
-
return f === null || f === void 0 ? void 0 : f(...args);
|
|
103372
|
-
}, []);
|
|
103373
|
-
}
|
|
103374
|
-
var $b5e257d569688ac6$var$defaultContext = {
|
|
103375
|
-
prefix: String(Math.round(Math.random() * 1e10)),
|
|
103376
|
-
current: 0
|
|
103377
|
-
};
|
|
103378
|
-
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80).createContext($b5e257d569688ac6$var$defaultContext);
|
|
103379
|
-
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80).createContext(false);
|
|
103380
|
-
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103381
|
-
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
103382
|
-
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
103383
|
-
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103384
|
-
let ref = (useRef)(null);
|
|
103385
|
-
if (ref.current === null && !isDisabled) {
|
|
103386
|
-
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
103387
|
-
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;
|
|
103388
|
-
if (currentOwner) {
|
|
103389
|
-
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
103390
|
-
if (prevComponentValue == null)
|
|
103391
|
-
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
103392
|
-
id: ctx.current,
|
|
103393
|
-
state: currentOwner.memoizedState
|
|
103394
|
-
});
|
|
103395
|
-
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
103396
|
-
ctx.current = prevComponentValue.id;
|
|
103397
|
-
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
103398
|
-
}
|
|
103399
|
-
}
|
|
103400
|
-
ref.current = ++ctx.current;
|
|
103401
|
-
}
|
|
103402
|
-
return ref.current;
|
|
103403
|
-
}
|
|
103404
|
-
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
103405
|
-
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103406
|
-
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.");
|
|
103407
|
-
let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
103408
|
-
let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
|
|
103409
|
-
return defaultId || `${prefix}-${counter2}`;
|
|
103410
|
-
}
|
|
103411
|
-
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
103412
|
-
let id = (React80).useId();
|
|
103413
|
-
let [didSSR] = (useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
103414
|
-
let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
103415
|
-
return defaultId || `${prefix}-${id}`;
|
|
103416
|
-
}
|
|
103417
|
-
var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
103418
|
-
function $b5e257d569688ac6$var$getSnapshot() {
|
|
103419
|
-
return false;
|
|
103420
|
-
}
|
|
103421
|
-
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
103422
|
-
return true;
|
|
103423
|
-
}
|
|
103424
|
-
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
103425
|
-
return () => {
|
|
103426
|
-
};
|
|
103427
|
-
}
|
|
103428
|
-
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
103429
|
-
if (typeof (React80)["useSyncExternalStore"] === "function") return (React80)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
103430
|
-
return (useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
103431
|
-
}
|
|
103432
|
-
|
|
103433
|
-
// ../../node_modules/@react-aria/utils/dist/useId.mjs
|
|
103434
|
-
var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103435
|
-
var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
103436
|
-
var $bdb11010cef70236$var$registry;
|
|
103437
|
-
if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
|
|
103438
|
-
$bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
|
|
103439
|
-
});
|
|
103440
|
-
function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
|
|
103441
|
-
let [value, setValue] = (useState)(defaultId);
|
|
103442
|
-
let nextId = (useRef)(null);
|
|
103443
|
-
let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
|
|
103444
|
-
let cleanupRef = (useRef)(null);
|
|
103445
|
-
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
|
|
103446
|
-
if ($bdb11010cef70236$var$canUseDOM) {
|
|
103447
|
-
const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
|
|
103448
|
-
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
103449
|
-
else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
|
|
103450
|
-
nextId
|
|
103451
|
-
]);
|
|
103452
|
-
}
|
|
103453
|
-
($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
|
|
103454
|
-
let r2 = res;
|
|
103455
|
-
return () => {
|
|
103456
|
-
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
|
|
103457
|
-
$bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
|
|
103458
|
-
};
|
|
103459
|
-
}, [
|
|
103460
|
-
res
|
|
103461
|
-
]);
|
|
103462
|
-
(useEffect)(() => {
|
|
103463
|
-
let newId = nextId.current;
|
|
103464
|
-
if (newId) setValue(newId);
|
|
103465
|
-
return () => {
|
|
103466
|
-
if (newId) nextId.current = null;
|
|
103467
|
-
};
|
|
103468
|
-
});
|
|
103469
|
-
return res;
|
|
103470
|
-
}
|
|
103471
|
-
function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
|
|
103472
|
-
if (idA === idB) return idA;
|
|
103473
|
-
let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
|
|
103474
|
-
if (setIdsA) {
|
|
103475
|
-
setIdsA.forEach((ref) => ref.current = idB);
|
|
103476
|
-
return idB;
|
|
103477
|
-
}
|
|
103478
|
-
let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);
|
|
103479
|
-
if (setIdsB) {
|
|
103480
|
-
setIdsB.forEach((ref) => ref.current = idA);
|
|
103481
|
-
return idA;
|
|
103482
|
-
}
|
|
103483
|
-
return idB;
|
|
103484
|
-
}
|
|
103485
|
-
|
|
103486
|
-
// ../../node_modules/@react-aria/utils/dist/chain.mjs
|
|
103487
|
-
function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
|
|
103488
|
-
return (...args) => {
|
|
103489
|
-
for (let callback of callbacks) if (typeof callback === "function") callback(...args);
|
|
103490
|
-
};
|
|
103491
|
-
}
|
|
103492
|
-
|
|
103493
|
-
// ../../node_modules/@react-aria/utils/dist/domHelpers.mjs
|
|
103494
|
-
var $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
103495
|
-
var _el_ownerDocument;
|
|
103496
|
-
return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
|
|
103497
|
-
};
|
|
103498
|
-
function $431fbd86ca7dc216$var$isNode(value) {
|
|
103499
|
-
return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
|
|
103500
|
-
}
|
|
103501
|
-
function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
|
|
103502
|
-
return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
|
|
103503
|
-
}
|
|
103504
|
-
|
|
103505
|
-
// ../../node_modules/@react-stately/flags/dist/import.mjs
|
|
103506
|
-
var $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
103507
|
-
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
103508
|
-
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
103509
|
-
}
|
|
103510
|
-
|
|
103511
|
-
// ../../node_modules/@react-aria/utils/dist/DOMFunctions.mjs
|
|
103512
|
-
function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
|
|
103513
|
-
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return otherNode && node ? node.contains(otherNode) : false;
|
|
103514
|
-
if (!node || !otherNode) return false;
|
|
103515
|
-
let currentNode = otherNode;
|
|
103516
|
-
while (currentNode !== null) {
|
|
103517
|
-
if (currentNode === node) return true;
|
|
103518
|
-
if (currentNode.tagName === "SLOT" && currentNode.assignedSlot)
|
|
103519
|
-
currentNode = currentNode.assignedSlot.parentNode;
|
|
103520
|
-
else if (($431fbd86ca7dc216$export$af51f0f06c0f328a)(currentNode))
|
|
103521
|
-
currentNode = currentNode.host;
|
|
103522
|
-
else currentNode = currentNode.parentNode;
|
|
103523
|
-
}
|
|
103524
|
-
return false;
|
|
103525
|
-
}
|
|
103526
|
-
var $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
|
|
103527
|
-
var _activeElement_shadowRoot;
|
|
103528
|
-
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return doc.activeElement;
|
|
103529
|
-
let activeElement = doc.activeElement;
|
|
103530
|
-
while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
|
|
103531
|
-
return activeElement;
|
|
103532
|
-
};
|
|
103533
|
-
function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
|
|
103534
|
-
if (($f4e2df6bd15f8569$export$98658e8c59125e6a)() && event.target.shadowRoot) {
|
|
103535
|
-
if (event.composedPath) return event.composedPath()[0];
|
|
103536
|
-
}
|
|
103537
|
-
return event.target;
|
|
103538
|
-
}
|
|
103539
|
-
|
|
103540
|
-
// ../../node_modules/clsx/dist/clsx.mjs
|
|
103541
|
-
function r(e) {
|
|
103542
|
-
var t, f, n = "";
|
|
103543
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
103544
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
103545
|
-
var o = e.length;
|
|
103546
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
103547
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
103548
|
-
return n;
|
|
103549
|
-
}
|
|
103550
|
-
function clsx() {
|
|
103551
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
103552
|
-
return n;
|
|
103553
|
-
}
|
|
103554
|
-
var clsx_default = clsx;
|
|
103555
|
-
|
|
103556
|
-
// ../../node_modules/@react-aria/utils/dist/mergeProps.mjs
|
|
103557
|
-
function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
|
|
103558
|
-
let result = {
|
|
103559
|
-
...args[0]
|
|
103560
|
-
};
|
|
103561
|
-
for (let i = 1; i < args.length; i++) {
|
|
103562
|
-
let props = args[i];
|
|
103563
|
-
for (let key in props) {
|
|
103564
|
-
let a = result[key];
|
|
103565
|
-
let b = props[key];
|
|
103566
|
-
if (typeof a === "function" && typeof b === "function" && // This is a lot faster than a regex.
|
|
103567
|
-
key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= /* 'A' */
|
|
103568
|
-
65 && key.charCodeAt(2) <= /* 'Z' */
|
|
103569
|
-
90) result[key] = ($ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);
|
|
103570
|
-
else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = (clsx_default)(a, b);
|
|
103571
|
-
else if (key === "id" && a && b) result.id = ($bdb11010cef70236$export$cd8c9cb68f842629)(a, b);
|
|
103572
|
-
else result[key] = b !== void 0 ? b : a;
|
|
103573
|
-
}
|
|
103574
|
-
}
|
|
103575
|
-
return result;
|
|
103576
|
-
}
|
|
103577
|
-
function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
103578
|
-
let globalListeners = (useRef)(/* @__PURE__ */ new Map());
|
|
103579
|
-
let addGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
103580
|
-
let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
|
|
103581
|
-
globalListeners.current.delete(listener);
|
|
103582
|
-
listener(...args);
|
|
103583
|
-
} : listener;
|
|
103584
|
-
globalListeners.current.set(listener, {
|
|
103585
|
-
type,
|
|
103586
|
-
eventTarget,
|
|
103587
|
-
fn,
|
|
103588
|
-
options
|
|
103589
|
-
});
|
|
103590
|
-
eventTarget.addEventListener(type, fn, options);
|
|
103591
|
-
}, []);
|
|
103592
|
-
let removeGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
103593
|
-
var _globalListeners_current_get;
|
|
103594
|
-
let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
|
|
103595
|
-
eventTarget.removeEventListener(type, fn, options);
|
|
103596
|
-
globalListeners.current.delete(listener);
|
|
103597
|
-
}, []);
|
|
103598
|
-
let removeAllGlobalListeners = (useCallback)(() => {
|
|
103599
|
-
globalListeners.current.forEach((value, key) => {
|
|
103600
|
-
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
103601
|
-
});
|
|
103602
|
-
}, [
|
|
103603
|
-
removeGlobalListener
|
|
103604
|
-
]);
|
|
103605
|
-
(useEffect)(() => {
|
|
103606
|
-
return removeAllGlobalListeners;
|
|
103607
|
-
}, [
|
|
103608
|
-
removeAllGlobalListeners
|
|
103609
|
-
]);
|
|
103610
|
-
return {
|
|
103611
|
-
addGlobalListener,
|
|
103612
|
-
removeGlobalListener,
|
|
103613
|
-
removeAllGlobalListeners
|
|
103614
|
-
};
|
|
103615
|
-
}
|
|
103616
103696
|
function $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent) {
|
|
103617
103697
|
let event = nativeEvent;
|
|
103618
103698
|
event.nativeEvent = nativeEvent;
|
|
@@ -104531,7 +104611,7 @@ var configurationStyles_default = {
|
|
|
104531
104611
|
};
|
|
104532
104612
|
|
|
104533
104613
|
// src/Panels/Configuration.tsx
|
|
104534
|
-
var
|
|
104614
|
+
var cx19 = classnames.bind(configurationStyles_default);
|
|
104535
104615
|
var DELIMITER = "$$";
|
|
104536
104616
|
function isColGroupDef3(col) {
|
|
104537
104617
|
return col?.children !== void 0;
|
|
@@ -104723,7 +104803,7 @@ var ConfigurationColumns = React80.forwardRef(
|
|
|
104723
104803
|
Flex,
|
|
104724
104804
|
{
|
|
104725
104805
|
alignItems: "center",
|
|
104726
|
-
className:
|
|
104806
|
+
className: cx19("column-controls"),
|
|
104727
104807
|
key: column2.field || column2.groupId,
|
|
104728
104808
|
marginTop: "xs",
|
|
104729
104809
|
padding: "sm",
|
|
@@ -104759,7 +104839,7 @@ var ConfigurationPanel = ({
|
|
|
104759
104839
|
const I18n = useI18nContext();
|
|
104760
104840
|
const configurationColumnsRef = React80.useRef();
|
|
104761
104841
|
const [isAllColumnsVisible, setIsAllColumnsVisible] = React80.useState(false);
|
|
104762
|
-
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:
|
|
104842
|
+
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(
|
|
104763
104843
|
Panel.Section,
|
|
104764
104844
|
{
|
|
104765
104845
|
"data-qa": "data-table-config-panel-section-row-height",
|
|
@@ -105333,6 +105413,7 @@ var de_DE_default = {
|
|
|
105333
105413
|
},
|
|
105334
105414
|
filterRenders: {
|
|
105335
105415
|
dateFilter: {
|
|
105416
|
+
invalidDate: "Geben Sie ein g\xFCltiges Datum ein.",
|
|
105336
105417
|
single: "Einzeln",
|
|
105337
105418
|
range: "Bereich"
|
|
105338
105419
|
}
|
|
@@ -105514,6 +105595,7 @@ var en_AU_default = {
|
|
|
105514
105595
|
},
|
|
105515
105596
|
filterRenders: {
|
|
105516
105597
|
dateFilter: {
|
|
105598
|
+
invalidDate: "Enter a valid date.",
|
|
105517
105599
|
single: "Single",
|
|
105518
105600
|
range: "Range"
|
|
105519
105601
|
}
|
|
@@ -105695,6 +105777,7 @@ var en_CA_default = {
|
|
|
105695
105777
|
},
|
|
105696
105778
|
filterRenders: {
|
|
105697
105779
|
dateFilter: {
|
|
105780
|
+
invalidDate: "Enter a valid date.",
|
|
105698
105781
|
single: "Single",
|
|
105699
105782
|
range: "Range"
|
|
105700
105783
|
}
|
|
@@ -105876,6 +105959,7 @@ var en_GB_default = {
|
|
|
105876
105959
|
},
|
|
105877
105960
|
filterRenders: {
|
|
105878
105961
|
dateFilter: {
|
|
105962
|
+
invalidDate: "Enter a valid date.",
|
|
105879
105963
|
single: "Single",
|
|
105880
105964
|
range: "Range"
|
|
105881
105965
|
}
|
|
@@ -105947,7 +106031,10 @@ var en_default = {
|
|
|
105947
106031
|
labels: {
|
|
105948
106032
|
and: "and",
|
|
105949
106033
|
input_placeholder: "Enter Value",
|
|
105950
|
-
|
|
106034
|
+
max_value_aria_label: "%{field} maximum value",
|
|
106035
|
+
min_value_aria_label: "%{field} minimum value",
|
|
106036
|
+
placeholder: "Select an item",
|
|
106037
|
+
value_aria_label: "%{field} value"
|
|
105951
106038
|
},
|
|
105952
106039
|
options: {
|
|
105953
106040
|
any_value: "Any Value",
|
|
@@ -106057,6 +106144,7 @@ var en_default = {
|
|
|
106057
106144
|
},
|
|
106058
106145
|
filterRenders: {
|
|
106059
106146
|
dateFilter: {
|
|
106147
|
+
invalidDate: "Enter a valid date.",
|
|
106060
106148
|
single: "Single",
|
|
106061
106149
|
range: "Range"
|
|
106062
106150
|
}
|
|
@@ -106238,6 +106326,7 @@ var es_ES_default = {
|
|
|
106238
106326
|
},
|
|
106239
106327
|
filterRenders: {
|
|
106240
106328
|
dateFilter: {
|
|
106329
|
+
invalidDate: "Introduzca una fecha v\xE1lida.",
|
|
106241
106330
|
single: "\xDAnica",
|
|
106242
106331
|
range: "Rango"
|
|
106243
106332
|
}
|
|
@@ -106348,7 +106437,7 @@ var es_default = {
|
|
|
106348
106437
|
sortCleared: "Ordenamiento borrado"
|
|
106349
106438
|
},
|
|
106350
106439
|
expandAllGroups: "Expandir todos los grupos",
|
|
106351
|
-
collapseAllGroups: "
|
|
106440
|
+
collapseAllGroups: "Contraer todos los grupos",
|
|
106352
106441
|
pinColumn: "Anclar columna",
|
|
106353
106442
|
pinLeft: "Anclar a la izquierda",
|
|
106354
106443
|
pinRight: "Anclar a la derecha",
|
|
@@ -106419,13 +106508,14 @@ var es_default = {
|
|
|
106419
106508
|
},
|
|
106420
106509
|
filterRenders: {
|
|
106421
106510
|
dateFilter: {
|
|
106511
|
+
invalidDate: "Ingrese una fecha v\xE1lida.",
|
|
106422
106512
|
single: "\xDAnico",
|
|
106423
106513
|
range: "Intervalo"
|
|
106424
106514
|
}
|
|
106425
106515
|
},
|
|
106426
106516
|
groupCell: {
|
|
106427
106517
|
expand: "Expandir grupo",
|
|
106428
|
-
collapse: "
|
|
106518
|
+
collapse: "Contraer grupo"
|
|
106429
106519
|
},
|
|
106430
106520
|
rowCheckbox: {
|
|
106431
106521
|
ariaLabel: "Seleccionar fila"
|
|
@@ -106600,6 +106690,7 @@ var fr_CA_default = {
|
|
|
106600
106690
|
},
|
|
106601
106691
|
filterRenders: {
|
|
106602
106692
|
dateFilter: {
|
|
106693
|
+
invalidDate: "Saisissez une date valide.",
|
|
106603
106694
|
single: "Unique",
|
|
106604
106695
|
range: "Intervalle"
|
|
106605
106696
|
}
|
|
@@ -106627,7 +106718,7 @@ var fr_FR_default = {
|
|
|
106627
106718
|
description: "Une fois que votre \xE9quipe a cr\xE9\xE9 ces \xE9l\xE9ments, vous pouvez y acc\xE9der ici. ",
|
|
106628
106719
|
title: "Aucun \xE9l\xE9ment \xE0 afficher pour l'instant",
|
|
106629
106720
|
itemsTitle: "Aucun %{itemsLabel} \xE0 afficher pour l'instant",
|
|
106630
|
-
tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au
|
|
106721
|
+
tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
106631
106722
|
searchTooltip: "La recherche sera activ\xE9e une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
106632
106723
|
featureFilter: "Filtrer",
|
|
106633
106724
|
featureQuickFilter: "Filtre rapide",
|
|
@@ -106781,6 +106872,7 @@ var fr_FR_default = {
|
|
|
106781
106872
|
},
|
|
106782
106873
|
filterRenders: {
|
|
106783
106874
|
dateFilter: {
|
|
106875
|
+
invalidDate: "Veuillez saisir une date valide.",
|
|
106784
106876
|
single: "Unique",
|
|
106785
106877
|
range: "Plage"
|
|
106786
106878
|
}
|
|
@@ -106962,6 +107054,7 @@ var is_IS_default = {
|
|
|
106962
107054
|
},
|
|
106963
107055
|
filterRenders: {
|
|
106964
107056
|
dateFilter: {
|
|
107057
|
+
invalidDate: "Sl\xE1\xF0u inn gilda dagsetningu.",
|
|
106965
107058
|
single: "Einhleypur",
|
|
106966
107059
|
range: "Svi\xF0"
|
|
106967
107060
|
}
|
|
@@ -106989,8 +107082,8 @@ var it_IT_default = {
|
|
|
106989
107082
|
description: "Gli elementi creati dal team saranno accessibili qui. ",
|
|
106990
107083
|
title: "Al momento non sono presenti elementi da visualizzare",
|
|
106991
107084
|
itemsTitle: "Al momento non sono presenti %{itemsLabel} da visualizzare",
|
|
106992
|
-
tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni
|
|
106993
|
-
searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni
|
|
107085
|
+
tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni alla %{tableName}",
|
|
107086
|
+
searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni alla %{tableName}",
|
|
106994
107087
|
featureFilter: "Filtro",
|
|
106995
107088
|
featureQuickFilter: "Filtro rapido",
|
|
106996
107089
|
featureGroupBy: "Raggruppa per",
|
|
@@ -107143,6 +107236,7 @@ var it_IT_default = {
|
|
|
107143
107236
|
},
|
|
107144
107237
|
filterRenders: {
|
|
107145
107238
|
dateFilter: {
|
|
107239
|
+
invalidDate: "Inserire una data valida.",
|
|
107146
107240
|
single: "Singolo",
|
|
107147
107241
|
range: "Intervallo"
|
|
107148
107242
|
}
|
|
@@ -107324,6 +107418,7 @@ var ja_JP_default = {
|
|
|
107324
107418
|
},
|
|
107325
107419
|
filterRenders: {
|
|
107326
107420
|
dateFilter: {
|
|
107421
|
+
invalidDate: "\u6709\u52B9\u306A\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
107327
107422
|
single: "\u5358\u72EC",
|
|
107328
107423
|
range: "\u7BC4\u56F2"
|
|
107329
107424
|
}
|
|
@@ -107344,12 +107439,12 @@ var nb_NO_default = {
|
|
|
107344
107439
|
emptyState: {
|
|
107345
107440
|
noFilteredResults: {
|
|
107346
107441
|
description: "Sjekk stavem\xE5ten og filteralternativene dine, eller s\xF8k etter et annet n\xF8kkelord.",
|
|
107347
|
-
title: "Ingen
|
|
107442
|
+
title: "Ingen enheter samsvarer med s\xF8ket ditt",
|
|
107348
107443
|
itemsTitle: "Ingen %{itemsLabel} samsvarer med s\xF8ket ditt"
|
|
107349
107444
|
},
|
|
107350
107445
|
noResults: {
|
|
107351
|
-
description: "N\xE5r teamet ditt har opprettet disse
|
|
107352
|
-
title: "Det er ingen
|
|
107446
|
+
description: "N\xE5r teamet ditt har opprettet disse enhetene, kan du f\xE5 tilgang til dem her. ",
|
|
107447
|
+
title: "Det er ingen enheter \xE5 vise akkurat n\xE5",
|
|
107353
107448
|
itemsTitle: "Det er ingen %{itemsLabel} \xE5 vise akkurat n\xE5",
|
|
107354
107449
|
tooltip: "%{featureName} -knappen vil bli aktivert n\xE5r du legger til informasjon i %{tableName}",
|
|
107355
107450
|
searchTooltip: "S\xF8k vil bli aktivert n\xE5r du legger til informasjon i %{tableName}",
|
|
@@ -107357,7 +107452,7 @@ var nb_NO_default = {
|
|
|
107357
107452
|
featureQuickFilter: "Hurtigfilter",
|
|
107358
107453
|
featureGroupBy: "Grupper etter",
|
|
107359
107454
|
featureConfigure: "Konfigurer",
|
|
107360
|
-
tableNameFallback: "
|
|
107455
|
+
tableNameFallback: "tabell"
|
|
107361
107456
|
}
|
|
107362
107457
|
},
|
|
107363
107458
|
bulkActions: {
|
|
@@ -107365,17 +107460,17 @@ var nb_NO_default = {
|
|
|
107365
107460
|
bulkEdit: "Masseendring",
|
|
107366
107461
|
cancel: "Avbryt",
|
|
107367
107462
|
editValues: "Rediger verdier",
|
|
107368
|
-
error: "Beklager,
|
|
107463
|
+
error: "Beklager, enhetene kunsne ikke oppdateres. Pr\xF8v igjen.",
|
|
107369
107464
|
placeholderForField: "Skriv inn %{fieldName}",
|
|
107370
107465
|
selection: "%{count} %{number} valgt",
|
|
107371
107466
|
selection_count: {
|
|
107372
|
-
zero: "%{count}
|
|
107373
|
-
one: "%{count}
|
|
107374
|
-
other: "%{count}
|
|
107467
|
+
zero: "%{count} enheter valgt",
|
|
107468
|
+
one: "%{count} enhet valgt",
|
|
107469
|
+
other: "%{count} enheter valgt"
|
|
107375
107470
|
},
|
|
107376
|
-
success: "
|
|
107377
|
-
one: "
|
|
107378
|
-
many: "
|
|
107471
|
+
success: "Enhetene ble oppdatert.",
|
|
107472
|
+
one: "enhet",
|
|
107473
|
+
many: "enheter"
|
|
107379
107474
|
},
|
|
107380
107475
|
exporting: "Eksporterer...",
|
|
107381
107476
|
filters: {
|
|
@@ -107388,14 +107483,14 @@ var nb_NO_default = {
|
|
|
107388
107483
|
locationFilter: {
|
|
107389
107484
|
selectAll: "Velg alle",
|
|
107390
107485
|
includeSublocations: "Inkluder underlokasjoner",
|
|
107391
|
-
searchLocations: "S\xF8k etter
|
|
107392
|
-
locations: "
|
|
107486
|
+
searchLocations: "S\xF8k etter lokasjoner",
|
|
107487
|
+
locations: "Lokasjoner"
|
|
107393
107488
|
},
|
|
107394
107489
|
numberFilter: {
|
|
107395
107490
|
labels: {
|
|
107396
107491
|
and: "og",
|
|
107397
|
-
input_placeholder: "
|
|
107398
|
-
placeholder: "Velg
|
|
107492
|
+
input_placeholder: "Skriv inn verdi",
|
|
107493
|
+
placeholder: "Velg en enhet"
|
|
107399
107494
|
},
|
|
107400
107495
|
options: {
|
|
107401
107496
|
any_value: "Enhver verdi",
|
|
@@ -107433,20 +107528,20 @@ var nb_NO_default = {
|
|
|
107433
107528
|
sortDescending: "sortert synkende",
|
|
107434
107529
|
sortCleared: "Sortering fjernet"
|
|
107435
107530
|
},
|
|
107436
|
-
expandAllGroups: "
|
|
107531
|
+
expandAllGroups: "Vis alle grupper",
|
|
107437
107532
|
collapseAllGroups: "Skjul alle grupper",
|
|
107438
107533
|
pinColumn: "Fest kolonne",
|
|
107439
107534
|
pinLeft: "Fest til venstre",
|
|
107440
107535
|
pinRight: "Fest til h\xF8yre",
|
|
107441
|
-
noPin: "
|
|
107536
|
+
noPin: "Ikke festet",
|
|
107442
107537
|
autoSizeThisColumn: "Tilpass kolonnebredden automatisk",
|
|
107443
|
-
autoSizeAllColumns: "Tilpass alle
|
|
107538
|
+
autoSizeAllColumns: "Tilpass alle kolonnebredder automatisk",
|
|
107444
107539
|
hideColumn: "Skjul kolonne",
|
|
107445
107540
|
resetColumns: "Tilbakestill kolonner",
|
|
107446
107541
|
unGroupBy: "Fjern gruppering etter {{label}}",
|
|
107447
107542
|
groupBy: "Grupper etter {{label}}"
|
|
107448
107543
|
},
|
|
107449
|
-
grandTotals: "
|
|
107544
|
+
grandTotals: "Totalsummer",
|
|
107450
107545
|
search: "S\xF8k",
|
|
107451
107546
|
subtotals: "Delsummer",
|
|
107452
107547
|
tableSettings: {
|
|
@@ -107456,7 +107551,7 @@ var nb_NO_default = {
|
|
|
107456
107551
|
small: "Liten",
|
|
107457
107552
|
medium: "Middels",
|
|
107458
107553
|
large: "Stor",
|
|
107459
|
-
tableSettings: "
|
|
107554
|
+
tableSettings: "Innstillinger for tabell",
|
|
107460
107555
|
groupBy: "Grupper etter:",
|
|
107461
107556
|
reset: "Tilbakestill",
|
|
107462
107557
|
selectColumnGroup: "Velg en kolonne \xE5 gruppere",
|
|
@@ -107469,14 +107564,14 @@ var nb_NO_default = {
|
|
|
107469
107564
|
},
|
|
107470
107565
|
columnGroupToggle: {
|
|
107471
107566
|
collapse: "Skjul kolonnegruppe",
|
|
107472
|
-
expand: "
|
|
107567
|
+
expand: "Vis kolonnegruppe"
|
|
107473
107568
|
},
|
|
107474
107569
|
cells: {
|
|
107475
107570
|
textCell: {
|
|
107476
107571
|
placeholder: "Skriv inn tekst"
|
|
107477
107572
|
},
|
|
107478
107573
|
currencyCell: {
|
|
107479
|
-
placeholder: "
|
|
107574
|
+
placeholder: "Skriv inn valuta"
|
|
107480
107575
|
},
|
|
107481
107576
|
linkCell: {
|
|
107482
107577
|
externalLabel: "\xC5pne ekstern kobling"
|
|
@@ -107505,12 +107600,13 @@ var nb_NO_default = {
|
|
|
107505
107600
|
},
|
|
107506
107601
|
filterRenders: {
|
|
107507
107602
|
dateFilter: {
|
|
107603
|
+
invalidDate: "Skriv inn en gyldig dato.",
|
|
107508
107604
|
single: "Enslig",
|
|
107509
107605
|
range: "Rekkevidde"
|
|
107510
107606
|
}
|
|
107511
107607
|
},
|
|
107512
107608
|
groupCell: {
|
|
107513
|
-
expand: "
|
|
107609
|
+
expand: "Vis gruppe",
|
|
107514
107610
|
collapse: "Skjul gruppe"
|
|
107515
107611
|
},
|
|
107516
107612
|
rowCheckbox: {
|
|
@@ -107533,7 +107629,7 @@ var pl_PL_default = {
|
|
|
107533
107629
|
title: "Obecnie nie ma pozycji do wy\u015Bwietlenia",
|
|
107534
107630
|
itemsTitle: "Obecnie nie ma %{itemsLabel} do wy\u015Bwietlenia",
|
|
107535
107631
|
tooltip: "Przycisk: %{featureName} zostanie w\u0142\u0105czony, gdy dodasz informacje do: %{tableName}",
|
|
107536
|
-
searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do %{tableName}",
|
|
107632
|
+
searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do: %{tableName}",
|
|
107537
107633
|
featureFilter: "Filtruj",
|
|
107538
107634
|
featureQuickFilter: "Szybki filtr",
|
|
107539
107635
|
featureGroupBy: "Grupuj wed\u0142ug",
|
|
@@ -107686,6 +107782,7 @@ var pl_PL_default = {
|
|
|
107686
107782
|
},
|
|
107687
107783
|
filterRenders: {
|
|
107688
107784
|
dateFilter: {
|
|
107785
|
+
invalidDate: "Wprowad\u017A prawid\u0142ow\u0105 dat\u0119.",
|
|
107689
107786
|
single: "Pojedyncze",
|
|
107690
107787
|
range: "Zakres"
|
|
107691
107788
|
}
|
|
@@ -107757,7 +107854,10 @@ var pseudo_default = {
|
|
|
107757
107854
|
labels: {
|
|
107758
107855
|
and: "[\u0227\u019E\u1E13]",
|
|
107759
107856
|
input_placeholder: "[\u1E16\u1E16\u1E16\u019E\u0167\u1E17\u0159 \xB7 \u1E7C\u0227\u0140\u016D\u1E17\u1E17\u1E17]",
|
|
107760
|
-
|
|
107857
|
+
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]",
|
|
107858
|
+
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]",
|
|
107859
|
+
placeholder: "[\u015E\u015E\u015E\u1E17\u0140\u1E17\u0188\u0167 \xB7 \u0227\u019E \xB7 \u012B\u0167\u1E17\u1E3F\u1E3F\u1E3F]",
|
|
107860
|
+
value_aria_label: "[[NOTRANSLATE]%{field}[/NOTRANSLATE] \xB7 \xB7 \u1E7D\u0227\u0140\u016D\u1E17\u1E17]"
|
|
107761
107861
|
},
|
|
107762
107862
|
options: {
|
|
107763
107863
|
any_value: "[\u0226\u0226\u019E\u1E8F \xB7 \u1E7C\u0227\u0140\u016D\u1E17\u1E17]",
|
|
@@ -107867,6 +107967,7 @@ var pseudo_default = {
|
|
|
107867
107967
|
},
|
|
107868
107968
|
filterRenders: {
|
|
107869
107969
|
dateFilter: {
|
|
107970
|
+
invalidDate: "[\u1E16\u1E16\u1E16\u1E16\u019E\u0167\u1E17\u0159 \xB7 \u0227 \xB7 \u1E7D\u0227\u0140\u012B\u1E13 \xB7 \u1E13\u0227\u0167\u1E17....]",
|
|
107870
107971
|
single: "[\u015E\u015E\u012B\u019E\u0260\u0140\u1E17\u1E17]",
|
|
107871
107972
|
range: "[\u0158\u0227\u019E\u0260\u1E17]"
|
|
107872
107973
|
}
|
|
@@ -108048,6 +108149,7 @@ var pt_BR_default = {
|
|
|
108048
108149
|
},
|
|
108049
108150
|
filterRenders: {
|
|
108050
108151
|
dateFilter: {
|
|
108152
|
+
invalidDate: "Insira uma data v\xE1lida.",
|
|
108051
108153
|
single: "\xDAnico",
|
|
108052
108154
|
range: "Intervalo"
|
|
108053
108155
|
}
|
|
@@ -108076,7 +108178,7 @@ var pt_PT_default = {
|
|
|
108076
108178
|
title: "N\xE3o h\xE1 itens para apresentar neste momento",
|
|
108077
108179
|
itemsTitle: "N\xE3o h\xE1 %{itemsLabel} para apresentar neste momento",
|
|
108078
108180
|
tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado quando adicionar informa\xE7\xF5es a %{tableName}",
|
|
108079
|
-
searchTooltip: "A pesquisa ser\xE1 ativada quando adicionar informa\xE7\xF5es
|
|
108181
|
+
searchTooltip: "A pesquisa ser\xE1 ativada quando adicionar informa\xE7\xF5es \xE0 %{tableName}",
|
|
108080
108182
|
featureFilter: "Filtro",
|
|
108081
108183
|
featureQuickFilter: "Filtro r\xE1pido",
|
|
108082
108184
|
featureGroupBy: "Agrupar por",
|
|
@@ -108182,7 +108284,7 @@ var pt_PT_default = {
|
|
|
108182
108284
|
large: "Grande",
|
|
108183
108285
|
tableSettings: "Defini\xE7\xF5es de tabela",
|
|
108184
108286
|
groupBy: "Agrupar por:",
|
|
108185
|
-
reset: "
|
|
108287
|
+
reset: "Repor",
|
|
108186
108288
|
selectColumnGroup: "Selecionar uma coluna para agrupar",
|
|
108187
108289
|
configure: "Configurar"
|
|
108188
108290
|
},
|
|
@@ -108229,7 +108331,8 @@ var pt_PT_default = {
|
|
|
108229
108331
|
},
|
|
108230
108332
|
filterRenders: {
|
|
108231
108333
|
dateFilter: {
|
|
108232
|
-
|
|
108334
|
+
invalidDate: "Introduza uma data v\xE1lida.",
|
|
108335
|
+
single: "\xDAnica",
|
|
108233
108336
|
range: "Intervalo"
|
|
108234
108337
|
}
|
|
108235
108338
|
},
|
|
@@ -108410,6 +108513,7 @@ var th_TH_default = {
|
|
|
108410
108513
|
},
|
|
108411
108514
|
filterRenders: {
|
|
108412
108515
|
dateFilter: {
|
|
108516
|
+
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",
|
|
108413
108517
|
single: "\u0E40\u0E14\u0E35\u0E48\u0E22\u0E27",
|
|
108414
108518
|
range: "\u0E41\u0E19\u0E27"
|
|
108415
108519
|
}
|
|
@@ -108437,8 +108541,8 @@ var zh_SG_default = {
|
|
|
108437
108541
|
description: "\u56E2\u961F\u521B\u5EFA\u9879\u540E\uFF0C\u53EF\u4EE5\u5728\u6B64\u5904\u8BBF\u95EE\u5B83\u4EEC\u3002 ",
|
|
108438
108542
|
title: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684\u9879",
|
|
108439
108543
|
itemsTitle: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684%{itemsLabel}",
|
|
108440
|
-
tooltip: "\
|
|
108441
|
-
searchTooltip: "\
|
|
108544
|
+
tooltip: "\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u540E\uFF0C%{featureName}\u6309\u94AE\u5C31\u4F1A\u542F\u7528",
|
|
108545
|
+
searchTooltip: "\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u540E\uFF0C\u641C\u7D22\u529F\u80FD\u5C31\u4F1A\u542F\u7528",
|
|
108442
108546
|
featureFilter: "\u7B5B\u9009\u5668",
|
|
108443
108547
|
featureQuickFilter: "\u5FEB\u901F\u7B5B\u9009",
|
|
108444
108548
|
featureGroupBy: "\u5206\u7EC4\u4F9D\u636E",
|
|
@@ -108591,6 +108695,7 @@ var zh_SG_default = {
|
|
|
108591
108695
|
},
|
|
108592
108696
|
filterRenders: {
|
|
108593
108697
|
dateFilter: {
|
|
108698
|
+
invalidDate: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u65E5\u671F\u3002",
|
|
108594
108699
|
single: "\u5355\u4E2A",
|
|
108595
108700
|
range: "\u8303\u56F4"
|
|
108596
108701
|
}
|
|
@@ -108654,7 +108759,7 @@ var zh_TW_default = {
|
|
|
108654
108759
|
removeFilterToken: "\u79FB\u9664\u300C%{name}\u300D",
|
|
108655
108760
|
locationFilter: {
|
|
108656
108761
|
selectAll: "\u5168\u90E8\u9078\u53D6",
|
|
108657
|
-
includeSublocations: "\u5305\u62EC\
|
|
108762
|
+
includeSublocations: "\u5305\u62EC\u6B21\u8981\u5730\u9EDE",
|
|
108658
108763
|
searchLocations: "\u641C\u5C0B\u5730\u9EDE",
|
|
108659
108764
|
locations: "\u5730\u9EDE"
|
|
108660
108765
|
},
|
|
@@ -108711,7 +108816,7 @@ var zh_TW_default = {
|
|
|
108711
108816
|
hideColumn: "\u96B1\u85CF\u6B04\u4F4D",
|
|
108712
108817
|
resetColumns: "\u91CD\u8A2D\u6B04\u4F4D",
|
|
108713
108818
|
unGroupBy: "\u53D6\u6D88\u4F9D{{label}}\u5206\u7D44",
|
|
108714
|
-
groupBy: "\u4F9D
|
|
108819
|
+
groupBy: "\u4F9D{{label}}\u5206\u7D44"
|
|
108715
108820
|
},
|
|
108716
108821
|
grandTotals: "\u7E3D\u8A08",
|
|
108717
108822
|
search: "\u641C\u5C0B",
|
|
@@ -108726,7 +108831,7 @@ var zh_TW_default = {
|
|
|
108726
108831
|
tableSettings: "\u8868\u683C\u8A2D\u5B9A",
|
|
108727
108832
|
groupBy: "\u5206\u7D44\u4F9D\u64DA\uFF1A",
|
|
108728
108833
|
reset: "\u91CD\u8A2D",
|
|
108729
|
-
selectColumnGroup: "\u9078\u53D6\
|
|
108834
|
+
selectColumnGroup: "\u9078\u53D6\u5206\u7D44\u6B04\u4F4D",
|
|
108730
108835
|
configure: "\u8A2D\u5B9A"
|
|
108731
108836
|
},
|
|
108732
108837
|
rowGroupToggle: {
|
|
@@ -108772,6 +108877,7 @@ var zh_TW_default = {
|
|
|
108772
108877
|
},
|
|
108773
108878
|
filterRenders: {
|
|
108774
108879
|
dateFilter: {
|
|
108880
|
+
invalidDate: "\u8ACB\u8F38\u5165\u6709\u6548\u65E5\u671F\u3002",
|
|
108775
108881
|
single: "\u55AE\u4E00",
|
|
108776
108882
|
range: "\u7BC4\u570D"
|
|
108777
108883
|
}
|
|
@@ -109728,10 +109834,10 @@ var GRAND_TOTAL_HEIGHT = rowSize.sm;
|
|
|
109728
109834
|
var GROUP_FOOTER_HEIGHT = rowSize.sm;
|
|
109729
109835
|
var CUSTOM_FOOTER_HEIGHT = rowSize.md;
|
|
109730
109836
|
var HEADER_HEIGHT = rowSize.md;
|
|
109731
|
-
var
|
|
109837
|
+
var cx20 = classnames.bind(styles_default);
|
|
109732
109838
|
var tableIcons = {
|
|
109733
109839
|
rowDrag,
|
|
109734
|
-
columnMoveMove: `<span class="ag-icon ${
|
|
109840
|
+
columnMoveMove: `<span class="ag-icon ${cx20(
|
|
109735
109841
|
"col-drag-column-icon"
|
|
109736
109842
|
)}">${rowDrag}</i>`
|
|
109737
109843
|
};
|
|
@@ -110911,7 +111017,7 @@ var Table = (props) => {
|
|
|
110911
111017
|
width: "100%",
|
|
110912
111018
|
maxHeight: props.maxHeight && tableHeight < props.maxHeight ? void 0 : props.maxHeight
|
|
110913
111019
|
},
|
|
110914
|
-
className:
|
|
111020
|
+
className: cx20("data-table-container", "ag-theme-alpine", {
|
|
110915
111021
|
"ag-suppress-column-virtualization": suppressColumnVirtualisation
|
|
110916
111022
|
}),
|
|
110917
111023
|
ref: combinedRef,
|
|
@@ -111103,13 +111209,13 @@ var ContextPanel = ({
|
|
|
111103
111209
|
tabIndex: -1,
|
|
111104
111210
|
role: "region",
|
|
111105
111211
|
"aria-label": ariaLabel,
|
|
111106
|
-
className:
|
|
111212
|
+
className: cx20("contextPanel", className, {
|
|
111107
111213
|
"contextPanel--hidden": !contextPanel.isVisible || contextPanel.content === "filters"
|
|
111108
111214
|
}),
|
|
111109
111215
|
"data-qa": "data-table-context-panel",
|
|
111110
111216
|
...props
|
|
111111
111217
|
},
|
|
111112
|
-
/* @__PURE__ */ React80.createElement(Box, { className:
|
|
111218
|
+
/* @__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)
|
|
111113
111219
|
);
|
|
111114
111220
|
};
|
|
111115
111221
|
function isLastColumnInGroup(params) {
|
|
@@ -111126,8 +111232,9 @@ function ClientSideFilterInner(props) {
|
|
|
111126
111232
|
const { Component: Component4, columnDefinition, onChange, options, value } = props;
|
|
111127
111233
|
const filterHeading = columnDefinition.filterProps?.getFilterHeadingText?.(columnDefinition) ?? columnDefinition.headerName;
|
|
111128
111234
|
const filterOptions = React80.useMemo(() => options ?? [], [options]);
|
|
111235
|
+
const filterLabel = typeof filterHeading === "string" ? filterHeading : columnDefinition.headerName;
|
|
111129
111236
|
return /* @__PURE__ */ React80.createElement(Box, { as: "li", display: "block", paddingBottom: "xl", style: { width: "100%" } }, filterHeading && /* @__PURE__ */ React80.createElement(
|
|
111130
|
-
Label
|
|
111237
|
+
Label,
|
|
111131
111238
|
{
|
|
111132
111239
|
"data-qa": `data-table-filter-heading-${columnDefinition.field}`,
|
|
111133
111240
|
id: `data-table-filter-heading-${columnDefinition.field}`
|
|
@@ -111137,7 +111244,7 @@ function ClientSideFilterInner(props) {
|
|
|
111137
111244
|
Component4,
|
|
111138
111245
|
{
|
|
111139
111246
|
"data-qa": `data-table-filter-input-${columnDefinition.field}`,
|
|
111140
|
-
"aria-
|
|
111247
|
+
"aria-label": filterLabel,
|
|
111141
111248
|
columnDefinition,
|
|
111142
111249
|
onChange,
|
|
111143
111250
|
options: filterOptions,
|
|
@@ -111235,7 +111342,7 @@ var StyledPanelSection = styled4(Panel.Section)`
|
|
|
111235
111342
|
// src/Panels/Filters.tsx
|
|
111236
111343
|
function noop5() {
|
|
111237
111344
|
}
|
|
111238
|
-
var
|
|
111345
|
+
var cx21 = classnames.bind(styles_default);
|
|
111239
111346
|
function isServerSideFilterGroups(_FiltersInGroup, isServerSideRowModel) {
|
|
111240
111347
|
return isServerSideRowModel;
|
|
111241
111348
|
}
|
|
@@ -111247,7 +111354,7 @@ var Filters = ({
|
|
|
111247
111354
|
return /* @__PURE__ */ React80.createElement(
|
|
111248
111355
|
"ol",
|
|
111249
111356
|
{
|
|
111250
|
-
className:
|
|
111357
|
+
className: cx21("filters-list"),
|
|
111251
111358
|
"data-qa": "data-table-possible-filters-list"
|
|
111252
111359
|
},
|
|
111253
111360
|
filters.map((fieldName) => {
|
|
@@ -111282,7 +111389,7 @@ function FilterListItems(props) {
|
|
|
111282
111389
|
return /* @__PURE__ */ React80.createElement(
|
|
111283
111390
|
"ol",
|
|
111284
111391
|
{
|
|
111285
|
-
className:
|
|
111392
|
+
className: cx21("filters-list"),
|
|
111286
111393
|
"data-qa": "data-table-possible-filters-list"
|
|
111287
111394
|
},
|
|
111288
111395
|
filtersInGroup.map((filterRecord) => {
|
|
@@ -111340,7 +111447,7 @@ function FiltersList(props) {
|
|
|
111340
111447
|
return /* @__PURE__ */ React80.createElement(
|
|
111341
111448
|
Box,
|
|
111342
111449
|
{
|
|
111343
|
-
className:
|
|
111450
|
+
className: cx21("filters-list"),
|
|
111344
111451
|
"data-qa": "data-table-possible-filters-list-container"
|
|
111345
111452
|
},
|
|
111346
111453
|
filterGroups?.map((group2) => {
|
|
@@ -111396,14 +111503,14 @@ var BaseFiltersPanel = ({
|
|
|
111396
111503
|
role: "region",
|
|
111397
111504
|
"aria-label": I18n.t("dataTable.filters.filters"),
|
|
111398
111505
|
style: { maxHeight: "100vh" },
|
|
111399
|
-
className:
|
|
111506
|
+
className: cx21("contextPanel", className, {
|
|
111400
111507
|
"contextPanel--hidden": hidden
|
|
111401
111508
|
}),
|
|
111402
111509
|
"data-qa": "data-table-filters-context-panel",
|
|
111403
111510
|
id: filtersPanelId,
|
|
111404
111511
|
...props
|
|
111405
111512
|
},
|
|
111406
|
-
/* @__PURE__ */ React80.createElement(Box, { className:
|
|
111513
|
+
/* @__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(
|
|
111407
111514
|
Button,
|
|
111408
111515
|
{
|
|
111409
111516
|
"data-qa": "data-table-remove-all-filters",
|
|
@@ -111412,7 +111519,7 @@ var BaseFiltersPanel = ({
|
|
|
111412
111519
|
variant: "tertiary"
|
|
111413
111520
|
},
|
|
111414
111521
|
I18n.t("dataTable.filters.clearAllFilters")
|
|
111415
|
-
)), /* @__PURE__ */ React80.createElement(Panel.Body, { id: filtersBodyId, className:
|
|
111522
|
+
)), /* @__PURE__ */ React80.createElement(Panel.Body, { id: filtersBodyId, className: cx21("contextPanelBody") }, /* @__PURE__ */ React80.createElement(Panel.Section, null, children))))
|
|
111416
111523
|
);
|
|
111417
111524
|
};
|
|
111418
111525
|
function ClientSideFiltersPanel(props) {
|
|
@@ -113030,7 +113137,7 @@ function mapColumnsToOptions(columnDefinitions) {
|
|
|
113030
113137
|
};
|
|
113031
113138
|
});
|
|
113032
113139
|
}
|
|
113033
|
-
var
|
|
113140
|
+
var cx22 = classnames.bind(quickControlsStyles_default);
|
|
113034
113141
|
var ClientSideSearch = ({
|
|
113035
113142
|
onSearch,
|
|
113036
113143
|
placeholder
|
|
@@ -113063,7 +113170,7 @@ var ClientSideSearch = ({
|
|
|
113063
113170
|
disabled: hasNoContent,
|
|
113064
113171
|
"data-qa": "data-table-search",
|
|
113065
113172
|
value: internalValue,
|
|
113066
|
-
className:
|
|
113173
|
+
className: cx22("search", {
|
|
113067
113174
|
"search--empty": !internalValue.length
|
|
113068
113175
|
}),
|
|
113069
113176
|
onChange,
|