@breadstone/mosaik-elements-foundation 0.0.21 → 0.0.23

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 (253) hide show
  1. package/Controls/Behaviors/Insetable.d.ts.map +1 -1
  2. package/Controls/Behaviors/Insetable.js +2 -2
  3. package/Controls/Behaviors/Insetable.js.map +1 -1
  4. package/Controls/Components/Grouping/Banner/BannerHeaderElementTemplate.d.ts.map +1 -1
  5. package/Controls/Components/Grouping/Banner/BannerHeaderElementTemplate.js +0 -2
  6. package/Controls/Components/Grouping/Banner/BannerHeaderElementTemplate.js.map +1 -1
  7. package/Controls/Components/Grouping/Banner/BannerSubHeaderElementTemplate.d.ts.map +1 -1
  8. package/Controls/Components/Grouping/Banner/BannerSubHeaderElementTemplate.js +0 -2
  9. package/Controls/Components/Grouping/Banner/BannerSubHeaderElementTemplate.js.map +1 -1
  10. package/Controls/Components/Inputs/Abstracts/InputFormatterFn.d.ts +3 -3
  11. package/Controls/Components/Inputs/Abstracts/InputFormatterFn.d.ts.map +1 -1
  12. package/Controls/Components/Inputs/Abstracts/InputFormatterFn.js +4 -4
  13. package/Controls/Components/Inputs/Abstracts/InputFormatterFn.js.map +1 -1
  14. package/Controls/Components/Inputs/Abstracts/InputParserFn.d.ts +3 -3
  15. package/Controls/Components/Inputs/Abstracts/InputParserFn.d.ts.map +1 -1
  16. package/Controls/Components/Inputs/Abstracts/InputParserFn.js +4 -4
  17. package/Controls/Components/Inputs/Abstracts/InputParserFn.js.map +1 -1
  18. package/Controls/Components/Inputs/ChipBox/ChipBoxElement.js +2 -2
  19. package/Controls/Components/Inputs/ChipBox/ChipBoxElement.js.map +1 -1
  20. package/Controls/Components/Inputs/ColorBox/ColorBoxElement.d.ts +10 -0
  21. package/Controls/Components/Inputs/ColorBox/ColorBoxElement.d.ts.map +1 -1
  22. package/Controls/Components/Inputs/ColorBox/ColorBoxElement.js +23 -0
  23. package/Controls/Components/Inputs/ColorBox/ColorBoxElement.js.map +1 -1
  24. package/Controls/Components/Inputs/ColorBox/IColorBoxElementProps.d.ts +2 -0
  25. package/Controls/Components/Inputs/ColorBox/IColorBoxElementProps.d.ts.map +1 -1
  26. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Cosmopolitan.d.ts.map +1 -1
  27. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Cosmopolitan.js +12 -0
  28. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Cosmopolitan.js.map +1 -1
  29. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Joy.d.ts.map +1 -1
  30. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Joy.js +12 -0
  31. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Joy.js.map +1 -1
  32. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Retro.d.ts.map +1 -1
  33. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Retro.js +12 -0
  34. package/Controls/Components/Inputs/ColorBox/Themes/ColorBoxElement.Retro.js.map +1 -1
  35. package/Controls/Components/Inputs/DateBox/DateBoxElement.d.ts +11 -1
  36. package/Controls/Components/Inputs/DateBox/DateBoxElement.d.ts.map +1 -1
  37. package/Controls/Components/Inputs/DateBox/DateBoxElement.js +26 -4
  38. package/Controls/Components/Inputs/DateBox/DateBoxElement.js.map +1 -1
  39. package/Controls/Components/Inputs/DateBox/IDateBoxElementProps.d.ts +2 -0
  40. package/Controls/Components/Inputs/DateBox/IDateBoxElementProps.d.ts.map +1 -1
  41. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Cosmopolitan.d.ts.map +1 -1
  42. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Cosmopolitan.js +12 -0
  43. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Cosmopolitan.js.map +1 -1
  44. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Joy.d.ts.map +1 -1
  45. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Joy.js +12 -0
  46. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Joy.js.map +1 -1
  47. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Retro.d.ts.map +1 -1
  48. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Retro.js +12 -0
  49. package/Controls/Components/Inputs/DateBox/Themes/DateBoxElement.Retro.js.map +1 -1
  50. package/Controls/Components/Inputs/DateTimeBox/DateTimeBoxElement.d.ts +11 -1
  51. package/Controls/Components/Inputs/DateTimeBox/DateTimeBoxElement.d.ts.map +1 -1
  52. package/Controls/Components/Inputs/DateTimeBox/DateTimeBoxElement.js +26 -4
  53. package/Controls/Components/Inputs/DateTimeBox/DateTimeBoxElement.js.map +1 -1
  54. package/Controls/Components/Inputs/DateTimeBox/IDateTimeBoxElementProps.d.ts +2 -0
  55. package/Controls/Components/Inputs/DateTimeBox/IDateTimeBoxElementProps.d.ts.map +1 -1
  56. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Cosmopolitan.d.ts.map +1 -1
  57. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Cosmopolitan.js +12 -0
  58. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Cosmopolitan.js.map +1 -1
  59. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Joy.d.ts.map +1 -1
  60. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Joy.js +12 -0
  61. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Joy.js.map +1 -1
  62. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Retro.d.ts.map +1 -1
  63. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Retro.js +12 -0
  64. package/Controls/Components/Inputs/DateTimeBox/Themes/DateTimeBoxElement.Retro.js.map +1 -1
  65. package/Controls/Components/Inputs/FileUpload/FileUploadItemElement.js +2 -2
  66. package/Controls/Components/Inputs/FileUpload/FileUploadItemElement.js.map +1 -1
  67. package/Controls/Components/Inputs/NumberBox/INumberBoxElementProps.d.ts +3 -0
  68. package/Controls/Components/Inputs/NumberBox/INumberBoxElementProps.d.ts.map +1 -1
  69. package/Controls/Components/Inputs/NumberBox/NumberBoxElement.d.ts +19 -0
  70. package/Controls/Components/Inputs/NumberBox/NumberBoxElement.d.ts.map +1 -1
  71. package/Controls/Components/Inputs/NumberBox/NumberBoxElement.js +45 -0
  72. package/Controls/Components/Inputs/NumberBox/NumberBoxElement.js.map +1 -1
  73. package/Controls/Components/Inputs/NumberBox/NumberBoxElementTemplate.d.ts.map +1 -1
  74. package/Controls/Components/Inputs/NumberBox/NumberBoxElementTemplate.js +2 -0
  75. package/Controls/Components/Inputs/NumberBox/NumberBoxElementTemplate.js.map +1 -1
  76. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Cosmopolitan.d.ts.map +1 -1
  77. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Cosmopolitan.js +12 -0
  78. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Cosmopolitan.js.map +1 -1
  79. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Joy.d.ts.map +1 -1
  80. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Joy.js +12 -0
  81. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Joy.js.map +1 -1
  82. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Retro.d.ts.map +1 -1
  83. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Retro.js +12 -0
  84. package/Controls/Components/Inputs/NumberBox/Themes/NumberBoxElement.Retro.js.map +1 -1
  85. package/Controls/Components/Inputs/PasswordBox/IPasswordBoxElementProps.d.ts +2 -0
  86. package/Controls/Components/Inputs/PasswordBox/IPasswordBoxElementProps.d.ts.map +1 -1
  87. package/Controls/Components/Inputs/PasswordBox/PasswordBoxElement.d.ts +10 -0
  88. package/Controls/Components/Inputs/PasswordBox/PasswordBoxElement.d.ts.map +1 -1
  89. package/Controls/Components/Inputs/PasswordBox/PasswordBoxElement.js +23 -0
  90. package/Controls/Components/Inputs/PasswordBox/PasswordBoxElement.js.map +1 -1
  91. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Cosmopolitan.d.ts.map +1 -1
  92. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Cosmopolitan.js +12 -0
  93. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Cosmopolitan.js.map +1 -1
  94. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Joy.d.ts.map +1 -1
  95. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Joy.js +12 -0
  96. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Joy.js.map +1 -1
  97. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Retro.d.ts.map +1 -1
  98. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Retro.js +12 -0
  99. package/Controls/Components/Inputs/PasswordBox/Themes/PasswordBoxElement.Retro.js.map +1 -1
  100. package/Controls/Components/Inputs/SearchBox/SearchBoxElement.d.ts +10 -0
  101. package/Controls/Components/Inputs/SearchBox/SearchBoxElement.d.ts.map +1 -1
  102. package/Controls/Components/Inputs/SearchBox/SearchBoxElement.js +25 -2
  103. package/Controls/Components/Inputs/SearchBox/SearchBoxElement.js.map +1 -1
  104. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Cosmopolitan.d.ts.map +1 -1
  105. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Cosmopolitan.js +12 -0
  106. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Cosmopolitan.js.map +1 -1
  107. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Joy.d.ts.map +1 -1
  108. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Joy.js +12 -0
  109. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Joy.js.map +1 -1
  110. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Retro.d.ts.map +1 -1
  111. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Retro.js +12 -0
  112. package/Controls/Components/Inputs/SearchBox/Themes/SearchBoxElement.Retro.js.map +1 -1
  113. package/Controls/Components/Inputs/Select/ISelectElementProps.d.ts +2 -0
  114. package/Controls/Components/Inputs/Select/ISelectElementProps.d.ts.map +1 -1
  115. package/Controls/Components/Inputs/Select/SelectElement.d.ts +10 -0
  116. package/Controls/Components/Inputs/Select/SelectElement.d.ts.map +1 -1
  117. package/Controls/Components/Inputs/Select/SelectElement.js +23 -0
  118. package/Controls/Components/Inputs/Select/SelectElement.js.map +1 -1
  119. package/Controls/Components/Inputs/Select/Themes/SelectElement.Cosmopolitan.d.ts.map +1 -1
  120. package/Controls/Components/Inputs/Select/Themes/SelectElement.Cosmopolitan.js +12 -0
  121. package/Controls/Components/Inputs/Select/Themes/SelectElement.Cosmopolitan.js.map +1 -1
  122. package/Controls/Components/Inputs/Select/Themes/SelectElement.Joy.d.ts.map +1 -1
  123. package/Controls/Components/Inputs/Select/Themes/SelectElement.Joy.js +12 -0
  124. package/Controls/Components/Inputs/Select/Themes/SelectElement.Joy.js.map +1 -1
  125. package/Controls/Components/Inputs/Select/Themes/SelectElement.Retro.d.ts.map +1 -1
  126. package/Controls/Components/Inputs/Select/Themes/SelectElement.Retro.js +12 -0
  127. package/Controls/Components/Inputs/Select/Themes/SelectElement.Retro.js.map +1 -1
  128. package/Controls/Components/Inputs/TextBox/ITextBoxElementProps.d.ts +2 -0
  129. package/Controls/Components/Inputs/TextBox/ITextBoxElementProps.d.ts.map +1 -1
  130. package/Controls/Components/Inputs/TextBox/TextBoxElement.d.ts +10 -0
  131. package/Controls/Components/Inputs/TextBox/TextBoxElement.d.ts.map +1 -1
  132. package/Controls/Components/Inputs/TextBox/TextBoxElement.js +23 -0
  133. package/Controls/Components/Inputs/TextBox/TextBoxElement.js.map +1 -1
  134. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Cosmopolitan.d.ts.map +1 -1
  135. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Cosmopolitan.js +12 -0
  136. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Cosmopolitan.js.map +1 -1
  137. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Joy.d.ts.map +1 -1
  138. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Joy.js +12 -0
  139. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Joy.js.map +1 -1
  140. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Retro.d.ts.map +1 -1
  141. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Retro.js +12 -0
  142. package/Controls/Components/Inputs/TextBox/Themes/TextBoxElement.Retro.js.map +1 -1
  143. package/Controls/Components/Inputs/TimeBox/ITimeBoxElementProps.d.ts +2 -0
  144. package/Controls/Components/Inputs/TimeBox/ITimeBoxElementProps.d.ts.map +1 -1
  145. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Cosmopolitan.d.ts.map +1 -1
  146. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Cosmopolitan.js +14 -2
  147. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Cosmopolitan.js.map +1 -1
  148. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Joy.d.ts.map +1 -1
  149. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Joy.js +14 -2
  150. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Joy.js.map +1 -1
  151. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Retro.d.ts.map +1 -1
  152. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Retro.js +14 -2
  153. package/Controls/Components/Inputs/TimeBox/Themes/TimeBoxElement.Retro.js.map +1 -1
  154. package/Controls/Components/Inputs/TimeBox/TimeBoxElement.d.ts +10 -0
  155. package/Controls/Components/Inputs/TimeBox/TimeBoxElement.d.ts.map +1 -1
  156. package/Controls/Components/Inputs/TimeBox/TimeBoxElement.js +23 -0
  157. package/Controls/Components/Inputs/TimeBox/TimeBoxElement.js.map +1 -1
  158. package/Controls/Components/Primitives/Abstracts/UpDown/Abstracts/UpDownBaseElement.d.ts +1 -1
  159. package/Controls/Components/Primitives/Abstracts/UpDown/Abstracts/UpDownBaseElement.d.ts.map +1 -1
  160. package/Controls/Components/Primitives/Abstracts/UpDown/Abstracts/UpDownBaseElement.js +4 -4
  161. package/Controls/Components/Primitives/Abstracts/UpDown/Abstracts/UpDownBaseElement.js.map +1 -1
  162. package/Controls/Components/Primitives/Abstracts/UpDown/NumberUpDownElement.d.ts +0 -8
  163. package/Controls/Components/Primitives/Abstracts/UpDown/NumberUpDownElement.d.ts.map +1 -1
  164. package/Controls/Components/Primitives/Abstracts/UpDown/NumberUpDownElement.js +14 -18
  165. package/Controls/Components/Primitives/Abstracts/UpDown/NumberUpDownElement.js.map +1 -1
  166. package/Controls/Components/Primitives/Text/TextElement.d.ts +1 -1
  167. package/Controls/Components/Primitives/Text/TextElement.js +5 -5
  168. package/Controls/Components/Primitives/Text/TextElement.js.map +1 -1
  169. package/Controls/Types/AutoCompleteTextSearchMode.d.ts.map +1 -1
  170. package/Controls/Types/AutoCompleteTextSearchMode.js.map +1 -1
  171. package/Controls/Types/FabGroupDirection.d.ts +1 -1
  172. package/Controls/Types/FabGroupDirection.js +1 -1
  173. package/Controls/Types/FileUploadView.d.ts +1 -1
  174. package/Controls/Types/FileUploadView.js +1 -1
  175. package/Controls/Types/InkBarPosition.d.ts +1 -1
  176. package/Controls/Types/InkBarPosition.js +1 -1
  177. package/Controls/Types/Inset.d.ts +16 -11
  178. package/Controls/Types/Inset.d.ts.map +1 -1
  179. package/Controls/Types/Inset.js +16 -16
  180. package/Controls/Types/Inset.js.map +1 -1
  181. package/Controls/Types/Size.d.ts +1 -1
  182. package/Controls/Types/Size.js +1 -1
  183. package/Controls/Types/TabPanelAlignment.d.ts +1 -1
  184. package/Controls/Types/TabPanelAlignment.js +1 -1
  185. package/Controls/Types/TextAlignment.d.ts +0 -4
  186. package/Controls/Types/TextAlignment.d.ts.map +1 -1
  187. package/Controls/Types/TextAlignment.js +4 -4
  188. package/Controls/Types/TextAlignment.js.map +1 -1
  189. package/Controls/Types/TickLabelPosition.d.ts +1 -1
  190. package/Controls/Types/TickLabelPosition.js +1 -1
  191. package/Forms/Validators/VNext/Abstracts/ElementValidatorBase.d.ts.map +1 -1
  192. package/Forms/Validators/VNext/Abstracts/ElementValidatorBase.js +2 -4
  193. package/Forms/Validators/VNext/Abstracts/ElementValidatorBase.js.map +1 -1
  194. package/Forms/Validators/VNext/BlankElementValidator.d.ts +5 -1
  195. package/Forms/Validators/VNext/BlankElementValidator.d.ts.map +1 -1
  196. package/Forms/Validators/VNext/BlankElementValidator.js +5 -2
  197. package/Forms/Validators/VNext/BlankElementValidator.js.map +1 -1
  198. package/Forms/Validators/VNext/BlankElementValidatorFn.d.ts +8 -1
  199. package/Forms/Validators/VNext/BlankElementValidatorFn.d.ts.map +1 -1
  200. package/Forms/Validators/VNext/BlankElementValidatorFn.js +15 -4
  201. package/Forms/Validators/VNext/BlankElementValidatorFn.js.map +1 -1
  202. package/Forms/Validators/VNext/EmailElementValidator.d.ts +5 -1
  203. package/Forms/Validators/VNext/EmailElementValidator.d.ts.map +1 -1
  204. package/Forms/Validators/VNext/EmailElementValidator.js +5 -2
  205. package/Forms/Validators/VNext/EmailElementValidator.js.map +1 -1
  206. package/Forms/Validators/VNext/EmailElementValidatorFn.d.ts +8 -1
  207. package/Forms/Validators/VNext/EmailElementValidatorFn.d.ts.map +1 -1
  208. package/Forms/Validators/VNext/EmailElementValidatorFn.js +11 -5
  209. package/Forms/Validators/VNext/EmailElementValidatorFn.js.map +1 -1
  210. package/Forms/Validators/VNext/EqualsToElementValidator.d.ts +5 -1
  211. package/Forms/Validators/VNext/EqualsToElementValidator.d.ts.map +1 -1
  212. package/Forms/Validators/VNext/EqualsToElementValidator.js +5 -2
  213. package/Forms/Validators/VNext/EqualsToElementValidator.js.map +1 -1
  214. package/Forms/Validators/VNext/EqualsToElementValidatorFn.d.ts +8 -0
  215. package/Forms/Validators/VNext/EqualsToElementValidatorFn.d.ts.map +1 -1
  216. package/Forms/Validators/VNext/EqualsToElementValidatorFn.js +16 -2
  217. package/Forms/Validators/VNext/EqualsToElementValidatorFn.js.map +1 -1
  218. package/Forms/Validators/VNext/MaxElementValidator.d.ts +1 -1
  219. package/Forms/Validators/VNext/MaxElementValidator.js +1 -1
  220. package/Forms/Validators/VNext/MaxLengthElementValidator.d.ts +1 -1
  221. package/Forms/Validators/VNext/MaxLengthElementValidator.js +1 -1
  222. package/Forms/Validators/VNext/MinElementValidator.d.ts +1 -1
  223. package/Forms/Validators/VNext/MinElementValidator.js +1 -1
  224. package/Forms/Validators/VNext/MinLengthElementValidator.d.ts +1 -1
  225. package/Forms/Validators/VNext/MinLengthElementValidator.js +1 -1
  226. package/Forms/Validators/VNext/NumericElementValidator.d.ts +5 -1
  227. package/Forms/Validators/VNext/NumericElementValidator.d.ts.map +1 -1
  228. package/Forms/Validators/VNext/NumericElementValidator.js +5 -2
  229. package/Forms/Validators/VNext/NumericElementValidator.js.map +1 -1
  230. package/Forms/Validators/VNext/NumericElementValidatorFn.d.ts +8 -1
  231. package/Forms/Validators/VNext/NumericElementValidatorFn.d.ts.map +1 -1
  232. package/Forms/Validators/VNext/NumericElementValidatorFn.js +15 -2
  233. package/Forms/Validators/VNext/NumericElementValidatorFn.js.map +1 -1
  234. package/Forms/Validators/VNext/PatternElementValidator.d.ts +1 -1
  235. package/Forms/Validators/VNext/PatternElementValidator.js +1 -1
  236. package/Forms/Validators/VNext/PatternElementValidatorFn.js +2 -2
  237. package/Forms/Validators/VNext/PatternElementValidatorFn.js.map +1 -1
  238. package/Forms/Validators/VNext/PhoneNumberElementValidator.d.ts +5 -1
  239. package/Forms/Validators/VNext/PhoneNumberElementValidator.d.ts.map +1 -1
  240. package/Forms/Validators/VNext/PhoneNumberElementValidator.js +5 -2
  241. package/Forms/Validators/VNext/PhoneNumberElementValidator.js.map +1 -1
  242. package/Forms/Validators/VNext/PhoneNumberElementValidatorFn.d.ts +8 -1
  243. package/Forms/Validators/VNext/PhoneNumberElementValidatorFn.d.ts.map +1 -1
  244. package/Forms/Validators/VNext/PhoneNumberElementValidatorFn.js +9 -1
  245. package/Forms/Validators/VNext/PhoneNumberElementValidatorFn.js.map +1 -1
  246. package/Forms/Validators/VNext/RequiredElementValidator.d.ts +1 -1
  247. package/Forms/Validators/VNext/RequiredElementValidator.js +1 -1
  248. package/Forms/Validators/VNext/RequiredElementValidatorFn.d.ts +1 -1
  249. package/Forms/Validators/VNext/RequiredElementValidatorFn.d.ts.map +1 -1
  250. package/Forms/Validators/VNext/RequiredTrueElementValidator.d.ts +1 -1
  251. package/Forms/Validators/VNext/RequiredTrueElementValidator.js +1 -1
  252. package/custom-elements.json +206 -4
  253. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import type { ValuesOf } from '../../Types/ValuesOf';
