primevue 2.9.2 → 2.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (462) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +150 -3
  3. package/accordion/accordion.common.js +66 -72
  4. package/accordion/accordion.umd.js +66 -72
  5. package/accordion/accordion.umd.min.js +1 -1
  6. package/accordiontab/accordiontab.common.js +73 -103
  7. package/accordiontab/accordiontab.umd.js +73 -103
  8. package/accordiontab/accordiontab.umd.min.js +1 -1
  9. package/api/Api.d.ts +24 -2
  10. package/api/Api.js +0 -6
  11. package/api/FilterService.js +2 -55
  12. package/api/PrimeIcons.js +24 -2
  13. package/api/api.common.js +35 -98
  14. package/api/api.umd.js +35 -98
  15. package/api/api.umd.min.js +1 -1
  16. package/api/filterservice.common.js +11 -96
  17. package/api/filterservice.umd.js +11 -96
  18. package/api/primeicons.common.js +24 -2
  19. package/api/primeicons.umd.js +24 -2
  20. package/api/primeicons.umd.min.js +1 -1
  21. package/autocomplete/autocomplete.common.js +241 -293
  22. package/autocomplete/autocomplete.umd.js +241 -293
  23. package/autocomplete/autocomplete.umd.min.js +1 -1
  24. package/avatar/avatar.common.js +64 -61
  25. package/avatar/avatar.umd.js +64 -61
  26. package/avatar/avatar.umd.min.js +1 -1
  27. package/avatargroup/avatargroup.common.js +44 -47
  28. package/avatargroup/avatargroup.umd.js +44 -47
  29. package/avatargroup/avatargroup.umd.min.js +1 -1
  30. package/badge/badge.common.js +22 -23
  31. package/badge/badge.umd.js +22 -23
  32. package/badge/badge.umd.min.js +1 -1
  33. package/badgedirective/BadgeDirective.js +0 -13
  34. package/badgedirective/badgedirective.common.js +13 -71
  35. package/badgedirective/badgedirective.umd.js +13 -71
  36. package/blockui/blockui.common.js +79 -138
  37. package/blockui/blockui.umd.js +79 -138
  38. package/blockui/blockui.umd.min.js +1 -1
  39. package/breadcrumb/breadcrumb.common.js +130 -90
  40. package/breadcrumb/breadcrumb.umd.js +130 -90
  41. package/breadcrumb/breadcrumb.umd.min.js +1 -1
  42. package/breadcrumb/breadcrumbitem.common.js +67 -40
  43. package/breadcrumb/breadcrumbitem.umd.js +67 -40
  44. package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
  45. package/button/Button.d.ts +2 -0
  46. package/button/Button.vue +10 -1
  47. package/button/button.common.js +64 -109
  48. package/button/button.umd.js +64 -109
  49. package/button/button.umd.min.js +1 -1
  50. package/calendar/Calendar.vue +7 -3
  51. package/calendar/calendar.common.js +714 -721
  52. package/calendar/calendar.umd.js +714 -721
  53. package/calendar/calendar.umd.min.js +1 -1
  54. package/card/card.common.js +59 -62
  55. package/card/card.umd.js +59 -62
  56. package/card/card.umd.min.js +1 -1
  57. package/carousel/carousel.common.js +190 -231
  58. package/carousel/carousel.umd.js +190 -231
  59. package/carousel/carousel.umd.min.js +1 -1
  60. package/cascadeselect/cascadeselect.common.js +230 -294
  61. package/cascadeselect/cascadeselect.umd.js +230 -294
  62. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  63. package/cascadeselect/cascadeselectsub.common.js +101 -183
  64. package/cascadeselect/cascadeselectsub.umd.js +101 -183
  65. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  66. package/cascadeselect/demo.html +4 -3
  67. package/chart/chart.common.js +77 -74
  68. package/chart/chart.umd.js +77 -74
  69. package/chart/chart.umd.min.js +1 -1
  70. package/checkbox/checkbox.common.js +70 -87
  71. package/checkbox/checkbox.umd.js +70 -87
  72. package/checkbox/checkbox.umd.min.js +1 -1
  73. package/chip/chip.common.js +66 -52
  74. package/chip/chip.umd.js +66 -52
  75. package/chip/chip.umd.min.js +1 -1
  76. package/chips/chips.common.js +122 -96
  77. package/chips/chips.umd.js +122 -96
  78. package/chips/chips.umd.min.js +1 -1
  79. package/colorpicker/colorpicker.common.js +149 -193
  80. package/colorpicker/colorpicker.umd.js +149 -193
  81. package/colorpicker/colorpicker.umd.min.js +1 -1
  82. package/column/column.common.js +13 -15
  83. package/column/column.umd.js +13 -15
  84. package/columngroup/columngroup.common.js +20 -25
  85. package/columngroup/columngroup.umd.js +20 -25
  86. package/columngroup/columngroup.umd.min.js +1 -1
  87. package/config/PrimeVue.js +0 -5
  88. package/config/primevue.common.js +35 -102
  89. package/config/primevue.umd.js +35 -102
  90. package/config/primevue.umd.min.js +1 -1
  91. package/confirmationeventbus/ConfirmationEventBus.js +0 -4
  92. package/confirmationeventbus/confirmationeventbus.common.js +0 -2
  93. package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
  94. package/confirmationservice/ConfirmationService.js +0 -3
  95. package/confirmationservice/confirmationservice.common.js +0 -2
  96. package/confirmationservice/confirmationservice.umd.js +0 -2
  97. package/confirmdialog/confirmdialog.common.js +247 -218
  98. package/confirmdialog/confirmdialog.umd.js +247 -218
  99. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  100. package/confirmpopup/confirmpopup.common.js +154 -196
  101. package/confirmpopup/confirmpopup.umd.js +154 -196
  102. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  103. package/contextmenu/contextmenu.common.js +216 -206
  104. package/contextmenu/contextmenu.umd.js +216 -206
  105. package/contextmenu/contextmenu.umd.min.js +1 -1
  106. package/contextmenu/contextmenusub.common.js +138 -134
  107. package/contextmenu/contextmenusub.umd.js +138 -134
  108. package/contextmenu/contextmenusub.umd.min.js +1 -1
  109. package/contextmenu/demo.html +3 -4
  110. package/datatable/BodyCell.vue +11 -2
  111. package/datatable/ColumnFilter.vue +1 -1
  112. package/datatable/DataTable.vue +2 -12
  113. package/datatable/HeaderCheckbox.vue +5 -8
  114. package/datatable/bodycell.common.js +283 -246
  115. package/datatable/bodycell.umd.js +283 -246
  116. package/datatable/bodycell.umd.min.js +1 -1
  117. package/datatable/columnfilter.common.js +516 -422
  118. package/datatable/columnfilter.umd.js +516 -422
  119. package/datatable/columnfilter.umd.min.js +1 -1
  120. package/datatable/columnslot.common.js +13 -15
  121. package/datatable/columnslot.umd.js +13 -15
  122. package/datatable/datatable.common.js +2250 -1551
  123. package/datatable/datatable.umd.js +2250 -1551
  124. package/datatable/datatable.umd.min.js +1 -1
  125. package/datatable/footercell.common.js +56 -142
  126. package/datatable/footercell.umd.js +56 -142
  127. package/datatable/footercell.umd.min.js +1 -1
  128. package/datatable/headercell.common.js +666 -483
  129. package/datatable/headercell.umd.js +666 -483
  130. package/datatable/headercell.umd.min.js +1 -1
  131. package/datatable/headercheckbox.common.js +59 -33
  132. package/datatable/headercheckbox.umd.js +59 -33
  133. package/datatable/headercheckbox.umd.min.js +1 -1
  134. package/datatable/rowcheckbox.common.js +61 -30
  135. package/datatable/rowcheckbox.umd.js +61 -30
  136. package/datatable/rowcheckbox.umd.min.js +1 -1
  137. package/datatable/rowradiobutton.common.js +54 -27
  138. package/datatable/rowradiobutton.umd.js +54 -27
  139. package/datatable/rowradiobutton.umd.min.js +1 -1
  140. package/datatable/tablebody.common.js +461 -321
  141. package/datatable/tablebody.umd.js +461 -321
  142. package/datatable/tablebody.umd.min.js +1 -1
  143. package/datatable/tablefooter.common.js +94 -175
  144. package/datatable/tablefooter.umd.js +94 -175
  145. package/datatable/tablefooter.umd.min.js +1 -1
  146. package/datatable/tableheader.common.js +872 -539
  147. package/datatable/tableheader.umd.js +872 -539
  148. package/datatable/tableheader.umd.min.js +1 -1
  149. package/datatable/tableloadingbody.common.js +36 -29
  150. package/datatable/tableloadingbody.umd.js +36 -29
  151. package/datatable/tableloadingbody.umd.min.js +1 -1
  152. package/dataview/dataview.common.js +851 -720
  153. package/dataview/dataview.umd.js +851 -720
  154. package/dataview/dataview.umd.min.js +1 -1
  155. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +46 -30
  156. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +46 -30
  157. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
  158. package/deferredcontent/deferredcontent.common.js +22 -28
  159. package/deferredcontent/deferredcontent.umd.js +22 -28
  160. package/deferredcontent/deferredcontent.umd.min.js +1 -1
  161. package/dialog/dialog.common.js +152 -179
  162. package/dialog/dialog.umd.js +152 -179
  163. package/dialog/dialog.umd.min.js +1 -1
  164. package/divider/divider.common.js +49 -49
  165. package/divider/divider.umd.js +49 -49
  166. package/divider/divider.umd.min.js +1 -1
  167. package/dock/dock.common.js +179 -95
  168. package/dock/dock.umd.js +179 -95
  169. package/dock/dock.umd.min.js +1 -1
  170. package/dock/docksub.common.js +132 -54
  171. package/dock/docksub.umd.js +132 -54
  172. package/dock/docksub.umd.min.js +1 -1
  173. package/dropdown/dropdown.common.js +233 -289
  174. package/dropdown/dropdown.umd.js +233 -289
  175. package/dropdown/dropdown.umd.min.js +1 -1
  176. package/editor/editor.common.js +194 -104
  177. package/editor/editor.umd.js +194 -104
  178. package/editor/editor.umd.min.js +3 -3
  179. package/fieldset/fieldset.common.js +133 -165
  180. package/fieldset/fieldset.umd.js +133 -165
  181. package/fieldset/fieldset.umd.min.js +1 -1
  182. package/fileupload/fileupload.common.js +431 -373
  183. package/fileupload/fileupload.umd.js +431 -373
  184. package/fileupload/fileupload.umd.min.js +1 -1
  185. package/fullcalendar/fullcalendar.common.js +75 -64
  186. package/fullcalendar/fullcalendar.umd.js +75 -64
  187. package/fullcalendar/fullcalendar.umd.min.js +4 -18
  188. package/galleria/galleria.common.js +403 -299
  189. package/galleria/galleria.umd.js +403 -299
  190. package/galleria/galleria.umd.min.js +1 -1
  191. package/galleria/galleriacontent.common.js +324 -235
  192. package/galleria/galleriacontent.umd.js +324 -235
  193. package/galleria/galleriacontent.umd.min.js +1 -1
  194. package/galleria/galleriaitem.common.js +127 -135
  195. package/galleria/galleriaitem.umd.js +127 -135
  196. package/galleria/galleriaitem.umd.min.js +1 -1
  197. package/galleria/galleriaitemslot.common.js +17 -25
  198. package/galleria/galleriaitemslot.umd.js +17 -25
  199. package/galleria/galleriathumbnails.common.js +125 -171
  200. package/galleria/galleriathumbnails.umd.js +125 -171
  201. package/galleria/galleriathumbnails.umd.min.js +1 -1
  202. package/imagepreview/imagepreview.common.js +174 -163
  203. package/imagepreview/imagepreview.umd.js +174 -163
  204. package/imagepreview/imagepreview.umd.min.js +1 -1
  205. package/inlinemessage/inlinemessage.common.js +61 -57
  206. package/inlinemessage/inlinemessage.umd.js +61 -57
  207. package/inlinemessage/inlinemessage.umd.min.js +1 -1
  208. package/inplace/inplace.common.js +139 -170
  209. package/inplace/inplace.umd.js +139 -170
  210. package/inplace/inplace.umd.min.js +1 -1
  211. package/inputmask/inputmask.common.js +51 -174
  212. package/inputmask/inputmask.umd.js +51 -174
  213. package/inputmask/inputmask.umd.min.js +1 -1
  214. package/inputnumber/InputNumber.vue +6 -3
  215. package/inputnumber/inputnumber.common.js +205 -293
  216. package/inputnumber/inputnumber.umd.js +205 -293
  217. package/inputnumber/inputnumber.umd.min.js +1 -1
  218. package/inputswitch/inputswitch.common.js +219 -37
  219. package/inputswitch/inputswitch.umd.js +219 -37
  220. package/inputswitch/inputswitch.umd.min.js +1 -1
  221. package/inputtext/inputtext.common.js +27 -28
  222. package/inputtext/inputtext.umd.js +27 -28
  223. package/inputtext/inputtext.umd.min.js +1 -1
  224. package/knob/knob.common.js +102 -74
  225. package/knob/knob.umd.js +102 -74
  226. package/knob/knob.umd.min.js +1 -1
  227. package/listbox/listbox.common.js +163 -237
  228. package/listbox/listbox.umd.js +163 -237
  229. package/listbox/listbox.umd.min.js +1 -1
  230. package/megamenu/MegaMenu.vue +2 -2
  231. package/megamenu/megamenu.common.js +273 -230
  232. package/megamenu/megamenu.umd.js +273 -230
  233. package/megamenu/megamenu.umd.min.js +1 -1
  234. package/menu/menu.common.js +201 -203
  235. package/menu/menu.umd.js +201 -203
  236. package/menu/menu.umd.min.js +1 -1
  237. package/menu/menuitem.common.js +95 -116
  238. package/menu/menuitem.umd.js +95 -116
  239. package/menu/menuitem.umd.min.js +1 -1
  240. package/menubar/menubar.common.js +223 -214
  241. package/menubar/menubar.umd.js +223 -214
  242. package/menubar/menubar.umd.min.js +1 -1
  243. package/menubar/menubarsub.common.js +142 -149
  244. package/menubar/menubarsub.umd.js +142 -149
  245. package/menubar/menubarsub.umd.min.js +1 -1
  246. package/message/message.common.js +108 -157
  247. package/message/message.umd.js +108 -157
  248. package/message/message.umd.min.js +1 -1
  249. package/multiselect/multiselect.common.js +291 -315
  250. package/multiselect/multiselect.umd.js +291 -315
  251. package/multiselect/multiselect.umd.min.js +1 -1
  252. package/orderlist/orderlist.common.js +206 -263
  253. package/orderlist/orderlist.umd.js +206 -263
  254. package/orderlist/orderlist.umd.min.js +1 -1
  255. package/organizationchart/organizationchart.common.js +188 -190
  256. package/organizationchart/organizationchart.umd.js +188 -190
  257. package/organizationchart/organizationchart.umd.min.js +1 -1
  258. package/organizationchart/organizationchartnode.common.js +122 -124
  259. package/organizationchart/organizationchartnode.umd.js +122 -124
  260. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  261. package/overlayeventbus/OverlayEventBus.js +0 -4
  262. package/overlayeventbus/overlayeventbus.common.js +0 -2
  263. package/overlayeventbus/overlayeventbus.umd.js +0 -2
  264. package/overlaypanel/overlaypanel.common.js +108 -176
  265. package/overlaypanel/overlaypanel.umd.js +108 -176
  266. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  267. package/package.json +3 -3
  268. package/paginator/currentpagereport.common.js +22 -22
  269. package/paginator/currentpagereport.umd.js +22 -22
  270. package/paginator/currentpagereport.umd.min.js +1 -1
  271. package/paginator/firstpagelink.common.js +44 -102
  272. package/paginator/firstpagelink.umd.js +44 -102
  273. package/paginator/firstpagelink.umd.min.js +1 -1
  274. package/paginator/jumptopagedropdown.common.js +254 -300
  275. package/paginator/jumptopagedropdown.umd.js +254 -300
  276. package/paginator/jumptopagedropdown.umd.min.js +1 -1
  277. package/paginator/jumptopageinput.common.js +225 -303
  278. package/paginator/jumptopageinput.umd.js +225 -303
  279. package/paginator/jumptopageinput.umd.min.js +1 -1
  280. package/paginator/lastpagelink.common.js +44 -102
  281. package/paginator/lastpagelink.umd.js +44 -102
  282. package/paginator/lastpagelink.umd.min.js +1 -1
  283. package/paginator/nextpagelink.common.js +44 -102
  284. package/paginator/nextpagelink.umd.js +44 -102
  285. package/paginator/nextpagelink.umd.min.js +1 -1
  286. package/paginator/pagelinks.common.js +54 -102
  287. package/paginator/pagelinks.umd.js +54 -102
  288. package/paginator/pagelinks.umd.min.js +1 -1
  289. package/paginator/paginator.common.js +741 -654
  290. package/paginator/paginator.umd.js +741 -654
  291. package/paginator/paginator.umd.min.js +1 -1
  292. package/paginator/prevpagelink.common.js +44 -102
  293. package/paginator/prevpagelink.umd.js +44 -102
  294. package/paginator/prevpagelink.umd.min.js +1 -1
  295. package/paginator/rowsperpagedropdown.common.js +253 -300
  296. package/paginator/rowsperpagedropdown.umd.js +253 -300
  297. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  298. package/panel/panel.common.js +129 -164
  299. package/panel/panel.umd.js +129 -164
  300. package/panel/panel.umd.min.js +1 -1
  301. package/panelmenu/panelmenu.common.js +235 -129
  302. package/panelmenu/panelmenu.umd.js +235 -129
  303. package/panelmenu/panelmenu.umd.min.js +1 -1
  304. package/panelmenu/panelmenusub.common.js +110 -55
  305. package/panelmenu/panelmenusub.umd.js +110 -55
  306. package/panelmenu/panelmenusub.umd.min.js +1 -1
  307. package/password/Password.vue +64 -14
  308. package/password/password.common.js +243 -239
  309. package/password/password.umd.js +243 -239
  310. package/password/password.umd.min.js +1 -1
  311. package/picklist/picklist.common.js +332 -323
  312. package/picklist/picklist.umd.js +332 -323
  313. package/picklist/picklist.umd.min.js +1 -1
  314. package/progressbar/progressbar.common.js +83 -76
  315. package/progressbar/progressbar.umd.js +83 -76
  316. package/progressbar/progressbar.umd.min.js +1 -1
  317. package/progressspinner/progressspinner.common.js +545 -45
  318. package/progressspinner/progressspinner.umd.js +545 -45
  319. package/progressspinner/progressspinner.umd.min.js +1 -1
  320. package/radiobutton/radiobutton.common.js +68 -83
  321. package/radiobutton/radiobutton.umd.js +68 -83
  322. package/radiobutton/radiobutton.umd.min.js +1 -1
  323. package/rating/rating.common.js +92 -68
  324. package/rating/rating.umd.js +92 -68
  325. package/rating/rating.umd.min.js +1 -1
  326. package/ripple/Ripple.js +0 -18
  327. package/ripple/ripple.common.js +13 -77
  328. package/ripple/ripple.umd.js +13 -77
  329. package/row/row.common.js +20 -25
  330. package/row/row.umd.js +20 -25
  331. package/row/row.umd.min.js +1 -1
  332. package/scrollpanel/scrollpanel.common.js +103 -154
  333. package/scrollpanel/scrollpanel.umd.js +103 -154
  334. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  335. package/scrolltop/scrolltop.common.js +90 -132
  336. package/scrolltop/scrolltop.umd.js +90 -132
  337. package/scrolltop/scrolltop.umd.min.js +1 -1
  338. package/selectbutton/selectbutton.common.js +91 -171
  339. package/selectbutton/selectbutton.umd.js +91 -171
  340. package/selectbutton/selectbutton.umd.min.js +1 -1
  341. package/sidebar/Sidebar.d.ts +1 -0
  342. package/sidebar/Sidebar.vue +3 -0
  343. package/sidebar/sidebar.common.js +115 -166
  344. package/sidebar/sidebar.umd.js +115 -166
  345. package/sidebar/sidebar.umd.min.js +1 -1
  346. package/skeleton/skeleton.common.js +57 -57
  347. package/skeleton/skeleton.umd.js +57 -57
  348. package/skeleton/skeleton.umd.min.js +1 -1
  349. package/slider/Slider.vue +1 -1
  350. package/slider/slider.common.js +175 -166
  351. package/slider/slider.umd.js +175 -166
  352. package/slider/slider.umd.min.js +1 -1
  353. package/speeddial/SpeedDial.vue +2 -2
  354. package/speeddial/speeddial.common.js +186 -204
  355. package/speeddial/speeddial.umd.js +186 -204
  356. package/speeddial/speeddial.umd.min.js +1 -1
  357. package/splitbutton/splitbutton.common.js +327 -279
  358. package/splitbutton/splitbutton.umd.js +327 -279
  359. package/splitbutton/splitbutton.umd.min.js +1 -1
  360. package/splitter/splitter.common.js +70 -143
  361. package/splitter/splitter.umd.js +70 -143
  362. package/splitter/splitter.umd.min.js +1 -1
  363. package/splitterpanel/splitterpanel.common.js +13 -15
  364. package/splitterpanel/splitterpanel.umd.js +13 -15
  365. package/steps/steps.common.js +112 -77
  366. package/steps/steps.umd.js +112 -77
  367. package/steps/steps.umd.min.js +1 -1
  368. package/styleclass/StyleClass.js +0 -43
  369. package/styleclass/styleclass.common.js +13 -99
  370. package/styleclass/styleclass.umd.js +13 -99
  371. package/tabmenu/tabmenu.common.js +139 -165
  372. package/tabmenu/tabmenu.umd.js +139 -165
  373. package/tabmenu/tabmenu.umd.min.js +1 -1
  374. package/tabpanel/tabpanel.common.js +31 -26
  375. package/tabpanel/tabpanel.umd.js +31 -26
  376. package/tabpanel/tabpanel.umd.min.js +1 -1
  377. package/tabview/tabview.common.js +178 -220
  378. package/tabview/tabview.umd.js +178 -220
  379. package/tabview/tabview.umd.min.js +1 -1
  380. package/tag/tag.common.js +59 -59
  381. package/tag/tag.umd.js +59 -59
  382. package/tag/tag.umd.min.js +1 -1
  383. package/terminal/terminal.common.js +96 -68
  384. package/terminal/terminal.umd.js +96 -68
  385. package/terminal/terminal.umd.min.js +1 -1
  386. package/terminalservice/TerminalService.js +0 -3
  387. package/textarea/Textarea.vue +24 -1
  388. package/textarea/textarea.common.js +2083 -91
  389. package/textarea/textarea.umd.js +2083 -91
  390. package/textarea/textarea.umd.min.js +1 -1
  391. package/tieredmenu/demo.html +3 -4
  392. package/tieredmenu/tieredmenu.common.js +214 -219
  393. package/tieredmenu/tieredmenu.umd.js +214 -219
  394. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  395. package/tieredmenu/tieredmenusub.common.js +142 -145
  396. package/tieredmenu/tieredmenusub.umd.js +142 -145
  397. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  398. package/timeline/timeline.common.js +101 -134
  399. package/timeline/timeline.umd.js +101 -134
  400. package/timeline/timeline.umd.min.js +1 -1
  401. package/toast/toast.common.js +145 -182
  402. package/toast/toast.umd.js +145 -182
  403. package/toast/toast.umd.min.js +1 -1
  404. package/toast/toastmessage.common.js +70 -115
  405. package/toast/toastmessage.umd.js +70 -115
  406. package/toast/toastmessage.umd.min.js +1 -1
  407. package/toastservice/ToastEventBus.js +0 -3
  408. package/toastservice/ToastService.js +0 -3
  409. package/togglebutton/togglebutton.common.js +54 -103
  410. package/togglebutton/togglebutton.umd.js +54 -103
  411. package/togglebutton/togglebutton.umd.min.js +1 -1
  412. package/toolbar/toolbar.common.js +46 -47
  413. package/toolbar/toolbar.umd.js +46 -47
  414. package/toolbar/toolbar.umd.min.js +1 -1
  415. package/tooltip/Tooltip.js +4 -84
  416. package/tooltip/tooltip.common.js +17 -133
  417. package/tooltip/tooltip.umd.js +17 -133
  418. package/tree/tree.common.js +227 -316
  419. package/tree/tree.umd.js +227 -316
  420. package/tree/tree.umd.min.js +1 -1
  421. package/tree/treenode.common.js +108 -158
  422. package/tree/treenode.umd.js +108 -158
  423. package/tree/treenode.umd.min.js +1 -1
  424. package/treetable/footercell.common.js +49 -141
  425. package/treetable/footercell.umd.js +49 -141
  426. package/treetable/footercell.umd.min.js +1 -1
  427. package/treetable/headercell.common.js +68 -153
  428. package/treetable/headercell.umd.js +68 -153
  429. package/treetable/headercell.umd.min.js +1 -1
  430. package/treetable/treetable.common.js +1086 -1044
  431. package/treetable/treetable.umd.js +1086 -1044
  432. package/treetable/treetable.umd.min.js +1 -1
  433. package/treetable/treetablecolumnslot.common.js +13 -15
  434. package/treetable/treetablecolumnslot.umd.js +13 -15
  435. package/treetable/treetablerow.common.js +113 -194
  436. package/treetable/treetablerow.umd.js +113 -194
  437. package/treetable/treetablerow.umd.min.js +1 -1
  438. package/treetable/treetablerowloader.common.js +115 -214
  439. package/treetable/treetablerowloader.umd.js +115 -214
  440. package/treetable/treetablerowloader.umd.min.js +1 -1
  441. package/tristatecheckbox/tristatecheckbox.common.js +59 -38
  442. package/tristatecheckbox/tristatecheckbox.umd.js +59 -38
  443. package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
  444. package/utils/ConnectedOverlayScrollHandler.js +0 -12
  445. package/utils/DomHandler.js +13 -61
  446. package/utils/EventBus.js +0 -3
  447. package/utils/ObjectUtils.js +9 -51
  448. package/utils/UniqueComponentId.js +0 -1
  449. package/utils/Utils.js +0 -6
  450. package/utils/connectedoverlayscrollhandler.common.js +13 -70
  451. package/utils/connectedoverlayscrollhandler.umd.js +13 -70
  452. package/utils/domhandler.common.js +13 -63
  453. package/utils/domhandler.umd.js +13 -63
  454. package/utils/eventbus.common.js +0 -2
  455. package/utils/eventbus.umd.js +0 -2
  456. package/utils/objectutils.common.js +9 -52
  457. package/utils/objectutils.umd.js +9 -52
  458. package/utils/utils.common.js +22 -119
  459. package/utils/utils.umd.js +22 -119
  460. package/vetur-attributes.json +8 -0
  461. package/vetur-tags.json +3 -1
  462. package/web-types.json +28 -1
