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
|
@@ -1145,17 +1145,6 @@ if (__webpack_require__("9e1e") && (!CORRECT_NEW || __webpack_require__("79e5")(
|
|
|
1145
1145
|
__webpack_require__("7a56")('RegExp');
|
|
1146
1146
|
|
|
1147
1147
|
|
|
1148
|
-
/***/ }),
|
|
1149
|
-
|
|
1150
|
-
/***/ "3d9d":
|
|
1151
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1152
|
-
|
|
1153
|
-
"use strict";
|
|
1154
|
-
/* 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_ImagePreview_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("632e");
|
|
1155
|
-
/* 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_ImagePreview_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_ImagePreview_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1156
|
-
/* unused harmony reexport * */
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
1148
|
/***/ }),
|
|
1160
1149
|
|
|
1161
1150
|
/***/ "41a0":
|
|
@@ -1217,21 +1206,6 @@ module.exports = function (bitmap, value) {
|
|
|
1217
1206
|
};
|
|
1218
1207
|
|
|
1219
1208
|
|
|
1220
|
-
/***/ }),
|
|
1221
|
-
|
|
1222
|
-
/***/ "4671":
|
|
1223
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1224
|
-
|
|
1225
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
1226
|
-
// imports
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
// module
|
|
1230
|
-
exports.push([module.i, ".p-image-mask{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s}.p-image-preview-icon{font-size:1.5rem}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0}.p-image-action.p-link,.p-image-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex}.p-image-action.p-link{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-image-preview{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s;max-width:100vw;max-height:100vh}.p-image-preview-enter-active{-webkit-transition:all .15s cubic-bezier(0,0,.2,1);transition:all .15s cubic-bezier(0,0,.2,1)}.p-image-preview-leave-active{-webkit-transition:all .15s cubic-bezier(.4,0,.2,1);transition:all .15s cubic-bezier(.4,0,.2,1)}.p-image-preview-enter,.p-image-preview-leave-to{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}", ""]);
|
|
1231
|
-
|
|
1232
|
-
// exports
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
1209
|
/***/ }),
|
|
1236
1210
|
|
|
1237
1211
|
/***/ "46a7":
|
|
@@ -1796,22 +1770,6 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
|
1796
1770
|
};
|
|
1797
1771
|
|
|
1798
1772
|
|
|
1799
|
-
/***/ }),
|
|
1800
|
-
|
|
1801
|
-
/***/ "632e":
|
|
1802
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1803
|
-
|
|
1804
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1805
|
-
|
|
1806
|
-
// load the styles
|
|
1807
|
-
var content = __webpack_require__("4671");
|
|
1808
|
-
if(content.__esModule) content = content.default;
|
|
1809
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1810
|
-
if(content.locals) module.exports = content.locals;
|
|
1811
|
-
// add the styles to the DOM
|
|
1812
|
-
var add = __webpack_require__("499e").default
|
|
1813
|
-
var update = add("131dd2e1", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1814
|
-
|
|
1815
1773
|
/***/ }),
|
|
1816
1774
|
|
|
1817
1775
|
/***/ "63b6":
|
|
@@ -2841,6 +2799,22 @@ module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(fu
|
|
|
2841
2799
|
});
|
|
2842
2800
|
|
|
2843
2801
|
|
|
2802
|
+
/***/ }),
|
|
2803
|
+
|
|
2804
|
+
/***/ "c833":
|
|
2805
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2806
|
+
|
|
2807
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2808
|
+
|
|
2809
|
+
// load the styles
|
|
2810
|
+
var content = __webpack_require__("f8b0");
|
|
2811
|
+
if(content.__esModule) content = content.default;
|
|
2812
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2813
|
+
if(content.locals) module.exports = content.locals;
|
|
2814
|
+
// add the styles to the DOM
|
|
2815
|
+
var add = __webpack_require__("499e").default
|
|
2816
|
+
var update = add("a3b113b2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2817
|
+
|
|
2844
2818
|
/***/ }),
|
|
2845
2819
|
|
|
2846
2820
|
/***/ "ca5a":
|
|
@@ -3006,6 +2980,17 @@ module.exports = (
|
|
|
3006
2980
|
).split(',');
|
|
3007
2981
|
|
|
3008
2982
|
|
|
2983
|
+
/***/ }),
|
|
2984
|
+
|
|
2985
|
+
/***/ "e445":
|
|
2986
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2987
|
+
|
|
2988
|
+
"use strict";
|
|
2989
|
+
/* 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_ImagePreview_vue_vue_type_style_index_0_id_c36741da_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c833");
|
|
2990
|
+
/* 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_ImagePreview_vue_vue_type_style_index_0_id_c36741da_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_ImagePreview_vue_vue_type_style_index_0_id_c36741da_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
2991
|
+
/* unused harmony reexport * */
|
|
2992
|
+
|
|
2993
|
+
|
|
3009
2994
|
/***/ }),
|
|
3010
2995
|
|
|
3011
2996
|
/***/ "e4ae":
|
|
@@ -3139,6 +3124,21 @@ module.exports = function (it) {
|
|
|
3139
3124
|
};
|
|
3140
3125
|
|
|
3141
3126
|
|
|
3127
|
+
/***/ }),
|
|
3128
|
+
|
|
3129
|
+
/***/ "f8b0":
|
|
3130
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3131
|
+
|
|
3132
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
3133
|
+
// imports
|
|
3134
|
+
|
|
3135
|
+
|
|
3136
|
+
// module
|
|
3137
|
+
exports.push([module.i, ".p-image-mask{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s}.p-image-preview-icon{font-size:1.5rem}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0}.p-image-action.p-link,.p-image-toolbar{display:-webkit-box;display:-ms-flexbox;display:flex}.p-image-action.p-link{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.p-image-preview{-webkit-transition:-webkit-transform .15s;transition:-webkit-transform .15s;transition:transform .15s;transition:transform .15s,-webkit-transform .15s;max-width:100vw;max-height:100vh}.p-image-preview-enter-active{-webkit-transition:all .15s cubic-bezier(0,0,.2,1);transition:all .15s cubic-bezier(0,0,.2,1)}.p-image-preview-leave-active{-webkit-transition:all .15s cubic-bezier(.4,0,.2,1);transition:all .15s cubic-bezier(.4,0,.2,1)}.p-image-preview-enter,.p-image-preview-leave-to{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}", ""]);
|
|
3138
|
+
|
|
3139
|
+
// exports
|
|
3140
|
+
|
|
3141
|
+
|
|
3142
3142
|
/***/ }),
|
|
3143
3143
|
|
|
3144
3144
|
/***/ "fa5b":
|
|
@@ -3182,10 +3182,110 @@ if (typeof window !== 'undefined') {
|
|
|
3182
3182
|
// Indicate to webpack that this file can be concatenated
|
|
3183
3183
|
/* harmony default export */ var setPublicPath = (null);
|
|
3184
3184
|
|
|
3185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3186
|
-
var render = function () {
|
|
3187
|
-
var
|
|
3188
|
-
|
|
3185
|
+
// 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/imagepreview/ImagePreview.vue?vue&type=template&id=c36741da&
|
|
3186
|
+
var render = function render() {
|
|
3187
|
+
var _vm = this,
|
|
3188
|
+
_c = _vm._self._c;
|
|
3189
|
+
return _c('span', {
|
|
3190
|
+
ref: "container",
|
|
3191
|
+
class: _vm.containerClass,
|
|
3192
|
+
style: _vm.styles
|
|
3193
|
+
}, [_c('img', _vm._b({
|
|
3194
|
+
class: _vm.imageClass,
|
|
3195
|
+
style: _vm.imageStyle
|
|
3196
|
+
}, 'img', _vm.$attrs, false)), _vm.preview ? _c('div', {
|
|
3197
|
+
staticClass: "p-image-preview-indicator",
|
|
3198
|
+
on: {
|
|
3199
|
+
"click": _vm.onImageClick
|
|
3200
|
+
}
|
|
3201
|
+
}, [_vm._t("indicator", function () {
|
|
3202
|
+
return [_c('i', {
|
|
3203
|
+
staticClass: "p-image-preview-icon pi pi-eye"
|
|
3204
|
+
})];
|
|
3205
|
+
})], 2) : _vm._e(), _vm.maskVisible ? _c('div', {
|
|
3206
|
+
ref: "mask",
|
|
3207
|
+
class: _vm.maskClass,
|
|
3208
|
+
on: {
|
|
3209
|
+
"click": _vm.onMaskClick
|
|
3210
|
+
}
|
|
3211
|
+
}, [_c('div', {
|
|
3212
|
+
staticClass: "p-image-toolbar"
|
|
3213
|
+
}, [_c('button', {
|
|
3214
|
+
staticClass: "p-image-action p-link",
|
|
3215
|
+
attrs: {
|
|
3216
|
+
"type": "button"
|
|
3217
|
+
},
|
|
3218
|
+
on: {
|
|
3219
|
+
"click": _vm.rotateRight
|
|
3220
|
+
}
|
|
3221
|
+
}, [_c('i', {
|
|
3222
|
+
staticClass: "pi pi-refresh"
|
|
3223
|
+
})]), _c('button', {
|
|
3224
|
+
staticClass: "p-image-action p-link",
|
|
3225
|
+
attrs: {
|
|
3226
|
+
"type": "button"
|
|
3227
|
+
},
|
|
3228
|
+
on: {
|
|
3229
|
+
"click": _vm.rotateLeft
|
|
3230
|
+
}
|
|
3231
|
+
}, [_c('i', {
|
|
3232
|
+
staticClass: "pi pi-undo"
|
|
3233
|
+
})]), _c('button', {
|
|
3234
|
+
staticClass: "p-image-action p-link",
|
|
3235
|
+
attrs: {
|
|
3236
|
+
"type": "button",
|
|
3237
|
+
"disabled": _vm.zoomDisabled
|
|
3238
|
+
},
|
|
3239
|
+
on: {
|
|
3240
|
+
"click": _vm.zoomOut
|
|
3241
|
+
}
|
|
3242
|
+
}, [_c('i', {
|
|
3243
|
+
staticClass: "pi pi-search-minus"
|
|
3244
|
+
})]), _c('button', {
|
|
3245
|
+
staticClass: "p-image-action p-link",
|
|
3246
|
+
attrs: {
|
|
3247
|
+
"type": "button",
|
|
3248
|
+
"disabled": _vm.zoomDisabled
|
|
3249
|
+
},
|
|
3250
|
+
on: {
|
|
3251
|
+
"click": _vm.zoomIn
|
|
3252
|
+
}
|
|
3253
|
+
}, [_c('i', {
|
|
3254
|
+
staticClass: "pi pi-search-plus"
|
|
3255
|
+
})]), _vm._m(0)]), _c('transition', {
|
|
3256
|
+
attrs: {
|
|
3257
|
+
"name": "p-image-preview"
|
|
3258
|
+
},
|
|
3259
|
+
on: {
|
|
3260
|
+
"before-enter": _vm.onBeforeEnter,
|
|
3261
|
+
"enter": _vm.onEnter,
|
|
3262
|
+
"leave": _vm.onLeave,
|
|
3263
|
+
"before-leave": _vm.onBeforeLeave,
|
|
3264
|
+
"after-leave": _vm.onAfterLeave
|
|
3265
|
+
}
|
|
3266
|
+
}, [_vm.previewVisible ? _c('div', [_c('img', {
|
|
3267
|
+
staticClass: "p-image-preview",
|
|
3268
|
+
style: _vm.imagePreviewStyle,
|
|
3269
|
+
attrs: {
|
|
3270
|
+
"src": _vm.$attrs.src
|
|
3271
|
+
},
|
|
3272
|
+
on: {
|
|
3273
|
+
"click": _vm.onPreviewImageClick
|
|
3274
|
+
}
|
|
3275
|
+
})]) : _vm._e()])], 1) : _vm._e()]);
|
|
3276
|
+
};
|
|
3277
|
+
var staticRenderFns = [function () {
|
|
3278
|
+
var _vm = this,
|
|
3279
|
+
_c = _vm._self._c;
|
|
3280
|
+
return _c('button', {
|
|
3281
|
+
staticClass: "p-image-action p-link",
|
|
3282
|
+
attrs: {
|
|
3283
|
+
"type": "button"
|
|
3284
|
+
}
|
|
3285
|
+
}, [_c('i', {
|
|
3286
|
+
staticClass: "pi pi-times"
|
|
3287
|
+
})]);
|
|
3288
|
+
}];
|
|
3189
3289
|
|
|
3190
3290
|
// CONCATENATED MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=template&id=c36741da&
|
|
3191
3291
|
|
|
@@ -3231,26 +3331,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3231
3331
|
|
|
3232
3332
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3233
3333
|
|
|
3234
|
-
|
|
3235
3334
|
function _defineProperties(target, props) {
|
|
3236
3335
|
for (var i = 0; i < props.length; i++) {
|
|
3237
3336
|
var descriptor = props[i];
|
|
3238
3337
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3239
3338
|
descriptor.configurable = true;
|
|
3240
3339
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3241
|
-
|
|
3242
3340
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3243
3341
|
}
|
|
3244
3342
|
}
|
|
3245
|
-
|
|
3246
3343
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3247
3344
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3248
3345
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3249
|
-
|
|
3250
3346
|
define_property_default()(Constructor, "prototype", {
|
|
3251
3347
|
writable: false
|
|
3252
3348
|
});
|
|
3253
|
-
|
|
3254
3349
|
return Constructor;
|
|
3255
3350
|
}
|
|
3256
3351
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3266,18 +3361,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3266
3361
|
|
|
3267
3362
|
|
|
3268
3363
|
|
|
3269
|
-
|
|
3270
3364
|
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; } } }; }
|
|
3271
|
-
|
|
3272
3365
|
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); }
|
|
3273
|
-
|
|
3274
3366
|
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; }
|
|
3275
|
-
|
|
3276
3367
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3277
3368
|
function DomHandler() {
|
|
3278
3369
|
_classCallCheck(this, DomHandler);
|
|
3279
3370
|
}
|
|
3280
|
-
|
|
3281
3371
|
_createClass(DomHandler, null, [{
|
|
3282
3372
|
key: "innerWidth",
|
|
3283
3373
|
value: function innerWidth(el) {
|
|
@@ -3311,12 +3401,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3311
3401
|
value: function getOuterWidth(el, margin) {
|
|
3312
3402
|
if (el) {
|
|
3313
3403
|
var width = el.offsetWidth;
|
|
3314
|
-
|
|
3315
3404
|
if (margin) {
|
|
3316
3405
|
var style = getComputedStyle(el);
|
|
3317
3406
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3318
3407
|
}
|
|
3319
|
-
|
|
3320
3408
|
return width;
|
|
3321
3409
|
} else {
|
|
3322
3410
|
return 0;
|
|
@@ -3327,12 +3415,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3327
3415
|
value: function getOuterHeight(el, margin) {
|
|
3328
3416
|
if (el) {
|
|
3329
3417
|
var height = el.offsetHeight;
|
|
3330
|
-
|
|
3331
3418
|
if (margin) {
|
|
3332
3419
|
var style = getComputedStyle(el);
|
|
3333
3420
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3334
3421
|
}
|
|
3335
|
-
|
|
3336
3422
|
return height;
|
|
3337
3423
|
} else {
|
|
3338
3424
|
return 0;
|
|
@@ -3343,12 +3429,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3343
3429
|
value: function getClientHeight(el, margin) {
|
|
3344
3430
|
if (el) {
|
|
3345
3431
|
var height = el.clientHeight;
|
|
3346
|
-
|
|
3347
3432
|
if (margin) {
|
|
3348
3433
|
var style = getComputedStyle(el);
|
|
3349
3434
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3350
3435
|
}
|
|
3351
|
-
|
|
3352
3436
|
return height;
|
|
3353
3437
|
} else {
|
|
3354
3438
|
return 0;
|
|
@@ -3358,11 +3442,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3358
3442
|
key: "getViewport",
|
|
3359
3443
|
value: function getViewport() {
|
|
3360
3444
|
var win = window,
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3445
|
+
d = document,
|
|
3446
|
+
e = d.documentElement,
|
|
3447
|
+
g = d.getElementsByTagName('body')[0],
|
|
3448
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3449
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3366
3450
|
return {
|
|
3367
3451
|
width: w,
|
|
3368
3452
|
height: h
|
|
@@ -3393,12 +3477,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3393
3477
|
value: function index(element) {
|
|
3394
3478
|
var children = element.parentNode.childNodes;
|
|
3395
3479
|
var num = 0;
|
|
3396
|
-
|
|
3397
3480
|
for (var i = 0; i < children.length; i++) {
|
|
3398
3481
|
if (children[i] === element) return num;
|
|
3399
3482
|
if (children[i].nodeType === 1) num++;
|
|
3400
3483
|
}
|
|
3401
|
-
|
|
3402
3484
|
return -1;
|
|
3403
3485
|
}
|
|
3404
3486
|
}, {
|
|
@@ -3406,13 +3488,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3406
3488
|
value: function addMultipleClasses(element, className) {
|
|
3407
3489
|
if (element.classList) {
|
|
3408
3490
|
var styles = className.split(' ');
|
|
3409
|
-
|
|
3410
3491
|
for (var i = 0; i < styles.length; i++) {
|
|
3411
3492
|
element.classList.add(styles[i]);
|
|
3412
3493
|
}
|
|
3413
3494
|
} else {
|
|
3414
3495
|
var _styles = className.split(' ');
|
|
3415
|
-
|
|
3416
3496
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3417
3497
|
element.className += ' ' + _styles[_i];
|
|
3418
3498
|
}
|
|
@@ -3434,7 +3514,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3434
3514
|
if (element) {
|
|
3435
3515
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3436
3516
|
}
|
|
3437
|
-
|
|
3438
3517
|
return false;
|
|
3439
3518
|
}
|
|
3440
3519
|
}, {
|
|
@@ -3479,11 +3558,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3479
3558
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3480
3559
|
var viewport = this.getViewport();
|
|
3481
3560
|
var top, left;
|
|
3482
|
-
|
|
3483
3561
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3484
3562
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3485
3563
|
element.style.transformOrigin = 'bottom';
|
|
3486
|
-
|
|
3487
3564
|
if (top < 0) {
|
|
3488
3565
|
top = windowScrollTop;
|
|
3489
3566
|
}
|
|
@@ -3491,7 +3568,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3491
3568
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3492
3569
|
element.style.transformOrigin = 'top';
|
|
3493
3570
|
}
|
|
3494
|
-
|
|
3495
3571
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3496
3572
|
element.style.top = top + 'px';
|
|
3497
3573
|
element.style.left = left + 'px';
|
|
@@ -3507,11 +3583,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3507
3583
|
var targetOffset = target.getBoundingClientRect();
|
|
3508
3584
|
var viewport = this.getViewport();
|
|
3509
3585
|
var top, left;
|
|
3510
|
-
|
|
3511
3586
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3512
3587
|
top = -1 * elementDimensions.height;
|
|
3513
3588
|
element.style.transformOrigin = 'bottom';
|
|
3514
|
-
|
|
3515
3589
|
if (targetOffset.top + top < 0) {
|
|
3516
3590
|
top = -1 * targetOffset.top;
|
|
3517
3591
|
}
|
|
@@ -3519,7 +3593,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3519
3593
|
top = targetHeight;
|
|
3520
3594
|
element.style.transformOrigin = 'top';
|
|
3521
3595
|
}
|
|
3522
|
-
|
|
3523
3596
|
if (elementDimensions.width > viewport.width) {
|
|
3524
3597
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3525
3598
|
left = targetOffset.left * -1;
|
|
@@ -3530,7 +3603,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3530
3603
|
// element fits on screen (align with target)
|
|
3531
3604
|
left = 0;
|
|
3532
3605
|
}
|
|
3533
|
-
|
|
3534
3606
|
element.style.top = top + 'px';
|
|
3535
3607
|
element.style.left = left + 'px';
|
|
3536
3608
|
}
|
|
@@ -3544,35 +3616,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3544
3616
|
key: "getScrollableParents",
|
|
3545
3617
|
value: function getScrollableParents(element) {
|
|
3546
3618
|
var scrollableParents = [];
|
|
3547
|
-
|
|
3548
3619
|
if (element) {
|
|
3549
3620
|
var parents = this.getParents(element);
|
|
3550
3621
|
var overflowRegex = /(auto|scroll)/;
|
|
3551
|
-
|
|
3552
3622
|
var overflowCheck = function overflowCheck(node) {
|
|
3553
3623
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3554
3624
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3555
3625
|
};
|
|
3556
|
-
|
|
3557
3626
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3558
|
-
|
|
3559
|
-
|
|
3627
|
+
_step;
|
|
3560
3628
|
try {
|
|
3561
3629
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3562
3630
|
var parent = _step.value;
|
|
3563
3631
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3564
|
-
|
|
3565
3632
|
if (scrollSelectors) {
|
|
3566
3633
|
var selectors = scrollSelectors.split(',');
|
|
3567
|
-
|
|
3568
3634
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3569
|
-
|
|
3570
|
-
|
|
3635
|
+
_step2;
|
|
3571
3636
|
try {
|
|
3572
3637
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3573
3638
|
var selector = _step2.value;
|
|
3574
3639
|
var el = this.findSingle(parent, selector);
|
|
3575
|
-
|
|
3576
3640
|
if (el && overflowCheck(el)) {
|
|
3577
3641
|
scrollableParents.push(el);
|
|
3578
3642
|
}
|
|
@@ -3590,7 +3654,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3590
3654
|
_iterator.f();
|
|
3591
3655
|
}
|
|
3592
3656
|
}
|
|
3593
|
-
|
|
3594
3657
|
return scrollableParents;
|
|
3595
3658
|
}
|
|
3596
3659
|
}, {
|
|
@@ -3631,34 +3694,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3631
3694
|
element.style.opacity = 0;
|
|
3632
3695
|
var last = +new Date();
|
|
3633
3696
|
var opacity = 0;
|
|
3634
|
-
|
|
3635
3697
|
var tick = function tick() {
|
|
3636
3698
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3637
3699
|
element.style.opacity = opacity;
|
|
3638
3700
|
last = +new Date();
|
|
3639
|
-
|
|
3640
3701
|
if (+opacity < 1) {
|
|
3641
3702
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3642
3703
|
}
|
|
3643
3704
|
};
|
|
3644
|
-
|
|
3645
3705
|
tick();
|
|
3646
3706
|
}
|
|
3647
3707
|
}, {
|
|
3648
3708
|
key: "fadeOut",
|
|
3649
3709
|
value: function fadeOut(element, ms) {
|
|
3650
3710
|
var opacity = 1,
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3711
|
+
interval = 50,
|
|
3712
|
+
duration = ms,
|
|
3713
|
+
gap = interval / duration;
|
|
3654
3714
|
var fading = setInterval(function () {
|
|
3655
3715
|
opacity -= gap;
|
|
3656
|
-
|
|
3657
3716
|
if (opacity <= 0) {
|
|
3658
3717
|
opacity = 0;
|
|
3659
3718
|
clearInterval(fading);
|
|
3660
3719
|
}
|
|
3661
|
-
|
|
3662
3720
|
element.style.opacity = opacity;
|
|
3663
3721
|
}, interval);
|
|
3664
3722
|
}
|
|
@@ -3685,7 +3743,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3685
3743
|
var scroll = container.scrollTop;
|
|
3686
3744
|
var elementHeight = container.clientHeight;
|
|
3687
3745
|
var itemHeight = this.getOuterHeight(item);
|
|
3688
|
-
|
|
3689
3746
|
if (offset < 0) {
|
|
3690
3747
|
container.scrollTop = scroll + offset;
|
|
3691
3748
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3704,7 +3761,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3704
3761
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3705
3762
|
try {
|
|
3706
3763
|
document['selection'].empty();
|
|
3707
|
-
} catch (error) {
|
|
3764
|
+
} catch (error) {
|
|
3765
|
+
//ignore IE bug
|
|
3708
3766
|
}
|
|
3709
3767
|
}
|
|
3710
3768
|
}
|
|
@@ -3726,19 +3784,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3726
3784
|
if (!this.browser) {
|
|
3727
3785
|
var matched = this.resolveUserAgent();
|
|
3728
3786
|
this.browser = {};
|
|
3729
|
-
|
|
3730
3787
|
if (matched.browser) {
|
|
3731
3788
|
this.browser[matched.browser] = true;
|
|
3732
3789
|
this.browser['version'] = matched.version;
|
|
3733
3790
|
}
|
|
3734
|
-
|
|
3735
3791
|
if (this.browser['chrome']) {
|
|
3736
3792
|
this.browser['webkit'] = true;
|
|
3737
3793
|
} else if (this.browser['webkit']) {
|
|
3738
3794
|
this.browser['safari'] = true;
|
|
3739
3795
|
}
|
|
3740
3796
|
}
|
|
3741
|
-
|
|
3742
3797
|
return this.browser;
|
|
3743
3798
|
}
|
|
3744
3799
|
}, {
|
|
@@ -3766,10 +3821,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3766
3821
|
value: function getFocusableElements(element) {
|
|
3767
3822
|
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])");
|
|
3768
3823
|
var visibleFocusableElements = [];
|
|
3769
|
-
|
|
3770
3824
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3771
|
-
|
|
3772
|
-
|
|
3825
|
+
_step3;
|
|
3773
3826
|
try {
|
|
3774
3827
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3775
3828
|
var focusableElement = _step3.value;
|
|
@@ -3780,7 +3833,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3780
3833
|
} finally {
|
|
3781
3834
|
_iterator3.f();
|
|
3782
3835
|
}
|
|
3783
|
-
|
|
3784
3836
|
return visibleFocusableElements;
|
|
3785
3837
|
}
|
|
3786
3838
|
}, {
|
|
@@ -3823,47 +3875,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3823
3875
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3824
3876
|
}
|
|
3825
3877
|
}]);
|
|
3826
|
-
|
|
3827
3878
|
return DomHandler;
|
|
3828
3879
|
}();
|
|
3829
3880
|
|
|
3830
|
-
|
|
3831
3881
|
// 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/imagepreview/ImagePreview.vue?vue&type=script&lang=js&
|
|
3832
|
-
//
|
|
3833
|
-
//
|
|
3834
|
-
//
|
|
3835
|
-
//
|
|
3836
|
-
//
|
|
3837
|
-
//
|
|
3838
|
-
//
|
|
3839
|
-
//
|
|
3840
|
-
//
|
|
3841
|
-
//
|
|
3842
|
-
//
|
|
3843
|
-
//
|
|
3844
|
-
//
|
|
3845
|
-
//
|
|
3846
|
-
//
|
|
3847
|
-
//
|
|
3848
|
-
//
|
|
3849
|
-
//
|
|
3850
|
-
//
|
|
3851
|
-
//
|
|
3852
|
-
//
|
|
3853
|
-
//
|
|
3854
|
-
//
|
|
3855
|
-
//
|
|
3856
|
-
//
|
|
3857
|
-
//
|
|
3858
|
-
//
|
|
3859
|
-
//
|
|
3860
|
-
//
|
|
3861
|
-
//
|
|
3862
|
-
//
|
|
3863
|
-
//
|
|
3864
|
-
//
|
|
3865
|
-
//
|
|
3866
|
-
//
|
|
3867
3882
|
|
|
3868
3883
|
/* harmony default export */ var ImagePreviewvue_type_script_lang_js_ = ({
|
|
3869
3884
|
name: 'ImagePreview',
|
|
@@ -3893,7 +3908,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3893
3908
|
methods: {
|
|
3894
3909
|
onImageClick: function onImageClick() {
|
|
3895
3910
|
var _this = this;
|
|
3896
|
-
|
|
3897
3911
|
if (this.preview) {
|
|
3898
3912
|
this.maskVisible = true;
|
|
3899
3913
|
setTimeout(function () {
|
|
@@ -3910,7 +3924,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3910
3924
|
this.rotate = 0;
|
|
3911
3925
|
this.scale = 1;
|
|
3912
3926
|
}
|
|
3913
|
-
|
|
3914
3927
|
this.previewClick = false;
|
|
3915
3928
|
},
|
|
3916
3929
|
rotateRight: function rotateRight() {
|
|
@@ -3978,8 +3991,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3978
3991
|
});
|
|
3979
3992
|
// CONCATENATED MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=script&lang=js&
|
|
3980
3993
|
/* harmony default export */ var imagepreview_ImagePreviewvue_type_script_lang_js_ = (ImagePreviewvue_type_script_lang_js_);
|
|
3981
|
-
// EXTERNAL MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=style&index=0&lang=css&
|
|
3982
|
-
var
|
|
3994
|
+
// EXTERNAL MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=style&index=0&id=c36741da&prod&lang=css&
|
|
3995
|
+
var ImagePreviewvue_type_style_index_0_id_c36741da_prod_lang_css_ = __webpack_require__("e445");
|
|
3983
3996
|
|
|
3984
3997
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
3985
3998
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -3988,20 +4001,19 @@ var ImagePreviewvue_type_style_index_0_lang_css_ = __webpack_require__("3d9d");
|
|
|
3988
4001
|
// This module is a runtime utility for cleaner component module output and will
|
|
3989
4002
|
// be included in the final webpack user bundle.
|
|
3990
4003
|
|
|
3991
|
-
function normalizeComponent
|
|
4004
|
+
function normalizeComponent(
|
|
3992
4005
|
scriptExports,
|
|
3993
4006
|
render,
|
|
3994
4007
|
staticRenderFns,
|
|
3995
4008
|
functionalTemplate,
|
|
3996
4009
|
injectStyles,
|
|
3997
4010
|
scopeId,
|
|
3998
|
-
moduleIdentifier
|
|
4011
|
+
moduleIdentifier /* server only */,
|
|
3999
4012
|
shadowMode /* vue-cli only */
|
|
4000
4013
|
) {
|
|
4001
4014
|
// Vue.extend constructor export interop
|
|
4002
|
-
var options =
|
|
4003
|
-
? scriptExports.options
|
|
4004
|
-
: scriptExports
|
|
4015
|
+
var options =
|
|
4016
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4005
4017
|
|
|
4006
4018
|
// render functions
|
|
4007
4019
|
if (render) {
|
|
@@ -4021,7 +4033,8 @@ function normalizeComponent (
|
|
|
4021
4033
|
}
|
|
4022
4034
|
|
|
4023
4035
|
var hook
|
|
4024
|
-
if (moduleIdentifier) {
|
|
4036
|
+
if (moduleIdentifier) {
|
|
4037
|
+
// server build
|
|
4025
4038
|
hook = function (context) {
|
|
4026
4039
|
// 2.3 injection
|
|
4027
4040
|
context =
|
|
@@ -4047,11 +4060,11 @@ function normalizeComponent (
|
|
|
4047
4060
|
} else if (injectStyles) {
|
|
4048
4061
|
hook = shadowMode
|
|
4049
4062
|
? function () {
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4063
|
+
injectStyles.call(
|
|
4064
|
+
this,
|
|
4065
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4066
|
+
)
|
|
4067
|
+
}
|
|
4055
4068
|
: injectStyles
|
|
4056
4069
|
}
|
|
4057
4070
|
|
|
@@ -4062,16 +4075,14 @@ function normalizeComponent (
|
|
|
4062
4075
|
options._injectStyles = hook
|
|
4063
4076
|
// register for functional component in vue file
|
|
4064
4077
|
var originalRender = options.render
|
|
4065
|
-
options.render = function renderWithStyleInjection
|
|
4078
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4066
4079
|
hook.call(context)
|
|
4067
4080
|
return originalRender(h, context)
|
|
4068
4081
|
}
|
|
4069
4082
|
} else {
|
|
4070
4083
|
// inject component registration as beforeCreate hook
|
|
4071
4084
|
var existing = options.beforeCreate
|
|
4072
|
-
options.beforeCreate = existing
|
|
4073
|
-
? [].concat(existing, hook)
|
|
4074
|
-
: [hook]
|
|
4085
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4075
4086
|
}
|
|
4076
4087
|
}
|
|
4077
4088
|
|