primevue 2.9.0 → 2.10.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 (555) hide show
  1. package/LICENSE.md +2 -2
  2. package/accordion/Accordion.d.ts +2 -0
  3. package/accordion/Accordion.vue +9 -1
  4. package/accordion/accordion.common.js +77 -70
  5. package/accordion/accordion.umd.js +77 -70
  6. package/accordion/accordion.umd.min.js +1 -1
  7. package/accordiontab/AccordionTab.vue +7 -5
  8. package/accordiontab/accordiontab.common.js +67 -45
  9. package/accordiontab/accordiontab.umd.js +67 -45
  10. package/accordiontab/accordiontab.umd.min.js +1 -1
  11. package/autocomplete/autocomplete.common.js +213 -109
  12. package/autocomplete/autocomplete.umd.js +213 -109
  13. package/autocomplete/autocomplete.umd.min.js +1 -1
  14. package/avatar/avatar.common.js +65 -60
  15. package/avatar/avatar.umd.js +65 -60
  16. package/avatar/avatar.umd.min.js +1 -1
  17. package/avatargroup/avatargroup.common.js +45 -46
  18. package/avatargroup/avatargroup.umd.js +45 -46
  19. package/avatargroup/avatargroup.umd.min.js +1 -1
  20. package/badge/badge.common.js +23 -22
  21. package/badge/badge.umd.js +23 -22
  22. package/badge/badge.umd.min.js +1 -1
  23. package/blockui/blockui.common.js +67 -68
  24. package/blockui/blockui.umd.js +67 -68
  25. package/blockui/blockui.umd.min.js +1 -1
  26. package/breadcrumb/breadcrumb.common.js +132 -87
  27. package/breadcrumb/breadcrumb.umd.js +132 -87
  28. package/breadcrumb/breadcrumb.umd.min.js +1 -1
  29. package/breadcrumb/breadcrumbitem.common.js +68 -38
  30. package/breadcrumb/breadcrumbitem.umd.js +68 -38
  31. package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
  32. package/button/Button.d.ts +2 -0
  33. package/button/Button.vue +10 -1
  34. package/button/button.common.js +53 -32
  35. package/button/button.umd.js +53 -32
  36. package/button/button.umd.min.js +1 -1
  37. package/calendar/Calendar.vue +11 -4
  38. package/calendar/calendar.common.js +644 -255
  39. package/calendar/calendar.umd.js +644 -255
  40. package/calendar/calendar.umd.min.js +1 -1
  41. package/card/card.common.js +60 -61
  42. package/card/card.umd.js +60 -61
  43. package/card/card.umd.min.js +1 -1
  44. package/carousel/carousel.common.js +178 -111
  45. package/carousel/carousel.umd.js +178 -111
  46. package/carousel/carousel.umd.min.js +1 -1
  47. package/cascadeselect/cascadeselect.common.js +207 -113
  48. package/cascadeselect/cascadeselect.umd.js +207 -113
  49. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  50. package/cascadeselect/cascadeselectsub.common.js +79 -37
  51. package/cascadeselect/cascadeselectsub.umd.js +79 -37
  52. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  53. package/cascadeselect/demo.html +3 -4
  54. package/chart/chart.common.js +78 -68
  55. package/chart/chart.umd.js +78 -68
  56. package/chart/chart.umd.min.js +1 -1
  57. package/checkbox/checkbox.common.js +62 -29
  58. package/checkbox/checkbox.umd.js +62 -29
  59. package/checkbox/checkbox.umd.min.js +1 -1
  60. package/chip/chip.common.js +67 -51
  61. package/chip/chip.umd.js +67 -51
  62. package/chip/chip.umd.min.js +1 -1
  63. package/chips/chips.common.js +122 -79
  64. package/chips/chips.umd.js +122 -79
  65. package/chips/chips.umd.min.js +1 -1
  66. package/colorpicker/colorpicker.common.js +136 -85
  67. package/colorpicker/colorpicker.umd.js +136 -85
  68. package/colorpicker/colorpicker.umd.min.js +1 -1
  69. package/column/Column.d.ts +2 -0
  70. package/column/Column.vue +3 -3
  71. package/column/column.common.js +16 -18
  72. package/column/column.umd.js +16 -18
  73. package/column/column.umd.min.js +1 -1
  74. package/columngroup/columngroup.common.js +21 -24
  75. package/columngroup/columngroup.umd.js +21 -24
  76. package/columngroup/columngroup.umd.min.js +1 -1
  77. package/confirmdialog/confirmdialog.common.js +237 -120
  78. package/confirmdialog/confirmdialog.umd.js +237 -120
  79. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  80. package/confirmpopup/confirmpopup.common.js +143 -93
  81. package/confirmpopup/confirmpopup.umd.js +143 -93
  82. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  83. package/contextmenu/contextmenu.common.js +197 -104
  84. package/contextmenu/contextmenu.umd.js +197 -104
  85. package/contextmenu/contextmenu.umd.min.js +1 -1
  86. package/contextmenu/contextmenusub.common.js +126 -50
  87. package/contextmenu/contextmenusub.umd.js +126 -50
  88. package/contextmenu/contextmenusub.umd.min.js +1 -1
  89. package/datatable/BodyCell.vue +27 -9
  90. package/datatable/ColumnFilter.vue +1 -1
  91. package/datatable/ColumnSlot.vue +16 -1
  92. package/datatable/DataTable.vue +19 -26
  93. package/datatable/HeaderCheckbox.vue +5 -8
  94. package/datatable/TableBody.vue +5 -1
  95. package/datatable/TableFooter.vue +1 -1
  96. package/datatable/TableHeader.vue +1 -1
  97. package/datatable/bodycell.common.js +305 -82
  98. package/datatable/bodycell.umd.js +305 -82
  99. package/datatable/bodycell.umd.min.js +1 -1
  100. package/datatable/columnfilter.common.js +493 -186
  101. package/datatable/columnfilter.umd.js +493 -186
  102. package/datatable/columnfilter.umd.min.js +1 -1
  103. package/datatable/columnslot.common.js +29 -16
  104. package/datatable/columnslot.umd.js +29 -16
  105. package/datatable/columnslot.umd.min.js +1 -1
  106. package/datatable/datatable.common.js +2306 -848
  107. package/datatable/datatable.umd.js +2306 -848
  108. package/datatable/datatable.umd.min.js +1 -1
  109. package/datatable/demo.html +5 -3
  110. package/datatable/footercell.common.js +51 -27
  111. package/datatable/footercell.umd.js +51 -27
  112. package/datatable/footercell.umd.min.js +1 -1
  113. package/datatable/headercell.common.js +661 -235
  114. package/datatable/headercell.umd.js +661 -235
  115. package/datatable/headercell.umd.min.js +1 -1
  116. package/datatable/headercheckbox.common.js +60 -32
  117. package/datatable/headercheckbox.umd.js +60 -32
  118. package/datatable/headercheckbox.umd.min.js +1 -1
  119. package/datatable/rowcheckbox.common.js +62 -29
  120. package/datatable/rowcheckbox.umd.js +62 -29
  121. package/datatable/rowcheckbox.umd.min.js +1 -1
  122. package/datatable/rowradiobutton.common.js +55 -26
  123. package/datatable/rowradiobutton.umd.js +55 -26
  124. package/datatable/rowradiobutton.umd.min.js +1 -1
  125. package/datatable/tablebody.common.js +496 -138
  126. package/datatable/tablebody.umd.js +496 -138
  127. package/datatable/tablebody.umd.min.js +1 -1
  128. package/datatable/tablefooter.common.js +91 -49
  129. package/datatable/tablefooter.umd.js +91 -49
  130. package/datatable/tablefooter.umd.min.js +1 -1
  131. package/datatable/tableheader.common.js +870 -289
  132. package/datatable/tableheader.umd.js +870 -289
  133. package/datatable/tableheader.umd.min.js +1 -1
  134. package/datatable/tableloadingbody.common.js +53 -29
  135. package/datatable/tableloadingbody.umd.js +53 -29
  136. package/datatable/tableloadingbody.umd.min.js +1 -1
  137. package/dataview/dataview.common.js +804 -384
  138. package/dataview/dataview.umd.js +804 -384
  139. package/dataview/dataview.umd.min.js +1 -1
  140. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +47 -29
  141. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +47 -29
  142. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
  143. package/deferredcontent/deferredcontent.common.js +23 -24
  144. package/deferredcontent/deferredcontent.umd.js +23 -24
  145. package/deferredcontent/deferredcontent.umd.min.js +1 -1
  146. package/dialog/dialog.common.js +140 -89
  147. package/dialog/dialog.umd.js +140 -89
  148. package/dialog/dialog.umd.min.js +1 -1
  149. package/divider/divider.common.js +50 -48
  150. package/divider/divider.umd.js +50 -48
  151. package/divider/divider.umd.min.js +1 -1
  152. package/dock/dock.common.js +181 -90
  153. package/dock/dock.umd.js +181 -90
  154. package/dock/dock.umd.min.js +1 -1
  155. package/dock/docksub.common.js +133 -51
  156. package/dock/docksub.umd.js +133 -51
  157. package/dock/docksub.umd.min.js +1 -1
  158. package/dropdown/Dropdown.vue +3 -2
  159. package/dropdown/dropdown.common.js +207 -105
  160. package/dropdown/dropdown.umd.js +207 -105
  161. package/dropdown/dropdown.umd.min.js +1 -1
  162. package/editor/editor.common.js +201 -98
  163. package/editor/editor.umd.js +201 -98
  164. package/editor/editor.umd.min.js +3 -3
  165. package/fieldset/fieldset.common.js +121 -87
  166. package/fieldset/fieldset.umd.js +121 -87
  167. package/fieldset/fieldset.umd.min.js +1 -1
  168. package/fileupload/FileUpload.vue +1 -0
  169. package/fileupload/fileupload.common.js +419 -246
  170. package/fileupload/fileupload.umd.js +419 -246
  171. package/fileupload/fileupload.umd.min.js +1 -1
  172. package/fullcalendar/fullcalendar.common.js +98 -73
  173. package/fullcalendar/fullcalendar.umd.js +98 -73
  174. package/fullcalendar/fullcalendar.umd.min.js +4 -18
  175. package/galleria/galleria.common.js +390 -164
  176. package/galleria/galleria.umd.js +390 -164
  177. package/galleria/galleria.umd.min.js +1 -1
  178. package/galleria/galleriacontent.common.js +310 -107
  179. package/galleria/galleriacontent.umd.js +310 -107
  180. package/galleria/galleriacontent.umd.min.js +1 -1
  181. package/galleria/galleriaitem.common.js +111 -45
  182. package/galleria/galleriaitem.umd.js +111 -45
  183. package/galleria/galleriaitem.umd.min.js +1 -1
  184. package/galleria/galleriaitemslot.common.js +13 -15
  185. package/galleria/galleriaitemslot.umd.js +13 -15
  186. package/galleria/galleriathumbnails.common.js +109 -49
  187. package/galleria/galleriathumbnails.umd.js +109 -49
  188. package/galleria/galleriathumbnails.umd.min.js +1 -1
  189. package/imagepreview/imagepreview.common.js +163 -97
  190. package/imagepreview/imagepreview.umd.js +163 -97
  191. package/imagepreview/imagepreview.umd.min.js +1 -1
  192. package/inlinemessage/inlinemessage.common.js +62 -55
  193. package/inlinemessage/inlinemessage.umd.js +62 -55
  194. package/inlinemessage/inlinemessage.umd.min.js +1 -1
  195. package/inplace/inplace.common.js +128 -91
  196. package/inplace/inplace.umd.js +128 -91
  197. package/inplace/inplace.umd.min.js +1 -1
  198. package/inputmask/inputmask.common.js +23 -22
  199. package/inputmask/inputmask.umd.js +23 -22
  200. package/inputmask/inputmask.umd.min.js +1 -1
  201. package/inputnumber/InputNumber.vue +7 -2
  202. package/inputnumber/inputnumber.common.js +175 -101
  203. package/inputnumber/inputnumber.umd.js +175 -101
  204. package/inputnumber/inputnumber.umd.min.js +1 -1
  205. package/inputswitch/inputswitch.common.js +222 -37
  206. package/inputswitch/inputswitch.umd.js +222 -37
  207. package/inputswitch/inputswitch.umd.min.js +1 -1
  208. package/inputtext/inputtext.common.js +28 -22
  209. package/inputtext/inputtext.umd.js +28 -22
  210. package/inputtext/inputtext.umd.min.js +1 -1
  211. package/knob/Knob.vue +1 -1
  212. package/knob/knob.common.js +103 -74
  213. package/knob/knob.umd.js +103 -74
  214. package/knob/knob.umd.min.js +1 -1
  215. package/listbox/listbox.common.js +139 -84
  216. package/listbox/listbox.umd.js +139 -84
  217. package/listbox/listbox.umd.min.js +1 -1
  218. package/megamenu/MegaMenu.vue +2 -2
  219. package/megamenu/megamenu.common.js +258 -128
  220. package/megamenu/megamenu.umd.js +258 -128
  221. package/megamenu/megamenu.umd.min.js +1 -1
  222. package/menu/menu.common.js +190 -105
  223. package/menu/menu.umd.js +190 -105
  224. package/menu/menu.umd.min.js +1 -1
  225. package/menu/menuitem.common.js +83 -38
  226. package/menu/menuitem.umd.js +83 -38
  227. package/menu/menuitem.umd.min.js +1 -1
  228. package/menubar/menubar.common.js +209 -111
  229. package/menubar/menubar.umd.js +209 -111
  230. package/menubar/menubar.umd.min.js +1 -1
  231. package/menubar/menubarsub.common.js +127 -49
  232. package/menubar/menubarsub.umd.js +127 -49
  233. package/menubar/menubarsub.umd.min.js +1 -1
  234. package/message/message.common.js +96 -78
  235. package/message/message.umd.js +96 -78
  236. package/message/message.umd.min.js +1 -1
  237. package/multiselect/MultiSelect.vue +2 -2
  238. package/multiselect/multiselect.common.js +264 -131
  239. package/multiselect/multiselect.umd.js +264 -131
  240. package/multiselect/multiselect.umd.min.js +1 -1
  241. package/orderlist/OrderList.d.ts +1 -0
  242. package/orderlist/OrderList.vue +12 -1
  243. package/orderlist/orderlist.common.js +195 -107
  244. package/orderlist/orderlist.umd.js +195 -107
  245. package/orderlist/orderlist.umd.min.js +1 -1
  246. package/organizationchart/organizationchart.common.js +177 -114
  247. package/organizationchart/organizationchart.umd.js +177 -114
  248. package/organizationchart/organizationchart.umd.min.js +1 -1
  249. package/organizationchart/organizationchartnode.common.js +110 -59
  250. package/organizationchart/organizationchartnode.umd.js +110 -59
  251. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  252. package/overlaypanel/overlaypanel.common.js +96 -75
  253. package/overlaypanel/overlaypanel.umd.js +96 -75
  254. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  255. package/package.json +2 -2
  256. package/paginator/currentpagereport.common.js +23 -21
  257. package/paginator/currentpagereport.umd.js +23 -21
  258. package/paginator/currentpagereport.umd.min.js +1 -1
  259. package/paginator/firstpagelink.common.js +32 -24
  260. package/paginator/firstpagelink.umd.js +32 -24
  261. package/paginator/firstpagelink.umd.min.js +1 -1
  262. package/paginator/jumptopagedropdown.common.js +231 -115
  263. package/paginator/jumptopagedropdown.umd.js +231 -115
  264. package/paginator/jumptopagedropdown.umd.min.js +1 -1
  265. package/paginator/jumptopageinput.common.js +196 -110
  266. package/paginator/jumptopageinput.umd.js +196 -110
  267. package/paginator/jumptopageinput.umd.min.js +1 -1
  268. package/paginator/lastpagelink.common.js +32 -24
  269. package/paginator/lastpagelink.umd.js +32 -24
  270. package/paginator/lastpagelink.umd.min.js +1 -1
  271. package/paginator/nextpagelink.common.js +32 -24
  272. package/paginator/nextpagelink.umd.js +32 -24
  273. package/paginator/nextpagelink.umd.min.js +1 -1
  274. package/paginator/pagelinks.common.js +42 -24
  275. package/paginator/pagelinks.umd.js +42 -24
  276. package/paginator/pagelinks.umd.min.js +1 -1
  277. package/paginator/paginator.common.js +706 -336
  278. package/paginator/paginator.umd.js +706 -336
  279. package/paginator/paginator.umd.min.js +1 -1
  280. package/paginator/prevpagelink.common.js +32 -24
  281. package/paginator/prevpagelink.umd.js +32 -24
  282. package/paginator/prevpagelink.umd.min.js +1 -1
  283. package/paginator/rowsperpagedropdown.common.js +230 -115
  284. package/paginator/rowsperpagedropdown.umd.js +230 -115
  285. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  286. package/panel/panel.common.js +117 -86
  287. package/panel/panel.umd.js +117 -86
  288. package/panel/panel.umd.min.js +1 -1
  289. package/panelmenu/panelmenu.common.js +237 -119
  290. package/panelmenu/panelmenu.umd.js +237 -119
  291. package/panelmenu/panelmenu.umd.min.js +1 -1
  292. package/panelmenu/panelmenusub.common.js +111 -50
  293. package/panelmenu/panelmenusub.umd.js +111 -50
  294. package/panelmenu/panelmenusub.umd.min.js +1 -1
  295. package/password/Password.vue +27 -4
  296. package/password/password.common.js +186 -120
  297. package/password/password.umd.js +186 -120
  298. package/password/password.umd.min.js +1 -1
  299. package/picklist/PickList.d.ts +1 -0
  300. package/picklist/PickList.vue +10 -1
  301. package/picklist/picklist.common.js +319 -135
  302. package/picklist/picklist.umd.js +319 -135
  303. package/picklist/picklist.umd.min.js +1 -1
  304. package/progressbar/progressbar.common.js +84 -75
  305. package/progressbar/progressbar.umd.js +84 -75
  306. package/progressbar/progressbar.umd.min.js +1 -1
  307. package/progressspinner/progressspinner.common.js +548 -45
  308. package/progressspinner/progressspinner.umd.js +548 -45
  309. package/progressspinner/progressspinner.umd.min.js +1 -1
  310. package/radiobutton/radiobutton.common.js +60 -29
  311. package/radiobutton/radiobutton.umd.js +60 -29
  312. package/radiobutton/radiobutton.umd.min.js +1 -1
  313. package/rating/rating.common.js +93 -67
  314. package/rating/rating.umd.js +93 -67
  315. package/rating/rating.umd.min.js +1 -1
  316. package/resources/primevue.css +3 -2
  317. package/resources/primevue.min.css +1 -1
  318. package/resources/themes/arya-blue/theme.css +275 -1
  319. package/resources/themes/arya-green/theme.css +275 -1
  320. package/resources/themes/arya-orange/theme.css +275 -1
  321. package/resources/themes/arya-purple/theme.css +275 -1
  322. package/resources/themes/bootstrap4-dark-blue/theme.css +279 -1
  323. package/resources/themes/bootstrap4-dark-purple/theme.css +279 -1
  324. package/resources/themes/bootstrap4-light-blue/theme.css +278 -0
  325. package/resources/themes/bootstrap4-light-purple/theme.css +278 -0
  326. package/resources/themes/fluent-light/theme.css +274 -0
  327. package/resources/themes/lara-dark-blue/theme.css +282 -52
  328. package/resources/themes/lara-dark-indigo/theme.css +282 -52
  329. package/resources/themes/lara-dark-purple/theme.css +282 -52
  330. package/resources/themes/lara-dark-teal/theme.css +282 -52
  331. package/resources/themes/lara-light-blue/theme.css +374 -144
  332. package/resources/themes/lara-light-indigo/theme.css +281 -51
  333. package/resources/themes/lara-light-purple/theme.css +281 -51
  334. package/resources/themes/lara-light-teal/theme.css +281 -51
  335. package/resources/themes/luna-amber/theme.css +274 -0
  336. package/resources/themes/luna-blue/theme.css +274 -0
  337. package/resources/themes/luna-green/theme.css +274 -0
  338. package/resources/themes/luna-pink/theme.css +274 -0
  339. package/resources/themes/md-dark-deeppurple/theme.css +365 -8
  340. package/resources/themes/md-dark-indigo/theme.css +365 -8
  341. package/resources/themes/md-light-deeppurple/theme.css +362 -5
  342. package/resources/themes/md-light-indigo/theme.css +362 -5
  343. package/resources/themes/mdc-dark-deeppurple/theme.css +365 -8
  344. package/resources/themes/mdc-dark-indigo/theme.css +365 -8
  345. package/resources/themes/mdc-light-deeppurple/theme.css +362 -5
  346. package/resources/themes/mdc-light-indigo/theme.css +362 -5
  347. package/resources/themes/nova/theme.css +274 -0
  348. package/resources/themes/nova-accent/theme.css +274 -0
  349. package/resources/themes/nova-alt/theme.css +274 -0
  350. package/resources/themes/nova-vue/theme.css +274 -0
  351. package/resources/themes/rhea/theme.css +274 -0
  352. package/resources/themes/saga-blue/theme.css +274 -0
  353. package/resources/themes/saga-green/theme.css +274 -0
  354. package/resources/themes/saga-orange/theme.css +274 -0
  355. package/resources/themes/saga-purple/theme.css +274 -0
  356. package/resources/themes/tailwind-light/theme.css +274 -0
  357. package/resources/themes/vela-blue/theme.css +275 -1
  358. package/resources/themes/vela-green/theme.css +275 -1
  359. package/resources/themes/vela-orange/theme.css +275 -1
  360. package/resources/themes/vela-purple/theme.css +275 -1
  361. package/ripple/Ripple.css +3 -2
  362. package/row/row.common.js +21 -24
  363. package/row/row.umd.js +21 -24
  364. package/row/row.umd.min.js +1 -1
  365. package/scrollpanel/scrollpanel.common.js +88 -74
  366. package/scrollpanel/scrollpanel.umd.js +88 -74
  367. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  368. package/scrolltop/scrolltop.common.js +78 -64
  369. package/scrolltop/scrolltop.umd.js +78 -64
  370. package/scrolltop/scrolltop.umd.min.js +1 -1
  371. package/selectbutton/selectbutton.common.js +69 -31
  372. package/selectbutton/selectbutton.umd.js +69 -31
  373. package/selectbutton/selectbutton.umd.min.js +1 -1
  374. package/sidebar/sidebar.common.js +100 -77
  375. package/sidebar/sidebar.umd.js +100 -77
  376. package/sidebar/sidebar.umd.min.js +1 -1
  377. package/skeleton/skeleton.common.js +58 -56
  378. package/skeleton/skeleton.umd.js +58 -56
  379. package/skeleton/skeleton.umd.min.js +1 -1
  380. package/slider/Slider.vue +8 -1
  381. package/slider/slider.common.js +166 -76
  382. package/slider/slider.umd.js +166 -76
  383. package/slider/slider.umd.min.js +1 -1
  384. package/speeddial/speeddial.common.js +174 -103
  385. package/speeddial/speeddial.umd.js +174 -103
  386. package/speeddial/speeddial.umd.min.js +1 -1
  387. package/splitbutton/SplitButton.vue +7 -3
  388. package/splitbutton/splitbutton.common.js +320 -181
  389. package/splitbutton/splitbutton.umd.js +320 -181
  390. package/splitbutton/splitbutton.umd.min.js +1 -1
  391. package/splitter/splitter.common.js +57 -59
  392. package/splitter/splitter.umd.js +57 -59
  393. package/splitter/splitter.umd.min.js +1 -1
  394. package/splitterpanel/splitterpanel.common.js +13 -15
  395. package/splitterpanel/splitterpanel.umd.js +13 -15
  396. package/steps/steps.common.js +113 -74
  397. package/steps/steps.umd.js +113 -74
  398. package/steps/steps.umd.min.js +1 -1
  399. package/styleclass/StyleClass.js +10 -2
  400. package/styleclass/styleclass.common.js +10 -2
  401. package/styleclass/styleclass.umd.js +10 -2
  402. package/styleclass/styleclass.umd.min.js +1 -1
  403. package/tabmenu/tabmenu.common.js +127 -82
  404. package/tabmenu/tabmenu.umd.js +127 -82
  405. package/tabmenu/tabmenu.umd.min.js +1 -1
  406. package/tabpanel/tabpanel.common.js +32 -24
  407. package/tabpanel/tabpanel.umd.js +32 -24
  408. package/tabpanel/tabpanel.umd.min.js +1 -1
  409. package/tabview/TabView.vue +1 -1
  410. package/tabview/tabview.common.js +156 -91
  411. package/tabview/tabview.umd.js +156 -91
  412. package/tabview/tabview.umd.min.js +1 -1
  413. package/tag/tag.common.js +60 -58
  414. package/tag/tag.umd.js +60 -58
  415. package/tag/tag.umd.min.js +1 -1
  416. package/terminal/terminal.common.js +97 -67
  417. package/terminal/terminal.umd.js +97 -67
  418. package/terminal/terminal.umd.min.js +1 -1
  419. package/textarea/textarea.common.js +73 -66
  420. package/textarea/textarea.umd.js +73 -66
  421. package/textarea/textarea.umd.min.js +1 -1
  422. package/tieredmenu/tieredmenu.common.js +201 -104
  423. package/tieredmenu/tieredmenu.umd.js +201 -104
  424. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  425. package/tieredmenu/tieredmenusub.common.js +128 -49
  426. package/tieredmenu/tieredmenusub.umd.js +128 -49
  427. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  428. package/timeline/timeline.common.js +94 -82
  429. package/timeline/timeline.umd.js +94 -82
  430. package/timeline/timeline.umd.min.js +1 -1
  431. package/toast/toast.common.js +134 -91
  432. package/toast/toast.umd.js +134 -91
  433. package/toast/toast.umd.min.js +1 -1
  434. package/toast/toastmessage.common.js +58 -36
  435. package/toast/toastmessage.umd.js +58 -36
  436. package/toast/toastmessage.umd.min.js +1 -1
  437. package/togglebutton/togglebutton.common.js +42 -25
  438. package/togglebutton/togglebutton.umd.js +42 -25
  439. package/togglebutton/togglebutton.umd.min.js +1 -1
  440. package/toolbar/toolbar.common.js +47 -46
  441. package/toolbar/toolbar.umd.js +47 -46
  442. package/toolbar/toolbar.umd.min.js +1 -1
  443. package/tooltip/Tooltip.js +28 -1
  444. package/tooltip/tooltip.common.js +28 -1
  445. package/tooltip/tooltip.umd.js +28 -1
  446. package/tooltip/tooltip.umd.min.js +1 -1
  447. package/tree/tree.common.js +197 -111
  448. package/tree/tree.umd.js +197 -111
  449. package/tree/tree.umd.min.js +1 -1
  450. package/tree/treenode.common.js +91 -44
  451. package/tree/treenode.umd.js +91 -44
  452. package/tree/treenode.umd.min.js +1 -1
  453. package/treetable/footercell.common.js +28 -25
  454. package/treetable/footercell.umd.js +28 -25
  455. package/treetable/footercell.umd.min.js +1 -1
  456. package/treetable/headercell.common.js +47 -29
  457. package/treetable/headercell.umd.js +47 -29
  458. package/treetable/headercell.umd.min.js +1 -1
  459. package/treetable/treetable.common.js +1027 -506
  460. package/treetable/treetable.umd.js +1027 -506
  461. package/treetable/treetable.umd.min.js +1 -1
  462. package/treetable/treetablecolumnslot.common.js +13 -15
  463. package/treetable/treetablecolumnslot.umd.js +13 -15
  464. package/treetable/treetablerow.common.js +87 -38
  465. package/treetable/treetablerow.umd.js +87 -38
  466. package/treetable/treetablerow.umd.min.js +1 -1
  467. package/treetable/treetablerowloader.common.js +87 -38
  468. package/treetable/treetablerowloader.umd.js +87 -38
  469. package/treetable/treetablerowloader.umd.min.js +1 -1
  470. package/tristatecheckbox/tristatecheckbox.common.js +60 -29
  471. package/tristatecheckbox/tristatecheckbox.umd.js +60 -29
  472. package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
  473. package/vetur-attributes.json +32 -0
  474. package/vetur-tags.json +13 -5
  475. package/web-types.json +81 -1
  476. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  477. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  478. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  479. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  480. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  481. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  482. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  483. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  484. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  485. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  486. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  487. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  488. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  489. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  490. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  491. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  492. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  493. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  494. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  495. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  496. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  497. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  498. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  499. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  500. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  501. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  502. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  503. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  504. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  505. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  506. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  507. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  508. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  509. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  510. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  511. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  512. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  513. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  514. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  515. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  516. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  517. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  518. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  519. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  520. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  521. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  522. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  523. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  524. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  525. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  526. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  527. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  528. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  529. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  530. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  531. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  532. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  533. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  534. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  535. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  536. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  537. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  538. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  539. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  540. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  541. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  542. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  543. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  544. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  545. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  546. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  547. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  548. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  549. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  550. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  551. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  552. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  553. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  554. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  555. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
