primevue 2.5.0 → 2.8.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 +4889 -0
- package/api/api.umd.js +4899 -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 -110
- package/{utils/filterutils.umd.js → api/filterservice.umd.js} +209 -112
- 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 +61 -24
- package/autocomplete/autocomplete.umd.js +61 -24
- 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 +339 -70
- package/calendar/calendar.common.js +400 -73
- package/calendar/calendar.umd.js +400 -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 -21
- package/cascadeselect/cascadeselect.umd.js +53 -21
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +48 -18
- package/cascadeselect/cascadeselectsub.umd.js +48 -18
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- 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 -22
- package/checkbox/checkbox.umd.js +38 -22
- 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 +3584 -133
- package/config/primevue.umd.js +3584 -133
- package/config/primevue.umd.min.js +1 -1
- package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
- package/confirmationeventbus/confirmationeventbus.common.js +1773 -0
- package/confirmationeventbus/confirmationeventbus.umd.js +1783 -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 +1605 -6
- package/confirmationservice/confirmationservice.umd.js +1605 -6
- package/confirmationservice/confirmationservice.umd.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +9 -3
- package/confirmdialog/confirmdialog.common.js +456 -44
- package/confirmdialog/confirmdialog.umd.js +456 -44
- 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 +531 -13
- package/confirmpopup/confirmpopup.umd.js +531 -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 +41 -15
- package/datatable/DataTable.vue +582 -391
- package/datatable/FooterCell.vue +82 -0
- package/datatable/HeaderCell.vue +246 -0
- package/datatable/TableBody.vue +92 -23
- package/datatable/TableFooter.vue +34 -18
- package/datatable/TableHeader.vue +79 -134
- package/datatable/bodycell.common.js +578 -56
- package/datatable/bodycell.umd.js +578 -56
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +7610 -0
- package/datatable/columnfilter.umd.js +7620 -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 +4340 -1384
- package/datatable/datatable.umd.js +4340 -1384
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +3 -4
- package/datatable/footercell.common.js +5453 -0
- package/datatable/footercell.umd.js +5463 -0
- package/datatable/footercell.umd.min.js +1 -0
- package/datatable/headercell.common.js +8058 -0
- package/datatable/headercell.umd.js +8068 -0
- package/datatable/headercell.umd.min.js +1 -0
- package/datatable/headercheckbox.common.js +1 -1
- package/datatable/headercheckbox.umd.js +1 -1
- package/datatable/rowcheckbox.common.js +1 -1
- package/datatable/rowcheckbox.umd.js +1 -1
- package/datatable/rowradiobutton.common.js +1 -1
- package/datatable/rowradiobutton.umd.js +1 -1
- package/datatable/tablebody.common.js +1066 -473
- package/datatable/tablebody.umd.js +1066 -473
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +3785 -105
- package/datatable/tablefooter.umd.js +3785 -105
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +6633 -2138
- package/datatable/tableheader.umd.js +6633 -2138
- 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 +10 -10
- package/dataview/dataview.common.js +1971 -80
- package/dataview/dataview.umd.js +1971 -80
- 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.vue +35 -21
- package/dialog/dialog.common.js +62 -24
- package/dialog/dialog.umd.js +62 -24
- 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 +33 -5
- package/dropdown/dropdown.common.js +83 -24
- package/dropdown/dropdown.umd.js +83 -24
- 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 -18
- package/listbox/listbox.umd.js +48 -18
- 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/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 -22
- package/multiselect/multiselect.umd.js +58 -22
- 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 -21
- package/orderlist/orderlist.umd.js +53 -21
- 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 +1773 -0
- package/overlayeventbus/overlayeventbus.umd.js +1783 -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 +6501 -0
- package/paginator/jumptopagedropdown.umd.js +6511 -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 +2277 -119
- package/paginator/paginator.umd.js +2277 -119
- 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 +91 -31
- package/paginator/rowsperpagedropdown.umd.js +91 -31
- 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 -21
- package/picklist/picklist.umd.js +57 -21
- 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 -18
- package/radiobutton/radiobutton.umd.js +26 -18
- 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 +178 -42
- package/resources/themes/arya-green/theme.css +178 -42
- package/resources/themes/arya-orange/theme.css +178 -42
- package/resources/themes/arya-purple/theme.css +178 -42
- package/resources/themes/bootstrap4-dark-blue/theme.css +175 -46
- package/resources/themes/bootstrap4-dark-purple/theme.css +175 -46
- package/resources/themes/bootstrap4-light-blue/theme.css +175 -46
- package/resources/themes/bootstrap4-light-purple/theme.css +175 -46
- package/resources/themes/fluent-light/theme.css +182 -46
- 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 +5418 -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 +5418 -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 +5418 -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 +5418 -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 +5418 -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 +5418 -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 +5418 -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 +5418 -0
- package/resources/themes/luna-amber/theme.css +175 -46
- package/resources/themes/luna-blue/theme.css +175 -46
- package/resources/themes/luna-green/theme.css +175 -46
- package/resources/themes/luna-pink/theme.css +175 -46
- package/resources/themes/md-dark-deeppurple/theme.css +379 -87
- package/resources/themes/md-dark-indigo/theme.css +379 -87
- package/resources/themes/md-light-deeppurple/theme.css +379 -87
- package/resources/themes/md-light-indigo/theme.css +379 -87
- package/resources/themes/mdc-dark-deeppurple/theme.css +379 -87
- package/resources/themes/mdc-dark-indigo/theme.css +379 -87
- package/resources/themes/mdc-light-deeppurple/theme.css +379 -87
- package/resources/themes/mdc-light-indigo/theme.css +379 -87
- package/resources/themes/nova/theme.css +175 -46
- package/resources/themes/nova-accent/theme.css +175 -46
- package/resources/themes/nova-alt/theme.css +175 -46
- package/resources/themes/nova-vue/theme.css +175 -46
- package/resources/themes/rhea/theme.css +175 -46
- package/resources/themes/saga-blue/theme.css +178 -42
- package/resources/themes/saga-green/theme.css +178 -42
- package/resources/themes/saga-orange/theme.css +178 -42
- package/resources/themes/saga-purple/theme.css +178 -42
- 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 +5493 -0
- package/resources/themes/vela-blue/theme.css +178 -42
- package/resources/themes/vela-green/theme.css +178 -42
- package/resources/themes/vela-orange/theme.css +178 -42
- package/resources/themes/vela-purple/theme.css +178 -42
- 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 -20
- package/selectbutton/selectbutton.umd.js +55 -20
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.vue +3 -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.js +4 -1
- package/styleclass/styleclass.common.js +31 -1
- package/styleclass/styleclass.umd.js +31 -1
- 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 -22
- package/tabview/tabview.umd.js +124 -22
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +1 -1
- package/tag/tag.umd.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/demo.html +3 -4
- 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 -18
- package/timeline/timeline.umd.js +26 -18
- 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 +1711 -24
- package/tooltip/tooltip.umd.js +1711 -24
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/TreeNode.vue +5 -1
- package/tree/tree.common.js +63 -31
- package/tree/tree.umd.js +63 -31
- 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/BodyCell.vue +162 -0
- package/treetable/FooterCell.vue +81 -0
- package/treetable/HeaderCell.vue +183 -0
- package/treetable/TreeTable.d.ts +2 -2
- package/treetable/TreeTable.vue +93 -116
- package/treetable/bodycell.common.js +5596 -0
- package/treetable/bodycell.umd.js +5606 -0
- package/treetable/bodycell.umd.min.js +1 -0
- package/treetable/demo.html +3 -3
- package/treetable/footercell.common.js +5300 -0
- package/treetable/footercell.umd.js +5310 -0
- package/treetable/footercell.umd.min.js +1 -0
- package/treetable/headercell.common.js +5529 -0
- package/treetable/headercell.umd.js +5539 -0
- package/treetable/headercell.umd.min.js +1 -0
- package/treetable/treetable.common.js +3801 -1562
- package/treetable/treetable.umd.js +3801 -1562
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +50 -21
- package/treetable/treetablerow.umd.js +50 -21
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +52 -24
- package/treetable/treetablerowloader.umd.js +52 -24
- 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 +1770 -0
- package/utils/eventbus.umd.js +1780 -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 -17
- package/utils/objectutils.umd.js +25 -17
- package/utils/objectutils.umd.min.js +1 -1
- package/utils/utils.common.js +5481 -0
- package/utils/utils.umd.js +5491 -0
- package/utils/utils.umd.min.js +1 -0
- package/vetur-attributes.json +148 -20
- package/vetur-tags.json +57 -20
- package/web-types.json +477 -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/dropdown/Dropdown.vue
CHANGED
|
@@ -13,12 +13,14 @@
|
|
|
13
13
|
</span>
|
|
14
14
|
<i v-if="showClear && value != null" class="p-dropdown-clear-icon pi pi-times" @click="onClearClick($event)"></i>
|
|
15
15
|
<div class="p-dropdown-trigger" role="button" aria-haspopup="listbox" :aria-expanded="overlayVisible">
|
|
16
|
-
<
|
|
16
|
+
<slot name="indicator">
|
|
17
|
+
<span class="p-dropdown-trigger-icon pi pi-chevron-down"></span>
|
|
18
|
+
</slot>
|
|
17
19
|
</div>
|
|
18
20
|
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave">
|
|
19
21
|
<div ref="overlay" class="p-dropdown-panel p-component" v-if="overlayVisible">
|
|
20
22
|
<div class="p-dropdown-header" v-if="filter">
|
|
21
|
-
<div
|
|
23
|
+
<div class="p-dropdown-filter-container">
|
|
22
24
|
<input type="text" ref="filterInput" v-model="filterValue" autoComplete="off" class="p-dropdown-filter p-inputtext p-component" :placeholder="filterPlaceholder" @keydown="onFilterKeyDown" @input="onFilterChange"/>
|
|
23
25
|
<span class="p-dropdown-filter-icon pi pi-search"></span>
|
|
24
26
|
</div>
|
|
@@ -83,6 +85,11 @@ export default {
|
|
|
83
85
|
overlayVisible: false
|
|
84
86
|
};
|
|
85
87
|
},
|
|
88
|
+
watch: {
|
|
89
|
+
value() {
|
|
90
|
+
this.isModelValueChanged = true;
|
|
91
|
+
}
|
|
92
|
+
},
|
|
86
93
|
outsideClickListener: null,
|
|
87
94
|
scrollHandler: null,
|
|
88
95
|
resizeListener: null,
|
|
@@ -90,6 +97,15 @@ export default {
|
|
|
90
97
|
currentSearchChar: null,
|
|
91
98
|
previousSearchChar: null,
|
|
92
99
|
searchValue: null,
|
|
100
|
+
isValueChanged: false,
|
|
101
|
+
updated() {
|
|
102
|
+
if (this.overlayVisible && this.isModelValueChanged) {
|
|
103
|
+
this.scrollValueInView();
|
|
104
|
+
}
|
|
105
|
+
this.isModelValueChanged = false;
|
|
106
|
+
|
|
107
|
+
this.onFilterUpdated();
|
|
108
|
+
},
|
|
93
109
|
beforeDestroy() {
|
|
94
110
|
this.restoreAppend();
|
|
95
111
|
this.unbindOutsideClickListener();
|
|
@@ -371,7 +387,7 @@ export default {
|
|
|
371
387
|
bindResizeListener() {
|
|
372
388
|
if (!this.resizeListener) {
|
|
373
389
|
this.resizeListener = () => {
|
|
374
|
-
if (this.overlayVisible && !DomHandler.
|
|
390
|
+
if (this.overlayVisible && !DomHandler.isTouchDevice()) {
|
|
375
391
|
this.hide();
|
|
376
392
|
}
|
|
377
393
|
};
|
|
@@ -393,7 +409,7 @@ export default {
|
|
|
393
409
|
clearTimeout(this.searchTimeout);
|
|
394
410
|
}
|
|
395
411
|
|
|
396
|
-
const char =
|
|
412
|
+
const char = event.key;
|
|
397
413
|
this.previousSearchChar = this.currentSearchChar;
|
|
398
414
|
this.currentSearchChar = char;
|
|
399
415
|
|
|
@@ -455,10 +471,20 @@ export default {
|
|
|
455
471
|
},
|
|
456
472
|
onFilterChange(event) {
|
|
457
473
|
this.$emit('filter', {originalEvent: event, value: event.target.value});
|
|
474
|
+
},
|
|
475
|
+
onFilterUpdated() {
|
|
458
476
|
if (this.overlayVisible) {
|
|
459
477
|
this.alignOverlay();
|
|
460
478
|
}
|
|
461
|
-
}
|
|
479
|
+
},
|
|
480
|
+
scrollValueInView() {
|
|
481
|
+
if (this.$refs.overlay) {
|
|
482
|
+
let selectedItem = DomHandler.findSingle(this.$refs.overlay, 'li.p-highlight');
|
|
483
|
+
if (selectedItem) {
|
|
484
|
+
selectedItem.scrollIntoView({ block: 'nearest', inline: 'start' });
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
462
488
|
},
|
|
463
489
|
computed: {
|
|
464
490
|
visibleOptions() {
|
|
@@ -558,6 +584,8 @@ input.p-dropdown-label {
|
|
|
558
584
|
|
|
559
585
|
.p-dropdown-panel {
|
|
560
586
|
position: absolute;
|
|
587
|
+
top: 0;
|
|
588
|
+
left: 0;
|
|
561
589
|
}
|
|
562
590
|
|
|
563
591
|
.p-dropdown-items-wrapper {
|
|
@@ -4399,7 +4399,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
4399
4399
|
|
|
4400
4400
|
|
|
4401
4401
|
// module
|
|
4402
|
-
exports.push([module.i, ".p-dropdown{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:-webkit-box;display:-ms-flexbox;display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}", ""]);
|
|
4402
|
+
exports.push([module.i, ".p-dropdown{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute;top:0;left:0}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:-webkit-box;display:-ms-flexbox;display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}", ""]);
|
|
4403
4403
|
|
|
4404
4404
|
// exports
|
|
4405
4405
|
|
|
@@ -4554,12 +4554,12 @@ if (typeof window !== 'undefined') {
|
|
|
4554
4554
|
// Indicate to webpack that this file can be concatenated
|
|
4555
4555
|
/* harmony default export */ var setPublicPath = (null);
|
|
4556
4556
|
|
|
4557
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4558
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass,on:{"click":function($event){return _vm.onClick($event)}}},[_c('div',{staticClass:"p-hidden-accessible"},[_c('input',{ref:"focusInput",attrs:{"type":"text","id":_vm.inputId,"readonly":"","disabled":_vm.disabled,"tabindex":_vm.tabindex,"aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible,"aria-labelledby":_vm.ariaLabelledBy},on:{"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":_vm.onKeyDown}})]),(_vm.editable)?_c('input',{staticClass:"p-dropdown-label p-inputtext",attrs:{"type":"text","disabled":_vm.disabled,"placeholder":_vm.placeholder,"aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible},domProps:{"value":_vm.editableInputValue},on:{"focus":_vm.onFocus,"blur":_vm.onBlur,"input":_vm.onEditableInput}}):_vm._e(),(!_vm.editable)?_c('span',{class:_vm.labelClass},[_vm._t("value",function(){return [_vm._v("\n "+_vm._s(_vm.label)+"\n ")]},{"value":_vm.value,"placeholder":_vm.placeholder})],2):_vm._e(),(_vm.showClear && _vm.value != null)?_c('i',{staticClass:"p-dropdown-clear-icon pi pi-times",on:{"click":function($event){return _vm.onClearClick($event)}}}):_vm._e(),_c('div',{staticClass:"p-dropdown-trigger",attrs:{"role":"button","aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible}},[_c('span',{staticClass:"p-dropdown-trigger-icon pi pi-chevron-down"})]),_c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onOverlayEnter,"leave":_vm.onOverlayLeave}},[(_vm.overlayVisible)?_c('div',{ref:"overlay",staticClass:"p-dropdown-panel p-component"},[(_vm.filter)?_c('div',{staticClass:"p-dropdown-header"},[_c('div',{staticClass:"p-dropdown-filter-container"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.filterValue),expression:"filterValue"}],ref:"filterInput",staticClass:"p-dropdown-filter p-inputtext p-component",attrs:{"type":"text","autoComplete":"off","placeholder":_vm.filterPlaceholder},domProps:{"value":(_vm.filterValue)},on:{"keydown":_vm.onFilterKeyDown,"input":[function($event){if($event.target.composing){ return; }_vm.filterValue=$event.target.value},_vm.onFilterChange]}}),_c('span',{staticClass:"p-dropdown-filter-icon pi pi-search"})])]):_vm._e(),_c('div',{ref:"itemsWrapper",staticClass:"p-dropdown-items-wrapper",style:({'max-height': _vm.scrollHeight})},[_c('ul',{staticClass:"p-dropdown-items",attrs:{"role":"listbox"}},[_vm._l((_vm.visibleOptions),function(option,i){return _c('li',{directives:[{name:"ripple",rawName:"v-ripple"}],key:_vm.getOptionRenderKey(option),class:['p-dropdown-item', {'p-highlight': _vm.isSelected(option), 'p-disabled': _vm.isOptionDisabled(option)}],attrs:{"aria-label":_vm.getOptionLabel(option),"role":"option","aria-selected":_vm.isSelected(option)},on:{"click":function($event){return _vm.onOptionSelect($event, option)}}},[_vm._t("option",function(){return [_vm._v("\n "+_vm._s(_vm.getOptionLabel(option))+"\n ")]},{"option":option,"index":i})],2)}),(_vm.filterValue && (!_vm.visibleOptions || (_vm.visibleOptions && _vm.visibleOptions.length === 0)))?_c('li',{staticClass:"p-dropdown-empty-message"},[_vm._v(_vm._s(_vm.emptyFilterMessage))]):_vm._e()],2)])]):_vm._e()])],1)}
|
|
4557
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/dropdown/Dropdown.vue?vue&type=template&id=5c815322&
|
|
4558
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass,on:{"click":function($event){return _vm.onClick($event)}}},[_c('div',{staticClass:"p-hidden-accessible"},[_c('input',{ref:"focusInput",attrs:{"type":"text","id":_vm.inputId,"readonly":"","disabled":_vm.disabled,"tabindex":_vm.tabindex,"aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible,"aria-labelledby":_vm.ariaLabelledBy},on:{"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":_vm.onKeyDown}})]),(_vm.editable)?_c('input',{staticClass:"p-dropdown-label p-inputtext",attrs:{"type":"text","disabled":_vm.disabled,"placeholder":_vm.placeholder,"aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible},domProps:{"value":_vm.editableInputValue},on:{"focus":_vm.onFocus,"blur":_vm.onBlur,"input":_vm.onEditableInput}}):_vm._e(),(!_vm.editable)?_c('span',{class:_vm.labelClass},[_vm._t("value",function(){return [_vm._v("\n "+_vm._s(_vm.label)+"\n ")]},{"value":_vm.value,"placeholder":_vm.placeholder})],2):_vm._e(),(_vm.showClear && _vm.value != null)?_c('i',{staticClass:"p-dropdown-clear-icon pi pi-times",on:{"click":function($event){return _vm.onClearClick($event)}}}):_vm._e(),_c('div',{staticClass:"p-dropdown-trigger",attrs:{"role":"button","aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible}},[_vm._t("indicator",function(){return [_c('span',{staticClass:"p-dropdown-trigger-icon pi pi-chevron-down"})]})],2),_c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onOverlayEnter,"leave":_vm.onOverlayLeave}},[(_vm.overlayVisible)?_c('div',{ref:"overlay",staticClass:"p-dropdown-panel p-component"},[(_vm.filter)?_c('div',{staticClass:"p-dropdown-header"},[_c('div',{staticClass:"p-dropdown-filter-container"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.filterValue),expression:"filterValue"}],ref:"filterInput",staticClass:"p-dropdown-filter p-inputtext p-component",attrs:{"type":"text","autoComplete":"off","placeholder":_vm.filterPlaceholder},domProps:{"value":(_vm.filterValue)},on:{"keydown":_vm.onFilterKeyDown,"input":[function($event){if($event.target.composing){ return; }_vm.filterValue=$event.target.value},_vm.onFilterChange]}}),_c('span',{staticClass:"p-dropdown-filter-icon pi pi-search"})])]):_vm._e(),_c('div',{ref:"itemsWrapper",staticClass:"p-dropdown-items-wrapper",style:({'max-height': _vm.scrollHeight})},[_c('ul',{staticClass:"p-dropdown-items",attrs:{"role":"listbox"}},[_vm._l((_vm.visibleOptions),function(option,i){return _c('li',{directives:[{name:"ripple",rawName:"v-ripple"}],key:_vm.getOptionRenderKey(option),class:['p-dropdown-item', {'p-highlight': _vm.isSelected(option), 'p-disabled': _vm.isOptionDisabled(option)}],attrs:{"aria-label":_vm.getOptionLabel(option),"role":"option","aria-selected":_vm.isSelected(option)},on:{"click":function($event){return _vm.onOptionSelect($event, option)}}},[_vm._t("option",function(){return [_vm._v("\n "+_vm._s(_vm.getOptionLabel(option))+"\n ")]},{"option":option,"index":i})],2)}),(_vm.filterValue && (!_vm.visibleOptions || (_vm.visibleOptions && _vm.visibleOptions.length === 0)))?_c('li',{staticClass:"p-dropdown-empty-message"},[_vm._v(_vm._s(_vm.emptyFilterMessage))]):_vm._e()],2)])]):_vm._e()])],1)}
|
|
4559
4559
|
var staticRenderFns = []
|
|
4560
4560
|
|
|
4561
4561
|
|
|
4562
|
-
// CONCATENATED MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=template&id=
|
|
4562
|
+
// CONCATENATED MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=template&id=5c815322&
|
|
4563
4563
|
|
|
4564
4564
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
4565
4565
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -4612,6 +4612,11 @@ function _defineProperties(target, props) {
|
|
|
4612
4612
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4613
4613
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4614
4614
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4615
|
+
|
|
4616
|
+
define_property_default()(Constructor, "prototype", {
|
|
4617
|
+
writable: false
|
|
4618
|
+
});
|
|
4619
|
+
|
|
4615
4620
|
return Constructor;
|
|
4616
4621
|
}
|
|
4617
4622
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
@@ -5156,6 +5161,12 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5156
5161
|
|
|
5157
5162
|
return visibleFocusableElements;
|
|
5158
5163
|
}
|
|
5164
|
+
}, {
|
|
5165
|
+
key: "getFirstFocusableElement",
|
|
5166
|
+
value: function getFirstFocusableElement(element) {
|
|
5167
|
+
var focusableElements = this.getFocusableElements(element);
|
|
5168
|
+
return focusableElements.length > 0 ? focusableElements[0] : null;
|
|
5169
|
+
}
|
|
5159
5170
|
}, {
|
|
5160
5171
|
key: "isClickable",
|
|
5161
5172
|
value: function isClickable(element) {
|
|
@@ -5163,6 +5174,17 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5163
5174
|
var parentNode = element.parentElement && element.parentElement.nodeName;
|
|
5164
5175
|
return targetNode == 'INPUT' || targetNode == 'BUTTON' || targetNode == 'A' || parentNode == 'INPUT' || parentNode == 'BUTTON' || parentNode == 'A' || this.hasClass(element, 'p-button') || this.hasClass(element.parentElement, 'p-button') || this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton');
|
|
5165
5176
|
}
|
|
5177
|
+
}, {
|
|
5178
|
+
key: "applyStyle",
|
|
5179
|
+
value: function applyStyle(element, style) {
|
|
5180
|
+
if (typeof style === 'string') {
|
|
5181
|
+
element.style.cssText = this.style;
|
|
5182
|
+
} else {
|
|
5183
|
+
for (var prop in this.style) {
|
|
5184
|
+
element.style[prop] = style[prop];
|
|
5185
|
+
}
|
|
5186
|
+
}
|
|
5187
|
+
}
|
|
5166
5188
|
}, {
|
|
5167
5189
|
key: "isIOS",
|
|
5168
5190
|
value: function isIOS() {
|
|
@@ -5173,6 +5195,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5173
5195
|
value: function isAndroid() {
|
|
5174
5196
|
return /(android)/i.test(navigator.userAgent);
|
|
5175
5197
|
}
|
|
5198
|
+
}, {
|
|
5199
|
+
key: "isTouchDevice",
|
|
5200
|
+
value: function isTouchDevice() {
|
|
5201
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5202
|
+
}
|
|
5176
5203
|
}]);
|
|
5177
5204
|
|
|
5178
5205
|
return DomHandler;
|
|
@@ -5229,9 +5256,6 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
5229
5256
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
5230
5257
|
var web_dom_iterable = __webpack_require__("ac6a");
|
|
5231
5258
|
|
|
5232
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
5233
|
-
var es6_array_iterator = __webpack_require__("cadf");
|
|
5234
|
-
|
|
5235
5259
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
5236
5260
|
var es6_object_keys = __webpack_require__("456d");
|
|
5237
5261
|
|
|
@@ -5246,20 +5270,14 @@ var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
|
5246
5270
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
|
|
5247
5271
|
|
|
5248
5272
|
|
|
5249
|
-
function
|
|
5273
|
+
function _typeof(obj) {
|
|
5250
5274
|
"@babel/helpers - typeof";
|
|
5251
5275
|
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
}
|
|
5257
|
-
typeof_typeof = function _typeof(obj) {
|
|
5258
|
-
return obj && typeof symbol_default.a === "function" && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5259
|
-
};
|
|
5260
|
-
}
|
|
5261
|
-
|
|
5262
|
-
return typeof_typeof(obj);
|
|
5276
|
+
return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
|
|
5277
|
+
return typeof obj;
|
|
5278
|
+
} : function (obj) {
|
|
5279
|
+
return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5280
|
+
}, _typeof(obj);
|
|
5263
5281
|
}
|
|
5264
5282
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
5265
5283
|
|
|
@@ -5278,7 +5296,6 @@ function typeof_typeof(obj) {
|
|
|
5278
5296
|
|
|
5279
5297
|
|
|
5280
5298
|
|
|
5281
|
-
|
|
5282
5299
|
function ObjectUtils_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = ObjectUtils_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; } } }; }
|
|
5283
5300
|
|
|
5284
5301
|
function ObjectUtils_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ObjectUtils_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 ObjectUtils_arrayLikeToArray(o, minLen); }
|
|
@@ -5300,7 +5317,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5300
5317
|
value: function deepEquals(a, b) {
|
|
5301
5318
|
if (a === b) return true;
|
|
5302
5319
|
|
|
5303
|
-
if (a && b &&
|
|
5320
|
+
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5304
5321
|
var arrA = Array.isArray(a),
|
|
5305
5322
|
arrB = Array.isArray(b),
|
|
5306
5323
|
i,
|
|
@@ -5502,6 +5519,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5502
5519
|
|
|
5503
5520
|
return str;
|
|
5504
5521
|
}
|
|
5522
|
+
}, {
|
|
5523
|
+
key: "getVNodeProp",
|
|
5524
|
+
value: function getVNodeProp(vnode, prop) {
|
|
5525
|
+
var props = vnode._props;
|
|
5526
|
+
|
|
5527
|
+
if (props) {
|
|
5528
|
+
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5529
|
+
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5530
|
+
return props[propName];
|
|
5531
|
+
}
|
|
5532
|
+
|
|
5533
|
+
return null;
|
|
5534
|
+
}
|
|
5505
5535
|
}]);
|
|
5506
5536
|
|
|
5507
5537
|
return ObjectUtils;
|
|
@@ -5643,6 +5673,8 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5643
5673
|
//
|
|
5644
5674
|
//
|
|
5645
5675
|
//
|
|
5676
|
+
//
|
|
5677
|
+
//
|
|
5646
5678
|
|
|
5647
5679
|
|
|
5648
5680
|
|
|
@@ -5685,6 +5717,11 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5685
5717
|
overlayVisible: false
|
|
5686
5718
|
};
|
|
5687
5719
|
},
|
|
5720
|
+
watch: {
|
|
5721
|
+
value: function value() {
|
|
5722
|
+
this.isModelValueChanged = true;
|
|
5723
|
+
}
|
|
5724
|
+
},
|
|
5688
5725
|
outsideClickListener: null,
|
|
5689
5726
|
scrollHandler: null,
|
|
5690
5727
|
resizeListener: null,
|
|
@@ -5692,6 +5729,15 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5692
5729
|
currentSearchChar: null,
|
|
5693
5730
|
previousSearchChar: null,
|
|
5694
5731
|
searchValue: null,
|
|
5732
|
+
isValueChanged: false,
|
|
5733
|
+
updated: function updated() {
|
|
5734
|
+
if (this.overlayVisible && this.isModelValueChanged) {
|
|
5735
|
+
this.scrollValueInView();
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5738
|
+
this.isModelValueChanged = false;
|
|
5739
|
+
this.onFilterUpdated();
|
|
5740
|
+
},
|
|
5695
5741
|
beforeDestroy: function beforeDestroy() {
|
|
5696
5742
|
this.restoreAppend();
|
|
5697
5743
|
this.unbindOutsideClickListener();
|
|
@@ -5986,7 +6032,7 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5986
6032
|
|
|
5987
6033
|
if (!this.resizeListener) {
|
|
5988
6034
|
this.resizeListener = function () {
|
|
5989
|
-
if (_this4.overlayVisible && !DomHandler_DomHandler.
|
|
6035
|
+
if (_this4.overlayVisible && !DomHandler_DomHandler.isTouchDevice()) {
|
|
5990
6036
|
_this4.hide();
|
|
5991
6037
|
}
|
|
5992
6038
|
};
|
|
@@ -6011,7 +6057,7 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6011
6057
|
clearTimeout(this.searchTimeout);
|
|
6012
6058
|
}
|
|
6013
6059
|
|
|
6014
|
-
var char =
|
|
6060
|
+
var char = event.key;
|
|
6015
6061
|
this.previousSearchChar = this.currentSearchChar;
|
|
6016
6062
|
this.currentSearchChar = char;
|
|
6017
6063
|
if (this.previousSearchChar === this.currentSearchChar) this.searchValue = this.currentSearchChar;else this.searchValue = this.searchValue ? this.searchValue + char : char;
|
|
@@ -6066,10 +6112,23 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6066
6112
|
originalEvent: event,
|
|
6067
6113
|
value: event.target.value
|
|
6068
6114
|
});
|
|
6069
|
-
|
|
6115
|
+
},
|
|
6116
|
+
onFilterUpdated: function onFilterUpdated() {
|
|
6070
6117
|
if (this.overlayVisible) {
|
|
6071
6118
|
this.alignOverlay();
|
|
6072
6119
|
}
|
|
6120
|
+
},
|
|
6121
|
+
scrollValueInView: function scrollValueInView() {
|
|
6122
|
+
if (this.$refs.overlay) {
|
|
6123
|
+
var selectedItem = DomHandler_DomHandler.findSingle(this.$refs.overlay, 'li.p-highlight');
|
|
6124
|
+
|
|
6125
|
+
if (selectedItem) {
|
|
6126
|
+
selectedItem.scrollIntoView({
|
|
6127
|
+
block: 'nearest',
|
|
6128
|
+
inline: 'start'
|
|
6129
|
+
});
|
|
6130
|
+
}
|
|
6131
|
+
}
|
|
6073
6132
|
}
|
|
6074
6133
|
},
|
|
6075
6134
|
computed: {
|
package/dropdown/dropdown.umd.js
CHANGED
|
@@ -4408,7 +4408,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
4408
4408
|
|
|
4409
4409
|
|
|
4410
4410
|
// module
|
|
4411
|
-
exports.push([module.i, ".p-dropdown{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:-webkit-box;display:-ms-flexbox;display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}", ""]);
|
|
4411
|
+
exports.push([module.i, ".p-dropdown{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute;top:0;left:0}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:-webkit-box;display:-ms-flexbox;display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}", ""]);
|
|
4412
4412
|
|
|
4413
4413
|
// exports
|
|
4414
4414
|
|
|
@@ -4563,12 +4563,12 @@ if (typeof window !== 'undefined') {
|
|
|
4563
4563
|
// Indicate to webpack that this file can be concatenated
|
|
4564
4564
|
/* harmony default export */ var setPublicPath = (null);
|
|
4565
4565
|
|
|
4566
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4567
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass,on:{"click":function($event){return _vm.onClick($event)}}},[_c('div',{staticClass:"p-hidden-accessible"},[_c('input',{ref:"focusInput",attrs:{"type":"text","id":_vm.inputId,"readonly":"","disabled":_vm.disabled,"tabindex":_vm.tabindex,"aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible,"aria-labelledby":_vm.ariaLabelledBy},on:{"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":_vm.onKeyDown}})]),(_vm.editable)?_c('input',{staticClass:"p-dropdown-label p-inputtext",attrs:{"type":"text","disabled":_vm.disabled,"placeholder":_vm.placeholder,"aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible},domProps:{"value":_vm.editableInputValue},on:{"focus":_vm.onFocus,"blur":_vm.onBlur,"input":_vm.onEditableInput}}):_vm._e(),(!_vm.editable)?_c('span',{class:_vm.labelClass},[_vm._t("value",function(){return [_vm._v("\n "+_vm._s(_vm.label)+"\n ")]},{"value":_vm.value,"placeholder":_vm.placeholder})],2):_vm._e(),(_vm.showClear && _vm.value != null)?_c('i',{staticClass:"p-dropdown-clear-icon pi pi-times",on:{"click":function($event){return _vm.onClearClick($event)}}}):_vm._e(),_c('div',{staticClass:"p-dropdown-trigger",attrs:{"role":"button","aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible}},[_c('span',{staticClass:"p-dropdown-trigger-icon pi pi-chevron-down"})]),_c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onOverlayEnter,"leave":_vm.onOverlayLeave}},[(_vm.overlayVisible)?_c('div',{ref:"overlay",staticClass:"p-dropdown-panel p-component"},[(_vm.filter)?_c('div',{staticClass:"p-dropdown-header"},[_c('div',{staticClass:"p-dropdown-filter-container"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.filterValue),expression:"filterValue"}],ref:"filterInput",staticClass:"p-dropdown-filter p-inputtext p-component",attrs:{"type":"text","autoComplete":"off","placeholder":_vm.filterPlaceholder},domProps:{"value":(_vm.filterValue)},on:{"keydown":_vm.onFilterKeyDown,"input":[function($event){if($event.target.composing){ return; }_vm.filterValue=$event.target.value},_vm.onFilterChange]}}),_c('span',{staticClass:"p-dropdown-filter-icon pi pi-search"})])]):_vm._e(),_c('div',{ref:"itemsWrapper",staticClass:"p-dropdown-items-wrapper",style:({'max-height': _vm.scrollHeight})},[_c('ul',{staticClass:"p-dropdown-items",attrs:{"role":"listbox"}},[_vm._l((_vm.visibleOptions),function(option,i){return _c('li',{directives:[{name:"ripple",rawName:"v-ripple"}],key:_vm.getOptionRenderKey(option),class:['p-dropdown-item', {'p-highlight': _vm.isSelected(option), 'p-disabled': _vm.isOptionDisabled(option)}],attrs:{"aria-label":_vm.getOptionLabel(option),"role":"option","aria-selected":_vm.isSelected(option)},on:{"click":function($event){return _vm.onOptionSelect($event, option)}}},[_vm._t("option",function(){return [_vm._v("\n "+_vm._s(_vm.getOptionLabel(option))+"\n ")]},{"option":option,"index":i})],2)}),(_vm.filterValue && (!_vm.visibleOptions || (_vm.visibleOptions && _vm.visibleOptions.length === 0)))?_c('li',{staticClass:"p-dropdown-empty-message"},[_vm._v(_vm._s(_vm.emptyFilterMessage))]):_vm._e()],2)])]):_vm._e()])],1)}
|
|
4566
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/dropdown/Dropdown.vue?vue&type=template&id=5c815322&
|
|
4567
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass,on:{"click":function($event){return _vm.onClick($event)}}},[_c('div',{staticClass:"p-hidden-accessible"},[_c('input',{ref:"focusInput",attrs:{"type":"text","id":_vm.inputId,"readonly":"","disabled":_vm.disabled,"tabindex":_vm.tabindex,"aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible,"aria-labelledby":_vm.ariaLabelledBy},on:{"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":_vm.onKeyDown}})]),(_vm.editable)?_c('input',{staticClass:"p-dropdown-label p-inputtext",attrs:{"type":"text","disabled":_vm.disabled,"placeholder":_vm.placeholder,"aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible},domProps:{"value":_vm.editableInputValue},on:{"focus":_vm.onFocus,"blur":_vm.onBlur,"input":_vm.onEditableInput}}):_vm._e(),(!_vm.editable)?_c('span',{class:_vm.labelClass},[_vm._t("value",function(){return [_vm._v("\n "+_vm._s(_vm.label)+"\n ")]},{"value":_vm.value,"placeholder":_vm.placeholder})],2):_vm._e(),(_vm.showClear && _vm.value != null)?_c('i',{staticClass:"p-dropdown-clear-icon pi pi-times",on:{"click":function($event){return _vm.onClearClick($event)}}}):_vm._e(),_c('div',{staticClass:"p-dropdown-trigger",attrs:{"role":"button","aria-haspopup":"listbox","aria-expanded":_vm.overlayVisible}},[_vm._t("indicator",function(){return [_c('span',{staticClass:"p-dropdown-trigger-icon pi pi-chevron-down"})]})],2),_c('transition',{attrs:{"name":"p-connected-overlay"},on:{"enter":_vm.onOverlayEnter,"leave":_vm.onOverlayLeave}},[(_vm.overlayVisible)?_c('div',{ref:"overlay",staticClass:"p-dropdown-panel p-component"},[(_vm.filter)?_c('div',{staticClass:"p-dropdown-header"},[_c('div',{staticClass:"p-dropdown-filter-container"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.filterValue),expression:"filterValue"}],ref:"filterInput",staticClass:"p-dropdown-filter p-inputtext p-component",attrs:{"type":"text","autoComplete":"off","placeholder":_vm.filterPlaceholder},domProps:{"value":(_vm.filterValue)},on:{"keydown":_vm.onFilterKeyDown,"input":[function($event){if($event.target.composing){ return; }_vm.filterValue=$event.target.value},_vm.onFilterChange]}}),_c('span',{staticClass:"p-dropdown-filter-icon pi pi-search"})])]):_vm._e(),_c('div',{ref:"itemsWrapper",staticClass:"p-dropdown-items-wrapper",style:({'max-height': _vm.scrollHeight})},[_c('ul',{staticClass:"p-dropdown-items",attrs:{"role":"listbox"}},[_vm._l((_vm.visibleOptions),function(option,i){return _c('li',{directives:[{name:"ripple",rawName:"v-ripple"}],key:_vm.getOptionRenderKey(option),class:['p-dropdown-item', {'p-highlight': _vm.isSelected(option), 'p-disabled': _vm.isOptionDisabled(option)}],attrs:{"aria-label":_vm.getOptionLabel(option),"role":"option","aria-selected":_vm.isSelected(option)},on:{"click":function($event){return _vm.onOptionSelect($event, option)}}},[_vm._t("option",function(){return [_vm._v("\n "+_vm._s(_vm.getOptionLabel(option))+"\n ")]},{"option":option,"index":i})],2)}),(_vm.filterValue && (!_vm.visibleOptions || (_vm.visibleOptions && _vm.visibleOptions.length === 0)))?_c('li',{staticClass:"p-dropdown-empty-message"},[_vm._v(_vm._s(_vm.emptyFilterMessage))]):_vm._e()],2)])]):_vm._e()])],1)}
|
|
4568
4568
|
var staticRenderFns = []
|
|
4569
4569
|
|
|
4570
4570
|
|
|
4571
|
-
// CONCATENATED MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=template&id=
|
|
4571
|
+
// CONCATENATED MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=template&id=5c815322&
|
|
4572
4572
|
|
|
4573
4573
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
4574
4574
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -4621,6 +4621,11 @@ function _defineProperties(target, props) {
|
|
|
4621
4621
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4622
4622
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4623
4623
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4624
|
+
|
|
4625
|
+
define_property_default()(Constructor, "prototype", {
|
|
4626
|
+
writable: false
|
|
4627
|
+
});
|
|
4628
|
+
|
|
4624
4629
|
return Constructor;
|
|
4625
4630
|
}
|
|
4626
4631
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
@@ -5165,6 +5170,12 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5165
5170
|
|
|
5166
5171
|
return visibleFocusableElements;
|
|
5167
5172
|
}
|
|
5173
|
+
}, {
|
|
5174
|
+
key: "getFirstFocusableElement",
|
|
5175
|
+
value: function getFirstFocusableElement(element) {
|
|
5176
|
+
var focusableElements = this.getFocusableElements(element);
|
|
5177
|
+
return focusableElements.length > 0 ? focusableElements[0] : null;
|
|
5178
|
+
}
|
|
5168
5179
|
}, {
|
|
5169
5180
|
key: "isClickable",
|
|
5170
5181
|
value: function isClickable(element) {
|
|
@@ -5172,6 +5183,17 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5172
5183
|
var parentNode = element.parentElement && element.parentElement.nodeName;
|
|
5173
5184
|
return targetNode == 'INPUT' || targetNode == 'BUTTON' || targetNode == 'A' || parentNode == 'INPUT' || parentNode == 'BUTTON' || parentNode == 'A' || this.hasClass(element, 'p-button') || this.hasClass(element.parentElement, 'p-button') || this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton');
|
|
5174
5185
|
}
|
|
5186
|
+
}, {
|
|
5187
|
+
key: "applyStyle",
|
|
5188
|
+
value: function applyStyle(element, style) {
|
|
5189
|
+
if (typeof style === 'string') {
|
|
5190
|
+
element.style.cssText = this.style;
|
|
5191
|
+
} else {
|
|
5192
|
+
for (var prop in this.style) {
|
|
5193
|
+
element.style[prop] = style[prop];
|
|
5194
|
+
}
|
|
5195
|
+
}
|
|
5196
|
+
}
|
|
5175
5197
|
}, {
|
|
5176
5198
|
key: "isIOS",
|
|
5177
5199
|
value: function isIOS() {
|
|
@@ -5182,6 +5204,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5182
5204
|
value: function isAndroid() {
|
|
5183
5205
|
return /(android)/i.test(navigator.userAgent);
|
|
5184
5206
|
}
|
|
5207
|
+
}, {
|
|
5208
|
+
key: "isTouchDevice",
|
|
5209
|
+
value: function isTouchDevice() {
|
|
5210
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5211
|
+
}
|
|
5185
5212
|
}]);
|
|
5186
5213
|
|
|
5187
5214
|
return DomHandler;
|
|
@@ -5238,9 +5265,6 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
5238
5265
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
5239
5266
|
var web_dom_iterable = __webpack_require__("ac6a");
|
|
5240
5267
|
|
|
5241
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
5242
|
-
var es6_array_iterator = __webpack_require__("cadf");
|
|
5243
|
-
|
|
5244
5268
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
5245
5269
|
var es6_object_keys = __webpack_require__("456d");
|
|
5246
5270
|
|
|
@@ -5255,20 +5279,14 @@ var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
|
5255
5279
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
|
|
5256
5280
|
|
|
5257
5281
|
|
|
5258
|
-
function
|
|
5282
|
+
function _typeof(obj) {
|
|
5259
5283
|
"@babel/helpers - typeof";
|
|
5260
5284
|
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
}
|
|
5266
|
-
typeof_typeof = function _typeof(obj) {
|
|
5267
|
-
return obj && typeof symbol_default.a === "function" && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5268
|
-
};
|
|
5269
|
-
}
|
|
5270
|
-
|
|
5271
|
-
return typeof_typeof(obj);
|
|
5285
|
+
return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
|
|
5286
|
+
return typeof obj;
|
|
5287
|
+
} : function (obj) {
|
|
5288
|
+
return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5289
|
+
}, _typeof(obj);
|
|
5272
5290
|
}
|
|
5273
5291
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
5274
5292
|
|
|
@@ -5287,7 +5305,6 @@ function typeof_typeof(obj) {
|
|
|
5287
5305
|
|
|
5288
5306
|
|
|
5289
5307
|
|
|
5290
|
-
|
|
5291
5308
|
function ObjectUtils_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = ObjectUtils_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; } } }; }
|
|
5292
5309
|
|
|
5293
5310
|
function ObjectUtils_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ObjectUtils_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 ObjectUtils_arrayLikeToArray(o, minLen); }
|
|
@@ -5309,7 +5326,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5309
5326
|
value: function deepEquals(a, b) {
|
|
5310
5327
|
if (a === b) return true;
|
|
5311
5328
|
|
|
5312
|
-
if (a && b &&
|
|
5329
|
+
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5313
5330
|
var arrA = Array.isArray(a),
|
|
5314
5331
|
arrB = Array.isArray(b),
|
|
5315
5332
|
i,
|
|
@@ -5511,6 +5528,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5511
5528
|
|
|
5512
5529
|
return str;
|
|
5513
5530
|
}
|
|
5531
|
+
}, {
|
|
5532
|
+
key: "getVNodeProp",
|
|
5533
|
+
value: function getVNodeProp(vnode, prop) {
|
|
5534
|
+
var props = vnode._props;
|
|
5535
|
+
|
|
5536
|
+
if (props) {
|
|
5537
|
+
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5538
|
+
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5539
|
+
return props[propName];
|
|
5540
|
+
}
|
|
5541
|
+
|
|
5542
|
+
return null;
|
|
5543
|
+
}
|
|
5514
5544
|
}]);
|
|
5515
5545
|
|
|
5516
5546
|
return ObjectUtils;
|
|
@@ -5652,6 +5682,8 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5652
5682
|
//
|
|
5653
5683
|
//
|
|
5654
5684
|
//
|
|
5685
|
+
//
|
|
5686
|
+
//
|
|
5655
5687
|
|
|
5656
5688
|
|
|
5657
5689
|
|
|
@@ -5694,6 +5726,11 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5694
5726
|
overlayVisible: false
|
|
5695
5727
|
};
|
|
5696
5728
|
},
|
|
5729
|
+
watch: {
|
|
5730
|
+
value: function value() {
|
|
5731
|
+
this.isModelValueChanged = true;
|
|
5732
|
+
}
|
|
5733
|
+
},
|
|
5697
5734
|
outsideClickListener: null,
|
|
5698
5735
|
scrollHandler: null,
|
|
5699
5736
|
resizeListener: null,
|
|
@@ -5701,6 +5738,15 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5701
5738
|
currentSearchChar: null,
|
|
5702
5739
|
previousSearchChar: null,
|
|
5703
5740
|
searchValue: null,
|
|
5741
|
+
isValueChanged: false,
|
|
5742
|
+
updated: function updated() {
|
|
5743
|
+
if (this.overlayVisible && this.isModelValueChanged) {
|
|
5744
|
+
this.scrollValueInView();
|
|
5745
|
+
}
|
|
5746
|
+
|
|
5747
|
+
this.isModelValueChanged = false;
|
|
5748
|
+
this.onFilterUpdated();
|
|
5749
|
+
},
|
|
5704
5750
|
beforeDestroy: function beforeDestroy() {
|
|
5705
5751
|
this.restoreAppend();
|
|
5706
5752
|
this.unbindOutsideClickListener();
|
|
@@ -5995,7 +6041,7 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5995
6041
|
|
|
5996
6042
|
if (!this.resizeListener) {
|
|
5997
6043
|
this.resizeListener = function () {
|
|
5998
|
-
if (_this4.overlayVisible && !DomHandler_DomHandler.
|
|
6044
|
+
if (_this4.overlayVisible && !DomHandler_DomHandler.isTouchDevice()) {
|
|
5999
6045
|
_this4.hide();
|
|
6000
6046
|
}
|
|
6001
6047
|
};
|
|
@@ -6020,7 +6066,7 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6020
6066
|
clearTimeout(this.searchTimeout);
|
|
6021
6067
|
}
|
|
6022
6068
|
|
|
6023
|
-
var char =
|
|
6069
|
+
var char = event.key;
|
|
6024
6070
|
this.previousSearchChar = this.currentSearchChar;
|
|
6025
6071
|
this.currentSearchChar = char;
|
|
6026
6072
|
if (this.previousSearchChar === this.currentSearchChar) this.searchValue = this.currentSearchChar;else this.searchValue = this.searchValue ? this.searchValue + char : char;
|
|
@@ -6075,10 +6121,23 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6075
6121
|
originalEvent: event,
|
|
6076
6122
|
value: event.target.value
|
|
6077
6123
|
});
|
|
6078
|
-
|
|
6124
|
+
},
|
|
6125
|
+
onFilterUpdated: function onFilterUpdated() {
|
|
6079
6126
|
if (this.overlayVisible) {
|
|
6080
6127
|
this.alignOverlay();
|
|
6081
6128
|
}
|
|
6129
|
+
},
|
|
6130
|
+
scrollValueInView: function scrollValueInView() {
|
|
6131
|
+
if (this.$refs.overlay) {
|
|
6132
|
+
var selectedItem = DomHandler_DomHandler.findSingle(this.$refs.overlay, 'li.p-highlight');
|
|
6133
|
+
|
|
6134
|
+
if (selectedItem) {
|
|
6135
|
+
selectedItem.scrollIntoView({
|
|
6136
|
+
block: 'nearest',
|
|
6137
|
+
inline: 'start'
|
|
6138
|
+
});
|
|
6139
|
+
}
|
|
6140
|
+
}
|
|
6082
6141
|
}
|
|
6083
6142
|
},
|
|
6084
6143
|
computed: {
|