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
|
@@ -1612,6 +1612,17 @@ module.exports = function (name) {
|
|
|
1612
1612
|
};
|
|
1613
1613
|
|
|
1614
1614
|
|
|
1615
|
+
/***/ }),
|
|
1616
|
+
|
|
1617
|
+
/***/ "3a7c":
|
|
1618
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1619
|
+
|
|
1620
|
+
"use strict";
|
|
1621
|
+
/* 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");
|
|
1622
|
+
/* 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__);
|
|
1623
|
+
/* unused harmony reexport * */
|
|
1624
|
+
|
|
1625
|
+
|
|
1615
1626
|
/***/ }),
|
|
1616
1627
|
|
|
1617
1628
|
/***/ "3b2b":
|
|
@@ -2245,28 +2256,27 @@ module.exports = function (key) {
|
|
|
2245
2256
|
|
|
2246
2257
|
/***/ }),
|
|
2247
2258
|
|
|
2248
|
-
/***/ "
|
|
2249
|
-
/***/ (function(module, exports) {
|
|
2259
|
+
/***/ "5613":
|
|
2260
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2250
2261
|
|
|
2251
|
-
|
|
2252
|
-
|
|
2262
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
2263
|
+
// imports
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
// module
|
|
2267
|
+
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%}", ""]);
|
|
2268
|
+
|
|
2269
|
+
// exports
|
|
2253
2270
|
|
|
2254
2271
|
|
|
2255
2272
|
/***/ }),
|
|
2256
2273
|
|
|
2257
|
-
/***/ "
|
|
2258
|
-
/***/ (function(module, exports
|
|
2274
|
+
/***/ "584a":
|
|
2275
|
+
/***/ (function(module, exports) {
|
|
2259
2276
|
|
|
2260
|
-
|
|
2277
|
+
var core = module.exports = { version: '2.6.12' };
|
|
2278
|
+
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
2261
2279
|
|
|
2262
|
-
// load the styles
|
|
2263
|
-
var content = __webpack_require__("edaf");
|
|
2264
|
-
if(content.__esModule) content = content.default;
|
|
2265
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2266
|
-
if(content.locals) module.exports = content.locals;
|
|
2267
|
-
// add the styles to the DOM
|
|
2268
|
-
var add = __webpack_require__("499e").default
|
|
2269
|
-
var update = add("0b056525", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2270
2280
|
|
|
2271
2281
|
/***/ }),
|
|
2272
2282
|
|
|
@@ -3823,17 +3833,6 @@ module.exports = function (it) {
|
|
|
3823
3833
|
module.exports = true;
|
|
3824
3834
|
|
|
3825
3835
|
|
|
3826
|
-
/***/ }),
|
|
3827
|
-
|
|
3828
|
-
/***/ "bded":
|
|
3829
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3830
|
-
|
|
3831
|
-
"use strict";
|
|
3832
|
-
/* 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");
|
|
3833
|
-
/* 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__);
|
|
3834
|
-
/* unused harmony reexport * */
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
3836
|
/***/ }),
|
|
3838
3837
|
|
|
3839
3838
|
/***/ "be13":
|
|
@@ -4389,21 +4388,6 @@ var meta = module.exports = {
|
|
|
4389
4388
|
};
|
|
4390
4389
|
|
|
4391
4390
|
|
|
4392
|
-
/***/ }),
|
|
4393
|
-
|
|
4394
|
-
/***/ "edaf":
|
|
4395
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4396
|
-
|
|
4397
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
4398
|
-
// imports
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
// module
|
|
4402
|
-
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%}", ""]);
|
|
4403
|
-
|
|
4404
|
-
// exports
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
4391
|
/***/ }),
|
|
4408
4392
|
|
|
4409
4393
|
/***/ "f1ae":
|
|
@@ -4554,10 +4538,154 @@ if (typeof window !== 'undefined') {
|
|
|
4554
4538
|
// Indicate to webpack that this file can be concatenated
|
|
4555
4539
|
/* harmony default export */ var setPublicPath = (null);
|
|
4556
4540
|
|
|
4557
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4558
|
-
var render = function () {
|
|
4559
|
-
var
|
|
4560
|
-
|
|
4541
|
+
// 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&
|
|
4542
|
+
var render = function render() {
|
|
4543
|
+
var _vm = this,
|
|
4544
|
+
_c = _vm._self._c;
|
|
4545
|
+
return _c('div', {
|
|
4546
|
+
ref: "container",
|
|
4547
|
+
class: _vm.containerClass,
|
|
4548
|
+
on: {
|
|
4549
|
+
"click": function click($event) {
|
|
4550
|
+
return _vm.onClick($event);
|
|
4551
|
+
}
|
|
4552
|
+
}
|
|
4553
|
+
}, [_c('div', {
|
|
4554
|
+
staticClass: "p-hidden-accessible"
|
|
4555
|
+
}, [_c('input', {
|
|
4556
|
+
ref: "focusInput",
|
|
4557
|
+
attrs: {
|
|
4558
|
+
"type": "text",
|
|
4559
|
+
"id": _vm.inputId,
|
|
4560
|
+
"readonly": "",
|
|
4561
|
+
"disabled": _vm.disabled,
|
|
4562
|
+
"tabindex": _vm.tabindex,
|
|
4563
|
+
"aria-haspopup": "listbox",
|
|
4564
|
+
"aria-expanded": _vm.overlayVisible,
|
|
4565
|
+
"aria-labelledby": _vm.ariaLabelledBy
|
|
4566
|
+
},
|
|
4567
|
+
on: {
|
|
4568
|
+
"focus": _vm.onFocus,
|
|
4569
|
+
"blur": _vm.onBlur,
|
|
4570
|
+
"keydown": _vm.onKeyDown
|
|
4571
|
+
}
|
|
4572
|
+
})]), _vm.editable ? _c('input', {
|
|
4573
|
+
staticClass: "p-dropdown-label p-inputtext",
|
|
4574
|
+
attrs: {
|
|
4575
|
+
"type": "text",
|
|
4576
|
+
"disabled": _vm.disabled,
|
|
4577
|
+
"placeholder": _vm.placeholder,
|
|
4578
|
+
"aria-haspopup": "listbox",
|
|
4579
|
+
"aria-expanded": _vm.overlayVisible
|
|
4580
|
+
},
|
|
4581
|
+
domProps: {
|
|
4582
|
+
"value": _vm.editableInputValue
|
|
4583
|
+
},
|
|
4584
|
+
on: {
|
|
4585
|
+
"focus": _vm.onFocus,
|
|
4586
|
+
"blur": _vm.onBlur,
|
|
4587
|
+
"input": _vm.onEditableInput
|
|
4588
|
+
}
|
|
4589
|
+
}) : _vm._e(), !_vm.editable ? _c('span', {
|
|
4590
|
+
class: _vm.labelClass
|
|
4591
|
+
}, [_vm._t("value", function () {
|
|
4592
|
+
return [_vm._v("\n " + _vm._s(_vm.label) + "\n ")];
|
|
4593
|
+
}, {
|
|
4594
|
+
"value": _vm.value,
|
|
4595
|
+
"placeholder": _vm.placeholder
|
|
4596
|
+
})], 2) : _vm._e(), _vm.showClear && _vm.value != null ? _c('i', {
|
|
4597
|
+
staticClass: "p-dropdown-clear-icon pi pi-times",
|
|
4598
|
+
on: {
|
|
4599
|
+
"click": function click($event) {
|
|
4600
|
+
return _vm.onClearClick($event);
|
|
4601
|
+
}
|
|
4602
|
+
}
|
|
4603
|
+
}) : _vm._e(), _c('div', {
|
|
4604
|
+
staticClass: "p-dropdown-trigger",
|
|
4605
|
+
attrs: {
|
|
4606
|
+
"role": "button",
|
|
4607
|
+
"aria-haspopup": "listbox",
|
|
4608
|
+
"aria-expanded": _vm.overlayVisible
|
|
4609
|
+
}
|
|
4610
|
+
}, [_vm._t("indicator", function () {
|
|
4611
|
+
return [_c('span', {
|
|
4612
|
+
staticClass: "p-dropdown-trigger-icon pi pi-chevron-down"
|
|
4613
|
+
})];
|
|
4614
|
+
})], 2), _c('transition', {
|
|
4615
|
+
attrs: {
|
|
4616
|
+
"name": "p-connected-overlay"
|
|
4617
|
+
},
|
|
4618
|
+
on: {
|
|
4619
|
+
"enter": _vm.onOverlayEnter,
|
|
4620
|
+
"leave": _vm.onOverlayLeave
|
|
4621
|
+
}
|
|
4622
|
+
}, [_vm.overlayVisible ? _c('div', {
|
|
4623
|
+
ref: "overlay",
|
|
4624
|
+
staticClass: "p-dropdown-panel p-component"
|
|
4625
|
+
}, [_vm.filter ? _c('div', {
|
|
4626
|
+
staticClass: "p-dropdown-header"
|
|
4627
|
+
}, [_c('div', {
|
|
4628
|
+
staticClass: "p-dropdown-filter-container"
|
|
4629
|
+
}, [_c('input', {
|
|
4630
|
+
ref: "filterInput",
|
|
4631
|
+
staticClass: "p-dropdown-filter p-inputtext p-component",
|
|
4632
|
+
attrs: {
|
|
4633
|
+
"type": "text",
|
|
4634
|
+
"autoComplete": "off",
|
|
4635
|
+
"placeholder": _vm.filterPlaceholder
|
|
4636
|
+
},
|
|
4637
|
+
domProps: {
|
|
4638
|
+
"value": _vm.filterValue
|
|
4639
|
+
},
|
|
4640
|
+
on: {
|
|
4641
|
+
"keydown": _vm.onFilterKeyDown,
|
|
4642
|
+
"input": _vm.onFilterChange
|
|
4643
|
+
}
|
|
4644
|
+
}), _c('span', {
|
|
4645
|
+
staticClass: "p-dropdown-filter-icon pi pi-search"
|
|
4646
|
+
})])]) : _vm._e(), _c('div', {
|
|
4647
|
+
ref: "itemsWrapper",
|
|
4648
|
+
staticClass: "p-dropdown-items-wrapper",
|
|
4649
|
+
style: {
|
|
4650
|
+
'max-height': _vm.scrollHeight
|
|
4651
|
+
}
|
|
4652
|
+
}, [_c('ul', {
|
|
4653
|
+
staticClass: "p-dropdown-items",
|
|
4654
|
+
attrs: {
|
|
4655
|
+
"role": "listbox"
|
|
4656
|
+
}
|
|
4657
|
+
}, [_vm._l(_vm.visibleOptions, function (option, i) {
|
|
4658
|
+
return _c('li', {
|
|
4659
|
+
directives: [{
|
|
4660
|
+
name: "ripple",
|
|
4661
|
+
rawName: "v-ripple"
|
|
4662
|
+
}],
|
|
4663
|
+
key: _vm.getOptionRenderKey(option),
|
|
4664
|
+
class: ['p-dropdown-item', {
|
|
4665
|
+
'p-highlight': _vm.isSelected(option),
|
|
4666
|
+
'p-disabled': _vm.isOptionDisabled(option)
|
|
4667
|
+
}],
|
|
4668
|
+
attrs: {
|
|
4669
|
+
"aria-label": _vm.getOptionLabel(option),
|
|
4670
|
+
"role": "option",
|
|
4671
|
+
"aria-selected": _vm.isSelected(option)
|
|
4672
|
+
},
|
|
4673
|
+
on: {
|
|
4674
|
+
"click": function click($event) {
|
|
4675
|
+
return _vm.onOptionSelect($event, option);
|
|
4676
|
+
}
|
|
4677
|
+
}
|
|
4678
|
+
}, [_vm._t("option", function () {
|
|
4679
|
+
return [_vm._v("\n " + _vm._s(_vm.getOptionLabel(option)) + "\n ")];
|
|
4680
|
+
}, {
|
|
4681
|
+
"option": option,
|
|
4682
|
+
"index": i
|
|
4683
|
+
})], 2);
|
|
4684
|
+
}), _vm.filterValue && (!_vm.visibleOptions || _vm.visibleOptions && _vm.visibleOptions.length === 0) ? _c('li', {
|
|
4685
|
+
staticClass: "p-dropdown-empty-message"
|
|
4686
|
+
}, [_vm._v(_vm._s(_vm.emptyFilterMessage))]) : _vm._e()], 2)])]) : _vm._e()])], 1);
|
|
4687
|
+
};
|
|
4688
|
+
var staticRenderFns = [];
|
|
4561
4689
|
|
|
4562
4690
|
// CONCATENATED MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=template&id=0ebc4c6d&
|
|
4563
4691
|
|
|
@@ -4597,26 +4725,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4597
4725
|
|
|
4598
4726
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4599
4727
|
|
|
4600
|
-
|
|
4601
4728
|
function _defineProperties(target, props) {
|
|
4602
4729
|
for (var i = 0; i < props.length; i++) {
|
|
4603
4730
|
var descriptor = props[i];
|
|
4604
4731
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4605
4732
|
descriptor.configurable = true;
|
|
4606
4733
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4607
|
-
|
|
4608
4734
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4609
4735
|
}
|
|
4610
4736
|
}
|
|
4611
|
-
|
|
4612
4737
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4613
4738
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4614
4739
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4615
|
-
|
|
4616
4740
|
define_property_default()(Constructor, "prototype", {
|
|
4617
4741
|
writable: false
|
|
4618
4742
|
});
|
|
4619
|
-
|
|
4620
4743
|
return Constructor;
|
|
4621
4744
|
}
|
|
4622
4745
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
@@ -4644,18 +4767,13 @@ var es6_regexp_split = __webpack_require__("28a5");
|
|
|
4644
4767
|
|
|
4645
4768
|
|
|
4646
4769
|
|
|
4647
|
-
|
|
4648
4770
|
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; } } }; }
|
|
4649
|
-
|
|
4650
4771
|
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); }
|
|
4651
|
-
|
|
4652
4772
|
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; }
|
|
4653
|
-
|
|
4654
4773
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4655
4774
|
function DomHandler() {
|
|
4656
4775
|
_classCallCheck(this, DomHandler);
|
|
4657
4776
|
}
|
|
4658
|
-
|
|
4659
4777
|
_createClass(DomHandler, null, [{
|
|
4660
4778
|
key: "innerWidth",
|
|
4661
4779
|
value: function innerWidth(el) {
|
|
@@ -4689,12 +4807,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4689
4807
|
value: function getOuterWidth(el, margin) {
|
|
4690
4808
|
if (el) {
|
|
4691
4809
|
var width = el.offsetWidth;
|
|
4692
|
-
|
|
4693
4810
|
if (margin) {
|
|
4694
4811
|
var style = getComputedStyle(el);
|
|
4695
4812
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4696
4813
|
}
|
|
4697
|
-
|
|
4698
4814
|
return width;
|
|
4699
4815
|
} else {
|
|
4700
4816
|
return 0;
|
|
@@ -4705,12 +4821,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4705
4821
|
value: function getOuterHeight(el, margin) {
|
|
4706
4822
|
if (el) {
|
|
4707
4823
|
var height = el.offsetHeight;
|
|
4708
|
-
|
|
4709
4824
|
if (margin) {
|
|
4710
4825
|
var style = getComputedStyle(el);
|
|
4711
4826
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4712
4827
|
}
|
|
4713
|
-
|
|
4714
4828
|
return height;
|
|
4715
4829
|
} else {
|
|
4716
4830
|
return 0;
|
|
@@ -4721,12 +4835,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4721
4835
|
value: function getClientHeight(el, margin) {
|
|
4722
4836
|
if (el) {
|
|
4723
4837
|
var height = el.clientHeight;
|
|
4724
|
-
|
|
4725
4838
|
if (margin) {
|
|
4726
4839
|
var style = getComputedStyle(el);
|
|
4727
4840
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4728
4841
|
}
|
|
4729
|
-
|
|
4730
4842
|
return height;
|
|
4731
4843
|
} else {
|
|
4732
4844
|
return 0;
|
|
@@ -4736,11 +4848,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4736
4848
|
key: "getViewport",
|
|
4737
4849
|
value: function getViewport() {
|
|
4738
4850
|
var win = window,
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4851
|
+
d = document,
|
|
4852
|
+
e = d.documentElement,
|
|
4853
|
+
g = d.getElementsByTagName('body')[0],
|
|
4854
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4855
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4744
4856
|
return {
|
|
4745
4857
|
width: w,
|
|
4746
4858
|
height: h
|
|
@@ -4771,12 +4883,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4771
4883
|
value: function index(element) {
|
|
4772
4884
|
var children = element.parentNode.childNodes;
|
|
4773
4885
|
var num = 0;
|
|
4774
|
-
|
|
4775
4886
|
for (var i = 0; i < children.length; i++) {
|
|
4776
4887
|
if (children[i] === element) return num;
|
|
4777
4888
|
if (children[i].nodeType === 1) num++;
|
|
4778
4889
|
}
|
|
4779
|
-
|
|
4780
4890
|
return -1;
|
|
4781
4891
|
}
|
|
4782
4892
|
}, {
|
|
@@ -4784,13 +4894,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4784
4894
|
value: function addMultipleClasses(element, className) {
|
|
4785
4895
|
if (element.classList) {
|
|
4786
4896
|
var styles = className.split(' ');
|
|
4787
|
-
|
|
4788
4897
|
for (var i = 0; i < styles.length; i++) {
|
|
4789
4898
|
element.classList.add(styles[i]);
|
|
4790
4899
|
}
|
|
4791
4900
|
} else {
|
|
4792
4901
|
var _styles = className.split(' ');
|
|
4793
|
-
|
|
4794
4902
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4795
4903
|
element.className += ' ' + _styles[_i];
|
|
4796
4904
|
}
|
|
@@ -4812,7 +4920,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4812
4920
|
if (element) {
|
|
4813
4921
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4814
4922
|
}
|
|
4815
|
-
|
|
4816
4923
|
return false;
|
|
4817
4924
|
}
|
|
4818
4925
|
}, {
|
|
@@ -4857,11 +4964,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4857
4964
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4858
4965
|
var viewport = this.getViewport();
|
|
4859
4966
|
var top, left;
|
|
4860
|
-
|
|
4861
4967
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4862
4968
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4863
4969
|
element.style.transformOrigin = 'bottom';
|
|
4864
|
-
|
|
4865
4970
|
if (top < 0) {
|
|
4866
4971
|
top = windowScrollTop;
|
|
4867
4972
|
}
|
|
@@ -4869,7 +4974,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4869
4974
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4870
4975
|
element.style.transformOrigin = 'top';
|
|
4871
4976
|
}
|
|
4872
|
-
|
|
4873
4977
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4874
4978
|
element.style.top = top + 'px';
|
|
4875
4979
|
element.style.left = left + 'px';
|
|
@@ -4885,11 +4989,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4885
4989
|
var targetOffset = target.getBoundingClientRect();
|
|
4886
4990
|
var viewport = this.getViewport();
|
|
4887
4991
|
var top, left;
|
|
4888
|
-
|
|
4889
4992
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4890
4993
|
top = -1 * elementDimensions.height;
|
|
4891
4994
|
element.style.transformOrigin = 'bottom';
|
|
4892
|
-
|
|
4893
4995
|
if (targetOffset.top + top < 0) {
|
|
4894
4996
|
top = -1 * targetOffset.top;
|
|
4895
4997
|
}
|
|
@@ -4897,7 +4999,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4897
4999
|
top = targetHeight;
|
|
4898
5000
|
element.style.transformOrigin = 'top';
|
|
4899
5001
|
}
|
|
4900
|
-
|
|
4901
5002
|
if (elementDimensions.width > viewport.width) {
|
|
4902
5003
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4903
5004
|
left = targetOffset.left * -1;
|
|
@@ -4908,7 +5009,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4908
5009
|
// element fits on screen (align with target)
|
|
4909
5010
|
left = 0;
|
|
4910
5011
|
}
|
|
4911
|
-
|
|
4912
5012
|
element.style.top = top + 'px';
|
|
4913
5013
|
element.style.left = left + 'px';
|
|
4914
5014
|
}
|
|
@@ -4922,35 +5022,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4922
5022
|
key: "getScrollableParents",
|
|
4923
5023
|
value: function getScrollableParents(element) {
|
|
4924
5024
|
var scrollableParents = [];
|
|
4925
|
-
|
|
4926
5025
|
if (element) {
|
|
4927
5026
|
var parents = this.getParents(element);
|
|
4928
5027
|
var overflowRegex = /(auto|scroll)/;
|
|
4929
|
-
|
|
4930
5028
|
var overflowCheck = function overflowCheck(node) {
|
|
4931
5029
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4932
5030
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4933
5031
|
};
|
|
4934
|
-
|
|
4935
5032
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4936
|
-
|
|
4937
|
-
|
|
5033
|
+
_step;
|
|
4938
5034
|
try {
|
|
4939
5035
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4940
5036
|
var parent = _step.value;
|
|
4941
5037
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4942
|
-
|
|
4943
5038
|
if (scrollSelectors) {
|
|
4944
5039
|
var selectors = scrollSelectors.split(',');
|
|
4945
|
-
|
|
4946
5040
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
4947
|
-
|
|
4948
|
-
|
|
5041
|
+
_step2;
|
|
4949
5042
|
try {
|
|
4950
5043
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4951
5044
|
var selector = _step2.value;
|
|
4952
5045
|
var el = this.findSingle(parent, selector);
|
|
4953
|
-
|
|
4954
5046
|
if (el && overflowCheck(el)) {
|
|
4955
5047
|
scrollableParents.push(el);
|
|
4956
5048
|
}
|
|
@@ -4968,7 +5060,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4968
5060
|
_iterator.f();
|
|
4969
5061
|
}
|
|
4970
5062
|
}
|
|
4971
|
-
|
|
4972
5063
|
return scrollableParents;
|
|
4973
5064
|
}
|
|
4974
5065
|
}, {
|
|
@@ -5009,34 +5100,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5009
5100
|
element.style.opacity = 0;
|
|
5010
5101
|
var last = +new Date();
|
|
5011
5102
|
var opacity = 0;
|
|
5012
|
-
|
|
5013
5103
|
var tick = function tick() {
|
|
5014
5104
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5015
5105
|
element.style.opacity = opacity;
|
|
5016
5106
|
last = +new Date();
|
|
5017
|
-
|
|
5018
5107
|
if (+opacity < 1) {
|
|
5019
5108
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5020
5109
|
}
|
|
5021
5110
|
};
|
|
5022
|
-
|
|
5023
5111
|
tick();
|
|
5024
5112
|
}
|
|
5025
5113
|
}, {
|
|
5026
5114
|
key: "fadeOut",
|
|
5027
5115
|
value: function fadeOut(element, ms) {
|
|
5028
5116
|
var opacity = 1,
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5117
|
+
interval = 50,
|
|
5118
|
+
duration = ms,
|
|
5119
|
+
gap = interval / duration;
|
|
5032
5120
|
var fading = setInterval(function () {
|
|
5033
5121
|
opacity -= gap;
|
|
5034
|
-
|
|
5035
5122
|
if (opacity <= 0) {
|
|
5036
5123
|
opacity = 0;
|
|
5037
5124
|
clearInterval(fading);
|
|
5038
5125
|
}
|
|
5039
|
-
|
|
5040
5126
|
element.style.opacity = opacity;
|
|
5041
5127
|
}, interval);
|
|
5042
5128
|
}
|
|
@@ -5063,7 +5149,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5063
5149
|
var scroll = container.scrollTop;
|
|
5064
5150
|
var elementHeight = container.clientHeight;
|
|
5065
5151
|
var itemHeight = this.getOuterHeight(item);
|
|
5066
|
-
|
|
5067
5152
|
if (offset < 0) {
|
|
5068
5153
|
container.scrollTop = scroll + offset;
|
|
5069
5154
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5082,7 +5167,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5082
5167
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5083
5168
|
try {
|
|
5084
5169
|
document['selection'].empty();
|
|
5085
|
-
} catch (error) {
|
|
5170
|
+
} catch (error) {
|
|
5171
|
+
//ignore IE bug
|
|
5086
5172
|
}
|
|
5087
5173
|
}
|
|
5088
5174
|
}
|
|
@@ -5104,19 +5190,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5104
5190
|
if (!this.browser) {
|
|
5105
5191
|
var matched = this.resolveUserAgent();
|
|
5106
5192
|
this.browser = {};
|
|
5107
|
-
|
|
5108
5193
|
if (matched.browser) {
|
|
5109
5194
|
this.browser[matched.browser] = true;
|
|
5110
5195
|
this.browser['version'] = matched.version;
|
|
5111
5196
|
}
|
|
5112
|
-
|
|
5113
5197
|
if (this.browser['chrome']) {
|
|
5114
5198
|
this.browser['webkit'] = true;
|
|
5115
5199
|
} else if (this.browser['webkit']) {
|
|
5116
5200
|
this.browser['safari'] = true;
|
|
5117
5201
|
}
|
|
5118
5202
|
}
|
|
5119
|
-
|
|
5120
5203
|
return this.browser;
|
|
5121
5204
|
}
|
|
5122
5205
|
}, {
|
|
@@ -5144,10 +5227,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5144
5227
|
value: function getFocusableElements(element) {
|
|
5145
5228
|
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])");
|
|
5146
5229
|
var visibleFocusableElements = [];
|
|
5147
|
-
|
|
5148
5230
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5149
|
-
|
|
5150
|
-
|
|
5231
|
+
_step3;
|
|
5151
5232
|
try {
|
|
5152
5233
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5153
5234
|
var focusableElement = _step3.value;
|
|
@@ -5158,7 +5239,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5158
5239
|
} finally {
|
|
5159
5240
|
_iterator3.f();
|
|
5160
5241
|
}
|
|
5161
|
-
|
|
5162
5242
|
return visibleFocusableElements;
|
|
5163
5243
|
}
|
|
5164
5244
|
}, {
|
|
@@ -5201,31 +5281,24 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5201
5281
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5202
5282
|
}
|
|
5203
5283
|
}]);
|
|
5204
|
-
|
|
5205
5284
|
return DomHandler;
|
|
5206
5285
|
}();
|
|
5207
5286
|
|
|
5208
|
-
|
|
5209
5287
|
// CONCATENATED MODULE: ./src/components/utils/ConnectedOverlayScrollHandler.js
|
|
5210
5288
|
|
|
5211
5289
|
|
|
5212
5290
|
|
|
5213
|
-
|
|
5214
5291
|
var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
|
|
5215
5292
|
function ConnectedOverlayScrollHandler(element) {
|
|
5216
5293
|
var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
5217
|
-
|
|
5218
5294
|
_classCallCheck(this, ConnectedOverlayScrollHandler);
|
|
5219
|
-
|
|
5220
5295
|
this.element = element;
|
|
5221
5296
|
this.listener = listener;
|
|
5222
5297
|
}
|
|
5223
|
-
|
|
5224
5298
|
_createClass(ConnectedOverlayScrollHandler, [{
|
|
5225
5299
|
key: "bindScrollListener",
|
|
5226
5300
|
value: function bindScrollListener() {
|
|
5227
5301
|
this.scrollableParents = DomHandler_DomHandler.getScrollableParents(this.element);
|
|
5228
|
-
|
|
5229
5302
|
for (var i = 0; i < this.scrollableParents.length; i++) {
|
|
5230
5303
|
this.scrollableParents[i].addEventListener('scroll', this.listener);
|
|
5231
5304
|
}
|
|
@@ -5248,11 +5321,9 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
5248
5321
|
this.scrollableParents = null;
|
|
5249
5322
|
}
|
|
5250
5323
|
}]);
|
|
5251
|
-
|
|
5252
5324
|
return ConnectedOverlayScrollHandler;
|
|
5253
5325
|
}();
|
|
5254
5326
|
|
|
5255
|
-
|
|
5256
5327
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
5257
5328
|
var web_dom_iterable = __webpack_require__("ac6a");
|
|
5258
5329
|
|
|
@@ -5299,18 +5370,13 @@ function _typeof(obj) {
|
|
|
5299
5370
|
|
|
5300
5371
|
|
|
5301
5372
|
|
|
5302
|
-
|
|
5303
5373
|
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; } } }; }
|
|
5304
|
-
|
|
5305
5374
|
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); }
|
|
5306
|
-
|
|
5307
5375
|
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; }
|
|
5308
|
-
|
|
5309
5376
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
5310
5377
|
function ObjectUtils() {
|
|
5311
5378
|
_classCallCheck(this, ObjectUtils);
|
|
5312
5379
|
}
|
|
5313
|
-
|
|
5314
5380
|
_createClass(ObjectUtils, null, [{
|
|
5315
5381
|
key: "equals",
|
|
5316
5382
|
value: function equals(obj1, obj2, field) {
|
|
@@ -5320,50 +5386,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5320
5386
|
key: "deepEquals",
|
|
5321
5387
|
value: function deepEquals(a, b) {
|
|
5322
5388
|
if (a === b) return true;
|
|
5323
|
-
|
|
5324
5389
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5325
5390
|
var arrA = Array.isArray(a),
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5391
|
+
arrB = Array.isArray(b),
|
|
5392
|
+
i,
|
|
5393
|
+
length,
|
|
5394
|
+
key;
|
|
5331
5395
|
if (arrA && arrB) {
|
|
5332
5396
|
length = a.length;
|
|
5333
5397
|
if (length != b.length) return false;
|
|
5334
|
-
|
|
5335
5398
|
for (i = length; i-- !== 0;) {
|
|
5336
5399
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
5337
5400
|
}
|
|
5338
|
-
|
|
5339
5401
|
return true;
|
|
5340
5402
|
}
|
|
5341
|
-
|
|
5342
5403
|
if (arrA != arrB) return false;
|
|
5343
5404
|
var dateA = a instanceof Date,
|
|
5344
|
-
|
|
5405
|
+
dateB = b instanceof Date;
|
|
5345
5406
|
if (dateA != dateB) return false;
|
|
5346
5407
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
5347
5408
|
var regexpA = a instanceof RegExp,
|
|
5348
|
-
|
|
5409
|
+
regexpB = b instanceof RegExp;
|
|
5349
5410
|
if (regexpA != regexpB) return false;
|
|
5350
5411
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
5351
5412
|
var keys = Object.keys(a);
|
|
5352
5413
|
length = keys.length;
|
|
5353
5414
|
if (length !== Object.keys(b).length) return false;
|
|
5354
|
-
|
|
5355
5415
|
for (i = length; i-- !== 0;) {
|
|
5356
5416
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
5357
5417
|
}
|
|
5358
|
-
|
|
5359
5418
|
for (i = length; i-- !== 0;) {
|
|
5360
5419
|
key = keys[i];
|
|
5361
5420
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
5362
5421
|
}
|
|
5363
|
-
|
|
5364
5422
|
return true;
|
|
5365
5423
|
}
|
|
5366
|
-
|
|
5367
5424
|
return a !== a && b !== b;
|
|
5368
5425
|
}
|
|
5369
5426
|
}, {
|
|
@@ -5377,15 +5434,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5377
5434
|
} else {
|
|
5378
5435
|
var fields = field.split('.');
|
|
5379
5436
|
var value = data;
|
|
5380
|
-
|
|
5381
5437
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
5382
5438
|
if (value == null) {
|
|
5383
5439
|
return null;
|
|
5384
5440
|
}
|
|
5385
|
-
|
|
5386
5441
|
value = value[fields[i]];
|
|
5387
5442
|
}
|
|
5388
|
-
|
|
5389
5443
|
return value;
|
|
5390
5444
|
}
|
|
5391
5445
|
} else {
|
|
@@ -5401,22 +5455,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5401
5455
|
key: "filter",
|
|
5402
5456
|
value: function filter(value, fields, filterValue) {
|
|
5403
5457
|
var filteredItems = [];
|
|
5404
|
-
|
|
5405
5458
|
if (value) {
|
|
5406
5459
|
var _iterator = ObjectUtils_createForOfIteratorHelper(value),
|
|
5407
|
-
|
|
5408
|
-
|
|
5460
|
+
_step;
|
|
5409
5461
|
try {
|
|
5410
5462
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5411
5463
|
var item = _step.value;
|
|
5412
|
-
|
|
5413
5464
|
var _iterator2 = ObjectUtils_createForOfIteratorHelper(fields),
|
|
5414
|
-
|
|
5415
|
-
|
|
5465
|
+
_step2;
|
|
5416
5466
|
try {
|
|
5417
5467
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5418
5468
|
var field = _step2.value;
|
|
5419
|
-
|
|
5420
5469
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
5421
5470
|
filteredItems.push(item);
|
|
5422
5471
|
break;
|
|
@@ -5434,23 +5483,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5434
5483
|
_iterator.f();
|
|
5435
5484
|
}
|
|
5436
5485
|
}
|
|
5437
|
-
|
|
5438
5486
|
return filteredItems;
|
|
5439
5487
|
}
|
|
5440
5488
|
}, {
|
|
5441
5489
|
key: "reorderArray",
|
|
5442
5490
|
value: function reorderArray(value, from, to) {
|
|
5443
5491
|
var target;
|
|
5444
|
-
|
|
5445
5492
|
if (value && from !== to) {
|
|
5446
5493
|
if (to >= value.length) {
|
|
5447
5494
|
target = to - value.length;
|
|
5448
|
-
|
|
5449
5495
|
while (target-- + 1) {
|
|
5450
5496
|
value.push(undefined);
|
|
5451
5497
|
}
|
|
5452
5498
|
}
|
|
5453
|
-
|
|
5454
5499
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
5455
5500
|
}
|
|
5456
5501
|
}
|
|
@@ -5458,7 +5503,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5458
5503
|
key: "findIndexInList",
|
|
5459
5504
|
value: function findIndexInList(value, list) {
|
|
5460
5505
|
var index = -1;
|
|
5461
|
-
|
|
5462
5506
|
if (list) {
|
|
5463
5507
|
for (var i = 0; i < list.length; i++) {
|
|
5464
5508
|
if (list[i] === value) {
|
|
@@ -5467,7 +5511,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5467
5511
|
}
|
|
5468
5512
|
}
|
|
5469
5513
|
}
|
|
5470
|
-
|
|
5471
5514
|
return index;
|
|
5472
5515
|
}
|
|
5473
5516
|
}, {
|
|
@@ -5475,8 +5518,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5475
5518
|
value: function contains(value, list) {
|
|
5476
5519
|
if (value != null && list && list.length) {
|
|
5477
5520
|
var _iterator3 = ObjectUtils_createForOfIteratorHelper(list),
|
|
5478
|
-
|
|
5479
|
-
|
|
5521
|
+
_step3;
|
|
5480
5522
|
try {
|
|
5481
5523
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5482
5524
|
var val = _step3.value;
|
|
@@ -5488,7 +5530,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5488
5530
|
_iterator3.f();
|
|
5489
5531
|
}
|
|
5490
5532
|
}
|
|
5491
|
-
|
|
5492
5533
|
return false;
|
|
5493
5534
|
}
|
|
5494
5535
|
}, {
|
|
@@ -5496,17 +5537,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5496
5537
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
5497
5538
|
if (arr.length > 0) {
|
|
5498
5539
|
var injected = false;
|
|
5499
|
-
|
|
5500
5540
|
for (var i = 0; i < arr.length; i++) {
|
|
5501
5541
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
5502
|
-
|
|
5503
5542
|
if (currentItemIndex > index) {
|
|
5504
5543
|
arr.splice(i, 0, item);
|
|
5505
5544
|
injected = true;
|
|
5506
5545
|
break;
|
|
5507
5546
|
}
|
|
5508
5547
|
}
|
|
5509
|
-
|
|
5510
5548
|
if (!injected) {
|
|
5511
5549
|
arr.push(item);
|
|
5512
5550
|
}
|
|
@@ -5520,72 +5558,57 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5520
5558
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
5521
5559
|
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");
|
|
5522
5560
|
}
|
|
5523
|
-
|
|
5524
5561
|
return str;
|
|
5525
5562
|
}
|
|
5526
5563
|
}, {
|
|
5527
5564
|
key: "getVNodeProp",
|
|
5528
5565
|
value: function getVNodeProp(vnode, prop) {
|
|
5529
5566
|
var props = vnode._props;
|
|
5530
|
-
|
|
5531
5567
|
if (props) {
|
|
5532
5568
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5533
5569
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5534
5570
|
return props[propName];
|
|
5535
5571
|
}
|
|
5536
|
-
|
|
5537
5572
|
return null;
|
|
5538
5573
|
}
|
|
5539
5574
|
}]);
|
|
5540
|
-
|
|
5541
5575
|
return ObjectUtils;
|
|
5542
5576
|
}();
|
|
5543
5577
|
|
|
5544
|
-
|
|
5545
5578
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5546
5579
|
|
|
5547
|
-
|
|
5548
5580
|
function bindEvents(el) {
|
|
5549
5581
|
el.addEventListener('mousedown', onMouseDown);
|
|
5550
5582
|
}
|
|
5551
|
-
|
|
5552
5583
|
function unbindEvents(el) {
|
|
5553
5584
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5554
5585
|
}
|
|
5555
|
-
|
|
5556
5586
|
function create(el) {
|
|
5557
5587
|
var ink = document.createElement('span');
|
|
5558
5588
|
ink.className = 'p-ink';
|
|
5559
5589
|
el.appendChild(ink);
|
|
5560
5590
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5561
5591
|
}
|
|
5562
|
-
|
|
5563
5592
|
function remove(el) {
|
|
5564
5593
|
var ink = getInk(el);
|
|
5565
|
-
|
|
5566
5594
|
if (ink) {
|
|
5567
5595
|
unbindEvents(el);
|
|
5568
5596
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5569
5597
|
ink.remove();
|
|
5570
5598
|
}
|
|
5571
5599
|
}
|
|
5572
|
-
|
|
5573
5600
|
function onMouseDown(event) {
|
|
5574
5601
|
var target = event.currentTarget;
|
|
5575
5602
|
var ink = getInk(target);
|
|
5576
|
-
|
|
5577
5603
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5578
5604
|
return;
|
|
5579
5605
|
}
|
|
5580
|
-
|
|
5581
5606
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5582
|
-
|
|
5583
5607
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5584
5608
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5585
5609
|
ink.style.height = d + 'px';
|
|
5586
5610
|
ink.style.width = d + 'px';
|
|
5587
5611
|
}
|
|
5588
|
-
|
|
5589
5612
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5590
5613
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5591
5614
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5593,21 +5616,17 @@ function onMouseDown(event) {
|
|
|
5593
5616
|
ink.style.left = x + 'px';
|
|
5594
5617
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5595
5618
|
}
|
|
5596
|
-
|
|
5597
5619
|
function onAnimationEnd(event) {
|
|
5598
5620
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5599
5621
|
}
|
|
5600
|
-
|
|
5601
5622
|
function getInk(el) {
|
|
5602
5623
|
for (var i = 0; i < el.children.length; i++) {
|
|
5603
5624
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5604
5625
|
return el.children[i];
|
|
5605
5626
|
}
|
|
5606
5627
|
}
|
|
5607
|
-
|
|
5608
5628
|
return null;
|
|
5609
5629
|
}
|
|
5610
|
-
|
|
5611
5630
|
var Ripple = {
|
|
5612
5631
|
inserted: function inserted(el, binding, vnode) {
|
|
5613
5632
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5629,57 +5648,10 @@ var Ripple = {
|
|
|
5629
5648
|
|
|
5630
5649
|
|
|
5631
5650
|
|
|
5632
|
-
|
|
5633
5651
|
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; } } }; }
|
|
5634
|
-
|
|
5635
5652
|
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); }
|
|
5636
|
-
|
|
5637
5653
|
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; }
|
|
5638
5654
|
|
|
5639
|
-
//
|
|
5640
|
-
//
|
|
5641
|
-
//
|
|
5642
|
-
//
|
|
5643
|
-
//
|
|
5644
|
-
//
|
|
5645
|
-
//
|
|
5646
|
-
//
|
|
5647
|
-
//
|
|
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
5655
|
|
|
5684
5656
|
|
|
5685
5657
|
|
|
@@ -5738,7 +5710,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5738
5710
|
if (this.overlayVisible && this.isModelValueChanged) {
|
|
5739
5711
|
this.scrollValueInView();
|
|
5740
5712
|
}
|
|
5741
|
-
|
|
5742
5713
|
this.isModelValueChanged = false;
|
|
5743
5714
|
this.onFilterUpdated();
|
|
5744
5715
|
},
|
|
@@ -5746,7 +5717,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5746
5717
|
this.restoreAppend();
|
|
5747
5718
|
this.unbindOutsideClickListener();
|
|
5748
5719
|
this.unbindResizeListener();
|
|
5749
|
-
|
|
5750
5720
|
if (this.scrollHandler) {
|
|
5751
5721
|
this.scrollHandler.destroy();
|
|
5752
5722
|
this.scrollHandler = null;
|
|
@@ -5767,15 +5737,12 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5767
5737
|
},
|
|
5768
5738
|
getSelectedOption: function getSelectedOption() {
|
|
5769
5739
|
var selectedOption;
|
|
5770
|
-
|
|
5771
5740
|
if (this.value != null && this.options) {
|
|
5772
5741
|
var _iterator = Dropdownvue_type_script_lang_js_createForOfIteratorHelper(this.options),
|
|
5773
|
-
|
|
5774
|
-
|
|
5742
|
+
_step;
|
|
5775
5743
|
try {
|
|
5776
5744
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5777
5745
|
var option = _step.value;
|
|
5778
|
-
|
|
5779
5746
|
if (ObjectUtils_ObjectUtils.equals(this.value, this.getOptionValue(option), this.equalityKey)) {
|
|
5780
5747
|
selectedOption = option;
|
|
5781
5748
|
break;
|
|
@@ -5787,7 +5754,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5787
5754
|
_iterator.f();
|
|
5788
5755
|
}
|
|
5789
5756
|
}
|
|
5790
|
-
|
|
5791
5757
|
return selectedOption;
|
|
5792
5758
|
},
|
|
5793
5759
|
isSelected: function isSelected(option) {
|
|
@@ -5795,7 +5761,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5795
5761
|
},
|
|
5796
5762
|
getSelectedOptionIndex: function getSelectedOptionIndex() {
|
|
5797
5763
|
var selectedOptionIndex = -1;
|
|
5798
|
-
|
|
5799
5764
|
if (this.value != null && this.visibleOptions) {
|
|
5800
5765
|
for (var i = 0; i < this.visibleOptions.length; i++) {
|
|
5801
5766
|
if (ObjectUtils_ObjectUtils.equals(this.value, this.getOptionValue(this.visibleOptions[i]), this.equalityKey)) {
|
|
@@ -5804,7 +5769,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5804
5769
|
}
|
|
5805
5770
|
}
|
|
5806
5771
|
}
|
|
5807
|
-
|
|
5808
5772
|
return selectedOptionIndex;
|
|
5809
5773
|
},
|
|
5810
5774
|
show: function show() {
|
|
@@ -5827,36 +5791,33 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5827
5791
|
case 40:
|
|
5828
5792
|
this.onDownKey(event);
|
|
5829
5793
|
break;
|
|
5830
|
-
//up
|
|
5831
5794
|
|
|
5795
|
+
//up
|
|
5832
5796
|
case 38:
|
|
5833
5797
|
this.onUpKey(event);
|
|
5834
5798
|
break;
|
|
5835
|
-
//space
|
|
5836
5799
|
|
|
5800
|
+
//space
|
|
5837
5801
|
case 32:
|
|
5838
5802
|
if (!this.overlayVisible) {
|
|
5839
5803
|
this.show();
|
|
5840
5804
|
event.preventDefault();
|
|
5841
5805
|
}
|
|
5842
|
-
|
|
5843
5806
|
break;
|
|
5844
|
-
//enter and escape
|
|
5845
5807
|
|
|
5808
|
+
//enter and escape
|
|
5846
5809
|
case 13:
|
|
5847
5810
|
case 27:
|
|
5848
5811
|
if (this.overlayVisible) {
|
|
5849
5812
|
this.hide();
|
|
5850
5813
|
event.preventDefault();
|
|
5851
5814
|
}
|
|
5852
|
-
|
|
5853
5815
|
break;
|
|
5854
|
-
//tab
|
|
5855
5816
|
|
|
5817
|
+
//tab
|
|
5856
5818
|
case 9:
|
|
5857
5819
|
this.hide();
|
|
5858
5820
|
break;
|
|
5859
|
-
|
|
5860
5821
|
default:
|
|
5861
5822
|
this.search(event);
|
|
5862
5823
|
break;
|
|
@@ -5868,19 +5829,18 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5868
5829
|
case 40:
|
|
5869
5830
|
this.onDownKey(event);
|
|
5870
5831
|
break;
|
|
5871
|
-
//up
|
|
5872
5832
|
|
|
5833
|
+
//up
|
|
5873
5834
|
case 38:
|
|
5874
5835
|
this.onUpKey(event);
|
|
5875
5836
|
break;
|
|
5876
|
-
//enter and escape
|
|
5877
5837
|
|
|
5838
|
+
//enter and escape
|
|
5878
5839
|
case 13:
|
|
5879
5840
|
case 27:
|
|
5880
5841
|
this.overlayVisible = false;
|
|
5881
5842
|
event.preventDefault();
|
|
5882
5843
|
break;
|
|
5883
|
-
|
|
5884
5844
|
default:
|
|
5885
5845
|
break;
|
|
5886
5846
|
}
|
|
@@ -5891,43 +5851,35 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5891
5851
|
this.show();
|
|
5892
5852
|
} else {
|
|
5893
5853
|
var nextOption = this.findNextOption(this.getSelectedOptionIndex());
|
|
5894
|
-
|
|
5895
5854
|
if (nextOption) {
|
|
5896
5855
|
this.updateModel(event, this.getOptionValue(nextOption));
|
|
5897
5856
|
}
|
|
5898
5857
|
}
|
|
5899
5858
|
}
|
|
5900
|
-
|
|
5901
5859
|
event.preventDefault();
|
|
5902
5860
|
},
|
|
5903
5861
|
onUpKey: function onUpKey(event) {
|
|
5904
5862
|
if (this.visibleOptions) {
|
|
5905
5863
|
var prevOption = this.findPrevOption(this.getSelectedOptionIndex());
|
|
5906
|
-
|
|
5907
5864
|
if (prevOption) {
|
|
5908
5865
|
this.updateModel(event, this.getOptionValue(prevOption));
|
|
5909
5866
|
}
|
|
5910
5867
|
}
|
|
5911
|
-
|
|
5912
5868
|
event.preventDefault();
|
|
5913
5869
|
},
|
|
5914
5870
|
findNextOption: function findNextOption(index) {
|
|
5915
5871
|
var i = index + 1;
|
|
5916
|
-
|
|
5917
5872
|
if (i === this.visibleOptions.length) {
|
|
5918
5873
|
return null;
|
|
5919
5874
|
}
|
|
5920
|
-
|
|
5921
5875
|
var option = this.visibleOptions[i];
|
|
5922
5876
|
if (this.isOptionDisabled(option)) return this.findNextOption(i);else return option;
|
|
5923
5877
|
},
|
|
5924
5878
|
findPrevOption: function findPrevOption(index) {
|
|
5925
5879
|
var i = index - 1;
|
|
5926
|
-
|
|
5927
5880
|
if (i < 0) {
|
|
5928
5881
|
return null;
|
|
5929
5882
|
}
|
|
5930
|
-
|
|
5931
5883
|
var option = this.visibleOptions[i];
|
|
5932
5884
|
if (this.isOptionDisabled(option)) return this.findPrevOption(i);else return option;
|
|
5933
5885
|
},
|
|
@@ -5938,7 +5890,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5938
5890
|
if (this.disabled) {
|
|
5939
5891
|
return;
|
|
5940
5892
|
}
|
|
5941
|
-
|
|
5942
5893
|
if (DomHandler_DomHandler.hasClass(event.target, 'p-dropdown-clear-icon') || event.target.tagName === 'INPUT') {
|
|
5943
5894
|
return;
|
|
5944
5895
|
} else if (!this.$refs.overlay || !this.$refs.overlay.contains(event.target)) {
|
|
@@ -5948,7 +5899,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5948
5899
|
},
|
|
5949
5900
|
onOptionSelect: function onOptionSelect(event, option) {
|
|
5950
5901
|
var _this = this;
|
|
5951
|
-
|
|
5952
5902
|
var value = this.getOptionValue(option);
|
|
5953
5903
|
this.updateModel(event, value);
|
|
5954
5904
|
this.$refs.focusInput.focus();
|
|
@@ -5966,11 +5916,9 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5966
5916
|
this.bindOutsideClickListener();
|
|
5967
5917
|
this.bindScrollListener();
|
|
5968
5918
|
this.bindResizeListener();
|
|
5969
|
-
|
|
5970
5919
|
if (this.filter) {
|
|
5971
5920
|
this.$refs.filterInput.focus();
|
|
5972
5921
|
}
|
|
5973
|
-
|
|
5974
5922
|
this.$emit('show');
|
|
5975
5923
|
},
|
|
5976
5924
|
onOverlayLeave: function onOverlayLeave() {
|
|
@@ -5996,14 +5944,12 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5996
5944
|
},
|
|
5997
5945
|
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
5998
5946
|
var _this2 = this;
|
|
5999
|
-
|
|
6000
5947
|
if (!this.outsideClickListener) {
|
|
6001
5948
|
this.outsideClickListener = function (event) {
|
|
6002
5949
|
if (_this2.overlayVisible && _this2.$refs.overlay && !_this2.$refs.container.contains(event.target) && !_this2.$refs.overlay.contains(event.target)) {
|
|
6003
5950
|
_this2.hide();
|
|
6004
5951
|
}
|
|
6005
5952
|
};
|
|
6006
|
-
|
|
6007
5953
|
document.addEventListener('click', this.outsideClickListener);
|
|
6008
5954
|
}
|
|
6009
5955
|
},
|
|
@@ -6015,7 +5961,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6015
5961
|
},
|
|
6016
5962
|
bindScrollListener: function bindScrollListener() {
|
|
6017
5963
|
var _this3 = this;
|
|
6018
|
-
|
|
6019
5964
|
if (!this.scrollHandler) {
|
|
6020
5965
|
this.scrollHandler = new ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler(this.$el, function () {
|
|
6021
5966
|
if (_this3.overlayVisible) {
|
|
@@ -6023,7 +5968,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6023
5968
|
}
|
|
6024
5969
|
});
|
|
6025
5970
|
}
|
|
6026
|
-
|
|
6027
5971
|
this.scrollHandler.bindScrollListener();
|
|
6028
5972
|
},
|
|
6029
5973
|
unbindScrollListener: function unbindScrollListener() {
|
|
@@ -6033,14 +5977,12 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6033
5977
|
},
|
|
6034
5978
|
bindResizeListener: function bindResizeListener() {
|
|
6035
5979
|
var _this4 = this;
|
|
6036
|
-
|
|
6037
5980
|
if (!this.resizeListener) {
|
|
6038
5981
|
this.resizeListener = function () {
|
|
6039
5982
|
if (_this4.overlayVisible && !DomHandler_DomHandler.isTouchDevice()) {
|
|
6040
5983
|
_this4.hide();
|
|
6041
5984
|
}
|
|
6042
5985
|
};
|
|
6043
|
-
|
|
6044
5986
|
window.addEventListener('resize', this.resizeListener);
|
|
6045
5987
|
}
|
|
6046
5988
|
},
|
|
@@ -6052,53 +5994,43 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6052
5994
|
},
|
|
6053
5995
|
search: function search(event) {
|
|
6054
5996
|
var _this5 = this;
|
|
6055
|
-
|
|
6056
5997
|
if (!this.visibleOptions) {
|
|
6057
5998
|
return;
|
|
6058
5999
|
}
|
|
6059
|
-
|
|
6060
6000
|
if (this.searchTimeout) {
|
|
6061
6001
|
clearTimeout(this.searchTimeout);
|
|
6062
6002
|
}
|
|
6063
|
-
|
|
6064
6003
|
var char = event.key;
|
|
6065
6004
|
this.previousSearchChar = this.currentSearchChar;
|
|
6066
6005
|
this.currentSearchChar = char;
|
|
6067
6006
|
if (this.previousSearchChar === this.currentSearchChar) this.searchValue = this.currentSearchChar;else this.searchValue = this.searchValue ? this.searchValue + char : char;
|
|
6068
6007
|
var searchIndex = this.getSelectedOptionIndex();
|
|
6069
6008
|
var newOption = this.searchOption(++searchIndex);
|
|
6070
|
-
|
|
6071
6009
|
if (newOption) {
|
|
6072
6010
|
this.updateModel(event, this.getOptionValue(newOption));
|
|
6073
6011
|
}
|
|
6074
|
-
|
|
6075
6012
|
this.searchTimeout = setTimeout(function () {
|
|
6076
6013
|
_this5.searchValue = null;
|
|
6077
6014
|
}, 250);
|
|
6078
6015
|
},
|
|
6079
6016
|
searchOption: function searchOption(index) {
|
|
6080
6017
|
var option;
|
|
6081
|
-
|
|
6082
6018
|
if (this.searchValue) {
|
|
6083
6019
|
option = this.searchOptionInRange(index, this.visibleOptions.length);
|
|
6084
|
-
|
|
6085
6020
|
if (!option) {
|
|
6086
6021
|
option = this.searchOptionInRange(0, index);
|
|
6087
6022
|
}
|
|
6088
6023
|
}
|
|
6089
|
-
|
|
6090
6024
|
return option;
|
|
6091
6025
|
},
|
|
6092
6026
|
searchOptionInRange: function searchOptionInRange(start, end) {
|
|
6093
6027
|
for (var i = start; i < end; i++) {
|
|
6094
6028
|
var opt = this.visibleOptions[i];
|
|
6095
6029
|
var label = this.getOptionLabel(opt).toLocaleLowerCase(this.filterLocale);
|
|
6096
|
-
|
|
6097
6030
|
if (label.startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))) {
|
|
6098
6031
|
return opt;
|
|
6099
6032
|
}
|
|
6100
6033
|
}
|
|
6101
|
-
|
|
6102
6034
|
return null;
|
|
6103
6035
|
},
|
|
6104
6036
|
appendContainer: function appendContainer() {
|
|
@@ -6126,7 +6058,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6126
6058
|
scrollValueInView: function scrollValueInView() {
|
|
6127
6059
|
if (this.$refs.overlay) {
|
|
6128
6060
|
var selectedItem = DomHandler_DomHandler.findSingle(this.$refs.overlay, 'li.p-highlight');
|
|
6129
|
-
|
|
6130
6061
|
if (selectedItem) {
|
|
6131
6062
|
selectedItem.scrollIntoView({
|
|
6132
6063
|
block: 'nearest',
|
|
@@ -6139,7 +6070,6 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6139
6070
|
computed: {
|
|
6140
6071
|
visibleOptions: function visibleOptions() {
|
|
6141
6072
|
var _this6 = this;
|
|
6142
|
-
|
|
6143
6073
|
if (this.filterValue && this.filterValue.trim().length > 0) return this.options.filter(function (option) {
|
|
6144
6074
|
return _this6.getOptionLabel(option).toLocaleLowerCase(_this6.filterLocale).indexOf(_this6.filterValue.toLocaleLowerCase(_this6.filterLocale)) > -1;
|
|
6145
6075
|
});else return this.options;
|
|
@@ -6177,8 +6107,8 @@ function Dropdownvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6177
6107
|
});
|
|
6178
6108
|
// CONCATENATED MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=script&lang=js&
|
|
6179
6109
|
/* harmony default export */ var dropdown_Dropdownvue_type_script_lang_js_ = (Dropdownvue_type_script_lang_js_);
|
|
6180
|
-
// EXTERNAL MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=style&index=0&lang=css&
|
|
6181
|
-
var
|
|
6110
|
+
// EXTERNAL MODULE: ./src/components/dropdown/Dropdown.vue?vue&type=style&index=0&id=0ebc4c6d&prod&lang=css&
|
|
6111
|
+
var Dropdownvue_type_style_index_0_id_0ebc4c6d_prod_lang_css_ = __webpack_require__("3a7c");
|
|
6182
6112
|
|
|
6183
6113
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
6184
6114
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -6187,20 +6117,19 @@ var Dropdownvue_type_style_index_0_lang_css_ = __webpack_require__("bded");
|
|
|
6187
6117
|
// This module is a runtime utility for cleaner component module output and will
|
|
6188
6118
|
// be included in the final webpack user bundle.
|
|
6189
6119
|
|
|
6190
|
-
function normalizeComponent
|
|
6120
|
+
function normalizeComponent(
|
|
6191
6121
|
scriptExports,
|
|
6192
6122
|
render,
|
|
6193
6123
|
staticRenderFns,
|
|
6194
6124
|
functionalTemplate,
|
|
6195
6125
|
injectStyles,
|
|
6196
6126
|
scopeId,
|
|
6197
|
-
moduleIdentifier
|
|
6127
|
+
moduleIdentifier /* server only */,
|
|
6198
6128
|
shadowMode /* vue-cli only */
|
|
6199
6129
|
) {
|
|
6200
6130
|
// Vue.extend constructor export interop
|
|
6201
|
-
var options =
|
|
6202
|
-
? scriptExports.options
|
|
6203
|
-
: scriptExports
|
|
6131
|
+
var options =
|
|
6132
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
6204
6133
|
|
|
6205
6134
|
// render functions
|
|
6206
6135
|
if (render) {
|
|
@@ -6220,7 +6149,8 @@ function normalizeComponent (
|
|
|
6220
6149
|
}
|
|
6221
6150
|
|
|
6222
6151
|
var hook
|
|
6223
|
-
if (moduleIdentifier) {
|
|
6152
|
+
if (moduleIdentifier) {
|
|
6153
|
+
// server build
|
|
6224
6154
|
hook = function (context) {
|
|
6225
6155
|
// 2.3 injection
|
|
6226
6156
|
context =
|
|
@@ -6246,11 +6176,11 @@ function normalizeComponent (
|
|
|
6246
6176
|
} else if (injectStyles) {
|
|
6247
6177
|
hook = shadowMode
|
|
6248
6178
|
? function () {
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6179
|
+
injectStyles.call(
|
|
6180
|
+
this,
|
|
6181
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
6182
|
+
)
|
|
6183
|
+
}
|
|
6254
6184
|
: injectStyles
|
|
6255
6185
|
}
|
|
6256
6186
|
|
|
@@ -6261,16 +6191,14 @@ function normalizeComponent (
|
|
|
6261
6191
|
options._injectStyles = hook
|
|
6262
6192
|
// register for functional component in vue file
|
|
6263
6193
|
var originalRender = options.render
|
|
6264
|
-
options.render = function renderWithStyleInjection
|
|
6194
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
6265
6195
|
hook.call(context)
|
|
6266
6196
|
return originalRender(h, context)
|
|
6267
6197
|
}
|
|
6268
6198
|
} else {
|
|
6269
6199
|
// inject component registration as beforeCreate hook
|
|
6270
6200
|
var existing = options.beforeCreate
|
|
6271
|
-
options.beforeCreate = existing
|
|
6272
|
-
? [].concat(existing, hook)
|
|
6273
|
-
: [hook]
|
|
6201
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
6274
6202
|
}
|
|
6275
6203
|
}
|
|
6276
6204
|
|
|
@@ -6308,6 +6236,22 @@ var component = normalizeComponent(
|
|
|
6308
6236
|
|
|
6309
6237
|
|
|
6310
6238
|
|
|
6239
|
+
/***/ }),
|
|
6240
|
+
|
|
6241
|
+
/***/ "fe6a":
|
|
6242
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6243
|
+
|
|
6244
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
6245
|
+
|
|
6246
|
+
// load the styles
|
|
6247
|
+
var content = __webpack_require__("5613");
|
|
6248
|
+
if(content.__esModule) content = content.default;
|
|
6249
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
6250
|
+
if(content.locals) module.exports = content.locals;
|
|
6251
|
+
// add the styles to the DOM
|
|
6252
|
+
var add = __webpack_require__("499e").default
|
|
6253
|
+
var update = add("546a818b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
6254
|
+
|
|
6311
6255
|
/***/ })
|
|
6312
6256
|
|
|
6313
6257
|
/******/ })["default"];
|