@progress/kendo-angular-treelist 14.0.2-develop.7 → 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.
@@ -11,7 +11,6 @@ import type { TreeListComponent } from "../treelist.component";
11
11
  export declare class CellCloseEvent extends PreventableEvent implements EditEvent {
12
12
  isNew: boolean;
13
13
  dataItem: any;
14
- rowIndex: number;
15
14
  sender: TreeListComponent;
16
15
  /**
17
16
  * @hidden
@@ -15,10 +15,6 @@ export interface EditEvent {
15
15
  * Indicates if the data item is new or existing.
16
16
  */
17
17
  isNew: boolean;
18
- /**
19
- * The data row index for the operation.
20
- */
21
- rowIndex: number;
22
18
  /**
23
19
  * The `TreeListComponent` instance.
24
20
  */
@@ -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: 1698052372,
13
- version: '14.0.2-develop.7',
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 index - The row index that will be switched in the edit mode.
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(item, group, options) {
946
- this.editService.editRow(item, group);
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(item)}"]`;
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 {number} index - The row index that will be switched out of the edit mode. If no index is provided, it is assumed
960
- * that the new item editor will be closed.
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(item, isNew) {
963
- this.editService.close(item, isNew);
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 {number} rowIndex - The data row index that will be switched in the edit mode.
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: 1698052372,
52
- version: '14.0.2-develop.7',
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 index - The row index that will be switched in the edit mode.
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(item, group, options) {
15520
- this.editService.editRow(item, group);
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(item)}"]`;
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 {number} index - The row index that will be switched out of the edit mode. If no index is provided, it is assumed
15534
- * that the new item editor will be closed.
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(item, isNew) {
15537
- this.editService.close(item, isNew);
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 {number} rowIndex - The data row index that will be switched in the edit mode.
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: 1698052372,
52
- version: '14.0.2-develop.7',
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 index - The row index that will be switched in the edit mode.
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(item, group, options) {
15468
- this.editService.editRow(item, group);
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(item)}"]`;
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 {number} index - The row index that will be switched out of the edit mode. If no index is provided, it is assumed
15482
- * that the new item editor will be closed.
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(item, isNew) {
15485
- this.editService.close(item, isNew);
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 {number} rowIndex - The data row index that will be switched in the edit mode.
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.7",
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.7",
35
- "@progress/kendo-angular-common": "14.0.2-develop.7",
36
- "@progress/kendo-angular-dateinputs": "14.0.2-develop.7",
37
- "@progress/kendo-angular-dropdowns": "14.0.2-develop.7",
38
- "@progress/kendo-angular-excel-export": "14.0.2-develop.7",
39
- "@progress/kendo-angular-icons": "14.0.2-develop.7",
40
- "@progress/kendo-angular-inputs": "14.0.2-develop.7",
41
- "@progress/kendo-angular-intl": "14.0.2-develop.7",
42
- "@progress/kendo-angular-l10n": "14.0.2-develop.7",
43
- "@progress/kendo-angular-label": "14.0.2-develop.7",
44
- "@progress/kendo-angular-pdf-export": "14.0.2-develop.7",
45
- "@progress/kendo-angular-popup": "14.0.2-develop.7",
46
- "@progress/kendo-angular-utils": "14.0.2-develop.7",
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.7"
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.7",
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',
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.7',
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.7',
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
  }
@@ -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 index - The row index that will be switched in the edit mode.
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(item: any, group?: any, options?: {
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 {number} index - The row index that will be switched out of the edit mode. If no index is provided, it is assumed
560
- * that the new item editor will be closed.
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(item: any, isNew: boolean): void;
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 {number} rowIndex - The data row index that will be switched in the edit mode.
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.