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
@@ -4300,10 +4300,71 @@ if (typeof window !== 'undefined') {
4300
4300
  // Indicate to webpack that this file can be concatenated
4301
4301
  /* harmony default export */ var setPublicPath = (null);
4302
4302
 
4303
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28cb4606-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cascadeselect/CascadeSelectSub.vue?vue&type=template&id=116e9314&
4304
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"p-cascadeselect-panel p-cascadeselect-items",attrs:{"role":"listbox","aria-orientation":"horizontal"}},[_vm._l((_vm.options),function(option,i){return [_c('li',{key:_vm.getOptionLabelToRender(option),class:_vm.getItemClass(option),attrs:{"role":"none"}},[_c('div',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-cascadeselect-item-content",attrs:{"tabindex":"0"},on:{"click":function($event){return _vm.onOptionClick($event, option)},"keydown":function($event){return _vm.onKeyDown($event, option, i)}}},[(_vm.templates['option'])?_c('CascadeSelectOptionTemplate',{attrs:{"option":option,"template":_vm.templates['option']}}):[_c('span',{staticClass:"p-cascadeselect-item-text"},[_vm._v(_vm._s(_vm.getOptionLabelToRender(option)))])],(_vm.isOptionGroup(option))?_c('span',{staticClass:"p-cascadeselect-group-icon pi pi-angle-right"}):_vm._e()],2),(_vm.isOptionGroup(option) && _vm.isOptionActive(option))?_c('cascadeselect-sub',{staticClass:"p-cascadeselect-sublist",attrs:{"selectionPath":_vm.selectionPath,"options":_vm.getOptionGroupChildren(option),"optionLabel":_vm.optionLabel,"optionValue":_vm.optionValue,"level":_vm.level + 1,"optionGroupLabel":_vm.optionGroupLabel,"optionGroupChildren":_vm.optionGroupChildren,"parentActive":_vm.isOptionActive(option),"dirty":_vm.dirty,"templates":_vm.templates},on:{"option-select":_vm.onOptionSelect,"optiongroup-select":_vm.onOptionGroupSelect}}):_vm._e()],1)]})],2)}
4305
- var staticRenderFns = []
4306
-
4303
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cascadeselect/CascadeSelectSub.vue?vue&type=template&id=116e9314&
4304
+ var render = function render() {
4305
+ var _vm = this,
4306
+ _c = _vm._self._c;
4307
+ return _c('ul', {
4308
+ staticClass: "p-cascadeselect-panel p-cascadeselect-items",
4309
+ attrs: {
4310
+ "role": "listbox",
4311
+ "aria-orientation": "horizontal"
4312
+ }
4313
+ }, [_vm._l(_vm.options, function (option, i) {
4314
+ return [_c('li', {
4315
+ key: _vm.getOptionLabelToRender(option),
4316
+ class: _vm.getItemClass(option),
4317
+ attrs: {
4318
+ "role": "none"
4319
+ }
4320
+ }, [_c('div', {
4321
+ directives: [{
4322
+ name: "ripple",
4323
+ rawName: "v-ripple"
4324
+ }],
4325
+ staticClass: "p-cascadeselect-item-content",
4326
+ attrs: {
4327
+ "tabindex": "0"
4328
+ },
4329
+ on: {
4330
+ "click": function click($event) {
4331
+ return _vm.onOptionClick($event, option);
4332
+ },
4333
+ "keydown": function keydown($event) {
4334
+ return _vm.onKeyDown($event, option, i);
4335
+ }
4336
+ }
4337
+ }, [_vm.templates['option'] ? _c('CascadeSelectOptionTemplate', {
4338
+ attrs: {
4339
+ "option": option,
4340
+ "template": _vm.templates['option']
4341
+ }
4342
+ }) : [_c('span', {
4343
+ staticClass: "p-cascadeselect-item-text"
4344
+ }, [_vm._v(_vm._s(_vm.getOptionLabelToRender(option)))])], _vm.isOptionGroup(option) ? _c('span', {
4345
+ staticClass: "p-cascadeselect-group-icon pi pi-angle-right"
4346
+ }) : _vm._e()], 2), _vm.isOptionGroup(option) && _vm.isOptionActive(option) ? _c('cascadeselect-sub', {
4347
+ staticClass: "p-cascadeselect-sublist",
4348
+ attrs: {
4349
+ "selectionPath": _vm.selectionPath,
4350
+ "options": _vm.getOptionGroupChildren(option),
4351
+ "optionLabel": _vm.optionLabel,
4352
+ "optionValue": _vm.optionValue,
4353
+ "level": _vm.level + 1,
4354
+ "optionGroupLabel": _vm.optionGroupLabel,
4355
+ "optionGroupChildren": _vm.optionGroupChildren,
4356
+ "parentActive": _vm.isOptionActive(option),
4357
+ "dirty": _vm.dirty,
4358
+ "templates": _vm.templates
4359
+ },
4360
+ on: {
4361
+ "option-select": _vm.onOptionSelect,
4362
+ "optiongroup-select": _vm.onOptionGroupSelect
4363
+ }
4364
+ }) : _vm._e()], 1)];
4365
+ })], 2);
4366
+ };
4367
+ var staticRenderFns = [];
4307
4368
 
4308
4369
  // CONCATENATED MODULE: ./src/components/cascadeselect/CascadeSelectSub.vue?vue&type=template&id=116e9314&
4309
4370
 
@@ -4387,26 +4448,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
4387
4448
 
4388
4449
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
4389
4450
 
4390
-
4391
4451
  function _defineProperties(target, props) {
4392
4452
  for (var i = 0; i < props.length; i++) {
4393
4453
  var descriptor = props[i];
4394
4454
  descriptor.enumerable = descriptor.enumerable || false;
4395
4455
  descriptor.configurable = true;
4396
4456
  if ("value" in descriptor) descriptor.writable = true;
4397
-
4398
4457
  define_property_default()(target, descriptor.key, descriptor);
4399
4458
  }
4400
4459
  }
4401
-
4402
4460
  function _createClass(Constructor, protoProps, staticProps) {
4403
4461
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
4404
4462
  if (staticProps) _defineProperties(Constructor, staticProps);
4405
-
4406
4463
  define_property_default()(Constructor, "prototype", {
4407
4464
  writable: false
4408
4465
  });
4409
-
4410
4466
  return Constructor;
4411
4467
  }
4412
4468
  // CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
@@ -4426,18 +4482,13 @@ function _createClass(Constructor, protoProps, staticProps) {
4426
4482
 
4427
4483
 
4428
4484
 
4429
-
4430
4485
  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; } } }; }
4431
-
4432
4486
  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); }
4433
-
4434
4487
  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; }
4435
-
4436
4488
  var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4437
4489
  function ObjectUtils() {
4438
4490
  _classCallCheck(this, ObjectUtils);
4439
4491
  }
4440
-
4441
4492
  _createClass(ObjectUtils, null, [{
4442
4493
  key: "equals",
4443
4494
  value: function equals(obj1, obj2, field) {
@@ -4447,50 +4498,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4447
4498
  key: "deepEquals",
4448
4499
  value: function deepEquals(a, b) {
4449
4500
  if (a === b) return true;
4450
-
4451
4501
  if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
4452
4502
  var arrA = Array.isArray(a),
4453
- arrB = Array.isArray(b),
4454
- i,
4455
- length,
4456
- key;
4457
-
4503
+ arrB = Array.isArray(b),
4504
+ i,
4505
+ length,
4506
+ key;
4458
4507
  if (arrA && arrB) {
4459
4508
  length = a.length;
4460
4509
  if (length != b.length) return false;
4461
-
4462
4510
  for (i = length; i-- !== 0;) {
4463
4511
  if (!this.deepEquals(a[i], b[i])) return false;
4464
4512
  }
4465
-
4466
4513
  return true;
4467
4514
  }
4468
-
4469
4515
  if (arrA != arrB) return false;
4470
4516
  var dateA = a instanceof Date,
4471
- dateB = b instanceof Date;
4517
+ dateB = b instanceof Date;
4472
4518
  if (dateA != dateB) return false;
4473
4519
  if (dateA && dateB) return a.getTime() == b.getTime();
4474
4520
  var regexpA = a instanceof RegExp,
4475
- regexpB = b instanceof RegExp;
4521
+ regexpB = b instanceof RegExp;
4476
4522
  if (regexpA != regexpB) return false;
4477
4523
  if (regexpA && regexpB) return a.toString() == b.toString();
4478
4524
  var keys = Object.keys(a);
4479
4525
  length = keys.length;
4480
4526
  if (length !== Object.keys(b).length) return false;
4481
-
4482
4527
  for (i = length; i-- !== 0;) {
4483
4528
  if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
4484
4529
  }
4485
-
4486
4530
  for (i = length; i-- !== 0;) {
4487
4531
  key = keys[i];
4488
4532
  if (!this.deepEquals(a[key], b[key])) return false;
4489
4533
  }
4490
-
4491
4534
  return true;
4492
4535
  }
4493
-
4494
4536
  return a !== a && b !== b;
4495
4537
  }
4496
4538
  }, {
@@ -4504,15 +4546,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4504
4546
  } else {
4505
4547
  var fields = field.split('.');
4506
4548
  var value = data;
4507
-
4508
4549
  for (var i = 0, len = fields.length; i < len; ++i) {
4509
4550
  if (value == null) {
4510
4551
  return null;
4511
4552
  }
4512
-
4513
4553
  value = value[fields[i]];
4514
4554
  }
4515
-
4516
4555
  return value;
4517
4556
  }
4518
4557
  } else {
@@ -4528,22 +4567,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4528
4567
  key: "filter",
4529
4568
  value: function filter(value, fields, filterValue) {
4530
4569
  var filteredItems = [];
4531
-
4532
4570
  if (value) {
4533
4571
  var _iterator = _createForOfIteratorHelper(value),
4534
- _step;
4535
-
4572
+ _step;
4536
4573
  try {
4537
4574
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
4538
4575
  var item = _step.value;
4539
-
4540
4576
  var _iterator2 = _createForOfIteratorHelper(fields),
4541
- _step2;
4542
-
4577
+ _step2;
4543
4578
  try {
4544
4579
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
4545
4580
  var field = _step2.value;
4546
-
4547
4581
  if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
4548
4582
  filteredItems.push(item);
4549
4583
  break;
@@ -4561,23 +4595,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4561
4595
  _iterator.f();
4562
4596
  }
4563
4597
  }
4564
-
4565
4598
  return filteredItems;
4566
4599
  }
4567
4600
  }, {
4568
4601
  key: "reorderArray",
4569
4602
  value: function reorderArray(value, from, to) {
4570
4603
  var target;
4571
-
4572
4604
  if (value && from !== to) {
4573
4605
  if (to >= value.length) {
4574
4606
  target = to - value.length;
4575
-
4576
4607
  while (target-- + 1) {
4577
4608
  value.push(undefined);
4578
4609
  }
4579
4610
  }
4580
-
4581
4611
  value.splice(to, 0, value.splice(from, 1)[0]);
4582
4612
  }
4583
4613
  }
@@ -4585,7 +4615,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4585
4615
  key: "findIndexInList",
4586
4616
  value: function findIndexInList(value, list) {
4587
4617
  var index = -1;
4588
-
4589
4618
  if (list) {
4590
4619
  for (var i = 0; i < list.length; i++) {
4591
4620
  if (list[i] === value) {
@@ -4594,7 +4623,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4594
4623
  }
4595
4624
  }
4596
4625
  }
4597
-
4598
4626
  return index;
4599
4627
  }
4600
4628
  }, {
@@ -4602,8 +4630,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4602
4630
  value: function contains(value, list) {
4603
4631
  if (value != null && list && list.length) {
4604
4632
  var _iterator3 = _createForOfIteratorHelper(list),
4605
- _step3;
4606
-
4633
+ _step3;
4607
4634
  try {
4608
4635
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
4609
4636
  var val = _step3.value;
@@ -4615,7 +4642,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4615
4642
  _iterator3.f();
4616
4643
  }
4617
4644
  }
4618
-
4619
4645
  return false;
4620
4646
  }
4621
4647
  }, {
@@ -4623,17 +4649,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4623
4649
  value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
4624
4650
  if (arr.length > 0) {
4625
4651
  var injected = false;
4626
-
4627
4652
  for (var i = 0; i < arr.length; i++) {
4628
4653
  var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
4629
-
4630
4654
  if (currentItemIndex > index) {
4631
4655
  arr.splice(i, 0, item);
4632
4656
  injected = true;
4633
4657
  break;
4634
4658
  }
4635
4659
  }
4636
-
4637
4660
  if (!injected) {
4638
4661
  arr.push(item);
4639
4662
  }
@@ -4647,28 +4670,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4647
4670
  if (str && str.search(/[\xC0-\xFF]/g) > -1) {
4648
4671
  str = str.replace(/[\xC0-\xC5]/g, "A").replace(/[\xC6]/g, "AE").replace(/[\xC7]/g, "C").replace(/[\xC8-\xCB]/g, "E").replace(/[\xCC-\xCF]/g, "I").replace(/[\xD0]/g, "D").replace(/[\xD1]/g, "N").replace(/[\xD2-\xD6\xD8]/g, "O").replace(/[\xD9-\xDC]/g, "U").replace(/[\xDD]/g, "Y").replace(/[\xDE]/g, "P").replace(/[\xE0-\xE5]/g, "a").replace(/[\xE6]/g, "ae").replace(/[\xE7]/g, "c").replace(/[\xE8-\xEB]/g, "e").replace(/[\xEC-\xEF]/g, "i").replace(/[\xF1]/g, "n").replace(/[\xF2-\xF6\xF8]/g, "o").replace(/[\xF9-\xFC]/g, "u").replace(/[\xFE]/g, "p").replace(/[\xFD\xFF]/g, "y");
4649
4672
  }
4650
-
4651
4673
  return str;
4652
4674
  }
4653
4675
  }, {
4654
4676
  key: "getVNodeProp",
4655
4677
  value: function getVNodeProp(vnode, prop) {
4656
4678
  var props = vnode._props;
4657
-
4658
4679
  if (props) {
4659
4680
  var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
4660
4681
  var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
4661
4682
  return props[propName];
4662
4683
  }
4663
-
4664
4684
  return null;
4665
4685
  }
4666
4686
  }]);
4667
-
4668
4687
  return ObjectUtils;
4669
4688
  }();
