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
@@ -4291,10 +4291,71 @@ if (typeof window !== 'undefined') {
4291
4291
  // Indicate to webpack that this file can be concatenated
4292
4292
  /* harmony default export */ var setPublicPath = (null);
4293
4293
 
4294
- // 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&
4295
- 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)}
4296
- var staticRenderFns = []
4297
-
4294
+ // 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&
4295
+ var render = function render() {
4296
+ var _vm = this,
4297
+ _c = _vm._self._c;
4298
+ return _c('ul', {
4299
+ staticClass: "p-cascadeselect-panel p-cascadeselect-items",
4300
+ attrs: {
4301
+ "role": "listbox",
4302
+ "aria-orientation": "horizontal"
4303
+ }
4304
+ }, [_vm._l(_vm.options, function (option, i) {
4305
+ return [_c('li', {
4306
+ key: _vm.getOptionLabelToRender(option),
4307
+ class: _vm.getItemClass(option),
4308
+ attrs: {
4309
+ "role": "none"
4310
+ }
4311
+ }, [_c('div', {
4312
+ directives: [{
4313
+ name: "ripple",
4314
+ rawName: "v-ripple"
4315
+ }],
4316
+ staticClass: "p-cascadeselect-item-content",
4317
+ attrs: {
4318
+ "tabindex": "0"
4319
+ },
4320
+ on: {
4321
+ "click": function click($event) {
4322
+ return _vm.onOptionClick($event, option);
4323
+ },
4324
+ "keydown": function keydown($event) {
4325
+ return _vm.onKeyDown($event, option, i);
4326
+ }
4327
+ }
4328
+ }, [_vm.templates['option'] ? _c('CascadeSelectOptionTemplate', {
4329
+ attrs: {
4330
+ "option": option,
4331
+ "template": _vm.templates['option']
4332
+ }
4333
+ }) : [_c('span', {
4334
+ staticClass: "p-cascadeselect-item-text"
4335
+ }, [_vm._v(_vm._s(_vm.getOptionLabelToRender(option)))])], _vm.isOptionGroup(option) ? _c('span', {
4336
+ staticClass: "p-cascadeselect-group-icon pi pi-angle-right"
4337
+ }) : _vm._e()], 2), _vm.isOptionGroup(option) && _vm.isOptionActive(option) ? _c('cascadeselect-sub', {
4338
+ staticClass: "p-cascadeselect-sublist",
4339
+ attrs: {
4340
+ "selectionPath": _vm.selectionPath,
4341
+ "options": _vm.getOptionGroupChildren(option),
4342
+ "optionLabel": _vm.optionLabel,
4343
+ "optionValue": _vm.optionValue,
4344
+ "level": _vm.level + 1,
4345
+ "optionGroupLabel": _vm.optionGroupLabel,
4346
+ "optionGroupChildren": _vm.optionGroupChildren,
4347
+ "parentActive": _vm.isOptionActive(option),
4348
+ "dirty": _vm.dirty,
4349
+ "templates": _vm.templates
4350
+ },
4351
+ on: {
4352
+ "option-select": _vm.onOptionSelect,
4353
+ "optiongroup-select": _vm.onOptionGroupSelect
4354
+ }
4355
+ }) : _vm._e()], 1)];
4356
+ })], 2);
4357
+ };
4358
+ var staticRenderFns = [];
4298
4359
 
4299
4360
  // CONCATENATED MODULE: ./src/components/cascadeselect/CascadeSelectSub.vue?vue&type=template&id=116e9314&
4300
4361
 
@@ -4378,26 +4439,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
4378
4439
 
4379
4440
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
4380
4441
 
4381
-
4382
4442
  function _defineProperties(target, props) {
4383
4443
  for (var i = 0; i < props.length; i++) {
4384
4444
  var descriptor = props[i];
4385
4445
  descriptor.enumerable = descriptor.enumerable || false;
4386
4446
  descriptor.configurable = true;
4387
4447
  if ("value" in descriptor) descriptor.writable = true;
4388
-
4389
4448
  define_property_default()(target, descriptor.key, descriptor);
4390
4449
  }
4391
4450
  }
