@progress/kendo-angular-buttons 17.0.0-develop.7 → 17.0.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.
- package/button/button.component.d.ts +3 -9
- package/buttongroup/buttongroup.component.d.ts +1 -1
- package/esm2020/button/button.component.mjs +6 -50
- package/esm2020/buttongroup/buttongroup.component.mjs +2 -2
- package/esm2020/dropdownbutton/dropdownbutton.component.mjs +1 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/splitbutton/splitbutton.component.mjs +1 -1
- package/fesm2015/progress-kendo-angular-buttons.mjs +12 -56
- package/fesm2020/progress-kendo-angular-buttons.mjs +12 -56
- package/package.json +6 -6
|
@@ -12,9 +12,8 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
/**
|
|
13
13
|
* Represents the Kendo UI Button component for Angular.
|
|
14
14
|
*
|
|
15
|
-
* As of package
|
|
16
|
-
*
|
|
17
|
-
* to avoid discrepancies between the behavior of the `ButtonComponent` and the native HTML Button element.
|
|
15
|
+
* As of package v17, the `span[kendoButton]` and `kendo-button` selectors are removed.
|
|
16
|
+
* Please use the `button[kendoButton]` selector only.
|
|
18
17
|
*/
|
|
19
18
|
export declare class ButtonComponent implements OnDestroy, AfterViewInit {
|
|
20
19
|
renderer: Renderer2;
|
|
@@ -115,10 +114,6 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
|
|
|
115
114
|
*/
|
|
116
115
|
set svgIcon(icon: SVGIcon);
|
|
117
116
|
get svgIcon(): SVGIcon;
|
|
118
|
-
/**
|
|
119
|
-
* @hidden
|
|
120
|
-
*/
|
|
121
|
-
role: string;
|
|
122
117
|
/**
|
|
123
118
|
* Fires each time the selected state of a toggleable button is changed.
|
|
124
119
|
*
|
|
@@ -148,7 +143,6 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
|
|
|
148
143
|
get classButton(): boolean;
|
|
149
144
|
get isToggleable(): boolean;
|
|
150
145
|
get iconButtonClass(): boolean;
|
|
151
|
-
get roleSetter(): string;
|
|
152
146
|
get classDisabled(): boolean;
|
|
153
147
|
get classActive(): boolean;
|
|
154
148
|
get getDirection(): string;
|
|
@@ -212,5 +206,5 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
|
|
|
212
206
|
private handleClasses;
|
|
213
207
|
private handleThemeColor;
|
|
214
208
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [null, null, { optional: true; }, null, null]>;
|
|
215
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kendoButton]
|
|
209
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kendoButton]", ["kendoButton"], { "arrowIcon": "arrowIcon"; "toggleable": "toggleable"; "togglable": "togglable"; "selected": "selected"; "tabIndex": "tabIndex"; "imageUrl": "imageUrl"; "iconClass": "iconClass"; "icon": "icon"; "disabled": "disabled"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "svgIcon": "svgIcon"; "primary": "primary"; "look": "look"; }, { "selectedChange": "selectedChange"; "click": "click"; }, never, ["*"], true, never>;
|
|
216
210
|
}
|
|
@@ -90,5 +90,5 @@ export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterCon
|
|
|
90
90
|
private handleSubs;
|
|
91
91
|
private focusHandler;
|
|
92
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "kendo-buttongroup", ["kendoButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "tabIndex": "tabIndex"; "navigable": "navigable"; }, { "navigate": "navigate"; }, ["buttons"], ["[kendoButton]
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "kendo-buttongroup", ["kendoButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "tabIndex": "tabIndex"; "navigable": "navigable"; }, { "navigate": "navigate"; }, ["buttons"], ["[kendoButton]"], true, never>;
|
|
94
94
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, Renderer2, Output, Optional, NgZone, isDevMode } from '@angular/core';
|
|
6
6
|
import { KendoButtonService } from './button.service';
|
|
7
|
-
import { isDocumentAvailable, isChanged, hasObservers,
|
|
7
|
+
import { isDocumentAvailable, isChanged, hasObservers, isSafari, isFirefox } from '@progress/kendo-angular-common';
|
|
8
8
|
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
9
9
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { Subscription } from 'rxjs';
|
|
@@ -16,9 +16,6 @@ import { NgIf, NgClass } from '@angular/common';
|
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
import * as i1 from "./button.service";
|
|
18
18
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
19
|
-
const SPAN_TAG_NAME = 'SPAN';
|
|
20
|
-
const BUTTON_TAG_NAME = 'BUTTON';
|
|
21
|
-
const KENDO_BUTTON_TAG_NAME = 'KENDO-BUTTON';
|
|
22
19
|
const DEFAULT_ROUNDED = 'medium';
|
|
23
20
|
const DEFAULT_SIZE = 'medium';
|
|
24
21
|
const DEFAULT_THEME_COLOR = 'base';
|
|
@@ -26,9 +23,8 @@ const DEFAULT_FILL_MODE = 'solid';
|
|
|
26
23
|
/**
|
|
27
24
|
* Represents the Kendo UI Button component for Angular.
|
|
28
25
|
*
|
|
29
|
-
* As of package
|
|
30
|
-
*
|
|
31
|
-
* to avoid discrepancies between the behavior of the `ButtonComponent` and the native HTML Button element.
|
|
26
|
+
* As of package v17, the `span[kendoButton]` and `kendo-button` selectors are removed.
|
|
27
|
+
* Please use the `button[kendoButton]` selector only.
|
|
32
28
|
*/
|
|
33
29
|
export class ButtonComponent {
|
|
34
30
|
constructor(element, renderer, service, localization, ngZone) {
|
|
@@ -47,10 +43,6 @@ export class ButtonComponent {
|
|
|
47
43
|
* @default false
|
|
48
44
|
*/
|
|
49
45
|
this.toggleable = false;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
this.role = 'button';
|
|
54
46
|
/**
|
|
55
47
|
* Fires each time the selected state of a toggleable button is changed.
|
|
56
48
|
*
|
|
@@ -235,10 +227,6 @@ export class ButtonComponent {
|
|
|
235
227
|
const hasIcon = this.icon || this.iconClass || this.imageUrl || this.svgIcon;
|
|
236
228
|
return hasIcon && !this.hasText;
|
|
237
229
|
}
|
|
238
|
-
get roleSetter() {
|
|
239
|
-
const isButtonElementAndRole = this.element.tagName === BUTTON_TAG_NAME && this.role === 'button';
|
|
240
|
-
return isButtonElementAndRole ? undefined : this.role;
|
|
241
|
-
}
|
|
242
230
|
get classDisabled() {
|
|
243
231
|
return this.isDisabled;
|
|
244
232
|
}
|
|
@@ -289,41 +277,14 @@ export class ButtonComponent {
|
|
|
289
277
|
return this.element;
|
|
290
278
|
}
|
|
291
279
|
ngOnInit() {
|
|
292
|
-
const elementTagName = this.element.tagName;
|
|
293
|
-
const isSpanOrKendoButton = elementTagName === SPAN_TAG_NAME || elementTagName === KENDO_BUTTON_TAG_NAME;
|
|
294
280
|
if (!this.element.hasAttribute('role') && this.togglable) {
|
|
295
281
|
this.toggleAriaPressed(this.toggleable);
|
|
296
282
|
}
|
|
297
|
-
if (this.role) {
|
|
298
|
-
const isButtonElementAndRole = elementTagName === BUTTON_TAG_NAME && this.role === 'button';
|
|
299
|
-
if (!isButtonElementAndRole) {
|
|
300
|
-
this.setAttribute('role', this.role);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
if (isSpanOrKendoButton && !this.isDisabled) {
|
|
304
|
-
this.tabIndex = 0;
|
|
305
|
-
}
|
|
306
|
-
if (isDevMode() && isSpanOrKendoButton) {
|
|
307
|
-
console.warn(`As of package v16, the "span[kendoButton]" and "kendo-button" selectors are deprecated and can
|
|
308
|
-
be removed in a future major version. We recommend using the "button[kendoButton]" selector
|
|
309
|
-
to avoid discrepancies between the behavior of the "ButtonComponent" and the native HTML Button element.`);
|
|
310
|
-
}
|
|
311
283
|
this.ngZone.runOutsideAngular(() => {
|
|
312
284
|
this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
|
|
313
|
-
this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
|
|
314
|
-
const isSpaceOrEnter = event.keyCode === Keys.Space || event.keyCode === Keys.Enter;
|
|
315
|
-
if (isSpanOrKendoButton && isSpaceOrEnter) {
|
|
316
|
-
this.ngZone.run(() => {
|
|
317
|
-
this.click.emit(event);
|
|
318
|
-
});
|
|
319
|
-
this._onButtonClick();
|
|
320
|
-
}
|
|
321
|
-
}));
|
|
322
285
|
this.subs.add(this.renderer.listen(this.element, 'mousedown', (event) => {
|
|
323
|
-
const elementTagName = this.element.tagName;
|
|
324
|
-
const isButton = elementTagName === BUTTON_TAG_NAME;
|
|
325
286
|
const isBrowserSafari = isDocumentAvailable() && isSafari(navigator.userAgent);
|
|
326
|
-
if (!this.isDisabled &&
|
|
287
|
+
if (!this.isDisabled && isBrowserSafari) {
|
|
327
288
|
event.preventDefault();
|
|
328
289
|
this.element.focus();
|
|
329
290
|
}
|
|
@@ -452,7 +413,7 @@ export class ButtonComponent {
|
|
|
452
413
|
}
|
|
453
414
|
}
|
|
454
415
|
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.KendoButtonService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
455
|
-
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]
|
|
416
|
+
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", primary: "primary", look: "look" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-button": "this.classButton", "class.k-toggle-button": "this.isToggleable", "class.k-icon-button": "this.iconButtonClass", "attr.aria-disabled": "this.classDisabled", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
456
417
|
LocalizationService,
|
|
457
418
|
{
|
|
458
419
|
provide: L10N_PREFIX,
|
|
@@ -488,7 +449,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
488
449
|
useValue: 'kendo.button'
|
|
489
450
|
}
|
|
490
451
|
],
|
|
491
|
-
selector: 'button[kendoButton]
|
|
452
|
+
selector: 'button[kendoButton]',
|
|
492
453
|
template: `
|
|
493
454
|
<kendo-icon-wrapper
|
|
494
455
|
*ngIf="icon || svgIcon"
|
|
@@ -541,8 +502,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
541
502
|
type: Input
|
|
542
503
|
}], svgIcon: [{
|
|
543
504
|
type: Input
|
|
544
|
-
}], role: [{
|
|
545
|
-
type: Input
|
|
546
505
|
}], selectedChange: [{
|
|
547
506
|
type: Output
|
|
548
507
|
}], click: [{
|
|
@@ -556,9 +515,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
556
515
|
}], iconButtonClass: [{
|
|
557
516
|
type: HostBinding,
|
|
558
517
|
args: ['class.k-icon-button']
|
|
559
|
-
}], roleSetter: [{
|
|
560
|
-
type: HostBinding,
|
|
561
|
-
args: ['attr.role']
|
|
562
518
|
}], classDisabled: [{
|
|
563
519
|
type: HostBinding,
|
|
564
520
|
args: ['attr.aria-disabled']
|
|
@@ -242,7 +242,7 @@ ButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
242
242
|
useValue: 'kendo.buttongroup'
|
|
243
243
|
}
|
|
244
244
|
], queries: [{ propertyName: "buttons", predicate: ButtonComponent }], exportAs: ["kendoButtonGroup"], usesOnChanges: true, ngImport: i0, template: `
|
|
245
|
-
<ng-content select="[kendoButton]
|
|
245
|
+
<ng-content select="[kendoButton]"></ng-content>
|
|
246
246
|
`, isInline: true });
|
|
247
247
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupComponent, decorators: [{
|
|
248
248
|
type: Component,
|
|
@@ -258,7 +258,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
258
258
|
],
|
|
259
259
|
selector: 'kendo-buttongroup',
|
|
260
260
|
template: `
|
|
261
|
-
<ng-content select="[kendoButton]
|
|
261
|
+
<ng-content select="[kendoButton]"></ng-content>
|
|
262
262
|
`,
|
|
263
263
|
standalone: true
|
|
264
264
|
}]
|
|
@@ -366,7 +366,7 @@ DropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
366
366
|
</kendo-button-list>
|
|
367
367
|
</ng-template>
|
|
368
368
|
<ng-container #container></ng-container>
|
|
369
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
369
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
|
|
370
370
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownButtonComponent, decorators: [{
|
|
371
371
|
type: Component,
|
|
372
372
|
args: [{
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-buttons',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '17.0.0-develop.
|
|
12
|
+
publishDate: 1729169934,
|
|
13
|
+
version: '17.0.0-develop.8',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -642,7 +642,7 @@ SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
642
642
|
</kendo-button-list>
|
|
643
643
|
</ng-template>
|
|
644
644
|
<ng-container #container></ng-container>
|
|
645
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
645
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
|
|
646
646
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
647
647
|
type: Component,
|
|
648
648
|
args: [{
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Injectable, EventEmitter, isDevMode, Component, Optional, Input, Output, HostBinding, HostListener, ContentChildren, Directive, InjectionToken, Inject, ElementRef, ViewContainerRef, ContentChild, ViewChild, forwardRef, NgModule } from '@angular/core';
|
|
7
|
-
import { isDocumentAvailable, isFirefox,
|
|
7
|
+
import { isDocumentAvailable, isFirefox, isSafari, isChanged, hasObservers, Keys, MultiTabStop, guid, TemplateContextDirective, isPresent as isPresent$1, EventsOutsideAngularDirective, anyChanged, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
8
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
9
9
|
import { caretAltDownIcon, xCircleIcon, moreVerticalIcon } from '@progress/kendo-svg-icons';
|
|
10
10
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
@@ -26,8 +26,8 @@ const packageMetadata = {
|
|
|
26
26
|
name: '@progress/kendo-angular-buttons',
|
|
27
27
|
productName: 'Kendo UI for Angular',
|
|
28
28
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
29
|
-
publishDate:
|
|
30
|
-
version: '17.0.0-develop.
|
|
29
|
+
publishDate: 1729169934,
|
|
30
|
+
version: '17.0.0-develop.8',
|
|
31
31
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -141,9 +141,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
141
141
|
type: Injectable
|
|
142
142
|
}] });
|
|
143
143
|
|
|
144
|
-
const SPAN_TAG_NAME = 'SPAN';
|
|
145
|
-
const BUTTON_TAG_NAME = 'BUTTON';
|
|
146
|
-
const KENDO_BUTTON_TAG_NAME = 'KENDO-BUTTON';
|
|
147
144
|
const DEFAULT_ROUNDED$3 = 'medium';
|
|
148
145
|
const DEFAULT_SIZE$2 = 'medium';
|
|
149
146
|
const DEFAULT_THEME_COLOR$2 = 'base';
|
|
@@ -151,9 +148,8 @@ const DEFAULT_FILL_MODE$3 = 'solid';
|
|
|
151
148
|
/**
|
|
152
149
|
* Represents the Kendo UI Button component for Angular.
|
|
153
150
|
*
|
|
154
|
-
* As of package
|
|
155
|
-
*
|
|
156
|
-
* to avoid discrepancies between the behavior of the `ButtonComponent` and the native HTML Button element.
|
|
151
|
+
* As of package v17, the `span[kendoButton]` and `kendo-button` selectors are removed.
|
|
152
|
+
* Please use the `button[kendoButton]` selector only.
|
|
157
153
|
*/
|
|
158
154
|
class ButtonComponent {
|
|
159
155
|
constructor(element, renderer, service, localization, ngZone) {
|
|
@@ -172,10 +168,6 @@ class ButtonComponent {
|
|
|
172
168
|
* @default false
|
|
173
169
|
*/
|
|
174
170
|
this.toggleable = false;
|
|
175
|
-
/**
|
|
176
|
-
* @hidden
|
|
177
|
-
*/
|
|
178
|
-
this.role = 'button';
|
|
179
171
|
/**
|
|
180
172
|
* Fires each time the selected state of a toggleable button is changed.
|
|
181
173
|
*
|
|
@@ -360,10 +352,6 @@ class ButtonComponent {
|
|
|
360
352
|
const hasIcon = this.icon || this.iconClass || this.imageUrl || this.svgIcon;
|
|
361
353
|
return hasIcon && !this.hasText;
|
|
362
354
|
}
|
|
363
|
-
get roleSetter() {
|
|
364
|
-
const isButtonElementAndRole = this.element.tagName === BUTTON_TAG_NAME && this.role === 'button';
|
|
365
|
-
return isButtonElementAndRole ? undefined : this.role;
|
|
366
|
-
}
|
|
367
355
|
get classDisabled() {
|
|
368
356
|
return this.isDisabled;
|
|
369
357
|
}
|
|
@@ -414,41 +402,14 @@ class ButtonComponent {
|
|
|
414
402
|
return this.element;
|
|
415
403
|
}
|
|
416
404
|
ngOnInit() {
|
|
417
|
-
const elementTagName = this.element.tagName;
|
|
418
|
-
const isSpanOrKendoButton = elementTagName === SPAN_TAG_NAME || elementTagName === KENDO_BUTTON_TAG_NAME;
|
|
419
405
|
if (!this.element.hasAttribute('role') && this.togglable) {
|
|
420
406
|
this.toggleAriaPressed(this.toggleable);
|
|
421
407
|
}
|
|
422
|
-
if (this.role) {
|
|
423
|
-
const isButtonElementAndRole = elementTagName === BUTTON_TAG_NAME && this.role === 'button';
|
|
424
|
-
if (!isButtonElementAndRole) {
|
|
425
|
-
this.setAttribute('role', this.role);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
if (isSpanOrKendoButton && !this.isDisabled) {
|
|
429
|
-
this.tabIndex = 0;
|
|
430
|
-
}
|
|
431
|
-
if (isDevMode() && isSpanOrKendoButton) {
|
|
432
|
-
console.warn(`As of package v16, the "span[kendoButton]" and "kendo-button" selectors are deprecated and can
|
|
433
|
-
be removed in a future major version. We recommend using the "button[kendoButton]" selector
|
|
434
|
-
to avoid discrepancies between the behavior of the "ButtonComponent" and the native HTML Button element.`);
|
|
435
|
-
}
|
|
436
408
|
this.ngZone.runOutsideAngular(() => {
|
|
437
409
|
this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
|
|
438
|
-
this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
|
|
439
|
-
const isSpaceOrEnter = event.keyCode === Keys.Space || event.keyCode === Keys.Enter;
|
|
440
|
-
if (isSpanOrKendoButton && isSpaceOrEnter) {
|
|
441
|
-
this.ngZone.run(() => {
|
|
442
|
-
this.click.emit(event);
|
|
443
|
-
});
|
|
444
|
-
this._onButtonClick();
|
|
445
|
-
}
|
|
446
|
-
}));
|
|
447
410
|
this.subs.add(this.renderer.listen(this.element, 'mousedown', (event) => {
|
|
448
|
-
const elementTagName = this.element.tagName;
|
|
449
|
-
const isButton = elementTagName === BUTTON_TAG_NAME;
|
|
450
411
|
const isBrowserSafari = isDocumentAvailable() && isSafari(navigator.userAgent);
|
|
451
|
-
if (!this.isDisabled &&
|
|
412
|
+
if (!this.isDisabled && isBrowserSafari) {
|
|
452
413
|
event.preventDefault();
|
|
453
414
|
this.element.focus();
|
|
454
415
|
}
|
|
@@ -577,7 +538,7 @@ class ButtonComponent {
|
|
|
577
538
|
}
|
|
578
539
|
}
|
|
579
540
|
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: KendoButtonService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
580
|
-
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]
|
|
541
|
+
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", primary: "primary", look: "look" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-button": "this.classButton", "class.k-toggle-button": "this.isToggleable", "class.k-icon-button": "this.iconButtonClass", "attr.aria-disabled": "this.classDisabled", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
581
542
|
LocalizationService,
|
|
582
543
|
{
|
|
583
544
|
provide: L10N_PREFIX,
|
|
@@ -613,7 +574,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
613
574
|
useValue: 'kendo.button'
|
|
614
575
|
}
|
|
615
576
|
],
|
|
616
|
-
selector: 'button[kendoButton]
|
|
577
|
+
selector: 'button[kendoButton]',
|
|
617
578
|
template: `
|
|
618
579
|
<kendo-icon-wrapper
|
|
619
580
|
*ngIf="icon || svgIcon"
|
|
@@ -668,8 +629,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
668
629
|
type: Input
|
|
669
630
|
}], svgIcon: [{
|
|
670
631
|
type: Input
|
|
671
|
-
}], role: [{
|
|
672
|
-
type: Input
|
|
673
632
|
}], selectedChange: [{
|
|
674
633
|
type: Output
|
|
675
634
|
}], click: [{
|
|
@@ -683,9 +642,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
683
642
|
}], iconButtonClass: [{
|
|
684
643
|
type: HostBinding,
|
|
685
644
|
args: ['class.k-icon-button']
|
|
686
|
-
}], roleSetter: [{
|
|
687
|
-
type: HostBinding,
|
|
688
|
-
args: ['attr.role']
|
|
689
645
|
}], classDisabled: [{
|
|
690
646
|
type: HostBinding,
|
|
691
647
|
args: ['attr.aria-disabled']
|
|
@@ -960,7 +916,7 @@ ButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
960
916
|
useValue: 'kendo.buttongroup'
|
|
961
917
|
}
|
|
962
918
|
], queries: [{ propertyName: "buttons", predicate: ButtonComponent }], exportAs: ["kendoButtonGroup"], usesOnChanges: true, ngImport: i0, template: `
|
|
963
|
-
<ng-content select="[kendoButton]
|
|
919
|
+
<ng-content select="[kendoButton]"></ng-content>
|
|
964
920
|
`, isInline: true });
|
|
965
921
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupComponent, decorators: [{
|
|
966
922
|
type: Component,
|
|
@@ -976,7 +932,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
976
932
|
],
|
|
977
933
|
selector: 'kendo-buttongroup',
|
|
978
934
|
template: `
|
|
979
|
-
<ng-content select="[kendoButton]
|
|
935
|
+
<ng-content select="[kendoButton]"></ng-content>
|
|
980
936
|
`,
|
|
981
937
|
standalone: true
|
|
982
938
|
}]
|
|
@@ -3013,7 +2969,7 @@ DropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
3013
2969
|
</kendo-button-list>
|
|
3014
2970
|
</ng-template>
|
|
3015
2971
|
<ng-container #container></ng-container>
|
|
3016
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
2972
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
|
|
3017
2973
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownButtonComponent, decorators: [{
|
|
3018
2974
|
type: Component,
|
|
3019
2975
|
args: [{
|
|
@@ -5074,7 +5030,7 @@ SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
5074
5030
|
</kendo-button-list>
|
|
5075
5031
|
</ng-template>
|
|
5076
5032
|
<ng-container #container></ng-container>
|
|
5077
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
5033
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
|
|
5078
5034
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
5079
5035
|
type: Component,
|
|
5080
5036
|
args: [{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Injectable, EventEmitter, isDevMode, Component, Optional, Input, Output, HostBinding, HostListener, ContentChildren, Directive, InjectionToken, Inject, ElementRef, ViewContainerRef, ContentChild, ViewChild, forwardRef, NgModule } from '@angular/core';
|
|
7
7
|
import { Subject, Subscription, fromEvent, merge } from 'rxjs';
|
|
8
|
-
import { isDocumentAvailable, isFirefox,
|
|
8
|
+
import { isDocumentAvailable, isFirefox, isSafari, isChanged, hasObservers, Keys, MultiTabStop, guid, TemplateContextDirective, isPresent as isPresent$1, EventsOutsideAngularDirective, anyChanged, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
9
9
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
10
10
|
import { caretAltDownIcon, xCircleIcon, moreVerticalIcon } from '@progress/kendo-svg-icons';
|
|
11
11
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
@@ -44,8 +44,8 @@ const packageMetadata = {
|
|
|
44
44
|
name: '@progress/kendo-angular-buttons',
|
|
45
45
|
productName: 'Kendo UI for Angular',
|
|
46
46
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
47
|
-
publishDate:
|
|
48
|
-
version: '17.0.0-develop.
|
|
47
|
+
publishDate: 1729169934,
|
|
48
|
+
version: '17.0.0-develop.8',
|
|
49
49
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -141,9 +141,6 @@ const getThemeColorClasses = (componentType, prevFillMode, fillMode, previousVal
|
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
const SPAN_TAG_NAME = 'SPAN';
|
|
145
|
-
const BUTTON_TAG_NAME = 'BUTTON';
|
|
146
|
-
const KENDO_BUTTON_TAG_NAME = 'KENDO-BUTTON';
|
|
147
144
|
const DEFAULT_ROUNDED$3 = 'medium';
|
|
148
145
|
const DEFAULT_SIZE$2 = 'medium';
|
|
149
146
|
const DEFAULT_THEME_COLOR$2 = 'base';
|
|
@@ -151,9 +148,8 @@ const DEFAULT_FILL_MODE$3 = 'solid';
|
|
|
151
148
|
/**
|
|
152
149
|
* Represents the Kendo UI Button component for Angular.
|
|
153
150
|
*
|
|
154
|
-
* As of package
|
|
155
|
-
*
|
|
156
|
-
* to avoid discrepancies between the behavior of the `ButtonComponent` and the native HTML Button element.
|
|
151
|
+
* As of package v17, the `span[kendoButton]` and `kendo-button` selectors are removed.
|
|
152
|
+
* Please use the `button[kendoButton]` selector only.
|
|
157
153
|
*/
|
|
158
154
|
class ButtonComponent {
|
|
159
155
|
constructor(element, renderer, service, localization, ngZone) {
|
|
@@ -172,10 +168,6 @@ class ButtonComponent {
|
|
|
172
168
|
* @default false
|
|
173
169
|
*/
|
|
174
170
|
this.toggleable = false;
|
|
175
|
-
/**
|
|
176
|
-
* @hidden
|
|
177
|
-
*/
|
|
178
|
-
this.role = 'button';
|
|
179
171
|
/**
|
|
180
172
|
* Fires each time the selected state of a toggleable button is changed.
|
|
181
173
|
*
|
|
@@ -360,10 +352,6 @@ class ButtonComponent {
|
|
|
360
352
|
const hasIcon = this.icon || this.iconClass || this.imageUrl || this.svgIcon;
|
|
361
353
|
return hasIcon && !this.hasText;
|
|
362
354
|
}
|
|
363
|
-
get roleSetter() {
|
|
364
|
-
const isButtonElementAndRole = this.element.tagName === BUTTON_TAG_NAME && this.role === 'button';
|
|
365
|
-
return isButtonElementAndRole ? undefined : this.role;
|
|
366
|
-
}
|
|
367
355
|
get classDisabled() {
|
|
368
356
|
return this.isDisabled;
|
|
369
357
|
}
|
|
@@ -414,41 +402,14 @@ class ButtonComponent {
|
|
|
414
402
|
return this.element;
|
|
415
403
|
}
|
|
416
404
|
ngOnInit() {
|
|
417
|
-
const elementTagName = this.element.tagName;
|
|
418
|
-
const isSpanOrKendoButton = elementTagName === SPAN_TAG_NAME || elementTagName === KENDO_BUTTON_TAG_NAME;
|
|
419
405
|
if (!this.element.hasAttribute('role') && this.togglable) {
|
|
420
406
|
this.toggleAriaPressed(this.toggleable);
|
|
421
407
|
}
|
|
422
|
-
if (this.role) {
|
|
423
|
-
const isButtonElementAndRole = elementTagName === BUTTON_TAG_NAME && this.role === 'button';
|
|
424
|
-
if (!isButtonElementAndRole) {
|
|
425
|
-
this.setAttribute('role', this.role);
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
if (isSpanOrKendoButton && !this.isDisabled) {
|
|
429
|
-
this.tabIndex = 0;
|
|
430
|
-
}
|
|
431
|
-
if (isDevMode() && isSpanOrKendoButton) {
|
|
432
|
-
console.warn(`As of package v16, the "span[kendoButton]" and "kendo-button" selectors are deprecated and can
|
|
433
|
-
be removed in a future major version. We recommend using the "button[kendoButton]" selector
|
|
434
|
-
to avoid discrepancies between the behavior of the "ButtonComponent" and the native HTML Button element.`);
|
|
435
|
-
}
|
|
436
408
|
this.ngZone.runOutsideAngular(() => {
|
|
437
409
|
this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
|
|
438
|
-
this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
|
|
439
|
-
const isSpaceOrEnter = event.keyCode === Keys.Space || event.keyCode === Keys.Enter;
|
|
440
|
-
if (isSpanOrKendoButton && isSpaceOrEnter) {
|
|
441
|
-
this.ngZone.run(() => {
|
|
442
|
-
this.click.emit(event);
|
|
443
|
-
});
|
|
444
|
-
this._onButtonClick();
|
|
445
|
-
}
|
|
446
|
-
}));
|
|
447
410
|
this.subs.add(this.renderer.listen(this.element, 'mousedown', (event) => {
|
|
448
|
-
const elementTagName = this.element.tagName;
|
|
449
|
-
const isButton = elementTagName === BUTTON_TAG_NAME;
|
|
450
411
|
const isBrowserSafari = isDocumentAvailable() && isSafari(navigator.userAgent);
|
|
451
|
-
if (!this.isDisabled &&
|
|
412
|
+
if (!this.isDisabled && isBrowserSafari) {
|
|
452
413
|
event.preventDefault();
|
|
453
414
|
this.element.focus();
|
|
454
415
|
}
|
|
@@ -577,7 +538,7 @@ class ButtonComponent {
|
|
|
577
538
|
}
|
|
578
539
|
}
|
|
579
540
|
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: KendoButtonService, optional: true }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
580
|
-
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]
|
|
541
|
+
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", primary: "primary", look: "look" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-button": "this.classButton", "class.k-toggle-button": "this.isToggleable", "class.k-icon-button": "this.iconButtonClass", "attr.aria-disabled": "this.classDisabled", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
581
542
|
LocalizationService,
|
|
582
543
|
{
|
|
583
544
|
provide: L10N_PREFIX,
|
|
@@ -613,7 +574,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
613
574
|
useValue: 'kendo.button'
|
|
614
575
|
}
|
|
615
576
|
],
|
|
616
|
-
selector: 'button[kendoButton]
|
|
577
|
+
selector: 'button[kendoButton]',
|
|
617
578
|
template: `
|
|
618
579
|
<kendo-icon-wrapper
|
|
619
580
|
*ngIf="icon || svgIcon"
|
|
@@ -666,8 +627,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
666
627
|
type: Input
|
|
667
628
|
}], svgIcon: [{
|
|
668
629
|
type: Input
|
|
669
|
-
}], role: [{
|
|
670
|
-
type: Input
|
|
671
630
|
}], selectedChange: [{
|
|
672
631
|
type: Output
|
|
673
632
|
}], click: [{
|
|
@@ -681,9 +640,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
681
640
|
}], iconButtonClass: [{
|
|
682
641
|
type: HostBinding,
|
|
683
642
|
args: ['class.k-icon-button']
|
|
684
|
-
}], roleSetter: [{
|
|
685
|
-
type: HostBinding,
|
|
686
|
-
args: ['attr.role']
|
|
687
643
|
}], classDisabled: [{
|
|
688
644
|
type: HostBinding,
|
|
689
645
|
args: ['attr.aria-disabled']
|
|
@@ -958,7 +914,7 @@ ButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
958
914
|
useValue: 'kendo.buttongroup'
|
|
959
915
|
}
|
|
960
916
|
], queries: [{ propertyName: "buttons", predicate: ButtonComponent }], exportAs: ["kendoButtonGroup"], usesOnChanges: true, ngImport: i0, template: `
|
|
961
|
-
<ng-content select="[kendoButton]
|
|
917
|
+
<ng-content select="[kendoButton]"></ng-content>
|
|
962
918
|
`, isInline: true });
|
|
963
919
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupComponent, decorators: [{
|
|
964
920
|
type: Component,
|
|
@@ -974,7 +930,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
974
930
|
],
|
|
975
931
|
selector: 'kendo-buttongroup',
|
|
976
932
|
template: `
|
|
977
|
-
<ng-content select="[kendoButton]
|
|
933
|
+
<ng-content select="[kendoButton]"></ng-content>
|
|
978
934
|
`,
|
|
979
935
|
standalone: true
|
|
980
936
|
}]
|
|
@@ -3006,7 +2962,7 @@ DropDownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
3006
2962
|
</kendo-button-list>
|
|
3007
2963
|
</ng-template>
|
|
3008
2964
|
<ng-container #container></ng-container>
|
|
3009
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
2965
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
|
|
3010
2966
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropDownButtonComponent, decorators: [{
|
|
3011
2967
|
type: Component,
|
|
3012
2968
|
args: [{
|
|
@@ -5061,7 +5017,7 @@ SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
5061
5017
|
</kendo-button-list>
|
|
5062
5018
|
</ng-template>
|
|
5063
5019
|
<ng-container #container></ng-container>
|
|
5064
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]
|
|
5020
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
|
|
5065
5021
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
5066
5022
|
type: Component,
|
|
5067
5023
|
args: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-buttons",
|
|
3
|
-
"version": "17.0.0-develop.
|
|
3
|
+
"version": "17.0.0-develop.8",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@angular/core": "15 - 18",
|
|
26
26
|
"@angular/platform-browser": "15 - 18",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-common": "17.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-l10n": "17.0.0-develop.
|
|
30
|
-
"@progress/kendo-angular-popup": "17.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-icons": "17.0.0-develop.
|
|
28
|
+
"@progress/kendo-angular-common": "17.0.0-develop.8",
|
|
29
|
+
"@progress/kendo-angular-l10n": "17.0.0-develop.8",
|
|
30
|
+
"@progress/kendo-angular-popup": "17.0.0-develop.8",
|
|
31
|
+
"@progress/kendo-angular-icons": "17.0.0-develop.8",
|
|
32
32
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
|
-
"@progress/kendo-angular-schematics": "17.0.0-develop.
|
|
36
|
+
"@progress/kendo-angular-schematics": "17.0.0-develop.8",
|
|
37
37
|
"@progress/kendo-common": "^0.2.1"
|
|
38
38
|
},
|
|
39
39
|
"schematics": "./schematics/collection.json",
|