@progress/kendo-angular-layout 13.4.1-develop.2 → 13.4.1-develop.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-layout',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '13.4.1-develop.
|
|
12
|
+
publishDate: 1693394986,
|
|
13
|
+
version: '13.4.1-develop.3',
|
|
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
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable, NgZone, Renderer2 } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, Injectable, NgZone, Renderer2 } from '@angular/core';
|
|
6
6
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { calculateCellFromPosition, getDropTarget, isRowItemPresent, normalizeValue, propsChanged, setElementStyles } from './util';
|
|
@@ -16,9 +16,10 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
16
16
|
* @hidden
|
|
17
17
|
*/
|
|
18
18
|
export class TileLayoutDraggingService {
|
|
19
|
-
constructor(zone, renderer, localization) {
|
|
19
|
+
constructor(zone, renderer, cdr, localization) {
|
|
20
20
|
this.zone = zone;
|
|
21
21
|
this.renderer = renderer;
|
|
22
|
+
this.cdr = cdr;
|
|
22
23
|
this.localization = localization;
|
|
23
24
|
this.reorderable = new BehaviorSubject(null);
|
|
24
25
|
this.resizable = new BehaviorSubject(null);
|
|
@@ -183,6 +184,7 @@ export class TileLayoutDraggingService {
|
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
186
|
this.tileLayoutSettings.tileLayoutElement.appendChild(this.tileLayoutSettings.hintElement);
|
|
187
|
+
this.cdr.markForCheck();
|
|
186
188
|
this.zone.run(() => this.cleanUp());
|
|
187
189
|
}
|
|
188
190
|
else if (!this.reordering && this.resizing) {
|
|
@@ -245,6 +247,7 @@ export class TileLayoutDraggingService {
|
|
|
245
247
|
top: (event.pageY - this.offset.top) + 'px',
|
|
246
248
|
left: (event.pageX - this.offset.left) + 'px'
|
|
247
249
|
});
|
|
250
|
+
this.cdr.markForCheck();
|
|
248
251
|
}
|
|
249
252
|
resizeItem(event) {
|
|
250
253
|
setElementStyles(this.renderer, this.tileLayoutSettings.tileLayoutElement, {
|
|
@@ -392,8 +395,8 @@ export class TileLayoutDraggingService {
|
|
|
392
395
|
return hintHeight;
|
|
393
396
|
}
|
|
394
397
|
}
|
|
395
|
-
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
398
|
+
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
396
399
|
TileLayoutDraggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService });
|
|
397
400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, decorators: [{
|
|
398
401
|
type: Injectable
|
|
399
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; } });
|
|
402
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; } });
|
|
@@ -31,8 +31,8 @@ const packageMetadata = {
|
|
|
31
31
|
name: '@progress/kendo-angular-layout',
|
|
32
32
|
productName: 'Kendo UI for Angular',
|
|
33
33
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
34
|
-
publishDate:
|
|
35
|
-
version: '13.4.1-develop.
|
|
34
|
+
publishDate: 1693394986,
|
|
35
|
+
version: '13.4.1-develop.3',
|
|
36
36
|
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'
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -8245,9 +8245,10 @@ class TileLayoutResizeEvent extends PreventableEvent$1 {
|
|
|
8245
8245
|
* @hidden
|
|
8246
8246
|
*/
|
|
8247
8247
|
class TileLayoutDraggingService {
|
|
8248
|
-
constructor(zone, renderer, localization) {
|
|
8248
|
+
constructor(zone, renderer, cdr, localization) {
|
|
8249
8249
|
this.zone = zone;
|
|
8250
8250
|
this.renderer = renderer;
|
|
8251
|
+
this.cdr = cdr;
|
|
8251
8252
|
this.localization = localization;
|
|
8252
8253
|
this.reorderable = new BehaviorSubject(null);
|
|
8253
8254
|
this.resizable = new BehaviorSubject(null);
|
|
@@ -8412,6 +8413,7 @@ class TileLayoutDraggingService {
|
|
|
8412
8413
|
}
|
|
8413
8414
|
}
|
|
8414
8415
|
this.tileLayoutSettings.tileLayoutElement.appendChild(this.tileLayoutSettings.hintElement);
|
|
8416
|
+
this.cdr.markForCheck();
|
|
8415
8417
|
this.zone.run(() => this.cleanUp());
|
|
8416
8418
|
}
|
|
8417
8419
|
else if (!this.reordering && this.resizing) {
|
|
@@ -8474,6 +8476,7 @@ class TileLayoutDraggingService {
|
|
|
8474
8476
|
top: (event.pageY - this.offset.top) + 'px',
|
|
8475
8477
|
left: (event.pageX - this.offset.left) + 'px'
|
|
8476
8478
|
});
|
|
8479
|
+
this.cdr.markForCheck();
|
|
8477
8480
|
}
|
|
8478
8481
|
resizeItem(event) {
|
|
8479
8482
|
setElementStyles(this.renderer, this.tileLayoutSettings.tileLayoutElement, {
|
|
@@ -8621,11 +8624,11 @@ class TileLayoutDraggingService {
|
|
|
8621
8624
|
return hintHeight;
|
|
8622
8625
|
}
|
|
8623
8626
|
}
|
|
8624
|
-
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8627
|
+
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8625
8628
|
TileLayoutDraggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService });
|
|
8626
8629
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, decorators: [{
|
|
8627
8630
|
type: Injectable
|
|
8628
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; } });
|
|
8631
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; } });
|
|
8629
8632
|
|
|
8630
8633
|
/**
|
|
8631
8634
|
* Holds the content of the header section of the TileLayoutItem component.
|
|
@@ -31,8 +31,8 @@ const packageMetadata = {
|
|
|
31
31
|
name: '@progress/kendo-angular-layout',
|
|
32
32
|
productName: 'Kendo UI for Angular',
|
|
33
33
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
34
|
-
publishDate:
|
|
35
|
-
version: '13.4.1-develop.
|
|
34
|
+
publishDate: 1693394986,
|
|
35
|
+
version: '13.4.1-develop.3',
|
|
36
36
|
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'
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -8218,9 +8218,10 @@ class TileLayoutResizeEvent extends PreventableEvent$1 {
|
|
|
8218
8218
|
* @hidden
|
|
8219
8219
|
*/
|
|
8220
8220
|
class TileLayoutDraggingService {
|
|
8221
|
-
constructor(zone, renderer, localization) {
|
|
8221
|
+
constructor(zone, renderer, cdr, localization) {
|
|
8222
8222
|
this.zone = zone;
|
|
8223
8223
|
this.renderer = renderer;
|
|
8224
|
+
this.cdr = cdr;
|
|
8224
8225
|
this.localization = localization;
|
|
8225
8226
|
this.reorderable = new BehaviorSubject(null);
|
|
8226
8227
|
this.resizable = new BehaviorSubject(null);
|
|
@@ -8385,6 +8386,7 @@ class TileLayoutDraggingService {
|
|
|
8385
8386
|
}
|
|
8386
8387
|
}
|
|
8387
8388
|
this.tileLayoutSettings.tileLayoutElement.appendChild(this.tileLayoutSettings.hintElement);
|
|
8389
|
+
this.cdr.markForCheck();
|
|
8388
8390
|
this.zone.run(() => this.cleanUp());
|
|
8389
8391
|
}
|
|
8390
8392
|
else if (!this.reordering && this.resizing) {
|
|
@@ -8447,6 +8449,7 @@ class TileLayoutDraggingService {
|
|
|
8447
8449
|
top: (event.pageY - this.offset.top) + 'px',
|
|
8448
8450
|
left: (event.pageX - this.offset.left) + 'px'
|
|
8449
8451
|
});
|
|
8452
|
+
this.cdr.markForCheck();
|
|
8450
8453
|
}
|
|
8451
8454
|
resizeItem(event) {
|
|
8452
8455
|
setElementStyles(this.renderer, this.tileLayoutSettings.tileLayoutElement, {
|
|
@@ -8594,11 +8597,11 @@ class TileLayoutDraggingService {
|
|
|
8594
8597
|
return hintHeight;
|
|
8595
8598
|
}
|
|
8596
8599
|
}
|
|
8597
|
-
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8600
|
+
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8598
8601
|
TileLayoutDraggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService });
|
|
8599
8602
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TileLayoutDraggingService, decorators: [{
|
|
8600
8603
|
type: Injectable
|
|
8601
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; } });
|
|
8604
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; } });
|
|
8602
8605
|
|
|
8603
8606
|
/* eslint-disable no-unused-expressions */
|
|
8604
8607
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-layout",
|
|
3
|
-
"version": "13.4.1-develop.
|
|
3
|
+
"version": "13.4.1-develop.3",
|
|
4
4
|
"description": "Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"@angular/core": "13 - 16",
|
|
40
40
|
"@angular/platform-browser": "13 - 16",
|
|
41
41
|
"@progress/kendo-licensing": "^1.0.2",
|
|
42
|
-
"@progress/kendo-angular-common": "13.4.1-develop.
|
|
43
|
-
"@progress/kendo-angular-l10n": "13.4.1-develop.
|
|
44
|
-
"@progress/kendo-angular-progressbar": "13.4.1-develop.
|
|
45
|
-
"@progress/kendo-angular-icons": "13.4.1-develop.
|
|
46
|
-
"@progress/kendo-angular-buttons": "13.4.1-develop.
|
|
42
|
+
"@progress/kendo-angular-common": "13.4.1-develop.3",
|
|
43
|
+
"@progress/kendo-angular-l10n": "13.4.1-develop.3",
|
|
44
|
+
"@progress/kendo-angular-progressbar": "13.4.1-develop.3",
|
|
45
|
+
"@progress/kendo-angular-icons": "13.4.1-develop.3",
|
|
46
|
+
"@progress/kendo-angular-buttons": "13.4.1-develop.3",
|
|
47
47
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.1",
|
|
51
|
-
"@progress/kendo-angular-schematics": "13.4.1-develop.
|
|
51
|
+
"@progress/kendo-angular-schematics": "13.4.1-develop.3",
|
|
52
52
|
"@progress/kendo-draggable": "^3.0.2"
|
|
53
53
|
},
|
|
54
54
|
"schematics": "./schematics/collection.json",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgZone, Renderer2 } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, NgZone, Renderer2 } from '@angular/core';
|
|
6
6
|
import { BehaviorSubject, Subject } from 'rxjs';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { DraggingServiceConfig } from './models/dragging-config.interface';
|
|
@@ -15,6 +15,7 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
export declare class TileLayoutDraggingService {
|
|
16
16
|
private zone;
|
|
17
17
|
private renderer;
|
|
18
|
+
private cdr;
|
|
18
19
|
private localization;
|
|
19
20
|
reorderable: BehaviorSubject<boolean>;
|
|
20
21
|
resizable: BehaviorSubject<boolean>;
|
|
@@ -42,7 +43,7 @@ export declare class TileLayoutDraggingService {
|
|
|
42
43
|
private lastDragCursorOffset;
|
|
43
44
|
private localizationSubscription;
|
|
44
45
|
private rtl;
|
|
45
|
-
constructor(zone: NgZone, renderer: Renderer2, localization: LocalizationService);
|
|
46
|
+
constructor(zone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, localization: LocalizationService);
|
|
46
47
|
ngOnDestroy(): void;
|
|
47
48
|
handlePress(originalEvent: any): void;
|
|
48
49
|
handleDrag(originalEvent: any): void;
|