@progress/kendo-angular-spreadsheet 21.4.0-develop.3 → 21.4.0-develop.4

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.
Files changed (37) hide show
  1. package/common/spreadsheet.service.d.ts +3 -0
  2. package/directives.d.ts +3 -1
  3. package/esm2022/common/error-handling.service.mjs +1 -0
  4. package/esm2022/common/spreadsheet.service.mjs +2 -0
  5. package/esm2022/directives.mjs +5 -1
  6. package/esm2022/filter-menu/filter-menu-item-content-template.directive.mjs +26 -0
  7. package/esm2022/filter-menu/filter-menu-item.component.mjs +271 -0
  8. package/esm2022/localization/messages.mjs +175 -1
  9. package/esm2022/models/filter-menu-item.mjs +5 -0
  10. package/esm2022/models/index.mjs +2 -0
  11. package/esm2022/models/range-filter-value.mjs +5 -0
  12. package/esm2022/package-metadata.mjs +2 -2
  13. package/esm2022/spreadsheet.component.mjs +717 -47
  14. package/esm2022/spreadsheet.module.mjs +3 -1
  15. package/esm2022/tools/filter-sort/filter-tool.directive.mjs +75 -0
  16. package/esm2022/tools/filter-sort/sort-tool.directive.mjs +57 -0
  17. package/esm2022/tools/index.mjs +2 -0
  18. package/esm2022/tools/shared/command-icons.mjs +13 -3
  19. package/esm2022/tools/shared/constants.mjs +7 -0
  20. package/fesm2022/progress-kendo-angular-spreadsheet.mjs +1301 -59
  21. package/filter-menu/filter-menu-item-content-template.directive.d.ts +15 -0
  22. package/filter-menu/filter-menu-item.component.d.ts +83 -0
  23. package/index.d.ts +1 -1
  24. package/localization/messages.d.ts +117 -1
  25. package/models/events.d.ts +49 -0
  26. package/models/filter-menu-item.d.ts +14 -0
  27. package/models/index.d.ts +2 -0
  28. package/models/range-filter-value.d.ts +15 -0
  29. package/package.json +18 -17
  30. package/schematics/ngAdd/index.js +2 -2
  31. package/spreadsheet.component.d.ts +73 -12
  32. package/spreadsheet.module.d.ts +3 -1
  33. package/tools/filter-sort/filter-tool.directive.d.ts +23 -0
  34. package/tools/filter-sort/sort-tool.directive.d.ts +21 -0
  35. package/tools/index.d.ts +2 -0
  36. package/tools/shared/commands.d.ts +1 -1
  37. package/tools/shared/constants.d.ts +12 -0
@@ -41,6 +41,8 @@ import * as i29 from "./tools/increase-decimal-tool.directive";
41
41
  import * as i30 from "./tools/decrease-decimal-tool.directive";
42
42
  import * as i31 from "./tools/align/horizontal-align-tool.directive";
43
43
  import * as i32 from "./tools/align/vertical-align-tool.directive";
44
+ import * as i33 from "./tools/filter-sort/filter-tool.directive";
45
+ import * as i34 from "./tools/filter-sort/sort-tool.directive";
44
46
  // IMPORTANT: NgModule export kept for backwards compatibility
45
47
  /**
46
48
  * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Spreadsheet component.
@@ -57,7 +59,7 @@ import * as i32 from "./tools/align/vertical-align-tool.directive";
57
59
  */