@@ -163,34 +163,66 @@ if (typeof window !== 'undefined') {
163
163
  // Indicate to webpack that this file can be concatenated
164
164
  /* harmony default export */ var setPublicPath = (null);
165
165
 
166
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b9fe9a72-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/breadcrumb/BreadcrumbItem.vue?vue&type=template&id=71efe75c&
167
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible())?_c('li',{class:_vm.containerClass(_vm.item)},[(_vm.item.to)?_c('router-link',{attrs:{"to":_vm.item.to,"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
168
- var navigate = ref.navigate;
169
- var href = ref.href;
170
- var isActive = ref.isActive;
171
- var isExactActive = ref.isExactActive;
172
- return [_c('a',{class:_vm.linkClass({isActive: isActive, isExactActive: isExactActive}),attrs:{"href":href},on:{"click":function($event){return _vm.onClick($event, navigate)}}},[(_vm.item.icon)?_c('span',{class:_vm.iconClass}):_vm._e(),(_vm.item.label)?_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(_vm.item)))]):_vm._e()])]}}],null,false,1258197796)}):_c('a',{class:_vm.linkClass(),attrs:{"href":_vm.item.url||'#',"target":_vm.item.target},on:{"click":_vm.onClick}},[(_vm.item.icon)?_c('span',{class:_vm.iconClass}):_vm._e(),(_vm.item.label)?_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(_vm.item)))]):_vm._e()])],1):_vm._e()}
173
- var staticRenderFns = []
166
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/breadcrumb/BreadcrumbItem.vue?vue&type=template&id=71efe75c&
167
+ var render = function render() {
168
+ var _vm = this,
169
+ _c = _vm._self._c;
170
+
171
+ return _vm.visible() ? _c('li', {
172
+ class: _vm.containerClass(_vm.item)
173
+ }, [_vm.item.to ? _c('router-link', {
174
+ attrs: {
175
+ "to": _vm.item.to,
176
+ "custom": ""
177
+ },
178
+ scopedSlots: _vm._u([{
179
+ key: "default",
180
+ fn: function fn(_ref) {
181
+ var navigate = _ref.navigate,
182
+ href = _ref.href,
183
+ isActive = _ref.isActive,
184
+ isExactActive = _ref.isExactActive;
185
+ return [_c('a', {
186
+ class: _vm.linkClass({
187
+ isActive: isActive,
188
+ isExactActive: isExactActive
189
+ }),
190
+ attrs: {
191
+ "href": href
192
+ },
193
+ on: {
194
+ "click": function click($event) {
195
+ return _vm.onClick($event, navigate);
196
+ }
197
+ }
198
+ }, [_vm.item.icon ? _c('span', {
199
+ class: _vm.iconClass
200
+ }) : _vm._e(), _vm.item.label ? _c('span', {
201
+ staticClass: "p-menuitem-text"
202
+ }, [_vm._v(_vm._s(_vm.label(_vm.item)))]) : _vm._e()])];
203
+ }
204
+ }], null, false, 1258197796)
205
+ }) : _c('a', {
206
+ class: _vm.linkClass(),
207
+ attrs: {
208
+ "href": _vm.item.url || '#',
209
+ "target": _vm.item.target
210
+ },
211
+ on: {
212
+ "click": _vm.onClick
213
+ }
214
+ }, [_vm.item.icon ? _c('span', {
215
+ class: _vm.iconClass
216
+ }) : _vm._e(), _vm.item.label ? _c('span', {
217
+ staticClass: "p-menuitem-text"
218
+ }, [_vm._v(_vm._s(_vm.label(_vm.item)))]) : _vm._e()])], 1) : _vm._e();
219
+ };
174
220
 
