primevue 2.9.2 → 2.10.0
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/accordion/accordion.common.js +67 -68
- package/accordion/accordion.umd.js +67 -68
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/accordiontab.common.js +61 -38
- package/accordiontab/accordiontab.umd.js +61 -38
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +213 -109
- package/autocomplete/autocomplete.umd.js +213 -109
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +65 -60
- package/avatar/avatar.umd.js +65 -60
- package/avatar/avatar.umd.min.js +1 -1
- package/avatargroup/avatargroup.common.js +45 -46
- package/avatargroup/avatargroup.umd.js +45 -46
- package/avatargroup/avatargroup.umd.min.js +1 -1
- package/badge/badge.common.js +23 -22
- package/badge/badge.umd.js +23 -22
- package/badge/badge.umd.min.js +1 -1
- package/blockui/blockui.common.js +67 -68
- package/blockui/blockui.umd.js +67 -68
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +132 -87
- package/breadcrumb/breadcrumb.umd.js +132 -87
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +68 -38
- package/breadcrumb/breadcrumbitem.umd.js +68 -38
- 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 +53 -32
- package/button/button.umd.js +53 -32
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +7 -3
- package/calendar/calendar.common.js +613 -231
- package/calendar/calendar.umd.js +613 -231
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +60 -61
- package/card/card.umd.js +60 -61
- package/card/card.umd.min.js +1 -1
- package/carousel/carousel.common.js +178 -111
- package/carousel/carousel.umd.js +178 -111
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +207 -113
- package/cascadeselect/cascadeselect.umd.js +207 -113
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +79 -37
- package/cascadeselect/cascadeselectsub.umd.js +79 -37
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/chart/chart.common.js +78 -68
- package/chart/chart.umd.js +78 -68
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/checkbox.common.js +62 -29
- package/checkbox/checkbox.umd.js +62 -29
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +67 -51
- package/chip/chip.umd.js +67 -51
- package/chip/chip.umd.min.js +1 -1
- package/chips/chips.common.js +122 -79
- package/chips/chips.umd.js +122 -79
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +136 -85
- package/colorpicker/colorpicker.umd.js +136 -85
- 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 +21 -24
- package/columngroup/columngroup.umd.js +21 -24
- package/columngroup/columngroup.umd.min.js +1 -1
- package/confirmdialog/confirmdialog.common.js +237 -120
- package/confirmdialog/confirmdialog.umd.js +237 -120
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +143 -93
- package/confirmpopup/confirmpopup.umd.js +143 -93
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +197 -104
- package/contextmenu/contextmenu.umd.js +197 -104
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +126 -50
- package/contextmenu/contextmenusub.umd.js +126 -50
- 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 +264 -91
- package/datatable/bodycell.umd.js +264 -91
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +489 -183
- package/datatable/columnfilter.umd.js +489 -183
- 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 +2205 -816
- package/datatable/datatable.umd.js +2205 -816
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +5 -3
- package/datatable/footercell.common.js +35 -26
- package/datatable/footercell.umd.js +35 -26
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +641 -231
- package/datatable/headercell.umd.js +641 -231
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +60 -32
- package/datatable/headercheckbox.umd.js +60 -32
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +62 -29
- package/datatable/rowcheckbox.umd.js +62 -29
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +55 -26
- package/datatable/rowradiobutton.umd.js +55 -26
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +443 -142
- package/datatable/tablebody.umd.js +443 -142
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +73 -46
- package/datatable/tablefooter.umd.js +73 -46
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +848 -283
- package/datatable/tableheader.umd.js +848 -283
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +37 -28
- package/datatable/tableloadingbody.umd.js +37 -28
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +797 -380
- package/dataview/dataview.umd.js +797 -380
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +47 -29
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +47 -29
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
- package/deferredcontent/deferredcontent.common.js +23 -24
- package/deferredcontent/deferredcontent.umd.js +23 -24
- package/deferredcontent/deferredcontent.umd.min.js +1 -1
- package/dialog/dialog.common.js +140 -89
- package/dialog/dialog.umd.js +140 -89
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +50 -48
- package/divider/divider.umd.js +50 -48
- package/divider/divider.umd.min.js +1 -1
- package/dock/dock.common.js +181 -90
- package/dock/dock.umd.js +181 -90
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +133 -51
- package/dock/docksub.umd.js +133 -51
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/dropdown.common.js +205 -104
- package/dropdown/dropdown.umd.js +205 -104
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +201 -98
- package/editor/editor.umd.js +201 -98
- package/editor/editor.umd.min.js +3 -3
- package/fieldset/fieldset.common.js +121 -87
- package/fieldset/fieldset.umd.js +121 -87
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/fileupload.common.js +417 -245
- package/fileupload/fileupload.umd.js +417 -245
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +75 -57
- package/fullcalendar/fullcalendar.umd.js +75 -57
- package/fullcalendar/fullcalendar.umd.min.js +4 -18
- package/galleria/galleria.common.js +390 -164
- package/galleria/galleria.umd.js +390 -164
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +310 -107
- package/galleria/galleriacontent.umd.js +310 -107
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +111 -45
- package/galleria/galleriaitem.umd.js +111 -45
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +13 -15
- package/galleria/galleriaitemslot.umd.js +13 -15
- package/galleria/galleriathumbnails.common.js +109 -49
- package/galleria/galleriathumbnails.umd.js +109 -49
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +163 -97
- package/imagepreview/imagepreview.umd.js +163 -97
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +62 -55
- package/inlinemessage/inlinemessage.umd.js +62 -55
- package/inlinemessage/inlinemessage.umd.min.js +1 -1
- package/inplace/inplace.common.js +128 -91
- package/inplace/inplace.umd.js +128 -91
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +23 -22
- package/inputmask/inputmask.umd.js +23 -22
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +4 -1
- package/inputnumber/inputnumber.common.js +172 -100
- package/inputnumber/inputnumber.umd.js +172 -100
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +222 -37
- package/inputswitch/inputswitch.umd.js +222 -37
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +28 -22
- package/inputtext/inputtext.umd.js +28 -22
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +101 -72
- package/knob/knob.umd.js +101 -72
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +139 -84
- package/listbox/listbox.umd.js +139 -84
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -2
- package/megamenu/megamenu.common.js +258 -128
- package/megamenu/megamenu.umd.js +258 -128
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +190 -105
- package/menu/menu.umd.js +190 -105
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +83 -38
- package/menu/menuitem.umd.js +83 -38
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/demo.html +3 -4
- package/menubar/menubar.common.js +209 -111
- package/menubar/menubar.umd.js +209 -111
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +127 -49
- package/menubar/menubarsub.umd.js +127 -49
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +96 -78
- package/message/message.umd.js +96 -78
- package/message/message.umd.min.js +1 -1
- package/multiselect/multiselect.common.js +262 -129
- package/multiselect/multiselect.umd.js +262 -129
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/orderlist.common.js +183 -106
- package/orderlist/orderlist.umd.js +183 -106
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +177 -114
- package/organizationchart/organizationchart.umd.js +177 -114
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +110 -59
- package/organizationchart/organizationchartnode.umd.js +110 -59
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlaypanel/overlaypanel.common.js +96 -75
- package/overlaypanel/overlaypanel.umd.js +96 -75
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +2 -2
- package/paginator/currentpagereport.common.js +23 -21
- package/paginator/currentpagereport.umd.js +23 -21
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/firstpagelink.common.js +32 -24
- package/paginator/firstpagelink.umd.js +32 -24
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +227 -112
- package/paginator/jumptopagedropdown.umd.js +227 -112
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +193 -109
- package/paginator/jumptopageinput.umd.js +193 -109
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +32 -24
- package/paginator/lastpagelink.umd.js +32 -24
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +32 -24
- package/paginator/nextpagelink.umd.js +32 -24
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +42 -24
- package/paginator/pagelinks.umd.js +42 -24
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +699 -332
- package/paginator/paginator.umd.js +699 -332
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +32 -24
- package/paginator/prevpagelink.umd.js +32 -24
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +226 -112
- package/paginator/rowsperpagedropdown.umd.js +226 -112
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +117 -86
- package/panel/panel.umd.js +117 -86
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +237 -119
- package/panelmenu/panelmenu.umd.js +237 -119
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +111 -50
- package/panelmenu/panelmenusub.umd.js +111 -50
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/Password.vue +27 -4
- package/password/password.common.js +186 -120
- package/password/password.umd.js +186 -120
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +309 -134
- package/picklist/picklist.umd.js +309 -134
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +84 -75
- package/progressbar/progressbar.umd.js +84 -75
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +548 -45
- package/progressspinner/progressspinner.umd.js +548 -45
- package/progressspinner/progressspinner.umd.min.js +1 -1
- package/radiobutton/radiobutton.common.js +60 -29
- package/radiobutton/radiobutton.umd.js +60 -29
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +93 -67
- package/rating/rating.umd.js +93 -67
- package/rating/rating.umd.min.js +1 -1
- package/row/row.common.js +21 -24
- package/row/row.umd.js +21 -24
- package/row/row.umd.min.js +1 -1
- package/scrollpanel/scrollpanel.common.js +88 -74
- package/scrollpanel/scrollpanel.umd.js +88 -74
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +78 -64
- package/scrolltop/scrolltop.umd.js +78 -64
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +69 -31
- package/selectbutton/selectbutton.umd.js +69 -31
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/sidebar.common.js +100 -77
- package/sidebar/sidebar.umd.js +100 -77
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +58 -56
- package/skeleton/skeleton.umd.js +58 -56
- package/skeleton/skeleton.umd.min.js +1 -1
- package/slider/slider.common.js +158 -74
- package/slider/slider.umd.js +158 -74
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/speeddial.common.js +174 -103
- package/speeddial/speeddial.umd.js +174 -103
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +318 -179
- package/splitbutton/splitbutton.umd.js +318 -179
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +57 -59
- package/splitter/splitter.umd.js +57 -59
- 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 +113 -74
- package/steps/steps.umd.js +113 -74
- package/steps/steps.umd.min.js +1 -1
- package/tabmenu/tabmenu.common.js +127 -82
- package/tabmenu/tabmenu.umd.js +127 -82
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +32 -24
- package/tabpanel/tabpanel.umd.js +32 -24
- package/tabpanel/tabpanel.umd.min.js +1 -1
- package/tabview/tabview.common.js +154 -89
- package/tabview/tabview.umd.js +154 -89
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +60 -58
- package/tag/tag.umd.js +60 -58
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +97 -67
- package/terminal/terminal.umd.js +97 -67
- package/terminal/terminal.umd.min.js +1 -1
- package/textarea/textarea.common.js +73 -66
- package/textarea/textarea.umd.js +73 -66
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/demo.html +3 -4
- package/tieredmenu/tieredmenu.common.js +201 -104
- package/tieredmenu/tieredmenu.umd.js +201 -104
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +128 -49
- package/tieredmenu/tieredmenusub.umd.js +128 -49
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +94 -82
- package/timeline/timeline.umd.js +94 -82
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +134 -91
- package/toast/toast.umd.js +134 -91
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +58 -36
- package/toast/toastmessage.umd.js +58 -36
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +42 -25
- package/togglebutton/togglebutton.umd.js +42 -25
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +47 -46
- package/toolbar/toolbar.umd.js +47 -46
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tree/tree.common.js +197 -111
- package/tree/tree.umd.js +197 -111
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +91 -44
- package/tree/treenode.umd.js +91 -44
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/footercell.common.js +28 -25
- package/treetable/footercell.umd.js +28 -25
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +47 -29
- package/treetable/headercell.umd.js +47 -29
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +1020 -502
- package/treetable/treetable.umd.js +1020 -502
- 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 +87 -38
- package/treetable/treetablerow.umd.js +87 -38
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +87 -38
- package/treetable/treetablerowloader.umd.js +87 -38
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +60 -29
- package/tristatecheckbox/tristatecheckbox.umd.js +60 -29
- package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
- package/vetur-attributes.json +8 -0
- package/vetur-tags.json +3 -1
- package/web-types.json +21 -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,113 @@ 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
|
|
3185
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./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
|
+
|
|
3190
|
+
return _c('span', {
|
|
3191
|
+
ref: "container",
|
|
3192
|
+
class: _vm.containerClass,
|
|
3193
|
+
style: _vm.styles
|
|
3194
|
+
}, [_c('img', _vm._b({
|
|
3195
|
+
class: _vm.imageClass,
|
|
3196
|
+
style: _vm.imageStyle
|
|
3197
|
+
}, 'img', _vm.$attrs, false)), _vm.preview ? _c('div', {
|
|
3198
|
+
staticClass: "p-image-preview-indicator",
|
|
3199
|
+
on: {
|
|
3200
|
+
"click": _vm.onImageClick
|
|
3201
|
+
}
|
|
3202
|
+
}, [_vm._t("indicator", function () {
|
|
3203
|
+
return [_c('i', {
|
|
3204
|
+
staticClass: "p-image-preview-icon pi pi-eye"
|
|
3205
|
+
})];
|
|
3206
|
+
})], 2) : _vm._e(), _vm.maskVisible ? _c('div', {
|
|
3207
|
+
ref: "mask",
|
|
3208
|
+
class: _vm.maskClass,
|
|
3209
|
+
on: {
|
|
3210
|
+
"click": _vm.onMaskClick
|
|
3211
|
+
}
|
|
3212
|
+
}, [_c('div', {
|
|
3213
|
+
staticClass: "p-image-toolbar"
|
|
3214
|
+
}, [_c('button', {
|
|
3215
|
+
staticClass: "p-image-action p-link",
|
|
3216
|
+
attrs: {
|
|
3217
|
+
"type": "button"
|
|
3218
|
+
},
|
|
3219
|
+
on: {
|
|
3220
|
+
"click": _vm.rotateRight
|
|
3221
|
+
}
|
|
3222
|
+
}, [_c('i', {
|
|
3223
|
+
staticClass: "pi pi-refresh"
|
|
3224
|
+
})]), _c('button', {
|
|
3225
|
+
staticClass: "p-image-action p-link",
|
|
3226
|
+
attrs: {
|
|
3227
|
+
"type": "button"
|
|
3228
|
+
},
|
|
3229
|
+
on: {
|
|
3230
|
+
"click": _vm.rotateLeft
|
|
3231
|
+
}
|
|
3232
|
+
}, [_c('i', {
|
|
3233
|
+
staticClass: "pi pi-undo"
|
|
3234
|
+
})]), _c('button', {
|
|
3235
|
+
staticClass: "p-image-action p-link",
|
|
3236
|
+
attrs: {
|
|
3237
|
+
"type": "button",
|
|
3238
|
+
"disabled": _vm.zoomDisabled
|
|
3239
|
+
},
|
|
3240
|
+
on: {
|
|
3241
|
+
"click": _vm.zoomOut
|
|
3242
|
+
}
|
|
3243
|
+
}, [_c('i', {
|
|
3244
|
+
staticClass: "pi pi-search-minus"
|
|
3245
|
+
})]), _c('button', {
|
|
3246
|
+
staticClass: "p-image-action p-link",
|
|
3247
|
+
attrs: {
|
|
3248
|
+
"type": "button",
|
|
3249
|
+
"disabled": _vm.zoomDisabled
|
|
3250
|
+
},
|
|
3251
|
+
on: {
|
|
3252
|
+
"click": _vm.zoomIn
|
|
3253
|
+
}
|
|
3254
|
+
}, [_c('i', {
|
|
3255
|
+
staticClass: "pi pi-search-plus"
|
|
3256
|
+
})]), _vm._m(0)]), _c('transition', {
|
|
3257
|
+
attrs: {
|
|
3258
|
+
"name": "p-image-preview"
|
|
3259
|
+
},
|
|
3260
|
+
on: {
|
|
3261
|
+
"before-enter": _vm.onBeforeEnter,
|
|
3262
|
+
"enter": _vm.onEnter,
|
|
3263
|
+
"leave": _vm.onLeave,
|
|
3264
|
+
"before-leave": _vm.onBeforeLeave,
|
|
3265
|
+
"after-leave": _vm.onAfterLeave
|
|
3266
|
+
}
|
|
3267
|
+
}, [_vm.previewVisible ? _c('div', [_c('img', {
|
|
3268
|
+
staticClass: "p-image-preview",
|
|
3269
|
+
style: _vm.imagePreviewStyle,
|
|
3270
|
+
attrs: {
|
|
3271
|
+
"src": _vm.$attrs.src
|
|
3272
|
+
},
|
|
3273
|
+
on: {
|
|
3274
|
+
"click": _vm.onPreviewImageClick
|
|
3275
|
+
}
|
|
3276
|
+
})]) : _vm._e()])], 1) : _vm._e()]);
|
|
3277
|
+
};
|
|
3278
|
+
|
|
3279
|
+
var staticRenderFns = [function () {
|
|
3280
|
+
var _vm = this,
|
|
3281
|
+
_c = _vm._self._c;
|
|
3188
3282
|
|
|
3283
|
+
return _c('button', {
|
|
3284
|
+
staticClass: "p-image-action p-link",
|
|
3285
|
+
attrs: {
|
|
3286
|
+
"type": "button"
|
|
3287
|
+
}
|
|
3288
|
+
}, [_c('i', {
|
|
3289
|
+
staticClass: "pi pi-times"
|
|
3290
|
+
})]);
|
|
3291
|
+
}];
|
|
3189
3292
|
|
|
3190
3293
|
// CONCATENATED MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=template&id=c36741da&
|
|
3191
3294
|
|
|
@@ -3829,41 +3932,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3829
3932
|
|
|
3830
3933
|
|
|
3831
3934
|
// 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
3935
|
|
|
3868
3936
|
/* harmony default export */ var ImagePreviewvue_type_script_lang_js_ = ({
|
|
3869
3937
|
name: 'ImagePreview',
|
|
@@ -3978,8 +4046,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3978
4046
|
});
|
|
3979
4047
|
// CONCATENATED MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=script&lang=js&
|
|
3980
4048
|
/* 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
|
|
4049
|
+
// EXTERNAL MODULE: ./src/components/imagepreview/ImagePreview.vue?vue&type=style&index=0&id=c36741da&prod&lang=css&
|
|
4050
|
+
var ImagePreviewvue_type_style_index_0_id_c36741da_prod_lang_css_ = __webpack_require__("e445");
|
|
3983
4051
|
|
|
3984
4052
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
3985
4053
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -3988,20 +4056,19 @@ var ImagePreviewvue_type_style_index_0_lang_css_ = __webpack_require__("3d9d");
|
|
|
3988
4056
|
// This module is a runtime utility for cleaner component module output and will
|
|
3989
4057
|
// be included in the final webpack user bundle.
|
|
3990
4058
|
|
|
3991
|
-
function normalizeComponent
|
|
4059
|
+
function normalizeComponent(
|
|
3992
4060
|
scriptExports,
|
|
3993
4061
|
render,
|
|
3994
4062
|
staticRenderFns,
|
|
3995
4063
|
functionalTemplate,
|
|
3996
4064
|
injectStyles,
|
|
3997
4065
|
scopeId,
|
|
3998
|
-
moduleIdentifier
|
|
4066
|
+
moduleIdentifier /* server only */,
|
|
3999
4067
|
shadowMode /* vue-cli only */
|
|
4000
4068
|
) {
|
|
4001
4069
|
// Vue.extend constructor export interop
|
|
4002
|
-
var options =
|
|
4003
|
-
? scriptExports.options
|
|
4004
|
-
: scriptExports
|
|
4070
|
+
var options =
|
|
4071
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4005
4072
|
|
|
4006
4073
|
// render functions
|
|
4007
4074
|
if (render) {
|
|
@@ -4021,7 +4088,8 @@ function normalizeComponent (
|
|
|
4021
4088
|
}
|
|
4022
4089
|
|
|
4023
4090
|
var hook
|
|
4024
|
-
if (moduleIdentifier) {
|
|
4091
|
+
if (moduleIdentifier) {
|
|
4092
|
+
// server build
|
|
4025
4093
|
hook = function (context) {
|
|
4026
4094
|
// 2.3 injection
|
|
4027
4095
|
context =
|
|
@@ -4047,11 +4115,11 @@ function normalizeComponent (
|
|
|
4047
4115
|
} else if (injectStyles) {
|
|
4048
4116
|
hook = shadowMode
|
|
4049
4117
|
? function () {
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4118
|
+
injectStyles.call(
|
|
4119
|
+
this,
|
|
4120
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4121
|
+
)
|
|
4122
|
+
}
|
|
4055
4123
|
: injectStyles
|
|
4056
4124
|
}
|
|
4057
4125
|
|
|
@@ -4062,16 +4130,14 @@ function normalizeComponent (
|
|
|
4062
4130
|
options._injectStyles = hook
|
|
4063
4131
|
// register for functional component in vue file
|
|
4064
4132
|
var originalRender = options.render
|
|
4065
|
-
options.render = function renderWithStyleInjection
|
|
4133
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4066
4134
|
hook.call(context)
|
|
4067
4135
|
return originalRender(h, context)
|
|
4068
4136
|
}
|
|
4069
4137
|
} else {
|
|
4070
4138
|
// inject component registration as beforeCreate hook
|
|
4071
4139
|
var existing = options.beforeCreate
|
|
4072
|
-
options.beforeCreate = existing
|
|
4073
|
-
? [].concat(existing, hook)
|
|
4074
|
-
: [hook]
|
|
4140
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4075
4141
|
}
|
|
4076
4142
|
}
|
|
4077
4143
|
|