@progress/kendo-angular-toolbar 17.0.0-develop.6 → 17.0.0-develop.7
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/esm2020/package-metadata.mjs +2 -2
- package/esm2020/toolbar.component.mjs +4 -1
- package/esm2020/tools/toolbar-buttongroup.component.mjs +2 -2
- package/esm2020/tools/toolbar-dropdownbutton.component.mjs +8 -6
- package/fesm2015/progress-kendo-angular-toolbar.mjs +15 -10
- package/fesm2020/progress-kendo-angular-toolbar.mjs +15 -10
- package/package.json +7 -7
- package/tools/toolbar-dropdownbutton.component.d.ts +4 -2
|
@@ -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: '17.0.0-develop.
|
|
12
|
+
publishDate: 1729052750,
|
|
13
|
+
version: '17.0.0-develop.7',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -580,7 +580,7 @@ export class ToolBarComponent {
|
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: i3.RefreshService }, { token: i4.NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i5.ToolbarToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
583
|
-
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarComponent, isStandalone: true, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
|
|
583
|
+
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarComponent, isStandalone: true, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "class.k-toolbar-solid": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
|
|
584
584
|
RefreshService,
|
|
585
585
|
NavigationService,
|
|
586
586
|
LocalizationService,
|
|
@@ -776,6 +776,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
776
776
|
}], hostClass: [{
|
|
777
777
|
type: HostBinding,
|
|
778
778
|
args: ['class.k-toolbar']
|
|
779
|
+
}, {
|
|
780
|
+
type: HostBinding,
|
|
781
|
+
args: ['class.k-toolbar-solid']
|
|
779
782
|
}], onFocus: [{
|
|
780
783
|
type: HostListener,
|
|
781
784
|
args: ['focus', ['$event']]
|
|
@@ -147,7 +147,7 @@ ToolBarButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.
|
|
|
147
147
|
ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonGroupComponent, isStandalone: true, selector: "kendo-toolbar-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", look: "look" }, providers: [LocalizationService, { provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonGroupComponent) }], queries: [{ propertyName: "buttonComponents", predicate: i0.forwardRef(function () { return ToolBarButtonComponent; }) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonGroup", first: true, predicate: ["toolbarButtonGroup"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarButtonGroup"], usesInheritance: true, ngImport: i0, template: `
|
|
148
148
|
<ng-template #toolbarTemplate>
|
|
149
149
|
<kendo-buttongroup
|
|
150
|
-
class="k-toolbar-button-group"
|
|
150
|
+
class="k-toolbar-button-group k-button-group-solid"
|
|
151
151
|
#toolbarButtonGroup
|
|
152
152
|
[tabIndex]="-1"
|
|
153
153
|
[selection]="selection"
|
|
@@ -216,7 +216,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
216
216
|
template: `
|
|
217
217
|
<ng-template #toolbarTemplate>
|
|
218
218
|
<kendo-buttongroup
|
|
219
|
-
class="k-toolbar-button-group"
|
|
219
|
+
class="k-toolbar-button-group k-button-group-solid"
|
|
220
220
|
#toolbarButtonGroup
|
|
221
221
|
[tabIndex]="-1"
|
|
222
222
|
[selection]="selection"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 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 { Component, ElementRef, TemplateRef, forwardRef, ViewChild, Input, EventEmitter, Output, QueryList, ViewChildren, isDevMode } from '@angular/core';
|
|
5
|
+
import { Component, ElementRef, TemplateRef, forwardRef, ViewChild, Input, EventEmitter, Output, QueryList, ViewChildren, isDevMode, Renderer2 } from '@angular/core';
|
|
6
6
|
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
7
|
import { DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
|
8
8
|
import { getValueForLocation, makePeeker, getIndexOfFocused, getPrevKey, getNextKey, seekFocusedIndex, areEqual } from '../util';
|
|
@@ -13,8 +13,9 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* Represents the [Kendo UI ToolBar DropDownButton for Angular]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
|
|
14
14
|
*/
|
|
15
15
|
export class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
16
|
-
constructor() {
|
|
16
|
+
constructor(renderer) {
|
|
17
17
|
super();
|
|
18
|
+
this.renderer = renderer;
|
|
18
19
|
/**
|
|
19
20
|
* Allows showing the default arrow icon or providing alternative one instead.
|
|
20
21
|
* @default false
|
|
@@ -200,6 +201,9 @@ export class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
200
201
|
ngOnInit() {
|
|
201
202
|
this.setTextDisplayMode();
|
|
202
203
|
}
|
|
204
|
+
ngAfterViewInit() {
|
|
205
|
+
this.renderer.addClass(this.toolbarDropDownButton.button.nativeElement, 'k-toolbar-menu-button');
|
|
206
|
+
}
|
|
203
207
|
get overflowButtons() {
|
|
204
208
|
return [...this.overflowListItems.toArray().filter(el => !el.nativeElement.classList.contains('k-disabled'))];
|
|
205
209
|
}
|
|
@@ -276,12 +280,11 @@ export class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
276
280
|
this.overflowOptions.text = this.showText === 'toolbar' ? undefined : this.text;
|
|
277
281
|
}
|
|
278
282
|
}
|
|
279
|
-
ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
283
|
+
ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
280
284
|
ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarDropDownButtonComponent, isStandalone: true, selector: "kendo-toolbar-dropdownbutton", inputs: { arrowIcon: "arrowIcon", title: "title", showText: "showText", showIcon: "showIcon", text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", imageUrl: "imageUrl", popupSettings: "popupSettings", look: "look", primary: "primary", fillMode: "fillMode", themeColor: "themeColor", buttonClass: "buttonClass", textField: "textField", disabled: "disabled", data: "data" }, outputs: { itemClick: "itemClick", open: "open", close: "close" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarDropDownButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "dropdownButton", first: true, predicate: ["dropdownButton"], descendants: true, read: ElementRef, static: true }, { propertyName: "dropDownButtonComponent", first: true, predicate: DropDownButtonComponent, descendants: true }, { propertyName: "toolbarDropDownButton", first: true, predicate: ["toolbarDropDownButton"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarDropDownButton"], usesInheritance: true, ngImport: i0, template: `
|
|
281
285
|
<ng-template #toolbarTemplate>
|
|
282
286
|
<kendo-dropdownbutton
|
|
283
287
|
#toolbarDropDownButton
|
|
284
|
-
class="k-toolbar-menu-button"
|
|
285
288
|
[icon]="toolbarOptions.icon"
|
|
286
289
|
[iconClass]="toolbarOptions.iconClass"
|
|
287
290
|
[svgIcon]="toolbarOptions.svgIcon"
|
|
@@ -354,7 +357,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
354
357
|
<ng-template #toolbarTemplate>
|
|
355
358
|
<kendo-dropdownbutton
|
|
356
359
|
#toolbarDropDownButton
|
|
357
|
-
class="k-toolbar-menu-button"
|
|
358
360
|
[icon]="toolbarOptions.icon"
|
|
359
361
|
[iconClass]="toolbarOptions.iconClass"
|
|
360
362
|
[svgIcon]="toolbarOptions.svgIcon"
|
|
@@ -420,7 +422,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
420
422
|
standalone: true,
|
|
421
423
|
imports: [DropDownButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
|
|
422
424
|
}]
|
|
423
|
-
}], ctorParameters: function () { return []; }, propDecorators: { arrowIcon: [{
|
|
425
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { arrowIcon: [{
|
|
424
426
|
type: Input
|
|
425
427
|
}], title: [{
|
|
426
428
|
type: Input
|
|
@@ -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: '17.0.0-develop.
|
|
27
|
+
publishDate: 1729052750,
|
|
28
|
+
version: '17.0.0-develop.7',
|
|
29
29
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -1280,7 +1280,7 @@ class ToolBarComponent {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
}
|
|
1282
1282
|
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: RefreshService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: ToolbarToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1283
|
-
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarComponent, isStandalone: true, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
|
|
1283
|
+
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarComponent, isStandalone: true, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "class.k-toolbar-solid": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
|
|
1284
1284
|
RefreshService,
|
|
1285
1285
|
NavigationService,
|
|
1286
1286
|
LocalizationService,
|
|
@@ -1476,6 +1476,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1476
1476
|
}], hostClass: [{
|
|
1477
1477
|
type: HostBinding,
|
|
1478
1478
|
args: ['class.k-toolbar']
|
|
1479
|
+
}, {
|
|
1480
|
+
type: HostBinding,
|
|
1481
|
+
args: ['class.k-toolbar-solid']
|
|
1479
1482
|
}], onFocus: [{
|
|
1480
1483
|
type: HostListener,
|
|
1481
1484
|
args: ['focus', ['$event']]
|
|
@@ -2026,7 +2029,7 @@ ToolBarButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.
|
|
|
2026
2029
|
ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonGroupComponent, isStandalone: true, selector: "kendo-toolbar-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", look: "look" }, providers: [LocalizationService, { provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonGroupComponent) }], queries: [{ propertyName: "buttonComponents", predicate: i0.forwardRef(function () { return ToolBarButtonComponent; }) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonGroup", first: true, predicate: ["toolbarButtonGroup"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarButtonGroup"], usesInheritance: true, ngImport: i0, template: `
|
|
2027
2030
|
<ng-template #toolbarTemplate>
|
|
2028
2031
|
<kendo-buttongroup
|
|
2029
|
-
class="k-toolbar-button-group"
|
|
2032
|
+
class="k-toolbar-button-group k-button-group-solid"
|
|
2030
2033
|
#toolbarButtonGroup
|
|
2031
2034
|
[tabIndex]="-1"
|
|
2032
2035
|
[selection]="selection"
|
|
@@ -2095,7 +2098,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2095
2098
|
template: `
|
|
2096
2099
|
<ng-template #toolbarTemplate>
|
|
2097
2100
|
<kendo-buttongroup
|
|
2098
|
-
class="k-toolbar-button-group"
|
|
2101
|
+
class="k-toolbar-button-group k-button-group-solid"
|
|
2099
2102
|
#toolbarButtonGroup
|
|
2100
2103
|
[tabIndex]="-1"
|
|
2101
2104
|
[selection]="selection"
|
|
@@ -2187,8 +2190,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2187
2190
|
* Represents the [Kendo UI ToolBar DropDownButton for Angular]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
|
|
2188
2191
|
*/
|
|
2189
2192
|
class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
2190
|
-
constructor() {
|
|
2193
|
+
constructor(renderer) {
|
|
2191
2194
|
super();
|
|
2195
|
+
this.renderer = renderer;
|
|
2192
2196
|
/**
|
|
2193
2197
|
* Allows showing the default arrow icon or providing alternative one instead.
|
|
2194
2198
|
* @default false
|
|
@@ -2374,6 +2378,9 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2374
2378
|
ngOnInit() {
|
|
2375
2379
|
this.setTextDisplayMode();
|
|
2376
2380
|
}
|
|
2381
|
+
ngAfterViewInit() {
|
|
2382
|
+
this.renderer.addClass(this.toolbarDropDownButton.button.nativeElement, 'k-toolbar-menu-button');
|
|
2383
|
+
}
|
|
2377
2384
|
get overflowButtons() {
|
|
2378
2385
|
return [...this.overflowListItems.toArray().filter(el => !el.nativeElement.classList.contains('k-disabled'))];
|
|
2379
2386
|
}
|
|
@@ -2450,12 +2457,11 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2450
2457
|
this.overflowOptions.text = this.showText === 'toolbar' ? undefined : this.text;
|
|
2451
2458
|
}
|
|
2452
2459
|
}
|
|
2453
|
-
ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2460
|
+
ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2454
2461
|
ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarDropDownButtonComponent, isStandalone: true, selector: "kendo-toolbar-dropdownbutton", inputs: { arrowIcon: "arrowIcon", title: "title", showText: "showText", showIcon: "showIcon", text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", imageUrl: "imageUrl", popupSettings: "popupSettings", look: "look", primary: "primary", fillMode: "fillMode", themeColor: "themeColor", buttonClass: "buttonClass", textField: "textField", disabled: "disabled", data: "data" }, outputs: { itemClick: "itemClick", open: "open", close: "close" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarDropDownButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "dropdownButton", first: true, predicate: ["dropdownButton"], descendants: true, read: ElementRef, static: true }, { propertyName: "dropDownButtonComponent", first: true, predicate: DropDownButtonComponent, descendants: true }, { propertyName: "toolbarDropDownButton", first: true, predicate: ["toolbarDropDownButton"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarDropDownButton"], usesInheritance: true, ngImport: i0, template: `
|
|
2455
2462
|
<ng-template #toolbarTemplate>
|
|
2456
2463
|
<kendo-dropdownbutton
|
|
2457
2464
|
#toolbarDropDownButton
|
|
2458
|
-
class="k-toolbar-menu-button"
|
|
2459
2465
|
[icon]="toolbarOptions.icon"
|
|
2460
2466
|
[iconClass]="toolbarOptions.iconClass"
|
|
2461
2467
|
[svgIcon]="toolbarOptions.svgIcon"
|
|
@@ -2528,7 +2534,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2528
2534
|
<ng-template #toolbarTemplate>
|
|
2529
2535
|
<kendo-dropdownbutton
|
|
2530
2536
|
#toolbarDropDownButton
|
|
2531
|
-
class="k-toolbar-menu-button"
|
|
2532
2537
|
[icon]="toolbarOptions.icon"
|
|
2533
2538
|
[iconClass]="toolbarOptions.iconClass"
|
|
2534
2539
|
[svgIcon]="toolbarOptions.svgIcon"
|
|
@@ -2594,7 +2599,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2594
2599
|
standalone: true,
|
|
2595
2600
|
imports: [DropDownButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
|
|
2596
2601
|
}]
|
|
2597
|
-
}], ctorParameters: function () { return []; }, propDecorators: { arrowIcon: [{
|
|
2602
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { arrowIcon: [{
|
|
2598
2603
|
type: Input
|
|
2599
2604
|
}], title: [{
|
|
2600
2605
|
type: Input
|
|
@@ -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: '17.0.0-develop.
|
|
27
|
+
publishDate: 1729052750,
|
|
28
|
+
version: '17.0.0-develop.7',
|
|
29
29
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
30
30
|
};
|
|
31
31
|
|
|
@@ -1277,7 +1277,7 @@ class ToolBarComponent {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
1279
|
ToolBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: RefreshService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: ToolbarToolsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1280
|
-
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarComponent, isStandalone: true, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
|
|
1280
|
+
ToolBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarComponent, isStandalone: true, selector: "kendo-toolbar", inputs: { overflow: "overflow", resizable: "resizable", popupSettings: "popupSettings", tabindex: "tabindex", size: "size", tabIndex: "tabIndex" }, outputs: { open: "open", close: "close" }, host: { listeners: { "focus": "onFocus($event)", "focusout": "onFocusOut($event)" }, properties: { "class.k-toolbar": "this.hostClass", "class.k-toolbar-solid": "this.hostClass", "attr.role": "this.role", "attr.dir": "this.getDir", "class.k-toolbar-resizable": "this.resizableClass" } }, providers: [
|
|
1281
1281
|
RefreshService,
|
|
1282
1282
|
NavigationService,
|
|
1283
1283
|
LocalizationService,
|
|
@@ -1473,6 +1473,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1473
1473
|
}], hostClass: [{
|
|
1474
1474
|
type: HostBinding,
|
|
1475
1475
|
args: ['class.k-toolbar']
|
|
1476
|
+
}, {
|
|
1477
|
+
type: HostBinding,
|
|
1478
|
+
args: ['class.k-toolbar-solid']
|
|
1476
1479
|
}], onFocus: [{
|
|
1477
1480
|
type: HostListener,
|
|
1478
1481
|
args: ['focus', ['$event']]
|
|
@@ -2022,7 +2025,7 @@ ToolBarButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.
|
|
|
2022
2025
|
ToolBarButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonGroupComponent, isStandalone: true, selector: "kendo-toolbar-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", look: "look" }, providers: [LocalizationService, { provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarButtonGroupComponent) }], queries: [{ propertyName: "buttonComponents", predicate: i0.forwardRef(function () { return ToolBarButtonComponent; }) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "toolbarButtonGroup", first: true, predicate: ["toolbarButtonGroup"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarButtonGroup"], usesInheritance: true, ngImport: i0, template: `
|
|
2023
2026
|
<ng-template #toolbarTemplate>
|
|
2024
2027
|
<kendo-buttongroup
|
|
2025
|
-
class="k-toolbar-button-group"
|
|
2028
|
+
class="k-toolbar-button-group k-button-group-solid"
|
|
2026
2029
|
#toolbarButtonGroup
|
|
2027
2030
|
[tabIndex]="-1"
|
|
2028
2031
|
[selection]="selection"
|
|
@@ -2091,7 +2094,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2091
2094
|
template: `
|
|
2092
2095
|
<ng-template #toolbarTemplate>
|
|
2093
2096
|
<kendo-buttongroup
|
|
2094
|
-
class="k-toolbar-button-group"
|
|
2097
|
+
class="k-toolbar-button-group k-button-group-solid"
|
|
2095
2098
|
#toolbarButtonGroup
|
|
2096
2099
|
[tabIndex]="-1"
|
|
2097
2100
|
[selection]="selection"
|
|
@@ -2183,8 +2186,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2183
2186
|
* Represents the [Kendo UI ToolBar DropDownButton for Angular]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
|
|
2184
2187
|
*/
|
|
2185
2188
|
class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
2186
|
-
constructor() {
|
|
2189
|
+
constructor(renderer) {
|
|
2187
2190
|
super();
|
|
2191
|
+
this.renderer = renderer;
|
|
2188
2192
|
/**
|
|
2189
2193
|
* Allows showing the default arrow icon or providing alternative one instead.
|
|
2190
2194
|
* @default false
|
|
@@ -2370,6 +2374,9 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2370
2374
|
ngOnInit() {
|
|
2371
2375
|
this.setTextDisplayMode();
|
|
2372
2376
|
}
|
|
2377
|
+
ngAfterViewInit() {
|
|
2378
|
+
this.renderer.addClass(this.toolbarDropDownButton.button.nativeElement, 'k-toolbar-menu-button');
|
|
2379
|
+
}
|
|
2373
2380
|
get overflowButtons() {
|
|
2374
2381
|
return [...this.overflowListItems.toArray().filter(el => !el.nativeElement.classList.contains('k-disabled'))];
|
|
2375
2382
|
}
|
|
@@ -2446,12 +2453,11 @@ class ToolBarDropDownButtonComponent extends ToolBarToolComponent {
|
|
|
2446
2453
|
this.overflowOptions.text = this.showText === 'toolbar' ? undefined : this.text;
|
|
2447
2454
|
}
|
|
2448
2455
|
}
|
|
2449
|
-
ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2456
|
+
ToolBarDropDownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarDropDownButtonComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2450
2457
|
ToolBarDropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarDropDownButtonComponent, isStandalone: true, selector: "kendo-toolbar-dropdownbutton", inputs: { arrowIcon: "arrowIcon", title: "title", showText: "showText", showIcon: "showIcon", text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", imageUrl: "imageUrl", popupSettings: "popupSettings", look: "look", primary: "primary", fillMode: "fillMode", themeColor: "themeColor", buttonClass: "buttonClass", textField: "textField", disabled: "disabled", data: "data" }, outputs: { itemClick: "itemClick", open: "open", close: "close" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => ToolBarDropDownButtonComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "dropdownButton", first: true, predicate: ["dropdownButton"], descendants: true, read: ElementRef, static: true }, { propertyName: "dropDownButtonComponent", first: true, predicate: DropDownButtonComponent, descendants: true }, { propertyName: "toolbarDropDownButton", first: true, predicate: ["toolbarDropDownButton"], descendants: true }, { propertyName: "overflowListItems", predicate: ["listItem"], descendants: true }], exportAs: ["kendoToolBarDropDownButton"], usesInheritance: true, ngImport: i0, template: `
|
|
2451
2458
|
<ng-template #toolbarTemplate>
|
|
2452
2459
|
<kendo-dropdownbutton
|
|
2453
2460
|
#toolbarDropDownButton
|
|
2454
|
-
class="k-toolbar-menu-button"
|
|
2455
2461
|
[icon]="toolbarOptions.icon"
|
|
2456
2462
|
[iconClass]="toolbarOptions.iconClass"
|
|
2457
2463
|
[svgIcon]="toolbarOptions.svgIcon"
|
|
@@ -2524,7 +2530,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2524
2530
|
<ng-template #toolbarTemplate>
|
|
2525
2531
|
<kendo-dropdownbutton
|
|
2526
2532
|
#toolbarDropDownButton
|
|
2527
|
-
class="k-toolbar-menu-button"
|
|
2528
2533
|
[icon]="toolbarOptions.icon"
|
|
2529
2534
|
[iconClass]="toolbarOptions.iconClass"
|
|
2530
2535
|
[svgIcon]="toolbarOptions.svgIcon"
|
|
@@ -2590,7 +2595,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2590
2595
|
standalone: true,
|
|
2591
2596
|
imports: [DropDownButtonComponent, NgClass, NgIf, IconWrapperComponent, NgFor]
|
|
2592
2597
|
}]
|
|
2593
|
-
}], ctorParameters: function () { return []; }, propDecorators: { arrowIcon: [{
|
|
2598
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { arrowIcon: [{
|
|
2594
2599
|
type: Input
|
|
2595
2600
|
}], title: [{
|
|
2596
2601
|
type: Input
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
-
"version": "17.0.0-develop.
|
|
3
|
+
"version": "17.0.0-develop.7",
|
|
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": "17.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-common": "17.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "17.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-icons": "17.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-popup": "17.0.0-develop.
|
|
32
|
+
"@progress/kendo-angular-buttons": "17.0.0-develop.7",
|
|
33
|
+
"@progress/kendo-angular-common": "17.0.0-develop.7",
|
|
34
|
+
"@progress/kendo-angular-l10n": "17.0.0-develop.7",
|
|
35
|
+
"@progress/kendo-angular-icons": "17.0.0-develop.7",
|
|
36
|
+
"@progress/kendo-angular-popup": "17.0.0-develop.7",
|
|
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": "17.0.0-develop.
|
|
41
|
+
"@progress/kendo-angular-schematics": "17.0.0-develop.7"
|
|
42
42
|
},
|
|
43
43
|
"schematics": "./schematics/collection.json",
|
|
44
44
|
"module": "fesm2015/progress-kendo-angular-toolbar.mjs",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2024 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 { ElementRef, TemplateRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
5
|
+
import { ElementRef, TemplateRef, EventEmitter, OnInit, QueryList, Renderer2 } from '@angular/core';
|
|
6
6
|
import { ToolBarToolComponent } from './toolbar-tool.component';
|
|
7
7
|
import { PopupSettings } from '../popup-settings';
|
|
8
8
|
import { ArrowIconSettings, ButtonFillMode, ButtonThemeColor, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
|
@@ -15,6 +15,7 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
* Represents the [Kendo UI ToolBar DropDownButton for Angular]({% slug controltypes_toolbar %}#toc-dropdownbuttons).
|
|
16
16
|
*/
|
|
17
17
|
export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent implements OnInit {
|
|
18
|
+
private renderer;
|
|
18
19
|
/**
|
|
19
20
|
* Allows showing the default arrow icon or providing alternative one instead.
|
|
20
21
|
* @default false
|
|
@@ -150,6 +151,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
150
151
|
toolbarOptions: ToolOptions;
|
|
151
152
|
overflowOptions: ToolOptions;
|
|
152
153
|
ngOnInit(): void;
|
|
154
|
+
ngAfterViewInit(): void;
|
|
153
155
|
private get overflowButtons();
|
|
154
156
|
private toolbarDropDownButton;
|
|
155
157
|
private _data;
|
|
@@ -159,7 +161,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
159
161
|
private _text;
|
|
160
162
|
private getNextKey;
|
|
161
163
|
private getPrevKey;
|
|
162
|
-
constructor();
|
|
164
|
+
constructor(renderer: Renderer2);
|
|
163
165
|
/**
|
|
164
166
|
* @hidden
|
|
165
167
|
*/
|