primevue 2.4.2 → 2.7.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 (646) hide show
  1. package/accordion/Accordion.vue +8 -1
  2. package/accordion/accordion.common.js +9 -3
  3. package/accordion/accordion.umd.js +9 -3
  4. package/accordion/accordion.umd.min.js +1 -1
  5. package/accordiontab/AccordionTab.vue +2 -2
  6. package/accordiontab/accordiontab.common.js +9 -4
  7. package/accordiontab/accordiontab.umd.js +9 -4
  8. package/accordiontab/accordiontab.umd.min.js +1 -1
  9. package/autocomplete/AutoComplete.d.ts +1 -0
  10. package/autocomplete/AutoComplete.vue +8 -0
  11. package/autocomplete/autocomplete.common.js +21 -3
  12. package/autocomplete/autocomplete.umd.js +21 -3
  13. package/autocomplete/autocomplete.umd.min.js +1 -1
  14. package/avatar/avatar.common.js +1 -1
  15. package/avatar/avatar.umd.js +1 -1
  16. package/avatargroup/avatargroup.common.js +1 -1
  17. package/avatargroup/avatargroup.umd.js +1 -1
  18. package/badge/badge.common.js +1 -1
  19. package/badge/badge.umd.js +1 -1
  20. package/badgedirective/badgedirective.common.js +5 -0
  21. package/badgedirective/badgedirective.umd.js +5 -0
  22. package/badgedirective/badgedirective.umd.min.js +1 -1
  23. package/blockui/BlockUI.vue +6 -16
  24. package/blockui/blockui.common.js +16 -16
  25. package/blockui/blockui.umd.js +16 -16
  26. package/blockui/blockui.umd.min.js +1 -1
  27. package/breadcrumb/Breadcrumb.d.ts +1 -0
  28. package/breadcrumb/Breadcrumb.vue +11 -3
  29. package/breadcrumb/BreadcrumbItem.vue +30 -11
  30. package/breadcrumb/breadcrumb.common.js +45 -17
  31. package/breadcrumb/breadcrumb.umd.js +45 -17
  32. package/breadcrumb/breadcrumb.umd.min.js +1 -1
  33. package/breadcrumb/breadcrumbitem.common.js +34 -10
  34. package/breadcrumb/breadcrumbitem.umd.js +34 -10
  35. package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
  36. package/button/button.common.js +6 -1
  37. package/button/button.umd.js +6 -1
  38. package/button/button.umd.min.js +1 -1
  39. package/calendar/Calendar.d.ts +5 -0
  40. package/calendar/Calendar.vue +321 -69
  41. package/calendar/calendar.common.js +340 -42
  42. package/calendar/calendar.umd.js +340 -42
  43. package/calendar/calendar.umd.min.js +1 -1
  44. package/card/card.common.js +1 -1
  45. package/card/card.umd.js +1 -1
  46. package/carousel/Carousel.vue +2 -2
  47. package/carousel/carousel.common.js +8 -3
  48. package/carousel/carousel.umd.js +8 -3
  49. package/carousel/carousel.umd.min.js +1 -1
  50. package/cascadeselect/CascadeSelect.d.ts +6 -4
  51. package/cascadeselect/CascadeSelect.vue +3 -1
  52. package/cascadeselect/cascadeselect.common.js +15 -4
  53. package/cascadeselect/cascadeselect.umd.js +15 -4
  54. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  55. package/cascadeselect/cascadeselectsub.common.js +10 -1
  56. package/cascadeselect/cascadeselectsub.umd.js +10 -1
  57. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  58. package/cascadeselect/demo.html +3 -4
  59. package/chart/Chart.vue +22 -13
  60. package/chart/chart.common.1.js +12825 -0
  61. package/chart/chart.common.js +1040 -37026
  62. package/chart/chart.umd.1.js +12825 -0
  63. package/chart/chart.umd.js +1040 -37026
  64. package/chart/chart.umd.min.1.js +7 -0
  65. package/chart/chart.umd.min.js +1 -278
  66. package/checkbox/Checkbox.css +1 -0
  67. package/checkbox/Checkbox.d.ts +2 -0
  68. package/checkbox/Checkbox.vue +11 -3
  69. package/checkbox/checkbox.common.js +17 -5
  70. package/checkbox/checkbox.umd.js +17 -5
  71. package/checkbox/checkbox.umd.min.js +1 -1
  72. package/chip/chip.common.js +1 -1
  73. package/chip/chip.umd.js +1 -1
  74. package/chips/chips.common.js +1 -1
  75. package/chips/chips.umd.js +1 -1
  76. package/colorpicker/colorpicker.common.js +6 -1
  77. package/colorpicker/colorpicker.umd.js +6 -1
  78. package/colorpicker/colorpicker.umd.min.js +1 -1
  79. package/columngroup/columngroup.common.js +1 -1
  80. package/columngroup/columngroup.umd.js +1 -1
  81. package/common/Common.css +13 -4
  82. package/config/primevue.common.js +4 -0
  83. package/config/primevue.umd.js +4 -0
  84. package/config/primevue.umd.min.js +1 -1
  85. package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
  86. package/confirmationeventbus/confirmationeventbus.common.js +1777 -0
  87. package/confirmationeventbus/confirmationeventbus.umd.js +1787 -0
  88. package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
  89. package/confirmationeventbus/demo.html +8 -0
  90. package/confirmationeventbus/index.d.ts +1 -0
  91. package/confirmationeventbus/index.js +2 -0
  92. package/confirmationservice/ConfirmationService.js +1 -1
  93. package/confirmationservice/confirmationservice.common.js +1609 -6
  94. package/confirmationservice/confirmationservice.umd.js +1609 -6
  95. package/confirmationservice/confirmationservice.umd.min.js +1 -1
  96. package/confirmdialog/ConfirmDialog.vue +9 -3
  97. package/confirmdialog/confirmdialog.common.js +437 -38
  98. package/confirmdialog/confirmdialog.umd.js +437 -38
  99. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  100. package/confirmpopup/ConfirmPopup.d.ts +4 -1
  101. package/confirmpopup/ConfirmPopup.vue +9 -6
  102. package/confirmpopup/confirmpopup.common.js +513 -13
  103. package/confirmpopup/confirmpopup.umd.js +513 -13
  104. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  105. package/contextmenu/ContextMenu.d.ts +1 -0
  106. package/contextmenu/ContextMenu.vue +5 -1
  107. package/contextmenu/ContextMenuSub.vue +33 -13
  108. package/contextmenu/contextmenu.common.js +46 -14
  109. package/contextmenu/contextmenu.umd.js +46 -14
  110. package/contextmenu/contextmenu.umd.min.js +1 -1
  111. package/contextmenu/contextmenusub.common.js +36 -8
  112. package/contextmenu/contextmenusub.umd.js +36 -8
  113. package/contextmenu/contextmenusub.umd.min.js +1 -1
  114. package/contextmenu/demo.html +4 -3
  115. package/datatable/BodyCell.vue +9 -5
  116. package/datatable/DataTable.d.ts +10 -9
  117. package/datatable/DataTable.vue +27 -19
  118. package/datatable/TableBody.vue +18 -5
  119. package/datatable/bodycell.common.js +21 -9
  120. package/datatable/bodycell.umd.js +21 -9
  121. package/datatable/bodycell.umd.min.js +1 -1
  122. package/datatable/datatable.common.js +1993 -89
  123. package/datatable/datatable.umd.js +1993 -89
  124. package/datatable/datatable.umd.min.js +1 -1
  125. package/datatable/headercheckbox.common.js +1 -1
  126. package/datatable/headercheckbox.umd.js +1 -1
  127. package/datatable/rowcheckbox.common.js +1 -1
  128. package/datatable/rowcheckbox.umd.js +1 -1
  129. package/datatable/rowradiobutton.common.js +1 -1
  130. package/datatable/rowradiobutton.umd.js +1 -1
  131. package/datatable/scrollableview.common.js +7 -2
  132. package/datatable/scrollableview.umd.js +7 -2
  133. package/datatable/scrollableview.umd.min.js +1 -1
  134. package/datatable/tablebody.common.js +44 -15
  135. package/datatable/tablebody.umd.js +44 -15
  136. package/datatable/tablebody.umd.min.js +1 -1
  137. package/datatable/tablefooter.common.js +1 -1
  138. package/datatable/tablefooter.umd.js +1 -1
  139. package/datatable/tableheader.common.js +7 -2
  140. package/datatable/tableheader.umd.js +7 -2
  141. package/datatable/tableheader.umd.min.js +1 -1
  142. package/datatable/tableloadingbody.common.js +1 -1
  143. package/datatable/tableloadingbody.umd.js +1 -1
  144. package/dataview/DataView.d.ts +2 -2
  145. package/dataview/DataView.vue +10 -10
  146. package/dataview/dataview.common.js +1937 -65
  147. package/dataview/dataview.umd.js +1937 -65
  148. package/dataview/dataview.umd.min.js +1 -1
  149. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
  150. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
  151. package/deferredcontent/DeferredContent.vue +1 -7
  152. package/deferredcontent/deferredcontent.common.js +2 -2
  153. package/deferredcontent/deferredcontent.umd.js +2 -2
  154. package/dialog/Dialog.vue +35 -21
  155. package/dialog/dialog.common.js +42 -18
  156. package/dialog/dialog.umd.js +42 -18
  157. package/dialog/dialog.umd.min.js +1 -1
  158. package/divider/divider.common.js +1 -1
  159. package/divider/divider.umd.js +1 -1
  160. package/dock/Dock.d.ts +15 -0
  161. package/dock/Dock.vue +173 -0
  162. package/dock/DockSub.vue +132 -0
  163. package/dock/demo.html +17 -0
  164. package/dock/dock.common.js +917 -0
  165. package/dock/dock.umd.js +927 -0
  166. package/dock/dock.umd.min.js +1 -0
  167. package/dock/docksub.common.js +428 -0
  168. package/dock/docksub.umd.js +438 -0
  169. package/dock/docksub.umd.min.js +1 -0
  170. package/dock/index.d.ts +1 -0
  171. package/dock/index.js +2 -0
  172. package/dock/plugin.js +4 -0
  173. package/dropdown/Dropdown.d.ts +5 -3
  174. package/dropdown/Dropdown.vue +31 -5
  175. package/dropdown/dropdown.common.js +44 -6
  176. package/dropdown/dropdown.umd.js +44 -6
  177. package/dropdown/dropdown.umd.min.js +1 -1
  178. package/editor/editor.common.js +1 -1
  179. package/editor/editor.umd.js +1 -1
  180. package/fieldset/fieldset.common.js +6 -1
  181. package/fieldset/fieldset.umd.js +6 -1
  182. package/fieldset/fieldset.umd.min.js +1 -1
  183. package/fileupload/FileUpload.d.ts +2 -0
  184. package/fileupload/FileUpload.vue +12 -7
  185. package/fileupload/fileupload.common.js +42 -23
  186. package/fileupload/fileupload.umd.js +42 -23
  187. package/fileupload/fileupload.umd.min.js +1 -1
  188. package/fullcalendar/fullcalendar.common.js +1573 -777
  189. package/fullcalendar/fullcalendar.umd.js +1573 -777
  190. package/fullcalendar/fullcalendar.umd.min.js +5 -5
  191. package/galleria/Galleria.vue +3 -8
  192. package/galleria/GalleriaContent.vue +9 -0
  193. package/galleria/galleria.common.js +31 -13
  194. package/galleria/galleria.umd.js +31 -13
  195. package/galleria/galleria.umd.min.js +1 -1
  196. package/galleria/galleriacontent.common.js +18 -4
  197. package/galleria/galleriacontent.umd.js +18 -4
  198. package/galleria/galleriacontent.umd.min.js +1 -1
  199. package/galleria/galleriaitem.common.js +6 -1
  200. package/galleria/galleriaitem.umd.js +6 -1
  201. package/galleria/galleriaitem.umd.min.js +1 -1
  202. package/galleria/galleriathumbnails.common.js +6 -1
  203. package/galleria/galleriathumbnails.umd.js +6 -1
  204. package/galleria/galleriathumbnails.umd.min.js +1 -1
  205. package/imagepreview/ImagePreview.d.ts +10 -0
  206. package/imagepreview/ImagePreview.vue +205 -0
  207. package/imagepreview/demo.html +17 -0
  208. package/imagepreview/imagepreview.common.js +4083 -0
  209. package/imagepreview/imagepreview.umd.js +4093 -0
  210. package/imagepreview/imagepreview.umd.min.js +1 -0
  211. package/imagepreview/index.d.ts +1 -0
  212. package/imagepreview/index.js +2 -0
  213. package/imagepreview/plugin.js +4 -0
  214. package/inlinemessage/inlinemessage.common.js +1 -1
  215. package/inlinemessage/inlinemessage.umd.js +1 -1
  216. package/inplace/inplace.common.js +7 -2
  217. package/inplace/inplace.umd.js +7 -2
  218. package/inplace/inplace.umd.min.js +1 -1
  219. package/inputmask/InputMask.vue +7 -5
  220. package/inputmask/inputmask.common.js +19 -6
  221. package/inputmask/inputmask.umd.js +19 -6
  222. package/inputmask/inputmask.umd.min.js +1 -1
  223. package/inputnumber/InputNumber.vue +183 -62
  224. package/inputnumber/inputnumber.common.js +228 -104
  225. package/inputnumber/inputnumber.umd.js +228 -104
  226. package/inputnumber/inputnumber.umd.min.js +1 -1
  227. package/inputswitch/InputSwitch.d.ts +2 -0
  228. package/inputswitch/InputSwitch.vue +15 -3
  229. package/inputswitch/inputswitch.common.js +17 -5
  230. package/inputswitch/inputswitch.umd.js +17 -5
  231. package/inputswitch/inputswitch.umd.min.js +1 -1
  232. package/inputtext/inputtext.common.js +5 -1
  233. package/inputtext/inputtext.umd.js +5 -1
  234. package/inputtext/inputtext.umd.min.js +1 -1
  235. package/knob/knob.common.js +1 -1
  236. package/knob/knob.umd.js +1 -1
  237. package/listbox/Listbox.d.ts +3 -3
  238. package/listbox/listbox.common.js +10 -1
  239. package/listbox/listbox.umd.js +10 -1
  240. package/listbox/listbox.umd.min.js +1 -1
  241. package/megamenu/MegaMenu.d.ts +6 -1
  242. package/megamenu/MegaMenu.vue +51 -22
  243. package/megamenu/megamenu.common.js +52 -10
  244. package/megamenu/megamenu.umd.js +52 -10
  245. package/megamenu/megamenu.umd.min.js +1 -1
  246. package/menu/Menu.d.ts +1 -0
  247. package/menu/Menu.vue +11 -4
  248. package/menu/Menuitem.vue +25 -11
  249. package/menu/menu.common.js +46 -17
  250. package/menu/menu.umd.js +46 -17
  251. package/menu/menu.umd.min.js +1 -1
  252. package/menu/menuitem.common.js +33 -11
  253. package/menu/menuitem.umd.js +33 -11
  254. package/menu/menuitem.umd.min.js +1 -1
  255. package/menubar/Menubar.d.ts +1 -0
  256. package/menubar/Menubar.vue +5 -1
  257. package/menubar/MenubarSub.vue +34 -14
  258. package/menubar/menubar.common.js +46 -14
  259. package/menubar/menubar.umd.js +46 -14
  260. package/menubar/menubar.umd.min.js +1 -1
  261. package/menubar/menubarsub.common.js +36 -8
  262. package/menubar/menubarsub.umd.js +36 -8
  263. package/menubar/menubarsub.umd.min.js +1 -1
  264. package/message/Message.d.ts +1 -0
  265. package/message/Message.vue +5 -1
  266. package/message/message.common.js +12 -3
  267. package/message/message.umd.js +12 -3
  268. package/message/message.umd.min.js +1 -1
  269. package/multiselect/MultiSelect.d.ts +4 -3
  270. package/multiselect/MultiSelect.vue +8 -1
  271. package/multiselect/multiselect.common.js +20 -5
  272. package/multiselect/multiselect.umd.js +20 -5
  273. package/multiselect/multiselect.umd.min.js +1 -1
  274. package/orderlist/OrderList.d.ts +2 -0
  275. package/orderlist/OrderList.vue +2 -0
  276. package/orderlist/orderlist.common.js +15 -4
  277. package/orderlist/orderlist.umd.js +15 -4
  278. package/orderlist/orderlist.umd.min.js +1 -1
  279. package/organizationchart/organizationchart.common.js +11 -2
  280. package/organizationchart/organizationchart.umd.js +11 -2
  281. package/organizationchart/organizationchart.umd.min.js +1 -1
  282. package/organizationchart/organizationchartnode.common.js +6 -1
  283. package/organizationchart/organizationchartnode.umd.js +6 -1
  284. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  285. package/overlaypanel/overlaypanel.common.js +6 -1
  286. package/overlaypanel/overlaypanel.umd.js +6 -1
  287. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  288. package/package.json +5 -1
  289. package/paginator/CurrentPageReport.vue +6 -2
  290. package/paginator/JumpToPageDropdown.vue +33 -0
  291. package/paginator/JumpToPageInput.vue +25 -0
  292. package/paginator/Paginator.d.ts +2 -2
  293. package/paginator/Paginator.vue +24 -11
  294. package/paginator/RowsPerPageDropdown.vue +3 -2
  295. package/paginator/currentpagereport.common.js +7 -3
  296. package/paginator/currentpagereport.umd.js +7 -3
  297. package/paginator/currentpagereport.umd.min.js +1 -1
  298. package/paginator/demo.html +3 -3
  299. package/paginator/firstpagelink.common.js +6 -1
  300. package/paginator/firstpagelink.umd.js +6 -1
  301. package/paginator/firstpagelink.umd.min.js +1 -1
  302. package/paginator/jumptopagedropdown.common.js +6476 -0
  303. package/paginator/jumptopagedropdown.umd.js +6486 -0
  304. package/paginator/jumptopagedropdown.umd.min.js +1 -0
  305. package/paginator/jumptopageinput.common.js +7421 -0
  306. package/paginator/jumptopageinput.umd.js +7431 -0
  307. package/paginator/jumptopageinput.umd.min.js +1 -0
  308. package/paginator/lastpagelink.common.js +6 -1
  309. package/paginator/lastpagelink.umd.js +6 -1
  310. package/paginator/lastpagelink.umd.min.js +1 -1
  311. package/paginator/nextpagelink.common.js +6 -1
  312. package/paginator/nextpagelink.umd.js +6 -1
  313. package/paginator/nextpagelink.umd.min.js +1 -1
  314. package/paginator/pagelinks.common.js +6 -1
  315. package/paginator/pagelinks.umd.js +6 -1
  316. package/paginator/pagelinks.umd.min.js +1 -1
  317. package/paginator/paginator.common.js +2264 -125
  318. package/paginator/paginator.umd.js +2264 -125
  319. package/paginator/paginator.umd.min.js +1 -1
  320. package/paginator/prevpagelink.common.js +6 -1
  321. package/paginator/prevpagelink.umd.js +6 -1
  322. package/paginator/prevpagelink.umd.min.js +1 -1
  323. package/paginator/rowsperpagedropdown.common.js +52 -13
  324. package/paginator/rowsperpagedropdown.umd.js +52 -13
  325. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  326. package/panel/Panel.d.ts +1 -0
  327. package/panel/Panel.vue +1 -1
  328. package/panel/panel.common.js +7 -2
  329. package/panel/panel.umd.js +7 -2
  330. package/panel/panel.umd.min.js +1 -1
  331. package/panelmenu/PanelMenu.d.ts +1 -0
  332. package/panelmenu/PanelMenu.vue +32 -6
  333. package/panelmenu/PanelMenuSub.vue +32 -13
  334. package/panelmenu/panelmenu.common.js +69 -16
  335. package/panelmenu/panelmenu.umd.js +69 -16
  336. package/panelmenu/panelmenu.umd.min.js +1 -1
  337. package/panelmenu/panelmenusub.common.js +29 -7
  338. package/panelmenu/panelmenusub.umd.js +29 -7
  339. package/panelmenu/panelmenusub.umd.min.js +1 -1
  340. package/password/password.common.js +11 -2
  341. package/password/password.umd.js +11 -2
  342. package/password/password.umd.min.js +1 -1
  343. package/picklist/PickList.d.ts +8 -0
  344. package/picklist/PickList.vue +13 -4
  345. package/picklist/picklist.common.js +22 -4
  346. package/picklist/picklist.umd.js +22 -4
  347. package/picklist/picklist.umd.min.js +1 -1
  348. package/progressbar/ProgressBar.vue +20 -13
  349. package/progressbar/progressbar.common.js +11 -6
  350. package/progressbar/progressbar.umd.js +11 -6
  351. package/progressbar/progressbar.umd.min.js +1 -1
  352. package/progressspinner/progressspinner.common.js +1 -1
  353. package/progressspinner/progressspinner.umd.js +1 -1
  354. package/radiobutton/radiobutton.common.js +5 -1
  355. package/radiobutton/radiobutton.umd.js +5 -1
  356. package/radiobutton/radiobutton.umd.min.js +1 -1
  357. package/rating/Rating.vue +1 -1
  358. package/rating/rating.common.js +3 -3
  359. package/rating/rating.umd.js +3 -3
  360. package/rating/rating.umd.min.js +1 -1
  361. package/resources/primevue.css +15 -4
  362. package/resources/primevue.min.css +1 -1
  363. package/resources/themes/arya-blue/theme.css +503 -83
  364. package/resources/themes/arya-green/theme.css +503 -83
  365. package/resources/themes/arya-orange/theme.css +503 -83
  366. package/resources/themes/arya-purple/theme.css +503 -83
  367. package/resources/themes/bootstrap4-dark-blue/theme.css +500 -87
  368. package/resources/themes/bootstrap4-dark-purple/theme.css +500 -87
  369. package/resources/themes/bootstrap4-light-blue/theme.css +490 -77
  370. package/resources/themes/bootstrap4-light-purple/theme.css +490 -77
  371. package/resources/themes/fluent-light/theme.css +497 -77
  372. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  373. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  374. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  375. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  376. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  377. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  378. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  379. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  380. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  381. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  382. package/resources/themes/lara-dark-blue/theme.css +5418 -0
  383. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  384. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  385. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  386. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  387. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  388. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  389. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  390. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  391. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  392. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  393. package/resources/themes/lara-dark-indigo/theme.css +5418 -0
  394. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  395. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  396. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  397. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  398. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  399. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  400. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  401. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  402. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  403. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  404. package/resources/themes/lara-dark-purple/theme.css +5418 -0
  405. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  406. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  407. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  408. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  409. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  410. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  411. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  412. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  413. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  414. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  415. package/resources/themes/lara-dark-teal/theme.css +5418 -0
  416. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  417. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  418. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  419. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  420. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  421. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  422. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  423. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  424. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  425. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  426. package/resources/themes/lara-light-blue/theme.css +5418 -0
  427. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  428. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  429. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  430. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  431. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  432. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  433. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  434. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  435. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  436. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  437. package/resources/themes/lara-light-indigo/theme.css +5418 -0
  438. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  439. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  440. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  441. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  442. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  443. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  444. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  445. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  446. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  447. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  448. package/resources/themes/lara-light-purple/theme.css +5418 -0
  449. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  450. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  451. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  452. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  453. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  454. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  455. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  456. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  457. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  458. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  459. package/resources/themes/lara-light-teal/theme.css +5418 -0
  460. package/resources/themes/luna-amber/theme.css +500 -87
  461. package/resources/themes/luna-blue/theme.css +500 -87
  462. package/resources/themes/luna-green/theme.css +500 -87
  463. package/resources/themes/luna-pink/theme.css +500 -87
  464. package/resources/themes/md-dark-deeppurple/theme.css +801 -128
  465. package/resources/themes/md-dark-indigo/theme.css +801 -128
  466. package/resources/themes/md-light-deeppurple/theme.css +791 -118
  467. package/resources/themes/md-light-indigo/theme.css +791 -118
  468. package/resources/themes/mdc-dark-deeppurple/theme.css +1087 -414
  469. package/resources/themes/mdc-dark-indigo/theme.css +1035 -362
  470. package/resources/themes/mdc-light-deeppurple/theme.css +791 -118
  471. package/resources/themes/mdc-light-indigo/theme.css +791 -118
  472. package/resources/themes/nova/theme.css +490 -77
  473. package/resources/themes/nova-accent/theme.css +490 -77
  474. package/resources/themes/nova-alt/theme.css +490 -77
  475. package/resources/themes/nova-vue/theme.css +490 -77
  476. package/resources/themes/rhea/theme.css +490 -77
  477. package/resources/themes/saga-blue/theme.css +493 -73
  478. package/resources/themes/saga-green/theme.css +493 -73
  479. package/resources/themes/saga-orange/theme.css +493 -73
  480. package/resources/themes/saga-purple/theme.css +493 -73
  481. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  482. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  483. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  484. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  485. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  486. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  487. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  488. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  489. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  490. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  491. package/resources/themes/tailwind-light/theme.css +5493 -0
  492. package/resources/themes/vela-blue/theme.css +503 -83
  493. package/resources/themes/vela-green/theme.css +503 -83
  494. package/resources/themes/vela-orange/theme.css +503 -83
  495. package/resources/themes/vela-purple/theme.css +503 -83
  496. package/ripple/ripple.common.js +5 -0
  497. package/ripple/ripple.umd.js +5 -0
  498. package/ripple/ripple.umd.min.js +1 -1
  499. package/row/row.common.js +1 -1
  500. package/row/row.umd.js +1 -1
  501. package/scrollpanel/scrollpanel.common.js +6 -1
  502. package/scrollpanel/scrollpanel.umd.js +6 -1
  503. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  504. package/scrolltop/scrolltop.common.js +6 -1
  505. package/scrolltop/scrolltop.umd.js +6 -1
  506. package/scrolltop/scrolltop.umd.min.js +1 -1
  507. package/selectbutton/SelectButton.d.ts +3 -3
  508. package/selectbutton/SelectButton.vue +6 -1
  509. package/selectbutton/selectbutton.common.js +17 -3
  510. package/selectbutton/selectbutton.umd.js +17 -3
  511. package/selectbutton/selectbutton.umd.min.js +1 -1
  512. package/sidebar/Sidebar.vue +3 -16
  513. package/sidebar/sidebar.common.js +15 -15
  514. package/sidebar/sidebar.umd.js +15 -15
  515. package/sidebar/sidebar.umd.min.js +1 -1
  516. package/skeleton/skeleton.common.js +1 -1
  517. package/skeleton/skeleton.umd.js +1 -1
  518. package/slider/slider.common.js +6 -1
  519. package/slider/slider.umd.js +6 -1
  520. package/slider/slider.umd.min.js +1 -1
  521. package/speeddial/SpeedDial.d.ts +31 -0
  522. package/speeddial/SpeedDial.vue +341 -0
  523. package/speeddial/demo.html +17 -0
  524. package/speeddial/index.d.ts +1 -0
  525. package/speeddial/index.js +2 -0
  526. package/speeddial/plugin.js +4 -0
  527. package/speeddial/speeddial.common.js +4741 -0
  528. package/speeddial/speeddial.umd.js +4751 -0
  529. package/speeddial/speeddial.umd.min.js +1 -0
  530. package/splitbutton/splitbutton.common.js +51 -22
  531. package/splitbutton/splitbutton.umd.js +51 -22
  532. package/splitbutton/splitbutton.umd.min.js +1 -1
  533. package/splitter/splitter.common.js +5 -0
  534. package/splitter/splitter.umd.js +5 -0
  535. package/splitter/splitter.umd.min.js +1 -1
  536. package/steps/Steps.d.ts +1 -0
  537. package/steps/Steps.vue +30 -8
  538. package/steps/steps.common.js +33 -6
  539. package/steps/steps.umd.js +33 -6
  540. package/steps/steps.umd.min.js +1 -1
  541. package/styleclass/StyleClass.d.ts +5 -0
  542. package/styleclass/StyleClass.js +179 -0
  543. package/styleclass/demo.html +8 -0
  544. package/styleclass/index.d.ts +1 -0
  545. package/styleclass/index.js +2 -0
  546. package/styleclass/plugin.js +4 -0
  547. package/styleclass/styleclass.common.js +3576 -0
  548. package/styleclass/styleclass.umd.js +3586 -0
  549. package/styleclass/styleclass.umd.min.js +1 -0
  550. package/tabmenu/TabMenu.d.ts +1 -0
  551. package/tabmenu/TabMenu.vue +44 -11
  552. package/tabmenu/tabmenu.common.js +171 -9
  553. package/tabmenu/tabmenu.umd.js +171 -9
  554. package/tabmenu/tabmenu.umd.min.js +1 -1
  555. package/tabpanel/tabpanel.common.js +1 -1
  556. package/tabpanel/tabpanel.umd.js +1 -1
  557. package/tabview/TabView.d.ts +1 -0
  558. package/tabview/TabView.vue +111 -11
  559. package/tabview/tabview.common.js +86 -5
  560. package/tabview/tabview.umd.js +86 -5
  561. package/tabview/tabview.umd.min.js +1 -1
  562. package/tag/tag.common.js +1 -1
  563. package/tag/tag.umd.js +1 -1
  564. package/terminal/terminal.common.js +1 -1
  565. package/terminal/terminal.umd.js +1 -1
  566. package/textarea/textarea.common.js +5 -1
  567. package/textarea/textarea.umd.js +5 -1
  568. package/textarea/textarea.umd.min.js +1 -1
  569. package/tieredmenu/TieredMenu.d.ts +1 -0
  570. package/tieredmenu/TieredMenu.vue +5 -1
  571. package/tieredmenu/TieredMenuSub.vue +30 -14
  572. package/tieredmenu/demo.html +4 -3
  573. package/tieredmenu/tieredmenu.common.js +41 -13
  574. package/tieredmenu/tieredmenu.umd.js +41 -13
  575. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  576. package/tieredmenu/tieredmenusub.common.js +31 -7
  577. package/tieredmenu/tieredmenusub.umd.js +31 -7
  578. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  579. package/timeline/timeline.common.js +5 -1
  580. package/timeline/timeline.umd.js +5 -1
  581. package/timeline/timeline.umd.min.js +1 -1
  582. package/toast/Toast.d.ts +7 -1
  583. package/toast/Toast.vue +51 -4
  584. package/toast/ToastMessage.vue +44 -10
  585. package/toast/toast.common.js +103 -14
  586. package/toast/toast.umd.js +103 -14
  587. package/toast/toast.umd.min.js +1 -1
  588. package/toast/toastmessage.common.js +44 -7
  589. package/toast/toastmessage.umd.js +44 -7
  590. package/toast/toastmessage.umd.min.js +1 -1
  591. package/togglebutton/togglebutton.common.js +6 -1
  592. package/togglebutton/togglebutton.umd.js +6 -1
  593. package/togglebutton/togglebutton.umd.min.js +1 -1
  594. package/toolbar/Toolbar.d.ts +1 -1
  595. package/toolbar/Toolbar.vue +2 -2
  596. package/toolbar/toolbar.common.js +3 -3
  597. package/toolbar/toolbar.umd.js +3 -3
  598. package/toolbar/toolbar.umd.min.js +1 -1
  599. package/tooltip/Tooltip.css +1 -0
  600. package/tooltip/Tooltip.js +59 -6
  601. package/tooltip/tooltip.common.js +1763 -70
  602. package/tooltip/tooltip.umd.js +1763 -70
  603. package/tooltip/tooltip.umd.min.js +1 -1
  604. package/tree/TreeNode.vue +5 -1
  605. package/tree/tree.common.js +23 -8
  606. package/tree/tree.umd.js +23 -8
  607. package/tree/tree.umd.min.js +1 -1
  608. package/tree/treenode.common.js +16 -3
  609. package/tree/treenode.umd.js +16 -3
  610. package/tree/treenode.umd.min.js +1 -1
  611. package/treetable/TreeTable.d.ts +2 -2
  612. package/treetable/TreeTable.vue +8 -8
  613. package/treetable/treetable.common.js +1900 -90
  614. package/treetable/treetable.umd.js +1900 -90
  615. package/treetable/treetable.umd.min.js +1 -1
  616. package/treetable/treetablerow.common.js +11 -1
  617. package/treetable/treetablerow.umd.js +11 -1
  618. package/treetable/treetablerow.umd.min.js +1 -1
  619. package/treetable/treetablerowloader.common.js +12 -1
  620. package/treetable/treetablerowloader.umd.js +12 -1
  621. package/treetable/treetablerowloader.umd.min.js +1 -1
  622. package/tristatecheckbox/tristatecheckbox.common.js +1 -1
  623. package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
  624. package/utils/DomHandler.js +5 -0
  625. package/utils/EventBus.js +33 -0
  626. package/utils/connectedoverlayscrollhandler.common.js +5 -0
  627. package/utils/connectedoverlayscrollhandler.umd.js +5 -0
  628. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  629. package/utils/domhandler.common.js +5 -0
  630. package/utils/domhandler.umd.js +5 -0
  631. package/utils/domhandler.umd.min.js +1 -1
  632. package/utils/eventbus.common.js +1774 -0
  633. package/utils/eventbus.umd.js +1784 -0
  634. package/utils/eventbus.umd.min.js +1 -0
  635. package/utils/filterutils.common.js +4 -0
  636. package/utils/filterutils.umd.js +4 -0
  637. package/utils/filterutils.umd.min.js +1 -1
  638. package/utils/objectutils.common.js +4 -0
  639. package/utils/objectutils.umd.js +4 -0
  640. package/utils/objectutils.umd.min.js +1 -1
  641. package/vetur-attributes.json +236 -16
  642. package/vetur-tags.json +88 -18
  643. package/web-types.json +2042 -1266
  644. package/confirmationservice/confirmationeventbus.common.js +0 -174
  645. package/confirmationservice/confirmationeventbus.umd.js +0 -184
  646. package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
