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
|
@@ -2718,6 +2718,43 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
|
|
|
2718
2718
|
});
|
|
2719
2719
|
|
|
2720
2720
|
|
|
2721
|
+
/***/ }),
|
|
2722
|
+
|
|
2723
|
+
/***/ "aa77":
|
|
2724
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2725
|
+
|
|
2726
|
+
var $export = __webpack_require__("5ca1");
|
|
2727
|
+
var defined = __webpack_require__("be13");
|
|
2728
|
+
var fails = __webpack_require__("79e5");
|
|
2729
|
+
var spaces = __webpack_require__("fdef");
|
|
2730
|
+
var space = '[' + spaces + ']';
|
|
2731
|
+
var non = '\u200b\u0085';
|
|
2732
|
+
var ltrim = RegExp('^' + space + space + '*');
|
|
2733
|
+
var rtrim = RegExp(space + space + '*$');
|
|
2734
|
+
|
|
2735
|
+
var exporter = function (KEY, exec, ALIAS) {
|
|
2736
|
+
var exp = {};
|
|
2737
|
+
var FORCE = fails(function () {
|
|
2738
|
+
return !!spaces[KEY]() || non[KEY]() != non;
|
|
2739
|
+
});
|
|
2740
|
+
var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
|
|
2741
|
+
if (ALIAS) exp[ALIAS] = fn;
|
|
2742
|
+
$export($export.P + $export.F * FORCE, 'String', exp);
|
|
2743
|
+
};
|
|
2744
|
+
|
|
2745
|
+
// 1 -> String#trimLeft
|
|
2746
|
+
// 2 -> String#trimRight
|
|
2747
|
+
// 3 -> String#trim
|
|
2748
|
+
var trim = exporter.trim = function (string, TYPE) {
|
|
2749
|
+
string = String(defined(string));
|
|
2750
|
+
if (TYPE & 1) string = string.replace(ltrim, '');
|
|
2751
|
+
if (TYPE & 2) string = string.replace(rtrim, '');
|
|
2752
|
+
return string;
|
|
2753
|
+
};
|
|
2754
|
+
|
|
2755
|
+
module.exports = exporter;
|
|
2756
|
+
|
|
2757
|
+
|
|
2721
2758
|
/***/ }),
|
|
2722
2759
|
|
|
2723
2760
|
/***/ "aae3":
|
|
@@ -2815,6 +2852,83 @@ module.exports = function (IS_INCLUDES) {
|
|
|
2815
2852
|
};
|
|
2816
2853
|
|
|
2817
2854
|
|
|
2855
|
+
/***/ }),
|
|
2856
|
+
|
|
2857
|
+
/***/ "c5f6":
|
|
2858
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2859
|
+
|
|
2860
|
+
"use strict";
|
|
2861
|
+
|
|
2862
|
+
var global = __webpack_require__("7726");
|
|
2863
|
+
var has = __webpack_require__("69a8");
|
|
2864
|
+
var cof = __webpack_require__("2d95");
|
|
2865
|
+
var inheritIfRequired = __webpack_require__("5dbc");
|
|
2866
|
+
var toPrimitive = __webpack_require__("6a99");
|
|
2867
|
+
var fails = __webpack_require__("79e5");
|
|
2868
|
+
var gOPN = __webpack_require__("9093").f;
|
|
2869
|
+
var gOPD = __webpack_require__("11e9").f;
|
|
2870
|
+
var dP = __webpack_require__("86cc").f;
|
|
2871
|
+
var $trim = __webpack_require__("aa77").trim;
|
|
2872
|
+
var NUMBER = 'Number';
|
|
2873
|
+
var $Number = global[NUMBER];
|
|
2874
|
+
var Base = $Number;
|
|
2875
|
+
var proto = $Number.prototype;
|
|
2876
|
+
// Opera ~12 has broken Object#toString
|
|
2877
|
+
var BROKEN_COF = cof(__webpack_require__("2aeb")(proto)) == NUMBER;
|
|
2878
|
+
var TRIM = 'trim' in String.prototype;
|
|
2879
|
+
|
|
2880
|
+
// 7.1.3 ToNumber(argument)
|
|
2881
|
+
var toNumber = function (argument) {
|
|
2882
|
+
var it = toPrimitive(argument, false);
|
|
2883
|
+
if (typeof it == 'string' && it.length > 2) {
|
|
2884
|
+
it = TRIM ? it.trim() : $trim(it, 3);
|
|
2885
|
+
var first = it.charCodeAt(0);
|
|
2886
|
+
var third, radix, maxCode;
|
|
2887
|
+
if (first === 43 || first === 45) {
|
|
2888
|
+
third = it.charCodeAt(2);
|
|
2889
|
+
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
2890
|
+
} else if (first === 48) {
|
|
2891
|
+
switch (it.charCodeAt(1)) {
|
|
2892
|
+
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
|
|
2893
|
+
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
|
|
2894
|
+
default: return +it;
|
|
2895
|
+
}
|
|
2896
|
+
for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
|
|
2897
|
+
code = digits.charCodeAt(i);
|
|
2898
|
+
// parseInt parses a string to a first unavailable symbol
|
|
2899
|
+
// but ToNumber should return NaN if a string contains unavailable symbols
|
|
2900
|
+
if (code < 48 || code > maxCode) return NaN;
|
|
2901
|
+
} return parseInt(digits, radix);
|
|
2902
|
+
}
|
|
2903
|
+
} return +it;
|
|
2904
|
+
};
|
|
2905
|
+
|
|
2906
|
+
if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
|
|
2907
|
+
$Number = function Number(value) {
|
|
2908
|
+
var it = arguments.length < 1 ? 0 : value;
|
|
2909
|
+
var that = this;
|
|
2910
|
+
return that instanceof $Number
|
|
2911
|
+
// check on 1..constructor(foo) case
|
|
2912
|
+
&& (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
|
|
2913
|
+
? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
|
|
2914
|
+
};
|
|
2915
|
+
for (var keys = __webpack_require__("9e1e") ? gOPN(Base) : (
|
|
2916
|
+
// ES3:
|
|
2917
|
+
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
2918
|
+
// ES6 (in case, if modules with ES6 Number statics required before):
|
|
2919
|
+
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
|
|
2920
|
+
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
|
|
2921
|
+
).split(','), j = 0, key; keys.length > j; j++) {
|
|
2922
|
+
if (has(Base, key = keys[j]) && !has($Number, key)) {
|
|
2923
|
+
dP($Number, key, gOPD(Base, key));
|
|
2924
|
+
}
|
|
2925
|
+
}
|
|
2926
|
+
$Number.prototype = proto;
|
|
2927
|
+
proto.constructor = $Number;
|
|
2928
|
+
__webpack_require__("2aba")(global, NUMBER, $Number);
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2931
|
+
|
|
2818
2932
|
/***/ }),
|
|
2819
2933
|
|
|
2820
2934
|
/***/ "c69a":
|
|
@@ -3233,16 +3347,19 @@ if (typeof window !== 'undefined') {
|
|
|
3233
3347
|
// Indicate to webpack that this file can be concatenated
|
|
3234
3348
|
/* harmony default export */ var setPublicPath = (null);
|
|
3235
3349
|
|
|
3236
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3237
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-tabmenu p-component"},[_c('ul',{ref:"nav",staticClass:"p-tabmenu-nav p-reset",attrs:{"role":"tablist"}},[_vm._l((_vm.model),function(item,i){return [(_vm.visible(item))?_c('li',{key:
|
|
3350
|
+
// 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/tabmenu/TabMenu.vue?vue&type=template&id=7bf90cb6&
|
|
3351
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-tabmenu p-component"},[_c('ul',{ref:"nav",staticClass:"p-tabmenu-nav p-reset",attrs:{"role":"tablist"}},[_vm._l((_vm.model),function(item,i){return [(_vm.visible(item))?_c('li',{key:_vm.label(item) + '_' + i,class:_vm.getItemClass(item, i),style:(item.style),attrs:{"role":"tab","aria-selected":_vm.isActive(item),"aria-expanded":_vm.isActive(item)}},[(item.to && !_vm.disabled(item))?_c('router-link',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-menuitem-link",attrs:{"to":item.to,"role":"presentation"},nativeOn:{"click":function($event){return _vm.onItemClick($event, item, i)}}},[(item.icon)?_c('span',{class:_vm.getItemIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])]):_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-menuitem-link",attrs:{"href":item.url,"target":item.target,"role":"presentation","tabindex":_vm.disabled(item) ? null : '0'},on:{"click":function($event){return _vm.onItemClick($event, item, i)}}},[(item.icon)?_c('span',{class:_vm.getItemIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])])],1):_vm._e()]}),_c('li',{ref:"inkbar",staticClass:"p-tabmenu-ink-bar"})],2)])}
|
|
3238
3352
|
var staticRenderFns = []
|
|
3239
3353
|
|
|
3240
3354
|
|
|
3241
|
-
// CONCATENATED MODULE: ./src/components/tabmenu/TabMenu.vue?vue&type=template&id=
|
|
3355
|
+
// CONCATENATED MODULE: ./src/components/tabmenu/TabMenu.vue?vue&type=template&id=7bf90cb6&
|
|
3242
3356
|
|
|
3243
3357
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.starts-with.js
|
|
3244
3358
|
var es6_string_starts_with = __webpack_require__("f559");
|
|
3245
3359
|
|
|
3360
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
3361
|
+
var es6_number_constructor = __webpack_require__("c5f6");
|
|
3362
|
+
|
|
3246
3363
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
3247
3364
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
3248
3365
|
|
|
@@ -3300,6 +3417,11 @@ function _defineProperties(target, props) {
|
|
|
3300
3417
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3301
3418
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3302
3419
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3420
|
+
|
|
3421
|
+
define_property_default()(Constructor, "prototype", {
|
|
3422
|
+
writable: false
|
|
3423
|
+
});
|
|
3424
|
+
|
|
3303
3425
|
return Constructor;
|
|
3304
3426
|
}
|
|
3305
3427
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3832,6 +3954,12 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3832
3954
|
|
|
3833
3955
|
return visibleFocusableElements;
|
|
3834
3956
|
}
|
|
3957
|
+
}, {
|
|
3958
|
+
key: "getFirstFocusableElement",
|
|
3959
|
+
value: function getFirstFocusableElement(element) {
|
|
3960
|
+
var focusableElements = this.getFocusableElements(element);
|
|
3961
|
+
return focusableElements.length > 0 ? focusableElements[0] : null;
|
|
3962
|
+
}
|
|
3835
3963
|
}, {
|
|
3836
3964
|
key: "isClickable",
|
|
3837
3965
|
value: function isClickable(element) {
|
|
@@ -3839,6 +3967,17 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3839
3967
|
var parentNode = element.parentElement && element.parentElement.nodeName;
|
|
3840
3968
|
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');
|
|
3841
3969
|
}
|
|
3970
|
+
}, {
|
|
3971
|
+
key: "applyStyle",
|
|
3972
|
+
value: function applyStyle(element, style) {
|
|
3973
|
+
if (typeof style === 'string') {
|
|
3974
|
+
element.style.cssText = this.style;
|
|
3975
|
+
} else {
|
|
3976
|
+
for (var prop in this.style) {
|
|
3977
|
+
element.style[prop] = style[prop];
|
|
3978
|
+
}
|
|
3979
|
+
}
|
|
3980
|
+
}
|
|
3842
3981
|
}, {
|
|
3843
3982
|
key: "isIOS",
|
|
3844
3983
|
value: function isIOS() {
|
|
@@ -3849,6 +3988,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3849
3988
|
value: function isAndroid() {
|
|
3850
3989
|
return /(android)/i.test(navigator.userAgent);
|
|
3851
3990
|
}
|
|
3991
|
+
}, {
|
|
3992
|
+
key: "isTouchDevice",
|
|
3993
|
+
value: function isTouchDevice() {
|
|
3994
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3995
|
+
}
|
|
3852
3996
|
}]);
|
|
3853
3997
|
|
|
3854
3998
|
return DomHandler;
|
|
@@ -3935,6 +4079,7 @@ var Ripple = {
|
|
|
3935
4079
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3936
4080
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/tabmenu/TabMenu.vue?vue&type=script&lang=js&
|
|
3937
4081
|
|
|
4082
|
+
|
|
3938
4083
|
//
|
|
3939
4084
|
//
|
|
3940
4085
|
//
|
|
@@ -3962,17 +4107,31 @@ var Ripple = {
|
|
|
3962
4107
|
model: {
|
|
3963
4108
|
type: Array,
|
|
3964
4109
|
default: null
|
|
4110
|
+
},
|
|
4111
|
+
activeIndex: {
|
|
4112
|
+
type: Number,
|
|
4113
|
+
default: 0
|
|
3965
4114
|
}
|
|
3966
4115
|
},
|
|
4116
|
+
data: function data() {
|
|
4117
|
+
return {
|
|
4118
|
+
d_activeIndex: this.activeIndex
|
|
4119
|
+
};
|
|
4120
|
+
},
|
|
3967
4121
|
mounted: function mounted() {
|
|
3968
4122
|
this.updateInkBar();
|
|
3969
4123
|
},
|
|
3970
4124
|
updated: function updated() {
|
|
3971
4125
|
this.updateInkBar();
|
|
3972
4126
|
},
|
|
4127
|
+
watch: {
|
|
4128
|
+
activeIndex: function activeIndex(newValue) {
|
|
4129
|
+
this.d_activeIndex = newValue;
|
|
4130
|
+
}
|
|
4131
|
+
},
|
|
3973
4132
|
methods: {
|
|
3974
|
-
onItemClick: function onItemClick(event, item) {
|
|
3975
|
-
if (
|
|
4133
|
+
onItemClick: function onItemClick(event, item, index) {
|
|
4134
|
+
if (this.disabled(item)) {
|
|
3976
4135
|
event.preventDefault();
|
|
3977
4136
|
return;
|
|
3978
4137
|
}
|
|
@@ -3983,14 +4142,24 @@ var Ripple = {
|
|
|
3983
4142
|
item: item
|
|
3984
4143
|
});
|
|
3985
4144
|
}
|
|
4145
|
+
|
|
4146
|
+
if (index !== this.d_activeIndex) {
|
|
4147
|
+
this.d_activeIndex = index;
|
|
4148
|
+
this.$emit('update:activeIndex', this.d_activeIndex);
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4151
|
+
this.$emit('tab-change', {
|
|
4152
|
+
originalEvent: event,
|
|
4153
|
+
index: index
|
|
4154
|
+
});
|
|
3986
4155
|
},
|
|
3987
4156
|
isActive: function isActive(item) {
|
|
3988
4157
|
return this.activeRoute.startsWith(item.to);
|
|
3989
4158
|
},
|
|
3990
|
-
getItemClass: function getItemClass(item) {
|
|
4159
|
+
getItemClass: function getItemClass(item, index) {
|
|
3991
4160
|
return ['p-tabmenuitem', item.class, {
|
|
3992
|
-
'p-highlight': this.isActive(item),
|
|
3993
|
-
'p-disabled':
|
|
4161
|
+
'p-highlight': this.isActive(item) || this.d_activeIndex === index,
|
|
4162
|
+
'p-disabled': this.disabled(item)
|
|
3994
4163
|
}];
|
|
3995
4164
|
},
|
|
3996
4165
|
getItemIcon: function getItemIcon(item) {
|
|
@@ -3999,6 +4168,12 @@ var Ripple = {
|
|
|
3999
4168
|
visible: function visible(item) {
|
|
4000
4169
|
return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
|
|
4001
4170
|
},
|
|
4171
|
+
disabled: function disabled(item) {
|
|
4172
|
+
return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
|
|
4173
|
+
},
|
|
4174
|
+
label: function label(item) {
|
|
4175
|
+
return typeof item.label === 'function' ? item.label() : item.label;
|
|
4176
|
+
},
|
|
4002
4177
|
findActiveTabIndex: function findActiveTabIndex() {
|
|
4003
4178
|
if (this.model) {
|
|
4004
4179
|
for (var i = 0; i < this.model.length; i++) {
|
|
@@ -4165,6 +4340,15 @@ var component = normalizeComponent(
|
|
|
4165
4340
|
|
|
4166
4341
|
|
|
4167
4342
|
|
|
4343
|
+
/***/ }),
|
|
4344
|
+
|
|
4345
|
+
/***/ "fdef":
|
|
4346
|
+
/***/ (function(module, exports) {
|
|
4347
|
+
|
|
4348
|
+
module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
|
|
4349
|
+
'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
4350
|
+
|
|
4351
|
+
|
|
4168
4352
|
/***/ })
|
|
4169
4353
|
|
|
4170
4354
|
/******/ })["default"];
|
package/tabmenu/tabmenu.umd.js
CHANGED
|
@@ -2727,6 +2727,43 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
|
|
|
2727
2727
|
});
|
|
2728
2728
|
|
|
2729
2729
|
|
|
2730
|
+
/***/ }),
|
|
2731
|
+
|
|
2732
|
+
/***/ "aa77":
|
|
2733
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2734
|
+
|
|
2735
|
+
var $export = __webpack_require__("5ca1");
|
|
2736
|
+
var defined = __webpack_require__("be13");
|
|
2737
|
+
var fails = __webpack_require__("79e5");
|
|
2738
|
+
var spaces = __webpack_require__("fdef");
|
|
2739
|
+
var space = '[' + spaces + ']';
|
|
2740
|
+
var non = '\u200b\u0085';
|
|
2741
|
+
var ltrim = RegExp('^' + space + space + '*');
|
|
2742
|
+
var rtrim = RegExp(space + space + '*$');
|
|
2743
|
+
|
|
2744
|
+
var exporter = function (KEY, exec, ALIAS) {
|
|
2745
|
+
var exp = {};
|
|
2746
|
+
var FORCE = fails(function () {
|
|
2747
|
+
return !!spaces[KEY]() || non[KEY]() != non;
|
|
2748
|
+
});
|
|
2749
|
+
var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
|
|
2750
|
+
if (ALIAS) exp[ALIAS] = fn;
|
|
2751
|
+
$export($export.P + $export.F * FORCE, 'String', exp);
|
|
2752
|
+
};
|
|
2753
|
+
|
|
2754
|
+
// 1 -> String#trimLeft
|
|
2755
|
+
// 2 -> String#trimRight
|
|
2756
|
+
// 3 -> String#trim
|
|
2757
|
+
var trim = exporter.trim = function (string, TYPE) {
|
|
2758
|
+
string = String(defined(string));
|
|
2759
|
+
if (TYPE & 1) string = string.replace(ltrim, '');
|
|
2760
|
+
if (TYPE & 2) string = string.replace(rtrim, '');
|
|
2761
|
+
return string;
|
|
2762
|
+
};
|
|
2763
|
+
|
|
2764
|
+
module.exports = exporter;
|
|
2765
|
+
|
|
2766
|
+
|
|
2730
2767
|
/***/ }),
|
|
2731
2768
|
|
|
2732
2769
|
/***/ "aae3":
|
|
@@ -2824,6 +2861,83 @@ module.exports = function (IS_INCLUDES) {
|
|
|
2824
2861
|
};
|
|
2825
2862
|
|
|
2826
2863
|
|
|
2864
|
+
/***/ }),
|
|
2865
|
+
|
|
2866
|
+
/***/ "c5f6":
|
|
2867
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2868
|
+
|
|
2869
|
+
"use strict";
|
|
2870
|
+
|
|
2871
|
+
var global = __webpack_require__("7726");
|
|
2872
|
+
var has = __webpack_require__("69a8");
|
|
2873
|
+
var cof = __webpack_require__("2d95");
|
|
2874
|
+
var inheritIfRequired = __webpack_require__("5dbc");
|
|
2875
|
+
var toPrimitive = __webpack_require__("6a99");
|
|
2876
|
+
var fails = __webpack_require__("79e5");
|
|
2877
|
+
var gOPN = __webpack_require__("9093").f;
|
|
2878
|
+
var gOPD = __webpack_require__("11e9").f;
|
|
2879
|
+
var dP = __webpack_require__("86cc").f;
|
|
2880
|
+
var $trim = __webpack_require__("aa77").trim;
|
|
2881
|
+
var NUMBER = 'Number';
|
|
2882
|
+
var $Number = global[NUMBER];
|
|
2883
|
+
var Base = $Number;
|
|
2884
|
+
var proto = $Number.prototype;
|
|
2885
|
+
// Opera ~12 has broken Object#toString
|
|
2886
|
+
var BROKEN_COF = cof(__webpack_require__("2aeb")(proto)) == NUMBER;
|
|
2887
|
+
var TRIM = 'trim' in String.prototype;
|
|
2888
|
+
|
|
2889
|
+
// 7.1.3 ToNumber(argument)
|
|
2890
|
+
var toNumber = function (argument) {
|
|
2891
|
+
var it = toPrimitive(argument, false);
|
|
2892
|
+
if (typeof it == 'string' && it.length > 2) {
|
|
2893
|
+
it = TRIM ? it.trim() : $trim(it, 3);
|
|
2894
|
+
var first = it.charCodeAt(0);
|
|
2895
|
+
var third, radix, maxCode;
|
|
2896
|
+
if (first === 43 || first === 45) {
|
|
2897
|
+
third = it.charCodeAt(2);
|
|
2898
|
+
if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
|
|
2899
|
+
} else if (first === 48) {
|
|
2900
|
+
switch (it.charCodeAt(1)) {
|
|
2901
|
+
case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
|
|
2902
|
+
case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
|
|
2903
|
+
default: return +it;
|
|
2904
|
+
}
|
|
2905
|
+
for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
|
|
2906
|
+
code = digits.charCodeAt(i);
|
|
2907
|
+
// parseInt parses a string to a first unavailable symbol
|
|
2908
|
+
// but ToNumber should return NaN if a string contains unavailable symbols
|
|
2909
|
+
if (code < 48 || code > maxCode) return NaN;
|
|
2910
|
+
} return parseInt(digits, radix);
|
|
2911
|
+
}
|
|
2912
|
+
} return +it;
|
|
2913
|
+
};
|
|
2914
|
+
|
|
2915
|
+
if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
|
|
2916
|
+
$Number = function Number(value) {
|
|
2917
|
+
var it = arguments.length < 1 ? 0 : value;
|
|
2918
|
+
var that = this;
|
|
2919
|
+
return that instanceof $Number
|
|
2920
|
+
// check on 1..constructor(foo) case
|
|
2921
|
+
&& (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
|
|
2922
|
+
? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
|
|
2923
|
+
};
|
|
2924
|
+
for (var keys = __webpack_require__("9e1e") ? gOPN(Base) : (
|
|
2925
|
+
// ES3:
|
|
2926
|
+
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
|
2927
|
+
// ES6 (in case, if modules with ES6 Number statics required before):
|
|
2928
|
+
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
|
|
2929
|
+
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
|
|
2930
|
+
).split(','), j = 0, key; keys.length > j; j++) {
|
|
2931
|
+
if (has(Base, key = keys[j]) && !has($Number, key)) {
|
|
2932
|
+
dP($Number, key, gOPD(Base, key));
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
$Number.prototype = proto;
|
|
2936
|
+
proto.constructor = $Number;
|
|
2937
|
+
__webpack_require__("2aba")(global, NUMBER, $Number);
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
|
|
2827
2941
|
/***/ }),
|
|
2828
2942
|
|
|
2829
2943
|
/***/ "c69a":
|
|
@@ -3242,16 +3356,19 @@ if (typeof window !== 'undefined') {
|
|
|
3242
3356
|
// Indicate to webpack that this file can be concatenated
|
|
3243
3357
|
/* harmony default export */ var setPublicPath = (null);
|
|
3244
3358
|
|
|
3245
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3246
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-tabmenu p-component"},[_c('ul',{ref:"nav",staticClass:"p-tabmenu-nav p-reset",attrs:{"role":"tablist"}},[_vm._l((_vm.model),function(item,i){return [(_vm.visible(item))?_c('li',{key:
|
|
3359
|
+
// 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/tabmenu/TabMenu.vue?vue&type=template&id=7bf90cb6&
|
|
3360
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"p-tabmenu p-component"},[_c('ul',{ref:"nav",staticClass:"p-tabmenu-nav p-reset",attrs:{"role":"tablist"}},[_vm._l((_vm.model),function(item,i){return [(_vm.visible(item))?_c('li',{key:_vm.label(item) + '_' + i,class:_vm.getItemClass(item, i),style:(item.style),attrs:{"role":"tab","aria-selected":_vm.isActive(item),"aria-expanded":_vm.isActive(item)}},[(item.to && !_vm.disabled(item))?_c('router-link',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-menuitem-link",attrs:{"to":item.to,"role":"presentation"},nativeOn:{"click":function($event){return _vm.onItemClick($event, item, i)}}},[(item.icon)?_c('span',{class:_vm.getItemIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])]):_c('a',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-menuitem-link",attrs:{"href":item.url,"target":item.target,"role":"presentation","tabindex":_vm.disabled(item) ? null : '0'},on:{"click":function($event){return _vm.onItemClick($event, item, i)}}},[(item.icon)?_c('span',{class:_vm.getItemIcon(item)}):_vm._e(),_c('span',{staticClass:"p-menuitem-text"},[_vm._v(_vm._s(_vm.label(item)))])])],1):_vm._e()]}),_c('li',{ref:"inkbar",staticClass:"p-tabmenu-ink-bar"})],2)])}
|
|
3247
3361
|
var staticRenderFns = []
|
|
3248
3362
|
|
|
3249
3363
|
|
|
3250
|
-
// CONCATENATED MODULE: ./src/components/tabmenu/TabMenu.vue?vue&type=template&id=
|
|
3364
|
+
// CONCATENATED MODULE: ./src/components/tabmenu/TabMenu.vue?vue&type=template&id=7bf90cb6&
|
|
3251
3365
|
|
|
3252
3366
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.starts-with.js
|
|
3253
3367
|
var es6_string_starts_with = __webpack_require__("f559");
|
|
3254
3368
|
|
|
3369
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
3370
|
+
var es6_number_constructor = __webpack_require__("c5f6");
|
|
3371
|
+
|
|
3255
3372
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
3256
3373
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
3257
3374
|
|
|
@@ -3309,6 +3426,11 @@ function _defineProperties(target, props) {
|
|
|
3309
3426
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3310
3427
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3311
3428
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3429
|
+
|
|
3430
|
+
define_property_default()(Constructor, "prototype", {
|
|
3431
|
+
writable: false
|
|
3432
|
+
});
|
|
3433
|
+
|
|
3312
3434
|
return Constructor;
|
|
3313
3435
|
}
|
|
3314
3436
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3841,6 +3963,12 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3841
3963
|
|
|
3842
3964
|
return visibleFocusableElements;
|
|
3843
3965
|
}
|
|
3966
|
+
}, {
|
|
3967
|
+
key: "getFirstFocusableElement",
|
|
3968
|
+
value: function getFirstFocusableElement(element) {
|
|
3969
|
+
var focusableElements = this.getFocusableElements(element);
|
|
3970
|
+
return focusableElements.length > 0 ? focusableElements[0] : null;
|
|
3971
|
+
}
|
|
3844
3972
|
}, {
|
|
3845
3973
|
key: "isClickable",
|
|
3846
3974
|
value: function isClickable(element) {
|
|
@@ -3848,6 +3976,17 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3848
3976
|
var parentNode = element.parentElement && element.parentElement.nodeName;
|
|
3849
3977
|
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');
|
|
3850
3978
|
}
|
|
3979
|
+
}, {
|
|
3980
|
+
key: "applyStyle",
|
|
3981
|
+
value: function applyStyle(element, style) {
|
|
3982
|
+
if (typeof style === 'string') {
|
|
3983
|
+
element.style.cssText = this.style;
|
|
3984
|
+
} else {
|
|
3985
|
+
for (var prop in this.style) {
|
|
3986
|
+
element.style[prop] = style[prop];
|
|
3987
|
+
}
|
|
3988
|
+
}
|
|
3989
|
+
}
|
|
3851
3990
|
}, {
|
|
3852
3991
|
key: "isIOS",
|
|
3853
3992
|
value: function isIOS() {
|
|
@@ -3858,6 +3997,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3858
3997
|
value: function isAndroid() {
|
|
3859
3998
|
return /(android)/i.test(navigator.userAgent);
|
|
3860
3999
|
}
|
|
4000
|
+
}, {
|
|
4001
|
+
key: "isTouchDevice",
|
|
4002
|
+
value: function isTouchDevice() {
|
|
4003
|
+
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4004
|
+
}
|
|
3861
4005
|
}]);
|
|
3862
4006
|
|
|
3863
4007
|
return DomHandler;
|
|
@@ -3944,6 +4088,7 @@ var Ripple = {
|
|
|
3944
4088
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3945
4089
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/tabmenu/TabMenu.vue?vue&type=script&lang=js&
|
|
3946
4090
|
|
|
4091
|
+
|
|
3947
4092
|
//
|
|
3948
4093
|
//
|
|
3949
4094
|
//
|
|
@@ -3971,17 +4116,31 @@ var Ripple = {
|
|
|
3971
4116
|
model: {
|
|
3972
4117
|
type: Array,
|
|
3973
4118
|
default: null
|
|
4119
|
+
},
|
|
4120
|
+
activeIndex: {
|
|
4121
|
+
type: Number,
|
|
4122
|
+
default: 0
|
|
3974
4123
|
}
|
|
3975
4124
|
},
|
|
4125
|
+
data: function data() {
|
|
4126
|
+
return {
|
|
4127
|
+
d_activeIndex: this.activeIndex
|
|
4128
|
+
};
|
|
4129
|
+
},
|
|
3976
4130
|
mounted: function mounted() {
|
|
3977
4131
|
this.updateInkBar();
|
|
3978
4132
|
},
|
|
3979
4133
|
updated: function updated() {
|
|
3980
4134
|
this.updateInkBar();
|
|
3981
4135
|
},
|
|
4136
|
+
watch: {
|
|
4137
|
+
activeIndex: function activeIndex(newValue) {
|
|
4138
|
+
this.d_activeIndex = newValue;
|
|
4139
|
+
}
|
|
4140
|
+
},
|
|
3982
4141
|
methods: {
|
|
3983
|
-
onItemClick: function onItemClick(event, item) {
|
|
3984
|
-
if (
|
|
4142
|
+
onItemClick: function onItemClick(event, item, index) {
|
|
4143
|
+
if (this.disabled(item)) {
|
|
3985
4144
|
event.preventDefault();
|
|
3986
4145
|
return;
|
|
3987
4146
|
}
|
|
@@ -3992,14 +4151,24 @@ var Ripple = {
|
|
|
3992
4151
|
item: item
|
|
3993
4152
|
});
|
|
3994
4153
|
}
|
|
4154
|
+
|
|
4155
|
+
if (index !== this.d_activeIndex) {
|
|
4156
|
+
this.d_activeIndex = index;
|
|
4157
|
+
this.$emit('update:activeIndex', this.d_activeIndex);
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
this.$emit('tab-change', {
|
|
4161
|
+
originalEvent: event,
|
|
4162
|
+
index: index
|
|
4163
|
+
});
|
|
3995
4164
|
},
|
|
3996
4165
|
isActive: function isActive(item) {
|
|
3997
4166
|
return this.activeRoute.startsWith(item.to);
|
|
3998
4167
|
},
|
|
3999
|
-
getItemClass: function getItemClass(item) {
|
|
4168
|
+
getItemClass: function getItemClass(item, index) {
|
|
4000
4169
|
return ['p-tabmenuitem', item.class, {
|
|
4001
|
-
'p-highlight': this.isActive(item),
|
|
4002
|
-
'p-disabled':
|
|
4170
|
+
'p-highlight': this.isActive(item) || this.d_activeIndex === index,
|
|
4171
|
+
'p-disabled': this.disabled(item)
|
|
4003
4172
|
}];
|
|
4004
4173
|
},
|
|
4005
4174
|
getItemIcon: function getItemIcon(item) {
|
|
@@ -4008,6 +4177,12 @@ var Ripple = {
|
|
|
4008
4177
|
visible: function visible(item) {
|
|
4009
4178
|
return typeof item.visible === 'function' ? item.visible() : item.visible !== false;
|
|
4010
4179
|
},
|
|
4180
|
+
disabled: function disabled(item) {
|
|
4181
|
+
return typeof item.disabled === 'function' ? item.disabled() : item.disabled;
|
|
4182
|
+
},
|
|
4183
|
+
label: function label(item) {
|
|
4184
|
+
return typeof item.label === 'function' ? item.label() : item.label;
|
|
4185
|
+
},
|
|
4011
4186
|
findActiveTabIndex: function findActiveTabIndex() {
|
|
4012
4187
|
if (this.model) {
|
|
4013
4188
|
for (var i = 0; i < this.model.length; i++) {
|
|
@@ -4174,6 +4349,15 @@ var component = normalizeComponent(
|
|
|
4174
4349
|
|
|
4175
4350
|
|
|
4176
4351
|
|
|
4352
|
+
/***/ }),
|
|
4353
|
+
|
|
4354
|
+
/***/ "fdef":
|
|
4355
|
+
/***/ (function(module, exports) {
|
|
4356
|
+
|
|
4357
|
+
module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
|
|
4358
|
+
'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
4359
|
+
|
|
4360
|
+
|
|
4177
4361
|
/***/ })
|
|
4178
4362
|
|
|
4179
4363
|
/******/ })["default"];
|