primevue 2.5.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (704) hide show
  1. package/accordion/accordion.common.js +1 -1
  2. package/accordion/accordion.umd.js +1 -1
  3. package/accordiontab/accordiontab.common.js +28 -1
  4. package/accordiontab/accordiontab.umd.js +28 -1
  5. package/accordiontab/accordiontab.umd.min.js +1 -1
  6. package/api/Api.d.ts +296 -0
  7. package/api/Api.js +47 -0
  8. package/api/FilterMatchMode.js +26 -0
  9. package/api/FilterOperator.js +12 -0
  10. package/api/FilterService.js +260 -0
  11. package/api/PrimeIcons.js +246 -0
  12. package/api/ToastSeverity.js +14 -0
  13. package/api/api.common.js +4889 -0
  14. package/api/api.umd.js +4899 -0
  15. package/api/api.umd.min.js +1 -0
  16. package/api/demo.html +8 -0
  17. package/api/filtermatchmode.common.js +186 -0
  18. package/api/filtermatchmode.umd.js +196 -0
  19. package/api/filtermatchmode.umd.min.js +1 -0
  20. package/api/filteroperator.common.js +172 -0
  21. package/api/filteroperator.umd.js +182 -0
  22. package/api/filteroperator.umd.min.js +1 -0
  23. package/{utils/filterutils.common.js → api/filterservice.common.js} +207 -110
  24. package/{utils/filterutils.umd.js → api/filterservice.umd.js} +209 -112
  25. package/api/filterservice.umd.min.js +1 -0
  26. package/api/index.d.ts +1 -0
  27. package/api/index.js +2 -0
  28. package/api/primeicons.common.js +406 -0
  29. package/api/primeicons.umd.js +416 -0
  30. package/api/primeicons.umd.min.js +1 -0
  31. package/{confirmationservice/confirmationeventbus.common.js → api/toastseverity.common.js} +9 -9
  32. package/{confirmationservice/confirmationeventbus.umd.js → api/toastseverity.umd.js} +11 -11
  33. package/api/toastseverity.umd.min.js +1 -0
  34. package/autocomplete/AutoComplete.d.ts +1 -0
  35. package/autocomplete/AutoComplete.vue +8 -0
  36. package/autocomplete/autocomplete.common.js +61 -24
  37. package/autocomplete/autocomplete.umd.js +61 -24
  38. package/autocomplete/autocomplete.umd.min.js +1 -1
  39. package/avatar/avatar.common.js +1 -1
  40. package/avatar/avatar.umd.js +1 -1
  41. package/avatargroup/avatargroup.common.js +1 -1
  42. package/avatargroup/avatargroup.umd.js +1 -1
  43. package/badge/badge.common.js +1 -1
  44. package/badge/badge.umd.js +1 -1
  45. package/badgedirective/badgedirective.common.js +27 -0
  46. package/badgedirective/badgedirective.umd.js +27 -0
  47. package/badgedirective/badgedirective.umd.min.js +1 -1
  48. package/blockui/BlockUI.vue +6 -16
  49. package/blockui/blockui.common.js +38 -16
  50. package/blockui/blockui.umd.js +38 -16
  51. package/blockui/blockui.umd.min.js +1 -1
  52. package/breadcrumb/Breadcrumb.d.ts +1 -0
  53. package/breadcrumb/Breadcrumb.vue +6 -2
  54. package/breadcrumb/BreadcrumbItem.vue +30 -11
  55. package/breadcrumb/breadcrumb.common.js +44 -16
  56. package/breadcrumb/breadcrumb.umd.js +44 -16
  57. package/breadcrumb/breadcrumb.umd.min.js +1 -1
  58. package/breadcrumb/breadcrumbitem.common.js +34 -10
  59. package/breadcrumb/breadcrumbitem.umd.js +34 -10
  60. package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
  61. package/button/button.common.js +28 -1
  62. package/button/button.umd.js +28 -1
  63. package/button/button.umd.min.js +1 -1
  64. package/calendar/Calendar.d.ts +5 -0
  65. package/calendar/Calendar.vue +339 -70
  66. package/calendar/calendar.common.js +400 -73
  67. package/calendar/calendar.umd.js +400 -73
  68. package/calendar/calendar.umd.min.js +1 -1
  69. package/card/card.common.js +1 -1
  70. package/card/card.umd.js +1 -1
  71. package/carousel/Carousel.vue +2 -2
  72. package/carousel/carousel.common.js +30 -3
  73. package/carousel/carousel.umd.js +30 -3
  74. package/carousel/carousel.umd.min.js +1 -1
  75. package/cascadeselect/CascadeSelect.d.ts +6 -4
  76. package/cascadeselect/CascadeSelect.vue +3 -1
  77. package/cascadeselect/cascadeselect.common.js +53 -21
  78. package/cascadeselect/cascadeselect.umd.js +53 -21
  79. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  80. package/cascadeselect/cascadeselectsub.common.js +48 -18
  81. package/cascadeselect/cascadeselectsub.umd.js +48 -18
  82. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  83. package/chart/Chart.vue +27 -11
  84. package/chart/chart.common.js +30 -12
  85. package/chart/chart.umd.js +30 -12
  86. package/chart/chart.umd.min.js +1 -1
  87. package/checkbox/Checkbox.css +1 -0
  88. package/checkbox/Checkbox.d.ts +2 -0
  89. package/checkbox/Checkbox.vue +11 -3
  90. package/checkbox/checkbox.common.js +38 -22
  91. package/checkbox/checkbox.umd.js +38 -22
  92. package/checkbox/checkbox.umd.min.js +1 -1
  93. package/chip/chip.common.js +1 -1
  94. package/chip/chip.umd.js +1 -1
  95. package/chips/chips.common.js +1 -1
  96. package/chips/chips.umd.js +1 -1
  97. package/colorpicker/colorpicker.common.js +28 -1
  98. package/colorpicker/colorpicker.umd.js +28 -1
  99. package/colorpicker/colorpicker.umd.min.js +1 -1
  100. package/column/Column.vue +72 -12
  101. package/column/column.common.js +71 -11
  102. package/column/column.umd.js +71 -11
  103. package/column/column.umd.min.js +1 -1
  104. package/columngroup/columngroup.common.js +1 -1
  105. package/columngroup/columngroup.umd.js +1 -1
  106. package/common/Common.css +13 -4
  107. package/config/PrimeVue.d.ts +24 -2
  108. package/config/PrimeVue.js +34 -4
  109. package/config/primevue.common.js +3584 -133
  110. package/config/primevue.umd.js +3584 -133
  111. package/config/primevue.umd.min.js +1 -1
  112. package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
  113. package/confirmationeventbus/confirmationeventbus.common.js +1773 -0
  114. package/confirmationeventbus/confirmationeventbus.umd.js +1783 -0
  115. package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
  116. package/confirmationeventbus/demo.html +8 -0
  117. package/confirmationeventbus/index.d.ts +1 -0
  118. package/confirmationeventbus/index.js +2 -0
  119. package/confirmationservice/ConfirmationService.js +1 -1
  120. package/confirmationservice/confirmationservice.common.js +1605 -6
  121. package/confirmationservice/confirmationservice.umd.js +1605 -6
  122. package/confirmationservice/confirmationservice.umd.min.js +1 -1
  123. package/confirmdialog/ConfirmDialog.vue +9 -3
  124. package/confirmdialog/confirmdialog.common.js +456 -44
  125. package/confirmdialog/confirmdialog.umd.js +456 -44
  126. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  127. package/confirmpopup/ConfirmPopup.d.ts +4 -1
  128. package/confirmpopup/ConfirmPopup.vue +9 -6
  129. package/confirmpopup/confirmpopup.common.js +531 -13
  130. package/confirmpopup/confirmpopup.umd.js +531 -13
  131. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  132. package/contextmenu/ContextMenu.d.ts +1 -0
  133. package/contextmenu/ContextMenu.vue +5 -1
  134. package/contextmenu/ContextMenuSub.vue +33 -13
  135. package/contextmenu/contextmenu.common.js +68 -14
  136. package/contextmenu/contextmenu.umd.js +68 -14
  137. package/contextmenu/contextmenu.umd.min.js +1 -1
  138. package/contextmenu/contextmenusub.common.js +58 -8
  139. package/contextmenu/contextmenusub.umd.js +58 -8
  140. package/contextmenu/contextmenusub.umd.min.js +1 -1
  141. package/datatable/BodyCell.vue +118 -34
  142. package/datatable/ColumnFilter.vue +558 -0
  143. package/datatable/ColumnSlot.vue +21 -1
  144. package/datatable/DataTable.d.ts +41 -15
  145. package/datatable/DataTable.vue +582 -391
  146. package/datatable/FooterCell.vue +82 -0
  147. package/datatable/HeaderCell.vue +246 -0
  148. package/datatable/TableBody.vue +92 -23
  149. package/datatable/TableFooter.vue +34 -18
  150. package/datatable/TableHeader.vue +79 -134
  151. package/datatable/bodycell.common.js +578 -56
  152. package/datatable/bodycell.umd.js +578 -56
  153. package/datatable/bodycell.umd.min.js +1 -1
  154. package/datatable/columnfilter.common.js +7610 -0
  155. package/datatable/columnfilter.umd.js +7620 -0
  156. package/datatable/columnfilter.umd.min.js +1 -0
  157. package/datatable/columnslot.common.js +21 -1
  158. package/datatable/columnslot.umd.js +21 -1
  159. package/datatable/columnslot.umd.min.js +1 -1
  160. package/datatable/datatable.common.js +4340 -1384
  161. package/datatable/datatable.umd.js +4340 -1384
  162. package/datatable/datatable.umd.min.js +1 -1
  163. package/datatable/demo.html +3 -4
  164. package/datatable/footercell.common.js +5453 -0
  165. package/datatable/footercell.umd.js +5463 -0
  166. package/datatable/footercell.umd.min.js +1 -0
  167. package/datatable/headercell.common.js +8058 -0
  168. package/datatable/headercell.umd.js +8068 -0
  169. package/datatable/headercell.umd.min.js +1 -0
  170. package/datatable/headercheckbox.common.js +1 -1
  171. package/datatable/headercheckbox.umd.js +1 -1
  172. package/datatable/rowcheckbox.common.js +1 -1
  173. package/datatable/rowcheckbox.umd.js +1 -1
  174. package/datatable/rowradiobutton.common.js +1 -1
  175. package/datatable/rowradiobutton.umd.js +1 -1
  176. package/datatable/tablebody.common.js +1066 -473
  177. package/datatable/tablebody.umd.js +1066 -473
  178. package/datatable/tablebody.umd.min.js +1 -1
  179. package/datatable/tablefooter.common.js +3785 -105
  180. package/datatable/tablefooter.umd.js +3785 -105
  181. package/datatable/tablefooter.umd.min.js +1 -1
  182. package/datatable/tableheader.common.js +6633 -2138
  183. package/datatable/tableheader.umd.js +6633 -2138
  184. package/datatable/tableheader.umd.min.js +1 -1
  185. package/datatable/tableloadingbody.common.js +22 -2
  186. package/datatable/tableloadingbody.umd.js +22 -2
  187. package/datatable/tableloadingbody.umd.min.js +1 -1
  188. package/dataview/DataView.d.ts +2 -2
  189. package/dataview/DataView.vue +10 -10
  190. package/dataview/dataview.common.js +1971 -80
  191. package/dataview/dataview.umd.js +1971 -80
  192. package/dataview/dataview.umd.min.js +1 -1
  193. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
  194. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
  195. package/deferredcontent/deferredcontent.common.js +1 -1
  196. package/deferredcontent/deferredcontent.umd.js +1 -1
  197. package/dialog/Dialog.vue +35 -21
  198. package/dialog/dialog.common.js +62 -24
  199. package/dialog/dialog.umd.js +62 -24
  200. package/dialog/dialog.umd.min.js +1 -1
  201. package/divider/divider.common.js +1 -1
  202. package/divider/divider.umd.js +1 -1
  203. package/dock/Dock.d.ts +2 -0
  204. package/dock/Dock.vue +12 -2
  205. package/dock/DockSub.vue +45 -21
  206. package/dock/dock.common.js +44 -15
  207. package/dock/dock.umd.js +44 -15
  208. package/dock/dock.umd.min.js +1 -1
  209. package/dock/docksub.common.js +31 -7
  210. package/dock/docksub.umd.js +31 -7
  211. package/dock/docksub.umd.min.js +1 -1
  212. package/dropdown/Dropdown.d.ts +5 -3
  213. package/dropdown/Dropdown.vue +33 -5
  214. package/dropdown/dropdown.common.js +83 -24
  215. package/dropdown/dropdown.umd.js +83 -24
  216. package/dropdown/dropdown.umd.min.js +1 -1
  217. package/editor/editor.common.js +1 -1
  218. package/editor/editor.umd.js +1 -1
  219. package/fieldset/fieldset.common.js +28 -1
  220. package/fieldset/fieldset.umd.js +28 -1
  221. package/fieldset/fieldset.umd.min.js +1 -1
  222. package/fileupload/FileUpload.vue +5 -2
  223. package/fileupload/fileupload.common.js +55 -19
  224. package/fileupload/fileupload.umd.js +55 -19
  225. package/fileupload/fileupload.umd.min.js +1 -1
  226. package/fullcalendar/fullcalendar.common.js +342 -136
  227. package/fullcalendar/fullcalendar.umd.js +342 -136
  228. package/fullcalendar/fullcalendar.umd.min.js +4 -4
  229. package/galleria/Galleria.vue +3 -8
  230. package/galleria/GalleriaContent.vue +9 -0
  231. package/galleria/galleria.common.js +49 -17
  232. package/galleria/galleria.umd.js +49 -17
  233. package/galleria/galleria.umd.min.js +1 -1
  234. package/galleria/galleriacontent.common.js +40 -4
  235. package/galleria/galleriacontent.umd.js +40 -4
  236. package/galleria/galleriacontent.umd.min.js +1 -1
  237. package/galleria/galleriaitem.common.js +28 -1
  238. package/galleria/galleriaitem.umd.js +28 -1
  239. package/galleria/galleriaitem.umd.min.js +1 -1
  240. package/galleria/galleriathumbnails.common.js +28 -1
  241. package/galleria/galleriathumbnails.umd.js +28 -1
  242. package/galleria/galleriathumbnails.umd.min.js +1 -1
  243. package/imagepreview/ImagePreview.d.ts +10 -0
  244. package/imagepreview/ImagePreview.vue +205 -0
  245. package/imagepreview/demo.html +17 -0
  246. package/{datatable/scrollableview.common.js → imagepreview/imagepreview.common.js} +570 -463
  247. package/{datatable/scrollableview.umd.js → imagepreview/imagepreview.umd.js} +572 -465
  248. package/imagepreview/imagepreview.umd.min.js +1 -0
  249. package/imagepreview/index.d.ts +1 -0
  250. package/imagepreview/index.js +2 -0
  251. package/imagepreview/plugin.js +4 -0
  252. package/inlinemessage/inlinemessage.common.js +1 -1
  253. package/inlinemessage/inlinemessage.umd.js +1 -1
  254. package/inplace/inplace.common.js +29 -2
  255. package/inplace/inplace.umd.js +29 -2
  256. package/inplace/inplace.umd.min.js +1 -1
  257. package/inputmask/InputMask.vue +7 -5
  258. package/inputmask/inputmask.common.js +39 -12
  259. package/inputmask/inputmask.umd.js +39 -12
  260. package/inputmask/inputmask.umd.min.js +1 -1
  261. package/inputnumber/InputNumber.vue +183 -62
  262. package/inputnumber/inputnumber.common.js +249 -113
  263. package/inputnumber/inputnumber.umd.js +249 -113
  264. package/inputnumber/inputnumber.umd.min.js +1 -1
  265. package/inputswitch/InputSwitch.d.ts +2 -0
  266. package/inputswitch/InputSwitch.vue +15 -3
  267. package/inputswitch/inputswitch.common.js +17 -5
  268. package/inputswitch/inputswitch.umd.js +17 -5
  269. package/inputswitch/inputswitch.umd.min.js +1 -1
  270. package/inputtext/inputtext.common.js +3 -7
  271. package/inputtext/inputtext.umd.js +3 -7
  272. package/inputtext/inputtext.umd.min.js +1 -1
  273. package/knob/knob.common.js +1 -1
  274. package/knob/knob.umd.js +1 -1
  275. package/listbox/Listbox.d.ts +3 -3
  276. package/listbox/listbox.common.js +48 -18
  277. package/listbox/listbox.umd.js +48 -18
  278. package/listbox/listbox.umd.min.js +1 -1
  279. package/megamenu/MegaMenu.d.ts +6 -1
  280. package/megamenu/MegaMenu.vue +51 -22
  281. package/megamenu/megamenu.common.js +74 -10
  282. package/megamenu/megamenu.umd.js +74 -10
  283. package/megamenu/megamenu.umd.min.js +1 -1
  284. package/menu/Menu.d.ts +1 -0
  285. package/menu/Menu.vue +11 -4
  286. package/menu/Menuitem.vue +25 -11
  287. package/menu/menu.common.js +68 -17
  288. package/menu/menu.umd.js +68 -17
  289. package/menu/menu.umd.min.js +1 -1
  290. package/menu/menuitem.common.js +55 -11
  291. package/menu/menuitem.umd.js +55 -11
  292. package/menu/menuitem.umd.min.js +1 -1
  293. package/menubar/Menubar.d.ts +1 -0
  294. package/menubar/Menubar.vue +5 -1
  295. package/menubar/MenubarSub.vue +34 -14
  296. package/menubar/menubar.common.js +68 -14
  297. package/menubar/menubar.umd.js +68 -14
  298. package/menubar/menubar.umd.min.js +1 -1
  299. package/menubar/menubarsub.common.js +58 -8
  300. package/menubar/menubarsub.umd.js +58 -8
  301. package/menubar/menubarsub.umd.min.js +1 -1
  302. package/message/Message.d.ts +1 -0
  303. package/message/Message.vue +5 -1
  304. package/message/message.common.js +34 -3
  305. package/message/message.umd.js +34 -3
  306. package/message/message.umd.min.js +1 -1
  307. package/multiselect/MultiSelect.d.ts +4 -3
  308. package/multiselect/MultiSelect.vue +8 -1
  309. package/multiselect/multiselect.common.js +58 -22
  310. package/multiselect/multiselect.umd.js +58 -22
  311. package/multiselect/multiselect.umd.min.js +1 -1
  312. package/orderlist/OrderList.d.ts +2 -0
  313. package/orderlist/OrderList.vue +2 -0
  314. package/orderlist/orderlist.common.js +53 -21
  315. package/orderlist/orderlist.umd.js +53 -21
  316. package/orderlist/orderlist.umd.min.js +1 -1
  317. package/organizationchart/organizationchart.common.js +31 -8
  318. package/organizationchart/organizationchart.umd.js +31 -8
  319. package/organizationchart/organizationchart.umd.min.js +1 -1
  320. package/organizationchart/organizationchartnode.common.js +28 -1
  321. package/organizationchart/organizationchartnode.umd.js +28 -1
  322. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  323. package/overlayeventbus/OverlayEventBus.js +14 -0
  324. package/overlayeventbus/demo.html +8 -0
  325. package/overlayeventbus/index.d.ts +1 -0
  326. package/overlayeventbus/index.js +2 -0
  327. package/overlayeventbus/overlayeventbus.common.js +1773 -0
  328. package/overlayeventbus/overlayeventbus.umd.js +1783 -0
  329. package/overlayeventbus/overlayeventbus.umd.min.js +1 -0
  330. package/overlaypanel/overlaypanel.common.js +28 -1
  331. package/overlaypanel/overlaypanel.umd.js +28 -1
  332. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  333. package/package.json +5 -1
  334. package/paginator/CurrentPageReport.vue +6 -2
  335. package/paginator/JumpToPageDropdown.vue +33 -0
  336. package/paginator/JumpToPageInput.vue +25 -0
  337. package/paginator/Paginator.d.ts +2 -2
  338. package/paginator/Paginator.vue +24 -11
  339. package/paginator/RowsPerPageDropdown.vue +3 -2
  340. package/paginator/currentpagereport.common.js +7 -3
  341. package/paginator/currentpagereport.umd.js +7 -3
  342. package/paginator/currentpagereport.umd.min.js +1 -1
  343. package/paginator/demo.html +3 -3
  344. package/paginator/firstpagelink.common.js +28 -1
  345. package/paginator/firstpagelink.umd.js +28 -1
  346. package/paginator/firstpagelink.umd.min.js +1 -1
  347. package/paginator/jumptopagedropdown.common.js +6501 -0
  348. package/paginator/jumptopagedropdown.umd.js +6511 -0
  349. package/paginator/jumptopagedropdown.umd.min.js +1 -0
  350. package/paginator/jumptopageinput.common.js +7438 -0
  351. package/paginator/jumptopageinput.umd.js +7448 -0
  352. package/paginator/jumptopageinput.umd.min.js +1 -0
  353. package/paginator/lastpagelink.common.js +28 -1
  354. package/paginator/lastpagelink.umd.js +28 -1
  355. package/paginator/lastpagelink.umd.min.js +1 -1
  356. package/paginator/nextpagelink.common.js +28 -1
  357. package/paginator/nextpagelink.umd.js +28 -1
  358. package/paginator/nextpagelink.umd.min.js +1 -1
  359. package/paginator/pagelinks.common.js +28 -1
  360. package/paginator/pagelinks.umd.js +28 -1
  361. package/paginator/pagelinks.umd.min.js +1 -1
  362. package/paginator/paginator.common.js +2277 -119
  363. package/paginator/paginator.umd.js +2277 -119
  364. package/paginator/paginator.umd.min.js +1 -1
  365. package/paginator/prevpagelink.common.js +28 -1
  366. package/paginator/prevpagelink.umd.js +28 -1
  367. package/paginator/prevpagelink.umd.min.js +1 -1
  368. package/paginator/rowsperpagedropdown.common.js +91 -31
  369. package/paginator/rowsperpagedropdown.umd.js +91 -31
  370. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  371. package/panel/Panel.d.ts +1 -0
  372. package/panel/Panel.vue +1 -1
  373. package/panel/panel.common.js +29 -2
  374. package/panel/panel.umd.js +29 -2
  375. package/panel/panel.umd.min.js +1 -1
  376. package/panelmenu/PanelMenu.d.ts +1 -0
  377. package/panelmenu/PanelMenu.vue +32 -6
  378. package/panelmenu/PanelMenuSub.vue +32 -13
  379. package/panelmenu/panelmenu.common.js +69 -16
  380. package/panelmenu/panelmenu.umd.js +69 -16
  381. package/panelmenu/panelmenu.umd.min.js +1 -1
  382. package/panelmenu/panelmenusub.common.js +29 -7
  383. package/panelmenu/panelmenusub.umd.js +29 -7
  384. package/panelmenu/panelmenusub.umd.min.js +1 -1
  385. package/password/password.common.js +31 -8
  386. package/password/password.umd.js +31 -8
  387. package/password/password.umd.min.js +1 -1
  388. package/picklist/PickList.d.ts +8 -0
  389. package/picklist/PickList.vue +10 -4
  390. package/picklist/picklist.common.js +57 -21
  391. package/picklist/picklist.umd.js +57 -21
  392. package/picklist/picklist.umd.min.js +1 -1
  393. package/progressbar/ProgressBar.vue +18 -14
  394. package/progressbar/progressbar.common.js +7 -5
  395. package/progressbar/progressbar.umd.js +7 -5
  396. package/progressbar/progressbar.umd.min.js +1 -1
  397. package/progressspinner/progressspinner.common.js +1 -1
  398. package/progressspinner/progressspinner.umd.js +1 -1
  399. package/radiobutton/radiobutton.common.js +26 -18
  400. package/radiobutton/radiobutton.umd.js +26 -18
  401. package/radiobutton/radiobutton.umd.min.js +1 -1
  402. package/rating/Rating.vue +1 -1
  403. package/rating/rating.common.js +3 -3
  404. package/rating/rating.umd.js +3 -3
  405. package/rating/rating.umd.min.js +1 -1
  406. package/resources/primevue.css +15 -4
  407. package/resources/primevue.min.css +1 -1
  408. package/resources/themes/arya-blue/theme.css +178 -42
  409. package/resources/themes/arya-green/theme.css +178 -42
  410. package/resources/themes/arya-orange/theme.css +178 -42
  411. package/resources/themes/arya-purple/theme.css +178 -42
  412. package/resources/themes/bootstrap4-dark-blue/theme.css +175 -46
  413. package/resources/themes/bootstrap4-dark-purple/theme.css +175 -46
  414. package/resources/themes/bootstrap4-light-blue/theme.css +175 -46
  415. package/resources/themes/bootstrap4-light-purple/theme.css +175 -46
  416. package/resources/themes/fluent-light/theme.css +182 -46
  417. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  418. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  419. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  420. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  421. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  422. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  423. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  424. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  425. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  426. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  427. package/resources/themes/lara-dark-blue/theme.css +5418 -0
  428. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  429. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  430. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  431. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  432. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  433. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  434. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  435. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  436. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  437. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  438. package/resources/themes/lara-dark-indigo/theme.css +5418 -0
  439. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  440. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  441. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  442. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  443. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  444. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  445. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  446. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  447. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  448. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  449. package/resources/themes/lara-dark-purple/theme.css +5418 -0
  450. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  451. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  452. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  453. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  454. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  455. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  456. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  457. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  458. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  459. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  460. package/resources/themes/lara-dark-teal/theme.css +5418 -0
  461. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  462. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  463. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  464. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  465. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  466. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  467. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  468. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  469. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  470. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  471. package/resources/themes/lara-light-blue/theme.css +5418 -0
  472. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  473. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  474. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  475. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  476. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  477. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  478. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  479. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  480. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  481. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  482. package/resources/themes/lara-light-indigo/theme.css +5418 -0
  483. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  484. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  485. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  486. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  487. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  488. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  489. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  490. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  491. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  492. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  493. package/resources/themes/lara-light-purple/theme.css +5418 -0
  494. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  495. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  496. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  497. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  498. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  499. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  500. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  501. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  502. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  503. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  504. package/resources/themes/lara-light-teal/theme.css +5418 -0
  505. package/resources/themes/luna-amber/theme.css +175 -46
  506. package/resources/themes/luna-blue/theme.css +175 -46
  507. package/resources/themes/luna-green/theme.css +175 -46
  508. package/resources/themes/luna-pink/theme.css +175 -46
  509. package/resources/themes/md-dark-deeppurple/theme.css +379 -87
  510. package/resources/themes/md-dark-indigo/theme.css +379 -87
  511. package/resources/themes/md-light-deeppurple/theme.css +379 -87
  512. package/resources/themes/md-light-indigo/theme.css +379 -87
  513. package/resources/themes/mdc-dark-deeppurple/theme.css +379 -87
  514. package/resources/themes/mdc-dark-indigo/theme.css +379 -87
  515. package/resources/themes/mdc-light-deeppurple/theme.css +379 -87
  516. package/resources/themes/mdc-light-indigo/theme.css +379 -87
  517. package/resources/themes/nova/theme.css +175 -46
  518. package/resources/themes/nova-accent/theme.css +175 -46
  519. package/resources/themes/nova-alt/theme.css +175 -46
  520. package/resources/themes/nova-vue/theme.css +175 -46
  521. package/resources/themes/rhea/theme.css +175 -46
  522. package/resources/themes/saga-blue/theme.css +178 -42
  523. package/resources/themes/saga-green/theme.css +178 -42
  524. package/resources/themes/saga-orange/theme.css +178 -42
  525. package/resources/themes/saga-purple/theme.css +178 -42
  526. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  527. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  528. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  529. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  530. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  531. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  532. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  533. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  534. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  535. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  536. package/resources/themes/tailwind-light/theme.css +5493 -0
  537. package/resources/themes/vela-blue/theme.css +178 -42
  538. package/resources/themes/vela-green/theme.css +178 -42
  539. package/resources/themes/vela-orange/theme.css +178 -42
  540. package/resources/themes/vela-purple/theme.css +178 -42
  541. package/ripple/ripple.common.js +27 -0
  542. package/ripple/ripple.umd.js +27 -0
  543. package/ripple/ripple.umd.min.js +1 -1
  544. package/row/row.common.js +1 -1
  545. package/row/row.umd.js +1 -1
  546. package/scrollpanel/scrollpanel.common.js +28 -1
  547. package/scrollpanel/scrollpanel.umd.js +28 -1
  548. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  549. package/scrolltop/scrolltop.common.js +28 -1
  550. package/scrolltop/scrolltop.umd.js +28 -1
  551. package/scrolltop/scrolltop.umd.min.js +1 -1
  552. package/selectbutton/SelectButton.d.ts +3 -3
  553. package/selectbutton/SelectButton.vue +6 -1
  554. package/selectbutton/selectbutton.common.js +55 -20
  555. package/selectbutton/selectbutton.umd.js +55 -20
  556. package/selectbutton/selectbutton.umd.min.js +1 -1
  557. package/sidebar/Sidebar.vue +3 -16
  558. package/sidebar/sidebar.common.js +37 -15
  559. package/sidebar/sidebar.umd.js +37 -15
  560. package/sidebar/sidebar.umd.min.js +1 -1
  561. package/skeleton/skeleton.common.js +1 -1
  562. package/skeleton/skeleton.umd.js +1 -1
  563. package/slider/Slider.vue +20 -12
  564. package/slider/slider.common.js +41 -9
  565. package/slider/slider.umd.js +41 -9
  566. package/slider/slider.umd.min.js +1 -1
  567. package/speeddial/SpeedDial.d.ts +1 -0
  568. package/speeddial/SpeedDial.vue +10 -9
  569. package/speeddial/speeddial.common.js +40 -16
  570. package/speeddial/speeddial.umd.js +40 -16
  571. package/speeddial/speeddial.umd.min.js +1 -1
  572. package/splitbutton/splitbutton.common.js +73 -22
  573. package/splitbutton/splitbutton.umd.js +73 -22
  574. package/splitbutton/splitbutton.umd.min.js +1 -1
  575. package/splitter/splitter.common.js +27 -0
  576. package/splitter/splitter.umd.js +27 -0
  577. package/splitter/splitter.umd.min.js +1 -1
  578. package/steps/Steps.d.ts +1 -0
  579. package/steps/Steps.vue +30 -8
  580. package/steps/steps.common.js +33 -6
  581. package/steps/steps.umd.js +33 -6
  582. package/steps/steps.umd.min.js +1 -1
  583. package/styleclass/StyleClass.js +4 -1
  584. package/styleclass/styleclass.common.js +31 -1
  585. package/styleclass/styleclass.umd.js +31 -1
  586. package/styleclass/styleclass.umd.min.js +1 -1
  587. package/tabmenu/TabMenu.d.ts +1 -0
  588. package/tabmenu/TabMenu.vue +39 -10
  589. package/tabmenu/tabmenu.common.js +192 -8
  590. package/tabmenu/tabmenu.umd.js +192 -8
  591. package/tabmenu/tabmenu.umd.min.js +1 -1
  592. package/tabpanel/tabpanel.common.js +1 -1
  593. package/tabpanel/tabpanel.umd.js +1 -1
  594. package/tabview/TabView.d.ts +1 -0
  595. package/tabview/TabView.vue +111 -11
  596. package/tabview/tabview.common.js +124 -22
  597. package/tabview/tabview.umd.js +124 -22
  598. package/tabview/tabview.umd.min.js +1 -1
  599. package/tag/tag.common.js +1 -1
  600. package/tag/tag.umd.js +1 -1
  601. package/terminal/terminal.common.js +1 -1
  602. package/terminal/terminal.umd.js +1 -1
  603. package/textarea/textarea.common.js +3 -7
  604. package/textarea/textarea.umd.js +3 -7
  605. package/textarea/textarea.umd.min.js +1 -1
  606. package/tieredmenu/TieredMenu.d.ts +1 -0
  607. package/tieredmenu/TieredMenu.vue +5 -1
  608. package/tieredmenu/TieredMenuSub.vue +30 -14
  609. package/tieredmenu/demo.html +3 -4
  610. package/tieredmenu/tieredmenu.common.js +63 -13
  611. package/tieredmenu/tieredmenu.umd.js +63 -13
  612. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  613. package/tieredmenu/tieredmenusub.common.js +53 -7
  614. package/tieredmenu/tieredmenusub.umd.js +53 -7
  615. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  616. package/timeline/timeline.common.js +26 -18
  617. package/timeline/timeline.umd.js +26 -18
  618. package/timeline/timeline.umd.min.js +1 -1
  619. package/toast/Toast.d.ts +4 -1
  620. package/toast/Toast.vue +1 -1
  621. package/toast/toast.common.js +30 -5
  622. package/toast/toast.umd.js +30 -5
  623. package/toast/toast.umd.min.js +1 -1
  624. package/toast/toastmessage.common.js +28 -1
  625. package/toast/toastmessage.umd.js +28 -1
  626. package/toast/toastmessage.umd.min.js +1 -1
  627. package/togglebutton/togglebutton.common.js +28 -1
  628. package/togglebutton/togglebutton.umd.js +28 -1
  629. package/togglebutton/togglebutton.umd.min.js +1 -1
  630. package/toolbar/Toolbar.d.ts +1 -1
  631. package/toolbar/Toolbar.vue +2 -2
  632. package/toolbar/toolbar.common.js +3 -3
  633. package/toolbar/toolbar.umd.js +3 -3
  634. package/toolbar/toolbar.umd.min.js +1 -1
  635. package/tooltip/Tooltip.css +1 -0
  636. package/tooltip/Tooltip.js +37 -2
  637. package/tooltip/tooltip.common.js +1711 -24
  638. package/tooltip/tooltip.umd.js +1711 -24
  639. package/tooltip/tooltip.umd.min.js +1 -1
  640. package/tree/TreeNode.vue +5 -1
  641. package/tree/tree.common.js +63 -31
  642. package/tree/tree.umd.js +63 -31
  643. package/tree/tree.umd.min.js +1 -1
  644. package/tree/treenode.common.js +36 -9
  645. package/tree/treenode.umd.js +36 -9
  646. package/tree/treenode.umd.min.js +1 -1
  647. package/treetable/BodyCell.vue +162 -0
  648. package/treetable/FooterCell.vue +81 -0
  649. package/treetable/HeaderCell.vue +183 -0
  650. package/treetable/TreeTable.d.ts +2 -2
  651. package/treetable/TreeTable.vue +93 -116
  652. package/treetable/bodycell.common.js +5596 -0
  653. package/treetable/bodycell.umd.js +5606 -0
  654. package/treetable/bodycell.umd.min.js +1 -0
  655. package/treetable/demo.html +3 -3
  656. package/treetable/footercell.common.js +5300 -0
  657. package/treetable/footercell.umd.js +5310 -0
  658. package/treetable/footercell.umd.min.js +1 -0
  659. package/treetable/headercell.common.js +5529 -0
  660. package/treetable/headercell.umd.js +5539 -0
  661. package/treetable/headercell.umd.min.js +1 -0
  662. package/treetable/treetable.common.js +3801 -1562
  663. package/treetable/treetable.umd.js +3801 -1562
  664. package/treetable/treetable.umd.min.js +1 -1
  665. package/treetable/treetablerow.common.js +50 -21
  666. package/treetable/treetablerow.umd.js +50 -21
  667. package/treetable/treetablerow.umd.min.js +1 -1
  668. package/treetable/treetablerowloader.common.js +52 -24
  669. package/treetable/treetablerowloader.umd.js +52 -24
  670. package/treetable/treetablerowloader.umd.min.js +1 -1
  671. package/tristatecheckbox/tristatecheckbox.common.js +1 -1
  672. package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
  673. package/utils/ConnectedOverlayScrollHandler.js +1 -1
  674. package/utils/DomHandler.js +23 -1
  675. package/utils/EventBus.js +33 -0
  676. package/utils/ObjectUtils.js +15 -2
  677. package/utils/Utils.d.ts +73 -0
  678. package/utils/Utils.js +47 -0
  679. package/utils/connectedoverlayscrollhandler.common.js +27 -0
  680. package/utils/connectedoverlayscrollhandler.umd.js +27 -0
  681. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  682. package/utils/demo.html +3 -3
  683. package/utils/domhandler.common.js +27 -0
  684. package/utils/domhandler.umd.js +27 -0
  685. package/utils/domhandler.umd.min.js +1 -1
  686. package/utils/eventbus.common.js +1770 -0
  687. package/utils/eventbus.umd.js +1780 -0
  688. package/utils/eventbus.umd.min.js +1 -0
  689. package/utils/index.d.ts +1 -0
  690. package/utils/index.js +2 -0
  691. package/utils/objectutils.common.js +25 -17
  692. package/utils/objectutils.umd.js +25 -17
  693. package/utils/objectutils.umd.min.js +1 -1
  694. package/utils/utils.common.js +5481 -0
  695. package/utils/utils.umd.js +5491 -0
  696. package/utils/utils.umd.min.js +1 -0
  697. package/vetur-attributes.json +148 -20
  698. package/vetur-tags.json +57 -20
  699. package/web-types.json +477 -33
  700. package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
  701. package/datatable/ScrollableView.vue +0 -223
  702. package/datatable/scrollableview.umd.min.js +0 -1
  703. package/utils/FilterUtils.js +0 -176
  704. package/utils/filterutils.umd.min.js +0 -1
