@progress/kendo-angular-buttons 22.1.0-develop.9 → 23.0.0-develop.10

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.
Files changed (37) hide show
  1. package/README.md +2 -1
  2. package/button/button.component.d.ts +7 -16
  3. package/button/selection-settings.d.ts +1 -1
  4. package/buttons.module.d.ts +2 -1
  5. package/chip/chip-list.component.d.ts +1 -3
  6. package/chip/chip.component.d.ts +7 -15
  7. package/common/models/fillmode.d.ts +2 -2
  8. package/common/models/size.d.ts +2 -2
  9. package/common/models/theme-color.d.ts +3 -5
  10. package/directives.d.ts +16 -1
  11. package/dropdownbutton/dropdownbutton.component.d.ts +5 -9
  12. package/fesm2022/progress-kendo-angular-buttons.mjs +1112 -442
  13. package/floatingactionbutton/floatingactionbutton.component.d.ts +10 -14
  14. package/floatingactionbutton/models/align.d.ts +1 -1
  15. package/floatingactionbutton/models/item-animation.interface.d.ts +1 -1
  16. package/floatingactionbutton/models/item-click.event.d.ts +1 -1
  17. package/floatingactionbutton/models/item.interface.d.ts +2 -2
  18. package/floatingactionbutton/models/offset.d.ts +1 -1
  19. package/floatingactionbutton/models/position-mode.d.ts +1 -1
  20. package/floatingactionbutton/templates/dial-item-template.directive.d.ts +1 -1
  21. package/floatingactionbutton/templates/fab-template.directive.d.ts +1 -1
  22. package/index.d.ts +3 -0
  23. package/listbutton/button-item-template.directive.d.ts +1 -1
  24. package/listbutton/list-item-model.d.ts +1 -1
  25. package/package-metadata.mjs +2 -2
  26. package/package.json +8 -7
  27. package/smartpastebutton/models/form-field.d.ts +40 -0
  28. package/smartpastebutton/models/index.d.ts +6 -0
  29. package/smartpastebutton/models/service-settings.d.ts +108 -0
  30. package/smartpastebutton/smartpastebutton.component.d.ts +175 -0
  31. package/smartpastebutton/smartpastebutton.module.d.ts +27 -0
  32. package/smartpastebutton/utils.d.ts +50 -0
  33. package/speechtotextbutton/models/speechtotextbutton-settings.d.ts +1 -1
  34. package/speechtotextbutton/speechtotextbutton.component.d.ts +5 -11
  35. package/splitbutton/localization/custom-messages.component.d.ts +1 -1
  36. package/splitbutton/splitbutton.component.d.ts +9 -17
  37. package/util.d.ts +2 -2
@@ -0,0 +1,50 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { SmartPasteCustomInput } from "@progress/kendo-smartpaste-common";
6
+ import { HttpClient, HttpResponse } from "@angular/common/http";
7
+ import { Observable } from "rxjs";
8
+ import { SmartPasteAIResponse } from './models';
9
+ /**
10
+ * Checks if a field should be ignored during Smart Paste.
11
+ *
12
+ * @hidden
13
+ */
14
+ export declare function isFieldIgnored(element: Element | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement): boolean;
15
+ /**
16
+ * @hidden
17
+ */
18
+ export declare const getElementIdentifier: (element: HTMLElement) => string | null;
19
+ /**
20
+ * Specifies custom inputs (Kendo components) to include in Smart Paste.
21
+ * Each custom input has an identifier used to detect the component.
22
+ * Defaults to common Kendo UI components (DropDownList, ComboBox, AutoComplete, MultiSelect, DatePicker, etc.).
23
+ *
24
+ * @hidden
25
+ */
26
+ export declare const customInputs: SmartPasteCustomInput[];
27
+ /**
28
+ * @hidden
29
+ */
30
+ export declare const requiresDateValue: (element: HTMLElement) => boolean;
31
+ /**
32
+ * @hidden
33
+ */
34
+ export declare const requiresBooleanValue: (element: HTMLElement) => boolean;
35
+ /**
36
+ * @hidden
37
+ */
38
+ export declare const requiresNumericValue: (element: HTMLElement) => boolean;
39
+ /**
40
+ * @hidden
41
+ */
42
+ export declare const populateCustomInputs: (element: HTMLElement, value: any) => any;
43
+ /**
44
+ * @hidden
45
+ */
46
+ export declare const readClipboard: () => Promise<string>;
47
+ /**
48
+ * @hidden
49
+ */
50
+ export declare const sendSmartPasteRequest: (http: HttpClient, requestData: any) => Observable<HttpResponse<SmartPasteAIResponse>>;
@@ -5,7 +5,7 @@
5
5
  import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from "../../common/models";
