@progress/kendo-angular-inputs 15.4.0 → 15.5.0-develop.1

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.
@@ -152,6 +152,15 @@ export declare class NumericTextBoxComponent implements ControlValueAccessor, On
152
152
  */
153
153
  set fillMode(fillMode: InputFillMode);
154
154
  get fillMode(): InputFillMode;
155
+ /**
156
+ * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
157
+ */
158
+ set inputAttributes(attributes: {
159
+ [key: string]: string;
160
+ });
161
+ get inputAttributes(): {
162
+ [key: string]: string;
163
+ };
155
164
  /**
156
165
  * Fires each time the user selects a new value ([see example]({% slug overview_numerictextbox %}#toc-events)).
157
166
  */
@@ -223,6 +232,10 @@ export declare class NumericTextBoxComponent implements ControlValueAccessor, On
223
232
  private ngTouched;
224
233
  private ngValidatorChange;
225
234
  private domEvents;
235
+ private _inputAttributes;
236
+ private parsedAttributes;
237
+ private get defaultAttributes();
238
+ private get mutableAttributes();
226
239
  constructor(intl: IntlService, renderer: Renderer2, localizationService: LocalizationService, injector: Injector, ngZone: NgZone, changeDetector: ChangeDetectorRef, hostElement: ElementRef);
227
240
  ngOnInit(): void;
228
241
  ngAfterViewInit(): void;
@@ -353,6 +366,10 @@ export declare class NumericTextBoxComponent implements ControlValueAccessor, On
353
366
  * @hidden
354
367
  */
355
368
  get isControlInvalid(): boolean;
369
+ /**
370
+ * @hidden
371
+ */
372
+ get isControlRequired(): boolean;
356
373
  /**
357
374
  * @hidden
358
375
  */
@@ -392,6 +409,7 @@ export declare class NumericTextBoxComponent implements ControlValueAccessor, On
392
409
  private numberOfLeadingZeroes;
393
410
  private adjustSignificantChars;
394
411
  private handleClasses;
412
+ private setInputAttributes;
395
413
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxComponent, never>;
396
- static ɵcmp: i0.ɵɵComponentDeclaration<NumericTextBoxComponent, "kendo-numerictextbox", ["kendoNumericTextBox"], { "focusableId": "focusableId"; "disabled": "disabled"; "readonly": "readonly"; "title": "title"; "autoCorrect": "autoCorrect"; "format": "format"; "max": "max"; "min": "min"; "decimals": "decimals"; "placeholder": "placeholder"; "step": "step"; "spinners": "spinners"; "rangeValidation": "rangeValidation"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "changeValueOnScroll": "changeValueOnScroll"; "selectOnFocus": "selectOnFocus"; "value": "value"; "maxlength": "maxlength"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, ["suffixTemplate", "prefixTemplate"], never>;
414
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumericTextBoxComponent, "kendo-numerictextbox", ["kendoNumericTextBox"], { "focusableId": "focusableId"; "disabled": "disabled"; "readonly": "readonly"; "title": "title"; "autoCorrect": "autoCorrect"; "format": "format"; "max": "max"; "min": "min"; "decimals": "decimals"; "placeholder": "placeholder"; "step": "step"; "spinners": "spinners"; "rangeValidation": "rangeValidation"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "changeValueOnScroll": "changeValueOnScroll"; "selectOnFocus": "selectOnFocus"; "value": "value"; "maxlength": "maxlength"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "inputAttributes": "inputAttributes"; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; }, ["suffixTemplate", "prefixTemplate"], never>;
397
415
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-inputs",
3
- "version": "15.4.0",
3
+ "version": "15.5.0-develop.1",
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",
@@ -34,19 +34,19 @@
34
34
  "@angular/platform-browser": "13 - 17",
35
35
  "@progress/kendo-drawing": "^1.19.0",
36
36
  "@progress/kendo-licensing": "^1.0.2",
37
- "@progress/kendo-angular-buttons": "15.4.0",
38
- "@progress/kendo-angular-common": "15.4.0",
39
- "@progress/kendo-angular-dialog": "15.4.0",
40
- "@progress/kendo-angular-intl": "15.4.0",
41
- "@progress/kendo-angular-l10n": "15.4.0",
42
- "@progress/kendo-angular-popup": "15.4.0",
43
- "@progress/kendo-angular-icons": "15.4.0",
37
+ "@progress/kendo-angular-buttons": "15.5.0-develop.1",
38
+ "@progress/kendo-angular-common": "15.5.0-develop.1",
39
+ "@progress/kendo-angular-dialog": "15.5.0-develop.1",
40
+ "@progress/kendo-angular-intl": "15.5.0-develop.1",
41
+ "@progress/kendo-angular-l10n": "15.5.0-develop.1",
42
+ "@progress/kendo-angular-popup": "15.5.0-develop.1",
43
+ "@progress/kendo-angular-icons": "15.5.0-develop.1",
44
44
  "rxjs": "^6.5.3 || ^7.0.0",
45
- "@progress/kendo-angular-upload": "15.4.0"
45
+ "@progress/kendo-angular-upload": "15.5.0-develop.1"
46
46
  },
