@progress/kendo-angular-grid 12.0.0 → 12.0.1-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/column-menu/column-chooser.component.d.ts +14 -19
  2. package/column-menu/column-menu-autosize-all.component.d.ts +15 -27
  3. package/column-menu/column-menu-autosize.component.d.ts +15 -26
  4. package/column-menu/column-menu-chooser.component.d.ts +11 -24
  5. package/column-menu/column-menu-expandable-item.interface.d.ts +0 -1
  6. package/column-menu/column-menu-filter.component.d.ts +12 -24
  7. package/column-menu/column-menu-item.component.d.ts +6 -21
  8. package/column-menu/column-menu-lock.component.d.ts +11 -25
  9. package/column-menu/column-menu-position.component.d.ts +12 -24
  10. package/column-menu/column-menu-settings.interface.d.ts +3 -24
  11. package/column-menu/column-menu-sort.component.d.ts +12 -25
  12. package/column-menu/column-menu-stick.component.d.ts +12 -24
  13. package/column-menu/column-menu.component.d.ts +9 -1
  14. package/column-resizing/column-resize.interface.d.ts +1 -1
  15. package/columns/checkbox-column.component.d.ts +6 -57
  16. package/columns/column-base.d.ts +2 -0
  17. package/columns/column-group.component.d.ts +9 -48
  18. package/columns/column.component.d.ts +23 -109
  19. package/columns/command-column.component.d.ts +12 -60
  20. package/columns/reorder-column.component.d.ts +1 -1
  21. package/columns/sort-settings.d.ts +4 -8
  22. package/columns/span-column.component.d.ts +12 -123
  23. package/common/cell-click-event-args.interface.d.ts +1 -1
  24. package/data/change-event-args.interface.d.ts +2 -2
  25. package/data/data.collection.d.ts +1 -1
  26. package/dragdrop/column-reorder-config.d.ts +1 -1
  27. package/editing/add-event-args.interface.d.ts +1 -1
  28. package/editing/cancel-event-args.interface.d.ts +1 -1
  29. package/editing/edit-command.directive.d.ts +2 -2
  30. package/editing/edit-event-args.interface.d.ts +1 -1
  31. package/editing/edit-template.directive.d.ts +1 -2
  32. package/editing/remove-event-args.interface.d.ts +1 -1
  33. package/editing/save-event-args.interface.d.ts +1 -1
  34. package/editing-directives/edit-service.interface.d.ts +1 -1
  35. package/esm2020/column-menu/column-chooser.component.mjs +14 -19
  36. package/esm2020/column-menu/column-menu-autosize-all.component.mjs +15 -27
  37. package/esm2020/column-menu/column-menu-autosize.component.mjs +15 -26
  38. package/esm2020/column-menu/column-menu-chooser.component.mjs +11 -24
  39. package/esm2020/column-menu/column-menu-filter.component.mjs +12 -24
  40. package/esm2020/column-menu/column-menu-item.component.mjs +6 -21
  41. package/esm2020/column-menu/column-menu-lock.component.mjs +11 -25
  42. package/esm2020/column-menu/column-menu-position.component.mjs +12 -24
  43. package/esm2020/column-menu/column-menu-sort.component.mjs +12 -25
  44. package/esm2020/column-menu/column-menu-stick.component.mjs +12 -24
  45. package/esm2020/column-menu/column-menu.component.mjs +9 -1
  46. package/esm2020/columns/checkbox-column.component.mjs +6 -57
  47. package/esm2020/columns/column-base.mjs +1 -0
  48. package/esm2020/columns/column-group.component.mjs +9 -48
  49. package/esm2020/columns/column.component.mjs +22 -79
  50. package/esm2020/columns/command-column.component.mjs +12 -60
  51. package/esm2020/columns/reorder-column.component.mjs +1 -1
  52. package/esm2020/columns/span-column.component.mjs +12 -123
  53. package/esm2020/editing/edit-command.directive.mjs +2 -2
  54. package/esm2020/editing/edit-template.directive.mjs +1 -2
  55. package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +11 -10
  56. package/esm2020/filtering/cell/date-filter-cell.component.mjs +26 -13
  57. package/esm2020/filtering/cell/filter-cell-operators.component.mjs +15 -0
  58. package/esm2020/filtering/cell/numeric-filter-cell.component.mjs +14 -11
  59. package/esm2020/filtering/cell/string-filter-cell.component.mjs +14 -15
  60. package/esm2020/filtering/date-filter.component.mjs +6 -2
  61. package/esm2020/filtering/menu/boolean-filter-menu.component.mjs +13 -13
  62. package/esm2020/filtering/menu/date-filter-menu.component.mjs +13 -13
  63. package/esm2020/filtering/menu/numeric-filter-menu.component.mjs +13 -13
  64. package/esm2020/filtering/menu/string-filter-menu.component.mjs +15 -2
  65. package/esm2020/filtering/numeric-filter.component.mjs +4 -1
  66. package/esm2020/filtering/operators/after-eq-filter-operator.component.mjs +3 -6
  67. package/esm2020/filtering/operators/after-filter-operator.component.mjs +3 -6
  68. package/esm2020/filtering/operators/before-eq-filter-operator.component.mjs +3 -6
  69. package/esm2020/filtering/operators/before-filter-operator.component.mjs +3 -6
  70. package/esm2020/filtering/operators/contains-filter-operator.component.mjs +2 -5
  71. package/esm2020/filtering/operators/ends-with-filter-operator.component.mjs +2 -4
  72. package/esm2020/filtering/operators/eq-filter-operator.component.mjs +2 -4
  73. package/esm2020/filtering/operators/gt-filter-operator.component.mjs +3 -6
  74. package/esm2020/filtering/operators/gte-filter-operator.component.mjs +2 -5
  75. package/esm2020/filtering/operators/is-empty-filter-operator.component.mjs +2 -4
  76. package/esm2020/filtering/operators/is-not-empty-filter-operator.component.mjs +2 -4
  77. package/esm2020/filtering/operators/is-not-null-filter-operator.component.mjs +2 -4
  78. package/esm2020/filtering/operators/isnull-filter-operator.component.mjs +2 -4
  79. package/esm2020/filtering/operators/lt-filter-operator.component.mjs +3 -5
  80. package/esm2020/filtering/operators/lte-filter-operator.component.mjs +3 -5
  81. package/esm2020/filtering/operators/neq-filter-operator.component.mjs +2 -4
  82. package/esm2020/filtering/operators/not-contains-filter-operator.component.mjs +2 -4
  83. package/esm2020/filtering/operators/starts-with-filter-operator.component.mjs +2 -4
  84. package/esm2020/filtering/string-filter.component.mjs +2 -1
  85. package/esm2020/grid.component.mjs +38 -325
  86. package/esm2020/localization/custom-messages.component.mjs +1 -1
  87. package/esm2020/package-metadata.mjs +2 -2
  88. package/esm2020/pager/pager-info.component.mjs +1 -1
  89. package/esm2020/pager/pager-input.component.mjs +1 -48
  90. package/esm2020/pager/pager-next-buttons.component.mjs +1 -1
  91. package/esm2020/pager/pager-numeric-buttons.component.mjs +1 -1
  92. package/esm2020/pager/pager-page-sizes.component.mjs +3 -92
  93. package/esm2020/pager/pager-prev-buttons.component.mjs +1 -1
  94. package/esm2020/pdf/pdf-margin.component.mjs +9 -0
  95. package/esm2020/rendering/common/spacer.component.mjs +2 -1
  96. package/excel/excel.component.d.ts +2 -7
  97. package/fesm2015/progress-kendo-angular-grid.mjs +444 -1265
  98. package/fesm2020/progress-kendo-angular-grid.mjs +444 -1265
  99. package/filtering/cell/boolean-filter-cell.component.d.ts +11 -10
  100. package/filtering/cell/date-filter-cell.component.d.ts +26 -13
  101. package/filtering/cell/filter-cell-operators.component.d.ts +15 -0
  102. package/filtering/cell/numeric-filter-cell.component.d.ts +14 -11
  103. package/filtering/cell/string-filter-cell.component.d.ts +14 -15
  104. package/filtering/date-filter.component.d.ts +8 -12
  105. package/filtering/menu/boolean-filter-menu.component.d.ts +13 -13
  106. package/filtering/menu/date-filter-menu.component.d.ts +13 -13
  107. package/filtering/menu/numeric-filter-menu.component.d.ts +13 -13
  108. package/filtering/menu/string-filter-menu.component.d.ts +15 -2
  109. package/filtering/numeric-filter.component.d.ts +4 -1
  110. package/filtering/operators/after-eq-filter-operator.component.d.ts +4 -0
  111. package/filtering/operators/after-filter-operator.component.d.ts +4 -0
  112. package/filtering/operators/before-eq-filter-operator.component.d.ts +4 -0
  113. package/filtering/operators/before-filter-operator.component.d.ts +4 -0
  114. package/filtering/operators/contains-filter-operator.component.d.ts +2 -5
  115. package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -4
  116. package/filtering/operators/eq-filter-operator.component.d.ts +2 -4
  117. package/filtering/operators/gt-filter-operator.component.d.ts +4 -0
  118. package/filtering/operators/gte-filter-operator.component.d.ts +2 -5
  119. package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -4
  120. package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -4
  121. package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -4
  122. package/filtering/operators/isnull-filter-operator.component.d.ts +2 -4
  123. package/filtering/operators/lt-filter-operator.component.d.ts +5 -0
  124. package/filtering/operators/lte-filter-operator.component.d.ts +5 -0
  125. package/filtering/operators/neq-filter-operator.component.d.ts +2 -4
  126. package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -4
  127. package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -4
  128. package/filtering/string-filter.component.d.ts +2 -1
  129. package/grid.component.d.ts +42 -327
  130. package/grouping/group-key.interface.d.ts +1 -13
  131. package/grouping/group-rows-args.interface.d.ts +1 -1
  132. package/localization/custom-messages.component.d.ts +1 -1
  133. package/localization/messages.d.ts +35 -98
  134. package/navigation/navigation-cell.interface.d.ts +2 -5
  135. package/navigation/navigation-row.interface.d.ts +2 -5
  136. package/package.json +19 -19
  137. package/pager/pager-info.component.d.ts +1 -1
  138. package/pager/pager-input.component.d.ts +1 -48
  139. package/pager/pager-next-buttons.component.d.ts +1 -1
  140. package/pager/pager-numeric-buttons.component.d.ts +1 -1
  141. package/pager/pager-page-sizes.component.d.ts +3 -92
  142. package/pager/pager-prev-buttons.component.d.ts +1 -1
  143. package/pager/pager-settings.d.ts +1 -26
  144. package/pdf/pdf-margin.component.d.ts +9 -0
  145. package/pdf/pdf-margin.interface.d.ts +0 -5
  146. package/rendering/common/spacer.component.d.ts +2 -1
  147. package/row-reordering/types.d.ts +1 -1
  148. package/schematics/ngAdd/index.js +2 -2
  149. package/scrolling/content-scroll-event.d.ts +1 -1
  150. package/scrolling/scroll-request.service.d.ts +2 -1
  151. package/selection/types.d.ts +7 -46
