@progress/kendo-angular-grid 22.1.0-develop.8 → 23.0.0-develop.1
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.
- package/README.md +2 -2
- package/adaptiveness/adaptive-renderer.component.d.ts +1 -0
- package/aggregates/aggregate-types.d.ts +1 -1
- package/aggregates/status-bar-template.directive.d.ts +1 -1
- package/column-menu/column-chooser.component.d.ts +3 -3
- package/column-menu/column-menu-autosize-all.component.d.ts +4 -4
- package/column-menu/column-menu-autosize.component.d.ts +3 -3
- package/column-menu/column-menu-chooser.component.d.ts +4 -4
- package/column-menu/column-menu-expandable-item.interface.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +3 -3
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item-content-template.directive.d.ts +1 -1
- package/column-menu/column-menu-item.component.d.ts +2 -2
- package/column-menu/column-menu-item.directive.d.ts +1 -1
- package/column-menu/column-menu-lock.component.d.ts +3 -3
- package/column-menu/column-menu-position.component.d.ts +2 -2
- package/column-menu/column-menu-settings.interface.d.ts +4 -4
- package/column-menu/column-menu-sort.component.d.ts +1 -1
- package/column-menu/column-menu-stick.component.d.ts +4 -4
- package/column-menu/column-menu-template.directive.d.ts +1 -1
- package/column-menu/column-menu.component.d.ts +3 -3
- package/column-menu/column-menu.service.d.ts +1 -1
- package/column-resizing/column-resize.interface.d.ts +1 -1
- package/columns/checkbox-column.component.d.ts +1 -1
- package/columns/column-base.d.ts +24 -17
- package/columns/column-group.component.d.ts +1 -1
- package/columns/column.component.d.ts +6 -6
- package/columns/command-column.component.d.ts +1 -1
- package/columns/reorder-column.component.d.ts +1 -1
- package/columns/sort-settings.d.ts +6 -6
- package/columns/span-column.component.d.ts +5 -5
- package/common/cell-click-event-args.interface.d.ts +1 -1
- package/common/clipboard-types.d.ts +1 -1
- package/common/clipboard.directive.d.ts +1 -1
- package/common/fetch-data-callback.d.ts +1 -1
- package/common/pager-settings.d.ts +2 -2
- package/common/provider.service.d.ts +2 -0
- package/common/single-popup.service.d.ts +1 -1
- package/common/size-options.d.ts +1 -1
- package/csv/csv-command-tool.directive.d.ts +38 -0
- package/csv/csv-command.directive.d.ts +38 -0
- package/csv/csv-export-event.d.ts +15 -0
- package/csv/csv.component.d.ts +131 -0
- package/csv/csv.module.d.ts +32 -0
- package/csv/csv.service.d.ts +16 -0
- package/data/change-event-args.interface.d.ts +2 -2
- package/data/data.collection.d.ts +1 -1
- package/data/grid-item.interface.d.ts +4 -4
- package/databinding.directive.d.ts +3 -3
- package/directives.d.ts +10 -1
- package/dragdrop/column-reorder-config.d.ts +1 -1
- package/editing/add-command-tool.directive.d.ts +1 -1
- package/editing/add-command.directive.d.ts +3 -3
- package/editing/add-event-args.interface.d.ts +1 -1
- package/editing/cancel-command-tool.directive.d.ts +1 -1
- package/editing/cancel-command.directive.d.ts +3 -3
- package/editing/cancel-event-args.interface.d.ts +2 -2
- package/editing/cell-close-event.d.ts +1 -1
- package/editing/edit-command-tool.directive.d.ts +1 -1
- package/editing/edit-command.directive.d.ts +3 -3
- package/editing/edit-event-args.interface.d.ts +1 -1
- package/editing/edit-row-options.interface.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +1 -1
- package/editing/form/models.d.ts +1 -1
- package/editing/remove-command-tool.directive.d.ts +1 -1
- package/editing/remove-command.directive.d.ts +3 -3
- package/editing/remove-event-args.interface.d.ts +1 -1
- package/editing/save-command-tool.directive.d.ts +1 -1
- package/editing/save-command.directive.d.ts +3 -3
- package/editing/save-event-args.interface.d.ts +1 -1
- package/editing-directives/edit-service.interface.d.ts +1 -1
- package/editing-directives/external-editing.directive.d.ts +1 -1
- package/editing-directives/in-cell-editing.directive.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/editing-directives/template-editing.directive.d.ts +1 -1
- package/excel/excel-command-tool.directive.d.ts +1 -1
- package/excel/excel-command.directive.d.ts +2 -2
- package/excel/excel.component.d.ts +5 -5
- package/fesm2022/progress-kendo-angular-grid.mjs +962 -358
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/cell/boolean-filter-cell.component.d.ts +1 -1
- package/filtering/cell/date-filter-cell.component.d.ts +2 -2
- package/filtering/cell/filter-cell-template.directive.d.ts +2 -2
- package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
- package/filtering/cell/string-filter-cell.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +2 -2
- package/filtering/filter.service.d.ts +1 -1
- package/filtering/filterable.d.ts +2 -2
- package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
- package/filtering/menu/filter-menu-container.component.d.ts +5 -1
- package/filtering/menu/filter-menu-template.directive.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -1
- package/filtering/operators/after-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/after-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-filter-operator.component.d.ts +2 -2
- package/filtering/operators/contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -2
- package/filtering/operators/eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -2
- package/filtering/operators/isnull-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/neq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -2
- package/grid.component.d.ts +80 -61
- package/grouping/group-header-column-template.directive.d.ts +1 -1
- package/grouping/group-header-template.directive.d.ts +1 -1
- package/grouping/group-key.interface.d.ts +3 -3
- package/grouping/group-rows-args.interface.d.ts +1 -1
- package/index.d.ts +6 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/messages.d.ts +14 -10
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/navigable-settings.d.ts +3 -3
- package/navigation/toolbar-tool-name.d.ts +1 -0
- package/package-metadata.mjs +2 -2
- package/package.json +29 -28
- package/pdf/pdf-command-tool.directive.d.ts +1 -1
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/pdf/pdf.component.d.ts +2 -2
- package/rendering/cell-loading.template.directive.d.ts +1 -1
- package/rendering/cell-template.directive.d.ts +1 -1
- package/rendering/common/row-class.d.ts +4 -4
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/details/detail-template.directive.d.ts +4 -4
- package/rendering/details-expand.directive.d.ts +2 -2
- package/rendering/footer/footer-template.directive.d.ts +4 -4
- package/rendering/groups-expand.directive.d.ts +2 -2
- package/rendering/header/header-template.directive.d.ts +2 -2
- package/rendering/loading-template.directive.d.ts +1 -1
- package/rendering/no-records-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar-position.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
- package/row-reordering/types.d.ts +2 -2
- package/schematics/ngAdd/index.js +7 -7
- package/scrolling/content-scroll-event.d.ts +1 -1
- package/scrolling/scroll-request.service.d.ts +2 -2
- package/scrolling/scrollmode.d.ts +1 -1
- package/selection/selectall-checkbox.directive.d.ts +2 -2
- package/selection/selection-checkbox.directive.d.ts +1 -1
- package/selection/selection-default.d.ts +1 -1
- package/selection/selection.directive.d.ts +1 -1
- package/selection/types.d.ts +7 -7
- package/state-management/redo-command-tool.d.ts +1 -1
- package/state-management/undo-command-tool.d.ts +1 -1
|
@@ -10,7 +10,7 @@ import { isDocumentAvailable, Keys, hasClasses as hasClasses$1, isPresent as isP
|
|
|
10
10
|
import * as i1 from '@angular/platform-browser';
|
|
11
11
|
import * as i1$1 from '@progress/kendo-angular-icons';
|
|
12
12
|
import { IconWrapperComponent, IconsService, KENDO_ICONS } from '@progress/kendo-angular-icons';
|
|
13
|
-
import { plusIcon, cancelIcon, lockIcon, unlockIcon, caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon, arrowLeftIcon, arrowRightIcon, sortDescSmallIcon, sortAscSmallIcon, filterClearIcon, filterIcon, searchIcon, checkIcon, arrowRotateCcwIcon, columnsIcon, sparklesIcon, filePdfIcon, fileExcelIcon, trashIcon, saveIcon, pencilIcon, chevronUpIcon, chevronDownIcon, chevronRightIcon, displayInlineFlexIcon, maxWidthIcon, stickIcon, unstickIcon, setColumnPositionIcon, slidersIcon, moreVerticalIcon, reorderIcon, minusIcon, insertMiddleIcon, xIcon, xCircleIcon, plusCircleIcon, chevronLeftIcon, undoIcon, redoIcon, arrowsSwapIcon, groupIcon, tableWizardIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { plusIcon, cancelIcon, lockIcon, unlockIcon, caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon, arrowLeftIcon, arrowRightIcon, sortDescSmallIcon, sortAscSmallIcon, filterClearIcon, filterIcon, searchIcon, checkIcon, arrowRotateCcwIcon, columnsIcon, sparklesIcon, fileCsvIcon, filePdfIcon, fileExcelIcon, trashIcon, saveIcon, pencilIcon, chevronUpIcon, chevronDownIcon, chevronRightIcon, displayInlineFlexIcon, maxWidthIcon, stickIcon, unstickIcon, setColumnPositionIcon, slidersIcon, moreVerticalIcon, reorderIcon, minusIcon, insertMiddleIcon, xIcon, xCircleIcon, plusCircleIcon, chevronLeftIcon, undoIcon, redoIcon, arrowsSwapIcon, groupIcon, tableWizardIcon } from '@progress/kendo-svg-icons';
|
|
14
14
|
import { switchMap, take, map, filter, takeUntil, switchMapTo, delay, tap, throttleTime, debounceTime, distinctUntilChanged, skip, auditTime, bufferCount, flatMap } from 'rxjs/operators';
|
|
15
15
|
import * as i1$2 from '@progress/kendo-angular-l10n';
|
|
16
16
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
@@ -42,6 +42,7 @@ import { TabStripComponent, TabStripTabComponent, TabTitleDirective, TabContentD
|
|
|
42
42
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
43
43
|
import * as i5$1 from '@progress/kendo-angular-excel-export';
|
|
44
44
|
import { workbookOptions, toDataURL, ColumnBase as ColumnBase$1, ColumnComponent as ColumnComponent$1, ColumnGroupComponent as ColumnGroupComponent$1, FooterTemplateDirective as FooterTemplateDirective$1, GroupFooterTemplateDirective as GroupFooterTemplateDirective$1, GroupHeaderColumnTemplateDirective as GroupHeaderColumnTemplateDirective$1, GroupHeaderTemplateDirective as GroupHeaderTemplateDirective$1 } from '@progress/kendo-angular-excel-export';
|
|
45
|
+
import { toCSV } from '@progress/kendo-csv';
|
|
45
46
|
import { PDFExportMarginComponent, PDFExportTemplateDirective, PDFExportComponent } from '@progress/kendo-angular-pdf-export';
|
|
46
47
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
47
48
|
import { ActionSheetComponent, ActionSheetViewComponent, ActionSheetHeaderTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective } from '@progress/kendo-angular-navigation';
|
|
@@ -879,6 +880,7 @@ class ContextService {
|
|
|
879
880
|
dataBindingDirective;
|
|
880
881
|
highlightDirective;
|
|
881
882
|
excelComponent;
|
|
883
|
+
csvComponent;
|
|
882
884
|
pdfComponent;
|
|
883
885
|
constructor(renderer, localization) {
|
|
884
886
|
this.renderer = renderer;
|
|
@@ -895,7 +897,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
895
897
|
|
|
896
898
|
/**
|
|
897
899
|
* A directive that controls how focusable elements receive
|
|
898
|
-
* focus in a navigable Grid. [See example](
|
|
900
|
+
* focus in a navigable Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/keyboard-navigation).
|
|
899
901
|
*
|
|
900
902
|
* @example
|
|
901
903
|
* ```html
|
|
@@ -1512,7 +1514,7 @@ class PreventableEvent {
|
|
|
1512
1514
|
}
|
|
1513
1515
|
|
|
1514
1516
|
/**
|
|
1515
|
-
* Arguments for the [`cellClose`](
|
|
1517
|
+
* Arguments for the [`cellClose`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cellclose) event.
|
|
1516
1518
|
*/
|
|
1517
1519
|
class CellCloseEvent extends PreventableEvent {
|
|
1518
1520
|
isNew;
|
|
@@ -1904,7 +1906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1904
1906
|
|
|
1905
1907
|
/**
|
|
1906
1908
|
* Lets you customize the content of Grid cells.
|
|
1907
|
-
* Place an `<ng-template>` tag with the `kendoGridCellTemplate` directive inside a `<kendo-grid-column>` tag to define the cell template. ([See example](
|
|
1909
|
+
* Place an `<ng-template>` tag with the `kendoGridCellTemplate` directive inside a `<kendo-grid-column>` tag to define the cell template. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/templates#cell-template)).
|
|
1908
1910
|
*
|
|
1909
1911
|
* The template context is set to the current data item. You can use these fields:
|
|
1910
1912
|
* - `columnIndex`—The current column index. Use `let-columnIndex="columnIndex"` in your template.
|
|
@@ -1942,7 +1944,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1942
1944
|
}] }] });
|
|
1943
1945
|
|
|
1944
1946
|
/**
|
|
1945
|
-
* Lets you customize the content of edited cells by providing a column edit-cell template for the Grid ([see example](
|
|
1947
|
+
* Lets you customize the content of edited cells by providing a column edit-cell template for the Grid ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/custom-editors#setting-up-custom-editors)).
|
|
1946
1948
|
* Place an `<ng-template>` tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag to define the template.
|
|
1947
1949
|
*
|
|
1948
1950
|
* The template context includes:
|
|
@@ -1981,13 +1983,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
1981
1983
|
|
|
1982
1984
|
/**
|
|
1983
1985
|
* Represents the column header cell template of the Grid
|
|
1984
|
-
* ([more information and example](
|
|
1986
|
+
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/templates#header-template)).
|
|
1985
1987
|
* Use this directive to customize the table header cell for a column.
|
|
1986
1988
|
* To define a header template, nest an `<ng-template>` tag with the
|
|
1987
1989
|
* `kendoGridHeaderTemplate` directive inside the `<kendo-grid-column>` tag.
|
|
1988
1990
|
*
|
|
1989
1991
|
* The template context is set to the current column. The following additional fields are available:
|
|
1990
|
-
* * `column`—An instance of the [`ColumnComponent`](
|
|
1992
|
+
* * `column`—An instance of the [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columncomponent) option.
|
|
1991
1993
|
* * `columnIndex`—The current column index.
|
|
1992
1994
|
*
|
|
1993
1995
|
* @example
|
|
@@ -2021,17 +2023,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2021
2023
|
|
|
2022
2024
|
/**
|
|
2023
2025
|
* Represents the column footer cell template of the Grid
|
|
2024
|
-
* ([more information and example](
|
|
2026
|
+
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/templates#footer-template)).
|
|
2025
2027
|
* Use this directive to customize the table footer cell for a column.
|
|
2026
2028
|
* To define a footer template, nest an `<ng-template>` tag with the
|
|
2027
|
-
* [`kendoGridFooterTemplate`](
|
|
2029
|
+
* [`kendoGridFooterTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/footertemplatedirective) directive inside the `<kendo-grid-column>` tag.
|
|
2028
2030
|
*
|
|
2029
2031
|
* The template context is set to the current column. The following additional fields are available:
|
|
2030
|
-
* * `column`—An instance of the [`ColumnComponent`](
|
|
2032
|
+
* * `column`—An instance of the [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columncomponent) option.
|
|
2031
2033
|
* * `columnIndex`—The current column index.
|
|
2032
2034
|
*
|
|
2033
2035
|
* For more information about displaying aggregates in the footer of the Grid,
|
|
2034
|
-
* see the article on [aggregates](
|
|
2036
|
+
* see the article on [aggregates](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/aggregates).
|
|
2035
2037
|
*
|
|
2036
2038
|
* @example
|
|
2037
2039
|
* ```html
|
|
@@ -2067,7 +2069,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2067
2069
|
* Place an `<ng-template>` tag with the `kendoGridColumnMenuTemplate` directive inside the `<kendo-grid>` or `<kendo-grid-column>` component to set the template.
|
|
2068
2070
|
*
|
|
2069
2071
|
* The template context provides these fields:
|
|
2070
|
-
* - `service`—The [`ColumnMenuService`](
|
|
2072
|
+
* - `service`—The [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice).
|
|
2071
2073
|
* - `column`—The Grid column.
|
|
2072
2074
|
*
|
|
2073
2075
|
* @example
|
|
@@ -2163,20 +2165,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2163
2165
|
*/
|
|
2164
2166
|
const ColumnMenuErrorMessages = {
|
|
2165
2167
|
autoSizeColumn: `The auto size column does not work with enabled virtual columns.
|
|
2166
|
-
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu/#
|
|
2168
|
+
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu/#autosize-column-item.`,
|
|
2167
2169
|
autoSizeAllColumns: `The auto size all columns does not work with enabled virtual columns.
|
|
2168
|
-
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu/#
|
|
2170
|
+
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu/#autosize-all-columns-item.`,
|
|
2169
2171
|
serviceInput: `The service input of the predefined column menu components is mandatory.
|
|
2170
|
-
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu/#
|
|
2172
|
+
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu/#customizing-the-content.`
|
|
2171
2173
|
};
|
|
2172
2174
|
/**
|
|
2173
2175
|
* @hidden
|
|
2174
2176
|
*/
|
|
2175
2177
|
const ClipboardErrorMessages = {
|
|
2176
2178
|
activeCellNavigable: `Grid must be navigable to use "activeCell" as clipboard target type.
|
|
2177
|
-
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/clipboard/#
|
|
2179
|
+
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/clipboard/#active-cell.`,
|
|
2178
2180
|
selectionSelectable: `Grid must be selectable to use "selection" as clipboard target type.
|
|
2179
|
-
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/clipboard/#
|
|
2181
|
+
See https://www.telerik.com/kendo-angular-ui/components/grid/accessories/clipboard/#current-selection.`
|
|
2180
2182
|
};
|
|
2181
2183
|
/**
|
|
2182
2184
|
* @hidden
|
|
@@ -2205,13 +2207,13 @@ const ColumnConfigurationErrorMessages = {
|
|
|
2205
2207
|
const GridConfigurationErrorMessages = {
|
|
2206
2208
|
functionType: (propName, fn) => `${propName} must be a function, but received ${JSON.stringify(fn)}.`,
|
|
2207
2209
|
incompatibleFeatures: (feat1Name, feat2Name) => `'Having both ${feat1Name} and ${feat2Name} is not supported.'`,
|
|
2208
|
-
nonLockedColumnPresent: 'There should be at least one non-locked column. See https://www.telerik.com/kendo-angular-ui/components/grid/columns/locked
|
|
2210
|
+
nonLockedColumnPresent: 'There should be at least one non-locked column. See https://www.telerik.com/kendo-angular-ui/components/grid/columns/locked#known-limitations',
|
|
2209
2211
|
focusNavigable: 'The Grid should be configured as navigable to control focus. See https://www.telerik.com/kendo-angular-ui/components/grid/keyboard-navigation/.',
|
|
2210
2212
|
expandCollapseMethods: (expandMethodName, collapseMethodName, directiveName, callbackName) => `The ${expandMethodName} and ${collapseMethodName} methods should not be called
|
|
2211
2213
|
when using the ${directiveName} directive or the ${callbackName} callback.
|
|
2212
2214
|
These methods are provided only for backwards compatibility with legacy versions.`,
|
|
2213
2215
|
requiredEditService: `The default edit service of the editing directives works only when binding to plain array.
|
|
2214
|
-
Please provide an editService. See https://www.telerik.com/kendo-angular-ui/components/grid/editing/editing-directives/#
|
|
2216
|
+
Please provide an editService. See https://www.telerik.com/kendo-angular-ui/components/grid/editing/editing-directives/#custom-editing-service.`,
|
|
2215
2217
|
requiredModule: (exportedType, moduleName, componentSelector) => `Creating ${exportedType} requires including the ${moduleName} and adding the ${componentSelector} component.`,
|
|
2216
2218
|
unsupportedMethod: (methodName, suggestedMethodName) => `Using ${methodName} in this context is not supported. Use ${suggestedMethodName} instead.`,
|
|
2217
2219
|
unsupportedToolbarConfig: `
|
|
@@ -2301,13 +2303,20 @@ class ColumnBase {
|
|
|
2301
2303
|
*/
|
|
2302
2304
|
reorderable = true;
|
|
2303
2305
|
/**
|
|
2304
|
-
* Sets the
|
|
2306
|
+
* Sets the distance in pixels by which the column width is adjusted during keyboard navigation resizing.
|
|
2307
|
+
* Used when resizing columns with `Alt/Option + Left/Right Arrow` keyboard shortcuts.
|
|
2308
|
+
*
|
|
2309
|
+
* @default 10
|
|
2310
|
+
*/
|
|
2311
|
+
resizeStep = 10;
|
|
2312
|
+
/**
|
|
2313
|
+
* Sets the minimum width (in pixels) for resizing the column by using the UI ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing#limiting-the-resizing)).
|
|
2305
2314
|
* The `autoFitColumn` and `autoFitColumns` methods have higher priority.
|
|
2306
2315
|
* @default 10
|
|
2307
2316
|
*/
|
|
2308
2317
|
minResizableWidth = 10;
|
|
2309
2318
|
/**
|
|
2310
|
-
* Sets the maximum width (in pixels) for resizing the column by using the UI ([see example](
|
|
2319
|
+
* Sets the maximum width (in pixels) for resizing the column by using the UI ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing#limiting-the-resizing)).
|
|
2311
2320
|
* By default, the maximum width is not restricted.
|
|
2312
2321
|
* The `autoFitColumn` and `autoFitColumns` methods have higher priority.
|
|
2313
2322
|
*/
|
|
@@ -2336,7 +2345,7 @@ class ColumnBase {
|
|
|
2336
2345
|
*/
|
|
2337
2346
|
autoSize;
|
|
2338
2347
|
/**
|
|
2339
|
-
* Toggles the locked (frozen) state of the column ([more information and example](
|
|
2348
|
+
* Toggles the locked (frozen) state of the column ([more information and example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/locked)).
|
|
2340
2349
|
*
|
|
2341
2350
|
* @default false
|
|
2342
2351
|
*/
|
|
@@ -2354,17 +2363,17 @@ class ColumnBase {
|
|
|
2354
2363
|
*/
|
|
2355
2364
|
sticky = false;
|
|
2356
2365
|
/**
|
|
2357
|
-
* Sets the visibility of the column ([see example](
|
|
2366
|
+
* Sets the visibility of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/hidden#using-the-built-in-options)).
|
|
2358
2367
|
*
|
|
2359
2368
|
* @default false
|
|
2360
2369
|
*/
|
|
2361
2370
|
hidden;
|
|
2362
2371
|
/**
|
|
2363
|
-
* Sets the condition for the column to remain visible ([see example](
|
|
2372
|
+
* Sets the condition for the column to remain visible ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/responsive-design#columns)).
|
|
2364
2373
|
* If you set the `hidden` property, `media` is ignored.
|
|
2365
2374
|
*
|
|
2366
2375
|
* Accepts device identifiers from [Bootstrap 4](https://v4-alpha.getbootstrap.com/layout/grid/#grid-options)
|
|
2367
|
-
* ([see example](
|
|
2376
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/responsive-design)).
|
|
2368
2377
|
*/
|
|
2369
2378
|
media;
|
|
2370
2379
|
/**
|
|
@@ -2394,44 +2403,44 @@ class ColumnBase {
|
|
|
2394
2403
|
tableCellsRole = 'gridcell';
|
|
2395
2404
|
/**
|
|
2396
2405
|
* Sets custom styles for the table cells (excluding footer and header) of the column.
|
|
2397
|
-
* Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](
|
|
2406
|
+
* Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/columns#customizing-column-cells).
|
|
2398
2407
|
*/
|
|
2399
2408
|
style;
|
|
2400
2409
|
/**
|
|
2401
2410
|
* Sets custom styles for the header cell of the column.
|
|
2402
|
-
* Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](
|
|
2411
|
+
* Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/columns#customizing-column-header).
|
|
2403
2412
|
*/
|
|
2404
2413
|
headerStyle;
|
|
2405
2414
|
/**
|
|
2406
2415
|
* Sets custom styles for the filter row cell.
|
|
2407
|
-
* Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](
|
|
2416
|
+
* Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/columns#customizing-filter-row-cells).
|
|
2408
2417
|
*/
|
|
2409
2418
|
filterStyle;
|
|
2410
2419
|
/**
|
|
2411
2420
|
* Sets custom styles for the footer cell of the column.
|
|
2412
|
-
* Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](
|
|
2421
|
+
* Uses the [`NgStyle`](link:site.data.urls.angular['ngstyleapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/columns#customizing-column-footer).
|
|
2413
2422
|
*/
|
|
2414
2423
|
footerStyle;
|
|
2415
2424
|
/**
|
|
2416
2425
|
* Sets custom CSS classes to the column cells.
|
|
2417
|
-
* Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](
|
|
2418
|
-
* To customize header and footer column cells, use the [headerClass](
|
|
2419
|
-
* and [footerClass](
|
|
2426
|
+
* Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/columns#customizing-column-cells).
|
|
2427
|
+
* To customize header and footer column cells, use the [headerClass](https://www.telerik.com/kendo-angular-ui/components/grid/api/columncomponent#headerclass)
|
|
2428
|
+
* and [footerClass](https://www.telerik.com/kendo-angular-ui/components/grid/api/columncomponent#footerclass) inputs.
|
|
2420
2429
|
*/
|
|
2421
2430
|
cssClass;
|
|
2422
2431
|
/**
|
|
2423
2432
|
* Sets custom CSS classes to the column header cell.
|
|
2424
|
-
* Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](
|
|
2433
|
+
* Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/columns#customizing-column-header).
|
|
2425
2434
|
*/
|
|
2426
2435
|
headerClass;
|
|
2427
2436
|
/**
|
|
2428
2437
|
* Sets custom CSS classes to the filter row cell.
|
|
2429
|
-
* Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](
|
|
2438
|
+
* Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/columns#customizing-filter-row-cells).
|
|
2430
2439
|
*/
|
|
2431
2440
|
filterClass;
|
|
2432
2441
|
/**
|
|
2433
2442
|
* Sets custom CSS classes to the column footer cell.
|
|
2434
|
-
* Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](
|
|
2443
|
+
* Uses the [`NgClass`](link:site.data.urls.angular['ngclassapi']) directive. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/columns#customizing-column-footer).
|
|
2435
2444
|
*/
|
|
2436
2445
|
footerClass;
|
|
2437
2446
|
/**
|
|
@@ -2569,7 +2578,7 @@ class ColumnBase {
|
|
|
2569
2578
|
this.initialMaxResizableWidth = this.maxResizableWidth || Number.MAX_SAFE_INTEGER;
|
|
2570
2579
|
}
|
|
2571
2580
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }, { token: IdService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2572
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: ColumnBase, isStandalone: true, selector: "kendo-grid-column-base", inputs: { resizable: "resizable", reorderable: "reorderable", minResizableWidth: "minResizableWidth", maxResizableWidth: "maxResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", sticky: "sticky", hidden: "hidden", media: "media", lockable: "lockable", stickable: "stickable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", tableCellsRole: "tableCellsRole", style: "style", headerStyle: "headerStyle", filterStyle: "filterStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", filterClass: "filterClass", footerClass: "footerClass", cellRowspan: "cellRowspan" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], ngImport: i0, template: ``, isInline: true });
|
|
2581
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: ColumnBase, isStandalone: true, selector: "kendo-grid-column-base", inputs: { resizable: "resizable", reorderable: "reorderable", resizeStep: "resizeStep", minResizableWidth: "minResizableWidth", maxResizableWidth: "maxResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", sticky: "sticky", hidden: "hidden", media: "media", lockable: "lockable", stickable: "stickable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", tableCellsRole: "tableCellsRole", style: "style", headerStyle: "headerStyle", filterStyle: "filterStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", filterClass: "filterClass", footerClass: "footerClass", cellRowspan: "cellRowspan" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], ngImport: i0, template: ``, isInline: true });
|
|
2573
2582
|
}
|
|
2574
2583
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ColumnBase, decorators: [{
|
|
2575
2584
|
type: Component,
|
|
@@ -2581,6 +2590,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2581
2590
|
type: Input
|
|
2582
2591
|
}], reorderable: [{
|
|
2583
2592
|
type: Input
|
|
2593
|
+
}], resizeStep: [{
|
|
2594
|
+
type: Input
|
|
2584
2595
|
}], minResizableWidth: [{
|
|
2585
2596
|
type: Input
|
|
2586
2597
|
}], maxResizableWidth: [{
|
|
@@ -2641,7 +2652,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2641
2652
|
|
|
2642
2653
|
/**
|
|
2643
2654
|
* The directive allows customizing the content of the group header cell in the Grid.
|
|
2644
|
-
* Place an `<ng-template>` with the `kendoGridGroupHeaderTemplate` directive inside `<kendo-grid-column>` to set the group header template. ([See example](
|
|
2655
|
+
* Place an `<ng-template>` with the `kendoGridGroupHeaderTemplate` directive inside `<kendo-grid-column>` to set the group header template. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/templates#header-template)).
|
|
2645
2656
|
*
|
|
2646
2657
|
* The template context uses the current data item and provides these fields:
|
|
2647
2658
|
* - `group`—The current group item.
|
|
@@ -2683,7 +2694,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2683
2694
|
/**
|
|
2684
2695
|
* Represents the group-header column template of the Grid, allowing customization of group header content.
|
|
2685
2696
|
* To define the group header template, nest an `<ng-template>` tag with the `kendoGridGroupHeaderColumnTemplate`
|
|
2686
|
-
* directive inside a `<kendo-grid-column>`. [See example](
|
|
2697
|
+
* directive inside a `<kendo-grid-column>`. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/templates#header-column-template).
|
|
2687
2698
|
*
|
|
2688
2699
|
* The template context is set to the current data item and provides the following fields:
|
|
2689
2700
|
* - `group`—The current group item.
|
|
@@ -2763,10 +2774,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2763
2774
|
* Represents the filter-cell template directive.
|
|
2764
2775
|
* Use this directive to customize the content of the filter cell.
|
|
2765
2776
|
* To define the filter cell template, nest an `<ng-template>` tag with the
|
|
2766
|
-
* `kendoGridFilterCellTemplate` directive inside a `<kendo-grid-column>` tag ([see example](
|
|
2777
|
+
* `kendoGridFilterCellTemplate` directive inside a `<kendo-grid-column>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#custom-filters)).
|
|
2767
2778
|
*
|
|
2768
2779
|
* The template context is set to the current data item and the following additional fields are passed:
|
|
2769
|
-
* - `column`—Defines an instance of the [`ColumnComponent`](
|
|
2780
|
+
* - `column`—Defines an instance of the [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columncomponent) option. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
|
|
2770
2781
|
* - `filter`—The provided filter descriptors. Use it as an alias for a template variable by utilizing the `let-filter="filter"` syntax.
|
|
2771
2782
|
*
|
|
2772
2783
|
* @example
|
|
@@ -2805,7 +2816,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2805
2816
|
* Use this directive to customize the content of the filter menu.
|
|
2806
2817
|
* To define the filter menu template, nest an `<ng-template>` tag with the
|
|
2807
2818
|
* `kendoGridFilterMenuTemplate` directive inside a `<kendo-grid-column>` tag.
|
|
2808
|
-
* [See example](
|
|
2819
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-menu#custom-filters).
|
|
2809
2820
|
*
|
|
2810
2821
|
* The template context is set to the current data item and provides these additional fields:
|
|
2811
2822
|
* - `column`—Defines an instance of the `ColumnComponent` option. Use it as an alias for a template variable by using the `let-column="column"` syntax.
|
|
@@ -2872,11 +2883,11 @@ class ColumnComponent extends ColumnBase {
|
|
|
2872
2883
|
field;
|
|
2873
2884
|
/**
|
|
2874
2885
|
* Sets the format for displaying the column value.
|
|
2875
|
-
* For supported date and number formats, see the [Column Formats](
|
|
2886
|
+
* For supported date and number formats, see the [Column Formats](https://www.telerik.com/kendo-angular-ui/components/grid/columns/formats) article.
|
|
2876
2887
|
*/
|
|
2877
2888
|
format;
|
|
2878
2889
|
/**
|
|
2879
|
-
* Enables sorting when the user clicks the column header. [See example](
|
|
2890
|
+
* Enables sorting when the user clicks the column header. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/basics).
|
|
2880
2891
|
* Emits the `sortChange` event.
|
|
2881
2892
|
*
|
|
2882
2893
|
* @default true
|
|
@@ -2890,14 +2901,14 @@ class ColumnComponent extends ColumnBase {
|
|
|
2890
2901
|
*/
|
|
2891
2902
|
groupable = true;
|
|
2892
2903
|
/**
|
|
2893
|
-
* Sets the editor type for the column. [See example](
|
|
2904
|
+
* Sets the editor type for the column. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#using-reactive-forms).
|
|
2894
2905
|
* Used when the column enters edit mode.
|
|
2895
2906
|
*
|
|
2896
2907
|
* @default 'text'
|
|
2897
2908
|
*/
|
|
2898
2909
|
editor = 'text';
|
|
2899
2910
|
/**
|
|
2900
|
-
* Sets the filter type for the filter row UI. [See example](
|
|
2911
|
+
* Sets the filter type for the filter row UI. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#filter-data-types).
|
|
2901
2912
|
*
|
|
2902
2913
|
* @default 'text'
|
|
2903
2914
|
*/
|
|
@@ -2909,13 +2920,13 @@ class ColumnComponent extends ColumnBase {
|
|
|
2909
2920
|
*/
|
|
2910
2921
|
filterVariant = 'default';
|
|
2911
2922
|
/**
|
|
2912
|
-
* Shows or hides the filter UI for this column. [See example](
|
|
2923
|
+
* Shows or hides the filter UI for this column. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics).
|
|
2913
2924
|
*
|
|
2914
2925
|
* @default true
|
|
2915
2926
|
*/
|
|
2916
2927
|
filterable = true;
|
|
2917
2928
|
/**
|
|
2918
|
-
* Sets whether the column is editable. [See example](
|
|
2929
|
+
* Sets whether the column is editable. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/prevent-editing).
|
|
2919
2930
|
*
|
|
2920
2931
|
* @default true
|
|
2921
2932
|
*/
|
|
@@ -3032,10 +3043,10 @@ function isSpanColumnComponent(column) {
|
|
|
3032
3043
|
}
|
|
3033
3044
|
/**
|
|
3034
3045
|
* Represents a column that spans multiple data cells while keeping the individual
|
|
3035
|
-
* header and footer cells ([see example](
|
|
3046
|
+
* header and footer cells ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/spanned)).
|
|
3036
3047
|
* Use this column to create flexible layouts and keep built-in UI for
|
|
3037
|
-
* [sorting](
|
|
3038
|
-
* [grouping](
|
|
3048
|
+
* [sorting](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/basics), [filtering](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics), and
|
|
3049
|
+
* [grouping](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/basics). Wrap the columns you want to merge inside the `<kendo-grid-span-column>` tag.
|
|
3039
3050
|
*
|
|
3040
3051
|
* @example
|
|
3041
3052
|
* ```html
|
|
@@ -3086,7 +3097,7 @@ class SpanColumnComponent extends ColumnBase {
|
|
|
3086
3097
|
includeInChooser = false;
|
|
3087
3098
|
/**
|
|
3088
3099
|
* Sets whether the edit template of the column is rendered.
|
|
3089
|
-
* To enable editing for a spanned column, set an edit template for it ([see example](
|
|
3100
|
+
* To enable editing for a spanned column, set an edit template for it ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/custom-editors#setting-up-custom-editors)).
|
|
3090
3101
|
* @default false
|
|
3091
3102
|
*/
|
|
3092
3103
|
set editable(value) {
|
|
@@ -3138,7 +3149,7 @@ class SpanColumnComponent extends ColumnBase {
|
|
|
3138
3149
|
return this.children.filter(c => c.isVisible).length;
|
|
3139
3150
|
}
|
|
3140
3151
|
/**
|
|
3141
|
-
* Toggles the locked (frozen) state of the columns ([see example](
|
|
3152
|
+
* Toggles the locked (frozen) state of the columns ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/locked)).
|
|
3142
3153
|
* @default false
|
|
3143
3154
|
*/
|
|
3144
3155
|
set locked(value) {
|
|
@@ -3511,7 +3522,6 @@ const isNavigationKey = keyCode => isArrowKey(keyCode) ||
|
|
|
3511
3522
|
const isInput = matchesNodeName('input');
|
|
3512
3523
|
const isTextInput = element => element && isInput(element) && element.type.toLowerCase() === 'text';
|
|
3513
3524
|
const isPrintableCharacter = (str) => str.length === 1 && str.match(/\S/);
|
|
3514
|
-
const resizeStep = 10;
|
|
3515
3525
|
/**
|
|
3516
3526
|
* @hidden
|
|
3517
3527
|
*/
|
|
@@ -3958,7 +3968,6 @@ class NavigationService {
|
|
|
3958
3968
|
const row = this.cursor.row;
|
|
3959
3969
|
// on some keyboards arrow keys, PageUp/Down, and Home/End are mapped to Numpad keys
|
|
3960
3970
|
const code = normalizeKeys(args);
|
|
3961
|
-
// Handle row reordering keyboard shortcuts (Ctrl/Cmd + Shift + Up/Down Arrow)
|
|
3962
3971
|
if (modifier && args.shiftKey && (code === Keys.ArrowUp || code === Keys.ArrowDown)) {
|
|
3963
3972
|
if (this.handleRowReorderKeyboard(args, code, row)) {
|
|
3964
3973
|
args.preventDefault();
|
|
@@ -4000,8 +4009,11 @@ class NavigationService {
|
|
|
4000
4009
|
break;
|
|
4001
4010
|
case Keys.ArrowRight:
|
|
4002
4011
|
case Keys.ArrowLeft:
|
|
4003
|
-
if (args.altKey &&
|
|
4012
|
+
if (args.altKey && !args.shiftKey && !args.ctrlKey && !args.metaKey &&
|
|
4013
|
+
row.index < this.meta.headerRows &&
|
|
4014
|
+
this.ctx.grid.resizable) {
|
|
4004
4015
|
this.columnResize(right);
|
|
4016
|
+
preventDefault = true;
|
|
4005
4017
|
break;
|
|
4006
4018
|
}
|
|
4007
4019
|
if (args.shiftKey) {
|
|
@@ -4138,13 +4150,46 @@ class NavigationService {
|
|
|
4138
4150
|
args.preventDefault();
|
|
4139
4151
|
}
|
|
4140
4152
|
}
|
|
4141
|
-
columnResize(
|
|
4153
|
+
columnResize(increaseWidth) {
|
|
4142
4154
|
const column = this.ctx.grid.columnsContainer.allColumns.find((col) => col.level === this.activeCell.rowIndex && col.leafIndex === this.activeCell.colIndex);
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4155
|
+
if (!column?.resizable) {
|
|
4156
|
+
return;
|
|
4157
|
+
}
|
|
4158
|
+
const rtl = this.ctx.localization.rtl;
|
|
4159
|
+
const step = column.resizeStep || 10;
|
|
4160
|
+
const shouldIncrease = rtl ? !increaseWidth : increaseWidth;
|
|
4161
|
+
const delta = shouldIncrease ? step : -step;
|
|
4162
|
+
// Get the actual rendered width from the DOM header cell
|
|
4163
|
+
// Fall back to column.width if header cell is not found
|
|
4164
|
+
let currentWidth = column.width || 0;
|
|
4165
|
+
const headerCell = this.meta.gridElement.nativeElement.querySelector(`.k-grid-header tr:nth-child(${this.activeCell.rowIndex + 1}) th:nth-child(${this.activeCell.colIndex + 1})`);
|
|
4166
|
+
if (headerCell) {
|
|
4167
|
+
const rect = headerCell.getBoundingClientRect();
|
|
4168
|
+
if (rect.width > 0) {
|
|
4169
|
+
currentWidth = rect.width;
|
|
4170
|
+
}
|
|
4171
|
+
}
|
|
4172
|
+
// If still no width, use resizeStartWidth or default
|
|
4173
|
+
if (!currentWidth) {
|
|
4174
|
+
currentWidth = column.resizeStartWidth || 0;
|
|
4175
|
+
}
|
|
4176
|
+
if (!currentWidth) {
|
|
4177
|
+
return;
|
|
4147
4178
|
}
|
|
4179
|
+
const newWidth = currentWidth + delta;
|
|
4180
|
+
const minWidth = column.minResizableWidth || 10;
|
|
4181
|
+
const maxWidth = column.maxResizableWidth;
|
|
4182
|
+
if (newWidth < minWidth || (maxWidth && newWidth > maxWidth)) {
|
|
4183
|
+
return;
|
|
4184
|
+
}
|
|
4185
|
+
// Set resizeStartWidth before calling resizeColumns so the column-handle directive can calculate the new width correctly
|
|
4186
|
+
column.resizeStartWidth = currentWidth;
|
|
4187
|
+
// The resizeColumns method expects a percentage value relative to the current column width.
|
|
4188
|
+
// Convert pixel delta to percentage for consistency with the existing mouse-based resizing logic.
|
|
4189
|
+
const deltaPercent = (delta / currentWidth) * 100;
|
|
4190
|
+
this.resizeService.start(column);
|
|
4191
|
+
this.resizeService.resizeColumns(deltaPercent);
|
|
4192
|
+
this.resizeService.end();
|
|
4148
4193
|
}
|
|
4149
4194
|
onContentKeydown(args) {
|
|
4150
4195
|
if (!this.onCellKeydown(args)) {
|
|
@@ -4645,7 +4690,7 @@ function isColumnGroupComponent(column) {
|
|
|
4645
4690
|
return column.isColumnGroup;
|
|
4646
4691
|
}
|
|
4647
4692
|
/**
|
|
4648
|
-
* Represents the column group header of the Grid ([more information and examples](
|
|
4693
|
+
* Represents the column group header of the Grid ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/grid/columns/headers)).
|
|
4649
4694
|
*
|
|
4650
4695
|
* Use this component to group columns under a common header.
|
|
4651
4696
|
*
|
|
@@ -4763,7 +4808,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4763
4808
|
}] } });
|
|
4764
4809
|
|
|
4765
4810
|
/**
|
|
4766
|
-
* Represents the detail template of the Grid ([more information and examples](
|
|
4811
|
+
* Represents the detail template of the Grid ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/detail-template)).
|
|
4767
4812
|
* Nest an `<ng-template>` tag with the `kendoGridDetailTemplate` directive inside a `<kendo-grid>` tag to define the detail template.
|
|
4768
4813
|
*
|
|
4769
4814
|
* @example
|
|
@@ -4905,7 +4950,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4905
4950
|
|
|
4906
4951
|
/**
|
|
4907
4952
|
* Lets you override the default loading indicator of the Grid.
|
|
4908
|
-
* Place an `<ng-template>` tag with the `kendoGridLoadingTemplate` directive inside `<kendo-grid>` to define a loading template. ([See example](
|
|
4953
|
+
* Place an `<ng-template>` tag with the `kendoGridLoadingTemplate` directive inside `<kendo-grid>` to define a loading template. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/loading-template)).
|
|
4909
4954
|
*
|
|
4910
4955
|
* @example
|
|
4911
4956
|
* ```html
|
|
@@ -5706,18 +5751,15 @@ class GridTableDirective {
|
|
|
5706
5751
|
return this.size === 'small';
|
|
5707
5752
|
}
|
|
5708
5753
|
get sizeMediumClass() {
|
|
5709
|
-
return this.size === 'medium'
|
|
5754
|
+
return this.size === 'medium';
|
|
5710
5755
|
}
|
|
5711
5756
|
set size(size) {
|
|
5712
5757
|
this._size = size;
|
|
5713
|
-
if (size === 'none') {
|
|
5714
|
-
this.wrapper.nativeElement.classList.remove('k-table-sm', 'k-table-md');
|
|
5715
|
-
}
|
|
5716
5758
|
}
|
|
5717
5759
|
get size() {
|
|
5718
5760
|
return this._size;
|
|
5719
5761
|
}
|
|
5720
|
-
_size
|
|
5762
|
+
_size;
|
|
5721
5763
|
constructor(wrapper) {
|
|
5722
5764
|
this.wrapper = wrapper;
|
|
5723
5765
|
}
|
|
@@ -6526,7 +6568,7 @@ class GroupPanelComponent {
|
|
|
6526
6568
|
}
|
|
6527
6569
|
|
|
6528
6570
|
<ng-template #defaultTemplate>
|
|
6529
|
-
<ul unselectable="on" role="menu" class="k-group k-menu-group k-reset
|
|
6571
|
+
<ul unselectable="on" role="menu" class="k-group k-menu-group k-reset" [kendoEventsOutsideAngular]="{
|
|
6530
6572
|
keydown: handleKeyDown,
|
|
6531
6573
|
click: handleClick
|
|
6532
6574
|
}">
|
|
@@ -6617,7 +6659,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6617
6659
|
}
|
|
6618
6660
|
|
|
6619
6661
|
<ng-template #defaultTemplate>
|
|
6620
|
-
<ul unselectable="on" role="menu" class="k-group k-menu-group k-reset
|
|
6662
|
+
<ul unselectable="on" role="menu" class="k-group k-menu-group k-reset" [kendoEventsOutsideAngular]="{
|
|
6621
6663
|
keydown: handleKeyDown,
|
|
6622
6664
|
click: handleClick
|
|
6623
6665
|
}">
|
|
@@ -6756,9 +6798,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6756
6798
|
}] } });
|
|
6757
6799
|
|
|
6758
6800
|
/**
|
|
6759
|
-
* Represents the `Contains` (**Contains**) filter operator. [See example](
|
|
6801
|
+
* Represents the `Contains` (**Contains**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
6760
6802
|
* Use this operator to filter values that contain the specified text.
|
|
6761
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
6803
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
6762
6804
|
*
|
|
6763
6805
|
* @example
|
|
6764
6806
|
* ```html Filter Cell
|
|
@@ -6811,9 +6853,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6811
6853
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
6812
6854
|
|
|
6813
6855
|
/**
|
|
6814
|
-
* Represents the `DoesNotContain` (**Does not contain**) filter operator. [See example](
|
|
6856
|
+
* Represents the `DoesNotContain` (**Does not contain**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
6815
6857
|
* Use this operator to filter values that do not contain the specified text.
|
|
6816
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
6858
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
6817
6859
|
*
|
|
6818
6860
|
* @example
|
|
6819
6861
|
* ```html Filter Cell
|
|
@@ -6866,9 +6908,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6866
6908
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
6867
6909
|
|
|
6868
6910
|
/**
|
|
6869
|
-
* Represents the `EndsWith` (**Ends with**) string filter operator. [See example](
|
|
6911
|
+
* Represents the `EndsWith` (**Ends with**) string filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
6870
6912
|
* Use this operator to filter values that end with the specified text.
|
|
6871
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
6913
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
6872
6914
|
*
|
|
6873
6915
|
* @example
|
|
6874
6916
|
* ```html Filter Cell
|
|
@@ -6921,9 +6963,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6921
6963
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
6922
6964
|
|
|
6923
6965
|
/**
|
|
6924
|
-
* Represents the `Equal` (**Is equal to**) filter operator. [See example](
|
|
6966
|
+
* Represents the `Equal` (**Is equal to**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
6925
6967
|
* Use this operator to filter values that are equal to the specified value.
|
|
6926
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
6968
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
6927
6969
|
*
|
|
6928
6970
|
* @example
|
|
6929
6971
|
* ```html String Filter Cell
|
|
@@ -7024,9 +7066,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7024
7066
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7025
7067
|
|
|
7026
7068
|
/**
|
|
7027
|
-
* Represents the `IsEmpty` (**Is empty**) filter operator. [See example](
|
|
7069
|
+
* Represents the `IsEmpty` (**Is empty**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
7028
7070
|
* Use this operator to filter out values that are empty strings.
|
|
7029
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
7071
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7030
7072
|
*
|
|
7031
7073
|
* @example
|
|
7032
7074
|
* ```html Filter Cell
|
|
@@ -7079,9 +7121,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7079
7121
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7080
7122
|
|
|
7081
7123
|
/**
|
|
7082
|
-
* Represents the `IsNotEmpty` (**Is not empty**) filter operator. [See example](
|
|
7124
|
+
* Represents the `IsNotEmpty` (**Is not empty**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
7083
7125
|
* Use this operator to filter out values that are not empty strings.
|
|
7084
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
7126
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7085
7127
|
*
|
|
7086
7128
|
* @example
|
|
7087
7129
|
* ```html Filter Cell
|
|
@@ -7134,9 +7176,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7134
7176
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7135
7177
|
|
|
7136
7178
|
/**
|
|
7137
|
-
* Represents the `IsNotNull` (**Is not null**) filter operator. [See example](
|
|
7179
|
+
* Represents the `IsNotNull` (**Is not null**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
7138
7180
|
* Use this operator to filter out values that are not null.
|
|
7139
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
7181
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7140
7182
|
*
|
|
7141
7183
|
* @example
|
|
7142
7184
|
* ```html String Filter Cell
|
|
@@ -7236,9 +7278,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7236
7278
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7237
7279
|
|
|
7238
7280
|
/**
|
|
7239
|
-
* Represents the `IsNull` (**Is null**) filter operator. [See example](
|
|
7281
|
+
* Represents the `IsNull` (**Is null**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
7240
7282
|
* Use this operator to filter out values that are null.
|
|
7241
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
7283
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7242
7284
|
*
|
|
7243
7285
|
* @example
|
|
7244
7286
|
* ```html String Filter Cell
|
|
@@ -7338,9 +7380,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7338
7380
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7339
7381
|
|
|
7340
7382
|
/**
|
|
7341
|
-
* Represents the `NotEqual` (**Is not equal to**) filter operator. [See example](
|
|
7383
|
+
* Represents the `NotEqual` (**Is not equal to**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
7342
7384
|
* Use this operator to filter values that are not equal to the specified value.
|
|
7343
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
7385
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7344
7386
|
*
|
|
7345
7387
|
* @example
|
|
7346
7388
|
* ```html String Filter Cell
|
|
@@ -7440,9 +7482,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7440
7482
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7441
7483
|
|
|
7442
7484
|
/**
|
|
7443
|
-
* Represents the `StartsWith` (**Starts with**) filter operator. [See example](
|
|
7485
|
+
* Represents the `StartsWith` (**Starts with**) filter operator. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#using-the-built-in-directive).
|
|
7444
7486
|
* Use this operator to filter values that start with the specified text.
|
|
7445
|
-
* For more information and examples, see the article on setting [default filter operators](
|
|
7487
|
+
* For more information and examples, see the article on setting [default filter operators](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7446
7488
|
*
|
|
7447
7489
|
* @example
|
|
7448
7490
|
* ```html Filter Cell
|
|
@@ -7495,9 +7537,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7495
7537
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7496
7538
|
|
|
7497
7539
|
/**
|
|
7498
|
-
* Represents the `Greater` (**Is greater than**) [numeric filter](
|
|
7540
|
+
* Represents the `Greater` (**Is greater than**) [numeric filter](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#numeric-filter) operator.
|
|
7499
7541
|
* Use this operator to filter values greater than the specified number.
|
|
7500
|
-
* [See example](
|
|
7542
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7501
7543
|
*
|
|
7502
7544
|
* @example
|
|
7503
7545
|
* ```html Filter Cell
|
|
@@ -7550,9 +7592,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7550
7592
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7551
7593
|
|
|
7552
7594
|
/**
|
|
7553
|
-
* Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter](
|
|
7595
|
+
* Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) [numeric filter](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#numeric-filter) operator.
|
|
7554
7596
|
* Use this operator to filter values greater than or equal to the specified number.
|
|
7555
|
-
* [See example](
|
|
7597
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7556
7598
|
*
|
|
7557
7599
|
* @example
|
|
7558
7600
|
* ```html Filter Cell
|
|
@@ -7605,9 +7647,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7605
7647
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7606
7648
|
|
|
7607
7649
|
/**
|
|
7608
|
-
* Represents the `Less` (**Is less than**) [numeric filter](
|
|
7650
|
+
* Represents the `Less` (**Is less than**) [numeric filter](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#numeric-filter) operator.
|
|
7609
7651
|
* Use this operator to filter values less than the specified number.
|
|
7610
|
-
* [See example](
|
|
7652
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7611
7653
|
*
|
|
7612
7654
|
* @example
|
|
7613
7655
|
* ```html Filter Cell
|
|
@@ -7660,9 +7702,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7660
7702
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7661
7703
|
|
|
7662
7704
|
/**
|
|
7663
|
-
* Represents the `LessOrEqualTo` (**Is less than or equal to**) [numeric filter](
|
|
7705
|
+
* Represents the `LessOrEqualTo` (**Is less than or equal to**) [numeric filter](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#numeric-filter) operator.
|
|
7664
7706
|
* Use this operator to filter values less than or equal to the specified number.
|
|
7665
|
-
* [See example](
|
|
7707
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7666
7708
|
*
|
|
7667
7709
|
* @example
|
|
7668
7710
|
* ```html Filter Cell
|
|
@@ -7715,9 +7757,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7715
7757
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7716
7758
|
|
|
7717
7759
|
/**
|
|
7718
|
-
* Represents the `Greater` (**Is after**) [date filter](
|
|
7760
|
+
* Represents the `Greater` (**Is after**) [date filter](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#date-filter) operator.
|
|
7719
7761
|
* Use this operator to filter dates after the specified date.
|
|
7720
|
-
* [See example](
|
|
7762
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7721
7763
|
*
|
|
7722
7764
|
* @example
|
|
7723
7765
|
* ```html Filter Cell
|
|
@@ -7779,9 +7821,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7779
7821
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7780
7822
|
|
|
7781
7823
|
/**
|
|
7782
|
-
* Represents the `GreaterOrEqualTo` (**Is after or equal to**) [date filter](
|
|
7824
|
+
* Represents the `GreaterOrEqualTo` (**Is after or equal to**) [date filter](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#date-filter) operator.
|
|
7783
7825
|
* Use this operator to filter dates after or equal to the specified date.
|
|
7784
|
-
* [See example](
|
|
7826
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7785
7827
|
*
|
|
7786
7828
|
* @example
|
|
7787
7829
|
* ```html Filter Cell
|
|
@@ -7843,9 +7885,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7843
7885
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7844
7886
|
|
|
7845
7887
|
/**
|
|
7846
|
-
* Represents the `LessOrEqualTo` (**Is before or equal to**) [date filter](
|
|
7888
|
+
* Represents the `LessOrEqualTo` (**Is before or equal to**) [date filter](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#date-filter) operator.
|
|
7847
7889
|
* Use this operator to filter dates before or equal to the specified date.
|
|
7848
|
-
* [See example](
|
|
7890
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7849
7891
|
*
|
|
7850
7892
|
* @example
|
|
7851
7893
|
* ```html Filter Cell
|
|
@@ -7907,9 +7949,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7907
7949
|
}], ctorParameters: () => [{ type: ContextService }] });
|
|
7908
7950
|
|
|
7909
7951
|
/**
|
|
7910
|
-
* Represents the `Less than` (**Is before**) [date filter](
|
|
7952
|
+
* Represents the `Less than` (**Is before**) [date filter](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics#date-filter) operator.
|
|
7911
7953
|
* Use this operator to filter dates before the specified date.
|
|
7912
|
-
* [See example](
|
|
7954
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#default-filter-operator).
|
|
7913
7955
|
*
|
|
7914
7956
|
* @example
|
|
7915
7957
|
* ```html Filer Cell
|
|
@@ -8012,7 +8054,7 @@ class FilterCellOperatorsComponent {
|
|
|
8012
8054
|
/**
|
|
8013
8055
|
* @hidden
|
|
8014
8056
|
*/
|
|
8015
|
-
size
|
|
8057
|
+
size;
|
|
8016
8058
|
/**
|
|
8017
8059
|
* @hidden
|
|
8018
8060
|
*/
|
|
@@ -8341,7 +8383,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
8341
8383
|
|
|
8342
8384
|
/**
|
|
8343
8385
|
* Provides a service to set the filter descriptor.
|
|
8344
|
-
* [See example](
|
|
8386
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#custom-filter-row-components).
|
|
8345
8387
|
*/
|
|
8346
8388
|
class FilterService {
|
|
8347
8389
|
/**
|
|
@@ -8481,6 +8523,9 @@ class AdaptiveGridService {
|
|
|
8481
8523
|
this.reset();
|
|
8482
8524
|
}
|
|
8483
8525
|
resetFilter() {
|
|
8526
|
+
if (this.filterMenuContainer?.clearDisabled) {
|
|
8527
|
+
return;
|
|
8528
|
+
}
|
|
8484
8529
|
this.filterMenuContainer.reset();
|
|
8485
8530
|
this.ctx.grid.adaptiveRenderer.actionSheet.toggle(false);
|
|
8486
8531
|
this.reset();
|
|
@@ -8538,7 +8583,7 @@ class PopupCloseEvent extends PreventableEvent {
|
|
|
8538
8583
|
const DEFAULT_POPUP_CLASS = 'k-grid-filter-popup';
|
|
8539
8584
|
/**
|
|
8540
8585
|
* Provides popup management for filter and column menus.
|
|
8541
|
-
* Use this service to open and close popups for the Grid filter and column menus ([see example](
|
|
8586
|
+
* Use this service to open and close popups for the Grid filter and column menus ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-menu#filter-menu-with-popup)).
|
|
8542
8587
|
*/
|
|
8543
8588
|
class SinglePopupService {
|
|
8544
8589
|
popupService;
|
|
@@ -8724,7 +8769,7 @@ const localizeOperators = operators => localization => Object.keys(operators).ma
|
|
|
8724
8769
|
value: operators[key]
|
|
8725
8770
|
}));
|
|
8726
8771
|
/**
|
|
8727
|
-
* An abstract base class for the filter-cell component ([see example](
|
|
8772
|
+
* An abstract base class for the filter-cell component ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#custom-filter-row-components)).
|
|
8728
8773
|
*/
|
|
8729
8774
|
class BaseFilterCellComponent {
|
|
8730
8775
|
filterService;
|
|
@@ -8741,7 +8786,7 @@ class BaseFilterCellComponent {
|
|
|
8741
8786
|
/**
|
|
8742
8787
|
* @hidden
|
|
8743
8788
|
*/
|
|
8744
|
-
size
|
|
8789
|
+
size;
|
|
8745
8790
|
/**
|
|
8746
8791
|
* The current root filter.
|
|
8747
8792
|
* @type {CompositeFilterDescriptor}
|
|
@@ -9385,7 +9430,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
9385
9430
|
/**
|
|
9386
9431
|
* Represents a string-filter menu component.
|
|
9387
9432
|
* Use this component to filter string values in the Grid.
|
|
9388
|
-
* [See example](
|
|
9433
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-menu#built-in-filter-menu-components).
|
|
9389
9434
|
*
|
|
9390
9435
|
* @example
|
|
9391
9436
|
* ```html
|
|
@@ -10145,12 +10190,12 @@ class DateFilterComponent extends BaseFilterCellComponent {
|
|
|
10145
10190
|
max;
|
|
10146
10191
|
/**
|
|
10147
10192
|
* Sets the descriptions for the format sections in the input field.
|
|
10148
|
-
* [See example](
|
|
10193
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/placeholders#format-sections-description).
|
|
10149
10194
|
*/
|
|
10150
10195
|
formatPlaceholder;
|
|
10151
10196
|
/**
|
|
10152
10197
|
* Sets the hint shown when the value is `null`.
|
|
10153
|
-
* [See example](
|
|
10198
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/placeholders#text-hints).
|
|
10154
10199
|
*/
|
|
10155
10200
|
placeholder;
|
|
10156
10201
|
/**
|
|
@@ -10703,7 +10748,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
10703
10748
|
|
|
10704
10749
|
/**
|
|
10705
10750
|
* Represents a filtering menu component for boolean columns.
|
|
10706
|
-
* [See example](
|
|
10751
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-menu#built-in-filter-menu-components).
|
|
10707
10752
|
*
|
|
10708
10753
|
* @example
|
|
10709
10754
|
* ```html
|
|
@@ -11313,7 +11358,12 @@ class FilterMenuContainerComponent {
|
|
|
11313
11358
|
* The column with which the filter is associated.
|
|
11314
11359
|
* @type {ColumnComponent}
|
|
11315
11360
|
*/
|
|
11316
|
-
column
|
|
11361
|
+
set column(value) {
|
|
11362
|
+
this._column = value;
|
|
11363
|
+
}
|
|
11364
|
+
get column() {
|
|
11365
|
+
return this._column;
|
|
11366
|
+
}
|
|
11317
11367
|
/**
|
|
11318
11368
|
* @hidden
|
|
11319
11369
|
*/
|
|
@@ -11350,11 +11400,13 @@ class FilterMenuContainerComponent {
|
|
|
11350
11400
|
return this._childFilter;
|
|
11351
11401
|
}
|
|
11352
11402
|
resetButton;
|
|
11403
|
+
_column;
|
|
11353
11404
|
_childFilter;
|
|
11354
11405
|
subscription;
|
|
11355
11406
|
_templateContext = {};
|
|
11356
11407
|
_filter;
|
|
11357
11408
|
checkboxFilter;
|
|
11409
|
+
_clearDisabled = true;
|
|
11358
11410
|
constructor(parentService, childService, ctx, cd, menuTabbingService, adaptiveGridService) {
|
|
11359
11411
|
this.parentService = parentService;
|
|
11360
11412
|
this.childService = childService;
|
|
@@ -11411,7 +11463,16 @@ class FilterMenuContainerComponent {
|
|
|
11411
11463
|
this.close.emit();
|
|
11412
11464
|
return false;
|
|
11413
11465
|
}
|
|
11466
|
+
get clearDisabled() {
|
|
11467
|
+
if (!this.column || !this.filter) {
|
|
11468
|
+
return true;
|
|
11469
|
+
}
|
|
11470
|
+
return !filtersByField(this.filter, this.column.field).length;
|
|
11471
|
+
}
|
|
11414
11472
|
reset() {
|
|
11473
|
+
if (this.clearDisabled) {
|
|
11474
|
+
return;
|
|
11475
|
+
}
|
|
11415
11476
|
const root = this.filter || {
|
|
11416
11477
|
filters: [],
|
|
11417
11478
|
logic: "and"
|
|
@@ -11430,7 +11491,7 @@ class FilterMenuContainerComponent {
|
|
|
11430
11491
|
this.menuTabbingService.firstFocusable.focus();
|
|
11431
11492
|
}
|
|
11432
11493
|
else {
|
|
11433
|
-
this.disabled ? this.menuTabbingService.firstFocusable.focus() : this.resetButton.nativeElement.focus();
|
|
11494
|
+
this.disabled || this.clearDisabled ? this.menuTabbingService.firstFocusable.focus() : this.resetButton.nativeElement.focus();
|
|
11434
11495
|
}
|
|
11435
11496
|
}
|
|
11436
11497
|
}
|
|
@@ -11552,9 +11613,14 @@ class FilterMenuContainerComponent {
|
|
|
11552
11613
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
11553
11614
|
<button #resetButton kendoButton
|
|
11554
11615
|
type="reset"
|
|
11555
|
-
[
|
|
11616
|
+
[class.k-button-rectangle]="!isMultiFilter"
|
|
11617
|
+
[class.k-disabled]="clearDisabled"
|
|
11618
|
+
[attr.aria-disabled]="clearDisabled"
|
|
11556
11619
|
[icon]="getButtonIcon('reset', 'icon')"
|
|
11557
11620
|
[svgIcon]="getButtonIcon('reset', 'svgIcon')"
|
|
11621
|
+
(click)="reset()"
|
|
11622
|
+
(keydown.space)="clearDisabled ? $event.preventDefault() : reset()"
|
|
11623
|
+
(keydown.enter)="clearDisabled ? $event.preventDefault() : reset()"
|
|
11558
11624
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
11559
11625
|
</div>
|
|
11560
11626
|
}
|
|
@@ -11611,9 +11677,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
11611
11677
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
11612
11678
|
<button #resetButton kendoButton
|
|
11613
11679
|
type="reset"
|
|
11614
|
-
[
|
|
11680
|
+
[class.k-button-rectangle]="!isMultiFilter"
|
|
11681
|
+
[class.k-disabled]="clearDisabled"
|
|
11682
|
+
[attr.aria-disabled]="clearDisabled"
|
|
11615
11683
|
[icon]="getButtonIcon('reset', 'icon')"
|
|
11616
11684
|
[svgIcon]="getButtonIcon('reset', 'svgIcon')"
|
|
11685
|
+
(click)="reset()"
|
|
11686
|
+
(keydown.space)="clearDisabled ? $event.preventDefault() : reset()"
|
|
11687
|
+
(keydown.enter)="clearDisabled ? $event.preventDefault() : reset()"
|
|
11617
11688
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
11618
11689
|
</div>
|
|
11619
11690
|
}
|
|
@@ -11939,7 +12010,7 @@ class AutoCompleteFilterCellComponent extends BaseFilterCellComponent {
|
|
|
11939
12010
|
get currentOperator() {
|
|
11940
12011
|
return this.currentFilter ? this.currentFilter.operator : "contains";
|
|
11941
12012
|
}
|
|
11942
|
-
size
|
|
12013
|
+
size;
|
|
11943
12014
|
_valueField;
|
|
11944
12015
|
subs;
|
|
11945
12016
|
constructor(filterService, column, ctx, sizingOptionsService) {
|
|
@@ -12005,7 +12076,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12005
12076
|
|
|
12006
12077
|
/**
|
|
12007
12078
|
* Represents a filter-cell component for boolean columns.
|
|
12008
|
-
* See the article about the [built-in filter components](
|
|
12079
|
+
* See the article about the [built-in filter components](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#built-in-filter-row-components).
|
|
12009
12080
|
*
|
|
12010
12081
|
* @example
|
|
12011
12082
|
* ```html
|
|
@@ -12024,7 +12095,7 @@ class BooleanFilterCellComponent extends BooleanFilterComponent {
|
|
|
12024
12095
|
/**
|
|
12025
12096
|
* @hidden
|
|
12026
12097
|
*/
|
|
12027
|
-
size
|
|
12098
|
+
size;
|
|
12028
12099
|
subs;
|
|
12029
12100
|
constructor(filterService, ctx, cd, sizingService) {
|
|
12030
12101
|
super(filterService, ctx);
|
|
@@ -12100,8 +12171,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12100
12171
|
}], ctorParameters: () => [{ type: FilterService }, { type: ContextService }, { type: i0.ChangeDetectorRef }, { type: SizingOptionsService }] });
|
|
12101
12172
|
|
|
12102
12173
|
/**
|
|
12103
|
-
* Represents a [DatePicker](
|
|
12104
|
-
* See the article about the [built-in filter components](
|
|
12174
|
+
* Represents a [DatePicker](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker) cell component for filtering of date columns.
|
|
12175
|
+
* See the article about the [built-in filter components](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#built-in-filter-row-components).
|
|
12105
12176
|
*
|
|
12106
12177
|
* @example
|
|
12107
12178
|
*
|
|
@@ -12225,7 +12296,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12225
12296
|
|
|
12226
12297
|
/**
|
|
12227
12298
|
* Represents a filter cell component for filtering of string columns.
|
|
12228
|
-
* See the article about the [built-in filter components](
|
|
12299
|
+
* See the article about the [built-in filter components](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#built-in-filter-row-components).
|
|
12229
12300
|
*
|
|
12230
12301
|
* @example
|
|
12231
12302
|
* ```html
|
|
@@ -12333,7 +12404,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12333
12404
|
|
|
12334
12405
|
/**
|
|
12335
12406
|
* Represents a filter cell component for filtering of numeric columns.
|
|
12336
|
-
* See the article about the [built-in filter components](
|
|
12407
|
+
* See the article about the [built-in filter components](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row#built-in-filter-row-components).
|
|
12337
12408
|
*
|
|
12338
12409
|
* @example
|
|
12339
12410
|
* ```html
|
|
@@ -12704,7 +12775,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
12704
12775
|
}] } });
|
|
12705
12776
|
|
|
12706
12777
|
/**
|
|
12707
|
-
* Represents the service passed to the [`ColumnMenuTemplate`](
|
|
12778
|
+
* Represents the service passed to the [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
12708
12779
|
*
|
|
12709
12780
|
* Use this service to interact with the column menu from a custom template.
|
|
12710
12781
|
*
|
|
@@ -13568,9 +13639,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
13568
13639
|
}] } });
|
|
13569
13640
|
|
|
13570
13641
|
/**
|
|
13571
|
-
* Represents the component for toggling visibility of the Grid columns visibility. [See example](
|
|
13572
|
-
* To show and hide the columns without including the column chooser item in the [Column Menu](
|
|
13573
|
-
* add the component inside the [ToolbarTemplate](
|
|
13642
|
+
* Represents the component for toggling visibility of the Grid columns visibility. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/toolbar/toolbar-template).
|
|
13643
|
+
* To show and hide the columns without including the column chooser item in the [Column Menu](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu),
|
|
13644
|
+
* add the component inside the [ToolbarTemplate](https://www.telerik.com/kendo-angular-ui/components/grid/toolbar/toolbar-template) directive.
|
|
13574
13645
|
*
|
|
13575
13646
|
* @example
|
|
13576
13647
|
* ```html
|
|
@@ -13792,6 +13863,7 @@ const ToolbarToolName = {
|
|
|
13792
13863
|
add: 'add',
|
|
13793
13864
|
columns: 'columns',
|
|
13794
13865
|
excelExport: 'excelExport',
|
|
13866
|
+
csvExport: 'csvExport',
|
|
13795
13867
|
pdfExport: 'pdfExport',
|
|
13796
13868
|
aiAssistant: 'aiAssistant'
|
|
13797
13869
|
};
|
|
@@ -13804,6 +13876,7 @@ const ICONS_MAP = {
|
|
|
13804
13876
|
add: { svgIcon: plusIcon, icon: 'plus' },
|
|
13805
13877
|
excelExport: { svgIcon: fileExcelIcon, icon: 'file-excel' },
|
|
13806
13878
|
pdfExport: { svgIcon: filePdfIcon, icon: 'file-pdf' },
|
|
13879
|
+
csvExport: { svgIcon: fileCsvIcon, icon: 'file-csv' },
|
|
13807
13880
|
columns: { svgIcon: columnsIcon, icon: 'columns' },
|
|
13808
13881
|
aiAssistant: { svgIcon: sparklesIcon, icon: 'sparkles' }
|
|
13809
13882
|
};
|
|
@@ -14089,7 +14162,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14089
14162
|
*/
|
|
14090
14163
|
class ColumnMenuItemBase {
|
|
14091
14164
|
/**
|
|
14092
|
-
* Represents the [`ColumnMenuService`](
|
|
14165
|
+
* Represents the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) class.
|
|
14093
14166
|
* This input is required.
|
|
14094
14167
|
*/
|
|
14095
14168
|
service;
|
|
@@ -14172,7 +14245,7 @@ const hasItems = (settings, column) => hasAutoSizeAllColumns(settings) ||
|
|
|
14172
14245
|
|
|
14173
14246
|
/**
|
|
14174
14247
|
* Represents the content template of the
|
|
14175
|
-
* [`ColumnMenuItemComponent`](
|
|
14248
|
+
* [`ColumnMenuItemComponent`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuitemcomponent) component.
|
|
14176
14249
|
* Use this directive to specify the content of a column menu item.
|
|
14177
14250
|
* To define the content template, nest an `<ng-template>` tag with the
|
|
14178
14251
|
* `kendoGridColumnMenuItemContentTemplate` directive inside a `<kendo-grid-columnmenu-item>`.
|
|
@@ -14227,7 +14300,7 @@ const normalize$1 = (...settings) => Object.assign({}, DEFAULTS, ...settings);
|
|
|
14227
14300
|
|
|
14228
14301
|
/**
|
|
14229
14302
|
* Represents an item that you can place inside a
|
|
14230
|
-
* [`ColumnMenuTemplate`](
|
|
14303
|
+
* [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
14231
14304
|
*
|
|
14232
14305
|
* @example
|
|
14233
14306
|
* ```html
|
|
@@ -14304,7 +14377,7 @@ class ColumnMenuItemComponent {
|
|
|
14304
14377
|
*/
|
|
14305
14378
|
focused;
|
|
14306
14379
|
/**
|
|
14307
|
-
* Represents the [ColumnMenuService](
|
|
14380
|
+
* Represents the [ColumnMenuService](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) class.
|
|
14308
14381
|
* Required to include the item in the column menu keyboard navigation sequence.
|
|
14309
14382
|
*/
|
|
14310
14383
|
service;
|
|
@@ -14420,9 +14493,9 @@ class ColumnMenuItemComponent {
|
|
|
14420
14493
|
<kendo-icon-wrapper
|
|
14421
14494
|
[name]="icon"
|
|
14422
14495
|
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
14423
|
-
}
|
|
14424
|
-
{{ text }}
|
|
14425
|
-
|
|
14496
|
+
}<!-- avoid extra spaces in the rendered HTML
|
|
14497
|
+
-->{{ text }}<!--
|
|
14498
|
+
-->@if ((ctx.grid.isActionSheetExpanded && adaptiveGridService.viewType === 'sortToolbarTool' && sortDescriptor(column.field).dir)) {
|
|
14426
14499
|
<span
|
|
14427
14500
|
class="k-columnmenu-indicators">
|
|
14428
14501
|
<kendo-icon-wrapper
|
|
@@ -14460,7 +14533,7 @@ class ColumnMenuItemComponent {
|
|
|
14460
14533
|
</div>
|
|
14461
14534
|
}
|
|
14462
14535
|
}
|
|
14463
|
-
|
|
14536
|
+
|
|
14464
14537
|
<ng-template #content>
|
|
14465
14538
|
<div
|
|
14466
14539
|
class="k-columnmenu-item"
|
|
@@ -14476,9 +14549,9 @@ class ColumnMenuItemComponent {
|
|
|
14476
14549
|
<kendo-icon-wrapper
|
|
14477
14550
|
[name]="icon"
|
|
14478
14551
|
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
14479
|
-
}
|
|
14480
|
-
{{ text }}
|
|
14481
|
-
|
|
14552
|
+
}<!-- avoid extra spaces in the rendered HTML
|
|
14553
|
+
-->{{ text }}<!--
|
|
14554
|
+
-->@if ((ctx.grid.isActionSheetExpanded && adaptiveGridService.viewType === 'sortToolbarTool' && sortDescriptor(column.field).dir)) {
|
|
14482
14555
|
<span
|
|
14483
14556
|
class="k-columnmenu-indicators">
|
|
14484
14557
|
<kendo-icon-wrapper
|
|
@@ -14587,9 +14660,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14587
14660
|
<kendo-icon-wrapper
|
|
14588
14661
|
[name]="icon"
|
|
14589
14662
|
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
14590
|
-
}
|
|
14591
|
-
{{ text }}
|
|
14592
|
-
|
|
14663
|
+
}<!-- avoid extra spaces in the rendered HTML
|
|
14664
|
+
-->{{ text }}<!--
|
|
14665
|
+
-->@if ((ctx.grid.isActionSheetExpanded && adaptiveGridService.viewType === 'sortToolbarTool' && sortDescriptor(column.field).dir)) {
|
|
14593
14666
|
<span
|
|
14594
14667
|
class="k-columnmenu-indicators">
|
|
14595
14668
|
<kendo-icon-wrapper
|
|
@@ -14627,7 +14700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14627
14700
|
</div>
|
|
14628
14701
|
}
|
|
14629
14702
|
}
|
|
14630
|
-
|
|
14703
|
+
|
|
14631
14704
|
<ng-template #content>
|
|
14632
14705
|
<div
|
|
14633
14706
|
class="k-columnmenu-item"
|
|
@@ -14643,9 +14716,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14643
14716
|
<kendo-icon-wrapper
|
|
14644
14717
|
[name]="icon"
|
|
14645
14718
|
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
14646
|
-
}
|
|
14647
|
-
{{ text }}
|
|
14648
|
-
|
|
14719
|
+
}<!-- avoid extra spaces in the rendered HTML
|
|
14720
|
+
-->{{ text }}<!--
|
|
14721
|
+
-->@if ((ctx.grid.isActionSheetExpanded && adaptiveGridService.viewType === 'sortToolbarTool' && sortDescriptor(column.field).dir)) {
|
|
14649
14722
|
<span
|
|
14650
14723
|
class="k-columnmenu-indicators">
|
|
14651
14724
|
<kendo-icon-wrapper
|
|
@@ -14720,11 +14793,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14720
14793
|
|
|
14721
14794
|
/**
|
|
14722
14795
|
* Represents the column-menu item for resizing all columns to the minimum possible width so that they fit the widest header or cell content without wrapping.
|
|
14723
|
-
* [See example](
|
|
14796
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#autosize-all-columns-item).
|
|
14724
14797
|
*
|
|
14725
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
14726
|
-
* To register it as a column menu item, set the [`ColumnMenuService`](
|
|
14727
|
-
* the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component. [See example](
|
|
14798
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
14799
|
+
* To register it as a column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) passed by
|
|
14800
|
+
* the template to the `service` input of the `kendo-grid-columnmenu-autosize-all-columns` component. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#customizing-the-content).
|
|
14728
14801
|
*
|
|
14729
14802
|
* @example
|
|
14730
14803
|
* ```html
|
|
@@ -14797,10 +14870,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14797
14870
|
|
|
14798
14871
|
/**
|
|
14799
14872
|
* Represents the column-menu item for resizing the specified column to the minimum possible width so that it fits the header or cell content without wrapping.
|
|
14800
|
-
* [See example](
|
|
14873
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#autosize-column-item).
|
|
14801
14874
|
*
|
|
14802
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
14803
|
-
* Set the [`ColumnMenuService`](
|
|
14875
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
14876
|
+
* Set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) and `column` passed by
|
|
14804
14877
|
* the template to the `service` and `column` inputs of the `kendo-grid-columnmenu-autosize-column` component.
|
|
14805
14878
|
*
|
|
14806
14879
|
* @example
|
|
@@ -14881,11 +14954,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
14881
14954
|
}] } });
|
|
14882
14955
|
|
|
14883
14956
|
/**
|
|
14884
|
-
* Represents the column-menu item for selecting columns in the Grid. [See example](
|
|
14957
|
+
* Represents the column-menu item for selecting columns in the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#column-chooser-item).
|
|
14885
14958
|
*
|
|
14886
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
14887
|
-
* To register it as a column menu item, set the [`ColumnMenuService`](
|
|
14888
|
-
* the template to the `service` input of the `kendo-grid-columnmenu-chooser` component. [See example](
|
|
14959
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
14960
|
+
* To register it as a column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) passed by
|
|
14961
|
+
* the template to the `service` input of the `kendo-grid-columnmenu-chooser` component. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#customizing-the-content).
|
|
14889
14962
|
*
|
|
14890
14963
|
* @example
|
|
14891
14964
|
* ```html
|
|
@@ -15019,11 +15092,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15019
15092
|
|
|
15020
15093
|
/**
|
|
15021
15094
|
* Represents a column-menu item for sticking or unsticking columns in the Grid.
|
|
15022
|
-
* [See example](
|
|
15095
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#stick-and-unstick-items).
|
|
15023
15096
|
*
|
|
15024
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
15025
|
-
* To register the component as a column menu item, set the [`ColumnMenuService`](
|
|
15026
|
-
* [See example](
|
|
15097
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
15098
|
+
* To register the component as a column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) from the template to the `service` input of the `kendo-grid-columnmenu-stick` component.
|
|
15099
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#customizing-the-content).
|
|
15027
15100
|
*
|
|
15028
15101
|
* @example
|
|
15029
15102
|
* ```html
|
|
@@ -15126,10 +15199,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15126
15199
|
}], ctorParameters: () => [{ type: ContextService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }] });
|
|
15127
15200
|
|
|
15128
15201
|
/**
|
|
15129
|
-
* Represents the column-menu item for locking and unlocking columns in the Grid. [See example](
|
|
15202
|
+
* Represents the column-menu item for locking and unlocking columns in the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#lock-and-unlock-items).
|
|
15130
15203
|
*
|
|
15131
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
15132
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
15204
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
15205
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) that the template passes to the `service` input of the `kendo-grid-columnmenu-lock` component. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#customizing-the-content).
|
|
15133
15206
|
*
|
|
15134
15207
|
* @example
|
|
15135
15208
|
* ```html
|
|
@@ -15234,8 +15307,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15234
15307
|
/**
|
|
15235
15308
|
* Represents the column-menu item that combines lock and sticky column functionalities.
|
|
15236
15309
|
*
|
|
15237
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
15238
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
15310
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
15311
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) that the template passes to the `service` input of the `kendo-grid-columnmenu-position` component. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#set-column-position-item).
|
|
15239
15312
|
*
|
|
15240
15313
|
* @example
|
|
15241
15314
|
* ```html
|
|
@@ -15415,10 +15488,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15415
15488
|
}] } });
|
|
15416
15489
|
|
|
15417
15490
|
/**
|
|
15418
|
-
* Represents the column-menu item for editing column filters in the Grid. [See example](
|
|
15491
|
+
* Represents the column-menu item for editing column filters in the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#filter-item).
|
|
15419
15492
|
*
|
|
15420
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
15421
|
-
* To register the component as a known column menu item, set the [`ColumnMenuService`](
|
|
15493
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive.
|
|
15494
|
+
* To register the component as a known column menu item, set the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) that the template passes to the `service` input of the `kendo-grid-columnmenu-filter` component. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#customizing-the-content).
|
|
15422
15495
|
*
|
|
15423
15496
|
* @example
|
|
15424
15497
|
* ```html
|
|
@@ -15555,7 +15628,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15555
15628
|
}] } });
|
|
15556
15629
|
|
|
15557
15630
|
/**
|
|
15558
|
-
* Represents a directive that manages keyboard navigation for a column menu item ([see example](
|
|
15631
|
+
* Represents a directive that manages keyboard navigation for a column menu item ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#customizing-the-content)).
|
|
15559
15632
|
*
|
|
15560
15633
|
* @example
|
|
15561
15634
|
* ```html
|
|
@@ -15777,7 +15850,7 @@ class SortService {
|
|
|
15777
15850
|
* Represents the column-menu item for sorting Grid columns.
|
|
15778
15851
|
*
|
|
15779
15852
|
* Provides sorting options (ascending and descending) for a specific column in the Grid.
|
|
15780
|
-
* Place this component inside a [`ColumnMenuTemplate`](
|
|
15853
|
+
* Place this component inside a [`ColumnMenuTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenutemplatedirective) directive and pass the [`ColumnMenuService`](https://www.telerik.com/kendo-angular-ui/components/grid/api/columnmenuservice) to the `service` input of the `kendo-grid-columnmenu-sort` component.
|
|
15781
15854
|
*
|
|
15782
15855
|
* @example
|
|
15783
15856
|
* ```html
|
|
@@ -15883,7 +15956,7 @@ const POPUP_CLASSES = 'k-grid-columnmenu-popup k-column-menu';
|
|
|
15883
15956
|
let id = 0;
|
|
15884
15957
|
const getId = (gridId) => `${gridId}-column-menu-${id++}`;
|
|
15885
15958
|
/**
|
|
15886
|
-
* Represents the [column menu](
|
|
15959
|
+
* Represents the [column menu](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu#customizing-the-position) component.
|
|
15887
15960
|
*
|
|
15888
15961
|
* @example
|
|
15889
15962
|
* ```html
|
|
@@ -15928,12 +16001,12 @@ class ColumnMenuComponent {
|
|
|
15928
16001
|
settings = {};
|
|
15929
16002
|
/**
|
|
15930
16003
|
* The sort descriptors for the Grid data.
|
|
15931
|
-
* Typically bound to [`GridComponent.sort`](
|
|
16004
|
+
* Typically bound to [`GridComponent.sort`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#sort).
|
|
15932
16005
|
*/
|
|
15933
16006
|
sort;
|
|
15934
16007
|
/**
|
|
15935
16008
|
* The filter descriptor for the Grid data.
|
|
15936
|
-
* Typically bound to [`GridComponent.filter`](
|
|
16009
|
+
* Typically bound to [`GridComponent.filter`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#filter).
|
|
15937
16010
|
*/
|
|
15938
16011
|
filter;
|
|
15939
16012
|
/**
|
|
@@ -16757,7 +16830,7 @@ const componentColumns = (component) => {
|
|
|
16757
16830
|
return orderBy(columns, [{ field: 'locked', dir: 'desc' }]);
|
|
16758
16831
|
};
|
|
16759
16832
|
/**
|
|
16760
|
-
* The component is required when exporting the data to an Excel file. The component provides different options to further configure the Excel export settings of the Grid ([see example](
|
|
16833
|
+
* The component is required when exporting the data to an Excel file. The component provides different options to further configure the Excel export settings of the Grid ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/excel-export)).
|
|
16761
16834
|
*
|
|
16762
16835
|
* @example
|
|
16763
16836
|
* ```html
|
|
@@ -16787,20 +16860,20 @@ class ExcelComponent {
|
|
|
16787
16860
|
*/
|
|
16788
16861
|
date;
|
|
16789
16862
|
/**
|
|
16790
|
-
* Forwards the content to [`proxyURL`](#
|
|
16863
|
+
* Forwards the content to [`proxyURL`](#proxyurl) even if the browser supports local file saving when set to `true`.
|
|
16791
16864
|
*/
|
|
16792
16865
|
forceProxy;
|
|
16793
16866
|
/**
|
|
16794
16867
|
* Sets the URL of the server-side proxy that streams the file to the user. Use a proxy if the browser cannot save files locally.
|
|
16795
16868
|
* You can also use a proxy to reduce memory usage by transmitting the file over the network.
|
|
16796
|
-
* Set [`forceProxy`](#
|
|
16869
|
+
* Set [`forceProxy`](#forceproxy) to `true` to skip client-side saving.
|
|
16797
16870
|
* The proxy receives a POST request with specific parameters and returns the decoded file with the `"Content-Disposition"` header set to `attachment; filename="<fileName.xslx>"`.
|
|
16798
|
-
* For more details, see the [File Saver](
|
|
16871
|
+
* For more details, see the [File Saver](https://www.telerik.com/kendo-angular-ui/components/file-saver) documentation.
|
|
16799
16872
|
*/
|
|
16800
16873
|
proxyURL;
|
|
16801
16874
|
/**
|
|
16802
16875
|
* Provides a function to get the exported data options. By default, uses the current Grid data and group.
|
|
16803
|
-
* Supply a custom function to export different data. Typically used to export all data, not just the current page [see example](
|
|
16876
|
+
* Supply a custom function to export different data. Typically used to export all data, not just the current page [see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/excel-export#controlling-the-exported-data).
|
|
16804
16877
|
*/
|
|
16805
16878
|
fetchData;
|
|
16806
16879
|
/**
|
|
@@ -16924,8 +16997,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
16924
16997
|
|
|
16925
16998
|
/**
|
|
16926
16999
|
* Represents the `excelExport` command of the Grid. Apply this
|
|
16927
|
-
* directive to any `button` element inside a [`ToolbarTemplate`](
|
|
16928
|
-
* When the user clicks the button, the [`excelExport`](
|
|
17000
|
+
* directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/toolbartemplatedirective).
|
|
17001
|
+
* When the user clicks the button, the [`excelExport`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#excelexport) event fires ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/excel-export)).
|
|
16929
17002
|
*
|
|
16930
17003
|
* @example
|
|
16931
17004
|
* ```html
|
|
@@ -17008,6 +17081,433 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
17008
17081
|
args: ['class.k-grid-excel']
|
|
17009
17082
|
}] } });
|
|
17010
17083
|
|
|
17084
|
+
/**
|
|
17085
|
+
* @hidden
|
|
17086
|
+
*/
|
|
17087
|
+
class CSVService {
|
|
17088
|
+
saveToCSV = new EventEmitter();
|
|
17089
|
+
exportClick = new EventEmitter();
|
|
17090
|
+
save(component) {
|
|
17091
|
+
if (this.saveToCSV.observers.length === 0) {
|
|
17092
|
+
if (isDevMode()) {
|
|
17093
|
+
throw new Error(GridConfigurationErrorMessages.requiredModule('csv', 'CSVModule', '<kendo-grid-csv>'));
|
|
17094
|
+
}
|
|
17095
|
+
}
|
|
17096
|
+
else {
|
|
17097
|
+
this.saveToCSV.emit(component);
|
|
17098
|
+
}
|
|
17099
|
+
}
|
|
17100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
17101
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVService });
|
|
17102
|
+
}
|
|
17103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVService, decorators: [{
|
|
17104
|
+
type: Injectable
|
|
17105
|
+
}] });
|
|
17106
|
+
|
|
17107
|
+
/**
|
|
17108
|
+
* Provides arguments for the `csvExport` event.
|
|
17109
|
+
*/
|
|
17110
|
+
class CSVExportEvent extends PreventableEvent {
|
|
17111
|
+
csv;
|
|
17112
|
+
/**
|
|
17113
|
+
* @hidden
|
|
17114
|
+
*/
|
|
17115
|
+
constructor(csv) {
|
|
17116
|
+
super();
|
|
17117
|
+
this.csv = csv;
|
|
17118
|
+
}
|
|
17119
|
+
}
|
|
17120
|
+
|
|
17121
|
+
/**
|
|
17122
|
+
* The component is required when exporting the data to a CSV file. The component provides different options to customize the exported file and its content.
|
|
17123
|
+
*
|
|
17124
|
+
* @example
|
|
17125
|
+
* ```html
|
|
17126
|
+
* <kendo-grid>
|
|
17127
|
+
* <kendo-grid-csv fileName="Export.csv"></kendo-grid-csv>
|
|
17128
|
+
* </kendo-grid>
|
|
17129
|
+
* ```
|
|
17130
|
+
*/
|
|
17131
|
+
class CSVComponent {
|
|
17132
|
+
ctx;
|
|
17133
|
+
zone;
|
|
17134
|
+
/**
|
|
17135
|
+
* Sets the file name for the exported CSV file.
|
|
17136
|
+
* @default "Export.csv"
|
|
17137
|
+
*/
|
|
17138
|
+
fileName = 'Export.csv';
|
|
17139
|
+
/**
|
|
17140
|
+
* Provides a function to get the exported data. By default, uses the data displayed in the Grid in accordance with the currently applied `State`. Supply a custom function to export a different data set. Typically used to export all data, not just the current page.
|
|
17141
|
+
*/
|
|
17142
|
+
fetchData;
|
|
17143
|
+
/**
|
|
17144
|
+
* Sets optional column headers to render on the first line. By default, column names are extracted from each column's `title` or `field` properties.
|
|
17145
|
+
*/
|
|
17146
|
+
names;
|
|
17147
|
+
/**
|
|
17148
|
+
* Sets property names to extract from object or Map rows, in order. By default, these are the properties used as `field` binding values in the Grid's column definitions.
|
|
17149
|
+
*/
|
|
17150
|
+
keys;
|
|
17151
|
+
/**
|
|
17152
|
+
* Sets the character used to separate values in a row. Must be a single character.
|
|
17153
|
+
* @default ","
|
|
17154
|
+
*/
|
|
17155
|
+
delimiter = ',';
|
|
17156
|
+
/**
|
|
17157
|
+
* Sets the string used to terminate each line.
|
|
17158
|
+
* @default "\r\n"
|
|
17159
|
+
*/
|
|
17160
|
+
lineSeparator = '\r\n';
|
|
17161
|
+
/**
|
|
17162
|
+
* When `true`, prefixes potentially dangerous formula characters (`=`, `+`, `-`, `@`, tab, `\r`) with a single quote (`'`) to prevent formula injection attacks in spreadsheet applications.
|
|
17163
|
+
* @default true
|
|
17164
|
+
*/
|
|
17165
|
+
preventFormulaInjection = true;
|
|
17166
|
+
/**
|
|
17167
|
+
* Sets the maximum number of characters allowed per cell. Values exceeding this limit are truncated.
|
|
17168
|
+
* @default 32767
|
|
17169
|
+
*/
|
|
17170
|
+
maxCellLength = 32767;
|
|
17171
|
+
/**
|
|
17172
|
+
* Maximum number of rows to export.
|
|
17173
|
+
* Data exceeding this limit is automatically truncated.
|
|
17174
|
+
* Default: 1000000 (prevents memory exhaustion and DoS attacks).
|
|
17175
|
+
*
|
|
17176
|
+
* @default 1000000
|
|
17177
|
+
*/
|
|
17178
|
+
maxRows = 1000000;
|
|
17179
|
+
/**
|
|
17180
|
+
* Maximum number of columns to export.
|
|
17181
|
+
* Keys/columns exceeding this limit are automatically truncated.
|
|
17182
|
+
* Default: 1000 (prevents memory exhaustion and DoS attacks).
|
|
17183
|
+
*
|
|
17184
|
+
* @default 1000
|
|
17185
|
+
*/
|
|
17186
|
+
maxColumns = 1000;
|
|
17187
|
+
/**
|
|
17188
|
+
* When `true`, adds a UTF-8 Byte Order Mark (BOM) at the beginning of the file. Helps applications like Microsoft Excel correctly recognize UTF-8 encoding.
|
|
17189
|
+
* @default false
|
|
17190
|
+
*/
|
|
17191
|
+
includeUTF8BOM = false;
|
|
17192
|
+
/**
|
|
17193
|
+
* Provides a custom formatter for group headers in grouped data exports. Receives the display names of grouped fields and returns the formatted header.
|
|
17194
|
+
* @default Joins display names with '/' separator
|
|
17195
|
+
*/
|
|
17196
|
+
groupHeaderFormatter;
|
|
17197
|
+
/**
|
|
17198
|
+
* Provides a custom formatter for group value rows in grouped data exports. Receives the values and field names, and returns the formatted group value.
|
|
17199
|
+
* @default Joins values with '/' separator
|
|
17200
|
+
*/
|
|
17201
|
+
groupValueFormatter;
|
|
17202
|
+
/**
|
|
17203
|
+
* Forwards the content to [`proxyURL`](#toc-proxyurl) even if the browser supports local file saving when set to `true`.
|
|
17204
|
+
*/
|
|
17205
|
+
forceProxy;
|
|
17206
|
+
/**
|
|
17207
|
+
* Sets the URL of the server-side proxy that streams the file to the user. Use a proxy if the browser cannot save files locally.
|
|
17208
|
+
* Set [`forceProxy`](#toc-forceproxy) to `true` to skip client-side saving.
|
|
17209
|
+
* The proxy receives a POST request with specific parameters and returns the decoded file with the `"Content-Disposition"` header set to `attachment; filename="<fileName.csv>"`.
|
|
17210
|
+
* For more details, see the [File Saver](https://www.telerik.com/kendo-angular-ui/components/file-saver) documentation.
|
|
17211
|
+
*/
|
|
17212
|
+
proxyURL;
|
|
17213
|
+
saveSubscription;
|
|
17214
|
+
dataSubscription;
|
|
17215
|
+
constructor(csvService, ctx, zone) {
|
|
17216
|
+
this.ctx = ctx;
|
|
17217
|
+
this.zone = zone;
|
|
17218
|
+
this.saveSubscription = csvService.saveToCSV.subscribe(this.save.bind(this));
|
|
17219
|
+
this.ctx.csvComponent = this;
|
|
17220
|
+
}
|
|
17221
|
+
ngOnDestroy() {
|
|
17222
|
+
this.saveSubscription.unsubscribe();
|
|
17223
|
+
if (this.dataSubscription) {
|
|
17224
|
+
this.dataSubscription.unsubscribe();
|
|
17225
|
+
}
|
|
17226
|
+
if (this.ctx.csvComponent === this) {
|
|
17227
|
+
this.ctx.csvComponent = undefined;
|
|
17228
|
+
}
|
|
17229
|
+
}
|
|
17230
|
+
/**
|
|
17231
|
+
* @hidden
|
|
17232
|
+
*/
|
|
17233
|
+
toCSVString(component) {
|
|
17234
|
+
const data = this.fetchData ? this.fetchData(component) : component.data;
|
|
17235
|
+
const options = this.getCSVOptions(component);
|
|
17236
|
+
if (data instanceof Promise) {
|
|
17237
|
+
return data.then(result => toCSV({ data: result, ...options }));
|
|
17238
|
+
}
|
|
17239
|
+
else if (data instanceof Observable) {
|
|
17240
|
+
return data.pipe(take(1)).toPromise().then(result => toCSV({ data: result, ...options }));
|
|
17241
|
+
}
|
|
17242
|
+
else {
|
|
17243
|
+
return toCSV({ data: data, ...options });
|
|
17244
|
+
}
|
|
17245
|
+
}
|
|
17246
|
+
/**
|
|
17247
|
+
* @hidden
|
|
17248
|
+
*/
|
|
17249
|
+
saveAsCSV(component) {
|
|
17250
|
+
const result = this.toCSVString(component);
|
|
17251
|
+
const processCSV = (csvString) => {
|
|
17252
|
+
const args = new CSVExportEvent(csvString);
|
|
17253
|
+
component.csvExport.emit(args);
|
|
17254
|
+
if (!args.isDefaultPrevented()) {
|
|
17255
|
+
this.saveFile(args.csv);
|
|
17256
|
+
}
|
|
17257
|
+
};
|
|
17258
|
+
if (result instanceof Promise) {
|
|
17259
|
+
result.then(processCSV);
|
|
17260
|
+
}
|
|
17261
|
+
else {
|
|
17262
|
+
processCSV(result);
|
|
17263
|
+
}
|
|
17264
|
+
}
|
|
17265
|
+
save(component) {
|
|
17266
|
+
const data = this.fetchData ? this.fetchData(component) : component.data;
|
|
17267
|
+
const exportData = (result) => {
|
|
17268
|
+
delete this.dataSubscription;
|
|
17269
|
+
this.exportData(component, result);
|
|
17270
|
+
};
|
|
17271
|
+
if (data instanceof Promise) {
|
|
17272
|
+
data.then(exportData);
|
|
17273
|
+
}
|
|
17274
|
+
else if (data instanceof Observable) {
|
|
17275
|
+
this.dataSubscription = data.pipe(take(1)).subscribe(exportData);
|
|
17276
|
+
}
|
|
17277
|
+
else {
|
|
17278
|
+
exportData(data);
|
|
17279
|
+
}
|
|
17280
|
+
}
|
|
17281
|
+
exportData(component, result) {
|
|
17282
|
+
const options = this.getCSVOptions(component);
|
|
17283
|
+
const csvString = toCSV({ data: result, ...options });
|
|
17284
|
+
const args = new CSVExportEvent(csvString);
|
|
17285
|
+
component.csvExport.emit(args);
|
|
17286
|
+
if (!args.isDefaultPrevented()) {
|
|
17287
|
+
this.saveFile(args.csv);
|
|
17288
|
+
}
|
|
17289
|
+
}
|
|
17290
|
+
getCSVOptions(component) {
|
|
17291
|
+
const options = {
|
|
17292
|
+
delimiter: this.delimiter,
|
|
17293
|
+
lineSeparator: this.lineSeparator,
|
|
17294
|
+
preventFormulaInjection: this.preventFormulaInjection,
|
|
17295
|
+
maxRows: this.maxRows,
|
|
17296
|
+
maxColumns: this.maxColumns,
|
|
17297
|
+
maxCellLength: this.maxCellLength,
|
|
17298
|
+
includeUTF8BOM: this.includeUTF8BOM
|
|
17299
|
+
};
|
|
17300
|
+
if (this.names === undefined) {
|
|
17301
|
+
options.names = this.extractColumnNames(component);
|
|
17302
|
+
}
|
|
17303
|
+
else {
|
|
17304
|
+
options.names = this.names;
|
|
17305
|
+
}
|
|
17306
|
+
if (!this.keys) {
|
|
17307
|
+
options.keys = this.extractColumnKeys(component);
|
|
17308
|
+
}
|
|
17309
|
+
else {
|
|
17310
|
+
options.keys = this.keys;
|
|
17311
|
+
}
|
|
17312
|
+
if (this.groupHeaderFormatter) {
|
|
17313
|
+
options.groupHeaderFormatter = this.groupHeaderFormatter;
|
|
17314
|
+
}
|
|
17315
|
+
if (this.groupValueFormatter) {
|
|
17316
|
+
options.groupValueFormatter = this.groupValueFormatter;
|
|
17317
|
+
}
|
|
17318
|
+
return options;
|
|
17319
|
+
}
|
|
17320
|
+
extractColumnNames(component) {
|
|
17321
|
+
const visibleColumns = sortColumns(component.columns.toArray())
|
|
17322
|
+
.filter((column) => column.isVisible && !column.isSpanColumn && !column.isColumnGroup);
|
|
17323
|
+
return visibleColumns.map((column) => column.title || column.field || '');
|
|
17324
|
+
}
|
|
17325
|
+
extractColumnKeys(component) {
|
|
17326
|
+
const visibleColumns = sortColumns(component.columns.toArray())
|
|
17327
|
+
.filter((column) => column.isVisible && !column.isSpanColumn && !column.isColumnGroup);
|
|
17328
|
+
return visibleColumns.map((column) => column.field || '');
|
|
17329
|
+
}
|
|
17330
|
+
saveFile(csvString) {
|
|
17331
|
+
const type = `text/csv; charset=UTF-8${this.names !== null ? '; header=present' : ''}`;
|
|
17332
|
+
const blob = new Blob([csvString], { type });
|
|
17333
|
+
this.zone.runOutsideAngular(() => {
|
|
17334
|
+
saveAs(blob, this.fileName, {
|
|
17335
|
+
forceProxy: this.forceProxy,
|
|
17336
|
+
proxyURL: this.proxyURL
|
|
17337
|
+
});
|
|
17338
|
+
});
|
|
17339
|
+
}
|
|
17340
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVComponent, deps: [{ token: CSVService }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
17341
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: CSVComponent, isStandalone: true, selector: "kendo-grid-csv", inputs: { fileName: "fileName", fetchData: "fetchData", names: "names", keys: "keys", delimiter: "delimiter", lineSeparator: "lineSeparator", preventFormulaInjection: "preventFormulaInjection", maxCellLength: "maxCellLength", maxRows: "maxRows", maxColumns: "maxColumns", includeUTF8BOM: "includeUTF8BOM", groupHeaderFormatter: "groupHeaderFormatter", groupValueFormatter: "groupValueFormatter", forceProxy: "forceProxy", proxyURL: "proxyURL" }, ngImport: i0, template: ``, isInline: true });
|
|
17342
|
+
}
|
|
17343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVComponent, decorators: [{
|
|
17344
|
+
type: Component,
|
|
17345
|
+
args: [{
|
|
17346
|
+
selector: 'kendo-grid-csv',
|
|
17347
|
+
template: ``,
|
|
17348
|
+
standalone: true
|
|
17349
|
+
}]
|
|
17350
|
+
}], ctorParameters: () => [{ type: CSVService }, { type: ContextService }, { type: i0.NgZone }], propDecorators: { fileName: [{
|
|
17351
|
+
type: Input
|
|
17352
|
+
}], fetchData: [{
|
|
17353
|
+
type: Input
|
|
17354
|
+
}], names: [{
|
|
17355
|
+
type: Input
|
|
17356
|
+
}], keys: [{
|
|
17357
|
+
type: Input
|
|
17358
|
+
}], delimiter: [{
|
|
17359
|
+
type: Input
|
|
17360
|
+
}], lineSeparator: [{
|
|
17361
|
+
type: Input
|
|
17362
|
+
}], preventFormulaInjection: [{
|
|
17363
|
+
type: Input
|
|
17364
|
+
}], maxCellLength: [{
|
|
17365
|
+
type: Input
|
|
17366
|
+
}], maxRows: [{
|
|
17367
|
+
type: Input
|
|
17368
|
+
}], maxColumns: [{
|
|
17369
|
+
type: Input
|
|
17370
|
+
}], includeUTF8BOM: [{
|
|
17371
|
+
type: Input
|
|
17372
|
+
}], groupHeaderFormatter: [{
|
|
17373
|
+
type: Input
|
|
17374
|
+
}], groupValueFormatter: [{
|
|
17375
|
+
type: Input
|
|
17376
|
+
}], forceProxy: [{
|
|
17377
|
+
type: Input
|
|
17378
|
+
}], proxyURL: [{
|
|
17379
|
+
type: Input
|
|
17380
|
+
}] } });
|
|
17381
|
+
|
|
17382
|
+
/**
|
|
17383
|
+
* Represents the `csvExport` command of the Grid. Apply this
|
|
17384
|
+
* directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/grid/api/toolbartemplatedirective).
|
|
17385
|
+
* When the user clicks the button, the [`csvExport`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#csvexport) event fires ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/csv-export)).
|
|
17386
|
+
*
|
|
17387
|
+
* @example
|
|
17388
|
+
* ```html
|
|
17389
|
+
* <kendo-grid>
|
|
17390
|
+
* <ng-template kendoGridToolbarTemplate>
|
|
17391
|
+
* <button kendoGridCSVCommand>Export to CSV</button>
|
|
17392
|
+
* </ng-template>
|
|
17393
|
+
* <kendo-grid-csv fileName="Grid.csv"></kendo-grid-csv>
|
|
17394
|
+
* </kendo-grid>
|
|
17395
|
+
* ```
|
|
17396
|
+
*/
|
|
17397
|
+
class CSVCommandDirective extends Button {
|
|
17398
|
+
csvService;
|
|
17399
|
+
/**
|
|
17400
|
+
* @hidden
|
|
17401
|
+
*/
|
|
17402
|
+
onClick(e) {
|
|
17403
|
+
e.preventDefault();
|
|
17404
|
+
this.csvService.exportClick.emit();
|
|
17405
|
+
}
|
|
17406
|
+
/**
|
|
17407
|
+
* @hidden
|
|
17408
|
+
*/
|
|
17409
|
+
csvClass = true;
|
|
17410
|
+
constructor(csvService, element, renderer, ctx, ngZone) {
|
|
17411
|
+
super(element, renderer, null, ctx.localization, ngZone);
|
|
17412
|
+
this.csvService = csvService;
|
|
17413
|
+
this.ngZone = ngZone;
|
|
17414
|
+
}
|
|
17415
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVCommandDirective, deps: [{ token: CSVService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
17416
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: CSVCommandDirective, isStandalone: true, selector: "[kendoGridCSVCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-csv": "this.csvClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
17417
|
+
@if (icon || svgIcon) {
|
|
17418
|
+
<kendo-icon-wrapper
|
|
17419
|
+
innerCssClass="k-button-icon"
|
|
17420
|
+
[name]="icon"
|
|
17421
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
17422
|
+
}
|
|
17423
|
+
@if (imageUrl) {
|
|
17424
|
+
<span class="k-button-icon k-icon">
|
|
17425
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
17426
|
+
</span>
|
|
17427
|
+
}
|
|
17428
|
+
@if (iconClass) {
|
|
17429
|
+
<span class="k-button-icon" [ngClass]="iconClass"></span>
|
|
17430
|
+
}
|
|
17431
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
17432
|
+
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
17433
|
+
}
|
|
17434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVCommandDirective, decorators: [{
|
|
17435
|
+
type: Component,
|
|
17436
|
+
args: [{
|
|
17437
|
+
selector: '[kendoGridCSVCommand]',
|
|
17438
|
+
template: `
|
|
17439
|
+
@if (icon || svgIcon) {
|
|
17440
|
+
<kendo-icon-wrapper
|
|
17441
|
+
innerCssClass="k-button-icon"
|
|
17442
|
+
[name]="icon"
|
|
17443
|
+
[svgIcon]="svgIcon"></kendo-icon-wrapper>
|
|
17444
|
+
}
|
|
17445
|
+
@if (imageUrl) {
|
|
17446
|
+
<span class="k-button-icon k-icon">
|
|
17447
|
+
<img [src]="imageUrl" class="k-image" role="presentation" />
|
|
17448
|
+
</span>
|
|
17449
|
+
}
|
|
17450
|
+
@if (iconClass) {
|
|
17451
|
+
<span class="k-button-icon" [ngClass]="iconClass"></span>
|
|
17452
|
+
}
|
|
17453
|
+
<span class="k-button-text"><ng-content></ng-content></span>
|
|
17454
|
+
`,
|
|
17455
|
+
standalone: true,
|
|
17456
|
+
imports: [IconWrapperComponent, NgClass]
|
|
17457
|
+
}]
|
|
17458
|
+
}], ctorParameters: () => [{ type: CSVService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: ContextService }, { type: i0.NgZone }], propDecorators: { onClick: [{
|
|
17459
|
+
type: HostListener,
|
|
17460
|
+
args: ['click', ['$event']]
|
|
17461
|
+
}], csvClass: [{
|
|
17462
|
+
type: HostBinding,
|
|
17463
|
+
args: ['class.k-grid-csv']
|
|
17464
|
+
}] } });
|
|
17465
|
+
|
|
17466
|
+
/**
|
|
17467
|
+
* Represents the **Export to CSV** toolbar tool of the Grid.
|
|
17468
|
+
* Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent used in the Grid.
|
|
17469
|
+
* When the user clicks the button, the [`csvExport`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#csvexport) event fires ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/csv-export)).
|
|
17470
|
+
*
|
|
17471
|
+
* @example
|
|
17472
|
+
* ```html
|
|
17473
|
+
* <kendo-grid>
|
|
17474
|
+
* <kendo-toolbar>
|
|
17475
|
+
* <kendo-toolbar-button text="CSV Export" kendoGridCSVTool></kendo-toolbar-button>
|
|
17476
|
+
* </kendo-toolbar>
|
|
17477
|
+
* <kendo-grid-csv fileName="Grid.csv"></kendo-grid-csv>
|
|
17478
|
+
* </kendo-grid>
|
|
17479
|
+
* ```
|
|
17480
|
+
* @remarks
|
|
17481
|
+
* Applied to: {@link ToolBarButtonComponent}.
|
|
17482
|
+
*/
|
|
17483
|
+
class CSVCommandToolbarDirective extends ToolbarToolBase {
|
|
17484
|
+
csvService;
|
|
17485
|
+
constructor(csvService, host, ctx, zone, cdr) {
|
|
17486
|
+
super(host, ToolbarToolName.csvExport, ctx, zone, cdr);
|
|
17487
|
+
this.csvService = csvService;
|
|
17488
|
+
}
|
|
17489
|
+
ngOnInit() {
|
|
17490
|
+
super.ngOnInit();
|
|
17491
|
+
this.host.className = 'k-grid-csv';
|
|
17492
|
+
}
|
|
17493
|
+
/**
|
|
17494
|
+
* @hidden
|
|
17495
|
+
*/
|
|
17496
|
+
onClick(e) {
|
|
17497
|
+
e.preventDefault();
|
|
17498
|
+
this.csvService.exportClick.emit();
|
|
17499
|
+
}
|
|
17500
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVCommandToolbarDirective, deps: [{ token: CSVService }, { token: i54.ToolBarButtonComponent }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17501
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: CSVCommandToolbarDirective, isStandalone: true, selector: "[kendoGridCSVTool]", usesInheritance: true, ngImport: i0 });
|
|
17502
|
+
}
|
|
17503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVCommandToolbarDirective, decorators: [{
|
|
17504
|
+
type: Directive,
|
|
17505
|
+
args: [{
|
|
17506
|
+
selector: '[kendoGridCSVTool]',
|
|
17507
|
+
standalone: true
|
|
17508
|
+
}]
|
|
17509
|
+
}], ctorParameters: () => [{ type: CSVService }, { type: i54.ToolBarButtonComponent }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }] });
|
|
17510
|
+
|
|
17011
17511
|
/**
|
|
17012
17512
|
* @hidden
|
|
17013
17513
|
*/
|
|
@@ -17200,7 +17700,7 @@ const wrapTable = (table, size) => {
|
|
|
17200
17700
|
}
|
|
17201
17701
|
const wrapper = document.createElement('div');
|
|
17202
17702
|
const classes = ['k-grid'];
|
|
17203
|
-
if (size
|
|
17703
|
+
if (size) {
|
|
17204
17704
|
classes.push(`k-grid-${size === 'medium' ? 'md' : 'sm'}`);
|
|
17205
17705
|
}
|
|
17206
17706
|
wrapper.classList.add(...classes);
|
|
@@ -17234,7 +17734,7 @@ const setFirstCellClass = (header, headers) => {
|
|
|
17234
17734
|
const createTable = (colGroups, headers, bodies, footers, size) => {
|
|
17235
17735
|
const table = document.createElement('table');
|
|
17236
17736
|
const classes = ['k-table'];
|
|
17237
|
-
if (size
|
|
17737
|
+
if (size) {
|
|
17238
17738
|
classes.push(`k-table-${size === 'medium' ? 'md' : 'sm'}`);
|
|
17239
17739
|
}
|
|
17240
17740
|
table.classList.add(...classes);
|
|
@@ -17307,7 +17807,7 @@ const createDiv = (className) => {
|
|
|
17307
17807
|
return createElement$1('div', className);
|
|
17308
17808
|
};
|
|
17309
17809
|
/**
|
|
17310
|
-
* Configures the settings for exporting the Grid to PDF. ([See example](
|
|
17810
|
+
* Configures the settings for exporting the Grid to PDF. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/export/pdf-export)).
|
|
17311
17811
|
*
|
|
17312
17812
|
* Use this component to customize PDF export options for the Grid.
|
|
17313
17813
|
*
|
|
@@ -17331,7 +17831,7 @@ class PDFComponent extends PDFExportComponent {
|
|
|
17331
17831
|
allPages;
|
|
17332
17832
|
/**
|
|
17333
17833
|
* Sets the delay in milliseconds before exporting the Grid content.
|
|
17334
|
-
* Use this property when exporting complex components in Grid templates, such as charts or data-bound components with asynchronous data retrieval. ([See example](
|
|
17834
|
+
* Use this property when exporting complex components in Grid templates, such as charts or data-bound components with asynchronous data retrieval. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/export/pdf-export#exporting-all-pages)).
|
|
17335
17835
|
*
|
|
17336
17836
|
* @default 0
|
|
17337
17837
|
*/
|
|
@@ -17609,8 +18109,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
17609
18109
|
|
|
17610
18110
|
/**
|
|
17611
18111
|
* Represents the PDF export command of the Grid.
|
|
17612
|
-
* Apply this directive to any `button` element inside a [ToolbarTemplate](
|
|
17613
|
-
* When you click a button with this directive, the [`pdfExport`](
|
|
18112
|
+
* Apply this directive to any `button` element inside a [ToolbarTemplate](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent).
|
|
18113
|
+
* When you click a button with this directive, the [`pdfExport`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#pdfexport) event fires. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/export/pdf-export)).
|
|
17614
18114
|
*
|
|
17615
18115
|
* @example
|
|
17616
18116
|
* ```html
|
|
@@ -17934,7 +18434,11 @@ class ColumnHandleDirective {
|
|
|
17934
18434
|
if (!isDocumentAvailable()) {
|
|
17935
18435
|
return;
|
|
17936
18436
|
}
|
|
17937
|
-
|
|
18437
|
+
// Use existing resizeStartWidth if already set (for keyboard resizing),
|
|
18438
|
+
// otherwise measure from DOM element (for mouse resizing)
|
|
18439
|
+
if (!this.column.resizeStartWidth) {
|
|
18440
|
+
this.column.resizeStartWidth = headerWidth(this.element);
|
|
18441
|
+
}
|
|
17938
18442
|
if (this.isConstrainedMode && !this.service.adjacentColumn) {
|
|
17939
18443
|
this.setAdjacentColumn();
|
|
17940
18444
|
}
|
|
@@ -19202,7 +19706,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
19202
19706
|
}], ctorParameters: () => [{ type: DomEventsService }, { type: CellSelectionAggregateService }, { type: LocalDataChangesService }, { type: NavigationService }] });
|
|
19203
19707
|
|
|
19204
19708
|
/**
|
|
19205
|
-
* Adds a select-all checkbox to the Grid. [See example](
|
|
19709
|
+
* Adds a select-all checkbox to the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting#selecting-all-rows).
|
|
19206
19710
|
*
|
|
19207
19711
|
* @example
|
|
19208
19712
|
* ```html
|
|
@@ -19226,7 +19730,7 @@ class SelectAllCheckboxDirective {
|
|
|
19226
19730
|
state;
|
|
19227
19731
|
/**
|
|
19228
19732
|
* Emits when the user clicks the select-all checkbox.
|
|
19229
|
-
* ([see example](
|
|
19733
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection#select-all-checkbox)).
|
|
19230
19734
|
*/
|
|
19231
19735
|
selectAllChange = new EventEmitter();
|
|
19232
19736
|
destroyClick;
|
|
@@ -19388,7 +19892,7 @@ class HeaderComponent {
|
|
|
19388
19892
|
totalColumnsCount = 0;
|
|
19389
19893
|
totalColumns;
|
|
19390
19894
|
tabIndex;
|
|
19391
|
-
size
|
|
19895
|
+
size;
|
|
19392
19896
|
sortedFields = {};
|
|
19393
19897
|
hostClass = true;
|
|
19394
19898
|
get sortableLabel() {
|
|
@@ -20583,7 +21087,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20583
21087
|
|
|
20584
21088
|
/**
|
|
20585
21089
|
* Represents the command columns of the Grid. Define the content of the column inside an `<ng-template>` tag.
|
|
20586
|
-
* For more information and examples, see the [Editing Action Buttons](
|
|
21090
|
+
* For more information and examples, see the [Editing Action Buttons](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics#editing-action-buttons) article.
|
|
20587
21091
|
*
|
|
20588
21092
|
* @example
|
|
20589
21093
|
* ```html
|
|
@@ -20652,7 +21156,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20652
21156
|
}] } });
|
|
20653
21157
|
|
|
20654
21158
|
/**
|
|
20655
|
-
* Represents the checkbox column for selecting rows in the Grid. [See example](
|
|
21159
|
+
* Represents the checkbox column for selecting rows in the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection#select-all-checkbox).
|
|
20656
21160
|
*
|
|
20657
21161
|
* Use this column to add checkboxes for row selection.
|
|
20658
21162
|
*
|
|
@@ -20746,7 +21250,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20746
21250
|
/**
|
|
20747
21251
|
* Adds a row-selection checkbox to the Grid.
|
|
20748
21252
|
* Use this directive on a `<kendo-checkbox>` component or `<input type="checkbox">` element inside a cell template.
|
|
20749
|
-
* When the user clicks the checkbox, the Grid triggers a [`selectionChange`](
|
|
21253
|
+
* When the user clicks the checkbox, the Grid triggers a [`selectionChange`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#selectionChange) event.
|
|
20750
21254
|
*
|
|
20751
21255
|
* @example
|
|
20752
21256
|
* ```html
|
|
@@ -20887,7 +21391,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
20887
21391
|
|
|
20888
21392
|
/**
|
|
20889
21393
|
* Lets you customize the item shown when the Grid has no data.
|
|
20890
|
-
* Place an `<ng-template>` tag with the `kendoGridNoRecordsTemplate` directive inside `<kendo-grid>` to define the no-records template. ([See example](
|
|
21394
|
+
* Place an `<ng-template>` tag with the `kendoGridNoRecordsTemplate` directive inside `<kendo-grid>` to define the no-records template. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/no-records-template)).
|
|
20891
21395
|
*
|
|
20892
21396
|
* @example
|
|
20893
21397
|
* ```html
|
|
@@ -22836,10 +23340,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22836
23340
|
|
|
22837
23341
|
/**
|
|
22838
23342
|
* Represents the `edit` command of the Grid. You can apply this directive to any `button`
|
|
22839
|
-
* element inside a [CommandColumnComponent](
|
|
23343
|
+
* element inside a [CommandColumnComponent](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent).
|
|
22840
23344
|
* When an associated button with the directive is clicked, the
|
|
22841
|
-
* [`edit`](
|
|
22842
|
-
* is triggered ([see example](
|
|
23345
|
+
* [`edit`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#edit) event
|
|
23346
|
+
* is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics)).
|
|
22843
23347
|
*
|
|
22844
23348
|
* When the row is in the `edit` mode, the button with `kendoGridEditCommand` is automatically hidden.
|
|
22845
23349
|
*
|
|
@@ -22947,11 +23451,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
22947
23451
|
|
|
22948
23452
|
/**
|
|
22949
23453
|
* Represents the `cancel` command of the Grid. Apply this directive to any `button`
|
|
22950
|
-
* element inside a [CommandColumnComponent](
|
|
22951
|
-
* ([see example](
|
|
23454
|
+
* element inside a [CommandColumnComponent](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent)
|
|
23455
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics#editing-action-buttons)).
|
|
22952
23456
|
*
|
|
22953
23457
|
* When a button with this directive is clicked, the
|
|
22954
|
-
* [`cancel`](
|
|
23458
|
+
* [`cancel`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cancel) event
|
|
22955
23459
|
* is triggered. If the row is not in edit mode, the button is automatically hidden.
|
|
22956
23460
|
*
|
|
22957
23461
|
* You can customize the button content based on the row's state.
|
|
@@ -23061,10 +23565,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23061
23565
|
|
|
23062
23566
|
/**
|
|
23063
23567
|
* Represents the `save` command of the Grid. Apply this directive to any `button`
|
|
23064
|
-
* element inside a [CommandColumnComponent](
|
|
23065
|
-
* ([see example](
|
|
23568
|
+
* element inside a [CommandColumnComponent](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent)
|
|
23569
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics#editing-action-buttons)).
|
|
23066
23570
|
* When you click the button with this directive, the
|
|
23067
|
-
* [`save`](
|
|
23571
|
+
* [`save`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#save) event fires.
|
|
23068
23572
|
* The button with `kendoGridSaveCommand` is automatically hidden when the row is not in edit mode.
|
|
23069
23573
|
*
|
|
23070
23574
|
* You can change the button content based on the row state.
|
|
@@ -23174,10 +23678,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23174
23678
|
|
|
23175
23679
|
/**
|
|
23176
23680
|
* Represents the `remove` command of the Grid. Apply this directive to any `button` element
|
|
23177
|
-
* inside a [CommandColumnComponent](
|
|
23178
|
-
* ([see example](
|
|
23681
|
+
* inside a [CommandColumnComponent](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent)
|
|
23682
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics#editing-action-buttons)).
|
|
23179
23683
|
* When you click the button with this directive, the
|
|
23180
|
-
* [`remove`](
|
|
23684
|
+
* [`remove`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#remove) event fires.
|
|
23181
23685
|
* The button with `kendoGridRemoveCommand` is automatically hidden when the row is in edit mode.
|
|
23182
23686
|
*
|
|
23183
23687
|
* @example
|
|
@@ -23284,9 +23788,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23284
23788
|
|
|
23285
23789
|
/**
|
|
23286
23790
|
* Represents the command for adding a new item to the Grid. Apply this directive to any
|
|
23287
|
-
* `button` element inside a [ToolbarTemplate](
|
|
23288
|
-
* When you click the button with this directive, the [`add`](
|
|
23289
|
-
* ([see example](
|
|
23791
|
+
* `button` element inside a [ToolbarTemplate](https://www.telerik.com/kendo-angular-ui/components/grid/api/commandcolumncomponent).
|
|
23792
|
+
* When you click the button with this directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#add) event is triggered
|
|
23793
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics)).
|
|
23290
23794
|
*
|
|
23291
23795
|
* @example
|
|
23292
23796
|
* ```html
|
|
@@ -23365,7 +23869,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23365
23869
|
|
|
23366
23870
|
/**
|
|
23367
23871
|
* The directive allows customizing the loading indicator for virtual scrolling cells in the Grid.
|
|
23368
|
-
* Place an `<ng-template>` tag with the `kendoGridCellLoadingTemplate` directive inside `<kendo-grid>` to define the loading cell template. ([See example](
|
|
23872
|
+
* Place an `<ng-template>` tag with the `kendoGridCellLoadingTemplate` directive inside `<kendo-grid>` to define the loading cell template. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes/virtual#custom-loading-skeleton)).
|
|
23369
23873
|
*
|
|
23370
23874
|
* The template context is set to the current column. You can use the following field:
|
|
23371
23875
|
* - `column`—The current column instance. This is the default context for any template variable that uses the `let-x` syntax (for example, `let-column`).
|
|
@@ -23474,7 +23978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
23474
23978
|
}] }] });
|
|
23475
23979
|
|
|
23476
23980
|
/**
|
|
23477
|
-
* Represents the drag handle for reordering rows in the Grid. [See example](
|
|
23981
|
+
* Represents the drag handle for reordering rows in the Grid. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/rows/reordering).
|
|
23478
23982
|
*
|
|
23479
23983
|
* @example
|
|
23480
23984
|
* ```html
|
|
@@ -23620,7 +24124,7 @@ const packageMetadata = {
|
|
|
23620
24124
|
productCode: 'KENDOUIANGULAR',
|
|
23621
24125
|
productCodes: ['KENDOUIANGULAR'],
|
|
23622
24126
|
publishDate: 0,
|
|
23623
|
-
version: '
|
|
24127
|
+
version: '23.0.0-develop.1',
|
|
23624
24128
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
23625
24129
|
};
|
|
23626
24130
|
|
|
@@ -24908,7 +25412,7 @@ class Selection {
|
|
|
24908
25412
|
rangeSelectionStartColumnIndex = 0;
|
|
24909
25413
|
/**
|
|
24910
25414
|
* Sets the item key to store in `selectedKeys`.
|
|
24911
|
-
* [See example](
|
|
25415
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting#using-data-item-field).
|
|
24912
25416
|
*/
|
|
24913
25417
|
selectionKey;
|
|
24914
25418
|
/**
|
|
@@ -25187,7 +25691,7 @@ class ToolbarTemplateDirective {
|
|
|
25187
25691
|
templateRef;
|
|
25188
25692
|
_position = 'top';
|
|
25189
25693
|
/**
|
|
25190
|
-
* Sets the position of the toolbar. ([See example](
|
|
25694
|
+
* Sets the position of the toolbar. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/toolbar/toolbar-template#setting-the-toolbar-position)).
|
|
25191
25695
|
*
|
|
25192
25696
|
* @default 'top'
|
|
25193
25697
|
*/
|
|
@@ -25670,7 +26174,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
25670
26174
|
* Represents the status bar template of the Grid. Use this directive to customize how the Grid displays aggregates in the status bar.
|
|
25671
26175
|
*
|
|
25672
26176
|
* The template context provides:
|
|
25673
|
-
* - `aggregates`—The [`SelectionAggregates`](
|
|
26177
|
+
* - `aggregates`—The [`SelectionAggregates`](https://www.telerik.com/kendo-angular-ui/components/grid/api/selectionaggregates) object with all calculated aggregates.
|
|
25674
26178
|
*
|
|
25675
26179
|
* Use the Angular [`ngFor`](link:site.data.urls.angular['ngfor']) structural directive and the [`KeyValuePipe`](https://angular.io/api/common/KeyValuePipe)
|
|
25676
26180
|
* to loop through the aggregates as key-value pairs.
|
|
@@ -26797,7 +27301,7 @@ class ListComponent {
|
|
|
26797
27301
|
cellLoadingTemplate;
|
|
26798
27302
|
loadingTemplate;
|
|
26799
27303
|
sort = new Array();
|
|
26800
|
-
size
|
|
27304
|
+
size;
|
|
26801
27305
|
contentScroll = new EventEmitter();
|
|
26802
27306
|
pageChange = new EventEmitter();
|
|
26803
27307
|
scrollBottom = new EventEmitter();
|
|
@@ -27840,16 +28344,13 @@ class ToolbarComponent {
|
|
|
27840
28344
|
return this.size === 'small';
|
|
27841
28345
|
}
|
|
27842
28346
|
get sizeMediumClass() {
|
|
27843
|
-
return this.size === 'medium'
|
|
28347
|
+
return this.size === 'medium';
|
|
27844
28348
|
}
|
|
27845
28349
|
set position(value) {
|
|
27846
28350
|
this.context.position = value;
|
|
27847
28351
|
}
|
|
27848
28352
|
set size(size) {
|
|
27849
28353
|
this._size = size;
|
|
27850
|
-
if (size === 'none') {
|
|
27851
|
-
this.wrapper.nativeElement.classList.remove('k-toolbar-sm', 'k-toolbar-md');
|
|
27852
|
-
}
|
|
27853
28354
|
}
|
|
27854
28355
|
get size() {
|
|
27855
28356
|
return this._size;
|
|
@@ -27903,7 +28404,7 @@ class ToolbarComponent {
|
|
|
27903
28404
|
get toolbarTemplateRef() {
|
|
27904
28405
|
return this.ctx.grid.toolbarTemplate ? this.ctx.grid.toolbarTemplate.templateRef : undefined;
|
|
27905
28406
|
}
|
|
27906
|
-
_size
|
|
28407
|
+
_size;
|
|
27907
28408
|
navigationService;
|
|
27908
28409
|
constructor(ctx, wrapper) {
|
|
27909
28410
|
this.ctx = ctx;
|
|
@@ -27914,7 +28415,7 @@ class ToolbarComponent {
|
|
|
27914
28415
|
}
|
|
27915
28416
|
}
|
|
27916
28417
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ToolbarComponent, deps: [{ token: ContextService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
27917
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolbarComponent, isStandalone: true, selector: "kendo-grid-toolbar", inputs: { position: "position", size: "size", navigable: "navigable" }, host: { listeners: { "click": "clickHandler($event)", "keydown.arrowleft": "arrowLeftListener($event)", "keydown.arrowright": "arrowRightListener($event)", "keydown.home": "homeKeyListener($event)", "keydown.end": "endKeyListener($event)" }, properties: { "attr.role": "this.role", "class.k-toolbar": "this.hostClasses", "class.k-grid-toolbar": "this.hostClasses", "class.k-toolbar-
|
|
28418
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolbarComponent, isStandalone: true, selector: "kendo-grid-toolbar", inputs: { position: "position", size: "size", navigable: "navigable" }, host: { listeners: { "click": "clickHandler($event)", "keydown.arrowleft": "arrowLeftListener($event)", "keydown.arrowright": "arrowRightListener($event)", "keydown.home": "homeKeyListener($event)", "keydown.end": "endKeyListener($event)" }, properties: { "attr.role": "this.role", "class.k-toolbar": "this.hostClasses", "class.k-grid-toolbar": "this.hostClasses", "class.k-toolbar-sm": "this.sizeSmallClass", "class.k-toolbar-md": "this.sizeMediumClass" } }, ngImport: i0, template: `
|
|
27918
28419
|
@if (toolbarTemplateRef) {
|
|
27919
28420
|
<ng-template
|
|
27920
28421
|
[ngTemplateOutlet]="toolbarTemplateRef"
|
|
@@ -27945,9 +28446,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
27945
28446
|
}, {
|
|
27946
28447
|
type: HostBinding,
|
|
27947
28448
|
args: ['class.k-grid-toolbar']
|
|
27948
|
-
}, {
|
|
27949
|
-
type: HostBinding,
|
|
27950
|
-
args: ['class.k-toolbar-solid']
|
|
27951
28449
|
}], sizeSmallClass: [{
|
|
27952
28450
|
type: HostBinding,
|
|
27953
28451
|
args: ['class.k-toolbar-sm']
|
|
@@ -27997,7 +28495,7 @@ class GridMessages extends ComponentMessages {
|
|
|
27997
28495
|
* The message includes the current page number, total number of pages, and a localizable string.
|
|
27998
28496
|
* You can reorder these parts by using placeholders in the `pagerLabel` input.
|
|
27999
28497
|
* Use `{currentPage}` and `{totalPages}` to insert the actual values.
|
|
28000
|
-
* [See example](
|
|
28498
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28001
28499
|
*/
|
|
28002
28500
|
pagerLabel;
|
|
28003
28501
|
/**
|
|
@@ -28056,7 +28554,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28056
28554
|
*
|
|
28057
28555
|
* You can reorder the column name and the localizable part by using a placeholder in `filterInputLabel`.
|
|
28058
28556
|
* Use `{columnName}` to insert the column name, for example, **filter for {columnName}**.
|
|
28059
|
-
* [See example](
|
|
28557
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28060
28558
|
*/
|
|
28061
28559
|
filterInputLabel;
|
|
28062
28560
|
/**
|
|
@@ -28067,7 +28565,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28067
28565
|
*
|
|
28068
28566
|
* You can reorder the column name and the localizable part by using a placeholder in `filterMenuTitle`.
|
|
28069
28567
|
* Use `{columnName}` to insert the column name, for example, **filter for {columnName}**.
|
|
28070
|
-
* [See example](
|
|
28568
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28071
28569
|
*/
|
|
28072
28570
|
filterMenuTitle;
|
|
28073
28571
|
/**
|
|
@@ -28078,7 +28576,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28078
28576
|
*
|
|
28079
28577
|
* You can reorder the column name and the localizable part by using a placeholder in `filterMenuOperatorsDropDownLabel`.
|
|
28080
28578
|
* Use `{columnName}` to insert the column name, for example, **filter operators for {columnName}**.
|
|
28081
|
-
* [See example](
|
|
28579
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28082
28580
|
*/
|
|
28083
28581
|
filterMenuOperatorsDropDownLabel;
|
|
28084
28582
|
/**
|
|
@@ -28089,7 +28587,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28089
28587
|
*
|
|
28090
28588
|
* You can reorder the column name and the localizable part by using a placeholder in `filterMenuLogicDropDownLabel`.
|
|
28091
28589
|
* Use `{columnName}` to insert the column name, for example, **filter logic for {columnName}**.
|
|
28092
|
-
* [See example](
|
|
28590
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28093
28591
|
*/
|
|
28094
28592
|
filterMenuLogicDropDownLabel;
|
|
28095
28593
|
/**
|
|
@@ -28100,7 +28598,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28100
28598
|
*
|
|
28101
28599
|
* You can reorder the column name and the localizable part by using a placeholder in `filterCellOperatorLabel`.
|
|
28102
28600
|
* Use `{columnName}` to insert the column name, for example, **Filter operators for {columnName}**.
|
|
28103
|
-
* [See example](
|
|
28601
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28104
28602
|
*/
|
|
28105
28603
|
filterCellOperatorLabel;
|
|
28106
28604
|
/**
|
|
@@ -28111,7 +28609,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28111
28609
|
*
|
|
28112
28610
|
* You can reorder the column name and the localizable part by using a placeholder in `booleanFilterCellLabel`.
|
|
28113
28611
|
* Use `{columnName}` to insert the column name, for example, **Boolean Filter operator for {columnName}**.
|
|
28114
|
-
* [See example](
|
|
28612
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28115
28613
|
*/
|
|
28116
28614
|
booleanFilterCellLabel;
|
|
28117
28615
|
/**
|
|
@@ -28295,7 +28793,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28295
28793
|
*
|
|
28296
28794
|
* You can reorder the column name and the localizable part by using a placeholder in `columnMenu`.
|
|
28297
28795
|
* Use `{columnName}` to insert the column name, for example, **menu for {columnName}**.
|
|
28298
|
-
* [See example](
|
|
28796
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28299
28797
|
*/
|
|
28300
28798
|
columnMenu;
|
|
28301
28799
|
/**
|
|
@@ -28491,6 +28989,10 @@ class GridMessages extends ComponentMessages {
|
|
|
28491
28989
|
* Sets the text for the Grid Excel Export toolbar tool.
|
|
28492
28990
|
*/
|
|
28493
28991
|
excelExportToolbarToolText;
|
|
28992
|
+
/**
|
|
28993
|
+
* Sets the text for the Grid CSV export toolbar tool.
|
|
28994
|
+
*/
|
|
28995
|
+
csvExportToolbarToolText;
|
|
28494
28996
|
/**
|
|
28495
28997
|
* Sets the text for the Grid PDF Export toolbar tool.
|
|
28496
28998
|
*/
|
|
@@ -28539,7 +29041,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28539
29041
|
* <br/><br/>
|
|
28540
29042
|
* The `{errorName}` and `{fieldName}` placeholders are replaced with the field and error names for the invalid form control,
|
|
28541
29043
|
* and the error message is rendered as `required error detected for ProductName field`.
|
|
28542
|
-
* [See example](
|
|
29044
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).
|
|
28543
29045
|
*/
|
|
28544
29046
|
formValidationErrorText;
|
|
28545
29047
|
/**
|
|
@@ -28596,7 +29098,7 @@ class GridMessages extends ComponentMessages {
|
|
|
28596
29098
|
*/
|
|
28597
29099
|
multiCheckboxFilterSelectedItemsCount;
|
|
28598
29100
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GridMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
28599
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: GridMessages, isStandalone: true, selector: "kendo-grid-messages-base", inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItems: "pagerItems", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerInputLabel: "pagerInputLabel", pagerSelectPage: "pagerSelectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterMenuTitle: "filterMenuTitle", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", filterCellOperatorLabel: "filterCellOperatorLabel", booleanFilterCellLabel: "booleanFilterCellLabel", aiAssistantApplyButtonText: "aiAssistantApplyButtonText", aiAssistantToolbarToolText: "aiAssistantToolbarToolText", aiAssistantWindowTitle: "aiAssistantWindowTitle", aiAssistantWindowCloseTitle: "aiAssistantWindowCloseTitle", aiAssistantOutputCardTitle: "aiAssistantOutputCardTitle", aiAssistantOutputCardBodyContent: "aiAssistantOutputCardBodyContent", aiAssistantSelectionNotEnabled: "aiAssistantSelectionNotEnabled", aiAssistantSelectionRowModeRequired: "aiAssistantSelectionRowModeRequired", aiAssistantSelectionCellModeRequired: "aiAssistantSelectionCellModeRequired", aiAssistantWindowMaximizeTitle: "aiAssistantWindowMaximizeTitle", aiAssistantWindowMinimizeTitle: "aiAssistantWindowMinimizeTitle", aiAssistantWindowRestoreTitle: "aiAssistantWindowRestoreTitle", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", adaptiveFilterOperatorsTitle: "adaptiveFilterOperatorsTitle", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle", adaptiveBackButtonTitle: "adaptiveBackButtonTitle", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterToolbarToolText: "filterToolbarToolText", loading: "loading", gridLabel: "gridLabel", columnMenu: "columnMenu", setColumnPosition: "setColumnPosition", columns: "columns", columnChooserSelectAll: "columnChooserSelectAll", columnChooserSearchLabel: "columnChooserSearchLabel", columnChooserSelectedColumnsCount: "columnChooserSelectedColumnsCount", columnsSubtitle: "columnsSubtitle", adaptiveFilterTitle: "adaptiveFilterTitle", adaptiveSortTitle: "adaptiveSortTitle", adaptiveGroupTitle: "adaptiveGroupTitle", filterClearAllButton: "filterClearAllButton", groupClearButton: "groupClearButton", sortClearButton: "sortClearButton", sortDoneButton: "sortDoneButton", groupDoneButton: "groupDoneButton", lock: "lock", unlock: "unlock", stick: "stick", unstick: "unstick", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", sortToolbarToolText: "sortToolbarToolText", columnsApply: "columnsApply", columnsReset: "columnsReset", detailExpand: "detailExpand", detailCollapse: "detailCollapse", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", selectionCheckboxLabel: "selectionCheckboxLabel", selectAllCheckboxLabel: "selectAllCheckboxLabel", groupCollapse: "groupCollapse", groupExpand: "groupExpand", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", editToolbarToolText: "editToolbarToolText", saveToolbarToolText: "saveToolbarToolText", addToolbarToolText: "addToolbarToolText", cancelToolbarToolText: "cancelToolbarToolText", removeToolbarToolText: "removeToolbarToolText", excelExportToolbarToolText: "excelExportToolbarToolText", pdfExportToolbarToolText: "pdfExportToolbarToolText", groupPanelLabel: "groupPanelLabel", dragRowHandleLabel: "dragRowHandleLabel", columnMenuFilterTabTitle: "columnMenuFilterTabTitle", columnMenuGeneralTabTitle: "columnMenuGeneralTabTitle", columnMenuColumnsTabTitle: "columnMenuColumnsTabTitle", groupChipMenuPrevious: "groupChipMenuPrevious", groupChipMenuNext: "groupChipMenuNext", groupToolbarToolText: "groupToolbarToolText", formValidationErrorText: "formValidationErrorText", removeConfirmationDialogTitle: "removeConfirmationDialogTitle", removeConfirmationDialogContent: "removeConfirmationDialogContent", removeConfirmationDialogConfirmText: "removeConfirmationDialogConfirmText", removeConfirmationDialogRejectText: "removeConfirmationDialogRejectText", externalEditingTitle: "externalEditingTitle", externalEditingAddTitle: "externalEditingAddTitle", externalEditingSaveText: "externalEditingSaveText", externalEditingCancelText: "externalEditingCancelText", multiCheckboxFilterSearchPlaceholder: "multiCheckboxFilterSearchPlaceholder", multiCheckboxFilterSelectAllLabel: "multiCheckboxFilterSelectAllLabel", multiCheckboxFilterSelectedItemsCount: "multiCheckboxFilterSelectedItemsCount" }, usesInheritance: true, ngImport: i0 });
|
|
29101
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: GridMessages, isStandalone: true, selector: "kendo-grid-messages-base", inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItems: "pagerItems", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerInputLabel: "pagerInputLabel", pagerSelectPage: "pagerSelectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterMenuTitle: "filterMenuTitle", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", filterCellOperatorLabel: "filterCellOperatorLabel", booleanFilterCellLabel: "booleanFilterCellLabel", aiAssistantApplyButtonText: "aiAssistantApplyButtonText", aiAssistantToolbarToolText: "aiAssistantToolbarToolText", aiAssistantWindowTitle: "aiAssistantWindowTitle", aiAssistantWindowCloseTitle: "aiAssistantWindowCloseTitle", aiAssistantOutputCardTitle: "aiAssistantOutputCardTitle", aiAssistantOutputCardBodyContent: "aiAssistantOutputCardBodyContent", aiAssistantSelectionNotEnabled: "aiAssistantSelectionNotEnabled", aiAssistantSelectionRowModeRequired: "aiAssistantSelectionRowModeRequired", aiAssistantSelectionCellModeRequired: "aiAssistantSelectionCellModeRequired", aiAssistantWindowMaximizeTitle: "aiAssistantWindowMaximizeTitle", aiAssistantWindowMinimizeTitle: "aiAssistantWindowMinimizeTitle", aiAssistantWindowRestoreTitle: "aiAssistantWindowRestoreTitle", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", adaptiveFilterOperatorsTitle: "adaptiveFilterOperatorsTitle", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle", adaptiveBackButtonTitle: "adaptiveBackButtonTitle", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterToolbarToolText: "filterToolbarToolText", loading: "loading", gridLabel: "gridLabel", columnMenu: "columnMenu", setColumnPosition: "setColumnPosition", columns: "columns", columnChooserSelectAll: "columnChooserSelectAll", columnChooserSearchLabel: "columnChooserSearchLabel", columnChooserSelectedColumnsCount: "columnChooserSelectedColumnsCount", columnsSubtitle: "columnsSubtitle", adaptiveFilterTitle: "adaptiveFilterTitle", adaptiveSortTitle: "adaptiveSortTitle", adaptiveGroupTitle: "adaptiveGroupTitle", filterClearAllButton: "filterClearAllButton", groupClearButton: "groupClearButton", sortClearButton: "sortClearButton", sortDoneButton: "sortDoneButton", groupDoneButton: "groupDoneButton", lock: "lock", unlock: "unlock", stick: "stick", unstick: "unstick", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", sortToolbarToolText: "sortToolbarToolText", columnsApply: "columnsApply", columnsReset: "columnsReset", detailExpand: "detailExpand", detailCollapse: "detailCollapse", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", selectionCheckboxLabel: "selectionCheckboxLabel", selectAllCheckboxLabel: "selectAllCheckboxLabel", groupCollapse: "groupCollapse", groupExpand: "groupExpand", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", editToolbarToolText: "editToolbarToolText", saveToolbarToolText: "saveToolbarToolText", addToolbarToolText: "addToolbarToolText", cancelToolbarToolText: "cancelToolbarToolText", removeToolbarToolText: "removeToolbarToolText", excelExportToolbarToolText: "excelExportToolbarToolText", csvExportToolbarToolText: "csvExportToolbarToolText", pdfExportToolbarToolText: "pdfExportToolbarToolText", groupPanelLabel: "groupPanelLabel", dragRowHandleLabel: "dragRowHandleLabel", columnMenuFilterTabTitle: "columnMenuFilterTabTitle", columnMenuGeneralTabTitle: "columnMenuGeneralTabTitle", columnMenuColumnsTabTitle: "columnMenuColumnsTabTitle", groupChipMenuPrevious: "groupChipMenuPrevious", groupChipMenuNext: "groupChipMenuNext", groupToolbarToolText: "groupToolbarToolText", formValidationErrorText: "formValidationErrorText", removeConfirmationDialogTitle: "removeConfirmationDialogTitle", removeConfirmationDialogContent: "removeConfirmationDialogContent", removeConfirmationDialogConfirmText: "removeConfirmationDialogConfirmText", removeConfirmationDialogRejectText: "removeConfirmationDialogRejectText", externalEditingTitle: "externalEditingTitle", externalEditingAddTitle: "externalEditingAddTitle", externalEditingSaveText: "externalEditingSaveText", externalEditingCancelText: "externalEditingCancelText", multiCheckboxFilterSearchPlaceholder: "multiCheckboxFilterSearchPlaceholder", multiCheckboxFilterSelectAllLabel: "multiCheckboxFilterSelectAllLabel", multiCheckboxFilterSelectedItemsCount: "multiCheckboxFilterSelectedItemsCount" }, usesInheritance: true, ngImport: i0 });
|
|
28600
29102
|
}
|
|
28601
29103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GridMessages, decorators: [{
|
|
28602
29104
|
type: Directive,
|
|
@@ -28828,6 +29330,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
28828
29330
|
type: Input
|
|
28829
29331
|
}], excelExportToolbarToolText: [{
|
|
28830
29332
|
type: Input
|
|
29333
|
+
}], csvExportToolbarToolText: [{
|
|
29334
|
+
type: Input
|
|
28831
29335
|
}], pdfExportToolbarToolText: [{
|
|
28832
29336
|
type: Input
|
|
28833
29337
|
}], groupPanelLabel: [{
|
|
@@ -30439,6 +30943,14 @@ class AdaptiveRendererComponent {
|
|
|
30439
30943
|
externalEditingDirective.saveHandler({ ...event, formGroup });
|
|
30440
30944
|
this.actionSheet.toggle(false);
|
|
30441
30945
|
}
|
|
30946
|
+
onAdaptiveResetClick(e) {
|
|
30947
|
+
if (this.adaptiveGridService.filterMenuContainer?.clearDisabled) {
|
|
30948
|
+
e.preventDefault();
|
|
30949
|
+
e.stopPropagation();
|
|
30950
|
+
return;
|
|
30951
|
+
}
|
|
30952
|
+
this.adaptiveGridService.resetFilter();
|
|
30953
|
+
}
|
|
30442
30954
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: AdaptiveRendererComponent, deps: [{ token: ColumnMenuService }, { token: AdaptiveGridService }, { token: FilterService }, { token: ContextService }, { token: i2$1.AdaptiveService }, { token: SortService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
30443
30955
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: AdaptiveRendererComponent, isStandalone: true, selector: "kendo-grid-adaptive-renderer", viewQueries: [{ propertyName: "columnChooserContent", first: true, predicate: ["columnChooserContent"], descendants: true }, { propertyName: "filterToolbarToolTemplate", first: true, predicate: ["filterToolbarToolTemplate"], descendants: true, read: ViewContainerRef }, { propertyName: "filterMenuContainer", first: true, predicate: ["filterMenuContainer"], descendants: true }, { propertyName: "actionSheet", first: true, predicate: ActionSheetComponent, descendants: true }, { propertyName: "groupToolbarTool", first: true, predicate: GroupToolbarToolComponent, descendants: true }], ngImport: i0, template: `
|
|
30444
30956
|
<kendo-actionsheet
|
|
@@ -30452,7 +30964,7 @@ class AdaptiveRendererComponent {
|
|
|
30452
30964
|
}"
|
|
30453
30965
|
[overlayClickClose]="true"
|
|
30454
30966
|
(collapse)="adaptiveGridService.reset()">
|
|
30455
|
-
|
|
30967
|
+
|
|
30456
30968
|
<!-- sortToolbarTool view -->
|
|
30457
30969
|
@if (adaptiveGridService.viewType === 'sortToolbarTool') {
|
|
30458
30970
|
<kendo-actionsheet-view>
|
|
@@ -30496,7 +31008,7 @@ class AdaptiveRendererComponent {
|
|
|
30496
31008
|
</ng-template>
|
|
30497
31009
|
</kendo-actionsheet-view>
|
|
30498
31010
|
}
|
|
30499
|
-
|
|
31011
|
+
|
|
30500
31012
|
<!-- columnChooserToolbarTool view -->
|
|
30501
31013
|
@if (adaptiveGridService.viewType === 'columnChooserToolbarTool') {
|
|
30502
31014
|
<kendo-actionsheet-view>
|
|
@@ -30520,7 +31032,7 @@ class AdaptiveRendererComponent {
|
|
|
30520
31032
|
</ng-template>
|
|
30521
31033
|
</kendo-actionsheet-view>
|
|
30522
31034
|
}
|
|
30523
|
-
|
|
31035
|
+
|
|
30524
31036
|
<!-- filterToolbarTool first view -->
|
|
30525
31037
|
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
30526
31038
|
<kendo-actionsheet-view
|
|
@@ -30546,7 +31058,7 @@ class AdaptiveRendererComponent {
|
|
|
30546
31058
|
</ng-template>
|
|
30547
31059
|
</kendo-actionsheet-view>
|
|
30548
31060
|
}
|
|
30549
|
-
|
|
31061
|
+
|
|
30550
31062
|
<!-- filterToolbarTool second view -->
|
|
30551
31063
|
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
30552
31064
|
<kendo-actionsheet-view>
|
|
@@ -30563,7 +31075,7 @@ class AdaptiveRendererComponent {
|
|
|
30563
31075
|
</ng-template>
|
|
30564
31076
|
</kendo-actionsheet-view>
|
|
30565
31077
|
}
|
|
30566
|
-
|
|
31078
|
+
|
|
30567
31079
|
<!-- filterMenu view -->
|
|
30568
31080
|
@if (adaptiveGridService.viewType === 'filterMenu') {
|
|
30569
31081
|
<kendo-actionsheet-view>
|
|
@@ -30586,7 +31098,7 @@ class AdaptiveRendererComponent {
|
|
|
30586
31098
|
</ng-template>
|
|
30587
31099
|
</kendo-actionsheet-view>
|
|
30588
31100
|
}
|
|
30589
|
-
|
|
31101
|
+
|
|
30590
31102
|
<!-- columnMenu first view -->
|
|
30591
31103
|
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
30592
31104
|
<kendo-actionsheet-view
|
|
@@ -30668,7 +31180,7 @@ class AdaptiveRendererComponent {
|
|
|
30668
31180
|
</ng-template>
|
|
30669
31181
|
</kendo-actionsheet-view>
|
|
30670
31182
|
}
|
|
30671
|
-
|
|
31183
|
+
|
|
30672
31184
|
<!-- columnMenu second view -->
|
|
30673
31185
|
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
30674
31186
|
<kendo-actionsheet-view>
|
|
@@ -30721,7 +31233,7 @@ class AdaptiveRendererComponent {
|
|
|
30721
31233
|
}
|
|
30722
31234
|
</kendo-actionsheet-view>
|
|
30723
31235
|
}
|
|
30724
|
-
|
|
31236
|
+
|
|
30725
31237
|
<!-- external editing view -->
|
|
30726
31238
|
@if (adaptiveGridService.viewType === 'externalEditing') {
|
|
30727
31239
|
<kendo-actionsheet-view>
|
|
@@ -30757,7 +31269,7 @@ class AdaptiveRendererComponent {
|
|
|
30757
31269
|
</ng-template>
|
|
30758
31270
|
</kendo-actionsheet-view>
|
|
30759
31271
|
}
|
|
30760
|
-
|
|
31272
|
+
|
|
30761
31273
|
<!-- groupToolbarTool view -->
|
|
30762
31274
|
@if (adaptiveGridService.viewType === 'groupToolbarTool') {
|
|
30763
31275
|
<kendo-actionsheet-view>
|
|
@@ -30792,7 +31304,7 @@ class AdaptiveRendererComponent {
|
|
|
30792
31304
|
</kendo-actionsheet-view>
|
|
30793
31305
|
}
|
|
30794
31306
|
</kendo-actionsheet>
|
|
30795
|
-
|
|
31307
|
+
|
|
30796
31308
|
<ng-template #actionSheetHeaderTemplate>
|
|
30797
31309
|
<div class="k-actionsheet-titlebar-group">
|
|
30798
31310
|
@if (adaptiveGridService.secondaryView) {
|
|
@@ -30850,7 +31362,7 @@ class AdaptiveRendererComponent {
|
|
|
30850
31362
|
}
|
|
30851
31363
|
</div>
|
|
30852
31364
|
</ng-template>
|
|
30853
|
-
|
|
31365
|
+
|
|
30854
31366
|
<ng-template #actionSheetFooterTemplate>
|
|
30855
31367
|
<button
|
|
30856
31368
|
#resetButton
|
|
@@ -30860,7 +31372,7 @@ class AdaptiveRendererComponent {
|
|
|
30860
31372
|
[svgIcon]="arrowRotateCcwIcon"
|
|
30861
31373
|
icon="arrow-rotate-ccw"
|
|
30862
31374
|
type="button"
|
|
30863
|
-
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
31375
|
+
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
30864
31376
|
'keydown.enter': cancelChanges,
|
|
30865
31377
|
'keydown.space': cancelChanges,
|
|
30866
31378
|
'keydown.tab': onTab
|
|
@@ -30885,13 +31397,18 @@ class AdaptiveRendererComponent {
|
|
|
30885
31397
|
{{ messageFor('columnsApply') }}
|
|
30886
31398
|
</button>
|
|
30887
31399
|
</ng-template>
|
|
30888
|
-
|
|
31400
|
+
|
|
30889
31401
|
<ng-template #filterFooterButtons>
|
|
30890
31402
|
<button
|
|
30891
31403
|
kendoButton
|
|
31404
|
+
type="button"
|
|
30892
31405
|
size="large"
|
|
30893
31406
|
fillMode="solid"
|
|
30894
|
-
|
|
31407
|
+
[class.k-disabled]="adaptiveGridService.filterMenuContainer?.clearDisabled"
|
|
31408
|
+
[attr.aria-disabled]="adaptiveGridService.filterMenuContainer?.clearDisabled"
|
|
31409
|
+
(click)="onAdaptiveResetClick($event)"
|
|
31410
|
+
(keydown.space)="adaptiveGridService.filterMenuContainer?.clearDisabled ? $event.preventDefault() : onAdaptiveResetClick($event)"
|
|
31411
|
+
(keydown.enter)="adaptiveGridService.filterMenuContainer?.clearDisabled ? $event.preventDefault() : onAdaptiveResetClick($event)">
|
|
30895
31412
|
{{messageFor('filterClearButton')}}
|
|
30896
31413
|
</button>
|
|
30897
31414
|
<button
|
|
@@ -30922,7 +31439,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
30922
31439
|
}"
|
|
30923
31440
|
[overlayClickClose]="true"
|
|
30924
31441
|
(collapse)="adaptiveGridService.reset()">
|
|
30925
|
-
|
|
31442
|
+
|
|
30926
31443
|
<!-- sortToolbarTool view -->
|
|
30927
31444
|
@if (adaptiveGridService.viewType === 'sortToolbarTool') {
|
|
30928
31445
|
<kendo-actionsheet-view>
|
|
@@ -30966,7 +31483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
30966
31483
|
</ng-template>
|
|
30967
31484
|
</kendo-actionsheet-view>
|
|
30968
31485
|
}
|
|
30969
|
-
|
|
31486
|
+
|
|
30970
31487
|
<!-- columnChooserToolbarTool view -->
|
|
30971
31488
|
@if (adaptiveGridService.viewType === 'columnChooserToolbarTool') {
|
|
30972
31489
|
<kendo-actionsheet-view>
|
|
@@ -30990,7 +31507,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
30990
31507
|
</ng-template>
|
|
30991
31508
|
</kendo-actionsheet-view>
|
|
30992
31509
|
}
|
|
30993
|
-
|
|
31510
|
+
|
|
30994
31511
|
<!-- filterToolbarTool first view -->
|
|
30995
31512
|
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
30996
31513
|
<kendo-actionsheet-view
|
|
@@ -31016,7 +31533,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31016
31533
|
</ng-template>
|
|
31017
31534
|
</kendo-actionsheet-view>
|
|
31018
31535
|
}
|
|
31019
|
-
|
|
31536
|
+
|
|
31020
31537
|
<!-- filterToolbarTool second view -->
|
|
31021
31538
|
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
31022
31539
|
<kendo-actionsheet-view>
|
|
@@ -31033,7 +31550,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31033
31550
|
</ng-template>
|
|
31034
31551
|
</kendo-actionsheet-view>
|
|
31035
31552
|
}
|
|
31036
|
-
|
|
31553
|
+
|
|
31037
31554
|
<!-- filterMenu view -->
|
|
31038
31555
|
@if (adaptiveGridService.viewType === 'filterMenu') {
|
|
31039
31556
|
<kendo-actionsheet-view>
|
|
@@ -31056,7 +31573,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31056
31573
|
</ng-template>
|
|
31057
31574
|
</kendo-actionsheet-view>
|
|
31058
31575
|
}
|
|
31059
|
-
|
|
31576
|
+
|
|
31060
31577
|
<!-- columnMenu first view -->
|
|
31061
31578
|
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
31062
31579
|
<kendo-actionsheet-view
|
|
@@ -31138,7 +31655,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31138
31655
|
</ng-template>
|
|
31139
31656
|
</kendo-actionsheet-view>
|
|
31140
31657
|
}
|
|
31141
|
-
|
|
31658
|
+
|
|
31142
31659
|
<!-- columnMenu second view -->
|
|
31143
31660
|
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
31144
31661
|
<kendo-actionsheet-view>
|
|
@@ -31191,7 +31708,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31191
31708
|
}
|
|
31192
31709
|
</kendo-actionsheet-view>
|
|
31193
31710
|
}
|
|
31194
|
-
|
|
31711
|
+
|
|
31195
31712
|
<!-- external editing view -->
|
|
31196
31713
|
@if (adaptiveGridService.viewType === 'externalEditing') {
|
|
31197
31714
|
<kendo-actionsheet-view>
|
|
@@ -31227,7 +31744,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31227
31744
|
</ng-template>
|
|
31228
31745
|
</kendo-actionsheet-view>
|
|
31229
31746
|
}
|
|
31230
|
-
|
|
31747
|
+
|
|
31231
31748
|
<!-- groupToolbarTool view -->
|
|
31232
31749
|
@if (adaptiveGridService.viewType === 'groupToolbarTool') {
|
|
31233
31750
|
<kendo-actionsheet-view>
|
|
@@ -31262,7 +31779,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31262
31779
|
</kendo-actionsheet-view>
|
|
31263
31780
|
}
|
|
31264
31781
|
</kendo-actionsheet>
|
|
31265
|
-
|
|
31782
|
+
|
|
31266
31783
|
<ng-template #actionSheetHeaderTemplate>
|
|
31267
31784
|
<div class="k-actionsheet-titlebar-group">
|
|
31268
31785
|
@if (adaptiveGridService.secondaryView) {
|
|
@@ -31320,7 +31837,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31320
31837
|
}
|
|
31321
31838
|
</div>
|
|
31322
31839
|
</ng-template>
|
|
31323
|
-
|
|
31840
|
+
|
|
31324
31841
|
<ng-template #actionSheetFooterTemplate>
|
|
31325
31842
|
<button
|
|
31326
31843
|
#resetButton
|
|
@@ -31330,7 +31847,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31330
31847
|
[svgIcon]="arrowRotateCcwIcon"
|
|
31331
31848
|
icon="arrow-rotate-ccw"
|
|
31332
31849
|
type="button"
|
|
31333
|
-
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
31850
|
+
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
31334
31851
|
'keydown.enter': cancelChanges,
|
|
31335
31852
|
'keydown.space': cancelChanges,
|
|
31336
31853
|
'keydown.tab': onTab
|
|
@@ -31355,13 +31872,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
31355
31872
|
{{ messageFor('columnsApply') }}
|
|
31356
31873
|
</button>
|
|
31357
31874
|
</ng-template>
|
|
31358
|
-
|
|
31875
|
+
|
|
31359
31876
|
<ng-template #filterFooterButtons>
|
|
31360
31877
|
<button
|
|
31361
31878
|
kendoButton
|
|
31879
|
+
type="button"
|
|
31362
31880
|
size="large"
|
|
31363
31881
|
fillMode="solid"
|
|
31364
|
-
|
|
31882
|
+
[class.k-disabled]="adaptiveGridService.filterMenuContainer?.clearDisabled"
|
|
31883
|
+
[attr.aria-disabled]="adaptiveGridService.filterMenuContainer?.clearDisabled"
|
|
31884
|
+
(click)="onAdaptiveResetClick($event)"
|
|
31885
|
+
(keydown.space)="adaptiveGridService.filterMenuContainer?.clearDisabled ? $event.preventDefault() : onAdaptiveResetClick($event)"
|
|
31886
|
+
(keydown.enter)="adaptiveGridService.filterMenuContainer?.clearDisabled ? $event.preventDefault() : onAdaptiveResetClick($event)">
|
|
31365
31887
|
{{messageFor('filterClearButton')}}
|
|
31366
31888
|
</button>
|
|
31367
31889
|
<button
|
|
@@ -31487,6 +32009,7 @@ class GridComponent {
|
|
|
31487
32009
|
responsiveService;
|
|
31488
32010
|
renderer;
|
|
31489
32011
|
excelService;
|
|
32012
|
+
csvService;
|
|
31490
32013
|
ngZone;
|
|
31491
32014
|
scrollSyncService;
|
|
31492
32015
|
domEvents;
|
|
@@ -31507,7 +32030,7 @@ class GridComponent {
|
|
|
31507
32030
|
idService;
|
|
31508
32031
|
/**
|
|
31509
32032
|
* Sets the data of the Grid. If you provide an array, the Grid gets the total count automatically.
|
|
31510
|
-
* ([more information and example](
|
|
32033
|
+
* ([more information and example](https://www.telerik.com/kendo-angular-ui/components/grid/data-binding/basics)).
|
|
31511
32034
|
*/
|
|
31512
32035
|
set data(value) {
|
|
31513
32036
|
this._data = value;
|
|
@@ -31556,7 +32079,7 @@ class GridComponent {
|
|
|
31556
32079
|
}
|
|
31557
32080
|
/**
|
|
31558
32081
|
* Defines the page size used by the Grid pager.
|
|
31559
|
-
* Required for the [`paging`](
|
|
32082
|
+
* Required for the [`paging`](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics) feature.
|
|
31560
32083
|
*/
|
|
31561
32084
|
pageSize;
|
|
31562
32085
|
/**
|
|
@@ -31582,7 +32105,7 @@ class GridComponent {
|
|
|
31582
32105
|
detailRowHeight;
|
|
31583
32106
|
/**
|
|
31584
32107
|
* Defines the number of records to skip in the pager.
|
|
31585
|
-
* Required for the [`paging`](
|
|
32108
|
+
* Required for the [`paging`](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics) feature.
|
|
31586
32109
|
*/
|
|
31587
32110
|
get skip() {
|
|
31588
32111
|
return this._skip;
|
|
@@ -31600,13 +32123,13 @@ class GridComponent {
|
|
|
31600
32123
|
scrollable = 'scrollable';
|
|
31601
32124
|
/**
|
|
31602
32125
|
* Enables the selection feature of the Grid. The `selectable` property can be set to `true`, `false`, or an object with additional settings.
|
|
31603
|
-
* [See example](
|
|
32126
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/row-selection).
|
|
31604
32127
|
*
|
|
31605
32128
|
* @default false
|
|
31606
32129
|
*/
|
|
31607
32130
|
selectable = false;
|
|
31608
32131
|
/**
|
|
31609
|
-
* Sets the descriptors for sorting the data ([see example](
|
|
32132
|
+
* Sets the descriptors for sorting the data ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/manual-sorting)).
|
|
31610
32133
|
*/
|
|
31611
32134
|
set sort(value) {
|
|
31612
32135
|
if (isArray(value)) {
|
|
@@ -31619,13 +32142,10 @@ class GridComponent {
|
|
|
31619
32142
|
/**
|
|
31620
32143
|
* Specifies the sizing for Grid elements like tables, buttons, and inputs.
|
|
31621
32144
|
*
|
|
31622
|
-
* @default
|
|
32145
|
+
* @default undefined
|
|
31623
32146
|
*/
|
|
31624
32147
|
set size(size) {
|
|
31625
32148
|
this._size = size;
|
|
31626
|
-
if (size === 'none') {
|
|
31627
|
-
this.wrapper.nativeElement.classList.remove('k-grid-sm', 'k-grid-md');
|
|
31628
|
-
}
|
|
31629
32149
|
this.sizingService.changes.next(this.size);
|
|
31630
32150
|
}
|
|
31631
32151
|
get size() {
|
|
@@ -31635,15 +32155,15 @@ class GridComponent {
|
|
|
31635
32155
|
* A function that defines how to track changes for the data rows.
|
|
31636
32156
|
* By default, the Grid tracks changes by the index of the data item.
|
|
31637
32157
|
* Edited rows are tracked by reference.
|
|
31638
|
-
* [See example](
|
|
32158
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/track-changes).
|
|
31639
32159
|
*/
|
|
31640
32160
|
trackBy = defaultTrackBy;
|
|
31641
32161
|
/**
|
|
31642
|
-
* Sets the filter descriptor for the data ([see examples](
|
|
32162
|
+
* Sets the filter descriptor for the data ([see examples](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/manual-filtering)).
|
|
31643
32163
|
*/
|
|
31644
32164
|
filter;
|
|
31645
32165
|
/**
|
|
31646
|
-
* Sets the descriptors for grouping the data ([see example](
|
|
32166
|
+
* Sets the descriptors for grouping the data ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/manual-grouping)).
|
|
31647
32167
|
*/
|
|
31648
32168
|
set group(value) {
|
|
31649
32169
|
if (isArray(value)) {
|
|
@@ -31748,18 +32268,18 @@ class GridComponent {
|
|
|
31748
32268
|
*/
|
|
31749
32269
|
gridData = () => { return this.flatData; };
|
|
31750
32270
|
/**
|
|
31751
|
-
* Enables the [filtering](
|
|
32271
|
+
* Enables the [filtering](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/basics) feature of the Grid for columns with a `field` option.
|
|
31752
32272
|
*
|
|
31753
32273
|
* @default false
|
|
31754
32274
|
*/
|
|
31755
32275
|
filterable = false;
|
|
31756
32276
|
/**
|
|
31757
|
-
* Enables [sorting](
|
|
32277
|
+
* Enables [sorting](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/basics) feature of the Grid for columns with a `field` option.
|
|
31758
32278
|
* @default false
|
|
31759
32279
|
*/
|
|
31760
32280
|
sortable = false;
|
|
31761
32281
|
/**
|
|
31762
|
-
* Configures the Grid pager ([see example](
|
|
32282
|
+
* Configures the Grid pager ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/paging/pager-settings)).
|
|
31763
32283
|
* @default false
|
|
31764
32284
|
*/
|
|
31765
32285
|
pageable = false;
|
|
@@ -31767,7 +32287,7 @@ class GridComponent {
|
|
|
31767
32287
|
return normalize(this.pageable);
|
|
31768
32288
|
}
|
|
31769
32289
|
/**
|
|
31770
|
-
* If `true`, allows grouping by dragging column headers ([see example](
|
|
32290
|
+
* If `true`, allows grouping by dragging column headers ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/basics)).
|
|
31771
32291
|
*
|
|
31772
32292
|
* @default false
|
|
31773
32293
|
*/
|
|
@@ -31779,7 +32299,7 @@ class GridComponent {
|
|
|
31779
32299
|
*/
|
|
31780
32300
|
gridResizable = false;
|
|
31781
32301
|
/**
|
|
31782
|
-
* Enables row reordering feature of the Grid ([see example](
|
|
32302
|
+
* Enables row reordering feature of the Grid ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/rows/reordering)).
|
|
31783
32303
|
*
|
|
31784
32304
|
* @default false
|
|
31785
32305
|
*/
|
|
@@ -31801,7 +32321,7 @@ class GridComponent {
|
|
|
31801
32321
|
}
|
|
31802
32322
|
/**
|
|
31803
32323
|
* By default, navigation is enabled. To disable, set to `false`.
|
|
31804
|
-
* To enable navigation for specific sections, provide a [`GridNavigableSection`](
|
|
32324
|
+
* To enable navigation for specific sections, provide a [`GridNavigableSection`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridnavigablesection).
|
|
31805
32325
|
*/
|
|
31806
32326
|
set navigable(value) {
|
|
31807
32327
|
if (typeof value === 'boolean') {
|
|
@@ -31820,13 +32340,13 @@ class GridComponent {
|
|
|
31820
32340
|
/**
|
|
31821
32341
|
* If `true`, resizes columns during initialization to fit headers and content.
|
|
31822
32342
|
* Columns with `autoSize` set to `false` are excluded.
|
|
31823
|
-
* [See example](
|
|
32343
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing).
|
|
31824
32344
|
*
|
|
31825
32345
|
* @default false
|
|
31826
32346
|
*/
|
|
31827
32347
|
autoSize = false;
|
|
31828
32348
|
/**
|
|
31829
|
-
* Sets a function to apply custom CSS classes to each data row ([see example](
|
|
32349
|
+
* Sets a function to apply custom CSS classes to each data row ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/styling-and-appearance/rows)).
|
|
31830
32350
|
*/
|
|
31831
32351
|
set rowClass(fn) {
|
|
31832
32352
|
if (isDevMode() && typeof fn !== 'function') {
|
|
@@ -31852,7 +32372,7 @@ class GridComponent {
|
|
|
31852
32372
|
return this._rowSticky;
|
|
31853
32373
|
}
|
|
31854
32374
|
/**
|
|
31855
|
-
* Sets a function to determine if a data row is selected ([see example](
|
|
32375
|
+
* Sets a function to determine if a data row is selected ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/custom-selection#setting-the-selected-rows)).
|
|
31856
32376
|
*/
|
|
31857
32377
|
set rowSelected(fn) {
|
|
31858
32378
|
if (isDevMode() && typeof fn !== 'function') {
|
|
@@ -31877,7 +32397,7 @@ class GridComponent {
|
|
|
31877
32397
|
}
|
|
31878
32398
|
/**
|
|
31879
32399
|
* Sets a function to determine if a data cell is selected.
|
|
31880
|
-
* The function returns an object with `selected` and `item` properties ([see example](
|
|
32400
|
+
* The function returns an object with `selected` and `item` properties ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/custom-selection#setting-the-selected-cells)).
|
|
31881
32401
|
*/
|
|
31882
32402
|
set cellSelected(fn) {
|
|
31883
32403
|
if (isDevMode() && typeof fn !== 'function') {
|
|
@@ -31926,19 +32446,19 @@ class GridComponent {
|
|
|
31926
32446
|
};
|
|
31927
32447
|
}
|
|
31928
32448
|
/**
|
|
31929
|
-
* If `true`, allows resizing columns by dragging header cell edges ([see example](
|
|
32449
|
+
* If `true`, allows resizing columns by dragging header cell edges ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing)).
|
|
31930
32450
|
*
|
|
31931
32451
|
* @default false
|
|
31932
32452
|
*/
|
|
31933
32453
|
resizable = false;
|
|
31934
32454
|
/**
|
|
31935
|
-
* If `true`, allows reordering columns by dragging header cells ([see example](
|
|
32455
|
+
* If `true`, allows reordering columns by dragging header cells ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/reordering)).
|
|
31936
32456
|
*
|
|
31937
32457
|
* @default false
|
|
31938
32458
|
*/
|
|
31939
32459
|
reorderable = false;
|
|
31940
32460
|
/**
|
|
31941
|
-
* If `true`, displays the Grid loading indicator ([see example](
|
|
32461
|
+
* If `true`, displays the Grid loading indicator ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/data-binding/basics)).
|
|
31942
32462
|
*
|
|
31943
32463
|
* @default false
|
|
31944
32464
|
*/
|
|
@@ -31950,14 +32470,14 @@ class GridComponent {
|
|
|
31950
32470
|
return this._loading;
|
|
31951
32471
|
}
|
|
31952
32472
|
/**
|
|
31953
|
-
* If `true`, displays the column menu for columns ([see example](
|
|
32473
|
+
* If `true`, displays the column menu for columns ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/column-menu)).
|
|
31954
32474
|
*
|
|
31955
32475
|
* @default false
|
|
31956
32476
|
*/
|
|
31957
32477
|
columnMenu = false;
|
|
31958
32478
|
/**
|
|
31959
32479
|
* If `true`, hides the Grid header. The header is visible by default.
|
|
31960
|
-
* The header includes column headers and the [filter row](
|
|
32480
|
+
* The header includes column headers and the [filter row](https://www.telerik.com/kendo-angular-ui/components/grid/filtering/filter-row).
|
|
31961
32481
|
*
|
|
31962
32482
|
* @default false
|
|
31963
32483
|
*/
|
|
@@ -31998,15 +32518,15 @@ class GridComponent {
|
|
|
31998
32518
|
*/
|
|
31999
32519
|
filterChange = new EventEmitter();
|
|
32000
32520
|
/**
|
|
32001
|
-
* Fires when the page is changed through the UI ([see example](
|
|
32521
|
+
* Fires when the page is changed through the UI ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics)).
|
|
32002
32522
|
*/
|
|
32003
32523
|
pageChange = new EventEmitter();
|
|
32004
32524
|
/**
|
|
32005
|
-
* Fires when the Grid data is grouped through the UI and the group descriptors change ([see example](
|
|
32525
|
+
* Fires when the Grid data is grouped through the UI and the group descriptors change ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/basics)).
|
|
32006
32526
|
*/
|
|
32007
32527
|
groupChange;
|
|
32008
32528
|
/**
|
|
32009
|
-
* Fires when the Grid data is sorted through the UI and the sort descriptors change ([see example](
|
|
32529
|
+
* Fires when the Grid data is sorted through the UI and the sort descriptors change ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/basics)).
|
|
32010
32530
|
*/
|
|
32011
32531
|
sortChange = new EventEmitter();
|
|
32012
32532
|
/**
|
|
@@ -32042,31 +32562,31 @@ class GridComponent {
|
|
|
32042
32562
|
*/
|
|
32043
32563
|
detailCollapse = new EventEmitter();
|
|
32044
32564
|
/**
|
|
32045
|
-
* Fires when a row enters edit mode ([see example](
|
|
32565
|
+
* Fires when a row enters edit mode ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#editing-records-1)).
|
|
32046
32566
|
*/
|
|
32047
32567
|
edit = new EventEmitter();
|
|
32048
32568
|
/**
|
|
32049
|
-
* Fires when editing is canceled by clicking the **Cancel** command button ([see example](
|
|
32569
|
+
* Fires when editing is canceled by clicking the **Cancel** command button ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#canceling-editing-1)).
|
|
32050
32570
|
*/
|
|
32051
32571
|
cancel = new EventEmitter();
|
|
32052
32572
|
/**
|
|
32053
|
-
* Fires when a row is saved by clicking the **Save** command button ([see example](
|
|
32573
|
+
* Fires when a row is saved by clicking the **Save** command button ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#saving-records-1)).
|
|
32054
32574
|
*/
|
|
32055
32575
|
save = new EventEmitter();
|
|
32056
32576
|
/**
|
|
32057
|
-
* Fires when a row is removed by clicking the **Remove** command button ([see example](
|
|
32577
|
+
* Fires when a row is removed by clicking the **Remove** command button ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#removing-records-1)).
|
|
32058
32578
|
*/
|
|
32059
32579
|
remove = new EventEmitter();
|
|
32060
32580
|
/**
|
|
32061
|
-
* Fires when a new row is added by clicking the **Add** command button ([see example](
|
|
32581
|
+
* Fires when a new row is added by clicking the **Add** command button ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#adding-records-1)).
|
|
32062
32582
|
*/
|
|
32063
32583
|
add = new EventEmitter();
|
|
32064
32584
|
/**
|
|
32065
|
-
* Fires when a cell edit is closed ([see example](
|
|
32585
|
+
* Fires when a cell edit is closed ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/in-cell-editing)).
|
|
32066
32586
|
*/
|
|
32067
32587
|
cellClose = new EventEmitter();
|
|
32068
32588
|
/**
|
|
32069
|
-
* Fires when a cell is clicked ([see example](
|
|
32589
|
+
* Fires when a cell is clicked ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/in-cell-editing)).
|
|
32070
32590
|
*/
|
|
32071
32591
|
cellClick;
|
|
32072
32592
|
/**
|
|
@@ -32077,6 +32597,10 @@ class GridComponent {
|
|
|
32077
32597
|
* Fires when the Excel export command is triggered.
|
|
32078
32598
|
*/
|
|
32079
32599
|
excelExport = new EventEmitter();
|
|
32600
|
+
/**
|
|
32601
|
+
* Fires when the CSV export command is triggered.
|
|
32602
|
+
*/
|
|
32603
|
+
csvExport = new EventEmitter();
|
|
32080
32604
|
/**
|
|
32081
32605
|
* Fires when columns are resized.
|
|
32082
32606
|
*/
|
|
@@ -32098,7 +32622,7 @@ class GridComponent {
|
|
|
32098
32622
|
*/
|
|
32099
32623
|
columnStickyChange = new EventEmitter();
|
|
32100
32624
|
/**
|
|
32101
|
-
* Fires when the last record is scrolled into view ([see example](
|
|
32625
|
+
* Fires when the last record is scrolled into view ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#endless-scrolling)).
|
|
32102
32626
|
*/
|
|
32103
32627
|
scrollBottom = new EventEmitter();
|
|
32104
32628
|
/**
|
|
@@ -32118,7 +32642,7 @@ class GridComponent {
|
|
|
32118
32642
|
return this.size === 'small';
|
|
32119
32643
|
}
|
|
32120
32644
|
get sizeMediumClass() {
|
|
32121
|
-
return this.size === 'medium'
|
|
32645
|
+
return this.size === 'medium';
|
|
32122
32646
|
}
|
|
32123
32647
|
get stackedClass() {
|
|
32124
32648
|
return this.dataLayoutMode === 'stacked';
|
|
@@ -32343,7 +32867,7 @@ class GridComponent {
|
|
|
32343
32867
|
leafViewportColumns;
|
|
32344
32868
|
viewportColumns;
|
|
32345
32869
|
_navigable = ['table', 'pager', 'toolbar'];
|
|
32346
|
-
_size
|
|
32870
|
+
_size;
|
|
32347
32871
|
_loading = false;
|
|
32348
32872
|
_showPagerInput = true;
|
|
32349
32873
|
_showPagerPageText = true;
|
|
@@ -32454,6 +32978,7 @@ class GridComponent {
|
|
|
32454
32978
|
columnsChangeSubscription;
|
|
32455
32979
|
pdfSubscription;
|
|
32456
32980
|
excelSubscription;
|
|
32981
|
+
csvSubscription;
|
|
32457
32982
|
columnsContainerChangeSubscription;
|
|
32458
32983
|
cellClickSubscription;
|
|
32459
32984
|
footerChangeSubscription;
|
|
@@ -32469,7 +32994,7 @@ class GridComponent {
|
|
|
32469
32994
|
rowReorderSubscription;
|
|
32470
32995
|
rtl = false;
|
|
32471
32996
|
_rowSticky;
|
|
32472
|
-
constructor(supportService, selectionService, cellSelectionService, wrapper, groupInfoService, groupsService, changeNotification, detailsService, editService, filterService, pdfService, responsiveService, renderer, excelService, ngZone, scrollSyncService, domEvents, columnResizingService, changeDetectorRef, columnReorderService, columnInfoService, navigationService, sortService, scrollRequestService, localization, ctx, sizingService, adaptiveGridService, rowReorderService, dataMappingService, aiRequestResponseService, idService) {
|
|
32997
|
+
constructor(supportService, selectionService, cellSelectionService, wrapper, groupInfoService, groupsService, changeNotification, detailsService, editService, filterService, pdfService, responsiveService, renderer, excelService, csvService, ngZone, scrollSyncService, domEvents, columnResizingService, changeDetectorRef, columnReorderService, columnInfoService, navigationService, sortService, scrollRequestService, localization, ctx, sizingService, adaptiveGridService, rowReorderService, dataMappingService, aiRequestResponseService, idService) {
|
|
32473
32998
|
this.supportService = supportService;
|
|
32474
32999
|
this.selectionService = selectionService;
|
|
32475
33000
|
this.cellSelectionService = cellSelectionService;
|
|
@@ -32484,6 +33009,7 @@ class GridComponent {
|
|
|
32484
33009
|
this.responsiveService = responsiveService;
|
|
32485
33010
|
this.renderer = renderer;
|
|
32486
33011
|
this.excelService = excelService;
|
|
33012
|
+
this.csvService = csvService;
|
|
32487
33013
|
this.ngZone = ngZone;
|
|
32488
33014
|
this.scrollSyncService = scrollSyncService;
|
|
32489
33015
|
this.domEvents = domEvents;
|
|
@@ -32538,6 +33064,7 @@ class GridComponent {
|
|
|
32538
33064
|
this.attachDomEventHandlers();
|
|
32539
33065
|
this.pdfSubscription = this.pdfService.exportClick.subscribe(this.emitPDFExportEvent.bind(this));
|
|
32540
33066
|
this.excelSubscription = this.excelService.exportClick.subscribe(this.saveAsExcel.bind(this));
|
|
33067
|
+
this.csvSubscription = this.csvService.exportClick.subscribe(this.saveAsCSV.bind(this));
|
|
32541
33068
|
this.columnsContainerChange();
|
|
32542
33069
|
this.handleColumnResize();
|
|
32543
33070
|
this.columnList = new ColumnList(this.columns);
|
|
@@ -32547,11 +33074,11 @@ class GridComponent {
|
|
|
32547
33074
|
this.columnsContainer.isStacked = this.isStacked;
|
|
32548
33075
|
}
|
|
32549
33076
|
/**
|
|
32550
|
-
* Expands the master row at the specified data row index ([see example](
|
|
33077
|
+
* Expands the master row at the specified data row index ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail)).
|
|
32551
33078
|
*
|
|
32552
33079
|
* This method is for backwards compatibility with legacy versions that track expanded state by row index.
|
|
32553
|
-
* For new development, use the [`kendoGridDetailsExpandBy` directive](
|
|
32554
|
-
* or provide an `isDetailExpanded` callback. See [Controlling the Expanded State](
|
|
33080
|
+
* For new development, use the [`kendoGridDetailsExpandBy` directive](https://www.telerik.com/kendo-angular-ui/components/grid/api/expanddetailsdirective)
|
|
33081
|
+
* or provide an `isDetailExpanded` callback. See [Controlling the Expanded State](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/expanded-state) for examples.
|
|
32555
33082
|
*
|
|
32556
33083
|
* @param index The data row index of the master row.
|
|
32557
33084
|
*/
|
|
@@ -32559,11 +33086,11 @@ class GridComponent {
|
|
|
32559
33086
|
this.toggleDetailRowLegacy(index, true);
|
|
32560
33087
|
}
|
|
32561
33088
|
/**
|
|
32562
|
-
* Collapses the master row at the specified data row index ([see example](
|
|
33089
|
+
* Collapses the master row at the specified data row index ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail)).
|
|
32563
33090
|
*
|
|
32564
33091
|
* This method is for backwards compatibility with legacy versions that track expanded state by row index.
|
|
32565
|
-
* For new development, use the [`kendoGridDetailsExpandBy` directive](
|
|
32566
|
-
* or provide an `isDetailExpanded` callback. See [Controlling the Expanded State](
|
|
33092
|
+
* For new development, use the [`kendoGridDetailsExpandBy` directive](https://www.telerik.com/kendo-angular-ui/components/grid/api/expanddetailsdirective)
|
|
33093
|
+
* or provide an `isDetailExpanded` callback. See [Controlling the Expanded State](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/expanded-state) for examples.
|
|
32567
33094
|
*
|
|
32568
33095
|
* @param index The data row index of the master row.
|
|
32569
33096
|
*/
|
|
@@ -32574,7 +33101,7 @@ class GridComponent {
|
|
|
32574
33101
|
* Expands a group header at the given hierarchical index, such as `0_1` for the second inner group of the first master group.
|
|
32575
33102
|
*
|
|
32576
33103
|
* This method is for backwards compatibility with legacy versions that track expanded group state by hierarchical group index.
|
|
32577
|
-
* If the Grid is pageable, the group indexes are offset by the current Grid [skip](
|
|
33104
|
+
* If the Grid is pageable, the group indexes are offset by the current Grid [skip](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#skip).
|
|
32578
33105
|
*
|
|
32579
33106
|
* @param {string} index The underscore-separated hierarchical index of the group.
|
|
32580
33107
|
*/
|
|
@@ -32585,7 +33112,7 @@ class GridComponent {
|
|
|
32585
33112
|
* Collapses a group header at the given hierarchical index, such as `0_1` for the second inner group of the first master group.
|
|
32586
33113
|
*
|
|
32587
33114
|
* This method is for backwards compatibility with legacy versions that track expanded group state by hierarchical group index.
|
|
32588
|
-
* If the Grid is pageable, the group indexes are offset by the current Grid [skip](
|
|
33115
|
+
* If the Grid is pageable, the group indexes are offset by the current Grid [skip](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#skip).
|
|
32589
33116
|
*
|
|
32590
33117
|
* @param {string} index The underscore-separated hierarchical index of the group.
|
|
32591
33118
|
*/
|
|
@@ -32781,6 +33308,9 @@ class GridComponent {
|
|
|
32781
33308
|
if (this.excelSubscription) {
|
|
32782
33309
|
this.excelSubscription.unsubscribe();
|
|
32783
33310
|
}
|
|
33311
|
+
if (this.csvSubscription) {
|
|
33312
|
+
this.csvSubscription.unsubscribe();
|
|
33313
|
+
}
|
|
32784
33314
|
if (this.columnsContainerChangeSubscription) {
|
|
32785
33315
|
this.columnsContainerChangeSubscription.unsubscribe();
|
|
32786
33316
|
}
|
|
@@ -32868,7 +33398,7 @@ class GridComponent {
|
|
|
32868
33398
|
*/
|
|
32869
33399
|
messageFor = token => this.localization.get(token);
|
|
32870
33400
|
/**
|
|
32871
|
-
* Switches the specified table row to edit mode ([see example](
|
|
33401
|
+
* Switches the specified table row to edit mode ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#editing-records-1)).
|
|
32872
33402
|
*
|
|
32873
33403
|
* @param rowIndex The data row index to switch to edit mode.
|
|
32874
33404
|
* @param group The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that describes the edit form.
|
|
@@ -32891,7 +33421,7 @@ class GridComponent {
|
|
|
32891
33421
|
this.rowReorderService[evType](ev);
|
|
32892
33422
|
}
|
|
32893
33423
|
/**
|
|
32894
|
-
* Closes the editor for the specified row ([see example](
|
|
33424
|
+
* Closes the editor for the specified row ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#canceling-editing-1)).
|
|
32895
33425
|
*
|
|
32896
33426
|
* @param {number} index The row index to switch out of edit mode. If you do not provide an index, the new item editor closes.
|
|
32897
33427
|
*/
|
|
@@ -32900,7 +33430,7 @@ class GridComponent {
|
|
|
32900
33430
|
this.isStacked && (this.navigationService.stackedCellEntered = false);
|
|
32901
33431
|
}
|
|
32902
33432
|
/**
|
|
32903
|
-
* Creates a new row editor ([see example](
|
|
33433
|
+
* Creates a new row editor ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#adding-records-1)).
|
|
32904
33434
|
*
|
|
32905
33435
|
* @param {FormGroup} group The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that describes the edit form. If you pass a data item, the method builds the `FormGroup` from the data item fields.
|
|
32906
33436
|
*/
|
|
@@ -32914,7 +33444,7 @@ class GridComponent {
|
|
|
32914
33444
|
this.focusEditElement('.k-grid-add-row');
|
|
32915
33445
|
}
|
|
32916
33446
|
/**
|
|
32917
|
-
* Puts the specified cell in edit mode ([see example](
|
|
33447
|
+
* Puts the specified cell in edit mode ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/in-cell-editing)).
|
|
32918
33448
|
*
|
|
32919
33449
|
* @param {number} rowIndex The data row index to switch to edit mode.
|
|
32920
33450
|
* @param {number|string|any} column The leaf column index, field name, or column instance to edit.
|
|
@@ -32926,9 +33456,9 @@ class GridComponent {
|
|
|
32926
33456
|
this.focusEditElement(this.isStacked ? '.k-grid-stack-edit-cell' : '.k-grid-edit-cell');
|
|
32927
33457
|
}
|
|
32928
33458
|
/**
|
|
32929
|
-
* Closes the current cell in edit mode and fires the [`cellClose`](
|
|
33459
|
+
* Closes the current cell in edit mode and fires the [`cellClose`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cellclose) event.
|
|
32930
33460
|
*
|
|
32931
|
-
* @returns {boolean} `true` if the cell closed. Returns `false` if the [`cellClose`](
|
|
33461
|
+
* @returns {boolean} `true` if the cell closed. Returns `false` if the [`cellClose`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cellclose) event was prevented.
|
|
32932
33462
|
*/
|
|
32933
33463
|
closeCell() {
|
|
32934
33464
|
return !this.editService.closeCell();
|
|
@@ -32956,14 +33486,14 @@ class GridComponent {
|
|
|
32956
33486
|
return this.editService.isEditingCell();
|
|
32957
33487
|
}
|
|
32958
33488
|
/**
|
|
32959
|
-
* Initiates the PDF export ([see example](
|
|
33489
|
+
* Initiates the PDF export ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/pdf-export)).
|
|
32960
33490
|
*/
|
|
32961
33491
|
saveAsPDF() {
|
|
32962
33492
|
this.pdfService.save(this);
|
|
32963
33493
|
}
|
|
32964
33494
|
/**
|
|
32965
|
-
* Exports the Grid element to a Drawing [Group](
|
|
32966
|
-
* ([see example](
|
|
33495
|
+
* Exports the Grid element to a Drawing [Group](https://www.telerik.com/kendo-angular-ui/components/drawing/api/group) using the `kendo-grid-pdf` component options
|
|
33496
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/pdf-export#exporting-multiple-grids-to-the-same-pdf)).
|
|
32967
33497
|
*
|
|
32968
33498
|
* @returns {Promise} A promise that resolves with the Drawing `Group`.
|
|
32969
33499
|
*/
|
|
@@ -32973,11 +33503,31 @@ class GridComponent {
|
|
|
32973
33503
|
return promise;
|
|
32974
33504
|
}
|
|
32975
33505
|
/**
|
|
32976
|
-
* Initiates the Excel export ([see example](
|
|
33506
|
+
* Initiates the Excel export ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/excel-export)).
|
|
32977
33507
|
*/
|
|
32978
33508
|
saveAsExcel() {
|
|
32979
33509
|
this.excelService.save(this);
|
|
32980
33510
|
}
|
|
33511
|
+
/**
|
|
33512
|
+
* Initiates the CSV export ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/csv-export)).
|
|
33513
|
+
*/
|
|
33514
|
+
saveAsCSV() {
|
|
33515
|
+
this.csvService.save(this);
|
|
33516
|
+
}
|
|
33517
|
+
/**
|
|
33518
|
+
* Generates and returns the CSV-formatted string without triggering file download ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/csv-export)).
|
|
33519
|
+
*
|
|
33520
|
+
* @returns {string | Promise<string>} The CSV-formatted string representation of the Grid data, or a Promise that resolves to the string if async data is used.
|
|
33521
|
+
*/
|
|
33522
|
+
toCSVString() {
|
|
33523
|
+
if (!this.ctx.csvComponent) {
|
|
33524
|
+
if (isDevMode()) {
|
|
33525
|
+
throw new Error('The kendo-grid-csv component is required for CSV export.');
|
|
33526
|
+
}
|
|
33527
|
+
return '';
|
|
33528
|
+
}
|
|
33529
|
+
return this.ctx.csvComponent.toCSVString(this);
|
|
33530
|
+
}
|
|
32981
33531
|
/**
|
|
32982
33532
|
* Applies the given `GridState` object to the Grid.
|
|
32983
33533
|
*/
|
|
@@ -33018,8 +33568,8 @@ class GridComponent {
|
|
|
33018
33568
|
}
|
|
33019
33569
|
/**
|
|
33020
33570
|
* Applies the minimum possible width for the specified column so the whole text fits without wrapping.
|
|
33021
|
-
* This method expects the Grid to be [`resizable`](
|
|
33022
|
-
* [See example](
|
|
33571
|
+
* This method expects the Grid to be [`resizable`](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing). Run this method after the Grid is populated with data.
|
|
33572
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing#auto-fitting-the-content)
|
|
33023
33573
|
*/
|
|
33024
33574
|
autoFitColumn(column) {
|
|
33025
33575
|
this.columnResizingService.autoFit(column);
|
|
@@ -33027,7 +33577,7 @@ class GridComponent {
|
|
|
33027
33577
|
/**
|
|
33028
33578
|
* Adjusts the width of the specified columns to fit the entire content, including headers, without wrapping.
|
|
33029
33579
|
* If you do not specify columns, `autoFitColumns` applies to all columns. Run this method after the Grid is populated with data.
|
|
33030
|
-
* [See example](
|
|
33580
|
+
* [See example](https://www.telerik.com/kendo-angular-ui/components/grid/columns/resizing#auto-fitting-the-content)
|
|
33031
33581
|
*/
|
|
33032
33582
|
autoFitColumns(columns = this.columns) {
|
|
33033
33583
|
let cols;
|
|
@@ -33150,13 +33700,13 @@ class GridComponent {
|
|
|
33150
33700
|
return this.navigationService.focusPrevCell(wrap);
|
|
33151
33701
|
}
|
|
33152
33702
|
/**
|
|
33153
|
-
* Scrolls to the specified row and column ([see example](
|
|
33703
|
+
* Scrolls to the specified row and column ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#scrolling-to-a-specific-row-and-column)).
|
|
33154
33704
|
*/
|
|
33155
33705
|
scrollTo(request) {
|
|
33156
33706
|
this.scrollRequestService.scrollTo(request, false);
|
|
33157
33707
|
}
|
|
33158
33708
|
/**
|
|
33159
|
-
* Scrolls to the specified data item and column ([see example](
|
|
33709
|
+
* Scrolls to the specified data item and column ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#scrolling-to-a-specific-item)).
|
|
33160
33710
|
*/
|
|
33161
33711
|
scrollToItem(request) {
|
|
33162
33712
|
this.scrollRequestService.scrollToItem(request);
|
|
@@ -33804,8 +34354,8 @@ class GridComponent {
|
|
|
33804
34354
|
this.dragTargetContainer?.notify();
|
|
33805
34355
|
this.dropTargetContainer?.notify();
|
|
33806
34356
|
}
|
|
33807
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GridComponent, deps: [{ token: BrowserSupportService }, { token: SelectionService }, { token: CellSelectionService }, { token: i0.ElementRef }, { token: GroupInfoService }, { token: GroupsService }, { token: ChangeNotificationService }, { token: DetailsService }, { token: EditService }, { token: FilterService }, { token: PDFService }, { token: ResponsiveService }, { token: i0.Renderer2 }, { token: ExcelService }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: DomEventsService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: ColumnReorderService }, { token: ColumnInfoService }, { token: NavigationService }, { token: SortService }, { token: ScrollRequestService }, { token: i1$2.LocalizationService }, { token: ContextService }, { token: SizingOptionsService }, { token: AdaptiveGridService }, { token: RowReorderService }, { token: DataMappingService }, { token: GridAIRequestResponseService }, { token: IdService }], target: i0.ɵɵFactoryTarget.Component });
|
|
33808
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: GridComponent, isStandalone: true, selector: "kendo-grid", inputs: { data: "data", pageSize: "pageSize", height: "height", rowHeight: "rowHeight", adaptiveMode: "adaptiveMode", detailRowHeight: "detailRowHeight", skip: "skip", scrollable: "scrollable", selectable: "selectable", sort: "sort", size: "size", trackBy: "trackBy", filter: "filter", group: "group", virtualColumns: "virtualColumns", filterable: "filterable", sortable: "sortable", pageable: "pageable", groupable: "groupable", gridResizable: "gridResizable", rowReorderable: "rowReorderable", navigable: "navigable", autoSize: "autoSize", rowClass: "rowClass", rowSticky: "rowSticky", rowSelected: "rowSelected", isRowSelectable: "isRowSelectable", cellSelected: "cellSelected", resizable: "resizable", reorderable: "reorderable", loading: "loading", columnMenu: "columnMenu", hideHeader: "hideHeader", showInactiveTools: "showInactiveTools", isDetailExpanded: "isDetailExpanded", isGroupExpanded: "isGroupExpanded", dataLayoutMode: "dataLayoutMode" }, outputs: { filterChange: "filterChange", pageChange: "pageChange", groupChange: "groupChange", sortChange: "sortChange", selectionChange: "selectionChange", rowReorder: "rowReorder", dataStateChange: "dataStateChange", gridStateChange: "gridStateChange", groupExpand: "groupExpand", groupCollapse: "groupCollapse", detailExpand: "detailExpand", detailCollapse: "detailCollapse", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add", cellClose: "cellClose", cellClick: "cellClick", pdfExport: "pdfExport", excelExport: "excelExport", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", columnStickyChange: "columnStickyChange", scrollBottom: "scrollBottom", contentScroll: "contentScroll" }, host: { properties: { "attr.dir": "this.dir", "class.k-grid": "this.hostClass", "class.k-grid-sm": "this.sizeSmallClass", "class.k-grid-md": "this.sizeMediumClass", "class.k-grid-stack": "this.stackedClass", "class.k-grid-lockedcolumns": "this.lockedClasses", "class.k-grid-virtual": "this.virtualClasses", "class.k-grid-no-scrollbar": "this.noScrollbarClass", "class.k-grid-resizable": "this.isResizable", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
34357
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GridComponent, deps: [{ token: BrowserSupportService }, { token: SelectionService }, { token: CellSelectionService }, { token: i0.ElementRef }, { token: GroupInfoService }, { token: GroupsService }, { token: ChangeNotificationService }, { token: DetailsService }, { token: EditService }, { token: FilterService }, { token: PDFService }, { token: ResponsiveService }, { token: i0.Renderer2 }, { token: ExcelService }, { token: CSVService }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: DomEventsService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: ColumnReorderService }, { token: ColumnInfoService }, { token: NavigationService }, { token: SortService }, { token: ScrollRequestService }, { token: i1$2.LocalizationService }, { token: ContextService }, { token: SizingOptionsService }, { token: AdaptiveGridService }, { token: RowReorderService }, { token: DataMappingService }, { token: GridAIRequestResponseService }, { token: IdService }], target: i0.ɵɵFactoryTarget.Component });
|
|
34358
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: GridComponent, isStandalone: true, selector: "kendo-grid", inputs: { data: "data", pageSize: "pageSize", height: "height", rowHeight: "rowHeight", adaptiveMode: "adaptiveMode", detailRowHeight: "detailRowHeight", skip: "skip", scrollable: "scrollable", selectable: "selectable", sort: "sort", size: "size", trackBy: "trackBy", filter: "filter", group: "group", virtualColumns: "virtualColumns", filterable: "filterable", sortable: "sortable", pageable: "pageable", groupable: "groupable", gridResizable: "gridResizable", rowReorderable: "rowReorderable", navigable: "navigable", autoSize: "autoSize", rowClass: "rowClass", rowSticky: "rowSticky", rowSelected: "rowSelected", isRowSelectable: "isRowSelectable", cellSelected: "cellSelected", resizable: "resizable", reorderable: "reorderable", loading: "loading", columnMenu: "columnMenu", hideHeader: "hideHeader", showInactiveTools: "showInactiveTools", isDetailExpanded: "isDetailExpanded", isGroupExpanded: "isGroupExpanded", dataLayoutMode: "dataLayoutMode" }, outputs: { filterChange: "filterChange", pageChange: "pageChange", groupChange: "groupChange", sortChange: "sortChange", selectionChange: "selectionChange", rowReorder: "rowReorder", dataStateChange: "dataStateChange", gridStateChange: "gridStateChange", groupExpand: "groupExpand", groupCollapse: "groupCollapse", detailExpand: "detailExpand", detailCollapse: "detailCollapse", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add", cellClose: "cellClose", cellClick: "cellClick", pdfExport: "pdfExport", excelExport: "excelExport", csvExport: "csvExport", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", columnStickyChange: "columnStickyChange", scrollBottom: "scrollBottom", contentScroll: "contentScroll" }, host: { properties: { "attr.dir": "this.dir", "class.k-grid": "this.hostClass", "class.k-grid-sm": "this.sizeSmallClass", "class.k-grid-md": "this.sizeMediumClass", "class.k-grid-stack": "this.stackedClass", "class.k-grid-lockedcolumns": "this.lockedClasses", "class.k-grid-virtual": "this.virtualClasses", "class.k-grid-no-scrollbar": "this.noScrollbarClass", "class.k-grid-resizable": "this.isResizable", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
33809
34359
|
BrowserSupportService,
|
|
33810
34360
|
LocalizationService,
|
|
33811
34361
|
ColumnInfoService,
|
|
@@ -33831,6 +34381,7 @@ class GridComponent {
|
|
|
33831
34381
|
PagerContextService,
|
|
33832
34382
|
PagerNavigationService,
|
|
33833
34383
|
ExcelService,
|
|
34384
|
+
CSVService,
|
|
33834
34385
|
ScrollSyncService,
|
|
33835
34386
|
ResizeService,
|
|
33836
34387
|
LocalDataChangesService,
|
|
@@ -34150,6 +34701,9 @@ class GridComponent {
|
|
|
34150
34701
|
i18n-excelExportToolbarToolText="kendo.grid.excelExportToolbarToolText|The text for the Grid Excel export toolbar tool"
|
|
34151
34702
|
excelExportToolbarToolText="Excel Export"
|
|
34152
34703
|
|
|
34704
|
+
i18n-csvExportToolbarToolText="kendo.grid.csvExportToolbarToolText|The text for the Grid CSV export toolbar tool"
|
|
34705
|
+
csvExportToolbarToolText="CSV Export"
|
|
34706
|
+
|
|
34153
34707
|
i18n-pdfExportToolbarToolText="kendo.grid.pdfExportToolbarToolText|The text for the Grid PDF export toolbar tool"
|
|
34154
34708
|
pdfExportToolbarToolText="PDF Export"
|
|
34155
34709
|
|
|
@@ -34753,6 +35307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
34753
35307
|
PagerContextService,
|
|
34754
35308
|
PagerNavigationService,
|
|
34755
35309
|
ExcelService,
|
|
35310
|
+
CSVService,
|
|
34756
35311
|
ScrollSyncService,
|
|
34757
35312
|
ResizeService,
|
|
34758
35313
|
LocalDataChangesService,
|
|
@@ -35074,6 +35629,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
35074
35629
|
i18n-excelExportToolbarToolText="kendo.grid.excelExportToolbarToolText|The text for the Grid Excel export toolbar tool"
|
|
35075
35630
|
excelExportToolbarToolText="Excel Export"
|
|
35076
35631
|
|
|
35632
|
+
i18n-csvExportToolbarToolText="kendo.grid.csvExportToolbarToolText|The text for the Grid CSV export toolbar tool"
|
|
35633
|
+
csvExportToolbarToolText="CSV Export"
|
|
35634
|
+
|
|
35077
35635
|
i18n-pdfExportToolbarToolText="kendo.grid.pdfExportToolbarToolText|The text for the Grid PDF export toolbar tool"
|
|
35078
35636
|
pdfExportToolbarToolText="PDF Export"
|
|
35079
35637
|
|
|
@@ -35672,7 +36230,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
35672
36230
|
ResizeSensorComponent
|
|
35673
36231
|
]
|
|
35674
36232
|
}]
|
|
35675
|
-
}], ctorParameters: () => [{ type: BrowserSupportService }, { type: SelectionService }, { type: CellSelectionService }, { type: i0.ElementRef }, { type: GroupInfoService }, { type: GroupsService }, { type: ChangeNotificationService }, { type: DetailsService }, { type: EditService }, { type: FilterService }, { type: PDFService }, { type: ResponsiveService }, { type: i0.Renderer2 }, { type: ExcelService }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: DomEventsService }, { type: ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: ColumnReorderService }, { type: ColumnInfoService }, { type: NavigationService }, { type: SortService }, { type: ScrollRequestService }, { type: i1$2.LocalizationService }, { type: ContextService }, { type: SizingOptionsService }, { type: AdaptiveGridService }, { type: RowReorderService }, { type: DataMappingService }, { type: GridAIRequestResponseService }, { type: IdService }], propDecorators: { data: [{
|
|
36233
|
+
}], ctorParameters: () => [{ type: BrowserSupportService }, { type: SelectionService }, { type: CellSelectionService }, { type: i0.ElementRef }, { type: GroupInfoService }, { type: GroupsService }, { type: ChangeNotificationService }, { type: DetailsService }, { type: EditService }, { type: FilterService }, { type: PDFService }, { type: ResponsiveService }, { type: i0.Renderer2 }, { type: ExcelService }, { type: CSVService }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: DomEventsService }, { type: ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: ColumnReorderService }, { type: ColumnInfoService }, { type: NavigationService }, { type: SortService }, { type: ScrollRequestService }, { type: i1$2.LocalizationService }, { type: ContextService }, { type: SizingOptionsService }, { type: AdaptiveGridService }, { type: RowReorderService }, { type: DataMappingService }, { type: GridAIRequestResponseService }, { type: IdService }], propDecorators: { data: [{
|
|
35676
36234
|
type: Input
|
|
35677
36235
|
}], pageSize: [{
|
|
35678
36236
|
type: Input
|
|
@@ -35788,6 +36346,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
35788
36346
|
type: Output
|
|
35789
36347
|
}], excelExport: [{
|
|
35790
36348
|
type: Output
|
|
36349
|
+
}], csvExport: [{
|
|
36350
|
+
type: Output
|
|
35791
36351
|
}], columnResize: [{
|
|
35792
36352
|
type: Output
|
|
35793
36353
|
}], columnReorder: [{
|
|
@@ -35902,7 +36462,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
35902
36462
|
|
|
35903
36463
|
/**
|
|
35904
36464
|
* The component allows you to override the default component messages with custom ones.
|
|
35905
|
-
* ([See example](
|
|
36465
|
+
* ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/globalization#custom-messages).)
|
|
35906
36466
|
*
|
|
35907
36467
|
* @example
|
|
35908
36468
|
* ```html
|
|
@@ -35947,11 +36507,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
35947
36507
|
}], ctorParameters: () => [{ type: i1$2.LocalizationService }] });
|
|
35948
36508
|
|
|
35949
36509
|
/**
|
|
35950
|
-
* A directive that handles in-memory data operations like [paging](
|
|
35951
|
-
* [sorting](
|
|
36510
|
+
* A directive that handles in-memory data operations like [paging](https://www.telerik.com/kendo-angular-ui/components/grid/paging/basics),
|
|
36511
|
+
* [sorting](https://www.telerik.com/kendo-angular-ui/components/grid/sorting/basics), and [grouping](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/basics).
|
|
35952
36512
|
*
|
|
35953
36513
|
* Use this directive with local data and enable the Grid data operations with minimal configuration.
|
|
35954
|
-
* ([More information and examples](
|
|
36514
|
+
* ([More information and examples](https://www.telerik.com/kendo-angular-ui/components/grid/data-binding/local-data#automatic-data-processing)).
|
|
35955
36515
|
*
|
|
35956
36516
|
* @example
|
|
35957
36517
|
* ```html
|
|
@@ -36166,7 +36726,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
36166
36726
|
|
|
36167
36727
|
/**
|
|
36168
36728
|
* Stores the row selection state of the Grid in memory
|
|
36169
|
-
* ([see example](
|
|
36729
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/selection/persisting)).
|
|
36170
36730
|
*
|
|
36171
36731
|
* @example
|
|
36172
36732
|
* ```html
|
|
@@ -36475,7 +37035,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
36475
37035
|
}] });
|
|
36476
37036
|
|
|
36477
37037
|
/**
|
|
36478
|
-
* Represents the directive that manages editing operations in the Grid when using Template-Driven Angular Forms ([see example](
|
|
37038
|
+
* Represents the directive that manages editing operations in the Grid when using Template-Driven Angular Forms ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#using-template-driven-forms)).
|
|
36479
37039
|
*
|
|
36480
37040
|
* @example
|
|
36481
37041
|
* ```html
|
|
@@ -36552,7 +37112,7 @@ const markAllAsTouched = (control) => {
|
|
|
36552
37112
|
};
|
|
36553
37113
|
|
|
36554
37114
|
/**
|
|
36555
|
-
* Represents the directive that manages editing operations in the Grid when using Reactive Forms ([see example](
|
|
37115
|
+
* Represents the directive that manages editing operations in the Grid when using Reactive Forms ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/inline-editing#using-reactive-forms)).
|
|
36556
37116
|
*
|
|
36557
37117
|
* @example
|
|
36558
37118
|
* ```html
|
|
@@ -36601,7 +37161,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
36601
37161
|
}] } });
|
|
36602
37162
|
|
|
36603
37163
|
/**
|
|
36604
|
-
* Represent the directive that manages in-cell editing operations in the Grid when using Reactive Forms ([see example](
|
|
37164
|
+
* Represent the directive that manages in-cell editing operations in the Grid when using Reactive Forms ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/in-cell-editing#quick-setup)).
|
|
36605
37165
|
*
|
|
36606
37166
|
* @example
|
|
36607
37167
|
* ```html
|
|
@@ -36687,7 +37247,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
36687
37247
|
|
|
36688
37248
|
/**
|
|
36689
37249
|
* Represents the Kendo UI Grid external editing directive. The directive manages editing operations in the Grid when using the
|
|
36690
|
-
* External Form ([see example](
|
|
37250
|
+
* External Form ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/external-editing#quick-setup)).
|
|
36691
37251
|
*
|
|
36692
37252
|
* @example
|
|
36693
37253
|
* ```typescript
|
|
@@ -36824,7 +37384,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
36824
37384
|
/**
|
|
36825
37385
|
* Controls the expanded state of master detail rows in the Grid.
|
|
36826
37386
|
* Use this directive to manage which detail rows are expanded or collapsed.
|
|
36827
|
-
* ([see example](
|
|
37387
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/expanded-state#built-in-directive))
|
|
36828
37388
|
*
|
|
36829
37389
|
* @example
|
|
36830
37390
|
* ```html
|
|
@@ -36845,7 +37405,7 @@ class ExpandDetailsDirective {
|
|
|
36845
37405
|
/**
|
|
36846
37406
|
* Sets the item key stored in the `expandedDetailKeys` collection.
|
|
36847
37407
|
* Accepts a property name or a function that returns a unique key for each data item.
|
|
36848
|
-
* ([See example](
|
|
37408
|
+
* ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/expanded-state#built-in-directive)).
|
|
36849
37409
|
*/
|
|
36850
37410
|
get expandDetailsKey() {
|
|
36851
37411
|
return this._expandBy;
|
|
@@ -36962,7 +37522,7 @@ const DEFAULT_KEY_GETTER = (groupRowArgs) => ({
|
|
|
36962
37522
|
/**
|
|
36963
37523
|
* Controls the expanded state of group rows in the Grid.
|
|
36964
37524
|
* Use this directive to manage which group rows are expanded or collapsed
|
|
36965
|
-
* ([see example](
|
|
37525
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/expanded-state#built-in-directive)).
|
|
36966
37526
|
*
|
|
36967
37527
|
* @example
|
|
36968
37528
|
* ```typescript
|
|
@@ -36980,7 +37540,7 @@ class ExpandGroupDirective {
|
|
|
36980
37540
|
/**
|
|
36981
37541
|
* Sets the item format stored in the `expandedGroupKeys` collection.
|
|
36982
37542
|
* Accepts a property name or a function that returns a unique key for each group
|
|
36983
|
-
* ([see example](
|
|
37543
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/grouping/expanded-state#custom-group-key-format)).
|
|
36984
37544
|
*/
|
|
36985
37545
|
get expandGroupBy() {
|
|
36986
37546
|
return this._expandGroupBy;
|
|
@@ -37090,7 +37650,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
37090
37650
|
* Used to give additional white space between the Pager inner elements,
|
|
37091
37651
|
* and provides a way for customizing the spacer width.
|
|
37092
37652
|
* It can also be used in any flex container within the Grid
|
|
37093
|
-
* ([see example](
|
|
37653
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/toolbar/toolbar-template#defining-the-spacing-between-toolbar-elements)).
|
|
37094
37654
|
*
|
|
37095
37655
|
* @example
|
|
37096
37656
|
* ```html
|
|
@@ -37232,7 +37792,7 @@ class GridClipboardDirective {
|
|
|
37232
37792
|
renderer;
|
|
37233
37793
|
zone;
|
|
37234
37794
|
/**
|
|
37235
|
-
* Sets the clipboard operation target. Possible values are `'activeCell'` and `'selection'`.([See example](
|
|
37795
|
+
* Sets the clipboard operation target. Possible values are `'activeCell'` and `'selection'`.([See example](https://www.telerik.com/kendo-angular-ui/components/grid/accessories/clipboard#clipboard-target))
|
|
37236
37796
|
*
|
|
37237
37797
|
* @default 'selection'
|
|
37238
37798
|
*/
|
|
@@ -37401,7 +37961,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
37401
37961
|
/**
|
|
37402
37962
|
* Represents the PDF export toolbar tool of the Grid.
|
|
37403
37963
|
* Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent in the Grid.
|
|
37404
|
-
* When you click the toolbar button with this directive, the [`pdfExport`](
|
|
37964
|
+
* When you click the toolbar button with this directive, the [`pdfExport`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#pdfexport) event fires. ([See example](https://www.telerik.com/kendo-angular-ui/components/grid/export/pdf-export)).
|
|
37405
37965
|
*
|
|
37406
37966
|
* @example
|
|
37407
37967
|
* ```html
|
|
@@ -37448,7 +38008,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
37448
38008
|
/**
|
|
37449
38009
|
* Represents the **Export to Excel** toolbar tool of the Grid.
|
|
37450
38010
|
* Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent used in the Grid.
|
|
37451
|
-
* When the user clicks the button, the [`excelExport`](
|
|
38011
|
+
* When the user clicks the button, the [`excelExport`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#excelexport) event fires ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/export/excel-export)).
|
|
37452
38012
|
*
|
|
37453
38013
|
* @example
|
|
37454
38014
|
* ```html
|
|
@@ -37575,7 +38135,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
37575
38135
|
/**
|
|
37576
38136
|
* Represents the command for adding a new item to the Grid.
|
|
37577
38137
|
* You can apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent used in the Grid.
|
|
37578
|
-
* When you click the toolbar button associated with the directive, the [`add`](
|
|
38138
|
+
* When you click the toolbar button associated with the directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#add) event triggers ([see example](https://www.telerik.com/kendo-angular-ui/components/grid/editing/basics)).
|
|
37579
38139
|
*
|
|
37580
38140
|
* @example
|
|
37581
38141
|
* ```html
|
|
@@ -38120,7 +38680,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
38120
38680
|
* Apply this directive to any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
38121
38681
|
*
|
|
38122
38682
|
* When users click the toolbar button with this directive, the
|
|
38123
|
-
* [`undo`](
|
|
38683
|
+
* [`undo`](https://www.telerik.com/kendo-angular-ui/components/grid/api/undoredodirective#undo) event is triggered.
|
|
38124
38684
|
*
|
|
38125
38685
|
* @example
|
|
38126
38686
|
* ```html
|
|
@@ -38183,7 +38743,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
38183
38743
|
* Apply this directive to any `kendo-toolbar-button` inside a ToolbarComponent in the Grid.
|
|
38184
38744
|
*
|
|
38185
38745
|
* When users click the toolbar button with this directive, the
|
|
38186
|
-
* [`redo`](
|
|
38746
|
+
* [`redo`](https://www.telerik.com/kendo-angular-ui/components/grid/api/undoredodirective#redo) event is triggered.
|
|
38187
38747
|
*
|
|
38188
38748
|
* @example
|
|
38189
38749
|
* ```html
|
|
@@ -38778,7 +39338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
38778
39338
|
* element inside a ToolbarComponent used in the Grid.
|
|
38779
39339
|
*
|
|
38780
39340
|
* When you click the toolbar button with this directive, the
|
|
38781
|
-
* [`edit`](
|
|
39341
|
+
* [`edit`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#edit) event fires.
|
|
38782
39342
|
*
|
|
38783
39343
|
* @example
|
|
38784
39344
|
* ```html
|
|
@@ -38823,7 +39383,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
38823
39383
|
* element inside a ToolbarComponent used in the Grid.
|
|
38824
39384
|
*
|
|
38825
39385
|
* When you click the toolbar button with this directive, the
|
|
38826
|
-
* [`save`](
|
|
39386
|
+
* [`save`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#save) event fires.
|
|
38827
39387
|
*
|
|
38828
39388
|
* @example
|
|
38829
39389
|
* ```html
|
|
@@ -38873,7 +39433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
38873
39433
|
* element inside a ToolbarComponent used in the Grid.
|
|
38874
39434
|
*
|
|
38875
39435
|
* When you click the toolbar button with this directive, the
|
|
38876
|
-
* [`remove`](
|
|
39436
|
+
* [`remove`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#remove) event fires.
|
|
38877
39437
|
*
|
|
38878
39438
|
* @example
|
|
38879
39439
|
* ```html
|
|
@@ -38918,7 +39478,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
38918
39478
|
* Represents the `cancel` command in the Grid.
|
|
38919
39479
|
* Apply this directive to any `kendo-toolbar-button` element inside a ToolbarComponent in the Grid.
|
|
38920
39480
|
*
|
|
38921
|
-
* When you click the toolbar button with this directive, the [`cancel`](
|
|
39481
|
+
* When you click the toolbar button with this directive, the [`cancel`](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#cancel) event triggers.
|
|
38922
39482
|
*
|
|
38923
39483
|
* @example
|
|
38924
39484
|
* ```html
|
|
@@ -40219,6 +40779,16 @@ const KENDO_GRID_EXCEL_EXPORT = [
|
|
|
40219
40779
|
GroupHeaderColumnTemplateDirective$1,
|
|
40220
40780
|
GroupHeaderTemplateDirective$1
|
|
40221
40781
|
];
|
|
40782
|
+
/**
|
|
40783
|
+
* @hidden
|
|
40784
|
+
*
|
|
40785
|
+
* Utility array that contains the CSVExport module exports
|
|
40786
|
+
*/
|
|
40787
|
+
const KENDO_GRID_CSV_EXPORT = [
|
|
40788
|
+
CSVComponent,
|
|
40789
|
+
CSVCommandDirective,
|
|
40790
|
+
CSVCommandToolbarDirective
|
|
40791
|
+
];
|
|
40222
40792
|
/**
|
|
40223
40793
|
* @hidden
|
|
40224
40794
|
*
|
|
@@ -40246,6 +40816,7 @@ const KENDO_GRID_PDF_EXPORT = [
|
|
|
40246
40816
|
const KENDO_GRID = [
|
|
40247
40817
|
...KENDO_GRID_EXPORTS,
|
|
40248
40818
|
...KENDO_GRID_EXCEL_EXPORT,
|
|
40819
|
+
...KENDO_GRID_CSV_EXPORT,
|
|
40249
40820
|
...KENDO_GRID_PDF_EXPORT
|
|
40250
40821
|
];
|
|
40251
40822
|
|
|
@@ -40399,9 +40970,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
40399
40970
|
}]
|
|
40400
40971
|
}] });
|
|
40401
40972
|
|
|
40973
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
40974
|
+
/**
|
|
40975
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the CSV component of the Grid.
|
|
40976
|
+
*
|
|
40977
|
+
* @example
|
|
40978
|
+
* ```ts
|
|
40979
|
+
* import { NgModule } from '@angular/core';
|
|
40980
|
+
* import { BrowserModule } from "@angular/platform-browser";
|
|
40981
|
+
* import { GridModule, CSVModule } from '@progress/kendo-angular-grid';
|
|
40982
|
+
* import { AppComponent } from './app.component';
|
|
40983
|
+
*
|
|
40984
|
+
* _@NgModule({
|
|
40985
|
+
* declarations: [AppComponent],
|
|
40986
|
+
* imports: [BrowserModule, GridModule, CSVModule],
|
|
40987
|
+
* bootstrap: [AppComponent]
|
|
40988
|
+
* })
|
|
40989
|
+
* export class AppModule {}
|
|
40990
|
+
* ```
|
|
40991
|
+
*/
|
|
40992
|
+
class CSVModule {
|
|
40993
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
40994
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: CSVModule, imports: [i1$1.IconComponent, i1$1.SVGIconComponent, CSVComponent, CSVCommandDirective, CSVCommandToolbarDirective], exports: [CSVComponent, CSVCommandDirective, CSVCommandToolbarDirective] });
|
|
40995
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVModule, providers: [IconsService], imports: [KENDO_ICONS, CSVCommandDirective] });
|
|
40996
|
+
}
|
|
40997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CSVModule, decorators: [{
|
|
40998
|
+
type: NgModule,
|
|
40999
|
+
args: [{
|
|
41000
|
+
imports: [...KENDO_ICONS, ...KENDO_GRID_CSV_EXPORT],
|
|
41001
|
+
exports: [...KENDO_GRID_CSV_EXPORT],
|
|
41002
|
+
providers: [IconsService]
|
|
41003
|
+
}]
|
|
41004
|
+
}] });
|
|
41005
|
+
|
|
40402
41006
|
/**
|
|
40403
41007
|
* Generated bundle index. Do not edit.
|
|
40404
41008
|
*/
|
|
40405
41009
|
|
|
40406
|
-
export { AIAssistantToolbarDirective, AdaptiveGridService, AddCommandDirective, AddCommandToolbarDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, BrowserSupportService, CELL_CONTEXT, CancelCommandDirective, CancelCommandToolbarDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionAggregateService, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnListComponent, ColumnLockedChangeEvent, ColumnMenuAutoSizeAllColumnsComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuService, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnReorderService, ColumnResizingService, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, ContextService, CustomMessagesComponent, DEFAULT_AI_REQUEST_OPTIONS, DEFAULT_SCROLLER_FACTORY, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DetailsService, DoesNotContainFilterOperatorComponent, DomEventsService, DragAndDropService, DragHintService, DropCueService, EditCommandDirective, EditCommandToolbarDirective, EditService as EditServiceClass, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelCommandToolbarDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, ExternalEditingDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterCommandToolbarDirective, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuTemplateDirective, FilterOperatorBase, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridAIAssistantResponseErrorEvent, GridAIAssistantResponseSuccessEvent, GridClipboardDirective, GridComponent, GridModule, GridSpacerComponent, GridTableDirective, GridToolbarFocusableDirective, GridToolbarNavigationService, GroupCommandToolbarDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupInfoService, GroupPanelComponent, GroupsService, HeaderComponent, HeaderTemplateDirective, HighlightDirective, IdService, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, KENDO_GRID, KENDO_GRID_BODY_EXPORTS, KENDO_GRID_COLUMN_DRAGANDDROP, KENDO_GRID_COLUMN_MENU_DECLARATIONS, KENDO_GRID_COLUMN_MENU_EXPORTS, KENDO_GRID_DECLARATIONS, KENDO_GRID_EXCEL_EXPORT, KENDO_GRID_EXPORTS, KENDO_GRID_FILTER_MENU, KENDO_GRID_FILTER_MENU_EXPORTS, KENDO_GRID_FILTER_OPERATORS, KENDO_GRID_FILTER_ROW, KENDO_GRID_FILTER_ROW_EXPORTS, KENDO_GRID_FILTER_SHARED, KENDO_GRID_FOOTER_EXPORTS, KENDO_GRID_GROUP_EXPORTS, KENDO_GRID_HEADER_EXPORTS, KENDO_GRID_PDF_EXPORT, KENDO_GRID_SHARED, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, MultiCheckboxFilterComponent, NavigationService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFCommandToolbarDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RedoCommandToolbarDirective, RemoveCommandDirective, RemoveCommandToolbarDirective, ResizableContainerDirective, ResizeService, ResponsiveService, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, RowEditingDirectiveBase, RowReorderColumnComponent, RowReorderService, SaveCommandDirective, SaveCommandToolbarDirective, ScrollRequestService, ScrollSyncService, SelectAllCheckboxDirective, SelectAllToolbarToolComponent, SelectionCheckboxDirective, SelectionDirective, SelectionService, SinglePopupService, SizingOptionsService, Skip, SortCommandToolbarDirective, SortService, SpanColumnComponent, StartsWithFilterOperatorComponent, StatusBarTemplateDirective, StringFilterCellComponent, StringFilterComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, UndoCommandToolbarDirective, UndoRedoDirective, UndoRedoEvent, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable };
|
|
41010
|
+
export { AIAssistantToolbarDirective, AdaptiveGridService, AddCommandDirective, AddCommandToolbarDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, BrowserSupportService, CELL_CONTEXT, CSVCommandDirective, CSVCommandToolbarDirective, CSVComponent, CSVExportEvent, CSVModule, CSVService, CancelCommandDirective, CancelCommandToolbarDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionAggregateService, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnListComponent, ColumnLockedChangeEvent, ColumnMenuAutoSizeAllColumnsComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuService, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnReorderService, ColumnResizingService, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, ContextService, CustomMessagesComponent, DEFAULT_AI_REQUEST_OPTIONS, DEFAULT_SCROLLER_FACTORY, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DetailsService, DoesNotContainFilterOperatorComponent, DomEventsService, DragAndDropService, DragHintService, DropCueService, EditCommandDirective, EditCommandToolbarDirective, EditService as EditServiceClass, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelCommandToolbarDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, ExternalEditingDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterCommandToolbarDirective, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuTemplateDirective, FilterOperatorBase, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridAIAssistantResponseErrorEvent, GridAIAssistantResponseSuccessEvent, GridClipboardDirective, GridComponent, GridModule, GridSpacerComponent, GridTableDirective, GridToolbarFocusableDirective, GridToolbarNavigationService, GroupCommandToolbarDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupInfoService, GroupPanelComponent, GroupsService, HeaderComponent, HeaderTemplateDirective, HighlightDirective, IdService, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, KENDO_GRID, KENDO_GRID_BODY_EXPORTS, KENDO_GRID_COLUMN_DRAGANDDROP, KENDO_GRID_COLUMN_MENU_DECLARATIONS, KENDO_GRID_COLUMN_MENU_EXPORTS, KENDO_GRID_CSV_EXPORT, KENDO_GRID_DECLARATIONS, KENDO_GRID_EXCEL_EXPORT, KENDO_GRID_EXPORTS, KENDO_GRID_FILTER_MENU, KENDO_GRID_FILTER_MENU_EXPORTS, KENDO_GRID_FILTER_OPERATORS, KENDO_GRID_FILTER_ROW, KENDO_GRID_FILTER_ROW_EXPORTS, KENDO_GRID_FILTER_SHARED, KENDO_GRID_FOOTER_EXPORTS, KENDO_GRID_GROUP_EXPORTS, KENDO_GRID_HEADER_EXPORTS, KENDO_GRID_PDF_EXPORT, KENDO_GRID_SHARED, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, MultiCheckboxFilterComponent, NavigationService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFCommandToolbarDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RedoCommandToolbarDirective, RemoveCommandDirective, RemoveCommandToolbarDirective, ResizableContainerDirective, ResizeService, ResponsiveService, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, RowEditingDirectiveBase, RowReorderColumnComponent, RowReorderService, SaveCommandDirective, SaveCommandToolbarDirective, ScrollRequestService, ScrollSyncService, SelectAllCheckboxDirective, SelectAllToolbarToolComponent, SelectionCheckboxDirective, SelectionDirective, SelectionService, SinglePopupService, SizingOptionsService, Skip, SortCommandToolbarDirective, SortService, SpanColumnComponent, StartsWithFilterOperatorComponent, StatusBarTemplateDirective, StringFilterCellComponent, StringFilterComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, UndoCommandToolbarDirective, UndoRedoDirective, UndoRedoEvent, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable };
|
|
40407
41011
|
|