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.
- package/accordion/accordion.common.js +1 -1
- package/accordion/accordion.umd.js +1 -1
- package/accordiontab/accordiontab.common.js +28 -1
- package/accordiontab/accordiontab.umd.js +28 -1
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/api/Api.d.ts +296 -0
- package/api/Api.js +47 -0
- package/api/FilterMatchMode.js +26 -0
- package/api/FilterOperator.js +12 -0
- package/api/FilterService.js +260 -0
- package/api/PrimeIcons.js +246 -0
- package/api/ToastSeverity.js +14 -0
- package/api/api.common.js +4893 -0
- package/api/api.umd.js +4903 -0
- package/api/api.umd.min.js +1 -0
- package/api/demo.html +8 -0
- package/api/filtermatchmode.common.js +186 -0
- package/api/filtermatchmode.umd.js +196 -0
- package/api/filtermatchmode.umd.min.js +1 -0
- package/api/filteroperator.common.js +172 -0
- package/api/filteroperator.umd.js +182 -0
- package/api/filteroperator.umd.min.js +1 -0
- package/{utils/filterutils.common.js → api/filterservice.common.js} +207 -106
- package/{utils/filterutils.umd.js → api/filterservice.umd.js} +209 -108
- package/api/filterservice.umd.min.js +1 -0
- package/api/index.d.ts +1 -0
- package/api/index.js +2 -0
- package/api/primeicons.common.js +406 -0
- package/api/primeicons.umd.js +416 -0
- package/api/primeicons.umd.min.js +1 -0
- package/{confirmationservice/confirmationeventbus.common.js → api/toastseverity.common.js} +9 -9
- package/{confirmationservice/confirmationeventbus.umd.js → api/toastseverity.umd.js} +11 -11
- package/api/toastseverity.umd.min.js +1 -0
- package/autocomplete/AutoComplete.d.ts +1 -0
- package/autocomplete/AutoComplete.vue +8 -0
- package/autocomplete/autocomplete.common.js +64 -23
- package/autocomplete/autocomplete.umd.js +64 -23
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +1 -1
- package/avatar/avatar.umd.js +1 -1
- package/avatargroup/avatargroup.common.js +1 -1
- package/avatargroup/avatargroup.umd.js +1 -1
- package/badge/badge.common.js +1 -1
- package/badge/badge.umd.js +1 -1
- package/badgedirective/badgedirective.common.js +27 -0
- package/badgedirective/badgedirective.umd.js +27 -0
- package/badgedirective/badgedirective.umd.min.js +1 -1
- package/blockui/BlockUI.vue +6 -16
- package/blockui/blockui.common.js +38 -16
- package/blockui/blockui.umd.js +38 -16
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +1 -0
- package/breadcrumb/Breadcrumb.vue +6 -2
- package/breadcrumb/BreadcrumbItem.vue +30 -11
- package/breadcrumb/breadcrumb.common.js +44 -16
- package/breadcrumb/breadcrumb.umd.js +44 -16
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +34 -10
- package/breadcrumb/breadcrumbitem.umd.js +34 -10
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/button.common.js +28 -1
- package/button/button.umd.js +28 -1
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.d.ts +5 -0
- package/calendar/Calendar.vue +342 -70
- package/calendar/calendar.common.js +403 -73
- package/calendar/calendar.umd.js +403 -73
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +1 -1
- package/card/card.umd.js +1 -1
- package/carousel/Carousel.vue +2 -2
- package/carousel/carousel.common.js +30 -3
- package/carousel/carousel.umd.js +30 -3
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +6 -4
- package/cascadeselect/CascadeSelect.vue +3 -1
- package/cascadeselect/cascadeselect.common.js +53 -17
- package/cascadeselect/cascadeselect.umd.js +53 -17
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +48 -14
- package/cascadeselect/cascadeselectsub.umd.js +48 -14
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +4 -3
- package/chart/Chart.vue +27 -11
- package/chart/chart.common.js +30 -12
- package/chart/chart.umd.js +30 -12
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/Checkbox.css +1 -0
- package/checkbox/Checkbox.d.ts +2 -0
- package/checkbox/Checkbox.vue +11 -3
- package/checkbox/checkbox.common.js +38 -18
- package/checkbox/checkbox.umd.js +38 -18
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +1 -1
- package/chip/chip.umd.js +1 -1
- package/chips/chips.common.js +1 -1
- package/chips/chips.umd.js +1 -1
- package/colorpicker/colorpicker.common.js +28 -1
- package/colorpicker/colorpicker.umd.js +28 -1
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/Column.vue +72 -12
- package/column/column.common.js +71 -11
- package/column/column.umd.js +71 -11
- package/column/column.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +1 -1
- package/columngroup/columngroup.umd.js +1 -1
- package/common/Common.css +13 -4
- package/config/PrimeVue.d.ts +24 -2
- package/config/PrimeVue.js +34 -4
- package/config/primevue.common.js +3589 -130
- package/config/primevue.umd.js +3589 -130
- package/config/primevue.umd.min.js +1 -1
- package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
- package/confirmationeventbus/confirmationeventbus.common.js +1777 -0
- package/confirmationeventbus/confirmationeventbus.umd.js +1787 -0
- package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
- package/confirmationeventbus/demo.html +8 -0
- package/confirmationeventbus/index.d.ts +1 -0
- package/confirmationeventbus/index.js +2 -0
- package/confirmationservice/ConfirmationService.js +1 -1
- package/confirmationservice/confirmationservice.common.js +1609 -6
- package/confirmationservice/confirmationservice.umd.js +1609 -6
- package/confirmationservice/confirmationservice.umd.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +9 -3
- package/confirmdialog/confirmdialog.common.js +465 -46
- package/confirmdialog/confirmdialog.umd.js +465 -46
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +4 -1
- package/confirmpopup/ConfirmPopup.vue +9 -6
- package/confirmpopup/confirmpopup.common.js +535 -13
- package/confirmpopup/confirmpopup.umd.js +535 -13
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +1 -0
- package/contextmenu/ContextMenu.vue +5 -1
- package/contextmenu/ContextMenuSub.vue +33 -13
- package/contextmenu/contextmenu.common.js +68 -14
- package/contextmenu/contextmenu.umd.js +68 -14
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +58 -8
- package/contextmenu/contextmenusub.umd.js +58 -8
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/datatable/BodyCell.vue +118 -34
- package/datatable/ColumnFilter.vue +558 -0
- package/datatable/ColumnSlot.vue +21 -1
- package/datatable/DataTable.d.ts +43 -15
- package/datatable/DataTable.vue +606 -398
- package/datatable/FooterCell.vue +82 -0
- package/datatable/HeaderCell.vue +246 -0
- package/datatable/HeaderCheckbox.vue +7 -4
- package/datatable/RowCheckbox.vue +2 -2
- package/datatable/RowRadioButton.vue +1 -1
- package/datatable/TableBody.vue +92 -23
- package/datatable/TableFooter.vue +34 -18
- package/datatable/TableHeader.vue +79 -134
- package/datatable/bodycell.common.js +592 -65
- package/datatable/bodycell.umd.js +592 -65
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +7615 -0
- package/datatable/columnfilter.umd.js +7625 -0
- package/datatable/columnfilter.umd.min.js +1 -0
- package/datatable/columnslot.common.js +21 -1
- package/datatable/columnslot.umd.js +21 -1
- package/datatable/columnslot.umd.min.js +1 -1
- package/datatable/datatable.common.js +4384 -1399
- package/datatable/datatable.umd.js +4384 -1399
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +3 -3
- package/datatable/footercell.common.js +5457 -0
- package/datatable/footercell.umd.js +5467 -0
- package/datatable/footercell.umd.min.js +1 -0
- package/datatable/headercell.common.js +8066 -0
- package/datatable/headercell.umd.js +8076 -0
- package/datatable/headercell.umd.min.js +1 -0
- package/datatable/headercheckbox.common.js +8 -5
- package/datatable/headercheckbox.umd.js +8 -5
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +3 -3
- package/datatable/rowcheckbox.umd.js +3 -3
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +3 -3
- package/datatable/rowradiobutton.umd.js +3 -3
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +1041 -443
- package/datatable/tablebody.umd.js +1041 -443
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +3789 -105
- package/datatable/tablefooter.umd.js +3789 -105
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +6635 -2132
- package/datatable/tableheader.umd.js +6635 -2132
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +22 -2
- package/datatable/tableloadingbody.umd.js +22 -2
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/DataView.d.ts +2 -2
- package/dataview/DataView.vue +8 -8
- package/dataview/dataview.common.js +1974 -79
- package/dataview/dataview.umd.js +1974 -79
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
- package/deferredcontent/deferredcontent.common.js +1 -1
- package/deferredcontent/deferredcontent.umd.js +1 -1
- package/dialog/Dialog.d.ts +1 -0
- package/dialog/Dialog.vue +41 -24
- package/dialog/dialog.common.js +68 -27
- package/dialog/dialog.umd.js +68 -27
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +1 -1
- package/divider/divider.umd.js +1 -1
- package/dock/Dock.d.ts +2 -0
- package/dock/Dock.vue +12 -2
- package/dock/DockSub.vue +45 -21
- package/dock/dock.common.js +44 -15
- package/dock/dock.umd.js +44 -15
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +31 -7
- package/dock/docksub.umd.js +31 -7
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/Dropdown.d.ts +5 -3
- package/dropdown/Dropdown.vue +34 -6
- package/dropdown/dropdown.common.js +84 -21
- package/dropdown/dropdown.umd.js +84 -21
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +1 -1
- package/editor/editor.umd.js +1 -1
- package/fieldset/fieldset.common.js +28 -1
- package/fieldset/fieldset.umd.js +28 -1
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/FileUpload.vue +5 -2
- package/fileupload/fileupload.common.js +55 -19
- package/fileupload/fileupload.umd.js +55 -19
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +342 -136
- package/fullcalendar/fullcalendar.umd.js +342 -136
- package/fullcalendar/fullcalendar.umd.min.js +4 -4
- package/galleria/Galleria.vue +3 -8
- package/galleria/GalleriaContent.vue +9 -0
- package/galleria/galleria.common.js +49 -17
- package/galleria/galleria.umd.js +49 -17
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +40 -4
- package/galleria/galleriacontent.umd.js +40 -4
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +28 -1
- package/galleria/galleriaitem.umd.js +28 -1
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriathumbnails.common.js +28 -1
- package/galleria/galleriathumbnails.umd.js +28 -1
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/ImagePreview.d.ts +10 -0
- package/imagepreview/ImagePreview.vue +205 -0
- package/imagepreview/demo.html +17 -0
- package/{datatable/scrollableview.common.js → imagepreview/imagepreview.common.js} +570 -463
- package/{datatable/scrollableview.umd.js → imagepreview/imagepreview.umd.js} +572 -465
- package/imagepreview/imagepreview.umd.min.js +1 -0
- package/imagepreview/index.d.ts +1 -0
- package/imagepreview/index.js +2 -0
- package/imagepreview/plugin.js +4 -0
- package/inlinemessage/inlinemessage.common.js +1 -1
- package/inlinemessage/inlinemessage.umd.js +1 -1
- package/inplace/inplace.common.js +29 -2
- package/inplace/inplace.umd.js +29 -2
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/InputMask.vue +7 -5
- package/inputmask/inputmask.common.js +39 -12
- package/inputmask/inputmask.umd.js +39 -12
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +183 -62
- package/inputnumber/inputnumber.common.js +249 -113
- package/inputnumber/inputnumber.umd.js +249 -113
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +2 -0
- package/inputswitch/InputSwitch.vue +15 -3
- package/inputswitch/inputswitch.common.js +17 -5
- package/inputswitch/inputswitch.umd.js +17 -5
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +3 -7
- package/inputtext/inputtext.umd.js +3 -7
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +1 -1
- package/knob/knob.umd.js +1 -1
- package/listbox/Listbox.d.ts +3 -3
- package/listbox/listbox.common.js +48 -14
- package/listbox/listbox.umd.js +48 -14
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +6 -1
- package/megamenu/MegaMenu.vue +51 -22
- package/megamenu/megamenu.common.js +74 -10
- package/megamenu/megamenu.umd.js +74 -10
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/Menu.d.ts +1 -0
- package/menu/Menu.vue +11 -4
- package/menu/Menuitem.vue +25 -11
- package/menu/menu.common.js +68 -17
- package/menu/menu.umd.js +68 -17
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +55 -11
- package/menu/menuitem.umd.js +55 -11
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/Menubar.d.ts +1 -0
- package/menubar/Menubar.vue +5 -1
- package/menubar/MenubarSub.vue +34 -14
- package/menubar/demo.html +3 -4
- package/menubar/menubar.common.js +68 -14
- package/menubar/menubar.umd.js +68 -14
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +58 -8
- package/menubar/menubarsub.umd.js +58 -8
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/Message.d.ts +1 -0
- package/message/Message.vue +5 -1
- package/message/message.common.js +34 -3
- package/message/message.umd.js +34 -3
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +4 -3
- package/multiselect/MultiSelect.vue +8 -1
- package/multiselect/multiselect.common.js +58 -18
- package/multiselect/multiselect.umd.js +58 -18
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/OrderList.d.ts +2 -0
- package/orderlist/OrderList.vue +2 -0
- package/orderlist/orderlist.common.js +53 -17
- package/orderlist/orderlist.umd.js +53 -17
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +31 -8
- package/organizationchart/organizationchart.umd.js +31 -8
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +28 -1
- package/organizationchart/organizationchartnode.umd.js +28 -1
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlayeventbus/OverlayEventBus.js +14 -0
- package/overlayeventbus/demo.html +8 -0
- package/overlayeventbus/index.d.ts +1 -0
- package/overlayeventbus/index.js +2 -0
- package/overlayeventbus/overlayeventbus.common.js +1777 -0
- package/overlayeventbus/overlayeventbus.umd.js +1787 -0
- package/overlayeventbus/overlayeventbus.umd.min.js +1 -0
- package/overlaypanel/overlaypanel.common.js +28 -1
- package/overlaypanel/overlaypanel.umd.js +28 -1
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +5 -1
- package/paginator/CurrentPageReport.vue +6 -2
- package/paginator/JumpToPageDropdown.vue +33 -0
- package/paginator/JumpToPageInput.vue +25 -0
- package/paginator/Paginator.d.ts +2 -2
- package/paginator/Paginator.vue +24 -11
- package/paginator/RowsPerPageDropdown.vue +3 -2
- package/paginator/currentpagereport.common.js +7 -3
- package/paginator/currentpagereport.umd.js +7 -3
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/demo.html +3 -3
- package/paginator/firstpagelink.common.js +28 -1
- package/paginator/firstpagelink.umd.js +28 -1
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +6505 -0
- package/paginator/jumptopagedropdown.umd.js +6515 -0
- package/paginator/jumptopagedropdown.umd.min.js +1 -0
- package/paginator/jumptopageinput.common.js +7438 -0
- package/paginator/jumptopageinput.umd.js +7448 -0
- package/paginator/jumptopageinput.umd.min.js +1 -0
- package/paginator/lastpagelink.common.js +28 -1
- package/paginator/lastpagelink.umd.js +28 -1
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +28 -1
- package/paginator/nextpagelink.umd.js +28 -1
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +28 -1
- package/paginator/pagelinks.umd.js +28 -1
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +2280 -118
- package/paginator/paginator.umd.js +2280 -118
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +28 -1
- package/paginator/prevpagelink.umd.js +28 -1
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +92 -28
- package/paginator/rowsperpagedropdown.umd.js +92 -28
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/Panel.d.ts +1 -0
- package/panel/Panel.vue +1 -1
- package/panel/panel.common.js +29 -2
- package/panel/panel.umd.js +29 -2
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +1 -0
- package/panelmenu/PanelMenu.vue +32 -6
- package/panelmenu/PanelMenuSub.vue +32 -13
- package/panelmenu/panelmenu.common.js +69 -16
- package/panelmenu/panelmenu.umd.js +69 -16
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +29 -7
- package/panelmenu/panelmenusub.umd.js +29 -7
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/password.common.js +31 -8
- package/password/password.umd.js +31 -8
- package/password/password.umd.min.js +1 -1
- package/picklist/PickList.d.ts +8 -0
- package/picklist/PickList.vue +10 -4
- package/picklist/picklist.common.js +57 -17
- package/picklist/picklist.umd.js +57 -17
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/ProgressBar.vue +18 -14
- package/progressbar/progressbar.common.js +7 -5
- package/progressbar/progressbar.umd.js +7 -5
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +1 -1
- package/progressspinner/progressspinner.umd.js +1 -1
- package/radiobutton/radiobutton.common.js +26 -14
- package/radiobutton/radiobutton.umd.js +26 -14
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/Rating.vue +1 -1
- package/rating/rating.common.js +3 -3
- package/rating/rating.umd.js +3 -3
- package/rating/rating.umd.min.js +1 -1
- package/resources/primevue.css +15 -4
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +198 -59
- package/resources/themes/arya-green/theme.css +198 -59
- package/resources/themes/arya-orange/theme.css +198 -59
- package/resources/themes/arya-purple/theme.css +198 -59
- package/resources/themes/bootstrap4-dark-blue/theme.css +179 -47
- package/resources/themes/bootstrap4-dark-purple/theme.css +179 -47
- package/resources/themes/bootstrap4-light-blue/theme.css +179 -47
- package/resources/themes/bootstrap4-light-purple/theme.css +179 -47
- package/resources/themes/fluent-light/theme.css +202 -63
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5421 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +5421 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +5421 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5421 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5421 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +5421 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +5421 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5421 -0
- package/resources/themes/luna-amber/theme.css +195 -63
- package/resources/themes/luna-blue/theme.css +195 -63
- package/resources/themes/luna-green/theme.css +195 -63
- package/resources/themes/luna-pink/theme.css +195 -63
- package/resources/themes/md-dark-deeppurple/theme.css +382 -87
- package/resources/themes/md-dark-indigo/theme.css +382 -87
- package/resources/themes/md-light-deeppurple/theme.css +382 -87
- package/resources/themes/md-light-indigo/theme.css +382 -87
- package/resources/themes/mdc-dark-deeppurple/theme.css +382 -87
- package/resources/themes/mdc-dark-indigo/theme.css +382 -87
- package/resources/themes/mdc-light-deeppurple/theme.css +382 -87
- package/resources/themes/mdc-light-indigo/theme.css +382 -87
- package/resources/themes/nova/theme.css +195 -63
- package/resources/themes/nova-accent/theme.css +195 -63
- package/resources/themes/nova-alt/theme.css +195 -63
- package/resources/themes/nova-vue/theme.css +195 -63
- package/resources/themes/rhea/theme.css +195 -63
- package/resources/themes/saga-blue/theme.css +182 -43
- package/resources/themes/saga-green/theme.css +182 -43
- package/resources/themes/saga-orange/theme.css +182 -43
- package/resources/themes/saga-purple/theme.css +182 -43
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/tailwind-light/theme.css +5496 -0
- package/resources/themes/vela-blue/theme.css +198 -59
- package/resources/themes/vela-green/theme.css +198 -59
- package/resources/themes/vela-orange/theme.css +198 -59
- package/resources/themes/vela-purple/theme.css +198 -59
- package/ripple/ripple.common.js +27 -0
- package/ripple/ripple.umd.js +27 -0
- package/ripple/ripple.umd.min.js +1 -1
- package/row/row.common.js +1 -1
- package/row/row.umd.js +1 -1
- package/scrollpanel/scrollpanel.common.js +28 -1
- package/scrollpanel/scrollpanel.umd.js +28 -1
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +28 -1
- package/scrolltop/scrolltop.umd.js +28 -1
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/SelectButton.d.ts +3 -3
- package/selectbutton/SelectButton.vue +6 -1
- package/selectbutton/selectbutton.common.js +55 -16
- package/selectbutton/selectbutton.umd.js +55 -16
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.vue +5 -16
- package/sidebar/sidebar.common.js +37 -15
- package/sidebar/sidebar.umd.js +37 -15
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +1 -1
- package/skeleton/skeleton.umd.js +1 -1
- package/slider/Slider.vue +20 -12
- package/slider/slider.common.js +41 -9
- package/slider/slider.umd.js +41 -9
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +1 -0
- package/speeddial/SpeedDial.vue +10 -9
- package/speeddial/speeddial.common.js +40 -16
- package/speeddial/speeddial.umd.js +40 -16
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +73 -22
- package/splitbutton/splitbutton.umd.js +73 -22
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +27 -0
- package/splitter/splitter.umd.js +27 -0
- package/splitter/splitter.umd.min.js +1 -1
- package/steps/Steps.d.ts +1 -0
- package/steps/Steps.vue +30 -8
- package/steps/steps.common.js +33 -6
- package/steps/steps.umd.js +33 -6
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/styleclass.common.js +27 -0
- package/styleclass/styleclass.umd.js +27 -0
- package/styleclass/styleclass.umd.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +1 -0
- package/tabmenu/TabMenu.vue +39 -10
- package/tabmenu/tabmenu.common.js +192 -8
- package/tabmenu/tabmenu.umd.js +192 -8
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +1 -1
- package/tabpanel/tabpanel.umd.js +1 -1
- package/tabview/TabView.d.ts +1 -0
- package/tabview/TabView.vue +111 -11
- package/tabview/tabview.common.js +124 -18
- package/tabview/tabview.umd.js +124 -18
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/Tag.vue +1 -1
- package/tag/tag.common.js +3 -3
- package/tag/tag.umd.js +3 -3
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +1 -1
- package/terminal/terminal.umd.js +1 -1
- package/textarea/textarea.common.js +3 -7
- package/textarea/textarea.umd.js +3 -7
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +1 -0
- package/tieredmenu/TieredMenu.vue +5 -1
- package/tieredmenu/TieredMenuSub.vue +30 -14
- package/tieredmenu/tieredmenu.common.js +63 -13
- package/tieredmenu/tieredmenu.umd.js +63 -13
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +53 -7
- package/tieredmenu/tieredmenusub.umd.js +53 -7
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +26 -14
- package/timeline/timeline.umd.js +26 -14
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/Toast.d.ts +4 -1
- package/toast/Toast.vue +1 -1
- package/toast/toast.common.js +30 -5
- package/toast/toast.umd.js +30 -5
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +28 -1
- package/toast/toastmessage.umd.js +28 -1
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +28 -1
- package/togglebutton/togglebutton.umd.js +28 -1
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/Toolbar.d.ts +1 -1
- package/toolbar/Toolbar.vue +2 -2
- package/toolbar/toolbar.common.js +3 -3
- package/toolbar/toolbar.umd.js +3 -3
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.css +1 -0
- package/tooltip/Tooltip.js +37 -2
- package/tooltip/tooltip.common.js +1760 -69
- package/tooltip/tooltip.umd.js +1760 -69
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/Tree.vue +1 -0
- package/tree/TreeNode.vue +5 -1
- package/tree/tree.common.js +68 -32
- package/tree/tree.umd.js +68 -32
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +36 -9
- package/tree/treenode.umd.js +36 -9
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/FooterCell.vue +81 -0
- package/treetable/HeaderCell.vue +183 -0
- package/treetable/TreeTable.d.ts +3 -2
- package/treetable/TreeTable.vue +73 -114
- package/treetable/TreeTableRow.vue +7 -4
- package/treetable/footercell.common.js +5304 -0
- package/treetable/footercell.umd.js +5314 -0
- package/treetable/footercell.umd.min.js +1 -0
- package/treetable/headercell.common.js +5533 -0
- package/treetable/headercell.umd.js +5543 -0
- package/treetable/headercell.umd.min.js +1 -0
- package/treetable/treetable.common.js +3795 -1558
- package/treetable/treetable.umd.js +3795 -1558
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +58 -22
- package/treetable/treetablerow.umd.js +58 -22
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +61 -26
- package/treetable/treetablerowloader.umd.js +61 -26
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +1 -1
- package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
- package/utils/ConnectedOverlayScrollHandler.js +1 -1
- package/utils/DomHandler.js +23 -1
- package/utils/EventBus.js +33 -0
- package/utils/ObjectUtils.js +15 -2
- package/utils/Utils.d.ts +73 -0
- package/utils/Utils.js +47 -0
- package/utils/connectedoverlayscrollhandler.common.js +27 -0
- package/utils/connectedoverlayscrollhandler.umd.js +27 -0
- package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
- package/utils/demo.html +3 -3
- package/utils/domhandler.common.js +27 -0
- package/utils/domhandler.umd.js +27 -0
- package/utils/domhandler.umd.min.js +1 -1
- package/utils/eventbus.common.js +1774 -0
- package/utils/eventbus.umd.js +1784 -0
- package/utils/eventbus.umd.min.js +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/index.js +2 -0
- package/utils/objectutils.common.js +25 -13
- package/utils/objectutils.umd.js +25 -13
- package/utils/objectutils.umd.min.js +1 -1
- package/utils/utils.common.js +5486 -0
- package/utils/utils.umd.js +5496 -0
- package/utils/utils.umd.min.js +1 -0
- package/vetur-attributes.json +156 -20
- package/vetur-tags.json +60 -21
- package/web-types.json +497 -33
- package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
- package/datatable/ScrollableView.vue +0 -223
- package/datatable/scrollableview.umd.min.js +0 -1
- package/utils/FilterUtils.js +0 -176
- 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,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;
|