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
|
@@ -4263,10 +4263,79 @@ if (typeof window !== 'undefined') {
|
|
|
4263
4263
|
// Indicate to webpack that this file can be concatenated
|
|
4264
4264
|
/* harmony default export */ var setPublicPath = (null);
|
|
4265
4265
|
|
|
4266
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4267
|
-
var render = function () {
|
|
4268
|
-
var
|
|
4269
|
-
|
|
4266
|
+
// 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&
|
|
4267
|
+
var render = function render() {
|
|
4268
|
+
var _vm = this,
|
|
4269
|
+
_c = _vm._self._c;
|
|
4270
|
+
return _c('tr', {
|
|
4271
|
+
class: _vm.containerClass,
|
|
4272
|
+
style: _vm.node.style,
|
|
4273
|
+
attrs: {
|
|
4274
|
+
"tabindex": "0"
|
|
4275
|
+
},
|
|
4276
|
+
on: {
|
|
4277
|
+
"click": _vm.onClick,
|
|
4278
|
+
"keydown": _vm.onKeyDown,
|
|
4279
|
+
"touchend": _vm.onTouchEnd
|
|
4280
|
+
}
|
|
4281
|
+
}, _vm._l(_vm.columns, function (col, i) {
|
|
4282
|
+
return _c('td', {
|
|
4283
|
+
key: _vm.columnProp(col, 'columnKey') || _vm.columnProp(col, 'field') || i,
|
|
4284
|
+
class: _vm.columnProp(col, 'bodyClass'),
|
|
4285
|
+
style: _vm.columnProp(col, 'bodyStyle')
|
|
4286
|
+
}, [_vm.columnProp(col, 'expander') ? _c('button', {
|
|
4287
|
+
directives: [{
|
|
4288
|
+
name: "ripple",
|
|
4289
|
+
rawName: "v-ripple"
|
|
4290
|
+
}],
|
|
4291
|
+
staticClass: "p-treetable-toggler p-link",
|
|
4292
|
+
style: _vm.togglerStyle,
|
|
4293
|
+
attrs: {
|
|
4294
|
+
"type": "button",
|
|
4295
|
+
"tabindex": "-1"
|
|
4296
|
+
},
|
|
4297
|
+
on: {
|
|
4298
|
+
"click": _vm.toggle
|
|
4299
|
+
}
|
|
4300
|
+
}, [_c('i', {
|
|
4301
|
+
class: _vm.togglerIcon
|
|
4302
|
+
})]) : _vm._e(), _vm.checkboxSelectionMode && _vm.columnProp(col, 'expander') ? _c('div', {
|
|
4303
|
+
class: ['p-checkbox p-treetable-checkbox p-component', {
|
|
4304
|
+
'p-checkbox-focused': _vm.checkboxFocused
|
|
4305
|
+
}],
|
|
4306
|
+
attrs: {
|
|
4307
|
+
"role": "checkbox",
|
|
4308
|
+
"aria-checked": _vm.checked
|
|
4309
|
+
},
|
|
4310
|
+
on: {
|
|
4311
|
+
"click": _vm.toggleCheckbox
|
|
4312
|
+
}
|
|
4313
|
+
}, [_c('div', {
|
|
4314
|
+
staticClass: "p-hidden-accessible"
|
|
4315
|
+
}, [_c('input', {
|
|
4316
|
+
attrs: {
|
|
4317
|
+
"type": "checkbox"
|
|
4318
|
+
},
|
|
4319
|
+
on: {
|
|
4320
|
+
"focus": _vm.onCheckboxFocus,
|
|
4321
|
+
"blur": _vm.onCheckboxBlur
|
|
4322
|
+
}
|
|
4323
|
+
})]), _c('div', {
|
|
4324
|
+
ref: "checkboxEl",
|
|
4325
|
+
refInFor: true,
|
|
4326
|
+
class: _vm.checkboxClass
|
|
4327
|
+
}, [_c('span', {
|
|
4328
|
+
class: _vm.checkboxIcon
|
|
4329
|
+
})])]) : _vm._e(), col.$scopedSlots.body ? _c('TTColumnSlot', {
|
|
4330
|
+
attrs: {
|
|
4331
|
+
"node": _vm.node,
|
|
4332
|
+
"column": col,
|
|
4333
|
+
"type": "body"
|
|
4334
|
+
}
|
|
4335
|
+
}) : [_c('span', [_vm._v(_vm._s(_vm.resolveFieldData(_vm.node.data, col.field)))])]], 2);
|
|
4336
|
+
}), 0);
|
|
4337
|
+
};
|
|
4338
|
+
var staticRenderFns = [];
|
|
4270
4339
|
|
|
4271
4340
|
// CONCATENATED MODULE: ./src/components/treetable/TreeTableRow.vue?vue&type=template&id=29de40d8&
|
|
4272
4341
|
|
|
@@ -4314,7 +4383,6 @@ function _defineProperty(obj, key, value) {
|
|
|
4314
4383
|
} else {
|
|
4315
4384
|
obj[key] = value;
|
|
4316
4385
|
}
|
|
4317
|
-
|
|
4318
4386
|
return obj;
|
|
4319
4387
|
}
|
|
4320
4388
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
@@ -4363,26 +4431,21 @@ function _classCallCheck(instance, Constructor) {
|
|
|
4363
4431
|
}
|
|
4364
4432
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4365
4433
|
|
|
4366
|
-
|
|
4367
4434
|
function _defineProperties(target, props) {
|
|
4368
4435
|
for (var i = 0; i < props.length; i++) {
|
|
4369
4436
|
var descriptor = props[i];
|
|
4370
4437
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4371
4438
|
descriptor.configurable = true;
|
|
4372
4439
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4373
|
-
|
|
4374
4440
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4375
4441
|
}
|
|
4376
4442
|
}
|
|
4377
|
-
|
|
4378
4443
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4379
4444
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4380
4445
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4381
|
-
|
|
4382
4446
|
define_property_default()(Constructor, "prototype", {
|
|
4383
4447
|
writable: false
|
|
4384
4448
|
});
|
|
4385
|
-
|
|
4386
4449
|
return Constructor;
|
|
4387
4450
|
}
|
|
4388
4451
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
@@ -4402,18 +4465,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4402
4465
|
|
|
4403
4466
|
|
|
4404
4467
|
|
|
4405
|
-
|
|
4406
4468
|
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; } } }; }
|
|
4407
|
-
|
|
4408
4469
|
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); }
|
|
4409
|
-
|
|
4410
4470
|
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; }
|
|
4411
|
-
|
|
4412
4471
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
4413
4472
|
function ObjectUtils() {
|
|
4414
4473
|
_classCallCheck(this, ObjectUtils);
|
|
4415
4474
|
}
|
|
4416
|
-
|
|
4417
4475
|
_createClass(ObjectUtils, null, [{
|
|
4418
4476
|
key: "equals",
|
|
4419
4477
|
value: function equals(obj1, obj2, field) {
|
|
@@ -4423,50 +4481,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4423
4481
|
key: "deepEquals",
|
|
4424
4482
|
value: function deepEquals(a, b) {
|
|
4425
4483
|
if (a === b) return true;
|
|
4426
|
-
|
|
4427
4484
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
4428
4485
|
var arrA = Array.isArray(a),
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4486
|
+
arrB = Array.isArray(b),
|
|
4487
|
+
i,
|
|
4488
|
+
length,
|
|
4489
|
+
key;
|
|
4434
4490
|
if (arrA && arrB) {
|
|
4435
4491
|
length = a.length;
|
|
4436
4492
|
if (length != b.length) return false;
|
|
4437
|
-
|
|
4438
4493
|
for (i = length; i-- !== 0;) {
|
|
4439
4494
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
4440
4495
|
}
|
|
4441
|
-
|
|
4442
4496
|
return true;
|
|
4443
4497
|
}
|
|
4444
|
-
|
|
4445
4498
|
if (arrA != arrB) return false;
|
|
4446
4499
|
var dateA = a instanceof Date,
|
|
4447
|
-
|
|
4500
|
+
dateB = b instanceof Date;
|
|
4448
4501
|
if (dateA != dateB) return false;
|
|
4449
4502
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
4450
4503
|
var regexpA = a instanceof RegExp,
|
|
4451
|
-
|
|
4504
|
+
regexpB = b instanceof RegExp;
|
|
4452
4505
|
if (regexpA != regexpB) return false;
|
|
4453
4506
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
4454
4507
|
var keys = Object.keys(a);
|
|
4455
4508
|
length = keys.length;
|
|
4456
4509
|
if (length !== Object.keys(b).length) return false;
|
|
4457
|
-
|
|
4458
4510
|
for (i = length; i-- !== 0;) {
|
|
4459
4511
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
4460
4512
|
}
|
|
4461
|
-
|
|
4462
4513
|
for (i = length; i-- !== 0;) {
|
|
4463
4514
|
key = keys[i];
|
|
4464
4515
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
4465
4516
|
}
|
|
4466
|
-
|
|
4467
4517
|
return true;
|
|
4468
4518
|
}
|
|
4469
|
-
|
|
4470
4519
|
return a !== a && b !== b;
|
|
4471
4520
|
}
|
|
4472
4521
|
}, {
|
|
@@ -4480,15 +4529,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4480
4529
|
} else {
|
|
4481
4530
|
var fields = field.split('.');
|
|
4482
4531
|
var value = data;
|
|
4483
|
-
|
|
4484
4532
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
4485
4533
|
if (value == null) {
|
|
4486
4534
|
return null;
|
|
4487
4535
|
}
|
|
4488
|
-
|
|
4489
4536
|
value = value[fields[i]];
|
|
4490
4537
|
}
|
|
4491
|
-
|
|
4492
4538
|
return value;
|
|
4493
4539
|
}
|
|
4494
4540
|
} else {
|
|
@@ -4504,22 +4550,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4504
4550
|
key: "filter",
|
|
4505
4551
|
value: function filter(value, fields, filterValue) {
|
|
4506
4552
|
var filteredItems = [];
|
|
4507
|
-
|
|
4508
4553
|
if (value) {
|
|
4509
4554
|
var _iterator = _createForOfIteratorHelper(value),
|
|
4510
|
-
|
|
4511
|
-
|
|
4555
|
+
_step;
|
|
4512
4556
|
try {
|
|
4513
4557
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4514
4558
|
var item = _step.value;
|
|
4515
|
-
|
|
4516
4559
|
var _iterator2 = _createForOfIteratorHelper(fields),
|
|
4517
|
-
|
|
4518
|
-
|
|
4560
|
+
_step2;
|
|
4519
4561
|
try {
|
|
4520
4562
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4521
4563
|
var field = _step2.value;
|
|
4522
|
-
|
|
4523
4564
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
4524
4565
|
filteredItems.push(item);
|
|
4525
4566
|
break;
|
|
@@ -4537,23 +4578,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4537
4578
|
_iterator.f();
|
|
4538
4579
|
}
|
|
4539
4580
|
}
|
|
4540
|
-
|
|
4541
4581
|
return filteredItems;
|
|
4542
4582
|
}
|
|
4543
4583
|
}, {
|
|
4544
4584
|
key: "reorderArray",
|
|
4545
4585
|
value: function reorderArray(value, from, to) {
|
|
4546
4586
|
var target;
|
|
4547
|
-
|
|
4548
4587
|
if (value && from !== to) {
|
|
4549
4588
|
if (to >= value.length) {
|
|
4550
4589
|
target = to - value.length;
|
|
4551
|
-
|
|
4552
4590
|
while (target-- + 1) {
|
|
4553
4591
|
value.push(undefined);
|
|
4554
4592
|
}
|
|
4555
4593
|
}
|
|
4556
|
-
|
|
4557
4594
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
4558
4595
|
}
|
|
4559
4596
|
}
|
|
@@ -4561,7 +4598,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4561
4598
|
key: "findIndexInList",
|
|
4562
4599
|
value: function findIndexInList(value, list) {
|
|
4563
4600
|
var index = -1;
|
|
4564
|
-
|
|
4565
4601
|
if (list) {
|
|
4566
4602
|
for (var i = 0; i < list.length; i++) {
|
|
4567
4603
|
if (list[i] === value) {
|
|
@@ -4570,7 +4606,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4570
4606
|
}
|
|
4571
4607
|
}
|
|
4572
4608
|
}
|
|
4573
|
-
|
|
4574
4609
|
return index;
|
|
4575
4610
|
}
|
|
4576
4611
|
}, {
|
|
@@ -4578,8 +4613,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4578
4613
|
value: function contains(value, list) {
|
|
4579
4614
|
if (value != null && list && list.length) {
|
|
4580
4615
|
var _iterator3 = _createForOfIteratorHelper(list),
|
|
4581
|
-
|
|
4582
|
-
|
|
4616
|
+
_step3;
|
|
4583
4617
|
try {
|
|
4584
4618
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4585
4619
|
var val = _step3.value;
|
|
@@ -4591,7 +4625,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4591
4625
|
_iterator3.f();
|
|
4592
4626
|
}
|
|
4593
4627
|
}
|
|
4594
|
-
|
|
4595
4628
|
return false;
|
|
4596
4629
|
}
|
|
4597
4630
|
}, {
|
|
@@ -4599,17 +4632,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4599
4632
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
4600
4633
|
if (arr.length > 0) {
|
|
4601
4634
|
var injected = false;
|
|
4602
|
-
|
|
4603
4635
|
for (var i = 0; i < arr.length; i++) {
|
|
4604
4636
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
4605
|
-
|
|
4606
4637
|
if (currentItemIndex > index) {
|
|
4607
4638
|
arr.splice(i, 0, item);
|
|
4608
4639
|
injected = true;
|
|
4609
4640
|
break;
|
|
4610
4641
|
}
|
|
4611
4642
|
}
|
|
4612
|
-
|
|
4613
4643
|
if (!injected) {
|
|
4614
4644
|
arr.push(item);
|
|
4615
4645
|
}
|
|
@@ -4623,28 +4653,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4623
4653
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
4624
4654
|
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");
|
|
4625
4655
|
}
|
|
4626
|
-
|
|
4627
4656
|
return str;
|
|
4628
4657
|
}
|
|
4629
4658
|
}, {
|
|
4630
4659
|
key: "getVNodeProp",
|
|
4631
4660
|
value: function getVNodeProp(vnode, prop) {
|
|
4632
4661
|
var props = vnode._props;
|
|
4633
|
-
|
|
4634
4662
|
if (props) {
|
|
4635
4663
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
4636
4664
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
4637
4665
|
return props[propName];
|
|
4638
4666
|
}
|
|
4639
|
-
|
|
4640
4667
|
return null;
|
|
4641
4668
|
}
|
|
4642
4669
|
}]);
|
|
4643
|
-
|
|
4644
4670
|
return ObjectUtils;
|
|
4645
4671
|
}();
|
|
4646
4672
|
|
|
4647
|
-
|
|
4648
4673
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
4649
4674
|
var es6_array_find = __webpack_require__("7514");
|
|
4650
4675
|
|
|
@@ -4661,18 +4686,13 @@ var es6_array_find = __webpack_require__("7514");
|
|
|
4661
4686
|
|
|
4662
4687
|
|
|
4663
4688
|
|
|
4664
|
-
|
|
4665
4689
|
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; } } }; }
|
|
4666
|
-
|
|
4667
4690
|
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); }
|
|
4668
|
-
|
|
4669
4691
|
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; }
|
|
4670
|
-
|
|
4671
4692
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4672
4693
|
function DomHandler() {
|
|
4673
4694
|
_classCallCheck(this, DomHandler);
|
|
4674
4695
|
}
|
|
4675
|
-
|
|
4676
4696
|
_createClass(DomHandler, null, [{
|
|
4677
4697
|
key: "innerWidth",
|
|
4678
4698
|
value: function innerWidth(el) {
|
|
@@ -4706,12 +4726,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4706
4726
|
value: function getOuterWidth(el, margin) {
|
|
4707
4727
|
if (el) {
|
|
4708
4728
|
var width = el.offsetWidth;
|
|
4709
|
-
|
|
4710
4729
|
if (margin) {
|
|
4711
4730
|
var style = getComputedStyle(el);
|
|
4712
4731
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4713
4732
|
}
|
|
4714
|
-
|
|
4715
4733
|
return width;
|
|
4716
4734
|
} else {
|
|
4717
4735
|
return 0;
|
|
@@ -4722,12 +4740,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4722
4740
|
value: function getOuterHeight(el, margin) {
|
|
4723
4741
|
if (el) {
|
|
4724
4742
|
var height = el.offsetHeight;
|
|
4725
|
-
|
|
4726
4743
|
if (margin) {
|
|
4727
4744
|
var style = getComputedStyle(el);
|
|
4728
4745
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4729
4746
|
}
|
|
4730
|
-
|
|
4731
4747
|
return height;
|
|
4732
4748
|
} else {
|
|
4733
4749
|
return 0;
|
|
@@ -4738,12 +4754,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4738
4754
|
value: function getClientHeight(el, margin) {
|
|
4739
4755
|
if (el) {
|
|
4740
4756
|
var height = el.clientHeight;
|
|
4741
|
-
|
|
4742
4757
|
if (margin) {
|
|
4743
4758
|
var style = getComputedStyle(el);
|
|
4744
4759
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4745
4760
|
}
|
|
4746
|
-
|
|
4747
4761
|
return height;
|
|
4748
4762
|
} else {
|
|
4749
4763
|
return 0;
|
|
@@ -4753,11 +4767,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4753
4767
|
key: "getViewport",
|
|
4754
4768
|
value: function getViewport() {
|
|
4755
4769
|
var win = window,
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4770
|
+
d = document,
|
|
4771
|
+
e = d.documentElement,
|
|
4772
|
+
g = d.getElementsByTagName('body')[0],
|
|
4773
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4774
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4761
4775
|
return {
|
|
4762
4776
|
width: w,
|
|
4763
4777
|
height: h
|
|
@@ -4788,12 +4802,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4788
4802
|
value: function index(element) {
|
|
4789
4803
|
var children = element.parentNode.childNodes;
|
|
4790
4804
|
var num = 0;
|
|
4791
|
-
|
|
4792
4805
|
for (var i = 0; i < children.length; i++) {
|
|
4793
4806
|
if (children[i] === element) return num;
|
|
4794
4807
|
if (children[i].nodeType === 1) num++;
|
|
4795
4808
|
}
|
|
4796
|
-
|
|
4797
4809
|
return -1;
|
|
4798
4810
|
}
|
|
4799
4811
|
}, {
|
|
@@ -4801,13 +4813,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4801
4813
|
value: function addMultipleClasses(element, className) {
|
|
4802
4814
|
if (element.classList) {
|
|
4803
4815
|
var styles = className.split(' ');
|
|
4804
|
-
|
|
4805
4816
|
for (var i = 0; i < styles.length; i++) {
|
|
4806
4817
|
element.classList.add(styles[i]);
|
|
4807
4818
|
}
|
|
4808
4819
|
} else {
|
|
4809
4820
|
var _styles = className.split(' ');
|
|
4810
|
-
|
|
4811
4821
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4812
4822
|
element.className += ' ' + _styles[_i];
|
|
4813
4823
|
}
|
|
@@ -4829,7 +4839,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4829
4839
|
if (element) {
|
|
4830
4840
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4831
4841
|
}
|
|
4832
|
-
|
|
4833
4842
|
return false;
|
|
4834
4843
|
}
|
|
4835
4844
|
}, {
|
|
@@ -4874,11 +4883,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4874
4883
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4875
4884
|
var viewport = this.getViewport();
|
|
4876
4885
|
var top, left;
|
|
4877
|
-
|
|
4878
4886
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4879
4887
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4880
4888
|
element.style.transformOrigin = 'bottom';
|
|
4881
|
-
|
|
4882
4889
|
if (top < 0) {
|
|
4883
4890
|
top = windowScrollTop;
|
|
4884
4891
|
}
|
|
@@ -4886,7 +4893,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4886
4893
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4887
4894
|
element.style.transformOrigin = 'top';
|
|
4888
4895
|
}
|
|
4889
|
-
|
|
4890
4896
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4891
4897
|
element.style.top = top + 'px';
|
|
4892
4898
|
element.style.left = left + 'px';
|
|
@@ -4902,11 +4908,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4902
4908
|
var targetOffset = target.getBoundingClientRect();
|
|
4903
4909
|
var viewport = this.getViewport();
|
|
4904
4910
|
var top, left;
|
|
4905
|
-
|
|
4906
4911
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4907
4912
|
top = -1 * elementDimensions.height;
|
|
4908
4913
|
element.style.transformOrigin = 'bottom';
|
|
4909
|
-
|
|
4910
4914
|
if (targetOffset.top + top < 0) {
|
|
4911
4915
|
top = -1 * targetOffset.top;
|
|
4912
4916
|
}
|
|
@@ -4914,7 +4918,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4914
4918
|
top = targetHeight;
|
|
4915
4919
|
element.style.transformOrigin = 'top';
|
|
4916
4920
|
}
|
|
4917
|
-
|
|
4918
4921
|
if (elementDimensions.width > viewport.width) {
|
|
4919
4922
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4920
4923
|
left = targetOffset.left * -1;
|
|
@@ -4925,7 +4928,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4925
4928
|
// element fits on screen (align with target)
|
|
4926
4929
|
left = 0;
|
|
4927
4930
|
}
|
|
4928
|
-
|
|
4929
4931
|
element.style.top = top + 'px';
|
|
4930
4932
|
element.style.left = left + 'px';
|
|
4931
4933
|
}
|
|
@@ -4939,35 +4941,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4939
4941
|
key: "getScrollableParents",
|
|
4940
4942
|
value: function getScrollableParents(element) {
|
|
4941
4943
|
var scrollableParents = [];
|
|
4942
|
-
|
|
4943
4944
|
if (element) {
|
|
4944
4945
|
var parents = this.getParents(element);
|
|
4945
4946
|
var overflowRegex = /(auto|scroll)/;
|
|
4946
|
-
|
|
4947
4947
|
var overflowCheck = function overflowCheck(node) {
|
|
4948
4948
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4949
4949
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4950
4950
|
};
|
|
4951
|
-
|
|
4952
4951
|
var _iterator = DomHandler_createForOfIteratorHelper(parents),
|
|
4953
|
-
|
|
4954
|
-
|
|
4952
|
+
_step;
|
|
4955
4953
|
try {
|
|
4956
4954
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4957
4955
|
var parent = _step.value;
|
|
4958
4956
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4959
|
-
|
|
4960
4957
|
if (scrollSelectors) {
|
|
4961
4958
|
var selectors = scrollSelectors.split(',');
|
|
4962
|
-
|
|
4963
4959
|
var _iterator2 = DomHandler_createForOfIteratorHelper(selectors),
|
|
4964
|
-
|
|
4965
|
-
|
|
4960
|
+
_step2;
|
|
4966
4961
|
try {
|
|
4967
4962
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4968
4963
|
var selector = _step2.value;
|
|
4969
4964
|
var el = this.findSingle(parent, selector);
|
|
4970
|
-
|
|
4971
4965
|
if (el && overflowCheck(el)) {
|
|
4972
4966
|
scrollableParents.push(el);
|
|
4973
4967
|
}
|
|
@@ -4985,7 +4979,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4985
4979
|
_iterator.f();
|
|
4986
4980
|
}
|
|
4987
4981
|
}
|
|
4988
|
-
|
|
4989
4982
|
return scrollableParents;
|
|
4990
4983
|
}
|
|
4991
4984
|
}, {
|
|
@@ -5026,34 +5019,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5026
5019
|
element.style.opacity = 0;
|
|
5027
5020
|
var last = +new Date();
|
|
5028
5021
|
var opacity = 0;
|
|
5029
|
-
|
|
5030
5022
|
var tick = function tick() {
|
|
5031
5023
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5032
5024
|
element.style.opacity = opacity;
|
|
5033
5025
|
last = +new Date();
|
|
5034
|
-
|
|
5035
5026
|
if (+opacity < 1) {
|
|
5036
5027
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5037
5028
|
}
|
|
5038
5029
|
};
|
|
5039
|
-
|
|
5040
5030
|
tick();
|
|
5041
5031
|
}
|
|
5042
5032
|
}, {
|
|
5043
5033
|
key: "fadeOut",
|
|
5044
5034
|
value: function fadeOut(element, ms) {
|
|
5045
5035
|
var opacity = 1,
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5036
|
+
interval = 50,
|
|
5037
|
+
duration = ms,
|
|
5038
|
+
gap = interval / duration;
|
|
5049
5039
|
var fading = setInterval(function () {
|
|
5050
5040
|
opacity -= gap;
|
|
5051
|
-
|
|
5052
5041
|
if (opacity <= 0) {
|
|
5053
5042
|
opacity = 0;
|
|
5054
5043
|
clearInterval(fading);
|
|
5055
5044
|
}
|
|
5056
|
-
|
|
5057
5045
|
element.style.opacity = opacity;
|
|
5058
5046
|
}, interval);
|
|
5059
5047
|
}
|
|
@@ -5080,7 +5068,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5080
5068
|
var scroll = container.scrollTop;
|
|
5081
5069
|
var elementHeight = container.clientHeight;
|
|
5082
5070
|
var itemHeight = this.getOuterHeight(item);
|
|
5083
|
-
|
|
5084
5071
|
if (offset < 0) {
|
|
5085
5072
|
container.scrollTop = scroll + offset;
|
|
5086
5073
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5099,7 +5086,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5099
5086
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5100
5087
|
try {
|
|
5101
5088
|
document['selection'].empty();
|
|
5102
|
-
} catch (error) {
|
|
5089
|
+
} catch (error) {
|
|
5090
|
+
//ignore IE bug
|
|
5103
5091
|
}
|
|
5104
5092
|
}
|
|
5105
5093
|
}
|
|
@@ -5121,19 +5109,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5121
5109
|
if (!this.browser) {
|
|
5122
5110
|
var matched = this.resolveUserAgent();
|
|
5123
5111
|
this.browser = {};
|
|
5124
|
-
|
|
5125
5112
|
if (matched.browser) {
|
|
5126
5113
|
this.browser[matched.browser] = true;
|
|
5127
5114
|
this.browser['version'] = matched.version;
|
|
5128
5115
|
}
|
|
5129
|
-
|
|
5130
5116
|
if (this.browser['chrome']) {
|
|
5131
5117
|
this.browser['webkit'] = true;
|
|
5132
5118
|
} else if (this.browser['webkit']) {
|
|
5133
5119
|
this.browser['safari'] = true;
|
|
5134
5120
|
}
|
|
5135
5121
|
}
|
|
5136
|
-
|
|
5137
5122
|
return this.browser;
|
|
5138
5123
|
}
|
|
5139
5124
|
}, {
|
|
@@ -5161,10 +5146,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5161
5146
|
value: function getFocusableElements(element) {
|
|
5162
5147
|
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])");
|
|
5163
5148
|
var visibleFocusableElements = [];
|
|
5164
|
-
|
|
5165
5149
|
var _iterator3 = DomHandler_createForOfIteratorHelper(focusableElements),
|
|
5166
|
-
|
|
5167
|
-
|
|
5150
|
+
_step3;
|
|
5168
5151
|
try {
|
|
5169
5152
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5170
5153
|
var focusableElement = _step3.value;
|
|
@@ -5175,7 +5158,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5175
5158
|
} finally {
|
|
5176
5159
|
_iterator3.f();
|
|
5177
5160
|
}
|
|
5178
|
-
|
|
5179
5161
|
return visibleFocusableElements;
|
|
5180
5162
|
}
|
|
5181
5163
|
}, {
|
|
@@ -5218,11 +5200,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5218
5200
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5219
5201
|
}
|
|
5220
5202
|
}]);
|
|
5221
|
-
|
|
5222
5203
|
return DomHandler;
|
|
5223
5204
|
}();
|
|
5224
5205
|
|
|
5225
|
-
|
|
5226
5206
|
// 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&
|
|
5227
5207
|
/* harmony default export */ var TreeTableColumnSlotvue_type_script_lang_js_ = ({
|
|
5228
5208
|
functional: true,
|
|
@@ -5257,20 +5237,19 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5257
5237
|
// This module is a runtime utility for cleaner component module output and will
|
|
5258
5238
|
// be included in the final webpack user bundle.
|
|
5259
5239
|
|
|
5260
|
-
function normalizeComponent
|
|
5240
|
+
function normalizeComponent(
|
|
5261
5241
|
scriptExports,
|
|
5262
5242
|
render,
|
|
5263
5243
|
staticRenderFns,
|
|
5264
5244
|
functionalTemplate,
|
|
5265
5245
|
injectStyles,
|
|
5266
5246
|
scopeId,
|
|
5267
|
-
moduleIdentifier
|
|
5247
|
+
moduleIdentifier /* server only */,
|
|
5268
5248
|
shadowMode /* vue-cli only */
|
|
5269
5249
|
) {
|
|
5270
5250
|
// Vue.extend constructor export interop
|
|
5271
|
-
var options =
|
|
5272
|
-
? scriptExports.options
|
|
5273
|
-
: scriptExports
|
|
5251
|
+
var options =
|
|
5252
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
5274
5253
|
|
|
5275
5254
|
// render functions
|
|
5276
5255
|
if (render) {
|
|
@@ -5290,7 +5269,8 @@ function normalizeComponent (
|
|
|
5290
5269
|
}
|
|
5291
5270
|
|
|
5292
5271
|
var hook
|
|
5293
|
-
if (moduleIdentifier) {
|
|
5272
|
+
if (moduleIdentifier) {
|
|
5273
|
+
// server build
|
|
5294
5274
|
hook = function (context) {
|
|
5295
5275
|
// 2.3 injection
|
|
5296
5276
|
context =
|
|
@@ -5316,11 +5296,11 @@ function normalizeComponent (
|
|
|
5316
5296
|
} else if (injectStyles) {
|
|
5317
5297
|
hook = shadowMode
|
|
5318
5298
|
? function () {
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5299
|
+
injectStyles.call(
|
|
5300
|
+
this,
|
|
5301
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
5302
|
+
)
|
|
5303
|
+
}
|
|
5324
5304
|
: injectStyles
|
|
5325
5305
|
}
|
|
5326
5306
|
|
|
@@ -5331,16 +5311,14 @@ function normalizeComponent (
|
|
|
5331
5311
|
options._injectStyles = hook
|
|
5332
5312
|
// register for functional component in vue file
|
|
5333
5313
|
var originalRender = options.render
|
|
5334
|
-
options.render = function renderWithStyleInjection
|
|
5314
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
5335
5315
|
hook.call(context)
|
|
5336
5316
|
return originalRender(h, context)
|
|
5337
5317
|
}
|
|
5338
5318
|
} else {
|
|
5339
5319
|
// inject component registration as beforeCreate hook
|
|
5340
5320
|
var existing = options.beforeCreate
|
|
5341
|
-
options.beforeCreate = existing
|
|
5342
|
-
? [].concat(existing, hook)
|
|
5343
|
-
: [hook]
|
|
5321
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
5344
5322
|
}
|
|
5345
5323
|
}
|
|
5346
5324
|
|
|
@@ -5372,48 +5350,38 @@ var component = normalizeComponent(
|
|
|
5372
5350
|
/* harmony default export */ var TreeTableColumnSlot = (component.exports);
|
|
5373
5351
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5374
5352
|
|
|
5375
|
-
|
|
5376
5353
|
function bindEvents(el) {
|
|
5377
5354
|
el.addEventListener('mousedown', onMouseDown);
|
|
5378
5355
|
}
|
|
5379
|
-
|
|
5380
5356
|
function unbindEvents(el) {
|
|
5381
5357
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5382
5358
|
}
|
|
5383
|
-
|
|
5384
5359
|
function create(el) {
|
|
5385
5360
|
var ink = document.createElement('span');
|
|
5386
5361
|
ink.className = 'p-ink';
|
|
5387
5362
|
el.appendChild(ink);
|
|
5388
5363
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5389
5364
|
}
|
|
5390
|
-
|
|
5391
5365
|
function remove(el) {
|
|
5392
5366
|
var ink = getInk(el);
|
|
5393
|
-
|
|
5394
5367
|
if (ink) {
|
|
5395
5368
|
unbindEvents(el);
|
|
5396
5369
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5397
5370
|
ink.remove();
|
|
5398
5371
|
}
|
|
5399
5372
|
}
|
|
5400
|
-
|
|
5401
5373
|
function onMouseDown(event) {
|
|
5402
5374
|
var target = event.currentTarget;
|
|
5403
5375
|
var ink = getInk(target);
|
|
5404
|
-
|
|
5405
5376
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5406
5377
|
return;
|
|
5407
5378
|
}
|
|
5408
|
-
|
|
5409
5379
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5410
|
-
|
|
5411
5380
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5412
5381
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5413
5382
|
ink.style.height = d + 'px';
|
|
5414
5383
|
ink.style.width = d + 'px';
|
|
5415
5384
|
}
|
|
5416
|
-
|
|
5417
5385
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5418
5386
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5419
5387
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5421,21 +5389,17 @@ function onMouseDown(event) {
|
|
|
5421
5389
|
ink.style.left = x + 'px';
|
|
5422
5390
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5423
5391
|
}
|
|
5424
|
-
|
|
5425
5392
|
function onAnimationEnd(event) {
|
|
5426
5393
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5427
5394
|
}
|
|
5428
|
-
|
|
5429
5395
|
function getInk(el) {
|
|
5430
5396
|
for (var i = 0; i < el.children.length; i++) {
|
|
5431
5397
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5432
5398
|
return el.children[i];
|
|
5433
5399
|
}
|
|
5434
5400
|
}
|
|
5435
|
-
|
|
5436
5401
|
return null;
|
|
5437
5402
|
}
|
|
5438
|
-
|
|
5439
5403
|
var Ripple = {
|
|
5440
5404
|
inserted: function inserted(el, binding, vnode) {
|
|
5441
5405
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5460,38 +5424,12 @@ var Ripple = {
|
|
|
5460
5424
|
|
|
5461
5425
|
|
|
5462
5426
|
|
|
5463
|
-
|
|
5464
5427
|
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; } } }; }
|
|
5465
|
-
|
|
5466
5428
|
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); }
|
|
5467
|
-
|
|
5468
5429
|
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; }
|
|
5469
|
-
|
|
5470
5430
|
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; }
|
|
5471
|
-
|
|
5472
5431
|
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; }
|
|
5473
5432
|
|
|
5474
|
-
//
|
|
5475
|
-
//
|
|
5476
|
-
//
|
|
5477
|
-
//
|
|
5478
|
-
//
|
|
5479
|
-
//
|
|
5480
|
-
//
|
|
5481
|
-
//
|
|
5482
|
-
//
|
|
5483
|
-
//
|
|
5484
|
-
//
|
|
5485
|
-
//
|
|
5486
|
-
//
|
|
5487
|
-
//
|
|
5488
|
-
//
|
|
5489
|
-
//
|
|
5490
|
-
//
|
|
5491
|
-
//
|
|
5492
|
-
//
|
|
5493
|
-
//
|
|
5494
|
-
|
|
5495
5433
|
|
|
5496
5434
|
|
|
5497
5435
|
|
|
@@ -5551,7 +5489,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5551
5489
|
if (DomHandler_DomHandler.isClickable(event.target) || DomHandler_DomHandler.hasClass(event.target, 'p-treetable-toggler') || DomHandler_DomHandler.hasClass(event.target.parentElement, 'p-treetable-toggler')) {
|
|
5552
5490
|
return;
|
|
5553
5491
|
}
|
|
5554
|
-
|
|
5555
5492
|
this.$emit('node-click', {
|
|
5556
5493
|
originalEvent: event,
|
|
5557
5494
|
nodeTouched: this.nodeTouched,
|
|
@@ -5565,35 +5502,30 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5565
5502
|
onKeyDown: function onKeyDown(event) {
|
|
5566
5503
|
if (event.target === this.$el) {
|
|
5567
5504
|
var rowElement = this.$el;
|
|
5568
|
-
|
|
5569
5505
|
switch (event.which) {
|
|
5570
5506
|
//down arrow
|
|
5571
5507
|
case 40:
|
|
5572
5508
|
{
|
|
5573
5509
|
var nextRow = rowElement.nextElementSibling;
|
|
5574
|
-
|
|
5575
5510
|
if (nextRow) {
|
|
5576
5511
|
nextRow.focus();
|
|
5577
5512
|
}
|
|
5578
|
-
|
|
5579
5513
|
event.preventDefault();
|
|
5580
5514
|
break;
|
|
5581
5515
|
}
|
|
5582
|
-
//up arrow
|
|
5583
5516
|
|
|
5517
|
+
//up arrow
|
|
5584
5518
|
case 38:
|
|
5585
5519
|
{
|
|
5586
5520
|
var previousRow = rowElement.previousElementSibling;
|
|
5587
|
-
|
|
5588
5521
|
if (previousRow) {
|
|
5589
5522
|
previousRow.focus();
|
|
5590
5523
|
}
|
|
5591
|
-
|
|
5592
5524
|
event.preventDefault();
|
|
5593
5525
|
break;
|
|
5594
5526
|
}
|
|
5595
|
-
//right-left arrows
|
|
5596
5527
|
|
|
5528
|
+
//right-left arrows
|
|
5597
5529
|
case 37:
|
|
5598
5530
|
case 39:
|
|
5599
5531
|
{
|
|
@@ -5601,18 +5533,16 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5601
5533
|
this.$emit('node-toggle', this.node);
|
|
5602
5534
|
event.preventDefault();
|
|
5603
5535
|
}
|
|
5604
|
-
|
|
5605
5536
|
break;
|
|
5606
5537
|
}
|
|
5607
|
-
//enter
|
|
5608
5538
|
|
|
5539
|
+
//enter
|
|
5609
5540
|
case 13:
|
|
5610
5541
|
{
|
|
5611
5542
|
this.onClick(event);
|
|
5612
5543
|
event.preventDefault();
|
|
5613
5544
|
break;
|
|
5614
5545
|
}
|
|
5615
|
-
|
|
5616
5546
|
default:
|
|
5617
5547
|
//no op
|
|
5618
5548
|
break;
|
|
@@ -5621,9 +5551,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5621
5551
|
},
|
|
5622
5552
|
toggleCheckbox: function toggleCheckbox() {
|
|
5623
5553
|
var _selectionKeys = this.selectionKeys ? _objectSpread({}, this.selectionKeys) : {};
|
|
5624
|
-
|
|
5625
5554
|
var _check = !this.checked;
|
|
5626
|
-
|
|
5627
5555
|
this.propagateDown(this.node, _check, _selectionKeys);
|
|
5628
5556
|
this.$emit('checkbox-change', {
|
|
5629
5557
|
node: this.node,
|
|
@@ -5636,11 +5564,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5636
5564
|
checked: true,
|
|
5637
5565
|
partialChecked: false
|
|
5638
5566
|
};else delete selectionKeys[node.key];
|
|
5639
|
-
|
|
5640
5567
|
if (node.children && node.children.length) {
|
|
5641
5568
|
var _iterator = TreeTableRowvue_type_script_lang_js_createForOfIteratorHelper(node.children),
|
|
5642
|
-
|
|
5643
|
-
|
|
5569
|
+
_step;
|
|
5644
5570
|
try {
|
|
5645
5571
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5646
5572
|
var child = _step.value;
|
|
@@ -5655,15 +5581,11 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5655
5581
|
},
|
|
5656
5582
|
propagateUp: function propagateUp(event) {
|
|
5657
5583
|
var check = event.check;
|
|
5658
|
-
|
|
5659
5584
|
var _selectionKeys = _objectSpread({}, event.selectionKeys);
|
|
5660
|
-
|
|
5661
5585
|
var checkedChildCount = 0;
|
|
5662
5586
|
var childPartialSelected = false;
|
|
5663
|
-
|
|
5664
5587
|
var _iterator2 = TreeTableRowvue_type_script_lang_js_createForOfIteratorHelper(this.node.children),
|
|
5665
|
-
|
|
5666
|
-
|
|
5588
|
+
_step2;
|
|
5667
5589
|
try {
|
|
5668
5590
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5669
5591
|
var child = _step2.value;
|
|
@@ -5674,7 +5596,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5674
5596
|
} finally {
|
|
5675
5597
|
_iterator2.f();
|
|
5676
5598
|
}
|
|
5677
|
-
|
|
5678
5599
|
if (check && checkedChildCount === this.node.children.length) {
|
|
5679
5600
|
_selectionKeys[this.node.key] = {
|
|
5680
5601
|
checked: true,
|
|
@@ -5684,7 +5605,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5684
5605
|
if (!check) {
|
|
5685
5606
|
delete _selectionKeys[this.node.key];
|
|
5686
5607
|
}
|
|
5687
|
-
|
|
5688
5608
|
if (childPartialSelected || checkedChildCount > 0 && checkedChildCount !== this.node.children.length) _selectionKeys[this.node.key] = {
|
|
5689
5609
|
checked: false,
|
|
5690
5610
|
partialChecked: true
|
|
@@ -5693,7 +5613,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5693
5613
|
partialChecked: false
|
|
5694
5614
|
};
|
|
5695
5615
|
}
|
|
5696
|
-
|
|
5697
5616
|
this.$emit('checkbox-change', {
|
|
5698
5617
|
node: event.node,
|
|
5699
5618
|
check: event.check,
|