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
package/dock/docksub.common.js
CHANGED
|
@@ -154,47 +154,129 @@ if (typeof window !== 'undefined') {
|
|
|
154
154
|
// Indicate to webpack that this file can be concatenated
|
|
155
155
|
/* harmony default export */ var setPublicPath = (null);
|
|
156
156
|
|
|
157
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
158
|
-
var render = function () {
|
|
159
|
-
var
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
157
|
+
// 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/dock/DockSub.vue?vue&type=template&id=77d6d77e&
|
|
158
|
+
var render = function render() {
|
|
159
|
+
var _vm = this,
|
|
160
|
+
_c = _vm._self._c;
|
|
161
|
+
return _c('div', {
|
|
162
|
+
staticClass: "p-dock-list-container"
|
|
163
|
+
}, [_c('ul', {
|
|
164
|
+
ref: "list",
|
|
165
|
+
staticClass: "p-dock-list",
|
|
166
|
+
attrs: {
|
|
167
|
+
"role": "menu"
|
|
168
|
+
},
|
|
169
|
+
on: {
|
|
170
|
+
"mouseleave": _vm.onListMouseLeave
|
|
171
|
+
}
|
|
172
|
+
}, _vm._l(_vm.model, function (item, index) {
|
|
173
|
+
return _c('li', {
|
|
174
|
+
key: index,
|
|
175
|
+
class: _vm.itemClass(index),
|
|
176
|
+
attrs: {
|
|
177
|
+
"role": "none"
|
|
178
|
+
},
|
|
179
|
+
on: {
|
|
180
|
+
"mouseenter": function mouseenter($event) {
|
|
181
|
+
return _vm.onItemMouseEnter(index);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}, [_vm.templates['item'] ? _c('DockSubTemplate', {
|
|
185
|
+
attrs: {
|
|
186
|
+
"item": item,
|
|
187
|
+
"template": _vm.templates['item']
|
|
188
|
+
}
|
|
189
|
+
}) : [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
190
|
+
attrs: {
|
|
191
|
+
"to": item.to,
|
|
192
|
+
"custom": ""
|
|
193
|
+
},
|
|
194
|
+
scopedSlots: _vm._u([{
|
|
195
|
+
key: "default",
|
|
196
|
+
fn: function fn(_ref) {
|
|
197
|
+
var navigate = _ref.navigate,
|
|
198
|
+
href = _ref.href,
|
|
199
|
+
isActive = _ref.isActive,
|
|
200
|
+
isExactActive = _ref.isExactActive;
|
|
201
|
+
return [_c('a', {
|
|
202
|
+
directives: [{
|
|
203
|
+
name: "tooltip",
|
|
204
|
+
rawName: "v-tooltip:[tooltipOptions]",
|
|
205
|
+
value: {
|
|
206
|
+
value: item.label,
|
|
207
|
+
disabled: !_vm.tooltipOptions
|
|
208
|
+
},
|
|
209
|
+
expression: "{value: item.label, disabled: !tooltipOptions}",
|
|
210
|
+
arg: _vm.tooltipOptions
|
|
211
|
+
}],
|
|
212
|
+
class: _vm.linkClass(item, {
|
|
213
|
+
isActive: isActive,
|
|
214
|
+
isExactActive: isExactActive
|
|
215
|
+
}),
|
|
216
|
+
attrs: {
|
|
217
|
+
"href": href,
|
|
218
|
+
"role": "menuitem",
|
|
219
|
+
"target": item.target
|
|
220
|
+
},
|
|
221
|
+
on: {
|
|
222
|
+
"click": function click($event) {
|
|
223
|
+
return _vm.onItemClick($event, item, navigate);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}, [typeof item.icon === 'string' ? [_c('span', {
|
|
227
|
+
directives: [{
|
|
228
|
+
name: "ripple",
|
|
229
|
+
rawName: "v-ripple"
|
|
230
|
+
}],
|
|
231
|
+
class: ['p-dock-action-icon', item.icon]
|
|
232
|
+
})] : _c('DockSubIconTemplate', {
|
|
233
|
+
attrs: {
|
|
234
|
+
"icon": item.icon
|
|
235
|
+
}
|
|
236
|
+
})], 2)];
|
|
237
|
+
}
|
|
238
|
+
}], null, true)
|
|
239
|
+
}) : _c('a', {
|
|
240
|
+
directives: [{
|
|
241
|
+
name: "tooltip",
|
|
242
|
+
rawName: "v-tooltip:[tooltipOptions]",
|
|
243
|
+
value: {
|
|
244
|
+
value: item.label,
|
|
245
|
+
disabled: !_vm.tooltipOptions
|
|
246
|
+
},
|
|
247
|
+
expression: "{value: item.label, disabled: !tooltipOptions}",
|
|
248
|
+
arg: _vm.tooltipOptions
|
|
249
|
+
}],
|
|
250
|
+
class: _vm.linkClass(item),
|
|
251
|
+
attrs: {
|
|
252
|
+
"href": item.url,
|
|
253
|
+
"role": "menuitem",
|
|
254
|
+
"target": item.target,
|
|
255
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
256
|
+
},
|
|
257
|
+
on: {
|
|
258
|
+
"click": function click($event) {
|
|
259
|
+
return _vm.onItemClick($event, item);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}, [typeof item.icon === 'string' ? [_c('span', {
|
|
263
|
+
directives: [{
|
|
264
|
+
name: "ripple",
|
|
265
|
+
rawName: "v-ripple"
|
|
266
|
+
}],
|
|
267
|
+
class: ['p-dock-action-icon', item.icon]
|
|
268
|
+
})] : _c('DockSubIconTemplate', {
|
|
269
|
+
attrs: {
|
|
270
|
+
"icon": item.icon
|
|
271
|
+
}
|
|
272
|
+
})], 2)]], 2);
|
|
273
|
+
}), 0)]);
|
|
274
|
+
};
|
|
275
|
+
var staticRenderFns = [];
|
|
166
276
|
|
|
167
277
|
// CONCATENATED MODULE: ./src/components/dock/DockSub.vue?vue&type=template&id=77d6d77e&
|
|
168
278
|
|
|
169
279
|
// 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/dock/DockSub.vue?vue&type=script&lang=js&
|
|
170
|
-
//
|
|
171
|
-
//
|
|
172
|
-
//
|
|
173
|
-
//
|
|
174
|
-
//
|
|
175
|
-
//
|
|
176
|
-
//
|
|
177
|
-
//
|
|
178
|
-
//
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
|
-
//
|
|
198
280
|
var DockSubIconTemplate = {
|
|
199
281
|
functional: true,
|
|
200
282
|
props: {
|
|
@@ -259,14 +341,12 @@ var DockSubTemplate = {
|
|
|
259
341
|
if (this.disabled(item)) {
|
|
260
342
|
return;
|
|
261
343
|
}
|
|
262
|
-
|
|
263
344
|
if (item.command) {
|
|
264
345
|
item.command({
|
|
265
346
|
originalEvent: event,
|
|
266
347
|
item: item
|
|
267
348
|
});
|
|
268
349
|
}
|
|
269
|
-
|
|
270
350
|
event.preventDefault();
|
|
271
351
|
},
|
|
272
352
|
itemClass: function itemClass(index) {
|
|
@@ -303,20 +383,19 @@ var DockSubTemplate = {
|
|
|
303
383
|
// This module is a runtime utility for cleaner component module output and will
|
|
304
384
|
// be included in the final webpack user bundle.
|
|
305
385
|
|
|
306
|
-
function normalizeComponent
|
|
386
|
+
function normalizeComponent(
|
|
307
387
|
scriptExports,
|
|
308
388
|
render,
|
|
309
389
|
staticRenderFns,
|
|
310
390
|
functionalTemplate,
|
|
311
391
|
injectStyles,
|
|
312
392
|
scopeId,
|
|
313
|
-
moduleIdentifier
|
|
393
|
+
moduleIdentifier /* server only */,
|
|
314
394
|
shadowMode /* vue-cli only */
|
|
315
395
|
) {
|
|
316
396
|
// Vue.extend constructor export interop
|
|
317
|
-
var options =
|
|
318
|
-
? scriptExports.options
|
|
319
|
-
: scriptExports
|
|
397
|
+
var options =
|
|
398
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
320
399
|
|
|
321
400
|
// render functions
|
|
322
401
|
if (render) {
|
|
@@ -336,7 +415,8 @@ function normalizeComponent (
|
|
|
336
415
|
}
|
|
337
416
|
|
|
338
417
|
var hook
|
|
339
|
-
if (moduleIdentifier) {
|
|
418
|
+
if (moduleIdentifier) {
|
|
419
|
+
// server build
|
|
340
420
|
hook = function (context) {
|
|
341
421
|
// 2.3 injection
|
|
342
422
|
context =
|
|
@@ -362,11 +442,11 @@ function normalizeComponent (
|
|
|
362
442
|
} else if (injectStyles) {
|
|
363
443
|
hook = shadowMode
|
|
364
444
|
? function () {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
445
|
+
injectStyles.call(
|
|
446
|
+
this,
|
|
447
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
448
|
+
)
|
|
449
|
+
}
|
|
370
450
|
: injectStyles
|
|
371
451
|
}
|
|
372
452
|
|
|
@@ -377,16 +457,14 @@ function normalizeComponent (
|
|
|
377
457
|
options._injectStyles = hook
|
|
378
458
|
// register for functional component in vue file
|
|
379
459
|
var originalRender = options.render
|
|
380
|
-
options.render = function renderWithStyleInjection
|
|
460
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
381
461
|
hook.call(context)
|
|
382
462
|
return originalRender(h, context)
|
|
383
463
|
}
|
|
384
464
|
} else {
|
|
385
465
|
// inject component registration as beforeCreate hook
|
|
386
466
|
var existing = options.beforeCreate
|
|
387
|
-
options.beforeCreate = existing
|
|
388
|
-
? [].concat(existing, hook)
|
|
389
|
-
: [hook]
|
|
467
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
390
468
|
}
|
|
391
469
|
}
|
|
392
470
|
|
package/dock/docksub.umd.js
CHANGED
|
@@ -163,47 +163,129 @@ if (typeof window !== 'undefined') {
|
|
|
163
163
|
// Indicate to webpack that this file can be concatenated
|
|
164
164
|
/* harmony default export */ var setPublicPath = (null);
|
|
165
165
|
|
|
166
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
167
|
-
var render = function () {
|
|
168
|
-
var
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
166
|
+
// 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/dock/DockSub.vue?vue&type=template&id=77d6d77e&
|
|
167
|
+
var render = function render() {
|
|
168
|
+
var _vm = this,
|
|
169
|
+
_c = _vm._self._c;
|
|
170
|
+
return _c('div', {
|
|
171
|
+
staticClass: "p-dock-list-container"
|
|
172
|
+
}, [_c('ul', {
|
|
173
|
+
ref: "list",
|
|
174
|
+
staticClass: "p-dock-list",
|
|
175
|
+
attrs: {
|
|
176
|
+
"role": "menu"
|
|
177
|
+
},
|
|
178
|
+
on: {
|
|
179
|
+
"mouseleave": _vm.onListMouseLeave
|
|
180
|
+
}
|
|
181
|
+
}, _vm._l(_vm.model, function (item, index) {
|
|
182
|
+
return _c('li', {
|
|
183
|
+
key: index,
|
|
184
|
+
class: _vm.itemClass(index),
|
|
185
|
+
attrs: {
|
|
186
|
+
"role": "none"
|
|
187
|
+
},
|
|
188
|
+
on: {
|
|
189
|
+
"mouseenter": function mouseenter($event) {
|
|
190
|
+
return _vm.onItemMouseEnter(index);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}, [_vm.templates['item'] ? _c('DockSubTemplate', {
|
|
194
|
+
attrs: {
|
|
195
|
+
"item": item,
|
|
196
|
+
"template": _vm.templates['item']
|
|
197
|
+
}
|
|
198
|
+
}) : [item.to && !_vm.disabled(item) ? _c('router-link', {
|
|
199
|
+
attrs: {
|
|
200
|
+
"to": item.to,
|
|
201
|
+
"custom": ""
|
|
202
|
+
},
|
|
203
|
+
scopedSlots: _vm._u([{
|
|
204
|
+
key: "default",
|
|
205
|
+
fn: function fn(_ref) {
|
|
206
|
+
var navigate = _ref.navigate,
|
|
207
|
+
href = _ref.href,
|
|
208
|
+
isActive = _ref.isActive,
|
|
209
|
+
isExactActive = _ref.isExactActive;
|
|
210
|
+
return [_c('a', {
|
|
211
|
+
directives: [{
|
|
212
|
+
name: "tooltip",
|
|
213
|
+
rawName: "v-tooltip:[tooltipOptions]",
|
|
214
|
+
value: {
|
|
215
|
+
value: item.label,
|
|
216
|
+
disabled: !_vm.tooltipOptions
|
|
217
|
+
},
|
|
218
|
+
expression: "{value: item.label, disabled: !tooltipOptions}",
|
|
219
|
+
arg: _vm.tooltipOptions
|
|
220
|
+
}],
|
|
221
|
+
class: _vm.linkClass(item, {
|
|
222
|
+
isActive: isActive,
|
|
223
|
+
isExactActive: isExactActive
|
|
224
|
+
}),
|
|
225
|
+
attrs: {
|
|
226
|
+
"href": href,
|
|
227
|
+
"role": "menuitem",
|
|
228
|
+
"target": item.target
|
|
229
|
+
},
|
|
230
|
+
on: {
|
|
231
|
+
"click": function click($event) {
|
|
232
|
+
return _vm.onItemClick($event, item, navigate);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}, [typeof item.icon === 'string' ? [_c('span', {
|
|
236
|
+
directives: [{
|
|
237
|
+
name: "ripple",
|
|
238
|
+
rawName: "v-ripple"
|
|
239
|
+
}],
|
|
240
|
+
class: ['p-dock-action-icon', item.icon]
|
|
241
|
+
})] : _c('DockSubIconTemplate', {
|
|
242
|
+
attrs: {
|
|
243
|
+
"icon": item.icon
|
|
244
|
+
}
|
|
245
|
+
})], 2)];
|
|
246
|
+
}
|
|
247
|
+
}], null, true)
|
|
248
|
+
}) : _c('a', {
|
|
249
|
+
directives: [{
|
|
250
|
+
name: "tooltip",
|
|
251
|
+
rawName: "v-tooltip:[tooltipOptions]",
|
|
252
|
+
value: {
|
|
253
|
+
value: item.label,
|
|
254
|
+
disabled: !_vm.tooltipOptions
|
|
255
|
+
},
|
|
256
|
+
expression: "{value: item.label, disabled: !tooltipOptions}",
|
|
257
|
+
arg: _vm.tooltipOptions
|
|
258
|
+
}],
|
|
259
|
+
class: _vm.linkClass(item),
|
|
260
|
+
attrs: {
|
|
261
|
+
"href": item.url,
|
|
262
|
+
"role": "menuitem",
|
|
263
|
+
"target": item.target,
|
|
264
|
+
"tabindex": _vm.disabled(item) ? null : '0'
|
|
265
|
+
},
|
|
266
|
+
on: {
|
|
267
|
+
"click": function click($event) {
|
|
268
|
+
return _vm.onItemClick($event, item);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}, [typeof item.icon === 'string' ? [_c('span', {
|
|
272
|
+
directives: [{
|
|
273
|
+
name: "ripple",
|
|
274
|
+
rawName: "v-ripple"
|
|
275
|
+
}],
|
|
276
|
+
class: ['p-dock-action-icon', item.icon]
|
|
277
|
+
})] : _c('DockSubIconTemplate', {
|
|
278
|
+
attrs: {
|
|
279
|
+
"icon": item.icon
|
|
280
|
+
}
|
|
281
|
+
})], 2)]], 2);
|
|
282
|
+
}), 0)]);
|
|
283
|
+
};
|
|
284
|
+
var staticRenderFns = [];
|
|
175
285
|
|
|
176
286
|
// CONCATENATED MODULE: ./src/components/dock/DockSub.vue?vue&type=template&id=77d6d77e&
|
|
177
287
|
|
|
178
288
|
// 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/dock/DockSub.vue?vue&type=script&lang=js&
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
//
|
|
187
|
-
//
|
|
188
|
-
//
|
|
189
|
-
//
|
|
190
|
-
//
|
|
191
|
-
//
|
|
192
|
-
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
195
|
-
//
|
|
196
|
-
//
|
|
197
|
-
//
|
|
198
|
-
//
|
|
199
|
-
//
|
|
200
|
-
//
|
|
201
|
-
//
|
|
202
|
-
//
|
|
203
|
-
//
|
|
204
|
-
//
|
|
205
|
-
//
|
|
206
|
-
//
|
|
207
289
|
var DockSubIconTemplate = {
|
|
208
290
|
functional: true,
|
|
209
291
|
props: {
|
|
@@ -268,14 +350,12 @@ var DockSubTemplate = {
|
|
|
268
350
|
if (this.disabled(item)) {
|
|
269
351
|
return;
|
|
270
352
|
}
|
|
271
|
-
|
|
272
353
|
if (item.command) {
|
|
273
354
|
item.command({
|
|
274
355
|
originalEvent: event,
|
|
275
356
|
item: item
|
|
276
357
|
});
|
|
277
358
|
}
|
|
278
|
-
|
|
279
359
|
event.preventDefault();
|
|
280
360
|
},
|
|
281
361
|
itemClass: function itemClass(index) {
|
|
@@ -312,20 +392,19 @@ var DockSubTemplate = {
|
|
|
312
392
|
// This module is a runtime utility for cleaner component module output and will
|
|
313
393
|
// be included in the final webpack user bundle.
|
|
314
394
|
|
|
315
|
-
function normalizeComponent
|
|
395
|
+
function normalizeComponent(
|
|
316
396
|
scriptExports,
|
|
317
397
|
render,
|
|
318
398
|
staticRenderFns,
|
|
319
399
|
functionalTemplate,
|
|
320
400
|
injectStyles,
|
|
321
401
|
scopeId,
|
|
322
|
-
moduleIdentifier
|
|
402
|
+
moduleIdentifier /* server only */,
|
|
323
403
|
shadowMode /* vue-cli only */
|
|
324
404
|
) {
|
|
325
405
|
// Vue.extend constructor export interop
|
|
326
|
-
var options =
|
|
327
|
-
? scriptExports.options
|
|
328
|
-
: scriptExports
|
|
406
|
+
var options =
|
|
407
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
329
408
|
|
|
330
409
|
// render functions
|
|
331
410
|
if (render) {
|
|
@@ -345,7 +424,8 @@ function normalizeComponent (
|
|
|
345
424
|
}
|
|
346
425
|
|
|
347
426
|
var hook
|
|
348
|
-
if (moduleIdentifier) {
|
|
427
|
+
if (moduleIdentifier) {
|
|
428
|
+
// server build
|
|
349
429
|
hook = function (context) {
|
|
350
430
|
// 2.3 injection
|
|
351
431
|
context =
|
|
@@ -371,11 +451,11 @@ function normalizeComponent (
|
|
|
371
451
|
} else if (injectStyles) {
|
|
372
452
|
hook = shadowMode
|
|
373
453
|
? function () {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
454
|
+
injectStyles.call(
|
|
455
|
+
this,
|
|
456
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
457
|
+
)
|
|
458
|
+
}
|
|
379
459
|
: injectStyles
|
|
380
460
|
}
|
|
381
461
|
|
|
@@ -386,16 +466,14 @@ function normalizeComponent (
|
|
|
386
466
|
options._injectStyles = hook
|
|
387
467
|
// register for functional component in vue file
|
|
388
468
|
var originalRender = options.render
|
|
389
|
-
options.render = function renderWithStyleInjection
|
|
469
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
390
470
|
hook.call(context)
|
|
391
471
|
return originalRender(h, context)
|
|
392
472
|
}
|
|
393
473
|
} else {
|
|
394
474
|
// inject component registration as beforeCreate hook
|
|
395
475
|
var existing = options.beforeCreate
|
|
396
|
-
options.beforeCreate = existing
|
|
397
|
-
? [].concat(existing, hook)
|
|
398
|
-
: [hook]
|
|
476
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
399
477
|
}
|
|
400
478
|
}
|
|
401
479
|
|
package/dock/docksub.umd.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["docksub"]=t():e["docksub"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(o){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(o.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var o;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=o[1]));var i=function(){var e=this,t=e
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["docksub"]=t():e["docksub"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(o){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(o.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},fb15:function(e,t,n){"use strict";var o;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=o[1]));var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"p-dock-list-container"},[t("ul",{ref:"list",staticClass:"p-dock-list",attrs:{role:"menu"},on:{mouseleave:e.onListMouseLeave}},e._l(e.model,(function(n,o){return t("li",{key:o,class:e.itemClass(o),attrs:{role:"none"},on:{mouseenter:function(t){return e.onItemMouseEnter(o)}}},[e.templates["item"]?t("DockSubTemplate",{attrs:{item:n,template:e.templates["item"]}}):[n.to&&!e.disabled(n)?t("router-link",{attrs:{to:n.to,custom:""},scopedSlots:e._u([{key:"default",fn:function(o){var i=o.navigate,r=o.href,l=o.isActive,a=o.isExactActive;return[t("a",{directives:[{name:"tooltip",rawName:"v-tooltip:[tooltipOptions]",value:{value:n.label,disabled:!e.tooltipOptions},expression:"{value: item.label, disabled: !tooltipOptions}",arg:e.tooltipOptions}],class:e.linkClass(n,{isActive:l,isExactActive:a}),attrs:{href:r,role:"menuitem",target:n.target},on:{click:function(t){return e.onItemClick(t,n,i)}}},["string"===typeof n.icon?[t("span",{directives:[{name:"ripple",rawName:"v-ripple"}],class:["p-dock-action-icon",n.icon]})]:t("DockSubIconTemplate",{attrs:{icon:n.icon}})],2)]}}],null,!0)}):t("a",{directives:[{name:"tooltip",rawName:"v-tooltip:[tooltipOptions]",value:{value:n.label,disabled:!e.tooltipOptions},expression:"{value: item.label, disabled: !tooltipOptions}",arg:e.tooltipOptions}],class:e.linkClass(n),attrs:{href:n.url,role:"menuitem",target:n.target,tabindex:e.disabled(n)?null:"0"},on:{click:function(t){return e.onItemClick(t,n)}}},["string"===typeof n.icon?[t("span",{directives:[{name:"ripple",rawName:"v-ripple"}],class:["p-dock-action-icon",n.icon]})]:t("DockSubIconTemplate",{attrs:{icon:n.icon}})],2)]],2)})),0)])},r=[],l={functional:!0,props:{icon:{type:null,default:null}},render:function(e,t){return[t.props["icon"]()]}},a={functional:!0,props:{item:{type:null,default:null},template:{type:null,default:null}},render:function(e,t){var n=t.props.template({item:t.props.item});return[n]}},s={name:"DockSub",props:{model:{type:Array,default:null},templates:{type:null,default:null},tooltipOptions:null,exact:{type:Boolean,default:!0}},data:function(){return{currentIndex:-3}},methods:{onListMouseLeave:function(){this.currentIndex=-3},onItemMouseEnter:function(e){this.currentIndex=e},onItemClick:function(e,t){this.disabled(t)||(t.command&&t.command({originalEvent:e,item:t}),e.preventDefault())},itemClass:function(e){return["p-dock-item",{"p-dock-item-second-prev":this.currentIndex-2===e,"p-dock-item-prev":this.currentIndex-1===e,"p-dock-item-current":this.currentIndex===e,"p-dock-item-next":this.currentIndex+1===e,"p-dock-item-second-next":this.currentIndex+2===e}]},linkClass:function(e,t){return["p-dock-action",{"p-disabled":this.disabled(e),"router-link-active":t&&t.isActive,"router-link-active-exact":this.exact&&t&&t.isExactActive}]},disabled:function(e){return"function"===typeof e.disabled?e.disabled():e.disabled}},components:{DockSubIconTemplate:l,DockSubTemplate:a}},c=s;function u(e,t,n,o,i,r,l,a){var s,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),l?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(l)},c._ssrRegister=s):i&&(s=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(c.functional){c._injectStyles=s;var u=c.render;c.render=function(e,t){return s.call(t),u(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:c}}var p=u(c,i,r,!1,null,null,null),d=p.exports;t["default"]=d}})["default"]}));
|