@anguless/angulux 22.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (633) hide show
  1. package/LICENSE +22 -0
  2. package/NOTICE +40 -0
  3. package/fesm2022/anguless-angulux-api.mjs +843 -0
  4. package/fesm2022/anguless-angulux-api.mjs.map +1 -0
  5. package/fesm2022/anguless-angulux-autofocus.mjs +83 -0
  6. package/fesm2022/anguless-angulux-autofocus.mjs.map +1 -0
  7. package/fesm2022/anguless-angulux-avatar.mjs +212 -0
  8. package/fesm2022/anguless-angulux-avatar.mjs.map +1 -0
  9. package/fesm2022/anguless-angulux-avatargroup.mjs +104 -0
  10. package/fesm2022/anguless-angulux-avatargroup.mjs.map +1 -0
  11. package/fesm2022/anguless-angulux-badge.mjs +423 -0
  12. package/fesm2022/anguless-angulux-badge.mjs.map +1 -0
  13. package/fesm2022/anguless-angulux-base.mjs +124 -0
  14. package/fesm2022/anguless-angulux-base.mjs.map +1 -0
  15. package/fesm2022/anguless-angulux-basecomponent.mjs +443 -0
  16. package/fesm2022/anguless-angulux-basecomponent.mjs.map +1 -0
  17. package/fesm2022/anguless-angulux-baseeditableholder.mjs +70 -0
  18. package/fesm2022/anguless-angulux-baseeditableholder.mjs.map +1 -0
  19. package/fesm2022/anguless-angulux-baseinput.mjs +95 -0
  20. package/fesm2022/anguless-angulux-baseinput.mjs.map +1 -0
  21. package/fesm2022/anguless-angulux-basemodelholder.mjs +27 -0
  22. package/fesm2022/anguless-angulux-basemodelholder.mjs.map +1 -0
  23. package/fesm2022/anguless-angulux-bind.mjs +99 -0
  24. package/fesm2022/anguless-angulux-bind.mjs.map +1 -0
  25. package/fesm2022/anguless-angulux-button.mjs +1039 -0
  26. package/fesm2022/anguless-angulux-button.mjs.map +1 -0
  27. package/fesm2022/anguless-angulux-card.mjs +311 -0
  28. package/fesm2022/anguless-angulux-card.mjs.map +1 -0
  29. package/fesm2022/anguless-angulux-chart.mjs +268 -0
  30. package/fesm2022/anguless-angulux-chart.mjs.map +1 -0
  31. package/fesm2022/anguless-angulux-checkbox.mjs +469 -0
  32. package/fesm2022/anguless-angulux-checkbox.mjs.map +1 -0
  33. package/fesm2022/anguless-angulux-chip.mjs +376 -0
  34. package/fesm2022/anguless-angulux-chip.mjs.map +1 -0
  35. package/fesm2022/anguless-angulux-colorpicker.mjs +807 -0
  36. package/fesm2022/anguless-angulux-colorpicker.mjs.map +1 -0
  37. package/fesm2022/anguless-angulux-config.mjs +309 -0
  38. package/fesm2022/anguless-angulux-config.mjs.map +1 -0
  39. package/fesm2022/anguless-angulux-confirmdialog.mjs +858 -0
  40. package/fesm2022/anguless-angulux-confirmdialog.mjs.map +1 -0
  41. package/fesm2022/anguless-angulux-datepicker.mjs +4441 -0
  42. package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -0
  43. package/fesm2022/anguless-angulux-dialog.mjs +1420 -0
  44. package/fesm2022/anguless-angulux-dialog.mjs.map +1 -0
  45. package/fesm2022/anguless-angulux-divider.mjs +160 -0
  46. package/fesm2022/anguless-angulux-divider.mjs.map +1 -0
  47. package/fesm2022/anguless-angulux-dom.mjs +778 -0
  48. package/fesm2022/anguless-angulux-dom.mjs.map +1 -0
  49. package/fesm2022/anguless-angulux-drawer.mjs +782 -0
  50. package/fesm2022/anguless-angulux-drawer.mjs.map +1 -0
  51. package/fesm2022/anguless-angulux-fileupload.mjs +1580 -0
  52. package/fesm2022/anguless-angulux-fileupload.mjs.map +1 -0
  53. package/fesm2022/anguless-angulux-fluid.mjs +87 -0
  54. package/fesm2022/anguless-angulux-fluid.mjs.map +1 -0
  55. package/fesm2022/anguless-angulux-focustrap.mjs +108 -0
  56. package/fesm2022/anguless-angulux-focustrap.mjs.map +1 -0
  57. package/fesm2022/anguless-angulux-iconfield.mjs +112 -0
  58. package/fesm2022/anguless-angulux-iconfield.mjs.map +1 -0
  59. package/fesm2022/anguless-angulux-icons-angledoubledown.mjs +38 -0
  60. package/fesm2022/anguless-angulux-icons-angledoubledown.mjs.map +1 -0
  61. package/fesm2022/anguless-angulux-icons-angledoubleleft.mjs +38 -0
  62. package/fesm2022/anguless-angulux-icons-angledoubleleft.mjs.map +1 -0
  63. package/fesm2022/anguless-angulux-icons-angledoubleright.mjs +38 -0
  64. package/fesm2022/anguless-angulux-icons-angledoubleright.mjs.map +1 -0
  65. package/fesm2022/anguless-angulux-icons-angledoubleup.mjs +38 -0
  66. package/fesm2022/anguless-angulux-icons-angledoubleup.mjs.map +1 -0
  67. package/fesm2022/anguless-angulux-icons-angledown.mjs +34 -0
  68. package/fesm2022/anguless-angulux-icons-angledown.mjs.map +1 -0
  69. package/fesm2022/anguless-angulux-icons-angleleft.mjs +34 -0
  70. package/fesm2022/anguless-angulux-icons-angleleft.mjs.map +1 -0
  71. package/fesm2022/anguless-angulux-icons-angleright.mjs +34 -0
  72. package/fesm2022/anguless-angulux-icons-angleright.mjs.map +1 -0
  73. package/fesm2022/anguless-angulux-icons-angleup.mjs +34 -0
  74. package/fesm2022/anguless-angulux-icons-angleup.mjs.map +1 -0
  75. package/fesm2022/anguless-angulux-icons-arrowdown.mjs +57 -0
  76. package/fesm2022/anguless-angulux-icons-arrowdown.mjs.map +1 -0
  77. package/fesm2022/anguless-angulux-icons-arrowdownleft.mjs +34 -0
  78. package/fesm2022/anguless-angulux-icons-arrowdownleft.mjs.map +1 -0
  79. package/fesm2022/anguless-angulux-icons-arrowdownright.mjs +34 -0
  80. package/fesm2022/anguless-angulux-icons-arrowdownright.mjs.map +1 -0
  81. package/fesm2022/anguless-angulux-icons-arrowleft.mjs +57 -0
  82. package/fesm2022/anguless-angulux-icons-arrowleft.mjs.map +1 -0
  83. package/fesm2022/anguless-angulux-icons-arrowright.mjs +38 -0
  84. package/fesm2022/anguless-angulux-icons-arrowright.mjs.map +1 -0
  85. package/fesm2022/anguless-angulux-icons-arrowup.mjs +57 -0
  86. package/fesm2022/anguless-angulux-icons-arrowup.mjs.map +1 -0
  87. package/fesm2022/anguless-angulux-icons-ban.mjs +53 -0
  88. package/fesm2022/anguless-angulux-icons-ban.mjs.map +1 -0
  89. package/fesm2022/anguless-angulux-icons-bars.mjs +38 -0
  90. package/fesm2022/anguless-angulux-icons-bars.mjs.map +1 -0
  91. package/fesm2022/anguless-angulux-icons-baseicon.mjs +101 -0
  92. package/fesm2022/anguless-angulux-icons-baseicon.mjs.map +1 -0
  93. package/fesm2022/anguless-angulux-icons-blank.mjs +24 -0
  94. package/fesm2022/anguless-angulux-icons-blank.mjs.map +1 -0
  95. package/fesm2022/anguless-angulux-icons-calendar.mjs +34 -0
  96. package/fesm2022/anguless-angulux-icons-calendar.mjs.map +1 -0
  97. package/fesm2022/anguless-angulux-icons-caretleft.mjs +34 -0
  98. package/fesm2022/anguless-angulux-icons-caretleft.mjs.map +1 -0
  99. package/fesm2022/anguless-angulux-icons-caretright.mjs +34 -0
  100. package/fesm2022/anguless-angulux-icons-caretright.mjs.map +1 -0
  101. package/fesm2022/anguless-angulux-icons-check.mjs +34 -0
  102. package/fesm2022/anguless-angulux-icons-check.mjs.map +1 -0
  103. package/fesm2022/anguless-angulux-icons-chevrondown.mjs +34 -0
  104. package/fesm2022/anguless-angulux-icons-chevrondown.mjs.map +1 -0
  105. package/fesm2022/anguless-angulux-icons-chevronleft.mjs +34 -0
  106. package/fesm2022/anguless-angulux-icons-chevronleft.mjs.map +1 -0
  107. package/fesm2022/anguless-angulux-icons-chevronright.mjs +34 -0
  108. package/fesm2022/anguless-angulux-icons-chevronright.mjs.map +1 -0
  109. package/fesm2022/anguless-angulux-icons-chevronup.mjs +34 -0
  110. package/fesm2022/anguless-angulux-icons-chevronup.mjs.map +1 -0
  111. package/fesm2022/anguless-angulux-icons-exclamationtriangle.mjs +69 -0
  112. package/fesm2022/anguless-angulux-icons-exclamationtriangle.mjs.map +1 -0
  113. package/fesm2022/anguless-angulux-icons-eye.mjs +38 -0
  114. package/fesm2022/anguless-angulux-icons-eye.mjs.map +1 -0
  115. package/fesm2022/anguless-angulux-icons-eyeslash.mjs +57 -0
  116. package/fesm2022/anguless-angulux-icons-eyeslash.mjs.map +1 -0
  117. package/fesm2022/anguless-angulux-icons-filter.mjs +53 -0
  118. package/fesm2022/anguless-angulux-icons-filter.mjs.map +1 -0
  119. package/fesm2022/anguless-angulux-icons-filterfill.mjs +34 -0
  120. package/fesm2022/anguless-angulux-icons-filterfill.mjs.map +1 -0
  121. package/fesm2022/anguless-angulux-icons-filterslash.mjs +57 -0
  122. package/fesm2022/anguless-angulux-icons-filterslash.mjs.map +1 -0
  123. package/fesm2022/anguless-angulux-icons-home.mjs +57 -0
  124. package/fesm2022/anguless-angulux-icons-home.mjs.map +1 -0
  125. package/fesm2022/anguless-angulux-icons-infocircle.mjs +57 -0
  126. package/fesm2022/anguless-angulux-icons-infocircle.mjs.map +1 -0
  127. package/fesm2022/anguless-angulux-icons-minus.mjs +34 -0
  128. package/fesm2022/anguless-angulux-icons-minus.mjs.map +1 -0
  129. package/fesm2022/anguless-angulux-icons-pencil.mjs +53 -0
  130. package/fesm2022/anguless-angulux-icons-pencil.mjs.map +1 -0
  131. package/fesm2022/anguless-angulux-icons-plus.mjs +53 -0
  132. package/fesm2022/anguless-angulux-icons-plus.mjs.map +1 -0
  133. package/fesm2022/anguless-angulux-icons-refresh.mjs +57 -0
  134. package/fesm2022/anguless-angulux-icons-refresh.mjs.map +1 -0
  135. package/fesm2022/anguless-angulux-icons-search.mjs +57 -0
  136. package/fesm2022/anguless-angulux-icons-search.mjs.map +1 -0
  137. package/fesm2022/anguless-angulux-icons-searchminus.mjs +57 -0
  138. package/fesm2022/anguless-angulux-icons-searchminus.mjs.map +1 -0
  139. package/fesm2022/anguless-angulux-icons-searchplus.mjs +57 -0
  140. package/fesm2022/anguless-angulux-icons-searchplus.mjs.map +1 -0
  141. package/fesm2022/anguless-angulux-icons-sortalt.mjs +65 -0
  142. package/fesm2022/anguless-angulux-icons-sortalt.mjs.map +1 -0
  143. package/fesm2022/anguless-angulux-icons-sortamountdown.mjs +53 -0
  144. package/fesm2022/anguless-angulux-icons-sortamountdown.mjs.map +1 -0
  145. package/fesm2022/anguless-angulux-icons-sortamountupalt.mjs +53 -0
  146. package/fesm2022/anguless-angulux-icons-sortamountupalt.mjs.map +1 -0
  147. package/fesm2022/anguless-angulux-icons-spinner.mjs +53 -0
  148. package/fesm2022/anguless-angulux-icons-spinner.mjs.map +1 -0
  149. package/fesm2022/anguless-angulux-icons-star.mjs +53 -0
  150. package/fesm2022/anguless-angulux-icons-star.mjs.map +1 -0
  151. package/fesm2022/anguless-angulux-icons-starfill.mjs +53 -0
  152. package/fesm2022/anguless-angulux-icons-starfill.mjs.map +1 -0
  153. package/fesm2022/anguless-angulux-icons-thlarge.mjs +57 -0
  154. package/fesm2022/anguless-angulux-icons-thlarge.mjs.map +1 -0
  155. package/fesm2022/anguless-angulux-icons-times.mjs +34 -0
  156. package/fesm2022/anguless-angulux-icons-times.mjs.map +1 -0
  157. package/fesm2022/anguless-angulux-icons-timescircle.mjs +57 -0
  158. package/fesm2022/anguless-angulux-icons-timescircle.mjs.map +1 -0
  159. package/fesm2022/anguless-angulux-icons-trash.mjs +57 -0
  160. package/fesm2022/anguless-angulux-icons-trash.mjs.map +1 -0
  161. package/fesm2022/anguless-angulux-icons-undo.mjs +57 -0
  162. package/fesm2022/anguless-angulux-icons-undo.mjs.map +1 -0
  163. package/fesm2022/anguless-angulux-icons-upload.mjs +57 -0
  164. package/fesm2022/anguless-angulux-icons-upload.mjs.map +1 -0
  165. package/fesm2022/anguless-angulux-icons-windowmaximize.mjs +57 -0
  166. package/fesm2022/anguless-angulux-icons-windowmaximize.mjs.map +1 -0
  167. package/fesm2022/anguless-angulux-icons-windowminimize.mjs +57 -0
  168. package/fesm2022/anguless-angulux-icons-windowminimize.mjs.map +1 -0
  169. package/fesm2022/anguless-angulux-icons.mjs +63 -0
  170. package/fesm2022/anguless-angulux-icons.mjs.map +1 -0
  171. package/fesm2022/anguless-angulux-inputicon.mjs +84 -0
  172. package/fesm2022/anguless-angulux-inputicon.mjs.map +1 -0
  173. package/fesm2022/anguless-angulux-inputnumber.mjs +1673 -0
  174. package/fesm2022/anguless-angulux-inputnumber.mjs.map +1 -0
  175. package/fesm2022/anguless-angulux-inputtext.mjs +199 -0
  176. package/fesm2022/anguless-angulux-inputtext.mjs.map +1 -0
  177. package/fesm2022/anguless-angulux-menu.mjs +1160 -0
  178. package/fesm2022/anguless-angulux-menu.mjs.map +1 -0
  179. package/fesm2022/anguless-angulux-message.mjs +409 -0
  180. package/fesm2022/anguless-angulux-message.mjs.map +1 -0
  181. package/fesm2022/anguless-angulux-motion.mjs +721 -0
  182. package/fesm2022/anguless-angulux-motion.mjs.map +1 -0
  183. package/fesm2022/anguless-angulux-multiselect.mjs +2712 -0
  184. package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -0
  185. package/fesm2022/anguless-angulux-overlay.mjs +886 -0
  186. package/fesm2022/anguless-angulux-overlay.mjs.map +1 -0
  187. package/fesm2022/anguless-angulux-paginator.mjs +823 -0
  188. package/fesm2022/anguless-angulux-paginator.mjs.map +1 -0
  189. package/fesm2022/anguless-angulux-password.mjs +1181 -0
  190. package/fesm2022/anguless-angulux-password.mjs.map +1 -0
  191. package/fesm2022/anguless-angulux-popover.mjs +532 -0
  192. package/fesm2022/anguless-angulux-popover.mjs.map +1 -0
  193. package/fesm2022/anguless-angulux-progressbar.mjs +214 -0
  194. package/fesm2022/anguless-angulux-progressbar.mjs.map +1 -0
  195. package/fesm2022/anguless-angulux-progressspinner.mjs +146 -0
  196. package/fesm2022/anguless-angulux-progressspinner.mjs.map +1 -0
  197. package/fesm2022/anguless-angulux-radiobutton.mjs +381 -0
  198. package/fesm2022/anguless-angulux-radiobutton.mjs.map +1 -0
  199. package/fesm2022/anguless-angulux-ripple.mjs +194 -0
  200. package/fesm2022/anguless-angulux-ripple.mjs.map +1 -0
  201. package/fesm2022/anguless-angulux-scroller.mjs +1325 -0
  202. package/fesm2022/anguless-angulux-scroller.mjs.map +1 -0
  203. package/fesm2022/anguless-angulux-select.mjs +2408 -0
  204. package/fesm2022/anguless-angulux-select.mjs.map +1 -0
  205. package/fesm2022/anguless-angulux-selectbutton.mjs +434 -0
  206. package/fesm2022/anguless-angulux-selectbutton.mjs.map +1 -0
  207. package/fesm2022/anguless-angulux-skeleton.mjs +168 -0
  208. package/fesm2022/anguless-angulux-skeleton.mjs.map +1 -0
  209. package/fesm2022/anguless-angulux-splitbutton.mjs +643 -0
  210. package/fesm2022/anguless-angulux-splitbutton.mjs.map +1 -0
  211. package/fesm2022/anguless-angulux-table.mjs +7815 -0
  212. package/fesm2022/anguless-angulux-table.mjs.map +1 -0
  213. package/fesm2022/anguless-angulux-tabs.mjs +921 -0
  214. package/fesm2022/anguless-angulux-tabs.mjs.map +1 -0
  215. package/fesm2022/anguless-angulux-tag.mjs +196 -0
  216. package/fesm2022/anguless-angulux-tag.mjs.map +1 -0
  217. package/fesm2022/anguless-angulux-textarea.mjs +227 -0
  218. package/fesm2022/anguless-angulux-textarea.mjs.map +1 -0
  219. package/fesm2022/anguless-angulux-tieredmenu.mjs +1635 -0
  220. package/fesm2022/anguless-angulux-tieredmenu.mjs.map +1 -0
  221. package/fesm2022/anguless-angulux-timeline.mjs +248 -0
  222. package/fesm2022/anguless-angulux-timeline.mjs.map +1 -0
  223. package/fesm2022/anguless-angulux-toast.mjs +788 -0
  224. package/fesm2022/anguless-angulux-toast.mjs.map +1 -0
  225. package/fesm2022/anguless-angulux-togglebutton.mjs +391 -0
  226. package/fesm2022/anguless-angulux-togglebutton.mjs.map +1 -0
  227. package/fesm2022/anguless-angulux-toggleswitch.mjs +345 -0
  228. package/fesm2022/anguless-angulux-toggleswitch.mjs.map +1 -0
  229. package/fesm2022/anguless-angulux-tooltip.mjs +845 -0
  230. package/fesm2022/anguless-angulux-tooltip.mjs.map +1 -0
  231. package/fesm2022/anguless-angulux-treetable.mjs +5167 -0
  232. package/fesm2022/anguless-angulux-treetable.mjs.map +1 -0
  233. package/fesm2022/anguless-angulux-ts-helpers.mjs +4 -0
  234. package/fesm2022/anguless-angulux-ts-helpers.mjs.map +1 -0
  235. package/fesm2022/anguless-angulux-types-accordion.mjs +4 -0
  236. package/fesm2022/anguless-angulux-types-accordion.mjs.map +1 -0
  237. package/fesm2022/anguless-angulux-types-autocomplete.mjs +4 -0
  238. package/fesm2022/anguless-angulux-types-autocomplete.mjs.map +1 -0
  239. package/fesm2022/anguless-angulux-types-avatar.mjs +4 -0
  240. package/fesm2022/anguless-angulux-types-avatar.mjs.map +1 -0
  241. package/fesm2022/anguless-angulux-types-avatargroup.mjs +4 -0
  242. package/fesm2022/anguless-angulux-types-avatargroup.mjs.map +1 -0
  243. package/fesm2022/anguless-angulux-types-badge.mjs +4 -0
  244. package/fesm2022/anguless-angulux-types-badge.mjs.map +1 -0
  245. package/fesm2022/anguless-angulux-types-blockui.mjs +4 -0
  246. package/fesm2022/anguless-angulux-types-blockui.mjs.map +1 -0
  247. package/fesm2022/anguless-angulux-types-breadcrumb.mjs +4 -0
  248. package/fesm2022/anguless-angulux-types-breadcrumb.mjs.map +1 -0
  249. package/fesm2022/anguless-angulux-types-button.mjs +4 -0
  250. package/fesm2022/anguless-angulux-types-button.mjs.map +1 -0
  251. package/fesm2022/anguless-angulux-types-card.mjs +4 -0
  252. package/fesm2022/anguless-angulux-types-card.mjs.map +1 -0
  253. package/fesm2022/anguless-angulux-types-carousel.mjs +4 -0
  254. package/fesm2022/anguless-angulux-types-carousel.mjs.map +1 -0
  255. package/fesm2022/anguless-angulux-types-cascadeselect.mjs +4 -0
  256. package/fesm2022/anguless-angulux-types-cascadeselect.mjs.map +1 -0
  257. package/fesm2022/anguless-angulux-types-chart.mjs +4 -0
  258. package/fesm2022/anguless-angulux-types-chart.mjs.map +1 -0
  259. package/fesm2022/anguless-angulux-types-checkbox.mjs +4 -0
  260. package/fesm2022/anguless-angulux-types-checkbox.mjs.map +1 -0
  261. package/fesm2022/anguless-angulux-types-chip.mjs +4 -0
  262. package/fesm2022/anguless-angulux-types-chip.mjs.map +1 -0
  263. package/fesm2022/anguless-angulux-types-colorpicker.mjs +4 -0
  264. package/fesm2022/anguless-angulux-types-colorpicker.mjs.map +1 -0
  265. package/fesm2022/anguless-angulux-types-confirmdialog.mjs +4 -0
  266. package/fesm2022/anguless-angulux-types-confirmdialog.mjs.map +1 -0
  267. package/fesm2022/anguless-angulux-types-confirmpopup.mjs +4 -0
  268. package/fesm2022/anguless-angulux-types-confirmpopup.mjs.map +1 -0
  269. package/fesm2022/anguless-angulux-types-contextmenu.mjs +4 -0
  270. package/fesm2022/anguless-angulux-types-contextmenu.mjs.map +1 -0
  271. package/fesm2022/anguless-angulux-types-dataview.mjs +4 -0
  272. package/fesm2022/anguless-angulux-types-dataview.mjs.map +1 -0
  273. package/fesm2022/anguless-angulux-types-datepicker.mjs +4 -0
  274. package/fesm2022/anguless-angulux-types-datepicker.mjs.map +1 -0
  275. package/fesm2022/anguless-angulux-types-dialog.mjs +4 -0
  276. package/fesm2022/anguless-angulux-types-dialog.mjs.map +1 -0
  277. package/fesm2022/anguless-angulux-types-divider.mjs +4 -0
  278. package/fesm2022/anguless-angulux-types-divider.mjs.map +1 -0
  279. package/fesm2022/anguless-angulux-types-dock.mjs +4 -0
  280. package/fesm2022/anguless-angulux-types-dock.mjs.map +1 -0
  281. package/fesm2022/anguless-angulux-types-drawer.mjs +4 -0
  282. package/fesm2022/anguless-angulux-types-drawer.mjs.map +1 -0
  283. package/fesm2022/anguless-angulux-types-editor.mjs +4 -0
  284. package/fesm2022/anguless-angulux-types-editor.mjs.map +1 -0
  285. package/fesm2022/anguless-angulux-types-fieldset.mjs +4 -0
  286. package/fesm2022/anguless-angulux-types-fieldset.mjs.map +1 -0
  287. package/fesm2022/anguless-angulux-types-fileupload.mjs +4 -0
  288. package/fesm2022/anguless-angulux-types-fileupload.mjs.map +1 -0
  289. package/fesm2022/anguless-angulux-types-floatlabel.mjs +4 -0
  290. package/fesm2022/anguless-angulux-types-floatlabel.mjs.map +1 -0
  291. package/fesm2022/anguless-angulux-types-fluid.mjs +4 -0
  292. package/fesm2022/anguless-angulux-types-fluid.mjs.map +1 -0
  293. package/fesm2022/anguless-angulux-types-galleria.mjs +4 -0
  294. package/fesm2022/anguless-angulux-types-galleria.mjs.map +1 -0
  295. package/fesm2022/anguless-angulux-types-iconfield.mjs +4 -0
  296. package/fesm2022/anguless-angulux-types-iconfield.mjs.map +1 -0
  297. package/fesm2022/anguless-angulux-types-iftalabel.mjs +4 -0
  298. package/fesm2022/anguless-angulux-types-iftalabel.mjs.map +1 -0
  299. package/fesm2022/anguless-angulux-types-image.mjs +4 -0
  300. package/fesm2022/anguless-angulux-types-image.mjs.map +1 -0
  301. package/fesm2022/anguless-angulux-types-imagecompare.mjs +4 -0
  302. package/fesm2022/anguless-angulux-types-imagecompare.mjs.map +1 -0
  303. package/fesm2022/anguless-angulux-types-inplace.mjs +4 -0
  304. package/fesm2022/anguless-angulux-types-inplace.mjs.map +1 -0
  305. package/fesm2022/anguless-angulux-types-inputgroup.mjs +4 -0
  306. package/fesm2022/anguless-angulux-types-inputgroup.mjs.map +1 -0
  307. package/fesm2022/anguless-angulux-types-inputgroupaddon.mjs +4 -0
  308. package/fesm2022/anguless-angulux-types-inputgroupaddon.mjs.map +1 -0
  309. package/fesm2022/anguless-angulux-types-inputicon.mjs +4 -0
  310. package/fesm2022/anguless-angulux-types-inputicon.mjs.map +1 -0
  311. package/fesm2022/anguless-angulux-types-inputmask.mjs +4 -0
  312. package/fesm2022/anguless-angulux-types-inputmask.mjs.map +1 -0
  313. package/fesm2022/anguless-angulux-types-inputnumber.mjs +4 -0
  314. package/fesm2022/anguless-angulux-types-inputnumber.mjs.map +1 -0
  315. package/fesm2022/anguless-angulux-types-inputotp.mjs +4 -0
  316. package/fesm2022/anguless-angulux-types-inputotp.mjs.map +1 -0
  317. package/fesm2022/anguless-angulux-types-inputtext.mjs +4 -0
  318. package/fesm2022/anguless-angulux-types-inputtext.mjs.map +1 -0
  319. package/fesm2022/anguless-angulux-types-knob.mjs +4 -0
  320. package/fesm2022/anguless-angulux-types-knob.mjs.map +1 -0
  321. package/fesm2022/anguless-angulux-types-listbox.mjs +4 -0
  322. package/fesm2022/anguless-angulux-types-listbox.mjs.map +1 -0
  323. package/fesm2022/anguless-angulux-types-megamenu.mjs +4 -0
  324. package/fesm2022/anguless-angulux-types-megamenu.mjs.map +1 -0
  325. package/fesm2022/anguless-angulux-types-menu.mjs +4 -0
  326. package/fesm2022/anguless-angulux-types-menu.mjs.map +1 -0
  327. package/fesm2022/anguless-angulux-types-menubar.mjs +4 -0
  328. package/fesm2022/anguless-angulux-types-menubar.mjs.map +1 -0
  329. package/fesm2022/anguless-angulux-types-message.mjs +4 -0
  330. package/fesm2022/anguless-angulux-types-message.mjs.map +1 -0
  331. package/fesm2022/anguless-angulux-types-metergroup.mjs +4 -0
  332. package/fesm2022/anguless-angulux-types-metergroup.mjs.map +1 -0
  333. package/fesm2022/anguless-angulux-types-motion.mjs +4 -0
  334. package/fesm2022/anguless-angulux-types-motion.mjs.map +1 -0
  335. package/fesm2022/anguless-angulux-types-multiselect.mjs +4 -0
  336. package/fesm2022/anguless-angulux-types-multiselect.mjs.map +1 -0
  337. package/fesm2022/anguless-angulux-types-orderlist.mjs +4 -0
  338. package/fesm2022/anguless-angulux-types-orderlist.mjs.map +1 -0
  339. package/fesm2022/anguless-angulux-types-organizationchart.mjs +4 -0
  340. package/fesm2022/anguless-angulux-types-organizationchart.mjs.map +1 -0
  341. package/fesm2022/anguless-angulux-types-overlay.mjs +4 -0
  342. package/fesm2022/anguless-angulux-types-overlay.mjs.map +1 -0
  343. package/fesm2022/anguless-angulux-types-overlaybadge.mjs +4 -0
  344. package/fesm2022/anguless-angulux-types-overlaybadge.mjs.map +1 -0
  345. package/fesm2022/anguless-angulux-types-paginator.mjs +4 -0
  346. package/fesm2022/anguless-angulux-types-paginator.mjs.map +1 -0
  347. package/fesm2022/anguless-angulux-types-panel.mjs +4 -0
  348. package/fesm2022/anguless-angulux-types-panel.mjs.map +1 -0
  349. package/fesm2022/anguless-angulux-types-panelmenu.mjs +4 -0
  350. package/fesm2022/anguless-angulux-types-panelmenu.mjs.map +1 -0
  351. package/fesm2022/anguless-angulux-types-password.mjs +4 -0
  352. package/fesm2022/anguless-angulux-types-password.mjs.map +1 -0
  353. package/fesm2022/anguless-angulux-types-picklist.mjs +4 -0
  354. package/fesm2022/anguless-angulux-types-picklist.mjs.map +1 -0
  355. package/fesm2022/anguless-angulux-types-popover.mjs +4 -0
  356. package/fesm2022/anguless-angulux-types-popover.mjs.map +1 -0
  357. package/fesm2022/anguless-angulux-types-progressbar.mjs +4 -0
  358. package/fesm2022/anguless-angulux-types-progressbar.mjs.map +1 -0
  359. package/fesm2022/anguless-angulux-types-progressspinner.mjs +4 -0
  360. package/fesm2022/anguless-angulux-types-progressspinner.mjs.map +1 -0
  361. package/fesm2022/anguless-angulux-types-radiobutton.mjs +4 -0
  362. package/fesm2022/anguless-angulux-types-radiobutton.mjs.map +1 -0
  363. package/fesm2022/anguless-angulux-types-rating.mjs +4 -0
  364. package/fesm2022/anguless-angulux-types-rating.mjs.map +1 -0
  365. package/fesm2022/anguless-angulux-types-scroller.mjs +4 -0
  366. package/fesm2022/anguless-angulux-types-scroller.mjs.map +1 -0
  367. package/fesm2022/anguless-angulux-types-scrollpanel.mjs +4 -0
  368. package/fesm2022/anguless-angulux-types-scrollpanel.mjs.map +1 -0
  369. package/fesm2022/anguless-angulux-types-scrolltop.mjs +4 -0
  370. package/fesm2022/anguless-angulux-types-scrolltop.mjs.map +1 -0
  371. package/fesm2022/anguless-angulux-types-select.mjs +4 -0
  372. package/fesm2022/anguless-angulux-types-select.mjs.map +1 -0
  373. package/fesm2022/anguless-angulux-types-selectbutton.mjs +4 -0
  374. package/fesm2022/anguless-angulux-types-selectbutton.mjs.map +1 -0
  375. package/fesm2022/anguless-angulux-types-skeleton.mjs +4 -0
  376. package/fesm2022/anguless-angulux-types-skeleton.mjs.map +1 -0
  377. package/fesm2022/anguless-angulux-types-slider.mjs +4 -0
  378. package/fesm2022/anguless-angulux-types-slider.mjs.map +1 -0
  379. package/fesm2022/anguless-angulux-types-speeddial.mjs +4 -0
  380. package/fesm2022/anguless-angulux-types-speeddial.mjs.map +1 -0
  381. package/fesm2022/anguless-angulux-types-splitbutton.mjs +4 -0
  382. package/fesm2022/anguless-angulux-types-splitbutton.mjs.map +1 -0
  383. package/fesm2022/anguless-angulux-types-splitter.mjs +4 -0
  384. package/fesm2022/anguless-angulux-types-splitter.mjs.map +1 -0
  385. package/fesm2022/anguless-angulux-types-stepper.mjs +4 -0
  386. package/fesm2022/anguless-angulux-types-stepper.mjs.map +1 -0
  387. package/fesm2022/anguless-angulux-types-table.mjs +4 -0
  388. package/fesm2022/anguless-angulux-types-table.mjs.map +1 -0
  389. package/fesm2022/anguless-angulux-types-tabs.mjs +4 -0
  390. package/fesm2022/anguless-angulux-types-tabs.mjs.map +1 -0
  391. package/fesm2022/anguless-angulux-types-tag.mjs +4 -0
  392. package/fesm2022/anguless-angulux-types-tag.mjs.map +1 -0
  393. package/fesm2022/anguless-angulux-types-terminal.mjs +4 -0
  394. package/fesm2022/anguless-angulux-types-terminal.mjs.map +1 -0
  395. package/fesm2022/anguless-angulux-types-textarea.mjs +4 -0
  396. package/fesm2022/anguless-angulux-types-textarea.mjs.map +1 -0
  397. package/fesm2022/anguless-angulux-types-tieredmenu.mjs +4 -0
  398. package/fesm2022/anguless-angulux-types-tieredmenu.mjs.map +1 -0
  399. package/fesm2022/anguless-angulux-types-timeline.mjs +4 -0
  400. package/fesm2022/anguless-angulux-types-timeline.mjs.map +1 -0
  401. package/fesm2022/anguless-angulux-types-toast.mjs +4 -0
  402. package/fesm2022/anguless-angulux-types-toast.mjs.map +1 -0
  403. package/fesm2022/anguless-angulux-types-togglebutton.mjs +4 -0
  404. package/fesm2022/anguless-angulux-types-togglebutton.mjs.map +1 -0
  405. package/fesm2022/anguless-angulux-types-toggleswitch.mjs +4 -0
  406. package/fesm2022/anguless-angulux-types-toggleswitch.mjs.map +1 -0
  407. package/fesm2022/anguless-angulux-types-toolbar.mjs +4 -0
  408. package/fesm2022/anguless-angulux-types-toolbar.mjs.map +1 -0
  409. package/fesm2022/anguless-angulux-types-tooltip.mjs +4 -0
  410. package/fesm2022/anguless-angulux-types-tooltip.mjs.map +1 -0
  411. package/fesm2022/anguless-angulux-types-tree.mjs +4 -0
  412. package/fesm2022/anguless-angulux-types-tree.mjs.map +1 -0
  413. package/fesm2022/anguless-angulux-types-treeselect.mjs +4 -0
  414. package/fesm2022/anguless-angulux-types-treeselect.mjs.map +1 -0
  415. package/fesm2022/anguless-angulux-types-treetable.mjs +4 -0
  416. package/fesm2022/anguless-angulux-types-treetable.mjs.map +1 -0
  417. package/fesm2022/anguless-angulux-usestyle.mjs +54 -0
  418. package/fesm2022/anguless-angulux-usestyle.mjs.map +1 -0
  419. package/fesm2022/anguless-angulux-utils.mjs +332 -0
  420. package/fesm2022/anguless-angulux-utils.mjs.map +1 -0
  421. package/fesm2022/anguless-angulux.mjs +6 -0
  422. package/fesm2022/anguless-angulux.mjs.map +1 -0
  423. package/package.json +904 -0
  424. package/types/anguless-angulux-api.d.ts +1976 -0
  425. package/types/anguless-angulux-autofocus.d.ts +31 -0
  426. package/types/anguless-angulux-avatar.d.ts +138 -0
  427. package/types/anguless-angulux-avatargroup.d.ts +64 -0
  428. package/types/anguless-angulux-badge.d.ts +182 -0
  429. package/types/anguless-angulux-base.d.ts +58 -0
  430. package/types/anguless-angulux-basecomponent.d.ts +175 -0
  431. package/types/anguless-angulux-baseeditableholder.d.ts +45 -0
  432. package/types/anguless-angulux-baseinput.d.ts +73 -0
  433. package/types/anguless-angulux-basemodelholder.d.ts +12 -0
  434. package/types/anguless-angulux-bind.d.ts +38 -0
  435. package/types/anguless-angulux-button.d.ts +489 -0
  436. package/types/anguless-angulux-card.d.ts +155 -0
  437. package/types/anguless-angulux-chart.d.ts +133 -0
  438. package/types/anguless-angulux-checkbox.d.ts +229 -0
  439. package/types/anguless-angulux-chip.d.ts +165 -0
  440. package/types/anguless-angulux-colorpicker.d.ts +315 -0
  441. package/types/anguless-angulux-config.d.ts +268 -0
  442. package/types/anguless-angulux-confirmdialog.d.ts +358 -0
  443. package/types/anguless-angulux-datepicker.d.ts +1015 -0
  444. package/types/anguless-angulux-dialog.d.ts +553 -0
  445. package/types/anguless-angulux-divider.d.ts +120 -0
  446. package/types/anguless-angulux-dom.d.ts +109 -0
  447. package/types/anguless-angulux-drawer.d.ts +301 -0
  448. package/types/anguless-angulux-fileupload.d.ts +560 -0
  449. package/types/anguless-angulux-fluid.d.ts +52 -0
  450. package/types/anguless-angulux-focustrap.d.ts +36 -0
  451. package/types/anguless-angulux-iconfield.d.ts +71 -0
  452. package/types/anguless-angulux-icons-angledoubledown.d.ts +9 -0
  453. package/types/anguless-angulux-icons-angledoubleleft.d.ts +9 -0
  454. package/types/anguless-angulux-icons-angledoubleright.d.ts +9 -0
  455. package/types/anguless-angulux-icons-angledoubleup.d.ts +9 -0
  456. package/types/anguless-angulux-icons-angledown.d.ts +9 -0
  457. package/types/anguless-angulux-icons-angleleft.d.ts +9 -0
  458. package/types/anguless-angulux-icons-angleright.d.ts +9 -0
  459. package/types/anguless-angulux-icons-angleup.d.ts +9 -0
  460. package/types/anguless-angulux-icons-arrowdown.d.ts +11 -0
  461. package/types/anguless-angulux-icons-arrowdownleft.d.ts +9 -0
  462. package/types/anguless-angulux-icons-arrowdownright.d.ts +9 -0
  463. package/types/anguless-angulux-icons-arrowleft.d.ts +11 -0
  464. package/types/anguless-angulux-icons-arrowright.d.ts +9 -0
  465. package/types/anguless-angulux-icons-arrowup.d.ts +11 -0
  466. package/types/anguless-angulux-icons-ban.d.ts +11 -0
  467. package/types/anguless-angulux-icons-bars.d.ts +9 -0
  468. package/types/anguless-angulux-icons-baseicon.d.ts +31 -0
  469. package/types/anguless-angulux-icons-blank.d.ts +9 -0
  470. package/types/anguless-angulux-icons-calendar.d.ts +9 -0
  471. package/types/anguless-angulux-icons-caretleft.d.ts +9 -0
  472. package/types/anguless-angulux-icons-caretright.d.ts +9 -0
  473. package/types/anguless-angulux-icons-check.d.ts +9 -0
  474. package/types/anguless-angulux-icons-chevrondown.d.ts +9 -0
  475. package/types/anguless-angulux-icons-chevronleft.d.ts +9 -0
  476. package/types/anguless-angulux-icons-chevronright.d.ts +9 -0
  477. package/types/anguless-angulux-icons-chevronup.d.ts +9 -0
  478. package/types/anguless-angulux-icons-exclamationtriangle.d.ts +11 -0
  479. package/types/anguless-angulux-icons-eye.d.ts +9 -0
  480. package/types/anguless-angulux-icons-eyeslash.d.ts +11 -0
  481. package/types/anguless-angulux-icons-filter.d.ts +11 -0
  482. package/types/anguless-angulux-icons-filterfill.d.ts +9 -0
  483. package/types/anguless-angulux-icons-filterslash.d.ts +11 -0
  484. package/types/anguless-angulux-icons-home.d.ts +11 -0
  485. package/types/anguless-angulux-icons-infocircle.d.ts +11 -0
  486. package/types/anguless-angulux-icons-minus.d.ts +9 -0
  487. package/types/anguless-angulux-icons-pencil.d.ts +11 -0
  488. package/types/anguless-angulux-icons-plus.d.ts +11 -0
  489. package/types/anguless-angulux-icons-refresh.d.ts +11 -0
  490. package/types/anguless-angulux-icons-search.d.ts +11 -0
  491. package/types/anguless-angulux-icons-searchminus.d.ts +11 -0
  492. package/types/anguless-angulux-icons-searchplus.d.ts +11 -0
  493. package/types/anguless-angulux-icons-sortalt.d.ts +11 -0
  494. package/types/anguless-angulux-icons-sortamountdown.d.ts +11 -0
  495. package/types/anguless-angulux-icons-sortamountupalt.d.ts +11 -0
  496. package/types/anguless-angulux-icons-spinner.d.ts +11 -0
  497. package/types/anguless-angulux-icons-star.d.ts +11 -0
  498. package/types/anguless-angulux-icons-starfill.d.ts +11 -0
  499. package/types/anguless-angulux-icons-thlarge.d.ts +11 -0
  500. package/types/anguless-angulux-icons-times.d.ts +9 -0
  501. package/types/anguless-angulux-icons-timescircle.d.ts +11 -0
  502. package/types/anguless-angulux-icons-trash.d.ts +11 -0
  503. package/types/anguless-angulux-icons-undo.d.ts +11 -0
  504. package/types/anguless-angulux-icons-upload.d.ts +11 -0
  505. package/types/anguless-angulux-icons-windowmaximize.d.ts +11 -0
  506. package/types/anguless-angulux-icons-windowminimize.d.ts +11 -0
  507. package/types/anguless-angulux-icons.d.ts +53 -0
  508. package/types/anguless-angulux-inputicon.d.ts +44 -0
  509. package/types/anguless-angulux-inputnumber.d.ts +434 -0
  510. package/types/anguless-angulux-inputtext.d.ts +115 -0
  511. package/types/anguless-angulux-menu.d.ts +362 -0
  512. package/types/anguless-angulux-message.d.ts +211 -0
  513. package/types/anguless-angulux-motion.d.ts +398 -0
  514. package/types/anguless-angulux-multiselect.d.ts +902 -0
  515. package/types/anguless-angulux-overlay.d.ts +355 -0
  516. package/types/anguless-angulux-paginator.d.ts +361 -0
  517. package/types/anguless-angulux-password.d.ts +492 -0
  518. package/types/anguless-angulux-popover.d.ts +202 -0
  519. package/types/anguless-angulux-progressbar.d.ts +122 -0
  520. package/types/anguless-angulux-progressspinner.d.ts +90 -0
  521. package/types/anguless-angulux-radiobutton.d.ts +191 -0
  522. package/types/anguless-angulux-ripple.d.ts +61 -0
  523. package/types/anguless-angulux-scroller.d.ts +450 -0
  524. package/types/anguless-angulux-select.d.ts +790 -0
  525. package/types/anguless-angulux-selectbutton.d.ts +184 -0
  526. package/types/anguless-angulux-skeleton.d.ts +102 -0
  527. package/types/anguless-angulux-splitbutton.d.ts +292 -0
  528. package/types/anguless-angulux-table.d.ts +2087 -0
  529. package/types/anguless-angulux-tabs.d.ts +358 -0
  530. package/types/anguless-angulux-tag.d.ts +113 -0
  531. package/types/anguless-angulux-textarea.d.ts +125 -0
  532. package/types/anguless-angulux-tieredmenu.d.ts +430 -0
  533. package/types/anguless-angulux-timeline.d.ts +139 -0
  534. package/types/anguless-angulux-toast.d.ts +301 -0
  535. package/types/anguless-angulux-togglebutton.d.ts +203 -0
  536. package/types/anguless-angulux-toggleswitch.d.ts +166 -0
  537. package/types/anguless-angulux-tooltip.d.ts +284 -0
  538. package/types/anguless-angulux-treetable.d.ts +1276 -0
  539. package/types/anguless-angulux-ts-helpers.d.ts +6 -0
  540. package/types/anguless-angulux-types-accordion.d.ts +97 -0
  541. package/types/anguless-angulux-types-autocomplete.d.ts +312 -0
  542. package/types/anguless-angulux-types-avatar.d.ts +40 -0
  543. package/types/anguless-angulux-types-avatargroup.d.ts +28 -0
  544. package/types/anguless-angulux-types-badge.d.ts +26 -0
  545. package/types/anguless-angulux-types-blockui.d.ts +39 -0
  546. package/types/anguless-angulux-types-breadcrumb.d.ts +96 -0
  547. package/types/anguless-angulux-types-button.d.ts +124 -0
  548. package/types/anguless-angulux-types-card.d.ts +75 -0
  549. package/types/anguless-angulux-types-carousel.d.ts +143 -0
  550. package/types/anguless-angulux-types-cascadeselect.d.ts +215 -0
  551. package/types/anguless-angulux-types-chart.d.ts +32 -0
  552. package/types/anguless-angulux-types-checkbox.d.ts +81 -0
  553. package/types/anguless-angulux-types-chip.d.ts +71 -0
  554. package/types/anguless-angulux-types-colorpicker.d.ts +78 -0
  555. package/types/anguless-angulux-types-confirmdialog.d.ts +147 -0
  556. package/types/anguless-angulux-types-confirmpopup.d.ts +105 -0
  557. package/types/anguless-angulux-types-contextmenu.d.ts +102 -0
  558. package/types/anguless-angulux-types-dataview.d.ts +253 -0
  559. package/types/anguless-angulux-types-datepicker.d.ts +521 -0
  560. package/types/anguless-angulux-types-dialog.d.ts +107 -0
  561. package/types/anguless-angulux-types-divider.d.ts +28 -0
  562. package/types/anguless-angulux-types-dock.d.ts +70 -0
  563. package/types/anguless-angulux-types-drawer.d.ts +82 -0
  564. package/types/anguless-angulux-types-editor.d.ts +210 -0
  565. package/types/anguless-angulux-types-fieldset.d.ts +101 -0
  566. package/types/anguless-angulux-types-fileupload.d.ts +360 -0
  567. package/types/anguless-angulux-types-floatlabel.d.ts +26 -0
  568. package/types/anguless-angulux-types-fluid.d.ts +28 -0
  569. package/types/anguless-angulux-types-galleria.d.ts +250 -0
  570. package/types/anguless-angulux-types-iconfield.d.ts +26 -0
  571. package/types/anguless-angulux-types-iftalabel.d.ts +26 -0
  572. package/types/anguless-angulux-types-image.d.ts +144 -0
  573. package/types/anguless-angulux-types-imagecompare.d.ts +43 -0
  574. package/types/anguless-angulux-types-inplace.d.ts +72 -0
  575. package/types/anguless-angulux-types-inputgroup.d.ts +28 -0
  576. package/types/anguless-angulux-types-inputgroupaddon.d.ts +28 -0
  577. package/types/anguless-angulux-types-inputicon.d.ts +26 -0
  578. package/types/anguless-angulux-types-inputmask.d.ts +56 -0
  579. package/types/anguless-angulux-types-inputnumber.d.ts +95 -0
  580. package/types/anguless-angulux-types-inputotp.d.ts +101 -0
  581. package/types/anguless-angulux-types-inputtext.d.ts +24 -0
  582. package/types/anguless-angulux-types-knob.d.ts +40 -0
  583. package/types/anguless-angulux-types-listbox.d.ts +359 -0
  584. package/types/anguless-angulux-types-megamenu.d.ts +138 -0
  585. package/types/anguless-angulux-types-menu.d.ts +114 -0
  586. package/types/anguless-angulux-types-menubar.d.ts +124 -0
  587. package/types/anguless-angulux-types-message.d.ts +87 -0
  588. package/types/anguless-angulux-types-metergroup.d.ts +176 -0
  589. package/types/anguless-angulux-types-motion.d.ts +26 -0
  590. package/types/anguless-angulux-types-multiselect.d.ts +414 -0
  591. package/types/anguless-angulux-types-orderlist.d.ts +173 -0
  592. package/types/anguless-angulux-types-organizationchart.d.ts +138 -0
  593. package/types/anguless-angulux-types-overlay.d.ts +60 -0
  594. package/types/anguless-angulux-types-overlaybadge.d.ts +34 -0
  595. package/types/anguless-angulux-types-paginator.d.ts +167 -0
  596. package/types/anguless-angulux-types-panel.d.ts +129 -0
  597. package/types/anguless-angulux-types-panelmenu.d.ts +131 -0
  598. package/types/anguless-angulux-types-password.d.ts +120 -0
  599. package/types/anguless-angulux-types-picklist.d.ts +348 -0
  600. package/types/anguless-angulux-types-popover.d.ts +59 -0
  601. package/types/anguless-angulux-types-progressbar.d.ts +58 -0
  602. package/types/anguless-angulux-types-progressspinner.d.ts +36 -0
  603. package/types/anguless-angulux-types-radiobutton.d.ts +51 -0
  604. package/types/anguless-angulux-types-rating.d.ts +94 -0
  605. package/types/anguless-angulux-types-scroller.d.ts +231 -0
  606. package/types/anguless-angulux-types-scrollpanel.d.ts +51 -0
  607. package/types/anguless-angulux-types-scrolltop.d.ts +61 -0
  608. package/types/anguless-angulux-types-select.d.ts +319 -0
  609. package/types/anguless-angulux-types-selectbutton.d.ts +92 -0
  610. package/types/anguless-angulux-types-skeleton.d.ts +28 -0
  611. package/types/anguless-angulux-types-slider.d.ts +78 -0
  612. package/types/anguless-angulux-types-speeddial.d.ts +100 -0
  613. package/types/anguless-angulux-types-splitbutton.d.ts +70 -0
  614. package/types/anguless-angulux-types-splitter.d.ts +70 -0
  615. package/types/anguless-angulux-types-stepper.d.ts +162 -0
  616. package/types/anguless-angulux-types-table.d.ts +893 -0
  617. package/types/anguless-angulux-types-tabs.d.ts +119 -0
  618. package/types/anguless-angulux-types-tag.d.ts +47 -0
  619. package/types/anguless-angulux-types-terminal.d.ts +60 -0
  620. package/types/anguless-angulux-types-textarea.d.ts +28 -0
  621. package/types/anguless-angulux-types-tieredmenu.d.ts +95 -0
  622. package/types/anguless-angulux-types-timeline.d.ts +85 -0
  623. package/types/anguless-angulux-types-toast.d.ts +131 -0
  624. package/types/anguless-angulux-types-togglebutton.d.ts +86 -0
  625. package/types/anguless-angulux-types-toggleswitch.d.ts +73 -0
  626. package/types/anguless-angulux-types-toolbar.d.ts +55 -0
  627. package/types/anguless-angulux-types-tooltip.d.ts +32 -0
  628. package/types/anguless-angulux-types-tree.d.ts +342 -0
  629. package/types/anguless-angulux-types-treeselect.d.ts +251 -0
  630. package/types/anguless-angulux-types-treetable.d.ts +629 -0
  631. package/types/anguless-angulux-usestyle.d.ts +15 -0
  632. package/types/anguless-angulux-utils.d.ts +43 -0
  633. package/types/anguless-angulux.d.ts +2 -0
