primevue 2.10.0 → 2.10.2

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 (427) hide show
  1. package/README.md +150 -3
  2. package/accordion/accordion.common.js +2 -7
  3. package/accordion/accordion.umd.js +2 -7
  4. package/accordiontab/accordiontab.common.js +1203 -104
  5. package/accordiontab/accordiontab.umd.js +1203 -104
  6. package/accordiontab/accordiontab.umd.min.js +1 -1
  7. package/api/Api.d.ts +24 -2
  8. package/api/Api.js +0 -6
  9. package/api/FilterService.js +3 -56
  10. package/api/PrimeIcons.js +24 -2
  11. package/api/api.common.js +78 -133
  12. package/api/api.umd.js +78 -133
  13. package/api/api.umd.min.js +1 -1
  14. package/api/filterservice.common.js +54 -131
  15. package/api/filterservice.umd.js +54 -131
  16. package/api/filterservice.umd.min.js +1 -1
  17. package/api/primeicons.common.js +24 -2
  18. package/api/primeicons.umd.js +24 -2
  19. package/api/primeicons.umd.min.js +1 -1
  20. package/autocomplete/autocomplete.common.js +84 -246
  21. package/autocomplete/autocomplete.umd.js +84 -246
  22. package/autocomplete/autocomplete.umd.min.js +1 -1
  23. package/avatar/avatar.common.js +2 -4
  24. package/avatar/avatar.umd.js +2 -4
  25. package/avatargroup/avatargroup.common.js +2 -4
  26. package/avatargroup/avatargroup.umd.js +2 -4
  27. package/badge/badge.common.js +2 -4
  28. package/badge/badge.umd.js +2 -4
  29. package/badgedirective/BadgeDirective.js +0 -13
  30. package/badgedirective/badgedirective.common.js +1183 -89
  31. package/badgedirective/badgedirective.umd.js +1183 -89
  32. package/badgedirective/badgedirective.umd.min.js +1 -1
  33. package/blockui/blockui.common.js +1180 -86
  34. package/blockui/blockui.umd.js +1180 -86
  35. package/blockui/blockui.umd.min.js +1 -1
  36. package/breadcrumb/breadcrumb.common.js +7 -12
  37. package/breadcrumb/breadcrumb.umd.js +7 -12
  38. package/breadcrumb/breadcrumbitem.common.js +5 -8
  39. package/breadcrumb/breadcrumbitem.umd.js +5 -8
  40. package/button/button.common.js +1211 -125
  41. package/button/button.umd.js +1211 -125
  42. package/button/button.umd.min.js +1 -1
  43. package/calendar/Calendar.vue +9 -7
  44. package/calendar/calendar.common.js +224 -613
  45. package/calendar/calendar.umd.js +224 -613
  46. package/calendar/calendar.umd.min.js +1 -1
  47. package/card/card.common.js +2 -4
  48. package/card/card.umd.js +2 -4
  49. package/carousel/carousel.common.js +1190 -146
  50. package/carousel/carousel.umd.js +1190 -146
  51. package/carousel/carousel.umd.min.js +1 -1
  52. package/cascadeselect/CascadeSelect.vue +1 -1
  53. package/cascadeselect/cascadeselect.common.js +136 -286
  54. package/cascadeselect/cascadeselect.umd.js +136 -286
  55. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  56. package/cascadeselect/cascadeselectsub.common.js +69 -185
  57. package/cascadeselect/cascadeselectsub.umd.js +69 -185
  58. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  59. package/cascadeselect/demo.html +4 -3
  60. package/chart/chart.common.js +2 -9
  61. package/chart/chart.umd.js +2 -9
  62. package/checkbox/checkbox.common.js +58 -116
  63. package/checkbox/checkbox.umd.js +58 -116
  64. package/checkbox/checkbox.umd.min.js +1 -1
  65. package/chip/chip.common.js +2 -4
  66. package/chip/chip.umd.js +2 -4
  67. package/chips/chips.common.js +12 -59
  68. package/chips/chips.umd.js +12 -59
  69. package/chips/chips.umd.min.js +1 -1
  70. package/colorpicker/colorpicker.common.js +1197 -140
  71. package/colorpicker/colorpicker.umd.js +1197 -140
  72. package/colorpicker/colorpicker.umd.min.js +1 -1
  73. package/columngroup/columngroup.common.js +2 -4
  74. package/columngroup/columngroup.umd.js +2 -4
  75. package/config/PrimeVue.js +4 -6
  76. package/config/primevue.common.js +124 -155
  77. package/config/primevue.umd.js +124 -155
  78. package/config/primevue.umd.min.js +1 -1
  79. package/confirmationeventbus/ConfirmationEventBus.js +0 -4
  80. package/confirmationeventbus/confirmationeventbus.common.js +0 -2
  81. package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
  82. package/confirmationservice/ConfirmationService.js +0 -3
  83. package/confirmationservice/confirmationservice.common.js +0 -2
  84. package/confirmationservice/confirmationservice.umd.js +0 -2
  85. package/confirmdialog/confirmdialog.common.js +1252 -186
  86. package/confirmdialog/confirmdialog.umd.js +1252 -186
  87. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  88. package/confirmpopup/confirmpopup.common.js +1212 -152
  89. package/confirmpopup/confirmpopup.umd.js +1212 -152
  90. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  91. package/contextmenu/contextmenu.common.js +1209 -140
  92. package/contextmenu/contextmenu.umd.js +1209 -140
  93. package/contextmenu/contextmenu.umd.min.js +1 -1
  94. package/contextmenu/contextmenusub.common.js +1187 -107
  95. package/contextmenu/contextmenusub.umd.js +1187 -107
  96. package/contextmenu/contextmenusub.umd.min.js +1 -1
  97. package/datatable/TableBody.vue +1 -0
  98. package/datatable/bodycell.common.js +87 -215
  99. package/datatable/bodycell.umd.js +87 -215
  100. package/datatable/bodycell.umd.min.js +1 -1
  101. package/datatable/columnfilter.common.js +97 -299
  102. package/datatable/columnfilter.umd.js +97 -299
  103. package/datatable/columnfilter.umd.min.js +1 -1
  104. package/datatable/datatable.common.js +258 -950
  105. package/datatable/datatable.umd.js +258 -950
  106. package/datatable/datatable.umd.min.js +1 -1
  107. package/datatable/demo.html +3 -5
  108. package/datatable/footercell.common.js +83 -170
  109. package/datatable/footercell.umd.js +83 -170
  110. package/datatable/footercell.umd.min.js +1 -1
  111. package/datatable/headercell.common.js +101 -318
  112. package/datatable/headercell.umd.js +101 -318
  113. package/datatable/headercell.umd.min.js +1 -1
  114. package/datatable/headercheckbox.common.js +2 -4
  115. package/datatable/headercheckbox.umd.js +2 -4
  116. package/datatable/rowcheckbox.common.js +2 -4
  117. package/datatable/rowcheckbox.umd.js +2 -4
  118. package/datatable/rowradiobutton.common.js +2 -4
  119. package/datatable/rowradiobutton.umd.js +2 -4
  120. package/datatable/tablebody.common.js +91 -243
  121. package/datatable/tablebody.umd.js +91 -243
  122. package/datatable/tablebody.umd.min.js +1 -1
  123. package/datatable/tablefooter.common.js +88 -204
  124. package/datatable/tablefooter.umd.js +88 -204
  125. package/datatable/tablefooter.umd.min.js +1 -1
  126. package/datatable/tableheader.common.js +104 -342
  127. package/datatable/tableheader.umd.js +104 -342
  128. package/datatable/tableheader.umd.min.js +1 -1
  129. package/datatable/tableloadingbody.common.js +2 -4
  130. package/datatable/tableloadingbody.umd.js +2 -4
  131. package/dataview/dataview.common.js +172 -464
  132. package/dataview/dataview.umd.js +172 -464
  133. package/dataview/dataview.umd.min.js +1 -1
  134. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +2 -4
  135. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +2 -4
  136. package/deferredcontent/deferredcontent.common.js +2 -7
  137. package/deferredcontent/deferredcontent.umd.js +2 -7
  138. package/dialog/dialog.common.js +1191 -115
  139. package/dialog/dialog.umd.js +1191 -115
  140. package/dialog/dialog.umd.min.js +1 -1
  141. package/divider/divider.common.js +2 -4
  142. package/divider/divider.umd.js +2 -4
  143. package/dock/dock.common.js +7 -14
  144. package/dock/dock.umd.js +7 -14
  145. package/dock/docksub.common.js +5 -9
  146. package/dock/docksub.umd.js +5 -9
  147. package/dropdown/dropdown.common.js +91 -240
  148. package/dropdown/dropdown.umd.js +91 -240
  149. package/dropdown/dropdown.umd.min.js +1 -1
  150. package/editor/editor.common.js +8 -21
  151. package/editor/editor.umd.js +8 -21
  152. package/fieldset/fieldset.common.js +1211 -125
  153. package/fieldset/fieldset.umd.js +1211 -125
  154. package/fieldset/fieldset.umd.min.js +1 -1
  155. package/fileupload/fileupload.common.js +86 -192
  156. package/fileupload/fileupload.umd.js +86 -192
  157. package/fileupload/fileupload.umd.min.js +1 -1
  158. package/fullcalendar/fullcalendar.common.js +1304 -36
  159. package/fullcalendar/fullcalendar.umd.js +1304 -36
  160. package/fullcalendar/fullcalendar.umd.min.js +3 -3
  161. package/galleria/demo.html +3 -3
  162. package/galleria/galleria.common.js +86 -200
  163. package/galleria/galleria.umd.js +86 -200
  164. package/galleria/galleria.umd.min.js +1 -1
  165. package/galleria/galleriacontent.common.js +84 -190
  166. package/galleria/galleriacontent.umd.js +84 -190
  167. package/galleria/galleriacontent.umd.min.js +1 -1
  168. package/galleria/galleriaitem.common.js +1212 -134
  169. package/galleria/galleriaitem.umd.js +1212 -134
  170. package/galleria/galleriaitem.umd.min.js +1 -1
  171. package/galleria/galleriaitemslot.common.js +4 -10
  172. package/galleria/galleriaitemslot.umd.js +4 -10
  173. package/galleria/galleriathumbnails.common.js +76 -174
  174. package/galleria/galleriathumbnails.umd.js +76 -174
  175. package/galleria/galleriathumbnails.umd.min.js +1 -1
  176. package/imagepreview/imagepreview.common.js +1176 -79
  177. package/imagepreview/imagepreview.umd.js +1176 -79
  178. package/imagepreview/imagepreview.umd.min.js +1 -1
  179. package/inlinemessage/inlinemessage.common.js +2 -5
  180. package/inlinemessage/inlinemessage.umd.js +2 -5
  181. package/inplace/inplace.common.js +1189 -105
  182. package/inplace/inplace.umd.js +1189 -105
  183. package/inplace/inplace.umd.min.js +1 -1
  184. package/inputmask/inputmask.common.js +1237 -217
  185. package/inputmask/inputmask.umd.js +1237 -217
  186. package/inputmask/inputmask.umd.min.js +1 -1
  187. package/inputnumber/InputNumber.vue +2 -2
  188. package/inputnumber/inputnumber.common.js +136 -286
  189. package/inputnumber/inputnumber.umd.js +136 -286
  190. package/inputnumber/inputnumber.umd.min.js +1 -1
  191. package/inputswitch/inputswitch.common.js +2 -5
  192. package/inputswitch/inputswitch.umd.js +2 -5
  193. package/inputtext/inputtext.common.js +1177 -31
  194. package/inputtext/inputtext.umd.js +1177 -31
  195. package/inputtext/inputtext.umd.min.js +1 -1
  196. package/knob/knob.common.js +4 -5
  197. package/knob/knob.umd.js +4 -5
  198. package/listbox/listbox.common.js +76 -213
  199. package/listbox/listbox.umd.js +76 -213
  200. package/listbox/listbox.umd.min.js +1 -1
  201. package/megamenu/megamenu.common.js +1186 -121
  202. package/megamenu/megamenu.umd.js +1186 -121
  203. package/megamenu/megamenu.umd.min.js +1 -1
  204. package/menu/menu.common.js +1203 -138
  205. package/menu/menu.umd.js +1203 -138
  206. package/menu/menu.umd.min.js +1 -1
  207. package/menu/menuitem.common.js +1214 -128
  208. package/menu/menuitem.umd.js +1214 -128
  209. package/menu/menuitem.umd.min.js +1 -1
  210. package/menubar/menubar.common.js +1204 -141
  211. package/menubar/menubar.umd.js +1204 -141
  212. package/menubar/menubar.umd.min.js +1 -1
  213. package/menubar/menubarsub.common.js +1202 -135
  214. package/menubar/menubarsub.umd.js +1202 -135
  215. package/menubar/menubarsub.umd.min.js +1 -1
  216. package/message/message.common.js +1187 -102
  217. package/message/message.umd.js +1187 -102
  218. package/message/message.umd.min.js +1 -1
  219. package/multiselect/MultiSelect.vue +1 -1
  220. package/multiselect/multiselect.common.js +139 -304
  221. package/multiselect/multiselect.umd.js +139 -304
  222. package/multiselect/multiselect.umd.min.js +1 -1
  223. package/orderlist/orderlist.common.js +88 -230
  224. package/orderlist/orderlist.umd.js +88 -230
  225. package/orderlist/orderlist.umd.min.js +1 -1
  226. package/organizationchart/organizationchart.common.js +1200 -111
  227. package/organizationchart/organizationchart.umd.js +1200 -111
  228. package/organizationchart/organizationchart.umd.min.js +1 -1
  229. package/organizationchart/organizationchartnode.common.js +1186 -87
  230. package/organizationchart/organizationchartnode.umd.js +1186 -87
  231. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  232. package/overlayeventbus/OverlayEventBus.js +0 -4
  233. package/overlayeventbus/overlayeventbus.common.js +0 -2
  234. package/overlayeventbus/overlayeventbus.umd.js +0 -2
  235. package/overlaypanel/OverlayPanel.d.ts +3 -1
  236. package/overlaypanel/OverlayPanel.vue +2 -0
  237. package/overlaypanel/overlaypanel.common.js +1223 -158
  238. package/overlaypanel/overlaypanel.umd.js +1223 -158
  239. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  240. package/package.json +2 -2
  241. package/paginator/currentpagereport.common.js +2 -4
  242. package/paginator/currentpagereport.umd.js +2 -4
  243. package/paginator/firstpagelink.common.js +1211 -125
  244. package/paginator/firstpagelink.umd.js +1211 -125
  245. package/paginator/firstpagelink.umd.min.js +1 -1
  246. package/paginator/jumptopagedropdown.common.js +93 -246
  247. package/paginator/jumptopagedropdown.umd.js +93 -246
  248. package/paginator/jumptopagedropdown.umd.min.js +1 -1
  249. package/paginator/jumptopageinput.common.js +142 -294
  250. package/paginator/jumptopageinput.umd.js +142 -294
  251. package/paginator/jumptopageinput.umd.min.js +1 -1
  252. package/paginator/lastpagelink.common.js +1211 -125
  253. package/paginator/lastpagelink.umd.js +1211 -125
  254. package/paginator/lastpagelink.umd.min.js +1 -1
  255. package/paginator/nextpagelink.common.js +1211 -125
  256. package/paginator/nextpagelink.umd.js +1211 -125
  257. package/paginator/nextpagelink.umd.min.js +1 -1
  258. package/paginator/pagelinks.common.js +1211 -125
  259. package/paginator/pagelinks.umd.js +1211 -125
  260. package/paginator/pagelinks.umd.min.js +1 -1
  261. package/paginator/paginator.common.js +186 -472
  262. package/paginator/paginator.umd.js +186 -472
  263. package/paginator/paginator.umd.min.js +1 -1
  264. package/paginator/prevpagelink.common.js +1211 -125
  265. package/paginator/prevpagelink.umd.js +1211 -125
  266. package/paginator/prevpagelink.umd.min.js +1 -1
  267. package/paginator/rowsperpagedropdown.common.js +93 -246
  268. package/paginator/rowsperpagedropdown.umd.js +93 -246
  269. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  270. package/panel/panel.common.js +1211 -125
  271. package/panel/panel.umd.js +1211 -125
  272. package/panel/panel.umd.min.js +1 -1
  273. package/panelmenu/panelmenu.common.js +10 -22
  274. package/panelmenu/panelmenu.umd.js +10 -22
  275. package/panelmenu/panelmenusub.common.js +5 -11
  276. package/panelmenu/panelmenusub.umd.js +5 -11
  277. package/password/Password.vue +40 -12
  278. package/password/password.common.js +1306 -212
  279. package/password/password.umd.js +1306 -212
  280. package/password/password.umd.min.js +1 -1
  281. package/picklist/picklist.common.js +88 -262
  282. package/picklist/picklist.umd.js +88 -262
  283. package/picklist/picklist.umd.min.js +1 -1
  284. package/progressbar/progressbar.common.js +2 -4
  285. package/progressbar/progressbar.umd.js +2 -4
  286. package/progressspinner/progressspinner.common.js +2 -5
  287. package/progressspinner/progressspinner.umd.js +2 -5
  288. package/radiobutton/radiobutton.common.js +53 -91
  289. package/radiobutton/radiobutton.umd.js +53 -91
  290. package/radiobutton/radiobutton.umd.min.js +1 -1
  291. package/rating/rating.common.js +2 -4
  292. package/rating/rating.umd.js +2 -4
  293. package/resources/primevue.css +0 -0
  294. package/resources/primevue.min.css +0 -0
  295. package/ripple/Ripple.js +0 -18
  296. package/ripple/ripple.common.js +1178 -90
  297. package/ripple/ripple.umd.js +1178 -90
  298. package/ripple/ripple.umd.min.js +1 -1
  299. package/row/row.common.js +2 -4
  300. package/row/row.umd.js +2 -4
  301. package/scrollpanel/scrollpanel.common.js +1190 -103
  302. package/scrollpanel/scrollpanel.umd.js +1190 -103
  303. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  304. package/scrolltop/scrolltop.common.js +1183 -87
  305. package/scrolltop/scrolltop.umd.js +1183 -87
  306. package/scrolltop/scrolltop.umd.min.js +1 -1
  307. package/selectbutton/selectbutton.common.js +74 -200
  308. package/selectbutton/selectbutton.umd.js +74 -200
  309. package/selectbutton/selectbutton.umd.min.js +1 -1
  310. package/sidebar/Sidebar.d.ts +1 -0
  311. package/sidebar/Sidebar.vue +3 -0
  312. package/sidebar/sidebar.common.js +1223 -145
  313. package/sidebar/sidebar.umd.js +1223 -145
  314. package/sidebar/sidebar.umd.min.js +1 -1
  315. package/skeleton/skeleton.common.js +2 -4
  316. package/skeleton/skeleton.umd.js +2 -4
  317. package/slider/Slider.vue +1 -1
  318. package/slider/slider.common.js +121 -188
  319. package/slider/slider.umd.js +121 -188
  320. package/slider/slider.umd.min.js +1 -1
  321. package/speeddial/SpeedDial.vue +2 -2
  322. package/speeddial/speeddial.common.js +1269 -204
  323. package/speeddial/speeddial.umd.js +1269 -204
  324. package/speeddial/speeddial.umd.min.js +1 -1
  325. package/splitbutton/splitbutton.common.js +1209 -148
  326. package/splitbutton/splitbutton.umd.js +1209 -148
  327. package/splitbutton/splitbutton.umd.min.js +1 -1
  328. package/splitter/splitter.common.js +1182 -101
  329. package/splitter/splitter.umd.js +1182 -101
  330. package/splitter/splitter.umd.min.js +1 -1
  331. package/steps/steps.common.js +5 -9
  332. package/steps/steps.umd.js +5 -9
  333. package/styleclass/StyleClass.js +0 -43
  334. package/styleclass/styleclass.common.js +1199 -133
  335. package/styleclass/styleclass.umd.js +1199 -133
  336. package/styleclass/styleclass.umd.min.js +1 -1
  337. package/tabmenu/TabMenu.vue +1 -9
  338. package/tabmenu/tabmenu.common.js +1215 -206
  339. package/tabmenu/tabmenu.umd.js +1215 -206
  340. package/tabmenu/tabmenu.umd.min.js +1 -1
  341. package/tabpanel/tabpanel.common.js +2 -5
  342. package/tabpanel/tabpanel.umd.js +2 -5
  343. package/tabview/tabview.common.js +86 -185
  344. package/tabview/tabview.umd.js +86 -185
  345. package/tabview/tabview.umd.min.js +1 -1
  346. package/tag/tag.common.js +2 -4
  347. package/tag/tag.umd.js +2 -4
  348. package/terminal/terminal.common.js +2 -4
  349. package/terminal/terminal.umd.js +2 -4
  350. package/terminalservice/TerminalService.js +0 -3
  351. package/textarea/Textarea.vue +24 -1
  352. package/textarea/textarea.common.js +3233 -94
  353. package/textarea/textarea.umd.js +3233 -94
  354. package/textarea/textarea.umd.min.js +1 -1
  355. package/tieredmenu/demo.html +4 -3
  356. package/tieredmenu/tieredmenu.common.js +1199 -149
  357. package/tieredmenu/tieredmenu.umd.js +1199 -149
  358. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  359. package/tieredmenu/tieredmenusub.common.js +1206 -136
  360. package/tieredmenu/tieredmenusub.umd.js +1206 -136
  361. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  362. package/timeline/timeline.common.js +53 -90
  363. package/timeline/timeline.umd.js +53 -90
  364. package/timeline/timeline.umd.min.js +1 -1
  365. package/toast/toast.common.js +74 -146
  366. package/toast/toast.umd.js +74 -146
  367. package/toast/toast.umd.min.js +1 -1
  368. package/toast/toastmessage.common.js +1187 -102
  369. package/toast/toastmessage.umd.js +1187 -102
  370. package/toast/toastmessage.umd.min.js +1 -1
  371. package/toastservice/ToastEventBus.js +0 -3
  372. package/toastservice/ToastService.js +0 -3
  373. package/togglebutton/togglebutton.common.js +1211 -125
  374. package/togglebutton/togglebutton.umd.js +1211 -125
  375. package/togglebutton/togglebutton.umd.min.js +1 -1
  376. package/toolbar/toolbar.common.js +2 -4
  377. package/toolbar/toolbar.umd.js +2 -4
  378. package/tooltip/Tooltip.js +7 -87
  379. package/tooltip/tooltip.common.js +84 -201
  380. package/tooltip/tooltip.umd.js +84 -201
  381. package/tooltip/tooltip.umd.min.js +1 -1
  382. package/tree/demo.html +3 -3
  383. package/tree/tree.common.js +100 -281
  384. package/tree/tree.umd.js +100 -281
  385. package/tree/tree.umd.min.js +1 -1
  386. package/tree/treenode.common.js +1240 -183
  387. package/tree/treenode.umd.js +1240 -183
  388. package/tree/treenode.umd.min.js +1 -1
  389. package/treetable/demo.html +3 -3
  390. package/treetable/footercell.common.js +83 -170
  391. package/treetable/footercell.umd.js +83 -170
  392. package/treetable/footercell.umd.min.js +1 -1
  393. package/treetable/headercell.common.js +83 -178
  394. package/treetable/headercell.umd.js +83 -178
  395. package/treetable/headercell.umd.min.js +1 -1
  396. package/treetable/treetable.common.js +220 -702
  397. package/treetable/treetable.umd.js +220 -702
  398. package/treetable/treetable.umd.min.js +1 -1
  399. package/treetable/treetablerow.common.js +91 -211
  400. package/treetable/treetablerow.umd.js +91 -211
  401. package/treetable/treetablerow.umd.min.js +1 -1
  402. package/treetable/treetablerowloader.common.js +94 -232
  403. package/treetable/treetablerowloader.umd.js +94 -232
  404. package/treetable/treetablerowloader.umd.min.js +1 -1
  405. package/tristatecheckbox/tristatecheckbox.common.js +2 -12
  406. package/tristatecheckbox/tristatecheckbox.umd.js +2 -12
  407. package/utils/ConnectedOverlayScrollHandler.js +4 -13
  408. package/utils/DomHandler.js +18 -63
  409. package/utils/EventBus.js +0 -3
  410. package/utils/ObjectUtils.js +15 -59
  411. package/utils/UniqueComponentId.js +0 -1
  412. package/utils/Utils.js +0 -6
  413. package/utils/connectedoverlayscrollhandler.common.js +1183 -88
  414. package/utils/connectedoverlayscrollhandler.umd.js +1183 -88
  415. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  416. package/utils/domhandler.common.js +1187 -85
  417. package/utils/domhandler.umd.js +1187 -85
  418. package/utils/domhandler.umd.min.js +1 -1
  419. package/utils/eventbus.common.js +0 -2
  420. package/utils/eventbus.umd.js +0 -2
  421. package/utils/objectutils.common.js +51 -86
  422. package/utils/objectutils.umd.js +51 -86
  423. package/utils/objectutils.umd.min.js +1 -1
  424. package/utils/utils.common.js +81 -170
  425. package/utils/utils.umd.js +81 -170
  426. package/utils/utils.umd.min.js +1 -1
  427. package/web-types.json +8 -1
