@progress/kendo-angular-inputs 13.2.1-develop.11 → 13.2.1-develop.13

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 (289) hide show
  1. package/LICENSE.md +11 -0
  2. package/NOTICE.txt +654 -0
  3. package/README.md +184 -0
  4. package/checkbox/checkbox.directive.d.ts +52 -0
  5. package/checkbox.module.d.ts +43 -0
  6. package/colorpicker/color-contrast-svg.component.d.ts +29 -0
  7. package/colorpicker/color-gradient-numeric-label.directive.d.ts +20 -0
  8. package/colorpicker/color-gradient.component.d.ts +281 -0
  9. package/colorpicker/color-input.component.d.ts +95 -0
  10. package/colorpicker/color-palette.component.d.ts +221 -0
  11. package/colorpicker/colorpicker.component.d.ts +383 -0
  12. package/colorpicker/constants.d.ts +41 -0
  13. package/colorpicker/contrast-validation.component.d.ts +24 -0
  14. package/colorpicker/contrast.component.d.ts +25 -0
  15. package/colorpicker/events/active-color-click-event.d.ts +53 -0
  16. package/colorpicker/events/cancel-event.d.ts +15 -0
  17. package/colorpicker/events/close-event.d.ts +10 -0
  18. package/colorpicker/events/kendo-drag-event.d.ts +21 -0
  19. package/colorpicker/events/open-event.d.ts +10 -0
  20. package/colorpicker/events.d.ts +8 -0
  21. package/colorpicker/flatcolorpicker-actions.component.d.ts +24 -0
  22. package/colorpicker/flatcolorpicker-header.component.d.ts +43 -0
  23. package/colorpicker/flatcolorpicker.component.d.ts +267 -0
  24. package/colorpicker/focus-on-dom-ready.directive.d.ts +18 -0
  25. package/colorpicker/localization/colorgradient-localization.service.d.ts +17 -0
  26. package/colorpicker/localization/colorpalette-localization.service.d.ts +17 -0
  27. package/colorpicker/localization/colorpicker-localization.service.d.ts +14 -0
  28. package/colorpicker/localization/custom-messages.component.d.ts +17 -0
  29. package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +17 -0
  30. package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +16 -0
  31. package/colorpicker/localization/messages.d.ts +121 -0
  32. package/colorpicker/models/actions-layout.d.ts +8 -0
  33. package/colorpicker/models/colorpicker-view.d.ts +8 -0
  34. package/colorpicker/models/gradient-settings.d.ts +35 -0
  35. package/colorpicker/models/hsva.d.ts +13 -0
  36. package/colorpicker/models/output-format.d.ts +8 -0
  37. package/colorpicker/models/palette-presets.d.ts +61 -0
  38. package/colorpicker/models/palette-settings.d.ts +33 -0
  39. package/colorpicker/models/popup-settings.d.ts +18 -0
  40. package/colorpicker/models/rgb.d.ts +12 -0
  41. package/colorpicker/models/rgba.d.ts +13 -0
  42. package/colorpicker/models/table-cell.d.ts +11 -0
  43. package/colorpicker/models/tile-size.d.ts +11 -0
  44. package/colorpicker/models.d.ts +16 -0
  45. package/colorpicker/services/color-palette.service.d.ts +19 -0
  46. package/colorpicker/services/flatcolorpicker.service.d.ts +15 -0
  47. package/colorpicker/utils/color-parser.d.ts +77 -0
  48. package/colorpicker/utils/contrast-curve.d.ts +37 -0
  49. package/colorpicker/utils.d.ts +6 -0
  50. package/colorpicker.module.d.ts +35 -0
  51. package/common/dom-utils.d.ts +25 -0
  52. package/common/math.d.ts +36 -0
  53. package/common/models/fillmode.d.ts +9 -0
  54. package/common/models/rounded.d.ts +14 -0
  55. package/common/models/size.d.ts +9 -0
  56. package/common/models/styling-classes.d.ts +11 -0
  57. package/common/models.d.ts +8 -0
  58. package/common/utils.d.ts +56 -0
  59. package/esm2020/checkbox/checkbox.directive.mjs +94 -0
  60. package/esm2020/checkbox.module.mjs +52 -0
  61. package/esm2020/colorpicker/color-contrast-svg.component.mjs +97 -0
  62. package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +31 -0
  63. package/esm2020/colorpicker/color-gradient.component.mjs +1003 -0
  64. package/esm2020/colorpicker/color-input.component.mjs +433 -0
  65. package/esm2020/colorpicker/color-palette.component.mjs +553 -0
  66. package/esm2020/colorpicker/colorpicker.component.mjs +1086 -0
  67. package/esm2020/colorpicker/constants.mjs +40 -0
  68. package/esm2020/colorpicker/contrast-validation.component.mjs +72 -0
  69. package/esm2020/colorpicker/contrast.component.mjs +100 -0
  70. package/esm2020/colorpicker/events/active-color-click-event.mjs +58 -0
  71. package/esm2020/colorpicker/events/cancel-event.mjs +14 -0
  72. package/esm2020/colorpicker/events/close-event.mjs +10 -0
  73. package/esm2020/colorpicker/events/kendo-drag-event.mjs +5 -0
  74. package/esm2020/colorpicker/events/open-event.mjs +10 -0
  75. package/esm2020/colorpicker/events.mjs +8 -0
  76. package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +93 -0
  77. package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +217 -0
  78. package/esm2020/colorpicker/flatcolorpicker.component.mjs +829 -0
  79. package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +29 -0
  80. package/esm2020/colorpicker/localization/colorgradient-localization.service.mjs +45 -0
  81. package/esm2020/colorpicker/localization/colorpalette-localization.service.mjs +45 -0
  82. package/esm2020/colorpicker/localization/colorpicker-localization.service.mjs +31 -0
  83. package/esm2020/colorpicker/localization/custom-messages.component.mjs +41 -0
  84. package/esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs +45 -0
  85. package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +37 -0
  86. package/esm2020/colorpicker/localization/messages.mjs +75 -0
  87. package/esm2020/colorpicker/models/actions-layout.mjs +5 -0
  88. package/esm2020/colorpicker/models/colorpicker-view.mjs +5 -0
  89. package/esm2020/colorpicker/models/gradient-settings.mjs +5 -0
  90. package/esm2020/colorpicker/models/hsva.mjs +5 -0
  91. package/esm2020/colorpicker/models/output-format.mjs +5 -0
  92. package/esm2020/colorpicker/models/palette-presets.mjs +62 -0
  93. package/esm2020/colorpicker/models/palette-settings.mjs +5 -0
  94. package/esm2020/colorpicker/models/popup-settings.mjs +5 -0
  95. package/esm2020/colorpicker/models/rgb.mjs +5 -0
  96. package/esm2020/colorpicker/models/rgba.mjs +5 -0
  97. package/esm2020/colorpicker/models/table-cell.mjs +5 -0
  98. package/esm2020/colorpicker/models/tile-size.mjs +6 -0
  99. package/esm2020/colorpicker/models.mjs +16 -0
  100. package/esm2020/colorpicker/services/color-palette.service.mjs +67 -0
  101. package/esm2020/colorpicker/services/flatcolorpicker.service.mjs +39 -0
  102. package/esm2020/colorpicker/utils/color-parser.mjs +164 -0
  103. package/esm2020/colorpicker/utils/contrast-curve.mjs +85 -0
  104. package/esm2020/colorpicker/utils.mjs +6 -0
  105. package/esm2020/colorpicker.module.mjs +104 -0
  106. package/esm2020/common/dom-utils.mjs +36 -0
  107. package/esm2020/common/math.mjs +65 -0
  108. package/esm2020/common/models/fillmode.mjs +5 -0
  109. package/esm2020/common/models/rounded.mjs +5 -0
  110. package/esm2020/common/models/size.mjs +5 -0
  111. package/esm2020/common/models/styling-classes.mjs +5 -0
  112. package/esm2020/common/models.mjs +8 -0
  113. package/esm2020/common/utils.mjs +81 -0
  114. package/esm2020/formfield/error.component.mjs +68 -0
  115. package/esm2020/formfield/formfield.component.mjs +284 -0
  116. package/esm2020/formfield/hint.component.mjs +63 -0
  117. package/esm2020/formfield/models/message-align.mjs +5 -0
  118. package/esm2020/formfield/models/orientation.mjs +5 -0
  119. package/esm2020/formfield/models/show-options.mjs +5 -0
  120. package/esm2020/formfield.module.mjs +54 -0
  121. package/esm2020/index.mjs +66 -0
  122. package/esm2020/inputs.module.mjs +98 -0
  123. package/esm2020/maskedtextbox/maskedtextbox.component.mjs +711 -0
  124. package/esm2020/maskedtextbox/masking.service.mjs +191 -0
  125. package/esm2020/maskedtextbox/parsing/combinators.mjs +28 -0
  126. package/esm2020/maskedtextbox/parsing/parsers.mjs +147 -0
  127. package/esm2020/maskedtextbox/parsing/result.mjs +41 -0
  128. package/esm2020/maskedtextbox/parsing/stream.mjs +41 -0
  129. package/esm2020/maskedtextbox.module.mjs +53 -0
  130. package/esm2020/numerictextbox/arrow-direction.mjs +13 -0
  131. package/esm2020/numerictextbox/constants.mjs +28 -0
  132. package/esm2020/numerictextbox/localization/custom-messages.component.mjs +41 -0
  133. package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +37 -0
  134. package/esm2020/numerictextbox/localization/messages.mjs +25 -0
  135. package/esm2020/numerictextbox/numerictextbox.component.mjs +1105 -0
  136. package/esm2020/numerictextbox/utils.mjs +92 -0
  137. package/esm2020/numerictextbox.module.mjs +66 -0
  138. package/esm2020/package-metadata.mjs +15 -0
  139. package/esm2020/progress-kendo-angular-inputs.mjs +8 -0
  140. package/esm2020/radiobutton/radiobutton.directive.mjs +76 -0
  141. package/esm2020/radiobutton.module.mjs +52 -0
  142. package/esm2020/rangeslider/localization/custom-messages.component.mjs +41 -0
  143. package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +37 -0
  144. package/esm2020/rangeslider/localization/messages.mjs +25 -0
  145. package/esm2020/rangeslider/rangeslider-model.mjs +52 -0
  146. package/esm2020/rangeslider/rangeslider-value.type.mjs +5 -0
  147. package/esm2020/rangeslider/rangeslider.component.mjs +605 -0
  148. package/esm2020/rangeslider.module.mjs +71 -0
  149. package/esm2020/shared/input-separator.component.mjs +41 -0
  150. package/esm2020/shared/textarea.directive.mjs +260 -0
  151. package/esm2020/shared/utils.mjs +13 -0
  152. package/esm2020/shared.module.mjs +32 -0
  153. package/esm2020/signature/events/close-event.mjs +10 -0
  154. package/esm2020/signature/events/index.mjs +6 -0
  155. package/esm2020/signature/events/open-event.mjs +10 -0
  156. package/esm2020/signature/localization/custom-messages.component.mjs +41 -0
  157. package/esm2020/signature/localization/index.mjs +7 -0
  158. package/esm2020/signature/localization/localized-signature-messages.directive.mjs +37 -0
  159. package/esm2020/signature/localization/messages.mjs +29 -0
  160. package/esm2020/signature/signature.component.mjs +906 -0
  161. package/esm2020/signature.module.mjs +79 -0
  162. package/esm2020/slider/localization/custom-messages.component.mjs +41 -0
  163. package/esm2020/slider/localization/localized-slider-messages.directive.mjs +37 -0
  164. package/esm2020/slider/localization/messages.mjs +27 -0
  165. package/esm2020/slider/slider-model.mjs +34 -0
  166. package/esm2020/slider/slider.component.mjs +646 -0
  167. package/esm2020/slider.module.mjs +73 -0
  168. package/esm2020/sliders-common/label-template.directive.mjs +45 -0
  169. package/esm2020/sliders-common/slider-base.mjs +255 -0
  170. package/esm2020/sliders-common/slider-model.base.mjs +93 -0
  171. package/esm2020/sliders-common/slider-ticks.component.mjs +125 -0
  172. package/esm2020/sliders-common/sliders-common.module.mjs +42 -0
  173. package/esm2020/sliders-common/sliders-util.mjs +219 -0
  174. package/esm2020/sliders-common/title-callback.mjs +5 -0
  175. package/esm2020/switch/events/blur-event.mjs +9 -0
  176. package/esm2020/switch/events/focus-event.mjs +9 -0
  177. package/esm2020/switch/localization/custom-messages.component.mjs +41 -0
  178. package/esm2020/switch/localization/localized-switch-messages.directive.mjs +37 -0
  179. package/esm2020/switch/localization/messages.mjs +25 -0
  180. package/esm2020/switch/switch.component.mjs +577 -0
  181. package/esm2020/switch.module.mjs +68 -0
  182. package/esm2020/text-fields-common/text-fields-base.mjs +128 -0
  183. package/esm2020/textarea/models/flow.mjs +5 -0
  184. package/esm2020/textarea/models/resize.mjs +5 -0
  185. package/esm2020/textarea/textarea-suffix.component.mjs +40 -0
  186. package/esm2020/textarea/textarea.component.mjs +604 -0
  187. package/esm2020/textarea.module.mjs +68 -0
  188. package/esm2020/textbox/localization/custom-messages.component.mjs +41 -0
  189. package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +37 -0
  190. package/esm2020/textbox/localization/messages.mjs +23 -0
  191. package/esm2020/textbox/models/icon-show-options.mjs +5 -0
  192. package/esm2020/textbox/textbox-prefix.directive.mjs +38 -0
  193. package/esm2020/textbox/textbox-suffix.directive.mjs +37 -0
  194. package/esm2020/textbox/textbox.component.mjs +849 -0
  195. package/esm2020/textbox/textbox.directive.mjs +121 -0
  196. package/esm2020/textbox.module.mjs +89 -0
  197. package/esm2020/validators/max.validator.mjs +21 -0
  198. package/esm2020/validators/min.validator.mjs +21 -0
  199. package/fesm2015/progress-kendo-angular-inputs.mjs +15090 -0
  200. package/fesm2020/progress-kendo-angular-inputs.mjs +15055 -0
  201. package/formfield/error.component.d.ts +31 -0
  202. package/formfield/formfield.component.d.ts +98 -0
  203. package/formfield/hint.component.d.ts +29 -0
  204. package/formfield/models/message-align.d.ts +8 -0
  205. package/formfield/models/orientation.d.ts +9 -0
  206. package/formfield/models/show-options.d.ts +16 -0
  207. package/formfield.module.d.ts +45 -0
  208. package/index.d.ts +76 -0
  209. package/inputs.module.d.ts +55 -0
  210. package/maskedtextbox/maskedtextbox.component.d.ts +315 -0
  211. package/maskedtextbox/masking.service.d.ts +48 -0
  212. package/maskedtextbox/parsing/combinators.d.ts +13 -0
  213. package/maskedtextbox/parsing/parsers.d.ts +51 -0
  214. package/maskedtextbox/parsing/result.d.ts +27 -0
  215. package/maskedtextbox/parsing/stream.d.ts +26 -0
  216. package/maskedtextbox.module.d.ts +44 -0
  217. package/numerictextbox/arrow-direction.d.ts +12 -0
  218. package/numerictextbox/constants.d.ts +28 -0
  219. package/numerictextbox/localization/custom-messages.component.d.ts +17 -0
  220. package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +16 -0
  221. package/numerictextbox/localization/messages.d.ts +21 -0
  222. package/numerictextbox/numerictextbox.component.d.ts +364 -0
  223. package/numerictextbox/utils.d.ts +44 -0
  224. package/numerictextbox.module.d.ts +47 -0
  225. package/package-metadata.d.ts +9 -0
  226. package/package.json +74 -0
  227. package/progress-kendo-angular-inputs.d.ts +9 -0
  228. package/radiobutton/radiobutton.directive.d.ts +38 -0
  229. package/radiobutton.module.d.ts +43 -0
  230. package/rangeslider/localization/custom-messages.component.d.ts +17 -0
  231. package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +16 -0
  232. package/rangeslider/localization/messages.d.ts +21 -0
  233. package/rangeslider/rangeslider-model.d.ts +15 -0
  234. package/rangeslider/rangeslider-value.type.d.ts +9 -0
  235. package/rangeslider/rangeslider.component.d.ts +139 -0
  236. package/rangeslider.module.d.ts +48 -0
  237. package/schematics/collection.json +12 -0
  238. package/schematics/ngAdd/index.js +11 -0
  239. package/schematics/ngAdd/schema.json +28 -0
  240. package/shared/input-separator.component.d.ts +28 -0
  241. package/shared/textarea.directive.d.ts +99 -0
  242. package/shared/utils.d.ts +10 -0
  243. package/shared.module.d.ts +19 -0
  244. package/signature/events/close-event.d.ts +10 -0
  245. package/signature/events/index.d.ts +6 -0
  246. package/signature/events/open-event.d.ts +10 -0
  247. package/signature/localization/custom-messages.component.d.ts +17 -0
  248. package/signature/localization/index.d.ts +7 -0
  249. package/signature/localization/localized-signature-messages.directive.d.ts +16 -0
  250. package/signature/localization/messages.d.ts +29 -0
  251. package/signature/signature.component.d.ts +364 -0
  252. package/signature.module.d.ts +48 -0
  253. package/slider/localization/custom-messages.component.d.ts +17 -0
  254. package/slider/localization/localized-slider-messages.directive.d.ts +16 -0
  255. package/slider/localization/messages.d.ts +25 -0
  256. package/slider/slider-model.d.ts +14 -0
  257. package/slider/slider.component.d.ts +175 -0
  258. package/slider.module.d.ts +50 -0
  259. package/sliders-common/label-template.directive.d.ts +36 -0
  260. package/sliders-common/slider-base.d.ts +141 -0
  261. package/sliders-common/slider-model.base.d.ts +26 -0
  262. package/sliders-common/slider-ticks.component.d.ts +26 -0
  263. package/sliders-common/sliders-common.module.d.ts +17 -0
  264. package/sliders-common/sliders-util.d.ts +119 -0
  265. package/sliders-common/title-callback.d.ts +10 -0
  266. package/switch/events/blur-event.d.ts +13 -0
  267. package/switch/events/focus-event.d.ts +13 -0
  268. package/switch/localization/custom-messages.component.d.ts +17 -0
  269. package/switch/localization/localized-switch-messages.directive.d.ts +16 -0
  270. package/switch/localization/messages.d.ts +21 -0
  271. package/switch/switch.component.d.ts +216 -0
  272. package/switch.module.d.ts +46 -0
  273. package/text-fields-common/text-fields-base.d.ts +91 -0
  274. package/textarea/models/flow.d.ts +12 -0
  275. package/textarea/models/resize.d.ts +16 -0
  276. package/textarea/textarea-suffix.component.d.ts +26 -0
  277. package/textarea/textarea.component.d.ts +225 -0
  278. package/textarea.module.d.ts +48 -0
  279. package/textbox/localization/custom-messages.component.d.ts +17 -0
  280. package/textbox/localization/localized-textbox-messages.directive.d.ts +16 -0
  281. package/textbox/localization/messages.d.ts +17 -0
  282. package/textbox/models/icon-show-options.d.ts +13 -0
  283. package/textbox/textbox-prefix.directive.d.ts +29 -0
  284. package/textbox/textbox-suffix.directive.d.ts +28 -0
  285. package/textbox/textbox.component.d.ts +376 -0
  286. package/textbox/textbox.directive.d.ts +59 -0
  287. package/textbox.module.d.ts +53 -0
  288. package/validators/max.validator.d.ts +8 -0
  289. package/validators/min.validator.d.ts +8 -0