@@ -5249,12 +5249,12 @@ if (typeof window !== 'undefined') {
5249
5249
  // Indicate to webpack that this file can be concatenated
5250
5250
  /* harmony default export */ var setPublicPath = (null);
5251
5251
 
5252
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"271bee23-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&
5253
- 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)}
5252
+ // 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&
5253
+ 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)}
5254
5254
  var staticRenderFns = []
5255
5255
 
5256
5256
 
5257
- // CONCATENATED MODULE: ./src/components/inputnumber/InputNumber.vue?vue&type=template&id=77a479e5&
5257
+ // CONCATENATED MODULE: ./src/components/inputnumber/InputNumber.vue?vue&type=template&id=4093e713&
5258
5258
 
5259
5259
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
5260
5260
  var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
@@ -5262,6 +5262,18 @@ var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
5262
5262
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
5263
5263
  var es6_object_keys = __webpack_require__("456d");
5264
5264
 
5265
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
5266
+ var es6_regexp_search = __webpack_require__("386d");
5267
+
5268
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.repeat.js
5269
+ var es6_string_repeat = __webpack_require__("14b9");
5270
+
5271
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
5272
+ var es6_regexp_to_string = __webpack_require__("6b54");
5273
+
5274
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
5275
+ var es6_regexp_split = __webpack_require__("28a5");
5276
+
5265
5277
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
5266
5278
  var define_property = __webpack_require__("85f2");