58
60
  export class SpreadsheetModule {
59
61
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
60
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetModule, imports: [i1.SpreadsheetComponent, i2.CustomMessagesComponent, i3.SpreadsheetBoldDirective, i4.SpreadsheetDataValidationDirective, i5.SpreadsheetItalicDirective, i6.SpreadsheetUnderlineDirective, i7.SpreadsheetLoadFileComponent, i8.SpreadsheetSaveFileDirective, i9.SpreadsheetFormatDirective, i10.SpreadsheetUndoDirective, i11.SpreadsheetRedoDirective, i12.SpreadsheetFontFamilyComponent, i13.SpreadsheetFontSizeComponent, i14.SpreadsheetBackColorComponent, i15.SpreadsheetForeColorComponent, i16.SpreadsheetGridLinesDirective, i17.SpreadsheetAddColumnLeftButtonDirective, i18.SpreadsheetAddColumnRightButtonDirective, i19.SpreadsheetAddRowAboveButtonDirective, i20.SpreadsheetAddRowBelowButtonDirective, i21.SpreadsheetDeleteColumnButtonDirective, i22.SpreadsheetDeleteRowButtonDirective, i23.SpreadsheetTextAlignDirective, i24.SpreadsheetTextWrapDirective, i25.SpreadsheetMergeDirective, i26.SpreadsheetInsertLinkDirective, i27.SpreadsheetIncreaseFontSizeDirective, i28.SpreadsheetDecreaseFontSizeDirective, i29.SpreadsheetIncreaseDecimalDirective, i30.SpreadsheetDecreaseDecimalDirective, i31.SpreadsheetHorizontalTextAlignDirective, i32.SpreadsheetVerticalTextAlignDirective], exports: [i1.SpreadsheetComponent, i2.CustomMessagesComponent, i3.SpreadsheetBoldDirective, i4.SpreadsheetDataValidationDirective, i5.SpreadsheetItalicDirective, i6.SpreadsheetUnderlineDirective, i7.SpreadsheetLoadFileComponent, i8.SpreadsheetSaveFileDirective, i9.SpreadsheetFormatDirective, i10.SpreadsheetUndoDirective, i11.SpreadsheetRedoDirective, i12.SpreadsheetFontFamilyComponent, i13.SpreadsheetFontSizeComponent, i14.SpreadsheetBackColorComponent, i15.SpreadsheetForeColorComponent, i16.SpreadsheetGridLinesDirective, i17.SpreadsheetAddColumnLeftButtonDirective, i18.SpreadsheetAddColumnRightButtonDirective, i19.SpreadsheetAddRowAboveButtonDirective, i20.SpreadsheetAddRowBelowButtonDirective, i21.SpreadsheetDeleteColumnButtonDirective, i22.SpreadsheetDeleteRowButtonDirective, i23.SpreadsheetTextAlignDirective, i24.SpreadsheetTextWrapDirective, i25.SpreadsheetMergeDirective, i26.SpreadsheetInsertLinkDirective, i27.SpreadsheetIncreaseFontSizeDirective, i28.SpreadsheetDecreaseFontSizeDirective, i29.SpreadsheetIncreaseDecimalDirective, i30.SpreadsheetDecreaseDecimalDirective, i31.SpreadsheetHorizontalTextAlignDirective, i32.SpreadsheetVerticalTextAlignDirective] });
62
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetModule, imports: [i1.SpreadsheetComponent, i2.CustomMessagesComponent, i3.SpreadsheetBoldDirective, i4.SpreadsheetDataValidationDirective, i5.SpreadsheetItalicDirective, i6.SpreadsheetUnderlineDirective, i7.SpreadsheetLoadFileComponent, i8.SpreadsheetSaveFileDirective, i9.SpreadsheetFormatDirective, i10.SpreadsheetUndoDirective, i11.SpreadsheetRedoDirective, i12.SpreadsheetFontFamilyComponent, i13.SpreadsheetFontSizeComponent, i14.SpreadsheetBackColorComponent, i15.SpreadsheetForeColorComponent, i16.SpreadsheetGridLinesDirective, i17.SpreadsheetAddColumnLeftButtonDirective, i18.SpreadsheetAddColumnRightButtonDirective, i19.SpreadsheetAddRowAboveButtonDirective, i20.SpreadsheetAddRowBelowButtonDirective, i21.SpreadsheetDeleteColumnButtonDirective, i22.SpreadsheetDeleteRowButtonDirective, i23.SpreadsheetTextAlignDirective, i24.SpreadsheetTextWrapDirective, i25.SpreadsheetMergeDirective, i26.SpreadsheetInsertLinkDirective, i27.SpreadsheetIncreaseFontSizeDirective, i28.SpreadsheetDecreaseFontSizeDirective, i29.SpreadsheetIncreaseDecimalDirective, i30.SpreadsheetDecreaseDecimalDirective, i31.SpreadsheetHorizontalTextAlignDirective, i32.SpreadsheetVerticalTextAlignDirective, i33.SpreadsheetFilterDirective, i34.SpreadsheetSortDirective], exports: [i1.SpreadsheetComponent, i2.CustomMessagesComponent, i3.SpreadsheetBoldDirective, i4.SpreadsheetDataValidationDirective, i5.SpreadsheetItalicDirective, i6.SpreadsheetUnderlineDirective, i7.SpreadsheetLoadFileComponent, i8.SpreadsheetSaveFileDirective, i9.SpreadsheetFormatDirective, i10.SpreadsheetUndoDirective, i11.SpreadsheetRedoDirective, i12.SpreadsheetFontFamilyComponent, i13.SpreadsheetFontSizeComponent, i14.SpreadsheetBackColorComponent, i15.SpreadsheetForeColorComponent, i16.SpreadsheetGridLinesDirective, i17.SpreadsheetAddColumnLeftButtonDirective, i18.SpreadsheetAddColumnRightButtonDirective, i19.SpreadsheetAddRowAboveButtonDirective, i20.SpreadsheetAddRowBelowButtonDirective, i21.SpreadsheetDeleteColumnButtonDirective, i22.SpreadsheetDeleteRowButtonDirective, i23.SpreadsheetTextAlignDirective, i24.SpreadsheetTextWrapDirective, i25.SpreadsheetMergeDirective, i26.SpreadsheetInsertLinkDirective, i27.SpreadsheetIncreaseFontSizeDirective, i28.SpreadsheetDecreaseFontSizeDirective, i29.SpreadsheetIncreaseDecimalDirective, i30.SpreadsheetDecreaseDecimalDirective, i31.SpreadsheetHorizontalTextAlignDirective, i32.SpreadsheetVerticalTextAlignDirective, i33.SpreadsheetFilterDirective, i34.SpreadsheetSortDirective] });
61
63
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i1.SpreadsheetComponent, i7.SpreadsheetLoadFileComponent, i12.SpreadsheetFontFamilyComponent, i13.SpreadsheetFontSizeComponent, i14.SpreadsheetBackColorComponent, i15.SpreadsheetForeColorComponent] });
62
64
  }
