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
|
@@ -4316,10 +4316,61 @@ if (typeof window !== 'undefined') {
|
|
|
4316
4316
|
// Indicate to webpack that this file can be concatenated
|
|
4317
4317
|
/* harmony default export */ var setPublicPath = (null);
|
|
4318
4318
|
|
|
4319
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4320
|
-
var render = function () {
|
|
4321
|
-
var
|
|
4322
|
-
|
|
4319
|
+
// 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&
|
|
4320
|
+
var render = function render() {
|
|
4321
|
+
var _vm = this,
|
|
4322
|
+
_c = _vm._self._c;
|
|
4323
|
+
return _c('div', {
|
|
4324
|
+
class: _vm.containerClass,
|
|
4325
|
+
attrs: {
|
|
4326
|
+
"role": "group"
|
|
4327
|
+
}
|
|
4328
|
+
}, _vm._l(_vm.options, function (option, i) {
|
|
4329
|
+
return _c('div', {
|
|
4330
|
+
directives: [{
|
|
4331
|
+
name: "ripple",
|
|
4332
|
+
rawName: "v-ripple"
|
|
4333
|
+
}],
|
|
4334
|
+
key: _vm.getOptionRenderKey(option),
|
|
4335
|
+
class: _vm.getButtonClass(option),
|
|
4336
|
+
attrs: {
|
|
4337
|
+
"aria-label": _vm.getOptionLabel(option),
|
|
4338
|
+
"role": "button",
|
|
4339
|
+
"aria-pressed": _vm.isSelected(option),
|
|
4340
|
+
"tabindex": _vm.isOptionDisabled(option) ? null : '0',
|
|
4341
|
+
"aria-labelledby": _vm.ariaLabelledBy
|
|
4342
|
+
},
|
|
4343
|
+
on: {
|
|
4344
|
+
"click": function click($event) {
|
|
4345
|
+
return _vm.onOptionSelect($event, option, i);
|
|
4346
|
+
},
|
|
4347
|
+
"keydown": [function ($event) {
|
|
4348
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
4349
|
+
$event.preventDefault();
|
|
4350
|
+
return _vm.onOptionSelect($event, option, i);
|
|
4351
|
+
}, function ($event) {
|
|
4352
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "space", 32, $event.key, [" ", "Spacebar"])) return null;
|
|
4353
|
+
$event.preventDefault();
|
|
4354
|
+
return _vm.onOptionSelect($event, option);
|
|
4355
|
+
}],
|
|
4356
|
+
"focus": function focus($event) {
|
|
4357
|
+
return _vm.onFocus($event);
|
|
4358
|
+
},
|
|
4359
|
+
"blur": function blur($event) {
|
|
4360
|
+
return _vm.onBlur($event);
|
|
4361
|
+
}
|
|
4362
|
+
}
|
|
4363
|
+
}, [_vm._t("option", function () {
|
|
4364
|
+
return [_c('span', {
|
|
4365
|
+
staticClass: "p-button-label"
|
|
4366
|
+
}, [_vm._v(_vm._s(_vm.getOptionLabel(option)))])];
|
|
4367
|
+
}, {
|
|
4368
|
+
"option": option,
|
|
4369
|
+
"index": i
|
|
4370
|
+
})], 2);
|
|
4371
|
+
}), 0);
|
|
4372
|
+
};
|
|
4373
|
+
var staticRenderFns = [];
|
|
4323
4374
|
|
|
4324
4375
|
// CONCATENATED MODULE: ./src/components/selectbutton/SelectButton.vue?vue&type=template&id=2f1a90ed&
|
|
4325
4376
|
|
|
@@ -4348,11 +4399,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
4348
4399
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4349
4400
|
function _arrayLikeToArray(arr, len) {
|
|
4350
4401
|
if (len == null || len > arr.length) len = arr.length;
|
|
4351
|
-
|
|
4352
4402
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4353
4403
|
arr2[i] = arr[i];
|
|
4354
4404
|
}
|
|
4355
|
-
|
|
4356
4405
|
return arr2;
|
|
4357
4406
|
}
|
|
4358
4407
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -4448,26 +4497,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4448
4497
|
|
|
4449
4498
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4450
4499
|
|
|
4451
|
-
|
|
4452
4500
|
function _defineProperties(target, props) {
|
|
4453
4501
|
for (var i = 0; i < props.length; i++) {
|
|
4454
4502
|
var descriptor = props[i];
|
|
4455
4503
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4456
4504
|
descriptor.configurable = true;
|
|
4457
4505
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4458
|
-
|
|
4459
4506
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4460
4507
|
}
|
|
4461
4508
|
}
|
|
4462
|
-
|
|
4463
4509
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4464
4510
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4465
4511
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4466
|
-
|
|
4467
4512
|
define_property_default()(Constructor, "prototype", {
|
|
4468
4513
|
writable: false
|
|
4469
4514
|
});
|
|
4470
|
-
|
|
4471
4515
|
return Constructor;
|
|
4472
4516
|
}
|
|
4473
4517
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
@@ -4487,18 +4531,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4487
4531
|
|
|
4488
4532
|
|
|
4489
4533
|
|
|
4490
|
-
|
|
4491
4534
|
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; } } }; }
|
|
4492
|
-
|
|
4493
4535
|
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); }
|
|
4494
|
-
|
|
4495
4536
|
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; }
|
|
4496
|
-
|
|
4497
4537
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
4498
4538
|
function ObjectUtils() {
|
|
4499
4539
|
_classCallCheck(this, ObjectUtils);
|
|
4500
4540
|
}
|
|
4501
|
-
|
|
4502
4541
|
_createClass(ObjectUtils, null, [{
|
|
4503
4542
|
key: "equals",
|
|
4504
4543
|
value: function equals(obj1, obj2, field) {
|
|
@@ -4508,50 +4547,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4508
4547
|
key: "deepEquals",
|
|
4509
4548
|
value: function deepEquals(a, b) {
|
|
4510
4549
|
if (a === b) return true;
|
|
4511
|
-
|
|
4512
4550
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
4513
4551
|
var arrA = Array.isArray(a),
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4552
|
+
arrB = Array.isArray(b),
|
|
4553
|
+
i,
|
|
4554
|
+
length,
|
|
4555
|
+
key;
|
|
4519
4556
|
if (arrA && arrB) {
|
|
4520
4557
|
length = a.length;
|
|
4521
4558
|
if (length != b.length) return false;
|
|
4522
|
-
|
|
4523
4559
|
for (i = length; i-- !== 0;) {
|
|
4524
4560
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
4525
4561
|
}
|
|
4526
|
-
|
|
4527
4562
|
return true;
|
|
4528
4563
|
}
|
|
4529
|
-
|
|
4530
4564
|
if (arrA != arrB) return false;
|
|
4531
4565
|
var dateA = a instanceof Date,
|
|
4532
|
-
|
|
4566
|
+
dateB = b instanceof Date;
|
|
4533
4567
|
if (dateA != dateB) return false;
|
|
4534
4568
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
4535
4569
|
var regexpA = a instanceof RegExp,
|
|
4536
|
-
|
|
4570
|
+
regexpB = b instanceof RegExp;
|
|
4537
4571
|
if (regexpA != regexpB) return false;
|
|
4538
4572
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
4539
4573
|
var keys = Object.keys(a);
|
|
4540
4574
|
length = keys.length;
|
|
4541
4575
|
if (length !== Object.keys(b).length) return false;
|
|
4542
|
-
|
|
4543
4576
|
for (i = length; i-- !== 0;) {
|
|
4544
4577
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
4545
4578
|
}
|
|
4546
|
-
|
|
4547
4579
|
for (i = length; i-- !== 0;) {
|
|
4548
4580
|
key = keys[i];
|
|
4549
4581
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
4550
4582
|
}
|
|
4551
|
-
|
|
4552
4583
|
return true;
|
|
4553
4584
|
}
|
|
4554
|
-
|
|
4555
4585
|
return a !== a && b !== b;
|
|
4556
4586
|
}
|
|
4557
4587
|
}, {
|
|
@@ -4565,15 +4595,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4565
4595
|
} else {
|
|
4566
4596
|
var fields = field.split('.');
|
|
4567
4597
|
var value = data;
|
|
4568
|
-
|
|
4569
4598
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
4570
4599
|
if (value == null) {
|
|
4571
4600
|
return null;
|
|
4572
4601
|
}
|
|
4573
|
-
|
|
4574
4602
|
value = value[fields[i]];
|
|
4575
4603
|
}
|
|
4576
|
-
|
|
4577
4604
|
return value;
|
|
4578
4605
|
}
|
|
4579
4606
|
} else {
|
|
@@ -4589,22 +4616,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4589
4616
|
key: "filter",
|
|
4590
4617
|
value: function filter(value, fields, filterValue) {
|
|
4591
4618
|
var filteredItems = [];
|
|
4592
|
-
|
|
4593
4619
|
if (value) {
|
|
4594
4620
|
var _iterator = _createForOfIteratorHelper(value),
|
|
4595
|
-
|
|
4596
|
-
|
|
4621
|
+
_step;
|
|
4597
4622
|
try {
|
|
4598
4623
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4599
4624
|
var item = _step.value;
|
|
4600
|
-
|
|
4601
4625
|
var _iterator2 = _createForOfIteratorHelper(fields),
|
|
4602
|
-
|
|
4603
|
-
|
|
4626
|
+
_step2;
|
|
4604
4627
|
try {
|
|
4605
4628
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4606
4629
|
var field = _step2.value;
|
|
4607
|
-
|
|
4608
4630
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
4609
4631
|
filteredItems.push(item);
|
|
4610
4632
|
break;
|
|
@@ -4622,23 +4644,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4622
4644
|
_iterator.f();
|
|
4623
4645
|
}
|
|
4624
4646
|
}
|
|
4625
|
-
|
|
4626
4647
|
return filteredItems;
|
|
4627
4648
|
}
|
|
4628
4649
|
}, {
|
|
4629
4650
|
key: "reorderArray",
|
|
4630
4651
|
value: function reorderArray(value, from, to) {
|
|
4631
4652
|
var target;
|
|
4632
|
-
|
|
4633
4653
|
if (value && from !== to) {
|
|
4634
4654
|
if (to >= value.length) {
|
|
4635
4655
|
target = to - value.length;
|
|
4636
|
-
|
|
4637
4656
|
while (target-- + 1) {
|
|
4638
4657
|
value.push(undefined);
|
|
4639
4658
|
}
|
|
4640
4659
|
}
|
|
4641
|
-
|
|
4642
4660
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
4643
4661
|
}
|
|
4644
4662
|
}
|
|
@@ -4646,7 +4664,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4646
4664
|
key: "findIndexInList",
|
|
4647
4665
|
value: function findIndexInList(value, list) {
|
|
4648
4666
|
var index = -1;
|
|
4649
|
-
|
|
4650
4667
|
if (list) {
|
|
4651
4668
|
for (var i = 0; i < list.length; i++) {
|
|
4652
4669
|
if (list[i] === value) {
|
|
@@ -4655,7 +4672,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4655
4672
|
}
|
|
4656
4673
|
}
|
|
4657
4674
|
}
|
|
4658
|
-
|
|
4659
4675
|
return index;
|
|
4660
4676
|
}
|
|
4661
4677
|
}, {
|
|
@@ -4663,8 +4679,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4663
4679
|
value: function contains(value, list) {
|
|
4664
4680
|
if (value != null && list && list.length) {
|
|
4665
4681
|
var _iterator3 = _createForOfIteratorHelper(list),
|
|
4666
|
-
|
|
4667
|
-
|
|
4682
|
+
_step3;
|
|
4668
4683
|
try {
|
|
4669
4684
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4670
4685
|
var val = _step3.value;
|
|
@@ -4676,7 +4691,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4676
4691
|
_iterator3.f();
|
|
4677
4692
|
}
|
|
4678
4693
|
}
|
|
4679
|
-
|
|
4680
4694
|
return false;
|
|
4681
4695
|
}
|
|
4682
4696
|
}, {
|
|
@@ -4684,17 +4698,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4684
4698
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
4685
4699
|
if (arr.length > 0) {
|
|
4686
4700
|
var injected = false;
|
|
4687
|
-
|
|
4688
4701
|
for (var i = 0; i < arr.length; i++) {
|
|
4689
4702
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
4690
|
-
|
|
4691
4703
|
if (currentItemIndex > index) {
|
|
4692
4704
|
arr.splice(i, 0, item);
|
|
4693
4705
|
injected = true;
|
|
4694
4706
|
break;
|
|
4695
4707
|
}
|
|
4696
4708
|
}
|
|
4697
|
-
|
|
4698
4709
|
if (!injected) {
|
|
4699
4710
|
arr.push(item);
|
|
4700
4711
|
}
|
|
@@ -4708,28 +4719,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4708
4719
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
4709
4720
|
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");
|
|
4710
4721
|
}
|
|
4711
|
-
|
|
4712
4722
|
return str;
|
|
4713
4723
|
}
|
|
4714
4724
|
}, {
|
|
4715
4725
|
key: "getVNodeProp",
|
|
4716
4726
|
value: function getVNodeProp(vnode, prop) {
|
|
4717
4727
|
var props = vnode._props;
|
|
4718
|
-
|
|
4719
4728
|
if (props) {
|
|
4720
4729
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
4721
4730
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
4722
4731
|
return props[propName];
|
|
4723
4732
|
}
|
|
4724
|
-
|
|
4725
4733
|
return null;
|
|
4726
4734
|
}
|
|
4727
4735
|
}]);
|
|
4728
|
-
|
|
4729
4736
|
return ObjectUtils;
|
|
4730
4737
|
}();
|
|
4731
4738
|
|
|
4732
|
-
|
|
4733
4739
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
4734
4740
|
var es6_array_find = __webpack_require__("7514");
|
|
4735
4741
|
|
|
@@ -4746,18 +4752,13 @@ var es6_array_find = __webpack_require__("7514");
|
|
|
4746
4752
|
|
|
4747
4753
|
|
|
4748
4754
|
|
|
4749
|
-
|
|
4750
4755
|
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; } } }; }
|
|
4751
|
-
|
|
4752
4756
|
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); }
|
|
4753
|
-
|
|
4754
4757
|
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; }
|
|
4755
|
-
|
|
4756
4758
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4757
4759
|
function DomHandler() {
|
|
4758
4760
|
_classCallCheck(this, DomHandler);
|
|
4759
4761
|
}
|
|
4760
|
-
|
|
4761
4762
|
_createClass(DomHandler, null, [{
|
|
4762
4763
|
key: "innerWidth",
|
|
4763
4764
|
value: function innerWidth(el) {
|
|
@@ -4791,12 +4792,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4791
4792
|
value: function getOuterWidth(el, margin) {
|
|
4792
4793
|
if (el) {
|
|
4793
4794
|
var width = el.offsetWidth;
|
|
4794
|
-
|
|
4795
4795
|
if (margin) {
|
|
4796
4796
|
var style = getComputedStyle(el);
|
|
4797
4797
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4798
4798
|
}
|
|
4799
|
-
|
|
4800
4799
|
return width;
|
|
4801
4800
|
} else {
|
|
4802
4801
|
return 0;
|
|
@@ -4807,12 +4806,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4807
4806
|
value: function getOuterHeight(el, margin) {
|
|
4808
4807
|
if (el) {
|
|
4809
4808
|
var height = el.offsetHeight;
|
|
4810
|
-
|
|
4811
4809
|
if (margin) {
|
|
4812
4810
|
var style = getComputedStyle(el);
|
|
4813
4811
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4814
4812
|
}
|
|
4815
|
-
|
|
4816
4813
|
return height;
|
|
4817
4814
|
} else {
|
|
4818
4815
|
return 0;
|
|
@@ -4823,12 +4820,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4823
4820
|
value: function getClientHeight(el, margin) {
|
|
4824
4821
|
if (el) {
|
|
4825
4822
|
var height = el.clientHeight;
|
|
4826
|
-
|
|
4827
4823
|
if (margin) {
|
|
4828
4824
|
var style = getComputedStyle(el);
|
|
4829
4825
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4830
4826
|
}
|
|
4831
|
-
|
|
4832
4827
|
return height;
|
|
4833
4828
|
} else {
|
|
4834
4829
|
return 0;
|
|
@@ -4838,11 +4833,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4838
4833
|
key: "getViewport",
|
|
4839
4834
|
value: function getViewport() {
|
|
4840
4835
|
var win = window,
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4836
|
+
d = document,
|
|
4837
|
+
e = d.documentElement,
|
|
4838
|
+
g = d.getElementsByTagName('body')[0],
|
|
4839
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4840
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4846
4841
|
return {
|
|
4847
4842
|
width: w,
|
|
4848
4843
|
height: h
|
|
@@ -4873,12 +4868,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4873
4868
|
value: function index(element) {
|
|
4874
4869
|
var children = element.parentNode.childNodes;
|
|
4875
4870
|
var num = 0;
|
|
4876
|
-
|
|
4877
4871
|
for (var i = 0; i < children.length; i++) {
|
|
4878
4872
|
if (children[i] === element) return num;
|
|
4879
4873
|
if (children[i].nodeType === 1) num++;
|
|
4880
4874
|
}
|
|
4881
|
-
|
|
4882
4875
|
return -1;
|
|
4883
4876
|
}
|
|
4884
4877
|
}, {
|
|
@@ -4886,13 +4879,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4886
4879
|
value: function addMultipleClasses(element, className) {
|
|
4887
4880
|
if (element.classList) {
|
|
4888
4881
|
var styles = className.split(' ');
|
|
4889
|
-
|
|
4890
4882
|
for (var i = 0; i < styles.length; i++) {
|
|
4891
4883
|
element.classList.add(styles[i]);
|
|
4892
4884
|
}
|
|
4893
4885
|
} else {
|
|
4894
4886
|
var _styles = className.split(' ');
|
|
4895
|
-
|
|
4896
4887
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4897
4888
|
element.className += ' ' + _styles[_i];
|
|
4898
4889
|
}
|
|
@@ -4914,7 +4905,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4914
4905
|
if (element) {
|
|
4915
4906
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4916
4907
|
}
|
|
4917
|
-
|
|
4918
4908
|
return false;
|
|
4919
4909
|
}
|
|
4920
4910
|
}, {
|
|
@@ -4959,11 +4949,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4959
4949
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4960
4950
|
var viewport = this.getViewport();
|
|
4961
4951
|
var top, left;
|
|
4962
|
-
|
|
4963
4952
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4964
4953
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4965
4954
|
element.style.transformOrigin = 'bottom';
|
|
4966
|
-
|
|
4967
4955
|
if (top < 0) {
|
|
4968
4956
|
top = windowScrollTop;
|
|
4969
4957
|
}
|
|
@@ -4971,7 +4959,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4971
4959
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4972
4960
|
element.style.transformOrigin = 'top';
|
|
4973
4961
|
}
|
|
4974
|
-
|
|
4975
4962
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4976
4963
|
element.style.top = top + 'px';
|
|
4977
4964
|
element.style.left = left + 'px';
|
|
@@ -4987,11 +4974,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4987
4974
|
var targetOffset = target.getBoundingClientRect();
|
|
4988
4975
|
var viewport = this.getViewport();
|
|
4989
4976
|
var top, left;
|
|
4990
|
-
|
|
4991
4977
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4992
4978
|
top = -1 * elementDimensions.height;
|
|
4993
4979
|
element.style.transformOrigin = 'bottom';
|
|
4994
|
-
|
|
4995
4980
|
if (targetOffset.top + top < 0) {
|
|
4996
4981
|
top = -1 * targetOffset.top;
|
|
4997
4982
|
}
|
|
@@ -4999,7 +4984,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4999
4984
|
top = targetHeight;
|
|
5000
4985
|
element.style.transformOrigin = 'top';
|
|
5001
4986
|
}
|
|
5002
|
-
|
|
5003
4987
|
if (elementDimensions.width > viewport.width) {
|
|
5004
4988
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
5005
4989
|
left = targetOffset.left * -1;
|
|
@@ -5010,7 +4994,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5010
4994
|
// element fits on screen (align with target)
|
|
5011
4995
|
left = 0;
|
|
5012
4996
|
}
|
|
5013
|
-
|
|
5014
4997
|
element.style.top = top + 'px';
|
|
5015
4998
|
element.style.left = left + 'px';
|
|
5016
4999
|
}
|
|
@@ -5024,35 +5007,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5024
5007
|
key: "getScrollableParents",
|
|
5025
5008
|
value: function getScrollableParents(element) {
|
|
5026
5009
|
var scrollableParents = [];
|
|
5027
|
-
|
|
5028
5010
|
if (element) {
|
|
5029
5011
|
var parents = this.getParents(element);
|
|
5030
5012
|
var overflowRegex = /(auto|scroll)/;
|
|
5031
|
-
|
|
5032
5013
|
var overflowCheck = function overflowCheck(node) {
|
|
5033
5014
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
5034
5015
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
5035
5016
|
};
|
|
5036
|
-
|
|
5037
5017
|
var _iterator = DomHandler_createForOfIteratorHelper(parents),
|
|
5038
|
-
|
|
5039
|
-
|
|
5018
|
+
_step;
|
|
5040
5019
|
try {
|
|
5041
5020
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5042
5021
|
var parent = _step.value;
|
|
5043
5022
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
5044
|
-
|
|
5045
5023
|
if (scrollSelectors) {
|
|
5046
5024
|
var selectors = scrollSelectors.split(',');
|
|
5047
|
-
|
|
5048
5025
|
var _iterator2 = DomHandler_createForOfIteratorHelper(selectors),
|
|
5049
|
-
|
|
5050
|
-
|
|
5026
|
+
_step2;
|
|
5051
5027
|
try {
|
|
5052
5028
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5053
5029
|
var selector = _step2.value;
|
|
5054
5030
|
var el = this.findSingle(parent, selector);
|
|
5055
|
-
|
|
5056
5031
|
if (el && overflowCheck(el)) {
|
|
5057
5032
|
scrollableParents.push(el);
|
|
5058
5033
|
}
|
|
@@ -5070,7 +5045,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5070
5045
|
_iterator.f();
|
|
5071
5046
|
}
|
|
5072
5047
|
}
|
|
5073
|
-
|
|
5074
5048
|
return scrollableParents;
|
|
5075
5049
|
}
|
|
5076
5050
|
}, {
|
|
@@ -5111,34 +5085,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5111
5085
|
element.style.opacity = 0;
|
|
5112
5086
|
var last = +new Date();
|
|
5113
5087
|
var opacity = 0;
|
|
5114
|
-
|
|
5115
5088
|
var tick = function tick() {
|
|
5116
5089
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5117
5090
|
element.style.opacity = opacity;
|
|
5118
5091
|
last = +new Date();
|
|
5119
|
-
|
|
5120
5092
|
if (+opacity < 1) {
|
|
5121
5093
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5122
5094
|
}
|
|
5123
5095
|
};
|
|
5124
|
-
|
|
5125
5096
|
tick();
|
|
5126
5097
|
}
|
|
5127
5098
|
}, {
|
|
5128
5099
|
key: "fadeOut",
|
|
5129
5100
|
value: function fadeOut(element, ms) {
|
|
5130
5101
|
var opacity = 1,
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5102
|
+
interval = 50,
|
|
5103
|
+
duration = ms,
|
|
5104
|
+
gap = interval / duration;
|
|
5134
5105
|
var fading = setInterval(function () {
|
|
5135
5106
|
opacity -= gap;
|
|
5136
|
-
|
|
5137
5107
|
if (opacity <= 0) {
|
|
5138
5108
|
opacity = 0;
|
|
5139
5109
|
clearInterval(fading);
|
|
5140
5110
|
}
|
|
5141
|
-
|
|
5142
5111
|
element.style.opacity = opacity;
|
|
5143
5112
|
}, interval);
|
|
5144
5113
|
}
|
|
@@ -5165,7 +5134,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5165
5134
|
var scroll = container.scrollTop;
|
|
5166
5135
|
var elementHeight = container.clientHeight;
|
|
5167
5136
|
var itemHeight = this.getOuterHeight(item);
|
|
5168
|
-
|
|
5169
5137
|
if (offset < 0) {
|
|
5170
5138
|
container.scrollTop = scroll + offset;
|
|
5171
5139
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5184,7 +5152,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5184
5152
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5185
5153
|
try {
|
|
5186
5154
|
document['selection'].empty();
|
|
5187
|
-
} catch (error) {
|
|
5155
|
+
} catch (error) {
|
|
5156
|
+
//ignore IE bug
|
|
5188
5157
|
}
|
|
5189
5158
|
}
|
|
5190
5159
|
}
|
|
@@ -5206,19 +5175,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5206
5175
|
if (!this.browser) {
|
|
5207
5176
|
var matched = this.resolveUserAgent();
|
|
5208
5177
|
this.browser = {};
|
|
5209
|
-
|
|
5210
5178
|
if (matched.browser) {
|
|
5211
5179
|
this.browser[matched.browser] = true;
|
|
5212
5180
|
this.browser['version'] = matched.version;
|
|
5213
5181
|
}
|
|
5214
|
-
|
|
5215
5182
|
if (this.browser['chrome']) {
|
|
5216
5183
|
this.browser['webkit'] = true;
|
|
5217
5184
|
} else if (this.browser['webkit']) {
|
|
5218
5185
|
this.browser['safari'] = true;
|
|
5219
5186
|
}
|
|
5220
5187
|
}
|
|
5221
|
-
|
|
5222
5188
|
return this.browser;
|
|
5223
5189
|
}
|
|
5224
5190
|
}, {
|
|
@@ -5246,10 +5212,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5246
5212
|
value: function getFocusableElements(element) {
|
|
5247
5213
|
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])");
|
|
5248
5214
|
var visibleFocusableElements = [];
|
|
5249
|
-
|
|
5250
5215
|
var _iterator3 = DomHandler_createForOfIteratorHelper(focusableElements),
|
|
5251
|
-
|
|
5252
|
-
|
|
5216
|
+
_step3;
|
|
5253
5217
|
try {
|
|
5254
5218
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5255
5219
|
var focusableElement = _step3.value;
|
|
@@ -5260,7 +5224,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5260
5224
|
} finally {
|
|
5261
5225
|
_iterator3.f();
|
|
5262
5226
|
}
|
|
5263
|
-
|
|
5264
5227
|
return visibleFocusableElements;
|
|
5265
5228
|
}
|
|
5266
5229
|
}, {
|
|
@@ -5303,55 +5266,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5303
5266
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5304
5267
|
}
|
|
5305
5268
|
}]);
|
|
5306
|
-
|
|
5307
5269
|
return DomHandler;
|
|
5308
5270
|
}();
|
|
5309
5271
|
|
|
5310
|
-
|
|
5311
5272
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5312
5273
|
|
|
5313
|
-
|
|
5314
5274
|
function bindEvents(el) {
|
|
5315
5275
|
el.addEventListener('mousedown', onMouseDown);
|
|
5316
5276
|
}
|
|
5317
|
-
|
|
5318
5277
|
function unbindEvents(el) {
|
|
5319
5278
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5320
5279
|
}
|
|
5321
|
-
|
|
5322
5280
|
function create(el) {
|
|
5323
5281
|
var ink = document.createElement('span');
|
|
5324
5282
|
ink.className = 'p-ink';
|
|
5325
5283
|
el.appendChild(ink);
|
|
5326
5284
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5327
5285
|
}
|
|
5328
|
-
|
|
5329
5286
|
function remove(el) {
|
|
5330
5287
|
var ink = getInk(el);
|
|
5331
|
-
|
|
5332
5288
|
if (ink) {
|
|
5333
5289
|
unbindEvents(el);
|
|
5334
5290
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5335
5291
|
ink.remove();
|
|
5336
5292
|
}
|
|
5337
5293
|
}
|
|
5338
|
-
|
|
5339
5294
|
function onMouseDown(event) {
|
|
5340
5295
|
var target = event.currentTarget;
|
|
5341
5296
|
var ink = getInk(target);
|
|
5342
|
-
|
|
5343
5297
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5344
5298
|
return;
|
|
5345
5299
|
}
|
|
5346
|
-
|
|
5347
5300
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5348
|
-
|
|
5349
5301
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5350
5302
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5351
5303
|
ink.style.height = d + 'px';
|
|
5352
5304
|
ink.style.width = d + 'px';
|
|
5353
5305
|
}
|
|
5354
|
-
|
|
5355
5306
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5356
5307
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5357
5308
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5359,21 +5310,17 @@ function onMouseDown(event) {
|
|
|
5359
5310
|
ink.style.left = x + 'px';
|
|
5360
5311
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5361
5312
|
}
|
|
5362
|
-
|
|
5363
5313
|
function onAnimationEnd(event) {
|
|
5364
5314
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5365
5315
|
}
|
|
5366
|
-
|
|
5367
5316
|
function getInk(el) {
|
|
5368
5317
|
for (var i = 0; i < el.children.length; i++) {
|
|
5369
5318
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5370
5319
|
return el.children[i];
|
|
5371
5320
|
}
|
|
5372
5321
|
}
|
|
5373
|
-
|
|
5374
5322
|
return null;
|
|
5375
5323
|
}
|
|
5376
|
-
|
|
5377
5324
|
var Ripple = {
|
|
5378
5325
|
inserted: function inserted(el, binding, vnode) {
|
|
5379
5326
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5394,27 +5341,10 @@ var Ripple = {
|
|
|
5394
5341
|
|
|
5395
5342
|
|
|
5396
5343
|
|
|
5397
|
-
|
|
5398
5344
|
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; } } }; }
|
|
5399
|
-
|
|
5400
5345
|
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); }
|
|
5401
|
-
|
|
5402
5346
|
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; }
|
|
5403
5347
|
|
|
5404
|
-
//
|
|
5405
|
-
//
|
|
5406
|
-
//
|
|
5407
|
-
//
|
|
5408
|
-
//
|
|
5409
|
-
//
|
|
5410
|
-
//
|
|
5411
|
-
//
|
|
5412
|
-
//
|
|
5413
|
-
//
|
|
5414
|
-
//
|
|
5415
|
-
//
|
|
5416
|
-
//
|
|
5417
|
-
|
|
5418
5348
|
|
|
5419
5349
|
/* harmony default export */ var SelectButtonvue_type_script_lang_js_ = ({
|
|
5420
5350
|
props: {
|
|
@@ -5443,15 +5373,12 @@ function SelectButtonvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (le
|
|
|
5443
5373
|
},
|
|
5444
5374
|
onOptionSelect: function onOptionSelect(event, option) {
|
|
5445
5375
|
var _this = this;
|
|
5446
|
-
|
|
5447
5376
|
if (this.disabled || this.isOptionDisabled(option)) {
|
|
5448
5377
|
return;
|
|
5449
5378
|
}
|
|
5450
|
-
|
|
5451
5379
|
var selected = this.isSelected(option);
|
|
5452
5380
|
var optionValue = this.getOptionValue(option);
|
|
5453
5381
|
var newValue;
|
|
5454
|
-
|
|
5455
5382
|
if (this.multiple) {
|
|
5456
5383
|
if (selected) newValue = this.value.filter(function (val) {
|
|
5457
5384
|
return !ObjectUtils_ObjectUtils.equals(val, optionValue, _this.equalityKey);
|
|
@@ -5459,22 +5386,18 @@ function SelectButtonvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (le
|
|
|
5459
5386
|
} else {
|
|
5460
5387
|
newValue = optionValue;
|
|
5461
5388
|
}
|
|
5462
|
-
|
|
5463
5389
|
this.$emit('input', newValue);
|
|
5464
5390
|
},
|
|
5465
5391
|
isSelected: function isSelected(option) {
|
|
5466
5392
|
var selected = false;
|
|
5467
5393
|
var optionValue = this.getOptionValue(option);
|
|
5468
|
-
|
|
5469
5394
|
if (this.multiple) {
|
|
5470
5395
|
if (this.value) {
|
|
5471
5396
|
var _iterator = SelectButtonvue_type_script_lang_js_createForOfIteratorHelper(this.value),
|
|
5472
|
-
|
|
5473
|
-
|
|
5397
|
+
_step;
|
|
5474
5398
|
try {
|
|
5475
5399
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5476
5400
|
var val = _step.value;
|
|
5477
|
-
|
|
5478
5401
|
if (ObjectUtils_ObjectUtils.equals(val, optionValue, this.equalityKey)) {
|
|
5479
5402
|
selected = true;
|
|
5480
5403
|
break;
|
|
@@ -5489,7 +5412,6 @@ function SelectButtonvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (le
|
|
|
5489
5412
|
} else {
|
|
5490
5413
|
selected = ObjectUtils_ObjectUtils.equals(this.value, optionValue, this.equalityKey);
|
|
5491
5414
|
}
|
|
5492
|
-
|
|
5493
5415
|
return selected;
|
|
5494
5416
|
},
|
|
5495
5417
|
onFocus: function onFocus(event) {
|
|
@@ -5528,20 +5450,19 @@ function SelectButtonvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (le
|
|
|
5528
5450
|
// This module is a runtime utility for cleaner component module output and will
|
|
5529
5451
|
// be included in the final webpack user bundle.
|
|
5530
5452
|
|
|
5531
|
-
function normalizeComponent
|
|
5453
|
+
function normalizeComponent(
|
|
5532
5454
|
scriptExports,
|
|
5533
5455
|
render,
|
|
5534
5456
|
staticRenderFns,
|
|
5535
5457
|
functionalTemplate,
|
|
5536
5458
|
injectStyles,
|
|
5537
5459
|
scopeId,
|
|
5538
|
-
moduleIdentifier
|
|
5460
|
+
moduleIdentifier /* server only */,
|
|
5539
5461
|
shadowMode /* vue-cli only */
|
|
5540
5462
|
) {
|
|
5541
5463
|
// Vue.extend constructor export interop
|
|
5542
|
-
var options =
|
|
5543
|
-
? scriptExports.options
|
|
5544
|
-
: scriptExports
|
|
5464
|
+
var options =
|
|
5465
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
5545
5466
|
|
|
5546
5467
|
// render functions
|
|
5547
5468
|
if (render) {
|
|
@@ -5561,7 +5482,8 @@ function normalizeComponent (
|
|
|
5561
5482
|
}
|
|
5562
5483
|
|
|
5563
5484
|
var hook
|
|
5564
|
-
if (moduleIdentifier) {
|
|
5485
|
+
if (moduleIdentifier) {
|
|
5486
|
+
// server build
|
|
5565
5487
|
hook = function (context) {
|
|
5566
5488
|
// 2.3 injection
|
|
5567
5489
|
context =
|
|
@@ -5587,11 +5509,11 @@ function normalizeComponent (
|
|
|
5587
5509
|
} else if (injectStyles) {
|
|
5588
5510
|
hook = shadowMode
|
|
5589
5511
|
? function () {
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5512
|
+
injectStyles.call(
|
|
5513
|
+
this,
|
|
5514
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
5515
|
+
)
|
|
5516
|
+
}
|
|
5595
5517
|
: injectStyles
|
|
5596
5518
|
}
|
|
5597
5519
|
|
|
@@ -5602,16 +5524,14 @@ function normalizeComponent (
|
|
|
5602
5524
|
options._injectStyles = hook
|
|
5603
5525
|
// register for functional component in vue file
|
|
5604
5526
|
var originalRender = options.render
|
|
5605
|
-
options.render = function renderWithStyleInjection
|
|
5527
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
5606
5528
|
hook.call(context)
|
|
5607
5529
|
return originalRender(h, context)
|
|
5608
5530
|
}
|
|
5609
5531
|
} else {
|
|
5610
5532
|
// inject component registration as beforeCreate hook
|
|
5611
5533
|
var existing = options.beforeCreate
|
|
5612
|
-
options.beforeCreate = existing
|
|
5613
|
-
? [].concat(existing, hook)
|
|
5614
|
-
: [hook]
|
|
5534
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
5615
5535
|
}
|
|
5616
5536
|
}
|
|
5617
5537
|
|