primevue 2.10.0 → 2.10.2

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 (427) 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 +1203 -104
  5. package/accordiontab/accordiontab.umd.js +1203 -104
  6. package/accordiontab/accordiontab.umd.min.js +1 -1
  7. package/api/Api.d.ts +24 -2
  8. package/api/Api.js +0 -6
  9. package/api/FilterService.js +3 -56
  10. package/api/PrimeIcons.js +24 -2
  11. package/api/api.common.js +78 -133
  12. package/api/api.umd.js +78 -133
  13. package/api/api.umd.min.js +1 -1
  14. package/api/filterservice.common.js +54 -131
  15. package/api/filterservice.umd.js +54 -131
  16. package/api/filterservice.umd.min.js +1 -1
  17. package/api/primeicons.common.js +24 -2
  18. package/api/primeicons.umd.js +24 -2
  19. package/api/primeicons.umd.min.js +1 -1
  20. package/autocomplete/autocomplete.common.js +84 -246
  21. package/autocomplete/autocomplete.umd.js +84 -246
  22. package/autocomplete/autocomplete.umd.min.js +1 -1
  23. package/avatar/avatar.common.js +2 -4
  24. package/avatar/avatar.umd.js +2 -4
  25. package/avatargroup/avatargroup.common.js +2 -4
  26. package/avatargroup/avatargroup.umd.js +2 -4
  27. package/badge/badge.common.js +2 -4
  28. package/badge/badge.umd.js +2 -4
  29. package/badgedirective/BadgeDirective.js +0 -13
  30. package/badgedirective/badgedirective.common.js +1183 -89
  31. package/badgedirective/badgedirective.umd.js +1183 -89
  32. package/badgedirective/badgedirective.umd.min.js +1 -1
  33. package/blockui/blockui.common.js +1180 -86
  34. package/blockui/blockui.umd.js +1180 -86
  35. package/blockui/blockui.umd.min.js +1 -1
  36. package/breadcrumb/breadcrumb.common.js +7 -12
  37. package/breadcrumb/breadcrumb.umd.js +7 -12
  38. package/breadcrumb/breadcrumbitem.common.js +5 -8
  39. package/breadcrumb/breadcrumbitem.umd.js +5 -8
  40. package/button/button.common.js +1211 -125
  41. package/button/button.umd.js +1211 -125
  42. package/button/button.umd.min.js +1 -1
  43. package/calendar/Calendar.vue +9 -7
  44. package/calendar/calendar.common.js +224 -613
  45. package/calendar/calendar.umd.js +224 -613
  46. package/calendar/calendar.umd.min.js +1 -1
  47. package/card/card.common.js +2 -4
  48. package/card/card.umd.js +2 -4
  49. package/carousel/carousel.common.js +1190 -146
  50. package/carousel/carousel.umd.js +1190 -146
  51. package/carousel/carousel.umd.min.js +1 -1
  52. package/cascadeselect/CascadeSelect.vue +1 -1
  53. package/cascadeselect/cascadeselect.common.js +136 -286
  54. package/cascadeselect/cascadeselect.umd.js +136 -286
  55. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  56. package/cascadeselect/cascadeselectsub.common.js +69 -185
  57. package/cascadeselect/cascadeselectsub.umd.js +69 -185
  58. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  59. package/cascadeselect/demo.html +4 -3
  60. package/chart/chart.common.js +2 -9
  61. package/chart/chart.umd.js +2 -9
  62. package/checkbox/checkbox.common.js +58 -116
  63. package/checkbox/checkbox.umd.js +58 -116
  64. package/checkbox/checkbox.umd.min.js +1 -1
  65. package/chip/chip.common.js +2 -4
  66. package/chip/chip.umd.js +2 -4
  67. package/chips/chips.common.js +12 -59
  68. package/chips/chips.umd.js +12 -59
  69. package/chips/chips.umd.min.js +1 -1
  70. package/colorpicker/colorpicker.common.js +1197 -140
  71. package/colorpicker/colorpicker.umd.js +1197 -140
  72. package/colorpicker/colorpicker.umd.min.js +1 -1
  73. package/columngroup/columngroup.common.js +2 -4
  74. package/columngroup/columngroup.umd.js +2 -4
  75. package/config/PrimeVue.js +4 -6
  76. package/config/primevue.common.js +124 -155
  77. package/config/primevue.umd.js +124 -155
  78. package/config/primevue.umd.min.js +1 -1
  79. package/confirmationeventbus/ConfirmationEventBus.js +0 -4
  80. package/confirmationeventbus/confirmationeventbus.common.js +0 -2
  81. package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
  82. package/confirmationservice/ConfirmationService.js +0 -3
  83. package/confirmationservice/confirmationservice.common.js +0 -2
  84. package/confirmationservice/confirmationservice.umd.js +0 -2
  85. package/confirmdialog/confirmdialog.common.js +1252 -186
  86. package/confirmdialog/confirmdialog.umd.js +1252 -186
  87. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  88. package/confirmpopup/confirmpopup.common.js +1212 -152
  89. package/confirmpopup/confirmpopup.umd.js +1212 -152
  90. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  91. package/contextmenu/contextmenu.common.js +1209 -140
  92. package/contextmenu/contextmenu.umd.js +1209 -140
  93. package/contextmenu/contextmenu.umd.min.js +1 -1
  94. package/contextmenu/contextmenusub.common.js +1187 -107
  95. package/contextmenu/contextmenusub.umd.js +1187 -107
  96. package/contextmenu/contextmenusub.umd.min.js +1 -1
  97. package/datatable/TableBody.vue +1 -0
  98. package/datatable/bodycell.common.js +87 -215
  99. package/datatable/bodycell.umd.js +87 -215
  100. package/datatable/bodycell.umd.min.js +1 -1
  101. package/datatable/columnfilter.common.js +97 -299
  102. package/datatable/columnfilter.umd.js +97 -299
  103. package/datatable/columnfilter.umd.min.js +1 -1
  104. package/datatable/datatable.common.js +258 -950
  105. package/datatable/datatable.umd.js +258 -950
  106. package/datatable/datatable.umd.min.js +1 -1
  107. package/datatable/demo.html +3 -5
  108. package/datatable/footercell.common.js +83 -170
  109. package/datatable/footercell.umd.js +83 -170
  110. package/datatable/footercell.umd.min.js +1 -1
  111. package/datatable/headercell.common.js +101 -318
  112. package/datatable/headercell.umd.js +101 -318
  113. package/datatable/headercell.umd.min.js +1 -1
  114. package/datatable/headercheckbox.common.js +2 -4
  115. package/datatable/headercheckbox.umd.js +2 -4
  116. package/datatable/rowcheckbox.common.js +2 -4
  117. package/datatable/rowcheckbox.umd.js +2 -4
  118. package/datatable/rowradiobutton.common.js +2 -4
  119. package/datatable/rowradiobutton.umd.js +2 -4
  120. package/datatable/tablebody.common.js +91 -243
  121. package/datatable/tablebody.umd.js +91 -243
  122. package/datatable/tablebody.umd.min.js +1 -1
  123. package/datatable/tablefooter.common.js +88 -204
  124. package/datatable/tablefooter.umd.js +88 -204
  125. package/datatable/tablefooter.umd.min.js +1 -1
  126. package/datatable/tableheader.common.js +104 -342
  127. package/datatable/tableheader.umd.js +104 -342
  128. package/datatable/tableheader.umd.min.js +1 -1
  129. package/datatable/tableloadingbody.common.js +2 -4
  130. package/datatable/tableloadingbody.umd.js +2 -4
  131. package/dataview/dataview.common.js +172 -464
  132. package/dataview/dataview.umd.js +172 -464
  133. package/dataview/dataview.umd.min.js +1 -1
  134. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +2 -4
  135. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +2 -4
  136. package/deferredcontent/deferredcontent.common.js +2 -7
  137. package/deferredcontent/deferredcontent.umd.js +2 -7
  138. package/dialog/dialog.common.js +1191 -115
  139. package/dialog/dialog.umd.js +1191 -115
  140. package/dialog/dialog.umd.min.js +1 -1
  141. package/divider/divider.common.js +2 -4
  142. package/divider/divider.umd.js +2 -4
  143. package/dock/dock.common.js +7 -14
  144. package/dock/dock.umd.js +7 -14
  145. package/dock/docksub.common.js +5 -9
  146. package/dock/docksub.umd.js +5 -9
  147. package/dropdown/dropdown.common.js +91 -240
  148. package/dropdown/dropdown.umd.js +91 -240
  149. package/dropdown/dropdown.umd.min.js +1 -1
  150. package/editor/editor.common.js +8 -21
  151. package/editor/editor.umd.js +8 -21
  152. package/fieldset/fieldset.common.js +1211 -125
  153. package/fieldset/fieldset.umd.js +1211 -125
  154. package/fieldset/fieldset.umd.min.js +1 -1
  155. package/fileupload/fileupload.common.js +86 -192
  156. package/fileupload/fileupload.umd.js +86 -192
  157. package/fileupload/fileupload.umd.min.js +1 -1
  158. package/fullcalendar/fullcalendar.common.js +1304 -36
  159. package/fullcalendar/fullcalendar.umd.js +1304 -36
  160. package/fullcalendar/fullcalendar.umd.min.js +3 -3
  161. package/galleria/demo.html +3 -3
  162. package/galleria/galleria.common.js +86 -200
  163. package/galleria/galleria.umd.js +86 -200
  164. package/galleria/galleria.umd.min.js +1 -1
  165. package/galleria/galleriacontent.common.js +84 -190
  166. package/galleria/galleriacontent.umd.js +84 -190
  167. package/galleria/galleriacontent.umd.min.js +1 -1
  168. package/galleria/galleriaitem.common.js +1212 -134
  169. package/galleria/galleriaitem.umd.js +1212 -134
  170. package/galleria/galleriaitem.umd.min.js +1 -1
  171. package/galleria/galleriaitemslot.common.js +4 -10
  172. package/galleria/galleriaitemslot.umd.js +4 -10
  173. package/galleria/galleriathumbnails.common.js +76 -174
  174. package/galleria/galleriathumbnails.umd.js +76 -174
  175. package/galleria/galleriathumbnails.umd.min.js +1 -1
  176. package/imagepreview/imagepreview.common.js +1176 -79
  177. package/imagepreview/imagepreview.umd.js +1176 -79
  178. package/imagepreview/imagepreview.umd.min.js +1 -1
  179. package/inlinemessage/inlinemessage.common.js +2 -5
  180. package/inlinemessage/inlinemessage.umd.js +2 -5
  181. package/inplace/inplace.common.js +1189 -105
  182. package/inplace/inplace.umd.js +1189 -105
  183. package/inplace/inplace.umd.min.js +1 -1
  184. package/inputmask/inputmask.common.js +1237 -217
  185. package/inputmask/inputmask.umd.js +1237 -217
  186. package/inputmask/inputmask.umd.min.js +1 -1
  187. package/inputnumber/InputNumber.vue +2 -2
  188. package/inputnumber/inputnumber.common.js +136 -286
  189. package/inputnumber/inputnumber.umd.js +136 -286
  190. package/inputnumber/inputnumber.umd.min.js +1 -1
  191. package/inputswitch/inputswitch.common.js +2 -5
  192. package/inputswitch/inputswitch.umd.js +2 -5
  193. package/inputtext/inputtext.common.js +1177 -31
  194. package/inputtext/inputtext.umd.js +1177 -31
  195. package/inputtext/inputtext.umd.min.js +1 -1
  196. package/knob/knob.common.js +4 -5
  197. package/knob/knob.umd.js +4 -5
  198. package/listbox/listbox.common.js +76 -213
  199. package/listbox/listbox.umd.js +76 -213
  200. package/listbox/listbox.umd.min.js +1 -1
  201. package/megamenu/megamenu.common.js +1186 -121
  202. package/megamenu/megamenu.umd.js +1186 -121
  203. package/megamenu/megamenu.umd.min.js +1 -1
  204. package/menu/menu.common.js +1203 -138
  205. package/menu/menu.umd.js +1203 -138
  206. package/menu/menu.umd.min.js +1 -1
  207. package/menu/menuitem.common.js +1214 -128
  208. package/menu/menuitem.umd.js +1214 -128
  209. package/menu/menuitem.umd.min.js +1 -1
  210. package/menubar/menubar.common.js +1204 -141
  211. package/menubar/menubar.umd.js +1204 -141
  212. package/menubar/menubar.umd.min.js +1 -1
  213. package/menubar/menubarsub.common.js +1202 -135
  214. package/menubar/menubarsub.umd.js +1202 -135
  215. package/menubar/menubarsub.umd.min.js +1 -1
  216. package/message/message.common.js +1187 -102
  217. package/message/message.umd.js +1187 -102
  218. package/message/message.umd.min.js +1 -1
  219. package/multiselect/MultiSelect.vue +1 -1
  220. package/multiselect/multiselect.common.js +139 -304
  221. package/multiselect/multiselect.umd.js +139 -304
  222. package/multiselect/multiselect.umd.min.js +1 -1
  223. package/orderlist/orderlist.common.js +88 -230
  224. package/orderlist/orderlist.umd.js +88 -230
  225. package/orderlist/orderlist.umd.min.js +1 -1
  226. package/organizationchart/organizationchart.common.js +1200 -111
  227. package/organizationchart/organizationchart.umd.js +1200 -111
  228. package/organizationchart/organizationchart.umd.min.js +1 -1
  229. package/organizationchart/organizationchartnode.common.js +1186 -87
  230. package/organizationchart/organizationchartnode.umd.js +1186 -87
  231. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  232. package/overlayeventbus/OverlayEventBus.js +0 -4
  233. package/overlayeventbus/overlayeventbus.common.js +0 -2
  234. package/overlayeventbus/overlayeventbus.umd.js +0 -2
  235. package/overlaypanel/OverlayPanel.d.ts +3 -1
  236. package/overlaypanel/OverlayPanel.vue +2 -0
  237. package/overlaypanel/overlaypanel.common.js +1223 -158
  238. package/overlaypanel/overlaypanel.umd.js +1223 -158
  239. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  240. package/package.json +2 -2
  241. package/paginator/currentpagereport.common.js +2 -4
  242. package/paginator/currentpagereport.umd.js +2 -4
  243. package/paginator/firstpagelink.common.js +1211 -125
  244. package/paginator/firstpagelink.umd.js +1211 -125
  245. package/paginator/firstpagelink.umd.min.js +1 -1
  246. package/paginator/jumptopagedropdown.common.js +93 -246
  247. package/paginator/jumptopagedropdown.umd.js +93 -246
  248. package/paginator/jumptopagedropdown.umd.min.js +1 -1
  249. package/paginator/jumptopageinput.common.js +142 -294
  250. package/paginator/jumptopageinput.umd.js +142 -294
  251. package/paginator/jumptopageinput.umd.min.js +1 -1
  252. package/paginator/lastpagelink.common.js +1211 -125
  253. package/paginator/lastpagelink.umd.js +1211 -125
  254. package/paginator/lastpagelink.umd.min.js +1 -1
  255. package/paginator/nextpagelink.common.js +1211 -125
  256. package/paginator/nextpagelink.umd.js +1211 -125
  257. package/paginator/nextpagelink.umd.min.js +1 -1
  258. package/paginator/pagelinks.common.js +1211 -125
  259. package/paginator/pagelinks.umd.js +1211 -125
  260. package/paginator/pagelinks.umd.min.js +1 -1
  261. package/paginator/paginator.common.js +186 -472
  262. package/paginator/paginator.umd.js +186 -472
  263. package/paginator/paginator.umd.min.js +1 -1
  264. package/paginator/prevpagelink.common.js +1211 -125
  265. package/paginator/prevpagelink.umd.js +1211 -125
  266. package/paginator/prevpagelink.umd.min.js +1 -1
  267. package/paginator/rowsperpagedropdown.common.js +93 -246
  268. package/paginator/rowsperpagedropdown.umd.js +93 -246
  269. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  270. package/panel/panel.common.js +1211 -125
  271. package/panel/panel.umd.js +1211 -125
  272. package/panel/panel.umd.min.js +1 -1
  273. package/panelmenu/panelmenu.common.js +10 -22
  274. package/panelmenu/panelmenu.umd.js +10 -22
  275. package/panelmenu/panelmenusub.common.js +5 -11
  276. package/panelmenu/panelmenusub.umd.js +5 -11
  277. package/password/Password.vue +40 -12
  278. package/password/password.common.js +1306 -212
  279. package/password/password.umd.js +1306 -212
  280. package/password/password.umd.min.js +1 -1
  281. package/picklist/picklist.common.js +88 -262
  282. package/picklist/picklist.umd.js +88 -262
  283. package/picklist/picklist.umd.min.js +1 -1
  284. package/progressbar/progressbar.common.js +2 -4
  285. package/progressbar/progressbar.umd.js +2 -4
  286. package/progressspinner/progressspinner.common.js +2 -5
  287. package/progressspinner/progressspinner.umd.js +2 -5
  288. package/radiobutton/radiobutton.common.js +53 -91
  289. package/radiobutton/radiobutton.umd.js +53 -91
  290. package/radiobutton/radiobutton.umd.min.js +1 -1
  291. package/rating/rating.common.js +2 -4
  292. package/rating/rating.umd.js +2 -4
  293. package/resources/primevue.css +0 -0
  294. package/resources/primevue.min.css +0 -0
  295. package/ripple/Ripple.js +0 -18
  296. package/ripple/ripple.common.js +1178 -90
  297. package/ripple/ripple.umd.js +1178 -90
  298. package/ripple/ripple.umd.min.js +1 -1
  299. package/row/row.common.js +2 -4
  300. package/row/row.umd.js +2 -4
  301. package/scrollpanel/scrollpanel.common.js +1190 -103
  302. package/scrollpanel/scrollpanel.umd.js +1190 -103
  303. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  304. package/scrolltop/scrolltop.common.js +1183 -87
  305. package/scrolltop/scrolltop.umd.js +1183 -87
  306. package/scrolltop/scrolltop.umd.min.js +1 -1
  307. package/selectbutton/selectbutton.common.js +74 -200
  308. package/selectbutton/selectbutton.umd.js +74 -200
  309. package/selectbutton/selectbutton.umd.min.js +1 -1
  310. package/sidebar/Sidebar.d.ts +1 -0
  311. package/sidebar/Sidebar.vue +3 -0
  312. package/sidebar/sidebar.common.js +1223 -145
  313. package/sidebar/sidebar.umd.js +1223 -145
  314. package/sidebar/sidebar.umd.min.js +1 -1
  315. package/skeleton/skeleton.common.js +2 -4
  316. package/skeleton/skeleton.umd.js +2 -4
  317. package/slider/Slider.vue +1 -1
  318. package/slider/slider.common.js +121 -188
  319. package/slider/slider.umd.js +121 -188
  320. package/slider/slider.umd.min.js +1 -1
  321. package/speeddial/SpeedDial.vue +2 -2
  322. package/speeddial/speeddial.common.js +1269 -204
  323. package/speeddial/speeddial.umd.js +1269 -204
  324. package/speeddial/speeddial.umd.min.js +1 -1
  325. package/splitbutton/splitbutton.common.js +1209 -148
  326. package/splitbutton/splitbutton.umd.js +1209 -148
  327. package/splitbutton/splitbutton.umd.min.js +1 -1
  328. package/splitter/splitter.common.js +1182 -101
  329. package/splitter/splitter.umd.js +1182 -101
  330. package/splitter/splitter.umd.min.js +1 -1
  331. package/steps/steps.common.js +5 -9
  332. package/steps/steps.umd.js +5 -9
  333. package/styleclass/StyleClass.js +0 -43
  334. package/styleclass/styleclass.common.js +1199 -133
  335. package/styleclass/styleclass.umd.js +1199 -133
  336. package/styleclass/styleclass.umd.min.js +1 -1
  337. package/tabmenu/TabMenu.vue +1 -9
  338. package/tabmenu/tabmenu.common.js +1215 -206
  339. package/tabmenu/tabmenu.umd.js +1215 -206
  340. package/tabmenu/tabmenu.umd.min.js +1 -1
  341. package/tabpanel/tabpanel.common.js +2 -5
  342. package/tabpanel/tabpanel.umd.js +2 -5
  343. package/tabview/tabview.common.js +86 -185
  344. package/tabview/tabview.umd.js +86 -185
  345. package/tabview/tabview.umd.min.js +1 -1
  346. package/tag/tag.common.js +2 -4
  347. package/tag/tag.umd.js +2 -4
  348. package/terminal/terminal.common.js +2 -4
  349. package/terminal/terminal.umd.js +2 -4
  350. package/terminalservice/TerminalService.js +0 -3
  351. package/textarea/Textarea.vue +24 -1
  352. package/textarea/textarea.common.js +3233 -94
  353. package/textarea/textarea.umd.js +3233 -94
  354. package/textarea/textarea.umd.min.js +1 -1
  355. package/tieredmenu/demo.html +4 -3
  356. package/tieredmenu/tieredmenu.common.js +1199 -149
  357. package/tieredmenu/tieredmenu.umd.js +1199 -149
  358. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  359. package/tieredmenu/tieredmenusub.common.js +1206 -136
  360. package/tieredmenu/tieredmenusub.umd.js +1206 -136
  361. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  362. package/timeline/timeline.common.js +53 -90
  363. package/timeline/timeline.umd.js +53 -90
  364. package/timeline/timeline.umd.min.js +1 -1
  365. package/toast/toast.common.js +74 -146
  366. package/toast/toast.umd.js +74 -146
  367. package/toast/toast.umd.min.js +1 -1
  368. package/toast/toastmessage.common.js +1187 -102
  369. package/toast/toastmessage.umd.js +1187 -102
  370. package/toast/toastmessage.umd.min.js +1 -1
  371. package/toastservice/ToastEventBus.js +0 -3
  372. package/toastservice/ToastService.js +0 -3
  373. package/togglebutton/togglebutton.common.js +1211 -125
  374. package/togglebutton/togglebutton.umd.js +1211 -125
  375. package/togglebutton/togglebutton.umd.min.js +1 -1
  376. package/toolbar/toolbar.common.js +2 -4
  377. package/toolbar/toolbar.umd.js +2 -4
  378. package/tooltip/Tooltip.js +7 -87
  379. package/tooltip/tooltip.common.js +84 -201
  380. package/tooltip/tooltip.umd.js +84 -201
  381. package/tooltip/tooltip.umd.min.js +1 -1
  382. package/tree/demo.html +3 -3
  383. package/tree/tree.common.js +100 -281
  384. package/tree/tree.umd.js +100 -281
  385. package/tree/tree.umd.min.js +1 -1
  386. package/tree/treenode.common.js +1240 -183
  387. package/tree/treenode.umd.js +1240 -183
  388. package/tree/treenode.umd.min.js +1 -1
  389. package/treetable/demo.html +3 -3
  390. package/treetable/footercell.common.js +83 -170
  391. package/treetable/footercell.umd.js +83 -170
  392. package/treetable/footercell.umd.min.js +1 -1
  393. package/treetable/headercell.common.js +83 -178
  394. package/treetable/headercell.umd.js +83 -178
  395. package/treetable/headercell.umd.min.js +1 -1
  396. package/treetable/treetable.common.js +220 -702
  397. package/treetable/treetable.umd.js +220 -702
  398. package/treetable/treetable.umd.min.js +1 -1
  399. package/treetable/treetablerow.common.js +91 -211
  400. package/treetable/treetablerow.umd.js +91 -211
  401. package/treetable/treetablerow.umd.min.js +1 -1
  402. package/treetable/treetablerowloader.common.js +94 -232
  403. package/treetable/treetablerowloader.umd.js +94 -232
  404. package/treetable/treetablerowloader.umd.min.js +1 -1
  405. package/tristatecheckbox/tristatecheckbox.common.js +2 -12
  406. package/tristatecheckbox/tristatecheckbox.umd.js +2 -12
  407. package/utils/ConnectedOverlayScrollHandler.js +4 -13
  408. package/utils/DomHandler.js +18 -63
  409. package/utils/EventBus.js +0 -3
  410. package/utils/ObjectUtils.js +15 -59
  411. package/utils/UniqueComponentId.js +0 -1
  412. package/utils/Utils.js +0 -6
  413. package/utils/connectedoverlayscrollhandler.common.js +1183 -88
  414. package/utils/connectedoverlayscrollhandler.umd.js +1183 -88
  415. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  416. package/utils/domhandler.common.js +1187 -85
  417. package/utils/domhandler.umd.js +1187 -85
  418. package/utils/domhandler.umd.min.js +1 -1
  419. package/utils/eventbus.common.js +0 -2
  420. package/utils/eventbus.umd.js +0 -2
  421. package/utils/objectutils.common.js +51 -86
  422. package/utils/objectutils.umd.js +51 -86
  423. package/utils/objectutils.umd.min.js +1 -1
  424. package/utils/utils.common.js +81 -170
  425. package/utils/utils.umd.js +81 -170
  426. package/utils/utils.umd.min.js +1 -1
  427. package/web-types.json +8 -1
