primevue 2.9.2 → 2.10.1

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 (462) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +150 -3
  3. package/accordion/accordion.common.js +66 -72
  4. package/accordion/accordion.umd.js +66 -72
  5. package/accordion/accordion.umd.min.js +1 -1
  6. package/accordiontab/accordiontab.common.js +73 -103
  7. package/accordiontab/accordiontab.umd.js +73 -103
  8. package/accordiontab/accordiontab.umd.min.js +1 -1
  9. package/api/Api.d.ts +24 -2
  10. package/api/Api.js +0 -6
  11. package/api/FilterService.js +2 -55
  12. package/api/PrimeIcons.js +24 -2
  13. package/api/api.common.js +35 -98
  14. package/api/api.umd.js +35 -98
  15. package/api/api.umd.min.js +1 -1
  16. package/api/filterservice.common.js +11 -96
  17. package/api/filterservice.umd.js +11 -96
  18. package/api/primeicons.common.js +24 -2
  19. package/api/primeicons.umd.js +24 -2
  20. package/api/primeicons.umd.min.js +1 -1
  21. package/autocomplete/autocomplete.common.js +241 -293
  22. package/autocomplete/autocomplete.umd.js +241 -293
  23. package/autocomplete/autocomplete.umd.min.js +1 -1
  24. package/avatar/avatar.common.js +64 -61
  25. package/avatar/avatar.umd.js +64 -61
  26. package/avatar/avatar.umd.min.js +1 -1
  27. package/avatargroup/avatargroup.common.js +44 -47
  28. package/avatargroup/avatargroup.umd.js +44 -47
  29. package/avatargroup/avatargroup.umd.min.js +1 -1
  30. package/badge/badge.common.js +22 -23
  31. package/badge/badge.umd.js +22 -23
  32. package/badge/badge.umd.min.js +1 -1
  33. package/badgedirective/BadgeDirective.js +0 -13
  34. package/badgedirective/badgedirective.common.js +13 -71
  35. package/badgedirective/badgedirective.umd.js +13 -71
  36. package/blockui/blockui.common.js +79 -138
  37. package/blockui/blockui.umd.js +79 -138
  38. package/blockui/blockui.umd.min.js +1 -1
  39. package/breadcrumb/breadcrumb.common.js +130 -90
  40. package/breadcrumb/breadcrumb.umd.js +130 -90
  41. package/breadcrumb/breadcrumb.umd.min.js +1 -1
  42. package/breadcrumb/breadcrumbitem.common.js +67 -40
  43. package/breadcrumb/breadcrumbitem.umd.js +67 -40
  44. package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
  45. package/button/Button.d.ts +2 -0
  46. package/button/Button.vue +10 -1
  47. package/button/button.common.js +64 -109
  48. package/button/button.umd.js +64 -109
  49. package/button/button.umd.min.js +1 -1
  50. package/calendar/Calendar.vue +7 -3
  51. package/calendar/calendar.common.js +714 -721
  52. package/calendar/calendar.umd.js +714 -721
  53. package/calendar/calendar.umd.min.js +1 -1
  54. package/card/card.common.js +59 -62
  55. package/card/card.umd.js +59 -62
  56. package/card/card.umd.min.js +1 -1
  57. package/carousel/carousel.common.js +190 -231
  58. package/carousel/carousel.umd.js +190 -231
  59. package/carousel/carousel.umd.min.js +1 -1
  60. package/cascadeselect/cascadeselect.common.js +230 -294
  61. package/cascadeselect/cascadeselect.umd.js +230 -294
  62. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  63. package/cascadeselect/cascadeselectsub.common.js +101 -183
  64. package/cascadeselect/cascadeselectsub.umd.js +101 -183
  65. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  66. package/cascadeselect/demo.html +4 -3
  67. package/chart/chart.common.js +77 -74
  68. package/chart/chart.umd.js +77 -74
  69. package/chart/chart.umd.min.js +1 -1
  70. package/checkbox/checkbox.common.js +70 -87
  71. package/checkbox/checkbox.umd.js +70 -87
  72. package/checkbox/checkbox.umd.min.js +1 -1
  73. package/chip/chip.common.js +66 -52
  74. package/chip/chip.umd.js +66 -52
  75. package/chip/chip.umd.min.js +1 -1
  76. package/chips/chips.common.js +122 -96
  77. package/chips/chips.umd.js +122 -96
  78. package/chips/chips.umd.min.js +1 -1
  79. package/colorpicker/colorpicker.common.js +149 -193
  80. package/colorpicker/colorpicker.umd.js +149 -193
  81. package/colorpicker/colorpicker.umd.min.js +1 -1
  82. package/column/column.common.js +13 -15
  83. package/column/column.umd.js +13 -15
  84. package/columngroup/columngroup.common.js +20 -25
  85. package/columngroup/columngroup.umd.js +20 -25
  86. package/columngroup/columngroup.umd.min.js +1 -1
  87. package/config/PrimeVue.js +0 -5
  88. package/config/primevue.common.js +35 -102
  89. package/config/primevue.umd.js +35 -102
  90. package/config/primevue.umd.min.js +1 -1
  91. package/confirmationeventbus/ConfirmationEventBus.js +0 -4
  92. package/confirmationeventbus/confirmationeventbus.common.js +0 -2
  93. package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
  94. package/confirmationservice/ConfirmationService.js +0 -3
  95. package/confirmationservice/confirmationservice.common.js +0 -2
  96. package/confirmationservice/confirmationservice.umd.js +0 -2
  97. package/confirmdialog/confirmdialog.common.js +247 -218
  98. package/confirmdialog/confirmdialog.umd.js +247 -218
  99. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  100. package/confirmpopup/confirmpopup.common.js +154 -196
  101. package/confirmpopup/confirmpopup.umd.js +154 -196
  102. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  103. package/contextmenu/contextmenu.common.js +216 -206
  104. package/contextmenu/contextmenu.umd.js +216 -206
  105. package/contextmenu/contextmenu.umd.min.js +1 -1
  106. package/contextmenu/contextmenusub.common.js +138 -134
  107. package/contextmenu/contextmenusub.umd.js +138 -134
  108. package/contextmenu/contextmenusub.umd.min.js +1 -1
  109. package/contextmenu/demo.html +3 -4
  110. package/datatable/BodyCell.vue +11 -2
  111. package/datatable/ColumnFilter.vue +1 -1
  112. package/datatable/DataTable.vue +2 -12
  113. package/datatable/HeaderCheckbox.vue +5 -8
  114. package/datatable/bodycell.common.js +283 -246
  115. package/datatable/bodycell.umd.js +283 -246
  116. package/datatable/bodycell.umd.min.js +1 -1
  117. package/datatable/columnfilter.common.js +516 -422
  118. package/datatable/columnfilter.umd.js +516 -422
  119. package/datatable/columnfilter.umd.min.js +1 -1
  120. package/datatable/columnslot.common.js +13 -15
  121. package/datatable/columnslot.umd.js +13 -15
  122. package/datatable/datatable.common.js +2250 -1551
  123. package/datatable/datatable.umd.js +2250 -1551
  124. package/datatable/datatable.umd.min.js +1 -1
  125. package/datatable/footercell.common.js +56 -142
  126. package/datatable/footercell.umd.js +56 -142
  127. package/datatable/footercell.umd.min.js +1 -1
  128. package/datatable/headercell.common.js +666 -483
  129. package/datatable/headercell.umd.js +666 -483
  130. package/datatable/headercell.umd.min.js +1 -1
  131. package/datatable/headercheckbox.common.js +59 -33
  132. package/datatable/headercheckbox.umd.js +59 -33
  133. package/datatable/headercheckbox.umd.min.js +1 -1
  134. package/datatable/rowcheckbox.common.js +61 -30
  135. package/datatable/rowcheckbox.umd.js +61 -30
  136. package/datatable/rowcheckbox.umd.min.js +1 -1
  137. package/datatable/rowradiobutton.common.js +54 -27
  138. package/datatable/rowradiobutton.umd.js +54 -27
  139. package/datatable/rowradiobutton.umd.min.js +1 -1
  140. package/datatable/tablebody.common.js +461 -321
  141. package/datatable/tablebody.umd.js +461 -321
  142. package/datatable/tablebody.umd.min.js +1 -1
  143. package/datatable/tablefooter.common.js +94 -175
  144. package/datatable/tablefooter.umd.js +94 -175
  145. package/datatable/tablefooter.umd.min.js +1 -1
  146. package/datatable/tableheader.common.js +872 -539
  147. package/datatable/tableheader.umd.js +872 -539
  148. package/datatable/tableheader.umd.min.js +1 -1
  149. package/datatable/tableloadingbody.common.js +36 -29
  150. package/datatable/tableloadingbody.umd.js +36 -29
  151. package/datatable/tableloadingbody.umd.min.js +1 -1
  152. package/dataview/dataview.common.js +851 -720
  153. package/dataview/dataview.umd.js +851 -720
  154. package/dataview/dataview.umd.min.js +1 -1
  155. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +46 -30
  156. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +46 -30
  157. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
  158. package/deferredcontent/deferredcontent.common.js +22 -28
  159. package/deferredcontent/deferredcontent.umd.js +22 -28
  160. package/deferredcontent/deferredcontent.umd.min.js +1 -1
  161. package/dialog/dialog.common.js +152 -179
  162. package/dialog/dialog.umd.js +152 -179
  163. package/dialog/dialog.umd.min.js +1 -1
  164. package/divider/divider.common.js +49 -49
  165. package/divider/divider.umd.js +49 -49
  166. package/divider/divider.umd.min.js +1 -1
  167. package/dock/dock.common.js +179 -95
  168. package/dock/dock.umd.js +179 -95
  169. package/dock/dock.umd.min.js +1 -1
  170. package/dock/docksub.common.js +132 -54
  171. package/dock/docksub.umd.js +132 -54
  172. package/dock/docksub.umd.min.js +1 -1
  173. package/dropdown/dropdown.common.js +233 -289
  174. package/dropdown/dropdown.umd.js +233 -289
  175. package/dropdown/dropdown.umd.min.js +1 -1
  176. package/editor/editor.common.js +194 -104
  177. package/editor/editor.umd.js +194 -104
  178. package/editor/editor.umd.min.js +3 -3
  179. package/fieldset/fieldset.common.js +133 -165
  180. package/fieldset/fieldset.umd.js +133 -165
  181. package/fieldset/fieldset.umd.min.js +1 -1
  182. package/fileupload/fileupload.common.js +431 -373
  183. package/fileupload/fileupload.umd.js +431 -373
  184. package/fileupload/fileupload.umd.min.js +1 -1
  185. package/fullcalendar/fullcalendar.common.js +75 -64
  186. package/fullcalendar/fullcalendar.umd.js +75 -64
  187. package/fullcalendar/fullcalendar.umd.min.js +4 -18
  188. package/galleria/galleria.common.js +403 -299
  189. package/galleria/galleria.umd.js +403 -299
  190. package/galleria/galleria.umd.min.js +1 -1
  191. package/galleria/galleriacontent.common.js +324 -235
  192. package/galleria/galleriacontent.umd.js +324 -235
  193. package/galleria/galleriacontent.umd.min.js +1 -1
  194. package/galleria/galleriaitem.common.js +127 -135
  195. package/galleria/galleriaitem.umd.js +127 -135
  196. package/galleria/galleriaitem.umd.min.js +1 -1
  197. package/galleria/galleriaitemslot.common.js +17 -25
  198. package/galleria/galleriaitemslot.umd.js +17 -25
  199. package/galleria/galleriathumbnails.common.js +125 -171
  200. package/galleria/galleriathumbnails.umd.js +125 -171
  201. package/galleria/galleriathumbnails.umd.min.js +1 -1
  202. package/imagepreview/imagepreview.common.js +174 -163
  203. package/imagepreview/imagepreview.umd.js +174 -163
  204. package/imagepreview/imagepreview.umd.min.js +1 -1
  205. package/inlinemessage/inlinemessage.common.js +61 -57
  206. package/inlinemessage/inlinemessage.umd.js +61 -57
  207. package/inlinemessage/inlinemessage.umd.min.js +1 -1
  208. package/inplace/inplace.common.js +139 -170
  209. package/inplace/inplace.umd.js +139 -170
  210. package/inplace/inplace.umd.min.js +1 -1
  211. package/inputmask/inputmask.common.js +51 -174
  212. package/inputmask/inputmask.umd.js +51 -174
  213. package/inputmask/inputmask.umd.min.js +1 -1
  214. package/inputnumber/InputNumber.vue +6 -3
  215. package/inputnumber/inputnumber.common.js +205 -293
  216. package/inputnumber/inputnumber.umd.js +205 -293
  217. package/inputnumber/inputnumber.umd.min.js +1 -1
  218. package/inputswitch/inputswitch.common.js +219 -37
  219. package/inputswitch/inputswitch.umd.js +219 -37
  220. package/inputswitch/inputswitch.umd.min.js +1 -1
  221. package/inputtext/inputtext.common.js +27 -28
  222. package/inputtext/inputtext.umd.js +27 -28
  223. package/inputtext/inputtext.umd.min.js +1 -1
  224. package/knob/knob.common.js +102 -74
  225. package/knob/knob.umd.js +102 -74
  226. package/knob/knob.umd.min.js +1 -1
  227. package/listbox/listbox.common.js +163 -237
  228. package/listbox/listbox.umd.js +163 -237
  229. package/listbox/listbox.umd.min.js +1 -1
  230. package/megamenu/MegaMenu.vue +2 -2
  231. package/megamenu/megamenu.common.js +273 -230
  232. package/megamenu/megamenu.umd.js +273 -230
  233. package/megamenu/megamenu.umd.min.js +1 -1
  234. package/menu/menu.common.js +201 -203
  235. package/menu/menu.umd.js +201 -203
  236. package/menu/menu.umd.min.js +1 -1
  237. package/menu/menuitem.common.js +95 -116
  238. package/menu/menuitem.umd.js +95 -116
  239. package/menu/menuitem.umd.min.js +1 -1
  240. package/menubar/menubar.common.js +223 -214
  241. package/menubar/menubar.umd.js +223 -214
  242. package/menubar/menubar.umd.min.js +1 -1
  243. package/menubar/menubarsub.common.js +142 -149
  244. package/menubar/menubarsub.umd.js +142 -149
  245. package/menubar/menubarsub.umd.min.js +1 -1
  246. package/message/message.common.js +108 -157
  247. package/message/message.umd.js +108 -157
  248. package/message/message.umd.min.js +1 -1
  249. package/multiselect/multiselect.common.js +291 -315
  250. package/multiselect/multiselect.umd.js +291 -315
  251. package/multiselect/multiselect.umd.min.js +1 -1
  252. package/orderlist/orderlist.common.js +206 -263
  253. package/orderlist/orderlist.umd.js +206 -263
  254. package/orderlist/orderlist.umd.min.js +1 -1
  255. package/organizationchart/organizationchart.common.js +188 -190
  256. package/organizationchart/organizationchart.umd.js +188 -190
  257. package/organizationchart/organizationchart.umd.min.js +1 -1
  258. package/organizationchart/organizationchartnode.common.js +122 -124
  259. package/organizationchart/organizationchartnode.umd.js +122 -124
  260. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  261. package/overlayeventbus/OverlayEventBus.js +0 -4
  262. package/overlayeventbus/overlayeventbus.common.js +0 -2
  263. package/overlayeventbus/overlayeventbus.umd.js +0 -2
  264. package/overlaypanel/overlaypanel.common.js +108 -176
  265. package/overlaypanel/overlaypanel.umd.js +108 -176
  266. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  267. package/package.json +3 -3
  268. package/paginator/currentpagereport.common.js +22 -22
  269. package/paginator/currentpagereport.umd.js +22 -22
  270. package/paginator/currentpagereport.umd.min.js +1 -1
  271. package/paginator/firstpagelink.common.js +44 -102
  272. package/paginator/firstpagelink.umd.js +44 -102
  273. package/paginator/firstpagelink.umd.min.js +1 -1
  274. package/paginator/jumptopagedropdown.common.js +254 -300
  275. package/paginator/jumptopagedropdown.umd.js +254 -300
  276. package/paginator/jumptopagedropdown.umd.min.js +1 -1
  277. package/paginator/jumptopageinput.common.js +225 -303
  278. package/paginator/jumptopageinput.umd.js +225 -303
  279. package/paginator/jumptopageinput.umd.min.js +1 -1
  280. package/paginator/lastpagelink.common.js +44 -102
  281. package/paginator/lastpagelink.umd.js +44 -102
  282. package/paginator/lastpagelink.umd.min.js +1 -1
  283. package/paginator/nextpagelink.common.js +44 -102
  284. package/paginator/nextpagelink.umd.js +44 -102
  285. package/paginator/nextpagelink.umd.min.js +1 -1
  286. package/paginator/pagelinks.common.js +54 -102
  287. package/paginator/pagelinks.umd.js +54 -102
  288. package/paginator/pagelinks.umd.min.js +1 -1
  289. package/paginator/paginator.common.js +741 -654
  290. package/paginator/paginator.umd.js +741 -654
  291. package/paginator/paginator.umd.min.js +1 -1
  292. package/paginator/prevpagelink.common.js +44 -102
  293. package/paginator/prevpagelink.umd.js +44 -102
  294. package/paginator/prevpagelink.umd.min.js +1 -1
  295. package/paginator/rowsperpagedropdown.common.js +253 -300
  296. package/paginator/rowsperpagedropdown.umd.js +253 -300
  297. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  298. package/panel/panel.common.js +129 -164
  299. package/panel/panel.umd.js +129 -164
  300. package/panel/panel.umd.min.js +1 -1
  301. package/panelmenu/panelmenu.common.js +235 -129
  302. package/panelmenu/panelmenu.umd.js +235 -129
  303. package/panelmenu/panelmenu.umd.min.js +1 -1
  304. package/panelmenu/panelmenusub.common.js +110 -55
  305. package/panelmenu/panelmenusub.umd.js +110 -55
  306. package/panelmenu/panelmenusub.umd.min.js +1 -1
  307. package/password/Password.vue +64 -14
  308. package/password/password.common.js +243 -239
  309. package/password/password.umd.js +243 -239
  310. package/password/password.umd.min.js +1 -1
  311. package/picklist/picklist.common.js +332 -323
  312. package/picklist/picklist.umd.js +332 -323
  313. package/picklist/picklist.umd.min.js +1 -1
  314. package/progressbar/progressbar.common.js +83 -76
  315. package/progressbar/progressbar.umd.js +83 -76
  316. package/progressbar/progressbar.umd.min.js +1 -1
  317. package/progressspinner/progressspinner.common.js +545 -45
  318. package/progressspinner/progressspinner.umd.js +545 -45
  319. package/progressspinner/progressspinner.umd.min.js +1 -1
  320. package/radiobutton/radiobutton.common.js +68 -83
  321. package/radiobutton/radiobutton.umd.js +68 -83
  322. package/radiobutton/radiobutton.umd.min.js +1 -1
  323. package/rating/rating.common.js +92 -68
  324. package/rating/rating.umd.js +92 -68
  325. package/rating/rating.umd.min.js +1 -1
  326. package/ripple/Ripple.js +0 -18
  327. package/ripple/ripple.common.js +13 -77
  328. package/ripple/ripple.umd.js +13 -77
  329. package/row/row.common.js +20 -25
  330. package/row/row.umd.js +20 -25
  331. package/row/row.umd.min.js +1 -1
  332. package/scrollpanel/scrollpanel.common.js +103 -154
  333. package/scrollpanel/scrollpanel.umd.js +103 -154
  334. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  335. package/scrolltop/scrolltop.common.js +90 -132
  336. package/scrolltop/scrolltop.umd.js +90 -132
  337. package/scrolltop/scrolltop.umd.min.js +1 -1
  338. package/selectbutton/selectbutton.common.js +91 -171
  339. package/selectbutton/selectbutton.umd.js +91 -171
  340. package/selectbutton/selectbutton.umd.min.js +1 -1
  341. package/sidebar/Sidebar.d.ts +1 -0
  342. package/sidebar/Sidebar.vue +3 -0
  343. package/sidebar/sidebar.common.js +115 -166
  344. package/sidebar/sidebar.umd.js +115 -166
  345. package/sidebar/sidebar.umd.min.js +1 -1
  346. package/skeleton/skeleton.common.js +57 -57
  347. package/skeleton/skeleton.umd.js +57 -57
  348. package/skeleton/skeleton.umd.min.js +1 -1
  349. package/slider/Slider.vue +1 -1
  350. package/slider/slider.common.js +175 -166
  351. package/slider/slider.umd.js +175 -166
  352. package/slider/slider.umd.min.js +1 -1
  353. package/speeddial/SpeedDial.vue +2 -2
  354. package/speeddial/speeddial.common.js +186 -204
  355. package/speeddial/speeddial.umd.js +186 -204
  356. package/speeddial/speeddial.umd.min.js +1 -1
  357. package/splitbutton/splitbutton.common.js +327 -279
  358. package/splitbutton/splitbutton.umd.js +327 -279
  359. package/splitbutton/splitbutton.umd.min.js +1 -1
  360. package/splitter/splitter.common.js +70 -143
  361. package/splitter/splitter.umd.js +70 -143
  362. package/splitter/splitter.umd.min.js +1 -1
  363. package/splitterpanel/splitterpanel.common.js +13 -15
  364. package/splitterpanel/splitterpanel.umd.js +13 -15
  365. package/steps/steps.common.js +112 -77
  366. package/steps/steps.umd.js +112 -77
  367. package/steps/steps.umd.min.js +1 -1
  368. package/styleclass/StyleClass.js +0 -43
  369. package/styleclass/styleclass.common.js +13 -99
  370. package/styleclass/styleclass.umd.js +13 -99
  371. package/tabmenu/tabmenu.common.js +139 -165
  372. package/tabmenu/tabmenu.umd.js +139 -165
  373. package/tabmenu/tabmenu.umd.min.js +1 -1
  374. package/tabpanel/tabpanel.common.js +31 -26
  375. package/tabpanel/tabpanel.umd.js +31 -26
  376. package/tabpanel/tabpanel.umd.min.js +1 -1
  377. package/tabview/tabview.common.js +178 -220
  378. package/tabview/tabview.umd.js +178 -220
  379. package/tabview/tabview.umd.min.js +1 -1
  380. package/tag/tag.common.js +59 -59
  381. package/tag/tag.umd.js +59 -59
  382. package/tag/tag.umd.min.js +1 -1
  383. package/terminal/terminal.common.js +96 -68
  384. package/terminal/terminal.umd.js +96 -68
  385. package/terminal/terminal.umd.min.js +1 -1
  386. package/terminalservice/TerminalService.js +0 -3
  387. package/textarea/Textarea.vue +24 -1
  388. package/textarea/textarea.common.js +2083 -91
  389. package/textarea/textarea.umd.js +2083 -91
  390. package/textarea/textarea.umd.min.js +1 -1
  391. package/tieredmenu/demo.html +3 -4
  392. package/tieredmenu/tieredmenu.common.js +214 -219
  393. package/tieredmenu/tieredmenu.umd.js +214 -219
  394. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  395. package/tieredmenu/tieredmenusub.common.js +142 -145
  396. package/tieredmenu/tieredmenusub.umd.js +142 -145
  397. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  398. package/timeline/timeline.common.js +101 -134
  399. package/timeline/timeline.umd.js +101 -134
  400. package/timeline/timeline.umd.min.js +1 -1
  401. package/toast/toast.common.js +145 -182
  402. package/toast/toast.umd.js +145 -182
  403. package/toast/toast.umd.min.js +1 -1
  404. package/toast/toastmessage.common.js +70 -115
  405. package/toast/toastmessage.umd.js +70 -115
  406. package/toast/toastmessage.umd.min.js +1 -1
  407. package/toastservice/ToastEventBus.js +0 -3
  408. package/toastservice/ToastService.js +0 -3
  409. package/togglebutton/togglebutton.common.js +54 -103
  410. package/togglebutton/togglebutton.umd.js +54 -103
  411. package/togglebutton/togglebutton.umd.min.js +1 -1
  412. package/toolbar/toolbar.common.js +46 -47
  413. package/toolbar/toolbar.umd.js +46 -47
  414. package/toolbar/toolbar.umd.min.js +1 -1
  415. package/tooltip/Tooltip.js +4 -84
  416. package/tooltip/tooltip.common.js +17 -133
  417. package/tooltip/tooltip.umd.js +17 -133
  418. package/tree/tree.common.js +227 -316
  419. package/tree/tree.umd.js +227 -316
  420. package/tree/tree.umd.min.js +1 -1
  421. package/tree/treenode.common.js +108 -158
  422. package/tree/treenode.umd.js +108 -158
  423. package/tree/treenode.umd.min.js +1 -1
  424. package/treetable/footercell.common.js +49 -141
  425. package/treetable/footercell.umd.js +49 -141
  426. package/treetable/footercell.umd.min.js +1 -1
  427. package/treetable/headercell.common.js +68 -153
  428. package/treetable/headercell.umd.js +68 -153
  429. package/treetable/headercell.umd.min.js +1 -1
  430. package/treetable/treetable.common.js +1086 -1044
  431. package/treetable/treetable.umd.js +1086 -1044
  432. package/treetable/treetable.umd.min.js +1 -1
  433. package/treetable/treetablecolumnslot.common.js +13 -15
  434. package/treetable/treetablecolumnslot.umd.js +13 -15
  435. package/treetable/treetablerow.common.js +113 -194
  436. package/treetable/treetablerow.umd.js +113 -194
  437. package/treetable/treetablerow.umd.min.js +1 -1
  438. package/treetable/treetablerowloader.common.js +115 -214
  439. package/treetable/treetablerowloader.umd.js +115 -214
  440. package/treetable/treetablerowloader.umd.min.js +1 -1
  441. package/tristatecheckbox/tristatecheckbox.common.js +59 -38
  442. package/tristatecheckbox/tristatecheckbox.umd.js +59 -38
  443. package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
  444. package/utils/ConnectedOverlayScrollHandler.js +0 -12
  445. package/utils/DomHandler.js +13 -61
  446. package/utils/EventBus.js +0 -3
  447. package/utils/ObjectUtils.js +9 -51
  448. package/utils/UniqueComponentId.js +0 -1
  449. package/utils/Utils.js +0 -6
  450. package/utils/connectedoverlayscrollhandler.common.js +13 -70
  451. package/utils/connectedoverlayscrollhandler.umd.js +13 -70
  452. package/utils/domhandler.common.js +13 -63
  453. package/utils/domhandler.umd.js +13 -63
  454. package/utils/eventbus.common.js +0 -2
  455. package/utils/eventbus.umd.js +0 -2
  456. package/utils/objectutils.common.js +9 -52
  457. package/utils/objectutils.umd.js +9 -52
  458. package/utils/utils.common.js +22 -119
  459. package/utils/utils.umd.js +22 -119
  460. package/vetur-attributes.json +8 -0
  461. package/vetur-tags.json +3 -1
  462. package/web-types.json +28 -1
