primevue 2.10.0 → 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 (331) hide show
  1. package/README.md +150 -3
  2. package/accordion/accordion.common.js +2 -7
  3. package/accordion/accordion.umd.js +2 -7
  4. package/accordiontab/accordiontab.common.js +15 -68
  5. package/accordiontab/accordiontab.umd.js +15 -68
  6. package/api/Api.d.ts +24 -2
  7. package/api/Api.js +0 -6
  8. package/api/FilterService.js +2 -55
  9. package/api/PrimeIcons.js +24 -2
  10. package/api/api.common.js +35 -98
  11. package/api/api.umd.js +35 -98
  12. package/api/api.umd.min.js +1 -1
  13. package/api/filterservice.common.js +11 -96
  14. package/api/filterservice.umd.js +11 -96
  15. package/api/primeicons.common.js +24 -2
  16. package/api/primeicons.umd.js +24 -2
  17. package/api/primeicons.umd.min.js +1 -1
  18. package/autocomplete/autocomplete.common.js +33 -189
  19. package/autocomplete/autocomplete.umd.js +33 -189
  20. package/avatar/avatar.common.js +2 -4
  21. package/avatar/avatar.umd.js +2 -4
  22. package/avatargroup/avatargroup.common.js +2 -4
  23. package/avatargroup/avatargroup.umd.js +2 -4
  24. package/badge/badge.common.js +2 -4
  25. package/badge/badge.umd.js +2 -4
  26. package/badgedirective/BadgeDirective.js +0 -13
  27. package/badgedirective/badgedirective.common.js +13 -71
  28. package/badgedirective/badgedirective.umd.js +13 -71
  29. package/blockui/blockui.common.js +15 -73
  30. package/blockui/blockui.umd.js +15 -73
  31. package/breadcrumb/breadcrumb.common.js +7 -12
  32. package/breadcrumb/breadcrumb.umd.js +7 -12
  33. package/breadcrumb/breadcrumbitem.common.js +5 -8
  34. package/breadcrumb/breadcrumbitem.umd.js +5 -8
  35. package/button/button.common.js +15 -81
  36. package/button/button.umd.js +15 -81
  37. package/calendar/calendar.common.js +109 -498
  38. package/calendar/calendar.umd.js +109 -498
  39. package/card/card.common.js +2 -4
  40. package/card/card.umd.js +2 -4
  41. package/carousel/carousel.common.js +15 -123
  42. package/carousel/carousel.umd.js +15 -123
  43. package/cascadeselect/cascadeselect.common.js +29 -187
  44. package/cascadeselect/cascadeselect.umd.js +29 -187
  45. package/cascadeselect/cascadeselectsub.common.js +25 -149
  46. package/cascadeselect/cascadeselectsub.umd.js +25 -149
  47. package/cascadeselect/demo.html +4 -3
  48. package/chart/chart.common.js +2 -9
  49. package/chart/chart.umd.js +2 -9
  50. package/checkbox/checkbox.common.js +11 -61
  51. package/checkbox/checkbox.umd.js +11 -61
  52. package/chip/chip.common.js +2 -4
  53. package/chip/chip.umd.js +2 -4
  54. package/chips/chips.common.js +3 -20
  55. package/chips/chips.umd.js +3 -20
  56. package/colorpicker/colorpicker.common.js +16 -111
  57. package/colorpicker/colorpicker.umd.js +16 -111
  58. package/columngroup/columngroup.common.js +2 -4
  59. package/columngroup/columngroup.umd.js +2 -4
  60. package/config/PrimeVue.js +0 -5
  61. package/config/primevue.common.js +35 -102
  62. package/config/primevue.umd.js +35 -102
  63. package/config/primevue.umd.min.js +1 -1
  64. package/confirmationeventbus/ConfirmationEventBus.js +0 -4
  65. package/confirmationeventbus/confirmationeventbus.common.js +0 -2
  66. package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
  67. package/confirmationservice/ConfirmationService.js +0 -3
  68. package/confirmationservice/confirmationservice.common.js +0 -2
  69. package/confirmationservice/confirmationservice.umd.js +0 -2
  70. package/confirmdialog/confirmdialog.common.js +19 -107
  71. package/confirmdialog/confirmdialog.umd.js +19 -107
  72. package/confirmpopup/confirmpopup.common.js +17 -109
  73. package/confirmpopup/confirmpopup.umd.js +17 -109
  74. package/contextmenu/contextmenu.common.js +28 -111
  75. package/contextmenu/contextmenu.umd.js +28 -111
  76. package/contextmenu/contextmenusub.common.js +18 -90
  77. package/contextmenu/contextmenusub.umd.js +18 -90
  78. package/datatable/bodycell.common.js +28 -164
  79. package/datatable/bodycell.umd.js +28 -164
  80. package/datatable/columnfilter.common.js +35 -247
  81. package/datatable/columnfilter.umd.js +35 -247
  82. package/datatable/datatable.common.js +165 -855
  83. package/datatable/datatable.umd.js +165 -855
  84. package/datatable/datatable.umd.min.js +1 -1
  85. package/datatable/demo.html +3 -5
  86. package/datatable/footercell.common.js +24 -119
  87. package/datatable/footercell.umd.js +24 -119
  88. package/datatable/headercell.common.js +39 -266
  89. package/datatable/headercell.umd.js +39 -266
  90. package/datatable/headercheckbox.common.js +2 -4
  91. package/datatable/headercheckbox.umd.js +2 -4
  92. package/datatable/rowcheckbox.common.js +2 -4
  93. package/datatable/rowcheckbox.umd.js +2 -4
  94. package/datatable/rowradiobutton.common.js +2 -4
  95. package/datatable/rowradiobutton.umd.js +2 -4
  96. package/datatable/tablebody.common.js +30 -191
  97. package/datatable/tablebody.umd.js +30 -191
  98. package/datatable/tablefooter.common.js +27 -135
  99. package/datatable/tablefooter.umd.js +27 -135
  100. package/datatable/tableheader.common.js +41 -273
  101. package/datatable/tableheader.umd.js +41 -273
  102. package/datatable/tableloadingbody.common.js +2 -4
  103. package/datatable/tableloadingbody.umd.js +2 -4
  104. package/dataview/dataview.common.js +121 -407
  105. package/dataview/dataview.umd.js +121 -407
  106. package/dataview/dataview.umd.min.js +1 -1
  107. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +2 -4
  108. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +2 -4
  109. package/deferredcontent/deferredcontent.common.js +2 -7
  110. package/deferredcontent/deferredcontent.umd.js +2 -7
  111. package/dialog/dialog.common.js +15 -93
  112. package/dialog/dialog.umd.js +15 -93
  113. package/divider/divider.common.js +2 -4
  114. package/divider/divider.umd.js +2 -4
  115. package/dock/dock.common.js +7 -14
  116. package/dock/dock.umd.js +7 -14
  117. package/dock/docksub.common.js +5 -9
  118. package/dock/docksub.umd.js +5 -9
  119. package/dropdown/dropdown.common.js +31 -188
  120. package/dropdown/dropdown.umd.js +31 -188
  121. package/editor/editor.common.js +8 -21
  122. package/editor/editor.umd.js +8 -21
  123. package/fieldset/fieldset.common.js +15 -81
  124. package/fieldset/fieldset.umd.js +15 -81
  125. package/fileupload/fileupload.common.js +28 -142
  126. package/fileupload/fileupload.umd.js +28 -142
  127. package/fullcalendar/fullcalendar.common.js +10 -17
  128. package/fullcalendar/fullcalendar.umd.js +10 -17
  129. package/fullcalendar/fullcalendar.umd.min.js +3 -3
  130. package/galleria/galleria.common.js +25 -147
  131. package/galleria/galleria.umd.js +25 -147
  132. package/galleria/galleriacontent.common.js +23 -137
  133. package/galleria/galleriacontent.umd.js +23 -137
  134. package/galleria/galleriaitem.common.js +19 -93
  135. package/galleria/galleriaitem.umd.js +19 -93
  136. package/galleria/galleriaitemslot.common.js +4 -10
  137. package/galleria/galleriaitemslot.umd.js +4 -10
  138. package/galleria/galleriathumbnails.common.js +19 -125
  139. package/galleria/galleriathumbnails.umd.js +19 -125
  140. package/imagepreview/imagepreview.common.js +16 -71
  141. package/imagepreview/imagepreview.umd.js +16 -71
  142. package/inlinemessage/inlinemessage.common.js +2 -5
  143. package/inlinemessage/inlinemessage.umd.js +2 -5
  144. package/inplace/inplace.common.js +17 -85
  145. package/inplace/inplace.umd.js +17 -85
  146. package/inputmask/inputmask.common.js +31 -155
  147. package/inputmask/inputmask.umd.js +31 -155
  148. package/inputnumber/InputNumber.vue +2 -2
  149. package/inputnumber/inputnumber.common.js +73 -233
  150. package/inputnumber/inputnumber.umd.js +73 -233
  151. package/inputnumber/inputnumber.umd.min.js +1 -1
  152. package/inputswitch/inputswitch.common.js +2 -5
  153. package/inputswitch/inputswitch.umd.js +2 -5
  154. package/inputtext/inputtext.common.js +2 -9
  155. package/inputtext/inputtext.umd.js +2 -9
  156. package/knob/knob.common.js +4 -5
  157. package/knob/knob.umd.js +4 -5
  158. package/listbox/listbox.common.js +27 -156
  159. package/listbox/listbox.umd.js +27 -156
  160. package/megamenu/megamenu.common.js +24 -111
  161. package/megamenu/megamenu.umd.js +24 -111
  162. package/menu/menu.common.js +20 -107
  163. package/menu/menu.umd.js +20 -107
  164. package/menu/menuitem.common.js +18 -84
  165. package/menu/menuitem.umd.js +18 -84
  166. package/menubar/demo.html +4 -3
  167. package/menubar/menubar.common.js +23 -112
  168. package/menubar/menubar.umd.js +23 -112
  169. package/menubar/menubarsub.common.js +21 -106
  170. package/menubar/menubarsub.umd.js +21 -106
  171. package/message/message.common.js +15 -82
  172. package/message/message.umd.js +15 -82
  173. package/multiselect/multiselect.common.js +32 -189
  174. package/multiselect/multiselect.umd.js +32 -189
  175. package/orderlist/orderlist.common.js +28 -162
  176. package/orderlist/orderlist.umd.js +28 -162
  177. package/organizationchart/organizationchart.common.js +17 -82
  178. package/organizationchart/organizationchart.umd.js +17 -82
  179. package/organizationchart/organizationchartnode.common.js +15 -68
  180. package/organizationchart/organizationchartnode.umd.js +15 -68
  181. package/overlayeventbus/OverlayEventBus.js +0 -4
  182. package/overlayeventbus/overlayeventbus.common.js +0 -2
  183. package/overlayeventbus/overlayeventbus.umd.js +0 -2
  184. package/overlaypanel/overlaypanel.common.js +15 -104
  185. package/overlaypanel/overlaypanel.umd.js +15 -104
  186. package/package.json +2 -2
  187. package/paginator/currentpagereport.common.js +2 -4
  188. package/paginator/currentpagereport.umd.js +2 -4
  189. package/paginator/firstpagelink.common.js +15 -81
  190. package/paginator/firstpagelink.umd.js +15 -81
  191. package/paginator/jumptopagedropdown.common.js +33 -194
  192. package/paginator/jumptopagedropdown.umd.js +33 -194
  193. package/paginator/jumptopageinput.common.js +79 -241
  194. package/paginator/jumptopageinput.umd.js +79 -241
  195. package/paginator/jumptopageinput.umd.min.js +1 -1
  196. package/paginator/lastpagelink.common.js +15 -81
  197. package/paginator/lastpagelink.umd.js +15 -81
  198. package/paginator/nextpagelink.common.js +15 -81
  199. package/paginator/nextpagelink.umd.js +15 -81
  200. package/paginator/pagelinks.common.js +15 -81
  201. package/paginator/pagelinks.umd.js +15 -81
  202. package/paginator/paginator.common.js +119 -399
  203. package/paginator/paginator.umd.js +119 -399
  204. package/paginator/paginator.umd.min.js +1 -1
  205. package/paginator/prevpagelink.common.js +15 -81
  206. package/paginator/prevpagelink.umd.js +15 -81
  207. package/paginator/rowsperpagedropdown.common.js +33 -194
  208. package/paginator/rowsperpagedropdown.umd.js +33 -194
  209. package/panel/panel.common.js +15 -81
  210. package/panel/panel.umd.js +15 -81
  211. package/panelmenu/panelmenu.common.js +10 -22
  212. package/panelmenu/panelmenu.umd.js +10 -22
  213. package/panelmenu/panelmenusub.common.js +5 -11
  214. package/panelmenu/panelmenusub.umd.js +5 -11
  215. package/password/Password.vue +38 -11
  216. package/password/password.common.js +117 -179
  217. package/password/password.umd.js +117 -179
  218. package/password/password.umd.min.js +1 -1
  219. package/picklist/picklist.common.js +28 -194
  220. package/picklist/picklist.umd.js +28 -194
  221. package/progressbar/progressbar.common.js +2 -4
  222. package/progressbar/progressbar.umd.js +2 -4
  223. package/progressspinner/progressspinner.common.js +2 -5
  224. package/progressspinner/progressspinner.umd.js +2 -5
  225. package/radiobutton/radiobutton.common.js +11 -57
  226. package/radiobutton/radiobutton.umd.js +11 -57
  227. package/rating/rating.common.js +2 -4
  228. package/rating/rating.umd.js +2 -4
  229. package/ripple/Ripple.js +0 -18
  230. package/ripple/ripple.common.js +13 -77
  231. package/ripple/ripple.umd.js +13 -77
  232. package/row/row.common.js +2 -4
  233. package/row/row.umd.js +2 -4
  234. package/scrollpanel/scrollpanel.common.js +18 -83
  235. package/scrollpanel/scrollpanel.umd.js +18 -83
  236. package/scrolltop/scrolltop.common.js +15 -71
  237. package/scrolltop/scrolltop.umd.js +15 -71
  238. package/selectbutton/selectbutton.common.js +25 -143
  239. package/selectbutton/selectbutton.umd.js +25 -143
  240. package/sidebar/Sidebar.d.ts +1 -0
  241. package/sidebar/Sidebar.vue +3 -0
  242. package/sidebar/sidebar.common.js +63 -137
  243. package/sidebar/sidebar.umd.js +63 -137
  244. package/sidebar/sidebar.umd.min.js +1 -1
  245. package/skeleton/skeleton.common.js +2 -4
  246. package/skeleton/skeleton.umd.js +2 -4
  247. package/slider/Slider.vue +1 -1
  248. package/slider/slider.common.js +64 -139
  249. package/slider/slider.umd.js +64 -139
  250. package/slider/slider.umd.min.js +1 -1
  251. package/speeddial/SpeedDial.vue +2 -2
  252. package/speeddial/speeddial.common.js +63 -152
  253. package/speeddial/speeddial.umd.js +63 -152
  254. package/speeddial/speeddial.umd.min.js +1 -1
  255. package/splitbutton/splitbutton.common.js +24 -115
  256. package/splitbutton/splitbutton.umd.js +24 -115
  257. package/splitter/splitter.common.js +13 -84
  258. package/splitter/splitter.umd.js +13 -84
  259. package/steps/steps.common.js +5 -9
  260. package/steps/steps.umd.js +5 -9
  261. package/styleclass/StyleClass.js +0 -43
  262. package/styleclass/styleclass.common.js +13 -99
  263. package/styleclass/styleclass.umd.js +13 -99
  264. package/tabmenu/tabmenu.common.js +15 -86
  265. package/tabmenu/tabmenu.umd.js +15 -86
  266. package/tabpanel/tabpanel.common.js +2 -5
  267. package/tabpanel/tabpanel.umd.js +2 -5
  268. package/tabview/tabview.common.js +27 -134
  269. package/tabview/tabview.umd.js +27 -134
  270. package/tag/tag.common.js +2 -4
  271. package/tag/tag.umd.js +2 -4
  272. package/terminal/terminal.common.js +2 -4
  273. package/terminal/terminal.umd.js +2 -4
  274. package/terminalservice/TerminalService.js +0 -3
  275. package/textarea/Textarea.vue +24 -1
  276. package/textarea/textarea.common.js +2045 -60
  277. package/textarea/textarea.umd.js +2045 -60
  278. package/textarea/textarea.umd.min.js +1 -1
  279. package/tieredmenu/tieredmenu.common.js +22 -124
  280. package/tieredmenu/tieredmenu.umd.js +22 -124
  281. package/tieredmenu/tieredmenusub.common.js +20 -102
  282. package/tieredmenu/tieredmenusub.umd.js +20 -102
  283. package/timeline/timeline.common.js +11 -56
  284. package/timeline/timeline.umd.js +11 -56
  285. package/toast/toast.common.js +17 -97
  286. package/toast/toast.umd.js +17 -97
  287. package/toast/toastmessage.common.js +15 -82
  288. package/toast/toastmessage.umd.js +15 -82
  289. package/toastservice/ToastEventBus.js +0 -3
  290. package/toastservice/ToastService.js +0 -3
  291. package/togglebutton/togglebutton.common.js +15 -81
  292. package/togglebutton/togglebutton.umd.js +15 -81
  293. package/toolbar/toolbar.common.js +2 -4
  294. package/toolbar/toolbar.umd.js +2 -4
  295. package/tooltip/Tooltip.js +4 -84
  296. package/tooltip/tooltip.common.js +17 -133
  297. package/tooltip/tooltip.umd.js +17 -133
  298. package/tree/tree.common.js +36 -211
  299. package/tree/tree.umd.js +36 -211
  300. package/tree/treenode.common.js +20 -117
  301. package/tree/treenode.umd.js +20 -117
  302. package/treetable/footercell.common.js +24 -119
  303. package/treetable/footercell.umd.js +24 -119
  304. package/treetable/headercell.common.js +24 -127
  305. package/treetable/headercell.umd.js +24 -127
  306. package/treetable/treetable.common.js +149 -625
  307. package/treetable/treetable.umd.js +149 -625
  308. package/treetable/treetable.umd.min.js +1 -1
  309. package/treetable/treetablerow.common.js +29 -159
  310. package/treetable/treetablerow.umd.js +29 -159
  311. package/treetable/treetablerowloader.common.js +31 -179
  312. package/treetable/treetablerowloader.umd.js +31 -179
  313. package/tristatecheckbox/tristatecheckbox.common.js +2 -12
  314. package/tristatecheckbox/tristatecheckbox.umd.js +2 -12
  315. package/utils/ConnectedOverlayScrollHandler.js +0 -12
  316. package/utils/DomHandler.js +13 -61
  317. package/utils/EventBus.js +0 -3
  318. package/utils/ObjectUtils.js +9 -51
  319. package/utils/UniqueComponentId.js +0 -1
  320. package/utils/Utils.js +0 -6
  321. package/utils/connectedoverlayscrollhandler.common.js +13 -70
  322. package/utils/connectedoverlayscrollhandler.umd.js +13 -70
  323. package/utils/domhandler.common.js +13 -63
  324. package/utils/domhandler.umd.js +13 -63
  325. package/utils/eventbus.common.js +0 -2
  326. package/utils/eventbus.umd.js +0 -2
  327. package/utils/objectutils.common.js +9 -52
  328. package/utils/objectutils.umd.js +9 -52
  329. package/utils/utils.common.js +22 -119
  330. package/utils/utils.umd.js +22 -119
  331. package/web-types.json +8 -1