@@ -1435,6 +1435,14 @@ module.exports = __webpack_require__("8e60") ? function (object, key, value) {
1435
1435
  };
1436
1436
 
1437
1437
 
1438
+ /***/ }),
1439
+
1440
+ /***/ "366e":
1441
+ /***/ (function(module, exports, __webpack_require__) {
1442
+
1443
+ module.exports = __webpack_require__("ccb9").f('toPrimitive');
1444
+
1445
+
1438
1446
  /***/ }),
1439
1447
 
1440
1448
  /***/ "36c3":
@@ -2128,13 +2136,6 @@ module.exports = function (exec, skipClosing) {
2128
2136
  };
2129
2137
 
2130
2138
 
2131
- /***/ }),
2132
-
2133
- /***/ "5d58":
2134
- /***/ (function(module, exports, __webpack_require__) {
2135
-
2136
- module.exports = __webpack_require__("d8d6");
2137
-
2138
2139
  /***/ }),
2139
2140
 
2140
2141
  /***/ "5dbc":
@@ -2404,13 +2405,6 @@ var meta = module.exports = {
2404
2405
  };
2405
2406
 
2406
2407
 
2407
- /***/ }),
2408
-
2409
- /***/ "67bb":
2410
- /***/ (function(module, exports, __webpack_require__) {
2411
-
2412
- module.exports = __webpack_require__("f921");
2413
-
2414
2408
  /***/ }),