@@ -545,19 +545,29 @@ if (typeof window !== 'undefined') {
545
545
  // Indicate to webpack that this file can be concatenated
546
546
  /* harmony default export */ var setPublicPath = (null);
547
547
 
548
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0538004c-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/PanelMenu.vue?vue&type=template&id=66c8c176&
549
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-panelmenu p-component"},[_vm._l((_vm.model),function(item,index){return [(_vm.visible(item))?_c('div',{key:item.label + '_' + index,class:_vm.getPanelClass(item),style:(item.style)},[_c('div',{class:_vm.getHeaderClass(item),style:(item.style)},[_c('a',{staticClass:"p-panelmenu-header-link",attrs:{"href":item.url,"tabindex":item.disabled ? null : '0',"aria-expanded":_vm.isActive(item),"id":_vm.ariaId +'_header',"aria-controls":_vm.ariaId +'_content'},on:{"click":function($event){return _vm.onItemClick($event, item)}}},[(item.items)?_c('span',{class:_vm.getPanelToggleIcon(item)}):_vm._e(),(item.icon)?_c('span',{class:_vm.getPanelIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(item.label))])])]),_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",attrs:{"role":"region","id":_vm.ariaId +'_content',"aria-labelledby":_vm.ariaId +'_header'}},[(item.items)?_c('div',{staticClass:"p-panelmenu-content"},[_c('PanelMenuSub',{staticClass:"p-panelmenu-root-submenu",attrs:{"model":item.items}})],1):_vm._e()])])],1):_vm._e()]})],2)}
548
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-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/PanelMenu.vue?vue&type=template&id=531dc28a&
549
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-panelmenu p-component"},[_vm._l((_vm.model),function(item,index){return [(_vm.visible(item))?_c('div',{key:_vm.label(item) + '_' + index,class:_vm.getPanelClass(item),style:(item.style)},[_c('div',{class:_vm.getHeaderClass(item),style:(item.style)},[(item.to && !_vm.disabled(item))?_c('router-link',{attrs:{"to":item.to,"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
550
+ var navigate = ref.navigate;
551
+ var href = ref.href;
552
+ var isRouterActive = ref.isActive;
553
+ var isExactActive = ref.isExactActive;
554
+ return [_c('a',{class:_vm.getHeaderLinkClass(item, {isRouterActive: isRouterActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"treeitem"},on:{"click":function($event){return _vm.onItemClick($event, item, navigate)}}},[(item.icon)?_c('span',{class:_vm.getPanelIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])])]}}],null,true)}):_c('a',{class:_vm.getHeaderLinkClass(item),attrs:{"href":item.url,"tabindex":_vm.disabled(item) ? null : '0',"aria-expanded":_vm.isActive(item),"id":_vm.ariaId +'_header',"aria-controls":_vm.ariaId +'_content'},on:{"click":function($event){return _vm.onItemClick($event, item)}}},[(item.items)?_c('span',{class:_vm.getPanelToggleIcon(item)}):_vm._e(),(item.icon)?_c('span',{class:_vm.getPanelIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])])],1),_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",attrs:{"role":"region","id":_vm.ariaId +'_content',"aria-labelledby":_vm.ariaId +'_header'}},[(item.items)?_c('div',{staticClass:"p-panelmenu-content"},[_c('PanelMenuSub',{staticClass:"p-panelmenu-root-submenu",attrs:{"model":item.items}})],1):_vm._e()])])],1):_vm._e()]})],2)}
550
555
  var staticRenderFns = []
