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
|
@@ -1034,7 +1034,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
1034
1034
|
|
|
1035
1035
|
|
|
1036
1036
|
// module
|
|
1037
|
-
exports.push([module.i, ".p-tabview-nav{margin:0;padding:0;list-style-type:none;-ms-flex
|
|
1037
|
+
exports.push([module.i, ".p-tabview-nav-container{position:relative}.p-tabview-scrollable .p-tabview-nav-container{overflow:hidden}.p-tabview-nav-content{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;-ms-scroll-chaining:contain auto;overscroll-behavior:contain auto}.p-tabview-nav{margin:0;padding:0;list-style-type:none;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-tabview-nav,.p-tabview-nav-link{display:-webkit-box;display:-ms-flexbox;display:flex}.p-tabview-nav-link{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabview-ink-bar{display:none;z-index:1}.p-tabview-nav-link:focus{z-index:1}.p-tabview-title{line-height:1;white-space:nowrap}.p-tabview-nav-btn{position:absolute;top:0;z-index:2;height:100%;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}.p-tabview-nav-prev{left:0}.p-tabview-nav-next{right:0}.p-tabview-nav-content::-webkit-scrollbar{display:none}", ""]);
|
|
1038
1038
|
|
|
1039
1039
|
// exports
|
|
1040
1040
|
|
|
@@ -4608,12 +4608,12 @@ if (typeof window !== 'undefined') {
|
|
|
4608
4608
|
// Indicate to webpack that this file can be concatenated
|
|
4609
4609
|
/* harmony default export */ var setPublicPath = (null);
|
|
4610
4610
|
|
|
4611
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4612
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-tabview p-
|
|
4611
|
+
// 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/tabview/TabView.vue?vue&type=template&id=170704d5&
|
|
4612
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.contentClasses},[_c('div',{staticClass:"p-tabview-nav-container"},[(_vm.scrollable && !_vm.backwardIsDisabled)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],ref:"prevBtn",class:_vm.prevButtonClasses,attrs:{"disabled":_vm.backwardIsDisabled,"type":"button"},on:{"click":_vm.navBackward}},[_c('span',{staticClass:"pi pi-chevron-left"})]):_vm._e(),_c('div',{ref:"content",staticClass:"p-tabview-nav-content",on:{"scroll":_vm.onScroll}},[_c('ul',{ref:"nav",staticClass:"p-tabview-nav",attrs:{"role":"tablist"}},[_vm._l((_vm.tabs),function(tab,i){return _c('li',{key:_vm.getKey(tab, i),class:[{'p-highlight': (_vm.d_activeIndex === i), 'p-disabled': _vm.isTabDisabled(tab)}],attrs:{"role":"presentation"}},[_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-tabview-nav-link",attrs:{"role":"tab","tabindex":_vm.isTabDisabled(tab) ? null : '0',"aria-selected":_vm.d_activeIndex},on:{"click":function($event){return _vm.onTabClick($event, i)},"keydown":function($event){return _vm.onTabKeydown($event, i)}}},[(tab.header)?_c('span',{staticClass:"p-tabview-title"},[_vm._v(_vm._s(tab.header))]):_vm._e(),(tab.$scopedSlots.header)?_c('TabPanelHeaderSlot',{attrs:{"tab":tab}}):_vm._e()],1)])}),_c('li',{ref:"inkbar",staticClass:"p-tabview-ink-bar"})],2)]),(_vm.scrollable && !_vm.forwardIsDisabled)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],ref:"nextBtn",class:_vm.nextButtonClasses,attrs:{"disabled":_vm.forwardIsDisabled,"type":"button"},on:{"click":_vm.navForward}},[_c('span',{staticClass:"pi pi-chevron-right"})]):_vm._e()]),_c('div',{staticClass:"p-tabview-panels"},[_vm._t("default")],2)])}
|
|
4613
4613
|
var staticRenderFns = []
|
|
4614
4614
|
|
|
4615
4615
|
|
|
4616
|
-
// CONCATENATED MODULE: ./src/components/tabview/TabView.vue?vue&type=template&id=
|
|
4616
|
+
// CONCATENATED MODULE: ./src/components/tabview/TabView.vue?vue&type=template&id=170704d5&
|
|
4617
4617
|
|
|
4618
4618
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
4619
4619
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
@@ -4675,6 +4675,11 @@ function _defineProperties(target, props) {
|
|
|
4675
4675
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4676
4676
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4677
4677
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4678
|
+
|
|
4679
|
+
define_property_default()(Constructor, "prototype", {
|
|
4680
|
+
writable: false
|
|
4681
|
+
});
|
|
4682
|
+
|
|
4678
4683
|
return Constructor;
|
|
4679
4684
|
}
|
|
4680
4685
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -5207,6 +5212,12 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5207
5212
|
|
|
5208
5213
|
return visibleFocusableElements;
|
|
5209
5214
|
}
|
|
5215
|
+
}, {
|
|
5216
|
+
key: "getFirstFocusableElement",
|
|
5217
|
+
value: function getFirstFocusableElement(element) {
|
|
5218
|
+
var focusableElements = this.getFocusableElements(element);
|
|
5219
|
+
return focusableElements.length > 0 ? focusableElements[0] : null;
|
|
5220
|
+
}
|
|
5210
5221
|
}, {
|
|
5211
5222
|
key: "isClickable",
|
|
5212
5223
|
value: function isClickable(element) {
|
|
@@ -5214,6 +5225,17 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5214
5225
|
var parentNode = element.parentElement && element.parentElement.nodeName;
|
|
5215
5226
|
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');
|
|
5216
5227
|
}
|
|
5228
|
+
}, {
|
|
5229
|
+
key: "applyStyle",
|
|
5230
|
+
value: function applyStyle(element, style) {
|
|
5231
|
+
if (typeof style === 'string') {
|
|
5232
|
+
element.style.cssText = this.style;
|
|
5233
|
+
} else {
|
|
5234
|
+
for (var prop in this.style) {
|
|
5235
|
+
element.style[prop] = style[prop];
|
|
5236
|
+
}
|
|
5237
|
+
}
|
|
5238
|
+
}
|
|
5217
5239
|
}, {
|
|
5218
5240
|
key: "isIOS",
|
|
5219
5241
|
value: function isIOS() {
|
|
@@ -5224,6 +5246,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5224
5246
|
value: function isAndroid() {
|
|
5225
5247
|
return /(android)/i.test(navigator.userAgent);
|
|
5226
5248
|
}
|
|
5249
|
+
}, {
|
|
5250
|
+
key: "isTouchDevice",
|
|
5251
|
+
value: function isTouchDevice() {
|
|
5252
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5253
|
+
}
|
|
5227
5254
|
}]);
|
|
5228
5255
|
|
|
5229
5256
|
return DomHandler;
|
|
@@ -5236,9 +5263,6 @@ var es6_regexp_search = __webpack_require__("386d");
|
|
|
5236
5263
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
5237
5264
|
var web_dom_iterable = __webpack_require__("ac6a");
|
|
5238
5265
|
|
|
5239
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
5240
|
-
var es6_array_iterator = __webpack_require__("cadf");
|
|
5241
|
-
|
|
5242
5266
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
5243
5267
|
var es6_object_keys = __webpack_require__("456d");
|
|
5244
5268
|
|
|
@@ -5253,20 +5277,14 @@ var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
|
5253
5277
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
|
|
5254
5278
|
|
|
5255
5279
|
|
|
5256
|
-
function
|
|
5280
|
+
function _typeof(obj) {
|
|
5257
5281
|
"@babel/helpers - typeof";
|
|
5258
5282
|
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
}
|
|
5264
|
-
typeof_typeof = function _typeof(obj) {
|
|
5265
|
-
return obj && typeof symbol_default.a === "function" && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5266
|
-
};
|
|
5267
|
-
}
|
|
5268
|
-
|
|
5269
|
-
return typeof_typeof(obj);
|
|
5283
|
+
return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
|
|
5284
|
+
return typeof obj;
|
|
5285
|
+
} : function (obj) {
|
|
5286
|
+
return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5287
|
+
}, _typeof(obj);
|
|
5270
5288
|
}
|
|
5271
5289
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
5272
5290
|
|
|
@@ -5285,7 +5303,6 @@ function typeof_typeof(obj) {
|
|
|
5285
5303
|
|
|
5286
5304
|
|
|
5287
5305
|
|
|
5288
|
-
|
|
5289
5306
|
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; } } }; }
|
|
5290
5307
|
|
|
5291
5308
|
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); }
|
|
@@ -5307,7 +5324,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5307
5324
|
value: function deepEquals(a, b) {
|
|
5308
5325
|
if (a === b) return true;
|
|
5309
5326
|
|
|
5310
|
-
if (a && b &&
|
|
5327
|
+
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5311
5328
|
var arrA = Array.isArray(a),
|
|
5312
5329
|
arrB = Array.isArray(b),
|
|
5313
5330
|
i,
|
|
@@ -5509,6 +5526,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5509
5526
|
|
|
5510
5527
|
return str;
|
|
5511
5528
|
}
|
|
5529
|
+
}, {
|
|
5530
|
+
key: "getVNodeProp",
|
|
5531
|
+
value: function getVNodeProp(vnode, prop) {
|
|
5532
|
+
var props = vnode._props;
|
|
5533
|
+
|
|
5534
|
+
if (props) {
|
|
5535
|
+
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5536
|
+
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5537
|
+
return props[propName];
|
|
5538
|
+
}
|
|
5539
|
+
|
|
5540
|
+
return null;
|
|
5541
|
+
}
|
|
5512
5542
|
}]);
|
|
5513
5543
|
|
|
5514
5544
|
return ObjectUtils;
|
|
@@ -5612,6 +5642,16 @@ var Ripple = {
|
|
|
5612
5642
|
//
|
|
5613
5643
|
//
|
|
5614
5644
|
//
|
|
5645
|
+
//
|
|
5646
|
+
//
|
|
5647
|
+
//
|
|
5648
|
+
//
|
|
5649
|
+
//
|
|
5650
|
+
//
|
|
5651
|
+
//
|
|
5652
|
+
//
|
|
5653
|
+
//
|
|
5654
|
+
//
|
|
5615
5655
|
|
|
5616
5656
|
|
|
5617
5657
|
|
|
@@ -5632,17 +5672,24 @@ var TabPanelHeaderSlot = {
|
|
|
5632
5672
|
activeIndex: {
|
|
5633
5673
|
type: Number,
|
|
5634
5674
|
default: 0
|
|
5675
|
+
},
|
|
5676
|
+
scrollable: {
|
|
5677
|
+
type: Boolean,
|
|
5678
|
+
default: false
|
|
5635
5679
|
}
|
|
5636
5680
|
},
|
|
5637
5681
|
data: function data() {
|
|
5638
5682
|
return {
|
|
5639
5683
|
allChildren: [],
|
|
5640
|
-
d_activeIndex: this.activeIndex
|
|
5684
|
+
d_activeIndex: this.activeIndex,
|
|
5685
|
+
backwardIsDisabled: true,
|
|
5686
|
+
forwardIsDisabled: false
|
|
5641
5687
|
};
|
|
5642
5688
|
},
|
|
5643
5689
|
watch: {
|
|
5644
5690
|
activeIndex: function activeIndex(newValue) {
|
|
5645
5691
|
this.d_activeIndex = newValue;
|
|
5692
|
+
this.updateScrollBar(newValue);
|
|
5646
5693
|
}
|
|
5647
5694
|
},
|
|
5648
5695
|
mounted: function mounted() {
|
|
@@ -5661,6 +5708,7 @@ var TabPanelHeaderSlot = {
|
|
|
5661
5708
|
originalEvent: event,
|
|
5662
5709
|
index: i
|
|
5663
5710
|
});
|
|
5711
|
+
this.updateScrollBar(i);
|
|
5664
5712
|
}
|
|
5665
5713
|
|
|
5666
5714
|
this.$emit('tab-click', {
|
|
@@ -5680,14 +5728,68 @@ var TabPanelHeaderSlot = {
|
|
|
5680
5728
|
this.$refs.inkbar.style.left = DomHandler_DomHandler.getOffset(tabHeader).left - DomHandler_DomHandler.getOffset(this.$refs.nav).left + 'px';
|
|
5681
5729
|
}
|
|
5682
5730
|
},
|
|
5731
|
+
updateScrollBar: function updateScrollBar(index) {
|
|
5732
|
+
var tabHeader = this.$refs.nav.children[index];
|
|
5733
|
+
tabHeader.scrollIntoView({
|
|
5734
|
+
block: 'nearest'
|
|
5735
|
+
});
|
|
5736
|
+
},
|
|
5737
|
+
updateButtonState: function updateButtonState() {
|
|
5738
|
+
var content = this.$refs.content;
|
|
5739
|
+
var scrollLeft = content.scrollLeft,
|
|
5740
|
+
scrollWidth = content.scrollWidth;
|
|
5741
|
+
var width = DomHandler_DomHandler.getWidth(content);
|
|
5742
|
+
this.backwardIsDisabled = scrollLeft === 0;
|
|
5743
|
+
this.forwardIsDisabled = scrollLeft === scrollWidth - width;
|
|
5744
|
+
},
|
|
5683
5745
|
getKey: function getKey(tab, index) {
|
|
5684
5746
|
return tab.header ? ObjectUtils_ObjectUtils.resolveFieldData(tab, tab.header) : index;
|
|
5685
5747
|
},
|
|
5686
5748
|
isTabDisabled: function isTabDisabled(tab) {
|
|
5687
5749
|
return tab.disabled;
|
|
5750
|
+
},
|
|
5751
|
+
onScroll: function onScroll(event) {
|
|
5752
|
+
this.scrollable && this.updateButtonState();
|
|
5753
|
+
event.preventDefault();
|
|
5754
|
+
},
|
|
5755
|
+
getVisibleButtonWidths: function getVisibleButtonWidths() {
|
|
5756
|
+
var _this$$refs = this.$refs,
|
|
5757
|
+
prevBtn = _this$$refs.prevBtn,
|
|
5758
|
+
nextBtn = _this$$refs.nextBtn;
|
|
5759
|
+
return [prevBtn, nextBtn].reduce(function (acc, el) {
|
|
5760
|
+
return el ? acc + DomHandler_DomHandler.getWidth(el) : acc;
|
|
5761
|
+
}, 0);
|
|
5762
|
+
},
|
|
5763
|
+
navBackward: function navBackward() {
|
|
5764
|
+
var content = this.$refs.content;
|
|
5765
|
+
var width = DomHandler_DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
5766
|
+
var pos = content.scrollLeft - width;
|
|
5767
|
+
content.scrollLeft = pos <= 0 ? 0 : pos;
|
|
5768
|
+
},
|
|
5769
|
+
navForward: function navForward() {
|
|
5770
|
+
var content = this.$refs.content;
|
|
5771
|
+
var width = DomHandler_DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
5772
|
+
var pos = content.scrollLeft + width;
|
|
5773
|
+
var lastPos = content.scrollWidth - width;
|
|
5774
|
+
content.scrollLeft = pos >= lastPos ? lastPos : pos;
|
|
5688
5775
|
}
|
|
5689
5776
|
},
|
|
5690
5777
|
computed: {
|
|
5778
|
+
contentClasses: function contentClasses() {
|
|
5779
|
+
return ['p-tabview p-component', {
|
|
5780
|
+
'p-tabview-scrollable': this.scrollable
|
|
5781
|
+
}];
|
|
5782
|
+
},
|
|
5783
|
+
prevButtonClasses: function prevButtonClasses() {
|
|
5784
|
+
return ['p-tabview-nav-prev p-tabview-nav-btn p-link', {
|
|
5785
|
+
'p-disabled': this.backwardIsDisabled
|
|
5786
|
+
}];
|
|
5787
|
+
},
|
|
5788
|
+
nextButtonClasses: function nextButtonClasses() {
|
|
5789
|
+
return ['p-tabview-nav-next p-tabview-nav-btn p-link', {
|
|
5790
|
+
'p-disabled': this.forwardIsDisabled
|
|
5791
|
+
}];
|
|
5792
|
+
},
|
|
5691
5793
|
tabs: function tabs() {
|
|
5692
5794
|
var tabs = [];
|
|
5693
5795
|
|
package/tabview/tabview.umd.js
CHANGED
|
@@ -1043,7 +1043,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
1043
1043
|
|
|
1044
1044
|
|
|
1045
1045
|
// module
|
|
1046
|
-
exports.push([module.i, ".p-tabview-nav{margin:0;padding:0;list-style-type:none;-ms-flex
|
|
1046
|
+
exports.push([module.i, ".p-tabview-nav-container{position:relative}.p-tabview-scrollable .p-tabview-nav-container{overflow:hidden}.p-tabview-nav-content{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;-ms-scroll-chaining:contain auto;overscroll-behavior:contain auto}.p-tabview-nav{margin:0;padding:0;list-style-type:none;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-tabview-nav,.p-tabview-nav-link{display:-webkit-box;display:-ms-flexbox;display:flex}.p-tabview-nav-link{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabview-ink-bar{display:none;z-index:1}.p-tabview-nav-link:focus{z-index:1}.p-tabview-title{line-height:1;white-space:nowrap}.p-tabview-nav-btn{position:absolute;top:0;z-index:2;height:100%;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}.p-tabview-nav-prev{left:0}.p-tabview-nav-next{right:0}.p-tabview-nav-content::-webkit-scrollbar{display:none}", ""]);
|
|
1047
1047
|
|
|
1048
1048
|
// exports
|
|
1049
1049
|
|
|
@@ -4617,12 +4617,12 @@ if (typeof window !== 'undefined') {
|
|
|
4617
4617
|
// Indicate to webpack that this file can be concatenated
|
|
4618
4618
|
/* harmony default export */ var setPublicPath = (null);
|
|
4619
4619
|
|
|
4620
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4621
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-tabview p-
|
|
4620
|
+
// 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/tabview/TabView.vue?vue&type=template&id=170704d5&
|
|
4621
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.contentClasses},[_c('div',{staticClass:"p-tabview-nav-container"},[(_vm.scrollable && !_vm.backwardIsDisabled)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],ref:"prevBtn",class:_vm.prevButtonClasses,attrs:{"disabled":_vm.backwardIsDisabled,"type":"button"},on:{"click":_vm.navBackward}},[_c('span',{staticClass:"pi pi-chevron-left"})]):_vm._e(),_c('div',{ref:"content",staticClass:"p-tabview-nav-content",on:{"scroll":_vm.onScroll}},[_c('ul',{ref:"nav",staticClass:"p-tabview-nav",attrs:{"role":"tablist"}},[_vm._l((_vm.tabs),function(tab,i){return _c('li',{key:_vm.getKey(tab, i),class:[{'p-highlight': (_vm.d_activeIndex === i), 'p-disabled': _vm.isTabDisabled(tab)}],attrs:{"role":"presentation"}},[_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-tabview-nav-link",attrs:{"role":"tab","tabindex":_vm.isTabDisabled(tab) ? null : '0',"aria-selected":_vm.d_activeIndex},on:{"click":function($event){return _vm.onTabClick($event, i)},"keydown":function($event){return _vm.onTabKeydown($event, i)}}},[(tab.header)?_c('span',{staticClass:"p-tabview-title"},[_vm._v(_vm._s(tab.header))]):_vm._e(),(tab.$scopedSlots.header)?_c('TabPanelHeaderSlot',{attrs:{"tab":tab}}):_vm._e()],1)])}),_c('li',{ref:"inkbar",staticClass:"p-tabview-ink-bar"})],2)]),(_vm.scrollable && !_vm.forwardIsDisabled)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],ref:"nextBtn",class:_vm.nextButtonClasses,attrs:{"disabled":_vm.forwardIsDisabled,"type":"button"},on:{"click":_vm.navForward}},[_c('span',{staticClass:"pi pi-chevron-right"})]):_vm._e()]),_c('div',{staticClass:"p-tabview-panels"},[_vm._t("default")],2)])}
|
|
4622
4622
|
var staticRenderFns = []
|
|
4623
4623
|
|
|
4624
4624
|
|
|
4625
|
-
// CONCATENATED MODULE: ./src/components/tabview/TabView.vue?vue&type=template&id=
|
|
4625
|
+
// CONCATENATED MODULE: ./src/components/tabview/TabView.vue?vue&type=template&id=170704d5&
|
|
4626
4626
|
|
|
4627
4627
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
4628
4628
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
@@ -4684,6 +4684,11 @@ function _defineProperties(target, props) {
|
|
|
4684
4684
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4685
4685
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4686
4686
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4687
|
+
|
|
4688
|
+
define_property_default()(Constructor, "prototype", {
|
|
4689
|
+
writable: false
|
|
4690
|
+
});
|
|
4691
|
+
|
|
4687
4692
|
return Constructor;
|
|
4688
4693
|
}
|
|
4689
4694
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -5216,6 +5221,12 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5216
5221
|
|
|
5217
5222
|
return visibleFocusableElements;
|
|
5218
5223
|
}
|
|
5224
|
+
}, {
|
|
5225
|
+
key: "getFirstFocusableElement",
|
|
5226
|
+
value: function getFirstFocusableElement(element) {
|
|
5227
|
+
var focusableElements = this.getFocusableElements(element);
|
|
5228
|
+
return focusableElements.length > 0 ? focusableElements[0] : null;
|
|
5229
|
+
}
|
|
5219
5230
|
}, {
|
|
5220
5231
|
key: "isClickable",
|
|
5221
5232
|
value: function isClickable(element) {
|
|
@@ -5223,6 +5234,17 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5223
5234
|
var parentNode = element.parentElement && element.parentElement.nodeName;
|
|
5224
5235
|
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');
|
|
5225
5236
|
}
|
|
5237
|
+
}, {
|
|
5238
|
+
key: "applyStyle",
|
|
5239
|
+
value: function applyStyle(element, style) {
|
|
5240
|
+
if (typeof style === 'string') {
|
|
5241
|
+
element.style.cssText = this.style;
|
|
5242
|
+
} else {
|
|
5243
|
+
for (var prop in this.style) {
|
|
5244
|
+
element.style[prop] = style[prop];
|
|
5245
|
+
}
|
|
5246
|
+
}
|
|
5247
|
+
}
|
|
5226
5248
|
}, {
|
|
5227
5249
|
key: "isIOS",
|
|
5228
5250
|
value: function isIOS() {
|
|
@@ -5233,6 +5255,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5233
5255
|
value: function isAndroid() {
|
|
5234
5256
|
return /(android)/i.test(navigator.userAgent);
|
|
5235
5257
|
}
|
|
5258
|
+
}, {
|
|
5259
|
+
key: "isTouchDevice",
|
|
5260
|
+
value: function isTouchDevice() {
|
|
5261
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5262
|
+
}
|
|
5236
5263
|
}]);
|
|
5237
5264
|
|
|
5238
5265
|
return DomHandler;
|
|
@@ -5245,9 +5272,6 @@ var es6_regexp_search = __webpack_require__("386d");
|
|
|
5245
5272
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
5246
5273
|
var web_dom_iterable = __webpack_require__("ac6a");
|
|
5247
5274
|
|
|
5248
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js
|
|
5249
|
-
var es6_array_iterator = __webpack_require__("cadf");
|
|
5250
|
-
|
|
5251
5275
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
5252
5276
|
var es6_object_keys = __webpack_require__("456d");
|
|
5253
5277
|
|
|
@@ -5262,20 +5286,14 @@ var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
|
5262
5286
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
|
|
5263
5287
|
|
|
5264
5288
|
|
|
5265
|
-
function
|
|
5289
|
+
function _typeof(obj) {
|
|
5266
5290
|
"@babel/helpers - typeof";
|
|
5267
5291
|
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
}
|
|
5273
|
-
typeof_typeof = function _typeof(obj) {
|
|
5274
|
-
return obj && typeof symbol_default.a === "function" && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5275
|
-
};
|
|
5276
|
-
}
|
|
5277
|
-
|
|
5278
|
-
return typeof_typeof(obj);
|
|
5292
|
+
return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
|
|
5293
|
+
return typeof obj;
|
|
5294
|
+
} : function (obj) {
|
|
5295
|
+
return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5296
|
+
}, _typeof(obj);
|
|
5279
5297
|
}
|
|
5280
5298
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
5281
5299
|
|
|
@@ -5294,7 +5312,6 @@ function typeof_typeof(obj) {
|
|
|
5294
5312
|
|
|
5295
5313
|
|
|
5296
5314
|
|
|
5297
|
-
|
|
5298
5315
|
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; } } }; }
|
|
5299
5316
|
|
|
5300
5317
|
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); }
|
|
@@ -5316,7 +5333,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5316
5333
|
value: function deepEquals(a, b) {
|
|
5317
5334
|
if (a === b) return true;
|
|
5318
5335
|
|
|
5319
|
-
if (a && b &&
|
|
5336
|
+
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5320
5337
|
var arrA = Array.isArray(a),
|
|
5321
5338
|
arrB = Array.isArray(b),
|
|
5322
5339
|
i,
|
|
@@ -5518,6 +5535,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5518
5535
|
|
|
5519
5536
|
return str;
|
|
5520
5537
|
}
|
|
5538
|
+
}, {
|
|
5539
|
+
key: "getVNodeProp",
|
|
5540
|
+
value: function getVNodeProp(vnode, prop) {
|
|
5541
|
+
var props = vnode._props;
|
|
5542
|
+
|
|
5543
|
+
if (props) {
|
|
5544
|
+
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5545
|
+
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5546
|
+
return props[propName];
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
return null;
|
|
5550
|
+
}
|
|
5521
5551
|
}]);
|
|
5522
5552
|
|
|
5523
5553
|
return ObjectUtils;
|
|
@@ -5621,6 +5651,16 @@ var Ripple = {
|
|
|
5621
5651
|
//
|
|
5622
5652
|
//
|
|
5623
5653
|
//
|
|
5654
|
+
//
|
|
5655
|
+
//
|
|
5656
|
+
//
|
|
5657
|
+
//
|
|
5658
|
+
//
|
|
5659
|
+
//
|
|
5660
|
+
//
|
|
5661
|
+
//
|
|
5662
|
+
//
|
|
5663
|
+
//
|
|
5624
5664
|
|
|
5625
5665
|
|
|
5626
5666
|
|
|
@@ -5641,17 +5681,24 @@ var TabPanelHeaderSlot = {
|
|
|
5641
5681
|
activeIndex: {
|
|
5642
5682
|
type: Number,
|
|
5643
5683
|
default: 0
|
|
5684
|
+
},
|
|
5685
|
+
scrollable: {
|
|
5686
|
+
type: Boolean,
|
|
5687
|
+
default: false
|
|
5644
5688
|
}
|
|
5645
5689
|
},
|
|
5646
5690
|
data: function data() {
|
|
5647
5691
|
return {
|
|
5648
5692
|
allChildren: [],
|
|
5649
|
-
d_activeIndex: this.activeIndex
|
|
5693
|
+
d_activeIndex: this.activeIndex,
|
|
5694
|
+
backwardIsDisabled: true,
|
|
5695
|
+
forwardIsDisabled: false
|
|
5650
5696
|
};
|
|
5651
5697
|
},
|
|
5652
5698
|
watch: {
|
|
5653
5699
|
activeIndex: function activeIndex(newValue) {
|
|
5654
5700
|
this.d_activeIndex = newValue;
|
|
5701
|
+
this.updateScrollBar(newValue);
|
|
5655
5702
|
}
|
|
5656
5703
|
},
|
|
5657
5704
|
mounted: function mounted() {
|
|
@@ -5670,6 +5717,7 @@ var TabPanelHeaderSlot = {
|
|
|
5670
5717
|
originalEvent: event,
|
|
5671
5718
|
index: i
|
|
5672
5719
|
});
|
|
5720
|
+
this.updateScrollBar(i);
|
|
5673
5721
|
}
|
|
5674
5722
|
|
|
5675
5723
|
this.$emit('tab-click', {
|
|
@@ -5689,14 +5737,68 @@ var TabPanelHeaderSlot = {
|
|
|
5689
5737
|
this.$refs.inkbar.style.left = DomHandler_DomHandler.getOffset(tabHeader).left - DomHandler_DomHandler.getOffset(this.$refs.nav).left + 'px';
|
|
5690
5738
|
}
|
|
5691
5739
|
},
|
|
5740
|
+
updateScrollBar: function updateScrollBar(index) {
|
|
5741
|
+
var tabHeader = this.$refs.nav.children[index];
|
|
5742
|
+
tabHeader.scrollIntoView({
|
|
5743
|
+
block: 'nearest'
|
|
5744
|
+
});
|
|
5745
|
+
},
|
|
5746
|
+
updateButtonState: function updateButtonState() {
|
|
5747
|
+
var content = this.$refs.content;
|
|
5748
|
+
var scrollLeft = content.scrollLeft,
|
|
5749
|
+
scrollWidth = content.scrollWidth;
|
|
5750
|
+
var width = DomHandler_DomHandler.getWidth(content);
|
|
5751
|
+
this.backwardIsDisabled = scrollLeft === 0;
|
|
5752
|
+
this.forwardIsDisabled = scrollLeft === scrollWidth - width;
|
|
5753
|
+
},
|
|
5692
5754
|
getKey: function getKey(tab, index) {
|
|
5693
5755
|
return tab.header ? ObjectUtils_ObjectUtils.resolveFieldData(tab, tab.header) : index;
|
|
5694
5756
|
},
|
|
5695
5757
|
isTabDisabled: function isTabDisabled(tab) {
|
|
5696
5758
|
return tab.disabled;
|
|
5759
|
+
},
|
|
5760
|
+
onScroll: function onScroll(event) {
|
|
5761
|
+
this.scrollable && this.updateButtonState();
|
|
5762
|
+
event.preventDefault();
|
|
5763
|
+
},
|
|
5764
|
+
getVisibleButtonWidths: function getVisibleButtonWidths() {
|
|
5765
|
+
var _this$$refs = this.$refs,
|
|
5766
|
+
prevBtn = _this$$refs.prevBtn,
|
|
5767
|
+
nextBtn = _this$$refs.nextBtn;
|
|
5768
|
+
return [prevBtn, nextBtn].reduce(function (acc, el) {
|
|
5769
|
+
return el ? acc + DomHandler_DomHandler.getWidth(el) : acc;
|
|
5770
|
+
}, 0);
|
|
5771
|
+
},
|
|
5772
|
+
navBackward: function navBackward() {
|
|
5773
|
+
var content = this.$refs.content;
|
|
5774
|
+
var width = DomHandler_DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
5775
|
+
var pos = content.scrollLeft - width;
|
|
5776
|
+
content.scrollLeft = pos <= 0 ? 0 : pos;
|
|
5777
|
+
},
|
|
5778
|
+
navForward: function navForward() {
|
|
5779
|
+
var content = this.$refs.content;
|
|
5780
|
+
var width = DomHandler_DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
5781
|
+
var pos = content.scrollLeft + width;
|
|
5782
|
+
var lastPos = content.scrollWidth - width;
|
|
5783
|
+
content.scrollLeft = pos >= lastPos ? lastPos : pos;
|
|
5697
5784
|
}
|
|
5698
5785
|
},
|
|
5699
5786
|
computed: {
|
|
5787
|
+
contentClasses: function contentClasses() {
|
|
5788
|
+
return ['p-tabview p-component', {
|
|
5789
|
+
'p-tabview-scrollable': this.scrollable
|
|
5790
|
+
}];
|
|
5791
|
+
},
|
|
5792
|
+
prevButtonClasses: function prevButtonClasses() {
|
|
5793
|
+
return ['p-tabview-nav-prev p-tabview-nav-btn p-link', {
|
|
5794
|
+
'p-disabled': this.backwardIsDisabled
|
|
5795
|
+
}];
|
|
5796
|
+
},
|
|
5797
|
+
nextButtonClasses: function nextButtonClasses() {
|
|
5798
|
+
return ['p-tabview-nav-next p-tabview-nav-btn p-link', {
|
|
5799
|
+
'p-disabled': this.forwardIsDisabled
|
|
5800
|
+
}];
|
|
5801
|
+
},
|
|
5700
5802
|
tabs: function tabs() {
|
|
5701
5803
|
var tabs = [];
|
|
5702
5804
|
|