primevue 2.10.0 → 2.10.2
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/README.md +150 -3
- package/accordion/accordion.common.js +2 -7
- package/accordion/accordion.umd.js +2 -7
- package/accordiontab/accordiontab.common.js +1203 -104
- package/accordiontab/accordiontab.umd.js +1203 -104
- 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 +3 -56
- package/api/PrimeIcons.js +24 -2
- package/api/api.common.js +78 -133
- package/api/api.umd.js +78 -133
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +54 -131
- package/api/filterservice.umd.js +54 -131
- package/api/filterservice.umd.min.js +1 -1
- 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 +84 -246
- package/autocomplete/autocomplete.umd.js +84 -246
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +2 -4
- package/avatar/avatar.umd.js +2 -4
- package/avatargroup/avatargroup.common.js +2 -4
- package/avatargroup/avatargroup.umd.js +2 -4
- package/badge/badge.common.js +2 -4
- package/badge/badge.umd.js +2 -4
- package/badgedirective/BadgeDirective.js +0 -13
- package/badgedirective/badgedirective.common.js +1183 -89
- package/badgedirective/badgedirective.umd.js +1183 -89
- package/badgedirective/badgedirective.umd.min.js +1 -1
- package/blockui/blockui.common.js +1180 -86
- package/blockui/blockui.umd.js +1180 -86
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +7 -12
- package/breadcrumb/breadcrumb.umd.js +7 -12
- package/breadcrumb/breadcrumbitem.common.js +5 -8
- package/breadcrumb/breadcrumbitem.umd.js +5 -8
- package/button/button.common.js +1211 -125
- package/button/button.umd.js +1211 -125
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +9 -7
- package/calendar/calendar.common.js +224 -613
- package/calendar/calendar.umd.js +224 -613
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +2 -4
- package/card/card.umd.js +2 -4
- package/carousel/carousel.common.js +1190 -146
- package/carousel/carousel.umd.js +1190 -146
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/cascadeselect.common.js +136 -286
- package/cascadeselect/cascadeselect.umd.js +136 -286
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +69 -185
- package/cascadeselect/cascadeselectsub.umd.js +69 -185
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +4 -3
- package/chart/chart.common.js +2 -9
- package/chart/chart.umd.js +2 -9
- package/checkbox/checkbox.common.js +58 -116
- package/checkbox/checkbox.umd.js +58 -116
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +2 -4
- package/chip/chip.umd.js +2 -4
- package/chips/chips.common.js +12 -59
- package/chips/chips.umd.js +12 -59
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +1197 -140
- package/colorpicker/colorpicker.umd.js +1197 -140
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +2 -4
- package/columngroup/columngroup.umd.js +2 -4
- package/config/PrimeVue.js +4 -6
- package/config/primevue.common.js +124 -155
- package/config/primevue.umd.js +124 -155
- 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 +1252 -186
- package/confirmdialog/confirmdialog.umd.js +1252 -186
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +1212 -152
- package/confirmpopup/confirmpopup.umd.js +1212 -152
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +1209 -140
- package/contextmenu/contextmenu.umd.js +1209 -140
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +1187 -107
- package/contextmenu/contextmenusub.umd.js +1187 -107
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/datatable/TableBody.vue +1 -0
- package/datatable/bodycell.common.js +87 -215
- package/datatable/bodycell.umd.js +87 -215
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +97 -299
- package/datatable/columnfilter.umd.js +97 -299
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/datatable.common.js +258 -950
- package/datatable/datatable.umd.js +258 -950
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +3 -5
- package/datatable/footercell.common.js +83 -170
- package/datatable/footercell.umd.js +83 -170
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +101 -318
- package/datatable/headercell.umd.js +101 -318
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +2 -4
- package/datatable/headercheckbox.umd.js +2 -4
- package/datatable/rowcheckbox.common.js +2 -4
- package/datatable/rowcheckbox.umd.js +2 -4
- package/datatable/rowradiobutton.common.js +2 -4
- package/datatable/rowradiobutton.umd.js +2 -4
- package/datatable/tablebody.common.js +91 -243
- package/datatable/tablebody.umd.js +91 -243
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +88 -204
- package/datatable/tablefooter.umd.js +88 -204
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +104 -342
- package/datatable/tableheader.umd.js +104 -342
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +2 -4
- package/datatable/tableloadingbody.umd.js +2 -4
- package/dataview/dataview.common.js +172 -464
- package/dataview/dataview.umd.js +172 -464
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +2 -4
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +2 -4
- package/deferredcontent/deferredcontent.common.js +2 -7
- package/deferredcontent/deferredcontent.umd.js +2 -7
- package/dialog/dialog.common.js +1191 -115
- package/dialog/dialog.umd.js +1191 -115
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +2 -4
- package/divider/divider.umd.js +2 -4
- package/dock/dock.common.js +7 -14
- package/dock/dock.umd.js +7 -14
- package/dock/docksub.common.js +5 -9
- package/dock/docksub.umd.js +5 -9
- package/dropdown/dropdown.common.js +91 -240
- package/dropdown/dropdown.umd.js +91 -240
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +8 -21
- package/editor/editor.umd.js +8 -21
- package/fieldset/fieldset.common.js +1211 -125
- package/fieldset/fieldset.umd.js +1211 -125
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/fileupload.common.js +86 -192
- package/fileupload/fileupload.umd.js +86 -192
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +1304 -36
- package/fullcalendar/fullcalendar.umd.js +1304 -36
- package/fullcalendar/fullcalendar.umd.min.js +3 -3
- package/galleria/demo.html +3 -3
- package/galleria/galleria.common.js +86 -200
- package/galleria/galleria.umd.js +86 -200
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +84 -190
- package/galleria/galleriacontent.umd.js +84 -190
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +1212 -134
- package/galleria/galleriaitem.umd.js +1212 -134
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +4 -10
- package/galleria/galleriaitemslot.umd.js +4 -10
- package/galleria/galleriathumbnails.common.js +76 -174
- package/galleria/galleriathumbnails.umd.js +76 -174
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +1176 -79
- package/imagepreview/imagepreview.umd.js +1176 -79
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +2 -5
- package/inlinemessage/inlinemessage.umd.js +2 -5
- package/inplace/inplace.common.js +1189 -105
- package/inplace/inplace.umd.js +1189 -105
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +1237 -217
- package/inputmask/inputmask.umd.js +1237 -217
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +2 -2
- package/inputnumber/inputnumber.common.js +136 -286
- package/inputnumber/inputnumber.umd.js +136 -286
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +2 -5
- package/inputswitch/inputswitch.umd.js +2 -5
- package/inputtext/inputtext.common.js +1177 -31
- package/inputtext/inputtext.umd.js +1177 -31
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +4 -5
- package/knob/knob.umd.js +4 -5
- package/listbox/listbox.common.js +76 -213
- package/listbox/listbox.umd.js +76 -213
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/megamenu.common.js +1186 -121
- package/megamenu/megamenu.umd.js +1186 -121
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +1203 -138
- package/menu/menu.umd.js +1203 -138
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +1214 -128
- package/menu/menuitem.umd.js +1214 -128
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/menubar.common.js +1204 -141
- package/menubar/menubar.umd.js +1204 -141
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +1202 -135
- package/menubar/menubarsub.umd.js +1202 -135
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +1187 -102
- package/message/message.umd.js +1187 -102
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.vue +1 -1
- package/multiselect/multiselect.common.js +139 -304
- package/multiselect/multiselect.umd.js +139 -304
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/orderlist.common.js +88 -230
- package/orderlist/orderlist.umd.js +88 -230
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +1200 -111
- package/organizationchart/organizationchart.umd.js +1200 -111
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +1186 -87
- package/organizationchart/organizationchartnode.umd.js +1186 -87
- 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.d.ts +3 -1
- package/overlaypanel/OverlayPanel.vue +2 -0
- package/overlaypanel/overlaypanel.common.js +1223 -158
- package/overlaypanel/overlaypanel.umd.js +1223 -158
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +2 -2
- package/paginator/currentpagereport.common.js +2 -4
- package/paginator/currentpagereport.umd.js +2 -4
- package/paginator/firstpagelink.common.js +1211 -125
- package/paginator/firstpagelink.umd.js +1211 -125
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +93 -246
- package/paginator/jumptopagedropdown.umd.js +93 -246
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +142 -294
- package/paginator/jumptopageinput.umd.js +142 -294
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +1211 -125
- package/paginator/lastpagelink.umd.js +1211 -125
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +1211 -125
- package/paginator/nextpagelink.umd.js +1211 -125
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +1211 -125
- package/paginator/pagelinks.umd.js +1211 -125
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +186 -472
- package/paginator/paginator.umd.js +186 -472
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +1211 -125
- package/paginator/prevpagelink.umd.js +1211 -125
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +93 -246
- package/paginator/rowsperpagedropdown.umd.js +93 -246
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +1211 -125
- package/panel/panel.umd.js +1211 -125
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +10 -22
- package/panelmenu/panelmenu.umd.js +10 -22
- package/panelmenu/panelmenusub.common.js +5 -11
- package/panelmenu/panelmenusub.umd.js +5 -11
- package/password/Password.vue +40 -12
- package/password/password.common.js +1306 -212
- package/password/password.umd.js +1306 -212
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +88 -262
- package/picklist/picklist.umd.js +88 -262
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +2 -4
- package/progressbar/progressbar.umd.js +2 -4
- package/progressspinner/progressspinner.common.js +2 -5
- package/progressspinner/progressspinner.umd.js +2 -5
- package/radiobutton/radiobutton.common.js +53 -91
- package/radiobutton/radiobutton.umd.js +53 -91
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +2 -4
- package/rating/rating.umd.js +2 -4
- package/resources/primevue.css +0 -0
- package/resources/primevue.min.css +0 -0
- package/ripple/Ripple.js +0 -18
- package/ripple/ripple.common.js +1178 -90
- package/ripple/ripple.umd.js +1178 -90
- package/ripple/ripple.umd.min.js +1 -1
- package/row/row.common.js +2 -4
- package/row/row.umd.js +2 -4
- package/scrollpanel/scrollpanel.common.js +1190 -103
- package/scrollpanel/scrollpanel.umd.js +1190 -103
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +1183 -87
- package/scrolltop/scrolltop.umd.js +1183 -87
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +74 -200
- package/selectbutton/selectbutton.umd.js +74 -200
- 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 +1223 -145
- package/sidebar/sidebar.umd.js +1223 -145
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +2 -4
- package/skeleton/skeleton.umd.js +2 -4
- package/slider/Slider.vue +1 -1
- package/slider/slider.common.js +121 -188
- package/slider/slider.umd.js +121 -188
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.common.js +1269 -204
- package/speeddial/speeddial.umd.js +1269 -204
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +1209 -148
- package/splitbutton/splitbutton.umd.js +1209 -148
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +1182 -101
- package/splitter/splitter.umd.js +1182 -101
- package/splitter/splitter.umd.min.js +1 -1
- package/steps/steps.common.js +5 -9
- package/steps/steps.umd.js +5 -9
- package/styleclass/StyleClass.js +0 -43
- package/styleclass/styleclass.common.js +1199 -133
- package/styleclass/styleclass.umd.js +1199 -133
- package/styleclass/styleclass.umd.min.js +1 -1
- package/tabmenu/TabMenu.vue +1 -9
- package/tabmenu/tabmenu.common.js +1215 -206
- package/tabmenu/tabmenu.umd.js +1215 -206
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +2 -5
- package/tabpanel/tabpanel.umd.js +2 -5
- package/tabview/tabview.common.js +86 -185
- package/tabview/tabview.umd.js +86 -185
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +2 -4
- package/tag/tag.umd.js +2 -4
- package/terminal/terminal.common.js +2 -4
- package/terminal/terminal.umd.js +2 -4
- package/terminalservice/TerminalService.js +0 -3
- package/textarea/Textarea.vue +24 -1
- package/textarea/textarea.common.js +3233 -94
- package/textarea/textarea.umd.js +3233 -94
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/demo.html +4 -3
- package/tieredmenu/tieredmenu.common.js +1199 -149
- package/tieredmenu/tieredmenu.umd.js +1199 -149
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +1206 -136
- package/tieredmenu/tieredmenusub.umd.js +1206 -136
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +53 -90
- package/timeline/timeline.umd.js +53 -90
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +74 -146
- package/toast/toast.umd.js +74 -146
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +1187 -102
- package/toast/toastmessage.umd.js +1187 -102
- 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 +1211 -125
- package/togglebutton/togglebutton.umd.js +1211 -125
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +2 -4
- package/toolbar/toolbar.umd.js +2 -4
- package/tooltip/Tooltip.js +7 -87
- package/tooltip/tooltip.common.js +84 -201
- package/tooltip/tooltip.umd.js +84 -201
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/demo.html +3 -3
- package/tree/tree.common.js +100 -281
- package/tree/tree.umd.js +100 -281
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +1240 -183
- package/tree/treenode.umd.js +1240 -183
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/demo.html +3 -3
- package/treetable/footercell.common.js +83 -170
- package/treetable/footercell.umd.js +83 -170
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +83 -178
- package/treetable/headercell.umd.js +83 -178
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +220 -702
- package/treetable/treetable.umd.js +220 -702
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +91 -211
- package/treetable/treetablerow.umd.js +91 -211
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +94 -232
- package/treetable/treetablerowloader.umd.js +94 -232
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +2 -12
- package/tristatecheckbox/tristatecheckbox.umd.js +2 -12
- package/utils/ConnectedOverlayScrollHandler.js +4 -13
- package/utils/DomHandler.js +18 -63
- package/utils/EventBus.js +0 -3
- package/utils/ObjectUtils.js +15 -59
- package/utils/UniqueComponentId.js +0 -1
- package/utils/Utils.js +0 -6
- package/utils/connectedoverlayscrollhandler.common.js +1183 -88
- package/utils/connectedoverlayscrollhandler.umd.js +1183 -88
- package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
- package/utils/domhandler.common.js +1187 -85
- package/utils/domhandler.umd.js +1187 -85
- package/utils/domhandler.umd.min.js +1 -1
- package/utils/eventbus.common.js +0 -2
- package/utils/eventbus.umd.js +0 -2
- package/utils/objectutils.common.js +51 -86
- package/utils/objectutils.umd.js +51 -86
- package/utils/objectutils.umd.min.js +1 -1
- package/utils/utils.common.js +81 -170
- package/utils/utils.umd.js +81 -170
- package/utils/utils.umd.min.js +1 -1
- package/web-types.json +8 -1
package/tooltip/tooltip.umd.js
CHANGED
|
@@ -1444,6 +1444,14 @@ module.exports = __webpack_require__("8e60") ? function (object, key, value) {
|
|
|
1444
1444
|
};
|
|
1445
1445
|
|
|
1446
1446
|
|
|
1447
|
+
/***/ }),
|
|
1448
|
+
|
|
1449
|
+
/***/ "366e":
|
|
1450
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1451
|
+
|
|
1452
|
+
module.exports = __webpack_require__("ccb9").f('toPrimitive');
|
|
1453
|
+
|
|
1454
|
+
|
|
1447
1455
|
/***/ }),
|
|
1448
1456
|
|
|
1449
1457
|
/***/ "36c3":
|
|
@@ -2137,13 +2145,6 @@ module.exports = function (exec, skipClosing) {
|
|
|
2137
2145
|
};
|
|
2138
2146
|
|
|
2139
2147
|
|
|
2140
|
-
/***/ }),
|
|
2141
|
-
|
|
2142
|
-
/***/ "5d58":
|
|
2143
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2144
|
-
|
|
2145
|
-
module.exports = __webpack_require__("d8d6");
|
|
2146
|
-
|
|
2147
2148
|
/***/ }),
|
|
2148
2149
|
|
|
2149
2150
|
/***/ "5dbc":
|
|
@@ -2413,13 +2414,6 @@ var meta = module.exports = {
|
|
|
2413
2414
|
};
|
|
2414
2415
|
|
|
2415
2416
|
|
|
2416
|
-
/***/ }),
|
|
2417
|
-
|
|
2418
|
-
/***/ "67bb":
|
|
2419
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2420
|
-
|
|
2421
|
-
module.exports = __webpack_require__("f921");
|
|
2422
|
-
|
|
2423
2417
|
/***/ }),
|
|
2424
2418
|
|
|
2425
2419
|
/***/ "6821":
|
|
@@ -2623,13 +2617,6 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
|
|
|
2623
2617
|
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
2624
2618
|
|
|
2625
2619
|
|
|
2626
|
-
/***/ }),
|
|
2627
|
-
|
|
2628
|
-
/***/ "774e":
|
|
2629
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2630
|
-
|
|
2631
|
-
module.exports = __webpack_require__("d2d5");
|
|
2632
|
-
|
|
2633
2620
|
/***/ }),
|
|
2634
2621
|
|
|
2635
2622
|
/***/ "77f1":
|
|
@@ -2823,13 +2810,6 @@ module.exports = function () { /* empty */ };
|
|
|
2823
2810
|
module.exports = {};
|
|
2824
2811
|
|
|
2825
2812
|
|
|
2826
|
-
/***/ }),
|
|
2827
|
-
|
|
2828
|
-
/***/ "85f2":
|
|
2829
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2830
|
-
|
|
2831
|
-
module.exports = __webpack_require__("454f");
|
|
2832
|
-
|
|
2833
2813
|
/***/ }),
|
|
2834
2814
|
|
|
2835
2815
|
/***/ "86cc":
|
|
@@ -3452,13 +3432,6 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
|
|
|
3452
3432
|
});
|
|
3453
3433
|
|
|
3454
3434
|
|
|
3455
|
-
/***/ }),
|
|
3456
|
-
|
|
3457
|
-
/***/ "a745":
|
|
3458
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3459
|
-
|
|
3460
|
-
module.exports = __webpack_require__("f410");
|
|
3461
|
-
|
|
3462
3435
|
/***/ }),
|
|
3463
3436
|
|
|
3464
3437
|
/***/ "aae3":
|
|
@@ -4302,8 +4275,8 @@ if (typeof window !== 'undefined') {
|
|
|
4302
4275
|
// Indicate to webpack that this file can be concatenated
|
|
4303
4276
|
/* harmony default export */ var setPublicPath = (null);
|
|
4304
4277
|
|
|
4305
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4306
|
-
var is_array = __webpack_require__("
|
|
4278
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/array/is-array.js
|
|
4279
|
+
var is_array = __webpack_require__("f410");
|
|
4307
4280
|
var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
4308
4281
|
|
|
4309
4282
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithHoles.js
|
|
@@ -4311,58 +4284,52 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
4311
4284
|
function _arrayWithHoles(arr) {
|
|
4312
4285
|
if (is_array_default()(arr)) return arr;
|
|
4313
4286
|
}
|
|
4314
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4315
|
-
var symbol = __webpack_require__("
|
|
4287
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/index.js
|
|
4288
|
+
var symbol = __webpack_require__("f921");
|
|
4316
4289
|
var symbol_default = /*#__PURE__*/__webpack_require__.n(symbol);
|
|
4317
4290
|
|
|
4318
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4319
|
-
var iterator = __webpack_require__("
|
|
4291
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/iterator.js
|
|
4292
|
+
var iterator = __webpack_require__("d8d6");
|
|
4320
4293
|
var iterator_default = /*#__PURE__*/__webpack_require__.n(iterator);
|
|
4321
4294
|
|
|
4322
4295
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/iterableToArrayLimit.js
|
|
4323
4296
|
|
|
4324
4297
|
|
|
4325
4298
|
function _iterableToArrayLimit(arr, i) {
|
|
4326
|
-
var _i =
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
try {
|
|
4336
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
4337
|
-
_arr.push(_s.value);
|
|
4338
|
-
|
|
4339
|
-
if (i && _arr.length === i) break;
|
|
4340
|
-
}
|
|
4341
|
-
} catch (err) {
|
|
4342
|
-
_d = true;
|
|
4343
|
-
_e = err;
|
|
4344
|
-
} finally {
|
|
4299
|
+
var _i = null == arr ? null : "undefined" != typeof symbol_default.a && arr[iterator_default.a] || arr["@@iterator"];
|
|
4300
|
+
if (null != _i) {
|
|
4301
|
+
var _s,
|
|
4302
|
+
_e,
|
|
4303
|
+
_x,
|
|
4304
|
+
_r,
|
|
4305
|
+
_arr = [],
|
|
4306
|
+
_n = !0,
|
|
4307
|
+
_d = !1;
|
|
4345
4308
|
try {
|
|
4346
|
-
if (
|
|
4309
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
4310
|
+
if (Object(_i) !== _i) return;
|
|
4311
|
+
_n = !1;
|
|
4312
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
4313
|
+
} catch (err) {
|
|
4314
|
+
_d = !0, _e = err;
|
|
4347
4315
|
} finally {
|
|
4348
|
-
|
|
4316
|
+
try {
|
|
4317
|
+
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
4318
|
+
} finally {
|
|
4319
|
+
if (_d) throw _e;
|
|
4320
|
+
}
|
|
4349
4321
|
}
|
|
4322
|
+
return _arr;
|
|
4350
4323
|
}
|
|
4351
|
-
|
|
4352
|
-
return _arr;
|
|
4353
4324
|
}
|
|
4354
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4355
|
-
var from = __webpack_require__("
|
|
4325
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/array/from.js
|
|
4326
|
+
var from = __webpack_require__("d2d5");
|
|
4356
4327
|
var from_default = /*#__PURE__*/__webpack_require__.n(from);
|
|
4357
4328
|
|
|
4358
4329
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4359
4330
|
function _arrayLikeToArray(arr, len) {
|
|
4360
4331
|
if (len == null || len > arr.length) len = arr.length;
|
|
4361
|
-
|
|
4362
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4363
|
-
arr2[i] = arr[i];
|
|
4364
|
-
}
|
|
4365
|
-
|
|
4332
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
4366
4333
|
return arr2;
|
|
4367
4334
|
}
|
|
4368
4335
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray.js
|
|
@@ -4455,10 +4422,34 @@ function _classCallCheck(instance, Constructor) {
|
|
|
4455
4422
|
throw new TypeError("Cannot call a class as a function");
|
|
4456
4423
|
}
|
|
4457
4424
|
}
|
|
4458
|
-
// EXTERNAL MODULE: ./node_modules
|
|
4459
|
-
var define_property = __webpack_require__("
|
|
4425
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/object/define-property.js
|
|
4426
|
+
var define_property = __webpack_require__("454f");
|
|
4460
4427
|
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
4461
4428
|
|
|
4429
|
+
// EXTERNAL MODULE: ./node_modules/core-js/library/fn/symbol/to-primitive.js
|
|
4430
|
+
var to_primitive = __webpack_require__("366e");
|
|
4431
|
+
var to_primitive_default = /*#__PURE__*/__webpack_require__.n(to_primitive);
|
|
4432
|
+
|
|
4433
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toPrimitive.js
|
|
4434
|
+
|
|
4435
|
+
|
|
4436
|
+
function _toPrimitive(input, hint) {
|
|
4437
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
4438
|
+
var prim = input[to_primitive_default.a];
|
|
4439
|
+
if (prim !== undefined) {
|
|
4440
|
+
var res = prim.call(input, hint || "default");
|
|
4441
|
+
if (_typeof(res) !== "object") return res;
|
|
4442
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
4443
|
+
}
|
|
4444
|
+
return (hint === "string" ? String : Number)(input);
|
|
4445
|
+
}
|
|
4446
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/toPropertyKey.js
|
|
4447
|
+
|
|
4448
|
+
|
|
4449
|
+
function _toPropertyKey(arg) {
|
|
4450
|
+
var key = _toPrimitive(arg, "string");
|
|
4451
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
4452
|
+
}
|
|
4462
4453
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4463
4454
|
|
|
4464
4455
|
|
|
@@ -4468,19 +4459,15 @@ function _defineProperties(target, props) {
|
|
|
4468
4459
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4469
4460
|
descriptor.configurable = true;
|
|
4470
4461
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4471
|
-
|
|
4472
|
-
define_property_default()(target, descriptor.key, descriptor);
|
|
4462
|
+
define_property_default()(target, _toPropertyKey(descriptor.key), descriptor);
|
|
4473
4463
|
}
|
|
4474
4464
|
}
|
|
4475
|
-
|
|
4476
4465
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4477
4466
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4478
4467
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4479
|
-
|
|
4480
4468
|
define_property_default()(Constructor, "prototype", {
|
|
4481
4469
|
writable: false
|
|
4482
4470
|
});
|
|
4483
|
-
|
|
4484
4471
|
return Constructor;
|
|
4485
4472
|
}
|
|
4486
4473
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -4496,18 +4483,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4496
4483
|
|
|
4497
4484
|
|
|
4498
4485
|
|
|
4499
|
-
|
|
4500
4486
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = DomHandler_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; } } }; }
|
|
4501
|
-
|
|
4502
4487
|
function DomHandler_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return DomHandler_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 DomHandler_arrayLikeToArray(o, minLen); }
|
|
4503
|
-
|
|
4504
|
-
function DomHandler_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; }
|
|
4505
|
-
|
|
4488
|
+
function DomHandler_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; }
|
|
4506
4489
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4507
4490
|
function DomHandler() {
|
|
4508
4491
|
_classCallCheck(this, DomHandler);
|
|
4509
4492
|
}
|
|
4510
|
-
|
|
4511
4493
|
_createClass(DomHandler, null, [{
|
|
4512
4494
|
key: "innerWidth",
|
|
4513
4495
|
value: function innerWidth(el) {
|
|
@@ -4541,12 +4523,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4541
4523
|
value: function getOuterWidth(el, margin) {
|
|
4542
4524
|
if (el) {
|
|
4543
4525
|
var width = el.offsetWidth;
|
|
4544
|
-
|
|
4545
4526
|
if (margin) {
|
|
4546
4527
|
var style = getComputedStyle(el);
|
|
4547
4528
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4548
4529
|
}
|
|
4549
|
-
|
|
4550
4530
|
return width;
|
|
4551
4531
|
} else {
|
|
4552
4532
|
return 0;
|
|
@@ -4557,12 +4537,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4557
4537
|
value: function getOuterHeight(el, margin) {
|
|
4558
4538
|
if (el) {
|
|
4559
4539
|
var height = el.offsetHeight;
|
|
4560
|
-
|
|
4561
4540
|
if (margin) {
|
|
4562
4541
|
var style = getComputedStyle(el);
|
|
4563
4542
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4564
4543
|
}
|
|
4565
|
-
|
|
4566
4544
|
return height;
|
|
4567
4545
|
} else {
|
|
4568
4546
|
return 0;
|
|
@@ -4573,12 +4551,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4573
4551
|
value: function getClientHeight(el, margin) {
|
|
4574
4552
|
if (el) {
|
|
4575
4553
|
var height = el.clientHeight;
|
|
4576
|
-
|
|
4577
4554
|
if (margin) {
|
|
4578
4555
|
var style = getComputedStyle(el);
|
|
4579
4556
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4580
4557
|
}
|
|
4581
|
-
|
|
4582
4558
|
return height;
|
|
4583
4559
|
} else {
|
|
4584
4560
|
return 0;
|
|
@@ -4588,11 +4564,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4588
4564
|
key: "getViewport",
|
|
4589
4565
|
value: function getViewport() {
|
|
4590
4566
|
var win = window,
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4567
|
+
d = document,
|
|
4568
|
+
e = d.documentElement,
|
|
4569
|
+
g = d.getElementsByTagName('body')[0],
|
|
4570
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4571
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4596
4572
|
return {
|
|
4597
4573
|
width: w,
|
|
4598
4574
|
height: h
|
|
@@ -4623,12 +4599,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4623
4599
|
value: function index(element) {
|
|
4624
4600
|
var children = element.parentNode.childNodes;
|
|
4625
4601
|
var num = 0;
|
|
4626
|
-
|
|
4627
4602
|
for (var i = 0; i < children.length; i++) {
|
|
4628
4603
|
if (children[i] === element) return num;
|
|
4629
4604
|
if (children[i].nodeType === 1) num++;
|
|
4630
4605
|
}
|
|
4631
|
-
|
|
4632
4606
|
return -1;
|
|
4633
4607
|
}
|
|
4634
4608
|
}, {
|
|
@@ -4636,13 +4610,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4636
4610
|
value: function addMultipleClasses(element, className) {
|
|
4637
4611
|
if (element.classList) {
|
|
4638
4612
|
var styles = className.split(' ');
|
|
4639
|
-
|
|
4640
4613
|
for (var i = 0; i < styles.length; i++) {
|
|
4641
4614
|
element.classList.add(styles[i]);
|
|
4642
4615
|
}
|
|
4643
4616
|
} else {
|
|
4644
4617
|
var _styles = className.split(' ');
|
|
4645
|
-
|
|
4646
4618
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4647
4619
|
element.className += ' ' + _styles[_i];
|
|
4648
4620
|
}
|
|
@@ -4664,7 +4636,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4664
4636
|
if (element) {
|
|
4665
4637
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4666
4638
|
}
|
|
4667
|
-
|
|
4668
4639
|
return false;
|
|
4669
4640
|
}
|
|
4670
4641
|
}, {
|
|
@@ -4709,11 +4680,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4709
4680
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4710
4681
|
var viewport = this.getViewport();
|
|
4711
4682
|
var top, left;
|
|
4712
|
-
|
|
4713
4683
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4714
4684
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4715
4685
|
element.style.transformOrigin = 'bottom';
|
|
4716
|
-
|
|
4717
4686
|
if (top < 0) {
|
|
4718
4687
|
top = windowScrollTop;
|
|
4719
4688
|
}
|
|
@@ -4721,7 +4690,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4721
4690
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4722
4691
|
element.style.transformOrigin = 'top';
|
|
4723
4692
|
}
|
|
4724
|
-
|
|
4725
4693
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4726
4694
|
element.style.top = top + 'px';
|
|
4727
4695
|
element.style.left = left + 'px';
|
|
@@ -4737,11 +4705,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4737
4705
|
var targetOffset = target.getBoundingClientRect();
|
|
4738
4706
|
var viewport = this.getViewport();
|
|
4739
4707
|
var top, left;
|
|
4740
|
-
|
|
4741
4708
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4742
4709
|
top = -1 * elementDimensions.height;
|
|
4743
4710
|
element.style.transformOrigin = 'bottom';
|
|
4744
|
-
|
|
4745
4711
|
if (targetOffset.top + top < 0) {
|
|
4746
4712
|
top = -1 * targetOffset.top;
|
|
4747
4713
|
}
|
|
@@ -4749,7 +4715,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4749
4715
|
top = targetHeight;
|
|
4750
4716
|
element.style.transformOrigin = 'top';
|
|
4751
4717
|
}
|
|
4752
|
-
|
|
4753
4718
|
if (elementDimensions.width > viewport.width) {
|
|
4754
4719
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4755
4720
|
left = targetOffset.left * -1;
|
|
@@ -4760,7 +4725,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4760
4725
|
// element fits on screen (align with target)
|
|
4761
4726
|
left = 0;
|
|
4762
4727
|
}
|
|
4763
|
-
|
|
4764
4728
|
element.style.top = top + 'px';
|
|
4765
4729
|
element.style.left = left + 'px';
|
|
4766
4730
|
}
|
|
@@ -4774,35 +4738,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4774
4738
|
key: "getScrollableParents",
|
|
4775
4739
|
value: function getScrollableParents(element) {
|
|
4776
4740
|
var scrollableParents = [];
|
|
4777
|
-
|
|
4778
4741
|
if (element) {
|
|
4779
4742
|
var parents = this.getParents(element);
|
|
4780
4743
|
var overflowRegex = /(auto|scroll)/;
|
|
4781
|
-
|
|
4782
4744
|
var overflowCheck = function overflowCheck(node) {
|
|
4783
4745
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4784
4746
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4785
4747
|
};
|
|
4786
|
-
|
|
4787
4748
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4788
|
-
|
|
4789
|
-
|
|
4749
|
+
_step;
|
|
4790
4750
|
try {
|
|
4791
4751
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4792
4752
|
var parent = _step.value;
|
|
4793
4753
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4794
|
-
|
|
4795
4754
|
if (scrollSelectors) {
|
|
4796
4755
|
var selectors = scrollSelectors.split(',');
|
|
4797
|
-
|
|
4798
4756
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
4799
|
-
|
|
4800
|
-
|
|
4757
|
+
_step2;
|
|
4801
4758
|
try {
|
|
4802
4759
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4803
4760
|
var selector = _step2.value;
|
|
4804
4761
|
var el = this.findSingle(parent, selector);
|
|
4805
|
-
|
|
4806
4762
|
if (el && overflowCheck(el)) {
|
|
4807
4763
|
scrollableParents.push(el);
|
|
4808
4764
|
}
|
|
@@ -4820,7 +4776,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4820
4776
|
_iterator.f();
|
|
4821
4777
|
}
|
|
4822
4778
|
}
|
|
4823
|
-
|
|
4824
4779
|
return scrollableParents;
|
|
4825
4780
|
}
|
|
4826
4781
|
}, {
|
|
@@ -4861,34 +4816,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4861
4816
|
element.style.opacity = 0;
|
|
4862
4817
|
var last = +new Date();
|
|
4863
4818
|
var opacity = 0;
|
|
4864
|
-
|
|
4865
4819
|
var tick = function tick() {
|
|
4866
4820
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
4867
4821
|
element.style.opacity = opacity;
|
|
4868
4822
|
last = +new Date();
|
|
4869
|
-
|
|
4870
4823
|
if (+opacity < 1) {
|
|
4871
4824
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
4872
4825
|
}
|
|
4873
4826
|
};
|
|
4874
|
-
|
|
4875
4827
|
tick();
|
|
4876
4828
|
}
|
|
4877
4829
|
}, {
|
|
4878
4830
|
key: "fadeOut",
|
|
4879
4831
|
value: function fadeOut(element, ms) {
|
|
4880
4832
|
var opacity = 1,
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4833
|
+
interval = 50,
|
|
4834
|
+
duration = ms,
|
|
4835
|
+
gap = interval / duration;
|
|
4884
4836
|
var fading = setInterval(function () {
|
|
4885
4837
|
opacity -= gap;
|
|
4886
|
-
|
|
4887
4838
|
if (opacity <= 0) {
|
|
4888
4839
|
opacity = 0;
|
|
4889
4840
|
clearInterval(fading);
|
|
4890
4841
|
}
|
|
4891
|
-
|
|
4892
4842
|
element.style.opacity = opacity;
|
|
4893
4843
|
}, interval);
|
|
4894
4844
|
}
|
|
@@ -4915,7 +4865,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4915
4865
|
var scroll = container.scrollTop;
|
|
4916
4866
|
var elementHeight = container.clientHeight;
|
|
4917
4867
|
var itemHeight = this.getOuterHeight(item);
|
|
4918
|
-
|
|
4919
4868
|
if (offset < 0) {
|
|
4920
4869
|
container.scrollTop = scroll + offset;
|
|
4921
4870
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -4934,7 +4883,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4934
4883
|
} else if (document['selection'] && document['selection'].empty) {
|
|
4935
4884
|
try {
|
|
4936
4885
|
document['selection'].empty();
|
|
4937
|
-
} catch (error) {
|
|
4886
|
+
} catch (error) {
|
|
4887
|
+
//ignore IE bug
|
|
4938
4888
|
}
|
|
4939
4889
|
}
|
|
4940
4890
|
}
|
|
@@ -4956,19 +4906,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4956
4906
|
if (!this.browser) {
|
|
4957
4907
|
var matched = this.resolveUserAgent();
|
|
4958
4908
|
this.browser = {};
|
|
4959
|
-
|
|
4960
4909
|
if (matched.browser) {
|
|
4961
4910
|
this.browser[matched.browser] = true;
|
|
4962
4911
|
this.browser['version'] = matched.version;
|
|
4963
4912
|
}
|
|
4964
|
-
|
|
4965
4913
|
if (this.browser['chrome']) {
|
|
4966
4914
|
this.browser['webkit'] = true;
|
|
4967
4915
|
} else if (this.browser['webkit']) {
|
|
4968
4916
|
this.browser['safari'] = true;
|
|
4969
4917
|
}
|
|
4970
4918
|
}
|
|
4971
|
-
|
|
4972
4919
|
return this.browser;
|
|
4973
4920
|
}
|
|
4974
4921
|
}, {
|
|
@@ -4996,10 +4943,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4996
4943
|
value: function getFocusableElements(element) {
|
|
4997
4944
|
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])");
|
|
4998
4945
|
var visibleFocusableElements = [];
|
|
4999
|
-
|
|
5000
4946
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5001
|
-
|
|
5002
|
-
|
|
4947
|
+
_step3;
|
|
5003
4948
|
try {
|
|
5004
4949
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5005
4950
|
var focusableElement = _step3.value;
|
|
@@ -5010,7 +4955,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5010
4955
|
} finally {
|
|
5011
4956
|
_iterator3.f();
|
|
5012
4957
|
}
|
|
5013
|
-
|
|
5014
4958
|
return visibleFocusableElements;
|
|
5015
4959
|
}
|
|
5016
4960
|
}, {
|
|
@@ -5053,31 +4997,24 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5053
4997
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5054
4998
|
}
|
|
5055
4999
|
}]);
|
|
5056
|
-
|
|
5057
5000
|
return DomHandler;
|
|
5058
5001
|
}();
|
|
5059
5002
|
|
|
5060
|
-
|
|
5061
5003
|
// CONCATENATED MODULE: ./src/components/utils/ConnectedOverlayScrollHandler.js
|
|
5062
5004
|
|
|
5063
5005
|
|
|
5064
5006
|
|
|
5065
|
-
|
|
5066
5007
|
var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
|
|
5067
5008
|
function ConnectedOverlayScrollHandler(element) {
|
|
5068
5009
|
var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
5069
|
-
|
|
5070
5010
|
_classCallCheck(this, ConnectedOverlayScrollHandler);
|
|
5071
|
-
|
|
5072
5011
|
this.element = element;
|
|
5073
5012
|
this.listener = listener;
|
|
5074
5013
|
}
|
|
5075
|
-
|
|
5076
5014
|
_createClass(ConnectedOverlayScrollHandler, [{
|
|
5077
5015
|
key: "bindScrollListener",
|
|
5078
5016
|
value: function bindScrollListener() {
|
|
5079
5017
|
this.scrollableParents = DomHandler_DomHandler.getScrollableParents(this.element);
|
|
5080
|
-
|
|
5081
5018
|
for (var i = 0; i < this.scrollableParents.length; i++) {
|
|
5082
5019
|
this.scrollableParents[i].addEventListener('scroll', this.listener);
|
|
5083
5020
|
}
|
|
@@ -5100,11 +5037,9 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
5100
5037
|
this.scrollableParents = null;
|
|
5101
5038
|
}
|
|
5102
5039
|
}]);
|
|
5103
|
-
|
|
5104
5040
|
return ConnectedOverlayScrollHandler;
|
|
5105
5041
|
}();
|
|
5106
5042
|
|
|
5107
|
-
|
|
5108
5043
|
// CONCATENATED MODULE: ./src/components/tooltip/Tooltip.js
|
|
5109
5044
|
|
|
5110
5045
|
|
|
@@ -5115,10 +5050,8 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
5115
5050
|
|
|
5116
5051
|
|
|
5117
5052
|
|
|
5118
|
-
|
|
5119
5053
|
function bindEvents(el) {
|
|
5120
5054
|
var modifiers = el.$_ptooltipModifiers;
|
|
5121
|
-
|
|
5122
5055
|
if (modifiers.focus) {
|
|
5123
5056
|
el.addEventListener('focus', onFocus);
|
|
5124
5057
|
el.addEventListener('blur', onBlur);
|
|
@@ -5128,10 +5061,8 @@ function bindEvents(el) {
|
|
|
5128
5061
|
el.addEventListener('click', onClick);
|
|
5129
5062
|
}
|
|
5130
5063
|
}
|
|
5131
|
-
|
|
5132
5064
|
function unbindEvents(el) {
|
|
5133
5065
|
var modifiers = el.$_ptooltipModifiers;
|
|
5134
|
-
|
|
5135
5066
|
if (modifiers.focus) {
|
|
5136
5067
|
el.removeEventListener('focus', onFocus);
|
|
5137
5068
|
el.removeEventListener('blur', onBlur);
|
|
@@ -5141,48 +5072,38 @@ function unbindEvents(el) {
|
|
|
5141
5072
|
el.removeEventListener('click', onClick);
|
|
5142
5073
|
}
|
|
5143
5074
|
}
|
|
5144
|
-
|
|
5145
5075
|
function Tooltip_bindScrollListener(el) {
|
|
5146
5076
|
if (!el.$_ptooltipScrollHandler) {
|
|
5147
5077
|
el.$_ptooltipScrollHandler = new ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler(el, function () {
|
|
5148
5078
|
hide(el);
|
|
5149
5079
|
});
|
|
5150
5080
|
}
|
|
5151
|
-
|
|
5152
5081
|
el.$_ptooltipScrollHandler.bindScrollListener();
|
|
5153
5082
|
}
|
|
5154
|
-
|
|
5155
5083
|
function unbindScrollListener(el) {
|
|
5156
5084
|
if (el.$_ptooltipScrollHandler) {
|
|
5157
5085
|
el.$_ptooltipScrollHandler.unbindScrollListener();
|
|
5158
5086
|
}
|
|
5159
5087
|
}
|
|
5160
|
-
|
|
5161
5088
|
function onMouseEnter(event) {
|
|
5162
5089
|
show(event.currentTarget);
|
|
5163
5090
|
}
|
|
5164
|
-
|
|
5165
5091
|
function onMouseLeave(event) {
|
|
5166
5092
|
hide(event.currentTarget);
|
|
5167
5093
|
}
|
|
5168
|
-
|
|
5169
5094
|
function onFocus(event) {
|
|
5170
5095
|
show(event.currentTarget);
|
|
5171
5096
|
}
|
|
5172
|
-
|
|
5173
5097
|
function onBlur(event) {
|
|
5174
5098
|
hide(event.currentTarget);
|
|
5175
5099
|
}
|
|
5176
|
-
|
|
5177
5100
|
function onClick(event) {
|
|
5178
5101
|
hide(event.currentTarget);
|
|
5179
5102
|
}
|
|
5180
|
-
|
|
5181
5103
|
function show(el) {
|
|
5182
5104
|
if (el.$_ptooltipDisabled) {
|
|
5183
5105
|
return;
|
|
5184
5106
|
}
|
|
5185
|
-
|
|
5186
5107
|
var tooltipElement = create(el);
|
|
5187
5108
|
align(el);
|
|
5188
5109
|
DomHandler_DomHandler.fadeIn(tooltipElement, 250);
|
|
@@ -5191,21 +5112,17 @@ function show(el) {
|
|
|
5191
5112
|
if (!DomHandler_DomHandler.isAndroid()) {
|
|
5192
5113
|
hide(el);
|
|
5193
5114
|
}
|
|
5194
|
-
|
|
5195
5115
|
this.removeEventListener('resize', onWindowResize);
|
|
5196
5116
|
});
|
|
5197
5117
|
Tooltip_bindScrollListener(el);
|
|
5198
5118
|
}
|
|
5199
|
-
|
|
5200
5119
|
function hide(el) {
|
|
5201
5120
|
remove(el);
|
|
5202
5121
|
unbindScrollListener(el);
|
|
5203
5122
|
}
|
|
5204
|
-
|
|
5205
5123
|
function getTooltipElement(el) {
|
|
5206
5124
|
return document.getElementById(el.$_ptooltipId);
|
|
5207
5125
|
}
|
|
5208
|
-
|
|
5209
5126
|
function create(el) {
|
|
5210
5127
|
var id = UniqueComponentId() + '_tooltip';
|
|
5211
5128
|
el.$_ptooltipId = id;
|
|
@@ -5216,57 +5133,44 @@ function create(el) {
|
|
|
5216
5133
|
container.appendChild(tooltipArrow);
|
|
5217
5134
|
var tooltipText = document.createElement('div');
|
|
5218
5135
|
tooltipText.className = 'p-tooltip-text';
|
|
5219
|
-
|
|
5220
5136
|
if (el.$_ptooltipEscape) {
|
|
5221
5137
|
tooltipText.innerHTML = el.$_ptooltipValue;
|
|
5222
5138
|
} else {
|
|
5223
5139
|
tooltipText.innerHTML = '';
|
|
5224
5140
|
tooltipText.appendChild(document.createTextNode(el.$_ptooltipValue));
|
|
5225
5141
|
}
|
|
5226
|
-
|
|
5227
5142
|
container.appendChild(tooltipText);
|
|
5228
5143
|
document.body.appendChild(container);
|
|
5229
5144
|
container.style.display = 'inline-block';
|
|
5230
5145
|
return container;
|
|
5231
5146
|
}
|
|
5232
|
-
|
|
5233
5147
|
function remove(el) {
|
|
5234
5148
|
if (el) {
|
|
5235
5149
|
var tooltipElement = getTooltipElement(el);
|
|
5236
|
-
|
|
5237
5150
|
if (tooltipElement && tooltipElement.parentElement) {
|
|
5238
5151
|
document.body.removeChild(tooltipElement);
|
|
5239
5152
|
}
|
|
5240
|
-
|
|
5241
5153
|
el.$_ptooltipId = null;
|
|
5242
5154
|
}
|
|
5243
5155
|
}
|
|
5244
|
-
|
|
5245
5156
|
function align(el) {
|
|
5246
5157
|
var modifiers = el.$_ptooltipModifiers;
|
|
5247
|
-
|
|
5248
5158
|
if (modifiers.top) {
|
|
5249
5159
|
alignTop(el);
|
|
5250
|
-
|
|
5251
5160
|
if (isOutOfBounds(el)) {
|
|
5252
5161
|
alignBottom(el);
|
|
5253
|
-
|
|
5254
5162
|
if (isOutOfBounds(el)) {
|
|
5255
5163
|
alignTop(el);
|
|
5256
5164
|
}
|
|
5257
5165
|
}
|
|
5258
5166
|
} else if (modifiers.left) {
|
|
5259
5167
|
alignLeft(el);
|
|
5260
|
-
|
|
5261
5168
|
if (isOutOfBounds(el)) {
|
|
5262
5169
|
alignRight(el);
|
|
5263
|
-
|
|
5264
5170
|
if (isOutOfBounds(el)) {
|
|
5265
5171
|
alignTop(el);
|
|
5266
|
-
|
|
5267
5172
|
if (isOutOfBounds(el)) {
|
|
5268
5173
|
alignBottom(el);
|
|
5269
|
-
|
|
5270
5174
|
if (isOutOfBounds(el)) {
|
|
5271
5175
|
alignLeft(el);
|
|
5272
5176
|
}
|
|
@@ -5275,26 +5179,20 @@ function align(el) {
|
|
|
5275
5179
|
}
|
|
5276
5180
|
} else if (modifiers.bottom) {
|
|
5277
5181
|
alignBottom(el);
|
|
5278
|
-
|
|
5279
5182
|
if (isOutOfBounds(el)) {
|
|
5280
5183
|
alignTop(el);
|
|
5281
|
-
|
|
5282
5184
|
if (isOutOfBounds(el)) {
|
|
5283
5185
|
alignBottom(el);
|
|
5284
5186
|
}
|
|
5285
5187
|
}
|
|
5286
5188
|
} else {
|
|
5287
5189
|
alignRight(el);
|
|
5288
|
-
|
|
5289
5190
|
if (isOutOfBounds(el)) {
|
|
5290
5191
|
alignLeft(el);
|
|
5291
|
-
|
|
5292
5192
|
if (isOutOfBounds(el)) {
|
|
5293
5193
|
alignTop(el);
|
|
5294
|
-
|
|
5295
5194
|
if (isOutOfBounds(el)) {
|
|
5296
5195
|
alignBottom(el);
|
|
5297
|
-
|
|
5298
5196
|
if (isOutOfBounds(el)) {
|
|
5299
5197
|
alignRight(el);
|
|
5300
5198
|
}
|
|
@@ -5303,7 +5201,6 @@ function align(el) {
|
|
|
5303
5201
|
}
|
|
5304
5202
|
}
|
|
5305
5203
|
}
|
|
5306
|
-
|
|
5307
5204
|
function getHostOffset(el) {
|
|
5308
5205
|
var offset = el.getBoundingClientRect();
|
|
5309
5206
|
var targetLeft = offset.left + DomHandler_DomHandler.getWindowScrollLeft();
|
|
@@ -5313,7 +5210,6 @@ function getHostOffset(el) {
|
|
|
5313
5210
|
top: targetTop
|
|
5314
5211
|
};
|
|
5315
5212
|
}
|
|
5316
|
-
|
|
5317
5213
|
function alignRight(el) {
|
|
5318
5214
|
preAlign(el, 'right');
|
|
5319
5215
|
var tooltipElement = getTooltipElement(el);
|
|
@@ -5323,7 +5219,6 @@ function alignRight(el) {
|
|
|
5323
5219
|
tooltipElement.style.left = left + 'px';
|
|
5324
5220
|
tooltipElement.style.top = top + 'px';
|
|
5325
5221
|
}
|
|
5326
|
-
|
|
5327
5222
|
function alignLeft(el) {
|
|
5328
5223
|
preAlign(el, 'left');
|
|
5329
5224
|
var tooltipElement = getTooltipElement(el);
|
|
@@ -5333,7 +5228,6 @@ function alignLeft(el) {
|
|
|
5333
5228
|
tooltipElement.style.left = left + 'px';
|
|
5334
5229
|
tooltipElement.style.top = top + 'px';
|
|
5335
5230
|
}
|
|
5336
|
-
|
|
5337
5231
|
function alignTop(el) {
|
|
5338
5232
|
preAlign(el, 'top');
|
|
5339
5233
|
var tooltipElement = getTooltipElement(el);
|
|
@@ -5343,7 +5237,6 @@ function alignTop(el) {
|
|
|
5343
5237
|
tooltipElement.style.left = left + 'px';
|
|
5344
5238
|
tooltipElement.style.top = top + 'px';
|
|
5345
5239
|
}
|
|
5346
|
-
|
|
5347
5240
|
function alignBottom(el) {
|
|
5348
5241
|
preAlign(el, 'bottom');
|
|
5349
5242
|
var tooltipElement = getTooltipElement(el);
|
|
@@ -5353,14 +5246,12 @@ function alignBottom(el) {
|
|
|
5353
5246
|
tooltipElement.style.left = left + 'px';
|
|
5354
5247
|
tooltipElement.style.top = top + 'px';
|
|
5355
5248
|
}
|
|
5356
|
-
|
|
5357
5249
|
function preAlign(el, position) {
|
|
5358
5250
|
var tooltipElement = getTooltipElement(el);
|
|
5359
5251
|
tooltipElement.style.left = -999 + 'px';
|
|
5360
5252
|
tooltipElement.style.top = -999 + 'px';
|
|
5361
5253
|
tooltipElement.className = 'p-tooltip p-component p-tooltip-' + position;
|
|
5362
5254
|
}
|
|
5363
|
-
|
|
5364
5255
|
function isOutOfBounds(el) {
|
|
5365
5256
|
var tooltipElement = getTooltipElement(el);
|
|
5366
5257
|
var offset = tooltipElement.getBoundingClientRect();
|
|
@@ -5371,32 +5262,27 @@ function isOutOfBounds(el) {
|
|
|
5371
5262
|
var viewport = DomHandler_DomHandler.getViewport();
|
|
5372
5263
|
return targetLeft + width > viewport.width || targetLeft < 0 || targetTop < 0 || targetTop + height > viewport.height;
|
|
5373
5264
|
}
|
|
5374
|
-
|
|
5375
5265
|
function getModifiers(options) {
|
|
5376
5266
|
// modifiers
|
|
5377
5267
|
if (options.modifiers && Object.keys(options.modifiers).length) {
|
|
5378
5268
|
return options.modifiers;
|
|
5379
|
-
}
|
|
5380
|
-
|
|
5269
|
+
}
|
|
5381
5270
|
|
|
5271
|
+
// arg
|
|
5382
5272
|
if (options.arg && _typeof(options.arg) === 'object') {
|
|
5383
5273
|
return Object.entries(options.arg).reduce(function (acc, _ref) {
|
|
5384
5274
|
var _ref2 = _slicedToArray(_ref, 2),
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5275
|
+
key = _ref2[0],
|
|
5276
|
+
val = _ref2[1];
|
|
5388
5277
|
if (key === 'event' || key === 'position') acc[val] = true;
|
|
5389
5278
|
return acc;
|
|
5390
5279
|
}, {});
|
|
5391
5280
|
}
|
|
5392
|
-
|
|
5393
5281
|
return {};
|
|
5394
5282
|
}
|
|
5395
|
-
|
|
5396
5283
|
var Tooltip = {
|
|
5397
5284
|
bind: function bind(el, options) {
|
|
5398
5285
|
el.$_ptooltipModifiers = getModifiers(options);
|
|
5399
|
-
|
|
5400
5286
|
if (typeof options.value === 'string') {
|
|
5401
5287
|
el.$_ptooltipValue = options.value;
|
|
5402
5288
|
el.$_ptooltipDisabled = false;
|
|
@@ -5406,13 +5292,11 @@ var Tooltip = {
|
|
|
5406
5292
|
el.$_ptooltipDisabled = options.value.disabled || false;
|
|
5407
5293
|
el.$_ptooltipEscape = options.value.escape || false;
|
|
5408
5294
|
}
|
|
5409
|
-
|
|
5410
5295
|
bindEvents(el);
|
|
5411
5296
|
},
|
|
5412
5297
|
unbind: function unbind(el) {
|
|
5413
5298
|
remove(el);
|
|
5414
5299
|
unbindEvents(el);
|
|
5415
|
-
|
|
5416
5300
|
if (el.$_ptooltipScrollHandler) {
|
|
5417
5301
|
el.$_ptooltipScrollHandler.destroy();
|
|
5418
5302
|
el.$_ptooltipScrollHandler = null;
|
|
@@ -5420,7 +5304,6 @@ var Tooltip = {
|
|
|
5420
5304
|
},
|
|
5421
5305
|
update: function update(el, options) {
|
|
5422
5306
|
el.$_ptooltipModifiers = getModifiers(options);
|
|
5423
|
-
|
|
5424
5307
|
if (typeof options.value === 'string') {
|
|
5425
5308
|
el.$_ptooltipValue = options.value;
|
|
5426
5309
|
el.$_ptooltipDisabled = false;
|
|
@@ -5428,7 +5311,7 @@ var Tooltip = {
|
|
|
5428
5311
|
} else {
|
|
5429
5312
|
el.$_ptooltipValue = options.value.value;
|
|
5430
5313
|
el.$_ptooltipDisabled = options.value.disabled;
|
|
5431
|
-
el.$_ptooltipEscape = false;
|
|
5314
|
+
el.$_ptooltipEscape = options.value.escape || false;
|
|
5432
5315
|
}
|
|
5433
5316
|
}
|
|
5434
5317
|
};
|