2
2
  /**
3
- * `Size` - Enum which describes 5 possible size set options.
3
+ * `Size` - The `Size` object is used to describe the different types of sizes.
4
4
  *
5
5
  * @public
6
6
  */
@@ -1,7 +1,7 @@
1
1
  // #region Imports
2
2
  // #endregion
3
3
  /**
4
- * `Size` - Enum which describes 5 possible size set options.
4
+ * `Size` - The `Size` object is used to describe the different types of sizes.
5
5
  *
6
6
  * @public
7
7
  */
@@ -10,7 +10,7 @@ export declare const TabPanelAlignment: {
10
10
  */
11
11
  readonly Start: "start";
12
12
  /**
13
- * `end` - tems are positioned at the end of the tab panel.
13
+ * `end` - Items are positioned at the end of the tab panel.
14
14
  */
15
15
  readonly End: "end";
16
16
  /**
@@ -11,7 +11,7 @@ export const TabPanelAlignment = {
11
11
  */
12
12
  Start: 'start',
13
13
  /**
14
- * `end` - tems are positioned at the end of the tab panel.
14
+ * `end` - Items are positioned at the end of the tab panel.
15
15
  */
16
16
  End: 'end',
17
17
  /**
@@ -9,10 +9,6 @@ export declare const TextAlignment: {
9
9
  * `center` - Align element to center.
10
10
  */
11
11
  readonly Center: "center";
12
- /**
13
- * `justify` - Align element to justify.
14
- */
15
- readonly Justify: "justify";
16
12
  /**
17
13
  * `left` - Align element to left.
18
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TextAlignment.d.ts","sourceRoot":"","sources":["../../../src/Controls/Types/TextAlignment.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD;;;;GAIG;AACH,eAAO,MAAM,aAAa;IAEtB;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;CAEG,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"TextAlignment.d.ts","sourceRoot":"","sources":["../../../src/Controls/Types/TextAlignment.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD;;;;GAIG;AACH,eAAO,MAAM,aAAa;IAEtB;;OAEG;;IAQH;;OAEG;;IAGH;;OAEG;;CAEG,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -10,10 +10,10 @@ export const TextAlignment = {
10
10
  * `center` - Align element to center.
11
11
  */
12
12
  Center: 'center',
13
- /**
14
- * `justify` - Align element to justify.
15
- */
16
- Justify: 'justify',
13
+ // /**
14
+ // * `justify` - Align element to justify.
15
+ // */
16
+ // Justify: 'justify',
17
17
  /**
18
18
  * `left` - Align element to left.
19
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TextAlignment.js","sourceRoot":"","sources":["../../../src/Controls/Types/TextAlignment.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAIlB,aAAa;AAEb;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAEzB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,IAAI,EAAE,MAAM;IAEZ;;OAEG;IACH,KAAK,EAAE,OAAO;CACR,CAAC"}
1
+ {"version":3,"file":"TextAlignment.js","sourceRoot":"","sources":["../../../src/Controls/Types/TextAlignment.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAIlB,aAAa;AAEb;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAEzB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAEhB,MAAM;IACN,2CAA2C;IAC3C,MAAM;IACN,sBAAsB;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM;IAEZ;;OAEG;IACH,KAAK,EAAE,OAAO;CACR,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ValuesOf } from '../../Types/ValuesOf';
2
2
  /**
3
- * `TickLabelPosition` - Defines the position of tick labels on a silder.
3
+ * `TickLabelPosition` - Defines the position of tick labels on a slider.
4
4
  */
5
5
  export declare const TickLabelPosition: {
6
6
  readonly Before: "before";
@@ -1,7 +1,7 @@
1
1
  // #region Imports
2
2
  // #endregion
3
3
  /**
4
- * `TickLabelPosition` - Defines the position of tick labels on a silder.
4
+ * `TickLabelPosition` - Defines the position of tick labels on a slider.
5
5
  */
6
6
  export const TickLabelPosition = {
7
7
  Before: 'before',
@@ -1 +1 @@
1
- {"version":3,"file":"ElementValidatorBase.d.ts","sourceRoot":"","sources":["../../../../../src/Forms/Validators/VNext/Abstracts/ElementValidatorBase.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,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B,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAI3J;;;GAGG;AACH,8BAAsB,oBAAoB,CAAC,QAAQ,SAAS,WAAW,CACnE,YAAW,iBAAiB;IAI5B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAW;IACjC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA6C;IAC9E,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmB;IAC7C,OAAO,CAAC,SAAS,CAA2B;IAM5C;;;;OAIG;gBACgB,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAAE,gCAAgC;IAgBrF;;;OAGG;IACH,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE7C;;;;;OAKG;IACH,SAAS,KAAK,IAAI,IAAI,QAAQ,CAE7B;IAED;;;;;OAKG;IACH,SAAS,KAAK,eAAe,IAAI,QAAQ,CAAC,gCAAgC,CAAC,CAE1E;IAMD;;;OAGG;aACa,QAAQ,IAAI,QAAQ,CAAC,uBAAuB,CAAC;IAE7D;;OAEG;IACI,aAAa,IAAI,IAAI;IAO5B;;OAEG;IACI,gBAAgB,IAAI,IAAI;IAI/B;;OAEG;IACI,yBAAyB,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI;IAIrE;;OAEG;IACH,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GAAG,QAAQ,CAAC,uBAAuB,CAAC;CAoBnG"}
@@ -20,7 +20,7 @@ export class ElementValidatorBase {
20
20
  constructor(host, messageResolver) {
21
21
  this._host = host;
22
22
  this._messageResolver = messageResolver ?? null;
23
- this._onChange = (value) => {
23
+ this._onChange = (_value) => {
24
24
  console.log('ElementValidatorBase.registerOnValidatorChange');
25
25
  };
26
26
  this._observer = new MutationObserver(() => {
@@ -78,9 +78,7 @@ export class ElementValidatorBase {
78
78
  break;
79
79
  }
80
80
  }
81
- if (message === null) {
82
- message = this._messageResolver?.({}) ?? null;
83
- }
81
+ message ??= this._messageResolver?.({}) ?? null;
84
82
  if (error) {
85
83
  return [error, message];
86
84
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ElementValidatorBase.js","sourceRoot":"","sources":["../../../../../src/Forms/Validators/VNext/Abstracts/ElementValidatorBase.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,aAAa;AAEb;;;GAGG;AACH,MAAM,OAAgB,oBAAoB;IAEtC,iBAAiB;IAEA,KAAK,CAAW;IAChB,gBAAgB,CAA6C;IAC7D,SAAS,CAAmB;IACrC,SAAS,CAA2B;IAE5C,aAAa;IAEb,eAAe;IAEf;;;;OAIG;IACH,YAAmB,IAAc,EAAE,eAAkD;QACjF,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,gBAAgB,GAAG,eAAe,IAAI,IAAI,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,CAAC,KAAc,EAAE,EAAE;YAChC,OAAO,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;QAClE,CAAC,CAAC;QACF,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,GAAG,EAAE;YACvC,oBAAoB;YACpB,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;IACP,CAAC;IAYD;;;;;OAKG;IACH,IAAc,IAAI;QACd,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAED;;;;;OAKG;IACH,IAAc,eAAe;QACzB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IAYD;;OAEG;IACI,aAAa;QAChB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YAC9B,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,IAAI,CAAC,UAAU;SACnC,CAAC,CAAC;IACP,CAAC;IAED;;OAEG;IACI,gBAAgB;QACnB,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,yBAAyB,CAAE,EAA4B;QAC1D,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC;IACxB,CAAC;IAED;;OAEG;IACO,UAAU,CAAC,KAAuC;QACxD,IAAI,OAAO,GAAqB,IAAI,CAAC;QACrC,KAAK,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,EAAE,CAAC;YAC9C,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;gBACnB,OAAO,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;gBAChD,MAAM;YACV,CAAC;QACL,CAAC;QAED,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;YACnB,OAAO,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC;QAClD,CAAC;QAED,IAAI,KAAK,EAAE,CAAC;YACR,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAC5B,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;CAIJ"}
1
+ {"version":3,"file":"ElementValidatorBase.js","sourceRoot":"","sources":["../../../../../src/Forms/Validators/VNext/Abstracts/ElementValidatorBase.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,aAAa;AAEb;;;GAGG;AACH,MAAM,OAAgB,oBAAoB;IAGtC,iBAAiB;IAEA,KAAK,CAAW;IAChB,gBAAgB,CAA6C;IAC7D,SAAS,CAAmB;IACrC,SAAS,CAA2B;IAE5C,aAAa;IAEb,eAAe;IAEf;;;;OAIG;IACH,YAAmB,IAAc,EAAE,eAAkD;QACjF,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,gBA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AAK,IAAI,CAAC,gBAAgB,EAAE,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC;QAEhD,IAAI,KAAK,EAAE,CAAC;YACR,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAC5B,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;CAIJ"}
@@ -1,5 +1,6 @@
1
1
  import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
2
2
  import type { ElementValidationMessageResolver, ElementValidationResult, ElementValidatorFn } from './Abstracts/Interfaces/IElementValidator';
3
+ import { isBlankValue as _isBlankValue } from './BlankElementValidatorFn';
3
4
  /**
4
5
  * @private
5
6
  */
@@ -14,8 +15,11 @@ export declare class BlankElementValidator<TElement extends IBlankElement = IBla
14
15
  protected get attributes(): Array<keyof IBlankElement>;
15
16
  validate(): ElementValidationResult | null;
16
17
  }
18
+ export declare namespace BlankElementValidator {
19
+ const isBlankValue: typeof _isBlankValue;
20
+ }
17
21
  /**
18
- * A facory function for the {@link BlankElementValidator}.
22
+ * A factory function for the {@link BlankElementValidator}.
19
23
  *
20
24
  * @public
21
25
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -1 +1 @@
1
- {"version":3,"file":"BlankElementValidator.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/BlankElementValidator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAK9I;;GAEG;AACH,UAAU,aAAc,SAAQ,WAAW;IACvC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,qBAAa,qBAAqB,CAAC,QAAQ,SAAS,aAAa,GAAG,aAAa,CAC7E,SAAQ,oBAAoB,CAAC,QAAQ,CAAC;gBAInB,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAA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CAAC,CAAC,KAAK,UAAU,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,CAAC,CAOpM"}
@@ -1,6 +1,6 @@
1
1
  // #region Imports
2
2
  import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
3
- import { blankValidator } from './BlankElementValidatorFn';
3
+ import { blankValidator, isBlankValue as _isBlankValue } from './BlankElementValidatorFn';
4
4
  /**
5
5
  * @public
6
6
  */
@@ -21,8 +21,11 @@ export class BlankElementValidator extends ElementValidatorBase {
21
21
  return this.getMessage(errors);
22
22
  }
23
23
  }
24
+ (function (BlankElementValidator) {
25
+ BlankElementValidator.isBlankValue = _isBlankValue;
26
+ })(BlankElementValidator || (BlankElementValidator = {}));
24
27
  /**
25
- * A facory function for the {@link BlankElementValidator}.
28
+ * A factory function for the {@link BlankElementValidator}.
26
29
  *
27
30
  * @public
28
31
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -1 +1 @@
1
- {"version":3,"file":"BlankElementValidator.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/BlankElementValidator.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAW3D;;GAEG;AACH,MAAM,OAAO,qBACT,SAAQ,oBAA8B;IAEtC,eAAe;IAEf,YAAmB,IAAc,EAAE,eAAkD;QACjF,KAAK,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,CAAC,OAA4B,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC9F,CAAC;IAED,aAAa;IAEb,qBAAqB;IAErB,IAAc,UAAU;QACpB,OAAO,CAAC,OAAO,CAAC,CAAC;IACrB,CAAC;IAED,aAAa;IAEb,kBAAkB;IAEX,QAAQ;QACX,MAAM,MAAM,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;CAIJ;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,eAAkD;IACpF,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,CAAgD,EAAyB,EAAE;QACxF,MAAM,SAAS,GAAG,IAAI,qBAAqB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QACnE,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEF,OAAO,EAAE,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"BlankElementValidator.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/BlankElementValidator.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAW1F;;GAEG;AACH,MAAM,OAAO,qBACT,SAAQ,oBAA8B;IAEtC,eAAe;IAEf,YAAmB,IAAc,EAAE,eAAkD;QACjF,KAAK,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,CAAC,OAA4B,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAC9F,CAAC;IAED,aAAa;IAEb,qBAAqB;IAErB,IAAc,UAAU;QACpB,OAAO,CAAC,OAAO,CAAC,CAAC;IACrB,CAAC;IAED,aAAa;IAEb,kBAAkB;IAEX,QAAQ;QACX,MAAM,MAAM,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;CAIJ;AAED,WAAiB,qBAAqB;IACrB,kCAAY,GAAG,aAAa,CAAC;AAC9C,CAAC,EAFgB,qBAAqB,KAArB,qBAAqB,QAErC;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,eAAkD;IACpF,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,CAAgD,EAAyB,EAAE;QACxF,MAAM,SAAS,GAAG,IAAI,qBAAqB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QACnE,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEF,OAAO,EAAE,CAAC;AACd,CAAC"}
@@ -11,6 +11,13 @@ import type { ElementValidationError } from './Abstracts/Interfaces/IElementVali
11
11
  * @returns null if the validation check passes, otherwise an object containing information.
12
12
  */
13
13
  export declare function blankValidator(control: HTMLElement & {
14
- value: string;
14
+ value: string | null;
15
15
  }): Nullable<ElementValidationError>;
16
+ /**
17
+ * Checks if the value is blank.
18
+ *
19
+ * @param value - The value to check.
20
+ * @returns True if the value is blank, false otherwise.
21
+ */
22
+ export declare function isBlankValue(value: unknown): boolean;
16
23
  //# sourceMappingURL=BlankElementValidatorFn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlankElementValidatorFn.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/BlankElementValidatorFn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAMvF;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAMzG"}
1
+ {"version":3,"file":"BlankElementValidatorFn.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/BlankElementValidatorFn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAMvF;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAQhH;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAEpD"}
@@ -12,10 +12,21 @@ const BLANK_REGEX = '\\s';
12
12
  * @returns null if the validation check passes, otherwise an object containing information.
13
13
  */
14
14
  export function blankValidator(control) {
15
- return control.value == null || ((typeof control.value === 'string' || Array.isArray(control.value)) && control.value.length === 0)
15
+ return isBlankValue(control.value)
16
16
  ? null
17
- : !new RegExp(BLANK_REGEX).test(control.value)
18
- ? null
19
- : { badInput: true };
17
+ : {
18
+ badInput: [
19
+ true, { actualValue: control.value }
20
+ ]
21
+ };
22
+ }
23
+ /**
24
+ * Checks if the value is blank.
25
+ *
26
+ * @param value - The value to check.
27
+ * @returns True if the value is blank, false otherwise.
28
+ */
29
+ export function isBlankValue(value) {
30
+ return typeof value === 'string' && new RegExp(BLANK_REGEX).test(value);
20
31
  }
21
32
  //# sourceMappingURL=BlankElementValidatorFn.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlankElementValidatorFn.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/BlankElementValidatorFn.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,aAAa;AAEb,MAAM,WAAW,GAAG,KAAK,CAAC;AAE1B;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc,CAAC,OAAwC;IACnE,OAAO,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,CAAC,CAAC,OAAO,OAAO,CAAC,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;QAC/H,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;YAC1C,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACjC,CAAC"}
1
+ {"version":3,"file":"BlankElementValidatorFn.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/BlankElementValidatorFn.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,aAAa;AAEb,MAAM,WAAW,GAAG,KAAK,CAAC;AAE1B;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc,CAAC,OAA+C;IAC1E,OAAO,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC;QAC9B,CAAC,CAAC,IAAI;QACN,CAAC,CAAC;YACE,QAAQ,EAAE;gBACN,IAAI,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,KAAK,EAAE;aACvC;SACJ,CAAC;AACV,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,KAAc;IACvC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAI,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC5E,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
2
2
  import type { ElementValidationMessageResolver, ElementValidationResult, ElementValidatorFn } from './Abstracts/Interfaces/IElementValidator';
3
+ import { isEmailValue as _isEmailValue } from './EmailElementValidatorFn';
3
4
  /**
4
5
  * @private
5
6
  */
@@ -14,8 +15,11 @@ export declare class EmailElementValidator<TElement extends IEmailElement = IEma
14
15
  protected get attributes(): Array<keyof IEmailElement>;
15
16
  validate(): ElementValidationResult | null;
16
17
  }
18
+ export declare namespace EmailElementValidator {
19
+ const isEmailValue: typeof _isEmailValue;
20
+ }
17
21
  /**
18
- * A facory function for the {@link EmailElementValidator}.
22
+ * A factory function for the {@link EmailElementValidator}.
19
23
  *
20
24
  * @public
21
25
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -1 +1 @@
1
- {"version":3,"file":"EmailElementValidator.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EmailElementValidator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAK9I;;GAEG;AACH,UAAU,aAAc,SAAQ,WAAW;IACvC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,qBAAa,qBAAqB,CAAC,QAAQ,SAAS,aAAa,GAAG,aAAa,CAC7E,SAAQ,oBAAoB,CAAC,QAAQ,CAAC;gBAInB,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAAE,gCAAgC;IAQrF,SAAS,KAAK,UAAU,IAAI,KAAK,CAAC,MAAM,aAAa,CAAC,CAErD;IAMM,QAAQ,IAAI,uBAAuB,GAAG,IAAI;CAOpD;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,CAAC,EAAE,gCAAgC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,KAAK,UAAU,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,CAAC,CAOpM"}
1
+ {"version":3,"file":"EmailElementValidator.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EmailElementValidator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9I,OAAO,EAAkB,YAAY,IAAI,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAI1F;;GAEG;AACH,UAAU,aAAc,SAAQ,WAAW;IACvC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,qBAAa,qBAAqB,CAAC,QAAQ,SAAS,aAAa,GAAG,aAAa,CAC7E,SAAQ,oBAAoB,CAAC,QAAQ,CAAC;gBAInB,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAAE,gCAAgC;IAQrF,SAAS,KAAK,UAAU,IAAI,KAAK,CAAC,MAAM,aAAa,CAAC,CAErD;IAMM,QAAQ,IAAI,uBAAuB,GAAG,IAAI;CAOpD;AAED,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,YAAY,sBAAgB,CAAC;CAC7C;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,eAAe,CAAC,EAAE,gCAAgC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,KAAK,UAAU,CAAC,kBAAkB,CAAC,aAAa,CAAC,CAAC,CAAC,CAOpM"}
@@ -1,6 +1,6 @@
1
1
  // #region Imports
2
2
  import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
3
- import { emailValidator } from './EmailElementValidatorFn';
3
+ import { emailValidator, isEmailValue as _isEmailValue } from './EmailElementValidatorFn';
4
4
  /**
5
5
  * @public
6
6
  */
@@ -21,8 +21,11 @@ export class EmailElementValidator extends ElementValidatorBase {
21
21
  return this.getMessage(errors);
22
22
  }
23
23
  }
24
+ (function (EmailElementValidator) {
25
+ EmailElementValidator.isEmailValue = _isEmailValue;
26
+ })(EmailElementValidator || (EmailElementValidator = {}));
24
27
  /**
25
- * A facory function for the {@link EmailElementValidator}.
28
+ * A factory function for the {@link EmailElementValidator}.
26
29
  *
27
30
  * @public
28
31
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -1 +1 @@
1
- {"version":3,"file":"EmailElementValidator.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EmailElementValidator.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAW3D;;GAEG;AACH,MAAM,OAAO,qBACT,SAAQ,oBAA8B;IAEtC,eAAe;IAEf,YAAmB,IAAc,EAAE,eAAkD;QACjF,KAAK,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,CAAC,OAA4B,EAAE,EAAE,CAAC,yCAAyC,CAAC,CAAC,CAAC;IAClH,CAAC;IAED,aAAa;IAEb,qBAAqB;IAErB,IAAc,UAAU;QACpB,OAAO,CAAC,OAAO,CAAC,CAAC;IACrB,CAAC;IAED,aAAa;IAEb,kBAAkB;IAEX,QAAQ;QACX,MAAM,MAAM,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;CAIJ;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,eAAkD;IACpF,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,CAAgD,EAAyB,EAAE;QACxF,MAAM,SAAS,GAAG,IAAI,qBAAqB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QACnE,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEF,OAAO,EAAE,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"EmailElementValidator.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EmailElementValidator.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,YAAY,IAAI,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAW1F;;GAEG;AACH,MAAM,OAAO,qBACT,SAAQ,oBAA8B;IAEtC,eAAe;IAEf,YAAmB,IAAc,EAAE,eAAkD;QACjF,KAAK,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,CAAC,OAA4B,EAAE,EAAE,CAAC,yCAAyC,CAAC,CAAC,CAAC;IAClH,CAAC;IAED,aAAa;IAEb,qBAAqB;IAErB,IAAc,UAAU;QACpB,OAAO,CAAC,OAAO,CAAC,CAAC;IACrB,CAAC;IAED,aAAa;IAEb,kBAAkB;IAEX,QAAQ;QACX,MAAM,MAAM,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;CAIJ;AAED,WAAiB,qBAAqB;IACrB,kCAAY,GAAG,aAAa,CAAC;AAC9C,CAAC,EAFgB,qBAAqB,KAArB,qBAAqB,QAErC;AAED;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,eAAkD;IACpF,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,CAAgD,EAAyB,EAAE;QACxF,MAAM,SAAS,GAAG,IAAI,qBAAqB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;QACnE,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEF,OAAO,EAAE,CAAC;AACd,CAAC"}
@@ -11,6 +11,13 @@ import type { ElementValidationError } from './Abstracts/Interfaces/IElementVali
11
11
  * @returns null if the validation check passes, otherwise an object containing information.
12
12
  */
13
13
  export declare function emailValidator(element: HTMLElement & {
14
- value: string;
14
+ value: string | null;
15
15
  }): Nullable<ElementValidationError>;
16
+ /**
17
+ * Checks if the value is a valid email address.
18
+ *
19
+ * @param value - The value to check.
20
+ * @returns True if the value is a valid email address, false otherwise.
21
+ */
22
+ export declare function isEmailValue(value: unknown): boolean;
16
23
  //# sourceMappingURL=EmailElementValidatorFn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmailElementValidatorFn.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EmailElementValidatorFn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAyBvF;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAMzG"}
1
+ {"version":3,"file":"EmailElementValidatorFn.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EmailElementValidatorFn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAuBvF;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAIhH;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAEpD"}
@@ -1,6 +1,5 @@
1
1
  // #region Imports
2
2
  // #endregion
3
- const patternAttribute = 'pattern';
4
3
  /**
5
4
  * Regular expression for validating email addresses according to typical email standards.
6
5
  * This regex enforces constraints on both the local and domain parts of the email.
@@ -30,10 +29,17 @@ const EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(
30
29
  * @returns null if the validation check passes, otherwise an object containing information.
31
30
  */
32
31
  export function emailValidator(element) {
33
- return element.value == null || ((typeof element.value === 'string' || Array.isArray(element.value)) && element.value.length === 0)
32
+ return isEmailValue(element.value)
34
33
  ? null
35
- : EMAIL_REGEXP.test(element.value)
36
- ? null
37
- : { patternMismatch: true };
34
+ : { patternMismatch: true };
35
+ }
36
+ /**
37
+ * Checks if the value is a valid email address.
38
+ *
39
+ * @param value - The value to check.
40
+ * @returns True if the value is a valid email address, false otherwise.
41
+ */
42
+ export function isEmailValue(value) {
43
+ return typeof value === 'string' && EMAIL_REGEXP.test(value);
38
44
  }
39
45
  //# sourceMappingURL=EmailElementValidatorFn.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmailElementValidatorFn.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EmailElementValidatorFn.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,aAAa;AAEb,MAAM,gBAAgB,GAAG,SAAS,CAAC;AAEnC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,YAAY,GAAG,oMAAoM,CAAC;AAE1N;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc,CAAC,OAAwC;IACnE,OAAO,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,CAAC,CAAC,OAAO,OAAO,CAAC,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;QAC/H,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;YAC9B,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;AACxC,CAAC"}
1
+ {"version":3,"file":"EmailElementValidatorFn.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EmailElementValidatorFn.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,aAAa;AAEb;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,YAAY,GAAG,oMAAoM,CAAC;AAE1N;;;;;;;;;GASG;AACH,MAAM,UAAU,cAAc,CAAC,OAA+C;IAC1E,OAAO,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC;QAC9B,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;AACpC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,KAAc;IACvC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACjE,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
2
2
  import type { ElementValidationMessageResolver, ElementValidationResult, ElementValidatorFn } from './Abstracts/Interfaces/IElementValidator';
3
+ import { isEqualsToValue as _isEqualsToValue } from './EqualsToElementValidatorFn';
3
4
  /**
4
5
  * @private
5
6
  */
@@ -15,8 +16,11 @@ export declare class EqualsToElementValidator<TElement extends IEqualsToElement
15
16
  protected get attributes(): Array<keyof IEqualsToElement>;
16
17
  validate(): ElementValidationResult | null;
17
18
  }
19
+ export declare namespace EqualsToElementValidator {
20
+ const isEqualsToValue: typeof _isEqualsToValue;
21
+ }
18
22
  /**
19
- * A facory function for the {@link EqualsToElementValidator}.
23
+ * A factory function for the {@link EqualsToElementValidator}.
20
24
  *
21
25
  * @public
22
26
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -1 +1 @@
1
- {"version":3,"file":"EqualsToElementValidator.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EqualsToElementValidator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAK9I;;GAEG;AACH,UAAU,gBAAiB,SAAQ,WAAW;IAC1C,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,qBAAa,wBAAwB,CAAC,QAAQ,SAAS,gBAAgB,GAAG,gBAAgB,CACtF,SAAQ,oBAAoB,CAAC,QAAQ,CAAC;IAItC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8C;gBAMlD,IAAI,EAAE,QAAQ,EAA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AExD;IAMM,QAAQ,IAAI,uBAAuB,GAAG,IAAI;CAQpD;AAED,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,eAAe,yBAAmB,CAAC;CACnD;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,gBAAgB,GAAG,CAAC,MAAM,gBAAgB,CAAC,EAAE,eAAe,CAAC,EAAE,gCAAgC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC,KAAK,UAAU,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAOjQ"}
@@ -1,6 +1,6 @@
1
1
  // #region Imports
2
2
  import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
3
- import { equalsToValidator } from './EqualsToElementValidatorFn';
3
+ import { equalsToValidator, isEqualsToValue as _isEqualsToValue } from './EqualsToElementValidatorFn';
4
4
  /**
5
5
  * @public
6
6
  */
@@ -26,8 +26,11 @@ export class EqualsToElementValidator extends ElementValidatorBase {
26
26
  return this.getMessage(errors);
27
27
  }
28
28
  }
29
+ (function (EqualsToElementValidator) {
30
+ EqualsToElementValidator.isEqualsToValue = _isEqualsToValue;
31
+ })(EqualsToElementValidator || (EqualsToElementValidator = {}));
29
32
  /**
30
- * A facory function for the {@link EqualsToElementValidator}.
33
+ * A factory function for the {@link EqualsToElementValidator}.
31
34
  *
32
35
  * @public
33
36
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -1 +1 @@
1
- {"version":3,"file":"EqualsToElementValidator.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EqualsToElementValidator.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAWjE;;GAEG;AACH,MAAM,OAAO,wBACT,SAAQ,oBAA8B;IAEtC,iBAAiB;IAEA,MAAM,CAA8C;IAErE,aAAa;IAEb,eAAe;IAEf,YAAmB,IAAc,EAAE,KAAkD,EAAE,eAAkD;QACrI,KAAK,CAAC,IAAI,EAAE,eAAe,IAAI,CAAC,CAAC,OAA4B,EAAE,EAAE,CAAC,uDAAuD,CAAC,CAAC,CAAC;QAE5H,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACxB,CAAC;IAED,aAAa;IAEb,qBAAqB;IAErB,IAAc,UAAU;QACpB,OAAO,CAAC,OAAO,CAAC,CAAC;IACrB,CAAC;IAED,aAAa;IAEb,kBAAkB;IAEX,QAAQ;QACX,MAAM,YAAY,GAAG,OAAO,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACrF,MAAM,MAAM,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAC1D,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;CAIJ;AAED;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CAAC,KAAkD,EAAE,eAAkD;IAC3I,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,CAAmD,EAA4B,EAAE;QAC9F,MAAM,SAAS,GAAG,IAAI,wBAAwB,CAAC,IAAI,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC;QAC7E,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEF,OAAO,EAAE,CAAC;AACd,CAAC"}
1
+ {"version":3,"file":"EqualsToElementValidator.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EqualsToElementValidator.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,eAAe,IAAI,gBAAgB,EAAE,MAAM,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
17
17
  value: unknown;
18
18
  }): Nullable<ElementValidationError>;
19
+ /**
20
+ * Checks if the value is equal to another value.
21
+ *
22
+ * @param value - The value to check.
23
+ * @param other - The other value to compare against.
24
+ * @returns True if the value is equal to the other value, false otherwise.
25
+ */
26
+ export declare function isEqualsToValue(value: unknown, other: unknown): boolean;
19
27
  //# sourceMappingURL=EqualsToElementValidatorFn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EqualsToElementValidatorFn.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EqualsToElementValidatorFn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAIvF;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,EAAE,KAAK,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAItJ"}
1
+ {"version":3,"file":"EqualsToElementValidatorFn.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EqualsToElementValidatorFn.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAIvF;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,EAAE,KAAK,EAAE,WAAW,GAAG;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAQtJ;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAEvE"}
@@ -12,8 +12,22 @@
12
12
  * @returns null if the validation check passes, otherwise an object containing information.
13
13
  */
14
14
  export function equalsToValidator(element, other) {
15
- return element.value === null || other.value === null || element.value === other.value
15
+ return isEqualsToValue(element.value, other.value)
16
16
  ? null
17
- : { badInput: true };
17
+ : {
18
+ badInput: [
19
+ true, { actualValue: element.value }
20
+ ]
21
+ };
22
+ }
23
+ /**
24
+ * Checks if the value is equal to another value.
25
+ *
26
+ * @param value - The value to check.
27
+ * @param other - The other value to compare against.
28
+ * @returns True if the value is equal to the other value, false otherwise.
29
+ */
30
+ export function isEqualsToValue(value, other) {
31
+ return value === null || other === null || value === other;
18
32
  }
19
33
  //# sourceMappingURL=EqualsToElementValidatorFn.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EqualsToElementValidatorFn.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EqualsToElementValidatorFn.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,aAAa;AAEb;;;;;;;;;;GAUG;AACH,MAAM,UAAU,iBAAiB,CAAC,OAAyC,EAAE,KAAuC;IAChH,OAAO,OAAO,CAAC,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,IAAI,OAAO,CAAC,KAAK,KAAK,KAAK,CAAC,KAAK;QAClF,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"EqualsToElementValidatorFn.js","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/EqualsToElementValidatorFn.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAKlB,aAAa;AAEb;;;;;;;;;;GAUG;AACH,MAAM,UAAU,iBAAiB,CAAC,OAAyC,EAAE,KAAuC;IAChH,OAAO,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QAC9C,CAAC,CAAC,IAAI;QACN,CAAC,CAAC;YACE,QAAQ,EAAE;gBACN,IAAI,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,KAAK,EAAE;aACvC;SACJ,CAAC;AACV,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,KAAc,EAAE,KAAc;IAC1D,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,KAAK,CAAC;AAC/D,CAAC"}
@@ -16,7 +16,7 @@ export declare class MaxElementValidator<TElement extends IMaxElement = IMaxElem
16
16
  validate(): ElementValidationResult | null;
17
17
  }
18
18
  /**
19
- * A facory function for the {@link MaxElementValidator}.
19
+ * A factory function for the {@link MaxElementValidator}.
20
20
  *
21
21
  * @public
22
22
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -22,7 +22,7 @@ export class MaxElementValidator extends ElementValidatorBase {
22
22
  }
23
23
  }
24
24
  /**
25
- * A facory function for the {@link MaxElementValidator}.
25
+ * A factory function for the {@link MaxElementValidator}.
26
26
  *
27
27
  * @public
28
28
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -16,7 +16,7 @@ export declare class MaxLengthElementValidator<TElement extends IMaxLengthElemen
16
16
  validate(): ElementValidationResult | null;
17
17
  }
18
18
  /**
19
- * A facory function for the {@link MaxLengthElementValidator}.
19
+ * A factory function for the {@link MaxLengthElementValidator}.
20
20
  *
21
21
  * @public
22
22
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -22,7 +22,7 @@ export class MaxLengthElementValidator extends ElementValidatorBase {
22
22
  }
23
23
  }
24
24
  /**
25
- * A facory function for the {@link MaxLengthElementValidator}.
25
+ * A factory function for the {@link MaxLengthElementValidator}.
26
26
  *
27
27
  * @public
28
28
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -16,7 +16,7 @@ export declare class MinElementValidator<TElement extends IMinElement = IMinElem
16
16
  validate(): ElementValidationResult | null;
17
17
  }
18
18
  /**
19
- * A facory function for the {@link MinElementValidator}.
19
+ * A factory function for the {@link MinElementValidator}.
20
20
  *
21
21
  * @public
22
22
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -22,7 +22,7 @@ export class MinElementValidator extends ElementValidatorBase {
22
22
  }
23
23
  }
24
24
  /**
25
- * A facory function for the {@link MinElementValidator}.
25
+ * A factory function for the {@link MinElementValidator}.
26
26
  *
27
27
  * @public
28
28
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -16,7 +16,7 @@ export declare class MinLengthElementValidator<TElement extends IMinLengthElemen
16
16
  validate(): ElementValidationResult | null;
17
17
  }
18
18
  /**
19
- * A facory function for the {@link MinLengthElementValidator}.
19
+ * A factory function for the {@link MinLengthElementValidator}.
20
20
  *
21
21
  * @public
22
22
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -22,7 +22,7 @@ export class MinLengthElementValidator extends ElementValidatorBase {
22
22
  }
23
23
  }
24
24
  /**
25
- * A facory function for the {@link MinLengthElementValidator}.
25
+ * A factory function for the {@link MinLengthElementValidator}.
26
26
  *
27
27
  * @public
28
28
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -1,5 +1,6 @@
1
1
  import { ElementValidatorBase } from './Abstracts/ElementValidatorBase';
2
2
  import type { ElementValidationMessageResolver, ElementValidationResult, ElementValidatorFn } from './Abstracts/Interfaces/IElementValidator';
3
+ import { isNumericValue as _isNumericValue } from './NumericElementValidatorFn';
3
4
  /**
4
5
  * @private
5
6
  */
@@ -14,8 +15,11 @@ export declare class NumericElementValidator<TElement extends INumericElement =
14
15
  protected get attributes(): Array<keyof INumericElement>;
15
16
  validate(): ElementValidationResult | null;
16
17
  }
18
+ export declare namespace NumericElementValidator {
19
+ const isNumericValue: typeof _isNumericValue;
20
+ }
17
21
  /**
18
- * The facory function for the {@link NumericElementValidator}.
22
+ * The factory function for the {@link NumericElementValidator}.
19
23
  *
20
24
  * @public
21
25
  * @param resolver - A *optional* message resolver to get the error message that will be displayed. When not provided, a default message will be used.
@@ -1 +1 @@
1
- {"version":3,"file":"NumericElementValidator.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/NumericElementValidator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAK9I;;GAEG;AACH,UAAU,eAAgB,SAAQ,WAAW;IACzC,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,qBAAa,uBAAuB,CAAC,QAAQ,SAAS,eAAe,GAAG,eAAe,CACnF,SAAQ,oBAAoB,CAAC,QAAQ,CAAC;gBAInB,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAAE,gCAAgC;IAQrF,SAAS,KAAK,UAAU,IAAI,KAAK,CAAC,MAAM,eAAe,CAAC,CAEvD;IAMM,QAAQ,IAAI,uBAAuB,GAAG,IAAI;CAOpD;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,CAAC,EAAE,gCAAgC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC,KAAK,UAAU,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAC,CAOnM"}
1
+ {"version":3,"file":"NumericElementValidator.d.ts","sourceRoot":"","sources":["../../../../src/Forms/Validators/VNext/NumericElementValidator.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,gCAAgC,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9I,OAA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