primevue 2.10.0 → 2.10.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 (331) hide show
  1. package/README.md +150 -3
  2. package/accordion/accordion.common.js +2 -7
  3. package/accordion/accordion.umd.js +2 -7
  4. package/accordiontab/accordiontab.common.js +15 -68
  5. package/accordiontab/accordiontab.umd.js +15 -68
  6. package/api/Api.d.ts +24 -2
  7. package/api/Api.js +0 -6
  8. package/api/FilterService.js +2 -55
  9. package/api/PrimeIcons.js +24 -2
  10. package/api/api.common.js +35 -98
  11. package/api/api.umd.js +35 -98
  12. package/api/api.umd.min.js +1 -1
  13. package/api/filterservice.common.js +11 -96
  14. package/api/filterservice.umd.js +11 -96
  15. package/api/primeicons.common.js +24 -2
  16. package/api/primeicons.umd.js +24 -2
  17. package/api/primeicons.umd.min.js +1 -1
  18. package/autocomplete/autocomplete.common.js +33 -189
  19. package/autocomplete/autocomplete.umd.js +33 -189
  20. package/avatar/avatar.common.js +2 -4
  21. package/avatar/avatar.umd.js +2 -4
  22. package/avatargroup/avatargroup.common.js +2 -4
  23. package/avatargroup/avatargroup.umd.js +2 -4
  24. package/badge/badge.common.js +2 -4
  25. package/badge/badge.umd.js +2 -4
  26. package/badgedirective/BadgeDirective.js +0 -13
  27. package/badgedirective/badgedirective.common.js +13 -71
  28. package/badgedirective/badgedirective.umd.js +13 -71
  29. package/blockui/blockui.common.js +15 -73
  30. package/blockui/blockui.umd.js +15 -73
  31. package/breadcrumb/breadcrumb.common.js +7 -12
  32. package/breadcrumb/breadcrumb.umd.js +7 -12
  33. package/breadcrumb/breadcrumbitem.common.js +5 -8
  34. package/breadcrumb/breadcrumbitem.umd.js +5 -8
  35. package/button/button.common.js +15 -81
  36. package/button/button.umd.js +15 -81
  37. package/calendar/calendar.common.js +109 -498
  38. package/calendar/calendar.umd.js +109 -498
  39. package/card/card.common.js +2 -4
  40. package/card/card.umd.js +2 -4
  41. package/carousel/carousel.common.js +15 -123
  42. package/carousel/carousel.umd.js +15 -123
  43. package/cascadeselect/cascadeselect.common.js +29 -187
  44. package/cascadeselect/cascadeselect.umd.js +29 -187
  45. package/cascadeselect/cascadeselectsub.common.js +25 -149
  46. package/cascadeselect/cascadeselectsub.umd.js +25 -149
  47. package/cascadeselect/demo.html +4 -3
  48. package/chart/chart.common.js +2 -9
  49. package/chart/chart.umd.js +2 -9
  50. package/checkbox/checkbox.common.js +11 -61
  51. package/checkbox/checkbox.umd.js +11 -61
  52. package/chip/chip.common.js +2 -4
  53. package/chip/chip.umd.js +2 -4
  54. package/chips/chips.common.js +3 -20
  55. package/chips/chips.umd.js +3 -20
  56. package/colorpicker/colorpicker.common.js +16 -111
  57. package/colorpicker/colorpicker.umd.js +16 -111
  58. package/columngroup/columngroup.common.js +2 -4
  59. package/columngroup/columngroup.umd.js +2 -4
  60. package/config/PrimeVue.js +0 -5
  61. package/config/primevue.common.js +35 -102
  62. package/config/primevue.umd.js +35 -102
  63. package/config/primevue.umd.min.js +1 -1
  64. package/confirmationeventbus/ConfirmationEventBus.js +0 -4
  65. package/confirmationeventbus/confirmationeventbus.common.js +0 -2
  66. package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
  67. package/confirmationservice/ConfirmationService.js +0 -3
  68. package/confirmationservice/confirmationservice.common.js +0 -2
  69. package/confirmationservice/confirmationservice.umd.js +0 -2
  70. package/confirmdialog/confirmdialog.common.js +19 -107
  71. package/confirmdialog/confirmdialog.umd.js +19 -107
  72. package/confirmpopup/confirmpopup.common.js +17 -109
  73. package/confirmpopup/confirmpopup.umd.js +17 -109
  74. package/contextmenu/contextmenu.common.js +28 -111
  75. package/contextmenu/contextmenu.umd.js +28 -111
  76. package/contextmenu/contextmenusub.common.js +18 -90
  77. package/contextmenu/contextmenusub.umd.js +18 -90
  78. package/datatable/bodycell.common.js +28 -164
  79. package/datatable/bodycell.umd.js +28 -164
  80. package/datatable/columnfilter.common.js +35 -247
  81. package/datatable/columnfilter.umd.js +35 -247
  82. package/datatable/datatable.common.js +165 -855
  83. package/datatable/datatable.umd.js +165 -855
  84. package/datatable/datatable.umd.min.js +1 -1
  85. package/datatable/demo.html +3 -5
  86. package/datatable/footercell.common.js +24 -119
  87. package/datatable/footercell.umd.js +24 -119
  88. package/datatable/headercell.common.js +39 -266
  89. package/datatable/headercell.umd.js +39 -266
  90. package/datatable/headercheckbox.common.js +2 -4
  91. package/datatable/headercheckbox.umd.js +2 -4
  92. package/datatable/rowcheckbox.common.js +2 -4
  93. package/datatable/rowcheckbox.umd.js +2 -4
  94. package/datatable/rowradiobutton.common.js +2 -4
  95. package/datatable/rowradiobutton.umd.js +2 -4
  96. package/datatable/tablebody.common.js +30 -191
  97. package/datatable/tablebody.umd.js +30 -191
  98. package/datatable/tablefooter.common.js +27 -135
  99. package/datatable/tablefooter.umd.js +27 -135
  100. package/datatable/tableheader.common.js +41 -273
  101. package/datatable/tableheader.umd.js +41 -273
  102. package/datatable/tableloadingbody.common.js +2 -4
  103. package/datatable/tableloadingbody.umd.js +2 -4
  104. package/dataview/dataview.common.js +121 -407
  105. package/dataview/dataview.umd.js +121 -407
  106. package/dataview/dataview.umd.min.js +1 -1
  107. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +2 -4
  108. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +2 -4
  109. package/deferredcontent/deferredcontent.common.js +2 -7
  110. package/deferredcontent/deferredcontent.umd.js +2 -7
  111. package/dialog/dialog.common.js +15 -93
  112. package/dialog/dialog.umd.js +15 -93
  113. package/divider/divider.common.js +2 -4
  114. package/divider/divider.umd.js +2 -4
  115. package/dock/dock.common.js +7 -14
  116. package/dock/dock.umd.js +7 -14
  117. package/dock/docksub.common.js +5 -9
  118. package/dock/docksub.umd.js +5 -9
  119. package/dropdown/dropdown.common.js +31 -188
  120. package/dropdown/dropdown.umd.js +31 -188
  121. package/editor/editor.common.js +8 -21
  122. package/editor/editor.umd.js +8 -21
  123. package/fieldset/fieldset.common.js +15 -81
  124. package/fieldset/fieldset.umd.js +15 -81
  125. package/fileupload/fileupload.common.js +28 -142
  126. package/fileupload/fileupload.umd.js +28 -142
  127. package/fullcalendar/fullcalendar.common.js +10 -17
  128. package/fullcalendar/fullcalendar.umd.js +10 -17
  129. package/fullcalendar/fullcalendar.umd.min.js +3 -3
  130. package/galleria/galleria.common.js +25 -147
  131. package/galleria/galleria.umd.js +25 -147
  132. package/galleria/galleriacontent.common.js +23 -137
  133. package/galleria/galleriacontent.umd.js +23 -137
  134. package/galleria/galleriaitem.common.js +19 -93
  135. package/galleria/galleriaitem.umd.js +19 -93
  136. package/galleria/galleriaitemslot.common.js +4 -10
  137. package/galleria/galleriaitemslot.umd.js +4 -10
  138. package/galleria/galleriathumbnails.common.js +19 -125
  139. package/galleria/galleriathumbnails.umd.js +19 -125
  140. package/imagepreview/imagepreview.common.js +16 -71
  141. package/imagepreview/imagepreview.umd.js +16 -71
  142. package/inlinemessage/inlinemessage.common.js +2 -5
  143. package/inlinemessage/inlinemessage.umd.js +2 -5
  144. package/inplace/inplace.common.js +17 -85
  145. package/inplace/inplace.umd.js +17 -85
  146. package/inputmask/inputmask.common.js +31 -155
  147. package/inputmask/inputmask.umd.js +31 -155
  148. package/inputnumber/InputNumber.vue +2 -2
  149. package/inputnumber/inputnumber.common.js +73 -233
  150. package/inputnumber/inputnumber.umd.js +73 -233
  151. package/inputnumber/inputnumber.umd.min.js +1 -1
  152. package/inputswitch/inputswitch.common.js +2 -5
  153. package/inputswitch/inputswitch.umd.js +2 -5
  154. package/inputtext/inputtext.common.js +2 -9
  155. package/inputtext/inputtext.umd.js +2 -9
  156. package/knob/knob.common.js +4 -5
  157. package/knob/knob.umd.js +4 -5
  158. package/listbox/listbox.common.js +27 -156
  159. package/listbox/listbox.umd.js +27 -156
  160. package/megamenu/megamenu.common.js +24 -111
  161. package/megamenu/megamenu.umd.js +24 -111
  162. package/menu/menu.common.js +20 -107
  163. package/menu/menu.umd.js +20 -107
  164. package/menu/menuitem.common.js +18 -84
  165. package/menu/menuitem.umd.js +18 -84
  166. package/menubar/demo.html +4 -3
  167. package/menubar/menubar.common.js +23 -112
  168. package/menubar/menubar.umd.js +23 -112
  169. package/menubar/menubarsub.common.js +21 -106
  170. package/menubar/menubarsub.umd.js +21 -106
  171. package/message/message.common.js +15 -82
  172. package/message/message.umd.js +15 -82
  173. package/multiselect/multiselect.common.js +32 -189
  174. package/multiselect/multiselect.umd.js +32 -189
  175. package/orderlist/orderlist.common.js +28 -162
  176. package/orderlist/orderlist.umd.js +28 -162
  177. package/organizationchart/organizationchart.common.js +17 -82
  178. package/organizationchart/organizationchart.umd.js +17 -82
  179. package/organizationchart/organizationchartnode.common.js +15 -68
  180. package/organizationchart/organizationchartnode.umd.js +15 -68
  181. package/overlayeventbus/OverlayEventBus.js +0 -4
  182. package/overlayeventbus/overlayeventbus.common.js +0 -2
  183. package/overlayeventbus/overlayeventbus.umd.js +0 -2
  184. package/overlaypanel/overlaypanel.common.js +15 -104
  185. package/overlaypanel/overlaypanel.umd.js +15 -104
  186. package/package.json +2 -2
  187. package/paginator/currentpagereport.common.js +2 -4
  188. package/paginator/currentpagereport.umd.js +2 -4
  189. package/paginator/firstpagelink.common.js +15 -81
  190. package/paginator/firstpagelink.umd.js +15 -81
  191. package/paginator/jumptopagedropdown.common.js +33 -194
  192. package/paginator/jumptopagedropdown.umd.js +33 -194
  193. package/paginator/jumptopageinput.common.js +79 -241
  194. package/paginator/jumptopageinput.umd.js +79 -241
  195. package/paginator/jumptopageinput.umd.min.js +1 -1
  196. package/paginator/lastpagelink.common.js +15 -81
  197. package/paginator/lastpagelink.umd.js +15 -81
  198. package/paginator/nextpagelink.common.js +15 -81
  199. package/paginator/nextpagelink.umd.js +15 -81
  200. package/paginator/pagelinks.common.js +15 -81
  201. package/paginator/pagelinks.umd.js +15 -81
  202. package/paginator/paginator.common.js +119 -399
  203. package/paginator/paginator.umd.js +119 -399
  204. package/paginator/paginator.umd.min.js +1 -1
  205. package/paginator/prevpagelink.common.js +15 -81
  206. package/paginator/prevpagelink.umd.js +15 -81
  207. package/paginator/rowsperpagedropdown.common.js +33 -194
  208. package/paginator/rowsperpagedropdown.umd.js +33 -194
  209. package/panel/panel.common.js +15 -81
  210. package/panel/panel.umd.js +15 -81
  211. package/panelmenu/panelmenu.common.js +10 -22
  212. package/panelmenu/panelmenu.umd.js +10 -22
  213. package/panelmenu/panelmenusub.common.js +5 -11
  214. package/panelmenu/panelmenusub.umd.js +5 -11
  215. package/password/Password.vue +38 -11
  216. package/password/password.common.js +117 -179
  217. package/password/password.umd.js +117 -179
  218. package/password/password.umd.min.js +1 -1
  219. package/picklist/picklist.common.js +28 -194
  220. package/picklist/picklist.umd.js +28 -194
  221. package/progressbar/progressbar.common.js +2 -4
  222. package/progressbar/progressbar.umd.js +2 -4
  223. package/progressspinner/progressspinner.common.js +2 -5
  224. package/progressspinner/progressspinner.umd.js +2 -5
  225. package/radiobutton/radiobutton.common.js +11 -57
  226. package/radiobutton/radiobutton.umd.js +11 -57
  227. package/rating/rating.common.js +2 -4
  228. package/rating/rating.umd.js +2 -4
  229. package/ripple/Ripple.js +0 -18
  230. package/ripple/ripple.common.js +13 -77
  231. package/ripple/ripple.umd.js +13 -77
  232. package/row/row.common.js +2 -4
  233. package/row/row.umd.js +2 -4
  234. package/scrollpanel/scrollpanel.common.js +18 -83
  235. package/scrollpanel/scrollpanel.umd.js +18 -83
  236. package/scrolltop/scrolltop.common.js +15 -71
  237. package/scrolltop/scrolltop.umd.js +15 -71
  238. package/selectbutton/selectbutton.common.js +25 -143
  239. package/selectbutton/selectbutton.umd.js +25 -143
  240. package/sidebar/Sidebar.d.ts +1 -0
  241. package/sidebar/Sidebar.vue +3 -0
  242. package/sidebar/sidebar.common.js +63 -137
  243. package/sidebar/sidebar.umd.js +63 -137
  244. package/sidebar/sidebar.umd.min.js +1 -1
  245. package/skeleton/skeleton.common.js +2 -4
  246. package/skeleton/skeleton.umd.js +2 -4
  247. package/slider/Slider.vue +1 -1
  248. package/slider/slider.common.js +64 -139
  249. package/slider/slider.umd.js +64 -139
  250. package/slider/slider.umd.min.js +1 -1
  251. package/speeddial/SpeedDial.vue +2 -2
  252. package/speeddial/speeddial.common.js +63 -152
  253. package/speeddial/speeddial.umd.js +63 -152
  254. package/speeddial/speeddial.umd.min.js +1 -1
  255. package/splitbutton/splitbutton.common.js +24 -115
  256. package/splitbutton/splitbutton.umd.js +24 -115
  257. package/splitter/splitter.common.js +13 -84
  258. package/splitter/splitter.umd.js +13 -84
  259. package/steps/steps.common.js +5 -9
  260. package/steps/steps.umd.js +5 -9
  261. package/styleclass/StyleClass.js +0 -43
  262. package/styleclass/styleclass.common.js +13 -99
  263. package/styleclass/styleclass.umd.js +13 -99
  264. package/tabmenu/tabmenu.common.js +15 -86
  265. package/tabmenu/tabmenu.umd.js +15 -86
  266. package/tabpanel/tabpanel.common.js +2 -5
  267. package/tabpanel/tabpanel.umd.js +2 -5
  268. package/tabview/tabview.common.js +27 -134
  269. package/tabview/tabview.umd.js +27 -134
  270. package/tag/tag.common.js +2 -4
  271. package/tag/tag.umd.js +2 -4
  272. package/terminal/terminal.common.js +2 -4
  273. package/terminal/terminal.umd.js +2 -4
  274. package/terminalservice/TerminalService.js +0 -3
  275. package/textarea/Textarea.vue +24 -1
  276. package/textarea/textarea.common.js +2045 -60
  277. package/textarea/textarea.umd.js +2045 -60
  278. package/textarea/textarea.umd.min.js +1 -1
  279. package/tieredmenu/tieredmenu.common.js +22 -124
  280. package/tieredmenu/tieredmenu.umd.js +22 -124
  281. package/tieredmenu/tieredmenusub.common.js +20 -102
  282. package/tieredmenu/tieredmenusub.umd.js +20 -102
  283. package/timeline/timeline.common.js +11 -56
  284. package/timeline/timeline.umd.js +11 -56
  285. package/toast/toast.common.js +17 -97
  286. package/toast/toast.umd.js +17 -97
  287. package/toast/toastmessage.common.js +15 -82
  288. package/toast/toastmessage.umd.js +15 -82
  289. package/toastservice/ToastEventBus.js +0 -3
  290. package/toastservice/ToastService.js +0 -3
  291. package/togglebutton/togglebutton.common.js +15 -81
  292. package/togglebutton/togglebutton.umd.js +15 -81
  293. package/toolbar/toolbar.common.js +2 -4
  294. package/toolbar/toolbar.umd.js +2 -4
  295. package/tooltip/Tooltip.js +4 -84
  296. package/tooltip/tooltip.common.js +17 -133
  297. package/tooltip/tooltip.umd.js +17 -133
  298. package/tree/tree.common.js +36 -211
  299. package/tree/tree.umd.js +36 -211
  300. package/tree/treenode.common.js +20 -117
  301. package/tree/treenode.umd.js +20 -117
  302. package/treetable/footercell.common.js +24 -119
  303. package/treetable/footercell.umd.js +24 -119
  304. package/treetable/headercell.common.js +24 -127
  305. package/treetable/headercell.umd.js +24 -127
  306. package/treetable/treetable.common.js +149 -625
  307. package/treetable/treetable.umd.js +149 -625
  308. package/treetable/treetable.umd.min.js +1 -1
  309. package/treetable/treetablerow.common.js +29 -159
  310. package/treetable/treetablerow.umd.js +29 -159
  311. package/treetable/treetablerowloader.common.js +31 -179
  312. package/treetable/treetablerowloader.umd.js +31 -179
  313. package/tristatecheckbox/tristatecheckbox.common.js +2 -12
  314. package/tristatecheckbox/tristatecheckbox.umd.js +2 -12
  315. package/utils/ConnectedOverlayScrollHandler.js +0 -12
  316. package/utils/DomHandler.js +13 -61
  317. package/utils/EventBus.js +0 -3
  318. package/utils/ObjectUtils.js +9 -51
  319. package/utils/UniqueComponentId.js +0 -1
  320. package/utils/Utils.js +0 -6
  321. package/utils/connectedoverlayscrollhandler.common.js +13 -70
  322. package/utils/connectedoverlayscrollhandler.umd.js +13 -70
  323. package/utils/domhandler.common.js +13 -63
  324. package/utils/domhandler.umd.js +13 -63
  325. package/utils/eventbus.common.js +0 -2
  326. package/utils/eventbus.umd.js +0 -2
  327. package/utils/objectutils.common.js +9 -52
  328. package/utils/objectutils.umd.js +9 -52
  329. package/utils/utils.common.js +22 -119
  330. package/utils/utils.umd.js +22 -119
  331. package/web-types.json +8 -1
