primevue 2.9.2 → 2.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (462) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +150 -3
  3. package/accordion/accordion.common.js +66 -72
  4. package/accordion/accordion.umd.js +66 -72
  5. package/accordion/accordion.umd.min.js +1 -1
  6. package/accordiontab/accordiontab.common.js +73 -103
  7. package/accordiontab/accordiontab.umd.js +73 -103
  8. package/accordiontab/accordiontab.umd.min.js +1 -1
  9. package/api/Api.d.ts +24 -2
  10. package/api/Api.js +0 -6
  11. package/api/FilterService.js +2 -55
  12. package/api/PrimeIcons.js +24 -2
  13. package/api/api.common.js +35 -98
  14. package/api/api.umd.js +35 -98
  15. package/api/api.umd.min.js +1 -1
  16. package/api/filterservice.common.js +11 -96
  17. package/api/filterservice.umd.js +11 -96
  18. package/api/primeicons.common.js +24 -2
  19. package/api/primeicons.umd.js +24 -2
  20. package/api/primeicons.umd.min.js +1 -1
  21. package/autocomplete/autocomplete.common.js +241 -293
  22. package/autocomplete/autocomplete.umd.js +241 -293
  23. package/autocomplete/autocomplete.umd.min.js +1 -1
  24. package/avatar/avatar.common.js +64 -61
  25. package/avatar/avatar.umd.js +64 -61
  26. package/avatar/avatar.umd.min.js +1 -1
  27. package/avatargroup/avatargroup.common.js +44 -47
  28. package/avatargroup/avatargroup.umd.js +44 -47
  29. package/avatargroup/avatargroup.umd.min.js +1 -1
  30. package/badge/badge.common.js +22 -23
  31. package/badge/badge.umd.js +22 -23
  32. package/badge/badge.umd.min.js +1 -1
  33. package/badgedirective/BadgeDirective.js +0 -13
  34. package/badgedirective/badgedirective.common.js +13 -71
  35. package/badgedirective/badgedirective.umd.js +13 -71
  36. package/blockui/blockui.common.js +79 -138
  37. package/blockui/blockui.umd.js +79 -138
  38. package/blockui/blockui.umd.min.js +1 -1
  39. package/breadcrumb/breadcrumb.common.js +130 -90
  40. package/breadcrumb/breadcrumb.umd.js +130 -90
  41. package/breadcrumb/breadcrumb.umd.min.js +1 -1
  42. package/breadcrumb/breadcrumbitem.common.js +67 -40
  43. package/breadcrumb/breadcrumbitem.umd.js +67 -40
  44. package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
  45. package/button/Button.d.ts +2 -0
  46. package/button/Button.vue +10 -1
  47. package/button/button.common.js +64 -109
  48. package/button/button.umd.js +64 -109
  49. package/button/button.umd.min.js +1 -1
  50. package/calendar/Calendar.vue +7 -3
  51. package/calendar/calendar.common.js +714 -721
  52. package/calendar/calendar.umd.js +714 -721
  53. package/calendar/calendar.umd.min.js +1 -1
  54. package/card/card.common.js +59 -62
  55. package/card/card.umd.js +59 -62
  56. package/card/card.umd.min.js +1 -1
  57. package/carousel/carousel.common.js +190 -231
  58. package/carousel/carousel.umd.js +190 -231
  59. package/carousel/carousel.umd.min.js +1 -1
  60. package/cascadeselect/cascadeselect.common.js +230 -294
  61. package/cascadeselect/cascadeselect.umd.js +230 -294
  62. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  63. package/cascadeselect/cascadeselectsub.common.js +101 -183
  64. package/cascadeselect/cascadeselectsub.umd.js +101 -183
  65. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  66. package/cascadeselect/demo.html +4 -3
  67. package/chart/chart.common.js +77 -74
  68. package/chart/chart.umd.js +77 -74
  69. package/chart/chart.umd.min.js +1 -1
  70. package/checkbox/checkbox.common.js +70 -87
  71. package/checkbox/checkbox.umd.js +70 -87
  72. package/checkbox/checkbox.umd.min.js +1 -1
  73. package/chip/chip.common.js +66 -52
  74. package/chip/chip.umd.js +66 -52
  75. package/chip/chip.umd.min.js +1 -1
  76. package/chips/chips.common.js +122 -96
  77. package/chips/chips.umd.js +122 -96
  78. package/chips/chips.umd.min.js +1 -1
  79. package/colorpicker/colorpicker.common.js +149 -193
  80. package/colorpicker/colorpicker.umd.js +149 -193
  81. package/colorpicker/colorpicker.umd.min.js +1 -1
  82. package/column/column.common.js +13 -15
  83. package/column/column.umd.js +13 -15
  84. package/columngroup/columngroup.common.js +20 -25
  85. package/columngroup/columngroup.umd.js +20 -25
  86. package/columngroup/columngroup.umd.min.js +1 -1
  87. package/config/PrimeVue.js +0 -5
  88. package/config/primevue.common.js +35 -102
  89. package/config/primevue.umd.js +35 -102
  90. package/config/primevue.umd.min.js +1 -1
  91. package/confirmationeventbus/ConfirmationEventBus.js +0 -4
  92. package/confirmationeventbus/confirmationeventbus.common.js +0 -2
  93. package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
  94. package/confirmationservice/ConfirmationService.js +0 -3
  95. package/confirmationservice/confirmationservice.common.js +0 -2
  96. package/confirmationservice/confirmationservice.umd.js +0 -2
  97. package/confirmdialog/confirmdialog.common.js +247 -218
  98. package/confirmdialog/confirmdialog.umd.js +247 -218
  99. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  100. package/confirmpopup/confirmpopup.common.js +154 -196
  101. package/confirmpopup/confirmpopup.umd.js +154 -196
  102. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  103. package/contextmenu/contextmenu.common.js +216 -206
  104. package/contextmenu/contextmenu.umd.js +216 -206
  105. package/contextmenu/contextmenu.umd.min.js +1 -1
  106. package/contextmenu/contextmenusub.common.js +138 -134
  107. package/contextmenu/contextmenusub.umd.js +138 -134
  108. package/contextmenu/contextmenusub.umd.min.js +1 -1
  109. package/contextmenu/demo.html +3 -4
  110. package/datatable/BodyCell.vue +11 -2
  111. package/datatable/ColumnFilter.vue +1 -1
  112. package/datatable/DataTable.vue +2 -12
  113. package/datatable/HeaderCheckbox.vue +5 -8
  114. package/datatable/bodycell.common.js +283 -246
  115. package/datatable/bodycell.umd.js +283 -246
  116. package/datatable/bodycell.umd.min.js +1 -1
  117. package/datatable/columnfilter.common.js +516 -422
  118. package/datatable/columnfilter.umd.js +516 -422
  119. package/datatable/columnfilter.umd.min.js +1 -1
  120. package/datatable/columnslot.common.js +13 -15
  121. package/datatable/columnslot.umd.js +13 -15
  122. package/datatable/datatable.common.js +2250 -1551
  123. package/datatable/datatable.umd.js +2250 -1551
  124. package/datatable/datatable.umd.min.js +1 -1
  125. package/datatable/footercell.common.js +56 -142
  126. package/datatable/footercell.umd.js +56 -142
  127. package/datatable/footercell.umd.min.js +1 -1
  128. package/datatable/headercell.common.js +666 -483
  129. package/datatable/headercell.umd.js +666 -483
  130. package/datatable/headercell.umd.min.js +1 -1
  131. package/datatable/headercheckbox.common.js +59 -33
  132. package/datatable/headercheckbox.umd.js +59 -33
  133. package/datatable/headercheckbox.umd.min.js +1 -1
  134. package/datatable/rowcheckbox.common.js +61 -30
  135. package/datatable/rowcheckbox.umd.js +61 -30
  136. package/datatable/rowcheckbox.umd.min.js +1 -1
  137. package/datatable/rowradiobutton.common.js +54 -27
  138. package/datatable/rowradiobutton.umd.js +54 -27
  139. package/datatable/rowradiobutton.umd.min.js +1 -1
  140. package/datatable/tablebody.common.js +461 -321
  141. package/datatable/tablebody.umd.js +461 -321
  142. package/datatable/tablebody.umd.min.js +1 -1
  143. package/datatable/tablefooter.common.js +94 -175
  144. package/datatable/tablefooter.umd.js +94 -175
  145. package/datatable/tablefooter.umd.min.js +1 -1
  146. package/datatable/tableheader.common.js +872 -539
  147. package/datatable/tableheader.umd.js +872 -539
  148. package/datatable/tableheader.umd.min.js +1 -1
  149. package/datatable/tableloadingbody.common.js +36 -29
  150. package/datatable/tableloadingbody.umd.js +36 -29
  151. package/datatable/tableloadingbody.umd.min.js +1 -1
  152. package/dataview/dataview.common.js +851 -720
  153. package/dataview/dataview.umd.js +851 -720
  154. package/dataview/dataview.umd.min.js +1 -1
  155. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +46 -30
  156. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +46 -30
  157. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
  158. package/deferredcontent/deferredcontent.common.js +22 -28
  159. package/deferredcontent/deferredcontent.umd.js +22 -28
  160. package/deferredcontent/deferredcontent.umd.min.js +1 -1
  161. package/dialog/dialog.common.js +152 -179
  162. package/dialog/dialog.umd.js +152 -179
  163. package/dialog/dialog.umd.min.js +1 -1
  164. package/divider/divider.common.js +49 -49
  165. package/divider/divider.umd.js +49 -49
  166. package/divider/divider.umd.min.js +1 -1
  167. package/dock/dock.common.js +179 -95
  168. package/dock/dock.umd.js +179 -95
  169. package/dock/dock.umd.min.js +1 -1
  170. package/dock/docksub.common.js +132 -54
  171. package/dock/docksub.umd.js +132 -54
  172. package/dock/docksub.umd.min.js +1 -1
  173. package/dropdown/dropdown.common.js +233 -289
  174. package/dropdown/dropdown.umd.js +233 -289
  175. package/dropdown/dropdown.umd.min.js +1 -1
  176. package/editor/editor.common.js +194 -104
  177. package/editor/editor.umd.js +194 -104
  178. package/editor/editor.umd.min.js +3 -3
  179. package/fieldset/fieldset.common.js +133 -165
  180. package/fieldset/fieldset.umd.js +133 -165
  181. package/fieldset/fieldset.umd.min.js +1 -1
  182. package/fileupload/fileupload.common.js +431 -373
  183. package/fileupload/fileupload.umd.js +431 -373
  184. package/fileupload/fileupload.umd.min.js +1 -1
  185. package/fullcalendar/fullcalendar.common.js +75 -64
  186. package/fullcalendar/fullcalendar.umd.js +75 -64
  187. package/fullcalendar/fullcalendar.umd.min.js +4 -18
  188. package/galleria/galleria.common.js +403 -299
  189. package/galleria/galleria.umd.js +403 -299
  190. package/galleria/galleria.umd.min.js +1 -1
  191. package/galleria/galleriacontent.common.js +324 -235
  192. package/galleria/galleriacontent.umd.js +324 -235
  193. package/galleria/galleriacontent.umd.min.js +1 -1
  194. package/galleria/galleriaitem.common.js +127 -135
  195. package/galleria/galleriaitem.umd.js +127 -135
  196. package/galleria/galleriaitem.umd.min.js +1 -1
  197. package/galleria/galleriaitemslot.common.js +17 -25
  198. package/galleria/galleriaitemslot.umd.js +17 -25
  199. package/galleria/galleriathumbnails.common.js +125 -171
  200. package/galleria/galleriathumbnails.umd.js +125 -171
  201. package/galleria/galleriathumbnails.umd.min.js +1 -1
  202. package/imagepreview/imagepreview.common.js +174 -163
  203. package/imagepreview/imagepreview.umd.js +174 -163
  204. package/imagepreview/imagepreview.umd.min.js +1 -1
  205. package/inlinemessage/inlinemessage.common.js +61 -57
  206. package/inlinemessage/inlinemessage.umd.js +61 -57
  207. package/inlinemessage/inlinemessage.umd.min.js +1 -1
  208. package/inplace/inplace.common.js +139 -170
  209. package/inplace/inplace.umd.js +139 -170
  210. package/inplace/inplace.umd.min.js +1 -1
  211. package/inputmask/inputmask.common.js +51 -174
  212. package/inputmask/inputmask.umd.js +51 -174
  213. package/inputmask/inputmask.umd.min.js +1 -1
  214. package/inputnumber/InputNumber.vue +6 -3
  215. package/inputnumber/inputnumber.common.js +205 -293
  216. package/inputnumber/inputnumber.umd.js +205 -293
  217. package/inputnumber/inputnumber.umd.min.js +1 -1
  218. package/inputswitch/inputswitch.common.js +219 -37
  219. package/inputswitch/inputswitch.umd.js +219 -37
  220. package/inputswitch/inputswitch.umd.min.js +1 -1
  221. package/inputtext/inputtext.common.js +27 -28
  222. package/inputtext/inputtext.umd.js +27 -28
  223. package/inputtext/inputtext.umd.min.js +1 -1
  224. package/knob/knob.common.js +102 -74
  225. package/knob/knob.umd.js +102 -74
  226. package/knob/knob.umd.min.js +1 -1
  227. package/listbox/listbox.common.js +163 -237
  228. package/listbox/listbox.umd.js +163 -237
  229. package/listbox/listbox.umd.min.js +1 -1
  230. package/megamenu/MegaMenu.vue +2 -2
  231. package/megamenu/megamenu.common.js +273 -230
  232. package/megamenu/megamenu.umd.js +273 -230
  233. package/megamenu/megamenu.umd.min.js +1 -1
  234. package/menu/menu.common.js +201 -203
  235. package/menu/menu.umd.js +201 -203
  236. package/menu/menu.umd.min.js +1 -1
  237. package/menu/menuitem.common.js +95 -116
  238. package/menu/menuitem.umd.js +95 -116
  239. package/menu/menuitem.umd.min.js +1 -1
  240. package/menubar/menubar.common.js +223 -214
  241. package/menubar/menubar.umd.js +223 -214
  242. package/menubar/menubar.umd.min.js +1 -1
  243. package/menubar/menubarsub.common.js +142 -149
  244. package/menubar/menubarsub.umd.js +142 -149
  245. package/menubar/menubarsub.umd.min.js +1 -1
  246. package/message/message.common.js +108 -157
  247. package/message/message.umd.js +108 -157
  248. package/message/message.umd.min.js +1 -1
  249. package/multiselect/multiselect.common.js +291 -315
  250. package/multiselect/multiselect.umd.js +291 -315
  251. package/multiselect/multiselect.umd.min.js +1 -1
  252. package/orderlist/orderlist.common.js +206 -263
  253. package/orderlist/orderlist.umd.js +206 -263
  254. package/orderlist/orderlist.umd.min.js +1 -1
  255. package/organizationchart/organizationchart.common.js +188 -190
  256. package/organizationchart/organizationchart.umd.js +188 -190
  257. package/organizationchart/organizationchart.umd.min.js +1 -1
  258. package/organizationchart/organizationchartnode.common.js +122 -124
  259. package/organizationchart/organizationchartnode.umd.js +122 -124
  260. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  261. package/overlayeventbus/OverlayEventBus.js +0 -4
  262. package/overlayeventbus/overlayeventbus.common.js +0 -2
  263. package/overlayeventbus/overlayeventbus.umd.js +0 -2
  264. package/overlaypanel/overlaypanel.common.js +108 -176
  265. package/overlaypanel/overlaypanel.umd.js +108 -176
  266. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  267. package/package.json +3 -3
  268. package/paginator/currentpagereport.common.js +22 -22
  269. package/paginator/currentpagereport.umd.js +22 -22
  270. package/paginator/currentpagereport.umd.min.js +1 -1
  271. package/paginator/firstpagelink.common.js +44 -102
  272. package/paginator/firstpagelink.umd.js +44 -102
  273. package/paginator/firstpagelink.umd.min.js +1 -1
  274. package/paginator/jumptopagedropdown.common.js +254 -300
  275. package/paginator/jumptopagedropdown.umd.js +254 -300
  276. package/paginator/jumptopagedropdown.umd.min.js +1 -1
  277. package/paginator/jumptopageinput.common.js +225 -303
  278. package/paginator/jumptopageinput.umd.js +225 -303
  279. package/paginator/jumptopageinput.umd.min.js +1 -1
  280. package/paginator/lastpagelink.common.js +44 -102
  281. package/paginator/lastpagelink.umd.js +44 -102
  282. package/paginator/lastpagelink.umd.min.js +1 -1
  283. package/paginator/nextpagelink.common.js +44 -102
  284. package/paginator/nextpagelink.umd.js +44 -102
  285. package/paginator/nextpagelink.umd.min.js +1 -1
  286. package/paginator/pagelinks.common.js +54 -102
  287. package/paginator/pagelinks.umd.js +54 -102
  288. package/paginator/pagelinks.umd.min.js +1 -1
  289. package/paginator/paginator.common.js +741 -654
  290. package/paginator/paginator.umd.js +741 -654
  291. package/paginator/paginator.umd.min.js +1 -1
  292. package/paginator/prevpagelink.common.js +44 -102
  293. package/paginator/prevpagelink.umd.js +44 -102
  294. package/paginator/prevpagelink.umd.min.js +1 -1
  295. package/paginator/rowsperpagedropdown.common.js +253 -300
  296. package/paginator/rowsperpagedropdown.umd.js +253 -300
  297. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  298. package/panel/panel.common.js +129 -164
  299. package/panel/panel.umd.js +129 -164
  300. package/panel/panel.umd.min.js +1 -1
  301. package/panelmenu/panelmenu.common.js +235 -129
  302. package/panelmenu/panelmenu.umd.js +235 -129
  303. package/panelmenu/panelmenu.umd.min.js +1 -1
  304. package/panelmenu/panelmenusub.common.js +110 -55
  305. package/panelmenu/panelmenusub.umd.js +110 -55
  306. package/panelmenu/panelmenusub.umd.min.js +1 -1
  307. package/password/Password.vue +64 -14
  308. package/password/password.common.js +243 -239
  309. package/password/password.umd.js +243 -239
  310. package/password/password.umd.min.js +1 -1
  311. package/picklist/picklist.common.js +332 -323
  312. package/picklist/picklist.umd.js +332 -323
  313. package/picklist/picklist.umd.min.js +1 -1
  314. package/progressbar/progressbar.common.js +83 -76
  315. package/progressbar/progressbar.umd.js +83 -76
  316. package/progressbar/progressbar.umd.min.js +1 -1
  317. package/progressspinner/progressspinner.common.js +545 -45
  318. package/progressspinner/progressspinner.umd.js +545 -45
  319. package/progressspinner/progressspinner.umd.min.js +1 -1
  320. package/radiobutton/radiobutton.common.js +68 -83
  321. package/radiobutton/radiobutton.umd.js +68 -83
  322. package/radiobutton/radiobutton.umd.min.js +1 -1
  323. package/rating/rating.common.js +92 -68
  324. package/rating/rating.umd.js +92 -68
  325. package/rating/rating.umd.min.js +1 -1
  326. package/ripple/Ripple.js +0 -18
  327. package/ripple/ripple.common.js +13 -77
  328. package/ripple/ripple.umd.js +13 -77
  329. package/row/row.common.js +20 -25
  330. package/row/row.umd.js +20 -25
  331. package/row/row.umd.min.js +1 -1
  332. package/scrollpanel/scrollpanel.common.js +103 -154
  333. package/scrollpanel/scrollpanel.umd.js +103 -154
  334. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  335. package/scrolltop/scrolltop.common.js +90 -132
  336. package/scrolltop/scrolltop.umd.js +90 -132
  337. package/scrolltop/scrolltop.umd.min.js +1 -1
  338. package/selectbutton/selectbutton.common.js +91 -171
  339. package/selectbutton/selectbutton.umd.js +91 -171
  340. package/selectbutton/selectbutton.umd.min.js +1 -1
  341. package/sidebar/Sidebar.d.ts +1 -0
  342. package/sidebar/Sidebar.vue +3 -0
  343. package/sidebar/sidebar.common.js +115 -166
  344. package/sidebar/sidebar.umd.js +115 -166
  345. package/sidebar/sidebar.umd.min.js +1 -1
  346. package/skeleton/skeleton.common.js +57 -57
  347. package/skeleton/skeleton.umd.js +57 -57
  348. package/skeleton/skeleton.umd.min.js +1 -1
  349. package/slider/Slider.vue +1 -1
  350. package/slider/slider.common.js +175 -166
  351. package/slider/slider.umd.js +175 -166
  352. package/slider/slider.umd.min.js +1 -1
  353. package/speeddial/SpeedDial.vue +2 -2
  354. package/speeddial/speeddial.common.js +186 -204
  355. package/speeddial/speeddial.umd.js +186 -204
  356. package/speeddial/speeddial.umd.min.js +1 -1
  357. package/splitbutton/splitbutton.common.js +327 -279
  358. package/splitbutton/splitbutton.umd.js +327 -279
  359. package/splitbutton/splitbutton.umd.min.js +1 -1
  360. package/splitter/splitter.common.js +70 -143
  361. package/splitter/splitter.umd.js +70 -143
  362. package/splitter/splitter.umd.min.js +1 -1
  363. package/splitterpanel/splitterpanel.common.js +13 -15
  364. package/splitterpanel/splitterpanel.umd.js +13 -15
  365. package/steps/steps.common.js +112 -77
  366. package/steps/steps.umd.js +112 -77
  367. package/steps/steps.umd.min.js +1 -1
  368. package/styleclass/StyleClass.js +0 -43
  369. package/styleclass/styleclass.common.js +13 -99
  370. package/styleclass/styleclass.umd.js +13 -99
  371. package/tabmenu/tabmenu.common.js +139 -165
  372. package/tabmenu/tabmenu.umd.js +139 -165
  373. package/tabmenu/tabmenu.umd.min.js +1 -1
  374. package/tabpanel/tabpanel.common.js +31 -26
  375. package/tabpanel/tabpanel.umd.js +31 -26
  376. package/tabpanel/tabpanel.umd.min.js +1 -1
  377. package/tabview/tabview.common.js +178 -220
  378. package/tabview/tabview.umd.js +178 -220
  379. package/tabview/tabview.umd.min.js +1 -1
  380. package/tag/tag.common.js +59 -59
  381. package/tag/tag.umd.js +59 -59
  382. package/tag/tag.umd.min.js +1 -1
  383. package/terminal/terminal.common.js +96 -68
  384. package/terminal/terminal.umd.js +96 -68
  385. package/terminal/terminal.umd.min.js +1 -1
  386. package/terminalservice/TerminalService.js +0 -3
  387. package/textarea/Textarea.vue +24 -1
  388. package/textarea/textarea.common.js +2083 -91
  389. package/textarea/textarea.umd.js +2083 -91
  390. package/textarea/textarea.umd.min.js +1 -1
  391. package/tieredmenu/demo.html +3 -4
  392. package/tieredmenu/tieredmenu.common.js +214 -219
  393. package/tieredmenu/tieredmenu.umd.js +214 -219
  394. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  395. package/tieredmenu/tieredmenusub.common.js +142 -145
  396. package/tieredmenu/tieredmenusub.umd.js +142 -145
  397. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  398. package/timeline/timeline.common.js +101 -134
  399. package/timeline/timeline.umd.js +101 -134
  400. package/timeline/timeline.umd.min.js +1 -1
  401. package/toast/toast.common.js +145 -182
  402. package/toast/toast.umd.js +145 -182
  403. package/toast/toast.umd.min.js +1 -1
  404. package/toast/toastmessage.common.js +70 -115
  405. package/toast/toastmessage.umd.js +70 -115
  406. package/toast/toastmessage.umd.min.js +1 -1
  407. package/toastservice/ToastEventBus.js +0 -3
  408. package/toastservice/ToastService.js +0 -3
  409. package/togglebutton/togglebutton.common.js +54 -103
  410. package/togglebutton/togglebutton.umd.js +54 -103
  411. package/togglebutton/togglebutton.umd.min.js +1 -1
  412. package/toolbar/toolbar.common.js +46 -47
  413. package/toolbar/toolbar.umd.js +46 -47
  414. package/toolbar/toolbar.umd.min.js +1 -1
  415. package/tooltip/Tooltip.js +4 -84
  416. package/tooltip/tooltip.common.js +17 -133
  417. package/tooltip/tooltip.umd.js +17 -133
  418. package/tree/tree.common.js +227 -316
  419. package/tree/tree.umd.js +227 -316
  420. package/tree/tree.umd.min.js +1 -1
  421. package/tree/treenode.common.js +108 -158
  422. package/tree/treenode.umd.js +108 -158
  423. package/tree/treenode.umd.min.js +1 -1
  424. package/treetable/footercell.common.js +49 -141
  425. package/treetable/footercell.umd.js +49 -141
  426. package/treetable/footercell.umd.min.js +1 -1
  427. package/treetable/headercell.common.js +68 -153
  428. package/treetable/headercell.umd.js +68 -153
  429. package/treetable/headercell.umd.min.js +1 -1
  430. package/treetable/treetable.common.js +1086 -1044
  431. package/treetable/treetable.umd.js +1086 -1044
  432. package/treetable/treetable.umd.min.js +1 -1
  433. package/treetable/treetablecolumnslot.common.js +13 -15
  434. package/treetable/treetablecolumnslot.umd.js +13 -15
  435. package/treetable/treetablerow.common.js +113 -194
  436. package/treetable/treetablerow.umd.js +113 -194
  437. package/treetable/treetablerow.umd.min.js +1 -1
  438. package/treetable/treetablerowloader.common.js +115 -214
  439. package/treetable/treetablerowloader.umd.js +115 -214
  440. package/treetable/treetablerowloader.umd.min.js +1 -1
  441. package/tristatecheckbox/tristatecheckbox.common.js +59 -38
  442. package/tristatecheckbox/tristatecheckbox.umd.js +59 -38
  443. package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
  444. package/utils/ConnectedOverlayScrollHandler.js +0 -12
  445. package/utils/DomHandler.js +13 -61
  446. package/utils/EventBus.js +0 -3
  447. package/utils/ObjectUtils.js +9 -51
  448. package/utils/UniqueComponentId.js +0 -1
  449. package/utils/Utils.js +0 -6
  450. package/utils/connectedoverlayscrollhandler.common.js +13 -70
  451. package/utils/connectedoverlayscrollhandler.umd.js +13 -70
  452. package/utils/domhandler.common.js +13 -63
  453. package/utils/domhandler.umd.js +13 -63
  454. package/utils/eventbus.common.js +0 -2
  455. package/utils/eventbus.umd.js +0 -2
  456. package/utils/objectutils.common.js +9 -52
  457. package/utils/objectutils.umd.js +9 -52
  458. package/utils/utils.common.js +22 -119
  459. package/utils/utils.umd.js +22 -119
  460. package/vetur-attributes.json +8 -0
  461. package/vetur-tags.json +3 -1
  462. package/web-types.json +28 -1