4392
-
4393
4451
  function _createClass(Constructor, protoProps, staticProps) {
4394
4452
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
4395
4453
  if (staticProps) _defineProperties(Constructor, staticProps);
4396
-
4397
4454
  define_property_default()(Constructor, "prototype", {
4398
4455
  writable: false
4399
4456
  });
4400
-
4401
4457
  return Constructor;
4402
4458
  }
4403
4459
  // CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
@@ -4417,18 +4473,13 @@ function _createClass(Constructor, protoProps, staticProps) {
4417
4473
 
4418
4474
 
4419
4475
 
4420
-
4421
4476
  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; } } }; }
4422
-
4423
4477
  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); }
4424
-
4425
4478
  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; }
4426
-
4427
4479
  var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4428
4480
  function ObjectUtils() {
4429
4481
  _classCallCheck(this, ObjectUtils);
4430
4482
  }
4431
-
4432
4483
  _createClass(ObjectUtils, null, [{
4433
4484
  key: "equals",
4434
4485
  value: function equals(obj1, obj2, field) {
@@ -4438,50 +4489,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4438
4489
  key: "deepEquals",
4439
4490
  value: function deepEquals(a, b) {
4440
4491
  if (a === b) return true;
4441
-
4442
4492
  if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
4443
4493
  var arrA = Array.isArray(a),
4444
- arrB = Array.isArray(b),
4445
- i,
4446
- length,
4447
- key;
4448
-
4494
+ arrB = Array.isArray(b),
4495
+ i,
4496
+ length,
4497
+ key;
4449
4498
  if (arrA && arrB) {
4450
4499
  length = a.length;
4451
4500
  if (length != b.length) return false;
4452
-
4453
4501
  for (i = length; i-- !== 0;) {
4454
4502
  if (!this.deepEquals(a[i], b[i])) return false;
4455
4503
  }
4456
-
4457
4504
  return true;
4458
4505
  }
4459
-
4460
4506
  if (arrA != arrB) return false;
4461
4507
  var dateA = a instanceof Date,
4462
- dateB = b instanceof Date;
4508
+ dateB = b instanceof Date;
4463
4509
  if (dateA != dateB) return false;
4464
4510
  if (dateA && dateB) return a.getTime() == b.getTime();
4465
4511
  var regexpA = a instanceof RegExp,
4466
- regexpB = b instanceof RegExp;
4512
+ regexpB = b instanceof RegExp;
4467
4513
  if (regexpA != regexpB) return false;
4468
4514
  if (regexpA && regexpB) return a.toString() == b.toString();
4469
4515
  var keys = Object.keys(a);
4470
4516
  length = keys.length;
4471
4517
  if (length !== Object.keys(b).length) return false;
4472
-
4473
4518
  for (i = length; i-- !== 0;) {
4474
4519
  if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
4475
4520
  }
4476
-
4477
4521
  for (i = length; i-- !== 0;) {
4478
4522
  key = keys[i];
4479
4523
  if (!this.deepEquals(a[key], b[key])) return false;
4480
4524
  }
4481
-
4482
4525
  return true;
4483
4526
  }
4484
-
4485
4527
  return a !== a && b !== b;
4486
4528
  }
4487
4529
  }, {
@@ -4495,15 +4537,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4495
4537
  } else {
4496
4538
  var fields = field.split('.');
4497
4539
  var value = data;
4498
-
4499
4540
  for (var i = 0, len = fields.length; i < len; ++i) {
4500
4541
  if (value == null) {
4501
4542
  return null;
4502
4543
  }
4503
-
4504
4544
  value = value[fields[i]];
4505
4545
  }
4506
-
4507
4546
  return value;
4508
4547
  }
4509
4548
  } else {
@@ -4519,22 +4558,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4519
4558
  key: "filter",
4520
4559
  value: function filter(value, fields, filterValue) {
4521
4560
  var filteredItems = [];
4522
-
4523
4561
  if (value) {
4524
4562
  var _iterator = _createForOfIteratorHelper(value),
4525
- _step;
4526
-
4563
+ _step;
4527
4564
  try {
4528
4565
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
4529
4566
  var item = _step.value;
4530
-
4531
4567
  var _iterator2 = _createForOfIteratorHelper(fields),
4532
- _step2;
4533
-
4568
+ _step2;
4534
4569
  try {
4535
4570
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
4536
4571
  var field = _step2.value;
4537
-
4538
4572
  if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
4539
4573
  filteredItems.push(item);
4540
4574
  break;
@@ -4552,23 +4586,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4552
4586
  _iterator.f();
4553
4587
  }
4554
4588
  }
4555
-
4556
4589
  return filteredItems;
4557
4590
  }
4558
4591
  }, {
4559
4592
  key: "reorderArray",
4560
4593
  value: function reorderArray(value, from, to) {
4561
4594
  var target;
4562
-
4563
4595
  if (value && from !== to) {
4564
4596
  if (to >= value.length) {
4565
4597
  target = to - value.length;
4566
-
4567
4598
  while (target-- + 1) {
4568
4599
  value.push(undefined);
4569
4600
  }
4570
4601
  }
4571
-
4572
4602
  value.splice(to, 0, value.splice(from, 1)[0]);
4573
4603
  }
4574
4604
  }
@@ -4576,7 +4606,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4576
4606
  key: "findIndexInList",
4577
4607
  value: function findIndexInList(value, list) {
4578
4608
  var index = -1;
4579
-
4580
4609
  if (list) {
4581
4610
  for (var i = 0; i < list.length; i++) {
4582
4611
  if (list[i] === value) {
@@ -4585,7 +4614,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4585
4614
  }
4586
4615
  }
4587
4616
  }
4588
-
4589
4617
  return index;
4590
4618
  }
4591
4619
  }, {
@@ -4593,8 +4621,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4593
4621
  value: function contains(value, list) {
4594
4622
  if (value != null && list && list.length) {
4595
4623
  var _iterator3 = _createForOfIteratorHelper(list),
4596
- _step3;
4597
-
4624
+ _step3;
4598
4625
  try {
4599
4626
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
4600
4627
  var val = _step3.value;
@@ -4606,7 +4633,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4606
4633
  _iterator3.f();
4607
4634
  }
4608
4635
  }
4609
-
4610
4636
  return false;
4611
4637
  }
4612
4638
  }, {
@@ -4614,17 +4640,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4614
4640
  value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
4615
4641
  if (arr.length > 0) {
4616
4642
  var injected = false;
4617
-
4618
4643
  for (var i = 0; i < arr.length; i++) {
4619
4644
  var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
4620
-
4621
4645
  if (currentItemIndex > index) {
4622
4646
  arr.splice(i, 0, item);
4623
4647
  injected = true;
4624
4648
  break;
4625
4649
  }
4626
4650
  }
4627
-
4628
4651
  if (!injected) {
4629
4652
  arr.push(item);
4630
4653
  }
@@ -4638,28 +4661,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4638
4661
  if (str && str.search(/[\xC0-\xFF]/g) > -1) {
4639
4662
  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");
4640
4663
  }
4641
-
4642
4664
  return str;
4643
4665
  }
4644
4666
  }, {
4645
4667
  key: "getVNodeProp",
4646
4668
  value: function getVNodeProp(vnode, prop) {
4647
4669
  var props = vnode._props;
4648
-
4649
4670
  if (props) {
4650
4671
  var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
4651
4672
  var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
4652
4673
  return props[propName];
4653
4674
  }
4654
-
4655
4675
  return null;
4656
4676
  }
4657
4677
  }]);
