@progress/kendo-angular-buttons 25.0.0-develop.5 → 25.0.0-develop.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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: 1784618624,
|
|
53
|
+
version: '25.0.0-develop.7',
|
|
54
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -5231,7 +5231,7 @@ class SplitButtonComponent extends ListButton {
|
|
|
5231
5231
|
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ButtonItemTemplateDirective, descendants: true }], exportAs: ["kendoSplitButton"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
5232
5232
|
<ng-container kendoSplitButtonLocalizedMessages
|
|
5233
5233
|
i18n-splitButtonLabel="kendo.splitbutton.splitButtonLabel|The text for the SplitButton aria-label"
|
|
5234
|
-
splitButtonLabel="
|
|
5234
|
+
splitButtonLabel="[[buttonText]] splitbutton"
|
|
5235
5235
|
i18n-toggleButtonLabel="kendo.splitbutton.toggleButtonLabel|The text for the SplitButton toggle button aria-label"
|
|
5236
5236
|
toggleButtonLabel="Toggle options"
|
|
5237
5237
|
></ng-container>
|
|
@@ -5323,7 +5323,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
5323
5323
|
template: `
|
|
5324
5324
|
<ng-container kendoSplitButtonLocalizedMessages
|
|
5325
5325
|
i18n-splitButtonLabel="kendo.splitbutton.splitButtonLabel|The text for the SplitButton aria-label"
|
|
5326
|
-
splitButtonLabel="
|
|
5326
|
+
splitButtonLabel="[[buttonText]] splitbutton"
|
|
5327
5327
|
i18n-toggleButtonLabel="kendo.splitbutton.toggleButtonLabel|The text for the SplitButton toggle button aria-label"
|
|
5328
5328
|
toggleButtonLabel="Toggle options"
|
|
5329
5329
|
></ng-container>
|
|
@@ -5686,7 +5686,12 @@ class SpeechToTextButtonComponent {
|
|
|
5686
5686
|
/**
|
|
5687
5687
|
* Indicates whether the button is actively listening for incoming audio.
|
|
5688
5688
|
*/
|
|
5689
|
-
isListening
|
|
5689
|
+
get isListening() {
|
|
5690
|
+
return this._isListening();
|
|
5691
|
+
}
|
|
5692
|
+
set isListening(value) {
|
|
5693
|
+
this._isListening.set(value);
|
|
5694
|
+
}
|
|
5690
5695
|
/**
|
|
5691
5696
|
* Indicates whether web speech functionality is supported.
|
|
5692
5697
|
*/
|
|
@@ -5731,7 +5736,7 @@ class SpeechToTextButtonComponent {
|
|
|
5731
5736
|
}
|
|
5732
5737
|
const result = asyncFactory();
|
|
5733
5738
|
const observable = this.toObservable(result);
|
|
5734
|
-
observable.pipe(take(1)).subscribe(() => this.
|
|
5739
|
+
observable.pipe(take(1)).subscribe(() => this._isListening.set(!this._isListening()));
|
|
5735
5740
|
});
|
|
5736
5741
|
}
|
|
5737
5742
|
}
|
|
@@ -5766,6 +5771,7 @@ class SpeechToTextButtonComponent {
|
|
|
5766
5771
|
_rounded = undefined;
|
|
5767
5772
|
_fillMode = undefined;
|
|
5768
5773
|
_themeColor = undefined;
|
|
5774
|
+
_isListening = signal(false, ...(ngDevMode ? [{ debugName: "_isListening" }] : []));
|
|
5769
5775
|
_focused = false;
|
|
5770
5776
|
_direction = signal('', ...(ngDevMode ? [{ debugName: "_direction" }] : []));
|
|
5771
5777
|
handleClasses(value, input) {
|
|
@@ -5783,13 +5789,13 @@ class SpeechToTextButtonComponent {
|
|
|
5783
5789
|
}
|
|
5784
5790
|
handleStart() {
|
|
5785
5791
|
this.ngZone.run(() => {
|
|
5786
|
-
this.
|
|
5792
|
+
this._isListening.set(true);
|
|
5787
5793
|
this.start.emit();
|
|
5788
5794
|
});
|
|
5789
5795
|
}
|
|
5790
5796
|
handleEnd() {
|
|
5791
5797
|
this.ngZone.run(() => {
|
|
5792
|
-
this.
|
|
5798
|
+
this._isListening.set(false);
|
|
5793
5799
|
this.end.emit();
|
|
5794
5800
|
});
|
|
5795
5801
|
}
|
|
@@ -5834,7 +5840,7 @@ class SpeechToTextButtonComponent {
|
|
|
5834
5840
|
this.speechRecognition.stop();
|
|
5835
5841
|
this.speechRecognition.destroy();
|
|
5836
5842
|
this.speechRecognition = null;
|
|
5837
|
-
this.
|
|
5843
|
+
this._isListening.set(false);
|
|
5838
5844
|
}
|
|
5839
5845
|
}
|
|
5840
5846
|
createWebSpeech() {
|
|
@@ -6374,7 +6380,7 @@ class SmartPasteButtonComponent {
|
|
|
6374
6380
|
* Reads clipboard content and sends it to the AI service for processing.
|
|
6375
6381
|
*/
|
|
6376
6382
|
async paste() {
|
|
6377
|
-
if (!this.nativeForm) {
|
|
6383
|
+
if (!this.nativeForm || this.isDisabled) {
|
|
6378
6384
|
return;
|
|
6379
6385
|
}
|
|
6380
6386
|
if (this.smartPasteBusy) {
|
package/index.d.ts
CHANGED
|
@@ -2426,7 +2426,8 @@ declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
|
|
|
2426
2426
|
/**
|
|
2427
2427
|
* Indicates whether the button is actively listening for incoming audio.
|
|
2428
2428
|
*/
|
|
2429
|
-
isListening: boolean;
|
|
2429
|
+
get isListening(): boolean;
|
|
2430
|
+
set isListening(value: boolean);
|
|
2430
2431
|
/**
|
|
2431
2432
|
* Indicates whether web speech functionality is supported.
|
|
2432
2433
|
*/
|
|
@@ -2468,6 +2469,7 @@ declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
|
|
|
2468
2469
|
private _rounded;
|
|
2469
2470
|
private _fillMode;
|
|
2470
2471
|
private _themeColor;
|
|
2472
|
+
private _isListening;
|
|
2471
2473
|
private _focused;
|
|
2472
2474
|
private _direction;
|
|
2473
2475
|
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": 1784618624,
|
|
11
|
+
"version": "25.0.0-develop.7",
|
|
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.7",
|
|
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": 1784618624,
|
|
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.7",
|
|
70
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.7",
|
|
71
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.7",
|
|
72
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.7",
|
|
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.7",
|
|
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"
|