@@ -0,0 +1,1673 @@
1
+ import * as i2 from '@angular/common';
2
+ import { CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { Injectable, InjectionToken, forwardRef, inject, EventEmitter, booleanAttribute, numberAttribute, ViewChild, ContentChildren, ContentChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
+ import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
6
+ import { getSelection } from '@anguless/angulux-utils';
7
+ import { SharedModule, AglTemplate } from '@anguless/angulux/api';
8
+ import { AutoFocus } from '@anguless/angulux/autofocus';
9
+ import { PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
10
+ import { BaseInput } from '@anguless/angulux/baseinput';
11
+ import * as i1 from '@anguless/angulux/bind';
12
+ import { Bind, BindModule } from '@anguless/angulux/bind';
13
+ import { TimesIcon, AngleUpIcon, AngleDownIcon } from '@anguless/angulux/icons';
14
+ import { InputText } from '@anguless/angulux/inputtext';
15
+ import { style as style$1 } from '@anguless/angulux-styles/inputnumber';
16
+ import { BaseStyle } from '@anguless/angulux/base';
17
+ export * from '@anguless/angulux/types/inputnumber';
18
+
19
+ const style = /*css*/ `
20
+ ${style$1}
21
+
22
+ /* For AnguluxConfig */
23
+ p-inputNumber.ng-invalid.ng-dirty > .p-inputtext,
24
+ p-input-number.ng-invalid.ng-dirty > .p-inputtext,
25
+ p-inputnumber.ng-invalid.ng-dirty > .p-inputtext {
26
+ border-color: dt('inputtext.invalid.border.color');
27
+ }
28
+
29
+ p-inputNumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus,
30
+ p-input-number.ng-invalid.ng-dirty > .p-inputtext:enabled:focus,
31
+ p-inputnumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus {
32
+ border-color: dt('inputtext.focus.border.color');
33
+ }
34
+
35
+ p-inputNumber.ng-invalid.ng-dirty > .p-inputtext::placeholder,
36
+ p-input-number.ng-invalid.ng-dirty > .p-inputtext::placeholder,
37
+ p-inputnumber.ng-invalid.ng-dirty > .p-inputtext::placeholder {
38
+ color: dt('inputtext.invalid.placeholder.color');
39
+ }
40
+ `;
41
+ const classes = {
42
+ root: ({ instance }) => [
43
+ 'p-inputnumber p-component p-inputwrapper',
44
+ {
45
+ 'p-inputwrapper-filled': instance.$filled() || instance.allowEmpty === false,
46
+ 'p-inputwrapper-focus': instance.focused,
47
+ 'p-inputnumber-stacked': instance.showButtons && instance.buttonLayout === 'stacked',
48
+ 'p-inputnumber-horizontal': instance.showButtons && instance.buttonLayout === 'horizontal',
49
+ 'p-inputnumber-vertical': instance.showButtons && instance.buttonLayout === 'vertical',
50
+ 'p-inputnumber-fluid': instance.hasFluid,
51
+ 'p-invalid': instance.invalid()
52
+ }
53
+ ],
54
+ pcInputText: 'p-inputnumber-input',
55
+ buttonGroup: 'p-inputnumber-button-group',
56
+ incrementButton: ({ instance }) => [
57
+ 'p-inputnumber-button p-inputnumber-increment-button',
58
+ {
59
+ 'p-disabled': instance.showButtons && instance.max() != null && instance.maxlength()
60
+ }
61
+ ],
62
+ decrementButton: ({ instance }) => [
63
+ 'p-inputnumber-button p-inputnumber-decrement-button',
64
+ {
65
+ 'p-disabled': instance.showButtons && instance.min() != null && instance.minlength()
66
+ }
67
+ ],
68
+ clearIcon: 'p-inputnumber-clear-icon'
69
+ };
70
+ class InputNumberStyle extends BaseStyle {
71
+ name = 'inputnumber';
72
+ style = style;
73
+ classes = classes;
74
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumberStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
75
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumberStyle });
76
+ }
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumberStyle, decorators: [{
78
+ type: Injectable
79
+ }] });
80
+ /**
81
+ *
82
+ * InputNumber is an input component to provide numerical input.
83
+ *
84
+ * @module inputnumberstyle
85
+ *
86
+ */
87
+ var InputNumberClasses;
88
+ (function (InputNumberClasses) {
89
+ /**
90
+ * Class name of the root element
91
+ */
92
+ InputNumberClasses["root"] = "p-inputnumber";
93
+ /**
94
+ * Class name of the input element
95
+ */
96
+ InputNumberClasses["pcInputText"] = "p-inputnumber-input";
97
+ /**
98
+ * Class name of the button group element
99
+ */
100
+ InputNumberClasses["buttonGroup"] = "p-inputnumber-button-group";
101
+ /**
102
+ * Class name of the increment button element
103
+ */
104
+ InputNumberClasses["incrementButton"] = "p-inputnumber-increment-button";
105
+ /**
106
+ * Class name of the decrement button element
107
+ */
108
+ InputNumberClasses["decrementButton"] = "p-inputnumber-decrement-button";
109
+ /**
110
+ * Class name of the clear icon
111
+ */
112
+ InputNumberClasses["clearIcon"] = "p-autocomplete-clear-icon";
113
+ })(InputNumberClasses || (InputNumberClasses = {}));
114
+
115
+ const INPUTNUMBER_INSTANCE = new InjectionToken('INPUTNUMBER_INSTANCE');
116
+ const INPUTNUMBER_VALUE_ACCESSOR = {
117
+ provide: NG_VALUE_ACCESSOR,
118
+ useExisting: forwardRef(() => InputNumber),
119
+ multi: true
120
+ };
121
+ /**
122
+ * InputNumber is an input component to provide numerical input.
123
+ * @group Components
124
+ */
125
+ class InputNumber extends BaseInput {
126
+ injector;
127
+ componentName = 'InputNumber';
128
+ $pcInputNumber = inject(INPUTNUMBER_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
129
+ _componentStyle = inject(InputNumberStyle);
130
+ bindDirectiveInstance = inject(Bind, { self: true });
131
+ onAfterViewChecked() {
132
+ this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
133
+ }
134
+ /**
135
+ * Displays spinner buttons.
136
+ * @group Props
137
+ */
138
+ showButtons = false;
139
+ /**
140
+ * Whether to format the value.
141
+ * @group Props
142
+ */
143
+ format = true;
144
+ /**
145
+ * Layout of the buttons, valid values are "stacked" (default), "horizontal" and "vertical".
146
+ * @group Props
147
+ */
148
+ buttonLayout = 'stacked';
149
+ /**
150
+ * Identifier of the focus input to match a label defined for the component.
151
+ * @group Props
152
+ */
153
+ inputId;
154
+ /**
155
+ * Style class of the component.
156
+ * @deprecated since v20.0.0, use `class` instead.
157
+ * @group Props
158
+ */
159
+ styleClass;
160
+ /**
161
+ * Advisory information to display on input.
162
+ * @group Props
163
+ */
164
+ placeholder;
165
+ /**
166
+ * Specifies tab order of the element.
167
+ * @group Props
168
+ */
169
+ tabindex;
170
+ /**
171
+ * Title text of the input text.
172
+ * @group Props
173
+ */
174
+ title;
175
+ /**
176
+ * Specifies one or more IDs in the DOM that labels the input field.
177
+ * @group Props
178
+ */
179
+ ariaLabelledBy;
180
+ /**
181
+ * Specifies one or more IDs in the DOM that describes the input field.
182
+ * @group Props
183
+ */
184
+ ariaDescribedBy;
185
+ /**
186
+ * Used to define a string that labels the input element.
187
+ * @group Props
188
+ */
189
+ ariaLabel;
190
+ /**
191
+ * Used to indicate that user input is required on an element before a form can be submitted.
192
+ * @group Props
193
+ */
194
+ ariaRequired;
195
+ /**
196
+ * Used to define a string that autocomplete attribute the current element.
197
+ * @group Props
198
+ */
199
+ autocomplete;
200
+ /**
201
+ * Style class of the increment button.
202
+ * @group Props
203
+ */
204
+ incrementButtonClass;
205
+ /**
206
+ * Style class of the decrement button.
207
+ * @group Props
208
+ */
209
+ decrementButtonClass;
210
+ /**
211
+ * Style class of the increment button.
212
+ * @group Props
213
+ */
214
+ incrementButtonIcon;
215
+ /**
216
+ * Style class of the decrement button.
217
+ * @group Props
218
+ */
219
+ decrementButtonIcon;
220
+ /**
221
+ * When present, it specifies that an input field is read-only.
222
+ * @group Props
223
+ */
224
+ readonly;
225
+ /**
226
+ * Determines whether the input field is empty.
227
+ * @group Props
228
+ */
229
+ allowEmpty = true;
230
+ /**
231
+ * Locale to be used in formatting.
232
+ * @group Props
233
+ */
234
+ locale;
235
+ /**
236
+ * The locale matching algorithm to use. Possible values are "lookup" and "best fit"; the default is "best fit". See Locale Negotiation for details.
237
+ * @group Props
238
+ */
239
+ localeMatcher;
240
+ /**
241
+ * Defines the behavior of the component, valid values are "decimal" and "currency".
242
+ * @group Props
243
+ */
244
+ mode = 'decimal';
245
+ /**
246
+ * The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB. There is no default value; if the style is "currency", the currency property must be provided.
247
+ * @group Props
248
+ */
249
+ currency;
250
+ /**
251
+ * How to display the currency in currency formatting. Possible values are "symbol" to use a localized currency symbol such as €, ü"code" to use the ISO currency code, "name" to use a localized currency name such as "dollar"; the default is "symbol".
252
+ * @group Props
253
+ */
254
+ currencyDisplay;
255
+ /**
256
+ * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators.
257
+ * @group Props
258
+ */
259
+ useGrouping = true;
260
+ /**
261
+ * The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information).
262
+ * @group Props
263
+ */
264
+ minFractionDigits;
265
+ /**
266
+ * The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information).
267
+ * @group Props
268
+ */
269
+ maxFractionDigits;
270
+ /**
271
+ * Text to display before the value.
272
+ * @group Props
273
+ */
274
+ prefix;
275
+ /**
276
+ * Text to display after the value.
277
+ * @group Props
278
+ */
279
+ suffix;
280
+ /**
281
+ * Inline style of the input field.
282
+ * @group Props
283
+ */
284
+ inputStyle;
285
+ /**
286
+ * Style class of the input field.
287
+ * @group Props
288
+ */
289
+ inputStyleClass;
290
+ /**
291
+ * When enabled, a clear icon is displayed to clear the value.
292
+ * @group Props
293
+ */
294
+ showClear = false;
295
+ /**
296
+ * When present, it specifies that the component should automatically get focus on load.
297
+ * @group Props
298
+ */
299
+ autofocus;
300
+ /**
301
+ * Callback to invoke on input.
302
+ * @param {InputNumberInputEvent} event - Custom input event.
303
+ * @group Emits
304
+ */
305
+ onInput = new EventEmitter();
306
+ /**
307
+ * Callback to invoke when the component receives focus.
308
+ * @param {Event} event - Browser event.
309
+ * @group Emits
310
+ */
311
+ onFocus = new EventEmitter();
312
+ /**
313
+ * Callback to invoke when the component loses focus.
314
+ * @param {Event} event - Browser event.
315
+ * @group Emits
316
+ */
317
+ onBlur = new EventEmitter();
318
+ /**
319
+ * Callback to invoke on input key press.
320
+ * @param {KeyboardEvent} event - Keyboard event.
321
+ * @group Emits
322
+ */
323
+ onKeyDown = new EventEmitter();
324
+ /**
325
+ * Callback to invoke when clear token is clicked.
326
+ * @group Emits
327
+ */
328
+ onClear = new EventEmitter();
329
+ /**
330
+ * Custom clear icon template.
331
+ * @group Templates
332
+ */
333
+ clearIconTemplate;
334
+ /**
335
+ * Custom increment button icon template.
336
+ * @group Templates
337
+ */
338
+ incrementButtonIconTemplate;
339
+ /**
340
+ * Custom decrement button icon template.
341
+ * @group Templates
342
+ */
343
+ decrementButtonIconTemplate;
344
+ templates;
345
+ input;
346
+ _clearIconTemplate;
347
+ _incrementButtonIconTemplate;
348
+ _decrementButtonIconTemplate;
349
+ value;
350
+ focused;
351
+ initialized;
352
+ groupChar = '';
353
+ prefixChar = '';
354
+ suffixChar = '';
355
+ isSpecialChar;
356
+ timer;
357
+ lastValue;
358
+ _numeral;
359
+ numberFormat;
360
+ _decimal;
361
+ _decimalChar = '';
362
+ _group;
363
+ _minusSign;
364
+ _currency;
365
+ _prefix;
366
+ _suffix;
367
+ _index;
368
+ ngControl = null;
369
+ constructor(injector) {
370
+ super();
371
+ this.injector = injector;
372
+ }
373
+ onChanges(simpleChange) {
374
+ const props = ['locale', 'localeMatcher', 'mode', 'currency', 'currencyDisplay', 'useGrouping', 'minFractionDigits', 'maxFractionDigits', 'prefix', 'suffix'];
375
+ if (props.some((p) => !!simpleChange[p])) {
376
+ this.updateConstructParser();
377
+ }
378
+ }
379
+ onInit() {
380
+ this.ngControl = this.injector.get(NgControl, null, { optional: true });
381
+ this.constructParser();
382
+ this.initialized = true;
383
+ }
384
+ onAfterContentInit() {
385
+ this.templates.forEach((item) => {
386
+ switch (item.getType()) {
387
+ case 'clearicon':
388
+ this._clearIconTemplate = item.template;
389
+ break;
390
+ case 'incrementbuttonicon':
391
+ this._incrementButtonIconTemplate = item.template;
392
+ break;
393
+ case 'decrementbuttonicon':
394
+ this._decrementButtonIconTemplate = item.template;
395
+ break;
396
+ }
397
+ });
398
+ }
399
+ getOptions() {
400
+ // Validate fraction digits according to Intl.NumberFormat specifications
401
+ // Handle potential NaN, Infinity, or invalid values
402
+ const validateFractionDigits = (value, min, max) => {
403
+ if (value == null || isNaN(value) || !isFinite(value)) {
404
+ return undefined;
405
+ }
406
+ return Math.max(min, Math.min(max, Math.floor(value)));
407
+ };
408
+ const minFractionDigits = validateFractionDigits(this.minFractionDigits, 0, 20);
409
+ const maxFractionDigits = validateFractionDigits(this.maxFractionDigits, 0, 100);
410
+ // Ensure minFractionDigits <= maxFractionDigits
411
+ const validatedMinFractionDigits = minFractionDigits != null && maxFractionDigits != null && minFractionDigits > maxFractionDigits ? maxFractionDigits : minFractionDigits;
412
+ return {
413
+ localeMatcher: this.localeMatcher,
414
+ style: this.mode,
415
+ currency: this.currency,
416
+ currencyDisplay: this.currencyDisplay,
417
+ useGrouping: this.useGrouping,
418
+ minimumFractionDigits: validatedMinFractionDigits,
419
+ maximumFractionDigits: maxFractionDigits
420
+ };
421
+ }
422
+ constructParser() {
423
+ const options = this.getOptions();
424
+ // Remove any properties with undefined or invalid values to let Intl.NumberFormat use defaults
425
+ const cleanOptions = Object.fromEntries(Object.entries(options).filter(([_key, value]) => value !== undefined));
426
+ this.numberFormat = new Intl.NumberFormat(this.locale, cleanOptions);
427
+ const numerals = [...new Intl.NumberFormat(this.locale, { useGrouping: false }).format(9876543210)].reverse();
428
+ const index = new Map(numerals.map((d, i) => [d, i]));
429
+ this._numeral = new RegExp(`[${numerals.join('')}]`, 'g');
430
+ this._group = this.getGroupingExpression();
431
+ this._minusSign = this.getMinusSignExpression();
432
+ this._currency = this.getCurrencyExpression();
433
+ this._decimal = this.getDecimalExpression();
434
+ this._decimalChar = this.getDecimalChar();
435
+ this._suffix = this.getSuffixExpression();
436
+ this._prefix = this.getPrefixExpression();
437
+ this._index = (d) => index.get(d);
438
+ }
439
+ updateConstructParser() {
440
+ if (this.initialized) {
441
+ this.constructParser();
442
+ }
443
+ }
444
+ escapeRegExp(text) {
445
+ return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
446
+ }
447
+ getDecimalExpression() {
448
+ const decimalChar = this.getDecimalChar();
449
+ return new RegExp(`[${decimalChar}]`, 'g');
450
+ }
451
+ getDecimalChar() {
452
+ const formatter = new Intl.NumberFormat(this.locale, { ...this.getOptions(), useGrouping: false });
453
+ return formatter
454
+ .format(1.1)
455
+ .replace(this._currency, '')
456
+ .trim()
457
+ .replace(this._numeral, '');
458
+ }
459
+ getGroupingExpression() {
460
+ const formatter = new Intl.NumberFormat(this.locale, { useGrouping: true });
461
+ this.groupChar = formatter.format(1000000).trim().replace(this._numeral, '').charAt(0);
462
+ return new RegExp(`[${this.groupChar}]`, 'g');
463
+ }
464
+ getMinusSignExpression() {
465
+ const formatter = new Intl.NumberFormat(this.locale, { useGrouping: false });
466
+ return new RegExp(`[${formatter.format(-1).trim().replace(this._numeral, '')}]`, 'g');
467
+ }
468
+ getCurrencyExpression() {
469
+ if (this.currency) {
470
+ const formatter = new Intl.NumberFormat(this.locale, {
471
+ style: 'currency',
472
+ currency: this.currency,
473
+ currencyDisplay: this.currencyDisplay,
474
+ minimumFractionDigits: 0,
475
+ maximumFractionDigits: 0
476
+ });
477
+ return new RegExp(`[${formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, '')}]`, 'g');
478
+ }
479
+ return new RegExp(`[]`, 'g');
480
+ }
481
+ getPrefixExpression() {
482
+ if (this.prefix) {
483
+ this.prefixChar = this.prefix;
484
+ }
485
+ else {
486
+ const formatter = new Intl.NumberFormat(this.locale, {
487
+ style: this.mode,
488
+ currency: this.currency,
489
+ currencyDisplay: this.currencyDisplay
490
+ });
491
+ this.prefixChar = formatter.format(1).split('1')[0];
492
+ }
493
+ return new RegExp(`${this.escapeRegExp(this.prefixChar || '')}`, 'g');
494
+ }
495
+ getSuffixExpression() {
496
+ if (this.suffix) {
497
+ this.suffixChar = this.suffix;
498
+ }
499
+ else {
500
+ const formatter = new Intl.NumberFormat(this.locale, {
501
+ style: this.mode,
502
+ currency: this.currency,
503
+ currencyDisplay: this.currencyDisplay,
504
+ minimumFractionDigits: 0,
505
+ maximumFractionDigits: 0
506
+ });
507
+ this.suffixChar = formatter.format(1).split('1')[1];
508
+ }
509
+ return new RegExp(`${this.escapeRegExp(this.suffixChar || '')}`, 'g');
510
+ }
511
+ formatValue(value) {
512
+ if (value != null) {
513
+ if (value === '-') {
514
+ // Minus sign
515
+ return value;
516
+ }
517
+ if (this.format) {
518
+ let formatter = new Intl.NumberFormat(this.locale, this.getOptions());
519
+ let formattedValue = formatter.format(value);
520
+ if (this.prefix && value != this.prefix) {
521
+ formattedValue = this.prefix + formattedValue;
522
+ }
523
+ if (this.suffix && value != this.suffix) {
524
+ formattedValue = formattedValue + this.suffix;
525
+ }
526
+ return formattedValue;
527
+ }
528
+ return value.toString();
529
+ }
530
+ return '';
531
+ }
532
+ parseValue(text) {
533
+ const suffixRegex = this._suffix ? new RegExp(this._suffix, '') : /(?:)/;
534
+ const prefixRegex = this._prefix ? new RegExp(this._prefix, '') : /(?:)/;
535
+ const currencyRegex = this._currency ? new RegExp(this._currency, '') : /(?:)/;
536
+ let filteredText = text
537
+ .replace(suffixRegex, '')
538
+ .replace(prefixRegex, '')
539
+ .trim()
540
+ .replace(/\s/g, '')
541
+ .replace(currencyRegex, '')
542
+ .replace(this._group, '')
543
+ .replace(this._minusSign, '-')
544
+ .replace(this._decimal, '.')
545
+ .replace(this._numeral, this._index);
546
+ if (filteredText) {
547
+ if (filteredText === '-')
548
+ // Minus sign
549
+ return filteredText;
550
+ let parsedValue = +filteredText;
551
+ return isNaN(parsedValue) ? null : parsedValue;
552
+ }
553
+ return null;
554
+ }
555
+ repeat(event, interval, dir) {
556
+ if (this.readonly) {
557
+ return;
558
+ }
559
+ let i = interval || 500;
560
+ this.clearTimer();
561
+ this.timer = setTimeout(() => {
562
+ this.repeat(event, 40, dir);
563
+ }, i);
564
+ this.spin(event, dir);
565
+ }
566
+ spin(event, dir) {
567
+ let step = (this.step() ?? 1) * dir;
568
+ let currentValue = this.parseValue(this.input?.nativeElement.value) || 0;
569
+ let newValue = this.validateValue(currentValue + step);
570
+ const max = this.maxlength();
571
+ if (max && max < this.formatValue(newValue).length) {
572
+ return;
573
+ }
574
+ this.updateInput(newValue, null, 'spin', null);
575
+ this.updateModel(event, newValue);
576
+ this.handleOnInput(event, currentValue, newValue);
577
+ }
578
+ clear() {
579
+ this.value = null;
580
+ this.onModelChange(this.value);
581
+ this.onClear.emit();
582
+ }
583
+ onUpButtonMouseDown(event) {
584
+ if (event.button === 2) {
585
+ this.clearTimer();
586
+ return;
587
+ }
588
+ if (!this.$disabled()) {
589
+ this.input?.nativeElement.focus();
590
+ this.repeat(event, null, 1);
591
+ event.preventDefault();
592
+ }
593
+ }
594
+ onUpButtonMouseUp() {
595
+ if (!this.$disabled()) {
596
+ this.clearTimer();
597
+ }
598
+ }
599
+ onUpButtonMouseLeave() {
600
+ if (!this.$disabled()) {
601
+ this.clearTimer();
602
+ }
603
+ }
604
+ onUpButtonKeyDown(event) {
605
+ if (event.keyCode === 32 || event.keyCode === 13) {
606
+ this.repeat(event, null, 1);
607
+ }
608
+ }
609
+ onUpButtonKeyUp() {
610
+ if (!this.$disabled()) {
611
+ this.clearTimer();
612
+ }
613
+ }
614
+ onDownButtonMouseDown(event) {
615
+ if (event.button === 2) {
616
+ this.clearTimer();
617
+ return;
618
+ }
619
+ if (!this.$disabled()) {
620
+ this.input?.nativeElement.focus();
621
+ this.repeat(event, null, -1);
622
+ event.preventDefault();
623
+ }
624
+ }
625
+ onDownButtonMouseUp() {
626
+ if (!this.$disabled()) {
627
+ this.clearTimer();
628
+ }
629
+ }
630
+ onDownButtonMouseLeave() {
631
+ if (!this.$disabled()) {
632
+ this.clearTimer();
633
+ }
634
+ }
635
+ onDownButtonKeyUp() {
636
+ if (!this.$disabled()) {
637
+ this.clearTimer();
638
+ }
639
+ }
640
+ onDownButtonKeyDown(event) {
641
+ if (event.keyCode === 32 || event.keyCode === 13) {
642
+ this.repeat(event, null, -1);
643
+ }
644
+ }
645
+ onUserInput(event) {
646
+ if (this.readonly) {
647
+ return;
648
+ }
649
+ if (this.isSpecialChar) {
650
+ event.target.value = this.lastValue;
651
+ }
652
+ this.isSpecialChar = false;
653
+ }
654
+ onInputKeyDown(event) {
655
+ if (this.readonly) {
656
+ return;
657
+ }
658
+ this.lastValue = event.target.value;
659
+ if (event.shiftKey || event.altKey) {
660
+ this.isSpecialChar = true;
661
+ return;
662
+ }
663
+ let selectionStart = event.target.selectionStart;
664
+ let selectionEnd = event.target.selectionEnd;
665
+ let inputValue = event.target.value;
666
+ let newValueStr = null;
667
+ if (event.altKey) {
668
+ event.preventDefault();
669
+ }
670
+ switch (event.key) {
671
+ case 'ArrowUp':
672
+ this.spin(event, 1);
673
+ event.preventDefault();
674
+ break;
675
+ case 'ArrowDown':
676
+ this.spin(event, -1);
677
+ event.preventDefault();
678
+ break;
679
+ case 'ArrowLeft':
680
+ for (let index = selectionStart; index <= inputValue.length; index++) {
681
+ const previousCharIndex = index === 0 ? 0 : index - 1;
682
+ if (this.isNumeralChar(inputValue.charAt(previousCharIndex))) {
683
+ this.input.nativeElement.setSelectionRange(index, index);
684
+ break;
685
+ }
686
+ }
687
+ break;
688
+ case 'ArrowRight':
689
+ for (let index = selectionEnd; index >= 0; index--) {
690
+ if (this.isNumeralChar(inputValue.charAt(index))) {
691
+ this.input.nativeElement.setSelectionRange(index, index);
692
+ break;
693
+ }
694
+ }
695
+ break;
696
+ case 'Tab':
697
+ case 'Enter':
698
+ newValueStr = this.validateValue(this.parseValue(this.input.nativeElement.value));
699
+ this.input.nativeElement.value = this.formatValue(newValueStr);
700
+ this.input.nativeElement.setAttribute('aria-valuenow', newValueStr);
701
+ this.updateModel(event, newValueStr);
702
+ break;
703
+ case 'Backspace': {
704
+ event.preventDefault();
705
+ if (selectionStart === selectionEnd) {
706
+ if ((selectionStart == 1 && this.prefix) || (selectionStart == inputValue.length && this.suffix)) {
707
+ break;
708
+ }
709
+ const deleteChar = inputValue.charAt(selectionStart - 1);
710
+ const { decimalCharIndex, decimalCharIndexWithoutPrefix } = this.getDecimalCharIndexes(inputValue);
711
+ if (this.isNumeralChar(deleteChar)) {
712
+ const decimalLength = this.getDecimalLength(inputValue);
713
+ if (this._group.test(deleteChar)) {
714
+ this._group.lastIndex = 0;
715
+ newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
716
+ }
717
+ else if (this._decimal.test(deleteChar)) {
718
+ this._decimal.lastIndex = 0;
719
+ if (decimalLength) {
720
+ this.input?.nativeElement.setSelectionRange(selectionStart - 1, selectionStart - 1);
721
+ }
722
+ else {
723
+ newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
724
+ }
725
+ }
726
+ else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
727
+ const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
728
+ newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
729
+ }
730
+ else if (decimalCharIndexWithoutPrefix === 1) {
731
+ newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
732
+ newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
733
+ }
734
+ else {
735
+ newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
736
+ }
737
+ }
738
+ else if (this.mode === 'currency' && this._currency && deleteChar.search(this._currency) != -1) {
739
+ newValueStr = inputValue.slice(1);
740
+ }
741
+ this.updateValue(event, newValueStr, null, 'delete-single');
742
+ }
743
+ else {
744
+ newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
745
+ this.updateValue(event, newValueStr, null, 'delete-range');
746
+ }
747
+ break;
748
+ }
749
+ case 'Delete':
750
+ event.preventDefault();
751
+ if (selectionStart === selectionEnd) {
752
+ if ((selectionStart == 0 && this.prefix) || (selectionStart == inputValue.length - 1 && this.suffix)) {
753
+ break;
754
+ }
755
+ const deleteChar = inputValue.charAt(selectionStart);
756
+ const { decimalCharIndex, decimalCharIndexWithoutPrefix } = this.getDecimalCharIndexes(inputValue);
757
+ if (this.isNumeralChar(deleteChar)) {
758
+ const decimalLength = this.getDecimalLength(inputValue);
759
+ if (this._group.test(deleteChar)) {
760
+ this._group.lastIndex = 0;
761
+ newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
762
+ }
763
+ else if (this._decimal.test(deleteChar)) {
764
+ this._decimal.lastIndex = 0;
765
+ if (decimalLength) {
766
+ this.input?.nativeElement.setSelectionRange(selectionStart + 1, selectionStart + 1);
767
+ }
768
+ else {
769
+ newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
770
+ }
771
+ }
772
+ else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
773
+ const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
774
+ newValueStr = inputValue.slice(0, selectionStart) + insertedText + inputValue.slice(selectionStart + 1);
775
+ }
776
+ else if (decimalCharIndexWithoutPrefix === 1) {
777
+ newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
778
+ newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
779
+ }
780
+ else {
781
+ newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
782
+ }
783
+ }
784
+ this.updateValue(event, newValueStr, null, 'delete-back-single');
785
+ }
786
+ else {
787
+ newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
788
+ this.updateValue(event, newValueStr, null, 'delete-range');
789
+ }
790
+ break;
791
+ case 'Home':
792
+ if (this.min()) {
793
+ this.updateModel(event, this.min());
794
+ event.preventDefault();
795
+ }
796
+ break;
797
+ case 'End':
798
+ if (this.max()) {
799
+ this.updateModel(event, this.max());
800
+ event.preventDefault();
801
+ }
802
+ break;
803
+ default:
804
+ break;
805
+ }
806
+ this.onKeyDown.emit(event);
807
+ }
808
+ onInputKeyPress(event) {
809
+ if (this.readonly) {
810
+ return;
811
+ }
812
+ let code = event.which || event.keyCode;
813
+ let char = String.fromCharCode(code);
814
+ let isDecimalSign = this.isDecimalSign(char);
815
+ const isMinusSign = this.isMinusSign(char);
816
+ if (code != 13) {
817
+ event.preventDefault();
818
+ }
819
+ if (!isDecimalSign && event.code === 'NumpadDecimal') {
820
+ isDecimalSign = true;
821
+ char = this._decimalChar;
822
+ code = char.charCodeAt(0);
823
+ }
824
+ const { value, selectionStart, selectionEnd } = this.input.nativeElement;
825
+ const newValue = this.parseValue(value + char);
826
+ const newValueStr = newValue != null ? newValue.toString() : '';
827
+ const selectedValue = value.substring(selectionStart, selectionEnd);
828
+ const selectedValueParsed = this.parseValue(selectedValue);
829
+ const selectedValueStr = selectedValueParsed != null ? selectedValueParsed.toString() : '';
830
+ if (selectionStart !== selectionEnd && selectedValueStr.length > 0) {
831
+ this.insert(event, char, { isDecimalSign, isMinusSign });
832
+ return;
833
+ }
834
+ const max = this.maxlength();
835
+ if (max && newValueStr.length > max) {
836
+ return;
837
+ }
838
+ if ((48 <= code && code <= 57) || isMinusSign || isDecimalSign) {
839
+ this.insert(event, char, { isDecimalSign, isMinusSign });
840
+ }
841
+ }
842
+ onPaste(event) {
843
+ if (!this.$disabled() && !this.readonly) {
844
+ event.preventDefault();
845
+ let data = (event.clipboardData || this.document.defaultView['clipboardData']).getData('Text');
846
+ if (this.inputId === 'integeronly' && /[^\d-]/.test(data)) {
847
+ return;
848
+ }
849
+ if (data) {
850
+ if (this.maxlength()) {
851
+ data = data.toString().substring(0, this.maxlength());
852
+ }
853
+ let filteredData = this.parseValue(data);
854
+ if (filteredData != null) {
855
+ this.insert(event, filteredData.toString());
856
+ }
857
+ }
858
+ }
859
+ }
860
+ allowMinusSign() {
861
+ const min = this.min();
862
+ return min == null || min < 0;
863
+ }
864
+ isMinusSign(char) {
865
+ if (this._minusSign.test(char) || char === '-') {
866
+ this._minusSign.lastIndex = 0;
867
+ return true;
868
+ }
869
+ return false;
870
+ }
871
+ isDecimalSign(char) {
872
+ if (this._decimal.test(char)) {
873
+ this._decimal.lastIndex = 0;
874
+ return true;
875
+ }
876
+ return false;
877
+ }
878
+ isDecimalMode() {
879
+ return this.mode === 'decimal';
880
+ }
881
+ getDecimalCharIndexes(val) {
882
+ let decimalCharIndex = val.search(this._decimal);
883
+ this._decimal.lastIndex = 0;
884
+ const filteredVal = val
885
+ .replace(this._prefix, '')
886
+ .trim()
887
+ .replace(/\s/g, '')
888
+ .replace(this._currency, '');
889
+ const decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
890
+ this._decimal.lastIndex = 0;
891
+ return { decimalCharIndex, decimalCharIndexWithoutPrefix };
892
+ }
893
+ getCharIndexes(val) {
894
+ const decimalCharIndex = val.search(this._decimal);
895
+ this._decimal.lastIndex = 0;
896
+ const minusCharIndex = val.search(this._minusSign);
897
+ this._minusSign.lastIndex = 0;
898
+ const suffixCharIndex = val.search(this._suffix);
899
+ this._suffix.lastIndex = 0;
900
+ const currencyCharIndex = val.search(this._currency);
901
+ this._currency.lastIndex = 0;
902
+ return { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex };
903
+ }
904
+ insert(event, text, sign = { isDecimalSign: false, isMinusSign: false }) {
905
+ const minusCharIndexOnText = text.search(this._minusSign);
906
+ this._minusSign.lastIndex = 0;
907
+ if (!this.allowMinusSign() && minusCharIndexOnText !== -1) {
908
+ return;
909
+ }
910
+ let selectionStart = this.input?.nativeElement.selectionStart;
911
+ let selectionEnd = this.input?.nativeElement.selectionEnd;
912
+ let inputValue = this.input?.nativeElement.value.trim();
913
+ const { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex } = this.getCharIndexes(inputValue);
914
+ let newValueStr;
915
+ if (sign.isMinusSign) {
916
+ if (selectionStart === 0) {
917
+ newValueStr = inputValue;
918
+ if (minusCharIndex === -1 || selectionEnd !== 0) {
919
+ newValueStr = this.insertText(inputValue, text, 0, selectionEnd);
920
+ }
921
+ this.updateValue(event, newValueStr, text, 'insert');
922
+ }
923
+ }
924
+ else if (sign.isDecimalSign) {
925
+ if (decimalCharIndex > 0 && selectionStart === decimalCharIndex) {
926
+ this.updateValue(event, inputValue, text, 'insert');
927
+ }
928
+ else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
929
+ newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
930
+ this.updateValue(event, newValueStr, text, 'insert');
931
+ }
932
+ else if (decimalCharIndex === -1 && this.maxFractionDigits) {
933
+ newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
934
+ this.updateValue(event, newValueStr, text, 'insert');
935
+ }
936
+ }
937
+ else {
938
+ const maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
939
+ const operation = selectionStart !== selectionEnd ? 'range-insert' : 'insert';
940
+ if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
941
+ if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits) {
942
+ const charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;
943
+ newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
944
+ this.updateValue(event, newValueStr, text, operation);
945
+ }
946
+ }
947
+ else {
948
+ newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
949
+ this.updateValue(event, newValueStr, text, operation);
950
+ }
951
+ }
952
+ }
953
+ insertText(value, text, start, end) {
954
+ let textSplit = text === '.' ? text : text.split('.');
955
+ if (textSplit.length === 2) {
956
+ const decimalCharIndex = value.slice(start, end).search(this._decimal);
957
+ this._decimal.lastIndex = 0;
958
+ return decimalCharIndex > 0 ? value.slice(0, start) + this.formatValue(text) + value.slice(end) : value || this.formatValue(text);
959
+ }
960
+ else if (end - start === value.length) {
961
+ return this.formatValue(text);
962
+ }
963
+ else if (start === 0) {
964
+ return text + value.slice(end);
965
+ }
966
+ else if (end === value.length) {
967
+ return value.slice(0, start) + text;
968
+ }
969
+ else {
970
+ return value.slice(0, start) + text + value.slice(end);
971
+ }
972
+ }
973
+ deleteRange(value, start, end) {
974
+ let newValueStr;
975
+ if (end - start === value.length)
976
+ newValueStr = '';
977
+ else if (start === 0)
978
+ newValueStr = value.slice(end);
979
+ else if (end === value.length)
980
+ newValueStr = value.slice(0, start);
981
+ else
982
+ newValueStr = value.slice(0, start) + value.slice(end);
983
+ return newValueStr;
984
+ }
985
+ initCursor() {
986
+ let selectionStart = this.input?.nativeElement.selectionStart;
987
+ let selectionEnd = this.input?.nativeElement.selectionEnd;
988
+ let inputValue = this.input?.nativeElement.value;
989
+ let valueLength = inputValue.length;
990
+ let index = null;
991
+ // remove prefix
992
+ let prefixLength = (this.prefixChar || '').length;
993
+ inputValue = inputValue.replace(this._prefix, '');
994
+ // Will allow selecting whole prefix. But not a part of it.
995
+ // Negative values will trigger clauses after this to fix the cursor position.
996
+ if (selectionStart === selectionEnd || selectionStart !== 0 || selectionEnd < prefixLength) {
997
+ selectionStart -= prefixLength;
998
+ }
999
+ let char = inputValue.charAt(selectionStart);
1000
+ if (this.isNumeralChar(char)) {
1001
+ return selectionStart + prefixLength;
1002
+ }
1003
+ //left
1004
+ let i = selectionStart - 1;
1005
+ while (i >= 0) {
1006
+ char = inputValue.charAt(i);
1007
+ if (this.isNumeralChar(char)) {
1008
+ index = i + prefixLength;
1009
+ break;
1010
+ }
1011
+ else {
1012
+ i--;
1013
+ }
1014
+ }
1015
+ if (index !== null) {
1016
+ this.input?.nativeElement.setSelectionRange(index + 1, index + 1);
1017
+ }
1018
+ else {
1019
+ i = selectionStart;
1020
+ while (i < valueLength) {
1021
+ char = inputValue.charAt(i);
1022
+ if (this.isNumeralChar(char)) {
1023
+ index = i + prefixLength;
1024
+ break;
1025
+ }
1026
+ else {
1027
+ i++;
1028
+ }
1029
+ }
1030
+ if (index !== null) {
1031
+ this.input?.nativeElement.setSelectionRange(index, index);
1032
+ }
1033
+ }
1034
+ return index || 0;
1035
+ }
1036
+ onInputClick() {
1037
+ const currentValue = this.input?.nativeElement.value;
1038
+ if (!this.readonly && currentValue !== getSelection()) {
1039
+ this.initCursor();
1040
+ }
1041
+ }
1042
+ isNumeralChar(char) {
1043
+ if (char.length === 1 && (this._numeral.test(char) || this._decimal.test(char) || this._group.test(char) || this._minusSign.test(char))) {
1044
+ this.resetRegex();
1045
+ return true;
1046
+ }
1047
+ return false;
1048
+ }
1049
+ resetRegex() {
1050
+ this._numeral.lastIndex = 0;
1051
+ this._decimal.lastIndex = 0;
1052
+ this._group.lastIndex = 0;
1053
+ this._minusSign.lastIndex = 0;
1054
+ }
1055
+ updateValue(event, valueStr, insertedValueStr, operation) {
1056
+ let currentValue = this.input?.nativeElement.value;
1057
+ let newValue = null;
1058
+ if (valueStr != null) {
1059
+ newValue = this.parseValue(valueStr);
1060
+ newValue = !newValue && !this.allowEmpty ? 0 : newValue;
1061
+ this.updateInput(newValue, insertedValueStr, operation, valueStr);
1062
+ this.handleOnInput(event, currentValue, newValue);
1063
+ }
1064
+ }
1065
+ handleOnInput(event, currentValue, newValue) {
1066
+ if (this.isValueChanged(currentValue, newValue)) {
1067
+ this.input.nativeElement.value = this.formatValue(newValue);
1068
+ this.input?.nativeElement.setAttribute('aria-valuenow', newValue);
1069
+ this.updateModel(event, newValue);
1070
+ this.onInput.emit({ originalEvent: event, value: newValue, formattedValue: currentValue });
1071
+ }
1072
+ }
1073
+ isValueChanged(currentValue, newValue) {
1074
+ if (newValue === null && currentValue !== null) {
1075
+ return true;
1076
+ }
1077
+ if (newValue != null) {
1078
+ let parsedCurrentValue = typeof currentValue === 'string' ? this.parseValue(currentValue) : currentValue;
1079
+ return newValue !== parsedCurrentValue;
1080
+ }
1081
+ return false;
1082
+ }
1083
+ validateValue(value) {
1084
+ if (value === '-' || value == null) {
1085
+ return null;
1086
+ }
1087
+ const min = this.min();
1088
+ const max = this.max();
1089
+ if (min != null && value < min) {
1090
+ return this.min();
1091
+ }
1092
+ if (max != null && value > max) {
1093
+ return max;
1094
+ }
1095
+ return value;
1096
+ }
1097
+ updateInput(value, insertedValueStr, operation, valueStr) {
1098
+ insertedValueStr = insertedValueStr || '';
1099
+ let inputValue = this.input?.nativeElement.value;
1100
+ let newValue = this.formatValue(value);
1101
+ let currentLength = inputValue.length;
1102
+ if (newValue !== valueStr) {
1103
+ newValue = this.concatValues(newValue, valueStr);
1104
+ }
1105
+ if (currentLength === 0) {
1106
+ this.input.nativeElement.value = newValue;
1107
+ this.input.nativeElement.setSelectionRange(0, 0);
1108
+ const index = this.initCursor();
1109
+ const selectionEnd = index + insertedValueStr.length;
1110
+ this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
1111
+ }
1112
+ else {
1113
+ let selectionStart = this.input.nativeElement.selectionStart;
1114
+ let selectionEnd = this.input.nativeElement.selectionEnd;
1115
+ const maxlength = this.maxlength();
1116
+ if (maxlength && newValue.length > maxlength) {
1117
+ newValue = newValue.slice(0, maxlength);
1118
+ selectionStart = Math.min(selectionStart, maxlength);
1119
+ selectionEnd = Math.min(selectionEnd, maxlength);
1120
+ }
1121
+ if (maxlength && maxlength < newValue.length) {
1122
+ return;
1123
+ }
1124
+ this.input.nativeElement.value = newValue;
1125
+ let newLength = newValue.length;
1126
+ if (operation === 'range-insert') {
1127
+ const startValue = this.parseValue((inputValue || '').slice(0, selectionStart));
1128
+ const startValueStr = startValue !== null ? startValue.toString() : '';
1129
+ const startExpr = startValueStr.split('').join(`(${this.groupChar})?`);
1130
+ const sRegex = new RegExp(startExpr, 'g');
1131
+ sRegex.test(newValue);
1132
+ const tExpr = insertedValueStr.split('').join(`(${this.groupChar})?`);
1133
+ const tRegex = new RegExp(tExpr, 'g');
1134
+ tRegex.test(newValue.slice(sRegex.lastIndex));
1135
+ selectionEnd = sRegex.lastIndex + tRegex.lastIndex;
1136
+ this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
1137
+ }
1138
+ else if (newLength === currentLength) {
1139
+ if (operation === 'insert' || operation === 'delete-back-single')
1140
+ this.input.nativeElement.setSelectionRange(selectionEnd + 1, selectionEnd + 1);
1141
+ else if (operation === 'delete-single')
1142
+ this.input.nativeElement.setSelectionRange(selectionEnd - 1, selectionEnd - 1);
1143
+ else if (operation === 'delete-range' || operation === 'spin')
1144
+ this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
1145
+ }
1146
+ else if (operation === 'delete-back-single') {
1147
+ let prevChar = inputValue.charAt(selectionEnd - 1);
1148
+ let nextChar = inputValue.charAt(selectionEnd);
1149
+ let diff = currentLength - newLength;
1150
+ let isGroupChar = this._group.test(nextChar);
1151
+ if (isGroupChar && diff === 1) {
1152
+ selectionEnd += 1;
1153
+ }
1154
+ else if (!isGroupChar && this.isNumeralChar(prevChar)) {
1155
+ selectionEnd += -1 * diff + 1;
1156
+ }
1157
+ this._group.lastIndex = 0;
1158
+ this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
1159
+ }
1160
+ else if (inputValue === '-' && operation === 'insert') {
1161
+ this.input.nativeElement.setSelectionRange(0, 0);
1162
+ const index = this.initCursor();
1163
+ const selectionEnd = index + insertedValueStr.length + 1;
1164
+ this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
1165
+ }
1166
+ else {
1167
+ selectionEnd = selectionEnd + (newLength - currentLength);
1168
+ this.input.nativeElement.setSelectionRange(selectionEnd, selectionEnd);
1169
+ }
1170
+ }
1171
+ this.input.nativeElement.setAttribute('aria-valuenow', value);
1172
+ }
1173
+ concatValues(val1, val2) {
1174
+ if (val1 && val2) {
1175
+ let decimalCharIndex = val2.search(this._decimal);
1176
+ this._decimal.lastIndex = 0;
1177
+ if (this.suffixChar) {
1178
+ return decimalCharIndex !== -1 ? val1.replace(this.suffixChar, '').split(this._decimal)[0] + val2.replace(this.suffixChar, '').slice(decimalCharIndex) + this.suffixChar : val1;
1179
+ }
1180
+ else {
1181
+ return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;
1182
+ }
1183
+ }
1184
+ return val1;
1185
+ }
1186
+ getDecimalLength(value) {
1187
+ if (value) {
1188
+ const valueSplit = value.split(this._decimal);
1189
+ if (valueSplit.length === 2) {
1190
+ return valueSplit[1]
1191
+ .replace(this._suffix, '')
1192
+ .trim()
1193
+ .replace(/\s/g, '')
1194
+ .replace(this._currency, '').length;
1195
+ }
1196
+ }
1197
+ return 0;
1198
+ }
1199
+ onInputFocus(event) {
1200
+ this.focused = true;
1201
+ this.onFocus.emit(event);
1202
+ }
1203
+ onInputBlur(event) {
1204
+ this.focused = false;
1205
+ const newValueNumber = this.validateValue(this.parseValue(this.input.nativeElement.value));
1206
+ const newValueString = newValueNumber?.toString();
1207
+ this.input.nativeElement.value = this.formatValue(newValueString);
1208
+ this.input.nativeElement.setAttribute('aria-valuenow', newValueString);
1209
+ this.updateModel(event, newValueNumber);
1210
+ this.onModelTouched();
1211
+ this.onBlur.emit(event);
1212
+ }
1213
+ formattedValue() {
1214
+ const val = !this.value && !this.allowEmpty ? 0 : this.value;
1215
+ return this.formatValue(val);
1216
+ }
1217
+ updateModel(event, value) {
1218
+ const isBlurUpdateOnMode = this.ngControl?.control?.updateOn === 'blur';
1219
+ if (this.value !== value) {
1220
+ this.value = value;
1221
+ if (!(isBlurUpdateOnMode && this.focused)) {
1222
+ this.onModelChange(value);
1223
+ }
1224
+ }
1225
+ else if (isBlurUpdateOnMode) {
1226
+ this.onModelChange(value);
1227
+ }
1228
+ }
1229
+ /**
1230
+ * @override
1231
+ *
1232
+ * @see {@link BaseEditableHolder.writeControlValue}
1233
+ * Writes the value to the control.
1234
+ */
1235
+ writeControlValue(value, setModelValue) {
1236
+ this.value = value ? Number(value) : value;
1237
+ setModelValue(value);
1238
+ this.cd.markForCheck();
1239
+ }
1240
+ clearTimer() {
1241
+ if (this.timer) {
1242
+ clearInterval(this.timer);
1243
+ }
1244
+ }
1245
+ get dataP() {
1246
+ return this.cn({
1247
+ invalid: this.invalid(),
1248
+ disabled: this.$disabled(),
1249
+ focus: this.focused,
1250
+ fluid: this.hasFluid,
1251
+ filled: this.$variant() === 'filled',
1252
+ empty: !this.$filled(),
1253
+ [this.size()]: this.size(),
1254
+ [this.buttonLayout]: this.showButtons && this.buttonLayout
1255
+ });
1256
+ }
1257
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumber, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
1258
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.0.8", type: InputNumber, isStandalone: true, selector: "agl-inputNumber, agl-inputnumber, agl-input-number", inputs: { showButtons: ["showButtons", "showButtons", booleanAttribute], format: ["format", "format", booleanAttribute], buttonLayout: "buttonLayout", inputId: "inputId", styleClass: "styleClass", placeholder: "placeholder", tabindex: ["tabindex", "tabindex", numberAttribute], title: "title", ariaLabelledBy: "ariaLabelledBy", ariaDescribedBy: "ariaDescribedBy", ariaLabel: "ariaLabel", ariaRequired: ["ariaRequired", "ariaRequired", booleanAttribute], autocomplete: "autocomplete", incrementButtonClass: "incrementButtonClass", decrementButtonClass: "decrementButtonClass", incrementButtonIcon: "incrementButtonIcon", decrementButtonIcon: "decrementButtonIcon", readonly: ["readonly", "readonly", booleanAttribute], allowEmpty: ["allowEmpty", "allowEmpty", booleanAttribute], locale: "locale", localeMatcher: "localeMatcher", mode: "mode", currency: "currency", currencyDisplay: "currencyDisplay", useGrouping: ["useGrouping", "useGrouping", booleanAttribute], minFractionDigits: ["minFractionDigits", "minFractionDigits", (value) => numberAttribute(value, undefined)], maxFractionDigits: ["maxFractionDigits", "maxFractionDigits", (value) => numberAttribute(value, undefined)], prefix: "prefix", suffix: "suffix", inputStyle: "inputStyle", inputStyleClass: "inputStyleClass", showClear: ["showClear", "showClear", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute] }, outputs: { onInput: "onInput", onFocus: "onFocus", onBlur: "onBlur", onKeyDown: "onKeyDown", onClear: "onClear" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "attr.data-p": "dataP" } }, providers: [INPUTNUMBER_VALUE_ACCESSOR, InputNumberStyle, { provide: INPUTNUMBER_INSTANCE, useExisting: InputNumber }, { provide: PARENT_INSTANCE, useExisting: InputNumber }], queries: [{ propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "incrementButtonIconTemplate", first: true, predicate: ["incrementbuttonicon"] }, { propertyName: "decrementButtonIconTemplate", first: true, predicate: ["decrementbuttonicon"] }, { propertyName: "templates", predicate: AglTemplate }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1259
+ <input
1260
+ aglInputText
1261
+ #input
1262
+ [attr.id]="inputId"
1263
+ role="spinbutton"
1264
+ [class]="cn(cx('pcInputText'), inputStyleClass)"
1265
+ [value]="formattedValue()"
1266
+ [ngStyle]="inputStyle"
1267
+ [variant]="$variant()"
1268
+ [invalid]="invalid()"
1269
+ [attr.aria-valuemin]="min()"
1270
+ [attr.aria-valuemax]="max()"
1271
+ [attr.aria-valuenow]="value"
1272
+ [attr.placeholder]="placeholder"
1273
+ [attr.aria-label]="ariaLabel"
1274
+ [attr.aria-labelledby]="ariaLabelledBy"
1275
+ [attr.aria-describedby]="ariaDescribedBy"
1276
+ [attr.title]="title"
1277
+ [aglSize]="size()"
1278
+ [attr.size]="inputSize()"
1279
+ [attr.name]="name()"
1280
+ [attr.autocomplete]="autocomplete"
1281
+ [attr.maxlength]="maxlength()"
1282
+ [attr.minlength]="minlength()"
1283
+ [attr.tabindex]="tabindex"
1284
+ [attr.aria-required]="ariaRequired"
1285
+ [attr.min]="min()"
1286
+ [attr.max]="max()"
1287
+ [attr.step]="step() ?? 1"
1288
+ [attr.required]="required() ? '' : undefined"
1289
+ [attr.readonly]="readonly ? '' : undefined"
1290
+ [attr.disabled]="$disabled() ? '' : undefined"
1291
+ inputmode="decimal"
1292
+ (input)="onUserInput($event)"
1293
+ (keydown)="onInputKeyDown($event)"
1294
+ (keypress)="onInputKeyPress($event)"
1295
+ (paste)="onPaste($event)"
1296
+ (click)="onInputClick()"
1297
+ (focus)="onInputFocus($event)"
1298
+ (blur)="onInputBlur($event)"
1299
+ [pt]="ptm('pcInputText')"
1300
+ [unstyled]="unstyled()"
1301
+ [aglAutoFocus]="autofocus"
1302
+ [fluid]="hasFluid"
1303
+ [attr.data-p]="dataP"
1304
+ />
1305
+ <ng-container *ngIf="buttonLayout != 'vertical' && showClear && value">
1306
+ <svg data-p-icon="times" *ngIf="!clearIconTemplate && !_clearIconTemplate" [aglBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" />
1307
+ <span *ngIf="clearIconTemplate || _clearIconTemplate" [aglBind]="ptm('clearIcon')" (click)="clear()" [class]="cx('clearIcon')">
1308
+ <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
1309
+ </span>
1310
+ </ng-container>
1311
+ <span [aglBind]="ptm('buttonGroup')" [class]="cx('buttonGroup')" *ngIf="showButtons && buttonLayout === 'stacked'" [attr.data-p]="dataP">
1312
+ <button
1313
+ type="button"
1314
+ [aglBind]="ptm('incrementButton')"
1315
+ [class]="cn(cx('incrementButton'), incrementButtonClass)"
1316
+ [attr.disabled]="$disabled() ? '' : undefined"
1317
+ tabindex="-1"
1318
+ (mousedown)="onUpButtonMouseDown($event)"
1319
+ (mouseup)="onUpButtonMouseUp()"
1320
+ (mouseleave)="onUpButtonMouseLeave()"
1321
+ (keydown)="onUpButtonKeyDown($event)"
1322
+ (keyup)="onUpButtonKeyUp()"
1323
+ [attr.aria-hidden]="true"
1324
+ [attr.data-p]="dataP"
1325
+ >
1326
+ <span *ngIf="incrementButtonIcon" [aglBind]="ptm('incrementButtonIcon')" [ngClass]="incrementButtonIcon"></span>
1327
+ <ng-container *ngIf="!incrementButtonIcon">
1328
+ <svg data-p-icon="angle-up" [aglBind]="ptm('incrementButtonIcon')" *ngIf="!incrementButtonIconTemplate && !_incrementButtonIconTemplate" />
1329
+ <ng-template *ngTemplateOutlet="incrementButtonIconTemplate || _incrementButtonIconTemplate"></ng-template>
1330
+ </ng-container>
1331
+ </button>
1332
+
1333
+ <button
1334
+ type="button"
1335
+ [aglBind]="ptm('decrementButton')"
1336
+ [class]="cn(cx('decrementButton'), decrementButtonClass)"
1337
+ [attr.disabled]="$disabled() ? '' : undefined"
1338
+ tabindex="-1"
1339
+ [attr.aria-hidden]="true"
1340
+ (mousedown)="onDownButtonMouseDown($event)"
1341
+ (mouseup)="onDownButtonMouseUp()"
1342
+ (mouseleave)="onDownButtonMouseLeave()"
1343
+ (keydown)="onDownButtonKeyDown($event)"
1344
+ (keyup)="onDownButtonKeyUp()"
1345
+ [attr.data-p]="dataP"
1346
+ >
1347
+ <span *ngIf="decrementButtonIcon" [aglBind]="ptm('decrementButtonIcon')" [ngClass]="decrementButtonIcon"></span>
1348
+ <ng-container *ngIf="!decrementButtonIcon">
1349
+ <svg data-p-icon="angle-down" [aglBind]="ptm('decrementButtonIcon')" *ngIf="!decrementButtonIconTemplate && !_decrementButtonIconTemplate" />
1350
+ <ng-template *ngTemplateOutlet="decrementButtonIconTemplate || _decrementButtonIconTemplate"></ng-template>
1351
+ </ng-container>
1352
+ </button>
1353
+ </span>
1354
+ <button
1355
+ *ngIf="showButtons && buttonLayout !== 'stacked'"
1356
+ type="button"
1357
+ [aglBind]="ptm('incrementButton')"
1358
+ [class]="cn(cx('incrementButton'), incrementButtonClass)"
1359
+ [attr.disabled]="$disabled() ? '' : undefined"
1360
+ tabindex="-1"
1361
+ [attr.aria-hidden]="true"
1362
+ (mousedown)="onUpButtonMouseDown($event)"
1363
+ (mouseup)="onUpButtonMouseUp()"
1364
+ (mouseleave)="onUpButtonMouseLeave()"
1365
+ (keydown)="onUpButtonKeyDown($event)"
1366
+ (keyup)="onUpButtonKeyUp()"
1367
+ [attr.data-p]="dataP"
1368
+ >
1369
+ <span *ngIf="incrementButtonIcon" [aglBind]="ptm('incrementButtonIcon')" [ngClass]="incrementButtonIcon"></span>
1370
+ <ng-container *ngIf="!incrementButtonIcon">
1371
+ <svg data-p-icon="angle-up" [aglBind]="ptm('incrementButtonIcon')" *ngIf="!incrementButtonIconTemplate && !_incrementButtonIconTemplate" />
1372
+ <ng-template *ngTemplateOutlet="incrementButtonIconTemplate || _incrementButtonIconTemplate"></ng-template>
1373
+ </ng-container>
1374
+ </button>
1375
+ <button
1376
+ *ngIf="showButtons && buttonLayout !== 'stacked'"
1377
+ type="button"
1378
+ [aglBind]="ptm('decrementButton')"
1379
+ [class]="cn(cx('decrementButton'), decrementButtonClass)"
1380
+ [attr.disabled]="$disabled() ? '' : undefined"
1381
+ tabindex="-1"
1382
+ [attr.aria-hidden]="true"
1383
+ (mousedown)="onDownButtonMouseDown($event)"
1384
+ (mouseup)="onDownButtonMouseUp()"
1385
+ (mouseleave)="onDownButtonMouseLeave()"
1386
+ (keydown)="onDownButtonKeyDown($event)"
1387
+ (keyup)="onDownButtonKeyUp()"
1388
+ [attr.data-p]="dataP"
1389
+ >
1390
+ <span *ngIf="decrementButtonIcon" [aglBind]="ptm('decrementButtonIcon')" [ngClass]="decrementButtonIcon"></span>
1391
+ <ng-container *ngIf="!decrementButtonIcon">
1392
+ <svg data-p-icon="angle-down" [aglBind]="ptm('decrementButtonIcon')" *ngIf="!decrementButtonIconTemplate && !_decrementButtonIconTemplate" />
1393
+ <ng-template *ngTemplateOutlet="decrementButtonIconTemplate || _decrementButtonIconTemplate"></ng-template>
1394
+ </ng-container>
1395
+ </button>
1396
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: InputText, selector: "[aglInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "aglSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: AutoFocus, selector: "[aglAutoFocus]", inputs: ["aglAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: AngleUpIcon, selector: "[data-p-icon=\"angle-up\"]" }, { kind: "component", type: AngleDownIcon, selector: "[data-p-icon=\"angle-down\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1397
+ }
1398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumber, decorators: [{
1399
+ type: Component,
1400
+ args: [{
1401
+ selector: 'agl-inputNumber, agl-inputnumber, agl-input-number',
1402
+ standalone: true,
1403
+ imports: [CommonModule, InputText, AutoFocus, TimesIcon, AngleUpIcon, AngleDownIcon, SharedModule, BindModule],
1404
+ template: `
1405
+ <input
1406
+ aglInputText
1407
+ #input
1408
+ [attr.id]="inputId"
1409
+ role="spinbutton"
1410
+ [class]="cn(cx('pcInputText'), inputStyleClass)"
1411
+ [value]="formattedValue()"
1412
+ [ngStyle]="inputStyle"
1413
+ [variant]="$variant()"
1414
+ [invalid]="invalid()"
1415
+ [attr.aria-valuemin]="min()"
1416
+ [attr.aria-valuemax]="max()"
1417
+ [attr.aria-valuenow]="value"
1418
+ [attr.placeholder]="placeholder"
1419
+ [attr.aria-label]="ariaLabel"
1420
+ [attr.aria-labelledby]="ariaLabelledBy"
1421
+ [attr.aria-describedby]="ariaDescribedBy"
1422
+ [attr.title]="title"
1423
+ [aglSize]="size()"
1424
+ [attr.size]="inputSize()"
1425
+ [attr.name]="name()"
1426
+ [attr.autocomplete]="autocomplete"
1427
+ [attr.maxlength]="maxlength()"
1428
+ [attr.minlength]="minlength()"
1429
+ [attr.tabindex]="tabindex"
1430
+ [attr.aria-required]="ariaRequired"
1431
+ [attr.min]="min()"
1432
+ [attr.max]="max()"
1433
+ [attr.step]="step() ?? 1"
1434
+ [attr.required]="required() ? '' : undefined"
1435
+ [attr.readonly]="readonly ? '' : undefined"
1436
+ [attr.disabled]="$disabled() ? '' : undefined"
1437
+ inputmode="decimal"
1438
+ (input)="onUserInput($event)"
1439
+ (keydown)="onInputKeyDown($event)"
1440
+ (keypress)="onInputKeyPress($event)"
1441
+ (paste)="onPaste($event)"
1442
+ (click)="onInputClick()"
1443
+ (focus)="onInputFocus($event)"
1444
+ (blur)="onInputBlur($event)"
1445
+ [pt]="ptm('pcInputText')"
1446
+ [unstyled]="unstyled()"
1447
+ [aglAutoFocus]="autofocus"
1448
+ [fluid]="hasFluid"
1449
+ [attr.data-p]="dataP"
1450
+ />
1451
+ <ng-container *ngIf="buttonLayout != 'vertical' && showClear && value">
1452
+ <svg data-p-icon="times" *ngIf="!clearIconTemplate && !_clearIconTemplate" [aglBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" />
1453
+ <span *ngIf="clearIconTemplate || _clearIconTemplate" [aglBind]="ptm('clearIcon')" (click)="clear()" [class]="cx('clearIcon')">
1454
+ <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
1455
+ </span>
1456
+ </ng-container>
1457
+ <span [aglBind]="ptm('buttonGroup')" [class]="cx('buttonGroup')" *ngIf="showButtons && buttonLayout === 'stacked'" [attr.data-p]="dataP">
1458
+ <button
1459
+ type="button"
1460
+ [aglBind]="ptm('incrementButton')"
1461
+ [class]="cn(cx('incrementButton'), incrementButtonClass)"
1462
+ [attr.disabled]="$disabled() ? '' : undefined"
1463
+ tabindex="-1"
1464
+ (mousedown)="onUpButtonMouseDown($event)"
1465
+ (mouseup)="onUpButtonMouseUp()"
1466
+ (mouseleave)="onUpButtonMouseLeave()"
1467
+ (keydown)="onUpButtonKeyDown($event)"
1468
+ (keyup)="onUpButtonKeyUp()"
1469
+ [attr.aria-hidden]="true"
1470
+ [attr.data-p]="dataP"
1471
+ >
1472
+ <span *ngIf="incrementButtonIcon" [aglBind]="ptm('incrementButtonIcon')" [ngClass]="incrementButtonIcon"></span>
1473
+ <ng-container *ngIf="!incrementButtonIcon">
1474
+ <svg data-p-icon="angle-up" [aglBind]="ptm('incrementButtonIcon')" *ngIf="!incrementButtonIconTemplate && !_incrementButtonIconTemplate" />
1475
+ <ng-template *ngTemplateOutlet="incrementButtonIconTemplate || _incrementButtonIconTemplate"></ng-template>
1476
+ </ng-container>
1477
+ </button>
1478
+
1479
+ <button
1480
+ type="button"
1481
+ [aglBind]="ptm('decrementButton')"
1482
+ [class]="cn(cx('decrementButton'), decrementButtonClass)"
1483
+ [attr.disabled]="$disabled() ? '' : undefined"
1484
+ tabindex="-1"
1485
+ [attr.aria-hidden]="true"
1486
+ (mousedown)="onDownButtonMouseDown($event)"
1487
+ (mouseup)="onDownButtonMouseUp()"
1488
+ (mouseleave)="onDownButtonMouseLeave()"
1489
+ (keydown)="onDownButtonKeyDown($event)"
1490
+ (keyup)="onDownButtonKeyUp()"
1491
+ [attr.data-p]="dataP"
1492
+ >
1493
+ <span *ngIf="decrementButtonIcon" [aglBind]="ptm('decrementButtonIcon')" [ngClass]="decrementButtonIcon"></span>
1494
+ <ng-container *ngIf="!decrementButtonIcon">
1495
+ <svg data-p-icon="angle-down" [aglBind]="ptm('decrementButtonIcon')" *ngIf="!decrementButtonIconTemplate && !_decrementButtonIconTemplate" />
1496
+ <ng-template *ngTemplateOutlet="decrementButtonIconTemplate || _decrementButtonIconTemplate"></ng-template>
1497
+ </ng-container>
1498
+ </button>
1499
+ </span>
1500
+ <button
1501
+ *ngIf="showButtons && buttonLayout !== 'stacked'"
1502
+ type="button"
1503
+ [aglBind]="ptm('incrementButton')"
1504
+ [class]="cn(cx('incrementButton'), incrementButtonClass)"
1505
+ [attr.disabled]="$disabled() ? '' : undefined"
1506
+ tabindex="-1"
1507
+ [attr.aria-hidden]="true"
1508
+ (mousedown)="onUpButtonMouseDown($event)"
1509
+ (mouseup)="onUpButtonMouseUp()"
1510
+ (mouseleave)="onUpButtonMouseLeave()"
1511
+ (keydown)="onUpButtonKeyDown($event)"
1512
+ (keyup)="onUpButtonKeyUp()"
1513
+ [attr.data-p]="dataP"
1514
+ >
1515
+ <span *ngIf="incrementButtonIcon" [aglBind]="ptm('incrementButtonIcon')" [ngClass]="incrementButtonIcon"></span>
1516
+ <ng-container *ngIf="!incrementButtonIcon">
1517
+ <svg data-p-icon="angle-up" [aglBind]="ptm('incrementButtonIcon')" *ngIf="!incrementButtonIconTemplate && !_incrementButtonIconTemplate" />
1518
+ <ng-template *ngTemplateOutlet="incrementButtonIconTemplate || _incrementButtonIconTemplate"></ng-template>
1519
+ </ng-container>
1520
+ </button>
1521
+ <button
1522
+ *ngIf="showButtons && buttonLayout !== 'stacked'"
1523
+ type="button"
1524
+ [aglBind]="ptm('decrementButton')"
1525
+ [class]="cn(cx('decrementButton'), decrementButtonClass)"
1526
+ [attr.disabled]="$disabled() ? '' : undefined"
1527
+ tabindex="-1"
1528
+ [attr.aria-hidden]="true"
1529
+ (mousedown)="onDownButtonMouseDown($event)"
1530
+ (mouseup)="onDownButtonMouseUp()"
1531
+ (mouseleave)="onDownButtonMouseLeave()"
1532
+ (keydown)="onDownButtonKeyDown($event)"
1533
+ (keyup)="onDownButtonKeyUp()"
1534
+ [attr.data-p]="dataP"
1535
+ >
1536
+ <span *ngIf="decrementButtonIcon" [aglBind]="ptm('decrementButtonIcon')" [ngClass]="decrementButtonIcon"></span>
1537
+ <ng-container *ngIf="!decrementButtonIcon">
1538
+ <svg data-p-icon="angle-down" [aglBind]="ptm('decrementButtonIcon')" *ngIf="!decrementButtonIconTemplate && !_decrementButtonIconTemplate" />
1539
+ <ng-template *ngTemplateOutlet="decrementButtonIconTemplate || _decrementButtonIconTemplate"></ng-template>
1540
+ </ng-container>
1541
+ </button>
1542
+ `,
1543
+ changeDetection: ChangeDetectionStrategy.OnPush,
1544
+ providers: [INPUTNUMBER_VALUE_ACCESSOR, InputNumberStyle, { provide: INPUTNUMBER_INSTANCE, useExisting: InputNumber }, { provide: PARENT_INSTANCE, useExisting: InputNumber }],
1545
+ encapsulation: ViewEncapsulation.None,
1546
+ host: {
1547
+ '[class]': "cn(cx('root'), styleClass)",
1548
+ '[attr.data-p]': 'dataP'
1549
+ },
1550
+ hostDirectives: [Bind]
1551
+ }]
1552
+ }], ctorParameters: () => [{ type: i0.Injector }], propDecorators: { showButtons: [{
1553
+ type: Input,
1554
+ args: [{ transform: booleanAttribute }]
1555
+ }], format: [{
1556
+ type: Input,
1557
+ args: [{ transform: booleanAttribute }]
1558
+ }], buttonLayout: [{
1559
+ type: Input
1560
+ }], inputId: [{
1561
+ type: Input
1562
+ }], styleClass: [{
1563
+ type: Input
1564
+ }], placeholder: [{
1565
+ type: Input
1566
+ }], tabindex: [{
1567
+ type: Input,
1568
+ args: [{ transform: numberAttribute }]
1569
+ }], title: [{
1570
+ type: Input
1571
+ }], ariaLabelledBy: [{
1572
+ type: Input
1573
+ }], ariaDescribedBy: [{
1574
+ type: Input
1575
+ }], ariaLabel: [{
1576
+ type: Input
1577
+ }], ariaRequired: [{
1578
+ type: Input,
1579
+ args: [{ transform: booleanAttribute }]
1580
+ }], autocomplete: [{
1581
+ type: Input
1582
+ }], incrementButtonClass: [{
1583
+ type: Input
1584
+ }], decrementButtonClass: [{
1585
+ type: Input
1586
+ }], incrementButtonIcon: [{
1587
+ type: Input
1588
+ }], decrementButtonIcon: [{
1589
+ type: Input
1590
+ }], readonly: [{
1591
+ type: Input,
1592
+ args: [{ transform: booleanAttribute }]
1593
+ }], allowEmpty: [{
1594
+ type: Input,
1595
+ args: [{ transform: booleanAttribute }]
1596
+ }], locale: [{
1597
+ type: Input
1598
+ }], localeMatcher: [{
1599
+ type: Input
1600
+ }], mode: [{
1601
+ type: Input
1602
+ }], currency: [{
1603
+ type: Input
1604
+ }], currencyDisplay: [{
1605
+ type: Input
1606
+ }], useGrouping: [{
1607
+ type: Input,
1608
+ args: [{ transform: booleanAttribute }]
1609
+ }], minFractionDigits: [{
1610
+ type: Input,
1611
+ args: [{ transform: (value) => numberAttribute(value, undefined) }]
1612
+ }], maxFractionDigits: [{
1613
+ type: Input,
1614
+ args: [{ transform: (value) => numberAttribute(value, undefined) }]
1615
+ }], prefix: [{
1616
+ type: Input
1617
+ }], suffix: [{
1618
+ type: Input
1619
+ }], inputStyle: [{
1620
+ type: Input
1621
+ }], inputStyleClass: [{
1622
+ type: Input
1623
+ }], showClear: [{
1624
+ type: Input,
1625
+ args: [{ transform: booleanAttribute }]
1626
+ }], autofocus: [{
1627
+ type: Input,
1628
+ args: [{ transform: booleanAttribute }]
1629
+ }], onInput: [{
1630
+ type: Output
1631
+ }], onFocus: [{
1632
+ type: Output
1633
+ }], onBlur: [{
1634
+ type: Output
1635
+ }], onKeyDown: [{
1636
+ type: Output
1637
+ }], onClear: [{
1638
+ type: Output
1639
+ }], clearIconTemplate: [{
1640
+ type: ContentChild,
1641
+ args: ['clearicon', { descendants: false }]
1642
+ }], incrementButtonIconTemplate: [{
1643
+ type: ContentChild,
1644
+ args: ['incrementbuttonicon', { descendants: false }]
1645
+ }], decrementButtonIconTemplate: [{
1646
+ type: ContentChild,
1647
+ args: ['decrementbuttonicon', { descendants: false }]
1648
+ }], templates: [{
1649
+ type: ContentChildren,
1650
+ args: [AglTemplate]
1651
+ }], input: [{
1652
+ type: ViewChild,
1653
+ args: ['input']
1654
+ }] } });
1655
+ class InputNumberModule {
1656
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1657
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: InputNumberModule, imports: [InputNumber, SharedModule], exports: [InputNumber, SharedModule] });
1658
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumberModule, imports: [InputNumber, SharedModule, SharedModule] });
1659
+ }
1660
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumberModule, decorators: [{
1661
+ type: NgModule,
1662
+ args: [{
1663
+ imports: [InputNumber, SharedModule],
1664
+ exports: [InputNumber, SharedModule]
1665
+ }]
1666
+ }] });
1667
+
1668
+ /**
1669
+ * Generated bundle index. Do not edit.
1670
+ */
1671
+
1672
+ export { INPUTNUMBER_VALUE_ACCESSOR, InputNumber, InputNumberClasses, InputNumberModule, InputNumberStyle };
1673
+ //# sourceMappingURL=anguless-angulux-inputnumber.mjs.map