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
|
@@ -2791,15 +2791,120 @@ if (typeof window !== 'undefined') {
|
|
|
2791
2791
|
// Indicate to webpack that this file can be concatenated
|
|
2792
2792
|
/* harmony default export */ var setPublicPath = (null);
|
|
2793
2793
|
|
|
2794
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2795
|
-
var render = function () {
|
|
2796
|
-
var
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2794
|
+
// 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/tieredmenu/TieredMenuSub.vue?vue&type=template&id=33b2bcef&
|
|
2795
|
+
var render = function render() {
|
|
2796
|
+
var _vm = this,
|
|
2797
|
+
_c = _vm._self._c;
|
|
2798
|
+
return _c('ul', {
|
|
2799
|
+
ref: "element",
|
|
2800
|
+
class: _vm.containerClass,
|
|
2801
|
+
attrs: {
|
|
2802
|
+
"role": "'menubar' : 'menu'",
|
|
2803
|
+
"aria-orientation": "horizontal"
|
|
2804
|
+
}
|
|
2805
|
+
}, [_vm._l(_vm.model, function (item, i) {
|
|
2806
|
+
return [_vm.visible(item) && !item.separator ? _c('li', {
|
|
2807
|
+
key: _vm.label(item) + i,
|
|
2808
|
+
class: _vm.getItemClass(item),
|
|
2809
|
+
style: item.style,
|
|
2810
|
+
attrs: {
|
|
2811
|
+
"role": "none"
|
|
2812
|
+
},
|
|
2813
|
+
on: {
|
|
2814
|
+
"mouseenter": function mouseenter($event) {
|
|
2815
|
+
return _vm.onItemMouseEnter($event, item);
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
}, [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
2819
|
+
attrs: {
|
|
2820
|
+
"to": item.to,
|
|
2821
|
+
"custom": ""
|
|
2822
|
+
},
|
|
2823
|
+
scopedSlots: _vm._u([{
|
|
2824
|
+
key: "default",
|
|
2825
|
+
fn: function fn(_ref) {
|
|
2826
|
+
var navigate = _ref.navigate,
|
|
2827
|
+
href = _ref.href,
|
|
2828
|
+
isActive = _ref.isActive,
|
|
2829
|
+
isExactActive = _ref.isExactActive;
|
|
2830
|
+
return [_c('a', {
|
|
2831
|
+
directives: [{
|
|
2832
|
+
name: "ripple",
|
|
2833
|
+
rawName: "v-ripple"
|
|
2834
|
+
}],
|
|
2835
|
+
class: _vm.linkClass(item, {
|
|
2836
|
+
isActive: isActive,
|
|
2837
|
+
isExactActive: isExactActive
|
|
2838
|
+
}),
|
|
2839
|
+
attrs: {
|
|
2840
|
+
"href": href,
|
|
2841
|
+
"role": "menuitem"
|
|
2842
|
+
},
|
|
2843
|
+
nativeOn: {
|
|
2844
|
+
"click": function click($event) {
|
|
2845
|
+
return _vm.onItemClick($event, item, navigate);
|
|
2846
|
+
},
|
|
2847
|
+
"keydown": function keydown($event) {
|
|
2848
|
+
return _vm.onItemKeyDown($event, item);
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
}, [_c('span', {
|
|
2852
|
+
class: ['p-menuitem-icon', item.icon]
|
|
2853
|
+
}), _c('span', {
|
|
2854
|
+
staticClass: "p-menuitem-text"
|
|
2855
|
+
}, [_vm._v(_vm._s(_vm.label(item)))])])];
|
|
2856
|
+
}
|
|
2857
|
+
}], null, true)
|
|
2858
|
+
}) : _c('a', {
|
|
2859
|
+
directives: [{
|
|
2860
|
+
name: "ripple",
|
|
2861
|
+
rawName: "v-ripple"
|
|
2862
|
+
}],
|
|
2863
|
+
class: _vm.linkClass(item),
|
|
2864
|
+
attrs: {
|
|
2865
|
+
"href": item.url,
|
|
2866
|
+
"target": item.target,
|
|
2867
|
+
"aria-haspopup": item.items != null,
|
|
2868
|
+
"aria-expanded": item === _vm.activeItem,
|
|
2869
|
+
"role": "menuitem",
|
|
2870
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
2871
|
+
},
|
|
2872
|
+
on: {
|
|
2873
|
+
"click": function click($event) {
|
|
2874
|
+
return _vm.onItemClick($event, item);
|
|
2875
|
+
},
|
|
2876
|
+
"keydown": function keydown($event) {
|
|
2877
|
+
return _vm.onItemKeyDown($event, item);
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
}, [_c('span', {
|
|
2881
|
+
class: ['p-menuitem-icon', item.icon]
|
|
2882
|
+
}), _c('span', {
|
|
2883
|
+
staticClass: "p-menuitem-text"
|
|
2884
|
+
}, [_vm._v(_vm._s(_vm.label(item)))]), item.items ? _c('span', {
|
|
2885
|
+
staticClass: "p-submenu-icon pi pi-angle-right"
|
|
2886
|
+
}) : _vm._e()]), _vm.visible(item) && item.items ? _c('sub-menu', {
|
|
2887
|
+
key: _vm.label(item) + '_sub_',
|
|
2888
|
+
attrs: {
|
|
2889
|
+
"model": item.items,
|
|
2890
|
+
"parentActive": item === _vm.activeItem,
|
|
2891
|
+
"exact": _vm.exact
|
|
2892
|
+
},
|
|
2893
|
+
on: {
|
|
2894
|
+
"leaf-click": _vm.onLeafClick,
|
|
2895
|
+
"keydown-item": _vm.onChildItemKeyDown
|
|
2896
|
+
}
|
|
2897
|
+
}) : _vm._e()], 1) : _vm._e(), _vm.visible(item) && item.separator ? _c('li', {
|
|
2898
|
+
key: 'separator' + i,
|
|
2899
|
+
class: ['p-menu-separator', item.class],
|
|
2900
|
+
style: item.style,
|
|
2901
|
+
attrs: {
|
|
2902
|
+
"role": "separator"
|
|
2903
|
+
}
|
|
2904
|
+
}) : _vm._e()];
|
|
2905
|
+
})], 2);
|
|
2906
|
+
};
|
|
2907
|
+
var staticRenderFns = [];
|
|
2803
2908
|
|
|
2804
2909
|
// CONCATENATED MODULE: ./src/components/tieredmenu/TieredMenuSub.vue?vue&type=template&id=33b2bcef&
|
|
2805
2910
|
|
|
@@ -2845,26 +2950,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
2845
2950
|
|
|
2846
2951
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
2847
2952
|
|
|
2848
|
-
|
|
2849
2953
|
function _defineProperties(target, props) {
|
|
2850
2954
|
for (var i = 0; i < props.length; i++) {
|
|
2851
2955
|
var descriptor = props[i];
|
|
2852
2956
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
2853
2957
|
descriptor.configurable = true;
|
|
2854
2958
|
if ("value" in descriptor) descriptor.writable = true;
|
|
2855
|
-
|
|
2856
2959
|
define_property_default()(target, descriptor.key, descriptor);
|
|
2857
2960
|
}
|
|
2858
2961
|
}
|
|
2859
|
-
|
|
2860
2962
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
2861
2963
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
2862
2964
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
2863
|
-
|
|
2864
2965
|
define_property_default()(Constructor, "prototype", {
|
|
2865
2966
|
writable: false
|
|
2866
2967
|
});
|
|
2867
|
-
|
|
2868
2968
|
return Constructor;
|
|
2869
2969
|
}
|
|
2870
2970
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -2880,18 +2980,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
2880
2980
|
|
|
2881
2981
|
|
|
2882
2982
|
|
|
2883
|
-
|
|
2884
2983
|
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; } } }; }
|
|
2885
|
-
|
|
2886
2984
|
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); }
|
|
2887
|
-
|
|
2888
2985
|
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; }
|
|
2889
|
-
|
|
2890
2986
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
2891
2987
|
function DomHandler() {
|
|
2892
2988
|
_classCallCheck(this, DomHandler);
|
|
2893
2989
|
}
|
|
2894
|
-
|
|
2895
2990
|
_createClass(DomHandler, null, [{
|
|
2896
2991
|
key: "innerWidth",
|
|
2897
2992
|
value: function innerWidth(el) {
|
|
@@ -2925,12 +3020,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2925
3020
|
value: function getOuterWidth(el, margin) {
|
|
2926
3021
|
if (el) {
|
|
2927
3022
|
var width = el.offsetWidth;
|
|
2928
|
-
|
|
2929
3023
|
if (margin) {
|
|
2930
3024
|
var style = getComputedStyle(el);
|
|
2931
3025
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
2932
3026
|
}
|
|
2933
|
-
|
|
2934
3027
|
return width;
|
|
2935
3028
|
} else {
|
|
2936
3029
|
return 0;
|
|
@@ -2941,12 +3034,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2941
3034
|
value: function getOuterHeight(el, margin) {
|
|
2942
3035
|
if (el) {
|
|
2943
3036
|
var height = el.offsetHeight;
|
|
2944
|
-
|
|
2945
3037
|
if (margin) {
|
|
2946
3038
|
var style = getComputedStyle(el);
|
|
2947
3039
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
2948
3040
|
}
|
|
2949
|
-
|
|
2950
3041
|
return height;
|
|
2951
3042
|
} else {
|
|
2952
3043
|
return 0;
|
|
@@ -2957,12 +3048,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2957
3048
|
value: function getClientHeight(el, margin) {
|
|
2958
3049
|
if (el) {
|
|
2959
3050
|
var height = el.clientHeight;
|
|
2960
|
-
|
|
2961
3051
|
if (margin) {
|
|
2962
3052
|
var style = getComputedStyle(el);
|
|
2963
3053
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
2964
3054
|
}
|
|
2965
|
-
|
|
2966
3055
|
return height;
|
|
2967
3056
|
} else {
|
|
2968
3057
|
return 0;
|
|
@@ -2972,11 +3061,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
2972
3061
|
key: "getViewport",
|
|
2973
3062
|
value: function getViewport() {
|
|
2974
3063
|
var win = window,
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
3064
|
+
d = document,
|
|
3065
|
+
e = d.documentElement,
|
|
3066
|
+
g = d.getElementsByTagName('body')[0],
|
|
3067
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3068
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
2980
3069
|
return {
|
|
2981
3070
|
width: w,
|
|
2982
3071
|
height: h
|
|
@@ -3007,12 +3096,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3007
3096
|
value: function index(element) {
|
|
3008
3097
|
var children = element.parentNode.childNodes;
|
|
3009
3098
|
var num = 0;
|
|
3010
|
-
|
|
3011
3099
|
for (var i = 0; i < children.length; i++) {
|
|
3012
3100
|
if (children[i] === element) return num;
|
|
3013
3101
|
if (children[i].nodeType === 1) num++;
|
|
3014
3102
|
}
|
|
3015
|
-
|
|
3016
3103
|
return -1;
|
|
3017
3104
|
}
|
|
3018
3105
|
}, {
|
|
@@ -3020,13 +3107,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3020
3107
|
value: function addMultipleClasses(element, className) {
|
|
3021
3108
|
if (element.classList) {
|
|
3022
3109
|
var styles = className.split(' ');
|
|
3023
|
-
|
|
3024
3110
|
for (var i = 0; i < styles.length; i++) {
|
|
3025
3111
|
element.classList.add(styles[i]);
|
|
3026
3112
|
}
|
|
3027
3113
|
} else {
|
|
3028
3114
|
var _styles = className.split(' ');
|
|
3029
|
-
|
|
3030
3115
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3031
3116
|
element.className += ' ' + _styles[_i];
|
|
3032
3117
|
}
|
|
@@ -3048,7 +3133,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3048
3133
|
if (element) {
|
|
3049
3134
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3050
3135
|
}
|
|
3051
|
-
|
|
3052
3136
|
return false;
|
|
3053
3137
|
}
|
|
3054
3138
|
}, {
|
|
@@ -3093,11 +3177,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3093
3177
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3094
3178
|
var viewport = this.getViewport();
|
|
3095
3179
|
var top, left;
|
|
3096
|
-
|
|
3097
3180
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3098
3181
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3099
3182
|
element.style.transformOrigin = 'bottom';
|
|
3100
|
-
|
|
3101
3183
|
if (top < 0) {
|
|
3102
3184
|
top = windowScrollTop;
|
|
3103
3185
|
}
|
|
@@ -3105,7 +3187,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3105
3187
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3106
3188
|
element.style.transformOrigin = 'top';
|
|
3107
3189
|
}
|
|
3108
|
-
|
|
3109
3190
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3110
3191
|
element.style.top = top + 'px';
|
|
3111
3192
|
element.style.left = left + 'px';
|
|
@@ -3121,11 +3202,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3121
3202
|
var targetOffset = target.getBoundingClientRect();
|
|
3122
3203
|
var viewport = this.getViewport();
|
|
3123
3204
|
var top, left;
|
|
3124
|
-
|
|
3125
3205
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3126
3206
|
top = -1 * elementDimensions.height;
|
|
3127
3207
|
element.style.transformOrigin = 'bottom';
|
|
3128
|
-
|
|
3129
3208
|
if (targetOffset.top + top < 0) {
|
|
3130
3209
|
top = -1 * targetOffset.top;
|
|
3131
3210
|
}
|
|
@@ -3133,7 +3212,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3133
3212
|
top = targetHeight;
|
|
3134
3213
|
element.style.transformOrigin = 'top';
|
|
3135
3214
|
}
|
|
3136
|
-
|
|
3137
3215
|
if (elementDimensions.width > viewport.width) {
|
|
3138
3216
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3139
3217
|
left = targetOffset.left * -1;
|
|
@@ -3144,7 +3222,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3144
3222
|
// element fits on screen (align with target)
|
|
3145
3223
|
left = 0;
|
|
3146
3224
|
}
|
|
3147
|
-
|
|
3148
3225
|
element.style.top = top + 'px';
|
|
3149
3226
|
element.style.left = left + 'px';
|
|
3150
3227
|
}
|
|
@@ -3158,35 +3235,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3158
3235
|
key: "getScrollableParents",
|
|
3159
3236
|
value: function getScrollableParents(element) {
|
|
3160
3237
|
var scrollableParents = [];
|
|
3161
|
-
|
|
3162
3238
|
if (element) {
|
|
3163
3239
|
var parents = this.getParents(element);
|
|
3164
3240
|
var overflowRegex = /(auto|scroll)/;
|
|
3165
|
-
|
|
3166
3241
|
var overflowCheck = function overflowCheck(node) {
|
|
3167
3242
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3168
3243
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3169
3244
|
};
|
|
3170
|
-
|
|
3171
3245
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3172
|
-
|
|
3173
|
-
|
|
3246
|
+
_step;
|
|
3174
3247
|
try {
|
|
3175
3248
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3176
3249
|
var parent = _step.value;
|
|
3177
3250
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3178
|
-
|
|
3179
3251
|
if (scrollSelectors) {
|
|
3180
3252
|
var selectors = scrollSelectors.split(',');
|
|
3181
|
-
|
|
3182
3253
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3183
|
-
|
|
3184
|
-
|
|
3254
|
+
_step2;
|
|
3185
3255
|
try {
|
|
3186
3256
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3187
3257
|
var selector = _step2.value;
|
|
3188
3258
|
var el = this.findSingle(parent, selector);
|
|
3189
|
-
|
|
3190
3259
|
if (el && overflowCheck(el)) {
|
|
3191
3260
|
scrollableParents.push(el);
|
|
3192
3261
|
}
|
|
@@ -3204,7 +3273,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3204
3273
|
_iterator.f();
|
|
3205
3274
|
}
|
|
3206
3275
|
}
|
|
3207
|
-
|
|
3208
3276
|
return scrollableParents;
|
|
3209
3277
|
}
|
|
3210
3278
|
}, {
|
|
@@ -3245,34 +3313,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3245
3313
|
element.style.opacity = 0;
|
|
3246
3314
|
var last = +new Date();
|
|
3247
3315
|
var opacity = 0;
|
|
3248
|
-
|
|
3249
3316
|
var tick = function tick() {
|
|
3250
3317
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3251
3318
|
element.style.opacity = opacity;
|
|
3252
3319
|
last = +new Date();
|
|
3253
|
-
|
|
3254
3320
|
if (+opacity < 1) {
|
|
3255
3321
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3256
3322
|
}
|
|
3257
3323
|
};
|
|
3258
|
-
|
|
3259
3324
|
tick();
|
|
3260
3325
|
}
|
|
3261
3326
|
}, {
|
|
3262
3327
|
key: "fadeOut",
|
|
3263
3328
|
value: function fadeOut(element, ms) {
|
|
3264
3329
|
var opacity = 1,
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3330
|
+
interval = 50,
|
|
3331
|
+
duration = ms,
|
|
3332
|
+
gap = interval / duration;
|
|
3268
3333
|
var fading = setInterval(function () {
|
|
3269
3334
|
opacity -= gap;
|
|
3270
|
-
|
|
3271
3335
|
if (opacity <= 0) {
|
|
3272
3336
|
opacity = 0;
|
|
3273
3337
|
clearInterval(fading);
|
|
3274
3338
|
}
|
|
3275
|
-
|
|
3276
3339
|
element.style.opacity = opacity;
|
|
3277
3340
|
}, interval);
|
|
3278
3341
|
}
|
|
@@ -3299,7 +3362,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3299
3362
|
var scroll = container.scrollTop;
|
|
3300
3363
|
var elementHeight = container.clientHeight;
|
|
3301
3364
|
var itemHeight = this.getOuterHeight(item);
|
|
3302
|
-
|
|
3303
3365
|
if (offset < 0) {
|
|
3304
3366
|
container.scrollTop = scroll + offset;
|
|
3305
3367
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3318,7 +3380,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3318
3380
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3319
3381
|
try {
|
|
3320
3382
|
document['selection'].empty();
|
|
3321
|
-
} catch (error) {
|
|
3383
|
+
} catch (error) {
|
|
3384
|
+
//ignore IE bug
|
|
3322
3385
|
}
|
|
3323
3386
|
}
|
|
3324
3387
|
}
|
|
@@ -3340,19 +3403,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3340
3403
|
if (!this.browser) {
|
|
3341
3404
|
var matched = this.resolveUserAgent();
|
|
3342
3405
|
this.browser = {};
|
|
3343
|
-
|
|
3344
3406
|
if (matched.browser) {
|
|
3345
3407
|
this.browser[matched.browser] = true;
|
|
3346
3408
|
this.browser['version'] = matched.version;
|
|
3347
3409
|
}
|
|
3348
|
-
|
|
3349
3410
|
if (this.browser['chrome']) {
|
|
3350
3411
|
this.browser['webkit'] = true;
|
|
3351
3412
|
} else if (this.browser['webkit']) {
|
|
3352
3413
|
this.browser['safari'] = true;
|
|
3353
3414
|
}
|
|
3354
3415
|
}
|
|
3355
|
-
|
|
3356
3416
|
return this.browser;
|
|
3357
3417
|
}
|
|
3358
3418
|
}, {
|
|
@@ -3380,10 +3440,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3380
3440
|
value: function getFocusableElements(element) {
|
|
3381
3441
|
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])");
|
|
3382
3442
|
var visibleFocusableElements = [];
|
|
3383
|
-
|
|
3384
3443
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3385
|
-
|
|
3386
|
-
|
|
3444
|
+
_step3;
|
|
3387
3445
|
try {
|
|
3388
3446
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3389
3447
|
var focusableElement = _step3.value;
|
|
@@ -3394,7 +3452,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3394
3452
|
} finally {
|
|
3395
3453
|
_iterator3.f();
|
|
3396
3454
|
}
|
|
3397
|
-
|
|
3398
3455
|
return visibleFocusableElements;
|
|
3399
3456
|
}
|
|
3400
3457
|
}, {
|
|
@@ -3437,55 +3494,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3437
3494
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3438
3495
|
}
|
|
3439
3496
|
}]);
|
|
3440
|
-
|
|
3441
3497
|
return DomHandler;
|
|
3442
3498
|
}();
|
|
3443
3499
|
|
|
3444
|
-
|
|
3445
3500
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3446
3501
|
|
|
3447
|
-
|
|
3448
3502
|
function bindEvents(el) {
|
|
3449
3503
|
el.addEventListener('mousedown', onMouseDown);
|
|
3450
3504
|
}
|
|
3451
|
-
|
|
3452
3505
|
function unbindEvents(el) {
|
|
3453
3506
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3454
3507
|
}
|
|
3455
|
-
|
|
3456
3508
|
function create(el) {
|
|
3457
3509
|
var ink = document.createElement('span');
|
|
3458
3510
|
ink.className = 'p-ink';
|
|
3459
3511
|
el.appendChild(ink);
|
|
3460
3512
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3461
3513
|
}
|
|
3462
|
-
|
|
3463
3514
|
function remove(el) {
|
|
3464
3515
|
var ink = getInk(el);
|
|
3465
|
-
|
|
3466
3516
|
if (ink) {
|
|
3467
3517
|
unbindEvents(el);
|
|
3468
3518
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3469
3519
|
ink.remove();
|
|
3470
3520
|
}
|
|
3471
3521
|
}
|
|
3472
|
-
|
|
3473
3522
|
function onMouseDown(event) {
|
|
3474
3523
|
var target = event.currentTarget;
|
|
3475
3524
|
var ink = getInk(target);
|
|
3476
|
-
|
|
3477
3525
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3478
3526
|
return;
|
|
3479
3527
|
}
|
|
3480
|
-
|
|
3481
3528
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3482
|
-
|
|
3483
3529
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3484
3530
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3485
3531
|
ink.style.height = d + 'px';
|
|
3486
3532
|
ink.style.width = d + 'px';
|
|
3487
3533
|
}
|
|
3488
|
-
|
|
3489
3534
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3490
3535
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3491
3536
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3493,21 +3538,17 @@ function onMouseDown(event) {
|
|
|
3493
3538
|
ink.style.left = x + 'px';
|
|
3494
3539
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3495
3540
|
}
|
|
3496
|
-
|
|
3497
3541
|
function onAnimationEnd(event) {
|
|
3498
3542
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3499
3543
|
}
|
|
3500
|
-
|
|
3501
3544
|
function getInk(el) {
|
|
3502
3545
|
for (var i = 0; i < el.children.length; i++) {
|
|
3503
3546
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3504
3547
|
return el.children[i];
|
|
3505
3548
|
}
|
|
3506
3549
|
}
|
|
3507
|
-
|
|
3508
3550
|
return null;
|
|
3509
3551
|
}
|
|
3510
|
-
|
|
3511
3552
|
var Ripple = {
|
|
3512
3553
|
inserted: function inserted(el, binding, vnode) {
|
|
3513
3554
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -3521,32 +3562,6 @@ var Ripple = {
|
|
|
3521
3562
|
};
|
|
3522
3563
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
3523
3564
|
// 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/tieredmenu/TieredMenuSub.vue?vue&type=script&lang=js&
|
|
3524
|
-
//
|
|
3525
|
-
//
|
|
3526
|
-
//
|
|
3527
|
-
//
|
|
3528
|
-
//
|
|
3529
|
-
//
|
|
3530
|
-
//
|
|
3531
|
-
//
|
|
3532
|
-
//
|
|
3533
|
-
//
|
|
3534
|
-
//
|
|
3535
|
-
//
|
|
3536
|
-
//
|
|
3537
|
-
//
|
|
3538
|
-
//
|
|
3539
|
-
//
|
|
3540
|
-
//
|
|
3541
|
-
//
|
|
3542
|
-
//
|
|
3543
|
-
//
|
|
3544
|
-
//
|
|
3545
|
-
//
|
|
3546
|
-
//
|
|
3547
|
-
//
|
|
3548
|
-
//
|
|
3549
|
-
//
|
|
3550
3565
|
|
|
3551
3566
|
|
|
3552
3567
|
/* harmony default export */ var TieredMenuSubvue_type_script_lang_js_ = ({
|
|
@@ -3600,7 +3615,6 @@ var Ripple = {
|
|
|
3600
3615
|
event.preventDefault();
|
|
3601
3616
|
return;
|
|
3602
3617
|
}
|
|
3603
|
-
|
|
3604
3618
|
if (this.root) {
|
|
3605
3619
|
if (this.activeItem || this.popup) {
|
|
3606
3620
|
this.activeItem = item;
|
|
@@ -3614,22 +3628,18 @@ var Ripple = {
|
|
|
3614
3628
|
event.preventDefault();
|
|
3615
3629
|
return;
|
|
3616
3630
|
}
|
|
3617
|
-
|
|
3618
3631
|
if (!item.url && !item.to) {
|
|
3619
3632
|
event.preventDefault();
|
|
3620
3633
|
}
|
|
3621
|
-
|
|
3622
3634
|
if (item.command) {
|
|
3623
3635
|
item.command({
|
|
3624
3636
|
originalEvent: event,
|
|
3625
3637
|
item: item
|
|
3626
3638
|
});
|
|
3627
3639
|
}
|
|
3628
|
-
|
|
3629
3640
|
if (item.items) {
|
|
3630
3641
|
if (this.activeItem && item === this.activeItem) this.activeItem = null;else this.activeItem = item;
|
|
3631
3642
|
}
|
|
3632
|
-
|
|
3633
3643
|
if (!item.items) {
|
|
3634
3644
|
this.onLeafClick();
|
|
3635
3645
|
}
|
|
@@ -3640,31 +3650,26 @@ var Ripple = {
|
|
|
3640
3650
|
},
|
|
3641
3651
|
onItemKeyDown: function onItemKeyDown(event, item) {
|
|
3642
3652
|
var listItem = event.currentTarget.parentElement;
|
|
3643
|
-
|
|
3644
3653
|
switch (event.which) {
|
|
3645
3654
|
//down
|
|
3646
3655
|
case 40:
|
|
3647
3656
|
var nextItem = this.findNextItem(listItem);
|
|
3648
|
-
|
|
3649
3657
|
if (nextItem) {
|
|
3650
3658
|
nextItem.children[0].focus();
|
|
3651
3659
|
}
|
|
3652
|
-
|
|
3653
3660
|
event.preventDefault();
|
|
3654
3661
|
break;
|
|
3655
|
-
//up
|
|
3656
3662
|
|
|
3663
|
+
//up
|
|
3657
3664
|
case 38:
|
|
3658
3665
|
var prevItem = this.findPrevItem(listItem);
|
|
3659
|
-
|
|
3660
3666
|
if (prevItem) {
|
|
3661
3667
|
prevItem.children[0].focus();
|
|
3662
3668
|
}
|
|
3663
|
-
|
|
3664
3669
|
event.preventDefault();
|
|
3665
3670
|
break;
|
|
3666
|
-
//right
|
|
3667
3671
|
|
|
3672
|
+
//right
|
|
3668
3673
|
case 39:
|
|
3669
3674
|
if (item.items) {
|
|
3670
3675
|
this.activeItem = item;
|
|
@@ -3672,14 +3677,11 @@ var Ripple = {
|
|
|
3672
3677
|
listItem.children[1].children[0].children[0].focus();
|
|
3673
3678
|
}, 50);
|
|
3674
3679
|
}
|
|
3675
|
-
|
|
3676
3680
|
event.preventDefault();
|
|
3677
3681
|
break;
|
|
3678
|
-
|
|
3679
3682
|
default:
|
|
3680
3683
|
break;
|
|
3681
3684
|
}
|
|
3682
|
-
|
|
3683
3685
|
this.$emit('keydown-item', {
|
|
3684
3686
|
originalEvent: event,
|
|
3685
3687
|
element: listItem
|
|
@@ -3714,16 +3716,13 @@ var Ripple = {
|
|
|
3714
3716
|
},
|
|
3715
3717
|
bindDocumentClickListener: function bindDocumentClickListener() {
|
|
3716
3718
|
var _this = this;
|
|
3717
|
-
|
|
3718
3719
|
if (!this.documentClickListener) {
|
|
3719
3720
|
this.documentClickListener = function (event) {
|
|
3720
3721
|
if (_this.$el && !_this.$el.contains(event.target)) {
|
|
3721
3722
|
_this.activeItem = null;
|
|
3722
|
-
|
|
3723
3723
|
_this.unbindDocumentClickListener();
|
|
3724
3724
|
}
|
|
3725
3725
|
};
|
|
3726
|
-
|
|
3727
3726
|
document.addEventListener('click', this.documentClickListener);
|
|
3728
3727
|
}
|
|
3729
3728
|
},
|
|
@@ -3763,20 +3762,19 @@ var Ripple = {
|
|
|
3763
3762
|
// This module is a runtime utility for cleaner component module output and will
|
|
3764
3763
|
// be included in the final webpack user bundle.
|
|
3765
3764
|
|
|
3766
|
-
function normalizeComponent
|
|
3765
|
+
function normalizeComponent(
|
|
3767
3766
|
scriptExports,
|
|
3768
3767
|
render,
|
|
3769
3768
|
staticRenderFns,
|
|
3770
3769
|
functionalTemplate,
|
|
3771
3770
|
injectStyles,
|
|
3772
3771
|
scopeId,
|
|
3773
|
-
moduleIdentifier
|
|
3772
|
+
moduleIdentifier /* server only */,
|
|
3774
3773
|
shadowMode /* vue-cli only */
|
|
3775
3774
|
) {
|
|
3776
3775
|
// Vue.extend constructor export interop
|
|
3777
|
-
var options =
|
|
3778
|
-
? scriptExports.options
|
|
3779
|
-
: scriptExports
|
|
3776
|
+
var options =
|
|
3777
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
3780
3778
|
|
|
3781
3779
|
// render functions
|
|
3782
3780
|
if (render) {
|
|
@@ -3796,7 +3794,8 @@ function normalizeComponent (
|
|
|
3796
3794
|
}
|
|
3797
3795
|
|
|
3798
3796
|
var hook
|
|
3799
|
-
if (moduleIdentifier) {
|
|
3797
|
+
if (moduleIdentifier) {
|
|
3798
|
+
// server build
|
|
3800
3799
|
hook = function (context) {
|
|
3801
3800
|
// 2.3 injection
|
|
3802
3801
|
context =
|
|
@@ -3822,11 +3821,11 @@ function normalizeComponent (
|
|
|
3822
3821
|
} else if (injectStyles) {
|
|
3823
3822
|
hook = shadowMode
|
|
3824
3823
|
? function () {
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3824
|
+
injectStyles.call(
|
|
3825
|
+
this,
|
|
3826
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
3827
|
+
)
|
|
3828
|
+
}
|
|
3830
3829
|
: injectStyles
|
|
3831
3830
|
}
|
|
3832
3831
|
|
|
@@ -3837,16 +3836,14 @@ function normalizeComponent (
|
|
|
3837
3836
|
options._injectStyles = hook
|
|
3838
3837
|
// register for functional component in vue file
|
|
3839
3838
|
var originalRender = options.render
|
|
3840
|
-
options.render = function renderWithStyleInjection
|
|
3839
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
3841
3840
|
hook.call(context)
|
|
3842
3841
|
return originalRender(h, context)
|
|
3843
3842
|
}
|
|
3844
3843
|
} else {
|
|
3845
3844
|
// inject component registration as beforeCreate hook
|
|
3846
3845
|
var existing = options.beforeCreate
|
|
3847
|
-
options.beforeCreate = existing
|
|
3848
|
-
? [].concat(existing, hook)
|
|
3849
|
-
: [hook]
|
|
3846
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
3850
3847
|
}
|
|
3851
3848
|
}
|
|
3852
3849
|
|