package/README.md CHANGED
@@ -1,9 +1,156 @@
1
1
 
2
2
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3
3
  [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue)
4
+ [![Discord Chat](https://img.shields.io/discord/557940238991753223.svg?color=7289da&label=chat&logo=discord)](https://discord.gg/gzKFYnpmCY)
4
5
 
5
- [![PrimeVue Hero](https://www.primefaces.org/wp-content/uploads/2020/08/primevue-promo.jpg)](https://www.primefaces.org/primevue)
6
+ [![PrimeVue Hero](https://www.primefaces.org/wp-content/uploads/2020/08/primevue-promo.jpg)](https://www.primefaces.org/primevue-v2/#/)
6
7
 
7
- ### Website
8
+ # PrimeVue
8
9
 
9
- Visit the [PrimeVue Website](https://www.primefaces.org/primevue/) for general information, demos and documentation.
10
+ Visit the [PrimeVue Website](https://www.primefaces.org/primevue-v2/#/) for general information, demos and documentation.
11
+
12
+ ## Downloads
13
+
14
+ PrimeVue is available at npm, if you have an existing application run the following command to download it to your project.
15
+
16
+ ````
17
+ npm install primevue@^2 --save
18
+ npm install primeicons --save
19
+ ````
20
+
21
+ or
22
+
23
+ ```
24
+ yarn add primevue@^2
25
+ yarn add primeicons
26
+ ```
27
+
28
+ ## Import
29
+
30
+ ### Module
31
+
32
+ ```javascript
33
+ import PrimeVue from 'primevue/config';
34
+ import Dialog from 'primevue/dialog';
35
+
36
+ Vue.component('Dialog', Dialog);
37
+ Vue.use(PrimeVue);
38
+ ```
39
+
40
+ Finally you'll be able to utilize the component in your application. See the Styles section to apply styling.
41
+
42
+ ```vue
43
+ <Dialog></Dialog>
44
+ ```
45
+
46
+ ## Script Tag
47
+
48
+ Other alternative is utilizing the components directly within the browser with the ***iife*** build. Note that PrimeVue does not provide a ***umd*** build.
49
+
50
+ ```javascript
51
+ <html>
52
+ <head>
53
+ <meta charset="utf-8">
54
+ <title>calendar demo</title>
55
+ <link href="https://unpkg.com/primevue^2/resources/themes/saga-blue/theme.css " rel="stylesheet">
56
+ <link href="https://unpkg.com/primevue^2/resources/primevue.min.css " rel="stylesheet">
57
+ <link href="https://unpkg.com/primeicons/primeicons.css " rel="stylesheet">
58
+ <script src="https://unpkg.com/vue"></script>
59
+ <script src="https://unpkg.com/primevue^2/calendar/calendar.umd.min.js"></script>
60
+
61
+ <div id="app">
62
+ <p-calendar></p-calendar>
63
+ </div>
64
+
65
+ <script>
66
+ new Vue({
67
+ components: {
68
+ 'p-calendar': calendar
69
+ }
70
+ }).$mount('#app')
71
+ </script>
72
+
73
+ </head>
74
+ </html>
75
+ ```
76
+
77
+ ## Configuration
78
+
79
+ ### Dependencies
80
+
81
+ Majority of PrimeVue components (95%) are native and there are some exceptions having 3rd party dependencies such as Quill for Editor.
82
+
83
+ In addition, components require PrimeIcons library for icons.
84
+
85
+ ```javascript
86
+ dependencies: {
87
+ "vue": "^2.6.10",
88
+ "primeicons": "^6.0.0"
89
+ }
90
+ ```
91
+
92
+ ## Styles
93
+
94
+ The css dependencies are as follows, note that you may change the theme with another one of your choice.
95
+
96
+ ```css
97
+ primevue/resources/themes/saga-blue/theme.css //theme
98
+ primevue/resources/primevue.min.css //core css
99
+ primeicons/primeicons.css //icons
100
+ ```
101
+
102
+ If you are using a bundler such as webpack with a css loader you may also import them to your main application component.
103
+
104
+ ```javascript
105
+ import 'primevue/resources/themes/lara-light-indigo/theme.css';
106
+ import 'primevue/resources/primevue.min.css';
107
+ import 'primeicons/primeicons.css';
108
+ ```
109
+
110
+ ## Nuxt Integration
111
+
112
+ PrimeVue has a built-in nuxt module. Open ***nuxt.config.js*** and add ***primevue/nuxt*** to the modules section along with your configuration.
113
+
114
+ **nuxt.config.js**
115
+
116
+ Open the nuxt configuration file and add the css dependencies.
117
+
118
+ ```javascript
119
+ modules: [
120
+ [
121
+ 'primevue/nuxt', {
122
+ theme: string, //name of the theme, defaults to saga-blue
123
+ ripple: boolean, //whether the ripple animation is enabled, defaults to false
124
+ components: [], //an array of components to be registered
125
+ directives: [] //an array of directives to be registered
126
+ }
127
+ ]
128
+ ]
129
+ ```
130
+
131
+ Here is an example configuration.
132
+
133
+ ```javascript
134
+ modules: [
135
+ [
136
+ 'primevue/nuxt', {
137
+ theme: 'md-light-indigo',
138
+ ripple: true,
139
+ components: ['InputText','Button','DataTable','Dialog'],
140
+ directives: ['Tooltip','Badge']
141
+ }
142
+ ]
143
+ ]
144
+ ```
145
+
146
+ An alternative configuration is possible using the ***primevue*** property.
147
+
148
+ ```javascript
149
+ modules: ['primevue/nuxt'],
150
+ primevue: {
151
+ theme: 'md-light-indigo',
152
+ ripple: true,
153
+ components: ['InputText','Button','DataTable','Dialog'],
154
+ directives: ['Tooltip','Badge']
155
+ }
156
+ ```
@@ -1359,16 +1359,14 @@ if (typeof window !== 'undefined') {
1359
1359
  // Indicate to webpack that this file can be concatenated
1360
1360
  /* harmony default export */ var setPublicPath = (null);
1361
1361
 
1362
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/accordion/Accordion.vue?vue&type=template&id=75d59bb8&
1362
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"51d147ac-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/accordion/Accordion.vue?vue&type=template&id=75d59bb8&
1363
1363
  var render = function render() {
1364
1364
  var _vm = this,
1365
- _c = _vm._self._c;
1366
-
1365
+ _c = _vm._self._c;
1367
1366
  return _c('div', {
1368
1367
  staticClass: "p-accordion p-component"
1369
1368
  }, [_vm._t("default")], 2);
1370
1369
  };
1371
-
1372
1370
  var staticRenderFns = [];
1373
1371
 
1374
1372
  // CONCATENATED MODULE: ./src/components/accordion/Accordion.vue?vue&type=template&id=75d59bb8&
@@ -1404,10 +1402,8 @@ var es6_number_constructor = __webpack_require__("c5f6");
1404
1402
  methods: {
1405
1403
  onToggle: function onToggle(event, tab, index, isActive) {
1406
1404
  var eventName = isActive ? 'tab-close' : 'tab-open';
1407
-
1408
1405
  if (this.multiple) {
1409
1406
  var x = this.d_activeIndex;
1410
-
1411
1407
  if (x && x.some(function (i) {
1412
1408
  return i === index;
1413
1409
  })) {
@@ -1418,7 +1414,6 @@ var es6_number_constructor = __webpack_require__("c5f6");
1418
1414
  } else {
1419
1415
  index === this.d_activeIndex ? this.d_activeIndex = null : this.d_activeIndex = index;
1420
1416
  }
1421
-
1422
1417
  this.$emit('update:activeIndex', this.d_activeIndex);
1423
1418
  this.$emit(eventName, {
1424
1419
  originalEvent: event,
@@ -1368,16 +1368,14 @@ if (typeof window !== 'undefined') {
1368
1368
  // Indicate to webpack that this file can be concatenated
1369
1369
  /* harmony default export */ var setPublicPath = (null);
1370
1370
 
1371
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/accordion/Accordion.vue?vue&type=template&id=75d59bb8&
1371
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"51d147ac-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/accordion/Accordion.vue?vue&type=template&id=75d59bb8&
1372
1372
  var render = function render() {
1373
1373
  var _vm = this,
1374
- _c = _vm._self._c;
1375
-
1374
+ _c = _vm._self._c;
1376
1375
  return _c('div', {
1377
1376
  staticClass: "p-accordion p-component"
1378
1377
  }, [_vm._t("default")], 2);
1379
1378
  };
1380
-
1381
1379
  var staticRenderFns = [];
1382
1380
 
1383
1381
  // CONCATENATED MODULE: ./src/components/accordion/Accordion.vue?vue&type=template&id=75d59bb8&
@@ -1413,10 +1411,8 @@ var es6_number_constructor = __webpack_require__("c5f6");
1413
1411
  methods: {
1414
1412
  onToggle: function onToggle(event, tab, index, isActive) {
1415
1413
  var eventName = isActive ? 'tab-close' : 'tab-open';
1416
-
1417
1414
  if (this.multiple) {
1418
1415
  var x = this.d_activeIndex;
1419
-
1420
1416
  if (x && x.some(function (i) {
1421
1417
  return i === index;
1422
1418
  })) {
@@ -1427,7 +1423,6 @@ var es6_number_constructor = __webpack_require__("c5f6");
1427
1423
  } else {
1428
1424
  index === this.d_activeIndex ? this.d_activeIndex = null : this.d_activeIndex = index;
1429
1425
  }
1430
-
1431
1426
  this.$emit('update:activeIndex', this.d_activeIndex);
1432
1427
  this.$emit(eventName, {
1433
1428
  originalEvent: event,