@progress/kendo-angular-buttons 25.0.0-develop.3 → 25.0.0-develop.30
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.
|
@@ -13,6 +13,7 @@ exports.writeInstructionMarker = writeInstructionMarker;
|
|
|
13
13
|
exports.isApiChangeTarget = isApiChangeTarget;
|
|
14
14
|
exports.isRenderingChangeTarget = isRenderingChangeTarget;
|
|
15
15
|
exports.executeCodemodTest = executeCodemodTest;
|
|
16
|
+
exports.removeAttributeFromDirectiveHost = removeAttributeFromDirectiveHost;
|
|
16
17
|
const tslib_1 = require("tslib");
|
|
17
18
|
/// <reference types="node" />
|
|
18
19
|
const fs = tslib_1.__importStar(require("fs"));
|
|
@@ -1486,3 +1487,17 @@ function executeCodemodTest(codemod, testDir, exampleFileName = 'example.ts', ex
|
|
|
1486
1487
|
catch { }
|
|
1487
1488
|
}
|
|
1488
1489
|
}
|
|
1490
|
+
function removeAttributeFromDirectiveHost(templateContent, directiveAttr, attrToRemove) {
|
|
1491
|
+
const escapedDirective = directiveAttr.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1492
|
+
const escapedAttr = attrToRemove.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
1493
|
+
const boundPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1494
|
+
const staticPattern = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*${escapedDirective}[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
1495
|
+
// Also match when the attribute appears before the directive
|
|
1496
|
+
const boundPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1497
|
+
const staticPatternBefore = new RegExp(`(<[a-zA-Z][a-zA-Z0-9-]*[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*${escapedDirective}[^>]*?>)`, 'gi');
|
|
1498
|
+
let result = templateContent.replace(boundPattern, '$1$3');
|
|
1499
|
+
result = result.replace(staticPattern, '$1$3');
|
|
1500
|
+
result = result.replace(boundPatternBefore, '$1$3');
|
|
1501
|
+
result = result.replace(staticPatternBefore, '$1$3');
|
|
1502
|
+
return result;
|
|
1503
|
+
}
|
|
@@ -6,7 +6,7 @@ import * as i0 from '@angular/core';
|
|
|
6
6
|
import { Injectable, isDevMode, EventEmitter, signal, HostListener, HostBinding, Output, Input, Optional, ChangeDetectionStrategy, Component, ContentChildren, Directive, InjectionToken, Inject, ElementRef, ViewContainerRef, ViewChild, ContentChild, forwardRef, SkipSelf, afterNextRender, NgModule } from '@angular/core';
|
|
7
7
|
import { Subject, Subscription, fromEvent, merge, of, Observable, from } from 'rxjs';
|
|
8
8
|
import * as i12 from '@progress/kendo-angular-common';
|
|
9
|
-
import { isDocumentAvailable, isFirefox, isSafari, hasObservers, KENDO_WEBMCP_HOST, isChanged, normalizeKeys, Keys, TemplateContextDirective, MultiTabStop, guid, parseCSSClassNames, isPresent as isPresent$1, EventsOutsideAngularDirective, replaceMessagePlaceholder, anyChanged, PreventableEvent as PreventableEvent$1, ResizeSensorComponent, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
9
|
+
import { isDocumentAvailable, isFirefox, isSafari, hasObservers, KENDO_WEBMCP_HOST, provideComponentName, isChanged, normalizeKeys, Keys, TemplateContextDirective, MultiTabStop, guid, parseCSSClassNames, isPresent as isPresent$1, EventsOutsideAngularDirective, replaceMessagePlaceholder, anyChanged, PreventableEvent as PreventableEvent$1, ResizeSensorComponent, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
10
10
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
11
11
|
import { chevronDownIcon, xCircleIcon, moreVerticalIcon, microphoneIcon, stopIcon, pasteSparkleIcon } from '@progress/kendo-svg-icons';
|
|
12
12
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
@@ -34,10 +34,10 @@ class KendoButtonService {
|
|
|
34
34
|
click(button) {
|
|
35
35
|
this.buttonClicked.next(button);
|
|
36
36
|
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
38
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: KendoButtonService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: KendoButtonService });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: KendoButtonService, decorators: [{
|
|
41
41
|
type: Injectable
|
|
42
42
|
}] });
|
|
43
43
|
|
|
@@ -49,8 +49,8 @@ const packageMetadata = {
|
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCode: 'KENDOUIANGULAR',
|
|
51
51
|
productCodes: ['KENDOUIANGULAR'],
|
|
52
|
-
publishDate:
|
|
53
|
-
version: '25.0.0-develop.
|
|
52
|
+
publishDate: 1786449733,
|
|
53
|
+
version: '25.0.0-develop.30',
|
|
54
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -544,8 +544,8 @@ class ButtonComponent {
|
|
|
544
544
|
this.renderer.addClass(elem, themeColorClass.toAdd);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
548
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
547
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", 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 });
|
|
548
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton]", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconPosition: "iconPosition", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
549
549
|
LocalizationService,
|
|
550
550
|
{
|
|
551
551
|
provide: L10N_PREFIX,
|
|
@@ -554,7 +554,8 @@ class ButtonComponent {
|
|
|
554
554
|
{
|
|
555
555
|
provide: KENDO_WEBMCP_HOST,
|
|
556
556
|
useExisting: ButtonComponent
|
|
557
|
-
}
|
|
557
|
+
},
|
|
558
|
+
provideComponentName('button')
|
|
558
559
|
], exportAs: ["kendoButton"], ngImport: i0, template: `
|
|
559
560
|
<ng-template #iconTemplate>
|
|
560
561
|
@if (icon || svgIcon) {
|
|
@@ -596,7 +597,7 @@ class ButtonComponent {
|
|
|
596
597
|
|
|
597
598
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
598
599
|
}
|
|
599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
600
601
|
type: Component,
|
|
601
602
|
args: [{
|
|
602
603
|
selector: 'button[kendoButton]',
|
|
@@ -611,7 +612,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
611
612
|
{
|
|
612
613
|
provide: KENDO_WEBMCP_HOST,
|
|
613
614
|
useExisting: ButtonComponent
|
|
614
|
-
}
|
|
615
|
+
},
|
|
616
|
+
provideComponentName('button')
|
|
615
617
|
],
|
|
616
618
|
template: `
|
|
617
619
|
<ng-template #iconTemplate>
|
|
@@ -988,19 +990,20 @@ class ButtonGroupComponent {
|
|
|
988
990
|
return i === index;
|
|
989
991
|
}));
|
|
990
992
|
};
|
|
991
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
992
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
993
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonGroupComponent, deps: [{ token: KendoButtonService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
994
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: ButtonGroupComponent, isStandalone: true, selector: "kendo-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", tabIndex: "tabIndex", navigable: "navigable" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-button-group": "this.wrapperClasses", "class.k-disabled": "this.disabledClass", "class.k-button-group-stretched": "this.stretchedClass", "attr.role": "this.role", "attr.dir": "this.dir", "attr.aria-disabled": "this.ariaDisabled", "style.width": "this.wrapperWidth", "attr.tabindex": "this.wrapperTabIndex" } }, providers: [
|
|
993
995
|
KendoButtonService,
|
|
994
996
|
LocalizationService,
|
|
995
997
|
{
|
|
996
998
|
provide: L10N_PREFIX,
|
|
997
999
|
useValue: 'kendo.buttongroup'
|
|
998
|
-
}
|
|
1000
|
+
},
|
|
1001
|
+
provideComponentName('buttongroup')
|
|
999
1002
|
], queries: [{ propertyName: "buttons", predicate: ButtonComponent }], exportAs: ["kendoButtonGroup"], usesOnChanges: true, ngImport: i0, template: `
|
|
1000
1003
|
<ng-content select="[kendoButton]"></ng-content>
|
|
1001
1004
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1002
1005
|
}
|
|
1003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1006
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonGroupComponent, decorators: [{
|
|
1004
1007
|
type: Component,
|
|
1005
1008
|
args: [{
|
|
1006
1009
|
selector: 'kendo-buttongroup',
|
|
@@ -1012,7 +1015,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1012
1015
|
{
|
|
1013
1016
|
provide: L10N_PREFIX,
|
|
1014
1017
|
useValue: 'kendo.buttongroup'
|
|
1015
|
-
}
|
|
1018
|
+
},
|
|
1019
|
+
provideComponentName('buttongroup')
|
|
1016
1020
|
],
|
|
1017
1021
|
template: `
|
|
1018
1022
|
<ng-content select="[kendoButton]"></ng-content>
|
|
@@ -1398,13 +1402,14 @@ class ChipComponent {
|
|
|
1398
1402
|
this.renderer.setAttribute(this.element.nativeElement, 'aria-pressed', `${value}`);
|
|
1399
1403
|
}
|
|
1400
1404
|
}
|
|
1401
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1402
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1405
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ChipComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1406
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: ChipComponent, isStandalone: true, selector: "kendo-chip", inputs: { label: "label", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", avatarSettings: "avatarSettings", selected: "selected", removable: "removable", removeIcon: "removeIcon", removeSvgIcon: "removeSvgIcon", hasMenu: "hasMenu", menuIcon: "menuIcon", menuSvgIcon: "menuSvgIcon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor" }, outputs: { remove: "remove", menuToggle: "menuToggle", contentClick: "contentClick" }, host: { properties: { "attr.tabindex": "this.tabIndex", "class.k-chip": "this.hostClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-selected": "this.selectedClass", "class.k-focus": "this.focusedClass", "attr.dir": "this.direction" } }, providers: [
|
|
1403
1407
|
LocalizationService,
|
|
1404
1408
|
{
|
|
1405
1409
|
provide: L10N_PREFIX,
|
|
1406
1410
|
useValue: 'kendo.chip'
|
|
1407
|
-
}
|
|
1411
|
+
},
|
|
1412
|
+
provideComponentName('chip')
|
|
1408
1413
|
], ngImport: i0, template: `
|
|
1409
1414
|
@if (icon || svgIcon) {
|
|
1410
1415
|
<kendo-icon-wrapper
|
|
@@ -1472,7 +1477,7 @@ class ChipComponent {
|
|
|
1472
1477
|
}
|
|
1473
1478
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1474
1479
|
}
|
|
1475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ChipComponent, decorators: [{
|
|
1476
1481
|
type: Component,
|
|
1477
1482
|
args: [{
|
|
1478
1483
|
selector: 'kendo-chip',
|
|
@@ -1548,7 +1553,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1548
1553
|
{
|
|
1549
1554
|
provide: L10N_PREFIX,
|
|
1550
1555
|
useValue: 'kendo.chip'
|
|
1551
|
-
}
|
|
1556
|
+
},
|
|
1557
|
+
provideComponentName('chip')
|
|
1552
1558
|
],
|
|
1553
1559
|
standalone: true,
|
|
1554
1560
|
imports: [NgStyle, IconWrapperComponent]
|
|
@@ -1893,8 +1899,8 @@ class ChipListComponent {
|
|
|
1893
1899
|
chip.sizeIsSet = false;
|
|
1894
1900
|
}
|
|
1895
1901
|
}
|
|
1896
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1897
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1902
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ChipListComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1903
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: ChipListComponent, isStandalone: true, selector: "kendo-chiplist, kendo-chip-list", inputs: { orientation: "orientation", selection: "selection", size: "size", role: "role", navigable: "navigable" }, outputs: { selectedChange: "selectedChange", remove: "remove" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-chip-list": "this.hostClass", "attr.aria-orientation": "this.orientation", "attr.dir": "this.direction", "attr.aria-multiselectable": "this.multiple", "attr.role": "this.role" } }, providers: [
|
|
1898
1904
|
LocalizationService,
|
|
1899
1905
|
{
|
|
1900
1906
|
provide: L10N_PREFIX,
|
|
@@ -1904,7 +1910,7 @@ class ChipListComponent {
|
|
|
1904
1910
|
<ng-content></ng-content>
|
|
1905
1911
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1906
1912
|
}
|
|
1907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ChipListComponent, decorators: [{
|
|
1908
1914
|
type: Component,
|
|
1909
1915
|
args: [{
|
|
1910
1916
|
selector: 'kendo-chiplist, kendo-chip-list',
|
|
@@ -1989,10 +1995,10 @@ class ButtonItemTemplateDirective {
|
|
|
1989
1995
|
constructor(templateRef) {
|
|
1990
1996
|
this.templateRef = templateRef;
|
|
1991
1997
|
}
|
|
1992
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1993
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1998
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1999
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: ButtonItemTemplateDirective, isStandalone: true, selector: "[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]", ngImport: i0 });
|
|
1994
2000
|
}
|
|
1995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonItemTemplateDirective, decorators: [{
|
|
1996
2002
|
type: Directive,
|
|
1997
2003
|
args: [{
|
|
1998
2004
|
selector: '[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]',
|
|
@@ -2026,10 +2032,10 @@ class FocusService {
|
|
|
2026
2032
|
this.focusedIndex = index;
|
|
2027
2033
|
this.onFocus.emit(index);
|
|
2028
2034
|
}
|
|
2029
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2030
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2035
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FocusService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2036
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FocusService });
|
|
2031
2037
|
}
|
|
2032
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FocusService, decorators: [{
|
|
2033
2039
|
type: Injectable
|
|
2034
2040
|
}] });
|
|
2035
2041
|
|
|
@@ -2155,10 +2161,10 @@ class NavigationService {
|
|
|
2155
2161
|
return args.current !== args.end ? args.current + args.step : args.end;
|
|
2156
2162
|
}
|
|
2157
2163
|
}
|
|
2158
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2159
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, deps: [{ token: NAVIGATION_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2165
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService });
|
|
2160
2166
|
}
|
|
2161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NavigationService, decorators: [{
|
|
2162
2168
|
type: Injectable
|
|
2163
2169
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2164
2170
|
type: Inject,
|
|
@@ -2171,10 +2177,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
2171
2177
|
class PopupContainerService {
|
|
2172
2178
|
container;
|
|
2173
2179
|
template;
|
|
2174
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2175
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PopupContainerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2181
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PopupContainerService });
|
|
2176
2182
|
}
|
|
2177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PopupContainerService, decorators: [{
|
|
2178
2184
|
type: Injectable
|
|
2179
2185
|
}] });
|
|
2180
2186
|
|
|
@@ -2223,10 +2229,10 @@ class FocusableDirective {
|
|
|
2223
2229
|
}
|
|
2224
2230
|
}));
|
|
2225
2231
|
}
|
|
2226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2227
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2232
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FocusableDirective, deps: [{ token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2233
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FocusableDirective, isStandalone: true, selector: "[kendoButtonFocusable]", inputs: { index: "index" }, ngImport: i0 });
|
|
2228
2234
|
}
|
|
2229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
2230
2236
|
type: Directive,
|
|
2231
2237
|
args: [{
|
|
2232
2238
|
selector: '[kendoButtonFocusable]',
|
|
@@ -2275,8 +2281,8 @@ class ListComponent {
|
|
|
2275
2281
|
onBlur() {
|
|
2276
2282
|
this.onItemBlur.emit();
|
|
2277
2283
|
}
|
|
2278
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2279
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2284
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2285
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: ListComponent, isStandalone: true, selector: "kendo-button-list", inputs: { data: "data", textField: "textField", itemTemplate: "itemTemplate", size: "size" }, outputs: { onItemClick: "onItemClick", onItemBlur: "onItemBlur" }, ngImport: i0, template: `
|
|
2280
2286
|
<ul class="k-menu-group" role="list" [ngClass]="sizeClass">
|
|
2281
2287
|
@for (dataItem of data; track dataItem; let index = $index; let isFirst = $first; let isLast = $last) {
|
|
2282
2288
|
<li kendoButtonFocusable
|
|
@@ -2330,7 +2336,7 @@ class ListComponent {
|
|
|
2330
2336
|
</ul>
|
|
2331
2337
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoButtonFocusable]", inputs: ["index"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
2332
2338
|
}
|
|
2333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ListComponent, decorators: [{
|
|
2334
2340
|
type: Component,
|
|
2335
2341
|
args: [{
|
|
2336
2342
|
selector: 'kendo-button-list',
|
|
@@ -2420,7 +2426,7 @@ class ListButton extends MultiTabStop {
|
|
|
2420
2426
|
buttonId = guid();
|
|
2421
2427
|
_data;
|
|
2422
2428
|
_open = signal(false, ...(ngDevMode ? [{ debugName: "_open" }] : []));
|
|
2423
|
-
_disabled = false;
|
|
2429
|
+
_disabled = signal(false, ...(ngDevMode ? [{ debugName: "_disabled" }] : []));
|
|
2424
2430
|
_active = signal(false, ...(ngDevMode ? [{ debugName: "_active" }] : []));
|
|
2425
2431
|
_popupSettings = { animate: true, popupClass: '' };
|
|
2426
2432
|
_isFocused = false;
|
|
@@ -2443,10 +2449,10 @@ class ListButton extends MultiTabStop {
|
|
|
2443
2449
|
if (value && this.openState) {
|
|
2444
2450
|
this.openState = false;
|
|
2445
2451
|
}
|
|
2446
|
-
this._disabled
|
|
2452
|
+
this._disabled.set(value);
|
|
2447
2453
|
}
|
|
2448
2454
|
get disabled() {
|
|
2449
|
-
return this._disabled;
|
|
2455
|
+
return this._disabled();
|
|
2450
2456
|
}
|
|
2451
2457
|
/**
|
|
2452
2458
|
* Specifies the [`tabIndex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
@@ -2578,7 +2584,7 @@ class ListButton extends MultiTabStop {
|
|
|
2578
2584
|
* @hidden
|
|
2579
2585
|
*/
|
|
2580
2586
|
togglePopupVisibility() {
|
|
2581
|
-
if (this._disabled) {
|
|
2587
|
+
if (this._disabled()) {
|
|
2582
2588
|
return;
|
|
2583
2589
|
}
|
|
2584
2590
|
this._toggle(!this.openState, true);
|
|
@@ -2662,7 +2668,7 @@ class ListButton extends MultiTabStop {
|
|
|
2662
2668
|
* @hidden
|
|
2663
2669
|
*/
|
|
2664
2670
|
keyHandler(event, keyEvent, isHost) {
|
|
2665
|
-
if (this._disabled) {
|
|
2671
|
+
if (this._disabled()) {
|
|
2666
2672
|
return;
|
|
2667
2673
|
}
|
|
2668
2674
|
const eventData = event;
|
|
@@ -2729,7 +2735,7 @@ class ListButton extends MultiTabStop {
|
|
|
2729
2735
|
this.blurWrapper();
|
|
2730
2736
|
}
|
|
2731
2737
|
onNavigationEnterUp(_args) {
|
|
2732
|
-
if (!this._disabled && !this.openState) {
|
|
2738
|
+
if (!this._disabled() && !this.openState) {
|
|
2733
2739
|
this._active.set(false);
|
|
2734
2740
|
}
|
|
2735
2741
|
if (this.openState) {
|
|
@@ -2747,7 +2753,7 @@ class ListButton extends MultiTabStop {
|
|
|
2747
2753
|
}
|
|
2748
2754
|
}
|
|
2749
2755
|
onNavigationOpen() {
|
|
2750
|
-
if (!this._disabled && !this.openState) {
|
|
2756
|
+
if (!this._disabled() && !this.openState) {
|
|
2751
2757
|
this.togglePopupVisibility();
|
|
2752
2758
|
}
|
|
2753
2759
|
}
|
|
@@ -2810,10 +2816,10 @@ class ListButton extends MultiTabStop {
|
|
|
2810
2816
|
this.isClosePrevented = false;
|
|
2811
2817
|
}
|
|
2812
2818
|
}
|
|
2813
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2814
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2819
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ListButton, deps: [{ token: FocusService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PopupContainerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2820
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: ListButton, isStandalone: true, selector: "ng-component", inputs: { disabled: "disabled", tabIndex: "tabIndex", buttonClass: "buttonClass", popupSettings: "popupSettings" }, outputs: { open: "open", close: "close", escape: "escape" }, viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, read: ElementRef }, { propertyName: "buttonList", first: true, predicate: ["buttonList"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2815
2821
|
}
|
|
2816
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ListButton, decorators: [{
|
|
2817
2823
|
type: Component,
|
|
2818
2824
|
args: [{
|
|
2819
2825
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2979,7 +2985,7 @@ class DropDownButtonComponent extends ListButton {
|
|
|
2979
2985
|
*/
|
|
2980
2986
|
onBlur = new EventEmitter();
|
|
2981
2987
|
get focused() {
|
|
2982
|
-
return this._isFocused && !this._disabled;
|
|
2988
|
+
return this._isFocused && !this._disabled();
|
|
2983
2989
|
}
|
|
2984
2990
|
hostDisplayStyle = 'inline-flex';
|
|
2985
2991
|
get dir() {
|
|
@@ -3023,7 +3029,7 @@ class DropDownButtonComponent extends ListButton {
|
|
|
3023
3029
|
* @hidden
|
|
3024
3030
|
*/
|
|
3025
3031
|
mousedown(event) {
|
|
3026
|
-
if (this._disabled) {
|
|
3032
|
+
if (this._disabled()) {
|
|
3027
3033
|
event.preventDefault();
|
|
3028
3034
|
}
|
|
3029
3035
|
else {
|
|
@@ -3034,7 +3040,7 @@ class DropDownButtonComponent extends ListButton {
|
|
|
3034
3040
|
* @hidden
|
|
3035
3041
|
*/
|
|
3036
3042
|
mouseup(event) {
|
|
3037
|
-
if (this._disabled) {
|
|
3043
|
+
if (this._disabled()) {
|
|
3038
3044
|
event.preventDefault();
|
|
3039
3045
|
}
|
|
3040
3046
|
this._active.set(false);
|
|
@@ -3098,7 +3104,7 @@ class DropDownButtonComponent extends ListButton {
|
|
|
3098
3104
|
* @hidden
|
|
3099
3105
|
*/
|
|
3100
3106
|
handleFocus(event) {
|
|
3101
|
-
if (!this._disabled) {
|
|
3107
|
+
if (!this._disabled()) {
|
|
3102
3108
|
if (!this._isFocused) {
|
|
3103
3109
|
this.onFocus.emit();
|
|
3104
3110
|
}
|
|
@@ -3140,8 +3146,8 @@ class DropDownButtonComponent extends ListButton {
|
|
|
3140
3146
|
}
|
|
3141
3147
|
super.ngOnDestroy();
|
|
3142
3148
|
}
|
|
3143
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3144
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
3149
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownButtonComponent, deps: [{ token: FocusService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: PopupContainerService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
3150
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: DropDownButtonComponent, isStandalone: true, selector: "kendo-dropdownbutton", inputs: { arrowIcon: "arrowIcon", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", imageUrl: "imageUrl", textField: "textField", data: "data", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", buttonAttributes: "buttonAttributes" }, outputs: { itemClick: "itemClick", onFocus: "focus", onBlur: "blur" }, host: { listeners: { "keydown": "keydown($event)", "keyup": "keyup($event)", "mousedown": "mousedown($event)", "mouseup": "mouseup($event)" }, properties: { "class.k-focus": "this.focused", "style.display": "this.hostDisplayStyle", "attr.dir": "this.dir" } }, providers: [
|
|
3145
3151
|
FocusService,
|
|
3146
3152
|
NavigationService,
|
|
3147
3153
|
NAVIGATION_SETTINGS_PROVIDER$2,
|
|
@@ -3150,7 +3156,8 @@ class DropDownButtonComponent extends ListButton {
|
|
|
3150
3156
|
provide: L10N_PREFIX,
|
|
3151
3157
|
useValue: 'kendo.dropdownbutton'
|
|
3152
3158
|
},
|
|
3153
|
-
PopupContainerService
|
|
3159
|
+
PopupContainerService,
|
|
3160
|
+
provideComponentName('dropdownbutton')
|
|
3154
3161
|
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ButtonItemTemplateDirective, descendants: true }], exportAs: ["kendoDropDownButton"], usesInheritance: true, ngImport: i0, template: `
|
|
3155
3162
|
<button kendoButton #button
|
|
3156
3163
|
type="button"
|
|
@@ -3197,7 +3204,7 @@ class DropDownButtonComponent extends ListButton {
|
|
|
3197
3204
|
<ng-container #container></ng-container>
|
|
3198
3205
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3199
3206
|
}
|
|
3200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownButtonComponent, decorators: [{
|
|
3201
3208
|
type: Component,
|
|
3202
3209
|
args: [{
|
|
3203
3210
|
selector: 'kendo-dropdownbutton',
|
|
@@ -3212,7 +3219,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3212
3219
|
provide: L10N_PREFIX,
|
|
3213
3220
|
useValue: 'kendo.dropdownbutton'
|
|
3214
3221
|
},
|
|
3215
|
-
PopupContainerService
|
|
3222
|
+
PopupContainerService,
|
|
3223
|
+
provideComponentName('dropdownbutton')
|
|
3216
3224
|
],
|
|
3217
3225
|
template: `
|
|
3218
3226
|
<button kendoButton #button
|
|
@@ -3403,10 +3411,10 @@ class DialItemTemplateDirective {
|
|
|
3403
3411
|
constructor(templateRef) {
|
|
3404
3412
|
this.templateRef = templateRef;
|
|
3405
3413
|
}
|
|
3406
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3407
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3414
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3415
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: DialItemTemplateDirective, isStandalone: true, selector: "[kendoDialItemTemplate]", ngImport: i0 });
|
|
3408
3416
|
}
|
|
3409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialItemTemplateDirective, decorators: [{
|
|
3410
3418
|
type: Directive,
|
|
3411
3419
|
args: [{
|
|
3412
3420
|
selector: '[kendoDialItemTemplate]',
|
|
@@ -3436,10 +3444,10 @@ class FloatingActionButtonTemplateDirective {
|
|
|
3436
3444
|
constructor(templateRef) {
|
|
3437
3445
|
this.templateRef = templateRef;
|
|
3438
3446
|
}
|
|
3439
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3440
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
3447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FloatingActionButtonTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3448
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: FloatingActionButtonTemplateDirective, isStandalone: true, selector: "[kendoFloatingActionButtonTemplate]", ngImport: i0 });
|
|
3441
3449
|
}
|
|
3442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FloatingActionButtonTemplateDirective, decorators: [{
|
|
3443
3451
|
type: Directive,
|
|
3444
3452
|
args: [{
|
|
3445
3453
|
selector: '[kendoFloatingActionButtonTemplate]',
|
|
@@ -3510,8 +3518,8 @@ class DialItemComponent {
|
|
|
3510
3518
|
};
|
|
3511
3519
|
return directions[dir][align];
|
|
3512
3520
|
}
|
|
3513
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3514
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3521
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3522
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DialItemComponent, isStandalone: true, selector: "[kendoDialItem]", inputs: { cssClass: "cssClass", cssStyle: "cssStyle", isFocused: "isFocused", index: "index", item: "item", dialItemTemplate: "dialItemTemplate", align: "align" }, host: { properties: { "class.k-fab-item": "this.hostClass", "attr.role": "this.role", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.title": "this.title", "attr.aria-label": "this.title", "attr.data-fab-item-index": "this.indexAttr" } }, ngImport: i0, template: `
|
|
3515
3523
|
@if (dialItemTemplate) {
|
|
3516
3524
|
<ng-template
|
|
3517
3525
|
[ngTemplateOutlet]="dialItemTemplate"
|
|
@@ -3534,7 +3542,7 @@ class DialItemComponent {
|
|
|
3534
3542
|
}
|
|
3535
3543
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
3536
3544
|
}
|
|
3537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialItemComponent, decorators: [{
|
|
3538
3546
|
type: Component,
|
|
3539
3547
|
args: [{
|
|
3540
3548
|
selector: '[kendoDialItem]',
|
|
@@ -3628,8 +3636,8 @@ class DialListComponent {
|
|
|
3628
3636
|
ngOnDestroy() {
|
|
3629
3637
|
this.subscriptions.unsubscribe();
|
|
3630
3638
|
}
|
|
3631
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3632
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3639
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialListComponent, deps: [{ token: FocusService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3640
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: DialListComponent, isStandalone: true, selector: "[kendoDialList]", inputs: { dialItems: "dialItems", dialItemTemplate: "dialItemTemplate", align: "align" }, host: { properties: { "class.k-fab-items": "this.hostClass", "class.k-fab-items-bottom": "this.bottomClass", "class.k-fab-items-top": "this.topClass" } }, ngImport: i0, template: `
|
|
3633
3641
|
@for (item of dialItems; track item; let idx = $index) {
|
|
3634
3642
|
<li
|
|
3635
3643
|
kendoButtonFocusable
|
|
@@ -3646,7 +3654,7 @@ class DialListComponent {
|
|
|
3646
3654
|
}
|
|
3647
3655
|
`, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoButtonFocusable]", inputs: ["index"] }, { kind: "component", type: DialItemComponent, selector: "[kendoDialItem]", inputs: ["cssClass", "cssStyle", "isFocused", "index", "item", "dialItemTemplate", "align"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
3648
3656
|
}
|
|
3649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialListComponent, decorators: [{
|
|
3650
3658
|
type: Component,
|
|
3651
3659
|
args: [{
|
|
3652
3660
|
selector: '[kendoDialList]',
|
|
@@ -3779,10 +3787,10 @@ class FloatingActionButtonComponent {
|
|
|
3779
3787
|
* @default false
|
|
3780
3788
|
*/
|
|
3781
3789
|
set disabled(disabled) {
|
|
3782
|
-
this._disabled
|
|
3790
|
+
this._disabled.set(disabled);
|
|
3783
3791
|
}
|
|
3784
3792
|
get disabled() {
|
|
3785
|
-
return this._disabled;
|
|
3793
|
+
return this._disabled();
|
|
3786
3794
|
}
|
|
3787
3795
|
/**
|
|
3788
3796
|
* Specifies the alignment of the FloatingActionButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/floatingactionbutton/positioning#alignment)).
|
|
@@ -3892,7 +3900,7 @@ class FloatingActionButtonComponent {
|
|
|
3892
3900
|
_themeColor = undefined;
|
|
3893
3901
|
_size = undefined;
|
|
3894
3902
|
_rounded = undefined;
|
|
3895
|
-
_disabled = false;
|
|
3903
|
+
_disabled = signal(false, ...(ngDevMode ? [{ debugName: "_disabled" }] : []));
|
|
3896
3904
|
_align = { horizontal: 'end', vertical: 'bottom' };
|
|
3897
3905
|
_offset = { x: DEFAULT_OFFSET, y: DEFAULT_OFFSET };
|
|
3898
3906
|
_direction = signal(undefined, ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
@@ -4386,8 +4394,8 @@ class FloatingActionButtonComponent {
|
|
|
4386
4394
|
}
|
|
4387
4395
|
return DEFAULT_DURATION;
|
|
4388
4396
|
}
|
|
4389
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4390
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
4397
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FloatingActionButtonComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: FocusService }, { token: NavigationService }, { token: i3.PopupService }, { token: i4.AnimationBuilder }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
4398
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: FloatingActionButtonComponent, isStandalone: true, selector: "kendo-floatingactionbutton", inputs: { themeColor: "themeColor", size: "size", rounded: "rounded", disabled: "disabled", align: "align", offset: "offset", positionMode: "positionMode", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", buttonClass: "buttonClass", dialClass: "dialClass", text: "text", dialItemAnimation: "dialItemAnimation", tabIndex: "tabIndex", dialItems: "dialItems" }, outputs: { onBlur: "blur", onFocus: "focus", dialItemClick: "dialItemClick", open: "open", close: "close" }, host: { properties: { "class.k-pos-fixed": "this.fixedClass", "class.k-pos-absolute": "this.absoluteClass", "attr.dir": "this.direction" } }, providers: [
|
|
4391
4399
|
FocusService,
|
|
4392
4400
|
NavigationService,
|
|
4393
4401
|
NAVIGATION_SETTINGS_PROVIDER$1,
|
|
@@ -4395,7 +4403,8 @@ class FloatingActionButtonComponent {
|
|
|
4395
4403
|
{
|
|
4396
4404
|
provide: L10N_PREFIX,
|
|
4397
4405
|
useValue: 'kendo.floatingactionbutton'
|
|
4398
|
-
}
|
|
4406
|
+
},
|
|
4407
|
+
provideComponentName('floatingactionbutton')
|
|
4399
4408
|
], queries: [{ propertyName: "dialItemTemplate", first: true, predicate: DialItemTemplateDirective, descendants: true }, { propertyName: "fabTemplate", first: true, predicate: FloatingActionButtonTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "button", first: true, predicate: ["button"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
|
|
4400
4409
|
<button
|
|
4401
4410
|
#button
|
|
@@ -4460,7 +4469,7 @@ class FloatingActionButtonComponent {
|
|
|
4460
4469
|
</ng-template>
|
|
4461
4470
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: DialListComponent, selector: "[kendoDialList]", inputs: ["dialItems", "dialItemTemplate", "align"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4462
4471
|
}
|
|
4463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FloatingActionButtonComponent, decorators: [{
|
|
4464
4473
|
type: Component,
|
|
4465
4474
|
args: [{
|
|
4466
4475
|
selector: 'kendo-floatingactionbutton',
|
|
@@ -4473,7 +4482,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
4473
4482
|
{
|
|
4474
4483
|
provide: L10N_PREFIX,
|
|
4475
4484
|
useValue: 'kendo.floatingactionbutton'
|
|
4476
|
-
}
|
|
4485
|
+
},
|
|
4486
|
+
provideComponentName('floatingactionbutton')
|
|
4477
4487
|
],
|
|
4478
4488
|
template: `
|
|
4479
4489
|
<button
|
|
@@ -4650,10 +4660,10 @@ class Messages extends ComponentMessages {
|
|
|
4650
4660
|
}
|
|
4651
4661
|
_toggleButtonLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_toggleButtonLabel" }] : []));
|
|
4652
4662
|
_splitButtonLabel = signal(undefined, ...(ngDevMode ? [{ debugName: "_splitButtonLabel" }] : []));
|
|
4653
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4654
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4663
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4664
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: Messages, isStandalone: true, selector: "kendo-splitbutton-messages-base", inputs: { splitButtonLabel: "splitButtonLabel", toggleButtonLabel: "toggleButtonLabel" }, usesInheritance: true, ngImport: i0 });
|
|
4655
4665
|
}
|
|
4656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4666
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: Messages, decorators: [{
|
|
4657
4667
|
type: Directive,
|
|
4658
4668
|
args: [{
|
|
4659
4669
|
selector: 'kendo-splitbutton-messages-base'
|
|
@@ -4677,13 +4687,13 @@ class SplitButtonCustomMessagesComponent extends Messages {
|
|
|
4677
4687
|
get override() {
|
|
4678
4688
|
return true;
|
|
4679
4689
|
}
|
|
4680
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4681
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
4690
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SplitButtonCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4691
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: SplitButtonCustomMessagesComponent, isStandalone: true, selector: "kendo-splitbutton-messages", providers: [{
|
|
4682
4692
|
provide: Messages,
|
|
4683
4693
|
useExisting: forwardRef(() => SplitButtonCustomMessagesComponent)
|
|
4684
4694
|
}], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
4685
4695
|
}
|
|
4686
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SplitButtonCustomMessagesComponent, decorators: [{
|
|
4687
4697
|
type: Component,
|
|
4688
4698
|
args: [{
|
|
4689
4699
|
providers: [{
|
|
@@ -4705,15 +4715,15 @@ class LocalizedSplitButtonMessagesDirective extends Messages {
|
|
|
4705
4715
|
super();
|
|
4706
4716
|
this.service = service;
|
|
4707
4717
|
}
|
|
4708
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4709
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
4718
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedSplitButtonMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4719
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.27", type: LocalizedSplitButtonMessagesDirective, isStandalone: true, selector: "[kendoSplitButtonLocalizedMessages]", providers: [
|
|
4710
4720
|
{
|
|
4711
4721
|
provide: Messages,
|
|
4712
4722
|
useExisting: forwardRef(() => LocalizedSplitButtonMessagesDirective)
|
|
4713
4723
|
}
|
|
4714
4724
|
], usesInheritance: true, ngImport: i0 });
|
|
4715
4725
|
}
|
|
4716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: LocalizedSplitButtonMessagesDirective, decorators: [{
|
|
4717
4727
|
type: Directive,
|
|
4718
4728
|
args: [{
|
|
4719
4729
|
providers: [
|
|
@@ -4837,10 +4847,10 @@ class SplitButtonComponent extends ListButton {
|
|
|
4837
4847
|
if (this.isOpen) {
|
|
4838
4848
|
this.toggle(false);
|
|
4839
4849
|
}
|
|
4840
|
-
this._disabled
|
|
4850
|
+
this._disabled.set(value);
|
|
4841
4851
|
}
|
|
4842
4852
|
get disabled() {
|
|
4843
|
-
return this._disabled;
|
|
4853
|
+
return this._disabled();
|
|
4844
4854
|
}
|
|
4845
4855
|
/**
|
|
4846
4856
|
* Configures the popup settings of the SplitButton.
|
|
@@ -4960,7 +4970,7 @@ class SplitButtonComponent extends ListButton {
|
|
|
4960
4970
|
this._isFocused = value;
|
|
4961
4971
|
}
|
|
4962
4972
|
get isFocused() {
|
|
4963
|
-
return this._isFocused && !this._disabled && isDocumentAvailable() && this.wrapperContains(document.activeElement);
|
|
4973
|
+
return this._isFocused && !this._disabled() && isDocumentAvailable() && this.wrapperContains(document.activeElement);
|
|
4964
4974
|
}
|
|
4965
4975
|
get widgetClasses() {
|
|
4966
4976
|
return true;
|
|
@@ -4985,7 +4995,7 @@ class SplitButtonComponent extends ListButton {
|
|
|
4985
4995
|
* @hidden
|
|
4986
4996
|
*/
|
|
4987
4997
|
onButtonFocus(event) {
|
|
4988
|
-
if (!this._disabled) {
|
|
4998
|
+
if (!this._disabled()) {
|
|
4989
4999
|
if (!this._isFocused) {
|
|
4990
5000
|
this.onFocus.emit();
|
|
4991
5001
|
}
|
|
@@ -5213,8 +5223,8 @@ class SplitButtonComponent extends ListButton {
|
|
|
5213
5223
|
}
|
|
5214
5224
|
}
|
|
5215
5225
|
}
|
|
5216
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5217
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
5226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SplitButtonComponent, deps: [{ token: FocusService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: PopupContainerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5227
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: SplitButtonComponent, isStandalone: true, selector: "kendo-splitbutton", inputs: { text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", type: "type", imageUrl: "imageUrl", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", disabled: "disabled", popupSettings: "popupSettings", tabIndex: "tabIndex", textField: "textField", data: "data", arrowButtonClass: "arrowButtonClass", arrowButtonIcon: "arrowButtonIcon", arrowButtonSvgIcon: "arrowButtonSvgIcon", buttonAttributes: "buttonAttributes" }, outputs: { buttonClick: "buttonClick", itemClick: "itemClick", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { listeners: { "keydown": "keydown($event)", "keyup": "keyup($event)" }, properties: { "class.k-focus": "this.isFocused", "class.k-split-button": "this.widgetClasses", "class.k-button-group": "this.widgetClasses", "attr.dir": "this.dir" } }, providers: [
|
|
5218
5228
|
FocusService,
|
|
5219
5229
|
NavigationService,
|
|
5220
5230
|
NAVIGATION_SETTINGS_PROVIDER,
|
|
@@ -5227,11 +5237,12 @@ class SplitButtonComponent extends ListButton {
|
|
|
5227
5237
|
{
|
|
5228
5238
|
provide: MultiTabStop,
|
|
5229
5239
|
useExisting: forwardRef(() => SplitButtonComponent)
|
|
5230
|
-
}
|
|
5240
|
+
},
|
|
5241
|
+
provideComponentName('splitbutton')
|
|
5231
5242
|
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ButtonItemTemplateDirective, descendants: true }], exportAs: ["kendoSplitButton"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
5232
5243
|
<ng-container kendoSplitButtonLocalizedMessages
|
|
5233
5244
|
i18n-splitButtonLabel="kendo.splitbutton.splitButtonLabel|The text for the SplitButton aria-label"
|
|
5234
|
-
splitButtonLabel="
|
|
5245
|
+
splitButtonLabel="[[buttonText]] splitbutton"
|
|
5235
5246
|
i18n-toggleButtonLabel="kendo.splitbutton.toggleButtonLabel|The text for the SplitButton toggle button aria-label"
|
|
5236
5247
|
toggleButtonLabel="Toggle options"
|
|
5237
5248
|
></ng-container>
|
|
@@ -5278,6 +5289,7 @@ class SplitButtonComponent extends ListButton {
|
|
|
5278
5289
|
[attr.aria-label]="messageFor('toggleButtonLabel')"
|
|
5279
5290
|
[attr.aria-expanded]="openState"
|
|
5280
5291
|
[attr.aria-controls]="openState ? listId : null"
|
|
5292
|
+
[attr.aria-disabled]="disabled || null"
|
|
5281
5293
|
(click)="onArrowButtonClick()"
|
|
5282
5294
|
(mousedown)="toggleArrowButtonActiveState(true)"
|
|
5283
5295
|
(mouseup)="toggleArrowButtonActiveState(false)"
|
|
@@ -5299,7 +5311,7 @@ class SplitButtonComponent extends ListButton {
|
|
|
5299
5311
|
<ng-container #container></ng-container>
|
|
5300
5312
|
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5301
5313
|
}
|
|
5302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
5303
5315
|
type: Component,
|
|
5304
5316
|
args: [{
|
|
5305
5317
|
selector: 'kendo-splitbutton',
|
|
@@ -5318,12 +5330,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
5318
5330
|
{
|
|
5319
5331
|
provide: MultiTabStop,
|
|
5320
5332
|
useExisting: forwardRef(() => SplitButtonComponent)
|
|
5321
|
-
}
|
|
5333
|
+
},
|
|
5334
|
+
provideComponentName('splitbutton')
|
|
5322
5335
|
],
|
|
5323
5336
|
template: `
|
|
5324
5337
|
<ng-container kendoSplitButtonLocalizedMessages
|
|
5325
5338
|
i18n-splitButtonLabel="kendo.splitbutton.splitButtonLabel|The text for the SplitButton aria-label"
|
|
5326
|
-
splitButtonLabel="
|
|
5339
|
+
splitButtonLabel="[[buttonText]] splitbutton"
|
|
5327
5340
|
i18n-toggleButtonLabel="kendo.splitbutton.toggleButtonLabel|The text for the SplitButton toggle button aria-label"
|
|
5328
5341
|
toggleButtonLabel="Toggle options"
|
|
5329
5342
|
></ng-container>
|
|
@@ -5370,6 +5383,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
5370
5383
|
[attr.aria-label]="messageFor('toggleButtonLabel')"
|
|
5371
5384
|
[attr.aria-expanded]="openState"
|
|
5372
5385
|
[attr.aria-controls]="openState ? listId : null"
|
|
5386
|
+
[attr.aria-disabled]="disabled || null"
|
|
5373
5387
|
(click)="onArrowButtonClick()"
|
|
5374
5388
|
(mousedown)="toggleArrowButtonActiveState(true)"
|
|
5375
5389
|
(mouseup)="toggleArrowButtonActiveState(false)"
|
|
@@ -5593,6 +5607,9 @@ class SpeechToTextButtonComponent {
|
|
|
5593
5607
|
get listeningClass() {
|
|
5594
5608
|
return this.isListening;
|
|
5595
5609
|
}
|
|
5610
|
+
get ariaPressed() {
|
|
5611
|
+
return this.isListening ? 'true' : 'false';
|
|
5612
|
+
}
|
|
5596
5613
|
speechToTextButtonClass = true;
|
|
5597
5614
|
get classDisabled() {
|
|
5598
5615
|
return this.isDisabled;
|
|
@@ -5686,7 +5703,12 @@ class SpeechToTextButtonComponent {
|
|
|
5686
5703
|
/**
|
|
5687
5704
|
* Indicates whether the button is actively listening for incoming audio.
|
|
5688
5705
|
*/
|
|
5689
|
-
isListening
|
|
5706
|
+
get isListening() {
|
|
5707
|
+
return this._isListening();
|
|
5708
|
+
}
|
|
5709
|
+
set isListening(value) {
|
|
5710
|
+
this._isListening.set(value);
|
|
5711
|
+
}
|
|
5690
5712
|
/**
|
|
5691
5713
|
* Indicates whether web speech functionality is supported.
|
|
5692
5714
|
*/
|
|
@@ -5731,7 +5753,7 @@ class SpeechToTextButtonComponent {
|
|
|
5731
5753
|
}
|
|
5732
5754
|
const result = asyncFactory();
|
|
5733
5755
|
const observable = this.toObservable(result);
|
|
5734
|
-
observable.pipe(take(1)).subscribe(() => this.
|
|
5756
|
+
observable.pipe(take(1)).subscribe(() => this._isListening.set(!this._isListening()));
|
|
5735
5757
|
});
|
|
5736
5758
|
}
|
|
5737
5759
|
}
|
|
@@ -5766,6 +5788,7 @@ class SpeechToTextButtonComponent {
|
|
|
5766
5788
|
_rounded = undefined;
|
|
5767
5789
|
_fillMode = undefined;
|
|
5768
5790
|
_themeColor = undefined;
|
|
5791
|
+
_isListening = signal(false, ...(ngDevMode ? [{ debugName: "_isListening" }] : []));
|
|
5769
5792
|
_focused = false;
|
|
5770
5793
|
_direction = signal('', ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
5771
5794
|
handleClasses(value, input) {
|
|
@@ -5783,13 +5806,13 @@ class SpeechToTextButtonComponent {
|
|
|
5783
5806
|
}
|
|
5784
5807
|
handleStart() {
|
|
5785
5808
|
this.ngZone.run(() => {
|
|
5786
|
-
this.
|
|
5809
|
+
this._isListening.set(true);
|
|
5787
5810
|
this.start.emit();
|
|
5788
5811
|
});
|
|
5789
5812
|
}
|
|
5790
5813
|
handleEnd() {
|
|
5791
5814
|
this.ngZone.run(() => {
|
|
5792
|
-
this.
|
|
5815
|
+
this._isListening.set(false);
|
|
5793
5816
|
this.end.emit();
|
|
5794
5817
|
});
|
|
5795
5818
|
}
|
|
@@ -5834,7 +5857,7 @@ class SpeechToTextButtonComponent {
|
|
|
5834
5857
|
this.speechRecognition.stop();
|
|
5835
5858
|
this.speechRecognition.destroy();
|
|
5836
5859
|
this.speechRecognition = null;
|
|
5837
|
-
this.
|
|
5860
|
+
this._isListening.set(false);
|
|
5838
5861
|
}
|
|
5839
5862
|
}
|
|
5840
5863
|
createWebSpeech() {
|
|
@@ -5854,13 +5877,14 @@ class SpeechToTextButtonComponent {
|
|
|
5854
5877
|
}
|
|
5855
5878
|
});
|
|
5856
5879
|
}
|
|
5857
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5858
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
5880
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SpeechToTextButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5881
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.27", type: SpeechToTextButtonComponent, isStandalone: true, selector: "button[kendoSpeechToTextButton]", inputs: { disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", integrationMode: "integrationMode", lang: "lang", continuous: "continuous", interimResults: "interimResults", maxAlternatives: "maxAlternatives" }, outputs: { start: "start", end: "end", result: "result", error: "error", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-listening": "this.listeningClass", "attr.aria-pressed": "this.ariaPressed", "class.k-speech-to-text-button": "this.speechToTextButtonClass", "class.k-disabled": "this.classDisabled", "attr.dir": "this.getDirection" } }, providers: [
|
|
5859
5882
|
LocalizationService,
|
|
5860
5883
|
{
|
|
5861
5884
|
provide: L10N_PREFIX,
|
|
5862
5885
|
useValue: 'kendo.speechtotextbutton'
|
|
5863
|
-
}
|
|
5886
|
+
},
|
|
5887
|
+
provideComponentName('speechtotextbutton')
|
|
5864
5888
|
], exportAs: ["kendoSpeechToTextButton"], usesOnChanges: true, ngImport: i0, template: `
|
|
5865
5889
|
<kendo-icon-wrapper
|
|
5866
5890
|
innerCssClass="k-button-icon"
|
|
@@ -5870,7 +5894,7 @@ class SpeechToTextButtonComponent {
|
|
|
5870
5894
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
5871
5895
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5872
5896
|
}
|
|
5873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SpeechToTextButtonComponent, decorators: [{
|
|
5874
5898
|
type: Component,
|
|
5875
5899
|
args: [{
|
|
5876
5900
|
selector: 'button[kendoSpeechToTextButton]',
|
|
@@ -5881,7 +5905,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
5881
5905
|
{
|
|
5882
5906
|
provide: L10N_PREFIX,
|
|
5883
5907
|
useValue: 'kendo.speechtotextbutton'
|
|
5884
|
-
}
|
|
5908
|
+
},
|
|
5909
|
+
provideComponentName('speechtotextbutton')
|
|
5885
5910
|
],
|
|
5886
5911
|
template: `
|
|
5887
5912
|
<kendo-icon-wrapper
|
|
@@ -5930,6 +5955,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
5930
5955
|
}], listeningClass: [{
|
|
5931
5956
|
type: HostBinding,
|
|
5932
5957
|
args: ['class.k-listening']
|
|
5958
|
+
}], ariaPressed: [{
|
|
5959
|
+
type: HostBinding,
|
|
5960
|
+
args: ['attr.aria-pressed']
|
|
5933
5961
|
}], speechToTextButtonClass: [{
|
|
5934
5962
|
type: HostBinding,
|
|
5935
5963
|
args: ['class.k-speech-to-text-button']
|
|
@@ -6374,7 +6402,7 @@ class SmartPasteButtonComponent {
|
|
|
6374
6402
|
* Reads clipboard content and sends it to the AI service for processing.
|
|
6375
6403
|
*/
|
|
6376
6404
|
async paste() {
|
|
6377
|
-
if (!this.nativeForm) {
|
|
6405
|
+
if (!this.nativeForm || this.isDisabled) {
|
|
6378
6406
|
return;
|
|
6379
6407
|
}
|
|
6380
6408
|
if (this.smartPasteBusy) {
|
|
@@ -6551,13 +6579,14 @@ class SmartPasteButtonComponent {
|
|
|
6551
6579
|
this.currentRequestSubscription = null;
|
|
6552
6580
|
});
|
|
6553
6581
|
}
|
|
6554
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6555
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
6582
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SmartPasteButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: i0.NgZone }, { token: i2.HttpClient }, { token: i3$1.ControlContainer, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
6583
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: SmartPasteButtonComponent, isStandalone: true, selector: "button[kendoSmartPasteButton]", inputs: { formFields: "formFields", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", requestUrl: "requestUrl", requestOptions: "requestOptions", smartPasteFormFields: "smartPasteFormFields" }, outputs: { requestStart: "requestStart", requestEnd: "requestEnd", requestCancel: "requestCancel" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-icon-button": "this.iconButtonClass", "class.k-disabled": "this.classDisabled", "attr.dir": "this.getDirection" } }, providers: [
|
|
6556
6584
|
LocalizationService,
|
|
6557
6585
|
{
|
|
6558
6586
|
provide: L10N_PREFIX,
|
|
6559
6587
|
useValue: 'kendo.smartpastebutton'
|
|
6560
|
-
}
|
|
6588
|
+
},
|
|
6589
|
+
provideComponentName('smartpastebutton')
|
|
6561
6590
|
], exportAs: ["kendoSmartPasteButton"], ngImport: i0, template: `
|
|
6562
6591
|
@if (icon || svgIcon) {
|
|
6563
6592
|
<kendo-icon-wrapper
|
|
@@ -6576,7 +6605,7 @@ class SmartPasteButtonComponent {
|
|
|
6576
6605
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
6577
6606
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6578
6607
|
}
|
|
6579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SmartPasteButtonComponent, decorators: [{
|
|
6580
6609
|
type: Component,
|
|
6581
6610
|
args: [{
|
|
6582
6611
|
selector: 'button[kendoSmartPasteButton]',
|
|
@@ -6587,7 +6616,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6587
6616
|
{
|
|
6588
6617
|
provide: L10N_PREFIX,
|
|
6589
6618
|
useValue: 'kendo.smartpastebutton'
|
|
6590
|
-
}
|
|
6619
|
+
},
|
|
6620
|
+
provideComponentName('smartpastebutton')
|
|
6591
6621
|
],
|
|
6592
6622
|
standalone: true,
|
|
6593
6623
|
imports: [IconWrapperComponent, NgClass],
|
|
@@ -6825,13 +6855,14 @@ class SegmentedControlComponent {
|
|
|
6825
6855
|
this.renderer.setStyle(selectionIndicator, 'right', `${right}px`);
|
|
6826
6856
|
}, { injector: this.injector });
|
|
6827
6857
|
}
|
|
6828
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
6829
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
6858
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SegmentedControlComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6859
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: SegmentedControlComponent, isStandalone: true, selector: "kendo-segmented-control", inputs: { items: "items", layoutMode: "layoutMode", size: "size", selected: "selected" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class.k-segmented-control": "this.hostClass", "class.k-segmented-control-stretched": "this.stretchedClass", "attr.dir": "this.direction", "attr.role": "this.hostRole" } }, providers: [
|
|
6830
6860
|
LocalizationService,
|
|
6831
6861
|
{
|
|
6832
6862
|
provide: L10N_PREFIX,
|
|
6833
6863
|
useValue: 'kendo.segmentedcontrol'
|
|
6834
|
-
}
|
|
6864
|
+
},
|
|
6865
|
+
provideComponentName('segmentedcontrol')
|
|
6835
6866
|
], viewQueries: [{ propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true }, { propertyName: "resizeSensor", first: true, predicate: ["resizeSensor"], descendants: true }], ngImport: i0, template: `
|
|
6836
6867
|
<kendo-resize-sensor #resizeSensor></kendo-resize-sensor>
|
|
6837
6868
|
<div class="k-segmented-control-thumb" #thumb [attr.aria-hidden]="true"></div>
|
|
@@ -6860,7 +6891,7 @@ class SegmentedControlComponent {
|
|
|
6860
6891
|
}
|
|
6861
6892
|
`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6862
6893
|
}
|
|
6863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
6894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SegmentedControlComponent, decorators: [{
|
|
6864
6895
|
type: Component,
|
|
6865
6896
|
args: [{
|
|
6866
6897
|
selector: 'kendo-segmented-control',
|
|
@@ -6872,7 +6903,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
6872
6903
|
{
|
|
6873
6904
|
provide: L10N_PREFIX,
|
|
6874
6905
|
useValue: 'kendo.segmentedcontrol'
|
|
6875
|
-
}
|
|
6906
|
+
},
|
|
6907
|
+
provideComponentName('segmentedcontrol')
|
|
6876
6908
|
],
|
|
6877
6909
|
template: `
|
|
6878
6910
|
<kendo-resize-sensor #resizeSensor></kendo-resize-sensor>
|
|
@@ -7153,11 +7185,11 @@ const KENDO_BUTTONS = [
|
|
|
7153
7185
|
* ```
|
|
7154
7186
|
*/
|
|
7155
7187
|
class ButtonGroupModule {
|
|
7156
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7157
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7158
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7189
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: ButtonGroupModule, imports: [ButtonComponent, ButtonGroupComponent], exports: [ButtonComponent, ButtonGroupComponent] });
|
|
7190
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonGroupModule, providers: [IconsService], imports: [ButtonComponent] });
|
|
7159
7191
|
}
|
|
7160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonGroupModule, decorators: [{
|
|
7161
7193
|
type: NgModule,
|
|
7162
7194
|
args: [{
|
|
7163
7195
|
exports: [...KENDO_BUTTONGROUP],
|
|
@@ -7189,11 +7221,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7189
7221
|
* ```
|
|
7190
7222
|
*/
|
|
7191
7223
|
class ButtonModule {
|
|
7192
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7193
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7194
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7225
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: ButtonModule, imports: [ButtonComponent], exports: [ButtonComponent] });
|
|
7226
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonModule, providers: [IconsService], imports: [ButtonComponent] });
|
|
7195
7227
|
}
|
|
7196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonModule, decorators: [{
|
|
7197
7229
|
type: NgModule,
|
|
7198
7230
|
args: [{
|
|
7199
7231
|
imports: [ButtonComponent],
|
|
@@ -7225,11 +7257,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7225
7257
|
* ```
|
|
7226
7258
|
*/
|
|
7227
7259
|
class ButtonsModule {
|
|
7228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7229
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7230
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7261
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: ButtonsModule, imports: [ButtonComponent, ButtonComponent, ButtonGroupComponent, DropDownButtonComponent, ButtonItemTemplateDirective, ChipComponent, ChipComponent, ChipListComponent, FloatingActionButtonComponent, DialItemTemplateDirective, FloatingActionButtonTemplateDirective, SplitButtonComponent, SplitButtonCustomMessagesComponent, i12.ToggleButtonTabStopDirective, ButtonItemTemplateDirective, SpeechToTextButtonComponent, SmartPasteButtonComponent, SegmentedControlComponent, i12.ToggleButtonTabStopDirective], exports: [ButtonComponent, ButtonComponent, ButtonGroupComponent, DropDownButtonComponent, ButtonItemTemplateDirective, ChipComponent, ChipComponent, ChipListComponent, FloatingActionButtonComponent, DialItemTemplateDirective, FloatingActionButtonTemplateDirective, SplitButtonComponent, SplitButtonCustomMessagesComponent, i12.ToggleButtonTabStopDirective, ButtonItemTemplateDirective, SpeechToTextButtonComponent, SmartPasteButtonComponent, SegmentedControlComponent, i12.ToggleButtonTabStopDirective] });
|
|
7262
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonsModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [ButtonComponent, ButtonComponent, DropDownButtonComponent, ChipComponent, ChipComponent, FloatingActionButtonComponent, SplitButtonComponent, SpeechToTextButtonComponent, SmartPasteButtonComponent, SegmentedControlComponent] });
|
|
7231
7263
|
}
|
|
7232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ButtonsModule, decorators: [{
|
|
7233
7265
|
type: NgModule,
|
|
7234
7266
|
args: [{
|
|
7235
7267
|
imports: [...KENDO_BUTTONS, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
@@ -7249,11 +7281,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7249
7281
|
* - `SplitButtonCustomMessagesComponent`—The SplitButton custom messages component class.
|
|
7250
7282
|
*/
|
|
7251
7283
|
class SplitButtonModule {
|
|
7252
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7253
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7254
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7284
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SplitButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7285
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: SplitButtonModule, imports: [SplitButtonComponent, SplitButtonCustomMessagesComponent, i12.ToggleButtonTabStopDirective, ButtonItemTemplateDirective, i12.ToggleButtonTabStopDirective], exports: [SplitButtonComponent, SplitButtonCustomMessagesComponent, i12.ToggleButtonTabStopDirective, ButtonItemTemplateDirective, i12.ToggleButtonTabStopDirective] });
|
|
7286
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SplitButtonModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [SplitButtonComponent] });
|
|
7255
7287
|
}
|
|
7256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SplitButtonModule, decorators: [{
|
|
7257
7289
|
type: NgModule,
|
|
7258
7290
|
args: [{
|
|
7259
7291
|
exports: [...KENDO_SPLITBUTTON, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
@@ -7288,11 +7320,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7288
7320
|
* ```
|
|
7289
7321
|
*/
|
|
7290
7322
|
class DropDownButtonModule {
|
|
7291
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7292
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7293
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7323
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7324
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: DropDownButtonModule, imports: [DropDownButtonComponent, ButtonItemTemplateDirective], exports: [DropDownButtonComponent, ButtonItemTemplateDirective] });
|
|
7325
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownButtonModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [DropDownButtonComponent] });
|
|
7294
7326
|
}
|
|
7295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DropDownButtonModule, decorators: [{
|
|
7296
7328
|
type: NgModule,
|
|
7297
7329
|
args: [{
|
|
7298
7330
|
exports: [...KENDO_DROPDOWNBUTTON],
|
|
@@ -7324,11 +7356,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7324
7356
|
* ```
|
|
7325
7357
|
*/
|
|
7326
7358
|
class ChipModule {
|
|
7327
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7328
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7329
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7359
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7360
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: ChipModule, imports: [ChipComponent, ChipListComponent], exports: [ChipComponent, ChipListComponent] });
|
|
7361
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ChipModule, providers: [IconsService], imports: [ChipComponent] });
|
|
7330
7362
|
}
|
|
7331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ChipModule, decorators: [{
|
|
7332
7364
|
type: NgModule,
|
|
7333
7365
|
args: [{
|
|
7334
7366
|
exports: [...KENDO_CHIPLIST],
|
|
@@ -7359,11 +7391,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7359
7391
|
* ```
|
|
7360
7392
|
*/
|
|
7361
7393
|
class FloatingActionButtonModule {
|
|
7362
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7363
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7364
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7394
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FloatingActionButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7395
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: FloatingActionButtonModule, imports: [FloatingActionButtonComponent, DialItemTemplateDirective, FloatingActionButtonTemplateDirective], exports: [FloatingActionButtonComponent, DialItemTemplateDirective, FloatingActionButtonTemplateDirective] });
|
|
7396
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FloatingActionButtonModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [FloatingActionButtonComponent] });
|
|
7365
7397
|
}
|
|
7366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: FloatingActionButtonModule, decorators: [{
|
|
7367
7399
|
type: NgModule,
|
|
7368
7400
|
args: [{
|
|
7369
7401
|
exports: [...KENDO_FLOATINGACTIONBUTTON],
|
|
@@ -7382,11 +7414,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7382
7414
|
* - `SpeechToTextButtonComponent`—The SpeechToTextButton component class.
|
|
7383
7415
|
*/
|
|
7384
7416
|
class SpeechToTextButtonModule {
|
|
7385
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7386
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7387
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7417
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SpeechToTextButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7418
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: SpeechToTextButtonModule, imports: [SpeechToTextButtonComponent], exports: [SpeechToTextButtonComponent] });
|
|
7419
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SpeechToTextButtonModule, providers: [IconsService], imports: [KENDO_SPEECHTOTEXTBUTTON] });
|
|
7388
7420
|
}
|
|
7389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SpeechToTextButtonModule, decorators: [{
|
|
7390
7422
|
type: NgModule,
|
|
7391
7423
|
args: [{
|
|
7392
7424
|
exports: [...KENDO_SPEECHTOTEXTBUTTON],
|
|
@@ -7412,11 +7444,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7412
7444
|
* ```
|
|
7413
7445
|
*/
|
|
7414
7446
|
class SmartPasteButtonModule {
|
|
7415
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7416
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7417
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SmartPasteButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7448
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: SmartPasteButtonModule, imports: [SmartPasteButtonComponent], exports: [SmartPasteButtonComponent] });
|
|
7449
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SmartPasteButtonModule, imports: [SmartPasteButtonComponent] });
|
|
7418
7450
|
}
|
|
7419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SmartPasteButtonModule, decorators: [{
|
|
7420
7452
|
type: NgModule,
|
|
7421
7453
|
args: [{
|
|
7422
7454
|
exports: [SmartPasteButtonComponent],
|
|
@@ -7434,11 +7466,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
7434
7466
|
* - `SegmentedControlComponent`—The SegmentedControl component class.
|
|
7435
7467
|
*/
|
|
7436
7468
|
class SegmentedControlModule {
|
|
7437
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
7438
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
7439
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
7469
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SegmentedControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7470
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: SegmentedControlModule, imports: [SegmentedControlComponent], exports: [SegmentedControlComponent] });
|
|
7471
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SegmentedControlModule, providers: [IconsService], imports: [KENDO_SEGMENTEDCONTROL] });
|
|
7440
7472
|
}
|
|
7441
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
7473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SegmentedControlModule, decorators: [{
|
|
7442
7474
|
type: NgModule,
|
|
7443
7475
|
args: [{
|
|
7444
7476
|
exports: [...KENDO_SEGMENTEDCONTROL],
|
package/index.d.ts
CHANGED
|
@@ -803,7 +803,7 @@ declare class ListButton extends MultiTabStop implements OnDestroy {
|
|
|
803
803
|
protected buttonId: string;
|
|
804
804
|
protected _data: any;
|
|
805
805
|
protected _open: i0.WritableSignal<boolean>;
|
|
806
|
-
protected _disabled: boolean
|
|
806
|
+
protected _disabled: i0.WritableSignal<boolean>;
|
|
807
807
|
protected _active: i0.WritableSignal<boolean>;
|
|
808
808
|
protected _popupSettings: PopupSettings;
|
|
809
809
|
protected _isFocused: boolean;
|
|
@@ -2400,6 +2400,7 @@ declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
|
|
|
2400
2400
|
click: EventEmitter<any>;
|
|
2401
2401
|
get iconButtonClass(): boolean;
|
|
2402
2402
|
get listeningClass(): boolean;
|
|
2403
|
+
get ariaPressed(): string;
|
|
2403
2404
|
speechToTextButtonClass: boolean;
|
|
2404
2405
|
get classDisabled(): boolean;
|
|
2405
2406
|
get getDirection(): string;
|
|
@@ -2426,7 +2427,8 @@ declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
|
|
|
2426
2427
|
/**
|
|
2427
2428
|
* Indicates whether the button is actively listening for incoming audio.
|
|
2428
2429
|
*/
|
|
2429
|
-
isListening: boolean;
|
|
2430
|
+
get isListening(): boolean;
|
|
2431
|
+
set isListening(value: boolean);
|
|
2430
2432
|
/**
|
|
2431
2433
|
* Indicates whether web speech functionality is supported.
|
|
2432
2434
|
*/
|
|
@@ -2468,6 +2470,7 @@ declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
|
|
|
2468
2470
|
private _rounded;
|
|
2469
2471
|
private _fillMode;
|
|
2470
2472
|
private _themeColor;
|
|
2473
|
+
private _isListening;
|
|
2471
2474
|
private _focused;
|
|
2472
2475
|
private _direction;
|
|
2473
2476
|
private handleClasses;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1786449733,
|
|
11
|
+
"version": "25.0.0-develop.30",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-buttons",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.30",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"package": {
|
|
57
57
|
"productName": "Kendo UI for Angular",
|
|
58
58
|
"productCode": "KENDOUIANGULAR",
|
|
59
|
-
"publishDate":
|
|
59
|
+
"publishDate": 1786449733,
|
|
60
60
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
@@ -66,15 +66,15 @@
|
|
|
66
66
|
"@angular/core": "20 - 22",
|
|
67
67
|
"@angular/platform-browser": "20 - 22",
|
|
68
68
|
"@progress/kendo-licensing": "^1.11.0",
|
|
69
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
70
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
71
|
-
"@progress/kendo-angular-popup": "25.0.0-develop.
|
|
72
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
69
|
+
"@progress/kendo-angular-common": "25.0.0-develop.30",
|
|
70
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.30",
|
|
71
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.30",
|
|
72
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.30",
|
|
73
73
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"tslib": "^2.3.1",
|
|
77
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
77
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.30",
|
|
78
78
|
"@progress/kendo-common": "^1.0.1",
|
|
79
79
|
"@progress/kendo-webspeech-common": "1.0.1",
|
|
80
80
|
"@progress/kendo-smartpaste-common": "1.0.0"
|