47
47
  "dependencies": {
48
48
  "tslib": "^2.3.1",
49
- "@progress/kendo-angular-schematics": "15.4.0",
49
+ "@progress/kendo-angular-schematics": "15.5.0-develop.1",
50
50
  "@progress/kendo-common": "^0.2.2",
51
51
  "@progress/kendo-draggable": "^3.0.0",
52
52
  "@progress/kendo-inputs-common": "^3.1.0"
@@ -42,6 +42,15 @@ export declare class TextAreaComponent extends TextFieldsBase implements Control
42
42
  */
43
43
  set flow(flow: TextAreaFlow);
44
44
  get flow(): TextAreaFlow;
45
+ /**
46
+ * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
47
+ */
48
+ set inputAttributes(attributes: {
49
+ [key: string]: string;
50
+ });
51
+ get inputAttributes(): {
52
+ [key: string]: string;
53
+ };
45
54
  /**
46
55
  * Specifies the orientation of the TextArea adornments. This property is used in order to specify
47
56
  * the adornments' position relative to themselves.
@@ -189,6 +198,10 @@ export declare class TextAreaComponent extends TextFieldsBase implements Control
189
198
  private _rounded;
190
199
  private _fillMode;
191
200
  private _adornmentsOrientation;
201
+ private _inputAttributes;
202
+ private parsedAttributes;
203
+ private get defaultAttributes();
204
+ private get mutableAttributes();
192
205
  constructor(localizationService: LocalizationService, ngZone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, injector: Injector, hostElement: ElementRef);
193
206
  ngAfterViewInit(): void;
194
207
  ngOnInit(): void;
@@ -223,6 +236,10 @@ export declare class TextAreaComponent extends TextFieldsBase implements Control
223
236
  * @hidden
224
237
  */
225
238
  get isControlInvalid(): boolean;
239
+ /**
240
+ * @hidden
241
+ */
242
+ get isControlRequired(): boolean;
226
243
  /**
227
244
  * @hidden
228
245
  */
@@ -276,6 +293,7 @@ export declare class TextAreaComponent extends TextFieldsBase implements Control
276
293
  private selectAll;
277
294
  private handleClasses;
278
295
  private handleFlow;
296
+ private setInputAttributes;
279
297
  static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
280
- static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "kendo-textarea", ["kendoTextArea"], { "focusableId": "focusableId"; "flow": "flow"; "adornmentsOrientation": "adornmentsOrientation"; "rows": "rows"; "cols": "cols"; "maxlength": "maxlength"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "resizable": "resizable"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "showPrefixSeparator": "showPrefixSeparator"; "showSuffixSeparator": "showSuffixSeparator"; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, ["prefix", "suffix"], ["kendo-textarea-prefix", "kendo-textarea-suffix"]>;
298
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "kendo-textarea", ["kendoTextArea"], { "focusableId": "focusableId"; "flow": "flow"; "inputAttributes": "inputAttributes"; "adornmentsOrientation": "adornmentsOrientation"; "rows": "rows"; "cols": "cols"; "maxlength": "maxlength"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; "resizable": "resizable"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "showPrefixSeparator": "showPrefixSeparator"; "showSuffixSeparator": "showSuffixSeparator"; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, ["prefix", "suffix"], ["kendo-textarea-prefix", "kendo-textarea-suffix"]>;
281
299
  }
@@ -164,6 +164,15 @@ export declare class TextBoxComponent implements ControlValueAccessor {
164
164
  * Specifies the maximum length of the TextBox value.
165
165
  */
166
166
  maxlength: number;
167
+ /**
168
+ * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
169
+ */
170
+ set inputAttributes(attributes: {
171
+ [key: string]: string;
172
+ });
173
+ get inputAttributes(): {
174
+ [key: string]: string;
175
+ };
167
176
  /**
168
177
  * Fires each time the value is changed&mdash;
169
178
  * when the component is blurred or the value is cleared through the **Clear** button
@@ -266,9 +275,12 @@ export declare class TextBoxComponent implements ControlValueAccessor {
266
275
  protected subscriptions: Subscription;
267
276
  private _isFocused;
268
277
  private focusChangedProgrammatically;
278
+ private _inputAttributes;
269
279
  private _size;
270
280
  private _rounded;
271
281
  private _fillMode;
282
+ private parsedAttributes;
283
+ private get defaultAttributes();
272
284
  constructor(localizationService: LocalizationService, ngZone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, injector: Injector, hostElement: ElementRef);
273
285
  ngOnInit(): void;
274
286
  ngAfterViewInit(): void;
@@ -395,6 +407,10 @@ export declare class TextBoxComponent implements ControlValueAccessor {
395
407
  * @hidden
396
408
  */
397
409
  set isFocused(value: boolean);
410
+ /**
411
+ * @hidden
412
+ */
413
+ get isControlRequired(): boolean;
398
414
  private ngChange;
399
415
  private ngTouched;
400
416
  private setSelection;
@@ -410,6 +426,7 @@ export declare class TextBoxComponent implements ControlValueAccessor {
410
426
  handleBlur(): void;
411
427
  private handleClasses;
412
428
  private configureAdornments;
429
+ private setInputAttributes;
413
430
  static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
414
- static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "kendo-textbox", ["kendoTextBox"], { "focusableId": "focusableId"; "title": "title"; "type": "type"; "disabled": "disabled"; "readonly": "readonly"; "tabindex": "tabindex"; "value": "value"; "selectOnFocus": "selectOnFocus"; "showSuccessIcon": "showSuccessIcon"; "showErrorIcon": "showErrorIcon"; "clearButton": "clearButton"; "successIcon": "successIcon"; "successSvgIcon": "successSvgIcon"; "errorIcon": "errorIcon"; "errorSvgIcon": "errorSvgIcon"; "clearButtonIcon": "clearButtonIcon"; "clearButtonSvgIcon": "clearButtonSvgIcon"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "tabIndex": "tabIndex"; "placeholder": "placeholder"; "maxlength": "maxlength"; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "onFocus": "focus"; "onBlur": "blur"; }, ["suffixTemplate", "prefixTemplate", "textBoxSuffixTemplate", "textBoxPrefixTemplate"], never>;
431
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "kendo-textbox", ["kendoTextBox"], { "focusableId": "focusableId"; "title": "title"; "type": "type"; "disabled": "disabled"; "readonly": "readonly"; "tabindex": "tabindex"; "value": "value"; "selectOnFocus": "selectOnFocus"; "showSuccessIcon": "showSuccessIcon"; "showErrorIcon": "showErrorIcon"; "clearButton": "clearButton"; "successIcon": "successIcon"; "successSvgIcon": "successSvgIcon"; "errorIcon": "errorIcon"; "errorSvgIcon": "errorSvgIcon"; "clearButtonIcon": "clearButtonIcon"; "clearButtonSvgIcon": "clearButtonSvgIcon"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "tabIndex": "tabIndex"; "placeholder": "placeholder"; "maxlength": "maxlength"; "inputAttributes": "inputAttributes"; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "onFocus": "focus"; "onBlur": "blur"; }, ["suffixTemplate", "prefixTemplate", "textBoxSuffixTemplate", "textBoxPrefixTemplate"], never>;
415
432
  }