4658
-
4659
4678
  return ObjectUtils;
4660
4679
  }();
4661
4680
 
4662
-
4663
4681
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
4664
4682
  var es6_array_find = __webpack_require__("7514");
4665
4683
 
@@ -4676,18 +4694,13 @@ var es6_array_find = __webpack_require__("7514");
4676
4694
 
4677
4695
 
4678
4696
 
4679
-
4680
4697
  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; } } }; }
4681
-
4682
4698
  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); }
4683
-
4684
4699
  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; }
4685
-
4686
4700
  var DomHandler_DomHandler = /*#__PURE__*/function () {
4687
4701
  function DomHandler() {
4688
4702
  _classCallCheck(this, DomHandler);
4689
4703
  }
4690
-
4691
4704
  _createClass(DomHandler, null, [{
4692
4705
  key: "innerWidth",
4693
4706
  value: function innerWidth(el) {
@@ -4721,12 +4734,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4721
4734
  value: function getOuterWidth(el, margin) {
4722
4735
  if (el) {
4723
4736
  var width = el.offsetWidth;
4724
-
4725
4737
  if (margin) {
4726
4738
  var style = getComputedStyle(el);
4727
4739
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
4728
4740
  }
4729
-
4730
4741
  return width;
4731
4742
  } else {
4732
4743
  return 0;
@@ -4737,12 +4748,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4737
4748
  value: function getOuterHeight(el, margin) {
4738
4749
  if (el) {
4739
4750
  var height = el.offsetHeight;
4740
-
4741
4751
  if (margin) {
4742
4752
  var style = getComputedStyle(el);
4743
4753
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
4744
4754
  }
4745
-
4746
4755
  return height;
4747
4756
  } else {
4748
4757
  return 0;
@@ -4753,12 +4762,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4753
4762
  value: function getClientHeight(el, margin) {
4754
4763
  if (el) {
4755
4764
  var height = el.clientHeight;
4756
-
4757
4765
  if (margin) {
4758
4766
  var style = getComputedStyle(el);
4759
4767
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
4760
4768
  }
4761
-
4762
4769
  return height;
4763
4770
  } else {
4764
4771
  return 0;
@@ -4768,11 +4775,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4768
4775
  key: "getViewport",
4769
4776
  value: function getViewport() {
4770
4777
  var win = window,
4771
- d = document,
4772
- e = d.documentElement,
4773
- g = d.getElementsByTagName('body')[0],
4774
- w = win.innerWidth || e.clientWidth || g.clientWidth,
4775
- h = win.innerHeight || e.clientHeight || g.clientHeight;
4778
+ d = document,
4779
+ e = d.documentElement,
4780
+ g = d.getElementsByTagName('body')[0],
4781
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
4782
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
4776
4783
  return {
4777
4784
  width: w,
4778
4785
  height: h
@@ -4803,12 +4810,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4803
4810
  value: function index(element) {
4804
4811
  var children = element.parentNode.childNodes;
4805
4812
  var num = 0;
4806
-
4807
4813
  for (var i = 0; i < children.length; i++) {
4808
4814
  if (children[i] === element) return num;
4809
4815
  if (children[i].nodeType === 1) num++;
4810
4816
  }
4811
-
4812
4817
  return -1;
4813
4818
  }
4814
4819
  }, {
@@ -4816,13 +4821,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4816
4821
  value: function addMultipleClasses(element, className) {
4817
4822
  if (element.classList) {
4818
4823
  var styles = className.split(' ');
4819
-
4820
4824
  for (var i = 0; i < styles.length; i++) {
4821
4825
  element.classList.add(styles[i]);
4822
4826
  }
4823
4827
  } else {
4824
4828
  var _styles = className.split(' ');
4825
-
4826
4829
  for (var _i = 0; _i < _styles.length; _i++) {
4827
4830
  element.className += ' ' + _styles[_i];
4828
4831
  }
@@ -4844,7 +4847,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4844
4847
  if (element) {
4845
4848
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
4846
4849
  }
4847
-
4848
4850
  return false;
4849
4851
  }
4850
4852
  }, {
@@ -4889,11 +4891,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4889
4891
  var windowScrollLeft = this.getWindowScrollLeft();
4890
4892
  var viewport = this.getViewport();
4891
4893
  var top, left;
4892
-
4893
4894
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
4894
4895
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
4895
4896
  element.style.transformOrigin = 'bottom';
4896
-
4897
4897
  if (top < 0) {
4898
4898
  top = windowScrollTop;
4899
4899
  }
@@ -4901,7 +4901,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4901
4901
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
4902
4902
  element.style.transformOrigin = 'top';
4903
4903
  }
4904
-
4905
4904
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
4906
4905
  element.style.top = top + 'px';
4907
4906
  element.style.left = left + 'px';
@@ -4917,11 +4916,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4917
4916
  var targetOffset = target.getBoundingClientRect();
4918
4917
  var viewport = this.getViewport();
4919
4918
  var top, left;
4920
-
4921
4919
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
4922
4920
  top = -1 * elementDimensions.height;
4923
4921
  element.style.transformOrigin = 'bottom';
4924
-
4925
4922
  if (targetOffset.top + top < 0) {
4926
4923
  top = -1 * targetOffset.top;
4927
4924
  }
@@ -4929,7 +4926,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4929
4926
  top = targetHeight;
4930
4927
  element.style.transformOrigin = 'top';
4931
4928
  }
4932
-
4933
4929
  if (elementDimensions.width > viewport.width) {
4934
4930
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
4935
4931
  left = targetOffset.left * -1;
@@ -4940,7 +4936,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4940
4936
  // element fits on screen (align with target)
4941
4937
  left = 0;
4942
4938
  }
4943
-
4944
4939
  element.style.top = top + 'px';
4945
4940
  element.style.left = left + 'px';
4946
4941
  }
@@ -4954,35 +4949,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
4954
4949
  key: "getScrollableParents",
4955
4950
  value: function getScrollableParents(element) {
4956
4951
  var scrollableParents = [];
4957
-
4958
4952
  if (element) {
4959
4953
  var parents = this.getParents(element);
4960
4954
  var overflowRegex = /(auto|scroll)/;
4961
-
4962
4955
  var overflowCheck = function overflowCheck(node) {
4963
4956
  var styleDeclaration = window['getComputedStyle'](node, null);
4964
4957
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
4965
4958
  };
4966
-
4967
4959
  var _iterator = DomHandler_createForOfIteratorHelper(parents),
4968
- _step;
4969
-
4960
+ _step;
4970
4961
  try {
4971
4962
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
4972
4963
  var parent = _step.value;
4973
4964
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
4974
-
4975
4965
  if (scrollSelectors) {
4976
4966
  var selectors = scrollSelectors.split(',');
4977
-
4978
4967
  var _iterator2 = DomHandler_createForOfIteratorHelper(selectors),
4979
- _step2;
4980
-
4968
+ _step2;
4981
4969
  try {
4982
4970
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
4983
4971
  var selector = _step2.value;
4984
4972
  var el = this.findSingle(parent, selector);
4985
-
4986
4973
  if (el && overflowCheck(el)) {
4987
4974
  scrollableParents.push(el);
4988
4975
  }
@@ -5000,7 +4987,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5000
4987
  _iterator.f();
5001
4988
  }
5002
4989
  }
5003
-
5004
4990
  return scrollableParents;
5005
4991
  }
5006
4992
  }, {
@@ -5041,34 +5027,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5041
5027
  element.style.opacity = 0;
5042
5028
  var last = +new Date();
5043
5029
  var opacity = 0;
5044
-
5045
5030
  var tick = function tick() {
5046
5031
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
5047
5032
  element.style.opacity = opacity;
5048
5033
  last = +new Date();
5049
-
5050
5034
  if (+opacity < 1) {
5051
5035
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
5052
5036
  }
5053
5037
  };
5054
-
5055
5038
  tick();
5056
5039
  }
5057
5040
  }, {
5058
5041
  key: "fadeOut",
5059
5042
  value: function fadeOut(element, ms) {
5060
5043
  var opacity = 1,
5061
- interval = 50,
5062
- duration = ms,
5063
- gap = interval / duration;
5044
+ interval = 50,
5045
+ duration = ms,
5046
+ gap = interval / duration;
5064
5047
  var fading = setInterval(function () {
5065
5048
  opacity -= gap;
5066
-
5067
5049
  if (opacity <= 0) {
5068
5050
  opacity = 0;
5069
5051
  clearInterval(fading);
5070
5052
  }
5071
-
5072
5053
  element.style.opacity = opacity;
5073
5054
  }, interval);
5074
5055
  }
@@ -5095,7 +5076,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5095
5076
  var scroll = container.scrollTop;
5096
5077
  var elementHeight = container.clientHeight;
5097
5078
  var itemHeight = this.getOuterHeight(item);
5098
-
5099
5079
  if (offset < 0) {
5100
5080
  container.scrollTop = scroll + offset;
5101
5081
  } else if (offset + itemHeight > elementHeight) {
@@ -5114,7 +5094,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5114
5094
  } else if (document['selection'] && document['selection'].empty) {
5115
5095
  try {
5116
5096
  document['selection'].empty();
5117
- } catch (error) {//ignore IE bug
5097
+ } catch (error) {
5098
+ //ignore IE bug
5118
5099
  }
5119
5100
  }
5120
5101
  }
@@ -5136,19 +5117,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5136
5117
  if (!this.browser) {
5137
5118
  var matched = this.resolveUserAgent();
5138
5119
  this.browser = {};
5139
-
5140
5120
  if (matched.browser) {
5141
5121
  this.browser[matched.browser] = true;
5142
5122
  this.browser['version'] = matched.version;
5143
5123
  }
5144
-
5145
5124
  if (this.browser['chrome']) {
5146
5125
  this.browser['webkit'] = true;
5147
5126
  } else if (this.browser['webkit']) {
5148
5127
  this.browser['safari'] = true;
5149
5128
  }
5150
5129
  }
5151
-
5152
5130
  return this.browser;
5153
5131
  }
5154
5132
  }, {
@@ -5176,10 +5154,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5176
5154
  value: function getFocusableElements(element) {
5177
5155
  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])");
5178
5156
  var visibleFocusableElements = [];
5179
-
5180
5157
  var _iterator3 = DomHandler_createForOfIteratorHelper(focusableElements),
5181
- _step3;
5182
-
5158
+ _step3;
5183
5159
  try {
5184
5160
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
5185
5161
  var focusableElement = _step3.value;
@@ -5190,7 +5166,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5190
5166
  } finally {
5191
5167
  _iterator3.f();
5192
5168
  }
5193
-
5194
5169
  return visibleFocusableElements;
5195
5170
  }
5196
5171
  }, {
@@ -5233,55 +5208,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5233
5208
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
5234
5209
  }
5235
5210
  }]);
5236
-
5237
5211
  return DomHandler;
5238
5212
  }();
5239
5213
 
5240
-
5241
5214
  // CONCATENATED MODULE: ./src/components/ripple/Ripple.js
5242
5215
 
5243
-
5244
5216
  function bindEvents(el) {
5245
5217
  el.addEventListener('mousedown', onMouseDown);
5246
5218
  }
5247
-
5248
5219
  function unbindEvents(el) {
5249
5220
  el.removeEventListener('mousedown', onMouseDown);
5250
5221
  }
5251
-
5252
5222
  function create(el) {
5253
5223
  var ink = document.createElement('span');
5254
5224
  ink.className = 'p-ink';
5255
5225
  el.appendChild(ink);
5256
5226
  ink.addEventListener('animationend', onAnimationEnd);
5257
5227
  }
5258
-
5259
5228
  function remove(el) {
5260
5229
  var ink = getInk(el);
5261
-
5262
5230
  if (ink) {
5263
5231
  unbindEvents(el);
5264
5232
  ink.removeEventListener('animationend', onAnimationEnd);
5265
5233
  ink.remove();
5266
5234
  }
5267
5235
  }
5268
-
5269
5236
  function onMouseDown(event) {
5270
5237
  var target = event.currentTarget;
5271
5238
  var ink = getInk(target);
5272
-
5273
5239
  if (!ink || getComputedStyle(ink, null).display === 'none') {
5274
5240
  return;
5275
5241
  }
5276
-
5277
5242
  DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
5278
-
5279
5243
  if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
5280
5244
  var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
5281
5245
  ink.style.height = d + 'px';
5282
5246
  ink.style.width = d + 'px';
5283
5247
  }
5284
-
5285
5248
  var offset = DomHandler_DomHandler.getOffset(target);
5286
5249
  var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
5287
5250
  var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
@@ -5289,21 +5252,17 @@ function onMouseDown(event) {
5289
5252
  ink.style.left = x + 'px';
5290
5253
  DomHandler_DomHandler.addClass(ink, 'p-ink-active');
5291
5254
  }
5292
-
5293
5255
  function onAnimationEnd(event) {
5294
5256
  DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
5295
5257
  }
5296
-
5297
5258
  function getInk(el) {
5298
5259
  for (var i = 0; i < el.children.length; i++) {
5299
5260
  if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
5300
5261
  return el.children[i];
5301
5262
  }
5302
5263
  }
5303
-
5304
5264
  return null;
5305
5265
  }
5306
-
5307
5266
  var Ripple = {
5308
5267
  inserted: function inserted(el, binding, vnode) {
5309
5268
  if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
@@ -5326,33 +5285,10 @@ var Ripple = {
5326
5285
 
5327
5286
 
5328
5287
 
5329
-
5330
5288
  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; } } }; }
5331
-
5332
5289
  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); }
