@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/modern/index.cjs
CHANGED
|
@@ -57867,7 +57867,9 @@ var InternalTableContext = React80__default.default.createContext({
|
|
|
57867
57867
|
totalRowCount: 0,
|
|
57868
57868
|
setTotalRowCount: () => {
|
|
57869
57869
|
},
|
|
57870
|
-
hasDuplicateRowIds: false
|
|
57870
|
+
hasDuplicateRowIds: false,
|
|
57871
|
+
filtersPanelId: void 0,
|
|
57872
|
+
filtersBodyId: void 0
|
|
57871
57873
|
});
|
|
57872
57874
|
var useInternalTableContext = () => React80__default.default.useContext(InternalTableContext);
|
|
57873
57875
|
var prng = ulid$1.detectPrng(true);
|
|
@@ -103279,10 +103281,103 @@ function $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {
|
|
|
103279
103281
|
return f === null || f === void 0 ? void 0 : f(...args);
|
|
103280
103282
|
}, []);
|
|
103281
103283
|
}
|
|
103284
|
+
var $b5e257d569688ac6$var$defaultContext = {
|
|
103285
|
+
prefix: String(Math.round(Math.random() * 1e10)),
|
|
103286
|
+
current: 0
|
|
103287
|
+
};
|
|
103288
|
+
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (React80__default.default).createContext($b5e257d569688ac6$var$defaultContext);
|
|
103289
|
+
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (React80__default.default).createContext(false);
|
|
103290
|
+
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103291
|
+
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
103292
|
+
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
103293
|
+
let ctx = (React80.useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103294
|
+
let ref = (React80.useRef)(null);
|
|
103295
|
+
if (ref.current === null && !isDisabled) {
|
|
103296
|
+
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
103297
|
+
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;
|
|
103298
|
+
if (currentOwner) {
|
|
103299
|
+
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
103300
|
+
if (prevComponentValue == null)
|
|
103301
|
+
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
103302
|
+
id: ctx.current,
|
|
103303
|
+
state: currentOwner.memoizedState
|
|
103304
|
+
});
|
|
103305
|
+
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
103306
|
+
ctx.current = prevComponentValue.id;
|
|
103307
|
+
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
103308
|
+
}
|
|
103309
|
+
}
|
|
103310
|
+
ref.current = ++ctx.current;
|
|
103311
|
+
}
|
|
103312
|
+
return ref.current;
|
|
103313
|
+
}
|
|
103314
|
+
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
103315
|
+
let ctx = (React80.useContext)($b5e257d569688ac6$var$SSRContext);
|
|
103316
|
+
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.");
|
|
103317
|
+
let counter2 = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
103318
|
+
let prefix = ctx === $b5e257d569688ac6$var$defaultContext && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${ctx.prefix}`;
|
|
103319
|
+
return defaultId || `${prefix}-${counter2}`;
|
|
103320
|
+
}
|
|
103321
|
+
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
103322
|
+
let id = (React80__default.default).useId();
|
|
103323
|
+
let [didSSR] = (React80.useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
103324
|
+
let prefix = didSSR || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
103325
|
+
return defaultId || `${prefix}-${id}`;
|
|
103326
|
+
}
|
|
103327
|
+
var $b5e257d569688ac6$export$619500959fc48b26 = typeof (React80__default.default)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
103328
|
+
function $b5e257d569688ac6$var$getSnapshot() {
|
|
103329
|
+
return false;
|
|
103330
|
+
}
|
|
103331
|
+
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
103332
|
+
return true;
|
|
103333
|
+
}
|
|
103334
|
+
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
103335
|
+
return () => {
|
|
103336
|
+
};
|
|
103337
|
+
}
|
|
103338
|
+
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
103339
|
+
if (typeof (React80__default.default)["useSyncExternalStore"] === "function") return (React80__default.default)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
103340
|
+
return (React80.useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
103341
|
+
}
|
|
103342
|
+
|
|
103343
|
+
// ../../node_modules/@react-aria/utils/dist/useId.mjs
|
|
103344
|
+
var $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
103282
103345
|
var $bdb11010cef70236$export$d41a04c74483c6ef = /* @__PURE__ */ new Map();
|
|
103283
|
-
|
|
103346
|
+
var $bdb11010cef70236$var$registry;
|
|
103347
|
+
if (typeof FinalizationRegistry !== "undefined") $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue) => {
|
|
103284
103348
|
$bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);
|
|
103285
103349
|
});
|
|
103350
|
+
function $bdb11010cef70236$export$f680877a34711e37(defaultId) {
|
|
103351
|
+
let [value, setValue] = (React80.useState)(defaultId);
|
|
103352
|
+
let nextId = (React80.useRef)(null);
|
|
103353
|
+
let res = ($b5e257d569688ac6$export$619500959fc48b26)(value);
|
|
103354
|
+
let cleanupRef = (React80.useRef)(null);
|
|
103355
|
+
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);
|
|
103356
|
+
if ($bdb11010cef70236$var$canUseDOM) {
|
|
103357
|
+
const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);
|
|
103358
|
+
if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);
|
|
103359
|
+
else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [
|
|
103360
|
+
nextId
|
|
103361
|
+
]);
|
|
103362
|
+
}
|
|
103363
|
+
($f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
|
|
103364
|
+
let r2 = res;
|
|
103365
|
+
return () => {
|
|
103366
|
+
if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);
|
|
103367
|
+
$bdb11010cef70236$export$d41a04c74483c6ef.delete(r2);
|
|
103368
|
+
};
|
|
103369
|
+
}, [
|
|
103370
|
+
res
|
|
103371
|
+
]);
|
|
103372
|
+
(React80.useEffect)(() => {
|
|
103373
|
+
let newId = nextId.current;
|
|
103374
|
+
if (newId) setValue(newId);
|
|
103375
|
+
return () => {
|
|
103376
|
+
if (newId) nextId.current = null;
|
|
103377
|
+
};
|
|
103378
|
+
});
|
|
103379
|
+
return res;
|
|
103380
|
+
}
|
|
103286
103381
|
function $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {
|
|
103287
103382
|
if (idA === idB) return idA;
|
|
103288
103383
|
let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);
|
|
@@ -105012,7 +105107,8 @@ var de_DE_default = {
|
|
|
105012
105107
|
exporting: "Wird exportiert\xA0\u2026",
|
|
105013
105108
|
filters: {
|
|
105014
105109
|
filters: "Filter",
|
|
105015
|
-
allFilters: "
|
|
105110
|
+
allFilters: "Alle Filter",
|
|
105111
|
+
moreFilters: "Weitere Filter",
|
|
105016
105112
|
clearAllFilters: "Alle Filter zur\xFCcksetzen",
|
|
105017
105113
|
close: "Schlie\xDFen",
|
|
105018
105114
|
removeFilterToken: "%{name} entfernen",
|
|
@@ -105031,6 +105127,7 @@ var de_DE_default = {
|
|
|
105031
105127
|
options: {
|
|
105032
105128
|
any_value: "Beliebiger Wert",
|
|
105033
105129
|
is_between: "Ist zwischen",
|
|
105130
|
+
is_equal_to: "Ist gleich",
|
|
105034
105131
|
greater_than: "Ist gr\xF6\xDFer als",
|
|
105035
105132
|
greater_than_equal_to: "Ist gr\xF6\xDFer als oder gleich",
|
|
105036
105133
|
less_than: "Ist kleiner als",
|
|
@@ -105109,7 +105206,7 @@ var de_DE_default = {
|
|
|
105109
105206
|
placeholder: "W\xE4hrung eingeben"
|
|
105110
105207
|
},
|
|
105111
105208
|
linkCell: {
|
|
105112
|
-
externalLabel: "
|
|
105209
|
+
externalLabel: "Externen Link \xF6ffnen"
|
|
105113
105210
|
},
|
|
105114
105211
|
numberCell: {
|
|
105115
105212
|
placeholder: "Nummer eingeben"
|
|
@@ -105191,7 +105288,8 @@ var en_AU_default = {
|
|
|
105191
105288
|
exporting: "Exporting...",
|
|
105192
105289
|
filters: {
|
|
105193
105290
|
filters: "Filters",
|
|
105194
|
-
allFilters: "All
|
|
105291
|
+
allFilters: "All filters",
|
|
105292
|
+
moreFilters: "More filters",
|
|
105195
105293
|
clearAllFilters: "Clear all filters",
|
|
105196
105294
|
close: "Close",
|
|
105197
105295
|
removeFilterToken: "Remove %{name}",
|
|
@@ -105210,6 +105308,7 @@ var en_AU_default = {
|
|
|
105210
105308
|
options: {
|
|
105211
105309
|
any_value: "Any value",
|
|
105212
105310
|
is_between: "Is between",
|
|
105311
|
+
is_equal_to: "Is equal to",
|
|
105213
105312
|
greater_than: "Is greater than",
|
|
105214
105313
|
greater_than_equal_to: "Is greater than or equal to",
|
|
105215
105314
|
less_than: "Is less than",
|
|
@@ -105370,7 +105469,8 @@ var en_CA_default = {
|
|
|
105370
105469
|
exporting: "Exporting...",
|
|
105371
105470
|
filters: {
|
|
105372
105471
|
filters: "Filters",
|
|
105373
|
-
allFilters: "All
|
|
105472
|
+
allFilters: "All filters",
|
|
105473
|
+
moreFilters: "More filters",
|
|
105374
105474
|
clearAllFilters: "Clear all filters",
|
|
105375
105475
|
close: "Close",
|
|
105376
105476
|
removeFilterToken: "Remove %{name}",
|
|
@@ -105389,6 +105489,7 @@ var en_CA_default = {
|
|
|
105389
105489
|
options: {
|
|
105390
105490
|
any_value: "Any value",
|
|
105391
105491
|
is_between: "Is between",
|
|
105492
|
+
is_equal_to: "Is equal to",
|
|
105392
105493
|
greater_than: "Is greater than",
|
|
105393
105494
|
greater_than_equal_to: "Is greater than or equal to",
|
|
105394
105495
|
less_than: "Is less than",
|
|
@@ -105549,7 +105650,8 @@ var en_GB_default = {
|
|
|
105549
105650
|
exporting: "Exporting...",
|
|
105550
105651
|
filters: {
|
|
105551
105652
|
filters: "Filters",
|
|
105552
|
-
allFilters: "All
|
|
105653
|
+
allFilters: "All filters",
|
|
105654
|
+
moreFilters: "More filters",
|
|
105553
105655
|
clearAllFilters: "Clear all filters",
|
|
105554
105656
|
close: "Close",
|
|
105555
105657
|
removeFilterToken: "Remove %{name}",
|
|
@@ -105568,6 +105670,7 @@ var en_GB_default = {
|
|
|
105568
105670
|
options: {
|
|
105569
105671
|
any_value: "Any value",
|
|
105570
105672
|
is_between: "Is between",
|
|
105673
|
+
is_equal_to: "Is equal to",
|
|
105571
105674
|
greater_than: "Is greater than",
|
|
105572
105675
|
greater_than_equal_to: "Is greater than or equal to",
|
|
105573
105676
|
less_than: "Is less than",
|
|
@@ -105909,7 +106012,8 @@ var es_ES_default = {
|
|
|
105909
106012
|
exporting: "Exportando...",
|
|
105910
106013
|
filters: {
|
|
105911
106014
|
filters: "Filtros",
|
|
105912
|
-
allFilters: "
|
|
106015
|
+
allFilters: "Todos los filtros",
|
|
106016
|
+
moreFilters: "M\xE1s filtros",
|
|
105913
106017
|
clearAllFilters: "Borrar todos los filtros",
|
|
105914
106018
|
close: "Cerrar",
|
|
105915
106019
|
removeFilterToken: "Eliminar %{name}",
|
|
@@ -105928,6 +106032,7 @@ var es_ES_default = {
|
|
|
105928
106032
|
options: {
|
|
105929
106033
|
any_value: "Cualquier valor",
|
|
105930
106034
|
is_between: "Est\xE1 entre",
|
|
106035
|
+
is_equal_to: "Es igual a",
|
|
105931
106036
|
greater_than: "Es mayor que",
|
|
105932
106037
|
greater_than_equal_to: "Es mayor o igual que",
|
|
105933
106038
|
less_than: "Es menor que",
|
|
@@ -106006,7 +106111,7 @@ var es_ES_default = {
|
|
|
106006
106111
|
placeholder: "Introducir moneda"
|
|
106007
106112
|
},
|
|
106008
106113
|
linkCell: {
|
|
106009
|
-
externalLabel: "
|
|
106114
|
+
externalLabel: "Abrir enlace externo"
|
|
106010
106115
|
},
|
|
106011
106116
|
numberCell: {
|
|
106012
106117
|
placeholder: "Introducir n\xFAmero"
|
|
@@ -106088,7 +106193,8 @@ var es_default = {
|
|
|
106088
106193
|
exporting: "Exportando...",
|
|
106089
106194
|
filters: {
|
|
106090
106195
|
filters: "Filtros",
|
|
106091
|
-
allFilters: "
|
|
106196
|
+
allFilters: "Todos los filtros",
|
|
106197
|
+
moreFilters: "M\xE1s filtros",
|
|
106092
106198
|
clearAllFilters: "Restablecer todos los filtros",
|
|
106093
106199
|
close: "Cerrar",
|
|
106094
106200
|
removeFilterToken: "Eliminar %{name}",
|
|
@@ -106107,6 +106213,7 @@ var es_default = {
|
|
|
106107
106213
|
options: {
|
|
106108
106214
|
any_value: "Cualquier valor",
|
|
106109
106215
|
is_between: "Est\xE1 entre",
|
|
106216
|
+
is_equal_to: "Es igual a",
|
|
106110
106217
|
greater_than: "Es mayor que",
|
|
106111
106218
|
greater_than_equal_to: "Es mayor o igual que",
|
|
106112
106219
|
less_than: "Es menor que",
|
|
@@ -106185,7 +106292,7 @@ var es_default = {
|
|
|
106185
106292
|
placeholder: "Ingresar moneda"
|
|
106186
106293
|
},
|
|
106187
106294
|
linkCell: {
|
|
106188
|
-
externalLabel: "
|
|
106295
|
+
externalLabel: "Abrir enlace externo"
|
|
106189
106296
|
},
|
|
106190
106297
|
numberCell: {
|
|
106191
106298
|
placeholder: "Ingresar n\xFAmero"
|
|
@@ -106267,7 +106374,8 @@ var fr_CA_default = {
|
|
|
106267
106374
|
exporting: "Exportation ...",
|
|
106268
106375
|
filters: {
|
|
106269
106376
|
filters: "Filtres",
|
|
106270
|
-
allFilters: "
|
|
106377
|
+
allFilters: "Tous les filtres",
|
|
106378
|
+
moreFilters: "Plus de filtres",
|
|
106271
106379
|
clearAllFilters: "Effacer tous les filtres",
|
|
106272
106380
|
close: "Fermer",
|
|
106273
106381
|
removeFilterToken: "Retirer %{name}",
|
|
@@ -106286,6 +106394,7 @@ var fr_CA_default = {
|
|
|
106286
106394
|
options: {
|
|
106287
106395
|
any_value: "N'importe quelle valeur",
|
|
106288
106396
|
is_between: "Est entre",
|
|
106397
|
+
is_equal_to: "Est \xE9gal \xE0",
|
|
106289
106398
|
greater_than: "Est sup\xE9rieur \xE0",
|
|
106290
106399
|
greater_than_equal_to: "Est sup\xE9rieur ou \xE9gal \xE0",
|
|
106291
106400
|
less_than: "Est inf\xE9rieur \xE0",
|
|
@@ -106364,7 +106473,7 @@ var fr_CA_default = {
|
|
|
106364
106473
|
placeholder: "Saisir la devise"
|
|
106365
106474
|
},
|
|
106366
106475
|
linkCell: {
|
|
106367
|
-
externalLabel: "
|
|
106476
|
+
externalLabel: "Lien externe ouvert"
|
|
106368
106477
|
},
|
|
106369
106478
|
numberCell: {
|
|
106370
106479
|
placeholder: "Saisir un num\xE9ro"
|
|
@@ -106446,7 +106555,8 @@ var fr_FR_default = {
|
|
|
106446
106555
|
exporting: "Exportation...",
|
|
106447
106556
|
filters: {
|
|
106448
106557
|
filters: "Filtres",
|
|
106449
|
-
allFilters: "
|
|
106558
|
+
allFilters: "Tous les filtres",
|
|
106559
|
+
moreFilters: "Plus de filtres",
|
|
106450
106560
|
clearAllFilters: "Effacer tous les filtres",
|
|
106451
106561
|
close: "Fermer",
|
|
106452
106562
|
removeFilterToken: "Retirer %{name}",
|
|
@@ -106465,6 +106575,7 @@ var fr_FR_default = {
|
|
|
106465
106575
|
options: {
|
|
106466
106576
|
any_value: "N'importe quelle valeur",
|
|
106467
106577
|
is_between: "Est comprise entre",
|
|
106578
|
+
is_equal_to: "Est \xE9gal \xE0",
|
|
106468
106579
|
greater_than: "Est sup\xE9rieure \xE0",
|
|
106469
106580
|
greater_than_equal_to: "Est sup\xE9rieure ou \xE9gale \xE0",
|
|
106470
106581
|
less_than: "Est inf\xE9rieure \xE0",
|
|
@@ -106528,8 +106639,8 @@ var fr_FR_default = {
|
|
|
106528
106639
|
},
|
|
106529
106640
|
rowGroupToggle: {
|
|
106530
106641
|
expandTierOne: "Ouvrez les premiers groupes du tableau.",
|
|
106531
|
-
expandAll: "
|
|
106532
|
-
collapseAll: "Fermer tous les groupes du tableau
|
|
106642
|
+
expandAll: "Ouvrir tous les groupes du tableau",
|
|
106643
|
+
collapseAll: "Fermer tous les groupes du tableau"
|
|
106533
106644
|
},
|
|
106534
106645
|
columnGroupToggle: {
|
|
106535
106646
|
collapse: "R\xE9duire le groupe de colonnes",
|
|
@@ -106543,7 +106654,7 @@ var fr_FR_default = {
|
|
|
106543
106654
|
placeholder: "Saisir la devise"
|
|
106544
106655
|
},
|
|
106545
106656
|
linkCell: {
|
|
106546
|
-
externalLabel: "
|
|
106657
|
+
externalLabel: "Ouvrir le lien externe"
|
|
106547
106658
|
},
|
|
106548
106659
|
numberCell: {
|
|
106549
106660
|
placeholder: "Saisir un num\xE9ro"
|
|
@@ -106625,7 +106736,8 @@ var is_IS_default = {
|
|
|
106625
106736
|
exporting: "Flytur \xFAt ...",
|
|
106626
106737
|
filters: {
|
|
106627
106738
|
filters: "S\xEDur",
|
|
106628
|
-
allFilters: "
|
|
106739
|
+
allFilters: "Allar s\xEDur",
|
|
106740
|
+
moreFilters: "Fleiri s\xEDur",
|
|
106629
106741
|
clearAllFilters: "Hreinsa allar s\xEDur",
|
|
106630
106742
|
close: "Loka\xF0u",
|
|
106631
106743
|
removeFilterToken: "Fjarl\xE6gja %{name}",
|
|
@@ -106644,6 +106756,7 @@ var is_IS_default = {
|
|
|
106644
106756
|
options: {
|
|
106645
106757
|
any_value: "Hva\xF0a gildi sem er",
|
|
106646
106758
|
is_between: "Er \xE1 milli",
|
|
106759
|
+
is_equal_to: "Er jafnt",
|
|
106647
106760
|
greater_than: "Er meiri en",
|
|
106648
106761
|
greater_than_equal_to: "Er st\xE6rra en e\xF0a jafnt",
|
|
106649
106762
|
less_than: "Er minna en",
|
|
@@ -106722,7 +106835,7 @@ var is_IS_default = {
|
|
|
106722
106835
|
placeholder: "Sl\xE1\xF0u inn gjaldmi\xF0il"
|
|
106723
106836
|
},
|
|
106724
106837
|
linkCell: {
|
|
106725
|
-
externalLabel: "
|
|
106838
|
+
externalLabel: "Opna utana\xF0komandi tengil"
|
|
106726
106839
|
},
|
|
106727
106840
|
numberCell: {
|
|
106728
106841
|
placeholder: "Sl\xE1\xF0u inn n\xFAmer"
|
|
@@ -106804,7 +106917,8 @@ var it_IT_default = {
|
|
|
106804
106917
|
exporting: "Esportazione in corso...",
|
|
106805
106918
|
filters: {
|
|
106806
106919
|
filters: "Filtri",
|
|
106807
|
-
allFilters: "
|
|
106920
|
+
allFilters: "Tutti i filtri",
|
|
106921
|
+
moreFilters: "Altri filtri",
|
|
106808
106922
|
clearAllFilters: "Cancella tutti i filtri",
|
|
106809
106923
|
close: "Chiudi",
|
|
106810
106924
|
removeFilterToken: "Rimuovi %{name}",
|
|
@@ -106823,6 +106937,7 @@ var it_IT_default = {
|
|
|
106823
106937
|
options: {
|
|
106824
106938
|
any_value: "Qualsiasi valore",
|
|
106825
106939
|
is_between: "\xC8 compreso tra",
|
|
106940
|
+
is_equal_to: "\xC8 uguale a",
|
|
106826
106941
|
greater_than: "\xC8 maggiore di",
|
|
106827
106942
|
greater_than_equal_to: "\xC8 maggiore o uguale a",
|
|
106828
106943
|
less_than: "\xC8 minore di",
|
|
@@ -106901,7 +107016,7 @@ var it_IT_default = {
|
|
|
106901
107016
|
placeholder: "Inserisci valuta"
|
|
106902
107017
|
},
|
|
106903
107018
|
linkCell: {
|
|
106904
|
-
externalLabel: "
|
|
107019
|
+
externalLabel: "Apri collegamento esterno"
|
|
106905
107020
|
},
|
|
106906
107021
|
numberCell: {
|
|
106907
107022
|
placeholder: "Inserisci numero"
|
|
@@ -106983,7 +107098,8 @@ var ja_JP_default = {
|
|
|
106983
107098
|
exporting: "\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u4E2D...",
|
|
106984
107099
|
filters: {
|
|
106985
107100
|
filters: "\u30D5\u30A3\u30EB\u30BF",
|
|
106986
|
-
allFilters: "
|
|
107101
|
+
allFilters: "\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u30FC",
|
|
107102
|
+
moreFilters: "\u305D\u306E\u4ED6\u306E\u30D5\u30A3\u30EB\u30BF",
|
|
106987
107103
|
clearAllFilters: "\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u3092\u6D88\u53BB",
|
|
106988
107104
|
close: "\u7D42\u4E86",
|
|
106989
107105
|
removeFilterToken: "%{name}\u524A\u9664",
|
|
@@ -107002,6 +107118,7 @@ var ja_JP_default = {
|
|
|
107002
107118
|
options: {
|
|
107003
107119
|
any_value: "\u4EFB\u610F\u306E\u5024",
|
|
107004
107120
|
is_between: "\u9593\u306B\u3042\u308B",
|
|
107121
|
+
is_equal_to: "\u7B49\u3057\u3044",
|
|
107005
107122
|
greater_than: "\u3088\u308A\u5927\u304D\u3044",
|
|
107006
107123
|
greater_than_equal_to: "\u4EE5\u4E0A\u3067\u3042\u308B",
|
|
107007
107124
|
less_than: "\u672A\u6E80\u3067\u3042\u308B",
|
|
@@ -107080,7 +107197,7 @@ var ja_JP_default = {
|
|
|
107080
107197
|
placeholder: "\u901A\u8CA8\u3092\u5165\u529B"
|
|
107081
107198
|
},
|
|
107082
107199
|
linkCell: {
|
|
107083
|
-
externalLabel: "
|
|
107200
|
+
externalLabel: "\u5916\u90E8\u30EA\u30F3\u30AF\u3092\u958B\u304F"
|
|
107084
107201
|
},
|
|
107085
107202
|
numberCell: {
|
|
107086
107203
|
placeholder: "\u756A\u53F7\u3092\u5165\u529B"
|
|
@@ -107125,13 +107242,13 @@ var nb_NO_default = {
|
|
|
107125
107242
|
dataTable: {
|
|
107126
107243
|
emptyState: {
|
|
107127
107244
|
noFilteredResults: {
|
|
107128
|
-
description: "
|
|
107245
|
+
description: "Kontroller staving og filteralternativer, eller s\xF8k etter et annet n\xF8kkelord.",
|
|
107129
107246
|
title: "Ingen enheter samsvarer med s\xF8ket ditt",
|
|
107130
107247
|
itemsTitle: "No %{itemsLabel} Match Your Search"
|
|
107131
107248
|
},
|
|
107132
107249
|
noResults: {
|
|
107133
107250
|
description: "Once your team creates these items, you can access them here. ",
|
|
107134
|
-
title: "
|
|
107251
|
+
title: "Ingen enheter kan vises akkurat n\xE5",
|
|
107135
107252
|
itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
|
|
107136
107253
|
tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
|
|
107137
107254
|
searchTooltip: "Search will be enabled once you add information to the %{tableName}",
|
|
@@ -107162,8 +107279,9 @@ var nb_NO_default = {
|
|
|
107162
107279
|
exporting: "Exporting...",
|
|
107163
107280
|
filters: {
|
|
107164
107281
|
filters: "Filtre",
|
|
107165
|
-
allFilters: "
|
|
107166
|
-
|
|
107282
|
+
allFilters: "Alle filtre",
|
|
107283
|
+
moreFilters: "More Filters",
|
|
107284
|
+
clearAllFilters: "Fjern alle filtre",
|
|
107167
107285
|
close: "Close",
|
|
107168
107286
|
removeFilterToken: "Fjern %{name}",
|
|
107169
107287
|
locationFilter: {
|
|
@@ -107181,6 +107299,7 @@ var nb_NO_default = {
|
|
|
107181
107299
|
options: {
|
|
107182
107300
|
any_value: "Any Value",
|
|
107183
107301
|
is_between: "Is Between",
|
|
107302
|
+
is_equal_to: "Is Equal To",
|
|
107184
107303
|
greater_than: "Is Greater Than",
|
|
107185
107304
|
greater_than_equal_to: "Is Greater Than or Equal To",
|
|
107186
107305
|
less_than: "Is Less Than",
|
|
@@ -107222,7 +107341,7 @@ var nb_NO_default = {
|
|
|
107222
107341
|
autoSizeThisColumn: "Autosize This Column",
|
|
107223
107342
|
autoSizeAllColumns: "Autosize All Columns",
|
|
107224
107343
|
hideColumn: "Hide Column",
|
|
107225
|
-
resetColumns: "
|
|
107344
|
+
resetColumns: "Tilbakestill kolonner",
|
|
107226
107345
|
unGroupBy: "Un-Group by {{label}}",
|
|
107227
107346
|
groupBy: "Group by {{label}}"
|
|
107228
107347
|
},
|
|
@@ -107259,7 +107378,7 @@ var nb_NO_default = {
|
|
|
107259
107378
|
placeholder: "Enter currency"
|
|
107260
107379
|
},
|
|
107261
107380
|
linkCell: {
|
|
107262
|
-
externalLabel: "
|
|
107381
|
+
externalLabel: "\xC5pne ekstern kobling"
|
|
107263
107382
|
},
|
|
107264
107383
|
numberCell: {
|
|
107265
107384
|
placeholder: "Enter number"
|
|
@@ -107341,7 +107460,8 @@ var pl_PL_default = {
|
|
|
107341
107460
|
exporting: "Eksportowanie...",
|
|
107342
107461
|
filters: {
|
|
107343
107462
|
filters: "Filtry",
|
|
107344
|
-
allFilters: "
|
|
107463
|
+
allFilters: "Wszystkie filtry",
|
|
107464
|
+
moreFilters: "Wi\u0119cej filtr\xF3w",
|
|
107345
107465
|
clearAllFilters: "Wyczy\u015B\u0107 wszystkie filtry",
|
|
107346
107466
|
close: "Zamknij",
|
|
107347
107467
|
removeFilterToken: "Usu\u0144 %{name}",
|
|
@@ -107360,6 +107480,7 @@ var pl_PL_default = {
|
|
|
107360
107480
|
options: {
|
|
107361
107481
|
any_value: "Dowolna warto\u015B\u0107",
|
|
107362
107482
|
is_between: "jest pomi\u0119dzy",
|
|
107483
|
+
is_equal_to: "jest r\xF3wne",
|
|
107363
107484
|
greater_than: "jest wi\u0119ksze ni\u017C",
|
|
107364
107485
|
greater_than_equal_to: "jest wi\u0119ksze ni\u017C lub r\xF3wne",
|
|
107365
107486
|
less_than: "mniej ni\u017C",
|
|
@@ -107438,7 +107559,7 @@ var pl_PL_default = {
|
|
|
107438
107559
|
placeholder: "Wprowad\u017A walut\u0119"
|
|
107439
107560
|
},
|
|
107440
107561
|
linkCell: {
|
|
107441
|
-
externalLabel: "
|
|
107562
|
+
externalLabel: "Otw\xF3rz zewn\u0119trzne \u0142\u0105cze"
|
|
107442
107563
|
},
|
|
107443
107564
|
numberCell: {
|
|
107444
107565
|
placeholder: "Wprowad\u017A numer"
|
|
@@ -107701,7 +107822,8 @@ var pt_BR_default = {
|
|
|
107701
107822
|
exporting: "Exportando...",
|
|
107702
107823
|
filters: {
|
|
107703
107824
|
filters: "Filtros",
|
|
107704
|
-
allFilters: "
|
|
107825
|
+
allFilters: "Todos os Filtros",
|
|
107826
|
+
moreFilters: "Mais Filtros",
|
|
107705
107827
|
clearAllFilters: "Limpar Todos os Filtros",
|
|
107706
107828
|
close: "Fechar",
|
|
107707
107829
|
removeFilterToken: "Remover %{name}",
|
|
@@ -107720,6 +107842,7 @@ var pt_BR_default = {
|
|
|
107720
107842
|
options: {
|
|
107721
107843
|
any_value: "Qualquer Valor",
|
|
107722
107844
|
is_between: "Est\xE1 entre",
|
|
107845
|
+
is_equal_to: "\xC9 igual a",
|
|
107723
107846
|
greater_than: "\xC9 Maior Que",
|
|
107724
107847
|
greater_than_equal_to: "\xC9 Maior Que ou Igual a",
|
|
107725
107848
|
less_than: "\xC9 Menor Que",
|
|
@@ -107798,7 +107921,7 @@ var pt_BR_default = {
|
|
|
107798
107921
|
placeholder: "Insira moeda"
|
|
107799
107922
|
},
|
|
107800
107923
|
linkCell: {
|
|
107801
|
-
externalLabel: "
|
|
107924
|
+
externalLabel: "Abrir link externo"
|
|
107802
107925
|
},
|
|
107803
107926
|
numberCell: {
|
|
107804
107927
|
placeholder: "Inserir n\xFAmeros"
|
|
@@ -107880,7 +108003,8 @@ var pt_PT_default = {
|
|
|
107880
108003
|
exporting: "A exportar...",
|
|
107881
108004
|
filters: {
|
|
107882
108005
|
filters: "Filtros",
|
|
107883
|
-
allFilters: "
|
|
108006
|
+
allFilters: "Todos os filtros",
|
|
108007
|
+
moreFilters: "Mais filtros",
|
|
107884
108008
|
clearAllFilters: "Apagar todos os filtros",
|
|
107885
108009
|
close: "Fechar",
|
|
107886
108010
|
removeFilterToken: "Remover %{name}",
|
|
@@ -107899,6 +108023,7 @@ var pt_PT_default = {
|
|
|
107899
108023
|
options: {
|
|
107900
108024
|
any_value: "Qualquer valor",
|
|
107901
108025
|
is_between: "Est\xE1 entre",
|
|
108026
|
+
is_equal_to: "\xC9 igual a",
|
|
107902
108027
|
greater_than: "\xC9 superior a",
|
|
107903
108028
|
greater_than_equal_to: "\xC9 igual ou superior a",
|
|
107904
108029
|
less_than: "\xC9 inferior a",
|
|
@@ -107977,7 +108102,7 @@ var pt_PT_default = {
|
|
|
107977
108102
|
placeholder: "Introduzir moeda"
|
|
107978
108103
|
},
|
|
107979
108104
|
linkCell: {
|
|
107980
|
-
externalLabel: "
|
|
108105
|
+
externalLabel: "Abrir liga\xE7\xE3o externa"
|
|
107981
108106
|
},
|
|
107982
108107
|
numberCell: {
|
|
107983
108108
|
placeholder: "Introduzir n\xFAmero"
|
|
@@ -108059,7 +108184,8 @@ var th_TH_default = {
|
|
|
108059
108184
|
exporting: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E48\u0E07\u0E2D\u0E2D\u0E01...",
|
|
108060
108185
|
filters: {
|
|
108061
108186
|
filters: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07",
|
|
108062
|
-
allFilters: "
|
|
108187
|
+
allFilters: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
108188
|
+
moreFilters: "\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",
|
|
108063
108189
|
clearAllFilters: "\u0E25\u0E49\u0E32\u0E07\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14",
|
|
108064
108190
|
close: "\u0E1B\u0E34\u0E14",
|
|
108065
108191
|
removeFilterToken: "\u0E25\u0E1A %{name}",
|
|
@@ -108078,6 +108204,7 @@ var th_TH_default = {
|
|
|
108078
108204
|
options: {
|
|
108079
108205
|
any_value: "\u0E04\u0E48\u0E32\u0E43\u0E14\u0E01\u0E47\u0E44\u0E14\u0E49",
|
|
108080
108206
|
is_between: "\u0E2D\u0E22\u0E39\u0E48\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07",
|
|
108207
|
+
is_equal_to: "\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A",
|
|
108081
108208
|
greater_than: "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",
|
|
108082
108209
|
greater_than_equal_to: "\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32\u0E2B\u0E23\u0E37\u0E2D\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A",
|
|
108083
108210
|
less_than: "\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",
|
|
@@ -108156,7 +108283,7 @@ var th_TH_default = {
|
|
|
108156
108283
|
placeholder: "\u0E1B\u0E49\u0E2D\u0E19\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19"
|
|
108157
108284
|
},
|
|
108158
108285
|
linkCell: {
|
|
108159
|
-
externalLabel: "
|
|
108286
|
+
externalLabel: "\u0E40\u0E1B\u0E34\u0E14\u0E25\u0E34\u0E07\u0E01\u0E4C\u0E20\u0E32\u0E22\u0E19\u0E2D\u0E01"
|
|
108160
108287
|
},
|
|
108161
108288
|
numberCell: {
|
|
108162
108289
|
placeholder: "\u0E1B\u0E49\u0E2D\u0E19\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02"
|
|
@@ -108238,7 +108365,8 @@ var zh_SG_default = {
|
|
|
108238
108365
|
exporting: "\u6B63\u5728\u5BFC\u51FA...",
|
|
108239
108366
|
filters: {
|
|
108240
108367
|
filters: "\u7B5B\u9009\u5668",
|
|
108241
|
-
allFilters: "
|
|
108368
|
+
allFilters: "\u6240\u6709\u7B5B\u9009\u5668",
|
|
108369
|
+
moreFilters: "\u66F4\u591A\u7B5B\u9009\u5668",
|
|
108242
108370
|
clearAllFilters: "\u6E05\u9664\u6240\u6709\u7B5B\u9009\u5668",
|
|
108243
108371
|
close: "\u5173\u95ED",
|
|
108244
108372
|
removeFilterToken: "\u79FB\u9664 %{name}",
|
|
@@ -108257,6 +108385,7 @@ var zh_SG_default = {
|
|
|
108257
108385
|
options: {
|
|
108258
108386
|
any_value: "\u4EFB\u610F\u503C",
|
|
108259
108387
|
is_between: "\u4ECB\u4E8E",
|
|
108388
|
+
is_equal_to: "\u7B49\u4E8E",
|
|
108260
108389
|
greater_than: "\u5927\u4E8E",
|
|
108261
108390
|
greater_than_equal_to: "\u5927\u4E8E\u6216\u7B49\u4E8E",
|
|
108262
108391
|
less_than: "\u5C0F\u4E8E",
|
|
@@ -108335,7 +108464,7 @@ var zh_SG_default = {
|
|
|
108335
108464
|
placeholder: "\u8F93\u5165\u8D27\u5E01"
|
|
108336
108465
|
},
|
|
108337
108466
|
linkCell: {
|
|
108338
|
-
externalLabel: "
|
|
108467
|
+
externalLabel: "\u6253\u5F00\u5916\u90E8\u94FE\u63A5"
|
|
108339
108468
|
},
|
|
108340
108469
|
numberCell: {
|
|
108341
108470
|
placeholder: "\u8F93\u5165\u6570\u5B57"
|
|
@@ -108417,7 +108546,8 @@ var zh_TW_default = {
|
|
|
108417
108546
|
exporting: "\u532F\u51FA\u4E2D\u2026\u2026",
|
|
108418
108547
|
filters: {
|
|
108419
108548
|
filters: "\u7BE9\u9078\u689D\u4EF6",
|
|
108420
|
-
allFilters: "
|
|
108549
|
+
allFilters: "\u6240\u6709\u7BE9\u9078\u689D\u4EF6",
|
|
108550
|
+
moreFilters: "\u66F4\u591A\u7BE9\u9078\u689D\u4EF6",
|
|
108421
108551
|
clearAllFilters: "\u6E05\u9664\u6240\u6709\u7BE9\u9078\u689D\u4EF6",
|
|
108422
108552
|
close: "\u95DC\u9589",
|
|
108423
108553
|
removeFilterToken: "\u79FB\u9664\u300C%{name}\u300D",
|
|
@@ -108436,6 +108566,7 @@ var zh_TW_default = {
|
|
|
108436
108566
|
options: {
|
|
108437
108567
|
any_value: "\u4EFB\u4F55\u503C",
|
|
108438
108568
|
is_between: "\u4ECB\u65BC",
|
|
108569
|
+
is_equal_to: "\u7B49\u65BC",
|
|
108439
108570
|
greater_than: "\u5927\u65BC",
|
|
108440
108571
|
greater_than_equal_to: "\u5927\u65BC\u6216\u7B49\u65BC",
|
|
108441
108572
|
less_than: "\u5C0F\u65BC",
|
|
@@ -108514,7 +108645,7 @@ var zh_TW_default = {
|
|
|
108514
108645
|
placeholder: "\u8F38\u5165\u8CA8\u5E63"
|
|
108515
108646
|
},
|
|
108516
108647
|
linkCell: {
|
|
108517
|
-
externalLabel: "
|
|
108648
|
+
externalLabel: "\u958B\u555F\u5916\u90E8\u9023\u7D50"
|
|
108518
108649
|
},
|
|
108519
108650
|
numberCell: {
|
|
108520
108651
|
placeholder: "\u8F38\u5165\u6578\u5B57"
|
|
@@ -109554,6 +109685,8 @@ var DataTable = ({
|
|
|
109554
109685
|
!initialTableConfig
|
|
109555
109686
|
);
|
|
109556
109687
|
const contextPanel = useContextPanel();
|
|
109688
|
+
const filtersPanelId = $bdb11010cef70236$export$f680877a34711e37();
|
|
109689
|
+
const filtersBodyId = $bdb11010cef70236$export$f680877a34711e37();
|
|
109557
109690
|
const clientI18n = coreReact.useI18nContext();
|
|
109558
109691
|
const isCDNEnabled = cdnTranslations.isCDNFeatureFlagEnabled(clientI18n, enableCDN);
|
|
109559
109692
|
const cdnTranslations$1 = cdnTranslations.useRequestTranslations(
|
|
@@ -109801,7 +109934,9 @@ var DataTable = ({
|
|
|
109801
109934
|
totalRowCount,
|
|
109802
109935
|
setTotalRowCount,
|
|
109803
109936
|
updateServerSideDataSource,
|
|
109804
|
-
hasDuplicateRowIds
|
|
109937
|
+
hasDuplicateRowIds,
|
|
109938
|
+
filtersPanelId,
|
|
109939
|
+
filtersBodyId
|
|
109805
109940
|
}
|
|
109806
109941
|
},
|
|
109807
109942
|
children
|
|
@@ -111115,7 +111250,7 @@ var BaseFiltersPanel = ({
|
|
|
111115
111250
|
...props
|
|
111116
111251
|
}) => {
|
|
111117
111252
|
const ref = React80__default.default.useRef(null);
|
|
111118
|
-
const { contextPanel } = useInternalTableContext();
|
|
111253
|
+
const { contextPanel, filtersBodyId, filtersPanelId } = useInternalTableContext();
|
|
111119
111254
|
const I18n = coreReact.useI18nContext();
|
|
111120
111255
|
const hidden = !contextPanel.isVisible || contextPanel.content !== "filters";
|
|
111121
111256
|
React80__default.default.useLayoutEffect(() => {
|
|
@@ -111132,6 +111267,7 @@ var BaseFiltersPanel = ({
|
|
|
111132
111267
|
"contextPanel--hidden": hidden
|
|
111133
111268
|
}),
|
|
111134
111269
|
"data-qa": "data-table-filters-context-panel",
|
|
111270
|
+
id: filtersPanelId,
|
|
111135
111271
|
...props
|
|
111136
111272
|
},
|
|
111137
111273
|
/* @__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(
|
|
@@ -111143,7 +111279,7 @@ var BaseFiltersPanel = ({
|
|
|
111143
111279
|
variant: "tertiary"
|
|
111144
111280
|
},
|
|
111145
111281
|
I18n.t("dataTable.filters.clearAllFilters")
|
|
111146
|
-
)), /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Body, { className: cx20("contextPanelBody") }, /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Section, null, children))))
|
|
111282
|
+
)), /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Body, { id: filtersBodyId, className: cx20("contextPanelBody") }, /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Section, null, children))))
|
|
111147
111283
|
);
|
|
111148
111284
|
};
|
|
111149
111285
|
function ClientSideFiltersPanel(props) {
|
|
@@ -112305,10 +112441,26 @@ var SingleSelectQuickFilterRenderer = (props) => {
|
|
|
112305
112441
|
return /* @__PURE__ */ React80__default.default.createElement(ClientSideSingleSelectQuickFilter, { ...props });
|
|
112306
112442
|
};
|
|
112307
112443
|
var SingleSelectQuickFilterRenderer_default = SingleSelectQuickFilterRenderer;
|
|
112444
|
+
var FOCUSABLE_SELECTOR2 = 'button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
|
|
112308
112445
|
var FiltersPanelToggleButton = ({ hasDefinedFilters }) => {
|
|
112309
112446
|
const I18n = coreReact.useI18nContext();
|
|
112310
|
-
const { contextPanel } = useInternalTableContext();
|
|
112447
|
+
const { contextPanel, filtersBodyId, filtersPanelId } = useInternalTableContext();
|
|
112311
112448
|
const hasNoContent = useTableHasNoContent();
|
|
112449
|
+
const buttonRef = React80__default.default.useRef(null);
|
|
112450
|
+
const isFiltersOpen = contextPanel.content === "filters";
|
|
112451
|
+
const isMounted = React80__default.default.useRef(false);
|
|
112452
|
+
React80__default.default.useEffect(() => {
|
|
112453
|
+
if (!isMounted.current) {
|
|
112454
|
+
isMounted.current = true;
|
|
112455
|
+
return;
|
|
112456
|
+
}
|
|
112457
|
+
if (isFiltersOpen) {
|
|
112458
|
+
const panel = filtersBodyId ? document.getElementById(filtersBodyId) : null;
|
|
112459
|
+
panel?.querySelector(FOCUSABLE_SELECTOR2)?.focus();
|
|
112460
|
+
} else {
|
|
112461
|
+
buttonRef.current?.focus();
|
|
112462
|
+
}
|
|
112463
|
+
}, [isFiltersOpen, filtersBodyId]);
|
|
112312
112464
|
if (!hasDefinedFilters) {
|
|
112313
112465
|
return null;
|
|
112314
112466
|
}
|
|
@@ -112321,17 +112473,20 @@ var FiltersPanelToggleButton = ({ hasDefinedFilters }) => {
|
|
|
112321
112473
|
/* @__PURE__ */ React80__default.default.createElement(
|
|
112322
112474
|
coreReact.ToggleButton,
|
|
112323
112475
|
{
|
|
112476
|
+
ref: buttonRef,
|
|
112324
112477
|
"data-qa": "data-table-show-filters-button",
|
|
112325
112478
|
disabled: hasNoContent,
|
|
112326
112479
|
icon: /* @__PURE__ */ React80__default.default.createElement(FilterIcon, null),
|
|
112480
|
+
"aria-expanded": isFiltersOpen,
|
|
112481
|
+
"aria-controls": filtersPanelId,
|
|
112327
112482
|
onClick: () => {
|
|
112328
|
-
if (
|
|
112329
|
-
contextPanel.hide();
|
|
112330
|
-
} else {
|
|
112483
|
+
if (!isFiltersOpen) {
|
|
112331
112484
|
contextPanel.show("filters");
|
|
112485
|
+
} else {
|
|
112486
|
+
contextPanel.hide();
|
|
112332
112487
|
}
|
|
112333
112488
|
},
|
|
112334
|
-
selected:
|
|
112489
|
+
selected: isFiltersOpen
|
|
112335
112490
|
},
|
|
112336
112491
|
I18n.t("dataTable.filters.allFilters")
|
|
112337
112492
|
)
|