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/dropdown/dropdown.umd.js
CHANGED
|
@@ -1621,6 +1621,17 @@ module.exports = function (name) {
|
|
|
1621
1621
|
};
|
|
1622
1622
|
|
|
1623
1623
|
|
|
1624
|
+
/***/ }),
|
|
1625
|
+
|
|
1626
|
+
/***/ "3a7c":
|
|
1627
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1628
|
+
|
|
1629
|
+
"use strict";
|
|
1630
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_id_0ebc4c6d_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fe6a");
|
|
1631
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_id_0ebc4c6d_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_id_0ebc4c6d_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1632
|
+
/* unused harmony reexport * */
|
|
1633
|
+
|
|
1634
|
+
|
|
1624
1635
|
/***/ }),
|
|
1625
1636
|
|
|
1626
1637
|
/***/ "3b2b":
|
|
@@ -2254,28 +2265,27 @@ module.exports = function (key) {
|
|
|
2254
2265
|
|
|
2255
2266
|
/***/ }),
|
|
2256
2267
|
|
|
2257
|
-
/***/ "
|
|
2258
|
-
/***/ (function(module, exports) {
|
|
2268
|
+
/***/ "5613":
|
|
2269
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2259
2270
|
|
|
2260
|
-
|
|
2261
|
-
|
|
2271
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
2272
|
+
// imports
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
// module
|
|
2276
|
+
exports.push([module.i, ".p-dropdown{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute;top:0;left:0}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:-webkit-box;display:-ms-flexbox;display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}", ""]);
|
|
2277
|
+
|
|
2278
|
+
// exports
|
|
2262
2279
|
|
|
2263
2280
|
|
|
2264
2281
|
/***/ }),
|
|
2265
2282
|
|
|
2266
|
-
/***/ "
|
|
2267
|
-
/***/ (function(module, exports
|
|
2283
|
+
/***/ "584a":
|
|
2284
|
+
/***/ (function(module, exports) {
|
|
2268
2285
|
|
|
2269
|
-
|
|
2286
|
+
var core = module.exports = { version: '2.6.12' };
|
|
2287
|
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
2270
2288
|
|
|
2271
|
-
// load the styles
|
|
2272
|
-
var content = __webpack_require__("edaf");
|
|
2273
|
-
if(content.__esModule) content = content.default;
|
|
2274
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2275
|
-
if(content.locals) module.exports = content.locals;
|
|
2276
|
-
// add the styles to the DOM
|
|
2277
|
-
var add = __webpack_require__("499e").default
|
|
2278
|
-
var update = add("0b056525", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2279
2289
|
|
|
2280
2290
|
/***/ }),
|
|
2281
2291
|
|
|
@@ -3832,17 +3842,6 @@ module.exports = function (it) {
|
|
|
3832
3842
|
module.exports = true;
|
|
3833
3843
|
|
|
3834
3844
|
|
|
3835
|
-
/***/ }),
|
|
3836
|
-
|
|
3837
|
-
/***/ "bded":
|
|
3838
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3839
|
-
|
|
3840
|
-
"use strict";
|
|
3841
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5b03");
|
|
3842
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dropdown_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
3843
|
-
/* unused harmony reexport * */
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
3845
|
/***/ }),
|
|
3847
3846
|
|
|
3848
3847
|
/***/ "be13":
|
|
@@ -4398,21 +4397,6 @@ var meta = module.exports = {
|
|
|
4398
4397
|
};
|
|
4399
4398
|
|
|
4400
4399
|
|
|
4401
|
-
/***/ }),
|
|
4402
|
-
|
|
4403
|
-
/***/ "edaf":
|
|
4404
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4405
|
-
|
|
4406
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
4407
|
-
// imports
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
// module
|
|
4411
|
-
exports.push([module.i, ".p-dropdown{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute;top:0;left:0}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:-webkit-box;display:-ms-flexbox;display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}", ""]);
|
|
4412
|
-
|
|
4413
|
-
// exports
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
4400
|
/***/ }),
|
|
4417
4401
|
|
|
4418
4402
|
/***/ "f1ae":
|
|
@@ -4563,10 +4547,154 @@ if (typeof window !== 'undefined') {
|
|
|
4563
4547
|
// Indicate to webpack that this file can be concatenated
|
|
4564
4548
|
/* harmony default export */ var setPublicPath = (null);
|
|
4565
4549
|
|
|
4566
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4567
|
-
var render = function () {
|
|
4568
|
-
var
|
|
4569
|
-
|
|
4550
|
+
// 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/dropdown/Dropdown.vue?vue&type=template&id=0ebc4c6d&
|
|
4551
|
+
var render = function render() {
|
|
4552
|
+
var _vm = this,
|
|
4553
|
+
_c = _vm._self._c;
|
|
4554
|
+
return _c('div', {
|
|
4555
|
+
ref: "container",
|
|
4556
|
+
class: _vm.containerClass,
|
|
4557
|
+
on: {
|
|
4558
|
+
"click": function click($event) {
|
|
4559
|
+
return _vm.onClick($event);
|
|
4560
|
+
}
|
|
4561
|
+
}
|
|
4562
|
+
}, [_c('div', {
|
|
4563
|
+
staticClass: "p-hidden-accessible"
|
|
4564
|
+
}, [_c('input', {
|
|
4565
|
+
ref: "focusInput",
|
|
4566
|
+
attrs: {
|
|
4567
|
+
"type": "text",
|
|
4568
|
+
"id": _vm.inputId,
|
|
4569
|
+
"readonly": "",
|
|
4570
|
+
"disabled": _vm.disabled,
|
|
4571
|
+
"tabindex": _vm.tabindex,
|
|
4572
|
+
"aria-haspopup": "listbox",
|
|
4573
|
+
"aria-expanded": _vm.overlayVisible,
|
|
4574
|
+
"aria-labelledby": _vm.ariaLabelledBy
|
|
4575
|
+
},
|
|
4576
|
+
on: {
|
|
4577
|
+
"focus": _vm.onFocus,
|
|
4578
|
+
"blur": _vm.onBlur,
|
|
4579
|
+
"keydown": _vm.onKeyDown
|
|
4580
|
+
}
|
|
4581
|
+
})]), _vm.editable ? _c('input', {
|
|
4582
|
+
staticClass: "p-dropdown-label p-inputtext",
|
|
4583
|
+
attrs: {
|
|
4584
|
+
"type": "text",
|
|
4585
|
+
"disabled": _vm.disabled,
|
|
4586
|
+
"placeholder": _vm.placeholder,
|
|
4587
|
+
"aria-haspopup": "listbox",
|
|
4588
|
+
"aria-expanded": _vm.overlayVisible
|
|
4589
|
+
},
|
|
4590
|
+
domProps: {
|
|
4591
|
+
"value": _vm.editableInputValue
|
|
4592
|
+
},
|
|
4593
|
+
on: {
|
|
4594
|
+
"focus": _vm.onFocus,
|
|
4595
|
+
"blur": _vm.onBlur,
|
|
4596
|
+
"input": _vm.onEditableInput
|
|
4597
|
+
}
|
|
4598
|
+
}) : _vm._e(), !_vm.editable ? _c('span', {
|
|
4599
|
+
class: _vm.labelClass
|
|
4600
|
+
}, [_vm._t("value", function () {
|
|
4601
|
+
return [_vm._v("\n " + _vm._s(_vm.label) + "\n ")];
|
|
4602
|
+
}, {
|
|
4603
|
+
"value": _vm.value,
|
|
4604
|
+
"placeholder": _vm.placeholder
|
|
4605
|
+
})], 2) : _vm._e(), _vm.showClear && _vm.value != null ? _c('i', {
|
|
4606
|
+
staticClass: "p-dropdown-clear-icon pi pi-times",
|
|
4607
|
+
on: {
|
|
4608
|
+
"click": function click($event) {
|
|
4609
|
+
return _vm.onClearClick($event);
|
|
4610
|
+
}
|
|
4611
|
+
}
|
|
4612
|
+
}) : _vm._e(), _c('div', {
|
|
4613
|
+
staticClass: "p-dropdown-trigger",
|
|
4614
|
+
attrs: {
|
|
4615
|
+
"role": "button",
|
|
4616
|
+
"aria-haspopup": "listbox",
|
|
4617
|
+
"aria-expanded": _vm.overlayVisible
|
|
4618
|
+
}
|
|
4619
|
+
}, [_vm._t("indicator", function () {
|
|
4620
|
+
return [_c('span', {
|
|
4621
|
+
staticClass: "p-dropdown-trigger-icon pi pi-chevron-down"
|
|
4622
|
+
})];
|
|
4623
|
+
})], 2), _c('transition', {
|
|
4624
|
+
attrs: {
|
|
4625
|
+
"name": "p-connected-overlay"
|
|
4626
|
+
},
|
|
4627
|
+
on: {
|
|
4628
|
+
"enter": _vm.onOverlayEnter,
|
|
4629
|
+
"leave": _vm.onOverlayLeave
|
|
4630
|
+
}
|
|
4631
|
+
}, [_vm.overlayVisible ? _c('div', {
|
|
4632
|
+
ref: "overlay",
|
|
4633
|
+
staticClass: "p-dropdown-panel p-component"
|
|
4634
|
+
}, [_vm.filter ? _c('div', {
|
|
4635
|
+
staticClass: "p-dropdown-header"
|
|
4636
|
+
}, [_c('div', {
|
|
4637
|
+
staticClass: "p-dropdown-filter-container"
|
|
4638
|
+
}, [_c('input', {
|
|
4639
|
+
ref: "filterInput",
|
|
4640
|
+
staticClass: "p-dropdown-filter p-inputtext p-component",
|
|
4641
|
+
attrs: {
|
|
4642
|
+
"type": "text",
|
|
4643
|
+
"autoComplete": "off",
|
|
4644
|
+
"placeholder": _vm.filterPlaceholder
|
|
4645
|
+
},
|
|
4646
|
+
domProps: {
|
|
4647
|
+
"value": _vm.filterValue
|
|
4648
|
+
},
|
|
4649
|
+
on: {
|
|
4650
|
+
"keydown": _vm.onFilterKeyDown,
|
|
4651
|
+
"input": _vm.onFilterChange
|
|
4652
|
+
}
|
|
4653
|
+
}), _c('span', {
|
|
4654
|
+
staticClass: "p-dropdown-filter-icon pi pi-search"
|
|
4655
|
+
})])]) : _vm._e(), _c('div', {
|
|
4656
|
+
ref: "itemsWrapper",
|
|
4657
|
+
staticClass: "p-dropdown-items-wrapper",
|
|
4658
|
+
style: {
|
|
4659
|
+
'max-height': _vm.scrollHeight
|
|
4660
|
+
}
|
|
4661
|
+
}, [_c('ul', {
|
|
4662
|
+
staticClass: "p-dropdown-items",
|
|
4663
|
+
attrs: {
|
|
4664
|
+
"role": "listbox"
|
|
4665
|
+
}
|
|
4666
|
+
}, [_vm._l(_vm.visibleOptions, function (option, i) {
|
|
4667
|
+
return _c('li', {
|
|
4668
|
+
directives: [{
|
|
4669
|
+
name: "ripple",
|
|
4670
|
+
rawName: "v-ripple"
|
|
4671
|
+
}],
|
|
4672
|
+
key: _vm.getOptionRenderKey(option),
|
|
4673
|
+
class: ['p-dropdown-item', {
|
|
4674
|
+
'p-highlight': _vm.isSelected(option),
|
|
4675
|
+
'p-disabled': _vm.isOptionDisabled(option)
|
|
4676
|
+
}],
|
|
4677
|
+
attrs: {
|
|
4678
|
+
"aria-label": _vm.getOptionLabel(option),
|
|
4679
|
+
"role": "option",
|
|
4680
|
+
"aria-selected": _vm.isSelected(option)
|
|
4681
|
+
},
|
|
4682
|
+
on: {
|
|
4683
|
+
"click": function click($event) {
|
|
4684
|
+
return _vm.onOptionSelect($event, option);
|
|
4685
|
+
}
|
|
4686
|
+
}
|
|
4687
|
+
}, [_vm._t("option", function () {
|
|
4688
|
+
return [_vm._v("\n " + _vm._s(_vm.getOptionLabel(option)) + "\n ")];
|
|
4689
|
+
}, {
|
|
4690
|
+
"option": option,
|
|
4691
|
+
"index": i
|
|
4692
|
+
})], 2);
|
|
4693
|
+
}), _vm.filterValue && (!_vm.visibleOptions || _vm.visibleOptions && _vm.visibleOptions.length === 0) ? _c('li', {
|
|
4694
|
+
staticClass: "p-dropdown-empty-message"
|
|
4695
|
+
}, [_vm._v(_vm._s(_vm.emptyFilterMessage))]) : _vm._e()], 2)])]) : _vm._e()])], 1);
|
|
4696
|
+
};
|
|
4697
|
+
var staticRenderFns = [];
|
|
4570
4698
|
|
|
4571
4699
|
// CONCATENATED MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=template&id=0ebc4c6d&
|
|
4572
4700
|
|
|
@@ -4606,26 +4734,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4606
4734
|
|
|
4607
4735
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4608
4736
|
|
|
4609
|
-
|
|
4610
4737
|
function _defineProperties(target, props) {
|
|
4611
4738
|
for (var i = 0; i < props.length; i++) {
|
|
4612
4739
|
var descriptor = props[i];
|
|
4613
4740
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4614
4741
|
descriptor.configurable = true;
|
|
4615
4742
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4616
|
-
|
|
4617
4743
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4618
4744
|
}
|
|
4619
4745
|
}
|
|
4620
|
-
|
|
4621
4746
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4622
4747
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4623
4748
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4624
|
-
|
|
4625
4749
|
define_property_default()(Constructor, "prototype", {
|
|
4626
4750
|
writable: false
|
|
4627
4751
|
});
|
|
4628
|
-
|
|
4629
4752
|
return Constructor;
|
|
4630
4753
|
}
|
|
4631
4754
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
@@ -4653,18 +4776,13 @@ var es6_regexp_split = __webpack_require__("28a5");
|
|
|
4653
4776
|
|
|
4654
4777
|
|
|
4655
4778
|
|
|
4656
|
-
|
|
4657
4779
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
4658
|
-
|
|
4659
4780
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4660
|
-
|
|
4661
4781
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
4662
|
-
|
|
4663
4782
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4664
4783
|
function DomHandler() {
|
|
4665
4784
|
_classCallCheck(this, DomHandler);
|
|
4666
4785
|
}
|
|
4667
|
-
|
|
4668
4786
|
_createClass(DomHandler, null, [{
|
|
4669
4787
|
key: "innerWidth",
|
|
4670
4788
|
value: function innerWidth(el) {
|
|
@@ -4698,12 +4816,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4698
4816
|
value: function getOuterWidth(el, margin) {
|
|
4699
4817
|
if (el) {
|
|
4700
4818
|
var width = el.offsetWidth;
|
|
4701
|
-
|
|
4702
4819
|
if (margin) {
|
|
4703
4820
|
var style = getComputedStyle(el);
|
|
4704
4821
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4705
4822
|
}
|
|
4706
|
-
|
|
4707
4823
|
return width;
|
|
4708
4824
|
} else {
|
|
4709
4825
|
return 0;
|
|
@@ -4714,12 +4830,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4714
4830
|
value: function getOuterHeight(el, margin) {
|
|
4715
4831
|
if (el) {
|
|
4716
4832
|
var height = el.offsetHeight;
|
|
4717
|
-
|
|
4718
4833
|
if (margin) {
|
|
4719
4834
|
var style = getComputedStyle(el);
|
|
4720
4835
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4721
4836
|
}
|
|
4722
|
-
|
|
4723
4837
|
return height;
|
|
4724
4838
|
} else {
|
|
4725
4839
|
return 0;
|
|
@@ -4730,12 +4844,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4730
4844
|
value: function getClientHeight(el, margin) {
|
|
4731
4845
|
if (el) {
|
|
4732
4846
|
var height = el.clientHeight;
|
|
4733
|
-
|
|
4734
4847
|
if (margin) {
|
|
4735
4848
|
var style = getComputedStyle(el);
|
|
4736
4849
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4737
4850
|
}
|
|
4738
|
-
|
|
4739
4851
|
return height;
|
|
4740
4852
|
} else {
|
|
4741
4853
|
return 0;
|
|
@@ -4745,11 +4857,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4745
4857
|
key: "getViewport",
|
|
4746
4858
|
value: function getViewport() {
|
|
4747
4859
|
var win = window,
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4860
|
+
d = document,
|
|
4861
|
+
e = d.documentElement,
|
|
4862
|
+
g = d.getElementsByTagName('body')[0],
|
|
4863
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4864
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4753
4865
|
return {
|
|
4754
4866
|
width: w,
|
|
4755
4867
|
height: h
|
|
@@ -4780,12 +4892,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4780
4892
|
value: function index(element) {
|
|
4781
4893
|
var children = element.parentNode.childNodes;
|
|
4782
4894
|
var num = 0;
|
|
4783
|
-
|
|
4784
4895
|
for (var i = 0; i < children.length; i++) {
|
|
4785
4896
|
if (children[i] === element) return num;
|
|
4786
4897
|
if (children[i].nodeType === 1) num++;
|
|
4787
4898
|
}
|
|
4788
|
-
|
|
4789
4899
|
return -1;
|
|
4790
4900
|
}
|
|
4791
4901
|
}, {
|
|
@@ -4793,13 +4903,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4793
4903
|
value: function addMultipleClasses(element, className) {
|
|
4794
4904
|
if (element.classList) {
|
|
4795
4905
|
var styles = className.split(' ');
|
|
4796
|
-
|
|
4797
4906
|
for (var i = 0; i < styles.length; i++) {
|
|
4798
4907
|
element.classList.add(styles[i]);
|
|
4799
4908
|
}
|
|
4800
4909
|
} else {
|
|
4801
4910
|
var _styles = className.split(' ');
|
|
4802
|
-
|
|
4803
4911
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4804
4912
|
element.className += ' ' + _styles[_i];
|
|
4805
4913
|
}
|
|
@@ -4821,7 +4929,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4821
4929
|
if (element) {
|
|
4822
4930
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4823
4931
|
}
|
|
4824
|
-
|
|
4825
4932
|
return false;
|
|
4826
4933
|
}
|
|
4827
4934
|
}, {
|
|
@@ -4866,11 +4973,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4866
4973
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4867
4974
|
var viewport = this.getViewport();
|
|
4868
4975
|
var top, left;
|
|
4869
|
-
|
|
4870
4976
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4871
4977
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4872
4978
|
element.style.transformOrigin = 'bottom';
|
|
4873
|
-
|
|
4874
4979
|
if (top < 0) {
|
|
4875
4980
|
top = windowScrollTop;
|
|
4876
4981
|
}
|
|
@@ -4878,7 +4983,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4878
4983
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4879
4984
|
element.style.transformOrigin = 'top';
|
|
4880
4985
|
}
|
|
4881
|
-
|
|
4882
4986
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4883
4987
|
element.style.top = top + 'px';
|
|
4884
4988
|
element.style.left = left + 'px';
|
|
@@ -4894,11 +4998,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4894
4998
|
var targetOffset = target.getBoundingClientRect();
|
|
4895
4999
|
var viewport = this.getViewport();
|
|
4896
5000
|
var top, left;
|
|
4897
|
-
|
|
4898
5001
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4899
5002
|
top = -1 * elementDimensions.height;
|
|
4900
5003
|
element.style.transformOrigin = 'bottom';
|
|
4901
|
-
|
|
4902
5004
|
if (targetOffset.top + top < 0) {
|
|
4903
5005
|
top = -1 * targetOffset.top;
|
|
4904
5006
|
}
|
|
@@ -4906,7 +5008,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4906
5008
|
top = targetHeight;
|
|
4907
5009
|
element.style.transformOrigin = 'top';
|
|
4908
5010
|
}
|
|
4909
|
-
|
|
4910
5011
|
if (elementDimensions.width > viewport.width) {
|
|
4911
5012
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4912
5013
|
left = targetOffset.left * -1;
|
|
@@ -4917,7 +5018,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4917
5018
|
// element fits on screen (align with target)
|
|
4918
5019
|
left = 0;
|
|
4919
5020
|
}
|
|
4920
|
-
|
|
4921
5021
|
element.style.top = top + 'px';
|
|
4922
5022
|
element.style.left = left + 'px';
|
|
4923
5023
|
}
|
|
@@ -4931,35 +5031,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4931
5031
|
key: "getScrollableParents",
|
|
4932
5032
|
value: function getScrollableParents(element) {
|
|
4933
5033
|
var scrollableParents = [];
|
|
4934
|
-
|
|
4935
5034
|
if (element) {
|
|
4936
5035
|
var parents = this.getParents(element);
|
|
4937
5036
|
var overflowRegex = /(auto|scroll)/;
|
|
4938
|
-
|
|
4939
5037
|
var overflowCheck = function overflowCheck(node) {
|
|
4940
5038
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4941
5039
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4942
5040
|
};
|
|
4943
|
-
|
|
4944
5041
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4945
|
-
|
|
4946
|
-
|
|
5042
|
+
_step;
|
|
4947
5043
|
try {
|
|
4948
5044
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4949
5045
|
var parent = _step.value;
|
|
4950
5046
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4951
|
-
|
|
4952
5047
|
if (scrollSelectors) {
|
|
4953
5048
|
var selectors = scrollSelectors.split(',');
|
|
4954
|
-
|
|
4955
5049
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
4956
|
-
|
|
4957
|
-
|
|
5050
|
+
_step2;
|
|
4958
5051
|
try {
|
|
4959
5052
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4960
5053
|
var selector = _step2.value;
|
|
4961
5054
|
var el = this.findSingle(parent, selector);
|
|
4962
|
-
|
|
4963
5055
|
if (el && overflowCheck(el)) {
|
|
4964
5056
|
scrollableParents.push(el);
|
|
4965
5057
|
}
|
|
@@ -4977,7 +5069,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4977
5069
|
_iterator.f();
|
|
4978
5070
|
}
|
|
4979
5071
|
}
|
|
4980
|
-
|
|
4981
5072
|
return scrollableParents;
|
|
4982
5073
|
}
|
|
4983
5074
|
}, {
|
|
@@ -5018,34 +5109,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5018
5109
|
element.style.opacity = 0;
|
|
5019
5110
|
var last = +new Date();
|
|
5020
5111
|
var opacity = 0;
|
|
5021
|
-
|
|
5022
5112
|
var tick = function tick() {
|
|
5023
5113
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5024
5114
|
element.style.opacity = opacity;
|
|
5025
5115
|
last = +new Date();
|
|
5026
|
-
|
|
5027
5116
|
if (+opacity < 1) {
|
|
5028
5117
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5029
5118
|
}
|
|
5030
5119
|
};
|
|
5031
|
-
|
|
5032
5120
|
tick();
|
|
5033
5121
|
}
|
|
5034
5122
|
}, {
|
|
5035
5123
|
key: "fadeOut",
|
|
5036
5124
|
value: function fadeOut(element, ms) {
|
|
5037
5125
|
var opacity = 1,
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5126
|
+
interval = 50,
|
|
5127
|
+
duration = ms,
|
|
5128
|
+
gap = interval / duration;
|
|
5041
5129
|
var fading = setInterval(function () {
|
|
5042
5130
|
opacity -= gap;
|
|
5043
|
-
|
|
5044
5131
|
if (opacity <= 0) {
|
|
5045
5132
|
opacity = 0;
|
|
5046
5133
|
clearInterval(fading);
|
|
5047
5134
|
}
|
|
5048
|
-
|
|
5049
5135
|
element.style.opacity = opacity;
|
|
5050
5136
|
}, interval);
|
|
5051
5137
|
}
|
|
@@ -5072,7 +5158,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5072
5158
|
var scroll = container.scrollTop;
|
|
5073
5159
|
var elementHeight = container.clientHeight;
|
|
5074
5160
|
var itemHeight = this.getOuterHeight(item);
|
|
5075
|
-
|
|
5076
5161
|
if (offset < 0) {
|
|
5077
5162
|
container.scrollTop = scroll + offset;
|
|
5078
5163
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5091,7 +5176,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5091
5176
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5092
5177
|
try {
|
|
5093
5178
|
document['selection'].empty();
|
|
5094
|
-
} catch (error) {
|
|
5179
|
+
} catch (error) {
|
|
5180
|
+
//ignore IE bug
|
|
5095
5181
|
}
|
|
5096
5182
|
}
|
|
5097
5183
|
}
|
|
@@ -5113,19 +5199,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5113
5199
|
if (!this.browser) {
|
|
5114
5200
|
var matched = this.resolveUserAgent();
|
|
5115
5201
|
this.browser = {};
|
|
5116
|
-
|
|
5117
5202
|
if (matched.browser) {
|
|
5118
5203
|
this.browser[matched.browser] = true;
|
|
5119
5204
|
this.browser['version'] = matched.version;
|
|
5120
5205
|
}
|
|
5121
|
-
|
|
5122
5206
|
if (this.browser['chrome']) {
|
|
5123
5207
|
this.browser['webkit'] = true;
|
|
5124
5208
|
} else if (this.browser['webkit']) {
|
|
5125
5209
|
this.browser['safari'] = true;
|
|
5126
5210
|
}
|
|
5127
5211
|
}
|
|
5128
|
-
|
|
5129
5212
|
return this.browser;
|
|
5130
5213
|
}
|
|
5131
5214
|
}, {
|
|
@@ -5153,10 +5236,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5153
5236
|
value: function getFocusableElements(element) {
|
|
5154
5237
|
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])");
|
|
5155
5238
|
var visibleFocusableElements = [];
|
|
5156
|
-
|
|
5157
5239
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5158
|
-
|
|
5159
|
-
|
|
5240
|
+
_step3;
|
|
5160
5241
|
try {
|
|
5161
5242
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5162
5243
|
var focusableElement = _step3.value;
|
|
@@ -5167,7 +5248,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5167
5248
|
} finally {
|
|
5168
5249
|
_iterator3.f();
|
|
5169
5250
|
}
|
|
5170
|
-
|
|
5171
5251
|
return visibleFocusableElements;
|
|
5172
5252
|
}
|
|
5173
5253
|
}, {
|
|
@@ -5210,31 +5290,24 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5210
5290
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5211
5291
|
}
|
|
5212
5292
|
}]);
|
|
5213
|
-
|
|
5214
5293
|
return DomHandler;
|
|
5215
5294
|
}();
|
|
5216
5295
|
|
|
5217
|
-
|
|
5218
5296
|
// CONCATENATED MODULE: ./src/components/utils/ConnectedOverlayScrollHandler.js
|
|
5219
5297
|
|
|
5220
5298
|
|
|
5221
5299
|
|
|
5222
|
-
|
|
5223
5300
|
var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
|
|
5224
5301
|
function ConnectedOverlayScrollHandler(element) {
|
|
5225
5302
|
var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
5226
|
-
|
|
5227
5303
|
_classCallCheck(this, ConnectedOverlayScrollHandler);
|
|
5228
|
-
|
|
5229
5304
|
this.element = element;
|
|
5230
5305
|
this.listener = listener;
|
|
5231
5306
|
}
|
|
5232
|
-
|
|
5233
5307
|
_createClass(ConnectedOverlayScrollHandler, [{
|
|
5234
5308
|
key: "bindScrollListener",
|
|
5235
5309
|
value: function bindScrollListener() {
|
|
5236
5310
|
this.scrollableParents = DomHandler_DomHandler.getScrollableParents(this.element);
|
|
5237
|
-
|
|
5238
5311
|
for (var i = 0; i < this.scrollableParents.length; i++) {
|
|
5239
5312
|
this.scrollableParents[i].addEventListener('scroll', this.listener);
|
|
5240
5313
|
}
|
|
@@ -5257,11 +5330,9 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
5257
5330
|
this.scrollableParents = null;
|
|
5258
5331
|
}
|
|
5259
5332
|
}]);
|
|
5260
|
-
|
|
5261
5333
|
return ConnectedOverlayScrollHandler;
|
|
5262
5334
|
}();
|
|
5263
5335
|
|
|
5264
|
-
|
|
5265
5336
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
5266
5337
|
var web_dom_iterable = __webpack_require__("ac6a");
|
|
5267
5338
|
|
|
@@ -5308,18 +5379,13 @@ function _typeof(obj) {
|
|
|
5308
5379
|
|
|
5309
5380
|
|
|
5310
5381
|
|
|
5311
|
-
|
|
5312
5382
|
function ObjectUtils_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = ObjectUtils_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; } } }; }
|
|
5313
|
-
|
|
5314
5383
|
function ObjectUtils_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ObjectUtils_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 ObjectUtils_arrayLikeToArray(o, minLen); }
|
|
5315
|
-
|
|
5316
5384
|
function ObjectUtils_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; }
|
|
5317
|
-
|
|
5318
5385
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
5319
5386
|
function ObjectUtils() {
|
|
5320
5387
|
_classCallCheck(this, ObjectUtils);
|
|
5321
5388
|
}
|
|
5322
|
-
|
|
5323
5389
|
_createClass(ObjectUtils, null, [{
|
|
5324
5390
|
key: "equals",
|
|
5325
5391
|
value: function equals(obj1, obj2, field) {
|
|
@@ -5329,50 +5395,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5329
5395
|
key: "deepEquals",
|
|
5330
5396
|
value: function deepEquals(a, b) {
|
|
5331
5397
|
if (a === b) return true;
|
|
5332
|
-
|
|
5333
5398
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5334
5399
|
var arrA = Array.isArray(a),
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5400
|
+
arrB = Array.isArray(b),
|
|
5401
|
+
i,
|
|
5402
|
+
length,
|
|
5403
|
+
key;
|
|
5340
5404
|
if (arrA && arrB) {
|
|
5341
5405
|
length = a.length;
|
|
5342
5406
|
if (length != b.length) return false;
|
|
5343
|
-
|
|
5344
5407
|
for (i = length; i-- !== 0;) {
|
|
5345
5408
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
5346
5409
|
}
|
|
5347
|
-
|
|
5348
5410
|
return true;
|
|
5349
5411
|
}
|
|
5350
|
-
|
|
5351
5412
|
if (arrA != arrB) return false;
|
|
5352
5413
|
var dateA = a instanceof Date,
|
|
5353
|
-
|
|
5414
|
+
dateB = b instanceof Date;
|
|
5354
5415
|
if (dateA != dateB) return false;
|
|
5355
5416
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
5356
5417
|
var regexpA = a instanceof RegExp,
|
|
5357
|
-
|
|
5418
|
+
regexpB = b instanceof RegExp;
|
|
5358
5419
|
if (regexpA != regexpB) return false;
|
|
5359
5420
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
5360
5421
|
var keys = Object.keys(a);
|
|
5361
5422
|
length = keys.length;
|
|
5362
5423
|
if (length !== Object.keys(b).length) return false;
|
|
5363
|
-
|
|
5364
5424
|
for (i = length; i-- !== 0;) {
|
|
5365
5425
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
5366
5426
|
}
|
|
5367
|
-
|
|
5368
5427
|
for (i = length; i-- !== 0;) {
|
|
5369
5428
|
key = keys[i];
|
|
5370
5429
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
5371
5430
|
}
|
|
5372
|
-
|
|
5373
5431
|
return true;
|
|
5374
5432
|
}
|
|
5375
|
-
|
|
5376
5433
|
return a !== a && b !== b;
|
|
5377
5434
|
}
|
|
5378
5435
|
}, {
|
|
@@ -5386,15 +5443,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5386
5443
|
} else {
|
|
5387
5444
|
var fields = field.split('.');
|
|
5388
5445
|
var value = data;
|
|
5389
|
-
|
|
5390
5446
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
5391
5447
|
if (value == null) {
|
|
5392
5448
|
return null;
|
|
5393
5449
|
}
|
|
5394
|
-
|
|
5395
5450
|
value = value[fields[i]];
|
|
5396
5451
|
}
|
|
5397
|
-
|
|
5398
5452
|
return value;
|
|
5399
5453
|
}
|
|
5400
5454
|
} else {
|
|
@@ -5410,22 +5464,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5410
5464
|
key: "filter",
|
|
5411
5465
|
value: function filter(value, fields, filterValue) {
|
|
5412
5466
|
var filteredItems = [];
|
|
5413
|
-
|
|
5414
5467
|
if (value) {
|
|
5415
5468
|
var _iterator = ObjectUtils_createForOfIteratorHelper(value),
|
|
5416
|
-
|
|
5417
|
-
|
|
5469
|
+
_step;
|
|
5418
5470
|
try {
|
|
5419
5471
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5420
5472
|
var item = _step.value;
|
|
5421
|
-
|
|
5422
5473
|
var _iterator2 = ObjectUtils_createForOfIteratorHelper(fields),
|
|
5423
|
-
|
|
5424
|
-
|
|
5474
|
+
_step2;
|
|
5425
5475
|
try {
|
|
5426
5476
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5427
5477
|
var field = _step2.value;
|
|
5428
|
-
|
|
5429
5478
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
5430
5479
|
filteredItems.push(item);
|
|
5431
5480
|
break;
|
|
@@ -5443,23 +5492,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5443
5492
|
_iterator.f();
|
|
5444
5493
|
}
|
|
5445
5494
|
}
|
|
5446
|
-
|
|
5447
5495
|
return filteredItems;
|
|
5448
5496
|
}
|
|
5449
5497
|
}, {
|
|
5450
5498
|
key: "reorderArray",
|
|
5451
5499
|
value: function reorderArray(value, from, to) {
|
|
5452
5500
|
var target;
|
|
5453
|
-
|
|
5454
5501
|
if (value && from !== to) {
|
|
5455
5502
|
if (to >= value.length) {
|
|
5456
5503
|
target = to - value.length;
|
|
5457
|
-
|
|
5458
5504
|
while (target-- + 1) {
|
|
5459
5505
|
value.push(undefined);
|
|
5460
5506
|
}
|
|
5461
5507
|
}
|
|
5462
|
-
|
|
5463
5508
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
5464
5509
|
}
|
|
5465
5510
|
}
|
|
@@ -5467,7 +5512,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5467
5512
|
key: "findIndexInList",
|
|
5468
5513
|
value: function findIndexInList(value, list) {
|
|
5469
5514
|
var index = -1;
|
|
5470
|
-
|
|
5471
5515
|
if (list) {
|
|
5472
5516
|
for (var i = 0; i < list.length; i++) {
|
|
5473
5517
|
if (list[i] === value) {
|
|
@@ -5476,7 +5520,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5476
5520
|
}
|
|
5477
5521
|
}
|
|
5478
5522
|
}
|
|
5479
|
-
|
|
5480
5523
|
return index;
|
|
5481
5524
|
}
|
|
5482
5525
|
}, {
|
|
@@ -5484,8 +5527,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5484
5527
|
value: function contains(value, list) {
|
|
5485
5528
|
if (value != null && list && list.length) {
|
|
5486
5529
|
var _iterator3 = ObjectUtils_createForOfIteratorHelper(list),
|
|
5487
|
-
|
|
5488
|
-
|
|
5530
|
+
_step3;
|
|
5489
5531
|
try {
|
|
5490
5532
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5491
5533
|
var val = _step3.value;
|
|
@@ -5497,7 +5539,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5497
5539
|
_iterator3.f();
|
|
5498
5540
|
}
|
|
5499
5541
|
}
|
|
5500
|
-
|
|
5501
5542
|
return false;
|
|
5502
5543
|
}
|
|
5503
5544
|
}, {
|
|
@@ -5505,17 +5546,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5505
5546
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
5506
5547
|
if (arr.length > 0) {
|
|
5507
5548
|
var injected = false;
|
|
5508
|
-
|
|
5509
5549
|
for (var i = 0; i < arr.length; i++) {
|
|
5510
5550
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
5511
|
-
|
|
5512
5551
|
if (currentItemIndex > index) {
|
|
5513
5552
|
arr.splice(i, 0, item);
|
|
5514
5553
|
injected = true;
|
|
5515
5554
|
break;
|
|
5516
5555
|
}
|
|
5517
5556
|
}
|
|
5518
|
-
|
|
5519
5557
|
if (!injected) {
|
|
5520
5558
|
arr.push(item);
|
|
5521
5559
|
}
|
|
@@ -5529,72 +5567,57 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5529
5567
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
5530
5568
|
str = str.replace(/[\xC0-\xC5]/g, "A").replace(/[\xC6]/g, "AE").replace(/[\xC7]/g, "C").replace(/[\xC8-\xCB]/g, "E").replace(/[\xCC-\xCF]/g, "I").replace(/[\xD0]/g, "D").replace(/[\xD1]/g, "N").replace(/[\xD2-\xD6\xD8]/g, "O").replace(/[\xD9-\xDC]/g, "U").replace(/[\xDD]/g, "Y").replace(/[\xDE]/g, "P").replace(/[\xE0-\xE5]/g, "a").replace(/[\xE6]/g, "ae").replace(/[\xE7]/g, "c").replace(/[\xE8-\xEB]/g, "e").replace(/[\xEC-\xEF]/g, "i").replace(/[\xF1]/g, "n").replace(/[\xF2-\xF6\xF8]/g, "o").replace(/[\xF9-\xFC]/g, "u").replace(/[\xFE]/g, "p").replace(/[\xFD\xFF]/g, "y");
|
|
5531
5569
|
}
|
|
5532
|
-
|
|
5533
5570
|
return str;
|
|
5534
5571
|
}
|
|
5535
5572
|
}, {
|
|
5536
5573
|
key: "getVNodeProp",
|
|
5537
5574
|
value: function getVNodeProp(vnode, prop) {
|
|
5538
5575
|
var props = vnode._props;
|
|
5539
|
-
|
|
5540
5576
|
if (props) {
|
|
5541
5577
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5542
5578
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5543
5579
|
return props[propName];
|
|
5544
5580
|
}
|
|
5545
|
-
|
|
5546
5581
|
return null;
|
|
5547
5582
|
}
|
|
5548
5583
|
}]);
|
|
5549
|
-
|
|
5550
5584
|
return ObjectUtils;
|
|
5551
5585
|
}();
|
|
5552
5586
|
|
|
5553
|
-
|
|
5554
5587
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5555
5588
|
|
|
5556
|
-
|
|
5557
5589
|
function bindEvents(el) {
|
|
5558
5590
|
el.addEventListener('mousedown', onMouseDown);
|
|
5559
5591
|
}
|
|
5560
|
-
|
|
5561
5592
|
function unbindEvents(el) {
|
|
5562
5593
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5563
5594
|
}
|
|
5564
|
-
|
|
5565
5595
|
function create(el) {
|
|
5566
5596
|
var ink = document.createElement('span');
|
|
5567
5597
|
ink.className = 'p-ink';
|
|
5568
5598
|
el.appendChild(ink);
|
|
5569
5599
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5570
5600
|
}
|
|
5571
|
-
|
|
5572
5601
|
function remove(el) {
|
|
5573
5602
|
var ink = getInk(el);
|
|
5574
|
-
|
|
5575
5603
|
if (ink) {
|
|
5576
5604
|
unbindEvents(el);
|
|
5577
5605
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5578
5606
|
ink.remove();
|
|
5579
5607
|
}
|
|
5580
5608
|
}
|
|
5581
|
-
|
|
5582
5609
|
function onMouseDown(event) {
|
|
5583
5610
|
var target = event.currentTarget;
|
|
5584
5611
|
var ink = getInk(target);
|
|
5585
|
-
|
|
5586
5612
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5587
5613
|
return;
|
|
5588
5614
|
}
|
|
5589
|
-
|
|
5590
5615
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5591
|
-
|
|
5592
5616
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5593
5617
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5594
5618
|
ink.style.height = d + 'px';
|
|
5595
5619
|
ink.style.width = d + 'px';
|
|
5596
5620
|
}
|
|
5597
|
-
|
|
5598
5621
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5599
5622
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5600
5623
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5602,21 +5625,17 @@ function onMouseDown(event) {
|
|
|
5602
5625
|
ink.style.left = x + 'px';
|
|
5603
5626
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5604
5627
|
}
|
|
5605
|
-
|
|
5606
5628
|
function onAnimationEnd(event) {
|
|
5607
5629
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5608
5630
|
}
|
|
5609
|
-
|
|
5610
5631
|
function getInk(el) {
|
|
5611
5632
|
for (var i = 0; i < el.children.length; i++) {
|
|
5612
5633
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5613
5634
|
return el.children[i];
|
|
5614
5635
|
}
|
|
5615
5636
|
}
|
|
5616
|
-
|
|
5617
5637
|
return null;
|
|
5618
5638
|
}
|
|
5619
|
-
|
|
5620
5639
|
var Ripple = {
|
|
5621
5640
|
inserted: function inserted(el, binding, vnode) {
|
|
5622
5641
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5638,57 +5657,10 @@ var Ripple = {
|
|
|
5638
5657
|
|
|
5639
5658
|
|
|
5640
5659
|
|
|
5641
|
-
|
|
5642
5660
|
function Dropdownvue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = Dropdownvue_type_script_lang_js_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; } } }; }
|
|
5643
|
-
|
|
5644
5661
|
function Dropdownvue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Dropdownvue_type_script_lang_js_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 Dropdownvue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
5645
|
-
|
|
5646
5662
|
function Dropdownvue_type_script_lang_js_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; }
|
|
5647
5663
|
|
|
5648
|
-
//
|
|
5649
|
-
//
|
|
5650
|
-
//
|
|
5651
|
-
//
|
|
5652
|
-
//
|
|
5653
|
-
//
|
|
5654
|
-
//
|
|
5655
|
-
//
|
|
5656
|
-
//
|
|
5657
|
-
//
|
|
5658
|
-
//
|
|
5659
|
-
//
|
|
5660
|
-
//
|
|
5661
|
-
//
|
|
5662
|
-
//
|
|
5663
|
-
//
|
|
5664
|
-
//
|
|
5665
|
-
//
|
|
5666
|
-
//
|
|
5667
|
-
//
|
|
5668
|
-
//
|
|
5669
|
-
//
|
|
5670
|
-
//
|
|
5671
|
-
//
|
|
5672
|
-
//
|
|
5673
|
-
//
|
|
5674
|
-
//
|
|
5675
|
-
//
|
|
5676
|
-
//
|
|
5677
|
-
//
|
|
5678
|
-
//
|
|
5679
|
-
//
|
|
5680
|
-
//
|
|
5681
|
-
//
|
|
5682
|
-
//
|
|
5683
|
-
//
|
|
5684
|
-
//
|
|
5685
|
-
//
|
|
5686
|
-
//
|
|
5687
|
-
//
|
|
5688
|
-
//
|
|
5689
|
-
//
|
|
5690
|
-
//
|
|
5691
|
-
|
|
5692
5664
|
|
|
5693
5665
|
|
|
5694
5666
|
|
|
@@ -5747,7 +5719,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5747
5719
|
if (this.overlayVisible && this.isModelValueChanged) {
|
|
5748
5720
|
this.scrollValueInView();
|
|
5749
5721
|
}
|
|
5750
|
-
|
|
5751
5722
|
this.isModelValueChanged = false;
|
|
5752
5723
|
this.onFilterUpdated();
|
|
5753
5724
|
},
|
|
@@ -5755,7 +5726,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5755
5726
|
this.restoreAppend();
|
|
5756
5727
|
this.unbindOutsideClickListener();
|
|
5757
5728
|
this.unbindResizeListener();
|
|
5758
|
-
|
|
5759
5729
|
if (this.scrollHandler) {
|
|
5760
5730
|
this.scrollHandler.destroy();
|
|
5761
5731
|
this.scrollHandler = null;
|
|
@@ -5776,15 +5746,12 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5776
5746
|
},
|
|
5777
5747
|
getSelectedOption: function getSelectedOption() {
|
|
5778
5748
|
var selectedOption;
|
|
5779
|
-
|
|
5780
5749
|
if (this.value != null && this.options) {
|
|
5781
5750
|
var _iterator = Dropdownvue_type_script_lang_js_createForOfIteratorHelper(this.options),
|
|
5782
|
-
|
|
5783
|
-
|
|
5751
|
+
_step;
|
|
5784
5752
|
try {
|
|
5785
5753
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5786
5754
|
var option = _step.value;
|
|
5787
|
-
|
|
5788
5755
|
if (ObjectUtils_ObjectUtils.equals(this.value, this.getOptionValue(option), this.equalityKey)) {
|
|
5789
5756
|
selectedOption = option;
|
|
5790
5757
|
break;
|
|
@@ -5796,7 +5763,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5796
5763
|
_iterator.f();
|
|
5797
5764
|
}
|
|
5798
5765
|
}
|
|
5799
|
-
|
|
5800
5766
|
return selectedOption;
|
|
5801
5767
|
},
|
|
5802
5768
|
isSelected: function isSelected(option) {
|
|
@@ -5804,7 +5770,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5804
5770
|
},
|
|
5805
5771
|
getSelectedOptionIndex: function getSelectedOptionIndex() {
|
|
5806
5772
|
var selectedOptionIndex = -1;
|
|
5807
|
-
|
|
5808
5773
|
if (this.value != null && this.visibleOptions) {
|
|
5809
5774
|
for (var i = 0; i < this.visibleOptions.length; i++) {
|
|
5810
5775
|
if (ObjectUtils_ObjectUtils.equals(this.value, this.getOptionValue(this.visibleOptions[i]), this.equalityKey)) {
|
|
@@ -5813,7 +5778,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5813
5778
|
}
|
|
5814
5779
|
}
|
|
5815
5780
|
}
|
|
5816
|
-
|
|
5817
5781
|
return selectedOptionIndex;
|
|
5818
5782
|
},
|
|
5819
5783
|
show: function show() {
|
|
@@ -5836,36 +5800,33 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5836
5800
|
case 40:
|
|
5837
5801
|
this.onDownKey(event);
|
|
5838
5802
|
break;
|
|
5839
|
-
//up
|
|
5840
5803
|
|
|
5804
|
+
//up
|
|
5841
5805
|
case 38:
|
|
5842
5806
|
this.onUpKey(event);
|
|
5843
5807
|
break;
|
|
5844
|
-
//space
|
|
5845
5808
|
|
|
5809
|
+
//space
|
|
5846
5810
|
case 32:
|
|
5847
5811
|
if (!this.overlayVisible) {
|
|
5848
5812
|
this.show();
|
|
5849
5813
|
event.preventDefault();
|
|
5850
5814
|
}
|
|
5851
|
-
|
|
5852
5815
|
break;
|
|
5853
|
-
//enter and escape
|
|
5854
5816
|
|
|
5817
|
+
//enter and escape
|
|
5855
5818
|
case 13:
|
|
5856
5819
|
case 27:
|
|
5857
5820
|
if (this.overlayVisible) {
|
|
5858
5821
|
this.hide();
|
|
5859
5822
|
event.preventDefault();
|
|
5860
5823
|
}
|
|
5861
|
-
|
|
5862
5824
|
break;
|
|
5863
|
-
//tab
|
|
5864
5825
|
|
|
5826
|
+
//tab
|
|
5865
5827
|
case 9:
|
|
5866
5828
|
this.hide();
|
|
5867
5829
|
break;
|
|
5868
|
-
|
|
5869
5830
|
default:
|
|
5870
5831
|
this.search(event);
|
|
5871
5832
|
break;
|
|
@@ -5877,19 +5838,18 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5877
5838
|
case 40:
|
|
5878
5839
|
this.onDownKey(event);
|
|
5879
5840
|
break;
|
|
5880
|
-
//up
|
|
5881
5841
|
|
|
5842
|
+
//up
|
|
5882
5843
|
case 38:
|
|
5883
5844
|
this.onUpKey(event);
|
|
5884
5845
|
break;
|
|
5885
|
-
//enter and escape
|
|
5886
5846
|
|
|
5847
|
+
//enter and escape
|
|
5887
5848
|
case 13:
|
|
5888
5849
|
case 27:
|
|
5889
5850
|
this.overlayVisible = false;
|
|
5890
5851
|
event.preventDefault();
|
|
5891
5852
|
break;
|
|
5892
|
-
|
|
5893
5853
|
default:
|
|
5894
5854
|
break;
|
|
5895
5855
|
}
|
|
@@ -5900,43 +5860,35 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5900
5860
|
this.show();
|
|
5901
5861
|
} else {
|
|
5902
5862
|
var nextOption = this.findNextOption(this.getSelectedOptionIndex());
|
|
5903
|
-
|
|
5904
5863
|
if (nextOption) {
|
|
5905
5864
|
this.updateModel(event, this.getOptionValue(nextOption));
|
|
5906
5865
|
}
|
|
5907
5866
|
}
|
|
5908
5867
|
}
|
|
5909
|
-
|
|
5910
5868
|
event.preventDefault();
|
|
5911
5869
|
},
|
|
5912
5870
|
onUpKey: function onUpKey(event) {
|
|
5913
5871
|
if (this.visibleOptions) {
|
|
5914
5872
|
var prevOption = this.findPrevOption(this.getSelectedOptionIndex());
|
|
5915
|
-
|
|
5916
5873
|
if (prevOption) {
|
|
5917
5874
|
this.updateModel(event, this.getOptionValue(prevOption));
|
|
5918
5875
|
}
|
|
5919
5876
|
}
|
|
5920
|
-
|
|
5921
5877
|
event.preventDefault();
|
|
5922
5878
|
},
|
|
5923
5879
|
findNextOption: function findNextOption(index) {
|
|
5924
5880
|
var i = index + 1;
|
|
5925
|
-
|
|
5926
5881
|
if (i === this.visibleOptions.length) {
|
|
5927
5882
|
return null;
|
|
5928
5883
|
}
|
|
5929
|
-
|
|
5930
5884
|
var option = this.visibleOptions[i];
|
|
5931
5885
|
if (this.isOptionDisabled(option)) return this.findNextOption(i);else return option;
|
|
5932
5886
|
},
|
|
5933
5887
|
findPrevOption: function findPrevOption(index) {
|
|
5934
5888
|
var i = index - 1;
|
|
5935
|
-
|
|
5936
5889
|
if (i < 0) {
|
|
5937
5890
|
return null;
|
|
5938
5891
|
}
|
|
5939
|
-
|
|
5940
5892
|
var option = this.visibleOptions[i];
|
|
5941
5893
|
if (this.isOptionDisabled(option)) return this.findPrevOption(i);else return option;
|
|
5942
5894
|
},
|
|
@@ -5947,7 +5899,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5947
5899
|
if (this.disabled) {
|
|
5948
5900
|
return;
|
|
5949
5901
|
}
|
|
5950
|
-
|
|
5951
5902
|
if (DomHandler_DomHandler.hasClass(event.target, 'p-dropdown-clear-icon') || event.target.tagName === 'INPUT') {
|
|
5952
5903
|
return;
|
|
5953
5904
|
} else if (!this.$refs.overlay || !this.$refs.overlay.contains(event.target)) {
|
|
@@ -5957,7 +5908,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5957
5908
|
},
|
|
5958
5909
|
onOptionSelect: function onOptionSelect(event, option) {
|
|
5959
5910
|
var _this = this;
|
|
5960
|
-
|
|
5961
5911
|
var value = this.getOptionValue(option);
|
|
5962
5912
|
this.updateModel(event, value);
|
|
5963
5913
|
this.$refs.focusInput.focus();
|
|
@@ -5975,11 +5925,9 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5975
5925
|
this.bindOutsideClickListener();
|
|
5976
5926
|
this.bindScrollListener();
|
|
5977
5927
|
this.bindResizeListener();
|
|
5978
|
-
|
|
5979
5928
|
if (this.filter) {
|
|
5980
5929
|
this.$refs.filterInput.focus();
|
|
5981
5930
|
}
|
|
5982
|
-
|
|
5983
5931
|
this.$emit('show');
|
|
5984
5932
|
},
|
|
5985
5933
|
onOverlayLeave: function onOverlayLeave() {
|
|
@@ -6005,14 +5953,12 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6005
5953
|
},
|
|
6006
5954
|
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
6007
5955
|
var _this2 = this;
|
|
6008
|
-
|
|
6009
5956
|
if (!this.outsideClickListener) {
|
|
6010
5957
|
this.outsideClickListener = function (event) {
|
|
6011
5958
|
if (_this2.overlayVisible && _this2.$refs.overlay && !_this2.$refs.container.contains(event.target) && !_this2.$refs.overlay.contains(event.target)) {
|
|
6012
5959
|
_this2.hide();
|
|
6013
5960
|
}
|
|
6014
5961
|
};
|
|
6015
|
-
|
|
6016
5962
|
document.addEventListener('click', this.outsideClickListener);
|
|
6017
5963
|
}
|
|
6018
5964
|
},
|
|
@@ -6024,7 +5970,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6024
5970
|
},
|
|
6025
5971
|
bindScrollListener: function bindScrollListener() {
|
|
6026
5972
|
var _this3 = this;
|
|
6027
|
-
|
|
6028
5973
|
if (!this.scrollHandler) {
|
|
6029
5974
|
this.scrollHandler = new ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler(this.$el, function () {
|
|
6030
5975
|
if (_this3.overlayVisible) {
|
|
@@ -6032,7 +5977,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6032
5977
|
}
|
|
6033
5978
|
});
|
|
6034
5979
|
}
|
|
6035
|
-
|
|
6036
5980
|
this.scrollHandler.bindScrollListener();
|
|
6037
5981
|
},
|
|
6038
5982
|
unbindScrollListener: function unbindScrollListener() {
|
|
@@ -6042,14 +5986,12 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6042
5986
|
},
|
|
6043
5987
|
bindResizeListener: function bindResizeListener() {
|
|
6044
5988
|
var _this4 = this;
|
|
6045
|
-
|
|
6046
5989
|
if (!this.resizeListener) {
|
|
6047
5990
|
this.resizeListener = function () {
|
|
6048
5991
|
if (_this4.overlayVisible && !DomHandler_DomHandler.isTouchDevice()) {
|
|
6049
5992
|
_this4.hide();
|
|
6050
5993
|
}
|
|
6051
5994
|
};
|
|
6052
|
-
|
|
6053
5995
|
window.addEventListener('resize', this.resizeListener);
|
|
6054
5996
|
}
|
|
6055
5997
|
},
|
|
@@ -6061,53 +6003,43 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6061
6003
|
},
|
|
6062
6004
|
search: function search(event) {
|
|
6063
6005
|
var _this5 = this;
|
|
6064
|
-
|
|
6065
6006
|
if (!this.visibleOptions) {
|
|
6066
6007
|
return;
|
|
6067
6008
|
}
|
|
6068
|
-
|
|
6069
6009
|
if (this.searchTimeout) {
|
|
6070
6010
|
clearTimeout(this.searchTimeout);
|
|
6071
6011
|
}
|
|
6072
|
-
|
|
6073
6012
|
var char = event.key;
|
|
6074
6013
|
this.previousSearchChar = this.currentSearchChar;
|
|
6075
6014
|
this.currentSearchChar = char;
|
|
6076
6015
|
if (this.previousSearchChar === this.currentSearchChar) this.searchValue = this.currentSearchChar;else this.searchValue = this.searchValue ? this.searchValue + char : char;
|
|
6077
6016
|
var searchIndex = this.getSelectedOptionIndex();
|
|
6078
6017
|
var newOption = this.searchOption(++searchIndex);
|
|
6079
|
-
|
|
6080
6018
|
if (newOption) {
|
|
6081
6019
|
this.updateModel(event, this.getOptionValue(newOption));
|
|
6082
6020
|
}
|
|
6083
|
-
|
|
6084
6021
|
this.searchTimeout = setTimeout(function () {
|
|
6085
6022
|
_this5.searchValue = null;
|
|
6086
6023
|
}, 250);
|
|
6087
6024
|
},
|
|
6088
6025
|
searchOption: function searchOption(index) {
|
|
6089
6026
|
var option;
|
|
6090
|
-
|
|
6091
6027
|
if (this.searchValue) {
|
|
6092
6028
|
option = this.searchOptionInRange(index, this.visibleOptions.length);
|
|
6093
|
-
|
|
6094
6029
|
if (!option) {
|
|
6095
6030
|
option = this.searchOptionInRange(0, index);
|
|
6096
6031
|
}
|
|
6097
6032
|
}
|
|
6098
|
-
|
|
6099
6033
|
return option;
|
|
6100
6034
|
},
|
|
6101
6035
|
searchOptionInRange: function searchOptionInRange(start, end) {
|
|
6102
6036
|
for (var i = start; i < end; i++) {
|
|
6103
6037
|
var opt = this.visibleOptions[i];
|
|
6104
6038
|
var label = this.getOptionLabel(opt).toLocaleLowerCase(this.filterLocale);
|
|
6105
|
-
|
|
6106
6039
|
if (label.startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))) {
|
|
6107
6040
|
return opt;
|
|
6108
6041
|
}
|
|
6109
6042
|
}
|
|
6110
|
-
|
|
6111
6043
|
return null;
|
|
6112
6044
|
},
|
|
6113
6045
|
appendContainer: function appendContainer() {
|
|
@@ -6135,7 +6067,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6135
6067
|
scrollValueInView: function scrollValueInView() {
|
|
6136
6068
|
if (this.$refs.overlay) {
|
|
6137
6069
|
var selectedItem = DomHandler_DomHandler.findSingle(this.$refs.overlay, 'li.p-highlight');
|
|
6138
|
-
|
|
6139
6070
|
if (selectedItem) {
|
|
6140
6071
|
selectedItem.scrollIntoView({
|
|
6141
6072
|
block: 'nearest',
|
|
@@ -6148,7 +6079,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6148
6079
|
computed: {
|
|
6149
6080
|
visibleOptions: function visibleOptions() {
|
|
6150
6081
|
var _this6 = this;
|
|
6151
|
-
|
|
6152
6082
|
if (this.filterValue && this.filterValue.trim().length > 0) return this.options.filter(function (option) {
|
|
6153
6083
|
return _this6.getOptionLabel(option).toLocaleLowerCase(_this6.filterLocale).indexOf(_this6.filterValue.toLocaleLowerCase(_this6.filterLocale)) > -1;
|
|
6154
6084
|
});else return this.options;
|
|
@@ -6186,8 +6116,8 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6186
6116
|
});
|
|
6187
6117
|
// CONCATENATED MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=script&lang=js&
|
|
6188
6118
|
/* harmony default export */ var dropdown_Dropdownvue_type_script_lang_js_ = (Dropdownvue_type_script_lang_js_);
|
|
6189
|
-
// EXTERNAL MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=style&index=0&lang=css&
|
|
6190
|
-
var
|
|
6119
|
+
// EXTERNAL MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=style&index=0&id=0ebc4c6d&prod&lang=css&
|
|
6120
|
+
var Dropdownvue_type_style_index_0_id_0ebc4c6d_prod_lang_css_ = __webpack_require__("3a7c");
|
|
6191
6121
|
|
|
6192
6122
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
6193
6123
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -6196,20 +6126,19 @@ var Dropdownvue_type_style_index_0_lang_css_ = __webpack_require__("bded");
|
|
|
6196
6126
|
// This module is a runtime utility for cleaner component module output and will
|
|
6197
6127
|
// be included in the final webpack user bundle.
|
|
6198
6128
|
|
|
6199
|
-
function normalizeComponent
|
|
6129
|
+
function normalizeComponent(
|
|
6200
6130
|
scriptExports,
|
|
6201
6131
|
render,
|
|
6202
6132
|
staticRenderFns,
|
|
6203
6133
|
functionalTemplate,
|
|
6204
6134
|
injectStyles,
|
|
6205
6135
|
scopeId,
|
|
6206
|
-
moduleIdentifier
|
|
6136
|
+
moduleIdentifier /* server only */,
|
|
6207
6137
|
shadowMode /* vue-cli only */
|
|
6208
6138
|
) {
|
|
6209
6139
|
// Vue.extend constructor export interop
|
|
6210
|
-
var options =
|
|
6211
|
-
? scriptExports.options
|
|
6212
|
-
: scriptExports
|
|
6140
|
+
var options =
|
|
6141
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
6213
6142
|
|
|
6214
6143
|
// render functions
|
|
6215
6144
|
if (render) {
|
|
@@ -6229,7 +6158,8 @@ function normalizeComponent (
|
|
|
6229
6158
|
}
|
|
6230
6159
|
|
|
6231
6160
|
var hook
|
|
6232
|
-
if (moduleIdentifier) {
|
|
6161
|
+
if (moduleIdentifier) {
|
|
6162
|
+
// server build
|
|
6233
6163
|
hook = function (context) {
|
|
6234
6164
|
// 2.3 injection
|
|
6235
6165
|
context =
|
|
@@ -6255,11 +6185,11 @@ function normalizeComponent (
|
|
|
6255
6185
|
} else if (injectStyles) {
|
|
6256
6186
|
hook = shadowMode
|
|
6257
6187
|
? function () {
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6188
|
+
injectStyles.call(
|
|
6189
|
+
this,
|
|
6190
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
6191
|
+
)
|
|
6192
|
+
}
|
|
6263
6193
|
: injectStyles
|
|
6264
6194
|
}
|
|
6265
6195
|
|
|
@@ -6270,16 +6200,14 @@ function normalizeComponent (
|
|
|
6270
6200
|
options._injectStyles = hook
|
|
6271
6201
|
// register for functional component in vue file
|
|
6272
6202
|
var originalRender = options.render
|
|
6273
|
-
options.render = function renderWithStyleInjection
|
|
6203
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
6274
6204
|
hook.call(context)
|
|
6275
6205
|
return originalRender(h, context)
|
|
6276
6206
|
}
|
|
6277
6207
|
} else {
|
|
6278
6208
|
// inject component registration as beforeCreate hook
|
|
6279
6209
|
var existing = options.beforeCreate
|
|
6280
|
-
options.beforeCreate = existing
|
|
6281
|
-
? [].concat(existing, hook)
|
|
6282
|
-
: [hook]
|
|
6210
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
6283
6211
|
}
|
|
6284
6212
|
}
|
|
6285
6213
|
|
|
@@ -6317,6 +6245,22 @@ var component = normalizeComponent(
|
|
|
6317
6245
|
|
|
6318
6246
|
|
|
6319
6247
|
|
|
6248
|
+
/***/ }),
|
|
6249
|
+
|
|
6250
|
+
/***/ "fe6a":
|
|
6251
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6252
|
+
|
|
6253
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
6254
|
+
|
|
6255
|
+
// load the styles
|
|
6256
|
+
var content = __webpack_require__("5613");
|
|
6257
|
+
if(content.__esModule) content = content.default;
|
|
6258
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
6259
|
+
if(content.locals) module.exports = content.locals;
|
|
6260
|
+
// add the styles to the DOM
|
|
6261
|
+
var add = __webpack_require__("499e").default
|
|
6262
|
+
var update = add("546a818b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
6263
|
+
|
|
6320
6264
|
/***/ })
|
|
6321
6265
|
|
|
6322
6266
|
/******/ })["default"];
|