primevue 2.9.0 → 2.10.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/LICENSE.md +2 -2
- package/accordion/Accordion.d.ts +2 -0
- package/accordion/Accordion.vue +9 -1
- package/accordion/accordion.common.js +77 -70
- package/accordion/accordion.umd.js +77 -70
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/AccordionTab.vue +7 -5
- package/accordiontab/accordiontab.common.js +67 -45
- package/accordiontab/accordiontab.umd.js +67 -45
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +213 -109
- package/autocomplete/autocomplete.umd.js +213 -109
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +65 -60
- package/avatar/avatar.umd.js +65 -60
- package/avatar/avatar.umd.min.js +1 -1
- package/avatargroup/avatargroup.common.js +45 -46
- package/avatargroup/avatargroup.umd.js +45 -46
- package/avatargroup/avatargroup.umd.min.js +1 -1
- package/badge/badge.common.js +23 -22
- package/badge/badge.umd.js +23 -22
- package/badge/badge.umd.min.js +1 -1
- package/blockui/blockui.common.js +67 -68
- package/blockui/blockui.umd.js +67 -68
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +132 -87
- package/breadcrumb/breadcrumb.umd.js +132 -87
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +68 -38
- package/breadcrumb/breadcrumbitem.umd.js +68 -38
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/Button.d.ts +2 -0
- package/button/Button.vue +10 -1
- package/button/button.common.js +53 -32
- package/button/button.umd.js +53 -32
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +11 -4
- package/calendar/calendar.common.js +644 -255
- package/calendar/calendar.umd.js +644 -255
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +60 -61
- package/card/card.umd.js +60 -61
- package/card/card.umd.min.js +1 -1
- package/carousel/carousel.common.js +178 -111
- package/carousel/carousel.umd.js +178 -111
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +207 -113
- package/cascadeselect/cascadeselect.umd.js +207 -113
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +79 -37
- package/cascadeselect/cascadeselectsub.umd.js +79 -37
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +3 -4
- package/chart/chart.common.js +78 -68
- package/chart/chart.umd.js +78 -68
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/checkbox.common.js +62 -29
- package/checkbox/checkbox.umd.js +62 -29
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +67 -51
- package/chip/chip.umd.js +67 -51
- package/chip/chip.umd.min.js +1 -1
- package/chips/chips.common.js +122 -79
- package/chips/chips.umd.js +122 -79
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +136 -85
- package/colorpicker/colorpicker.umd.js +136 -85
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/Column.d.ts +2 -0
- package/column/Column.vue +3 -3
- package/column/column.common.js +16 -18
- package/column/column.umd.js +16 -18
- package/column/column.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +21 -24
- package/columngroup/columngroup.umd.js +21 -24
- package/columngroup/columngroup.umd.min.js +1 -1
- package/confirmdialog/confirmdialog.common.js +237 -120
- package/confirmdialog/confirmdialog.umd.js +237 -120
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +143 -93
- package/confirmpopup/confirmpopup.umd.js +143 -93
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +197 -104
- package/contextmenu/contextmenu.umd.js +197 -104
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +126 -50
- package/contextmenu/contextmenusub.umd.js +126 -50
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/datatable/BodyCell.vue +27 -9
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/ColumnSlot.vue +16 -1
- package/datatable/DataTable.vue +19 -26
- package/datatable/HeaderCheckbox.vue +5 -8
- package/datatable/TableBody.vue +5 -1
- package/datatable/TableFooter.vue +1 -1
- package/datatable/TableHeader.vue +1 -1
- package/datatable/bodycell.common.js +305 -82
- package/datatable/bodycell.umd.js +305 -82
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +493 -186
- package/datatable/columnfilter.umd.js +493 -186
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/columnslot.common.js +29 -16
- package/datatable/columnslot.umd.js +29 -16
- package/datatable/columnslot.umd.min.js +1 -1
- package/datatable/datatable.common.js +2306 -848
- package/datatable/datatable.umd.js +2306 -848
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +5 -3
- package/datatable/footercell.common.js +51 -27
- package/datatable/footercell.umd.js +51 -27
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +661 -235
- package/datatable/headercell.umd.js +661 -235
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +60 -32
- package/datatable/headercheckbox.umd.js +60 -32
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +62 -29
- package/datatable/rowcheckbox.umd.js +62 -29
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +55 -26
- package/datatable/rowradiobutton.umd.js +55 -26
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +496 -138
- package/datatable/tablebody.umd.js +496 -138
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +91 -49
- package/datatable/tablefooter.umd.js +91 -49
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +870 -289
- package/datatable/tableheader.umd.js +870 -289
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +53 -29
- package/datatable/tableloadingbody.umd.js +53 -29
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +804 -384
- package/dataview/dataview.umd.js +804 -384
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +47 -29
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +47 -29
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
- package/deferredcontent/deferredcontent.common.js +23 -24
- package/deferredcontent/deferredcontent.umd.js +23 -24
- package/deferredcontent/deferredcontent.umd.min.js +1 -1
- package/dialog/dialog.common.js +140 -89
- package/dialog/dialog.umd.js +140 -89
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +50 -48
- package/divider/divider.umd.js +50 -48
- package/divider/divider.umd.min.js +1 -1
- package/dock/dock.common.js +181 -90
- package/dock/dock.umd.js +181 -90
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +133 -51
- package/dock/docksub.umd.js +133 -51
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/Dropdown.vue +3 -2
- package/dropdown/dropdown.common.js +207 -105
- package/dropdown/dropdown.umd.js +207 -105
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +201 -98
- package/editor/editor.umd.js +201 -98
- package/editor/editor.umd.min.js +3 -3
- package/fieldset/fieldset.common.js +121 -87
- package/fieldset/fieldset.umd.js +121 -87
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/FileUpload.vue +1 -0
- package/fileupload/fileupload.common.js +419 -246
- package/fileupload/fileupload.umd.js +419 -246
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +98 -73
- package/fullcalendar/fullcalendar.umd.js +98 -73
- package/fullcalendar/fullcalendar.umd.min.js +4 -18
- package/galleria/galleria.common.js +390 -164
- package/galleria/galleria.umd.js +390 -164
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +310 -107
- package/galleria/galleriacontent.umd.js +310 -107
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +111 -45
- package/galleria/galleriaitem.umd.js +111 -45
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +13 -15
- package/galleria/galleriaitemslot.umd.js +13 -15
- package/galleria/galleriathumbnails.common.js +109 -49
- package/galleria/galleriathumbnails.umd.js +109 -49
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +163 -97
- package/imagepreview/imagepreview.umd.js +163 -97
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +62 -55
- package/inlinemessage/inlinemessage.umd.js +62 -55
- package/inlinemessage/inlinemessage.umd.min.js +1 -1
- package/inplace/inplace.common.js +128 -91
- package/inplace/inplace.umd.js +128 -91
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +23 -22
- package/inputmask/inputmask.umd.js +23 -22
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +7 -2
- package/inputnumber/inputnumber.common.js +175 -101
- package/inputnumber/inputnumber.umd.js +175 -101
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +222 -37
- package/inputswitch/inputswitch.umd.js +222 -37
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +28 -22
- package/inputtext/inputtext.umd.js +28 -22
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/Knob.vue +1 -1
- package/knob/knob.common.js +103 -74
- package/knob/knob.umd.js +103 -74
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +139 -84
- package/listbox/listbox.umd.js +139 -84
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -2
- package/megamenu/megamenu.common.js +258 -128
- package/megamenu/megamenu.umd.js +258 -128
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +190 -105
- package/menu/menu.umd.js +190 -105
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +83 -38
- package/menu/menuitem.umd.js +83 -38
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/menubar.common.js +209 -111
- package/menubar/menubar.umd.js +209 -111
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +127 -49
- package/menubar/menubarsub.umd.js +127 -49
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +96 -78
- package/message/message.umd.js +96 -78
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.vue +2 -2
- package/multiselect/multiselect.common.js +264 -131
- package/multiselect/multiselect.umd.js +264 -131
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/OrderList.d.ts +1 -0
- package/orderlist/OrderList.vue +12 -1
- package/orderlist/orderlist.common.js +195 -107
- package/orderlist/orderlist.umd.js +195 -107
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +177 -114
- package/organizationchart/organizationchart.umd.js +177 -114
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +110 -59
- package/organizationchart/organizationchartnode.umd.js +110 -59
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlaypanel/overlaypanel.common.js +96 -75
- package/overlaypanel/overlaypanel.umd.js +96 -75
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +2 -2
- package/paginator/currentpagereport.common.js +23 -21
- package/paginator/currentpagereport.umd.js +23 -21
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/firstpagelink.common.js +32 -24
- package/paginator/firstpagelink.umd.js +32 -24
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +231 -115
- package/paginator/jumptopagedropdown.umd.js +231 -115
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +196 -110
- package/paginator/jumptopageinput.umd.js +196 -110
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +32 -24
- package/paginator/lastpagelink.umd.js +32 -24
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +32 -24
- package/paginator/nextpagelink.umd.js +32 -24
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +42 -24
- package/paginator/pagelinks.umd.js +42 -24
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +706 -336
- package/paginator/paginator.umd.js +706 -336
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +32 -24
- package/paginator/prevpagelink.umd.js +32 -24
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +230 -115
- package/paginator/rowsperpagedropdown.umd.js +230 -115
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +117 -86
- package/panel/panel.umd.js +117 -86
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +237 -119
- package/panelmenu/panelmenu.umd.js +237 -119
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +111 -50
- package/panelmenu/panelmenusub.umd.js +111 -50
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/Password.vue +27 -4
- package/password/password.common.js +186 -120
- package/password/password.umd.js +186 -120
- package/password/password.umd.min.js +1 -1
- package/picklist/PickList.d.ts +1 -0
- package/picklist/PickList.vue +10 -1
- package/picklist/picklist.common.js +319 -135
- package/picklist/picklist.umd.js +319 -135
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +84 -75
- package/progressbar/progressbar.umd.js +84 -75
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +548 -45
- package/progressspinner/progressspinner.umd.js +548 -45
- package/progressspinner/progressspinner.umd.min.js +1 -1
- package/radiobutton/radiobutton.common.js +60 -29
- package/radiobutton/radiobutton.umd.js +60 -29
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +93 -67
- package/rating/rating.umd.js +93 -67
- package/rating/rating.umd.min.js +1 -1
- package/resources/primevue.css +3 -2
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +275 -1
- package/resources/themes/arya-green/theme.css +275 -1
- package/resources/themes/arya-orange/theme.css +275 -1
- package/resources/themes/arya-purple/theme.css +275 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +279 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +279 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +278 -0
- package/resources/themes/bootstrap4-light-purple/theme.css +278 -0
- package/resources/themes/fluent-light/theme.css +274 -0
- package/resources/themes/lara-dark-blue/theme.css +282 -52
- package/resources/themes/lara-dark-indigo/theme.css +282 -52
- package/resources/themes/lara-dark-purple/theme.css +282 -52
- package/resources/themes/lara-dark-teal/theme.css +282 -52
- package/resources/themes/lara-light-blue/theme.css +374 -144
- package/resources/themes/lara-light-indigo/theme.css +281 -51
- package/resources/themes/lara-light-purple/theme.css +281 -51
- package/resources/themes/lara-light-teal/theme.css +281 -51
- package/resources/themes/luna-amber/theme.css +274 -0
- package/resources/themes/luna-blue/theme.css +274 -0
- package/resources/themes/luna-green/theme.css +274 -0
- package/resources/themes/luna-pink/theme.css +274 -0
- package/resources/themes/md-dark-deeppurple/theme.css +365 -8
- package/resources/themes/md-dark-indigo/theme.css +365 -8
- package/resources/themes/md-light-deeppurple/theme.css +362 -5
- package/resources/themes/md-light-indigo/theme.css +362 -5
- package/resources/themes/mdc-dark-deeppurple/theme.css +365 -8
- package/resources/themes/mdc-dark-indigo/theme.css +365 -8
- package/resources/themes/mdc-light-deeppurple/theme.css +362 -5
- package/resources/themes/mdc-light-indigo/theme.css +362 -5
- package/resources/themes/nova/theme.css +274 -0
- package/resources/themes/nova-accent/theme.css +274 -0
- package/resources/themes/nova-alt/theme.css +274 -0
- package/resources/themes/nova-vue/theme.css +274 -0
- package/resources/themes/rhea/theme.css +274 -0
- package/resources/themes/saga-blue/theme.css +274 -0
- package/resources/themes/saga-green/theme.css +274 -0
- package/resources/themes/saga-orange/theme.css +274 -0
- package/resources/themes/saga-purple/theme.css +274 -0
- package/resources/themes/tailwind-light/theme.css +274 -0
- package/resources/themes/vela-blue/theme.css +275 -1
- package/resources/themes/vela-green/theme.css +275 -1
- package/resources/themes/vela-orange/theme.css +275 -1
- package/resources/themes/vela-purple/theme.css +275 -1
- package/ripple/Ripple.css +3 -2
- package/row/row.common.js +21 -24
- package/row/row.umd.js +21 -24
- package/row/row.umd.min.js +1 -1
- package/scrollpanel/scrollpanel.common.js +88 -74
- package/scrollpanel/scrollpanel.umd.js +88 -74
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +78 -64
- package/scrolltop/scrolltop.umd.js +78 -64
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +69 -31
- package/selectbutton/selectbutton.umd.js +69 -31
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/sidebar.common.js +100 -77
- package/sidebar/sidebar.umd.js +100 -77
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +58 -56
- package/skeleton/skeleton.umd.js +58 -56
- package/skeleton/skeleton.umd.min.js +1 -1
- package/slider/Slider.vue +8 -1
- package/slider/slider.common.js +166 -76
- package/slider/slider.umd.js +166 -76
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/speeddial.common.js +174 -103
- package/speeddial/speeddial.umd.js +174 -103
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/SplitButton.vue +7 -3
- package/splitbutton/splitbutton.common.js +320 -181
- package/splitbutton/splitbutton.umd.js +320 -181
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +57 -59
- package/splitter/splitter.umd.js +57 -59
- package/splitter/splitter.umd.min.js +1 -1
- package/splitterpanel/splitterpanel.common.js +13 -15
- package/splitterpanel/splitterpanel.umd.js +13 -15
- package/steps/steps.common.js +113 -74
- package/steps/steps.umd.js +113 -74
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.js +10 -2
- package/styleclass/styleclass.common.js +10 -2
- package/styleclass/styleclass.umd.js +10 -2
- package/styleclass/styleclass.umd.min.js +1 -1
- package/tabmenu/tabmenu.common.js +127 -82
- package/tabmenu/tabmenu.umd.js +127 -82
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +32 -24
- package/tabpanel/tabpanel.umd.js +32 -24
- package/tabpanel/tabpanel.umd.min.js +1 -1
- package/tabview/TabView.vue +1 -1
- package/tabview/tabview.common.js +156 -91
- package/tabview/tabview.umd.js +156 -91
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +60 -58
- package/tag/tag.umd.js +60 -58
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +97 -67
- package/terminal/terminal.umd.js +97 -67
- package/terminal/terminal.umd.min.js +1 -1
- package/textarea/textarea.common.js +73 -66
- package/textarea/textarea.umd.js +73 -66
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/tieredmenu.common.js +201 -104
- package/tieredmenu/tieredmenu.umd.js +201 -104
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +128 -49
- package/tieredmenu/tieredmenusub.umd.js +128 -49
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +94 -82
- package/timeline/timeline.umd.js +94 -82
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +134 -91
- package/toast/toast.umd.js +134 -91
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +58 -36
- package/toast/toastmessage.umd.js +58 -36
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +42 -25
- package/togglebutton/togglebutton.umd.js +42 -25
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +47 -46
- package/toolbar/toolbar.umd.js +47 -46
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.js +28 -1
- package/tooltip/tooltip.common.js +28 -1
- package/tooltip/tooltip.umd.js +28 -1
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/tree.common.js +197 -111
- package/tree/tree.umd.js +197 -111
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +91 -44
- package/tree/treenode.umd.js +91 -44
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/footercell.common.js +28 -25
- package/treetable/footercell.umd.js +28 -25
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +47 -29
- package/treetable/headercell.umd.js +47 -29
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +1027 -506
- package/treetable/treetable.umd.js +1027 -506
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablecolumnslot.common.js +13 -15
- package/treetable/treetablecolumnslot.umd.js +13 -15
- package/treetable/treetablerow.common.js +87 -38
- package/treetable/treetablerow.umd.js +87 -38
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +87 -38
- package/treetable/treetablerowloader.umd.js +87 -38
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +60 -29
- package/tristatecheckbox/tristatecheckbox.umd.js +60 -29
- package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
- package/vetur-attributes.json +32 -0
- package/vetur-tags.json +13 -5
- package/web-types.json +81 -1
- 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-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-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-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-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-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-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-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/dock/docksub.common.js
CHANGED
|
@@ -154,47 +154,131 @@ if (typeof window !== 'undefined') {
|
|
|
154
154
|
// Indicate to webpack that this file can be concatenated
|
|
155
155
|
/* harmony default export */ var setPublicPath = (null);
|
|
156
156
|
|
|
157
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
158
|
-
var render = function () {
|
|
159
|
-
var
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
157
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/dock/DockSub.vue?vue&type=template&id=77d6d77e&
|
|
158
|
+
var render = function render() {
|
|
159
|
+
var _vm = this,
|
|
160
|
+
_c = _vm._self._c;
|
|
161
|
+
|
|
162
|
+
return _c('div', {
|
|
163
|
+
staticClass: "p-dock-list-container"
|
|
164
|
+
}, [_c('ul', {
|
|
165
|
+
ref: "list",
|
|
166
|
+
staticClass: "p-dock-list",
|
|
167
|
+
attrs: {
|
|
168
|
+
"role": "menu"
|
|
169
|
+
},
|
|
170
|
+
on: {
|
|
171
|
+
"mouseleave": _vm.onListMouseLeave
|
|
172
|
+
}
|
|
173
|
+
}, _vm._l(_vm.model, function (item, index) {
|
|
174
|
+
return _c('li', {
|
|
175
|
+
key: index,
|
|
176
|
+
class: _vm.itemClass(index),
|
|
177
|
+
attrs: {
|
|
178
|
+
"role": "none"
|
|
179
|
+
},
|
|
180
|
+
on: {
|
|
181
|
+
"mouseenter": function mouseenter($event) {
|
|
182
|
+
return _vm.onItemMouseEnter(index);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}, [_vm.templates['item'] ? _c('DockSubTemplate', {
|
|
186
|
+
attrs: {
|
|
187
|
+
"item": item,
|
|
188
|
+
"template": _vm.templates['item']
|
|
189
|
+
}
|
|
190
|
+
}) : [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
191
|
+
attrs: {
|
|
192
|
+
"to": item.to,
|
|
193
|
+
"custom": ""
|
|
194
|
+
},
|
|
195
|
+
scopedSlots: _vm._u([{
|
|
196
|
+
key: "default",
|
|
197
|
+
fn: function fn(_ref) {
|
|
198
|
+
var navigate = _ref.navigate,
|
|
199
|
+
href = _ref.href,
|
|
200
|
+
isActive = _ref.isActive,
|
|
201
|
+
isExactActive = _ref.isExactActive;
|
|
202
|
+
return [_c('a', {
|
|
203
|
+
directives: [{
|
|
204
|
+
name: "tooltip",
|
|
205
|
+
rawName: "v-tooltip:[tooltipOptions]",
|
|
206
|
+
value: {
|
|
207
|
+
value: item.label,
|
|
208
|
+
disabled: !_vm.tooltipOptions
|
|
209
|
+
},
|
|
210
|
+
expression: "{value: item.label, disabled: !tooltipOptions}",
|
|
211
|
+
arg: _vm.tooltipOptions
|
|
212
|
+
}],
|
|
213
|
+
class: _vm.linkClass(item, {
|
|
214
|
+
isActive: isActive,
|
|
215
|
+
isExactActive: isExactActive
|
|
216
|
+
}),
|
|
217
|
+
attrs: {
|
|
218
|
+
"href": href,
|
|
219
|
+
"role": "menuitem",
|
|
220
|
+
"target": item.target
|
|
221
|
+
},
|
|
222
|
+
on: {
|
|
223
|
+
"click": function click($event) {
|
|
224
|
+
return _vm.onItemClick($event, item, navigate);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}, [typeof item.icon === 'string' ? [_c('span', {
|
|
228
|
+
directives: [{
|
|
229
|
+
name: "ripple",
|
|
230
|
+
rawName: "v-ripple"
|
|
231
|
+
}],
|
|
232
|
+
class: ['p-dock-action-icon', item.icon]
|
|
233
|
+
})] : _c('DockSubIconTemplate', {
|
|
234
|
+
attrs: {
|
|
235
|
+
"icon": item.icon
|
|
236
|
+
}
|
|
237
|
+
})], 2)];
|
|
238
|
+
}
|
|
239
|
+
}], null, true)
|
|
240
|
+
}) : _c('a', {
|
|
241
|
+
directives: [{
|
|
242
|
+
name: "tooltip",
|
|
243
|
+
rawName: "v-tooltip:[tooltipOptions]",
|
|
244
|
+
value: {
|
|
245
|
+
value: item.label,
|
|
246
|
+
disabled: !_vm.tooltipOptions
|
|
247
|
+
},
|
|
248
|
+
expression: "{value: item.label, disabled: !tooltipOptions}",
|
|
249
|
+
arg: _vm.tooltipOptions
|
|
250
|
+
}],
|
|
251
|
+
class: _vm.linkClass(item),
|
|
252
|
+
attrs: {
|
|
253
|
+
"href": item.url,
|
|
254
|
+
"role": "menuitem",
|
|
255
|
+
"target": item.target,
|
|
256
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
257
|
+
},
|
|
258
|
+
on: {
|
|
259
|
+
"click": function click($event) {
|
|
260
|
+
return _vm.onItemClick($event, item);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}, [typeof item.icon === 'string' ? [_c('span', {
|
|
264
|
+
directives: [{
|
|
265
|
+
name: "ripple",
|
|
266
|
+
rawName: "v-ripple"
|
|
267
|
+
}],
|
|
268
|
+
class: ['p-dock-action-icon', item.icon]
|
|
269
|
+
})] : _c('DockSubIconTemplate', {
|
|
270
|
+
attrs: {
|
|
271
|
+
"icon": item.icon
|
|
272
|
+
}
|
|
273
|
+
})], 2)]], 2);
|
|
274
|
+
}), 0)]);
|
|
275
|
+
};
|
|
165
276
|
|
|
277
|
+
var staticRenderFns = [];
|
|
166
278
|
|
|
167
279
|
// CONCATENATED MODULE: ./src/components/dock/DockSub.vue?vue&type=template&id=77d6d77e&
|
|
168
280
|
|
|
169
281
|
// 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/dock/DockSub.vue?vue&type=script&lang=js&
|
|
170
|
-
//
|
|
171
|
-
//
|
|
172
|
-
//
|
|
173
|
-
//
|
|
174
|
-
//
|
|
175
|
-
//
|
|
176
|
-
//
|
|
177
|
-
//
|
|
178
|
-
//
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
|
-
//
|
|
198
282
|
var DockSubIconTemplate = {
|
|
199
283
|
functional: true,
|
|
200
284
|
props: {
|
|
@@ -303,20 +387,19 @@ var DockSubTemplate = {
|
|
|
303
387
|
// This module is a runtime utility for cleaner component module output and will
|
|
304
388
|
// be included in the final webpack user bundle.
|
|
305
389
|
|
|
306
|
-
function normalizeComponent
|
|
390
|
+
function normalizeComponent(
|
|
307
391
|
scriptExports,
|
|
308
392
|
render,
|
|
309
393
|
staticRenderFns,
|
|
310
394
|
functionalTemplate,
|
|
311
395
|
injectStyles,
|
|
312
396
|
scopeId,
|
|
313
|
-
moduleIdentifier
|
|
397
|
+
moduleIdentifier /* server only */,
|
|
314
398
|
shadowMode /* vue-cli only */
|
|
315
399
|
) {
|
|
316
400
|
// Vue.extend constructor export interop
|
|
317
|
-
var options =
|
|
318
|
-
? scriptExports.options
|
|
319
|
-
: scriptExports
|
|
401
|
+
var options =
|
|
402
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
320
403
|
|
|
321
404
|
// render functions
|
|
322
405
|
if (render) {
|
|
@@ -336,7 +419,8 @@ function normalizeComponent (
|
|
|
336
419
|
}
|
|
337
420
|
|
|
338
421
|
var hook
|
|
339
|
-
if (moduleIdentifier) {
|
|
422
|
+
if (moduleIdentifier) {
|
|
423
|
+
// server build
|
|
340
424
|
hook = function (context) {
|
|
341
425
|
// 2.3 injection
|
|
342
426
|
context =
|
|
@@ -362,11 +446,11 @@ function normalizeComponent (
|
|
|
362
446
|
} else if (injectStyles) {
|
|
363
447
|
hook = shadowMode
|
|
364
448
|
? function () {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
449
|
+
injectStyles.call(
|
|
450
|
+
this,
|
|
451
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
452
|
+
)
|
|
453
|
+
}
|
|
370
454
|
: injectStyles
|
|
371
455
|
}
|
|
372
456
|
|
|
@@ -377,16 +461,14 @@ function normalizeComponent (
|
|
|
377
461
|
options._injectStyles = hook
|
|
378
462
|
// register for functional component in vue file
|
|
379
463
|
var originalRender = options.render
|
|
380
|
-
options.render = function renderWithStyleInjection
|
|
464
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
381
465
|
hook.call(context)
|
|
382
466
|
return originalRender(h, context)
|
|
383
467
|
}
|
|
384
468
|
} else {
|
|
385
469
|
// inject component registration as beforeCreate hook
|
|
386
470
|
var existing = options.beforeCreate
|
|
387
|
-
options.beforeCreate = existing
|
|
388
|
-
? [].concat(existing, hook)
|
|
389
|
-
: [hook]
|
|
471
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
390
472
|
}
|
|
391
473
|
}
|
|
392
474
|
|
package/dock/docksub.umd.js
CHANGED
|
@@ -163,47 +163,131 @@ if (typeof window !== 'undefined') {
|
|
|
163
163
|
// Indicate to webpack that this file can be concatenated
|
|
164
164
|
/* harmony default export */ var setPublicPath = (null);
|
|
165
165
|
|
|
166
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
167
|
-
var render = function () {
|
|
168
|
-
var
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
166
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/dock/DockSub.vue?vue&type=template&id=77d6d77e&
|
|
167
|
+
var render = function render() {
|
|
168
|
+
var _vm = this,
|
|
169
|
+
_c = _vm._self._c;
|
|
170
|
+
|
|
171
|
+
return _c('div', {
|
|
172
|
+
staticClass: "p-dock-list-container"
|
|
173
|
+
}, [_c('ul', {
|
|
174
|
+
ref: "list",
|
|
175
|
+
staticClass: "p-dock-list",
|
|
176
|
+
attrs: {
|
|
177
|
+
"role": "menu"
|
|
178
|
+
},
|
|
179
|
+
on: {
|
|
180
|
+
"mouseleave": _vm.onListMouseLeave
|
|
181
|
+
}
|
|
182
|
+
}, _vm._l(_vm.model, function (item, index) {
|
|
183
|
+
return _c('li', {
|
|
184
|
+
key: index,
|
|
185
|
+
class: _vm.itemClass(index),
|
|
186
|
+
attrs: {
|
|
187
|
+
"role": "none"
|
|
188
|
+
},
|
|
189
|
+
on: {
|
|
190
|
+
"mouseenter": function mouseenter($event) {
|
|
191
|
+
return _vm.onItemMouseEnter(index);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}, [_vm.templates['item'] ? _c('DockSubTemplate', {
|
|
195
|
+
attrs: {
|
|
196
|
+
"item": item,
|
|
197
|
+
"template": _vm.templates['item']
|
|
198
|
+
}
|
|
199
|
+
}) : [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
200
|
+
attrs: {
|
|
201
|
+
"to": item.to,
|
|
202
|
+
"custom": ""
|
|
203
|
+
},
|
|
204
|
+
scopedSlots: _vm._u([{
|
|
205
|
+
key: "default",
|
|
206
|
+
fn: function fn(_ref) {
|
|
207
|
+
var navigate = _ref.navigate,
|
|
208
|
+
href = _ref.href,
|
|
209
|
+
isActive = _ref.isActive,
|
|
210
|
+
isExactActive = _ref.isExactActive;
|
|
211
|
+
return [_c('a', {
|
|
212
|
+
directives: [{
|
|
213
|
+
name: "tooltip",
|
|
214
|
+
rawName: "v-tooltip:[tooltipOptions]",
|
|
215
|
+
value: {
|
|
216
|
+
value: item.label,
|
|
217
|
+
disabled: !_vm.tooltipOptions
|
|
218
|
+
},
|
|
219
|
+
expression: "{value: item.label, disabled: !tooltipOptions}",
|
|
220
|
+
arg: _vm.tooltipOptions
|
|
221
|
+
}],
|
|
222
|
+
class: _vm.linkClass(item, {
|
|
223
|
+
isActive: isActive,
|
|
224
|
+
isExactActive: isExactActive
|
|
225
|
+
}),
|
|
226
|
+
attrs: {
|
|
227
|
+
"href": href,
|
|
228
|
+
"role": "menuitem",
|
|
229
|
+
"target": item.target
|
|
230
|
+
},
|
|
231
|
+
on: {
|
|
232
|
+
"click": function click($event) {
|
|
233
|
+
return _vm.onItemClick($event, item, navigate);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}, [typeof item.icon === 'string' ? [_c('span', {
|
|
237
|
+
directives: [{
|
|
238
|
+
name: "ripple",
|
|
239
|
+
rawName: "v-ripple"
|
|
240
|
+
}],
|
|
241
|
+
class: ['p-dock-action-icon', item.icon]
|
|
242
|
+
})] : _c('DockSubIconTemplate', {
|
|
243
|
+
attrs: {
|
|
244
|
+
"icon": item.icon
|
|
245
|
+
}
|
|
246
|
+
})], 2)];
|
|
247
|
+
}
|
|
248
|
+
}], null, true)
|
|
249
|
+
}) : _c('a', {
|
|
250
|
+
directives: [{
|
|
251
|
+
name: "tooltip",
|
|
252
|
+
rawName: "v-tooltip:[tooltipOptions]",
|
|
253
|
+
value: {
|
|
254
|
+
value: item.label,
|
|
255
|
+
disabled: !_vm.tooltipOptions
|
|
256
|
+
},
|
|
257
|
+
expression: "{value: item.label, disabled: !tooltipOptions}",
|
|
258
|
+
arg: _vm.tooltipOptions
|
|
259
|
+
}],
|
|
260
|
+
class: _vm.linkClass(item),
|
|
261
|
+
attrs: {
|
|
262
|
+
"href": item.url,
|
|
263
|
+
"role": "menuitem",
|
|
264
|
+
"target": item.target,
|
|
265
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
266
|
+
},
|
|
267
|
+
on: {
|
|
268
|
+
"click": function click($event) {
|
|
269
|
+
return _vm.onItemClick($event, item);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}, [typeof item.icon === 'string' ? [_c('span', {
|
|
273
|
+
directives: [{
|
|
274
|
+
name: "ripple",
|
|
275
|
+
rawName: "v-ripple"
|
|
276
|
+
}],
|
|
277
|
+
class: ['p-dock-action-icon', item.icon]
|
|
278
|
+
})] : _c('DockSubIconTemplate', {
|
|
279
|
+
attrs: {
|
|
280
|
+
"icon": item.icon
|
|
281
|
+
}
|
|
282
|
+
})], 2)]], 2);
|
|
283
|
+
}), 0)]);
|
|
284
|
+
};
|
|
174
285
|
|
|
286
|
+
var staticRenderFns = [];
|
|
175
287
|
|
|
176
288
|
// CONCATENATED MODULE: ./src/components/dock/DockSub.vue?vue&type=template&id=77d6d77e&
|
|
177
289
|
|
|
178
290
|
// 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/dock/DockSub.vue?vue&type=script&lang=js&
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
|
-
//
|
|
198
|
-
//
|
|
199
|
-
//
|
|
200
|
-
//
|
|
201
|
-
//
|
|
202
|
-
//
|
|
203
|
-
//
|
|
204
|
-
//
|
|
205
|
-
//
|
|
206
|
-
//
|
|
207
291
|
var DockSubIconTemplate = {
|
|
208
292
|
functional: true,
|
|
209
293
|
props: {
|
|
@@ -312,20 +396,19 @@ var DockSubTemplate = {
|
|
|
312
396
|
// This module is a runtime utility for cleaner component module output and will
|
|
313
397
|
// be included in the final webpack user bundle.
|
|
314
398
|
|
|
315
|
-
function normalizeComponent
|
|
399
|
+
function normalizeComponent(
|
|
316
400
|
scriptExports,
|
|
317
401
|
render,
|
|
318
402
|
staticRenderFns,
|
|
319
403
|
functionalTemplate,
|
|
320
404
|
injectStyles,
|
|
321
405
|
scopeId,
|
|
322
|
-
moduleIdentifier
|
|
406
|
+
moduleIdentifier /* server only */,
|
|
323
407
|
shadowMode /* vue-cli only */
|
|
324
408
|
) {
|
|
325
409
|
// Vue.extend constructor export interop
|
|
326
|
-
var options =
|
|
327
|
-
? scriptExports.options
|
|
328
|
-
: scriptExports
|
|
410
|
+
var options =
|
|
411
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
329
412
|
|
|
330
413
|
// render functions
|
|
331
414
|
if (render) {
|
|
@@ -345,7 +428,8 @@ function normalizeComponent (
|
|
|
345
428
|
}
|
|
346
429
|
|
|
347
430
|
var hook
|
|
348
|
-
if (moduleIdentifier) {
|
|
431
|
+
if (moduleIdentifier) {
|
|
432
|
+
// server build
|
|
349
433
|
hook = function (context) {
|
|
350
434
|
// 2.3 injection
|
|
351
435
|
context =
|
|
@@ -371,11 +455,11 @@ function normalizeComponent (
|
|
|
371
455
|
} else if (injectStyles) {
|
|
372
456
|
hook = shadowMode
|
|
373
457
|
? function () {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
458
|
+
injectStyles.call(
|
|
459
|
+
this,
|
|
460
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
461
|
+
)
|
|
462
|
+
}
|
|
379
463
|
: injectStyles
|
|
380
464
|
}
|
|
381
465
|
|
|
@@ -386,16 +470,14 @@ function normalizeComponent (
|
|
|
386
470
|
options._injectStyles = hook
|
|
387
471
|
// register for functional component in vue file
|
|
388
472
|
var originalRender = options.render
|
|
389
|
-
options.render = function renderWithStyleInjection
|
|
473
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
390
474
|
hook.call(context)
|
|
391
475
|
return originalRender(h, context)
|
|
392
476
|
}
|
|
393
477
|
} else {
|
|
394
478
|
// inject component registration as beforeCreate hook
|
|
395
479
|
var existing = options.beforeCreate
|
|
396
|
-
options.beforeCreate = existing
|
|
397
|
-
? [].concat(existing, hook)
|
|
398
|
-
: [hook]
|
|
480
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
399
481
|
}
|
|
400
482
|
}
|
|
401
483
|
|
package/dock/docksub.umd.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["docksub"]=t():e["docksub"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(o){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(o.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var o;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=o[1]));var i=function(){var e=this,t=e
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["docksub"]=t():e["docksub"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(o){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(o.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var o;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=o[1]));var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"p-dock-list-container"},[t("ul",{ref:"list",staticClass:"p-dock-list",attrs:{role:"menu"},on:{mouseleave:e.onListMouseLeave}},e._l(e.model,(function(n,o){return t("li",{key:o,class:e.itemClass(o),attrs:{role:"none"},on:{mouseenter:function(t){return e.onItemMouseEnter(o)}}},[e.templates["item"]?t("DockSubTemplate",{attrs:{item:n,template:e.templates["item"]}}):[n.to&&!e.disabled(n)?t("router-link",{attrs:{to:n.to,custom:""},scopedSlots:e._u([{key:"default",fn:function(o){var i=o.navigate,r=o.href,l=o.isActive,a=o.isExactActive;return[t("a",{directives:[{name:"tooltip",rawName:"v-tooltip:[tooltipOptions]",value:{value:n.label,disabled:!e.tooltipOptions},expression:"{value: item.label, disabled: !tooltipOptions}",arg:e.tooltipOptions}],class:e.linkClass(n,{isActive:l,isExactActive:a}),attrs:{href:r,role:"menuitem",target:n.target},on:{click:function(t){return e.onItemClick(t,n,i)}}},["string"===typeof n.icon?[t("span",{directives:[{name:"ripple",rawName:"v-ripple"}],class:["p-dock-action-icon",n.icon]})]:t("DockSubIconTemplate",{attrs:{icon:n.icon}})],2)]}}],null,!0)}):t("a",{directives:[{name:"tooltip",rawName:"v-tooltip:[tooltipOptions]",value:{value:n.label,disabled:!e.tooltipOptions},expression:"{value: item.label, disabled: !tooltipOptions}",arg:e.tooltipOptions}],class:e.linkClass(n),attrs:{href:n.url,role:"menuitem",target:n.target,tabindex:e.disabled(n)?null:"0"},on:{click:function(t){return e.onItemClick(t,n)}}},["string"===typeof n.icon?[t("span",{directives:[{name:"ripple",rawName:"v-ripple"}],class:["p-dock-action-icon",n.icon]})]:t("DockSubIconTemplate",{attrs:{icon:n.icon}})],2)]],2)})),0)])},r=[],l={functional:!0,props:{icon:{type:null,default:null}},render:function(e,t){return[t.props["icon"]()]}},a={functional:!0,props:{item:{type:null,default:null},template:{type:null,default:null}},render:function(e,t){var n=t.props.template({item:t.props.item});return[n]}},s={name:"DockSub",props:{model:{type:Array,default:null},templates:{type:null,default:null},tooltipOptions:null,exact:{type:Boolean,default:!0}},data:function(){return{currentIndex:-3}},methods:{onListMouseLeave:function(){this.currentIndex=-3},onItemMouseEnter:function(e){this.currentIndex=e},onItemClick:function(e,t){this.disabled(t)||(t.command&&t.command({originalEvent:e,item:t}),e.preventDefault())},itemClass:function(e){return["p-dock-item",{"p-dock-item-second-prev":this.currentIndex-2===e,"p-dock-item-prev":this.currentIndex-1===e,"p-dock-item-current":this.currentIndex===e,"p-dock-item-next":this.currentIndex+1===e,"p-dock-item-second-next":this.currentIndex+2===e}]},linkClass:function(e,t){return["p-dock-action",{"p-disabled":this.disabled(e),"router-link-active":t&&t.isActive,"router-link-active-exact":this.exact&&t&&t.isExactActive}]},disabled:function(e){return"function"===typeof e.disabled?e.disabled():e.disabled}},components:{DockSubIconTemplate:l,DockSubTemplate:a}},c=s;function u(e,t,n,o,i,r,l,a){var s,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),l?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(l)},c._ssrRegister=s):i&&(s=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(c.functional){c._injectStyles=s;var u=c.render;c.render=function(e,t){return s.call(t),u(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:c}}var p=u(c,i,r,!1,null,null,null),d=p.exports;t["default"]=d}})["default"]}));
|
package/dropdown/Dropdown.vue
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave">
|
|
21
21
|
<div ref="overlay" class="p-dropdown-panel p-component" v-if="overlayVisible">
|
|
22
22
|
<div class="p-dropdown-header" v-if="filter">
|
|
23
|
-
|
|
24
|
-
<input type="text" ref="filterInput"
|
|
23
|
+
<div class="p-dropdown-filter-container">
|
|
24
|
+
<input type="text" ref="filterInput" :value="filterValue" autoComplete="off" class="p-dropdown-filter p-inputtext p-component" :placeholder="filterPlaceholder" @keydown="onFilterKeyDown" @input="onFilterChange"/>
|
|
25
25
|
<span class="p-dropdown-filter-icon pi pi-search"></span>
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
@@ -470,6 +470,7 @@ export default {
|
|
|
470
470
|
}
|
|
471
471
|
},
|
|
472
472
|
onFilterChange(event) {
|
|
473
|
+
this.filterValue = event.target.value;
|
|
473
474
|
this.$emit('filter', {originalEvent: event, value: event.target.value});
|
|
474
475
|
},
|
|
475
476
|
onFilterUpdated() {
|