@@ -154,46 +154,107 @@ if (typeof window !== 'undefined') {
154
154
  // Indicate to webpack that this file can be concatenated
155
155
  /* harmony default export */ var setPublicPath = (null);
156
156
 
157
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28cb4606-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
158
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"p-submenu-list",attrs:{"role":"tree"}},[_vm._l((_vm.model),function(item,i){return [(_vm.visible(item) && !item.separator)?_c('li',{key:_vm.label(item) + i,class:_vm.getItemClass(item),style:(item.style),attrs:{"role":"none"}},[(item.to && !_vm.disabled(item))?_c('router-link',{attrs:{"to":item.to,"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
159
- var navigate = ref.navigate;
160
- var href = ref.href;
161
- var isRouterActive = ref.isActive;
162
- var isExactActive = ref.isExactActive;
163
- return [_c('a',{class:_vm.linkClass(item, {isRouterActive: isRouterActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"treeitem","aria-expanded":_vm.isActive(item)},on:{"click":function($event){return _vm.onItemClick($event, item, navigate)}}},[_c('span',{class:['p-menuitem-icon', item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])])]}}],null,true)}):_c('a',{class:_vm.linkClass(item),attrs:{"href":item.url,"target":item.target,"role":"treeitem","aria-expanded":_vm.isActive(item),"tabindex":_vm.disabled(item) ? null : '0'},on:{"click":function($event){return _vm.onItemClick($event, item)}}},[(item.items)?_c('span',{class:_vm.getSubmenuIcon(item)}):_vm._e(),_c('span',{class:['p-menuitem-icon', item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])]),_c('transition',{attrs:{"name":"p-toggleable-content"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(item === _vm.activeItem),expression:"item === activeItem"}],staticClass:"p-toggleable-content"},[(_vm.visible(item) && item.items)?_c('sub-panelmenu',{key:_vm.label(item) + '_sub_',attrs:{"model":item.items,"exact":_vm.exact}}):_vm._e()],1)])],1):_vm._e(),(_vm.visible(item) && item.separator)?_c('li',{key:'separator' + i,class:['p-menu-separator', item.class],style:(item.style)}):_vm._e()]})],2)}
164
- var staticRenderFns = []
165
-
157
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-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/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
158
+ var render = function render() {
159
+ var _vm = this,
160
+ _c = _vm._self._c;
161
+ return _c('ul', {
162
+ staticClass: "p-submenu-list",
163
+ attrs: {
164
+ "role": "tree"
165
+ }
166
+ }, [_vm._l(_vm.model, function (item, i) {
167
+ return [_vm.visible(item) && !item.separator ? _c('li', {
168
+ key: _vm.label(item) + i,
169
+ class: _vm.getItemClass(item),
170
+ style: item.style,
171
+ attrs: {
172
+ "role": "none"
173
+ }
174
+ }, [item.to && !_vm.disabled(item) ? _c('router-link', {
175
+ attrs: {
176
+ "to": item.to,
177
+ "custom": ""
178
+ },
179
+ scopedSlots: _vm._u([{
180
+ key: "default",
181
+ fn: function fn(_ref) {
182
+ var navigate = _ref.navigate,
183
+ href = _ref.href,
184
+ isRouterActive = _ref.isActive,
185
+ isExactActive = _ref.isExactActive;
186
+ return [_c('a', {
187
+ class: _vm.linkClass(item, {
188
+ isRouterActive: isRouterActive,
189
+ isExactActive: isExactActive
190
+ }),
191
+ attrs: {
192
+ "href": href,
193
+ "role": "treeitem",
194
+ "aria-expanded": _vm.isActive(item)
195
+ },
196
+ on: {
197
+ "click": function click($event) {
198
+ return _vm.onItemClick($event, item, navigate);
199
+ }
200
+ }
201
+ }, [_c('span', {
202
+ class: ['p-menuitem-icon', item.icon]
203
+ }), _c('span', {
204
+ staticClass: "p-menuitem-text"
205
+ }, [_vm._v(_vm._s(_vm.label(item)))])])];
206
+ }
207
+ }], null, true)
208
+ }) : _c('a', {
209
+ class: _vm.linkClass(item),
210
+ attrs: {
211
+ "href": item.url,
212
+ "target": item.target,
213
+ "role": "treeitem",
214
+ "aria-expanded": _vm.isActive(item),
215
+ "tabindex": _vm.disabled(item) ? null : '0'
216
+ },
217
+ on: {
218
+ "click": function click($event) {
219
+ return _vm.onItemClick($event, item);
220
+ }
221
+ }
222
+ }, [item.items ? _c('span', {
223
+ class: _vm.getSubmenuIcon(item)
224
+ }) : _vm._e(), _c('span', {
225
+ class: ['p-menuitem-icon', item.icon]
226
+ }), _c('span', {
227
+ staticClass: "p-menuitem-text"
228
+ }, [_vm._v(_vm._s(_vm.label(item)))])]), _c('transition', {
229
+ attrs: {
230
+ "name": "p-toggleable-content"
231
+ }
232
+ }, [_c('div', {
233
+ directives: [{
234
+ name: "show",
235
+ rawName: "v-show",
236
+ value: item === _vm.activeItem,
237
+ expression: "item === activeItem"
238
+ }],
239
+ staticClass: "p-toggleable-content"
240
+ }, [_vm.visible(item) && item.items ? _c('sub-panelmenu', {
241
+ key: _vm.label(item) + '_sub_',
242
+ attrs: {
243
+ "model": item.items,
244
+ "exact": _vm.exact
245
+ }
246
+ }) : _vm._e()], 1)])], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
247
+ key: 'separator' + i,
248
+ class: ['p-menu-separator', item.class],
249
+ style: item.style
250
+ }) : _vm._e()];
251
+ })], 2);
252
+ };
253
+ var staticRenderFns = [];
166
254
 
