@progress/kendo-angular-grid 6.1.2-dev.202203210932 → 6.1.3-dev.202203310639
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/dist/cdn/js/kendo-angular-grid.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/column-menu/column-chooser.component.js +0 -4
- package/dist/es/columns/column-base.js +10 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/es2015/column-menu/column-chooser.component.d.ts +0 -4
- package/dist/es2015/column-menu/column-chooser.component.js +0 -4
- package/dist/es2015/columns/column-base.js +10 -2
- package/dist/es2015/common/cell-click-event-args.interface.d.ts +1 -1
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/fesm2015/index.js +11 -7
- package/dist/fesm5/index.js +11 -7
- package/dist/npm/column-menu/column-chooser.component.js +0 -4
- package/dist/npm/columns/column-base.js +9 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-angular-grid.js +1 -1
- package/package.json +1 -1
|
@@ -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:
|
|
12
|
+
publishDate: 1648708290,
|
|
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
|
};
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { __decorate, __metadata, __param } from 'tslib';
|
|
6
|
-
import { InjectionToken, HostBinding, Input, Component, EventEmitter, Injectable, Optional, Inject, Directive, SkipSelf, ElementRef, Renderer2, NgZone, ChangeDetectorRef, TemplateRef, QueryList, ContentChildren, ContentChild, forwardRef, Host, Output,
|
|
6
|
+
import { InjectionToken, HostBinding, Input, Component, EventEmitter, Injectable, Optional, Inject, Directive, SkipSelf, ElementRef, Renderer2, NgZone, ChangeDetectorRef, TemplateRef, QueryList, isDevMode, ContentChildren, ContentChild, forwardRef, Host, Output, SecurityContext, ViewChild, ViewChildren, ViewEncapsulation, Self, ViewContainerRef, Pipe, NgModule, ComponentFactoryResolver, HostListener, ChangeDetectionStrategy } from '@angular/core';
|
|
7
7
|
import { isDocumentAvailable, Keys, DraggableDirective, isChanged, anyChanged, hasObservers, ResizeSensorComponent, KendoInput, DraggableModule, EventsModule, ResizeSensorModule, guid } from '@progress/kendo-angular-common';
|
|
8
8
|
import { merge, of, Subject, Subscription, from, interval, fromEvent, zip, BehaviorSubject, Observable } from 'rxjs';
|
|
9
9
|
import { LocalizationService, L10N_PREFIX, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
@@ -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:
|
|
2834
|
+
publishDate: 1648708290,
|
|
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
|
};
|
|
@@ -3398,7 +3398,15 @@ class ColumnBase$1 {
|
|
|
3398
3398
|
* The width of the column (in pixels).
|
|
3399
3399
|
*/
|
|
3400
3400
|
set width(value) {
|
|
3401
|
-
|
|
3401
|
+
if (typeof value === 'string') {
|
|
3402
|
+
const parsedValue = this._width = parseInt(value, 10);
|
|
3403
|
+
if (isDevMode()) {
|
|
3404
|
+
console.warn(`Expected numeric value for column width, but got a string "${value}". Treating as ${parsedValue}px.`);
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
else {
|
|
3408
|
+
this._width = value;
|
|
3409
|
+
}
|
|
3402
3410
|
}
|
|
3403
3411
|
get width() { return this._width; }
|
|
3404
3412
|
/**
|
|
@@ -19046,9 +19054,7 @@ ColumnListComponent = __decorate([
|
|
|
19046
19054
|
* add the component inside a [ToolbarTemplate]({% slug api_grid_toolbartemplatedirective %}) directive.
|
|
19047
19055
|
*
|
|
19048
19056
|
* @example
|
|
19049
|
-
* {% meta height:300 %}
|
|
19050
19057
|
* ```ts-preview
|
|
19051
|
-
*
|
|
19052
19058
|
* _@Component({
|
|
19053
19059
|
* selector: 'my-app',
|
|
19054
19060
|
* template: `
|
|
@@ -19065,9 +19071,7 @@ ColumnListComponent = __decorate([
|
|
|
19065
19071
|
* class AppComponent {
|
|
19066
19072
|
* public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
|
|
19067
19073
|
* }
|
|
19068
|
-
*
|
|
19069
19074
|
* ```
|
|
19070
|
-
* {% endmeta %}
|
|
19071
19075
|
*/
|
|
19072
19076
|
let ColumnChooserComponent = class ColumnChooserComponent {
|
|
19073
19077
|
constructor(localization, columnInfoService, popupService, ngZone, renderer, changeDetector) {
|
package/dist/fesm5/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { __decorate, __metadata, __param, __extends, __assign } from 'tslib';
|
|
6
|
-
import { InjectionToken, HostBinding, Input, Component, Injectable, EventEmitter, Optional, Inject, Directive, SkipSelf, ElementRef, Renderer2, NgZone, ChangeDetectorRef, TemplateRef, ContentChildren, QueryList, ContentChild, forwardRef, Host, Output,
|
|
6
|
+
import { InjectionToken, HostBinding, Input, Component, Injectable, EventEmitter, Optional, Inject, Directive, SkipSelf, ElementRef, Renderer2, NgZone, ChangeDetectorRef, TemplateRef, isDevMode, ContentChildren, QueryList, ContentChild, forwardRef, Host, Output, SecurityContext, ViewChild, ViewChildren, ViewEncapsulation, Self, ViewContainerRef, Pipe, NgModule, ComponentFactoryResolver, HostListener, ChangeDetectionStrategy } from '@angular/core';
|
|
7
7
|
import { isDocumentAvailable, Keys, DraggableDirective, isChanged, anyChanged, hasObservers, ResizeSensorComponent, KendoInput, DraggableModule, EventsModule, ResizeSensorModule, guid } from '@progress/kendo-angular-common';
|
|
8
8
|
import { merge, of, Subject, from, Subscription, interval, fromEvent, zip, BehaviorSubject, Observable } from 'rxjs';
|
|
9
9
|
import { LocalizationService, L10N_PREFIX, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
@@ -3044,7 +3044,7 @@ var packageMetadata = {
|
|
|
3044
3044
|
name: '@progress/kendo-angular-grid',
|
|
3045
3045
|
productName: 'Kendo UI for Angular',
|
|
3046
3046
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
3047
|
-
publishDate:
|
|
3047
|
+
publishDate: 1648708290,
|
|
3048
3048
|
version: '',
|
|
3049
3049
|
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'
|
|
3050
3050
|
};
|
|
@@ -3621,7 +3621,15 @@ var ColumnBase$1 = /** @class */ (function () {
|
|
|
3621
3621
|
* The width of the column (in pixels).
|
|
3622
3622
|
*/
|
|
3623
3623
|
set: function (value) {
|
|
3624
|
-
|
|
3624
|
+
if (typeof value === 'string') {
|
|
3625
|
+
var parsedValue = this._width = parseInt(value, 10);
|
|
3626
|
+
if (isDevMode()) {
|
|
3627
|
+
console.warn("Expected numeric value for column width, but got a string \"" + value + "\". Treating as " + parsedValue + "px.");
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
else {
|
|
3631
|
+
this._width = value;
|
|
3632
|
+
}
|
|
3625
3633
|
},
|
|
3626
3634
|
enumerable: true,
|
|
3627
3635
|
configurable: true
|
|
@@ -19330,9 +19338,7 @@ var ColumnListComponent = /** @class */ (function () {
|
|
|
19330
19338
|
* add the component inside a [ToolbarTemplate]({% slug api_grid_toolbartemplatedirective %}) directive.
|
|
19331
19339
|
*
|
|
19332
19340
|
* @example
|
|
19333
|
-
* {% meta height:300 %}
|
|
19334
19341
|
* ```ts-preview
|
|
19335
|
-
*
|
|
19336
19342
|
* _@Component({
|
|
19337
19343
|
* selector: 'my-app',
|
|
19338
19344
|
* template: `
|
|
@@ -19349,9 +19355,7 @@ var ColumnListComponent = /** @class */ (function () {
|
|
|
19349
19355
|
* class AppComponent {
|
|
19350
19356
|
* public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
|
|
19351
19357
|
* }
|
|
19352
|
-
*
|
|
19353
19358
|
* ```
|
|
19354
|
-
* {% endmeta %}
|
|
19355
19359
|
*/
|
|
19356
19360
|
var ColumnChooserComponent = /** @class */ (function () {
|
|
19357
19361
|
function ColumnChooserComponent(localization, columnInfoService, popupService, ngZone, renderer, changeDetector) {
|
|
@@ -15,9 +15,7 @@ var dom_queries_1 = require("../rendering/common/dom-queries");
|
|
|
15
15
|
* add the component inside a [ToolbarTemplate]({% slug api_grid_toolbartemplatedirective %}) directive.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
|
-
* {% meta height:300 %}
|
|
19
18
|
* ```ts-preview
|
|
20
|
-
*
|
|
21
19
|
* _@Component({
|
|
22
20
|
* selector: 'my-app',
|
|
23
21
|
* template: `
|
|
@@ -34,9 +32,7 @@ var dom_queries_1 = require("../rendering/common/dom-queries");
|
|
|
34
32
|
* class AppComponent {
|
|
35
33
|
* public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
|
|
36
34
|
* }
|
|
37
|
-
*
|
|
38
35
|
* ```
|
|
39
|
-
* {% endmeta %}
|
|
40
36
|
*/
|
|
41
37
|
var ColumnChooserComponent = /** @class */ (function () {
|
|
42
38
|
function ColumnChooserComponent(localization, columnInfoService, popupService, ngZone, renderer, changeDetector) {
|
|
@@ -147,7 +147,15 @@ var ColumnBase = /** @class */ (function () {
|
|
|
147
147
|
* The width of the column (in pixels).
|
|
148
148
|
*/
|
|
149
149
|
set: function (value) {
|
|
150
|
-
|
|
150
|
+
if (typeof value === 'string') {
|
|
151
|
+
var parsedValue = this._width = parseInt(value, 10);
|
|
152
|
+
if (core_1.isDevMode()) {
|
|
153
|
+
console.warn("Expected numeric value for column width, but got a string \"" + value + "\". Treating as " + parsedValue + "px.");
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
this._width = value;
|
|
158
|
+
}
|
|
151
159
|
},
|
|
152
160
|
enumerable: true,
|
|
153
161
|
configurable: true
|
|
@@ -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:
|
|
14
|
+
publishDate: 1648708290,
|
|
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
|
};
|