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/utils/utils.common.js
CHANGED
|
@@ -4462,26 +4462,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4462
4462
|
|
|
4463
4463
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4464
4464
|
|
|
4465
|
-
|
|
4466
4465
|
function _defineProperties(target, props) {
|
|
4467
4466
|
for (var i = 0; i < props.length; i++) {
|
|
4468
4467
|
var descriptor = props[i];
|
|
4469
4468
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4470
4469
|
descriptor.configurable = true;
|
|
4471
4470
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4472
|
-
|
|
4473
4471
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4474
4472
|
}
|
|
4475
4473
|
}
|
|
4476
|
-
|
|
4477
4474
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4478
4475
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4479
4476
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4480
|
-
|
|
4481
4477
|
define_property_default()(Constructor, "prototype", {
|
|
4482
4478
|
writable: false
|
|
4483
4479
|
});
|
|
4484
|
-
|
|
4485
4480
|
return Constructor;
|
|
4486
4481
|
}
|
|
4487
4482
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
@@ -4527,18 +4522,13 @@ var es6_regexp_split = __webpack_require__("28a5");
|
|
|
4527
4522
|
|
|
4528
4523
|
|
|
4529
4524
|
|
|
4530
|
-
|
|
4531
4525
|
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; } } }; }
|
|
4532
|
-
|
|
4533
4526
|
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); }
|
|
4534
|
-
|
|
4535
4527
|
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; }
|
|
4536
|
-
|
|
4537
4528
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4538
4529
|
function DomHandler() {
|
|
4539
4530
|
_classCallCheck(this, DomHandler);
|
|
4540
4531
|
}
|
|
4541
|
-
|
|
4542
4532
|
_createClass(DomHandler, null, [{
|
|
4543
4533
|
key: "innerWidth",
|
|
4544
4534
|
value: function innerWidth(el) {
|
|
@@ -4572,12 +4562,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4572
4562
|
value: function getOuterWidth(el, margin) {
|
|
4573
4563
|
if (el) {
|
|
4574
4564
|
var width = el.offsetWidth;
|
|
4575
|
-
|
|
4576
4565
|
if (margin) {
|
|
4577
4566
|
var style = getComputedStyle(el);
|
|
4578
4567
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4579
4568
|
}
|
|
4580
|
-
|
|
4581
4569
|
return width;
|
|
4582
4570
|
} else {
|
|
4583
4571
|
return 0;
|
|
@@ -4588,12 +4576,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4588
4576
|
value: function getOuterHeight(el, margin) {
|
|
4589
4577
|
if (el) {
|
|
4590
4578
|
var height = el.offsetHeight;
|
|
4591
|
-
|
|
4592
4579
|
if (margin) {
|
|
4593
4580
|
var style = getComputedStyle(el);
|
|
4594
4581
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4595
4582
|
}
|
|
4596
|
-
|
|
4597
4583
|
return height;
|
|
4598
4584
|
} else {
|
|
4599
4585
|
return 0;
|
|
@@ -4604,12 +4590,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4604
4590
|
value: function getClientHeight(el, margin) {
|
|
4605
4591
|
if (el) {
|
|
4606
4592
|
var height = el.clientHeight;
|
|
4607
|
-
|
|
4608
4593
|
if (margin) {
|
|
4609
4594
|
var style = getComputedStyle(el);
|
|
4610
4595
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4611
4596
|
}
|
|
4612
|
-
|
|
4613
4597
|
return height;
|
|
4614
4598
|
} else {
|
|
4615
4599
|
return 0;
|
|
@@ -4619,11 +4603,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4619
4603
|
key: "getViewport",
|
|
4620
4604
|
value: function getViewport() {
|
|
4621
4605
|
var win = window,
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4606
|
+
d = document,
|
|
4607
|
+
e = d.documentElement,
|
|
4608
|
+
g = d.getElementsByTagName('body')[0],
|
|
4609
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4610
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4627
4611
|
return {
|
|
4628
4612
|
width: w,
|
|
4629
4613
|
height: h
|
|
@@ -4654,12 +4638,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4654
4638
|
value: function index(element) {
|
|
4655
4639
|
var children = element.parentNode.childNodes;
|
|
4656
4640
|
var num = 0;
|
|
4657
|
-
|
|
4658
4641
|
for (var i = 0; i < children.length; i++) {
|
|
4659
4642
|
if (children[i] === element) return num;
|
|
4660
4643
|
if (children[i].nodeType === 1) num++;
|
|
4661
4644
|
}
|
|
4662
|
-
|
|
4663
4645
|
return -1;
|
|
4664
4646
|
}
|
|
4665
4647
|
}, {
|
|
@@ -4667,13 +4649,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4667
4649
|
value: function addMultipleClasses(element, className) {
|
|
4668
4650
|
if (element.classList) {
|
|
4669
4651
|
var styles = className.split(' ');
|
|
4670
|
-
|
|
4671
4652
|
for (var i = 0; i < styles.length; i++) {
|
|
4672
4653
|
element.classList.add(styles[i]);
|
|
4673
4654
|
}
|
|
4674
4655
|
} else {
|
|
4675
4656
|
var _styles = className.split(' ');
|
|
4676
|
-
|
|
4677
4657
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4678
4658
|
element.className += ' ' + _styles[_i];
|
|
4679
4659
|
}
|
|
@@ -4695,7 +4675,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4695
4675
|
if (element) {
|
|
4696
4676
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4697
4677
|
}
|
|
4698
|
-
|
|
4699
4678
|
return false;
|
|
4700
4679
|
}
|
|
4701
4680
|
}, {
|
|
@@ -4740,11 +4719,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4740
4719
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4741
4720
|
var viewport = this.getViewport();
|
|
4742
4721
|
var top, left;
|
|
4743
|
-
|
|
4744
4722
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4745
4723
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4746
4724
|
element.style.transformOrigin = 'bottom';
|
|
4747
|
-
|
|
4748
4725
|
if (top < 0) {
|
|
4749
4726
|
top = windowScrollTop;
|
|
4750
4727
|
}
|
|
@@ -4752,7 +4729,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4752
4729
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4753
4730
|
element.style.transformOrigin = 'top';
|
|
4754
4731
|
}
|
|
4755
|
-
|
|
4756
4732
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4757
4733
|
element.style.top = top + 'px';
|
|
4758
4734
|
element.style.left = left + 'px';
|
|
@@ -4768,11 +4744,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4768
4744
|
var targetOffset = target.getBoundingClientRect();
|
|
4769
4745
|
var viewport = this.getViewport();
|
|
4770
4746
|
var top, left;
|
|
4771
|
-
|
|
4772
4747
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4773
4748
|
top = -1 * elementDimensions.height;
|
|
4774
4749
|
element.style.transformOrigin = 'bottom';
|
|
4775
|
-
|
|
4776
4750
|
if (targetOffset.top + top < 0) {
|
|
4777
4751
|
top = -1 * targetOffset.top;
|
|
4778
4752
|
}
|
|
@@ -4780,7 +4754,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4780
4754
|
top = targetHeight;
|
|
4781
4755
|
element.style.transformOrigin = 'top';
|
|
4782
4756
|
}
|
|
4783
|
-
|
|
4784
4757
|
if (elementDimensions.width > viewport.width) {
|
|
4785
4758
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4786
4759
|
left = targetOffset.left * -1;
|
|
@@ -4791,7 +4764,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4791
4764
|
// element fits on screen (align with target)
|
|
4792
4765
|
left = 0;
|
|
4793
4766
|
}
|
|
4794
|
-
|
|
4795
4767
|
element.style.top = top + 'px';
|
|
4796
4768
|
element.style.left = left + 'px';
|
|
4797
4769
|
}
|
|
@@ -4805,35 +4777,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4805
4777
|
key: "getScrollableParents",
|
|
4806
4778
|
value: function getScrollableParents(element) {
|
|
4807
4779
|
var scrollableParents = [];
|
|
4808
|
-
|
|
4809
4780
|
if (element) {
|
|
4810
4781
|
var parents = this.getParents(element);
|
|
4811
4782
|
var overflowRegex = /(auto|scroll)/;
|
|
4812
|
-
|
|
4813
4783
|
var overflowCheck = function overflowCheck(node) {
|
|
4814
4784
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4815
4785
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4816
4786
|
};
|
|
4817
|
-
|
|
4818
4787
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4819
|
-
|
|
4820
|
-
|
|
4788
|
+
_step;
|
|
4821
4789
|
try {
|
|
4822
4790
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4823
4791
|
var parent = _step.value;
|
|
4824
4792
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4825
|
-
|
|
4826
4793
|
if (scrollSelectors) {
|
|
4827
4794
|
var selectors = scrollSelectors.split(',');
|
|
4828
|
-
|
|
4829
4795
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
4830
|
-
|
|
4831
|
-
|
|
4796
|
+
_step2;
|
|
4832
4797
|
try {
|
|
4833
4798
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4834
4799
|
var selector = _step2.value;
|
|
4835
4800
|
var el = this.findSingle(parent, selector);
|
|
4836
|
-
|
|
4837
4801
|
if (el && overflowCheck(el)) {
|
|
4838
4802
|
scrollableParents.push(el);
|
|
4839
4803
|
}
|
|
@@ -4851,7 +4815,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4851
4815
|
_iterator.f();
|
|
4852
4816
|
}
|
|
4853
4817
|
}
|
|
4854
|
-
|
|
4855
4818
|
return scrollableParents;
|
|
4856
4819
|
}
|
|
4857
4820
|
}, {
|
|
@@ -4892,34 +4855,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4892
4855
|
element.style.opacity = 0;
|
|
4893
4856
|
var last = +new Date();
|
|
4894
4857
|
var opacity = 0;
|
|
4895
|
-
|
|
4896
4858
|
var tick = function tick() {
|
|
4897
4859
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
4898
4860
|
element.style.opacity = opacity;
|
|
4899
4861
|
last = +new Date();
|
|
4900
|
-
|
|
4901
4862
|
if (+opacity < 1) {
|
|
4902
4863
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
4903
4864
|
}
|
|
4904
4865
|
};
|
|
4905
|
-
|
|
4906
4866
|
tick();
|
|
4907
4867
|
}
|
|
4908
4868
|
}, {
|
|
4909
4869
|
key: "fadeOut",
|
|
4910
4870
|
value: function fadeOut(element, ms) {
|
|
4911
4871
|
var opacity = 1,
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4872
|
+
interval = 50,
|
|
4873
|
+
duration = ms,
|
|
4874
|
+
gap = interval / duration;
|
|
4915
4875
|
var fading = setInterval(function () {
|
|
4916
4876
|
opacity -= gap;
|
|
4917
|
-
|
|
4918
4877
|
if (opacity <= 0) {
|
|
4919
4878
|
opacity = 0;
|
|
4920
4879
|
clearInterval(fading);
|
|
4921
4880
|
}
|
|
4922
|
-
|
|
4923
4881
|
element.style.opacity = opacity;
|
|
4924
4882
|
}, interval);
|
|
4925
4883
|
}
|
|
@@ -4946,7 +4904,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4946
4904
|
var scroll = container.scrollTop;
|
|
4947
4905
|
var elementHeight = container.clientHeight;
|
|
4948
4906
|
var itemHeight = this.getOuterHeight(item);
|
|
4949
|
-
|
|
4950
4907
|
if (offset < 0) {
|
|
4951
4908
|
container.scrollTop = scroll + offset;
|
|
4952
4909
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -4965,7 +4922,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4965
4922
|
} else if (document['selection'] && document['selection'].empty) {
|
|
4966
4923
|
try {
|
|
4967
4924
|
document['selection'].empty();
|
|
4968
|
-
} catch (error) {
|
|
4925
|
+
} catch (error) {
|
|
4926
|
+
//ignore IE bug
|
|
4969
4927
|
}
|
|
4970
4928
|
}
|
|
4971
4929
|
}
|
|
@@ -4987,19 +4945,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4987
4945
|
if (!this.browser) {
|
|
4988
4946
|
var matched = this.resolveUserAgent();
|
|
4989
4947
|
this.browser = {};
|
|
4990
|
-
|
|
4991
4948
|
if (matched.browser) {
|
|
4992
4949
|
this.browser[matched.browser] = true;
|
|
4993
4950
|
this.browser['version'] = matched.version;
|
|
4994
4951
|
}
|
|
4995
|
-
|
|
4996
4952
|
if (this.browser['chrome']) {
|
|
4997
4953
|
this.browser['webkit'] = true;
|
|
4998
4954
|
} else if (this.browser['webkit']) {
|
|
4999
4955
|
this.browser['safari'] = true;
|
|
5000
4956
|
}
|
|
5001
4957
|
}
|
|
5002
|
-
|
|
5003
4958
|
return this.browser;
|
|
5004
4959
|
}
|
|
5005
4960
|
}, {
|
|
@@ -5027,10 +4982,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5027
4982
|
value: function getFocusableElements(element) {
|
|
5028
4983
|
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])");
|
|
5029
4984
|
var visibleFocusableElements = [];
|
|
5030
|
-
|
|
5031
4985
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5032
|
-
|
|
5033
|
-
|
|
4986
|
+
_step3;
|
|
5034
4987
|
try {
|
|
5035
4988
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5036
4989
|
var focusableElement = _step3.value;
|
|
@@ -5041,7 +4994,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5041
4994
|
} finally {
|
|
5042
4995
|
_iterator3.f();
|
|
5043
4996
|
}
|
|
5044
|
-
|
|
5045
4997
|
return visibleFocusableElements;
|
|
5046
4998
|
}
|
|
5047
4999
|
}, {
|
|
@@ -5084,31 +5036,24 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5084
5036
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5085
5037
|
}
|
|
5086
5038
|
}]);
|
|
5087
|
-
|
|
5088
5039
|
return DomHandler;
|
|
5089
5040
|
}();
|
|
5090
5041
|
|
|
5091
|
-
|
|
5092
5042
|
// CONCATENATED MODULE: ./src/components/utils/ConnectedOverlayScrollHandler.js
|
|
5093
5043
|
|
|
5094
5044
|
|
|
5095
5045
|
|
|
5096
|
-
|
|
5097
5046
|
var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
|
|
5098
5047
|
function ConnectedOverlayScrollHandler(element) {
|
|
5099
5048
|
var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
5100
|
-
|
|
5101
5049
|
_classCallCheck(this, ConnectedOverlayScrollHandler);
|
|
5102
|
-
|
|
5103
5050
|
this.element = element;
|
|
5104
5051
|
this.listener = listener;
|
|
5105
5052
|
}
|
|
5106
|
-
|
|
5107
5053
|
_createClass(ConnectedOverlayScrollHandler, [{
|
|
5108
5054
|
key: "bindScrollListener",
|
|
5109
5055
|
value: function bindScrollListener() {
|
|
5110
5056
|
this.scrollableParents = DomHandler_DomHandler.getScrollableParents(this.element);
|
|
5111
|
-
|
|
5112
5057
|
for (var i = 0; i < this.scrollableParents.length; i++) {
|
|
5113
5058
|
this.scrollableParents[i].addEventListener('scroll', this.listener);
|
|
5114
5059
|
}
|
|
@@ -5131,11 +5076,9 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
5131
5076
|
this.scrollableParents = null;
|
|
5132
5077
|
}
|
|
5133
5078
|
}]);
|
|
5134
|
-
|
|
5135
5079
|
return ConnectedOverlayScrollHandler;
|
|
5136
5080
|
}();
|
|
5137
5081
|
|
|
5138
|
-
|
|
5139
5082
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
|
|
5140
5083
|
var es6_regexp_search = __webpack_require__("386d");
|
|
5141
5084
|
|
|
@@ -5185,18 +5128,13 @@ function _typeof(obj) {
|
|
|
5185
5128
|
|
|
5186
5129
|
|
|
5187
5130
|
|
|
5188
|
-
|
|
5189
5131
|
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; } } }; }
|
|
5190
|
-
|
|
5191
5132
|
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); }
|
|
5192
|
-
|
|
5193
5133
|
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; }
|
|
5194
|
-
|
|
5195
5134
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
5196
5135
|
function ObjectUtils() {
|
|
5197
5136
|
_classCallCheck(this, ObjectUtils);
|
|
5198
5137
|
}
|
|
5199
|
-
|
|
5200
5138
|
_createClass(ObjectUtils, null, [{
|
|
5201
5139
|
key: "equals",
|
|
5202
5140
|
value: function equals(obj1, obj2, field) {
|
|
@@ -5206,50 +5144,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5206
5144
|
key: "deepEquals",
|
|
5207
5145
|
value: function deepEquals(a, b) {
|
|
5208
5146
|
if (a === b) return true;
|
|
5209
|
-
|
|
5210
5147
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
5211
5148
|
var arrA = Array.isArray(a),
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5149
|
+
arrB = Array.isArray(b),
|
|
5150
|
+
i,
|
|
5151
|
+
length,
|
|
5152
|
+
key;
|
|
5217
5153
|
if (arrA && arrB) {
|
|
5218
5154
|
length = a.length;
|
|
5219
5155
|
if (length != b.length) return false;
|
|
5220
|
-
|
|
5221
5156
|
for (i = length; i-- !== 0;) {
|
|
5222
5157
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
5223
5158
|
}
|
|
5224
|
-
|
|
5225
5159
|
return true;
|
|
5226
5160
|
}
|
|
5227
|
-
|
|
5228
5161
|
if (arrA != arrB) return false;
|
|
5229
5162
|
var dateA = a instanceof Date,
|
|
5230
|
-
|
|
5163
|
+
dateB = b instanceof Date;
|
|
5231
5164
|
if (dateA != dateB) return false;
|
|
5232
5165
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
5233
5166
|
var regexpA = a instanceof RegExp,
|
|
5234
|
-
|
|
5167
|
+
regexpB = b instanceof RegExp;
|
|
5235
5168
|
if (regexpA != regexpB) return false;
|
|
5236
5169
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
5237
5170
|
var keys = Object.keys(a);
|
|
5238
5171
|
length = keys.length;
|
|
5239
5172
|
if (length !== Object.keys(b).length) return false;
|
|
5240
|
-
|
|
5241
5173
|
for (i = length; i-- !== 0;) {
|
|
5242
5174
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
5243
5175
|
}
|
|
5244
|
-
|
|
5245
5176
|
for (i = length; i-- !== 0;) {
|
|
5246
5177
|
key = keys[i];
|
|
5247
5178
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
5248
5179
|
}
|
|
5249
|
-
|
|
5250
5180
|
return true;
|
|
5251
5181
|
}
|
|
5252
|
-
|
|
5253
5182
|
return a !== a && b !== b;
|
|
5254
5183
|
}
|
|
5255
5184
|
}, {
|
|
@@ -5263,15 +5192,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5263
5192
|
} else {
|
|
5264
5193
|
var fields = field.split('.');
|
|
5265
5194
|
var value = data;
|
|
5266
|
-
|
|
5267
5195
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
5268
5196
|
if (value == null) {
|
|
5269
5197
|
return null;
|
|
5270
5198
|
}
|
|
5271
|
-
|
|
5272
5199
|
value = value[fields[i]];
|
|
5273
5200
|
}
|
|
5274
|
-
|
|
5275
5201
|
return value;
|
|
5276
5202
|
}
|
|
5277
5203
|
} else {
|
|
@@ -5287,22 +5213,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5287
5213
|
key: "filter",
|
|
5288
5214
|
value: function filter(value, fields, filterValue) {
|
|
5289
5215
|
var filteredItems = [];
|
|
5290
|
-
|
|
5291
5216
|
if (value) {
|
|
5292
5217
|
var _iterator = ObjectUtils_createForOfIteratorHelper(value),
|
|
5293
|
-
|
|
5294
|
-
|
|
5218
|
+
_step;
|
|
5295
5219
|
try {
|
|
5296
5220
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5297
5221
|
var item = _step.value;
|
|
5298
|
-
|
|
5299
5222
|
var _iterator2 = ObjectUtils_createForOfIteratorHelper(fields),
|
|
5300
|
-
|
|
5301
|
-
|
|
5223
|
+
_step2;
|
|
5302
5224
|
try {
|
|
5303
5225
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5304
5226
|
var field = _step2.value;
|
|
5305
|
-
|
|
5306
5227
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
5307
5228
|
filteredItems.push(item);
|
|
5308
5229
|
break;
|
|
@@ -5320,23 +5241,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5320
5241
|
_iterator.f();
|
|
5321
5242
|
}
|
|
5322
5243
|
}
|
|
5323
|
-
|
|
5324
5244
|
return filteredItems;
|
|
5325
5245
|
}
|
|
5326
5246
|
}, {
|
|
5327
5247
|
key: "reorderArray",
|
|
5328
5248
|
value: function reorderArray(value, from, to) {
|
|
5329
5249
|
var target;
|
|
5330
|
-
|
|
5331
5250
|
if (value && from !== to) {
|
|
5332
5251
|
if (to >= value.length) {
|
|
5333
5252
|
target = to - value.length;
|
|
5334
|
-
|
|
5335
5253
|
while (target-- + 1) {
|
|
5336
5254
|
value.push(undefined);
|
|
5337
5255
|
}
|
|
5338
5256
|
}
|
|
5339
|
-
|
|
5340
5257
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
5341
5258
|
}
|
|
5342
5259
|
}
|
|
@@ -5344,7 +5261,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5344
5261
|
key: "findIndexInList",
|
|
5345
5262
|
value: function findIndexInList(value, list) {
|
|
5346
5263
|
var index = -1;
|
|
5347
|
-
|
|
5348
5264
|
if (list) {
|
|
5349
5265
|
for (var i = 0; i < list.length; i++) {
|
|
5350
5266
|
if (list[i] === value) {
|
|
@@ -5353,7 +5269,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5353
5269
|
}
|
|
5354
5270
|
}
|
|
5355
5271
|
}
|
|
5356
|
-
|
|
5357
5272
|
return index;
|
|
5358
5273
|
}
|
|
5359
5274
|
}, {
|
|
@@ -5361,8 +5276,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5361
5276
|
value: function contains(value, list) {
|
|
5362
5277
|
if (value != null && list && list.length) {
|
|
5363
5278
|
var _iterator3 = ObjectUtils_createForOfIteratorHelper(list),
|
|
5364
|
-
|
|
5365
|
-
|
|
5279
|
+
_step3;
|
|
5366
5280
|
try {
|
|
5367
5281
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5368
5282
|
var val = _step3.value;
|
|
@@ -5374,7 +5288,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5374
5288
|
_iterator3.f();
|
|
5375
5289
|
}
|
|
5376
5290
|
}
|
|
5377
|
-
|
|
5378
5291
|
return false;
|
|
5379
5292
|
}
|
|
5380
5293
|
}, {
|
|
@@ -5382,17 +5295,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5382
5295
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
5383
5296
|
if (arr.length > 0) {
|
|
5384
5297
|
var injected = false;
|
|
5385
|
-
|
|
5386
5298
|
for (var i = 0; i < arr.length; i++) {
|
|
5387
5299
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
5388
|
-
|
|
5389
5300
|
if (currentItemIndex > index) {
|
|
5390
5301
|
arr.splice(i, 0, item);
|
|
5391
5302
|
injected = true;
|
|
5392
5303
|
break;
|
|
5393
5304
|
}
|
|
5394
5305
|
}
|
|
5395
|
-
|
|
5396
5306
|
if (!injected) {
|
|
5397
5307
|
arr.push(item);
|
|
5398
5308
|
}
|
|
@@ -5406,28 +5316,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5406
5316
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
5407
5317
|
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");
|
|
5408
5318
|
}
|
|
5409
|
-
|
|
5410
5319
|
return str;
|
|
5411
5320
|
}
|
|
5412
5321
|
}, {
|
|
5413
5322
|
key: "getVNodeProp",
|
|
5414
5323
|
value: function getVNodeProp(vnode, prop) {
|
|
5415
5324
|
var props = vnode._props;
|
|
5416
|
-
|
|
5417
5325
|
if (props) {
|
|
5418
5326
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5419
5327
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5420
5328
|
return props[propName];
|
|
5421
5329
|
}
|
|
5422
|
-
|
|
5423
5330
|
return null;
|
|
5424
5331
|
}
|
|
5425
5332
|
}]);
|
|
5426
|
-
|
|
5427
5333
|
return ObjectUtils;
|
|
5428
5334
|
}();
|
|
5429
5335
|
|
|
5430
|
-
|
|
5431
5336
|
// CONCATENATED MODULE: ./src/components/utils/UniqueComponentId.js
|
|
5432
5337
|
var lastId = 0;
|
|
5433
5338
|
/* harmony default export */ var UniqueComponentId = (function () {
|
|
@@ -5453,14 +5358,12 @@ var es6_map = __webpack_require__("f400");
|
|
|
5453
5358
|
},
|
|
5454
5359
|
off: function off(type, handler) {
|
|
5455
5360
|
var handlers = allHandlers.get(type);
|
|
5456
|
-
|
|
5457
5361
|
if (handlers) {
|
|
5458
5362
|
handlers.splice(handlers.indexOf(handler) >>> 0, 1);
|
|
5459
5363
|
}
|
|
5460
5364
|
},
|
|
5461
5365
|
emit: function emit(type, evt) {
|
|
5462
5366
|
var handlers = allHandlers.get(type);
|
|
5463
|
-
|
|
5464
5367
|
if (handlers) {
|
|
5465
5368
|
handlers.slice().map(function (handler) {
|
|
5466
5369
|
handler(evt);
|