@procore/data-table 14.46.3 → 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 +14 -0
- package/dist/legacy/index.cjs +477 -416
- package/dist/legacy/index.d.cts +3 -0
- package/dist/legacy/index.d.ts +3 -0
- package/dist/legacy/index.js +477 -416
- package/dist/modern/index.cjs +474 -414
- package/dist/modern/index.d.cts +3 -0
- package/dist/modern/index.d.ts +3 -0
- package/dist/modern/index.js +474 -414
- package/package.json +3 -3
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,
|
|
@@ -54775,6 +55073,7 @@ function transformToColumnDefinition(colDef = emptyObject) {
|
|
|
54775
55073
|
getStringFormattedValue,
|
|
54776
55074
|
columnHeaderParams: colDef.headerComponentParams,
|
|
54777
55075
|
headerName: colDef.headerName,
|
|
55076
|
+
headerClass: colDef.headerClass,
|
|
54778
55077
|
hidden: colDef.hide,
|
|
54779
55078
|
filterRenderer: colDef.filterRenderer,
|
|
54780
55079
|
lockVisible: colDef.lockVisible,
|
|
@@ -55782,7 +56081,7 @@ var CellTooltipWrapper = ({
|
|
|
55782
56081
|
/* @__PURE__ */ React80.createElement(Flex, { alignItems: "center", style: { width: "100%" } }, children)
|
|
55783
56082
|
);
|
|
55784
56083
|
};
|
|
55785
|
-
var
|
|
56084
|
+
var cx15 = classNames.bind(styles_exports);
|
|
55786
56085
|
var InlineEditError = React80.forwardRef(function InlineError({ errorMessage }, ref) {
|
|
55787
56086
|
const buttonRef = React80.useRef(null);
|
|
55788
56087
|
React80.useImperativeHandle(ref, () => ({
|
|
@@ -55797,7 +56096,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55797
56096
|
}));
|
|
55798
56097
|
const hasMessage = Array.isArray(errorMessage) ? errorMessage.length > 0 : Boolean(errorMessage);
|
|
55799
56098
|
const overlay = Array.isArray(errorMessage) ? /* @__PURE__ */ React80.createElement(Tooltip.Content, null, errorMessage.map((err) => /* @__PURE__ */ React80.createElement("div", { key: err }, err))) : errorMessage;
|
|
55800
|
-
return /* @__PURE__ */ React80.createElement("div", { className:
|
|
56099
|
+
return /* @__PURE__ */ React80.createElement("div", { className: cx15("cell-error") }, /* @__PURE__ */ React80.createElement(
|
|
55801
56100
|
Tooltip,
|
|
55802
56101
|
{
|
|
55803
56102
|
ref: buttonRef,
|
|
@@ -55807,7 +56106,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55807
56106
|
/* @__PURE__ */ React80.createElement(
|
|
55808
56107
|
Button,
|
|
55809
56108
|
{
|
|
55810
|
-
className:
|
|
56109
|
+
className: cx15("cell-error__button"),
|
|
55811
56110
|
variant: "tertiary",
|
|
55812
56111
|
size: "sm"
|
|
55813
56112
|
},
|
|
@@ -55817,7 +56116,7 @@ var InlineEditError = React80.forwardRef(function InlineError({ errorMessage },
|
|
|
55817
56116
|
});
|
|
55818
56117
|
|
|
55819
56118
|
// src/CellRenderers/InlineEditWrapper.tsx
|
|
55820
|
-
var
|
|
56119
|
+
var cx16 = classnames.bind({ ...styles_default, ...truncation_default });
|
|
55821
56120
|
function PseudoInlineEditorWrapper({
|
|
55822
56121
|
alwaysShowEditors = false,
|
|
55823
56122
|
rightAligned = false,
|
|
@@ -55834,7 +56133,7 @@ function PseudoInlineEditorWrapper({
|
|
|
55834
56133
|
return /* @__PURE__ */ React80.createElement(
|
|
55835
56134
|
"div",
|
|
55836
56135
|
{
|
|
55837
|
-
className:
|
|
56136
|
+
className: cx16("pseudo-inline-edit-wrapper", {
|
|
55838
56137
|
"inline-wrapper--right-aligned": rightAligned,
|
|
55839
56138
|
"inline-wrapper--with-show-pseudo-editors": alwaysShowEditors
|
|
55840
56139
|
})
|
|
@@ -55842,7 +56141,7 @@ function PseudoInlineEditorWrapper({
|
|
|
55842
56141
|
/* @__PURE__ */ React80.createElement(
|
|
55843
56142
|
"span",
|
|
55844
56143
|
{
|
|
55845
|
-
className:
|
|
56144
|
+
className: cx16("pseudo-inline-edit-content", "truncatingText", {
|
|
55846
56145
|
"pseudo-inline-edit-content--right-aligned": rightAligned,
|
|
55847
56146
|
"pseudo-inline-edit-content--with-arrow": showArrow,
|
|
55848
56147
|
"pseudo-inline-edit-content--with-clear": onClear,
|
|
@@ -55852,10 +56151,10 @@ function PseudoInlineEditorWrapper({
|
|
|
55852
56151
|
...props
|
|
55853
56152
|
},
|
|
55854
56153
|
children,
|
|
55855
|
-
/* @__PURE__ */ React80.createElement("div", { className:
|
|
55856
|
-
hasValue && onClear && /* @__PURE__ */ React80.createElement("div", { className:
|
|
55857
|
-
showArrow && /* @__PURE__ */ React80.createElement("div", { className:
|
|
55858
|
-
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" }))
|
|
55859
56158
|
),
|
|
55860
56159
|
/* @__PURE__ */ React80.createElement(
|
|
55861
56160
|
ValidationOutput,
|
|
@@ -55871,7 +56170,7 @@ var InlineEditorWrapper = React80.forwardRef(function InlineEditorWrapper2({ rig
|
|
|
55871
56170
|
return /* @__PURE__ */ React80.createElement(
|
|
55872
56171
|
"div",
|
|
55873
56172
|
{
|
|
55874
|
-
className:
|
|
56173
|
+
className: cx16("inline-edit-wrapper", {
|
|
55875
56174
|
"inline-wrapper--right-aligned": rightAligned
|
|
55876
56175
|
})
|
|
55877
56176
|
},
|
|
@@ -55899,7 +56198,7 @@ var NonEditorWrapper = React80.forwardRef(function NonEditorWrapper2({
|
|
|
55899
56198
|
return /* @__PURE__ */ React80.createElement(
|
|
55900
56199
|
"div",
|
|
55901
56200
|
{
|
|
55902
|
-
className:
|
|
56201
|
+
className: cx16("inline-nonedit-wrapper", {
|
|
55903
56202
|
"inline-wrapper--right-aligned": rightAligned
|
|
55904
56203
|
})
|
|
55905
56204
|
},
|
|
@@ -55919,7 +56218,7 @@ var NonEditorWrapper = React80.forwardRef(function NonEditorWrapper2({
|
|
|
55919
56218
|
});
|
|
55920
56219
|
var ValidationOutput = React80.forwardRef(function ValidationOutput2({ isRequired, isValid, errorMessage, rowPinned }, ref) {
|
|
55921
56220
|
const showError = !isValid && errorMessage;
|
|
55922
|
-
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 }));
|
|
55923
56222
|
});
|
|
55924
56223
|
|
|
55925
56224
|
// src/CellRenderers/DataTableCell.tsx
|
|
@@ -57456,7 +57755,7 @@ function rowSelectedEnabledForAnyRows(rowSelectionEnabled, columnDefinitions, gr
|
|
|
57456
57755
|
}
|
|
57457
57756
|
|
|
57458
57757
|
// src/CellRenderers/MultiSelectCell.tsx
|
|
57459
|
-
var
|
|
57758
|
+
var cx17 = classnames.bind(peopleCellStyles_default);
|
|
57460
57759
|
var emptyArray = [];
|
|
57461
57760
|
var commaToken = ", ";
|
|
57462
57761
|
function getValue(func, value, fallback) {
|
|
@@ -57496,7 +57795,7 @@ var InternalMultiSelectCellRenderer = ({
|
|
|
57496
57795
|
{
|
|
57497
57796
|
as: "ol",
|
|
57498
57797
|
...typographyProps,
|
|
57499
|
-
className:
|
|
57798
|
+
className: cx17("inlineListItems", "truncatingText", {
|
|
57500
57799
|
"truncatingText--md": rowHeight === rowSize.md,
|
|
57501
57800
|
"truncatingText--lg": rowHeight === rowSize.lg
|
|
57502
57801
|
}),
|
|
@@ -57958,7 +58257,7 @@ var quickControlsStyles_default = {
|
|
|
57958
58257
|
};
|
|
57959
58258
|
|
|
57960
58259
|
// src/QuickControls/ServerSideSearch.tsx
|
|
57961
|
-
var
|
|
58260
|
+
var cx18 = classnames.bind(quickControlsStyles_default);
|
|
57962
58261
|
var DEFAULT_DEBOUNCE_DELAY = 250;
|
|
57963
58262
|
function useSearchStorage() {
|
|
57964
58263
|
const [searchValue, setSearchValue] = React80.useState("");
|
|
@@ -58001,7 +58300,7 @@ var ServerSideSearch = ({
|
|
|
58001
58300
|
{
|
|
58002
58301
|
disabled: hasNoContent || disabled,
|
|
58003
58302
|
value: internalValue,
|
|
58004
|
-
className:
|
|
58303
|
+
className: cx18("search", { "search--empty": !internalValue.length }),
|
|
58005
58304
|
onChange,
|
|
58006
58305
|
placeholder: resolvedPlaceholder,
|
|
58007
58306
|
"aria-label": resolvedPlaceholder
|
|
@@ -77771,15 +78070,15 @@ var Matrix = class _Matrix {
|
|
|
77771
78070
|
const yy = elements[3];
|
|
77772
78071
|
const h_w = bbox.width * 0.5;
|
|
77773
78072
|
const h_h = bbox.height * 0.5;
|
|
77774
|
-
const
|
|
78073
|
+
const cx23 = bbox.x + h_w;
|
|
77775
78074
|
const cy = bbox.y + h_h;
|
|
77776
78075
|
const w = Math.abs(h_w * xx) + Math.abs(h_h * yx);
|
|
77777
78076
|
const h = Math.abs(h_w * xy) + Math.abs(h_h * yy);
|
|
77778
78077
|
if (!target) {
|
|
77779
78078
|
target = new BBox(0, 0, 0, 0);
|
|
77780
78079
|
}
|
|
77781
|
-
target.x =
|
|
77782
|
-
target.y =
|
|
78080
|
+
target.x = cx23 * xx + cy * yx + elements[4] - w;
|
|
78081
|
+
target.y = cx23 * xy + cy * yy + elements[5] - h;
|
|
77783
78082
|
target.width = w + w;
|
|
77784
78083
|
target.height = h + h;
|
|
77785
78084
|
return target;
|
|
@@ -79294,7 +79593,7 @@ var LinearGradient = class extends Gradient {
|
|
|
79294
79593
|
const sin = Math.sin(radians);
|
|
79295
79594
|
const w = bbox.width;
|
|
79296
79595
|
const h = bbox.height;
|
|
79297
|
-
const
|
|
79596
|
+
const cx23 = bbox.x + w * 0.5;
|
|
79298
79597
|
const cy = bbox.y + h * 0.5;
|
|
79299
79598
|
if (w > 0 && h > 0) {
|
|
79300
79599
|
const diagonal = Math.sqrt(h * h + w * w) / 2;
|
|
@@ -79310,7 +79609,7 @@ var LinearGradient = class extends Gradient {
|
|
|
79310
79609
|
quarteredAngle = 2 * Math.PI - radians;
|
|
79311
79610
|
}
|
|
79312
79611
|
const l = diagonal * Math.abs(Math.cos(quarteredAngle - diagonalAngle));
|
|
79313
|
-
const gradient = ctx.createLinearGradient(
|
|
79612
|
+
const gradient = ctx.createLinearGradient(cx23 + cos * l, cy + sin * l, cx23 - cos * l, cy - sin * l);
|
|
79314
79613
|
stops.forEach((stop) => {
|
|
79315
79614
|
gradient.addColorStop(stop.offset, stop.color);
|
|
79316
79615
|
});
|
|
@@ -84549,12 +84848,12 @@ function bezierCoefficients(P1, P2, P3, P4) {
|
|
|
84549
84848
|
// | 1 0 0 0| |P4|
|
|
84550
84849
|
];
|
|
84551
84850
|
}
|
|
84552
|
-
function arcIntersections(
|
|
84851
|
+
function arcIntersections(cx23, cy, r2, startAngle, endAngle, counterClockwise, x1, y1, x2, y2) {
|
|
84553
84852
|
const k = (y2 - y1) / (x2 - x1);
|
|
84554
84853
|
const y0 = y1 - k * x1;
|
|
84555
84854
|
const a = Math.pow(k, 2) + 1;
|
|
84556
|
-
const b = 2 * (k * (y0 - cy) -
|
|
84557
|
-
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);
|
|
84558
84857
|
const d = Math.pow(b, 2) - 4 * a * c;
|
|
84559
84858
|
if (d < 0) {
|
|
84560
84859
|
return [];
|
|
@@ -84691,12 +84990,12 @@ var Path2D = class {
|
|
|
84691
84990
|
this.commands.push(Command.Arc);
|
|
84692
84991
|
this.params.push(x, y, r2, sAngle, eAngle, antiClockwise ? 1 : 0);
|
|
84693
84992
|
}
|
|
84694
|
-
cubicCurveTo(cx1, cy1,
|
|
84993
|
+
cubicCurveTo(cx1, cy1, cx23, cy2, x, y) {
|
|
84695
84994
|
if (!this.xy) {
|
|
84696
84995
|
this.moveTo(cx1, cy1);
|
|
84697
84996
|
}
|
|
84698
84997
|
this.commands.push(Command.Curve);
|
|
84699
|
-
this.params.push(cx1, cy1,
|
|
84998
|
+
this.params.push(cx1, cy1, cx23, cy2, x, y);
|
|
84700
84999
|
if (this.xy) {
|
|
84701
85000
|
this.xy[0] = x;
|
|
84702
85001
|
this.xy[1] = y;
|
|
@@ -91469,19 +91768,19 @@ var PieSeries = class extends PolarSeries {
|
|
|
91469
91768
|
const isMoved = label.collisionTextAlign || label.collisionOffsetY !== 0;
|
|
91470
91769
|
if (isMoved && label.box != null) {
|
|
91471
91770
|
const box = label.box;
|
|
91472
|
-
let
|
|
91771
|
+
let cx23 = x2;
|
|
91473
91772
|
let cy = y2;
|
|
91474
91773
|
if (x2 < box.x) {
|
|
91475
|
-
|
|
91774
|
+
cx23 = box.x;
|
|
91476
91775
|
} else if (x2 > box.x + box.width) {
|
|
91477
|
-
|
|
91776
|
+
cx23 = box.x + box.width;
|
|
91478
91777
|
}
|
|
91479
91778
|
if (y2 < box.y) {
|
|
91480
91779
|
cy = box.y;
|
|
91481
91780
|
} else if (y2 > box.y + box.height) {
|
|
91482
91781
|
cy = box.y + box.height;
|
|
91483
91782
|
}
|
|
91484
|
-
const dx =
|
|
91783
|
+
const dx = cx23 - x2;
|
|
91485
91784
|
const dy = cy - y2;
|
|
91486
91785
|
const length = Math.sqrt(Math.pow(dx, 2) + Math.pow(dy, 2));
|
|
91487
91786
|
const paddedLength = length - offset4;
|
|
@@ -93792,7 +94091,7 @@ var PolarChart = class extends Chart {
|
|
|
93792
94091
|
return shrinkRect;
|
|
93793
94092
|
});
|
|
93794
94093
|
}
|
|
93795
|
-
updateAxes(
|
|
94094
|
+
updateAxes(cx23, cy, radius) {
|
|
93796
94095
|
var _a;
|
|
93797
94096
|
this.axes.forEach((axis) => {
|
|
93798
94097
|
var _a2;
|
|
@@ -93800,11 +94099,11 @@ var PolarChart = class extends Chart {
|
|
|
93800
94099
|
const rotation = toRadians((_a2 = axis.rotation) !== null && _a2 !== void 0 ? _a2 : 0);
|
|
93801
94100
|
axis.range = [-Math.PI / 2 + rotation, 3 * Math.PI / 2 + rotation];
|
|
93802
94101
|
axis.gridLength = radius;
|
|
93803
|
-
axis.translation.x =
|
|
94102
|
+
axis.translation.x = cx23;
|
|
93804
94103
|
axis.translation.y = cy;
|
|
93805
94104
|
} else if (axis.direction === ChartAxisDirection.Y) {
|
|
93806
94105
|
axis.range = [radius, 0];
|
|
93807
|
-
axis.translation.x =
|
|
94106
|
+
axis.translation.x = cx23;
|
|
93808
94107
|
axis.translation.y = cy - radius;
|
|
93809
94108
|
}
|
|
93810
94109
|
axis.updateScale();
|
|
@@ -93829,10 +94128,10 @@ var PolarChart = class extends Chart {
|
|
|
93829
94128
|
const polarAxes = this.axes.filter((axis) => {
|
|
93830
94129
|
return axis instanceof PolarAxis;
|
|
93831
94130
|
});
|
|
93832
|
-
const setSeriesCircle = (
|
|
93833
|
-
this.updateAxes(
|
|
94131
|
+
const setSeriesCircle = (cx23, cy, r2) => {
|
|
94132
|
+
this.updateAxes(cx23, cy, r2);
|
|
93834
94133
|
polarSeries.forEach((series) => {
|
|
93835
|
-
series.centerX =
|
|
94134
|
+
series.centerX = cx23;
|
|
93836
94135
|
series.centerY = cy;
|
|
93837
94136
|
series.radius = r2;
|
|
93838
94137
|
});
|
|
@@ -103464,264 +103763,6 @@ var SparklinesModule = {
|
|
|
103464
103763
|
userComponents: [{ componentName: "agSparklineCellRenderer", componentClass: SparklineCellRenderer }],
|
|
103465
103764
|
dependantModules: [EnterpriseCoreModule]
|
|
103466
103765
|
};
|
|
103467
|
-
var $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== "undefined" ? (React80).useLayoutEffect : () => {
|
|
103468
|
-
};
|
|
103469
|
-
var $8ae05eaa5c114e9c$var$_React_useInsertionEffect;
|
|
103470
|
-
var $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (React80)["useInsertionEffect"]) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : ($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);
|
|
103471
|
-
function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
103472
|
-
const ref = (useRef)(null);
|
|
103473
|
-
$8ae05eaa5c114e9c$var$useEarlyEffect(() => {
|
|
103474
|
-
ref.current = fn;
|
|
103475
|
-
}, [
|
|
103476
|
-
fn
|
|
103477
|
-
]);
|
|
103478
|
-
return (useCallback)((...args) => {
|
|
103479
|
-
const f = ref.current;
|
|
103480
|
-
return f === null || f === void 0 ? void 0 : f(...args);
|
|
103481
|
-
}, []);
|
|
103482
|
-
}
|
|
103483
|
-
var $b5e257d569688ac6$var$defaultContext = {
|
|
103484
|
-
prefix: String(Math.round(Math.random() * 1e10)),
|
|
103485
|
-
current: 0
|
|
103486
|
-
};
|
|
103487
|
-
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80).createContext($b5e257d569688ac6$var$defaultContext);
|
|
103488
|
-
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80).createContext(false);
|
|
103489
|
-
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103490
|
-
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
103491
|
-
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
103492
|
-
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103493
|
-
let ref = (useRef)(null);
|
|
103494
|
-
if (ref.current === null && !isDisabled) {
|
|
103495
|
-
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
103496
|
-
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;
|
|
103497
|
-
if (currentOwner) {
|
|
103498
|
-
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
103499
|
-
if (prevComponentValue == null)
|
|
103500
|
-
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
103501
|
-
id: ctx.current,
|
|
103502
|
-
state: currentOwner.memoizedState
|
|
103503
|
-
});
|
|
103504
|
-
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
103505
|
-
ctx.current = prevComponentValue.id;
|
|
103506
|
-
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
103507
|
-
}
|
|
103508
|
-
}
|
|
103509
|
-
ref.current = ++ctx.current;
|
|
103510
|
-
}
|
|
103511
|
-
return ref.current;
|
|
103512
|
-
}
|
|
103513
|
-
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
103514
|
-
let ctx = (useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103515
|
-
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.");
|
|
103516
|
-
let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
103517
|
-
let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
|
|
103518
|
-
return defaultId || `${prefix}-${counter2}`;
|
|
103519
|
-
}
|
|
103520
|
-
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
103521
|
-
let id = (React80).useId();
|
|
103522
|
-
let [didSSR] = (useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
103523
|
-
let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
103524
|
-
return defaultId || `${prefix}-${id}`;
|
|
103525
|
-
}
|
|
103526
|
-
var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
103527
|
-
function $b5e257d569688ac6$var$getSnapshot() {
|
|
103528
|
-
return false;
|
|
103529
|
-
}
|
|
103530
|
-
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
103531
|
-
return true;
|
|
103532
|
-
}
|
|
103533
|
-
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
103534
|
-
return () => {
|
|
103535
|
-
};
|
|
103536
|
-
}
|
|
103537
|
-
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
103538
|
-
if (typeof (React80)["useSyncExternalStore"] === "function") return (React80)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
103539
|
-
return (useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
103540
|
-
}
|
|
103541
|
-
|
|
103542
|
-
// ../../node_modules/@react-aria/utils/dist/useId.mjs
|
|
103543
|
-
var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103544
|
-
var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
103545
|
-
var $bdb11010cef70236$var$registry;
|
|
103546
|
-
if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
|
|
103547
|
-
$bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
|
|
103548
|
-
});
|
|
103549
|
-
function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
|
|
103550
|
-
let [value, setValue] = (useState)(defaultId);
|
|
103551
|
-
let nextId = (useRef)(null);
|
|
103552
|
-
let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
|
|
103553
|
-
let cleanupRef = (useRef)(null);
|
|
103554
|
-
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
|
|
103555
|
-
if ($bdb11010cef70236$var$canUseDOM) {
|
|
103556
|
-
const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
|
|
103557
|
-
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
103558
|
-
else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
|
|
103559
|
-
nextId
|
|
103560
|
-
]);
|
|
103561
|
-
}
|
|
103562
|
-
($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
|
|
103563
|
-
let r2 = res;
|
|
103564
|
-
return () => {
|
|
103565
|
-
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
|
|
103566
|
-
$bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
|
|
103567
|
-
};
|
|
103568
|
-
}, [
|
|
103569
|
-
res
|
|
103570
|
-
]);
|
|
103571
|
-
(useEffect)(() => {
|
|
103572
|
-
let newId = nextId.current;
|
|
103573
|
-
if (newId) setValue(newId);
|
|
103574
|
-
return () => {
|
|
103575
|
-
if (newId) nextId.current = null;
|
|
103576
|
-
};
|
|
103577
|
-
});
|
|
103578
|
-
return res;
|
|
103579
|
-
}
|
|
103580
|
-
function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
|
|
103581
|
-
if (idA === idB) return idA;
|
|
103582
|
-
let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
|
|
103583
|
-
if (setIdsA) {
|
|
103584
|
-
setIdsA.forEach((ref) => ref.current = idB);
|
|
103585
|
-
return idB;
|
|
103586
|
-
}
|
|
103587
|
-
let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);
|
|
103588
|
-
if (setIdsB) {
|
|
103589
|
-
setIdsB.forEach((ref) => ref.current = idA);
|
|
103590
|
-
return idA;
|
|
103591
|
-
}
|
|
103592
|
-
return idB;
|
|
103593
|
-
}
|
|
103594
|
-
|
|
103595
|
-
// ../../node_modules/@react-aria/utils/dist/chain.mjs
|
|
103596
|
-
function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {
|
|
103597
|
-
return (...args) => {
|
|
103598
|
-
for (let callback of callbacks) if (typeof callback === "function") callback(...args);
|
|
103599
|
-
};
|
|
103600
|
-
}
|
|
103601
|
-
|
|
103602
|
-
// ../../node_modules/@react-aria/utils/dist/domHelpers.mjs
|
|
103603
|
-
var $431fbd86ca7dc216$export$b204af158042fbac = (el) => {
|
|
103604
|
-
var _el_ownerDocument;
|
|
103605
|
-
return (_el_ownerDocument = el === null || el === void 0 ? void 0 : el.ownerDocument) !== null && _el_ownerDocument !== void 0 ? _el_ownerDocument : document;
|
|
103606
|
-
};
|
|
103607
|
-
function $431fbd86ca7dc216$var$isNode(value) {
|
|
103608
|
-
return value !== null && typeof value === "object" && "nodeType" in value && typeof value.nodeType === "number";
|
|
103609
|
-
}
|
|
103610
|
-
function $431fbd86ca7dc216$export$af51f0f06c0f328a(node) {
|
|
103611
|
-
return $431fbd86ca7dc216$var$isNode(node) && node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in node;
|
|
103612
|
-
}
|
|
103613
|
-
|
|
103614
|
-
// ../../node_modules/@react-stately/flags/dist/import.mjs
|
|
103615
|
-
var $f4e2df6bd15f8569$var$_shadowDOM = false;
|
|
103616
|
-
function $f4e2df6bd15f8569$export$98658e8c59125e6a() {
|
|
103617
|
-
return $f4e2df6bd15f8569$var$_shadowDOM;
|
|
103618
|
-
}
|
|
103619
|
-
|
|
103620
|
-
// ../../node_modules/@react-aria/utils/dist/DOMFunctions.mjs
|
|
103621
|
-
function $d4ee10de306f2510$export$4282f70798064fe0(node, otherNode) {
|
|
103622
|
-
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return otherNode && node ? node.contains(otherNode) : false;
|
|
103623
|
-
if (!node || !otherNode) return false;
|
|
103624
|
-
let currentNode = otherNode;
|
|
103625
|
-
while (currentNode !== null) {
|
|
103626
|
-
if (currentNode === node) return true;
|
|
103627
|
-
if (currentNode.tagName === "SLOT" && currentNode.assignedSlot)
|
|
103628
|
-
currentNode = currentNode.assignedSlot.parentNode;
|
|
103629
|
-
else if (($431fbd86ca7dc216$export$af51f0f06c0f328a)(currentNode))
|
|
103630
|
-
currentNode = currentNode.host;
|
|
103631
|
-
else currentNode = currentNode.parentNode;
|
|
103632
|
-
}
|
|
103633
|
-
return false;
|
|
103634
|
-
}
|
|
103635
|
-
var $d4ee10de306f2510$export$cd4e5573fbe2b576 = (doc = document) => {
|
|
103636
|
-
var _activeElement_shadowRoot;
|
|
103637
|
-
if (!($f4e2df6bd15f8569$export$98658e8c59125e6a)()) return doc.activeElement;
|
|
103638
|
-
let activeElement = doc.activeElement;
|
|
103639
|
-
while (activeElement && "shadowRoot" in activeElement && ((_activeElement_shadowRoot = activeElement.shadowRoot) === null || _activeElement_shadowRoot === void 0 ? void 0 : _activeElement_shadowRoot.activeElement)) activeElement = activeElement.shadowRoot.activeElement;
|
|
103640
|
-
return activeElement;
|
|
103641
|
-
};
|
|
103642
|
-
function $d4ee10de306f2510$export$e58f029f0fbfdb29(event) {
|
|
103643
|
-
if (($f4e2df6bd15f8569$export$98658e8c59125e6a)() && event.target.shadowRoot) {
|
|
103644
|
-
if (event.composedPath) return event.composedPath()[0];
|
|
103645
|
-
}
|
|
103646
|
-
return event.target;
|
|
103647
|
-
}
|
|
103648
|
-
|
|
103649
|
-
// ../../node_modules/clsx/dist/clsx.mjs
|
|
103650
|
-
function r(e) {
|
|
103651
|
-
var t, f, n = "";
|
|
103652
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
103653
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
103654
|
-
var o = e.length;
|
|
103655
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
103656
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
103657
|
-
return n;
|
|
103658
|
-
}
|
|
103659
|
-
function clsx() {
|
|
103660
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
103661
|
-
return n;
|
|
103662
|
-
}
|
|
103663
|
-
var clsx_default = clsx;
|
|
103664
|
-
|
|
103665
|
-
// ../../node_modules/@react-aria/utils/dist/mergeProps.mjs
|
|
103666
|
-
function $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {
|
|
103667
|
-
let result = {
|
|
103668
|
-
...args[0]
|
|
103669
|
-
};
|
|
103670
|
-
for (let i = 1; i < args.length; i++) {
|
|
103671
|
-
let props = args[i];
|
|
103672
|
-
for (let key in props) {
|
|
103673
|
-
let a = result[key];
|
|
103674
|
-
let b = props[key];
|
|
103675
|
-
if (typeof a === "function" && typeof b === "function" && // This is a lot faster than a regex.
|
|
103676
|
-
key[0] === "o" && key[1] === "n" && key.charCodeAt(2) >= /* 'A' */
|
|
103677
|
-
65 && key.charCodeAt(2) <= /* 'Z' */
|
|
103678
|
-
90) result[key] = ($ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);
|
|
103679
|
-
else if ((key === "className" || key === "UNSAFE_className") && typeof a === "string" && typeof b === "string") result[key] = (clsx_default)(a, b);
|
|
103680
|
-
else if (key === "id" && a && b) result.id = ($bdb11010cef70236$export$cd8c9cb68f842629)(a, b);
|
|
103681
|
-
else result[key] = b !== void 0 ? b : a;
|
|
103682
|
-
}
|
|
103683
|
-
}
|
|
103684
|
-
return result;
|
|
103685
|
-
}
|
|
103686
|
-
function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
103687
|
-
let globalListeners = (useRef)(/* @__PURE__ */ new Map());
|
|
103688
|
-
let addGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
103689
|
-
let fn = (options === null || options === void 0 ? void 0 : options.once) ? (...args) => {
|
|
103690
|
-
globalListeners.current.delete(listener);
|
|
103691
|
-
listener(...args);
|
|
103692
|
-
} : listener;
|
|
103693
|
-
globalListeners.current.set(listener, {
|
|
103694
|
-
type,
|
|
103695
|
-
eventTarget,
|
|
103696
|
-
fn,
|
|
103697
|
-
options
|
|
103698
|
-
});
|
|
103699
|
-
eventTarget.addEventListener(type, fn, options);
|
|
103700
|
-
}, []);
|
|
103701
|
-
let removeGlobalListener = (useCallback)((eventTarget, type, listener, options) => {
|
|
103702
|
-
var _globalListeners_current_get;
|
|
103703
|
-
let fn = ((_globalListeners_current_get = globalListeners.current.get(listener)) === null || _globalListeners_current_get === void 0 ? void 0 : _globalListeners_current_get.fn) || listener;
|
|
103704
|
-
eventTarget.removeEventListener(type, fn, options);
|
|
103705
|
-
globalListeners.current.delete(listener);
|
|
103706
|
-
}, []);
|
|
103707
|
-
let removeAllGlobalListeners = (useCallback)(() => {
|
|
103708
|
-
globalListeners.current.forEach((value, key) => {
|
|
103709
|
-
removeGlobalListener(value.eventTarget, value.type, key, value.options);
|
|
103710
|
-
});
|
|
103711
|
-
}, [
|
|
103712
|
-
removeGlobalListener
|
|
103713
|
-
]);
|
|
103714
|
-
(useEffect)(() => {
|
|
103715
|
-
return removeAllGlobalListeners;
|
|
103716
|
-
}, [
|
|
103717
|
-
removeAllGlobalListeners
|
|
103718
|
-
]);
|
|
103719
|
-
return {
|
|
103720
|
-
addGlobalListener,
|
|
103721
|
-
removeGlobalListener,
|
|
103722
|
-
removeAllGlobalListeners
|
|
103723
|
-
};
|
|
103724
|
-
}
|
|
103725
103766
|
function $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent) {
|
|
103726
103767
|
let event = nativeEvent;
|
|
103727
103768
|
event.nativeEvent = nativeEvent;
|
|
@@ -104662,7 +104703,7 @@ var configurationStyles_default = {
|
|
|
104662
104703
|
};
|
|
104663
104704
|
|
|
104664
104705
|
// src/Panels/Configuration.tsx
|
|
104665
|
-
var
|
|
104706
|
+
var cx19 = classnames.bind(configurationStyles_default);
|
|
104666
104707
|
var DELIMITER = "$$";
|
|
104667
104708
|
function isColGroupDef3(col) {
|
|
104668
104709
|
return (col == null ? void 0 : col.children) !== void 0;
|
|
@@ -104858,7 +104899,7 @@ var ConfigurationColumns = React80.forwardRef(
|
|
|
104858
104899
|
Flex,
|
|
104859
104900
|
{
|
|
104860
104901
|
alignItems: "center",
|
|
104861
|
-
className:
|
|
104902
|
+
className: cx19("column-controls"),
|
|
104862
104903
|
key: column2.field || column2.groupId,
|
|
104863
104904
|
marginTop: "xs",
|
|
104864
104905
|
padding: "sm",
|
|
@@ -104895,7 +104936,7 @@ var ConfigurationPanel = ({
|
|
|
104895
104936
|
const I18n = useI18nContext();
|
|
104896
104937
|
const configurationColumnsRef = React80.useRef();
|
|
104897
104938
|
const [isAllColumnsVisible, setIsAllColumnsVisible] = React80.useState(false);
|
|
104898
|
-
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(
|
|
104899
104940
|
Panel.Section,
|
|
104900
104941
|
{
|
|
104901
104942
|
"data-qa": "data-table-config-panel-section-row-height",
|
|
@@ -105478,6 +105519,7 @@ var de_DE_default = {
|
|
|
105478
105519
|
},
|
|
105479
105520
|
filterRenders: {
|
|
105480
105521
|
dateFilter: {
|
|
105522
|
+
invalidDate: "Geben Sie ein g\xFCltiges Datum ein.",
|
|
105481
105523
|
single: "Einzeln",
|
|
105482
105524
|
range: "Bereich"
|
|
105483
105525
|
}
|
|
@@ -105659,6 +105701,7 @@ var en_AU_default = {
|
|
|
105659
105701
|
},
|
|
105660
105702
|
filterRenders: {
|
|
105661
105703
|
dateFilter: {
|
|
105704
|
+
invalidDate: "Enter a valid date.",
|
|
105662
105705
|
single: "Single",
|
|
105663
105706
|
range: "Range"
|
|
105664
105707
|
}
|
|
@@ -105840,6 +105883,7 @@ var en_CA_default = {
|
|
|
105840
105883
|
},
|
|
105841
105884
|
filterRenders: {
|
|
105842
105885
|
dateFilter: {
|
|
105886
|
+
invalidDate: "Enter a valid date.",
|
|
105843
105887
|
single: "Single",
|
|
105844
105888
|
range: "Range"
|
|
105845
105889
|
}
|
|
@@ -106021,6 +106065,7 @@ var en_GB_default = {
|
|
|
106021
106065
|
},
|
|
106022
106066
|
filterRenders: {
|
|
106023
106067
|
dateFilter: {
|
|
106068
|
+
invalidDate: "Enter a valid date.",
|
|
106024
106069
|
single: "Single",
|
|
106025
106070
|
range: "Range"
|
|
106026
106071
|
}
|
|
@@ -106202,6 +106247,7 @@ var en_default = {
|
|
|
106202
106247
|
},
|
|
106203
106248
|
filterRenders: {
|
|
106204
106249
|
dateFilter: {
|
|
106250
|
+
invalidDate: "Enter a valid date.",
|
|
106205
106251
|
single: "Single",
|
|
106206
106252
|
range: "Range"
|
|
106207
106253
|
}
|
|
@@ -106383,6 +106429,7 @@ var es_ES_default = {
|
|
|
106383
106429
|
},
|
|
106384
106430
|
filterRenders: {
|
|
106385
106431
|
dateFilter: {
|
|
106432
|
+
invalidDate: "Introduzca una fecha v\xE1lida.",
|
|
106386
106433
|
single: "\xDAnica",
|
|
106387
106434
|
range: "Rango"
|
|
106388
106435
|
}
|
|
@@ -106493,7 +106540,7 @@ var es_default = {
|
|
|
106493
106540
|
sortCleared: "Ordenamiento borrado"
|
|
106494
106541
|
},
|
|
106495
106542
|
expandAllGroups: "Expandir todos los grupos",
|
|
106496
|
-
collapseAllGroups: "
|
|
106543
|
+
collapseAllGroups: "Contraer todos los grupos",
|
|
106497
106544
|
pinColumn: "Anclar columna",
|
|
106498
106545
|
pinLeft: "Anclar a la izquierda",
|
|
106499
106546
|
pinRight: "Anclar a la derecha",
|
|
@@ -106564,13 +106611,14 @@ var es_default = {
|
|
|
106564
106611
|
},
|
|
106565
106612
|
filterRenders: {
|
|
106566
106613
|
dateFilter: {
|
|
106614
|
+
invalidDate: "Ingrese una fecha v\xE1lida.",
|
|
106567
106615
|
single: "\xDAnico",
|
|
106568
106616
|
range: "Intervalo"
|
|
106569
106617
|
}
|
|
106570
106618
|
},
|
|
106571
106619
|
groupCell: {
|
|
106572
106620
|
expand: "Expandir grupo",
|
|
106573
|
-
collapse: "
|
|
106621
|
+
collapse: "Contraer grupo"
|
|
106574
106622
|
},
|
|
106575
106623
|
rowCheckbox: {
|
|
106576
106624
|
ariaLabel: "Seleccionar fila"
|
|
@@ -106745,6 +106793,7 @@ var fr_CA_default = {
|
|
|
106745
106793
|
},
|
|
106746
106794
|
filterRenders: {
|
|
106747
106795
|
dateFilter: {
|
|
106796
|
+
invalidDate: "Saisissez une date valide.",
|
|
106748
106797
|
single: "Unique",
|
|
106749
106798
|
range: "Intervalle"
|
|
106750
106799
|
}
|
|
@@ -106772,7 +106821,7 @@ var fr_FR_default = {
|
|
|
106772
106821
|
description: "Une fois que votre \xE9quipe a cr\xE9\xE9 ces \xE9l\xE9ments, vous pouvez y acc\xE9der ici. ",
|
|
106773
106822
|
title: "Aucun \xE9l\xE9ment \xE0 afficher pour l'instant",
|
|
106774
106823
|
itemsTitle: "Aucun %{itemsLabel} \xE0 afficher pour l'instant",
|
|
106775
|
-
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}",
|
|
106776
106825
|
searchTooltip: "La recherche sera activ\xE9e une fois que vous aurez ajout\xE9 des informations au %{tableName}",
|
|
106777
106826
|
featureFilter: "Filtrer",
|
|
106778
106827
|
featureQuickFilter: "Filtre rapide",
|
|
@@ -106926,6 +106975,7 @@ var fr_FR_default = {
|
|
|
106926
106975
|
},
|
|
106927
106976
|
filterRenders: {
|
|
106928
106977
|
dateFilter: {
|
|
106978
|
+
invalidDate: "Veuillez saisir une date valide.",
|
|
106929
106979
|
single: "Unique",
|
|
106930
106980
|
range: "Plage"
|
|
106931
106981
|
}
|
|
@@ -107107,6 +107157,7 @@ var is_IS_default = {
|
|
|
107107
107157
|
},
|
|
107108
107158
|
filterRenders: {
|
|
107109
107159
|
dateFilter: {
|
|
107160
|
+
invalidDate: "Sl\xE1\xF0u inn gilda dagsetningu.",
|
|
107110
107161
|
single: "Einhleypur",
|
|
107111
107162
|
range: "Svi\xF0"
|
|
107112
107163
|
}
|
|
@@ -107134,8 +107185,8 @@ var it_IT_default = {
|
|
|
107134
107185
|
description: "Gli elementi creati dal team saranno accessibili qui. ",
|
|
107135
107186
|
title: "Al momento non sono presenti elementi da visualizzare",
|
|
107136
107187
|
itemsTitle: "Al momento non sono presenti %{itemsLabel} da visualizzare",
|
|
107137
|
-
tooltip: "Il pulsante %{featureName} sar\xE0 attivato dopo l'aggiunta delle informazioni
|
|
107138
|
-
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}",
|
|
107139
107190
|
featureFilter: "Filtro",
|
|
107140
107191
|
featureQuickFilter: "Filtro rapido",
|
|
107141
107192
|
featureGroupBy: "Raggruppa per",
|
|
@@ -107288,6 +107339,7 @@ var it_IT_default = {
|
|
|
107288
107339
|
},
|
|
107289
107340
|
filterRenders: {
|
|
107290
107341
|
dateFilter: {
|
|
107342
|
+
invalidDate: "Inserire una data valida.",
|
|
107291
107343
|
single: "Singolo",
|
|
107292
107344
|
range: "Intervallo"
|
|
107293
107345
|
}
|
|
@@ -107469,6 +107521,7 @@ var ja_JP_default = {
|
|
|
107469
107521
|
},
|
|
107470
107522
|
filterRenders: {
|
|
107471
107523
|
dateFilter: {
|
|
107524
|
+
invalidDate: "\u6709\u52B9\u306A\u65E5\u4ED8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
107472
107525
|
single: "\u5358\u72EC",
|
|
107473
107526
|
range: "\u7BC4\u56F2"
|
|
107474
107527
|
}
|
|
@@ -107489,12 +107542,12 @@ var nb_NO_default = {
|
|
|
107489
107542
|
emptyState: {
|
|
107490
107543
|
noFilteredResults: {
|
|
107491
107544
|
description: "Sjekk stavem\xE5ten og filteralternativene dine, eller s\xF8k etter et annet n\xF8kkelord.",
|
|
107492
|
-
title: "Ingen
|
|
107545
|
+
title: "Ingen enheter samsvarer med s\xF8ket ditt",
|
|
107493
107546
|
itemsTitle: "Ingen %{itemsLabel} samsvarer med s\xF8ket ditt"
|
|
107494
107547
|
},
|
|
107495
107548
|
noResults: {
|
|
107496
|
-
description: "N\xE5r teamet ditt har opprettet disse
|
|
107497
|
-
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",
|
|
107498
107551
|
itemsTitle: "Det er ingen %{itemsLabel} \xE5 vise akkurat n\xE5",
|
|
107499
107552
|
tooltip: "%{featureName} -knappen vil bli aktivert n\xE5r du legger til informasjon i %{tableName}",
|
|
107500
107553
|
searchTooltip: "S\xF8k vil bli aktivert n\xE5r du legger til informasjon i %{tableName}",
|
|
@@ -107502,7 +107555,7 @@ var nb_NO_default = {
|
|
|
107502
107555
|
featureQuickFilter: "Hurtigfilter",
|
|
107503
107556
|
featureGroupBy: "Grupper etter",
|
|
107504
107557
|
featureConfigure: "Konfigurer",
|
|
107505
|
-
tableNameFallback: "
|
|
107558
|
+
tableNameFallback: "tabell"
|
|
107506
107559
|
}
|
|
107507
107560
|
},
|
|
107508
107561
|
bulkActions: {
|
|
@@ -107510,17 +107563,17 @@ var nb_NO_default = {
|
|
|
107510
107563
|
bulkEdit: "Masseendring",
|
|
107511
107564
|
cancel: "Avbryt",
|
|
107512
107565
|
editValues: "Rediger verdier",
|
|
107513
|
-
error: "Beklager,
|
|
107566
|
+
error: "Beklager, enhetene kunsne ikke oppdateres. Pr\xF8v igjen.",
|
|
107514
107567
|
placeholderForField: "Skriv inn %{fieldName}",
|
|
107515
107568
|
selection: "%{count} %{number} valgt",
|
|
107516
107569
|
selection_count: {
|
|
107517
|
-
zero: "%{count}
|
|
107518
|
-
one: "%{count}
|
|
107519
|
-
other: "%{count}
|
|
107570
|
+
zero: "%{count} enheter valgt",
|
|
107571
|
+
one: "%{count} enhet valgt",
|
|
107572
|
+
other: "%{count} enheter valgt"
|
|
107520
107573
|
},
|
|
107521
|
-
success: "
|
|
107522
|
-
one: "
|
|
107523
|
-
many: "
|
|
107574
|
+
success: "Enhetene ble oppdatert.",
|
|
107575
|
+
one: "enhet",
|
|
107576
|
+
many: "enheter"
|
|
107524
107577
|
},
|
|
107525
107578
|
exporting: "Eksporterer...",
|
|
107526
107579
|
filters: {
|
|
@@ -107533,14 +107586,14 @@ var nb_NO_default = {
|
|
|
107533
107586
|
locationFilter: {
|
|
107534
107587
|
selectAll: "Velg alle",
|
|
107535
107588
|
includeSublocations: "Inkluder underlokasjoner",
|
|
107536
|
-
searchLocations: "S\xF8k etter
|
|
107537
|
-
locations: "
|
|
107589
|
+
searchLocations: "S\xF8k etter lokasjoner",
|
|
107590
|
+
locations: "Lokasjoner"
|
|
107538
107591
|
},
|
|
107539
107592
|
numberFilter: {
|
|
107540
107593
|
labels: {
|
|
107541
107594
|
and: "og",
|
|
107542
|
-
input_placeholder: "
|
|
107543
|
-
placeholder: "Velg
|
|
107595
|
+
input_placeholder: "Skriv inn verdi",
|
|
107596
|
+
placeholder: "Velg en enhet"
|
|
107544
107597
|
},
|
|
107545
107598
|
options: {
|
|
107546
107599
|
any_value: "Enhver verdi",
|
|
@@ -107578,20 +107631,20 @@ var nb_NO_default = {
|
|
|
107578
107631
|
sortDescending: "sortert synkende",
|
|
107579
107632
|
sortCleared: "Sortering fjernet"
|
|
107580
107633
|
},
|
|
107581
|
-
expandAllGroups: "
|
|
107634
|
+
expandAllGroups: "Vis alle grupper",
|
|
107582
107635
|
collapseAllGroups: "Skjul alle grupper",
|
|
107583
107636
|
pinColumn: "Fest kolonne",
|
|
107584
107637
|
pinLeft: "Fest til venstre",
|
|
107585
107638
|
pinRight: "Fest til h\xF8yre",
|
|
107586
|
-
noPin: "
|
|
107639
|
+
noPin: "Ikke festet",
|
|
107587
107640
|
autoSizeThisColumn: "Tilpass kolonnebredden automatisk",
|
|
107588
|
-
autoSizeAllColumns: "Tilpass alle
|
|
107641
|
+
autoSizeAllColumns: "Tilpass alle kolonnebredder automatisk",
|
|
107589
107642
|
hideColumn: "Skjul kolonne",
|
|
107590
107643
|
resetColumns: "Tilbakestill kolonner",
|
|
107591
107644
|
unGroupBy: "Fjern gruppering etter {{label}}",
|
|
107592
107645
|
groupBy: "Grupper etter {{label}}"
|
|
107593
107646
|
},
|
|
107594
|
-
grandTotals: "
|
|
107647
|
+
grandTotals: "Totalsummer",
|
|
107595
107648
|
search: "S\xF8k",
|
|
107596
107649
|
subtotals: "Delsummer",
|
|
107597
107650
|
tableSettings: {
|
|
@@ -107601,7 +107654,7 @@ var nb_NO_default = {
|
|
|
107601
107654
|
small: "Liten",
|
|
107602
107655
|
medium: "Middels",
|
|
107603
107656
|
large: "Stor",
|
|
107604
|
-
tableSettings: "
|
|
107657
|
+
tableSettings: "Innstillinger for tabell",
|
|
107605
107658
|
groupBy: "Grupper etter:",
|
|
107606
107659
|
reset: "Tilbakestill",
|
|
107607
107660
|
selectColumnGroup: "Velg en kolonne \xE5 gruppere",
|
|
@@ -107614,14 +107667,14 @@ var nb_NO_default = {
|
|
|
107614
107667
|
},
|
|
107615
107668
|
columnGroupToggle: {
|
|
107616
107669
|
collapse: "Skjul kolonnegruppe",
|
|
107617
|
-
expand: "
|
|
107670
|
+
expand: "Vis kolonnegruppe"
|
|
107618
107671
|
},
|
|
107619
107672
|
cells: {
|
|
107620
107673
|
textCell: {
|
|
107621
107674
|
placeholder: "Skriv inn tekst"
|
|
107622
107675
|
},
|
|
107623
107676
|
currencyCell: {
|
|
107624
|
-
placeholder: "
|
|
107677
|
+
placeholder: "Skriv inn valuta"
|
|
107625
107678
|
},
|
|
107626
107679
|
linkCell: {
|
|
107627
107680
|
externalLabel: "\xC5pne ekstern kobling"
|
|
@@ -107650,12 +107703,13 @@ var nb_NO_default = {
|
|
|
107650
107703
|
},
|
|
107651
107704
|
filterRenders: {
|
|
107652
107705
|
dateFilter: {
|
|
107706
|
+
invalidDate: "Skriv inn en gyldig dato.",
|
|
107653
107707
|
single: "Enslig",
|
|
107654
107708
|
range: "Rekkevidde"
|
|
107655
107709
|
}
|
|
107656
107710
|
},
|
|
107657
107711
|
groupCell: {
|
|
107658
|
-
expand: "
|
|
107712
|
+
expand: "Vis gruppe",
|
|
107659
107713
|
collapse: "Skjul gruppe"
|
|
107660
107714
|
},
|
|
107661
107715
|
rowCheckbox: {
|
|
@@ -107678,7 +107732,7 @@ var pl_PL_default = {
|
|
|
107678
107732
|
title: "Obecnie nie ma pozycji do wy\u015Bwietlenia",
|
|
107679
107733
|
itemsTitle: "Obecnie nie ma %{itemsLabel} do wy\u015Bwietlenia",
|
|
107680
107734
|
tooltip: "Przycisk: %{featureName} zostanie w\u0142\u0105czony, gdy dodasz informacje do: %{tableName}",
|
|
107681
|
-
searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do %{tableName}",
|
|
107735
|
+
searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do: %{tableName}",
|
|
107682
107736
|
featureFilter: "Filtruj",
|
|
107683
107737
|
featureQuickFilter: "Szybki filtr",
|
|
107684
107738
|
featureGroupBy: "Grupuj wed\u0142ug",
|
|
@@ -107831,6 +107885,7 @@ var pl_PL_default = {
|
|
|
107831
107885
|
},
|
|
107832
107886
|
filterRenders: {
|
|
107833
107887
|
dateFilter: {
|
|
107888
|
+
invalidDate: "Wprowad\u017A prawid\u0142ow\u0105 dat\u0119.",
|
|
107834
107889
|
single: "Pojedyncze",
|
|
107835
107890
|
range: "Zakres"
|
|
107836
107891
|
}
|
|
@@ -108012,6 +108067,7 @@ var pseudo_default = {
|
|
|
108012
108067
|
},
|
|
108013
108068
|
filterRenders: {
|
|
108014
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....]",
|
|
108015
108071
|
single: "[\u015E\u015E\u012B\u019E\u0260\u0140\u1E17\u1E17]",
|
|
108016
108072
|
range: "[\u0158\u0227\u019E\u0260\u1E17]"
|
|
108017
108073
|
}
|
|
@@ -108193,6 +108249,7 @@ var pt_BR_default = {
|
|
|
108193
108249
|
},
|
|
108194
108250
|
filterRenders: {
|
|
108195
108251
|
dateFilter: {
|
|
108252
|
+
invalidDate: "Insira uma data v\xE1lida.",
|
|
108196
108253
|
single: "\xDAnico",
|
|
108197
108254
|
range: "Intervalo"
|
|
108198
108255
|
}
|
|
@@ -108221,7 +108278,7 @@ var pt_PT_default = {
|
|
|
108221
108278
|
title: "N\xE3o h\xE1 itens para apresentar neste momento",
|
|
108222
108279
|
itemsTitle: "N\xE3o h\xE1 %{itemsLabel} para apresentar neste momento",
|
|
108223
108280
|
tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado quando adicionar informa\xE7\xF5es a %{tableName}",
|
|
108224
|
-
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}",
|
|
108225
108282
|
featureFilter: "Filtro",
|
|
108226
108283
|
featureQuickFilter: "Filtro r\xE1pido",
|
|
108227
108284
|
featureGroupBy: "Agrupar por",
|
|
@@ -108327,7 +108384,7 @@ var pt_PT_default = {
|
|
|
108327
108384
|
large: "Grande",
|
|
108328
108385
|
tableSettings: "Defini\xE7\xF5es de tabela",
|
|
108329
108386
|
groupBy: "Agrupar por:",
|
|
108330
|
-
reset: "
|
|
108387
|
+
reset: "Repor",
|
|
108331
108388
|
selectColumnGroup: "Selecionar uma coluna para agrupar",
|
|
108332
108389
|
configure: "Configurar"
|
|
108333
108390
|
},
|
|
@@ -108374,7 +108431,8 @@ var pt_PT_default = {
|
|
|
108374
108431
|
},
|
|
108375
108432
|
filterRenders: {
|
|
108376
108433
|
dateFilter: {
|
|
108377
|
-
|
|
108434
|
+
invalidDate: "Introduza uma data v\xE1lida.",
|
|
108435
|
+
single: "\xDAnica",
|
|
108378
108436
|
range: "Intervalo"
|
|
108379
108437
|
}
|
|
108380
108438
|
},
|
|
@@ -108555,6 +108613,7 @@ var th_TH_default = {
|
|
|
108555
108613
|
},
|
|
108556
108614
|
filterRenders: {
|
|
108557
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",
|
|
108558
108617
|
single: "\u0E40\u0E14\u0E35\u0E48\u0E22\u0E27",
|
|
108559
108618
|
range: "\u0E41\u0E19\u0E27"
|
|
108560
108619
|
}
|
|
@@ -108582,8 +108641,8 @@ var zh_SG_default = {
|
|
|
108582
108641
|
description: "\u56E2\u961F\u521B\u5EFA\u9879\u540E\uFF0C\u53EF\u4EE5\u5728\u6B64\u5904\u8BBF\u95EE\u5B83\u4EEC\u3002 ",
|
|
108583
108642
|
title: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684\u9879",
|
|
108584
108643
|
itemsTitle: "\u5F53\u524D\u6CA1\u6709\u53EF\u663E\u793A\u7684%{itemsLabel}",
|
|
108585
|
-
tooltip: "\
|
|
108586
|
-
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",
|
|
108587
108646
|
featureFilter: "\u7B5B\u9009\u5668",
|
|
108588
108647
|
featureQuickFilter: "\u5FEB\u901F\u7B5B\u9009",
|
|
108589
108648
|
featureGroupBy: "\u5206\u7EC4\u4F9D\u636E",
|
|
@@ -108736,6 +108795,7 @@ var zh_SG_default = {
|
|
|
108736
108795
|
},
|
|
108737
108796
|
filterRenders: {
|
|
108738
108797
|
dateFilter: {
|
|
108798
|
+
invalidDate: "\u8BF7\u8F93\u5165\u6709\u6548\u7684\u65E5\u671F\u3002",
|
|
108739
108799
|
single: "\u5355\u4E2A",
|
|
108740
108800
|
range: "\u8303\u56F4"
|
|
108741
108801
|
}
|
|
@@ -108799,7 +108859,7 @@ var zh_TW_default = {
|
|
|
108799
108859
|
removeFilterToken: "\u79FB\u9664\u300C%{name}\u300D",
|
|
108800
108860
|
locationFilter: {
|
|
108801
108861
|
selectAll: "\u5168\u90E8\u9078\u53D6",
|
|
108802
|
-
includeSublocations: "\u5305\u62EC\
|
|
108862
|
+
includeSublocations: "\u5305\u62EC\u6B21\u8981\u5730\u9EDE",
|
|
108803
108863
|
searchLocations: "\u641C\u5C0B\u5730\u9EDE",
|
|
108804
108864
|
locations: "\u5730\u9EDE"
|
|
108805
108865
|
},
|
|
@@ -108856,7 +108916,7 @@ var zh_TW_default = {
|
|
|
108856
108916
|
hideColumn: "\u96B1\u85CF\u6B04\u4F4D",
|
|
108857
108917
|
resetColumns: "\u91CD\u8A2D\u6B04\u4F4D",
|
|
108858
108918
|
unGroupBy: "\u53D6\u6D88\u4F9D{{label}}\u5206\u7D44",
|
|
108859
|
-
groupBy: "\u4F9D
|
|
108919
|
+
groupBy: "\u4F9D{{label}}\u5206\u7D44"
|
|
108860
108920
|
},
|
|
108861
108921
|
grandTotals: "\u7E3D\u8A08",
|
|
108862
108922
|
search: "\u641C\u5C0B",
|
|
@@ -108871,7 +108931,7 @@ var zh_TW_default = {
|
|
|
108871
108931
|
tableSettings: "\u8868\u683C\u8A2D\u5B9A",
|
|
108872
108932
|
groupBy: "\u5206\u7D44\u4F9D\u64DA\uFF1A",
|
|
108873
108933
|
reset: "\u91CD\u8A2D",
|
|
108874
|
-
selectColumnGroup: "\u9078\u53D6\
|
|
108934
|
+
selectColumnGroup: "\u9078\u53D6\u5206\u7D44\u6B04\u4F4D",
|
|
108875
108935
|
configure: "\u8A2D\u5B9A"
|
|
108876
108936
|
},
|
|
108877
108937
|
rowGroupToggle: {
|
|
@@ -108917,6 +108977,7 @@ var zh_TW_default = {
|
|
|
108917
108977
|
},
|
|
108918
108978
|
filterRenders: {
|
|
108919
108979
|
dateFilter: {
|
|
108980
|
+
invalidDate: "\u8ACB\u8F38\u5165\u6709\u6548\u65E5\u671F\u3002",
|
|
108920
108981
|
single: "\u55AE\u4E00",
|
|
108921
108982
|
range: "\u7BC4\u570D"
|
|
108922
108983
|
}
|
|
@@ -109887,10 +109948,10 @@ var GRAND_TOTAL_HEIGHT = rowSize.sm;
|
|
|
109887
109948
|
var GROUP_FOOTER_HEIGHT = rowSize.sm;
|
|
109888
109949
|
var CUSTOM_FOOTER_HEIGHT = rowSize.md;
|
|
109889
109950
|
var HEADER_HEIGHT = rowSize.md;
|
|
109890
|
-
var
|
|
109951
|
+
var cx20 = classnames.bind(styles_default);
|
|
109891
109952
|
var tableIcons = {
|
|
109892
109953
|
rowDrag,
|
|
109893
|
-
columnMoveMove: `<span class="ag-icon ${
|
|
109954
|
+
columnMoveMove: `<span class="ag-icon ${cx20(
|
|
109894
109955
|
"col-drag-column-icon"
|
|
109895
109956
|
)}">${rowDrag}</i>`
|
|
109896
109957
|
};
|
|
@@ -111107,7 +111168,7 @@ var Table = (props) => {
|
|
|
111107
111168
|
width: "100%",
|
|
111108
111169
|
maxHeight: props.maxHeight && tableHeight < props.maxHeight ? void 0 : props.maxHeight
|
|
111109
111170
|
},
|
|
111110
|
-
className:
|
|
111171
|
+
className: cx20("data-table-container", "ag-theme-alpine", {
|
|
111111
111172
|
"ag-suppress-column-virtualization": suppressColumnVirtualisation
|
|
111112
111173
|
}),
|
|
111113
111174
|
ref: combinedRef,
|
|
@@ -111299,13 +111360,13 @@ var ContextPanel = ({
|
|
|
111299
111360
|
tabIndex: -1,
|
|
111300
111361
|
role: "region",
|
|
111301
111362
|
"aria-label": ariaLabel,
|
|
111302
|
-
className:
|
|
111363
|
+
className: cx20("contextPanel", className, {
|
|
111303
111364
|
"contextPanel--hidden": !contextPanel.isVisible || contextPanel.content === "filters"
|
|
111304
111365
|
}),
|
|
111305
111366
|
"data-qa": "data-table-context-panel",
|
|
111306
111367
|
...props
|
|
111307
111368
|
},
|
|
111308
|
-
/* @__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)
|
|
111309
111370
|
);
|
|
111310
111371
|
};
|
|
111311
111372
|
function isLastColumnInGroup(params) {
|
|
@@ -111432,7 +111493,7 @@ var StyledPanelSection = styled4(Panel.Section)`
|
|
|
111432
111493
|
// src/Panels/Filters.tsx
|
|
111433
111494
|
function noop5() {
|
|
111434
111495
|
}
|
|
111435
|
-
var
|
|
111496
|
+
var cx21 = classnames.bind(styles_default);
|
|
111436
111497
|
function isServerSideFilterGroups(_FiltersInGroup, isServerSideRowModel) {
|
|
111437
111498
|
return isServerSideRowModel;
|
|
111438
111499
|
}
|
|
@@ -111444,7 +111505,7 @@ var Filters = ({
|
|
|
111444
111505
|
return /* @__PURE__ */ React80.createElement(
|
|
111445
111506
|
"ol",
|
|
111446
111507
|
{
|
|
111447
|
-
className:
|
|
111508
|
+
className: cx21("filters-list"),
|
|
111448
111509
|
"data-qa": "data-table-possible-filters-list"
|
|
111449
111510
|
},
|
|
111450
111511
|
filters.map((fieldName) => {
|
|
@@ -111479,7 +111540,7 @@ function FilterListItems(props) {
|
|
|
111479
111540
|
return /* @__PURE__ */ React80.createElement(
|
|
111480
111541
|
"ol",
|
|
111481
111542
|
{
|
|
111482
|
-
className:
|
|
111543
|
+
className: cx21("filters-list"),
|
|
111483
111544
|
"data-qa": "data-table-possible-filters-list"
|
|
111484
111545
|
},
|
|
111485
111546
|
filtersInGroup.map((filterRecord) => {
|
|
@@ -111537,7 +111598,7 @@ function FiltersList(props) {
|
|
|
111537
111598
|
return /* @__PURE__ */ React80.createElement(
|
|
111538
111599
|
Box,
|
|
111539
111600
|
{
|
|
111540
|
-
className:
|
|
111601
|
+
className: cx21("filters-list"),
|
|
111541
111602
|
"data-qa": "data-table-possible-filters-list-container"
|
|
111542
111603
|
},
|
|
111543
111604
|
filterGroups == null ? void 0 : filterGroups.map((group2) => {
|
|
@@ -111593,14 +111654,14 @@ var BaseFiltersPanel = ({
|
|
|
111593
111654
|
role: "region",
|
|
111594
111655
|
"aria-label": I18n.t("dataTable.filters.filters"),
|
|
111595
111656
|
style: { maxHeight: "100vh" },
|
|
111596
|
-
className:
|
|
111657
|
+
className: cx21("contextPanel", className, {
|
|
111597
111658
|
"contextPanel--hidden": hidden
|
|
111598
111659
|
}),
|
|
111599
111660
|
"data-qa": "data-table-filters-context-panel",
|
|
111600
111661
|
id: filtersPanelId,
|
|
111601
111662
|
...props
|
|
111602
111663
|
},
|
|
111603
|
-
/* @__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(
|
|
111604
111665
|
Button,
|
|
111605
111666
|
{
|
|
111606
111667
|
"data-qa": "data-table-remove-all-filters",
|
|
@@ -111609,7 +111670,7 @@ var BaseFiltersPanel = ({
|
|
|
111609
111670
|
variant: "tertiary"
|
|
111610
111671
|
},
|
|
111611
111672
|
I18n.t("dataTable.filters.clearAllFilters")
|
|
111612
|
-
)), /* @__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))))
|
|
111613
111674
|
);
|
|
111614
111675
|
};
|
|
111615
111676
|
function ClientSideFiltersPanel(props) {
|
|
@@ -113266,7 +113327,7 @@ function mapColumnsToOptions(columnDefinitions) {
|
|
|
113266
113327
|
};
|
|
113267
113328
|
});
|
|
113268
113329
|
}
|
|
113269
|
-
var
|
|
113330
|
+
var cx22 = classnames.bind(quickControlsStyles_default);
|
|
113270
113331
|
var ClientSideSearch = ({
|
|
113271
113332
|
onSearch,
|
|
113272
113333
|
placeholder
|
|
@@ -113301,7 +113362,7 @@ var ClientSideSearch = ({
|
|
|
113301
113362
|
disabled: hasNoContent,
|
|
113302
113363
|
"data-qa": "data-table-search",
|
|
113303
113364
|
value: internalValue,
|
|
113304
|
-
className:
|
|
113365
|
+
className: cx22("search", {
|
|
113305
113366
|
"search--empty": !internalValue.length
|
|
113306
113367
|
}),
|
|
113307
113368
|
onChange,
|