primevue 2.9.2 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +150 -3
- package/accordion/accordion.common.js +66 -72
- package/accordion/accordion.umd.js +66 -72
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/accordiontab.common.js +73 -103
- package/accordiontab/accordiontab.umd.js +73 -103
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/api/Api.d.ts +24 -2
- package/api/Api.js +0 -6
- package/api/FilterService.js +2 -55
- package/api/PrimeIcons.js +24 -2
- package/api/api.common.js +35 -98
- package/api/api.umd.js +35 -98
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +11 -96
- package/api/filterservice.umd.js +11 -96
- package/api/primeicons.common.js +24 -2
- package/api/primeicons.umd.js +24 -2
- package/api/primeicons.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +241 -293
- package/autocomplete/autocomplete.umd.js +241 -293
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +64 -61
- package/avatar/avatar.umd.js +64 -61
- package/avatar/avatar.umd.min.js +1 -1
- package/avatargroup/avatargroup.common.js +44 -47
- package/avatargroup/avatargroup.umd.js +44 -47
- package/avatargroup/avatargroup.umd.min.js +1 -1
- package/badge/badge.common.js +22 -23
- package/badge/badge.umd.js +22 -23
- package/badge/badge.umd.min.js +1 -1
- package/badgedirective/BadgeDirective.js +0 -13
- package/badgedirective/badgedirective.common.js +13 -71
- package/badgedirective/badgedirective.umd.js +13 -71
- package/blockui/blockui.common.js +79 -138
- package/blockui/blockui.umd.js +79 -138
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +130 -90
- package/breadcrumb/breadcrumb.umd.js +130 -90
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +67 -40
- package/breadcrumb/breadcrumbitem.umd.js +67 -40
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/Button.d.ts +2 -0
- package/button/Button.vue +10 -1
- package/button/button.common.js +64 -109
- package/button/button.umd.js +64 -109
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +7 -3
- package/calendar/calendar.common.js +714 -721
- package/calendar/calendar.umd.js +714 -721
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +59 -62
- package/card/card.umd.js +59 -62
- package/card/card.umd.min.js +1 -1
- package/carousel/carousel.common.js +190 -231
- package/carousel/carousel.umd.js +190 -231
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +230 -294
- package/cascadeselect/cascadeselect.umd.js +230 -294
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +101 -183
- package/cascadeselect/cascadeselectsub.umd.js +101 -183
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +4 -3
- package/chart/chart.common.js +77 -74
- package/chart/chart.umd.js +77 -74
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/checkbox.common.js +70 -87
- package/checkbox/checkbox.umd.js +70 -87
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +66 -52
- package/chip/chip.umd.js +66 -52
- package/chip/chip.umd.min.js +1 -1
- package/chips/chips.common.js +122 -96
- package/chips/chips.umd.js +122 -96
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +149 -193
- package/colorpicker/colorpicker.umd.js +149 -193
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/column.common.js +13 -15
- package/column/column.umd.js +13 -15
- package/columngroup/columngroup.common.js +20 -25
- package/columngroup/columngroup.umd.js +20 -25
- package/columngroup/columngroup.umd.min.js +1 -1
- package/config/PrimeVue.js +0 -5
- package/config/primevue.common.js +35 -102
- package/config/primevue.umd.js +35 -102
- package/config/primevue.umd.min.js +1 -1
- package/confirmationeventbus/ConfirmationEventBus.js +0 -4
- package/confirmationeventbus/confirmationeventbus.common.js +0 -2
- package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
- package/confirmationservice/ConfirmationService.js +0 -3
- package/confirmationservice/confirmationservice.common.js +0 -2
- package/confirmationservice/confirmationservice.umd.js +0 -2
- package/confirmdialog/confirmdialog.common.js +247 -218
- package/confirmdialog/confirmdialog.umd.js +247 -218
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +154 -196
- package/confirmpopup/confirmpopup.umd.js +154 -196
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +216 -206
- package/contextmenu/contextmenu.umd.js +216 -206
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +138 -134
- package/contextmenu/contextmenusub.umd.js +138 -134
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/contextmenu/demo.html +3 -4
- package/datatable/BodyCell.vue +11 -2
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/DataTable.vue +2 -12
- package/datatable/HeaderCheckbox.vue +5 -8
- package/datatable/bodycell.common.js +283 -246
- package/datatable/bodycell.umd.js +283 -246
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +516 -422
- package/datatable/columnfilter.umd.js +516 -422
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/columnslot.common.js +13 -15
- package/datatable/columnslot.umd.js +13 -15
- package/datatable/datatable.common.js +2250 -1551
- package/datatable/datatable.umd.js +2250 -1551
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/footercell.common.js +56 -142
- package/datatable/footercell.umd.js +56 -142
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +666 -483
- package/datatable/headercell.umd.js +666 -483
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +59 -33
- package/datatable/headercheckbox.umd.js +59 -33
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +61 -30
- package/datatable/rowcheckbox.umd.js +61 -30
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +54 -27
- package/datatable/rowradiobutton.umd.js +54 -27
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +461 -321
- package/datatable/tablebody.umd.js +461 -321
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +94 -175
- package/datatable/tablefooter.umd.js +94 -175
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +872 -539
- package/datatable/tableheader.umd.js +872 -539
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +36 -29
- package/datatable/tableloadingbody.umd.js +36 -29
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +851 -720
- package/dataview/dataview.umd.js +851 -720
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +46 -30
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +46 -30
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
- package/deferredcontent/deferredcontent.common.js +22 -28
- package/deferredcontent/deferredcontent.umd.js +22 -28
- package/deferredcontent/deferredcontent.umd.min.js +1 -1
- package/dialog/dialog.common.js +152 -179
- package/dialog/dialog.umd.js +152 -179
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +49 -49
- package/divider/divider.umd.js +49 -49
- package/divider/divider.umd.min.js +1 -1
- package/dock/dock.common.js +179 -95
- package/dock/dock.umd.js +179 -95
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +132 -54
- package/dock/docksub.umd.js +132 -54
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/dropdown.common.js +233 -289
- package/dropdown/dropdown.umd.js +233 -289
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +194 -104
- package/editor/editor.umd.js +194 -104
- package/editor/editor.umd.min.js +3 -3
- package/fieldset/fieldset.common.js +133 -165
- package/fieldset/fieldset.umd.js +133 -165
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/fileupload.common.js +431 -373
- package/fileupload/fileupload.umd.js +431 -373
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +75 -64
- package/fullcalendar/fullcalendar.umd.js +75 -64
- package/fullcalendar/fullcalendar.umd.min.js +4 -18
- package/galleria/galleria.common.js +403 -299
- package/galleria/galleria.umd.js +403 -299
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +324 -235
- package/galleria/galleriacontent.umd.js +324 -235
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +127 -135
- package/galleria/galleriaitem.umd.js +127 -135
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +17 -25
- package/galleria/galleriaitemslot.umd.js +17 -25
- package/galleria/galleriathumbnails.common.js +125 -171
- package/galleria/galleriathumbnails.umd.js +125 -171
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +174 -163
- package/imagepreview/imagepreview.umd.js +174 -163
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +61 -57
- package/inlinemessage/inlinemessage.umd.js +61 -57
- package/inlinemessage/inlinemessage.umd.min.js +1 -1
- package/inplace/inplace.common.js +139 -170
- package/inplace/inplace.umd.js +139 -170
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +51 -174
- package/inputmask/inputmask.umd.js +51 -174
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +6 -3
- package/inputnumber/inputnumber.common.js +205 -293
- package/inputnumber/inputnumber.umd.js +205 -293
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +219 -37
- package/inputswitch/inputswitch.umd.js +219 -37
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +27 -28
- package/inputtext/inputtext.umd.js +27 -28
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/knob.common.js +102 -74
- package/knob/knob.umd.js +102 -74
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +163 -237
- package/listbox/listbox.umd.js +163 -237
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -2
- package/megamenu/megamenu.common.js +273 -230
- package/megamenu/megamenu.umd.js +273 -230
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +201 -203
- package/menu/menu.umd.js +201 -203
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +95 -116
- package/menu/menuitem.umd.js +95 -116
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/menubar.common.js +223 -214
- package/menubar/menubar.umd.js +223 -214
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +142 -149
- package/menubar/menubarsub.umd.js +142 -149
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +108 -157
- package/message/message.umd.js +108 -157
- package/message/message.umd.min.js +1 -1
- package/multiselect/multiselect.common.js +291 -315
- package/multiselect/multiselect.umd.js +291 -315
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/orderlist.common.js +206 -263
- package/orderlist/orderlist.umd.js +206 -263
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +188 -190
- package/organizationchart/organizationchart.umd.js +188 -190
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +122 -124
- package/organizationchart/organizationchartnode.umd.js +122 -124
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlayeventbus/OverlayEventBus.js +0 -4
- package/overlayeventbus/overlayeventbus.common.js +0 -2
- package/overlayeventbus/overlayeventbus.umd.js +0 -2
- package/overlaypanel/overlaypanel.common.js +108 -176
- package/overlaypanel/overlaypanel.umd.js +108 -176
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +3 -3
- package/paginator/currentpagereport.common.js +22 -22
- package/paginator/currentpagereport.umd.js +22 -22
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/firstpagelink.common.js +44 -102
- package/paginator/firstpagelink.umd.js +44 -102
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +254 -300
- package/paginator/jumptopagedropdown.umd.js +254 -300
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +225 -303
- package/paginator/jumptopageinput.umd.js +225 -303
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +44 -102
- package/paginator/lastpagelink.umd.js +44 -102
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +44 -102
- package/paginator/nextpagelink.umd.js +44 -102
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +54 -102
- package/paginator/pagelinks.umd.js +54 -102
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +741 -654
- package/paginator/paginator.umd.js +741 -654
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +44 -102
- package/paginator/prevpagelink.umd.js +44 -102
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +253 -300
- package/paginator/rowsperpagedropdown.umd.js +253 -300
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +129 -164
- package/panel/panel.umd.js +129 -164
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +235 -129
- package/panelmenu/panelmenu.umd.js +235 -129
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +110 -55
- package/panelmenu/panelmenusub.umd.js +110 -55
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/Password.vue +64 -14
- package/password/password.common.js +243 -239
- package/password/password.umd.js +243 -239
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +332 -323
- package/picklist/picklist.umd.js +332 -323
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +83 -76
- package/progressbar/progressbar.umd.js +83 -76
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +545 -45
- package/progressspinner/progressspinner.umd.js +545 -45
- package/progressspinner/progressspinner.umd.min.js +1 -1
- package/radiobutton/radiobutton.common.js +68 -83
- package/radiobutton/radiobutton.umd.js +68 -83
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +92 -68
- package/rating/rating.umd.js +92 -68
- package/rating/rating.umd.min.js +1 -1
- package/ripple/Ripple.js +0 -18
- package/ripple/ripple.common.js +13 -77
- package/ripple/ripple.umd.js +13 -77
- package/row/row.common.js +20 -25
- package/row/row.umd.js +20 -25
- package/row/row.umd.min.js +1 -1
- package/scrollpanel/scrollpanel.common.js +103 -154
- package/scrollpanel/scrollpanel.umd.js +103 -154
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +90 -132
- package/scrolltop/scrolltop.umd.js +90 -132
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +91 -171
- package/selectbutton/selectbutton.umd.js +91 -171
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.d.ts +1 -0
- package/sidebar/Sidebar.vue +3 -0
- package/sidebar/sidebar.common.js +115 -166
- package/sidebar/sidebar.umd.js +115 -166
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +57 -57
- package/skeleton/skeleton.umd.js +57 -57
- package/skeleton/skeleton.umd.min.js +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/slider.common.js +175 -166
- package/slider/slider.umd.js +175 -166
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.common.js +186 -204
- package/speeddial/speeddial.umd.js +186 -204
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +327 -279
- package/splitbutton/splitbutton.umd.js +327 -279
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +70 -143
- package/splitter/splitter.umd.js +70 -143
- package/splitter/splitter.umd.min.js +1 -1
- package/splitterpanel/splitterpanel.common.js +13 -15
- package/splitterpanel/splitterpanel.umd.js +13 -15
- package/steps/steps.common.js +112 -77
- package/steps/steps.umd.js +112 -77
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.js +0 -43
- package/styleclass/styleclass.common.js +13 -99
- package/styleclass/styleclass.umd.js +13 -99
- package/tabmenu/tabmenu.common.js +139 -165
- package/tabmenu/tabmenu.umd.js +139 -165
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +31 -26
- package/tabpanel/tabpanel.umd.js +31 -26
- package/tabpanel/tabpanel.umd.min.js +1 -1
- package/tabview/tabview.common.js +178 -220
- package/tabview/tabview.umd.js +178 -220
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +59 -59
- package/tag/tag.umd.js +59 -59
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +96 -68
- package/terminal/terminal.umd.js +96 -68
- package/terminal/terminal.umd.min.js +1 -1
- package/terminalservice/TerminalService.js +0 -3
- package/textarea/Textarea.vue +24 -1
- package/textarea/textarea.common.js +2083 -91
- package/textarea/textarea.umd.js +2083 -91
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/demo.html +3 -4
- package/tieredmenu/tieredmenu.common.js +214 -219
- package/tieredmenu/tieredmenu.umd.js +214 -219
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +142 -145
- package/tieredmenu/tieredmenusub.umd.js +142 -145
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +101 -134
- package/timeline/timeline.umd.js +101 -134
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +145 -182
- package/toast/toast.umd.js +145 -182
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +70 -115
- package/toast/toastmessage.umd.js +70 -115
- package/toast/toastmessage.umd.min.js +1 -1
- package/toastservice/ToastEventBus.js +0 -3
- package/toastservice/ToastService.js +0 -3
- package/togglebutton/togglebutton.common.js +54 -103
- package/togglebutton/togglebutton.umd.js +54 -103
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +46 -47
- package/toolbar/toolbar.umd.js +46 -47
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.js +4 -84
- package/tooltip/tooltip.common.js +17 -133
- package/tooltip/tooltip.umd.js +17 -133
- package/tree/tree.common.js +227 -316
- package/tree/tree.umd.js +227 -316
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +108 -158
- package/tree/treenode.umd.js +108 -158
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/footercell.common.js +49 -141
- package/treetable/footercell.umd.js +49 -141
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +68 -153
- package/treetable/headercell.umd.js +68 -153
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +1086 -1044
- package/treetable/treetable.umd.js +1086 -1044
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablecolumnslot.common.js +13 -15
- package/treetable/treetablecolumnslot.umd.js +13 -15
- package/treetable/treetablerow.common.js +113 -194
- package/treetable/treetablerow.umd.js +113 -194
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +115 -214
- package/treetable/treetablerowloader.umd.js +115 -214
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +59 -38
- package/tristatecheckbox/tristatecheckbox.umd.js +59 -38
- package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
- package/utils/ConnectedOverlayScrollHandler.js +0 -12
- package/utils/DomHandler.js +13 -61
- package/utils/EventBus.js +0 -3
- package/utils/ObjectUtils.js +9 -51
- package/utils/UniqueComponentId.js +0 -1
- package/utils/Utils.js +0 -6
- package/utils/connectedoverlayscrollhandler.common.js +13 -70
- package/utils/connectedoverlayscrollhandler.umd.js +13 -70
- package/utils/domhandler.common.js +13 -63
- package/utils/domhandler.umd.js +13 -63
- package/utils/eventbus.common.js +0 -2
- package/utils/eventbus.umd.js +0 -2
- package/utils/objectutils.common.js +9 -52
- package/utils/objectutils.umd.js +9 -52
- package/utils/utils.common.js +22 -119
- package/utils/utils.umd.js +22 -119
- package/vetur-attributes.json +8 -0
- package/vetur-tags.json +3 -1
- package/web-types.json +28 -1
package/toast/toast.common.js
CHANGED
|
@@ -2547,21 +2547,6 @@ module.exports = function (key) {
|
|
|
2547
2547
|
};
|
|
2548
2548
|
|
|
2549
2549
|
|
|
2550
|
-
/***/ }),
|
|
2551
|
-
|
|
2552
|
-
/***/ "63a7":
|
|
2553
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2554
|
-
|
|
2555
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
2556
|
-
// imports
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
// module
|
|
2560
|
-
exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px}.p-toast-bottom-center,.p-toast-top-center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.p-toast-bottom-center{bottom:20px}.p-toast-center{left:50%;top:50%;min-width:20vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.p-toast-icon-close{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.p-toast-message-leave{max-height:1000px}.p-toast .p-toast-message.p-toast-message-leave-to{max-height:0;opacity:0;margin-bottom:0;overflow:hidden}.p-toast-message-enter-active{-webkit-transition:transform .3s,opacity .3s;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.p-toast-message-leave-active{-webkit-transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}", ""]);
|
|
2561
|
-
|
|
2562
|
-
// exports
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
2550
|
/***/ }),
|
|
2566
2551
|
|
|
2567
2552
|
/***/ "63b6":
|
|
@@ -2904,6 +2889,17 @@ __webpack_require__("9c6c")(KEY);
|
|
|
2904
2889
|
__webpack_require__("6718")('observable');
|
|
2905
2890
|
|
|
2906
2891
|
|
|
2892
|
+
/***/ }),
|
|
2893
|
+
|
|
2894
|
+
/***/ "7698":
|
|
2895
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2896
|
+
|
|
2897
|
+
"use strict";
|
|
2898
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Toast_vue_vue_type_style_index_0_id_49c23346_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f917");
|
|
2899
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Toast_vue_vue_type_style_index_0_id_49c23346_prod_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Toast_vue_vue_type_style_index_0_id_49c23346_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
2900
|
+
/* unused harmony reexport * */
|
|
2901
|
+
|
|
2902
|
+
|
|
2907
2903
|
/***/ }),
|
|
2908
2904
|
|
|
2909
2905
|
/***/ "7726":
|
|
@@ -4020,6 +4016,21 @@ module.exports = Object.keys || function keys(O) {
|
|
|
4020
4016
|
};
|
|
4021
4017
|
|
|
4022
4018
|
|
|
4019
|
+
/***/ }),
|
|
4020
|
+
|
|
4021
|
+
/***/ "c47e":
|
|
4022
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4023
|
+
|
|
4024
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
4025
|
+
// imports
|
|
4026
|
+
|
|
4027
|
+
|
|
4028
|
+
// module
|
|
4029
|
+
exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px}.p-toast-bottom-center,.p-toast-top-center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.p-toast-bottom-center{bottom:20px}.p-toast-center{left:50%;top:50%;min-width:20vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.p-toast-icon-close{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.p-toast-message-leave{max-height:1000px}.p-toast .p-toast-message.p-toast-message-leave-to{max-height:0;opacity:0;margin-bottom:0;overflow:hidden}.p-toast-message-enter-active{-webkit-transition:transform .3s,opacity .3s;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.p-toast-message-leave-active{-webkit-transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}", ""]);
|
|
4030
|
+
|
|
4031
|
+
// exports
|
|
4032
|
+
|
|
4033
|
+
|
|
4023
4034
|
/***/ }),
|
|
4024
4035
|
|
|
4025
4036
|
/***/ "c5f6":
|
|
@@ -4176,17 +4187,6 @@ module.exports = function (object, names) {
|
|
|
4176
4187
|
};
|
|
4177
4188
|
|
|
4178
4189
|
|
|
4179
|
-
/***/ }),
|
|
4180
|
-
|
|
4181
|
-
/***/ "d0c2":
|
|
4182
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4183
|
-
|
|
4184
|
-
"use strict";
|
|
4185
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Toast_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f599");
|
|
4186
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Toast_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Toast_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
4187
|
-
/* unused harmony reexport * */
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
4190
|
/***/ }),
|
|
4191
4191
|
|
|
4192
4192
|
/***/ "d2d5":
|
|
@@ -4503,22 +4503,6 @@ __webpack_require__("1af6");
|
|
|
4503
4503
|
module.exports = __webpack_require__("584a").Array.isArray;
|
|
4504
4504
|
|
|
4505
4505
|
|
|
4506
|
-
/***/ }),
|
|
4507
|
-
|
|
4508
|
-
/***/ "f599":
|
|
4509
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4510
|
-
|
|
4511
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
4512
|
-
|
|
4513
|
-
// load the styles
|
|
4514
|
-
var content = __webpack_require__("63a7");
|
|
4515
|
-
if(content.__esModule) content = content.default;
|
|
4516
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
4517
|
-
if(content.locals) module.exports = content.locals;
|
|
4518
|
-
// add the styles to the DOM
|
|
4519
|
-
var add = __webpack_require__("499e").default
|
|
4520
|
-
var update = add("44176fce", content, true, {"sourceMap":false,"shadowMode":false});
|
|
4521
|
-
|
|
4522
4506
|
/***/ }),
|
|
4523
4507
|
|
|
4524
4508
|
/***/ "f6fd":
|
|
@@ -4572,6 +4556,22 @@ module.exports = function (it) {
|
|
|
4572
4556
|
};
|
|
4573
4557
|
|
|
4574
4558
|
|
|
4559
|
+
/***/ }),
|
|
4560
|
+
|
|
4561
|
+
/***/ "f917":
|
|
4562
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4563
|
+
|
|
4564
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
4565
|
+
|
|
4566
|
+
// load the styles
|
|
4567
|
+
var content = __webpack_require__("c47e");
|
|
4568
|
+
if(content.__esModule) content = content.default;
|
|
4569
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
4570
|
+
if(content.locals) module.exports = content.locals;
|
|
4571
|
+
// add the styles to the DOM
|
|
4572
|
+
var add = __webpack_require__("499e").default
|
|
4573
|
+
var update = add("72c818ba", content, true, {"sourceMap":false,"shadowMode":false});
|
|
4574
|
+
|
|
4575
4575
|
/***/ }),
|
|
4576
4576
|
|
|
4577
4577
|
/***/ "f921":
|
|
@@ -4627,10 +4627,37 @@ if (typeof window !== 'undefined') {
|
|
|
4627
4627
|
// Indicate to webpack that this file can be concatenated
|
|
4628
4628
|
/* harmony default export */ var setPublicPath = (null);
|
|
4629
4629
|
|
|
4630
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4631
|
-
var render = function () {
|
|
4632
|
-
var
|
|
4633
|
-
|
|
4630
|
+
// 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/toast/Toast.vue?vue&type=template&id=49c23346&
|
|
4631
|
+
var render = function render() {
|
|
4632
|
+
var _vm = this,
|
|
4633
|
+
_c = _vm._self._c;
|
|
4634
|
+
return _c('div', {
|
|
4635
|
+
ref: "container",
|
|
4636
|
+
class: _vm.containerClass
|
|
4637
|
+
}, [_c('transition-group', {
|
|
4638
|
+
attrs: {
|
|
4639
|
+
"name": "p-toast-message",
|
|
4640
|
+
"tag": "div"
|
|
4641
|
+
},
|
|
4642
|
+
on: {
|
|
4643
|
+
"enter": _vm.onEnter
|
|
4644
|
+
}
|
|
4645
|
+
}, _vm._l(_vm.messages, function (msg) {
|
|
4646
|
+
return _c('ToastMessage', {
|
|
4647
|
+
key: msg.id,
|
|
4648
|
+
attrs: {
|
|
4649
|
+
"message": msg,
|
|
4650
|
+
"templates": _vm.$scopedSlots
|
|
4651
|
+
},
|
|
4652
|
+
on: {
|
|
4653
|
+
"close": function close($event) {
|
|
4654
|
+
return _vm.remove($event);
|
|
4655
|
+
}
|
|
4656
|
+
}
|
|
4657
|
+
});
|
|
4658
|
+
}), 1)], 1);
|
|
4659
|
+
};
|
|
4660
|
+
var staticRenderFns = [];
|
|
4634
4661
|
|
|
4635
4662
|
// CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=49c23346&
|
|
4636
4663
|
|
|
@@ -4641,11 +4668,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
4641
4668
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4642
4669
|
function _arrayLikeToArray(arr, len) {
|
|
4643
4670
|
if (len == null || len > arr.length) len = arr.length;
|
|
4644
|
-
|
|
4645
4671
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4646
4672
|
arr2[i] = arr[i];
|
|
4647
4673
|
}
|
|
4648
|
-
|
|
4649
4674
|
return arr2;
|
|
4650
4675
|
}
|
|
4651
4676
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -4707,10 +4732,50 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
4707
4732
|
|
|
4708
4733
|
var EventBus = new external_commonjs_vue_commonjs2_vue_root_Vue_default.a();
|
|
4709
4734
|
/* harmony default export */ var ToastEventBus = (EventBus);
|
|
4710
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4711
|
-
var ToastMessagevue_type_template_id_65233dd4_render = function () {
|
|
4712
|
-
var
|
|
4713
|
-
|
|
4735
|
+
// 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/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
|
|
4736
|
+
var ToastMessagevue_type_template_id_65233dd4_render = function render() {
|
|
4737
|
+
var _vm = this,
|
|
4738
|
+
_c = _vm._self._c;
|
|
4739
|
+
return _c('div', {
|
|
4740
|
+
class: _vm.containerClass,
|
|
4741
|
+
attrs: {
|
|
4742
|
+
"role": "alert",
|
|
4743
|
+
"aria-live": "assertive",
|
|
4744
|
+
"aria-atomic": "true"
|
|
4745
|
+
}
|
|
4746
|
+
}, [_c('div', {
|
|
4747
|
+
staticClass: "p-toast-message-content",
|
|
4748
|
+
class: _vm.message.contentStyleClass
|
|
4749
|
+
}, [_vm.templates['message'] ? _c('ToastMessageTemplate', {
|
|
4750
|
+
attrs: {
|
|
4751
|
+
"message": _vm.message,
|
|
4752
|
+
"template": _vm.templates['message']
|
|
4753
|
+
}
|
|
4754
|
+
}) : [_c('span', {
|
|
4755
|
+
class: _vm.iconClass
|
|
4756
|
+
}), _c('div', {
|
|
4757
|
+
staticClass: "p-toast-message-text"
|
|
4758
|
+
}, [_c('span', {
|
|
4759
|
+
staticClass: "p-toast-summary"
|
|
4760
|
+
}, [_vm._v(_vm._s(_vm.message.summary))]), _c('div', {
|
|
4761
|
+
staticClass: "p-toast-detail"
|
|
4762
|
+
}, [_vm._v(_vm._s(_vm.message.detail))])])], _vm.message.closable !== false ? _c('button', {
|
|
4763
|
+
directives: [{
|
|
4764
|
+
name: "ripple",
|
|
4765
|
+
rawName: "v-ripple"
|
|
4766
|
+
}],
|
|
4767
|
+
staticClass: "p-toast-icon-close p-link",
|
|
4768
|
+
attrs: {
|
|
4769
|
+
"type": "button"
|
|
4770
|
+
},
|
|
4771
|
+
on: {
|
|
4772
|
+
"click": _vm.onCloseClick
|
|
4773
|
+
}
|
|
4774
|
+
}, [_c('span', {
|
|
4775
|
+
staticClass: "p-toast-icon-close-icon pi pi-times"
|
|
4776
|
+
})]) : _vm._e()], 2)]);
|
|
4777
|
+
};
|
|
4778
|
+
var ToastMessagevue_type_template_id_65233dd4_staticRenderFns = [];
|
|
4714
4779
|
|
|
4715
4780
|
// CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
|
|
4716
4781
|
|
|
@@ -4756,26 +4821,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4756
4821
|
|
|
4757
4822
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4758
4823
|
|
|
4759
|
-
|
|
4760
4824
|
function _defineProperties(target, props) {
|
|
4761
4825
|
for (var i = 0; i < props.length; i++) {
|
|
4762
4826
|
var descriptor = props[i];
|
|
4763
4827
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4764
4828
|
descriptor.configurable = true;
|
|
4765
4829
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4766
|
-
|
|
4767
4830
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4768
4831
|
}
|
|
4769
4832
|
}
|
|
4770
|
-
|
|
4771
4833
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4772
4834
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4773
4835
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4774
|
-
|
|
4775
4836
|
define_property_default()(Constructor, "prototype", {
|
|
4776
4837
|
writable: false
|
|
4777
4838
|
});
|
|
4778
|
-
|
|
4779
4839
|
return Constructor;
|
|
4780
4840
|
}
|
|
4781
4841
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -4791,18 +4851,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4791
4851
|
|
|
4792
4852
|
|
|
4793
4853
|
|
|
4794
|
-
|
|
4795
4854
|
function _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; } } }; }
|
|
4796
|
-
|
|
4797
4855
|
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); }
|
|
4798
|
-
|
|
4799
4856
|
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; }
|
|
4800
|
-
|
|
4801
4857
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4802
4858
|
function DomHandler() {
|
|
4803
4859
|
_classCallCheck(this, DomHandler);
|
|
4804
4860
|
}
|
|
4805
|
-
|
|
4806
4861
|
_createClass(DomHandler, null, [{
|
|
4807
4862
|
key: "innerWidth",
|
|
4808
4863
|
value: function innerWidth(el) {
|
|
@@ -4836,12 +4891,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4836
4891
|
value: function getOuterWidth(el, margin) {
|
|
4837
4892
|
if (el) {
|
|
4838
4893
|
var width = el.offsetWidth;
|
|
4839
|
-
|
|
4840
4894
|
if (margin) {
|
|
4841
4895
|
var style = getComputedStyle(el);
|
|
4842
4896
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4843
4897
|
}
|
|
4844
|
-
|
|
4845
4898
|
return width;
|
|
4846
4899
|
} else {
|
|
4847
4900
|
return 0;
|
|
@@ -4852,12 +4905,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4852
4905
|
value: function getOuterHeight(el, margin) {
|
|
4853
4906
|
if (el) {
|
|
4854
4907
|
var height = el.offsetHeight;
|
|
4855
|
-
|
|
4856
4908
|
if (margin) {
|
|
4857
4909
|
var style = getComputedStyle(el);
|
|
4858
4910
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4859
4911
|
}
|
|
4860
|
-
|
|
4861
4912
|
return height;
|
|
4862
4913
|
} else {
|
|
4863
4914
|
return 0;
|
|
@@ -4868,12 +4919,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4868
4919
|
value: function getClientHeight(el, margin) {
|
|
4869
4920
|
if (el) {
|
|
4870
4921
|
var height = el.clientHeight;
|
|
4871
|
-
|
|
4872
4922
|
if (margin) {
|
|
4873
4923
|
var style = getComputedStyle(el);
|
|
4874
4924
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4875
4925
|
}
|
|
4876
|
-
|
|
4877
4926
|
return height;
|
|
4878
4927
|
} else {
|
|
4879
4928
|
return 0;
|
|
@@ -4883,11 +4932,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4883
4932
|
key: "getViewport",
|
|
4884
4933
|
value: function getViewport() {
|
|
4885
4934
|
var win = window,
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4935
|
+
d = document,
|
|
4936
|
+
e = d.documentElement,
|
|
4937
|
+
g = d.getElementsByTagName('body')[0],
|
|
4938
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4939
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4891
4940
|
return {
|
|
4892
4941
|
width: w,
|
|
4893
4942
|
height: h
|
|
@@ -4918,12 +4967,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4918
4967
|
value: function index(element) {
|
|
4919
4968
|
var children = element.parentNode.childNodes;
|
|
4920
4969
|
var num = 0;
|
|
4921
|
-
|
|
4922
4970
|
for (var i = 0; i < children.length; i++) {
|
|
4923
4971
|
if (children[i] === element) return num;
|
|
4924
4972
|
if (children[i].nodeType === 1) num++;
|
|
4925
4973
|
}
|
|
4926
|
-
|
|
4927
4974
|
return -1;
|
|
4928
4975
|
}
|
|
4929
4976
|
}, {
|
|
@@ -4931,13 +4978,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4931
4978
|
value: function addMultipleClasses(element, className) {
|
|
4932
4979
|
if (element.classList) {
|
|
4933
4980
|
var styles = className.split(' ');
|
|
4934
|
-
|
|
4935
4981
|
for (var i = 0; i < styles.length; i++) {
|
|
4936
4982
|
element.classList.add(styles[i]);
|
|
4937
4983
|
}
|
|
4938
4984
|
} else {
|
|
4939
4985
|
var _styles = className.split(' ');
|
|
4940
|
-
|
|
4941
4986
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4942
4987
|
element.className += ' ' + _styles[_i];
|
|
4943
4988
|
}
|
|
@@ -4959,7 +5004,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4959
5004
|
if (element) {
|
|
4960
5005
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4961
5006
|
}
|
|
4962
|
-
|
|
4963
5007
|
return false;
|
|
4964
5008
|
}
|
|
4965
5009
|
}, {
|
|
@@ -5004,11 +5048,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5004
5048
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
5005
5049
|
var viewport = this.getViewport();
|
|
5006
5050
|
var top, left;
|
|
5007
|
-
|
|
5008
5051
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
5009
5052
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
5010
5053
|
element.style.transformOrigin = 'bottom';
|
|
5011
|
-
|
|
5012
5054
|
if (top < 0) {
|
|
5013
5055
|
top = windowScrollTop;
|
|
5014
5056
|
}
|
|
@@ -5016,7 +5058,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5016
5058
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
5017
5059
|
element.style.transformOrigin = 'top';
|
|
5018
5060
|
}
|
|
5019
|
-
|
|
5020
5061
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
5021
5062
|
element.style.top = top + 'px';
|
|
5022
5063
|
element.style.left = left + 'px';
|
|
@@ -5032,11 +5073,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5032
5073
|
var targetOffset = target.getBoundingClientRect();
|
|
5033
5074
|
var viewport = this.getViewport();
|
|
5034
5075
|
var top, left;
|
|
5035
|
-
|
|
5036
5076
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
5037
5077
|
top = -1 * elementDimensions.height;
|
|
5038
5078
|
element.style.transformOrigin = 'bottom';
|
|
5039
|
-
|
|
5040
5079
|
if (targetOffset.top + top < 0) {
|
|
5041
5080
|
top = -1 * targetOffset.top;
|
|
5042
5081
|
}
|
|
@@ -5044,7 +5083,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5044
5083
|
top = targetHeight;
|
|
5045
5084
|
element.style.transformOrigin = 'top';
|
|
5046
5085
|
}
|
|
5047
|
-
|
|
5048
5086
|
if (elementDimensions.width > viewport.width) {
|
|
5049
5087
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
5050
5088
|
left = targetOffset.left * -1;
|
|
@@ -5055,7 +5093,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5055
5093
|
// element fits on screen (align with target)
|
|
5056
5094
|
left = 0;
|
|
5057
5095
|
}
|
|
5058
|
-
|
|
5059
5096
|
element.style.top = top + 'px';
|
|
5060
5097
|
element.style.left = left + 'px';
|
|
5061
5098
|
}
|
|
@@ -5069,35 +5106,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5069
5106
|
key: "getScrollableParents",
|
|
5070
5107
|
value: function getScrollableParents(element) {
|
|
5071
5108
|
var scrollableParents = [];
|
|
5072
|
-
|
|
5073
5109
|
if (element) {
|
|
5074
5110
|
var parents = this.getParents(element);
|
|
5075
5111
|
var overflowRegex = /(auto|scroll)/;
|
|
5076
|
-
|
|
5077
5112
|
var overflowCheck = function overflowCheck(node) {
|
|
5078
5113
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
5079
5114
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
5080
5115
|
};
|
|
5081
|
-
|
|
5082
5116
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
5083
|
-
|
|
5084
|
-
|
|
5117
|
+
_step;
|
|
5085
5118
|
try {
|
|
5086
5119
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5087
5120
|
var parent = _step.value;
|
|
5088
5121
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
5089
|
-
|
|
5090
5122
|
if (scrollSelectors) {
|
|
5091
5123
|
var selectors = scrollSelectors.split(',');
|
|
5092
|
-
|
|
5093
5124
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
5094
|
-
|
|
5095
|
-
|
|
5125
|
+
_step2;
|
|
5096
5126
|
try {
|
|
5097
5127
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5098
5128
|
var selector = _step2.value;
|
|
5099
5129
|
var el = this.findSingle(parent, selector);
|
|
5100
|
-
|
|
5101
5130
|
if (el && overflowCheck(el)) {
|
|
5102
5131
|
scrollableParents.push(el);
|
|
5103
5132
|
}
|
|
@@ -5115,7 +5144,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5115
5144
|
_iterator.f();
|
|
5116
5145
|
}
|
|
5117
5146
|
}
|
|
5118
|
-
|
|
5119
5147
|
return scrollableParents;
|
|
5120
5148
|
}
|
|
5121
5149
|
}, {
|
|
@@ -5156,34 +5184,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5156
5184
|
element.style.opacity = 0;
|
|
5157
5185
|
var last = +new Date();
|
|
5158
5186
|
var opacity = 0;
|
|
5159
|
-
|
|
5160
5187
|
var tick = function tick() {
|
|
5161
5188
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5162
5189
|
element.style.opacity = opacity;
|
|
5163
5190
|
last = +new Date();
|
|
5164
|
-
|
|
5165
5191
|
if (+opacity < 1) {
|
|
5166
5192
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5167
5193
|
}
|
|
5168
5194
|
};
|
|
5169
|
-
|
|
5170
5195
|
tick();
|
|
5171
5196
|
}
|
|
5172
5197
|
}, {
|
|
5173
5198
|
key: "fadeOut",
|
|
5174
5199
|
value: function fadeOut(element, ms) {
|
|
5175
5200
|
var opacity = 1,
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5201
|
+
interval = 50,
|
|
5202
|
+
duration = ms,
|
|
5203
|
+
gap = interval / duration;
|
|
5179
5204
|
var fading = setInterval(function () {
|
|
5180
5205
|
opacity -= gap;
|
|
5181
|
-
|
|
5182
5206
|
if (opacity <= 0) {
|
|
5183
5207
|
opacity = 0;
|
|
5184
5208
|
clearInterval(fading);
|
|
5185
5209
|
}
|
|
5186
|
-
|
|
5187
5210
|
element.style.opacity = opacity;
|
|
5188
5211
|
}, interval);
|
|
5189
5212
|
}
|
|
@@ -5210,7 +5233,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5210
5233
|
var scroll = container.scrollTop;
|
|
5211
5234
|
var elementHeight = container.clientHeight;
|
|
5212
5235
|
var itemHeight = this.getOuterHeight(item);
|
|
5213
|
-
|
|
5214
5236
|
if (offset < 0) {
|
|
5215
5237
|
container.scrollTop = scroll + offset;
|
|
5216
5238
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5229,7 +5251,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5229
5251
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5230
5252
|
try {
|
|
5231
5253
|
document['selection'].empty();
|
|
5232
|
-
} catch (error) {
|
|
5254
|
+
} catch (error) {
|
|
5255
|
+
//ignore IE bug
|
|
5233
5256
|
}
|
|
5234
5257
|
}
|
|
5235
5258
|
}
|
|
@@ -5251,19 +5274,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5251
5274
|
if (!this.browser) {
|
|
5252
5275
|
var matched = this.resolveUserAgent();
|
|
5253
5276
|
this.browser = {};
|
|
5254
|
-
|
|
5255
5277
|
if (matched.browser) {
|
|
5256
5278
|
this.browser[matched.browser] = true;
|
|
5257
5279
|
this.browser['version'] = matched.version;
|
|
5258
5280
|
}
|
|
5259
|
-
|
|
5260
5281
|
if (this.browser['chrome']) {
|
|
5261
5282
|
this.browser['webkit'] = true;
|
|
5262
5283
|
} else if (this.browser['webkit']) {
|
|
5263
5284
|
this.browser['safari'] = true;
|
|
5264
5285
|
}
|
|
5265
5286
|
}
|
|
5266
|
-
|
|
5267
5287
|
return this.browser;
|
|
5268
5288
|
}
|
|
5269
5289
|
}, {
|
|
@@ -5291,10 +5311,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5291
5311
|
value: function getFocusableElements(element) {
|
|
5292
5312
|
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])");
|
|
5293
5313
|
var visibleFocusableElements = [];
|
|
5294
|
-
|
|
5295
5314
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5296
|
-
|
|
5297
|
-
|
|
5315
|
+
_step3;
|
|
5298
5316
|
try {
|
|
5299
5317
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5300
5318
|
var focusableElement = _step3.value;
|
|
@@ -5305,7 +5323,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5305
5323
|
} finally {
|
|
5306
5324
|
_iterator3.f();
|
|
5307
5325
|
}
|
|
5308
|
-
|
|
5309
5326
|
return visibleFocusableElements;
|
|
5310
5327
|
}
|
|
5311
5328
|
}, {
|
|
@@ -5348,55 +5365,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5348
5365
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5349
5366
|
}
|
|
5350
5367
|
}]);
|
|
5351
|
-
|
|
5352
5368
|
return DomHandler;
|
|
5353
5369
|
}();
|
|
5354
5370
|
|
|
5355
|
-
|
|
5356
5371
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5357
5372
|
|
|
5358
|
-
|
|
5359
5373
|
function bindEvents(el) {
|
|
5360
5374
|
el.addEventListener('mousedown', onMouseDown);
|
|
5361
5375
|
}
|
|
5362
|
-
|
|
5363
5376
|
function unbindEvents(el) {
|
|
5364
5377
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5365
5378
|
}
|
|
5366
|
-
|
|
5367
5379
|
function create(el) {
|
|
5368
5380
|
var ink = document.createElement('span');
|
|
5369
5381
|
ink.className = 'p-ink';
|
|
5370
5382
|
el.appendChild(ink);
|
|
5371
5383
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5372
5384
|
}
|
|
5373
|
-
|
|
5374
5385
|
function remove(el) {
|
|
5375
5386
|
var ink = getInk(el);
|
|
5376
|
-
|
|
5377
5387
|
if (ink) {
|
|
5378
5388
|
unbindEvents(el);
|
|
5379
5389
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5380
5390
|
ink.remove();
|
|
5381
5391
|
}
|
|
5382
5392
|
}
|
|
5383
|
-
|
|
5384
5393
|
function onMouseDown(event) {
|
|
5385
5394
|
var target = event.currentTarget;
|
|
5386
5395
|
var ink = getInk(target);
|
|
5387
|
-
|
|
5388
5396
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5389
5397
|
return;
|
|
5390
5398
|
}
|
|
5391
|
-
|
|
5392
5399
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5393
|
-
|
|
5394
5400
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5395
5401
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5396
5402
|
ink.style.height = d + 'px';
|
|
5397
5403
|
ink.style.width = d + 'px';
|
|
5398
5404
|
}
|
|
5399
|
-
|
|
5400
5405
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5401
5406
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5402
5407
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5404,21 +5409,17 @@ function onMouseDown(event) {
|
|
|
5404
5409
|
ink.style.left = x + 'px';
|
|
5405
5410
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5406
5411
|
}
|
|
5407
|
-
|
|
5408
5412
|
function onAnimationEnd(event) {
|
|
5409
5413
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5410
5414
|
}
|
|
5411
|
-
|
|
5412
5415
|
function getInk(el) {
|
|
5413
5416
|
for (var i = 0; i < el.children.length; i++) {
|
|
5414
5417
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5415
5418
|
return el.children[i];
|
|
5416
5419
|
}
|
|
5417
5420
|
}
|
|
5418
|
-
|
|
5419
5421
|
return null;
|
|
5420
5422
|
}
|
|
5421
|
-
|
|
5422
5423
|
var Ripple = {
|
|
5423
5424
|
inserted: function inserted(el, binding, vnode) {
|
|
5424
5425
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5432,24 +5433,6 @@ var Ripple = {
|
|
|
5432
5433
|
};
|
|
5433
5434
|
/* harmony default export */ var ripple_Ripple = (Ripple);
|
|
5434
5435
|
// 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/toast/ToastMessage.vue?vue&type=script&lang=js&
|
|
5435
|
-
//
|
|
5436
|
-
//
|
|
5437
|
-
//
|
|
5438
|
-
//
|
|
5439
|
-
//
|
|
5440
|
-
//
|
|
5441
|
-
//
|
|
5442
|
-
//
|
|
5443
|
-
//
|
|
5444
|
-
//
|
|
5445
|
-
//
|
|
5446
|
-
//
|
|
5447
|
-
//
|
|
5448
|
-
//
|
|
5449
|
-
//
|
|
5450
|
-
//
|
|
5451
|
-
//
|
|
5452
|
-
//
|
|
5453
5436
|
|
|
5454
5437
|
var ToastMessageTemplate = {
|
|
5455
5438
|
functional: true,
|
|
@@ -5478,7 +5461,6 @@ var ToastMessageTemplate = {
|
|
|
5478
5461
|
closeTimeout: null,
|
|
5479
5462
|
mounted: function mounted() {
|
|
5480
5463
|
var _this = this;
|
|
5481
|
-
|
|
5482
5464
|
if (this.message.life) {
|
|
5483
5465
|
this.closeTimeout = setTimeout(function () {
|
|
5484
5466
|
_this.close();
|
|
@@ -5537,20 +5519,19 @@ var ToastMessageTemplate = {
|
|
|
5537
5519
|
// This module is a runtime utility for cleaner component module output and will
|
|
5538
5520
|
// be included in the final webpack user bundle.
|
|
5539
5521
|
|
|
5540
|
-
function normalizeComponent
|
|
5522
|
+
function normalizeComponent(
|
|
5541
5523
|
scriptExports,
|
|
5542
5524
|
render,
|
|
5543
5525
|
staticRenderFns,
|
|
5544
5526
|
functionalTemplate,
|
|
5545
5527
|
injectStyles,
|
|
5546
5528
|
scopeId,
|
|
5547
|
-
moduleIdentifier
|
|
5529
|
+
moduleIdentifier /* server only */,
|
|
5548
5530
|
shadowMode /* vue-cli only */
|
|
5549
5531
|
) {
|
|
5550
5532
|
// Vue.extend constructor export interop
|
|
5551
|
-
var options =
|
|
5552
|
-
? scriptExports.options
|
|
5553
|
-
: scriptExports
|
|
5533
|
+
var options =
|
|
5534
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
5554
5535
|
|
|
5555
5536
|
// render functions
|
|
5556
5537
|
if (render) {
|
|
@@ -5570,7 +5551,8 @@ function normalizeComponent (
|
|
|
5570
5551
|
}
|
|
5571
5552
|
|
|
5572
5553
|
var hook
|
|
5573
|
-
if (moduleIdentifier) {
|
|
5554
|
+
if (moduleIdentifier) {
|
|
5555
|
+
// server build
|
|
5574
5556
|
hook = function (context) {
|
|
5575
5557
|
// 2.3 injection
|
|
5576
5558
|
context =
|
|
@@ -5596,11 +5578,11 @@ function normalizeComponent (
|
|
|
5596
5578
|
} else if (injectStyles) {
|
|
5597
5579
|
hook = shadowMode
|
|
5598
5580
|
? function () {
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5581
|
+
injectStyles.call(
|
|
5582
|
+
this,
|
|
5583
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
5584
|
+
)
|
|
5585
|
+
}
|
|
5604
5586
|
: injectStyles
|
|
5605
5587
|
}
|
|
5606
5588
|
|
|
@@ -5611,16 +5593,14 @@ function normalizeComponent (
|
|
|
5611
5593
|
options._injectStyles = hook
|
|
5612
5594
|
// register for functional component in vue file
|
|
5613
5595
|
var originalRender = options.render
|
|
5614
|
-
options.render = function renderWithStyleInjection
|
|
5596
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
5615
5597
|
hook.call(context)
|
|
5616
5598
|
return originalRender(h, context)
|
|
5617
5599
|
}
|
|
5618
5600
|
} else {
|
|
5619
5601
|
// inject component registration as beforeCreate hook
|
|
5620
5602
|
var existing = options.beforeCreate
|
|
5621
|
-
options.beforeCreate = existing
|
|
5622
|
-
? [].concat(existing, hook)
|
|
5623
|
-
: [hook]
|
|
5603
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
5624
5604
|
}
|
|
5625
5605
|
}
|
|
5626
5606
|
|
|
@@ -5660,14 +5640,6 @@ var lastId = 0;
|
|
|
5660
5640
|
// 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/toast/Toast.vue?vue&type=script&lang=js&
|
|
5661
5641
|
|
|
5662
5642
|
|
|
5663
|
-
//
|
|
5664
|
-
//
|
|
5665
|
-
//
|
|
5666
|
-
//
|
|
5667
|
-
//
|
|
5668
|
-
//
|
|
5669
|
-
//
|
|
5670
|
-
//
|
|
5671
5643
|
|
|
5672
5644
|
|
|
5673
5645
|
|
|
@@ -5704,7 +5676,6 @@ var messageIdx = 0;
|
|
|
5704
5676
|
styleElement: null,
|
|
5705
5677
|
mounted: function mounted() {
|
|
5706
5678
|
var _this = this;
|
|
5707
|
-
|
|
5708
5679
|
ToastEventBus.$on('add', function (message) {
|
|
5709
5680
|
if (_this.group == message.group) {
|
|
5710
5681
|
_this.add(message);
|
|
@@ -5719,7 +5690,6 @@ var messageIdx = 0;
|
|
|
5719
5690
|
_this.messages = [];
|
|
5720
5691
|
});
|
|
5721
5692
|
this.updateZIndex();
|
|
5722
|
-
|
|
5723
5693
|
if (this.breakpoints) {
|
|
5724
5694
|
this.createStyle();
|
|
5725
5695
|
}
|
|
@@ -5735,19 +5705,16 @@ var messageIdx = 0;
|
|
|
5735
5705
|
if (message.id == null) {
|
|
5736
5706
|
message.id = messageIdx++;
|
|
5737
5707
|
}
|
|
5738
|
-
|
|
5739
5708
|
this.messages = [].concat(_toConsumableArray(this.messages), [message]);
|
|
5740
5709
|
},
|
|
5741
5710
|
remove: function remove(message) {
|
|
5742
5711
|
var index = -1;
|
|
5743
|
-
|
|
5744
5712
|
for (var i = 0; i < this.messages.length; i++) {
|
|
5745
5713
|
if (this.messages[i] === message) {
|
|
5746
5714
|
index = i;
|
|
5747
5715
|
break;
|
|
5748
5716
|
}
|
|
5749
5717
|
}
|
|
5750
|
-
|
|
5751
5718
|
this.messages.splice(index, 1);
|
|
5752
5719
|
},
|
|
5753
5720
|
updateZIndex: function updateZIndex() {
|
|
@@ -5764,17 +5731,13 @@ var messageIdx = 0;
|
|
|
5764
5731
|
this.styleElement.type = 'text/css';
|
|
5765
5732
|
document.head.appendChild(this.styleElement);
|
|
5766
5733
|
var innerHTML = '';
|
|
5767
|
-
|
|
5768
5734
|
for (var breakpoint in this.breakpoints) {
|
|
5769
5735
|
var breakpointStyle = '';
|
|
5770
|
-
|
|
5771
5736
|
for (var styleProp in this.breakpoints[breakpoint]) {
|
|
5772
5737
|
breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + '!important;';
|
|
5773
5738
|
}
|
|
5774
|
-
|
|
5775
5739
|
innerHTML += "\n @media screen and (max-width: ".concat(breakpoint, ") {\n .p-toast[").concat(this.attributeSelector, "] {\n ").concat(breakpointStyle, "\n }\n }\n ");
|
|
5776
5740
|
}
|
|
5777
|
-
|
|
5778
5741
|
this.styleElement.innerHTML = innerHTML;
|
|
5779
5742
|
}
|
|
5780
5743
|
},
|
|
@@ -5799,8 +5762,8 @@ var messageIdx = 0;
|
|
|
5799
5762
|
});
|
|
5800
5763
|
// CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=script&lang=js&
|
|
5801
5764
|
/* harmony default export */ var toast_Toastvue_type_script_lang_js_ = (Toastvue_type_script_lang_js_);
|
|
5802
|
-
// EXTERNAL MODULE: ./src/components/toast/Toast.vue?vue&type=style&index=0&lang=css&
|
|
5803
|
-
var
|
|
5765
|
+
// EXTERNAL MODULE: ./src/components/toast/Toast.vue?vue&type=style&index=0&id=49c23346&prod&lang=css&
|
|
5766
|
+
var Toastvue_type_style_index_0_id_49c23346_prod_lang_css_ = __webpack_require__("7698");
|
|
5804
5767
|
|
|
5805
5768
|
// CONCATENATED MODULE: ./src/components/toast/Toast.vue
|
|
5806
5769
|
|