@progress/kendo-vue-inputs 6.0.2-develop.1 → 6.1.0-develop.2

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 (105) hide show
  1. package/README.md +1 -1
  2. package/checkbox/Checkbox.js +1 -1
  3. package/checkbox/Checkbox.mjs +1 -1
  4. package/colors/ColorContrastLabels.js +1 -1
  5. package/colors/ColorContrastLabels.mjs +1 -1
  6. package/colors/ColorContrastSvg.js +1 -1
  7. package/colors/ColorContrastSvg.mjs +1 -1
  8. package/colors/ColorGradient.js +1 -1
  9. package/colors/ColorGradient.mjs +1 -1
  10. package/colors/ColorInput.js +1 -1
  11. package/colors/ColorInput.mjs +1 -1
  12. package/colors/ColorPalette.js +1 -1
  13. package/colors/ColorPalette.mjs +1 -1
  14. package/colors/ColorPicker.js +1 -1
  15. package/colors/ColorPicker.mjs +1 -1
  16. package/colors/FlatColorPicker.js +1 -1
  17. package/colors/FlatColorPicker.mjs +1 -1
  18. package/colors/HexInput.js +1 -1
  19. package/colors/HexInput.mjs +1 -1
  20. package/colors/Picker.js +1 -1
  21. package/colors/Picker.mjs +1 -1
  22. package/colors/models/palette-presets.js +1 -1
  23. package/colors/models/palette-presets.mjs +1 -1
  24. package/colors/utils/color-cache.js +1 -1
  25. package/colors/utils/color-cache.mjs +1 -1
  26. package/colors/utils/color-palette.service.js +1 -1
  27. package/colors/utils/color-palette.service.mjs +1 -1
  28. package/colors/utils/color-parser.js +1 -1
  29. package/colors/utils/color-parser.mjs +1 -1
  30. package/colors/utils/misc.js +1 -1
  31. package/colors/utils/misc.mjs +1 -1
  32. package/colors/utils/svg-calc.js +1 -1
  33. package/colors/utils/svg-calc.mjs +1 -1
  34. package/dist/cdn/js/kendo-vue-inputs.js +2 -2
  35. package/index.d.mts +111 -81
  36. package/index.d.ts +111 -81
  37. package/index.js +1 -1
  38. package/index.mjs +1 -1
  39. package/input/Input.js +1 -1
  40. package/input/Input.mjs +1 -1
  41. package/input-separator/InputSeparator.js +1 -1
  42. package/input-separator/InputSeparator.mjs +1 -1
  43. package/maskedtextbox/MaskedTextBox.js +2 -2
  44. package/maskedtextbox/MaskedTextBox.mjs +44 -41
  45. package/maskedtextbox/masking.service.js +1 -1
  46. package/maskedtextbox/masking.service.mjs +1 -1
  47. package/maskedtextbox/parsing/combinators.js +1 -1
  48. package/maskedtextbox/parsing/combinators.mjs +1 -1
  49. package/maskedtextbox/parsing/parsers.js +1 -1
  50. package/maskedtextbox/parsing/parsers.mjs +1 -1
  51. package/maskedtextbox/parsing/result.js +1 -1
  52. package/maskedtextbox/parsing/result.mjs +1 -1
  53. package/maskedtextbox/parsing/stream.js +1 -1
  54. package/maskedtextbox/parsing/stream.mjs +1 -1
  55. package/maskedtextbox/utils.js +1 -1
  56. package/maskedtextbox/utils.mjs +1 -1
  57. package/messages/main.js +1 -1
  58. package/messages/main.mjs +1 -1
  59. package/numerictextbox/NumericTextBox.js +2 -2
  60. package/numerictextbox/NumericTextBox.mjs +70 -68
  61. package/numerictextbox/utils/main.js +1 -1
  62. package/numerictextbox/utils/main.mjs +1 -1
  63. package/package-metadata.js +1 -1
  64. package/package-metadata.mjs +2 -2
  65. package/package.json +8 -8
  66. package/radiobutton/RadioButton.js +1 -1
  67. package/radiobutton/RadioButton.mjs +1 -1
  68. package/radiobutton/RadioGroup.js +1 -1
  69. package/radiobutton/RadioGroup.mjs +1 -1
  70. package/range-slider/RangeSlider.js +1 -1
  71. package/range-slider/RangeSlider.mjs +1 -1
  72. package/range-slider/range-raducer.js +1 -1
  73. package/range-slider/range-raducer.mjs +1 -1
  74. package/rating/Rating.js +1 -1
  75. package/rating/Rating.mjs +1 -1
  76. package/rating/RatingItem.js +1 -1
  77. package/rating/RatingItem.mjs +1 -1
  78. package/rating/utils/main.js +1 -1
  79. package/rating/utils/main.mjs +1 -1
  80. package/rating/utils/rating-reducer.js +1 -1
  81. package/rating/utils/rating-reducer.mjs +1 -1
  82. package/signature/Signature.js +1 -1
  83. package/signature/Signature.mjs +1 -1
  84. package/signature/SignatureBottomActions.js +1 -1
  85. package/signature/SignatureBottomActions.mjs +1 -1
  86. package/signature/SignatureCanvas.js +1 -1
  87. package/signature/SignatureCanvas.mjs +1 -1
  88. package/signature/SignatureDialog.js +1 -1
  89. package/signature/SignatureDialog.mjs +1 -1
  90. package/signature/SignatureLine.js +1 -1
  91. package/signature/SignatureLine.mjs +1 -1
  92. package/signature/utils/main.js +1 -1
  93. package/signature/utils/main.mjs +1 -1
  94. package/slider/Slider.js +1 -1
  95. package/slider/Slider.mjs +1 -1
  96. package/slider/SliderLabel.js +1 -1
  97. package/slider/SliderLabel.mjs +1 -1
  98. package/switch/Switch.js +1 -1
  99. package/switch/Switch.mjs +1 -1
  100. package/textarea/TextArea.js +2 -2
  101. package/textarea/TextArea.mjs +32 -29
  102. package/textarea/interfaces/TextAreaResize.js +1 -1
  103. package/textarea/interfaces/TextAreaResize.mjs +1 -1
  104. package/textbox/TextBox.js +2 -2
  105. package/textbox/TextBox.mjs +25 -22
