@progress/kendo-angular-grid 5.4.1 → 5.4.3

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.
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-grid',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1632904003,
12
+ publishDate: 1635941151,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -40,7 +40,7 @@ export declare type PagerType = 'numeric' | 'input';
40
40
  */
41
41
  export declare type PagerPosition = 'top' | 'bottom' | 'both';
42
42
  /**
43
- * The pager settings of the Grid.
43
+ * The pager settings of the Grid ([see example]({% slug paging_grid %}#toc-pager-settings)).
44
44
  *
45
45
  * @example
46
46
  * ```html-no-run
@@ -125,8 +125,8 @@ let ListComponent = class ListComponent {
125
125
  this.scrollLeft = 0;
126
126
  this.rtl = false;
127
127
  this.scroller = scrollerFactory(this.dispatcher);
128
- this.subscriptions =
129
- detailsService.changes.subscribe(x => this.detailExpand(x)).add(scrollRequestService.requests.subscribe(x => this.scrollTo(x)));
128
+ this.subscriptions = detailsService.changes.subscribe(x => this.detailExpand(x));
129
+ this.subscriptions.add(scrollRequestService.requests.subscribe(x => this.scrollTo(x)));
130
130
  }
131
131
  get hostClass() {
132
132
  return true;
@@ -2831,7 +2831,7 @@ const packageMetadata = {
2831
2831
  name: '@progress/kendo-angular-grid',
2832
2832
  productName: 'Kendo UI for Angular',
2833
2833
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
2834
- publishDate: 1632904003,
2834
+ publishDate: 1635941151,
2835
2835
  version: '',
2836
2836
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
2837
2837
  };
@@ -3000,13 +3000,14 @@ GroupHeaderColumnTemplateDirective = __decorate([
3000
3000
  * Helps to customize the content of the edited cells. To define the cell template, nest an `<ng-template>`
3001
3001
  * tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag.
3002
3002
  *
3003
- * The template context contains the following fields:
3003
+ * The template context is set to the current form group and the following additional fields are passed:
3004
3004
  * - `formGroup`&mdash;The current [FormGroup]({{ site.data.urls.angular['formgroupapi'] }}).
3005
+ * Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax&mdash;for example, `let-formGroup`.
3005
3006
  * If you use the Grid inside [Template-Driven Forms]({{ site.data.urls.angular['forms'] }}), it will be `undefined`.
3006
- * - `rowIndex`&mdash;The current data row index. If inside a new item row, `rowIndex` is `-1`.
3007
- * - `dataItem`&mdash;The current data item.
3008
- * - `column`&mdash;The current column instance.
3009
- * - `isNew`&mdash;The state of the current item.
3007
+ * - `rowIndex`&mdash;The current data row index. If inside a new item row, `rowIndex` is `-1`. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
3008
+ * - `dataItem`&mdash;The current data item. Use it as an alias for a template variable by utilizing the `let-dataItem="dataItem"` syntax.
3009
+ * - `column`&mdash;The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
3010
+ * - `isNew`&mdash;The state of the current item. Use it as an alias for a template variable by utilizing the `let-isNew="isNew"` syntax.
3010
3011
  */