5267
5279
  var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
@@ -5282,18 +5294,6 @@ function _defineProperty(obj, key, value) {
5282
5294
 
5283
5295
  return obj;
5284
5296
  }
5285
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
5286
- var es6_regexp_search = __webpack_require__("386d");
5287
-
5288
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.repeat.js
5289
- var es6_string_repeat = __webpack_require__("14b9");
5290
-
5291
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
5292
- var es6_regexp_to_string = __webpack_require__("6b54");
5293
-
5294
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js
5295
- var es6_regexp_split = __webpack_require__("28a5");
5296
-
5297
5297
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js
5298
5298
  var es6_regexp_replace = __webpack_require__("a481");
5299
5299
 
@@ -5303,6 +5303,9 @@ var es6_regexp_constructor = __webpack_require__("3b2b");
5303
5303
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
5304
5304
  var web_dom_iterable = __webpack_require__("ac6a");
5305
5305
 
5306
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
5307
+ var es6_array_iterator = __webpack_require__("cadf");
5308
+
5306
5309
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.iterator.js
5307
5310
  var es6_string_iterator = __webpack_require__("5df3");
5308
5311
 
@@ -5374,7 +5377,7 @@ function _toConsumableArray(arr) {
5374
5377
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
5375
5378
  var es6_number_constructor = __webpack_require__("c5f6");
5376
5379
 
5377
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"271bee23-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&
5380
+ // 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&
5378
5381
  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))}