@@ -3173,11 +3173,10 @@ if (typeof window !== 'undefined') {
3173
3173
  // Indicate to webpack that this file can be concatenated
3174
3174
  /* harmony default export */ var setPublicPath = (null);
3175
3175
 
3176
- // 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/megamenu/MegaMenu.vue?vue&type=template&id=1f5a8e2a&
3176
+ // 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/megamenu/MegaMenu.vue?vue&type=template&id=1f5a8e2a&
3177
3177
  var render = function render() {
3178
3178
  var _vm = this,
3179
- _c = _vm._self._c;
3180
-
3179
+ _c = _vm._self._c;
3181
3180
  return _c('div', {
3182
3181
  class: _vm.containerClass
3183
3182
  }, [_vm.$slots.start ? _c('div', {
@@ -3209,9 +3208,9 @@ var render = function render() {
3209
3208
  key: "default",
3210
3209
  fn: function fn(_ref) {
3211
3210
  var navigate = _ref.navigate,
3212
- href = _ref.href,
3213
- isActive = _ref.isActive,
3214
- isExactActive = _ref.isExactActive;
3211
+ href = _ref.href,
3212
+ isActive = _ref.isActive,
3213
+ isExactActive = _ref.isExactActive;
3215
3214
  return [_c('a', {
3216
3215
  directives: [{
3217
3216
  name: "ripple",
@@ -3306,9 +3305,9 @@ var render = function render() {
3306
3305
  key: "default",
3307
3306
  fn: function fn(_ref2) {
3308
3307
  var navigate = _ref2.navigate,
3309
- href = _ref2.href,
3310
- isActive = _ref2.isActive,
3311
- isExactActive = _ref2.isExactActive;
3308
+ href = _ref2.href,
3309
+ isActive = _ref2.isActive,
3310
+ isExactActive = _ref2.isExactActive;
3312
3311
  return [_c('a', {
3313
3312
  directives: [{
3314
3313
  name: "ripple",
@@ -3372,7 +3371,6 @@ var render = function render() {
3372
3371
  staticClass: "p-megamenu-end"
3373
3372
  }, [_vm._t("end")], 2) : _vm._e()]);
3374
3373
  };
3375
-
3376
3374
  var staticRenderFns = [];
3377
3375
 
3378
3376
  // CONCATENATED MODULE: ./src/components/megamenu/MegaMenu.vue?vue&type=template&id=1f5a8e2a&
@@ -3419,26 +3417,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
3419
3417
 
3420
3418
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
3421
3419
 
3422
-
3423
3420
  function _defineProperties(target, props) {
3424
3421
  for (var i = 0; i < props.length; i++) {
3425
3422
  var descriptor = props[i];
3426
3423
  descriptor.enumerable = descriptor.enumerable || false;
3427
3424
  descriptor.configurable = true;
3428
3425
  if ("value" in descriptor) descriptor.writable = true;
3429
-
3430
3426
  define_property_default()(target, descriptor.key, descriptor);
3431
3427
  }
3432
3428
  }
3433
-
3434
3429
  function _createClass(Constructor, protoProps, staticProps) {
3435
3430
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
3436
3431
  if (staticProps) _defineProperties(Constructor, staticProps);
3437
-
3438
3432
  define_property_default()(Constructor, "prototype", {
3439
3433
  writable: false
3440
3434
  });
3441
-
3442
3435
  return Constructor;
3443
3436
  }
3444
3437
  // CONCATENATED MODULE: ./src/components/utils/DomHandler.js
@@ -3454,18 +3447,13 @@ function _createClass(Constructor, protoProps, staticProps) {
3454
3447
 
3455
3448
 
3456
3449
 
3457
-
3458
3450
  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; } } }; }
3459
-
3460
3451
  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); }
3461
-
3462
3452
  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; }
3463
-
3464
3453
  var DomHandler_DomHandler = /*#__PURE__*/function () {
3465
3454
  function DomHandler() {
3466
3455
  _classCallCheck(this, DomHandler);
3467
3456
  }
3468
-
3469
3457
  _createClass(DomHandler, null, [{
3470
3458
  key: "innerWidth",
3471
3459
  value: function innerWidth(el) {
@@ -3499,12 +3487,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3499
3487
  value: function getOuterWidth(el, margin) {
3500
3488
  if (el) {
3501
3489
  var width = el.offsetWidth;
3502
-
3503
3490
  if (margin) {
3504
3491
  var style = getComputedStyle(el);
3505
3492
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
3506
3493
  }
3507
-
3508
3494
  return width;
3509
3495
  } else {
3510
3496
  return 0;
@@ -3515,12 +3501,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3515
3501
  value: function getOuterHeight(el, margin) {
3516
3502
  if (el) {
3517
3503
  var height = el.offsetHeight;
3518
-
3519
3504
  if (margin) {
3520
3505
  var style = getComputedStyle(el);
3521
3506
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
3522
3507
  }
3523
-
3524
3508
  return height;
3525
3509
  } else {
3526
3510
  return 0;
@@ -3531,12 +3515,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3531
3515
  value: function getClientHeight(el, margin) {
3532
3516
  if (el) {
3533
3517
  var height = el.clientHeight;
3534
-
3535
3518
  if (margin) {
3536
3519
  var style = getComputedStyle(el);
3537
3520
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
3538
3521
  }
3539
-
3540
3522
  return height;
3541
3523
  } else {
3542
3524
  return 0;
@@ -3546,11 +3528,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3546
3528
  key: "getViewport",
3547
3529
  value: function getViewport() {
3548
3530
  var win = window,
3549
- d = document,
3550
- e = d.documentElement,
3551
- g = d.getElementsByTagName('body')[0],
3552
- w = win.innerWidth || e.clientWidth || g.clientWidth,
3553
- h = win.innerHeight || e.clientHeight || g.clientHeight;
3531
+ d = document,
3532
+ e = d.documentElement,
3533
+ g = d.getElementsByTagName('body')[0],
3534
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
3535
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
3554
3536
  return {
3555
3537
  width: w,
3556
3538
  height: h
@@ -3581,12 +3563,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3581
3563
  value: function index(element) {
3582
3564
  var children = element.parentNode.childNodes;
3583
3565
  var num = 0;
3584
-
3585
3566
  for (var i = 0; i < children.length; i++) {
3586
3567
  if (children[i] === element) return num;
3587
3568
  if (children[i].nodeType === 1) num++;
3588
3569
  }
3589
-
3590
3570
  return -1;
3591
3571
  }
3592
3572
  }, {
@@ -3594,13 +3574,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3594
3574
  value: function addMultipleClasses(element, className) {
3595
3575
  if (element.classList) {
3596
3576
  var styles = className.split(' ');
3597
-
3598
3577
  for (var i = 0; i < styles.length; i++) {
3599
3578
  element.classList.add(styles[i]);
3600
3579
  }
3601
3580
  } else {
3602
3581
  var _styles = className.split(' ');
3603
-
3604
3582
  for (var _i = 0; _i < _styles.length; _i++) {
3605
3583
  element.className += ' ' + _styles[_i];
3606
3584
  }
@@ -3622,7 +3600,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3622
3600
  if (element) {
3623
3601
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
3624
3602
  }
3625
-
3626
3603
  return false;
3627
3604
  }
3628
3605
  }, {
@@ -3667,11 +3644,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3667
3644
  var windowScrollLeft = this.getWindowScrollLeft();
3668
3645
  var viewport = this.getViewport();
3669
3646
  var top, left;
3670
-
3671
3647
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
3672
3648
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
3673
3649
  element.style.transformOrigin = 'bottom';
3674
-
3675
3650
  if (top < 0) {
3676
3651
  top = windowScrollTop;
3677
3652
  }
@@ -3679,7 +3654,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3679
3654
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
3680
3655
  element.style.transformOrigin = 'top';
3681
3656
  }
3682
-
3683
3657
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
3684
3658
  element.style.top = top + 'px';
3685
3659
  element.style.left = left + 'px';
@@ -3695,11 +3669,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3695
3669
  var targetOffset = target.getBoundingClientRect();
3696
3670
  var viewport = this.getViewport();
3697
3671
  var top, left;
3698
-
3699
3672
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
3700
3673
  top = -1 * elementDimensions.height;
3701
3674
  element.style.transformOrigin = 'bottom';
3702
-
3703
3675
  if (targetOffset.top + top < 0) {
3704
3676
  top = -1 * targetOffset.top;
3705
3677
  }
@@ -3707,7 +3679,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3707
3679
  top = targetHeight;
3708
3680
  element.style.transformOrigin = 'top';
3709
3681
  }
3710
-
3711
3682
  if (elementDimensions.width > viewport.width) {
3712
3683
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
3713
3684
  left = targetOffset.left * -1;
@@ -3718,7 +3689,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3718
3689
  // element fits on screen (align with target)
3719
3690
  left = 0;
3720
3691
  }
3721
-
3722
3692
  element.style.top = top + 'px';
3723
3693
  element.style.left = left + 'px';
3724
3694
  }
@@ -3732,35 +3702,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3732
3702
  key: "getScrollableParents",
3733
3703
  value: function getScrollableParents(element) {
3734
3704
  var scrollableParents = [];
3735
-
3736
3705
  if (element) {
3737
3706
  var parents = this.getParents(element);
3738
3707
  var overflowRegex = /(auto|scroll)/;
3739
-
3740
3708
  var overflowCheck = function overflowCheck(node) {
3741
3709
  var styleDeclaration = window['getComputedStyle'](node, null);
3742
3710
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
3743
3711
  };
3744
-
3745
3712
  var _iterator = _createForOfIteratorHelper(parents),
3746
- _step;
3747
-
3713
+ _step;
3748
3714
  try {
3749
3715
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
3750
3716
  var parent = _step.value;
3751
3717
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
3752
-
3753
3718
  if (scrollSelectors) {
3754
3719
  var selectors = scrollSelectors.split(',');
3755
-
3756
3720
  var _iterator2 = _createForOfIteratorHelper(selectors),
3757
- _step2;
3758
-
3721
+ _step2;
3759
3722
  try {
3760
3723
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
3761
3724
  var selector = _step2.value;
3762
3725
  var el = this.findSingle(parent, selector);
3763
-
3764
3726
  if (el && overflowCheck(el)) {
3765
3727
  scrollableParents.push(el);
3766
3728
  }
@@ -3778,7 +3740,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3778
3740
  _iterator.f();
3779
3741
  }
3780
3742
  }
3781
-
3782
3743
  return scrollableParents;
3783
3744
  }
3784
3745
  }, {
@@ -3819,34 +3780,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3819
3780
  element.style.opacity = 0;
3820
3781
  var last = +new Date();
3821
3782
  var opacity = 0;
3822
-
3823
3783
  var tick = function tick() {
3824
3784
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
3825
3785
  element.style.opacity = opacity;
3826
3786
  last = +new Date();
3827
-
3828
3787
  if (+opacity < 1) {
3829
3788
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
3830
3789
  }
3831
3790
  };
3832
-
3833
3791
  tick();
3834
3792
  }
3835
3793
  }, {
3836
3794
  key: "fadeOut",
3837
3795
  value: function fadeOut(element, ms) {
3838
3796
  var opacity = 1,
3839
- interval = 50,
3840
- duration = ms,
3841
- gap = interval / duration;
3797
+ interval = 50,
3798
+ duration = ms,
3799
+ gap = interval / duration;
3842
3800
  var fading = setInterval(function () {
3843
3801
  opacity -= gap;
3844
-
3845
3802
  if (opacity <= 0) {
3846
3803
  opacity = 0;
3847
3804
  clearInterval(fading);
3848
3805
  }
3849
-
3850
3806
  element.style.opacity = opacity;
3851
3807
  }, interval);
3852
3808
  }
@@ -3873,7 +3829,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3873
3829
  var scroll = container.scrollTop;
3874
3830
  var elementHeight = container.clientHeight;
3875
3831
  var itemHeight = this.getOuterHeight(item);
3876
-
3877
3832
  if (offset < 0) {
3878
3833
  container.scrollTop = scroll + offset;
3879
3834
  } else if (offset + itemHeight > elementHeight) {
@@ -3892,7 +3847,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3892
3847
  } else if (document['selection'] && document['selection'].empty) {
3893
3848
  try {
3894
3849
  document['selection'].empty();
3895
- } catch (error) {//ignore IE bug
3850
+ } catch (error) {
3851
+ //ignore IE bug
3896
3852
  }
3897
3853
  }
3898
3854
  }
@@ -3914,19 +3870,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3914
3870
  if (!this.browser) {
3915
3871
  var matched = this.resolveUserAgent();
3916
3872
  this.browser = {};
3917
-
3918
3873
  if (matched.browser) {
3919
3874
  this.browser[matched.browser] = true;
3920
3875
  this.browser['version'] = matched.version;
3921
3876
  }
3922
-
3923
3877
  if (this.browser['chrome']) {
3924
3878
  this.browser['webkit'] = true;
3925
3879
  } else if (this.browser['webkit']) {
3926
3880
  this.browser['safari'] = true;
3927
3881
  }
3928
3882
  }
3929
-
3930
3883
  return this.browser;
3931
3884
  }
3932
3885
  }, {
@@ -3954,10 +3907,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3954
3907
  value: function getFocusableElements(element) {
3955
3908
  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])");
3956
3909
  var visibleFocusableElements = [];
3957
-
3958
3910
  var _iterator3 = _createForOfIteratorHelper(focusableElements),
3959
- _step3;
3960
-
3911
+ _step3;
3961
3912
  try {
3962
3913
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
3963
3914
  var focusableElement = _step3.value;
@@ -3968,7 +3919,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3968
3919
  } finally {
3969
3920
  _iterator3.f();
3970
3921
  }
3971
-
3972
3922
  return visibleFocusableElements;
3973
3923
  }
3974
3924
  }, {
@@ -4011,55 +3961,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4011
3961
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
4012
3962
  }
4013
3963
  }]);
4014
-
4015
3964
  return DomHandler;
4016
3965
  }();
4017
3966
 
4018
-
4019
3967
  // CONCATENATED MODULE: ./src/components/ripple/Ripple.js
4020
3968
 
4021
-
4022
3969
  function bindEvents(el) {
4023
3970
  el.addEventListener('mousedown', onMouseDown);
4024
3971
  }
4025
-
4026
3972
  function unbindEvents(el) {
4027
3973
  el.removeEventListener('mousedown', onMouseDown);
4028
3974
  }
4029
-
4030
3975
  function create(el) {
4031
3976
  var ink = document.createElement('span');
4032
3977
  ink.className = 'p-ink';
4033
3978
  el.appendChild(ink);
4034
3979
  ink.addEventListener('animationend', onAnimationEnd);
4035
3980
  }
4036
-
4037
3981
  function remove(el) {
4038
3982
  var ink = getInk(el);
4039
-
4040
3983
  if (ink) {
4041
3984
  unbindEvents(el);
4042
3985
  ink.removeEventListener('animationend', onAnimationEnd);
4043
3986
  ink.remove();
4044
3987
  }
4045
3988
  }
4046
-
4047
3989
  function onMouseDown(event) {
4048
3990
  var target = event.currentTarget;
4049
3991
  var ink = getInk(target);
4050
-
4051
3992
  if (!ink || getComputedStyle(ink, null).display === 'none') {
4052
3993
  return;
4053
3994
  }
4054
-
4055
3995
  DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
4056
-
4057
3996
  if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
4058
3997
  var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
4059
3998
  ink.style.height = d + 'px';
4060
3999
  ink.style.width = d + 'px';
4061
4000
  }
4062
-
4063
4001
  var offset = DomHandler_DomHandler.getOffset(target);
4064
4002
  var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
4065
4003
  var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
@@ -4067,21 +4005,17 @@ function onMouseDown(event) {
4067
4005
  ink.style.left = x + 'px';
4068
4006
  DomHandler_DomHandler.addClass(ink, 'p-ink-active');
4069
4007
  }
4070
-
4071
4008
  function onAnimationEnd(event) {
4072
4009
  DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
4073
4010
  }
4074
-
4075
4011
  function getInk(el) {
4076
4012
  for (var i = 0; i < el.children.length; i++) {
4077
4013
  if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
4078
4014
  return el.children[i];
4079
4015
  }
4080
4016
  }
4081
-
4082
4017
  return null;
4083
4018
  }
4084
-
4085
4019
  var Ripple = {
4086
4020
  inserted: function inserted(el, binding, vnode) {
4087
4021
  if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
@@ -4127,22 +4061,18 @@ var Ripple = {
4127
4061
  event.preventDefault();
4128
4062
  return;
4129
4063
  }
4130
-
4131
4064
  if (!item.url && !item.to) {
4132
4065
  event.preventDefault();
4133
4066
  }
4134
-
4135
4067
  if (item.command) {
4136
4068
  item.command({
4137
4069
  originalEvent: event,
4138
4070
  item: item
4139
4071
  });
4140
4072
  }
4141
-
4142
4073
  if (item.to && navigate) {
4143
4074
  navigate(event);
4144
4075
  }
4145
-
4146
4076
  this.activeItem = null;
4147
4077
  },
4148
4078
  onCategoryMouseEnter: function onCategoryMouseEnter(event, category) {
@@ -4150,7 +4080,6 @@ var Ripple = {
4150
4080
  event.preventDefault();
4151
4081
  return;
4152
4082
  }
4153
-
4154
4083
  if (this.activeItem) {
4155
4084
  this.activeItem = category;
4156
4085
  }
@@ -4160,18 +4089,15 @@ var Ripple = {
4160
4089
  event.preventDefault();
4161
4090
  return;
4162
4091
  }
4163
-
4164
4092
  if (!category.url && !category.to) {
4165
4093
  event.preventDefault();
4166
4094
  }
4167
-
4168
4095
  if (category.command) {
4169
4096
  category.command({
4170
4097
  originalEvent: event,
4171
4098
  item: category
4172
4099
  });
4173
4100
  }
4174
-
4175
4101
  if (category.items) {
4176
4102
  if (this.activeItem && this.activeItem === category) {
4177
4103
  this.activeItem = null;
@@ -4184,32 +4110,30 @@ var Ripple = {
4184
4110
  },
4185
4111
  onCategoryKeydown: function onCategoryKeydown(event, category) {
4186
4112
  var listItem = event.currentTarget.parentElement;
4187
-
4188
4113
  switch (event.which) {
4189
4114
  //down
4190
4115
  case 40:
4191
4116
  if (this.horizontal) this.expandMenu(category);else this.navigateToNextItem(listItem);
4192
4117
  event.preventDefault();
4193
4118
  break;
4194
- //up
4195
4119
 
4120
+ //up
4196
4121
  case 38:
4197
4122
  if (this.vertical) this.navigateToPrevItem(listItem);else if (category.items && category === this.activeItem) this.collapseMenu();
4198
4123
  event.preventDefault();
4199
4124
  break;
4200
- //right
4201
4125
 
4126
+ //right
4202
4127
  case 39:
4203
4128
  if (this.horizontal) this.navigateToNextItem(listItem);else this.expandMenu(category);
4204
4129
  event.preventDefault();
4205
4130
  break;
4206
- //left
4207
4131
 
4132
+ //left
4208
4133
  case 37:
4209
4134
  if (this.horizontal) this.navigateToPrevItem(listItem);else if (category.items && category === this.activeItem) this.collapseMenu();
4210
4135
  event.preventDefault();
4211
4136
  break;
4212
-
4213
4137
  default:
4214
4138
  break;
4215
4139
  }
@@ -4232,14 +4156,12 @@ var Ripple = {
4232
4156
  },
4233
4157
  navigateToNextItem: function navigateToNextItem(listItem) {
4234
4158
  var nextItem = this.findNextItem(listItem);
4235
-
4236
4159
  if (nextItem) {
4237
4160
  nextItem.children[0].focus();
4238
4161
  }
4239
4162
  },
4240
4163
  navigateToPrevItem: function navigateToPrevItem(listItem) {
4241
4164
  var prevItem = this.findPrevItem(listItem);
4242
-
4243
4165
  if (prevItem) {
4244
4166
  prevItem.children[0].focus();
4245
4167
  }
@@ -4261,29 +4183,23 @@ var Ripple = {
4261
4183
  getColumnClassName: function getColumnClassName(category) {
4262
4184
  var length = category.items ? category.items.length : 0;
4263
4185
  var columnClass;
4264
-
4265
4186
  switch (length) {
4266
4187
  case 2:
4267
4188
  columnClass = 'p-megamenu-col-6';
4268
4189
  break;
4269
-
4270
4190
  case 3:
4271
4191
  columnClass = 'p-megamenu-col-4';
4272
4192
  break;
4273
-
4274
4193
  case 4:
4275
4194
  columnClass = 'p-megamenu-col-3';
4276
4195
  break;
4277
-
4278
4196
  case 6:
4279
4197
  columnClass = 'p-megamenu-col-2';
4280
4198
  break;
4281
-
4282
4199
  default:
4283
4200
  columnClass = 'p-megamenu-col-12';
4284
4201
  break;
4285
4202
  }
4286
-
4287
4203
  return columnClass;
4288
4204
  },
4289
4205
  getSubmenuHeaderClass: function getSubmenuHeaderClass(submenu) {
@@ -4303,16 +4219,13 @@ var Ripple = {
4303
4219
  },
4304
4220
  bindDocumentClickListener: function bindDocumentClickListener() {
4305
4221
  var _this = this;
4306
-
4307
4222
  if (!this.documentClickListener) {
4308
4223
  this.documentClickListener = function (event) {
4309
4224
  if (_this.$el && !_this.$el.contains(event.target)) {
4310
4225
  _this.activeItem = null;
4311
-
4312
4226
  _this.unbindDocumentClickListener();
4313
4227
  }
4314
4228
  };
4315
-
4316
4229
  document.addEventListener('click', this.documentClickListener);
4317
4230
  }
4318
4231
  },