primevue 2.9.2 → 2.10.1
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/README.md +150 -3
- package/accordion/accordion.common.js +66 -72
- package/accordion/accordion.umd.js +66 -72
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/accordiontab.common.js +73 -103
- package/accordiontab/accordiontab.umd.js +73 -103
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/api/Api.d.ts +24 -2
- package/api/Api.js +0 -6
- package/api/FilterService.js +2 -55
- package/api/PrimeIcons.js +24 -2
- package/api/api.common.js +35 -98
- package/api/api.umd.js +35 -98
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +11 -96
- package/api/filterservice.umd.js +11 -96
- package/api/primeicons.common.js +24 -2
- package/api/primeicons.umd.js +24 -2
- package/api/primeicons.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +241 -293
- package/autocomplete/autocomplete.umd.js +241 -293
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +64 -61
- package/avatar/avatar.umd.js +64 -61
- package/avatar/avatar.umd.min.js +1 -1
- package/avatargroup/avatargroup.common.js +44 -47
- package/avatargroup/avatargroup.umd.js +44 -47
- package/avatargroup/avatargroup.umd.min.js +1 -1
- package/badge/badge.common.js +22 -23
- package/badge/badge.umd.js +22 -23
- package/badge/badge.umd.min.js +1 -1
- package/badgedirective/BadgeDirective.js +0 -13
- package/badgedirective/badgedirective.common.js +13 -71
- package/badgedirective/badgedirective.umd.js +13 -71
- package/blockui/blockui.common.js +79 -138
- package/blockui/blockui.umd.js +79 -138
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +130 -90
- package/breadcrumb/breadcrumb.umd.js +130 -90
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +67 -40
- package/breadcrumb/breadcrumbitem.umd.js +67 -40
- 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 +64 -109
- package/button/button.umd.js +64 -109
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +7 -3
- package/calendar/calendar.common.js +714 -721
- package/calendar/calendar.umd.js +714 -721
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +59 -62
- package/card/card.umd.js +59 -62
- package/card/card.umd.min.js +1 -1
- package/carousel/carousel.common.js +190 -231
- package/carousel/carousel.umd.js +190 -231
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +230 -294
- package/cascadeselect/cascadeselect.umd.js +230 -294
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +101 -183
- package/cascadeselect/cascadeselectsub.umd.js +101 -183
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +4 -3
- package/chart/chart.common.js +77 -74
- package/chart/chart.umd.js +77 -74
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/checkbox.common.js +70 -87
- package/checkbox/checkbox.umd.js +70 -87
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +66 -52
- package/chip/chip.umd.js +66 -52
- package/chip/chip.umd.min.js +1 -1
- package/chips/chips.common.js +122 -96
- package/chips/chips.umd.js +122 -96
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +149 -193
- package/colorpicker/colorpicker.umd.js +149 -193
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/column.common.js +13 -15
- package/column/column.umd.js +13 -15
- package/columngroup/columngroup.common.js +20 -25
- package/columngroup/columngroup.umd.js +20 -25
- package/columngroup/columngroup.umd.min.js +1 -1
- package/config/PrimeVue.js +0 -5
- package/config/primevue.common.js +35 -102
- package/config/primevue.umd.js +35 -102
- package/config/primevue.umd.min.js +1 -1
- package/confirmationeventbus/ConfirmationEventBus.js +0 -4
- package/confirmationeventbus/confirmationeventbus.common.js +0 -2
- package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
- package/confirmationservice/ConfirmationService.js +0 -3
- package/confirmationservice/confirmationservice.common.js +0 -2
- package/confirmationservice/confirmationservice.umd.js +0 -2
- package/confirmdialog/confirmdialog.common.js +247 -218
- package/confirmdialog/confirmdialog.umd.js +247 -218
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +154 -196
- package/confirmpopup/confirmpopup.umd.js +154 -196
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +216 -206
- package/contextmenu/contextmenu.umd.js +216 -206
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +138 -134
- package/contextmenu/contextmenusub.umd.js +138 -134
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/contextmenu/demo.html +3 -4
- package/datatable/BodyCell.vue +11 -2
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/DataTable.vue +2 -12
- package/datatable/HeaderCheckbox.vue +5 -8
- package/datatable/bodycell.common.js +283 -246
- package/datatable/bodycell.umd.js +283 -246
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +516 -422
- package/datatable/columnfilter.umd.js +516 -422
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/columnslot.common.js +13 -15
- package/datatable/columnslot.umd.js +13 -15
- package/datatable/datatable.common.js +2250 -1551
- package/datatable/datatable.umd.js +2250 -1551
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/footercell.common.js +56 -142
- package/datatable/footercell.umd.js +56 -142
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +666 -483
- package/datatable/headercell.umd.js +666 -483
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +59 -33
- package/datatable/headercheckbox.umd.js +59 -33
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +61 -30
- package/datatable/rowcheckbox.umd.js +61 -30
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +54 -27
- package/datatable/rowradiobutton.umd.js +54 -27
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +461 -321
- package/datatable/tablebody.umd.js +461 -321
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +94 -175
- package/datatable/tablefooter.umd.js +94 -175
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +872 -539
- package/datatable/tableheader.umd.js +872 -539
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +36 -29
- package/datatable/tableloadingbody.umd.js +36 -29
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +851 -720
- package/dataview/dataview.umd.js +851 -720
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +46 -30
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +46 -30
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
- package/deferredcontent/deferredcontent.common.js +22 -28
- package/deferredcontent/deferredcontent.umd.js +22 -28
- package/deferredcontent/deferredcontent.umd.min.js +1 -1
- package/dialog/dialog.common.js +152 -179
- package/dialog/dialog.umd.js +152 -179
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +49 -49
- package/divider/divider.umd.js +49 -49
- package/divider/divider.umd.min.js +1 -1
- package/dock/dock.common.js +179 -95
- package/dock/dock.umd.js +179 -95
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +132 -54
- package/dock/docksub.umd.js +132 -54
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/dropdown.common.js +233 -289
- package/dropdown/dropdown.umd.js +233 -289
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +194 -104
- package/editor/editor.umd.js +194 -104
- package/editor/editor.umd.min.js +3 -3
- package/fieldset/fieldset.common.js +133 -165
- package/fieldset/fieldset.umd.js +133 -165
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/fileupload.common.js +431 -373
- package/fileupload/fileupload.umd.js +431 -373
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +75 -64
- package/fullcalendar/fullcalendar.umd.js +75 -64
- package/fullcalendar/fullcalendar.umd.min.js +4 -18
- package/galleria/galleria.common.js +403 -299
- package/galleria/galleria.umd.js +403 -299
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +324 -235
- package/galleria/galleriacontent.umd.js +324 -235
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +127 -135
- package/galleria/galleriaitem.umd.js +127 -135
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +17 -25
- package/galleria/galleriaitemslot.umd.js +17 -25
- package/galleria/galleriathumbnails.common.js +125 -171
- package/galleria/galleriathumbnails.umd.js +125 -171
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +174 -163
- package/imagepreview/imagepreview.umd.js +174 -163
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +61 -57
- package/inlinemessage/inlinemessage.umd.js +61 -57
- package/inlinemessage/inlinemessage.umd.min.js +1 -1
- package/inplace/inplace.common.js +139 -170
- package/inplace/inplace.umd.js +139 -170
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +51 -174
- package/inputmask/inputmask.umd.js +51 -174
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +6 -3
- package/inputnumber/inputnumber.common.js +205 -293
- package/inputnumber/inputnumber.umd.js +205 -293
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +219 -37
- package/inputswitch/inputswitch.umd.js +219 -37
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +27 -28
- package/inputtext/inputtext.umd.js +27 -28
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +102 -74
- package/knob/knob.umd.js +102 -74
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +163 -237
- package/listbox/listbox.umd.js +163 -237
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -2
- package/megamenu/megamenu.common.js +273 -230
- package/megamenu/megamenu.umd.js +273 -230
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +201 -203
- package/menu/menu.umd.js +201 -203
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +95 -116
- package/menu/menuitem.umd.js +95 -116
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/menubar.common.js +223 -214
- package/menubar/menubar.umd.js +223 -214
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +142 -149
- package/menubar/menubarsub.umd.js +142 -149
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +108 -157
- package/message/message.umd.js +108 -157
- package/message/message.umd.min.js +1 -1
- package/multiselect/multiselect.common.js +291 -315
- package/multiselect/multiselect.umd.js +291 -315
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/orderlist.common.js +206 -263
- package/orderlist/orderlist.umd.js +206 -263
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +188 -190
- package/organizationchart/organizationchart.umd.js +188 -190
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +122 -124
- package/organizationchart/organizationchartnode.umd.js +122 -124
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlayeventbus/OverlayEventBus.js +0 -4
- package/overlayeventbus/overlayeventbus.common.js +0 -2
- package/overlayeventbus/overlayeventbus.umd.js +0 -2
- package/overlaypanel/overlaypanel.common.js +108 -176
- package/overlaypanel/overlaypanel.umd.js +108 -176
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +3 -3
- package/paginator/currentpagereport.common.js +22 -22
- package/paginator/currentpagereport.umd.js +22 -22
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/firstpagelink.common.js +44 -102
- package/paginator/firstpagelink.umd.js +44 -102
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +254 -300
- package/paginator/jumptopagedropdown.umd.js +254 -300
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +225 -303
- package/paginator/jumptopageinput.umd.js +225 -303
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +44 -102
- package/paginator/lastpagelink.umd.js +44 -102
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +44 -102
- package/paginator/nextpagelink.umd.js +44 -102
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +54 -102
- package/paginator/pagelinks.umd.js +54 -102
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +741 -654
- package/paginator/paginator.umd.js +741 -654
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +44 -102
- package/paginator/prevpagelink.umd.js +44 -102
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +253 -300
- package/paginator/rowsperpagedropdown.umd.js +253 -300
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +129 -164
- package/panel/panel.umd.js +129 -164
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +235 -129
- package/panelmenu/panelmenu.umd.js +235 -129
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +110 -55
- package/panelmenu/panelmenusub.umd.js +110 -55
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/Password.vue +64 -14
- package/password/password.common.js +243 -239
- package/password/password.umd.js +243 -239
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +332 -323
- package/picklist/picklist.umd.js +332 -323
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +83 -76
- package/progressbar/progressbar.umd.js +83 -76
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +545 -45
- package/progressspinner/progressspinner.umd.js +545 -45
- package/progressspinner/progressspinner.umd.min.js +1 -1
- package/radiobutton/radiobutton.common.js +68 -83
- package/radiobutton/radiobutton.umd.js +68 -83
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +92 -68
- package/rating/rating.umd.js +92 -68
- package/rating/rating.umd.min.js +1 -1
- package/ripple/Ripple.js +0 -18
- package/ripple/ripple.common.js +13 -77
- package/ripple/ripple.umd.js +13 -77
- package/row/row.common.js +20 -25
- package/row/row.umd.js +20 -25
- package/row/row.umd.min.js +1 -1
- package/scrollpanel/scrollpanel.common.js +103 -154
- package/scrollpanel/scrollpanel.umd.js +103 -154
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +90 -132
- package/scrolltop/scrolltop.umd.js +90 -132
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +91 -171
- package/selectbutton/selectbutton.umd.js +91 -171
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.d.ts +1 -0
- package/sidebar/Sidebar.vue +3 -0
- package/sidebar/sidebar.common.js +115 -166
- package/sidebar/sidebar.umd.js +115 -166
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +57 -57
- package/skeleton/skeleton.umd.js +57 -57
- package/skeleton/skeleton.umd.min.js +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/slider.common.js +175 -166
- package/slider/slider.umd.js +175 -166
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.common.js +186 -204
- package/speeddial/speeddial.umd.js +186 -204
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +327 -279
- package/splitbutton/splitbutton.umd.js +327 -279
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +70 -143
- package/splitter/splitter.umd.js +70 -143
- 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 +112 -77
- package/steps/steps.umd.js +112 -77
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.js +0 -43
- package/styleclass/styleclass.common.js +13 -99
- package/styleclass/styleclass.umd.js +13 -99
- package/tabmenu/tabmenu.common.js +139 -165
- package/tabmenu/tabmenu.umd.js +139 -165
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +31 -26
- package/tabpanel/tabpanel.umd.js +31 -26
- package/tabpanel/tabpanel.umd.min.js +1 -1
- package/tabview/tabview.common.js +178 -220
- package/tabview/tabview.umd.js +178 -220
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +59 -59
- package/tag/tag.umd.js +59 -59
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +96 -68
- package/terminal/terminal.umd.js +96 -68
- package/terminal/terminal.umd.min.js +1 -1
- package/terminalservice/TerminalService.js +0 -3
- package/textarea/Textarea.vue +24 -1
- package/textarea/textarea.common.js +2083 -91
- package/textarea/textarea.umd.js +2083 -91
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/demo.html +3 -4
- package/tieredmenu/tieredmenu.common.js +214 -219
- package/tieredmenu/tieredmenu.umd.js +214 -219
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +142 -145
- package/tieredmenu/tieredmenusub.umd.js +142 -145
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +101 -134
- package/timeline/timeline.umd.js +101 -134
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +145 -182
- package/toast/toast.umd.js +145 -182
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +70 -115
- package/toast/toastmessage.umd.js +70 -115
- package/toast/toastmessage.umd.min.js +1 -1
- package/toastservice/ToastEventBus.js +0 -3
- package/toastservice/ToastService.js +0 -3
- package/togglebutton/togglebutton.common.js +54 -103
- package/togglebutton/togglebutton.umd.js +54 -103
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +46 -47
- package/toolbar/toolbar.umd.js +46 -47
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.js +4 -84
- package/tooltip/tooltip.common.js +17 -133
- package/tooltip/tooltip.umd.js +17 -133
- package/tree/tree.common.js +227 -316
- package/tree/tree.umd.js +227 -316
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +108 -158
- package/tree/treenode.umd.js +108 -158
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/footercell.common.js +49 -141
- package/treetable/footercell.umd.js +49 -141
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +68 -153
- package/treetable/headercell.umd.js +68 -153
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +1086 -1044
- package/treetable/treetable.umd.js +1086 -1044
- 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 +113 -194
- package/treetable/treetablerow.umd.js +113 -194
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +115 -214
- package/treetable/treetablerowloader.umd.js +115 -214
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +59 -38
- package/tristatecheckbox/tristatecheckbox.umd.js +59 -38
- package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
- package/utils/ConnectedOverlayScrollHandler.js +0 -12
- package/utils/DomHandler.js +13 -61
- package/utils/EventBus.js +0 -3
- package/utils/ObjectUtils.js +9 -51
- package/utils/UniqueComponentId.js +0 -1
- package/utils/Utils.js +0 -6
- package/utils/connectedoverlayscrollhandler.common.js +13 -70
- package/utils/connectedoverlayscrollhandler.umd.js +13 -70
- package/utils/domhandler.common.js +13 -63
- package/utils/domhandler.umd.js +13 -63
- package/utils/eventbus.common.js +0 -2
- package/utils/eventbus.umd.js +0 -2
- package/utils/objectutils.common.js +9 -52
- package/utils/objectutils.umd.js +9 -52
- package/utils/utils.common.js +22 -119
- package/utils/utils.umd.js +22 -119
- package/vetur-attributes.json +8 -0
- package/vetur-tags.json +3 -1
- package/web-types.json +28 -1
package/button/button.common.js
CHANGED
|
@@ -2782,12 +2782,35 @@ 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":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./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
|
+
return _c('button', _vm._g({
|
|
2790
|
+
directives: [{
|
|
2791
|
+
name: "ripple",
|
|
2792
|
+
rawName: "v-ripple"
|
|
2793
|
+
}],
|
|
2794
|
+
class: _vm.buttonClass,
|
|
2795
|
+
attrs: {
|
|
2796
|
+
"type": "button"
|
|
2797
|
+
}
|
|
2798
|
+
}, _vm.$listeners), [_vm._t("default", function () {
|
|
2799
|
+
return [_vm.loading && !_vm.icon ? _c('span', {
|
|
2800
|
+
class: _vm.iconClass
|
|
2801
|
+
}) : _vm._e(), _vm.icon ? _c('span', {
|
|
2802
|
+
class: _vm.iconClass
|
|
2803
|
+
}) : _vm._e(), _c('span', {
|
|
2804
|
+
staticClass: "p-button-label"
|
|
2805
|
+
}, [_vm._v(_vm._s(_vm.label || ' '))]), _vm.badge ? _c('span', {
|
|
2806
|
+
staticClass: "p-badge",
|
|
2807
|
+
class: _vm.badgeStyleClass
|
|
2808
|
+
}, [_vm._v(_vm._s(_vm.badge))]) : _vm._e()];
|
|
2809
|
+
})], 2);
|
|
2810
|
+
};
|
|
2811
|
+
var staticRenderFns = [];
|
|
2812
|
+
|
|
2813
|
+
// CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=44f787be&
|
|
2791
2814
|
|
|
2792
2815
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
2793
2816
|
var es7_symbol_async_iterator = __webpack_require__("ac4d");
|
|
@@ -2831,26 +2854,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
2831
2854
|
|
|
2832
2855
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
2833
2856
|
|
|
2834
|
-
|
|
2835
2857
|
function _defineProperties(target, props) {
|
|
2836
2858
|
for (var i = 0; i < props.length; i++) {
|
|
2837
2859
|
var descriptor = props[i];
|
|
2838
2860
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
2839
2861
|
descriptor.configurable = true;
|
|
2840
2862
|
if ("value" in descriptor) descriptor.writable = true;
|
|
2841
|
-
|
|
2842
2863
|
define_property_default()(target, descriptor.key, descriptor);
|
|
2843
2864
|
}
|
|
2844
2865
|
}
|
|
2845
|
-
|
|
2846
2866
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
2847
2867
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
2848
2868
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
2849
|
-
|
|
2850
2869
|
define_property_default()(Constructor, "prototype", {
|
|
2851
2870
|
writable: false
|
|
2852
2871
|
});
|
|
2853
|
-
|
|
2854
2872
|
return Constructor;
|
|
2855
2873
|
}
|
|
2856
2874
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -2866,18 +2884,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
2866
2884
|
|
|
2867
2885
|
|
|
2868
2886
|
|
|
2869
|
-
|
|
2870
2887
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
2871
|
-
|
|
2872
2888
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
2873
|
-
|
|
2874
2889
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
2875
|
-
|
|
2876
2890
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
2877
2891
|
function DomHandler() {
|
|
2878
2892
|
_classCallCheck(this, DomHandler);
|
|
2879
2893
|
}
|
|
2880
|
-
|
|
2881
2894
|
_createClass(DomHandler, null, [{
|
|
2882
2895
|
key: "innerWidth",
|
|
2883
2896
|
value: function innerWidth(el) {
|
|
@@ -2911,12 +2924,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2911
2924
|
value: function getOuterWidth(el, margin) {
|
|
2912
2925
|
if (el) {
|
|
2913
2926
|
var width = el.offsetWidth;
|
|
2914
|
-
|
|
2915
2927
|
if (margin) {
|
|
2916
2928
|
var style = getComputedStyle(el);
|
|
2917
2929
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
2918
2930
|
}
|
|
2919
|
-
|
|
2920
2931
|
return width;
|
|
2921
2932
|
} else {
|
|
2922
2933
|
return 0;
|
|
@@ -2927,12 +2938,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2927
2938
|
value: function getOuterHeight(el, margin) {
|
|
2928
2939
|
if (el) {
|
|
2929
2940
|
var height = el.offsetHeight;
|
|
2930
|
-
|
|
2931
2941
|
if (margin) {
|
|
2932
2942
|
var style = getComputedStyle(el);
|
|
2933
2943
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
2934
2944
|
}
|
|
2935
|
-
|
|
2936
2945
|
return height;
|
|
2937
2946
|
} else {
|
|
2938
2947
|
return 0;
|
|
@@ -2943,12 +2952,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2943
2952
|
value: function getClientHeight(el, margin) {
|
|
2944
2953
|
if (el) {
|
|
2945
2954
|
var height = el.clientHeight;
|
|
2946
|
-
|
|
2947
2955
|
if (margin) {
|
|
2948
2956
|
var style = getComputedStyle(el);
|
|
2949
2957
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
2950
2958
|
}
|
|
2951
|
-
|
|
2952
2959
|
return height;
|
|
2953
2960
|
} else {
|
|
2954
2961
|
return 0;
|
|
@@ -2958,11 +2965,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2958
2965
|
key: "getViewport",
|
|
2959
2966
|
value: function getViewport() {
|
|
2960
2967
|
var win = window,
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2968
|
+
d = document,
|
|
2969
|
+
e = d.documentElement,
|
|
2970
|
+
g = d.getElementsByTagName('body')[0],
|
|
2971
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
2972
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
2966
2973
|
return {
|
|
2967
2974
|
width: w,
|
|
2968
2975
|
height: h
|
|
@@ -2993,12 +3000,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2993
3000
|
value: function index(element) {
|
|
2994
3001
|
var children = element.parentNode.childNodes;
|
|
2995
3002
|
var num = 0;
|
|
2996
|
-
|
|
2997
3003
|
for (var i = 0; i < children.length; i++) {
|
|
2998
3004
|
if (children[i] === element) return num;
|
|
2999
3005
|
if (children[i].nodeType === 1) num++;
|
|
3000
3006
|
}
|
|
3001
|
-
|
|
3002
3007
|
return -1;
|
|
3003
3008
|
}
|
|
3004
3009
|
}, {
|
|
@@ -3006,13 +3011,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3006
3011
|
value: function addMultipleClasses(element, className) {
|
|
3007
3012
|
if (element.classList) {
|
|
3008
3013
|
var styles = className.split(' ');
|
|
3009
|
-
|
|
3010
3014
|
for (var i = 0; i < styles.length; i++) {
|
|
3011
3015
|
element.classList.add(styles[i]);
|
|
3012
3016
|
}
|
|
3013
3017
|
} else {
|
|
3014
3018
|
var _styles = className.split(' ');
|
|
3015
|
-
|
|
3016
3019
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3017
3020
|
element.className += ' ' + _styles[_i];
|
|
3018
3021
|
}
|
|
@@ -3034,7 +3037,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3034
3037
|
if (element) {
|
|
3035
3038
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3036
3039
|
}
|
|
3037
|
-
|
|
3038
3040
|
return false;
|
|
3039
3041
|
}
|
|
3040
3042
|
}, {
|
|
@@ -3079,11 +3081,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3079
3081
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3080
3082
|
var viewport = this.getViewport();
|
|
3081
3083
|
var top, left;
|
|
3082
|
-
|
|
3083
3084
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3084
3085
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3085
3086
|
element.style.transformOrigin = 'bottom';
|
|
3086
|
-
|
|
3087
3087
|
if (top < 0) {
|
|
3088
3088
|
top = windowScrollTop;
|
|
3089
3089
|
}
|
|
@@ -3091,7 +3091,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3091
3091
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3092
3092
|
element.style.transformOrigin = 'top';
|
|
3093
3093
|
}
|
|
3094
|
-
|
|
3095
3094
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3096
3095
|
element.style.top = top + 'px';
|
|
3097
3096
|
element.style.left = left + 'px';
|
|
@@ -3107,11 +3106,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3107
3106
|
var targetOffset = target.getBoundingClientRect();
|
|
3108
3107
|
var viewport = this.getViewport();
|
|
3109
3108
|
var top, left;
|
|
3110
|
-
|
|
3111
3109
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3112
3110
|
top = -1 * elementDimensions.height;
|
|
3113
3111
|
element.style.transformOrigin = 'bottom';
|
|
3114
|
-
|
|
3115
3112
|
if (targetOffset.top + top < 0) {
|
|
3116
3113
|
top = -1 * targetOffset.top;
|
|
3117
3114
|
}
|
|
@@ -3119,7 +3116,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3119
3116
|
top = targetHeight;
|
|
3120
3117
|
element.style.transformOrigin = 'top';
|
|
3121
3118
|
}
|
|
3122
|
-
|
|
3123
3119
|
if (elementDimensions.width > viewport.width) {
|
|
3124
3120
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3125
3121
|
left = targetOffset.left * -1;
|
|
@@ -3130,7 +3126,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3130
3126
|
// element fits on screen (align with target)
|
|
3131
3127
|
left = 0;
|
|
3132
3128
|
}
|
|
3133
|
-
|
|
3134
3129
|
element.style.top = top + 'px';
|
|
3135
3130
|
element.style.left = left + 'px';
|
|
3136
3131
|
}
|
|
@@ -3144,35 +3139,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3144
3139
|
key: "getScrollableParents",
|
|
3145
3140
|
value: function getScrollableParents(element) {
|
|
3146
3141
|
var scrollableParents = [];
|
|
3147
|
-
|
|
3148
3142
|
if (element) {
|
|
3149
3143
|
var parents = this.getParents(element);
|
|
3150
3144
|
var overflowRegex = /(auto|scroll)/;
|
|
3151
|
-
|
|
3152
3145
|
var overflowCheck = function overflowCheck(node) {
|
|
3153
3146
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3154
3147
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3155
3148
|
};
|
|
3156
|
-
|
|
3157
3149
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3158
|
-
|
|
3159
|
-
|
|
3150
|
+
_step;
|
|
3160
3151
|
try {
|
|
3161
3152
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3162
3153
|
var parent = _step.value;
|
|
3163
3154
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3164
|
-
|
|
3165
3155
|
if (scrollSelectors) {
|
|
3166
3156
|
var selectors = scrollSelectors.split(',');
|
|
3167
|
-
|
|
3168
3157
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3169
|
-
|
|
3170
|
-
|
|
3158
|
+
_step2;
|
|
3171
3159
|
try {
|
|
3172
3160
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3173
3161
|
var selector = _step2.value;
|
|
3174
3162
|
var el = this.findSingle(parent, selector);
|
|
3175
|
-
|
|
3176
3163
|
if (el && overflowCheck(el)) {
|
|
3177
3164
|
scrollableParents.push(el);
|
|
3178
3165
|
}
|
|
@@ -3190,7 +3177,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3190
3177
|
_iterator.f();
|
|
3191
3178
|
}
|
|
3192
3179
|
}
|
|
3193
|
-
|
|
3194
3180
|
return scrollableParents;
|
|
3195
3181
|
}
|
|
3196
3182
|
}, {
|
|
@@ -3231,34 +3217,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3231
3217
|
element.style.opacity = 0;
|
|
3232
3218
|
var last = +new Date();
|
|
3233
3219
|
var opacity = 0;
|
|
3234
|
-
|
|
3235
3220
|
var tick = function tick() {
|
|
3236
3221
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3237
3222
|
element.style.opacity = opacity;
|
|
3238
3223
|
last = +new Date();
|
|
3239
|
-
|
|
3240
3224
|
if (+opacity < 1) {
|
|
3241
3225
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3242
3226
|
}
|
|
3243
3227
|
};
|
|
3244
|
-
|
|
3245
3228
|
tick();
|
|
3246
3229
|
}
|
|
3247
3230
|
}, {
|
|
3248
3231
|
key: "fadeOut",
|
|
3249
3232
|
value: function fadeOut(element, ms) {
|
|
3250
3233
|
var opacity = 1,
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3234
|
+
interval = 50,
|
|
3235
|
+
duration = ms,
|
|
3236
|
+
gap = interval / duration;
|
|
3254
3237
|
var fading = setInterval(function () {
|
|
3255
3238
|
opacity -= gap;
|
|
3256
|
-
|
|
3257
3239
|
if (opacity <= 0) {
|
|
3258
3240
|
opacity = 0;
|
|
3259
3241
|
clearInterval(fading);
|
|
3260
3242
|
}
|
|
3261
|
-
|
|
3262
3243
|
element.style.opacity = opacity;
|
|
3263
3244
|
}, interval);
|
|
3264
3245
|
}
|
|
@@ -3285,7 +3266,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3285
3266
|
var scroll = container.scrollTop;
|
|
3286
3267
|
var elementHeight = container.clientHeight;
|
|
3287
3268
|
var itemHeight = this.getOuterHeight(item);
|
|
3288
|
-
|
|
3289
3269
|
if (offset < 0) {
|
|
3290
3270
|
container.scrollTop = scroll + offset;
|
|
3291
3271
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3304,7 +3284,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3304
3284
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3305
3285
|
try {
|
|
3306
3286
|
document['selection'].empty();
|
|
3307
|
-
} catch (error) {
|
|
3287
|
+
} catch (error) {
|
|
3288
|
+
//ignore IE bug
|
|
3308
3289
|
}
|
|
3309
3290
|
}
|
|
3310
3291
|
}
|
|
@@ -3326,19 +3307,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3326
3307
|
if (!this.browser) {
|
|
3327
3308
|
var matched = this.resolveUserAgent();
|
|
3328
3309
|
this.browser = {};
|
|
3329
|
-
|
|
3330
3310
|
if (matched.browser) {
|
|
3331
3311
|
this.browser[matched.browser] = true;
|
|
3332
3312
|
this.browser['version'] = matched.version;
|
|
3333
3313
|
}
|
|
3334
|
-
|
|
3335
3314
|
if (this.browser['chrome']) {
|
|
3336
3315
|
this.browser['webkit'] = true;
|
|
3337
3316
|
} else if (this.browser['webkit']) {
|
|
3338
3317
|
this.browser['safari'] = true;
|
|
3339
3318
|
}
|
|
3340
3319
|
}
|
|
3341
|
-
|
|
3342
3320
|
return this.browser;
|
|
3343
3321
|
}
|
|
3344
3322
|
}, {
|
|
@@ -3366,10 +3344,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3366
3344
|
value: function getFocusableElements(element) {
|
|
3367
3345
|
var focusableElements = DomHandler.find(element, "button:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n [href][clientHeight][clientWidth]:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n input:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), select:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n textarea:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), [tabIndex]:not([tabIndex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n [contenteditable]:not([tabIndex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden])");
|
|
3368
3346
|
var visibleFocusableElements = [];
|
|
3369
|
-
|
|
3370
3347
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3371
|
-
|
|
3372
|
-
|
|
3348
|
+
_step3;
|
|
3373
3349
|
try {
|
|
3374
3350
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3375
3351
|
var focusableElement = _step3.value;
|
|
@@ -3380,7 +3356,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3380
3356
|
} finally {
|
|
3381
3357
|
_iterator3.f();
|
|
3382
3358
|
}
|
|
3383
|
-
|
|
3384
3359
|
return visibleFocusableElements;
|
|
3385
3360
|
}
|
|
3386
3361
|
}, {
|
|
@@ -3423,55 +3398,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3423
3398
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3424
3399
|
}
|
|
3425
3400
|
}]);
|
|
3426
|
-
|
|
3427
3401
|
return DomHandler;
|
|
3428
3402
|
}();
|
|
3429
3403
|
|
|
3430
|
-
|
|
3431
3404
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3432
3405
|
|
|
3433
|
-
|
|
3434
3406
|
function bindEvents(el) {
|
|
3435
3407
|
el.addEventListener('mousedown', onMouseDown);
|
|
3436
3408
|
}
|
|
3437
|
-
|
|
3438
3409
|
function unbindEvents(el) {
|
|
3439
3410
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3440
3411
|
}
|
|
3441
|
-
|
|
3442
3412
|
function create(el) {
|
|
3443
3413
|
var ink = document.createElement('span');
|
|
3444
3414
|
ink.className = 'p-ink';
|
|
3445
3415
|
el.appendChild(ink);
|
|
3446
3416
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3447
3417
|
}
|
|
3448
|
-
|
|
3449
3418
|
function remove(el) {
|
|
3450
3419
|
var ink = getInk(el);
|
|
3451
|
-
|
|
3452
3420
|
if (ink) {
|
|
3453
3421
|
unbindEvents(el);
|
|
3454
3422
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3455
3423
|
ink.remove();
|
|
3456
3424
|
}
|
|
3457
3425
|
}
|
|
3458
|
-
|
|
3459
3426
|
function onMouseDown(event) {
|
|
3460
3427
|
var target = event.currentTarget;
|
|
3461
3428
|
var ink = getInk(target);
|
|
3462
|
-
|
|
3463
3429
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3464
3430
|
return;
|
|
3465
3431
|
}
|
|
3466
|
-
|
|
3467
3432
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3468
|
-
|
|
3469
3433
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3470
3434
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3471
3435
|
ink.style.height = d + 'px';
|
|
3472
3436
|
ink.style.width = d + 'px';
|
|
3473
3437
|
}
|
|
3474
|
-
|
|
3475
3438
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3476
3439
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3477
3440
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3479,21 +3442,17 @@ function onMouseDown(event) {
|
|
|
3479
3442
|
ink.style.left = x + 'px';
|
|
3480
3443
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3481
3444
|
}
|
|
3482
|
-
|
|
3483
3445
|
function onAnimationEnd(event) {
|
|
3484
3446
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3485
3447
|
}
|
|
3486
|
-
|
|
3487
3448
|
function getInk(el) {
|
|
3488
3449
|
for (var i = 0; i < el.children.length; i++) {
|
|
3489
3450
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3490
3451
|
return el.children[i];
|
|
3491
3452
|
}
|
|
3492
3453
|
}
|
|
3493
|
-
|
|
3494
3454
|
return null;
|
|
3495
3455
|
}
|
|
3496
|
-
|
|
3497
3456
|
var Ripple = {
|
|
3498
3457
|
inserted: function inserted(el, binding, vnode) {
|
|
3499
3458
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -3507,16 +3466,6 @@ var Ripple = {
|
|
|
3507
3466
|
};
|
|
3508
3467
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3509
3468
|
// 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
3469
|
|
|
3521
3470
|
/* harmony default export */ var Buttonvue_type_script_lang_js_ = ({
|
|
3522
3471
|
props: {
|
|
@@ -3536,6 +3485,14 @@ var Ripple = {
|
|
|
3536
3485
|
badgeClass: {
|
|
3537
3486
|
type: String,
|
|
3538
3487
|
default: null
|
|
3488
|
+
},
|
|
3489
|
+
loading: {
|
|
3490
|
+
type: Boolean,
|
|
3491
|
+
default: false
|
|
3492
|
+
},
|
|
3493
|
+
loadingIcon: {
|
|
3494
|
+
type: String,
|
|
3495
|
+
default: 'pi pi-spinner pi-spin'
|
|
3539
3496
|
}
|
|
3540
3497
|
},
|
|
3541
3498
|
computed: {
|
|
@@ -3548,7 +3505,7 @@ var Ripple = {
|
|
|
3548
3505
|
};
|
|
3549
3506
|
},
|
|
3550
3507
|
iconClass: function iconClass() {
|
|
3551
|
-
return [this.icon, 'p-button-icon', {
|
|
3508
|
+
return [this.loading ? this.loadingIcon : this.icon, 'p-button-icon', {
|
|
3552
3509
|
'p-button-icon-left': this.iconPos === 'left' && this.label,
|
|
3553
3510
|
'p-button-icon-right': this.iconPos === 'right' && this.label,
|
|
3554
3511
|
'p-button-icon-top': this.iconPos === 'top' && this.label,
|
|
@@ -3574,20 +3531,19 @@ var Ripple = {
|
|
|
3574
3531
|
// This module is a runtime utility for cleaner component module output and will
|
|
3575
3532
|
// be included in the final webpack user bundle.
|
|
3576
3533
|
|
|
3577
|
-
function normalizeComponent
|
|
3534
|
+
function normalizeComponent(
|
|
3578
3535
|
scriptExports,
|
|
3579
3536
|
render,
|
|
3580
3537
|
staticRenderFns,
|
|
3581
3538
|
functionalTemplate,
|
|
3582
3539
|
injectStyles,
|
|
3583
3540
|
scopeId,
|
|
3584
|
-
moduleIdentifier
|
|
3541
|
+
moduleIdentifier /* server only */,
|
|
3585
3542
|
shadowMode /* vue-cli only */
|
|
3586
3543
|
) {
|
|
3587
3544
|
// Vue.extend constructor export interop
|
|
3588
|
-
var options =
|
|
3589
|
-
? scriptExports.options
|
|
3590
|
-
: scriptExports
|
|
3545
|
+
var options =
|
|
3546
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
3591
3547
|
|
|
3592
3548
|
// render functions
|
|
3593
3549
|
if (render) {
|
|
@@ -3607,7 +3563,8 @@ function normalizeComponent (
|
|
|
3607
3563
|
}
|
|
3608
3564
|
|
|
3609
3565
|
var hook
|
|
3610
|
-
if (moduleIdentifier) {
|
|
3566
|
+
if (moduleIdentifier) {
|
|
3567
|
+
// server build
|
|
3611
3568
|
hook = function (context) {
|
|
3612
3569
|
// 2.3 injection
|
|
3613
3570
|
context =
|
|
@@ -3633,11 +3590,11 @@ function normalizeComponent (
|
|
|
3633
3590
|
} else if (injectStyles) {
|
|
3634
3591
|
hook = shadowMode
|
|
3635
3592
|
? function () {
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3593
|
+
injectStyles.call(
|
|
3594
|
+
this,
|
|
3595
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
3596
|
+
)
|
|
3597
|
+
}
|
|
3641
3598
|
: injectStyles
|
|
3642
3599
|
}
|
|
3643
3600
|
|
|
@@ -3648,16 +3605,14 @@ function normalizeComponent (
|
|
|
3648
3605
|
options._injectStyles = hook
|
|
3649
3606
|
// register for functional component in vue file
|
|
3650
3607
|
var originalRender = options.render
|
|
3651
|
-
options.render = function renderWithStyleInjection
|
|
3608
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
3652
3609
|
hook.call(context)
|
|
3653
3610
|
return originalRender(h, context)
|
|
3654
3611
|
}
|
|
3655
3612
|
} else {
|
|
3656
3613
|
// inject component registration as beforeCreate hook
|
|
3657
3614
|
var existing = options.beforeCreate
|
|
3658
|
-
options.beforeCreate = existing
|
|
3659
|
-
? [].concat(existing, hook)
|
|
3660
|
-
: [hook]
|
|
3615
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
3661
3616
|
}
|
|
3662
3617
|
}
|
|
3663
3618
|
|