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
|
@@ -4272,10 +4272,79 @@ if (typeof window !== 'undefined') {
|
|
|
4272
4272
|
// Indicate to webpack that this file can be concatenated
|
|
4273
4273
|
/* harmony default export */ var setPublicPath = (null);
|
|
4274
4274
|
|
|
4275
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4276
|
-
var render = function () {
|
|
4277
|
-
var
|
|
4278
|
-
|
|
4275
|
+
// 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/treetable/TreeTableRow.vue?vue&type=template&id=29de40d8&
|
|
4276
|
+
var render = function render() {
|
|
4277
|
+
var _vm = this,
|
|
4278
|
+
_c = _vm._self._c;
|
|
4279
|
+
return _c('tr', {
|
|
4280
|
+
class: _vm.containerClass,
|
|
4281
|
+
style: _vm.node.style,
|
|
4282
|
+
attrs: {
|
|
4283
|
+
"tabindex": "0"
|
|
4284
|
+
},
|
|
4285
|
+
on: {
|
|
4286
|
+
"click": _vm.onClick,
|
|
4287
|
+
"keydown": _vm.onKeyDown,
|
|
4288
|
+
"touchend": _vm.onTouchEnd
|
|
4289
|
+
}
|
|
4290
|
+
}, _vm._l(_vm.columns, function (col, i) {
|
|
4291
|
+
return _c('td', {
|
|
4292
|
+
key: _vm.columnProp(col, 'columnKey') || _vm.columnProp(col, 'field') || i,
|
|
4293
|
+
class: _vm.columnProp(col, 'bodyClass'),
|
|
4294
|
+
style: _vm.columnProp(col, 'bodyStyle')
|
|
4295
|
+
}, [_vm.columnProp(col, 'expander') ? _c('button', {
|
|
4296
|
+
directives: [{
|
|
4297
|
+
name: "ripple",
|
|
4298
|
+
rawName: "v-ripple"
|
|
4299
|
+
}],
|
|
4300
|
+
staticClass: "p-treetable-toggler p-link",
|
|
4301
|
+
style: _vm.togglerStyle,
|
|
4302
|
+
attrs: {
|
|
4303
|
+
"type": "button",
|
|
4304
|
+
"tabindex": "-1"
|
|
4305
|
+
},
|
|
4306
|
+
on: {
|
|
4307
|
+
"click": _vm.toggle
|
|
4308
|
+
}
|
|
4309
|
+
}, [_c('i', {
|
|
4310
|
+
class: _vm.togglerIcon
|
|
4311
|
+
})]) : _vm._e(), _vm.checkboxSelectionMode && _vm.columnProp(col, 'expander') ? _c('div', {
|
|
4312
|
+
class: ['p-checkbox p-treetable-checkbox p-component', {
|
|
4313
|
+
'p-checkbox-focused': _vm.checkboxFocused
|
|
4314
|
+
}],
|
|
4315
|
+
attrs: {
|
|
4316
|
+
"role": "checkbox",
|
|
4317
|
+
"aria-checked": _vm.checked
|
|
4318
|
+
},
|
|
4319
|
+
on: {
|
|
4320
|
+
"click": _vm.toggleCheckbox
|
|
4321
|
+
}
|
|
4322
|
+
}, [_c('div', {
|
|
4323
|
+
staticClass: "p-hidden-accessible"
|
|
4324
|
+
}, [_c('input', {
|
|
4325
|
+
attrs: {
|
|
4326
|
+
"type": "checkbox"
|
|
4327
|
+
},
|
|
4328
|
+
on: {
|
|
4329
|
+
"focus": _vm.onCheckboxFocus,
|
|
4330
|
+
"blur": _vm.onCheckboxBlur
|
|
4331
|
+
}
|
|
4332
|
+
})]), _c('div', {
|
|
4333
|
+
ref: "checkboxEl",
|
|
4334
|
+
refInFor: true,
|
|
4335
|
+
class: _vm.checkboxClass
|
|
4336
|
+
}, [_c('span', {
|
|
4337
|
+
class: _vm.checkboxIcon
|
|
4338
|
+
})])]) : _vm._e(), col.$scopedSlots.body ? _c('TTColumnSlot', {
|
|
4339
|
+
attrs: {
|
|
4340
|
+
"node": _vm.node,
|
|
4341
|
+
"column": col,
|
|
4342
|
+
"type": "body"
|
|
4343
|
+
}
|
|
4344
|
+
}) : [_c('span', [_vm._v(_vm._s(_vm.resolveFieldData(_vm.node.data, col.field)))])]], 2);
|
|
4345
|
+
}), 0);
|
|
4346
|
+
};
|
|
4347
|
+
var staticRenderFns = [];
|
|
4279
4348
|
|
|
4280
4349
|
// CONCATENATED MODULE: ./src/components/treetable/TreeTableRow.vue?vue&type=template&id=29de40d8&
|
|
4281
4350
|
|
|
@@ -4323,7 +4392,6 @@ function _defineProperty(obj, key, value) {
|
|
|
4323
4392
|
} else {
|
|
4324
4393
|
obj[key] = value;
|
|
4325
4394
|
}
|
|
4326
|
-
|
|
4327
4395
|
return obj;
|
|
4328
4396
|
}
|
|
4329
4397
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
@@ -4372,26 +4440,21 @@ function _classCallCheck(instance, Constructor) {
|
|
|
4372
4440
|
}
|
|
4373
4441
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4374
4442
|
|
|
4375
|
-
|
|
4376
4443
|
function _defineProperties(target, props) {
|
|
4377
4444
|
for (var i = 0; i < props.length; i++) {
|
|
4378
4445
|
var descriptor = props[i];
|
|
4379
4446
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4380
4447
|
descriptor.configurable = true;
|
|
4381
4448
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4382
|
-
|
|
4383
4449
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4384
4450
|
}
|
|
4385
4451
|
}
|
|
4386
|
-
|
|
4387
4452
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4388
4453
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4389
4454
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4390
|
-
|
|
4391
4455
|
define_property_default()(Constructor, "prototype", {
|
|
4392
4456
|
writable: false
|
|
4393
4457
|
});
|
|
4394
|
-
|
|
4395
4458
|
return Constructor;
|
|
4396
4459
|
}
|
|
4397
4460
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
@@ -4411,18 +4474,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4411
4474
|
|
|
4412
4475
|
|
|
4413
4476
|
|
|
4414
|
-
|
|
4415
4477
|
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; } } }; }
|
|
4416
|
-
|
|
4417
4478
|
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); }
|
|
4418
|
-
|
|
4419
4479
|
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; }
|
|
4420
|
-
|
|
4421
4480
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
4422
4481
|
function ObjectUtils() {
|
|
4423
4482
|
_classCallCheck(this, ObjectUtils);
|
|
4424
4483
|
}
|
|
4425
|
-
|
|
4426
4484
|
_createClass(ObjectUtils, null, [{
|
|
4427
4485
|
key: "equals",
|
|
4428
4486
|
value: function equals(obj1, obj2, field) {
|
|
@@ -4432,50 +4490,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4432
4490
|
key: "deepEquals",
|
|
4433
4491
|
value: function deepEquals(a, b) {
|
|
4434
4492
|
if (a === b) return true;
|
|
4435
|
-
|
|
4436
4493
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
4437
4494
|
var arrA = Array.isArray(a),
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4495
|
+
arrB = Array.isArray(b),
|
|
4496
|
+
i,
|
|
4497
|
+
length,
|
|
4498
|
+
key;
|
|
4443
4499
|
if (arrA && arrB) {
|
|
4444
4500
|
length = a.length;
|
|
4445
4501
|
if (length != b.length) return false;
|
|
4446
|
-
|
|
4447
4502
|
for (i = length; i-- !== 0;) {
|
|
4448
4503
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
4449
4504
|
}
|
|
4450
|
-
|
|
4451
4505
|
return true;
|
|
4452
4506
|
}
|
|
4453
|
-
|
|
4454
4507
|
if (arrA != arrB) return false;
|
|
4455
4508
|
var dateA = a instanceof Date,
|
|
4456
|
-
|
|
4509
|
+
dateB = b instanceof Date;
|
|
4457
4510
|
if (dateA != dateB) return false;
|
|
4458
4511
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
4459
4512
|
var regexpA = a instanceof RegExp,
|
|
4460
|
-
|
|
4513
|
+
regexpB = b instanceof RegExp;
|
|
4461
4514
|
if (regexpA != regexpB) return false;
|
|
4462
4515
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
4463
4516
|
var keys = Object.keys(a);
|
|
4464
4517
|
length = keys.length;
|
|
4465
4518
|
if (length !== Object.keys(b).length) return false;
|
|
4466
|
-
|
|
4467
4519
|
for (i = length; i-- !== 0;) {
|
|
4468
4520
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
4469
4521
|
}
|
|
4470
|
-
|
|
4471
4522
|
for (i = length; i-- !== 0;) {
|
|
4472
4523
|
key = keys[i];
|
|
4473
4524
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
4474
4525
|
}
|
|
4475
|
-
|
|
4476
4526
|
return true;
|
|
4477
4527
|
}
|
|
4478
|
-
|
|
4479
4528
|
return a !== a && b !== b;
|
|
4480
4529
|
}
|
|
4481
4530
|
}, {
|
|
@@ -4489,15 +4538,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4489
4538
|
} else {
|
|
4490
4539
|
var fields = field.split('.');
|
|
4491
4540
|
var value = data;
|
|
4492
|
-
|
|
4493
4541
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
4494
4542
|
if (value == null) {
|
|
4495
4543
|
return null;
|
|
4496
4544
|
}
|
|
4497
|
-
|
|
4498
4545
|
value = value[fields[i]];
|
|
4499
4546
|
}
|
|
4500
|
-
|
|
4501
4547
|
return value;
|
|
4502
4548
|
}
|
|
4503
4549
|
} else {
|
|
@@ -4513,22 +4559,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4513
4559
|
key: "filter",
|
|
4514
4560
|
value: function filter(value, fields, filterValue) {
|
|
4515
4561
|
var filteredItems = [];
|
|
4516
|
-
|
|
4517
4562
|
if (value) {
|
|
4518
4563
|
var _iterator = _createForOfIteratorHelper(value),
|
|
4519
|
-
|
|
4520
|
-
|
|
4564
|
+
_step;
|
|
4521
4565
|
try {
|
|
4522
4566
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4523
4567
|
var item = _step.value;
|
|
4524
|
-
|
|
4525
4568
|
var _iterator2 = _createForOfIteratorHelper(fields),
|
|
4526
|
-
|
|
4527
|
-
|
|
4569
|
+
_step2;
|
|
4528
4570
|
try {
|
|
4529
4571
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4530
4572
|
var field = _step2.value;
|
|
4531
|
-
|
|
4532
4573
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
4533
4574
|
filteredItems.push(item);
|
|
4534
4575
|
break;
|
|
@@ -4546,23 +4587,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4546
4587
|
_iterator.f();
|
|
4547
4588
|
}
|
|
4548
4589
|
}
|
|
4549
|
-
|
|
4550
4590
|
return filteredItems;
|
|
4551
4591
|
}
|
|
4552
4592
|
}, {
|
|
4553
4593
|
key: "reorderArray",
|
|
4554
4594
|
value: function reorderArray(value, from, to) {
|
|
4555
4595
|
var target;
|
|
4556
|
-
|
|
4557
4596
|
if (value && from !== to) {
|
|
4558
4597
|
if (to >= value.length) {
|
|
4559
4598
|
target = to - value.length;
|
|
4560
|
-
|
|
4561
4599
|
while (target-- + 1) {
|
|
4562
4600
|
value.push(undefined);
|
|
4563
4601
|
}
|
|
4564
4602
|
}
|
|
4565
|
-
|
|
4566
4603
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
4567
4604
|
}
|
|
4568
4605
|
}
|
|
@@ -4570,7 +4607,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4570
4607
|
key: "findIndexInList",
|
|
4571
4608
|
value: function findIndexInList(value, list) {
|
|
4572
4609
|
var index = -1;
|
|
4573
|
-
|
|
4574
4610
|
if (list) {
|
|
4575
4611
|
for (var i = 0; i < list.length; i++) {
|
|
4576
4612
|
if (list[i] === value) {
|
|
@@ -4579,7 +4615,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4579
4615
|
}
|
|
4580
4616
|
}
|
|
4581
4617
|
}
|
|
4582
|
-
|
|
4583
4618
|
return index;
|
|
4584
4619
|
}
|
|
4585
4620
|
}, {
|
|
@@ -4587,8 +4622,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4587
4622
|
value: function contains(value, list) {
|
|
4588
4623
|
if (value != null && list && list.length) {
|
|
4589
4624
|
var _iterator3 = _createForOfIteratorHelper(list),
|
|
4590
|
-
|
|
4591
|
-
|
|
4625
|
+
_step3;
|
|
4592
4626
|
try {
|
|
4593
4627
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4594
4628
|
var val = _step3.value;
|
|
@@ -4600,7 +4634,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4600
4634
|
_iterator3.f();
|
|
4601
4635
|
}
|
|
4602
4636
|
}
|
|
4603
|
-
|
|
4604
4637
|
return false;
|
|
4605
4638
|
}
|
|
4606
4639
|
}, {
|
|
@@ -4608,17 +4641,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4608
4641
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
4609
4642
|
if (arr.length > 0) {
|
|
4610
4643
|
var injected = false;
|
|
4611
|
-
|
|
4612
4644
|
for (var i = 0; i < arr.length; i++) {
|
|
4613
4645
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
4614
|
-
|
|
4615
4646
|
if (currentItemIndex > index) {
|
|
4616
4647
|
arr.splice(i, 0, item);
|
|
4617
4648
|
injected = true;
|
|
4618
4649
|
break;
|
|
4619
4650
|
}
|
|
4620
4651
|
}
|
|
4621
|
-
|
|
4622
4652
|
if (!injected) {
|
|
4623
4653
|
arr.push(item);
|
|
4624
4654
|
}
|
|
@@ -4632,28 +4662,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4632
4662
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
4633
4663
|
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");
|
|
4634
4664
|
}
|
|
4635
|
-
|
|
4636
4665
|
return str;
|
|
4637
4666
|
}
|
|
4638
4667
|
}, {
|
|
4639
4668
|
key: "getVNodeProp",
|
|
4640
4669
|
value: function getVNodeProp(vnode, prop) {
|
|
4641
4670
|
var props = vnode._props;
|
|
4642
|
-
|
|
4643
4671
|
if (props) {
|
|
4644
4672
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
4645
4673
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
4646
4674
|
return props[propName];
|
|
4647
4675
|
}
|
|
4648
|
-
|
|
4649
4676
|
return null;
|
|
4650
4677
|
}
|
|
4651
4678
|
}]);
|
|
4652
|
-
|
|
4653
4679
|
return ObjectUtils;
|
|
4654
4680
|
}();
|
|
4655
4681
|
|
|
4656
|
-
|
|
4657
4682
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
4658
4683
|
var es6_array_find = __webpack_require__("7514");
|
|
4659
4684
|
|
|
@@ -4670,18 +4695,13 @@ var es6_array_find = __webpack_require__("7514");
|
|
|
4670
4695
|
|
|
4671
4696
|
|
|
4672
4697
|
|
|
4673
|
-
|
|
4674
4698
|
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; } } }; }
|
|
4675
|
-
|
|
4676
4699
|
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); }
|
|
4677
|
-
|
|
4678
4700
|
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; }
|
|
4679
|
-
|
|
4680
4701
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4681
4702
|
function DomHandler() {
|
|
4682
4703
|
_classCallCheck(this, DomHandler);
|
|
4683
4704
|
}
|
|
4684
|
-
|
|
4685
4705
|
_createClass(DomHandler, null, [{
|
|
4686
4706
|
key: "innerWidth",
|
|
4687
4707
|
value: function innerWidth(el) {
|
|
@@ -4715,12 +4735,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4715
4735
|
value: function getOuterWidth(el, margin) {
|
|
4716
4736
|
if (el) {
|
|
4717
4737
|
var width = el.offsetWidth;
|
|
4718
|
-
|
|
4719
4738
|
if (margin) {
|
|
4720
4739
|
var style = getComputedStyle(el);
|
|
4721
4740
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4722
4741
|
}
|
|
4723
|
-
|
|
4724
4742
|
return width;
|
|
4725
4743
|
} else {
|
|
4726
4744
|
return 0;
|
|
@@ -4731,12 +4749,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4731
4749
|
value: function getOuterHeight(el, margin) {
|
|
4732
4750
|
if (el) {
|
|
4733
4751
|
var height = el.offsetHeight;
|
|
4734
|
-
|
|
4735
4752
|
if (margin) {
|
|
4736
4753
|
var style = getComputedStyle(el);
|
|
4737
4754
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4738
4755
|
}
|
|
4739
|
-
|
|
4740
4756
|
return height;
|
|
4741
4757
|
} else {
|
|
4742
4758
|
return 0;
|
|
@@ -4747,12 +4763,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4747
4763
|
value: function getClientHeight(el, margin) {
|
|
4748
4764
|
if (el) {
|
|
4749
4765
|
var height = el.clientHeight;
|
|
4750
|
-
|
|
4751
4766
|
if (margin) {
|
|
4752
4767
|
var style = getComputedStyle(el);
|
|
4753
4768
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4754
4769
|
}
|
|
4755
|
-
|
|
4756
4770
|
return height;
|
|
4757
4771
|
} else {
|
|
4758
4772
|
return 0;
|
|
@@ -4762,11 +4776,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4762
4776
|
key: "getViewport",
|
|
4763
4777
|
value: function getViewport() {
|
|
4764
4778
|
var win = window,
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4779
|
+
d = document,
|
|
4780
|
+
e = d.documentElement,
|
|
4781
|
+
g = d.getElementsByTagName('body')[0],
|
|
4782
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4783
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4770
4784
|
return {
|
|
4771
4785
|
width: w,
|
|
4772
4786
|
height: h
|
|
@@ -4797,12 +4811,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4797
4811
|
value: function index(element) {
|
|
4798
4812
|
var children = element.parentNode.childNodes;
|
|
4799
4813
|
var num = 0;
|
|
4800
|
-
|
|
4801
4814
|
for (var i = 0; i < children.length; i++) {
|
|
4802
4815
|
if (children[i] === element) return num;
|
|
4803
4816
|
if (children[i].nodeType === 1) num++;
|
|
4804
4817
|
}
|
|
4805
|
-
|
|
4806
4818
|
return -1;
|
|
4807
4819
|
}
|
|
4808
4820
|
}, {
|
|
@@ -4810,13 +4822,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4810
4822
|
value: function addMultipleClasses(element, className) {
|
|
4811
4823
|
if (element.classList) {
|
|
4812
4824
|
var styles = className.split(' ');
|
|
4813
|
-
|
|
4814
4825
|
for (var i = 0; i < styles.length; i++) {
|
|
4815
4826
|
element.classList.add(styles[i]);
|
|
4816
4827
|
}
|
|
4817
4828
|
} else {
|
|
4818
4829
|
var _styles = className.split(' ');
|
|
4819
|
-
|
|
4820
4830
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4821
4831
|
element.className += ' ' + _styles[_i];
|
|
4822
4832
|
}
|
|
@@ -4838,7 +4848,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4838
4848
|
if (element) {
|
|
4839
4849
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4840
4850
|
}
|
|
4841
|
-
|
|
4842
4851
|
return false;
|
|
4843
4852
|
}
|
|
4844
4853
|
}, {
|
|
@@ -4883,11 +4892,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4883
4892
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4884
4893
|
var viewport = this.getViewport();
|
|
4885
4894
|
var top, left;
|
|
4886
|
-
|
|
4887
4895
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4888
4896
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4889
4897
|
element.style.transformOrigin = 'bottom';
|
|
4890
|
-
|
|
4891
4898
|
if (top < 0) {
|
|
4892
4899
|
top = windowScrollTop;
|
|
4893
4900
|
}
|
|
@@ -4895,7 +4902,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4895
4902
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4896
4903
|
element.style.transformOrigin = 'top';
|
|
4897
4904
|
}
|
|
4898
|
-
|
|
4899
4905
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4900
4906
|
element.style.top = top + 'px';
|
|
4901
4907
|
element.style.left = left + 'px';
|
|
@@ -4911,11 +4917,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4911
4917
|
var targetOffset = target.getBoundingClientRect();
|
|
4912
4918
|
var viewport = this.getViewport();
|
|
4913
4919
|
var top, left;
|
|
4914
|
-
|
|
4915
4920
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4916
4921
|
top = -1 * elementDimensions.height;
|
|
4917
4922
|
element.style.transformOrigin = 'bottom';
|
|
4918
|
-
|
|
4919
4923
|
if (targetOffset.top + top < 0) {
|
|
4920
4924
|
top = -1 * targetOffset.top;
|
|
4921
4925
|
}
|
|
@@ -4923,7 +4927,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4923
4927
|
top = targetHeight;
|
|
4924
4928
|
element.style.transformOrigin = 'top';
|
|
4925
4929
|
}
|
|
4926
|
-
|
|
4927
4930
|
if (elementDimensions.width > viewport.width) {
|
|
4928
4931
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4929
4932
|
left = targetOffset.left * -1;
|
|
@@ -4934,7 +4937,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4934
4937
|
// element fits on screen (align with target)
|
|
4935
4938
|
left = 0;
|
|
4936
4939
|
}
|
|
4937
|
-
|
|
4938
4940
|
element.style.top = top + 'px';
|
|
4939
4941
|
element.style.left = left + 'px';
|
|
4940
4942
|
}
|
|
@@ -4948,35 +4950,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4948
4950
|
key: "getScrollableParents",
|
|
4949
4951
|
value: function getScrollableParents(element) {
|
|
4950
4952
|
var scrollableParents = [];
|
|
4951
|
-
|
|
4952
4953
|
if (element) {
|
|
4953
4954
|
var parents = this.getParents(element);
|
|
4954
4955
|
var overflowRegex = /(auto|scroll)/;
|
|
4955
|
-
|
|
4956
4956
|
var overflowCheck = function overflowCheck(node) {
|
|
4957
4957
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4958
4958
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4959
4959
|
};
|
|
4960
|
-
|
|
4961
4960
|
var _iterator = DomHandler_createForOfIteratorHelper(parents),
|
|
4962
|
-
|
|
4963
|
-
|
|
4961
|
+
_step;
|
|
4964
4962
|
try {
|
|
4965
4963
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4966
4964
|
var parent = _step.value;
|
|
4967
4965
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4968
|
-
|
|
4969
4966
|
if (scrollSelectors) {
|
|
4970
4967
|
var selectors = scrollSelectors.split(',');
|
|
4971
|
-
|
|
4972
4968
|
var _iterator2 = DomHandler_createForOfIteratorHelper(selectors),
|
|
4973
|
-
|
|
4974
|
-
|
|
4969
|
+
_step2;
|
|
4975
4970
|
try {
|
|
4976
4971
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4977
4972
|
var selector = _step2.value;
|
|
4978
4973
|
var el = this.findSingle(parent, selector);
|
|
4979
|
-
|
|
4980
4974
|
if (el && overflowCheck(el)) {
|
|
4981
4975
|
scrollableParents.push(el);
|
|
4982
4976
|
}
|
|
@@ -4994,7 +4988,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4994
4988
|
_iterator.f();
|
|
4995
4989
|
}
|
|
4996
4990
|
}
|
|
4997
|
-
|
|
4998
4991
|
return scrollableParents;
|
|
4999
4992
|
}
|
|
5000
4993
|
}, {
|
|
@@ -5035,34 +5028,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5035
5028
|
element.style.opacity = 0;
|
|
5036
5029
|
var last = +new Date();
|
|
5037
5030
|
var opacity = 0;
|
|
5038
|
-
|
|
5039
5031
|
var tick = function tick() {
|
|
5040
5032
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5041
5033
|
element.style.opacity = opacity;
|
|
5042
5034
|
last = +new Date();
|
|
5043
|
-
|
|
5044
5035
|
if (+opacity < 1) {
|
|
5045
5036
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5046
5037
|
}
|
|
5047
5038
|
};
|
|
5048
|
-
|
|
5049
5039
|
tick();
|
|
5050
5040
|
}
|
|
5051
5041
|
}, {
|
|
5052
5042
|
key: "fadeOut",
|
|
5053
5043
|
value: function fadeOut(element, ms) {
|
|
5054
5044
|
var opacity = 1,
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5045
|
+
interval = 50,
|
|
5046
|
+
duration = ms,
|
|
5047
|
+
gap = interval / duration;
|
|
5058
5048
|
var fading = setInterval(function () {
|
|
5059
5049
|
opacity -= gap;
|
|
5060
|
-
|
|
5061
5050
|
if (opacity <= 0) {
|
|
5062
5051
|
opacity = 0;
|
|
5063
5052
|
clearInterval(fading);
|
|
5064
5053
|
}
|
|
5065
|
-
|
|
5066
5054
|
element.style.opacity = opacity;
|
|
5067
5055
|
}, interval);
|
|
5068
5056
|
}
|
|
@@ -5089,7 +5077,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5089
5077
|
var scroll = container.scrollTop;
|
|
5090
5078
|
var elementHeight = container.clientHeight;
|
|
5091
5079
|
var itemHeight = this.getOuterHeight(item);
|
|
5092
|
-
|
|
5093
5080
|
if (offset < 0) {
|
|
5094
5081
|
container.scrollTop = scroll + offset;
|
|
5095
5082
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5108,7 +5095,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5108
5095
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5109
5096
|
try {
|
|
5110
5097
|
document['selection'].empty();
|
|
5111
|
-
} catch (error) {
|
|
5098
|
+
} catch (error) {
|
|
5099
|
+
//ignore IE bug
|
|
5112
5100
|
}
|
|
5113
5101
|
}
|
|
5114
5102
|
}
|
|
@@ -5130,19 +5118,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5130
5118
|
if (!this.browser) {
|
|
5131
5119
|
var matched = this.resolveUserAgent();
|
|
5132
5120
|
this.browser = {};
|
|
5133
|
-
|
|
5134
5121
|
if (matched.browser) {
|
|
5135
5122
|
this.browser[matched.browser] = true;
|
|
5136
5123
|
this.browser['version'] = matched.version;
|
|
5137
5124
|
}
|
|
5138
|
-
|
|
5139
5125
|
if (this.browser['chrome']) {
|
|
5140
5126
|
this.browser['webkit'] = true;
|
|
5141
5127
|
} else if (this.browser['webkit']) {
|
|
5142
5128
|
this.browser['safari'] = true;
|
|
5143
5129
|
}
|
|
5144
5130
|
}
|
|
5145
|
-
|
|
5146
5131
|
return this.browser;
|
|
5147
5132
|
}
|
|
5148
5133
|
}, {
|
|
@@ -5170,10 +5155,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5170
5155
|
value: function getFocusableElements(element) {
|
|
5171
5156
|
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])");
|
|
5172
5157
|
var visibleFocusableElements = [];
|
|
5173
|
-
|
|
5174
5158
|
var _iterator3 = DomHandler_createForOfIteratorHelper(focusableElements),
|
|
5175
|
-
|
|
5176
|
-
|
|
5159
|
+
_step3;
|
|
5177
5160
|
try {
|
|
5178
5161
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5179
5162
|
var focusableElement = _step3.value;
|
|
@@ -5184,7 +5167,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5184
5167
|
} finally {
|
|
5185
5168
|
_iterator3.f();
|
|
5186
5169
|
}
|
|
5187
|
-
|
|
5188
5170
|
return visibleFocusableElements;
|
|
5189
5171
|
}
|
|
5190
5172
|
}, {
|
|
@@ -5227,11 +5209,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5227
5209
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5228
5210
|
}
|
|
5229
5211
|
}]);
|
|
5230
|
-
|
|
5231
5212
|
return DomHandler;
|
|
5232
5213
|
}();
|
|
5233
5214
|
|
|
5234
|
-
|
|
5235
5215
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/treetable/TreeTableColumnSlot.vue?vue&type=script&lang=js&
|
|
5236
5216
|
/* harmony default export */ var TreeTableColumnSlotvue_type_script_lang_js_ = ({
|
|
5237
5217
|
functional: true,
|
|
@@ -5266,20 +5246,19 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5266
5246
|
// This module is a runtime utility for cleaner component module output and will
|
|
5267
5247
|
// be included in the final webpack user bundle.
|
|
5268
5248
|
|
|
5269
|
-
function normalizeComponent
|
|
5249
|
+
function normalizeComponent(
|
|
5270
5250
|
scriptExports,
|
|
5271
5251
|
render,
|
|
5272
5252
|
staticRenderFns,
|
|
5273
5253
|
functionalTemplate,
|
|
5274
5254
|
injectStyles,
|
|
5275
5255
|
scopeId,
|
|
5276
|
-
moduleIdentifier
|
|
5256
|
+
moduleIdentifier /* server only */,
|
|
5277
5257
|
shadowMode /* vue-cli only */
|
|
5278
5258
|
) {
|
|
5279
5259
|
// Vue.extend constructor export interop
|
|
5280
|
-
var options =
|
|
5281
|
-
? scriptExports.options
|
|
5282
|
-
: scriptExports
|
|
5260
|
+
var options =
|
|
5261
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
5283
5262
|
|
|
5284
5263
|
// render functions
|
|
5285
5264
|
if (render) {
|
|
@@ -5299,7 +5278,8 @@ function normalizeComponent (
|
|
|
5299
5278
|
}
|
|
5300
5279
|
|
|
5301
5280
|
var hook
|
|
5302
|
-
if (moduleIdentifier) {
|
|
5281
|
+
if (moduleIdentifier) {
|
|
5282
|
+
// server build
|
|
5303
5283
|
hook = function (context) {
|
|
5304
5284
|
// 2.3 injection
|
|
5305
5285
|
context =
|
|
@@ -5325,11 +5305,11 @@ function normalizeComponent (
|
|
|
5325
5305
|
} else if (injectStyles) {
|
|
5326
5306
|
hook = shadowMode
|
|
5327
5307
|
? function () {
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5308
|
+
injectStyles.call(
|
|
5309
|
+
this,
|
|
5310
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
5311
|
+
)
|
|
5312
|
+
}
|
|
5333
5313
|
: injectStyles
|
|
5334
5314
|
}
|
|
5335
5315
|
|
|
@@ -5340,16 +5320,14 @@ function normalizeComponent (
|
|
|
5340
5320
|
options._injectStyles = hook
|
|
5341
5321
|
// register for functional component in vue file
|
|
5342
5322
|
var originalRender = options.render
|
|
5343
|
-
options.render = function renderWithStyleInjection
|
|
5323
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
5344
5324
|
hook.call(context)
|
|
5345
5325
|
return originalRender(h, context)
|
|
5346
5326
|
}
|
|
5347
5327
|
} else {
|
|
5348
5328
|
// inject component registration as beforeCreate hook
|
|
5349
5329
|
var existing = options.beforeCreate
|
|
5350
|
-
options.beforeCreate = existing
|
|
5351
|
-
? [].concat(existing, hook)
|
|
5352
|
-
: [hook]
|
|
5330
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
5353
5331
|
}
|
|
5354
5332
|
}
|
|
5355
5333
|
|
|
@@ -5381,48 +5359,38 @@ var component = normalizeComponent(
|
|
|
5381
5359
|
/* harmony default export */ var TreeTableColumnSlot = (component.exports);
|
|
5382
5360
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5383
5361
|
|
|
5384
|
-
|
|
5385
5362
|
function bindEvents(el) {
|
|
5386
5363
|
el.addEventListener('mousedown', onMouseDown);
|
|
5387
5364
|
}
|
|
5388
|
-
|
|
5389
5365
|
function unbindEvents(el) {
|
|
5390
5366
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5391
5367
|
}
|
|
5392
|
-
|
|
5393
5368
|
function create(el) {
|
|
5394
5369
|
var ink = document.createElement('span');
|
|
5395
5370
|
ink.className = 'p-ink';
|
|
5396
5371
|
el.appendChild(ink);
|
|
5397
5372
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5398
5373
|
}
|
|
5399
|
-
|
|
5400
5374
|
function remove(el) {
|
|
5401
5375
|
var ink = getInk(el);
|
|
5402
|
-
|
|
5403
5376
|
if (ink) {
|
|
5404
5377
|
unbindEvents(el);
|
|
5405
5378
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5406
5379
|
ink.remove();
|
|
5407
5380
|
}
|
|
5408
5381
|
}
|
|
5409
|
-
|
|
5410
5382
|
function onMouseDown(event) {
|
|
5411
5383
|
var target = event.currentTarget;
|
|
5412
5384
|
var ink = getInk(target);
|
|
5413
|
-
|
|
5414
5385
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5415
5386
|
return;
|
|
5416
5387
|
}
|
|
5417
|
-
|
|
5418
5388
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5419
|
-
|
|
5420
5389
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5421
5390
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5422
5391
|
ink.style.height = d + 'px';
|
|
5423
5392
|
ink.style.width = d + 'px';
|
|
5424
5393
|
}
|
|
5425
|
-
|
|
5426
5394
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5427
5395
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5428
5396
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5430,21 +5398,17 @@ function onMouseDown(event) {
|
|
|
5430
5398
|
ink.style.left = x + 'px';
|
|
5431
5399
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5432
5400
|
}
|
|
5433
|
-
|
|
5434
5401
|
function onAnimationEnd(event) {
|
|
5435
5402
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5436
5403
|
}
|
|
5437
|
-
|
|
5438
5404
|
function getInk(el) {
|
|
5439
5405
|
for (var i = 0; i < el.children.length; i++) {
|
|
5440
5406
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5441
5407
|
return el.children[i];
|
|
5442
5408
|
}
|
|
5443
5409
|
}
|
|
5444
|
-
|
|
5445
5410
|
return null;
|
|
5446
5411
|
}
|
|
5447
|
-
|
|
5448
5412
|
var Ripple = {
|
|
5449
5413
|
inserted: function inserted(el, binding, vnode) {
|
|
5450
5414
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5469,38 +5433,12 @@ var Ripple = {
|
|
|
5469
5433
|
|
|
5470
5434
|
|
|
5471
5435
|
|
|
5472
|
-
|
|
5473
5436
|
function TreeTableRowvue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = TreeTableRowvue_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; } } }; }
|
|
5474
|
-
|
|
5475
5437
|
function TreeTableRowvue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TreeTableRowvue_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 TreeTableRowvue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
5476
|
-
|
|
5477
5438
|
function TreeTableRowvue_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; }
|
|
5478
|
-
|
|
5479
5439
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5480
|
-
|
|
5481
5440
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5482
5441
|
|
|
5483
|
-
//
|
|
5484
|
-
//
|
|
5485
|
-
//
|
|
5486
|
-
//
|
|
5487
|
-
//
|
|
5488
|
-
//
|
|
5489
|
-
//
|
|
5490
|
-
//
|
|
5491
|
-
//
|
|
5492
|
-
//
|
|
5493
|
-
//
|
|
5494
|
-
//
|
|
5495
|
-
//
|
|
5496
|
-
//
|
|
5497
|
-
//
|
|
5498
|
-
//
|
|
5499
|
-
//
|
|
5500
|
-
//
|
|
5501
|
-
//
|
|
5502
|
-
//
|
|
5503
|
-
|
|
5504
5442
|
|
|
5505
5443
|
|
|
5506
5444
|
|
|
@@ -5560,7 +5498,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5560
5498
|
if (DomHandler_DomHandler.isClickable(event.target) || DomHandler_DomHandler.hasClass(event.target, 'p-treetable-toggler') || DomHandler_DomHandler.hasClass(event.target.parentElement, 'p-treetable-toggler')) {
|
|
5561
5499
|
return;
|
|
5562
5500
|
}
|
|
5563
|
-
|
|
5564
5501
|
this.$emit('node-click', {
|
|
5565
5502
|
originalEvent: event,
|
|
5566
5503
|
nodeTouched: this.nodeTouched,
|
|
@@ -5574,35 +5511,30 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5574
5511
|
onKeyDown: function onKeyDown(event) {
|
|
5575
5512
|
if (event.target === this.$el) {
|
|
5576
5513
|
var rowElement = this.$el;
|
|
5577
|
-
|
|
5578
5514
|
switch (event.which) {
|
|
5579
5515
|
//down arrow
|
|
5580
5516
|
case 40:
|
|
5581
5517
|
{
|
|
5582
5518
|
var nextRow = rowElement.nextElementSibling;
|
|
5583
|
-
|
|
5584
5519
|
if (nextRow) {
|
|
5585
5520
|
nextRow.focus();
|
|
5586
5521
|
}
|
|
5587
|
-
|
|
5588
5522
|
event.preventDefault();
|
|
5589
5523
|
break;
|
|
5590
5524
|
}
|
|
5591
|
-
//up arrow
|
|
5592
5525
|
|
|
5526
|
+
//up arrow
|
|
5593
5527
|
case 38:
|
|
5594
5528
|
{
|
|
5595
5529
|
var previousRow = rowElement.previousElementSibling;
|
|
5596
|
-
|
|
5597
5530
|
if (previousRow) {
|
|
5598
5531
|
previousRow.focus();
|
|
5599
5532
|
}
|
|
5600
|
-
|
|
5601
5533
|
event.preventDefault();
|
|
5602
5534
|
break;
|
|
5603
5535
|
}
|
|
5604
|
-
//right-left arrows
|
|
5605
5536
|
|
|
5537
|
+
//right-left arrows
|
|
5606
5538
|
case 37:
|
|
5607
5539
|
case 39:
|
|
5608
5540
|
{
|
|
@@ -5610,18 +5542,16 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5610
5542
|
this.$emit('node-toggle', this.node);
|
|
5611
5543
|
event.preventDefault();
|
|
5612
5544
|
}
|
|
5613
|
-
|
|
5614
5545
|
break;
|
|
5615
5546
|
}
|
|
5616
|
-
//enter
|
|
5617
5547
|
|
|
5548
|
+
//enter
|
|
5618
5549
|
case 13:
|
|
5619
5550
|
{
|
|
5620
5551
|
this.onClick(event);
|
|
5621
5552
|
event.preventDefault();
|
|
5622
5553
|
break;
|
|
5623
5554
|
}
|
|
5624
|
-
|
|
5625
5555
|
default:
|
|
5626
5556
|
//no op
|
|
5627
5557
|
break;
|
|
@@ -5630,9 +5560,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5630
5560
|
},
|
|
5631
5561
|
toggleCheckbox: function toggleCheckbox() {
|
|
5632
5562
|
var _selectionKeys = this.selectionKeys ? _objectSpread({}, this.selectionKeys) : {};
|
|
5633
|
-
|
|
5634
5563
|
var _check = !this.checked;
|
|
5635
|
-
|
|
5636
5564
|
this.propagateDown(this.node, _check, _selectionKeys);
|
|
5637
5565
|
this.$emit('checkbox-change', {
|
|
5638
5566
|
node: this.node,
|
|
@@ -5645,11 +5573,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5645
5573
|
checked: true,
|
|
5646
5574
|
partialChecked: false
|
|
5647
5575
|
};else delete selectionKeys[node.key];
|
|
5648
|
-
|
|
5649
5576
|
if (node.children && node.children.length) {
|
|
5650
5577
|
var _iterator = TreeTableRowvue_type_script_lang_js_createForOfIteratorHelper(node.children),
|
|
5651
|
-
|
|
5652
|
-
|
|
5578
|
+
_step;
|
|
5653
5579
|
try {
|
|
5654
5580
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5655
5581
|
var child = _step.value;
|
|
@@ -5664,15 +5590,11 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5664
5590
|
},
|
|
5665
5591
|
propagateUp: function propagateUp(event) {
|
|
5666
5592
|
var check = event.check;
|
|
5667
|
-
|
|
5668
5593
|
var _selectionKeys = _objectSpread({}, event.selectionKeys);
|
|
5669
|
-
|
|
5670
5594
|
var checkedChildCount = 0;
|
|
5671
5595
|
var childPartialSelected = false;
|
|
5672
|
-
|
|
5673
5596
|
var _iterator2 = TreeTableRowvue_type_script_lang_js_createForOfIteratorHelper(this.node.children),
|
|
5674
|
-
|
|
5675
|
-
|
|
5597
|
+
_step2;
|
|
5676
5598
|
try {
|
|
5677
5599
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5678
5600
|
var child = _step2.value;
|
|
@@ -5683,7 +5605,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5683
5605
|
} finally {
|
|
5684
5606
|
_iterator2.f();
|
|
5685
5607
|
}
|
|
5686
|
-
|
|
5687
5608
|
if (check && checkedChildCount === this.node.children.length) {
|
|
5688
5609
|
_selectionKeys[this.node.key] = {
|
|
5689
5610
|
checked: true,
|
|
@@ -5693,7 +5614,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5693
5614
|
if (!check) {
|
|
5694
5615
|
delete _selectionKeys[this.node.key];
|
|
5695
5616
|
}
|
|
5696
|
-
|
|
5697
5617
|
if (childPartialSelected || checkedChildCount > 0 && checkedChildCount !== this.node.children.length) _selectionKeys[this.node.key] = {
|
|
5698
5618
|
checked: false,
|
|
5699
5619
|
partialChecked: true
|
|
@@ -5702,7 +5622,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5702
5622
|
partialChecked: false
|
|
5703
5623
|
};
|
|
5704
5624
|
}
|
|
5705
|
-
|
|
5706
5625
|
this.$emit('checkbox-change', {
|
|
5707
5626
|
node: event.node,
|
|
5708
5627
|
check: event.check,
|