primeng 15.4.3-lts → 15.4.5-lts

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 (558) hide show
  1. package/accordion/accordion.d.ts +2 -3
  2. package/animate/animate.d.ts +1 -3
  3. package/api/licensemanager.d.ts +4 -13
  4. package/autocomplete/autocomplete.d.ts +2 -3
  5. package/autofocus/autofocus.d.ts +1 -3
  6. package/avatar/avatar.d.ts +0 -3
  7. package/badge/badge.d.ts +1 -3
  8. package/blockui/blockui.d.ts +2 -3
  9. package/breadcrumb/breadcrumb.d.ts +1 -3
  10. package/button/button.d.ts +3 -4
  11. package/calendar/calendar.d.ts +2 -3
  12. package/card/card.d.ts +2 -3
  13. package/carousel/carousel.d.ts +1 -3
  14. package/cascadeselect/cascadeselect.d.ts +2 -3
  15. package/chart/chart.d.ts +1 -3
  16. package/checkbox/checkbox.d.ts +1 -3
  17. package/chip/chip.d.ts +0 -3
  18. package/chips/chips.d.ts +1 -3
  19. package/colorpicker/colorpicker.d.ts +2 -3
  20. package/confirmdialog/confirmdialog.d.ts +2 -3
  21. package/confirmpopup/confirmpopup.d.ts +2 -3
  22. package/contextmenu/contextmenu.d.ts +2 -3
  23. package/dataview/dataview.d.ts +2 -3
  24. package/defer/defer.d.ts +1 -3
  25. package/dialog/dialog.d.ts +2 -3
  26. package/divider/divider.d.ts +0 -3
  27. package/dock/dock.d.ts +1 -3
  28. package/dragdrop/dragdrop.d.ts +2 -5
  29. package/dropdown/dropdown.d.ts +2 -3
  30. package/dynamicdialog/dynamicdialog.d.ts +3 -4
  31. package/editor/editor.d.ts +1 -3
  32. package/esm2020/accordion/accordion.mjs +6 -8
  33. package/esm2020/animate/animate.mjs +6 -7
  34. package/esm2020/api/licensemanager.mjs +65 -81
  35. package/esm2020/autocomplete/autocomplete.mjs +6 -7
  36. package/esm2020/autofocus/autofocus.mjs +6 -7
  37. package/esm2020/avatar/avatar.mjs +8 -9
  38. package/esm2020/badge/badge.mjs +8 -10
  39. package/esm2020/blockui/blockui.mjs +6 -7
  40. package/esm2020/breadcrumb/breadcrumb.mjs +10 -12
  41. package/esm2020/button/button.mjs +14 -13
  42. package/esm2020/calendar/calendar.mjs +6 -7
  43. package/esm2020/card/card.mjs +8 -10
  44. package/esm2020/carousel/carousel.mjs +9 -11
  45. package/esm2020/cascadeselect/cascadeselect.mjs +6 -7
  46. package/esm2020/chart/chart.mjs +6 -7
  47. package/esm2020/checkbox/checkbox.mjs +8 -10
  48. package/esm2020/chip/chip.mjs +8 -10
  49. package/esm2020/chips/chips.mjs +8 -10
  50. package/esm2020/colorpicker/colorpicker.mjs +6 -6
  51. package/esm2020/confirmdialog/confirmdialog.mjs +6 -7
  52. package/esm2020/confirmpopup/confirmpopup.mjs +6 -7
  53. package/esm2020/contextmenu/contextmenu.mjs +6 -7
  54. package/esm2020/dataview/dataview.mjs +6 -7
  55. package/esm2020/defer/defer.mjs +6 -7
  56. package/esm2020/dialog/dialog.mjs +6 -7
  57. package/esm2020/divider/divider.mjs +8 -9
  58. package/esm2020/dock/dock.mjs +11 -13
  59. package/esm2020/dom/domhandler.mjs +3 -3
  60. package/esm2020/dragdrop/dragdrop.mjs +10 -12
  61. package/esm2020/dropdown/dropdown.mjs +6 -7
  62. package/esm2020/dynamicdialog/dynamicdialog.mjs +6 -7
  63. package/esm2020/editor/editor.mjs +8 -10
  64. package/esm2020/fieldset/fieldset.mjs +9 -11
  65. package/esm2020/fileupload/fileupload.mjs +7 -8
  66. package/esm2020/focustrap/focustrap.mjs +6 -7
  67. package/esm2020/galleria/galleria.mjs +6 -7
  68. package/esm2020/image/image.mjs +6 -7
  69. package/esm2020/inplace/inplace.mjs +9 -11
  70. package/esm2020/inputmask/inputmask.mjs +10 -12
  71. package/esm2020/inputnumber/inputnumber.mjs +10 -12
  72. package/esm2020/inputswitch/inputswitch.mjs +8 -9
  73. package/esm2020/inputtext/inputtext.mjs +6 -7
  74. package/esm2020/inputtextarea/inputtextarea.mjs +6 -7
  75. package/esm2020/keyfilter/keyfilter.mjs +6 -7
  76. package/esm2020/knob/knob.mjs +8 -9
  77. package/esm2020/listbox/listbox.mjs +6 -7
  78. package/esm2020/megamenu/megamenu.mjs +11 -13
  79. package/esm2020/menu/menu.mjs +6 -6
  80. package/esm2020/menubar/menubar.mjs +6 -7
  81. package/esm2020/messages/messages.mjs +6 -7
  82. package/esm2020/multiselect/multiselect.mjs +6 -7
  83. package/esm2020/orderlist/orderlist.mjs +9 -10
  84. package/esm2020/organizationchart/organizationchart.mjs +6 -8
  85. package/esm2020/overlaypanel/overlaypanel.mjs +6 -7
  86. package/esm2020/paginator/paginator.mjs +10 -11
  87. package/esm2020/panel/panel.mjs +17 -19
  88. package/esm2020/panelmenu/panelmenu.mjs +8 -10
  89. package/esm2020/password/password.mjs +10 -12
  90. package/esm2020/picklist/picklist.mjs +9 -10
  91. package/esm2020/progressbar/progressbar.mjs +8 -9
  92. package/esm2020/progressspinner/progressspinner.mjs +8 -9
  93. package/esm2020/radiobutton/radiobutton.mjs +8 -9
  94. package/esm2020/rating/rating.mjs +8 -10
  95. package/esm2020/ripple/ripple.mjs +6 -6
  96. package/esm2020/scroller/scroller.mjs +8 -10
  97. package/esm2020/scrollpanel/scrollpanel.mjs +8 -10
  98. package/esm2020/scrolltop/scrolltop.mjs +6 -7
  99. package/esm2020/selectbutton/selectbutton.mjs +9 -10
  100. package/esm2020/sidebar/sidebar.mjs +6 -7
  101. package/esm2020/skeleton/skeleton.mjs +8 -9
  102. package/esm2020/slidemenu/slidemenu.mjs +6 -7
  103. package/esm2020/slider/slider.mjs +8 -9
  104. package/esm2020/speeddial/speeddial.mjs +12 -14
  105. package/esm2020/splitbutton/splitbutton.mjs +10 -12
  106. package/esm2020/splitter/splitter.mjs +8 -10
  107. package/esm2020/steps/steps.mjs +9 -10
  108. package/esm2020/styleclass/styleclass.mjs +6 -7
  109. package/esm2020/table/table.mjs +10 -11
  110. package/esm2020/tabmenu/tabmenu.mjs +10 -12
  111. package/esm2020/tabview/tabview.mjs +9 -11
  112. package/esm2020/tag/tag.mjs +7 -11
  113. package/esm2020/terminal/terminal.mjs +9 -10
  114. package/esm2020/tieredmenu/tieredmenu.mjs +6 -7
  115. package/esm2020/timeline/timeline.mjs +8 -10
  116. package/esm2020/toast/toast.mjs +6 -7
  117. package/esm2020/togglebutton/togglebutton.mjs +9 -10
  118. package/esm2020/toolbar/toolbar.mjs +8 -10
  119. package/esm2020/tooltip/tooltip.mjs +6 -6
  120. package/esm2020/tree/tree.mjs +6 -7
  121. package/esm2020/treeselect/treeselect.mjs +6 -7
  122. package/esm2020/treetable/treetable.mjs +6 -7
  123. package/esm2020/tristatecheckbox/tristatecheckbox.mjs +8 -10
  124. package/esm2020/virtualscroller/virtualscroller.mjs +9 -10
  125. package/fesm2015/primeng-accordion.mjs +5 -7
  126. package/fesm2015/primeng-accordion.mjs.map +1 -1
  127. package/fesm2015/primeng-animate.mjs +5 -6
  128. package/fesm2015/primeng-animate.mjs.map +1 -1
  129. package/fesm2015/primeng-api.mjs +79 -97
  130. package/fesm2015/primeng-api.mjs.map +1 -1
  131. package/fesm2015/primeng-autocomplete.mjs +5 -6
  132. package/fesm2015/primeng-autocomplete.mjs.map +1 -1
  133. package/fesm2015/primeng-autofocus.mjs +5 -6
  134. package/fesm2015/primeng-autofocus.mjs.map +1 -1
  135. package/fesm2015/primeng-avatar.mjs +7 -8
  136. package/fesm2015/primeng-avatar.mjs.map +1 -1
  137. package/fesm2015/primeng-badge.mjs +7 -9
  138. package/fesm2015/primeng-badge.mjs.map +1 -1
  139. package/fesm2015/primeng-blockui.mjs +5 -6
  140. package/fesm2015/primeng-blockui.mjs.map +1 -1
  141. package/fesm2015/primeng-breadcrumb.mjs +9 -11
  142. package/fesm2015/primeng-breadcrumb.mjs.map +1 -1
  143. package/fesm2015/primeng-button.mjs +13 -12
  144. package/fesm2015/primeng-button.mjs.map +1 -1
  145. package/fesm2015/primeng-calendar.mjs +5 -6
  146. package/fesm2015/primeng-calendar.mjs.map +1 -1
  147. package/fesm2015/primeng-card.mjs +7 -9
  148. package/fesm2015/primeng-card.mjs.map +1 -1
  149. package/fesm2015/primeng-carousel.mjs +8 -10
  150. package/fesm2015/primeng-carousel.mjs.map +1 -1
  151. package/fesm2015/primeng-cascadeselect.mjs +5 -6
  152. package/fesm2015/primeng-cascadeselect.mjs.map +1 -1
  153. package/fesm2015/primeng-chart.mjs +5 -6
  154. package/fesm2015/primeng-chart.mjs.map +1 -1
  155. package/fesm2015/primeng-checkbox.mjs +7 -9
  156. package/fesm2015/primeng-checkbox.mjs.map +1 -1
  157. package/fesm2015/primeng-chip.mjs +7 -9
  158. package/fesm2015/primeng-chip.mjs.map +1 -1
  159. package/fesm2015/primeng-chips.mjs +7 -9
  160. package/fesm2015/primeng-chips.mjs.map +1 -1
  161. package/fesm2015/primeng-colorpicker.mjs +6 -6
  162. package/fesm2015/primeng-colorpicker.mjs.map +1 -1
  163. package/fesm2015/primeng-confirmdialog.mjs +5 -6
  164. package/fesm2015/primeng-confirmdialog.mjs.map +1 -1
  165. package/fesm2015/primeng-confirmpopup.mjs +5 -6
  166. package/fesm2015/primeng-confirmpopup.mjs.map +1 -1
  167. package/fesm2015/primeng-contextmenu.mjs +5 -6
  168. package/fesm2015/primeng-contextmenu.mjs.map +1 -1
  169. package/fesm2015/primeng-dataview.mjs +5 -6
  170. package/fesm2015/primeng-dataview.mjs.map +1 -1
  171. package/fesm2015/primeng-defer.mjs +5 -6
  172. package/fesm2015/primeng-defer.mjs.map +1 -1
  173. package/fesm2015/primeng-dialog.mjs +5 -6
  174. package/fesm2015/primeng-dialog.mjs.map +1 -1
  175. package/fesm2015/primeng-divider.mjs +7 -8
  176. package/fesm2015/primeng-divider.mjs.map +1 -1
  177. package/fesm2015/primeng-dock.mjs +10 -12
  178. package/fesm2015/primeng-dock.mjs.map +1 -1
  179. package/fesm2015/primeng-dom.mjs +2 -2
  180. package/fesm2015/primeng-dom.mjs.map +1 -1
  181. package/fesm2015/primeng-dragdrop.mjs +9 -11
  182. package/fesm2015/primeng-dragdrop.mjs.map +1 -1
  183. package/fesm2015/primeng-dropdown.mjs +5 -6
  184. package/fesm2015/primeng-dropdown.mjs.map +1 -1
  185. package/fesm2015/primeng-dynamicdialog.mjs +5 -6
  186. package/fesm2015/primeng-dynamicdialog.mjs.map +1 -1
  187. package/fesm2015/primeng-editor.mjs +7 -9
  188. package/fesm2015/primeng-editor.mjs.map +1 -1
  189. package/fesm2015/primeng-fieldset.mjs +8 -10
  190. package/fesm2015/primeng-fieldset.mjs.map +1 -1
  191. package/fesm2015/primeng-fileupload.mjs +6 -7
  192. package/fesm2015/primeng-fileupload.mjs.map +1 -1
  193. package/fesm2015/primeng-focustrap.mjs +5 -6
  194. package/fesm2015/primeng-focustrap.mjs.map +1 -1
  195. package/fesm2015/primeng-galleria.mjs +5 -6
  196. package/fesm2015/primeng-galleria.mjs.map +1 -1
  197. package/fesm2015/primeng-image.mjs +5 -6
  198. package/fesm2015/primeng-image.mjs.map +1 -1
  199. package/fesm2015/primeng-inplace.mjs +8 -10
  200. package/fesm2015/primeng-inplace.mjs.map +1 -1
  201. package/fesm2015/primeng-inputmask.mjs +9 -11
  202. package/fesm2015/primeng-inputmask.mjs.map +1 -1
  203. package/fesm2015/primeng-inputnumber.mjs +9 -11
  204. package/fesm2015/primeng-inputnumber.mjs.map +1 -1
  205. package/fesm2015/primeng-inputswitch.mjs +7 -8
  206. package/fesm2015/primeng-inputswitch.mjs.map +1 -1
  207. package/fesm2015/primeng-inputtext.mjs +5 -6
  208. package/fesm2015/primeng-inputtext.mjs.map +1 -1
  209. package/fesm2015/primeng-inputtextarea.mjs +5 -6
  210. package/fesm2015/primeng-inputtextarea.mjs.map +1 -1
  211. package/fesm2015/primeng-keyfilter.mjs +5 -6
  212. package/fesm2015/primeng-keyfilter.mjs.map +1 -1
  213. package/fesm2015/primeng-knob.mjs +7 -8
  214. package/fesm2015/primeng-knob.mjs.map +1 -1
  215. package/fesm2015/primeng-listbox.mjs +5 -6
  216. package/fesm2015/primeng-listbox.mjs.map +1 -1
  217. package/fesm2015/primeng-megamenu.mjs +10 -12
  218. package/fesm2015/primeng-megamenu.mjs.map +1 -1
  219. package/fesm2015/primeng-menu.mjs +6 -6
  220. package/fesm2015/primeng-menu.mjs.map +1 -1
  221. package/fesm2015/primeng-menubar.mjs +5 -6
  222. package/fesm2015/primeng-menubar.mjs.map +1 -1
  223. package/fesm2015/primeng-messages.mjs +5 -6
  224. package/fesm2015/primeng-messages.mjs.map +1 -1
  225. package/fesm2015/primeng-multiselect.mjs +5 -6
  226. package/fesm2015/primeng-multiselect.mjs.map +1 -1
  227. package/fesm2015/primeng-orderlist.mjs +8 -9
  228. package/fesm2015/primeng-orderlist.mjs.map +1 -1
  229. package/fesm2015/primeng-organizationchart.mjs +5 -7
  230. package/fesm2015/primeng-organizationchart.mjs.map +1 -1
  231. package/fesm2015/primeng-overlaypanel.mjs +5 -6
  232. package/fesm2015/primeng-overlaypanel.mjs.map +1 -1
  233. package/fesm2015/primeng-paginator.mjs +9 -10
  234. package/fesm2015/primeng-paginator.mjs.map +1 -1
  235. package/fesm2015/primeng-panel.mjs +16 -18
  236. package/fesm2015/primeng-panel.mjs.map +1 -1
  237. package/fesm2015/primeng-panelmenu.mjs +7 -9
  238. package/fesm2015/primeng-panelmenu.mjs.map +1 -1
  239. package/fesm2015/primeng-password.mjs +9 -11
  240. package/fesm2015/primeng-password.mjs.map +1 -1
  241. package/fesm2015/primeng-picklist.mjs +8 -9
  242. package/fesm2015/primeng-picklist.mjs.map +1 -1
  243. package/fesm2015/primeng-progressbar.mjs +7 -8
  244. package/fesm2015/primeng-progressbar.mjs.map +1 -1
  245. package/fesm2015/primeng-progressspinner.mjs +7 -8
  246. package/fesm2015/primeng-progressspinner.mjs.map +1 -1
  247. package/fesm2015/primeng-radiobutton.mjs +7 -8
  248. package/fesm2015/primeng-radiobutton.mjs.map +1 -1
  249. package/fesm2015/primeng-rating.mjs +7 -9
  250. package/fesm2015/primeng-rating.mjs.map +1 -1
  251. package/fesm2015/primeng-ripple.mjs +6 -6
  252. package/fesm2015/primeng-ripple.mjs.map +1 -1
  253. package/fesm2015/primeng-scroller.mjs +7 -9
  254. package/fesm2015/primeng-scroller.mjs.map +1 -1
  255. package/fesm2015/primeng-scrollpanel.mjs +7 -9
  256. package/fesm2015/primeng-scrollpanel.mjs.map +1 -1
  257. package/fesm2015/primeng-scrolltop.mjs +5 -6
  258. package/fesm2015/primeng-scrolltop.mjs.map +1 -1
  259. package/fesm2015/primeng-selectbutton.mjs +8 -9
  260. package/fesm2015/primeng-selectbutton.mjs.map +1 -1
  261. package/fesm2015/primeng-sidebar.mjs +5 -6
  262. package/fesm2015/primeng-sidebar.mjs.map +1 -1
  263. package/fesm2015/primeng-skeleton.mjs +7 -8
  264. package/fesm2015/primeng-skeleton.mjs.map +1 -1
  265. package/fesm2015/primeng-slidemenu.mjs +5 -6
  266. package/fesm2015/primeng-slidemenu.mjs.map +1 -1
  267. package/fesm2015/primeng-slider.mjs +7 -8
  268. package/fesm2015/primeng-slider.mjs.map +1 -1
  269. package/fesm2015/primeng-speeddial.mjs +11 -13
  270. package/fesm2015/primeng-speeddial.mjs.map +1 -1
  271. package/fesm2015/primeng-splitbutton.mjs +9 -11
  272. package/fesm2015/primeng-splitbutton.mjs.map +1 -1
  273. package/fesm2015/primeng-splitter.mjs +7 -9
  274. package/fesm2015/primeng-splitter.mjs.map +1 -1
  275. package/fesm2015/primeng-steps.mjs +8 -9
  276. package/fesm2015/primeng-steps.mjs.map +1 -1
  277. package/fesm2015/primeng-styleclass.mjs +5 -6
  278. package/fesm2015/primeng-styleclass.mjs.map +1 -1
  279. package/fesm2015/primeng-table.mjs +9 -10
  280. package/fesm2015/primeng-table.mjs.map +1 -1
  281. package/fesm2015/primeng-tabmenu.mjs +9 -11
  282. package/fesm2015/primeng-tabmenu.mjs.map +1 -1
  283. package/fesm2015/primeng-tabview.mjs +8 -10
  284. package/fesm2015/primeng-tabview.mjs.map +1 -1
  285. package/fesm2015/primeng-tag.mjs +6 -10
  286. package/fesm2015/primeng-tag.mjs.map +1 -1
  287. package/fesm2015/primeng-terminal.mjs +8 -9
  288. package/fesm2015/primeng-terminal.mjs.map +1 -1
  289. package/fesm2015/primeng-tieredmenu.mjs +5 -6
  290. package/fesm2015/primeng-tieredmenu.mjs.map +1 -1
  291. package/fesm2015/primeng-timeline.mjs +7 -9
  292. package/fesm2015/primeng-timeline.mjs.map +1 -1
  293. package/fesm2015/primeng-toast.mjs +5 -6
  294. package/fesm2015/primeng-toast.mjs.map +1 -1
  295. package/fesm2015/primeng-togglebutton.mjs +8 -9
  296. package/fesm2015/primeng-togglebutton.mjs.map +1 -1
  297. package/fesm2015/primeng-toolbar.mjs +7 -9
  298. package/fesm2015/primeng-toolbar.mjs.map +1 -1
  299. package/fesm2015/primeng-tooltip.mjs +6 -6
  300. package/fesm2015/primeng-tooltip.mjs.map +1 -1
  301. package/fesm2015/primeng-tree.mjs +5 -6
  302. package/fesm2015/primeng-tree.mjs.map +1 -1
  303. package/fesm2015/primeng-treeselect.mjs +5 -6
  304. package/fesm2015/primeng-treeselect.mjs.map +1 -1
  305. package/fesm2015/primeng-treetable.mjs +5 -6
  306. package/fesm2015/primeng-treetable.mjs.map +1 -1
  307. package/fesm2015/primeng-tristatecheckbox.mjs +7 -9
  308. package/fesm2015/primeng-tristatecheckbox.mjs.map +1 -1
  309. package/fesm2015/primeng-virtualscroller.mjs +8 -9
  310. package/fesm2015/primeng-virtualscroller.mjs.map +1 -1
  311. package/fesm2020/primeng-accordion.mjs +5 -7
  312. package/fesm2020/primeng-accordion.mjs.map +1 -1
  313. package/fesm2020/primeng-animate.mjs +5 -6
  314. package/fesm2020/primeng-animate.mjs.map +1 -1
  315. package/fesm2020/primeng-api.mjs +66 -79
  316. package/fesm2020/primeng-api.mjs.map +1 -1
  317. package/fesm2020/primeng-autocomplete.mjs +5 -6
  318. package/fesm2020/primeng-autocomplete.mjs.map +1 -1
  319. package/fesm2020/primeng-autofocus.mjs +5 -6
  320. package/fesm2020/primeng-autofocus.mjs.map +1 -1
  321. package/fesm2020/primeng-avatar.mjs +7 -8
  322. package/fesm2020/primeng-avatar.mjs.map +1 -1
  323. package/fesm2020/primeng-badge.mjs +7 -9
  324. package/fesm2020/primeng-badge.mjs.map +1 -1
  325. package/fesm2020/primeng-blockui.mjs +5 -6
  326. package/fesm2020/primeng-blockui.mjs.map +1 -1
  327. package/fesm2020/primeng-breadcrumb.mjs +9 -11
  328. package/fesm2020/primeng-breadcrumb.mjs.map +1 -1
  329. package/fesm2020/primeng-button.mjs +13 -12
  330. package/fesm2020/primeng-button.mjs.map +1 -1
  331. package/fesm2020/primeng-calendar.mjs +5 -6
  332. package/fesm2020/primeng-calendar.mjs.map +1 -1
  333. package/fesm2020/primeng-card.mjs +7 -9
  334. package/fesm2020/primeng-card.mjs.map +1 -1
  335. package/fesm2020/primeng-carousel.mjs +8 -10
  336. package/fesm2020/primeng-carousel.mjs.map +1 -1
  337. package/fesm2020/primeng-cascadeselect.mjs +5 -6
  338. package/fesm2020/primeng-cascadeselect.mjs.map +1 -1
  339. package/fesm2020/primeng-chart.mjs +5 -6
  340. package/fesm2020/primeng-chart.mjs.map +1 -1
  341. package/fesm2020/primeng-checkbox.mjs +7 -9
  342. package/fesm2020/primeng-checkbox.mjs.map +1 -1
  343. package/fesm2020/primeng-chip.mjs +7 -9
  344. package/fesm2020/primeng-chip.mjs.map +1 -1
  345. package/fesm2020/primeng-chips.mjs +7 -9
  346. package/fesm2020/primeng-chips.mjs.map +1 -1
  347. package/fesm2020/primeng-colorpicker.mjs +6 -6
  348. package/fesm2020/primeng-colorpicker.mjs.map +1 -1
  349. package/fesm2020/primeng-confirmdialog.mjs +5 -6
  350. package/fesm2020/primeng-confirmdialog.mjs.map +1 -1
  351. package/fesm2020/primeng-confirmpopup.mjs +5 -6
  352. package/fesm2020/primeng-confirmpopup.mjs.map +1 -1
  353. package/fesm2020/primeng-contextmenu.mjs +5 -6
  354. package/fesm2020/primeng-contextmenu.mjs.map +1 -1
  355. package/fesm2020/primeng-dataview.mjs +5 -6
  356. package/fesm2020/primeng-dataview.mjs.map +1 -1
  357. package/fesm2020/primeng-defer.mjs +5 -6
  358. package/fesm2020/primeng-defer.mjs.map +1 -1
  359. package/fesm2020/primeng-dialog.mjs +5 -6
  360. package/fesm2020/primeng-dialog.mjs.map +1 -1
  361. package/fesm2020/primeng-divider.mjs +7 -8
  362. package/fesm2020/primeng-divider.mjs.map +1 -1
  363. package/fesm2020/primeng-dock.mjs +10 -12
  364. package/fesm2020/primeng-dock.mjs.map +1 -1
  365. package/fesm2020/primeng-dom.mjs +2 -2
  366. package/fesm2020/primeng-dom.mjs.map +1 -1
  367. package/fesm2020/primeng-dragdrop.mjs +9 -11
  368. package/fesm2020/primeng-dragdrop.mjs.map +1 -1
  369. package/fesm2020/primeng-dropdown.mjs +5 -6
  370. package/fesm2020/primeng-dropdown.mjs.map +1 -1
  371. package/fesm2020/primeng-dynamicdialog.mjs +5 -6
  372. package/fesm2020/primeng-dynamicdialog.mjs.map +1 -1
  373. package/fesm2020/primeng-editor.mjs +7 -9
  374. package/fesm2020/primeng-editor.mjs.map +1 -1
  375. package/fesm2020/primeng-fieldset.mjs +8 -10
  376. package/fesm2020/primeng-fieldset.mjs.map +1 -1
  377. package/fesm2020/primeng-fileupload.mjs +6 -7
  378. package/fesm2020/primeng-fileupload.mjs.map +1 -1
  379. package/fesm2020/primeng-focustrap.mjs +5 -6
  380. package/fesm2020/primeng-focustrap.mjs.map +1 -1
  381. package/fesm2020/primeng-galleria.mjs +5 -6
  382. package/fesm2020/primeng-galleria.mjs.map +1 -1
  383. package/fesm2020/primeng-image.mjs +5 -6
  384. package/fesm2020/primeng-image.mjs.map +1 -1
  385. package/fesm2020/primeng-inplace.mjs +8 -10
  386. package/fesm2020/primeng-inplace.mjs.map +1 -1
  387. package/fesm2020/primeng-inputmask.mjs +9 -11
  388. package/fesm2020/primeng-inputmask.mjs.map +1 -1
  389. package/fesm2020/primeng-inputnumber.mjs +9 -11
  390. package/fesm2020/primeng-inputnumber.mjs.map +1 -1
  391. package/fesm2020/primeng-inputswitch.mjs +7 -8
  392. package/fesm2020/primeng-inputswitch.mjs.map +1 -1
  393. package/fesm2020/primeng-inputtext.mjs +5 -6
  394. package/fesm2020/primeng-inputtext.mjs.map +1 -1
  395. package/fesm2020/primeng-inputtextarea.mjs +5 -6
  396. package/fesm2020/primeng-inputtextarea.mjs.map +1 -1
  397. package/fesm2020/primeng-keyfilter.mjs +5 -6
  398. package/fesm2020/primeng-keyfilter.mjs.map +1 -1
  399. package/fesm2020/primeng-knob.mjs +7 -8
  400. package/fesm2020/primeng-knob.mjs.map +1 -1
  401. package/fesm2020/primeng-listbox.mjs +5 -6
  402. package/fesm2020/primeng-listbox.mjs.map +1 -1
  403. package/fesm2020/primeng-megamenu.mjs +10 -12
  404. package/fesm2020/primeng-megamenu.mjs.map +1 -1
  405. package/fesm2020/primeng-menu.mjs +6 -6
  406. package/fesm2020/primeng-menu.mjs.map +1 -1
  407. package/fesm2020/primeng-menubar.mjs +5 -6
  408. package/fesm2020/primeng-menubar.mjs.map +1 -1
  409. package/fesm2020/primeng-messages.mjs +5 -6
  410. package/fesm2020/primeng-messages.mjs.map +1 -1
  411. package/fesm2020/primeng-multiselect.mjs +5 -6
  412. package/fesm2020/primeng-multiselect.mjs.map +1 -1
  413. package/fesm2020/primeng-orderlist.mjs +8 -9
  414. package/fesm2020/primeng-orderlist.mjs.map +1 -1
  415. package/fesm2020/primeng-organizationchart.mjs +5 -7
  416. package/fesm2020/primeng-organizationchart.mjs.map +1 -1
  417. package/fesm2020/primeng-overlaypanel.mjs +5 -6
  418. package/fesm2020/primeng-overlaypanel.mjs.map +1 -1
  419. package/fesm2020/primeng-paginator.mjs +9 -10
  420. package/fesm2020/primeng-paginator.mjs.map +1 -1
  421. package/fesm2020/primeng-panel.mjs +16 -18
  422. package/fesm2020/primeng-panel.mjs.map +1 -1
  423. package/fesm2020/primeng-panelmenu.mjs +7 -9
  424. package/fesm2020/primeng-panelmenu.mjs.map +1 -1
  425. package/fesm2020/primeng-password.mjs +9 -11
  426. package/fesm2020/primeng-password.mjs.map +1 -1
  427. package/fesm2020/primeng-picklist.mjs +8 -9
  428. package/fesm2020/primeng-picklist.mjs.map +1 -1
  429. package/fesm2020/primeng-progressbar.mjs +7 -8
  430. package/fesm2020/primeng-progressbar.mjs.map +1 -1
  431. package/fesm2020/primeng-progressspinner.mjs +7 -8
  432. package/fesm2020/primeng-progressspinner.mjs.map +1 -1
  433. package/fesm2020/primeng-radiobutton.mjs +7 -8
  434. package/fesm2020/primeng-radiobutton.mjs.map +1 -1
  435. package/fesm2020/primeng-rating.mjs +7 -9
  436. package/fesm2020/primeng-rating.mjs.map +1 -1
  437. package/fesm2020/primeng-ripple.mjs +6 -6
  438. package/fesm2020/primeng-ripple.mjs.map +1 -1
  439. package/fesm2020/primeng-scroller.mjs +7 -9
  440. package/fesm2020/primeng-scroller.mjs.map +1 -1
  441. package/fesm2020/primeng-scrollpanel.mjs +7 -9
  442. package/fesm2020/primeng-scrollpanel.mjs.map +1 -1
  443. package/fesm2020/primeng-scrolltop.mjs +5 -6
  444. package/fesm2020/primeng-scrolltop.mjs.map +1 -1
  445. package/fesm2020/primeng-selectbutton.mjs +8 -9
  446. package/fesm2020/primeng-selectbutton.mjs.map +1 -1
  447. package/fesm2020/primeng-sidebar.mjs +5 -6
  448. package/fesm2020/primeng-sidebar.mjs.map +1 -1
  449. package/fesm2020/primeng-skeleton.mjs +7 -8
  450. package/fesm2020/primeng-skeleton.mjs.map +1 -1
  451. package/fesm2020/primeng-slidemenu.mjs +5 -6
  452. package/fesm2020/primeng-slidemenu.mjs.map +1 -1
  453. package/fesm2020/primeng-slider.mjs +7 -8
  454. package/fesm2020/primeng-slider.mjs.map +1 -1
  455. package/fesm2020/primeng-speeddial.mjs +11 -13
  456. package/fesm2020/primeng-speeddial.mjs.map +1 -1
  457. package/fesm2020/primeng-splitbutton.mjs +9 -11
  458. package/fesm2020/primeng-splitbutton.mjs.map +1 -1
  459. package/fesm2020/primeng-splitter.mjs +7 -9
  460. package/fesm2020/primeng-splitter.mjs.map +1 -1
  461. package/fesm2020/primeng-steps.mjs +8 -9
  462. package/fesm2020/primeng-steps.mjs.map +1 -1
  463. package/fesm2020/primeng-styleclass.mjs +5 -6
  464. package/fesm2020/primeng-styleclass.mjs.map +1 -1
  465. package/fesm2020/primeng-table.mjs +9 -10
  466. package/fesm2020/primeng-table.mjs.map +1 -1
  467. package/fesm2020/primeng-tabmenu.mjs +9 -11
  468. package/fesm2020/primeng-tabmenu.mjs.map +1 -1
  469. package/fesm2020/primeng-tabview.mjs +8 -10
  470. package/fesm2020/primeng-tabview.mjs.map +1 -1
  471. package/fesm2020/primeng-tag.mjs +6 -10
  472. package/fesm2020/primeng-tag.mjs.map +1 -1
  473. package/fesm2020/primeng-terminal.mjs +8 -9
  474. package/fesm2020/primeng-terminal.mjs.map +1 -1
  475. package/fesm2020/primeng-tieredmenu.mjs +5 -6
  476. package/fesm2020/primeng-tieredmenu.mjs.map +1 -1
  477. package/fesm2020/primeng-timeline.mjs +7 -9
  478. package/fesm2020/primeng-timeline.mjs.map +1 -1
  479. package/fesm2020/primeng-toast.mjs +5 -6
  480. package/fesm2020/primeng-toast.mjs.map +1 -1
  481. package/fesm2020/primeng-togglebutton.mjs +8 -9
  482. package/fesm2020/primeng-togglebutton.mjs.map +1 -1
  483. package/fesm2020/primeng-toolbar.mjs +7 -9
  484. package/fesm2020/primeng-toolbar.mjs.map +1 -1
  485. package/fesm2020/primeng-tooltip.mjs +6 -6
  486. package/fesm2020/primeng-tooltip.mjs.map +1 -1
  487. package/fesm2020/primeng-tree.mjs +5 -6
  488. package/fesm2020/primeng-tree.mjs.map +1 -1
  489. package/fesm2020/primeng-treeselect.mjs +5 -6
  490. package/fesm2020/primeng-treeselect.mjs.map +1 -1
  491. package/fesm2020/primeng-treetable.mjs +5 -6
  492. package/fesm2020/primeng-treetable.mjs.map +1 -1
  493. package/fesm2020/primeng-tristatecheckbox.mjs +7 -9
  494. package/fesm2020/primeng-tristatecheckbox.mjs.map +1 -1
  495. package/fesm2020/primeng-virtualscroller.mjs +8 -9
  496. package/fesm2020/primeng-virtualscroller.mjs.map +1 -1
  497. package/fieldset/fieldset.d.ts +2 -3
  498. package/fileupload/fileupload.d.ts +2 -3
  499. package/focustrap/focustrap.d.ts +1 -3
  500. package/galleria/galleria.d.ts +2 -3
  501. package/image/image.d.ts +2 -3
  502. package/inplace/inplace.d.ts +1 -3
  503. package/inputmask/inputmask.d.ts +1 -3
  504. package/inputnumber/inputnumber.d.ts +1 -3
  505. package/inputswitch/inputswitch.d.ts +1 -3
  506. package/inputtext/inputtext.d.ts +2 -4
  507. package/inputtextarea/inputtextarea.d.ts +2 -4
  508. package/keyfilter/keyfilter.d.ts +1 -3
  509. package/knob/knob.d.ts +1 -3
  510. package/listbox/listbox.d.ts +2 -3
  511. package/megamenu/megamenu.d.ts +2 -3
  512. package/menu/menu.d.ts +2 -3
  513. package/menubar/menubar.d.ts +2 -3
  514. package/messages/messages.d.ts +3 -4
  515. package/multiselect/multiselect.d.ts +2 -3
  516. package/orderlist/orderlist.d.ts +2 -3
  517. package/organizationchart/organizationchart.d.ts +2 -3
  518. package/overlaypanel/overlaypanel.d.ts +2 -3
  519. package/package.json +1 -1
  520. package/paginator/paginator.d.ts +2 -3
  521. package/panel/panel.d.ts +2 -3
  522. package/panelmenu/panelmenu.d.ts +2 -3
  523. package/password/password.d.ts +3 -5
  524. package/picklist/picklist.d.ts +2 -3
  525. package/progressbar/progressbar.d.ts +0 -3
  526. package/progressspinner/progressspinner.d.ts +0 -3
  527. package/radiobutton/radiobutton.d.ts +1 -3
  528. package/rating/rating.d.ts +1 -3
  529. package/ripple/ripple.d.ts +3 -4
  530. package/scroller/scroller.d.ts +1 -3
  531. package/scrollpanel/scrollpanel.d.ts +1 -3
  532. package/scrolltop/scrolltop.d.ts +2 -3
  533. package/selectbutton/selectbutton.d.ts +1 -3
  534. package/sidebar/sidebar.d.ts +2 -3
  535. package/skeleton/skeleton.d.ts +0 -3
  536. package/slidemenu/slidemenu.d.ts +2 -3
  537. package/slider/slider.d.ts +1 -3
  538. package/speeddial/speeddial.d.ts +2 -3
  539. package/splitbutton/splitbutton.d.ts +1 -3
  540. package/splitter/splitter.d.ts +1 -3
  541. package/steps/steps.d.ts +2 -3
  542. package/styleclass/styleclass.d.ts +1 -3
  543. package/table/table.d.ts +2 -3
  544. package/tabmenu/tabmenu.d.ts +2 -3
  545. package/tabview/tabview.d.ts +2 -3
  546. package/tag/tag.d.ts +0 -3
  547. package/terminal/terminal.d.ts +1 -3
  548. package/tieredmenu/tieredmenu.d.ts +2 -3
  549. package/timeline/timeline.d.ts +2 -3
  550. package/toast/toast.d.ts +2 -3
  551. package/togglebutton/togglebutton.d.ts +1 -3
  552. package/toolbar/toolbar.d.ts +2 -3
  553. package/tooltip/tooltip.d.ts +2 -3
  554. package/tree/tree.d.ts +3 -4
  555. package/treeselect/treeselect.d.ts +2 -3
  556. package/treetable/treetable.d.ts +2 -3
  557. package/tristatecheckbox/tristatecheckbox.d.ts +1 -3
  558. package/virtualscroller/virtualscroller.d.ts +2 -3
