primevue 2.5.0 → 2.8.0

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 (704) hide show
  1. package/accordion/accordion.common.js +1 -1
  2. package/accordion/accordion.umd.js +1 -1
  3. package/accordiontab/accordiontab.common.js +28 -1
  4. package/accordiontab/accordiontab.umd.js +28 -1
  5. package/accordiontab/accordiontab.umd.min.js +1 -1
  6. package/api/Api.d.ts +296 -0
  7. package/api/Api.js +47 -0
  8. package/api/FilterMatchMode.js +26 -0
  9. package/api/FilterOperator.js +12 -0
  10. package/api/FilterService.js +260 -0
  11. package/api/PrimeIcons.js +246 -0
  12. package/api/ToastSeverity.js +14 -0
  13. package/api/api.common.js +4889 -0
  14. package/api/api.umd.js +4899 -0
  15. package/api/api.umd.min.js +1 -0
  16. package/api/demo.html +8 -0
  17. package/api/filtermatchmode.common.js +186 -0
  18. package/api/filtermatchmode.umd.js +196 -0
  19. package/api/filtermatchmode.umd.min.js +1 -0
  20. package/api/filteroperator.common.js +172 -0
  21. package/api/filteroperator.umd.js +182 -0
  22. package/api/filteroperator.umd.min.js +1 -0
  23. package/{utils/filterutils.common.js → api/filterservice.common.js} +207 -110
  24. package/{utils/filterutils.umd.js → api/filterservice.umd.js} +209 -112
  25. package/api/filterservice.umd.min.js +1 -0
  26. package/api/index.d.ts +1 -0
  27. package/api/index.js +2 -0
  28. package/api/primeicons.common.js +406 -0
  29. package/api/primeicons.umd.js +416 -0
  30. package/api/primeicons.umd.min.js +1 -0
  31. package/{confirmationservice/confirmationeventbus.common.js → api/toastseverity.common.js} +9 -9
  32. package/{confirmationservice/confirmationeventbus.umd.js → api/toastseverity.umd.js} +11 -11
  33. package/api/toastseverity.umd.min.js +1 -0
  34. package/autocomplete/AutoComplete.d.ts +1 -0
  35. package/autocomplete/AutoComplete.vue +8 -0
  36. package/autocomplete/autocomplete.common.js +61 -24
  37. package/autocomplete/autocomplete.umd.js +61 -24
  38. package/autocomplete/autocomplete.umd.min.js +1 -1
  39. package/avatar/avatar.common.js +1 -1
  40. package/avatar/avatar.umd.js +1 -1
  41. package/avatargroup/avatargroup.common.js +1 -1
  42. package/avatargroup/avatargroup.umd.js +1 -1
  43. package/badge/badge.common.js +1 -1
  44. package/badge/badge.umd.js +1 -1
  45. package/badgedirective/badgedirective.common.js +27 -0
  46. package/badgedirective/badgedirective.umd.js +27 -0
  47. package/badgedirective/badgedirective.umd.min.js +1 -1
  48. package/blockui/BlockUI.vue +6 -16
  49. package/blockui/blockui.common.js +38 -16
  50. package/blockui/blockui.umd.js +38 -16
  51. package/blockui/blockui.umd.min.js +1 -1
  52. package/breadcrumb/Breadcrumb.d.ts +1 -0
  53. package/breadcrumb/Breadcrumb.vue +6 -2
  54. package/breadcrumb/BreadcrumbItem.vue +30 -11
  55. package/breadcrumb/breadcrumb.common.js +44 -16
  56. package/breadcrumb/breadcrumb.umd.js +44 -16
  57. package/breadcrumb/breadcrumb.umd.min.js +1 -1
  58. package/breadcrumb/breadcrumbitem.common.js +34 -10
  59. package/breadcrumb/breadcrumbitem.umd.js +34 -10
  60. package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
  61. package/button/button.common.js +28 -1
  62. package/button/button.umd.js +28 -1
  63. package/button/button.umd.min.js +1 -1
  64. package/calendar/Calendar.d.ts +5 -0
  65. package/calendar/Calendar.vue +339 -70
  66. package/calendar/calendar.common.js +400 -73
  67. package/calendar/calendar.umd.js +400 -73
  68. package/calendar/calendar.umd.min.js +1 -1
  69. package/card/card.common.js +1 -1
  70. package/card/card.umd.js +1 -1
  71. package/carousel/Carousel.vue +2 -2
  72. package/carousel/carousel.common.js +30 -3
  73. package/carousel/carousel.umd.js +30 -3
  74. package/carousel/carousel.umd.min.js +1 -1
  75. package/cascadeselect/CascadeSelect.d.ts +6 -4
  76. package/cascadeselect/CascadeSelect.vue +3 -1
  77. package/cascadeselect/cascadeselect.common.js +53 -21
  78. package/cascadeselect/cascadeselect.umd.js +53 -21
  79. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  80. package/cascadeselect/cascadeselectsub.common.js +48 -18
  81. package/cascadeselect/cascadeselectsub.umd.js +48 -18
  82. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  83. package/chart/Chart.vue +27 -11
  84. package/chart/chart.common.js +30 -12
  85. package/chart/chart.umd.js +30 -12
  86. package/chart/chart.umd.min.js +1 -1
  87. package/checkbox/Checkbox.css +1 -0
  88. package/checkbox/Checkbox.d.ts +2 -0
  89. package/checkbox/Checkbox.vue +11 -3
  90. package/checkbox/checkbox.common.js +38 -22
  91. package/checkbox/checkbox.umd.js +38 -22
  92. package/checkbox/checkbox.umd.min.js +1 -1
  93. package/chip/chip.common.js +1 -1
  94. package/chip/chip.umd.js +1 -1
  95. package/chips/chips.common.js +1 -1
  96. package/chips/chips.umd.js +1 -1
  97. package/colorpicker/colorpicker.common.js +28 -1
  98. package/colorpicker/colorpicker.umd.js +28 -1
  99. package/colorpicker/colorpicker.umd.min.js +1 -1
  100. package/column/Column.vue +72 -12
  101. package/column/column.common.js +71 -11
  102. package/column/column.umd.js +71 -11
  103. package/column/column.umd.min.js +1 -1
  104. package/columngroup/columngroup.common.js +1 -1
  105. package/columngroup/columngroup.umd.js +1 -1
  106. package/common/Common.css +13 -4
  107. package/config/PrimeVue.d.ts +24 -2
  108. package/config/PrimeVue.js +34 -4
  109. package/config/primevue.common.js +3584 -133
  110. package/config/primevue.umd.js +3584 -133
  111. package/config/primevue.umd.min.js +1 -1
  112. package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
  113. package/confirmationeventbus/confirmationeventbus.common.js +1773 -0
  114. package/confirmationeventbus/confirmationeventbus.umd.js +1783 -0
  115. package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
  116. package/confirmationeventbus/demo.html +8 -0
  117. package/confirmationeventbus/index.d.ts +1 -0
  118. package/confirmationeventbus/index.js +2 -0
  119. package/confirmationservice/ConfirmationService.js +1 -1
  120. package/confirmationservice/confirmationservice.common.js +1605 -6
  121. package/confirmationservice/confirmationservice.umd.js +1605 -6
  122. package/confirmationservice/confirmationservice.umd.min.js +1 -1
  123. package/confirmdialog/ConfirmDialog.vue +9 -3
  124. package/confirmdialog/confirmdialog.common.js +456 -44
  125. package/confirmdialog/confirmdialog.umd.js +456 -44
  126. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  127. package/confirmpopup/ConfirmPopup.d.ts +4 -1
  128. package/confirmpopup/ConfirmPopup.vue +9 -6
  129. package/confirmpopup/confirmpopup.common.js +531 -13
  130. package/confirmpopup/confirmpopup.umd.js +531 -13
  131. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  132. package/contextmenu/ContextMenu.d.ts +1 -0
  133. package/contextmenu/ContextMenu.vue +5 -1
  134. package/contextmenu/ContextMenuSub.vue +33 -13
  135. package/contextmenu/contextmenu.common.js +68 -14
  136. package/contextmenu/contextmenu.umd.js +68 -14
  137. package/contextmenu/contextmenu.umd.min.js +1 -1
  138. package/contextmenu/contextmenusub.common.js +58 -8
  139. package/contextmenu/contextmenusub.umd.js +58 -8
  140. package/contextmenu/contextmenusub.umd.min.js +1 -1
  141. package/datatable/BodyCell.vue +118 -34
  142. package/datatable/ColumnFilter.vue +558 -0
  143. package/datatable/ColumnSlot.vue +21 -1
  144. package/datatable/DataTable.d.ts +41 -15
  145. package/datatable/DataTable.vue +582 -391
  146. package/datatable/FooterCell.vue +82 -0
  147. package/datatable/HeaderCell.vue +246 -0
  148. package/datatable/TableBody.vue +92 -23
  149. package/datatable/TableFooter.vue +34 -18
  150. package/datatable/TableHeader.vue +79 -134
  151. package/datatable/bodycell.common.js +578 -56
  152. package/datatable/bodycell.umd.js +578 -56
  153. package/datatable/bodycell.umd.min.js +1 -1
  154. package/datatable/columnfilter.common.js +7610 -0
  155. package/datatable/columnfilter.umd.js +7620 -0
  156. package/datatable/columnfilter.umd.min.js +1 -0
  157. package/datatable/columnslot.common.js +21 -1
  158. package/datatable/columnslot.umd.js +21 -1
  159. package/datatable/columnslot.umd.min.js +1 -1
  160. package/datatable/datatable.common.js +4340 -1384
  161. package/datatable/datatable.umd.js +4340 -1384
  162. package/datatable/datatable.umd.min.js +1 -1
  163. package/datatable/demo.html +3 -4
  164. package/datatable/footercell.common.js +5453 -0
  165. package/datatable/footercell.umd.js +5463 -0
  166. package/datatable/footercell.umd.min.js +1 -0
  167. package/datatable/headercell.common.js +8058 -0
  168. package/datatable/headercell.umd.js +8068 -0
  169. package/datatable/headercell.umd.min.js +1 -0
  170. package/datatable/headercheckbox.common.js +1 -1
  171. package/datatable/headercheckbox.umd.js +1 -1
  172. package/datatable/rowcheckbox.common.js +1 -1
  173. package/datatable/rowcheckbox.umd.js +1 -1
  174. package/datatable/rowradiobutton.common.js +1 -1
  175. package/datatable/rowradiobutton.umd.js +1 -1
  176. package/datatable/tablebody.common.js +1066 -473
  177. package/datatable/tablebody.umd.js +1066 -473
  178. package/datatable/tablebody.umd.min.js +1 -1
  179. package/datatable/tablefooter.common.js +3785 -105
  180. package/datatable/tablefooter.umd.js +3785 -105
  181. package/datatable/tablefooter.umd.min.js +1 -1
  182. package/datatable/tableheader.common.js +6633 -2138
  183. package/datatable/tableheader.umd.js +6633 -2138
  184. package/datatable/tableheader.umd.min.js +1 -1
  185. package/datatable/tableloadingbody.common.js +22 -2
  186. package/datatable/tableloadingbody.umd.js +22 -2
  187. package/datatable/tableloadingbody.umd.min.js +1 -1
  188. package/dataview/DataView.d.ts +2 -2
  189. package/dataview/DataView.vue +10 -10
  190. package/dataview/dataview.common.js +1971 -80
  191. package/dataview/dataview.umd.js +1971 -80
  192. package/dataview/dataview.umd.min.js +1 -1
  193. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
  194. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
  195. package/deferredcontent/deferredcontent.common.js +1 -1
  196. package/deferredcontent/deferredcontent.umd.js +1 -1
  197. package/dialog/Dialog.vue +35 -21
  198. package/dialog/dialog.common.js +62 -24
  199. package/dialog/dialog.umd.js +62 -24
  200. package/dialog/dialog.umd.min.js +1 -1
  201. package/divider/divider.common.js +1 -1
  202. package/divider/divider.umd.js +1 -1
  203. package/dock/Dock.d.ts +2 -0
  204. package/dock/Dock.vue +12 -2
  205. package/dock/DockSub.vue +45 -21
  206. package/dock/dock.common.js +44 -15
  207. package/dock/dock.umd.js +44 -15
  208. package/dock/dock.umd.min.js +1 -1
  209. package/dock/docksub.common.js +31 -7
  210. package/dock/docksub.umd.js +31 -7
  211. package/dock/docksub.umd.min.js +1 -1
  212. package/dropdown/Dropdown.d.ts +5 -3
  213. package/dropdown/Dropdown.vue +33 -5
  214. package/dropdown/dropdown.common.js +83 -24
  215. package/dropdown/dropdown.umd.js +83 -24
  216. package/dropdown/dropdown.umd.min.js +1 -1
  217. package/editor/editor.common.js +1 -1
  218. package/editor/editor.umd.js +1 -1
  219. package/fieldset/fieldset.common.js +28 -1
  220. package/fieldset/fieldset.umd.js +28 -1
  221. package/fieldset/fieldset.umd.min.js +1 -1
  222. package/fileupload/FileUpload.vue +5 -2
  223. package/fileupload/fileupload.common.js +55 -19
  224. package/fileupload/fileupload.umd.js +55 -19
  225. package/fileupload/fileupload.umd.min.js +1 -1
  226. package/fullcalendar/fullcalendar.common.js +342 -136
  227. package/fullcalendar/fullcalendar.umd.js +342 -136
  228. package/fullcalendar/fullcalendar.umd.min.js +4 -4
  229. package/galleria/Galleria.vue +3 -8
  230. package/galleria/GalleriaContent.vue +9 -0
  231. package/galleria/galleria.common.js +49 -17
  232. package/galleria/galleria.umd.js +49 -17
  233. package/galleria/galleria.umd.min.js +1 -1
  234. package/galleria/galleriacontent.common.js +40 -4
  235. package/galleria/galleriacontent.umd.js +40 -4
  236. package/galleria/galleriacontent.umd.min.js +1 -1
  237. package/galleria/galleriaitem.common.js +28 -1
  238. package/galleria/galleriaitem.umd.js +28 -1
  239. package/galleria/galleriaitem.umd.min.js +1 -1
  240. package/galleria/galleriathumbnails.common.js +28 -1
  241. package/galleria/galleriathumbnails.umd.js +28 -1
  242. package/galleria/galleriathumbnails.umd.min.js +1 -1
  243. package/imagepreview/ImagePreview.d.ts +10 -0
  244. package/imagepreview/ImagePreview.vue +205 -0
  245. package/imagepreview/demo.html +17 -0
  246. package/{datatable/scrollableview.common.js → imagepreview/imagepreview.common.js} +570 -463
  247. package/{datatable/scrollableview.umd.js → imagepreview/imagepreview.umd.js} +572 -465
  248. package/imagepreview/imagepreview.umd.min.js +1 -0
  249. package/imagepreview/index.d.ts +1 -0
  250. package/imagepreview/index.js +2 -0
  251. package/imagepreview/plugin.js +4 -0
  252. package/inlinemessage/inlinemessage.common.js +1 -1
  253. package/inlinemessage/inlinemessage.umd.js +1 -1
  254. package/inplace/inplace.common.js +29 -2
  255. package/inplace/inplace.umd.js +29 -2
  256. package/inplace/inplace.umd.min.js +1 -1
  257. package/inputmask/InputMask.vue +7 -5
  258. package/inputmask/inputmask.common.js +39 -12
  259. package/inputmask/inputmask.umd.js +39 -12
  260. package/inputmask/inputmask.umd.min.js +1 -1
  261. package/inputnumber/InputNumber.vue +183 -62
  262. package/inputnumber/inputnumber.common.js +249 -113
  263. package/inputnumber/inputnumber.umd.js +249 -113
  264. package/inputnumber/inputnumber.umd.min.js +1 -1
  265. package/inputswitch/InputSwitch.d.ts +2 -0
  266. package/inputswitch/InputSwitch.vue +15 -3
  267. package/inputswitch/inputswitch.common.js +17 -5
  268. package/inputswitch/inputswitch.umd.js +17 -5
  269. package/inputswitch/inputswitch.umd.min.js +1 -1
  270. package/inputtext/inputtext.common.js +3 -7
  271. package/inputtext/inputtext.umd.js +3 -7
  272. package/inputtext/inputtext.umd.min.js +1 -1
  273. package/knob/knob.common.js +1 -1
  274. package/knob/knob.umd.js +1 -1
  275. package/listbox/Listbox.d.ts +3 -3
  276. package/listbox/listbox.common.js +48 -18
  277. package/listbox/listbox.umd.js +48 -18
  278. package/listbox/listbox.umd.min.js +1 -1
  279. package/megamenu/MegaMenu.d.ts +6 -1
  280. package/megamenu/MegaMenu.vue +51 -22
  281. package/megamenu/megamenu.common.js +74 -10
  282. package/megamenu/megamenu.umd.js +74 -10
  283. package/megamenu/megamenu.umd.min.js +1 -1
  284. package/menu/Menu.d.ts +1 -0
  285. package/menu/Menu.vue +11 -4
  286. package/menu/Menuitem.vue +25 -11
  287. package/menu/menu.common.js +68 -17
  288. package/menu/menu.umd.js +68 -17
  289. package/menu/menu.umd.min.js +1 -1
  290. package/menu/menuitem.common.js +55 -11
  291. package/menu/menuitem.umd.js +55 -11
  292. package/menu/menuitem.umd.min.js +1 -1
  293. package/menubar/Menubar.d.ts +1 -0
  294. package/menubar/Menubar.vue +5 -1
  295. package/menubar/MenubarSub.vue +34 -14
  296. package/menubar/menubar.common.js +68 -14
  297. package/menubar/menubar.umd.js +68 -14
  298. package/menubar/menubar.umd.min.js +1 -1
  299. package/menubar/menubarsub.common.js +58 -8
  300. package/menubar/menubarsub.umd.js +58 -8
  301. package/menubar/menubarsub.umd.min.js +1 -1
  302. package/message/Message.d.ts +1 -0
  303. package/message/Message.vue +5 -1
  304. package/message/message.common.js +34 -3
  305. package/message/message.umd.js +34 -3
  306. package/message/message.umd.min.js +1 -1
  307. package/multiselect/MultiSelect.d.ts +4 -3
  308. package/multiselect/MultiSelect.vue +8 -1
  309. package/multiselect/multiselect.common.js +58 -22
  310. package/multiselect/multiselect.umd.js +58 -22
  311. package/multiselect/multiselect.umd.min.js +1 -1
  312. package/orderlist/OrderList.d.ts +2 -0
  313. package/orderlist/OrderList.vue +2 -0
  314. package/orderlist/orderlist.common.js +53 -21
  315. package/orderlist/orderlist.umd.js +53 -21
  316. package/orderlist/orderlist.umd.min.js +1 -1
  317. package/organizationchart/organizationchart.common.js +31 -8
  318. package/organizationchart/organizationchart.umd.js +31 -8
  319. package/organizationchart/organizationchart.umd.min.js +1 -1
  320. package/organizationchart/organizationchartnode.common.js +28 -1
  321. package/organizationchart/organizationchartnode.umd.js +28 -1
  322. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  323. package/overlayeventbus/OverlayEventBus.js +14 -0
  324. package/overlayeventbus/demo.html +8 -0
  325. package/overlayeventbus/index.d.ts +1 -0
  326. package/overlayeventbus/index.js +2 -0
  327. package/overlayeventbus/overlayeventbus.common.js +1773 -0
  328. package/overlayeventbus/overlayeventbus.umd.js +1783 -0
  329. package/overlayeventbus/overlayeventbus.umd.min.js +1 -0
  330. package/overlaypanel/overlaypanel.common.js +28 -1
  331. package/overlaypanel/overlaypanel.umd.js +28 -1
  332. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  333. package/package.json +5 -1
  334. package/paginator/CurrentPageReport.vue +6 -2
  335. package/paginator/JumpToPageDropdown.vue +33 -0
  336. package/paginator/JumpToPageInput.vue +25 -0
  337. package/paginator/Paginator.d.ts +2 -2
  338. package/paginator/Paginator.vue +24 -11
  339. package/paginator/RowsPerPageDropdown.vue +3 -2
  340. package/paginator/currentpagereport.common.js +7 -3
  341. package/paginator/currentpagereport.umd.js +7 -3
  342. package/paginator/currentpagereport.umd.min.js +1 -1
  343. package/paginator/demo.html +3 -3
  344. package/paginator/firstpagelink.common.js +28 -1
  345. package/paginator/firstpagelink.umd.js +28 -1
  346. package/paginator/firstpagelink.umd.min.js +1 -1
  347. package/paginator/jumptopagedropdown.common.js +6501 -0
  348. package/paginator/jumptopagedropdown.umd.js +6511 -0
  349. package/paginator/jumptopagedropdown.umd.min.js +1 -0
  350. package/paginator/jumptopageinput.common.js +7438 -0
  351. package/paginator/jumptopageinput.umd.js +7448 -0
  352. package/paginator/jumptopageinput.umd.min.js +1 -0
  353. package/paginator/lastpagelink.common.js +28 -1
  354. package/paginator/lastpagelink.umd.js +28 -1
  355. package/paginator/lastpagelink.umd.min.js +1 -1
  356. package/paginator/nextpagelink.common.js +28 -1
  357. package/paginator/nextpagelink.umd.js +28 -1
  358. package/paginator/nextpagelink.umd.min.js +1 -1
  359. package/paginator/pagelinks.common.js +28 -1
  360. package/paginator/pagelinks.umd.js +28 -1
  361. package/paginator/pagelinks.umd.min.js +1 -1
  362. package/paginator/paginator.common.js +2277 -119
  363. package/paginator/paginator.umd.js +2277 -119
  364. package/paginator/paginator.umd.min.js +1 -1
  365. package/paginator/prevpagelink.common.js +28 -1
  366. package/paginator/prevpagelink.umd.js +28 -1
  367. package/paginator/prevpagelink.umd.min.js +1 -1
  368. package/paginator/rowsperpagedropdown.common.js +91 -31
  369. package/paginator/rowsperpagedropdown.umd.js +91 -31
  370. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  371. package/panel/Panel.d.ts +1 -0
  372. package/panel/Panel.vue +1 -1
  373. package/panel/panel.common.js +29 -2
  374. package/panel/panel.umd.js +29 -2
  375. package/panel/panel.umd.min.js +1 -1
  376. package/panelmenu/PanelMenu.d.ts +1 -0
  377. package/panelmenu/PanelMenu.vue +32 -6
  378. package/panelmenu/PanelMenuSub.vue +32 -13
  379. package/panelmenu/panelmenu.common.js +69 -16
  380. package/panelmenu/panelmenu.umd.js +69 -16
  381. package/panelmenu/panelmenu.umd.min.js +1 -1
  382. package/panelmenu/panelmenusub.common.js +29 -7
  383. package/panelmenu/panelmenusub.umd.js +29 -7
  384. package/panelmenu/panelmenusub.umd.min.js +1 -1
  385. package/password/password.common.js +31 -8
  386. package/password/password.umd.js +31 -8
  387. package/password/password.umd.min.js +1 -1
  388. package/picklist/PickList.d.ts +8 -0
  389. package/picklist/PickList.vue +10 -4
  390. package/picklist/picklist.common.js +57 -21
  391. package/picklist/picklist.umd.js +57 -21
  392. package/picklist/picklist.umd.min.js +1 -1
  393. package/progressbar/ProgressBar.vue +18 -14
  394. package/progressbar/progressbar.common.js +7 -5
  395. package/progressbar/progressbar.umd.js +7 -5
  396. package/progressbar/progressbar.umd.min.js +1 -1
  397. package/progressspinner/progressspinner.common.js +1 -1
  398. package/progressspinner/progressspinner.umd.js +1 -1
  399. package/radiobutton/radiobutton.common.js +26 -18
  400. package/radiobutton/radiobutton.umd.js +26 -18
  401. package/radiobutton/radiobutton.umd.min.js +1 -1
  402. package/rating/Rating.vue +1 -1
  403. package/rating/rating.common.js +3 -3
  404. package/rating/rating.umd.js +3 -3
  405. package/rating/rating.umd.min.js +1 -1
  406. package/resources/primevue.css +15 -4
  407. package/resources/primevue.min.css +1 -1
  408. package/resources/themes/arya-blue/theme.css +178 -42
  409. package/resources/themes/arya-green/theme.css +178 -42
  410. package/resources/themes/arya-orange/theme.css +178 -42
  411. package/resources/themes/arya-purple/theme.css +178 -42
  412. package/resources/themes/bootstrap4-dark-blue/theme.css +175 -46
  413. package/resources/themes/bootstrap4-dark-purple/theme.css +175 -46
  414. package/resources/themes/bootstrap4-light-blue/theme.css +175 -46
  415. package/resources/themes/bootstrap4-light-purple/theme.css +175 -46
  416. package/resources/themes/fluent-light/theme.css +182 -46
  417. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  418. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  419. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  420. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  421. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  422. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  423. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  424. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  425. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  426. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  427. package/resources/themes/lara-dark-blue/theme.css +5418 -0
  428. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  429. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  430. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  431. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  432. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  433. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  434. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  435. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  436. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  437. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  438. package/resources/themes/lara-dark-indigo/theme.css +5418 -0
  439. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  440. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  441. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  442. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  443. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  444. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  445. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  446. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  447. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  448. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  449. package/resources/themes/lara-dark-purple/theme.css +5418 -0
  450. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  451. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  452. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  453. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  454. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  455. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  456. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  457. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  458. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  459. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  460. package/resources/themes/lara-dark-teal/theme.css +5418 -0
  461. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  462. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  463. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  464. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  465. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  466. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  467. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  468. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  469. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  470. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  471. package/resources/themes/lara-light-blue/theme.css +5418 -0
  472. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  473. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  474. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  475. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  476. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  477. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  478. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  479. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  480. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  481. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  482. package/resources/themes/lara-light-indigo/theme.css +5418 -0
  483. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  484. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  485. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  486. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  487. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  488. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  489. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  490. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  491. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  492. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  493. package/resources/themes/lara-light-purple/theme.css +5418 -0
  494. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  495. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  496. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  497. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  498. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  499. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  500. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  501. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  502. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  503. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  504. package/resources/themes/lara-light-teal/theme.css +5418 -0
  505. package/resources/themes/luna-amber/theme.css +175 -46
  506. package/resources/themes/luna-blue/theme.css +175 -46
  507. package/resources/themes/luna-green/theme.css +175 -46
  508. package/resources/themes/luna-pink/theme.css +175 -46
  509. package/resources/themes/md-dark-deeppurple/theme.css +379 -87
  510. package/resources/themes/md-dark-indigo/theme.css +379 -87
  511. package/resources/themes/md-light-deeppurple/theme.css +379 -87
  512. package/resources/themes/md-light-indigo/theme.css +379 -87
  513. package/resources/themes/mdc-dark-deeppurple/theme.css +379 -87
  514. package/resources/themes/mdc-dark-indigo/theme.css +379 -87
  515. package/resources/themes/mdc-light-deeppurple/theme.css +379 -87
  516. package/resources/themes/mdc-light-indigo/theme.css +379 -87
  517. package/resources/themes/nova/theme.css +175 -46
  518. package/resources/themes/nova-accent/theme.css +175 -46
  519. package/resources/themes/nova-alt/theme.css +175 -46
  520. package/resources/themes/nova-vue/theme.css +175 -46
  521. package/resources/themes/rhea/theme.css +175 -46
  522. package/resources/themes/saga-blue/theme.css +178 -42
  523. package/resources/themes/saga-green/theme.css +178 -42
  524. package/resources/themes/saga-orange/theme.css +178 -42
  525. package/resources/themes/saga-purple/theme.css +178 -42
  526. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  527. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  528. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  529. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  530. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  531. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  532. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  533. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  534. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  535. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  536. package/resources/themes/tailwind-light/theme.css +5493 -0
  537. package/resources/themes/vela-blue/theme.css +178 -42
  538. package/resources/themes/vela-green/theme.css +178 -42
  539. package/resources/themes/vela-orange/theme.css +178 -42
  540. package/resources/themes/vela-purple/theme.css +178 -42
  541. package/ripple/ripple.common.js +27 -0
  542. package/ripple/ripple.umd.js +27 -0
  543. package/ripple/ripple.umd.min.js +1 -1
  544. package/row/row.common.js +1 -1
  545. package/row/row.umd.js +1 -1
  546. package/scrollpanel/scrollpanel.common.js +28 -1
  547. package/scrollpanel/scrollpanel.umd.js +28 -1
  548. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  549. package/scrolltop/scrolltop.common.js +28 -1
  550. package/scrolltop/scrolltop.umd.js +28 -1
  551. package/scrolltop/scrolltop.umd.min.js +1 -1
  552. package/selectbutton/SelectButton.d.ts +3 -3
  553. package/selectbutton/SelectButton.vue +6 -1
  554. package/selectbutton/selectbutton.common.js +55 -20
  555. package/selectbutton/selectbutton.umd.js +55 -20
  556. package/selectbutton/selectbutton.umd.min.js +1 -1
  557. package/sidebar/Sidebar.vue +3 -16
  558. package/sidebar/sidebar.common.js +37 -15
  559. package/sidebar/sidebar.umd.js +37 -15
  560. package/sidebar/sidebar.umd.min.js +1 -1
  561. package/skeleton/skeleton.common.js +1 -1
  562. package/skeleton/skeleton.umd.js +1 -1
  563. package/slider/Slider.vue +20 -12
  564. package/slider/slider.common.js +41 -9
  565. package/slider/slider.umd.js +41 -9
  566. package/slider/slider.umd.min.js +1 -1
  567. package/speeddial/SpeedDial.d.ts +1 -0
  568. package/speeddial/SpeedDial.vue +10 -9
  569. package/speeddial/speeddial.common.js +40 -16
  570. package/speeddial/speeddial.umd.js +40 -16
  571. package/speeddial/speeddial.umd.min.js +1 -1
  572. package/splitbutton/splitbutton.common.js +73 -22
  573. package/splitbutton/splitbutton.umd.js +73 -22
  574. package/splitbutton/splitbutton.umd.min.js +1 -1
  575. package/splitter/splitter.common.js +27 -0
  576. package/splitter/splitter.umd.js +27 -0
  577. package/splitter/splitter.umd.min.js +1 -1
  578. package/steps/Steps.d.ts +1 -0
  579. package/steps/Steps.vue +30 -8
  580. package/steps/steps.common.js +33 -6
  581. package/steps/steps.umd.js +33 -6
  582. package/steps/steps.umd.min.js +1 -1
  583. package/styleclass/StyleClass.js +4 -1
  584. package/styleclass/styleclass.common.js +31 -1
  585. package/styleclass/styleclass.umd.js +31 -1
  586. package/styleclass/styleclass.umd.min.js +1 -1
  587. package/tabmenu/TabMenu.d.ts +1 -0
  588. package/tabmenu/TabMenu.vue +39 -10
  589. package/tabmenu/tabmenu.common.js +192 -8
  590. package/tabmenu/tabmenu.umd.js +192 -8
  591. package/tabmenu/tabmenu.umd.min.js +1 -1
  592. package/tabpanel/tabpanel.common.js +1 -1
  593. package/tabpanel/tabpanel.umd.js +1 -1
  594. package/tabview/TabView.d.ts +1 -0
  595. package/tabview/TabView.vue +111 -11
  596. package/tabview/tabview.common.js +124 -22
  597. package/tabview/tabview.umd.js +124 -22
  598. package/tabview/tabview.umd.min.js +1 -1
  599. package/tag/tag.common.js +1 -1
  600. package/tag/tag.umd.js +1 -1
  601. package/terminal/terminal.common.js +1 -1
  602. package/terminal/terminal.umd.js +1 -1
  603. package/textarea/textarea.common.js +3 -7
  604. package/textarea/textarea.umd.js +3 -7
  605. package/textarea/textarea.umd.min.js +1 -1
  606. package/tieredmenu/TieredMenu.d.ts +1 -0
  607. package/tieredmenu/TieredMenu.vue +5 -1
  608. package/tieredmenu/TieredMenuSub.vue +30 -14
  609. package/tieredmenu/demo.html +3 -4
  610. package/tieredmenu/tieredmenu.common.js +63 -13
  611. package/tieredmenu/tieredmenu.umd.js +63 -13
  612. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  613. package/tieredmenu/tieredmenusub.common.js +53 -7
  614. package/tieredmenu/tieredmenusub.umd.js +53 -7
  615. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  616. package/timeline/timeline.common.js +26 -18
  617. package/timeline/timeline.umd.js +26 -18
  618. package/timeline/timeline.umd.min.js +1 -1
  619. package/toast/Toast.d.ts +4 -1
  620. package/toast/Toast.vue +1 -1
  621. package/toast/toast.common.js +30 -5
  622. package/toast/toast.umd.js +30 -5
  623. package/toast/toast.umd.min.js +1 -1
  624. package/toast/toastmessage.common.js +28 -1
  625. package/toast/toastmessage.umd.js +28 -1
  626. package/toast/toastmessage.umd.min.js +1 -1
  627. package/togglebutton/togglebutton.common.js +28 -1
  628. package/togglebutton/togglebutton.umd.js +28 -1
  629. package/togglebutton/togglebutton.umd.min.js +1 -1
  630. package/toolbar/Toolbar.d.ts +1 -1
  631. package/toolbar/Toolbar.vue +2 -2
  632. package/toolbar/toolbar.common.js +3 -3
  633. package/toolbar/toolbar.umd.js +3 -3
  634. package/toolbar/toolbar.umd.min.js +1 -1
  635. package/tooltip/Tooltip.css +1 -0
  636. package/tooltip/Tooltip.js +37 -2
  637. package/tooltip/tooltip.common.js +1711 -24
  638. package/tooltip/tooltip.umd.js +1711 -24
  639. package/tooltip/tooltip.umd.min.js +1 -1
  640. package/tree/TreeNode.vue +5 -1
  641. package/tree/tree.common.js +63 -31
  642. package/tree/tree.umd.js +63 -31
  643. package/tree/tree.umd.min.js +1 -1
  644. package/tree/treenode.common.js +36 -9
  645. package/tree/treenode.umd.js +36 -9
  646. package/tree/treenode.umd.min.js +1 -1
  647. package/treetable/BodyCell.vue +162 -0
  648. package/treetable/FooterCell.vue +81 -0
  649. package/treetable/HeaderCell.vue +183 -0
  650. package/treetable/TreeTable.d.ts +2 -2
  651. package/treetable/TreeTable.vue +93 -116
  652. package/treetable/bodycell.common.js +5596 -0
  653. package/treetable/bodycell.umd.js +5606 -0
  654. package/treetable/bodycell.umd.min.js +1 -0
  655. package/treetable/demo.html +3 -3
  656. package/treetable/footercell.common.js +5300 -0
  657. package/treetable/footercell.umd.js +5310 -0
  658. package/treetable/footercell.umd.min.js +1 -0
  659. package/treetable/headercell.common.js +5529 -0
  660. package/treetable/headercell.umd.js +5539 -0
  661. package/treetable/headercell.umd.min.js +1 -0
  662. package/treetable/treetable.common.js +3801 -1562
  663. package/treetable/treetable.umd.js +3801 -1562
  664. package/treetable/treetable.umd.min.js +1 -1
  665. package/treetable/treetablerow.common.js +50 -21
  666. package/treetable/treetablerow.umd.js +50 -21
  667. package/treetable/treetablerow.umd.min.js +1 -1
  668. package/treetable/treetablerowloader.common.js +52 -24
  669. package/treetable/treetablerowloader.umd.js +52 -24
  670. package/treetable/treetablerowloader.umd.min.js +1 -1
  671. package/tristatecheckbox/tristatecheckbox.common.js +1 -1
  672. package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
  673. package/utils/ConnectedOverlayScrollHandler.js +1 -1
  674. package/utils/DomHandler.js +23 -1
  675. package/utils/EventBus.js +33 -0
  676. package/utils/ObjectUtils.js +15 -2
  677. package/utils/Utils.d.ts +73 -0
  678. package/utils/Utils.js +47 -0
  679. package/utils/connectedoverlayscrollhandler.common.js +27 -0
  680. package/utils/connectedoverlayscrollhandler.umd.js +27 -0
  681. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  682. package/utils/demo.html +3 -3
  683. package/utils/domhandler.common.js +27 -0
  684. package/utils/domhandler.umd.js +27 -0
  685. package/utils/domhandler.umd.min.js +1 -1
  686. package/utils/eventbus.common.js +1770 -0
  687. package/utils/eventbus.umd.js +1780 -0
  688. package/utils/eventbus.umd.min.js +1 -0
  689. package/utils/index.d.ts +1 -0
  690. package/utils/index.js +2 -0
  691. package/utils/objectutils.common.js +25 -17
  692. package/utils/objectutils.umd.js +25 -17
  693. package/utils/objectutils.umd.min.js +1 -1
  694. package/utils/utils.common.js +5481 -0
  695. package/utils/utils.umd.js +5491 -0
  696. package/utils/utils.umd.min.js +1 -0
  697. package/vetur-attributes.json +148 -20
  698. package/vetur-tags.json +57 -20
  699. package/web-types.json +477 -33
  700. package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
  701. package/datatable/ScrollableView.vue +0 -223
  702. package/datatable/scrollableview.umd.min.js +0 -1
  703. package/utils/FilterUtils.js +0 -176
  704. package/utils/filterutils.umd.min.js +0 -1