@@ -4,148 +4,110 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _DomHandler = _interopRequireDefault(require("../utils/DomHandler"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
9
  function _bind(el, binding) {
13
10
  el.$_pstyleclass_clicklistener = function () {
14
11
  var target = resolveTarget(el, binding);
15
-
16
12
  if (binding.value.toggleClass) {
17
13
  if (_DomHandler.default.hasClass(target, binding.value.toggleClass)) _DomHandler.default.removeClass(target, binding.value.toggleClass);else _DomHandler.default.addClass(target, binding.value.toggleClass);
18
14
  } else {
19
15
  if (target.offsetParent === null) enter(target, el, binding);else leave(target, binding);
20
16
  }
21
17
  };
22
-
23
18
  el.addEventListener('click', el.$_pstyleclass_clicklistener);
24
19
  }
25
-
26
20
  function _unbind(el) {
27
21
  if (el.$_pstyleclass_clicklistener) {
28
22
  el.addEventListener('click', el.$_pstyleclass_clicklistener);
29
23
  el.$_pstyleclass_clicklistener = null;
30
24
  }
31
-
32
25
  unbindDocumentListener(el);
33
26
  }
34
-
35
27
  function enter(target, el, binding) {
36
28
  if (binding.value.enterActiveClass) {
37
29
  if (!target.$_pstyleclass_animating) {
38
30
  target.$_pstyleclass_animating = true;
39
-
40
31
  if (binding.value.enterActiveClass === 'slidedown') {
41
32
  target.style.height = '0px';
42
-
43
33
  _DomHandler.default.removeClass(target, 'hidden');
44
-
45
34
  target.style.maxHeight = target.scrollHeight + 'px';
46
-
47
35
  _DomHandler.default.addClass(target, 'hidden');
48
-
49
36
  target.style.height = '';
50
37
  }
51
-
52
38
  _DomHandler.default.addClass(target, binding.value.enterActiveClass);
53
-
54
39
  if (binding.value.enterClass) {
55
40
  _DomHandler.default.removeClass(target, binding.value.enterClass);
56
41
  }
57
-
58
42
  target.$p_styleclass_enterlistener = function () {
59
43
  _DomHandler.default.removeClass(target, binding.value.enterActiveClass);
60
-
61
44
  if (binding.value.enterToClass) {
62
45
  _DomHandler.default.addClass(target, binding.value.enterToClass);
63
46
  }
64
-
65
47
  target.removeEventListener('animationend', target.$p_styleclass_enterlistener);
66
-
67
48
  if (binding.value.enterActiveClass === 'slidedown') {
68
49
  target.style.maxHeight = '';
69
50
  }
70
-
71
51
  target.$_pstyleclass_animating = false;
72
52
  };
73
-
74
53
  target.addEventListener('animationend', target.$p_styleclass_enterlistener);
75
54
  }
76
55
  } else {
77
56
  if (binding.value.enterClass) {
78
57
  _DomHandler.default.removeClass(target, binding.value.enterClass);
79
58
  }
80
-
81
59
  if (binding.value.enterToClass) {
82
60
  _DomHandler.default.addClass(target, binding.value.enterToClass);
83
61
  }
84
62
  }
85
-
86
63
  if (binding.value.hideOnOutsideClick) {
87
64
  bindDocumentListener(target, el, binding);
88
65
  }
89
66
  }
90
-
91
67
  function leave(target, binding) {
92
68
  if (binding.value.leaveActiveClass) {
93
69
  if (!target.$_pstyleclass_animating) {
94
70
  target.$_pstyleclass_animating = true;
95
-
96
71
  _DomHandler.default.addClass(target, binding.value.leaveActiveClass);
97
-
98
72
  if (binding.value.leaveClass) {
99
73
  _DomHandler.default.removeClass(target, binding.value.leaveClass);
100
74
  }
101
-
102
75
  target.$p_styleclass_leavelistener = function () {
103
76
  _DomHandler.default.removeClass(target, binding.value.leaveActiveClass);
104
-
105
77
  if (binding.value.leaveToClass) {
106
78
  _DomHandler.default.addClass(target, binding.value.leaveToClass);
107
79
  }
108
-
109
80
  target.removeEventListener('animationend', target.$p_styleclass_leavelistener);
110
81
  target.$_pstyleclass_animating = false;
111
82
  };
112
-
113
83
  target.addEventListener('animationend', target.$p_styleclass_leavelistener);
114
84
  }
115
85
  } else {
116
86
  if (binding.value.leaveClass) {
117
87
  _DomHandler.default.removeClass(target, binding.value.leaveClass);
118
88
  }
119
-
120
89
  if (binding.value.leaveToClass) {
121
90
  _DomHandler.default.addClass(target, binding.value.leaveToClass);
122
91
  }
123
92
  }
124
-
125
93
  if (binding.value.hideOnOutsideClick) {
126
94
  unbindDocumentListener(target);
127
95
  }
128
96
  }
129
-
130
97
  function resolveTarget(el, binding) {
131
98
  switch (binding.value.selector) {
132
99
  case '@next':
133
100
  return el.nextElementSibling;
134
-
135
101
  case '@prev':
136
102
  return el.previousElementSibling;
137
-
138
103
  case '@parent':
139
104
  return el.parentElement;
140
-
141
105
  case '@grandparent':
142
106
  return el.parentElement.parentElement;
143
-
144
107
  default:
145
108
  return document.querySelector(binding.value.selector);
146
109
  }
147
110
  }
148
-
149
111
  function bindDocumentListener(target, el, binding) {
150
112
  if (!target.$p_styleclass_documentlistener) {
151
113
  target.$p_styleclass_documentlistener = function (event) {
@@ -155,26 +117,21 @@ function bindDocumentListener(target, el, binding) {
155
117
  leave(target, binding);
156
118
  }
157
119
  };
158
-
159
120
  target.ownerDocument.addEventListener('click', target.$p_styleclass_documentlistener);
160
121
  }
161
122
  }
162
-
163
123
  function unbindDocumentListener(target) {
164
124
  if (target.$p_styleclass_documentlistener) {
165
125
  target.ownerDocument.removeEventListener('click', target.$p_styleclass_documentlistener);
166
126
  target.$p_styleclass_documentlistener = null;
167
127
  }
168
128
  }
169
-
170
129
  function isVisible(target) {
171
130
  return target.offsetParent !== null;
172
131
  }
173
-
174
132
  function isOutsideClick(event, target, el) {
175
133
  return !el.isSameNode(event.target) && !el.contains(event.target) && !target.contains(event.target);
176
134
  }
177
-
178
135
  var StyleClass = {
179
136
  bind: function bind(el, binding) {
180
137
  _bind(el, binding);
@@ -2824,26 +2824,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
2824
2824
 
2825
2825
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
2826
2826
 
2827
-
2828
2827
  function _defineProperties(target, props) {
2829
2828
  for (var i = 0; i < props.length; i++) {
2830
2829
  var descriptor = props[i];
2831
2830
  descriptor.enumerable = descriptor.enumerable || false;
2832
2831
  descriptor.configurable = true;
2833
2832
  if ("value" in descriptor) descriptor.writable = true;
2834
-
2835
2833
  define_property_default()(target, descriptor.key, descriptor);
2836
2834
  }
2837
2835
  }
2838
-
2839
2836
  function _createClass(Constructor, protoProps, staticProps) {
2840
2837
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
2841
2838
  if (staticProps) _defineProperties(Constructor, staticProps);
2842
-
2843
2839
  define_property_default()(Constructor, "prototype", {
2844
2840
  writable: false
2845
2841
  });
2846
-
2847
2842
  return Constructor;
2848
2843
  }
2849
2844
  // CONCATENATED MODULE: ./src/components/utils/DomHandler.js
@@ -2859,18 +2854,13 @@ function _createClass(Constructor, protoProps, staticProps) {
2859
2854
 
2860
2855
 
2861
2856
 
2862
-
2863
2857
  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; } } }; }
2864
-
2865
2858
  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); }