5379
5382
  var InputTextvue_type_template_id_62d12252_staticRenderFns = []
5380
5383
 
@@ -5388,6 +5391,7 @@ var InputTextvue_type_template_id_62d12252_staticRenderFns = []
5388
5391
 
5389
5392
 
5390
5393
 
5394
+
5391
5395
  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; }
5392
5396
 
5393
5397
  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; }
@@ -5537,7 +5541,7 @@ var component = normalizeComponent(
5537
5541
  )
5538
5542
 
5539
5543
  /* harmony default export */ var InputText = (component.exports);
5540
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"271bee23-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&
5544
+ // 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&
5541
5545
  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)}
5542
5546
  var Buttonvue_type_template_id_3d0cb6ac_staticRenderFns = []
5543
5547
 
@@ -6131,6 +6135,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
6131
6135
  value: function isAndroid() {
6132
6136
  return /(android)/i.test(navigator.userAgent);
6133
6137
  }
6138
+ }, {
6139
+ key: "isTouchDevice",
6140
+ value: function isTouchDevice() {
6141
+ return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
6142
+ }
6134
6143
  }]);
6135
6144
 
6136
6145
  return DomHandler;
@@ -6312,6 +6321,7 @@ var Button_component = normalizeComponent(
6312
6321
 
6313
6322
 
6314
6323
 
6324
+
6315
6325
  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; }
