primevue 2.9.2 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +150 -3
- package/accordion/accordion.common.js +66 -72
- package/accordion/accordion.umd.js +66 -72
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/accordiontab.common.js +73 -103
- package/accordiontab/accordiontab.umd.js +73 -103
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/api/Api.d.ts +24 -2
- package/api/Api.js +0 -6
- package/api/FilterService.js +2 -55
- package/api/PrimeIcons.js +24 -2
- package/api/api.common.js +35 -98
- package/api/api.umd.js +35 -98
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +11 -96
- package/api/filterservice.umd.js +11 -96
- package/api/primeicons.common.js +24 -2
- package/api/primeicons.umd.js +24 -2
- package/api/primeicons.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +241 -293
- package/autocomplete/autocomplete.umd.js +241 -293
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +64 -61
- package/avatar/avatar.umd.js +64 -61
- package/avatar/avatar.umd.min.js +1 -1
- package/avatargroup/avatargroup.common.js +44 -47
- package/avatargroup/avatargroup.umd.js +44 -47
- package/avatargroup/avatargroup.umd.min.js +1 -1
- package/badge/badge.common.js +22 -23
- package/badge/badge.umd.js +22 -23
- package/badge/badge.umd.min.js +1 -1
- package/badgedirective/BadgeDirective.js +0 -13
- package/badgedirective/badgedirective.common.js +13 -71
- package/badgedirective/badgedirective.umd.js +13 -71
- package/blockui/blockui.common.js +79 -138
- package/blockui/blockui.umd.js +79 -138
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +130 -90
- package/breadcrumb/breadcrumb.umd.js +130 -90
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +67 -40
- package/breadcrumb/breadcrumbitem.umd.js +67 -40
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/Button.d.ts +2 -0
- package/button/Button.vue +10 -1
- package/button/button.common.js +64 -109
- package/button/button.umd.js +64 -109
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +7 -3
- package/calendar/calendar.common.js +714 -721
- package/calendar/calendar.umd.js +714 -721
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +59 -62
- package/card/card.umd.js +59 -62
- package/card/card.umd.min.js +1 -1
- package/carousel/carousel.common.js +190 -231
- package/carousel/carousel.umd.js +190 -231
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +230 -294
- package/cascadeselect/cascadeselect.umd.js +230 -294
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +101 -183
- package/cascadeselect/cascadeselectsub.umd.js +101 -183
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +4 -3
- package/chart/chart.common.js +77 -74
- package/chart/chart.umd.js +77 -74
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/checkbox.common.js +70 -87
- package/checkbox/checkbox.umd.js +70 -87
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +66 -52
- package/chip/chip.umd.js +66 -52
- package/chip/chip.umd.min.js +1 -1
- package/chips/chips.common.js +122 -96
- package/chips/chips.umd.js +122 -96
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +149 -193
- package/colorpicker/colorpicker.umd.js +149 -193
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/column.common.js +13 -15
- package/column/column.umd.js +13 -15
- package/columngroup/columngroup.common.js +20 -25
- package/columngroup/columngroup.umd.js +20 -25
- package/columngroup/columngroup.umd.min.js +1 -1
- package/config/PrimeVue.js +0 -5
- package/config/primevue.common.js +35 -102
- package/config/primevue.umd.js +35 -102
- package/config/primevue.umd.min.js +1 -1
- package/confirmationeventbus/ConfirmationEventBus.js +0 -4
- package/confirmationeventbus/confirmationeventbus.common.js +0 -2
- package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
- package/confirmationservice/ConfirmationService.js +0 -3
- package/confirmationservice/confirmationservice.common.js +0 -2
- package/confirmationservice/confirmationservice.umd.js +0 -2
- package/confirmdialog/confirmdialog.common.js +247 -218
- package/confirmdialog/confirmdialog.umd.js +247 -218
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +154 -196
- package/confirmpopup/confirmpopup.umd.js +154 -196
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +216 -206
- package/contextmenu/contextmenu.umd.js +216 -206
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +138 -134
- package/contextmenu/contextmenusub.umd.js +138 -134
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/contextmenu/demo.html +3 -4
- package/datatable/BodyCell.vue +11 -2
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/DataTable.vue +2 -12
- package/datatable/HeaderCheckbox.vue +5 -8
- package/datatable/bodycell.common.js +283 -246
- package/datatable/bodycell.umd.js +283 -246
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +516 -422
- package/datatable/columnfilter.umd.js +516 -422
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/columnslot.common.js +13 -15
- package/datatable/columnslot.umd.js +13 -15
- package/datatable/datatable.common.js +2250 -1551
- package/datatable/datatable.umd.js +2250 -1551
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/footercell.common.js +56 -142
- package/datatable/footercell.umd.js +56 -142
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +666 -483
- package/datatable/headercell.umd.js +666 -483
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +59 -33
- package/datatable/headercheckbox.umd.js +59 -33
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +61 -30
- package/datatable/rowcheckbox.umd.js +61 -30
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +54 -27
- package/datatable/rowradiobutton.umd.js +54 -27
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +461 -321
- package/datatable/tablebody.umd.js +461 -321
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +94 -175
- package/datatable/tablefooter.umd.js +94 -175
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +872 -539
- package/datatable/tableheader.umd.js +872 -539
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +36 -29
- package/datatable/tableloadingbody.umd.js +36 -29
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +851 -720
- package/dataview/dataview.umd.js +851 -720
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +46 -30
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +46 -30
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
- package/deferredcontent/deferredcontent.common.js +22 -28
- package/deferredcontent/deferredcontent.umd.js +22 -28
- package/deferredcontent/deferredcontent.umd.min.js +1 -1
- package/dialog/dialog.common.js +152 -179
- package/dialog/dialog.umd.js +152 -179
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +49 -49
- package/divider/divider.umd.js +49 -49
- package/divider/divider.umd.min.js +1 -1
- package/dock/dock.common.js +179 -95
- package/dock/dock.umd.js +179 -95
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +132 -54
- package/dock/docksub.umd.js +132 -54
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/dropdown.common.js +233 -289
- package/dropdown/dropdown.umd.js +233 -289
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +194 -104
- package/editor/editor.umd.js +194 -104
- package/editor/editor.umd.min.js +3 -3
- package/fieldset/fieldset.common.js +133 -165
- package/fieldset/fieldset.umd.js +133 -165
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/fileupload.common.js +431 -373
- package/fileupload/fileupload.umd.js +431 -373
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +75 -64
- package/fullcalendar/fullcalendar.umd.js +75 -64
- package/fullcalendar/fullcalendar.umd.min.js +4 -18
- package/galleria/galleria.common.js +403 -299
- package/galleria/galleria.umd.js +403 -299
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +324 -235
- package/galleria/galleriacontent.umd.js +324 -235
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +127 -135
- package/galleria/galleriaitem.umd.js +127 -135
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +17 -25
- package/galleria/galleriaitemslot.umd.js +17 -25
- package/galleria/galleriathumbnails.common.js +125 -171
- package/galleria/galleriathumbnails.umd.js +125 -171
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +174 -163
- package/imagepreview/imagepreview.umd.js +174 -163
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +61 -57
- package/inlinemessage/inlinemessage.umd.js +61 -57
- package/inlinemessage/inlinemessage.umd.min.js +1 -1
- package/inplace/inplace.common.js +139 -170
- package/inplace/inplace.umd.js +139 -170
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +51 -174
- package/inputmask/inputmask.umd.js +51 -174
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +6 -3
- package/inputnumber/inputnumber.common.js +205 -293
- package/inputnumber/inputnumber.umd.js +205 -293
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +219 -37
- package/inputswitch/inputswitch.umd.js +219 -37
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +27 -28
- package/inputtext/inputtext.umd.js +27 -28
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +102 -74
- package/knob/knob.umd.js +102 -74
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +163 -237
- package/listbox/listbox.umd.js +163 -237
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -2
- package/megamenu/megamenu.common.js +273 -230
- package/megamenu/megamenu.umd.js +273 -230
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +201 -203
- package/menu/menu.umd.js +201 -203
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +95 -116
- package/menu/menuitem.umd.js +95 -116
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/menubar.common.js +223 -214
- package/menubar/menubar.umd.js +223 -214
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +142 -149
- package/menubar/menubarsub.umd.js +142 -149
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +108 -157
- package/message/message.umd.js +108 -157
- package/message/message.umd.min.js +1 -1
- package/multiselect/multiselect.common.js +291 -315
- package/multiselect/multiselect.umd.js +291 -315
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/orderlist.common.js +206 -263
- package/orderlist/orderlist.umd.js +206 -263
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +188 -190
- package/organizationchart/organizationchart.umd.js +188 -190
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +122 -124
- package/organizationchart/organizationchartnode.umd.js +122 -124
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlayeventbus/OverlayEventBus.js +0 -4
- package/overlayeventbus/overlayeventbus.common.js +0 -2
- package/overlayeventbus/overlayeventbus.umd.js +0 -2
- package/overlaypanel/overlaypanel.common.js +108 -176
- package/overlaypanel/overlaypanel.umd.js +108 -176
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +3 -3
- package/paginator/currentpagereport.common.js +22 -22
- package/paginator/currentpagereport.umd.js +22 -22
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/firstpagelink.common.js +44 -102
- package/paginator/firstpagelink.umd.js +44 -102
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +254 -300
- package/paginator/jumptopagedropdown.umd.js +254 -300
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +225 -303
- package/paginator/jumptopageinput.umd.js +225 -303
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +44 -102
- package/paginator/lastpagelink.umd.js +44 -102
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +44 -102
- package/paginator/nextpagelink.umd.js +44 -102
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +54 -102
- package/paginator/pagelinks.umd.js +54 -102
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +741 -654
- package/paginator/paginator.umd.js +741 -654
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +44 -102
- package/paginator/prevpagelink.umd.js +44 -102
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +253 -300
- package/paginator/rowsperpagedropdown.umd.js +253 -300
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +129 -164
- package/panel/panel.umd.js +129 -164
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +235 -129
- package/panelmenu/panelmenu.umd.js +235 -129
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +110 -55
- package/panelmenu/panelmenusub.umd.js +110 -55
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/Password.vue +64 -14
- package/password/password.common.js +243 -239
- package/password/password.umd.js +243 -239
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +332 -323
- package/picklist/picklist.umd.js +332 -323
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +83 -76
- package/progressbar/progressbar.umd.js +83 -76
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +545 -45
- package/progressspinner/progressspinner.umd.js +545 -45
- package/progressspinner/progressspinner.umd.min.js +1 -1
- package/radiobutton/radiobutton.common.js +68 -83
- package/radiobutton/radiobutton.umd.js +68 -83
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +92 -68
- package/rating/rating.umd.js +92 -68
- package/rating/rating.umd.min.js +1 -1
- package/ripple/Ripple.js +0 -18
- package/ripple/ripple.common.js +13 -77
- package/ripple/ripple.umd.js +13 -77
- package/row/row.common.js +20 -25
- package/row/row.umd.js +20 -25
- package/row/row.umd.min.js +1 -1
- package/scrollpanel/scrollpanel.common.js +103 -154
- package/scrollpanel/scrollpanel.umd.js +103 -154
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +90 -132
- package/scrolltop/scrolltop.umd.js +90 -132
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +91 -171
- package/selectbutton/selectbutton.umd.js +91 -171
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.d.ts +1 -0
- package/sidebar/Sidebar.vue +3 -0
- package/sidebar/sidebar.common.js +115 -166
- package/sidebar/sidebar.umd.js +115 -166
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +57 -57
- package/skeleton/skeleton.umd.js +57 -57
- package/skeleton/skeleton.umd.min.js +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/slider.common.js +175 -166
- package/slider/slider.umd.js +175 -166
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.common.js +186 -204
- package/speeddial/speeddial.umd.js +186 -204
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +327 -279
- package/splitbutton/splitbutton.umd.js +327 -279
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +70 -143
- package/splitter/splitter.umd.js +70 -143
- package/splitter/splitter.umd.min.js +1 -1
- package/splitterpanel/splitterpanel.common.js +13 -15
- package/splitterpanel/splitterpanel.umd.js +13 -15
- package/steps/steps.common.js +112 -77
- package/steps/steps.umd.js +112 -77
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.js +0 -43
- package/styleclass/styleclass.common.js +13 -99
- package/styleclass/styleclass.umd.js +13 -99
- package/tabmenu/tabmenu.common.js +139 -165
- package/tabmenu/tabmenu.umd.js +139 -165
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +31 -26
- package/tabpanel/tabpanel.umd.js +31 -26
- package/tabpanel/tabpanel.umd.min.js +1 -1
- package/tabview/tabview.common.js +178 -220
- package/tabview/tabview.umd.js +178 -220
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +59 -59
- package/tag/tag.umd.js +59 -59
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +96 -68
- package/terminal/terminal.umd.js +96 -68
- package/terminal/terminal.umd.min.js +1 -1
- package/terminalservice/TerminalService.js +0 -3
- package/textarea/Textarea.vue +24 -1
- package/textarea/textarea.common.js +2083 -91
- package/textarea/textarea.umd.js +2083 -91
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/demo.html +3 -4
- package/tieredmenu/tieredmenu.common.js +214 -219
- package/tieredmenu/tieredmenu.umd.js +214 -219
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +142 -145
- package/tieredmenu/tieredmenusub.umd.js +142 -145
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +101 -134
- package/timeline/timeline.umd.js +101 -134
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +145 -182
- package/toast/toast.umd.js +145 -182
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +70 -115
- package/toast/toastmessage.umd.js +70 -115
- package/toast/toastmessage.umd.min.js +1 -1
- package/toastservice/ToastEventBus.js +0 -3
- package/toastservice/ToastService.js +0 -3
- package/togglebutton/togglebutton.common.js +54 -103
- package/togglebutton/togglebutton.umd.js +54 -103
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +46 -47
- package/toolbar/toolbar.umd.js +46 -47
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.js +4 -84
- package/tooltip/tooltip.common.js +17 -133
- package/tooltip/tooltip.umd.js +17 -133
- package/tree/tree.common.js +227 -316
- package/tree/tree.umd.js +227 -316
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +108 -158
- package/tree/treenode.umd.js +108 -158
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/footercell.common.js +49 -141
- package/treetable/footercell.umd.js +49 -141
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +68 -153
- package/treetable/headercell.umd.js +68 -153
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +1086 -1044
- package/treetable/treetable.umd.js +1086 -1044
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablecolumnslot.common.js +13 -15
- package/treetable/treetablecolumnslot.umd.js +13 -15
- package/treetable/treetablerow.common.js +113 -194
- package/treetable/treetablerow.umd.js +113 -194
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +115 -214
- package/treetable/treetablerowloader.umd.js +115 -214
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +59 -38
- package/tristatecheckbox/tristatecheckbox.umd.js +59 -38
- package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
- package/utils/ConnectedOverlayScrollHandler.js +0 -12
- package/utils/DomHandler.js +13 -61
- package/utils/EventBus.js +0 -3
- package/utils/ObjectUtils.js +9 -51
- package/utils/UniqueComponentId.js +0 -1
- package/utils/Utils.js +0 -6
- package/utils/connectedoverlayscrollhandler.common.js +13 -70
- package/utils/connectedoverlayscrollhandler.umd.js +13 -70
- package/utils/domhandler.common.js +13 -63
- package/utils/domhandler.umd.js +13 -63
- package/utils/eventbus.common.js +0 -2
- package/utils/eventbus.umd.js +0 -2
- package/utils/objectutils.common.js +9 -52
- package/utils/objectutils.umd.js +9 -52
- package/utils/utils.common.js +22 -119
- package/utils/utils.umd.js +22 -119
- package/vetur-attributes.json +8 -0
- package/vetur-tags.json +3 -1
- package/web-types.json +28 -1
package/tabmenu/tabmenu.umd.js
CHANGED
|
@@ -343,6 +343,22 @@ exports.f = __webpack_require__("9e1e") ? gOPD : function getOwnPropertyDescript
|
|
|
343
343
|
};
|
|
344
344
|
|
|
345
345
|
|
|
346
|
+
/***/ }),
|
|
347
|
+
|
|
348
|
+
/***/ "13ae":
|
|
349
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
350
|
+
|
|
351
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
352
|
+
|
|
353
|
+
// load the styles
|
|
354
|
+
var content = __webpack_require__("e6b8");
|
|
355
|
+
if(content.__esModule) content = content.default;
|
|
356
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
357
|
+
if(content.locals) module.exports = content.locals;
|
|
358
|
+
// add the styles to the DOM
|
|
359
|
+
var add = __webpack_require__("499e").default
|
|
360
|
+
var update = add("ee920c94", content, true, {"sourceMap":false,"shadowMode":false});
|
|
361
|
+
|
|
346
362
|
/***/ }),
|
|
347
363
|
|
|
348
364
|
/***/ "1495":
|
|
@@ -714,22 +730,6 @@ module.exports = __webpack_require__("8378").getIteratorMethod = function (it) {
|
|
|
714
730
|
};
|
|
715
731
|
|
|
716
732
|
|
|
717
|
-
/***/ }),
|
|
718
|
-
|
|
719
|
-
/***/ "28a1":
|
|
720
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
721
|
-
|
|
722
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
723
|
-
|
|
724
|
-
// load the styles
|
|
725
|
-
var content = __webpack_require__("d859");
|
|
726
|
-
if(content.__esModule) content = content.default;
|
|
727
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
728
|
-
if(content.locals) module.exports = content.locals;
|
|
729
|
-
// add the styles to the DOM
|
|
730
|
-
var add = __webpack_require__("499e").default
|
|
731
|
-
var update = add("cec57880", content, true, {"sourceMap":false,"shadowMode":false});
|
|
732
|
-
|
|
733
733
|
/***/ }),
|
|
734
734
|
|
|
735
735
|
/***/ "28a5":
|
|
@@ -1161,6 +1161,17 @@ if (__webpack_require__("9e1e") && (!CORRECT_NEW || __webpack_require__("79e5")(
|
|
|
1161
1161
|
__webpack_require__("7a56")('RegExp');
|
|
1162
1162
|
|
|
1163
1163
|
|
|
1164
|
+
/***/ }),
|
|
1165
|
+
|
|
1166
|
+
/***/ "3edc":
|
|
1167
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1168
|
+
|
|
1169
|
+
"use strict";
|
|
1170
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabMenu_vue_vue_type_style_index_0_id_7bf90cb6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("13ae");
|
|
1171
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabMenu_vue_vue_type_style_index_0_id_7bf90cb6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabMenu_vue_vue_type_style_index_0_id_7bf90cb6_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1172
|
+
/* unused harmony reexport * */
|
|
1173
|
+
|
|
1174
|
+
|
|
1164
1175
|
/***/ }),
|
|
1165
1176
|
|
|
1166
1177
|
/***/ "41a0":
|
|
@@ -3056,32 +3067,6 @@ module.exports = function (it) {
|
|
|
3056
3067
|
};
|
|
3057
3068
|
|
|
3058
3069
|
|
|
3059
|
-
/***/ }),
|
|
3060
|
-
|
|
3061
|
-
/***/ "d61c":
|
|
3062
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3063
|
-
|
|
3064
|
-
"use strict";
|
|
3065
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabMenu_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("28a1");
|
|
3066
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabMenu_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TabMenu_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
3067
|
-
/* unused harmony reexport * */
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
/***/ }),
|
|
3071
|
-
|
|
3072
|
-
/***/ "d859":
|
|
3073
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3074
|
-
|
|
3075
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
3076
|
-
// imports
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
// module
|
|
3080
|
-
exports.push([module.i, ".p-tabmenu{overflow-x:auto}.p-tabmenu-nav{margin:0;padding:0;list-style-type:none;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.p-tabmenu-nav,.p-tabmenu-nav a{display:-webkit-box;display:-ms-flexbox;display:flex}.p-tabmenu-nav a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabmenu-nav a:focus{z-index:1}.p-tabmenu-nav .p-menuitem-text{line-height:1}.p-tabmenu-ink-bar{display:none;z-index:1}", ""]);
|
|
3081
|
-
|
|
3082
|
-
// exports
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
3070
|
/***/ }),
|
|
3086
3071
|
|
|
3087
3072
|
/***/ "d864":
|
|
@@ -3179,6 +3164,21 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
|
|
|
3179
3164
|
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
3180
3165
|
|
|
3181
3166
|
|
|
3167
|
+
/***/ }),
|
|
3168
|
+
|
|
3169
|
+
/***/ "e6b8":
|
|
3170
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3171
|
+
|
|
3172
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
3173
|
+
// imports
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
// module
|
|
3177
|
+
exports.push([module.i, ".p-tabmenu{overflow-x:auto}.p-tabmenu-nav{margin:0;padding:0;list-style-type:none;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.p-tabmenu-nav,.p-tabmenu-nav a{display:-webkit-box;display:-ms-flexbox;display:flex}.p-tabmenu-nav a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabmenu-nav a:focus{z-index:1}.p-tabmenu-nav .p-menuitem-text{line-height:1}.p-tabmenu-ink-bar{display:none;z-index:1}", ""]);
|
|
3178
|
+
|
|
3179
|
+
// exports
|
|
3180
|
+
|
|
3181
|
+
|
|
3182
3182
|
/***/ }),
|
|
3183
3183
|
|
|
3184
3184
|
/***/ "e853":
|
|
@@ -3356,10 +3356,75 @@ if (typeof window !== 'undefined') {
|
|
|
3356
3356
|
// Indicate to webpack that this file can be concatenated
|
|
3357
3357
|
/* harmony default export */ var setPublicPath = (null);
|
|
3358
3358
|
|
|
3359
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3360
|
-
var render = function () {
|
|
3361
|
-
var
|
|
3362
|
-
|
|
3359
|
+
// 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/tabmenu/TabMenu.vue?vue&type=template&id=7bf90cb6&
|
|
3360
|
+
var render = function render() {
|
|
3361
|
+
var _vm = this,
|
|
3362
|
+
_c = _vm._self._c;
|
|
3363
|
+
return _c('div', {
|
|
3364
|
+
staticClass: "p-tabmenu p-component"
|
|
3365
|
+
}, [_c('ul', {
|
|
3366
|
+
ref: "nav",
|
|
3367
|
+
staticClass: "p-tabmenu-nav p-reset",
|
|
3368
|
+
attrs: {
|
|
3369
|
+
"role": "tablist"
|
|
3370
|
+
}
|
|
3371
|
+
}, [_vm._l(_vm.model, function (item, i) {
|
|
3372
|
+
return [_vm.visible(item) ? _c('li', {
|
|
3373
|
+
key: _vm.label(item) + '_' + i,
|
|
3374
|
+
class: _vm.getItemClass(item, i),
|
|
3375
|
+
style: item.style,
|
|
3376
|
+
attrs: {
|
|
3377
|
+
"role": "tab",
|
|
3378
|
+
"aria-selected": _vm.isActive(item),
|
|
3379
|
+
"aria-expanded": _vm.isActive(item)
|
|
3380
|
+
}
|
|
3381
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
3382
|
+
directives: [{
|
|
3383
|
+
name: "ripple",
|
|
3384
|
+
rawName: "v-ripple"
|
|
3385
|
+
}],
|
|
3386
|
+
staticClass: "p-menuitem-link",
|
|
3387
|
+
attrs: {
|
|
3388
|
+
"to": item.to,
|
|
3389
|
+
"role": "presentation"
|
|
3390
|
+
},
|
|
3391
|
+
nativeOn: {
|
|
3392
|
+
"click": function click($event) {
|
|
3393
|
+
return _vm.onItemClick($event, item, i);
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
}, [item.icon ? _c('span', {
|
|
3397
|
+
class: _vm.getItemIcon(item)
|
|
3398
|
+
}) : _vm._e(), _c('span', {
|
|
3399
|
+
staticClass: "p-menuitem-text"
|
|
3400
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])]) : _c('a', {
|
|
3401
|
+
directives: [{
|
|
3402
|
+
name: "ripple",
|
|
3403
|
+
rawName: "v-ripple"
|
|
3404
|
+
}],
|
|
3405
|
+
staticClass: "p-menuitem-link",
|
|
3406
|
+
attrs: {
|
|
3407
|
+
"href": item.url,
|
|
3408
|
+
"target": item.target,
|
|
3409
|
+
"role": "presentation",
|
|
3410
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
3411
|
+
},
|
|
3412
|
+
on: {
|
|
3413
|
+
"click": function click($event) {
|
|
3414
|
+
return _vm.onItemClick($event, item, i);
|
|
3415
|
+
}
|
|
3416
|
+
}
|
|
3417
|
+
}, [item.icon ? _c('span', {
|
|
3418
|
+
class: _vm.getItemIcon(item)
|
|
3419
|
+
}) : _vm._e(), _c('span', {
|
|
3420
|
+
staticClass: "p-menuitem-text"
|
|
3421
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])], 1) : _vm._e()];
|
|
3422
|
+
}), _c('li', {
|
|
3423
|
+
ref: "inkbar",
|
|
3424
|
+
staticClass: "p-tabmenu-ink-bar"
|
|
3425
|
+
})], 2)]);
|
|
3426
|
+
};
|
|
3427
|
+
var staticRenderFns = [];
|
|
3363
3428
|
|
|
3364
3429
|
// CONCATENATED MODULE: ./src/components/tabmenu/TabMenu.vue?vue&type=template&id=7bf90cb6&
|
|
3365
3430
|
|
|
@@ -3411,26 +3476,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3411
3476
|
|
|
3412
3477
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3413
3478
|
|
|
3414
|
-
|
|
3415
3479
|
function _defineProperties(target, props) {
|
|
3416
3480
|
for (var i = 0; i < props.length; i++) {
|
|
3417
3481
|
var descriptor = props[i];
|
|
3418
3482
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3419
3483
|
descriptor.configurable = true;
|
|
3420
3484
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3421
|
-
|
|
3422
3485
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3423
3486
|
}
|
|
3424
3487
|
}
|
|
3425
|
-
|
|
3426
3488
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3427
3489
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3428
3490
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3429
|
-
|
|
3430
3491
|
define_property_default()(Constructor, "prototype", {
|
|
3431
3492
|
writable: false
|
|
3432
3493
|
});
|
|
3433
|
-
|
|
3434
3494
|
return Constructor;
|
|
3435
3495
|
}
|
|
3436
3496
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3446,18 +3506,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3446
3506
|
|
|
3447
3507
|
|
|
3448
3508
|
|
|
3449
|
-
|
|
3450
3509
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
3451
|
-
|
|
3452
3510
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
3453
|
-
|
|
3454
3511
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
3455
|
-
|
|
3456
3512
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3457
3513
|
function DomHandler() {
|
|
3458
3514
|
_classCallCheck(this, DomHandler);
|
|
3459
3515
|
}
|
|
3460
|
-
|
|
3461
3516
|
_createClass(DomHandler, null, [{
|
|
3462
3517
|
key: "innerWidth",
|
|
3463
3518
|
value: function innerWidth(el) {
|
|
@@ -3491,12 +3546,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3491
3546
|
value: function getOuterWidth(el, margin) {
|
|
3492
3547
|
if (el) {
|
|
3493
3548
|
var width = el.offsetWidth;
|
|
3494
|
-
|
|
3495
3549
|
if (margin) {
|
|
3496
3550
|
var style = getComputedStyle(el);
|
|
3497
3551
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3498
3552
|
}
|
|
3499
|
-
|
|
3500
3553
|
return width;
|
|
3501
3554
|
} else {
|
|
3502
3555
|
return 0;
|
|
@@ -3507,12 +3560,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3507
3560
|
value: function getOuterHeight(el, margin) {
|
|
3508
3561
|
if (el) {
|
|
3509
3562
|
var height = el.offsetHeight;
|
|
3510
|
-
|
|
3511
3563
|
if (margin) {
|
|
3512
3564
|
var style = getComputedStyle(el);
|
|
3513
3565
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3514
3566
|
}
|
|
3515
|
-
|
|
3516
3567
|
return height;
|
|
3517
3568
|
} else {
|
|
3518
3569
|
return 0;
|
|
@@ -3523,12 +3574,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3523
3574
|
value: function getClientHeight(el, margin) {
|
|
3524
3575
|
if (el) {
|
|
3525
3576
|
var height = el.clientHeight;
|
|
3526
|
-
|
|
3527
3577
|
if (margin) {
|
|
3528
3578
|
var style = getComputedStyle(el);
|
|
3529
3579
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3530
3580
|
}
|
|
3531
|
-
|
|
3532
3581
|
return height;
|
|
3533
3582
|
} else {
|
|
3534
3583
|
return 0;
|
|
@@ -3538,11 +3587,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3538
3587
|
key: "getViewport",
|
|
3539
3588
|
value: function getViewport() {
|
|
3540
3589
|
var win = window,
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3590
|
+
d = document,
|
|
3591
|
+
e = d.documentElement,
|
|
3592
|
+
g = d.getElementsByTagName('body')[0],
|
|
3593
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3594
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3546
3595
|
return {
|
|
3547
3596
|
width: w,
|
|
3548
3597
|
height: h
|
|
@@ -3573,12 +3622,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3573
3622
|
value: function index(element) {
|
|
3574
3623
|
var children = element.parentNode.childNodes;
|
|
3575
3624
|
var num = 0;
|
|
3576
|
-
|
|
3577
3625
|
for (var i = 0; i < children.length; i++) {
|
|
3578
3626
|
if (children[i] === element) return num;
|
|
3579
3627
|
if (children[i].nodeType === 1) num++;
|
|
3580
3628
|
}
|
|
3581
|
-
|
|
3582
3629
|
return -1;
|
|
3583
3630
|
}
|
|
3584
3631
|
}, {
|
|
@@ -3586,13 +3633,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3586
3633
|
value: function addMultipleClasses(element, className) {
|
|
3587
3634
|
if (element.classList) {
|
|
3588
3635
|
var styles = className.split(' ');
|
|
3589
|
-
|
|
3590
3636
|
for (var i = 0; i < styles.length; i++) {
|
|
3591
3637
|
element.classList.add(styles[i]);
|
|
3592
3638
|
}
|
|
3593
3639
|
} else {
|
|
3594
3640
|
var _styles = className.split(' ');
|
|
3595
|
-
|
|
3596
3641
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3597
3642
|
element.className += ' ' + _styles[_i];
|
|
3598
3643
|
}
|
|
@@ -3614,7 +3659,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3614
3659
|
if (element) {
|
|
3615
3660
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3616
3661
|
}
|
|
3617
|
-
|
|
3618
3662
|
return false;
|
|
3619
3663
|
}
|
|
3620
3664
|
}, {
|
|
@@ -3659,11 +3703,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3659
3703
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3660
3704
|
var viewport = this.getViewport();
|
|
3661
3705
|
var top, left;
|
|
3662
|
-
|
|
3663
3706
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3664
3707
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3665
3708
|
element.style.transformOrigin = 'bottom';
|
|
3666
|
-
|
|
3667
3709
|
if (top < 0) {
|
|
3668
3710
|
top = windowScrollTop;
|
|
3669
3711
|
}
|
|
@@ -3671,7 +3713,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3671
3713
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3672
3714
|
element.style.transformOrigin = 'top';
|
|
3673
3715
|
}
|
|
3674
|
-
|
|
3675
3716
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3676
3717
|
element.style.top = top + 'px';
|
|
3677
3718
|
element.style.left = left + 'px';
|
|
@@ -3687,11 +3728,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3687
3728
|
var targetOffset = target.getBoundingClientRect();
|
|
3688
3729
|
var viewport = this.getViewport();
|
|
3689
3730
|
var top, left;
|
|
3690
|
-
|
|
3691
3731
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3692
3732
|
top = -1 * elementDimensions.height;
|
|
3693
3733
|
element.style.transformOrigin = 'bottom';
|
|
3694
|
-
|
|
3695
3734
|
if (targetOffset.top + top < 0) {
|
|
3696
3735
|
top = -1 * targetOffset.top;
|
|
3697
3736
|
}
|
|
@@ -3699,7 +3738,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3699
3738
|
top = targetHeight;
|
|
3700
3739
|
element.style.transformOrigin = 'top';
|
|
3701
3740
|
}
|
|
3702
|
-
|
|
3703
3741
|
if (elementDimensions.width > viewport.width) {
|
|
3704
3742
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3705
3743
|
left = targetOffset.left * -1;
|
|
@@ -3710,7 +3748,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3710
3748
|
// element fits on screen (align with target)
|
|
3711
3749
|
left = 0;
|
|
3712
3750
|
}
|
|
3713
|
-
|
|
3714
3751
|
element.style.top = top + 'px';
|
|
3715
3752
|
element.style.left = left + 'px';
|
|
3716
3753
|
}
|
|
@@ -3724,35 +3761,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3724
3761
|
key: "getScrollableParents",
|
|
3725
3762
|
value: function getScrollableParents(element) {
|
|
3726
3763
|
var scrollableParents = [];
|
|
3727
|
-
|
|
3728
3764
|
if (element) {
|
|
3729
3765
|
var parents = this.getParents(element);
|
|
3730
3766
|
var overflowRegex = /(auto|scroll)/;
|
|
3731
|
-
|
|
3732
3767
|
var overflowCheck = function overflowCheck(node) {
|
|
3733
3768
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3734
3769
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3735
3770
|
};
|
|
3736
|
-
|
|
3737
3771
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3738
|
-
|
|
3739
|
-
|
|
3772
|
+
_step;
|
|
3740
3773
|
try {
|
|
3741
3774
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3742
3775
|
var parent = _step.value;
|
|
3743
3776
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3744
|
-
|
|
3745
3777
|
if (scrollSelectors) {
|
|
3746
3778
|
var selectors = scrollSelectors.split(',');
|
|
3747
|
-
|
|
3748
3779
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3749
|
-
|
|
3750
|
-
|
|
3780
|
+
_step2;
|
|
3751
3781
|
try {
|
|
3752
3782
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3753
3783
|
var selector = _step2.value;
|
|
3754
3784
|
var el = this.findSingle(parent, selector);
|
|
3755
|
-
|
|
3756
3785
|
if (el && overflowCheck(el)) {
|
|
3757
3786
|
scrollableParents.push(el);
|
|
3758
3787
|
}
|
|
@@ -3770,7 +3799,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3770
3799
|
_iterator.f();
|
|
3771
3800
|
}
|
|
3772
3801
|
}
|
|
3773
|
-
|
|
3774
3802
|
return scrollableParents;
|
|
3775
3803
|
}
|
|
3776
3804
|
}, {
|
|
@@ -3811,34 +3839,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3811
3839
|
element.style.opacity = 0;
|
|
3812
3840
|
var last = +new Date();
|
|
3813
3841
|
var opacity = 0;
|
|
3814
|
-
|
|
3815
3842
|
var tick = function tick() {
|
|
3816
3843
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3817
3844
|
element.style.opacity = opacity;
|
|
3818
3845
|
last = +new Date();
|
|
3819
|
-
|
|
3820
3846
|
if (+opacity < 1) {
|
|
3821
3847
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3822
3848
|
}
|
|
3823
3849
|
};
|
|
3824
|
-
|
|
3825
3850
|
tick();
|
|
3826
3851
|
}
|
|
3827
3852
|
}, {
|
|
3828
3853
|
key: "fadeOut",
|
|
3829
3854
|
value: function fadeOut(element, ms) {
|
|
3830
3855
|
var opacity = 1,
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3856
|
+
interval = 50,
|
|
3857
|
+
duration = ms,
|
|
3858
|
+
gap = interval / duration;
|
|
3834
3859
|
var fading = setInterval(function () {
|
|
3835
3860
|
opacity -= gap;
|
|
3836
|
-
|
|
3837
3861
|
if (opacity <= 0) {
|
|
3838
3862
|
opacity = 0;
|
|
3839
3863
|
clearInterval(fading);
|
|
3840
3864
|
}
|
|
3841
|
-
|
|
3842
3865
|
element.style.opacity = opacity;
|
|
3843
3866
|
}, interval);
|
|
3844
3867
|
}
|
|
@@ -3865,7 +3888,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3865
3888
|
var scroll = container.scrollTop;
|
|
3866
3889
|
var elementHeight = container.clientHeight;
|
|
3867
3890
|
var itemHeight = this.getOuterHeight(item);
|
|
3868
|
-
|
|
3869
3891
|
if (offset < 0) {
|
|
3870
3892
|
container.scrollTop = scroll + offset;
|
|
3871
3893
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3884,7 +3906,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3884
3906
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3885
3907
|
try {
|
|
3886
3908
|
document['selection'].empty();
|
|
3887
|
-
} catch (error) {
|
|
3909
|
+
} catch (error) {
|
|
3910
|
+
//ignore IE bug
|
|
3888
3911
|
}
|
|
3889
3912
|
}
|
|
3890
3913
|
}
|
|
@@ -3906,19 +3929,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3906
3929
|
if (!this.browser) {
|
|
3907
3930
|
var matched = this.resolveUserAgent();
|
|
3908
3931
|
this.browser = {};
|
|
3909
|
-
|
|
3910
3932
|
if (matched.browser) {
|
|
3911
3933
|
this.browser[matched.browser] = true;
|
|
3912
3934
|
this.browser['version'] = matched.version;
|
|
3913
3935
|
}
|
|
3914
|
-
|
|
3915
3936
|
if (this.browser['chrome']) {
|
|
3916
3937
|
this.browser['webkit'] = true;
|
|
3917
3938
|
} else if (this.browser['webkit']) {
|
|
3918
3939
|
this.browser['safari'] = true;
|
|
3919
3940
|
}
|
|
3920
3941
|
}
|
|
3921
|
-
|
|
3922
3942
|
return this.browser;
|
|
3923
3943
|
}
|
|
3924
3944
|
}, {
|
|
@@ -3946,10 +3966,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3946
3966
|
value: function getFocusableElements(element) {
|
|
3947
3967
|
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])");
|
|
3948
3968
|
var visibleFocusableElements = [];
|
|
3949
|
-
|
|
3950
3969
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3951
|
-
|
|
3952
|
-
|
|
3970
|
+
_step3;
|
|
3953
3971
|
try {
|
|
3954
3972
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3955
3973
|
var focusableElement = _step3.value;
|
|
@@ -3960,7 +3978,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3960
3978
|
} finally {
|
|
3961
3979
|
_iterator3.f();
|
|
3962
3980
|
}
|
|
3963
|
-
|
|
3964
3981
|
return visibleFocusableElements;
|
|
3965
3982
|
}
|
|
3966
3983
|
}, {
|
|
@@ -4003,55 +4020,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4003
4020
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4004
4021
|
}
|
|
4005
4022
|
}]);
|
|
4006
|
-
|
|
4007
4023
|
return DomHandler;
|
|
4008
4024
|
}();
|
|
4009
4025
|
|
|
4010
|
-
|
|
4011
4026
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
4012
4027
|
|
|
4013
|
-
|
|
4014
4028
|
function bindEvents(el) {
|
|
4015
4029
|
el.addEventListener('mousedown', onMouseDown);
|
|
4016
4030
|
}
|
|
4017
|
-
|
|
4018
4031
|
function unbindEvents(el) {
|
|
4019
4032
|
el.removeEventListener('mousedown', onMouseDown);
|
|
4020
4033
|
}
|
|
4021
|
-
|
|
4022
4034
|
function create(el) {
|
|
4023
4035
|
var ink = document.createElement('span');
|
|
4024
4036
|
ink.className = 'p-ink';
|
|
4025
4037
|
el.appendChild(ink);
|
|
4026
4038
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
4027
4039
|
}
|
|
4028
|
-
|
|
4029
4040
|
function remove(el) {
|
|
4030
4041
|
var ink = getInk(el);
|
|
4031
|
-
|
|
4032
4042
|
if (ink) {
|
|
4033
4043
|
unbindEvents(el);
|
|
4034
4044
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
4035
4045
|
ink.remove();
|
|
4036
4046
|
}
|
|
4037
4047
|
}
|
|
4038
|
-
|
|
4039
4048
|
function onMouseDown(event) {
|
|
4040
4049
|
var target = event.currentTarget;
|
|
4041
4050
|
var ink = getInk(target);
|
|
4042
|
-
|
|
4043
4051
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
4044
4052
|
return;
|
|
4045
4053
|
}
|
|
4046
|
-
|
|
4047
4054
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
4048
|
-
|
|
4049
4055
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
4050
4056
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
4051
4057
|
ink.style.height = d + 'px';
|
|
4052
4058
|
ink.style.width = d + 'px';
|
|
4053
4059
|
}
|
|
4054
|
-
|
|
4055
4060
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
4056
4061
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
4057
4062
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -4059,21 +4064,17 @@ function onMouseDown(event) {
|
|
|
4059
4064
|
ink.style.left = x + 'px';
|
|
4060
4065
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
4061
4066
|
}
|
|
4062
|
-
|
|
4063
4067
|
function onAnimationEnd(event) {
|
|
4064
4068
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
4065
4069
|
}
|
|
4066
|
-
|
|
4067
4070
|
function getInk(el) {
|
|
4068
4071
|
for (var i = 0; i < el.children.length; i++) {
|
|
4069
4072
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
4070
4073
|
return el.children[i];
|
|
4071
4074
|
}
|
|
4072
4075
|
}
|
|
4073
|
-
|
|
4074
4076
|
return null;
|
|
4075
4077
|
}
|
|
4076
|
-
|
|
4077
4078
|
var Ripple = {
|
|
4078
4079
|
inserted: function inserted(el, binding, vnode) {
|
|
4079
4080
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -4089,26 +4090,6 @@ var Ripple = {
|
|
|
4089
4090
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/tabmenu/TabMenu.vue?vue&type=script&lang=js&
|
|
4090
4091
|
|
|
4091
4092
|
|
|
4092
|
-
//
|
|
4093
|
-
//
|
|
4094
|
-
//
|
|
4095
|
-
//
|
|
4096
|
-
//
|
|
4097
|
-
//
|
|
4098
|
-
//
|
|
4099
|
-
//
|
|
4100
|
-
//
|
|
4101
|
-
//
|
|
4102
|
-
//
|
|
4103
|
-
//
|
|
4104
|
-
//
|
|
4105
|
-
//
|
|
4106
|
-
//
|
|
4107
|
-
//
|
|
4108
|
-
//
|
|
4109
|
-
//
|
|
4110
|
-
//
|
|
4111
|
-
//
|
|
4112
4093
|
|
|
4113
4094
|
|
|
4114
4095
|
/* harmony default export */ var TabMenuvue_type_script_lang_js_ = ({
|
|
@@ -4144,19 +4125,16 @@ var Ripple = {
|
|
|
4144
4125
|
event.preventDefault();
|
|
4145
4126
|
return;
|
|
4146
4127
|
}
|
|
4147
|
-
|
|
4148
4128
|
if (item.command) {
|
|
4149
4129
|
item.command({
|
|
4150
4130
|
originalEvent: event,
|
|
4151
4131
|
item: item
|
|
4152
4132
|
});
|
|
4153
4133
|
}
|
|
4154
|
-
|
|
4155
4134
|
if (index !== this.d_activeIndex) {
|
|
4156
4135
|
this.d_activeIndex = index;
|
|
4157
4136
|
this.$emit('update:activeIndex', this.d_activeIndex);
|
|
4158
4137
|
}
|
|
4159
|
-
|
|
4160
4138
|
this.$emit('tab-change', {
|
|
4161
4139
|
originalEvent: event,
|
|
4162
4140
|
index: index
|
|
@@ -4191,12 +4169,10 @@ var Ripple = {
|
|
|
4191
4169
|
}
|
|
4192
4170
|
}
|
|
4193
4171
|
}
|
|
4194
|
-
|
|
4195
4172
|
return null;
|
|
4196
4173
|
},
|
|
4197
4174
|
updateInkBar: function updateInkBar() {
|
|
4198
4175
|
var activeTabIndex = this.findActiveTabIndex();
|
|
4199
|
-
|
|
4200
4176
|
if (activeTabIndex !== null) {
|
|
4201
4177
|
var tabHeader = this.$refs.nav.children[activeTabIndex];
|
|
4202
4178
|
this.$refs.inkbar.style.width = DomHandler_DomHandler.getWidth(tabHeader) + 'px';
|
|
@@ -4218,8 +4194,8 @@ var Ripple = {
|
|
|
4218
4194
|
});
|
|
4219
4195
|
// CONCATENATED MODULE: ./src/components/tabmenu/TabMenu.vue?vue&type=script&lang=js&
|
|
4220
4196
|
/* harmony default export */ var tabmenu_TabMenuvue_type_script_lang_js_ = (TabMenuvue_type_script_lang_js_);
|
|
4221
|
-
// EXTERNAL MODULE: ./src/components/tabmenu/TabMenu.vue?vue&type=style&index=0&lang=css&
|
|
4222
|
-
var
|
|
4197
|
+
// EXTERNAL MODULE: ./src/components/tabmenu/TabMenu.vue?vue&type=style&index=0&id=7bf90cb6&prod&lang=css&
|
|
4198
|
+
var TabMenuvue_type_style_index_0_id_7bf90cb6_prod_lang_css_ = __webpack_require__("3edc");
|
|
4223
4199
|
|
|
4224
4200
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
4225
4201
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -4228,20 +4204,19 @@ var TabMenuvue_type_style_index_0_lang_css_ = __webpack_require__("d61c");
|
|
|
4228
4204
|
// This module is a runtime utility for cleaner component module output and will
|
|
4229
4205
|
// be included in the final webpack user bundle.
|
|
4230
4206
|
|
|
4231
|
-
function normalizeComponent
|
|
4207
|
+
function normalizeComponent(
|
|
4232
4208
|
scriptExports,
|
|
4233
4209
|
render,
|
|
4234
4210
|
staticRenderFns,
|
|
4235
4211
|
functionalTemplate,
|
|
4236
4212
|
injectStyles,
|
|
4237
4213
|
scopeId,
|
|
4238
|
-
moduleIdentifier
|
|
4214
|
+
moduleIdentifier /* server only */,
|
|
4239
4215
|
shadowMode /* vue-cli only */
|
|
4240
4216
|
) {
|
|
4241
4217
|
// Vue.extend constructor export interop
|
|
4242
|
-
var options =
|
|
4243
|
-
? scriptExports.options
|
|
4244
|
-
: scriptExports
|
|
4218
|
+
var options =
|
|
4219
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4245
4220
|
|
|
4246
4221
|
// render functions
|
|
4247
4222
|
if (render) {
|
|
@@ -4261,7 +4236,8 @@ function normalizeComponent (
|
|
|
4261
4236
|
}
|
|
4262
4237
|
|
|
4263
4238
|
var hook
|
|
4264
|
-
if (moduleIdentifier) {
|
|
4239
|
+
if (moduleIdentifier) {
|
|
4240
|
+
// server build
|
|
4265
4241
|
hook = function (context) {
|
|
4266
4242
|
// 2.3 injection
|
|
4267
4243
|
context =
|
|
@@ -4287,11 +4263,11 @@ function normalizeComponent (
|
|
|
4287
4263
|
} else if (injectStyles) {
|
|
4288
4264
|
hook = shadowMode
|
|
4289
4265
|
? function () {
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4266
|
+
injectStyles.call(
|
|
4267
|
+
this,
|
|
4268
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4269
|
+
)
|
|
4270
|
+
}
|
|
4295
4271
|
: injectStyles
|
|
4296
4272
|
}
|
|
4297
4273
|
|
|
@@ -4302,16 +4278,14 @@ function normalizeComponent (
|
|
|
4302
4278
|
options._injectStyles = hook
|
|
4303
4279
|
// register for functional component in vue file
|
|
4304
4280
|
var originalRender = options.render
|
|
4305
|
-
options.render = function renderWithStyleInjection
|
|
4281
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4306
4282
|
hook.call(context)
|
|
4307
4283
|
return originalRender(h, context)
|
|
4308
4284
|
}
|
|
4309
4285
|
} else {
|
|
4310
4286
|
// inject component registration as beforeCreate hook
|
|
4311
4287
|
var existing = options.beforeCreate
|
|
4312
|
-
options.beforeCreate = existing
|
|
4313
|
-
? [].concat(existing, hook)
|
|
4314
|
-
: [hook]
|
|
4288
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4315
4289
|
}
|
|
4316
4290
|
}
|
|
4317
4291
|
|