@procore/data-table 14.46.4 → 14.46.5
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 +8 -0
- package/dist/legacy/index.cjs +476 -416
- package/dist/legacy/index.d.cts +2 -0
- package/dist/legacy/index.d.ts +2 -0
- package/dist/legacy/index.js +476 -416
- package/dist/modern/index.cjs +473 -414
- package/dist/modern/index.d.cts +2 -0
- package/dist/modern/index.d.ts +2 -0
- package/dist/modern/index.js +473 -414
- package/package.json +2 -2
package/dist/legacy/index.js
CHANGED
|
@@ -1389,7 +1389,7 @@ ag-grid, ag-grid-angular, ag-grid-ng2, ag-grid-polymer, ag-grid-aurelia {
|
|
|
1389
1389
|
animation-iteration-count: infinite;
|
|
1390
1390
|
animation-name: ag-shake-left-to-right;
|
|
1391
1391
|
}
|
|
1392
|
-
@keyframes _ag-shake-left-to-
|
|
1392
|
+
@keyframes _ag-shake-left-to-right_fcvsa_342 {
|
|
1393
1393
|
from {
|
|
1394
1394
|
padding-left: 6px;
|
|
1395
1395
|
padding-right: 2px;
|
|
@@ -5390,7 +5390,7 @@ input[class^=ag-][type=button]:focus, button[class^=ag-]:focus {
|
|
|
5390
5390
|
animation-iteration-count: infinite;
|
|
5391
5391
|
animation-timing-function: linear;
|
|
5392
5392
|
}
|
|
5393
|
-
@keyframes
|
|
5393
|
+
@keyframes _spin_fcvsa_1 {
|
|
5394
5394
|
from {
|
|
5395
5395
|
transform: rotate(0deg);
|
|
5396
5396
|
}
|
|
@@ -7922,7 +7922,7 @@ input[class^=ag-][type=range]:disabled {
|
|
|
7922
7922
|
padding-left: 16px;
|
|
7923
7923
|
}
|
|
7924
7924
|
|
|
7925
|
-
div.
|
|
7925
|
+
div._contextPanel_fcvsa_7159 {
|
|
7926
7926
|
width: 400px;
|
|
7927
7927
|
transition: all ease 500ms;
|
|
7928
7928
|
flex: 0 0 auto;
|
|
@@ -7931,12 +7931,12 @@ div._contextPanel_pphrk_7159 {
|
|
|
7931
7931
|
border: 1px solid #d6dadc;
|
|
7932
7932
|
display: flex;
|
|
7933
7933
|
}
|
|
7934
|
-
div.
|
|
7934
|
+
div._contextPanel_fcvsa_7159:focus {
|
|
7935
7935
|
border-color: #2066df;
|
|
7936
7936
|
box-shadow: inset 0 0 1px 0 #2066df;
|
|
7937
7937
|
outline: none;
|
|
7938
7938
|
}
|
|
7939
|
-
div._contextPanel--
|
|
7939
|
+
div._contextPanel--hidden_fcvsa_7173 {
|
|
7940
7940
|
border: none;
|
|
7941
7941
|
overflow: hidden;
|
|
7942
7942
|
padding: 0px;
|
|
@@ -7944,50 +7944,58 @@ div._contextPanel--hidden_pphrk_7173 {
|
|
|
7944
7944
|
width: 0px;
|
|
7945
7945
|
}
|
|
7946
7946
|
|
|
7947
|
-
.
|
|
7947
|
+
._contextPanelWrapper_fcvsa_7181 {
|
|
7948
7948
|
position: relative;
|
|
7949
7949
|
flex-grow: 1;
|
|
7950
7950
|
}
|
|
7951
7951
|
|
|
7952
|
-
.
|
|
7952
|
+
._contextPanelBody_fcvsa_7186 {
|
|
7953
7953
|
width: clamp(380px, 400px, 100%);
|
|
7954
7954
|
}
|
|
7955
7955
|
|
|
7956
|
-
._contextPanel-
|
|
7956
|
+
._contextPanel-stickyHeader_fcvsa_7190 {
|
|
7957
7957
|
background-color: #ffffff;
|
|
7958
7958
|
position: sticky;
|
|
7959
7959
|
top: 0;
|
|
7960
7960
|
z-index: 5;
|
|
7961
7961
|
}
|
|
7962
7962
|
|
|
7963
|
-
._filters-
|
|
7963
|
+
._filters-list_fcvsa_7197 {
|
|
7964
7964
|
padding: 0;
|
|
7965
7965
|
margin: 0;
|
|
7966
7966
|
}
|
|
7967
|
-
._filters-
|
|
7967
|
+
._filters-list_fcvsa_7197 ol {
|
|
7968
7968
|
padding: 0;
|
|
7969
7969
|
margin: 0;
|
|
7970
7970
|
}
|
|
7971
7971
|
|
|
7972
|
-
.
|
|
7972
|
+
._date-filter-invalid-message_fcvsa_7206 {
|
|
7973
|
+
color: #c42223;
|
|
7974
|
+
font-size: 12px;
|
|
7975
|
+
line-height: 16px;
|
|
7976
|
+
margin-top: 4px;
|
|
7977
|
+
}
|
|
7978
|
+
|
|
7979
|
+
._col-drag-column-icon_fcvsa_7213 {
|
|
7973
7980
|
color: #6a767c;
|
|
7974
7981
|
}
|
|
7975
7982
|
|
|
7976
|
-
._tabular-
|
|
7983
|
+
._tabular-nums_fcvsa_7217 {
|
|
7977
7984
|
font-variant-numeric: tabular-nums;
|
|
7978
7985
|
}`;
|
|
7979
7986
|
document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(css));
|
|
7980
7987
|
var styles_default = {
|
|
7981
|
-
"contextPanel": "
|
|
7982
|
-
"contextPanel--hidden": "_contextPanel--
|
|
7983
|
-
"contextPanelWrapper": "
|
|
7984
|
-
"contextPanelBody": "
|
|
7985
|
-
"contextPanel-stickyHeader": "_contextPanel-
|
|
7986
|
-
"filters-list": "_filters-
|
|
7987
|
-
"
|
|
7988
|
-
"
|
|
7989
|
-
"
|
|
7990
|
-
"
|
|
7988
|
+
"contextPanel": "_contextPanel_fcvsa_7159",
|
|
7989
|
+
"contextPanel--hidden": "_contextPanel--hidden_fcvsa_7173",
|
|
7990
|
+
"contextPanelWrapper": "_contextPanelWrapper_fcvsa_7181",
|
|
7991
|
+
"contextPanelBody": "_contextPanelBody_fcvsa_7186",
|
|
7992
|
+
"contextPanel-stickyHeader": "_contextPanel-stickyHeader_fcvsa_7190",
|
|
7993
|
+
"filters-list": "_filters-list_fcvsa_7197",
|
|
7994
|
+
"date-filter-invalid-message": "_date-filter-invalid-message_fcvsa_7206",
|
|
7995
|
+
"col-drag-column-icon": "_col-drag-column-icon_fcvsa_7213",
|
|
7996
|
+
"tabular-nums": "_tabular-nums_fcvsa_7217",
|
|
7997
|
+
"ag-shake-left-to-right": "_ag-shake-left-to-right_fcvsa_342",
|
|
7998
|
+
"spin": "_spin_fcvsa_1"
|
|
7991
7999
|
};
|
|
7992
8000
|
|
|
7993
8001
|
// src/CellRenderers/BooleanCell.tsx
|
|
@@ -8272,6 +8280,264 @@ var Editor = React80.forwardRef(
|
|
|
8272
8280
|
}
|
|
8273
8281
|
);
|
|
8274
8282
|
var CurrencyCellEditor = withDataTableEditor(Editor, "input");
|
|
8283
|
+
var $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (React80).useLayoutEffect : () => {
|
|
8284
|
+
};
|
|
8285
|
+
var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
|
|
8286
|
+
var $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (React80)["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);
|
|
8287
|
+
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
8288
|
+
const ref = (useRef)(null);
|
|
8289
|
+
$8ae05eaa5c114e9c$var$useEarlyEffect(() => {
|
|
8290
|
+
ref.current = fn;
|
|
8291
|
+
}, [
|
|
8292
|
+
fn
|
|
8293
|
+
]);
|
|
8294
|
+
return (useCallback)((...args) => {
|
|
8295
|
+
const f = ref.current;
|
|
8296
|
+
return f === null || f === void 0 ? void 0 : f(...args);
|
|
8297
|
+
}, []);
|
|
8298
|
+
}
|
|
8299
|
+
var $b5e257d569688ac6$var$defaultContext = {
|
|
8300
|
+
prefix: String(Math.round(Math.random() * 1e10)),
|
|
8301
|
+
current: 0
|
|
8302
|
+
};
|
|
8303
|
+
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80).createContext($b5e257d569688ac6$var$defaultContext);
|
|
8304
|
+
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80).createContext(false);
|
|
8305
|
+
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
8306
|
+
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
8307
|
+
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
8308
|
+
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
8309
|
+
let ref = (useRef)(null);
|
|
8310
|
+
if (ref.current === null && !isDisabled) {
|
|
8311
|
+
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
8312
|
+
let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = (React80).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
|
|
8313
|
+
if (currentOwner) {
|
|
8314
|
+
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
8315
|
+
if (prevComponentValue == null)
|
|
8316
|
+
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
8317
|
+
id: ctx.current,
|
|
8318
|
+
state: currentOwner.memoizedState
|
|
8319
|
+
});
|
|
8320
|
+
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
8321
|
+
ctx.current = prevComponentValue.id;
|
|
8322
|
+
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
8323
|
+
}
|
|
8324
|
+
}
|
|
8325
|
+
ref.current = ++ctx.current;
|
|
8326
|
+
}
|
|
8327
|
+
return ref.current;
|
|
8328
|
+
}
|
|
8329
|
+
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
8330
|
+
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
8331
|
+
if (ctx === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM && process.env.NODE_ENV !== "production") console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
8332
|
+
let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
8333
|
+
let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
|
|
8334
|
+
return defaultId || `${prefix}-${counter2}`;
|
|
8335
|
+
}
|
|
8336
|
+
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
8337
|
+
let id = (React80).useId();
|
|
8338
|
+
let [didSSR] = (useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
8339
|
+
let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
8340
|
+
return defaultId || `${prefix}-${id}`;
|
|
8341
|
+
}
|
|
8342
|
+
var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
8343
|
+
function $b5e257d569688ac6$var$getSnapshot() {
|
|
8344
|
+
return false;
|
|
8345
|
+
}
|
|
8346
|
+
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
8347
|
+
return true;
|
|
8348
|
+
}
|
|
8349
|
+
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
8350
|
+
return () => {
|
|
8351
|
+
};
|
|
8352
|
+
}
|
|
8353
|
+
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
8354
|
+
if (typeof (React80)["useSyncExternalStore"] === "function") return (React80)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
8355
|
+
return (useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8358
|
+
// ../../node_modules/@react-aria/utils/dist/useId.mjs
|
|
8359
|
+
var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
8360
|
+
var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
8361
|
+
var $bdb11010cef70236$var$registry;
|
|
8362
|
+
if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
|
|
8363
|
+
$bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
|
|
8364
|
+
});
|
|
8365
|
+
function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
|
|
8366
|
+
let [value, setValue] = (useState)(defaultId);
|
|
8367
|
+
let nextId = (useRef)(null);
|
|
8368
|
+
let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
|
|
8369
|
+
let cleanupRef = (useRef)(null);
|
|
8370
|
+
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
|
|
8371
|
+
if ($bdb11010cef70236$var$canUseDOM) {
|
|
8372
|
+
const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
|
|
8373
|
+
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
8374
|
+
else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
|
|
8375
|
+
nextId
|
|
8376
|
+
]);
|
|
8377
|
+
}
|
|
8378
|
+
($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
|
|
8379
|
+
let r2 = res;
|
|
8380
|
+
return () => {
|
|
8381
|
+
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
|
|
8382
|
+
$bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
|
|
8383
|
+
};
|
|
8384
|
+
}, [
|
|
8385
|
+
res
|
|
8386
|
+
]);
|
|
8387
|
+
(useEffect)(() => {
|
|
8388
|
+
let newId = nextId.current;
|
|
8389
|
+
if (newId) setValue(newId);
|
|
8390
|
+
return () => {
|
|
8391
|
+
if (newId) nextId.current = null;
|
|
8392
|
+
};
|
|
8393
|
+
});
|
|
8394
|
+
return res;
|
|
8395
|
+
}
|
|
8396
|
+
function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
|
|
8397
|
+
if (idA === idB) return idA;
|
|
8398
|
+
let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
|
|
8399
|
+
if (setIdsA) {
|
|
8400
|
+
setIdsA.forEach((ref) => ref.current = idB);
|
|
8401
|
+
return idB;
|
|
8402
|
+
}
|
|
8403
|
+
let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);
|
|
8404
|
+
if (setIdsB) {
|
|
8405
|
+
setIdsB.forEach((ref) => ref.current = idA);
|
|
8406
|
+
return idA;
|
|
8407
|
+
}
|
|
8408
|
+
return idB;
|
|
8409
|
+
}
|
|
8410
|
+
|
|
8411
|
+
// ../../node_modules/@react-aria/utils/dist/chain.mjs
|
|
8412
|
+
function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
|
|
8413
|
+
return (...args) => {
|
|
8414
|
+
for (let callback of callbacks) if (typeof callback === "function") callback(...args);
|
|
8415
|
+
};
|
|
8416
|
+
}
|
|
8417
|
+
|
|
8418
|
+
// ../../node_modules/@react-aria/utils/dist/domHelpers.mjs
|
|
8419
|
+
var $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
8420
|
+
var _el_ownerDocument;
|
|
8421
|
+
return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
|
|
8422
|
+
};
|
|
8423
|
+
function $431fbd86ca7dc216$var$isNode(value) {
|
|
8424
|
+
return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
|
|
8425
|
+
}
|
|
8426
|
+
function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
|
|
8427
|
+
return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
|
|
8428
|
+
}
|
|
8429
|
+
|
|
8430
|
+
// ../../node_modules/@react-stately/flags/dist/import.mjs
|
|
8431
|
+
var $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
8432
|
+
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
8433
|
+
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
8434
|
+
}
|
|
8435
|
+
|
|
8436
|
+
// ../../node_modules/@react-aria/utils/dist/DOMFunctions.mjs
|
|
8437
|
+
function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
|
|
8438
|
+
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return otherNode && node ? node.contains(otherNode) : false;
|
|
8439
|
+
if (!node || !otherNode) return false;
|
|
8440
|
+
let currentNode = otherNode;
|
|
8441
|
+
while (currentNode !== null) {
|
|
8442
|
+
if (currentNode === node) return true;
|
|
8443
|
+
if (currentNode.tagName === "SLOT" && currentNode.assignedSlot)
|
|
8444
|
+
currentNode = currentNode.assignedSlot.parentNode;
|
|
8445
|
+
else if (($431fbd86ca7dc216$export$af51f0f06c0f328a)(currentNode))
|
|
8446
|
+
currentNode = currentNode.host;
|
|
8447
|
+
else currentNode = currentNode.parentNode;
|
|
8448
|
+
}
|
|
8449
|
+
return false;
|
|
8450
|
+
}
|
|
8451
|
+
var $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
|
|
8452
|
+
var _activeElement_shadowRoot;
|
|
8453
|
+
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return doc.activeElement;
|
|
8454
|
+
let activeElement = doc.activeElement;
|
|
8455
|
+
while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
|
|
8456
|
+
return activeElement;
|
|
8457
|
+
};
|
|
8458
|
+
function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
|
|
8459
|
+
if (($f4e2df6bd15f8569$export$98658e8c59125e6a)() && event.target.shadowRoot) {
|
|
8460
|
+
if (event.composedPath) return event.composedPath()[0];
|
|
8461
|
+
}
|
|
8462
|
+
return event.target;
|
|
8463
|
+
}
|
|
8464
|
+
|
|
8465
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
8466
|
+
function r(e) {
|
|
8467
|
+
var t, f, n = "";
|
|
8468
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
8469
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
8470
|
+
var o = e.length;
|
|
8471
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
8472
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
8473
|
+
return n;
|
|
8474
|
+
}
|
|
8475
|
+
function clsx() {
|
|
8476
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
8477
|
+
return n;
|
|
8478
|
+
}
|
|
8479
|
+
var clsx_default = clsx;
|
|
8480
|
+
|
|
8481
|
+
// ../../node_modules/@react-aria/utils/dist/mergeProps.mjs
|
|
8482
|
+
function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
|
|
8483
|
+
let result = {
|
|
8484
|
+
...args[0]
|
|
8485
|
+
};
|
|
8486
|
+
for (let i = 1; i < args.length; i++) {
|
|
8487
|
+
let props = args[i];
|
|
8488
|
+
for (let key in props) {
|
|
8489
|
+
let a = result[key];
|
|
8490
|
+
let b = props[key];
|
|
8491
|
+
if (typeof a === "function" && typeof b === "function" && // This is a lot faster than a regex.
|
|
8492
|
+
key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= /* 'A' */
|
|
8493
|
+
65 && key.charCodeAt(2) <= /* 'Z' */
|
|
8494
|
+
90) result[key] = ($ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);
|
|
8495
|
+
else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = (clsx_default)(a, b);
|
|
8496
|
+
else if (key === "id" && a && b) result.id = ($bdb11010cef70236$export$cd8c9cb68f842629)(a, b);
|
|
8497
|
+
else result[key] = b !== void 0 ? b : a;
|
|
8498
|
+
}
|
|
8499
|
+
}
|
|
8500
|
+
return result;
|
|
8501
|
+
}
|
|
8502
|
+
function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
8503
|
+
let globalListeners = (useRef)(/* @__PURE__ */ new Map());
|
|
8504
|
+
let addGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
8505
|
+
let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
|
|
8506
|
+
globalListeners.current.delete(listener);
|
|
8507
|
+
listener(...args);
|
|
8508
|
+
} : listener;
|
|
8509
|
+
globalListeners.current.set(listener, {
|
|
8510
|
+
type,
|
|
8511
|
+
eventTarget,
|
|
8512
|
+
fn,
|
|
8513
|
+
options
|
|
8514
|
+
});
|
|
8515
|
+
eventTarget.addEventListener(type, fn, options);
|
|
8516
|
+
}, []);
|
|
8517
|
+
let removeGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
8518
|
+
var _globalListeners_current_get;
|
|
8519
|
+
let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
|
|
8520
|
+
eventTarget.removeEventListener(type, fn, options);
|
|
8521
|
+
globalListeners.current.delete(listener);
|
|
8522
|
+
}, []);
|
|
8523
|
+
let removeAllGlobalListeners = (useCallback)(() => {
|
|
8524
|
+
globalListeners.current.forEach((value, key) => {
|
|
8525
|
+
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
8526
|
+
});
|
|
8527
|
+
}, [
|
|
8528
|
+
removeGlobalListener
|
|
8529
|
+
]);
|
|
8530
|
+
(useEffect)(() => {
|
|
8531
|
+
return removeAllGlobalListeners;
|
|
8532
|
+
}, [
|
|
8533
|
+
removeAllGlobalListeners
|
|
8534
|
+
]);
|
|
8535
|
+
return {
|
|
8536
|
+
addGlobalListener,
|
|
8537
|
+
removeGlobalListener,
|
|
8538
|
+
removeAllGlobalListeners
|
|
8539
|
+
};
|
|
8540
|
+
}
|
|
8275
8541
|
|
|
8276
8542
|
// src/utils/logger.ts
|
|
8277
8543
|
var log = (...args) => {
|
|
@@ -8375,6 +8641,7 @@ function isValidFilter(filter) {
|
|
|
8375
8641
|
}
|
|
8376
8642
|
|
|
8377
8643
|
// src/FilterRenderers/DateFilterRenderer.tsx
|
|
8644
|
+
var cx4 = classnames.bind(styles_default);
|
|
8378
8645
|
function getPlacement(currentSelectionType, position) {
|
|
8379
8646
|
if (currentSelectionType === "single") {
|
|
8380
8647
|
return "bottom-left";
|
|
@@ -8479,13 +8746,28 @@ var DateFilterSelect = React80.forwardRef(
|
|
|
8479
8746
|
({
|
|
8480
8747
|
afterHide,
|
|
8481
8748
|
onChange,
|
|
8749
|
+
invalidDateErrorMessage,
|
|
8482
8750
|
position,
|
|
8483
8751
|
selectedValue,
|
|
8484
8752
|
selectionType = "either",
|
|
8485
8753
|
setSelectionType = () => {
|
|
8486
8754
|
}
|
|
8487
8755
|
}, ref) => {
|
|
8756
|
+
const I18n = useI18nContext();
|
|
8757
|
+
const errorId = $bdb11010cef70236$export$f680877a34711e37();
|
|
8488
8758
|
const dateTime = useDateTime();
|
|
8759
|
+
const localDateInputRef = React80.useRef(null);
|
|
8760
|
+
const errorMessageRef = React80.useRef(null);
|
|
8761
|
+
const updateInvalidState = React80.useCallback(() => {
|
|
8762
|
+
var _a, _b, _c;
|
|
8763
|
+
const isInvalid = ((_a = localDateInputRef.current) == null ? void 0 : _a.getAttribute("aria-invalid")) === "true";
|
|
8764
|
+
if (isInvalid) {
|
|
8765
|
+
(_b = errorMessageRef.current) == null ? void 0 : _b.removeAttribute("hidden");
|
|
8766
|
+
} else {
|
|
8767
|
+
(_c = errorMessageRef.current) == null ? void 0 : _c.setAttribute("hidden", "true");
|
|
8768
|
+
}
|
|
8769
|
+
}, []);
|
|
8770
|
+
const resolvedInvalidDateErrorMessage = typeof invalidDateErrorMessage === "function" ? invalidDateErrorMessage() : invalidDateErrorMessage || I18n.t("dataTable.filterRenders.dateFilter.invalidDate");
|
|
8489
8771
|
const { start, end } = selectedValue;
|
|
8490
8772
|
const selectedDate = (position === "start" ? start : end) ?? void 0;
|
|
8491
8773
|
const [displayed, setDisplayed2] = React80.useState(
|
|
@@ -8520,7 +8802,7 @@ var DateFilterSelect = React80.forwardRef(
|
|
|
8520
8802
|
yearRef
|
|
8521
8803
|
}
|
|
8522
8804
|
);
|
|
8523
|
-
return /* @__PURE__ */ React80.createElement(
|
|
8805
|
+
return /* @__PURE__ */ React80.createElement(Box, { display: "flex-column", className: cx4("date-filter-input-wrapper") }, /* @__PURE__ */ React80.createElement(
|
|
8524
8806
|
OverlayTrigger,
|
|
8525
8807
|
{
|
|
8526
8808
|
afterHide,
|
|
@@ -8546,9 +8828,7 @@ var DateFilterSelect = React80.forwardRef(
|
|
|
8546
8828
|
{
|
|
8547
8829
|
"data-qa": `data-table-date-filter-input-${position}`,
|
|
8548
8830
|
onChangeSegment: (type, value) => {
|
|
8549
|
-
if (value === -1)
|
|
8550
|
-
return;
|
|
8551
|
-
}
|
|
8831
|
+
if (value === -1) return;
|
|
8552
8832
|
if (type === "month") {
|
|
8553
8833
|
setDisplayed2(dateTime.newDate(displayed.setMonth(value - 1)));
|
|
8554
8834
|
} else if (type === "year") {
|
|
@@ -8563,12 +8843,26 @@ var DateFilterSelect = React80.forwardRef(
|
|
|
8563
8843
|
onClear: () => {
|
|
8564
8844
|
setDisplayed2(dateTime.newDate());
|
|
8565
8845
|
},
|
|
8846
|
+
onBlur: updateInvalidState,
|
|
8566
8847
|
clearRef,
|
|
8567
8848
|
value: selectedDate,
|
|
8568
|
-
ref
|
|
8849
|
+
ref: localDateInputRef,
|
|
8850
|
+
"aria-describedby": errorId
|
|
8569
8851
|
}
|
|
8570
8852
|
)
|
|
8571
|
-
)
|
|
8853
|
+
), /* @__PURE__ */ React80.createElement(
|
|
8854
|
+
Box,
|
|
8855
|
+
{
|
|
8856
|
+
id: errorId,
|
|
8857
|
+
ref: errorMessageRef,
|
|
8858
|
+
"aria-live": "polite",
|
|
8859
|
+
className: cx4("date-filter-invalid-message"),
|
|
8860
|
+
"data-qa": `data-table-date-filter-error-${position}`,
|
|
8861
|
+
hidden: true,
|
|
8862
|
+
role: "status"
|
|
8863
|
+
},
|
|
8864
|
+
resolvedInvalidDateErrorMessage
|
|
8865
|
+
));
|
|
8572
8866
|
}
|
|
8573
8867
|
);
|
|
8574
8868
|
function DateFilter({
|
|
@@ -8576,6 +8870,7 @@ function DateFilter({
|
|
|
8576
8870
|
// core DateSelect doesn't have it
|
|
8577
8871
|
// loading,
|
|
8578
8872
|
onChange,
|
|
8873
|
+
invalidDateErrorMessage,
|
|
8579
8874
|
selectionType = "either",
|
|
8580
8875
|
value,
|
|
8581
8876
|
...props
|
|
@@ -8623,6 +8918,7 @@ function DateFilter({
|
|
|
8623
8918
|
DateFilterSelect,
|
|
8624
8919
|
{
|
|
8625
8920
|
afterHide: dateRangeAfterHide,
|
|
8921
|
+
invalidDateErrorMessage,
|
|
8626
8922
|
onChange: dateFilterOnChange,
|
|
8627
8923
|
position: "start",
|
|
8628
8924
|
selectedValue,
|
|
@@ -8632,6 +8928,7 @@ function DateFilter({
|
|
|
8632
8928
|
), selectedValue.type !== "single" && /* @__PURE__ */ React80.createElement(
|
|
8633
8929
|
DateFilterSelect,
|
|
8634
8930
|
{
|
|
8931
|
+
invalidDateErrorMessage,
|
|
8635
8932
|
onChange: dateFilterOnChange,
|
|
8636
8933
|
position: "end",
|
|
8637
8934
|
ref: dateRangeEndDateRef,
|
|
@@ -8648,12 +8945,13 @@ function ServerSideDateSelectFilterRenderer({
|
|
|
8648
8945
|
value = [],
|
|
8649
8946
|
...props
|
|
8650
8947
|
}) {
|
|
8651
|
-
var _a;
|
|
8948
|
+
var _a, _b;
|
|
8652
8949
|
const colDef = columnDefinition;
|
|
8653
8950
|
return /* @__PURE__ */ React80.createElement(OptionalDateTimeProvider, { timeZone: colDef.timeZone }, /* @__PURE__ */ React80.createElement(
|
|
8654
8951
|
DateFilter,
|
|
8655
8952
|
{
|
|
8656
8953
|
...props,
|
|
8954
|
+
invalidDateErrorMessage: (_a = colDef.filterProps) == null ? void 0 : _a.invalidDateErrorMessage,
|
|
8657
8955
|
onChange: (selected) => {
|
|
8658
8956
|
onChange(
|
|
8659
8957
|
selected.map((date) => {
|
|
@@ -8667,7 +8965,7 @@ function ServerSideDateSelectFilterRenderer({
|
|
|
8667
8965
|
})
|
|
8668
8966
|
);
|
|
8669
8967
|
},
|
|
8670
|
-
selectionType: ((
|
|
8968
|
+
selectionType: ((_b = colDef.filterProps) == null ? void 0 : _b.selectionType) ?? "either",
|
|
8671
8969
|
value: value.map((option) => option ? option.date : option)
|
|
8672
8970
|
}
|
|
8673
8971
|
));
|
|
@@ -8709,7 +9007,7 @@ function getCellValueTypographyProps(typographyProps) {
|
|
|
8709
9007
|
}
|
|
8710
9008
|
|
|
8711
9009
|
// src/CellRenderers/DateCell.tsx
|
|
8712
|
-
var
|
|
9010
|
+
var cx5 = classnames.bind(styles_default);
|
|
8713
9011
|
function getDateObject(date) {
|
|
8714
9012
|
if (isDate(date)) {
|
|
8715
9013
|
return date;
|
|
@@ -8775,7 +9073,7 @@ var Editor2 = React80.forwardRef(
|
|
|
8775
9073
|
StyledDateSelect,
|
|
8776
9074
|
{
|
|
8777
9075
|
afterHide,
|
|
8778
|
-
className:
|
|
9076
|
+
className: cx5("input-cell"),
|
|
8779
9077
|
disabledDate: (_b = columnDefinition.cellEditorParams) == null ? void 0 : _b.disabledDate,
|
|
8780
9078
|
onChange,
|
|
8781
9079
|
ref,
|
|
@@ -8786,7 +9084,7 @@ var Editor2 = React80.forwardRef(
|
|
|
8786
9084
|
}
|
|
8787
9085
|
);
|
|
8788
9086
|
var DateCellEditor = withDataTableEditor(Editor2, "date");
|
|
8789
|
-
var
|
|
9087
|
+
var cx6 = classnames.bind(styles_default);
|
|
8790
9088
|
function getDateObject2(date) {
|
|
8791
9089
|
if (isDate(date)) {
|
|
8792
9090
|
return date;
|
|
@@ -8837,7 +9135,7 @@ var Editor3 = React80.forwardRef(
|
|
|
8837
9135
|
DateSelect,
|
|
8838
9136
|
{
|
|
8839
9137
|
afterHide,
|
|
8840
|
-
className:
|
|
9138
|
+
className: cx6("input-cell"),
|
|
8841
9139
|
disabledDate,
|
|
8842
9140
|
onChange,
|
|
8843
9141
|
ref,
|
|
@@ -52367,7 +52665,7 @@ globalObj.MouseEvent = typeof MouseEvent === "undefined" ? {} : MouseEvent;
|
|
|
52367
52665
|
|
|
52368
52666
|
// src/CellRenderers/GroupCell.tsx
|
|
52369
52667
|
var GroupCellRenderer2 = GroupCellRenderer;
|
|
52370
|
-
var
|
|
52668
|
+
var cx7 = classnames.bind(truncation_default);
|
|
52371
52669
|
var MIN_LINK_WIDTH = 48;
|
|
52372
52670
|
var InternalLinkCellRenderer = ({
|
|
52373
52671
|
columnDefinition,
|
|
@@ -52384,7 +52682,7 @@ var InternalLinkCellRenderer = ({
|
|
|
52384
52682
|
const [isLinkWidthBelowMin, setIsLinkWidthBelowMin] = useState(false);
|
|
52385
52683
|
const linkRef = useRef(null);
|
|
52386
52684
|
const internalValue = value ? (_a = columnDefinition.getStringFormattedValue) == null ? void 0 : _a.call(columnDefinition, value) : "";
|
|
52387
|
-
const className =
|
|
52685
|
+
const className = cx7(
|
|
52388
52686
|
typographyProps == null ? void 0 : typographyProps.className,
|
|
52389
52687
|
"textCell",
|
|
52390
52688
|
"truncatingText",
|
|
@@ -52404,7 +52702,7 @@ var InternalLinkCellRenderer = ({
|
|
|
52404
52702
|
}
|
|
52405
52703
|
}, [internalValue]);
|
|
52406
52704
|
const URL = getURL(value, data);
|
|
52407
|
-
const extendClickableAreaClassNames = isLinkWidthBelowMin ?
|
|
52705
|
+
const extendClickableAreaClassNames = isLinkWidthBelowMin ? cx7("extendClickableArea", {
|
|
52408
52706
|
"extendClickableArea--rowHeightSm": rowHeight === rowSize.sm
|
|
52409
52707
|
}) : "";
|
|
52410
52708
|
if (isExternalLink && value && URL) {
|
|
@@ -52436,7 +52734,7 @@ var LinkCellRenderer = withDataTableRenderer(
|
|
|
52436
52734
|
InternalLinkCellRenderer,
|
|
52437
52735
|
"input"
|
|
52438
52736
|
);
|
|
52439
|
-
var
|
|
52737
|
+
var cx8 = classnames.bind(styles_default);
|
|
52440
52738
|
var InternalNumberCellRenderer = ({
|
|
52441
52739
|
columnDefinition,
|
|
52442
52740
|
rowPinned,
|
|
@@ -52452,7 +52750,7 @@ var InternalNumberCellRenderer = ({
|
|
|
52452
52750
|
return null;
|
|
52453
52751
|
}
|
|
52454
52752
|
if (columnDefinition.editable) {
|
|
52455
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
52753
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx8("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.numberCell.placeholder"));
|
|
52456
52754
|
}
|
|
52457
52755
|
return /* @__PURE__ */ React80.createElement(React80.Fragment, null);
|
|
52458
52756
|
}
|
|
@@ -52495,7 +52793,7 @@ var InternalNumberCellEditor = React80.forwardRef(({ columnDefinition, stopEditi
|
|
|
52495
52793
|
defaultValue: value,
|
|
52496
52794
|
onBlur,
|
|
52497
52795
|
ref,
|
|
52498
|
-
className:
|
|
52796
|
+
className: cx8("input-cell", "input-cell--right-aligned"),
|
|
52499
52797
|
...inputProps
|
|
52500
52798
|
}
|
|
52501
52799
|
);
|
|
@@ -52571,7 +52869,7 @@ var peopleCellStyles_default = {
|
|
|
52571
52869
|
};
|
|
52572
52870
|
|
|
52573
52871
|
// src/CellRenderers/PeopleCell.tsx
|
|
52574
|
-
var
|
|
52872
|
+
var cx9 = classnames.bind(peopleCellStyles_default);
|
|
52575
52873
|
var NUM_AVATARS_SHOWN = 4;
|
|
52576
52874
|
var defaultAvatarStackItemFilter = (person) => !!person || !!person.id;
|
|
52577
52875
|
var Renderer6 = ({
|
|
@@ -52660,7 +52958,7 @@ var Renderer6 = ({
|
|
|
52660
52958
|
Flex,
|
|
52661
52959
|
{
|
|
52662
52960
|
direction: columnDefinition.autoHeight ? "column" : "row",
|
|
52663
|
-
className:
|
|
52961
|
+
className: cx9("dynamicRowHeightSpacing", columnDefinition.autoHeight)
|
|
52664
52962
|
},
|
|
52665
52963
|
isAvatarStackDisplayed && /* @__PURE__ */ React80.createElement(
|
|
52666
52964
|
Box,
|
|
@@ -52691,7 +52989,7 @@ var Renderer6 = ({
|
|
|
52691
52989
|
/* @__PURE__ */ React80.createElement(
|
|
52692
52990
|
Typography,
|
|
52693
52991
|
{
|
|
52694
|
-
className: !columnDefinition.autoHeight ?
|
|
52992
|
+
className: !columnDefinition.autoHeight ? cx9("truncatingText", {
|
|
52695
52993
|
"truncatingText--md": rowHeight === rowSize.md,
|
|
52696
52994
|
"truncatingText--lg": rowHeight === rowSize.lg
|
|
52697
52995
|
}) : "",
|
|
@@ -52727,7 +53025,7 @@ var Renderer6 = ({
|
|
|
52727
53025
|
{
|
|
52728
53026
|
...typographyProps,
|
|
52729
53027
|
color: "gray45",
|
|
52730
|
-
className:
|
|
53028
|
+
className: cx9("truncatingText")
|
|
52731
53029
|
},
|
|
52732
53030
|
getCompanyName(people[0])
|
|
52733
53031
|
)) : /* @__PURE__ */ React80.createElement(
|
|
@@ -52735,7 +53033,7 @@ var Renderer6 = ({
|
|
|
52735
53033
|
{
|
|
52736
53034
|
...typographyProps,
|
|
52737
53035
|
color: "gray45",
|
|
52738
|
-
className:
|
|
53036
|
+
className: cx9("truncatingText")
|
|
52739
53037
|
},
|
|
52740
53038
|
getCompanyName(people[0])
|
|
52741
53039
|
)
|
|
@@ -52743,7 +53041,7 @@ var Renderer6 = ({
|
|
|
52743
53041
|
);
|
|
52744
53042
|
};
|
|
52745
53043
|
var PeopleCellRenderer = withDataTableRenderer(Renderer6);
|
|
52746
|
-
var
|
|
53044
|
+
var cx10 = classnames.bind(styles_default);
|
|
52747
53045
|
var Renderer7 = ({
|
|
52748
53046
|
columnDefinition,
|
|
52749
53047
|
isGroup,
|
|
@@ -52759,7 +53057,7 @@ var Renderer7 = ({
|
|
|
52759
53057
|
return null;
|
|
52760
53058
|
}
|
|
52761
53059
|
if (columnDefinition.editable) {
|
|
52762
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53060
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx10("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.percentCell.placeholder"));
|
|
52763
53061
|
}
|
|
52764
53062
|
}
|
|
52765
53063
|
const internalValue = formatPercentage((value == null ? void 0 : value.toString()) ?? "", formatConfig);
|
|
@@ -52769,7 +53067,7 @@ var Renderer7 = ({
|
|
|
52769
53067
|
{
|
|
52770
53068
|
intent: "small",
|
|
52771
53069
|
weight: "semibold",
|
|
52772
|
-
className:
|
|
53070
|
+
className: cx10("tabular-nums")
|
|
52773
53071
|
},
|
|
52774
53072
|
internalValue
|
|
52775
53073
|
);
|
|
@@ -52779,7 +53077,7 @@ var Renderer7 = ({
|
|
|
52779
53077
|
{
|
|
52780
53078
|
...typographyProps,
|
|
52781
53079
|
weight: rowPinned ? "bold" : typographyProps == null ? void 0 : typographyProps.weight,
|
|
52782
|
-
className:
|
|
53080
|
+
className: cx10("tabular-nums")
|
|
52783
53081
|
},
|
|
52784
53082
|
internalValue
|
|
52785
53083
|
);
|
|
@@ -52812,7 +53110,7 @@ var Editor4 = React80.forwardRef(
|
|
|
52812
53110
|
Input,
|
|
52813
53111
|
{
|
|
52814
53112
|
placeholder: (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.percentCell.placeholder"),
|
|
52815
|
-
className:
|
|
53113
|
+
className: cx10("input-cell", "input-cell--right-aligned"),
|
|
52816
53114
|
defaultValue,
|
|
52817
53115
|
onBlur,
|
|
52818
53116
|
ref,
|
|
@@ -52862,7 +53160,7 @@ var Renderer8 = ({
|
|
|
52862
53160
|
);
|
|
52863
53161
|
};
|
|
52864
53162
|
var PersonCellRenderer = withDataTableRenderer(Renderer8, "select");
|
|
52865
|
-
var
|
|
53163
|
+
var cx11 = classnames.bind(styles_default);
|
|
52866
53164
|
var Renderer9 = ({
|
|
52867
53165
|
columnDefinition,
|
|
52868
53166
|
isGroup,
|
|
@@ -52880,7 +53178,7 @@ var Renderer9 = ({
|
|
|
52880
53178
|
return null;
|
|
52881
53179
|
}
|
|
52882
53180
|
if (columnDefinition.editable) {
|
|
52883
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53181
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx11("input-placeholder") }, placeholder || I18n.t("dataTable.cells.pillCell.placeholder", {
|
|
52884
53182
|
label: columnDefinition.headerName
|
|
52885
53183
|
}));
|
|
52886
53184
|
}
|
|
@@ -52890,7 +53188,7 @@ var Renderer9 = ({
|
|
|
52890
53188
|
if ((isGroup || rowPinned && columnDefinition.aggFunc) && !displayAsPill) {
|
|
52891
53189
|
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, weight: "semibold" }, label);
|
|
52892
53190
|
}
|
|
52893
|
-
return /* @__PURE__ */ React80.createElement(Pill, { color: getColor(value), className:
|
|
53191
|
+
return /* @__PURE__ */ React80.createElement(Pill, { color: getColor(value), className: cx11("pill-cell") }, label);
|
|
52894
53192
|
};
|
|
52895
53193
|
var PillCellRenderer = withDataTableRenderer(Renderer9, "select");
|
|
52896
53194
|
var Editor5 = React80.forwardRef(
|
|
@@ -52954,7 +53252,7 @@ var Editor5 = React80.forwardRef(
|
|
|
52954
53252
|
options,
|
|
52955
53253
|
ref,
|
|
52956
53254
|
value,
|
|
52957
|
-
className:
|
|
53255
|
+
className: cx11("input-cell")
|
|
52958
53256
|
}
|
|
52959
53257
|
);
|
|
52960
53258
|
}
|
|
@@ -53027,7 +53325,7 @@ function useSelectOptions(selectOptions, data) {
|
|
|
53027
53325
|
}
|
|
53028
53326
|
|
|
53029
53327
|
// src/CellRenderers/SelectCell.tsx
|
|
53030
|
-
var
|
|
53328
|
+
var cx12 = classnames.bind({ ...styles_default, ...truncation_default });
|
|
53031
53329
|
var Renderer10 = ({
|
|
53032
53330
|
columnDefinition,
|
|
53033
53331
|
isGroup,
|
|
@@ -53042,7 +53340,7 @@ var Renderer10 = ({
|
|
|
53042
53340
|
return null;
|
|
53043
53341
|
}
|
|
53044
53342
|
if (columnDefinition.editable) {
|
|
53045
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53343
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx12("truncatingText") }, placeholder || I18n.t("dataTable.cells.selectCell.placeholder", {
|
|
53046
53344
|
label: columnDefinition.headerName
|
|
53047
53345
|
}));
|
|
53048
53346
|
}
|
|
@@ -53052,14 +53350,14 @@ var Renderer10 = ({
|
|
|
53052
53350
|
return /* @__PURE__ */ React80.createElement(
|
|
53053
53351
|
Typography,
|
|
53054
53352
|
{
|
|
53055
|
-
className:
|
|
53353
|
+
className: cx12("truncatingText"),
|
|
53056
53354
|
...typographyProps,
|
|
53057
53355
|
weight: "semibold"
|
|
53058
53356
|
},
|
|
53059
53357
|
internalValue
|
|
53060
53358
|
);
|
|
53061
53359
|
}
|
|
53062
|
-
return /* @__PURE__ */ React80.createElement(Typography, { className:
|
|
53360
|
+
return /* @__PURE__ */ React80.createElement(Typography, { className: cx12("truncatingText"), ...typographyProps }, internalValue);
|
|
53063
53361
|
};
|
|
53064
53362
|
var SelectCellRenderer = withDataTableRenderer(Renderer10, "select");
|
|
53065
53363
|
var Editor6 = React80.forwardRef(
|
|
@@ -53126,7 +53424,7 @@ var Editor6 = React80.forwardRef(
|
|
|
53126
53424
|
onClear: clearable ? onClear : void 0,
|
|
53127
53425
|
onScrollBottom,
|
|
53128
53426
|
ref,
|
|
53129
|
-
className:
|
|
53427
|
+
className: cx12("input-cell", "truncatingText")
|
|
53130
53428
|
},
|
|
53131
53429
|
(searchResultOptions || options).map((item) => /* @__PURE__ */ React80.createElement(
|
|
53132
53430
|
Select.Option,
|
|
@@ -53141,7 +53439,7 @@ var Editor6 = React80.forwardRef(
|
|
|
53141
53439
|
}
|
|
53142
53440
|
);
|
|
53143
53441
|
var SelectCellEditor2 = withDataTableEditor(Editor6, "select");
|
|
53144
|
-
var
|
|
53442
|
+
var cx13 = classnames.bind({ ...styles_default, ...truncation_default });
|
|
53145
53443
|
var Renderer11 = ({
|
|
53146
53444
|
columnDefinition,
|
|
53147
53445
|
rowHeight,
|
|
@@ -53157,10 +53455,10 @@ var Renderer11 = ({
|
|
|
53157
53455
|
if (isGroup) {
|
|
53158
53456
|
return null;
|
|
53159
53457
|
}
|
|
53160
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53458
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx13("input-placeholder") }, (inputProps == null ? void 0 : inputProps.placeholder) || I18n.t("dataTable.cells.textCell.placeholder"));
|
|
53161
53459
|
}
|
|
53162
53460
|
const internalValue = ((_a = columnDefinition.getStringFormattedValue) == null ? void 0 : _a.call(columnDefinition, value)) ?? value;
|
|
53163
|
-
const className =
|
|
53461
|
+
const className = cx13(
|
|
53164
53462
|
typographyProps == null ? void 0 : typographyProps.className,
|
|
53165
53463
|
"textCell",
|
|
53166
53464
|
"truncatingText",
|
|
@@ -53196,7 +53494,7 @@ var Editor7 = React80.forwardRef(
|
|
|
53196
53494
|
return /* @__PURE__ */ React80.createElement(
|
|
53197
53495
|
Input,
|
|
53198
53496
|
{
|
|
53199
|
-
className:
|
|
53497
|
+
className: cx13("input-cell"),
|
|
53200
53498
|
defaultValue: internalValue,
|
|
53201
53499
|
onBlur,
|
|
53202
53500
|
ref,
|
|
@@ -53217,7 +53515,7 @@ var GrandTotalsLabelRenderer = (props) => {
|
|
|
53217
53515
|
}
|
|
53218
53516
|
return null;
|
|
53219
53517
|
};
|
|
53220
|
-
var
|
|
53518
|
+
var cx14 = classnames.bind({ ...styles_default });
|
|
53221
53519
|
var Renderer12 = ({
|
|
53222
53520
|
columnDefinition,
|
|
53223
53521
|
node,
|
|
@@ -53232,7 +53530,7 @@ var Renderer12 = ({
|
|
|
53232
53530
|
if (isGroup) {
|
|
53233
53531
|
return null;
|
|
53234
53532
|
}
|
|
53235
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53533
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx14("input-placeholder") }, (textAreaProps == null ? void 0 : textAreaProps.placeholder) || I18n.t("dataTable.cells.textCell.placeholder"));
|
|
53236
53534
|
}
|
|
53237
53535
|
const internalValue = ((_a = columnDefinition.getStringFormattedValue) == null ? void 0 : _a.call(columnDefinition, value)) ?? value;
|
|
53238
53536
|
if (isGroup) {
|
|
@@ -53247,7 +53545,7 @@ var Renderer12 = ({
|
|
|
53247
53545
|
(node == null ? void 0 : node.footer) ? value : internalValue
|
|
53248
53546
|
);
|
|
53249
53547
|
}
|
|
53250
|
-
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className:
|
|
53548
|
+
return /* @__PURE__ */ React80.createElement(Typography, { ...typographyProps, className: cx14("textarea-cell", "text") }, internalValue);
|
|
53251
53549
|
};
|
|
53252
53550
|
var Editor8 = React80.forwardRef(
|
|
53253
53551
|
({ columnDefinition, stopEditing, value, textAreaProps }, ref) => {
|
|
@@ -53260,7 +53558,7 @@ var Editor8 = React80.forwardRef(
|
|
|
53260
53558
|
return /* @__PURE__ */ React80.createElement(
|
|
53261
53559
|
TextArea,
|
|
53262
53560
|
{
|
|
53263
|
-
className:
|
|
53561
|
+
className: cx14("textarea-cell", "editor-text"),
|
|
53264
53562
|
defaultValue: internalValue,
|
|
53265
53563
|
onBlur,
|
|
53266
53564
|
ref,
|
|
@@ -55783,7 +56081,7 @@ var CellTooltipWrapper = ({
|
|
|
55783
56081
|
/* @__PURE__ */ React80.createElement(Flex, { alignItems: "center", style: { width: "100%" } }, children)
|
|
55784
56082
|
);
|
|
55785
56083
|
};
|
|
55786
|
-
var
|
|
56084
|
+
var cx15 = classNames.bind(styles_exports);
|
|
55787
56085
|
var InlineEditError = React80.forwardRef(function InlineError({ errorMessage }, ref) {
|
|
55788
56086
|
const buttonRef = React80.useRef(null);
|
|
55789
56087
|
React80.useImperativeHandle(ref, () => ({
|
|
@@ -55798,7 +56096,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55798
56096
|
}));
|
|
55799
56097
|
const hasMessage = Array.isArray(errorMessage) ? errorMessage.length > 0 : Boolean(errorMessage);
|
|
55800
56098
|
const overlay = Array.isArray(errorMessage) ? /* @__PURE__ */ React80.createElement(Tooltip.Content, null, errorMessage.map((err) => /* @__PURE__ */ React80.createElement("div", { key: err }, err))) : errorMessage;
|
|
55801
|
-
return /* @__PURE__ */ React80.createElement("div", { className:
|
|
56099
|
+
return /* @__PURE__ */ React80.createElement("div", { className: cx15("cell-error") }, /* @__PURE__ */ React80.createElement(
|
|
55802
56100
|
Tooltip,
|
|
55803
56101
|
{
|
|
55804
56102
|
ref: buttonRef,
|
|
@@ -55808,7 +56106,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55808
56106
|
/* @__PURE__ */ React80.createElement(
|
|
55809
56107
|
Button,
|
|
55810
56108
|
{
|
|
55811
|
-
className:
|
|
56109
|
+
className: cx15("cell-error__button"),
|
|
55812
56110
|
variant: "tertiary",
|
|
55813
56111
|
size: "sm"
|
|
55814
56112
|
},
|
|
@@ -55818,7 +56116,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55818
56116
|
});
|
|
55819
56117
|
|
|
55820
56118
|
// src/CellRenderers/InlineEditWrapper.tsx
|
|
55821
|
-
var
|
|
56119
|
+
var cx16 = classnames.bind({ ...styles_default, ...truncation_default });
|
|
55822
56120
|
function PseudoInlineEditorWrapper({
|
|
55823
56121
|
alwaysShowEditors = false,
|
|
55824
56122
|
rightAligned = false,
|
|
@@ -55835,7 +56133,7 @@ function PseudoInlineEditorWrapper({
|
|
|
55835
56133
|
return /* @__PURE__ */ React80.createElement(
|
|
55836
56134
|
"div",
|
|
55837
56135
|
{
|
|
55838
|
-
className:
|
|
56136
|
+
className: cx16("pseudo-inline-edit-wrapper", {
|
|
55839
56137
|
"inline-wrapper--right-aligned": rightAligned,
|
|
55840
56138
|
"inline-wrapper--with-show-pseudo-editors": alwaysShowEditors
|
|
55841
56139
|
})
|
|
@@ -55843,7 +56141,7 @@ function PseudoInlineEditorWrapper({
|
|
|
55843
56141
|
/* @__PURE__ */ React80.createElement(
|
|
55844
56142
|
"span",
|
|
55845
56143
|
{
|
|
55846
|
-
className:
|
|
56144
|
+
className: cx16("pseudo-inline-edit-content", "truncatingText", {
|
|
55847
56145
|
"pseudo-inline-edit-content--right-aligned": rightAligned,
|
|
55848
56146
|
"pseudo-inline-edit-content--with-arrow": showArrow,
|
|
55849
56147
|
"pseudo-inline-edit-content--with-clear": onClear,
|
|
@@ -55853,10 +56151,10 @@ function PseudoInlineEditorWrapper({
|
|
|
55853
56151
|
...props
|
|
55854
56152
|
},
|
|
55855
56153
|
children,
|
|
55856
|
-
/* @__PURE__ */ React80.createElement("div", { className:
|
|
55857
|
-
hasValue && onClear && /* @__PURE__ */ React80.createElement("div", { className:
|
|
55858
|
-
showArrow && /* @__PURE__ */ React80.createElement("div", { className:
|
|
55859
|
-
showCalendar && /* @__PURE__ */ React80.createElement("div", { className:
|
|
56154
|
+
/* @__PURE__ */ React80.createElement("div", { className: cx16("inline-edit-spacer") }),
|
|
56155
|
+
hasValue && onClear && /* @__PURE__ */ React80.createElement("div", { className: cx16("clear-wrapper") }, /* @__PURE__ */ React80.createElement(Clear, { size: "sm", onMouseDown: onClear })),
|
|
56156
|
+
showArrow && /* @__PURE__ */ React80.createElement("div", { className: cx16("arrow-down-wrapper") }, /* @__PURE__ */ React80.createElement("div", { className: cx16("arrow-down") })),
|
|
56157
|
+
showCalendar && /* @__PURE__ */ React80.createElement("div", { className: cx16("calendar-wrapper") }, /* @__PURE__ */ React80.createElement(Calendar$1, { size: "sm" }))
|
|
55860
56158
|
),
|
|
55861
56159
|
/* @__PURE__ */ React80.createElement(
|
|
55862
56160
|
ValidationOutput,
|
|
@@ -55872,7 +56170,7 @@ var InlineEditorWrapper = React80.forwardRef(function InlineEditorWrapper2({ rig
|
|
|
55872
56170
|
return /* @__PURE__ */ React80.createElement(
|
|
55873
56171
|
"div",
|
|
55874
56172
|
{
|
|
55875
|
-
className:
|
|
56173
|
+
className: cx16("inline-edit-wrapper", {
|
|
55876
56174
|
"inline-wrapper--right-aligned": rightAligned
|
|
55877
56175
|
})
|
|
55878
56176
|
},
|
|
@@ -55900,7 +56198,7 @@ var NonEditorWrapper = React80.forwardRef(function NonEditorWrapper2({
|
|
|
55900
56198
|
return /* @__PURE__ */ React80.createElement(
|
|
55901
56199
|
"div",
|
|
55902
56200
|
{
|
|
55903
|
-
className:
|
|
56201
|
+
className: cx16("inline-nonedit-wrapper", {
|
|
55904
56202
|
"inline-wrapper--right-aligned": rightAligned
|
|
55905
56203
|
})
|
|
55906
56204
|
},
|
|
@@ -55920,7 +56218,7 @@ var NonEditorWrapper = React80.forwardRef(function NonEditorWrapper2({
|
|
|
55920
56218
|
});
|
|
55921
56219
|
var ValidationOutput = React80.forwardRef(function ValidationOutput2({ isRequired, isValid, errorMessage, rowPinned }, ref) {
|
|
55922
56220
|
const showError = !isValid && errorMessage;
|
|
55923
|
-
return /* @__PURE__ */ React80.createElement(React80.Fragment, null, !showError && isRequired && !rowPinned && /* @__PURE__ */ React80.createElement(Required, { className:
|
|
56221
|
+
return /* @__PURE__ */ React80.createElement(React80.Fragment, null, !showError && isRequired && !rowPinned && /* @__PURE__ */ React80.createElement(Required, { className: cx16("cell-asterisk") }), showError && /* @__PURE__ */ React80.createElement(InlineEditError, { ref, errorMessage }));
|
|
55924
56222
|
});
|
|
55925
56223
|
|
|
55926
56224
|
// src/CellRenderers/DataTableCell.tsx
|
|
@@ -57457,7 +57755,7 @@ function rowSelectedEnabledForAnyRows(rowSelectionEnabled, columnDefinitions, gr
|
|
|
57457
57755
|
}
|
|
57458
57756
|
|
|
57459
57757
|
// src/CellRenderers/MultiSelectCell.tsx
|
|
57460
|
-
var
|
|
57758
|
+
var cx17 = classnames.bind(peopleCellStyles_default);
|
|
57461
57759
|
var emptyArray = [];
|
|
57462
57760
|
var commaToken = ", ";
|
|
57463
57761
|
function getValue(func, value, fallback) {
|
|
@@ -57497,7 +57795,7 @@ var InternalMultiSelectCellRenderer = ({
|
|
|
57497
57795
|
{
|
|
57498
57796
|
as: "ol",
|
|
57499
57797
|
...typographyProps,
|
|
57500
|
-
className:
|
|
57798
|
+
className: cx17("inlineListItems", "truncatingText", {
|
|
57501
57799
|
"truncatingText--md": rowHeight === rowSize.md,
|
|
57502
57800
|
"truncatingText--lg": rowHeight === rowSize.lg
|
|
57503
57801
|
}),
|
|
@@ -57959,7 +58257,7 @@ var quickControlsStyles_default = {
|
|
|
57959
58257
|
};
|
|
57960
58258
|
|
|
57961
58259
|
// src/QuickControls/ServerSideSearch.tsx
|
|
57962
|
-
var
|
|
58260
|
+
var cx18 = classnames.bind(quickControlsStyles_default);
|
|
57963
58261
|
var DEFAULT_DEBOUNCE_DELAY = 250;
|
|
57964
58262
|
function useSearchStorage() {
|
|
57965
58263
|
const [searchValue, setSearchValue] = React80.useState("");
|
|
@@ -58002,7 +58300,7 @@ var ServerSideSearch = ({
|
|
|
58002
58300
|
{
|
|
58003
58301
|
disabled: hasNoContent || disabled,
|
|
58004
58302
|
value: internalValue,
|
|
58005
|
-
className:
|
|
58303
|
+
className: cx18("search", { "search--empty": !internalValue.length }),
|
|
58006
58304
|
onChange,
|
|
58007
58305
|
placeholder: resolvedPlaceholder,
|
|
58008
58306
|
"aria-label": resolvedPlaceholder
|
|
@@ -77772,15 +78070,15 @@ var Matrix = class _Matrix {
|
|
|
77772
78070
|
const yy = elements[3];
|
|
77773
78071
|
const h_w = bbox.width * 0.5;
|
|
77774
78072
|
const h_h = bbox.height * 0.5;
|
|
77775
|
-
const
|
|
78073
|
+
const cx23 = bbox.x + h_w;
|
|
77776
78074
|
const cy = bbox.y + h_h;
|
|
77777
78075
|
const w = Math.abs(h_w * xx) + Math.abs(h_h * yx);
|
|
77778
78076
|
const h = Math.abs(h_w * xy) + Math.abs(h_h * yy);
|
|
77779
78077
|
if (!target) {
|
|
77780
78078
|
target = new BBox(0, 0, 0, 0);
|
|
77781
78079
|
}
|
|
77782
|
-
target.x =
|
|
77783
|
-
target.y =
|
|
78080
|
+
target.x = cx23 * xx + cy * yx + elements[4] - w;
|
|
78081
|
+
target.y = cx23 * xy + cy * yy + elements[5] - h;
|
|
77784
78082
|
target.width = w + w;
|
|
77785
78083
|
target.height = h + h;
|
|
77786
78084
|
return target;
|
|
@@ -79295,7 +79593,7 @@ var LinearGradient = class extends Gradient {
|
|
|
79295
79593
|
const sin = Math.sin(radians);
|
|
79296
79594
|
const w = bbox.width;
|
|
79297
79595
|
const h = bbox.height;
|
|
79298
|
-
const
|
|
79596
|
+
const cx23 = bbox.x + w * 0.5;
|
|
79299
79597
|
const cy = bbox.y + h * 0.5;
|
|
79300
79598
|
if (w > 0 && h > 0) {
|
|
79301
79599
|
const diagonal = Math.sqrt(h * h + w * w) / 2;
|
|
@@ -79311,7 +79609,7 @@ var LinearGradient = class extends Gradient {
|
|
|
79311
79609
|
quarteredAngle = 2 * Math.PI - radians;
|
|
79312
79610
|
}
|
|
79313
79611
|
const l = diagonal * Math.abs(Math.cos(quarteredAngle - diagonalAngle));
|
|
79314
|
-
const gradient = ctx.createLinearGradient(
|
|
79612
|
+
const gradient = ctx.createLinearGradient(cx23 + cos * l, cy + sin * l, cx23 - cos * l, cy - sin * l);
|
|
79315
79613
|
stops.forEach((stop) => {
|
|
79316
79614
|
gradient.addColorStop(stop.offset, stop.color);
|
|
79317
79615
|
});
|
|
@@ -84550,12 +84848,12 @@ function bezierCoefficients(P1, P2, P3, P4) {
|
|
|
84550
84848
|
// | 1 0 0 0| |P4|
|
|
84551
84849
|
];
|
|
84552
84850
|
}
|
|
84553
|
-
function arcIntersections(
|
|
84851
|
+
function arcIntersections(cx23, cy, r2, startAngle, endAngle, counterClockwise, x1, y1, x2, y2) {
|
|
84554
84852
|
const k = (y2 - y1) / (x2 - x1);
|
|
84555
84853
|
const y0 = y1 - k * x1;
|
|
84556
84854
|
const a = Math.pow(k, 2) + 1;
|
|
84557
|
-
const b = 2 * (k * (y0 - cy) -
|
|
84558
|
-
const c = Math.pow(
|
|
84855
|
+
const b = 2 * (k * (y0 - cy) - cx23);
|
|
84856
|
+
const c = Math.pow(cx23, 2) + Math.pow(y0 - cy, 2) - Math.pow(r2, 2);
|
|
84559
84857
|
const d = Math.pow(b, 2) - 4 * a * c;
|
|
84560
84858
|
if (d < 0) {
|
|
84561
84859
|
return [];
|
|
@@ -84692,12 +84990,12 @@ var Path2D = class {
|
|
|
84692
84990
|
this.commands.push(Command.Arc);
|
|
84693
84991
|
this.params.push(x, y, r2, sAngle, eAngle, antiClockwise ? 1 : 0);
|
|
84694
84992
|
}
|
|
84695
|
-
cubicCurveTo(cx1, cy1,
|
|
84993
|
+
cubicCurveTo(cx1, cy1, cx23, cy2, x, y) {
|
|
84696
84994
|
if (!this.xy) {
|
|
84697
84995
|
this.moveTo(cx1, cy1);
|
|
84698
84996
|
}
|
|
84699
84997
|
this.commands.push(Command.Curve);
|
|
84700
|
-
this.params.push(cx1, cy1,
|
|
84998
|
+
this.params.push(cx1, cy1, cx23, cy2, x, y);
|
|
84701
84999
|
if (this.xy) {
|
|
84702
85000
|
this.xy[0] = x;
|
|
84703
85001
|
this.xy[1] = y;
|
|
@@ -91470,19 +91768,19 @@ var PieSeries = class extends PolarSeries {
|
|
|
91470
91768
|
const isMoved = label.collisionTextAlign || label.collisionOffsetY !== 0;
|
|
91471
91769
|
if (isMoved && label.box != null) {
|
|
91472
91770
|
const box = label.box;
|
|
91473
|
-
let
|
|
91771
|
+
let cx23 = x2;
|
|
91474
91772
|
let cy = y2;
|
|
91475
91773
|
if (x2 < box.x) {
|
|
91476
|
-
|
|
91774
|
+
cx23 = box.x;
|
|
91477
91775
|
} else if (x2 > box.x + box.width) {
|
|
91478
|
-
|
|
91776
|
+
cx23 = box.x + box.width;
|
|
91479
91777
|
}
|
|
91480
91778
|
if (y2 < box.y) {
|
|
91481
91779
|
cy = box.y;
|
|
91482
91780
|
} else if (y2 > box.y + box.height) {
|
|
91483
91781
|
cy = box.y + box.height;
|
|
91484
91782
|
}
|
|
91485
|
-
const dx =
|
|
91783
|
+
const dx = cx23 - x2;
|
|
91486
91784
|
const dy = cy - y2;
|
|
91487
91785
|
const length = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
|
|
91488
91786
|
const paddedLength = length - offset4;
|
|
@@ -93793,7 +94091,7 @@ var PolarChart = class extends Chart {
|
|
|
93793
94091
|
return shrinkRect;
|
|
93794
94092
|
});
|
|
93795
94093
|
}
|
|
93796
|
-
updateAxes(
|
|
94094
|
+
updateAxes(cx23, cy, radius) {
|
|
93797
94095
|
var _a;
|
|
93798
94096
|
this.axes.forEach((axis) => {
|
|
93799
94097
|
var _a2;
|
|
@@ -93801,11 +94099,11 @@ var PolarChart = class extends Chart {
|
|
|
93801
94099
|
const rotation = toRadians((_a2 = axis.rotation) !== null && _a2 !== void 0 ? _a2 : 0);
|
|
93802
94100
|
axis.range = [-Math.PI / 2 + rotation, 3 * Math.PI / 2 + rotation];
|
|
93803
94101
|
axis.gridLength = radius;
|
|
93804
|
-
axis.translation.x =
|
|
94102
|
+
axis.translation.x = cx23;
|
|
93805
94103
|
axis.translation.y = cy;
|
|
93806
94104
|
} else if (axis.direction === ChartAxisDirection.Y) {
|
|
93807
94105
|
axis.range = [radius, 0];
|
|
93808
|
-
axis.translation.x =
|
|
94106
|
+
axis.translation.x = cx23;
|
|
93809
94107
|
axis.translation.y = cy - radius;
|
|
93810
94108
|
}
|
|
93811
94109
|
axis.updateScale();
|
|
@@ -93830,10 +94128,10 @@ var PolarChart = class extends Chart {
|
|
|
93830
94128
|
const polarAxes = this.axes.filter((axis) => {
|
|
93831
94129
|
return axis instanceof PolarAxis;
|
|
93832
94130
|
});
|
|
93833
|
-
const setSeriesCircle = (
|
|
93834
|
-
this.updateAxes(
|
|
94131
|
+
const setSeriesCircle = (cx23, cy, r2) => {
|
|
94132
|
+
this.updateAxes(cx23, cy, r2);
|
|
93835
94133
|
polarSeries.forEach((series) => {
|
|
93836
|
-
series.centerX =
|
|
94134
|
+
series.centerX = cx23;
|
|
93837
94135
|
series.centerY = cy;
|
|
93838
94136
|
series.radius = r2;
|
|
93839
94137
|
});
|
|
@@ -103465,264 +103763,6 @@ var SparklinesModule = {
|
|
|
103465
103763
|
userComponents: [{ componentName: "agSparklineCellRenderer", componentClass: SparklineCellRenderer }],
|
|
103466
103764
|
dependantModules: [EnterpriseCoreModule]
|
|
103467
103765
|
};
|
|
103468
|
-
var $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (React80).useLayoutEffect : () => {
|
|
103469
|
-
};
|
|
103470
|
-
var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
|
|
103471
|
-
var $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (React80)["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);
|
|
103472
|
-
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
103473
|
-
const ref = (useRef)(null);
|
|
103474
|
-
$8ae05eaa5c114e9c$var$useEarlyEffect(() => {
|
|
103475
|
-
ref.current = fn;
|
|
103476
|
-
}, [
|
|
103477
|
-
fn
|
|
103478
|
-
]);
|
|
103479
|
-
return (useCallback)((...args) => {
|
|
103480
|
-
const f = ref.current;
|
|
103481
|
-
return f === null || f === void 0 ? void 0 : f(...args);
|
|
103482
|
-
}, []);
|
|
103483
|
-
}
|
|
103484
|
-
var $b5e257d569688ac6$var$defaultContext = {
|
|
103485
|
-
prefix: String(Math.round(Math.random() * 1e10)),
|
|
103486
|
-
current: 0
|
|
103487
|
-
};
|
|
103488
|
-
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80).createContext($b5e257d569688ac6$var$defaultContext);
|
|
103489
|
-
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80).createContext(false);
|
|
103490
|
-
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103491
|
-
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
103492
|
-
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
103493
|
-
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103494
|
-
let ref = (useRef)(null);
|
|
103495
|
-
if (ref.current === null && !isDisabled) {
|
|
103496
|
-
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
103497
|
-
let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = (React80).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
|
|
103498
|
-
if (currentOwner) {
|
|
103499
|
-
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
103500
|
-
if (prevComponentValue == null)
|
|
103501
|
-
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
103502
|
-
id: ctx.current,
|
|
103503
|
-
state: currentOwner.memoizedState
|
|
103504
|
-
});
|
|
103505
|
-
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
103506
|
-
ctx.current = prevComponentValue.id;
|
|
103507
|
-
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
103508
|
-
}
|
|
103509
|
-
}
|
|
103510
|
-
ref.current = ++ctx.current;
|
|
103511
|
-
}
|
|
103512
|
-
return ref.current;
|
|
103513
|
-
}
|
|
103514
|
-
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
103515
|
-
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103516
|
-
if (ctx === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM && process.env.NODE_ENV !== "production") console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
103517
|
-
let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
103518
|
-
let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
|
|
103519
|
-
return defaultId || `${prefix}-${counter2}`;
|
|
103520
|
-
}
|
|
103521
|
-
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
103522
|
-
let id = (React80).useId();
|
|
103523
|
-
let [didSSR] = (useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
103524
|
-
let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
103525
|
-
return defaultId || `${prefix}-${id}`;
|
|
103526
|
-
}
|
|
103527
|
-
var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
103528
|
-
function $b5e257d569688ac6$var$getSnapshot() {
|
|
103529
|
-
return false;
|
|
103530
|
-
}
|
|
103531
|
-
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
103532
|
-
return true;
|
|
103533
|
-
}
|
|
103534
|
-
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
103535
|
-
return () => {
|
|
103536
|
-
};
|
|
103537
|
-
}
|
|
103538
|
-
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
103539
|
-
if (typeof (React80)["useSyncExternalStore"] === "function") return (React80)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
103540
|
-
return (useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
103541
|
-
}
|
|
103542
|
-
|
|
103543
|
-
// ../../node_modules/@react-aria/utils/dist/useId.mjs
|
|
103544
|
-
var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103545
|
-
var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
103546
|
-
var $bdb11010cef70236$var$registry;
|
|
103547
|
-
if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
|
|
103548
|
-
$bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
|
|
103549
|
-
});
|
|
103550
|
-
function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
|
|
103551
|
-
let [value, setValue] = (useState)(defaultId);
|
|
103552
|
-
let nextId = (useRef)(null);
|
|
103553
|
-
let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
|
|
103554
|
-
let cleanupRef = (useRef)(null);
|
|
103555
|
-
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
|
|
103556
|
-
if ($bdb11010cef70236$var$canUseDOM) {
|
|
103557
|
-
const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
|
|
103558
|
-
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
103559
|
-
else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
|
|
103560
|
-
nextId
|
|
103561
|
-
]);
|
|
103562
|
-
}
|
|
103563
|
-
($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
|
|
103564
|
-
let r2 = res;
|
|
103565
|
-
return () => {
|
|
103566
|
-
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
|
|
103567
|
-
$bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
|
|
103568
|
-
};
|
|
103569
|
-
}, [
|
|
103570
|
-
res
|
|
103571
|
-
]);
|
|
103572
|
-
(useEffect)(() => {
|
|
103573
|
-
let newId = nextId.current;
|
|
103574
|
-
if (newId) setValue(newId);
|
|
103575
|
-
return () => {
|
|
103576
|
-
if (newId) nextId.current = null;
|
|
103577
|
-
};
|
|
103578
|
-
});
|
|
103579
|
-
return res;
|
|
103580
|
-
}
|
|
103581
|
-
function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
|
|
103582
|
-
if (idA === idB) return idA;
|
|
103583
|
-
let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
|
|
103584
|
-
if (setIdsA) {
|
|
103585
|
-
setIdsA.forEach((ref) => ref.current = idB);
|
|
103586
|
-
return idB;
|
|
103587
|
-
}
|
|
103588
|
-
let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);
|
|
103589
|
-
if (setIdsB) {
|
|
103590
|
-
setIdsB.forEach((ref) => ref.current = idA);
|
|
103591
|
-
return idA;
|
|
103592
|
-
}
|
|
103593
|
-
return idB;
|
|
103594
|
-
}
|
|
103595
|
-
|
|
103596
|
-
// ../../node_modules/@react-aria/utils/dist/chain.mjs
|
|
103597
|
-
function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
|
|
103598
|
-
return (...args) => {
|
|
103599
|
-
for (let callback of callbacks) if (typeof callback === "function") callback(...args);
|
|
103600
|
-
};
|
|
103601
|
-
}
|
|
103602
|
-
|
|
103603
|
-
// ../../node_modules/@react-aria/utils/dist/domHelpers.mjs
|
|
103604
|
-
var $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
103605
|
-
var _el_ownerDocument;
|
|
103606
|
-
return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
|
|
103607
|
-
};
|
|
103608
|
-
function $431fbd86ca7dc216$var$isNode(value) {
|
|
103609
|
-
return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
|
|
103610
|
-
}
|
|
103611
|
-
function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
|
|
103612
|
-
return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
|
|
103613
|
-
}
|
|
103614
|
-
|
|
103615
|
-
// ../../node_modules/@react-stately/flags/dist/import.mjs
|
|
103616
|
-
var $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
103617
|
-
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
103618
|
-
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
103619
|
-
}
|
|
103620
|
-
|
|
103621
|
-
// ../../node_modules/@react-aria/utils/dist/DOMFunctions.mjs
|
|
103622
|
-
function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
|
|
103623
|
-
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return otherNode && node ? node.contains(otherNode) : false;
|
|
103624
|
-
if (!node || !otherNode) return false;
|
|
103625
|
-
let currentNode = otherNode;
|
|
103626
|
-
while (currentNode !== null) {
|
|
103627
|
-
if (currentNode === node) return true;
|
|
103628
|
-
if (currentNode.tagName === "SLOT" && currentNode.assignedSlot)
|
|
103629
|
-
currentNode = currentNode.assignedSlot.parentNode;
|
|
103630
|
-
else if (($431fbd86ca7dc216$export$af51f0f06c0f328a)(currentNode))
|
|
103631
|
-
currentNode = currentNode.host;
|
|
103632
|
-
else currentNode = currentNode.parentNode;
|
|
103633
|
-
}
|
|
103634
|
-
return false;
|
|
103635
|
-
}
|
|
103636
|
-
var $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
|
|
103637
|
-
var _activeElement_shadowRoot;
|
|
103638
|
-
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return doc.activeElement;
|
|
103639
|
-
let activeElement = doc.activeElement;
|
|
103640
|
-
while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
|
|
103641
|
-
return activeElement;
|
|
103642
|
-
};
|
|
103643
|
-
function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
|
|
103644
|
-
if (($f4e2df6bd15f8569$export$98658e8c59125e6a)() && event.target.shadowRoot) {
|
|
103645
|
-
if (event.composedPath) return event.composedPath()[0];
|
|
103646
|
-
}
|
|
103647
|
-
return event.target;
|
|
103648
|
-
}
|
|
103649
|
-
|
|
103650
|
-
// ../../node_modules/clsx/dist/clsx.mjs
|
|
103651
|
-
function r(e) {
|
|
103652
|
-
var t, f, n = "";
|
|
103653
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
103654
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
103655
|
-
var o = e.length;
|
|
103656
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
103657
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
103658
|
-
return n;
|
|
103659
|
-
}
|
|
103660
|
-
function clsx() {
|
|
103661
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
103662
|
-
return n;
|
|
103663
|
-
}
|
|
103664
|
-
var clsx_default = clsx;
|
|
103665
|
-
|
|
103666
|
-
// ../../node_modules/@react-aria/utils/dist/mergeProps.mjs
|
|
103667
|
-
function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
|
|
103668
|
-
let result = {
|
|
103669
|
-
...args[0]
|
|
103670
|
-
};
|
|
103671
|
-
for (let i = 1; i < args.length; i++) {
|
|
103672
|
-
let props = args[i];
|
|
103673
|
-
for (let key in props) {
|
|
103674
|
-
let a = result[key];
|
|
103675
|
-
let b = props[key];
|
|
103676
|
-
if (typeof a === "function" && typeof b === "function" && // This is a lot faster than a regex.
|
|
103677
|
-
key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= /* 'A' */
|
|
103678
|
-
65 && key.charCodeAt(2) <= /* 'Z' */
|
|
103679
|
-
90) result[key] = ($ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);
|
|
103680
|
-
else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = (clsx_default)(a, b);
|
|
103681
|
-
else if (key === "id" && a && b) result.id = ($bdb11010cef70236$export$cd8c9cb68f842629)(a, b);
|
|
103682
|
-
else result[key] = b !== void 0 ? b : a;
|
|
103683
|
-
}
|
|
103684
|
-
}
|
|
103685
|
-
return result;
|
|
103686
|
-
}
|
|
103687
|
-
function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
103688
|
-
let globalListeners = (useRef)(/* @__PURE__ */ new Map());
|
|
103689
|
-
let addGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
103690
|
-
let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
|
|
103691
|
-
globalListeners.current.delete(listener);
|
|
103692
|
-
listener(...args);
|
|
103693
|
-
} : listener;
|
|
103694
|
-
globalListeners.current.set(listener, {
|
|
103695
|
-
type,
|
|
103696
|
-
eventTarget,
|
|
103697
|
-
fn,
|
|
103698
|
-
options
|
|
103699
|
-
});
|
|
103700
|
-
eventTarget.addEventListener(type, fn, options);
|
|
103701
|
-
}, []);
|
|
103702
|
-
let removeGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
103703
|
-
var _globalListeners_current_get;
|
|
103704
|
-
let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
|
|
103705
|
-
eventTarget.removeEventListener(type, fn, options);
|
|
103706
|
-
globalListeners.current.delete(listener);
|
|
103707
|
-
}, []);
|
|
103708
|
-
let removeAllGlobalListeners = (useCallback)(() => {
|
|
103709
|
-
globalListeners.current.forEach((value, key) => {
|
|
103710
|
-
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
103711
|
-
});
|
|
103712
|
-
}, [
|
|
103713
|
-
removeGlobalListener
|
|
103714
|
-
]);
|
|
103715
|
-
(useEffect)(() => {
|
|
103716
|
-
return removeAllGlobalListeners;
|
|
103717
|
-
}, [
|
|
103718
|
-
removeAllGlobalListeners
|
|
103719
|
-
]);
|
|
103720
|
-
return {
|
|
103721
|
-
addGlobalListener,
|
|
103722
|
-
removeGlobalListener,
|
|
103723
|
-
removeAllGlobalListeners
|
|
103724
|
-
};
|
|
103725
|
-
}
|
|
103726
103766
|
function $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent) {
|
|
103727
103767
|
let event = nativeEvent;
|
|
103728
103768
|
event.nativeEvent = nativeEvent;
|
|
@@ -104663,7 +104703,7 @@ var configurationStyles_default = {
|
|
|
104663
104703
|
};
|
|
104664
104704
|
|
|
104665
104705
|
// src/Panels/Configuration.tsx
|
|
104666
|
-
var
|
|
104706
|
+
var cx19 = classnames.bind(configurationStyles_default);
|
|
104667
104707
|
var DELIMITER = "$$";
|
|
104668
104708
|
function isColGroupDef3(col) {
|
|
104669
104709
|
return (col == null ? void 0 : col.children) !== void 0;
|
|
@@ -104859,7 +104899,7 @@ var ConfigurationColumns = React80.forwardRef(
|
|
|
104859
104899
|
Flex,
|
|
104860
104900
|
{
|
|
104861
104901
|
alignItems: "center",
|
|
104862
|
-
className:
|
|
104902
|
+
className: cx19("column-controls"),
|
|
104863
104903
|
key: column2.field || column2.groupId,
|
|
104864
104904
|
marginTop: "xs",
|
|
104865
104905
|
padding: "sm",
|
|
@@ -104896,7 +104936,7 @@ var ConfigurationPanel = ({
|
|
|
104896
104936
|
const I18n = useI18nContext();
|
|
104897
104937
|
const configurationColumnsRef = React80.useRef();
|
|
104898
104938
|
const [isAllColumnsVisible, setIsAllColumnsVisible] = React80.useState(false);
|
|
104899
|
-
return /* @__PURE__ */ React80.createElement(Panel, null, /* @__PURE__ */ React80.createElement(Panel.Header, { onClose: contextPanel.hide }, /* @__PURE__ */ React80.createElement(Panel.Title, null, I18n.t("dataTable.tableSettings.tableSettings"))), /* @__PURE__ */ React80.createElement(Panel.Body, { className:
|
|
104939
|
+
return /* @__PURE__ */ React80.createElement(Panel, null, /* @__PURE__ */ React80.createElement(Panel.Header, { onClose: contextPanel.hide }, /* @__PURE__ */ React80.createElement(Panel.Title, null, I18n.t("dataTable.tableSettings.tableSettings"))), /* @__PURE__ */ React80.createElement(Panel.Body, { className: cx19("contextPanelBody") }, children && /* @__PURE__ */ React80.createElement(Panel.Section, null, children), !onServerSideDataRequest && !enableDynamicRowHeight && /* @__PURE__ */ React80.createElement(
|
|
104900
104940
|
Panel.Section,
|
|
104901
104941
|
{
|
|
104902
104942
|
"data-qa": "data-table-config-panel-section-row-height",
|
|
@@ -105479,6 +105519,7 @@ var de_DE_default = {
|
|
|
105479
105519
|
},
|
|
105480
105520
|
filterRenders: {
|
|
105481
105521
|
dateFilter: {
|
|
105522
|
+
invalidDate: "Geben Sie ein g\xFCltiges Datum ein.",
|
|
105482
105523
|
single: "Einzeln",
|
|
105483
105524
|
range: "Bereich"
|
|
105484
105525
|
}
|
|
@@ -105660,6 +105701,7 @@ var en_AU_default = {
|
|
|
105660
105701
|
},
|
|
105661
105702
|
filterRenders: {
|
|
105662
105703
|
dateFilter: {
|
|
105704
|
+
invalidDate: "Enter a valid date.",
|
|
105663
105705
|
single: "Single",
|
|
105664
105706
|
range: "Range"
|
|
105665
105707
|
}
|
|
@@ -105841,6 +105883,7 @@ var en_CA_default = {
|
|
|
105841
105883
|
},
|
|
105842
105884
|
filterRenders: {
|
|
105843
105885
|
dateFilter: {
|
|
105886
|
+
invalidDate: "Enter a valid date.",
|
|
105844
105887
|
single: "Single",
|
|
105845
105888
|
range: "Range"
|
|
105846
105889
|
}
|
|
@@ -106022,6 +106065,7 @@ var en_GB_default = {
|
|
|
106022
106065
|
},
|
|
106023
106066
|
filterRenders: {
|
|
106024
106067
|
dateFilter: {
|
|
106068
|
+
invalidDate: "Enter a valid date.",
|
|
106025
106069
|
single: "Single",
|
|
106026
106070
|
range: "Range"
|
|
106027
106071
|
}
|
|
@@ -106203,6 +106247,7 @@ var en_default = {
|
|
|
106203
106247
|
},
|
|
106204
106248
|
filterRenders: {
|
|
106205
106249
|
dateFilter: {
|
|
106250
|
+
invalidDate: "Enter a valid date.",
|
|
106206
106251
|
single: "Single",
|
|
106207
106252
|
range: "Range"
|
|
106208
106253
|
}
|
|
@@ -106384,6 +106429,7 @@ var es_ES_default = {
|
|
|
106384
106429
|
},
|
|
106385
106430
|
filterRenders: {
|
|
106386
106431
|
dateFilter: {
|
|
106432
|
+
invalidDate: "Introduzca una fecha v\xE1lida.",
|
|
106387
106433
|
single: "\xDAnica",
|
|
106388
106434
|
range: "Rango"
|
|
106389
106435
|
}
|
|
@@ -106494,7 +106540,7 @@ var es_default = {
|
|
|
106494
106540
|
sortCleared: "Ordenamiento borrado"
|
|
106495
106541
|
},
|
|
106496
106542
|
expandAllGroups: "Expandir todos los grupos",
|
|
106497
|
-
collapseAllGroups: "
|
|
106543
|
+
collapseAllGroups: "Contraer todos los grupos",
|
|
106498
106544
|
pinColumn: "Anclar columna",
|
|
106499
106545
|
pinLeft: "Anclar a la izquierda",
|
|
106500
106546
|
pinRight: "Anclar a la derecha",
|
|
@@ -106565,13 +106611,14 @@ var es_default = {
|
|
|
106565
106611
|
},
|
|
106566
106612
|
filterRenders: {
|
|
106567
106613
|
dateFilter: {
|
|
106614
|
+
invalidDate: "Ingrese una fecha v\xE1lida.",
|
|
106568
106615
|
single: "\xDAnico",
|
|
106569
106616
|
range: "Intervalo"
|
|
106570
106617
|
}
|
|
106571
106618
|
},
|
|
106572
106619
|
groupCell: {
|
|
106573
106620
|
expand: "Expandir grupo",
|
|
106574
|
-
collapse: "
|
|
106621
|
+
collapse: "Contraer grupo"
|
|
106575
106622
|
},
|
|
106576
106623
|
rowCheckbox: {
|
|
106577
106624
|
ariaLabel: "Seleccionar fila"
|
|
@@ -106746,6 +106793,7 @@ var fr_CA_default = {
|
|
|
106746
106793
|
},
|
|
106747
106794
|
filterRenders: {
|
|
106748
106795
|
dateFilter: {
|
|
106796
|
+
invalidDate: "Saisissez une date valide.",
|
|
106749
106797
|
single: "Unique",
|
|
106750
106798
|
range: "Intervalle"
|
|
106751
106799
|
}
|
|
@@ -106773,7 +106821,7 @@ var fr_FR_default = {
|
|
|
106773
106821
|
description: "Une fois que votre \xE9quipe a cr\xE9\xE9 ces \xE9l\xE9ments, vous pouvez y acc\xE9der ici. ",
|
|
106774
106822
|
title: "Aucun \xE9l\xE9ment \xE0 afficher pour l'instant",
|
|
106775
106823
|
itemsTitle: "Aucun %{itemsLabel} \xE0 afficher pour l'instant",
|
|
106776
|
-
tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au
|
|
106824
|
+
tooltip: "Le bouton %{featureName} sera activ\xE9 une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
106777
106825
|
searchTooltip: "La recherche sera activ\xE9e une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
106778
106826
|
featureFilter: "Filtrer",
|
|
106779
106827
|
featureQuickFilter: "Filtre rapide",
|
|
@@ -106927,6 +106975,7 @@ var fr_FR_default = {
|
|
|
106927
106975
|
},
|
|
106928
106976
|
filterRenders: {
|
|
106929
106977
|
dateFilter: {
|
|
106978
|
+
invalidDate: "Veuillez saisir une date valide.",
|
|
106930
106979
|
single: "Unique",
|
|
106931
106980
|
range: "Plage"
|
|
106932
106981
|
}
|
|
@@ -107108,6 +107157,7 @@ var is_IS_default = {
|
|
|
107108
107157
|
},
|
|
107109
107158
|
filterRenders: {
|
|
107110
107159
|
dateFilter: {
|
|
107160
|
+
invalidDate: "Sl\xE1\xF0u inn gilda dagsetningu.",
|
|
107111
107161
|
single: "Einhleypur",
|
|
107112
107162
|
range: "Svi\xF0"
|
|
107113
107163
|
}
|
|
@@ -107135,8 +107185,8 @@ var it_IT_default = {
|
|
|
107135
107185
|
description: "Gli elementi creati dal team saranno accessibili qui. ",
|
|
107136
107186
|
title: "Al momento non sono presenti elementi da visualizzare",
|
|
107137
107187
|
itemsTitle: "Al momento non sono presenti %{itemsLabel} da visualizzare",
|
|
107138
|
-
tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni
|
|
107139
|
-
searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni
|
|
107188
|
+
tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni alla %{tableName}",
|
|
107189
|
+
searchTooltip: "La ricerca sar\xE0 attivata dopo l'aggiunta delle informazioni alla %{tableName}",
|
|
107140
107190
|
featureFilter: "Filtro",
|
|
107141
107191
|
featureQuickFilter: "Filtro rapido",
|
|
107142
107192
|
featureGroupBy: "Raggruppa per",
|
|
@@ -107289,6 +107339,7 @@ var it_IT_default = {
|
|
|
107289
107339
|
},
|
|
107290
107340
|
filterRenders: {
|
|
107291
107341
|
dateFilter: {
|
|
107342
|
+
invalidDate: "Inserire una data valida.",
|
|
107292
107343
|
single: "Singolo",
|
|
107293
107344
|
range: "Intervallo"
|
|
107294
107345
|
}
|
|
@@ -107470,6 +107521,7 @@ var ja_JP_default = {
|
|
|
107470
107521
|
},
|
|
107471
107522
|
filterRenders: {
|
|
107472
107523
|
dateFilter: {
|
|
107524
|
+
invalidDate: "\u6709\u52B9\u306A\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
107473
107525
|
single: "\u5358\u72EC",
|
|
107474
107526
|
range: "\u7BC4\u56F2"
|
|
107475
107527
|
}
|
|
@@ -107490,12 +107542,12 @@ var nb_NO_default = {
|
|
|
107490
107542
|
emptyState: {
|
|
107491
107543
|
noFilteredResults: {
|
|
107492
107544
|
description: "Sjekk stavem\xE5ten og filteralternativene dine, eller s\xF8k etter et annet n\xF8kkelord.",
|
|
107493
|
-
title: "Ingen
|
|
107545
|
+
title: "Ingen enheter samsvarer med s\xF8ket ditt",
|
|
107494
107546
|
itemsTitle: "Ingen %{itemsLabel} samsvarer med s\xF8ket ditt"
|
|
107495
107547
|
},
|
|
107496
107548
|
noResults: {
|
|
107497
|
-
description: "N\xE5r teamet ditt har opprettet disse
|
|
107498
|
-
title: "Det er ingen
|
|
107549
|
+
description: "N\xE5r teamet ditt har opprettet disse enhetene, kan du f\xE5 tilgang til dem her. ",
|
|
107550
|
+
title: "Det er ingen enheter \xE5 vise akkurat n\xE5",
|
|
107499
107551
|
itemsTitle: "Det er ingen %{itemsLabel} \xE5 vise akkurat n\xE5",
|
|
107500
107552
|
tooltip: "%{featureName} -knappen vil bli aktivert n\xE5r du legger til informasjon i %{tableName}",
|
|
107501
107553
|
searchTooltip: "S\xF8k vil bli aktivert n\xE5r du legger til informasjon i %{tableName}",
|
|
@@ -107503,7 +107555,7 @@ var nb_NO_default = {
|
|
|
107503
107555
|
featureQuickFilter: "Hurtigfilter",
|
|
107504
107556
|
featureGroupBy: "Grupper etter",
|
|
107505
107557
|
featureConfigure: "Konfigurer",
|
|
107506
|
-
tableNameFallback: "
|
|
107558
|
+
tableNameFallback: "tabell"
|
|
107507
107559
|
}
|
|
107508
107560
|
},
|
|
107509
107561
|
bulkActions: {
|
|
@@ -107511,17 +107563,17 @@ var nb_NO_default = {
|
|
|
107511
107563
|
bulkEdit: "Masseendring",
|
|
107512
107564
|
cancel: "Avbryt",
|
|
107513
107565
|
editValues: "Rediger verdier",
|
|
107514
|
-
error: "Beklager,
|
|
107566
|
+
error: "Beklager, enhetene kunsne ikke oppdateres. Pr\xF8v igjen.",
|
|
107515
107567
|
placeholderForField: "Skriv inn %{fieldName}",
|
|
107516
107568
|
selection: "%{count} %{number} valgt",
|
|
107517
107569
|
selection_count: {
|
|
107518
|
-
zero: "%{count}
|
|
107519
|
-
one: "%{count}
|
|
107520
|
-
other: "%{count}
|
|
107570
|
+
zero: "%{count} enheter valgt",
|
|
107571
|
+
one: "%{count} enhet valgt",
|
|
107572
|
+
other: "%{count} enheter valgt"
|
|
107521
107573
|
},
|
|
107522
|
-
success: "
|
|
107523
|
-
one: "
|
|
107524
|
-
many: "
|
|
107574
|
+
success: "Enhetene ble oppdatert.",
|
|
107575
|
+
one: "enhet",
|
|
107576
|
+
many: "enheter"
|
|
107525
107577
|
},
|
|
107526
107578
|
exporting: "Eksporterer...",
|
|
107527
107579
|
filters: {
|
|
@@ -107534,14 +107586,14 @@ var nb_NO_default = {
|
|
|
107534
107586
|
locationFilter: {
|
|
107535
107587
|
selectAll: "Velg alle",
|
|
107536
107588
|
includeSublocations: "Inkluder underlokasjoner",
|
|
107537
|
-
searchLocations: "S\xF8k etter
|
|
107538
|
-
locations: "
|
|
107589
|
+
searchLocations: "S\xF8k etter lokasjoner",
|
|
107590
|
+
locations: "Lokasjoner"
|
|
107539
107591
|
},
|
|
107540
107592
|
numberFilter: {
|
|
107541
107593
|
labels: {
|
|
107542
107594
|
and: "og",
|
|
107543
|
-
input_placeholder: "
|
|
107544
|
-
placeholder: "Velg
|
|
107595
|
+
input_placeholder: "Skriv inn verdi",
|
|
107596
|
+
placeholder: "Velg en enhet"
|
|
107545
107597
|
},
|
|
107546
107598
|
options: {
|
|
107547
107599
|
any_value: "Enhver verdi",
|
|
@@ -107579,20 +107631,20 @@ var nb_NO_default = {
|
|
|
107579
107631
|
sortDescending: "sortert synkende",
|
|
107580
107632
|
sortCleared: "Sortering fjernet"
|
|
107581
107633
|
},
|
|
107582
|
-
expandAllGroups: "
|
|
107634
|
+
expandAllGroups: "Vis alle grupper",
|
|
107583
107635
|
collapseAllGroups: "Skjul alle grupper",
|
|
107584
107636
|
pinColumn: "Fest kolonne",
|
|
107585
107637
|
pinLeft: "Fest til venstre",
|
|
107586
107638
|
pinRight: "Fest til h\xF8yre",
|
|
107587
|
-
noPin: "
|
|
107639
|
+
noPin: "Ikke festet",
|
|
107588
107640
|
autoSizeThisColumn: "Tilpass kolonnebredden automatisk",
|
|
107589
|
-
autoSizeAllColumns: "Tilpass alle
|
|
107641
|
+
autoSizeAllColumns: "Tilpass alle kolonnebredder automatisk",
|
|
107590
107642
|
hideColumn: "Skjul kolonne",
|
|
107591
107643
|
resetColumns: "Tilbakestill kolonner",
|
|
107592
107644
|
unGroupBy: "Fjern gruppering etter {{label}}",
|
|
107593
107645
|
groupBy: "Grupper etter {{label}}"
|
|
107594
107646
|
},
|
|
107595
|
-
grandTotals: "
|
|
107647
|
+
grandTotals: "Totalsummer",
|
|
107596
107648
|
search: "S\xF8k",
|
|
107597
107649
|
subtotals: "Delsummer",
|
|
107598
107650
|
tableSettings: {
|
|
@@ -107602,7 +107654,7 @@ var nb_NO_default = {
|
|
|
107602
107654
|
small: "Liten",
|
|
107603
107655
|
medium: "Middels",
|
|
107604
107656
|
large: "Stor",
|
|
107605
|
-
tableSettings: "
|
|
107657
|
+
tableSettings: "Innstillinger for tabell",
|
|
107606
107658
|
groupBy: "Grupper etter:",
|
|
107607
107659
|
reset: "Tilbakestill",
|
|
107608
107660
|
selectColumnGroup: "Velg en kolonne \xE5 gruppere",
|
|
@@ -107615,14 +107667,14 @@ var nb_NO_default = {
|
|
|
107615
107667
|
},
|
|
107616
107668
|
columnGroupToggle: {
|
|
107617
107669
|
collapse: "Skjul kolonnegruppe",
|
|
107618
|
-
expand: "
|
|
107670
|
+
expand: "Vis kolonnegruppe"
|
|
107619
107671
|
},
|
|
107620
107672
|
cells: {
|
|
107621
107673
|
textCell: {
|
|
107622
107674
|
placeholder: "Skriv inn tekst"
|
|
107623
107675
|
},
|
|
107624
107676
|
currencyCell: {
|
|
107625
|
-
placeholder: "
|
|
107677
|
+
placeholder: "Skriv inn valuta"
|
|
107626
107678
|
},
|
|
107627
107679
|
linkCell: {
|
|
107628
107680
|
externalLabel: "\xC5pne ekstern kobling"
|
|
@@ -107651,12 +107703,13 @@ var nb_NO_default = {
|
|
|
107651
107703
|
},
|
|
107652
107704
|
filterRenders: {
|
|
107653
107705
|
dateFilter: {
|
|
107706
|
+
invalidDate: "Skriv inn en gyldig dato.",
|
|
107654
107707
|
single: "Enslig",
|
|
107655
107708
|
range: "Rekkevidde"
|
|
107656
107709
|
}
|
|
107657
107710
|
},
|
|
107658
107711
|
groupCell: {
|
|
107659
|
-
expand: "
|
|
107712
|
+
expand: "Vis gruppe",
|
|
107660
107713
|
collapse: "Skjul gruppe"
|
|
107661
107714
|
},
|
|
107662
107715
|
rowCheckbox: {
|
|
@@ -107679,7 +107732,7 @@ var pl_PL_default = {
|
|
|
107679
107732
|
title: "Obecnie nie ma pozycji do wy\u015Bwietlenia",
|
|
107680
107733
|
itemsTitle: "Obecnie nie ma %{itemsLabel} do wy\u015Bwietlenia",
|
|
107681
107734
|
tooltip: "Przycisk: %{featureName} zostanie w\u0142\u0105czony, gdy dodasz informacje do: %{tableName}",
|
|
107682
|
-
searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do %{tableName}",
|
|
107735
|
+
searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do: %{tableName}",
|
|
107683
107736
|
featureFilter: "Filtruj",
|
|
107684
107737
|
featureQuickFilter: "Szybki filtr",
|
|
107685
107738
|
featureGroupBy: "Grupuj wed\u0142ug",
|
|
@@ -107832,6 +107885,7 @@ var pl_PL_default = {
|
|
|
107832
107885
|
},
|
|
107833
107886
|
filterRenders: {
|
|
107834
107887
|
dateFilter: {
|
|
107888
|
+
invalidDate: "Wprowad\u017A prawid\u0142ow\u0105 dat\u0119.",
|
|
107835
107889
|
single: "Pojedyncze",
|
|
107836
107890
|
range: "Zakres"
|
|
107837
107891
|
}
|
|
@@ -108013,6 +108067,7 @@ var pseudo_default = {
|
|
|
108013
108067
|
},
|
|
108014
108068
|
filterRenders: {
|
|
108015
108069
|
dateFilter: {
|
|
108070
|
+
invalidDate: "[\u1E16\u1E16\u1E16\u1E16\u019E\u0167\u1E17\u0159 \xB7 \u0227 \xB7 \u1E7D\u0227\u0140\u012B\u1E13 \xB7 \u1E13\u0227\u0167\u1E17....]",
|
|
108016
108071
|
single: "[\u015E\u015E\u012B\u019E\u0260\u0140\u1E17\u1E17]",
|
|
108017
108072
|
range: "[\u0158\u0227\u019E\u0260\u1E17]"
|
|
108018
108073
|
}
|
|
@@ -108194,6 +108249,7 @@ var pt_BR_default = {
|
|
|
108194
108249
|
},
|
|
108195
108250
|
filterRenders: {
|
|
108196
108251
|
dateFilter: {
|
|
108252
|
+
invalidDate: "Insira uma data v\xE1lida.",
|
|
108197
108253
|
single: "\xDAnico",
|
|
108198
108254
|
range: "Intervalo"
|
|
108199
108255
|
}
|
|
@@ -108222,7 +108278,7 @@ var pt_PT_default = {
|
|
|
108222
108278
|
title: "N\xE3o h\xE1 itens para apresentar neste momento",
|
|
108223
108279
|
itemsTitle: "N\xE3o h\xE1 %{itemsLabel} para apresentar neste momento",
|
|
108224
108280
|
tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado quando adicionar informa\xE7\xF5es a %{tableName}",
|
|
108225
|
-
searchTooltip: "A pesquisa ser\xE1 ativada quando adicionar informa\xE7\xF5es
|
|
108281
|
+
searchTooltip: "A pesquisa ser\xE1 ativada quando adicionar informa\xE7\xF5es \xE0 %{tableName}",
|
|
108226
108282
|
featureFilter: "Filtro",
|
|
108227
108283
|
featureQuickFilter: "Filtro r\xE1pido",
|
|
108228
108284
|
featureGroupBy: "Agrupar por",
|
|
@@ -108328,7 +108384,7 @@ var pt_PT_default = {
|
|
|
108328
108384
|
large: "Grande",
|
|
108329
108385
|
tableSettings: "Defini\xE7\xF5es de tabela",
|
|
108330
108386
|
groupBy: "Agrupar por:",
|
|
108331
|
-
reset: "
|
|
108387
|
+
reset: "Repor",
|
|
108332
108388
|
selectColumnGroup: "Selecionar uma coluna para agrupar",
|
|
108333
108389
|
configure: "Configurar"
|
|
108334
108390
|
},
|
|
@@ -108375,7 +108431,8 @@ var pt_PT_default = {
|
|
|
108375
108431
|
},
|
|
108376
108432
|
filterRenders: {
|
|
108377
108433
|
dateFilter: {
|
|
108378
|
-
|
|
108434
|
+
invalidDate: "Introduza uma data v\xE1lida.",
|
|
108435
|
+
single: "\xDAnica",
|
|
108379
108436
|
range: "Intervalo"
|
|
108380
108437
|
}
|
|
108381
108438
|
},
|
|
@@ -108556,6 +108613,7 @@ var th_TH_default = {
|
|
|
108556
108613
|
},
|
|
108557
108614
|
filterRenders: {
|
|
108558
108615
|
dateFilter: {
|
|
108616
|
+
invalidDate: "\u0E01\u0E23\u0E38\u0E13\u0E32\u0E1B\u0E49\u0E2D\u0E19\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E17\u0E35\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07",
|
|
108559
108617
|
single: "\u0E40\u0E14\u0E35\u0E48\u0E22\u0E27",
|
|
108560
108618
|
range: "\u0E41\u0E19\u0E27"
|
|
108561
108619
|
}
|
|
@@ -108583,8 +108641,8 @@ var zh_SG_default = {
|
|
|
108583
108641
|
description: "\u56E2\u961F\u521B\u5EFA\u9879\u540E\uFF0C\u53EF\u4EE5\u5728\u6B64\u5904\u8BBF\u95EE\u5B83\u4EEC\u3002 ",
|
|
108584
108642
|
title: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684\u9879",
|
|
108585
108643
|
itemsTitle: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684%{itemsLabel}",
|
|
108586
|
-
tooltip: "\
|
|
108587
|
-
searchTooltip: "\
|
|
108644
|
+
tooltip: "\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u540E\uFF0C%{featureName}\u6309\u94AE\u5C31\u4F1A\u542F\u7528",
|
|
108645
|
+
searchTooltip: "\u5C06\u4FE1\u606F\u6DFB\u52A0\u5230%{tableName}\u540E\uFF0C\u641C\u7D22\u529F\u80FD\u5C31\u4F1A\u542F\u7528",
|
|
108588
108646
|
featureFilter: "\u7B5B\u9009\u5668",
|
|
108589
108647
|
featureQuickFilter: "\u5FEB\u901F\u7B5B\u9009",
|
|
108590
108648
|
featureGroupBy: "\u5206\u7EC4\u4F9D\u636E",
|
|
@@ -108737,6 +108795,7 @@ var zh_SG_default = {
|
|
|
108737
108795
|
},
|
|
108738
108796
|
filterRenders: {
|
|
108739
108797
|
dateFilter: {
|
|
108798
|
+
invalidDate: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u65E5\u671F\u3002",
|
|
108740
108799
|
single: "\u5355\u4E2A",
|
|
108741
108800
|
range: "\u8303\u56F4"
|
|
108742
108801
|
}
|
|
@@ -108800,7 +108859,7 @@ var zh_TW_default = {
|
|
|
108800
108859
|
removeFilterToken: "\u79FB\u9664\u300C%{name}\u300D",
|
|
108801
108860
|
locationFilter: {
|
|
108802
108861
|
selectAll: "\u5168\u90E8\u9078\u53D6",
|
|
108803
|
-
includeSublocations: "\u5305\u62EC\
|
|
108862
|
+
includeSublocations: "\u5305\u62EC\u6B21\u8981\u5730\u9EDE",
|
|
108804
108863
|
searchLocations: "\u641C\u5C0B\u5730\u9EDE",
|
|
108805
108864
|
locations: "\u5730\u9EDE"
|
|
108806
108865
|
},
|
|
@@ -108857,7 +108916,7 @@ var zh_TW_default = {
|
|
|
108857
108916
|
hideColumn: "\u96B1\u85CF\u6B04\u4F4D",
|
|
108858
108917
|
resetColumns: "\u91CD\u8A2D\u6B04\u4F4D",
|
|
108859
108918
|
unGroupBy: "\u53D6\u6D88\u4F9D{{label}}\u5206\u7D44",
|
|
108860
|
-
groupBy: "\u4F9D
|
|
108919
|
+
groupBy: "\u4F9D{{label}}\u5206\u7D44"
|
|
108861
108920
|
},
|
|
108862
108921
|
grandTotals: "\u7E3D\u8A08",
|
|
108863
108922
|
search: "\u641C\u5C0B",
|
|
@@ -108872,7 +108931,7 @@ var zh_TW_default = {
|
|
|
108872
108931
|
tableSettings: "\u8868\u683C\u8A2D\u5B9A",
|
|
108873
108932
|
groupBy: "\u5206\u7D44\u4F9D\u64DA\uFF1A",
|
|
108874
108933
|
reset: "\u91CD\u8A2D",
|
|
108875
|
-
selectColumnGroup: "\u9078\u53D6\
|
|
108934
|
+
selectColumnGroup: "\u9078\u53D6\u5206\u7D44\u6B04\u4F4D",
|
|
108876
108935
|
configure: "\u8A2D\u5B9A"
|
|
108877
108936
|
},
|
|
108878
108937
|
rowGroupToggle: {
|
|
@@ -108918,6 +108977,7 @@ var zh_TW_default = {
|
|
|
108918
108977
|
},
|
|
108919
108978
|
filterRenders: {
|
|
108920
108979
|
dateFilter: {
|
|
108980
|
+
invalidDate: "\u8ACB\u8F38\u5165\u6709\u6548\u65E5\u671F\u3002",
|
|
108921
108981
|
single: "\u55AE\u4E00",
|
|
108922
108982
|
range: "\u7BC4\u570D"
|
|
108923
108983
|
}
|
|
@@ -109888,10 +109948,10 @@ var GRAND_TOTAL_HEIGHT = rowSize.sm;
|
|
|
109888
109948
|
var GROUP_FOOTER_HEIGHT = rowSize.sm;
|
|
109889
109949
|
var CUSTOM_FOOTER_HEIGHT = rowSize.md;
|
|
109890
109950
|
var HEADER_HEIGHT = rowSize.md;
|
|
109891
|
-
var
|
|
109951
|
+
var cx20 = classnames.bind(styles_default);
|
|
109892
109952
|
var tableIcons = {
|
|
109893
109953
|
rowDrag,
|
|
109894
|
-
columnMoveMove: `<span class="ag-icon ${
|
|
109954
|
+
columnMoveMove: `<span class="ag-icon ${cx20(
|
|
109895
109955
|
"col-drag-column-icon"
|
|
109896
109956
|
)}">${rowDrag}</i>`
|
|
109897
109957
|
};
|
|
@@ -111108,7 +111168,7 @@ var Table = (props) => {
|
|
|
111108
111168
|
width: "100%",
|
|
111109
111169
|
maxHeight: props.maxHeight && tableHeight < props.maxHeight ? void 0 : props.maxHeight
|
|
111110
111170
|
},
|
|
111111
|
-
className:
|
|
111171
|
+
className: cx20("data-table-container", "ag-theme-alpine", {
|
|
111112
111172
|
"ag-suppress-column-virtualization": suppressColumnVirtualisation
|
|
111113
111173
|
}),
|
|
111114
111174
|
ref: combinedRef,
|
|
@@ -111300,13 +111360,13 @@ var ContextPanel = ({
|
|
|
111300
111360
|
tabIndex: -1,
|
|
111301
111361
|
role: "region",
|
|
111302
111362
|
"aria-label": ariaLabel,
|
|
111303
|
-
className:
|
|
111363
|
+
className: cx20("contextPanel", className, {
|
|
111304
111364
|
"contextPanel--hidden": !contextPanel.isVisible || contextPanel.content === "filters"
|
|
111305
111365
|
}),
|
|
111306
111366
|
"data-qa": "data-table-context-panel",
|
|
111307
111367
|
...props
|
|
111308
111368
|
},
|
|
111309
|
-
/* @__PURE__ */ React80.createElement(Box, { className:
|
|
111369
|
+
/* @__PURE__ */ React80.createElement(Box, { className: cx20("contextPanelWrapper"), display: "flex-column" }, contextPanel.content === "configuration" && /* @__PURE__ */ React80.createElement(ConfigurationPanel, null, children), contextPanel.content === "bulkEdit" && /* @__PURE__ */ React80.createElement(BulkEditPanel, null), contextPanel.content === "custom" && children)
|
|
111310
111370
|
);
|
|
111311
111371
|
};
|
|
111312
111372
|
function isLastColumnInGroup(params) {
|
|
@@ -111433,7 +111493,7 @@ var StyledPanelSection = styled4(Panel.Section)`
|
|
|
111433
111493
|
// src/Panels/Filters.tsx
|
|
111434
111494
|
function noop5() {
|
|
111435
111495
|
}
|
|
111436
|
-
var
|
|
111496
|
+
var cx21 = classnames.bind(styles_default);
|
|
111437
111497
|
function isServerSideFilterGroups(_FiltersInGroup, isServerSideRowModel) {
|
|
111438
111498
|
return isServerSideRowModel;
|
|
111439
111499
|
}
|
|
@@ -111445,7 +111505,7 @@ var Filters = ({
|
|
|
111445
111505
|
return /* @__PURE__ */ React80.createElement(
|
|
111446
111506
|
"ol",
|
|
111447
111507
|
{
|
|
111448
|
-
className:
|
|
111508
|
+
className: cx21("filters-list"),
|
|
111449
111509
|
"data-qa": "data-table-possible-filters-list"
|
|
111450
111510
|
},
|
|
111451
111511
|
filters.map((fieldName) => {
|
|
@@ -111480,7 +111540,7 @@ function FilterListItems(props) {
|
|
|
111480
111540
|
return /* @__PURE__ */ React80.createElement(
|
|
111481
111541
|
"ol",
|
|
111482
111542
|
{
|
|
111483
|
-
className:
|
|
111543
|
+
className: cx21("filters-list"),
|
|
111484
111544
|
"data-qa": "data-table-possible-filters-list"
|
|
111485
111545
|
},
|
|
111486
111546
|
filtersInGroup.map((filterRecord) => {
|
|
@@ -111538,7 +111598,7 @@ function FiltersList(props) {
|
|
|
111538
111598
|
return /* @__PURE__ */ React80.createElement(
|
|
111539
111599
|
Box,
|
|
111540
111600
|
{
|
|
111541
|
-
className:
|
|
111601
|
+
className: cx21("filters-list"),
|
|
111542
111602
|
"data-qa": "data-table-possible-filters-list-container"
|
|
111543
111603
|
},
|
|
111544
111604
|
filterGroups == null ? void 0 : filterGroups.map((group2) => {
|
|
@@ -111594,14 +111654,14 @@ var BaseFiltersPanel = ({
|
|
|
111594
111654
|
role: "region",
|
|
111595
111655
|
"aria-label": I18n.t("dataTable.filters.filters"),
|
|
111596
111656
|
style: { maxHeight: "100vh" },
|
|
111597
|
-
className:
|
|
111657
|
+
className: cx21("contextPanel", className, {
|
|
111598
111658
|
"contextPanel--hidden": hidden
|
|
111599
111659
|
}),
|
|
111600
111660
|
"data-qa": "data-table-filters-context-panel",
|
|
111601
111661
|
id: filtersPanelId,
|
|
111602
111662
|
...props
|
|
111603
111663
|
},
|
|
111604
|
-
/* @__PURE__ */ React80.createElement(Box, { className:
|
|
111664
|
+
/* @__PURE__ */ React80.createElement(Box, { className: cx21("contextPanelWrapper"), display: "flex-column" }, /* @__PURE__ */ React80.createElement(Panel, null, /* @__PURE__ */ React80.createElement(Panel.Header, { onClose: contextPanel.hide }, /* @__PURE__ */ React80.createElement(Panel.Title, null, I18n.t("dataTable.filters.filters")), /* @__PURE__ */ React80.createElement(
|
|
111605
111665
|
Button,
|
|
111606
111666
|
{
|
|
111607
111667
|
"data-qa": "data-table-remove-all-filters",
|
|
@@ -111610,7 +111670,7 @@ var BaseFiltersPanel = ({
|
|
|
111610
111670
|
variant: "tertiary"
|
|
111611
111671
|
},
|
|
111612
111672
|
I18n.t("dataTable.filters.clearAllFilters")
|
|
111613
|
-
)), /* @__PURE__ */ React80.createElement(Panel.Body, { id: filtersBodyId, className:
|
|
111673
|
+
)), /* @__PURE__ */ React80.createElement(Panel.Body, { id: filtersBodyId, className: cx21("contextPanelBody") }, /* @__PURE__ */ React80.createElement(Panel.Section, null, children))))
|
|
111614
111674
|
);
|
|
111615
111675
|
};
|
|
111616
111676
|
function ClientSideFiltersPanel(props) {
|
|
@@ -113267,7 +113327,7 @@ function mapColumnsToOptions(columnDefinitions) {
|
|
|
113267
113327
|
};
|
|
113268
113328
|
});
|
|
113269
113329
|
}
|
|
113270
|
-
var
|
|
113330
|
+
var cx22 = classnames.bind(quickControlsStyles_default);
|
|
113271
113331
|
var ClientSideSearch = ({
|
|
113272
113332
|
onSearch,
|
|
113273
113333
|
placeholder
|
|
@@ -113302,7 +113362,7 @@ var ClientSideSearch = ({
|
|
|
113302
113362
|
disabled: hasNoContent,
|
|
113303
113363
|
"data-qa": "data-table-search",
|
|
113304
113364
|
value: internalValue,
|
|
113305
|
-
className:
|
|
113365
|
+
className: cx22("search", {
|
|
113306
113366
|
"search--empty": !internalValue.length
|
|
113307
113367
|
}),
|
|
113308
113368
|
onChange,
|