167
255
  // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
168
256
 
169
257
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/panelmenu/PanelMenuSub.vue?vue&type=script&lang=js&
170
- //
171
- //
172
- //
173
- //
174
- //
175
- //
176
- //
177
- //
178
- //
179
- //
180
- //
181
- //
182
- //
183
- //
184
- //
185
- //
186
- //
187
- //
188
- //
189
- //
190
- //
191
- //
192
- //
193
- //
194
- //
195
- //
196
- //
197
258
  /* harmony default export */ var PanelMenuSubvue_type_script_lang_js_ = ({
198
259
  name: 'sub-panelmenu',
199
260
  props: {
@@ -217,20 +278,16 @@ var staticRenderFns = []
217
278
  event.preventDefault();
218
279
  return;
219
280
  }
220
-
221
281
  if (!item.url && !item.to) {
222
282
  event.preventDefault();
223
283
  }
224
-
225
284
  if (item.command) {
226
285
  item.command({
227
286
  originalEvent: event,
228
287
  item: item
229
288
  });
230
289
  }
231
-
232
290
  if (this.activeItem && this.activeItem === item) this.activeItem = null;else this.activeItem = item;
233
-
234
291
  if (item.to && navigate) {
235
292
  navigate(event);
236
293
  }
@@ -275,20 +332,19 @@ var staticRenderFns = []
275
332
  // This module is a runtime utility for cleaner component module output and will
276
333
  // be included in the final webpack user bundle.
277
334
 
278
- function normalizeComponent (
335
+ function normalizeComponent(
279
336
  scriptExports,
280
337
  render,
281
338
  staticRenderFns,
282
339
  functionalTemplate,
283
340
  injectStyles,
284
341
  scopeId,
285
- moduleIdentifier, /* server only */
342
+ moduleIdentifier /* server only */,
286
343
  shadowMode /* vue-cli only */
287
344
  ) {
288
345
  // Vue.extend constructor export interop
289
- var options = typeof scriptExports === 'function'
290
- ? scriptExports.options
291
- : scriptExports
346
+ var options =
347
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
292
348
 
293
349
  // render functions
294
350
  if (render) {
@@ -308,7 +364,8 @@ function normalizeComponent (
308
364
  }
309
365
 
310
366
  var hook
311
- if (moduleIdentifier) { // server build
367
+ if (moduleIdentifier) {
368
+ // server build
312
369
  hook = function (context) {
313
370
  // 2.3 injection
314
371
  context =
@@ -334,11 +391,11 @@ function normalizeComponent (
334
391
  } else if (injectStyles) {
335
392
  hook = shadowMode
336
393
  ? function () {
337
- injectStyles.call(
338
- this,
339
- (options.functional ? this.parent : this).$root.$options.shadowRoot
340
- )
341
- }
394
+ injectStyles.call(
395
+ this,
396
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
397
+ )
398
+ }
342
399
  : injectStyles
343
400
  }
344
401
 
@@ -349,16 +406,14 @@ function normalizeComponent (
349
406
  options._injectStyles = hook
350
407
  // register for functional component in vue file
351
408
  var originalRender = options.render
352
- options.render = function renderWithStyleInjection (h, context) {
409
+ options.render = function renderWithStyleInjection(h, context) {
353
410
  hook.call(context)
354
411
  return originalRender(h, context)
355
412
  }
356
413
  } else {
357
414
  // inject component registration as beforeCreate hook
358
415
  var existing = options.beforeCreate
359
- options.beforeCreate = existing
360
- ? [].concat(existing, hook)
361
- : [hook]
416
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
362
417
  }
363
418
  }
364
419
 
@@ -163,46 +163,107 @@ if (typeof window !== 'undefined') {
163
163
  // Indicate to webpack that this file can be concatenated
164
164
  /* harmony default export */ var setPublicPath = (null);
165
165
 
166
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28cb4606-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
167
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"p-submenu-list",attrs:{"role":"tree"}},[_vm._l((_vm.model),function(item,i){return [(_vm.visible(item) && !item.separator)?_c('li',{key:_vm.label(item) + i,class:_vm.getItemClass(item),style:(item.style),attrs:{"role":"none"}},[(item.to && !_vm.disabled(item))?_c('router-link',{attrs:{"to":item.to,"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
168
- var navigate = ref.navigate;
169
- var href = ref.href;
170
- var isRouterActive = ref.isActive;
171
- var isExactActive = ref.isExactActive;
172
- return [_c('a',{class:_vm.linkClass(item, {isRouterActive: isRouterActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"treeitem","aria-expanded":_vm.isActive(item)},on:{"click":function($event){return _vm.onItemClick($event, item, navigate)}}},[_c('span',{class:['p-menuitem-icon', item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])])]}}],null,true)}):_c('a',{class:_vm.linkClass(item),attrs:{"href":item.url,"target":item.target,"role":"treeitem","aria-expanded":_vm.isActive(item),"tabindex":_vm.disabled(item) ? null : '0'},on:{"click":function($event){return _vm.onItemClick($event, item)}}},[(item.items)?_c('span',{class:_vm.getSubmenuIcon(item)}):_vm._e(),_c('span',{class:['p-menuitem-icon', item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])]),_c('transition',{attrs:{"name":"p-toggleable-content"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(item === _vm.activeItem),expression:"item === activeItem"}],staticClass:"p-toggleable-content"},[(_vm.visible(item) && item.items)?_c('sub-panelmenu',{key:_vm.label(item) + '_sub_',attrs:{"model":item.items,"exact":_vm.exact}}):_vm._e()],1)])],1):_vm._e(),(_vm.visible(item) && item.separator)?_c('li',{key:'separator' + i,class:['p-menu-separator', item.class],style:(item.style)}):_vm._e()]})],2)}
173
- var staticRenderFns = []
174
-
166
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-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/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
167
+ var render = function render() {
168
+ var _vm = this,
169
+ _c = _vm._self._c;
170
+ return _c('ul', {
171
+ staticClass: "p-submenu-list",
172
+ attrs: {
173
+ "role": "tree"
174
+ }
175
+ }, [_vm._l(_vm.model, function (item, i) {
176
+ return [_vm.visible(item) && !item.separator ? _c('li', {
177
+ key: _vm.label(item) + i,
178
+ class: _vm.getItemClass(item),
179
+ style: item.style,
180
+ attrs: {
181
+ "role": "none"
182
+ }
183
+ }, [item.to && !_vm.disabled(item) ? _c('router-link', {
184
+ attrs: {
185
+ "to": item.to,
186
+ "custom": ""
187
+ },
188
+ scopedSlots: _vm._u([{
189
+ key: "default",
190
+ fn: function fn(_ref) {
191
+ var navigate = _ref.navigate,
192
+ href = _ref.href,
193
+ isRouterActive = _ref.isActive,
194
+ isExactActive = _ref.isExactActive;
195
+ return [_c('a', {
196
+ class: _vm.linkClass(item, {
197
+ isRouterActive: isRouterActive,
198
+ isExactActive: isExactActive
199
+ }),
200
+ attrs: {
201
+ "href": href,
202
+ "role": "treeitem",
203
+ "aria-expanded": _vm.isActive(item)
204
+ },
205
+ on: {
206
+ "click": function click($event) {
207
+ return _vm.onItemClick($event, item, navigate);
208
+ }
209
+ }
210
+ }, [_c('span', {
211
+ class: ['p-menuitem-icon', item.icon]
212
+ }), _c('span', {
213
+ staticClass: "p-menuitem-text"
214
+ }, [_vm._v(_vm._s(_vm.label(item)))])])];
215
+ }
216
+ }], null, true)
217
+ }) : _c('a', {
218
+ class: _vm.linkClass(item),
219
+ attrs: {
220
+ "href": item.url,
221
+ "target": item.target,
222
+ "role": "treeitem",
223
+ "aria-expanded": _vm.isActive(item),
224
+ "tabindex": _vm.disabled(item) ? null : '0'
225
+ },
226
+ on: {
227
+ "click": function click($event) {
228
+ return _vm.onItemClick($event, item);
229
+ }
230
+ }
231
+ }, [item.items ? _c('span', {
232
+ class: _vm.getSubmenuIcon(item)
233
+ }) : _vm._e(), _c('span', {
234
+ class: ['p-menuitem-icon', item.icon]
235
+ }), _c('span', {
236
+ staticClass: "p-menuitem-text"
237
+ }, [_vm._v(_vm._s(_vm.label(item)))])]), _c('transition', {
238
+ attrs: {
239
+ "name": "p-toggleable-content"
240
+ }
241
+ }, [_c('div', {
242
+ directives: [{
243
+ name: "show",
244
+ rawName: "v-show",
245
+ value: item === _vm.activeItem,
246
+ expression: "item === activeItem"
247
+ }],
248
+ staticClass: "p-toggleable-content"
249
+ }, [_vm.visible(item) && item.items ? _c('sub-panelmenu', {
250
+ key: _vm.label(item) + '_sub_',
251
+ attrs: {
252
+ "model": item.items,
253
+ "exact": _vm.exact
254
+ }
255
+ }) : _vm._e()], 1)])], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
256
+ key: 'separator' + i,
257
+ class: ['p-menu-separator', item.class],
258
+ style: item.style
259
+ }) : _vm._e()];
260
+ })], 2);
261
+ };
262
+ var staticRenderFns = [];
175
263
 
176
264
  // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=ba3c7c28&
177
265
 
178
266
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/panelmenu/PanelMenuSub.vue?vue&type=script&lang=js&
179
- //
180
- //
181
- //
182
- //
183
- //
184
- //
185
- //
186
- //
187
- //
188
- //
189
- //
190
- //
191
- //
192
- //
193
- //
194
- //
195
- //
196
- //
197
- //
198
- //
199
- //
200
- //
201
- //
202
- //
203
- //
204
- //
205
- //
206
267
  /* harmony default export */ var PanelMenuSubvue_type_script_lang_js_ = ({
207
268
  name: 'sub-panelmenu',
208
269
  props: {
@@ -226,20 +287,16 @@ var staticRenderFns = []
226
287
  event.preventDefault();
227
288
  return;
228
289
  }
229
-
230
290
  if (!item.url && !item.to) {
231
291
  event.preventDefault();
232
292
  }
233
-
234
293
  if (item.command) {
235
294
  item.command({
236
295
  originalEvent: event,
237
296
  item: item
238
297
  });
239
298
  }
240
-
241
299
  if (this.activeItem && this.activeItem === item) this.activeItem = null;else this.activeItem = item;
242
-
243
300
  if (item.to && navigate) {
244
301
  navigate(event);
245
302
  }
@@ -284,20 +341,19 @@ var staticRenderFns = []
284
341
  // This module is a runtime utility for cleaner component module output and will
285
342
  // be included in the final webpack user bundle.
286
343
 
287
- function normalizeComponent (
344
+ function normalizeComponent(
288
345
  scriptExports,
289
346
  render,
290
347
  staticRenderFns,
291
348
  functionalTemplate,
292
349
  injectStyles,
293
350
  scopeId,
294
- moduleIdentifier, /* server only */
351
+ moduleIdentifier /* server only */,
295
352
  shadowMode /* vue-cli only */
296
353
  ) {
297
354
  // Vue.extend constructor export interop
298
- var options = typeof scriptExports === 'function'
299
- ? scriptExports.options
300
- : scriptExports
355
+ var options =
356
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
301
357
 
302
358
  // render functions
303
359
  if (render) {
@@ -317,7 +373,8 @@ function normalizeComponent (
317
373
  }
318
374
 
319
375
  var hook
320
- if (moduleIdentifier) { // server build
376
+ if (moduleIdentifier) {
377
+ // server build
321
378
  hook = function (context) {
322
379
  // 2.3 injection
323
380
  context =
@@ -343,11 +400,11 @@ function normalizeComponent (
343
400
  } else if (injectStyles) {
344
401
  hook = shadowMode
345
402
  ? function () {
346
- injectStyles.call(
347
- this,
348
- (options.functional ? this.parent : this).$root.$options.shadowRoot
349
- )
350
- }
403
+ injectStyles.call(
404
+ this,
405
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
406
+ )
407
+ }
351
408
  : injectStyles
352
409
  }
353
410
 
@@ -358,16 +415,14 @@ function normalizeComponent (
358
415
  options._injectStyles = hook
359
416
  // register for functional component in vue file
360
417
  var originalRender = options.render
361
- options.render = function renderWithStyleInjection (h, context) {
418
+ options.render = function renderWithStyleInjection(h, context) {
362
419
  hook.call(context)
363
420
  return originalRender(h, context)
364
421
  }
365
422
  } else {
366
423
  // inject component registration as beforeCreate hook
367
424
  var existing = options.beforeCreate
368
- options.beforeCreate = existing
369
- ? [].concat(existing, hook)
370
- : [hook]
425
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
371
426
  }
372
427
  }
373
428
 
@@ -1 +1 @@
1
- (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["panelmenusub"]=t():e["panelmenusub"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"p-submenu-list",attrs:{role:"tree"}},[e._l(e.model,(function(t,i){return[e.visible(t)&&!t.separator?n("li",{key:e.label(t)+i,class:e.getItemClass(t),style:t.style,attrs:{role:"none"}},[t.to&&!e.disabled(t)?n("router-link",{attrs:{to:t.to,custom:""},scopedSlots:e._u([{key:"default",fn:function(i){var r=i.navigate,a=i.href,o=i.isActive,s=i.isExactActive;return[n("a",{class:e.linkClass(t,{isRouterActive:o,isExactActive:s}),attrs:{href:a,role:"treeitem","aria-expanded":e.isActive(t)},on:{click:function(n){return e.onItemClick(n,t,r)}}},[n("span",{class:["p-menuitem-icon",t.icon]}),n("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(t)))])])]}}],null,!0)}):n("a",{class:e.linkClass(t),attrs:{href:t.url,target:t.target,role:"treeitem","aria-expanded":e.isActive(t),tabindex:e.disabled(t)?null:"0"},on:{click:function(n){return e.onItemClick(n,t)}}},[t.items?n("span",{class:e.getSubmenuIcon(t)}):e._e(),n("span",{class:["p-menuitem-icon",t.icon]}),n("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(t)))])]),n("transition",{attrs:{name:"p-toggleable-content"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.activeItem,expression:"item === activeItem"}],staticClass:"p-toggleable-content"},[e.visible(t)&&t.items?n("sub-panelmenu",{key:e.label(t)+"_sub_",attrs:{model:t.items,exact:e.exact}}):e._e()],1)])],1):e._e(),e.visible(t)&&t.separator?n("li",{key:"separator"+i,class:["p-menu-separator",t.class],style:t.style}):e._e()]}))],2)},a=[],o={name:"sub-panelmenu",props:{model:{type:null,default:null},exact:{type:Boolean,default:!0}},data:function(){return{activeItem:null}},methods:{onItemClick:function(e,t,n){this.disabled(t)?e.preventDefault():(t.url||t.to||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t}),this.activeItem&&this.activeItem===t?this.activeItem=null:this.activeItem=t,t.to&&n&&n(e))},getItemClass:function(e){return["p-menuitem",e.class]},linkClass:function(e,t){return["p-menuitem-link",{"p-disabled":this.disabled(e),"router-link-active":t&&t.isActive,"router-link-active-exact":this.exact&&t&&t.isExactActive}]},isActive:function(e){return e===this.activeItem},getSubmenuIcon:function(e){var t=this.isActive(e);return["p-panelmenu-icon pi pi-fw",{"pi-angle-right":!t,"pi-angle-down":t}]},visible:function(e){return"function"===typeof e.visible?e.visible():!1!==e.visible},disabled:function(e){return"function"===typeof e.disabled?e.disabled():e.disabled},label:function(e){return"function"===typeof e.label?e.label():e.label}}},s=o;function l(e,t,n,i,r,a,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:c}}var c=l(s,r,a,!1,null,null,null),u=c.exports;t["default"]=u}})["default"]}));
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["panelmenusub"]=t():e["panelmenusub"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"p-submenu-list",attrs:{role:"tree"}},[e._l(e.model,(function(n,i){return[e.visible(n)&&!n.separator?t("li",{key:e.label(n)+i,class:e.getItemClass(n),style:n.style,attrs:{role:"none"}},[n.to&&!e.disabled(n)?t("router-link",{attrs:{to:n.to,custom:""},scopedSlots:e._u([{key:"default",fn:function(i){var r=i.navigate,o=i.href,a=i.isActive,s=i.isExactActive;return[t("a",{class:e.linkClass(n,{isRouterActive:a,isExactActive:s}),attrs:{href:o,role:"treeitem","aria-expanded":e.isActive(n)},on:{click:function(t){return e.onItemClick(t,n,r)}}},[t("span",{class:["p-menuitem-icon",n.icon]}),t("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(n)))])])]}}],null,!0)}):t("a",{class:e.linkClass(n),attrs:{href:n.url,target:n.target,role:"treeitem","aria-expanded":e.isActive(n),tabindex:e.disabled(n)?null:"0"},on:{click:function(t){return e.onItemClick(t,n)}}},[n.items?t("span",{class:e.getSubmenuIcon(n)}):e._e(),t("span",{class:["p-menuitem-icon",n.icon]}),t("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(n)))])]),t("transition",{attrs:{name:"p-toggleable-content"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:n===e.activeItem,expression:"item === activeItem"}],staticClass:"p-toggleable-content"},[e.visible(n)&&n.items?t("sub-panelmenu",{key:e.label(n)+"_sub_",attrs:{model:n.items,exact:e.exact}}):e._e()],1)])],1):e._e(),e.visible(n)&&n.separator?t("li",{key:"separator"+i,class:["p-menu-separator",n.class],style:n.style}):e._e()]}))],2)},o=[],a={name:"sub-panelmenu",props:{model:{type:null,default:null},exact:{type:Boolean,default:!0}},data:function(){return{activeItem:null}},methods:{onItemClick:function(e,t,n){this.disabled(t)?e.preventDefault():(t.url||t.to||e.preventDefault(),t.command&&t.command({originalEvent:e,item:t}),this.activeItem&&this.activeItem===t?this.activeItem=null:this.activeItem=t,t.to&&n&&n(e))},getItemClass:function(e){return["p-menuitem",e.class]},linkClass:function(e,t){return["p-menuitem-link",{"p-disabled":this.disabled(e),"router-link-active":t&&t.isActive,"router-link-active-exact":this.exact&&t&&t.isExactActive}]},isActive:function(e){return e===this.activeItem},getSubmenuIcon:function(e){var t=this.isActive(e);return["p-panelmenu-icon pi pi-fw",{"pi-angle-right":!t,"pi-angle-down":t}]},visible:function(e){return"function"===typeof e.visible?e.visible():!1!==e.visible},disabled:function(e){return"function"===typeof e.disabled?e.disabled():e.disabled},label:function(e){return"function"===typeof e.label?e.label():e.label}}},s=a;function l(e,t,n,i,r,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:c}}var c=l(s,r,o,!1,null,null,null),u=c.exports;t["default"]=u}})["default"]}));
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div :class="containerClass" :style="styles">
3
- <PInputText ref="input" :class="inputFieldClass" :style="inputStyle" :type="inputType" :value="d_value" @input="onInput" @focus="onFocus" @blur="onBlur" @keyup="onKeyUp" v-bind="$attrs" />
3
+ <PInputText ref="input" :class="inputFieldClass" :style="inputStyle" :type="inputType" :value="d_value" v-bind="$attrs" v-on="listeners" />
4
4
  <i v-if="toggleMask" :class="toggleIconClass" @click="onMaskToggle" />