2415
2409
 
2416
2410
  /***/ "6821":
@@ -2614,13 +2608,6 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
2614
2608
  if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
2615
2609
 
2616
2610
 
2617
- /***/ }),
2618
-
2619
- /***/ "774e":
2620
- /***/ (function(module, exports, __webpack_require__) {
2621
-
2622
- module.exports = __webpack_require__("d2d5");
2623
-
2624
2611
  /***/ }),
2625
2612
 
2626
2613
  /***/ "77f1":
@@ -2814,13 +2801,6 @@ module.exports = function () { /* empty */ };
2814
2801
  module.exports = {};
2815
2802
 
2816
2803
 
2817
- /***/ }),
2818
-
2819
- /***/ "85f2":
2820
- /***/ (function(module, exports, __webpack_require__) {
2821
-
2822
- module.exports = __webpack_require__("454f");
2823
-
2824
2804
  /***/ }),
2825
2805
 
2826
2806
  /***/ "86cc":
@@ -3443,13 +3423,6 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
3443
3423
  });
3444
3424
 
3445
3425
 
3446
- /***/ }),
3447
-
3448
- /***/ "a745":
3449
- /***/ (function(module, exports, __webpack_require__) {
3450
-
3451
- module.exports = __webpack_require__("f410");
3452
-
3453
3426
  /***/ }),
