@progress/kendo-angular-treelist 14.0.2-develop.8 → 14.0.2-develop.9
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/editing/cell-close-event.d.ts +0 -1
- package/editing/edit-event-args.interface.d.ts +0 -4
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/treelist.component.mjs +10 -10
- package/fesm2015/progress-kendo-angular-treelist.mjs +12 -12
- package/fesm2020/progress-kendo-angular-treelist.mjs +12 -12
- package/package.json +16 -16
- package/schematics/ngAdd/index.js +3 -3
- package/treelist.component.d.ts +7 -7
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-treelist',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '14.0.2-develop.
|
|
12
|
+
publishDate: 1698069241,
|
|
13
|
+
version: '14.0.2-develop.9',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -937,30 +937,30 @@ export class TreeListComponent {
|
|
|
937
937
|
/**
|
|
938
938
|
* Switches the specified table row in the edit mode ([see example]({% slug editing_template_forms_treelist %}#toc-editing-records)).
|
|
939
939
|
*
|
|
940
|
-
* @param
|
|
940
|
+
* @param dataItem - The data item that will be edited.
|
|
941
941
|
* @param group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
942
942
|
* that describes the edit form.
|
|
943
|
-
* @param options - Additional options. Use skipFocus to determine if the row's edit element should be focused. Defaults to `false`.
|
|
943
|
+
* @param options - Additional options. Use `skipFocus` to determine if the row's edit element should be focused. Defaults to `false`.
|
|
944
944
|
*/
|
|
945
|
-
editRow(
|
|
946
|
-
this.editService.editRow(
|
|
945
|
+
editRow(dataItem, group, options) {
|
|
946
|
+
this.editService.editRow(dataItem, group);
|
|
947
947
|
this.view.updateEditedState();
|
|
948
948
|
this.changeDetectorRef.markForCheck();
|
|
949
949
|
if (options && options['skipFocus']) {
|
|
950
950
|
return;
|
|
951
951
|
}
|
|
952
952
|
this.focusEditElement(() => {
|
|
953
|
-
return `tr[data-treelist-view-index="${this.view.itemIndex(
|
|
953
|
+
return `tr[data-treelist-view-index="${this.view.itemIndex(dataItem)}"]`;
|
|
954
954
|
});
|
|
955
955
|
}
|
|
956
956
|
/**
|
|
957
957
|
* Closes the editor for a given row ([see example]({% slug editing_template_forms_treelist %}#toc-cancelling-editing)).
|
|
958
958
|
*
|
|
959
|
-
* @param {
|
|
960
|
-
*
|
|
959
|
+
* @param {any} dataItem - The dataItem that will be switched out of the edit mode.
|
|
960
|
+
* @param {boolean} isNew - Indicates whether the dataItem is new.
|
|
961
961
|
*/
|
|
962
|
-
closeRow(
|
|
963
|
-
this.editService.close(
|
|
962
|
+
closeRow(dataItem, isNew) {
|
|
963
|
+
this.editService.close(dataItem, isNew);
|
|
964
964
|
this.changeDetectorRef.markForCheck();
|
|
965
965
|
if (isNew) {
|
|
966
966
|
this.view.clear();
|
|
@@ -1001,7 +1001,7 @@ export class TreeListComponent {
|
|
|
1001
1001
|
/**
|
|
1002
1002
|
* Puts the cell that is specified by the table row and column in edit mode.
|
|
1003
1003
|
*
|
|
1004
|
-
* @param {
|
|
1004
|
+
* @param {any} dataItem - The data item that will be edited.
|
|
1005
1005
|
* @param {number|string|any} column - The leaf column index, or the field name or the column instance that should be edited.
|
|
1006
1006
|
* @param {FormGroup} group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
1007
1007
|
* that describes the edit form.
|
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-treelist',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '14.0.2-develop.
|
|
51
|
+
publishDate: 1698069241,
|
|
52
|
+
version: '14.0.2-develop.9',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -15511,30 +15511,30 @@ class TreeListComponent {
|
|
|
15511
15511
|
/**
|
|
15512
15512
|
* Switches the specified table row in the edit mode ([see example]({% slug editing_template_forms_treelist %}#toc-editing-records)).
|
|
15513
15513
|
*
|
|
15514
|
-
* @param
|
|
15514
|
+
* @param dataItem - The data item that will be edited.
|
|
15515
15515
|
* @param group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
15516
15516
|
* that describes the edit form.
|
|
15517
|
-
* @param options - Additional options. Use skipFocus to determine if the row's edit element should be focused. Defaults to `false`.
|
|
15517
|
+
* @param options - Additional options. Use `skipFocus` to determine if the row's edit element should be focused. Defaults to `false`.
|
|
15518
15518
|
*/
|
|
15519
|
-
editRow(
|
|
15520
|
-
this.editService.editRow(
|
|
15519
|
+
editRow(dataItem, group, options) {
|
|
15520
|
+
this.editService.editRow(dataItem, group);
|
|
15521
15521
|
this.view.updateEditedState();
|
|
15522
15522
|
this.changeDetectorRef.markForCheck();
|
|
15523
15523
|
if (options && options['skipFocus']) {
|
|
15524
15524
|
return;
|
|
15525
15525
|
}
|
|
15526
15526
|
this.focusEditElement(() => {
|
|
15527
|
-
return `tr[data-treelist-view-index="${this.view.itemIndex(
|
|
15527
|
+
return `tr[data-treelist-view-index="${this.view.itemIndex(dataItem)}"]`;
|
|
15528
15528
|
});
|
|
15529
15529
|
}
|
|
15530
15530
|
/**
|
|
15531
15531
|
* Closes the editor for a given row ([see example]({% slug editing_template_forms_treelist %}#toc-cancelling-editing)).
|
|
15532
15532
|
*
|
|
15533
|
-
* @param {
|
|
15534
|
-
*
|
|
15533
|
+
* @param {any} dataItem - The dataItem that will be switched out of the edit mode.
|
|
15534
|
+
* @param {boolean} isNew - Indicates whether the dataItem is new.
|
|
15535
15535
|
*/
|
|
15536
|
-
closeRow(
|
|
15537
|
-
this.editService.close(
|
|
15536
|
+
closeRow(dataItem, isNew) {
|
|
15537
|
+
this.editService.close(dataItem, isNew);
|
|
15538
15538
|
this.changeDetectorRef.markForCheck();
|
|
15539
15539
|
if (isNew) {
|
|
15540
15540
|
this.view.clear();
|
|
@@ -15575,7 +15575,7 @@ class TreeListComponent {
|
|
|
15575
15575
|
/**
|
|
15576
15576
|
* Puts the cell that is specified by the table row and column in edit mode.
|
|
15577
15577
|
*
|
|
15578
|
-
* @param {
|
|
15578
|
+
* @param {any} dataItem - The data item that will be edited.
|
|
15579
15579
|
* @param {number|string|any} column - The leaf column index, or the field name or the column instance that should be edited.
|
|
15580
15580
|
* @param {FormGroup} group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
15581
15581
|
* that describes the edit form.
|
|
@@ -48,8 +48,8 @@ const packageMetadata = {
|
|
|
48
48
|
name: '@progress/kendo-angular-treelist',
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
51
|
-
publishDate:
|
|
52
|
-
version: '14.0.2-develop.
|
|
51
|
+
publishDate: 1698069241,
|
|
52
|
+
version: '14.0.2-develop.9',
|
|
53
53
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -15459,30 +15459,30 @@ class TreeListComponent {
|
|
|
15459
15459
|
/**
|
|
15460
15460
|
* Switches the specified table row in the edit mode ([see example]({% slug editing_template_forms_treelist %}#toc-editing-records)).
|
|
15461
15461
|
*
|
|
15462
|
-
* @param
|
|
15462
|
+
* @param dataItem - The data item that will be edited.
|
|
15463
15463
|
* @param group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
15464
15464
|
* that describes the edit form.
|
|
15465
|
-
* @param options - Additional options. Use skipFocus to determine if the row's edit element should be focused. Defaults to `false`.
|
|
15465
|
+
* @param options - Additional options. Use `skipFocus` to determine if the row's edit element should be focused. Defaults to `false`.
|
|
15466
15466
|
*/
|
|
15467
|
-
editRow(
|
|
15468
|
-
this.editService.editRow(
|
|
15467
|
+
editRow(dataItem, group, options) {
|
|
15468
|
+
this.editService.editRow(dataItem, group);
|
|
15469
15469
|
this.view.updateEditedState();
|
|
15470
15470
|
this.changeDetectorRef.markForCheck();
|
|
15471
15471
|
if (options && options['skipFocus']) {
|
|
15472
15472
|
return;
|
|
15473
15473
|
}
|
|
15474
15474
|
this.focusEditElement(() => {
|
|
15475
|
-
return `tr[data-treelist-view-index="${this.view.itemIndex(
|
|
15475
|
+
return `tr[data-treelist-view-index="${this.view.itemIndex(dataItem)}"]`;
|
|
15476
15476
|
});
|
|
15477
15477
|
}
|
|
15478
15478
|
/**
|
|
15479
15479
|
* Closes the editor for a given row ([see example]({% slug editing_template_forms_treelist %}#toc-cancelling-editing)).
|
|
15480
15480
|
*
|
|
15481
|
-
* @param {
|
|
15482
|
-
*
|
|
15481
|
+
* @param {any} dataItem - The dataItem that will be switched out of the edit mode.
|
|
15482
|
+
* @param {boolean} isNew - Indicates whether the dataItem is new.
|
|
15483
15483
|
*/
|
|
15484
|
-
closeRow(
|
|
15485
|
-
this.editService.close(
|
|
15484
|
+
closeRow(dataItem, isNew) {
|
|
15485
|
+
this.editService.close(dataItem, isNew);
|
|
15486
15486
|
this.changeDetectorRef.markForCheck();
|
|
15487
15487
|
if (isNew) {
|
|
15488
15488
|
this.view.clear();
|
|
@@ -15523,7 +15523,7 @@ class TreeListComponent {
|
|
|
15523
15523
|
/**
|
|
15524
15524
|
* Puts the cell that is specified by the table row and column in edit mode.
|
|
15525
15525
|
*
|
|
15526
|
-
* @param {
|
|
15526
|
+
* @param {any} dataItem - The data item that will be edited.
|
|
15527
15527
|
* @param {number|string|any} column - The leaf column index, or the field name or the column instance that should be edited.
|
|
15528
15528
|
* @param {FormGroup} group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
15529
15529
|
* that describes the edit form.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-treelist",
|
|
3
|
-
"version": "14.0.2-develop.
|
|
3
|
+
"version": "14.0.2-develop.9",
|
|
4
4
|
"description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -31,25 +31,25 @@
|
|
|
31
31
|
"@progress/kendo-data-query": "^1.0.0",
|
|
32
32
|
"@progress/kendo-drawing": "^1.17.2",
|
|
33
33
|
"@progress/kendo-licensing": "^1.0.2",
|
|
34
|
-
"@progress/kendo-angular-buttons": "14.0.2-develop.
|
|
35
|
-
"@progress/kendo-angular-common": "14.0.2-develop.
|
|
36
|
-
"@progress/kendo-angular-dateinputs": "14.0.2-develop.
|
|
37
|
-
"@progress/kendo-angular-dropdowns": "14.0.2-develop.
|
|
38
|
-
"@progress/kendo-angular-excel-export": "14.0.2-develop.
|
|
39
|
-
"@progress/kendo-angular-icons": "14.0.2-develop.
|
|
40
|
-
"@progress/kendo-angular-inputs": "14.0.2-develop.
|
|
41
|
-
"@progress/kendo-angular-intl": "14.0.2-develop.
|
|
42
|
-
"@progress/kendo-angular-l10n": "14.0.2-develop.
|
|
43
|
-
"@progress/kendo-angular-label": "14.0.2-develop.
|
|
44
|
-
"@progress/kendo-angular-pdf-export": "14.0.2-develop.
|
|
45
|
-
"@progress/kendo-angular-popup": "14.0.2-develop.
|
|
46
|
-
"@progress/kendo-angular-utils": "14.0.2-develop.
|
|
34
|
+
"@progress/kendo-angular-buttons": "14.0.2-develop.9",
|
|
35
|
+
"@progress/kendo-angular-common": "14.0.2-develop.9",
|
|
36
|
+
"@progress/kendo-angular-dateinputs": "14.0.2-develop.9",
|
|
37
|
+
"@progress/kendo-angular-dropdowns": "14.0.2-develop.9",
|
|
38
|
+
"@progress/kendo-angular-excel-export": "14.0.2-develop.9",
|
|
39
|
+
"@progress/kendo-angular-icons": "14.0.2-develop.9",
|
|
40
|
+
"@progress/kendo-angular-inputs": "14.0.2-develop.9",
|
|
41
|
+
"@progress/kendo-angular-intl": "14.0.2-develop.9",
|
|
42
|
+
"@progress/kendo-angular-l10n": "14.0.2-develop.9",
|
|
43
|
+
"@progress/kendo-angular-label": "14.0.2-develop.9",
|
|
44
|
+
"@progress/kendo-angular-pdf-export": "14.0.2-develop.9",
|
|
45
|
+
"@progress/kendo-angular-popup": "14.0.2-develop.9",
|
|
46
|
+
"@progress/kendo-angular-utils": "14.0.2-develop.9",
|
|
47
47
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
48
|
-
"@progress/kendo-angular-listview": "14.0.2-develop.
|
|
48
|
+
"@progress/kendo-angular-listview": "14.0.2-develop.9"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"tslib": "^2.3.1",
|
|
52
|
-
"@progress/kendo-angular-schematics": "14.0.2-develop.
|
|
52
|
+
"@progress/kendo-angular-schematics": "14.0.2-develop.9",
|
|
53
53
|
"@progress/kendo-common": "^0.2.0",
|
|
54
54
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
55
55
|
},
|
|
@@ -4,13 +4,13 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeListModule', package: 'treelist', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '14.0.2-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '14.0.2-develop.9',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '14.0.2-develop.
|
|
9
|
+
'@progress/kendo-angular-dialog': '14.0.2-develop.9',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^2.0.0',
|
|
12
12
|
// peer dependency of kendo-angular-dateinputs
|
|
13
|
-
'@progress/kendo-angular-navigation': '14.0.2-develop.
|
|
13
|
+
'@progress/kendo-angular-navigation': '14.0.2-develop.9',
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|
package/treelist.component.d.ts
CHANGED
|
@@ -545,21 +545,21 @@ export declare class TreeListComponent implements AfterContentInit, AfterViewIni
|
|
|
545
545
|
/**
|
|
546
546
|
* Switches the specified table row in the edit mode ([see example]({% slug editing_template_forms_treelist %}#toc-editing-records)).
|
|
547
547
|
*
|
|
548
|
-
* @param
|
|
548
|
+
* @param dataItem - The data item that will be edited.
|
|
549
549
|
* @param group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
550
550
|
* that describes the edit form.
|
|
551
|
-
* @param options - Additional options. Use skipFocus to determine if the row's edit element should be focused. Defaults to `false`.
|
|
551
|
+
* @param options - Additional options. Use `skipFocus` to determine if the row's edit element should be focused. Defaults to `false`.
|
|
552
552
|
*/
|
|
553
|
-
editRow(
|
|
553
|
+
editRow(dataItem: any, group?: any, options?: {
|
|
554
554
|
[skipFocus: string]: boolean;
|
|
555
555
|
}): void;
|
|
556
556
|
/**
|
|
557
557
|
* Closes the editor for a given row ([see example]({% slug editing_template_forms_treelist %}#toc-cancelling-editing)).
|
|
558
558
|
*
|
|
559
|
-
* @param {
|
|
560
|
-
*
|
|
559
|
+
* @param {any} dataItem - The dataItem that will be switched out of the edit mode.
|
|
560
|
+
* @param {boolean} isNew - Indicates whether the dataItem is new.
|
|
561
561
|
*/
|
|
562
|
-
closeRow(
|
|
562
|
+
closeRow(dataItem: any, isNew: boolean): void;
|
|
563
563
|
/**
|
|
564
564
|
* Creates a new row editor ([see example]({% slug editing_template_forms_treelist %}#toc-adding-records)).
|
|
565
565
|
*
|
|
@@ -570,7 +570,7 @@ export declare class TreeListComponent implements AfterContentInit, AfterViewIni
|
|
|
570
570
|
/**
|
|
571
571
|
* Puts the cell that is specified by the table row and column in edit mode.
|
|
572
572
|
*
|
|
573
|
-
* @param {
|
|
573
|
+
* @param {any} dataItem - The data item that will be edited.
|
|
574
574
|
* @param {number|string|any} column - The leaf column index, or the field name or the column instance that should be edited.
|
|
575
575
|
* @param {FormGroup} group - The [`FormGroup`](link:site.data.urls.angular['formgroupapi'])
|
|
576
576
|
* that describes the edit form.
|