@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.
@@ -54905,6 +54905,7 @@ function ServerSideNumberFilterRenderer({
54905
54905
  }
54906
54906
  );
54907
54907
  const prevValueRef = React80.useRef([]);
54908
+ const internalClearRef = React80.useRef(false);
54908
54909
  const debounceTimerRef = React80.useRef(null);
54909
54910
  React80.useEffect(() => {
54910
54911
  return () => {
@@ -54914,9 +54915,10 @@ function ServerSideNumberFilterRenderer({
54914
54915
  };
54915
54916
  }, []);
54916
54917
  React80.useEffect(() => {
54917
- if (prevValueRef.current.length !== 0 && value.length === 0) {
54918
+ if (prevValueRef.current.length > 0 && value.length === 0 && !internalClearRef.current) {
54918
54919
  setLocalFilter({});
54919
54920
  }
54921
+ internalClearRef.current = false;
54920
54922
  prevValueRef.current = value;
54921
54923
  }, [value]);
54922
54924
  const transformToFilterArray = (filter) => {
@@ -55002,12 +55004,19 @@ function ServerSideNumberFilterRenderer({
55002
55004
  clearTimeout(debounceTimerRef.current);
55003
55005
  }
55004
55006
  debounceTimerRef.current = setTimeout(() => {
55005
- if (next.type === "inRange") {
55006
- if (next.value !== void 0 && next.valueTo !== void 0) {
55007
- updateFilter(next);
55008
- }
55009
- } else {
55007
+ const { type, value: value2, valueTo } = next;
55008
+ if (!type) {
55009
+ onChange?.([]);
55010
+ return;
55011
+ }
55012
+ const isInRange = type === "inRange";
55013
+ const hasValues = isInRange ? value2 !== void 0 && valueTo !== void 0 : value2 !== void 0;
55014
+ if (hasValues) {
55010
55015
  updateFilter(next);
55016
+ } else {
55017
+ internalClearRef.current = true;
55018
+ setLocalFilter(next);
55019
+ onChange?.([]);
55011
55020
  }
55012
55021
  }, DEBOUNCE_TIME);
55013
55022
  },
@@ -55140,6 +55149,17 @@ function ServerSideMultiNumberFilterRenderer({
55140
55149
  const [returnedFilter] = returnedFilterArray;
55141
55150
  const next = returnedFilter ? { ...returnedFilter, operator: firstFilter.operator } : { operator: firstFilter.operator };
55142
55151
  setFirstFilter(next);
55152
+ const isCleared = !returnedFilter || !isValidFilter(returnedFilter) && !returnedFilter.type;
55153
+ if (isCleared) {
55154
+ if (debounceTimerRef.current) {
55155
+ clearTimeout(debounceTimerRef.current);
55156
+ debounceTimerRef.current = null;
55157
+ }
55158
+ setFirstFilter({ operator: "and" });
55159
+ setSecondFilter({ operator: "and" });
55160
+ onChange?.([]);
55161
+ return;
55162
+ }
55143
55163
  if (debounceTimerRef.current)
55144
55164
  clearTimeout(debounceTimerRef.current);
55145
55165
  debounceTimerRef.current = setTimeout(() => {
@@ -55158,20 +55178,12 @@ function ServerSideMultiNumberFilterRenderer({
55158
55178
  };
55159
55179
  const fireOnChange = React80.useCallback(
55160
55180
  (f1, f2) => {
55161
- if (!f1.type) {
55162
- onChange?.([]);
55163
- setFirstFilter({ operator: "and" });
55164
- setSecondFilter({ operator: "and" });
55165
- return;
55166
- }
55167
55181
  const f1Valid = isValidFilter(f1);
55168
55182
  const f2Valid = isValidFilter(f2);
55169
55183
  const values2 = [f1Valid ? f1 : null, f2Valid ? f2 : null].filter(
55170
55184
  (value2) => value2 !== null
55171
55185
  );
55172
- if (values2.length) {
55173
- onChange?.(values2);
55174
- }
55186
+ onChange?.(values2);
55175
55187
  },
55176
55188
  [onChange]
55177
55189
  );
@@ -60207,6 +60219,7 @@ var BulkActions = (props) => {
60207
60219
  const {
60208
60220
  children,
60209
60221
  showAlways = false,
60222
+ excludeGroupRowCount = false,
60210
60223
  showEditButtonLabel = false,
60211
60224
  editButtonText
60212
60225
  } = props;
@@ -60227,9 +60240,9 @@ var BulkActions = (props) => {
60227
60240
  if (selectedRows.length === 0 && !showAlways) {
60228
60241
  return null;
60229
60242
  }
60230
- const selectedItemsDesc = I18n.t("dataTable.bulkActions.selection", {
60231
- count: selectedRows.length,
60232
- number: selectedRows.length > 1 ? I18n.t("dataTable.bulkActions.many") : I18n.t("dataTable.bulkActions.one")
60243
+ const selectedRowsCount = excludeGroupRowCount ? selectedRows.filter((row2) => !row2.group).length : selectedRows.length;
60244
+ const selectedItemsDesc = I18n.t("dataTable.bulkActions.selection_count", {
60245
+ count: selectedRowsCount
60233
60246
  });
60234
60247
  return /* @__PURE__ */ React80__default.default.createElement(
60235
60248
  coreReact.Box,
@@ -105131,12 +105144,14 @@ var ConfigurationColumns = React80__default.default.forwardRef(
105131
105144
  ));
105132
105145
  }
105133
105146
  );
105134
- var ConfigurationPanel = ({}) => {
105147
+ var ConfigurationPanel = ({
105148
+ children
105149
+ }) => {
105135
105150
  const { contextPanel, onServerSideDataRequest, enableDynamicRowHeight } = useInternalTableContext();
105136
105151
  const I18n = coreReact.useI18nContext();
105137
105152
  const configurationColumnsRef = React80__default.default.useRef();
105138
105153
  const [isAllColumnsVisible, setIsAllColumnsVisible] = React80__default.default.useState(false);
105139
- return /* @__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.tableSettings.tableSettings"))), /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Body, { className: cx18("contextPanelBody") }, !onServerSideDataRequest && !enableDynamicRowHeight && /* @__PURE__ */ React80__default.default.createElement(
105154
+ return /* @__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.tableSettings.tableSettings"))), /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Body, { className: cx18("contextPanelBody") }, children && /* @__PURE__ */ React80__default.default.createElement(coreReact.Panel.Section, null, children), !onServerSideDataRequest && !enableDynamicRowHeight && /* @__PURE__ */ React80__default.default.createElement(
105140
105155
  coreReact.Panel.Section,
105141
105156
  {
105142
105157
  "data-qa": "data-table-config-panel-section-row-height",
@@ -105503,6 +105518,11 @@ var de_DE_default = {
105503
105518
  error: "Entschuldigung, die Elemente konnten nicht aktualisiert werden. Versuchen Sie es noch einmal.",
105504
105519
  placeholderForField: "%{fieldName} eingeben",
105505
105520
  selection: "%{count} %{number} ausgew\xE4hlt",
105521
+ selection_count: {
105522
+ zero: "%{count} Elemente ausgew\xE4hlt",
105523
+ one: "%{count} Element ausgew\xE4hlt",
105524
+ other: "%{count} Elemente ausgew\xE4hlt"
105525
+ },
105506
105526
  success: "Die Elemente wurden erfolgreich aktualisiert.",
105507
105527
  one: "Element",
105508
105528
  many: "Elemente"
@@ -105613,6 +105633,9 @@ var de_DE_default = {
105613
105633
  selectCell: {
105614
105634
  placeholder: "{{label}} ausw\xE4hlen"
105615
105635
  },
105636
+ multiSelectCell: {
105637
+ placeholder: "Werte ausw\xE4hlen"
105638
+ },
105616
105639
  booleanCell: {
105617
105640
  options: {
105618
105641
  yes: "Ja",
@@ -105666,6 +105689,11 @@ var en_AU_default = {
105666
105689
  error: "Sorry, the items couldn't be updated. Try again.",
105667
105690
  placeholderForField: "Enter %{fieldName}",
105668
105691
  selection: "%{count} %{number} selected",
105692
+ selection_count: {
105693
+ zero: "%{count} items selected",
105694
+ one: "%{count} item selected",
105695
+ other: "%{count} items selected"
105696
+ },
105669
105697
  success: "The items were successfully updated.",
105670
105698
  one: "item",
105671
105699
  many: "items"
@@ -105678,7 +105706,7 @@ var en_AU_default = {
105678
105706
  close: "Close",
105679
105707
  locationFilter: {
105680
105708
  selectAll: "Select all",
105681
- includeSublocations: "Include sublocations",
105709
+ includeSublocations: "Include sub-locations",
105682
105710
  searchLocations: "Search locations",
105683
105711
  locations: "Locations"
105684
105712
  },
@@ -105729,7 +105757,7 @@ var en_AU_default = {
105729
105757
  autoSizeAllColumns: "Autosize all columns",
105730
105758
  hideColumn: "Hide column",
105731
105759
  resetColumns: "Reset columns",
105732
- unGroupBy: "Un-group by {{label}}",
105760
+ unGroupBy: "Un-Group by {{label}}",
105733
105761
  groupBy: "Group by {{label}}"
105734
105762
  },
105735
105763
  grandTotals: "Grand totals",
@@ -105776,6 +105804,9 @@ var en_AU_default = {
105776
105804
  selectCell: {
105777
105805
  placeholder: "Select {{label}}"
105778
105806
  },
105807
+ multiSelectCell: {
105808
+ placeholder: "Select values"
105809
+ },
105779
105810
  booleanCell: {
105780
105811
  options: {
105781
105812
  yes: "Yes",
@@ -105829,6 +105860,11 @@ var en_CA_default = {
105829
105860
  error: "Sorry, the items couldn't be updated. Try again.",
105830
105861
  placeholderForField: "Enter %{fieldName}",
105831
105862
  selection: "%{count} %{number} selected",
105863
+ selection_count: {
105864
+ zero: "%{count} items selected",
105865
+ one: "%{count} item selected",
105866
+ other: "%{count} items selected"
105867
+ },
105832
105868
  success: "The items were successfully updated.",
105833
105869
  one: "item",
105834
105870
  many: "items"
@@ -105892,7 +105928,7 @@ var en_CA_default = {
105892
105928
  autoSizeAllColumns: "Autosize all columns",
105893
105929
  hideColumn: "Hide column",
105894
105930
  resetColumns: "Reset columns",
105895
- unGroupBy: "Un-group by {{label}}",
105931
+ unGroupBy: "Un-Group by {{label}}",
105896
105932
  groupBy: "Group by {{label}}"
105897
105933
  },
105898
105934
  grandTotals: "Grand totals",
@@ -105939,6 +105975,9 @@ var en_CA_default = {
105939
105975
  selectCell: {
105940
105976
  placeholder: "Select {{label}}"
105941
105977
  },
105978
+ multiSelectCell: {
105979
+ placeholder: "Select values"
105980
+ },
105942
105981
  booleanCell: {
105943
105982
  options: {
105944
105983
  yes: "Yes",
@@ -105992,6 +106031,11 @@ var en_GB_default = {
105992
106031
  error: "Sorry, the items couldn't be updated. Try again.",
105993
106032
  placeholderForField: "Enter %{fieldName}",
105994
106033
  selection: "%{count} %{number} selected",
106034
+ selection_count: {
106035
+ zero: "%{count} items selected",
106036
+ one: "%{count} item selected",
106037
+ other: "%{count} items selected"
106038
+ },
105995
106039
  success: "The items were successfully updated.",
105996
106040
  one: "item",
105997
106041
  many: "items"
@@ -106102,6 +106146,9 @@ var en_GB_default = {
106102
106146
  selectCell: {
106103
106147
  placeholder: "Select {{label}}"
106104
106148
  },
106149
+ multiSelectCell: {
106150
+ placeholder: "Select values"
106151
+ },
106105
106152
  booleanCell: {
106106
106153
  options: {
106107
106154
  yes: "Yes",
@@ -106155,6 +106202,11 @@ var en_default = {
106155
106202
  error: "Sorry, the items couldn't be updated. Try again.",
106156
106203
  placeholderForField: "Enter %{fieldName}",
106157
106204
  selection: "%{count} %{number} selected",
106205
+ selection_count: {
106206
+ zero: "%{count} items selected",
106207
+ one: "%{count} item selected",
106208
+ other: "%{count} items selected"
106209
+ },
106158
106210
  success: "The items were successfully updated.",
106159
106211
  one: "item",
106160
106212
  many: "items"
@@ -106321,6 +106373,11 @@ var es_ES_default = {
106321
106373
  error: "No se han podido actualizar los elementos. Int\xE9ntelo de nuevo.",
106322
106374
  placeholderForField: "Introducir %{fieldName}",
106323
106375
  selection: "%{count} %{number} seleccionados",
106376
+ selection_count: {
106377
+ zero: "%{count} elementos seleccionados",
106378
+ one: "%{count} elemento seleccionado",
106379
+ other: "%{count} elementos seleccionados"
106380
+ },
106324
106381
  success: "Los elementos se han actualizado correctamente.",
106325
106382
  one: "elemento",
106326
106383
  many: "elementos"
@@ -106431,6 +106488,9 @@ var es_ES_default = {
106431
106488
  selectCell: {
106432
106489
  placeholder: "Seleccionar {{label}}"
106433
106490
  },
106491
+ multiSelectCell: {
106492
+ placeholder: "Seleccionar valores"
106493
+ },
106434
106494
  booleanCell: {
106435
106495
  options: {
106436
106496
  yes: "S\xED",
@@ -106468,7 +106528,7 @@ var es_default = {
106468
106528
  title: "No hay \xEDtems para mostrar en este momento",
106469
106529
  itemsTitle: "No hay %{itemsLabel} para mostrar en este momento",
106470
106530
  tooltip: "El bot\xF3n %{featureName} se habilitar\xE1 una vez que agregue informaci\xF3n a la %{tableName}.",
106471
- searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a %{tableName}",
106531
+ searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a la %{tableName}.",
106472
106532
  featureFilter: "Filtro",
106473
106533
  featureQuickFilter: "Filtro r\xE1pido",
106474
106534
  featureGroupBy: "Agrupar por",
@@ -106481,9 +106541,14 @@ var es_default = {
106481
106541
  bulkEdit: "Edici\xF3n masiva",
106482
106542
  cancel: "Cancelar",
106483
106543
  editValues: "Editar valores",
106484
- error: "Lo sentimos, no se pudieron actualizar los \xEDtems. Int\xE9ntelo de nuevo.",
106544
+ error: "Lo sentimos, no se pudieron actualizar los \xEDtems. Vuelva a intentarlo.",
106485
106545
  placeholderForField: "Ingrese %{fieldName}",
106486
106546
  selection: "%{count} %{number} seleccionado",
106547
+ selection_count: {
106548
+ zero: "%{count} \xEDtems seleccionados",
106549
+ one: "%{count} \xEDtem seleccionado",
106550
+ other: "%{count} \xEDtems seleccionados"
106551
+ },
106487
106552
  success: "Los \xEDtems se actualizaron correctamente.",
106488
106553
  one: "\xEDtem",
106489
106554
  many: "\xEDtems"
@@ -106594,6 +106659,9 @@ var es_default = {
106594
106659
  selectCell: {
106595
106660
  placeholder: "Seleccionar {{label}}"
106596
106661
  },
106662
+ multiSelectCell: {
106663
+ placeholder: "Seleccionar valores"
106664
+ },
106597
106665
  booleanCell: {
106598
106666
  options: {
106599
106667
  yes: "S\xED",
@@ -106622,7 +106690,7 @@ var fr_CA_default = {
106622
106690
  dataTable: {
106623
106691
  emptyState: {
106624
106692
  noFilteredResults: {
106625
- description: "V\xE9rifiez l'orthographe et les options de filtrage, ou recherchez un autre mot cl\xE9.",
106693
+ description: "V\xE9rifiez l'orthographe et les options de filtrage, ou recherchez un autre mot-cl\xE9.",
106626
106694
  title: "Aucun item ne correspond \xE0 votre recherche",
106627
106695
  itemsTitle: "Aucun %{itemsLabel} ne correspond \xE0 votre recherche"
106628
106696
  },
@@ -106644,9 +106712,14 @@ var fr_CA_default = {
106644
106712
  bulkEdit: "Modifier en bloc",
106645
106713
  cancel: "Annuler",
106646
106714
  editValues: "Modifier les valeurs",
106647
- error: "D\xE9sol\xE9, les items n'ont pas pu \xEAtre mis \xE0 jour. Veuillez r\xE9essayer.",
106715
+ error: "D\xE9sol\xE9, les items n'ont pas pu \xEAtre mis \xE0 jour. R\xE9essayer.",
106648
106716
  placeholderForField: "Entrez %{fieldName}",
106649
106717
  selection: "%{count} %{number} s\xE9lectionn\xE9",
106718
+ selection_count: {
106719
+ zero: "%{count}\xA0items s\xE9lectionn\xE9s",
106720
+ one: "%{count}\xA0item s\xE9lectionn\xE9",
106721
+ other: "%{count}\xA0items s\xE9lectionn\xE9s"
106722
+ },
106650
106723
  success: "Les items ont \xE9t\xE9 mis \xE0 jour avec succ\xE8s.",
106651
106724
  one: "Item",
106652
106725
  many: "items"
@@ -106757,6 +106830,9 @@ var fr_CA_default = {
106757
106830
  selectCell: {
106758
106831
  placeholder: "S\xE9lectionner {{label}}"
106759
106832
  },
106833
+ multiSelectCell: {
106834
+ placeholder: "S\xE9lectionner les valeurs"
106835
+ },
106760
106836
  booleanCell: {
106761
106837
  options: {
106762
106838
  yes: "Oui",
@@ -106807,9 +106883,14 @@ var fr_FR_default = {
106807
106883
  bulkEdit: "Modifier en masse",
106808
106884
  cancel: "Annuler",
106809
106885
  editValues: "Modifier les valeurs",
106810
- error: "D\xE9sol\xE9, les \xE9l\xE9ments n'ont pas pu \xEAtre mis \xE0 jour. Veuillez r\xE9essayer.",
106886
+ error: "D\xE9sol\xE9, les \xE9l\xE9ments n'ont pas pu \xEAtre mis \xE0 jour. R\xE9essayez.",
106811
106887
  placeholderForField: "Saisissez %{fieldName}",
106812
106888
  selection: "%{count} %{number} s\xE9lectionn\xE9",
106889
+ selection_count: {
106890
+ zero: "%{count}\xA0\xE9l\xE9ments s\xE9lectionn\xE9s",
106891
+ one: "%{count}\xA0\xE9l\xE9ment s\xE9lectionn\xE9",
106892
+ other: "%{count}\xA0\xE9l\xE9ments s\xE9lectionn\xE9s"
106893
+ },
106813
106894
  success: "Les \xE9l\xE9ments ont bien \xE9t\xE9 mis \xE0 jour.",
106814
106895
  one: "\xE9l\xE9ment",
106815
106896
  many: "\xE9l\xE9ments"
@@ -106920,6 +107001,9 @@ var fr_FR_default = {
106920
107001
  selectCell: {
106921
107002
  placeholder: "S\xE9lectionner {{label}}"
106922
107003
  },
107004
+ multiSelectCell: {
107005
+ placeholder: "S\xE9lectionner les valeurs"
107006
+ },
106923
107007
  booleanCell: {
106924
107008
  options: {
106925
107009
  yes: "Oui",
@@ -106973,6 +107057,11 @@ var is_IS_default = {
106973
107057
  error: "\xDEv\xED mi\xF0ur var ekki h\xE6gt a\xF0 uppf\xE6ra atri\xF0in. Reyndu aftur.",
106974
107058
  placeholderForField: "Sl\xE1\xF0u inn %{fieldName}",
106975
107059
  selection: "%{count} %{number} valinn",
107060
+ selection_count: {
107061
+ zero: "%{count} atri\xF0i valin",
107062
+ one: "%{count} atri\xF0i vali\xF0",
107063
+ other: "%{count} atri\xF0i valin"
107064
+ },
106976
107065
  success: "Atri\xF0in voru uppf\xE6r\xF0.",
106977
107066
  one: "Atri\xF0i",
106978
107067
  many: "Hlutir"
@@ -107083,6 +107172,9 @@ var is_IS_default = {
107083
107172
  selectCell: {
107084
107173
  placeholder: "Veldu {{label}}"
107085
107174
  },
107175
+ multiSelectCell: {
107176
+ placeholder: "Veldu Gildi"
107177
+ },
107086
107178
  booleanCell: {
107087
107179
  options: {
107088
107180
  yes: "J\xE1",
@@ -107136,6 +107228,11 @@ var ja_JP_default = {
107136
107228
  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",
107137
107229
  placeholderForField: "%{fieldName}\u3092\u5165\u529B",
107138
107230
  selection: "%{count}%{number}\u3092\u9078\u629E\u3057\u307E\u3057\u305F",
107231
+ selection_count: {
107232
+ zero: "%{count}\u500B\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F",
107233
+ one: "%{count}\u500B\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F",
107234
+ other: "%{count}\u500B\u306E\u9805\u76EE\u3092\u9078\u629E\u3057\u307E\u3057\u305F"
107235
+ },
107139
107236
  success: "\u9805\u76EE\u3092\u6B63\u5E38\u306B\u66F4\u65B0\u3057\u307E\u3057\u305F\u3002",
107140
107237
  one: "\u9805\u76EE",
107141
107238
  many: "\u9805\u76EE"
@@ -107246,6 +107343,9 @@ var ja_JP_default = {
107246
107343
  selectCell: {
107247
107344
  placeholder: "{{label}}\u3092\u9078\u629E\u3059\u308B"
107248
107345
  },
107346
+ multiSelectCell: {
107347
+ placeholder: "\u5024\u3092\u9078\u629E"
107348
+ },
107249
107349
  booleanCell: {
107250
107350
  options: {
107251
107351
  yes: "\u306F\u3044",
@@ -107299,6 +107399,11 @@ var pl_PL_default = {
107299
107399
  error: "Przepraszamy, nie mo\u017Cna zaktualizowa\u0107 pozycji. Spr\xF3buj ponownie.",
107300
107400
  placeholderForField: "Wprowad\u017A %{fieldName}",
107301
107401
  selection: "Wybrano %{count} %{number}",
107402
+ selection_count: {
107403
+ zero: "Wybrano pozycje: %{count}",
107404
+ one: "Wybrano pozycji: %{count}",
107405
+ other: "Wybrano pozycje: %{count}"
107406
+ },
107302
107407
  success: "Pozycje zosta\u0142y pomy\u015Blnie zaktualizowane.",
107303
107408
  one: "pozycja",
107304
107409
  many: "pozycje"
@@ -107409,6 +107514,9 @@ var pl_PL_default = {
107409
107514
  selectCell: {
107410
107515
  placeholder: "Wybierz {{label}}"
107411
107516
  },
107517
+ multiSelectCell: {
107518
+ placeholder: "Wybierz warto\u015Bci"
107519
+ },
107412
107520
  booleanCell: {
107413
107521
  options: {
107414
107522
  yes: "Tak",
@@ -107462,6 +107570,11 @@ var pseudo_default = {
107462
107570
  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..........]",
107463
107571
  placeholderForField: "[\u1E16\u1E16\u019E\u0167\u1E17\u0159 \xB7 \xB7 [NOTRANSLATE]%{fieldName}[/NOTRANSLATE]]",
107464
107572
  selection: "[[NOTRANSLATE]%{count}[/NOTRANSLATE] \xB7 \xB7 \xB7 [NOTRANSLATE]%{number}[/NOTRANSLATE] \xB7 \xB7 \u015F\u1E17\u0140\u1E17\u0188\u0167\u1E17\u1E13\u1E13]",
107573
+ selection_count: {
107574
+ zero: "[[NOTRANSLATE]%{count}[/NOTRANSLATE] \xB7 \xB7 \xB7 \u012B\u0167\u1E17\u1E3F\u015F \xB7 \u015F\u1E17\u0140\u1E17\u0188\u0167\u1E17\u1E13\u1E13\u1E13]",
107575
+ one: "[[NOTRANSLATE]%{count}[/NOTRANSLATE] \xB7 \xB7 \xB7 \u012B\u0167\u1E17\u1E3F \xB7 \u015F\u1E17\u0140\u1E17\u0188\u0167\u1E17\u1E13\u1E13\u1E13]",
107576
+ other: "[[NOTRANSLATE]%{count}[/NOTRANSLATE] \xB7 \xB7 \xB7 \u012B\u0167\u1E17\u1E3F\u015F \xB7 \u015F\u1E17\u0140\u1E17\u0188\u0167\u1E17\u1E13\u1E13\u1E13]"
107577
+ },
107465
107578
  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........]",
107466
107579
  one: "[\u012B\u0167\u1E17\u1E3F]",
107467
107580
  many: "[\u012B\u0167\u1E17\u1E3F\u015F]"
@@ -107611,8 +107724,8 @@ var pt_BR_default = {
107611
107724
  description: "Depois que sua equipe criar esses itens, voc\xEA poder\xE1 acess\xE1-los aqui. ",
107612
107725
  title: "N\xE3o H\xE1 Itens para Exibir Agora",
107613
107726
  itemsTitle: "N\xE3o H\xE1 %{itemsLabel} para Exibir Agora",
107614
- tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado assim que voc\xEA adicionar informa\xE7\xF5es ao %{tableName}",
107615
- searchTooltip: "A pesquisa ser\xE1 ativada assim que voc\xEA adicionar informa\xE7\xF5es \xE0 tabela %{tableName}",
107727
+ tooltip: "O bot\xE3o %{featureName} ser\xE1 ativado assim que voc\xEA adicionar informa\xE7\xF5es \xE0 %{tableName}",
107728
+ searchTooltip: "A pesquisa ser\xE1 ativada assim que voc\xEA adicionar informa\xE7\xF5es \xE0 %{tableName}",
107616
107729
  featureFilter: "Filtrar",
107617
107730
  featureQuickFilter: "Filtro r\xE1pido",
107618
107731
  featureGroupBy: "Agrupar por",
@@ -107625,9 +107738,14 @@ var pt_BR_default = {
107625
107738
  bulkEdit: "Edi\xE7\xE3o em Massa",
107626
107739
  cancel: "Cancelar",
107627
107740
  editValues: "Editar Valores",
107628
- error: "Sentimos muito, mas n\xE3o foi poss\xEDvel atualizar os itens. Tente novamente.",
107741
+ error: "Lamentamos, mas n\xE3o foi poss\xEDvel atualizar os itens. Tente novamente.",
107629
107742
  placeholderForField: "Digite %{fieldName}",
107630
107743
  selection: "%{count} %{number} selecionado",
107744
+ selection_count: {
107745
+ zero: "%{count} itens selecionados",
107746
+ one: "%{count} item selecionado",
107747
+ other: "%{count} itens selecionados"
107748
+ },
107631
107749
  success: "Os itens foram atualizados com sucesso.",
107632
107750
  one: "item",
107633
107751
  many: "itens"
@@ -107738,6 +107856,9 @@ var pt_BR_default = {
107738
107856
  selectCell: {
107739
107857
  placeholder: "Selecionar {{label}}"
107740
107858
  },
107859
+ multiSelectCell: {
107860
+ placeholder: "Selecionar Valores"
107861
+ },
107741
107862
  booleanCell: {
107742
107863
  options: {
107743
107864
  yes: "Sim",
@@ -107788,9 +107909,14 @@ var th_TH_default = {
107788
107909
  bulkEdit: "\u0E01\u0E32\u0E23\u0E41\u0E01\u0E49\u0E44\u0E02\u0E41\u0E1A\u0E1A\u0E01\u0E25\u0E38\u0E48\u0E21",
107789
107910
  cancel: "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01",
107790
107911
  editValues: "\u0E41\u0E01\u0E49\u0E44\u0E02\u0E04\u0E48\u0E32",
107791
- 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.",
107912
+ 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",
107792
107913
  placeholderForField: "\u0E1B\u0E49\u0E2D\u0E19 %{fieldName}",
107793
107914
  selection: "%{count} %{number} \u0E17\u0E35\u0E48\u0E40\u0E25\u0E37\u0E2D\u0E01",
107915
+ selection_count: {
107916
+ zero: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27 %{count} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",
107917
+ one: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27 %{count} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",
107918
+ other: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27 %{count} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"
107919
+ },
107794
107920
  success: "\u0E2D\u0E31\u0E1B\u0E40\u0E14\u0E15\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08\u0E41\u0E25\u0E49\u0E27",
107795
107921
  one: "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",
107796
107922
  many: "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"
@@ -107901,6 +108027,9 @@ var th_TH_default = {
107901
108027
  selectCell: {
107902
108028
  placeholder: "\u0E40\u0E25\u0E37\u0E2D\u0E01 {{label}}"
107903
108029
  },
108030
+ multiSelectCell: {
108031
+ placeholder: "\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E04\u0E48\u0E32"
108032
+ },
107904
108033
  booleanCell: {
107905
108034
  options: {
107906
108035
  yes: "\u0E43\u0E0A\u0E48",
@@ -107954,6 +108083,11 @@ var zh_SG_default = {
107954
108083
  error: "\u62B1\u6B49\uFF0C\u65E0\u6CD5\u66F4\u65B0\u6B64\u9879\u3002\u8BF7\u91CD\u8BD5\u3002",
107955
108084
  placeholderForField: "\u8F93\u5165 %{fieldName}",
107956
108085
  selection: "\u5DF2\u9009\u62E9 %{count} %{number}",
108086
+ selection_count: {
108087
+ zero: "\u5DF2\u9009\u62E9 %{count} \u9879",
108088
+ one: "\u5DF2\u9009\u62E9 %{count} \u9879",
108089
+ other: "\u5DF2\u9009\u62E9 %{count} \u9879"
108090
+ },
107957
108091
  success: "\u5DF2\u6210\u529F\u66F4\u65B0\u8FD9\u4E9B\u9879\u3002",
107958
108092
  one: "\u9879",
107959
108093
  many: "\u9879"
@@ -108064,6 +108198,9 @@ var zh_SG_default = {
108064
108198
  selectCell: {
108065
108199
  placeholder: "\u9009\u62E9{{label}}"
108066
108200
  },
108201
+ multiSelectCell: {
108202
+ placeholder: "\u9009\u62E9\u503C"
108203
+ },
108067
108204
  booleanCell: {
108068
108205
  options: {
108069
108206
  yes: "\u662F",
@@ -109390,7 +109527,7 @@ var Table = (props) => {
109390
109527
  const internalTableContext = useInternalTableContext();
109391
109528
  const clientSideRowData = props.rows ? { rowData: props.rows } : {};
109392
109529
  const serverSideInfiniteScroll = internalTableContext.onServerSideDataRequest ? { serverSideInfiniteScroll: true } : {};
109393
- const { columnApi, getRowHeight, gridApi } = internalTableContext;
109530
+ const { columnApi, getRowHeight, gridApi, filterState } = internalTableContext;
109394
109531
  const [viewportWidth, setViewportWidth] = React80__default.default.useState(0);
109395
109532
  const rowActionsWidth = React80__default.default.useRef(0);
109396
109533
  const [tableHeight, setTableHeight] = React80__default.default.useState(0);
@@ -109619,6 +109756,13 @@ var Table = (props) => {
109619
109756
  setSiblingGroupsRowSelection(selectedGroupIndex, gridApi);
109620
109757
  }
109621
109758
  }, [internalTableContext.selectedGroupIndex]);
109759
+ React80__default.default.useEffect(() => {
109760
+ filterState.allAvailableFilters.forEach((filter) => {
109761
+ if (Array.isArray(filter.filterValues) && filter.filterValues.length === 0) {
109762
+ tableApi.removeFilter(filter.field);
109763
+ }
109764
+ });
109765
+ }, [filterState.allAvailableFilters]);
109622
109766
  function footerValueGetter(params) {
109623
109767
  if (props.getSubtotalLabel) {
109624
109768
  return props.getSubtotalLabel(
@@ -110320,7 +110464,7 @@ var ContextPanel = ({
110320
110464
  "data-qa": "data-table-context-panel",
110321
110465
  ...props
110322
110466
  },
110323
- /* @__PURE__ */ React80__default.default.createElement(coreReact.Box, { className: cx19("contextPanelWrapper"), display: "flex-column" }, contextPanel.content === "configuration" && /* @__PURE__ */ React80__default.default.createElement(ConfigurationPanel, null), contextPanel.content === "bulkEdit" && /* @__PURE__ */ React80__default.default.createElement(BulkEditPanel, null), contextPanel.content === "custom" && children)
110467
+ /* @__PURE__ */ React80__default.default.createElement(coreReact.Box, { className: cx19("contextPanelWrapper"), display: "flex-column" }, contextPanel.content === "configuration" && /* @__PURE__ */ React80__default.default.createElement(ConfigurationPanel, null, children), contextPanel.content === "bulkEdit" && /* @__PURE__ */ React80__default.default.createElement(BulkEditPanel, null), contextPanel.content === "custom" && children)
110324
110468
  );
110325
110469
  };
110326
110470
  function isLastColumnInGroup(params) {
@@ -1435,6 +1435,7 @@ interface BulkActionProps {
1435
1435
  showAlways?: boolean;
1436
1436
  showEditButtonLabel?: boolean;
1437
1437
  editButtonText?: string;
1438
+ excludeGroupRowCount?: boolean;
1438
1439
  style?: React__default.CSSProperties;
1439
1440
  }
1440
1441
 
@@ -1435,6 +1435,7 @@ interface BulkActionProps {
1435
1435
  showAlways?: boolean;
1436
1436
  showEditButtonLabel?: boolean;
1437
1437
  editButtonText?: string;
1438
+ excludeGroupRowCount?: boolean;
1438
1439
  style?: React__default.CSSProperties;
1439
1440
  }
1440
1441