@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';
@@ -54038,19 +54038,31 @@ var ServerSideLocationFilterRenderer = React77.forwardRef(
54038
54038
  determineSelectedState(value)
54039
54039
  );
54040
54040
  const [disabledValues, setDisabledValues] = React77.useState([]);
54041
+ const enableSublocationsInitialValue = value.some(
54042
+ (selected) => selected.sublocations?.length
54043
+ );
54044
+ const getUniqDisabledValues = () => {
54045
+ const newDisabledValues = [];
54046
+ value.forEach((location) => {
54047
+ newDisabledValues.push(...findSublocations(location));
54048
+ });
54049
+ const uniqDisabledValues = uniqBy(prop("id"), newDisabledValues).filter(
54050
+ ({ id }) => !selectedValueIds.includes(id)
54051
+ );
54052
+ return uniqDisabledValues;
54053
+ };
54054
+ useEffect(() => {
54055
+ if (enableSublocationsInitialValue && options.length) {
54056
+ setDisabledValues(getUniqDisabledValues());
54057
+ setEnableSublocations(true);
54058
+ }
54059
+ }, [options]);
54041
54060
  const [enableSublocations, setEnableSublocations] = React77.useState(false);
54042
54061
  const onSelectSublocations = React77.useCallback(() => {
54043
54062
  if (enableSublocations) {
54044
54063
  setDisabledValues([]);
54045
54064
  } else {
54046
- const newDisabledValues = [];
54047
- value.forEach((location) => {
54048
- newDisabledValues.push(...findSublocations(location));
54049
- });
54050
- const uniqDisabledValues = uniqBy(prop("id"), newDisabledValues).filter(
54051
- ({ id }) => !selectedValueIds.includes(id)
54052
- );
54053
- setDisabledValues(uniqDisabledValues);
54065
+ setDisabledValues(getUniqDisabledValues());
54054
54066
  }
54055
54067
  setEnableSublocations(!enableSublocations);
54056
54068
  }, [enableSublocations, value, selectedValueIds, options]);
@@ -54106,18 +54118,18 @@ var ServerSideLocationFilterRenderer = React77.forwardRef(
54106
54118
  const findSublocations = (selected) => {
54107
54119
  return options.filter((option) => {
54108
54120
  return startsWith(
54109
- `${getLabel3(selected).toLowerCase()} > `,
54110
- getLabel3(option).toLowerCase()
54111
- );
54121
+ getLabel3(selected).toLowerCase().replace(/\s+>\s+/g, " > "),
54122
+ getLabel3(option).toLowerCase().replace(/\s+>\s+/g, " > ")
54123
+ ) && option.id !== selected.id;
54112
54124
  });
54113
54125
  };