63
65
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetModule, decorators: [{
@@ -0,0 +1,75 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ChangeDetectorRef, Directive } from '@angular/core';
6
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
7
+ import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
8
+ import { SpreadsheetService } from '../../common/spreadsheet.service';
9
+ import { SpreadsheetToolsService } from '../tools.service';
10
+ import { SpreadsheetCommandButton } from '../shared/spreadsheet-command-button';
11
+ import { isPresent } from '@progress/kendo-angular-common';
12
+ import * as i0 from "@angular/core";
13
+ import * as i1 from "@progress/kendo-angular-toolbar";
14
+ import * as i2 from "../../localization/spreadsheet-localization.service";
15
+ import * as i3 from "../../common/spreadsheet.service";
16
+ import * as i4 from "../tools.service";
17
+ /**
18
+ * @hidden
19
+ */
20
+ export class SpreadsheetFilterDirective extends SpreadsheetCommandButton {
21
+ cdr;
22
+ constructor(button, localization, spreadsheetService, toolsService, cdr) {
23
+ super('filter', button, localization, spreadsheetService, toolsService, {
24
+ command: 'FilterCommand'
25
+ });
26
+ this.cdr = cdr;
27
+ this.subs.add(spreadsheetService.componentInitialized.subscribe(() => {
28
+ this.toggleActiveState(button);
29
+ }));
30
+ this.subs.add(spreadsheetService.selectionChanged.subscribe((range) => {
31
+ this.toggleActiveState(button, range);
32
+ }));
33
+ this.subs.add(spreadsheetService.activeSheetChanged.subscribe(() => {
34
+ this.toggleActiveState(button);
35
+ }));
36
+ }
37
+ ngOnDestroy() {
38
+ this.subs.unsubscribe();
39
+ }
40
+ clickHandler() {
41
+ this.spreadsheetService.spreadsheetComponent.closePopup();
42
+ const options = {
43
+ command: 'FilterCommand',
44
+ options: { property: 'hasFilter' }
45
+ };
46
+ this.spreadsheetService.spreadsheet.executeCommand(options);
47
+ }
48
+ toggleActiveState(button, range) {
49
+ const currentSheet = this.spreadsheetService.spreadsheet.activeSheet();
50
+ const currentRange = isPresent(range) ? range : currentSheet.range(currentSheet.activeCell());
51
+ let disabled = true;
52
+ let rangeHasValue = false;
53
+ currentRange.values().forEach((nestedArr) => {
54
+ if (nestedArr.some(value => isPresent(value) && value !== '') && !rangeHasValue) {
55
+ rangeHasValue = true;
56
+ }
57
+ });
58
+ const currentRangeRef = currentRange._ref;
59
+ const isSingleCell = currentRangeRef?.ref === 'cell' || (currentRangeRef.bottomRight.row === currentRangeRef.topLeft.row && currentRangeRef.bottomRight.col === currentRangeRef.topLeft.col);
60
+ disabled = currentRangeRef?.height() <= 1 || !rangeHasValue || isSingleCell;
61
+ if (button.disabled !== disabled) {
62
+ button.disabled = disabled;
63
+ this.cdr.detectChanges();
64
+ }
65
+ }
66
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetFilterDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.SpreadsheetLocalizationService }, { token: i3.SpreadsheetService }, { token: i4.SpreadsheetToolsService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
67
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: SpreadsheetFilterDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoSpreadsheetFilter]", usesInheritance: true, ngImport: i0 });
68
+ }
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetFilterDirective, decorators: [{
70
+ type: Directive,
71
+ args: [{
72
+ selector: 'kendo-toolbar-button[kendoSpreadsheetFilter]',
73
+ standalone: true
74
+ }]
75
+ }], ctorParameters: () => [{ type: i1.ToolBarButtonComponent }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }, { type: i0.ChangeDetectorRef }] });
@@ -0,0 +1,57 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive } from '@angular/core';
6
+ import { Subscription } from 'rxjs';
7
+ import { ToolBarDropDownButtonComponent } from '@progress/kendo-angular-toolbar';
8
+ import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
9
+ import { SpreadsheetService } from '../../common/spreadsheet.service';
10
+ import { commandIcons, commandSVGIcons } from '../shared/command-icons';
11
+ import { SORT } from '../shared/constants';
12
+ import * as i0 from "@angular/core";
13
+ import * as i1 from "@progress/kendo-angular-toolbar";
14
+ import * as i2 from "../../localization/spreadsheet-localization.service";
15
+ import * as i3 from "../../common/spreadsheet.service";
16
+ /**
17
+ * @hidden
18
+ */
19
+ export class SpreadsheetSortDirective {
20
+ spreadsheetService;
21
+ commandName = 'sort';
22
+ subs = new Subscription();
23
+ constructor(host, localization, spreadsheetService) {
24
+ this.spreadsheetService = spreadsheetService;
25
+ host.svgIcon = commandSVGIcons[this.commandName];
26
+ host.icon = commandIcons[this.commandName];
27
+ host.arrowIcon = true;
28
+ host.fillMode = 'flat';
29
+ host.data = SORT.map(item => ({ ...item, textKey: localization.get(item.commandId) }));
30
+ this.subs.add(host.itemClick.subscribe((e) => this.onItemClick(e)));
31
+ host.title = localization.get(this.commandName);
32
+ host.textField = 'textKey';
33
+ }
34
+ ngOnDestroy() {
35
+ this.subs.unsubscribe();
36
+ }
37
+ onItemClick(item) {
38
+ if (item.disabled) {
39
+ return;
40
+ }
41
+ const dir = item.value;
42
+ const options = {
43
+ value: dir,
44
+ sheet: false
45
+ };
46
+ this.spreadsheetService.spreadsheet.executeCommand({ command: 'SortCommand', options });
47
+ }
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetSortDirective, deps: [{ token: i1.ToolBarDropDownButtonComponent }, { token: i2.SpreadsheetLocalizationService }, { token: i3.SpreadsheetService }], target: i0.ɵɵFactoryTarget.Directive });
49
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: SpreadsheetSortDirective, isStandalone: true, selector: "[kendoSpreadsheetSort]", ngImport: i0 });
50
+ }
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SpreadsheetSortDirective, decorators: [{
52
+ type: Directive,
53
+ args: [{
54
+ selector: '[kendoSpreadsheetSort]',
55
+ standalone: true
56
+ }]
57
+ }], ctorParameters: () => [{ type: i1.ToolBarDropDownButtonComponent }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }] });
@@ -22,7 +22,9 @@ export { SpreadsheetInsertLinkDirective } from './insert/insert-link-tool.direct
22
22
  export { SpreadsheetIncreaseFontSizeDirective } from './font-size/increase-font-tool.directive';
