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
@@ -2978,10 +2978,15 @@ if (typeof window !== 'undefined') {
2978
2978
  // Indicate to webpack that this file can be concatenated
2979
2979
  /* harmony default export */ var setPublicPath = (null);
2980
2980
 
2981
- // 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/inputmask/InputMask.vue?vue&type=template&id=3bf2a3b4&
2982
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',_vm._g({class:_vm.inputClass},_vm.listeners))}
2983
- var staticRenderFns = []
2984
-
2981
+ // 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/inputmask/InputMask.vue?vue&type=template&id=3bf2a3b4&
2982
+ var render = function render() {
2983
+ var _vm = this,
2984
+ _c = _vm._self._c;
2985
+ return _c('input', _vm._g({
2986
+ class: _vm.inputClass
2987
+ }, _vm.listeners));
2988
+ };
2989
+ var staticRenderFns = [];
2985
2990
 
2986
2991
  // CONCATENATED MODULE: ./src/components/inputmask/InputMask.vue?vue&type=template&id=3bf2a3b4&
2987
2992
 
@@ -3017,7 +3022,6 @@ function _defineProperty(obj, key, value) {
3017
3022
  } else {
3018
3023
  obj[key] = value;
3019
3024
  }
3020
-
3021
3025
  return obj;
3022
3026
  }
3023
3027
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.constructor.js
@@ -3052,26 +3056,21 @@ function _classCallCheck(instance, Constructor) {
3052
3056
  }
3053
3057
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
3054
3058
 
3055
-
3056
3059
  function _defineProperties(target, props) {
3057
3060
  for (var i = 0; i < props.length; i++) {
3058
3061
  var descriptor = props[i];
3059
3062
  descriptor.enumerable = descriptor.enumerable || false;
3060
3063
  descriptor.configurable = true;
3061
3064
  if ("value" in descriptor) descriptor.writable = true;
3062
-
3063
3065
  define_property_default()(target, descriptor.key, descriptor);
3064
3066
  }
3065
3067
  }
3066
-
3067
3068
  function _createClass(Constructor, protoProps, staticProps) {
3068
3069
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
3069
3070
  if (staticProps) _defineProperties(Constructor, staticProps);
3070
-
3071
3071
  define_property_default()(Constructor, "prototype", {
3072
3072
  writable: false
3073
3073
  });
3074
-
3075
3074
  return Constructor;
3076
3075
  }
3077
3076
  // CONCATENATED MODULE: ./src/components/utils/DomHandler.js
@@ -3087,18 +3086,13 @@ function _createClass(Constructor, protoProps, staticProps) {
3087
3086
 
3088
3087
 
3089
3088
 
3090
-
3091
3089
  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; } } }; }
3092
-
3093
3090
  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); }
3094
-
3095
3091
  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; }
