@progress/kendo-angular-toolbar 16.11.0-develop.7 → 16.11.0-develop.8
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-toolbar',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.11.0-develop.
|
|
12
|
+
publishDate: 1727788706,
|
|
13
|
+
version: '16.11.0-develop.8',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -35,9 +35,11 @@ export class ToolBarRendererComponent {
|
|
|
35
35
|
return this.tool && this.tool.__isSpacer;
|
|
36
36
|
}
|
|
37
37
|
ngOnInit() {
|
|
38
|
-
this.internalComponentRef = this.viewContainer.get(0)
|
|
38
|
+
this.internalComponentRef = this.viewContainer.get(0)?.rootNodes[0];
|
|
39
39
|
this.element = this.tool.element;
|
|
40
|
-
this.internalComponentRef
|
|
40
|
+
if (isElement(this.internalComponentRef)) {
|
|
41
|
+
this.internalComponentRef.addEventListener('click', this.onClick);
|
|
42
|
+
}
|
|
41
43
|
this.rendererService.element = this.element;
|
|
42
44
|
this.rendererService.renderer = this;
|
|
43
45
|
this.refreshSubscription = this.refreshService.onRefresh.subscribe((tool) => {
|
|
@@ -71,7 +73,9 @@ export class ToolBarRendererComponent {
|
|
|
71
73
|
}
|
|
72
74
|
ngOnDestroy() {
|
|
73
75
|
this.refreshSubscription.unsubscribe();
|
|
74
|
-
this.internalComponentRef
|
|
76
|
+
if (isElement(this.internalComponentRef)) {
|
|
77
|
+
this.internalComponentRef.removeEventListener('click', this.onClick);
|
|
78
|
+
}
|
|
75
79
|
}
|
|
76
80
|
ngAfterViewInit() {
|
|
77
81
|
if (this.resizable) {
|
|
@@ -92,7 +96,7 @@ export class ToolBarRendererComponent {
|
|
|
92
96
|
return this.tool.overflows ? 0 : outerWidth(this.internalComponentRef);
|
|
93
97
|
}
|
|
94
98
|
isDisplayed() {
|
|
95
|
-
return this.internalComponentRef
|
|
99
|
+
return this.internalComponentRef?.style?.display !== 'none';
|
|
96
100
|
}
|
|
97
101
|
refresh() {
|
|
98
102
|
if (this.resizable) {
|
|
@@ -24,8 +24,8 @@ const packageMetadata = {
|
|
|
24
24
|
name: '@progress/kendo-angular-toolbar',
|
|
25
25
|
productName: 'Kendo UI for Angular',
|
|
26
26
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
27
|
-
publishDate:
|
|
28
|
-
version: '16.11.0-develop.
|
|
27
|
+
publishDate: 1727788706,
|
|
28
|
+
version: '16.11.0-develop.8',
|
|
29
29
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -571,9 +571,12 @@ class ToolBarRendererComponent {
|
|
|
571
571
|
return this.tool && this.tool.__isSpacer;
|
|
572
572
|
}
|
|
573
573
|
ngOnInit() {
|
|
574
|
-
|
|
574
|
+
var _a;
|
|
575
|
+
this.internalComponentRef = (_a = this.viewContainer.get(0)) === null || _a === void 0 ? void 0 : _a.rootNodes[0];
|
|
575
576
|
this.element = this.tool.element;
|
|
576
|
-
this.internalComponentRef
|
|
577
|
+
if (isElement(this.internalComponentRef)) {
|
|
578
|
+
this.internalComponentRef.addEventListener('click', this.onClick);
|
|
579
|
+
}
|
|
577
580
|
this.rendererService.element = this.element;
|
|
578
581
|
this.rendererService.renderer = this;
|
|
579
582
|
this.refreshSubscription = this.refreshService.onRefresh.subscribe((tool) => {
|
|
@@ -607,7 +610,9 @@ class ToolBarRendererComponent {
|
|
|
607
610
|
}
|
|
608
611
|
ngOnDestroy() {
|
|
609
612
|
this.refreshSubscription.unsubscribe();
|
|
610
|
-
this.internalComponentRef
|
|
613
|
+
if (isElement(this.internalComponentRef)) {
|
|
614
|
+
this.internalComponentRef.removeEventListener('click', this.onClick);
|
|
615
|
+
}
|
|
611
616
|
}
|
|
612
617
|
ngAfterViewInit() {
|
|
613
618
|
if (this.resizable) {
|
|
@@ -628,7 +633,8 @@ class ToolBarRendererComponent {
|
|
|
628
633
|
return this.tool.overflows ? 0 : outerWidth(this.internalComponentRef);
|
|
629
634
|
}
|
|
630
635
|
isDisplayed() {
|
|
631
|
-
|
|
636
|
+
var _a, _b;
|
|
637
|
+
return ((_b = (_a = this.internalComponentRef) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.display) !== 'none';
|
|
632
638
|
}
|
|
633
639
|
refresh() {
|
|
634
640
|
if (this.resizable) {
|
|
@@ -24,8 +24,8 @@ const packageMetadata = {
|
|
|
24
24
|
name: '@progress/kendo-angular-toolbar',
|
|
25
25
|
productName: 'Kendo UI for Angular',
|
|
26
26
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
27
|
-
publishDate:
|
|
28
|
-
version: '16.11.0-develop.
|
|
27
|
+
publishDate: 1727788706,
|
|
28
|
+
version: '16.11.0-develop.8',
|
|
29
29
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -571,9 +571,11 @@ class ToolBarRendererComponent {
|
|
|
571
571
|
return this.tool && this.tool.__isSpacer;
|
|
572
572
|
}
|
|
573
573
|
ngOnInit() {
|
|
574
|
-
this.internalComponentRef = this.viewContainer.get(0)
|
|
574
|
+
this.internalComponentRef = this.viewContainer.get(0)?.rootNodes[0];
|
|
575
575
|
this.element = this.tool.element;
|
|
576
|
-
this.internalComponentRef
|
|
576
|
+
if (isElement(this.internalComponentRef)) {
|
|
577
|
+
this.internalComponentRef.addEventListener('click', this.onClick);
|
|
578
|
+
}
|
|
577
579
|
this.rendererService.element = this.element;
|
|
578
580
|
this.rendererService.renderer = this;
|
|
579
581
|
this.refreshSubscription = this.refreshService.onRefresh.subscribe((tool) => {
|
|
@@ -607,7 +609,9 @@ class ToolBarRendererComponent {
|
|
|
607
609
|
}
|
|
608
610
|
ngOnDestroy() {
|
|
609
611
|
this.refreshSubscription.unsubscribe();
|
|
610
|
-
this.internalComponentRef
|
|
612
|
+
if (isElement(this.internalComponentRef)) {
|
|
613
|
+
this.internalComponentRef.removeEventListener('click', this.onClick);
|
|
614
|
+
}
|
|
611
615
|
}
|
|
612
616
|
ngAfterViewInit() {
|
|
613
617
|
if (this.resizable) {
|
|
@@ -628,7 +632,7 @@ class ToolBarRendererComponent {
|
|
|
628
632
|
return this.tool.overflows ? 0 : outerWidth(this.internalComponentRef);
|
|
629
633
|
}
|
|
630
634
|
isDisplayed() {
|
|
631
|
-
return this.internalComponentRef
|
|
635
|
+
return this.internalComponentRef?.style?.display !== 'none';
|
|
632
636
|
}
|
|
633
637
|
refresh() {
|
|
634
638
|
if (this.resizable) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
-
"version": "16.11.0-develop.
|
|
3
|
+
"version": "16.11.0-develop.8",
|
|
4
4
|
"description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"@angular/core": "15 - 18",
|
|
30
30
|
"@angular/platform-browser": "15 - 18",
|
|
31
31
|
"@progress/kendo-licensing": "^1.0.2",
|
|
32
|
-
"@progress/kendo-angular-buttons": "16.11.0-develop.
|
|
33
|
-
"@progress/kendo-angular-common": "16.11.0-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "16.11.0-develop.
|
|
35
|
-
"@progress/kendo-angular-icons": "16.11.0-develop.
|
|
36
|
-
"@progress/kendo-angular-popup": "16.11.0-develop.
|
|
32
|
+
"@progress/kendo-angular-buttons": "16.11.0-develop.8",
|
|
33
|
+
"@progress/kendo-angular-common": "16.11.0-develop.8",
|
|
34
|
+
"@progress/kendo-angular-l10n": "16.11.0-develop.8",
|
|
35
|
+
"@progress/kendo-angular-icons": "16.11.0-develop.8",
|
|
36
|
+
"@progress/kendo-angular-popup": "16.11.0-develop.8",
|
|
37
37
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"tslib": "^2.3.1",
|
|
41
|
-
"@progress/kendo-angular-schematics": "16.11.0-develop.
|
|
41
|
+
"@progress/kendo-angular-schematics": "16.11.0-develop.8"
|
|
42
42
|
},
|
|
43
43
|
"schematics": "./schematics/collection.json",
|
|
44
44
|
"module": "fesm2015/progress-kendo-angular-toolbar.mjs",
|