@progress/kendo-angular-inputs 19.3.0-develop.9 → 19.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/colorpicker/color-palette.component.d.ts +1 -1
- package/colorpicker/colorpicker.component.d.ts +1 -1
- package/common/models/gutters.d.ts +15 -9
- package/common/models/responsive-breakpoints.d.ts +16 -6
- package/esm2022/colorpicker/color-palette.component.mjs +3 -2
- package/esm2022/colorpicker/colorpicker.component.mjs +5 -4
- package/esm2022/form/form.component.mjs +22 -21
- package/esm2022/form/utils.mjs +24 -14
- package/esm2022/formfieldset/formfieldset.component.mjs +13 -18
- package/esm2022/numerictextbox/numerictextbox.component.mjs +5 -4
- package/esm2022/otpinput/otpinput.component.mjs +5 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rangeslider/rangeslider.component.mjs +5 -3
- package/esm2022/rating/rating.component.mjs +31 -26
- package/esm2022/shared/shared-events.directive.mjs +1 -1
- package/esm2022/signature/signature.component.mjs +1 -1
- package/esm2022/slider/slider.component.mjs +5 -3
- package/esm2022/switch/switch.component.mjs +2 -2
- package/esm2022/text-fields-common/text-fields-base.mjs +1 -1
- package/esm2022/textarea/models/textarea-settings.mjs +5 -0
- package/esm2022/textarea/textarea.component.mjs +28 -3
- package/fesm2022/progress-kendo-angular-inputs.mjs +141 -98
- package/form/form.component.d.ts +5 -5
- package/form/utils.d.ts +19 -14
- package/formfieldset/formfieldset.component.d.ts +3 -7
- package/index.d.ts +2 -0
- package/numerictextbox/numerictextbox.component.d.ts +1 -1
- package/package.json +13 -13
- package/rangeslider/rangeslider.component.d.ts +1 -1
- package/slider/slider.component.d.ts +1 -1
- package/text-fields-common/text-fields-base.d.ts +1 -1
- package/textarea/models/textarea-settings.d.ts +101 -0
- package/textarea/textarea.component.d.ts +6 -1
package/form/utils.d.ts
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Gutters } from '../common/models/gutters';
|
|
6
6
|
import { ResponsiveFormBreakPoint } from '../common/models/responsive-breakpoints';
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare const DEFAULT_FORM_GUTTERS: Gutters;
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare const DEFAULT_FORMFIELDSET_GUTTERS: Gutters;
|
|
7
15
|
/**
|
|
8
16
|
* @hidden
|
|
9
17
|
*/
|
|
@@ -11,7 +19,7 @@ export declare function innerWidth(element: HTMLElement): number;
|
|
|
11
19
|
/**
|
|
12
20
|
* @hidden
|
|
13
21
|
*/
|
|
14
|
-
export declare function processBreakpoints(breakpoints: ResponsiveFormBreakPoint[], containerWidth: number): number |
|
|
22
|
+
export declare function processBreakpoints(breakpoints: ResponsiveFormBreakPoint[], containerWidth: number): number | string;
|
|
15
23
|
/**
|
|
16
24
|
* @hidden
|
|
17
25
|
*/
|
|
@@ -21,16 +29,16 @@ export declare const calculateColumns: (cols: number | ResponsiveFormBreakPoint[
|
|
|
21
29
|
*
|
|
22
30
|
* Calculates gutters for rows and columns based on responsive breakpoints or fixed values
|
|
23
31
|
*/
|
|
24
|
-
export declare const calculateGutters: (gutters: number | ResponsiveFormBreakPoint[] | Gutters | undefined, containerWidth: number) => {
|
|
25
|
-
cols: number;
|
|
26
|
-
rows: number;
|
|
32
|
+
export declare const calculateGutters: (gutters: number | string | ResponsiveFormBreakPoint[] | Gutters | undefined, containerWidth: number) => {
|
|
33
|
+
cols: number | string;
|
|
34
|
+
rows: number | string;
|
|
27
35
|
} | null;
|
|
28
36
|
/**
|
|
29
37
|
* @hidden
|
|
30
38
|
*
|
|
31
39
|
* Calculates column span value based on responsive breakpoints or fixed number
|
|
32
40
|
*/
|
|
33
|
-
export declare const calculateColSpan: (colSpan: number | ResponsiveFormBreakPoint[]
|
|
41
|
+
export declare const calculateColSpan: (colSpan: number | ResponsiveFormBreakPoint[], containerWidth: number) => number | null;
|
|
34
42
|
/**
|
|
35
43
|
* @hidden
|
|
36
44
|
*
|
|
@@ -40,15 +48,12 @@ export declare const generateColumnClass: (columnsNumber: number | null) => stri
|
|
|
40
48
|
/**
|
|
41
49
|
* @hidden
|
|
42
50
|
*
|
|
43
|
-
* Generates CSS
|
|
44
|
-
*/
|
|
45
|
-
export declare const
|
|
46
|
-
cols
|
|
47
|
-
rows
|
|
48
|
-
} | null) =>
|
|
49
|
-
rows: string;
|
|
50
|
-
cols: string;
|
|
51
|
-
};
|
|
51
|
+
* Generates CSS styles for gutters based on the provided gutters object.
|
|
52
|
+
*/
|
|
53
|
+
export declare const generateGuttersStyling: (gutters: {
|
|
54
|
+
cols?: number | string;
|
|
55
|
+
rows?: number | string;
|
|
56
|
+
} | null, defaultGutters?: Gutters) => string;
|
|
52
57
|
/**
|
|
53
58
|
* @hidden
|
|
54
59
|
*
|
|
@@ -24,7 +24,7 @@ export declare class FormFieldSetComponent implements OnInit, OnChanges {
|
|
|
24
24
|
*/
|
|
25
25
|
legend: string;
|
|
26
26
|
/**
|
|
27
|
-
* Defines the number of columns the fieldset.
|
|
27
|
+
* Defines the number of columns of the fieldset.
|
|
28
28
|
* Can be a number or an array of responsive breakpoints.
|
|
29
29
|
*/
|
|
30
30
|
cols: number | ResponsiveFormBreakPoint[];
|
|
@@ -32,7 +32,7 @@ export declare class FormFieldSetComponent implements OnInit, OnChanges {
|
|
|
32
32
|
* Defines the gutters for the fieldset.
|
|
33
33
|
* You can specify gutters for rows and columns.
|
|
34
34
|
*/
|
|
35
|
-
gutters: number | ResponsiveFormBreakPoint[] | Gutters;
|
|
35
|
+
gutters: number | string | ResponsiveFormBreakPoint[] | Gutters;
|
|
36
36
|
/**
|
|
37
37
|
* Defines the colspan for the fieldset related to the parent Form component columns.
|
|
38
38
|
* Can be a number or an array of responsive breakpoints.
|
|
@@ -45,11 +45,7 @@ export declare class FormFieldSetComponent implements OnInit, OnChanges {
|
|
|
45
45
|
/**
|
|
46
46
|
* @hidden
|
|
47
47
|
*/
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @hidden
|
|
51
|
-
*/
|
|
52
|
-
colsGutterClass: string;
|
|
48
|
+
guttersStyle: string;
|
|
53
49
|
private _formColumnsNumber;
|
|
54
50
|
private _colSpanClass;
|
|
55
51
|
private _formWidth;
|
package/index.d.ts
CHANGED
|
@@ -59,12 +59,14 @@ export { Gutters } from './common/models/gutters';
|
|
|
59
59
|
export { TextBoxComponent } from './textbox/textbox.component';
|
|
60
60
|
export { TextBoxPrefixTemplateDirective } from './textbox/textbox-prefix.directive';
|
|
61
61
|
export { TextBoxSuffixTemplateDirective } from './textbox/textbox-suffix.directive';
|
|
62
|
+
export { IconShowOptions } from './textbox/models/icon-show-options';
|
|
62
63
|
export { CheckBoxComponent } from './checkbox/checkbox.component';
|
|
63
64
|
export { CheckBoxState } from './checkbox/checked-state';
|
|
64
65
|
export { RadioButtonComponent } from './radiobutton/radiobutton.component';
|
|
65
66
|
export { TextAreaComponent } from './textarea/textarea.component';
|
|
66
67
|
export { TextAreaFlow } from './textarea/models/flow';
|
|
67
68
|
export { TextAreaResize } from './textarea/models/resize';
|
|
69
|
+
export { TextAreaSettings } from './textarea/models/textarea-settings';
|
|
68
70
|
export { TextAreaPrefixComponent } from './textarea/textarea-prefix.component';
|
|
69
71
|
export { TextAreaSuffixComponent } from './textarea/textarea-suffix.component';
|
|
70
72
|
export { TextAreaAdornmentsOrientation } from './textarea/models/adornments-orientation';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "19.3.0
|
|
3
|
+
"version": "19.3.0",
|
|
4
4
|
"description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"package": {
|
|
29
29
|
"productName": "Kendo UI for Angular",
|
|
30
30
|
"productCode": "KENDOUIANGULAR",
|
|
31
|
-
"publishDate":
|
|
31
|
+
"publishDate": 1755030422,
|
|
32
32
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
"@angular/forms": "16 - 20",
|
|
40
40
|
"@angular/platform-browser": "16 - 20",
|
|
41
41
|
"@progress/kendo-drawing": "^1.21.0",
|
|
42
|
-
"@progress/kendo-licensing": "^1.
|
|
43
|
-
"@progress/kendo-angular-buttons": "19.3.0
|
|
44
|
-
"@progress/kendo-angular-common": "19.3.0
|
|
45
|
-
"@progress/kendo-angular-utils": "19.3.0
|
|
46
|
-
"@progress/kendo-angular-navigation": "19.3.0
|
|
47
|
-
"@progress/kendo-angular-dialog": "19.3.0
|
|
48
|
-
"@progress/kendo-angular-intl": "19.3.0
|
|
49
|
-
"@progress/kendo-angular-l10n": "19.3.0
|
|
50
|
-
"@progress/kendo-angular-popup": "19.3.0
|
|
51
|
-
"@progress/kendo-angular-icons": "19.3.0
|
|
42
|
+
"@progress/kendo-licensing": "^1.7.0",
|
|
43
|
+
"@progress/kendo-angular-buttons": "19.3.0",
|
|
44
|
+
"@progress/kendo-angular-common": "19.3.0",
|
|
45
|
+
"@progress/kendo-angular-utils": "19.3.0",
|
|
46
|
+
"@progress/kendo-angular-navigation": "19.3.0",
|
|
47
|
+
"@progress/kendo-angular-dialog": "19.3.0",
|
|
48
|
+
"@progress/kendo-angular-intl": "19.3.0",
|
|
49
|
+
"@progress/kendo-angular-l10n": "19.3.0",
|
|
50
|
+
"@progress/kendo-angular-popup": "19.3.0",
|
|
51
|
+
"@progress/kendo-angular-icons": "19.3.0",
|
|
52
52
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"tslib": "^2.3.1",
|
|
56
|
-
"@progress/kendo-angular-schematics": "19.3.0
|
|
56
|
+
"@progress/kendo-angular-schematics": "19.3.0",
|
|
57
57
|
"@progress/kendo-common": "^1.0.1",
|
|
58
58
|
"@progress/kendo-draggable": "^3.0.0",
|
|
59
59
|
"@progress/kendo-inputs-common": "^3.1.0"
|
|
@@ -20,7 +20,7 @@ export declare abstract class TextFieldsBase {
|
|
|
20
20
|
/**
|
|
21
21
|
* Sets the `title` attribute of the internal textarea input element of the component.
|
|
22
22
|
*/
|
|
23
|
-
title: string;
|
|
23
|
+
title: string | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Sets the disabled state of the TextArea component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_textarea#toc-managing-the-textarea-disabled-state-in-reactive-forms).
|
|
26
26
|
*
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { InputFillMode, InputRounded, InputSize } from "../../common/models";
|
|
6
|
+
import { TextAreaAdornmentsOrientation } from "./adornments-orientation";
|
|
7
|
+
import { TextAreaFlow } from "./flow";
|
|
8
|
+
import { TextAreaResize } from "./resize";
|
|
9
|
+
/**
|
|
10
|
+
* Defines the settings interface for the text area functionality used in components that integrate the TextArea component, such as the AIPrompt ([see example](slug:configuration_aiprompt#configuring-the-prompt-text-area)).
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```typescript
|
|
14
|
+
* const textareaSettings: TextAreaSettings = {
|
|
15
|
+
* rows: 5,
|
|
16
|
+
* placeholder: 'Enter your prompt here',
|
|
17
|
+
* maxlength: 1000,
|
|
18
|
+
* resizable: 'vertical'
|
|
19
|
+
* };
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export interface TextAreaSettings {
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the orientation of the TextArea adornments.
|
|
25
|
+
*/
|
|
26
|
+
adornmentsOrientation?: TextAreaAdornmentsOrientation;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the visible width of the text area in average character width.
|
|
29
|
+
*/
|
|
30
|
+
cols?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the disabled state of the TextArea component.
|
|
33
|
+
*/
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the background and border styles of the TextArea.
|
|
37
|
+
*/
|
|
38
|
+
fillMode?: InputFillMode;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies the flow direction of the TextArea sections.
|
|
41
|
+
*/
|
|
42
|
+
flow?: TextAreaFlow;
|
|
43
|
+
/**
|
|
44
|
+
* Sets the HTML attributes of the inner focusable input element.
|
|
45
|
+
*/
|
|
46
|
+
inputAttributes?: {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Sets the maximum number of characters allowed in the TextArea.
|
|
51
|
+
*/
|
|
52
|
+
maxlength?: number;
|
|
53
|
+
/**
|
|
54
|
+
* The hint that appears when the Textarea is empty.
|
|
55
|
+
*/
|
|
56
|
+
placeholder?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Sets the read-only state of the TextArea component.
|
|
59
|
+
*/
|
|
60
|
+
readonly?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Sets the resize behavior of the TextArea.
|
|
63
|
+
*/
|
|
64
|
+
resizable?: TextAreaResize;
|
|
65
|
+
/**
|
|
66
|
+
* Sets the border radius of the TextArea.
|
|
67
|
+
*/
|
|
68
|
+
rounded?: InputRounded;
|
|
69
|
+
/**
|
|
70
|
+
* Sets the visible height of the TextArea in lines.
|
|
71
|
+
*/
|
|
72
|
+
rows?: number;
|
|
73
|
+
/**
|
|
74
|
+
* Determines whether the component selects the whole value when you click the TextArea.
|
|
75
|
+
*/
|
|
76
|
+
selectOnFocus?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Shows the prefix separator in the TextArea.
|
|
79
|
+
*/
|
|
80
|
+
showPrefixSeparator?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Shows the suffix separator in the TextArea.
|
|
83
|
+
*/
|
|
84
|
+
showSuffixSeparator?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Sets the size of the TextArea. Controls the padding of the text area element.
|
|
87
|
+
*/
|
|
88
|
+
size?: InputSize;
|
|
89
|
+
/**
|
|
90
|
+
* Sets the tabindex of the component.
|
|
91
|
+
*/
|
|
92
|
+
tabindex?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Sets the title attribute of the internal TextArea input element of the component.
|
|
95
|
+
*/
|
|
96
|
+
title?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Provides a value for the TextArea component.
|
|
99
|
+
*/
|
|
100
|
+
value?: string;
|
|
101
|
+
}
|
|
@@ -74,6 +74,10 @@ export declare class TextAreaComponent extends TextFieldsBase implements Control
|
|
|
74
74
|
* Sets the maximum number of characters allowed in the text area.
|
|
75
75
|
*/
|
|
76
76
|
maxlength: number;
|
|
77
|
+
/**
|
|
78
|
+
* @hidden
|
|
79
|
+
*/
|
|
80
|
+
maxResizableRows: number;
|
|
77
81
|
/**
|
|
78
82
|
* Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
79
83
|
* @default 0
|
|
@@ -142,6 +146,7 @@ export declare class TextAreaComponent extends TextFieldsBase implements Control
|
|
|
142
146
|
*/
|
|
143
147
|
valueChange: EventEmitter<any>;
|
|
144
148
|
private initialHeight;
|
|
149
|
+
private maxResizableHeight;
|
|
145
150
|
private resizeSubscription;
|
|
146
151
|
private _size;
|
|
147
152
|
private _rounded;
|
|
@@ -233,5 +238,5 @@ export declare class TextAreaComponent extends TextFieldsBase implements Control
|
|
|
233
238
|
private handleFlow;
|
|
234
239
|
private setInputAttributes;
|
|
235
240
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
|
|
236
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "kendo-textarea", ["kendoTextArea"], { "focusableId": { "alias": "focusableId"; "required": false; }; "flow": { "alias": "flow"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "adornmentsOrientation": { "alias": "adornmentsOrientation"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "showPrefixSeparator": { "alias": "showPrefixSeparator"; "required": false; }; "showSuffixSeparator": { "alias": "showSuffixSeparator"; "required": false; }; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, ["prefix", "suffix"], ["kendo-textarea-prefix", "kendo-textarea-suffix"], true, never>;
|
|
241
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "kendo-textarea", ["kendoTextArea"], { "focusableId": { "alias": "focusableId"; "required": false; }; "flow": { "alias": "flow"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "adornmentsOrientation": { "alias": "adornmentsOrientation"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "maxResizableRows": { "alias": "maxResizableRows"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "showPrefixSeparator": { "alias": "showPrefixSeparator"; "required": false; }; "showSuffixSeparator": { "alias": "showSuffixSeparator"; "required": false; }; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, ["prefix", "suffix"], ["kendo-textarea-prefix", "kendo-textarea-suffix"], true, never>;
|
|
237
242
|
}
|