package/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @license
3
3
  *-------------------------------------------------------------------------------------------
4
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
4
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
@@ -1895,78 +1895,83 @@ export declare const InputSeparator: DefineComponent< {}, {}, {}, {}, {}, Com
1895
1895
  */
1896
1896
  export declare const MaskedTextBox: DefineComponent<ExtractPropTypes< {
1897
1897
  type: {
1898
- type: StringConstructor;
1898
+ type: PropType<string>;
1899
1899
  default: string;
1900
1900
  };
1901
- modelValue: StringConstructor;
1902
- modelRawValue: StringConstructor;
1903
- value: StringConstructor;
1904
- defaultValue: StringConstructor;
1905
- placeholder: StringConstructor;
1906
- title: StringConstructor;
1907
- dir: StringConstructor;
1908
- id: StringConstructor;
1909
- ariaLabelledBy: StringConstructor;
1910
- ariaDescribedBy: StringConstructor;
1911
- tabIndex: NumberConstructor;
1912
- accessKey: StringConstructor;
1913
- disabled: BooleanConstructor;
1914
- readonly: BooleanConstructor;
1901
+ modelValue: PropType<string>;
1902
+ modelRawValue: PropType<string>;
1903
+ value: PropType<string>;
1904
+ defaultValue: PropType<string>;
1905
+ placeholder: PropType<string>;
1906
+ title: PropType<string>;
1907
+ dir: PropType<string>;
1908
+ id: PropType<string>;
1909
+ ariaLabelledBy: PropType<string>;
1910
+ ariaDescribedBy: PropType<string>;
1911
+ tabIndex: PropType<number>;
1912
+ accessKey: PropType<string>;
1913
+ disabled: PropType<boolean>;
1914
+ readonly: PropType<boolean>;
1915
1915
  size: {
1916
- type: StringConstructor;
1916
+ type: PropType<string>;
1917
1917
  default: string;
1918
1918
  validator: (value: any) => any;
1919
1919
  };
1920
1920
  rounded: {
1921
- type: StringConstructor;
1921
+ type: PropType<string>;
1922
1922
  default: string;
1923
1923
  validator: (value: any) => any;
1924
1924
  };
1925
1925
  fillMode: {
1926
- type: StringConstructor;
1926
+ type: PropType<string>;
1927
1927
  default: string;
1928
1928
  validator: (value: any) => any;
1929
1929
  };
1930
1930
  prompt: {
1931
- type: StringConstructor;
1931
+ type: PropType<string>;
1932
1932
  default: string;
1933
1933
  };
1934
1934
  promptPlaceholder: {
1935
- type: StringConstructor;
1935
+ type: PropType<string>;
1936
1936
  default: string;
1937
1937
  };
1938
1938
  includeLiterals: {
1939
- type: BooleanConstructor;
1939
+ type: PropType<boolean>;
1940
1940
  default: boolean;
1941
1941
  };
1942
1942
  maskValidation: {
1943
- type: BooleanConstructor;
1943
+ type: PropType<boolean>;
1944
1944
  default: boolean;
1945
1945
  };
1946
- mask: StringConstructor;
1946
+ mask: PropType<string>;
1947
1947
  rules: {
1948
- type: ObjectConstructor;
1948
+ type: PropType<{
1949
+ [key: string]: RegExp;
1950
+ }>;
1949
1951
  default: () => {
1950
1952
  [key: string]: RegExp;
1951
1953
  };
1952
1954
  };
1953
- selection: ObjectConstructor;
1954
- name: StringConstructor;
1955
- label: StringConstructor;
1956
- validationMessage: StringConstructor;
1955
+ selection: PropType<{
1956
+ start: number;
1957
+ end: number;
1958
+ }>;
1959
+ name: PropType<string>;
1960
+ label: PropType<string>;
1961
+ validationMessage: PropType<string>;
1957
1962
  required: {
1958
- type: BooleanConstructor;
1963
+ type: PropType<boolean>;
1959
1964
  default: boolean;
1960
1965
  };
1961
1966
  valid: {
1962
- type: BooleanConstructor;
1967
+ type: PropType<boolean>;
1963
1968
  default: any;
1964
1969
  };
1965
1970
  validityStyles: {
1966
- type: BooleanConstructor;
1971
+ type: PropType<boolean>;
1967
1972
  default: boolean;
1968
1973
  };
1969
- iconName: StringConstructor;
1974
+ iconName: PropType<String>;
1970
1975
  inputPrefix: {
1971
1976
  type: (ObjectConstructor | BooleanConstructor | StringConstructor | FunctionConstructor)[];
1972
1977
  default: () => any;
@@ -1975,11 +1980,12 @@ inputSuffix: {
1975
1980
  type: (ObjectConstructor | BooleanConstructor | StringConstructor | FunctionConstructor)[];
1976
1981
  default: () => any;
1977
1982
  };
1978
- showValidationIcon: BooleanConstructor;
1979
- showLoadingIcon: BooleanConstructor;
1980
- showClearButton: BooleanConstructor;
1981
- inputClass: StringConstructor;
1982
- wrapperClass: StringConstructor;
1983
+ showValidationIcon: PropType<Boolean>;
1984
+ showLoadingIcon: PropType<Boolean>;
1985
+ showClearButton: PropType<Boolean>;
1986
+ inputClass: PropType<String>;
1987
+ wrapperClass: PropType<String>;
1988
+ inputAttributes: PropType<Object>;
1983
1989
  }>, {
1984
1990
  inputRef: Ref<any, any>;
1985
1991
  }, {
@@ -2027,78 +2033,83 @@ updateService(extra?: any): void;
2027
2033
  setValidity(): void;
2028
2034
  }, ComponentOptionsMixin, ComponentOptionsMixin, ("blur" | "change" | "focus" | "changemodel" | "update:modelValue" | "update:modelRawValue")[], "blur" | "change" | "focus" | "changemodel" | "update:modelValue" | "update:modelRawValue", PublicProps, Readonly<ExtractPropTypes< {
2029
2035
  type: {
2030
- type: StringConstructor;
2036
+ type: PropType<string>;
2031
2037
  default: string;
2032
2038
  };
2033
- modelValue: StringConstructor;
2034
- modelRawValue: StringConstructor;
2035
- value: StringConstructor;
2036
- defaultValue: StringConstructor;
2037
- placeholder: StringConstructor;
2038
- title: StringConstructor;
2039
- dir: StringConstructor;
2040
- id: StringConstructor;
2041
- ariaLabelledBy: StringConstructor;
2042
- ariaDescribedBy: StringConstructor;
2043
- tabIndex: NumberConstructor;
2044
- accessKey: StringConstructor;
2045
- disabled: BooleanConstructor;
2046
- readonly: BooleanConstructor;
2039
+ modelValue: PropType<string>;
2040
+ modelRawValue: PropType<string>;
2041
+ value: PropType<string>;
2042
+ defaultValue: PropType<string>;
2043
+ placeholder: PropType<string>;
2044
+ title: PropType<string>;
2045
+ dir: PropType<string>;
2046
+ id: PropType<string>;
2047
+ ariaLabelledBy: PropType<string>;
2048
+ ariaDescribedBy: PropType<string>;
2049
+ tabIndex: PropType<number>;
2050
+ accessKey: PropType<string>;
2051
+ disabled: PropType<boolean>;
2052
+ readonly: PropType<boolean>;
2047
2053
  size: {
2048
- type: StringConstructor;
2054
+ type: PropType<string>;
2049
2055
  default: string;
2050
2056
  validator: (value: any) => any;
2051
2057
  };
2052
2058
  rounded: {
2053
- type: StringConstructor;
2059
+ type: PropType<string>;
2054
2060
  default: string;
2055
2061
  validator: (value: any) => any;
2056
2062
  };
2057
2063
  fillMode: {
2058
- type: StringConstructor;
2064
+ type: PropType<string>;
2059
2065
  default: string;
2060
2066
  validator: (value: any) => any;
2061
2067
  };
2062
2068
  prompt: {
2063
- type: StringConstructor;
2069
+ type: PropType<string>;
2064
2070
  default: string;
2065
2071
  };
2066
2072
  promptPlaceholder: {
2067
- type: StringConstructor;
2073
+ type: PropType<string>;
2068
2074
  default: string;
2069
2075
  };
2070
2076
  includeLiterals: {
2071
- type: BooleanConstructor;
2077
+ type: PropType<boolean>;
2072
2078
  default: boolean;
2073
2079
  };
2074
2080
  maskValidation: {
2075
- type: BooleanConstructor;
2081
+ type: PropType<boolean>;
2076
2082
  default: boolean;
2077
2083
  };
2078
- mask: StringConstructor;
2084
+ mask: PropType<string>;
2079
2085
  rules: {
2080
- type: ObjectConstructor;
2086
+ type: PropType<{
2087
+ [key: string]: RegExp;
2088
+ }>;
2081
2089
  default: () => {
2082
2090
  [key: string]: RegExp;
2083
2091
  };
2084
2092
  };
2085
- selection: ObjectConstructor;
2086
- name: StringConstructor;
2087
- label: StringConstructor;
2088
- validationMessage: StringConstructor;
2093
+ selection: PropType<{
2094
+ start: number;
2095
+ end: number;
2096
+ }>;
2097
+ name: PropType<string>;
2098
+ label: PropType<string>;
2099
+ validationMessage: PropType<string>;
2089
2100
  required: {
2090
- type: BooleanConstructor;
2101
+ type: PropType<boolean>;
2091
2102
  default: boolean;
2092
2103
  };
2093
2104
  valid: {
2094
- type: BooleanConstructor;
2105
+ type: PropType<boolean>;
2095
2106
  default: any;
2096
2107
  };
2097
2108
  validityStyles: {
2098
- type: BooleanConstructor;
2109
+ type: PropType<boolean>;
2099
2110
  default: boolean;
2100
2111
  };
2101
- iconName: StringConstructor;
2112
+ iconName: PropType<String>;
2102
2113
  inputPrefix: {
2103
2114
  type: (ObjectConstructor | BooleanConstructor | StringConstructor | FunctionConstructor)[];
2104
2115
  default: () => any;
@@ -2107,11 +2118,12 @@ inputSuffix: {
2107
2118
  type: (ObjectConstructor | BooleanConstructor | StringConstructor | FunctionConstructor)[];
2108
2119
  default: () => any;
2109
2120
  };
2110
- showValidationIcon: BooleanConstructor;
2111
- showLoadingIcon: BooleanConstructor;
2112
- showClearButton: BooleanConstructor;
2113
- inputClass: StringConstructor;
2114
- wrapperClass: StringConstructor;
2121
+ showValidationIcon: PropType<Boolean>;
2122
+ showLoadingIcon: PropType<Boolean>;
2123
+ showClearButton: PropType<Boolean>;
2124
+ inputClass: PropType<String>;
2125
+ wrapperClass: PropType<String>;
2126
+ inputAttributes: PropType<Object>;
2115
2127
  }>> & Readonly<{
2116
2128
  onFocus?: (...args: any[]) => any;
2117
2129
  onBlur?: (...args: any[]) => any;
@@ -2123,21 +2135,18 @@ onChangemodel?: (...args: any[]) => any;
2123
2135
  type: string;
2124
2136
  required: boolean;
2125
2137
  size: string;
2126
- disabled: boolean;
2127
2138
  rounded: string;
2128
2139
  fillMode: string;
2129
2140
  valid: boolean;
2130
2141
  validityStyles: boolean;
2131
2142
  inputPrefix: string | boolean | Function | Record<string, any>;
2132
2143
  inputSuffix: string | boolean | Function | Record<string, any>;
2133
- showValidationIcon: boolean;
2134
- showLoadingIcon: boolean;
2135
- showClearButton: boolean;
2136
2144
  prompt: string;
2137
2145
  promptPlaceholder: string;
2138
- rules: Record<string, any>;
2146
+ rules: {
2147
+ [key: string]: RegExp;
2148
+ };
2139
2149
  includeLiterals: boolean;
2140
- readonly: boolean;
2141
2150
  maskValidation: boolean;
2142
2151
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2143
2152
 
@@ -2361,6 +2370,11 @@ export declare interface MaskedTextBoxProps extends FormComponentProps {
2361
2370
  * Defines additional class to the wrapper element.
2362
2371
  */
2363
2372
  wrapperClass?: String;
2373
+ /**
2374
+ * Sets the built-in HTML attributes of the inner focusable input element.
2375
+ * Attributes which are essential for certain component functionalities cannot be changed.
2376
+ */
2377
+ inputAttributes?: Object;
2364
2378
  }
2365
2379
 
2366
2380
  /**
@@ -2434,6 +2448,7 @@ type: PropType<string>;
2434
2448
  default: string;
2435
2449
  };
2436
2450
  wrapperClass: PropType<string>;
2451
+ inputAttributes: PropType<Object>;
2437
2452
  }>, {
2438
2453
  inputRef: Ref<any, any>;
2439
2454
  elementWrapperRef: Ref<any, any>;
@@ -2580,6 +2595,7 @@ type: PropType<string>;
2580
2595
  default: string;
2581
2596
  };
2582
2597
  wrapperClass: PropType<string>;
2598
+ inputAttributes: PropType<Object>;
2583
2599
  }>> & Readonly<{
2584
2600
  onBlur?: (...args: any[] | unknown[]) => any;
2585
2601
  onChange?: (...args: any[] | unknown[]) => any;
@@ -4612,6 +4628,7 @@ type: PropType<string>;
4612
4628
  default: string;
4613
4629
  validator: (value: any) => any;
4614
4630
  };
4631
+ inputAttributes: PropType<Object>;
4615
4632
  }>, {}, {
4616
4633
  currentValue: string | number | string[];
4617
4634
  textAreaHeight: string;
@@ -4733,6 +4750,7 @@ type: PropType<string>;
4733
4750
  default: string;
4734
4751
  validator: (value: any) => any;
4735
4752
  };
4753
+ inputAttributes: PropType<Object>;
4736
4754
  }>> & Readonly<{
4737
4755
  onInput?: (...args: any[] | unknown[]) => any;
4738
4756
  onBlur?: (...args: any[] | unknown[]) => any;
@@ -4948,6 +4966,11 @@ export declare interface TextAreaProps extends FormComponentProps {
4948
4966
  * Defines additional class to the input element.
4949
4967
  */
4950
4968
  inputClass?: string;
4969
+ /**
4970
+ * Sets the built-in HTML attributes of the inner focusable input element.
4971
+ * Attributes which are essential for certain component functionalities cannot be changed.
4972
+ */
4973
+ inputAttributes?: Object;
4951
4974
  /**
4952
4975
  * The event handler that will be fired when the changes the selected value.
4953
4976
  */
@@ -5069,6 +5092,7 @@ tabIndex: PropType<number>;
5069
5092
  role: PropType<string>;
5070
5093
  title: PropType<string>;
5071
5094
  ariaLabel: PropType<string>;
5095
+ inputAttributes: PropType<Object>;
5072
5096
  }>, {
5073
5097
  inputRef: Ref<any, any>;
5074
5098
  }, {
@@ -5211,6 +5235,7 @@ tabIndex: PropType<number>;
5211
5235
  role: PropType<string>;
5212
5236
  title: PropType<string>;
5213
5237
  ariaLabel: PropType<string>;
5238
+ inputAttributes: PropType<Object>;
5214
5239
  }>> & Readonly<{
5215
5240
  onInput?: (...args: any[] | unknown[]) => any;
5216
5241
  onBlur?: (...args: any[] | unknown[]) => any;
@@ -5392,6 +5417,11 @@ export declare interface TextBoxProps extends FormComponentProps {
5392
5417
  * Defines the built-in [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-label_attribute) property of the input element inside the TextBox.
5393
5418
  */
5394
5419
  ariaLabel?: string;
5420
+ /**
5421
+ * Sets the built-in HTML attributes of the inner focusable input element.
5422
+ * Attributes which are essential for certain component functionalities cannot be changed.
5423
+ */
5424
+ inputAttributes?: Object;
5395
5425
  }
5396
5426
 
5397
5427
  /**