6316
6326
 
6317
6327
  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; }
@@ -6328,6 +6338,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6328
6338
  //
6329
6339
  //
6330
6340
  //
6341
+ //
6331
6342
 
6332
6343
 
6333
6344
  /* harmony default export */ var InputNumbervue_type_script_lang_js_ = ({
@@ -6417,6 +6428,12 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6417
6428
  type: Number,
6418
6429
  default: 1
6419
6430
  },
6431
+ allowEmpty: {
6432
+ type: Boolean,
6433
+ default: true
6434
+ },
6435
+ styles: null,
6436
+ className: null,
6420
6437
  inputStyle: null,
6421
6438
  inputClass: null
6422
6439
  },
@@ -6436,10 +6453,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6436
6453
  timer: null,
6437
6454
  data: function data() {
6438
6455
  return {
6456
+ d_value: null,
6439
6457
  focused: false
6440
6458
  };
6441
6459
  },
6442
6460
  watch: {
6461
+ value: function value(newValue) {
6462
+ this.d_value = newValue;
6463
+ },
6443
6464
  locale: function locale(newValue, oldValue) {
6444
6465
  this.updateConstructParser(newValue, oldValue);
6445
6466
  },
@@ -6497,10 +6518,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6497
6518
  return [d, i];
6498
6519
  }));