3454
3427
 
3455
3428
  /***/ "aae3":
@@ -4293,8 +4266,8 @@ if (typeof window !== 'undefined') {
4293
4266
  // Indicate to webpack that this file can be concatenated
4294
4267
  /* harmony default export */ var setPublicPath = (null);
4295
4268
 
4296
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js
4297
- var is_array = __webpack_require__("a745");
4269
+ // EXTERNAL MODULE: ./node_modules/core-js/library/fn/array/is-array.js
4270
+ var is_array = __webpack_require__("f410");
4298
4271
  var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
4299
4272
 
4300
4273
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithHoles.js
@@ -4302,58 +4275,52 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
4302
4275
  function _arrayWithHoles(arr) {
4303
4276
  if (is_array_default()(arr)) return arr;
4304
4277
  }
4305
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/symbol.js
4306
- var symbol = __webpack_require__("67bb");
4278
+ // EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/index.js
4279
+ var symbol = __webpack_require__("f921");
4307
4280
  var symbol_default = /*#__PURE__*/__webpack_require__.n(symbol);
4308
4281
 
4309
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/symbol/iterator.js
4310
- var iterator = __webpack_require__("5d58");
4282
+ // EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/iterator.js
4283
+ var iterator = __webpack_require__("d8d6");
4311
4284
  var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
4312
4285
 
4313
4286
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArrayLimit.js
4314
4287
 
4315
4288
 
4316
4289
  function _iterableToArrayLimit(arr, i) {
4317
- var _i = arr == null ? null : typeof symbol_default.a !== "undefined" && arr[iterator_default.a] || arr["@@iterator"];
4318
-
4319
- if (_i == null) return;
4320
- var _arr = [];
4321
- var _n = true;
4322
- var _d = false;
4323
-
4324
- var _s, _e;
4325
-
4326
- try {
4327
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
4328
- _arr.push(_s.value);
4329
-
4330
- if (i && _arr.length === i) break;
4331
- }
4332
- } catch (err) {
4333
- _d = true;
4334
- _e = err;
4335
- } finally {
4290
+ var _i = null == arr ? null : "undefined" != typeof symbol_default.a && arr[iterator_default.a] || arr["@@iterator"];
4291
+ if (null != _i) {
4292
+ var _s,
4293
+ _e,
4294
+ _x,
4295
+ _r,
4296
+ _arr = [],
4297
+ _n = !0,
4298
+ _d = !1;
4336
4299
  try {
4337
- if (!_n && _i["return"] != null) _i["return"]();
4300
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
4301
+ if (Object(_i) !== _i) return;
4302
+ _n = !1;
4303
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
4304
+ } catch (err) {
4305
+ _d = !0, _e = err;
4338
4306
  } finally {
4339
- if (_d) throw _e;
4307
+ try {
4308
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
4309
+ } finally {
4310
+ if (_d) throw _e;
4311
+ }
4340
4312
  }
4313
+ return _arr;
4341
4314
  }
4342
-
4343
- return _arr;
4344
4315
  }
4345
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/from.js
4346
- var from = __webpack_require__("774e");
4316
+ // EXTERNAL MODULE: ./node_modules/core-js/library/fn/array/from.js
4317
+ var from = __webpack_require__("d2d5");
4347
4318
  var from_default = /*#__PURE__*/__webpack_require__.n(from);
4348
4319
 
4349
4320
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
4350
4321
  function _arrayLikeToArray(arr, len) {
4351
4322
  if (len == null || len > arr.length) len = arr.length;
4352
-
4353
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
4354
- arr2[i] = arr[i];
4355
- }
4356
-
4323
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
4357
4324
  return arr2;
4358
4325
  }