6
6
  import { IntegrationMode } from "./integration-mode";
7
7
  /**
8
- * Defines the settings interface for the speech-to-text functionality used in components that integrate the SpeechToTextButton component, such as the AIPrompt ([see example](slug:configuration_aiprompt#enabling-speech-to-text)).
8
+ * Defines the settings interface for the speech-to-text functionality used in components that integrate the SpeechToTextButton component, such as the AIPrompt ([see example](https://www.telerik.com/kendo-angular-ui/components/conversational-ui/aiprompt/configuration#enabling-speech-to-text)).
9
9
  *
10
10
  * @example
11
11
  * ```typescript
@@ -30,31 +30,26 @@ export declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
30
30
  set disabled(disabled: boolean);
31
31
  get disabled(): boolean;
32
32
  /**
33
- * Sets the padding of the SpeechToTextButton.
33
+ * Sets the padding of the SpeechToTextButton. The default value is set by the Kendo theme.
34
34
  *
35
- * @default 'medium'
36
35
  */
37
36
  set size(size: ButtonSize);
38
37
  get size(): ButtonSize;
39
38
  /**
40
- * Sets the border radius of the SpeechToTextButton.
39
+ * Sets the border radius of the SpeechToTextButton. The default value is set by the Kendo theme.
41
40
  *
42
- * @default 'medium'
43
41
  */
44
42
  set rounded(rounded: ButtonRounded);
45
43
  get rounded(): ButtonRounded;
46
44
  /**
47
- * Sets the background and border styles of the SpeechToTextButton.
48
- *
49
- * @default 'solid'
45
+ * Sets the background and border styles of the SpeechToTextButton. The default value is set by the Kendo theme.
50
46
  */
51
47
  set fillMode(fillMode: ButtonFillMode);
52
48
  get fillMode(): ButtonFillMode;
53
49
  /**
54
- * Sets a predefined theme color for the SpeechToTextButton.
55
- * The theme color applies as a background and border color and adjusts the text color.
50
+ * Sets a predefined theme color for the SpeechToTextButton. The default value is set by the Kendo theme.
51
+ * The theme color applies as a background and border color and adjusts the text color for contrast.
56
52
  *
57
- * @default 'base'
58
53
  */
59
54
  set themeColor(themeColor: ButtonThemeColor);
60
55
  get themeColor(): ButtonThemeColor;
