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
@@ -4286,11 +4286,10 @@ if (typeof window !== 'undefined') {
4286
4286
  // Indicate to webpack that this file can be concatenated
4287
4287
  /* harmony default export */ var setPublicPath = (null);
4288
4288
 
4289
- // 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/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
4289
+ // 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/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
4290
4290
  var render = function render() {
4291
4291
  var _vm = this,
4292
- _c = _vm._self._c;
4293
-
4292
+ _c = _vm._self._c;
4294
4293
  return _c('div', {
4295
4294
  staticClass: "p-galleria-thumbnail-wrapper"
4296
4295
  }, [_c('div', {
@@ -4381,7 +4380,6 @@ var render = function render() {
4381
4380
  class: _vm.navForwardIconClass
4382
4381
  })]) : _vm._e()])]);
4383
4382
  };
4384
-
4385
4383
  var staticRenderFns = [];
4386
4384
 
4387
4385
  // CONCATENATED MODULE: ./src/components/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
@@ -4396,11 +4394,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
4396
4394
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
4397
4395
  function _arrayLikeToArray(arr, len) {
4398
4396
  if (len == null || len > arr.length) len = arr.length;
4399
-
4400
4397
  for (var i = 0, arr2 = new Array(len); i < len; i++) {
4401
4398
  arr2[i] = arr[i];
4402
4399
  }
4403
-
4404
4400
  return arr2;
4405
4401
  }
4406
4402
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
@@ -4478,15 +4474,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
4478
4474
  },
4479
4475
  render: function render(createElement, context) {
4480
4476
  var _context$props = context.props,
4481
- item = _context$props.item,
4482
- index = _context$props.index,
4483
- templates = _context$props.templates,
4484
- type = _context$props.type;
4477
+ item = _context$props.item,
4478
+ index = _context$props.index,
4479
+ templates = _context$props.templates,
4480
+ type = _context$props.type;
4485
4481
  var template = templates && templates[type];
4486
-
4487
4482
  if (template) {
4488
4483
  var content;
4489
-
4490
4484
  switch (type) {
4491
4485
  case 'item':
4492
4486
  case 'caption':
@@ -4495,21 +4489,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
4495
4489
  item: item
4496
4490
  });
4497
4491
  break;
4498
-
4499
4492
  case 'indicator':
4500
4493
  content = template({
4501
4494
  index: index
4502
4495
  });
4503
4496
  break;
4504
-
4505
4497
  default:
4506
4498
  content = template({});
4507
4499
  break;
4508
4500
  }
4509
-
4510
4501
  return content ? [content] : null;
4511
4502
  }
4512
-
4513
4503
  return null;
4514
4504
  }
4515
4505
  });
@@ -4675,26 +4665,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
4675
4665
 
4676
4666
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
4677
4667
 
4678
-
4679
4668
  function _defineProperties(target, props) {
4680
4669
  for (var i = 0; i < props.length; i++) {
4681
4670
  var descriptor = props[i];
4682
4671
  descriptor.enumerable = descriptor.enumerable || false;
4683
4672
  descriptor.configurable = true;
4684
4673
  if ("value" in descriptor) descriptor.writable = true;
4685
-
4686
4674
  define_property_default()(target, descriptor.key, descriptor);
4687
4675
  }
4688
4676
  }
4689
-
4690
4677
  function _createClass(Constructor, protoProps, staticProps) {
4691
4678
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
4692
4679
  if (staticProps) _defineProperties(Constructor, staticProps);
4693
-
4694
4680
  define_property_default()(Constructor, "prototype", {
4695
4681
  writable: false
4696
4682
  });
4697
-
4698
4683
  return Constructor;
4699
4684
  }
4700
4685
  // CONCATENATED MODULE: ./src/components/utils/DomHandler.js
@@ -4710,18 +4695,13 @@ function _createClass(Constructor, protoProps, staticProps) {
4710
4695
 
4711
4696
 
4712
4697
 
4713
-
4714
4698
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = DomHandler_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; } } }; }
4715
-
4716
4699
  function DomHandler_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return DomHandler_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 DomHandler_arrayLikeToArray(o, minLen); }
4717
-
4718
4700
  function DomHandler_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; }
