@procore/data-table 14.45.0 → 14.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/legacy/index.cjs +205 -49
- package/dist/legacy/index.d.cts +2 -0
- package/dist/legacy/index.d.ts +2 -0
- package/dist/legacy/index.js +205 -49
- package/dist/modern/index.cjs +204 -49
- package/dist/modern/index.d.cts +2 -0
- package/dist/modern/index.d.ts +2 -0
- package/dist/modern/index.js +204 -49
- package/package.json +2 -2
package/dist/legacy/index.cjs
CHANGED
|
@@ -57972,7 +57972,9 @@ var InternalTableContext = React80__default.default.createContext({
|
|
|
57972
57972
|
totalRowCount: 0,
|
|
57973
57973
|
setTotalRowCount: () => {
|
|
57974
57974
|
},
|
|
57975
|
-
hasDuplicateRowIds: false
|
|
57975
|
+
hasDuplicateRowIds: false,
|
|
57976
|
+
filtersPanelId: void 0,
|
|
57977
|
+
filtersBodyId: void 0
|
|
57976
57978
|
});
|
|
57977
57979
|
var useInternalTableContext = () => React80__default.default.useContext(InternalTableContext);
|
|
57978
57980
|
var prng = ulid$1.detectPrng(true);
|
|
@@ -103385,10 +103387,103 @@ function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
|
103385
103387
|
return f === null || f === void 0 ? void 0 : f(...args);
|
|
103386
103388
|
}, []);
|
|
103387
103389
|
}
|
|
103390
|
+
var $b5e257d569688ac6$var$defaultContext = {
|
|
103391
|
+
prefix: String(Math.round(Math.random() * 1e10)),
|
|
103392
|
+
current: 0
|
|
103393
|
+
};
|
|
103394
|
+
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80__default.default).createContext($b5e257d569688ac6$var$defaultContext);
|
|
103395
|
+
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80__default.default).createContext(false);
|
|
103396
|
+
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103397
|
+
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
103398
|
+
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
103399
|
+
let ctx = (React80.useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103400
|
+
let ref = (React80.useRef)(null);
|
|
103401
|
+
if (ref.current === null && !isDisabled) {
|
|
103402
|
+
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
103403
|
+
let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = (React80__default.default).__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;
|
|
103404
|
+
if (currentOwner) {
|
|
103405
|
+
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
103406
|
+
if (prevComponentValue == null)
|
|
103407
|
+
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
103408
|
+
id: ctx.current,
|
|
103409
|
+
state: currentOwner.memoizedState
|
|
103410
|
+
});
|
|
103411
|
+
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
103412
|
+
ctx.current = prevComponentValue.id;
|
|
103413
|
+
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
103414
|
+
}
|
|
103415
|
+
}
|
|
103416
|
+
ref.current = ++ctx.current;
|
|
103417
|
+
}
|
|
103418
|
+
return ref.current;
|
|
103419
|
+
}
|
|
103420
|
+
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
103421
|
+
let ctx = (React80.useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103422
|
+
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.");
|
|
103423
|
+
let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
103424
|
+
let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
|
|
103425
|
+
return defaultId || `${prefix}-${counter2}`;
|
|
103426
|
+
}
|
|
103427
|
+
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
103428
|
+
let id = (React80__default.default).useId();
|
|
103429
|
+
let [didSSR] = (React80.useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
103430
|
+
let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
103431
|
+
return defaultId || `${prefix}-${id}`;
|
|
103432
|
+
}
|
|
103433
|
+
var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80__default.default)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
103434
|
+
function $b5e257d569688ac6$var$getSnapshot() {
|
|
103435
|
+
return false;
|
|
103436
|
+
}
|
|
103437
|
+
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
103438
|
+
return true;
|
|
103439
|
+
}
|
|
103440
|
+
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
103441
|
+
return () => {
|
|
103442
|
+
};
|
|
103443
|
+
}
|
|
103444
|
+
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
103445
|
+
if (typeof (React80__default.default)["useSyncExternalStore"] === "function") return (React80__default.default)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
103446
|
+
return (React80.useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
103447
|
+
}
|
|
103448
|
+
|
|
103449
|
+
// ../../node_modules/@react-aria/utils/dist/useId.mjs
|
|
103450
|
+
var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103388
103451
|
var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
103389
|
-
|
|
103452
|
+
var $bdb11010cef70236$var$registry;
|
|
103453
|
+
if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
|
|
103390
103454
|
$bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
|
|
103391
103455
|
});
|
|
103456
|
+
function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
|
|
103457
|
+
let [value, setValue] = (React80.useState)(defaultId);
|
|
103458
|
+
let nextId = (React80.useRef)(null);
|
|
103459
|
+
let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
|
|
103460
|
+
let cleanupRef = (React80.useRef)(null);
|
|
103461
|
+
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
|
|
103462
|
+
if ($bdb11010cef70236$var$canUseDOM) {
|
|
103463
|
+
const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
|
|
103464
|
+
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
103465
|
+
else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
|
|
103466
|
+
nextId
|
|
103467
|
+
]);
|
|
103468
|
+
}
|
|
103469
|
+
($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
|
|
103470
|
+
let r2 = res;
|
|
103471
|
+
return () => {
|
|
103472
|
+
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
|
|
103473
|
+
$bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
|
|
103474
|
+
};
|
|
103475
|
+
}, [
|
|
103476
|
+
res
|
|
103477
|
+
]);
|
|
103478
|
+
(React80.useEffect)(() => {
|
|
103479
|
+
let newId = nextId.current;
|
|
103480
|
+
if (newId) setValue(newId);
|
|
103481
|
+
return () => {
|
|
103482
|
+
if (newId) nextId.current = null;
|
|
103483
|
+
};
|
|
103484
|
+
});
|
|
103485
|
+
return res;
|
|
103486
|
+
}
|
|
103392
103487
|
function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
|
|
103393
103488
|
if (idA === idB) return idA;
|
|
103394
103489
|
let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
|
|
@@ -105154,7 +105249,8 @@ var de_DE_default = {
|
|
|
105154
105249
|
exporting: "Wird exportiert\xA0\u2026",
|
|
105155
105250
|
filters: {
|
|
105156
105251
|
filters: "Filter",
|
|
105157
|
-
allFilters: "
|
|
105252
|
+
allFilters: "Alle Filter",
|
|
105253
|
+
moreFilters: "Weitere Filter",
|
|
105158
105254
|
clearAllFilters: "Alle Filter zur\xFCcksetzen",
|
|
105159
105255
|
close: "Schlie\xDFen",
|
|
105160
105256
|
removeFilterToken: "%{name} entfernen",
|
|
@@ -105173,6 +105269,7 @@ var de_DE_default = {
|
|
|
105173
105269
|
options: {
|
|
105174
105270
|
any_value: "Beliebiger Wert",
|
|
105175
105271
|
is_between: "Ist zwischen",
|
|
105272
|
+
is_equal_to: "Ist gleich",
|
|
105176
105273
|
greater_than: "Ist gr\xF6\xDFer als",
|
|
105177
105274
|
greater_than_equal_to: "Ist gr\xF6\xDFer als oder gleich",
|
|
105178
105275
|
less_than: "Ist kleiner als",
|
|
@@ -105251,7 +105348,7 @@ var de_DE_default = {
|
|
|
105251
105348
|
placeholder: "W\xE4hrung eingeben"
|
|
105252
105349
|
},
|
|
105253
105350
|
linkCell: {
|
|
105254
|
-
externalLabel: "
|
|
105351
|
+
externalLabel: "Externen Link \xF6ffnen"
|
|
105255
105352
|
},
|
|
105256
105353
|
numberCell: {
|
|
105257
105354
|
placeholder: "Nummer eingeben"
|
|
@@ -105333,7 +105430,8 @@ var en_AU_default = {
|
|
|
105333
105430
|
exporting: "Exporting...",
|
|
105334
105431
|
filters: {
|
|
105335
105432
|
filters: "Filters",
|
|
105336
|
-
allFilters: "All
|
|
105433
|
+
allFilters: "All filters",
|
|
105434
|
+
moreFilters: "More filters",
|
|
105337
105435
|
clearAllFilters: "Clear all filters",
|
|
105338
105436
|
close: "Close",
|
|
105339
105437
|
removeFilterToken: "Remove %{name}",
|
|
@@ -105352,6 +105450,7 @@ var en_AU_default = {
|
|
|
105352
105450
|
options: {
|
|
105353
105451
|
any_value: "Any value",
|
|
105354
105452
|
is_between: "Is between",
|
|
105453
|
+
is_equal_to: "Is equal to",
|
|
105355
105454
|
greater_than: "Is greater than",
|
|
105356
105455
|
greater_than_equal_to: "Is greater than or equal to",
|
|
105357
105456
|
less_than: "Is less than",
|
|
@@ -105512,7 +105611,8 @@ var en_CA_default = {
|
|
|
105512
105611
|
exporting: "Exporting...",
|
|
105513
105612
|
filters: {
|
|
105514
105613
|
filters: "Filters",
|
|
105515
|
-
allFilters: "All
|
|
105614
|
+
allFilters: "All filters",
|
|
105615
|
+
moreFilters: "More filters",
|
|
105516
105616
|
clearAllFilters: "Clear all filters",
|
|
105517
105617
|
close: "Close",
|
|
105518
105618
|
removeFilterToken: "Remove %{name}",
|
|
@@ -105531,6 +105631,7 @@ var en_CA_default = {
|
|
|
105531
105631
|
options: {
|
|
105532
105632
|
any_value: "Any value",
|
|
105533
105633
|
is_between: "Is between",
|
|
105634
|
+
is_equal_to: "Is equal to",
|
|
105534
105635
|
greater_than: "Is greater than",
|
|
105535
105636
|
greater_than_equal_to: "Is greater than or equal to",
|
|
105536
105637
|
less_than: "Is less than",
|
|
@@ -105691,7 +105792,8 @@ var en_GB_default = {
|
|
|
105691
105792
|
exporting: "Exporting...",
|
|
105692
105793
|
filters: {
|
|
105693
105794
|
filters: "Filters",
|
|
105694
|
-
allFilters: "All
|
|
105795
|
+
allFilters: "All filters",
|
|
105796
|
+
moreFilters: "More filters",
|
|
105695
105797
|
clearAllFilters: "Clear all filters",
|
|
105696
105798
|
close: "Close",
|
|
105697
105799
|
removeFilterToken: "Remove %{name}",
|
|
@@ -105710,6 +105812,7 @@ var en_GB_default = {
|
|
|
105710
105812
|
options: {
|
|
105711
105813
|
any_value: "Any value",
|
|
105712
105814
|
is_between: "Is between",
|
|
105815
|
+
is_equal_to: "Is equal to",
|
|
105713
105816
|
greater_than: "Is greater than",
|
|
105714
105817
|
greater_than_equal_to: "Is greater than or equal to",
|
|
105715
105818
|
less_than: "Is less than",
|
|
@@ -106051,7 +106154,8 @@ var es_ES_default = {
|
|
|
106051
106154
|
exporting: "Exportando...",
|
|
106052
106155
|
filters: {
|
|
106053
106156
|
filters: "Filtros",
|
|
106054
|
-
allFilters: "
|
|
106157
|
+
allFilters: "Todos los filtros",
|
|
106158
|
+
moreFilters: "M\xE1s filtros",
|
|
106055
106159
|
clearAllFilters: "Borrar todos los filtros",
|
|
106056
106160
|
close: "Cerrar",
|
|
106057
106161
|
removeFilterToken: "Eliminar %{name}",
|
|
@@ -106070,6 +106174,7 @@ var es_ES_default = {
|
|
|
106070
106174
|
options: {
|
|
106071
106175
|
any_value: "Cualquier valor",
|
|
106072
106176
|
is_between: "Est\xE1 entre",
|
|
106177
|
+
is_equal_to: "Es igual a",
|
|
106073
106178
|
greater_than: "Es mayor que",
|
|
106074
106179
|
greater_than_equal_to: "Es mayor o igual que",
|
|
106075
106180
|
less_than: "Es menor que",
|
|
@@ -106148,7 +106253,7 @@ var es_ES_default = {
|
|
|
106148
106253
|
placeholder: "Introducir moneda"
|
|
106149
106254
|
},
|
|
106150
106255
|
linkCell: {
|
|
106151
|
-
externalLabel: "
|
|
106256
|
+
externalLabel: "Abrir enlace externo"
|
|
106152
106257
|
},
|
|
106153
106258
|
numberCell: {
|
|
106154
106259
|
placeholder: "Introducir n\xFAmero"
|
|
@@ -106230,7 +106335,8 @@ var es_default = {
|
|
|
106230
106335
|
exporting: "Exportando...",
|
|
106231
106336
|
filters: {
|
|
106232
106337
|
filters: "Filtros",
|
|
106233
|
-
allFilters: "
|
|
106338
|
+
allFilters: "Todos los filtros",
|
|
106339
|
+
moreFilters: "M\xE1s filtros",
|
|
106234
106340
|
clearAllFilters: "Restablecer todos los filtros",
|
|
106235
106341
|
close: "Cerrar",
|
|
106236
106342
|
removeFilterToken: "Eliminar %{name}",
|
|
@@ -106249,6 +106355,7 @@ var es_default = {
|
|
|
106249
106355
|
options: {
|
|
106250
106356
|
any_value: "Cualquier valor",
|
|
106251
106357
|
is_between: "Est\xE1 entre",
|
|
106358
|
+
is_equal_to: "Es igual a",
|
|
106252
106359
|
greater_than: "Es mayor que",
|
|
106253
106360
|
greater_than_equal_to: "Es mayor o igual que",
|
|
106254
106361
|
less_than: "Es menor que",
|
|
@@ -106327,7 +106434,7 @@ var es_default = {
|
|
|
106327
106434
|
placeholder: "Ingresar moneda"
|
|
106328
106435
|
},
|
|
106329
106436
|
linkCell: {
|
|
106330
|
-
externalLabel: "
|
|
106437
|
+
externalLabel: "Abrir enlace externo"
|
|
106331
106438
|
},
|
|
106332
106439
|
numberCell: {
|
|
106333
106440
|
placeholder: "Ingresar n\xFAmero"
|
|
@@ -106409,7 +106516,8 @@ var fr_CA_default = {
|
|
|
106409
106516
|
exporting: "Exportation ...",
|
|
106410
106517
|
filters: {
|
|
106411
106518
|
filters: "Filtres",
|
|
106412
|
-
allFilters: "
|
|
106519
|
+
allFilters: "Tous les filtres",
|
|
106520
|
+
moreFilters: "Plus de filtres",
|
|
106413
106521
|
clearAllFilters: "Effacer tous les filtres",
|
|
106414
106522
|
close: "Fermer",
|
|
106415
106523
|
removeFilterToken: "Retirer %{name}",
|
|
@@ -106428,6 +106536,7 @@ var fr_CA_default = {
|
|
|
106428
106536
|
options: {
|
|
106429
106537
|
any_value: "N'importe quelle valeur",
|
|
106430
106538
|
is_between: "Est entre",
|
|
106539
|
+
is_equal_to: "Est \xE9gal \xE0",
|
|
106431
106540
|
greater_than: "Est sup\xE9rieur \xE0",
|
|
106432
106541
|
greater_than_equal_to: "Est sup\xE9rieur ou \xE9gal \xE0",
|
|
106433
106542
|
less_than: "Est inf\xE9rieur \xE0",
|
|
@@ -106506,7 +106615,7 @@ var fr_CA_default = {
|
|
|
106506
106615
|
placeholder: "Saisir la devise"
|
|
106507
106616
|
},
|
|
106508
106617
|
linkCell: {
|
|
106509
|
-
externalLabel: "
|
|
106618
|
+
externalLabel: "Lien externe ouvert"
|
|
106510
106619
|
},
|
|
106511
106620
|
numberCell: {
|
|
106512
106621
|
placeholder: "Saisir un num\xE9ro"
|
|
@@ -106588,7 +106697,8 @@ var fr_FR_default = {
|
|
|
106588
106697
|
exporting: "Exportation...",
|
|
106589
106698
|
filters: {
|
|
106590
106699
|
filters: "Filtres",
|
|
106591
|
-
allFilters: "
|
|
106700
|
+
allFilters: "Tous les filtres",
|
|
106701
|
+
moreFilters: "Plus de filtres",
|
|
106592
106702
|
clearAllFilters: "Effacer tous les filtres",
|
|
106593
106703
|
close: "Fermer",
|
|
106594
106704
|
removeFilterToken: "Retirer %{name}",
|
|
@@ -106607,6 +106717,7 @@ var fr_FR_default = {
|
|
|
106607
106717
|
options: {
|
|
106608
106718
|
any_value: "N'importe quelle valeur",
|
|
106609
106719
|
is_between: "Est comprise entre",
|
|
106720
|
+
is_equal_to: "Est \xE9gal \xE0",
|
|
106610
106721
|
greater_than: "Est sup\xE9rieure \xE0",
|
|
106611
106722
|
greater_than_equal_to: "Est sup\xE9rieure ou \xE9gale \xE0",
|
|
106612
106723
|
less_than: "Est inf\xE9rieure \xE0",
|
|
@@ -106670,8 +106781,8 @@ var fr_FR_default = {
|
|
|
106670
106781
|
},
|
|
106671
106782
|
rowGroupToggle: {
|
|
106672
106783
|
expandTierOne: "Ouvrez les premiers groupes du tableau.",
|
|
106673
|
-
expandAll: "
|
|
106674
|
-
collapseAll: "Fermer tous les groupes du tableau
|
|
106784
|
+
expandAll: "Ouvrir tous les groupes du tableau",
|
|
106785
|
+
collapseAll: "Fermer tous les groupes du tableau"
|
|
106675
106786
|
},
|
|
106676
106787
|
columnGroupToggle: {
|
|
106677
106788
|
collapse: "R\xE9duire le groupe de colonnes",
|
|
@@ -106685,7 +106796,7 @@ var fr_FR_default = {
|
|
|
106685
106796
|
placeholder: "Saisir la devise"
|
|
106686
106797
|
},
|
|
106687
106798
|
linkCell: {
|
|
106688
|
-
externalLabel: "
|
|
106799
|
+
externalLabel: "Ouvrir le lien externe"
|
|
106689
106800
|
},
|
|
106690
106801
|
numberCell: {
|
|
106691
106802
|
placeholder: "Saisir un num\xE9ro"
|
|
@@ -106767,7 +106878,8 @@ var is_IS_default = {
|
|
|
106767
106878
|
exporting: "Flytur \xFAt ...",
|
|
106768
106879
|
filters: {
|
|
106769
106880
|
filters: "S\xEDur",
|
|
106770
|
-
allFilters: "
|
|
106881
|
+
allFilters: "Allar s\xEDur",
|
|
106882
|
+
moreFilters: "Fleiri s\xEDur",
|
|
106771
106883
|
clearAllFilters: "Hreinsa allar s\xEDur",
|
|
106772
106884
|
close: "Loka\xF0u",
|
|
106773
106885
|
removeFilterToken: "Fjarl\xE6gja %{name}",
|
|
@@ -106786,6 +106898,7 @@ var is_IS_default = {
|
|
|
106786
106898
|
options: {
|
|
106787
106899
|
any_value: "Hva\xF0a gildi sem er",
|
|
106788
106900
|
is_between: "Er \xE1 milli",
|
|
106901
|
+
is_equal_to: "Er jafnt",
|
|
106789
106902
|
greater_than: "Er meiri en",
|
|
106790
106903
|
greater_than_equal_to: "Er st\xE6rra en e\xF0a jafnt",
|
|
106791
106904
|
less_than: "Er minna en",
|
|
@@ -106864,7 +106977,7 @@ var is_IS_default = {
|
|
|
106864
106977
|
placeholder: "Sl\xE1\xF0u inn gjaldmi\xF0il"
|
|
106865
106978
|
},
|
|
106866
106979
|
linkCell: {
|
|
106867
|
-
externalLabel: "
|
|
106980
|
+
externalLabel: "Opna utana\xF0komandi tengil"
|
|
106868
106981
|
},
|
|
106869
106982
|
numberCell: {
|
|
106870
106983
|
placeholder: "Sl\xE1\xF0u inn n\xFAmer"
|
|
@@ -106946,7 +107059,8 @@ var it_IT_default = {
|
|
|
106946
107059
|
exporting: "Esportazione in corso...",
|
|
106947
107060
|
filters: {
|
|
106948
107061
|
filters: "Filtri",
|
|
106949
|
-
allFilters: "
|
|
107062
|
+
allFilters: "Tutti i filtri",
|
|
107063
|
+
moreFilters: "Altri filtri",
|
|
106950
107064
|
clearAllFilters: "Cancella tutti i filtri",
|
|
106951
107065
|
close: "Chiudi",
|
|
106952
107066
|
removeFilterToken: "Rimuovi %{name}",
|
|
@@ -106965,6 +107079,7 @@ var it_IT_default = {
|
|
|
106965
107079
|
options: {
|
|
106966
107080
|
any_value: "Qualsiasi valore",
|
|
106967
107081
|
is_between: "\xC8 compreso tra",
|
|
107082
|
+
is_equal_to: "\xC8 uguale a",
|
|
106968
107083
|
greater_than: "\xC8 maggiore di",
|
|
106969
107084
|
greater_than_equal_to: "\xC8 maggiore o uguale a",
|
|
106970
107085
|
less_than: "\xC8 minore di",
|
|
@@ -107043,7 +107158,7 @@ var it_IT_default = {
|
|
|
107043
107158
|
placeholder: "Inserisci valuta"
|
|
107044
107159
|
},
|
|
107045
107160
|
linkCell: {
|
|
107046
|
-
externalLabel: "
|
|
107161
|
+
externalLabel: "Apri collegamento esterno"
|
|
107047
107162
|
},
|
|
107048
107163
|
numberCell: {
|
|
107049
107164
|
placeholder: "Inserisci numero"
|
|
@@ -107125,7 +107240,8 @@ var ja_JP_default = {
|
|
|
107125
107240
|
exporting: "\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u4E2D...",
|
|
107126
107241
|
filters: {
|
|
107127
107242
|
filters: "\u30D5\u30A3\u30EB\u30BF",
|
|
107128
|
-
allFilters: "
|
|
107243
|
+
allFilters: "\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u30FC",
|
|
107244
|
+
moreFilters: "\u305D\u306E\u4ED6\u306E\u30D5\u30A3\u30EB\u30BF",
|
|
107129
107245
|
clearAllFilters: "\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u3092\u6D88\u53BB",
|
|
107130
107246
|
close: "\u7D42\u4E86",
|
|
107131
107247
|
removeFilterToken: "%{name}\u524A\u9664",
|
|
@@ -107144,6 +107260,7 @@ var ja_JP_default = {
|
|
|
107144
107260
|
options: {
|
|
107145
107261
|
any_value: "\u4EFB\u610F\u306E\u5024",
|
|
107146
107262
|
is_between: "\u9593\u306B\u3042\u308B",
|
|
107263
|
+
is_equal_to: "\u7B49\u3057\u3044",
|
|
107147
107264
|
greater_than: "\u3088\u308A\u5927\u304D\u3044",
|
|
107148
107265
|
greater_than_equal_to: "\u4EE5\u4E0A\u3067\u3042\u308B",
|
|
107149
107266
|
less_than: "\u672A\u6E80\u3067\u3042\u308B",
|
|
@@ -107222,7 +107339,7 @@ var ja_JP_default = {
|
|
|
107222
107339
|
placeholder: "\u901A\u8CA8\u3092\u5165\u529B"
|
|
107223
107340
|
},
|
|
107224
107341
|
linkCell: {
|
|
107225
|
-
externalLabel: "
|
|
107342
|
+
externalLabel: "\u5916\u90E8\u30EA\u30F3\u30AF\u3092\u958B\u304F"
|
|
107226
107343
|
},
|
|
107227
107344
|
numberCell: {
|
|
107228
107345
|
placeholder: "\u756A\u53F7\u3092\u5165\u529B"
|
|
@@ -107267,13 +107384,13 @@ var nb_NO_default = {
|
|
|
107267
107384
|
dataTable: {
|
|
107268
107385
|
emptyState: {
|
|
107269
107386
|
noFilteredResults: {
|
|
107270
|
-
description: "
|
|
107387
|
+
description: "Kontroller staving og filteralternativer, eller s\xF8k etter et annet n\xF8kkelord.",
|
|
107271
107388
|
title: "Ingen enheter samsvarer med s\xF8ket ditt",
|
|
107272
107389
|
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
107273
107390
|
},
|
|
107274
107391
|
noResults: {
|
|
107275
107392
|
description: "Once your team creates these items, you can access them here. ",
|
|
107276
|
-
title: "
|
|
107393
|
+
title: "Ingen enheter kan vises akkurat n\xE5",
|
|
107277
107394
|
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
107278
107395
|
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
107279
107396
|
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
@@ -107304,8 +107421,9 @@ var nb_NO_default = {
|
|
|
107304
107421
|
exporting: "Exporting...",
|
|
107305
107422
|
filters: {
|
|
107306
107423
|
filters: "Filtre",
|
|
107307
|
-
allFilters: "
|
|
107308
|
-
|
|
107424
|
+
allFilters: "Alle filtre",
|
|
107425
|
+
moreFilters: "More Filters",
|
|
107426
|
+
clearAllFilters: "Fjern alle filtre",
|
|
107309
107427
|
close: "Close",
|
|
107310
107428
|
removeFilterToken: "Fjern %{name}",
|
|
107311
107429
|
locationFilter: {
|
|
@@ -107323,6 +107441,7 @@ var nb_NO_default = {
|
|
|
107323
107441
|
options: {
|
|
107324
107442
|
any_value: "Any Value",
|
|
107325
107443
|
is_between: "Is Between",
|
|
107444
|
+
is_equal_to: "Is Equal To",
|
|
107326
107445
|
greater_than: "Is Greater Than",
|
|
107327
107446
|
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
107328
107447
|
less_than: "Is Less Than",
|
|
@@ -107364,7 +107483,7 @@ var nb_NO_default = {
|
|
|
107364
107483
|
autoSizeThisColumn: "Autosize This Column",
|
|
107365
107484
|
autoSizeAllColumns: "Autosize All Columns",
|
|
107366
107485
|
hideColumn: "Hide Column",
|
|
107367
|
-
resetColumns: "
|
|
107486
|
+
resetColumns: "Tilbakestill kolonner",
|
|
107368
107487
|
unGroupBy: "Un-Group by {{label}}",
|
|
107369
107488
|
groupBy: "Group by {{label}}"
|
|
107370
107489
|
},
|
|
@@ -107401,7 +107520,7 @@ var nb_NO_default = {
|
|
|
107401
107520
|
placeholder: "Enter currency"
|
|
107402
107521
|
},
|
|
107403
107522
|
linkCell: {
|
|
107404
|
-
externalLabel: "
|
|
107523
|
+
externalLabel: "\xC5pne ekstern kobling"
|
|
107405
107524
|
},
|
|
107406
107525
|
numberCell: {
|
|
107407
107526
|
placeholder: "Enter number"
|
|
@@ -107483,7 +107602,8 @@ var pl_PL_default = {
|
|
|
107483
107602
|
exporting: "Eksportowanie...",
|
|
107484
107603
|
filters: {
|
|
107485
107604
|
filters: "Filtry",
|
|
107486
|
-
allFilters: "
|
|
107605
|
+
allFilters: "Wszystkie filtry",
|
|
107606
|
+
moreFilters: "Wi\u0119cej filtr\xF3w",
|
|
107487
107607
|
clearAllFilters: "Wyczy\u015B\u0107 wszystkie filtry",
|
|
107488
107608
|
close: "Zamknij",
|
|
107489
107609
|
removeFilterToken: "Usu\u0144 %{name}",
|
|
@@ -107502,6 +107622,7 @@ var pl_PL_default = {
|
|
|
107502
107622
|
options: {
|
|
107503
107623
|
any_value: "Dowolna warto\u015B\u0107",
|
|
107504
107624
|
is_between: "jest pomi\u0119dzy",
|
|
107625
|
+
is_equal_to: "jest r\xF3wne",
|
|
107505
107626
|
greater_than: "jest wi\u0119ksze ni\u017C",
|
|
107506
107627
|
greater_than_equal_to: "jest wi\u0119ksze ni\u017C lub r\xF3wne",
|
|
107507
107628
|
less_than: "mniej ni\u017C",
|
|
@@ -107580,7 +107701,7 @@ var pl_PL_default = {
|
|
|
107580
107701
|
placeholder: "Wprowad\u017A walut\u0119"
|
|
107581
107702
|
},
|
|
107582
107703
|
linkCell: {
|
|
107583
|
-
externalLabel: "
|
|
107704
|
+
externalLabel: "Otw\xF3rz zewn\u0119trzne \u0142\u0105cze"
|
|
107584
107705
|
},
|
|
107585
107706
|
numberCell: {
|
|
107586
107707
|
placeholder: "Wprowad\u017A numer"
|
|
@@ -107843,7 +107964,8 @@ var pt_BR_default = {
|
|
|
107843
107964
|
exporting: "Exportando...",
|
|
107844
107965
|
filters: {
|
|
107845
107966
|
filters: "Filtros",
|
|
107846
|
-
allFilters: "
|
|
107967
|
+
allFilters: "Todos os Filtros",
|
|
107968
|
+
moreFilters: "Mais Filtros",
|
|
107847
107969
|
clearAllFilters: "Limpar Todos os Filtros",
|
|
107848
107970
|
close: "Fechar",
|
|
107849
107971
|
removeFilterToken: "Remover %{name}",
|
|
@@ -107862,6 +107984,7 @@ var pt_BR_default = {
|
|
|
107862
107984
|
options: {
|
|
107863
107985
|
any_value: "Qualquer Valor",
|
|
107864
107986
|
is_between: "Est\xE1 entre",
|
|
107987
|
+
is_equal_to: "\xC9 igual a",
|
|
107865
107988
|
greater_than: "\xC9 Maior Que",
|
|
107866
107989
|
greater_than_equal_to: "\xC9 Maior Que ou Igual a",
|
|
107867
107990
|
less_than: "\xC9 Menor Que",
|
|
@@ -107940,7 +108063,7 @@ var pt_BR_default = {
|
|
|
107940
108063
|
placeholder: "Insira moeda"
|
|
107941
108064
|
},
|
|
107942
108065
|
linkCell: {
|
|
107943
|
-
externalLabel: "
|
|
108066
|
+
externalLabel: "Abrir link externo"
|
|
107944
108067
|
},
|
|
107945
108068
|
numberCell: {
|
|
107946
108069
|
placeholder: "Inserir n\xFAmeros"
|
|
@@ -108022,7 +108145,8 @@ var pt_PT_default = {
|
|
|
108022
108145
|
exporting: "A exportar...",
|
|
108023
108146
|
filters: {
|
|
108024
108147
|
filters: "Filtros",
|
|
108025
|
-
allFilters: "
|
|
108148
|
+
allFilters: "Todos os filtros",
|
|
108149
|
+
moreFilters: "Mais filtros",
|
|
108026
108150
|
clearAllFilters: "Apagar todos os filtros",
|
|
108027
108151
|
close: "Fechar",
|
|
108028
108152
|
removeFilterToken: "Remover %{name}",
|
|
@@ -108041,6 +108165,7 @@ var pt_PT_default = {
|
|
|
108041
108165
|
options: {
|
|
108042
108166
|
any_value: "Qualquer valor",
|
|
108043
108167
|
is_between: "Est\xE1 entre",
|
|
108168
|
+
is_equal_to: "\xC9 igual a",
|
|
108044
108169
|
greater_than: "\xC9 superior a",
|
|
108045
108170
|
greater_than_equal_to: "\xC9 igual ou superior a",
|
|
108046
108171
|
less_than: "\xC9 inferior a",
|
|
@@ -108119,7 +108244,7 @@ var pt_PT_default = {
|
|
|
108119
108244
|
placeholder: "Introduzir moeda"
|
|
108120
108245
|
},
|
|
108121
108246
|
linkCell: {
|
|
108122
|
-
externalLabel: "
|
|
108247
|
+
externalLabel: "Abrir liga\xE7\xE3o externa"
|
|
108123
108248
|
},
|
|
108124
108249
|
numberCell: {
|
|
108125
108250
|
placeholder: "Introduzir n\xFAmero"
|
|
@@ -108201,7 +108326,8 @@ var th_TH_default = {
|
|
|
108201
108326
|
exporting: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E48\u0E07\u0E2D\u0E2D\u0E01...",
|
|
108202
108327
|
filters: {
|
|
108203
108328
|
filters: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07",
|
|
108204
|
-
allFilters: "
|
|
108329
|
+
allFilters: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
108330
|
+
moreFilters: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",
|
|
108205
108331
|
clearAllFilters: "\u0E25\u0E49\u0E32\u0E07\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
108206
108332
|
close: "\u0E1B\u0E34\u0E14",
|
|
108207
108333
|
removeFilterToken: "\u0E25\u0E1A %{name}",
|
|
@@ -108220,6 +108346,7 @@ var th_TH_default = {
|
|
|
108220
108346
|
options: {
|
|
108221
108347
|
any_value: "\u0E04\u0E48\u0E32\u0E43\u0E14\u0E01\u0E47\u0E44\u0E14\u0E49",
|
|
108222
108348
|
is_between: "\u0E2D\u0E22\u0E39\u0E48\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07",
|
|
108349
|
+
is_equal_to: "\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A",
|
|
108223
108350
|
greater_than: "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",
|
|
108224
108351
|
greater_than_equal_to: "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32\u0E2B\u0E23\u0E37\u0E2D\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A",
|
|
108225
108352
|
less_than: "\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
|
|
@@ -108298,7 +108425,7 @@ var th_TH_default = {
|
|
|
108298
108425
|
placeholder: "\u0E1B\u0E49\u0E2D\u0E19\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19"
|
|
108299
108426
|
},
|
|
108300
108427
|
linkCell: {
|
|
108301
|
-
externalLabel: "
|
|
108428
|
+
externalLabel: "\u0E40\u0E1B\u0E34\u0E14\u0E25\u0E34\u0E07\u0E01\u0E4C\u0E20\u0E32\u0E22\u0E19\u0E2D\u0E01"
|
|
108302
108429
|
},
|
|
108303
108430
|
numberCell: {
|
|
108304
108431
|
placeholder: "\u0E1B\u0E49\u0E2D\u0E19\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02"
|
|
@@ -108380,7 +108507,8 @@ var zh_SG_default = {
|
|
|
108380
108507
|
exporting: "\u6B63\u5728\u5BFC\u51FA...",
|
|
108381
108508
|
filters: {
|
|
108382
108509
|
filters: "\u7B5B\u9009\u5668",
|
|
108383
|
-
allFilters: "
|
|
108510
|
+
allFilters: "\u6240\u6709\u7B5B\u9009\u5668",
|
|
108511
|
+
moreFilters: "\u66F4\u591A\u7B5B\u9009\u5668",
|
|
108384
108512
|
clearAllFilters: "\u6E05\u9664\u6240\u6709\u7B5B\u9009\u5668",
|
|
108385
108513
|
close: "\u5173\u95ED",
|
|
108386
108514
|
removeFilterToken: "\u79FB\u9664 %{name}",
|
|
@@ -108399,6 +108527,7 @@ var zh_SG_default = {
|
|
|
108399
108527
|
options: {
|
|
108400
108528
|
any_value: "\u4EFB\u610F\u503C",
|
|
108401
108529
|
is_between: "\u4ECB\u4E8E",
|
|
108530
|
+
is_equal_to: "\u7B49\u4E8E",
|
|
108402
108531
|
greater_than: "\u5927\u4E8E",
|
|
108403
108532
|
greater_than_equal_to: "\u5927\u4E8E\u6216\u7B49\u4E8E",
|
|
108404
108533
|
less_than: "\u5C0F\u4E8E",
|
|
@@ -108477,7 +108606,7 @@ var zh_SG_default = {
|
|
|
108477
108606
|
placeholder: "\u8F93\u5165\u8D27\u5E01"
|
|
108478
108607
|
},
|
|
108479
108608
|
linkCell: {
|
|
108480
|
-
externalLabel: "
|
|
108609
|
+
externalLabel: "\u6253\u5F00\u5916\u90E8\u94FE\u63A5"
|
|
108481
108610
|
},
|
|
108482
108611
|
numberCell: {
|
|
108483
108612
|
placeholder: "\u8F93\u5165\u6570\u5B57"
|
|
@@ -108559,7 +108688,8 @@ var zh_TW_default = {
|
|
|
108559
108688
|
exporting: "\u532F\u51FA\u4E2D\u2026\u2026",
|
|
108560
108689
|
filters: {
|
|
108561
108690
|
filters: "\u7BE9\u9078\u689D\u4EF6",
|
|
108562
|
-
allFilters: "
|
|
108691
|
+
allFilters: "\u6240\u6709\u7BE9\u9078\u689D\u4EF6",
|
|
108692
|
+
moreFilters: "\u66F4\u591A\u7BE9\u9078\u689D\u4EF6",
|
|
108563
108693
|
clearAllFilters: "\u6E05\u9664\u6240\u6709\u7BE9\u9078\u689D\u4EF6",
|
|
108564
108694
|
close: "\u95DC\u9589",
|
|
108565
108695
|
removeFilterToken: "\u79FB\u9664\u300C%{name}\u300D",
|
|
@@ -108578,6 +108708,7 @@ var zh_TW_default = {
|
|
|
108578
108708
|
options: {
|
|
108579
108709
|
any_value: "\u4EFB\u4F55\u503C",
|
|
108580
108710
|
is_between: "\u4ECB\u65BC",
|
|
108711
|
+
is_equal_to: "\u7B49\u65BC",
|
|
108581
108712
|
greater_than: "\u5927\u65BC",
|
|
108582
108713
|
greater_than_equal_to: "\u5927\u65BC\u6216\u7B49\u65BC",
|
|
108583
108714
|
less_than: "\u5C0F\u65BC",
|
|
@@ -108656,7 +108787,7 @@ var zh_TW_default = {
|
|
|
108656
108787
|
placeholder: "\u8F38\u5165\u8CA8\u5E63"
|
|
108657
108788
|
},
|
|
108658
108789
|
linkCell: {
|
|
108659
|
-
externalLabel: "
|
|
108790
|
+
externalLabel: "\u958B\u555F\u5916\u90E8\u9023\u7D50"
|
|
108660
108791
|
},
|
|
108661
108792
|
numberCell: {
|
|
108662
108793
|
placeholder: "\u8F38\u5165\u6578\u5B57"
|
|
@@ -109710,6 +109841,8 @@ var DataTable = ({
|
|
|
109710
109841
|
!initialTableConfig
|
|
109711
109842
|
);
|
|
109712
109843
|
const contextPanel = useContextPanel();
|
|
109844
|
+
const filtersPanelId = $bdb11010cef70236$export$f680877a34711e37();
|
|
109845
|
+
const filtersBodyId = $bdb11010cef70236$export$f680877a34711e37();
|
|
109713
109846
|
const clientI18n = coreReact.useI18nContext();
|
|
109714
109847
|
const isCDNEnabled = cdnTranslations.isCDNFeatureFlagEnabled(clientI18n, enableCDN);
|
|
109715
109848
|
const cdnTranslations$1 = cdnTranslations.useRequestTranslations(
|
|
@@ -109961,7 +110094,9 @@ var DataTable = ({
|
|
|
109961
110094
|
totalRowCount,
|
|
109962
110095
|
setTotalRowCount,
|
|
109963
110096
|
updateServerSideDataSource,
|
|
109964
|
-
hasDuplicateRowIds
|
|
110097
|
+
hasDuplicateRowIds,
|
|
110098
|
+
filtersPanelId,
|
|
110099
|
+
filtersBodyId
|
|
109965
110100
|
}
|
|
109966
110101
|
},
|
|
109967
110102
|
children
|
|
@@ -111309,7 +111444,7 @@ var BaseFiltersPanel = ({
|
|
|
111309
111444
|
...props
|
|
111310
111445
|
}) => {
|
|
111311
111446
|
const ref = React80__default.default.useRef(null);
|
|
111312
|
-
const { contextPanel } = useInternalTableContext();
|
|
111447
|
+
const { contextPanel, filtersBodyId, filtersPanelId } = useInternalTableContext();
|
|
111313
111448
|
const I18n = coreReact.useI18nContext();
|
|
111314
111449
|
const hidden = !contextPanel.isVisible || contextPanel.content !== "filters";
|
|
111315
111450
|
React80__default.default.useLayoutEffect(() => {
|
|
@@ -111326,6 +111461,7 @@ var BaseFiltersPanel = ({
|
|
|
111326
111461
|
"contextPanel--hidden": hidden
|
|
111327
111462
|
}),
|
|
111328
111463
|
"data-qa": "data-table-filters-context-panel",
|
|
111464
|
+
id: filtersPanelId,
|
|
111329
111465
|
...props
|
|
111330
111466
|
},
|
|
111331
111467
|
/* @__PURE__ */ React80__default.default.createElement(coreReact.Box, { className: cx20("contextPanelWrapper"), display: "flex-column" }, /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel, null, /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Header, { onClose: contextPanel.hide }, /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Title, null, I18n.t("dataTable.filters.filters")), /* @__PURE__ */ React80__default.default.createElement(
|
|
@@ -111337,7 +111473,7 @@ var BaseFiltersPanel = ({
|
|
|
111337
111473
|
variant: "tertiary"
|
|
111338
111474
|
},
|
|
111339
111475
|
I18n.t("dataTable.filters.clearAllFilters")
|
|
111340
|
-
)), /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Body, { className: cx20("contextPanelBody") }, /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Section, null, children))))
|
|
111476
|
+
)), /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Body, { id: filtersBodyId, className: cx20("contextPanelBody") }, /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Section, null, children))))
|
|
111341
111477
|
);
|
|
111342
111478
|
};
|
|
111343
111479
|
function ClientSideFiltersPanel(props) {
|
|
@@ -112524,10 +112660,27 @@ var SingleSelectQuickFilterRenderer = (props) => {
|
|
|
112524
112660
|
return /* @__PURE__ */ React80__default.default.createElement(ClientSideSingleSelectQuickFilter, { ...props });
|
|
112525
112661
|
};
|
|
112526
112662
|
var SingleSelectQuickFilterRenderer_default = SingleSelectQuickFilterRenderer;
|
|
112663
|
+
var FOCUSABLE_SELECTOR2 = 'button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
|
|
112527
112664
|
var FiltersPanelToggleButton = ({ hasDefinedFilters }) => {
|
|
112528
112665
|
const I18n = coreReact.useI18nContext();
|
|
112529
|
-
const { contextPanel } = useInternalTableContext();
|
|
112666
|
+
const { contextPanel, filtersBodyId, filtersPanelId } = useInternalTableContext();
|
|
112530
112667
|
const hasNoContent = useTableHasNoContent();
|
|
112668
|
+
const buttonRef = React80__default.default.useRef(null);
|
|
112669
|
+
const isFiltersOpen = contextPanel.content === "filters";
|
|
112670
|
+
const isMounted = React80__default.default.useRef(false);
|
|
112671
|
+
React80__default.default.useEffect(() => {
|
|
112672
|
+
var _a, _b;
|
|
112673
|
+
if (!isMounted.current) {
|
|
112674
|
+
isMounted.current = true;
|
|
112675
|
+
return;
|
|
112676
|
+
}
|
|
112677
|
+
if (isFiltersOpen) {
|
|
112678
|
+
const panel = filtersBodyId ? document.getElementById(filtersBodyId) : null;
|
|
112679
|
+
(_a = panel == null ? void 0 : panel.querySelector(FOCUSABLE_SELECTOR2)) == null ? void 0 : _a.focus();
|
|
112680
|
+
} else {
|
|
112681
|
+
(_b = buttonRef.current) == null ? void 0 : _b.focus();
|
|
112682
|
+
}
|
|
112683
|
+
}, [isFiltersOpen, filtersBodyId]);
|
|
112531
112684
|
if (!hasDefinedFilters) {
|
|
112532
112685
|
return null;
|
|
112533
112686
|
}
|
|
@@ -112540,17 +112693,20 @@ var FiltersPanelToggleButton = ({ hasDefinedFilters }) => {
|
|
|
112540
112693
|
/* @__PURE__ */ React80__default.default.createElement(
|
|
112541
112694
|
coreReact.ToggleButton,
|
|
112542
112695
|
{
|
|
112696
|
+
ref: buttonRef,
|
|
112543
112697
|
"data-qa": "data-table-show-filters-button",
|
|
112544
112698
|
disabled: hasNoContent,
|
|
112545
112699
|
icon: /* @__PURE__ */ React80__default.default.createElement(FilterIcon, null),
|
|
112700
|
+
"aria-expanded": isFiltersOpen,
|
|
112701
|
+
"aria-controls": filtersPanelId,
|
|
112546
112702
|
onClick: () => {
|
|
112547
|
-
if (
|
|
112548
|
-
contextPanel.hide();
|
|
112549
|
-
} else {
|
|
112703
|
+
if (!isFiltersOpen) {
|
|
112550
112704
|
contextPanel.show("filters");
|
|
112705
|
+
} else {
|
|
112706
|
+
contextPanel.hide();
|
|
112551
112707
|
}
|
|
112552
112708
|
},
|
|
112553
|
-
selected:
|
|
112709
|
+
selected: isFiltersOpen
|
|
112554
112710
|
},
|
|
112555
112711
|
I18n.t("dataTable.filters.allFilters")
|
|
112556
112712
|
)
|