551
556
 
552
557
 
553
- // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenu.vue?vue&type=template&id=66c8c176&
558
+ // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenu.vue?vue&type=template&id=531dc28a&
554
559
 
555
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0538004c-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=0fff806c&
556
- var PanelMenuSubvue_type_template_id_0fff806c_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:item.label + i,class:_vm.getItemClass(item),style:(item.style),attrs:{"role":"none"}},[(item.to && !item.disabled)?_c('router-link',{class:_vm.getLinkClass(item),attrs:{"to":item.to,"role":"treeitem","aria-expanded":_vm.isActive(item)},nativeOn:{"click":function($event){return _vm.onItemClick($event, item)}}},[_c('span',{class:['p-menuitem-icon', item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(item.label))])]):_c('a',{class:_vm.getLinkClass(item),attrs:{"href":item.url,"target":item.target,"role":"treeitem","aria-expanded":_vm.isActive(item),"tabindex":item.disabled ? 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(item.label))])]),_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:item.label + '_sub_',attrs:{"model":item.items}}):_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)}
557
- var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
560
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-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=9c905934&
561
+ var PanelMenuSubvue_type_template_id_9c905934_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){
562
+ var navigate = ref.navigate;
563
+ var href = ref.href;
564
+ var isActive = ref.isActive;
565
+ var isExactActive = ref.isExactActive;
566
+ return [_c('a',{class:_vm.linkClass(item, {isActive: isActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"treeitem","aria-expanded":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)}
567
+ var PanelMenuSubvue_type_template_id_9c905934_staticRenderFns = []
558
568
 
559
569
 
560
- // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=0fff806c&
570
+ // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=9c905934&
561
571
 
562
572
  // 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&
563
573
  //
@@ -586,12 +596,17 @@ var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
586
596
  //
587
597
  //
588
598
  //
599
+ //
589
600
  /* harmony default export */ var PanelMenuSubvue_type_script_lang_js_ = ({
590
601
  name: 'sub-panelmenu',
591
602
  props: {
592
603
  model: {
593
604
  type: null,
594
605
  default: null
606
+ },
607
+ exact: {
608
+ type: Boolean,
609
+ default: true
595
610
  }
596
611
  },
597
612
  data: function data() {
@@ -600,8 +615,8 @@ var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
600
615
  };
601
616
  },
602
617
  methods: {
603
- onItemClick: function onItemClick($event, item) {
604
- if (item.disabled) {
618
+ onItemClick: function onItemClick(event, item, navigate) {
619
+ if (this.disabled(item)) {
605
620
  event.preventDefault();
606
621
  return;
607
622
  }
@@ -618,13 +633,19 @@ var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
618
633
  }
619
634
 
620
635
  if (this.activeItem && this.activeItem === item) this.activeItem = null;else this.activeItem = item;
636
+
637
+ if (item.to && navigate) {
638
+ navigate(event);
639
+ }
621
640
  },
622
641
  getItemClass: function getItemClass(item) {
623
642
  return ['p-menuitem', item.class];
624
643
  },
625
- getLinkClass: function getLinkClass(item) {
644
+ linkClass: function linkClass(item, routerProps) {
626
645
  return ['p-menuitem-link', {
627
- 'p-disabled': item.disabled
646
+ 'p-disabled': this.disabled(item),
647
+ 'router-link-active': routerProps && routerProps.isActive,
648
+ 'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
628
649
  }];
629
650
  },
630
651
  isActive: function isActive(item) {
@@ -639,6 +660,12 @@ var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
639
660
  },
640
661
  visible: function visible(item) {
641
662
  return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
663
+ },
664
+ disabled: function disabled(item) {
665
+ return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
666
+ },
667
+ label: function label(item) {
668
+ return typeof item.label === 'function' ? item.label() : item.label;
642
669
  }
643
670
  }
644
671
  });
@@ -754,8 +781,8 @@ function normalizeComponent (
754
781
 
755
782
  var component = normalizeComponent(
756
783
  panelmenu_PanelMenuSubvue_type_script_lang_js_,
757
- PanelMenuSubvue_type_template_id_0fff806c_render,
758
- PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns,
784
+ PanelMenuSubvue_type_template_id_9c905934_render,
785
+ PanelMenuSubvue_type_template_id_9c905934_staticRenderFns,
759
786
  false,
760
787
  null,
761
788
  null,
@@ -797,6 +824,12 @@ var lastId = 0;
797
824
  //
798
825
  //
799
826
  //
827
+ //
828
+ //
829
+ //
830
+ //
831
+ //
832
+ //
800
833
 
801
834
 
802
835
  /* harmony default export */ var PanelMenuvue_type_script_lang_js_ = ({
@@ -804,6 +837,10 @@ var lastId = 0;
804
837
  model: {
805
838
  type: Array,
806
839
  default: null
840
+ },
841
+ exact: {
842
+ type: Boolean,
843
+ default: true
807
844
  }
808
845
  },
809
846
  data: function data() {
@@ -812,8 +849,8 @@ var lastId = 0;
812
849
  };
813
850
  },
814
851
  methods: {
815
- onItemClick: function onItemClick(event, item) {
816
- if (item.disabled) {
852
+ onItemClick: function onItemClick(event, item, navigate) {
853
+ if (this.disabled(item)) {
817
854
  event.preventDefault();
818
855
  return;
819
856
  }
@@ -830,6 +867,10 @@ var lastId = 0;
830
867
  }
831
868
 
832
869
  if (this.activeItem && this.activeItem === item) this.activeItem = null;else this.activeItem = item;
870
+
871
+ if (item.to && navigate) {
872
+ navigate(event);
873
+ }
833
874
  },
834
875
  getPanelClass: function getPanelClass(item) {
835
876
  return ['p-panelmenu-panel', item.class];
@@ -844,17 +885,29 @@ var lastId = 0;
844
885
  getPanelIcon: function getPanelIcon(item) {
845
886
  return ['p-menuitem-icon', item.icon];
846
887
  },
888
+ getHeaderLinkClass: function getHeaderLinkClass(item, routerProps) {
889
+ return ['p-panelmenu-header-link', {
890
+ 'router-link-active': routerProps && routerProps.isActive,
891
+ 'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
892
+ }];
893
+ },
847
894
  isActive: function isActive(item) {
848
895
  return item === this.activeItem;
849
896
  },
850
897
  getHeaderClass: function getHeaderClass(item) {
851
898
  return ['p-component p-panelmenu-header', {
852
899
  'p-highlight': this.isActive(item),
853
- 'p-disabled': item.disabled
900
+ 'p-disabled': this.disabled(item)
854
901
  }];
855
902
  },
856
903
  visible: function visible(item) {
857
904
  return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
905
+ },
906
+ disabled: function disabled(item) {
907
+ return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
908
+ },
909
+ label: function label(item) {
910
+ return typeof item.label === 'function' ? item.label() : item.label;
858
911
  }
859
912
  },
860
913
  components: {
@@ -554,19 +554,29 @@ if (typeof window !== 'undefined') {
554
554
  // Indicate to webpack that this file can be concatenated
555
555
  /* harmony default export */ var setPublicPath = (null);
556
556
 
557
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0538004c-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/PanelMenu.vue?vue&type=template&id=66c8c176&
558
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-panelmenu p-component"},[_vm._l((_vm.model),function(item,index){return [(_vm.visible(item))?_c('div',{key:item.label + '_' + index,class:_vm.getPanelClass(item),style:(item.style)},[_c('div',{class:_vm.getHeaderClass(item),style:(item.style)},[_c('a',{staticClass:"p-panelmenu-header-link",attrs:{"href":item.url,"tabindex":item.disabled ? null : '0',"aria-expanded":_vm.isActive(item),"id":_vm.ariaId +'_header',"aria-controls":_vm.ariaId +'_content'},on:{"click":function($event){return _vm.onItemClick($event, item)}}},[(item.items)?_c('span',{class:_vm.getPanelToggleIcon(item)}):_vm._e(),(item.icon)?_c('span',{class:_vm.getPanelIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(item.label))])])]),_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",attrs:{"role":"region","id":_vm.ariaId +'_content',"aria-labelledby":_vm.ariaId +'_header'}},[(item.items)?_c('div',{staticClass:"p-panelmenu-content"},[_c('PanelMenuSub',{staticClass:"p-panelmenu-root-submenu",attrs:{"model":item.items}})],1):_vm._e()])])],1):_vm._e()]})],2)}
557
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-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/PanelMenu.vue?vue&type=template&id=531dc28a&
558
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-panelmenu p-component"},[_vm._l((_vm.model),function(item,index){return [(_vm.visible(item))?_c('div',{key:_vm.label(item) + '_' + index,class:_vm.getPanelClass(item),style:(item.style)},[_c('div',{class:_vm.getHeaderClass(item),style:(item.style)},[(item.to && !_vm.disabled(item))?_c('router-link',{attrs:{"to":item.to,"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
559
+ var navigate = ref.navigate;
560
+ var href = ref.href;
561
+ var isRouterActive = ref.isActive;
562
+ var isExactActive = ref.isExactActive;
563
+ return [_c('a',{class:_vm.getHeaderLinkClass(item, {isRouterActive: isRouterActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"treeitem"},on:{"click":function($event){return _vm.onItemClick($event, item, navigate)}}},[(item.icon)?_c('span',{class:_vm.getPanelIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])])]}}],null,true)}):_c('a',{class:_vm.getHeaderLinkClass(item),attrs:{"href":item.url,"tabindex":_vm.disabled(item) ? null : '0',"aria-expanded":_vm.isActive(item),"id":_vm.ariaId +'_header',"aria-controls":_vm.ariaId +'_content'},on:{"click":function($event){return _vm.onItemClick($event, item)}}},[(item.items)?_c('span',{class:_vm.getPanelToggleIcon(item)}):_vm._e(),(item.icon)?_c('span',{class:_vm.getPanelIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])])],1),_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",attrs:{"role":"region","id":_vm.ariaId +'_content',"aria-labelledby":_vm.ariaId +'_header'}},[(item.items)?_c('div',{staticClass:"p-panelmenu-content"},[_c('PanelMenuSub',{staticClass:"p-panelmenu-root-submenu",attrs:{"model":item.items}})],1):_vm._e()])])],1):_vm._e()]})],2)}
559
564
  var staticRenderFns = []
