@progress/kendo-angular-grid 6.1.2-dev.202203221325 → 6.1.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.
- 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 +8 -4
- 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 +8 -4
- 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 +9 -8
- package/dist/fesm5/index.js +9 -8
- package/dist/npm/column-menu/column-chooser.component.js +0 -4
- package/dist/npm/columns/column-base.js +8 -4
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-angular-grid.js +1 -1
- package/package.json +1 -1
|
@@ -13,9 +13,7 @@ import { closest } from '../rendering/common/dom-queries';
|
|
|
13
13
|
* add the component inside a [ToolbarTemplate]({% slug api_grid_toolbartemplatedirective %}) directive.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
|
-
* {% meta height:300 %}
|
|
17
16
|
* ```ts-preview
|
|
18
|
-
*
|
|
19
17
|
* _@Component({
|
|
20
18
|
* selector: 'my-app',
|
|
21
19
|
* template: `
|
|
@@ -32,9 +30,7 @@ import { closest } from '../rendering/common/dom-queries';
|
|
|
32
30
|
* class AppComponent {
|
|
33
31
|
* public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
|
|
34
32
|
* }
|
|
35
|
-
*
|
|
36
33
|
* ```
|
|
37
|
-
* {% endmeta %}
|
|
38
34
|
*/
|
|
39
35
|
var ColumnChooserComponent = /** @class */ (function () {
|
|
40
36
|
function ColumnChooserComponent(localization, columnInfoService, popupService, ngZone, renderer, changeDetector) {
|
|
@@ -7,7 +7,6 @@ import { Input, ContentChild, ContentChildren, QueryList, isDevMode } from '@ang
|
|
|
7
7
|
import { HeaderTemplateDirective } from '../rendering/header/header-template.directive';
|
|
8
8
|
import { FooterTemplateDirective } from '../rendering/footer/footer-template.directive';
|
|
9
9
|
import { ColumnMenuTemplateDirective } from '../column-menu/column-menu-template.directive';
|
|
10
|
-
import { isPresent } from '../utils';
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -145,10 +144,15 @@ var ColumnBase = /** @class */ (function () {
|
|
|
145
144
|
* The width of the column (in pixels).
|
|
146
145
|
*/
|
|
147
146
|
set: function (value) {
|
|
148
|
-
if (
|
|
149
|
-
|
|
147
|
+
if (typeof value === 'string') {
|
|
148
|
+
var parsedValue = this._width = parseInt(value, 10);
|
|
149
|
+
if (isDevMode()) {
|
|
150
|
+
console.warn("Expected numeric value for column width, but got a string \"" + value + "\". Treating as " + parsedValue + "px.");
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
this._width = value;
|
|
150
155
|
}
|
|
151
|
-
this._width = typeof value === 'string' ? parseInt(value, 10) : value;
|
|
152
156
|
},
|
|
153
157
|
enumerable: true,
|
|
154
158
|
configurable: true
|
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1648709578,
|
|
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
|
};
|
|
@@ -11,9 +11,7 @@ import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
|
11
11
|
* add the component inside a [ToolbarTemplate]({% slug api_grid_toolbartemplatedirective %}) directive.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
|
-
* {% meta height:300 %}
|
|
15
14
|
* ```ts-preview
|
|
16
|
-
*
|
|
17
15
|
* _@Component({
|
|
18
16
|
* selector: 'my-app',
|
|
19
17
|
* template: `
|
|
@@ -30,9 +28,7 @@ import { LocalizationService } from "@progress/kendo-angular-l10n";
|
|
|
30
28
|
* class AppComponent {
|
|
31
29
|
* public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
|
|
32
30
|
* }
|
|
33
|
-
*
|
|
34
31
|
* ```
|
|
35
|
-
* {% endmeta %}
|
|
36
32
|
*/
|
|
37
33
|
export declare class ColumnChooserComponent implements OnDestroy {
|
|
38
34
|
localization: LocalizationService;
|
|
@@ -13,9 +13,7 @@ import { closest } from '../rendering/common/dom-queries';
|
|
|
13
13
|
* add the component inside a [ToolbarTemplate]({% slug api_grid_toolbartemplatedirective %}) directive.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
|
-
* {% meta height:300 %}
|
|
17
16
|
* ```ts-preview
|
|
18
|
-
*
|
|
19
17
|
* _@Component({
|
|
20
18
|
* selector: 'my-app',
|
|
21
19
|
* template: `
|
|
@@ -32,9 +30,7 @@ import { closest } from '../rendering/common/dom-queries';
|
|
|
32
30
|
* class AppComponent {
|
|
33
31
|
* public data: any[] = [{ Field1: 'Foo', Field2: 'Bar' }];
|
|
34
32
|
* }
|
|
35
|
-
*
|
|
36
33
|
* ```
|
|
37
|
-
* {% endmeta %}
|
|
38
34
|
*/
|
|
39
35
|
let ColumnChooserComponent = class ColumnChooserComponent {
|
|
40
36
|
constructor(localization, columnInfoService, popupService, ngZone, renderer, changeDetector) {
|
|
@@ -7,7 +7,6 @@ import { Input, ContentChild, ContentChildren, QueryList, isDevMode } from '@ang
|
|
|
7
7
|
import { HeaderTemplateDirective } from '../rendering/header/header-template.directive';
|
|
8
8
|
import { FooterTemplateDirective } from '../rendering/footer/footer-template.directive';
|
|
9
9
|
import { ColumnMenuTemplateDirective } from '../column-menu/column-menu-template.directive';
|
|
10
|
-
import { isPresent } from '../utils';
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
13
12
|
*/
|
|
@@ -143,10 +142,15 @@ export class ColumnBase {
|
|
|
143
142
|
* The width of the column (in pixels).
|
|
144
143
|
*/
|
|
145
144
|
set width(value) {
|
|
146
|
-
if (
|
|
147
|
-
|
|
145
|
+
if (typeof value === 'string') {
|
|
146
|
+
const parsedValue = this._width = parseInt(value, 10);
|
|
147
|
+
if (isDevMode()) {
|
|
148
|
+
console.warn(`Expected numeric value for column width, but got a string "${value}". Treating as ${parsedValue}px.`);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
this._width = value;
|
|
148
153
|
}
|
|
149
|
-
this._width = typeof value === 'string' ? parseInt(value, 10) : value;
|
|
150
154
|
}
|
|
151
155
|
get width() { return this._width; }
|
|
152
156
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { GridComponent } from "../grid.component";
|
|
6
6
|
/**
|
|
7
|
-
* Arguments for the `cellClick` event.
|
|
7
|
+
* Arguments for the `cellClick` event([see example]({% slug editing_incell_grid %}#toc-basic-concepts)).
|
|
8
8
|
*/
|
|
9
9
|
export interface CellClickEvent {
|
|
10
10
|
/**
|