4719
-
4720
4701
  var DomHandler_DomHandler = /*#__PURE__*/function () {
4721
4702
  function DomHandler() {
4722
4703
  _classCallCheck(this, DomHandler);
4723
4704
  }
4724
-
4725
4705
  _createClass(DomHandler, null, [{
4726
4706
  key: "innerWidth",
4727
4707
  value: function innerWidth(el) {
@@ -4755,12 +4735,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4755
4735
  value: function getOuterWidth(el, margin) {
4756
4736
  if (el) {
4757
4737
  var width = el.offsetWidth;
4758
-
4759
4738
  if (margin) {
4760
4739
  var style = getComputedStyle(el);
4761
4740
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
4762
4741
  }
4763
-
4764
4742
  return width;
4765
4743
  } else {
4766
4744
  return 0;
@@ -4771,12 +4749,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4771
4749
  value: function getOuterHeight(el, margin) {
4772
4750
  if (el) {
4773
4751
  var height = el.offsetHeight;
4774
-
4775
4752
  if (margin) {
4776
4753
  var style = getComputedStyle(el);
4777
4754
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
4778
4755
  }
4779
-
4780
4756
  return height;
4781
4757
  } else {
4782
4758
  return 0;
@@ -4787,12 +4763,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4787
4763
  value: function getClientHeight(el, margin) {
4788
4764
  if (el) {
4789
4765
  var height = el.clientHeight;
4790
-
4791
4766
  if (margin) {
4792
4767
  var style = getComputedStyle(el);
4793
4768
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
4794
4769
  }
4795
-
4796
4770
  return height;
4797
4771
  } else {
4798
4772
  return 0;
@@ -4802,11 +4776,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4802
4776
  key: "getViewport",
4803
4777
  value: function getViewport() {
4804
4778
  var win = window,
4805
- d = document,
4806
- e = d.documentElement,
4807
- g = d.getElementsByTagName('body')[0],
4808
- w = win.innerWidth || e.clientWidth || g.clientWidth,
4809
- h = win.innerHeight || e.clientHeight || g.clientHeight;
4779
+ d = document,
4780
+ e = d.documentElement,
4781
+ g = d.getElementsByTagName('body')[0],
4782
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
4783
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
4810
4784
  return {
4811
4785
  width: w,
4812
4786
  height: h
@@ -4837,12 +4811,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4837
4811
  value: function index(element) {
4838
4812
  var children = element.parentNode.childNodes;
4839
4813
  var num = 0;
4840
-
4841
4814
  for (var i = 0; i < children.length; i++) {
4842
4815
  if (children[i] === element) return num;
4843
4816
  if (children[i].nodeType === 1) num++;
4844
4817
  }
4845
-
4846
4818
  return -1;
4847
4819
  }
4848
4820
  }, {
@@ -4850,13 +4822,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4850
4822
  value: function addMultipleClasses(element, className) {
4851
4823
  if (element.classList) {
4852
4824
  var styles = className.split(' ');
4853
-
4854
4825
  for (var i = 0; i < styles.length; i++) {
4855
4826
  element.classList.add(styles[i]);
4856
4827
  }
4857
4828
  } else {
4858
4829
  var _styles = className.split(' ');
4859
-
4860
4830
  for (var _i = 0; _i < _styles.length; _i++) {
4861
4831
  element.className += ' ' + _styles[_i];
4862
4832
  }
@@ -4878,7 +4848,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4878
4848
  if (element) {
4879
4849
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
4880
4850
  }
4881
-
4882
4851
  return false;
4883
4852
  }
4884
4853
  }, {
@@ -4923,11 +4892,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4923
4892
  var windowScrollLeft = this.getWindowScrollLeft();
4924
4893
  var viewport = this.getViewport();
4925
4894
  var top, left;
4926
-
4927
4895
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
4928
4896
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
4929
4897
  element.style.transformOrigin = 'bottom';
4930
-
4931
4898
  if (top < 0) {
4932
4899
  top = windowScrollTop;
4933
4900
  }
@@ -4935,7 +4902,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4935
4902
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
4936
4903
  element.style.transformOrigin = 'top';
4937
4904
  }
4938
-
4939
4905
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
4940
4906
  element.style.top = top + 'px';
4941
4907
  element.style.left = left + 'px';
@@ -4951,11 +4917,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4951
4917
  var targetOffset = target.getBoundingClientRect();
4952
4918
  var viewport = this.getViewport();
4953
4919
  var top, left;
4954
-
4955
4920
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
4956
4921
  top = -1 * elementDimensions.height;
4957
4922
  element.style.transformOrigin = 'bottom';
4958
-
4959
4923
  if (targetOffset.top + top < 0) {
4960
4924
  top = -1 * targetOffset.top;
4961
4925
  }
@@ -4963,7 +4927,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4963
4927
  top = targetHeight;
4964
4928
  element.style.transformOrigin = 'top';
4965
4929
  }
4966
-
4967
4930
  if (elementDimensions.width > viewport.width) {
4968
4931
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
4969
4932
  left = targetOffset.left * -1;
@@ -4974,7 +4937,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4974
4937
  // element fits on screen (align with target)
4975
4938
  left = 0;
4976
4939
  }
4977
-
4978
4940
  element.style.top = top + 'px';
4979
4941
  element.style.left = left + 'px';
4980
4942
  }
@@ -4988,35 +4950,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4988
4950
  key: "getScrollableParents",
4989
4951
  value: function getScrollableParents(element) {
4990
4952
  var scrollableParents = [];
4991
-
4992
4953
  if (element) {
4993
4954
  var parents = this.getParents(element);
4994
4955
  var overflowRegex = /(auto|scroll)/;
4995
-
4996
4956
  var overflowCheck = function overflowCheck(node) {
4997
4957
  var styleDeclaration = window['getComputedStyle'](node, null);
4998
4958
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
4999
4959
  };
5000
-
5001
4960
  var _iterator = _createForOfIteratorHelper(parents),
5002
- _step;
5003
-
4961
+ _step;
5004
4962
  try {
5005
4963
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
5006
4964
  var parent = _step.value;
5007
4965
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
5008
-
5009
4966
  if (scrollSelectors) {
5010
4967
  var selectors = scrollSelectors.split(',');
5011
-
5012
4968
  var _iterator2 = _createForOfIteratorHelper(selectors),
5013
- _step2;
5014
-
4969
+ _step2;
5015
4970
  try {
5016
4971
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
5017
4972
  var selector = _step2.value;
5018
4973
  var el = this.findSingle(parent, selector);
5019
-
5020
4974
  if (el && overflowCheck(el)) {
5021
4975
  scrollableParents.push(el);
5022
4976
  }
@@ -5034,7 +4988,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5034
4988
  _iterator.f();
5035
4989
  }
5036
4990
  }
5037
-
5038
4991
  return scrollableParents;
5039
4992
  }
5040
4993
  }, {
@@ -5075,34 +5028,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5075
5028
  element.style.opacity = 0;
5076
5029
  var last = +new Date();
5077
5030
  var opacity = 0;
5078
-
5079
5031
  var tick = function tick() {
5080
5032
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
5081
5033
  element.style.opacity = opacity;
5082
5034
  last = +new Date();
5083
-
5084
5035
  if (+opacity < 1) {
5085
5036
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
5086
5037
  }
5087
5038
  };
5088
-
5089
5039
  tick();
5090
5040
  }
5091
5041
  }, {
5092
5042
  key: "fadeOut",
5093
5043
  value: function fadeOut(element, ms) {
5094
5044
  var opacity = 1,
5095
- interval = 50,
5096
- duration = ms,
5097
- gap = interval / duration;
5045
+ interval = 50,
5046
+ duration = ms,
5047
+ gap = interval / duration;
5098
5048
  var fading = setInterval(function () {
5099
5049
  opacity -= gap;
5100
-
5101
5050
  if (opacity <= 0) {
5102
5051
  opacity = 0;
5103
5052
  clearInterval(fading);
5104
5053
  }
5105
-
5106
5054
  element.style.opacity = opacity;
5107
5055
  }, interval);
5108
5056
  }
@@ -5129,7 +5077,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5129
5077
  var scroll = container.scrollTop;
5130
5078
  var elementHeight = container.clientHeight;
5131
5079
  var itemHeight = this.getOuterHeight(item);
5132
-
5133
5080
  if (offset < 0) {
5134
5081
  container.scrollTop = scroll + offset;
5135
5082
  } else if (offset + itemHeight > elementHeight) {
@@ -5148,7 +5095,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5148
5095
  } else if (document['selection'] && document['selection'].empty) {
5149
5096
  try {
5150
5097
  document['selection'].empty();
5151
- } catch (error) {//ignore IE bug
5098
+ } catch (error) {
5099
+ //ignore IE bug
5152
5100
  }
5153
5101
  }
5154
5102
  }
@@ -5170,19 +5118,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5170
5118
  if (!this.browser) {
5171
5119
  var matched = this.resolveUserAgent();
5172
5120
  this.browser = {};
5173
-
5174
5121
  if (matched.browser) {
5175
5122
  this.browser[matched.browser] = true;
5176
5123
  this.browser['version'] = matched.version;
5177
5124
  }
5178
-
5179
5125
  if (this.browser['chrome']) {
5180
5126
  this.browser['webkit'] = true;
5181
5127
  } else if (this.browser['webkit']) {
5182
5128
  this.browser['safari'] = true;
5183
5129
  }
5184
5130
  }
5185
-
5186
5131
  return this.browser;
5187
5132
  }
5188
5133
  }, {
@@ -5210,10 +5155,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5210
5155
  value: function getFocusableElements(element) {
5211
5156
  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])");
5212
5157
  var visibleFocusableElements = [];
5213
-
5214
5158
  var _iterator3 = _createForOfIteratorHelper(focusableElements),
5215
- _step3;
5216
-
5159
+ _step3;
5217
5160
  try {
5218
5161
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
5219
5162
  var focusableElement = _step3.value;
@@ -5224,7 +5167,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5224
5167
  } finally {
5225
5168
  _iterator3.f();
5226
5169
  }
5227
-
5228
5170
  return visibleFocusableElements;
5229
5171
  }
5230
5172
  }, {
@@ -5267,55 +5209,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5267
5209
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
5268
5210
  }
5269
5211
  }]);
5270
-
5271
5212
  return DomHandler;
5272
5213
  }();
5273
5214
 
5274
-
5275
5215
  // CONCATENATED MODULE: ./src/components/ripple/Ripple.js
5276
5216
 
5277
-
5278
5217
  function bindEvents(el) {
5279
5218
  el.addEventListener('mousedown', onMouseDown);
5280
5219
  }
5281
-
5282
5220
  function unbindEvents(el) {
5283
5221
  el.removeEventListener('mousedown', onMouseDown);
5284
5222
  }
5285
-
5286
5223
  function create(el) {
5287
5224
  var ink = document.createElement('span');
5288
5225
  ink.className = 'p-ink';
5289
5226
  el.appendChild(ink);
5290
5227
  ink.addEventListener('animationend', onAnimationEnd);
5291
5228
  }
5292
-
5293
5229
  function remove(el) {
5294
5230
  var ink = getInk(el);
5295
-
5296
5231
  if (ink) {
5297
5232
  unbindEvents(el);
5298
5233
  ink.removeEventListener('animationend', onAnimationEnd);
5299
5234
  ink.remove();
5300
5235
  }
5301
5236
  }
5302
-
5303
5237
  function onMouseDown(event) {
5304
5238
  var target = event.currentTarget;
5305
5239
  var ink = getInk(target);
5306
-
5307
5240
  if (!ink || getComputedStyle(ink, null).display === 'none') {
5308
5241
  return;
5309
5242
  }
5310
-
5311
5243
  DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
5312
-
5313
5244
  if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
5314
5245
  var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
5315
5246
  ink.style.height = d + 'px';
5316
5247
  ink.style.width = d + 'px';
5317
5248
  }
5318
-
5319
5249
  var offset = DomHandler_DomHandler.getOffset(target);
5320
5250
  var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
5321
5251
  var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
@@ -5323,21 +5253,17 @@ function onMouseDown(event) {
5323
5253
  ink.style.left = x + 'px';
5324
5254
  DomHandler_DomHandler.addClass(ink, 'p-ink-active');
5325
5255
  }
5326
-
5327
5256
  function onAnimationEnd(event) {
5328
5257
  DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
5329
5258
  }
5330
-
5331
5259
  function getInk(el) {
5332
5260
  for (var i = 0; i < el.children.length; i++) {
5333
5261
  if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
5334
5262
  return el.children[i];
5335
5263
  }
5336
5264
  }
5337
-
5338
5265
  return null;
5339
5266
  }
5340
-
5341
5267
  var Ripple = {
5342
5268
  inserted: function inserted(el, binding, vnode) {
5343
5269
  if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
@@ -5430,14 +5356,12 @@ var Ripple = {
5430
5356
  mounted: function mounted() {
5431
5357
  this.createStyle();
5432
5358
  this.calculatePosition();
5433
-
5434
5359
  if (this.responsiveOptions) {
5435
5360
  this.bindDocumentListeners();
5436
5361
  }
5437
5362
  },
5438
5363
  updated: function updated() {
5439
5364
  var totalShiftedItems = this.totalShiftedItems;
5440
-
5441
5365
  if (this.d_oldNumVisible !== this.d_numVisible || this.d_oldActiveItemIndex !== this.d_activeIndex) {
5442
5366
  if (this.d_activeIndex <= this.getMedianItemIndex()) {
5443
5367
  totalShiftedItems = 0;
@@ -5448,18 +5372,14 @@ var Ripple = {
5448
5372
  } else {
5449
5373
  totalShiftedItems = this.d_activeIndex * -1 + this.getMedianItemIndex();
5450
5374
  }
5451
-
5452
5375
  if (totalShiftedItems !== this.totalShiftedItems) {
5453
5376
  this.totalShiftedItems = totalShiftedItems;
5454
5377
  }
5455
-
5456
5378
  this.$refs.itemsContainer.style.transform = this.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
5457
-
5458
5379
  if (this.d_oldActiveItemIndex !== this.d_activeIndex) {
5459
5380
  DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
5460
5381
  this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
5461
5382
  }
5462
-
5463
5383
  this.d_oldActiveItemIndex = this.d_activeIndex;
5464
5384
  this.d_oldNumVisible = this.d_numVisible;
5465
5385
  }
@@ -5468,7 +5388,6 @@ var Ripple = {
5468
5388
  if (this.responsiveOptions) {
5469
5389
  this.unbindDocumentListeners();
5470
5390
  }
5471
-
5472
5391
  if (this.thumbnailsStyle) {
5473
5392
  this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle);
5474
5393
  }
@@ -5476,13 +5395,11 @@ var Ripple = {
5476
5395
  methods: {
5477
5396
  step: function step(dir) {
5478
5397
  var totalShiftedItems = this.totalShiftedItems + dir;
5479
-
5480
5398
  if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value.length - 1) {
5481
5399
  totalShiftedItems = this.d_numVisible - this.value.length;
5482
5400
  } else if (dir > 0 && totalShiftedItems > 0) {
5483
5401
  totalShiftedItems = 0;
5484
5402
  }
5485
-
5486
5403
  if (this.circular) {
5487
5404
  if (dir < 0 && this.value.length - 1 === this.d_activeIndex) {
5488
5405
  totalShiftedItems = 0;
@@ -5490,13 +5407,11 @@ var Ripple = {
5490
5407
  totalShiftedItems = this.d_numVisible - this.value.length;
5491
5408
  }
5492
5409
  }
5493
-
5494
5410
  if (this.$refs.itemsContainer) {
5495
5411
  DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
5496
5412
  this.$refs.itemsContainer.style.transform = this.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
5497
5413
  this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
5498
5414
  }
5499
-
5500
5415
  this.totalShiftedItems = totalShiftedItems;
5501
5416
  },
5502
5417
  stopSlideShow: function stopSlideShow() {
@@ -5512,14 +5427,11 @@ var Ripple = {
5512
5427
  this.stopSlideShow();
5513
5428
  var prevItemIndex = this.d_activeIndex !== 0 ? this.d_activeIndex - 1 : 0;
5514
5429
  var diff = prevItemIndex + this.totalShiftedItems;
5515
-
5516
5430
  if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || this.circular)) {
5517
5431
  this.step(1);
5518
5432
  }
5519
-
5520
5433
  var activeIndex = this.circular && this.d_activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
5521
5434
  this.$emit('update:activeIndex', activeIndex);
5522
-
5523
5435
  if (e.cancelable) {
5524
5436
  e.preventDefault();
5525
5437
  }
@@ -5527,14 +5439,11 @@ var Ripple = {
5527
5439
  navForward: function navForward(e) {
5528
5440
  this.stopSlideShow();
5529
5441
  var nextItemIndex = this.d_activeIndex + 1;
5530
-
5531
5442
  if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || this.circular)) {
5532
5443
  this.step(-1);
5533
5444
  }
5534
-
5535
5445
  var activeIndex = this.circular && this.value.length - 1 === this.d_activeIndex ? 0 : nextItemIndex;
5536
5446
  this.$emit('update:activeIndex', activeIndex);
5537
-
5538
5447
  if (e.cancelable) {
5539
5448
  e.preventDefault();
5540
5449
  }
@@ -5542,25 +5451,20 @@ var Ripple = {
5542
5451
  onItemClick: function onItemClick(index) {
5543
5452
  this.stopSlideShow();
5544
5453
  var selectedItemIndex = index;
5545
-
5546
5454
  if (selectedItemIndex !== this.d_activeIndex) {
5547
5455
  var diff = selectedItemIndex + this.totalShiftedItems;
5548
5456
  var dir = 0;
5549
-
5550
5457
  if (selectedItemIndex < this.d_activeIndex) {
5551
5458
  dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
5552
-
5553
5459
  if (dir > 0 && -1 * this.totalShiftedItems !== 0) {
5554
5460
  this.step(dir);
5555
5461
  }
5556
5462
  } else {
5557
5463
  dir = this.getMedianItemIndex() - diff;
5558
-
5559
5464
  if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) {
5560
5465
  this.step(dir);
5561
5466
  }
5562
5467
  }
5563
-
5564
5468
  this.$emit('update:activeIndex', selectedItemIndex);
5565
5469
  }
5566
5470
  },
@@ -5584,7 +5488,6 @@ var Ripple = {
5584
5488
  },
5585
5489
  onTouchEnd: function onTouchEnd(e) {
5586
5490
  var touchobj = e.changedTouches[0];
5587
-
5588
5491
  if (this.isVertical) {
5589
5492
  this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
5590
5493
  } else {
@@ -5609,9 +5512,7 @@ var Ripple = {
5609
5512
  this.thumbnailsStyle.type = 'text/css';
5610
5513
  document.body.appendChild(this.thumbnailsStyle);
5611
5514
  }
5612
-
5613
5515
  var innerHTML = "\n #".concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
5614
-
5615
5516
  if (this.responsiveOptions) {
5616
5517
  this.sortedResponsiveOptions = _toConsumableArray(this.responsiveOptions);
5617
5518
  this.sortedResponsiveOptions.sort(function (data1, data2) {
@@ -5623,13 +5524,11 @@ var Ripple = {
5623
5524
  });else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
5624
5525
  return -1 * result;
5625
5526
  });
5626
-
5627
5527
  for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
5628
5528
  var res = this.sortedResponsiveOptions[i];
5629
5529
  innerHTML += "\n @media screen and (max-width: ".concat(res.breakpoint, ") {\n #").concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / res.numVisible, "%\n }\n }\n ");
5630
5530
  }
5631
5531
  }
5632
-
5633
5532
  this.thumbnailsStyle.innerHTML = innerHTML;
5634
5533
  },
5635
5534
  calculatePosition: function calculatePosition() {
@@ -5638,15 +5537,12 @@ var Ripple = {
5638
5537
  var matchedResponsiveData = {
5639
5538
  numVisible: this.numVisible
5640
5539
  };
5641
-
5642
5540
  for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
5643
5541
  var res = this.sortedResponsiveOptions[i];
5644
-
5645
5542
  if (parseInt(res.breakpoint, 10) >= windowWidth) {
5646
5543
  matchedResponsiveData = res;
5647
5544
  }
5648
5545
  }
5649
-
5650
5546
  if (this.d_numVisible !== matchedResponsiveData.numVisible) {
5651
5547
  this.d_numVisible = matchedResponsiveData.numVisible;
5652
5548
  }
@@ -5654,12 +5550,10 @@ var Ripple = {
5654
5550
  },
5655
5551
  bindDocumentListeners: function bindDocumentListeners() {
5656
5552
  var _this = this;
5657
-
5658
5553
  if (!this.documentResizeListener) {
5659
5554
  this.documentResizeListener = function () {
5660
5555
  _this.calculatePosition();
5661
5556
  };
5662
-
5663
5557
  window.addEventListener('resize', this.documentResizeListener);
5664
5558
  }
5665
5559
  },