560
565
 
561
566
 
562
- // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenu.vue?vue&type=template&id=66c8c176&
567
+ // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenu.vue?vue&type=template&id=531dc28a&
563
568
 
564
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0538004c-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=0fff806c&
565
- var PanelMenuSubvue_type_template_id_0fff806c_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:item.label + i,class:_vm.getItemClass(item),style:(item.style),attrs:{"role":"none"}},[(item.to && !item.disabled)?_c('router-link',{class:_vm.getLinkClass(item),attrs:{"to":item.to,"role":"treeitem","aria-expanded":_vm.isActive(item)},nativeOn:{"click":function($event){return _vm.onItemClick($event, item)}}},[_c('span',{class:['p-menuitem-icon', item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(item.label))])]):_c('a',{class:_vm.getLinkClass(item),attrs:{"href":item.url,"target":item.target,"role":"treeitem","aria-expanded":_vm.isActive(item),"tabindex":item.disabled ? 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(item.label))])]),_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:item.label + '_sub_',attrs:{"model":item.items}}):_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)}
566
- var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
569
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-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=9c905934&
570
+ var PanelMenuSubvue_type_template_id_9c905934_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){
571
+ var navigate = ref.navigate;
572
+ var href = ref.href;
573
+ var isActive = ref.isActive;
574
+ var isExactActive = ref.isExactActive;
575
+ return [_c('a',{class:_vm.linkClass(item, {isActive: isActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"treeitem","aria-expanded":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)}
576
+ var PanelMenuSubvue_type_template_id_9c905934_staticRenderFns = []
567
577
 
568
578
 
569
- // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=0fff806c&
579
+ // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=9c905934&
570
580
 
571
581
  // 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&
572
582
  //
@@ -595,12 +605,17 @@ var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
595
605
  //
596
606
  //
597
607
  //
608
+ //
598
609
  /* harmony default export */ var PanelMenuSubvue_type_script_lang_js_ = ({
599
610
  name: 'sub-panelmenu',
600
611
  props: {
601
612
  model: {
602
613
  type: null,
603
614
  default: null
615
+ },
616
+ exact: {
617
+ type: Boolean,
618
+ default: true
604
619
  }
605
620
  },
606
621
  data: function data() {
@@ -609,8 +624,8 @@ var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
609
624
  };
610
625
  },
611
626
  methods: {
612
- onItemClick: function onItemClick($event, item) {
613
- if (item.disabled) {
627
+ onItemClick: function onItemClick(event, item, navigate) {
628
+ if (this.disabled(item)) {
614
629
  event.preventDefault();
615
630
  return;
616
631
  }
@@ -627,13 +642,19 @@ var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
627
642
  }
628
643
 
629
644
  if (this.activeItem && this.activeItem === item) this.activeItem = null;else this.activeItem = item;
645
+
646
+ if (item.to && navigate) {
647
+ navigate(event);
648
+ }
630
649
  },
631
650
  getItemClass: function getItemClass(item) {
632
651
  return ['p-menuitem', item.class];
633
652
  },
634
- getLinkClass: function getLinkClass(item) {
653
+ linkClass: function linkClass(item, routerProps) {
635
654
  return ['p-menuitem-link', {
636
- 'p-disabled': item.disabled
655
+ 'p-disabled': this.disabled(item),
656
+ 'router-link-active': routerProps && routerProps.isActive,
657
+ 'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
637
658
  }];
638
659
  },
639
660
  isActive: function isActive(item) {
@@ -648,6 +669,12 @@ var PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns = []
648
669
  },
649
670
  visible: function visible(item) {
650
671
  return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
672
+ },
673
+ disabled: function disabled(item) {
674
+ return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
675
+ },
676
+ label: function label(item) {
677
+ return typeof item.label === 'function' ? item.label() : item.label;
651
678
  }
652
679
  }
653
680
  });
@@ -763,8 +790,8 @@ function normalizeComponent (
763
790
 
764
791
  var component = normalizeComponent(
765
792
  panelmenu_PanelMenuSubvue_type_script_lang_js_,
766
- PanelMenuSubvue_type_template_id_0fff806c_render,
767
- PanelMenuSubvue_type_template_id_0fff806c_staticRenderFns,
793
+ PanelMenuSubvue_type_template_id_9c905934_render,
794
+ PanelMenuSubvue_type_template_id_9c905934_staticRenderFns,
768
795
  false,
769
796
  null,
770
797
  null,
@@ -806,6 +833,12 @@ var lastId = 0;
806
833
  //
807
834
  //
808
835
  //
836
+ //
837
+ //
838
+ //
839
+ //
840
+ //
841
+ //
809
842
 
810
843
 
811
844
  /* harmony default export */ var PanelMenuvue_type_script_lang_js_ = ({
@@ -813,6 +846,10 @@ var lastId = 0;
813
846
  model: {
814
847
  type: Array,
815
848
  default: null
849
+ },
850
+ exact: {
851
+ type: Boolean,
852
+ default: true
816
853
  }
817
854
  },
818
855
  data: function data() {
@@ -821,8 +858,8 @@ var lastId = 0;
821
858
  };
822
859
  },
823
860
  methods: {
824
- onItemClick: function onItemClick(event, item) {
825
- if (item.disabled) {
861
+ onItemClick: function onItemClick(event, item, navigate) {
862
+ if (this.disabled(item)) {
826
863
  event.preventDefault();
827
864
  return;
828
865
  }
@@ -839,6 +876,10 @@ var lastId = 0;
839
876
  }
840
877
 
841
878
  if (this.activeItem && this.activeItem === item) this.activeItem = null;else this.activeItem = item;
879
+
880
+ if (item.to && navigate) {
881
+ navigate(event);
882
+ }
842
883
  },
843
884
  getPanelClass: function getPanelClass(item) {
844
885
  return ['p-panelmenu-panel', item.class];
@@ -853,17 +894,29 @@ var lastId = 0;
853
894
  getPanelIcon: function getPanelIcon(item) {
854
895
  return ['p-menuitem-icon', item.icon];
855
896
  },
897
+ getHeaderLinkClass: function getHeaderLinkClass(item, routerProps) {
898
+ return ['p-panelmenu-header-link', {
899
+ 'router-link-active': routerProps && routerProps.isActive,
900
+ 'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
901
+ }];
902
+ },
856
903
  isActive: function isActive(item) {
857
904
  return item === this.activeItem;
858
905
  },
859
906
  getHeaderClass: function getHeaderClass(item) {
860
907
  return ['p-component p-panelmenu-header', {
861
908
  'p-highlight': this.isActive(item),
862
- 'p-disabled': item.disabled
909
+ 'p-disabled': this.disabled(item)
863
910
  }];
864
911
  },
865
912
  visible: function visible(item) {
866
913
  return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
914
+ },
915
+ disabled: function disabled(item) {
916
+ return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
917
+ },
918
+ label: function label(item) {
919
+ return typeof item.label === 'function' ? item.label() : item.label;
867
920
  }
868
921
  },
869
922
  components: {
@@ -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["panelmenu"]=t():e["panelmenu"]=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")}({2350:function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var a=i(r),s=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(s).concat([a]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return"/*# "+n+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=n(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i})).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"===typeof a&&(i[a]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"===typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},"499e":function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},r=0;r<t.length;r++){var a=t[r],s=a[0],o=a[1],l=a[2],u=a[3],c={id:e+":"+r,css:o,media:l,sourceMap:u};i[s]?i[s].parts.push(c):n.push(i[s]={id:s,parts:[c]})}return n}n.r(t),n.d(t,"default",(function(){return m}));var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},s=r&&(document.head||document.getElementsByTagName("head")[0]),o=null,l=0,u=!1,c=function(){},p=null,d="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(e,t,n,r){u=n,p=r||{};var s=i(e,t);return v(s),function(t){for(var n=[],r=0;r<s.length;r++){var o=s[r],l=a[o.id];l.refs--,n.push(l)}t?(s=i(e,t),v(s)):s=[];for(r=0;r<n.length;r++){l=n[r];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete a[l.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],i=a[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(b(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(b(n.parts[r]));a[n.id]={id:n.id,refs:1,parts:s}}}}function h(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function b(e){var t,n,i=document.querySelector("style["+d+'~="'+e.id+'"]');if(i){if(u)return c;i.parentNode.removeChild(i)}if(f){var r=l++;i=o||(o=h()),t=y.bind(null,i,r,!1),n=y.bind(null,i,r,!0)}else i=h(),t=_.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=g(t,r);else{var a=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(a,s[t]):e.appendChild(a)}}function _(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),p.ssrId&&e.setAttribute(d,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"8f6e":function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,".p-panelmenu .p-panelmenu-header-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;position:relative;text-decoration:none}.p-panelmenu .p-panelmenu-header-link:focus{z-index:1}.p-panelmenu .p-submenu-list{margin:0;padding:0;list-style:none}.p-panelmenu .p-menuitem-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;text-decoration:none}.p-panelmenu .p-menuitem-text{line-height:1}",""])},c2bd:function(e,t,n){"use strict";n("e9b3")},e9b3:function(e,t,n){var i=n("8f6e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("718d92e6",i,!0,{sourceMap:!1,shadowMode:!1})},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("div",{staticClass:"p-panelmenu p-component"},[e._l(e.model,(function(t,i){return[e.visible(t)?n("div",{key:t.label+"_"+i,class:e.getPanelClass(t),style:t.style},[n("div",{class:e.getHeaderClass(t),style:t.style},[n("a",{staticClass:"p-panelmenu-header-link",attrs:{href:t.url,tabindex:t.disabled?null:"0","aria-expanded":e.isActive(t),id:e.ariaId+"_header","aria-controls":e.ariaId+"_content"},on:{click:function(n){return e.onItemClick(n,t)}}},[t.items?n("span",{class:e.getPanelToggleIcon(t)}):e._e(),t.icon?n("span",{class:e.getPanelIcon(t)}):e._e(),n("span",{staticClass:"p-menuitem-text"},[e._v(e._s(t.label))])])]),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",attrs:{role:"region",id:e.ariaId+"_content","aria-labelledby":e.ariaId+"_header"}},[t.items?n("div",{staticClass:"p-panelmenu-content"},[n("PanelMenuSub",{staticClass:"p-panelmenu-root-submenu",attrs:{model:t.items}})],1):e._e()])])],1):e._e()]}))],2)},a=[],s=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:t.label+i,class:e.getItemClass(t),style:t.style,attrs:{role:"none"}},[t.to&&!t.disabled?n("router-link",{class:e.getLinkClass(t),attrs:{to:t.to,role:"treeitem","aria-expanded":e.isActive(t)},nativeOn:{click:function(n){return e.onItemClick(n,t)}}},[n("span",{class:["p-menuitem-icon",t.icon]}),n("span",{staticClass:"p-menuitem-text"},[e._v(e._s(t.label))])]):n("a",{class:e.getLinkClass(t),attrs:{href:t.url,target:t.target,role:"treeitem","aria-expanded":e.isActive(t),tabindex:t.disabled?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(t.label))])]),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:t.label+"_sub_",attrs:{model:t.items}}):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)},o=[],l={name:"sub-panelmenu",props:{model:{type:null,default:null}},data:function(){return{activeItem:null}},methods:{onItemClick:function(e,t){t.disabled?event.preventDefault():(t.url||t.to||event.preventDefault(),t.command&&t.command({originalEvent:event,item:t}),this.activeItem&&this.activeItem===t?this.activeItem=null:this.activeItem=t)},getItemClass:function(e){return["p-menuitem",e.class]},getLinkClass:function(e){return["p-menuitem-link",{"p-disabled":e.disabled}]},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}}},u=l;function c(e,t,n,i,r,a,s,o){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),s?(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(s)},u._ssrRegister=l):r&&(l=o?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:u}}var p=c(u,s,o,!1,null,null,null),d=p.exports,f=0,m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pv_id_";return f++,"".concat(e).concat(f)},v={props:{model:{type:Array,default:null}},data:function(){return{activeItem:null}},methods:{onItemClick:function(e,t){t.disabled?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)},getPanelClass:function(e){return["p-panelmenu-panel",e.class]},getPanelToggleIcon:function(e){var t=e===this.activeItem;return["p-panelmenu-icon pi",{"pi-chevron-right":!t," pi-chevron-down":t}]},getPanelIcon:function(e){return["p-menuitem-icon",e.icon]},isActive:function(e){return e===this.activeItem},getHeaderClass:function(e){return["p-component p-panelmenu-header",{"p-highlight":this.isActive(e),"p-disabled":e.disabled}]},visible:function(e){return"function"===typeof e.visible?e.visible():!1!==e.visible}},components:{PanelMenuSub:d},computed:{ariaId:function(){return m()}}},h=v,b=(n("c2bd"),c(h,r,a,!1,null,null,null)),g=b.exports;t["default"]=g}})["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["panelmenu"]=t():e["panelmenu"]=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")}({2350:function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var a=i(r),s=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(s).concat([a]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return"/*# "+n+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=n(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i})).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"===typeof a&&(i[a]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"===typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),t.push(s))}},t}},"499e":function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},r=0;r<t.length;r++){var a=t[r],s=a[0],o=a[1],l=a[2],c=a[3],u={id:e+":"+r,css:o,media:l,sourceMap:c};i[s]?i[s].parts.push(u):n.push(i[s]={id:s,parts:[u]})}return n}n.r(t),n.d(t,"default",(function(){return m}));var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},s=r&&(document.head||document.getElementsByTagName("head")[0]),o=null,l=0,c=!1,u=function(){},d=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function m(e,t,n,r){c=n,d=r||{};var s=i(e,t);return v(s),function(t){for(var n=[],r=0;r<s.length;r++){var o=s[r],l=a[o.id];l.refs--,n.push(l)}t?(s=i(e,t),v(s)):s=[];for(r=0;r<n.length;r++){l=n[r];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete a[l.id]}}}}function v(e){for(var t=0;t<e.length;t++){var n=e[t],i=a[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(h(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(h(n.parts[r]));a[n.id]={id:n.id,refs:1,parts:s}}}}function b(){var e=document.createElement("style");return e.type="text/css",s.appendChild(e),e}function h(e){var t,n,i=document.querySelector("style["+p+'~="'+e.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(f){var r=l++;i=o||(o=b()),t=y.bind(null,i,r,!1),n=y.bind(null,i,r,!0)}else i=b(),t=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return t(e),function(i){if(i){if(i.css===e.css&&i.media===e.media&&i.sourceMap===e.sourceMap)return;t(e=i)}else n()}}var g=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}();function y(e,t,n,i){var r=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=g(t,r);else{var a=document.createTextNode(r),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(a,s[t]):e.appendChild(a)}}function x(e,t){var n=t.css,i=t.media,r=t.sourceMap;if(i&&e.setAttribute("media",i),d.ssrId&&e.setAttribute(p,t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},"8f6e":function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,".p-panelmenu .p-panelmenu-header-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;position:relative;text-decoration:none}.p-panelmenu .p-panelmenu-header-link:focus{z-index:1}.p-panelmenu .p-submenu-list{margin:0;padding:0;list-style:none}.p-panelmenu .p-menuitem-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;text-decoration:none}.p-panelmenu .p-menuitem-text{line-height:1}",""])},c2bd:function(e,t,n){"use strict";n("e9b3")},e9b3:function(e,t,n){var i=n("8f6e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("718d92e6",i,!0,{sourceMap:!1,shadowMode:!1})},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("div",{staticClass:"p-panelmenu p-component"},[e._l(e.model,(function(t,i){return[e.visible(t)?n("div",{key:e.label(t)+"_"+i,class:e.getPanelClass(t),style:t.style},[n("div",{class:e.getHeaderClass(t),style:t.style},[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,s=i.isActive,o=i.isExactActive;return[n("a",{class:e.getHeaderLinkClass(t,{isRouterActive:s,isExactActive:o}),attrs:{href:a,role:"treeitem"},on:{click:function(n){return e.onItemClick(n,t,r)}}},[t.icon?n("span",{class:e.getPanelIcon(t)}):e._e(),n("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(t)))])])]}}],null,!0)}):n("a",{class:e.getHeaderLinkClass(t),attrs:{href:t.url,tabindex:e.disabled(t)?null:"0","aria-expanded":e.isActive(t),id:e.ariaId+"_header","aria-controls":e.ariaId+"_content"},on:{click:function(n){return e.onItemClick(n,t)}}},[t.items?n("span",{class:e.getPanelToggleIcon(t)}):e._e(),t.icon?n("span",{class:e.getPanelIcon(t)}):e._e(),n("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(t)))])])],1),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",attrs:{role:"region",id:e.ariaId+"_content","aria-labelledby":e.ariaId+"_header"}},[t.items?n("div",{staticClass:"p-panelmenu-content"},[n("PanelMenuSub",{staticClass:"p-panelmenu-root-submenu",attrs:{model:t.items}})],1):e._e()])])],1):e._e()]}))],2)},a=[],s=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,s=i.isActive,o=i.isExactActive;return[n("a",{class:e.linkClass(t,{isActive:s,isExactActive:o}),attrs:{href:a,role:"treeitem","aria-expanded":s(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)},o=[],l={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}}},c=l;function u(e,t,n,i,r,a,s,o){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),s?(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(s)},c._ssrRegister=l):r&&(l=o?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 d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var d=u(c,s,o,!1,null,null,null),p=d.exports,f=0,m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pv_id_";return f++,"".concat(e).concat(f)},v={props:{model:{type:Array,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))},getPanelClass:function(e){return["p-panelmenu-panel",e.class]},getPanelToggleIcon:function(e){var t=e===this.activeItem;return["p-panelmenu-icon pi",{"pi-chevron-right":!t," pi-chevron-down":t}]},getPanelIcon:function(e){return["p-menuitem-icon",e.icon]},getHeaderLinkClass:function(e,t){return["p-panelmenu-header-link",{"router-link-active":t&&t.isActive,"router-link-active-exact":this.exact&&t&&t.isExactActive}]},isActive:function(e){return e===this.activeItem},getHeaderClass:function(e){return["p-component p-panelmenu-header",{"p-highlight":this.isActive(e),"p-disabled":this.disabled(e)}]},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}},components:{PanelMenuSub:p},computed:{ariaId:function(){return m()}}},b=v,h=(n("c2bd"),u(b,r,a,!1,null,null,null)),g=h.exports;t["default"]=g}})["default"]}));
@@ -154,12 +154,17 @@ 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":"0538004c-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=0fff806c&
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:item.label + i,class:_vm.getItemClass(item),style:(item.style),attrs:{"role":"none"}},[(item.to && !item.disabled)?_c('router-link',{class:_vm.getLinkClass(item),attrs:{"to":item.to,"role":"treeitem","aria-expanded":_vm.isActive(item)},nativeOn:{"click":function($event){return _vm.onItemClick($event, item)}}},[_c('span',{class:['p-menuitem-icon', item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(item.label))])]):_c('a',{class:_vm.getLinkClass(item),attrs:{"href":item.url,"target":item.target,"role":"treeitem","aria-expanded":_vm.isActive(item),"tabindex":item.disabled ? 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(item.label))])]),_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:item.label + '_sub_',attrs:{"model":item.items}}):_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)}
157
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-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=9c905934&
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 isActive = ref.isActive;
162
+ var isExactActive = ref.isExactActive;
163
+ return [_c('a',{class:_vm.linkClass(item, {isActive: isActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"treeitem","aria-expanded":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)}
159
164
  var staticRenderFns = []
160
165
 
161
166
 
162
- // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=0fff806c&
167
+ // CONCATENATED MODULE: ./src/components/panelmenu/PanelMenuSub.vue?vue&type=template&id=9c905934&
163
168
 
164
169
  // 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&
165
170
  //
@@ -188,12 +193,17 @@ var staticRenderFns = []
188
193
  //
189
194
  //
190
195
  //
196
+ //
191
197
  /* harmony default export */ var PanelMenuSubvue_type_script_lang_js_ = ({
192
198
  name: 'sub-panelmenu',
193
199
  props: {
194
200
  model: {
195
201
  type: null,
196
202
  default: null
203
+ },
204
+ exact: {
205
+ type: Boolean,
206
+ default: true
197
207
  }
198
208
  },
199
209
  data: function data() {
@@ -202,8 +212,8 @@ var staticRenderFns = []
202
212
  };
203
213
  },
204
214
  methods: {
205
- onItemClick: function onItemClick($event, item) {
206
- if (item.disabled) {
215
+ onItemClick: function onItemClick(event, item, navigate) {
216
+ if (this.disabled(item)) {
207
217
  event.preventDefault();
208
218
  return;
209
219
  }
@@ -220,13 +230,19 @@ var staticRenderFns = []
220
230
  }
221
231
 
222
232
  if (this.activeItem && this.activeItem === item) this.activeItem = null;else this.activeItem = item;
233
+
234
+ if (item.to && navigate) {
235
+ navigate(event);
236
+ }
223
237
  },
224
238
  getItemClass: function getItemClass(item) {
225
239
  return ['p-menuitem', item.class];
226
240
  },
227
- getLinkClass: function getLinkClass(item) {
241
+ linkClass: function linkClass(item, routerProps) {
228
242
  return ['p-menuitem-link', {
229
- 'p-disabled': item.disabled
243
+ 'p-disabled': this.disabled(item),
244
+ 'router-link-active': routerProps && routerProps.isActive,
245
+ 'router-link-active-exact': this.exact && routerProps && routerProps.isExactActive
230
246
  }];
231
247
  },
232
248
  isActive: function isActive(item) {
@@ -241,6 +257,12 @@ var staticRenderFns = []
241
257
  },
242
258
  visible: function visible(item) {
243
259
  return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
260
+ },
261
+ disabled: function disabled(item) {
262
+ return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
263
+ },
264
+ label: function label(item) {
265
+ return typeof item.label === 'function' ? item.label() : item.label;
244
266
  }
245
267
  }
246
268
  });