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
|
@@ -4112,10 +4112,20 @@ if (typeof window !== 'undefined') {
|
|
|
4112
4112
|
// Indicate to webpack that this file can be concatenated
|
|
4113
4113
|
/* harmony default export */ var setPublicPath = (null);
|
|
4114
4114
|
|
|
4115
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4116
|
-
var render = function () {
|
|
4117
|
-
var
|
|
4118
|
-
|
|
4115
|
+
// 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/FooterCell.vue?vue&type=template&id=6ec2433a&
|
|
4116
|
+
var render = function render() {
|
|
4117
|
+
var _vm = this,
|
|
4118
|
+
_c = _vm._self._c;
|
|
4119
|
+
return _c('td', {
|
|
4120
|
+
class: _vm.containerClass,
|
|
4121
|
+
style: _vm.containerStyle
|
|
4122
|
+
}, [_vm.column.children && _vm.column.children.footer ? _c('TTColumnSlot', {
|
|
4123
|
+
attrs: {
|
|
4124
|
+
"column": _vm.col
|
|
4125
|
+
}
|
|
4126
|
+
}) : _vm._e(), _vm._v("\n " + _vm._s(_vm.columnProp('footer')) + "\n")], 1);
|
|
4127
|
+
};
|
|
4128
|
+
var staticRenderFns = [];
|
|
4119
4129
|
|
|
4120
4130
|
// CONCATENATED MODULE: ./src/components/treetable/FooterCell.vue?vue&type=template&id=6ec2433a&
|
|
4121
4131
|
|
|
@@ -4161,26 +4171,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4161
4171
|
|
|
4162
4172
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4163
4173
|
|
|
4164
|
-
|
|
4165
4174
|
function _defineProperties(target, props) {
|
|
4166
4175
|
for (var i = 0; i < props.length; i++) {
|
|
4167
4176
|
var descriptor = props[i];
|
|
4168
4177
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4169
4178
|
descriptor.configurable = true;
|
|
4170
4179
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4171
|
-
|
|
4172
4180
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4173
4181
|
}
|
|
4174
4182
|
}
|
|
4175
|
-
|
|
4176
4183
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4177
4184
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4178
4185
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4179
|
-
|
|
4180
4186
|
define_property_default()(Constructor, "prototype", {
|
|
4181
4187
|
writable: false
|
|
4182
4188
|
});
|
|
4183
|
-
|
|
4184
4189
|
return Constructor;
|
|
4185
4190
|
}
|
|
4186
4191
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -4196,18 +4201,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4196
4201
|
|
|
4197
4202
|
|
|
4198
4203
|
|
|
4199
|
-
|
|
4200
4204
|
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; } } }; }
|
|
4201
|
-
|
|
4202
4205
|
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); }
|
|
4203
|
-
|
|
4204
4206
|
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; }
|
|
4205
|
-
|
|
4206
4207
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4207
4208
|
function DomHandler() {
|
|
4208
4209
|
_classCallCheck(this, DomHandler);
|
|
4209
4210
|
}
|
|
4210
|
-
|
|
4211
4211
|
_createClass(DomHandler, null, [{
|
|
4212
4212
|
key: "innerWidth",
|
|
4213
4213
|
value: function innerWidth(el) {
|
|
@@ -4241,12 +4241,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4241
4241
|
value: function getOuterWidth(el, margin) {
|
|
4242
4242
|
if (el) {
|
|
4243
4243
|
var width = el.offsetWidth;
|
|
4244
|
-
|
|
4245
4244
|
if (margin) {
|
|
4246
4245
|
var style = getComputedStyle(el);
|
|
4247
4246
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4248
4247
|
}
|
|
4249
|
-
|
|
4250
4248
|
return width;
|
|
4251
4249
|
} else {
|
|
4252
4250
|
return 0;
|
|
@@ -4257,12 +4255,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4257
4255
|
value: function getOuterHeight(el, margin) {
|
|
4258
4256
|
if (el) {
|
|
4259
4257
|
var height = el.offsetHeight;
|
|
4260
|
-
|
|
4261
4258
|
if (margin) {
|
|
4262
4259
|
var style = getComputedStyle(el);
|
|
4263
4260
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4264
4261
|
}
|
|
4265
|
-
|
|
4266
4262
|
return height;
|
|
4267
4263
|
} else {
|
|
4268
4264
|
return 0;
|
|
@@ -4273,12 +4269,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4273
4269
|
value: function getClientHeight(el, margin) {
|
|
4274
4270
|
if (el) {
|
|
4275
4271
|
var height = el.clientHeight;
|
|
4276
|
-
|
|
4277
4272
|
if (margin) {
|
|
4278
4273
|
var style = getComputedStyle(el);
|
|
4279
4274
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4280
4275
|
}
|
|
4281
|
-
|
|
4282
4276
|
return height;
|
|
4283
4277
|
} else {
|
|
4284
4278
|
return 0;
|
|
@@ -4288,11 +4282,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4288
4282
|
key: "getViewport",
|
|
4289
4283
|
value: function getViewport() {
|
|
4290
4284
|
var win = window,
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4285
|
+
d = document,
|
|
4286
|
+
e = d.documentElement,
|
|
4287
|
+
g = d.getElementsByTagName('body')[0],
|
|
4288
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4289
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4296
4290
|
return {
|
|
4297
4291
|
width: w,
|
|
4298
4292
|
height: h
|
|
@@ -4323,12 +4317,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4323
4317
|
value: function index(element) {
|
|
4324
4318
|
var children = element.parentNode.childNodes;
|
|
4325
4319
|
var num = 0;
|
|
4326
|
-
|
|
4327
4320
|
for (var i = 0; i < children.length; i++) {
|
|
4328
4321
|
if (children[i] === element) return num;
|
|
4329
4322
|
if (children[i].nodeType === 1) num++;
|
|
4330
4323
|
}
|
|
4331
|
-
|
|
4332
4324
|
return -1;
|
|
4333
4325
|
}
|
|
4334
4326
|
}, {
|
|
@@ -4336,13 +4328,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4336
4328
|
value: function addMultipleClasses(element, className) {
|
|
4337
4329
|
if (element.classList) {
|
|
4338
4330
|
var styles = className.split(' ');
|
|
4339
|
-
|
|
4340
4331
|
for (var i = 0; i < styles.length; i++) {
|
|
4341
4332
|
element.classList.add(styles[i]);
|
|
4342
4333
|
}
|
|
4343
4334
|
} else {
|
|
4344
4335
|
var _styles = className.split(' ');
|
|
4345
|
-
|
|
4346
4336
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4347
4337
|
element.className += ' ' + _styles[_i];
|
|
4348
4338
|
}
|
|
@@ -4364,7 +4354,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4364
4354
|
if (element) {
|
|
4365
4355
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4366
4356
|
}
|
|
4367
|
-
|
|
4368
4357
|
return false;
|
|
4369
4358
|
}
|
|
4370
4359
|
}, {
|
|
@@ -4409,11 +4398,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4409
4398
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4410
4399
|
var viewport = this.getViewport();
|
|
4411
4400
|
var top, left;
|
|
4412
|
-
|
|
4413
4401
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4414
4402
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4415
4403
|
element.style.transformOrigin = 'bottom';
|
|
4416
|
-
|
|
4417
4404
|
if (top < 0) {
|
|
4418
4405
|
top = windowScrollTop;
|
|
4419
4406
|
}
|
|
@@ -4421,7 +4408,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4421
4408
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4422
4409
|
element.style.transformOrigin = 'top';
|
|
4423
4410
|
}
|
|
4424
|
-
|
|
4425
4411
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4426
4412
|
element.style.top = top + 'px';
|
|
4427
4413
|
element.style.left = left + 'px';
|
|
@@ -4437,11 +4423,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4437
4423
|
var targetOffset = target.getBoundingClientRect();
|
|
4438
4424
|
var viewport = this.getViewport();
|
|
4439
4425
|
var top, left;
|
|
4440
|
-
|
|
4441
4426
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4442
4427
|
top = -1 * elementDimensions.height;
|
|
4443
4428
|
element.style.transformOrigin = 'bottom';
|
|
4444
|
-
|
|
4445
4429
|
if (targetOffset.top + top < 0) {
|
|
4446
4430
|
top = -1 * targetOffset.top;
|
|
4447
4431
|
}
|
|
@@ -4449,7 +4433,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4449
4433
|
top = targetHeight;
|
|
4450
4434
|
element.style.transformOrigin = 'top';
|
|
4451
4435
|
}
|
|
4452
|
-
|
|
4453
4436
|
if (elementDimensions.width > viewport.width) {
|
|
4454
4437
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4455
4438
|
left = targetOffset.left * -1;
|
|
@@ -4460,7 +4443,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4460
4443
|
// element fits on screen (align with target)
|
|
4461
4444
|
left = 0;
|
|
4462
4445
|
}
|
|
4463
|
-
|
|
4464
4446
|
element.style.top = top + 'px';
|
|
4465
4447
|
element.style.left = left + 'px';
|
|
4466
4448
|
}
|
|
@@ -4474,35 +4456,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4474
4456
|
key: "getScrollableParents",
|
|
4475
4457
|
value: function getScrollableParents(element) {
|
|
4476
4458
|
var scrollableParents = [];
|
|
4477
|
-
|
|
4478
4459
|
if (element) {
|
|
4479
4460
|
var parents = this.getParents(element);
|
|
4480
4461
|
var overflowRegex = /(auto|scroll)/;
|
|
4481
|
-
|
|
4482
4462
|
var overflowCheck = function overflowCheck(node) {
|
|
4483
4463
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4484
4464
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4485
4465
|
};
|
|
4486
|
-
|
|
4487
4466
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4488
|
-
|
|
4489
|
-
|
|
4467
|
+
_step;
|
|
4490
4468
|
try {
|
|
4491
4469
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4492
4470
|
var parent = _step.value;
|
|
4493
4471
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4494
|
-
|
|
4495
4472
|
if (scrollSelectors) {
|
|
4496
4473
|
var selectors = scrollSelectors.split(',');
|
|
4497
|
-
|
|
4498
4474
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
4499
|
-
|
|
4500
|
-
|
|
4475
|
+
_step2;
|
|
4501
4476
|
try {
|
|
4502
4477
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4503
4478
|
var selector = _step2.value;
|
|
4504
4479
|
var el = this.findSingle(parent, selector);
|
|
4505
|
-
|
|
4506
4480
|
if (el && overflowCheck(el)) {
|
|
4507
4481
|
scrollableParents.push(el);
|
|
4508
4482
|
}
|
|
@@ -4520,7 +4494,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4520
4494
|
_iterator.f();
|
|
4521
4495
|
}
|
|
4522
4496
|
}
|
|
4523
|
-
|
|
4524
4497
|
return scrollableParents;
|
|
4525
4498
|
}
|
|
4526
4499
|
}, {
|
|
@@ -4561,34 +4534,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4561
4534
|
element.style.opacity = 0;
|
|
4562
4535
|
var last = +new Date();
|
|
4563
4536
|
var opacity = 0;
|
|
4564
|
-
|
|
4565
4537
|
var tick = function tick() {
|
|
4566
4538
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
4567
4539
|
element.style.opacity = opacity;
|
|
4568
4540
|
last = +new Date();
|
|
4569
|
-
|
|
4570
4541
|
if (+opacity < 1) {
|
|
4571
4542
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
4572
4543
|
}
|
|
4573
4544
|
};
|
|
4574
|
-
|
|
4575
4545
|
tick();
|
|
4576
4546
|
}
|
|
4577
4547
|
}, {
|
|
4578
4548
|
key: "fadeOut",
|
|
4579
4549
|
value: function fadeOut(element, ms) {
|
|
4580
4550
|
var opacity = 1,
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4551
|
+
interval = 50,
|
|
4552
|
+
duration = ms,
|
|
4553
|
+
gap = interval / duration;
|
|
4584
4554
|
var fading = setInterval(function () {
|
|
4585
4555
|
opacity -= gap;
|
|
4586
|
-
|
|
4587
4556
|
if (opacity <= 0) {
|
|
4588
4557
|
opacity = 0;
|
|
4589
4558
|
clearInterval(fading);
|
|
4590
4559
|
}
|
|
4591
|
-
|
|
4592
4560
|
element.style.opacity = opacity;
|
|
4593
4561
|
}, interval);
|
|
4594
4562
|
}
|
|
@@ -4615,7 +4583,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4615
4583
|
var scroll = container.scrollTop;
|
|
4616
4584
|
var elementHeight = container.clientHeight;
|
|
4617
4585
|
var itemHeight = this.getOuterHeight(item);
|
|
4618
|
-
|
|
4619
4586
|
if (offset < 0) {
|
|
4620
4587
|
container.scrollTop = scroll + offset;
|
|
4621
4588
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -4634,7 +4601,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4634
4601
|
} else if (document['selection'] && document['selection'].empty) {
|
|
4635
4602
|
try {
|
|
4636
4603
|
document['selection'].empty();
|
|
4637
|
-
} catch (error) {
|
|
4604
|
+
} catch (error) {
|
|
4605
|
+
//ignore IE bug
|
|
4638
4606
|
}
|
|
4639
4607
|
}
|
|
4640
4608
|
}
|
|
@@ -4656,19 +4624,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4656
4624
|
if (!this.browser) {
|
|
4657
4625
|
var matched = this.resolveUserAgent();
|
|
4658
4626
|
this.browser = {};
|
|
4659
|
-
|
|
4660
4627
|
if (matched.browser) {
|
|
4661
4628
|
this.browser[matched.browser] = true;
|
|
4662
4629
|
this.browser['version'] = matched.version;
|
|
4663
4630
|
}
|
|
4664
|
-
|
|
4665
4631
|
if (this.browser['chrome']) {
|
|
4666
4632
|
this.browser['webkit'] = true;
|
|
4667
4633
|
} else if (this.browser['webkit']) {
|
|
4668
4634
|
this.browser['safari'] = true;
|
|
4669
4635
|
}
|
|
4670
4636
|
}
|
|
4671
|
-
|
|
4672
4637
|
return this.browser;
|
|
4673
4638
|
}
|
|
4674
4639
|
}, {
|
|
@@ -4696,10 +4661,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4696
4661
|
value: function getFocusableElements(element) {
|
|
4697
4662
|
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])");
|
|
4698
4663
|
var visibleFocusableElements = [];
|
|
4699
|
-
|
|
4700
4664
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
4701
|
-
|
|
4702
|
-
|
|
4665
|
+
_step3;
|
|
4703
4666
|
try {
|
|
4704
4667
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4705
4668
|
var focusableElement = _step3.value;
|
|
@@ -4710,7 +4673,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4710
4673
|
} finally {
|
|
4711
4674
|
_iterator3.f();
|
|
4712
4675
|
}
|
|
4713
|
-
|
|
4714
4676
|
return visibleFocusableElements;
|
|
4715
4677
|
}
|
|
4716
4678
|
}, {
|
|
@@ -4753,11 +4715,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4753
4715
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4754
4716
|
}
|
|
4755
4717
|
}]);
|
|
4756
|
-
|
|
4757
4718
|
return DomHandler;
|
|
4758
4719
|
}();
|
|
4759
4720
|
|
|
4760
|
-
|
|
4761
4721
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js
|
|
4762
4722
|
var es6_regexp_search = __webpack_require__("386d");
|
|
4763
4723
|
|
|
@@ -4807,18 +4767,13 @@ function _typeof(obj) {
|
|
|
4807
4767
|
|
|
4808
4768
|
|
|
4809
4769
|
|
|
4810
|
-
|
|
4811
4770
|
function ObjectUtils_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = ObjectUtils_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
4812
|
-
|
|
4813
4771
|
function ObjectUtils_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ObjectUtils_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return ObjectUtils_arrayLikeToArray(o, minLen); }
|
|
4814
|
-
|
|
4815
4772
|
function ObjectUtils_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
4816
|
-
|
|
4817
4773
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
4818
4774
|
function ObjectUtils() {
|
|
4819
4775
|
_classCallCheck(this, ObjectUtils);
|
|
4820
4776
|
}
|
|
4821
|
-
|
|
4822
4777
|
_createClass(ObjectUtils, null, [{
|
|
4823
4778
|
key: "equals",
|
|
4824
4779
|
value: function equals(obj1, obj2, field) {
|
|
@@ -4828,50 +4783,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4828
4783
|
key: "deepEquals",
|
|
4829
4784
|
value: function deepEquals(a, b) {
|
|
4830
4785
|
if (a === b) return true;
|
|
4831
|
-
|
|
4832
4786
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
4833
4787
|
var arrA = Array.isArray(a),
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4788
|
+
arrB = Array.isArray(b),
|
|
4789
|
+
i,
|
|
4790
|
+
length,
|
|
4791
|
+
key;
|
|
4839
4792
|
if (arrA && arrB) {
|
|
4840
4793
|
length = a.length;
|
|
4841
4794
|
if (length != b.length) return false;
|
|
4842
|
-
|
|
4843
4795
|
for (i = length; i-- !== 0;) {
|
|
4844
4796
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
4845
4797
|
}
|
|
4846
|
-
|
|
4847
4798
|
return true;
|
|
4848
4799
|
}
|
|
4849
|
-
|
|
4850
4800
|
if (arrA != arrB) return false;
|
|
4851
4801
|
var dateA = a instanceof Date,
|
|
4852
|
-
|
|
4802
|
+
dateB = b instanceof Date;
|
|
4853
4803
|
if (dateA != dateB) return false;
|
|
4854
4804
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
4855
4805
|
var regexpA = a instanceof RegExp,
|
|
4856
|
-
|
|
4806
|
+
regexpB = b instanceof RegExp;
|
|
4857
4807
|
if (regexpA != regexpB) return false;
|
|
4858
4808
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
4859
4809
|
var keys = Object.keys(a);
|
|
4860
4810
|
length = keys.length;
|
|
4861
4811
|
if (length !== Object.keys(b).length) return false;
|
|
4862
|
-
|
|
4863
4812
|
for (i = length; i-- !== 0;) {
|
|
4864
4813
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
4865
4814
|
}
|
|
4866
|
-
|
|
4867
4815
|
for (i = length; i-- !== 0;) {
|
|
4868
4816
|
key = keys[i];
|
|
4869
4817
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
4870
4818
|
}
|
|
4871
|
-
|
|
4872
4819
|
return true;
|
|
4873
4820
|
}
|
|
4874
|
-
|
|
4875
4821
|
return a !== a && b !== b;
|
|
4876
4822
|
}
|
|
4877
4823
|
}, {
|
|
@@ -4885,15 +4831,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4885
4831
|
} else {
|
|
4886
4832
|
var fields = field.split('.');
|
|
4887
4833
|
var value = data;
|
|
4888
|
-
|
|
4889
4834
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
4890
4835
|
if (value == null) {
|
|
4891
4836
|
return null;
|
|
4892
4837
|
}
|
|
4893
|
-
|
|
4894
4838
|
value = value[fields[i]];
|
|
4895
4839
|
}
|
|
4896
|
-
|
|
4897
4840
|
return value;
|
|
4898
4841
|
}
|
|
4899
4842
|
} else {
|
|
@@ -4909,22 +4852,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4909
4852
|
key: "filter",
|
|
4910
4853
|
value: function filter(value, fields, filterValue) {
|
|
4911
4854
|
var filteredItems = [];
|
|
4912
|
-
|
|
4913
4855
|
if (value) {
|
|
4914
4856
|
var _iterator = ObjectUtils_createForOfIteratorHelper(value),
|
|
4915
|
-
|
|
4916
|
-
|
|
4857
|
+
_step;
|
|
4917
4858
|
try {
|
|
4918
4859
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4919
4860
|
var item = _step.value;
|
|
4920
|
-
|
|
4921
4861
|
var _iterator2 = ObjectUtils_createForOfIteratorHelper(fields),
|
|
4922
|
-
|
|
4923
|
-
|
|
4862
|
+
_step2;
|
|
4924
4863
|
try {
|
|
4925
4864
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4926
4865
|
var field = _step2.value;
|
|
4927
|
-
|
|
4928
4866
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
4929
4867
|
filteredItems.push(item);
|
|
4930
4868
|
break;
|
|
@@ -4942,23 +4880,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4942
4880
|
_iterator.f();
|
|
4943
4881
|
}
|
|
4944
4882
|
}
|
|
4945
|
-
|
|
4946
4883
|
return filteredItems;
|
|
4947
4884
|
}
|
|
4948
4885
|
}, {
|
|
4949
4886
|
key: "reorderArray",
|
|
4950
4887
|
value: function reorderArray(value, from, to) {
|
|
4951
4888
|
var target;
|
|
4952
|
-
|
|
4953
4889
|
if (value && from !== to) {
|
|
4954
4890
|
if (to >= value.length) {
|
|
4955
4891
|
target = to - value.length;
|
|
4956
|
-
|
|
4957
4892
|
while (target-- + 1) {
|
|
4958
4893
|
value.push(undefined);
|
|
4959
4894
|
}
|
|
4960
4895
|
}
|
|
4961
|
-
|
|
4962
4896
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
4963
4897
|
}
|
|
4964
4898
|
}
|
|
@@ -4966,7 +4900,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4966
4900
|
key: "findIndexInList",
|
|
4967
4901
|
value: function findIndexInList(value, list) {
|
|
4968
4902
|
var index = -1;
|
|
4969
|
-
|
|
4970
4903
|
if (list) {
|
|
4971
4904
|
for (var i = 0; i < list.length; i++) {
|
|
4972
4905
|
if (list[i] === value) {
|
|
@@ -4975,7 +4908,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4975
4908
|
}
|
|
4976
4909
|
}
|
|
4977
4910
|
}
|
|
4978
|
-
|
|
4979
4911
|
return index;
|
|
4980
4912
|
}
|
|
4981
4913
|
}, {
|
|
@@ -4983,8 +4915,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4983
4915
|
value: function contains(value, list) {
|
|
4984
4916
|
if (value != null && list && list.length) {
|
|
4985
4917
|
var _iterator3 = ObjectUtils_createForOfIteratorHelper(list),
|
|
4986
|
-
|
|
4987
|
-
|
|
4918
|
+
_step3;
|
|
4988
4919
|
try {
|
|
4989
4920
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4990
4921
|
var val = _step3.value;
|
|
@@ -4996,7 +4927,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4996
4927
|
_iterator3.f();
|
|
4997
4928
|
}
|
|
4998
4929
|
}
|
|
4999
|
-
|
|
5000
4930
|
return false;
|
|
5001
4931
|
}
|
|
5002
4932
|
}, {
|
|
@@ -5004,17 +4934,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5004
4934
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
5005
4935
|
if (arr.length > 0) {
|
|
5006
4936
|
var injected = false;
|
|
5007
|
-
|
|
5008
4937
|
for (var i = 0; i < arr.length; i++) {
|
|
5009
4938
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
5010
|
-
|
|
5011
4939
|
if (currentItemIndex > index) {
|
|
5012
4940
|
arr.splice(i, 0, item);
|
|
5013
4941
|
injected = true;
|
|
5014
4942
|
break;
|
|
5015
4943
|
}
|
|
5016
4944
|
}
|
|
5017
|
-
|
|
5018
4945
|
if (!injected) {
|
|
5019
4946
|
arr.push(item);
|
|
5020
4947
|
}
|
|
@@ -5028,28 +4955,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5028
4955
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
5029
4956
|
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");
|
|
5030
4957
|
}
|
|
5031
|
-
|
|
5032
4958
|
return str;
|
|
5033
4959
|
}
|
|
5034
4960
|
}, {
|
|
5035
4961
|
key: "getVNodeProp",
|
|
5036
4962
|
value: function getVNodeProp(vnode, prop) {
|
|
5037
4963
|
var props = vnode._props;
|
|
5038
|
-
|
|
5039
4964
|
if (props) {
|
|
5040
4965
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5041
4966
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5042
4967
|
return props[propName];
|
|
5043
4968
|
}
|
|
5044
|
-
|
|
5045
4969
|
return null;
|
|
5046
4970
|
}
|
|
5047
4971
|
}]);
|
|
5048
|
-
|
|
5049
4972
|
return ObjectUtils;
|
|
5050
4973
|
}();
|
|
5051
4974
|
|
|
5052
|
-
|
|
5053
4975
|
// 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&
|
|
5054
4976
|
/* harmony default export */ var TreeTableColumnSlotvue_type_script_lang_js_ = ({
|
|
5055
4977
|
functional: true,
|
|
@@ -5084,20 +5006,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5084
5006
|
// This module is a runtime utility for cleaner component module output and will
|
|
5085
5007
|
// be included in the final webpack user bundle.
|
|
5086
5008
|
|
|
5087
|
-
function normalizeComponent
|
|
5009
|
+
function normalizeComponent(
|
|
5088
5010
|
scriptExports,
|
|
5089
5011
|
render,
|
|
5090
5012
|
staticRenderFns,
|
|
5091
5013
|
functionalTemplate,
|
|
5092
5014
|
injectStyles,
|
|
5093
5015
|
scopeId,
|
|
5094
|
-
moduleIdentifier
|
|
5016
|
+
moduleIdentifier /* server only */,
|
|
5095
5017
|
shadowMode /* vue-cli only */
|
|
5096
5018
|
) {
|
|
5097
5019
|
// Vue.extend constructor export interop
|
|
5098
|
-
var options =
|
|
5099
|
-
? scriptExports.options
|
|
5100
|
-
: scriptExports
|
|
5020
|
+
var options =
|
|
5021
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
5101
5022
|
|
|
5102
5023
|
// render functions
|
|
5103
5024
|
if (render) {
|
|
@@ -5117,7 +5038,8 @@ function normalizeComponent (
|
|
|
5117
5038
|
}
|
|
5118
5039
|
|
|
5119
5040
|
var hook
|
|
5120
|
-
if (moduleIdentifier) {
|
|
5041
|
+
if (moduleIdentifier) {
|
|
5042
|
+
// server build
|
|
5121
5043
|
hook = function (context) {
|
|
5122
5044
|
// 2.3 injection
|
|
5123
5045
|
context =
|
|
@@ -5143,11 +5065,11 @@ function normalizeComponent (
|
|
|
5143
5065
|
} else if (injectStyles) {
|
|
5144
5066
|
hook = shadowMode
|
|
5145
5067
|
? function () {
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5068
|
+
injectStyles.call(
|
|
5069
|
+
this,
|
|
5070
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
5071
|
+
)
|
|
5072
|
+
}
|
|
5151
5073
|
: injectStyles
|
|
5152
5074
|
}
|
|
5153
5075
|
|
|
@@ -5158,16 +5080,14 @@ function normalizeComponent (
|
|
|
5158
5080
|
options._injectStyles = hook
|
|
5159
5081
|
// register for functional component in vue file
|
|
5160
5082
|
var originalRender = options.render
|
|
5161
|
-
options.render = function renderWithStyleInjection
|
|
5083
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
5162
5084
|
hook.call(context)
|
|
5163
5085
|
return originalRender(h, context)
|
|
5164
5086
|
}
|
|
5165
5087
|
} else {
|
|
5166
5088
|
// inject component registration as beforeCreate hook
|
|
5167
5089
|
var existing = options.beforeCreate
|
|
5168
|
-
options.beforeCreate = existing
|
|
5169
|
-
? [].concat(existing, hook)
|
|
5170
|
-
: [hook]
|
|
5090
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
5171
5091
|
}
|
|
5172
5092
|
}
|
|
5173
5093
|
|
|
@@ -5198,13 +5118,6 @@ var component = normalizeComponent(
|
|
|
5198
5118
|
|
|
5199
5119
|
/* harmony default export */ var TreeTableColumnSlot = (component.exports);
|
|
5200
5120
|
// 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/FooterCell.vue?vue&type=script&lang=js&
|
|
5201
|
-
//
|
|
5202
|
-
//
|
|
5203
|
-
//
|
|
5204
|
-
//
|
|
5205
|
-
//
|
|
5206
|
-
//
|
|
5207
|
-
//
|
|
5208
5121
|
|
|
5209
5122
|
|
|
5210
5123
|
|
|
@@ -5240,24 +5153,19 @@ var component = normalizeComponent(
|
|
|
5240
5153
|
updateStickyPosition: function updateStickyPosition() {
|
|
5241
5154
|
if (this.columnProp('frozen')) {
|
|
5242
5155
|
var align = this.columnProp('alignFrozen');
|
|
5243
|
-
|
|
5244
5156
|
if (align === 'right') {
|
|
5245
5157
|
var right = 0;
|
|
5246
5158
|
var next = this.$el.nextElementSibling;
|
|
5247
|
-
|
|
5248
5159
|
if (next) {
|
|
5249
5160
|
right = DomHandler_DomHandler.getOuterWidth(next) + parseFloat(next.style.right);
|
|
5250
5161
|
}
|
|
5251
|
-
|
|
5252
5162
|
this.styleObject.right = right + 'px';
|
|
5253
5163
|
} else {
|
|
5254
5164
|
var left = 0;
|
|
5255
5165
|
var prev = this.$el.previousElementSibling;
|
|
5256
|
-
|
|
5257
5166
|
if (prev) {
|
|
5258
5167
|
left = DomHandler_DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left);
|
|
5259
5168
|
}
|
|
5260
|
-
|
|
5261
5169
|
this.styleObject.left = left + 'px';
|
|
5262
5170
|
}
|
|
5263
5171
|
}
|