@@ -4,38 +4,26 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
-
8
7
  var _ObjectUtils = _interopRequireDefault(require("../utils/ObjectUtils"));
9
-
10
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
-
12
9
  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
10
  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
11
  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
12
  var FilterService = {
19
13
  filter: function filter(value, fields, filterValue, filterMatchMode, filterLocale) {
20
14
  var filteredItems = [];
21
-
22
15
  if (value) {
23
16
  var _iterator = _createForOfIteratorHelper(value),
24
- _step;
25
-
17
+ _step;
26
18
  try {
27
19
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
28
20
  var item = _step.value;
29
-
30
21
  var _iterator2 = _createForOfIteratorHelper(fields),
31
- _step2;
32
-
22
+ _step2;
33
23
  try {
34
24
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
35
25
  var field = _step2.value;
36
-
37
26
  var fieldValue = _ObjectUtils.default.resolveFieldData(item, field);
38
-
39
27
  if (this.filters[filterMatchMode](fieldValue, filterValue, filterLocale)) {
40
28
  filteredItems.push(item);
41
29
  break;
@@ -53,7 +41,6 @@ var FilterService = {
53
41
  _iterator.f();
54
42
  }
55
43
  }
56
-
57
44
  return filteredItems;
58
45
  },
59
46
  filters: {
@@ -61,194 +48,154 @@ var FilterService = {
61
48
  if (filter === undefined || filter === null || filter.trim() === '') {
62
49
  return true;
63
50
  }
64
-
65
51
  if (value === undefined || value === null) {
66
52
  return false;
67
53
  }
68
-
69
54
  var filterValue = _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
70
-
71
55
  var stringValue = _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
72
-
73
56
  return stringValue.slice(0, filterValue.length) === filterValue;
74
57
  },
75
58
  contains: function contains(value, filter, filterLocale) {
76
59
  if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
77
60
  return true;
78
61
  }
79
-
80
62
  if (value === undefined || value === null) {
81
63
  return false;
82
64
  }
83
-
84
65
  var filterValue = _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
85
-
86
66
  var stringValue = _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
87
-
88
67
  return stringValue.indexOf(filterValue) !== -1;
89
68
  },
90
69
  notContains: function notContains(value, filter, filterLocale) {
91
70
  if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
92
71
  return true;
93
72
  }
94
-
95
73
  if (value === undefined || value === null) {
96
74
  return false;
97
75
  }
98
-
99
76
  var filterValue = _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
100
-
101
77
  var stringValue = _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
102
-
103
78
  return stringValue.indexOf(filterValue) === -1;
104
79
  },
105
80
  endsWith: function endsWith(value, filter, filterLocale) {
106
81
  if (filter === undefined || filter === null || filter.trim() === '') {
107
82
  return true;
108
83
  }
109
-
110
84
  if (value === undefined || value === null) {
111
85
  return false;
112
86
  }
113
-
114
87
  var filterValue = _ObjectUtils.default.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
115
-
116
88
  var stringValue = _ObjectUtils.default.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
117
-
118
89
  return stringValue.indexOf(filterValue, stringValue.length - filterValue.length) !== -1;
119
90
  },
120
91
  equals: function equals(value, filter, filterLocale) {
121
92
  if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
122
93
  return true;
123
94
  }
124
-
125
95
  if (value === undefined || value === null) {
126
96
  return false;
127
97
  }
128
-
129
98
  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
99
  },
131
100
  notEquals: function notEquals(value, filter, filterLocale) {
132
101
  if (filter === undefined || filter === null || typeof filter === 'string' && filter.trim() === '') {
133
102
  return false;
134
103
  }
135
-
136
104
  if (value === undefined || value === null) {
137
105
  return true;
138
106
  }
139
-
140
107
  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
108
  },
142
109
  in: function _in(value, filter) {
143
110
  if (filter === undefined || filter === null || filter.length === 0) {
144
111
  return true;
145
112
  }
146
-
147
113
  for (var i = 0; i < filter.length; i++) {
148
114
  if (_ObjectUtils.default.equals(value, filter[i])) {
149
115
  return true;
150
116
  }
151
117
  }
152
-
153
118
  return false;
154
119
  },
155
120
  between: function between(value, filter) {
156
121
  if (filter == null || filter[0] == null || filter[1] == null) {
157
122
  return true;
158
123
  }
159
-
160
124
  if (value === undefined || value === null) {
161
125
  return false;
162
126
  }
163
-
164
127
  if (value.getTime) return filter[0].getTime() <= value.getTime() && value.getTime() <= filter[1].getTime();else return filter[0] <= value && value <= filter[1];
165
128
  },
166
129
  lt: function lt(value, filter) {
167
130
  if (filter === undefined || filter === null) {
168
131
  return true;
169
132
  }
170
-
171
133
  if (value === undefined || value === null) {
172
134
  return false;
173
135
  }
174
-
175
136
  if (value.getTime && filter.getTime) return value.getTime() < filter.getTime();else return value < filter;
176
137
  },
177
138
  lte: function lte(value, filter) {
178
139
  if (filter === undefined || filter === null) {
179
140
  return true;
180
141
  }
181
-
182
142
  if (value === undefined || value === null) {
183
143
  return false;
184
144
  }
185
-
186
145
  if (value.getTime && filter.getTime) return value.getTime() <= filter.getTime();else return value <= filter;
187
146
  },
188
147
  gt: function gt(value, filter) {
189
148
  if (filter === undefined || filter === null) {
190
149
  return true;
191
150
  }
192
-
193
151
  if (value === undefined || value === null) {
194
152
  return false;
195
153
  }
196
-
197
154
  if (value.getTime && filter.getTime) return value.getTime() > filter.getTime();else return value > filter;
198
155
  },
199
156
  gte: function gte(value, filter) {
200
157
  if (filter === undefined || filter === null) {
201
158
  return true;
202
159
  }
203
-
204
160
  if (value === undefined || value === null) {
205
161
  return false;
206
162
  }
207
-
208
163
  if (value.getTime && filter.getTime) return value.getTime() >= filter.getTime();else return value >= filter;
209
164
  },
210
165
  dateIs: function dateIs(value, filter) {
211
166
  if (filter === undefined || filter === null) {
212
167
  return true;
213
168
  }
214
-
215
169
  if (value === undefined || value === null) {
216
170
  return false;
217
171
  }
218
-
219
172
  return value.toDateString() === filter.toDateString();
220
173
  },
221
174
  dateIsNot: function dateIsNot(value, filter) {
222
175
  if (filter === undefined || filter === null) {
223
176
  return true;
224
177
  }
225
-
226
178
  if (value === undefined || value === null) {
227
179
  return false;
228
180
  }
229
-
230
181
  return value.toDateString() !== filter.toDateString();
231
182
  },
232
183
  dateBefore: function dateBefore(value, filter) {
233
184
  if (filter === undefined || filter === null) {
234
185
  return true;
235
186
  }
236
-
237
187
  if (value === undefined || value === null) {
238
188
  return false;
239
189
  }
240
-
241
190
  return value.getTime() < filter.getTime();
242
191
  },
243
192
  dateAfter: function dateAfter(value, filter) {
244
193
  if (filter === undefined || filter === null) {
245
194
  return true;
246
195
  }
247
-
248
196
  if (value === undefined || value === null) {
249
197
  return false;
250
198
  }
251
-
252
199
  return value.getTime() > filter.getTime();
253
200
  }
254
201
  },
package/api/PrimeIcons.js CHANGED
@@ -29,16 +29,19 @@ var PrimeIcons = {
29
29
  ARROW_DOWN_RIGHT: 'pi pi-arrow-down-right',
30
30
  ARROW_LEFT: 'pi pi-arrow-left',
31
31
  ARROW_RIGHT: 'pi pi-arrow-right',
32
+ ARROW_RIGHT_ARROW_LEFT: 'pi pi-arrow-right-arrow-left',
32
33
  ARROW_UP: 'pi pi-arrow-up',
33
34
  ARROW_UP_LEFT: 'pi pi-arrow-up-left',
34
35
  ARROW_UP_RIGHT: 'pi pi-arrow-up-right',
35
- ARROW_H: 'pi pi-arrow-h',
36
- ARROW_V: 'pi pi-arrow-v',
36
+ ARROW_H: 'pi pi-arrows-h',
37
+ ARROW_V: 'pi pi-arrows-v',
38
+ ARROW_A: 'pi pi-arrows-alt',
37
39
  AT: 'pi pi-at',
38
40
  BACKWARD: 'pi pi-backward',
39
41
  BAN: 'pi pi-ban',
40
42
  BARS: 'pi pi-bars',
41
43
  BELL: 'pi pi-bell',
44
+ BITCOIN: 'pi pi-bitcoin',
42
45
  BOLT: 'pi pi-bolt',
43
46
  BOOK: 'pi pi-book',
44
47
  BOOKMARK: 'pi pi-bookmark',
@@ -50,12 +53,14 @@ var PrimeIcons = {
50
53
  CALENDAR_MINUS: 'pi pi-calendar-minus',
51
54
  CALENDAR_PLUS: 'pi pi-calendar-plus',
52
55
  CALENDAR_TIMES: 'pi pi-calendar-times',
56
+ CALCULATOR: 'pi pi-calculator',
53
57
  CAMERA: 'pi pi-camera',
54
58
  CAR: 'pi pi-car',
55
59
  CARET_DOWN: 'pi pi-caret-down',
56
60
  CARET_LEFT: 'pi pi-caret-left',
57
61
  CARET_RIGHT: 'pi pi-caret-right',
58
62
  CARET_UP: 'pi pi-caret-up',
63
+ CART_PLUS: 'pi pi-cart-plus',
59
64
  CHART_BAR: 'pi pi-chart-bar',
60
65
  CHART_LINE: 'pi pi-chart-line',
61
66
  CHART_PIE: 'pi pi-chart-pie',
@@ -85,6 +90,7 @@ var PrimeIcons = {
85
90
  COPY: 'pi pi-copy',
86
91
  CREDIT_CARD: 'pi pi-credit-card',
87
92
  DATABASE: 'pi pi-database',
93
+ DELETELEFT: 'pi pi-delete-left',
88
94
  DESKTOP: 'pi pi-desktop',
89
95
  DIRECTIONS: 'pi pi-directions',
90
96
  DIRECTIONS_ALT: 'pi pi-directions-alt',
@@ -95,6 +101,7 @@ var PrimeIcons = {
95
101
  ELLIPSIS_H: 'pi pi-ellipsis-h',
96
102
  ELLIPSIS_V: 'pi pi-ellipsis-v',
97
103
  ENVELOPE: 'pi pi-envelope',
104
+ ERASER: 'pi pi-eraser',
98
105
  EURO: 'pi pi-euro',
99
106
  EXCLAMATION_CIRCLE: 'pi pi-exclamation-circle',
100
107
  EXCLAMATION_TRIANGLE: 'pi pi-exclamation-triangle',
@@ -105,8 +112,12 @@ var PrimeIcons = {
105
112
  FAST_BACKWARD: 'pi pi-fast-backward',
106
113
  FAST_FORWARD: 'pi pi-fast-forward',
107
114
  FILE: 'pi pi-file',
115
+ FILE_EDIT: 'pi pi-file-edit',
108
116
  FILE_EXCEL: 'pi pi-file-excel',
117
+ FILE_EXPORT: 'pi pi-file-export',
118
+ FILE_IMPORT: 'pi pi-file-import',
109
119
  FILE_PDF: 'pi pi-file-pdf',
120
+ FILE_WORD: 'pi pi-file-word',
110
121
  FILTER: 'pi pi-filter',
111
122
  FILTER_FILL: 'pi pi-filter-fill',
112
123
  FILTER_SLASH: 'pi pi-filter-slash',
@@ -115,6 +126,7 @@ var PrimeIcons = {
115
126
  FOLDER: 'pi pi-folder',
116
127
  FOLDER_OPEN: 'pi pi-folder-open',
117
128
  FORWARD: 'pi pi-forward',
129
+ GIFT: 'pi pi-gift',
118
130
  GITHUB: 'pi pi-github',
119
131
  GLOBE: 'pi pi-globe',
120
132
  GOOGLE: 'pi pi-google',
@@ -122,6 +134,7 @@ var PrimeIcons = {
122
134
  HEART: 'pi pi-heart',
123
135
  HEART_FILL: 'pi pi-heart-fill',
124
136
  HISTORY: 'pi pi-history',
137
+ HOURGLASS: 'pi pi-hourglass',
125
138
  HOME: 'pi pi-home',
126
139
  ID_CARD: 'pi pi-id-card',
127
140
  IMAGE: 'pi pi-image',
@@ -131,6 +144,7 @@ var PrimeIcons = {
131
144
  INFO_CIRCLE: 'pi pi-info-circle',
132
145
  INSTAGRAM: 'pi pi-instagram',
133
146
  KEY: 'pi pi-key',
147
+ LANGUAGE: 'pi pi-language',
134
148
  LINK: 'pi pi-link',
135
149
  LINKEDIN: 'pi pi-linkedin',
136
150
  LIST: 'pi pi-list',
@@ -138,6 +152,8 @@ var PrimeIcons = {
138
152
  LOCK_OPEN: 'pi pi-lock-open',
139
153
  MAP: 'pi pi-map',
140
154
  MAP_MARKER: 'pi pi-map-marker',
155
+ MEGAPHONE: 'pi pi-megaphone',
156
+ MICREPHONE: 'pi pi-microphone',
141
157
  MICROSOFT: 'pi pi-microsoft',
142
158
  MINUS: 'pi pi-minus',
143
159
  MINUS_CIRCLE: 'pi pi-minus-circle',
@@ -206,6 +222,7 @@ var PrimeIcons = {
206
222
  STEP_FORWARD: 'pi pi-step-forward',
207
223
  STEP_FORWARD_ALT: 'pi pi-step-forward-alt',
208
224
  STOP: 'pi pi-stop',
225
+ STOPWATCH: 'pi pi-stop-watch',
209
226
  STOP_CIRCLE: 'pi pi-stop-circle',
210
227
  SUN: 'pi pi-sun',
211
228
  SYNC: 'pi pi-sync',
@@ -216,11 +233,14 @@ var PrimeIcons = {
216
233
  TELEGRAM: 'pi pi-telegram',
217
234
  TH_LARGE: 'pi pi-th-large',
218
235
  THUMBS_DOWN: 'pi pi-thumbs-down',
236
+ THUMBS_DOWN_FILL: 'pi pi-thumbs-down-fill',
219
237
  THUMBS_UP: 'pi pi-thumbs-up',
238
+ THUMBS_UP_FILL: 'pi pi-thumbs-up-fill',
220
239
  TICKET: 'pi pi-ticket',
221
240
  TIMES: 'pi pi-times',
222
241
  TIMES_CIRCLE: 'pi pi-times-circle',
223
242
  TRASH: 'pi pi-trash',
243
+ TRUCK: 'pi pi-truck',
224
244
  TWITTER: 'pi pi-twitter',
225
245
  UNDO: 'pi pi-undo',
226
246
  UNLOCK: 'pi pi-unlock',
@@ -230,6 +250,7 @@ var PrimeIcons = {
230
250
  USER_MINUS: 'pi pi-user-minus',
231
251
  USER_PLUS: 'pi pi-user-plus',
232
252
  USERS: 'pi pi-users',
253
+ VERIFIED: 'pi pi-verified',
233
254
  VIDEO: 'pi pi-video',
234
255
  VIMEO: 'pi pi-vimeo',
235
256
  VOLUME_DOWN: 'pi pi-volume-down',
@@ -240,6 +261,7 @@ var PrimeIcons = {
240
261
  WIFI: 'pi pi-wifi',
241
262
  WINDOW_MAXIMIZE: 'pi pi-window-maximize',
242
263
  WINDOW_MINIMIZE: 'pi pi-window-minimize',
264
+ WRENCH: 'pi pi-wrench',
243
265
  YOUTUBE: 'pi pi-youtube'
244
266
  };
245
267
  var _default = PrimeIcons;