4670
4689
 
4671
-
4672
4690
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
4673
4691
  var es6_array_find = __webpack_require__("7514");
4674
4692
 
@@ -4685,18 +4703,13 @@ var es6_array_find = __webpack_require__("7514");
4685
4703
 
4686
4704
 
4687
4705
 
4688
-
4689
4706
  function DomHandler_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; } } }; }
4690
-
4691
4707
  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); }
4692
-
4693
4708
  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; }
4694
-
4695
4709
  var DomHandler_DomHandler = /*#__PURE__*/function () {
4696
4710
  function DomHandler() {
4697
4711
  _classCallCheck(this, DomHandler);
4698
4712
  }
4699
-
4700
4713
  _createClass(DomHandler, null, [{
4701
4714
  key: "innerWidth",
4702
4715
  value: function innerWidth(el) {
@@ -4730,12 +4743,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4730
4743
  value: function getOuterWidth(el, margin) {
4731
4744
  if (el) {
4732
4745
  var width = el.offsetWidth;
4733
-
4734
4746
  if (margin) {
4735
4747
  var style = getComputedStyle(el);
4736
4748
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
4737
4749
  }
4738
-
4739
4750
  return width;
4740
4751
  } else {
4741
4752
  return 0;
@@ -4746,12 +4757,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4746
4757
  value: function getOuterHeight(el, margin) {
4747
4758
  if (el) {
4748
4759
  var height = el.offsetHeight;
4749
-
4750
4760
  if (margin) {
4751
4761
  var style = getComputedStyle(el);
4752
4762
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
4753
4763
  }
4754
-
4755
4764
  return height;
4756
4765
  } else {
4757
4766
  return 0;
@@ -4762,12 +4771,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4762
4771
  value: function getClientHeight(el, margin) {
4763
4772
  if (el) {
4764
4773
  var height = el.clientHeight;
4765
-
4766
4774
  if (margin) {
4767
4775
  var style = getComputedStyle(el);
4768
4776
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
4769
4777
  }
4770
-
4771
4778
  return height;
4772
4779
  } else {
4773
4780
  return 0;
@@ -4777,11 +4784,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4777
4784
  key: "getViewport",
4778
4785
  value: function getViewport() {
4779
4786
  var win = window,
4780
- d = document,
4781
- e = d.documentElement,
4782
- g = d.getElementsByTagName('body')[0],
4783
- w = win.innerWidth || e.clientWidth || g.clientWidth,
4784
- h = win.innerHeight || e.clientHeight || g.clientHeight;
4787
+ d = document,
4788
+ e = d.documentElement,
4789
+ g = d.getElementsByTagName('body')[0],
4790
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
4791
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
4785
4792
  return {
4786
4793
  width: w,
4787
4794
  height: h
@@ -4812,12 +4819,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4812
4819
  value: function index(element) {
4813
4820
  var children = element.parentNode.childNodes;
4814
4821
  var num = 0;
4815
-
4816
4822
  for (var i = 0; i < children.length; i++) {
4817
4823
  if (children[i] === element) return num;
4818
4824
  if (children[i].nodeType === 1) num++;
4819
4825
  }
4820
-
4821
4826
  return -1;
4822
4827
  }
4823
4828
  }, {
@@ -4825,13 +4830,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4825
4830
  value: function addMultipleClasses(element, className) {
4826
4831
  if (element.classList) {
4827
4832
  var styles = className.split(' ');
4828
-
4829
4833
  for (var i = 0; i < styles.length; i++) {
4830
4834
  element.classList.add(styles[i]);
4831
4835
  }
4832
4836
  } else {
4833
4837
  var _styles = className.split(' ');
4834
-
4835
4838
  for (var _i = 0; _i < _styles.length; _i++) {
4836
4839
  element.className += ' ' + _styles[_i];
4837
4840
  }
@@ -4853,7 +4856,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4853
4856
  if (element) {
4854
4857
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
4855
4858
  }
4856
-
4857
4859
  return false;
4858
4860
  }
4859
4861
  }, {
@@ -4898,11 +4900,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4898
4900
  var windowScrollLeft = this.getWindowScrollLeft();
4899
4901
  var viewport = this.getViewport();
4900
4902
  var top, left;
4901
-
4902
4903
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
4903
4904
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
4904
4905
  element.style.transformOrigin = 'bottom';
4905
-
4906
4906
  if (top < 0) {
4907
4907
  top = windowScrollTop;
4908
4908
  }
@@ -4910,7 +4910,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4910
4910
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
4911
4911
  element.style.transformOrigin = 'top';
4912
4912
  }
4913
-
4914
4913
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
4915
4914
  element.style.top = top + 'px';
4916
4915
  element.style.left = left + 'px';
@@ -4926,11 +4925,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4926
4925
  var targetOffset = target.getBoundingClientRect();
4927
4926
  var viewport = this.getViewport();
4928
4927
  var top, left;
4929
-
4930
4928
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
4931
4929
  top = -1 * elementDimensions.height;
4932
4930
  element.style.transformOrigin = 'bottom';
4933
-
4934
4931
  if (targetOffset.top + top < 0) {
4935
4932
  top = -1 * targetOffset.top;
4936
4933
  }
@@ -4938,7 +4935,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4938
4935
  top = targetHeight;
4939
4936
  element.style.transformOrigin = 'top';
4940
4937
  }
4941
-
4942
4938
  if (elementDimensions.width > viewport.width) {
4943
4939
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
4944
4940
  left = targetOffset.left * -1;
@@ -4949,7 +4945,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4949
4945
  // element fits on screen (align with target)
4950
4946
  left = 0;
4951
4947
  }
4952
-
4953
4948
  element.style.top = top + 'px';
4954
4949
  element.style.left = left + 'px';
4955
4950
  }
@@ -4963,35 +4958,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4963
4958
  key: "getScrollableParents",
4964
4959
  value: function getScrollableParents(element) {
4965
4960
  var scrollableParents = [];
4966
-
4967
4961
  if (element) {
4968
4962
  var parents = this.getParents(element);
4969
4963
  var overflowRegex = /(auto|scroll)/;
4970
-
4971
4964
  var overflowCheck = function overflowCheck(node) {
4972
4965
  var styleDeclaration = window['getComputedStyle'](node, null);
4973
4966
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
4974
4967
  };
4975
-
4976
4968
  var _iterator = DomHandler_createForOfIteratorHelper(parents),
4977
- _step;
4978
-
4969
+ _step;
4979
4970
  try {
4980
4971
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
4981
4972
  var parent = _step.value;
4982
4973
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
4983
-
4984
4974
  if (scrollSelectors) {
4985
4975
  var selectors = scrollSelectors.split(',');
4986
-
4987
4976
  var _iterator2 = DomHandler_createForOfIteratorHelper(selectors),
4988
- _step2;
4989
-
4977
+ _step2;
4990
4978
  try {
4991
4979
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
4992
4980
  var selector = _step2.value;
4993
4981
  var el = this.findSingle(parent, selector);
4994
-
4995
4982
  if (el && overflowCheck(el)) {
4996
4983
  scrollableParents.push(el);
4997
4984
  }
@@ -5009,7 +4996,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5009
4996
  _iterator.f();
5010
4997
  }
5011
4998
  }
5012
-
5013
4999
  return scrollableParents;
5014
5000
  }
5015
5001
  }, {
@@ -5050,34 +5036,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5050
5036
  element.style.opacity = 0;
5051
5037
  var last = +new Date();
5052
5038
  var opacity = 0;
5053
-
5054
5039
  var tick = function tick() {
5055
5040
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
5056
5041
  element.style.opacity = opacity;
5057
5042
  last = +new Date();
5058
-
5059
5043
  if (+opacity < 1) {
5060
5044
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
5061
5045
  }
5062
5046
  };
5063
-
5064
5047
  tick();
5065
5048
  }
5066
5049
  }, {
5067
5050
  key: "fadeOut",
5068
5051
  value: function fadeOut(element, ms) {
5069
5052
  var opacity = 1,
5070
- interval = 50,
5071
- duration = ms,
5072
- gap = interval / duration;
5053
+ interval = 50,
5054
+ duration = ms,
5055
+ gap = interval / duration;
5073
5056
  var fading = setInterval(function () {
5074
5057
  opacity -= gap;
5075
-
5076
5058
  if (opacity <= 0) {
5077
5059
  opacity = 0;
5078
5060
  clearInterval(fading);
5079
5061
  }
5080
-
5081
5062
  element.style.opacity = opacity;
5082
5063
  }, interval);
5083
5064
  }
@@ -5104,7 +5085,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5104
5085
  var scroll = container.scrollTop;
5105
5086
  var elementHeight = container.clientHeight;
5106
5087
  var itemHeight = this.getOuterHeight(item);
5107
-
5108
5088
  if (offset < 0) {
5109
5089
  container.scrollTop = scroll + offset;
5110
5090
  } else if (offset + itemHeight > elementHeight) {
@@ -5123,7 +5103,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5123
5103
  } else if (document['selection'] && document['selection'].empty) {
5124
5104
  try {
5125
5105
  document['selection'].empty();
5126
- } catch (error) {//ignore IE bug
5106
+ } catch (error) {
5107
+ //ignore IE bug
5127
5108
  }
5128
5109
  }
5129
5110
  }
@@ -5145,19 +5126,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5145
5126
  if (!this.browser) {
5146
5127
  var matched = this.resolveUserAgent();
5147
5128
  this.browser = {};
5148
-
5149
5129
  if (matched.browser) {
5150
5130
  this.browser[matched.browser] = true;
5151
5131
  this.browser['version'] = matched.version;
5152
5132
  }
5153
-
5154
5133
  if (this.browser['chrome']) {
5155
5134
  this.browser['webkit'] = true;
5156
5135
  } else if (this.browser['webkit']) {
5157
5136
  this.browser['safari'] = true;
5158
5137
  }
5159
5138
  }
5160
-
5161
5139
  return this.browser;
5162
5140
  }
5163
5141
  }, {
@@ -5185,10 +5163,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5185
5163
  value: function getFocusableElements(element) {
5186
5164
  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])");
5187
5165
  var visibleFocusableElements = [];
5188
-
5189
5166
  var _iterator3 = DomHandler_createForOfIteratorHelper(focusableElements),
5190
- _step3;
5191
-
5167
+ _step3;
5192
5168
  try {
5193
5169
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
5194
5170
  var focusableElement = _step3.value;
@@ -5199,7 +5175,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5199
5175
  } finally {
5200
5176
  _iterator3.f();
5201
5177
  }
5202
-
5203
5178
  return visibleFocusableElements;
5204
5179
  }
5205
5180
  }, {
@@ -5242,55 +5217,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5242
5217
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
5243
5218
  }
5244
5219
  }]);
5245
-
5246
5220
  return DomHandler;
5247
5221
  }();
5248
5222
 
5249
-
5250
5223
  // CONCATENATED MODULE: ./src/components/ripple/Ripple.js
5251
5224
 
5252
-
5253
5225
  function bindEvents(el) {
5254
5226
  el.addEventListener('mousedown', onMouseDown);
5255
5227
  }
5256
-
5257
5228
  function unbindEvents(el) {
5258
5229
  el.removeEventListener('mousedown', onMouseDown);
5259
5230
  }
5260
-
5261
5231
  function create(el) {
5262
5232
  var ink = document.createElement('span');
5263
5233
  ink.className = 'p-ink';
5264
5234
  el.appendChild(ink);
5265
5235
  ink.addEventListener('animationend', onAnimationEnd);
5266
5236
  }
5267
-
5268
5237
  function remove(el) {
5269
5238
  var ink = getInk(el);
5270
-
5271
5239
  if (ink) {
5272
5240
  unbindEvents(el);
5273
5241
  ink.removeEventListener('animationend', onAnimationEnd);
5274
5242
  ink.remove();
5275
5243
  }
5276
5244
  }
5277
-
5278
5245
  function onMouseDown(event) {
5279
5246
  var target = event.currentTarget;
5280
5247
  var ink = getInk(target);
5281
-
5282
5248
  if (!ink || getComputedStyle(ink, null).display === 'none') {
5283
5249
  return;
5284
5250
  }
5285
-
5286
5251
  DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
5287
-
5288
5252
  if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
5289
5253
  var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
5290
5254
  ink.style.height = d + 'px';
5291
5255
  ink.style.width = d + 'px';
5292
5256
  }
5293
-
5294
5257
  var offset = DomHandler_DomHandler.getOffset(target);
5295
5258
  var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
5296
5259
  var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
@@ -5298,21 +5261,17 @@ function onMouseDown(event) {
5298
5261
  ink.style.left = x + 'px';
5299
5262
  DomHandler_DomHandler.addClass(ink, 'p-ink-active');
5300
5263
  }
5301
-
5302
5264
  function onAnimationEnd(event) {
5303
5265
  DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
5304
5266
  }
5305
-
5306
5267
  function getInk(el) {
5307
5268
  for (var i = 0; i < el.children.length; i++) {
5308
5269
  if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
5309
5270
  return el.children[i];
5310
5271
  }
5311
5272
  }
5312
-
5313
5273
  return null;
5314
5274
  }
5315
-
5316
5275
  var Ripple = {
5317
5276
  inserted: function inserted(el, binding, vnode) {
5318
5277
  if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
@@ -5335,33 +5294,10 @@ var Ripple = {
5335
5294
 
5336
5295
 
5337
5296
 
5338
-
5339
5297
  function CascadeSelectSubvue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = CascadeSelectSubvue_type_script_lang_js_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; } } }; }
5340
-
5341
5298
  function CascadeSelectSubvue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return CascadeSelectSubvue_type_script_lang_js_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 CascadeSelectSubvue_type_script_lang_js_arrayLikeToArray(o, minLen); }
