primevue 2.7.0 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. package/accordion/accordion.common.js +1 -1
  2. package/accordion/accordion.umd.js +1 -1
  3. package/accordiontab/accordiontab.common.js +23 -1
  4. package/accordiontab/accordiontab.umd.js +23 -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/api/toastseverity.common.js +174 -0
  32. package/api/toastseverity.umd.js +184 -0
  33. package/api/toastseverity.umd.min.js +1 -0
  34. package/autocomplete/autocomplete.common.js +50 -22
  35. package/autocomplete/autocomplete.umd.js +50 -22
  36. package/autocomplete/autocomplete.umd.min.js +1 -1
  37. package/avatar/avatar.common.js +1 -1
  38. package/avatar/avatar.umd.js +1 -1
  39. package/avatargroup/avatargroup.common.js +1 -1
  40. package/avatargroup/avatargroup.umd.js +1 -1
  41. package/badge/badge.common.js +1 -1
  42. package/badge/badge.umd.js +1 -1
  43. package/badgedirective/badgedirective.common.js +22 -0
  44. package/badgedirective/badgedirective.umd.js +22 -0
  45. package/badgedirective/badgedirective.umd.min.js +1 -1
  46. package/blockui/blockui.common.js +23 -1
  47. package/blockui/blockui.umd.js +23 -1
  48. package/blockui/blockui.umd.min.js +1 -1
  49. package/breadcrumb/breadcrumb.common.js +2 -2
  50. package/breadcrumb/breadcrumb.umd.js +2 -2
  51. package/breadcrumb/breadcrumbitem.common.js +1 -1
  52. package/breadcrumb/breadcrumbitem.umd.js +1 -1
  53. package/button/button.common.js +23 -1
  54. package/button/button.umd.js +23 -1
  55. package/button/button.umd.min.js +1 -1
  56. package/calendar/Calendar.vue +28 -8
  57. package/calendar/calendar.common.js +76 -39
  58. package/calendar/calendar.umd.js +76 -39
  59. package/calendar/calendar.umd.min.js +1 -1
  60. package/card/card.common.js +1 -1
  61. package/card/card.umd.js +1 -1
  62. package/carousel/carousel.common.js +23 -1
  63. package/carousel/carousel.umd.js +23 -1
  64. package/carousel/carousel.umd.min.js +1 -1
  65. package/cascadeselect/cascadeselect.common.js +44 -15
  66. package/cascadeselect/cascadeselect.umd.js +44 -15
  67. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  68. package/cascadeselect/cascadeselectsub.common.js +43 -14
  69. package/cascadeselect/cascadeselectsub.umd.js +43 -14
  70. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  71. package/chart/Chart.vue +16 -5
  72. package/chart/chart.common.js +18 -6
  73. package/chart/chart.umd.js +18 -6
  74. package/chart/chart.umd.min.js +1 -1
  75. package/checkbox/checkbox.common.js +26 -14
  76. package/checkbox/checkbox.umd.js +26 -14
  77. package/checkbox/checkbox.umd.min.js +1 -1
  78. package/chip/chip.common.js +1 -1
  79. package/chip/chip.umd.js +1 -1
  80. package/chips/chips.common.js +1 -1
  81. package/chips/chips.umd.js +1 -1
  82. package/colorpicker/colorpicker.common.js +23 -1
  83. package/colorpicker/colorpicker.umd.js +23 -1
  84. package/colorpicker/colorpicker.umd.min.js +1 -1
  85. package/column/Column.d.ts +2 -0
  86. package/column/Column.vue +72 -12
  87. package/column/column.common.js +71 -11
  88. package/column/column.umd.js +71 -11
  89. package/column/column.umd.min.js +1 -1
  90. package/columngroup/columngroup.common.js +1 -1
  91. package/columngroup/columngroup.umd.js +1 -1
  92. package/config/PrimeVue.d.ts +24 -2
  93. package/config/PrimeVue.js +34 -4
  94. package/config/primevue.common.js +3589 -130
  95. package/config/primevue.umd.js +3589 -130
  96. package/config/primevue.umd.min.js +1 -1
  97. package/confirmdialog/confirmdialog.common.js +38 -14
  98. package/confirmdialog/confirmdialog.umd.js +38 -14
  99. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  100. package/confirmpopup/confirmpopup.common.js +24 -2
  101. package/confirmpopup/confirmpopup.umd.js +24 -2
  102. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  103. package/contextmenu/contextmenu.common.js +24 -2
  104. package/contextmenu/contextmenu.umd.js +24 -2
  105. package/contextmenu/contextmenu.umd.min.js +1 -1
  106. package/contextmenu/contextmenusub.common.js +23 -1
  107. package/contextmenu/contextmenusub.umd.js +23 -1
  108. package/contextmenu/contextmenusub.umd.min.js +1 -1
  109. package/contextmenu/demo.html +3 -4
  110. package/datatable/BodyCell.vue +129 -40
  111. package/datatable/ColumnFilter.vue +558 -0
  112. package/datatable/ColumnSlot.vue +36 -1
  113. package/datatable/DataTable.d.ts +36 -8
  114. package/datatable/DataTable.vue +605 -395
  115. package/datatable/FooterCell.vue +82 -0
  116. package/datatable/HeaderCell.vue +246 -0
  117. package/datatable/HeaderCheckbox.vue +7 -4
  118. package/datatable/RowCheckbox.vue +2 -2
  119. package/datatable/RowRadioButton.vue +1 -1
  120. package/datatable/TableBody.vue +79 -19
  121. package/datatable/TableFooter.vue +34 -18
  122. package/datatable/TableHeader.vue +79 -134
  123. package/datatable/bodycell.common.js +640 -71
  124. package/datatable/bodycell.umd.js +640 -71
  125. package/datatable/bodycell.umd.min.js +1 -1
  126. package/datatable/columnfilter.common.js +7616 -0
  127. package/datatable/columnfilter.umd.js +7626 -0
  128. package/datatable/columnfilter.umd.min.js +1 -0
  129. package/datatable/columnslot.common.js +36 -1
  130. package/datatable/columnslot.umd.js +36 -1
  131. package/datatable/columnslot.umd.min.js +1 -1
  132. package/datatable/datatable.common.js +3014 -1849
  133. package/datatable/datatable.umd.js +3014 -1849
  134. package/datatable/datatable.umd.min.js +1 -1
  135. package/datatable/demo.html +3 -3
  136. package/datatable/{scrollableview.common.js → footercell.common.js} +1880 -411
  137. package/datatable/{scrollableview.umd.js → footercell.umd.js} +1882 -413
  138. package/datatable/footercell.umd.min.js +1 -0
  139. package/datatable/headercell.common.js +8082 -0
  140. package/datatable/headercell.umd.js +8092 -0
  141. package/datatable/headercell.umd.min.js +1 -0
  142. package/datatable/headercheckbox.common.js +8 -5
  143. package/datatable/headercheckbox.umd.js +8 -5
  144. package/datatable/headercheckbox.umd.min.js +1 -1
  145. package/datatable/rowcheckbox.common.js +3 -3
  146. package/datatable/rowcheckbox.umd.js +3 -3
  147. package/datatable/rowcheckbox.umd.min.js +1 -1
  148. package/datatable/rowradiobutton.common.js +3 -3
  149. package/datatable/rowradiobutton.umd.js +3 -3
  150. package/datatable/rowradiobutton.umd.min.js +1 -1
  151. package/datatable/tablebody.common.js +1089 -458
  152. package/datatable/tablebody.umd.js +1089 -458
  153. package/datatable/tablebody.umd.min.js +1 -1
  154. package/datatable/tablefooter.common.js +3804 -105
  155. package/datatable/tablefooter.umd.js +3804 -105
  156. package/datatable/tablefooter.umd.min.js +1 -1
  157. package/datatable/tableheader.common.js +6658 -2144
  158. package/datatable/tableheader.umd.js +6658 -2144
  159. package/datatable/tableheader.umd.min.js +1 -1
  160. package/datatable/tableloadingbody.common.js +37 -2
  161. package/datatable/tableloadingbody.umd.js +37 -2
  162. package/datatable/tableloadingbody.umd.min.js +1 -1
  163. package/dataview/dataview.common.js +77 -47
  164. package/dataview/dataview.umd.js +77 -47
  165. package/dataview/dataview.umd.min.js +1 -1
  166. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
  167. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
  168. package/deferredcontent/deferredcontent.common.js +1 -1
  169. package/deferredcontent/deferredcontent.umd.js +1 -1
  170. package/dialog/Dialog.d.ts +1 -0
  171. package/dialog/Dialog.vue +7 -4
  172. package/dialog/dialog.common.js +33 -12
  173. package/dialog/dialog.umd.js +33 -12
  174. package/dialog/dialog.umd.min.js +1 -1
  175. package/divider/divider.common.js +1 -1
  176. package/divider/divider.umd.js +1 -1
  177. package/dock/dock.common.js +2 -2
  178. package/dock/dock.umd.js +2 -2
  179. package/dock/docksub.common.js +1 -1
  180. package/dock/docksub.umd.js +1 -1
  181. package/dropdown/Dropdown.vue +6 -3
  182. package/dropdown/dropdown.common.js +48 -18
  183. package/dropdown/dropdown.umd.js +48 -18
  184. package/dropdown/dropdown.umd.min.js +1 -1
  185. package/editor/editor.common.js +1 -1
  186. package/editor/editor.umd.js +1 -1
  187. package/fieldset/fieldset.common.js +23 -1
  188. package/fieldset/fieldset.umd.js +23 -1
  189. package/fieldset/fieldset.umd.min.js +1 -1
  190. package/fileupload/fileupload.common.js +26 -4
  191. package/fileupload/fileupload.umd.js +26 -4
  192. package/fileupload/fileupload.umd.min.js +1 -1
  193. package/fullcalendar/fullcalendar.common.js +6 -10
  194. package/fullcalendar/fullcalendar.umd.js +6 -10
  195. package/fullcalendar/fullcalendar.umd.min.js +2 -2
  196. package/galleria/galleria.common.js +26 -8
  197. package/galleria/galleria.umd.js +26 -8
  198. package/galleria/galleria.umd.min.js +1 -1
  199. package/galleria/galleriacontent.common.js +25 -3
  200. package/galleria/galleriacontent.umd.js +25 -3
  201. package/galleria/galleriacontent.umd.min.js +1 -1
  202. package/galleria/galleriaitem.common.js +23 -1
  203. package/galleria/galleriaitem.umd.js +23 -1
  204. package/galleria/galleriaitem.umd.min.js +1 -1
  205. package/galleria/galleriathumbnails.common.js +23 -1
  206. package/galleria/galleriathumbnails.umd.js +23 -1
  207. package/galleria/galleriathumbnails.umd.min.js +1 -1
  208. package/imagepreview/imagepreview.common.js +23 -1
  209. package/imagepreview/imagepreview.umd.js +23 -1
  210. package/imagepreview/imagepreview.umd.min.js +1 -1
  211. package/inlinemessage/inlinemessage.common.js +1 -1
  212. package/inlinemessage/inlinemessage.umd.js +1 -1
  213. package/inplace/inplace.common.js +24 -2
  214. package/inplace/inplace.umd.js +24 -2
  215. package/inplace/inplace.umd.min.js +1 -1
  216. package/inputmask/inputmask.common.js +25 -7
  217. package/inputmask/inputmask.umd.js +25 -7
  218. package/inputmask/inputmask.umd.min.js +1 -1
  219. package/inputnumber/InputNumber.vue +3 -1
  220. package/inputnumber/inputnumber.common.js +33 -14
  221. package/inputnumber/inputnumber.umd.js +33 -14
  222. package/inputnumber/inputnumber.umd.min.js +1 -1
  223. package/inputswitch/inputswitch.common.js +1 -1
  224. package/inputswitch/inputswitch.umd.js +1 -1
  225. package/inputtext/inputtext.common.js +3 -7
  226. package/inputtext/inputtext.umd.js +3 -7
  227. package/inputtext/inputtext.umd.min.js +1 -1
  228. package/knob/Knob.vue +1 -1
  229. package/knob/knob.common.js +3 -3
  230. package/knob/knob.umd.js +3 -3
  231. package/knob/knob.umd.min.js +1 -1
  232. package/listbox/listbox.common.js +43 -14
  233. package/listbox/listbox.umd.js +43 -14
  234. package/listbox/listbox.umd.min.js +1 -1
  235. package/megamenu/megamenu.common.js +23 -1
  236. package/megamenu/megamenu.umd.js +23 -1
  237. package/megamenu/megamenu.umd.min.js +1 -1
  238. package/menu/menu.common.js +24 -2
  239. package/menu/menu.umd.js +24 -2
  240. package/menu/menu.umd.min.js +1 -1
  241. package/menu/menuitem.common.js +23 -1
  242. package/menu/menuitem.umd.js +23 -1
  243. package/menu/menuitem.umd.min.js +1 -1
  244. package/menubar/menubar.common.js +24 -2
  245. package/menubar/menubar.umd.js +24 -2
  246. package/menubar/menubar.umd.min.js +1 -1
  247. package/menubar/menubarsub.common.js +23 -1
  248. package/menubar/menubarsub.umd.js +23 -1
  249. package/menubar/menubarsub.umd.min.js +1 -1
  250. package/message/message.common.js +23 -1
  251. package/message/message.umd.js +23 -1
  252. package/message/message.umd.min.js +1 -1
  253. package/multiselect/MultiSelect.vue +2 -2
  254. package/multiselect/multiselect.common.js +45 -16
  255. package/multiselect/multiselect.umd.js +45 -16
  256. package/multiselect/multiselect.umd.min.js +1 -1
  257. package/orderlist/OrderList.d.ts +1 -0
  258. package/orderlist/OrderList.vue +12 -1
  259. package/orderlist/orderlist.common.js +57 -17
  260. package/orderlist/orderlist.umd.js +57 -17
  261. package/orderlist/orderlist.umd.min.js +1 -1
  262. package/organizationchart/organizationchart.common.js +26 -8
  263. package/organizationchart/organizationchart.umd.js +26 -8
  264. package/organizationchart/organizationchart.umd.min.js +1 -1
  265. package/organizationchart/organizationchartnode.common.js +23 -1
  266. package/organizationchart/organizationchartnode.umd.js +23 -1
  267. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  268. package/overlayeventbus/OverlayEventBus.js +14 -0
  269. package/overlayeventbus/demo.html +8 -0
  270. package/overlayeventbus/index.d.ts +1 -0
  271. package/overlayeventbus/index.js +2 -0
  272. package/overlayeventbus/overlayeventbus.common.js +1777 -0
  273. package/overlayeventbus/overlayeventbus.umd.js +1787 -0
  274. package/overlayeventbus/overlayeventbus.umd.min.js +1 -0
  275. package/overlaypanel/overlaypanel.common.js +23 -1
  276. package/overlaypanel/overlaypanel.umd.js +23 -1
  277. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  278. package/package.json +1 -1
  279. package/paginator/currentpagereport.common.js +1 -1
  280. package/paginator/currentpagereport.umd.js +1 -1
  281. package/paginator/firstpagelink.common.js +23 -1
  282. package/paginator/firstpagelink.umd.js +23 -1
  283. package/paginator/firstpagelink.umd.min.js +1 -1
  284. package/paginator/jumptopagedropdown.common.js +52 -22
  285. package/paginator/jumptopagedropdown.umd.js +52 -22
  286. package/paginator/jumptopagedropdown.umd.min.js +1 -1
  287. package/paginator/jumptopageinput.common.js +38 -19
  288. package/paginator/jumptopageinput.umd.js +38 -19
  289. package/paginator/jumptopageinput.umd.min.js +1 -1
  290. package/paginator/lastpagelink.common.js +23 -1
  291. package/paginator/lastpagelink.umd.js +23 -1
  292. package/paginator/lastpagelink.umd.min.js +1 -1
  293. package/paginator/nextpagelink.common.js +23 -1
  294. package/paginator/nextpagelink.umd.js +23 -1
  295. package/paginator/nextpagelink.umd.min.js +1 -1
  296. package/paginator/pagelinks.common.js +23 -1
  297. package/paginator/pagelinks.umd.js +23 -1
  298. package/paginator/pagelinks.umd.min.js +1 -1
  299. package/paginator/paginator.common.js +76 -46
  300. package/paginator/paginator.umd.js +76 -46
  301. package/paginator/paginator.umd.min.js +1 -1
  302. package/paginator/prevpagelink.common.js +23 -1
  303. package/paginator/prevpagelink.umd.js +23 -1
  304. package/paginator/prevpagelink.umd.min.js +1 -1
  305. package/paginator/rowsperpagedropdown.common.js +52 -22
  306. package/paginator/rowsperpagedropdown.umd.js +52 -22
  307. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  308. package/panel/panel.common.js +23 -1
  309. package/panel/panel.umd.js +23 -1
  310. package/panel/panel.umd.min.js +1 -1
  311. package/panelmenu/PanelMenuSub.vue +2 -2
  312. package/panelmenu/panelmenu.common.js +9 -9
  313. package/panelmenu/panelmenu.umd.js +9 -9
  314. package/panelmenu/panelmenu.umd.min.js +1 -1
  315. package/panelmenu/panelmenusub.common.js +4 -4
  316. package/panelmenu/panelmenusub.umd.js +4 -4
  317. package/panelmenu/panelmenusub.umd.min.js +1 -1
  318. package/password/password.common.js +26 -8
  319. package/password/password.umd.js +26 -8
  320. package/password/password.umd.min.js +1 -1
  321. package/picklist/PickList.d.ts +1 -0
  322. package/picklist/PickList.vue +10 -4
  323. package/picklist/picklist.common.js +55 -20
  324. package/picklist/picklist.umd.js +55 -20
  325. package/picklist/picklist.umd.min.js +1 -1
  326. package/progressbar/progressbar.common.js +1 -1
  327. package/progressbar/progressbar.umd.js +1 -1
  328. package/progressspinner/progressspinner.common.js +1 -1
  329. package/progressspinner/progressspinner.umd.js +1 -1
  330. package/radiobutton/radiobutton.common.js +26 -14
  331. package/radiobutton/radiobutton.umd.js +26 -14
  332. package/radiobutton/radiobutton.umd.min.js +1 -1
  333. package/rating/rating.common.js +1 -1
  334. package/rating/rating.umd.js +1 -1
  335. package/resources/themes/arya-blue/theme.css +299 -22
  336. package/resources/themes/arya-green/theme.css +299 -22
  337. package/resources/themes/arya-orange/theme.css +299 -22
  338. package/resources/themes/arya-purple/theme.css +299 -22
  339. package/resources/themes/bootstrap4-dark-blue/theme.css +287 -6
  340. package/resources/themes/bootstrap4-dark-purple/theme.css +287 -6
  341. package/resources/themes/bootstrap4-light-blue/theme.css +286 -5
  342. package/resources/themes/bootstrap4-light-purple/theme.css +286 -5
  343. package/resources/themes/fluent-light/theme.css +298 -21
  344. package/resources/themes/lara-dark-blue/theme.css +638 -405
  345. package/resources/themes/lara-dark-indigo/theme.css +638 -405
  346. package/resources/themes/lara-dark-purple/theme.css +638 -405
  347. package/resources/themes/lara-dark-teal/theme.css +638 -405
  348. package/resources/themes/lara-light-blue/theme.css +398 -165
  349. package/resources/themes/lara-light-indigo/theme.css +305 -72
  350. package/resources/themes/lara-light-purple/theme.css +305 -72
  351. package/resources/themes/lara-light-teal/theme.css +305 -72
  352. package/resources/themes/luna-amber/theme.css +298 -21
  353. package/resources/themes/luna-blue/theme.css +298 -21
  354. package/resources/themes/luna-green/theme.css +298 -21
  355. package/resources/themes/luna-pink/theme.css +298 -21
  356. package/resources/themes/md-dark-deeppurple/theme.css +372 -12
  357. package/resources/themes/md-dark-indigo/theme.css +372 -12
  358. package/resources/themes/md-light-deeppurple/theme.css +369 -9
  359. package/resources/themes/md-light-indigo/theme.css +369 -9
  360. package/resources/themes/mdc-dark-deeppurple/theme.css +372 -12
  361. package/resources/themes/mdc-dark-indigo/theme.css +372 -12
  362. package/resources/themes/mdc-light-deeppurple/theme.css +369 -9
  363. package/resources/themes/mdc-light-indigo/theme.css +369 -9
  364. package/resources/themes/nova/theme.css +298 -21
  365. package/resources/themes/nova-accent/theme.css +298 -21
  366. package/resources/themes/nova-alt/theme.css +298 -21
  367. package/resources/themes/nova-vue/theme.css +298 -21
  368. package/resources/themes/rhea/theme.css +298 -21
  369. package/resources/themes/saga-blue/theme.css +282 -5
  370. package/resources/themes/saga-green/theme.css +282 -5
  371. package/resources/themes/saga-orange/theme.css +282 -5
  372. package/resources/themes/saga-purple/theme.css +282 -5
  373. package/resources/themes/tailwind-light/theme.css +301 -24
  374. package/resources/themes/vela-blue/theme.css +299 -22
  375. package/resources/themes/vela-green/theme.css +299 -22
  376. package/resources/themes/vela-orange/theme.css +299 -22
  377. package/resources/themes/vela-purple/theme.css +299 -22
  378. package/ripple/ripple.common.js +22 -0
  379. package/ripple/ripple.umd.js +22 -0
  380. package/ripple/ripple.umd.min.js +1 -1
  381. package/row/row.common.js +1 -1
  382. package/row/row.umd.js +1 -1
  383. package/scrollpanel/scrollpanel.common.js +23 -1
  384. package/scrollpanel/scrollpanel.umd.js +23 -1
  385. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  386. package/scrolltop/scrolltop.common.js +23 -1
  387. package/scrolltop/scrolltop.umd.js +23 -1
  388. package/scrolltop/scrolltop.umd.min.js +1 -1
  389. package/selectbutton/selectbutton.common.js +43 -14
  390. package/selectbutton/selectbutton.umd.js +43 -14
  391. package/selectbutton/selectbutton.umd.min.js +1 -1
  392. package/sidebar/Sidebar.vue +2 -0
  393. package/sidebar/sidebar.common.js +25 -3
  394. package/sidebar/sidebar.umd.js +25 -3
  395. package/sidebar/sidebar.umd.min.js +1 -1
  396. package/skeleton/skeleton.common.js +1 -1
  397. package/skeleton/skeleton.umd.js +1 -1
  398. package/slider/Slider.vue +20 -12
  399. package/slider/slider.common.js +36 -9
  400. package/slider/slider.umd.js +36 -9
  401. package/slider/slider.umd.min.js +1 -1
  402. package/speeddial/speeddial.common.js +26 -8
  403. package/speeddial/speeddial.umd.js +26 -8
  404. package/speeddial/speeddial.umd.min.js +1 -1
  405. package/splitbutton/SplitButton.vue +7 -3
  406. package/splitbutton/splitbutton.common.js +66 -44
  407. package/splitbutton/splitbutton.umd.js +66 -44
  408. package/splitbutton/splitbutton.umd.min.js +1 -1
  409. package/splitter/splitter.common.js +22 -0
  410. package/splitter/splitter.umd.js +22 -0
  411. package/splitter/splitter.umd.min.js +1 -1
  412. package/steps/Steps.vue +1 -1
  413. package/steps/steps.common.js +3 -3
  414. package/steps/steps.umd.js +3 -3
  415. package/steps/steps.umd.min.js +1 -1
  416. package/styleclass/styleclass.common.js +22 -0
  417. package/styleclass/styleclass.umd.js +22 -0
  418. package/styleclass/styleclass.umd.min.js +1 -1
  419. package/tabmenu/tabmenu.common.js +23 -1
  420. package/tabmenu/tabmenu.umd.js +23 -1
  421. package/tabmenu/tabmenu.umd.min.js +1 -1
  422. package/tabpanel/tabpanel.common.js +1 -1
  423. package/tabpanel/tabpanel.umd.js +1 -1
  424. package/tabview/TabView.vue +1 -1
  425. package/tabview/tabview.common.js +45 -16
  426. package/tabview/tabview.umd.js +45 -16
  427. package/tabview/tabview.umd.min.js +1 -1
  428. package/tag/Tag.vue +1 -1
  429. package/tag/tag.common.js +3 -3
  430. package/tag/tag.umd.js +3 -3
  431. package/tag/tag.umd.min.js +1 -1
  432. package/terminal/terminal.common.js +1 -1
  433. package/terminal/terminal.umd.js +1 -1
  434. package/textarea/textarea.common.js +3 -7
  435. package/textarea/textarea.umd.js +3 -7
  436. package/textarea/textarea.umd.min.js +1 -1
  437. package/tieredmenu/demo.html +3 -4
  438. package/tieredmenu/tieredmenu.common.js +24 -2
  439. package/tieredmenu/tieredmenu.umd.js +24 -2
  440. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  441. package/tieredmenu/tieredmenusub.common.js +23 -1
  442. package/tieredmenu/tieredmenusub.umd.js +23 -1
  443. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  444. package/timeline/timeline.common.js +26 -14
  445. package/timeline/timeline.umd.js +26 -14
  446. package/timeline/timeline.umd.min.js +1 -1
  447. package/toast/toast.common.js +24 -2
  448. package/toast/toast.umd.js +24 -2
  449. package/toast/toast.umd.min.js +1 -1
  450. package/toast/toastmessage.common.js +23 -1
  451. package/toast/toastmessage.umd.js +23 -1
  452. package/toast/toastmessage.umd.min.js +1 -1
  453. package/togglebutton/togglebutton.common.js +23 -1
  454. package/togglebutton/togglebutton.umd.js +23 -1
  455. package/togglebutton/togglebutton.umd.min.js +1 -1
  456. package/toolbar/toolbar.common.js +1 -1
  457. package/toolbar/toolbar.umd.js +1 -1
  458. package/tooltip/Tooltip.js +1 -1
  459. package/tooltip/tooltip.common.js +29 -13
  460. package/tooltip/tooltip.umd.js +29 -13
  461. package/tooltip/tooltip.umd.min.js +1 -1
  462. package/tree/Tree.vue +1 -0
  463. package/tree/tree.common.js +53 -26
  464. package/tree/tree.umd.js +53 -26
  465. package/tree/tree.umd.min.js +1 -1
  466. package/tree/treenode.common.js +25 -7
  467. package/tree/treenode.umd.js +25 -7
  468. package/tree/treenode.umd.min.js +1 -1
  469. package/treetable/FooterCell.vue +81 -0
  470. package/treetable/HeaderCell.vue +183 -0
  471. package/treetable/TreeTable.d.ts +1 -0
  472. package/treetable/TreeTable.vue +65 -106
  473. package/treetable/TreeTableRow.vue +7 -4
  474. package/treetable/footercell.common.js +5304 -0
  475. package/treetable/footercell.umd.js +5314 -0
  476. package/treetable/footercell.umd.min.js +1 -0
  477. package/treetable/headercell.common.js +5533 -0
  478. package/treetable/headercell.umd.js +5543 -0
  479. package/treetable/headercell.umd.min.js +1 -0
  480. package/treetable/treetable.common.js +944 -507
  481. package/treetable/treetable.umd.js +944 -507
  482. package/treetable/treetable.umd.min.js +1 -1
  483. package/treetable/treetablerow.common.js +53 -22
  484. package/treetable/treetablerow.umd.js +53 -22
  485. package/treetable/treetablerow.umd.min.js +1 -1
  486. package/treetable/treetablerowloader.common.js +56 -26
  487. package/treetable/treetablerowloader.umd.js +56 -26
  488. package/treetable/treetablerowloader.umd.min.js +1 -1
  489. package/tristatecheckbox/tristatecheckbox.common.js +1 -1
  490. package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
  491. package/utils/ConnectedOverlayScrollHandler.js +1 -1
  492. package/utils/DomHandler.js +18 -1
  493. package/utils/ObjectUtils.js +15 -2
  494. package/utils/Utils.d.ts +73 -0
  495. package/utils/Utils.js +47 -0
  496. package/utils/connectedoverlayscrollhandler.common.js +22 -0
  497. package/utils/connectedoverlayscrollhandler.umd.js +22 -0
  498. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  499. package/utils/demo.html +3 -3
  500. package/utils/domhandler.common.js +22 -0
  501. package/utils/domhandler.umd.js +22 -0
  502. package/utils/domhandler.umd.min.js +1 -1
  503. package/utils/index.d.ts +1 -0
  504. package/utils/index.js +2 -0
  505. package/utils/objectutils.common.js +25 -13
  506. package/utils/objectutils.umd.js +25 -13
  507. package/utils/objectutils.umd.min.js +1 -1
  508. package/utils/utils.common.js +5486 -0
  509. package/utils/utils.umd.js +5496 -0
  510. package/utils/utils.umd.min.js +1 -0
  511. package/vetur-attributes.json +28 -0
  512. package/vetur-tags.json +11 -4
  513. package/web-types.json +84 -1
  514. package/datatable/ScrollableView.vue +0 -223
  515. package/datatable/scrollableview.umd.min.js +0 -1
  516. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  517. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  518. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  519. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  520. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  521. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  522. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  523. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  524. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  525. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  526. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  527. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  528. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  529. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  530. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  531. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  532. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  533. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  534. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  535. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  536. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  537. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  538. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  539. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  540. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  541. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  542. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  543. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  544. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  545. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  546. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  547. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  548. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  549. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  550. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  551. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  552. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  553. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  554. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  555. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  556. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  557. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  558. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  559. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  560. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  561. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  562. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  563. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  564. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  565. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  566. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  567. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  568. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  569. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  570. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  571. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  572. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  573. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  574. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  575. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  576. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  577. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  578. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  579. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  580. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  581. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  582. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  583. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  584. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  585. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  586. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  587. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  588. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  589. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  590. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  591. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  592. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  593. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  594. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  595. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  596. package/utils/FilterUtils.js +0 -176
  597. 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;