4359
4326
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray.js
@@ -4446,10 +4413,34 @@ function _classCallCheck(instance, Constructor) {
4446
4413
  throw new TypeError("Cannot call a class as a function");
4447
4414
  }
4448
4415
  }
4449
- // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
4450
- var define_property = __webpack_require__("85f2");
4416
+ // EXTERNAL MODULE: ./node_modules/core-js/library/fn/object/define-property.js
4417
+ var define_property = __webpack_require__("454f");
4451
4418
  var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
4452
4419
 
4420
+ // EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/to-primitive.js
4421
+ var to_primitive = __webpack_require__("366e");
4422
+ var to_primitive_default = /*#__PURE__*/__webpack_require__.n(to_primitive);
4423
+
4424
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toPrimitive.js
4425
+
4426
+
4427
+ function _toPrimitive(input, hint) {
4428
+ if (_typeof(input) !== "object" || input === null) return input;
4429
+ var prim = input[to_primitive_default.a];
4430
+ if (prim !== undefined) {
4431
+ var res = prim.call(input, hint || "default");
4432
+ if (_typeof(res) !== "object") return res;
4433
+ throw new TypeError("@@toPrimitive must return a primitive value.");
4434
+ }
4435
+ return (hint === "string" ? String : Number)(input);
4436
+ }
4437
+ // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toPropertyKey.js
4438
+
4439
+
4440
+ function _toPropertyKey(arg) {
4441
+ var key = _toPrimitive(arg, "string");
4442
+ return _typeof(key) === "symbol" ? key : String(key);
4443
+ }
4453
4444
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
4454
4445
 
4455
4446
 
@@ -4459,19 +4450,15 @@ function _defineProperties(target, props) {
4459
4450
  descriptor.enumerable = descriptor.enumerable || false;
4460
4451
  descriptor.configurable = true;
4461
4452
  if ("value" in descriptor) descriptor.writable = true;
4462
-
4463
- define_property_default()(target, descriptor.key, descriptor);
4453
+ define_property_default()(target, _toPropertyKey(descriptor.key), descriptor);
4464
4454
  }
4465
4455
  }
4466
-
4467
4456
  function _createClass(Constructor, protoProps, staticProps) {
4468
4457
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
4469
4458
  if (staticProps) _defineProperties(Constructor, staticProps);
4470
-
4471
4459
  define_property_default()(Constructor, "prototype", {
4472
4460
  writable: false
4473
4461
  });
4474
-
4475
4462
  return Constructor;
4476
4463
  }
4477
4464
  // CONCATENATED MODULE: ./src/components/utils/DomHandler.js
@@ -4487,18 +4474,13 @@ function _createClass(Constructor, protoProps, staticProps) {
4487
4474
 
4488
4475
 
4489
4476
 
4490
-
4491
4477
  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; } } }; }
4492
-
4493
4478
  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); }