5342
-
5343
5299
  function CascadeSelectSubvue_type_script_lang_js_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; }
5344
5300
 
5345
- //
5346
- //
5347
- //
5348
- //
5349
- //
5350
- //
5351
- //
5352
- //
5353
- //
5354
- //
5355
- //
5356
- //
5357
- //
5358
- //
5359
- //
5360
- //
5361
- //
5362
- //
5363
- //
5364
-
5365
5301
 
5366
5302
 
5367
5303
  var CascadeSelectOptionTemplate = {
@@ -5406,12 +5342,10 @@ var CascadeSelectOptionTemplate = {
5406
5342
  mounted: function mounted() {
5407
5343
  if (this.selectionPath && this.options && !this.dirty) {
5408
5344
  var _iterator = CascadeSelectSubvue_type_script_lang_js_createForOfIteratorHelper(this.options),
5409
- _step;
5410
-
5345
+ _step;
5411
5346
  try {
5412
5347
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
5413
5348
  var option = _step.value;
5414
-
5415
5349
  if (this.selectionPath.includes(option)) {
5416
5350
  this.activeOption = option;
5417
5351
  break;
@@ -5423,7 +5357,6 @@ var CascadeSelectOptionTemplate = {
5423
5357
  _iterator.f();
5424
5358
  }
5425
5359
  }
5426
-
5427
5360
  if (!this.root) {
5428
5361
  this.position();
5429
5362
  }
@@ -5488,23 +5421,17 @@ var CascadeSelectOptionTemplate = {
5488
5421
  case 'Down':
5489
5422
  case 'ArrowDown':
5490
5423
  var nextItem = this.$el.children[index + 1];
5491
-
5492
5424
  if (nextItem) {
5493
5425
  nextItem.children[0].focus();
5494
5426
  }
5495
-
5496
5427
  break;
5497
-
5498
5428
  case 'Up':
5499
5429
  case 'ArrowUp':
5500
5430
  var prevItem = this.$el.children[index - 1];
5501
-
5502
5431
  if (prevItem) {
5503
5432
  prevItem.children[0].focus();
5504
5433
  }
5505
-
5506
5434
  break;
5507
-
5508
5435
  case 'Right':
5509
5436
  case 'ArrowRight':
5510
5437
  if (this.isOptionGroup(option)) {
@@ -5514,25 +5441,19 @@ var CascadeSelectOptionTemplate = {
5514
5441
  this.activeOption = option;
5515
5442
  }
5516
5443
  }
5517
-
5518
5444
  break;
5519
-
5520
5445
  case 'Left':
5521
5446
  case 'ArrowLeft':
5522
5447
  this.activeOption = null;
5523
5448
  var parentList = event.currentTarget.parentElement.parentElement.previousElementSibling;
5524
-
5525
5449
  if (parentList) {
5526
5450
  parentList.focus();
5527
5451
  }
5528
-
5529
5452
  break;
5530
-
5531
5453
  case 'Enter':
5532
5454
  this.onOptionClick(event, option);
5533
5455
  break;
5534
5456
  }
5535
-
5536
5457
  event.preventDefault();
5537
5458
  },
5538
5459
  position: function position() {
@@ -5541,7 +5462,6 @@ var CascadeSelectOptionTemplate = {
5541
5462
  var viewport = DomHandler_DomHandler.getViewport();
5542
5463
  var sublistWidth = this.$el.offsetParent ? this.$el.offsetWidth : DomHandler_DomHandler.getHiddenElementOuterWidth(this.$el);
5543
5464
  var itemOuterWidth = DomHandler_DomHandler.getOuterWidth(parentItem.children[0]);
5544
-
5545
5465
  if (parseInt(containerOffset.left, 10) + itemOuterWidth + sublistWidth > viewport.width - DomHandler_DomHandler.calculateScrollbarWidth()) {
5546
5466
  this.$el.style.left = '-100%';
5547
5467
  }
@@ -5563,20 +5483,19 @@ var CascadeSelectOptionTemplate = {
5563
5483
  // This module is a runtime utility for cleaner component module output and will
5564
5484
  // be included in the final webpack user bundle.
5565
5485
 
5566
- function normalizeComponent (
5486
+ function normalizeComponent(
5567
5487
  scriptExports,
5568
5488
  render,
5569
5489
  staticRenderFns,
5570
5490
  functionalTemplate,
5571
5491
  injectStyles,
5572
5492
  scopeId,
5573
- moduleIdentifier, /* server only */
5493
+ moduleIdentifier /* server only */,
5574
5494
  shadowMode /* vue-cli only */
5575
5495
  ) {
5576
5496
  // Vue.extend constructor export interop
5577
- var options = typeof scriptExports === 'function'
5578
- ? scriptExports.options
5579
- : scriptExports
5497
+ var options =
5498
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
5580
5499
 
5581
5500
  // render functions
5582
5501
  if (render) {
@@ -5596,7 +5515,8 @@ function normalizeComponent (
5596
5515
  }
5597
5516
 
5598
5517
  var hook
5599
- if (moduleIdentifier) { // server build
5518
+ if (moduleIdentifier) {
5519
+ // server build
5600
5520
  hook = function (context) {
5601
5521
  // 2.3 injection
5602
5522
  context =
@@ -5622,11 +5542,11 @@ function normalizeComponent (
5622
5542
  } else if (injectStyles) {
5623
5543
  hook = shadowMode
5624
5544
  ? function () {
5625
- injectStyles.call(
5626
- this,
5627
- (options.functional ? this.parent : this).$root.$options.shadowRoot
5628
- )
5629
- }
5545
+ injectStyles.call(
5546
+ this,
5547
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
5548
+ )
5549
+ }
5630
5550
  : injectStyles
5631
5551
  }
5632
5552
 
@@ -5637,16 +5557,14 @@ function normalizeComponent (
5637
5557
  options._injectStyles = hook
5638
5558
  // register for functional component in vue file
5639
5559
  var originalRender = options.render
5640
- options.render = function renderWithStyleInjection (h, context) {
5560
+ options.render = function renderWithStyleInjection(h, context) {
5641
5561
  hook.call(context)
5642
5562
  return originalRender(h, context)
5643
5563
  }
5644
5564
  } else {
5645
5565
  // inject component registration as beforeCreate hook
5646
5566
  var existing = options.beforeCreate
5647
- options.beforeCreate = existing
5648
- ? [].concat(existing, hook)
5649
- : [hook]
5567
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
5650
5568
  }
5651
5569
  }
5652
5570