54114
54126
  const handleSelectSublocations = (selected) => {
54115
54127
  if (enableSublocations) {
54116
54128
  const filteredOptions = options.filter((option) => {
54117
54129
  return startsWith(
54118
- `${getLabel3(selected).toLowerCase()} > `,
54119
- getLabel3(option).toLowerCase()
54120
- );
54130
+ getLabel3(selected).toLowerCase().replace(/ /g, ""),
54131
+ getLabel3(option).toLowerCase().replace(/ /g, "")
54132
+ ) && option.id !== selected.id;
54121
54133
  });
54122
54134
  return filteredOptions;
54123
54135
  } else {
@@ -54173,6 +54185,8 @@ var ServerSideLocationFilterRenderer = React77.forwardRef(
54173
54185
  {
54174
54186
  block: true,
54175
54187
  onClear: () => {
54188
+ setEnableSublocations(false);
54189
+ setDisabledValues([]);
54176
54190
  onChange([]);
54177
54191
  },
54178
54192
  label: `${I18n.t("dataTable.filters.locationFilter.locations")} ${value.length ? `(${value.length})` : ""}`
@@ -56373,6 +56387,15 @@ var getMainMenuItems = (props, I18n) => {
56373
56387
  }
56374
56388
  }
56375
56389
  ];
56390
+ if (!props.column.getColDef().lockVisible) {
56391
+ defaultItems.push({
56392
+ label: I18n.t("dataTable.menuOptions.hideColumn"),
56393
+ value: "hideColumn",
56394
+ action() {
56395
+ props.columnApi.setColumnVisible(props.column, false);
56396
+ }
56397
+ });
56398
+ }
56376
56399
  const resetColumns = {
56377
56400
  label: I18n.t("dataTable.menuOptions.resetColumns"),
56378
56401
  value: "resetColumns",
@@ -78410,6 +78433,7 @@ var de_DE_default = {
78410
78433
  noPin: "Nicht anheften",
78411
78434
  autoSizeThisColumn: "Gr\xF6\xDFe dieser Spalte automatisch anpassen",
78412
78435
  autoSizeAllColumns: "Alle Spalten automatisch anpassen",
78436
+ hideColumn: "Spalte ausblenden",
78413
78437
  resetColumns: "Spalten zur\xFCcksetzen",
78414
78438
  unGroupBy: "Gruppierung aufheben nach {{label}}",
78415
78439
  groupBy: "Gruppieren nach {{label}}"
@@ -78484,27 +78508,27 @@ var en_AU_default = {
78484
78508
  emptyState: {
78485
78509
  noFilteredResults: {
78486
78510
  description: "Check your spelling and filter options, or search for a different keyword.",
78487
- title: "No Items Match Your Search",
78488
- itemsTitle: "No %{itemsLabel} Match Your Search"
78511
+ title: "No items match your search",
78512
+ itemsTitle: "No %{itemsLabel} match your search"
78489
78513
  },
78490
78514
  noResults: {
78491
78515
  description: "Once your team creates these items, you can access them here. ",
78492
- title: "There Are No Items to Display Right Now",
78493
- itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
78516
+ title: "There are no items to display right now",
78517
+ itemsTitle: "There are no %{itemsLabel} to display right now",
78494
78518
  tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
78495
78519
  searchTooltip: "Search will be enabled once you add information to the %{tableName}",
78496
78520
  featureFilter: "Filter",
78497
- featureQuickFilter: "Quick Filter",
78498
- featureGroupBy: "Group By",
78521
+ featureQuickFilter: "Quick filter",
78522
+ featureGroupBy: "Group by",
78499
78523
  featureConfigure: "Configure",
78500
78524
  tableNameFallback: "Table"
78501
78525
  }
78502
78526
  },
78503
78527
  bulkActions: {
78504
78528
  apply: "Apply",
78505
- bulkEdit: "Bulk Edit",
78529
+ bulkEdit: "Bulk edit",
78506
78530
  cancel: "Cancel",
78507
- editValues: "Edit Values",
78531
+ editValues: "Edit values",
78508
78532
  error: "Sorry, the items couldn't be updated. Try again.",
78509
78533
  placeholderForField: "Enter %{fieldName}",
78510
78534
  selection: "%{count} %{number} selected",
@@ -78515,11 +78539,11 @@ var en_AU_default = {
78515
78539
  exporting: "Exporting...",
78516
78540
  filters: {
78517
78541
  filters: "Filters",
78518
- moreFilters: "More Filters",
78519
- clearAllFilters: "Clear All Filters",
78542
+ moreFilters: "More filters",
78543
+ clearAllFilters: "Clear all filters",
78520
78544
  close: "Close",
78521
78545
  locationFilter: {
78522
- selectAll: "Select All",
78546
+ selectAll: "Select all",
78523
78547
  includeSublocations: "Include sublocations",
78524
78548
  searchLocations: "Search locations",
78525
78549
  locations: "Locations"
@@ -78527,17 +78551,17 @@ var en_AU_default = {
78527
78551
  numberFilter: {
78528
78552
  labels: {
78529
78553
  and: "and",
78530
- input_placeholder: "Enter Value",
78554
+ input_placeholder: "Enter value",
78531
78555
  placeholder: "Select an item"
78532
78556
  },
78533
78557
  options: {
78534
- any_value: "Any Value",
78535
- is_between: "Is Between",
78536
- greater_than: "Is Greater Than",
78537
- greater_than_equal_to: "Is Greater Than or Equal To",
78538
- less_than: "Is Less Than",
78539
- less_than_equal_to: "Is Less Than or Equal To",
78540
- no_value: "No Value"
78558
+ any_value: "Any value",
78559
+ is_between: "Is between",
78560
+ greater_than: "Is greater than",
78561
+ greater_than_equal_to: "Is greater than or equal to",
78562
+ less_than: "Is less than",
78563
+ less_than_equal_to: "Is less than or equal to",
78564
+ no_value: "No value"
78541
78565
  }
78542
78566
  }
78543
78567
  },
@@ -78547,34 +78571,35 @@ var en_AU_default = {
78547
78571
  },
78548
78572
  menuOptions: {
78549
78573
  sortMenuItem: {
78550
- label: "Sort By This Column",
78551
- sortAscItem: "Sort Column Ascending",
78552
- sortDescItem: "Sort Column Descending",
78553
- sortResetItem: "Column Not Sorted"
78574
+ label: "Sort by this column",
78575
+ sortAscItem: "Sort column ascending",
78576
+ sortDescItem: "Sort column descending",
78577
+ sortResetItem: "Column not sorted"
78554
78578
  },
78555
- expandAllGroups: "Expand All Groups",
78556
- collapseAllGroups: "Collapse All Groups",
78557
- pinColumn: "Pin Column",
78558
- pinLeft: "Pin Left",
78559
- pinRight: "Pin Right",
78560
- noPin: "No Pin",
78561
- autoSizeThisColumn: "Autosize This Column",
78562
- autoSizeAllColumns: "Autosize All Columns",
78563
- resetColumns: "Reset Columns",
78579
+ expandAllGroups: "Expand all groups",
78580
+ collapseAllGroups: "Collapse all groups",
78581
+ pinColumn: "Pin column",
78582
+ pinLeft: "Pin left",
78583
+ pinRight: "Pin right",
78584
+ noPin: "No pin",
78585
+ autoSizeThisColumn: "Autosize this column",
78586
+ autoSizeAllColumns: "Autosize all columns",
78587
+ hideColumn: "Hide column",
78588
+ resetColumns: "Reset columns",
78564
78589
  unGroupBy: "Un-Group by {{label}}",
78565
- groupBy: "Group By {{label}}"
78590
+ groupBy: "Group by {{label}}"
78566
78591
  },
78567
- grandTotals: "Grand Totals",
78592
+ grandTotals: "Grand totals",
78568
78593
  search: "Search",
78569
78594
  subtotals: "Subtotals",
78570
78595
  tableSettings: {
78571
- configureColumns: "Configure Columns",
78572
- resetToDefault: "Show All",
78573
- rowHeight: "Row Height",
78596
+ configureColumns: "Configure columns",
78597
+ resetToDefault: "Show all",
78598
+ rowHeight: "Row height",
78574
78599
  small: "Small",
78575
78600
  medium: "Medium",
78576
78601
  large: "Large",
78577
- tableSettings: "Table Settings",
78602
+ tableSettings: "Table settings",
78578
78603
  groupBy: "Group by:",
78579
78604
  reset: "Reset",
78580
78605
  selectColumnGroup: "Select a column to group",
@@ -78634,27 +78659,27 @@ var en_CA_default = {
78634
78659
  emptyState: {
78635
78660
  noFilteredResults: {
78636
78661
  description: "Check your spelling and filter options, or search for a different keyword.",
78637
- title: "No Items Match Your Search",
78638
- itemsTitle: "No %{itemsLabel} Match Your Search"
78662
+ title: "No items match your search",
78663
+ itemsTitle: "No %{itemsLabel} match your search"
78639
78664
  },
78640
78665
  noResults: {
78641
78666
  description: "Once your team creates these items, you can access them here. ",
78642
- title: "There Are No Items to Display Right Now",
78643
- itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
78667
+ title: "There are no items to display right now",
78668
+ itemsTitle: "There are no %{itemsLabel} to display right now",
78644
78669
  tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
78645
78670
  searchTooltip: "Search will be enabled once you add information to the %{tableName}",
78646
78671
  featureFilter: "Filter",
78647
- featureQuickFilter: "Quick Filter",
78648
- featureGroupBy: "Group By",
78672
+ featureQuickFilter: "Quick filter",
78673
+ featureGroupBy: "Group by",
78649
78674
  featureConfigure: "Configure",
78650
78675
  tableNameFallback: "Table"
78651
78676
  }
78652
78677
  },
78653
78678
  bulkActions: {
78654
78679
  apply: "Apply",
78655
- bulkEdit: "Bulk Edit",
78680
+ bulkEdit: "Bulk edit",
78656
78681
  cancel: "Cancel",
78657
- editValues: "Edit Values",
78682
+ editValues: "Edit values",
78658
78683
  error: "Sorry, the items couldn't be updated. Try again.",
78659
78684
  placeholderForField: "Enter %{fieldName}",
78660
78685
  selection: "%{count} %{number} selected",
@@ -78665,8 +78690,8 @@ var en_CA_default = {
78665
78690
  exporting: "Exporting...",
78666
78691
  filters: {
78667
78692
  filters: "Filters",
78668
- moreFilters: "More Filters",
78669
- clearAllFilters: "Clear All Filters",
78693
+ moreFilters: "More filters",
78694
+ clearAllFilters: "Clear all filters",
78670
78695
  close: "Close",
78671
78696
  locationFilter: {
78672
78697
  selectAll: "Select all",
@@ -78677,17 +78702,17 @@ var en_CA_default = {
78677
78702
  numberFilter: {
78678
78703
  labels: {
78679
78704
  and: "and",
78680
- input_placeholder: "Enter Value",
78705
+ input_placeholder: "Enter value",
78681
78706
  placeholder: "Select an item"
78682
78707
  },
78683
78708
  options: {
78684
- any_value: "Any Value",
78685
- is_between: "Is Between",
78686
- greater_than: "Is Greater Than",
78687
- greater_than_equal_to: "Is Greater Than or Equal To",
78688
- less_than: "Is Less Than",
78689
- less_than_equal_to: "Is Less Than or Equal To",
78690
- no_value: "No Value"
78709
+ any_value: "Any value",
78710
+ is_between: "Is between",
78711
+ greater_than: "Is greater than",
78712
+ greater_than_equal_to: "Is greater than or equal to",
78713
+ less_than: "Is less than",
78714
+ less_than_equal_to: "Is less than or equal to",
78715
+ no_value: "No value"
78691
78716
  }
78692
78717
  }
78693
78718
  },
@@ -78697,34 +78722,35 @@ var en_CA_default = {
78697
78722
  },
78698
78723
  menuOptions: {
78699
78724
  sortMenuItem: {
78700
- label: "Sort By This Column",
78701
- sortAscItem: "Sort Column Ascending",
78702
- sortDescItem: "Sort Column Descending",
78703
- sortResetItem: "Column Not Sorted"
78725
+ label: "Sort by this column",
78726
+ sortAscItem: "Sort column ascending",
78727
+ sortDescItem: "Sort column descending",
78728
+ sortResetItem: "Column not sorted"
78704
78729
  },
78705
- expandAllGroups: "Expand All Groups",
78706
- collapseAllGroups: "Collapse All Groups",
78707
- pinColumn: "Pin Column",
78708
- pinLeft: "Pin Left",
78709
- pinRight: "Pin Right",
78710
- noPin: "No Pin",
78711
- autoSizeThisColumn: "Autosize This Column",
78712
- autoSizeAllColumns: "Autosize All Columns",
78713
- resetColumns: "Reset Columns",
78730
+ expandAllGroups: "Expand all groups",
78731
+ collapseAllGroups: "Collapse all groups",
78732
+ pinColumn: "Pin column",
78733
+ pinLeft: "Pin left",
78734
+ pinRight: "Pin right",
78735
+ noPin: "No pin",
78736
+ autoSizeThisColumn: "Autosize this column",
78737
+ autoSizeAllColumns: "Autosize all columns",
78738
+ hideColumn: "Hide column",
78739
+ resetColumns: "Reset columns",
78714
78740
  unGroupBy: "Un-Group by {{label}}",
78715
- groupBy: "Group By {{label}}"
78741
+ groupBy: "Group by {{label}}"
78716
78742
  },
78717
- grandTotals: "Grand Totals",
78743
+ grandTotals: "Grand totals",
78718
78744
  search: "Search",
78719
78745
  subtotals: "Subtotals",
78720
78746
  tableSettings: {
78721
- configureColumns: "Configure Columns",
78722
- resetToDefault: "Show All",
78723
- rowHeight: "Row Height",
78747
+ configureColumns: "Configure columns",
78748
+ resetToDefault: "Show all",
78749
+ rowHeight: "Row height",
78724
78750
  small: "Small",
78725
78751
  medium: "Medium",
78726
78752
  large: "Large",
78727
- tableSettings: "Table Settings",
78753
+ tableSettings: "Table settings",
78728
78754
  groupBy: "Group by:",
78729
78755
  reset: "Reset",
78730
78756
  selectColumnGroup: "Select a column to group",
@@ -78784,27 +78810,27 @@ var en_GB_default = {
78784
78810
  emptyState: {
78785
78811
  noFilteredResults: {
78786
78812
  description: "Check your spelling and filter options, or search for a different keyword.",
78787
- title: "No Items Match Your Search",
78788
- itemsTitle: "No %{itemsLabel} Match Your Search"
78813
+ title: "No items match your search",
78814
+ itemsTitle: "No %{itemsLabel} match your search"
78789
78815
  },
78790
78816
  noResults: {
78791
78817
  description: "Once your team creates these items, you can access them here. ",
78792
- title: "There Are No Items to Display Right Now",
78793
- itemsTitle: "There Are No %{itemsLabel} to Display Right Now",
78818
+ title: "There are no items to display right now",
78819
+ itemsTitle: "There are no %{itemsLabel} to display right now",
78794
78820
  tooltip: "The %{featureName} button will be enabled once you add information to the %{tableName}",
78795
78821
  searchTooltip: "Search will be enabled once you add information to the %{tableName}",
78796
78822
  featureFilter: "Filter",
78797
- featureQuickFilter: "Quick Filter",
78798
- featureGroupBy: "Group By",
78823
+ featureQuickFilter: "Quick filter",
78824
+ featureGroupBy: "Group by",
78799
78825
  featureConfigure: "Configure",
78800
78826
  tableNameFallback: "Table"
78801
78827
  }
78802
78828
  },
78803
78829
  bulkActions: {
78804
78830
  apply: "Apply",
78805
- bulkEdit: "Bulk Edit",
78831
+ bulkEdit: "Bulk edit",
78806
78832
  cancel: "Cancel",
78807
- editValues: "Edit Values",
78833
+ editValues: "Edit values",
78808
78834
  error: "Sorry, the items couldn't be updated. Try again.",
78809
78835
  placeholderForField: "Enter %{fieldName}",
78810
78836
  selection: "%{count} %{number} selected",
@@ -78815,8 +78841,8 @@ var en_GB_default = {
78815
78841
  exporting: "Exporting...",
78816
78842
  filters: {
78817
78843
  filters: "Filters",
78818
- moreFilters: "More Filters",
78819
- clearAllFilters: "Clear All Filters",
78844
+ moreFilters: "More filters",
78845
+ clearAllFilters: "Clear all filters",
78820
78846
  close: "Close",
78821
78847
  locationFilter: {
78822
78848
  selectAll: "Select all",
@@ -78827,17 +78853,17 @@ var en_GB_default = {
78827
78853
  numberFilter: {
78828
78854
  labels: {
78829
78855
  and: "and",
78830
- input_placeholder: "Enter Value",
78856
+ input_placeholder: "Enter value",
78831
78857
  placeholder: "Select an item"
78832
78858
  },
78833
78859
  options: {
78834
- any_value: "Any Value",
78835
- is_between: "Is Between",
78836
- greater_than: "Is Greater Than",
78837
- greater_than_equal_to: "Is Greater Than or Equal To",
78838
- less_than: "Is Less Than",
78839
- less_than_equal_to: "Is Less Than or Equal To",
78840
- no_value: "No Value"
78860
+ any_value: "Any value",
78861
+ is_between: "Is between",
78862
+ greater_than: "Is greater than",
78863
+ greater_than_equal_to: "Is greater than or equal to",
78864
+ less_than: "Is less than",
78865
+ less_than_equal_to: "Is less than or equal to",
78866
+ no_value: "No value"
78841
78867
  }
78842
78868
  }
78843
78869
  },
@@ -78847,34 +78873,35 @@ var en_GB_default = {
78847
78873
  },
78848
78874
  menuOptions: {
78849
78875
  sortMenuItem: {
78850
- label: "Sort By This Column",
78851
- sortAscItem: "Sort Column Ascending",
78852
- sortDescItem: "Sort Column Descending",
78853
- sortResetItem: "Column Not Sorted"
78876
+ label: "Sort by this column",
78877
+ sortAscItem: "Sort column ascending",
78878
+ sortDescItem: "Sort column descending",
78879
+ sortResetItem: "Column not sorted"
78854
78880
  },
78855
- expandAllGroups: "Expand All Groups",
78856
- collapseAllGroups: "Collapse All Groups",
78857
- pinColumn: "Pin Column",
78858
- pinLeft: "Pin Left",
78859
- pinRight: "Pin Right",
78860
- noPin: "No Pin",
78861
- autoSizeThisColumn: "Autosize This Column",
78862
- autoSizeAllColumns: "Autosize All Columns",
78863
- resetColumns: "Reset Columns",
78864
- unGroupBy: "Un-Group by {{label}}",
78865
- groupBy: "Group By {{label}}"
78881
+ expandAllGroups: "Expand all groups",
78882
+ collapseAllGroups: "Collapse all groups",
78883
+ pinColumn: "Pin column",
78884
+ pinLeft: "Pin left",
78885
+ pinRight: "Pin right",
78886
+ noPin: "No pin",
78887
+ autoSizeThisColumn: "Autosize this column",
78888
+ autoSizeAllColumns: "Autosize all columns",
78889
+ hideColumn: "Hide column",
78890
+ resetColumns: "Reset columns",
78891
+ unGroupBy: "Un-group by {{label}}",
78892
+ groupBy: "Group by {{label}}"
78866
78893
  },
78867
- grandTotals: "Grand Totals",
78894
+ grandTotals: "Grand totals",
78868
78895
  search: "Search",
78869
78896
  subtotals: "Subtotals",
78870
78897
  tableSettings: {
78871
- configureColumns: "Configure Columns",
78872
- resetToDefault: "Show All",
78873
- rowHeight: "Row Height",
78898
+ configureColumns: "Configure columns",
78899
+ resetToDefault: "Show all",
78900
+ rowHeight: "Row height",
78874
78901
  small: "Small",
78875
78902
  medium: "Medium",
78876
78903
  large: "Large",
78877
- tableSettings: "Table Settings",
78904
+ tableSettings: "Table settings",
78878
78905
  groupBy: "Group by:",
78879
78906
  reset: "Reset",
78880
78907
  selectColumnGroup: "Select a column to group",
@@ -79010,6 +79037,7 @@ var en_default = {
79010
79037
  noPin: "No Pin",
79011
79038
  autoSizeThisColumn: "Autosize This Column",
79012
79039
  autoSizeAllColumns: "Autosize All Columns",
79040
+ hideColumn: "Hide Column",
79013
79041
  resetColumns: "Reset Columns",
79014
79042
  unGroupBy: "Un-Group by {{label}}",
79015
79043
  groupBy: "Group by {{label}}"
@@ -79092,7 +79120,7 @@ var es_ES_default = {
79092
79120
  title: "No hay elementos para mostrar en este momento",
79093
79121
  itemsTitle: "No hay %{itemsLabel} para mostrar en este momento",
79094
79122
  tooltip: "El bot\xF3n %{featureName} se habilitar\xE1 una vez que a\xF1ada informaci\xF3n a la %{tableName}",
79095
- searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que agregue informaci\xF3n a %{tableName}",
79123
+ searchTooltip: "La b\xFAsqueda se habilitar\xE1 una vez que a\xF1ada informaci\xF3n a %{tableName}",
79096
79124
  featureFilter: "Filtro",
79097
79125
  featureQuickFilter: "Filtro r\xE1pido",
79098
79126
  featureGroupBy: "Agrupar por",
@@ -79160,6 +79188,7 @@ var es_ES_default = {
79160
79188
  noPin: "No fijar",
79161
79189
  autoSizeThisColumn: "Ajustar el tama\xF1o de esta columna autom\xE1ticamente",
79162
79190
  autoSizeAllColumns: "Ajustar el tama\xF1o de todas las columnas autom\xE1ticamente",
79191
+ hideColumn: "Ocultar columna",
79163
79192
  resetColumns: "Restablecer columnas",
79164
79193
  unGroupBy: "Desagrupar por {{label}}",
79165
79194
  groupBy: "Agrupar por {{label}}"
@@ -79310,6 +79339,7 @@ var es_default = {
79310
79339
  noPin: "Sin anclaje",
79311
79340
  autoSizeThisColumn: "Ajustar tama\xF1o de esta columna autom\xE1ticamente",
79312
79341
  autoSizeAllColumns: "Ajustar tama\xF1o de todas las columnas autom\xE1ticamente",
79342
+ hideColumn: "Ocultar columna",
79313
79343
  resetColumns: "Restablecer columnas",
79314
79344
  unGroupBy: "Desagrupar por {{label}}",
79315
79345
  groupBy: "Agrupar por {{label}}"
@@ -79460,6 +79490,7 @@ var fr_CA_default = {
79460
79490
  noPin: "Ne pas \xE9pingler",
79461
79491
  autoSizeThisColumn: "Dimensionner automatiquement cette colonne",
79462
79492
  autoSizeAllColumns: "Dimensionner automatiquement toutes les colonnes",
79493
+ hideColumn: "Masquer la colonne",
79463
79494
  resetColumns: "R\xE9initialiser les colonnes",
79464
79495
  unGroupBy: "D\xE9grouper par {{label}}",
79465
79496
  groupBy: "Grouper par {{label}}"
@@ -79472,7 +79503,7 @@ var fr_CA_default = {
79472
79503
  resetToDefault: "Afficher tout",
79473
79504
  rowHeight: "Hauteur de la rang\xE9e",
79474
79505
  small: "Petit",
79475
- medium: "Moyen",
79506
+ medium: "Moyenne",
79476
79507
  large: "Grand",
79477
79508
  tableSettings: "Param\xE8tres du tableau",
79478
79509
  groupBy: "Regrouper par :",
@@ -79610,6 +79641,7 @@ var fr_FR_default = {
79610
79641
  noPin: "Ne pas \xE9pingler",
79611
79642
  autoSizeThisColumn: "Dimensionner automatiquement cette colonne",
79612
79643
  autoSizeAllColumns: "Dimensionner automatiquement toutes les colonnes",
79644
+ hideColumn: "Masquer la colonne",
79613
79645
  resetColumns: "R\xE9initialiser les colonnes",
79614
79646
  unGroupBy: "D\xE9grouper par {{label}}",
79615
79647
  groupBy: "Regrouper par {{label}}"
@@ -79760,6 +79792,7 @@ var is_IS_default = {
79760
79792
  noPin: "Enginn pinna",
79761
79793
  autoSizeThisColumn: "St\xE6r\xF0u \xFEennan d\xE1lk sj\xE1lfkrafa",
79762
79794
  autoSizeAllColumns: "Sj\xE1lfvirk st\xE6r\xF0 allra d\xE1lka",
79795
+ hideColumn: "Fela d\xE1lk",
79763
79796
  resetColumns: "Endurstilla d\xE1lka",
79764
79797
  unGroupBy: "Taka \xFAr h\xF3pi eftir {{label}}",
79765
79798
  groupBy: "Flokka\xF0 eftir {{label}}"
@@ -79833,7 +79866,7 @@ var ja_JP_default = {
79833
79866
  dataTable: {
79834
79867
  emptyState: {
79835
79868
  noFilteredResults: {
79836
- 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",
79869
+ 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",
79837
79870
  title: "\u691C\u7D22\u306B\u4E00\u81F4\u3059\u308B\u9805\u76EE\u306F\u3042\u308A\u307E\u305B\u3093",
79838
79871
  itemsTitle: "\u691C\u7D22\u306B\u4E00\u81F4\u3059\u308B%{itemsLabel}\u306F\u3042\u308A\u307E\u305B\u3093"
79839
79872
  },
@@ -79843,7 +79876,7 @@ var ja_JP_default = {
79843
79876
  itemsTitle: "\u73FE\u5728\u3001\u8868\u793A\u3059\u308B%{itemsLabel}\u304C\u3042\u308A\u307E\u305B\u3093",
79844
79877
  tooltip: "\u60C5\u5831\u3092%{tableName}\u306B\u8FFD\u52A0\u3059\u308B\u3068\u3001[%{featureName}]\u30DC\u30BF\u30F3\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3059",
79845
79878
  searchTooltip: "%{tableName}\u306B\u60C5\u5831\u3092\u8FFD\u52A0\u3059\u308B\u3068\u691C\u7D22\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3059",
79846
- featureFilter: "\u30D5\u30A3\u30EB\u30BF\u30FC",
79879
+ featureFilter: "\u30D5\u30A3\u30EB\u30BF",
79847
79880
  featureQuickFilter: "\u30AF\u30A4\u30C3\u30AF\u30D5\u30A3\u30EB\u30BF\u30FC",
79848
79881
  featureGroupBy: "\u30B0\u30EB\u30FC\u30D7\u5316",
79849
79882
  featureConfigure: "\u69CB\u6210",
@@ -79864,9 +79897,9 @@ var ja_JP_default = {
79864
79897
  },
79865
79898
  exporting: "\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u4E2D...",
79866
79899
  filters: {
79867
- filters: "\u30D5\u30A3\u30EB\u30BF\u30FC",
79868
- moreFilters: "\u305D\u306E\u4ED6\u306E\u30D5\u30A3\u30EB\u30BF\u30FC",
79869
- clearAllFilters: "\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u6D88\u53BB",
79900
+ filters: "\u30D5\u30A3\u30EB\u30BF",
79901
+ moreFilters: "\u305D\u306E\u4ED6\u306E\u30D5\u30A3\u30EB\u30BF",
79902
+ clearAllFilters: "\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u3092\u6D88\u53BB",
79870
79903
  close: "\u7D42\u4E86",
79871
79904
  locationFilter: {
79872
79905
  selectAll: "\u3059\u3079\u3066\u9078\u629E",
@@ -79910,6 +79943,7 @@ var ja_JP_default = {
79910
79943
  noPin: "\u30D4\u30F3\u7559\u3081\u306F\u3042\u308A\u307E\u305B\u3093",
79911
79944
  autoSizeThisColumn: "\u3053\u306E\u5217\u3092\u81EA\u52D5\u30B5\u30A4\u30BA\u8ABF\u6574\u3059\u308B",
79912
79945
  autoSizeAllColumns: "\u3059\u3079\u3066\u306E\u5217\u3092\u81EA\u52D5\u30B5\u30A4\u30BA\u8ABF\u6574\u3059\u308B",
79946
+ hideColumn: "\u5217\u3092\u975E\u8868\u793A",
79913
79947
  resetColumns: "\u5217\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B",
79914
79948
  unGroupBy: "{{label}}\u3067\u30B0\u30EB\u30FC\u30D7\u5316\u3092\u89E3\u9664\u3059\u308B",
79915
79949
  groupBy: "{{label}}\u3067\u30B0\u30EB\u30FC\u30D7\u5316\u3059\u308B"
@@ -79980,7 +80014,153 @@ var ja_JP_default = {
79980
80014
 
79981
80015
  // src/locales/pl-PL.json
79982
80016
  var pl_PL_default = {
79983
- dataTable: {}
80017
+ dataTable: {
80018
+ emptyState: {
80019
+ noFilteredResults: {
80020
+ description: "Sprawd\u017A pisowni\u0119 i filtry lub wyszukaj inne s\u0142owo kluczowe.",
80021
+ title: "Brak pozycji pasuj\u0105cych do wyszukiwania",
80022
+ itemsTitle: "Brak %{itemsLabel} pasuj\u0105cych do wyszukiwania"
80023
+ },
80024
+ noResults: {
80025
+ description: "Po utworzeniu tych pozycji przez zesp\xF3\u0142 mo\u017Cesz uzyska\u0107 do nich dost\u0119p w tym miejscu. ",
80026
+ title: "Obecnie nie ma pozycji do wy\u015Bwietlenia",
80027
+ itemsTitle: "Obecnie nie ma %{itemsLabel} do wy\u015Bwietlenia",
80028
+ tooltip: "Przycisk %{featureName} zostanie w\u0142\u0105czony, gdy dodasz informacje do %{tableName}",
80029
+ searchTooltip: "Wyszukiwanie zostanie w\u0142\u0105czone po dodaniu informacji do %{tableName}",
80030
+ featureFilter: "Filtruj",
80031
+ featureQuickFilter: "Szybki filtr",
80032
+ featureGroupBy: "Grupuj wed\u0142ug",
80033
+ featureConfigure: "Skonfiguruj",
80034
+ tableNameFallback: "tabela"
80035
+ }
80036
+ },
80037
+ bulkActions: {
80038
+ apply: "Zastosuj",
80039
+ bulkEdit: "Edycja masowa",
80040
+ cancel: "Anuluj",
80041
+ editValues: "Edytuj warto\u015Bci",
80042
+ error: "Przepraszamy, nie mo\u017Cna zaktualizowa\u0107 pozycji.Spr\xF3buj ponownie.",
80043
+ placeholderForField: "Wprowad\u017A %{fieldName}",
80044
+ selection: "Wybrano %{count} %{number}",
80045
+ success: "Pozycje zosta\u0142y pomy\u015Blnie zaktualizowane.",
80046
+ one: "pozycja",
80047
+ many: "pozycje"
80048
+ },
80049
+ exporting: "Eksportowanie...",
80050
+ filters: {
80051
+ filters: "Filtry",
80052
+ moreFilters: "Wi\u0119cej filtr\xF3w",
80053
+ clearAllFilters: "Wyczy\u015B\u0107 wszystkie filtry",
80054
+ close: "Zamknij",
80055
+ locationFilter: {
80056
+ selectAll: "Zaznacz wszystkie",
80057
+ includeSublocations: "Uwzgl\u0119dnij lokalizacje podrz\u0119dne",
80058
+ searchLocations: "Wyszukaj lokalizacje",
80059
+ locations: "Lokalizacje"
80060
+ },
80061
+ numberFilter: {
80062
+ labels: {
80063
+ and: "i",
80064
+ input_placeholder: "Wprowad\u017A warto\u015B\u0107",
80065
+ placeholder: "Wybierz pozycj\u0119"
80066
+ },
80067
+ options: {
80068
+ any_value: "Dowolna warto\u015B\u0107",
80069
+ is_between: "jest pomi\u0119dzy",
80070
+ greater_than: "jest wi\u0119ksze ni\u017C",
80071
+ greater_than_equal_to: "jest wi\u0119ksze ni\u017C lub r\xF3wne",
80072
+ less_than: "mniej ni\u017C",
80073
+ less_than_equal_to: "mniej ni\u017C lub r\xF3wne",
80074
+ no_value: "brak warto\u015Bci"
80075
+ }
80076
+ }
80077
+ },
80078
+ loading: {
80079
+ initial: "\u0141adowanie informacji.",
80080
+ secondary: "Trwa \u0142adowanie informacji. Prosimy o cierpliwo\u015B\u0107."
80081
+ },
80082
+ menuOptions: {
80083
+ sortMenuItem: {
80084
+ label: "Sortuj wed\u0142ug tej kolumny",
80085
+ sortAscItem: "Sortuj kolumny rosn\u0105co",
80086
+ sortDescItem: "Sortuj kolumny malej\u0105co",
80087
+ sortResetItem: "Kolumna nieposortowana"
80088
+ },
80089
+ expandAllGroups: "Rozwi\u0144 wszystkie grupy",
80090
+ collapseAllGroups: "Zwi\u0144 wszystkie grupy",
80091
+ pinColumn: "Przypnij kolumn\u0119",
80092
+ pinLeft: "Przypnij do lewej",
80093
+ pinRight: "Przypnij do prawej",
80094
+ noPin: "Bez przypinania",
80095
+ autoSizeThisColumn: "Automatycznie ustaw rozmiar tej kolumny",
80096
+ autoSizeAllColumns: "Automatycznie ustaw rozmiar wszystkich kolumn",
80097
+ hideColumn: "Ukryj kolumn\u0119",
80098
+ resetColumns: "Resetuj kolumny",
80099
+ unGroupBy: "Rozgrupuj wed\u0142ug {{label}}",
80100
+ groupBy: "Grupuj wed\u0142ug {{label}}"
80101
+ },
80102
+ grandTotals: "Sumy ca\u0142kowite",
80103
+ search: "Szukaj",
80104
+ subtotals: "Sumy cz\u0119\u015Bciowe",
80105
+ tableSettings: {
80106
+ configureColumns: "Skonfiguruj kolumny",
80107
+ resetToDefault: "Poka\u017C wszystkie",
80108
+ rowHeight: "Wysoko\u015B\u0107 wiersza",
80109
+ small: "Ma\u0142y",
80110
+ medium: "\u015Aredni",
80111
+ large: "Du\u017Cy",
80112
+ tableSettings: "Ustawienia tabeli",
80113
+ groupBy: "Grupuj wed\u0142ug:",
80114
+ reset: "Zresetuj",
80115
+ selectColumnGroup: "Wybierz kolumn\u0119 do zgrupowania",
80116
+ configure: "Skonfiguruj"
80117
+ },
80118
+ rowGroupToggle: {
80119
+ expandTierOne: "Otw\xF3rz pierwsze grupy w tabeli.",
80120
+ expandAll: "Otw\xF3rz wszystkie grupy w tabeli.",
80121
+ collapseAll: "Zamknij wszystkie grupy w tabeli."
80122
+ },
80123
+ columnGroupToggle: {
80124
+ collapse: "Zwi\u0144 grup\u0119 kolumn",
80125
+ expand: "Rozwi\u0144 grup\u0119 kolumn"
80126
+ },
80127
+ cells: {
80128
+ textCell: {
80129
+ placeholder: "Wprowad\u017A tekst"
80130
+ },
80131
+ currencyCell: {
80132
+ placeholder: "Wprowad\u017A walut\u0119"
80133
+ },
80134
+ numberCell: {
80135
+ placeholder: "Wprowad\u017A numer"
80136
+ },
80137
+ percentCell: {
80138
+ placeholder: "Wprowad\u017A %"
80139
+ },
80140
+ pillCell: {
80141
+ placeholder: "Wybierz {{label}}"
80142
+ },
80143
+ selectCell: {
80144
+ placeholder: "Wybierz {{label}}"
80145
+ },
80146
+ booleanCell: {
80147
+ options: {
80148
+ yes: "Tak",
80149
+ no: "Nie"
80150
+ }
80151
+ }
80152
+ },
80153
+ filterRenders: {
80154
+ dateFilter: {
80155
+ single: "Pojedyncze",
80156
+ range: "Zakres"
80157
+ }
80158
+ },
80159
+ groupCell: {
80160
+ expand: "Rozwi\u0144 grup\u0119",
80161
+ collapse: "Zwi\u0144 grup\u0119"
80162
+ }
80163
+ }
79984
80164
  };
79985
80165
 
79986
80166
  // src/locales/pseudo.json
@@ -80065,6 +80245,7 @@ var pseudo_default = {
80065
80245
  noPin: "[\u0220\u0220\u01FF \xB7 \u01A4\u012B\u019E\u019E]",
80066
80246
  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]",
80067
80247
  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]",
80248
+ hideColumn: "[\u0126\u0126\u0126\u012B\u1E13\u1E17 \xB7 \u0187\u01FF\u0140\u016D\u1E3F\u019E\u019E\u019E]",
80068
80249
  resetColumns: "[\u0158\u0158\u0158\u1E17\u015F\u1E17\u0167 \xB7 \u0187\u01FF\u0140\u016D\u1E3F\u019E\u015F\u015F\u015F]",
80069
80250
  unGroupBy: "[\u016C\u016C\u016C\u016C\u016C\u019E-\u0193\u0159\u01FF\u016D\u01A5 \xB7 \u0180\u1E8F \xB7 {{\u0140\u0227\u0180\u1E17\u0140}}}}}}]",
80070
80251
  groupBy: "[\u0193\u0193\u0193\u0193\u0159\u01FF\u016D\u01A5 \xB7 \u0180\u1E8F \xB7 {{\u0140\u0227\u0180\u1E17\u0140}}}}}]"
@@ -80215,6 +80396,7 @@ var pt_BR_default = {
80215
80396
  noPin: "N\xE3o Fixar",
80216
80397
  autoSizeThisColumn: "Dimensionar Automaticamente Esta Coluna",
80217
80398
  autoSizeAllColumns: "Dimensionar Automaticamente Todas as Colunas",
80399
+ hideColumn: "Ocultar Coluna",
80218
80400
  resetColumns: "Redefinir Colunas",
80219
80401
  unGroupBy: "Desagrupar por {{label}}",
80220
80402
  groupBy: "Agrupar por {{label}}"
@@ -80365,6 +80547,7 @@ var th_TH_default = {
80365
80547
  noPin: "\u0E44\u0E21\u0E48\u0E1B\u0E31\u0E01\u0E2B\u0E21\u0E38\u0E14",
80366
80548
  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",
80367
80549
  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",
80550
+ hideColumn: "\u0E0B\u0E48\u0E2D\u0E19\u0E04\u0E2D\u0E25\u0E31\u0E21\u0E19\u0E4C",
80368
80551
  resetColumns: "\u0E23\u0E35\u0E40\u0E0B\u0E47\u0E15\u0E04\u0E2D\u0E25\u0E31\u0E21\u0E19\u0E4C",
80369
80552
  unGroupBy: "\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01\u0E01\u0E32\u0E23\u0E08\u0E31\u0E14\u0E01\u0E25\u0E38\u0E48\u0E21\u0E15\u0E32\u0E21 {{label}}",
80370
80553
  groupBy: "\u0E08\u0E31\u0E14\u0E01\u0E25\u0E38\u0E48\u0E21\u0E15\u0E32\u0E21 {{label}}"
@@ -80515,6 +80698,7 @@ var zh_SG_default = {
80515
80698
  noPin: "\u4E0D\u56FA\u5B9A",
80516
80699
  autoSizeThisColumn: "\u81EA\u52A8\u8C03\u6574\u6B64\u5217\u7684\u5927\u5C0F",
80517
80700
  autoSizeAllColumns: "\u81EA\u52A8\u8C03\u6574\u6240\u6709\u5217\u7684\u5927\u5C0F",
80701
+ hideColumn: "\u9690\u85CF\u5217",
80518
80702
  resetColumns: "\u91CD\u7F6E\u5217",
80519
80703
  unGroupBy: "\u53D6\u6D88\u6309{{label}}\u5206\u7EC4",
80520
80704
  groupBy: "\u6309{{label}}\u5206\u7EC4"
@@ -82690,6 +82874,7 @@ var Table = (props) => {
82690
82874
  onGridReady,
82691
82875
  onColumnEverythingChanged: props.onColumnEverythingChanged,
82692
82876
  onModelUpdated,
82877
+ onCellFocused: props.onCellFocused,
82693
82878
  onRowDragEnd,
82694
82879
  onRowDragMove,
82695
82880
  onRowGroupOpened: internalRowGroupOpened,
@@ -83695,9 +83880,9 @@ var LocationQuickFilterRenderer = ({
83695
83880
  const findSublocations = (selected) => {
83696
83881
  return options.filter((option) => {
83697
83882
  return startsWith(
83698
- `${getLabel3(selected).toLowerCase()} > `,
83699
- getLabel3(option).toLowerCase()
83700
- );
83883
+ getLabel3(selected).toLowerCase().replace(/\s+>\s+/g, " > "),
83884
+ getLabel3(option).toLowerCase().replace(/\s+>\s+/g, " > ")
83885
+ ) && option.id !== selected.id;
83701
83886
  });
83702
83887
  };
83703
83888
  const handleSelectSublocations = (selected) => {
@@ -83760,6 +83945,8 @@ var LocationQuickFilterRenderer = ({
83760
83945
  "dataTable.filters.locationFilter.locations"
83761
83946
  )}${triggerLabel}`,
83762
83947
  onClear: () => {
83948
+ setEnableSublocations(false);
83949
+ setDisabledValues([]);
83763
83950
  onChange([]);
83764
83951
  },
83765
83952
  block: true