6499
6520
  this._numeral = new RegExp("[".concat(numerals.join(''), "]"), 'g');
6500
- this._decimal = this.getDecimalExpression();
6501
6521
  this._group = this.getGroupingExpression();
6502
6522
  this._minusSign = this.getMinusSignExpression();
6503
6523
  this._currency = this.getCurrencyExpression();
6524
+ this._decimal = this.getDecimalExpression();
6504
6525
  this._suffix = this.getSuffixExpression();
6505
6526
  this._prefix = this.getPrefixExpression();
6506
6527
 
@@ -6517,10 +6538,10 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6517
6538
  return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
6518
6539
  },
6519
6540
  getDecimalExpression: function getDecimalExpression() {
6520
- var formatter = new Intl.NumberFormat(this.locale, {
6541
+ var formatter = new Intl.NumberFormat(this.locale, InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.getOptions()), {}, {
6521
6542
  useGrouping: false
6522
- });
6523
- return new RegExp("[".concat(formatter.format(1.1).trim().replace(this._numeral, ''), "]"), 'g');
6543
+ }));
6544
+ return new RegExp("[".concat(formatter.format(1.1).replace(this._currency, '').trim().replace(this._numeral, ''), "]"), 'g');
6524
6545
  },
6525
6546
  getGroupingExpression: function getGroupingExpression() {
6526
6547
  var formatter = new Intl.NumberFormat(this.locale, {
@@ -6540,9 +6561,11 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6540
6561
  var formatter = new Intl.NumberFormat(this.locale, {
6541
6562
  style: 'currency',
6542
6563
  currency: this.currency,
6543
- currencyDisplay: this.currencyDisplay
6564
+ currencyDisplay: this.currencyDisplay,
6565
+ minimumFractionDigits: 0,
6566
+ maximumFractionDigits: 0
6544
6567
  });
6545
- return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._decimal, '').replace(this._group, ''), "]"), 'g');
6568
+ return new RegExp("[".concat(formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, ''), "]"), 'g');
6546
6569
  }
6547
6570
 
6548
6571
  return new RegExp("[]", 'g');
@@ -6633,6 +6656,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6633
6656
  var newValue = this.validateValue(currentValue + step);
6634
6657
  this.updateInput(newValue, null, 'spin');
6635
6658
  this.updateModel(event, newValue);
6659
+ this.handleOnInput(event, currentValue, newValue);
6636
6660
  }
6637
6661
  },
6638
6662
  onUpButtonMouseDown: function onUpButtonMouseDown(event) {
@@ -6689,7 +6713,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6689
6713
  this.repeat(event, null, -1);
6690
6714
  }
6691
6715
  },