@@ -5240,12 +5240,12 @@ if (typeof window !== 'undefined') {
5240
5240
  // Indicate to webpack that this file can be concatenated
5241
5241
  /* harmony default export */ var setPublicPath = (null);
5242
5242
 
5243
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0538004c-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/inputnumber/InputNumber.vue?vue&type=template&id=77a479e5&
5244
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.containerClass},[_c('INInputText',_vm._g(_vm._b({ref:"input",class:['p-inputnumber-input', _vm.inputClass],style:(_vm.inputStyle),attrs:{"value":_vm.formattedValue,"aria-valumin":_vm.min,"aria-valuemax":_vm.max}},'INInputText',_vm.$attrs,false),_vm.listeners)),(_vm.showButtons && _vm.buttonLayout === 'stacked')?_c('span',{staticClass:"p-inputnumber-button-group"},[_c('INButton',_vm._g({class:_vm.upButtonClass,attrs:{"icon":_vm.incrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.upButtonListeners)),_c('INButton',_vm._g({class:_vm.downButtonClass,attrs:{"icon":_vm.decrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.downButtonListeners))],1):_vm._e(),(_vm.showButtons && _vm.buttonLayout !== 'stacked')?_c('INButton',_vm._g({class:_vm.upButtonClass,attrs:{"icon":_vm.incrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.upButtonListeners)):_vm._e(),(_vm.showButtons && _vm.buttonLayout !== 'stacked')?_c('INButton',_vm._g({class:_vm.downButtonClass,attrs:{"icon":_vm.decrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.downButtonListeners)):_vm._e()],1)}
5243
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-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/inputnumber/InputNumber.vue?vue&type=template&id=4093e713&
5244
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.containerClass,style:(_vm.styles)},[_c('INInputText',_vm._b({ref:"input",class:['p-inputnumber-input', _vm.inputClass],style:(_vm.inputStyle),attrs:{"value":_vm.formattedValue,"aria-valumin":_vm.min,"aria-valuemax":_vm.max},on:{"input":_vm.onUserInput,"keydown":_vm.onInputKeyDown,"keypress":_vm.onInputKeyPress,"paste":_vm.onPaste,"click":_vm.onInputClick,"focus":_vm.onInputFocus,"blur":_vm.onInputBlur}},'INInputText',_vm.$attrs,false)),(_vm.showButtons && _vm.buttonLayout === 'stacked')?_c('span',{staticClass:"p-inputnumber-button-group"},[_c('INButton',_vm._g({class:_vm.upButtonClass,attrs:{"icon":_vm.incrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.upButtonListeners)),_c('INButton',_vm._g({class:_vm.downButtonClass,attrs:{"icon":_vm.decrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.downButtonListeners))],1):_vm._e(),(_vm.showButtons && _vm.buttonLayout !== 'stacked')?_c('INButton',_vm._g({class:_vm.upButtonClass,attrs:{"icon":_vm.incrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.upButtonListeners)):_vm._e(),(_vm.showButtons && _vm.buttonLayout !== 'stacked')?_c('INButton',_vm._g({class:_vm.downButtonClass,attrs:{"icon":_vm.decrementButtonIcon,"disabled":_vm.$attrs.disabled}},_vm.downButtonListeners)):_vm._e()],1)}
5245
5245
  var staticRenderFns = []
5246
5246
 
5247
5247
 
5248
- // CONCATENATED MODULE: ./src/components/inputnumber/InputNumber.vue?vue&type=template&id=77a479e5&
5248
+ // CONCATENATED MODULE: ./src/components/inputnumber/InputNumber.vue?vue&type=template&id=4093e713&
5249
5249
 
5250
5250
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
5251
5251
  var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
@@ -5253,6 +5253,18 @@ var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
5253
5253
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
5254
5254
  var es6_object_keys = __webpack_require__("456d");
5255
5255
 
5256
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
5257
+ var es6_regexp_search = __webpack_require__("386d");
5258
+
5259
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.repeat.js
5260
+ var es6_string_repeat = __webpack_require__("14b9");
5261
+
5262
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
5263
+ var es6_regexp_to_string = __webpack_require__("6b54");
5264
+
5265
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
5266
+ var es6_regexp_split = __webpack_require__("28a5");
5267
+
5256
5268
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
5257
5269
  var define_property = __webpack_require__("85f2");
5258
5270
  var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
@@ -5273,18 +5285,6 @@ function _defineProperty(obj, key, value) {
5273
5285
 
5274
5286
  return obj;
5275
5287
  }
5276
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
5277
- var es6_regexp_search = __webpack_require__("386d");
5278
-
5279
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.repeat.js
5280
- var es6_string_repeat = __webpack_require__("14b9");
5281
-
5282
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
5283
- var es6_regexp_to_string = __webpack_require__("6b54");
5284
-
5285
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
5286
- var es6_regexp_split = __webpack_require__("28a5");
5287
-
5288
5288
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
5289
5289
  var es6_regexp_replace = __webpack_require__("a481");
5290
5290
 
@@ -5294,9 +5294,6 @@ var es6_regexp_constructor = __webpack_require__("3b2b");
5294
5294
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
5295
5295
  var web_dom_iterable = __webpack_require__("ac6a");
5296
5296
 
5297
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
5298
- var es6_array_iterator = __webpack_require__("cadf");
5299
-
5300
5297
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.iterator.js
5301
5298
  var es6_string_iterator = __webpack_require__("5df3");
5302
5299
 
@@ -5368,7 +5365,7 @@ function _toConsumableArray(arr) {
5368
5365
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
5369
5366
  var es6_number_constructor = __webpack_require__("c5f6");
5370
5367
 
5371
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0538004c-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/inputtext/InputText.vue?vue&type=template&id=62d12252&
5368
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-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/inputtext/InputText.vue?vue&type=template&id=62d12252&
5372
5369
  var InputTextvue_type_template_id_62d12252_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',_vm._g({class:['p-inputtext p-component', {'p-filled': _vm.filled}],domProps:{"value":_vm.value}},_vm.listeners))}
5373
5370
  var InputTextvue_type_template_id_62d12252_staticRenderFns = []
5374
5371
 
@@ -5382,10 +5379,9 @@ var InputTextvue_type_template_id_62d12252_staticRenderFns = []
5382
5379
 
5383
5380
 
5384
5381
 
5382
+ 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; }
5385
5383
 
5386
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
5387
-
5388
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
5384
+ 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; }
5389
5385
 
5390
5386
  //
5391
5387
  //
@@ -5532,7 +5528,7 @@ var component = normalizeComponent(
5532
5528
  )
5533
5529
 
5534
5530
  /* harmony default export */ var InputText = (component.exports);
5535
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0538004c-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/button/Button.vue?vue&type=template&id=3d0cb6ac&
5531
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-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/button/Button.vue?vue&type=template&id=3d0cb6ac&
5536
5532
  var Buttonvue_type_template_id_3d0cb6ac_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g({directives:[{name:"ripple",rawName:"v-ripple"}],class:_vm.buttonClass,attrs:{"type":"button"}},_vm.$listeners),[_vm._t("default",function(){return [(_vm.icon)?_c('span',{class:_vm.iconClass}):_vm._e(),_c('span',{staticClass:"p-button-label"},[_vm._v(_vm._s(_vm.label||' '))]),(_vm.badge)?_c('span',{staticClass:"p-badge",class:_vm.badgeStyleClass},[_vm._v(_vm._s(_vm.badge))]):_vm._e()]})],2)}
5537
5533
  var Buttonvue_type_template_id_3d0cb6ac_staticRenderFns = []
5538
5534
 
@@ -5577,6 +5573,11 @@ function _defineProperties(target, props) {
5577
5573
  function _createClass(Constructor, protoProps, staticProps) {
5578
5574
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
5579
5575
  if (staticProps) _defineProperties(Constructor, staticProps);
5576
+
5577
+ define_property_default()(Constructor, "prototype", {
5578
+ writable: false
5579
+ });
5580
+
5580
5581
  return Constructor;
5581
5582
  }
5582
5583
  // CONCATENATED MODULE: ./src/components/utils/DomHandler.js
@@ -6109,6 +6110,12 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
6109
6110
 
6110
6111
  return visibleFocusableElements;
6111
6112
  }
6113
+ }, {
6114
+ key: "getFirstFocusableElement",
6115
+ value: function getFirstFocusableElement(element) {
6116
+ var focusableElements = this.getFocusableElements(element);
6117
+ return focusableElements.length > 0 ? focusableElements[0] : null;
6118
+ }
6112
6119
  }, {
6113
6120
  key: "isClickable",
6114
6121
  value: function isClickable(element) {
@@ -6116,6 +6123,17 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
6116
6123
  var parentNode = element.parentElement && element.parentElement.nodeName;
6117
6124
  return targetNode == 'INPUT' || targetNode == 'BUTTON' || targetNode == 'A' || parentNode == 'INPUT' || parentNode == 'BUTTON' || parentNode == 'A' || this.hasClass(element, 'p-button') || this.hasClass(element.parentElement, 'p-button') || this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton');
6118
6125
  }
6126
+ }, {
6127
+ key: "applyStyle",
6128
+ value: function applyStyle(element, style) {
6129
+ if (typeof style === 'string') {
6130
+ element.style.cssText = this.style;
6131
+ } else {
6132
+ for (var prop in this.style) {
6133
+ element.style[prop] = style[prop];
6134
+ }
6135
+ }
6136
+ }
6119
6137
  }, {
6120
6138
  key: "isIOS",
6121
6139
  value: function isIOS() {
@@ -6126,6 +6144,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
6126
6144
  value: function isAndroid() {
6127
6145
  return /(android)/i.test(navigator.userAgent);
6128
6146
  }
6147
+ }, {
6148
+ key: "isTouchDevice",
6149
+ value: function isTouchDevice() {
6150
+ return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
6151
+ }
6129
6152
  }]);
6130
6153
 
6131
6154
  return DomHandler;
@@ -6307,10 +6330,9 @@ var Button_component = normalizeComponent(
6307
6330
 
6308
6331
 
6309
6332
 
6333
+ function InputNumbervue_type_script_lang_js_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; }
6310
6334
 
6311
- function InputNumbervue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
6312
-
6313
- function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { InputNumbervue_type_script_lang_js_ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { InputNumbervue_type_script_lang_js_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
6335
+ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? InputNumbervue_type_script_lang_js_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : InputNumbervue_type_script_lang_js_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6314
6336
 
6315
6337
  //
6316
6338
  //
@@ -6324,6 +6346,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6324
6346
  //
6325
6347
  //
6326
6348
  //
6349
+ //
6327
6350
 
6328
6351
 
6329
6352
  /* harmony default export */ var InputNumbervue_type_script_lang_js_ = ({
@@ -6413,6 +6436,12 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6413
6436
  type: Number,
6414
6437
  default: 1
6415
6438
  },
6439
+ allowEmpty: {
6440
+ type: Boolean,
6441
+ default: true
6442
+ },
6443
+ styles: null,
6444
+ className: null,
6416
6445
  inputStyle: null,
6417
6446
  inputClass: null
6418
6447
  },
@@ -6432,10 +6461,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6432
6461
  timer: null,
6433
6462
  data: function data() {
6434
6463
  return {
6464
+ d_value: null,
6435
6465
  focused: false
6436
6466
  };
6437
6467
  },
6438
6468
  watch: {
6469
+ value: function value(newValue) {
6470
+ this.d_value = newValue;
6471
+ },
6439
6472
  locale: function locale(newValue, oldValue) {
6440
6473
  this.updateConstructParser(newValue, oldValue);
6441
6474
  },
@@ -6493,10 +6526,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6493
6526
  return [d, i];
6494
6527
  }));
6495
6528
  this._numeral = new RegExp("[".concat(numerals.join(''), "]"), 'g');
6496
- this._decimal = this.getDecimalExpression();
6497
6529
  this._group = this.getGroupingExpression();
6498
6530
  this._minusSign = this.getMinusSignExpression();
6499
6531
  this._currency = this.getCurrencyExpression();
6532
+ this._decimal = this.getDecimalExpression();
6500
6533
  this._suffix = this.getSuffixExpression();
6501
6534
  this._prefix = this.getPrefixExpression();
6502
6535
 
@@ -6513,10 +6546,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6513
6546
  return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
6514
6547
  },
6515
6548
  getDecimalExpression: function getDecimalExpression() {
6516
- var formatter = new Intl.NumberFormat(this.locale, {
6549
+ var formatter = new Intl.NumberFormat(this.locale, InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.getOptions()), {}, {
6517
6550
  useGrouping: false
6518
- });
6519
- return new RegExp("[".concat(formatter.format(1.1).trim().replace(this._numeral, ''), "]"), 'g');
6551
+ }));
6552
+ return new RegExp("[".concat(formatter.format(1.1).replace(this._currency, '').trim().replace(this._numeral, ''), "]"), 'g');
6520
6553
  },
6521
6554
  getGroupingExpression: function getGroupingExpression() {
6522
6555
  var formatter = new Intl.NumberFormat(this.locale, {
@@ -6536,9 +6569,11 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6536
6569
  var formatter = new Intl.NumberFormat(this.locale, {
6537
6570
  style: 'currency',
6538
6571
  currency: this.currency,
6539
- currencyDisplay: this.currencyDisplay
6572
+ currencyDisplay: this.currencyDisplay,
6573
+ minimumFractionDigits: 0,
6574
+ maximumFractionDigits: 0
6540
6575
  });
6541
- return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._decimal, '').replace(this._group, ''), "]"), 'g');
6576
+ return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, ''), "]"), 'g');
6542
6577
  }