2866
-
2867
2859
  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; }
2868
-
2869
2860
  var DomHandler_DomHandler = /*#__PURE__*/function () {
2870
2861
  function DomHandler() {
2871
2862
  _classCallCheck(this, DomHandler);
2872
2863
  }
2873
-
2874
2864
  _createClass(DomHandler, null, [{
2875
2865
  key: "innerWidth",
2876
2866
  value: function innerWidth(el) {
@@ -2904,12 +2894,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2904
2894
  value: function getOuterWidth(el, margin) {
2905
2895
  if (el) {
2906
2896
  var width = el.offsetWidth;
2907
-
2908
2897
  if (margin) {
2909
2898
  var style = getComputedStyle(el);
2910
2899
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
2911
2900
  }
2912
-
2913
2901
  return width;
2914
2902
  } else {
2915
2903
  return 0;
@@ -2920,12 +2908,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2920
2908
  value: function getOuterHeight(el, margin) {
2921
2909
  if (el) {
2922
2910
  var height = el.offsetHeight;
2923
-
2924
2911
  if (margin) {
2925
2912
  var style = getComputedStyle(el);
2926
2913
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
2927
2914
  }
2928
-
2929
2915
  return height;
2930
2916
  } else {
2931
2917
  return 0;
@@ -2936,12 +2922,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2936
2922
  value: function getClientHeight(el, margin) {
2937
2923
  if (el) {
2938
2924
  var height = el.clientHeight;
2939
-
2940
2925
  if (margin) {
2941
2926
  var style = getComputedStyle(el);
2942
2927
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
2943
2928
  }
2944
-
2945
2929
  return height;
2946
2930
  } else {
2947
2931
  return 0;
@@ -2951,11 +2935,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2951
2935
  key: "getViewport",
2952
2936
  value: function getViewport() {
2953
2937
  var win = window,
2954
- d = document,
2955
- e = d.documentElement,
2956
- g = d.getElementsByTagName('body')[0],
2957
- w = win.innerWidth || e.clientWidth || g.clientWidth,
2958
- h = win.innerHeight || e.clientHeight || g.clientHeight;
2938
+ d = document,
2939
+ e = d.documentElement,
2940
+ g = d.getElementsByTagName('body')[0],
2941
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
2942
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
2959
2943
  return {
2960
2944
  width: w,
2961
2945
  height: h
@@ -2986,12 +2970,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2986
2970
  value: function index(element) {
2987
2971
  var children = element.parentNode.childNodes;
2988
2972
  var num = 0;
2989
-
2990
2973
  for (var i = 0; i < children.length; i++) {
2991
2974
  if (children[i] === element) return num;
2992
2975
  if (children[i].nodeType === 1) num++;
2993
2976
  }
2994
-
2995
2977
  return -1;
2996
2978
  }
2997
2979
  }, {
@@ -2999,13 +2981,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
2999
2981
  value: function addMultipleClasses(element, className) {
3000
2982
  if (element.classList) {
3001
2983
  var styles = className.split(' ');
3002
-
3003
2984
  for (var i = 0; i < styles.length; i++) {
3004
2985
  element.classList.add(styles[i]);
3005
2986
  }
3006
2987
  } else {
3007
2988
  var _styles = className.split(' ');
3008
-
3009
2989
  for (var _i = 0; _i < _styles.length; _i++) {
3010
2990
  element.className += ' ' + _styles[_i];
3011
2991
  }
@@ -3027,7 +3007,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3027
3007
  if (element) {
3028
3008
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
3029
3009
  }
3030
-
3031
3010
  return false;
3032
3011
  }
3033
3012
  }, {
@@ -3072,11 +3051,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3072
3051
  var windowScrollLeft = this.getWindowScrollLeft();
3073
3052
  var viewport = this.getViewport();
3074
3053
  var top, left;
3075
-
3076
3054
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
3077
3055
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
3078
3056
  element.style.transformOrigin = 'bottom';
3079
-
3080
3057
  if (top < 0) {
3081
3058
  top = windowScrollTop;
3082
3059
  }
@@ -3084,7 +3061,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3084
3061
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
3085
3062
  element.style.transformOrigin = 'top';
3086
3063
  }
3087
-
3088
3064
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
3089
3065
  element.style.top = top + 'px';
3090
3066
  element.style.left = left + 'px';
@@ -3100,11 +3076,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3100
3076
  var targetOffset = target.getBoundingClientRect();
3101
3077
  var viewport = this.getViewport();
3102
3078
  var top, left;
3103
-
3104
3079
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
3105
3080
  top = -1 * elementDimensions.height;
3106
3081
  element.style.transformOrigin = 'bottom';
3107
-
3108
3082
  if (targetOffset.top + top < 0) {
3109
3083
  top = -1 * targetOffset.top;
3110
3084
  }
@@ -3112,7 +3086,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3112
3086
  top = targetHeight;
3113
3087
  element.style.transformOrigin = 'top';
3114
3088
  }
3115
-
3116
3089
  if (elementDimensions.width > viewport.width) {
3117
3090
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
3118
3091
  left = targetOffset.left * -1;
@@ -3123,7 +3096,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3123
3096
  // element fits on screen (align with target)
3124
3097
  left = 0;
3125
3098
  }
3126
-
3127
3099
  element.style.top = top + 'px';
3128
3100
  element.style.left = left + 'px';
3129
3101
  }
@@ -3137,35 +3109,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3137
3109
  key: "getScrollableParents",
3138
3110
  value: function getScrollableParents(element) {
3139
3111
  var scrollableParents = [];
3140
-
3141
3112
  if (element) {
3142
3113
  var parents = this.getParents(element);
3143
3114
  var overflowRegex = /(auto|scroll)/;
3144
-
3145
3115
  var overflowCheck = function overflowCheck(node) {
3146
3116
  var styleDeclaration = window['getComputedStyle'](node, null);
3147
3117
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
3148
3118
  };
3149
-
3150
3119
  var _iterator = _createForOfIteratorHelper(parents),
3151
- _step;
3152
-
3120
+ _step;
3153
3121
  try {
3154
3122
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
3155
3123
  var parent = _step.value;
3156
3124
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
3157
-
3158
3125
  if (scrollSelectors) {
3159
3126
  var selectors = scrollSelectors.split(',');
3160
-
3161
3127
  var _iterator2 = _createForOfIteratorHelper(selectors),
3162
- _step2;
3163
-
3128
+ _step2;
3164
3129
  try {
3165
3130
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
3166
3131
  var selector = _step2.value;
3167
3132
  var el = this.findSingle(parent, selector);
3168
-
3169
3133
  if (el && overflowCheck(el)) {
3170
3134
  scrollableParents.push(el);
3171
3135
  }
@@ -3183,7 +3147,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3183
3147
  _iterator.f();
3184
3148
  }
3185
3149
  }
3186
-
3187
3150
  return scrollableParents;
3188
3151
  }
3189
3152
  }, {
@@ -3224,34 +3187,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3224
3187
  element.style.opacity = 0;
3225
3188
  var last = +new Date();
3226
3189
  var opacity = 0;
3227
-
3228
3190
  var tick = function tick() {
3229
3191
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
3230
3192
  element.style.opacity = opacity;
3231
3193
  last = +new Date();
3232
-
3233
3194
  if (+opacity < 1) {
3234
3195
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
3235
3196
  }
3236
3197
  };
3237
-
3238
3198
  tick();
3239
3199
  }
3240
3200
  }, {
3241
3201
  key: "fadeOut",
3242
3202
  value: function fadeOut(element, ms) {
3243
3203
  var opacity = 1,
3244
- interval = 50,
3245
- duration = ms,
3246
- gap = interval / duration;
3204
+ interval = 50,
3205
+ duration = ms,
3206
+ gap = interval / duration;
3247
3207
  var fading = setInterval(function () {
3248
3208
  opacity -= gap;
3249
-
3250
3209
  if (opacity <= 0) {
3251
3210
  opacity = 0;
3252
3211
  clearInterval(fading);
3253
3212
  }
3254
-
3255
3213
  element.style.opacity = opacity;
3256
3214
  }, interval);
3257
3215
  }
@@ -3278,7 +3236,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3278
3236
  var scroll = container.scrollTop;
3279
3237
  var elementHeight = container.clientHeight;
3280
3238
  var itemHeight = this.getOuterHeight(item);
3281
-
3282
3239
  if (offset < 0) {
3283
3240
  container.scrollTop = scroll + offset;
3284
3241
  } else if (offset + itemHeight > elementHeight) {
@@ -3297,7 +3254,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3297
3254
  } else if (document['selection'] && document['selection'].empty) {
3298
3255
  try {
3299
3256
  document['selection'].empty();
3300
- } catch (error) {//ignore IE bug
3257
+ } catch (error) {
3258
+ //ignore IE bug
3301
3259
  }
3302
3260
  }
3303
3261
  }
@@ -3319,19 +3277,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3319
3277
  if (!this.browser) {
3320
3278
  var matched = this.resolveUserAgent();
3321
3279
  this.browser = {};
3322
-
3323
3280
  if (matched.browser) {
3324
3281
  this.browser[matched.browser] = true;
3325
3282
  this.browser['version'] = matched.version;
3326
3283
  }
3327
-
3328
3284
  if (this.browser['chrome']) {
3329
3285
  this.browser['webkit'] = true;
3330
3286
  } else if (this.browser['webkit']) {
3331
3287
  this.browser['safari'] = true;
3332
3288
  }
3333
3289
  }
3334
-
3335
3290
  return this.browser;
3336
3291
  }
3337
3292
  }, {
@@ -3359,10 +3314,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3359
3314
  value: function getFocusableElements(element) {
3360
3315
  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])");
3361
3316
  var visibleFocusableElements = [];
3362
-
3363
3317
  var _iterator3 = _createForOfIteratorHelper(focusableElements),
3364
- _step3;
3365
-
3318
+ _step3;
3366
3319
  try {
3367
3320
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
3368
3321
  var focusableElement = _step3.value;
@@ -3373,7 +3326,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3373
3326
  } finally {
3374
3327
  _iterator3.f();
3375
3328
  }
3376
-
3377
3329
  return visibleFocusableElements;
3378
3330
  }
3379
3331
  }, {
@@ -3416,42 +3368,33 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3416
3368
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
3417
3369
  }
3418
3370
  }]);
3419
-
3420
3371
  return DomHandler;
3421
3372
  }();
3422
3373
 
3423
-
3424
3374
  // CONCATENATED MODULE: ./src/components/styleclass/StyleClass.js
3425
3375
 
3426
-
3427
3376
  function _bind(el, binding) {
3428
3377
  el.$_pstyleclass_clicklistener = function () {
3429
3378
  var target = resolveTarget(el, binding);
3430
-
3431
3379
  if (binding.value.toggleClass) {
3432
3380
  if (DomHandler_DomHandler.hasClass(target, binding.value.toggleClass)) DomHandler_DomHandler.removeClass(target, binding.value.toggleClass);else DomHandler_DomHandler.addClass(target, binding.value.toggleClass);
3433
3381
  } else {
3434
3382
  if (target.offsetParent === null) enter(target, el, binding);else leave(target, binding);
3435
3383
  }
3436
3384
  };
3437
-
3438
3385
  el.addEventListener('click', el.$_pstyleclass_clicklistener);
3439
3386
  }
3440
-
3441
3387
  function _unbind(el) {
3442
3388
  if (el.$_pstyleclass_clicklistener) {
3443
3389
  el.addEventListener('click', el.$_pstyleclass_clicklistener);
3444
3390
  el.$_pstyleclass_clicklistener = null;
3445
3391
  }
3446
-
3447
3392
  unbindDocumentListener(el);
3448
3393
  }
3449
-
3450
3394
  function enter(target, el, binding) {
3451
3395
  if (binding.value.enterActiveClass) {
3452
3396
  if (!target.$_pstyleclass_animating) {
3453
3397
  target.$_pstyleclass_animating = true;
3454
-
3455
3398
  if (binding.value.enterActiveClass === 'slidedown') {
3456
3399
  target.style.height = '0px';
3457
3400
  DomHandler_DomHandler.removeClass(target, 'hidden');
@@ -3459,103 +3402,79 @@ function enter(target, el, binding) {
3459
3402
  DomHandler_DomHandler.addClass(target, 'hidden');
3460
3403
  target.style.height = '';
3461
3404
  }
3462
-
3463
3405
  DomHandler_DomHandler.addClass(target, binding.value.enterActiveClass);
3464
-
3465
3406
  if (binding.value.enterClass) {
3466
3407
  DomHandler_DomHandler.removeClass(target, binding.value.enterClass);
3467
3408
  }
3468
-
3469
3409
  target.$p_styleclass_enterlistener = function () {
3470
3410
  DomHandler_DomHandler.removeClass(target, binding.value.enterActiveClass);
3471
-
3472
3411
  if (binding.value.enterToClass) {
3473
3412
  DomHandler_DomHandler.addClass(target, binding.value.enterToClass);
3474
3413
  }
3475
-
3476
3414
  target.removeEventListener('animationend', target.$p_styleclass_enterlistener);
3477
-
3478
3415
  if (binding.value.enterActiveClass === 'slidedown') {
3479
3416
  target.style.maxHeight = '';
3480
3417
  }
3481
-
3482
3418
  target.$_pstyleclass_animating = false;
3483
3419
  };
3484
-
3485
3420
  target.addEventListener('animationend', target.$p_styleclass_enterlistener);
3486
3421
  }
3487
3422
  } else {
3488
3423
  if (binding.value.enterClass) {
3489
3424
  DomHandler_DomHandler.removeClass(target, binding.value.enterClass);
3490
3425
  }
3491
-
3492
3426
  if (binding.value.enterToClass) {
3493
3427
  DomHandler_DomHandler.addClass(target, binding.value.enterToClass);
3494
3428
  }
3495
3429
  }
3496
-
3497
3430
  if (binding.value.hideOnOutsideClick) {
3498
3431
  bindDocumentListener(target, el, binding);
3499
3432
  }
3500
3433
  }
3501
-
3502
3434
  function leave(target, binding) {
3503
3435
  if (binding.value.leaveActiveClass) {
3504
3436
  if (!target.$_pstyleclass_animating) {
3505
3437
  target.$_pstyleclass_animating = true;
3506
3438
  DomHandler_DomHandler.addClass(target, binding.value.leaveActiveClass);
3507
-
3508
3439
  if (binding.value.leaveClass) {
3509
3440
  DomHandler_DomHandler.removeClass(target, binding.value.leaveClass);
3510
3441
  }
3511
-
3512
3442
  target.$p_styleclass_leavelistener = function () {
3513
3443
  DomHandler_DomHandler.removeClass(target, binding.value.leaveActiveClass);
3514
-
3515
3444
  if (binding.value.leaveToClass) {
3516
3445
  DomHandler_DomHandler.addClass(target, binding.value.leaveToClass);
3517
3446
  }
3518
-
3519
3447
  target.removeEventListener('animationend', target.$p_styleclass_leavelistener);
3520
3448
  target.$_pstyleclass_animating = false;
3521
3449
  };
3522
-
3523
3450
  target.addEventListener('animationend', target.$p_styleclass_leavelistener);
3524
3451
  }
3525
3452
  } else {
3526
3453
  if (binding.value.leaveClass) {
3527
3454
  DomHandler_DomHandler.removeClass(target, binding.value.leaveClass);
3528
3455
  }
3529
-
3530
3456
  if (binding.value.leaveToClass) {
3531
3457
  DomHandler_DomHandler.addClass(target, binding.value.leaveToClass);
3532
3458
  }
3533
3459
  }
3534
-
3535
3460
  if (binding.value.hideOnOutsideClick) {
3536
3461
  unbindDocumentListener(target);
3537
3462
  }
3538
3463
  }
3539
-
3540
3464
  function resolveTarget(el, binding) {
3541
3465
  switch (binding.value.selector) {
3542
3466
  case '@next':
3543
3467
  return el.nextElementSibling;
3544
-
3545
3468
  case '@prev':
3546
3469
  return el.previousElementSibling;
3547
-
3548
3470
  case '@parent':
3549
3471
  return el.parentElement;
3550
-
3551
3472
  case '@grandparent':
3552
3473
  return el.parentElement.parentElement;
3553
-
3554
3474
  default:
3555
3475
  return document.querySelector(binding.value.selector);
3556
3476
  }
3557
3477
  }
3558
-
3559
3478
  function bindDocumentListener(target, el, binding) {
3560
3479
  if (!target.$p_styleclass_documentlistener) {
3561
3480
  target.$p_styleclass_documentlistener = function (event) {
@@ -3565,26 +3484,21 @@ function bindDocumentListener(target, el, binding) {
3565
3484
  leave(target, binding);
3566
3485
  }
3567
3486
  };
3568
-
3569
3487
  target.ownerDocument.addEventListener('click', target.$p_styleclass_documentlistener);
3570
3488
  }
3571
3489
  }
3572
-
3573
3490
  function unbindDocumentListener(target) {
3574
3491
  if (target.$p_styleclass_documentlistener) {
3575
3492
  target.ownerDocument.removeEventListener('click', target.$p_styleclass_documentlistener);
3576
3493
  target.$p_styleclass_documentlistener = null;
3577
3494
  }
3578
3495
  }
3579
-
3580
3496
  function isVisible(target) {
3581
3497
  return target.offsetParent !== null;
3582
3498
  }
3583
-
3584
3499
  function isOutsideClick(event, target, el) {
3585
3500
  return !el.isSameNode(event.target) && !el.contains(event.target) && !target.contains(event.target);
3586
3501
  }
3587
-
3588
3502
  var StyleClass = {
3589
3503
  bind: function bind(el, binding) {
3590
3504
  _bind(el, binding);