5333
-
5334
5290
  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; }
5335
5291
 
5336
- //
5337
- //
5338
- //
5339
- //
5340
- //
5341
- //
5342
- //
5343
- //
5344
- //
5345
- //
5346
- //
5347
- //
5348
- //
5349
- //
5350
- //
5351
- //
5352
- //
5353
- //
5354
- //
5355
-
5356
5292
 
5357
5293
 
5358
5294
  var CascadeSelectOptionTemplate = {
@@ -5397,12 +5333,10 @@ var CascadeSelectOptionTemplate = {
5397
5333
  mounted: function mounted() {
5398
5334
  if (this.selectionPath && this.options && !this.dirty) {
5399
5335
  var _iterator = CascadeSelectSubvue_type_script_lang_js_createForOfIteratorHelper(this.options),
5400
- _step;
5401
-
5336
+ _step;
5402
5337
  try {
5403
5338
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
5404
5339
  var option = _step.value;
5405
-
5406
5340
  if (this.selectionPath.includes(option)) {
5407
5341
  this.activeOption = option;
5408
5342
  break;
@@ -5414,7 +5348,6 @@ var CascadeSelectOptionTemplate = {
5414
5348
  _iterator.f();
5415
5349
  }
5416
5350
  }
5417
-
5418
5351
  if (!this.root) {
5419
5352
  this.position();
5420
5353
  }
@@ -5479,23 +5412,17 @@ var CascadeSelectOptionTemplate = {
5479
5412
  case 'Down':
5480
5413
  case 'ArrowDown':
5481
5414
  var nextItem = this.$el.children[index + 1];
5482
-
5483
5415
  if (nextItem) {
5484
5416
  nextItem.children[0].focus();
5485
5417
  }
5486
-
5487
5418
  break;
5488
-
5489
5419
  case 'Up':
5490
5420
  case 'ArrowUp':
5491
5421
  var prevItem = this.$el.children[index - 1];
5492
-
5493
5422
  if (prevItem) {
5494
5423
  prevItem.children[0].focus();
5495
5424
  }
5496
-
5497
5425
  break;
5498
-
5499
5426
  case 'Right':
5500
5427
  case 'ArrowRight':
5501
5428
  if (this.isOptionGroup(option)) {
@@ -5505,25 +5432,19 @@ var CascadeSelectOptionTemplate = {
5505
5432
  this.activeOption = option;
5506
5433
  }
5507
5434
  }
5508
-
5509
5435
  break;
5510
-
5511
5436
  case 'Left':
5512
5437
  case 'ArrowLeft':
5513
5438
  this.activeOption = null;
5514
5439
  var parentList = event.currentTarget.parentElement.parentElement.previousElementSibling;
5515
-
5516
5440
  if (parentList) {
5517
5441
  parentList.focus();
5518
5442
  }
5519
-
5520
5443
  break;
5521
-
5522
5444
  case 'Enter':
5523
5445
  this.onOptionClick(event, option);
5524
5446
  break;
5525
5447
  }
5526
-
5527
5448
  event.preventDefault();
5528
5449
  },
5529
5450
  position: function position() {
@@ -5532,7 +5453,6 @@ var CascadeSelectOptionTemplate = {
5532
5453
  var viewport = DomHandler_DomHandler.getViewport();
5533
5454
  var sublistWidth = this.$el.offsetParent ? this.$el.offsetWidth : DomHandler_DomHandler.getHiddenElementOuterWidth(this.$el);
5534
5455
  var itemOuterWidth = DomHandler_DomHandler.getOuterWidth(parentItem.children[0]);
5535
-
5536
5456
  if (parseInt(containerOffset.left, 10) + itemOuterWidth + sublistWidth > viewport.width - DomHandler_DomHandler.calculateScrollbarWidth()) {
5537
5457
  this.$el.style.left = '-100%';
5538
5458
  }
@@ -5554,20 +5474,19 @@ var CascadeSelectOptionTemplate = {
5554
5474
  // This module is a runtime utility for cleaner component module output and will
5555
5475
  // be included in the final webpack user bundle.
5556
5476
 
5557
- function normalizeComponent (
5477
+ function normalizeComponent(
5558
5478
  scriptExports,
5559
5479
  render,
5560
5480
  staticRenderFns,
5561
5481
  functionalTemplate,
5562
5482
  injectStyles,
5563
5483
  scopeId,
5564
- moduleIdentifier, /* server only */
5484
+ moduleIdentifier /* server only */,
5565
5485
  shadowMode /* vue-cli only */
5566
5486
  ) {
5567
5487
  // Vue.extend constructor export interop
5568
- var options = typeof scriptExports === 'function'
5569
- ? scriptExports.options
5570
- : scriptExports
5488
+ var options =
5489
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
5571
5490
 
5572
5491
  // render functions
5573
5492
  if (render) {
@@ -5587,7 +5506,8 @@ function normalizeComponent (
5587
5506
  }
5588
5507
 
5589
5508
  var hook
5590
- if (moduleIdentifier) { // server build
5509
+ if (moduleIdentifier) {
5510
+ // server build
5591
5511
  hook = function (context) {
5592
5512
  // 2.3 injection
5593
5513
  context =
@@ -5613,11 +5533,11 @@ function normalizeComponent (
5613
5533
  } else if (injectStyles) {
5614
5534
  hook = shadowMode
5615
5535
  ? function () {
5616
- injectStyles.call(
5617
- this,
5618
- (options.functional ? this.parent : this).$root.$options.shadowRoot
5619
- )
5620
- }
5536
+ injectStyles.call(
5537
+ this,
5538
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
5539
+ )
5540
+ }
5621
5541
  : injectStyles
5622
5542
  }
5623
5543
 
@@ -5628,16 +5548,14 @@ function normalizeComponent (
5628
5548
  options._injectStyles = hook
5629
5549
  // register for functional component in vue file
5630
5550
  var originalRender = options.render
5631
- options.render = function renderWithStyleInjection (h, context) {
5551
+ options.render = function renderWithStyleInjection(h, context) {
5632
5552
  hook.call(context)
5633
5553
  return originalRender(h, context)
5634
5554
  }
5635
5555
  } else {
5636
5556
  // inject component registration as beforeCreate hook
5637
5557
  var existing = options.beforeCreate
5638
- options.beforeCreate = existing
5639
- ? [].concat(existing, hook)
5640
- : [hook]
5558
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
5641
5559
  }
5642
5560
  }
5643
5561