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
|
@@ -1975,6 +1975,17 @@ if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a
|
|
|
1975
1975
|
}
|
|
1976
1976
|
|
|
1977
1977
|
|
|
1978
|
+
/***/ }),
|
|
1979
|
+
|
|
1980
|
+
/***/ "7360":
|
|
1981
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1982
|
+
|
|
1983
|
+
"use strict";
|
|
1984
|
+
/* 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_ContextMenu_vue_vue_type_style_index_0_id_47d55cea_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8e22");
|
|
1985
|
+
/* 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_ContextMenu_vue_vue_type_style_index_0_id_47d55cea_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_ContextMenu_vue_vue_type_style_index_0_id_47d55cea_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1986
|
+
/* unused harmony reexport * */
|
|
1987
|
+
|
|
1988
|
+
|
|
1978
1989
|
/***/ }),
|
|
1979
1990
|
|
|
1980
1991
|
/***/ "7514":
|
|
@@ -2478,28 +2489,29 @@ module.exports = {
|
|
|
2478
2489
|
|
|
2479
2490
|
/***/ }),
|
|
2480
2491
|
|
|
2481
|
-
/***/ "
|
|
2492
|
+
/***/ "8e22":
|
|
2482
2493
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2483
2494
|
|
|
2484
|
-
//
|
|
2485
|
-
module.exports = !__webpack_require__("294c")(function () {
|
|
2486
|
-
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
2487
|
-
});
|
|
2495
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2488
2496
|
|
|
2497
|
+
// load the styles
|
|
2498
|
+
var content = __webpack_require__("abea");
|
|
2499
|
+
if(content.__esModule) content = content.default;
|
|
2500
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2501
|
+
if(content.locals) module.exports = content.locals;
|
|
2502
|
+
// add the styles to the DOM
|
|
2503
|
+
var add = __webpack_require__("499e").default
|
|
2504
|
+
var update = add("e48b4dae", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2489
2505
|
|
|
2490
2506
|
/***/ }),
|
|
2491
2507
|
|
|
2492
|
-
/***/ "
|
|
2508
|
+
/***/ "8e60":
|
|
2493
2509
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2494
2510
|
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
// module
|
|
2500
|
-
exports.push([module.i, ".p-contextmenu{position:absolute}.p-contextmenu ul{margin:0;padding:0;list-style:none}.p-contextmenu .p-submenu-list{position:absolute;min-width:100%;z-index:1}.p-contextmenu .p-menuitem-link{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-contextmenu .p-menuitem-text{line-height:1}.p-contextmenu .p-menuitem{position:relative}.p-contextmenu .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-contextmenu-enter{opacity:0}.p-contextmenu-enter-active{-webkit-transition:opacity .25s;transition:opacity .25s}", ""]);
|
|
2501
|
-
|
|
2502
|
-
// exports
|
|
2511
|
+
// Thank's IE8 for his funny defineProperty
|
|
2512
|
+
module.exports = !__webpack_require__("294c")(function () {
|
|
2513
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
2514
|
+
});
|
|
2503
2515
|
|
|
2504
2516
|
|
|
2505
2517
|
/***/ }),
|
|
@@ -2759,6 +2771,21 @@ module.exports = function (it) {
|
|
|
2759
2771
|
};
|
|
2760
2772
|
|
|
2761
2773
|
|
|
2774
|
+
/***/ }),
|
|
2775
|
+
|
|
2776
|
+
/***/ "abea":
|
|
2777
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2778
|
+
|
|
2779
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
2780
|
+
// imports
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
// module
|
|
2784
|
+
exports.push([module.i, ".p-contextmenu{position:absolute}.p-contextmenu ul{margin:0;padding:0;list-style:none}.p-contextmenu .p-submenu-list{position:absolute;min-width:100%;z-index:1}.p-contextmenu .p-menuitem-link{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-contextmenu .p-menuitem-text{line-height:1}.p-contextmenu .p-menuitem{position:relative}.p-contextmenu .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-contextmenu-enter{opacity:0}.p-contextmenu-enter-active{-webkit-transition:opacity .25s;transition:opacity .25s}", ""]);
|
|
2785
|
+
|
|
2786
|
+
// exports
|
|
2787
|
+
|
|
2788
|
+
|
|
2762
2789
|
/***/ }),
|
|
2763
2790
|
|
|
2764
2791
|
/***/ "ac4d":
|
|
@@ -2918,22 +2945,6 @@ if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
|
|
|
2918
2945
|
}
|
|
2919
2946
|
|
|
2920
2947
|
|
|
2921
|
-
/***/ }),
|
|
2922
|
-
|
|
2923
|
-
/***/ "c66e":
|
|
2924
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2925
|
-
|
|
2926
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2927
|
-
|
|
2928
|
-
// load the styles
|
|
2929
|
-
var content = __webpack_require__("8fa8");
|
|
2930
|
-
if(content.__esModule) content = content.default;
|
|
2931
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2932
|
-
if(content.locals) module.exports = content.locals;
|
|
2933
|
-
// add the styles to the DOM
|
|
2934
|
-
var add = __webpack_require__("499e").default
|
|
2935
|
-
var update = add("0bf3a98e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2936
|
-
|
|
2937
2948
|
/***/ }),
|
|
2938
2949
|
|
|
2939
2950
|
/***/ "c69a":
|
|
@@ -3134,17 +3145,6 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
|
|
|
3134
3145
|
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
3135
3146
|
|
|
3136
3147
|
|
|
3137
|
-
/***/ }),
|
|
3138
|
-
|
|
3139
|
-
/***/ "e806":
|
|
3140
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3141
|
-
|
|
3142
|
-
"use strict";
|
|
3143
|
-
/* 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_ContextMenu_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c66e");
|
|
3144
|
-
/* 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_ContextMenu_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_ContextMenu_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
3145
|
-
/* unused harmony reexport * */
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
3148
|
/***/ }),
|
|
3149
3149
|
|
|
3150
3150
|
/***/ "e853":
|
|
@@ -3296,10 +3296,33 @@ if (typeof window !== 'undefined') {
|
|
|
3296
3296
|
// Indicate to webpack that this file can be concatenated
|
|
3297
3297
|
/* harmony default export */ var setPublicPath = (null);
|
|
3298
3298
|
|
|
3299
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3300
|
-
var render = function () {
|
|
3301
|
-
var
|
|
3302
|
-
|
|
3299
|
+
// 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/contextmenu/ContextMenu.vue?vue&type=template&id=47d55cea&
|
|
3300
|
+
var render = function render() {
|
|
3301
|
+
var _vm = this,
|
|
3302
|
+
_c = _vm._self._c;
|
|
3303
|
+
return _c('transition', {
|
|
3304
|
+
attrs: {
|
|
3305
|
+
"name": "p-contextmenu"
|
|
3306
|
+
},
|
|
3307
|
+
on: {
|
|
3308
|
+
"enter": _vm.onEnter,
|
|
3309
|
+
"leave": _vm.onLeave
|
|
3310
|
+
}
|
|
3311
|
+
}, [_vm.visible ? _c('div', {
|
|
3312
|
+
ref: "container",
|
|
3313
|
+
staticClass: "p-contextmenu p-component"
|
|
3314
|
+
}, [_c('ContextMenuSub', {
|
|
3315
|
+
attrs: {
|
|
3316
|
+
"model": _vm.model,
|
|
3317
|
+
"root": true,
|
|
3318
|
+
"exact": _vm.exact
|
|
3319
|
+
},
|
|
3320
|
+
on: {
|
|
3321
|
+
"leaf-click": _vm.onLeafClick
|
|
3322
|
+
}
|
|
3323
|
+
})], 1) : _vm._e()]);
|
|
3324
|
+
};
|
|
3325
|
+
var staticRenderFns = [];
|
|
3303
3326
|
|
|
3304
3327
|
// CONCATENATED MODULE: ./src/components/contextmenu/ContextMenu.vue?vue&type=template&id=47d55cea&
|
|
3305
3328
|
|
|
@@ -3348,26 +3371,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3348
3371
|
|
|
3349
3372
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3350
3373
|
|
|
3351
|
-
|
|
3352
3374
|
function _defineProperties(target, props) {
|
|
3353
3375
|
for (var i = 0; i < props.length; i++) {
|
|
3354
3376
|
var descriptor = props[i];
|
|
3355
3377
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3356
3378
|
descriptor.configurable = true;
|
|
3357
3379
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3358
|
-
|
|
3359
3380
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3360
3381
|
}
|
|
3361
3382
|
}
|
|
3362
|
-
|
|
3363
3383
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3364
3384
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3365
3385
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3366
|
-
|
|
3367
3386
|
define_property_default()(Constructor, "prototype", {
|
|
3368
3387
|
writable: false
|
|
3369
3388
|
});
|
|
3370
|
-
|
|
3371
3389
|
return Constructor;
|
|
3372
3390
|
}
|
|
3373
3391
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3383,18 +3401,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3383
3401
|
|
|
3384
3402
|
|
|
3385
3403
|
|
|
3386
|
-
|
|
3387
3404
|
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; } } }; }
|
|
3388
|
-
|
|
3389
3405
|
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); }
|
|
3390
|
-
|
|
3391
3406
|
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; }
|
|
3392
|
-
|
|
3393
3407
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3394
3408
|
function DomHandler() {
|
|
3395
3409
|
_classCallCheck(this, DomHandler);
|
|
3396
3410
|
}
|
|
3397
|
-
|
|
3398
3411
|
_createClass(DomHandler, null, [{
|
|
3399
3412
|
key: "innerWidth",
|
|
3400
3413
|
value: function innerWidth(el) {
|
|
@@ -3428,12 +3441,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3428
3441
|
value: function getOuterWidth(el, margin) {
|
|
3429
3442
|
if (el) {
|
|
3430
3443
|
var width = el.offsetWidth;
|
|
3431
|
-
|
|
3432
3444
|
if (margin) {
|
|
3433
3445
|
var style = getComputedStyle(el);
|
|
3434
3446
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3435
3447
|
}
|
|
3436
|
-
|
|
3437
3448
|
return width;
|
|
3438
3449
|
} else {
|
|
3439
3450
|
return 0;
|
|
@@ -3444,12 +3455,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3444
3455
|
value: function getOuterHeight(el, margin) {
|
|
3445
3456
|
if (el) {
|
|
3446
3457
|
var height = el.offsetHeight;
|
|
3447
|
-
|
|
3448
3458
|
if (margin) {
|
|
3449
3459
|
var style = getComputedStyle(el);
|
|
3450
3460
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3451
3461
|
}
|
|
3452
|
-
|
|
3453
3462
|
return height;
|
|
3454
3463
|
} else {
|
|
3455
3464
|
return 0;
|
|
@@ -3460,12 +3469,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3460
3469
|
value: function getClientHeight(el, margin) {
|
|
3461
3470
|
if (el) {
|
|
3462
3471
|
var height = el.clientHeight;
|
|
3463
|
-
|
|
3464
3472
|
if (margin) {
|
|
3465
3473
|
var style = getComputedStyle(el);
|
|
3466
3474
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3467
3475
|
}
|
|
3468
|
-
|
|
3469
3476
|
return height;
|
|
3470
3477
|
} else {
|
|
3471
3478
|
return 0;
|
|
@@ -3475,11 +3482,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3475
3482
|
key: "getViewport",
|
|
3476
3483
|
value: function getViewport() {
|
|
3477
3484
|
var win = window,
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3485
|
+
d = document,
|
|
3486
|
+
e = d.documentElement,
|
|
3487
|
+
g = d.getElementsByTagName('body')[0],
|
|
3488
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3489
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3483
3490
|
return {
|
|
3484
3491
|
width: w,
|
|
3485
3492
|
height: h
|
|
@@ -3510,12 +3517,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3510
3517
|
value: function index(element) {
|
|
3511
3518
|
var children = element.parentNode.childNodes;
|
|
3512
3519
|
var num = 0;
|
|
3513
|
-
|
|
3514
3520
|
for (var i = 0; i < children.length; i++) {
|
|
3515
3521
|
if (children[i] === element) return num;
|
|
3516
3522
|
if (children[i].nodeType === 1) num++;
|
|
3517
3523
|
}
|
|
3518
|
-
|
|
3519
3524
|
return -1;
|
|
3520
3525
|
}
|
|
3521
3526
|
}, {
|
|
@@ -3523,13 +3528,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3523
3528
|
value: function addMultipleClasses(element, className) {
|
|
3524
3529
|
if (element.classList) {
|
|
3525
3530
|
var styles = className.split(' ');
|
|
3526
|
-
|
|
3527
3531
|
for (var i = 0; i < styles.length; i++) {
|
|
3528
3532
|
element.classList.add(styles[i]);
|
|
3529
3533
|
}
|
|
3530
3534
|
} else {
|
|
3531
3535
|
var _styles = className.split(' ');
|
|
3532
|
-
|
|
3533
3536
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3534
3537
|
element.className += ' ' + _styles[_i];
|
|
3535
3538
|
}
|
|
@@ -3551,7 +3554,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3551
3554
|
if (element) {
|
|
3552
3555
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3553
3556
|
}
|
|
3554
|
-
|
|
3555
3557
|
return false;
|
|
3556
3558
|
}
|
|
3557
3559
|
}, {
|
|
@@ -3596,11 +3598,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3596
3598
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3597
3599
|
var viewport = this.getViewport();
|
|
3598
3600
|
var top, left;
|
|
3599
|
-
|
|
3600
3601
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3601
3602
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3602
3603
|
element.style.transformOrigin = 'bottom';
|
|
3603
|
-
|
|
3604
3604
|
if (top < 0) {
|
|
3605
3605
|
top = windowScrollTop;
|
|
3606
3606
|
}
|
|
@@ -3608,7 +3608,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3608
3608
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3609
3609
|
element.style.transformOrigin = 'top';
|
|
3610
3610
|
}
|
|
3611
|
-
|
|
3612
3611
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3613
3612
|
element.style.top = top + 'px';
|
|
3614
3613
|
element.style.left = left + 'px';
|
|
@@ -3624,11 +3623,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3624
3623
|
var targetOffset = target.getBoundingClientRect();
|
|
3625
3624
|
var viewport = this.getViewport();
|
|
3626
3625
|
var top, left;
|
|
3627
|
-
|
|
3628
3626
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3629
3627
|
top = -1 * elementDimensions.height;
|
|
3630
3628
|
element.style.transformOrigin = 'bottom';
|
|
3631
|
-
|
|
3632
3629
|
if (targetOffset.top + top < 0) {
|
|
3633
3630
|
top = -1 * targetOffset.top;
|
|
3634
3631
|
}
|
|
@@ -3636,7 +3633,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3636
3633
|
top = targetHeight;
|
|
3637
3634
|
element.style.transformOrigin = 'top';
|
|
3638
3635
|
}
|
|
3639
|
-
|
|
3640
3636
|
if (elementDimensions.width > viewport.width) {
|
|
3641
3637
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3642
3638
|
left = targetOffset.left * -1;
|
|
@@ -3647,7 +3643,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3647
3643
|
// element fits on screen (align with target)
|
|
3648
3644
|
left = 0;
|
|
3649
3645
|
}
|
|
3650
|
-
|
|
3651
3646
|
element.style.top = top + 'px';
|
|
3652
3647
|
element.style.left = left + 'px';
|
|
3653
3648
|
}
|
|
@@ -3661,35 +3656,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3661
3656
|
key: "getScrollableParents",
|
|
3662
3657
|
value: function getScrollableParents(element) {
|
|
3663
3658
|
var scrollableParents = [];
|
|
3664
|
-
|
|
3665
3659
|
if (element) {
|
|
3666
3660
|
var parents = this.getParents(element);
|
|
3667
3661
|
var overflowRegex = /(auto|scroll)/;
|
|
3668
|
-
|
|
3669
3662
|
var overflowCheck = function overflowCheck(node) {
|
|
3670
3663
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3671
3664
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3672
3665
|
};
|
|
3673
|
-
|
|
3674
3666
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3675
|
-
|
|
3676
|
-
|
|
3667
|
+
_step;
|
|
3677
3668
|
try {
|
|
3678
3669
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3679
3670
|
var parent = _step.value;
|
|
3680
3671
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3681
|
-
|
|
3682
3672
|
if (scrollSelectors) {
|
|
3683
3673
|
var selectors = scrollSelectors.split(',');
|
|
3684
|
-
|
|
3685
3674
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3686
|
-
|
|
3687
|
-
|
|
3675
|
+
_step2;
|
|
3688
3676
|
try {
|
|
3689
3677
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3690
3678
|
var selector = _step2.value;
|
|
3691
3679
|
var el = this.findSingle(parent, selector);
|
|
3692
|
-
|
|
3693
3680
|
if (el && overflowCheck(el)) {
|
|
3694
3681
|
scrollableParents.push(el);
|
|
3695
3682
|
}
|
|
@@ -3707,7 +3694,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3707
3694
|
_iterator.f();
|
|
3708
3695
|
}
|
|
3709
3696
|
}
|
|
3710
|
-
|
|
3711
3697
|
return scrollableParents;
|
|
3712
3698
|
}
|
|
3713
3699
|
}, {
|
|
@@ -3748,34 +3734,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3748
3734
|
element.style.opacity = 0;
|
|
3749
3735
|
var last = +new Date();
|
|
3750
3736
|
var opacity = 0;
|
|
3751
|
-
|
|
3752
3737
|
var tick = function tick() {
|
|
3753
3738
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3754
3739
|
element.style.opacity = opacity;
|
|
3755
3740
|
last = +new Date();
|
|
3756
|
-
|
|
3757
3741
|
if (+opacity < 1) {
|
|
3758
3742
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3759
3743
|
}
|
|
3760
3744
|
};
|
|
3761
|
-
|
|
3762
3745
|
tick();
|
|
3763
3746
|
}
|
|
3764
3747
|
}, {
|
|
3765
3748
|
key: "fadeOut",
|
|
3766
3749
|
value: function fadeOut(element, ms) {
|
|
3767
3750
|
var opacity = 1,
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3751
|
+
interval = 50,
|
|
3752
|
+
duration = ms,
|
|
3753
|
+
gap = interval / duration;
|
|
3771
3754
|
var fading = setInterval(function () {
|
|
3772
3755
|
opacity -= gap;
|
|
3773
|
-
|
|
3774
3756
|
if (opacity <= 0) {
|
|
3775
3757
|
opacity = 0;
|
|
3776
3758
|
clearInterval(fading);
|
|
3777
3759
|
}
|
|
3778
|
-
|
|
3779
3760
|
element.style.opacity = opacity;
|
|
3780
3761
|
}, interval);
|
|
3781
3762
|
}
|
|
@@ -3802,7 +3783,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3802
3783
|
var scroll = container.scrollTop;
|
|
3803
3784
|
var elementHeight = container.clientHeight;
|
|
3804
3785
|
var itemHeight = this.getOuterHeight(item);
|
|
3805
|
-
|
|
3806
3786
|
if (offset < 0) {
|
|
3807
3787
|
container.scrollTop = scroll + offset;
|
|
3808
3788
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3821,7 +3801,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3821
3801
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3822
3802
|
try {
|
|
3823
3803
|
document['selection'].empty();
|
|
3824
|
-
} catch (error) {
|
|
3804
|
+
} catch (error) {
|
|
3805
|
+
//ignore IE bug
|
|
3825
3806
|
}
|
|
3826
3807
|
}
|
|
3827
3808
|
}
|
|
@@ -3843,19 +3824,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3843
3824
|
if (!this.browser) {
|
|
3844
3825
|
var matched = this.resolveUserAgent();
|
|
3845
3826
|
this.browser = {};
|
|
3846
|
-
|
|
3847
3827
|
if (matched.browser) {
|
|
3848
3828
|
this.browser[matched.browser] = true;
|
|
3849
3829
|
this.browser['version'] = matched.version;
|
|
3850
3830
|
}
|
|
3851
|
-
|
|
3852
3831
|
if (this.browser['chrome']) {
|
|
3853
3832
|
this.browser['webkit'] = true;
|
|
3854
3833
|
} else if (this.browser['webkit']) {
|
|
3855
3834
|
this.browser['safari'] = true;
|
|
3856
3835
|
}
|
|
3857
3836
|
}
|
|
3858
|
-
|
|
3859
3837
|
return this.browser;
|
|
3860
3838
|
}
|
|
3861
3839
|
}, {
|
|
@@ -3883,10 +3861,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3883
3861
|
value: function getFocusableElements(element) {
|
|
3884
3862
|
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])");
|
|
3885
3863
|
var visibleFocusableElements = [];
|
|
3886
|
-
|
|
3887
3864
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3888
|
-
|
|
3889
|
-
|
|
3865
|
+
_step3;
|
|
3890
3866
|
try {
|
|
3891
3867
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3892
3868
|
var focusableElement = _step3.value;
|
|
@@ -3897,7 +3873,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3897
3873
|
} finally {
|
|
3898
3874
|
_iterator3.f();
|
|
3899
3875
|
}
|
|
3900
|
-
|
|
3901
3876
|
return visibleFocusableElements;
|
|
3902
3877
|
}
|
|
3903
3878
|
}, {
|
|
@@ -3940,67 +3915,158 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3940
3915
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3941
3916
|
}
|
|
3942
3917
|
}]);
|
|
3943
|
-
|
|
3944
3918
|
return DomHandler;
|
|
3945
3919
|
}();
|
|
3946
3920
|
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
var
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3921
|
+
// 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/contextmenu/ContextMenuSub.vue?vue&type=template&id=55e43e6c&
|
|
3922
|
+
var ContextMenuSubvue_type_template_id_55e43e6c_render = function render() {
|
|
3923
|
+
var _vm = this,
|
|
3924
|
+
_c = _vm._self._c;
|
|
3925
|
+
return _c('transition', {
|
|
3926
|
+
attrs: {
|
|
3927
|
+
"name": "p-contextmenusub"
|
|
3928
|
+
},
|
|
3929
|
+
on: {
|
|
3930
|
+
"enter": _vm.onEnter
|
|
3931
|
+
}
|
|
3932
|
+
}, [(_vm.root ? true : _vm.parentActive) ? _c('ul', {
|
|
3933
|
+
ref: "container",
|
|
3934
|
+
class: _vm.containerClass,
|
|
3935
|
+
attrs: {
|
|
3936
|
+
"role": "menu"
|
|
3937
|
+
}
|
|
3938
|
+
}, [_vm._l(_vm.model, function (item, i) {
|
|
3939
|
+
return [_vm.visible(item) && !item.separator ? _c('li', {
|
|
3940
|
+
key: _vm.label(item) + i,
|
|
3941
|
+
class: _vm.getItemClass(item),
|
|
3942
|
+
style: item.style,
|
|
3943
|
+
attrs: {
|
|
3944
|
+
"role": "none"
|
|
3945
|
+
},
|
|
3946
|
+
on: {
|
|
3947
|
+
"mouseenter": function mouseenter($event) {
|
|
3948
|
+
return _vm.onItemMouseEnter($event, item);
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
3952
|
+
attrs: {
|
|
3953
|
+
"to": item.to,
|
|
3954
|
+
"custom": ""
|
|
3955
|
+
},
|
|
3956
|
+
scopedSlots: _vm._u([{
|
|
3957
|
+
key: "default",
|
|
3958
|
+
fn: function fn(_ref) {
|
|
3959
|
+
var navigate = _ref.navigate,
|
|
3960
|
+
href = _ref.href,
|
|
3961
|
+
isActive = _ref.isActive,
|
|
3962
|
+
isExactActive = _ref.isExactActive;
|
|
3963
|
+
return [_c('a', {
|
|
3964
|
+
directives: [{
|
|
3965
|
+
name: "ripple",
|
|
3966
|
+
rawName: "v-ripple"
|
|
3967
|
+
}],
|
|
3968
|
+
class: _vm.linkClass(item, {
|
|
3969
|
+
isActive: isActive,
|
|
3970
|
+
isExactActive: isExactActive
|
|
3971
|
+
}),
|
|
3972
|
+
attrs: {
|
|
3973
|
+
"href": href,
|
|
3974
|
+
"role": "menuitem"
|
|
3975
|
+
},
|
|
3976
|
+
nativeOn: {
|
|
3977
|
+
"click": function click($event) {
|
|
3978
|
+
return _vm.onItemClick($event, item, navigate);
|
|
3979
|
+
}
|
|
3980
|
+
}
|
|
3981
|
+
}, [_c('span', {
|
|
3982
|
+
class: ['p-menuitem-icon', item.icon]
|
|
3983
|
+
}), _c('span', {
|
|
3984
|
+
staticClass: "p-menuitem-text"
|
|
3985
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])];
|
|
3986
|
+
}
|
|
3987
|
+
}], null, true)
|
|
3988
|
+
}) : _c('a', {
|
|
3989
|
+
directives: [{
|
|
3990
|
+
name: "ripple",
|
|
3991
|
+
rawName: "v-ripple"
|
|
3992
|
+
}],
|
|
3993
|
+
class: _vm.linkClass(item),
|
|
3994
|
+
attrs: {
|
|
3995
|
+
"href": item.url,
|
|
3996
|
+
"target": item.target,
|
|
3997
|
+
"aria-haspopup": item.items != null,
|
|
3998
|
+
"aria-expanded": item === _vm.activeItem,
|
|
3999
|
+
"role": "menuitem",
|
|
4000
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
4001
|
+
},
|
|
4002
|
+
on: {
|
|
4003
|
+
"click": function click($event) {
|
|
4004
|
+
return _vm.onItemClick($event, item);
|
|
4005
|
+
}
|
|
4006
|
+
}
|
|
4007
|
+
}, [_c('span', {
|
|
4008
|
+
class: ['p-menuitem-icon', item.icon]
|
|
4009
|
+
}), _c('span', {
|
|
4010
|
+
staticClass: "p-menuitem-text"
|
|
4011
|
+
}, [_vm._v(_vm._s(_vm.label(item)))]), item.items ? _c('span', {
|
|
4012
|
+
staticClass: "p-submenu-icon pi pi-angle-right"
|
|
4013
|
+
}) : _vm._e()]), _vm.visible(item) && item.items ? _c('sub-menu', {
|
|
4014
|
+
key: _vm.label(item) + '_sub_',
|
|
4015
|
+
attrs: {
|
|
4016
|
+
"model": item.items,
|
|
4017
|
+
"parentActive": item === _vm.activeItem
|
|
4018
|
+
},
|
|
4019
|
+
on: {
|
|
4020
|
+
"leaf-click": _vm.onLeafClick
|
|
4021
|
+
}
|
|
4022
|
+
}) : _vm._e()], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
|
|
4023
|
+
key: 'separator' + i,
|
|
4024
|
+
class: ['p-menu-separator', item.class],
|
|
4025
|
+
style: item.style,
|
|
4026
|
+
attrs: {
|
|
4027
|
+
"role": "separator"
|
|
4028
|
+
}
|
|
4029
|
+
}) : _vm._e()];
|
|
4030
|
+
})], 2) : _vm._e()]);
|
|
4031
|
+
};
|
|
4032
|
+
var ContextMenuSubvue_type_template_id_55e43e6c_staticRenderFns = [];
|
|
3957
4033
|
|
|
3958
4034
|
// CONCATENATED MODULE: ./src/components/contextmenu/ContextMenuSub.vue?vue&type=template&id=55e43e6c&
|
|
3959
4035
|
|
|
3960
4036
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3961
4037
|
|
|
3962
|
-
|
|
3963
4038
|
function bindEvents(el) {
|
|
3964
4039
|
el.addEventListener('mousedown', onMouseDown);
|
|
3965
4040
|
}
|
|
3966
|
-
|
|
3967
4041
|
function unbindEvents(el) {
|
|
3968
4042
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3969
4043
|
}
|
|
3970
|
-
|
|
3971
4044
|
function create(el) {
|
|
3972
4045
|
var ink = document.createElement('span');
|
|
3973
4046
|
ink.className = 'p-ink';
|
|
3974
4047
|
el.appendChild(ink);
|
|
3975
4048
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3976
4049
|
}
|
|
3977
|
-
|
|
3978
4050
|
function remove(el) {
|
|
3979
4051
|
var ink = getInk(el);
|
|
3980
|
-
|
|
3981
4052
|
if (ink) {
|
|
3982
4053
|
unbindEvents(el);
|
|
3983
4054
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3984
4055
|
ink.remove();
|
|
3985
4056
|
}
|
|
3986
4057
|
}
|
|
3987
|
-
|
|
3988
4058
|
function onMouseDown(event) {
|
|
3989
4059
|
var target = event.currentTarget;
|
|
3990
4060
|
var ink = getInk(target);
|
|
3991
|
-
|
|
3992
4061
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3993
4062
|
return;
|
|
3994
4063
|
}
|
|
3995
|
-
|
|
3996
4064
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3997
|
-
|
|
3998
4065
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3999
4066
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
4000
4067
|
ink.style.height = d + 'px';
|
|
4001
4068
|
ink.style.width = d + 'px';
|
|
4002
4069
|
}
|
|
4003
|
-
|
|
4004
4070
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
4005
4071
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
4006
4072
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -4008,21 +4074,17 @@ function onMouseDown(event) {
|
|
|
4008
4074
|
ink.style.left = x + 'px';
|
|
4009
4075
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
4010
4076
|
}
|
|
4011
|
-
|
|
4012
4077
|
function onAnimationEnd(event) {
|
|
4013
4078
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
4014
4079
|
}
|
|
4015
|
-
|
|
4016
4080
|
function getInk(el) {
|
|
4017
4081
|
for (var i = 0; i < el.children.length; i++) {
|
|
4018
4082
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
4019
4083
|
return el.children[i];
|
|
4020
4084
|
}
|
|
4021
4085
|
}
|
|
4022
|
-
|
|
4023
4086
|
return null;
|
|
4024
4087
|
}
|
|
4025
|
-
|
|
4026
4088
|
var Ripple = {
|
|
4027
4089
|
inserted: function inserted(el, binding, vnode) {
|
|
4028
4090
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -4036,33 +4098,6 @@ var Ripple = {
|
|
|
4036
4098
|
};
|
|
4037
4099
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
4038
4100
|
// 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/contextmenu/ContextMenuSub.vue?vue&type=script&lang=js&
|
|
4039
|
-
//
|
|
4040
|
-
//
|
|
4041
|
-
//
|
|
4042
|
-
//
|
|
4043
|
-
//
|
|
4044
|
-
//
|
|
4045
|
-
//
|
|
4046
|
-
//
|
|
4047
|
-
//
|
|
4048
|
-
//
|
|
4049
|
-
//
|
|
4050
|
-
//
|
|
4051
|
-
//
|
|
4052
|
-
//
|
|
4053
|
-
//
|
|
4054
|
-
//
|
|
4055
|
-
//
|
|
4056
|
-
//
|
|
4057
|
-
//
|
|
4058
|
-
//
|
|
4059
|
-
//
|
|
4060
|
-
//
|
|
4061
|
-
//
|
|
4062
|
-
//
|
|
4063
|
-
//
|
|
4064
|
-
//
|
|
4065
|
-
//
|
|
4066
4101
|
|
|
4067
4102
|
|
|
4068
4103
|
/* harmony default export */ var ContextMenuSubvue_type_script_lang_js_ = ({
|
|
@@ -4103,7 +4138,6 @@ var Ripple = {
|
|
|
4103
4138
|
event.preventDefault();
|
|
4104
4139
|
return;
|
|
4105
4140
|
}
|
|
4106
|
-
|
|
4107
4141
|
this.activeItem = item;
|
|
4108
4142
|
},
|
|
4109
4143
|
onItemClick: function onItemClick(event, item, navigate) {
|
|
@@ -4111,22 +4145,18 @@ var Ripple = {
|
|
|
4111
4145
|
event.preventDefault();
|
|
4112
4146
|
return;
|
|
4113
4147
|
}
|
|
4114
|
-
|
|
4115
4148
|
if (!item.url && !item.to) {
|
|
4116
4149
|
event.preventDefault();
|
|
4117
4150
|
}
|
|
4118
|
-
|
|
4119
4151
|
if (item.command) {
|
|
4120
4152
|
item.command({
|
|
4121
4153
|
originalEvent: event,
|
|
4122
4154
|
item: item
|
|
4123
4155
|
});
|
|
4124
4156
|
}
|
|
4125
|
-
|
|
4126
4157
|
if (!item.items) {
|
|
4127
4158
|
this.onLeafClick();
|
|
4128
4159
|
}
|
|
4129
|
-
|
|
4130
4160
|
if (item.to && navigate) {
|
|
4131
4161
|
navigate(event);
|
|
4132
4162
|
}
|
|
@@ -4145,7 +4175,6 @@ var Ripple = {
|
|
|
4145
4175
|
var sublistWidth = this.$refs.container.offsetParent ? this.$refs.container.offsetWidth : DomHandler_DomHandler.getHiddenElementOuterWidth(this.$refs.container);
|
|
4146
4176
|
var itemOuterWidth = DomHandler_DomHandler.getOuterWidth(parentItem.children[0]);
|
|
4147
4177
|
this.$refs.container.style.top = '0px';
|
|
4148
|
-
|
|
4149
4178
|
if (parseInt(containerOffset.left, 10) + itemOuterWidth + sublistWidth > viewport.width - DomHandler_DomHandler.calculateScrollbarWidth()) {
|
|
4150
4179
|
this.$refs.container.style.left = -1 * sublistWidth + 'px';
|
|
4151
4180
|
} else {
|
|
@@ -4194,20 +4223,19 @@ var Ripple = {
|
|
|
4194
4223
|
// This module is a runtime utility for cleaner component module output and will
|
|
4195
4224
|
// be included in the final webpack user bundle.
|
|
4196
4225
|
|
|
4197
|
-
function normalizeComponent
|
|
4226
|
+
function normalizeComponent(
|
|
4198
4227
|
scriptExports,
|
|
4199
4228
|
render,
|
|
4200
4229
|
staticRenderFns,
|
|
4201
4230
|
functionalTemplate,
|
|
4202
4231
|
injectStyles,
|
|
4203
4232
|
scopeId,
|
|
4204
|
-
moduleIdentifier
|
|
4233
|
+
moduleIdentifier /* server only */,
|
|
4205
4234
|
shadowMode /* vue-cli only */
|
|
4206
4235
|
) {
|
|
4207
4236
|
// Vue.extend constructor export interop
|
|
4208
|
-
var options =
|
|
4209
|
-
? scriptExports.options
|
|
4210
|
-
: scriptExports
|
|
4237
|
+
var options =
|
|
4238
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4211
4239
|
|
|
4212
4240
|
// render functions
|
|
4213
4241
|
if (render) {
|
|
@@ -4227,7 +4255,8 @@ function normalizeComponent (
|
|
|
4227
4255
|
}
|
|
4228
4256
|
|
|
4229
4257
|
var hook
|
|
4230
|
-
if (moduleIdentifier) {
|
|
4258
|
+
if (moduleIdentifier) {
|
|
4259
|
+
// server build
|
|
4231
4260
|
hook = function (context) {
|
|
4232
4261
|
// 2.3 injection
|
|
4233
4262
|
context =
|
|
@@ -4253,11 +4282,11 @@ function normalizeComponent (
|
|
|
4253
4282
|
} else if (injectStyles) {
|
|
4254
4283
|
hook = shadowMode
|
|
4255
4284
|
? function () {
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4285
|
+
injectStyles.call(
|
|
4286
|
+
this,
|
|
4287
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4288
|
+
)
|
|
4289
|
+
}
|
|
4261
4290
|
: injectStyles
|
|
4262
4291
|
}
|
|
4263
4292
|
|
|
@@ -4268,16 +4297,14 @@ function normalizeComponent (
|
|
|
4268
4297
|
options._injectStyles = hook
|
|
4269
4298
|
// register for functional component in vue file
|
|
4270
4299
|
var originalRender = options.render
|
|
4271
|
-
options.render = function renderWithStyleInjection
|
|
4300
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4272
4301
|
hook.call(context)
|
|
4273
4302
|
return originalRender(h, context)
|
|
4274
4303
|
}
|
|
4275
4304
|
} else {
|
|
4276
4305
|
// inject component registration as beforeCreate hook
|
|
4277
4306
|
var existing = options.beforeCreate
|
|
4278
|
-
options.beforeCreate = existing
|
|
4279
|
-
? [].concat(existing, hook)
|
|
4280
|
-
: [hook]
|
|
4307
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4281
4308
|
}
|
|
4282
4309
|
}
|
|
4283
4310
|
|
|
@@ -4309,14 +4336,6 @@ var component = normalizeComponent(
|
|
|
4309
4336
|
/* harmony default export */ var ContextMenuSub = (component.exports);
|
|
4310
4337
|
// 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/contextmenu/ContextMenu.vue?vue&type=script&lang=js&
|
|
4311
4338
|
|
|
4312
|
-
//
|
|
4313
|
-
//
|
|
4314
|
-
//
|
|
4315
|
-
//
|
|
4316
|
-
//
|
|
4317
|
-
//
|
|
4318
|
-
//
|
|
4319
|
-
//
|
|
4320
4339
|
|
|
4321
4340
|
|
|
4322
4341
|
/* harmony default export */ var ContextMenuvue_type_script_lang_js_ = ({
|
|
@@ -4371,12 +4390,10 @@ var component = normalizeComponent(
|
|
|
4371
4390
|
methods: {
|
|
4372
4391
|
itemClick: function itemClick(event) {
|
|
4373
4392
|
var item = event.item;
|
|
4374
|
-
|
|
4375
4393
|
if (item.command) {
|
|
4376
4394
|
item.command(event);
|
|
4377
4395
|
event.originalEvent.preventDefault();
|
|
4378
4396
|
}
|
|
4379
|
-
|
|
4380
4397
|
this.hide();
|
|
4381
4398
|
},
|
|
4382
4399
|
toggle: function toggle(event) {
|
|
@@ -4400,7 +4417,6 @@ var component = normalizeComponent(
|
|
|
4400
4417
|
this.position();
|
|
4401
4418
|
this.bindOutsideClickListener();
|
|
4402
4419
|
this.bindResizeListener();
|
|
4403
|
-
|
|
4404
4420
|
if (this.autoZIndex) {
|
|
4405
4421
|
this.$refs.container.style.zIndex = String(this.baseZIndex + DomHandler_DomHandler.generateZIndex());
|
|
4406
4422
|
}
|
|
@@ -4414,40 +4430,38 @@ var component = normalizeComponent(
|
|
|
4414
4430
|
var top = this.pageY + 1;
|
|
4415
4431
|
var width = this.$refs.container.offsetParent ? this.$refs.container.offsetWidth : DomHandler_DomHandler.getHiddenElementOuterWidth(this.$refs.container);
|
|
4416
4432
|
var height = this.$refs.container.offsetParent ? this.$refs.container.offsetHeight : DomHandler_DomHandler.getHiddenElementOuterHeight(this.$refs.container);
|
|
4417
|
-
var viewport = DomHandler_DomHandler.getViewport();
|
|
4433
|
+
var viewport = DomHandler_DomHandler.getViewport();
|
|
4418
4434
|
|
|
4435
|
+
//flip
|
|
4419
4436
|
if (left + width - document.body.scrollLeft > viewport.width) {
|
|
4420
4437
|
left -= width;
|
|
4421
|
-
}
|
|
4422
|
-
|
|
4438
|
+
}
|
|
4423
4439
|
|
|
4440
|
+
//flip
|
|
4424
4441
|
if (top + height - document.body.scrollTop > viewport.height) {
|
|
4425
4442
|
top -= height;
|
|
4426
|
-
}
|
|
4427
|
-
|
|
4443
|
+
}
|
|
4428
4444
|
|
|
4445
|
+
//fit
|
|
4429
4446
|
if (left < document.body.scrollLeft) {
|
|
4430
4447
|
left = document.body.scrollLeft;
|
|
4431
|
-
}
|
|
4432
|
-
|
|
4448
|
+
}
|
|
4433
4449
|
|
|
4450
|
+
//fit
|
|
4434
4451
|
if (top < document.body.scrollTop) {
|
|
4435
4452
|
top = document.body.scrollTop;
|
|
4436
4453
|
}
|
|
4437
|
-
|
|
4438
4454
|
this.$refs.container.style.left = left + 'px';
|
|
4439
4455
|
this.$refs.container.style.top = top + 'px';
|
|
4440
4456
|
},
|
|
4441
4457
|
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
4442
4458
|
var _this = this;
|
|
4443
|
-
|
|
4444
4459
|
if (!this.outsideClickListener) {
|
|
4445
4460
|
this.outsideClickListener = function (event) {
|
|
4446
4461
|
if (_this.visible && _this.$refs.container && !_this.$refs.container.contains(event.target) && !event.ctrlKey) {
|
|
4447
4462
|
_this.hide();
|
|
4448
4463
|
}
|
|
4449
4464
|
};
|
|
4450
|
-
|
|
4451
4465
|
document.addEventListener('click', this.outsideClickListener);
|
|
4452
4466
|
}
|
|
4453
4467
|
},
|
|
@@ -4459,14 +4473,12 @@ var component = normalizeComponent(
|
|
|
4459
4473
|
},
|
|
4460
4474
|
bindResizeListener: function bindResizeListener() {
|
|
4461
4475
|
var _this2 = this;
|
|
4462
|
-
|
|
4463
4476
|
if (!this.resizeListener) {
|
|
4464
4477
|
this.resizeListener = function () {
|
|
4465
4478
|
if (_this2.visible) {
|
|
4466
4479
|
_this2.hide();
|
|
4467
4480
|
}
|
|
4468
4481
|
};
|
|
4469
|
-
|
|
4470
4482
|
window.addEventListener('resize', this.resizeListener);
|
|
4471
4483
|
}
|
|
4472
4484
|
},
|
|
@@ -4488,12 +4500,10 @@ var component = normalizeComponent(
|
|
|
4488
4500
|
},
|
|
4489
4501
|
bindDocumentContextMenuListener: function bindDocumentContextMenuListener() {
|
|
4490
4502
|
var _this3 = this;
|
|
4491
|
-
|
|
4492
4503
|
if (!this.documentContextMenuListener) {
|
|
4493
4504
|
this.documentContextMenuListener = function (event) {
|
|
4494
4505
|
_this3.show(event);
|
|
4495
4506
|
};
|
|
4496
|
-
|
|
4497
4507
|
document.addEventListener('contextmenu', this.documentContextMenuListener);
|
|
4498
4508
|
}
|
|
4499
4509
|
},
|
|
@@ -4510,8 +4520,8 @@ var component = normalizeComponent(
|
|
|
4510
4520
|
});
|
|
4511
4521
|
// CONCATENATED MODULE: ./src/components/contextmenu/ContextMenu.vue?vue&type=script&lang=js&
|
|
4512
4522
|
/* harmony default export */ var contextmenu_ContextMenuvue_type_script_lang_js_ = (ContextMenuvue_type_script_lang_js_);
|
|
4513
|
-
// EXTERNAL MODULE: ./src/components/contextmenu/ContextMenu.vue?vue&type=style&index=0&lang=css&
|
|
4514
|
-
var
|
|
4523
|
+
// EXTERNAL MODULE: ./src/components/contextmenu/ContextMenu.vue?vue&type=style&index=0&id=47d55cea&prod&lang=css&
|
|
4524
|
+
var ContextMenuvue_type_style_index_0_id_47d55cea_prod_lang_css_ = __webpack_require__("7360");
|
|
4515
4525
|
|
|
4516
4526
|
// CONCATENATED MODULE: ./src/components/contextmenu/ContextMenu.vue
|
|
4517
4527
|
|