@progress/kendo-angular-toolbar 16.5.0-develop.6 → 16.6.0-develop.1
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/directives.d.ts +17 -0
- package/esm2020/directives.mjs +27 -0
- package/esm2020/index.mjs +1 -0
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-toolbar-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/renderer.component.mjs +6 -4
- package/esm2020/toolbar.component.mjs +9 -8
- package/esm2020/toolbar.module.mjs +19 -52
- package/esm2020/tools/toolbar-button.component.mjs +8 -6
- package/esm2020/tools/toolbar-buttongroup.component.mjs +8 -7
- package/esm2020/tools/toolbar-dropdownbutton.component.mjs +8 -7
- package/esm2020/tools/toolbar-separator.component.mjs +3 -2
- package/esm2020/tools/toolbar-spacer.component.mjs +3 -2
- package/esm2020/tools/toolbar-splitbutton.component.mjs +9 -8
- package/esm2020/tools/toolbar-tool.component.mjs +3 -2
- package/fesm2015/progress-kendo-angular-toolbar.mjs +81 -171
- package/fesm2020/progress-kendo-angular-toolbar.mjs +81 -171
- package/index.d.ts +1 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-toolbar-messages.directive.d.ts +1 -1
- package/package.json +7 -7
- package/renderer.component.d.ts +1 -1
- package/toolbar.component.d.ts +1 -1
- package/toolbar.module.d.ts +6 -14
- package/tools/toolbar-button.component.d.ts +1 -1
- package/tools/toolbar-buttongroup.component.d.ts +1 -1
- package/tools/toolbar-dropdownbutton.component.d.ts +2 -2
- package/tools/toolbar-separator.component.d.ts +1 -1
- package/tools/toolbar-spacer.component.d.ts +1 -1
- package/tools/toolbar-splitbutton.component.d.ts +3 -3
- package/tools/toolbar-tool.component.d.ts +1 -1
- package/esm2020/tools/toolbar-buttonlist.component.mjs +0 -96
- package/tools/toolbar-buttonlist.component.d.ts +0 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-toolbar",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.0-develop.1",
|
|
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.
|
|
33
|
-
"@progress/kendo-angular-common": "16.
|
|
34
|
-
"@progress/kendo-angular-l10n": "16.
|
|
35
|
-
"@progress/kendo-angular-icons": "16.
|
|
36
|
-
"@progress/kendo-angular-popup": "16.
|
|
32
|
+
"@progress/kendo-angular-buttons": "16.6.0-develop.1",
|
|
33
|
+
"@progress/kendo-angular-common": "16.6.0-develop.1",
|
|
34
|
+
"@progress/kendo-angular-l10n": "16.6.0-develop.1",
|
|
35
|
+
"@progress/kendo-angular-icons": "16.6.0-develop.1",
|
|
36
|
+
"@progress/kendo-angular-popup": "16.6.0-develop.1",
|
|
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.
|
|
41
|
+
"@progress/kendo-angular-schematics": "16.6.0-develop.1"
|
|
42
42
|
},
|
|
43
43
|
"schematics": "./schematics/collection.json",
|
|
44
44
|
"module": "fesm2015/progress-kendo-angular-toolbar.mjs",
|
package/renderer.component.d.ts
CHANGED
|
@@ -57,5 +57,5 @@ export declare class ToolBarRendererComponent implements OnInit, OnDestroy {
|
|
|
57
57
|
*/
|
|
58
58
|
setAttribute(element: HTMLElement, attr: string, value: string): void;
|
|
59
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarRendererComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarRendererComponent, "kendo-toolbar-renderer", ["kendoToolBarRenderer"], { "tool": "tool"; "location": "location"; "resizable": "resizable"; }, { "rendererClick": "rendererClick"; }, never, never,
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarRendererComponent, "kendo-toolbar-renderer", ["kendoToolBarRenderer"], { "tool": "tool"; "location": "location"; "resizable": "resizable"; }, { "rendererClick": "rendererClick"; }, never, never, true, never>;
|
|
61
61
|
}
|
package/toolbar.component.d.ts
CHANGED
|
@@ -174,5 +174,5 @@ export declare class ToolBarComponent {
|
|
|
174
174
|
private handleClasses;
|
|
175
175
|
private normalizePopupClasses;
|
|
176
176
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarComponent, never>;
|
|
177
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarComponent, "kendo-toolbar", ["kendoToolBar"], { "overflow": "overflow"; "resizable": "resizable"; "popupSettings": "popupSettings"; "tabindex": "tabindex"; "size": "size"; "tabIndex": "tabIndex"; }, { "open": "open"; "close": "close"; }, ["allTools"], never,
|
|
177
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarComponent, "kendo-toolbar", ["kendoToolBar"], { "overflow": "overflow"; "resizable": "resizable"; "popupSettings": "popupSettings"; "tabindex": "tabindex"; "size": "size"; "tabIndex": "tabIndex"; }, { "open": "open"; "close": "close"; }, ["allTools"], never, true, never>;
|
|
178
178
|
}
|
package/toolbar.module.d.ts
CHANGED
|
@@ -4,22 +4,14 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./toolbar.component";
|
|
7
|
-
import * as i2 from "./
|
|
7
|
+
import * as i2 from "./localization/custom-messages.component";
|
|
8
8
|
import * as i3 from "./tools/toolbar-button.component";
|
|
9
9
|
import * as i4 from "./tools/toolbar-buttongroup.component";
|
|
10
10
|
import * as i5 from "./tools/toolbar-dropdownbutton.component";
|
|
11
|
-
import * as i6 from "./tools/toolbar-
|
|
12
|
-
import * as i7 from "./tools/toolbar-
|
|
13
|
-
import * as i8 from "./tools/toolbar-
|
|
14
|
-
import * as i9 from "./
|
|
15
|
-
import * as i10 from "./tools/toolbar-buttonlist.component";
|
|
16
|
-
import * as i11 from "./localization/custom-messages.component";
|
|
17
|
-
import * as i12 from "./localization/localized-toolbar-messages.directive";
|
|
18
|
-
import * as i13 from "@angular/common";
|
|
19
|
-
import * as i14 from "@progress/kendo-angular-buttons";
|
|
20
|
-
import * as i15 from "@progress/kendo-angular-popup";
|
|
21
|
-
import * as i16 from "@progress/kendo-angular-common";
|
|
22
|
-
import * as i17 from "@progress/kendo-angular-icons";
|
|
11
|
+
import * as i6 from "./tools/toolbar-separator.component";
|
|
12
|
+
import * as i7 from "./tools/toolbar-spacer.component";
|
|
13
|
+
import * as i8 from "./tools/toolbar-splitbutton.component";
|
|
14
|
+
import * as i9 from "./tools/toolbar-tool.component";
|
|
23
15
|
/**
|
|
24
16
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the ToolBar component.
|
|
25
17
|
*
|
|
@@ -34,6 +26,6 @@ import * as i17 from "@progress/kendo-angular-icons";
|
|
|
34
26
|
*/
|
|
35
27
|
export declare class ToolBarModule {
|
|
36
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarModule, never>;
|
|
37
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolBarModule, [typeof i1.ToolBarComponent, typeof i2.
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolBarModule, never, [typeof i1.ToolBarComponent, typeof i2.ToolbarCustomMessagesComponent, typeof i3.ToolBarButtonComponent, typeof i4.ToolBarButtonGroupComponent, typeof i5.ToolBarDropDownButtonComponent, typeof i6.ToolBarSeparatorComponent, typeof i7.ToolBarSpacerComponent, typeof i8.ToolBarSplitButtonComponent, typeof i9.ToolBarToolComponent], [typeof i1.ToolBarComponent, typeof i2.ToolbarCustomMessagesComponent, typeof i3.ToolBarButtonComponent, typeof i4.ToolBarButtonGroupComponent, typeof i5.ToolBarDropDownButtonComponent, typeof i6.ToolBarSeparatorComponent, typeof i7.ToolBarSpacerComponent, typeof i8.ToolBarSplitButtonComponent, typeof i9.ToolBarToolComponent]>;
|
|
38
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolBarModule>;
|
|
39
31
|
}
|
|
@@ -175,5 +175,5 @@ export declare class ToolBarButtonComponent extends ToolBarToolComponent {
|
|
|
175
175
|
private getButton;
|
|
176
176
|
private setTextDisplayMode;
|
|
177
177
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarButtonComponent, never>;
|
|
178
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonComponent, "kendo-toolbar-button", ["kendoToolBarButton"], { "showText": "showText"; "showIcon": "showIcon"; "text": "text"; "style": "style"; "className": "className"; "title": "title"; "disabled": "disabled"; "toggleable": "toggleable"; "look": "look"; "togglable": "togglable"; "selected": "selected"; "fillMode": "fillMode"; "themeColor": "themeColor"; "icon": "icon"; "iconClass": "iconClass"; "svgIcon": "svgIcon"; "imageUrl": "imageUrl"; }, { "click": "click"; "pointerdown": "pointerdown"; "selectedChange": "selectedChange"; }, never, never,
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonComponent, "kendo-toolbar-button", ["kendoToolBarButton"], { "showText": "showText"; "showIcon": "showIcon"; "text": "text"; "style": "style"; "className": "className"; "title": "title"; "disabled": "disabled"; "toggleable": "toggleable"; "look": "look"; "togglable": "togglable"; "selected": "selected"; "fillMode": "fillMode"; "themeColor": "themeColor"; "icon": "icon"; "iconClass": "iconClass"; "svgIcon": "svgIcon"; "imageUrl": "imageUrl"; }, { "click": "click"; "pointerdown": "pointerdown"; "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
179
179
|
}
|
|
@@ -90,5 +90,5 @@ export declare class ToolBarButtonGroupComponent extends ToolBarToolComponent {
|
|
|
90
90
|
getIconClasses(button: any): any;
|
|
91
91
|
private focusButton;
|
|
92
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarButtonGroupComponent, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonGroupComponent, "kendo-toolbar-buttongroup", ["kendoToolBarButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "look": "look"; }, {}, ["buttonComponents"], never,
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonGroupComponent, "kendo-toolbar-buttongroup", ["kendoToolBarButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "look": "look"; }, {}, ["buttonComponents"], never, true, never>;
|
|
94
94
|
}
|
|
@@ -36,7 +36,7 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
36
36
|
showIcon: DisplayMode;
|
|
37
37
|
/**
|
|
38
38
|
* Sets the text of the DropDownButton
|
|
39
|
-
* ([see example](
|
|
39
|
+
* ([see example](slug:controltypes_toolbar#toc-drop-down-buttons).
|
|
40
40
|
*/
|
|
41
41
|
set text(text: string);
|
|
42
42
|
get text(): string;
|
|
@@ -187,5 +187,5 @@ export declare class ToolBarDropDownButtonComponent extends ToolBarToolComponent
|
|
|
187
187
|
private focusButton;
|
|
188
188
|
private setTextDisplayMode;
|
|
189
189
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarDropDownButtonComponent, never>;
|
|
190
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarDropDownButtonComponent, "kendo-toolbar-dropdownbutton", ["kendoToolBarDropDownButton"], { "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"; }, { "itemClick": "itemClick"; "open": "open"; "close": "close"; }, never, never,
|
|
190
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarDropDownButtonComponent, "kendo-toolbar-dropdownbutton", ["kendoToolBarDropDownButton"], { "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"; }, { "itemClick": "itemClick"; "open": "open"; "close": "close"; }, never, never, true, never>;
|
|
191
191
|
}
|
|
@@ -27,5 +27,5 @@ export declare class ToolBarSeparatorComponent extends ToolBarToolComponent impl
|
|
|
27
27
|
handleKey(): boolean;
|
|
28
28
|
ngAfterViewInit(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSeparatorComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSeparatorComponent, "kendo-toolbar-separator", ["kendoToolBarSeparator"], {}, {}, never, never,
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSeparatorComponent, "kendo-toolbar-separator", ["kendoToolBarSeparator"], {}, {}, never, never, true, never>;
|
|
31
31
|
}
|
|
@@ -30,5 +30,5 @@ export declare class ToolBarSpacerComponent extends ToolBarToolComponent impleme
|
|
|
30
30
|
handleKey(): boolean;
|
|
31
31
|
ngAfterViewInit(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSpacerComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSpacerComponent, "kendo-toolbar-spacer", ["kendoToolBarSpacer"], {}, {}, never, never,
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSpacerComponent, "kendo-toolbar-spacer", ["kendoToolBarSpacer"], {}, {}, never, never, true, never>;
|
|
34
34
|
}
|
|
@@ -25,13 +25,13 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
25
25
|
*/
|
|
26
26
|
showIcon: DisplayMode;
|
|
27
27
|
/**
|
|
28
|
-
* Sets the text of the SplitButton ([see example](
|
|
28
|
+
* Sets the text of the SplitButton ([see example](slug:controltypes_toolbar#toc-split-buttons).
|
|
29
29
|
*/
|
|
30
30
|
set text(text: string);
|
|
31
31
|
get text(): string;
|
|
32
32
|
/**
|
|
33
33
|
* Defines the icon that will be rendered next to the button text
|
|
34
|
-
* ([see example](
|
|
34
|
+
* ([see example](slug:controltypes_toolbar#toc-split-buttons)).
|
|
35
35
|
*/
|
|
36
36
|
set icon(icon: string);
|
|
37
37
|
/**
|
|
@@ -192,5 +192,5 @@ export declare class ToolBarSplitButtonComponent extends ToolBarToolComponent im
|
|
|
192
192
|
private focusButton;
|
|
193
193
|
private setTextDisplayMode;
|
|
194
194
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarSplitButtonComponent, never>;
|
|
195
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSplitButtonComponent, "kendo-toolbar-splitbutton", ["kendoToolBarSplitButton"], { "showText": "showText"; "showIcon": "showIcon"; "text": "text"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "disabled": "disabled"; "popupSettings": "popupSettings"; "fillMode": "fillMode"; "themeColor": "themeColor"; "look": "look"; "buttonClass": "buttonClass"; "arrowButtonClass": "arrowButtonClass"; "arrowButtonIcon": "arrowButtonIcon"; "arrowButtonSvgIcon": "arrowButtonSvgIcon"; "textField": "textField"; "data": "data"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "open": "open"; "close": "close"; }, never, never,
|
|
195
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarSplitButtonComponent, "kendo-toolbar-splitbutton", ["kendoToolBarSplitButton"], { "showText": "showText"; "showIcon": "showIcon"; "text": "text"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "disabled": "disabled"; "popupSettings": "popupSettings"; "fillMode": "fillMode"; "themeColor": "themeColor"; "look": "look"; "buttonClass": "buttonClass"; "arrowButtonClass": "arrowButtonClass"; "arrowButtonIcon": "arrowButtonIcon"; "arrowButtonSvgIcon": "arrowButtonSvgIcon"; "textField": "textField"; "data": "data"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "open": "open"; "close": "close"; }, never, never, true, never>;
|
|
196
196
|
}
|
|
@@ -41,5 +41,5 @@ export declare class ToolBarToolComponent {
|
|
|
41
41
|
*/
|
|
42
42
|
handleKey(ev: KeyboardEvent): boolean;
|
|
43
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarToolComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarToolComponent, "toolbar-tool", never, { "responsive": "responsive"; }, {}, never, never,
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarToolComponent, "toolbar-tool", never, { "responsive": "responsive"; }, {}, never, never, true, never>;
|
|
45
45
|
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, ElementRef, Input, Output, EventEmitter, ViewChildren, QueryList } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
import * as i2 from "@progress/kendo-angular-buttons";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export class ToolBarButtonListComponent {
|
|
13
|
-
constructor() {
|
|
14
|
-
this.disabled = false;
|
|
15
|
-
this.fillMode = 'solid';
|
|
16
|
-
this.themeColor = 'base';
|
|
17
|
-
this.itemClick = new EventEmitter();
|
|
18
|
-
}
|
|
19
|
-
getText(dataItem) {
|
|
20
|
-
if (dataItem) {
|
|
21
|
-
return this.textField ? dataItem[this.textField] : dataItem.text || dataItem;
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
25
|
-
onClick(item, index) {
|
|
26
|
-
const dataItem = this.data[index];
|
|
27
|
-
if (item.click) {
|
|
28
|
-
item.click(dataItem);
|
|
29
|
-
}
|
|
30
|
-
this.itemClick.emit(dataItem);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
ToolBarButtonListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
-
ToolBarButtonListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolBarButtonListComponent, selector: "kendo-toolbar-buttonlist", inputs: { data: "data", textField: "textField", disabled: "disabled", fillMode: "fillMode", themeColor: "themeColor" }, outputs: { itemClick: "itemClick" }, viewQueries: [{ propertyName: "buttons", predicate: ["button"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
35
|
-
<button
|
|
36
|
-
#button
|
|
37
|
-
type="button"
|
|
38
|
-
tabindex="-1"
|
|
39
|
-
kendoButton
|
|
40
|
-
[style.padding-left.px]="16"
|
|
41
|
-
class="k-overflow-button"
|
|
42
|
-
*ngFor="let item of data; let i = index"
|
|
43
|
-
[disabled]="disabled || item.disabled"
|
|
44
|
-
[icon]="item.icon"
|
|
45
|
-
[iconClass]="item.iconClass"
|
|
46
|
-
[svgIcon]="item.svgIcon"
|
|
47
|
-
[imageUrl]="item.imageUrl"
|
|
48
|
-
[fillMode]="fillMode"
|
|
49
|
-
[themeColor]="fillMode ? themeColor : null"
|
|
50
|
-
(click)="onClick(item, i)"
|
|
51
|
-
>
|
|
52
|
-
{{ getText(item) }}
|
|
53
|
-
</button>
|
|
54
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolBarButtonListComponent, decorators: [{
|
|
56
|
-
type: Component,
|
|
57
|
-
args: [{
|
|
58
|
-
selector: 'kendo-toolbar-buttonlist',
|
|
59
|
-
template: `
|
|
60
|
-
<button
|
|
61
|
-
#button
|
|
62
|
-
type="button"
|
|
63
|
-
tabindex="-1"
|
|
64
|
-
kendoButton
|
|
65
|
-
[style.padding-left.px]="16"
|
|
66
|
-
class="k-overflow-button"
|
|
67
|
-
*ngFor="let item of data; let i = index"
|
|
68
|
-
[disabled]="disabled || item.disabled"
|
|
69
|
-
[icon]="item.icon"
|
|
70
|
-
[iconClass]="item.iconClass"
|
|
71
|
-
[svgIcon]="item.svgIcon"
|
|
72
|
-
[imageUrl]="item.imageUrl"
|
|
73
|
-
[fillMode]="fillMode"
|
|
74
|
-
[themeColor]="fillMode ? themeColor : null"
|
|
75
|
-
(click)="onClick(item, i)"
|
|
76
|
-
>
|
|
77
|
-
{{ getText(item) }}
|
|
78
|
-
</button>
|
|
79
|
-
`
|
|
80
|
-
}]
|
|
81
|
-
}], propDecorators: { data: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], textField: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], disabled: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}], fillMode: [{
|
|
88
|
-
type: Input
|
|
89
|
-
}], themeColor: [{
|
|
90
|
-
type: Input
|
|
91
|
-
}], itemClick: [{
|
|
92
|
-
type: Output
|
|
93
|
-
}], buttons: [{
|
|
94
|
-
type: ViewChildren,
|
|
95
|
-
args: ['button', { read: ElementRef }]
|
|
96
|
-
}] } });
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, EventEmitter, QueryList } from '@angular/core';
|
|
6
|
-
import { ButtonFillMode, ButtonThemeColor } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class ToolBarButtonListComponent {
|
|
12
|
-
data: any[];
|
|
13
|
-
textField: string;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
fillMode: ButtonFillMode;
|
|
16
|
-
themeColor: ButtonThemeColor;
|
|
17
|
-
itemClick: EventEmitter<any>;
|
|
18
|
-
buttons: QueryList<ElementRef>;
|
|
19
|
-
getText(dataItem: any): any;
|
|
20
|
-
onClick(item: any, index: number): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolBarButtonListComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolBarButtonListComponent, "kendo-toolbar-buttonlist", never, { "data": "data"; "textField": "textField"; "disabled": "disabled"; "fillMode": "fillMode"; "themeColor": "themeColor"; }, { "itemClick": "itemClick"; }, never, never, false, never>;
|
|
23
|
-
}
|