primevue 2.5.1 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.common.js +1 -1
- package/accordion/accordion.umd.js +1 -1
- package/accordiontab/accordiontab.common.js +28 -1
- package/accordiontab/accordiontab.umd.js +28 -1
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/api/Api.d.ts +296 -0
- package/api/Api.js +47 -0
- package/api/FilterMatchMode.js +26 -0
- package/api/FilterOperator.js +12 -0
- package/api/FilterService.js +260 -0
- package/api/PrimeIcons.js +246 -0
- package/api/ToastSeverity.js +14 -0
- package/api/api.common.js +4893 -0
- package/api/api.umd.js +4903 -0
- package/api/api.umd.min.js +1 -0
- package/api/demo.html +8 -0
- package/api/filtermatchmode.common.js +186 -0
- package/api/filtermatchmode.umd.js +196 -0
- package/api/filtermatchmode.umd.min.js +1 -0
- package/api/filteroperator.common.js +172 -0
- package/api/filteroperator.umd.js +182 -0
- package/api/filteroperator.umd.min.js +1 -0
- package/{utils/filterutils.common.js → api/filterservice.common.js} +207 -106
- package/{utils/filterutils.umd.js → api/filterservice.umd.js} +209 -108
- package/api/filterservice.umd.min.js +1 -0
- package/api/index.d.ts +1 -0
- package/api/index.js +2 -0
- package/api/primeicons.common.js +406 -0
- package/api/primeicons.umd.js +416 -0
- package/api/primeicons.umd.min.js +1 -0
- package/{confirmationservice/confirmationeventbus.common.js → api/toastseverity.common.js} +9 -9
- package/{confirmationservice/confirmationeventbus.umd.js → api/toastseverity.umd.js} +11 -11
- package/api/toastseverity.umd.min.js +1 -0
- package/autocomplete/AutoComplete.d.ts +1 -0
- package/autocomplete/AutoComplete.vue +8 -0
- package/autocomplete/autocomplete.common.js +64 -23
- package/autocomplete/autocomplete.umd.js +64 -23
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +1 -1
- package/avatar/avatar.umd.js +1 -1
- package/avatargroup/avatargroup.common.js +1 -1
- package/avatargroup/avatargroup.umd.js +1 -1
- package/badge/badge.common.js +1 -1
- package/badge/badge.umd.js +1 -1
- package/badgedirective/badgedirective.common.js +27 -0
- package/badgedirective/badgedirective.umd.js +27 -0
- package/badgedirective/badgedirective.umd.min.js +1 -1
- package/blockui/BlockUI.vue +6 -16
- package/blockui/blockui.common.js +38 -16
- package/blockui/blockui.umd.js +38 -16
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +1 -0
- package/breadcrumb/Breadcrumb.vue +6 -2
- package/breadcrumb/BreadcrumbItem.vue +30 -11
- package/breadcrumb/breadcrumb.common.js +44 -16
- package/breadcrumb/breadcrumb.umd.js +44 -16
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +34 -10
- package/breadcrumb/breadcrumbitem.umd.js +34 -10
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/button.common.js +28 -1
- package/button/button.umd.js +28 -1
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.d.ts +5 -0
- package/calendar/Calendar.vue +342 -70
- package/calendar/calendar.common.js +403 -73
- package/calendar/calendar.umd.js +403 -73
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +1 -1
- package/card/card.umd.js +1 -1
- package/carousel/Carousel.vue +2 -2
- package/carousel/carousel.common.js +30 -3
- package/carousel/carousel.umd.js +30 -3
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +6 -4
- package/cascadeselect/CascadeSelect.vue +3 -1
- package/cascadeselect/cascadeselect.common.js +53 -17
- package/cascadeselect/cascadeselect.umd.js +53 -17
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +48 -14
- package/cascadeselect/cascadeselectsub.umd.js +48 -14
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +4 -3
- package/chart/Chart.vue +27 -11
- package/chart/chart.common.js +30 -12
- package/chart/chart.umd.js +30 -12
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/Checkbox.css +1 -0
- package/checkbox/Checkbox.d.ts +2 -0
- package/checkbox/Checkbox.vue +11 -3
- package/checkbox/checkbox.common.js +38 -18
- package/checkbox/checkbox.umd.js +38 -18
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +1 -1
- package/chip/chip.umd.js +1 -1
- package/chips/chips.common.js +1 -1
- package/chips/chips.umd.js +1 -1
- package/colorpicker/colorpicker.common.js +28 -1
- package/colorpicker/colorpicker.umd.js +28 -1
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/Column.vue +72 -12
- package/column/column.common.js +71 -11
- package/column/column.umd.js +71 -11
- package/column/column.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +1 -1
- package/columngroup/columngroup.umd.js +1 -1
- package/common/Common.css +13 -4
- package/config/PrimeVue.d.ts +24 -2
- package/config/PrimeVue.js +34 -4
- package/config/primevue.common.js +3589 -130
- package/config/primevue.umd.js +3589 -130
- package/config/primevue.umd.min.js +1 -1
- package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
- package/confirmationeventbus/confirmationeventbus.common.js +1777 -0
- package/confirmationeventbus/confirmationeventbus.umd.js +1787 -0
- package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
- package/confirmationeventbus/demo.html +8 -0
- package/confirmationeventbus/index.d.ts +1 -0
- package/confirmationeventbus/index.js +2 -0
- package/confirmationservice/ConfirmationService.js +1 -1
- package/confirmationservice/confirmationservice.common.js +1609 -6
- package/confirmationservice/confirmationservice.umd.js +1609 -6
- package/confirmationservice/confirmationservice.umd.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +9 -3
- package/confirmdialog/confirmdialog.common.js +465 -46
- package/confirmdialog/confirmdialog.umd.js +465 -46
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +4 -1
- package/confirmpopup/ConfirmPopup.vue +9 -6
- package/confirmpopup/confirmpopup.common.js +535 -13
- package/confirmpopup/confirmpopup.umd.js +535 -13
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +1 -0
- package/contextmenu/ContextMenu.vue +5 -1
- package/contextmenu/ContextMenuSub.vue +33 -13
- package/contextmenu/contextmenu.common.js +68 -14
- package/contextmenu/contextmenu.umd.js +68 -14
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +58 -8
- package/contextmenu/contextmenusub.umd.js +58 -8
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/datatable/BodyCell.vue +118 -34
- package/datatable/ColumnFilter.vue +558 -0
- package/datatable/ColumnSlot.vue +21 -1
- package/datatable/DataTable.d.ts +43 -15
- package/datatable/DataTable.vue +606 -398
- package/datatable/FooterCell.vue +82 -0
- package/datatable/HeaderCell.vue +246 -0
- package/datatable/HeaderCheckbox.vue +7 -4
- package/datatable/RowCheckbox.vue +2 -2
- package/datatable/RowRadioButton.vue +1 -1
- package/datatable/TableBody.vue +92 -23
- package/datatable/TableFooter.vue +34 -18
- package/datatable/TableHeader.vue +79 -134
- package/datatable/bodycell.common.js +592 -65
- package/datatable/bodycell.umd.js +592 -65
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +7615 -0
- package/datatable/columnfilter.umd.js +7625 -0
- package/datatable/columnfilter.umd.min.js +1 -0
- package/datatable/columnslot.common.js +21 -1
- package/datatable/columnslot.umd.js +21 -1
- package/datatable/columnslot.umd.min.js +1 -1
- package/datatable/datatable.common.js +4384 -1399
- package/datatable/datatable.umd.js +4384 -1399
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +3 -3
- package/datatable/footercell.common.js +5457 -0
- package/datatable/footercell.umd.js +5467 -0
- package/datatable/footercell.umd.min.js +1 -0
- package/datatable/headercell.common.js +8066 -0
- package/datatable/headercell.umd.js +8076 -0
- package/datatable/headercell.umd.min.js +1 -0
- package/datatable/headercheckbox.common.js +8 -5
- package/datatable/headercheckbox.umd.js +8 -5
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +3 -3
- package/datatable/rowcheckbox.umd.js +3 -3
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +3 -3
- package/datatable/rowradiobutton.umd.js +3 -3
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +1041 -443
- package/datatable/tablebody.umd.js +1041 -443
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +3789 -105
- package/datatable/tablefooter.umd.js +3789 -105
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +6635 -2132
- package/datatable/tableheader.umd.js +6635 -2132
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +22 -2
- package/datatable/tableloadingbody.umd.js +22 -2
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/DataView.d.ts +2 -2
- package/dataview/DataView.vue +8 -8
- package/dataview/dataview.common.js +1974 -79
- package/dataview/dataview.umd.js +1974 -79
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
- package/deferredcontent/deferredcontent.common.js +1 -1
- package/deferredcontent/deferredcontent.umd.js +1 -1
- package/dialog/Dialog.d.ts +1 -0
- package/dialog/Dialog.vue +41 -24
- package/dialog/dialog.common.js +68 -27
- package/dialog/dialog.umd.js +68 -27
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +1 -1
- package/divider/divider.umd.js +1 -1
- package/dock/Dock.d.ts +2 -0
- package/dock/Dock.vue +12 -2
- package/dock/DockSub.vue +45 -21
- package/dock/dock.common.js +44 -15
- package/dock/dock.umd.js +44 -15
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +31 -7
- package/dock/docksub.umd.js +31 -7
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/Dropdown.d.ts +5 -3
- package/dropdown/Dropdown.vue +34 -6
- package/dropdown/dropdown.common.js +84 -21
- package/dropdown/dropdown.umd.js +84 -21
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +1 -1
- package/editor/editor.umd.js +1 -1
- package/fieldset/fieldset.common.js +28 -1
- package/fieldset/fieldset.umd.js +28 -1
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/FileUpload.vue +5 -2
- package/fileupload/fileupload.common.js +55 -19
- package/fileupload/fileupload.umd.js +55 -19
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +342 -136
- package/fullcalendar/fullcalendar.umd.js +342 -136
- package/fullcalendar/fullcalendar.umd.min.js +4 -4
- package/galleria/Galleria.vue +3 -8
- package/galleria/GalleriaContent.vue +9 -0
- package/galleria/galleria.common.js +49 -17
- package/galleria/galleria.umd.js +49 -17
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +40 -4
- package/galleria/galleriacontent.umd.js +40 -4
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +28 -1
- package/galleria/galleriaitem.umd.js +28 -1
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriathumbnails.common.js +28 -1
- package/galleria/galleriathumbnails.umd.js +28 -1
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/ImagePreview.d.ts +10 -0
- package/imagepreview/ImagePreview.vue +205 -0
- package/imagepreview/demo.html +17 -0
- package/{datatable/scrollableview.common.js → imagepreview/imagepreview.common.js} +570 -463
- package/{datatable/scrollableview.umd.js → imagepreview/imagepreview.umd.js} +572 -465
- package/imagepreview/imagepreview.umd.min.js +1 -0
- package/imagepreview/index.d.ts +1 -0
- package/imagepreview/index.js +2 -0
- package/imagepreview/plugin.js +4 -0
- package/inlinemessage/inlinemessage.common.js +1 -1
- package/inlinemessage/inlinemessage.umd.js +1 -1
- package/inplace/inplace.common.js +29 -2
- package/inplace/inplace.umd.js +29 -2
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/InputMask.vue +7 -5
- package/inputmask/inputmask.common.js +39 -12
- package/inputmask/inputmask.umd.js +39 -12
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +183 -62
- package/inputnumber/inputnumber.common.js +249 -113
- package/inputnumber/inputnumber.umd.js +249 -113
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +2 -0
- package/inputswitch/InputSwitch.vue +15 -3
- package/inputswitch/inputswitch.common.js +17 -5
- package/inputswitch/inputswitch.umd.js +17 -5
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +3 -7
- package/inputtext/inputtext.umd.js +3 -7
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +1 -1
- package/knob/knob.umd.js +1 -1
- package/listbox/Listbox.d.ts +3 -3
- package/listbox/listbox.common.js +48 -14
- package/listbox/listbox.umd.js +48 -14
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +6 -1
- package/megamenu/MegaMenu.vue +51 -22
- package/megamenu/megamenu.common.js +74 -10
- package/megamenu/megamenu.umd.js +74 -10
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/Menu.d.ts +1 -0
- package/menu/Menu.vue +11 -4
- package/menu/Menuitem.vue +25 -11
- package/menu/menu.common.js +68 -17
- package/menu/menu.umd.js +68 -17
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +55 -11
- package/menu/menuitem.umd.js +55 -11
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/Menubar.d.ts +1 -0
- package/menubar/Menubar.vue +5 -1
- package/menubar/MenubarSub.vue +34 -14
- package/menubar/demo.html +3 -4
- package/menubar/menubar.common.js +68 -14
- package/menubar/menubar.umd.js +68 -14
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +58 -8
- package/menubar/menubarsub.umd.js +58 -8
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/Message.d.ts +1 -0
- package/message/Message.vue +5 -1
- package/message/message.common.js +34 -3
- package/message/message.umd.js +34 -3
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +4 -3
- package/multiselect/MultiSelect.vue +8 -1
- package/multiselect/multiselect.common.js +58 -18
- package/multiselect/multiselect.umd.js +58 -18
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/OrderList.d.ts +2 -0
- package/orderlist/OrderList.vue +2 -0
- package/orderlist/orderlist.common.js +53 -17
- package/orderlist/orderlist.umd.js +53 -17
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +31 -8
- package/organizationchart/organizationchart.umd.js +31 -8
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +28 -1
- package/organizationchart/organizationchartnode.umd.js +28 -1
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlayeventbus/OverlayEventBus.js +14 -0
- package/overlayeventbus/demo.html +8 -0
- package/overlayeventbus/index.d.ts +1 -0
- package/overlayeventbus/index.js +2 -0
- package/overlayeventbus/overlayeventbus.common.js +1777 -0
- package/overlayeventbus/overlayeventbus.umd.js +1787 -0
- package/overlayeventbus/overlayeventbus.umd.min.js +1 -0
- package/overlaypanel/overlaypanel.common.js +28 -1
- package/overlaypanel/overlaypanel.umd.js +28 -1
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +5 -1
- package/paginator/CurrentPageReport.vue +6 -2
- package/paginator/JumpToPageDropdown.vue +33 -0
- package/paginator/JumpToPageInput.vue +25 -0
- package/paginator/Paginator.d.ts +2 -2
- package/paginator/Paginator.vue +24 -11
- package/paginator/RowsPerPageDropdown.vue +3 -2
- package/paginator/currentpagereport.common.js +7 -3
- package/paginator/currentpagereport.umd.js +7 -3
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/demo.html +3 -3
- package/paginator/firstpagelink.common.js +28 -1
- package/paginator/firstpagelink.umd.js +28 -1
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +6505 -0
- package/paginator/jumptopagedropdown.umd.js +6515 -0
- package/paginator/jumptopagedropdown.umd.min.js +1 -0
- package/paginator/jumptopageinput.common.js +7438 -0
- package/paginator/jumptopageinput.umd.js +7448 -0
- package/paginator/jumptopageinput.umd.min.js +1 -0
- package/paginator/lastpagelink.common.js +28 -1
- package/paginator/lastpagelink.umd.js +28 -1
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +28 -1
- package/paginator/nextpagelink.umd.js +28 -1
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +28 -1
- package/paginator/pagelinks.umd.js +28 -1
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +2280 -118
- package/paginator/paginator.umd.js +2280 -118
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +28 -1
- package/paginator/prevpagelink.umd.js +28 -1
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +92 -28
- package/paginator/rowsperpagedropdown.umd.js +92 -28
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/Panel.d.ts +1 -0
- package/panel/Panel.vue +1 -1
- package/panel/panel.common.js +29 -2
- package/panel/panel.umd.js +29 -2
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +1 -0
- package/panelmenu/PanelMenu.vue +32 -6
- package/panelmenu/PanelMenuSub.vue +32 -13
- package/panelmenu/panelmenu.common.js +69 -16
- package/panelmenu/panelmenu.umd.js +69 -16
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +29 -7
- package/panelmenu/panelmenusub.umd.js +29 -7
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/password.common.js +31 -8
- package/password/password.umd.js +31 -8
- package/password/password.umd.min.js +1 -1
- package/picklist/PickList.d.ts +8 -0
- package/picklist/PickList.vue +10 -4
- package/picklist/picklist.common.js +57 -17
- package/picklist/picklist.umd.js +57 -17
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/ProgressBar.vue +18 -14
- package/progressbar/progressbar.common.js +7 -5
- package/progressbar/progressbar.umd.js +7 -5
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +1 -1
- package/progressspinner/progressspinner.umd.js +1 -1
- package/radiobutton/radiobutton.common.js +26 -14
- package/radiobutton/radiobutton.umd.js +26 -14
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/Rating.vue +1 -1
- package/rating/rating.common.js +3 -3
- package/rating/rating.umd.js +3 -3
- package/rating/rating.umd.min.js +1 -1
- package/resources/primevue.css +15 -4
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +198 -59
- package/resources/themes/arya-green/theme.css +198 -59
- package/resources/themes/arya-orange/theme.css +198 -59
- package/resources/themes/arya-purple/theme.css +198 -59
- package/resources/themes/bootstrap4-dark-blue/theme.css +179 -47
- package/resources/themes/bootstrap4-dark-purple/theme.css +179 -47
- package/resources/themes/bootstrap4-light-blue/theme.css +179 -47
- package/resources/themes/bootstrap4-light-purple/theme.css +179 -47
- package/resources/themes/fluent-light/theme.css +202 -63
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5421 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +5421 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +5421 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5421 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5421 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +5421 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +5421 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5421 -0
- package/resources/themes/luna-amber/theme.css +195 -63
- package/resources/themes/luna-blue/theme.css +195 -63
- package/resources/themes/luna-green/theme.css +195 -63
- package/resources/themes/luna-pink/theme.css +195 -63
- package/resources/themes/md-dark-deeppurple/theme.css +382 -87
- package/resources/themes/md-dark-indigo/theme.css +382 -87
- package/resources/themes/md-light-deeppurple/theme.css +382 -87
- package/resources/themes/md-light-indigo/theme.css +382 -87
- package/resources/themes/mdc-dark-deeppurple/theme.css +382 -87
- package/resources/themes/mdc-dark-indigo/theme.css +382 -87
- package/resources/themes/mdc-light-deeppurple/theme.css +382 -87
- package/resources/themes/mdc-light-indigo/theme.css +382 -87
- package/resources/themes/nova/theme.css +195 -63
- package/resources/themes/nova-accent/theme.css +195 -63
- package/resources/themes/nova-alt/theme.css +195 -63
- package/resources/themes/nova-vue/theme.css +195 -63
- package/resources/themes/rhea/theme.css +195 -63
- package/resources/themes/saga-blue/theme.css +182 -43
- package/resources/themes/saga-green/theme.css +182 -43
- package/resources/themes/saga-orange/theme.css +182 -43
- package/resources/themes/saga-purple/theme.css +182 -43
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/tailwind-light/theme.css +5496 -0
- package/resources/themes/vela-blue/theme.css +198 -59
- package/resources/themes/vela-green/theme.css +198 -59
- package/resources/themes/vela-orange/theme.css +198 -59
- package/resources/themes/vela-purple/theme.css +198 -59
- package/ripple/ripple.common.js +27 -0
- package/ripple/ripple.umd.js +27 -0
- package/ripple/ripple.umd.min.js +1 -1
- package/row/row.common.js +1 -1
- package/row/row.umd.js +1 -1
- package/scrollpanel/scrollpanel.common.js +28 -1
- package/scrollpanel/scrollpanel.umd.js +28 -1
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +28 -1
- package/scrolltop/scrolltop.umd.js +28 -1
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/SelectButton.d.ts +3 -3
- package/selectbutton/SelectButton.vue +6 -1
- package/selectbutton/selectbutton.common.js +55 -16
- package/selectbutton/selectbutton.umd.js +55 -16
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.vue +5 -16
- package/sidebar/sidebar.common.js +37 -15
- package/sidebar/sidebar.umd.js +37 -15
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +1 -1
- package/skeleton/skeleton.umd.js +1 -1
- package/slider/Slider.vue +20 -12
- package/slider/slider.common.js +41 -9
- package/slider/slider.umd.js +41 -9
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +1 -0
- package/speeddial/SpeedDial.vue +10 -9
- package/speeddial/speeddial.common.js +40 -16
- package/speeddial/speeddial.umd.js +40 -16
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +73 -22
- package/splitbutton/splitbutton.umd.js +73 -22
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +27 -0
- package/splitter/splitter.umd.js +27 -0
- package/splitter/splitter.umd.min.js +1 -1
- package/steps/Steps.d.ts +1 -0
- package/steps/Steps.vue +30 -8
- package/steps/steps.common.js +33 -6
- package/steps/steps.umd.js +33 -6
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/styleclass.common.js +27 -0
- package/styleclass/styleclass.umd.js +27 -0
- package/styleclass/styleclass.umd.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +1 -0
- package/tabmenu/TabMenu.vue +39 -10
- package/tabmenu/tabmenu.common.js +192 -8
- package/tabmenu/tabmenu.umd.js +192 -8
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +1 -1
- package/tabpanel/tabpanel.umd.js +1 -1
- package/tabview/TabView.d.ts +1 -0
- package/tabview/TabView.vue +111 -11
- package/tabview/tabview.common.js +124 -18
- package/tabview/tabview.umd.js +124 -18
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/Tag.vue +1 -1
- package/tag/tag.common.js +3 -3
- package/tag/tag.umd.js +3 -3
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +1 -1
- package/terminal/terminal.umd.js +1 -1
- package/textarea/textarea.common.js +3 -7
- package/textarea/textarea.umd.js +3 -7
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +1 -0
- package/tieredmenu/TieredMenu.vue +5 -1
- package/tieredmenu/TieredMenuSub.vue +30 -14
- package/tieredmenu/tieredmenu.common.js +63 -13
- package/tieredmenu/tieredmenu.umd.js +63 -13
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +53 -7
- package/tieredmenu/tieredmenusub.umd.js +53 -7
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +26 -14
- package/timeline/timeline.umd.js +26 -14
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/Toast.d.ts +4 -1
- package/toast/Toast.vue +1 -1
- package/toast/toast.common.js +30 -5
- package/toast/toast.umd.js +30 -5
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +28 -1
- package/toast/toastmessage.umd.js +28 -1
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +28 -1
- package/togglebutton/togglebutton.umd.js +28 -1
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/Toolbar.d.ts +1 -1
- package/toolbar/Toolbar.vue +2 -2
- package/toolbar/toolbar.common.js +3 -3
- package/toolbar/toolbar.umd.js +3 -3
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.css +1 -0
- package/tooltip/Tooltip.js +37 -2
- package/tooltip/tooltip.common.js +1760 -69
- package/tooltip/tooltip.umd.js +1760 -69
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/Tree.vue +1 -0
- package/tree/TreeNode.vue +5 -1
- package/tree/tree.common.js +68 -32
- package/tree/tree.umd.js +68 -32
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +36 -9
- package/tree/treenode.umd.js +36 -9
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/FooterCell.vue +81 -0
- package/treetable/HeaderCell.vue +183 -0
- package/treetable/TreeTable.d.ts +3 -2
- package/treetable/TreeTable.vue +73 -114
- package/treetable/TreeTableRow.vue +7 -4
- package/treetable/footercell.common.js +5304 -0
- package/treetable/footercell.umd.js +5314 -0
- package/treetable/footercell.umd.min.js +1 -0
- package/treetable/headercell.common.js +5533 -0
- package/treetable/headercell.umd.js +5543 -0
- package/treetable/headercell.umd.min.js +1 -0
- package/treetable/treetable.common.js +3795 -1558
- package/treetable/treetable.umd.js +3795 -1558
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +58 -22
- package/treetable/treetablerow.umd.js +58 -22
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +61 -26
- package/treetable/treetablerowloader.umd.js +61 -26
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +1 -1
- package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
- package/utils/ConnectedOverlayScrollHandler.js +1 -1
- package/utils/DomHandler.js +23 -1
- package/utils/EventBus.js +33 -0
- package/utils/ObjectUtils.js +15 -2
- package/utils/Utils.d.ts +73 -0
- package/utils/Utils.js +47 -0
- package/utils/connectedoverlayscrollhandler.common.js +27 -0
- package/utils/connectedoverlayscrollhandler.umd.js +27 -0
- package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
- package/utils/demo.html +3 -3
- package/utils/domhandler.common.js +27 -0
- package/utils/domhandler.umd.js +27 -0
- package/utils/domhandler.umd.min.js +1 -1
- package/utils/eventbus.common.js +1774 -0
- package/utils/eventbus.umd.js +1784 -0
- package/utils/eventbus.umd.min.js +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/index.js +2 -0
- package/utils/objectutils.common.js +25 -13
- package/utils/objectutils.umd.js +25 -13
- package/utils/objectutils.umd.min.js +1 -1
- package/utils/utils.common.js +5486 -0
- package/utils/utils.umd.js +5496 -0
- package/utils/utils.umd.min.js +1 -0
- package/vetur-attributes.json +156 -20
- package/vetur-tags.json +60 -21
- package/web-types.json +497 -33
- package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
- package/datatable/ScrollableView.vue +0 -223
- package/datatable/scrollableview.umd.min.js +0 -1
- package/utils/FilterUtils.js +0 -176
- package/utils/filterutils.umd.min.js +0 -1
|
@@ -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":"b9fe9a72-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 = style;
|
|
5233
|
+
} else {
|
|
5234
|
+
for (var prop in 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;
|
|
@@ -5253,20 +5280,14 @@ var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
|
5253
5280
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
|
|
5254
5281
|
|
|
5255
5282
|
|
|
5256
|
-
function
|
|
5283
|
+
function _typeof(obj) {
|
|
5257
5284
|
"@babel/helpers - typeof";
|
|
5258
5285
|
|
|
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);
|
|
5286
|
+
return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
|
|
5287
|
+
return typeof obj;
|
|
5288
|
+
} : function (obj) {
|
|
5289
|
+
return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5290
|
+
}, _typeof(obj);
|
|
5270
5291
|
}
|
|
5271
5292
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
5272
5293
|
|
|
@@ -5307,7 +5328,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5307
5328
|
value: function deepEquals(a, b) {
|
|
5308
5329
|
if (a === b) return true;
|
|
5309
5330
|
|
|
5310
|
-
if (a && b &&
|
|
5331
|
+
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5311
5332
|
var arrA = Array.isArray(a),
|
|
5312
5333
|
arrB = Array.isArray(b),
|
|
5313
5334
|
i,
|
|
@@ -5509,6 +5530,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5509
5530
|
|
|
5510
5531
|
return str;
|
|
5511
5532
|
}
|
|
5533
|
+
}, {
|
|
5534
|
+
key: "getVNodeProp",
|
|
5535
|
+
value: function getVNodeProp(vnode, prop) {
|
|
5536
|
+
var props = vnode._props;
|
|
5537
|
+
|
|
5538
|
+
if (props) {
|
|
5539
|
+
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5540
|
+
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5541
|
+
return props[propName];
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
return null;
|
|
5545
|
+
}
|
|
5512
5546
|
}]);
|
|
5513
5547
|
|
|
5514
5548
|
return ObjectUtils;
|
|
@@ -5612,6 +5646,16 @@ var Ripple = {
|
|
|
5612
5646
|
//
|
|
5613
5647
|
//
|
|
5614
5648
|
//
|
|
5649
|
+
//
|
|
5650
|
+
//
|
|
5651
|
+
//
|
|
5652
|
+
//
|
|
5653
|
+
//
|
|
5654
|
+
//
|
|
5655
|
+
//
|
|
5656
|
+
//
|
|
5657
|
+
//
|
|
5658
|
+
//
|
|
5615
5659
|
|
|
5616
5660
|
|
|
5617
5661
|
|
|
@@ -5632,17 +5676,24 @@ var TabPanelHeaderSlot = {
|
|
|
5632
5676
|
activeIndex: {
|
|
5633
5677
|
type: Number,
|
|
5634
5678
|
default: 0
|
|
5679
|
+
},
|
|
5680
|
+
scrollable: {
|
|
5681
|
+
type: Boolean,
|
|
5682
|
+
default: false
|
|
5635
5683
|
}
|
|
5636
5684
|
},
|
|
5637
5685
|
data: function data() {
|
|
5638
5686
|
return {
|
|
5639
5687
|
allChildren: [],
|
|
5640
|
-
d_activeIndex: this.activeIndex
|
|
5688
|
+
d_activeIndex: this.activeIndex,
|
|
5689
|
+
backwardIsDisabled: true,
|
|
5690
|
+
forwardIsDisabled: false
|
|
5641
5691
|
};
|
|
5642
5692
|
},
|
|
5643
5693
|
watch: {
|
|
5644
5694
|
activeIndex: function activeIndex(newValue) {
|
|
5645
5695
|
this.d_activeIndex = newValue;
|
|
5696
|
+
this.updateScrollBar(newValue);
|
|
5646
5697
|
}
|
|
5647
5698
|
},
|
|
5648
5699
|
mounted: function mounted() {
|
|
@@ -5661,6 +5712,7 @@ var TabPanelHeaderSlot = {
|
|
|
5661
5712
|
originalEvent: event,
|
|
5662
5713
|
index: i
|
|
5663
5714
|
});
|
|
5715
|
+
this.updateScrollBar(i);
|
|
5664
5716
|
}
|
|
5665
5717
|
|
|
5666
5718
|
this.$emit('tab-click', {
|
|
@@ -5680,14 +5732,68 @@ var TabPanelHeaderSlot = {
|
|
|
5680
5732
|
this.$refs.inkbar.style.left = DomHandler_DomHandler.getOffset(tabHeader).left - DomHandler_DomHandler.getOffset(this.$refs.nav).left + 'px';
|
|
5681
5733
|
}
|
|
5682
5734
|
},
|
|
5735
|
+
updateScrollBar: function updateScrollBar(index) {
|
|
5736
|
+
var tabHeader = this.$refs.nav.children[index];
|
|
5737
|
+
tabHeader.scrollIntoView({
|
|
5738
|
+
block: 'nearest'
|
|
5739
|
+
});
|
|
5740
|
+
},
|
|
5741
|
+
updateButtonState: function updateButtonState() {
|
|
5742
|
+
var content = this.$refs.content;
|
|
5743
|
+
var scrollLeft = content.scrollLeft,
|
|
5744
|
+
scrollWidth = content.scrollWidth;
|
|
5745
|
+
var width = DomHandler_DomHandler.getWidth(content);
|
|
5746
|
+
this.backwardIsDisabled = scrollLeft === 0;
|
|
5747
|
+
this.forwardIsDisabled = scrollLeft === scrollWidth - width;
|
|
5748
|
+
},
|
|
5683
5749
|
getKey: function getKey(tab, index) {
|
|
5684
5750
|
return tab.header ? ObjectUtils_ObjectUtils.resolveFieldData(tab, tab.header) : index;
|
|
5685
5751
|
},
|
|
5686
5752
|
isTabDisabled: function isTabDisabled(tab) {
|
|
5687
5753
|
return tab.disabled;
|
|
5754
|
+
},
|
|
5755
|
+
onScroll: function onScroll(event) {
|
|
5756
|
+
this.scrollable && this.updateButtonState();
|
|
5757
|
+
event.preventDefault();
|
|
5758
|
+
},
|
|
5759
|
+
getVisibleButtonWidths: function getVisibleButtonWidths() {
|
|
5760
|
+
var _this$$refs = this.$refs,
|
|
5761
|
+
prevBtn = _this$$refs.prevBtn,
|
|
5762
|
+
nextBtn = _this$$refs.nextBtn;
|
|
5763
|
+
return [prevBtn, nextBtn].reduce(function (acc, el) {
|
|
5764
|
+
return el ? acc + DomHandler_DomHandler.getWidth(el) : acc;
|
|
5765
|
+
}, 0);
|
|
5766
|
+
},
|
|
5767
|
+
navBackward: function navBackward() {
|
|
5768
|
+
var content = this.$refs.content;
|
|
5769
|
+
var width = DomHandler_DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
5770
|
+
var pos = content.scrollLeft - width;
|
|
5771
|
+
content.scrollLeft = pos <= 0 ? 0 : pos;
|
|
5772
|
+
},
|
|
5773
|
+
navForward: function navForward() {
|
|
5774
|
+
var content = this.$refs.content;
|
|
5775
|
+
var width = DomHandler_DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
5776
|
+
var pos = content.scrollLeft + width;
|
|
5777
|
+
var lastPos = content.scrollWidth - width;
|
|
5778
|
+
content.scrollLeft = pos >= lastPos ? lastPos : pos;
|
|
5688
5779
|
}
|
|
5689
5780
|
},
|
|
5690
5781
|
computed: {
|
|
5782
|
+
contentClasses: function contentClasses() {
|
|
5783
|
+
return ['p-tabview p-component', {
|
|
5784
|
+
'p-tabview-scrollable': this.scrollable
|
|
5785
|
+
}];
|
|
5786
|
+
},
|
|
5787
|
+
prevButtonClasses: function prevButtonClasses() {
|
|
5788
|
+
return ['p-tabview-nav-prev p-tabview-nav-btn p-link', {
|
|
5789
|
+
'p-disabled': this.backwardIsDisabled
|
|
5790
|
+
}];
|
|
5791
|
+
},
|
|
5792
|
+
nextButtonClasses: function nextButtonClasses() {
|
|
5793
|
+
return ['p-tabview-nav-next p-tabview-nav-btn p-link', {
|
|
5794
|
+
'p-disabled': this.forwardIsDisabled
|
|
5795
|
+
}];
|
|
5796
|
+
},
|
|
5691
5797
|
tabs: function tabs() {
|
|
5692
5798
|
var tabs = [];
|
|
5693
5799
|
|
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":"b9fe9a72-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 = style;
|
|
5242
|
+
} else {
|
|
5243
|
+
for (var prop in 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;
|
|
@@ -5262,20 +5289,14 @@ var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
|
5262
5289
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/typeof.js
|
|
5263
5290
|
|
|
5264
5291
|
|
|
5265
|
-
function
|
|
5292
|
+
function _typeof(obj) {
|
|
5266
5293
|
"@babel/helpers - typeof";
|
|
5267
5294
|
|
|
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);
|
|
5295
|
+
return _typeof = "function" == typeof symbol_default.a && "symbol" == typeof iterator_default.a ? function (obj) {
|
|
5296
|
+
return typeof obj;
|
|
5297
|
+
} : function (obj) {
|
|
5298
|
+
return obj && "function" == typeof symbol_default.a && obj.constructor === symbol_default.a && obj !== symbol_default.a.prototype ? "symbol" : typeof obj;
|
|
5299
|
+
}, _typeof(obj);
|
|
5279
5300
|
}
|
|
5280
5301
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
5281
5302
|
|
|
@@ -5316,7 +5337,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5316
5337
|
value: function deepEquals(a, b) {
|
|
5317
5338
|
if (a === b) return true;
|
|
5318
5339
|
|
|
5319
|
-
if (a && b &&
|
|
5340
|
+
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5320
5341
|
var arrA = Array.isArray(a),
|
|
5321
5342
|
arrB = Array.isArray(b),
|
|
5322
5343
|
i,
|
|
@@ -5518,6 +5539,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5518
5539
|
|
|
5519
5540
|
return str;
|
|
5520
5541
|
}
|
|
5542
|
+
}, {
|
|
5543
|
+
key: "getVNodeProp",
|
|
5544
|
+
value: function getVNodeProp(vnode, prop) {
|
|
5545
|
+
var props = vnode._props;
|
|
5546
|
+
|
|
5547
|
+
if (props) {
|
|
5548
|
+
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5549
|
+
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5550
|
+
return props[propName];
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5553
|
+
return null;
|
|
5554
|
+
}
|
|
5521
5555
|
}]);
|
|
5522
5556
|
|
|
5523
5557
|
return ObjectUtils;
|
|
@@ -5621,6 +5655,16 @@ var Ripple = {
|
|
|
5621
5655
|
//
|
|
5622
5656
|
//
|
|
5623
5657
|
//
|
|
5658
|
+
//
|
|
5659
|
+
//
|
|
5660
|
+
//
|
|
5661
|
+
//
|
|
5662
|
+
//
|
|
5663
|
+
//
|
|
5664
|
+
//
|
|
5665
|
+
//
|
|
5666
|
+
//
|
|
5667
|
+
//
|
|
5624
5668
|
|
|
5625
5669
|
|
|
5626
5670
|
|
|
@@ -5641,17 +5685,24 @@ var TabPanelHeaderSlot = {
|
|
|
5641
5685
|
activeIndex: {
|
|
5642
5686
|
type: Number,
|
|
5643
5687
|
default: 0
|
|
5688
|
+
},
|
|
5689
|
+
scrollable: {
|
|
5690
|
+
type: Boolean,
|
|
5691
|
+
default: false
|
|
5644
5692
|
}
|
|
5645
5693
|
},
|
|
5646
5694
|
data: function data() {
|
|
5647
5695
|
return {
|
|
5648
5696
|
allChildren: [],
|
|
5649
|
-
d_activeIndex: this.activeIndex
|
|
5697
|
+
d_activeIndex: this.activeIndex,
|
|
5698
|
+
backwardIsDisabled: true,
|
|
5699
|
+
forwardIsDisabled: false
|
|
5650
5700
|
};
|
|
5651
5701
|
},
|
|
5652
5702
|
watch: {
|
|
5653
5703
|
activeIndex: function activeIndex(newValue) {
|
|
5654
5704
|
this.d_activeIndex = newValue;
|
|
5705
|
+
this.updateScrollBar(newValue);
|
|
5655
5706
|
}
|
|
5656
5707
|
},
|
|
5657
5708
|
mounted: function mounted() {
|
|
@@ -5670,6 +5721,7 @@ var TabPanelHeaderSlot = {
|
|
|
5670
5721
|
originalEvent: event,
|
|
5671
5722
|
index: i
|
|
5672
5723
|
});
|
|
5724
|
+
this.updateScrollBar(i);
|
|
5673
5725
|
}
|
|
5674
5726
|
|
|
5675
5727
|
this.$emit('tab-click', {
|
|
@@ -5689,14 +5741,68 @@ var TabPanelHeaderSlot = {
|
|
|
5689
5741
|
this.$refs.inkbar.style.left = DomHandler_DomHandler.getOffset(tabHeader).left - DomHandler_DomHandler.getOffset(this.$refs.nav).left + 'px';
|
|
5690
5742
|
}
|
|
5691
5743
|
},
|
|
5744
|
+
updateScrollBar: function updateScrollBar(index) {
|
|
5745
|
+
var tabHeader = this.$refs.nav.children[index];
|
|
5746
|
+
tabHeader.scrollIntoView({
|
|
5747
|
+
block: 'nearest'
|
|
5748
|
+
});
|
|
5749
|
+
},
|
|
5750
|
+
updateButtonState: function updateButtonState() {
|
|
5751
|
+
var content = this.$refs.content;
|
|
5752
|
+
var scrollLeft = content.scrollLeft,
|
|
5753
|
+
scrollWidth = content.scrollWidth;
|
|
5754
|
+
var width = DomHandler_DomHandler.getWidth(content);
|
|
5755
|
+
this.backwardIsDisabled = scrollLeft === 0;
|
|
5756
|
+
this.forwardIsDisabled = scrollLeft === scrollWidth - width;
|
|
5757
|
+
},
|
|
5692
5758
|
getKey: function getKey(tab, index) {
|
|
5693
5759
|
return tab.header ? ObjectUtils_ObjectUtils.resolveFieldData(tab, tab.header) : index;
|
|
5694
5760
|
},
|
|
5695
5761
|
isTabDisabled: function isTabDisabled(tab) {
|
|
5696
5762
|
return tab.disabled;
|
|
5763
|
+
},
|
|
5764
|
+
onScroll: function onScroll(event) {
|
|
5765
|
+
this.scrollable && this.updateButtonState();
|
|
5766
|
+
event.preventDefault();
|
|
5767
|
+
},
|
|
5768
|
+
getVisibleButtonWidths: function getVisibleButtonWidths() {
|
|
5769
|
+
var _this$$refs = this.$refs,
|
|
5770
|
+
prevBtn = _this$$refs.prevBtn,
|
|
5771
|
+
nextBtn = _this$$refs.nextBtn;
|
|
5772
|
+
return [prevBtn, nextBtn].reduce(function (acc, el) {
|
|
5773
|
+
return el ? acc + DomHandler_DomHandler.getWidth(el) : acc;
|
|
5774
|
+
}, 0);
|
|
5775
|
+
},
|
|
5776
|
+
navBackward: function navBackward() {
|
|
5777
|
+
var content = this.$refs.content;
|
|
5778
|
+
var width = DomHandler_DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
5779
|
+
var pos = content.scrollLeft - width;
|
|
5780
|
+
content.scrollLeft = pos <= 0 ? 0 : pos;
|
|
5781
|
+
},
|
|
5782
|
+
navForward: function navForward() {
|
|
5783
|
+
var content = this.$refs.content;
|
|
5784
|
+
var width = DomHandler_DomHandler.getWidth(content) - this.getVisibleButtonWidths();
|
|
5785
|
+
var pos = content.scrollLeft + width;
|
|
5786
|
+
var lastPos = content.scrollWidth - width;
|
|
5787
|
+
content.scrollLeft = pos >= lastPos ? lastPos : pos;
|
|
5697
5788
|
}
|
|
5698
5789
|
},
|
|
5699
5790
|
computed: {
|
|
5791
|
+
contentClasses: function contentClasses() {
|
|
5792
|
+
return ['p-tabview p-component', {
|
|
5793
|
+
'p-tabview-scrollable': this.scrollable
|
|
5794
|
+
}];
|
|
5795
|
+
},
|
|
5796
|
+
prevButtonClasses: function prevButtonClasses() {
|
|
5797
|
+
return ['p-tabview-nav-prev p-tabview-nav-btn p-link', {
|
|
5798
|
+
'p-disabled': this.backwardIsDisabled
|
|
5799
|
+
}];
|
|
5800
|
+
},
|
|
5801
|
+
nextButtonClasses: function nextButtonClasses() {
|
|
5802
|
+
return ['p-tabview-nav-next p-tabview-nav-btn p-link', {
|
|
5803
|
+
'p-disabled': this.forwardIsDisabled
|
|
5804
|
+
}];
|
|
5805
|
+
},
|
|
5700
5806
|
tabs: function tabs() {
|
|
5701
5807
|
var tabs = [];
|
|
5702
5808
|
|