@procore/data-table 14.28.0 → 14.30.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.
@@ -54953,6 +54953,7 @@ function ServerSideNumberFilterRenderer({
54953
54953
  }
54954
54954
  );
54955
54955
  const prevValueRef = useRef([]);
54956
+ const internalClearRef = useRef(false);
54956
54957
  const debounceTimerRef = useRef(null);
54957
54958
  useEffect(() => {
54958
54959
  return () => {
@@ -54962,9 +54963,10 @@ function ServerSideNumberFilterRenderer({
54962
54963
  };
54963
54964
  }, []);
54964
54965
  useEffect(() => {
54965
- if (prevValueRef.current.length !== 0 && value.length === 0) {
54966
+ if (prevValueRef.current.length > 0 && value.length === 0 && !internalClearRef.current) {
54966
54967
  setLocalFilter({});
54967
54968
  }
54969
+ internalClearRef.current = false;
54968
54970
  prevValueRef.current = value;
54969
54971
  }, [value]);
54970
54972
  const transformToFilterArray = (filter) => {
@@ -55050,12 +55052,19 @@ function ServerSideNumberFilterRenderer({
55050
55052
  clearTimeout(debounceTimerRef.current);
55051
55053
  }
55052
55054
  debounceTimerRef.current = setTimeout(() => {
55053
- if (next.type === "inRange") {
55054
- if (next.value !== void 0 && next.valueTo !== void 0) {
55055
- updateFilter(next);
55056
- }
55057
- } else {
55055
+ const { type, value: value2, valueTo } = next;
55056
+ if (!type) {
55057
+ onChange == null ? void 0 : onChange([]);
55058
+ return;
55059
+ }
55060
+ const isInRange = type === "inRange";
55061
+ const hasValues = isInRange ? value2 !== void 0 && valueTo !== void 0 : value2 !== void 0;
55062
+ if (hasValues) {
55058
55063
  updateFilter(next);
55064
+ } else {
55065
+ internalClearRef.current = true;
55066
+ setLocalFilter(next);
55067
+ onChange == null ? void 0 : onChange([]);
55059
55068
  }
55060
55069
  }, DEBOUNCE_TIME);
55061
55070
  },
@@ -55189,6 +55198,17 @@ function ServerSideMultiNumberFilterRenderer({
55189
55198
  const [returnedFilter] = returnedFilterArray;
55190
55199
  const next = returnedFilter ? { ...returnedFilter, operator: firstFilter.operator } : { operator: firstFilter.operator };
55191
55200
  setFirstFilter(next);
55201
+ const isCleared = !returnedFilter || !isValidFilter(returnedFilter) && !returnedFilter.type;
55202
+ if (isCleared) {
55203
+ if (debounceTimerRef.current) {
55204
+ clearTimeout(debounceTimerRef.current);
55205
+ debounceTimerRef.current = null;
55206
+ }
55207
+ setFirstFilter({ operator: "and" });
55208
+ setSecondFilter({ operator: "and" });
55209
+ onChange == null ? void 0 : onChange([]);
55210
+ return;
55211
+ }
55192
55212
  if (debounceTimerRef.current)
55193
55213
  clearTimeout(debounceTimerRef.current);
55194
55214
  debounceTimerRef.current = setTimeout(() => {
@@ -55207,20 +55227,12 @@ function ServerSideMultiNumberFilterRenderer({
55207
55227
  };
55208
55228
  const fireOnChange = useCallback(
55209
55229
  (f1, f2) => {
55210
- if (!f1.type) {
55211
- onChange == null ? void 0 : onChange([]);
55212
- setFirstFilter({ operator: "and" });
55213
- setSecondFilter({ operator: "and" });
55214
- return;
55215
- }
55216
55230
  const f1Valid = isValidFilter(f1);
55217
55231
  const f2Valid = isValidFilter(f2);
55218
55232
  const values2 = [f1Valid ? f1 : null, f2Valid ? f2 : null].filter(
55219
55233
  (value2) => value2 !== null
55220
55234
  );
55221
- if (values2.length) {
55222
- onChange == null ? void 0 : onChange(values2);
55223
- }
55235
+ onChange == null ? void 0 : onChange(values2);
55224
55236
  },
55225
55237
  [onChange]
55226
55238
  );
@@ -60325,6 +60337,7 @@ var BulkActions = (props) => {
60325
60337
  const {
60326
60338
  children,
60327
60339
  showAlways = false,
60340
+ excludeGroupRowCount = false,
60328
60341
  showEditButtonLabel = false,
60329
60342
  editButtonText
60330
60343
  } = props;
@@ -60345,9 +60358,9 @@ var BulkActions = (props) => {
60345
60358
  if (selectedRows.length === 0 && !showAlways) {
60346
60359
  return null;
60347
60360
  }
60348
- const selectedItemsDesc = I18n.t("dataTable.bulkActions.selection", {
60349
- count: selectedRows.length,
60350
- number: selectedRows.length > 1 ? I18n.t("dataTable.bulkActions.many") : I18n.t("dataTable.bulkActions.one")
60361
+ const selectedRowsCount = excludeGroupRowCount ? selectedRows.filter((row2) => !row2.group).length : selectedRows.length;
60362
+ const selectedItemsDesc = I18n.t("dataTable.bulkActions.selection_count", {
60363
+ count: selectedRowsCount
60351
60364
  });
60352
60365
  return /* @__PURE__ */ React80.createElement(
60353
60366
  Box,
@@ -105276,12 +105289,14 @@ var ConfigurationColumns = React80.forwardRef(
105276
105289
  ));
105277
105290
  }
105278
105291
  );
105279
- var ConfigurationPanel = ({}) => {
105292
+ var ConfigurationPanel = ({
105293
+ children
105294
+ }) => {
105280
105295
  const { contextPanel, onServerSideDataRequest, enableDynamicRowHeight } = useInternalTableContext();
105281
105296
  const I18n = useI18nContext();
105282
105297
  const configurationColumnsRef = React80.useRef();
105283
105298
  const [isAllColumnsVisible, setIsAllColumnsVisible] = React80.useState(false);
105284
- 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: cx18("contextPanelBody") }, !onServerSideDataRequest && !enableDynamicRowHeight && /* @__PURE__ */ React80.createElement(
105299
+ 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: cx18("contextPanelBody") }, children && /* @__PURE__ */ React80.createElement(Panel.Section, null, children), !onServerSideDataRequest && !enableDynamicRowHeight && /* @__PURE__ */ React80.createElement(
105285
105300
  Panel.Section,
105286
105301
  {
105287
105302
  "data-qa": "data-table-config-panel-section-row-height",
@@ -105656,6 +105671,11 @@ var de_DE_default = {
105656
105671
  error: "Entschuldigung, die Elemente konnten nicht aktualisiert werden. Versuchen Sie es noch einmal.",
105657
105672
  placeholderForField: "%{fieldName} eingeben",
105658
105673
  selection: "%{count} %{number} ausgew\xE4hlt",
105674
+ selection_count: {
105675
+ zero: "%{count} Elemente ausgew\xE4hlt",
105676
+ one: "%{count} Element ausgew\xE4hlt",
105677
+ other: "%{count} Elemente ausgew\xE4hlt"
105678
+ },
105659
105679
  success: "Die Elemente wurden erfolgreich aktualisiert.",
105660
105680
  one: "Element",
105661
105681
  many: "Elemente"
@@ -105766,6 +105786,9 @@ var de_DE_default = {
105766
105786
  selectCell: {
105767
105787
  placeholder: "{{label}} ausw\xE4hlen"
105768
105788
  },
105789
+ multiSelectCell: {
105790
+ placeholder: "Werte ausw\xE4hlen"
105791
+ },
105769
105792
  booleanCell: {
105770
105793
  options: {
105771
105794
  yes: "Ja",
@@ -105819,6 +105842,11 @@ var en_AU_default = {
105819
105842
  error: "Sorry, the items couldn't be updated. Try again.",
105820
105843
  placeholderForField: "Enter %{fieldName}",
105821
105844
  selection: "%{count} %{number} selected",
105845
+ selection_count: {
105846
+ zero: "%{count} items selected",
105847
+ one: "%{count} item selected",
105848
+ other: "%{count} items selected"
105849
+ },
105822
105850
  success: "The items were successfully updated.",
105823
105851
  one: "item",
105824
105852
  many: "items"
@@ -105831,7 +105859,7 @@ var en_AU_default = {
105831
105859
  close: "Close",
105832
105860
  locationFilter: {
105833
105861
  selectAll: "Select all",
105834
- includeSublocations: "Include sublocations",
105862
+ includeSublocations: "Include sub-locations",
105835
105863
  searchLocations: "Search locations",
105836
105864
  locations: "Locations"
105837
105865
  },
@@ -105882,7 +105910,7 @@ var en_AU_default = {
105882
105910
  autoSizeAllColumns: "Autosize all columns",
105883
105911
  hideColumn: "Hide column",
105884
105912
  resetColumns: "Reset columns",
105885
- unGroupBy: "Un-group by {{label}}",
105913
+ unGroupBy: "Un-Group by {{label}}",
105886
105914
  groupBy: "Group by {{label}}"
105887
105915
  },
105888
105916
  grandTotals: "Grand totals",
@@ -105929,6 +105957,9 @@ var en_AU_default = {
105929
105957
  selectCell: {
105930
105958
  placeholder: "Select {{label}}"
105931
105959
  },
105960
+ multiSelectCell: {
105961
+ placeholder: "Select values"
105962
+ },
105932
105963
  booleanCell: {
105933
105964
  options: {
105934
105965
  yes: "Yes",
@@ -105982,6 +106013,11 @@ var en_CA_default = {
105982
106013
  error: "Sorry, the items couldn't be updated. Try again.",
105983
106014
  placeholderForField: "Enter %{fieldName}",
105984
106015
  selection: "%{count} %{number} selected",
106016
+ selection_count: {
106017
+ zero: "%{count} items selected",
106018
+ one: "%{count} item selected",
106019
+ other: "%{count} items selected"
106020
+ },
105985
106021
  success: "The items were successfully updated.",
105986
106022
  one: "item",
105987
106023
  many: "items"
@@ -106045,7 +106081,7 @@ var en_CA_default = {
106045
106081
  autoSizeAllColumns: "Autosize all columns",
106046
106082
  hideColumn: "Hide column",
106047
106083
  resetColumns: "Reset columns",
106048
- unGroupBy: "Un-group by {{label}}",
106084
+ unGroupBy: "Un-Group by {{label}}",
106049
106085
  groupBy: "Group by {{label}}"
106050
106086
  },
106051
106087
  grandTotals: "Grand totals",
@@ -106092,6 +106128,9 @@ var en_CA_default = {
106092
106128
  selectCell: {
106093
106129
  placeholder: "Select {{label}}"
106094
106130
  },
106131
+ multiSelectCell: {
106132
+ placeholder: "Select values"
106133
+ },
106095
106134
  booleanCell: {
106096
106135
  options: {
106097
106136
  yes: "Yes",
@@ -106145,6 +106184,11 @@ var en_GB_default = {
106145
106184
  error: "Sorry, the items couldn't be updated. Try again.",
106146
106185
  placeholderForField: "Enter %{fieldName}",
106147
106186
  selection: "%{count} %{number} selected",
106187
+ selection_count: {
106188
+ zero: "%{count} items selected",
106189
+ one: "%{count} item selected",
106190
+ other: "%{count} items selected"
106191
+ },
106148
106192
  success: "The items were successfully updated.",
106149
106193
  one: "item",
106150
106194
  many: "items"
@@ -106255,6 +106299,9 @@ var en_GB_default = {
106255
106299
  selectCell: {
106256
106300
  placeholder: "Select {{label}}"
106257
106301
  },
106302
+ multiSelectCell: {
106303
+ placeholder: "Select values"
106304
+ },
106258
106305
  booleanCell: {
106259
106306
  options: {
106260
106307
  yes: "Yes",
@@ -106308,6 +106355,11 @@ var en_default = {
106308
106355
  error: "Sorry, the items couldn't be updated. Try again.",
106309
106356
  placeholderForField: "Enter %{fieldName}",
106310
106357
  selection: "%{count} %{number} selected",
106358
+ selection_count: {
106359
+ zero: "%{count} items selected",
106360
+ one: "%{count} item selected",
106361
+ other: "%{count} items selected"
106362
+ },
106311
106363
  success: "The items were successfully updated.",
106312
106364
  one: "item",
106313
106365
  many: "items"
@@ -106474,6 +106526,11 @@ var es_ES_default = {
106474
106526
  error: "No se han podido actualizar los elementos. Int\xE9ntelo de nuevo.",
106475
106527
  placeholderForField: "Introducir %{fieldName}",
106476
106528
  selection: "%{count} %{number} seleccionados",
106529
+ selection_count: {
106530
+ zero: "%{count} elementos seleccionados",
106531
+ one: "%{count} elemento seleccionado",
106532
+ other: "%{count} elementos seleccionados"
106533
+ },
106477
106534
  success: "Los elementos se han actualizado correctamente.",
106478
106535
  one: "elemento",
106479
106536
  many: "elementos"
@@ -106584,6 +106641,9 @@ var es_ES_default = {
106584
106641
  selectCell: {
106585
106642
  placeholder: "Seleccionar {{label}}"
106586
106643
  },
106644
+ multiSelectCell: {
106645
+ placeholder: "Seleccionar valores"
106646
+ },
106587
106647
  booleanCell: {
106588
106648
  options: {
106589
106649
  yes: "S\xED",
@@ -106621,7 +106681,7 @@ var es_default = {
106621
106681
  title: "No hay \xEDtems para mostrar en este momento",
106622
106682
  itemsTitle: "No hay %{itemsLabel} para mostrar en este momento",
106623
106683
  tooltip: "El bot\xF3n %{featureName} se habilitar\xE1 una vez que agregue informaci\xF3n a la %{tableName}.",
106624
- searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a %{tableName}",
106684
+ searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a la %{tableName}.",
106625
106685
  featureFilter: "Filtro",
106626
106686
  featureQuickFilter: "Filtro r\xE1pido",
106627
106687
  featureGroupBy: "Agrupar por",
@@ -106634,9 +106694,14 @@ var es_default = {
106634
106694
  bulkEdit: "Edici\xF3n masiva",
106635
106695
  cancel: "Cancelar",
106636
106696
  editValues: "Editar valores",
106637
- error: "Lo sentimos, no se pudieron actualizar los \xEDtems. Int\xE9ntelo de nuevo.",
106697
+ error: "Lo sentimos, no se pudieron actualizar los \xEDtems. Vuelva a intentarlo.",
106638
106698
  placeholderForField: "Ingrese %{fieldName}",
106639
106699
  selection: "%{count} %{number} seleccionado",
106700
+ selection_count: {
106701
+ zero: "%{count} \xEDtems seleccionados",
106702
+ one: "%{count} \xEDtem seleccionado",
106703
+ other: "%{count} \xEDtems seleccionados"
106704
+ },
106640
106705
  success: "Los \xEDtems se actualizaron correctamente.",
106641
106706
  one: "\xEDtem",
106642
106707
  many: "\xEDtems"
@@ -106747,6 +106812,9 @@ var es_default = {
106747
106812
  selectCell: {
106748
106813
  placeholder: "Seleccionar {{label}}"
106749
106814
  },
106815
+ multiSelectCell: {
106816
+ placeholder: "Seleccionar valores"
106817
+ },
106750
106818
  booleanCell: {
106751
106819
  options: {
106752
106820
  yes: "S\xED",
@@ -106775,7 +106843,7 @@ var fr_CA_default = {
106775
106843
  dataTable: {
106776
106844
  emptyState: {
106777
106845
  noFilteredResults: {
106778
- description: "V\xE9rifiez l'orthographe et les options de filtrage, ou recherchez un autre mot cl\xE9.",
106846
+ description: "V\xE9rifiez l'orthographe et les options de filtrage, ou recherchez un autre mot-cl\xE9.",
106779
106847
  title: "Aucun item ne correspond \xE0 votre recherche",
106780
106848
  itemsTitle: "Aucun %{itemsLabel} ne correspond \xE0 votre recherche"
106781
106849
  },
@@ -106797,9 +106865,14 @@ var fr_CA_default = {
106797
106865
  bulkEdit: "Modifier en bloc",
106798
106866
  cancel: "Annuler",
106799
106867
  editValues: "Modifier les valeurs",
106800
- error: "D\xE9sol\xE9, les items n'ont pas pu \xEAtre mis \xE0 jour. Veuillez r\xE9essayer.",
106868
+ error: "D\xE9sol\xE9, les items n'ont pas pu \xEAtre mis \xE0 jour. R\xE9essayer.",
106801
106869
  placeholderForField: "Entrez %{fieldName}",
106802
106870
  selection: "%{count} %{number} s\xE9lectionn\xE9",
106871
+ selection_count: {
106872
+ zero: "%{count}\xA0items s\xE9lectionn\xE9s",
106873
+ one: "%{count}\xA0item s\xE9lectionn\xE9",
106874
+ other: "%{count}\xA0items s\xE9lectionn\xE9s"
106875
+ },
106803
106876
  success: "Les items ont \xE9t\xE9 mis \xE0 jour avec succ\xE8s.",
106804
106877
  one: "Item",
106805
106878
  many: "items"
@@ -106910,6 +106983,9 @@ var fr_CA_default = {
106910
106983
  selectCell: {
106911
106984
  placeholder: "S\xE9lectionner {{label}}"
106912
106985
  },
106986
+ multiSelectCell: {
106987
+ placeholder: "S\xE9lectionner les valeurs"
106988
+ },
106913
106989
  booleanCell: {
106914
106990
  options: {
106915
106991
  yes: "Oui",
@@ -106960,9 +107036,14 @@ var fr_FR_default = {
106960
107036
  bulkEdit: "Modifier en masse",
106961
107037
  cancel: "Annuler",
106962
107038
  editValues: "Modifier les valeurs",
106963
- error: "D\xE9sol\xE9, les \xE9l\xE9ments n'ont pas pu \xEAtre mis \xE0 jour. Veuillez r\xE9essayer.",
107039
+ error: "D\xE9sol\xE9, les \xE9l\xE9ments n'ont pas pu \xEAtre mis \xE0 jour. R\xE9essayez.",
106964
107040
  placeholderForField: "Saisissez %{fieldName}",
106965
107041
  selection: "%{count} %{number} s\xE9lectionn\xE9",
107042
+ selection_count: {
107043
+ zero: "%{count}\xA0\xE9l\xE9ments s\xE9lectionn\xE9s",
107044
+ one: "%{count}\xA0\xE9l\xE9ment s\xE9lectionn\xE9",
107045
+ other: "%{count}\xA0\xE9l\xE9ments s\xE9lectionn\xE9s"
107046
+ },
106966
107047
  success: "Les \xE9l\xE9ments ont bien \xE9t\xE9 mis \xE0 jour.",
106967
107048
  one: "\xE9l\xE9ment",
106968
107049
  many: "\xE9l\xE9ments"
@@ -107073,6 +107154,9 @@ var fr_FR_default = {
107073
107154
  selectCell: {
107074
107155
  placeholder: "S\xE9lectionner {{label}}"
107075
107156
  },
107157
+ multiSelectCell: {
107158
+ placeholder: "S\xE9lectionner les valeurs"
107159
+ },
107076
107160
  booleanCell: {
107077
107161
  options: {
107078
107162
  yes: "Oui",
@@ -107126,6 +107210,11 @@ var is_IS_default = {
107126
107210
  error: "\xDEv\xED mi\xF0ur var ekki h\xE6gt a\xF0 uppf\xE6ra atri\xF0in. Reyndu aftur.",
107127
107211
  placeholderForField: "Sl\xE1\xF0u inn %{fieldName}",
107128
107212
  selection: "%{count} %{number} valinn",
107213
+ selection_count: {
107214
+ zero: "%{count} atri\xF0i valin",
107215
+ one: "%{count} atri\xF0i vali\xF0",
107216
+ other: "%{count} atri\xF0i valin"
107217
+ },
107129
107218
  success: "Atri\xF0in voru uppf\xE6r\xF0.",
107130
107219
  one: "Atri\xF0i",
107131
107220
  many: "Hlutir"
@@ -107236,6 +107325,9 @@ var is_IS_default = {
107236
107325
  selectCell: {
107237
107326
  placeholder: "Veldu {{label}}"
107238
107327
  },
107328
+ multiSelectCell: {
107329
+ placeholder: "Veldu Gildi"
107330
+ },
107239
107331
  booleanCell: {
107240
107332
  options: {
107241
107333
  yes: "J\xE1",
@@ -107289,6 +107381,11 @@ var ja_JP_default = {
107289
107381
  error: "\u7533\u3057\u8A33\u3042\u308A\u307E\u305B\u3093\u304C\u3001\u9805\u76EE\u3092\u66F4\u65B0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",
107290
107382
  placeholderForField: "%{fieldName}\u3092\u5165\u529B",
107291
107383
  selection: "%{count}%{number}\u3092\u9078\u629E\u3057\u307E\u3057\u305F",
107384
+ selection_count: {
107385
+ zero: "%{count}\u500B\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F",
107386
+ one: "%{count}\u500B\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F",
107387
+ other: "%{count}\u500B\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F"
107388
+ },
107292
107389
  success: "\u9805\u76EE\u3092\u6B63\u5E38\u306B\u66F4\u65B0\u3057\u307E\u3057\u305F\u3002",
107293
107390
  one: "\u9805\u76EE",
107294
107391
  many: "\u9805\u76EE"
@@ -107399,6 +107496,9 @@ var ja_JP_default = {
107399
107496
  selectCell: {
107400
107497
  placeholder: "{{label}}\u3092\u9078\u629E\u3059\u308B"
107401
107498
  },
107499
+ multiSelectCell: {
107500
+ placeholder: "\u5024\u3092\u9078\u629E"
107501
+ },
107402
107502
  booleanCell: {
107403
107503
  options: {
107404
107504
  yes: "\u306F\u3044",
@@ -107452,6 +107552,11 @@ var pl_PL_default = {
107452
107552
  error: "Przepraszamy, nie mo\u017Cna zaktualizowa\u0107 pozycji. Spr\xF3buj ponownie.",
107453
107553
  placeholderForField: "Wprowad\u017A %{fieldName}",
107454
107554
  selection: "Wybrano %{count} %{number}",
107555
+ selection_count: {
107556
+ zero: "Wybrano pozycje: %{count}",
107557
+ one: "Wybrano pozycji: %{count}",
107558
+ other: "Wybrano pozycje: %{count}"
107559
+ },
107455
107560
  success: "Pozycje zosta\u0142y pomy\u015Blnie zaktualizowane.",
107456
107561
  one: "pozycja",
107457
107562
  many: "pozycje"
@@ -107562,6 +107667,9 @@ var pl_PL_default = {
107562
107667
  selectCell: {
107563
107668
  placeholder: "Wybierz {{label}}"
107564
107669
  },
107670
+ multiSelectCell: {
107671
+ placeholder: "Wybierz warto\u015Bci"
107672
+ },
107565
107673
  booleanCell: {
107566
107674
  options: {
107567
107675
  yes: "Tak",
@@ -107615,6 +107723,11 @@ var pseudo_default = {
107615
107723
  error: "[\u015E\u015E\u015E\u015E\u015E\u015E\u015E\u015E\u015E\u015E\u01FF\u0159\u0159\u1E8F, \xB7 \u0167\u0127\u1E17 \xB7 \u012B\u0167\u1E17\u1E3F\u015F \xB7 \u0188\u01FF\u016D\u0140\u1E13\u019E'\u0167 \xB7 \u0180\u1E17 \xB7 \u016D\u01A5\u1E13\u0227\u0167\u1E17\u1E13. \xB7 \u0166\u0159\u1E8F \xB7 \u0227\u0260\u0227\u012B\u019E..........]",
107616
107724
  placeholderForField: "[\u1E16\u1E16\u019E\u0167\u1E17\u0159 \xB7 \xB7 [NOTRANSLATE]%{fieldName}[/NOTRANSLATE]]",
107617
107725
  selection: "[[NOTRANSLATE]%{count}[/NOTRANSLATE] \xB7 \xB7 \xB7 [NOTRANSLATE]%{number}[/NOTRANSLATE] \xB7 \xB7 \u015F\u1E17\u0140\u1E17\u0188\u0167\u1E17\u1E13\u1E13]",
107726
+ selection_count: {
107727
+ zero: "[[NOTRANSLATE]%{count}[/NOTRANSLATE] \xB7 \xB7 \xB7 \u012B\u0167\u1E17\u1E3F\u015F \xB7 \u015F\u1E17\u0140\u1E17\u0188\u0167\u1E17\u1E13\u1E13\u1E13]",
107728
+ one: "[[NOTRANSLATE]%{count}[/NOTRANSLATE] \xB7 \xB7 \xB7 \u012B\u0167\u1E17\u1E3F \xB7 \u015F\u1E17\u0140\u1E17\u0188\u0167\u1E17\u1E13\u1E13\u1E13]",
107729
+ other: "[[NOTRANSLATE]%{count}[/NOTRANSLATE] \xB7 \xB7 \xB7 \u012B\u0167\u1E17\u1E3F\u015F \xB7 \u015F\u1E17\u0140\u1E17\u0188\u0167\u1E17\u1E13\u1E13\u1E13]"
107730
+ },
107618
107731
  success: "[\u0166\u0166\u0166\u0166\u0166\u0166\u0166\u0166\u0127\u1E17 \xB7 \u012B\u0167\u1E17\u1E3F\u015F \xB7 \u1E87\u1E17\u0159\u1E17 \xB7 \u015F\u016D\u0188\u0188\u1E17\u015F\u015F\u0192\u016D\u0140\u0140\u1E8F \xB7 \u016D\u01A5\u1E13\u0227\u0167\u1E17\u1E13........]",
107619
107732
  one: "[\u012B\u0167\u1E17\u1E3F]",
107620
107733
  many: "[\u012B\u0167\u1E17\u1E3F\u015F]"
@@ -107764,8 +107877,8 @@ var pt_BR_default = {
107764
107877
  description: "Depois que sua equipe criar esses itens, voc\xEA poder\xE1 acess\xE1-los aqui. ",
107765
107878
  title: "N\xE3o H\xE1 Itens para Exibir Agora",
107766
107879
  itemsTitle: "N\xE3o H\xE1 %{itemsLabel} para Exibir Agora",
107767
- tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado assim que voc\xEA adicionar informa\xE7\xF5es ao %{tableName}",
107768
- searchTooltip: "A pesquisa ser\xE1 ativada assim que voc\xEA adicionar informa\xE7\xF5es \xE0 tabela %{tableName}",
107880
+ tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado assim que voc\xEA adicionar informa\xE7\xF5es \xE0 %{tableName}",
107881
+ searchTooltip: "A pesquisa ser\xE1 ativada assim que voc\xEA adicionar informa\xE7\xF5es \xE0 %{tableName}",
107769
107882
  featureFilter: "Filtrar",
107770
107883
  featureQuickFilter: "Filtro r\xE1pido",
107771
107884
  featureGroupBy: "Agrupar por",
@@ -107778,9 +107891,14 @@ var pt_BR_default = {
107778
107891
  bulkEdit: "Edi\xE7\xE3o em Massa",
107779
107892
  cancel: "Cancelar",
107780
107893
  editValues: "Editar Valores",
107781
- error: "Sentimos muito, mas n\xE3o foi poss\xEDvel atualizar os itens. Tente novamente.",
107894
+ error: "Lamentamos, mas n\xE3o foi poss\xEDvel atualizar os itens. Tente novamente.",
107782
107895
  placeholderForField: "Digite %{fieldName}",
107783
107896
  selection: "%{count} %{number} selecionado",
107897
+ selection_count: {
107898
+ zero: "%{count} itens selecionados",
107899
+ one: "%{count} item selecionado",
107900
+ other: "%{count} itens selecionados"
107901
+ },
107784
107902
  success: "Os itens foram atualizados com sucesso.",
107785
107903
  one: "item",
107786
107904
  many: "itens"
@@ -107891,6 +108009,9 @@ var pt_BR_default = {
107891
108009
  selectCell: {
107892
108010
  placeholder: "Selecionar {{label}}"
107893
108011
  },
108012
+ multiSelectCell: {
108013
+ placeholder: "Selecionar Valores"
108014
+ },
107894
108015
  booleanCell: {
107895
108016
  options: {
107896
108017
  yes: "Sim",
@@ -107941,9 +108062,14 @@ var th_TH_default = {
107941
108062
  bulkEdit: "\u0E01\u0E32\u0E23\u0E41\u0E01\u0E49\u0E44\u0E02\u0E41\u0E1A\u0E1A\u0E01\u0E25\u0E38\u0E48\u0E21",
107942
108063
  cancel: "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",
107943
108064
  editValues: "\u0E41\u0E01\u0E49\u0E44\u0E02\u0E04\u0E48\u0E32",
107944
- error: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E2D\u0E31\u0E1B\u0E40\u0E14\u0E15\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E44\u0E14\u0E49 \u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07.",
108065
+ error: "\u0E02\u0E2D\u0E2D\u0E20\u0E31\u0E22 \u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E2D\u0E31\u0E1B\u0E40\u0E14\u0E15\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E44\u0E14\u0E49 \u0E42\u0E1B\u0E23\u0E14\u0E25\u0E2D\u0E07\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",
107945
108066
  placeholderForField: "\u0E1B\u0E49\u0E2D\u0E19 %{fieldName}",
107946
108067
  selection: "%{count} %{number} \u0E17\u0E35\u0E48\u0E40\u0E25\u0E37\u0E2D\u0E01",
108068
+ selection_count: {
108069
+ zero: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27 %{count} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",
108070
+ one: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27 %{count} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",
108071
+ other: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27 %{count} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"
108072
+ },
107947
108073
  success: "\u0E2D\u0E31\u0E1B\u0E40\u0E14\u0E15\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08\u0E41\u0E25\u0E49\u0E27",
107948
108074
  one: "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",
107949
108075
  many: "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"
@@ -108054,6 +108180,9 @@ var th_TH_default = {
108054
108180
  selectCell: {
108055
108181
  placeholder: "\u0E40\u0E25\u0E37\u0E2D\u0E01 {{label}}"
108056
108182
  },
108183
+ multiSelectCell: {
108184
+ placeholder: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E04\u0E48\u0E32"
108185
+ },
108057
108186
  booleanCell: {
108058
108187
  options: {
108059
108188
  yes: "\u0E43\u0E0A\u0E48",
@@ -108107,6 +108236,11 @@ var zh_SG_default = {
108107
108236
  error: "\u62B1\u6B49\uFF0C\u65E0\u6CD5\u66F4\u65B0\u6B64\u9879\u3002\u8BF7\u91CD\u8BD5\u3002",
108108
108237
  placeholderForField: "\u8F93\u5165 %{fieldName}",
108109
108238
  selection: "\u5DF2\u9009\u62E9 %{count} %{number}",
108239
+ selection_count: {
108240
+ zero: "\u5DF2\u9009\u62E9 %{count} \u9879",
108241
+ one: "\u5DF2\u9009\u62E9 %{count} \u9879",
108242
+ other: "\u5DF2\u9009\u62E9 %{count} \u9879"
108243
+ },
108110
108244
  success: "\u5DF2\u6210\u529F\u66F4\u65B0\u8FD9\u4E9B\u9879\u3002",
108111
108245
  one: "\u9879",
108112
108246
  many: "\u9879"
@@ -108217,6 +108351,9 @@ var zh_SG_default = {
108217
108351
  selectCell: {
108218
108352
  placeholder: "\u9009\u62E9{{label}}"
108219
108353
  },
108354
+ multiSelectCell: {
108355
+ placeholder: "\u9009\u62E9\u503C"
108356
+ },
108220
108357
  booleanCell: {
108221
108358
  options: {
108222
108359
  yes: "\u662F",
@@ -109562,7 +109699,7 @@ var Table = (props) => {
109562
109699
  const internalTableContext = useInternalTableContext();
109563
109700
  const clientSideRowData = props.rows ? { rowData: props.rows } : {};
109564
109701
  const serverSideInfiniteScroll = internalTableContext.onServerSideDataRequest ? { serverSideInfiniteScroll: true } : {};
109565
- const { columnApi, getRowHeight, gridApi } = internalTableContext;
109702
+ const { columnApi, getRowHeight, gridApi, filterState } = internalTableContext;
109566
109703
  const [viewportWidth, setViewportWidth] = React80.useState(0);
109567
109704
  const rowActionsWidth = React80.useRef(0);
109568
109705
  const [tableHeight, setTableHeight] = React80.useState(0);
@@ -109803,6 +109940,13 @@ var Table = (props) => {
109803
109940
  setSiblingGroupsRowSelection(selectedGroupIndex, gridApi);
109804
109941
  }
109805
109942
  }, [internalTableContext.selectedGroupIndex]);
109943
+ React80.useEffect(() => {
109944
+ filterState.allAvailableFilters.forEach((filter) => {
109945
+ if (Array.isArray(filter.filterValues) && filter.filterValues.length === 0) {
109946
+ tableApi.removeFilter(filter.field);
109947
+ }
109948
+ });
109949
+ }, [filterState.allAvailableFilters]);
109806
109950
  function footerValueGetter(params) {
109807
109951
  if (props.getSubtotalLabel) {
109808
109952
  return props.getSubtotalLabel(
@@ -110524,7 +110668,7 @@ var ContextPanel = ({
110524
110668
  "data-qa": "data-table-context-panel",
110525
110669
  ...props
110526
110670
  },
110527
- /* @__PURE__ */ React80.createElement(Box, { className: cx19("contextPanelWrapper"), display: "flex-column" }, contextPanel.content === "configuration" && /* @__PURE__ */ React80.createElement(ConfigurationPanel, null), contextPanel.content === "bulkEdit" && /* @__PURE__ */ React80.createElement(BulkEditPanel, null), contextPanel.content === "custom" && children)
110671
+ /* @__PURE__ */ React80.createElement(Box, { className: cx19("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)
110528
110672
  );
110529
110673
  };
110530
110674
  function isLastColumnInGroup(params) {