23
23
  export { SpreadsheetDecreaseFontSizeDirective } from './font-size/decrease-font-tool.directive';
24
24
  export { SpreadsheetIncreaseDecimalDirective } from './increase-decimal-tool.directive';
25
+ export { SpreadsheetFilterDirective } from './filter-sort/filter-tool.directive';
25
26
  export { SpreadsheetDecreaseDecimalDirective } from './decrease-decimal-tool.directive';
26
27
  export { SpreadsheetHorizontalTextAlignDirective } from './align/horizontal-align-tool.directive';
27
28
  export { SpreadsheetVerticalTextAlignDirective } from './align/vertical-align-tool.directive';
29
+ export { SpreadsheetSortDirective } from './filter-sort/sort-tool.directive';
28
30
  export * from './tables';
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, boldIcon, dropletIcon, foregroundColorIcon, italicIcon, tableColumnDeleteIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableRowDeleteIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, underlineIcon, arrowRotateCcwIcon, arrowRotateCwIcon, bordersNoneIcon, alignTopIcon, alignMiddleIcon, alignBottomIcon, textWrapIcon, folderOpenIcon, downloadIcon, customFormatIcon, fontSizeIcon, fontFamilyIcon, cellsMergeHorizontallyIcon, cellsMergeIcon, cellsMergeVerticallyIcon, tableUnmergeIcon, linkIcon, fontGrowIcon, fontShrinkIcon, decimalDecreaseIcon, decimalIncreaseIcon, copyIcon, cutIcon, clipboardIcon, eyeSlashIcon, eyeIcon, exclamationCircleIcon } from '@progress/kendo-svg-icons';
5
+ import { alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRightIcon, boldIcon, dropletIcon, foregroundColorIcon, italicIcon, tableColumnDeleteIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableRowDeleteIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, underlineIcon, arrowRotateCcwIcon, arrowRotateCwIcon, bordersNoneIcon, alignTopIcon, alignMiddleIcon, alignBottomIcon, textWrapIcon, folderOpenIcon, downloadIcon, customFormatIcon, fontSizeIcon, fontFamilyIcon, cellsMergeHorizontallyIcon, cellsMergeIcon, cellsMergeVerticallyIcon, tableUnmergeIcon, linkIcon, fontGrowIcon, fontShrinkIcon, decimalDecreaseIcon, decimalIncreaseIcon, copyIcon, cutIcon, clipboardIcon, eyeSlashIcon, eyeIcon, exclamationCircleIcon, filterIcon, sortAscIcon, sortDescIcon, sortClearIcon } from '@progress/kendo-svg-icons';
6
6
  /**
7
7
  * @hidden
8
8
  */