@@ -131,7 +126,6 @@ export declare class SpeechToTextButtonComponent implements OnInit, OnDestroy {
131
126
  blur(): void;
132
127
  ngOnInit(): void;
133
128
  ngOnChanges(changes: any): void;
134
- ngAfterViewInit(): void;
135
129
  ngOnDestroy(): void;
136
130
  constructor(element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
137
131
  /**
@@ -7,7 +7,7 @@ import { Messages } from './messages';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Represents a custom component for overriding the default SplitButton messages.
10
- * ([see example]({% slug rtl_buttons %})).
10
+ * ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/globalization)).
11
11
  */
12
12
  export declare class SplitButtonCustomMessagesComponent extends Messages {
13
13
  protected service: LocalizationService;
@@ -52,7 +52,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
52
52
  */
53
53
  text: string;
54
54
  /**
55
- * Specifies an icon to display next to the button text ([see example]({% slug databinding_splitbutton %}#arrays-of-complex-data)).
55
+ * Specifies an icon to display next to the button text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
56
56
  */
57
57
  icon: string;
58
58
  /**
@@ -60,7 +60,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
60
60
  */
61
61
  svgIcon: SVGIcon;
62
62
  /**
63
- * Specifies a custom CSS class for the icon displayed next to the button text ([see example]({% slug databinding_splitbutton %}#arrays-of-complex-data)).
63
+ * Specifies a custom CSS class for the icon displayed next to the button text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
64
64
  */
65
65
  iconClass: string;
66
66
  /**
@@ -68,37 +68,29 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
68
68
  */
69
69
  type: string;
70
70
  /**
71
- * Specifies the URL of an image to display next to the button text ([see example]({% slug databinding_splitbutton %}#arrays-of-complex-data)).
71
+ * Specifies the URL of an image to display next to the button text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
72
72
  */
73
73
  imageUrl: string;
74
74
  /**
75
- * Configures the padding of the SplitButton ([see example]({% slug api_buttons_splitbuttoncomponent %}#size)).
76
- *
77
- * @default 'medium'
75
+ * Configures the padding of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#size)). The default value is set by the Kendo theme.
78
76
  */
79
77
  size: ButtonSize;
80
78
  /**
81
- * Configures the border radius of the SplitButton ([see example]({% slug api_buttons_splitbuttoncomponent %}#rounded)).
82
- *
83
- * @default 'medium'
79
+ * Configures the border radius of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#rounded)). The default value is set by the Kendo theme.
84
80
  */
85
81
  set rounded(rounded: ButtonRounded);
86
82
  get rounded(): ButtonRounded;
87
83
  /**
88
- * Configures the background and border styles of the SplitButton ([see example]({% slug api_buttons_splitbuttoncomponent %}#fillMode)).
89
- *
90
- * @default 'solid'
84
+ * Configures the background and border styles of the SplitButton ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#fillmode)). The default value is set by the Kendo theme.
91
85
  */
92
86
  set fillMode(fillMode: ButtonFillMode);
93
87
  get fillMode(): ButtonFillMode;
94
88
  /**
95
- * Configures the theme color of the SplitButton. The theme color applies to the background, border, and text ([see example]({% slug api_buttons_splitbuttoncomponent %}#themeColor)).
96
- *
97
- * @default 'base'
89
+ * Configures the theme color of the SplitButton. The theme color applies to the background, border, and text ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/api/splitbuttoncomponent#themecolor)). The default value is set by the Kendo theme.
98
90
  */
99
91
  themeColor: ButtonThemeColor;
100
92
  /**
101
- * Disables the SplitButton when set to `true` ([see example]({% slug databinding_splitbutton %}#arrays-of-complex-data)).
93
+ * Disables the SplitButton when set to `true` ([see example](https://www.telerik.com/kendo-angular-ui/components/buttons/splitbutton/data-binding#arrays-of-complex-data)).
102
94
  */
103
95
  set disabled(value: boolean);
104
96
  get disabled(): boolean;
@@ -130,7 +122,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
130
122
  */
131
123
  arrowButtonIcon: string;
132
124
  /**
133
- * Specifies the [`SVGIcon`](slug:api_icons_svgiconcomponent) displayed on the button that opens the popup.
125
+ * Specifies the [`SVGIcon`](https://www.telerik.com/kendo-angular-ui/components/icons/api/svgiconcomponent) displayed on the button that opens the popup.
134
126
  */
135
127
  arrowButtonSvgIcon: SVGIcon;
136
128
  /**
package/util.d.ts CHANGED
@@ -27,7 +27,7 @@ export declare const SIZES: {
27
27
  /**
28
28
  * @hidden
29
29
  *
30
- * Returns the styling classes to be added and removed
30
+ * Returns the styling classes to be added and removed.
31
31
  */
32
32
  export declare const getStylingClasses: (componentType: any, stylingOption: string, previousValue: any, newValue: any) => ButtonStylingClasses;
33
33
  /**
@@ -35,7 +35,7 @@ export declare const getStylingClasses: (componentType: any, stylingOption: stri
35
35
  *
36
36
  * Returns the themeColor classes to be added and removed
37
37
  */
38
- export declare const getThemeColorClasses: (componentType: any, prevFillMode: any, fillMode: any, previousValue: any, newValue: any) => ButtonStylingClasses;
38
+ export declare const getThemeColorClasses: (componentType: any, previousValue: any, newValue: any) => ButtonStylingClasses;
39
39
  /**
40
40
  * @hidden
41
41
  */