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
@@ -3296,11 +3296,10 @@ if (typeof window !== 'undefined') {
3296
3296
  // Indicate to webpack that this file can be concatenated
3297
3297
  /* harmony default export */ var setPublicPath = (null);
3298
3298
 
3299
- // 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/scrolltop/ScrollTop.vue?vue&type=template&id=d2d39c16&
3299
+ // 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/scrolltop/ScrollTop.vue?vue&type=template&id=d2d39c16&
3300
3300
  var render = function render() {
3301
3301
  var _vm = this,
3302
- _c = _vm._self._c;
3303
-
3302
+ _c = _vm._self._c;
3304
3303
  return _c('transition', {
3305
3304
  attrs: {
3306
3305
  "name": "p-scrolltop",
@@ -3322,7 +3321,6 @@ var render = function render() {
3322
3321
  class: _vm.iconClass
3323
3322
  })]) : _vm._e()]);
3324
3323
  };
3325
-
3326
3324
  var staticRenderFns = [];
3327
3325
 
3328
3326
  // CONCATENATED MODULE: ./src/components/scrolltop/ScrollTop.vue?vue&type=template&id=d2d39c16&
@@ -3372,26 +3370,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
3372
3370
 
3373
3371
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
3374
3372
 
3375
-
3376
3373
  function _defineProperties(target, props) {
3377
3374
  for (var i = 0; i < props.length; i++) {
3378
3375
  var descriptor = props[i];
3379
3376
  descriptor.enumerable = descriptor.enumerable || false;
3380
3377
  descriptor.configurable = true;
3381
3378
  if ("value" in descriptor) descriptor.writable = true;
3382
-
3383
3379
  define_property_default()(target, descriptor.key, descriptor);
3384
3380
  }
3385
3381
  }
3386
-
3387
3382
  function _createClass(Constructor, protoProps, staticProps) {
3388
3383
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
3389
3384
  if (staticProps) _defineProperties(Constructor, staticProps);
3390
-
3391
3385
  define_property_default()(Constructor, "prototype", {
3392
3386
  writable: false
3393
3387
  });
3394
-
3395
3388
  return Constructor;
3396
3389
  }
3397
3390
  // CONCATENATED MODULE: ./src/components/utils/DomHandler.js
@@ -3407,18 +3400,13 @@ function _createClass(Constructor, protoProps, staticProps) {
3407
3400
 
3408
3401
 
3409
3402
 
3410
-
3411
3403
  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; } } }; }
3412
-
3413
3404
  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); }
3414
-
3415
3405
  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; }