6543
6578
 
6544
6579
  return new RegExp("[]", 'g');
@@ -6629,6 +6664,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6629
6664
  var newValue = this.validateValue(currentValue + step);
6630
6665
  this.updateInput(newValue, null, 'spin');
6631
6666
  this.updateModel(event, newValue);
6667
+ this.handleOnInput(event, currentValue, newValue);
6632
6668
  }
6633
6669
  },
6634
6670
  onUpButtonMouseDown: function onUpButtonMouseDown(event) {
@@ -6685,7 +6721,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6685
6721
  this.repeat(event, null, -1);
6686
6722
  }
6687
6723
  },
6688
- onInput: function onInput() {
6724
+ onUserInput: function onUserInput() {
6689
6725
  if (this.isSpecialChar) {
6690
6726
  this.$refs.input.$el.value = this.lastValue;
6691
6727
  }
@@ -6753,19 +6789,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6753
6789
 
6754
6790
  if (selectionStart === selectionEnd) {
6755
6791
  var deleteChar = inputValue.charAt(selectionStart - 1);
6756
- var decimalCharIndex = inputValue.search(this._decimal);
6757
- this._decimal.lastIndex = 0;
6792
+
6793
+ var _this$getDecimalCharI = this.getDecimalCharIndexes(inputValue),
6794
+ decimalCharIndex = _this$getDecimalCharI.decimalCharIndex,
6795
+ decimalCharIndexWithoutPrefix = _this$getDecimalCharI.decimalCharIndexWithoutPrefix;
6758
6796
 
6759
6797
  if (this.isNumeralChar(deleteChar)) {
6798
+ var decimalLength = this.getDecimalLength(inputValue);
6799
+
6760
6800
  if (this._group.test(deleteChar)) {
6761
6801
  this._group.lastIndex = 0;
6762
6802
  newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
6763
6803
  } else if (this._decimal.test(deleteChar)) {
6764
6804
  this._decimal.lastIndex = 0;
6765
- this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
6805
+
6806
+ if (decimalLength) {
6807
+ this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
6808
+ } else {
6809
+ newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
6810
+ }
6766
6811
  } else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
6767
- newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
6768
- } else if (decimalCharIndex > 0 && decimalCharIndex === 1) {
6812
+ var insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
6813
+ newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
6814
+ } else if (decimalCharIndexWithoutPrefix === 1) {
6769
6815
  newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
6770
6816
  newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
6771
6817
  } else {
@@ -6789,20 +6835,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6789
6835
  if (selectionStart === selectionEnd) {
6790
6836
  var _deleteChar = inputValue.charAt(selectionStart);
6791
6837
 
6792
- var _decimalCharIndex = inputValue.search(this._decimal);
6793
-
6794
- this._decimal.lastIndex = 0;
6838
+ var _this$getDecimalCharI2 = this.getDecimalCharIndexes(inputValue),
6839
+ _decimalCharIndex = _this$getDecimalCharI2.decimalCharIndex,
6840
+ _decimalCharIndexWithoutPrefix = _this$getDecimalCharI2.decimalCharIndexWithoutPrefix;
6795
6841
 
6796
6842
  if (this.isNumeralChar(_deleteChar)) {
6843
+ var _decimalLength = this.getDecimalLength(inputValue);
6844
+
6797
6845
  if (this._group.test(_deleteChar)) {
6798
6846
  this._group.lastIndex = 0;
6799
6847
  newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
6800
6848
  } else if (this._decimal.test(_deleteChar)) {
6801
6849
  this._decimal.lastIndex = 0;
6802
- this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
6850
+
6851
+ if (_decimalLength) {
6852
+ this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
6853
+ } else {
6854
+ newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
6855
+ }
6803
6856
  } else if (_decimalCharIndex > 0 && selectionStart > _decimalCharIndex) {
6804
- newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
6805
- } else if (_decimalCharIndex > 0 && _decimalCharIndex === 1) {
6857
+ var _insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < _decimalLength ? '' : '0';
6858
+
6859
+ newValueStr = inputValue.slice(0, selectionStart) + _insertedText + inputValue.slice(selectionStart + 1);
6860
+ } else if (_decimalCharIndexWithoutPrefix === 1) {
6806
6861
  newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
6807
6862
  newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
6808
6863
  } else {
@@ -6852,7 +6907,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6852
6907
  return this.min === null || this.min < 0;
6853
6908
  },
6854
6909
  isMinusSign: function isMinusSign(char) {
6855
- if (this._minusSign.test(char)) {
6910
+ if (this._minusSign.test(char) || char === '-') {
6856
6911
  this._minusSign.lastIndex = 0;
6857
6912
  return true;
6858
6913
  }
@@ -6867,6 +6922,36 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6867
6922
 
6868
6923
  return false;
6869
6924
  },
6925
+ isDecimalMode: function isDecimalMode() {
6926
+ return this.mode === 'decimal';
6927
+ },
6928
+ getDecimalCharIndexes: function getDecimalCharIndexes(val) {
6929
+ var decimalCharIndex = val.search(this._decimal);
6930
+ this._decimal.lastIndex = 0;
6931
+ var filteredVal = val.replace(this._prefix, '').trim().replace(/\s/g, '').replace(this._currency, '');
6932
+ var decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
6933
+ this._decimal.lastIndex = 0;
6934
+ return {
6935
+ decimalCharIndex: decimalCharIndex,
6936
+ decimalCharIndexWithoutPrefix: decimalCharIndexWithoutPrefix
6937
+ };
6938
+ },
6939
+ getCharIndexes: function getCharIndexes(val) {
6940
+ var decimalCharIndex = val.search(this._decimal);
6941
+ this._decimal.lastIndex = 0;
6942
+ var minusCharIndex = val.search(this._minusSign);
6943
+ this._minusSign.lastIndex = 0;
6944
+ var suffixCharIndex = val.search(this._suffix);
6945
+ this._suffix.lastIndex = 0;
6946
+ var currencyCharIndex = val.search(this._currency);
6947
+ this._currency.lastIndex = 0;
6948
+ return {
6949
+ decimalCharIndex: decimalCharIndex,
6950
+ minusCharIndex: minusCharIndex,
6951
+ suffixCharIndex: suffixCharIndex,
6952
+ currencyCharIndex: currencyCharIndex
6953
+ };
6954
+ },
6870
6955
  insert: function insert(event, text) {
6871
6956
  var sign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
6872
6957
  isDecimalSign: false,
@@ -6882,10 +6967,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6882
6967
  var selectionStart = this.$refs.input.$el.selectionStart;
6883
6968
  var selectionEnd = this.$refs.input.$el.selectionEnd;
6884
6969
  var inputValue = this.$refs.input.$el.value.trim();
6885
- var decimalCharIndex = inputValue.search(this._decimal);
6886
- this._decimal.lastIndex = 0;
6887
- var minusCharIndex = inputValue.search(this._minusSign);
6888
- this._minusSign.lastIndex = 0;
6970
+
6971
+ var _this$getCharIndexes = this.getCharIndexes(inputValue),
6972
+ decimalCharIndex = _this$getCharIndexes.decimalCharIndex,
6973
+ minusCharIndex = _this$getCharIndexes.minusCharIndex,
6974
+ suffixCharIndex = _this$getCharIndexes.suffixCharIndex,
6975
+ currencyCharIndex = _this$getCharIndexes.currencyCharIndex;
6976
+
6889
6977
  var newValueStr;
6890
6978
 
6891
6979
  if (sign.isMinusSign) {
@@ -6904,6 +6992,9 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6904
6992
  } else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
6905
6993
  newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
6906
6994
  this.updateValue(event, newValueStr, text, 'insert');
6995
+ } else if (decimalCharIndex === -1 && this.maxFractionDigits) {
6996
+ newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
6997
+ this.updateValue(event, newValueStr, text, 'insert');
6907
6998
  }
6908
6999
  } else {
6909
7000
  var maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
@@ -6911,7 +7002,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6911
7002
 
6912
7003
  if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
6913
7004
  if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits) {
6914
- newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length);
7005
+ var charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;
7006
+ newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
6915
7007
  this.updateValue(event, newValueStr, text, operation);
6916
7008
  }
6917
7009
  } else {
@@ -6921,7 +7013,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6921
7013
  }
6922
7014
  },
6923
7015
  insertText: function insertText(value, text, start, end) {
6924
- var textSplit = text.split('.');
7016
+ var textSplit = text === '.' ? text : text.split('.');
6925
7017
 
6926
7018
  if (textSplit.length === 2) {
6927
7019
  var decimalCharIndex = value.slice(start, end).search(this._decimal);
@@ -6946,11 +7038,15 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6946
7038
  var selectionStart = this.$refs.input.$el.selectionStart;
6947
7039
  var inputValue = this.$refs.input.$el.value;
6948
7040
  var valueLength = inputValue.length;
6949
- var index = null;
7041
+ var index = null; // remove prefix
7042
+
7043
+ var prefixLength = (this.prefixChar || '').length;
7044
+ inputValue = inputValue.replace(this._prefix, '');
7045
+ selectionStart = selectionStart - prefixLength;
6950
7046
  var char = inputValue.charAt(selectionStart);
6951
7047
 
6952
7048
  if (this.isNumeralChar(char)) {
6953
- return;
7049
+ return selectionStart + prefixLength;
6954
7050
  } //left
6955
7051
 
6956
7052
 
@@ -6960,7 +7056,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6960
7056
  char = inputValue.charAt(i);
6961
7057
 
6962
7058
  if (this.isNumeralChar(char)) {
6963
- index = i;
7059
+ index = i + prefixLength;
6964
7060
  break;
6965
7061
  } else {
6966
7062
  i--;
@@ -6970,13 +7066,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6970
7066
  if (index !== null) {
6971
7067
  this.$refs.input.$el.setSelectionRange(index + 1, index + 1);
6972
7068
  } else {
6973
- i = selectionStart + 1;
7069
+ i = selectionStart;
6974
7070
 
6975
7071
  while (i < valueLength) {
6976
7072
  char = inputValue.charAt(i);
6977
7073
 
6978
7074
  if (this.isNumeralChar(char)) {
6979
- index = i;
7075
+ index = i + prefixLength;
6980
7076
  break;
6981
7077
  } else {
6982
7078
  i++;
@@ -6987,6 +7083,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6987
7083
  this.$refs.input.$el.setSelectionRange(index, index);
6988
7084
  }
6989
7085
  }
7086
+
7087
+ return index || 0;
6990
7088
  },
6991
7089
  onInputClick: function onInputClick() {
6992
7090
  this.initCursor();
@@ -7006,12 +7104,38 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7006
7104
  this._minusSign.lastIndex = 0;
7007
7105
  },
7008
7106
  updateValue: function updateValue(event, valueStr, insertedValueStr, operation) {
7107
+ var currentValue = this.$refs.input.$el.value;
7108
+ var newValue = null;
7109
+
7009
7110
  if (valueStr != null) {
7010
- var newValue = this.parseValue(valueStr);
7011
- this.updateInput(newValue, insertedValueStr, operation);
7111
+ newValue = this.parseValue(valueStr);
7112
+ newValue = !newValue && !this.allowEmpty ? 0 : newValue;
7113
+ this.updateInput(newValue, insertedValueStr, operation, valueStr);
7114
+ this.handleOnInput(event, currentValue, newValue);
7115
+ }
7116
+ },
7117
+ handleOnInput: function handleOnInput(event, currentValue, newValue) {
7118
+ if (this.isValueChanged(currentValue, newValue)) {
7119
+ this.$emit('input', newValue);
7012
7120
  }
7013
7121
  },
7122
+ isValueChanged: function isValueChanged(currentValue, newValue) {
7123
+ if (newValue === null && currentValue !== null) {
7124
+ return true;
7125
+ }
7126
+
7127
+ if (newValue != null) {
7128
+ var parsedCurrentValue = typeof currentValue === 'string' ? this.parseValue(currentValue) : currentValue;
7129
+ return newValue !== parsedCurrentValue;
7130
+ }
7131
+
7132
+ return false;
7133
+ },
7014
7134
  validateValue: function validateValue(value) {
7135
+ if (value === '-' || value == null) {
7136
+ return null;
7137
+ }
7138
+
7015
7139
  if (this.min != null && value < this.min) {
7016
7140
  return this.min;
7017
7141
  }
@@ -7020,25 +7144,23 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7020
7144
  return this.max;
7021
7145
  }
7022
7146
 
7023
- if (value === '-') {
7024
- // Minus sign
7025
- return null;
7026
- }
7027
-
7028
7147
  return value;
7029
7148
  },
7030
- updateInput: function updateInput(value, insertedValueStr, operation) {
7149
+ updateInput: function updateInput(value, insertedValueStr, operation, valueStr) {
7031
7150
  insertedValueStr = insertedValueStr || '';
7032
7151
  var inputValue = this.$refs.input.$el.value;
7033
7152
  var newValue = this.formatValue(value);
7034
7153
  var currentLength = inputValue.length;
7035
7154
 
7155
+ if (newValue !== valueStr) {
7156
+ newValue = this.concatValues(newValue, valueStr);
7157
+ }
7158
+
7036
7159
  if (currentLength === 0) {
7037
7160
  this.$refs.input.$el.value = newValue;
7038
7161
  this.$refs.input.$el.setSelectionRange(0, 0);
7039
- this.initCursor();
7040
- var prefixLength = (this.prefixChar || '').length;
7041
- var selectionEnd = prefixLength + insertedValueStr.length;
7162
+ var index = this.initCursor();
7163
+ var selectionEnd = index + insertedValueStr.length;
7042
7164
  this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
7043
7165
  } else {
7044
7166
  var selectionStart = this.$refs.input.$el.selectionStart;
@@ -7074,6 +7196,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7074
7196
 
7075
7197
  this._group.lastIndex = 0;
7076
7198
  this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
7199
+ } else if (inputValue === '-' && operation === 'insert') {
7200
+ this.$refs.input.$el.setSelectionRange(0, 0);
7201
+
7202
+ var _index = this.initCursor();
7203
+
7204
+ var _selectionEnd2 = _index + insertedValueStr.length + 1;
7205
+
7206
+ this.$refs.input.$el.setSelectionRange(_selectionEnd2, _selectionEnd2);
7077
7207
  } else {
7078
7208
  _selectionEnd = _selectionEnd + (newLength - currentLength);
7079
7209
  this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
@@ -7082,12 +7212,32 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7082
7212
 
7083
7213
  this.$refs.input.$el.setAttribute('aria-valuenow', value);
7084
7214
  },
7215
+ concatValues: function concatValues(val1, val2) {
7216
+ if (val1 && val2) {
7217
+ var decimalCharIndex = val2.search(this._decimal);
7218
+ this._decimal.lastIndex = 0;
7219
+ return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;
7220
+ }
7221
+
7222
+ return val1;
7223
+ },
7224
+ getDecimalLength: function getDecimalLength(value) {
7225
+ if (value) {
7226
+ var valueSplit = value.split(this._decimal);
7227
+
7228
+ if (valueSplit.length === 2) {
7229
+ return valueSplit[1].replace(this._suffix, '').trim().replace(/\s/g, '').replace(this._currency, '').length;
7230
+ }
7231
+ }
7232
+
7233
+ return 0;
7234
+ },
7085
7235
  updateModel: function updateModel(event, value) {
7236
+ this.d_value = value;
7086
7237
  this.$emit('input', value);
7087
7238
  },
7088
- onInputFocus: function onInputFocus(event) {
7239
+ onInputFocus: function onInputFocus() {
7089
7240
  this.focused = true;
7090
- this.$emit('focus', event);
7091
7241
  },
7092
7242
  onInputBlur: function onInputBlur(event) {
7093
7243
  this.focused = false;
@@ -7096,17 +7246,22 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7096
7246
  input.value = this.formatValue(newValue);
7097
7247
  input.setAttribute('aria-valuenow', newValue);
7098
7248
  this.updateModel(event, newValue);
7099
- this.$emit('blur', event);
7100
7249
  },
7101
7250
  clearTimer: function clearTimer() {
7102
7251
  if (this.timer) {
7103
7252
  clearInterval(this.timer);
7104
7253
  }
7254
+ },
7255
+ maxBoundry: function maxBoundry() {
7256
+ return this.d_value >= this.max;
7257
+ },
7258
+ minBoundry: function minBoundry() {
7259
+ return this.d_value <= this.min;
7105
7260
  }
7106
7261
  },
7107
7262
  computed: {
7108
7263
  containerClass: function containerClass() {
7109
- return ['p-inputnumber p-component', {
7264
+ return ['p-inputnumber p-component p-inputwrapper', this.className, {
7110
7265
  'p-inputwrapper-filled': this.filled,
7111
7266
  'p-inputwrapper-focus': this.focused,
7112
7267
  'p-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',
@@ -7115,85 +7270,66 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7115
7270
  }];
7116
7271
  },
7117
7272
  upButtonClass: function upButtonClass() {
7118
- return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass];
7273
+ return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass, {
7274
+ 'p-disabled': this.showButtons && this.max !== null && this.maxBoundry()
7275
+ }];
7119
7276
  },
7120
7277
  downButtonClass: function downButtonClass() {
7121
- return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass];
7278
+ return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass, {
7279
+ 'p-disabled': this.showButtons && this.min !== null && this.minBoundry()
7280
+ }];
7122
7281
  },
7123
7282
  filled: function filled() {
7124
7283
  return this.value != null && this.value.toString().length > 0;
7125
7284
  },
7126
- listeners: function listeners() {
7127
- var _this2 = this;
7128
-
7129
- return InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.$listeners), {}, {
7130
- input: function input(val) {
7131
- return _this2.onInput(val);
7132
- },
7133
- keydown: function keydown(event) {
7134
- return _this2.onInputKeyDown(event);
7135
- },
7136
- keypress: function keypress(event) {
7137
- return _this2.onInputKeyPress(event);
7138
- },
7139
- paste: function paste(event) {
7140
- return _this2.onPaste(event);
7141
- },
7142
- click: function click(event) {
7143
- return _this2.onInputClick(event);
7144
- },
7145
- focus: function focus(event) {
7146
- return _this2.onInputFocus(event);
7147
- },
7148
- blur: function blur(event) {
7149
- return _this2.onInputBlur(event);
7150
- }
7151
- });
7152
- },
7153
7285
  upButtonListeners: function upButtonListeners() {
7154
- var _this3 = this;
7286
+ var _this2 = this;
7155
7287
 
7156
7288
  return {
7157
7289
  mousedown: function mousedown(event) {
7158
- return _this3.onUpButtonMouseDown(event);
7290
+ return _this2.onUpButtonMouseDown(event);
7159
7291
  },
7160
7292
  mouseup: function mouseup(event) {
7161
- return _this3.onUpButtonMouseUp(event);
7293
+ return _this2.onUpButtonMouseUp(event);
7162
7294
  },
7163
7295
  mouseleave: function mouseleave(event) {
7164
- return _this3.onUpButtonMouseLeave(event);
7296
+ return _this2.onUpButtonMouseLeave(event);
7165
7297
  },
7166
7298
  keydown: function keydown(event) {
7167
- return _this3.onUpButtonKeyDown(event);
7299
+ return _this2.onUpButtonKeyDown(event);
7168
7300
  },
7169
7301
  keyup: function keyup(event) {
7170
- return _this3.onUpButtonKeyUp(event);
7302
+ return _this2.onUpButtonKeyUp(event);
7171
7303
  }
7172
7304
  };
7173
7305
  },
7174
7306
  downButtonListeners: function downButtonListeners() {
7175
- var _this4 = this;
7307
+ var _this3 = this;
7176
7308
 
7177
7309
  return {
7178
7310
  mousedown: function mousedown(event) {
7179
- return _this4.onDownButtonMouseDown(event);
7311
+ return _this3.onDownButtonMouseDown(event);
7180
7312
  },
7181
7313
  mouseup: function mouseup(event) {
7182
- return _this4.onDownButtonMouseUp(event);
7314
+ return _this3.onDownButtonMouseUp(event);
7183
7315
  },
7184
7316
  mouseleave: function mouseleave(event) {
7185
- return _this4.onDownButtonMouseLeave(event);
7317
+ return _this3.onDownButtonMouseLeave(event);
7186
7318
  },
7187
7319
  keydown: function keydown(event) {
7188
- return _this4.onDownButtonKeyDown(event);
7320
+ return _this3.onDownButtonKeyDown(event);
7189
7321
  },
7190
7322
  keyup: function keyup(event) {
7191
- return _this4.onDownButtonKeyUp(event);
7323
+ return _this3.onDownButtonKeyUp(event);
7192
7324
  }
7193
7325
  };
7194
7326
  },
7195
7327
  formattedValue: function formattedValue() {
7196
- return this.formatValue(this.value);
7328
+ var val = !this.value && !this.allowEmpty ? 0 : this.value;
7329
+ return this.formatValue(val);
7330
+ },
7331
+ getFormatter: function getFormatter() {
7332
+ return this.numberFormat;
7197
7333
  }
7198
7334
  },
7199
7335
  components: {