@@ -16,7 +16,7 @@ import * as i5 from "@progress/kendo-angular-label";
16
16
  import * as i6 from "./pager-dropdown.directive";
17
17
  import * as i7 from "../navigation/focusable.directive";
18
18
  /**
19
- * Displays a drop-down list for the page size selection ([see example]({% slug paging_grid %}#toc-pager-templates)).
19
+ * Displays a drop-down list for the page size selection ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
20
20
  */
21
21
  export class PagerPageSizesComponent extends PagerElementComponent {
22
22
  constructor(localization, cd, pagerContext, navigationService) {
@@ -26,97 +26,8 @@ export class PagerPageSizesComponent extends PagerElementComponent {
26
26
  this._pageSizes = [];
27
27
  }
28
28
  /**
29
- * The page sizes collection. Can be an Array of numbers and/or PageSizeItem objects.
30
- *
31
- * @example
32
- * ```ts-preview
33
- * _@Component({
34
- * selector: 'my-app',
35
- * template: `
36
- * <kendo-grid [kendoGridBinding]="gridData" [height]="200"
37
- * [pageable]="true"
38
- * [pageSize]="pageSize">
39
- * <ng-template kendoPagerTemplate let-totalPages="totalPages" let-currentPage="currentPage">
40
- * <kendo-pager-page-sizes [pageSizes]="pagesizes"></kendo-pager-page-sizes>
41
- * </ng-template>
42
- * </kendo-grid>
43
- * `
44
- * })
45
- * class AppComponent {
46
- * public gridData: any[] = products;
47
- * public pageSize = 2;
48
- * public pagesizes = [{text: 'One', value: 1}, {text: 'Two', value: 2}, {text: 'All', value : 'all'}];
49
- * }
50
- *
51
- * const products = [{
52
- * 'ProductID' : 1,
53
- * 'ProductName' : "Chai",
54
- * 'SupplierID' : 1,
55
- * 'CategoryID' : 1,
56
- * 'QuantityPerUnit' : "10 boxes x 20 bags",
57
- * 'UnitPrice' : 18.0000,
58
- * 'UnitsInStock' : 39,
59
- * 'UnitsOnOrder' : 0,
60
- * 'ReorderLevel' : 10,
61
- * 'Discontinued' : false
62
- *
63
- * }, {
64
- * 'ProductID' : 2,
65
- * 'ProductName' : "Chang",
66
- * 'SupplierID' : 1,
67
- * 'CategoryID' : 1,
68
- * 'QuantityPerUnit' : "24 - 12 oz bottles",
69
- * 'UnitPrice' : 19.0000,
70
- * 'UnitsInStock' : 17,
71
- * 'UnitsOnOrder' : 40,
72
- * 'ReorderLevel' : 25,
73
- * 'Discontinued' : false
74
- * }, {
75
- * 'ProductID' : 3,
76
- * 'ProductName' : "Aniseed Syrup",
77
- * 'SupplierID' : 1,
78
- * 'CategoryID' : 2,
79
- * 'QuantityPerUnit' : "12 - 550 ml bottles",
80
- * 'UnitPrice' : 10.0000,
81
- * 'UnitsInStock' : 13,
82
- * 'UnitsOnOrder' : 70,
83
- * 'ReorderLevel' : 25,
84
- * 'Discontinued' : false
85
- * }, {
86
- * 'ProductID' : 4,
87
- * 'ProductName' : "Chef Anton\'s Cajun Seasoning",
88
- * 'SupplierID' : 2,
89
- * 'CategoryID' : 2,
90
- * 'QuantityPerUnit' : "48 - 6 oz jars",
91
- * 'UnitPrice' : 22.0000,
92
- * 'UnitsInStock' : 53,
93
- * 'UnitsOnOrder' : 0,
94
- * 'ReorderLevel' : 0,
95
- * 'Discontinued' : false
96
- * }, {
97
- * 'ProductID' : 5,
98
- * 'ProductName' : "Chef Anton\'s Gumbo Mix",
99
- * 'SupplierID' : 2,
100
- * 'CategoryID' : 2,
101
- * 'QuantityPerUnit' : "36 boxes",
102
- * 'UnitPrice' : 21.3500,
103
- * 'UnitsInStock' : 0,
104
- * 'UnitsOnOrder' : 0,
105
- * 'ReorderLevel' : 0,
106
- * 'Discontinued' : true
107
- * }, {
108
- * 'ProductID' : 6,
109
- * 'ProductName' : "Grandma\'s Boysenberry Spread",
110
- * 'SupplierID' : 3,
111
- * 'CategoryID' : 2,
112
- * 'QuantityPerUnit' : "12 - 8 oz jars",
113
- * 'UnitPrice' : 25.0000,
114
- * 'UnitsInStock' : 120,
115
- * 'UnitsOnOrder' : 0,
116
- * 'ReorderLevel' : 25,
117
- * 'Discontinued' : false
118
- * }];
119
- * ```
29
+ * The page sizes collection. Can be an Array of numbers and/or [`PageSizeItem`](slug:api_grid_pagesizeitem) objects
30
+ * ([see example]({% slug paging_grid %}#toc-pager-templates))
120
31
  */
121
32
  set pageSizes(pageSizes) {
122
33
  let normalizedItems = [];
@@ -15,7 +15,7 @@ import * as i3 from "./../navigation/navigation.service";
15
15
  import * as i4 from "@progress/kendo-angular-buttons";
16
16
  import * as i5 from "../navigation/focusable.directive";
17
17
  /**
18
- * Displays buttons for navigating to the first and to the previous page ([see example]({% slug paging_grid %}#toc-pager-templates)).
18
+ * Displays buttons for navigating to the first and to the previous page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
19
19
  */
20
20
  export class PagerPrevButtonsComponent extends PagerElementComponent {
21
21
  constructor(localization, pagerContext, cd, navigationService) {
@@ -5,6 +5,15 @@
5
5
  import { Component } from '@angular/core';
6
6
  import { PDFExportMarginComponent } from '@progress/kendo-angular-pdf-export';
7
7
  import * as i0 from "@angular/core";
8
+ /**
9
+ * Represents the Kendo UI PDFMargin component for Angular.
10
+ * The supported units are:
11
+ * `"mm"`
12
+ * `"cm"`
13
+ * `"in"`
14
+ * `"pt"` (default).
15
+ * Numbers are considered to be points (`"pt"`).
16
+ */
8
17
  export class PDFMarginComponent extends PDFExportMarginComponent {
9
18
  }
10
19
  PDFMarginComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: PDFMarginComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
@@ -9,7 +9,8 @@ import * as i0 from "@angular/core";
9
9
  * Represents the Kendo UI GridSpacer component for Angular.
10
10
  * Used to give additional white space between the Pager inner elements,
11
11
  * and provides a way for customizing the spacer width.
12
- * It can also be used in any flex container within the Grid.
12
+ * It can also be used in any flex container within the Grid
13
+ * ([see example](slug:toolbartemplate_grid#toc-defining-the-spacing-between-toolbar-elements)).
13
14
  */
14
15
  export class GridSpacerComponent {
15
16
  constructor() {
@@ -39,18 +39,13 @@ export declare class ExcelComponent implements OnDestroy {
39
39
  /**
40
40
  * The URL of the server-side proxy which streams the file to the end user.
41
41
  *
42
- * Using a proxy is required if the browser is not capable of saving files locally&mdash;for example,
43
- * Internet Explorer 9 and Safari.
42
+ * Using a proxy is required if the browser is not capable of saving files locally.
44
43
  *
45
44
  * Optionally, set up a proxy to reduce memory usage. This avoids copying the file contents in memory,
46
45
  * but transmits it over the network instead. For this use case, set [forceProxy](#toc-forceproxy) to `true`
47
46
  * to skip client-side saving even in browser that support it.
48
47
  *
49
- * In the request body, the proxy receives a POST request with the following parameters:
50
- * - `contentType`&mdash;The MIME type of the file.
51
- * - `base64`&mdash;The base-64 encoded file content.
52
- * - `fileName`&mdash;The file name, as requested by the caller.
53
- *
48
+ * In the request body, the proxy receives a POST request with the specific parameters. [See exmaple](slug:server_proxy#toc-implementations).
54
49
  * The proxy returns the decoded file with the `"Content-Disposition"` header set to `attachment; filename="<fileName.xslx>"`.
55
50
  *
56
51
  * For details on the server-side proxy usage and implementation, see the [File Saver]({% slug overview_filesaver %}) documentation.