3096
-
3097
3092
  var DomHandler_DomHandler = /*#__PURE__*/function () {
3098
3093
  function DomHandler() {
3099
3094
  _classCallCheck(this, DomHandler);
3100
3095
  }
3101
-
3102
3096
  _createClass(DomHandler, null, [{
3103
3097
  key: "innerWidth",
3104
3098
  value: function innerWidth(el) {
@@ -3132,12 +3126,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3132
3126
  value: function getOuterWidth(el, margin) {
3133
3127
  if (el) {
3134
3128
  var width = el.offsetWidth;
3135
-
3136
3129
  if (margin) {
3137
3130
  var style = getComputedStyle(el);
3138
3131
  width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
3139
3132
  }
3140
-
3141
3133
  return width;
3142
3134
  } else {
3143
3135
  return 0;
@@ -3148,12 +3140,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3148
3140
  value: function getOuterHeight(el, margin) {
3149
3141
  if (el) {
3150
3142
  var height = el.offsetHeight;
3151
-
3152
3143
  if (margin) {
3153
3144
  var style = getComputedStyle(el);
3154
3145
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
3155
3146
  }
3156
-
3157
3147
  return height;
3158
3148
  } else {
3159
3149
  return 0;
@@ -3164,12 +3154,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3164
3154
  value: function getClientHeight(el, margin) {
3165
3155
  if (el) {
3166
3156
  var height = el.clientHeight;
3167
-
3168
3157
  if (margin) {
3169
3158
  var style = getComputedStyle(el);
3170
3159
  height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
3171
3160
  }
3172
-
3173
3161
  return height;
3174
3162
  } else {
3175
3163
  return 0;
@@ -3179,11 +3167,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3179
3167
  key: "getViewport",
3180
3168
  value: function getViewport() {
3181
3169
  var win = window,
3182
- d = document,
3183
- e = d.documentElement,
3184
- g = d.getElementsByTagName('body')[0],
3185
- w = win.innerWidth || e.clientWidth || g.clientWidth,
3186
- h = win.innerHeight || e.clientHeight || g.clientHeight;
3170
+ d = document,
3171
+ e = d.documentElement,
3172
+ g = d.getElementsByTagName('body')[0],
3173
+ w = win.innerWidth || e.clientWidth || g.clientWidth,
3174
+ h = win.innerHeight || e.clientHeight || g.clientHeight;
3187
3175
  return {
3188
3176
  width: w,
3189
3177
  height: h
@@ -3214,12 +3202,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3214
3202
  value: function index(element) {
3215
3203
  var children = element.parentNode.childNodes;
3216
3204
  var num = 0;
3217
-
3218
3205
  for (var i = 0; i < children.length; i++) {
3219
3206
  if (children[i] === element) return num;
3220
3207
  if (children[i].nodeType === 1) num++;
3221
3208
  }
3222
-
3223
3209
  return -1;
3224
3210
  }
3225
3211
  }, {
@@ -3227,13 +3213,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3227
3213
  value: function addMultipleClasses(element, className) {
3228
3214
  if (element.classList) {
3229
3215
  var styles = className.split(' ');
3230
-
3231
3216
  for (var i = 0; i < styles.length; i++) {
3232
3217
  element.classList.add(styles[i]);
3233
3218
  }
3234
3219
  } else {
3235
3220
  var _styles = className.split(' ');
3236
-
3237
3221
  for (var _i = 0; _i < _styles.length; _i++) {
3238
3222
  element.className += ' ' + _styles[_i];
3239
3223
  }
@@ -3255,7 +3239,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3255
3239
  if (element) {
3256
3240
  if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
3257
3241
  }
3258
-
3259
3242
  return false;
3260
3243
  }
3261
3244
  }, {
@@ -3300,11 +3283,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3300
3283
  var windowScrollLeft = this.getWindowScrollLeft();
3301
3284
  var viewport = this.getViewport();
3302
3285
  var top, left;
3303
-
3304
3286
  if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
3305
3287
  top = targetOffset.top + windowScrollTop - elementOuterHeight;
3306
3288
  element.style.transformOrigin = 'bottom';
3307
-
3308
3289
  if (top < 0) {
3309
3290
  top = windowScrollTop;
3310
3291
  }
@@ -3312,7 +3293,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3312
3293
  top = targetOuterHeight + targetOffset.top + windowScrollTop;
3313
3294
  element.style.transformOrigin = 'top';
3314
3295
  }
3315
-
3316
3296
  if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
3317
3297
  element.style.top = top + 'px';
3318
3298
  element.style.left = left + 'px';
@@ -3328,11 +3308,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3328
3308
  var targetOffset = target.getBoundingClientRect();
3329
3309
  var viewport = this.getViewport();
3330
3310
  var top, left;
3331
-
3332
3311
  if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
3333
3312
  top = -1 * elementDimensions.height;
3334
3313
  element.style.transformOrigin = 'bottom';
3335
-
3336
3314
  if (targetOffset.top + top < 0) {
3337
3315
  top = -1 * targetOffset.top;
3338
3316
  }
@@ -3340,7 +3318,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3340
3318
  top = targetHeight;
3341
3319
  element.style.transformOrigin = 'top';
3342
3320
  }
3343
-
3344
3321
  if (elementDimensions.width > viewport.width) {
3345
3322
  // element wider then viewport and cannot fit on screen (align at left side of viewport)
3346
3323
  left = targetOffset.left * -1;
@@ -3351,7 +3328,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3351
3328
  // element fits on screen (align with target)
3352
3329
  left = 0;
3353
3330
  }
3354
-
3355
3331
  element.style.top = top + 'px';
3356
3332
  element.style.left = left + 'px';
3357
3333
  }
@@ -3365,35 +3341,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3365
3341
  key: "getScrollableParents",
3366
3342
  value: function getScrollableParents(element) {
3367
3343
  var scrollableParents = [];
3368
-
3369
3344
  if (element) {
3370
3345
  var parents = this.getParents(element);
3371
3346
  var overflowRegex = /(auto|scroll)/;
3372
-
3373
3347
  var overflowCheck = function overflowCheck(node) {
3374
3348
  var styleDeclaration = window['getComputedStyle'](node, null);
3375
3349
  return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
3376
3350
  };
3377
-
3378
3351
  var _iterator = _createForOfIteratorHelper(parents),
3379
- _step;
3380
-
3352
+ _step;
3381
3353
  try {
3382
3354
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
3383
3355
  var parent = _step.value;
3384
3356
  var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
3385
-
3386
3357
  if (scrollSelectors) {
3387
3358
  var selectors = scrollSelectors.split(',');
3388
-
3389
3359
  var _iterator2 = _createForOfIteratorHelper(selectors),
3390
- _step2;
3391
-
3360
+ _step2;
3392
3361
  try {
3393
3362
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
3394
3363
  var selector = _step2.value;
3395
3364
  var el = this.findSingle(parent, selector);
3396
-
3397
3365
  if (el && overflowCheck(el)) {
3398
3366
  scrollableParents.push(el);
3399
3367
  }
@@ -3411,7 +3379,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3411
3379
  _iterator.f();
3412
3380
  }
3413
3381
  }
3414
-
3415
3382
  return scrollableParents;
3416
3383
  }
3417
3384
  }, {
@@ -3452,34 +3419,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3452
3419
  element.style.opacity = 0;
3453
3420
  var last = +new Date();
3454
3421
  var opacity = 0;
3455
-
3456
3422
  var tick = function tick() {
3457
3423
  opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
3458
3424
  element.style.opacity = opacity;
3459
3425
  last = +new Date();
3460
-
3461
3426
  if (+opacity < 1) {
3462
3427
  window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
3463
3428
  }
3464
3429
  };
3465
-
3466
3430
  tick();
3467
3431
  }
3468
3432
  }, {
3469
3433
  key: "fadeOut",
3470
3434
  value: function fadeOut(element, ms) {
3471
3435
  var opacity = 1,
3472
- interval = 50,
3473
- duration = ms,
3474
- gap = interval / duration;
3436
+ interval = 50,
3437
+ duration = ms,
3438
+ gap = interval / duration;
3475
3439
  var fading = setInterval(function () {
3476
3440
  opacity -= gap;
3477
-
3478
3441
  if (opacity <= 0) {
3479
3442
  opacity = 0;
3480
3443
  clearInterval(fading);
3481
3444
  }
3482
-
3483
3445
  element.style.opacity = opacity;
3484
3446
  }, interval);
3485
3447
  }
@@ -3506,7 +3468,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3506
3468
  var scroll = container.scrollTop;
3507
3469
  var elementHeight = container.clientHeight;
3508
3470
  var itemHeight = this.getOuterHeight(item);
3509
-
3510
3471
  if (offset < 0) {
3511
3472
  container.scrollTop = scroll + offset;
3512
3473
  } else if (offset + itemHeight > elementHeight) {
@@ -3525,7 +3486,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3525
3486
  } else if (document['selection'] && document['selection'].empty) {
3526
3487
  try {
3527
3488
  document['selection'].empty();
3528
- } catch (error) {//ignore IE bug
3489
+ } catch (error) {
3490
+ //ignore IE bug
3529
3491
  }
3530
3492
  }
3531
3493
  }
@@ -3547,19 +3509,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3547
3509
  if (!this.browser) {
3548
3510
  var matched = this.resolveUserAgent();
3549
3511
  this.browser = {};
3550
-
3551
3512
  if (matched.browser) {
3552
3513
  this.browser[matched.browser] = true;
3553
3514
  this.browser['version'] = matched.version;
3554
3515
  }
3555
-
3556
3516
  if (this.browser['chrome']) {
3557
3517
  this.browser['webkit'] = true;
3558
3518
  } else if (this.browser['webkit']) {
3559
3519
  this.browser['safari'] = true;
3560
3520
  }
3561
3521
  }
3562
-
3563
3522
  return this.browser;
3564
3523
  }
3565
3524
  }, {
@@ -3587,10 +3546,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3587
3546
  value: function getFocusableElements(element) {
3588
3547
  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])");
3589
3548
  var visibleFocusableElements = [];
3590
-
3591
3549
  var _iterator3 = _createForOfIteratorHelper(focusableElements),
3592
- _step3;
3593
-
3550
+ _step3;
3594
3551
  try {
3595
3552
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
3596
3553
  var focusableElement = _step3.value;
@@ -3601,7 +3558,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3601
3558
  } finally {
3602
3559
  _iterator3.f();
3603
3560
  }
3604
-
3605
3561
  return visibleFocusableElements;
3606
3562
  }
3607
3563
  }, {
@@ -3644,11 +3600,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3644
3600
  return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
3645
3601
  }
3646
3602
  }]);
3647
-
3648
3603
  return DomHandler;
3649
3604
  }();
3650
3605
 
3651
-
3652
3606
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/inputmask/InputMask.vue?vue&type=script&lang=js&
3653
3607
 
3654
3608
 
@@ -3658,16 +3612,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
3658
3612
 
3659
3613
 
3660
3614
 
3661
-
3662
3615
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3663
-
3664
3616
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3665
3617
 
3666
- //
3667
- //
3668
- //
3669
- //
3670
-
3671
3618
  /* harmony default export */ var InputMaskvue_type_script_lang_js_ = ({
3672
3619
  props: {
3673
3620
  value: null,
@@ -3692,15 +3639,12 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3692
3639
  methods: {
3693
3640
  caret: function caret(first, last) {
3694
3641
  var range, begin, end;
3695
-
3696
3642
  if (!this.$el.offsetParent || this.$el !== document.activeElement) {
3697
3643
  return;
3698
3644
  }
3699
-
3700
3645
  if (typeof first === 'number') {
3701
3646
  begin = first;
3702
3647
  end = typeof last === 'number' ? last : begin;
3703
-
3704
3648
  if (this.$el.setSelectionRange) {
3705
3649
  this.$el.setSelectionRange(begin, end);
3706
3650
  } else if (this.$el['createTextRange']) {
@@ -3719,7 +3663,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3719
3663
  begin = 0 - range.duplicate().moveStart('character', -100000);
3720
3664
  end = begin + range.text.length;
3721
3665
  }
3722
-
3723
3666
  return {
3724
3667
  begin: begin,
3725
3668
  end: end
@@ -3732,37 +3675,31 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3732
3675
  return false;
3733
3676
  }
3734
3677
  }
3735
-
3736
3678
  return true;
3737
3679
  },
3738
3680
  getPlaceholder: function getPlaceholder(i) {
3739
3681
  if (i < this.slotChar.length) {
3740
3682
  return this.slotChar.charAt(i);
3741
3683
  }
3742
-
3743
3684
  return this.slotChar.charAt(0);
3744
3685
  },
3745
3686
  seekNext: function seekNext(pos) {
3746
3687
  while (++pos < this.len && !this.tests[pos]) {
3747
3688
  ;
3748
3689
  }
3749
-
3750
3690
  return pos;
3751
3691
  },
3752
3692
  seekPrev: function seekPrev(pos) {
3753
3693
  while (--pos >= 0 && !this.tests[pos]) {
3754
3694
  ;
3755
3695
  }
3756
-
3757
3696
  return pos;
3758
3697
  },
3759
3698
  shiftL: function shiftL(begin, end) {
3760
3699
  var i, j;
3761
-
3762
3700
  if (begin < 0) {
3763
3701
  return;
3764
3702
  }
3765
-
3766
3703
  for (i = begin, j = this.seekNext(end); i < this.len; i++) {
3767
3704
  if (this.tests[i]) {
3768
3705
  if (j < this.len && this.tests[i].test(this.buffer[j])) {
@@ -3771,23 +3708,19 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3771
3708
  } else {
3772
3709
  break;
3773
3710
  }
3774
-
3775
3711
  j = this.seekNext(j);
3776
3712
  }
3777
3713
  }
3778
-
3779
3714
  this.writeBuffer();
3780
3715
  this.caret(Math.max(this.firstNonMaskPos, begin));
3781
3716
  },
3782
3717
  shiftR: function shiftR(pos) {
3783
3718
  var i, c, j, t;
3784
-
3785
3719
  for (i = pos, c = this.getPlaceholder(pos); i < this.len; i++) {
3786
3720
  if (this.tests[i]) {
3787
3721
  j = this.seekNext(i);
3788
3722
  t = this.buffer[i];
3789
3723
  this.buffer[i] = c;
3790
-
3791
3724
  if (j < this.len && this.tests[j].test(t)) {
3792
3725
  c = t;
3793
3726
  } else {
@@ -3799,39 +3732,31 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3799
3732
  handleAndroidInput: function handleAndroidInput(event) {
3800
3733
  var curVal = this.$el.value;
3801
3734
  var pos = this.caret();
3802
-
3803
3735
  if (this.oldVal && this.oldVal.length && this.oldVal.length > curVal.length) {
3804
3736
  // a deletion or backspace happened
3805
3737
  this.checkVal(true);
3806
-
3807
3738
  while (pos.begin > 0 && !this.tests[pos.begin - 1]) {
3808
3739
  pos.begin--;
3809
3740
  }
3810
-
3811
3741
  if (pos.begin === 0) {
3812
3742
  while (pos.begin < this.firstNonMaskPos && !this.tests[pos.begin]) {
3813
3743
  pos.begin++;
3814
3744
  }
3815
3745
  }
3816
-
3817
3746
  this.caret(pos.begin, pos.begin);
3818
3747
  } else {
3819
3748
  this.checkVal(true);
3820
-
3821
3749
  while (pos.begin < this.len && !this.tests[pos.begin]) {
3822
3750
  pos.begin++;
3823
3751
  }
3824
-
3825
3752
  this.caret(pos.begin, pos.begin);
3826
3753
  }
3827
-
3828
3754
  if (this.isCompleted()) {
3829
3755
  this.$emit('complete', event);
3830
3756
  }
3831
3757
  },
3832
3758
  clearBuffer: function clearBuffer(start, end) {
3833
3759
  var i;
3834
-
3835
3760
  for (i = start; i < end && i < this.len; i++) {
3836
3761
  if (this.tests[i]) {
3837
3762
  this.buffer[i] = this.getPlaceholder(i);
@@ -3842,28 +3767,24 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3842
3767
  this.$el.value = this.buffer.join('');
3843
3768
  },
3844
3769
  checkVal: function checkVal(allow) {
3845
- this.isValueChecked = true; //try to place characters where they belong
3846
-
3770
+ this.isValueChecked = true;
3771
+ //try to place characters where they belong
3847
3772
  var test = this.$el.value,
3848
- lastMatch = -1,
3849
- i,
3850
- c,
3851
- pos;
3852
-
3773
+ lastMatch = -1,
3774
+ i,
3775
+ c,
3776
+ pos;
3853
3777
  for (i = 0, pos = 0; i < this.len; i++) {
3854
3778
  if (this.tests[i]) {
3855
3779
  this.buffer[i] = this.getPlaceholder(i);
3856
-
3857
3780
  while (pos++ < test.length) {
3858
3781
  c = test.charAt(pos - 1);
3859
-
3860
3782
  if (this.tests[i].test(c)) {
3861
3783
  this.buffer[i] = c;
3862
3784
  lastMatch = i;
3863
3785
  break;
3864
3786
  }
3865
3787
  }
3866
-
3867
3788
  if (pos > test.length) {
3868
3789
  this.clearBuffer(i + 1, this.len);
3869
3790
  break;
@@ -3872,13 +3793,11 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3872
3793
  if (this.buffer[i] === test.charAt(pos)) {
3873
3794
  pos++;
3874
3795
  }
3875
-
3876
3796
  if (i < this.partialPosition) {
3877
3797
  lastMatch = i;
3878
3798
  }
3879
3799
  }
3880
3800
  }
3881
-
3882
3801
  if (allow) {
3883
3802
  this.writeBuffer();
3884
3803
  } else if (lastMatch + 1 < this.partialPosition) {
@@ -3896,33 +3815,27 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3896
3815
  this.writeBuffer();
3897
3816
  this.$el.value = this.$el.value.substring(0, lastMatch + 1);
3898
3817
  }
3899
-
3900
3818
  return this.partialPosition ? i : this.firstNonMaskPos;
3901
3819
  },
3902
3820
  handleInputChange: function handleInputChange(event) {
3903
3821
  if (this.$attrs.readonly) {
3904
3822
  return;
3905
3823
  }
3906
-
3907
3824
  var pos = this.checkVal(true);
3908
3825
  this.caret(pos);
3909
3826
  this.updateModel(event);
3910
-
3911
3827
  if (this.isCompleted()) {
3912
3828
  this.$emit('complete', event);
3913
3829
  }
3914
3830
  },
3915
3831
  getUnmaskedValue: function getUnmaskedValue() {
3916
3832
  var unmaskedBuffer = [];
3917
-
3918
3833
  for (var i = 0; i < this.buffer.length; i++) {
3919
3834
  var c = this.buffer[i];
3920
-
3921
3835
  if (this.tests[i] && c !== this.getPlaceholder(i)) {
3922
3836
  unmaskedBuffer.push(c);
3923
3837
  }
3924
3838
  }
3925
-
3926
3839
  return unmaskedBuffer.join('');
3927
3840
  },
3928
3841
  updateModel: function updateModel(e) {
@@ -3931,9 +3844,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3931
3844
  },
3932
3845
  updateValue: function updateValue() {
3933
3846
  var _this = this;
3934
-
3935
3847
  var updateModel = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
3936
-
3937
3848
  if (this.$el) {
3938
3849
  if (this.value == null) {
3939
3850
  this.$el.value = '';
@@ -3944,18 +3855,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3944
3855
  setTimeout(function () {
3945
3856
  if (_this.$el) {
3946
3857
  _this.writeBuffer();
3947
-
3948
3858
  _this.checkVal();
3949
-
3950
3859
  if (updateModel) {
3951
3860
  var val = _this.unmask ? _this.getUnmaskedValue() : _this.$el.value;
3952
-
3953
3861
  _this.$emit('update:modelValue', _this.defaultBuffer !== val ? val : '');
3954
3862
  }
3955
3863
  }
3956
3864
  }, 10);
3957
3865
  }
3958
-
3959
3866
  this.focusText = this.$el.value;
3960
3867
  }
3961
3868
  },
@@ -3976,20 +3883,16 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3976
3883
  var ua = DomHandler_DomHandler.getUserAgent();
3977
3884
  this.androidChrome = /chrome/i.test(ua) && /android/i.test(ua);
3978
3885
  var maskTokens = this.mask.split('');
3979
-
3980
3886
  for (var i = 0; i < maskTokens.length; i++) {
3981
3887
  var c = maskTokens[i];
3982
-
3983
3888
  if (c === '?') {
3984
3889
  this.len--;
3985
3890
  this.partialPosition = i;
3986
3891
  } else if (this.defs[c]) {
3987
3892
  this.tests.push(new RegExp(this.defs[c]));
3988
-
3989
3893
  if (this.firstNonMaskPos === null) {
3990
3894
  this.firstNonMaskPos = this.tests.length - 1;
3991
3895
  }
3992
-
3993
3896
  if (i < this.partialPosition) {
3994
3897
  this.lastRequiredNonMaskPos = this.tests.length - 1;
3995
3898
  }
@@ -3997,17 +3900,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
3997
3900
  this.tests.push(null);
3998
3901
  }
3999
3902
  }
4000
-
4001
3903
  this.buffer = [];
4002
-
4003
3904
  for (var _i = 0; _i < maskTokens.length; _i++) {
4004
3905
  var _c = maskTokens[_i];
4005
-
4006
3906
  if (_c !== '?') {
4007
3907
  if (this.defs[_c]) this.buffer.push(this.getPlaceholder(_i));else this.buffer.push(_c);
4008
3908
  }
4009
3909
  }
4010
-
4011
3910
  this.defaultBuffer = this.buffer.join('');
4012
3911
  this.updateValue(false);
4013
3912
  },
@@ -4028,7 +3927,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4028
3927
  if ($vm.$attrs.readonly) {
4029
3928
  return;
4030
3929
  }
4031
-
4032
3930
  $vm.focus = true;
4033
3931
  clearTimeout($vm.caretTimeoutId);
4034
3932
  var pos;
@@ -4038,9 +3936,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4038
3936
  if ($vm.$el !== document.activeElement) {
4039
3937
  return;
4040
3938
  }
4041
-
4042
3939
  $vm.writeBuffer();
4043
-
4044
3940
  if (pos === $vm.mask.replace("?", "").length) {
4045
3941
  $vm.caret(0, pos);
4046
3942
  } else {
@@ -4053,37 +3949,33 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4053
3949
  $vm.focus = false;
4054
3950
  $vm.checkVal();
4055
3951
  $vm.updateModel(event);
4056
-
4057
3952
  if ($vm.$el.value !== $vm.focusText) {
4058
3953
  var e = document.createEvent('HTMLEvents');
4059
3954
  e.initEvent('change', true, false);
4060
3955
  $vm.$el.dispatchEvent(e);
4061
3956
  }
4062
-
4063
3957
  $vm.$emit('blur', event);
4064
3958
  },
4065
3959
  keydown: function keydown(event) {
4066
3960
  if ($vm.$attrs.readonly) {
4067
3961
  return;
4068
3962
  }
4069
-
4070
3963
  var k = event.which || event.keyCode,
4071
- pos,
4072
- begin,
4073
- end;
3964
+ pos,
3965
+ begin,
3966
+ end;
4074
3967
  var iPhone = /iphone/i.test(DomHandler_DomHandler.getUserAgent());
4075
- $vm.oldVal = $vm.$el.value; //backspace, delete, and escape get special treatment
3968
+ $vm.oldVal = $vm.$el.value;
4076
3969
 
3970
+ //backspace, delete, and escape get special treatment
4077
3971
  if (k === 8 || k === 46 || iPhone && k === 127) {
4078
3972
  pos = $vm.caret();
4079
3973
  begin = pos.begin;
4080
3974
  end = pos.end;
4081
-
4082
3975
  if (end - begin === 0) {
4083
3976
  begin = k !== 46 ? $vm.seekPrev(begin) : end = $vm.seekNext(begin - 1);
4084
3977
  end = k === 46 ? $vm.seekNext(end) : end;
4085
3978
  }
4086
-
4087
3979
  $vm.clearBuffer(begin, end);
4088
3980
  $vm.shiftL(begin, end - 1);
4089
3981
  $vm.updateModel(event);
@@ -4099,21 +3991,18 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4099
3991
  $vm.updateModel(event);
4100
3992
  event.preventDefault();
4101
3993
  }
4102
-
4103
3994
  $vm.$emit('keydown', event);
4104
3995
  },
4105
3996
  keypress: function keypress(event) {
4106
3997
  if ($vm.$attrs.readonly) {
4107
3998
  return;
4108
3999
  }
4109
-
4110
4000
  var k = event.which || event.keyCode,
4111
- pos = $vm.caret(),
4112
- p,
4113
- c,
4114
- next,
4115
- completed;
4116
-
4001
+ pos = $vm.caret(),
4002
+ p,
4003
+ c,
4004
+ next,
4005
+ completed;
4117
4006
  if (event.ctrlKey || event.altKey || event.metaKey || k < 32) {
4118
4007
  //Ignore
4119
4008
  return;
@@ -4122,44 +4011,34 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4122
4011
  $vm.clearBuffer(pos.begin, pos.end);
4123
4012
  $vm.shiftL(pos.begin, pos.end - 1);
4124
4013
  }
4125
-
4126
4014
  p = $vm.seekNext(pos.begin - 1);
4127
-
4128
4015
  if (p < $vm.len) {
4129
4016
  c = String.fromCharCode(k);
4130
-
4131
4017
  if ($vm.tests[p].test(c)) {
4132
4018
  $vm.shiftR(p);
4133
4019
  $vm.buffer[p] = c;
4134
4020
  $vm.writeBuffer();
4135
4021
  next = $vm.seekNext(p);
4136
-
4137
4022
  if (/android/i.test(DomHandler_DomHandler.getUserAgent())) {
4138
4023
  //Path for CSP Violation on FireFox OS 1.1
4139
4024
  var proxy = function proxy() {
4140
4025
  $vm.caret(next);
4141
4026
  };
4142
-
4143
4027
  setTimeout(proxy, 0);
4144
4028
  } else {
4145
4029
  $vm.caret(next);
4146
4030
  }
4147
-
4148
4031
  if (pos.begin <= $vm.lastRequiredNonMaskPos) {
4149
4032
  completed = $vm.isCompleted();
4150
4033
  }
4151
4034
  }
4152
4035
  }
4153
-
4154
4036
  event.preventDefault();
4155
4037
  }
4156
-
4157
4038
  $vm.updateModel(event);
4158
-
4159
4039
  if (completed) {
4160
4040
  $vm.$emit('complete', event);
4161
4041
  }
4162
-
4163
4042
  $vm.$emit('keypress', event);
4164
4043
  },
4165
4044
  paste: function paste(event) {
@@ -4188,20 +4067,19 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4188
4067
  // This module is a runtime utility for cleaner component module output and will
4189
4068
  // be included in the final webpack user bundle.
4190
4069
 
4191
- function normalizeComponent (
4070
+ function normalizeComponent(
4192
4071
  scriptExports,
4193
4072
  render,
4194
4073
  staticRenderFns,
4195
4074
  functionalTemplate,
4196
4075
  injectStyles,
4197
4076
  scopeId,
4198
- moduleIdentifier, /* server only */
4077
+ moduleIdentifier /* server only */,
4199
4078
  shadowMode /* vue-cli only */
4200
4079
  ) {
4201
4080
  // Vue.extend constructor export interop
4202
- var options = typeof scriptExports === 'function'
4203
- ? scriptExports.options
4204
- : scriptExports
4081
+ var options =
4082
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
4205
4083
 
4206
4084
  // render functions
4207
4085
  if (render) {
@@ -4221,7 +4099,8 @@ function normalizeComponent (
4221
4099
  }
4222
4100
 
4223
4101
  var hook
4224
- if (moduleIdentifier) { // server build
4102
+ if (moduleIdentifier) {
4103
+ // server build
4225
4104
  hook = function (context) {
4226
4105
  // 2.3 injection
4227
4106
  context =
@@ -4247,11 +4126,11 @@ function normalizeComponent (
4247
4126
  } else if (injectStyles) {
4248
4127
  hook = shadowMode
4249
4128
  ? function () {
4250
- injectStyles.call(
4251
- this,
4252
- (options.functional ? this.parent : this).$root.$options.shadowRoot
4253
- )
4254
- }
4129
+ injectStyles.call(
4130
+ this,
4131
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
4132
+ )
4133
+ }
4255
4134
  : injectStyles
4256
4135
  }
4257
4136
 
@@ -4262,16 +4141,14 @@ function normalizeComponent (
4262
4141
  options._injectStyles = hook
4263
4142
  // register for functional component in vue file
4264
4143
  var originalRender = options.render
4265
- options.render = function renderWithStyleInjection (h, context) {
4144
+ options.render = function renderWithStyleInjection(h, context) {
4266
4145
  hook.call(context)
4267
4146
  return originalRender(h, context)
4268
4147
  }
4269
4148
  } else {
4270
4149
  // inject component registration as beforeCreate hook
4271
4150
  var existing = options.beforeCreate
4272
- options.beforeCreate = existing
4273
- ? [].concat(existing, hook)
4274
- : [hook]
4151
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
4275
4152
  }
4276
4153
  }
4277
4154