@@ -0,0 +1,315 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges, NgZone, Injector, ChangeDetectorRef } from '@angular/core';
6
+ import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
7
+ import { MaskingService } from './masking.service';
8
+ import { InputSize } from '../common/models';
9
+ import { InputRounded } from '../common/models/rounded';
10
+ import { InputFillMode } from '../common/models/fillmode';
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * Represents the [Kendo UI MaskedTextBox component for Angular]({% slug overview_maskedtextbox %}).
14
+ *
15
+ * @example
16
+ * ```ts-no-run
17
+ *
18
+ * _@Component({
19
+ * selector: 'my-app',
20
+ * template: `
21
+ * <kendo-maskedtextbox
22
+ * [mask]="mask"
23
+ * [value]="value">
24
+ * </kendo-maskedtextbox>
25
+ * `
26
+ * })
27
+ *
28
+ * class AppComponent {
29
+ * public value: string = "9580128055807792";
30
+ * public mask: string = "0000-0000-0000-0000";
31
+ * }
32
+ * ```
33
+ */
34
+ export declare class MaskedTextBoxComponent implements ControlValueAccessor, OnChanges, Validator {
35
+ private service;
36
+ private renderer;
37
+ private hostElement;
38
+ private ngZone;
39
+ private injector;
40
+ private changeDetector;
41
+ /**
42
+ * @hidden
43
+ */
44
+ focusableId: string;
45
+ /**
46
+ * Determines whether the MaskedTextBox is disabled ([see example]({% slug disabled_maskedtextbox %})).
47
+ */
48
+ disabled: boolean;
49
+ /**
50
+ * Determines whether the MaskedTextBox is in its read-only state ([see example]({% slug readonly_maskedtextbox %})).
51
+ */
52
+ readonly: boolean;
53
+ /**
54
+ * Sets the title of the `input` element.
55
+ */
56
+ title: string;
57
+ /**
58
+ * The size property specifies the padding of the MaskedTextBox internal input element
59
+ * ([see example]({% slug appearance_maskedtextbox %}#toc-size)).
60
+ * The possible values are:
61
+ * * `small`
62
+ * * `medium` (default)
63
+ * * `large`
64
+ * * `none`
65
+ */
66
+ set size(size: InputSize);
67
+ get size(): InputSize;
68
+ /**
69
+ * The rounded property specifies the border radius of the MaskedTextBox
70
+ * ([see example]({% slug appearance_maskedtextbox %}#toc-rounded)).
71
+ * The possible values are:
72
+ * * `small`
73
+ * * `medium` (default)
74
+ * * `large`
75
+ * * `none`
76
+ */
77
+ set rounded(rounded: InputRounded);
78
+ get rounded(): InputRounded;
79
+ /**
80
+ * The fillMode property specifies the background and border styles of the MaskedTexBox
81
+ * ([see example]({% slug appearance_maskedtextbox %}#toc-fillMode)).
82
+ * The possible values are:
83
+ * * `flat`
84
+ * * `solid` (default)
85
+ * * `outline`
86
+ * * `none`
87
+ */
88
+ set fillMode(fillMode: InputFillMode);
89
+ get fillMode(): InputFillMode;
90
+ /**
91
+ * Represents the current mask ([see example]({% slug value_maskedtextbox %})).
92
+ * If no mask is set, the component behaves as a standard `type="text"` input.
93
+ *
94
+ * > If the mask allows for spaces, set the [promptPlaceholder]({% slug api_inputs_maskedtextboxcomponent %}#toc-promptplaceholder)
95
+ * to a character that is not accepted by the mask.
96
+ */
97
+ mask: string;
98
+ /**
99
+ * Provides a value for the MaskedTextBox.
100
+ */
101
+ value: string;
102
+ /**
103
+ * Exposes the RegExp-based mask validation array ([see example]({% slug masks_maskedtextbox %})).
104
+ */
105
+ set rules(value: {
106
+ [key: string]: RegExp;
107
+ });
108
+ get rules(): {
109
+ [key: string]: RegExp;
110
+ };
111
+ /**
112
+ * Represents a prompt character for the masked value.
113
+ * @default `_`
114
+ */
115
+ prompt: string;
116
+ /**
117
+ * Indicates a character which represents an empty position in the raw value.
118
+ * @default ' '
119
+ */
120
+ promptPlaceholder: string;
121
+ /**
122
+ * Indicates whether to include literals in the raw value ([see example]({% slug value_maskedtextbox %})).
123
+ * @default false
124
+ */
125
+ includeLiterals: boolean;
126
+ /**
127
+ * Specifies if the mask should be shown on focus for empty value.
128
+ */
129
+ maskOnFocus: boolean;
130
+ /**
131
+ * Determines whether the built-in mask validator is enforced when a form is validated
132
+ * ([see example]({% slug validation_maskedtextbox %})).
133
+ * @default true
134
+ */
135
+ maskValidation: boolean;
136
+ /**
137
+ * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
138
+ */
139
+ tabindex: number;
140
+ /**
141
+ * @hidden
142
+ */
143
+ set tabIndex(tabIndex: number);
144
+ get tabIndex(): number;
145
+ /**
146
+ * Fires each time the user focuses the `input` element.
147
+ *
148
+ * > To wire the event programmatically, use the `onFocus` property.
149
+ *
150
+ * @example
151
+ * ```ts-no-run
152
+ * _@Component({
153
+ * selector: 'my-app',
154
+ * template: `
155
+ * <kendo-maskedtextbox (focus)="handleFocus()"></kendo-maskedtextbox>
156
+ * `
157
+ * })
158
+ * class AppComponent {
159
+ * public handleFocus(): void {
160
+ * console.log("Component is focused");
161
+ * }
162
+ * }
163
+ * ```
164
+ */
165
+ onFocus: EventEmitter<any>;
166
+ /**
167
+ * Fires each time the `input` element gets blurred.
168
+ *
169
+ * > To wire the event programmatically, use the `onBlur` property.
170
+ *
171
+ * @example
172
+ * ```ts-no-run
173
+ * _@Component({
174
+ * selector: 'my-app',
175
+ * template: `
176
+ * <kendo-maskedtextbox (blur)="handleBlur()"></kendo-maskedtextbox>
177
+ * `
178
+ * })
179
+ * class AppComponent {
180
+ * public handleBlur(): void {
181
+ * console.log("Component is blurred");
182
+ * }
183
+ * }
184
+ * ```
185
+ */
186
+ onBlur: EventEmitter<any>;
187
+ /**
188
+ * Fires each time the value changes.
189
+ */
190
+ valueChange: EventEmitter<string>;
191
+ direction: string;
192
+ hostClasses: boolean;
193
+ get hostDisabledClass(): boolean;
194
+ /**
195
+ * Represents the `ElementRef` of the visible `input` element.
196
+ */
197
+ input: ElementRef;
198
+ protected isFocused: boolean;
199
+ private maskedValue;
200
+ private focusClick;
201
+ private defaultRules;
202
+ private _rules;
203
+ private isPasted;
204
+ private selection;
205
+ private control;
206
+ private _size;
207
+ private _rounded;
208
+ private _fillMode;
209
+ constructor(service: MaskingService, renderer: Renderer2, hostElement: ElementRef, ngZone: NgZone, injector: Injector, changeDetector: ChangeDetectorRef, rtl: boolean);
210
+ ngOnInit(): void;
211
+ ngAfterViewInit(): void;
212
+ /**
213
+ * @hidden
214
+ * Used by the FloatingLabel to determine if the MaskedTextBox is empty.
215
+ */
216
+ isEmpty(): boolean;
217
+ /**
218
+ * @hidden
219
+ */
220
+ handleFocus: () => void;
221
+ /**
222
+ * @hidden
223
+ */
224
+ handleClick: () => void;
225
+ /**
226
+ * @hidden
227
+ */
228
+ handleBlur: () => void;
229
+ /**
230
+ * @hidden
231
+ */
232
+ handleDragDrop(): boolean;
233
+ /**
234
+ * Focuses the MaskedTextBox.
235
+ *
236
+ * @example
237
+ * ```ts-no-run
238
+ * _@Component({
239
+ * selector: 'my-app',
240
+ * template: `
241
+ * <button (click)="maskedinput.focus()">Focus the input</button>
242
+ * <kendo-maskedtextbox #maskedinput></kendo-maskedtextbox>
243
+ * `
244
+ * })
245
+ * class AppComponent { }
246
+ * ```
247
+ */
248
+ focus(): void;
249
+ /**
250
+ * Blurs the MaskedTextBox.
251
+ */
252
+ blur(): void;
253
+ /**
254
+ * @hidden
255
+ */
256
+ pasteHandler(e: any): void;
257
+ /**
258
+ * @hidden
259
+ */
260
+ inputHandler(e: any): void;
261
+ /**
262
+ * @hidden
263
+ */
264
+ ngOnChanges(changes: SimpleChanges): void;
265
+ /**
266
+ * @hidden
267
+ * Writes a new value to the element.
268
+ */
269
+ writeValue(value: string): void;
270
+ /**
271
+ * @hidden
272
+ * Sets the function that will be called when a `change` event is triggered.
273
+ */
274
+ registerOnChange(fn: (_: any) => void): void;
275
+ /**
276
+ * @hidden
277
+ * Sets the function that will be called when a `touch` event is triggered.
278
+ */
279
+ registerOnTouched(fn: () => void): void;
280
+ /**
281
+ * @hidden
282
+ * Called when the status of the component changes to or from `disabled`.
283
+ * Depending on the value, it enables or disables the appropriate DOM element.
284
+ *
285
+ * @param isDisabled
286
+ */
287
+ setDisabledState(isDisabled: boolean): void;
288
+ /**
289
+ * @hidden
290
+ */
291
+ validate(_: AbstractControl): any;
292
+ /**
293
+ * @hidden
294
+ */
295
+ get isControlInvalid(): boolean;
296
+ /**
297
+ * @hidden
298
+ */
299
+ updateValueWithEvents(maskedValue: string): void;
300
+ protected onChange: (_: any) => void;
301
+ protected onTouched: () => void;
302
+ private updateValue;
303
+ private updateInput;
304
+ private extractChanges;
305
+ private updateService;
306
+ private setSelection;
307
+ private get emptyMask();
308
+ private setFocusSelection;
309
+ private get focused();
310
+ private set focused(value);
311
+ private normalizeValue;
312
+ private handleClasses;
313
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaskedTextBoxComponent, [null, null, null, null, null, null, { optional: true; }]>;
314
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaskedTextBoxComponent, "kendo-maskedtextbox", ["kendoMaskedTextBox"], { "focusableId": "focusableId"; "disabled": "disabled"; "readonly": "readonly"; "title": "title"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "mask": "mask"; "value": "value"; "rules": "rules"; "prompt": "prompt"; "promptPlaceholder": "promptPlaceholder"; "includeLiterals": "includeLiterals"; "maskOnFocus": "maskOnFocus"; "maskValidation": "maskValidation"; "tabindex": "tabindex"; "tabIndex": "tabIndex"; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, never, never>;
315
+ }
@@ -0,0 +1,48 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * @hidden
8
+ */
9
+ export declare class MaskingService {
10
+ rules: {
11
+ [key: string]: RegExp;
12
+ };
13
+ prompt: string;
14
+ mask: string;
15
+ promptPlaceholder: string;
16
+ includeLiterals: boolean;
17
+ maskTokens: any[];
18
+ unmaskTokens: any[];
19
+ rawTokens: any[];
20
+ validationTokens: any[];
21
+ update({ mask, prompt, promptPlaceholder, rules, includeLiterals }: any): void;
22
+ validationValue(maskedValue?: string): string;
23
+ rawValue(maskedValue?: string): string;
24
+ /**
25
+ * @hidden
26
+ */
27
+ maskRaw(rawValue?: string): string;
28
+ maskInput(input: string, control: string, splitPoint: number): any;
29
+ maskInRange(pasted: string, oldValue: string, start: number, end: number): any;
30
+ private maskRemoved;
31
+ private adjustPosition;
32
+ private maskInserted;
33
+ protected get maskTokenCreator(): {
34
+ [key: string]: Function;
35
+ };
36
+ protected get unmaskTokenCreator(): {
37
+ [key: string]: Function;
38
+ };
39
+ protected get rawTokenCreator(): {
40
+ [key: string]: Function;
41
+ };
42
+ protected get validationTokenCreator(): {
43
+ [key: string]: Function;
44
+ };
45
+ private tokenize;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaskingService, never>;
47
+ static ɵprov: i0.ɵɵInjectableDeclaration<MaskingService>;
48
+ }
@@ -0,0 +1,13 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Parser } from './parsers';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export declare const sequence: (list: any) => any;
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare const greedy: (parser: any) => Parser;
@@ -0,0 +1,51 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Result } from './result';
6
+ import { Stream } from './stream';
7
+ /**
8
+ * @hidden
9
+ */
10
+ export declare class Parser {
11
+ private parse;
12
+ constructor(parse: Function);
13
+ run(input: Stream | string, control?: string): Result;
14
+ map(f: Function): Parser;
15
+ chain(f: Function): Parser;
16
+ isLiteral(c: string): boolean;
17
+ }
18
+ /**
19
+ * @hidden
20
+ */
21
+ export declare const mask: ({ prompt, promptPlaceholder }: {
22
+ prompt: any;
23
+ promptPlaceholder: any;
24
+ }) => (rule: any) => Parser;
25
+ /**
26
+ * @hidden
27
+ */
28
+ export declare const literal: (_token: any) => Parser;
29
+ /**
30
+ * @hidden
31
+ */
32
+ export declare const unmask: (prompt: any) => (rule: any) => Parser;
33
+ /**
34
+ * @hidden
35
+ */
36
+ export declare const unliteral: (_token: any) => Parser;
37
+ /**
38
+ * @hidden
39
+ */
40
+ export declare const token: (rules: any, creator: any) => Parser;
41
+ /**
42
+ * @hidden
43
+ */
44
+ export declare const rawMask: ({ prompt, promptPlaceholder }: {
45
+ prompt: any;
46
+ promptPlaceholder: any;
47
+ }) => Parser;
48
+ /**
49
+ * @hidden
50
+ */
51
+ export declare const rawLiteral: (includeLiterals: any) => Parser;
@@ -0,0 +1,27 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Stream } from './stream';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export declare enum ResultType {
10
+ Literal = 0,
11
+ Mask = 1,
12
+ Undefined = 2
13
+ }
14
+ /**
15
+ * @hidden
16
+ */
17
+ export declare class Result {
18
+ private value;
19
+ private rest;
20
+ type: ResultType;
21
+ constructor(value: any, rest: Stream, type?: ResultType);
22
+ map(fn: Function): Result;
23
+ chain(fn: Function): Result;
24
+ fold(s: Function, _?: Function): Result;
25
+ concat(r: Result): Result;
26
+ toString(): string;
27
+ }
@@ -0,0 +1,26 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @hidden
7
+ */
8
+ export declare class Stream {
9
+ private input;
10
+ private control;
11
+ private inputCursor;
12
+ private controlCursor;
13
+ constructor(input?: any[], control?: any[]);
14
+ eof(): boolean;
15
+ next(): {
16
+ char: string;
17
+ control: string;
18
+ };
19
+ peek(): {
20
+ char: string;
21
+ control: string;
22
+ };
23
+ eat_input(): void;
24
+ eat_control(): void;
25
+ eat(): void;
26
+ }
@@ -0,0 +1,44 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./maskedtextbox/maskedtextbox.component";
7
+ import * as i2 from "@angular/common";
8
+ import * as i3 from "@progress/kendo-angular-common";
9
+ /**
10
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
+ * definition for the MaskedTextBox component.
12
+ *
13
+ * @example
14
+ *
15
+ * ```ts-no-run
16
+ * // Import the MaskedTextBox module
17
+ * import { MaskedTextBoxModule } from '@progress/kendo-angular-inputs';
18
+ *
19
+ * // The browser platform with a compiler
20
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
21
+ *
22
+ * import { NgModule } from '@angular/core';
23
+ *
24
+ * // Import the app component
25
+ * import { AppComponent } from './app.component';
26
+ *
27
+ * // Define the app module
28
+ * _@NgModule({
29
+ * declarations: [AppComponent], // declare app component
30
+ * imports: [BrowserModule, MaskedTextBoxModule], // import MaskedTextBox module
31
+ * bootstrap: [AppComponent]
32
+ * })
33
+ * export class AppModule {}
34
+ *
35
+ * // Compile and launch the module
36
+ * platformBrowserDynamic().bootstrapModule(AppModule);
37
+ *
38
+ * ```
39
+ */
40
+ export declare class MaskedTextBoxModule {
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaskedTextBoxModule, never>;
42
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaskedTextBoxModule, [typeof i1.MaskedTextBoxComponent], [typeof i2.CommonModule, typeof i3.EventsModule], [typeof i1.MaskedTextBoxComponent]>;
43
+ static ɵinj: i0.ɵɵInjectorDeclaration<MaskedTextBoxModule>;
44
+ }
@@ -0,0 +1,12 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @hidden
7
+ */
8
+ export declare enum ArrowDirection {
9
+ Down = -1,
10
+ None = 0,
11
+ Up = 1
12
+ }
@@ -0,0 +1,28 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @hidden
7
+ */
8
+ export declare const MIN_DOC_LINK = "http://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent/#toc-min";
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const MAX_DOC_LINK = "http://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent/#toc-max";
13
+ /**
14
+ * @hidden
15
+ */
16
+ export declare const POINT = ".";
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const INITIAL_SPIN_DELAY = 500;
21
+ /**
22
+ * @hidden
23
+ */
24
+ export declare const SPIN_DELAY = 50;
25
+ /**
26
+ * @hidden
27
+ */
28
+ export declare const EXPONENT_REGEX: RegExp;
@@ -0,0 +1,17 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
+ import { NumericTextBoxMessages } from './messages';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Custom component messages override default component messages.
10
+ */
11
+ export declare class NumericTextBoxCustomMessagesComponent extends NumericTextBoxMessages {
12
+ protected service: LocalizationService;
13
+ constructor(service: LocalizationService);
14
+ protected get override(): boolean;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxCustomMessagesComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumericTextBoxCustomMessagesComponent, "kendo-numerictextbox-messages", never, {}, {}, never, never>;
17
+ }
@@ -0,0 +1,16 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
+ import { NumericTextBoxMessages } from './messages';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare class LocalizedNumericTextBoxMessagesDirective extends NumericTextBoxMessages {
12
+ protected service: LocalizationService;
13
+ constructor(service: LocalizationService);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedNumericTextBoxMessagesDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedNumericTextBoxMessagesDirective, "[kendoNumericTextBoxLocalizedMessages]", never, {}, {}, never>;
16
+ }
@@ -0,0 +1,21 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * @hidden
9
+ */
10
+ export declare class NumericTextBoxMessages extends ComponentMessages {
11
+ /**
12
+ * The title of the **Decrement** button of the NumericTextBox.
13
+ */
14
+ decrement: string;
15
+ /**
16
+ * The title of the **Increment** button of the NumericTextBox.
17
+ */
18
+ increment: string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxMessages, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumericTextBoxMessages, "kendo-numerictextbox-messages-base", never, { "decrement": "decrement"; "increment": "increment"; }, {}, never>;
21
+ }