@progress/kendo-angular-toolbar 18.1.0-develop.28 → 18.1.0-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.
- package/esm2022/localization/messages.mjs +2 -14
- package/esm2022/navigation.service.mjs +3 -5
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/renderer.component.mjs +0 -8
- package/esm2022/toolbar.component.mjs +124 -716
- package/esm2022/tools/toolbar-button.component.mjs +2 -62
- package/esm2022/tools/toolbar-buttongroup.component.mjs +6 -87
- package/esm2022/tools/toolbar-dropdownbutton.component.mjs +11 -67
- package/esm2022/tools/toolbar-separator.component.mjs +0 -8
- package/esm2022/tools/toolbar-splitbutton.component.mjs +5 -61
- package/esm2022/tools/toolbar-tool.component.mjs +1 -9
- package/esm2022/tools/tools.service.mjs +0 -3
- package/esm2022/util.mjs +0 -17
- package/fesm2022/progress-kendo-angular-toolbar.mjs +155 -1300
- package/index.d.ts +0 -3
- package/localization/messages.d.ts +2 -10
- package/package.json +9 -9
- package/render-location.d.ts +1 -1
- package/toolbar.component.d.ts +6 -77
- package/tools/toolbar-button.component.d.ts +0 -1
- package/tools/toolbar-buttongroup.component.d.ts +0 -1
- package/tools/toolbar-dropdownbutton.component.d.ts +1 -2
- package/tools/toolbar-splitbutton.component.d.ts +0 -1
- package/tools/toolbar-tool.component.d.ts +0 -6
- package/tools/tools.service.d.ts +0 -1
- package/util.d.ts +0 -5
- package/common/overflow-mode.d.ts +0 -8
- package/common/overflow-settings.d.ts +0 -53
- package/common/scroll-buttons.d.ts +0 -12
- package/esm2022/common/overflow-mode.mjs +0 -5
- package/esm2022/common/overflow-settings.mjs +0 -5
- package/esm2022/common/scroll-buttons.mjs +0 -5
- package/esm2022/scroll.service.mjs +0 -102
- package/esm2022/scrollable-button.component.mjs +0 -162
- package/scroll.service.d.ts +0 -42
- package/scrollable-button.component.d.ts +0 -44
|
@@ -10,19 +10,11 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export class ToolbarMessages extends ComponentMessages {
|
|
12
12
|
/**
|
|
13
|
-
* The title of the **
|
|
13
|
+
* The title of the **more tools** button in a responsive ToolBar
|
|
14
14
|
*/
|
|
15
15
|
moreToolsTitle;
|
|
16
|
-
/**
|
|
17
|
-
* The title for the **Previous Tool** button when the Toolbar is scrollable.
|
|
18
|
-
*/
|
|
19
|
-
previousToolButton;
|
|
20
|
-
/**
|
|
21
|
-
* The title for the **Next Tool** button when the Toolbar is scrollable.
|
|
22
|
-
*/
|
|
23
|
-
nextToolButton;
|
|
24
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarMessages, selector: "kendo-toolbar-messages-base", inputs: { moreToolsTitle: "moreToolsTitle"
|
|
17
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarMessages, selector: "kendo-toolbar-messages-base", inputs: { moreToolsTitle: "moreToolsTitle" }, usesInheritance: true, ngImport: i0 });
|
|
26
18
|
}
|
|
27
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarMessages, decorators: [{
|
|
28
20
|
type: Directive,
|
|
@@ -32,8 +24,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
32
24
|
}]
|
|
33
25
|
}], propDecorators: { moreToolsTitle: [{
|
|
34
26
|
type: Input
|
|
35
|
-
}], previousToolButton: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}], nextToolButton: [{
|
|
38
|
-
type: Input
|
|
39
27
|
}] } });
|
|
@@ -141,11 +141,9 @@ export class NavigationService {
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
focusOverflowButton() {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
this.overflowButton.nativeElement.focus();
|
|
148
|
-
}
|
|
144
|
+
this.isOverflowButtonFocused = true;
|
|
145
|
+
this.overflowButton.nativeElement.tabIndex = 0;
|
|
146
|
+
this.overflowButton.nativeElement.focus();
|
|
149
147
|
}
|
|
150
148
|
isOverflowButtonVisible() {
|
|
151
149
|
return (isPresent(this.overflowButton) &&
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '18.1.0-develop.
|
|
13
|
+
publishDate: 1738245757,
|
|
14
|
+
version: '18.1.0-develop.3',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -45,7 +45,6 @@ export class ToolBarRendererComponent {
|
|
|
45
45
|
if (!viewContainerRootNodes || viewContainerRootNodes.length === 0) {
|
|
46
46
|
return;
|
|
47
47
|
}
|
|
48
|
-
this.tool.location = this.location;
|
|
49
48
|
this.internalComponentRef = viewContainerRootNodes[0];
|
|
50
49
|
this.element = this.tool.element;
|
|
51
50
|
this.internalComponentRef.addEventListener('click', this.onClick);
|
|
@@ -62,11 +61,6 @@ export class ToolBarRendererComponent {
|
|
|
62
61
|
this.renderer.setStyle(this.internalComponentRef, 'visibility', 'hidden');
|
|
63
62
|
this.renderer.setStyle(this.internalComponentRef, 'display', 'none');
|
|
64
63
|
}
|
|
65
|
-
else if (this.location === 'section') {
|
|
66
|
-
this.template = this.tool.toolbarTemplate;
|
|
67
|
-
this.renderer.setStyle(this.internalComponentRef, 'visibility', 'visible');
|
|
68
|
-
this.renderer.setStyle(this.internalComponentRef, 'display', 'inline-flex');
|
|
69
|
-
}
|
|
70
64
|
else {
|
|
71
65
|
this.template = this.tool.popupTemplate;
|
|
72
66
|
this.renderer.setStyle(this.internalComponentRef, 'display', 'none');
|
|
@@ -102,7 +96,6 @@ export class ToolBarRendererComponent {
|
|
|
102
96
|
return this.internalComponentRef?.style?.display !== 'none';
|
|
103
97
|
}
|
|
104
98
|
refresh() {
|
|
105
|
-
this.tool.location = this.location;
|
|
106
99
|
if (this.resizable && this.internalComponentRef) {
|
|
107
100
|
if (this.location === 'toolbar') {
|
|
108
101
|
this.renderer.setStyle(this.internalComponentRef, 'visibility', this.tool.visibility);
|
|
@@ -121,7 +114,6 @@ export class ToolBarRendererComponent {
|
|
|
121
114
|
this.rendererClick.emit({ context: this, event: ev });
|
|
122
115
|
};
|
|
123
116
|
updateTools() {
|
|
124
|
-
this.tool.location = this.location;
|
|
125
117
|
const isInToolbar = this.toolsService.renderedTools.some(t => t.tool === this.tool);
|
|
126
118
|
const isInPopup = this.toolsService.overflowTools.some(t => t.tool === this.tool);
|
|
127
119
|
if (this.location === 'toolbar') {
|