5
5
  <transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave">
6
6
  <div ref="overlayRef" class="p-password-panel p-component" v-if="overlayVisible">
@@ -100,6 +100,9 @@ export default {
100
100
  this.infoText = this.promptText;
101
101
  this.mediumCheckRegExp = new RegExp(this.mediumRegex);
102
102
  this.strongCheckRegExp = new RegExp(this.strongRegex);
103
+ if(this.value){
104
+ this.d_value = this.value;
105
+ }
103
106
  },
104
107
  beforeDestroy() {
105
108
  this.restoreAppend();
@@ -163,24 +166,53 @@ export default {
163
166
  onInput(event) {
164
167
  this.$emit('input', event);
165
168
  },
166
- onFocus() {
169
+ onFocus(event) {
167
170
  this.focused = true;
168
171
  if (this.feedback) {
172
+ this.setPasswordMeter()
169
173
  this.overlayVisible = true;
170
174
  }
175
+ this.$emit('focus', event);
171
176
  },
172
- onBlur() {
177
+ onBlur(event) {
173
178
  this.focused = false;
174
179
  if (this.feedback) {
175
180
  this.overlayVisible = false;
176
181
  }
182
+ this.$emit('blur', event);
177
183
  },
178
184
  onKeyUp(event) {
179
185
  if (this.feedback) {
180
186
  let value = event.target.value;
181
- let label = null;
182
- let meter = null;
183
- switch (this.testStrength(value)) {
187
+
188
+ const { meter, label } = this.checkPasswordStrength(value);
189
+
190
+ this.meter = meter;
191
+ this.infoText = label;
192
+ if (!this.overlayVisible) {
193
+ this.overlayVisible = true;
194
+ }
195
+ }
196
+
197
+ this.$emit('keyup', event);
198
+ },
199
+ setPasswordMeter() {
200
+ if(!this.feedback || !this.d_value) return;
201
+
202
+ const { meter, label } = this.checkPasswordStrength(this.d_value);
203
+
204
+ this.meter = meter;
205
+ this.infoText = label;
206
+
207
+ if (!this.overlayVisible) {
208
+ this.overlayVisible = true;
209
+ }
210
+ },
211
+ checkPasswordStrength(value) {
212
+ let label = null;
213
+ let meter = null;
214
+
215
+ switch (this.testStrength(value)) {
184
216
  case 1:
185
217
  label = this.weakText;
186
218
  meter = {
@@ -188,6 +220,7 @@ export default {
188
220
  width: '33.33%'
189
221
  };
190
222
  break;
223
+
191
224
  case 2:
192
225
  label = this.mediumText;
193
226
  meter = {
@@ -195,6 +228,7 @@ export default {
195
228
  width: '66.66%'
196
229
  };
197
230
  break;
231
+
198
232
  case 3:
199
233
  label = this.strongText;
200
234
  meter = {
@@ -202,17 +236,14 @@ export default {
202
236
  width: '100%'
203
237
  };
204
238
  break;
239
+
205
240
  default:
206
241
  label = this.promptText;
207
242
  meter = null;
208
243
  break;
209
- }
210
- this.meter = meter;
211
- this.infoText = label;
212
- if (!this.overlayVisible) {
213
- this.overlayVisible = true;
214
- }
215
244
  }
245
+
246
+ return { label, meter };
216
247
  },
217
248
  bindScrollListener() {
218
249
  if (!this.scrollHandler) {
@@ -251,6 +282,25 @@ export default {
251
282
  }
252
283
  },
253
284
  computed: {
285
+ listeners() {
286
+ let $vm = this;
287
+
288
+ return {
289
+ ...$vm.$listeners,
290
+ input: event => {
291
+ this.onInput(event);
292
+ },
293
+ focus: event => {
294
+ this.onFocus(event);
295
+ },
296
+ blur: event => {
297
+ this.onBlur(event);
298
+ },
299
+ keyup: event => {
300
+ this.onKeyUp(event);
301
+ }
302
+ };
303
+ },
254
304
  containerClass() {
255
305
  return ['p-password p-component p-inputwrapper', this.className, {
256
306
  'p-inputwrapper-filled': this.filled,
@@ -288,7 +338,7 @@ export default {
288
338
  return this.promptLabel || this.$primevue.config.locale.passwordPrompt;
289
339
  }
290
340
  },
291
- components: {
341
+ components: {
292
342
  'PInputText': InputText
293
343
  }
294
344
  }
@@ -316,4 +366,4 @@ export default {
316
366
  .p-fluid .p-password {
317
367
  display: flex;
318
368
  }
319
- </style>
369
+ </style>