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
|
@@ -1136,17 +1136,6 @@ if (__webpack_require__("9e1e") && (!CORRECT_NEW || __webpack_require__("79e5")(
|
|
|
1136
1136
|
__webpack_require__("7a56")('RegExp');
|
|
1137
1137
|
|
|
1138
1138
|
|
|
1139
|
-
/***/ }),
|
|
1140
|
-
|
|
1141
|
-
/***/ "3d9d":
|
|
1142
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1143
|
-
|
|
1144
|
-
"use strict";
|
|
1145
|
-
/* 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");
|
|
1146
|
-
/* 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__);
|
|
1147
|
-
/* unused harmony reexport * */
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
1139
|
/***/ }),
|
|
1151
1140
|
|
|
1152
1141
|
/***/ "41a0":
|
|
@@ -1208,21 +1197,6 @@ module.exports = function (bitmap, value) {
|
|
|
1208
1197
|
};
|
|
1209
1198
|
|
|
1210
1199
|
|
|
1211
|
-
/***/ }),
|
|
1212
|
-
|
|
1213
|
-
/***/ "4671":
|
|
1214
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1215
|
-
|
|
1216
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
1217
|
-
// imports
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
// module
|
|
1221
|
-
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)}", ""]);
|
|
1222
|
-
|
|
1223
|
-
// exports
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
1200
|
/***/ }),
|
|
1227
1201
|
|
|
1228
1202
|
/***/ "46a7":
|
|
@@ -1787,22 +1761,6 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
|
|
|
1787
1761
|
};
|
|
1788
1762
|
|
|
1789
1763
|
|
|
1790
|
-
/***/ }),
|
|
1791
|
-
|
|
1792
|
-
/***/ "632e":
|
|
1793
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1794
|
-
|
|
1795
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
1796
|
-
|
|
1797
|
-
// load the styles
|
|
1798
|
-
var content = __webpack_require__("4671");
|
|
1799
|
-
if(content.__esModule) content = content.default;
|
|
1800
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
1801
|
-
if(content.locals) module.exports = content.locals;
|
|
1802
|
-
// add the styles to the DOM
|
|
1803
|
-
var add = __webpack_require__("499e").default
|
|
1804
|
-
var update = add("131dd2e1", content, true, {"sourceMap":false,"shadowMode":false});
|
|
1805
|
-
|
|
1806
1764
|
/***/ }),
|
|
1807
1765
|
|
|
1808
1766
|
/***/ "63b6":
|
|
@@ -2832,6 +2790,22 @@ module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(fu
|
|
|
2832
2790
|
});
|
|
2833
2791
|
|
|
2834
2792
|
|
|
2793
|
+
/***/ }),
|
|
2794
|
+
|
|
2795
|
+
/***/ "c833":
|
|
2796
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2797
|
+
|
|
2798
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2799
|
+
|
|
2800
|
+
// load the styles
|
|
2801
|
+
var content = __webpack_require__("f8b0");
|
|
2802
|
+
if(content.__esModule) content = content.default;
|
|
2803
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2804
|
+
if(content.locals) module.exports = content.locals;
|
|
2805
|
+
// add the styles to the DOM
|
|
2806
|
+
var add = __webpack_require__("499e").default
|
|
2807
|
+
var update = add("a3b113b2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2808
|
+
|
|
2835
2809
|
/***/ }),
|
|
2836
2810
|
|
|
2837
2811
|
/***/ "ca5a":
|
|
@@ -2997,6 +2971,17 @@ module.exports = (
|
|
|
2997
2971
|
).split(',');
|
|
2998
2972
|
|
|
2999
2973
|
|
|
2974
|
+
/***/ }),
|
|
2975
|
+
|
|
2976
|
+
/***/ "e445":
|
|
2977
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2978
|
+
|
|
2979
|
+
"use strict";
|
|
2980
|
+
/* 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");
|
|
2981
|
+
/* 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__);
|
|
2982
|
+
/* unused harmony reexport * */
|
|
2983
|
+
|
|
2984
|
+
|
|
3000
2985
|
/***/ }),
|
|
3001
2986
|
|
|
3002
2987
|
/***/ "e4ae":
|
|
@@ -3130,6 +3115,21 @@ module.exports = function (it) {
|
|
|
3130
3115
|
};
|
|
3131
3116
|
|
|
3132
3117
|
|
|
3118
|
+
/***/ }),
|
|
3119
|
+
|
|
3120
|
+
/***/ "f8b0":
|
|
3121
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3122
|
+
|
|
3123
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
3124
|
+
// imports
|
|
3125
|
+
|
|
3126
|
+
|
|
3127
|
+
// module
|
|
3128
|
+
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)}", ""]);
|
|
3129
|
+
|
|
3130
|
+
// exports
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
3133
|
/***/ }),
|
|
3134
3134
|
|
|
3135
3135
|
/***/ "fa5b":
|
|
@@ -3173,10 +3173,110 @@ if (typeof window !== 'undefined') {
|
|
|
3173
3173
|
// Indicate to webpack that this file can be concatenated
|
|
3174
3174
|
/* harmony default export */ var setPublicPath = (null);
|
|
3175
3175
|
|
|
3176
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3177
|
-
var render = function () {
|
|
3178
|
-
var
|
|
3179
|
-
|
|
3176
|
+
// 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&
|
|
3177
|
+
var render = function render() {
|
|
3178
|
+
var _vm = this,
|
|
3179
|
+
_c = _vm._self._c;
|
|
3180
|
+
return _c('span', {
|
|
3181
|
+
ref: "container",
|
|
3182
|
+
class: _vm.containerClass,
|
|
3183
|
+
style: _vm.styles
|
|
3184
|
+
}, [_c('img', _vm._b({
|
|
3185
|
+
class: _vm.imageClass,
|
|
3186
|
+
style: _vm.imageStyle
|
|
3187
|
+
}, 'img', _vm.$attrs, false)), _vm.preview ? _c('div', {
|
|
3188
|
+
staticClass: "p-image-preview-indicator",
|
|
3189
|
+
on: {
|
|
3190
|
+
"click": _vm.onImageClick
|
|
3191
|
+
}
|
|
3192
|
+
}, [_vm._t("indicator", function () {
|
|
3193
|
+
return [_c('i', {
|
|
3194
|
+
staticClass: "p-image-preview-icon pi pi-eye"
|
|
3195
|
+
})];
|
|
3196
|
+
})], 2) : _vm._e(), _vm.maskVisible ? _c('div', {
|
|
3197
|
+
ref: "mask",
|
|
3198
|
+
class: _vm.maskClass,
|
|
3199
|
+
on: {
|
|
3200
|
+
"click": _vm.onMaskClick
|
|
3201
|
+
}
|
|
3202
|
+
}, [_c('div', {
|
|
3203
|
+
staticClass: "p-image-toolbar"
|
|
3204
|
+
}, [_c('button', {
|
|
3205
|
+
staticClass: "p-image-action p-link",
|
|
3206
|
+
attrs: {
|
|
3207
|
+
"type": "button"
|
|
3208
|
+
},
|
|
3209
|
+
on: {
|
|
3210
|
+
"click": _vm.rotateRight
|
|
3211
|
+
}
|
|
3212
|
+
}, [_c('i', {
|
|
3213
|
+
staticClass: "pi pi-refresh"
|
|
3214
|
+
})]), _c('button', {
|
|
3215
|
+
staticClass: "p-image-action p-link",
|
|
3216
|
+
attrs: {
|
|
3217
|
+
"type": "button"
|
|
3218
|
+
},
|
|
3219
|
+
on: {
|
|
3220
|
+
"click": _vm.rotateLeft
|
|
3221
|
+
}
|
|
3222
|
+
}, [_c('i', {
|
|
3223
|
+
staticClass: "pi pi-undo"
|
|
3224
|
+
})]), _c('button', {
|
|
3225
|
+
staticClass: "p-image-action p-link",
|
|
3226
|
+
attrs: {
|
|
3227
|
+
"type": "button",
|
|
3228
|
+
"disabled": _vm.zoomDisabled
|
|
3229
|
+
},
|
|
3230
|
+
on: {
|
|
3231
|
+
"click": _vm.zoomOut
|
|
3232
|
+
}
|
|
3233
|
+
}, [_c('i', {
|
|
3234
|
+
staticClass: "pi pi-search-minus"
|
|
3235
|
+
})]), _c('button', {
|
|
3236
|
+
staticClass: "p-image-action p-link",
|
|
3237
|
+
attrs: {
|
|
3238
|
+
"type": "button",
|
|
3239
|
+
"disabled": _vm.zoomDisabled
|
|
3240
|
+
},
|
|
3241
|
+
on: {
|
|
3242
|
+
"click": _vm.zoomIn
|
|
3243
|
+
}
|
|
3244
|
+
}, [_c('i', {
|
|
3245
|
+
staticClass: "pi pi-search-plus"
|
|
3246
|
+
})]), _vm._m(0)]), _c('transition', {
|
|
3247
|
+
attrs: {
|
|
3248
|
+
"name": "p-image-preview"
|
|
3249
|
+
},
|
|
3250
|
+
on: {
|
|
3251
|
+
"before-enter": _vm.onBeforeEnter,
|
|
3252
|
+
"enter": _vm.onEnter,
|
|
3253
|
+
"leave": _vm.onLeave,
|
|
3254
|
+
"before-leave": _vm.onBeforeLeave,
|
|
3255
|
+
"after-leave": _vm.onAfterLeave
|
|
3256
|
+
}
|
|
3257
|
+
}, [_vm.previewVisible ? _c('div', [_c('img', {
|
|
3258
|
+
staticClass: "p-image-preview",
|
|
3259
|
+
style: _vm.imagePreviewStyle,
|
|
3260
|
+
attrs: {
|
|
3261
|
+
"src": _vm.$attrs.src
|
|
3262
|
+
},
|
|
3263
|
+
on: {
|
|
3264
|
+
"click": _vm.onPreviewImageClick
|
|
3265
|
+
}
|
|
3266
|
+
})]) : _vm._e()])], 1) : _vm._e()]);
|
|
3267
|
+
};
|
|
3268
|
+
var staticRenderFns = [function () {
|
|
3269
|
+
var _vm = this,
|
|
3270
|
+
_c = _vm._self._c;
|
|
3271
|
+
return _c('button', {
|
|
3272
|
+
staticClass: "p-image-action p-link",
|
|
3273
|
+
attrs: {
|
|
3274
|
+
"type": "button"
|
|
3275
|
+
}
|
|
3276
|
+
}, [_c('i', {
|
|
3277
|
+
staticClass: "pi pi-times"
|
|
3278
|
+
})]);
|
|
3279
|
+
}];
|
|
3180
3280
|
|
|
3181
3281
|
// CONCATENATED MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=template&id=c36741da&
|
|
3182
3282
|
|
|
@@ -3222,26 +3322,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3222
3322
|
|
|
3223
3323
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3224
3324
|
|
|
3225
|
-
|
|
3226
3325
|
function _defineProperties(target, props) {
|
|
3227
3326
|
for (var i = 0; i < props.length; i++) {
|
|
3228
3327
|
var descriptor = props[i];
|
|
3229
3328
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3230
3329
|
descriptor.configurable = true;
|
|
3231
3330
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3232
|
-
|
|
3233
3331
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3234
3332
|
}
|
|
3235
3333
|
}
|
|
3236
|
-
|
|
3237
3334
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3238
3335
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3239
3336
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3240
|
-
|
|
3241
3337
|
define_property_default()(Constructor, "prototype", {
|
|
3242
3338
|
writable: false
|
|
3243
3339
|
});
|
|
3244
|
-
|
|
3245
3340
|
return Constructor;
|
|
3246
3341
|
}
|
|
3247
3342
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3257,18 +3352,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3257
3352
|
|
|
3258
3353
|
|
|
3259
3354
|
|
|
3260
|
-
|
|
3261
3355
|
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; } } }; }
|
|
3262
|
-
|
|
3263
3356
|
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); }
|
|
3264
|
-
|
|
3265
3357
|
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; }
|
|
3266
|
-
|
|
3267
3358
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3268
3359
|
function DomHandler() {
|
|
3269
3360
|
_classCallCheck(this, DomHandler);
|
|
3270
3361
|
}
|
|
3271
|
-
|
|
3272
3362
|
_createClass(DomHandler, null, [{
|
|
3273
3363
|
key: "innerWidth",
|
|
3274
3364
|
value: function innerWidth(el) {
|
|
@@ -3302,12 +3392,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3302
3392
|
value: function getOuterWidth(el, margin) {
|
|
3303
3393
|
if (el) {
|
|
3304
3394
|
var width = el.offsetWidth;
|
|
3305
|
-
|
|
3306
3395
|
if (margin) {
|
|
3307
3396
|
var style = getComputedStyle(el);
|
|
3308
3397
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3309
3398
|
}
|
|
3310
|
-
|
|
3311
3399
|
return width;
|
|
3312
3400
|
} else {
|
|
3313
3401
|
return 0;
|
|
@@ -3318,12 +3406,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3318
3406
|
value: function getOuterHeight(el, margin) {
|
|
3319
3407
|
if (el) {
|
|
3320
3408
|
var height = el.offsetHeight;
|
|
3321
|
-
|
|
3322
3409
|
if (margin) {
|
|
3323
3410
|
var style = getComputedStyle(el);
|
|
3324
3411
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3325
3412
|
}
|
|
3326
|
-
|
|
3327
3413
|
return height;
|
|
3328
3414
|
} else {
|
|
3329
3415
|
return 0;
|
|
@@ -3334,12 +3420,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3334
3420
|
value: function getClientHeight(el, margin) {
|
|
3335
3421
|
if (el) {
|
|
3336
3422
|
var height = el.clientHeight;
|
|
3337
|
-
|
|
3338
3423
|
if (margin) {
|
|
3339
3424
|
var style = getComputedStyle(el);
|
|
3340
3425
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3341
3426
|
}
|
|
3342
|
-
|
|
3343
3427
|
return height;
|
|
3344
3428
|
} else {
|
|
3345
3429
|
return 0;
|
|
@@ -3349,11 +3433,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3349
3433
|
key: "getViewport",
|
|
3350
3434
|
value: function getViewport() {
|
|
3351
3435
|
var win = window,
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3436
|
+
d = document,
|
|
3437
|
+
e = d.documentElement,
|
|
3438
|
+
g = d.getElementsByTagName('body')[0],
|
|
3439
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3440
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3357
3441
|
return {
|
|
3358
3442
|
width: w,
|
|
3359
3443
|
height: h
|
|
@@ -3384,12 +3468,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3384
3468
|
value: function index(element) {
|
|
3385
3469
|
var children = element.parentNode.childNodes;
|
|
3386
3470
|
var num = 0;
|
|
3387
|
-
|
|
3388
3471
|
for (var i = 0; i < children.length; i++) {
|
|
3389
3472
|
if (children[i] === element) return num;
|
|
3390
3473
|
if (children[i].nodeType === 1) num++;
|
|
3391
3474
|
}
|
|
3392
|
-
|
|
3393
3475
|
return -1;
|
|
3394
3476
|
}
|
|
3395
3477
|
}, {
|
|
@@ -3397,13 +3479,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3397
3479
|
value: function addMultipleClasses(element, className) {
|
|
3398
3480
|
if (element.classList) {
|
|
3399
3481
|
var styles = className.split(' ');
|
|
3400
|
-
|
|
3401
3482
|
for (var i = 0; i < styles.length; i++) {
|
|
3402
3483
|
element.classList.add(styles[i]);
|
|
3403
3484
|
}
|
|
3404
3485
|
} else {
|
|
3405
3486
|
var _styles = className.split(' ');
|
|
3406
|
-
|
|
3407
3487
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3408
3488
|
element.className += ' ' + _styles[_i];
|
|
3409
3489
|
}
|
|
@@ -3425,7 +3505,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3425
3505
|
if (element) {
|
|
3426
3506
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3427
3507
|
}
|
|
3428
|
-
|
|
3429
3508
|
return false;
|
|
3430
3509
|
}
|
|
3431
3510
|
}, {
|
|
@@ -3470,11 +3549,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3470
3549
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3471
3550
|
var viewport = this.getViewport();
|
|
3472
3551
|
var top, left;
|
|
3473
|
-
|
|
3474
3552
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3475
3553
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3476
3554
|
element.style.transformOrigin = 'bottom';
|
|
3477
|
-
|
|
3478
3555
|
if (top < 0) {
|
|
3479
3556
|
top = windowScrollTop;
|
|
3480
3557
|
}
|
|
@@ -3482,7 +3559,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3482
3559
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3483
3560
|
element.style.transformOrigin = 'top';
|
|
3484
3561
|
}
|
|
3485
|
-
|
|
3486
3562
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3487
3563
|
element.style.top = top + 'px';
|
|
3488
3564
|
element.style.left = left + 'px';
|
|
@@ -3498,11 +3574,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3498
3574
|
var targetOffset = target.getBoundingClientRect();
|
|
3499
3575
|
var viewport = this.getViewport();
|
|
3500
3576
|
var top, left;
|
|
3501
|
-
|
|
3502
3577
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3503
3578
|
top = -1 * elementDimensions.height;
|
|
3504
3579
|
element.style.transformOrigin = 'bottom';
|
|
3505
|
-
|
|
3506
3580
|
if (targetOffset.top + top < 0) {
|
|
3507
3581
|
top = -1 * targetOffset.top;
|
|
3508
3582
|
}
|
|
@@ -3510,7 +3584,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3510
3584
|
top = targetHeight;
|
|
3511
3585
|
element.style.transformOrigin = 'top';
|
|
3512
3586
|
}
|
|
3513
|
-
|
|
3514
3587
|
if (elementDimensions.width > viewport.width) {
|
|
3515
3588
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3516
3589
|
left = targetOffset.left * -1;
|
|
@@ -3521,7 +3594,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3521
3594
|
// element fits on screen (align with target)
|
|
3522
3595
|
left = 0;
|
|
3523
3596
|
}
|
|
3524
|
-
|
|
3525
3597
|
element.style.top = top + 'px';
|
|
3526
3598
|
element.style.left = left + 'px';
|
|
3527
3599
|
}
|
|
@@ -3535,35 +3607,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3535
3607
|
key: "getScrollableParents",
|
|
3536
3608
|
value: function getScrollableParents(element) {
|
|
3537
3609
|
var scrollableParents = [];
|
|
3538
|
-
|
|
3539
3610
|
if (element) {
|
|
3540
3611
|
var parents = this.getParents(element);
|
|
3541
3612
|
var overflowRegex = /(auto|scroll)/;
|
|
3542
|
-
|
|
3543
3613
|
var overflowCheck = function overflowCheck(node) {
|
|
3544
3614
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3545
3615
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3546
3616
|
};
|
|
3547
|
-
|
|
3548
3617
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3549
|
-
|
|
3550
|
-
|
|
3618
|
+
_step;
|
|
3551
3619
|
try {
|
|
3552
3620
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3553
3621
|
var parent = _step.value;
|
|
3554
3622
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3555
|
-
|
|
3556
3623
|
if (scrollSelectors) {
|
|
3557
3624
|
var selectors = scrollSelectors.split(',');
|
|
3558
|
-
|
|
3559
3625
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3560
|
-
|
|
3561
|
-
|
|
3626
|
+
_step2;
|
|
3562
3627
|
try {
|
|
3563
3628
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3564
3629
|
var selector = _step2.value;
|
|
3565
3630
|
var el = this.findSingle(parent, selector);
|
|
3566
|
-
|
|
3567
3631
|
if (el && overflowCheck(el)) {
|
|
3568
3632
|
scrollableParents.push(el);
|
|
3569
3633
|
}
|
|
@@ -3581,7 +3645,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3581
3645
|
_iterator.f();
|
|
3582
3646
|
}
|
|
3583
3647
|
}
|
|
3584
|
-
|
|
3585
3648
|
return scrollableParents;
|
|
3586
3649
|
}
|
|
3587
3650
|
}, {
|
|
@@ -3622,34 +3685,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3622
3685
|
element.style.opacity = 0;
|
|
3623
3686
|
var last = +new Date();
|
|
3624
3687
|
var opacity = 0;
|
|
3625
|
-
|
|
3626
3688
|
var tick = function tick() {
|
|
3627
3689
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3628
3690
|
element.style.opacity = opacity;
|
|
3629
3691
|
last = +new Date();
|
|
3630
|
-
|
|
3631
3692
|
if (+opacity < 1) {
|
|
3632
3693
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3633
3694
|
}
|
|
3634
3695
|
};
|
|
3635
|
-
|
|
3636
3696
|
tick();
|
|
3637
3697
|
}
|
|
3638
3698
|
}, {
|
|
3639
3699
|
key: "fadeOut",
|
|
3640
3700
|
value: function fadeOut(element, ms) {
|
|
3641
3701
|
var opacity = 1,
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3702
|
+
interval = 50,
|
|
3703
|
+
duration = ms,
|
|
3704
|
+
gap = interval / duration;
|
|
3645
3705
|
var fading = setInterval(function () {
|
|
3646
3706
|
opacity -= gap;
|
|
3647
|
-
|
|
3648
3707
|
if (opacity <= 0) {
|
|
3649
3708
|
opacity = 0;
|
|
3650
3709
|
clearInterval(fading);
|
|
3651
3710
|
}
|
|
3652
|
-
|
|
3653
3711
|
element.style.opacity = opacity;
|
|
3654
3712
|
}, interval);
|
|
3655
3713
|
}
|
|
@@ -3676,7 +3734,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3676
3734
|
var scroll = container.scrollTop;
|
|
3677
3735
|
var elementHeight = container.clientHeight;
|
|
3678
3736
|
var itemHeight = this.getOuterHeight(item);
|
|
3679
|
-
|
|
3680
3737
|
if (offset < 0) {
|
|
3681
3738
|
container.scrollTop = scroll + offset;
|
|
3682
3739
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3695,7 +3752,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3695
3752
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3696
3753
|
try {
|
|
3697
3754
|
document['selection'].empty();
|
|
3698
|
-
} catch (error) {
|
|
3755
|
+
} catch (error) {
|
|
3756
|
+
//ignore IE bug
|
|
3699
3757
|
}
|
|
3700
3758
|
}
|
|
3701
3759
|
}
|
|
@@ -3717,19 +3775,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3717
3775
|
if (!this.browser) {
|
|
3718
3776
|
var matched = this.resolveUserAgent();
|
|
3719
3777
|
this.browser = {};
|
|
3720
|
-
|
|
3721
3778
|
if (matched.browser) {
|
|
3722
3779
|
this.browser[matched.browser] = true;
|
|
3723
3780
|
this.browser['version'] = matched.version;
|
|
3724
3781
|
}
|
|
3725
|
-
|
|
3726
3782
|
if (this.browser['chrome']) {
|
|
3727
3783
|
this.browser['webkit'] = true;
|
|
3728
3784
|
} else if (this.browser['webkit']) {
|
|
3729
3785
|
this.browser['safari'] = true;
|
|
3730
3786
|
}
|
|
3731
3787
|
}
|
|
3732
|
-
|
|
3733
3788
|
return this.browser;
|
|
3734
3789
|
}
|
|
3735
3790
|
}, {
|
|
@@ -3757,10 +3812,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3757
3812
|
value: function getFocusableElements(element) {
|
|
3758
3813
|
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])");
|
|
3759
3814
|
var visibleFocusableElements = [];
|
|
3760
|
-
|
|
3761
3815
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3762
|
-
|
|
3763
|
-
|
|
3816
|
+
_step3;
|
|
3764
3817
|
try {
|
|
3765
3818
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3766
3819
|
var focusableElement = _step3.value;
|
|
@@ -3771,7 +3824,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3771
3824
|
} finally {
|
|
3772
3825
|
_iterator3.f();
|
|
3773
3826
|
}
|
|
3774
|
-
|
|
3775
3827
|
return visibleFocusableElements;
|
|
3776
3828
|
}
|
|
3777
3829
|
}, {
|
|
@@ -3814,47 +3866,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3814
3866
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3815
3867
|
}
|
|
3816
3868
|
}]);
|
|
3817
|
-
|
|
3818
3869
|
return DomHandler;
|
|
3819
3870
|
}();
|
|
3820
3871
|
|
|
3821
|
-
|
|
3822
3872
|
// 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&
|
|
3823
|
-
//
|
|
3824
|
-
//
|
|
3825
|
-
//
|
|
3826
|
-
//
|
|
3827
|
-
//
|
|
3828
|
-
//
|
|
3829
|
-
//
|
|
3830
|
-
//
|
|
3831
|
-
//
|
|
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
3873
|
|
|
3859
3874
|
/* harmony default export */ var ImagePreviewvue_type_script_lang_js_ = ({
|
|
3860
3875
|
name: 'ImagePreview',
|
|
@@ -3884,7 +3899,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3884
3899
|
methods: {
|
|
3885
3900
|
onImageClick: function onImageClick() {
|
|
3886
3901
|
var _this = this;
|
|
3887
|
-
|
|
3888
3902
|
if (this.preview) {
|
|
3889
3903
|
this.maskVisible = true;
|
|
3890
3904
|
setTimeout(function () {
|
|
@@ -3901,7 +3915,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3901
3915
|
this.rotate = 0;
|
|
3902
3916
|
this.scale = 1;
|
|
3903
3917
|
}
|
|
3904
|
-
|
|
3905
3918
|
this.previewClick = false;
|
|
3906
3919
|
},
|
|
3907
3920
|
rotateRight: function rotateRight() {
|
|
@@ -3969,8 +3982,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3969
3982
|
});
|
|
3970
3983
|
// CONCATENATED MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=script&lang=js&
|
|
3971
3984
|
/* harmony default export */ var imagepreview_ImagePreviewvue_type_script_lang_js_ = (ImagePreviewvue_type_script_lang_js_);
|
|
3972
|
-
// EXTERNAL MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=style&index=0&lang=css&
|
|
3973
|
-
var
|
|
3985
|
+
// EXTERNAL MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=style&index=0&id=c36741da&prod&lang=css&
|
|
3986
|
+
var ImagePreviewvue_type_style_index_0_id_c36741da_prod_lang_css_ = __webpack_require__("e445");
|
|
3974
3987
|
|
|
3975
3988
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
3976
3989
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -3979,20 +3992,19 @@ var ImagePreviewvue_type_style_index_0_lang_css_ = __webpack_require__("3d9d");
|
|
|
3979
3992
|
// This module is a runtime utility for cleaner component module output and will
|
|
3980
3993
|
// be included in the final webpack user bundle.
|
|
3981
3994
|
|
|
3982
|
-
function normalizeComponent
|
|
3995
|
+
function normalizeComponent(
|
|
3983
3996
|
scriptExports,
|
|
3984
3997
|
render,
|
|
3985
3998
|
staticRenderFns,
|
|
3986
3999
|
functionalTemplate,
|
|
3987
4000
|
injectStyles,
|
|
3988
4001
|
scopeId,
|
|
3989
|
-
moduleIdentifier
|
|
4002
|
+
moduleIdentifier /* server only */,
|
|
3990
4003
|
shadowMode /* vue-cli only */
|
|
3991
4004
|
) {
|
|
3992
4005
|
// Vue.extend constructor export interop
|
|
3993
|
-
var options =
|
|
3994
|
-
? scriptExports.options
|
|
3995
|
-
: scriptExports
|
|
4006
|
+
var options =
|
|
4007
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
3996
4008
|
|
|
3997
4009
|
// render functions
|
|
3998
4010
|
if (render) {
|
|
@@ -4012,7 +4024,8 @@ function normalizeComponent (
|
|
|
4012
4024
|
}
|
|
4013
4025
|
|
|
4014
4026
|
var hook
|
|
4015
|
-
if (moduleIdentifier) {
|
|
4027
|
+
if (moduleIdentifier) {
|
|
4028
|
+
// server build
|
|
4016
4029
|
hook = function (context) {
|
|
4017
4030
|
// 2.3 injection
|
|
4018
4031
|
context =
|
|
@@ -4038,11 +4051,11 @@ function normalizeComponent (
|
|
|
4038
4051
|
} else if (injectStyles) {
|
|
4039
4052
|
hook = shadowMode
|
|
4040
4053
|
? function () {
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4054
|
+
injectStyles.call(
|
|
4055
|
+
this,
|
|
4056
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4057
|
+
)
|
|
4058
|
+
}
|
|
4046
4059
|
: injectStyles
|
|
4047
4060
|
}
|
|
4048
4061
|
|
|
@@ -4053,16 +4066,14 @@ function normalizeComponent (
|
|
|
4053
4066
|
options._injectStyles = hook
|
|
4054
4067
|
// register for functional component in vue file
|
|
4055
4068
|
var originalRender = options.render
|
|
4056
|
-
options.render = function renderWithStyleInjection
|
|
4069
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4057
4070
|
hook.call(context)
|
|
4058
4071
|
return originalRender(h, context)
|
|
4059
4072
|
}
|
|
4060
4073
|
} else {
|
|
4061
4074
|
// inject component registration as beforeCreate hook
|
|
4062
4075
|
var existing = options.beforeCreate
|
|
4063
|
-
options.beforeCreate = existing
|
|
4064
|
-
? [].concat(existing, hook)
|
|
4065
|
-
: [hook]
|
|
4076
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4066
4077
|
}
|
|
4067
4078
|
}
|
|
4068
4079
|
|