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
|
@@ -163,34 +163,66 @@ 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/breadcrumb/BreadcrumbItem.vue?vue&type=template&id=71efe75c&
|
|
167
|
+
var render = function render() {
|
|
168
|
+
var _vm = this,
|
|
169
|
+
_c = _vm._self._c;
|
|
170
|
+
|
|
171
|
+
return _vm.visible() ? _c('li', {
|
|
172
|
+
class: _vm.containerClass(_vm.item)
|
|
173
|
+
}, [_vm.item.to ? _c('router-link', {
|
|
174
|
+
attrs: {
|
|
175
|
+
"to": _vm.item.to,
|
|
176
|
+
"custom": ""
|
|
177
|
+
},
|
|
178
|
+
scopedSlots: _vm._u([{
|
|
179
|
+
key: "default",
|
|
180
|
+
fn: function fn(_ref) {
|
|
181
|
+
var navigate = _ref.navigate,
|
|
182
|
+
href = _ref.href,
|
|
183
|
+
isActive = _ref.isActive,
|
|
184
|
+
isExactActive = _ref.isExactActive;
|
|
185
|
+
return [_c('a', {
|
|
186
|
+
class: _vm.linkClass({
|
|
187
|
+
isActive: isActive,
|
|
188
|
+
isExactActive: isExactActive
|
|
189
|
+
}),
|
|
190
|
+
attrs: {
|
|
191
|
+
"href": href
|
|
192
|
+
},
|
|
193
|
+
on: {
|
|
194
|
+
"click": function click($event) {
|
|
195
|
+
return _vm.onClick($event, navigate);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}, [_vm.item.icon ? _c('span', {
|
|
199
|
+
class: _vm.iconClass
|
|
200
|
+
}) : _vm._e(), _vm.item.label ? _c('span', {
|
|
201
|
+
staticClass: "p-menuitem-text"
|
|
202
|
+
}, [_vm._v(_vm._s(_vm.label(_vm.item)))]) : _vm._e()])];
|
|
203
|
+
}
|
|
204
|
+
}], null, false, 1258197796)
|
|
205
|
+
}) : _c('a', {
|
|
206
|
+
class: _vm.linkClass(),
|
|
207
|
+
attrs: {
|
|
208
|
+
"href": _vm.item.url || '#',
|
|
209
|
+
"target": _vm.item.target
|
|
210
|
+
},
|
|
211
|
+
on: {
|
|
212
|
+
"click": _vm.onClick
|
|
213
|
+
}
|
|
214
|
+
}, [_vm.item.icon ? _c('span', {
|
|
215
|
+
class: _vm.iconClass
|
|
216
|
+
}) : _vm._e(), _vm.item.label ? _c('span', {
|
|
217
|
+
staticClass: "p-menuitem-text"
|
|
218
|
+
}, [_vm._v(_vm._s(_vm.label(_vm.item)))]) : _vm._e()])], 1) : _vm._e();
|
|
219
|
+
};
|
|
174
220
|
|
|
221
|
+
var staticRenderFns = [];
|
|
175
222
|
|
|
176
223
|
// CONCATENATED MODULE: ./src/components/breadcrumb/BreadcrumbItem.vue?vue&type=template&id=71efe75c&
|
|
177
224
|
|
|
178
225
|
// 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/breadcrumb/BreadcrumbItem.vue?vue&type=script&lang=js&
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
226
|
/* harmony default export */ var BreadcrumbItemvue_type_script_lang_js_ = ({
|
|
195
227
|
props: {
|
|
196
228
|
item: null,
|
|
@@ -245,20 +277,19 @@ var staticRenderFns = []
|
|
|
245
277
|
// This module is a runtime utility for cleaner component module output and will
|
|
246
278
|
// be included in the final webpack user bundle.
|
|
247
279
|
|
|
248
|
-
function normalizeComponent
|
|
280
|
+
function normalizeComponent(
|
|
249
281
|
scriptExports,
|
|
250
282
|
render,
|
|
251
283
|
staticRenderFns,
|
|
252
284
|
functionalTemplate,
|
|
253
285
|
injectStyles,
|
|
254
286
|
scopeId,
|
|
255
|
-
moduleIdentifier
|
|
287
|
+
moduleIdentifier /* server only */,
|
|
256
288
|
shadowMode /* vue-cli only */
|
|
257
289
|
) {
|
|
258
290
|
// Vue.extend constructor export interop
|
|
259
|
-
var options =
|
|
260
|
-
? scriptExports.options
|
|
261
|
-
: scriptExports
|
|
291
|
+
var options =
|
|
292
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
262
293
|
|
|
263
294
|
// render functions
|
|
264
295
|
if (render) {
|
|
@@ -278,7 +309,8 @@ function normalizeComponent (
|
|
|
278
309
|
}
|
|
279
310
|
|
|
280
311
|
var hook
|
|
281
|
-
if (moduleIdentifier) {
|
|
312
|
+
if (moduleIdentifier) {
|
|
313
|
+
// server build
|
|
282
314
|
hook = function (context) {
|
|
283
315
|
// 2.3 injection
|
|
284
316
|
context =
|
|
@@ -304,11 +336,11 @@ function normalizeComponent (
|
|
|
304
336
|
} else if (injectStyles) {
|
|
305
337
|
hook = shadowMode
|
|
306
338
|
? function () {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
339
|
+
injectStyles.call(
|
|
340
|
+
this,
|
|
341
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
342
|
+
)
|
|
343
|
+
}
|
|
312
344
|
: injectStyles
|
|
313
345
|
}
|
|
314
346
|
|
|
@@ -319,16 +351,14 @@ function normalizeComponent (
|
|
|
319
351
|
options._injectStyles = hook
|
|
320
352
|
// register for functional component in vue file
|
|
321
353
|
var originalRender = options.render
|
|
322
|
-
options.render = function renderWithStyleInjection
|
|
354
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
323
355
|
hook.call(context)
|
|
324
356
|
return originalRender(h, context)
|
|
325
357
|
}
|
|
326
358
|
} else {
|
|
327
359
|
// inject component registration as beforeCreate hook
|
|
328
360
|
var existing = options.beforeCreate
|
|
329
|
-
options.beforeCreate = existing
|
|
330
|
-
? [].concat(existing, hook)
|
|
331
|
-
: [hook]
|
|
361
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
332
362
|
}
|
|
333
363
|
}
|
|
334
364
|
|
|
@@ -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["breadcrumbitem"]=t():e["breadcrumbitem"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.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 i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=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["breadcrumbitem"]=t():e["breadcrumbitem"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.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 i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e._self._c;return e.visible()?t("li",{class:e.containerClass(e.item)},[e.item.to?t("router-link",{attrs:{to:e.item.to,custom:""},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.navigate,r=n.href,o=n.isActive,s=n.isExactActive;return[t("a",{class:e.linkClass({isActive:o,isExactActive:s}),attrs:{href:r},on:{click:function(t){return e.onClick(t,i)}}},[e.item.icon?t("span",{class:e.iconClass}):e._e(),e.item.label?t("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(e.item)))]):e._e()])]}}],null,!1,1258197796)}):t("a",{class:e.linkClass(),attrs:{href:e.item.url||"#",target:e.item.target},on:{click:e.onClick}},[e.item.icon?t("span",{class:e.iconClass}):e._e(),e.item.label?t("span",{staticClass:"p-menuitem-text"},[e._v(e._s(e.label(e.item)))]):e._e()])],1):e._e()},o=[],s={props:{item:null,exact:null},methods:{onClick:function(e,t){this.item.command&&this.item.command({originalEvent:e,item:this.item}),this.item.to&&t&&t(e)},containerClass:function(e){return[{"p-disabled":this.disabled(e)},e.class]},linkClass:function(e){return["p-menuitem-link",{"router-link-active":e&&e.isActive,"router-link-active-exact":this.exact&&e&&e.isExactActive}]},visible:function(){return"function"===typeof this.item.visible?this.item.visible():!1!==this.item.visible},disabled:function(e){return"function"===typeof e.disabled?e.disabled():e.disabled},label:function(){return"function"===typeof this.item.label?this.item.label():this.item.label}},computed:{iconClass:function(){return["p-menuitem-icon",this.item.icon]}}},c=s;function a(e,t,n,i,r,o,s,c){var a,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(a=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=a):r&&(a=c?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(l.functional){l._injectStyles=a;var u=l.render;l.render=function(e,t){return a.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,a):[a]}return{exports:e,options:l}}var l=a(c,r,o,!1,null,null,null),u=l.exports;t["default"]=u}})["default"]}));
|
package/button/Button.d.ts
CHANGED
package/button/Button.vue
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button :class="buttonClass" v-on="$listeners" type="button" v-ripple>
|
|
3
3
|
<slot>
|
|
4
|
+
<span v-if="loading && !icon" :class="iconClass"></span>
|
|
4
5
|
<span v-if="icon" :class="iconClass"></span>
|
|
5
6
|
<span class="p-button-label">{{label||' '}}</span>
|
|
6
7
|
<span class="p-badge" v-if="badge" :class="badgeStyleClass">{{badge}}</span>
|
|
@@ -29,6 +30,14 @@ export default {
|
|
|
29
30
|
badgeClass: {
|
|
30
31
|
type: String,
|
|
31
32
|
default: null
|
|
33
|
+
},
|
|
34
|
+
loading: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
},
|
|
38
|
+
loadingIcon: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: 'pi pi-spinner pi-spin'
|
|
32
41
|
}
|
|
33
42
|
},
|
|
34
43
|
computed: {
|
|
@@ -42,7 +51,7 @@ export default {
|
|
|
42
51
|
},
|
|
43
52
|
iconClass() {
|
|
44
53
|
return [
|
|
45
|
-
this.icon,
|
|
54
|
+
this.loading ? this.loadingIcon : this.icon,
|
|
46
55
|
'p-button-icon',
|
|
47
56
|
{
|
|
48
57
|
'p-button-icon-left': this.iconPos === 'left' && this.label,
|
package/button/button.common.js
CHANGED
|
@@ -2782,12 +2782,37 @@ if (typeof window !== 'undefined') {
|
|
|
2782
2782
|
// Indicate to webpack that this file can be concatenated
|
|
2783
2783
|
/* harmony default export */ var setPublicPath = (null);
|
|
2784
2784
|
|
|
2785
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2786
|
-
var render = function () {
|
|
2787
|
-
var
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2785
|
+
// 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/button/Button.vue?vue&type=template&id=44f787be&
|
|
2786
|
+
var render = function render() {
|
|
2787
|
+
var _vm = this,
|
|
2788
|
+
_c = _vm._self._c;
|
|
2789
|
+
|
|
2790
|
+
return _c('button', _vm._g({
|
|
2791
|
+
directives: [{
|
|
2792
|
+
name: "ripple",
|
|
2793
|
+
rawName: "v-ripple"
|
|
2794
|
+
}],
|
|
2795
|
+
class: _vm.buttonClass,
|
|
2796
|
+
attrs: {
|
|
2797
|
+
"type": "button"
|
|
2798
|
+
}
|
|
2799
|
+
}, _vm.$listeners), [_vm._t("default", function () {
|
|
2800
|
+
return [_vm.loading && !_vm.icon ? _c('span', {
|
|
2801
|
+
class: _vm.iconClass
|
|
2802
|
+
}) : _vm._e(), _vm.icon ? _c('span', {
|
|
2803
|
+
class: _vm.iconClass
|
|
2804
|
+
}) : _vm._e(), _c('span', {
|
|
2805
|
+
staticClass: "p-button-label"
|
|
2806
|
+
}, [_vm._v(_vm._s(_vm.label || ' '))]), _vm.badge ? _c('span', {
|
|
2807
|
+
staticClass: "p-badge",
|
|
2808
|
+
class: _vm.badgeStyleClass
|
|
2809
|
+
}, [_vm._v(_vm._s(_vm.badge))]) : _vm._e()];
|
|
2810
|
+
})], 2);
|
|
2811
|
+
};
|
|
2812
|
+
|
|
2813
|
+
var staticRenderFns = [];
|
|
2814
|
+
|
|
2815
|
+
// CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=44f787be&
|
|
2791
2816
|
|
|
2792
2817
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
2793
2818
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -3507,16 +3532,6 @@ var Ripple = {
|
|
|
3507
3532
|
};
|
|
3508
3533
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3509
3534
|
// 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/button/Button.vue?vue&type=script&lang=js&
|
|
3510
|
-
//
|
|
3511
|
-
//
|
|
3512
|
-
//
|
|
3513
|
-
//
|
|
3514
|
-
//
|
|
3515
|
-
//
|
|
3516
|
-
//
|
|
3517
|
-
//
|
|
3518
|
-
//
|
|
3519
|
-
//
|
|
3520
3535
|
|
|
3521
3536
|
/* harmony default export */ var Buttonvue_type_script_lang_js_ = ({
|
|
3522
3537
|
props: {
|
|
@@ -3536,6 +3551,14 @@ var Ripple = {
|
|
|
3536
3551
|
badgeClass: {
|
|
3537
3552
|
type: String,
|
|
3538
3553
|
default: null
|
|
3554
|
+
},
|
|
3555
|
+
loading: {
|
|
3556
|
+
type: Boolean,
|
|
3557
|
+
default: false
|
|
3558
|
+
},
|
|
3559
|
+
loadingIcon: {
|
|
3560
|
+
type: String,
|
|
3561
|
+
default: 'pi pi-spinner pi-spin'
|
|
3539
3562
|
}
|
|
3540
3563
|
},
|
|
3541
3564
|
computed: {
|
|
@@ -3548,7 +3571,7 @@ var Ripple = {
|
|
|
3548
3571
|
};
|
|
3549
3572
|
},
|
|
3550
3573
|
iconClass: function iconClass() {
|
|
3551
|
-
return [this.icon, 'p-button-icon', {
|
|
3574
|
+
return [this.loading ? this.loadingIcon : this.icon, 'p-button-icon', {
|
|
3552
3575
|
'p-button-icon-left': this.iconPos === 'left' && this.label,
|
|
3553
3576
|
'p-button-icon-right': this.iconPos === 'right' && this.label,
|
|
3554
3577
|
'p-button-icon-top': this.iconPos === 'top' && this.label,
|
|
@@ -3574,20 +3597,19 @@ var Ripple = {
|
|
|
3574
3597
|
// This module is a runtime utility for cleaner component module output and will
|
|
3575
3598
|
// be included in the final webpack user bundle.
|
|
3576
3599
|
|
|
3577
|
-
function normalizeComponent
|
|
3600
|
+
function normalizeComponent(
|
|
3578
3601
|
scriptExports,
|
|
3579
3602
|
render,
|
|
3580
3603
|
staticRenderFns,
|
|
3581
3604
|
functionalTemplate,
|
|
3582
3605
|
injectStyles,
|
|
3583
3606
|
scopeId,
|
|
3584
|
-
moduleIdentifier
|
|
3607
|
+
moduleIdentifier /* server only */,
|
|
3585
3608
|
shadowMode /* vue-cli only */
|
|
3586
3609
|
) {
|
|
3587
3610
|
// Vue.extend constructor export interop
|
|
3588
|
-
var options =
|
|
3589
|
-
? scriptExports.options
|
|
3590
|
-
: scriptExports
|
|
3611
|
+
var options =
|
|
3612
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
3591
3613
|
|
|
3592
3614
|
// render functions
|
|
3593
3615
|
if (render) {
|
|
@@ -3607,7 +3629,8 @@ function normalizeComponent (
|
|
|
3607
3629
|
}
|
|
3608
3630
|
|
|
3609
3631
|
var hook
|
|
3610
|
-
if (moduleIdentifier) {
|
|
3632
|
+
if (moduleIdentifier) {
|
|
3633
|
+
// server build
|
|
3611
3634
|
hook = function (context) {
|
|
3612
3635
|
// 2.3 injection
|
|
3613
3636
|
context =
|
|
@@ -3633,11 +3656,11 @@ function normalizeComponent (
|
|
|
3633
3656
|
} else if (injectStyles) {
|
|
3634
3657
|
hook = shadowMode
|
|
3635
3658
|
? function () {
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3659
|
+
injectStyles.call(
|
|
3660
|
+
this,
|
|
3661
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
3662
|
+
)
|
|
3663
|
+
}
|
|
3641
3664
|
: injectStyles
|
|
3642
3665
|
}
|
|
3643
3666
|
|
|
@@ -3648,16 +3671,14 @@ function normalizeComponent (
|
|
|
3648
3671
|
options._injectStyles = hook
|
|
3649
3672
|
// register for functional component in vue file
|
|
3650
3673
|
var originalRender = options.render
|
|
3651
|
-
options.render = function renderWithStyleInjection
|
|
3674
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
3652
3675
|
hook.call(context)
|
|
3653
3676
|
return originalRender(h, context)
|
|
3654
3677
|
}
|
|
3655
3678
|
} else {
|
|
3656
3679
|
// inject component registration as beforeCreate hook
|
|
3657
3680
|
var existing = options.beforeCreate
|
|
3658
|
-
options.beforeCreate = existing
|
|
3659
|
-
? [].concat(existing, hook)
|
|
3660
|
-
: [hook]
|
|
3681
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
3661
3682
|
}
|
|
3662
3683
|
}
|
|
3663
3684
|
|
package/button/button.umd.js
CHANGED
|
@@ -2791,12 +2791,37 @@ if (typeof window !== 'undefined') {
|
|
|
2791
2791
|
// Indicate to webpack that this file can be concatenated
|
|
2792
2792
|
/* harmony default export */ var setPublicPath = (null);
|
|
2793
2793
|
|
|
2794
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2795
|
-
var render = function () {
|
|
2796
|
-
var
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2794
|
+
// 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/button/Button.vue?vue&type=template&id=44f787be&
|
|
2795
|
+
var render = function render() {
|
|
2796
|
+
var _vm = this,
|
|
2797
|
+
_c = _vm._self._c;
|
|
2798
|
+
|
|
2799
|
+
return _c('button', _vm._g({
|
|
2800
|
+
directives: [{
|
|
2801
|
+
name: "ripple",
|
|
2802
|
+
rawName: "v-ripple"
|
|
2803
|
+
}],
|
|
2804
|
+
class: _vm.buttonClass,
|
|
2805
|
+
attrs: {
|
|
2806
|
+
"type": "button"
|
|
2807
|
+
}
|
|
2808
|
+
}, _vm.$listeners), [_vm._t("default", function () {
|
|
2809
|
+
return [_vm.loading && !_vm.icon ? _c('span', {
|
|
2810
|
+
class: _vm.iconClass
|
|
2811
|
+
}) : _vm._e(), _vm.icon ? _c('span', {
|
|
2812
|
+
class: _vm.iconClass
|
|
2813
|
+
}) : _vm._e(), _c('span', {
|
|
2814
|
+
staticClass: "p-button-label"
|
|
2815
|
+
}, [_vm._v(_vm._s(_vm.label || ' '))]), _vm.badge ? _c('span', {
|
|
2816
|
+
staticClass: "p-badge",
|
|
2817
|
+
class: _vm.badgeStyleClass
|
|
2818
|
+
}, [_vm._v(_vm._s(_vm.badge))]) : _vm._e()];
|
|
2819
|
+
})], 2);
|
|
2820
|
+
};
|
|
2821
|
+
|
|
2822
|
+
var staticRenderFns = [];
|
|
2823
|
+
|
|
2824
|
+
// CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=44f787be&
|
|
2800
2825
|
|
|
2801
2826
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
2802
2827
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -3516,16 +3541,6 @@ var Ripple = {
|
|
|
3516
3541
|
};
|
|
3517
3542
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3518
3543
|
// 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/button/Button.vue?vue&type=script&lang=js&
|
|
3519
|
-
//
|
|
3520
|
-
//
|
|
3521
|
-
//
|
|
3522
|
-
//
|
|
3523
|
-
//
|
|
3524
|
-
//
|
|
3525
|
-
//
|
|
3526
|
-
//
|
|
3527
|
-
//
|
|
3528
|
-
//
|
|
3529
3544
|
|
|
3530
3545
|
/* harmony default export */ var Buttonvue_type_script_lang_js_ = ({
|
|
3531
3546
|
props: {
|
|
@@ -3545,6 +3560,14 @@ var Ripple = {
|
|
|
3545
3560
|
badgeClass: {
|
|
3546
3561
|
type: String,
|
|
3547
3562
|
default: null
|
|
3563
|
+
},
|
|
3564
|
+
loading: {
|
|
3565
|
+
type: Boolean,
|
|
3566
|
+
default: false
|
|
3567
|
+
},
|
|
3568
|
+
loadingIcon: {
|
|
3569
|
+
type: String,
|
|
3570
|
+
default: 'pi pi-spinner pi-spin'
|
|
3548
3571
|
}
|
|
3549
3572
|
},
|
|
3550
3573
|
computed: {
|
|
@@ -3557,7 +3580,7 @@ var Ripple = {
|
|
|
3557
3580
|
};
|
|
3558
3581
|
},
|
|
3559
3582
|
iconClass: function iconClass() {
|
|
3560
|
-
return [this.icon, 'p-button-icon', {
|
|
3583
|
+
return [this.loading ? this.loadingIcon : this.icon, 'p-button-icon', {
|
|
3561
3584
|
'p-button-icon-left': this.iconPos === 'left' && this.label,
|
|
3562
3585
|
'p-button-icon-right': this.iconPos === 'right' && this.label,
|
|
3563
3586
|
'p-button-icon-top': this.iconPos === 'top' && this.label,
|
|
@@ -3583,20 +3606,19 @@ var Ripple = {
|
|
|
3583
3606
|
// This module is a runtime utility for cleaner component module output and will
|
|
3584
3607
|
// be included in the final webpack user bundle.
|
|
3585
3608
|
|
|
3586
|
-
function normalizeComponent
|
|
3609
|
+
function normalizeComponent(
|
|
3587
3610
|
scriptExports,
|
|
3588
3611
|
render,
|
|
3589
3612
|
staticRenderFns,
|
|
3590
3613
|
functionalTemplate,
|
|
3591
3614
|
injectStyles,
|
|
3592
3615
|
scopeId,
|
|
3593
|
-
moduleIdentifier
|
|
3616
|
+
moduleIdentifier /* server only */,
|
|
3594
3617
|
shadowMode /* vue-cli only */
|
|
3595
3618
|
) {
|
|
3596
3619
|
// Vue.extend constructor export interop
|
|
3597
|
-
var options =
|
|
3598
|
-
? scriptExports.options
|
|
3599
|
-
: scriptExports
|
|
3620
|
+
var options =
|
|
3621
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
3600
3622
|
|
|
3601
3623
|
// render functions
|
|
3602
3624
|
if (render) {
|
|
@@ -3616,7 +3638,8 @@ function normalizeComponent (
|
|
|
3616
3638
|
}
|
|
3617
3639
|
|
|
3618
3640
|
var hook
|
|
3619
|
-
if (moduleIdentifier) {
|
|
3641
|
+
if (moduleIdentifier) {
|
|
3642
|
+
// server build
|
|
3620
3643
|
hook = function (context) {
|
|
3621
3644
|
// 2.3 injection
|
|
3622
3645
|
context =
|
|
@@ -3642,11 +3665,11 @@ function normalizeComponent (
|
|
|
3642
3665
|
} else if (injectStyles) {
|
|
3643
3666
|
hook = shadowMode
|
|
3644
3667
|
? function () {
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3668
|
+
injectStyles.call(
|
|
3669
|
+
this,
|
|
3670
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
3671
|
+
)
|
|
3672
|
+
}
|
|
3650
3673
|
: injectStyles
|
|
3651
3674
|
}
|
|
3652
3675
|
|
|
@@ -3657,16 +3680,14 @@ function normalizeComponent (
|
|
|
3657
3680
|
options._injectStyles = hook
|
|
3658
3681
|
// register for functional component in vue file
|
|
3659
3682
|
var originalRender = options.render
|
|
3660
|
-
options.render = function renderWithStyleInjection
|
|
3683
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
3661
3684
|
hook.call(context)
|
|
3662
3685
|
return originalRender(h, context)
|
|
3663
3686
|
}
|
|
3664
3687
|
} else {
|
|
3665
3688
|
// inject component registration as beforeCreate hook
|
|
3666
3689
|
var existing = options.beforeCreate
|
|
3667
|
-
options.beforeCreate = existing
|
|
3668
|
-
? [].concat(existing, hook)
|
|
3669
|
-
: [hook]
|
|
3690
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
3670
3691
|
}
|
|
3671
3692
|
}
|
|
3672
3693
|
|