primevue 2.5.1 → 2.9.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 (710) 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 +4893 -0
  14. package/api/api.umd.js +4903 -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 -106
  24. package/{utils/filterutils.umd.js → api/filterservice.umd.js} +209 -108
  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 +64 -23
  37. package/autocomplete/autocomplete.umd.js +64 -23
  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 +342 -70
  66. package/calendar/calendar.common.js +403 -73
  67. package/calendar/calendar.umd.js +403 -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 -17
  78. package/cascadeselect/cascadeselect.umd.js +53 -17
  79. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  80. package/cascadeselect/cascadeselectsub.common.js +48 -14
  81. package/cascadeselect/cascadeselectsub.umd.js +48 -14
  82. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  83. package/cascadeselect/demo.html +4 -3
  84. package/chart/Chart.vue +27 -11
  85. package/chart/chart.common.js +30 -12
  86. package/chart/chart.umd.js +30 -12
  87. package/chart/chart.umd.min.js +1 -1
  88. package/checkbox/Checkbox.css +1 -0
  89. package/checkbox/Checkbox.d.ts +2 -0
  90. package/checkbox/Checkbox.vue +11 -3
  91. package/checkbox/checkbox.common.js +38 -18
  92. package/checkbox/checkbox.umd.js +38 -18
  93. package/checkbox/checkbox.umd.min.js +1 -1
  94. package/chip/chip.common.js +1 -1
  95. package/chip/chip.umd.js +1 -1
  96. package/chips/chips.common.js +1 -1
  97. package/chips/chips.umd.js +1 -1
  98. package/colorpicker/colorpicker.common.js +28 -1
  99. package/colorpicker/colorpicker.umd.js +28 -1
  100. package/colorpicker/colorpicker.umd.min.js +1 -1
  101. package/column/Column.vue +72 -12
  102. package/column/column.common.js +71 -11
  103. package/column/column.umd.js +71 -11
  104. package/column/column.umd.min.js +1 -1
  105. package/columngroup/columngroup.common.js +1 -1
  106. package/columngroup/columngroup.umd.js +1 -1
  107. package/common/Common.css +13 -4
  108. package/config/PrimeVue.d.ts +24 -2
  109. package/config/PrimeVue.js +34 -4
  110. package/config/primevue.common.js +3589 -130
  111. package/config/primevue.umd.js +3589 -130
  112. package/config/primevue.umd.min.js +1 -1
  113. package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
  114. package/confirmationeventbus/confirmationeventbus.common.js +1777 -0
  115. package/confirmationeventbus/confirmationeventbus.umd.js +1787 -0
  116. package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
  117. package/confirmationeventbus/demo.html +8 -0
  118. package/confirmationeventbus/index.d.ts +1 -0
  119. package/confirmationeventbus/index.js +2 -0
  120. package/confirmationservice/ConfirmationService.js +1 -1
  121. package/confirmationservice/confirmationservice.common.js +1609 -6
  122. package/confirmationservice/confirmationservice.umd.js +1609 -6
  123. package/confirmationservice/confirmationservice.umd.min.js +1 -1
  124. package/confirmdialog/ConfirmDialog.vue +9 -3
  125. package/confirmdialog/confirmdialog.common.js +465 -46
  126. package/confirmdialog/confirmdialog.umd.js +465 -46
  127. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  128. package/confirmpopup/ConfirmPopup.d.ts +4 -1
  129. package/confirmpopup/ConfirmPopup.vue +9 -6
  130. package/confirmpopup/confirmpopup.common.js +535 -13
  131. package/confirmpopup/confirmpopup.umd.js +535 -13
  132. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  133. package/contextmenu/ContextMenu.d.ts +1 -0
  134. package/contextmenu/ContextMenu.vue +5 -1
  135. package/contextmenu/ContextMenuSub.vue +33 -13
  136. package/contextmenu/contextmenu.common.js +68 -14
  137. package/contextmenu/contextmenu.umd.js +68 -14
  138. package/contextmenu/contextmenu.umd.min.js +1 -1
  139. package/contextmenu/contextmenusub.common.js +58 -8
  140. package/contextmenu/contextmenusub.umd.js +58 -8
  141. package/contextmenu/contextmenusub.umd.min.js +1 -1
  142. package/datatable/BodyCell.vue +118 -34
  143. package/datatable/ColumnFilter.vue +558 -0
  144. package/datatable/ColumnSlot.vue +21 -1
  145. package/datatable/DataTable.d.ts +43 -15
  146. package/datatable/DataTable.vue +606 -398
  147. package/datatable/FooterCell.vue +82 -0
  148. package/datatable/HeaderCell.vue +246 -0
  149. package/datatable/HeaderCheckbox.vue +7 -4
  150. package/datatable/RowCheckbox.vue +2 -2
  151. package/datatable/RowRadioButton.vue +1 -1
  152. package/datatable/TableBody.vue +92 -23
  153. package/datatable/TableFooter.vue +34 -18
  154. package/datatable/TableHeader.vue +79 -134
  155. package/datatable/bodycell.common.js +592 -65
  156. package/datatable/bodycell.umd.js +592 -65
  157. package/datatable/bodycell.umd.min.js +1 -1
  158. package/datatable/columnfilter.common.js +7615 -0
  159. package/datatable/columnfilter.umd.js +7625 -0
  160. package/datatable/columnfilter.umd.min.js +1 -0
  161. package/datatable/columnslot.common.js +21 -1
  162. package/datatable/columnslot.umd.js +21 -1
  163. package/datatable/columnslot.umd.min.js +1 -1
  164. package/datatable/datatable.common.js +4384 -1399
  165. package/datatable/datatable.umd.js +4384 -1399
  166. package/datatable/datatable.umd.min.js +1 -1
  167. package/datatable/demo.html +3 -3
  168. package/datatable/footercell.common.js +5457 -0
  169. package/datatable/footercell.umd.js +5467 -0
  170. package/datatable/footercell.umd.min.js +1 -0
  171. package/datatable/headercell.common.js +8066 -0
  172. package/datatable/headercell.umd.js +8076 -0
  173. package/datatable/headercell.umd.min.js +1 -0
  174. package/datatable/headercheckbox.common.js +8 -5
  175. package/datatable/headercheckbox.umd.js +8 -5
  176. package/datatable/headercheckbox.umd.min.js +1 -1
  177. package/datatable/rowcheckbox.common.js +3 -3
  178. package/datatable/rowcheckbox.umd.js +3 -3
  179. package/datatable/rowcheckbox.umd.min.js +1 -1
  180. package/datatable/rowradiobutton.common.js +3 -3
  181. package/datatable/rowradiobutton.umd.js +3 -3
  182. package/datatable/rowradiobutton.umd.min.js +1 -1
  183. package/datatable/tablebody.common.js +1041 -443
  184. package/datatable/tablebody.umd.js +1041 -443
  185. package/datatable/tablebody.umd.min.js +1 -1
  186. package/datatable/tablefooter.common.js +3789 -105
  187. package/datatable/tablefooter.umd.js +3789 -105
  188. package/datatable/tablefooter.umd.min.js +1 -1
  189. package/datatable/tableheader.common.js +6635 -2132
  190. package/datatable/tableheader.umd.js +6635 -2132
  191. package/datatable/tableheader.umd.min.js +1 -1
  192. package/datatable/tableloadingbody.common.js +22 -2
  193. package/datatable/tableloadingbody.umd.js +22 -2
  194. package/datatable/tableloadingbody.umd.min.js +1 -1
  195. package/dataview/DataView.d.ts +2 -2
  196. package/dataview/DataView.vue +8 -8
  197. package/dataview/dataview.common.js +1974 -79
  198. package/dataview/dataview.umd.js +1974 -79
  199. package/dataview/dataview.umd.min.js +1 -1
  200. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
  201. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
  202. package/deferredcontent/deferredcontent.common.js +1 -1
  203. package/deferredcontent/deferredcontent.umd.js +1 -1
  204. package/dialog/Dialog.d.ts +1 -0
  205. package/dialog/Dialog.vue +41 -24
  206. package/dialog/dialog.common.js +68 -27
  207. package/dialog/dialog.umd.js +68 -27
  208. package/dialog/dialog.umd.min.js +1 -1
  209. package/divider/divider.common.js +1 -1
  210. package/divider/divider.umd.js +1 -1
  211. package/dock/Dock.d.ts +2 -0
  212. package/dock/Dock.vue +12 -2
  213. package/dock/DockSub.vue +45 -21
  214. package/dock/dock.common.js +44 -15
  215. package/dock/dock.umd.js +44 -15
  216. package/dock/dock.umd.min.js +1 -1
  217. package/dock/docksub.common.js +31 -7
  218. package/dock/docksub.umd.js +31 -7
  219. package/dock/docksub.umd.min.js +1 -1
  220. package/dropdown/Dropdown.d.ts +5 -3
  221. package/dropdown/Dropdown.vue +34 -6
  222. package/dropdown/dropdown.common.js +84 -21
  223. package/dropdown/dropdown.umd.js +84 -21
  224. package/dropdown/dropdown.umd.min.js +1 -1
  225. package/editor/editor.common.js +1 -1
  226. package/editor/editor.umd.js +1 -1
  227. package/fieldset/fieldset.common.js +28 -1
  228. package/fieldset/fieldset.umd.js +28 -1
  229. package/fieldset/fieldset.umd.min.js +1 -1
  230. package/fileupload/FileUpload.vue +5 -2
  231. package/fileupload/fileupload.common.js +55 -19
  232. package/fileupload/fileupload.umd.js +55 -19
  233. package/fileupload/fileupload.umd.min.js +1 -1
  234. package/fullcalendar/fullcalendar.common.js +342 -136
  235. package/fullcalendar/fullcalendar.umd.js +342 -136
  236. package/fullcalendar/fullcalendar.umd.min.js +4 -4
  237. package/galleria/Galleria.vue +3 -8
  238. package/galleria/GalleriaContent.vue +9 -0
  239. package/galleria/galleria.common.js +49 -17
  240. package/galleria/galleria.umd.js +49 -17
  241. package/galleria/galleria.umd.min.js +1 -1
  242. package/galleria/galleriacontent.common.js +40 -4
  243. package/galleria/galleriacontent.umd.js +40 -4
  244. package/galleria/galleriacontent.umd.min.js +1 -1
  245. package/galleria/galleriaitem.common.js +28 -1
  246. package/galleria/galleriaitem.umd.js +28 -1
  247. package/galleria/galleriaitem.umd.min.js +1 -1
  248. package/galleria/galleriathumbnails.common.js +28 -1
  249. package/galleria/galleriathumbnails.umd.js +28 -1
  250. package/galleria/galleriathumbnails.umd.min.js +1 -1
  251. package/imagepreview/ImagePreview.d.ts +10 -0
  252. package/imagepreview/ImagePreview.vue +205 -0
  253. package/imagepreview/demo.html +17 -0
  254. package/{datatable/scrollableview.common.js → imagepreview/imagepreview.common.js} +570 -463
  255. package/{datatable/scrollableview.umd.js → imagepreview/imagepreview.umd.js} +572 -465
  256. package/imagepreview/imagepreview.umd.min.js +1 -0
  257. package/imagepreview/index.d.ts +1 -0
  258. package/imagepreview/index.js +2 -0
  259. package/imagepreview/plugin.js +4 -0
  260. package/inlinemessage/inlinemessage.common.js +1 -1
  261. package/inlinemessage/inlinemessage.umd.js +1 -1
  262. package/inplace/inplace.common.js +29 -2
  263. package/inplace/inplace.umd.js +29 -2
  264. package/inplace/inplace.umd.min.js +1 -1
  265. package/inputmask/InputMask.vue +7 -5
  266. package/inputmask/inputmask.common.js +39 -12
  267. package/inputmask/inputmask.umd.js +39 -12
  268. package/inputmask/inputmask.umd.min.js +1 -1
  269. package/inputnumber/InputNumber.vue +183 -62
  270. package/inputnumber/inputnumber.common.js +249 -113
  271. package/inputnumber/inputnumber.umd.js +249 -113
  272. package/inputnumber/inputnumber.umd.min.js +1 -1
  273. package/inputswitch/InputSwitch.d.ts +2 -0
  274. package/inputswitch/InputSwitch.vue +15 -3
  275. package/inputswitch/inputswitch.common.js +17 -5
  276. package/inputswitch/inputswitch.umd.js +17 -5
  277. package/inputswitch/inputswitch.umd.min.js +1 -1
  278. package/inputtext/inputtext.common.js +3 -7
  279. package/inputtext/inputtext.umd.js +3 -7
  280. package/inputtext/inputtext.umd.min.js +1 -1
  281. package/knob/knob.common.js +1 -1
  282. package/knob/knob.umd.js +1 -1
  283. package/listbox/Listbox.d.ts +3 -3
  284. package/listbox/listbox.common.js +48 -14
  285. package/listbox/listbox.umd.js +48 -14
  286. package/listbox/listbox.umd.min.js +1 -1
  287. package/megamenu/MegaMenu.d.ts +6 -1
  288. package/megamenu/MegaMenu.vue +51 -22
  289. package/megamenu/megamenu.common.js +74 -10
  290. package/megamenu/megamenu.umd.js +74 -10
  291. package/megamenu/megamenu.umd.min.js +1 -1
  292. package/menu/Menu.d.ts +1 -0
  293. package/menu/Menu.vue +11 -4
  294. package/menu/Menuitem.vue +25 -11
  295. package/menu/menu.common.js +68 -17
  296. package/menu/menu.umd.js +68 -17
  297. package/menu/menu.umd.min.js +1 -1
  298. package/menu/menuitem.common.js +55 -11
  299. package/menu/menuitem.umd.js +55 -11
  300. package/menu/menuitem.umd.min.js +1 -1
  301. package/menubar/Menubar.d.ts +1 -0
  302. package/menubar/Menubar.vue +5 -1
  303. package/menubar/MenubarSub.vue +34 -14
  304. package/menubar/demo.html +3 -4
  305. package/menubar/menubar.common.js +68 -14
  306. package/menubar/menubar.umd.js +68 -14
  307. package/menubar/menubar.umd.min.js +1 -1
  308. package/menubar/menubarsub.common.js +58 -8
  309. package/menubar/menubarsub.umd.js +58 -8
  310. package/menubar/menubarsub.umd.min.js +1 -1
  311. package/message/Message.d.ts +1 -0
  312. package/message/Message.vue +5 -1
  313. package/message/message.common.js +34 -3
  314. package/message/message.umd.js +34 -3
  315. package/message/message.umd.min.js +1 -1
  316. package/multiselect/MultiSelect.d.ts +4 -3
  317. package/multiselect/MultiSelect.vue +8 -1
  318. package/multiselect/multiselect.common.js +58 -18
  319. package/multiselect/multiselect.umd.js +58 -18
  320. package/multiselect/multiselect.umd.min.js +1 -1
  321. package/orderlist/OrderList.d.ts +2 -0
  322. package/orderlist/OrderList.vue +2 -0
  323. package/orderlist/orderlist.common.js +53 -17
  324. package/orderlist/orderlist.umd.js +53 -17
  325. package/orderlist/orderlist.umd.min.js +1 -1
  326. package/organizationchart/organizationchart.common.js +31 -8
  327. package/organizationchart/organizationchart.umd.js +31 -8
  328. package/organizationchart/organizationchart.umd.min.js +1 -1
  329. package/organizationchart/organizationchartnode.common.js +28 -1
  330. package/organizationchart/organizationchartnode.umd.js +28 -1
  331. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  332. package/overlayeventbus/OverlayEventBus.js +14 -0
  333. package/overlayeventbus/demo.html +8 -0
  334. package/overlayeventbus/index.d.ts +1 -0
  335. package/overlayeventbus/index.js +2 -0
  336. package/overlayeventbus/overlayeventbus.common.js +1777 -0
  337. package/overlayeventbus/overlayeventbus.umd.js +1787 -0
  338. package/overlayeventbus/overlayeventbus.umd.min.js +1 -0
  339. package/overlaypanel/overlaypanel.common.js +28 -1
  340. package/overlaypanel/overlaypanel.umd.js +28 -1
  341. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  342. package/package.json +5 -1
  343. package/paginator/CurrentPageReport.vue +6 -2
  344. package/paginator/JumpToPageDropdown.vue +33 -0
  345. package/paginator/JumpToPageInput.vue +25 -0
  346. package/paginator/Paginator.d.ts +2 -2
  347. package/paginator/Paginator.vue +24 -11
  348. package/paginator/RowsPerPageDropdown.vue +3 -2
  349. package/paginator/currentpagereport.common.js +7 -3
  350. package/paginator/currentpagereport.umd.js +7 -3
  351. package/paginator/currentpagereport.umd.min.js +1 -1
  352. package/paginator/demo.html +3 -3
  353. package/paginator/firstpagelink.common.js +28 -1
  354. package/paginator/firstpagelink.umd.js +28 -1
  355. package/paginator/firstpagelink.umd.min.js +1 -1
  356. package/paginator/jumptopagedropdown.common.js +6505 -0
  357. package/paginator/jumptopagedropdown.umd.js +6515 -0
  358. package/paginator/jumptopagedropdown.umd.min.js +1 -0
  359. package/paginator/jumptopageinput.common.js +7438 -0
  360. package/paginator/jumptopageinput.umd.js +7448 -0
  361. package/paginator/jumptopageinput.umd.min.js +1 -0
  362. package/paginator/lastpagelink.common.js +28 -1
  363. package/paginator/lastpagelink.umd.js +28 -1
  364. package/paginator/lastpagelink.umd.min.js +1 -1
  365. package/paginator/nextpagelink.common.js +28 -1
  366. package/paginator/nextpagelink.umd.js +28 -1
  367. package/paginator/nextpagelink.umd.min.js +1 -1
  368. package/paginator/pagelinks.common.js +28 -1
  369. package/paginator/pagelinks.umd.js +28 -1
  370. package/paginator/pagelinks.umd.min.js +1 -1
  371. package/paginator/paginator.common.js +2280 -118
  372. package/paginator/paginator.umd.js +2280 -118
  373. package/paginator/paginator.umd.min.js +1 -1
  374. package/paginator/prevpagelink.common.js +28 -1
  375. package/paginator/prevpagelink.umd.js +28 -1
  376. package/paginator/prevpagelink.umd.min.js +1 -1
  377. package/paginator/rowsperpagedropdown.common.js +92 -28
  378. package/paginator/rowsperpagedropdown.umd.js +92 -28
  379. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  380. package/panel/Panel.d.ts +1 -0
  381. package/panel/Panel.vue +1 -1
  382. package/panel/panel.common.js +29 -2
  383. package/panel/panel.umd.js +29 -2
  384. package/panel/panel.umd.min.js +1 -1
  385. package/panelmenu/PanelMenu.d.ts +1 -0
  386. package/panelmenu/PanelMenu.vue +32 -6
  387. package/panelmenu/PanelMenuSub.vue +32 -13
  388. package/panelmenu/panelmenu.common.js +69 -16
  389. package/panelmenu/panelmenu.umd.js +69 -16
  390. package/panelmenu/panelmenu.umd.min.js +1 -1
  391. package/panelmenu/panelmenusub.common.js +29 -7
  392. package/panelmenu/panelmenusub.umd.js +29 -7
  393. package/panelmenu/panelmenusub.umd.min.js +1 -1
  394. package/password/password.common.js +31 -8
  395. package/password/password.umd.js +31 -8
  396. package/password/password.umd.min.js +1 -1
  397. package/picklist/PickList.d.ts +8 -0
  398. package/picklist/PickList.vue +10 -4
  399. package/picklist/picklist.common.js +57 -17
  400. package/picklist/picklist.umd.js +57 -17
  401. package/picklist/picklist.umd.min.js +1 -1
  402. package/progressbar/ProgressBar.vue +18 -14
  403. package/progressbar/progressbar.common.js +7 -5
  404. package/progressbar/progressbar.umd.js +7 -5
  405. package/progressbar/progressbar.umd.min.js +1 -1
  406. package/progressspinner/progressspinner.common.js +1 -1
  407. package/progressspinner/progressspinner.umd.js +1 -1
  408. package/radiobutton/radiobutton.common.js +26 -14
  409. package/radiobutton/radiobutton.umd.js +26 -14
  410. package/radiobutton/radiobutton.umd.min.js +1 -1
  411. package/rating/Rating.vue +1 -1
  412. package/rating/rating.common.js +3 -3
  413. package/rating/rating.umd.js +3 -3
  414. package/rating/rating.umd.min.js +1 -1
  415. package/resources/primevue.css +15 -4
  416. package/resources/primevue.min.css +1 -1
  417. package/resources/themes/arya-blue/theme.css +198 -59
  418. package/resources/themes/arya-green/theme.css +198 -59
  419. package/resources/themes/arya-orange/theme.css +198 -59
  420. package/resources/themes/arya-purple/theme.css +198 -59
  421. package/resources/themes/bootstrap4-dark-blue/theme.css +179 -47
  422. package/resources/themes/bootstrap4-dark-purple/theme.css +179 -47
  423. package/resources/themes/bootstrap4-light-blue/theme.css +179 -47
  424. package/resources/themes/bootstrap4-light-purple/theme.css +179 -47
  425. package/resources/themes/fluent-light/theme.css +202 -63
  426. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  427. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  428. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  429. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  430. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  431. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  432. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  433. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  434. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  435. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  436. package/resources/themes/lara-dark-blue/theme.css +5421 -0
  437. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  438. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  439. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  440. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  441. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  442. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  443. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  444. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  445. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  446. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  447. package/resources/themes/lara-dark-indigo/theme.css +5421 -0
  448. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  449. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  450. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  451. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  452. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  453. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  454. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  455. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  456. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  457. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  458. package/resources/themes/lara-dark-purple/theme.css +5421 -0
  459. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  460. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  461. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  462. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  463. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  464. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  465. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  466. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  467. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  468. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  469. package/resources/themes/lara-dark-teal/theme.css +5421 -0
  470. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  471. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  472. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  473. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  474. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  475. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  476. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  477. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  478. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  479. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  480. package/resources/themes/lara-light-blue/theme.css +5421 -0
  481. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  482. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  483. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  484. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  485. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  486. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  487. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  488. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  489. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  490. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  491. package/resources/themes/lara-light-indigo/theme.css +5421 -0
  492. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  493. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  494. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  495. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  496. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  497. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  498. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  499. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  500. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  501. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  502. package/resources/themes/lara-light-purple/theme.css +5421 -0
  503. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  504. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  505. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  506. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  507. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  508. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  509. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  510. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  511. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  512. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  513. package/resources/themes/lara-light-teal/theme.css +5421 -0
  514. package/resources/themes/luna-amber/theme.css +195 -63
  515. package/resources/themes/luna-blue/theme.css +195 -63
  516. package/resources/themes/luna-green/theme.css +195 -63
  517. package/resources/themes/luna-pink/theme.css +195 -63
  518. package/resources/themes/md-dark-deeppurple/theme.css +382 -87
  519. package/resources/themes/md-dark-indigo/theme.css +382 -87
  520. package/resources/themes/md-light-deeppurple/theme.css +382 -87
  521. package/resources/themes/md-light-indigo/theme.css +382 -87
  522. package/resources/themes/mdc-dark-deeppurple/theme.css +382 -87
  523. package/resources/themes/mdc-dark-indigo/theme.css +382 -87
  524. package/resources/themes/mdc-light-deeppurple/theme.css +382 -87
  525. package/resources/themes/mdc-light-indigo/theme.css +382 -87
  526. package/resources/themes/nova/theme.css +195 -63
  527. package/resources/themes/nova-accent/theme.css +195 -63
  528. package/resources/themes/nova-alt/theme.css +195 -63
  529. package/resources/themes/nova-vue/theme.css +195 -63
  530. package/resources/themes/rhea/theme.css +195 -63
  531. package/resources/themes/saga-blue/theme.css +182 -43
  532. package/resources/themes/saga-green/theme.css +182 -43
  533. package/resources/themes/saga-orange/theme.css +182 -43
  534. package/resources/themes/saga-purple/theme.css +182 -43
  535. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  536. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  537. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  538. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  539. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  540. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  541. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  542. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  543. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  544. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  545. package/resources/themes/tailwind-light/theme.css +5496 -0
  546. package/resources/themes/vela-blue/theme.css +198 -59
  547. package/resources/themes/vela-green/theme.css +198 -59
  548. package/resources/themes/vela-orange/theme.css +198 -59
  549. package/resources/themes/vela-purple/theme.css +198 -59
  550. package/ripple/ripple.common.js +27 -0
  551. package/ripple/ripple.umd.js +27 -0
  552. package/ripple/ripple.umd.min.js +1 -1
  553. package/row/row.common.js +1 -1
  554. package/row/row.umd.js +1 -1
  555. package/scrollpanel/scrollpanel.common.js +28 -1
  556. package/scrollpanel/scrollpanel.umd.js +28 -1
  557. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  558. package/scrolltop/scrolltop.common.js +28 -1
  559. package/scrolltop/scrolltop.umd.js +28 -1
  560. package/scrolltop/scrolltop.umd.min.js +1 -1
  561. package/selectbutton/SelectButton.d.ts +3 -3
  562. package/selectbutton/SelectButton.vue +6 -1
  563. package/selectbutton/selectbutton.common.js +55 -16
  564. package/selectbutton/selectbutton.umd.js +55 -16
  565. package/selectbutton/selectbutton.umd.min.js +1 -1
  566. package/sidebar/Sidebar.vue +5 -16
  567. package/sidebar/sidebar.common.js +37 -15
  568. package/sidebar/sidebar.umd.js +37 -15
  569. package/sidebar/sidebar.umd.min.js +1 -1
  570. package/skeleton/skeleton.common.js +1 -1
  571. package/skeleton/skeleton.umd.js +1 -1
  572. package/slider/Slider.vue +20 -12
  573. package/slider/slider.common.js +41 -9
  574. package/slider/slider.umd.js +41 -9
  575. package/slider/slider.umd.min.js +1 -1
  576. package/speeddial/SpeedDial.d.ts +1 -0
  577. package/speeddial/SpeedDial.vue +10 -9
  578. package/speeddial/speeddial.common.js +40 -16
  579. package/speeddial/speeddial.umd.js +40 -16
  580. package/speeddial/speeddial.umd.min.js +1 -1
  581. package/splitbutton/splitbutton.common.js +73 -22
  582. package/splitbutton/splitbutton.umd.js +73 -22
  583. package/splitbutton/splitbutton.umd.min.js +1 -1
  584. package/splitter/splitter.common.js +27 -0
  585. package/splitter/splitter.umd.js +27 -0
  586. package/splitter/splitter.umd.min.js +1 -1
  587. package/steps/Steps.d.ts +1 -0
  588. package/steps/Steps.vue +30 -8
  589. package/steps/steps.common.js +33 -6
  590. package/steps/steps.umd.js +33 -6
  591. package/steps/steps.umd.min.js +1 -1
  592. package/styleclass/styleclass.common.js +27 -0
  593. package/styleclass/styleclass.umd.js +27 -0
  594. package/styleclass/styleclass.umd.min.js +1 -1
  595. package/tabmenu/TabMenu.d.ts +1 -0
  596. package/tabmenu/TabMenu.vue +39 -10
  597. package/tabmenu/tabmenu.common.js +192 -8
  598. package/tabmenu/tabmenu.umd.js +192 -8
  599. package/tabmenu/tabmenu.umd.min.js +1 -1
  600. package/tabpanel/tabpanel.common.js +1 -1
  601. package/tabpanel/tabpanel.umd.js +1 -1
  602. package/tabview/TabView.d.ts +1 -0
  603. package/tabview/TabView.vue +111 -11
  604. package/tabview/tabview.common.js +124 -18
  605. package/tabview/tabview.umd.js +124 -18
  606. package/tabview/tabview.umd.min.js +1 -1
  607. package/tag/Tag.vue +1 -1
  608. package/tag/tag.common.js +3 -3
  609. package/tag/tag.umd.js +3 -3
  610. package/tag/tag.umd.min.js +1 -1
  611. package/terminal/terminal.common.js +1 -1
  612. package/terminal/terminal.umd.js +1 -1
  613. package/textarea/textarea.common.js +3 -7
  614. package/textarea/textarea.umd.js +3 -7
  615. package/textarea/textarea.umd.min.js +1 -1
  616. package/tieredmenu/TieredMenu.d.ts +1 -0
  617. package/tieredmenu/TieredMenu.vue +5 -1
  618. package/tieredmenu/TieredMenuSub.vue +30 -14
  619. package/tieredmenu/tieredmenu.common.js +63 -13
  620. package/tieredmenu/tieredmenu.umd.js +63 -13
  621. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  622. package/tieredmenu/tieredmenusub.common.js +53 -7
  623. package/tieredmenu/tieredmenusub.umd.js +53 -7
  624. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  625. package/timeline/timeline.common.js +26 -14
  626. package/timeline/timeline.umd.js +26 -14
  627. package/timeline/timeline.umd.min.js +1 -1
  628. package/toast/Toast.d.ts +4 -1
  629. package/toast/Toast.vue +1 -1
  630. package/toast/toast.common.js +30 -5
  631. package/toast/toast.umd.js +30 -5
  632. package/toast/toast.umd.min.js +1 -1
  633. package/toast/toastmessage.common.js +28 -1
  634. package/toast/toastmessage.umd.js +28 -1
  635. package/toast/toastmessage.umd.min.js +1 -1
  636. package/togglebutton/togglebutton.common.js +28 -1
  637. package/togglebutton/togglebutton.umd.js +28 -1
  638. package/togglebutton/togglebutton.umd.min.js +1 -1
  639. package/toolbar/Toolbar.d.ts +1 -1
  640. package/toolbar/Toolbar.vue +2 -2
  641. package/toolbar/toolbar.common.js +3 -3
  642. package/toolbar/toolbar.umd.js +3 -3
  643. package/toolbar/toolbar.umd.min.js +1 -1
  644. package/tooltip/Tooltip.css +1 -0
  645. package/tooltip/Tooltip.js +37 -2
  646. package/tooltip/tooltip.common.js +1760 -69
  647. package/tooltip/tooltip.umd.js +1760 -69
  648. package/tooltip/tooltip.umd.min.js +1 -1
  649. package/tree/Tree.vue +1 -0
  650. package/tree/TreeNode.vue +5 -1
  651. package/tree/tree.common.js +68 -32
  652. package/tree/tree.umd.js +68 -32
  653. package/tree/tree.umd.min.js +1 -1
  654. package/tree/treenode.common.js +36 -9
  655. package/tree/treenode.umd.js +36 -9
  656. package/tree/treenode.umd.min.js +1 -1
  657. package/treetable/FooterCell.vue +81 -0
  658. package/treetable/HeaderCell.vue +183 -0
  659. package/treetable/TreeTable.d.ts +3 -2
  660. package/treetable/TreeTable.vue +73 -114
  661. package/treetable/TreeTableRow.vue +7 -4
  662. package/treetable/footercell.common.js +5304 -0
  663. package/treetable/footercell.umd.js +5314 -0
  664. package/treetable/footercell.umd.min.js +1 -0
  665. package/treetable/headercell.common.js +5533 -0
  666. package/treetable/headercell.umd.js +5543 -0
  667. package/treetable/headercell.umd.min.js +1 -0
  668. package/treetable/treetable.common.js +3795 -1558
  669. package/treetable/treetable.umd.js +3795 -1558
  670. package/treetable/treetable.umd.min.js +1 -1
  671. package/treetable/treetablerow.common.js +58 -22
  672. package/treetable/treetablerow.umd.js +58 -22
  673. package/treetable/treetablerow.umd.min.js +1 -1
  674. package/treetable/treetablerowloader.common.js +61 -26
  675. package/treetable/treetablerowloader.umd.js +61 -26
  676. package/treetable/treetablerowloader.umd.min.js +1 -1
  677. package/tristatecheckbox/tristatecheckbox.common.js +1 -1
  678. package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
  679. package/utils/ConnectedOverlayScrollHandler.js +1 -1
  680. package/utils/DomHandler.js +23 -1
  681. package/utils/EventBus.js +33 -0
  682. package/utils/ObjectUtils.js +15 -2
  683. package/utils/Utils.d.ts +73 -0
  684. package/utils/Utils.js +47 -0
  685. package/utils/connectedoverlayscrollhandler.common.js +27 -0
  686. package/utils/connectedoverlayscrollhandler.umd.js +27 -0
  687. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  688. package/utils/demo.html +3 -3
  689. package/utils/domhandler.common.js +27 -0
  690. package/utils/domhandler.umd.js +27 -0
  691. package/utils/domhandler.umd.min.js +1 -1
  692. package/utils/eventbus.common.js +1774 -0
  693. package/utils/eventbus.umd.js +1784 -0
  694. package/utils/eventbus.umd.min.js +1 -0
  695. package/utils/index.d.ts +1 -0
  696. package/utils/index.js +2 -0
  697. package/utils/objectutils.common.js +25 -13
  698. package/utils/objectutils.umd.js +25 -13
  699. package/utils/objectutils.umd.min.js +1 -1
  700. package/utils/utils.common.js +5486 -0
  701. package/utils/utils.umd.js +5496 -0
  702. package/utils/utils.umd.min.js +1 -0
  703. package/vetur-attributes.json +156 -20
  704. package/vetur-tags.json +60 -21
  705. package/web-types.json +497 -33
  706. package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
  707. package/datatable/ScrollableView.vue +0 -223
  708. package/datatable/scrollableview.umd.min.js +0 -1
  709. package/utils/FilterUtils.js +0 -176
  710. package/utils/filterutils.umd.min.js +0 -1
