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/api/Api.d.ts ADDED
@@ -0,0 +1,296 @@
1
+ export const FilterMatchMode: {
2
+ STARTS_WITH?: string,
3
+ CONTAINS?: string,
4
+ NOT_CONTAINS?: string,
5
+ ENDS_WITH?: string,
6
+ EQUALS?: string,
7
+ NOT_EQUALS?: string,
8
+ IN?: string,
9
+ LESS_THAN?: string,
10
+ LESS_THAN_OR_EQUAL_TO?: string,
11
+ GREATER_THAN?: string,
12
+ GREATER_THAN_OR_EQUAL_TO?: string,
13
+ BETWEEN?: string,
14
+ DATE_IS?: string,
15
+ DATE_IS_NOT?: string,
16
+ DATE_BEFORE?: string,
17
+ DATE_AFTER?: string
18
+ }
19
+
20
+ export const FilterOperator: {
21
+ AND?: string,
22
+ OR?: string
23
+ }
24
+
25
+ interface FiltersOptions {
26
+ startsWith?(value: any, filter: any, filterLocale: string): boolean,
27
+ contains?(value: any, filter: any, filterLocale: string): boolean,
28
+ notContains?(value: any, filter: any, filterLocale: string): boolean,
29
+ endsWith?(value: any, filter: any, filterLocale: string): boolean,
30
+ equals?(value: any, filter: any, filterLocale: string): boolean,
31
+ notEquals?(value: any, filter: any, filterLocale: string): boolean,
32
+ in?(value: any, filter: any): boolean,
33
+ between?(value: any, filter: any): boolean,
34
+ lt?(value: any, filter: any): boolean,
35
+ lte?(value: any, filter: any): boolean,
36
+ gt?(value: any, filter: any): boolean,
37
+ gte?(value: any, filter: any): boolean,
38
+ dateIs?(value: any, filter: any): boolean,
39
+ dateIsNot?(value: any, filter: any): boolean,
40
+ dateBefore?(value: any, filter: any): boolean,
41
+ dateAfter?(value: any, filter: any): boolean
42
+ }
43
+
44
+ interface FilterServiceOptions {
45
+ filter?(value: any[], fields: any[], filterValue: any, filterMatchMode: string, filterLocale: string): any[],
46
+ filters?: FiltersOptions,
47
+ register?(rule: string, fn: any): void
48
+ }
49
+
50
+ export const FilterService: FilterServiceOptions;
51
+
52
+ export const PrimeIcons: {
53
+ ALIGN_CENTER?: string,
54
+ ALIGN_JUSTIFY?: string,
55
+ ALIGN_LEFT?: string,
56
+ ALIGN_RIGHT?: string,
57
+ AMAZON?: string,
58
+ ANDROID?: string,
59
+ ANGLE_DOUBLE_DOWN?: string,
60
+ ANGLE_DOUBLE_LEFT?: string,
61
+ ANGLE_DOUBLE_RIGHT?: string,
62
+ ANGLE_DOUBLE_UP?: string,
63
+ ANGLE_DOWN?: string,
64
+ ANGLE_LEFT?: string,
65
+ ANGLE_RIGHT?: string,
66
+ ANGLE_UP?: string,
67
+ APPLE?: string,
68
+ ARROW_CIRCLE_DOWN?: string,
69
+ ARROW_CIRCLE_LEFT?: string,
70
+ ARROW_CIRCLE_RIGHT?: string,
71
+ ARROW_CIRCLE_UP?: string,
72
+ ARROW_DOWN?: string,
73
+ ARROW_DOWN_LEFT?: string,
74
+ ARROW_DOWN_RIGHT?: string,
75
+ ARROW_LEFT?: string,
76
+ ARROW_RIGHT?: string,
77
+ ARROW_UP?: string,
78
+ ARROW_UP_LEFT?: string,
79
+ ARROW_UP_RIGHT?: string,
80
+ ARROW_H?: string,
81
+ ARROW_V?: string,
82
+ AT?: string,
83
+ BACKWARD?: string,
84
+ BAN?: string,
85
+ BARS?: string,
86
+ BELL?: string,
87
+ BOLT?: string,
88
+ BOOK?: string,
89
+ BOOKMARK?: string,
90
+ BOOKMARK_FILL?: string,
91
+ BOX?: string,
92
+ BRIEFCASE?: string,
93
+ BUILDING?: string,
94
+ CALENDAR?: string,
95
+ CALENDAR_MINUS?: string,
96
+ CALENDAR_PLUS?: string,
97
+ CALENDAR_TIMES?: string,
98
+ CAMERA?: string,
99
+ CAR?: string,
100
+ CARET_DOWN?: string,
101
+ CARET_LEFT?: string,
102
+ CARET_RIGHT?: string,
103
+ CARET_UP?: string,
104
+ CHART_BAR?: string,
105
+ CHART_LINE?: string,
106
+ CHART_PIE?: string,
107
+ CHECK?: string,
108
+ CHECK_CIRCLE?: string,
109
+ CHECK_SQUARE?: string,
110
+ CHEVRON_CIRCLE_DOWN?: string,
111
+ CHEVRON_CIRCLE_LEFT?: string,
112
+ CHEVRON_CIRCLE_RIGHT?: string,
113
+ CHEVRON_CIRCLE_UP?: string,
114
+ CHEVRON_DOWN?: string,
115
+ CHEVRON_LEFT?: string,
116
+ CHEVRON_RIGHT?: string,
117
+ CHEVRON_UP?: string,
118
+ CIRCLE?: string,
119
+ CIRCLE_FILL?: string,
120
+ CLOCK?: string,
121
+ CLONE?: string,
122
+ CLOUD?: string,
123
+ CLOUD_DOWNLOAD?: string,
124
+ CLOUD_UPLOAD?: string,
125
+ CODE?: string,
126
+ COG?: string,
127
+ COMMENT?: string,
128
+ COMMENTS?: string,
129
+ COMPASS?: string,
130
+ COPY?: string,
131
+ CREDIT_CARD?: string,
132
+ DATABASE?: string,
133
+ DESKTOP?: string,
134
+ DIRECTIONS?: string,
135
+ DIRECTIONS_ALT?: string,
136
+ DISCORD?: string,
137
+ DOLLAR?: string,
138
+ DOWNLOAD?: string,
139
+ EJECT?: string,
140
+ ELLIPSIS_H?: string,
141
+ ELLIPSIS_V?: string,
142
+ ENVELOPE?: string,
143
+ EURO?: string,
144
+ EXCLAMATION_CIRCLE?: string,
145
+ EXCLAMATION_TRIANGLE ?: string,
146
+ EXTERNAL_LINK?: string,
147
+ EYE?: string,
148
+ EYE_SLASH?: string,
149
+ FACEBOOK?: string,
150
+ FAST_BACKWARD?: string,
151
+ FAST_FORWARD?: string,
152
+ FILE?: string,
153
+ FILE_EXCEL?: string,
154
+ FILE_PDF?: string,
155
+ FILTER?: string,
156
+ FILTER_FILL?: string,
157
+ FILTER_SLASH?: string,
158
+ FLAG?: string,
159
+ FLAG_FILL?: string,
160
+ FOLDER?: string,
161
+ FOLDER_OPEN?: string,
162
+ FORWARD?: string,
163
+ GITHUB?: string,
164
+ GLOBE?: string,
165
+ GOOGLE?: string,
166
+ HASHTAG?: string,
167
+ HEART?: string,
168
+ HEART_FILL?: string,
169
+ HISTORY?: string,
170
+ HOME?: string,
171
+ ID_CARD?: string,
172
+ IMAGE?: string,
173
+ IMAGES?: string,
174
+ INBOX?: string,
175
+ INFO?: string,
176
+ INFO_CIRCLE?: string,
177
+ INSTAGRAM?: string,
178
+ KEY?: string,
179
+ LINK?: string,
180
+ LINKEDIN?: string,
181
+ LIST?: string,
182
+ LOCK?: string,
183
+ LOCK_OPEN?: string,
184
+ MAP?: string,
185
+ MAP_MARKER?: string,
186
+ MICROSOFT?: string,
187
+ MINUS?: string,
188
+ MINUS_CIRCLE?: string,
189
+ MOBILE?: string,
190
+ MONEY_BILL?: string,
191
+ MOON?: string,
192
+ PALETTE?: string,
193
+ PAPERCLIP?: string,
194
+ PAUSE?: string,
195
+ PAYPAL?: string,
196
+ PENCIL?: string,
197
+ PERCENTAGE?: string,
198
+ PHONE?: string,
199
+ PLAY?: string,
200
+ PLUS?: string,
201
+ PLUS_CIRCLE?: string,
202
+ POUND?: string,
203
+ POWER_OFF?: string,
204
+ PRIME?: string,
205
+ PRINT?: string,
206
+ QRCODE?: string,
207
+ QUESTION?: string,
208
+ QUESTION_CIRCLE?: string,
209
+ REDDIT?: string,
210
+ REFRESH?: string,
211
+ REPLAY?: string,
212
+ REPLY?: string,
213
+ SAVE?: string,
214
+ SEARCH?: string,
215
+ SEARCH_MINUS?: string,
216
+ SEARCH_PLUS?: string,
217
+ SEND?: string,
218
+ SERVER?: string,
219
+ SHARE_ALT?: string,
220
+ SHIELD?: string,
221
+ SHOPPING_BAG?: string,
222
+ SHOPPING_CART?: string,
223
+ SIGN_IN?: string,
224
+ SIGN_OUT?: string,
225
+ SITEMAP?: string,
226
+ SLACK?: string,
227
+ SLIDERS_H?: string,
228
+ SLIDERS_V?: string,
229
+ SORT?: string,
230
+ SORT_ALPHA_DOWN?: string,
231
+ SORT_ALPHA_ALT_DOWN?: string,
232
+ SORT_ALPHA_UP?: string,
233
+ SORT_ALPHA_ALT_UP?: string,
234
+ SORT_ALT?: string,
235
+ SORT_ALT_SLASH?: string,
236
+ SORT_AMOUNT_DOWN?: string,
237
+ SORT_AMOUNT_DOWN_ALT?: string,
238
+ SORT_AMOUNT_UP?: string,
239
+ SORT_AMOUNT_UP_ALT?: string,
240
+ SORT_DOWN?: string,
241
+ SORT_NUMERIC_DOWN?: string,
242
+ SORT_NUMERIC_ALT_DOWN?: string,
243
+ SORT_NUMERIC_UP?: string,
244
+ SORT_NUMERIC_ALT_UP?: string,
245
+ SORT_UP?: string,
246
+ SPINNER?: string,
247
+ STAR?: string,
248
+ STAR_FILL?: string,
249
+ STEP_BACKWARD?: string,
250
+ STEP_BACKWARD_ALT?: string,
251
+ STEP_FORWARD?: string,
252
+ STEP_FORWARD_ALT?: string,
253
+ STOP?: string,
254
+ STOP_CIRCLE?: string,
255
+ SUN?: string,
256
+ SYNC?: string,
257
+ TABLE?: string,
258
+ TABLET?: string,
259
+ TAG?: string,
260
+ TAGS?: string,
261
+ TELEGRAM?: string,
262
+ TH_LARGE?: string,
263
+ THUMBS_DOWN?: string,
264
+ THUMBS_UP?: string,
265
+ TICKET?: string,
266
+ TIMES?: string,
267
+ TIMES_CIRCLE?: string,
268
+ TRASH?: string,
269
+ TWITTER?: string,
270
+ UNDO?: string,
271
+ UNLOCK?: string,
272
+ UPLOAD?: string,
273
+ USER?: string,
274
+ USER_EDIT?: string,
275
+ USER_MINUS?: string,
276
+ USER_PLUS?: string,
277
+ USERS?: string,
278
+ VIDEO?: string,
279
+ VIMEO?: string,
280
+ VOLUME_DOWN?: string,
281
+ VOLUME_OFF?: string,
282
+ VOLUME_UP?: string,
283
+ WALLET?: string,
284
+ WHATSAPP?: string,
285
+ WIFI?: string,
286
+ WINDOW_MAXIMIZE?: string,
287
+ WINDOW_MINIMIZE?: string,
288
+ YOUTUBE?: string
289
+ }
290
+
291
+ export const ToastSeverity: {
292
+ INFO?: string,
293
+ WARN?: string,
294
+ ERROR?: string,
295
+ SUCCESS?: string
296
+ }
package/api/Api.js ADDED
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "FilterMatchMode", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _FilterMatchMode.default;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "FilterOperator", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _FilterOperator.default;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "FilterService", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _FilterService.default;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "PrimeIcons", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _PrimeIcons.default;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "ToastSeverity", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _ToastSeverity.default;
34
+ }
35
+ });
36
+
37
+ var _FilterMatchMode = _interopRequireDefault(require("./FilterMatchMode"));
38
+
39
+ var _FilterOperator = _interopRequireDefault(require("./FilterOperator"));
40
+
41
+ var _FilterService = _interopRequireDefault(require("./FilterService"));
42
+
43
+ var _PrimeIcons = _interopRequireDefault(require("./PrimeIcons"));
44
+
45
+ var _ToastSeverity = _interopRequireDefault(require("./ToastSeverity"));
46
+
47
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var FilterMatchMode = {
8
+ STARTS_WITH: 'startsWith',
9
+ CONTAINS: 'contains',
10
+ NOT_CONTAINS: 'notContains',
11
+ ENDS_WITH: 'endsWith',
12
+ EQUALS: 'equals',
13
+ NOT_EQUALS: 'notEquals',
14
+ IN: 'in',
15
+ LESS_THAN: 'lt',
16
+ LESS_THAN_OR_EQUAL_TO: 'lte',
17
+ GREATER_THAN: 'gt',
18
+ GREATER_THAN_OR_EQUAL_TO: 'gte',
19
+ BETWEEN: 'between',
20
+ DATE_IS: 'dateIs',
21
+ DATE_IS_NOT: 'dateIsNot',
22
+ DATE_BEFORE: 'dateBefore',
23
+ DATE_AFTER: 'dateAfter'
24
+ };
25
+ var _default = FilterMatchMode;
26
+ exports.default = _default;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var FilterOperator = {
8
+ AND: 'and',
9
+ OR: 'or'
10
+ };
11
+ var _default = FilterOperator;
12
+ exports.default = _default;
@@ -0,0 +1,260 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _ObjectUtils = _interopRequireDefault(require("../utils/ObjectUtils"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
13
+
14
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
15
+
16
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
17
+
18
+ var FilterService = {
19
+ filter: function filter(value, fields, filterValue, filterMatchMode, filterLocale) {
20
+ var filteredItems = [];
21
+
22
+ if (value) {
23
+ var _iterator = _createForOfIteratorHelper(value),
24
+ _step;
25
+
26
+ try {
27
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
28
+ var item = _step.value;
29
+
30
+ var _iterator2 = _createForOfIteratorHelper(fields),
31
+ _step2;
32
+
33
+ try {
34
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
35
+ var field = _step2.value;
36
+
37
+ var fieldValue = _ObjectUtils.default.resolveFieldData(item, field);
38
+
39
+ if (this.filters[filterMatchMode](fieldValue, filterValue, filterLocale)) {
40
+ filteredItems.push(item);
41
+ break;
42
+ }
43
+ }
44
+ } catch (err) {
45
+ _iterator2.e(err);
46
+ } finally {
47
+ _iterator2.f();
48
+ }
49
+ }
50
+ } catch (err) {
51
+ _iterator.e(err);
52
+ } finally {
53
+ _iterator.f();
54
+ }
55
+ }
56
+
57
+ return filteredItems;
58
+ },
59
+ filters: {
60
+ startsWith: function startsWith(value, filter, filterLocale) {
61
+ if (filter === undefined || filter === null || filter.trim() === '') {
62
+ return true;
63
+ }
64
+
65
+ if (value === undefined || value === null) {
66
+ return false;
67
+ }
68
+
69
+ var filterValue = _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
70
+
71
+ var stringValue = _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
72
+
73
+ return stringValue.slice(0, filterValue.length) === filterValue;
74
+ },
75
+ contains: function contains(value, filter, filterLocale) {
76
+ if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
77
+ return true;
78
+ }
79
+
80
+ if (value === undefined || value === null) {
81
+ return false;
82
+ }
83
+
84
+ var filterValue = _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
85
+
86
+ var stringValue = _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
87
+
88
+ return stringValue.indexOf(filterValue) !== -1;
89
+ },
90
+ notContains: function notContains(value, filter, filterLocale) {
91
+ if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
92
+ return true;
93
+ }
94
+
95
+ if (value === undefined || value === null) {
96
+ return false;
97
+ }
98
+
99
+ var filterValue = _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
100
+
101
+ var stringValue = _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
102
+
103
+ return stringValue.indexOf(filterValue) === -1;
104
+ },
105
+ endsWith: function endsWith(value, filter, filterLocale) {
106
+ if (filter === undefined || filter === null || filter.trim() === '') {
107
+ return true;
108
+ }
109
+
110
+ if (value === undefined || value === null) {
111
+ return false;
112
+ }
113
+
114
+ var filterValue = _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
115
+
116
+ var stringValue = _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
117
+
118
+ return stringValue.indexOf(filterValue, stringValue.length - filterValue.length) !== -1;
119
+ },
120
+ equals: function equals(value, filter, filterLocale) {
121
+ if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
122
+ return true;
123
+ }
124
+
125
+ if (value === undefined || value === null) {
126
+ return false;
127
+ }
128
+
129
+ if (value.getTime && filter.getTime) return value.getTime() === filter.getTime();else return _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) == _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
130
+ },
131
+ notEquals: function notEquals(value, filter, filterLocale) {
132
+ if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
133
+ return false;
134
+ }
135
+
136
+ if (value === undefined || value === null) {
137
+ return true;
138
+ }
139
+
140
+ if (value.getTime && filter.getTime) return value.getTime() !== filter.getTime();else return _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) != _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
141
+ },
142
+ in: function _in(value, filter) {
143
+ if (filter === undefined || filter === null || filter.length === 0) {
144
+ return true;
145
+ }
146
+
147
+ for (var i = 0; i < filter.length; i++) {
148
+ if (_ObjectUtils.default.equals(value, filter[i])) {
149
+ return true;
150
+ }
151
+ }
152
+
153
+ return false;
154
+ },
155
+ between: function between(value, filter) {
156
+ if (filter == null || filter[0] == null || filter[1] == null) {
157
+ return true;
158
+ }
159
+
160
+ if (value === undefined || value === null) {
161
+ return false;
162
+ }
163
+
164
+ if (value.getTime) return filter[0].getTime() <= value.getTime() && value.getTime() <= filter[1].getTime();else return filter[0] <= value && value <= filter[1];
165
+ },
166
+ lt: function lt(value, filter) {
167
+ if (filter === undefined || filter === null) {
168
+ return true;
169
+ }
170
+
171
+ if (value === undefined || value === null) {
172
+ return false;
173
+ }
174
+
175
+ if (value.getTime && filter.getTime) return value.getTime() < filter.getTime();else return value < filter;
176
+ },
177
+ lte: function lte(value, filter) {
178
+ if (filter === undefined || filter === null) {
179
+ return true;
180
+ }
181
+
182
+ if (value === undefined || value === null) {
183
+ return false;
184
+ }
185
+
186
+ if (value.getTime && filter.getTime) return value.getTime() <= filter.getTime();else return value <= filter;
187
+ },
188
+ gt: function gt(value, filter) {
189
+ if (filter === undefined || filter === null) {
190
+ return true;
191
+ }
192
+
193
+ if (value === undefined || value === null) {
194
+ return false;
195
+ }
196
+
197
+ if (value.getTime && filter.getTime) return value.getTime() > filter.getTime();else return value > filter;
198
+ },
199
+ gte: function gte(value, filter) {
200
+ if (filter === undefined || filter === null) {
201
+ return true;
202
+ }
203
+
204
+ if (value === undefined || value === null) {
205
+ return false;
206
+ }
207
+
208
+ if (value.getTime && filter.getTime) return value.getTime() >= filter.getTime();else return value >= filter;
209
+ },
210
+ dateIs: function dateIs(value, filter) {
211
+ if (filter === undefined || filter === null) {
212
+ return true;
213
+ }
214
+
215
+ if (value === undefined || value === null) {
216
+ return false;
217
+ }
218
+
219
+ return value.toDateString() === filter.toDateString();
220
+ },
221
+ dateIsNot: function dateIsNot(value, filter) {
222
+ if (filter === undefined || filter === null) {
223
+ return true;
224
+ }
225
+
226
+ if (value === undefined || value === null) {
227
+ return false;
228
+ }
229
+
230
+ return value.toDateString() !== filter.toDateString();
231
+ },
232
+ dateBefore: function dateBefore(value, filter) {
233
+ if (filter === undefined || filter === null) {
234
+ return true;
235
+ }
236
+
237
+ if (value === undefined || value === null) {
238
+ return false;
239
+ }
240
+
241
+ return value.getTime() < filter.getTime();
242
+ },
243
+ dateAfter: function dateAfter(value, filter) {
244
+ if (filter === undefined || filter === null) {
245
+ return true;
246
+ }
247
+
248
+ if (value === undefined || value === null) {
249
+ return false;
250
+ }
251
+
252
+ return value.getTime() > filter.getTime();
253
+ }
254
+ },
255
+ register: function register(rule, fn) {
256
+ this.filters[rule] = fn;
257
+ }
258
+ };
259
+ var _default = FilterService;
260
+ exports.default = _default;