@@ -2791,15 +2791,119 @@ 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":"28cb4606-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/menubar/MenubarSub.vue?vue&type=template&id=a44977b2&
2795
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{class:_vm.containerClass,attrs:{"role":_vm.root ? 'menubar' : 'menu'}},[_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"},on:{"mouseenter":function($event){return _vm.onItemMouseEnter($event, item)}}},[(item.to && !_vm.disabled(item))?_c('router-link',{attrs:{"to":item.to,"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
2796
- var navigate = ref.navigate;
2797
- var href = ref.href;
2798
- var isActive = ref.isActive;
2799
- var isExactActive = ref.isExactActive;
2800
- return [_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.linkClass(item, {isActive: isActive, isExactActive: isExactActive}),attrs:{"href":href,"role":"menuitem"},on:{"click":function($event){return _vm.onItemClick($event, item, navigate)},"keydown":function($event){return _vm.onItemKeyDown($event, item)}}},[_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',{directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.linkClass(item),attrs:{"href":item.url,"target":item.target,"aria-haspopup":item.items != null,"aria-expanded":item === _vm.activeItem,"role":"menuitem","tabindex":_vm.disabled(item) ? null : '0'},on:{"click":function($event){return _vm.onItemClick($event, item)},"keydown":function($event){return _vm.onItemKeyDown($event, item)}}},[_c('span',{class:['p-menuitem-icon', item.icon]}),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))]),(item.items)?_c('span',{class:_vm.getSubmenuIcon()}):_vm._e()]),(_vm.visible(item) && item.items)?_c('sub-menu',{key:_vm.label(item) + '_sub_',attrs:{"model":item.items,"exact":_vm.exact,"mobileActive":_vm.mobileActive,"parentActive":item === _vm.activeItem},on:{"leaf-click":_vm.onLeafClick,"keydown-item":_vm.onChildItemKeyDown}}):_vm._e()],1):_vm._e(),(_vm.visible(item) && item.separator)?_c('li',{key:'separator' + i,class:['p-menu-separator', item.class],style:(item.style),attrs:{"role":"separator"}}):_vm._e()]})],2)}
2801
- var staticRenderFns = []
2802
-
2794
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/menubar/MenubarSub.vue?vue&type=template&id=a44977b2&
2795
+ var render = function render() {
2796
+ var _vm = this,
2797
+ _c = _vm._self._c;
2798
+ return _c('ul', {
2799
+ class: _vm.containerClass,
2800
+ attrs: {
2801
+ "role": _vm.root ? 'menubar' : 'menu'
2802
+ }
2803
+ }, [_vm._l(_vm.model, function (item, i) {
2804
+ return [_vm.visible(item) && !item.separator ? _c('li', {
2805
+ key: _vm.label(item) + i,
2806
+ class: _vm.getItemClass(item),
2807
+ style: item.style,
2808
+ attrs: {
2809
+ "role": "none"
2810
+ },
2811
+ on: {
2812
+ "mouseenter": function mouseenter($event) {
2813
+ return _vm.onItemMouseEnter($event, item);
2814
+ }
2815
+ }
2816
+ }, [item.to && !_vm.disabled(item) ? _c('router-link', {
2817
+ attrs: {
2818
+ "to": item.to,
2819
+ "custom": ""
2820
+ },
2821
+ scopedSlots: _vm._u([{
2822
+ key: "default",
2823
+ fn: function fn(_ref) {
2824
+ var navigate = _ref.navigate,
2825
+ href = _ref.href,
2826
+ isActive = _ref.isActive,
2827
+ isExactActive = _ref.isExactActive;
2828
+ return [_c('a', {
2829
+ directives: [{
2830
+ name: "ripple",
2831
+ rawName: "v-ripple"
2832
+ }],
2833
+ class: _vm.linkClass(item, {
2834
+ isActive: isActive,
2835
+ isExactActive: isExactActive
2836
+ }),
2837
+ attrs: {
2838
+ "href": href,
2839
+ "role": "menuitem"
2840
+ },
2841
+ on: {
2842
+ "click": function click($event) {
2843
+ return _vm.onItemClick($event, item, navigate);
2844
+ },
2845
+ "keydown": function keydown($event) {
2846
+ return _vm.onItemKeyDown($event, item);
2847
+ }
2848
+ }
2849
+ }, [_c('span', {
2850
+ class: ['p-menuitem-icon', item.icon]
2851
+ }), _c('span', {
2852
+ staticClass: "p-menuitem-text"
2853
+ }, [_vm._v(_vm._s(_vm.label(item)))])])];
2854
+ }
2855
+ }], null, true)
2856
+ }) : _c('a', {
2857
+ directives: [{
2858
+ name: "ripple",
2859
+ rawName: "v-ripple"
2860
+ }],
2861
+ class: _vm.linkClass(item),
2862
+ attrs: {
2863
+ "href": item.url,
2864
+ "target": item.target,
2865
+ "aria-haspopup": item.items != null,
2866
+ "aria-expanded": item === _vm.activeItem,
2867
+ "role": "menuitem",
2868
+ "tabindex": _vm.disabled(item) ? null : '0'
2869
+ },
2870
+ on: {
2871
+ "click": function click($event) {
2872
+ return _vm.onItemClick($event, item);
2873
+ },
2874
+ "keydown": function keydown($event) {
2875
+ return _vm.onItemKeyDown($event, item);
2876
+ }
2877
+ }
2878
+ }, [_c('span', {
2879
+ class: ['p-menuitem-icon', item.icon]
2880
+ }), _c('span', {
2881
+ staticClass: "p-menuitem-text"
2882
+ }, [_vm._v(_vm._s(_vm.label(item)))]), item.items ? _c('span', {
2883
+ class: _vm.getSubmenuIcon()
2884
+ }) : _vm._e()]), _vm.visible(item) && item.items ? _c('sub-menu', {
2885
+ key: _vm.label(item) + '_sub_',
2886
+ attrs: {
2887
+ "model": item.items,
2888
+ "exact": _vm.exact,
2889
+ "mobileActive": _vm.mobileActive,
2890
+ "parentActive": item === _vm.activeItem
2891
+ },
2892
+ on: {
2893
+ "leaf-click": _vm.onLeafClick,
2894
+ "keydown-item": _vm.onChildItemKeyDown
2895
+ }
2896
+ }) : _vm._e()], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
2897
+ key: 'separator' + i,
2898
+ class: ['p-menu-separator', item.class],
2899
+ style: item.style,
2900
+ attrs: {
2901
+ "role": "separator"
2902
+ }
2903
+ }) : _vm._e()];
2904
+ })], 2);
2905
+ };
2906
+ var staticRenderFns = [];
2803
2907
 
2804
2908
  // CONCATENATED MODULE: ./src/components/menubar/MenubarSub.vue?vue&type=template&id=a44977b2&
2805
2909
 
@@ -2845,26 +2949,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
2845
2949
 
2846
2950
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
2847
2951
 
2848
-
2849
2952
  function _defineProperties(target, props) {
2850
2953
  for (var i = 0; i < props.length; i++) {
2851
2954
  var descriptor = props[i];
2852
2955
  descriptor.enumerable = descriptor.enumerable || false;
2853
2956
  descriptor.configurable = true;
2854
2957
  if ("value" in descriptor) descriptor.writable = true;
2855
-
2856
2958
  define_property_default()(target, descriptor.key, descriptor);
2857
2959
  }
2858
2960
  }
2859
-
2860
2961
  function _createClass(Constructor, protoProps, staticProps) {
2861
2962
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
2862
2963
  if (staticProps) _defineProperties(Constructor, staticProps);
2863
-
2864
2964
  define_property_default()(Constructor, "prototype", {
2865
2965
  writable: false
2866
2966
  });
2867
-
2868
2967
  return Constructor;
2869
2968
  }
2870
2969
  // CONCATENATED MODULE: ./src/components/utils/DomHandler.js
@@ -2880,18 +2979,13 @@ function _createClass(Constructor, protoProps, staticProps) {
2880
2979
 
2881
2980
 
2882
2981
 
2883
-
2884
2982
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
2885
-
2886
2983
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
2887
-
2888
2984
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
2889
-
2890
2985
  var DomHandler_DomHandler = /*#__PURE__*/function () {
2891
2986
  function DomHandler() {
2892
2987
  _classCallCheck(this, DomHandler);
2893
2988
  }
2894
-
2895
2989
  _createClass(DomHandler, null, [{
2896
2990
  key: "innerWidth",
2897
2991
  value: function innerWidth(el) {
@@ -2925,12 +3019,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2925
3019
  value: function getOuterWidth(el, margin) {
2926
3020
  if (el) {
2927
3021
  var width = el.offsetWidth;
2928
-
2929
3022
  if (margin) {
2930
3023
  var style = getComputedStyle(el);
2931
3024
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
2932
3025
  }
2933
-
2934
3026
  return width;
2935
3027
  } else {
2936
3028
  return 0;
@@ -2941,12 +3033,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2941
3033
  value: function getOuterHeight(el, margin) {
2942
3034
  if (el) {
2943
3035
  var height = el.offsetHeight;
2944
-
2945
3036
  if (margin) {
2946
3037
  var style = getComputedStyle(el);
2947
3038
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
2948
3039
  }
2949
-
2950
3040
  return height;
2951
3041
  } else {
2952
3042
  return 0;
@@ -2957,12 +3047,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2957
3047
  value: function getClientHeight(el, margin) {
2958
3048
  if (el) {
2959
3049
  var height = el.clientHeight;
2960
-
2961
3050
  if (margin) {
2962
3051
  var style = getComputedStyle(el);
2963
3052
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
2964
3053
  }
2965
-
2966
3054
  return height;
2967
3055
  } else {
2968
3056
  return 0;
@@ -2972,11 +3060,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2972
3060
  key: "getViewport",
2973
3061
  value: function getViewport() {
2974
3062
  var win = window,
2975
- d = document,
2976
- e = d.documentElement,
2977
- g = d.getElementsByTagName('body')[0],
2978
- w = win.innerWidth || e.clientWidth || g.clientWidth,
2979
- h = win.innerHeight || e.clientHeight || g.clientHeight;
3063
+ d = document,
3064
+ e = d.documentElement,
3065
+ g = d.getElementsByTagName('body')[0],
3066
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
3067
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
2980
3068
  return {
2981
3069
  width: w,
2982
3070
  height: h
@@ -3007,12 +3095,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3007
3095
  value: function index(element) {
3008
3096
  var children = element.parentNode.childNodes;
3009
3097
  var num = 0;
3010
-
3011
3098
  for (var i = 0; i < children.length; i++) {
3012
3099
  if (children[i] === element) return num;
3013
3100
  if (children[i].nodeType === 1) num++;
3014
3101
  }
3015
-
3016
3102
  return -1;
3017
3103
  }
3018
3104
  }, {
@@ -3020,13 +3106,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3020
3106
  value: function addMultipleClasses(element, className) {
3021
3107
  if (element.classList) {
3022
3108
  var styles = className.split(' ');
3023
-
3024
3109
  for (var i = 0; i < styles.length; i++) {
3025
3110
  element.classList.add(styles[i]);
3026
3111
  }
3027
3112
  } else {
3028
3113
  var _styles = className.split(' ');
3029
-
3030
3114
  for (var _i = 0; _i < _styles.length; _i++) {
3031
3115
  element.className += ' ' + _styles[_i];
3032
3116
  }
@@ -3048,7 +3132,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3048
3132
  if (element) {
3049
3133
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
3050
3134
  }
3051
-
3052
3135
  return false;
3053
3136
  }
3054
3137
  }, {
@@ -3093,11 +3176,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3093
3176
  var windowScrollLeft = this.getWindowScrollLeft();
3094
3177
  var viewport = this.getViewport();
3095
3178
  var top, left;
3096
-
3097
3179
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
3098
3180
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
3099
3181
  element.style.transformOrigin = 'bottom';
3100
-
3101
3182
  if (top < 0) {
3102
3183
  top = windowScrollTop;
3103
3184
  }
@@ -3105,7 +3186,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3105
3186
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
3106
3187
  element.style.transformOrigin = 'top';
3107
3188
  }
3108
-
3109
3189
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
3110
3190
  element.style.top = top + 'px';
3111
3191
  element.style.left = left + 'px';
@@ -3121,11 +3201,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3121
3201
  var targetOffset = target.getBoundingClientRect();
3122
3202
  var viewport = this.getViewport();
3123
3203
  var top, left;
3124
-
3125
3204
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
3126
3205
  top = -1 * elementDimensions.height;
3127
3206
  element.style.transformOrigin = 'bottom';
3128
-
3129
3207
  if (targetOffset.top + top < 0) {
3130
3208
  top = -1 * targetOffset.top;
3131
3209
  }
@@ -3133,7 +3211,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3133
3211
  top = targetHeight;
3134
3212
  element.style.transformOrigin = 'top';
3135
3213
  }
3136
-
3137
3214
  if (elementDimensions.width > viewport.width) {
3138
3215
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
3139
3216
  left = targetOffset.left * -1;
@@ -3144,7 +3221,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3144
3221
  // element fits on screen (align with target)
3145
3222
  left = 0;
3146
3223
  }
3147
-
3148
3224
  element.style.top = top + 'px';
3149
3225
  element.style.left = left + 'px';
3150
3226
  }
@@ -3158,35 +3234,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3158
3234
  key: "getScrollableParents",
3159
3235
  value: function getScrollableParents(element) {
3160
3236
  var scrollableParents = [];
3161
-
3162
3237
  if (element) {
3163
3238
  var parents = this.getParents(element);
3164
3239
  var overflowRegex = /(auto|scroll)/;
3165
-
3166
3240
  var overflowCheck = function overflowCheck(node) {
3167
3241
  var styleDeclaration = window['getComputedStyle'](node, null);
3168
3242
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
3169
3243
  };
3170
-
3171
3244
  var _iterator = _createForOfIteratorHelper(parents),
3172
- _step;
3173
-
3245
+ _step;
3174
3246
  try {
3175
3247
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
3176
3248
  var parent = _step.value;
3177
3249
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
3178
-
3179
3250
  if (scrollSelectors) {
3180
3251
  var selectors = scrollSelectors.split(',');
3181
-
3182
3252
  var _iterator2 = _createForOfIteratorHelper(selectors),
3183
- _step2;
3184
-
3253
+ _step2;
3185
3254
  try {
3186
3255
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
3187
3256
  var selector = _step2.value;
3188
3257
  var el = this.findSingle(parent, selector);
3189
-
3190
3258
  if (el && overflowCheck(el)) {
3191
3259
  scrollableParents.push(el);
3192
3260
  }
@@ -3204,7 +3272,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3204
3272
  _iterator.f();
3205
3273
  }
3206
3274
  }
3207
-
3208
3275
  return scrollableParents;
3209
3276
  }
3210
3277
  }, {
@@ -3245,34 +3312,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3245
3312
  element.style.opacity = 0;
3246
3313
  var last = +new Date();
3247
3314
  var opacity = 0;
3248
-
3249
3315
  var tick = function tick() {
3250
3316
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
3251
3317
  element.style.opacity = opacity;
3252
3318
  last = +new Date();
3253
-
3254
3319
  if (+opacity < 1) {
3255
3320
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
3256
3321
  }
3257
3322
  };
3258
-
3259
3323
  tick();
3260
3324
  }
3261
3325
  }, {
3262
3326
  key: "fadeOut",
3263
3327
  value: function fadeOut(element, ms) {
3264
3328
  var opacity = 1,
3265
- interval = 50,
3266
- duration = ms,
3267
- gap = interval / duration;
3329
+ interval = 50,
3330
+ duration = ms,
3331
+ gap = interval / duration;
3268
3332
  var fading = setInterval(function () {
3269
3333
  opacity -= gap;
3270
-
3271
3334
  if (opacity <= 0) {
3272
3335
  opacity = 0;
3273
3336
  clearInterval(fading);
3274
3337
  }
3275
-
3276
3338
  element.style.opacity = opacity;
3277
3339
  }, interval);
3278
3340
  }
@@ -3299,7 +3361,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3299
3361
  var scroll = container.scrollTop;
3300
3362
  var elementHeight = container.clientHeight;
3301
3363
  var itemHeight = this.getOuterHeight(item);
3302
-
3303
3364
  if (offset < 0) {
3304
3365
  container.scrollTop = scroll + offset;
3305
3366
  } else if (offset + itemHeight > elementHeight) {
@@ -3318,7 +3379,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3318
3379
  } else if (document['selection'] && document['selection'].empty) {
3319
3380
  try {
3320
3381
  document['selection'].empty();
3321
- } catch (error) {//ignore IE bug
3382
+ } catch (error) {
3383
+ //ignore IE bug
3322
3384
  }
3323
3385
  }
3324
3386
  }
@@ -3340,19 +3402,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3340
3402
  if (!this.browser) {
3341
3403
  var matched = this.resolveUserAgent();
3342
3404
  this.browser = {};
3343
-
3344
3405
  if (matched.browser) {
3345
3406
  this.browser[matched.browser] = true;
3346
3407
  this.browser['version'] = matched.version;
3347
3408
  }
3348
-
3349
3409
  if (this.browser['chrome']) {
3350
3410
  this.browser['webkit'] = true;
3351
3411
  } else if (this.browser['webkit']) {
3352
3412
  this.browser['safari'] = true;
3353
3413
  }
3354
3414
  }
3355
-
3356
3415
  return this.browser;
3357
3416
  }
3358
3417
  }, {
@@ -3380,10 +3439,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3380
3439
  value: function getFocusableElements(element) {
3381
3440
  var focusableElements = DomHandler.find(element, "button:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n [href][clientHeight][clientWidth]:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n input:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), select:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n textarea:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), [tabIndex]:not([tabIndex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n [contenteditable]:not([tabIndex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden])");
3382
3441
  var visibleFocusableElements = [];
3383
-
3384
3442
  var _iterator3 = _createForOfIteratorHelper(focusableElements),
3385
- _step3;
3386
-
3443
+ _step3;
3387
3444
  try {
3388
3445
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
3389
3446
  var focusableElement = _step3.value;
@@ -3394,7 +3451,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3394
3451
  } finally {
3395
3452
  _iterator3.f();
3396
3453
  }
3397
-
3398
3454
  return visibleFocusableElements;
3399
3455
  }
3400
3456
  }, {
@@ -3437,55 +3493,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3437
3493
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
3438
3494
  }
3439
3495
  }]);
3440
-
3441
3496
  return DomHandler;
3442
3497
  }();
3443
3498
 
3444
-
3445
3499
  // CONCATENATED MODULE: ./src/components/ripple/Ripple.js
3446
3500
 
3447
-
3448
3501
  function bindEvents(el) {
3449
3502
  el.addEventListener('mousedown', onMouseDown);
3450
3503
  }
3451
-
3452
3504
  function unbindEvents(el) {
3453
3505
  el.removeEventListener('mousedown', onMouseDown);
3454
3506
  }
3455
-
3456
3507
  function create(el) {
3457
3508
  var ink = document.createElement('span');
3458
3509
  ink.className = 'p-ink';
3459
3510
  el.appendChild(ink);
3460
3511
  ink.addEventListener('animationend', onAnimationEnd);
3461
3512
  }
3462
-
3463
3513
  function remove(el) {
3464
3514
  var ink = getInk(el);
3465
-
3466
3515
  if (ink) {
3467
3516
  unbindEvents(el);
3468
3517
  ink.removeEventListener('animationend', onAnimationEnd);
3469
3518
  ink.remove();
3470
3519
  }
3471
3520
  }
3472
-
3473
3521
  function onMouseDown(event) {
3474
3522
  var target = event.currentTarget;
3475
3523
  var ink = getInk(target);
3476
-
3477
3524
  if (!ink || getComputedStyle(ink, null).display === 'none') {
3478
3525
  return;
3479
3526
  }
3480
-
3481
3527
  DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
3482
-
3483
3528
  if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
3484
3529
  var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
3485
3530
  ink.style.height = d + 'px';
3486
3531
  ink.style.width = d + 'px';
3487
3532
  }
3488
-
3489
3533
  var offset = DomHandler_DomHandler.getOffset(target);
3490
3534
  var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
3491
3535
  var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
@@ -3493,21 +3537,17 @@ function onMouseDown(event) {
3493
3537
  ink.style.left = x + 'px';
3494
3538
  DomHandler_DomHandler.addClass(ink, 'p-ink-active');
3495
3539
  }
3496
-
3497
3540
  function onAnimationEnd(event) {
3498
3541
  DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
3499
3542
  }
3500
-
3501
3543
  function getInk(el) {
3502
3544
  for (var i = 0; i < el.children.length; i++) {
3503
3545
  if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
3504
3546
  return el.children[i];
3505
3547
  }
3506
3548
  }
3507
-
3508
3549
  return null;
3509
3550
  }
3510
-
3511
3551
  var Ripple = {
3512
3552
  inserted: function inserted(el, binding, vnode) {
3513
3553
  if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
@@ -3521,32 +3561,6 @@ var Ripple = {
3521
3561
  };
3522
3562
  /* harmony default export */ var ripple_Ripple = (Ripple);
3523
3563
  // 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/menubar/MenubarSub.vue?vue&type=script&lang=js&
3524
- //
3525
- //
3526
- //
3527
- //
3528
- //
3529
- //
3530
- //
3531
- //
3532
- //
3533
- //
3534
- //
3535
- //
3536
- //
3537
- //
3538
- //
3539
- //
3540
- //
3541
- //
3542
- //
3543
- //
3544
- //
3545
- //
3546
- //
3547
- //
3548
- //
3549
- //
3550
3564
 
3551
3565
 
3552
3566
  /* harmony default export */ var MenubarSubvue_type_script_lang_js_ = ({
@@ -3604,7 +3618,6 @@ var Ripple = {
3604
3618
  event.preventDefault();
3605
3619
  return;
3606
3620
  }
3607
-
3608
3621
  if (this.root) {
3609
3622
  if (this.activeItem || this.popup) {
3610
3623
  this.activeItem = item;
@@ -3618,26 +3631,21 @@ var Ripple = {
3618
3631
  event.preventDefault();
3619
3632
  return;
3620
3633
  }
3621
-
3622
3634
  if (!item.url && !item.to) {
3623
3635
  event.preventDefault();
3624
3636
  }
3625
-
3626
3637
  if (item.command) {
3627
3638
  item.command({
3628
3639
  originalEvent: event,
3629
3640
  item: item
3630
3641
  });
3631
3642
  }
3632
-
3633
3643
  if (item.items) {
3634
3644
  if (this.activeItem && item === this.activeItem) this.activeItem = null;else this.activeItem = item;
3635
3645
  }
3636
-
3637
3646
  if (!item.items) {
3638
3647
  this.onLeafClick();
3639
3648
  }
3640
-
3641
3649
  if (item.to && navigate) {
3642
3650
  navigate(event);
3643
3651
  }
@@ -3648,7 +3656,6 @@ var Ripple = {
3648
3656
  },
3649
3657
  onItemKeyDown: function onItemKeyDown(event, item) {
3650
3658
  var listItem = event.currentTarget.parentElement;
3651
-
3652
3659
  switch (event.which) {
3653
3660
  //down
3654
3661
  case 40:
@@ -3659,24 +3666,21 @@ var Ripple = {
3659
3666
  } else {
3660
3667
  this.navigateToNextItem(listItem);
3661
3668
  }
3662
-
3663
3669
  event.preventDefault();
3664
3670
  break;
3665
- //up
3666
3671
 
3672
+ //up
3667
3673
  case 38:
3668
3674
  if (!this.root) {
3669
3675
  this.navigateToPrevItem(listItem);
3670
3676
  }
3671
-
3672
3677
  event.preventDefault();
3673
3678
  break;
3674
- //right
3675
3679
 
3680
+ //right
3676
3681
  case 39:
3677
3682
  if (this.root) {
3678
3683
  var nextItem = this.findNextItem(listItem);
3679
-
3680
3684
  if (nextItem) {
3681
3685
  nextItem.children[0].focus();
3682
3686
  }
@@ -3685,23 +3689,19 @@ var Ripple = {
3685
3689
  this.expandSubmenu(item, listItem);
3686
3690
  }
3687
3691
  }
3688
-
3689
3692
  event.preventDefault();
3690
3693
  break;
3691
- //left
3692
3694
 
3695
+ //left
3693
3696
  case 37:
3694
3697
  if (this.root) {
3695
3698
  this.navigateToPrevItem(listItem);
3696
3699
  }
3697
-
3698
3700
  event.preventDefault();
3699
3701
  break;
3700
-
3701
3702
  default:
3702
3703
  break;
3703
3704
  }
3704
-
3705
3705
  this.$emit('keydown-item', {
3706
3706
  originalEvent: event,
3707
3707
  element: listItem
@@ -3740,14 +3740,12 @@ var Ripple = {
3740
3740
  },
3741
3741
  navigateToNextItem: function navigateToNextItem(listItem) {
3742
3742
  var nextItem = this.findNextItem(listItem);
3743
-
3744
3743
  if (nextItem) {
3745
3744
  nextItem.children[0].focus();
3746
3745
  }
3747
3746
  },
3748
3747
  navigateToPrevItem: function navigateToPrevItem(listItem) {
3749
3748
  var prevItem = this.findPrevItem(listItem);
3750
-
3751
3749
  if (prevItem) {
3752
3750
  prevItem.children[0].focus();
3753
3751
  }
@@ -3766,16 +3764,13 @@ var Ripple = {
3766
3764
  },
3767
3765
  bindDocumentClickListener: function bindDocumentClickListener() {
3768
3766
  var _this = this;
3769
-
3770
3767
  if (!this.documentClickListener) {
3771
3768
  this.documentClickListener = function (event) {
3772
3769
  if (_this.$el && !_this.$el.contains(event.target)) {
3773
3770
  _this.activeItem = null;
3774
-
3775
3771
  _this.unbindDocumentClickListener();
3776
3772
  }
3777
3773
  };
3778
-
3779
3774
  document.addEventListener('click', this.documentClickListener);
3780
3775
  }
3781
3776
  },
@@ -3822,20 +3817,19 @@ var Ripple = {
3822
3817
  // This module is a runtime utility for cleaner component module output and will
3823
3818
  // be included in the final webpack user bundle.
3824
3819
 
3825
- function normalizeComponent (
3820
+ function normalizeComponent(
3826
3821
  scriptExports,
3827
3822
  render,
3828
3823
  staticRenderFns,
3829
3824
  functionalTemplate,
3830
3825
  injectStyles,
3831
3826
  scopeId,
3832
- moduleIdentifier, /* server only */
3827
+ moduleIdentifier /* server only */,
3833
3828
  shadowMode /* vue-cli only */
3834
3829
  ) {
3835
3830
  // Vue.extend constructor export interop
3836
- var options = typeof scriptExports === 'function'
3837
- ? scriptExports.options
3838
- : scriptExports
3831
+ var options =
3832
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
3839
3833
 
3840
3834
  // render functions
3841
3835
  if (render) {
@@ -3855,7 +3849,8 @@ function normalizeComponent (
3855
3849
  }
3856
3850
 
3857
3851
  var hook
3858
- if (moduleIdentifier) { // server build
3852
+ if (moduleIdentifier) {
3853
+ // server build
3859
3854
  hook = function (context) {
3860
3855
  // 2.3 injection
3861
3856
  context =
@@ -3881,11 +3876,11 @@ function normalizeComponent (
3881
3876
  } else if (injectStyles) {
3882
3877
  hook = shadowMode
3883
3878
  ? function () {
3884
- injectStyles.call(
3885
- this,
3886
- (options.functional ? this.parent : this).$root.$options.shadowRoot
3887
- )
3888
- }
3879
+ injectStyles.call(
3880
+ this,
3881
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
3882
+ )
3883
+ }
3889
3884
  : injectStyles
3890
3885
  }
3891
3886
 
@@ -3896,16 +3891,14 @@ function normalizeComponent (
3896
3891
  options._injectStyles = hook
3897
3892
  // register for functional component in vue file
3898
3893
  var originalRender = options.render
3899
- options.render = function renderWithStyleInjection (h, context) {
3894
+ options.render = function renderWithStyleInjection(h, context) {
3900
3895
  hook.call(context)
3901
3896
  return originalRender(h, context)
3902
3897
  }
3903
3898
  } else {
3904
3899
  // inject component registration as beforeCreate hook
3905
3900
  var existing = options.beforeCreate
3906
- options.beforeCreate = existing
3907
- ? [].concat(existing, hook)
3908
- : [hook]
3901
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
3909
3902
  }
3910
3903
  }
3911
3904