3416
-
3417
3406
  var DomHandler_DomHandler = /*#__PURE__*/function () {
3418
3407
  function DomHandler() {
3419
3408
  _classCallCheck(this, DomHandler);
3420
3409
  }
3421
-
3422
3410
  _createClass(DomHandler, null, [{
3423
3411
  key: "innerWidth",
3424
3412
  value: function innerWidth(el) {
@@ -3452,12 +3440,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3452
3440
  value: function getOuterWidth(el, margin) {
3453
3441
  if (el) {
3454
3442
  var width = el.offsetWidth;
3455
-
3456
3443
  if (margin) {
3457
3444
  var style = getComputedStyle(el);
3458
3445
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
3459
3446
  }
3460
-
3461
3447
  return width;
3462
3448
  } else {
3463
3449
  return 0;
@@ -3468,12 +3454,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3468
3454
  value: function getOuterHeight(el, margin) {
3469
3455
  if (el) {
3470
3456
  var height = el.offsetHeight;
3471
-
3472
3457
  if (margin) {
3473
3458
  var style = getComputedStyle(el);
3474
3459
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
3475
3460
  }
3476
-
3477
3461
  return height;
3478
3462
  } else {
3479
3463
  return 0;
@@ -3484,12 +3468,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3484
3468
  value: function getClientHeight(el, margin) {
3485
3469
  if (el) {
3486
3470
  var height = el.clientHeight;
3487
-
3488
3471
  if (margin) {
3489
3472
  var style = getComputedStyle(el);
3490
3473
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
3491
3474
  }
3492
-
3493
3475
  return height;
3494
3476
  } else {
3495
3477
  return 0;
@@ -3499,11 +3481,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3499
3481
  key: "getViewport",
3500
3482
  value: function getViewport() {
3501
3483
  var win = window,
3502
- d = document,
3503
- e = d.documentElement,
3504
- g = d.getElementsByTagName('body')[0],
3505
- w = win.innerWidth || e.clientWidth || g.clientWidth,
3506
- h = win.innerHeight || e.clientHeight || g.clientHeight;
3484
+ d = document,
3485
+ e = d.documentElement,
3486
+ g = d.getElementsByTagName('body')[0],
3487
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
3488
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
3507
3489
  return {
3508
3490
  width: w,
3509
3491
  height: h
@@ -3534,12 +3516,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3534
3516
  value: function index(element) {
3535
3517
  var children = element.parentNode.childNodes;
3536
3518
  var num = 0;
3537
-
3538
3519
  for (var i = 0; i < children.length; i++) {
3539
3520
  if (children[i] === element) return num;
3540
3521
  if (children[i].nodeType === 1) num++;
3541
3522
  }
3542
-
3543
3523
  return -1;
3544
3524
  }
3545
3525
  }, {
@@ -3547,13 +3527,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3547
3527
  value: function addMultipleClasses(element, className) {
3548
3528
  if (element.classList) {
3549
3529
  var styles = className.split(' ');
3550
-
3551
3530
  for (var i = 0; i < styles.length; i++) {
3552
3531
  element.classList.add(styles[i]);
3553
3532
  }
3554
3533
  } else {
3555
3534
  var _styles = className.split(' ');
3556
-
3557
3535
  for (var _i = 0; _i < _styles.length; _i++) {
3558
3536
  element.className += ' ' + _styles[_i];
3559
3537
  }
@@ -3575,7 +3553,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3575
3553
  if (element) {
3576
3554
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
3577
3555
  }
3578
-
3579
3556
  return false;
3580
3557
  }
3581
3558
  }, {
@@ -3620,11 +3597,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3620
3597
  var windowScrollLeft = this.getWindowScrollLeft();
3621
3598
  var viewport = this.getViewport();
3622
3599
  var top, left;
3623
-
3624
3600
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
3625
3601
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
3626
3602
  element.style.transformOrigin = 'bottom';
3627
-
3628
3603
  if (top < 0) {
3629
3604
  top = windowScrollTop;
3630
3605
  }
@@ -3632,7 +3607,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3632
3607
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
3633
3608
  element.style.transformOrigin = 'top';
3634
3609
  }
3635
-
3636
3610
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
3637
3611
  element.style.top = top + 'px';
3638
3612
  element.style.left = left + 'px';
@@ -3648,11 +3622,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3648
3622
  var targetOffset = target.getBoundingClientRect();
3649
3623
  var viewport = this.getViewport();
3650
3624
  var top, left;
3651
-
3652
3625
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
3653
3626
  top = -1 * elementDimensions.height;
3654
3627
  element.style.transformOrigin = 'bottom';
3655
-
3656
3628
  if (targetOffset.top + top < 0) {
3657
3629
  top = -1 * targetOffset.top;
3658
3630
  }
@@ -3660,7 +3632,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3660
3632
  top = targetHeight;
3661
3633
  element.style.transformOrigin = 'top';
3662
3634
  }
3663
-
3664
3635
  if (elementDimensions.width > viewport.width) {
3665
3636
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
3666
3637
  left = targetOffset.left * -1;
@@ -3671,7 +3642,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3671
3642
  // element fits on screen (align with target)
3672
3643
  left = 0;
3673
3644
  }
3674
-
3675
3645
  element.style.top = top + 'px';
3676
3646
  element.style.left = left + 'px';
3677
3647
  }
@@ -3685,35 +3655,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3685
3655
  key: "getScrollableParents",
3686
3656
  value: function getScrollableParents(element) {
3687
3657
  var scrollableParents = [];
3688
-
3689
3658
  if (element) {
3690
3659
  var parents = this.getParents(element);
3691
3660
  var overflowRegex = /(auto|scroll)/;
3692
-
3693
3661
  var overflowCheck = function overflowCheck(node) {
3694
3662
  var styleDeclaration = window['getComputedStyle'](node, null);
3695
3663
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
3696
3664
  };
3697
-
3698
3665
  var _iterator = _createForOfIteratorHelper(parents),
3699
- _step;
3700
-
3666
+ _step;
3701
3667
  try {
3702
3668
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
3703
3669
  var parent = _step.value;
3704
3670
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
3705
-
3706
3671
  if (scrollSelectors) {
3707
3672
  var selectors = scrollSelectors.split(',');
3708
-
3709
3673
  var _iterator2 = _createForOfIteratorHelper(selectors),
3710
- _step2;
3711
-
3674
+ _step2;
3712
3675
  try {
3713
3676
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
3714
3677
  var selector = _step2.value;
3715
3678
  var el = this.findSingle(parent, selector);
3716
-
3717
3679
  if (el && overflowCheck(el)) {
3718
3680
  scrollableParents.push(el);
3719
3681
  }
@@ -3731,7 +3693,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3731
3693
  _iterator.f();
3732
3694
  }
3733
3695
  }
3734
-
3735
3696
  return scrollableParents;
3736
3697
  }
3737
3698
  }, {
@@ -3772,34 +3733,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3772
3733
  element.style.opacity = 0;
3773
3734
  var last = +new Date();
3774
3735
  var opacity = 0;
3775
-
3776
3736
  var tick = function tick() {
3777
3737
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
3778
3738
  element.style.opacity = opacity;
3779
3739
  last = +new Date();
3780
-
3781
3740
  if (+opacity < 1) {
3782
3741
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
3783
3742
  }
3784
3743
  };
3785
-
3786
3744
  tick();
3787
3745
  }
3788
3746
  }, {
3789
3747
  key: "fadeOut",
3790
3748
  value: function fadeOut(element, ms) {
3791
3749
  var opacity = 1,
3792
- interval = 50,
3793
- duration = ms,
3794
- gap = interval / duration;
3750
+ interval = 50,
3751
+ duration = ms,
3752
+ gap = interval / duration;
3795
3753
  var fading = setInterval(function () {
3796
3754
  opacity -= gap;
3797
-
3798
3755
  if (opacity <= 0) {
3799
3756
  opacity = 0;
3800
3757
  clearInterval(fading);
3801
3758
  }
3802
-
3803
3759
  element.style.opacity = opacity;
3804
3760
  }, interval);
3805
3761
  }
@@ -3826,7 +3782,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3826
3782
  var scroll = container.scrollTop;
3827
3783
  var elementHeight = container.clientHeight;
3828
3784
  var itemHeight = this.getOuterHeight(item);
3829
-
3830
3785
  if (offset < 0) {
3831
3786
  container.scrollTop = scroll + offset;
3832
3787
  } else if (offset + itemHeight > elementHeight) {
@@ -3845,7 +3800,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3845
3800
  } else if (document['selection'] && document['selection'].empty) {
3846
3801
  try {
3847
3802
  document['selection'].empty();
3848
- } catch (error) {//ignore IE bug
3803
+ } catch (error) {
3804
+ //ignore IE bug
3849
3805
  }
3850
3806
  }
3851
3807
  }
@@ -3867,19 +3823,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3867
3823
  if (!this.browser) {
3868
3824
  var matched = this.resolveUserAgent();
3869
3825
  this.browser = {};
3870
-
3871
3826
  if (matched.browser) {
3872
3827
  this.browser[matched.browser] = true;
3873
3828
  this.browser['version'] = matched.version;
3874
3829
  }
3875
-
3876
3830
  if (this.browser['chrome']) {
3877
3831
  this.browser['webkit'] = true;
3878
3832
  } else if (this.browser['webkit']) {
3879
3833
  this.browser['safari'] = true;
3880
3834
  }
3881
3835
  }
3882
-
3883
3836
  return this.browser;
3884
3837
  }
3885
3838
  }, {
@@ -3907,10 +3860,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3907
3860
  value: function getFocusableElements(element) {
3908
3861
  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])");
3909
3862
  var visibleFocusableElements = [];
3910
-
3911
3863
  var _iterator3 = _createForOfIteratorHelper(focusableElements),
3912
- _step3;
3913
-
3864
+ _step3;
3914
3865
  try {
3915
3866
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
3916
3867
  var focusableElement = _step3.value;
@@ -3921,7 +3872,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3921
3872
  } finally {
3922
3873
  _iterator3.f();
3923
3874
  }
3924
-
3925
3875
  return visibleFocusableElements;
3926
3876
  }
3927
3877
  }, {
@@ -3964,11 +3914,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3964
3914
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
3965
3915
  }
3966
3916
  }]);
3967
-
3968
3917
  return DomHandler;
3969
3918
  }();
3970
3919
 
3971
-
3972
3920
  // 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/scrolltop/ScrollTop.vue?vue&type=script&lang=js&
3973
3921
 
3974
3922
 
@@ -4016,20 +3964,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4016
3964
  },
4017
3965
  bindParentScrollListener: function bindParentScrollListener() {
4018
3966
  var _this = this;
4019
-
4020
3967
  this.scrollListener = function () {
4021
3968
  _this.checkVisibility(_this.$el.parentElement.scrollTop);
4022
3969
  };
4023
-
4024
3970
  this.$el.parentElement.addEventListener('scroll', this.scrollListener);
4025
3971
  },
4026
3972
  bindDocumentScrollListener: function bindDocumentScrollListener() {
4027
3973
  var _this2 = this;
4028
-
4029
3974
  this.scrollListener = function () {
4030
3975
  _this2.checkVisibility(DomHandler_DomHandler.getWindowScrollTop());
4031
3976
  };
4032
-
4033
3977
  window.addEventListener('scroll', this.scrollListener);
4034
3978
  },
4035
3979
  unbindParentScrollListener: function unbindParentScrollListener() {