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
|
@@ -1966,6 +1966,17 @@ if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a
|
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
1968
1968
|
|
|
1969
|
+
/***/ }),
|
|
1970
|
+
|
|
1971
|
+
/***/ "7360":
|
|
1972
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1973
|
+
|
|
1974
|
+
"use strict";
|
|
1975
|
+
/* 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");
|
|
1976
|
+
/* 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__);
|
|
1977
|
+
/* unused harmony reexport * */
|
|
1978
|
+
|
|
1979
|
+
|
|
1969
1980
|
/***/ }),
|
|
1970
1981
|
|
|
1971
1982
|
/***/ "7514":
|
|
@@ -2469,28 +2480,29 @@ module.exports = {
|
|
|
2469
2480
|
|
|
2470
2481
|
/***/ }),
|
|
2471
2482
|
|
|
2472
|
-
/***/ "
|
|
2483
|
+
/***/ "8e22":
|
|
2473
2484
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2474
2485
|
|
|
2475
|
-
//
|
|
2476
|
-
module.exports = !__webpack_require__("294c")(function () {
|
|
2477
|
-
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
2478
|
-
});
|
|
2486
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2479
2487
|
|
|
2488
|
+
// load the styles
|
|
2489
|
+
var content = __webpack_require__("abea");
|
|
2490
|
+
if(content.__esModule) content = content.default;
|
|
2491
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2492
|
+
if(content.locals) module.exports = content.locals;
|
|
2493
|
+
// add the styles to the DOM
|
|
2494
|
+
var add = __webpack_require__("499e").default
|
|
2495
|
+
var update = add("e48b4dae", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2480
2496
|
|
|
2481
2497
|
/***/ }),
|
|
2482
2498
|
|
|
2483
|
-
/***/ "
|
|
2499
|
+
/***/ "8e60":
|
|
2484
2500
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2485
2501
|
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
// module
|
|
2491
|
-
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}", ""]);
|
|
2492
|
-
|
|
2493
|
-
// exports
|
|
2502
|
+
// Thank's IE8 for his funny defineProperty
|
|
2503
|
+
module.exports = !__webpack_require__("294c")(function () {
|
|
2504
|
+
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
|
|
2505
|
+
});
|
|
2494
2506
|
|
|
2495
2507
|
|
|
2496
2508
|
/***/ }),
|
|
@@ -2750,6 +2762,21 @@ module.exports = function (it) {
|
|
|
2750
2762
|
};
|
|
2751
2763
|
|
|
2752
2764
|
|
|
2765
|
+
/***/ }),
|
|
2766
|
+
|
|
2767
|
+
/***/ "abea":
|
|
2768
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2769
|
+
|
|
2770
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
2771
|
+
// imports
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
// module
|
|
2775
|
+
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}", ""]);
|
|
2776
|
+
|
|
2777
|
+
// exports
|
|
2778
|
+
|
|
2779
|
+
|
|
2753
2780
|
/***/ }),
|
|
2754
2781
|
|
|
2755
2782
|
/***/ "ac4d":
|
|
@@ -2909,22 +2936,6 @@ if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
|
|
|
2909
2936
|
}
|
|
2910
2937
|
|
|
2911
2938
|
|
|
2912
|
-
/***/ }),
|
|
2913
|
-
|
|
2914
|
-
/***/ "c66e":
|
|
2915
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2916
|
-
|
|
2917
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2918
|
-
|
|
2919
|
-
// load the styles
|
|
2920
|
-
var content = __webpack_require__("8fa8");
|
|
2921
|
-
if(content.__esModule) content = content.default;
|
|
2922
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2923
|
-
if(content.locals) module.exports = content.locals;
|
|
2924
|
-
// add the styles to the DOM
|
|
2925
|
-
var add = __webpack_require__("499e").default
|
|
2926
|
-
var update = add("0bf3a98e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2927
|
-
|
|
2928
2939
|
/***/ }),
|
|
2929
2940
|
|
|
2930
2941
|
/***/ "c69a":
|
|
@@ -3125,17 +3136,6 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
|
|
|
3125
3136
|
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
3126
3137
|
|
|
3127
3138
|
|
|
3128
|
-
/***/ }),
|
|
3129
|
-
|
|
3130
|
-
/***/ "e806":
|
|
3131
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3132
|
-
|
|
3133
|
-
"use strict";
|
|
3134
|
-
/* 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");
|
|
3135
|
-
/* 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__);
|
|
3136
|
-
/* unused harmony reexport * */
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
3139
|
/***/ }),
|
|
3140
3140
|
|
|
3141
3141
|
/***/ "e853":
|
|
@@ -3287,10 +3287,33 @@ if (typeof window !== 'undefined') {
|
|
|
3287
3287
|
// Indicate to webpack that this file can be concatenated
|
|
3288
3288
|
/* harmony default export */ var setPublicPath = (null);
|
|
3289
3289
|
|
|
3290
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3291
|
-
var render = function () {
|
|
3292
|
-
var
|
|
3293
|
-
|
|
3290
|
+
// 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&
|
|
3291
|
+
var render = function render() {
|
|
3292
|
+
var _vm = this,
|
|
3293
|
+
_c = _vm._self._c;
|
|
3294
|
+
return _c('transition', {
|
|
3295
|
+
attrs: {
|
|
3296
|
+
"name": "p-contextmenu"
|
|
3297
|
+
},
|
|
3298
|
+
on: {
|
|
3299
|
+
"enter": _vm.onEnter,
|
|
3300
|
+
"leave": _vm.onLeave
|
|
3301
|
+
}
|
|
3302
|
+
}, [_vm.visible ? _c('div', {
|
|
3303
|
+
ref: "container",
|
|
3304
|
+
staticClass: "p-contextmenu p-component"
|
|
3305
|
+
}, [_c('ContextMenuSub', {
|
|
3306
|
+
attrs: {
|
|
3307
|
+
"model": _vm.model,
|
|
3308
|
+
"root": true,
|
|
3309
|
+
"exact": _vm.exact
|
|
3310
|
+
},
|
|
3311
|
+
on: {
|
|
3312
|
+
"leaf-click": _vm.onLeafClick
|
|
3313
|
+
}
|
|
3314
|
+
})], 1) : _vm._e()]);
|
|
3315
|
+
};
|
|
3316
|
+
var staticRenderFns = [];
|
|
3294
3317
|
|
|
3295
3318
|
// CONCATENATED MODULE: ./src/components/contextmenu/ContextMenu.vue?vue&type=template&id=47d55cea&
|
|
3296
3319
|
|
|
@@ -3339,26 +3362,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3339
3362
|
|
|
3340
3363
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3341
3364
|
|
|
3342
|
-
|
|
3343
3365
|
function _defineProperties(target, props) {
|
|
3344
3366
|
for (var i = 0; i < props.length; i++) {
|
|
3345
3367
|
var descriptor = props[i];
|
|
3346
3368
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3347
3369
|
descriptor.configurable = true;
|
|
3348
3370
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3349
|
-
|
|
3350
3371
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3351
3372
|
}
|
|
3352
3373
|
}
|
|
3353
|
-
|
|
3354
3374
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3355
3375
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3356
3376
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3357
|
-
|
|
3358
3377
|
define_property_default()(Constructor, "prototype", {
|
|
3359
3378
|
writable: false
|
|
3360
3379
|
});
|
|
3361
|
-
|
|
3362
3380
|
return Constructor;
|
|
3363
3381
|
}
|
|
3364
3382
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3374,18 +3392,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3374
3392
|
|
|
3375
3393
|
|
|
3376
3394
|
|
|
3377
|
-
|
|
3378
3395
|
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; } } }; }
|
|
3379
|
-
|
|
3380
3396
|
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); }
|
|
3381
|
-
|
|
3382
3397
|
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; }
|
|
3383
|
-
|
|
3384
3398
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3385
3399
|
function DomHandler() {
|
|
3386
3400
|
_classCallCheck(this, DomHandler);
|
|
3387
3401
|
}
|
|
3388
|
-
|
|
3389
3402
|
_createClass(DomHandler, null, [{
|
|
3390
3403
|
key: "innerWidth",
|
|
3391
3404
|
value: function innerWidth(el) {
|
|
@@ -3419,12 +3432,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3419
3432
|
value: function getOuterWidth(el, margin) {
|
|
3420
3433
|
if (el) {
|
|
3421
3434
|
var width = el.offsetWidth;
|
|
3422
|
-
|
|
3423
3435
|
if (margin) {
|
|
3424
3436
|
var style = getComputedStyle(el);
|
|
3425
3437
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3426
3438
|
}
|
|
3427
|
-
|
|
3428
3439
|
return width;
|
|
3429
3440
|
} else {
|
|
3430
3441
|
return 0;
|
|
@@ -3435,12 +3446,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3435
3446
|
value: function getOuterHeight(el, margin) {
|
|
3436
3447
|
if (el) {
|
|
3437
3448
|
var height = el.offsetHeight;
|
|
3438
|
-
|
|
3439
3449
|
if (margin) {
|
|
3440
3450
|
var style = getComputedStyle(el);
|
|
3441
3451
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3442
3452
|
}
|
|
3443
|
-
|
|
3444
3453
|
return height;
|
|
3445
3454
|
} else {
|
|
3446
3455
|
return 0;
|
|
@@ -3451,12 +3460,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3451
3460
|
value: function getClientHeight(el, margin) {
|
|
3452
3461
|
if (el) {
|
|
3453
3462
|
var height = el.clientHeight;
|
|
3454
|
-
|
|
3455
3463
|
if (margin) {
|
|
3456
3464
|
var style = getComputedStyle(el);
|
|
3457
3465
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3458
3466
|
}
|
|
3459
|
-
|
|
3460
3467
|
return height;
|
|
3461
3468
|
} else {
|
|
3462
3469
|
return 0;
|
|
@@ -3466,11 +3473,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3466
3473
|
key: "getViewport",
|
|
3467
3474
|
value: function getViewport() {
|
|
3468
3475
|
var win = window,
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3476
|
+
d = document,
|
|
3477
|
+
e = d.documentElement,
|
|
3478
|
+
g = d.getElementsByTagName('body')[0],
|
|
3479
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3480
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3474
3481
|
return {
|
|
3475
3482
|
width: w,
|
|
3476
3483
|
height: h
|
|
@@ -3501,12 +3508,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3501
3508
|
value: function index(element) {
|
|
3502
3509
|
var children = element.parentNode.childNodes;
|
|
3503
3510
|
var num = 0;
|
|
3504
|
-
|
|
3505
3511
|
for (var i = 0; i < children.length; i++) {
|
|
3506
3512
|
if (children[i] === element) return num;
|
|
3507
3513
|
if (children[i].nodeType === 1) num++;
|
|
3508
3514
|
}
|
|
3509
|
-
|
|
3510
3515
|
return -1;
|
|
3511
3516
|
}
|
|
3512
3517
|
}, {
|
|
@@ -3514,13 +3519,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3514
3519
|
value: function addMultipleClasses(element, className) {
|
|
3515
3520
|
if (element.classList) {
|
|
3516
3521
|
var styles = className.split(' ');
|
|
3517
|
-
|
|
3518
3522
|
for (var i = 0; i < styles.length; i++) {
|
|
3519
3523
|
element.classList.add(styles[i]);
|
|
3520
3524
|
}
|
|
3521
3525
|
} else {
|
|
3522
3526
|
var _styles = className.split(' ');
|
|
3523
|
-
|
|
3524
3527
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3525
3528
|
element.className += ' ' + _styles[_i];
|
|
3526
3529
|
}
|
|
@@ -3542,7 +3545,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3542
3545
|
if (element) {
|
|
3543
3546
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3544
3547
|
}
|
|
3545
|
-
|
|
3546
3548
|
return false;
|
|
3547
3549
|
}
|
|
3548
3550
|
}, {
|
|
@@ -3587,11 +3589,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3587
3589
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3588
3590
|
var viewport = this.getViewport();
|
|
3589
3591
|
var top, left;
|
|
3590
|
-
|
|
3591
3592
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3592
3593
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3593
3594
|
element.style.transformOrigin = 'bottom';
|
|
3594
|
-
|
|
3595
3595
|
if (top < 0) {
|
|
3596
3596
|
top = windowScrollTop;
|
|
3597
3597
|
}
|
|
@@ -3599,7 +3599,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3599
3599
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3600
3600
|
element.style.transformOrigin = 'top';
|
|
3601
3601
|
}
|
|
3602
|
-
|
|
3603
3602
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3604
3603
|
element.style.top = top + 'px';
|
|
3605
3604
|
element.style.left = left + 'px';
|
|
@@ -3615,11 +3614,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3615
3614
|
var targetOffset = target.getBoundingClientRect();
|
|
3616
3615
|
var viewport = this.getViewport();
|
|
3617
3616
|
var top, left;
|
|
3618
|
-
|
|
3619
3617
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3620
3618
|
top = -1 * elementDimensions.height;
|
|
3621
3619
|
element.style.transformOrigin = 'bottom';
|
|
3622
|
-
|
|
3623
3620
|
if (targetOffset.top + top < 0) {
|
|
3624
3621
|
top = -1 * targetOffset.top;
|
|
3625
3622
|
}
|
|
@@ -3627,7 +3624,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3627
3624
|
top = targetHeight;
|
|
3628
3625
|
element.style.transformOrigin = 'top';
|
|
3629
3626
|
}
|
|
3630
|
-
|
|
3631
3627
|
if (elementDimensions.width > viewport.width) {
|
|
3632
3628
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3633
3629
|
left = targetOffset.left * -1;
|
|
@@ -3638,7 +3634,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3638
3634
|
// element fits on screen (align with target)
|
|
3639
3635
|
left = 0;
|
|
3640
3636
|
}
|
|
3641
|
-
|
|
3642
3637
|
element.style.top = top + 'px';
|
|
3643
3638
|
element.style.left = left + 'px';
|
|
3644
3639
|
}
|
|
@@ -3652,35 +3647,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3652
3647
|
key: "getScrollableParents",
|
|
3653
3648
|
value: function getScrollableParents(element) {
|
|
3654
3649
|
var scrollableParents = [];
|
|
3655
|
-
|
|
3656
3650
|
if (element) {
|
|
3657
3651
|
var parents = this.getParents(element);
|
|
3658
3652
|
var overflowRegex = /(auto|scroll)/;
|
|
3659
|
-
|
|
3660
3653
|
var overflowCheck = function overflowCheck(node) {
|
|
3661
3654
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3662
3655
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3663
3656
|
};
|
|
3664
|
-
|
|
3665
3657
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3666
|
-
|
|
3667
|
-
|
|
3658
|
+
_step;
|
|
3668
3659
|
try {
|
|
3669
3660
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3670
3661
|
var parent = _step.value;
|
|
3671
3662
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3672
|
-
|
|
3673
3663
|
if (scrollSelectors) {
|
|
3674
3664
|
var selectors = scrollSelectors.split(',');
|
|
3675
|
-
|
|
3676
3665
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3677
|
-
|
|
3678
|
-
|
|
3666
|
+
_step2;
|
|
3679
3667
|
try {
|
|
3680
3668
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3681
3669
|
var selector = _step2.value;
|
|
3682
3670
|
var el = this.findSingle(parent, selector);
|
|
3683
|
-
|
|
3684
3671
|
if (el && overflowCheck(el)) {
|
|
3685
3672
|
scrollableParents.push(el);
|
|
3686
3673
|
}
|
|
@@ -3698,7 +3685,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3698
3685
|
_iterator.f();
|
|
3699
3686
|
}
|
|
3700
3687
|
}
|
|
3701
|
-
|
|
3702
3688
|
return scrollableParents;
|
|
3703
3689
|
}
|
|
3704
3690
|
}, {
|
|
@@ -3739,34 +3725,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3739
3725
|
element.style.opacity = 0;
|
|
3740
3726
|
var last = +new Date();
|
|
3741
3727
|
var opacity = 0;
|
|
3742
|
-
|
|
3743
3728
|
var tick = function tick() {
|
|
3744
3729
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3745
3730
|
element.style.opacity = opacity;
|
|
3746
3731
|
last = +new Date();
|
|
3747
|
-
|
|
3748
3732
|
if (+opacity < 1) {
|
|
3749
3733
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3750
3734
|
}
|
|
3751
3735
|
};
|
|
3752
|
-
|
|
3753
3736
|
tick();
|
|
3754
3737
|
}
|
|
3755
3738
|
}, {
|
|
3756
3739
|
key: "fadeOut",
|
|
3757
3740
|
value: function fadeOut(element, ms) {
|
|
3758
3741
|
var opacity = 1,
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3742
|
+
interval = 50,
|
|
3743
|
+
duration = ms,
|
|
3744
|
+
gap = interval / duration;
|
|
3762
3745
|
var fading = setInterval(function () {
|
|
3763
3746
|
opacity -= gap;
|
|
3764
|
-
|
|
3765
3747
|
if (opacity <= 0) {
|
|
3766
3748
|
opacity = 0;
|
|
3767
3749
|
clearInterval(fading);
|
|
3768
3750
|
}
|
|
3769
|
-
|
|
3770
3751
|
element.style.opacity = opacity;
|
|
3771
3752
|
}, interval);
|
|
3772
3753
|
}
|
|
@@ -3793,7 +3774,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3793
3774
|
var scroll = container.scrollTop;
|
|
3794
3775
|
var elementHeight = container.clientHeight;
|
|
3795
3776
|
var itemHeight = this.getOuterHeight(item);
|
|
3796
|
-
|
|
3797
3777
|
if (offset < 0) {
|
|
3798
3778
|
container.scrollTop = scroll + offset;
|
|
3799
3779
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3812,7 +3792,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3812
3792
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3813
3793
|
try {
|
|
3814
3794
|
document['selection'].empty();
|
|
3815
|
-
} catch (error) {
|
|
3795
|
+
} catch (error) {
|
|
3796
|
+
//ignore IE bug
|
|
3816
3797
|
}
|
|
3817
3798
|
}
|
|
3818
3799
|
}
|
|
@@ -3834,19 +3815,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3834
3815
|
if (!this.browser) {
|
|
3835
3816
|
var matched = this.resolveUserAgent();
|
|
3836
3817
|
this.browser = {};
|
|
3837
|
-
|
|
3838
3818
|
if (matched.browser) {
|
|
3839
3819
|
this.browser[matched.browser] = true;
|
|
3840
3820
|
this.browser['version'] = matched.version;
|
|
3841
3821
|
}
|
|
3842
|
-
|
|
3843
3822
|
if (this.browser['chrome']) {
|
|
3844
3823
|
this.browser['webkit'] = true;
|
|
3845
3824
|
} else if (this.browser['webkit']) {
|
|
3846
3825
|
this.browser['safari'] = true;
|
|
3847
3826
|
}
|
|
3848
3827
|
}
|
|
3849
|
-
|
|
3850
3828
|
return this.browser;
|
|
3851
3829
|
}
|
|
3852
3830
|
}, {
|
|
@@ -3874,10 +3852,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3874
3852
|
value: function getFocusableElements(element) {
|
|
3875
3853
|
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])");
|
|
3876
3854
|
var visibleFocusableElements = [];
|
|
3877
|
-
|
|
3878
3855
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3879
|
-
|
|
3880
|
-
|
|
3856
|
+
_step3;
|
|
3881
3857
|
try {
|
|
3882
3858
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3883
3859
|
var focusableElement = _step3.value;
|
|
@@ -3888,7 +3864,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3888
3864
|
} finally {
|
|
3889
3865
|
_iterator3.f();
|
|
3890
3866
|
}
|
|
3891
|
-
|
|
3892
3867
|
return visibleFocusableElements;
|
|
3893
3868
|
}
|
|
3894
3869
|
}, {
|
|
@@ -3931,67 +3906,158 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3931
3906
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3932
3907
|
}
|
|
3933
3908
|
}]);
|
|
3934
|
-
|
|
3935
3909
|
return DomHandler;
|
|
3936
3910
|
}();
|
|
3937
3911
|
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
var
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3912
|
+
// 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&
|
|
3913
|
+
var ContextMenuSubvue_type_template_id_55e43e6c_render = function render() {
|
|
3914
|
+
var _vm = this,
|
|
3915
|
+
_c = _vm._self._c;
|
|
3916
|
+
return _c('transition', {
|
|
3917
|
+
attrs: {
|
|
3918
|
+
"name": "p-contextmenusub"
|
|
3919
|
+
},
|
|
3920
|
+
on: {
|
|
3921
|
+
"enter": _vm.onEnter
|
|
3922
|
+
}
|
|
3923
|
+
}, [(_vm.root ? true : _vm.parentActive) ? _c('ul', {
|
|
3924
|
+
ref: "container",
|
|
3925
|
+
class: _vm.containerClass,
|
|
3926
|
+
attrs: {
|
|
3927
|
+
"role": "menu"
|
|
3928
|
+
}
|
|
3929
|
+
}, [_vm._l(_vm.model, function (item, i) {
|
|
3930
|
+
return [_vm.visible(item) && !item.separator ? _c('li', {
|
|
3931
|
+
key: _vm.label(item) + i,
|
|
3932
|
+
class: _vm.getItemClass(item),
|
|
3933
|
+
style: item.style,
|
|
3934
|
+
attrs: {
|
|
3935
|
+
"role": "none"
|
|
3936
|
+
},
|
|
3937
|
+
on: {
|
|
3938
|
+
"mouseenter": function mouseenter($event) {
|
|
3939
|
+
return _vm.onItemMouseEnter($event, item);
|
|
3940
|
+
}
|
|
3941
|
+
}
|
|
3942
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
3943
|
+
attrs: {
|
|
3944
|
+
"to": item.to,
|
|
3945
|
+
"custom": ""
|
|
3946
|
+
},
|
|
3947
|
+
scopedSlots: _vm._u([{
|
|
3948
|
+
key: "default",
|
|
3949
|
+
fn: function fn(_ref) {
|
|
3950
|
+
var navigate = _ref.navigate,
|
|
3951
|
+
href = _ref.href,
|
|
3952
|
+
isActive = _ref.isActive,
|
|
3953
|
+
isExactActive = _ref.isExactActive;
|
|
3954
|
+
return [_c('a', {
|
|
3955
|
+
directives: [{
|
|
3956
|
+
name: "ripple",
|
|
3957
|
+
rawName: "v-ripple"
|
|
3958
|
+
}],
|
|
3959
|
+
class: _vm.linkClass(item, {
|
|
3960
|
+
isActive: isActive,
|
|
3961
|
+
isExactActive: isExactActive
|
|
3962
|
+
}),
|
|
3963
|
+
attrs: {
|
|
3964
|
+
"href": href,
|
|
3965
|
+
"role": "menuitem"
|
|
3966
|
+
},
|
|
3967
|
+
nativeOn: {
|
|
3968
|
+
"click": function click($event) {
|
|
3969
|
+
return _vm.onItemClick($event, item, navigate);
|
|
3970
|
+
}
|
|
3971
|
+
}
|
|
3972
|
+
}, [_c('span', {
|
|
3973
|
+
class: ['p-menuitem-icon', item.icon]
|
|
3974
|
+
}), _c('span', {
|
|
3975
|
+
staticClass: "p-menuitem-text"
|
|
3976
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])];
|
|
3977
|
+
}
|
|
3978
|
+
}], null, true)
|
|
3979
|
+
}) : _c('a', {
|
|
3980
|
+
directives: [{
|
|
3981
|
+
name: "ripple",
|
|
3982
|
+
rawName: "v-ripple"
|
|
3983
|
+
}],
|
|
3984
|
+
class: _vm.linkClass(item),
|
|
3985
|
+
attrs: {
|
|
3986
|
+
"href": item.url,
|
|
3987
|
+
"target": item.target,
|
|
3988
|
+
"aria-haspopup": item.items != null,
|
|
3989
|
+
"aria-expanded": item === _vm.activeItem,
|
|
3990
|
+
"role": "menuitem",
|
|
3991
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
3992
|
+
},
|
|
3993
|
+
on: {
|
|
3994
|
+
"click": function click($event) {
|
|
3995
|
+
return _vm.onItemClick($event, item);
|
|
3996
|
+
}
|
|
3997
|
+
}
|
|
3998
|
+
}, [_c('span', {
|
|
3999
|
+
class: ['p-menuitem-icon', item.icon]
|
|
4000
|
+
}), _c('span', {
|
|
4001
|
+
staticClass: "p-menuitem-text"
|
|
4002
|
+
}, [_vm._v(_vm._s(_vm.label(item)))]), item.items ? _c('span', {
|
|
4003
|
+
staticClass: "p-submenu-icon pi pi-angle-right"
|
|
4004
|
+
}) : _vm._e()]), _vm.visible(item) && item.items ? _c('sub-menu', {
|
|
4005
|
+
key: _vm.label(item) + '_sub_',
|
|
4006
|
+
attrs: {
|
|
4007
|
+
"model": item.items,
|
|
4008
|
+
"parentActive": item === _vm.activeItem
|
|
4009
|
+
},
|
|
4010
|
+
on: {
|
|
4011
|
+
"leaf-click": _vm.onLeafClick
|
|
4012
|
+
}
|
|
4013
|
+
}) : _vm._e()], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
|
|
4014
|
+
key: 'separator' + i,
|
|
4015
|
+
class: ['p-menu-separator', item.class],
|
|
4016
|
+
style: item.style,
|
|
4017
|
+
attrs: {
|
|
4018
|
+
"role": "separator"
|
|
4019
|
+
}
|
|
4020
|
+
}) : _vm._e()];
|
|
4021
|
+
})], 2) : _vm._e()]);
|
|
4022
|
+
};
|
|
4023
|
+
var ContextMenuSubvue_type_template_id_55e43e6c_staticRenderFns = [];
|
|
3948
4024
|
|
|
3949
4025
|
// CONCATENATED MODULE: ./src/components/contextmenu/ContextMenuSub.vue?vue&type=template&id=55e43e6c&
|
|
3950
4026
|
|
|
3951
4027
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3952
4028
|
|
|
3953
|
-
|
|
3954
4029
|
function bindEvents(el) {
|
|
3955
4030
|
el.addEventListener('mousedown', onMouseDown);
|
|
3956
4031
|
}
|
|
3957
|
-
|
|
3958
4032
|
function unbindEvents(el) {
|
|
3959
4033
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3960
4034
|
}
|
|
3961
|
-
|
|
3962
4035
|
function create(el) {
|
|
3963
4036
|
var ink = document.createElement('span');
|
|
3964
4037
|
ink.className = 'p-ink';
|
|
3965
4038
|
el.appendChild(ink);
|
|
3966
4039
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3967
4040
|
}
|
|
3968
|
-
|
|
3969
4041
|
function remove(el) {
|
|
3970
4042
|
var ink = getInk(el);
|
|
3971
|
-
|
|
3972
4043
|
if (ink) {
|
|
3973
4044
|
unbindEvents(el);
|
|
3974
4045
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3975
4046
|
ink.remove();
|
|
3976
4047
|
}
|
|
3977
4048
|
}
|
|
3978
|
-
|
|
3979
4049
|
function onMouseDown(event) {
|
|
3980
4050
|
var target = event.currentTarget;
|
|
3981
4051
|
var ink = getInk(target);
|
|
3982
|
-
|
|
3983
4052
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3984
4053
|
return;
|
|
3985
4054
|
}
|
|
3986
|
-
|
|
3987
4055
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3988
|
-
|
|
3989
4056
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3990
4057
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3991
4058
|
ink.style.height = d + 'px';
|
|
3992
4059
|
ink.style.width = d + 'px';
|
|
3993
4060
|
}
|
|
3994
|
-
|
|
3995
4061
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3996
4062
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3997
4063
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3999,21 +4065,17 @@ function onMouseDown(event) {
|
|
|
3999
4065
|
ink.style.left = x + 'px';
|
|
4000
4066
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
4001
4067
|
}
|
|
4002
|
-
|
|
4003
4068
|
function onAnimationEnd(event) {
|
|
4004
4069
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
4005
4070
|
}
|
|
4006
|
-
|
|
4007
4071
|
function getInk(el) {
|
|
4008
4072
|
for (var i = 0; i < el.children.length; i++) {
|
|
4009
4073
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
4010
4074
|
return el.children[i];
|
|
4011
4075
|
}
|
|
4012
4076
|
}
|
|
4013
|
-
|
|
4014
4077
|
return null;
|
|
4015
4078
|
}
|
|
4016
|
-
|
|
4017
4079
|
var Ripple = {
|
|
4018
4080
|
inserted: function inserted(el, binding, vnode) {
|
|
4019
4081
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -4027,33 +4089,6 @@ var Ripple = {
|
|
|
4027
4089
|
};
|
|
4028
4090
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
4029
4091
|
// 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&
|
|
4030
|
-
//
|
|
4031
|
-
//
|
|
4032
|
-
//
|
|
4033
|
-
//
|
|
4034
|
-
//
|
|
4035
|
-
//
|
|
4036
|
-
//
|
|
4037
|
-
//
|
|
4038
|
-
//
|
|
4039
|
-
//
|
|
4040
|
-
//
|
|
4041
|
-
//
|
|
4042
|
-
//
|
|
4043
|
-
//
|
|
4044
|
-
//
|
|
4045
|
-
//
|
|
4046
|
-
//
|
|
4047
|
-
//
|
|
4048
|
-
//
|
|
4049
|
-
//
|
|
4050
|
-
//
|
|
4051
|
-
//
|
|
4052
|
-
//
|
|
4053
|
-
//
|
|
4054
|
-
//
|
|
4055
|
-
//
|
|
4056
|
-
//
|
|
4057
4092
|
|
|
4058
4093
|
|
|
4059
4094
|
/* harmony default export */ var ContextMenuSubvue_type_script_lang_js_ = ({
|
|
@@ -4094,7 +4129,6 @@ var Ripple = {
|
|
|
4094
4129
|
event.preventDefault();
|
|
4095
4130
|
return;
|
|
4096
4131
|
}
|
|
4097
|
-
|
|
4098
4132
|
this.activeItem = item;
|
|
4099
4133
|
},
|
|
4100
4134
|
onItemClick: function onItemClick(event, item, navigate) {
|
|
@@ -4102,22 +4136,18 @@ var Ripple = {
|
|
|
4102
4136
|
event.preventDefault();
|
|
4103
4137
|
return;
|
|
4104
4138
|
}
|
|
4105
|
-
|
|
4106
4139
|
if (!item.url && !item.to) {
|
|
4107
4140
|
event.preventDefault();
|
|
4108
4141
|
}
|
|
4109
|
-
|
|
4110
4142
|
if (item.command) {
|
|
4111
4143
|
item.command({
|
|
4112
4144
|
originalEvent: event,
|
|
4113
4145
|
item: item
|
|
4114
4146
|
});
|
|
4115
4147
|
}
|
|
4116
|
-
|
|
4117
4148
|
if (!item.items) {
|
|
4118
4149
|
this.onLeafClick();
|
|
4119
4150
|
}
|
|
4120
|
-
|
|
4121
4151
|
if (item.to && navigate) {
|
|
4122
4152
|
navigate(event);
|
|
4123
4153
|
}
|
|
@@ -4136,7 +4166,6 @@ var Ripple = {
|
|
|
4136
4166
|
var sublistWidth = this.$refs.container.offsetParent ? this.$refs.container.offsetWidth : DomHandler_DomHandler.getHiddenElementOuterWidth(this.$refs.container);
|
|
4137
4167
|
var itemOuterWidth = DomHandler_DomHandler.getOuterWidth(parentItem.children[0]);
|
|
4138
4168
|
this.$refs.container.style.top = '0px';
|
|
4139
|
-
|
|
4140
4169
|
if (parseInt(containerOffset.left, 10) + itemOuterWidth + sublistWidth > viewport.width - DomHandler_DomHandler.calculateScrollbarWidth()) {
|
|
4141
4170
|
this.$refs.container.style.left = -1 * sublistWidth + 'px';
|
|
4142
4171
|
} else {
|
|
@@ -4185,20 +4214,19 @@ var Ripple = {
|
|
|
4185
4214
|
// This module is a runtime utility for cleaner component module output and will
|
|
4186
4215
|
// be included in the final webpack user bundle.
|
|
4187
4216
|
|
|
4188
|
-
function normalizeComponent
|
|
4217
|
+
function normalizeComponent(
|
|
4189
4218
|
scriptExports,
|
|
4190
4219
|
render,
|
|
4191
4220
|
staticRenderFns,
|
|
4192
4221
|
functionalTemplate,
|
|
4193
4222
|
injectStyles,
|
|
4194
4223
|
scopeId,
|
|
4195
|
-
moduleIdentifier
|
|
4224
|
+
moduleIdentifier /* server only */,
|
|
4196
4225
|
shadowMode /* vue-cli only */
|
|
4197
4226
|
) {
|
|
4198
4227
|
// Vue.extend constructor export interop
|
|
4199
|
-
var options =
|
|
4200
|
-
? scriptExports.options
|
|
4201
|
-
: scriptExports
|
|
4228
|
+
var options =
|
|
4229
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4202
4230
|
|
|
4203
4231
|
// render functions
|
|
4204
4232
|
if (render) {
|
|
@@ -4218,7 +4246,8 @@ function normalizeComponent (
|
|
|
4218
4246
|
}
|
|
4219
4247
|
|
|
4220
4248
|
var hook
|
|
4221
|
-
if (moduleIdentifier) {
|
|
4249
|
+
if (moduleIdentifier) {
|
|
4250
|
+
// server build
|
|
4222
4251
|
hook = function (context) {
|
|
4223
4252
|
// 2.3 injection
|
|
4224
4253
|
context =
|
|
@@ -4244,11 +4273,11 @@ function normalizeComponent (
|
|
|
4244
4273
|
} else if (injectStyles) {
|
|
4245
4274
|
hook = shadowMode
|
|
4246
4275
|
? function () {
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4276
|
+
injectStyles.call(
|
|
4277
|
+
this,
|
|
4278
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4279
|
+
)
|
|
4280
|
+
}
|
|
4252
4281
|
: injectStyles
|
|
4253
4282
|
}
|
|
4254
4283
|
|
|
@@ -4259,16 +4288,14 @@ function normalizeComponent (
|
|
|
4259
4288
|
options._injectStyles = hook
|
|
4260
4289
|
// register for functional component in vue file
|
|
4261
4290
|
var originalRender = options.render
|
|
4262
|
-
options.render = function renderWithStyleInjection
|
|
4291
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4263
4292
|
hook.call(context)
|
|
4264
4293
|
return originalRender(h, context)
|
|
4265
4294
|
}
|
|
4266
4295
|
} else {
|
|
4267
4296
|
// inject component registration as beforeCreate hook
|
|
4268
4297
|
var existing = options.beforeCreate
|
|
4269
|
-
options.beforeCreate = existing
|
|
4270
|
-
? [].concat(existing, hook)
|
|
4271
|
-
: [hook]
|
|
4298
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4272
4299
|
}
|
|
4273
4300
|
}
|
|
4274
4301
|
|
|
@@ -4300,14 +4327,6 @@ var component = normalizeComponent(
|
|
|
4300
4327
|
/* harmony default export */ var ContextMenuSub = (component.exports);
|
|
4301
4328
|
// 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&
|
|
4302
4329
|
|
|
4303
|
-
//
|
|
4304
|
-
//
|
|
4305
|
-
//
|
|
4306
|
-
//
|
|
4307
|
-
//
|
|
4308
|
-
//
|
|
4309
|
-
//
|
|
4310
|
-
//
|
|
4311
4330
|
|
|
4312
4331
|
|
|
4313
4332
|
/* harmony default export */ var ContextMenuvue_type_script_lang_js_ = ({
|
|
@@ -4362,12 +4381,10 @@ var component = normalizeComponent(
|
|
|
4362
4381
|
methods: {
|
|
4363
4382
|
itemClick: function itemClick(event) {
|
|
4364
4383
|
var item = event.item;
|
|
4365
|
-
|
|
4366
4384
|
if (item.command) {
|
|
4367
4385
|
item.command(event);
|
|
4368
4386
|
event.originalEvent.preventDefault();
|
|
4369
4387
|
}
|
|
4370
|
-
|
|
4371
4388
|
this.hide();
|
|
4372
4389
|
},
|
|
4373
4390
|
toggle: function toggle(event) {
|
|
@@ -4391,7 +4408,6 @@ var component = normalizeComponent(
|
|
|
4391
4408
|
this.position();
|
|
4392
4409
|
this.bindOutsideClickListener();
|
|
4393
4410
|
this.bindResizeListener();
|
|
4394
|
-
|
|
4395
4411
|
if (this.autoZIndex) {
|
|
4396
4412
|
this.$refs.container.style.zIndex = String(this.baseZIndex + DomHandler_DomHandler.generateZIndex());
|
|
4397
4413
|
}
|
|
@@ -4405,40 +4421,38 @@ var component = normalizeComponent(
|
|
|
4405
4421
|
var top = this.pageY + 1;
|
|
4406
4422
|
var width = this.$refs.container.offsetParent ? this.$refs.container.offsetWidth : DomHandler_DomHandler.getHiddenElementOuterWidth(this.$refs.container);
|
|
4407
4423
|
var height = this.$refs.container.offsetParent ? this.$refs.container.offsetHeight : DomHandler_DomHandler.getHiddenElementOuterHeight(this.$refs.container);
|
|
4408
|
-
var viewport = DomHandler_DomHandler.getViewport();
|
|
4424
|
+
var viewport = DomHandler_DomHandler.getViewport();
|
|
4409
4425
|
|
|
4426
|
+
//flip
|
|
4410
4427
|
if (left + width - document.body.scrollLeft > viewport.width) {
|
|
4411
4428
|
left -= width;
|
|
4412
|
-
}
|
|
4413
|
-
|
|
4429
|
+
}
|
|
4414
4430
|
|
|
4431
|
+
//flip
|
|
4415
4432
|
if (top + height - document.body.scrollTop > viewport.height) {
|
|
4416
4433
|
top -= height;
|
|
4417
|
-
}
|
|
4418
|
-
|
|
4434
|
+
}
|
|
4419
4435
|
|
|
4436
|
+
//fit
|
|
4420
4437
|
if (left < document.body.scrollLeft) {
|
|
4421
4438
|
left = document.body.scrollLeft;
|
|
4422
|
-
}
|
|
4423
|
-
|
|
4439
|
+
}
|
|
4424
4440
|
|
|
4441
|
+
//fit
|
|
4425
4442
|
if (top < document.body.scrollTop) {
|
|
4426
4443
|
top = document.body.scrollTop;
|
|
4427
4444
|
}
|
|
4428
|
-
|
|
4429
4445
|
this.$refs.container.style.left = left + 'px';
|
|
4430
4446
|
this.$refs.container.style.top = top + 'px';
|
|
4431
4447
|
},
|
|
4432
4448
|
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
4433
4449
|
var _this = this;
|
|
4434
|
-
|
|
4435
4450
|
if (!this.outsideClickListener) {
|
|
4436
4451
|
this.outsideClickListener = function (event) {
|
|
4437
4452
|
if (_this.visible && _this.$refs.container && !_this.$refs.container.contains(event.target) && !event.ctrlKey) {
|
|
4438
4453
|
_this.hide();
|
|
4439
4454
|
}
|
|
4440
4455
|
};
|
|
4441
|
-
|
|
4442
4456
|
document.addEventListener('click', this.outsideClickListener);
|
|
4443
4457
|
}
|
|
4444
4458
|
},
|
|
@@ -4450,14 +4464,12 @@ var component = normalizeComponent(
|
|
|
4450
4464
|
},
|
|
4451
4465
|
bindResizeListener: function bindResizeListener() {
|
|
4452
4466
|
var _this2 = this;
|
|
4453
|
-
|
|
4454
4467
|
if (!this.resizeListener) {
|
|
4455
4468
|
this.resizeListener = function () {
|
|
4456
4469
|
if (_this2.visible) {
|
|
4457
4470
|
_this2.hide();
|
|
4458
4471
|
}
|
|
4459
4472
|
};
|
|
4460
|
-
|
|
4461
4473
|
window.addEventListener('resize', this.resizeListener);
|
|
4462
4474
|
}
|
|
4463
4475
|
},
|
|
@@ -4479,12 +4491,10 @@ var component = normalizeComponent(
|
|
|
4479
4491
|
},
|
|
4480
4492
|
bindDocumentContextMenuListener: function bindDocumentContextMenuListener() {
|
|
4481
4493
|
var _this3 = this;
|
|
4482
|
-
|
|
4483
4494
|
if (!this.documentContextMenuListener) {
|
|
4484
4495
|
this.documentContextMenuListener = function (event) {
|
|
4485
4496
|
_this3.show(event);
|
|
4486
4497
|
};
|
|
4487
|
-
|
|
4488
4498
|
document.addEventListener('contextmenu', this.documentContextMenuListener);
|
|
4489
4499
|
}
|
|
4490
4500
|
},
|
|
@@ -4501,8 +4511,8 @@ var component = normalizeComponent(
|
|
|
4501
4511
|
});
|
|
4502
4512
|
// CONCATENATED MODULE: ./src/components/contextmenu/ContextMenu.vue?vue&type=script&lang=js&
|
|
4503
4513
|
/* harmony default export */ var contextmenu_ContextMenuvue_type_script_lang_js_ = (ContextMenuvue_type_script_lang_js_);
|
|
4504
|
-
// EXTERNAL MODULE: ./src/components/contextmenu/ContextMenu.vue?vue&type=style&index=0&lang=css&
|
|
4505
|
-
var
|
|
4514
|
+
// EXTERNAL MODULE: ./src/components/contextmenu/ContextMenu.vue?vue&type=style&index=0&id=47d55cea&prod&lang=css&
|
|
4515
|
+
var ContextMenuvue_type_style_index_0_id_47d55cea_prod_lang_css_ = __webpack_require__("7360");
|
|
4506
4516
|
|
|
4507
4517
|
// CONCATENATED MODULE: ./src/components/contextmenu/ContextMenu.vue
|
|
4508
4518
|
|