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/listbox/listbox.umd.js
CHANGED
|
@@ -574,22 +574,6 @@ module.exports = function () {
|
|
|
574
574
|
};
|
|
575
575
|
|
|
576
576
|
|
|
577
|
-
/***/ }),
|
|
578
|
-
|
|
579
|
-
/***/ "0d52":
|
|
580
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
581
|
-
|
|
582
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
583
|
-
|
|
584
|
-
// load the styles
|
|
585
|
-
var content = __webpack_require__("d777");
|
|
586
|
-
if(content.__esModule) content = content.default;
|
|
587
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
588
|
-
if(content.locals) module.exports = content.locals;
|
|
589
|
-
// add the styles to the DOM
|
|
590
|
-
var add = __webpack_require__("499e").default
|
|
591
|
-
var update = add("e20f08aa", content, true, {"sourceMap":false,"shadowMode":false});
|
|
592
|
-
|
|
593
577
|
/***/ }),
|
|
594
578
|
|
|
595
579
|
/***/ "0d58":
|
|
@@ -3593,6 +3577,21 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
3593
3577
|
module.exports = __webpack_require__("35e8");
|
|
3594
3578
|
|
|
3595
3579
|
|
|
3580
|
+
/***/ }),
|
|
3581
|
+
|
|
3582
|
+
/***/ "99fb":
|
|
3583
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3584
|
+
|
|
3585
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
3586
|
+
// imports
|
|
3587
|
+
|
|
3588
|
+
|
|
3589
|
+
// module
|
|
3590
|
+
exports.push([module.i, ".p-listbox-list-wrapper{overflow:auto}.p-listbox-list{list-style-type:none;margin:0;padding:0}.p-listbox-item{cursor:pointer;overflow:hidden}.p-listbox-filter-container,.p-listbox-item{position:relative}.p-listbox-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-listbox-filter{width:100%}", ""]);
|
|
3591
|
+
|
|
3592
|
+
// exports
|
|
3593
|
+
|
|
3594
|
+
|
|
3596
3595
|
/***/ }),
|
|
3597
3596
|
|
|
3598
3597
|
/***/ "9aa9":
|
|
@@ -3840,6 +3839,22 @@ __webpack_require__("214f")('replace', 2, function (defined, REPLACE, $replace,
|
|
|
3840
3839
|
});
|
|
3841
3840
|
|
|
3842
3841
|
|
|
3842
|
+
/***/ }),
|
|
3843
|
+
|
|
3844
|
+
/***/ "a508":
|
|
3845
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3846
|
+
|
|
3847
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
3848
|
+
|
|
3849
|
+
// load the styles
|
|
3850
|
+
var content = __webpack_require__("99fb");
|
|
3851
|
+
if(content.__esModule) content = content.default;
|
|
3852
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
3853
|
+
if(content.locals) module.exports = content.locals;
|
|
3854
|
+
// add the styles to the DOM
|
|
3855
|
+
var add = __webpack_require__("499e").default
|
|
3856
|
+
var update = add("2611fd97", content, true, {"sourceMap":false,"shadowMode":false});
|
|
3857
|
+
|
|
3843
3858
|
/***/ }),
|
|
3844
3859
|
|
|
3845
3860
|
/***/ "a745":
|
|
@@ -3967,17 +3982,6 @@ __webpack_require__("5ca1")({
|
|
|
3967
3982
|
});
|
|
3968
3983
|
|
|
3969
3984
|
|
|
3970
|
-
/***/ }),
|
|
3971
|
-
|
|
3972
|
-
/***/ "b0c6":
|
|
3973
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3974
|
-
|
|
3975
|
-
"use strict";
|
|
3976
|
-
/* 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_Listbox_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0d52");
|
|
3977
|
-
/* 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_Listbox_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_Listbox_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
3978
|
-
/* unused harmony reexport * */
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
3985
|
/***/ }),
|
|
3982
3986
|
|
|
3983
3987
|
/***/ "b0dc":
|
|
@@ -4319,21 +4323,6 @@ module.exports = function (done, value) {
|
|
|
4319
4323
|
};
|
|
4320
4324
|
|
|
4321
4325
|
|
|
4322
|
-
/***/ }),
|
|
4323
|
-
|
|
4324
|
-
/***/ "d777":
|
|
4325
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4326
|
-
|
|
4327
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
4328
|
-
// imports
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
// module
|
|
4332
|
-
exports.push([module.i, ".p-listbox-list-wrapper{overflow:auto}.p-listbox-list{list-style-type:none;margin:0;padding:0}.p-listbox-item{cursor:pointer;overflow:hidden}.p-listbox-filter-container,.p-listbox-item{position:relative}.p-listbox-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-listbox-filter{width:100%}", ""]);
|
|
4333
|
-
|
|
4334
|
-
// exports
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
4326
|
/***/ }),
|
|
4338
4327
|
|
|
4339
4328
|
/***/ "d864":
|
|
@@ -4424,6 +4413,17 @@ var store = global[SHARED] || (global[SHARED] = {});
|
|
|
4424
4413
|
});
|
|
4425
4414
|
|
|
4426
4415
|
|
|
4416
|
+
/***/ }),
|
|
4417
|
+
|
|
4418
|
+
/***/ "e023":
|
|
4419
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4420
|
+
|
|
4421
|
+
"use strict";
|
|
4422
|
+
/* 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_Listbox_vue_vue_type_style_index_0_id_5485f601_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a508");
|
|
4423
|
+
/* 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_Listbox_vue_vue_type_style_index_0_id_5485f601_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_Listbox_vue_vue_type_style_index_0_id_5485f601_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
4424
|
+
/* unused harmony reexport * */
|
|
4425
|
+
|
|
4426
|
+
|
|
4427
4427
|
/***/ }),
|
|
4428
4428
|
|
|
4429
4429
|
/***/ "e11e":
|
|
@@ -4716,10 +4716,87 @@ if (typeof window !== 'undefined') {
|
|
|
4716
4716
|
// Indicate to webpack that this file can be concatenated
|
|
4717
4717
|
/* harmony default export */ var setPublicPath = (null);
|
|
4718
4718
|
|
|
4719
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4720
|
-
var render = function () {
|
|
4721
|
-
var
|
|
4722
|
-
|
|
4719
|
+
// 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/listbox/Listbox.vue?vue&type=template&id=5485f601&
|
|
4720
|
+
var render = function render() {
|
|
4721
|
+
var _vm = this,
|
|
4722
|
+
_c = _vm._self._c;
|
|
4723
|
+
return _c('div', {
|
|
4724
|
+
staticClass: "p-listbox p-component"
|
|
4725
|
+
}, [_vm.filter ? _c('div', {
|
|
4726
|
+
staticClass: "p-listbox-header"
|
|
4727
|
+
}, [_c('div', {
|
|
4728
|
+
staticClass: "p-listbox-filter-container"
|
|
4729
|
+
}, [_c('input', {
|
|
4730
|
+
directives: [{
|
|
4731
|
+
name: "model",
|
|
4732
|
+
rawName: "v-model",
|
|
4733
|
+
value: _vm.filterValue,
|
|
4734
|
+
expression: "filterValue"
|
|
4735
|
+
}],
|
|
4736
|
+
staticClass: "p-listbox-filter p-inputtext p-component",
|
|
4737
|
+
attrs: {
|
|
4738
|
+
"type": "text",
|
|
4739
|
+
"placeholder": _vm.filterPlaceholder
|
|
4740
|
+
},
|
|
4741
|
+
domProps: {
|
|
4742
|
+
"value": _vm.filterValue
|
|
4743
|
+
},
|
|
4744
|
+
on: {
|
|
4745
|
+
"input": [function ($event) {
|
|
4746
|
+
if ($event.target.composing) return;
|
|
4747
|
+
_vm.filterValue = $event.target.value;
|
|
4748
|
+
}, _vm.onFilterChange]
|
|
4749
|
+
}
|
|
4750
|
+
}), _c('span', {
|
|
4751
|
+
staticClass: "p-listbox-filter-icon pi pi-search"
|
|
4752
|
+
})])]) : _vm._e(), _c('div', {
|
|
4753
|
+
staticClass: "p-listbox-list-wrapper",
|
|
4754
|
+
style: _vm.listStyle
|
|
4755
|
+
}, [_c('ul', {
|
|
4756
|
+
staticClass: "p-listbox-list",
|
|
4757
|
+
attrs: {
|
|
4758
|
+
"role": "listbox",
|
|
4759
|
+
"aria-multiselectable": "multiple"
|
|
4760
|
+
}
|
|
4761
|
+
}, [_vm._l(_vm.visibleOptions, function (option, i) {
|
|
4762
|
+
return _c('li', {
|
|
4763
|
+
directives: [{
|
|
4764
|
+
name: "ripple",
|
|
4765
|
+
rawName: "v-ripple"
|
|
4766
|
+
}],
|
|
4767
|
+
key: _vm.getOptionRenderKey(option),
|
|
4768
|
+
class: ['p-listbox-item', {
|
|
4769
|
+
'p-highlight': _vm.isSelected(option),
|
|
4770
|
+
'p-disabled': _vm.isOptionDisabled(option)
|
|
4771
|
+
}],
|
|
4772
|
+
attrs: {
|
|
4773
|
+
"tabindex": _vm.isOptionDisabled(option) ? null : '0',
|
|
4774
|
+
"aria-label": _vm.getOptionLabel(option),
|
|
4775
|
+
"role": "option",
|
|
4776
|
+
"aria-selected": _vm.isSelected(option)
|
|
4777
|
+
},
|
|
4778
|
+
on: {
|
|
4779
|
+
"click": function click($event) {
|
|
4780
|
+
return _vm.onOptionSelect($event, option);
|
|
4781
|
+
},
|
|
4782
|
+
"touchend": function touchend($event) {
|
|
4783
|
+
return _vm.onOptionTouchEnd();
|
|
4784
|
+
},
|
|
4785
|
+
"keydown": function keydown($event) {
|
|
4786
|
+
return _vm.onOptionKeyDown($event, option);
|
|
4787
|
+
}
|
|
4788
|
+
}
|
|
4789
|
+
}, [_vm._t("option", function () {
|
|
4790
|
+
return [_vm._v("\n " + _vm._s(_vm.getOptionLabel(option)) + "\n ")];
|
|
4791
|
+
}, {
|
|
4792
|
+
"option": option,
|
|
4793
|
+
"index": i
|
|
4794
|
+
})], 2);
|
|
4795
|
+
}), _vm.filterValue && (!_vm.visibleOptions || _vm.visibleOptions && _vm.visibleOptions.length === 0) ? _c('li', {
|
|
4796
|
+
staticClass: "p-listbox-empty-message"
|
|
4797
|
+
}, [_vm._v(_vm._s(_vm.emptyFilterMessage))]) : _vm._e()], 2)])]);
|
|
4798
|
+
};
|
|
4799
|
+
var staticRenderFns = [];
|
|
4723
4800
|
|
|
4724
4801
|
// CONCATENATED MODULE: ./src/components/listbox/Listbox.vue?vue&type=template&id=5485f601&
|
|
4725
4802
|
|
|
@@ -4748,11 +4825,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
4748
4825
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4749
4826
|
function _arrayLikeToArray(arr, len) {
|
|
4750
4827
|
if (len == null || len > arr.length) len = arr.length;
|
|
4751
|
-
|
|
4752
4828
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4753
4829
|
arr2[i] = arr[i];
|
|
4754
4830
|
}
|
|
4755
|
-
|
|
4756
4831
|
return arr2;
|
|
4757
4832
|
}
|
|
4758
4833
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -4848,26 +4923,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4848
4923
|
|
|
4849
4924
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4850
4925
|
|
|
4851
|
-
|
|
4852
4926
|
function _defineProperties(target, props) {
|
|
4853
4927
|
for (var i = 0; i < props.length; i++) {
|
|
4854
4928
|
var descriptor = props[i];
|
|
4855
4929
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4856
4930
|
descriptor.configurable = true;
|
|
4857
4931
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4858
|
-
|
|
4859
4932
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4860
4933
|
}
|
|
4861
4934
|
}
|
|
4862
|
-
|
|
4863
4935
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4864
4936
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4865
4937
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4866
|
-
|
|
4867
4938
|
define_property_default()(Constructor, "prototype", {
|
|
4868
4939
|
writable: false
|
|
4869
4940
|
});
|
|
4870
|
-
|
|
4871
4941
|
return Constructor;
|
|
4872
4942
|
}
|
|
4873
4943
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
@@ -4887,18 +4957,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4887
4957
|
|
|
4888
4958
|
|
|
4889
4959
|
|
|
4890
|
-
|
|
4891
4960
|
function _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; } } }; }
|
|
4892
|
-
|
|
4893
4961
|
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); }
|
|
4894
|
-
|
|
4895
4962
|
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; }
|
|
4896
|
-
|
|
4897
4963
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
4898
4964
|
function ObjectUtils() {
|
|
4899
4965
|
_classCallCheck(this, ObjectUtils);
|
|
4900
4966
|
}
|
|
4901
|
-
|
|
4902
4967
|
_createClass(ObjectUtils, null, [{
|
|
4903
4968
|
key: "equals",
|
|
4904
4969
|
value: function equals(obj1, obj2, field) {
|
|
@@ -4908,50 +4973,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4908
4973
|
key: "deepEquals",
|
|
4909
4974
|
value: function deepEquals(a, b) {
|
|
4910
4975
|
if (a === b) return true;
|
|
4911
|
-
|
|
4912
4976
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
4913
4977
|
var arrA = Array.isArray(a),
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4978
|
+
arrB = Array.isArray(b),
|
|
4979
|
+
i,
|
|
4980
|
+
length,
|
|
4981
|
+
key;
|
|
4919
4982
|
if (arrA && arrB) {
|
|
4920
4983
|
length = a.length;
|
|
4921
4984
|
if (length != b.length) return false;
|
|
4922
|
-
|
|
4923
4985
|
for (i = length; i-- !== 0;) {
|
|
4924
4986
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
4925
4987
|
}
|
|
4926
|
-
|
|
4927
4988
|
return true;
|
|
4928
4989
|
}
|
|
4929
|
-
|
|
4930
4990
|
if (arrA != arrB) return false;
|
|
4931
4991
|
var dateA = a instanceof Date,
|
|
4932
|
-
|
|
4992
|
+
dateB = b instanceof Date;
|
|
4933
4993
|
if (dateA != dateB) return false;
|
|
4934
4994
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
4935
4995
|
var regexpA = a instanceof RegExp,
|
|
4936
|
-
|
|
4996
|
+
regexpB = b instanceof RegExp;
|
|
4937
4997
|
if (regexpA != regexpB) return false;
|
|
4938
4998
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
4939
4999
|
var keys = Object.keys(a);
|
|
4940
5000
|
length = keys.length;
|
|
4941
5001
|
if (length !== Object.keys(b).length) return false;
|
|
4942
|
-
|
|
4943
5002
|
for (i = length; i-- !== 0;) {
|
|
4944
5003
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
4945
5004
|
}
|
|
4946
|
-
|
|
4947
5005
|
for (i = length; i-- !== 0;) {
|
|
4948
5006
|
key = keys[i];
|
|
4949
5007
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
4950
5008
|
}
|
|
4951
|
-
|
|
4952
5009
|
return true;
|
|
4953
5010
|
}
|
|
4954
|
-
|
|
4955
5011
|
return a !== a && b !== b;
|
|
4956
5012
|
}
|
|
4957
5013
|
}, {
|
|
@@ -4965,15 +5021,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4965
5021
|
} else {
|
|
4966
5022
|
var fields = field.split('.');
|
|
4967
5023
|
var value = data;
|
|
4968
|
-
|
|
4969
5024
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
4970
5025
|
if (value == null) {
|
|
4971
5026
|
return null;
|
|
4972
5027
|
}
|
|
4973
|
-
|
|
4974
5028
|
value = value[fields[i]];
|
|
4975
5029
|
}
|
|
4976
|
-
|
|
4977
5030
|
return value;
|
|
4978
5031
|
}
|
|
4979
5032
|
} else {
|
|
@@ -4989,22 +5042,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4989
5042
|
key: "filter",
|
|
4990
5043
|
value: function filter(value, fields, filterValue) {
|
|
4991
5044
|
var filteredItems = [];
|
|
4992
|
-
|
|
4993
5045
|
if (value) {
|
|
4994
5046
|
var _iterator = _createForOfIteratorHelper(value),
|
|
4995
|
-
|
|
4996
|
-
|
|
5047
|
+
_step;
|
|
4997
5048
|
try {
|
|
4998
5049
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4999
5050
|
var item = _step.value;
|
|
5000
|
-
|
|
5001
5051
|
var _iterator2 = _createForOfIteratorHelper(fields),
|
|
5002
|
-
|
|
5003
|
-
|
|
5052
|
+
_step2;
|
|
5004
5053
|
try {
|
|
5005
5054
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5006
5055
|
var field = _step2.value;
|
|
5007
|
-
|
|
5008
5056
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
5009
5057
|
filteredItems.push(item);
|
|
5010
5058
|
break;
|
|
@@ -5022,23 +5070,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5022
5070
|
_iterator.f();
|
|
5023
5071
|
}
|
|
5024
5072
|
}
|
|
5025
|
-
|
|
5026
5073
|
return filteredItems;
|
|
5027
5074
|
}
|
|
5028
5075
|
}, {
|
|
5029
5076
|
key: "reorderArray",
|
|
5030
5077
|
value: function reorderArray(value, from, to) {
|
|
5031
5078
|
var target;
|
|
5032
|
-
|
|
5033
5079
|
if (value && from !== to) {
|
|
5034
5080
|
if (to >= value.length) {
|
|
5035
5081
|
target = to - value.length;
|
|
5036
|
-
|
|
5037
5082
|
while (target-- + 1) {
|
|
5038
5083
|
value.push(undefined);
|
|
5039
5084
|
}
|
|
5040
5085
|
}
|
|
5041
|
-
|
|
5042
5086
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
5043
5087
|
}
|
|
5044
5088
|
}
|
|
@@ -5046,7 +5090,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5046
5090
|
key: "findIndexInList",
|
|
5047
5091
|
value: function findIndexInList(value, list) {
|
|
5048
5092
|
var index = -1;
|
|
5049
|
-
|
|
5050
5093
|
if (list) {
|
|
5051
5094
|
for (var i = 0; i < list.length; i++) {
|
|
5052
5095
|
if (list[i] === value) {
|
|
@@ -5055,7 +5098,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5055
5098
|
}
|
|
5056
5099
|
}
|
|
5057
5100
|
}
|
|
5058
|
-
|
|
5059
5101
|
return index;
|
|
5060
5102
|
}
|
|
5061
5103
|
}, {
|
|
@@ -5063,8 +5105,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5063
5105
|
value: function contains(value, list) {
|
|
5064
5106
|
if (value != null && list && list.length) {
|
|
5065
5107
|
var _iterator3 = _createForOfIteratorHelper(list),
|
|
5066
|
-
|
|
5067
|
-
|
|
5108
|
+
_step3;
|
|
5068
5109
|
try {
|
|
5069
5110
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5070
5111
|
var val = _step3.value;
|
|
@@ -5076,7 +5117,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5076
5117
|
_iterator3.f();
|
|
5077
5118
|
}
|
|
5078
5119
|
}
|
|
5079
|
-
|
|
5080
5120
|
return false;
|
|
5081
5121
|
}
|
|
5082
5122
|
}, {
|
|
@@ -5084,17 +5124,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5084
5124
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
5085
5125
|
if (arr.length > 0) {
|
|
5086
5126
|
var injected = false;
|
|
5087
|
-
|
|
5088
5127
|
for (var i = 0; i < arr.length; i++) {
|
|
5089
5128
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
5090
|
-
|
|
5091
5129
|
if (currentItemIndex > index) {
|
|
5092
5130
|
arr.splice(i, 0, item);
|
|
5093
5131
|
injected = true;
|
|
5094
5132
|
break;
|
|
5095
5133
|
}
|
|
5096
5134
|
}
|
|
5097
|
-
|
|
5098
5135
|
if (!injected) {
|
|
5099
5136
|
arr.push(item);
|
|
5100
5137
|
}
|
|
@@ -5108,28 +5145,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5108
5145
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
5109
5146
|
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");
|
|
5110
5147
|
}
|
|
5111
|
-
|
|
5112
5148
|
return str;
|
|
5113
5149
|
}
|
|
5114
5150
|
}, {
|
|
5115
5151
|
key: "getVNodeProp",
|
|
5116
5152
|
value: function getVNodeProp(vnode, prop) {
|
|
5117
5153
|
var props = vnode._props;
|
|
5118
|
-
|
|
5119
5154
|
if (props) {
|
|
5120
5155
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5121
5156
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5122
5157
|
return props[propName];
|
|
5123
5158
|
}
|
|
5124
|
-
|
|
5125
5159
|
return null;
|
|
5126
5160
|
}
|
|
5127
5161
|
}]);
|
|
5128
|
-
|
|
5129
5162
|
return ObjectUtils;
|
|
5130
5163
|
}();
|
|
5131
5164
|
|
|
5132
|
-
|
|
5133
5165
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
5134
5166
|
var es6_array_find = __webpack_require__("7514");
|
|
5135
5167
|
|
|
@@ -5146,18 +5178,13 @@ var es6_array_find = __webpack_require__("7514");
|
|
|
5146
5178
|
|
|
5147
5179
|
|
|
5148
5180
|
|
|
5149
|
-
|
|
5150
5181
|
function DomHandler_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = DomHandler_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
5151
|
-
|
|
5152
5182
|
function DomHandler_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return DomHandler_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return DomHandler_arrayLikeToArray(o, minLen); }
|
|
5153
|
-
|
|
5154
5183
|
function DomHandler_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
5155
|
-
|
|
5156
5184
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
5157
5185
|
function DomHandler() {
|
|
5158
5186
|
_classCallCheck(this, DomHandler);
|
|
5159
5187
|
}
|
|
5160
|
-
|
|
5161
5188
|
_createClass(DomHandler, null, [{
|
|
5162
5189
|
key: "innerWidth",
|
|
5163
5190
|
value: function innerWidth(el) {
|
|
@@ -5191,12 +5218,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5191
5218
|
value: function getOuterWidth(el, margin) {
|
|
5192
5219
|
if (el) {
|
|
5193
5220
|
var width = el.offsetWidth;
|
|
5194
|
-
|
|
5195
5221
|
if (margin) {
|
|
5196
5222
|
var style = getComputedStyle(el);
|
|
5197
5223
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
5198
5224
|
}
|
|
5199
|
-
|
|
5200
5225
|
return width;
|
|
5201
5226
|
} else {
|
|
5202
5227
|
return 0;
|
|
@@ -5207,12 +5232,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5207
5232
|
value: function getOuterHeight(el, margin) {
|
|
5208
5233
|
if (el) {
|
|
5209
5234
|
var height = el.offsetHeight;
|
|
5210
|
-
|
|
5211
5235
|
if (margin) {
|
|
5212
5236
|
var style = getComputedStyle(el);
|
|
5213
5237
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
5214
5238
|
}
|
|
5215
|
-
|
|
5216
5239
|
return height;
|
|
5217
5240
|
} else {
|
|
5218
5241
|
return 0;
|
|
@@ -5223,12 +5246,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5223
5246
|
value: function getClientHeight(el, margin) {
|
|
5224
5247
|
if (el) {
|
|
5225
5248
|
var height = el.clientHeight;
|
|
5226
|
-
|
|
5227
5249
|
if (margin) {
|
|
5228
5250
|
var style = getComputedStyle(el);
|
|
5229
5251
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
5230
5252
|
}
|
|
5231
|
-
|
|
5232
5253
|
return height;
|
|
5233
5254
|
} else {
|
|
5234
5255
|
return 0;
|
|
@@ -5238,11 +5259,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5238
5259
|
key: "getViewport",
|
|
5239
5260
|
value: function getViewport() {
|
|
5240
5261
|
var win = window,
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5262
|
+
d = document,
|
|
5263
|
+
e = d.documentElement,
|
|
5264
|
+
g = d.getElementsByTagName('body')[0],
|
|
5265
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
5266
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
5246
5267
|
return {
|
|
5247
5268
|
width: w,
|
|
5248
5269
|
height: h
|
|
@@ -5273,12 +5294,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5273
5294
|
value: function index(element) {
|
|
5274
5295
|
var children = element.parentNode.childNodes;
|
|
5275
5296
|
var num = 0;
|
|
5276
|
-
|
|
5277
5297
|
for (var i = 0; i < children.length; i++) {
|
|
5278
5298
|
if (children[i] === element) return num;
|
|
5279
5299
|
if (children[i].nodeType === 1) num++;
|
|
5280
5300
|
}
|
|
5281
|
-
|
|
5282
5301
|
return -1;
|
|
5283
5302
|
}
|
|
5284
5303
|
}, {
|
|
@@ -5286,13 +5305,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5286
5305
|
value: function addMultipleClasses(element, className) {
|
|
5287
5306
|
if (element.classList) {
|
|
5288
5307
|
var styles = className.split(' ');
|
|
5289
|
-
|
|
5290
5308
|
for (var i = 0; i < styles.length; i++) {
|
|
5291
5309
|
element.classList.add(styles[i]);
|
|
5292
5310
|
}
|
|
5293
5311
|
} else {
|
|
5294
5312
|
var _styles = className.split(' ');
|
|
5295
|
-
|
|
5296
5313
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
5297
5314
|
element.className += ' ' + _styles[_i];
|
|
5298
5315
|
}
|
|
@@ -5314,7 +5331,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5314
5331
|
if (element) {
|
|
5315
5332
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
5316
5333
|
}
|
|
5317
|
-
|
|
5318
5334
|
return false;
|
|
5319
5335
|
}
|
|
5320
5336
|
}, {
|
|
@@ -5359,11 +5375,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5359
5375
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
5360
5376
|
var viewport = this.getViewport();
|
|
5361
5377
|
var top, left;
|
|
5362
|
-
|
|
5363
5378
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
5364
5379
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
5365
5380
|
element.style.transformOrigin = 'bottom';
|
|
5366
|
-
|
|
5367
5381
|
if (top < 0) {
|
|
5368
5382
|
top = windowScrollTop;
|
|
5369
5383
|
}
|
|
@@ -5371,7 +5385,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5371
5385
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
5372
5386
|
element.style.transformOrigin = 'top';
|
|
5373
5387
|
}
|
|
5374
|
-
|
|
5375
5388
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
5376
5389
|
element.style.top = top + 'px';
|
|
5377
5390
|
element.style.left = left + 'px';
|
|
@@ -5387,11 +5400,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5387
5400
|
var targetOffset = target.getBoundingClientRect();
|
|
5388
5401
|
var viewport = this.getViewport();
|
|
5389
5402
|
var top, left;
|
|
5390
|
-
|
|
5391
5403
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
5392
5404
|
top = -1 * elementDimensions.height;
|
|
5393
5405
|
element.style.transformOrigin = 'bottom';
|
|
5394
|
-
|
|
5395
5406
|
if (targetOffset.top + top < 0) {
|
|
5396
5407
|
top = -1 * targetOffset.top;
|
|
5397
5408
|
}
|
|
@@ -5399,7 +5410,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5399
5410
|
top = targetHeight;
|
|
5400
5411
|
element.style.transformOrigin = 'top';
|
|
5401
5412
|
}
|
|
5402
|
-
|
|
5403
5413
|
if (elementDimensions.width > viewport.width) {
|
|
5404
5414
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
5405
5415
|
left = targetOffset.left * -1;
|
|
@@ -5410,7 +5420,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5410
5420
|
// element fits on screen (align with target)
|
|
5411
5421
|
left = 0;
|
|
5412
5422
|
}
|
|
5413
|
-
|
|
5414
5423
|
element.style.top = top + 'px';
|
|
5415
5424
|
element.style.left = left + 'px';
|
|
5416
5425
|
}
|
|
@@ -5424,35 +5433,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5424
5433
|
key: "getScrollableParents",
|
|
5425
5434
|
value: function getScrollableParents(element) {
|
|
5426
5435
|
var scrollableParents = [];
|
|
5427
|
-
|
|
5428
5436
|
if (element) {
|
|
5429
5437
|
var parents = this.getParents(element);
|
|
5430
5438
|
var overflowRegex = /(auto|scroll)/;
|
|
5431
|
-
|
|
5432
5439
|
var overflowCheck = function overflowCheck(node) {
|
|
5433
5440
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
5434
5441
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
5435
5442
|
};
|
|
5436
|
-
|
|
5437
5443
|
var _iterator = DomHandler_createForOfIteratorHelper(parents),
|
|
5438
|
-
|
|
5439
|
-
|
|
5444
|
+
_step;
|
|
5440
5445
|
try {
|
|
5441
5446
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5442
5447
|
var parent = _step.value;
|
|
5443
5448
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
5444
|
-
|
|
5445
5449
|
if (scrollSelectors) {
|
|
5446
5450
|
var selectors = scrollSelectors.split(',');
|
|
5447
|
-
|
|
5448
5451
|
var _iterator2 = DomHandler_createForOfIteratorHelper(selectors),
|
|
5449
|
-
|
|
5450
|
-
|
|
5452
|
+
_step2;
|
|
5451
5453
|
try {
|
|
5452
5454
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5453
5455
|
var selector = _step2.value;
|
|
5454
5456
|
var el = this.findSingle(parent, selector);
|
|
5455
|
-
|
|
5456
5457
|
if (el && overflowCheck(el)) {
|
|
5457
5458
|
scrollableParents.push(el);
|
|
5458
5459
|
}
|
|
@@ -5470,7 +5471,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5470
5471
|
_iterator.f();
|
|
5471
5472
|
}
|
|
5472
5473
|
}
|
|
5473
|
-
|
|
5474
5474
|
return scrollableParents;
|
|
5475
5475
|
}
|
|
5476
5476
|
}, {
|
|
@@ -5511,34 +5511,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5511
5511
|
element.style.opacity = 0;
|
|
5512
5512
|
var last = +new Date();
|
|
5513
5513
|
var opacity = 0;
|
|
5514
|
-
|
|
5515
5514
|
var tick = function tick() {
|
|
5516
5515
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5517
5516
|
element.style.opacity = opacity;
|
|
5518
5517
|
last = +new Date();
|
|
5519
|
-
|
|
5520
5518
|
if (+opacity < 1) {
|
|
5521
5519
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5522
5520
|
}
|
|
5523
5521
|
};
|
|
5524
|
-
|
|
5525
5522
|
tick();
|
|
5526
5523
|
}
|
|
5527
5524
|
}, {
|
|
5528
5525
|
key: "fadeOut",
|
|
5529
5526
|
value: function fadeOut(element, ms) {
|
|
5530
5527
|
var opacity = 1,
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5528
|
+
interval = 50,
|
|
5529
|
+
duration = ms,
|
|
5530
|
+
gap = interval / duration;
|
|
5534
5531
|
var fading = setInterval(function () {
|
|
5535
5532
|
opacity -= gap;
|
|
5536
|
-
|
|
5537
5533
|
if (opacity <= 0) {
|
|
5538
5534
|
opacity = 0;
|
|
5539
5535
|
clearInterval(fading);
|
|
5540
5536
|
}
|
|
5541
|
-
|
|
5542
5537
|
element.style.opacity = opacity;
|
|
5543
5538
|
}, interval);
|
|
5544
5539
|
}
|
|
@@ -5565,7 +5560,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5565
5560
|
var scroll = container.scrollTop;
|
|
5566
5561
|
var elementHeight = container.clientHeight;
|
|
5567
5562
|
var itemHeight = this.getOuterHeight(item);
|
|
5568
|
-
|
|
5569
5563
|
if (offset < 0) {
|
|
5570
5564
|
container.scrollTop = scroll + offset;
|
|
5571
5565
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5584,7 +5578,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5584
5578
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5585
5579
|
try {
|
|
5586
5580
|
document['selection'].empty();
|
|
5587
|
-
} catch (error) {
|
|
5581
|
+
} catch (error) {
|
|
5582
|
+
//ignore IE bug
|
|
5588
5583
|
}
|
|
5589
5584
|
}
|
|
5590
5585
|
}
|
|
@@ -5606,19 +5601,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5606
5601
|
if (!this.browser) {
|
|
5607
5602
|
var matched = this.resolveUserAgent();
|
|
5608
5603
|
this.browser = {};
|
|
5609
|
-
|
|
5610
5604
|
if (matched.browser) {
|
|
5611
5605
|
this.browser[matched.browser] = true;
|
|
5612
5606
|
this.browser['version'] = matched.version;
|
|
5613
5607
|
}
|
|
5614
|
-
|
|
5615
5608
|
if (this.browser['chrome']) {
|
|
5616
5609
|
this.browser['webkit'] = true;
|
|
5617
5610
|
} else if (this.browser['webkit']) {
|
|
5618
5611
|
this.browser['safari'] = true;
|
|
5619
5612
|
}
|
|
5620
5613
|
}
|
|
5621
|
-
|
|
5622
5614
|
return this.browser;
|
|
5623
5615
|
}
|
|
5624
5616
|
}, {
|
|
@@ -5646,10 +5638,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5646
5638
|
value: function getFocusableElements(element) {
|
|
5647
5639
|
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])");
|
|
5648
5640
|
var visibleFocusableElements = [];
|
|
5649
|
-
|
|
5650
5641
|
var _iterator3 = DomHandler_createForOfIteratorHelper(focusableElements),
|
|
5651
|
-
|
|
5652
|
-
|
|
5642
|
+
_step3;
|
|
5653
5643
|
try {
|
|
5654
5644
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5655
5645
|
var focusableElement = _step3.value;
|
|
@@ -5660,7 +5650,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5660
5650
|
} finally {
|
|
5661
5651
|
_iterator3.f();
|
|
5662
5652
|
}
|
|
5663
|
-
|
|
5664
5653
|
return visibleFocusableElements;
|
|
5665
5654
|
}
|
|
5666
5655
|
}, {
|
|
@@ -5703,55 +5692,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5703
5692
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5704
5693
|
}
|
|
5705
5694
|
}]);
|
|
5706
|
-
|
|
5707
5695
|
return DomHandler;
|
|
5708
5696
|
}();
|
|
5709
5697
|
|
|
5710
|
-
|
|
5711
5698
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5712
5699
|
|
|
5713
|
-
|
|
5714
5700
|
function bindEvents(el) {
|
|
5715
5701
|
el.addEventListener('mousedown', onMouseDown);
|
|
5716
5702
|
}
|
|
5717
|
-
|
|
5718
5703
|
function unbindEvents(el) {
|
|
5719
5704
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5720
5705
|
}
|
|
5721
|
-
|
|
5722
5706
|
function create(el) {
|
|
5723
5707
|
var ink = document.createElement('span');
|
|
5724
5708
|
ink.className = 'p-ink';
|
|
5725
5709
|
el.appendChild(ink);
|
|
5726
5710
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5727
5711
|
}
|
|
5728
|
-
|
|
5729
5712
|
function remove(el) {
|
|
5730
5713
|
var ink = getInk(el);
|
|
5731
|
-
|
|
5732
5714
|
if (ink) {
|
|
5733
5715
|
unbindEvents(el);
|
|
5734
5716
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5735
5717
|
ink.remove();
|
|
5736
5718
|
}
|
|
5737
5719
|
}
|
|
5738
|
-
|
|
5739
5720
|
function onMouseDown(event) {
|
|
5740
5721
|
var target = event.currentTarget;
|
|
5741
5722
|
var ink = getInk(target);
|
|
5742
|
-
|
|
5743
5723
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5744
5724
|
return;
|
|
5745
5725
|
}
|
|
5746
|
-
|
|
5747
5726
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5748
|
-
|
|
5749
5727
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5750
5728
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5751
5729
|
ink.style.height = d + 'px';
|
|
5752
5730
|
ink.style.width = d + 'px';
|
|
5753
5731
|
}
|
|
5754
|
-
|
|
5755
5732
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5756
5733
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5757
5734
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5759,21 +5736,17 @@ function onMouseDown(event) {
|
|
|
5759
5736
|
ink.style.left = x + 'px';
|
|
5760
5737
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5761
5738
|
}
|
|
5762
|
-
|
|
5763
5739
|
function onAnimationEnd(event) {
|
|
5764
5740
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5765
5741
|
}
|
|
5766
|
-
|
|
5767
5742
|
function getInk(el) {
|
|
5768
5743
|
for (var i = 0; i < el.children.length; i++) {
|
|
5769
5744
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5770
5745
|
return el.children[i];
|
|
5771
5746
|
}
|
|
5772
5747
|
}
|
|
5773
|
-
|
|
5774
5748
|
return null;
|
|
5775
5749
|
}
|
|
5776
|
-
|
|
5777
5750
|
var Ripple = {
|
|
5778
5751
|
inserted: function inserted(el, binding, vnode) {
|
|
5779
5752
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5794,36 +5767,10 @@ var Ripple = {
|
|
|
5794
5767
|
|
|
5795
5768
|
|
|
5796
5769
|
|
|
5797
|
-
|
|
5798
5770
|
function Listboxvue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = Listboxvue_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; } } }; }
|
|
5799
|
-
|
|
5800
5771
|
function Listboxvue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Listboxvue_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 Listboxvue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
5801
|
-
|
|
5802
5772
|
function Listboxvue_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; }
|
|
5803
5773
|
|
|
5804
|
-
//
|
|
5805
|
-
//
|
|
5806
|
-
//
|
|
5807
|
-
//
|
|
5808
|
-
//
|
|
5809
|
-
//
|
|
5810
|
-
//
|
|
5811
|
-
//
|
|
5812
|
-
//
|
|
5813
|
-
//
|
|
5814
|
-
//
|
|
5815
|
-
//
|
|
5816
|
-
//
|
|
5817
|
-
//
|
|
5818
|
-
//
|
|
5819
|
-
//
|
|
5820
|
-
//
|
|
5821
|
-
//
|
|
5822
|
-
//
|
|
5823
|
-
//
|
|
5824
|
-
//
|
|
5825
|
-
//
|
|
5826
|
-
|
|
5827
5774
|
|
|
5828
5775
|
|
|
5829
5776
|
/* harmony default export */ var Listboxvue_type_script_lang_js_ = ({
|
|
@@ -5869,7 +5816,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5869
5816
|
if (this.disabled || this.isOptionDisabled(option)) {
|
|
5870
5817
|
return;
|
|
5871
5818
|
}
|
|
5872
|
-
|
|
5873
5819
|
if (this.multiple) this.onOptionSelectMultiple(event, option);else this.onOptionSelectSingle(event, option);
|
|
5874
5820
|
this.optionTouched = false;
|
|
5875
5821
|
},
|
|
@@ -5877,7 +5823,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5877
5823
|
if (this.disabled) {
|
|
5878
5824
|
return;
|
|
5879
5825
|
}
|
|
5880
|
-
|
|
5881
5826
|
this.optionTouched = true;
|
|
5882
5827
|
},
|
|
5883
5828
|
onOptionSelectSingle: function onOptionSelectSingle(event, option) {
|
|
@@ -5885,10 +5830,8 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5885
5830
|
var valueChanged = false;
|
|
5886
5831
|
var value = null;
|
|
5887
5832
|
var metaSelection = this.optionTouched ? false : this.metaKeySelection;
|
|
5888
|
-
|
|
5889
5833
|
if (metaSelection) {
|
|
5890
5834
|
var metaKey = event.metaKey || event.ctrlKey;
|
|
5891
|
-
|
|
5892
5835
|
if (selected) {
|
|
5893
5836
|
if (metaKey) {
|
|
5894
5837
|
value = null;
|
|
@@ -5902,7 +5845,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5902
5845
|
value = selected ? null : this.getOptionValue(option);
|
|
5903
5846
|
valueChanged = true;
|
|
5904
5847
|
}
|
|
5905
|
-
|
|
5906
5848
|
if (valueChanged) {
|
|
5907
5849
|
this.updateModel(event, value);
|
|
5908
5850
|
}
|
|
@@ -5912,10 +5854,8 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5912
5854
|
var valueChanged = false;
|
|
5913
5855
|
var value = null;
|
|
5914
5856
|
var metaSelection = this.optionTouched ? false : this.metaKeySelection;
|
|
5915
|
-
|
|
5916
5857
|
if (metaSelection) {
|
|
5917
5858
|
var metaKey = event.metaKey || event.ctrlKey;
|
|
5918
|
-
|
|
5919
5859
|
if (selected) {
|
|
5920
5860
|
if (metaKey) value = this.removeOption(option);else value = [this.getOptionValue(option)];
|
|
5921
5861
|
valueChanged = true;
|
|
@@ -5928,7 +5868,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5928
5868
|
if (selected) value = this.removeOption(option);else value = [].concat(_toConsumableArray(this.value || []), [this.getOptionValue(option)]);
|
|
5929
5869
|
valueChanged = true;
|
|
5930
5870
|
}
|
|
5931
|
-
|
|
5932
5871
|
if (valueChanged) {
|
|
5933
5872
|
this.updateModel(event, value);
|
|
5934
5873
|
}
|
|
@@ -5936,16 +5875,13 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5936
5875
|
isSelected: function isSelected(option) {
|
|
5937
5876
|
var selected = false;
|
|
5938
5877
|
var optionValue = this.getOptionValue(option);
|
|
5939
|
-
|
|
5940
5878
|
if (this.multiple) {
|
|
5941
5879
|
if (this.value) {
|
|
5942
5880
|
var _iterator = Listboxvue_type_script_lang_js_createForOfIteratorHelper(this.value),
|
|
5943
|
-
|
|
5944
|
-
|
|
5881
|
+
_step;
|
|
5945
5882
|
try {
|
|
5946
5883
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5947
5884
|
var val = _step.value;
|
|
5948
|
-
|
|
5949
5885
|
if (ObjectUtils_ObjectUtils.equals(val, optionValue, this.equalityKey)) {
|
|
5950
5886
|
selected = true;
|
|
5951
5887
|
break;
|
|
@@ -5960,12 +5896,10 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5960
5896
|
} else {
|
|
5961
5897
|
selected = ObjectUtils_ObjectUtils.equals(this.value, optionValue, this.equalityKey);
|
|
5962
5898
|
}
|
|
5963
|
-
|
|
5964
5899
|
return selected;
|
|
5965
5900
|
},
|
|
5966
5901
|
removeOption: function removeOption(option) {
|
|
5967
5902
|
var _this = this;
|
|
5968
|
-
|
|
5969
5903
|
return this.value.filter(function (val) {
|
|
5970
5904
|
return !ObjectUtils_ObjectUtils.equals(val, _this.getOptionValue(option), _this.equalityKey);
|
|
5971
5905
|
});
|
|
@@ -5979,31 +5913,26 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5979
5913
|
},
|
|
5980
5914
|
onOptionKeyDown: function onOptionKeyDown(event, option) {
|
|
5981
5915
|
var item = event.currentTarget;
|
|
5982
|
-
|
|
5983
5916
|
switch (event.which) {
|
|
5984
5917
|
//down
|
|
5985
5918
|
case 40:
|
|
5986
5919
|
var nextItem = this.findNextItem(item);
|
|
5987
|
-
|
|
5988
5920
|
if (nextItem) {
|
|
5989
5921
|
nextItem.focus();
|
|
5990
5922
|
}
|
|
5991
|
-
|
|
5992
5923
|
event.preventDefault();
|
|
5993
5924
|
break;
|
|
5994
|
-
//up
|
|
5995
5925
|
|
|
5926
|
+
//up
|
|
5996
5927
|
case 38:
|
|
5997
5928
|
var prevItem = this.findPrevItem(item);
|
|
5998
|
-
|
|
5999
5929
|
if (prevItem) {
|
|
6000
5930
|
prevItem.focus();
|
|
6001
5931
|
}
|
|
6002
|
-
|
|
6003
5932
|
event.preventDefault();
|
|
6004
5933
|
break;
|
|
6005
|
-
//enter
|
|
6006
5934
|
|
|
5935
|
+
//enter
|
|
6007
5936
|
case 13:
|
|
6008
5937
|
this.onOptionSelect(event, option);
|
|
6009
5938
|
event.preventDefault();
|
|
@@ -6028,7 +5957,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6028
5957
|
computed: {
|
|
6029
5958
|
visibleOptions: function visibleOptions() {
|
|
6030
5959
|
var _this2 = this;
|
|
6031
|
-
|
|
6032
5960
|
if (this.filterValue) return this.options.filter(function (option) {
|
|
6033
5961
|
return _this2.getOptionLabel(option).toLocaleLowerCase(_this2.filterLocale).indexOf(_this2.filterValue.toLocaleLowerCase(_this2.filterLocale)) > -1;
|
|
6034
5962
|
});else return this.options;
|
|
@@ -6043,8 +5971,8 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6043
5971
|
});
|
|
6044
5972
|
// CONCATENATED MODULE: ./src/components/listbox/Listbox.vue?vue&type=script&lang=js&
|
|
6045
5973
|
/* harmony default export */ var listbox_Listboxvue_type_script_lang_js_ = (Listboxvue_type_script_lang_js_);
|
|
6046
|
-
// EXTERNAL MODULE: ./src/components/listbox/Listbox.vue?vue&type=style&index=0&lang=css&
|
|
6047
|
-
var
|
|
5974
|
+
// EXTERNAL MODULE: ./src/components/listbox/Listbox.vue?vue&type=style&index=0&id=5485f601&prod&lang=css&
|
|
5975
|
+
var Listboxvue_type_style_index_0_id_5485f601_prod_lang_css_ = __webpack_require__("e023");
|
|
6048
5976
|
|
|
6049
5977
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
6050
5978
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -6053,20 +5981,19 @@ var Listboxvue_type_style_index_0_lang_css_ = __webpack_require__("b0c6");
|
|
|
6053
5981
|
// This module is a runtime utility for cleaner component module output and will
|
|
6054
5982
|
// be included in the final webpack user bundle.
|
|
6055
5983
|
|
|
6056
|
-
function normalizeComponent
|
|
5984
|
+
function normalizeComponent(
|
|
6057
5985
|
scriptExports,
|
|
6058
5986
|
render,
|
|
6059
5987
|
staticRenderFns,
|
|
6060
5988
|
functionalTemplate,
|
|
6061
5989
|
injectStyles,
|
|
6062
5990
|
scopeId,
|
|
6063
|
-
moduleIdentifier
|
|
5991
|
+
moduleIdentifier /* server only */,
|
|
6064
5992
|
shadowMode /* vue-cli only */
|
|
6065
5993
|
) {
|
|
6066
5994
|
// Vue.extend constructor export interop
|
|
6067
|
-
var options =
|
|
6068
|
-
? scriptExports.options
|
|
6069
|
-
: scriptExports
|
|
5995
|
+
var options =
|
|
5996
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
6070
5997
|
|
|
6071
5998
|
// render functions
|
|
6072
5999
|
if (render) {
|
|
@@ -6086,7 +6013,8 @@ function normalizeComponent (
|
|
|
6086
6013
|
}
|
|
6087
6014
|
|
|
6088
6015
|
var hook
|
|
6089
|
-
if (moduleIdentifier) {
|
|
6016
|
+
if (moduleIdentifier) {
|
|
6017
|
+
// server build
|
|
6090
6018
|
hook = function (context) {
|
|
6091
6019
|
// 2.3 injection
|
|
6092
6020
|
context =
|
|
@@ -6112,11 +6040,11 @@ function normalizeComponent (
|
|
|
6112
6040
|
} else if (injectStyles) {
|
|
6113
6041
|
hook = shadowMode
|
|
6114
6042
|
? function () {
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6043
|
+
injectStyles.call(
|
|
6044
|
+
this,
|
|
6045
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
6046
|
+
)
|
|
6047
|
+
}
|
|
6120
6048
|
: injectStyles
|
|
6121
6049
|
}
|
|
6122
6050
|
|
|
@@ -6127,16 +6055,14 @@ function normalizeComponent (
|
|
|
6127
6055
|
options._injectStyles = hook
|
|
6128
6056
|
// register for functional component in vue file
|
|
6129
6057
|
var originalRender = options.render
|
|
6130
|
-
options.render = function renderWithStyleInjection
|
|
6058
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
6131
6059
|
hook.call(context)
|
|
6132
6060
|
return originalRender(h, context)
|
|
6133
6061
|
}
|
|
6134
6062
|
} else {
|
|
6135
6063
|
// inject component registration as beforeCreate hook
|
|
6136
6064
|
var existing = options.beforeCreate
|
|
6137
|
-
options.beforeCreate = existing
|
|
6138
|
-
? [].concat(existing, hook)
|
|
6139
|
-
: [hook]
|
|
6065
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
6140
6066
|
}
|
|
6141
6067
|
}
|
|
6142
6068
|
|