221
+ var staticRenderFns = [];
175
222
 
176
223
  // CONCATENATED MODULE: ./src/components/breadcrumb/BreadcrumbItem.vue?vue&type=template&id=71efe75c&
177
224
 
178
225
  // 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/breadcrumb/BreadcrumbItem.vue?vue&type=script&lang=js&
179
- //
180
- //
181
- //
182
- //
183
- //
184
- //
185
- //
186
- //
187
- //
188
- //
189
- //
190
- //
191
- //
192
- //
193
- //
194
226
  /* harmony default export */ var BreadcrumbItemvue_type_script_lang_js_ = ({
195
227
  props: {
196
228
  item: null,
@@ -245,20 +277,19 @@ var staticRenderFns = []
245
277
  // This module is a runtime utility for cleaner component module output and will
246
278
  // be included in the final webpack user bundle.
247
279
 
248
- function normalizeComponent (
280
+ function normalizeComponent(
249
281
  scriptExports,
250
282
  render,
251
283
  staticRenderFns,
252
284
  functionalTemplate,
253
285
  injectStyles,
254
286
  scopeId,
255
- moduleIdentifier, /* server only */
287
+ moduleIdentifier /* server only */,
256
288
  shadowMode /* vue-cli only */
257
289
  ) {
258
290
  // Vue.extend constructor export interop
259
- var options = typeof scriptExports === 'function'
260
- ? scriptExports.options
261
- : scriptExports
291
+ var options =
292
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
262
293
 
263
294
  // render functions
264
295
  if (render) {
@@ -278,7 +309,8 @@ function normalizeComponent (
278
309
  }
279
310
 
280
311
  var hook
281
- if (moduleIdentifier) { // server build
312
+ if (moduleIdentifier) {
313
+ // server build
282
314
  hook = function (context) {
283
315
  // 2.3 injection
284
316
  context =
@@ -304,11 +336,11 @@ function normalizeComponent (
304
336
  } else if (injectStyles) {
305
337
  hook = shadowMode
306
338
  ? function () {
307
- injectStyles.call(
308
- this,
309
- (options.functional ? this.parent : this).$root.$options.shadowRoot
310
- )
311
- }
339
+ injectStyles.call(
340
+ this,
341
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
342
+ )
343
+ }
312
344
  : injectStyles
313
345
  }
314
346
 
@@ -319,16 +351,14 @@ function normalizeComponent (
319
351
  options._injectStyles = hook
320
352
  // register for functional component in vue file
321
353
  var originalRender = options.render
322
- options.render = function renderWithStyleInjection (h, context) {
354
+ options.render = function renderWithStyleInjection(h, context) {
323
355
  hook.call(context)
324
356
  return originalRender(h, context)
325
357
  }
326
358
  } else {
327
359
  // inject component registration as beforeCreate hook
328
360
  var existing = options.beforeCreate
329
- options.beforeCreate = existing
330
- ? [].concat(existing, hook)
331
- : [hook]
361
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
332
362
  }
333
363
  }
334
364
 
@@ -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["breadcrumbitem"]=t():e["breadcrumbitem"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.visible()?n("li",{class:e.containerClass(e.item)},[e.item.to?n("router-link",{attrs:{to:e.item.to,custom:""},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.navigate,r=t.href,o=t.isActive,s=t.isExactActive;return[n("a",{class:e.linkClass({isActive:o,isExactActive:s}),attrs:{href:r},on:{click:function(t){return e.onClick(t,i)}}},[e.item.icon?n("span",{class:e.iconClass}):e._e(),e.item.label?n("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(e.item)))]):e._e()])]}}],null,!1,1258197796)}):n("a",{class:e.linkClass(),attrs:{href:e.item.url||"#",target:e.item.target},on:{click:e.onClick}},[e.item.icon?n("span",{class:e.iconClass}):e._e(),e.item.label?n("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(e.item)))]):e._e()])],1):e._e()},o=[],s={props:{item:null,exact:null},methods:{onClick:function(e,t){this.item.command&&this.item.command({originalEvent:e,item:this.item}),this.item.to&&t&&t(e)},containerClass:function(e){return[{"p-disabled":this.disabled(e)},e.class]},linkClass:function(e){return["p-menuitem-link",{"router-link-active":e&&e.isActive,"router-link-active-exact":this.exact&&e&&e.isExactActive}]},visible:function(){return"function"===typeof this.item.visible?this.item.visible():!1!==this.item.visible},disabled:function(e){return"function"===typeof e.disabled?e.disabled():e.disabled},label:function(){return"function"===typeof this.item.label?this.item.label():this.item.label}},computed:{iconClass:function(){return["p-menuitem-icon",this.item.icon]}}},c=s;function a(e,t,n,i,r,o,s,c){var a,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(a=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)},l._ssrRegister=a):r&&(a=c?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(l.functional){l._injectStyles=a;var u=l.render;l.render=function(e,t){return a.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:l}}var l=a(c,r,o,!1,null,null,null),u=l.exports;t["default"]=u}})["default"]}));
1
+ (function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["breadcrumbitem"]=t():e["breadcrumbitem"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e._self._c;return e.visible()?t("li",{class:e.containerClass(e.item)},[e.item.to?t("router-link",{attrs:{to:e.item.to,custom:""},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.navigate,r=n.href,o=n.isActive,s=n.isExactActive;return[t("a",{class:e.linkClass({isActive:o,isExactActive:s}),attrs:{href:r},on:{click:function(t){return e.onClick(t,i)}}},[e.item.icon?t("span",{class:e.iconClass}):e._e(),e.item.label?t("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(e.item)))]):e._e()])]}}],null,!1,1258197796)}):t("a",{class:e.linkClass(),attrs:{href:e.item.url||"#",target:e.item.target},on:{click:e.onClick}},[e.item.icon?t("span",{class:e.iconClass}):e._e(),e.item.label?t("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(e.item)))]):e._e()])],1):e._e()},o=[],s={props:{item:null,exact:null},methods:{onClick:function(e,t){this.item.command&&this.item.command({originalEvent:e,item:this.item}),this.item.to&&t&&t(e)},containerClass:function(e){return[{"p-disabled":this.disabled(e)},e.class]},linkClass:function(e){return["p-menuitem-link",{"router-link-active":e&&e.isActive,"router-link-active-exact":this.exact&&e&&e.isExactActive}]},visible:function(){return"function"===typeof this.item.visible?this.item.visible():!1!==this.item.visible},disabled:function(e){return"function"===typeof e.disabled?e.disabled():e.disabled},label:function(){return"function"===typeof this.item.label?this.item.label():this.item.label}},computed:{iconClass:function(){return["p-menuitem-icon",this.item.icon]}}},c=s;function a(e,t,n,i,r,o,s,c){var a,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(a=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)},l._ssrRegister=a):r&&(a=c?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(l.functional){l._injectStyles=a;var u=l.render;l.render=function(e,t){return a.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:l}}var l=a(c,r,o,!1,null,null,null),u=l.exports;t["default"]=u}})["default"]}));
@@ -6,6 +6,8 @@ declare class Button extends Vue {
6
6
  iconPos?: string;
7
7
  badge?: string;
8
8
  badgeClass?: string;
9
+ loading?: boolean;
10
+ loadingIcon?: string;
9
11
  }
10
12
 
11
13
  export default Button;
package/button/Button.vue CHANGED
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <button :class="buttonClass" v-on="$listeners" type="button" v-ripple>
3
3
  <slot>
4
+ <span v-if="loading && !icon" :class="iconClass"></span>
4
5
  <span v-if="icon" :class="iconClass"></span>
5
6
  <span class="p-button-label">{{label||'&nbsp;'}}</span>
6
7
  <span class="p-badge" v-if="badge" :class="badgeStyleClass">{{badge}}</span>
@@ -29,6 +30,14 @@ export default {
29
30
  badgeClass: {
30
31
  type: String,
31
32
  default: null
33
+ },
34
+ loading: {
35
+ type: Boolean,
36
+ default: false
37
+ },
38
+ loadingIcon: {
39
+ type: String,
40
+ default: 'pi pi-spinner pi-spin'
32
41
  }
33
42
  },
34
43
  computed: {
@@ -42,7 +51,7 @@ export default {
42
51
  },
43
52
  iconClass() {
44
53
  return [
45
- this.icon,
54
+ this.loading ? this.loadingIcon : this.icon,
46
55
  'p-button-icon',
47
56
  {
48
57
  'p-button-icon-left': this.iconPos === 'left' && this.label,
@@ -2782,12 +2782,37 @@ if (typeof window !== 'undefined') {
2782
2782
  // Indicate to webpack that this file can be concatenated
2783
2783
  /* harmony default export */ var setPublicPath = (null);
2784
2784
 
2785
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b9fe9a72-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/button/Button.vue?vue&type=template&id=3d0cb6ac&
2786
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.buttonClass,attrs:{"type":"button"}},_vm.$listeners),[_vm._t("default",function(){return [(_vm.icon)?_c('span',{class:_vm.iconClass}):_vm._e(),_c('span',{staticClass:"p-button-label"},[_vm._v(_vm._s(_vm.label||' '))]),(_vm.badge)?_c('span',{staticClass:"p-badge",class:_vm.badgeStyleClass},[_vm._v(_vm._s(_vm.badge))]):_vm._e()]})],2)}
2787
- var staticRenderFns = []
2788
-
2789
-
2790
- // CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=3d0cb6ac&
2785
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/button/Button.vue?vue&type=template&id=44f787be&
2786
+ var render = function render() {
2787
+ var _vm = this,
2788
+ _c = _vm._self._c;
2789
+
2790
+ return _c('button', _vm._g({
2791
+ directives: [{
2792
+ name: "ripple",
2793
+ rawName: "v-ripple"
2794
+ }],
2795
+ class: _vm.buttonClass,
2796
+ attrs: {
2797
+ "type": "button"
2798
+ }
2799
+ }, _vm.$listeners), [_vm._t("default", function () {
2800
+ return [_vm.loading && !_vm.icon ? _c('span', {
2801
+ class: _vm.iconClass
2802
+ }) : _vm._e(), _vm.icon ? _c('span', {
2803
+ class: _vm.iconClass
2804
+ }) : _vm._e(), _c('span', {
2805
+ staticClass: "p-button-label"
2806
+ }, [_vm._v(_vm._s(_vm.label || ' '))]), _vm.badge ? _c('span', {
2807
+ staticClass: "p-badge",
2808
+ class: _vm.badgeStyleClass
2809
+ }, [_vm._v(_vm._s(_vm.badge))]) : _vm._e()];
2810
+ })], 2);
2811
+ };
2812
+
2813
+ var staticRenderFns = [];
2814
+
2815
+ // CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=44f787be&
2791
2816
 
2792
2817
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
2793
2818
  var es7_symbol_async_iterator = __webpack_require__("ac4d");
@@ -3507,16 +3532,6 @@ var Ripple = {
3507
3532
  };
3508
3533
  /* harmony default export */ var ripple_Ripple = (Ripple);
3509
3534
  // 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/button/Button.vue?vue&type=script&lang=js&
3510
- //
3511
- //
3512
- //
3513
- //
3514
- //
3515
- //
3516
- //
3517
- //
3518
- //
3519
- //
3520
3535
 
3521
3536
  /* harmony default export */ var Buttonvue_type_script_lang_js_ = ({
3522
3537
  props: {
@@ -3536,6 +3551,14 @@ var Ripple = {
3536
3551
  badgeClass: {
3537
3552
  type: String,
3538
3553
  default: null
3554
+ },
3555
+ loading: {
3556
+ type: Boolean,
3557
+ default: false
3558
+ },
3559
+ loadingIcon: {
3560
+ type: String,
3561
+ default: 'pi pi-spinner pi-spin'
3539
3562
  }
3540
3563
  },
3541
3564
  computed: {
@@ -3548,7 +3571,7 @@ var Ripple = {
3548
3571
  };
3549
3572
  },
3550
3573
  iconClass: function iconClass() {
3551
- return [this.icon, 'p-button-icon', {
3574
+ return [this.loading ? this.loadingIcon : this.icon, 'p-button-icon', {
3552
3575
  'p-button-icon-left': this.iconPos === 'left' && this.label,
3553
3576
  'p-button-icon-right': this.iconPos === 'right' && this.label,
3554
3577
  'p-button-icon-top': this.iconPos === 'top' && this.label,
@@ -3574,20 +3597,19 @@ var Ripple = {
3574
3597
  // This module is a runtime utility for cleaner component module output and will
3575
3598
  // be included in the final webpack user bundle.
3576
3599
 
3577
- function normalizeComponent (
3600
+ function normalizeComponent(
3578
3601
  scriptExports,
3579
3602
  render,
3580
3603
  staticRenderFns,
3581
3604
  functionalTemplate,
3582
3605
  injectStyles,
3583
3606
  scopeId,
3584
- moduleIdentifier, /* server only */
3607
+ moduleIdentifier /* server only */,
3585
3608
  shadowMode /* vue-cli only */
3586
3609
  ) {
3587
3610
  // Vue.extend constructor export interop
3588
- var options = typeof scriptExports === 'function'
3589
- ? scriptExports.options
3590
- : scriptExports
3611
+ var options =
3612
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
3591
3613
 
3592
3614
  // render functions
3593
3615
  if (render) {
@@ -3607,7 +3629,8 @@ function normalizeComponent (
3607
3629
  }
3608
3630
 
3609
3631
  var hook
3610
- if (moduleIdentifier) { // server build
3632
+ if (moduleIdentifier) {
3633
+ // server build
3611
3634
  hook = function (context) {
3612
3635
  // 2.3 injection
3613
3636
  context =
@@ -3633,11 +3656,11 @@ function normalizeComponent (
3633
3656
  } else if (injectStyles) {
3634
3657
  hook = shadowMode
3635
3658
  ? function () {
3636
- injectStyles.call(
3637
- this,
3638
- (options.functional ? this.parent : this).$root.$options.shadowRoot
3639
- )
3640
- }
3659
+ injectStyles.call(
3660
+ this,
3661
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
3662
+ )
3663
+ }
3641
3664
  : injectStyles
3642
3665
  }
3643
3666
 
@@ -3648,16 +3671,14 @@ function normalizeComponent (
3648
3671
  options._injectStyles = hook
3649
3672
  // register for functional component in vue file
3650
3673
  var originalRender = options.render
3651
- options.render = function renderWithStyleInjection (h, context) {
3674
+ options.render = function renderWithStyleInjection(h, context) {
3652
3675
  hook.call(context)
3653
3676
  return originalRender(h, context)
3654
3677
  }
3655
3678
  } else {
3656
3679
  // inject component registration as beforeCreate hook
3657
3680
  var existing = options.beforeCreate
3658
- options.beforeCreate = existing
3659
- ? [].concat(existing, hook)
3660
- : [hook]
3681
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
3661
3682
  }
3662
3683
  }
3663
3684
 
@@ -2791,12 +2791,37 @@ if (typeof window !== 'undefined') {
2791
2791
  // Indicate to webpack that this file can be concatenated
2792
2792
  /* harmony default export */ var setPublicPath = (null);
2793
2793
 
2794
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b9fe9a72-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/button/Button.vue?vue&type=template&id=3d0cb6ac&
2795
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.buttonClass,attrs:{"type":"button"}},_vm.$listeners),[_vm._t("default",function(){return [(_vm.icon)?_c('span',{class:_vm.iconClass}):_vm._e(),_c('span',{staticClass:"p-button-label"},[_vm._v(_vm._s(_vm.label||' '))]),(_vm.badge)?_c('span',{staticClass:"p-badge",class:_vm.badgeStyleClass},[_vm._v(_vm._s(_vm.badge))]):_vm._e()]})],2)}
2796
- var staticRenderFns = []
2797
-
2798
-
2799
- // CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=3d0cb6ac&
2794
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/button/Button.vue?vue&type=template&id=44f787be&
2795
+ var render = function render() {
2796
+ var _vm = this,
2797
+ _c = _vm._self._c;
2798
+
2799
+ return _c('button', _vm._g({
2800
+ directives: [{
2801
+ name: "ripple",
2802
+ rawName: "v-ripple"
2803
+ }],
2804
+ class: _vm.buttonClass,
2805
+ attrs: {
2806
+ "type": "button"
2807
+ }
2808
+ }, _vm.$listeners), [_vm._t("default", function () {
2809
+ return [_vm.loading && !_vm.icon ? _c('span', {
2810
+ class: _vm.iconClass
2811
+ }) : _vm._e(), _vm.icon ? _c('span', {
2812
+ class: _vm.iconClass
2813
+ }) : _vm._e(), _c('span', {
2814
+ staticClass: "p-button-label"
2815
+ }, [_vm._v(_vm._s(_vm.label || ' '))]), _vm.badge ? _c('span', {
2816
+ staticClass: "p-badge",
2817
+ class: _vm.badgeStyleClass
2818
+ }, [_vm._v(_vm._s(_vm.badge))]) : _vm._e()];
2819
+ })], 2);
2820
+ };
2821
+
2822
+ var staticRenderFns = [];
2823
+
2824
+ // CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=44f787be&
2800
2825
 
2801
2826
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
2802
2827
  var es7_symbol_async_iterator = __webpack_require__("ac4d");
@@ -3516,16 +3541,6 @@ var Ripple = {
3516
3541
  };
3517
3542
  /* harmony default export */ var ripple_Ripple = (Ripple);
3518
3543
  // 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/button/Button.vue?vue&type=script&lang=js&
3519
- //
3520
- //
3521
- //
3522
- //
3523
- //
3524
- //
3525
- //
3526
- //
3527
- //
3528
- //
3529
3544
 
3530
3545
  /* harmony default export */ var Buttonvue_type_script_lang_js_ = ({
3531
3546
  props: {
@@ -3545,6 +3560,14 @@ var Ripple = {
3545
3560
  badgeClass: {
3546
3561
  type: String,
3547
3562
  default: null
3563
+ },
3564
+ loading: {
3565
+ type: Boolean,
3566
+ default: false
3567
+ },
3568
+ loadingIcon: {
3569
+ type: String,
3570
+ default: 'pi pi-spinner pi-spin'
3548
3571
  }
3549
3572
  },
3550
3573
  computed: {
@@ -3557,7 +3580,7 @@ var Ripple = {
3557
3580
  };
3558
3581
  },
3559
3582
  iconClass: function iconClass() {
3560
- return [this.icon, 'p-button-icon', {
3583
+ return [this.loading ? this.loadingIcon : this.icon, 'p-button-icon', {
3561
3584
  'p-button-icon-left': this.iconPos === 'left' && this.label,
3562
3585
  'p-button-icon-right': this.iconPos === 'right' && this.label,
3563
3586
  'p-button-icon-top': this.iconPos === 'top' && this.label,
@@ -3583,20 +3606,19 @@ var Ripple = {
3583
3606
  // This module is a runtime utility for cleaner component module output and will
3584
3607
  // be included in the final webpack user bundle.
3585
3608
 
3586
- function normalizeComponent (
3609
+ function normalizeComponent(
3587
3610
  scriptExports,
3588
3611
  render,
3589
3612
  staticRenderFns,
3590
3613
  functionalTemplate,
3591
3614
  injectStyles,
3592
3615
  scopeId,
3593
- moduleIdentifier, /* server only */
3616
+ moduleIdentifier /* server only */,
3594
3617
  shadowMode /* vue-cli only */
3595
3618
  ) {
3596
3619
  // Vue.extend constructor export interop
3597
- var options = typeof scriptExports === 'function'
3598
- ? scriptExports.options
3599
- : scriptExports
3620
+ var options =
3621
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
3600
3622
 
3601
3623
  // render functions
3602
3624
  if (render) {
@@ -3616,7 +3638,8 @@ function normalizeComponent (
3616
3638
  }
3617
3639
 
3618
3640
  var hook
3619
- if (moduleIdentifier) { // server build
3641
+ if (moduleIdentifier) {
3642
+ // server build
3620
3643
  hook = function (context) {
3621
3644
  // 2.3 injection
3622
3645
  context =
@@ -3642,11 +3665,11 @@ function normalizeComponent (
3642
3665
  } else if (injectStyles) {
3643
3666
  hook = shadowMode
3644
3667
  ? function () {
3645
- injectStyles.call(
3646
- this,
3647
- (options.functional ? this.parent : this).$root.$options.shadowRoot
3648
- )
3649
- }
3668
+ injectStyles.call(
3669
+ this,
3670
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
3671
+ )
3672
+ }
3650
3673
  : injectStyles
3651
3674
  }
3652
3675
 
@@ -3657,16 +3680,14 @@ function normalizeComponent (
3657
3680
  options._injectStyles = hook
3658
3681
  // register for functional component in vue file
3659
3682
  var originalRender = options.render
3660
- options.render = function renderWithStyleInjection (h, context) {
3683
+ options.render = function renderWithStyleInjection(h, context) {
3661
3684
  hook.call(context)
3662
3685
  return originalRender(h, context)
3663
3686
  }
3664
3687
  } else {
3665
3688
  // inject component registration as beforeCreate hook
3666
3689
  var existing = options.beforeCreate
3667
- options.beforeCreate = existing
3668
- ? [].concat(existing, hook)
3669
- : [hook]
3690
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
3670
3691
  }
3671
3692
  }
3672
3693