@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,1325 @@
1
+ export * from '@anguless/angulux/types/scroller';
2
+ import * as i2 from '@angular/common';
3
+ import { isPlatformBrowser, CommonModule } from '@angular/common';
4
+ import * as i0 from '@angular/core';
5
+ import { Injectable, InjectionToken, inject, EventEmitter, ContentChildren, ContentChild, HostBinding, ViewChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
+ import { isVisible, getWidth, getHeight, findSingle, isTouchDevice } from '@anguless/angulux-utils';
7
+ import { SharedModule, AglTemplate } from '@anguless/angulux/api';
8
+ import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
9
+ import * as i1 from '@anguless/angulux/bind';
10
+ import { Bind } from '@anguless/angulux/bind';
11
+ import { SpinnerIcon } from '@anguless/angulux/icons';
12
+ import { BaseStyle } from '@anguless/angulux/base';
13
+
14
+ const css = /*css*/ `
15
+ .p-virtualscroller {
16
+ position: relative;
17
+ overflow: auto;
18
+ contain: strict;
19
+ transform: translateZ(0);
20
+ will-change: scroll-position;
21
+ outline: 0 none;
22
+ }
23
+
24
+ .p-virtualscroller-content {
25
+ position: absolute;
26
+ top: 0;
27
+ left: 0;
28
+ min-height: 100%;
29
+ min-width: 100%;
30
+ will-change: transform;
31
+ }
32
+
33
+ .p-virtualscroller-spacer {
34
+ position: absolute;
35
+ top: 0;
36
+ left: 0;
37
+ height: 1px;
38
+ width: 1px;
39
+ transform-origin: 0 0;
40
+ pointer-events: none;
41
+ }
42
+
43
+ .p-virtualscroller-loader {
44
+ position: sticky;
45
+ top: 0;
46
+ left: 0;
47
+ width: 100%;
48
+ height: 100%;
49
+ background: dt('virtualscroller.loader.mask.background');
50
+ color: dt('virtualscroller.loader.mask.color');
51
+ }
52
+
53
+ .p-virtualscroller-loader-mask {
54
+ display: flex;
55
+ align-items: center;
56
+ justify-content: center;
57
+ }
58
+
59
+ .p-virtualscroller-loading-icon {
60
+ font-size: dt('virtualscroller.loader.icon.size');
61
+ width: dt('virtualscroller.loader.icon.size');
62
+ height: dt('virtualscroller.loader.icon.size');
63
+ }
64
+
65
+ .p-virtualscroller-horizontal > .p-virtualscroller-content {
66
+ display: flex;
67
+ }
68
+
69
+ .p-virtualscroller-inline .p-virtualscroller-content {
70
+ position: static;
71
+ }
72
+ `;
73
+ const classes = {
74
+ root: ({ instance }) => [
75
+ 'p-virtualscroller',
76
+ {
77
+ 'p-virtualscroller-inline': instance.inline,
78
+ 'p-virtualscroller-both p-both-scroll': instance.both,
79
+ 'p-virtualscroller-horizontal p-horizontal-scroll': instance.horizontal
80
+ }
81
+ ],
82
+ content: 'p-virtualscroller-content',
83
+ spacer: 'p-virtualscroller-spacer',
84
+ loader: ({ instance }) => [
85
+ 'p-virtualscroller-loader',
86
+ {
87
+ 'p-virtualscroller-loader-mask': !instance.loaderTemplate
88
+ }
89
+ ],
90
+ loadingIcon: 'p-virtualscroller-loading-icon'
91
+ };
92
+ class ScrollerStyle extends BaseStyle {
93
+ name = 'virtualscroller';
94
+ css = css;
95
+ classes = classes;
96
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollerStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
97
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollerStyle });
98
+ }
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollerStyle, decorators: [{
100
+ type: Injectable
101
+ }] });
102
+ /**
103
+ *
104
+ * VirtualScroller is a performant approach to handle huge data efficiently.
105
+ *
106
+ * @module scrollerstyle
107
+ *
108
+ */
109
+ var ScrollerClasses;
110
+ (function (ScrollerClasses) {
111
+ /**
112
+ * Class name of the root element
113
+ */
114
+ ScrollerClasses["root"] = "p-virtualscroller";
115
+ /**
116
+ * Class name of the content element
117
+ */
118
+ ScrollerClasses["content"] = "p-virtualscroller-content";
119
+ /**
120
+ * Class name of the spacer element
121
+ */
122
+ ScrollerClasses["spacer"] = "p-virtualscroller-spacer";
123
+ /**
124
+ * Class name of the loader element
125
+ */
126
+ ScrollerClasses["loader"] = "p-virtualscroller-loader";
127
+ /**
128
+ * Class name of the loading icon element
129
+ */
130
+ ScrollerClasses["loadingIcon"] = "p-virtualscroller-loading-icon";
131
+ })(ScrollerClasses || (ScrollerClasses = {}));
132
+
133
+ const SCROLLER_INSTANCE = new InjectionToken('SCROLLER_INSTANCE');
134
+ /**
135
+ * Scroller is a performance-approach to handle huge data efficiently.
136
+ * @group Components
137
+ */
138
+ class Scroller extends BaseComponent {
139
+ zone;
140
+ componentName = 'VirtualScroller';
141
+ bindDirectiveInstance = inject(Bind, { self: true });
142
+ $pcScroller = inject(SCROLLER_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
143
+ hostName = '';
144
+ /**
145
+ * Unique identifier of the element.
146
+ * @group Props
147
+ */
148
+ get id() {
149
+ return this._id;
150
+ }
151
+ set id(val) {
152
+ this._id = val;
153
+ }
154
+ /**
155
+ * Inline style of the component.
156
+ * @group Props
157
+ */
158
+ get style() {
159
+ return this._style;
160
+ }
161
+ set style(val) {
162
+ this._style = val;
163
+ }
164
+ /**
165
+ * Style class of the element.
166
+ * @group Props
167
+ */
168
+ get styleClass() {
169
+ return this._styleClass;
170
+ }
171
+ set styleClass(val) {
172
+ this._styleClass = val;
173
+ }
174
+ /**
175
+ * Index of the element in tabbing order.
176
+ * @group Props
177
+ */
178
+ get tabindex() {
179
+ return this._tabindex;
180
+ }
181
+ set tabindex(val) {
182
+ this._tabindex = val;
183
+ }
184
+ /**
185
+ * An array of objects to display.
186
+ * @group Props
187
+ */
188
+ get items() {
189
+ return this._items;
190
+ }
191
+ set items(val) {
192
+ this._items = val;
193
+ }
194
+ /**
195
+ * The height/width of item according to orientation.
196
+ * @group Props
197
+ */
198
+ get itemSize() {
199
+ return this._itemSize;
200
+ }
201
+ set itemSize(val) {
202
+ this._itemSize = val;
203
+ }
204
+ /**
205
+ * Height of the scroll viewport.
206
+ * @group Props
207
+ */
208
+ get scrollHeight() {
209
+ return this._scrollHeight;
210
+ }
211
+ set scrollHeight(val) {
212
+ this._scrollHeight = val;
213
+ }
214
+ /**
215
+ * Width of the scroll viewport.
216
+ * @group Props
217
+ */
218
+ get scrollWidth() {
219
+ return this._scrollWidth;
220
+ }
221
+ set scrollWidth(val) {
222
+ this._scrollWidth = val;
223
+ }
224
+ /**
225
+ * The orientation of scrollbar.
226
+ * @group Props
227
+ */
228
+ get orientation() {
229
+ return this._orientation;
230
+ }
231
+ set orientation(val) {
232
+ this._orientation = val;
233
+ }
234
+ /**
235
+ * Used to specify how many items to load in each load method in lazy mode.
236
+ * @group Props
237
+ */
238
+ get step() {
239
+ return this._step;
240
+ }
241
+ set step(val) {
242
+ this._step = val;
243
+ }
244
+ /**
245
+ * Delay in scroll before new data is loaded.
246
+ * @group Props
247
+ */
248
+ get delay() {
249
+ return this._delay;
250
+ }
251
+ set delay(val) {
252
+ this._delay = val;
253
+ }
254
+ /**
255
+ * Delay after window's resize finishes.
256
+ * @group Props
257
+ */
258
+ get resizeDelay() {
259
+ return this._resizeDelay;
260
+ }
261
+ set resizeDelay(val) {
262
+ this._resizeDelay = val;
263
+ }
264
+ /**
265
+ * Used to append each loaded item to top without removing any items from the DOM. Using very large data may cause the browser to crash.
266
+ * @group Props
267
+ */
268
+ get appendOnly() {
269
+ return this._appendOnly;
270
+ }
271
+ set appendOnly(val) {
272
+ this._appendOnly = val;
273
+ }
274
+ /**
275
+ * Specifies whether the scroller should be displayed inline or not.
276
+ * @group Props
277
+ */
278
+ get inline() {
279
+ return this._inline;
280
+ }
281
+ set inline(val) {
282
+ this._inline = val;
283
+ }
284
+ /**
285
+ * Defines if data is loaded and interacted with in lazy manner.
286
+ * @group Props
287
+ */
288
+ get lazy() {
289
+ return this._lazy;
290
+ }
291
+ set lazy(val) {
292
+ this._lazy = val;
293
+ }
294
+ /**
295
+ * If disabled, the scroller feature is eliminated and the content is displayed directly.
296
+ * @group Props
297
+ */
298
+ get disabled() {
299
+ return this._disabled;
300
+ }
301
+ set disabled(val) {
302
+ this._disabled = val;
303
+ }
304
+ /**
305
+ * Used to implement a custom loader instead of using the loader feature in the scroller.
306
+ * @group Props
307
+ */
308
+ get loaderDisabled() {
309
+ return this._loaderDisabled;
310
+ }
311
+ set loaderDisabled(val) {
312
+ this._loaderDisabled = val;
313
+ }
314
+ /**
315
+ * Columns to display.
316
+ * @group Props
317
+ */
318
+ get columns() {
319
+ return this._columns;
320
+ }
321
+ set columns(val) {
322
+ this._columns = val;
323
+ }
324
+ /**
325
+ * Used to implement a custom spacer instead of using the spacer feature in the scroller.
326
+ * @group Props
327
+ */
328
+ get showSpacer() {
329
+ return this._showSpacer;
330
+ }
331
+ set showSpacer(val) {
332
+ this._showSpacer = val;
333
+ }
334
+ /**
335
+ * Defines whether to show loader.
336
+ * @group Props
337
+ */
338
+ get showLoader() {
339
+ return this._showLoader;
340
+ }
341
+ set showLoader(val) {
342
+ this._showLoader = val;
343
+ }
344
+ /**
345
+ * Determines how many additional elements to add to the DOM outside of the view. According to the scrolls made up and down, extra items are added in a certain algorithm in the form of multiples of this number. Default value is half the number of items shown in the view.
346
+ * @group Props
347
+ */
348
+ get numToleratedItems() {
349
+ return this._numToleratedItems;
350
+ }
351
+ set numToleratedItems(val) {
352
+ this._numToleratedItems = val;
353
+ }
354
+ /**
355
+ * Defines whether the data is loaded.
356
+ * @group Props
357
+ */
358
+ get loading() {
359
+ return this._loading;
360
+ }
361
+ set loading(val) {
362
+ this._loading = val;
363
+ }
364
+ /**
365
+ * Defines whether to dynamically change the height or width of scrollable container.
366
+ * @group Props
367
+ */
368
+ get autoSize() {
369
+ return this._autoSize;
370
+ }
371
+ set autoSize(val) {
372
+ this._autoSize = val;
373
+ }
374
+ /**
375
+ * Function to optimize the dom operations by delegating to ngForTrackBy, default algoritm checks for object identity.
376
+ * @group Props
377
+ */
378
+ get trackBy() {
379
+ return this._trackBy;
380
+ }
381
+ set trackBy(val) {
382
+ this._trackBy = val;
383
+ }
384
+ /**
385
+ * Defines whether to use the scroller feature. The properties of scroller component can be used like an object in it.
386
+ * @group Props
387
+ */
388
+ get options() {
389
+ return this._options;
390
+ }
391
+ set options(val) {
392
+ this._options = val;
393
+ if (val && typeof val === 'object') {
394
+ Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));
395
+ Object.entries(val).forEach(([k, v]) => this[`${k}`] !== v && (this[`${k}`] = v));
396
+ }
397
+ }
398
+ /**
399
+ * Callback to invoke in lazy mode to load new data.
400
+ * @param {ScrollerLazyLoadEvent} event - Custom lazy load event.
401
+ * @group Emits
402
+ */
403
+ onLazyLoad = new EventEmitter();
404
+ /**
405
+ * Callback to invoke when scroll position changes.
406
+ * @param {ScrollerScrollEvent} event - Custom scroll event.
407
+ * @group Emits
408
+ */
409
+ onScroll = new EventEmitter();
410
+ /**
411
+ * Callback to invoke when scroll position and item's range in view changes.
412
+ * @param {ScrollerScrollEvent} event - Custom scroll index change event.
413
+ * @group Emits
414
+ */
415
+ onScrollIndexChange = new EventEmitter();
416
+ elementViewChild;
417
+ contentViewChild;
418
+ height;
419
+ _id;
420
+ _style;
421
+ _styleClass;
422
+ _tabindex = 0;
423
+ _items;
424
+ _itemSize = 0;
425
+ _scrollHeight;
426
+ _scrollWidth;
427
+ _orientation = 'vertical';
428
+ _step = 0;
429
+ _delay = 0;
430
+ _resizeDelay = 10;
431
+ _appendOnly = false;
432
+ _inline = false;
433
+ _lazy = false;
434
+ _disabled = false;
435
+ _loaderDisabled = false;
436
+ _columns;
437
+ _showSpacer = true;
438
+ _showLoader = false;
439
+ _numToleratedItems;
440
+ _loading;
441
+ _autoSize = false;
442
+ _trackBy;
443
+ _options;
444
+ d_loading = false;
445
+ d_numToleratedItems;
446
+ contentEl;
447
+ /**
448
+ * Content template of the component.
449
+ * @param {ScrollerContentTemplateContext} context - content context.
450
+ * @see {@link ScrollerContentTemplateContext}
451
+ * @group Templates
452
+ */
453
+ contentTemplate;
454
+ /**
455
+ * Item template of the component.
456
+ * @param {ScrollerItemTemplateContext} context - item context.
457
+ * @see {@link ScrollerItemTemplateContext}
458
+ * @group Templates
459
+ */
460
+ itemTemplate;
461
+ /**
462
+ * Loader template of the component.
463
+ * @param {ScrollerLoaderTemplateContext} context - loader context.
464
+ * @see {@link ScrollerLoaderTemplateContext}
465
+ * @group Templates
466
+ */
467
+ loaderTemplate;
468
+ /**
469
+ * Loader icon template of the component.
470
+ * @param {ScrollerLoaderIconTemplateContext} context - loader icon context.
471
+ * @see {@link ScrollerLoaderIconTemplateContext}
472
+ * @group Templates
473
+ */
474
+ loaderIconTemplate;
475
+ templates;
476
+ _contentTemplate;
477
+ _itemTemplate;
478
+ _loaderTemplate;
479
+ _loaderIconTemplate;
480
+ first = 0;
481
+ last = 0;
482
+ page = 0;
483
+ isRangeChanged = false;
484
+ numItemsInViewport = 0;
485
+ lastScrollPos = 0;
486
+ lazyLoadState = {};
487
+ loaderArr = [];
488
+ spacerStyle = {};
489
+ contentStyle = {};
490
+ scrollTimeout;
491
+ resizeTimeout;
492
+ initialized = false;
493
+ windowResizeListener;
494
+ defaultWidth;
495
+ defaultHeight;
496
+ defaultContentWidth;
497
+ defaultContentHeight;
498
+ _contentStyleClass;
499
+ get contentStyleClass() {
500
+ return this._contentStyleClass;
501
+ }
502
+ set contentStyleClass(val) {
503
+ this._contentStyleClass = val;
504
+ }
505
+ get vertical() {
506
+ return this._orientation === 'vertical';
507
+ }
508
+ get horizontal() {
509
+ return this._orientation === 'horizontal';
510
+ }
511
+ get both() {
512
+ return this._orientation === 'both';
513
+ }
514
+ get loadedItems() {
515
+ if (this._items && !this.d_loading) {
516
+ if (this.both) {
517
+ return this._items.slice(this._appendOnly ? 0 : this.first.rows, this.last.rows).map((item) => {
518
+ if (this._columns) {
519
+ return item;
520
+ }
521
+ else if (Array.isArray(item)) {
522
+ return item.slice(this._appendOnly ? 0 : this.first.cols, this.last.cols);
523
+ }
524
+ else {
525
+ return item;
526
+ }
527
+ });
528
+ }
529
+ else if (this.horizontal && this._columns)
530
+ return this._items;
531
+ else
532
+ return this._items.slice(this._appendOnly ? 0 : this.first, this.last);
533
+ }
534
+ return [];
535
+ }
536
+ get loadedRows() {
537
+ return this.d_loading ? (this._loaderDisabled ? this.loaderArr : []) : this.loadedItems;
538
+ }
539
+ get loadedColumns() {
540
+ if (this._columns && (this.both || this.horizontal)) {
541
+ return this.d_loading && this._loaderDisabled ? (this.both ? this.loaderArr[0] : this.loaderArr) : this._columns.slice(this.both ? this.first.cols : this.first, this.both ? this.last.cols : this.last);
542
+ }
543
+ return this._columns;
544
+ }
545
+ _componentStyle = inject(ScrollerStyle);
546
+ constructor(zone) {
547
+ super();
548
+ this.zone = zone;
549
+ }
550
+ onInit() {
551
+ this.setInitialState();
552
+ }
553
+ onChanges(simpleChanges) {
554
+ let isLoadingChanged = false;
555
+ if (this.scrollHeight == '100%') {
556
+ this.height = '100%';
557
+ }
558
+ if (simpleChanges.loading) {
559
+ const { previousValue, currentValue } = simpleChanges.loading;
560
+ if (this.lazy && previousValue !== currentValue && currentValue !== this.d_loading) {
561
+ this.d_loading = currentValue;
562
+ isLoadingChanged = true;
563
+ }
564
+ }
565
+ if (simpleChanges.orientation) {
566
+ this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
567
+ }
568
+ if (simpleChanges.numToleratedItems) {
569
+ const { previousValue, currentValue } = simpleChanges.numToleratedItems;
570
+ if (previousValue !== currentValue && currentValue !== this.d_numToleratedItems) {
571
+ this.d_numToleratedItems = currentValue;
572
+ }
573
+ }
574
+ if (simpleChanges.options) {
575
+ const { previousValue, currentValue } = simpleChanges.options;
576
+ if (this.lazy && previousValue?.loading !== currentValue?.loading && currentValue?.loading !== this.d_loading) {
577
+ this.d_loading = currentValue.loading;
578
+ isLoadingChanged = true;
579
+ }
580
+ if (previousValue?.numToleratedItems !== currentValue?.numToleratedItems && currentValue?.numToleratedItems !== this.d_numToleratedItems) {
581
+ this.d_numToleratedItems = currentValue.numToleratedItems;
582
+ }
583
+ }
584
+ if (this.initialized) {
585
+ const isChanged = !isLoadingChanged && (simpleChanges.items?.previousValue?.length !== simpleChanges.items?.currentValue?.length || simpleChanges.itemSize || simpleChanges.scrollHeight || simpleChanges.scrollWidth);
586
+ if (isChanged) {
587
+ this.init();
588
+ }
589
+ }
590
+ }
591
+ onAfterContentInit() {
592
+ this.templates.forEach((item) => {
593
+ switch (item.getType()) {
594
+ case 'content':
595
+ this._contentTemplate = item.template;
596
+ break;
597
+ case 'item':
598
+ this._itemTemplate = item.template;
599
+ break;
600
+ case 'loader':
601
+ this._loaderTemplate = item.template;
602
+ break;
603
+ case 'loadericon':
604
+ this._loaderIconTemplate = item.template;
605
+ break;
606
+ default:
607
+ this._itemTemplate = item.template;
608
+ break;
609
+ }
610
+ });
611
+ }
612
+ onAfterViewInit() {
613
+ Promise.resolve().then(() => {
614
+ this.viewInit();
615
+ });
616
+ }
617
+ onAfterViewChecked() {
618
+ this.bindDirectiveInstance.setAttrs(this.ptm('host'));
619
+ if (!this.initialized) {
620
+ this.viewInit();
621
+ }
622
+ }
623
+ onDestroy() {
624
+ this.unbindResizeListener();
625
+ this.contentEl = null;
626
+ this.initialized = false;
627
+ }
628
+ viewInit() {
629
+ if (isPlatformBrowser(this.platformId) && !this.initialized) {
630
+ if (isVisible(this.elementViewChild?.nativeElement)) {
631
+ this.setInitialState();
632
+ this.setContentEl(this.contentEl);
633
+ this.init();
634
+ this.defaultWidth = getWidth(this.elementViewChild?.nativeElement);
635
+ this.defaultHeight = getHeight(this.elementViewChild?.nativeElement);
636
+ this.defaultContentWidth = getWidth(this.contentEl);
637
+ this.defaultContentHeight = getHeight(this.contentEl);
638
+ this.initialized = true;
639
+ }
640
+ }
641
+ }
642
+ init() {
643
+ if (!this._disabled) {
644
+ this.bindResizeListener();
645
+ // wait for the next tick
646
+ setTimeout(() => {
647
+ this.setSpacerSize();
648
+ this.setSize();
649
+ this.calculateOptions();
650
+ this.calculateAutoSize();
651
+ this.cd.detectChanges();
652
+ }, 1);
653
+ }
654
+ }
655
+ setContentEl(el) {
656
+ this.contentEl = el || this.contentViewChild?.nativeElement || findSingle(this.elementViewChild?.nativeElement, '.p-virtualscroller-content');
657
+ }
658
+ setInitialState() {
659
+ this.first = this.both ? { rows: 0, cols: 0 } : 0;
660
+ this.last = this.both ? { rows: 0, cols: 0 } : 0;
661
+ this.numItemsInViewport = this.both ? { rows: 0, cols: 0 } : 0;
662
+ this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
663
+ if (this.d_loading === undefined || this.d_loading === false) {
664
+ this.d_loading = this._loading || false;
665
+ }
666
+ this.d_numToleratedItems = this._numToleratedItems;
667
+ this.loaderArr = this.loaderArr.length > 0 ? this.loaderArr : [];
668
+ }
669
+ getElementRef() {
670
+ return this.elementViewChild;
671
+ }
672
+ getPageByFirst(first) {
673
+ return Math.floor(((first ?? this.first) + this.d_numToleratedItems * 4) / (this._step || 1));
674
+ }
675
+ isPageChanged(first) {
676
+ return this._step ? this.page !== this.getPageByFirst(first ?? this.first) : true;
677
+ }
678
+ scrollTo(options) {
679
+ // this.lastScrollPos = this.both ? { top: 0, left: 0 } : 0;
680
+ this.elementViewChild?.nativeElement?.scrollTo(options);
681
+ }
682
+ scrollToIndex(index, behavior = 'auto') {
683
+ const valid = this.both ? index.every((i) => i > -1) : index > -1;
684
+ if (valid) {
685
+ const first = this.first;
686
+ const { scrollTop = 0, scrollLeft = 0 } = this.elementViewChild?.nativeElement;
687
+ const { numToleratedItems } = this.calculateNumItems();
688
+ const contentPos = this.getContentPosition();
689
+ const itemSize = this.itemSize;
690
+ const calculateFirst = (_index = 0, _numT) => (_index <= _numT ? 0 : _index);
691
+ const calculateCoord = (_first, _size, _cpos) => _first * _size + _cpos;
692
+ const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
693
+ let newFirst = this.both ? { rows: 0, cols: 0 } : 0;
694
+ let isRangeChanged = false, isScrollChanged = false;
695
+ if (this.both) {
696
+ newFirst = {
697
+ rows: calculateFirst(index[0], numToleratedItems[0]),
698
+ cols: calculateFirst(index[1], numToleratedItems[1])
699
+ };
700
+ scrollTo(calculateCoord(newFirst.cols, itemSize[1], contentPos.left), calculateCoord(newFirst.rows, itemSize[0], contentPos.top));
701
+ isScrollChanged = this.lastScrollPos.top !== scrollTop || this.lastScrollPos.left !== scrollLeft;
702
+ isRangeChanged = newFirst.rows !== first.rows || newFirst.cols !== first.cols;
703
+ }
704
+ else {
705
+ newFirst = calculateFirst(index, numToleratedItems);
706
+ this.horizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPos.left), scrollTop) : scrollTo(scrollLeft, calculateCoord(newFirst, itemSize, contentPos.top));
707
+ isScrollChanged = this.lastScrollPos !== (this.horizontal ? scrollLeft : scrollTop);
708
+ isRangeChanged = newFirst !== first;
709
+ }
710
+ this.isRangeChanged = isRangeChanged;
711
+ isScrollChanged && (this.first = newFirst);
712
+ }
713
+ }
714
+ scrollInView(index, to, behavior = 'auto') {
715
+ if (to) {
716
+ const { first, viewport } = this.getRenderedRange();
717
+ const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
718
+ const isToStart = to === 'to-start';
719
+ const isToEnd = to === 'to-end';
720
+ if (isToStart) {
721
+ if (this.both) {
722
+ if (viewport.first.rows - first.rows > index[0]) {
723
+ scrollTo(viewport.first.cols * this._itemSize[1], (viewport.first.rows - 1) * this._itemSize[0]);
724
+ }
725
+ else if (viewport.first.cols - first.cols > index[1]) {
726
+ scrollTo((viewport.first.cols - 1) * this._itemSize[1], viewport.first.rows * this._itemSize[0]);
727
+ }
728
+ }
729
+ else {
730
+ if (viewport.first - first > index) {
731
+ const pos = (viewport.first - 1) * this._itemSize;
732
+ this.horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
733
+ }
734
+ }
735
+ }
736
+ else if (isToEnd) {
737
+ if (this.both) {
738
+ if (viewport.last.rows - first.rows <= index[0] + 1) {
739
+ scrollTo(viewport.first.cols * this._itemSize[1], (viewport.first.rows + 1) * this._itemSize[0]);
740
+ }
741
+ else if (viewport.last.cols - first.cols <= index[1] + 1) {
742
+ scrollTo((viewport.first.cols + 1) * this._itemSize[1], viewport.first.rows * this._itemSize[0]);
743
+ }
744
+ }
745
+ else {
746
+ if (viewport.last - first <= index + 1) {
747
+ const pos = (viewport.first + 1) * this._itemSize;
748
+ this.horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
749
+ }
750
+ }
751
+ }
752
+ }
753
+ else {
754
+ this.scrollToIndex(index, behavior);
755
+ }
756
+ }
757
+ getRenderedRange() {
758
+ const calculateFirstInViewport = (_pos, _size) => (_size || _pos ? Math.floor(_pos / (_size || _pos)) : 0);
759
+ let firstInViewport = this.first;
760
+ let lastInViewport = 0;
761
+ if (this.elementViewChild?.nativeElement) {
762
+ const { scrollTop, scrollLeft } = this.elementViewChild.nativeElement;
763
+ if (this.both) {
764
+ firstInViewport = {
765
+ rows: calculateFirstInViewport(scrollTop, this._itemSize[0]),
766
+ cols: calculateFirstInViewport(scrollLeft, this._itemSize[1])
767
+ };
768
+ lastInViewport = {
769
+ rows: firstInViewport.rows + this.numItemsInViewport.rows,
770
+ cols: firstInViewport.cols + this.numItemsInViewport.cols
771
+ };
772
+ }
773
+ else {
774
+ const scrollPos = this.horizontal ? scrollLeft : scrollTop;
775
+ firstInViewport = calculateFirstInViewport(scrollPos, this._itemSize);
776
+ lastInViewport = firstInViewport + this.numItemsInViewport;
777
+ }
778
+ }
779
+ return {
780
+ first: this.first,
781
+ last: this.last,
782
+ viewport: {
783
+ first: firstInViewport,
784
+ last: lastInViewport
785
+ }
786
+ };
787
+ }
788
+ calculateNumItems() {
789
+ const contentPos = this.getContentPosition();
790
+ const contentWidth = (this.elementViewChild?.nativeElement ? this.elementViewChild.nativeElement.offsetWidth - contentPos.left : 0) || 0;
791
+ const contentHeight = (this.elementViewChild?.nativeElement ? this.elementViewChild.nativeElement.offsetHeight - contentPos.top : 0) || 0;
792
+ const calculateNumItemsInViewport = (_contentSize, _itemSize) => (_itemSize || _contentSize ? Math.ceil(_contentSize / (_itemSize || _contentSize)) : 0);
793
+ const calculateNumToleratedItems = (_numItems) => Math.ceil(_numItems / 2);
794
+ const numItemsInViewport = this.both
795
+ ? {
796
+ rows: calculateNumItemsInViewport(contentHeight, this._itemSize[0]),
797
+ cols: calculateNumItemsInViewport(contentWidth, this._itemSize[1])
798
+ }
799
+ : calculateNumItemsInViewport(this.horizontal ? contentWidth : contentHeight, this._itemSize);
800
+ const numToleratedItems = this.d_numToleratedItems || (this.both ? [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] : calculateNumToleratedItems(numItemsInViewport));
801
+ return { numItemsInViewport, numToleratedItems };
802
+ }
803
+ calculateOptions() {
804
+ const { numItemsInViewport, numToleratedItems } = this.calculateNumItems();
805
+ const calculateLast = (_first, _num, _numT, _isCols = false) => this.getLast(_first + _num + (_first < _numT ? 2 : 3) * _numT, _isCols);
806
+ const first = this.first;
807
+ const last = this.both
808
+ ? {
809
+ rows: calculateLast(this.first.rows, numItemsInViewport.rows, numToleratedItems[0]),
810
+ cols: calculateLast(this.first.cols, numItemsInViewport.cols, numToleratedItems[1], true)
811
+ }
812
+ : calculateLast(this.first, numItemsInViewport, numToleratedItems);
813
+ this.last = last;
814
+ this.numItemsInViewport = numItemsInViewport;
815
+ this.d_numToleratedItems = numToleratedItems;
816
+ if (this._showLoader) {
817
+ this.loaderArr = this.both ? Array.from({ length: numItemsInViewport.rows }).map(() => Array.from({ length: numItemsInViewport.cols })) : Array.from({ length: numItemsInViewport });
818
+ }
819
+ if (this._lazy) {
820
+ Promise.resolve().then(() => {
821
+ this.lazyLoadState = {
822
+ first: this._step ? (this.both ? { rows: 0, cols: first.cols } : 0) : first,
823
+ last: Math.min(this._step ? this._step : this.last, this._items.length)
824
+ };
825
+ this.handleEvents('onLazyLoad', this.lazyLoadState);
826
+ });
827
+ }
828
+ }
829
+ calculateAutoSize() {
830
+ if (this._autoSize && !this.d_loading) {
831
+ Promise.resolve().then(() => {
832
+ if (this.contentEl) {
833
+ this.contentEl.style.minHeight = this.contentEl.style.minWidth = 'auto';
834
+ this.contentEl.style.position = 'relative';
835
+ this.elementViewChild.nativeElement.style.contain = 'none';
836
+ const [contentWidth, contentHeight] = [getWidth(this.contentEl), getHeight(this.contentEl)];
837
+ contentWidth !== this.defaultContentWidth && (this.elementViewChild.nativeElement.style.width = '');
838
+ contentHeight !== this.defaultContentHeight && (this.elementViewChild.nativeElement.style.height = '');
839
+ const [width, height] = [getWidth(this.elementViewChild.nativeElement), getHeight(this.elementViewChild.nativeElement)];
840
+ (this.both || this.horizontal) && (this.elementViewChild.nativeElement.style.width = width < this.defaultWidth ? width + 'px' : this._scrollWidth || this.defaultWidth + 'px');
841
+ (this.both || this.vertical) && (this.elementViewChild.nativeElement.style.height = height < this.defaultHeight ? height + 'px' : this._scrollHeight || this.defaultHeight + 'px');
842
+ this.contentEl.style.minHeight = this.contentEl.style.minWidth = '';
843
+ this.contentEl.style.position = '';
844
+ this.elementViewChild.nativeElement.style.contain = '';
845
+ }
846
+ });
847
+ }
848
+ }
849
+ getLast(last = 0, isCols = false) {
850
+ return this._items ? Math.min(isCols ? (this._columns || this._items[0]).length : this._items.length, last) : 0;
851
+ }
852
+ getContentPosition() {
853
+ if (this.contentEl) {
854
+ const style = getComputedStyle(this.contentEl);
855
+ const left = parseFloat(style.paddingLeft) + Math.max(parseFloat(style.left) || 0, 0);
856
+ const right = parseFloat(style.paddingRight) + Math.max(parseFloat(style.right) || 0, 0);
857
+ const top = parseFloat(style.paddingTop) + Math.max(parseFloat(style.top) || 0, 0);
858
+ const bottom = parseFloat(style.paddingBottom) + Math.max(parseFloat(style.bottom) || 0, 0);
859
+ return { left, right, top, bottom, x: left + right, y: top + bottom };
860
+ }
861
+ return { left: 0, right: 0, top: 0, bottom: 0, x: 0, y: 0 };
862
+ }
863
+ setSize() {
864
+ if (this.elementViewChild?.nativeElement) {
865
+ const nativeElement = this.elementViewChild.nativeElement;
866
+ const parentElement = nativeElement.parentElement?.parentElement;
867
+ const elementWidth = nativeElement.offsetWidth;
868
+ const parentWidth = parentElement?.offsetWidth || 0;
869
+ const width = this._scrollWidth || `${elementWidth || parentWidth}px`;
870
+ const elementHeight = nativeElement.offsetHeight;
871
+ const parentHeight = parentElement?.offsetHeight || 0;
872
+ const height = this._scrollHeight || `${elementHeight || parentHeight}px`;
873
+ const setProp = (_name, _value) => (nativeElement.style[_name] = _value);
874
+ if (this.both || this.horizontal) {
875
+ setProp('height', height);
876
+ setProp('width', width);
877
+ }
878
+ else {
879
+ setProp('height', height);
880
+ }
881
+ }
882
+ }
883
+ setSpacerSize() {
884
+ if (this._items) {
885
+ const contentPos = this.getContentPosition();
886
+ const setProp = (_name, _value, _size, _cpos = 0) => (this.spacerStyle = {
887
+ ...this.spacerStyle,
888
+ ...{ [`${_name}`]: (_value || []).length * _size + _cpos + 'px' }
889
+ });
890
+ if (this.both) {
891
+ setProp('height', this._items, this._itemSize[0], contentPos.y);
892
+ setProp('width', this._columns || this._items[1], this._itemSize[1], contentPos.x);
893
+ }
894
+ else {
895
+ this.horizontal ? setProp('width', this._columns || this._items, this._itemSize, contentPos.x) : setProp('height', this._items, this._itemSize, contentPos.y);
896
+ }
897
+ }
898
+ }
899
+ setContentPosition(pos) {
900
+ if (this.contentEl && !this._appendOnly) {
901
+ const first = pos ? pos.first : this.first;
902
+ const calculateTranslateVal = (_first, _size) => _first * _size;
903
+ const setTransform = (_x = 0, _y = 0) => (this.contentStyle = { ...this.contentStyle, ...{ transform: `translate3d(${_x}px, ${_y}px, 0)` } });
904
+ if (this.both) {
905
+ setTransform(calculateTranslateVal(first.cols, this._itemSize[1]), calculateTranslateVal(first.rows, this._itemSize[0]));
906
+ }
907
+ else {
908
+ const translateVal = calculateTranslateVal(first, this._itemSize);
909
+ this.horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
910
+ }
911
+ }
912
+ }
913
+ onScrollPositionChange(event) {
914
+ const target = event.target;
915
+ if (!target) {
916
+ throw new Error('Event target is null');
917
+ }
918
+ const contentPos = this.getContentPosition();
919
+ const calculateScrollPos = (_pos, _cpos) => (_pos ? (_pos > _cpos ? _pos - _cpos : _pos) : 0);
920
+ const calculateCurrentIndex = (_pos, _size) => (_size || _pos ? Math.floor(_pos / (_size || _pos)) : 0);
921
+ const calculateTriggerIndex = (_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
922
+ return _currentIndex <= _numT ? _numT : _isScrollDownOrRight ? _last - _num - _numT : _first + _numT - 1;
923
+ };
924
+ const calculateFirst = (_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
925
+ if (_currentIndex <= _numT)
926
+ return 0;
927
+ else
928
+ return Math.max(0, _isScrollDownOrRight ? (_currentIndex < _triggerIndex ? _first : _currentIndex - _numT) : _currentIndex > _triggerIndex ? _first : _currentIndex - 2 * _numT);
929
+ };
930
+ const calculateLast = (_currentIndex, _first, _last, _num, _numT, _isCols = false) => {
931
+ let lastValue = _first + _num + 2 * _numT;
932
+ if (_currentIndex >= _numT) {
933
+ lastValue += _numT + 1;
934
+ }
935
+ return this.getLast(lastValue, _isCols);
936
+ };
937
+ const scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);
938
+ const scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);
939
+ let newFirst = this.both ? { rows: 0, cols: 0 } : 0;
940
+ let newLast = this.last;
941
+ let isRangeChanged = false;
942
+ let newScrollPos = this.lastScrollPos;
943
+ if (this.both) {
944
+ const isScrollDown = this.lastScrollPos.top <= scrollTop;
945
+ const isScrollRight = this.lastScrollPos.left <= scrollLeft;
946
+ if (!this._appendOnly || (this._appendOnly && (isScrollDown || isScrollRight))) {
947
+ const currentIndex = {
948
+ rows: calculateCurrentIndex(scrollTop, this._itemSize[0]),
949
+ cols: calculateCurrentIndex(scrollLeft, this._itemSize[1])
950
+ };
951
+ const triggerIndex = {
952
+ rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
953
+ cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
954
+ };
955
+ newFirst = {
956
+ rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
957
+ cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
958
+ };
959
+ newLast = {
960
+ rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
961
+ cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)
962
+ };
963
+ isRangeChanged = newFirst.rows !== this.first.rows || newLast.rows !== this.last.rows || newFirst.cols !== this.first.cols || newLast.cols !== this.last.cols || this.isRangeChanged;
964
+ newScrollPos = { top: scrollTop, left: scrollLeft };
965
+ }
966
+ }
967
+ else {
968
+ const scrollPos = this.horizontal ? scrollLeft : scrollTop;
969
+ const isScrollDownOrRight = this.lastScrollPos <= scrollPos;
970
+ if (!this._appendOnly || (this._appendOnly && isScrollDownOrRight)) {
971
+ const currentIndex = calculateCurrentIndex(scrollPos, this._itemSize);
972
+ const triggerIndex = calculateTriggerIndex(currentIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
973
+ newFirst = calculateFirst(currentIndex, triggerIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
974
+ newLast = calculateLast(currentIndex, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);
975
+ isRangeChanged = newFirst !== this.first || newLast !== this.last || this.isRangeChanged;
976
+ newScrollPos = scrollPos;
977
+ }
978
+ }
979
+ return {
980
+ first: newFirst,
981
+ last: newLast,
982
+ isRangeChanged,
983
+ scrollPos: newScrollPos
984
+ };
985
+ }
986
+ onScrollChange(event) {
987
+ const { first, last, isRangeChanged, scrollPos } = this.onScrollPositionChange(event);
988
+ if (isRangeChanged) {
989
+ const newState = { first, last };
990
+ this.setContentPosition(newState);
991
+ this.first = first;
992
+ this.last = last;
993
+ this.lastScrollPos = scrollPos;
994
+ this.handleEvents('onScrollIndexChange', newState);
995
+ if (this._lazy && this.isPageChanged(first)) {
996
+ const lazyLoadState = {
997
+ first: this._step ? Math.min(this.getPageByFirst(first) * this._step, this._items.length - this._step) : first,
998
+ last: Math.min(this._step ? (this.getPageByFirst(first) + 1) * this._step : last, this._items.length)
999
+ };
1000
+ const isLazyStateChanged = this.lazyLoadState.first !== lazyLoadState.first || this.lazyLoadState.last !== lazyLoadState.last;
1001
+ isLazyStateChanged && this.handleEvents('onLazyLoad', lazyLoadState);
1002
+ this.lazyLoadState = lazyLoadState;
1003
+ }
1004
+ }
1005
+ }
1006
+ onContainerScroll(event) {
1007
+ this.handleEvents('onScroll', { originalEvent: event });
1008
+ if (this._delay) {
1009
+ if (this.scrollTimeout) {
1010
+ clearTimeout(this.scrollTimeout);
1011
+ }
1012
+ if (!this.d_loading && this._showLoader) {
1013
+ const { isRangeChanged } = this.onScrollPositionChange(event);
1014
+ const changed = isRangeChanged || (this._step ? this.isPageChanged() : false);
1015
+ if (changed) {
1016
+ this.d_loading = true;
1017
+ this.cd.detectChanges();
1018
+ }
1019
+ }
1020
+ this.scrollTimeout = setTimeout(() => {
1021
+ this.onScrollChange(event);
1022
+ if (this.d_loading && this._showLoader && (!this._lazy || this._loading === undefined)) {
1023
+ this.d_loading = false;
1024
+ this.page = this.getPageByFirst();
1025
+ }
1026
+ this.cd.detectChanges();
1027
+ }, this._delay);
1028
+ }
1029
+ else {
1030
+ !this.d_loading && this.onScrollChange(event);
1031
+ }
1032
+ }
1033
+ bindResizeListener() {
1034
+ if (isPlatformBrowser(this.platformId)) {
1035
+ if (!this.windowResizeListener) {
1036
+ this.zone.runOutsideAngular(() => {
1037
+ const window = this.document.defaultView;
1038
+ const event = isTouchDevice() ? 'orientationchange' : 'resize';
1039
+ this.windowResizeListener = this.renderer.listen(window, event, this.onWindowResize.bind(this));
1040
+ });
1041
+ }
1042
+ }
1043
+ }
1044
+ unbindResizeListener() {
1045
+ if (this.windowResizeListener) {
1046
+ this.windowResizeListener();
1047
+ this.windowResizeListener = null;
1048
+ }
1049
+ }
1050
+ onWindowResize() {
1051
+ if (this.resizeTimeout) {
1052
+ clearTimeout(this.resizeTimeout);
1053
+ }
1054
+ this.resizeTimeout = setTimeout(() => {
1055
+ if (isVisible(this.elementViewChild?.nativeElement)) {
1056
+ const [width, height] = [getWidth(this.elementViewChild?.nativeElement), getHeight(this.elementViewChild?.nativeElement)];
1057
+ const [isDiffWidth, isDiffHeight] = [width !== this.defaultWidth, height !== this.defaultHeight];
1058
+ const reinit = this.both ? isDiffWidth || isDiffHeight : this.horizontal ? isDiffWidth : this.vertical ? isDiffHeight : false;
1059
+ reinit &&
1060
+ this.zone.run(() => {
1061
+ this.d_numToleratedItems = this._numToleratedItems;
1062
+ this.defaultWidth = width;
1063
+ this.defaultHeight = height;
1064
+ this.defaultContentWidth = getWidth(this.contentEl);
1065
+ this.defaultContentHeight = getHeight(this.contentEl);
1066
+ this.init();
1067
+ });
1068
+ }
1069
+ }, this._resizeDelay);
1070
+ }
1071
+ handleEvents(name, params) {
1072
+ //@ts-ignore
1073
+ return this.options && this.options[name] ? this.options[name](params) : this[name].emit(params);
1074
+ }
1075
+ getContentOptions() {
1076
+ return {
1077
+ contentStyleClass: `p-virtualscroller-content ${this.d_loading ? 'p-virtualscroller-loading' : ''}`,
1078
+ items: this.loadedItems,
1079
+ getItemOptions: (index) => this.getOptions(index),
1080
+ loading: this.d_loading,
1081
+ getLoaderOptions: (index, options) => this.getLoaderOptions(index, options),
1082
+ itemSize: this._itemSize,
1083
+ rows: this.loadedRows,
1084
+ columns: this.loadedColumns,
1085
+ spacerStyle: this.spacerStyle,
1086
+ contentStyle: this.contentStyle,
1087
+ vertical: this.vertical,
1088
+ horizontal: this.horizontal,
1089
+ both: this.both,
1090
+ scrollTo: this.scrollTo.bind(this),
1091
+ scrollToIndex: this.scrollToIndex.bind(this),
1092
+ orientation: this._orientation,
1093
+ scrollableElement: this.elementViewChild?.nativeElement
1094
+ };
1095
+ }
1096
+ getOptions(renderedIndex) {
1097
+ const count = (this._items || []).length;
1098
+ const index = this.both ? this.first.rows + renderedIndex : this.first + renderedIndex;
1099
+ return {
1100
+ index,
1101
+ count,
1102
+ first: index === 0,
1103
+ last: index === count - 1,
1104
+ even: index % 2 === 0,
1105
+ odd: index % 2 !== 0
1106
+ };
1107
+ }
1108
+ getLoaderOptions(index, extOptions) {
1109
+ const count = this.loaderArr.length;
1110
+ return {
1111
+ index,
1112
+ count,
1113
+ first: index === 0,
1114
+ last: index === count - 1,
1115
+ even: index % 2 === 0,
1116
+ odd: index % 2 !== 0,
1117
+ loading: this.d_loading,
1118
+ ...extOptions
1119
+ };
1120
+ }
1121
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Scroller, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1122
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Scroller, isStandalone: true, selector: "agl-scroller, agl-virtualscroller, agl-virtual-scroller, agl-virtualScroller", inputs: { hostName: "hostName", id: "id", style: "style", styleClass: "styleClass", tabindex: "tabindex", items: "items", itemSize: "itemSize", scrollHeight: "scrollHeight", scrollWidth: "scrollWidth", orientation: "orientation", step: "step", delay: "delay", resizeDelay: "resizeDelay", appendOnly: "appendOnly", inline: "inline", lazy: "lazy", disabled: "disabled", loaderDisabled: "loaderDisabled", columns: "columns", showSpacer: "showSpacer", showLoader: "showLoader", numToleratedItems: "numToleratedItems", loading: "loading", autoSize: "autoSize", trackBy: "trackBy", options: "options" }, outputs: { onLazyLoad: "onLazyLoad", onScroll: "onScroll", onScrollIndexChange: "onScrollIndexChange" }, host: { properties: { "style.height": "this.height" } }, providers: [ScrollerStyle, { provide: SCROLLER_INSTANCE, useExisting: Scroller }, { provide: PARENT_INSTANCE, useExisting: Scroller }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"] }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "loaderIconTemplate", first: true, predicate: ["loadericon"] }, { propertyName: "templates", predicate: AglTemplate }], viewQueries: [{ propertyName: "elementViewChild", first: true, predicate: ["element"], descendants: true }, { propertyName: "contentViewChild", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
1123
+ <ng-container *ngIf="!_disabled; else disabledContainer">
1124
+ <div #element [attr.id]="_id" [attr.tabindex]="tabindex" [ngStyle]="_style" [class]="cn(cx('root'), styleClass)" (scroll)="onContainerScroll($event)" [aglBind]="ptm('root')">
1125
+ <ng-container *ngIf="contentTemplate || _contentTemplate; else buildInContent">
1126
+ <ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate; context: { $implicit: loadedItems, options: getContentOptions() }"></ng-container>
1127
+ </ng-container>
1128
+ <ng-template #buildInContent>
1129
+ <div #content [class]="cn(cx('content'), contentStyleClass)" [style]="contentStyle" [aglBind]="ptm('content')">
1130
+ <ng-container *ngFor="let item of loadedItems; let index = index; trackBy: _trackBy">
1131
+ <ng-container *ngTemplateOutlet="itemTemplate || _itemTemplate; context: { $implicit: item, options: getOptions(index) }"></ng-container>
1132
+ </ng-container>
1133
+ </div>
1134
+ </ng-template>
1135
+ <div *ngIf="_showSpacer" [class]="cx('spacer')" [ngStyle]="spacerStyle" [aglBind]="ptm('spacer')"></div>
1136
+ <div *ngIf="!loaderDisabled && _showLoader && d_loading" [class]="cx('loader')" [aglBind]="ptm('loader')">
1137
+ <ng-container *ngIf="loaderTemplate || _loaderTemplate; else buildInLoader">
1138
+ <ng-container *ngFor="let item of loaderArr; let index = index">
1139
+ <ng-container
1140
+ *ngTemplateOutlet="
1141
+ loaderTemplate || _loaderTemplate;
1142
+ context: {
1143
+ options: getLoaderOptions(index, both && { numCols: numItemsInViewport.cols })
1144
+ }
1145
+ "
1146
+ ></ng-container>
1147
+ </ng-container>
1148
+ </ng-container>
1149
+ <ng-template #buildInLoader>
1150
+ <ng-container *ngIf="loaderIconTemplate || _loaderIconTemplate; else buildInLoaderIcon">
1151
+ <ng-container *ngTemplateOutlet="loaderIconTemplate || _loaderIconTemplate; context: { options: { styleClass: 'p-virtualscroller-loading-icon' } }"></ng-container>
1152
+ </ng-container>
1153
+ <ng-template #buildInLoaderIcon>
1154
+ <svg data-p-icon="spinner" [class]="cx('loadingIcon')" [spin]="true" [aglBind]="ptm('loadingIcon')" />
1155
+ </ng-template>
1156
+ </ng-template>
1157
+ </div>
1158
+ </div>
1159
+ </ng-container>
1160
+ <ng-template #disabledContainer>
1161
+ <ng-content></ng-content>
1162
+ <ng-container *ngIf="contentTemplate || _contentTemplate">
1163
+ <ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate; context: { $implicit: items, options: { rows: _items, columns: loadedColumns } }"></ng-container>
1164
+ </ng-container>
1165
+ </ng-template>
1166
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Bind, selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
1167
+ }
1168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Scroller, decorators: [{
1169
+ type: Component,
1170
+ args: [{
1171
+ selector: 'agl-scroller, agl-virtualscroller, agl-virtual-scroller, agl-virtualScroller',
1172
+ imports: [CommonModule, SpinnerIcon, SharedModule, Bind],
1173
+ standalone: true,
1174
+ template: `
1175
+ <ng-container *ngIf="!_disabled; else disabledContainer">
1176
+ <div #element [attr.id]="_id" [attr.tabindex]="tabindex" [ngStyle]="_style" [class]="cn(cx('root'), styleClass)" (scroll)="onContainerScroll($event)" [aglBind]="ptm('root')">
1177
+ <ng-container *ngIf="contentTemplate || _contentTemplate; else buildInContent">
1178
+ <ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate; context: { $implicit: loadedItems, options: getContentOptions() }"></ng-container>
1179
+ </ng-container>
1180
+ <ng-template #buildInContent>
1181
+ <div #content [class]="cn(cx('content'), contentStyleClass)" [style]="contentStyle" [aglBind]="ptm('content')">
1182
+ <ng-container *ngFor="let item of loadedItems; let index = index; trackBy: _trackBy">
1183
+ <ng-container *ngTemplateOutlet="itemTemplate || _itemTemplate; context: { $implicit: item, options: getOptions(index) }"></ng-container>
1184
+ </ng-container>
1185
+ </div>
1186
+ </ng-template>
1187
+ <div *ngIf="_showSpacer" [class]="cx('spacer')" [ngStyle]="spacerStyle" [aglBind]="ptm('spacer')"></div>
1188
+ <div *ngIf="!loaderDisabled && _showLoader && d_loading" [class]="cx('loader')" [aglBind]="ptm('loader')">
1189
+ <ng-container *ngIf="loaderTemplate || _loaderTemplate; else buildInLoader">
1190
+ <ng-container *ngFor="let item of loaderArr; let index = index">
1191
+ <ng-container
1192
+ *ngTemplateOutlet="
1193
+ loaderTemplate || _loaderTemplate;
1194
+ context: {
1195
+ options: getLoaderOptions(index, both && { numCols: numItemsInViewport.cols })
1196
+ }
1197
+ "
1198
+ ></ng-container>
1199
+ </ng-container>
1200
+ </ng-container>
1201
+ <ng-template #buildInLoader>
1202
+ <ng-container *ngIf="loaderIconTemplate || _loaderIconTemplate; else buildInLoaderIcon">
1203
+ <ng-container *ngTemplateOutlet="loaderIconTemplate || _loaderIconTemplate; context: { options: { styleClass: 'p-virtualscroller-loading-icon' } }"></ng-container>
1204
+ </ng-container>
1205
+ <ng-template #buildInLoaderIcon>
1206
+ <svg data-p-icon="spinner" [class]="cx('loadingIcon')" [spin]="true" [aglBind]="ptm('loadingIcon')" />
1207
+ </ng-template>
1208
+ </ng-template>
1209
+ </div>
1210
+ </div>
1211
+ </ng-container>
1212
+ <ng-template #disabledContainer>
1213
+ <ng-content></ng-content>
1214
+ <ng-container *ngIf="contentTemplate || _contentTemplate">
1215
+ <ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate; context: { $implicit: items, options: { rows: _items, columns: loadedColumns } }"></ng-container>
1216
+ </ng-container>
1217
+ </ng-template>
1218
+ `,
1219
+ changeDetection: ChangeDetectionStrategy.Default,
1220
+ encapsulation: ViewEncapsulation.None,
1221
+ providers: [ScrollerStyle, { provide: SCROLLER_INSTANCE, useExisting: Scroller }, { provide: PARENT_INSTANCE, useExisting: Scroller }],
1222
+ hostDirectives: [Bind]
1223
+ }]
1224
+ }], ctorParameters: () => [{ type: i0.NgZone }], propDecorators: { hostName: [{
1225
+ type: Input
1226
+ }], id: [{
1227
+ type: Input
1228
+ }], style: [{
1229
+ type: Input
1230
+ }], styleClass: [{
1231
+ type: Input
1232
+ }], tabindex: [{
1233
+ type: Input
1234
+ }], items: [{
1235
+ type: Input
1236
+ }], itemSize: [{
1237
+ type: Input
1238
+ }], scrollHeight: [{
1239
+ type: Input
1240
+ }], scrollWidth: [{
1241
+ type: Input
1242
+ }], orientation: [{
1243
+ type: Input
1244
+ }], step: [{
1245
+ type: Input
1246
+ }], delay: [{
1247
+ type: Input
1248
+ }], resizeDelay: [{
1249
+ type: Input
1250
+ }], appendOnly: [{
1251
+ type: Input
1252
+ }], inline: [{
1253
+ type: Input
1254
+ }], lazy: [{
1255
+ type: Input
1256
+ }], disabled: [{
1257
+ type: Input
1258
+ }], loaderDisabled: [{
1259
+ type: Input
1260
+ }], columns: [{
1261
+ type: Input
1262
+ }], showSpacer: [{
1263
+ type: Input
1264
+ }], showLoader: [{
1265
+ type: Input
1266
+ }], numToleratedItems: [{
1267
+ type: Input
1268
+ }], loading: [{
1269
+ type: Input
1270
+ }], autoSize: [{
1271
+ type: Input
1272
+ }], trackBy: [{
1273
+ type: Input
1274
+ }], options: [{
1275
+ type: Input
1276
+ }], onLazyLoad: [{
1277
+ type: Output
1278
+ }], onScroll: [{
1279
+ type: Output
1280
+ }], onScrollIndexChange: [{
1281
+ type: Output
1282
+ }], elementViewChild: [{
1283
+ type: ViewChild,
1284
+ args: ['element']
1285
+ }], contentViewChild: [{
1286
+ type: ViewChild,
1287
+ args: ['content']
1288
+ }], height: [{
1289
+ type: HostBinding,
1290
+ args: ['style.height']
1291
+ }], contentTemplate: [{
1292
+ type: ContentChild,
1293
+ args: ['content', { descendants: false }]
1294
+ }], itemTemplate: [{
1295
+ type: ContentChild,
1296
+ args: ['item', { descendants: false }]
1297
+ }], loaderTemplate: [{
1298
+ type: ContentChild,
1299
+ args: ['loader', { descendants: false }]
1300
+ }], loaderIconTemplate: [{
1301
+ type: ContentChild,
1302
+ args: ['loadericon', { descendants: false }]
1303
+ }], templates: [{
1304
+ type: ContentChildren,
1305
+ args: [AglTemplate]
1306
+ }] } });
1307
+ class ScrollerModule {
1308
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1309
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: ScrollerModule, imports: [Scroller, SharedModule], exports: [Scroller, SharedModule] });
1310
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollerModule, imports: [Scroller, SharedModule, SharedModule] });
1311
+ }
1312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ScrollerModule, decorators: [{
1313
+ type: NgModule,
1314
+ args: [{
1315
+ imports: [Scroller, SharedModule],
1316
+ exports: [Scroller, SharedModule]
1317
+ }]
1318
+ }] });
1319
+
1320
+ /**
1321
+ * Generated bundle index. Do not edit.
1322
+ */
1323
+
1324
+ export { Scroller, ScrollerClasses, ScrollerModule, ScrollerStyle };
1325
+ //# sourceMappingURL=anguless-angulux-scroller.mjs.map