6692
- onInput: function onInput() {
6716
+ onUserInput: function onUserInput() {
6693
6717
  if (this.isSpecialChar) {
6694
6718
  this.$refs.input.$el.value = this.lastValue;
6695
6719
  }
@@ -6757,19 +6781,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6757
6781
 
6758
6782
  if (selectionStart === selectionEnd) {
6759
6783
  var deleteChar = inputValue.charAt(selectionStart - 1);
6760
- var decimalCharIndex = inputValue.search(this._decimal);
6761
- this._decimal.lastIndex = 0;
6784
+
6785
+ var _this$getDecimalCharI = this.getDecimalCharIndexes(inputValue),
6786
+ decimalCharIndex = _this$getDecimalCharI.decimalCharIndex,
6787
+ decimalCharIndexWithoutPrefix = _this$getDecimalCharI.decimalCharIndexWithoutPrefix;
6762
6788
 
6763
6789
  if (this.isNumeralChar(deleteChar)) {
6790
+ var decimalLength = this.getDecimalLength(inputValue);
6791
+
6764
6792
  if (this._group.test(deleteChar)) {
6765
6793
  this._group.lastIndex = 0;
6766
6794
  newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
6767
6795
  } else if (this._decimal.test(deleteChar)) {
6768
6796
  this._decimal.lastIndex = 0;
6769
- this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
6797
+
6798
+ if (decimalLength) {
6799
+ this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
6800
+ } else {
6801
+ newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
6802
+ }
6770
6803
  } else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
6771
- newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
6772
- } else if (decimalCharIndex > 0 && decimalCharIndex === 1) {
6804
+ var insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
6805
+ newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
6806
+ } else if (decimalCharIndexWithoutPrefix === 1) {
6773
6807
  newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
6774
6808
  newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
6775
6809
  } else {
@@ -6793,20 +6827,29 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6793
6827
  if (selectionStart === selectionEnd) {
6794
6828
  var _deleteChar = inputValue.charAt(selectionStart);
6795
6829
 
6796
- var _decimalCharIndex = inputValue.search(this._decimal);
6797
-
6798
- this._decimal.lastIndex = 0;
6830
+ var _this$getDecimalCharI2 = this.getDecimalCharIndexes(inputValue),
6831
+ _decimalCharIndex = _this$getDecimalCharI2.decimalCharIndex,
6832
+ _decimalCharIndexWithoutPrefix = _this$getDecimalCharI2.decimalCharIndexWithoutPrefix;
6799
6833
 
6800
6834
  if (this.isNumeralChar(_deleteChar)) {
6835
+ var _decimalLength = this.getDecimalLength(inputValue);
6836
+
6801
6837
  if (this._group.test(_deleteChar)) {
6802
6838
  this._group.lastIndex = 0;
6803
6839
  newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
6804
6840
  } else if (this._decimal.test(_deleteChar)) {
6805
6841
  this._decimal.lastIndex = 0;
6806
- this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
6842
+
6843
+ if (_decimalLength) {
6844
+ this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
6845
+ } else {
6846
+ newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
6847
+ }
6807
6848
  } else if (_decimalCharIndex > 0 && selectionStart > _decimalCharIndex) {
6808
- newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
6809
- } else if (_decimalCharIndex > 0 && _decimalCharIndex === 1) {
6849
+ var _insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < _decimalLength ? '' : '0';
6850
+
6851
+ newValueStr = inputValue.slice(0, selectionStart) + _insertedText + inputValue.slice(selectionStart + 1);
6852
+ } else if (_decimalCharIndexWithoutPrefix === 1) {
6810
6853
  newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
6811
6854
  newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
6812
6855
  } else {
@@ -6856,7 +6899,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6856
6899
  return this.min === null || this.min < 0;
6857
6900
  },
6858
6901
  isMinusSign: function isMinusSign(char) {
6859
- if (this._minusSign.test(char)) {
6902
+ if (this._minusSign.test(char) || char === '-') {
6860
6903
  this._minusSign.lastIndex = 0;
6861
6904
  return true;
6862
6905
  }
@@ -6871,6 +6914,36 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6871
6914
 
6872
6915
  return false;
6873
6916
  },
6917
+ isDecimalMode: function isDecimalMode() {
6918
+ return this.mode === 'decimal';
6919
+ },
6920
+ getDecimalCharIndexes: function getDecimalCharIndexes(val) {
6921
+ var decimalCharIndex = val.search(this._decimal);
6922
+ this._decimal.lastIndex = 0;
6923
+ var filteredVal = val.replace(this._prefix, '').trim().replace(/\s/g, '').replace(this._currency, '');
6924
+ var decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
6925
+ this._decimal.lastIndex = 0;
6926
+ return {
6927
+ decimalCharIndex: decimalCharIndex,
6928
+ decimalCharIndexWithoutPrefix: decimalCharIndexWithoutPrefix
6929
+ };
6930
+ },
6931
+ getCharIndexes: function getCharIndexes(val) {
6932
+ var decimalCharIndex = val.search(this._decimal);
6933
+ this._decimal.lastIndex = 0;
6934
+ var minusCharIndex = val.search(this._minusSign);
6935
+ this._minusSign.lastIndex = 0;
6936
+ var suffixCharIndex = val.search(this._suffix);
6937
+ this._suffix.lastIndex = 0;
6938
+ var currencyCharIndex = val.search(this._currency);
6939
+ this._currency.lastIndex = 0;
6940
+ return {
6941
+ decimalCharIndex: decimalCharIndex,
6942
+ minusCharIndex: minusCharIndex,
6943
+ suffixCharIndex: suffixCharIndex,
6944
+ currencyCharIndex: currencyCharIndex
6945
+ };
6946
+ },
6874
6947
  insert: function insert(event, text) {
6875
6948
  var sign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
6876
6949
  isDecimalSign: false,
@@ -6886,10 +6959,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6886
6959
  var selectionStart = this.$refs.input.$el.selectionStart;
6887
6960
  var selectionEnd = this.$refs.input.$el.selectionEnd;
6888
6961
  var inputValue = this.$refs.input.$el.value.trim();
6889
- var decimalCharIndex = inputValue.search(this._decimal);
6890
- this._decimal.lastIndex = 0;
6891
- var minusCharIndex = inputValue.search(this._minusSign);
6892
- this._minusSign.lastIndex = 0;
6962
+
6963
+ var _this$getCharIndexes = this.getCharIndexes(inputValue),
6964
+ decimalCharIndex = _this$getCharIndexes.decimalCharIndex,
6965
+ minusCharIndex = _this$getCharIndexes.minusCharIndex,
6966
+ suffixCharIndex = _this$getCharIndexes.suffixCharIndex,
6967
+ currencyCharIndex = _this$getCharIndexes.currencyCharIndex;
6968
+
6893
6969
  var newValueStr;
6894
6970
 
6895
6971
  if (sign.isMinusSign) {
@@ -6908,6 +6984,9 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6908
6984
  } else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
6909
6985
  newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
6910
6986
  this.updateValue(event, newValueStr, text, 'insert');
6987
+ } else if (decimalCharIndex === -1 && this.maxFractionDigits) {
6988
+ newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
6989
+ this.updateValue(event, newValueStr, text, 'insert');
6911
6990
  }
6912
6991
  } else {
6913
6992
  var maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
@@ -6915,7 +6994,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6915
6994
 
6916
6995
  if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
6917
6996
  if (selectionStart + text.length - (decimalCharIndex + 1) <= maxFractionDigits) {
6918
- newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length);
6997
+ var charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length;
6998
+ newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
6919
6999
  this.updateValue(event, newValueStr, text, operation);
6920
7000
  }
6921
7001
  } else {
@@ -6925,7 +7005,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6925
7005
  }
6926
7006
  },
6927
7007
  insertText: function insertText(value, text, start, end) {
6928
- var textSplit = text.split('.');
7008
+ var textSplit = text === '.' ? text : text.split('.');
6929
7009
 
6930
7010
  if (textSplit.length === 2) {
6931
7011
  var decimalCharIndex = value.slice(start, end).search(this._decimal);
@@ -6950,11 +7030,15 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6950
7030
  var selectionStart = this.$refs.input.$el.selectionStart;
6951
7031
  var inputValue = this.$refs.input.$el.value;
6952
7032
  var valueLength = inputValue.length;
6953
- var index = null;
7033
+ var index = null; // remove prefix
7034
+
7035
+ var prefixLength = (this.prefixChar || '').length;
7036
+ inputValue = inputValue.replace(this._prefix, '');
7037
+ selectionStart = selectionStart - prefixLength;
6954
7038
  var char = inputValue.charAt(selectionStart);
6955
7039
 
6956
7040
  if (this.isNumeralChar(char)) {
6957
- return;
7041
+ return selectionStart + prefixLength;
6958
7042
  } //left
6959
7043
 
6960
7044
 
@@ -6964,7 +7048,7 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6964
7048
  char = inputValue.charAt(i);
6965
7049
 
6966
7050
  if (this.isNumeralChar(char)) {
6967
- index = i;
7051
+ index = i + prefixLength;
6968
7052
  break;
6969
7053
  } else {
6970
7054
  i--;
@@ -6974,13 +7058,13 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6974
7058
  if (index !== null) {
6975
7059
  this.$refs.input.$el.setSelectionRange(index + 1, index + 1);
6976
7060
  } else {
6977
- i = selectionStart + 1;
7061
+ i = selectionStart;
6978
7062
 
6979
7063
  while (i < valueLength) {
6980
7064
  char = inputValue.charAt(i);
6981
7065
 
6982
7066
  if (this.isNumeralChar(char)) {
6983
- index = i;
7067
+ index = i + prefixLength;
6984
7068
  break;
6985
7069
  } else {
6986
7070
  i++;
@@ -6991,6 +7075,8 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
6991
7075
  this.$refs.input.$el.setSelectionRange(index, index);
6992
7076
  }
6993
7077
  }
7078
+
7079
+ return index || 0;
6994
7080
  },
6995
7081
  onInputClick: function onInputClick() {
6996
7082
  this.initCursor();
@@ -7010,12 +7096,38 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7010
7096
  this._minusSign.lastIndex = 0;
7011
7097
  },
7012
7098
  updateValue: function updateValue(event, valueStr, insertedValueStr, operation) {
7099
+ var currentValue = this.$refs.input.$el.value;
7100
+ var newValue = null;
7101
+
7013
7102
  if (valueStr != null) {
7014
- var newValue = this.parseValue(valueStr);
7015
- this.updateInput(newValue, insertedValueStr, operation);
7103
+ newValue = this.parseValue(valueStr);
7104
+ newValue = !newValue && !this.allowEmpty ? 0 : newValue;
7105
+ this.updateInput(newValue, insertedValueStr, operation, valueStr);
7106
+ this.handleOnInput(event, currentValue, newValue);
7107
+ }
7108
+ },
7109
+ handleOnInput: function handleOnInput(event, currentValue, newValue) {
7110
+ if (this.isValueChanged(currentValue, newValue)) {
7111
+ this.$emit('input', newValue);
7112
+ }
7113
+ },
7114
+ isValueChanged: function isValueChanged(currentValue, newValue) {
7115
+ if (newValue === null && currentValue !== null) {
7116
+ return true;
7117
+ }
7118
+
7119
+ if (newValue != null) {
7120
+ var parsedCurrentValue = typeof currentValue === 'string' ? this.parseValue(currentValue) : currentValue;
7121
+ return newValue !== parsedCurrentValue;
7016
7122
  }
7123
+
7124
+ return false;
7017
7125
  },
7018
7126
  validateValue: function validateValue(value) {
7127
+ if (value === '-' || value == null) {
7128
+ return null;
7129
+ }
7130
+
7019
7131
  if (this.min != null && value < this.min) {
7020
7132
  return this.min;
7021
7133
  }
@@ -7024,25 +7136,23 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7024
7136
  return this.max;
7025
7137
  }
7026
7138
 
7027
- if (value === '-') {
7028
- // Minus sign
7029
- return null;
7030
- }
7031
-
7032
7139
  return value;
7033
7140
  },
7034
- updateInput: function updateInput(value, insertedValueStr, operation) {
7141
+ updateInput: function updateInput(value, insertedValueStr, operation, valueStr) {
7035
7142
  insertedValueStr = insertedValueStr || '';
7036
7143
  var inputValue = this.$refs.input.$el.value;
7037
7144
  var newValue = this.formatValue(value);
7038
7145
  var currentLength = inputValue.length;
7039
7146
 
7147
+ if (newValue !== valueStr) {
7148
+ newValue = this.concatValues(newValue, valueStr);
7149
+ }
7150
+
7040
7151
  if (currentLength === 0) {
7041
7152
  this.$refs.input.$el.value = newValue;
7042
7153
  this.$refs.input.$el.setSelectionRange(0, 0);
7043
- this.initCursor();
7044
- var prefixLength = (this.prefixChar || '').length;
7045
- var selectionEnd = prefixLength + insertedValueStr.length;
7154
+ var index = this.initCursor();
7155
+ var selectionEnd = index + insertedValueStr.length;
7046
7156
  this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
7047
7157
  } else {
7048
7158
  var selectionStart = this.$refs.input.$el.selectionStart;
@@ -7078,6 +7188,14 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7078
7188
 
7079
7189
  this._group.lastIndex = 0;
7080
7190
  this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
7191
+ } else if (inputValue === '-' && operation === 'insert') {
7192
+ this.$refs.input.$el.setSelectionRange(0, 0);
7193
+
7194
+ var _index = this.initCursor();
7195
+
7196
+ var _selectionEnd2 = _index + insertedValueStr.length + 1;
7197
+
7198
+ this.$refs.input.$el.setSelectionRange(_selectionEnd2, _selectionEnd2);
7081
7199
  } else {
7082
7200
  _selectionEnd = _selectionEnd + (newLength - currentLength);
7083
7201
  this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
@@ -7086,12 +7204,32 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7086
7204
 
7087
7205
  this.$refs.input.$el.setAttribute('aria-valuenow', value);
7088
7206
  },
7207
+ concatValues: function concatValues(val1, val2) {
7208
+ if (val1 && val2) {
7209
+ var decimalCharIndex = val2.search(this._decimal);
7210
+ this._decimal.lastIndex = 0;
7211
+ return decimalCharIndex !== -1 ? val1.split(this._decimal)[0] + val2.slice(decimalCharIndex) : val1;
7212
+ }
7213
+
7214
+ return val1;
7215
+ },
7216
+ getDecimalLength: function getDecimalLength(value) {
7217
+ if (value) {
7218
+ var valueSplit = value.split(this._decimal);
7219
+
7220
+ if (valueSplit.length === 2) {
7221
+ return valueSplit[1].replace(this._suffix, '').trim().replace(/\s/g, '').replace(this._currency, '').length;
7222
+ }
7223
+ }
7224
+
7225
+ return 0;
7226
+ },
7089
7227
  updateModel: function updateModel(event, value) {
7228
+ this.d_value = value;
7090
7229
  this.$emit('input', value);
7091
7230
  },
7092
- onInputFocus: function onInputFocus(event) {
7231
+ onInputFocus: function onInputFocus() {
7093
7232
  this.focused = true;
7094
- this.$emit('focus', event);
7095
7233
  },
7096
7234
  onInputBlur: function onInputBlur(event) {
7097
7235
  this.focused = false;
@@ -7100,17 +7238,22 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7100
7238
  input.value = this.formatValue(newValue);
7101
7239
  input.setAttribute('aria-valuenow', newValue);
7102
7240
  this.updateModel(event, newValue);
7103
- this.$emit('blur', event);
7104
7241
  },
7105
7242
  clearTimer: function clearTimer() {
7106
7243
  if (this.timer) {
7107
7244
  clearInterval(this.timer);
7108
7245
  }
7246
+ },
7247
+ maxBoundry: function maxBoundry() {
7248
+ return this.d_value >= this.max;
7249
+ },
7250
+ minBoundry: function minBoundry() {
7251
+ return this.d_value <= this.min;
7109
7252
  }
7110
7253
  },
7111
7254
  computed: {
7112
7255
  containerClass: function containerClass() {
7113
- return ['p-inputnumber p-component', {
7256
+ return ['p-inputnumber p-component p-inputwrapper', this.className, {
7114
7257
  'p-inputwrapper-filled': this.filled,
7115
7258
  'p-inputwrapper-focus': this.focused,
7116
7259
  'p-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',
@@ -7119,85 +7262,66 @@ function InputNumbervue_type_script_lang_js_objectSpread(target) { for (var i =
7119
7262
  }];
7120
7263
  },
7121
7264
  upButtonClass: function upButtonClass() {
7122
- return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass];
7265
+ return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass, {
7266
+ 'p-disabled': this.showButtons && this.max !== null && this.maxBoundry()
7267
+ }];
7123
7268
  },
7124
7269
  downButtonClass: function downButtonClass() {
7125
- return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass];
7270
+ return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass, {
7271
+ 'p-disabled': this.showButtons && this.min !== null && this.minBoundry()
7272
+ }];
7126
7273
  },
7127
7274
  filled: function filled() {
7128
7275
  return this.value != null && this.value.toString().length > 0;
7129
7276
  },
7130
- listeners: function listeners() {
7131
- var _this2 = this;
7132
-
7133
- return InputNumbervue_type_script_lang_js_objectSpread(InputNumbervue_type_script_lang_js_objectSpread({}, this.$listeners), {}, {
7134
- input: function input(val) {
7135
- return _this2.onInput(val);
7136
- },
7137
- keydown: function keydown(event) {
7138
- return _this2.onInputKeyDown(event);
7139
- },
7140
- keypress: function keypress(event) {
7141
- return _this2.onInputKeyPress(event);
7142
- },
7143
- paste: function paste(event) {
7144
- return _this2.onPaste(event);
7145
- },
7146
- click: function click(event) {
7147
- return _this2.onInputClick(event);
7148
- },
7149
- focus: function focus(event) {
7150
- return _this2.onInputFocus(event);
7151
- },
7152
- blur: function blur(event) {
7153
- return _this2.onInputBlur(event);
7154
- }
7155
- });
7156
- },
7157
7277
  upButtonListeners: function upButtonListeners() {
7158
- var _this3 = this;
7278
+ var _this2 = this;
7159
7279
 
7160
7280
  return {
7161
7281
  mousedown: function mousedown(event) {
7162
- return _this3.onUpButtonMouseDown(event);
7282
+ return _this2.onUpButtonMouseDown(event);
7163
7283
  },
7164
7284
  mouseup: function mouseup(event) {
7165
- return _this3.onUpButtonMouseUp(event);
7285
+ return _this2.onUpButtonMouseUp(event);
7166
7286
  },
7167
7287
  mouseleave: function mouseleave(event) {
7168
- return _this3.onUpButtonMouseLeave(event);
7288
+ return _this2.onUpButtonMouseLeave(event);
7169
7289
  },
7170
7290
  keydown: function keydown(event) {
7171
- return _this3.onUpButtonKeyDown(event);
7291
+ return _this2.onUpButtonKeyDown(event);
7172
7292
  },
7173
7293
  keyup: function keyup(event) {
7174
- return _this3.onUpButtonKeyUp(event);
7294
+ return _this2.onUpButtonKeyUp(event);
7175
7295
  }
7176
7296
  };
7177
7297
  },
7178
7298
  downButtonListeners: function downButtonListeners() {
7179
- var _this4 = this;
7299
+ var _this3 = this;
7180
7300
 
7181
7301
  return {
7182
7302
  mousedown: function mousedown(event) {
7183
- return _this4.onDownButtonMouseDown(event);
7303
+ return _this3.onDownButtonMouseDown(event);
7184
7304
  },
7185
7305
  mouseup: function mouseup(event) {
7186
- return _this4.onDownButtonMouseUp(event);
7306
+ return _this3.onDownButtonMouseUp(event);
7187
7307
  },
7188
7308
  mouseleave: function mouseleave(event) {
7189
- return _this4.onDownButtonMouseLeave(event);
7309
+ return _this3.onDownButtonMouseLeave(event);
7190
7310
  },
7191
7311
  keydown: function keydown(event) {
7192
- return _this4.onDownButtonKeyDown(event);
7312
+ return _this3.onDownButtonKeyDown(event);
7193
7313
  },
7194
7314
  keyup: function keyup(event) {
7195
- return _this4.onDownButtonKeyUp(event);
7315
+ return _this3.onDownButtonKeyUp(event);
7196
7316
  }
7197
7317
  };
7198
7318
  },
7199
7319
  formattedValue: function formattedValue() {
7200
- return this.formatValue(this.value);
7320
+ var val = !this.value && !this.allowEmpty ? 0 : this.value;
7321
+ return this.formatValue(val);
7322
+ },
7323
+ getFormatter: function getFormatter() {
7324
+ return this.numberFormat;
7201
7325
  }
7202
7326
  },
7203
7327
  components: {