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
|
@@ -4325,10 +4325,61 @@ if (typeof window !== 'undefined') {
|
|
|
4325
4325
|
// Indicate to webpack that this file can be concatenated
|
|
4326
4326
|
/* harmony default export */ var setPublicPath = (null);
|
|
4327
4327
|
|
|
4328
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4329
|
-
var render = function () {
|
|
4330
|
-
var
|
|
4331
|
-
|
|
4328
|
+
// 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/selectbutton/SelectButton.vue?vue&type=template&id=2f1a90ed&
|
|
4329
|
+
var render = function render() {
|
|
4330
|
+
var _vm = this,
|
|
4331
|
+
_c = _vm._self._c;
|
|
4332
|
+
return _c('div', {
|
|
4333
|
+
class: _vm.containerClass,
|
|
4334
|
+
attrs: {
|
|
4335
|
+
"role": "group"
|
|
4336
|
+
}
|
|
4337
|
+
}, _vm._l(_vm.options, function (option, i) {
|
|
4338
|
+
return _c('div', {
|
|
4339
|
+
directives: [{
|
|
4340
|
+
name: "ripple",
|
|
4341
|
+
rawName: "v-ripple"
|
|
4342
|
+
}],
|
|
4343
|
+
key: _vm.getOptionRenderKey(option),
|
|
4344
|
+
class: _vm.getButtonClass(option),
|
|
4345
|
+
attrs: {
|
|
4346
|
+
"aria-label": _vm.getOptionLabel(option),
|
|
4347
|
+
"role": "button",
|
|
4348
|
+
"aria-pressed": _vm.isSelected(option),
|
|
4349
|
+
"tabindex": _vm.isOptionDisabled(option) ? null : '0',
|
|
4350
|
+
"aria-labelledby": _vm.ariaLabelledBy
|
|
4351
|
+
},
|
|
4352
|
+
on: {
|
|
4353
|
+
"click": function click($event) {
|
|
4354
|
+
return _vm.onOptionSelect($event, option, i);
|
|
4355
|
+
},
|
|
4356
|
+
"keydown": [function ($event) {
|
|
4357
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
4358
|
+
$event.preventDefault();
|
|
4359
|
+
return _vm.onOptionSelect($event, option, i);
|
|
4360
|
+
}, function ($event) {
|
|
4361
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"])) return null;
|
|
4362
|
+
$event.preventDefault();
|
|
4363
|
+
return _vm.onOptionSelect($event, option);
|
|
4364
|
+
}],
|
|
4365
|
+
"focus": function focus($event) {
|
|
4366
|
+
return _vm.onFocus($event);
|
|
4367
|
+
},
|
|
4368
|
+
"blur": function blur($event) {
|
|
4369
|
+
return _vm.onBlur($event);
|
|
4370
|
+
}
|
|
4371
|
+
}
|
|
4372
|
+
}, [_vm._t("option", function () {
|
|
4373
|
+
return [_c('span', {
|
|
4374
|
+
staticClass: "p-button-label"
|
|
4375
|
+
}, [_vm._v(_vm._s(_vm.getOptionLabel(option)))])];
|
|
4376
|
+
}, {
|
|
4377
|
+
"option": option,
|
|
4378
|
+
"index": i
|
|
4379
|
+
})], 2);
|
|
4380
|
+
}), 0);
|
|
4381
|
+
};
|
|
4382
|
+
var staticRenderFns = [];
|
|
4332
4383
|
|
|
4333
4384
|
// CONCATENATED MODULE: ./src/components/selectbutton/SelectButton.vue?vue&type=template&id=2f1a90ed&
|
|
4334
4385
|
|
|
@@ -4357,11 +4408,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
4357
4408
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4358
4409
|
function _arrayLikeToArray(arr, len) {
|
|
4359
4410
|
if (len == null || len > arr.length) len = arr.length;
|
|
4360
|
-
|
|
4361
4411
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4362
4412
|
arr2[i] = arr[i];
|
|
4363
4413
|
}
|
|
4364
|
-
|
|
4365
4414
|
return arr2;
|
|
4366
4415
|
}
|
|
4367
4416
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -4457,26 +4506,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4457
4506
|
|
|
4458
4507
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4459
4508
|
|
|
4460
|
-
|
|
4461
4509
|
function _defineProperties(target, props) {
|
|
4462
4510
|
for (var i = 0; i < props.length; i++) {
|
|
4463
4511
|
var descriptor = props[i];
|
|
4464
4512
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4465
4513
|
descriptor.configurable = true;
|
|
4466
4514
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4467
|
-
|
|
4468
4515
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4469
4516
|
}
|
|
4470
4517
|
}
|
|
4471
|
-
|
|
4472
4518
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4473
4519
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4474
4520
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4475
|
-
|
|
4476
4521
|
define_property_default()(Constructor, "prototype", {
|
|
4477
4522
|
writable: false
|
|
4478
4523
|
});
|
|
4479
|
-
|
|
4480
4524
|
return Constructor;
|
|
4481
4525
|
}
|
|
4482
4526
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
@@ -4496,18 +4540,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4496
4540
|
|
|
4497
4541
|
|
|
4498
4542
|
|
|
4499
|
-
|
|
4500
4543
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = ObjectUtils_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; } } }; }
|
|
4501
|
-
|
|
4502
4544
|
function ObjectUtils_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ObjectUtils_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 ObjectUtils_arrayLikeToArray(o, minLen); }
|
|
4503
|
-
|
|
4504
4545
|
function ObjectUtils_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; }
|
|
4505
|
-
|
|
4506
4546
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
4507
4547
|
function ObjectUtils() {
|
|
4508
4548
|
_classCallCheck(this, ObjectUtils);
|
|
4509
4549
|
}
|
|
4510
|
-
|
|
4511
4550
|
_createClass(ObjectUtils, null, [{
|
|
4512
4551
|
key: "equals",
|
|
4513
4552
|
value: function equals(obj1, obj2, field) {
|
|
@@ -4517,50 +4556,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4517
4556
|
key: "deepEquals",
|
|
4518
4557
|
value: function deepEquals(a, b) {
|
|
4519
4558
|
if (a === b) return true;
|
|
4520
|
-
|
|
4521
4559
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
4522
4560
|
var arrA = Array.isArray(a),
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4561
|
+
arrB = Array.isArray(b),
|
|
4562
|
+
i,
|
|
4563
|
+
length,
|
|
4564
|
+
key;
|
|
4528
4565
|
if (arrA && arrB) {
|
|
4529
4566
|
length = a.length;
|
|
4530
4567
|
if (length != b.length) return false;
|
|
4531
|
-
|
|
4532
4568
|
for (i = length; i-- !== 0;) {
|
|
4533
4569
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
4534
4570
|
}
|
|
4535
|
-
|
|
4536
4571
|
return true;
|
|
4537
4572
|
}
|
|
4538
|
-
|
|
4539
4573
|
if (arrA != arrB) return false;
|
|
4540
4574
|
var dateA = a instanceof Date,
|
|
4541
|
-
|
|
4575
|
+
dateB = b instanceof Date;
|
|
4542
4576
|
if (dateA != dateB) return false;
|
|
4543
4577
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
4544
4578
|
var regexpA = a instanceof RegExp,
|
|
4545
|
-
|
|
4579
|
+
regexpB = b instanceof RegExp;
|
|
4546
4580
|
if (regexpA != regexpB) return false;
|
|
4547
4581
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
4548
4582
|
var keys = Object.keys(a);
|
|
4549
4583
|
length = keys.length;
|
|
4550
4584
|
if (length !== Object.keys(b).length) return false;
|
|
4551
|
-
|
|
4552
4585
|
for (i = length; i-- !== 0;) {
|
|
4553
4586
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
4554
4587
|
}
|
|
4555
|
-
|
|
4556
4588
|
for (i = length; i-- !== 0;) {
|
|
4557
4589
|
key = keys[i];
|
|
4558
4590
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
4559
4591
|
}
|
|
4560
|
-
|
|
4561
4592
|
return true;
|
|
4562
4593
|
}
|
|
4563
|
-
|
|
4564
4594
|
return a !== a && b !== b;
|
|
4565
4595
|
}
|
|
4566
4596
|
}, {
|
|
@@ -4574,15 +4604,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4574
4604
|
} else {
|
|
4575
4605
|
var fields = field.split('.');
|
|
4576
4606
|
var value = data;
|
|
4577
|
-
|
|
4578
4607
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
4579
4608
|
if (value == null) {
|
|
4580
4609
|
return null;
|
|
4581
4610
|
}
|
|
4582
|
-
|
|
4583
4611
|
value = value[fields[i]];
|
|
4584
4612
|
}
|
|
4585
|
-
|
|
4586
4613
|
return value;
|
|
4587
4614
|
}
|
|
4588
4615
|
} else {
|
|
@@ -4598,22 +4625,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4598
4625
|
key: "filter",
|
|
4599
4626
|
value: function filter(value, fields, filterValue) {
|
|
4600
4627
|
var filteredItems = [];
|
|
4601
|
-
|
|
4602
4628
|
if (value) {
|
|
4603
4629
|
var _iterator = _createForOfIteratorHelper(value),
|
|
4604
|
-
|
|
4605
|
-
|
|
4630
|
+
_step;
|
|
4606
4631
|
try {
|
|
4607
4632
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4608
4633
|
var item = _step.value;
|
|
4609
|
-
|
|
4610
4634
|
var _iterator2 = _createForOfIteratorHelper(fields),
|
|
4611
|
-
|
|
4612
|
-
|
|
4635
|
+
_step2;
|
|
4613
4636
|
try {
|
|
4614
4637
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4615
4638
|
var field = _step2.value;
|
|
4616
|
-
|
|
4617
4639
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
4618
4640
|
filteredItems.push(item);
|
|
4619
4641
|
break;
|
|
@@ -4631,23 +4653,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4631
4653
|
_iterator.f();
|
|
4632
4654
|
}
|
|
4633
4655
|
}
|
|
4634
|
-
|
|
4635
4656
|
return filteredItems;
|
|
4636
4657
|
}
|
|
4637
4658
|
}, {
|
|
4638
4659
|
key: "reorderArray",
|
|
4639
4660
|
value: function reorderArray(value, from, to) {
|
|
4640
4661
|
var target;
|
|
4641
|
-
|
|
4642
4662
|
if (value && from !== to) {
|
|
4643
4663
|
if (to >= value.length) {
|
|
4644
4664
|
target = to - value.length;
|
|
4645
|
-
|
|
4646
4665
|
while (target-- + 1) {
|
|
4647
4666
|
value.push(undefined);
|
|
4648
4667
|
}
|
|
4649
4668
|
}
|
|
4650
|
-
|
|
4651
4669
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
4652
4670
|
}
|
|
4653
4671
|
}
|
|
@@ -4655,7 +4673,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4655
4673
|
key: "findIndexInList",
|
|
4656
4674
|
value: function findIndexInList(value, list) {
|
|
4657
4675
|
var index = -1;
|
|
4658
|
-
|
|
4659
4676
|
if (list) {
|
|
4660
4677
|
for (var i = 0; i < list.length; i++) {
|
|
4661
4678
|
if (list[i] === value) {
|
|
@@ -4664,7 +4681,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4664
4681
|
}
|
|
4665
4682
|
}
|
|
4666
4683
|
}
|
|
4667
|
-
|
|
4668
4684
|
return index;
|
|
4669
4685
|
}
|
|
4670
4686
|
}, {
|
|
@@ -4672,8 +4688,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4672
4688
|
value: function contains(value, list) {
|
|
4673
4689
|
if (value != null && list && list.length) {
|
|
4674
4690
|
var _iterator3 = _createForOfIteratorHelper(list),
|
|
4675
|
-
|
|
4676
|
-
|
|
4691
|
+
_step3;
|
|
4677
4692
|
try {
|
|
4678
4693
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4679
4694
|
var val = _step3.value;
|
|
@@ -4685,7 +4700,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4685
4700
|
_iterator3.f();
|
|
4686
4701
|
}
|
|
4687
4702
|
}
|
|
4688
|
-
|
|
4689
4703
|
return false;
|
|
4690
4704
|
}
|
|
4691
4705
|
}, {
|
|
@@ -4693,17 +4707,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4693
4707
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
4694
4708
|
if (arr.length > 0) {
|
|
4695
4709
|
var injected = false;
|
|
4696
|
-
|
|
4697
4710
|
for (var i = 0; i < arr.length; i++) {
|
|
4698
4711
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
4699
|
-
|
|
4700
4712
|
if (currentItemIndex > index) {
|
|
4701
4713
|
arr.splice(i, 0, item);
|
|
4702
4714
|
injected = true;
|
|
4703
4715
|
break;
|
|
4704
4716
|
}
|
|
4705
4717
|
}
|
|
4706
|
-
|
|
4707
4718
|
if (!injected) {
|
|
4708
4719
|
arr.push(item);
|
|
4709
4720
|
}
|
|
@@ -4717,28 +4728,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4717
4728
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
4718
4729
|
str = str.replace(/[\xC0-\xC5]/g, "A").replace(/[\xC6]/g, "AE").replace(/[\xC7]/g, "C").replace(/[\xC8-\xCB]/g, "E").replace(/[\xCC-\xCF]/g, "I").replace(/[\xD0]/g, "D").replace(/[\xD1]/g, "N").replace(/[\xD2-\xD6\xD8]/g, "O").replace(/[\xD9-\xDC]/g, "U").replace(/[\xDD]/g, "Y").replace(/[\xDE]/g, "P").replace(/[\xE0-\xE5]/g, "a").replace(/[\xE6]/g, "ae").replace(/[\xE7]/g, "c").replace(/[\xE8-\xEB]/g, "e").replace(/[\xEC-\xEF]/g, "i").replace(/[\xF1]/g, "n").replace(/[\xF2-\xF6\xF8]/g, "o").replace(/[\xF9-\xFC]/g, "u").replace(/[\xFE]/g, "p").replace(/[\xFD\xFF]/g, "y");
|
|
4719
4730
|
}
|
|
4720
|
-
|
|
4721
4731
|
return str;
|
|
4722
4732
|
}
|
|
4723
4733
|
}, {
|
|
4724
4734
|
key: "getVNodeProp",
|
|
4725
4735
|
value: function getVNodeProp(vnode, prop) {
|
|
4726
4736
|
var props = vnode._props;
|
|
4727
|
-
|
|
4728
4737
|
if (props) {
|
|
4729
4738
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
4730
4739
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
4731
4740
|
return props[propName];
|
|
4732
4741
|
}
|
|
4733
|
-
|
|
4734
4742
|
return null;
|
|
4735
4743
|
}
|
|
4736
4744
|
}]);
|
|
4737
|
-
|
|
4738
4745
|
return ObjectUtils;
|
|
4739
4746
|
}();
|
|
4740
4747
|
|
|
4741
|
-
|
|
4742
4748
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
4743
4749
|
var es6_array_find = __webpack_require__("7514");
|
|
4744
4750
|
|
|
@@ -4755,18 +4761,13 @@ var es6_array_find = __webpack_require__("7514");
|
|
|
4755
4761
|
|
|
4756
4762
|
|
|
4757
4763
|
|
|
4758
|
-
|
|
4759
4764
|
function DomHandler_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = DomHandler_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; } } }; }
|
|
4760
|
-
|
|
4761
4765
|
function DomHandler_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return DomHandler_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 DomHandler_arrayLikeToArray(o, minLen); }
|
|
4762
|
-
|
|
4763
4766
|
function DomHandler_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; }
|
|
4764
|
-
|
|
4765
4767
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4766
4768
|
function DomHandler() {
|
|
4767
4769
|
_classCallCheck(this, DomHandler);
|
|
4768
4770
|
}
|
|
4769
|
-
|
|
4770
4771
|
_createClass(DomHandler, null, [{
|
|
4771
4772
|
key: "innerWidth",
|
|
4772
4773
|
value: function innerWidth(el) {
|
|
@@ -4800,12 +4801,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4800
4801
|
value: function getOuterWidth(el, margin) {
|
|
4801
4802
|
if (el) {
|
|
4802
4803
|
var width = el.offsetWidth;
|
|
4803
|
-
|
|
4804
4804
|
if (margin) {
|
|
4805
4805
|
var style = getComputedStyle(el);
|
|
4806
4806
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4807
4807
|
}
|
|
4808
|
-
|
|
4809
4808
|
return width;
|
|
4810
4809
|
} else {
|
|
4811
4810
|
return 0;
|
|
@@ -4816,12 +4815,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4816
4815
|
value: function getOuterHeight(el, margin) {
|
|
4817
4816
|
if (el) {
|
|
4818
4817
|
var height = el.offsetHeight;
|
|
4819
|
-
|
|
4820
4818
|
if (margin) {
|
|
4821
4819
|
var style = getComputedStyle(el);
|
|
4822
4820
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4823
4821
|
}
|
|
4824
|
-
|
|
4825
4822
|
return height;
|
|
4826
4823
|
} else {
|
|
4827
4824
|
return 0;
|
|
@@ -4832,12 +4829,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4832
4829
|
value: function getClientHeight(el, margin) {
|
|
4833
4830
|
if (el) {
|
|
4834
4831
|
var height = el.clientHeight;
|
|
4835
|
-
|
|
4836
4832
|
if (margin) {
|
|
4837
4833
|
var style = getComputedStyle(el);
|
|
4838
4834
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4839
4835
|
}
|
|
4840
|
-
|
|
4841
4836
|
return height;
|
|
4842
4837
|
} else {
|
|
4843
4838
|
return 0;
|
|
@@ -4847,11 +4842,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4847
4842
|
key: "getViewport",
|
|
4848
4843
|
value: function getViewport() {
|
|
4849
4844
|
var win = window,
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4845
|
+
d = document,
|
|
4846
|
+
e = d.documentElement,
|
|
4847
|
+
g = d.getElementsByTagName('body')[0],
|
|
4848
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4849
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4855
4850
|
return {
|
|
4856
4851
|
width: w,
|
|
4857
4852
|
height: h
|
|
@@ -4882,12 +4877,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4882
4877
|
value: function index(element) {
|
|
4883
4878
|
var children = element.parentNode.childNodes;
|
|
4884
4879
|
var num = 0;
|
|
4885
|
-
|
|
4886
4880
|
for (var i = 0; i < children.length; i++) {
|
|
4887
4881
|
if (children[i] === element) return num;
|
|
4888
4882
|
if (children[i].nodeType === 1) num++;
|
|
4889
4883
|
}
|
|
4890
|
-
|
|
4891
4884
|
return -1;
|
|
4892
4885
|
}
|
|
4893
4886
|
}, {
|
|
@@ -4895,13 +4888,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4895
4888
|
value: function addMultipleClasses(element, className) {
|
|
4896
4889
|
if (element.classList) {
|
|
4897
4890
|
var styles = className.split(' ');
|
|
4898
|
-
|
|
4899
4891
|
for (var i = 0; i < styles.length; i++) {
|
|
4900
4892
|
element.classList.add(styles[i]);
|
|
4901
4893
|
}
|
|
4902
4894
|
} else {
|
|
4903
4895
|
var _styles = className.split(' ');
|
|
4904
|
-
|
|
4905
4896
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4906
4897
|
element.className += ' ' + _styles[_i];
|
|
4907
4898
|
}
|
|
@@ -4923,7 +4914,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4923
4914
|
if (element) {
|
|
4924
4915
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4925
4916
|
}
|
|
4926
|
-
|
|
4927
4917
|
return false;
|
|
4928
4918
|
}
|
|
4929
4919
|
}, {
|
|
@@ -4968,11 +4958,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4968
4958
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4969
4959
|
var viewport = this.getViewport();
|
|
4970
4960
|
var top, left;
|
|
4971
|
-
|
|
4972
4961
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4973
4962
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4974
4963
|
element.style.transformOrigin = 'bottom';
|
|
4975
|
-
|
|
4976
4964
|
if (top < 0) {
|
|
4977
4965
|
top = windowScrollTop;
|
|
4978
4966
|
}
|
|
@@ -4980,7 +4968,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4980
4968
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4981
4969
|
element.style.transformOrigin = 'top';
|
|
4982
4970
|
}
|
|
4983
|
-
|
|
4984
4971
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4985
4972
|
element.style.top = top + 'px';
|
|
4986
4973
|
element.style.left = left + 'px';
|
|
@@ -4996,11 +4983,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4996
4983
|
var targetOffset = target.getBoundingClientRect();
|
|
4997
4984
|
var viewport = this.getViewport();
|
|
4998
4985
|
var top, left;
|
|
4999
|
-
|
|
5000
4986
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
5001
4987
|
top = -1 * elementDimensions.height;
|
|
5002
4988
|
element.style.transformOrigin = 'bottom';
|
|
5003
|
-
|
|
5004
4989
|
if (targetOffset.top + top < 0) {
|
|
5005
4990
|
top = -1 * targetOffset.top;
|
|
5006
4991
|
}
|
|
@@ -5008,7 +4993,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5008
4993
|
top = targetHeight;
|
|
5009
4994
|
element.style.transformOrigin = 'top';
|
|
5010
4995
|
}
|
|
5011
|
-
|
|
5012
4996
|
if (elementDimensions.width > viewport.width) {
|
|
5013
4997
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
5014
4998
|
left = targetOffset.left * -1;
|
|
@@ -5019,7 +5003,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5019
5003
|
// element fits on screen (align with target)
|
|
5020
5004
|
left = 0;
|
|
5021
5005
|
}
|
|
5022
|
-
|
|
5023
5006
|
element.style.top = top + 'px';
|
|
5024
5007
|
element.style.left = left + 'px';
|
|
5025
5008
|
}
|
|
@@ -5033,35 +5016,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5033
5016
|
key: "getScrollableParents",
|
|
5034
5017
|
value: function getScrollableParents(element) {
|
|
5035
5018
|
var scrollableParents = [];
|
|
5036
|
-
|
|
5037
5019
|
if (element) {
|
|
5038
5020
|
var parents = this.getParents(element);
|
|
5039
5021
|
var overflowRegex = /(auto|scroll)/;
|
|
5040
|
-
|
|
5041
5022
|
var overflowCheck = function overflowCheck(node) {
|
|
5042
5023
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
5043
5024
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
5044
5025
|
};
|
|
5045
|
-
|
|
5046
5026
|
var _iterator = DomHandler_createForOfIteratorHelper(parents),
|
|
5047
|
-
|
|
5048
|
-
|
|
5027
|
+
_step;
|
|
5049
5028
|
try {
|
|
5050
5029
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5051
5030
|
var parent = _step.value;
|
|
5052
5031
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
5053
|
-
|
|
5054
5032
|
if (scrollSelectors) {
|
|
5055
5033
|
var selectors = scrollSelectors.split(',');
|
|
5056
|
-
|
|
5057
5034
|
var _iterator2 = DomHandler_createForOfIteratorHelper(selectors),
|
|
5058
|
-
|
|
5059
|
-
|
|
5035
|
+
_step2;
|
|
5060
5036
|
try {
|
|
5061
5037
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5062
5038
|
var selector = _step2.value;
|
|
5063
5039
|
var el = this.findSingle(parent, selector);
|
|
5064
|
-
|
|
5065
5040
|
if (el && overflowCheck(el)) {
|
|
5066
5041
|
scrollableParents.push(el);
|
|
5067
5042
|
}
|
|
@@ -5079,7 +5054,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5079
5054
|
_iterator.f();
|
|
5080
5055
|
}
|
|
5081
5056
|
}
|
|
5082
|
-
|
|
5083
5057
|
return scrollableParents;
|
|
5084
5058
|
}
|
|
5085
5059
|
}, {
|
|
@@ -5120,34 +5094,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5120
5094
|
element.style.opacity = 0;
|
|
5121
5095
|
var last = +new Date();
|
|
5122
5096
|
var opacity = 0;
|
|
5123
|
-
|
|
5124
5097
|
var tick = function tick() {
|
|
5125
5098
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5126
5099
|
element.style.opacity = opacity;
|
|
5127
5100
|
last = +new Date();
|
|
5128
|
-
|
|
5129
5101
|
if (+opacity < 1) {
|
|
5130
5102
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5131
5103
|
}
|
|
5132
5104
|
};
|
|
5133
|
-
|
|
5134
5105
|
tick();
|
|
5135
5106
|
}
|
|
5136
5107
|
}, {
|
|
5137
5108
|
key: "fadeOut",
|
|
5138
5109
|
value: function fadeOut(element, ms) {
|
|
5139
5110
|
var opacity = 1,
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5111
|
+
interval = 50,
|
|
5112
|
+
duration = ms,
|
|
5113
|
+
gap = interval / duration;
|
|
5143
5114
|
var fading = setInterval(function () {
|
|
5144
5115
|
opacity -= gap;
|
|
5145
|
-
|
|
5146
5116
|
if (opacity <= 0) {
|
|
5147
5117
|
opacity = 0;
|
|
5148
5118
|
clearInterval(fading);
|
|
5149
5119
|
}
|
|
5150
|
-
|
|
5151
5120
|
element.style.opacity = opacity;
|
|
5152
5121
|
}, interval);
|
|
5153
5122
|
}
|
|
@@ -5174,7 +5143,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5174
5143
|
var scroll = container.scrollTop;
|
|
5175
5144
|
var elementHeight = container.clientHeight;
|
|
5176
5145
|
var itemHeight = this.getOuterHeight(item);
|
|
5177
|
-
|
|
5178
5146
|
if (offset < 0) {
|
|
5179
5147
|
container.scrollTop = scroll + offset;
|
|
5180
5148
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5193,7 +5161,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5193
5161
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5194
5162
|
try {
|
|
5195
5163
|
document['selection'].empty();
|
|
5196
|
-
} catch (error) {
|
|
5164
|
+
} catch (error) {
|
|
5165
|
+
//ignore IE bug
|
|
5197
5166
|
}
|
|
5198
5167
|
}
|
|
5199
5168
|
}
|
|
@@ -5215,19 +5184,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5215
5184
|
if (!this.browser) {
|
|
5216
5185
|
var matched = this.resolveUserAgent();
|
|
5217
5186
|
this.browser = {};
|
|
5218
|
-
|
|
5219
5187
|
if (matched.browser) {
|
|
5220
5188
|
this.browser[matched.browser] = true;
|
|
5221
5189
|
this.browser['version'] = matched.version;
|
|
5222
5190
|
}
|
|
5223
|
-
|
|
5224
5191
|
if (this.browser['chrome']) {
|
|
5225
5192
|
this.browser['webkit'] = true;
|
|
5226
5193
|
} else if (this.browser['webkit']) {
|
|
5227
5194
|
this.browser['safari'] = true;
|
|
5228
5195
|
}
|
|
5229
5196
|
}
|
|
5230
|
-
|
|
5231
5197
|
return this.browser;
|
|
5232
5198
|
}
|
|
5233
5199
|
}, {
|
|
@@ -5255,10 +5221,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5255
5221
|
value: function getFocusableElements(element) {
|
|
5256
5222
|
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])");
|
|
5257
5223
|
var visibleFocusableElements = [];
|
|
5258
|
-
|
|
5259
5224
|
var _iterator3 = DomHandler_createForOfIteratorHelper(focusableElements),
|
|
5260
|
-
|
|
5261
|
-
|
|
5225
|
+
_step3;
|
|
5262
5226
|
try {
|
|
5263
5227
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5264
5228
|
var focusableElement = _step3.value;
|
|
@@ -5269,7 +5233,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5269
5233
|
} finally {
|
|
5270
5234
|
_iterator3.f();
|
|
5271
5235
|
}
|
|
5272
|
-
|
|
5273
5236
|
return visibleFocusableElements;
|
|
5274
5237
|
}
|
|
5275
5238
|
}, {
|
|
@@ -5312,55 +5275,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5312
5275
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5313
5276
|
}
|
|
5314
5277
|
}]);
|
|
5315
|
-
|
|
5316
5278
|
return DomHandler;
|
|
5317
5279
|
}();
|
|
5318
5280
|
|
|
5319
|
-
|
|
5320
5281
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5321
5282
|
|
|
5322
|
-
|
|
5323
5283
|
function bindEvents(el) {
|
|
5324
5284
|
el.addEventListener('mousedown', onMouseDown);
|
|
5325
5285
|
}
|
|
5326
|
-
|
|
5327
5286
|
function unbindEvents(el) {
|
|
5328
5287
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5329
5288
|
}
|
|
5330
|
-
|
|
5331
5289
|
function create(el) {
|
|
5332
5290
|
var ink = document.createElement('span');
|
|
5333
5291
|
ink.className = 'p-ink';
|
|
5334
5292
|
el.appendChild(ink);
|
|
5335
5293
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5336
5294
|
}
|
|
5337
|
-
|
|
5338
5295
|
function remove(el) {
|
|
5339
5296
|
var ink = getInk(el);
|
|
5340
|
-
|
|
5341
5297
|
if (ink) {
|
|
5342
5298
|
unbindEvents(el);
|
|
5343
5299
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5344
5300
|
ink.remove();
|
|
5345
5301
|
}
|
|
5346
5302
|
}
|
|
5347
|
-
|
|
5348
5303
|
function onMouseDown(event) {
|
|
5349
5304
|
var target = event.currentTarget;
|
|
5350
5305
|
var ink = getInk(target);
|
|
5351
|
-
|
|
5352
5306
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5353
5307
|
return;
|
|
5354
5308
|
}
|
|
5355
|
-
|
|
5356
5309
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5357
|
-
|
|
5358
5310
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5359
5311
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5360
5312
|
ink.style.height = d + 'px';
|
|
5361
5313
|
ink.style.width = d + 'px';
|
|
5362
5314
|
}
|
|
5363
|
-
|
|
5364
5315
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5365
5316
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5366
5317
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5368,21 +5319,17 @@ function onMouseDown(event) {
|
|
|
5368
5319
|
ink.style.left = x + 'px';
|
|
5369
5320
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5370
5321
|
}
|
|
5371
|
-
|
|
5372
5322
|
function onAnimationEnd(event) {
|
|
5373
5323
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5374
5324
|
}
|
|
5375
|
-
|
|
5376
5325
|
function getInk(el) {
|
|
5377
5326
|
for (var i = 0; i < el.children.length; i++) {
|
|
5378
5327
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5379
5328
|
return el.children[i];
|
|
5380
5329
|
}
|
|
5381
5330
|
}
|
|
5382
|
-
|
|
5383
5331
|
return null;
|
|
5384
5332
|
}
|
|
5385
|
-
|
|
5386
5333
|
var Ripple = {
|
|
5387
5334
|
inserted: function inserted(el, binding, vnode) {
|
|
5388
5335
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5403,27 +5350,10 @@ var Ripple = {
|
|
|
5403
5350
|
|
|
5404
5351
|
|
|
5405
5352
|
|
|
5406
|
-
|
|
5407
5353
|
function SelectButtonvue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = SelectButtonvue_type_script_lang_js_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; } } }; }
|
|
5408
|
-
|
|
5409
5354
|
function SelectButtonvue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return SelectButtonvue_type_script_lang_js_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 SelectButtonvue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
5410
|
-
|
|
5411
5355
|
function SelectButtonvue_type_script_lang_js_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; }
|
|
5412
5356
|
|
|
5413
|
-
//
|
|
5414
|
-
//
|
|
5415
|
-
//
|
|
5416
|
-
//
|
|
5417
|
-
//
|
|
5418
|
-
//
|
|
5419
|
-
//
|
|
5420
|
-
//
|
|
5421
|
-
//
|
|
5422
|
-
//
|
|
5423
|
-
//
|
|
5424
|
-
//
|
|
5425
|
-
//
|
|
5426
|
-
|
|
5427
5357
|
|
|
5428
5358
|
/* harmony default export */ var SelectButtonvue_type_script_lang_js_ = ({
|
|
5429
5359
|
props: {
|
|
@@ -5452,15 +5382,12 @@ function SelectButtonvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (le
|
|
|
5452
5382
|
},
|
|
5453
5383
|
onOptionSelect: function onOptionSelect(event, option) {
|
|
5454
5384
|
var _this = this;
|
|
5455
|
-
|
|
5456
5385
|
if (this.disabled || this.isOptionDisabled(option)) {
|
|
5457
5386
|
return;
|
|
5458
5387
|
}
|
|
5459
|
-
|
|
5460
5388
|
var selected = this.isSelected(option);
|
|
5461
5389
|
var optionValue = this.getOptionValue(option);
|
|
5462
5390
|
var newValue;
|
|
5463
|
-
|
|
5464
5391
|
if (this.multiple) {
|
|
5465
5392
|
if (selected) newValue = this.value.filter(function (val) {
|
|
5466
5393
|
return !ObjectUtils_ObjectUtils.equals(val, optionValue, _this.equalityKey);
|
|
@@ -5468,22 +5395,18 @@ function SelectButtonvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (le
|
|
|
5468
5395
|
} else {
|
|
5469
5396
|
newValue = optionValue;
|
|
5470
5397
|
}
|
|
5471
|
-
|
|
5472
5398
|
this.$emit('input', newValue);
|
|
5473
5399
|
},
|
|
5474
5400
|
isSelected: function isSelected(option) {
|
|
5475
5401
|
var selected = false;
|
|
5476
5402
|
var optionValue = this.getOptionValue(option);
|
|
5477
|
-
|
|
5478
5403
|
if (this.multiple) {
|
|
5479
5404
|
if (this.value) {
|
|
5480
5405
|
var _iterator = SelectButtonvue_type_script_lang_js_createForOfIteratorHelper(this.value),
|
|
5481
|
-
|
|
5482
|
-
|
|
5406
|
+
_step;
|
|
5483
5407
|
try {
|
|
5484
5408
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5485
5409
|
var val = _step.value;
|
|
5486
|
-
|
|
5487
5410
|
if (ObjectUtils_ObjectUtils.equals(val, optionValue, this.equalityKey)) {
|
|
5488
5411
|
selected = true;
|
|
5489
5412
|
break;
|
|
@@ -5498,7 +5421,6 @@ function SelectButtonvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (le
|
|
|
5498
5421
|
} else {
|
|
5499
5422
|
selected = ObjectUtils_ObjectUtils.equals(this.value, optionValue, this.equalityKey);
|
|
5500
5423
|
}
|
|
5501
|
-
|
|
5502
5424
|
return selected;
|
|
5503
5425
|
},
|
|
5504
5426
|
onFocus: function onFocus(event) {
|
|
@@ -5537,20 +5459,19 @@ function SelectButtonvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (le
|
|
|
5537
5459
|
// This module is a runtime utility for cleaner component module output and will
|
|
5538
5460
|
// be included in the final webpack user bundle.
|
|
5539
5461
|
|
|
5540
|
-
function normalizeComponent
|
|
5462
|
+
function normalizeComponent(
|
|
5541
5463
|
scriptExports,
|
|
5542
5464
|
render,
|
|
5543
5465
|
staticRenderFns,
|
|
5544
5466
|
functionalTemplate,
|
|
5545
5467
|
injectStyles,
|
|
5546
5468
|
scopeId,
|
|
5547
|
-
moduleIdentifier
|
|
5469
|
+
moduleIdentifier /* server only */,
|
|
5548
5470
|
shadowMode /* vue-cli only */
|
|
5549
5471
|
) {
|
|
5550
5472
|
// Vue.extend constructor export interop
|
|
5551
|
-
var options =
|
|
5552
|
-
? scriptExports.options
|
|
5553
|
-
: scriptExports
|
|
5473
|
+
var options =
|
|
5474
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
5554
5475
|
|
|
5555
5476
|
// render functions
|
|
5556
5477
|
if (render) {
|
|
@@ -5570,7 +5491,8 @@ function normalizeComponent (
|
|
|
5570
5491
|
}
|
|
5571
5492
|
|
|
5572
5493
|
var hook
|
|
5573
|
-
if (moduleIdentifier) {
|
|
5494
|
+
if (moduleIdentifier) {
|
|
5495
|
+
// server build
|
|
5574
5496
|
hook = function (context) {
|
|
5575
5497
|
// 2.3 injection
|
|
5576
5498
|
context =
|
|
@@ -5596,11 +5518,11 @@ function normalizeComponent (
|
|
|
5596
5518
|
} else if (injectStyles) {
|
|
5597
5519
|
hook = shadowMode
|
|
5598
5520
|
? function () {
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5521
|
+
injectStyles.call(
|
|
5522
|
+
this,
|
|
5523
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
5524
|
+
)
|
|
5525
|
+
}
|
|
5604
5526
|
: injectStyles
|
|
5605
5527
|
}
|
|
5606
5528
|
|
|
@@ -5611,16 +5533,14 @@ function normalizeComponent (
|
|
|
5611
5533
|
options._injectStyles = hook
|
|
5612
5534
|
// register for functional component in vue file
|
|
5613
5535
|
var originalRender = options.render
|
|
5614
|
-
options.render = function renderWithStyleInjection
|
|
5536
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
5615
5537
|
hook.call(context)
|
|
5616
5538
|
return originalRender(h, context)
|
|
5617
5539
|
}
|
|
5618
5540
|
} else {
|
|
5619
5541
|
// inject component registration as beforeCreate hook
|
|
5620
5542
|
var existing = options.beforeCreate
|
|
5621
|
-
options.beforeCreate = existing
|
|
5622
|
-
? [].concat(existing, hook)
|
|
5623
|
-
: [hook]
|
|
5543
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
5624
5544
|
}
|
|
5625
5545
|
}
|
|
5626
5546
|
|