@@ -54,7 +54,12 @@ export const commandIcons = {
54
54
  hideRow: 'eye-slash',
55
55
  unhideRow: 'eye',
56
56
  hideColumn: 'eye-slash',
57
- unhideColumn: 'eye'
57
+ unhideColumn: 'eye',
58
+ filter: 'filter',
59
+ sort: 'sort-asc',
60
+ sortAsc: 'sort-asc',
61
+ sortDesc: 'sort-desc',
62
+ unsort: 'sort-clear'
58
63
  };
59
64
  /**
60
65
  * @hidden
@@ -107,5 +112,10 @@ export const commandSVGIcons = {
107
112
  hideRow: eyeSlashIcon,
108
113
  unhideRow: eyeIcon,
109
114
  hideColumn: eyeSlashIcon,
110
- unhideColumn: eyeIcon
115
+ unhideColumn: eyeIcon,
116
+ filter: filterIcon,
117
+ sort: sortAscIcon,
118
+ sortAsc: sortAscIcon,
119
+ sortDesc: sortDescIcon,
120
+ unsort: sortClearIcon
111
121
  };
@@ -64,6 +64,13 @@ export const MERGE = [
64
64
  { icon: commandIcons.mergeVertically, svgIcon: commandSVGIcons.mergeVertically, textKey: 'Merge vertically', commandName: 'vertically', value: 'vertically', disabled: false, commandId: 'mergeVertically' },
65
65
  { icon: commandIcons.unmerge, svgIcon: commandSVGIcons.unmerge, textKey: 'Unmerge', commandName: 'unmerge', value: 'unmerge', disabled: false, commandId: 'unmerge' }
66
66
  ];
67
+ /**
68
+ * @hidden
69
+ */
70
+ export const SORT = [
71
+ { icon: commandIcons.sortAsc, svgIcon: commandSVGIcons.sortAsc, textKey: 'Sort range A to Z', commandName: 'sortAsc', value: 'asc', disabled: false, commandId: 'sortAsc' },
72
+ { icon: commandIcons.sortDesc, svgIcon: commandSVGIcons.sortDesc, textKey: 'Sort range Z to A', commandName: 'sortDesc', value: 'desc', disabled: false, commandId: 'sortDesc' }
73
+ ];
67
74
  /**
68
75
  * @hidden
69
76
  */