4494
-
4495
- 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; }
4496
-
4479
+ 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; }
4497
4480
  var DomHandler_DomHandler = /*#__PURE__*/function () {
4498
4481
  function DomHandler() {
4499
4482
  _classCallCheck(this, DomHandler);
4500
4483
  }
4501
-
4502
4484
  _createClass(DomHandler, null, [{
4503
4485
  key: "innerWidth",
4504
4486
  value: function innerWidth(el) {
@@ -4532,12 +4514,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4532
4514
  value: function getOuterWidth(el, margin) {
4533
4515
  if (el) {
4534
4516
  var width = el.offsetWidth;
4535
-
4536
4517
  if (margin) {
4537
4518
  var style = getComputedStyle(el);
4538
4519
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
4539
4520
  }
4540
-
4541
4521
  return width;
4542
4522
  } else {
4543
4523
  return 0;
@@ -4548,12 +4528,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4548
4528
  value: function getOuterHeight(el, margin) {
4549
4529
  if (el) {
4550
4530
  var height = el.offsetHeight;
4551
-
4552
4531
  if (margin) {
4553
4532
  var style = getComputedStyle(el);
4554
4533
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
4555
4534
  }
4556
-
4557
4535
  return height;
4558
4536
  } else {
4559
4537
  return 0;
@@ -4564,12 +4542,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4564
4542
  value: function getClientHeight(el, margin) {
4565
4543
  if (el) {
4566
4544
  var height = el.clientHeight;
4567
-
4568
4545
  if (margin) {
4569
4546
  var style = getComputedStyle(el);
4570
4547
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
4571
4548
  }
4572
-
4573
4549
  return height;
4574
4550
  } else {
4575
4551
  return 0;
@@ -4579,11 +4555,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4579
4555
  key: "getViewport",
4580
4556
  value: function getViewport() {
4581
4557
  var win = window,
4582
- d = document,
4583
- e = d.documentElement,
4584
- g = d.getElementsByTagName('body')[0],
4585
- w = win.innerWidth || e.clientWidth || g.clientWidth,
4586
- h = win.innerHeight || e.clientHeight || g.clientHeight;
4558
+ d = document,
4559
+ e = d.documentElement,
4560
+ g = d.getElementsByTagName('body')[0],
4561
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
4562
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
4587
4563
  return {
4588
4564
  width: w,
4589
4565
  height: h
@@ -4614,12 +4590,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4614
4590
  value: function index(element) {
4615
4591
  var children = element.parentNode.childNodes;
4616
4592
  var num = 0;
4617
-
4618
4593
  for (var i = 0; i < children.length; i++) {
4619
4594
  if (children[i] === element) return num;
4620
4595
  if (children[i].nodeType === 1) num++;
4621
4596
  }
4622
-
4623
4597
  return -1;
4624
4598
  }
4625
4599
  }, {
@@ -4627,13 +4601,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4627
4601
  value: function addMultipleClasses(element, className) {
4628
4602
  if (element.classList) {
4629
4603
  var styles = className.split(' ');
4630
-
4631
4604
  for (var i = 0; i < styles.length; i++) {
4632
4605
  element.classList.add(styles[i]);
4633
4606
  }
4634
4607
  } else {
4635
4608
  var _styles = className.split(' ');
4636
-
4637
4609
  for (var _i = 0; _i < _styles.length; _i++) {
4638
4610
  element.className += ' ' + _styles[_i];
4639
4611
  }
@@ -4655,7 +4627,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4655
4627
  if (element) {
4656
4628
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
4657
4629
  }
4658
-
4659
4630
  return false;
4660
4631
  }
4661
4632
  }, {
@@ -4700,11 +4671,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4700
4671
  var windowScrollLeft = this.getWindowScrollLeft();
4701
4672
  var viewport = this.getViewport();
4702
4673
  var top, left;
4703
-
4704
4674
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
4705
4675
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
4706
4676
  element.style.transformOrigin = 'bottom';
4707
-
4708
4677
  if (top < 0) {
4709
4678
  top = windowScrollTop;
4710
4679
  }
@@ -4712,7 +4681,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4712
4681
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
4713
4682
  element.style.transformOrigin = 'top';
4714
4683
  }
4715
-
4716
4684
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
4717
4685
  element.style.top = top + 'px';
4718
4686
  element.style.left = left + 'px';
@@ -4728,11 +4696,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4728
4696
  var targetOffset = target.getBoundingClientRect();
4729
4697
  var viewport = this.getViewport();
4730
4698
  var top, left;
4731
-
4732
4699
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
4733
4700
  top = -1 * elementDimensions.height;
4734
4701
  element.style.transformOrigin = 'bottom';
4735
-
4736
4702
  if (targetOffset.top + top < 0) {
4737
4703
  top = -1 * targetOffset.top;
4738
4704
  }
@@ -4740,7 +4706,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4740
4706
  top = targetHeight;
4741
4707
  element.style.transformOrigin = 'top';
4742
4708
  }
4743
-
4744
4709
  if (elementDimensions.width > viewport.width) {
4745
4710
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
4746
4711
  left = targetOffset.left * -1;
@@ -4751,7 +4716,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4751
4716
  // element fits on screen (align with target)
4752
4717
  left = 0;
4753
4718
  }
4754
-
4755
4719
  element.style.top = top + 'px';
4756
4720
  element.style.left = left + 'px';
4757
4721
  }
@@ -4765,35 +4729,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4765
4729
  key: "getScrollableParents",
4766
4730
  value: function getScrollableParents(element) {
4767
4731
  var scrollableParents = [];
4768
-
4769
4732
  if (element) {
4770
4733
  var parents = this.getParents(element);
4771
4734
  var overflowRegex = /(auto|scroll)/;
4772
-
4773
4735
  var overflowCheck = function overflowCheck(node) {
4774
4736
  var styleDeclaration = window['getComputedStyle'](node, null);
4775
4737
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
4776
4738
  };
4777
-
4778
4739
  var _iterator = _createForOfIteratorHelper(parents),
4779
- _step;
4780
-
4740
+ _step;
4781
4741
  try {
4782
4742
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
4783
4743
  var parent = _step.value;
4784
4744
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
4785
-
4786
4745
  if (scrollSelectors) {
4787
4746
  var selectors = scrollSelectors.split(',');
4788
-
4789
4747
  var _iterator2 = _createForOfIteratorHelper(selectors),
4790
- _step2;
4791
-
4748
+ _step2;
4792
4749
  try {
4793
4750
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
4794
4751
  var selector = _step2.value;
4795
4752
  var el = this.findSingle(parent, selector);
4796
-
4797
4753
  if (el && overflowCheck(el)) {
4798
4754
  scrollableParents.push(el);
4799
4755
  }
@@ -4811,7 +4767,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4811
4767
  _iterator.f();
4812
4768
  }
4813
4769
  }
4814
-
4815
4770
  return scrollableParents;
4816
4771
  }
4817
4772
  }, {
@@ -4852,34 +4807,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4852
4807
  element.style.opacity = 0;
4853
4808
  var last = +new Date();
4854
4809
  var opacity = 0;
4855
-
4856
4810
  var tick = function tick() {
4857
4811
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
4858
4812
  element.style.opacity = opacity;
4859
4813
  last = +new Date();
4860
-
4861
4814
  if (+opacity < 1) {
4862
4815
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
4863
4816
  }
4864
4817
  };
4865
-
4866
4818
  tick();
4867
4819
  }
4868
4820
  }, {
4869
4821
  key: "fadeOut",
4870
4822
  value: function fadeOut(element, ms) {
4871
4823
  var opacity = 1,
4872
- interval = 50,
4873
- duration = ms,
4874
- gap = interval / duration;
4824
+ interval = 50,
4825
+ duration = ms,
4826
+ gap = interval / duration;
4875
4827
  var fading = setInterval(function () {
4876
4828
  opacity -= gap;
4877
-
4878
4829
  if (opacity <= 0) {
4879
4830
  opacity = 0;
4880
4831
  clearInterval(fading);
4881
4832
  }
4882
-
4883
4833
  element.style.opacity = opacity;
4884
4834
  }, interval);
4885
4835
  }
@@ -4906,7 +4856,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4906
4856
  var scroll = container.scrollTop;
4907
4857
  var elementHeight = container.clientHeight;
4908
4858
  var itemHeight = this.getOuterHeight(item);
4909
-
4910
4859
  if (offset < 0) {
4911
4860
  container.scrollTop = scroll + offset;
4912
4861
  } else if (offset + itemHeight > elementHeight) {
@@ -4925,7 +4874,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4925
4874
  } else if (document['selection'] && document['selection'].empty) {
4926
4875
  try {
4927
4876
  document['selection'].empty();
4928
- } catch (error) {//ignore IE bug
4877
+ } catch (error) {
4878
+ //ignore IE bug
4929
4879
  }
4930
4880
  }
4931
4881
  }
@@ -4947,19 +4897,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4947
4897
  if (!this.browser) {
4948
4898
  var matched = this.resolveUserAgent();
4949
4899
  this.browser = {};
4950
-
4951
4900
  if (matched.browser) {
4952
4901
  this.browser[matched.browser] = true;
4953
4902
  this.browser['version'] = matched.version;
4954
4903
  }
4955
-
4956
4904
  if (this.browser['chrome']) {
4957
4905
  this.browser['webkit'] = true;
4958
4906
  } else if (this.browser['webkit']) {
4959
4907
  this.browser['safari'] = true;
4960
4908
  }
4961
4909
  }
4962
-
4963
4910
  return this.browser;
4964
4911
  }
4965
4912
  }, {
@@ -4987,10 +4934,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4987
4934
  value: function getFocusableElements(element) {
4988
4935
  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])");
4989
4936
  var visibleFocusableElements = [];
4990
-
4991
4937
  var _iterator3 = _createForOfIteratorHelper(focusableElements),
4992
- _step3;
4993
-
4938
+ _step3;
4994
4939
  try {
4995
4940
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
4996
4941
  var focusableElement = _step3.value;
@@ -5001,7 +4946,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5001
4946
  } finally {
5002
4947
  _iterator3.f();
5003
4948
  }
5004
-
5005
4949
  return visibleFocusableElements;
5006
4950
  }
5007
4951
  }, {
@@ -5044,31 +4988,24 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5044
4988
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
5045
4989
  }
5046
4990
  }]);
5047
-
5048
4991
  return DomHandler;
5049
4992
  }();
5050
4993
 
5051
-
5052
4994
  // CONCATENATED MODULE: ./src/components/utils/ConnectedOverlayScrollHandler.js
5053
4995
 
5054
4996
 
5055
4997
 
5056
-
5057
4998
  var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
5058
4999
  function ConnectedOverlayScrollHandler(element) {
5059
5000
  var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
5060
-
5061
5001
  _classCallCheck(this, ConnectedOverlayScrollHandler);
5062
-
5063
5002
  this.element = element;
5064
5003
  this.listener = listener;
5065
5004
  }
5066
-
5067
5005
  _createClass(ConnectedOverlayScrollHandler, [{
5068
5006
  key: "bindScrollListener",
5069
5007
  value: function bindScrollListener() {
5070
5008
  this.scrollableParents = DomHandler_DomHandler.getScrollableParents(this.element);
5071
-
5072
5009
  for (var i = 0; i < this.scrollableParents.length; i++) {
5073
5010
  this.scrollableParents[i].addEventListener('scroll', this.listener);
5074
5011
  }
@@ -5091,11 +5028,9 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
5091
5028
  this.scrollableParents = null;
5092
5029
  }
5093
5030
  }]);
5094
-
5095
5031
  return ConnectedOverlayScrollHandler;
5096
5032
  }();
5097
5033
 
5098
-
5099
5034
  // CONCATENATED MODULE: ./src/components/tooltip/Tooltip.js
5100
5035
 
5101
5036
 
@@ -5106,10 +5041,8 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
5106
5041
 
5107
5042
 
5108
5043
 
5109
-
5110
5044
  function bindEvents(el) {
5111
5045
  var modifiers = el.$_ptooltipModifiers;
5112
-
5113
5046
  if (modifiers.focus) {
5114
5047
  el.addEventListener('focus', onFocus);
5115
5048
  el.addEventListener('blur', onBlur);
@@ -5119,10 +5052,8 @@ function bindEvents(el) {
5119
5052
  el.addEventListener('click', onClick);
5120
5053
  }
5121
5054
  }
5122
-
5123
5055
  function unbindEvents(el) {
5124
5056
  var modifiers = el.$_ptooltipModifiers;
5125
-
5126
5057
  if (modifiers.focus) {
5127
5058
  el.removeEventListener('focus', onFocus);
5128
5059
  el.removeEventListener('blur', onBlur);
@@ -5132,48 +5063,38 @@ function unbindEvents(el) {
5132
5063
  el.removeEventListener('click', onClick);
5133
5064
  }
5134
5065
  }
5135
-
5136
5066
  function Tooltip_bindScrollListener(el) {
5137
5067
  if (!el.$_ptooltipScrollHandler) {
5138
5068
  el.$_ptooltipScrollHandler = new ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler(el, function () {
5139
5069
  hide(el);
5140
5070
  });
5141
5071
  }
5142
-
5143
5072
  el.$_ptooltipScrollHandler.bindScrollListener();
5144
5073
  }
5145
-
5146
5074
  function unbindScrollListener(el) {
5147
5075
  if (el.$_ptooltipScrollHandler) {
5148
5076
  el.$_ptooltipScrollHandler.unbindScrollListener();
5149
5077
  }
5150
5078
  }
5151
-
5152
5079
  function onMouseEnter(event) {
5153
5080
  show(event.currentTarget);
5154
5081
  }
5155
-
5156
5082
  function onMouseLeave(event) {
5157
5083
  hide(event.currentTarget);
5158
5084
  }
5159
-
5160
5085
  function onFocus(event) {
5161
5086
  show(event.currentTarget);
5162
5087
  }
5163
-
5164
5088
  function onBlur(event) {
5165
5089
  hide(event.currentTarget);
5166
5090
  }
5167
-
5168
5091
  function onClick(event) {
5169
5092
  hide(event.currentTarget);
5170
5093
  }
5171
-
5172
5094
  function show(el) {
5173
5095
  if (el.$_ptooltipDisabled) {
5174
5096
  return;
5175
5097
  }
5176
-
5177
5098
  var tooltipElement = create(el);
5178
5099
  align(el);
5179
5100
  DomHandler_DomHandler.fadeIn(tooltipElement, 250);
@@ -5182,21 +5103,17 @@ function show(el) {
5182
5103
  if (!DomHandler_DomHandler.isAndroid()) {
5183
5104
  hide(el);
5184
5105
  }
5185
-
5186
5106
  this.removeEventListener('resize', onWindowResize);
5187
5107
  });
5188
5108
  Tooltip_bindScrollListener(el);
5189
5109
  }
5190
-
5191
5110
  function hide(el) {
5192
5111
  remove(el);
5193
5112
  unbindScrollListener(el);
5194
5113
  }
5195
-
5196
5114
  function getTooltipElement(el) {
5197
5115
  return document.getElementById(el.$_ptooltipId);
5198
5116
  }
5199
-
5200
5117
  function create(el) {
5201
5118
  var id = UniqueComponentId() + '_tooltip';
5202
5119
  el.$_ptooltipId = id;
@@ -5207,57 +5124,44 @@ function create(el) {
5207
5124
  container.appendChild(tooltipArrow);
5208
5125
  var tooltipText = document.createElement('div');
5209
5126
  tooltipText.className = 'p-tooltip-text';
5210
-
5211
5127
  if (el.$_ptooltipEscape) {
5212
5128
  tooltipText.innerHTML = el.$_ptooltipValue;
5213
5129
  } else {
5214
5130
  tooltipText.innerHTML = '';
5215
5131
  tooltipText.appendChild(document.createTextNode(el.$_ptooltipValue));
5216
5132
  }
5217
-
5218
5133
  container.appendChild(tooltipText);
5219
5134
  document.body.appendChild(container);
5220
5135
  container.style.display = 'inline-block';
5221
5136
  return container;
5222
5137
  }
5223
-
5224
5138
  function remove(el) {
5225
5139
  if (el) {
5226
5140
  var tooltipElement = getTooltipElement(el);
5227
-
5228
5141
  if (tooltipElement && tooltipElement.parentElement) {
5229
5142
  document.body.removeChild(tooltipElement);
5230
5143
  }
5231
-
5232
5144
  el.$_ptooltipId = null;
5233
5145
  }
5234
5146
  }
5235
-
5236
5147
  function align(el) {
5237
5148
  var modifiers = el.$_ptooltipModifiers;
5238
-
5239
5149
  if (modifiers.top) {
5240
5150
  alignTop(el);
5241
-
5242
5151
  if (isOutOfBounds(el)) {
5243
5152
  alignBottom(el);
5244
-
5245
5153
  if (isOutOfBounds(el)) {
5246
5154
  alignTop(el);
5247
5155
  }
5248
5156
  }
5249
5157
  } else if (modifiers.left) {
5250
5158
  alignLeft(el);
5251
-
5252
5159
  if (isOutOfBounds(el)) {
5253
5160
  alignRight(el);
5254
-
5255
5161
  if (isOutOfBounds(el)) {
5256
5162
  alignTop(el);
5257
-
5258
5163
  if (isOutOfBounds(el)) {
5259
5164
  alignBottom(el);
5260
-
5261
5165
  if (isOutOfBounds(el)) {
5262
5166
  alignLeft(el);
5263
5167
  }
@@ -5266,26 +5170,20 @@ function align(el) {
5266
5170
  }
5267
5171
  } else if (modifiers.bottom) {
5268
5172
  alignBottom(el);
5269
-
5270
5173
  if (isOutOfBounds(el)) {
5271
5174
  alignTop(el);
5272
-
5273
5175
  if (isOutOfBounds(el)) {
5274
5176
  alignBottom(el);
5275
5177
  }
5276
5178
  }
5277
5179
  } else {
5278
5180
  alignRight(el);
5279
-
5280
5181
  if (isOutOfBounds(el)) {
5281
5182
  alignLeft(el);
5282
-
5283
5183
  if (isOutOfBounds(el)) {
5284
5184
  alignTop(el);
5285
-
5286
5185
  if (isOutOfBounds(el)) {
5287
5186
  alignBottom(el);
5288
-
5289
5187
  if (isOutOfBounds(el)) {
5290
5188
  alignRight(el);
5291
5189
  }
@@ -5294,7 +5192,6 @@ function align(el) {
5294
5192
  }
5295
5193
  }
5296
5194
  }
5297
-
5298
5195
  function getHostOffset(el) {
5299
5196
  var offset = el.getBoundingClientRect();
5300
5197
  var targetLeft = offset.left + DomHandler_DomHandler.getWindowScrollLeft();
@@ -5304,7 +5201,6 @@ function getHostOffset(el) {
5304
5201
  top: targetTop
5305
5202
  };
5306
5203
  }
5307
-
5308
5204
  function alignRight(el) {
5309
5205
  preAlign(el, 'right');
5310
5206
  var tooltipElement = getTooltipElement(el);
@@ -5314,7 +5210,6 @@ function alignRight(el) {
5314
5210
  tooltipElement.style.left = left + 'px';
5315
5211
  tooltipElement.style.top = top + 'px';
5316
5212
  }
5317
-
5318
5213
  function alignLeft(el) {
5319
5214
  preAlign(el, 'left');
5320
5215
  var tooltipElement = getTooltipElement(el);
@@ -5324,7 +5219,6 @@ function alignLeft(el) {
5324
5219
  tooltipElement.style.left = left + 'px';
5325
5220
  tooltipElement.style.top = top + 'px';
5326
5221
  }
5327
-
5328
5222
  function alignTop(el) {
5329
5223
  preAlign(el, 'top');
5330
5224
  var tooltipElement = getTooltipElement(el);
@@ -5334,7 +5228,6 @@ function alignTop(el) {
5334
5228
  tooltipElement.style.left = left + 'px';
5335
5229
  tooltipElement.style.top = top + 'px';
5336
5230
  }
5337
-
5338
5231
  function alignBottom(el) {
5339
5232
  preAlign(el, 'bottom');
5340
5233
  var tooltipElement = getTooltipElement(el);
@@ -5344,14 +5237,12 @@ function alignBottom(el) {
5344
5237
  tooltipElement.style.left = left + 'px';
5345
5238
  tooltipElement.style.top = top + 'px';
5346
5239
  }
5347
-
5348
5240
  function preAlign(el, position) {
5349
5241
  var tooltipElement = getTooltipElement(el);
5350
5242
  tooltipElement.style.left = -999 + 'px';
5351
5243
  tooltipElement.style.top = -999 + 'px';
5352
5244
  tooltipElement.className = 'p-tooltip p-component p-tooltip-' + position;
5353
5245
  }
5354
-
5355
5246
  function isOutOfBounds(el) {
5356
5247
  var tooltipElement = getTooltipElement(el);
5357
5248
  var offset = tooltipElement.getBoundingClientRect();
@@ -5362,32 +5253,27 @@ function isOutOfBounds(el) {
5362
5253
  var viewport = DomHandler_DomHandler.getViewport();
5363
5254
  return targetLeft + width > viewport.width || targetLeft < 0 || targetTop < 0 || targetTop + height > viewport.height;
5364
5255
  }
5365
-
5366
5256
  function getModifiers(options) {
5367
5257
  // modifiers
5368
5258
  if (options.modifiers && Object.keys(options.modifiers).length) {
5369
5259
  return options.modifiers;
5370
- } // arg
5371
-
5260
+ }
5372
5261
 
5262
+ // arg
5373
5263
  if (options.arg && _typeof(options.arg) === 'object') {
5374
5264
  return Object.entries(options.arg).reduce(function (acc, _ref) {
5375
5265
  var _ref2 = _slicedToArray(_ref, 2),
5376
- key = _ref2[0],
5377
- val = _ref2[1];
5378
-
5266
+ key = _ref2[0],
5267
+ val = _ref2[1];
5379
5268
  if (key === 'event' || key === 'position') acc[val] = true;
5380
5269
  return acc;
5381
5270
  }, {});
5382
5271
  }
5383
-
5384
5272
  return {};
5385
5273
  }
5386
-
5387
5274
  var Tooltip = {
5388
5275
  bind: function bind(el, options) {
5389
5276
  el.$_ptooltipModifiers = getModifiers(options);
5390
-
5391
5277
  if (typeof options.value === 'string') {
5392
5278
  el.$_ptooltipValue = options.value;
5393
5279
  el.$_ptooltipDisabled = false;
@@ -5397,13 +5283,11 @@ var Tooltip = {
5397
5283
  el.$_ptooltipDisabled = options.value.disabled || false;
5398
5284
  el.$_ptooltipEscape = options.value.escape || false;
5399
5285
  }
5400
-
5401
5286
  bindEvents(el);
5402
5287
  },
5403
5288
  unbind: function unbind(el) {
5404
5289
  remove(el);
5405
5290
  unbindEvents(el);
5406
-
5407
5291
  if (el.$_ptooltipScrollHandler) {
5408
5292
  el.$_ptooltipScrollHandler.destroy();
5409
5293
  el.$_ptooltipScrollHandler = null;
@@ -5411,7 +5295,6 @@ var Tooltip = {
5411
5295
  },
5412
5296
  update: function update(el, options) {
5413
5297
  el.$_ptooltipModifiers = getModifiers(options);
5414
-
5415
5298
  if (typeof options.value === 'string') {
5416
5299
  el.$_ptooltipValue = options.value;
5417
5300
  el.$_ptooltipDisabled = false;
@@ -5419,7 +5302,7 @@ var Tooltip = {
5419
5302
  } else {
5420
5303
  el.$_ptooltipValue = options.value.value;
5421
5304
  el.$_ptooltipDisabled = options.value.disabled;
5422
- el.$_ptooltipEscape = false;
5305
+ el.$_ptooltipEscape = options.value.escape || false;
5423
5306
  }
5424
5307
  }
5425
5308
  };