@@ -1,10 +1,9 @@
1
- import * as i2 from '@angular/common';
1
+ import * as i1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { forwardRef, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChildren, NgModule } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
- import * as i1 from 'primeng/api';
7
- import { PrimeTemplate, SharedModule } from 'primeng/api';
6
+ import { LicenseManager, PrimeTemplate, SharedModule } from 'primeng/api';
8
7
  import { CheckIcon } from 'primeng/icons/check';
9
8
  import { TimesIcon } from 'primeng/icons/times';
10
9
 
@@ -14,9 +13,8 @@ const TRISTATECHECKBOX_VALUE_ACCESSOR = {
14
13
  multi: true
15
14
  };
16
15
  class TriStateCheckbox {
17
- constructor(cd, licenseManager) {
16
+ constructor(cd) {
18
17
  this.cd = cd;
19
- this.licenseManager = licenseManager;
20
18
  this.onChange = new EventEmitter();
21
19
  this.onModelChange = () => { };
22
20
  this.onModelTouched = () => { };
@@ -65,7 +63,7 @@ class TriStateCheckbox {
65
63
  });
66
64
  }
67
65
  ngAfterViewInit() {
68
- this.licenseManager['check']();
66
+ LicenseManager.check();
69
67
  }
70
68
  onFocus() {
71
69
  this.focused = true;
@@ -89,7 +87,7 @@ class TriStateCheckbox {
89
87
  this.cd.markForCheck();
90
88
  }
91
89
  }
92
- TriStateCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: TriStateCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.LicenseManager }], target: i0.ɵɵFactoryTarget.Component });
90
+ TriStateCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: TriStateCheckbox, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
93
91
  TriStateCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: TriStateCheckbox, selector: "p-triStateCheckbox", inputs: { disabled: "disabled", name: "name", ariaLabelledBy: "ariaLabelledBy", tabindex: "tabindex", inputId: "inputId", style: "style", styleClass: "styleClass", label: "label", readonly: "readonly", checkboxTrueIcon: "checkboxTrueIcon", checkboxFalseIcon: "checkboxFalseIcon" }, outputs: { onChange: "onChange" }, host: { classAttribute: "p-element" }, providers: [TRISTATECHECKBOX_VALUE_ACCESSOR], queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: `
94
92
  <div [ngStyle]="style" [ngClass]="{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }" [class]="styleClass">
95
93
  <div class="p-hidden-accessible">
@@ -131,7 +129,7 @@ TriStateCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
131
129
  </div>
132
130
  </div>
133
131
  <label class="p-checkbox-label" (click)="onClick($event, input)" [ngClass]="{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }" *ngIf="label" [attr.for]="inputId">{{ label }}</label>
134
- `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i2.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgTemplateOutlet; }), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(function () { return i2.NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(function () { return CheckIcon; }), selector: "CheckIcon" }, { kind: "component", type: i0.forwardRef(function () { return TimesIcon; }), selector: "TimesIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
132
+ `, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i1.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgTemplateOutlet; }), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(function () { return CheckIcon; }), selector: "CheckIcon" }, { kind: "component", type: i0.forwardRef(function () { return TimesIcon; }), selector: "TimesIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
135
133
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: TriStateCheckbox, decorators: [{
136
134
  type: Component,
137
135
  args: [{
@@ -185,7 +183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
185
183
  class: 'p-element'
186
184
  }
187
185
  }]
188
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.LicenseManager }]; }, propDecorators: { disabled: [{
186
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
189
187
  type: Input
190
188
  }], name: [{
191
189
  type: Input
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-tristatecheckbox.mjs","sources":["../../src/app/components/tristatecheckbox/tristatecheckbox.ts","../../src/app/components/tristatecheckbox/primeng-tristatecheckbox.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, EventEmitter, Input, NgModule, Output, QueryList, TemplateRef, ViewEncapsulation, forwardRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LicenseManager, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { CheckIcon } from 'primeng/icons/check';\nimport { TimesIcon } from 'primeng/icons/times';\n\nexport const TRISTATECHECKBOX_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TriStateCheckbox),\n multi: true\n};\n\n@Component({\n selector: 'p-triStateCheckbox',\n template: `\n <div [ngStyle]=\"style\" [ngClass]=\"{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }\" [class]=\"styleClass\">\n <div class=\"p-hidden-accessible\">\n <input\n #input\n type=\"text\"\n [attr.id]=\"inputId\"\n [name]=\"name\"\n [attr.tabindex]=\"tabindex\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n (keyup)=\"onKeyup($event)\"\n (keydown)=\"onKeydown($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n inputmode=\"none\"\n />\n </div>\n <div class=\"p-checkbox-box\" (click)=\"onClick($event, input)\" role=\"checkbox\" [attr.aria-checked]=\"value === true\" [ngClass]=\"{ 'p-highlight': value != null, 'p-disabled': disabled, 'p-focus': focused }\">\n <ng-container *ngIf=\"value === true\">\n <span *ngIf=\"checkboxTrueIcon\" [ngClass]=\"checkboxTrueIcon\" class=\"p-checkbox-icon\"></span>\n <ng-container *ngIf=\"!checkboxTrueIcon\">\n <CheckIcon [styleClass]=\"'p-checkbox-icon'\" *ngIf=\"!checkIconTemplate\" />\n <span *ngIf=\"checkIconTemplate\" class=\"p-checkbox-icon\">\n <ng-template *ngTemplateOutlet=\"checkIconTemplate\"></ng-template>\n </span>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"value === false\">\n <span *ngIf=\"checkboxFalseIcon\" [ngClass]=\"checkboxFalseIcon\" class=\"p-checkbox-icon\"></span>\n <ng-container *ngIf=\"!checkboxFalseIcon\">\n <TimesIcon [styleClass]=\"'p-checkbox-icon'\" *ngIf=\"!uncheckIconTemplate\" />\n <span class=\"p-checkbox-icon\" *ngIf=\"uncheckIconTemplate\">\n <ng-template *ngTemplateOutlet=\"uncheckIconTemplate\"></ng-template>\n </span>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <label class=\"p-checkbox-label\" (click)=\"onClick($event, input)\" [ngClass]=\"{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }\" *ngIf=\"label\" [attr.for]=\"inputId\">{{ label }}</label>\n `,\n providers: [TRISTATECHECKBOX_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class TriStateCheckbox implements ControlValueAccessor, AfterViewInit {\n constructor(private cd: ChangeDetectorRef, private licenseManager: LicenseManager) {}\n\n @Input() disabled: boolean;\n\n @Input() name: string;\n\n @Input() ariaLabelledBy: string;\n\n @Input() tabindex: number;\n\n @Input() inputId: string;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() label: string;\n\n @Input() readonly: boolean;\n\n @Input() checkboxTrueIcon: string;\n\n @Input() checkboxFalseIcon: string;\n\n @Output() onChange: EventEmitter<any> = new EventEmitter();\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n checkIconTemplate: TemplateRef<any>;\n\n uncheckIconTemplate: TemplateRef<any>;\n\n focused: boolean;\n\n value: any;\n\n onModelChange: Function = () => {};\n\n onModelTouched: Function = () => {};\n\n onClick(event: Event, input: HTMLInputElement) {\n if (!this.disabled && !this.readonly) {\n this.toggle(event);\n this.focused = true;\n input.focus();\n }\n }\n\n onKeydown(event: KeyboardEvent) {\n if (event.keyCode == 32) {\n event.preventDefault();\n }\n }\n\n onKeyup(event: KeyboardEvent) {\n if (event.keyCode == 32 && !this.readonly) {\n this.toggle(event);\n event.preventDefault();\n }\n }\n\n toggle(event: Event) {\n if (this.value == null || this.value == undefined) this.value = true;\n else if (this.value == true) this.value = false;\n else if (this.value == false) this.value = null;\n\n this.onModelChange(this.value);\n this.onChange.emit({\n originalEvent: event,\n value: this.value\n });\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'checkicon':\n this.checkIconTemplate = item.template;\n break;\n\n case 'uncheckicon':\n this.uncheckIconTemplate = item.template;\n break;\n }\n });\n }\n\n ngAfterViewInit() {\n this.licenseManager['check']();\n }\n\n onFocus() {\n this.focused = true;\n }\n\n onBlur() {\n this.focused = false;\n this.onModelTouched();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n writeValue(value: any): void {\n this.value = value;\n this.cd.markForCheck();\n }\n\n setDisabledState(disabled: boolean): void {\n this.disabled = disabled;\n this.cd.markForCheck();\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule, CheckIcon, TimesIcon],\n exports: [TriStateCheckbox, SharedModule],\n declarations: [TriStateCheckbox]\n})\nexport class TriStateCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;AAOa,MAAA,+BAA+B,GAAQ;AAChD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,gBAAgB,CAAC;AAC/C,IAAA,KAAK,EAAE,IAAI;EACb;MAqDW,gBAAgB,CAAA;IACzB,WAAoB,CAAA,EAAqB,EAAU,cAA8B,EAAA;QAA7D,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QAAU,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;AAwBvE,QAAA,IAAA,CAAA,QAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;AAY3D,QAAA,IAAA,CAAA,aAAa,GAAa,MAAK,GAAG,CAAC;AAEnC,QAAA,IAAA,CAAA,cAAc,GAAa,MAAK,GAAG,CAAC;KAtCiD;IAwCrF,OAAO,CAAC,KAAY,EAAE,KAAuB,EAAA;QACzC,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAClC,YAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACnB,YAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;YACpB,KAAK,CAAC,KAAK,EAAE,CAAC;AACjB,SAAA;KACJ;AAED,IAAA,SAAS,CAAC,KAAoB,EAAA;AAC1B,QAAA,IAAI,KAAK,CAAC,OAAO,IAAI,EAAE,EAAE;YACrB,KAAK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tB,YAAA,EAAA,CAAA,gBAAgB,CAyHf,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,CAzHjD,EAAA,OAAA,EAAA,CAAA,gBAAgB,EA0HG,YAAY,CAAA,EAAA,CAAA,CAAA;oHAG/B,sBAAsB,EAAA,OAAA,EAAA,CAJrB,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAC9B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAG/B,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,CAAC;AAC3D,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;oBACzC,YAAY,EAAE,CAAC,gBAAgB,CAAC;AACnC,iBAAA,CAAA;;;AC5LD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-tristatecheckbox.mjs","sources":["../../src/app/components/tristatecheckbox/tristatecheckbox.ts","../../src/app/components/tristatecheckbox/primeng-tristatecheckbox.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, EventEmitter, Input, NgModule, Output, QueryList, TemplateRef, ViewEncapsulation, forwardRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LicenseManager, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { CheckIcon } from 'primeng/icons/check';\nimport { TimesIcon } from 'primeng/icons/times';\n\nexport const TRISTATECHECKBOX_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TriStateCheckbox),\n multi: true\n};\n\n@Component({\n selector: 'p-triStateCheckbox',\n template: `\n <div [ngStyle]=\"style\" [ngClass]=\"{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }\" [class]=\"styleClass\">\n <div class=\"p-hidden-accessible\">\n <input\n #input\n type=\"text\"\n [attr.id]=\"inputId\"\n [name]=\"name\"\n [attr.tabindex]=\"tabindex\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n (keyup)=\"onKeyup($event)\"\n (keydown)=\"onKeydown($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n inputmode=\"none\"\n />\n </div>\n <div class=\"p-checkbox-box\" (click)=\"onClick($event, input)\" role=\"checkbox\" [attr.aria-checked]=\"value === true\" [ngClass]=\"{ 'p-highlight': value != null, 'p-disabled': disabled, 'p-focus': focused }\">\n <ng-container *ngIf=\"value === true\">\n <span *ngIf=\"checkboxTrueIcon\" [ngClass]=\"checkboxTrueIcon\" class=\"p-checkbox-icon\"></span>\n <ng-container *ngIf=\"!checkboxTrueIcon\">\n <CheckIcon [styleClass]=\"'p-checkbox-icon'\" *ngIf=\"!checkIconTemplate\" />\n <span *ngIf=\"checkIconTemplate\" class=\"p-checkbox-icon\">\n <ng-template *ngTemplateOutlet=\"checkIconTemplate\"></ng-template>\n </span>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"value === false\">\n <span *ngIf=\"checkboxFalseIcon\" [ngClass]=\"checkboxFalseIcon\" class=\"p-checkbox-icon\"></span>\n <ng-container *ngIf=\"!checkboxFalseIcon\">\n <TimesIcon [styleClass]=\"'p-checkbox-icon'\" *ngIf=\"!uncheckIconTemplate\" />\n <span class=\"p-checkbox-icon\" *ngIf=\"uncheckIconTemplate\">\n <ng-template *ngTemplateOutlet=\"uncheckIconTemplate\"></ng-template>\n </span>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <label class=\"p-checkbox-label\" (click)=\"onClick($event, input)\" [ngClass]=\"{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }\" *ngIf=\"label\" [attr.for]=\"inputId\">{{ label }}</label>\n `,\n providers: [TRISTATECHECKBOX_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class TriStateCheckbox implements ControlValueAccessor, AfterViewInit {\n constructor(private cd: ChangeDetectorRef) {}\n\n @Input() disabled: boolean;\n\n @Input() name: string;\n\n @Input() ariaLabelledBy: string;\n\n @Input() tabindex: number;\n\n @Input() inputId: string;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() label: string;\n\n @Input() readonly: boolean;\n\n @Input() checkboxTrueIcon: string;\n\n @Input() checkboxFalseIcon: string;\n\n @Output() onChange: EventEmitter<any> = new EventEmitter();\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n checkIconTemplate: TemplateRef<any>;\n\n uncheckIconTemplate: TemplateRef<any>;\n\n focused: boolean;\n\n value: any;\n\n onModelChange: Function = () => {};\n\n onModelTouched: Function = () => {};\n\n onClick(event: Event, input: HTMLInputElement) {\n if (!this.disabled && !this.readonly) {\n this.toggle(event);\n this.focused = true;\n input.focus();\n }\n }\n\n onKeydown(event: KeyboardEvent) {\n if (event.keyCode == 32) {\n event.preventDefault();\n }\n }\n\n onKeyup(event: KeyboardEvent) {\n if (event.keyCode == 32 && !this.readonly) {\n this.toggle(event);\n event.preventDefault();\n }\n }\n\n toggle(event: Event) {\n if (this.value == null || this.value == undefined) this.value = true;\n else if (this.value == true) this.value = false;\n else if (this.value == false) this.value = null;\n\n this.onModelChange(this.value);\n this.onChange.emit({\n originalEvent: event,\n value: this.value\n });\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'checkicon':\n this.checkIconTemplate = item.template;\n break;\n\n case 'uncheckicon':\n this.uncheckIconTemplate = item.template;\n break;\n }\n });\n }\n\n ngAfterViewInit() {\n LicenseManager.check();\n }\n\n onFocus() {\n this.focused = true;\n }\n\n onBlur() {\n this.focused = false;\n this.onModelTouched();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n writeValue(value: any): void {\n this.value = value;\n this.cd.markForCheck();\n }\n\n setDisabledState(disabled: boolean): void {\n this.disabled = disabled;\n this.cd.markForCheck();\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule, CheckIcon, TimesIcon],\n exports: [TriStateCheckbox, SharedModule],\n declarations: [TriStateCheckbox]\n})\nexport class TriStateCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAOa,MAAA,+BAA+B,GAAQ;AAChD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,gBAAgB,CAAC;AAC/C,IAAA,KAAK,EAAE,IAAI;EACb;MAqDW,gBAAgB,CAAA;AACzB,IAAA,WAAA,CAAoB,EAAqB,EAAA;QAArB,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;AAwB/B,QAAA,IAAA,CAAA,QAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;AAY3D,QAAA,IAAA,CAAA,aAAa,GAAa,MAAK,GAAG,CAAC;AAEnC,QAAA,IAAA,CAAA,cAAc,GAAa,MAAK,GAAG,CAAC;KAtCS;IAwC7C,OAAO,CAAC,KAAY,EAAE,KAAuB,EAAA;QACzC,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAClC,YAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACnB,YAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;YACpB,KAAK,CAAC,KAAK,EAAE,CAAC;AACjB,SAAA;KACJ;AAED,IAAA,SAAS,CAAC,KAAoB,EAAA;AAC1B,QAAA,IAAI,KAAK,CAAC,OAAO,IAAI,EAAE,EAAE;YACrB,KAAK,CAAC,cA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AAE,SAAS,EAAE,SAAS,CAzHjD,EAAA,OAAA,EAAA,CAAA,gBAAgB,EA0HG,YAAY,CAAA,EAAA,CAAA,CAAA;oHAG/B,sBAAsB,EAAA,OAAA,EAAA,CAJrB,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAC9B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAG/B,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,CAAC;AAC3D,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;oBACzC,YAAY,EAAE,CAAC,gBAAgB,CAAC;AACnC,iBAAA,CAAA;;;AC5LD;;AAEG;;;;"}
@@ -1,22 +1,21 @@
1
- import * as i2 from '@angular/common';
1
+ import * as i1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ContentChild, ContentChildren, ViewChild, Output, NgModule } from '@angular/core';
5
- import * as i1 from 'primeng/api';
6
- import { Header, Footer, PrimeTemplate, SharedModule } from 'primeng/api';
5
+ import * as i2 from 'primeng/api';
6
+ import { LicenseManager, Header, Footer, PrimeTemplate, SharedModule } from 'primeng/api';
7
7
  import * as i3 from 'primeng/scroller';
8
8
  import { ScrollerModule } from 'primeng/scroller';
9
9
 
10
10
  class VirtualScroller {
11
- constructor(el, cd, licenseManager) {
11
+ constructor(el, cd) {
12
12
  this.el = el;
13
13
  this.cd = cd;
14
- this.licenseManager = licenseManager;
15
14
  this.delay = 250;
16
15
  this.onLazyLoad = new EventEmitter();
17
16
  }
18
17
  ngAfterViewInit() {
19
- this.licenseManager['check']();
18
+ LicenseManager.check();
20
19
  }
21
20
  ngAfterContentInit() {
22
21
  this.templates.forEach((item) => {
@@ -58,7 +57,7 @@ class VirtualScroller {
58
57
  this.scroller?.scrollToIndex(index, mode);
59
58
  }
60
59
  }
61
- VirtualScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: VirtualScroller, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.LicenseManager }], target: i0.ɵɵFactoryTarget.Component });
60
+ VirtualScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: VirtualScroller, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
62
61
  VirtualScroller.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: VirtualScroller, selector: "p-virtualScroller", inputs: { value: "value", itemSize: "itemSize", style: "style", styleClass: "styleClass", scrollHeight: "scrollHeight", lazy: "lazy", options: "options", delay: "delay" }, outputs: { onLazyLoad: "onLazyLoad" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "header", first: true, predicate: Header, descendants: true }, { propertyName: "footer", first: true, predicate: Footer, descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }], ngImport: i0, template: `
63
62
  <div [ngClass]="'p-virtualscroller p-component'" [ngStyle]="style" [class]="styleClass">
64
63
  <div class="p-virtualscroller-header" *ngIf="header || headerTemplate">
@@ -79,7 +78,7 @@ VirtualScroller.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
79
78
  <ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
80
79
  </div>
81
80
  </div>
82
- `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.Scroller, selector: "p-scroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
81
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.Scroller, selector: "p-scroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
83
82
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: VirtualScroller, decorators: [{
84
83
  type: Component,
85
84
  args: [{
@@ -111,7 +110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
111
110
  class: 'p-element'
112
111
  }
113
112
  }]
114
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.LicenseManager }]; }, propDecorators: { value: [{
113
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { value: [{
115
114
  type: Input
116
115
  }], itemSize: [{
117
116
  type: Input
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-virtualscroller.mjs","sources":["../../src/app/components/virtualscroller/virtualscroller.ts","../../src/app/components/virtualscroller/primeng-virtualscroller.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n NgModule,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { BlockableUI, Footer, Header, LicenseManager, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { Scroller, ScrollerModule, ScrollerOptions } from 'primeng/scroller';\n\n@Component({\n selector: 'p-virtualScroller',\n template: `\n <div [ngClass]=\"'p-virtualscroller p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <div class=\"p-virtualscroller-header\" *ngIf=\"header || headerTemplate\">\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </div>\n <div #content class=\"p-virtualscroller-content\">\n <p-scroller #scroller [items]=\"value\" styleClass=\"p-virtualscroller-list\" [style]=\"{ height: scrollHeight }\" [itemSize]=\"itemSize\" [lazy]=\"lazy\" (onLazyLoad)=\"onLazyItemLoad($event)\" [options]=\"options\">\n <ng-template pTemplate=\"item\" let-item let-scrollerOptions=\"options\">\n <div [ngStyle]=\"{ height: itemSize + 'px' }\" class=\"p-virtualscroller-item\">\n <ng-container *ngTemplateOutlet=\"item ? itemTemplate : loadingItemTemplate; context: { $implicit: item, options: scrollerOptions }\"></ng-container>\n </div>\n </ng-template>\n </p-scroller>\n </div>\n <div class=\"p-virtualscroller-footer\" *ngIf=\"footer || footerTemplate\">\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class VirtualScroller implements AfterContentInit, BlockableUI, AfterViewInit {\n @Input() value: any[];\n\n @Input() itemSize: number;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() scrollHeight: any;\n\n @Input() lazy: boolean;\n\n @Input() options: ScrollerOptions;\n\n @Input() delay: number = 250;\n\n @ContentChild(Header) header: Header;\n\n @ContentChild(Footer) footer: Footer;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n @ViewChild('scroller') scroller: Scroller;\n\n @Output() onLazyLoad: EventEmitter<any> = new EventEmitter();\n\n itemTemplate: TemplateRef<any>;\n\n headerTemplate: TemplateRef<any>;\n\n footerTemplate: TemplateRef<any>;\n\n loadingItemTemplate: TemplateRef<any>;\n\n virtualScrollTimeout: any;\n\n constructor(public el: ElementRef, public cd: ChangeDetectorRef, private licenseManager: LicenseManager) {}\n\n ngAfterViewInit() {\n this.licenseManager['check']();\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'item':\n this.itemTemplate = item.template;\n break;\n\n case 'loadingItem':\n this.loadingItemTemplate = item.template;\n break;\n\n case 'header':\n this.headerTemplate = item.template;\n break;\n\n case 'footer':\n this.footerTemplate = item.template;\n break;\n\n default:\n this.itemTemplate = item.template;\n break;\n }\n });\n }\n\n onLazyItemLoad(event) {\n if (this.virtualScrollTimeout) {\n clearTimeout(this.virtualScrollTimeout);\n }\n\n this.virtualScrollTimeout = setTimeout(() => {\n this.onLazyLoad.emit({\n ...event,\n rows: event.last - event.first,\n forceUpdate: () => this.cd.detectChanges()\n });\n }, this.delay);\n }\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n scrollToIndex(index: number, mode?: ScrollBehavior): void {\n this.scroller?.scrollToIndex(index, mode);\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule, ScrollerModule],\n exports: [VirtualScroller, SharedModule, ScrollerModule],\n declarations: [VirtualScroller]\n})\nexport class VirtualScrollerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAmDa,eAAe,CAAA;AAqCxB,IAAA,WAAA,CAAmB,EAAc,EAAS,EAAqB,EAAU,cAA8B,EAAA;QAApF,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;QAAS,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QAAU,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAtB9F,IAAK,CAAA,KAAA,GAAW,GAAG,CAAC;AAUnB,QAAA,IAAA,CAAA,UAAU,GAAsB,IAAI,YAAY,EAAE,CAAC;KAY8C;IAE3G,eAAe,GAAA;AACX,QAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,CAAC;KAClC;IAED,kBAAkB,GAAA;QACd,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC5B,YAAA,QAAQ,IAAI,CAAC,OAAO,EAAE;AAClB,gBAAA,KAAK,MAAM;AACP,oBAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC;oBAClC,MAAM;AAEV,gBAAA,KAAK,aAAa;AACd,oBAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,QAAQ,CAAC;oBACzC,MAAM;AAEV,gBAAA,KAAK,QAA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C;AACrD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,cAAc,CAAC;oBACxD,YAAY,EAAE,CAAC,eAAe,CAAC;AAClC,iBAAA,CAAA;;;ACnJD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-virtualscroller.mjs","sources":["../../src/app/components/virtualscroller/virtualscroller.ts","../../src/app/components/virtualscroller/primeng-virtualscroller.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n NgModule,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { BlockableUI, Footer, Header, LicenseManager, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { Scroller, ScrollerModule, ScrollerOptions } from 'primeng/scroller';\n\n@Component({\n selector: 'p-virtualScroller',\n template: `\n <div [ngClass]=\"'p-virtualscroller p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <div class=\"p-virtualscroller-header\" *ngIf=\"header || headerTemplate\">\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </div>\n <div #content class=\"p-virtualscroller-content\">\n <p-scroller #scroller [items]=\"value\" styleClass=\"p-virtualscroller-list\" [style]=\"{ height: scrollHeight }\" [itemSize]=\"itemSize\" [lazy]=\"lazy\" (onLazyLoad)=\"onLazyItemLoad($event)\" [options]=\"options\">\n <ng-template pTemplate=\"item\" let-item let-scrollerOptions=\"options\">\n <div [ngStyle]=\"{ height: itemSize + 'px' }\" class=\"p-virtualscroller-item\">\n <ng-container *ngTemplateOutlet=\"item ? itemTemplate : loadingItemTemplate; context: { $implicit: item, options: scrollerOptions }\"></ng-container>\n </div>\n </ng-template>\n </p-scroller>\n </div>\n <div class=\"p-virtualscroller-footer\" *ngIf=\"footer || footerTemplate\">\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class VirtualScroller implements AfterContentInit, BlockableUI, AfterViewInit {\n @Input() value: any[];\n\n @Input() itemSize: number;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() scrollHeight: any;\n\n @Input() lazy: boolean;\n\n @Input() options: ScrollerOptions;\n\n @Input() delay: number = 250;\n\n @ContentChild(Header) header: Header;\n\n @ContentChild(Footer) footer: Footer;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n @ViewChild('scroller') scroller: Scroller;\n\n @Output() onLazyLoad: EventEmitter<any> = new EventEmitter();\n\n itemTemplate: TemplateRef<any>;\n\n headerTemplate: TemplateRef<any>;\n\n footerTemplate: TemplateRef<any>;\n\n loadingItemTemplate: TemplateRef<any>;\n\n virtualScrollTimeout: any;\n\n constructor(public el: ElementRef, public cd: ChangeDetectorRef) {}\n\n ngAfterViewInit() {\n LicenseManager.check();\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'item':\n this.itemTemplate = item.template;\n break;\n\n case 'loadingItem':\n this.loadingItemTemplate = item.template;\n break;\n\n case 'header':\n this.headerTemplate = item.template;\n break;\n\n case 'footer':\n this.footerTemplate = item.template;\n break;\n\n default:\n this.itemTemplate = item.template;\n break;\n }\n });\n }\n\n onLazyItemLoad(event) {\n if (this.virtualScrollTimeout) {\n clearTimeout(this.virtualScrollTimeout);\n }\n\n this.virtualScrollTimeout = setTimeout(() => {\n this.onLazyLoad.emit({\n ...event,\n rows: event.last - event.first,\n forceUpdate: () => this.cd.detectChanges()\n });\n }, this.delay);\n }\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n scrollToIndex(index: number, mode?: ScrollBehavior): void {\n this.scroller?.scrollToIndex(index, mode);\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule, ScrollerModule],\n exports: [VirtualScroller, SharedModule, ScrollerModule],\n declarations: [VirtualScroller]\n})\nexport class VirtualScrollerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAmDa,eAAe,CAAA;IAqCxB,WAAmB,CAAA,EAAc,EAAS,EAAqB,EAAA;QAA5C,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;QAAS,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QAtBtD,IAAK,CAAA,KAAA,GAAW,GAAG,CAAC;AAUnB,QAAA,IAAA,CAAA,UAAU,GAAsB,IAAI,YAAY,EAAE,CAAC;KAYM;IAEnE,eAAe,GAAA;QACX,cAAc,CAAC,KAAK,EAAE,CAAC;KAC1B;IAED,kBAAkB,GAAA;QACd,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC5B,YAAA,QAAQ,IAAI,CAAC,OAAO,EAAE;AAClB,gBAAA,KAAK,MAAM;AACP,oBAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC;oBAClC,MAAM;AAEV,gBAAA,KAAK,aAAa;AACd,oBAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,QAAQ,CAAC;oBACzC,MAAM;AAEV,gBAAA,KAAK,QAAQ;AACT,oBAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC;oBACpC,MAAM;AAEV,gBAAA,KAAK,QAAQ;AACT,oBAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC;oBACpC,MAAM;AAEV,gBAAA;AACI,oBAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC;oBAClC,MAAM;AACb,aAAA;AACL,SAAC,CAAC,CAAC;KACN;AAED,IAAA,cAAc,CAAC,KAAK,EAAA;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CAAA;gBAEP,QAAQ,EAAA,CAAA;sBAA9B,SAAS;uBAAC,UAAU,CAAA;gBAEX,UAAU,EAAA,CAAA;sBAAnB,MAAM;;MAwEE,qBAAqB,CAAA;;kHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,EAjGrB,YAAA,EAAA,CAAA,eAAe,CA6Fd,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,cAAc,CA7F3C,EAAA,OAAA,EAAA,CAAA,eAAe,EA8FG,YAAY,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA;mHAG9C,qBAAqB,EAAA,OAAA,EAAA,CAJpB,YAAY,EAAE,YAAY,EAAE,cAAc,EACzB,YAAY,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA;2FAG9C,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,CAAC;AACrD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,cAAc,CAAC;oBACxD,YAAY,EAAE,CAAC,eAAe,CAAC;AAClC,iBAAA,CAAA;;;ACnJD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
2
- import { BlockableUI, LicenseManager } from 'primeng/api';
2
+ import { BlockableUI } from 'primeng/api';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/common";
5
5
  import * as i2 from "primeng/ripple";
@@ -8,7 +8,6 @@ import * as i4 from "primeng/icons/plus";
8
8
  import * as i5 from "primeng/api";
9
9
  export declare class Fieldset implements AfterContentInit, BlockableUI, AfterViewInit {
10
10
  private el;
11
- private licenseManager;
12
11
  legend: string;
13
12
  toggleable: boolean;
14
13
  collapsed: boolean;
@@ -24,7 +23,7 @@ export declare class Fieldset implements AfterContentInit, BlockableUI, AfterVie
24
23
  contentTemplate: TemplateRef<any>;
25
24
  collapseIconTemplate: TemplateRef<any>;
26
25
  expandIconTemplate: TemplateRef<any>;
27
- constructor(el: ElementRef, licenseManager: LicenseManager);
26
+ constructor(el: ElementRef);
28
27
  id: string;
29
28
  ngAfterContentInit(): void;
30
29
  ngAfterViewInit(): void;
@@ -1,7 +1,7 @@
1
1
  import { HttpClient, HttpHeaders } from '@angular/common/http';
2
2
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core';
3
3
  import { DomSanitizer } from '@angular/platform-browser';
4
- import { BlockableUI, LicenseManager, Message, PrimeNGConfig } from 'primeng/api';
4
+ import { BlockableUI, Message, PrimeNGConfig } from 'primeng/api';
5
5
  import { Subscription } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
7
7
  import * as i1 from "@angular/common";
@@ -24,7 +24,6 @@ export declare class FileUpload implements AfterViewInit, AfterContentInit, OnIn
24
24
  private http;
25
25
  cd: ChangeDetectorRef;
26
26
  config: PrimeNGConfig;
27
- private licenseManager;
28
27
  name: string;
29
28
  url: string;
30
29
  method: string;
@@ -92,7 +91,7 @@ export declare class FileUpload implements AfterViewInit, AfterContentInit, OnIn
92
91
  duplicateIEEvent: boolean;
93
92
  translationSubscription: Subscription;
94
93
  dragOverListener: () => void | null;
95
- constructor(document: Document, platformId: any, renderer: Renderer2, el: ElementRef, sanitizer: DomSanitizer, zone: NgZone, http: HttpClient, cd: ChangeDetectorRef, config: PrimeNGConfig, licenseManager: LicenseManager);
94
+ constructor(document: Document, platformId: any, renderer: Renderer2, el: ElementRef, sanitizer: DomSanitizer, zone: NgZone, http: HttpClient, cd: ChangeDetectorRef, config: PrimeNGConfig);
96
95
  ngAfterContentInit(): void;
97
96
  ngOnInit(): void;
98
97
  ngAfterViewInit(): void;
@@ -1,12 +1,10 @@
1
1
  import { AfterViewInit, ElementRef } from '@angular/core';
2
- import { LicenseManager } from 'primeng/api';
3
2
  import * as i0 from "@angular/core";
4
3
  import * as i1 from "@angular/common";
5
4
  export declare class FocusTrap implements AfterViewInit {
6
5
  el: ElementRef;
7
- private licenseManager;
8
6
  pFocusTrapDisabled: boolean;
9
- constructor(el: ElementRef, licenseManager: LicenseManager);
7
+ constructor(el: ElementRef);
10
8
  onkeydown(e: any): void;
11
9
  ngAfterViewInit(): void;
12
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrap, never>;
@@ -1,6 +1,6 @@
1
1
  import { AnimationEvent } from '@angular/animations';
2
2
  import { AfterContentChecked, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EventEmitter, KeyValueDiffers, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges, TemplateRef } from '@angular/core';
3
- import { LicenseManager, PrimeNGConfig } from 'primeng/api';
3
+ import { PrimeNGConfig } from 'primeng/api';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/common";
6
6
  import * as i2 from "primeng/api";
@@ -15,7 +15,6 @@ export declare class Galleria implements OnChanges, OnDestroy, AfterViewInit {
15
15
  element: ElementRef;
16
16
  cd: ChangeDetectorRef;
17
17
  config: PrimeNGConfig;
18
- private licenseManager;
19
18
  get activeIndex(): number;
20
19
  set activeIndex(activeIndex: number);
21
20
  fullScreen: boolean;
@@ -60,7 +59,7 @@ export declare class Galleria implements OnChanges, OnDestroy, AfterViewInit {
60
59
  itemPreviousIconTemplate: TemplateRef<any>;
61
60
  itemNextIconTemplate: TemplateRef<any>;
62
61
  maskVisible: boolean;
63
- constructor(document: Document, element: ElementRef, cd: ChangeDetectorRef, config: PrimeNGConfig, licenseManager: LicenseManager);
62
+ constructor(document: Document, element: ElementRef, cd: ChangeDetectorRef, config: PrimeNGConfig);
64
63
  ngAfterContentInit(): void;
65
64
  ngAfterViewInit(): void;
66
65
  ngOnChanges(simpleChanges: SimpleChanges): void;
package/image/image.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { AnimationEvent } from '@angular/animations';
2
2
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
3
3
  import { SafeUrl } from '@angular/platform-browser';
4
- import { LicenseManager, PrimeNGConfig } from 'primeng/api';
4
+ import { PrimeNGConfig } from 'primeng/api';
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "@angular/common";
7
7
  import * as i2 from "primeng/api";
@@ -15,7 +15,6 @@ export declare class Image implements AfterContentInit, AfterViewInit {
15
15
  private document;
16
16
  private config;
17
17
  private cd;
18
- private licenseManager;
19
18
  imageClass: string;
20
19
  imageStyle: any;
21
20
  styleClass: string;
@@ -49,7 +48,7 @@ export declare class Image implements AfterContentInit, AfterViewInit {
49
48
  get isZoomOutDisabled(): boolean;
50
49
  get isZoomInDisabled(): boolean;
51
50
  private zoomSettings;
52
- constructor(document: Document, config: PrimeNGConfig, cd: ChangeDetectorRef, licenseManager: LicenseManager);
51
+ constructor(document: Document, config: PrimeNGConfig, cd: ChangeDetectorRef);
53
52
  ngAfterContentInit(): void;
54
53
  ngAfterViewInit(): void;
55
54
  onImageClick(): void;
@@ -1,5 +1,4 @@
1
1
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
2
- import { LicenseManager } from 'primeng/api';
3
2
  import * as i0 from "@angular/core";
4
3
  import * as i1 from "@angular/common";
5
4
  import * as i2 from "primeng/button";
@@ -15,7 +14,6 @@ export declare class InplaceContent {
15
14
  }
16
15
  export declare class Inplace implements AfterContentInit, AfterViewInit {
17
16
  cd: ChangeDetectorRef;
18
- private licenseManager;
19
17
  active: boolean;
20
18
  closable: boolean;
21
19
  disabled: boolean;
@@ -30,7 +28,7 @@ export declare class Inplace implements AfterContentInit, AfterViewInit {
30
28
  displayTemplate: TemplateRef<any>;
31
29
  contentTemplate: TemplateRef<any>;
32
30
  closeIconTemplate: TemplateRef<any>;
33
- constructor(cd: ChangeDetectorRef, licenseManager: LicenseManager);
31
+ constructor(cd: ChangeDetectorRef);
34
32
  ngAfterContentInit(): void;
35
33
  ngAfterViewInit(): void;
36
34
  onActivateClick(event: any): void;
@@ -1,6 +1,5 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { LicenseManager } from 'primeng/api';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "@angular/common";
6
5
  import * as i2 from "primeng/inputtext";
@@ -13,7 +12,6 @@ export declare class InputMask implements OnInit, ControlValueAccessor, AfterVie
13
12
  private platformId;
14
13
  el: ElementRef;
15
14
  cd: ChangeDetectorRef;
16
- private licenseManager;
17
15
  type: string;
18
16
  slotChar: string;
19
17
  autoClear: boolean;
@@ -65,7 +63,7 @@ export declare class InputMask implements OnInit, ControlValueAccessor, AfterVie
65
63
  caretTimeoutId: any;
66
64
  androidChrome: boolean;
67
65
  focused: boolean;
68
- constructor(document: Document, platformId: any, el: ElementRef, cd: ChangeDetectorRef, licenseManager: LicenseManager);
66
+ constructor(document: Document, platformId: any, el: ElementRef, cd: ChangeDetectorRef);
69
67
  ngOnInit(): void;
70
68
  ngAfterContentInit(): void;
71
69
  ngAfterViewInit(): void;
@@ -1,6 +1,5 @@
1
1
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { LicenseManager } from 'primeng/api';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "@angular/common";
6
5
  import * as i2 from "primeng/inputtext";
@@ -15,7 +14,6 @@ export declare class InputNumber implements OnInit, AfterContentInit, OnChanges,
15
14
  el: ElementRef;
16
15
  private cd;
17
16
  private readonly injector;
18
- private licenseManager;
19
17
  showButtons: boolean;
20
18
  format: boolean;
21
19
  buttonLayout: string;
@@ -88,7 +86,7 @@ export declare class InputNumber implements OnInit, AfterContentInit, OnChanges,
88
86
  get disabled(): boolean;
89
87
  set disabled(disabled: boolean);
90
88
  private ngControl;
91
- constructor(document: Document, el: ElementRef, cd: ChangeDetectorRef, injector: Injector, licenseManager: LicenseManager);
89
+ constructor(document: Document, el: ElementRef, cd: ChangeDetectorRef, injector: Injector);
92
90
  ngOnChanges(simpleChange: SimpleChanges): void;
93
91
  ngAfterContentInit(): void;
94
92
  ngOnInit(): void;
@@ -1,6 +1,5 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { LicenseManager } from 'primeng/api';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "@angular/common";
6
5
  export declare const INPUTSWITCH_VALUE_ACCESSOR: any;
@@ -10,7 +9,6 @@ export interface InputSwitchOnChangeEvent {
10
9
  }
11
10
  export declare class InputSwitch implements ControlValueAccessor, AfterViewInit {
12
11
  private cd;
13
- private licenseManager;
14
12
  style: any;
15
13
  styleClass: string;
16
14
  tabindex: number;
@@ -27,7 +25,7 @@ export declare class InputSwitch implements ControlValueAccessor, AfterViewInit
27
25
  focused: boolean;
28
26
  onModelChange: Function;
29
27
  onModelTouched: Function;
30
- constructor(cd: ChangeDetectorRef, licenseManager: LicenseManager);
28
+ constructor(cd: ChangeDetectorRef);
31
29
  ngAfterViewInit(): void;
32
30
  onClick(event: Event, cb: HTMLInputElement): void;
33
31
  onInputChange(event: Event): void;
@@ -1,20 +1,18 @@
1
1
  import { ElementRef, DoCheck, ChangeDetectorRef, AfterViewInit } from '@angular/core';
2
2
  import { NgModel } from '@angular/forms';
3
- import { LicenseManager } from 'primeng/api';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "@angular/common";
6
5
  export declare class InputText implements DoCheck, AfterViewInit {
7
6
  el: ElementRef;
8
7
  ngModel: NgModel;
9
8
  private cd;
10
- private licenseManager;
11
9
  filled: boolean;
12
- constructor(el: ElementRef, ngModel: NgModel, cd: ChangeDetectorRef, licenseManager: LicenseManager);
10
+ constructor(el: ElementRef, ngModel: NgModel, cd: ChangeDetectorRef);
13
11
  ngAfterViewInit(): void;
14
12
  ngDoCheck(): void;
15
13
  onInput(e: any): void;
16
14
  updateFilledState(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<InputText, [null, { optional: true; }, null, null]>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputText, [null, { optional: true; }, null]>;
18
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<InputText, "[pInputText]", never, {}, {}, never, never, false, never>;
19
17
  }
20
18
  export declare class InputTextModule {
@@ -1,6 +1,5 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { NgControl, NgModel } from '@angular/forms';
3
- import { LicenseManager } from 'primeng/api';
4
3
  import { Subscription } from 'rxjs';
5
4
  import * as i0 from "@angular/core";
6
5
  import * as i1 from "@angular/common";
@@ -9,14 +8,13 @@ export declare class InputTextarea implements OnInit, AfterViewInit, OnDestroy {
9
8
  ngModel: NgModel;
10
9
  control: NgControl;
11
10
  private cd;
12
- private licenseManager;
13
11
  autoResize: boolean;
14
12
  onResize: EventEmitter<any>;
15
13
  filled: boolean;
16
14
  cachedScrollHeight: number;
17
15
  ngModelSubscription: Subscription;
18
16
  ngControlSubscription: Subscription;
19
- constructor(el: ElementRef, ngModel: NgModel, control: NgControl, cd: ChangeDetectorRef, licenseManager: LicenseManager);
17
+ constructor(el: ElementRef, ngModel: NgModel, control: NgControl, cd: ChangeDetectorRef);
20
18
  ngOnInit(): void;
21
19
  ngAfterViewInit(): void;
22
20
  onInput(e: any): void;
@@ -26,7 +24,7 @@ export declare class InputTextarea implements OnInit, AfterViewInit, OnDestroy {
26
24
  resize(event?: Event): void;
27
25
  updateState(): void;
28
26
  ngOnDestroy(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTextarea, [null, { optional: true; }, { optional: true; }, null, null]>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTextarea, [null, { optional: true; }, { optional: true; }, null]>;
30
28
  static ɵdir: i0.ɵɵDirectiveDeclaration<InputTextarea, "[pInputTextarea]", never, { "autoResize": "autoResize"; }, { "onResize": "onResize"; }, never, never, false, never>;
31
29
  }
32
30
  export declare class InputTextareaModule {
@@ -1,6 +1,5 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
2
  import { AbstractControl, Validator } from '@angular/forms';
3
- import { LicenseManager } from 'primeng/api';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "@angular/common";
6
5
  export declare const KEYFILTER_VALIDATOR: any;
@@ -8,14 +7,13 @@ export declare class KeyFilter implements Validator, AfterViewInit {
8
7
  private document;
9
8
  private platformId;
10
9
  el: ElementRef;
11
- private licenseManager;
12
10
  pValidateOnly: boolean;
13
11
  ngModelChange: EventEmitter<any>;
14
12
  regex: RegExp;
15
13
  _pattern: any;
16
14
  isAndroid: boolean;
17
15
  lastValue: any;
18
- constructor(document: Document, platformId: any, el: ElementRef, licenseManager: LicenseManager);
16
+ constructor(document: Document, platformId: any, el: ElementRef);
19
17
  get pattern(): any;
20
18
  set pattern(_pattern: any);
21
19
  ngAfterViewInit(): void;
package/knob/knob.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
- import { LicenseManager } from 'primeng/api';
3
2
  import * as i0 from "@angular/core";
4
3
  import * as i1 from "@angular/common";
5
4
  export declare const KNOB_VALUE_ACCESSOR: any;
@@ -8,7 +7,6 @@ export declare class Knob implements AfterViewInit {
8
7
  private renderer;
9
8
  private cd;
10
9
  private el;
11
- private licenseManager;
12
10
  styleClass: string;
13
11
  style: any;
14
12
  severity: string;
@@ -38,7 +36,7 @@ export declare class Knob implements AfterViewInit {
38
36
  windowTouchEndListener: () => void | null;
39
37
  onModelChange: Function;
40
38
  onModelTouched: Function;
41
- constructor(document: Document, renderer: Renderer2, cd: ChangeDetectorRef, el: ElementRef, licenseManager: LicenseManager);
39
+ constructor(document: Document, renderer: Renderer2, cd: ChangeDetectorRef, el: ElementRef);
42
40
  ngAfterViewInit(): void;
43
41
  mapRange(x: any, inMin: any, inMax: any, outMin: any, outMax: any): any;
44
42
  onClick(event: any): void;
@@ -1,6 +1,6 @@
1
1
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { FilterService, LicenseManager, PrimeNGConfig } from 'primeng/api';
3
+ import { FilterService, PrimeNGConfig } from 'primeng/api';
4
4
  import { Subscription } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "@angular/common";
@@ -18,7 +18,6 @@ export declare class Listbox implements AfterContentInit, OnInit, ControlValueAc
18
18
  cd: ChangeDetectorRef;
19
19
  filterService: FilterService;
20
20
  config: PrimeNGConfig;
21
- private licenseManager;
22
21
  multiple: boolean;
23
22
  style: any;
24
23
  styleClass: string;
@@ -73,7 +72,7 @@ export declare class Listbox implements AfterContentInit, OnInit, ControlValueAc
73
72
  focus: boolean;
74
73
  headerCheckboxFocus: boolean;
75
74
  translationSubscription: Subscription;
76
- constructor(el: ElementRef, cd: ChangeDetectorRef, filterService: FilterService, config: PrimeNGConfig, licenseManager: LicenseManager);
75
+ constructor(el: ElementRef, cd: ChangeDetectorRef, filterService: FilterService, config: PrimeNGConfig);
77
76
  get options(): any[];
78
77
  set options(val: any[]);
79
78
  get filterValue(): string;
@@ -1,5 +1,5 @@
1
1
  import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, QueryList, Renderer2, TemplateRef } from '@angular/core';
2
- import { LicenseManager, MegaMenuItem, MenuItem } from 'primeng/api';
2
+ import { MegaMenuItem, MenuItem } from 'primeng/api';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/common";
5
5
  import * as i2 from "@angular/router";
@@ -14,7 +14,6 @@ export declare class MegaMenu implements AfterContentInit, AfterViewInit {
14
14
  el: ElementRef;
15
15
  renderer: Renderer2;
16
16
  cd: ChangeDetectorRef;
17
- private licenseManager;
18
17
  model: MegaMenuItem[];
19
18
  style: any;
20
19
  styleClass: string;
@@ -25,7 +24,7 @@ export declare class MegaMenu implements AfterContentInit, AfterViewInit {
25
24
  startTemplate: TemplateRef<any>;
26
25
  endTemplate: TemplateRef<any>;
27
26
  submenuIconTemplate: TemplateRef<any>;
28
- constructor(document: Document, platformId: any, el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, licenseManager: LicenseManager);
27
+ constructor(document: Document, platformId: any, el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef);
29
28
  ngAfterContentInit(): void;
30
29
  ngAfterViewInit(): void;
31
30
  onCategoryMouseEnter(event: any, menuitem: MegaMenuItem): void;