@procore/data-table 14.19.0 → 14.21.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.
@@ -1,4 +1,4 @@
1
- import React77, { useState, forwardRef, useContext, useRef, useImperativeHandle, useLayoutEffect, useCallback, useMemo, memo, useEffect, Component as Component$1, createElement } from 'react';
1
+ import React77, { useEffect, useState, forwardRef, useContext, useRef, useImperativeHandle, useLayoutEffect, useCallback, useMemo, memo, Component as Component$1, createElement } from 'react';
2
2
  import { uniqBy, prop, startsWith, mergeDeepRight, equals, omit, intersection, isNil, mergeDeepLeft, isEmpty, groupBy } from 'ramda';
3
3
  import { useI18nContext, Select, Input, UNSAFE_useOverlayTriggerContext, Card, Flex, Box, SegmentedController, Calendar, useDateTime, OverlayTrigger, isEventSource, DateInput, UNSAFE_isValidYearRange, DateSelect, PillSelect, TextArea, UNSAFE_useMenuImperativeControlNavigation, UNSAFE_Menu, UNSAFE_menuItemsWrapperAttribute, Spinner as Spinner$1, FlexList, Typography, Tooltip, Button, Required, MultiSelect, colors, Form, spacing, Switch, Panel, SelectButton, StyledSelectButton, typographyWeights, StyledSelectButtonLabel, StyledButton, StyledSelectArrow, Popover, UNSAFE_StyledSuperSelectTrigger, UNSAFE_StyledSuperSelectLabel, UNSAFE_StyledSuperSelectArrow, UNSAFE_StyledFilterTokenLabel, DateTimeProvider, useField, Label, UNSAFE_mergeRefs, ContactItem as ContactItem$1, ToggleButton, Link, AvatarStack, Pill, Typeahead, Pagination, UNSAFE_SuperSelect, UNSAFE_FilterToken, Avatar, H3, useI18n, I18nContext, UNSAFE_useSuperSelectContext, Checkbox, DropdownFlyout, useVisibility, StyledDropdownFlyoutLabel, StyledDropdownFlyoutExpandIcon, EmptyState as EmptyState$1 } from '@procore/core-react';
4
4
  import classnames from 'classnames/bind';
@@ -54082,19 +54082,34 @@ var ServerSideLocationFilterRenderer = React77.forwardRef(
54082
54082
  determineSelectedState(value)
54083
54083
  );
54084
54084
  const [disabledValues, setDisabledValues] = React77.useState([]);
54085
+ const enableSublocationsInitialValue = value.some(
54086
+ (selected) => {
54087
+ var _a2;
54088
+ return (_a2 = selected.sublocations) == null ? void 0 : _a2.length;
54089
+ }
54090
+ );
54091
+ const getUniqDisabledValues = () => {
54092
+ const newDisabledValues = [];
54093
+ value.forEach((location) => {
54094
+ newDisabledValues.push(...findSublocations(location));
54095
+ });
54096
+ const uniqDisabledValues = uniqBy(prop("id"), newDisabledValues).filter(
54097
+ ({ id }) => !selectedValueIds.includes(id)
54098
+ );
54099
+ return uniqDisabledValues;
54100
+ };
54101
+ useEffect(() => {
54102
+ if (enableSublocationsInitialValue && options.length) {
54103
+ setDisabledValues(getUniqDisabledValues());
54104
+ setEnableSublocations(true);
54105
+ }
54106
+ }, [options]);
54085
54107
  const [enableSublocations, setEnableSublocations] = React77.useState(false);
54086
54108
  const onSelectSublocations = React77.useCallback(() => {
54087
54109
  if (enableSublocations) {
54088
54110
  setDisabledValues([]);
54089
54111
  } else {
54090
- const newDisabledValues = [];
54091
- value.forEach((location) => {
54092
- newDisabledValues.push(...findSublocations(location));
54093
- });
54094
- const uniqDisabledValues = uniqBy(prop("id"), newDisabledValues).filter(
54095
- ({ id }) => !selectedValueIds.includes(id)
54096
- );
54097
- setDisabledValues(uniqDisabledValues);
54112
+ setDisabledValues(getUniqDisabledValues());
54098
54113
  }
54099
54114
  setEnableSublocations(!enableSublocations);
54100
54115
  }, [enableSublocations, value, selectedValueIds, options]);
@@ -54150,18 +54165,18 @@ var ServerSideLocationFilterRenderer = React77.forwardRef(
54150
54165
  const findSublocations = (selected) => {
54151
54166
  return options.filter((option) => {
54152
54167
  return startsWith(
54153
- `${getLabel3(selected).toLowerCase()} > `,
54154
- getLabel3(option).toLowerCase()
54155
- );
54168
+ getLabel3(selected).toLowerCase().replace(/\s+>\s+/g, " > "),
54169
+ getLabel3(option).toLowerCase().replace(/\s+>\s+/g, " > ")
54170
+ ) && option.id !== selected.id;
54156
54171
  });
54157
54172
  };