package/chart/Chart.vue CHANGED
@@ -5,15 +5,20 @@
5
5
  </template>
6
6
 
7
7
  <script>
8
- // import * as Chart from 'chart.js/auto';
9
-
10
8
  export default {
11
9
  props: {
12
10
  type: String,
13
11
  data: null,
14
12
  options: null,
15
- width: Number,
16
- height: Number
13
+ plugins: null,
14
+ width: {
15
+ type: Number,
16
+ default: 300
17
+ },
18
+ height: {
19
+ type: Number,
20
+ default: 150
21
+ }
17
22
  },
18
23
  chart: null,
19
24
  mounted() {
@@ -26,8 +31,11 @@ export default {
26
31
  }
27
32
  },
28
33
  watch: {
29
- data() {
30
- this.reinit();
34
+ data: {
35
+ handler() {
36
+ this.reinit();
37
+ },
38
+ deep: true
31
39
  },
32
40
  type() {
33
41
  this.reinit();
@@ -39,18 +47,29 @@ export default {
39
47
  methods: {
40
48
  initChart() {
41
49
  import('chart.js/auto').then((module) => {
50
+ if (this.chart) {
51
+ this.chart.destroy();
52
+ this.chart = null;
53
+ }
54
+
42
55
  if (module && module.default) {
43
56
  this.chart = new module.default(this.$refs.canvas, {
44
57
  type: this.type,
45
58
  data: this.data,
46
- options: this.options
59
+ options: this.options,
60
+ plugins: this.plugins
47
61
  });
48
62
  }
63
+
64
+ this.$emit('loaded', this.chart);
49
65
  });
50
66
  },
51
67
  getCanvas() {
52
68
  return this.$canvas;
53
69
  },
70
+ getChart() {
71
+ return this.chart;
72
+ },
54
73
  getBase64Image() {
55
74
  return this.chart.toBase64Image();
56
75
  },
@@ -60,10 +79,7 @@ export default {
60
79
  }
61
80
  },
62
81
  reinit() {
63
- if (this.chart) {
64
- this.chart.destroy();
65
- this.initChart();
66
- }
82
+ this.initChart();
67
83
  },
68
84
  onCanvasClick(event) {
69
85
  if (this.chart) {
@@ -1474,12 +1474,12 @@ if (typeof window !== 'undefined') {
1474
1474
  // Indicate to webpack that this file can be concatenated
1475
1475
  /* harmony default export */ var setPublicPath = (null);
1476
1476
 
1477
- // 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/chart/Chart.vue?vue&type=template&id=930949c0&
1477
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b9fe9a72-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/chart/Chart.vue?vue&type=template&id=13227a24&
1478
1478
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-chart"},[_c('canvas',{ref:"canvas",attrs:{"width":_vm.width,"height":_vm.height},on:{"click":function($event){return _vm.onCanvasClick($event)}}})])}
1479
1479
  var staticRenderFns = []
1480
1480
 
1481
1481
 
1482
- // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=930949c0&
1482
+ // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=13227a24&
1483
1483
 
1484
1484
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
1485
1485
  var es6_number_constructor = __webpack_require__("c5f6");
@@ -1492,14 +1492,20 @@ var es6_number_constructor = __webpack_require__("c5f6");
1492
1492
  //
1493
1493
  //
1494
1494
  //
1495
- // import * as Chart from 'chart.js/auto';
1496
1495
  /* harmony default export */ var Chartvue_type_script_lang_js_ = ({
1497
1496
  props: {
1498
1497
  type: String,
1499
1498
  data: null,
1500
1499
  options: null,
1501
- width: Number,
1502
- height: Number
1500
+ plugins: null,
1501
+ width: {
1502
+ type: Number,
1503
+ default: 300
1504
+ },
1505
+ height: {
1506
+ type: Number,
1507
+ default: 150
1508
+ }
1503
1509
  },
1504
1510
  chart: null,
1505
1511
  mounted: function mounted() {
@@ -1512,8 +1518,11 @@ var es6_number_constructor = __webpack_require__("c5f6");
1512
1518
  }
1513
1519
  },
1514
1520
  watch: {
1515
- data: function data() {
1516
- this.reinit();
1521
+ data: {
1522
+ handler: function handler() {
1523
+ this.reinit();
1524
+ },
1525
+ deep: true
1517
1526
  },
1518
1527
  type: function type() {
1519
1528
  this.reinit();
@@ -1527,18 +1536,30 @@ var es6_number_constructor = __webpack_require__("c5f6");
1527
1536
  var _this = this;
1528
1537
 
1529
1538
  __webpack_require__.e(/* import() */ 1).then(__webpack_require__.bind(null, "d549")).then(function (module) {
1539
+ if (_this.chart) {
1540
+ _this.chart.destroy();
1541
+
1542
+ _this.chart = null;
1543
+ }
1544
+
1530
1545
  if (module && module.default) {
1531
1546
  _this.chart = new module.default(_this.$refs.canvas, {
1532
1547
  type: _this.type,
1533
1548
  data: _this.data,
1534
- options: _this.options
1549
+ options: _this.options,
1550
+ plugins: _this.plugins
1535
1551
  });
1536
1552
  }
1553
+
1554
+ _this.$emit('loaded', _this.chart);
1537
1555
  });
1538
1556
  },
1539
1557
  getCanvas: function getCanvas() {
1540
1558
  return this.$canvas;
1541
1559
  },
1560
+ getChart: function getChart() {
1561
+ return this.chart;
1562
+ },
1542
1563
  getBase64Image: function getBase64Image() {
1543
1564
  return this.chart.toBase64Image();
1544
1565
  },
@@ -1548,10 +1569,7 @@ var es6_number_constructor = __webpack_require__("c5f6");
1548
1569
  }
1549
1570
  },
1550
1571
  reinit: function reinit() {
1551
- if (this.chart) {
1552
- this.chart.destroy();
1553
- this.initChart();
1554
- }
1572
+ this.initChart();
1555
1573
  },
1556
1574
  onCanvasClick: function onCanvasClick(event) {
1557
1575
  if (this.chart) {
@@ -1483,12 +1483,12 @@ if (typeof window !== 'undefined') {
1483
1483
  // Indicate to webpack that this file can be concatenated
1484
1484
  /* harmony default export */ var setPublicPath = (null);
1485
1485
 
1486
- // 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/chart/Chart.vue?vue&type=template&id=930949c0&
1486
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b9fe9a72-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/chart/Chart.vue?vue&type=template&id=13227a24&
1487
1487
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-chart"},[_c('canvas',{ref:"canvas",attrs:{"width":_vm.width,"height":_vm.height},on:{"click":function($event){return _vm.onCanvasClick($event)}}})])}
1488
1488
  var staticRenderFns = []
1489
1489
 
1490
1490
 
1491
- // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=930949c0&
1491
+ // CONCATENATED MODULE: ./src/components/chart/Chart.vue?vue&type=template&id=13227a24&
1492
1492
 
1493
1493
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
1494
1494
  var es6_number_constructor = __webpack_require__("c5f6");
@@ -1501,14 +1501,20 @@ var es6_number_constructor = __webpack_require__("c5f6");
1501
1501
  //
1502
1502
  //
1503
1503
  //
1504
- // import * as Chart from 'chart.js/auto';
1505
1504
  /* harmony default export */ var Chartvue_type_script_lang_js_ = ({
1506
1505
  props: {
1507
1506
  type: String,
1508
1507
  data: null,
1509
1508
  options: null,
1510
- width: Number,
1511
- height: Number
1509
+ plugins: null,
1510
+ width: {
1511
+ type: Number,
1512
+ default: 300
1513
+ },
1514
+ height: {
1515
+ type: Number,
1516
+ default: 150
1517
+ }
1512
1518
  },
1513
1519
  chart: null,
1514
1520
  mounted: function mounted() {
@@ -1521,8 +1527,11 @@ var es6_number_constructor = __webpack_require__("c5f6");
1521
1527
  }
1522
1528
  },
1523
1529
  watch: {
1524
- data: function data() {
1525
- this.reinit();
1530
+ data: {
1531
+ handler: function handler() {
1532
+ this.reinit();
1533
+ },
1534
+ deep: true
1526
1535
  },
1527
1536
  type: function type() {
1528
1537
  this.reinit();
@@ -1536,18 +1545,30 @@ var es6_number_constructor = __webpack_require__("c5f6");
1536
1545
  var _this = this;
1537
1546
 
1538
1547
  __webpack_require__.e(/* import() */ 1).then(__webpack_require__.bind(null, "d549")).then(function (module) {
1548
+ if (_this.chart) {
1549
+ _this.chart.destroy();
1550
+
1551
+ _this.chart = null;
1552
+ }
1553
+
1539
1554
  if (module && module.default) {
1540
1555
  _this.chart = new module.default(_this.$refs.canvas, {
1541
1556
  type: _this.type,
1542
1557
  data: _this.data,
1543
- options: _this.options
1558
+ options: _this.options,
1559
+ plugins: _this.plugins
1544
1560
  });
1545
1561
  }
1562
+
1563
+ _this.$emit('loaded', _this.chart);
1546
1564
  });
1547
1565
  },
1548
1566
  getCanvas: function getCanvas() {
1549
1567
  return this.$canvas;
1550
1568
  },
1569
+ getChart: function getChart() {
1570
+ return this.chart;
1571
+ },
1551
1572
  getBase64Image: function getBase64Image() {
1552
1573
  return this.chart.toBase64Image();
1553
1574
  },
@@ -1557,10 +1578,7 @@ var es6_number_constructor = __webpack_require__("c5f6");
1557
1578
  }
1558
1579
  },
1559
1580
  reinit: function reinit() {
1560
- if (this.chart) {
1561
- this.chart.destroy();
1562
- this.initChart();
1563
- }
1581
+ this.initChart();
1564
1582
  },
1565
1583
  onCanvasClick: function onCanvasClick(event) {
1566
1584
  if (this.chart) {
@@ -1 +1 @@
1
- (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["chart"]=e():t["chart"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){function e(e){for(var n,o,i=e[0],c=e[1],a=0,u=[];a<i.length;a++)o=i[a],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(t[n]=c[n]);f&&f(e);while(u.length)u.shift()()}var n={},r={0:0};function o(t){return i.p+"chart.umd.min."+({}[t]||t)+".js"}function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var c=new Promise((function(e,o){n=r[t]=[e,o]}));e.push(n[2]=c);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=o(t);var f=new Error;a=function(e){u.onerror=u.onload=null,clearTimeout(s);var n=r[t];if(0!==n){if(n){var o=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;f.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",f.name="ChunkLoadError",f.type=o,f.request=i,n[1](f)}r[t]=void 0}};var s=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i.oe=function(t){throw console.error(t),t};var c=("undefined"!==typeof self?self:this)["webpackJsonpchart"]=("undefined"!==typeof self?self:this)["webpackJsonpchart"]||[],a=c.push.bind(c);c.push=e,c=c.slice();for(var u=0;u<c.length;u++)e(c[u]);var f=a;return i(i.s="fb15")}({"0d58":function(t,e,n){var r=n("ce10"),o=n("e11e");t.exports=Object.keys||function(t){return r(t,o)}},"11e9":function(t,e,n){var r=n("52a7"),o=n("4630"),i=n("6821"),c=n("6a99"),a=n("69a8"),u=n("c69a"),f=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?f:function(t,e){if(t=i(t),e=c(e,!0),u)try{return f(t,e)}catch(n){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),o=n("cb7c"),i=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){o(t);var n,c=i(e),a=c.length,u=0;while(a>u)r.f(t,n=c[u++],e[n]);return t}},"230e":function(t,e,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var i=r(o),c=o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}));return[n].concat(c).concat([i]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var c=t[o];"number"===typeof c[0]&&r[c[0]]||(n&&!c[2]?c[2]=n:n&&(c[2]="("+c[2]+") and ("+n+")"),e.push(c))}},e}},"2aba":function(t,e,n){var r=n("7726"),o=n("32e9"),i=n("69a8"),c=n("ca5a")("src"),a=n("fa5b"),u="toString",f=(""+a).split(u);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,c)||o(n,c,t[e]?""+t[e]:f.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[c]||a.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),o=n("1495"),i=n("e11e"),c=n("613b")("IE_PROTO"),a=function(){},u="prototype",f=function(){var t,e=n("230e")("iframe"),r=i.length,o="<",c=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),f=t.F;while(r--)delete f[u][i[r]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=r(t),n=new a,a[u]=null,n[c]=t):n=f(),void 0===e?n:o(n,e)}},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"32e9":function(t,e,n){var r=n("86cc"),o=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],c=i[0],a=i[1],u=i[2],f=i[3],s={id:t+":"+o,css:a,media:u,sourceMap:f};r[c]?r[c].parts.push(s):n.push(r[c]={id:c,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return h}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},c=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,u=0,f=!1,s=function(){},p=null,l="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,n,o){f=n,p=o||{};var c=r(t,e);return v(c),function(e){for(var n=[],o=0;o<c.length;o++){var a=c[o],u=i[a.id];u.refs--,n.push(u)}e?(c=r(t,e),v(c)):c=[];for(o=0;o<n.length;o++){u=n[o];if(0===u.refs){for(var f=0;f<u.parts.length;f++)u.parts[f]();delete i[u.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(b(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var c=[];for(o=0;o<n.parts.length;o++)c.push(b(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:c}}}}function y(){var t=document.createElement("style");return t.type="text/css",c.appendChild(t),t}function b(t){var e,n,r=document.querySelector("style["+l+'~="'+t.id+'"]');if(r){if(f)return s;r.parentNode.removeChild(r)}if(d){var o=u++;r=a||(a=y()),e=m.bind(null,r,o,!1),n=m.bind(null,r,o,!0)}else r=y(),e=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var g=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function m(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=g(e,o);else{var i=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(i,c[e]):t.appendChild(i)}}function x(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),p.ssrId&&t.setAttribute(l,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var r=n("8378"),o=n("7726"),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,e){return c[t]||(c[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var r=n("7726"),o=n("8378"),i=n("32e9"),c=n("2aba"),a=n("9b43"),u="prototype",f=function(t,e,n){var s,p,l,d,h=t&f.F,v=t&f.G,y=t&f.S,b=t&f.P,g=t&f.B,m=v?r:y?r[e]||(r[e]={}):(r[e]||{})[u],x=v?o:o[e]||(o[e]={}),_=x[u]||(x[u]={});for(s in v&&(n=e),n)p=!h&&m&&void 0!==m[s],l=(p?m:n)[s],d=g&&p?a(l,r):b&&"function"==typeof l?a(Function.call,l):l,m&&c(m,s,l,t&f.U),x[s]!=l&&i(x,s,d),b&&_[s]!=l&&(_[s]=l)};r.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},"5dbc":function(t,e,n){var r=n("d3f4"),o=n("8b97").set;t.exports=function(t,e,n){var i,c=e.constructor;return c!==n&&"function"==typeof c&&(i=c.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},"613b":function(t,e,n){var r=n("5537")("keys"),o=n("ca5a");t.exports=function(t){return r[t]||(r[t]=o(t))}},"61a6":function(t,e,n){var r=n("6827");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("d53f9f84",r,!0,{sourceMap:!1,shadowMode:!1})},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6821:function(t,e,n){var r=n("626a"),o=n("be13");t.exports=function(t){return r(o(t))}},6827:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".p-chart{position:relative}",""])},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"86cc":function(t,e,n){var r=n("cb7c"),o=n("c69a"),i=n("6a99"),c=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),o=n("cb7c"),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},9093:function(t,e,n){var r=n("ce10"),o=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"9def":function(t,e,n){var r=n("4588"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},aa77:function(t,e,n){var r=n("5ca1"),o=n("be13"),i=n("79e5"),c=n("fdef"),a="["+c+"]",u="​…",f=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),p=function(t,e,n){var o={},a=i((function(){return!!c[t]()||u[t]()!=u})),f=o[t]=a?e(l):c[t];n&&(o[n]=f),r(r.P+r.F*a,"String",o)},l=p.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(f,"")),2&e&&(t=t.replace(s,"")),t};t.exports=p},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c09b:function(t,e,n){"use strict";n("61a6")},c366:function(t,e,n){var r=n("6821"),o=n("9def"),i=n("77f1");t.exports=function(t){return function(e,n,c){var a,u=r(e),f=o(u.length),s=i(c,f);if(t&&n!=n){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}}},c5f6:function(t,e,n){"use strict";var r=n("7726"),o=n("69a8"),i=n("2d95"),c=n("5dbc"),a=n("6a99"),u=n("79e5"),f=n("9093").f,s=n("11e9").f,p=n("86cc").f,l=n("aa77").trim,d="Number",h=r[d],v=h,y=h.prototype,b=i(n("2aeb")(y))==d,g="trim"in String.prototype,m=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=g?e.trim():l(e,3);var n,r,o,i=e.charCodeAt(0);if(43===i||45===i){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var c,u=e.slice(2),f=0,s=u.length;f<s;f++)if(c=u.charCodeAt(f),c<48||c>o)return NaN;return parseInt(u,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(b?u((function(){y.valueOf.call(n)})):i(n)!=d)?c(new v(m(e)),n,h):m(e)};for(var x,_=n("9e1e")?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)o(v,x=_[w])&&!o(h,x)&&p(h,x,s(v,x));h.prototype=y,y.constructor=h,n("2aba")(r,d,h)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var r=n("69a8"),o=n("6821"),i=n("c366")(!1),c=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,f=[];for(n in a)n!=c&&r(a,n)&&f.push(n);while(e.length>u)r(a,n=e[u++])&&(~i(f,n)||f.push(n));return f}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"p-chart"},[n("canvas",{ref:"canvas",attrs:{width:t.width,height:t.height},on:{click:function(e){return t.onCanvasClick(e)}}})])},i=[],c=(n("c5f6"),{props:{type:String,data:null,options:null,width:Number,height:Number},chart:null,mounted:function(){this.initChart()},beforeDestroy:function(){this.chart&&(this.chart.destroy(),this.chart=null)},watch:{data:function(){this.reinit()},type:function(){this.reinit()},options:function(){this.reinit()}},methods:{initChart:function(){var t=this;n.e(1).then(n.bind(null,"d549")).then((function(e){e&&e.default&&(t.chart=new e.default(t.$refs.canvas,{type:t.type,data:t.data,options:t.options}))}))},getCanvas:function(){return this.$canvas},getBase64Image:function(){return this.chart.toBase64Image()},refresh:function(){this.chart&&this.chart.update()},reinit:function(){this.chart&&(this.chart.destroy(),this.initChart())},onCanvasClick:function(t){if(this.chart){var e=this.chart.getElementsAtEventForMode(t,"nearest",{intersect:!0},!1),n=this.chart.getElementsAtEventForMode(t,"dataset",{intersect:!0},!1);e&&e[0]&&n&&this.$emit("select",{originalEvent:t,element:e[0],dataset:n})}},generateLegend:function(){if(this.chart)return this.chart.generateLegend()}}}),a=c;n("c09b");function u(t,e,n,r,o,i,c,a){var u,f="function"===typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),c?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},f._ssrRegister=u):o&&(u=a?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(f.functional){f._injectStyles=u;var s=f.render;f.render=function(t,e){return u.call(e),s(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:f}}var f=u(a,o,i,!1,null,null,null),s=f.exports;e["default"]=s},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})["default"]}));
1
+ (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["chart"]=e():t["chart"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){function e(e){for(var n,o,i=e[0],c=e[1],a=0,u=[];a<i.length;a++)o=i[a],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(t[n]=c[n]);f&&f(e);while(u.length)u.shift()()}var n={},r={0:0};function o(t){return i.p+"chart.umd.min."+({}[t]||t)+".js"}function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var c=new Promise((function(e,o){n=r[t]=[e,o]}));e.push(n[2]=c);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=o(t);var f=new Error;a=function(e){u.onerror=u.onload=null,clearTimeout(s);var n=r[t];if(0!==n){if(n){var o=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;f.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",f.name="ChunkLoadError",f.type=o,f.request=i,n[1](f)}r[t]=void 0}};var s=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i.oe=function(t){throw console.error(t),t};var c=("undefined"!==typeof self?self:this)["webpackJsonpchart"]=("undefined"!==typeof self?self:this)["webpackJsonpchart"]||[],a=c.push.bind(c);c.push=e,c=c.slice();for(var u=0;u<c.length;u++)e(c[u]);var f=a;return i(i.s="fb15")}({"0d58":function(t,e,n){var r=n("ce10"),o=n("e11e");t.exports=Object.keys||function(t){return r(t,o)}},"11e9":function(t,e,n){var r=n("52a7"),o=n("4630"),i=n("6821"),c=n("6a99"),a=n("69a8"),u=n("c69a"),f=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?f:function(t,e){if(t=i(t),e=c(e,!0),u)try{return f(t,e)}catch(n){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),o=n("cb7c"),i=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){o(t);var n,c=i(e),a=c.length,u=0;while(a>u)r.f(t,n=c[u++],e[n]);return t}},"230e":function(t,e,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var i=r(o),c=o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}));return[n].concat(c).concat([i]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var c=t[o];"number"===typeof c[0]&&r[c[0]]||(n&&!c[2]?c[2]=n:n&&(c[2]="("+c[2]+") and ("+n+")"),e.push(c))}},e}},"2aba":function(t,e,n){var r=n("7726"),o=n("32e9"),i=n("69a8"),c=n("ca5a")("src"),a=n("fa5b"),u="toString",f=(""+a).split(u);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,c)||o(n,c,t[e]?""+t[e]:f.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[c]||a.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),o=n("1495"),i=n("e11e"),c=n("613b")("IE_PROTO"),a=function(){},u="prototype",f=function(){var t,e=n("230e")("iframe"),r=i.length,o="<",c=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),f=t.F;while(r--)delete f[u][i[r]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=r(t),n=new a,a[u]=null,n[c]=t):n=f(),void 0===e?n:o(n,e)}},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"32e9":function(t,e,n){var r=n("86cc"),o=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],c=i[0],a=i[1],u=i[2],f=i[3],s={id:t+":"+o,css:a,media:u,sourceMap:f};r[c]?r[c].parts.push(s):n.push(r[c]={id:c,parts:[s]})}return n}n.r(e),n.d(e,"default",(function(){return h}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},c=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,u=0,f=!1,s=function(){},p=null,l="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,n,o){f=n,p=o||{};var c=r(t,e);return v(c),function(e){for(var n=[],o=0;o<c.length;o++){var a=c[o],u=i[a.id];u.refs--,n.push(u)}e?(c=r(t,e),v(c)):c=[];for(o=0;o<n.length;o++){u=n[o];if(0===u.refs){for(var f=0;f<u.parts.length;f++)u.parts[f]();delete i[u.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(g(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var c=[];for(o=0;o<n.parts.length;o++)c.push(g(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:c}}}}function y(){var t=document.createElement("style");return t.type="text/css",c.appendChild(t),t}function g(t){var e,n,r=document.querySelector("style["+l+'~="'+t.id+'"]');if(r){if(f)return s;r.parentNode.removeChild(r)}if(d){var o=u++;r=a||(a=y()),e=m.bind(null,r,o,!1),n=m.bind(null,r,o,!0)}else r=y(),e=x.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function m(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var i=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(i,c[e]):t.appendChild(i)}}function x(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),p.ssrId&&t.setAttribute(l,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var r=n("8378"),o=n("7726"),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,e){return c[t]||(c[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var r=n("7726"),o=n("8378"),i=n("32e9"),c=n("2aba"),a=n("9b43"),u="prototype",f=function(t,e,n){var s,p,l,d,h=t&f.F,v=t&f.G,y=t&f.S,g=t&f.P,b=t&f.B,m=v?r:y?r[e]||(r[e]={}):(r[e]||{})[u],x=v?o:o[e]||(o[e]={}),_=x[u]||(x[u]={});for(s in v&&(n=e),n)p=!h&&m&&void 0!==m[s],l=(p?m:n)[s],d=b&&p?a(l,r):g&&"function"==typeof l?a(Function.call,l):l,m&&c(m,s,l,t&f.U),x[s]!=l&&i(x,s,d),g&&_[s]!=l&&(_[s]=l)};r.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},"5dbc":function(t,e,n){var r=n("d3f4"),o=n("8b97").set;t.exports=function(t,e,n){var i,c=e.constructor;return c!==n&&"function"==typeof c&&(i=c.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},"613b":function(t,e,n){var r=n("5537")("keys"),o=n("ca5a");t.exports=function(t){return r[t]||(r[t]=o(t))}},"61a6":function(t,e,n){var r=n("6827");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("d53f9f84",r,!0,{sourceMap:!1,shadowMode:!1})},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6821:function(t,e,n){var r=n("626a"),o=n("be13");t.exports=function(t){return r(o(t))}},6827:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".p-chart{position:relative}",""])},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"86cc":function(t,e,n){var r=n("cb7c"),o=n("c69a"),i=n("6a99"),c=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),o=n("cb7c"),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},9093:function(t,e,n){var r=n("ce10"),o=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"9def":function(t,e,n){var r=n("4588"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},aa77:function(t,e,n){var r=n("5ca1"),o=n("be13"),i=n("79e5"),c=n("fdef"),a="["+c+"]",u="​…",f=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),p=function(t,e,n){var o={},a=i((function(){return!!c[t]()||u[t]()!=u})),f=o[t]=a?e(l):c[t];n&&(o[n]=f),r(r.P+r.F*a,"String",o)},l=p.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(f,"")),2&e&&(t=t.replace(s,"")),t};t.exports=p},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c09b:function(t,e,n){"use strict";n("61a6")},c366:function(t,e,n){var r=n("6821"),o=n("9def"),i=n("77f1");t.exports=function(t){return function(e,n,c){var a,u=r(e),f=o(u.length),s=i(c,f);if(t&&n!=n){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}}},c5f6:function(t,e,n){"use strict";var r=n("7726"),o=n("69a8"),i=n("2d95"),c=n("5dbc"),a=n("6a99"),u=n("79e5"),f=n("9093").f,s=n("11e9").f,p=n("86cc").f,l=n("aa77").trim,d="Number",h=r[d],v=h,y=h.prototype,g=i(n("2aeb")(y))==d,b="trim"in String.prototype,m=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=b?e.trim():l(e,3);var n,r,o,i=e.charCodeAt(0);if(43===i||45===i){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var c,u=e.slice(2),f=0,s=u.length;f<s;f++)if(c=u.charCodeAt(f),c<48||c>o)return NaN;return parseInt(u,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(g?u((function(){y.valueOf.call(n)})):i(n)!=d)?c(new v(m(e)),n,h):m(e)};for(var x,_=n("9e1e")?f(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)o(v,x=_[w])&&!o(h,x)&&p(h,x,s(v,x));h.prototype=y,y.constructor=h,n("2aba")(r,d,h)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var r=n("69a8"),o=n("6821"),i=n("c366")(!1),c=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,f=[];for(n in a)n!=c&&r(a,n)&&f.push(n);while(e.length>u)r(a,n=e[u++])&&(~i(f,n)||f.push(n));return f}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"p-chart"},[n("canvas",{ref:"canvas",attrs:{width:t.width,height:t.height},on:{click:function(e){return t.onCanvasClick(e)}}})])},i=[],c=(n("c5f6"),{props:{type:String,data:null,options:null,plugins:null,width:{type:Number,default:300},height:{type:Number,default:150}},chart:null,mounted:function(){this.initChart()},beforeDestroy:function(){this.chart&&(this.chart.destroy(),this.chart=null)},watch:{data:{handler:function(){this.reinit()},deep:!0},type:function(){this.reinit()},options:function(){this.reinit()}},methods:{initChart:function(){var t=this;n.e(1).then(n.bind(null,"d549")).then((function(e){t.chart&&(t.chart.destroy(),t.chart=null),e&&e.default&&(t.chart=new e.default(t.$refs.canvas,{type:t.type,data:t.data,options:t.options,plugins:t.plugins})),t.$emit("loaded",t.chart)}))},getCanvas:function(){return this.$canvas},getChart:function(){return this.chart},getBase64Image:function(){return this.chart.toBase64Image()},refresh:function(){this.chart&&this.chart.update()},reinit:function(){this.initChart()},onCanvasClick:function(t){if(this.chart){var e=this.chart.getElementsAtEventForMode(t,"nearest",{intersect:!0},!1),n=this.chart.getElementsAtEventForMode(t,"dataset",{intersect:!0},!1);e&&e[0]&&n&&this.$emit("select",{originalEvent:t,element:e[0],dataset:n})}},generateLegend:function(){if(this.chart)return this.chart.generateLegend()}}}),a=c;n("c09b");function u(t,e,n,r,o,i,c,a){var u,f="function"===typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),c?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},f._ssrRegister=u):o&&(u=a?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(f.functional){f._injectStyles=u;var s=f.render;f.render=function(t,e){return u.call(e),s(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:f}}var f=u(a,o,i,!1,null,null,null),s=f.exports;e["default"]=s},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})["default"]}));
@@ -3,6 +3,7 @@
3
3
  cursor: pointer;
4
4
  user-select: none;
5
5
  vertical-align: bottom;
6
+ position: relative;
6
7
  }
7
8
 
8
9
  .p-checkbox-box {
@@ -4,6 +4,8 @@ declare class Checkbox extends Vue {
4
4
  value?: null;
5
5
  modelValue?: null;
6
6
  binary?: boolean;
7
+ trueValue?: any;
8
+ falseValue?: any;
7
9
  $emit(eventName: 'click', event: Event): this;
8
10
  $emit(eventName: 'input', value: any): this;
9
11
  $emit(eventName: 'change', event: Event): this;
@@ -17,7 +17,15 @@ export default {
17
17
  props: {
18
18
  value: null,
19
19
  modelValue: null,
20
- binary: Boolean
20
+ binary: Boolean,
21
+ trueValue: {
22
+ type: null,
23
+ default: true
24
+ },
25
+ falseValue: {
26
+ type: null,
27
+ default: false
28
+ }
21
29
  },
22
30
  model: {
23
31
  prop: 'modelValue',
@@ -34,7 +42,7 @@ export default {
34
42
  let newModelValue;
35
43
 
36
44
  if (this.binary) {
37
- newModelValue = !this.modelValue;
45
+ newModelValue = this.checked ? this.falseValue : this.trueValue;
38
46
  }
39
47
  else {
40
48
  if (this.checked)
@@ -60,7 +68,7 @@ export default {
60
68
  },
61
69
  computed: {
62
70
  checked() {
63
- return this.binary ? this.modelValue : ObjectUtils.contains(this.value, this.modelValue);
71
+ return this.binary ? this.modelValue === this.trueValue : ObjectUtils.contains(this.value, this.modelValue);
64
72
  },
65
73
  containerClass() {
66
74
  return ['p-checkbox p-component', {'p-checkbox-checked': this.checked, 'p-checkbox-disabled': this.$attrs.disabled, 'p-checkbox-focused': this.focused}];
@@ -4207,12 +4207,12 @@ if (typeof window !== 'undefined') {
4207
4207
  // Indicate to webpack that this file can be concatenated
4208
4208
  /* harmony default export */ var setPublicPath = (null);
4209
4209
 
4210
- // 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/checkbox/Checkbox.vue?vue&type=template&id=75723f4d&
4210
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"b9fe9a72-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/checkbox/Checkbox.vue?vue&type=template&id=54e45401&
4211
4211
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass,on:{"click":function($event){return _vm.onClick($event)}}},[_c('div',{staticClass:"p-hidden-accessible"},[_c('input',_vm._b({ref:"input",attrs:{"type":"checkbox"},domProps:{"checked":_vm.checked,"value":_vm.value},on:{"focus":function($event){return _vm.onFocus($event)},"blur":function($event){return _vm.onBlur($event)}}},'input',_vm.$attrs,false))]),_c('div',{ref:"box",class:['p-checkbox-box', {'p-highlight': _vm.checked, 'p-disabled': _vm.$attrs.disabled, 'p-focus': _vm.focused}],attrs:{"role":"checkbox","aria-checked":_vm.checked}},[_c('span',{class:['p-checkbox-icon', {'pi pi-check': _vm.checked}]})])])}
4212
4212
  var staticRenderFns = []
4213
4213
 
4214
4214
 
4215
- // CONCATENATED MODULE: ./src/components/checkbox/Checkbox.vue?vue&type=template&id=75723f4d&
4215
+ // CONCATENATED MODULE: ./src/components/checkbox/Checkbox.vue?vue&type=template&id=54e45401&
4216
4216
 
4217
4217
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js
4218
4218
  var is_array = __webpack_require__("a745");
@@ -4318,20 +4318,14 @@ var es6_regexp_constructor = __webpack_require__("3b2b");
4318
4318
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
4319
4319
 
4320
4320
 
4321
- function typeof_typeof(obj) {
4321
+ function _typeof(obj) {
4322
4322
  "@babel/helpers - typeof";
4323
4323
 
4324
- if (typeof symbol_default.a === "function" && typeof iterator_default.a === "symbol") {
4325
- typeof_typeof = function _typeof(obj) {
4326
- return typeof obj;
4327
- };
4328
- } else {
4329
- typeof_typeof = function _typeof(obj) {
4330
- return obj && typeof symbol_default.a === "function" && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
4331
- };
4332
- }
4333
-
4334
- return typeof_typeof(obj);
4324
+ return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
4325
+ return typeof obj;
4326
+ } : function (obj) {
4327
+ return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
4328
+ }, _typeof(obj);
4335
4329
  }
4336
4330
  // CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/classCallCheck.js
4337
4331
  function _classCallCheck(instance, Constructor) {
@@ -4360,6 +4354,11 @@ function _defineProperties(target, props) {
4360
4354
  function _createClass(Constructor, protoProps, staticProps) {
4361
4355
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
4362
4356
  if (staticProps) _defineProperties(Constructor, staticProps);
4357
+
4358
+ define_property_default()(Constructor, "prototype", {
4359
+ writable: false
4360
+ });
4361
+
4363
4362
  return Constructor;
4364
4363
  }
4365
4364
  // CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
@@ -4401,7 +4400,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4401
4400
  value: function deepEquals(a, b) {
4402
4401
  if (a === b) return true;
4403
4402
 
4404
- if (a && b && typeof_typeof(a) == 'object' && typeof_typeof(b) == 'object') {
4403
+ if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
4405
4404
  var arrA = Array.isArray(a),
4406
4405
  arrB = Array.isArray(b),
4407
4406
  i,
@@ -4603,6 +4602,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4603
4602
 
4604
4603
  return str;
4605
4604
  }
4605
+ }, {
4606
+ key: "getVNodeProp",
4607
+ value: function getVNodeProp(vnode, prop) {
4608
+ var props = vnode._props;
4609
+
4610
+ if (props) {
4611
+ var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
4612
+ var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
4613
+ return props[propName];
4614
+ }
4615
+
4616
+ return null;
4617
+ }
4606
4618
  }]);
4607
4619
 
4608
4620
  return ObjectUtils;
@@ -4628,7 +4640,15 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4628
4640
  props: {
4629
4641
  value: null,
4630
4642
  modelValue: null,
4631
- binary: Boolean
4643
+ binary: Boolean,
4644
+ trueValue: {
4645
+ type: null,
4646
+ default: true
4647
+ },
4648
+ falseValue: {
4649
+ type: null,
4650
+ default: false
4651
+ }
4632
4652
  },
4633
4653
  model: {
4634
4654
  prop: 'modelValue',
@@ -4647,7 +4667,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4647
4667
  var newModelValue;
4648
4668
 
4649
4669
  if (this.binary) {
4650
- newModelValue = !this.modelValue;
4670
+ newModelValue = this.checked ? this.falseValue : this.trueValue;
4651
4671
  } else {
4652
4672
  if (this.checked) newModelValue = this.modelValue.filter(function (val) {
4653
4673
  return !ObjectUtils_ObjectUtils.equals(val, _this.value);
@@ -4671,7 +4691,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
4671
4691
  },
4672
4692
  computed: {
4673
4693
  checked: function checked() {
4674
- return this.binary ? this.modelValue : ObjectUtils_ObjectUtils.contains(this.value, this.modelValue);
4694
+ return this.binary ? this.modelValue === this.trueValue : ObjectUtils_ObjectUtils.contains(this.value, this.modelValue);
4675
4695
  },
4676
4696
  containerClass: function containerClass() {
4677
4697
  return ['p-checkbox p-component', {