3011
3012
  let EditTemplateDirective = class EditTemplateDirective {
3012
3013
  constructor(templateRef) {
@@ -7039,7 +7040,7 @@ let GridComponent = class GridComponent {
7039
7040
  if (isUniversal()) {
7040
7041
  return "";
7041
7042
  }
7042
- const padding = Math.max(0, this.scrollbarWidth - 1) + 'px';
7043
+ const padding = Math.max(0, this.scrollbarWidth) + 'px';
7043
7044
  const right = this.rtl ? 0 : padding;
7044
7045
  const left = this.rtl ? padding : 0;
7045
7046
  return `0 ${right} 0 ${left}`;
@@ -9448,8 +9449,8 @@ let ListComponent = class ListComponent {
9448
9449
  this.scrollLeft = 0;
9449
9450
  this.rtl = false;
9450
9451
  this.scroller = scrollerFactory(this.dispatcher);
9451
- this.subscriptions =
9452
- detailsService.changes.subscribe(x => this.detailExpand(x)).add(scrollRequestService.requests.subscribe(x => this.scrollTo(x)));
9452
+ this.subscriptions = detailsService.changes.subscribe(x => this.detailExpand(x));
9453
+ this.subscriptions.add(scrollRequestService.requests.subscribe(x => this.scrollTo(x)));
9453
9454
  }
9454
9455
  get hostClass() {
9455
9456
  return true;
@@ -3046,7 +3046,7 @@ var packageMetadata = {
3046
3046
  name: '@progress/kendo-angular-grid',
3047
3047
  productName: 'Kendo UI for Angular',
3048
3048
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
3049
- publishDate: 1632904003,
3049
+ publishDate: 1635941151,
3050
3050
  version: '',
3051
3051
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
3052
3052
  };
@@ -3218,13 +3218,14 @@ var GroupHeaderColumnTemplateDirective = /** @class */ (function () {
3218
3218
  * Helps to customize the content of the edited cells. To define the cell template, nest an `<ng-template>`
3219
3219
  * tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag.
3220
3220
  *
3221
- * The template context contains the following fields:
3221
+ * The template context is set to the current form group and the following additional fields are passed:
3222
3222
  * - `formGroup`&mdash;The current [FormGroup]({{ site.data.urls.angular['formgroupapi'] }}).
3223
+ * Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax&mdash;for example, `let-formGroup`.
3223
3224
  * If you use the Grid inside [Template-Driven Forms]({{ site.data.urls.angular['forms'] }}), it will be `undefined`.
3224
- * - `rowIndex`&mdash;The current data row index. If inside a new item row, `rowIndex` is `-1`.
3225
- * - `dataItem`&mdash;The current data item.
3226
- * - `column`&mdash;The current column instance.
3227
- * - `isNew`&mdash;The state of the current item.
3225
+ * - `rowIndex`&mdash;The current data row index. If inside a new item row, `rowIndex` is `-1`. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
3226
+ * - `dataItem`&mdash;The current data item. Use it as an alias for a template variable by utilizing the `let-dataItem="dataItem"` syntax.
3227
+ * - `column`&mdash;The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
3228
+ * - `isNew`&mdash;The state of the current item. Use it as an alias for a template variable by utilizing the `let-isNew="isNew"` syntax.
3228
3229
  */
3229
3230
  var EditTemplateDirective = /** @class */ (function () {
3230
3231
  function EditTemplateDirective(templateRef) {
@@ -7717,7 +7718,7 @@ var GridComponent = /** @class */ (function () {
7717
7718
  if (isUniversal()) {
7718
7719
  return "";
7719
7720
  }
7720
- var padding = Math.max(0, this.scrollbarWidth - 1) + 'px';
7721
+ var padding = Math.max(0, this.scrollbarWidth) + 'px';
7721
7722
  var right = this.rtl ? 0 : padding;
7722
7723
  var left = this.rtl ? padding : 0;
7723
7724
  return "0 " + right + " 0 " + left;
@@ -9825,8 +9826,8 @@ var ListComponent = /** @class */ (function () {
9825
9826
  this.scrollLeft = 0;
9826
9827
  this.rtl = false;
9827
9828
  this.scroller = scrollerFactory(this.dispatcher);
9828
- this.subscriptions =
9829
- detailsService.changes.subscribe(function (x) { return _this.detailExpand(x); }).add(scrollRequestService.requests.subscribe(function (x) { return _this.scrollTo(x); }));
9829
+ this.subscriptions = detailsService.changes.subscribe(function (x) { return _this.detailExpand(x); });
9830
+ this.subscriptions.add(scrollRequestService.requests.subscribe(function (x) { return _this.scrollTo(x); }));
9830
9831
  }
9831
9832
  Object.defineProperty(ListComponent.prototype, "hostClass", {
9832
9833
  get: function () {
@@ -11,13 +11,14 @@ var core_1 = require("@angular/core");
11
11
  * Helps to customize the content of the edited cells. To define the cell template, nest an `<ng-template>`
12
12
  * tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag.
13
13
  *
14
- * The template context contains the following fields:
14
+ * The template context is set to the current form group and the following additional fields are passed:
15
15
  * - `formGroup`&mdash;The current [FormGroup]({{ site.data.urls.angular['formgroupapi'] }}).
16
+ * Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax&mdash;for example, `let-formGroup`.
16
17
  * If you use the Grid inside [Template-Driven Forms]({{ site.data.urls.angular['forms'] }}), it will be `undefined`.
17
- * - `rowIndex`&mdash;The current data row index. If inside a new item row, `rowIndex` is `-1`.
18
- * - `dataItem`&mdash;The current data item.
19
- * - `column`&mdash;The current column instance.
20
- * - `isNew`&mdash;The state of the current item.
18
+ * - `rowIndex`&mdash;The current data row index. If inside a new item row, `rowIndex` is `-1`. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
19
+ * - `dataItem`&mdash;The current data item. Use it as an alias for a template variable by utilizing the `let-dataItem="dataItem"` syntax.
20
+ * - `column`&mdash;The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
21
+ * - `isNew`&mdash;The state of the current item. Use it as an alias for a template variable by utilizing the `let-isNew="isNew"` syntax.
21
22
  */
22
23
  var EditTemplateDirective = /** @class */ (function () {
23
24
  function EditTemplateDirective(templateRef) {
@@ -894,7 +894,7 @@ var GridComponent = /** @class */ (function () {
894
894
  if (utils_1.isUniversal()) {
895
895
  return "";
896
896
  }
897
- var padding = Math.max(0, this.scrollbarWidth - 1) + 'px';
897
+ var padding = Math.max(0, this.scrollbarWidth) + 'px';
898
898
  var right = this.rtl ? 0 : padding;
899
899
  var left = this.rtl ? padding : 0;
900
900
  return "0 " + right + " 0 " + left;
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-grid',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1632904003,
14
+ publishDate: 1635941151,
15
15
  version: '',
16
16
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
17
17
  };
@@ -145,8 +145,8 @@ var ListComponent = /** @class */ (function () {
145
145
  this.scrollLeft = 0;
146
146
  this.rtl = false;
147
147
  this.scroller = scrollerFactory(this.dispatcher);
148
- this.subscriptions =
149
- detailsService.changes.subscribe(function (x) { return _this.detailExpand(x); }).add(scrollRequestService.requests.subscribe(function (x) { return _this.scrollTo(x); }));
148
+ this.subscriptions = detailsService.changes.subscribe(function (x) { return _this.detailExpand(x); });
149
+ this.subscriptions.add(scrollRequestService.requests.subscribe(function (x) { return _this.scrollTo(x); }));
150
150
  }
151
151
  Object.defineProperty(ListComponent.prototype, "hostClass", {
152
152
  get: function () {