54158
54173
  const handleSelectSublocations = (selected) => {
54159
54174
  if (enableSublocations) {
54160
54175
  const filteredOptions = options.filter((option) => {
54161
54176
  return startsWith(
54162
- `${getLabel3(selected).toLowerCase()} > `,
54163
- getLabel3(option).toLowerCase()
54164
- );
54177
+ getLabel3(selected).toLowerCase().replace(/ /g, ""),
54178
+ getLabel3(option).toLowerCase().replace(/ /g, "")
54179
+ ) && option.id !== selected.id;
54165
54180
  });
54166
54181
  return filteredOptions;
54167
54182
  } else {
@@ -54217,6 +54232,8 @@ var ServerSideLocationFilterRenderer = React77.forwardRef(
54217
54232
  {
54218
54233
  block: true,
54219
54234
  onClear: () => {
54235
+ setEnableSublocations(false);
54236
+ setDisabledValues([]);
54220
54237
  onChange([]);
54221
54238
  },
54222
54239
  label: `${I18n.t("dataTable.filters.locationFilter.locations")} ${value.length ? `(${value.length})` : ""}`
@@ -56464,6 +56481,15 @@ var getMainMenuItems = (props, I18n) => {
56464
56481
  }
56465
56482
  }
56466
56483
  ];
56484
+ if (!props.column.getColDef().lockVisible) {
56485
+ defaultItems.push({
56486
+ label: I18n.t("dataTable.menuOptions.hideColumn"),
56487
+ value: "hideColumn",
56488
+ action() {
56489
+ props.columnApi.setColumnVisible(props.column, false);
56490
+ }
56491
+ });
56492
+ }
56467
56493
  const resetColumns = {
56468
56494
  label: I18n.t("dataTable.menuOptions.resetColumns"),
56469
56495
  value: "resetColumns",
@@ -78569,6 +78595,7 @@ var de_DE_default = {
78569
78595
  noPin: "Nicht anheften",
78570
78596
  autoSizeThisColumn: "Gr\xF6\xDFe dieser Spalte automatisch anpassen",
78571
78597
  autoSizeAllColumns: "Alle Spalten automatisch anpassen",
78598
+ hideColumn: "Spalte ausblenden",
78572
78599
  resetColumns: "Spalten zur\xFCcksetzen",
78573
78600
  unGroupBy: "Gruppierung aufheben nach {{label}}",
78574
78601
  groupBy: "Gruppieren nach {{label}}"
@@ -78643,27 +78670,27 @@ var en_AU_default = {
78643
78670
  emptyState: {
78644
78671
  noFilteredResults: {
78645
78672
  description: "Check your spelling and filter options, or search for a different keyword.",
78646
- title: "No Items Match Your Search",
78647
- itemsTitle: "No %{itemsLabel} Match Your Search"
78673
+ title: "No items match your search",
78674
+ itemsTitle: "No %{itemsLabel} match your search"
78648
78675
  },
78649
78676
  noResults: {
78650
78677
  description: "Once your team creates these items, you can access them here. ",
78651
- title: "There Are No Items to Display Right Now",
78652
- itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
78678
+ title: "There are no items to display right now",
78679
+ itemsTitle: "There are no %{itemsLabel} to display right now",
78653
78680
  tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
78654
78681
  searchTooltip: "Search will be enabled once you add information to the %{tableName}",
78655
78682
  featureFilter: "Filter",
78656
- featureQuickFilter: "Quick Filter",
78657
- featureGroupBy: "Group By",
78683
+ featureQuickFilter: "Quick filter",
78684
+ featureGroupBy: "Group by",
78658
78685
  featureConfigure: "Configure",
78659
78686
  tableNameFallback: "Table"
78660
78687
  }
78661
78688
  },
78662
78689
  bulkActions: {
78663
78690
  apply: "Apply",
78664
- bulkEdit: "Bulk Edit",
78691
+ bulkEdit: "Bulk edit",
78665
78692
  cancel: "Cancel",
78666
- editValues: "Edit Values",
78693
+ editValues: "Edit values",
78667
78694
  error: "Sorry, the items couldn't be updated. Try again.",
78668
78695
  placeholderForField: "Enter %{fieldName}",
78669
78696
  selection: "%{count} %{number} selected",
@@ -78674,11 +78701,11 @@ var en_AU_default = {
78674
78701
  exporting: "Exporting...",
78675
78702
  filters: {
78676
78703
  filters: "Filters",
78677
- moreFilters: "More Filters",
78678
- clearAllFilters: "Clear All Filters",
78704
+ moreFilters: "More filters",
78705
+ clearAllFilters: "Clear all filters",
78679
78706
  close: "Close",
78680
78707
  locationFilter: {
78681
- selectAll: "Select All",
78708
+ selectAll: "Select all",
78682
78709
  includeSublocations: "Include sublocations",
78683
78710
  searchLocations: "Search locations",
78684
78711
  locations: "Locations"
@@ -78686,17 +78713,17 @@ var en_AU_default = {
78686
78713
  numberFilter: {
78687
78714
  labels: {
78688
78715
  and: "and",
78689
- input_placeholder: "Enter Value",
78716
+ input_placeholder: "Enter value",
78690
78717
  placeholder: "Select an item"
78691
78718
  },
78692
78719
  options: {
78693
- any_value: "Any Value",
78694
- is_between: "Is Between",
78695
- greater_than: "Is Greater Than",
78696
- greater_than_equal_to: "Is Greater Than or Equal To",
78697
- less_than: "Is Less Than",
78698
- less_than_equal_to: "Is Less Than or Equal To",
78699
- no_value: "No Value"
78720
+ any_value: "Any value",
78721
+ is_between: "Is between",
78722
+ greater_than: "Is greater than",
78723
+ greater_than_equal_to: "Is greater than or equal to",
78724
+ less_than: "Is less than",
78725
+ less_than_equal_to: "Is less than or equal to",
78726
+ no_value: "No value"
78700
78727
  }
78701
78728
  }
78702
78729
  },
@@ -78706,34 +78733,35 @@ var en_AU_default = {
78706
78733
  },
78707
78734
  menuOptions: {
78708
78735
  sortMenuItem: {
78709
- label: "Sort By This Column",
78710
- sortAscItem: "Sort Column Ascending",
78711
- sortDescItem: "Sort Column Descending",
78712
- sortResetItem: "Column Not Sorted"
78736
+ label: "Sort by this column",
78737
+ sortAscItem: "Sort column ascending",
78738
+ sortDescItem: "Sort column descending",
78739
+ sortResetItem: "Column not sorted"
78713
78740
  },
78714
- expandAllGroups: "Expand All Groups",
78715
- collapseAllGroups: "Collapse All Groups",
78716
- pinColumn: "Pin Column",
78717
- pinLeft: "Pin Left",
78718
- pinRight: "Pin Right",
78719
- noPin: "No Pin",
78720
- autoSizeThisColumn: "Autosize This Column",
78721
- autoSizeAllColumns: "Autosize All Columns",
78722
- resetColumns: "Reset Columns",
78741
+ expandAllGroups: "Expand all groups",
78742
+ collapseAllGroups: "Collapse all groups",
78743
+ pinColumn: "Pin column",
78744
+ pinLeft: "Pin left",
78745
+ pinRight: "Pin right",
78746
+ noPin: "No pin",
78747
+ autoSizeThisColumn: "Autosize this column",
78748
+ autoSizeAllColumns: "Autosize all columns",
78749
+ hideColumn: "Hide column",
78750
+ resetColumns: "Reset columns",
78723
78751
  unGroupBy: "Un-Group by {{label}}",
78724
- groupBy: "Group By {{label}}"
78752
+ groupBy: "Group by {{label}}"
78725
78753
  },
78726
- grandTotals: "Grand Totals",
78754
+ grandTotals: "Grand totals",
78727
78755
  search: "Search",
78728
78756
  subtotals: "Subtotals",
78729
78757
  tableSettings: {
78730
- configureColumns: "Configure Columns",
78731
- resetToDefault: "Show All",
78732
- rowHeight: "Row Height",
78758
+ configureColumns: "Configure columns",
78759
+ resetToDefault: "Show all",
78760
+ rowHeight: "Row height",
78733
78761
  small: "Small",
78734
78762
  medium: "Medium",
78735
78763
  large: "Large",
78736
- tableSettings: "Table Settings",
78764
+ tableSettings: "Table settings",
78737
78765
  groupBy: "Group by:",
78738
78766
  reset: "Reset",
78739
78767
  selectColumnGroup: "Select a column to group",
@@ -78793,27 +78821,27 @@ var en_CA_default = {
78793
78821
  emptyState: {
78794
78822
  noFilteredResults: {
78795
78823
  description: "Check your spelling and filter options, or search for a different keyword.",
78796
- title: "No Items Match Your Search",
78797
- itemsTitle: "No %{itemsLabel} Match Your Search"
78824
+ title: "No items match your search",
78825
+ itemsTitle: "No %{itemsLabel} match your search"
78798
78826
  },
78799
78827
  noResults: {
78800
78828
  description: "Once your team creates these items, you can access them here. ",
78801
- title: "There Are No Items to Display Right Now",
78802
- itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
78829
+ title: "There are no items to display right now",
78830
+ itemsTitle: "There are no %{itemsLabel} to display right now",
78803
78831
  tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
78804
78832
  searchTooltip: "Search will be enabled once you add information to the %{tableName}",
78805
78833
  featureFilter: "Filter",
78806
- featureQuickFilter: "Quick Filter",
78807
- featureGroupBy: "Group By",
78834
+ featureQuickFilter: "Quick filter",
78835
+ featureGroupBy: "Group by",
78808
78836
  featureConfigure: "Configure",
78809
78837
  tableNameFallback: "Table"
78810
78838
  }
78811
78839
  },
78812
78840
  bulkActions: {
78813
78841
  apply: "Apply",
78814
- bulkEdit: "Bulk Edit",
78842
+ bulkEdit: "Bulk edit",
78815
78843
  cancel: "Cancel",
78816
- editValues: "Edit Values",
78844
+ editValues: "Edit values",
78817
78845
  error: "Sorry, the items couldn't be updated. Try again.",
78818
78846
  placeholderForField: "Enter %{fieldName}",
78819
78847
  selection: "%{count} %{number} selected",
@@ -78824,8 +78852,8 @@ var en_CA_default = {
78824
78852
  exporting: "Exporting...",
78825
78853
  filters: {
78826
78854
  filters: "Filters",
78827
- moreFilters: "More Filters",
78828
- clearAllFilters: "Clear All Filters",
78855
+ moreFilters: "More filters",
78856
+ clearAllFilters: "Clear all filters",
78829
78857
  close: "Close",
78830
78858
  locationFilter: {
78831
78859
  selectAll: "Select all",
@@ -78836,17 +78864,17 @@ var en_CA_default = {
78836
78864
  numberFilter: {
78837
78865
  labels: {
78838
78866
  and: "and",
78839
- input_placeholder: "Enter Value",
78867
+ input_placeholder: "Enter value",
78840
78868
  placeholder: "Select an item"
78841
78869
  },
78842
78870
  options: {
78843
- any_value: "Any Value",
78844
- is_between: "Is Between",
78845
- greater_than: "Is Greater Than",
78846
- greater_than_equal_to: "Is Greater Than or Equal To",
78847
- less_than: "Is Less Than",
78848
- less_than_equal_to: "Is Less Than or Equal To",
78849
- no_value: "No Value"
78871
+ any_value: "Any value",
78872
+ is_between: "Is between",
78873
+ greater_than: "Is greater than",
78874
+ greater_than_equal_to: "Is greater than or equal to",
78875
+ less_than: "Is less than",
78876
+ less_than_equal_to: "Is less than or equal to",
78877
+ no_value: "No value"
78850
78878
  }
78851
78879
  }
78852
78880
  },
@@ -78856,34 +78884,35 @@ var en_CA_default = {
78856
78884
  },
78857
78885
  menuOptions: {
78858
78886
  sortMenuItem: {
78859
- label: "Sort By This Column",
78860
- sortAscItem: "Sort Column Ascending",
78861
- sortDescItem: "Sort Column Descending",
78862
- sortResetItem: "Column Not Sorted"
78887
+ label: "Sort by this column",
78888
+ sortAscItem: "Sort column ascending",
78889
+ sortDescItem: "Sort column descending",
78890
+ sortResetItem: "Column not sorted"
78863
78891
  },
78864
- expandAllGroups: "Expand All Groups",
78865
- collapseAllGroups: "Collapse All Groups",
78866
- pinColumn: "Pin Column",
78867
- pinLeft: "Pin Left",
78868
- pinRight: "Pin Right",
78869
- noPin: "No Pin",
78870
- autoSizeThisColumn: "Autosize This Column",
78871
- autoSizeAllColumns: "Autosize All Columns",
78872
- resetColumns: "Reset Columns",
78892
+ expandAllGroups: "Expand all groups",
78893
+ collapseAllGroups: "Collapse all groups",
78894
+ pinColumn: "Pin column",
78895
+ pinLeft: "Pin left",
78896
+ pinRight: "Pin right",
78897
+ noPin: "No pin",
78898
+ autoSizeThisColumn: "Autosize this column",
78899
+ autoSizeAllColumns: "Autosize all columns",
78900
+ hideColumn: "Hide column",
78901
+ resetColumns: "Reset columns",
78873
78902
  unGroupBy: "Un-Group by {{label}}",
78874
- groupBy: "Group By {{label}}"
78903
+ groupBy: "Group by {{label}}"
78875
78904
  },
78876
- grandTotals: "Grand Totals",
78905
+ grandTotals: "Grand totals",
78877
78906
  search: "Search",
78878
78907
  subtotals: "Subtotals",
78879
78908
  tableSettings: {
78880
- configureColumns: "Configure Columns",
78881
- resetToDefault: "Show All",
78882
- rowHeight: "Row Height",
78909
+ configureColumns: "Configure columns",
78910
+ resetToDefault: "Show all",
78911
+ rowHeight: "Row height",
78883
78912
  small: "Small",
78884
78913
  medium: "Medium",
78885
78914
  large: "Large",
78886
- tableSettings: "Table Settings",
78915
+ tableSettings: "Table settings",
78887
78916
  groupBy: "Group by:",
78888
78917
  reset: "Reset",
78889
78918
  selectColumnGroup: "Select a column to group",
@@ -78943,27 +78972,27 @@ var en_GB_default = {
78943
78972
  emptyState: {
78944
78973
  noFilteredResults: {
78945
78974
  description: "Check your spelling and filter options, or search for a different keyword.",
78946
- title: "No Items Match Your Search",
78947
- itemsTitle: "No %{itemsLabel} Match Your Search"
78975
+ title: "No items match your search",
78976
+ itemsTitle: "No %{itemsLabel} match your search"
78948
78977
  },
78949
78978
  noResults: {
78950
78979
  description: "Once your team creates these items, you can access them here. ",
78951
- title: "There Are No Items to Display Right Now",
78952
- itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
78980
+ title: "There are no items to display right now",
78981
+ itemsTitle: "There are no %{itemsLabel} to display right now",
78953
78982
  tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
78954
78983
  searchTooltip: "Search will be enabled once you add information to the %{tableName}",
78955
78984
  featureFilter: "Filter",
78956
- featureQuickFilter: "Quick Filter",
78957
- featureGroupBy: "Group By",
78985
+ featureQuickFilter: "Quick filter",
78986
+ featureGroupBy: "Group by",
78958
78987
  featureConfigure: "Configure",
78959
78988
  tableNameFallback: "Table"
78960
78989
  }
78961
78990
  },
78962
78991
  bulkActions: {
78963
78992
  apply: "Apply",
78964
- bulkEdit: "Bulk Edit",
78993
+ bulkEdit: "Bulk edit",
78965
78994
  cancel: "Cancel",
78966
- editValues: "Edit Values",
78995
+ editValues: "Edit values",
78967
78996
  error: "Sorry, the items couldn't be updated. Try again.",
78968
78997
  placeholderForField: "Enter %{fieldName}",
78969
78998
  selection: "%{count} %{number} selected",
@@ -78974,8 +79003,8 @@ var en_GB_default = {
78974
79003
  exporting: "Exporting...",
78975
79004
  filters: {
78976
79005
  filters: "Filters",
78977
- moreFilters: "More Filters",
78978
- clearAllFilters: "Clear All Filters",
79006
+ moreFilters: "More filters",
79007
+ clearAllFilters: "Clear all filters",
78979
79008
  close: "Close",
78980
79009
  locationFilter: {
78981
79010
  selectAll: "Select all",
@@ -78986,17 +79015,17 @@ var en_GB_default = {
78986
79015
  numberFilter: {
78987
79016
  labels: {
78988
79017
  and: "and",
78989
- input_placeholder: "Enter Value",
79018
+ input_placeholder: "Enter value",
78990
79019
  placeholder: "Select an item"
78991
79020
  },
78992
79021
  options: {
78993
- any_value: "Any Value",
78994
- is_between: "Is Between",
78995
- greater_than: "Is Greater Than",
78996
- greater_than_equal_to: "Is Greater Than or Equal To",
78997
- less_than: "Is Less Than",
78998
- less_than_equal_to: "Is Less Than or Equal To",
78999
- no_value: "No Value"
79022
+ any_value: "Any value",
79023
+ is_between: "Is between",
79024
+ greater_than: "Is greater than",
79025
+ greater_than_equal_to: "Is greater than or equal to",
79026
+ less_than: "Is less than",
79027
+ less_than_equal_to: "Is less than or equal to",
79028
+ no_value: "No value"
79000
79029
  }
79001
79030
  }
79002
79031
  },
@@ -79006,34 +79035,35 @@ var en_GB_default = {
79006
79035
  },
79007
79036
  menuOptions: {
79008
79037
  sortMenuItem: {
79009
- label: "Sort By This Column",
79010
- sortAscItem: "Sort Column Ascending",
79011
- sortDescItem: "Sort Column Descending",
79012
- sortResetItem: "Column Not Sorted"
79038
+ label: "Sort by this column",
79039
+ sortAscItem: "Sort column ascending",
79040
+ sortDescItem: "Sort column descending",
79041
+ sortResetItem: "Column not sorted"
79013
79042
  },
79014
- expandAllGroups: "Expand All Groups",
79015
- collapseAllGroups: "Collapse All Groups",
79016
- pinColumn: "Pin Column",
79017
- pinLeft: "Pin Left",
79018
- pinRight: "Pin Right",
79019
- noPin: "No Pin",
79020
- autoSizeThisColumn: "Autosize This Column",
79021
- autoSizeAllColumns: "Autosize All Columns",
79022
- resetColumns: "Reset Columns",
79023
- unGroupBy: "Un-Group by {{label}}",
79024
- groupBy: "Group By {{label}}"
79043
+ expandAllGroups: "Expand all groups",
79044
+ collapseAllGroups: "Collapse all groups",
79045
+ pinColumn: "Pin column",
79046
+ pinLeft: "Pin left",
79047
+ pinRight: "Pin right",
79048
+ noPin: "No pin",
79049
+ autoSizeThisColumn: "Autosize this column",
79050
+ autoSizeAllColumns: "Autosize all columns",
79051
+ hideColumn: "Hide column",
79052
+ resetColumns: "Reset columns",
79053
+ unGroupBy: "Un-group by {{label}}",
79054
+ groupBy: "Group by {{label}}"
79025
79055
  },
79026
- grandTotals: "Grand Totals",
79056
+ grandTotals: "Grand totals",
79027
79057
  search: "Search",
79028
79058
  subtotals: "Subtotals",
79029
79059
  tableSettings: {
79030
- configureColumns: "Configure Columns",
79031
- resetToDefault: "Show All",
79032
- rowHeight: "Row Height",
79060
+ configureColumns: "Configure columns",
79061
+ resetToDefault: "Show all",
79062
+ rowHeight: "Row height",
79033
79063
  small: "Small",
79034
79064
  medium: "Medium",
79035
79065
  large: "Large",
79036
- tableSettings: "Table Settings",
79066
+ tableSettings: "Table settings",
79037
79067
  groupBy: "Group by:",
79038
79068
  reset: "Reset",
79039
79069
  selectColumnGroup: "Select a column to group",
@@ -79169,6 +79199,7 @@ var en_default = {
79169
79199
  noPin: "No Pin",
79170
79200
  autoSizeThisColumn: "Autosize This Column",
79171
79201
  autoSizeAllColumns: "Autosize All Columns",
79202
+ hideColumn: "Hide Column",
79172
79203
  resetColumns: "Reset Columns",
79173
79204
  unGroupBy: "Un-Group by {{label}}",
79174
79205
  groupBy: "Group by {{label}}"
@@ -79251,7 +79282,7 @@ var es_ES_default = {
79251
79282
  title: "No hay elementos para mostrar en este momento",
79252
79283
  itemsTitle: "No hay %{itemsLabel} para mostrar en este momento",
79253
79284
  tooltip: "El bot\xF3n %{featureName} se habilitar\xE1 una vez que a\xF1ada informaci\xF3n a la %{tableName}",
79254
- searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a %{tableName}",
79285
+ searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que a\xF1ada informaci\xF3n a %{tableName}",
79255
79286
  featureFilter: "Filtro",
79256
79287
  featureQuickFilter: "Filtro r\xE1pido",
79257
79288
  featureGroupBy: "Agrupar por",
@@ -79319,6 +79350,7 @@ var es_ES_default = {
79319
79350
  noPin: "No fijar",
79320
79351
  autoSizeThisColumn: "Ajustar el tama\xF1o de esta columna autom\xE1ticamente",
79321
79352
  autoSizeAllColumns: "Ajustar el tama\xF1o de todas las columnas autom\xE1ticamente",
79353
+ hideColumn: "Ocultar columna",
79322
79354
  resetColumns: "Restablecer columnas",
79323
79355
  unGroupBy: "Desagrupar por {{label}}",
79324
79356
  groupBy: "Agrupar por {{label}}"
@@ -79469,6 +79501,7 @@ var es_default = {
79469
79501
  noPin: "Sin anclaje",
79470
79502
  autoSizeThisColumn: "Ajustar tama\xF1o de esta columna autom\xE1ticamente",
79471
79503
  autoSizeAllColumns: "Ajustar tama\xF1o de todas las columnas autom\xE1ticamente",
79504
+ hideColumn: "Ocultar columna",
79472
79505
  resetColumns: "Restablecer columnas",
79473
79506
  unGroupBy: "Desagrupar por {{label}}",
79474
79507
  groupBy: "Agrupar por {{label}}"
@@ -79619,6 +79652,7 @@ var fr_CA_default = {
79619
79652
  noPin: "Ne pas \xE9pingler",
79620
79653
  autoSizeThisColumn: "Dimensionner automatiquement cette colonne",
79621
79654
  autoSizeAllColumns: "Dimensionner automatiquement toutes les colonnes",
79655
+ hideColumn: "Masquer la colonne",
79622
79656
  resetColumns: "R\xE9initialiser les colonnes",
79623
79657
  unGroupBy: "D\xE9grouper par {{label}}",
79624
79658
  groupBy: "Grouper par {{label}}"
@@ -79631,7 +79665,7 @@ var fr_CA_default = {
79631
79665
  resetToDefault: "Afficher tout",
79632
79666
  rowHeight: "Hauteur de la rang\xE9e",
79633
79667
  small: "Petit",
79634
- medium: "Moyen",
79668
+ medium: "Moyenne",
79635
79669
  large: "Grand",
79636
79670
  tableSettings: "Param\xE8tres du tableau",
79637
79671
  groupBy: "Regrouper par :",
@@ -79769,6 +79803,7 @@ var fr_FR_default = {
79769
79803
  noPin: "Ne pas \xE9pingler",
79770
79804
  autoSizeThisColumn: "Dimensionner automatiquement cette colonne",
79771
79805
  autoSizeAllColumns: "Dimensionner automatiquement toutes les colonnes",
79806
+ hideColumn: "Masquer la colonne",
79772
79807
  resetColumns: "R\xE9initialiser les colonnes",
79773
79808
  unGroupBy: "D\xE9grouper par {{label}}",
79774
79809
  groupBy: "Regrouper par {{label}}"
@@ -79919,6 +79954,7 @@ var is_IS_default = {
79919
79954
  noPin: "Enginn pinna",
79920
79955
  autoSizeThisColumn: "St\xE6r\xF0u \xFEennan d\xE1lk sj\xE1lfkrafa",
79921
79956
  autoSizeAllColumns: "Sj\xE1lfvirk st\xE6r\xF0 allra d\xE1lka",
79957
+ hideColumn: "Fela d\xE1lk",
79922
79958
  resetColumns: "Endurstilla d\xE1lka",
79923
79959
  unGroupBy: "Taka \xFAr h\xF3pi eftir {{label}}",
79924
79960
  groupBy: "Flokka\xF0 eftir {{label}}"
@@ -79992,7 +80028,7 @@ var ja_JP_default = {
79992
80028
  dataTable: {
79993
80029
  emptyState: {
79994
80030
  noFilteredResults: {
79995
- description: "\u30B9\u30DA\u30EB\u3068\u30D5\u30A3\u30EB\u30BF\u30FC\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u78BA\u8A8D\u3059\u308B\u304B\u3001\u5225\u306E\u30AD\u30FC\u30EF\u30FC\u30C9\u3092\u691C\u7D22\u3057\u307E\u3059\u3002",
80031
+ description: "\u30B9\u30DA\u30EB\u3068\u30D5\u30A3\u30EB\u30BF\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u78BA\u8A8D\u3059\u308B\u304B\u3001\u5225\u306E\u30AD\u30FC\u30EF\u30FC\u30C9\u3092\u691C\u7D22\u3057\u307E\u3059\u3002",
79996
80032
  title: "\u691C\u7D22\u306B\u4E00\u81F4\u3059\u308B\u9805\u76EE\u306F\u3042\u308A\u307E\u305B\u3093",
79997
80033
  itemsTitle: "\u691C\u7D22\u306B\u4E00\u81F4\u3059\u308B%{itemsLabel}\u306F\u3042\u308A\u307E\u305B\u3093"
79998
80034
  },
@@ -80002,7 +80038,7 @@ var ja_JP_default = {
80002
80038
  itemsTitle: "\u73FE\u5728\u3001\u8868\u793A\u3059\u308B%{itemsLabel}\u304C\u3042\u308A\u307E\u305B\u3093",
80003
80039
  tooltip: "\u60C5\u5831\u3092%{tableName}\u306B\u8FFD\u52A0\u3059\u308B\u3068\u3001[%{featureName}]\u30DC\u30BF\u30F3\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3059",
80004
80040
  searchTooltip: "%{tableName}\u306B\u60C5\u5831\u3092\u8FFD\u52A0\u3059\u308B\u3068\u691C\u7D22\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3059",
80005
- featureFilter: "\u30D5\u30A3\u30EB\u30BF\u30FC",
80041
+ featureFilter: "\u30D5\u30A3\u30EB\u30BF",
80006
80042
  featureQuickFilter: "\u30AF\u30A4\u30C3\u30AF\u30D5\u30A3\u30EB\u30BF\u30FC",
80007
80043
  featureGroupBy: "\u30B0\u30EB\u30FC\u30D7\u5316",
80008
80044
  featureConfigure: "\u69CB\u6210",
@@ -80023,9 +80059,9 @@ var ja_JP_default = {
80023
80059
  },
80024
80060
  exporting: "\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u4E2D...",
80025
80061
  filters: {
80026
- filters: "\u30D5\u30A3\u30EB\u30BF\u30FC",
80027
- moreFilters: "\u305D\u306E\u4ED6\u306E\u30D5\u30A3\u30EB\u30BF\u30FC",
80028
- clearAllFilters: "\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u6D88\u53BB",
80062
+ filters: "\u30D5\u30A3\u30EB\u30BF",
80063
+ moreFilters: "\u305D\u306E\u4ED6\u306E\u30D5\u30A3\u30EB\u30BF",
80064
+ clearAllFilters: "\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u3092\u6D88\u53BB",
80029
80065
  close: "\u7D42\u4E86",
80030
80066
  locationFilter: {
80031
80067
  selectAll: "\u3059\u3079\u3066\u9078\u629E",
@@ -80069,6 +80105,7 @@ var ja_JP_default = {
80069
80105
  noPin: "\u30D4\u30F3\u7559\u3081\u306F\u3042\u308A\u307E\u305B\u3093",
80070
80106
  autoSizeThisColumn: "\u3053\u306E\u5217\u3092\u81EA\u52D5\u30B5\u30A4\u30BA\u8ABF\u6574\u3059\u308B",
80071
80107
  autoSizeAllColumns: "\u3059\u3079\u3066\u306E\u5217\u3092\u81EA\u52D5\u30B5\u30A4\u30BA\u8ABF\u6574\u3059\u308B",
80108
+ hideColumn: "\u5217\u3092\u975E\u8868\u793A",
80072
80109
  resetColumns: "\u5217\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B",
80073
80110
  unGroupBy: "{{label}}\u3067\u30B0\u30EB\u30FC\u30D7\u5316\u3092\u89E3\u9664\u3059\u308B",
80074
80111
  groupBy: "{{label}}\u3067\u30B0\u30EB\u30FC\u30D7\u5316\u3059\u308B"
@@ -80139,7 +80176,153 @@ var ja_JP_default = {
80139
80176
 
80140
80177
  // src/locales/pl-PL.json
80141
80178
  var pl_PL_default = {
80142
- dataTable: {}
80179
+ dataTable: {
80180
+ emptyState: {
80181
+ noFilteredResults: {
80182
+ description: "Sprawd\u017A pisowni\u0119 i filtry lub wyszukaj inne s\u0142owo kluczowe.",
80183
+ title: "Brak pozycji pasuj\u0105cych do wyszukiwania",
80184
+ itemsTitle: "Brak %{itemsLabel} pasuj\u0105cych do wyszukiwania"
80185
+ },
80186
+ noResults: {
80187
+ description: "Po utworzeniu tych pozycji przez zesp\xF3\u0142 mo\u017Cesz uzyska\u0107 do nich dost\u0119p w tym miejscu. ",
80188
+ title: "Obecnie nie ma pozycji do wy\u015Bwietlenia",
80189
+ itemsTitle: "Obecnie nie ma %{itemsLabel} do wy\u015Bwietlenia",
80190
+ tooltip: "Przycisk %{featureName} zostanie w\u0142\u0105czony, gdy dodasz informacje do %{tableName}",
80191
+ searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do %{tableName}",
80192
+ featureFilter: "Filtruj",
80193
+ featureQuickFilter: "Szybki filtr",
80194
+ featureGroupBy: "Grupuj wed\u0142ug",
80195
+ featureConfigure: "Skonfiguruj",
80196
+ tableNameFallback: "tabela"
80197
+ }
80198
+ },
80199
+ bulkActions: {
80200
+ apply: "Zastosuj",
80201
+ bulkEdit: "Edycja masowa",
80202
+ cancel: "Anuluj",
80203
+ editValues: "Edytuj warto\u015Bci",
80204
+ error: "Przepraszamy, nie mo\u017Cna zaktualizowa\u0107 pozycji.Spr\xF3buj ponownie.",
80205
+ placeholderForField: "Wprowad\u017A %{fieldName}",
80206
+ selection: "Wybrano %{count} %{number}",
80207
+ success: "Pozycje zosta\u0142y pomy\u015Blnie zaktualizowane.",
80208
+ one: "pozycja",
80209
+ many: "pozycje"
80210
+ },
80211
+ exporting: "Eksportowanie...",
80212
+ filters: {
80213
+ filters: "Filtry",
80214
+ moreFilters: "Wi\u0119cej filtr\xF3w",
80215
+ clearAllFilters: "Wyczy\u015B\u0107 wszystkie filtry",
80216
+ close: "Zamknij",
80217
+ locationFilter: {
80218
+ selectAll: "Zaznacz wszystkie",
80219
+ includeSublocations: "Uwzgl\u0119dnij lokalizacje podrz\u0119dne",
80220
+ searchLocations: "Wyszukaj lokalizacje",
80221
+ locations: "Lokalizacje"
80222
+ },
80223
+ numberFilter: {
80224
+ labels: {
80225
+ and: "i",
80226
+ input_placeholder: "Wprowad\u017A warto\u015B\u0107",
80227
+ placeholder: "Wybierz pozycj\u0119"
80228
+ },
80229
+ options: {
80230
+ any_value: "Dowolna warto\u015B\u0107",
80231
+ is_between: "jest pomi\u0119dzy",
80232
+ greater_than: "jest wi\u0119ksze ni\u017C",
80233
+ greater_than_equal_to: "jest wi\u0119ksze ni\u017C lub r\xF3wne",
80234
+ less_than: "mniej ni\u017C",
80235
+ less_than_equal_to: "mniej ni\u017C lub r\xF3wne",
80236
+ no_value: "brak warto\u015Bci"
80237
+ }
80238
+ }
80239
+ },
80240
+ loading: {
80241
+ initial: "\u0141adowanie informacji.",
80242
+ secondary: "Trwa \u0142adowanie informacji. Prosimy o cierpliwo\u015B\u0107."
80243
+ },
80244
+ menuOptions: {
80245
+ sortMenuItem: {
80246
+ label: "Sortuj wed\u0142ug tej kolumny",
80247
+ sortAscItem: "Sortuj kolumny rosn\u0105co",
80248
+ sortDescItem: "Sortuj kolumny malej\u0105co",
80249
+ sortResetItem: "Kolumna nieposortowana"
80250
+ },
80251
+ expandAllGroups: "Rozwi\u0144 wszystkie grupy",
80252
+ collapseAllGroups: "Zwi\u0144 wszystkie grupy",
80253
+ pinColumn: "Przypnij kolumn\u0119",
80254
+ pinLeft: "Przypnij do lewej",
80255
+ pinRight: "Przypnij do prawej",
80256
+ noPin: "Bez przypinania",
80257
+ autoSizeThisColumn: "Automatycznie ustaw rozmiar tej kolumny",
80258
+ autoSizeAllColumns: "Automatycznie ustaw rozmiar wszystkich kolumn",
80259
+ hideColumn: "Ukryj kolumn\u0119",
80260
+ resetColumns: "Resetuj kolumny",
80261
+ unGroupBy: "Rozgrupuj wed\u0142ug {{label}}",
80262
+ groupBy: "Grupuj wed\u0142ug {{label}}"
80263
+ },
80264
+ grandTotals: "Sumy ca\u0142kowite",
80265
+ search: "Szukaj",
80266
+ subtotals: "Sumy cz\u0119\u015Bciowe",
80267
+ tableSettings: {
80268
+ configureColumns: "Skonfiguruj kolumny",
80269
+ resetToDefault: "Poka\u017C wszystkie",
80270
+ rowHeight: "Wysoko\u015B\u0107 wiersza",
80271
+ small: "Ma\u0142y",
80272
+ medium: "\u015Aredni",
80273
+ large: "Du\u017Cy",
80274
+ tableSettings: "Ustawienia tabeli",
80275
+ groupBy: "Grupuj wed\u0142ug:",
80276
+ reset: "Zresetuj",
80277
+ selectColumnGroup: "Wybierz kolumn\u0119 do zgrupowania",
80278
+ configure: "Skonfiguruj"
80279
+ },
80280
+ rowGroupToggle: {
80281
+ expandTierOne: "Otw\xF3rz pierwsze grupy w tabeli.",
80282
+ expandAll: "Otw\xF3rz wszystkie grupy w tabeli.",
80283
+ collapseAll: "Zamknij wszystkie grupy w tabeli."
80284
+ },
80285
+ columnGroupToggle: {
80286
+ collapse: "Zwi\u0144 grup\u0119 kolumn",
80287
+ expand: "Rozwi\u0144 grup\u0119 kolumn"
80288
+ },
80289
+ cells: {
80290
+ textCell: {
80291
+ placeholder: "Wprowad\u017A tekst"
80292
+ },
80293
+ currencyCell: {
80294
+ placeholder: "Wprowad\u017A walut\u0119"
80295
+ },
80296
+ numberCell: {
80297
+ placeholder: "Wprowad\u017A numer"
80298
+ },
80299
+ percentCell: {
80300
+ placeholder: "Wprowad\u017A %"
80301
+ },
80302
+ pillCell: {
80303
+ placeholder: "Wybierz {{label}}"
80304
+ },
80305
+ selectCell: {
80306
+ placeholder: "Wybierz {{label}}"
80307
+ },
80308
+ booleanCell: {
80309
+ options: {
80310
+ yes: "Tak",
80311
+ no: "Nie"
80312
+ }
80313
+ }
80314
+ },
80315
+ filterRenders: {
80316
+ dateFilter: {
80317
+ single: "Pojedyncze",
80318
+ range: "Zakres"
80319
+ }
80320
+ },
80321
+ groupCell: {
80322
+ expand: "Rozwi\u0144 grup\u0119",
80323
+ collapse: "Zwi\u0144 grup\u0119"
80324
+ }
80325
+ }
80143
80326
  };
80144
80327
 
80145
80328
  // src/locales/pseudo.json
@@ -80224,6 +80407,7 @@ var pseudo_default = {
80224
80407
  noPin: "[\u0220\u0220\u01FF \xB7 \u01A4\u012B\u019E\u019E]",
80225
80408
  autoSizeThisColumn: "[\u0226\u0226\u0226\u0226\u016D\u0167\u01FF\u015F\u012B\u1E91\u1E17 \xB7 \u0166\u0127\u012B\u015F \xB7 \u0187\u01FF\u0140\u016D\u1E3F\u019E\u019E\u019E\u019E]",
80226
80409
  autoSizeAllColumns: "[\u0226\u0226\u0226\u0226\u016D\u0167\u01FF\u015F\u012B\u1E91\u1E17 \xB7 \u0226\u0140\u0140 \xB7 \u0187\u01FF\u0140\u016D\u1E3F\u019E\u015F\u015F\u015F\u015F]",
80410
+ hideColumn: "[\u0126\u0126\u0126\u012B\u1E13\u1E17 \xB7 \u0187\u01FF\u0140\u016D\u1E3F\u019E\u019E\u019E]",
80227
80411
  resetColumns: "[\u0158\u0158\u0158\u1E17\u015F\u1E17\u0167 \xB7 \u0187\u01FF\u0140\u016D\u1E3F\u019E\u015F\u015F\u015F]",
80228
80412
  unGroupBy: "[\u016C\u016C\u016C\u016C\u016C\u019E-\u0193\u0159\u01FF\u016D\u01A5 \xB7 \u0180\u1E8F \xB7 {{\u0140\u0227\u0180\u1E17\u0140}}}}}}]",
80229
80413
  groupBy: "[\u0193\u0193\u0193\u0193\u0159\u01FF\u016D\u01A5 \xB7 \u0180\u1E8F \xB7 {{\u0140\u0227\u0180\u1E17\u0140}}}}}]"
@@ -80374,6 +80558,7 @@ var pt_BR_default = {
80374
80558
  noPin: "N\xE3o Fixar",
80375
80559
  autoSizeThisColumn: "Dimensionar Automaticamente Esta Coluna",
80376
80560
  autoSizeAllColumns: "Dimensionar Automaticamente Todas as Colunas",
80561
+ hideColumn: "Ocultar Coluna",
80377
80562
  resetColumns: "Redefinir Colunas",
80378
80563
  unGroupBy: "Desagrupar por {{label}}",
80379
80564
  groupBy: "Agrupar por {{label}}"
@@ -80524,6 +80709,7 @@ var th_TH_default = {
80524
80709
  noPin: "\u0E44\u0E21\u0E48\u0E1B\u0E31\u0E01\u0E2B\u0E21\u0E38\u0E14",
80525
80710
  autoSizeThisColumn: "\u0E1B\u0E23\u0E31\u0E1A\u0E02\u0E19\u0E32\u0E14\u0E04\u0E2D\u0E25\u0E31\u0E21\u0E19\u0E4C\u0E19\u0E35\u0E49\u0E42\u0E14\u0E22\u0E2D\u0E31\u0E15\u0E42\u0E19\u0E21\u0E31\u0E15\u0E34",
80526
80711
  autoSizeAllColumns: "\u0E1B\u0E23\u0E31\u0E1A\u0E02\u0E19\u0E32\u0E14\u0E04\u0E2D\u0E25\u0E31\u0E21\u0E19\u0E4C\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E42\u0E14\u0E22\u0E2D\u0E31\u0E15\u0E42\u0E19\u0E21\u0E31\u0E15\u0E34",
80712
+ hideColumn: "\u0E0B\u0E48\u0E2D\u0E19\u0E04\u0E2D\u0E25\u0E31\u0E21\u0E19\u0E4C",
80527
80713
  resetColumns: "\u0E23\u0E35\u0E40\u0E0B\u0E47\u0E15\u0E04\u0E2D\u0E25\u0E31\u0E21\u0E19\u0E4C",
80528
80714
  unGroupBy: "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01\u0E01\u0E32\u0E23\u0E08\u0E31\u0E14\u0E01\u0E25\u0E38\u0E48\u0E21\u0E15\u0E32\u0E21 {{label}}",
80529
80715
  groupBy: "\u0E08\u0E31\u0E14\u0E01\u0E25\u0E38\u0E48\u0E21\u0E15\u0E32\u0E21 {{label}}"
@@ -80674,6 +80860,7 @@ var zh_SG_default = {
80674
80860
  noPin: "\u4E0D\u56FA\u5B9A",
80675
80861
  autoSizeThisColumn: "\u81EA\u52A8\u8C03\u6574\u6B64\u5217\u7684\u5927\u5C0F",
80676
80862
  autoSizeAllColumns: "\u81EA\u52A8\u8C03\u6574\u6240\u6709\u5217\u7684\u5927\u5C0F",
80863
+ hideColumn: "\u9690\u85CF\u5217",
80677
80864
  resetColumns: "\u91CD\u7F6E\u5217",
80678
80865
  unGroupBy: "\u53D6\u6D88\u6309{{label}}\u5206\u7EC4",
80679
80866
  groupBy: "\u6309{{label}}\u5206\u7EC4"
@@ -82899,6 +83086,7 @@ var Table = (props) => {
82899
83086
  onGridReady,
82900
83087
  onColumnEverythingChanged: props.onColumnEverythingChanged,
82901
83088
  onModelUpdated,
83089
+ onCellFocused: props.onCellFocused,
82902
83090
  onRowDragEnd,
82903
83091
  onRowDragMove,
82904
83092
  onRowGroupOpened: internalRowGroupOpened,
@@ -83914,9 +84102,9 @@ var LocationQuickFilterRenderer = ({
83914
84102
  const findSublocations = (selected) => {
83915
84103
  return options.filter((option) => {
83916
84104
  return startsWith(
83917
- `${getLabel3(selected).toLowerCase()} > `,
83918
- getLabel3(option).toLowerCase()
83919
- );
84105
+ getLabel3(selected).toLowerCase().replace(/\s+>\s+/g, " > "),
84106
+ getLabel3(option).toLowerCase().replace(/\s+>\s+/g, " > ")
84107
+ ) && option.id !== selected.id;
83920
84108
  });
83921
84109
  };
83922
84110
  const handleSelectSublocations = (selected) => {
@@ -83979,6 +84167,8 @@ var LocationQuickFilterRenderer = ({
83979
84167
  "dataTable.filters.locationFilter.locations"
83980
84168
  )}${triggerLabel}`,
83981
84169
  onClear: () => {
84170
+ setEnableSublocations(false);
84171
+ setDisabledValues([]);
83982
84172
  onChange([]);
83983
84173
  },
83984
84174
  block: true