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/password/password.umd.js
CHANGED
|
@@ -564,6 +564,21 @@ module.exports = function (KEY, length, exec) {
|
|
|
564
564
|
};
|
|
565
565
|
|
|
566
566
|
|
|
567
|
+
/***/ }),
|
|
568
|
+
|
|
569
|
+
/***/ "21d3":
|
|
570
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
571
|
+
|
|
572
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
573
|
+
// imports
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
// module
|
|
577
|
+
exports.push([module.i, ".p-password{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.p-password-panel{position:absolute}.p-password .p-password-panel{min-width:100%}.p-password-meter{height:10px}.p-password-strength{height:100%;width:0;-webkit-transition:width 1s ease-in-out;transition:width 1s ease-in-out}.p-fluid .p-password{display:-webkit-box;display:-ms-flexbox;display:flex}", ""]);
|
|
578
|
+
|
|
579
|
+
// exports
|
|
580
|
+
|
|
581
|
+
|
|
567
582
|
/***/ }),
|
|
568
583
|
|
|
569
584
|
/***/ "230e":
|
|
@@ -994,21 +1009,6 @@ module.exports = function (it) {
|
|
|
994
1009
|
};
|
|
995
1010
|
|
|
996
1011
|
|
|
997
|
-
/***/ }),
|
|
998
|
-
|
|
999
|
-
/***/ "2f57":
|
|
1000
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1001
|
-
|
|
1002
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
1003
|
-
// imports
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
// module
|
|
1007
|
-
exports.push([module.i, ".p-password{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.p-password-panel{position:absolute}.p-password .p-password-panel{min-width:100%}.p-password-meter{height:10px}.p-password-strength{height:100%;width:0;-webkit-transition:width 1s ease-in-out;transition:width 1s ease-in-out}.p-fluid .p-password{display:-webkit-box;display:-ms-flexbox;display:flex}", ""]);
|
|
1008
|
-
|
|
1009
|
-
// exports
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
1012
|
/***/ }),
|
|
1013
1013
|
|
|
1014
1014
|
/***/ "32e9":
|
|
@@ -1247,6 +1247,17 @@ var $export = __webpack_require__("63b6");
|
|
|
1247
1247
|
$export($export.S + $export.F * !__webpack_require__("8e60"), 'Object', { defineProperty: __webpack_require__("d9f6").f });
|
|
1248
1248
|
|
|
1249
1249
|
|
|
1250
|
+
/***/ }),
|
|
1251
|
+
|
|
1252
|
+
/***/ "476e":
|
|
1253
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1254
|
+
|
|
1255
|
+
"use strict";
|
|
1256
|
+
/* 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_Password_vue_vue_type_style_index_0_id_2e79ff12_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7448");
|
|
1257
|
+
/* 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_Password_vue_vue_type_style_index_0_id_2e79ff12_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_Password_vue_vue_type_style_index_0_id_2e79ff12_prod_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1258
|
+
/* unused harmony reexport * */
|
|
1259
|
+
|
|
1260
|
+
|
|
1250
1261
|
/***/ }),
|
|
1251
1262
|
|
|
1252
1263
|
/***/ "499e":
|
|
@@ -1618,17 +1629,6 @@ var store = global[SHARED] || (global[SHARED] = {});
|
|
|
1618
1629
|
});
|
|
1619
1630
|
|
|
1620
1631
|
|
|
1621
|
-
/***/ }),
|
|
1622
|
-
|
|
1623
|
-
/***/ "576d":
|
|
1624
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1625
|
-
|
|
1626
|
-
"use strict";
|
|
1627
|
-
/* 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_Password_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fb7c");
|
|
1628
|
-
/* 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_Password_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_Password_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1629
|
-
/* unused harmony reexport * */
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
1632
|
/***/ }),
|
|
1633
1633
|
|
|
1634
1634
|
/***/ "584a":
|
|
@@ -2034,6 +2034,22 @@ if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a
|
|
|
2034
2034
|
}
|
|
2035
2035
|
|
|
2036
2036
|
|
|
2037
|
+
/***/ }),
|
|
2038
|
+
|
|
2039
|
+
/***/ "7448":
|
|
2040
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2041
|
+
|
|
2042
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2043
|
+
|
|
2044
|
+
// load the styles
|
|
2045
|
+
var content = __webpack_require__("21d3");
|
|
2046
|
+
if(content.__esModule) content = content.default;
|
|
2047
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2048
|
+
if(content.locals) module.exports = content.locals;
|
|
2049
|
+
// add the styles to the DOM
|
|
2050
|
+
var add = __webpack_require__("499e").default
|
|
2051
|
+
var update = add("c6b142b8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2052
|
+
|
|
2037
2053
|
/***/ }),
|
|
2038
2054
|
|
|
2039
2055
|
/***/ "7514":
|
|
@@ -3362,16 +3378,87 @@ if (typeof window !== 'undefined') {
|
|
|
3362
3378
|
// Indicate to webpack that this file can be concatenated
|
|
3363
3379
|
/* harmony default export */ var setPublicPath = (null);
|
|
3364
3380
|
|
|
3365
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3366
|
-
var render = function () {
|
|
3367
|
-
var
|
|
3381
|
+
// 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/password/Password.vue?vue&type=template&id=2e79ff12&
|
|
3382
|
+
var render = function render() {
|
|
3383
|
+
var _vm = this,
|
|
3384
|
+
_c = _vm._self._c;
|
|
3385
|
+
return _c('div', {
|
|
3386
|
+
class: _vm.containerClass,
|
|
3387
|
+
style: _vm.styles
|
|
3388
|
+
}, [_c('PInputText', _vm._g(_vm._b({
|
|
3389
|
+
ref: "input",
|
|
3390
|
+
class: _vm.inputFieldClass,
|
|
3391
|
+
style: _vm.inputStyle,
|
|
3392
|
+
attrs: {
|
|
3393
|
+
"type": _vm.inputType,
|
|
3394
|
+
"value": _vm.d_value
|
|
3395
|
+
}
|
|
3396
|
+
}, 'PInputText', _vm.$attrs, false), _vm.listeners)), _vm.toggleMask ? _c('i', {
|
|
3397
|
+
class: _vm.toggleIconClass,
|
|
3398
|
+
on: {
|
|
3399
|
+
"click": _vm.onMaskToggle
|
|
3400
|
+
}
|
|
3401
|
+
}) : _vm._e(), _c('transition', {
|
|
3402
|
+
attrs: {
|
|
3403
|
+
"name": "p-connected-overlay"
|
|
3404
|
+
},
|
|
3405
|
+
on: {
|
|
3406
|
+
"enter": _vm.onOverlayEnter,
|
|
3407
|
+
"leave": _vm.onOverlayLeave
|
|
3408
|
+
}
|
|
3409
|
+
}, [_vm.overlayVisible ? _c('div', {
|
|
3410
|
+
ref: "overlayRef",
|
|
3411
|
+
staticClass: "p-password-panel p-component"
|
|
3412
|
+
}, [_vm._t("header"), _vm._t("content", function () {
|
|
3413
|
+
return [_c('div', {
|
|
3414
|
+
staticClass: "p-password-meter"
|
|
3415
|
+
}, [_c('div', {
|
|
3416
|
+
class: _vm.strengthClass,
|
|
3417
|
+
style: {
|
|
3418
|
+
'width': _vm.meter ? _vm.meter.width : ''
|
|
3419
|
+
}
|
|
3420
|
+
})]), _c('div', {
|
|
3421
|
+
attrs: {
|
|
3422
|
+
"className": "p-password-info"
|
|
3423
|
+
}
|
|
3424
|
+
}, [_vm._v(_vm._s(_vm.infoText))])];
|
|
3425
|
+
}), _vm._t("footer")], 2) : _vm._e()])], 1);
|
|
3426
|
+
};
|
|
3427
|
+
var staticRenderFns = [];
|
|
3428
|
+
|
|
3429
|
+
// CONCATENATED MODULE: ./src/components/password/Password.vue?vue&type=template&id=2e79ff12&
|
|
3368
3430
|
|
|
3431
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
3432
|
+
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
3369
3433
|
|
|
3370
|
-
//
|
|
3434
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
3435
|
+
var web_dom_iterable = __webpack_require__("ac6a");
|
|
3436
|
+
|
|
3437
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
3438
|
+
var es6_object_keys = __webpack_require__("456d");
|
|
3371
3439
|
|
|
3372
3440
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
|
|
3373
3441
|
var es6_regexp_to_string = __webpack_require__("6b54");
|
|
3374
3442
|
|
|
3443
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
|
|
3444
|
+
var define_property = __webpack_require__("85f2");
|
|
3445
|
+
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
3446
|
+
|
|
3447
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js
|
|
3448
|
+
|
|
3449
|
+
function _defineProperty(obj, key, value) {
|
|
3450
|
+
if (key in obj) {
|
|
3451
|
+
define_property_default()(obj, key, {
|
|
3452
|
+
value: value,
|
|
3453
|
+
enumerable: true,
|
|
3454
|
+
configurable: true,
|
|
3455
|
+
writable: true
|
|
3456
|
+
});
|
|
3457
|
+
} else {
|
|
3458
|
+
obj[key] = value;
|
|
3459
|
+
}
|
|
3460
|
+
return obj;
|
|
3461
|
+
}
|
|
3375
3462
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.constructor.js
|
|
3376
3463
|
var es6_regexp_constructor = __webpack_require__("3b2b");
|
|
3377
3464
|
|
|
@@ -3381,32 +3468,23 @@ function _classCallCheck(instance, Constructor) {
|
|
|
3381
3468
|
throw new TypeError("Cannot call a class as a function");
|
|
3382
3469
|
}
|
|
3383
3470
|
}
|
|
3384
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
|
|
3385
|
-
var define_property = __webpack_require__("85f2");
|
|
3386
|
-
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
3387
|
-
|
|
3388
3471
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3389
3472
|
|
|
3390
|
-
|
|
3391
3473
|
function _defineProperties(target, props) {
|
|
3392
3474
|
for (var i = 0; i < props.length; i++) {
|
|
3393
3475
|
var descriptor = props[i];
|
|
3394
3476
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3395
3477
|
descriptor.configurable = true;
|
|
3396
3478
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3397
|
-
|
|
3398
3479
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3399
3480
|
}
|
|
3400
3481
|
}
|
|
3401
|
-
|
|
3402
3482
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3403
3483
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3404
3484
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3405
|
-
|
|
3406
3485
|
define_property_default()(Constructor, "prototype", {
|
|
3407
3486
|
writable: false
|
|
3408
3487
|
});
|
|
3409
|
-
|
|
3410
3488
|
return Constructor;
|
|
3411
3489
|
}
|
|
3412
3490
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
@@ -3446,18 +3524,13 @@ var es6_regexp_split = __webpack_require__("28a5");
|
|
|
3446
3524
|
|
|
3447
3525
|
|
|
3448
3526
|
|
|
3449
|
-
|
|
3450
3527
|
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; } } }; }
|
|
3451
|
-
|
|
3452
3528
|
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); }
|
|
3453
|
-
|
|
3454
3529
|
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; }
|
|
3455
|
-
|
|
3456
3530
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3457
3531
|
function DomHandler() {
|
|
3458
3532
|
_classCallCheck(this, DomHandler);
|
|
3459
3533
|
}
|
|
3460
|
-
|
|
3461
3534
|
_createClass(DomHandler, null, [{
|
|
3462
3535
|
key: "innerWidth",
|
|
3463
3536
|
value: function innerWidth(el) {
|
|
@@ -3491,12 +3564,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3491
3564
|
value: function getOuterWidth(el, margin) {
|
|
3492
3565
|
if (el) {
|
|
3493
3566
|
var width = el.offsetWidth;
|
|
3494
|
-
|
|
3495
3567
|
if (margin) {
|
|
3496
3568
|
var style = getComputedStyle(el);
|
|
3497
3569
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3498
3570
|
}
|
|
3499
|
-
|
|
3500
3571
|
return width;
|
|
3501
3572
|
} else {
|
|
3502
3573
|
return 0;
|
|
@@ -3507,12 +3578,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3507
3578
|
value: function getOuterHeight(el, margin) {
|
|
3508
3579
|
if (el) {
|
|
3509
3580
|
var height = el.offsetHeight;
|
|
3510
|
-
|
|
3511
3581
|
if (margin) {
|
|
3512
3582
|
var style = getComputedStyle(el);
|
|
3513
3583
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3514
3584
|
}
|
|
3515
|
-
|
|
3516
3585
|
return height;
|
|
3517
3586
|
} else {
|
|
3518
3587
|
return 0;
|
|
@@ -3523,12 +3592,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3523
3592
|
value: function getClientHeight(el, margin) {
|
|
3524
3593
|
if (el) {
|
|
3525
3594
|
var height = el.clientHeight;
|
|
3526
|
-
|
|
3527
3595
|
if (margin) {
|
|
3528
3596
|
var style = getComputedStyle(el);
|
|
3529
3597
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3530
3598
|
}
|
|
3531
|
-
|
|
3532
3599
|
return height;
|
|
3533
3600
|
} else {
|
|
3534
3601
|
return 0;
|
|
@@ -3538,11 +3605,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3538
3605
|
key: "getViewport",
|
|
3539
3606
|
value: function getViewport() {
|
|
3540
3607
|
var win = window,
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3608
|
+
d = document,
|
|
3609
|
+
e = d.documentElement,
|
|
3610
|
+
g = d.getElementsByTagName('body')[0],
|
|
3611
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3612
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3546
3613
|
return {
|
|
3547
3614
|
width: w,
|
|
3548
3615
|
height: h
|
|
@@ -3573,12 +3640,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3573
3640
|
value: function index(element) {
|
|
3574
3641
|
var children = element.parentNode.childNodes;
|
|
3575
3642
|
var num = 0;
|
|
3576
|
-
|
|
3577
3643
|
for (var i = 0; i < children.length; i++) {
|
|
3578
3644
|
if (children[i] === element) return num;
|
|
3579
3645
|
if (children[i].nodeType === 1) num++;
|
|
3580
3646
|
}
|
|
3581
|
-
|
|
3582
3647
|
return -1;
|
|
3583
3648
|
}
|
|
3584
3649
|
}, {
|
|
@@ -3586,13 +3651,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3586
3651
|
value: function addMultipleClasses(element, className) {
|
|
3587
3652
|
if (element.classList) {
|
|
3588
3653
|
var styles = className.split(' ');
|
|
3589
|
-
|
|
3590
3654
|
for (var i = 0; i < styles.length; i++) {
|
|
3591
3655
|
element.classList.add(styles[i]);
|
|
3592
3656
|
}
|
|
3593
3657
|
} else {
|
|
3594
3658
|
var _styles = className.split(' ');
|
|
3595
|
-
|
|
3596
3659
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3597
3660
|
element.className += ' ' + _styles[_i];
|
|
3598
3661
|
}
|
|
@@ -3614,7 +3677,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3614
3677
|
if (element) {
|
|
3615
3678
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3616
3679
|
}
|
|
3617
|
-
|
|
3618
3680
|
return false;
|
|
3619
3681
|
}
|
|
3620
3682
|
}, {
|
|
@@ -3659,11 +3721,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3659
3721
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3660
3722
|
var viewport = this.getViewport();
|
|
3661
3723
|
var top, left;
|
|
3662
|
-
|
|
3663
3724
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3664
3725
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3665
3726
|
element.style.transformOrigin = 'bottom';
|
|
3666
|
-
|
|
3667
3727
|
if (top < 0) {
|
|
3668
3728
|
top = windowScrollTop;
|
|
3669
3729
|
}
|
|
@@ -3671,7 +3731,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3671
3731
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3672
3732
|
element.style.transformOrigin = 'top';
|
|
3673
3733
|
}
|
|
3674
|
-
|
|
3675
3734
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3676
3735
|
element.style.top = top + 'px';
|
|
3677
3736
|
element.style.left = left + 'px';
|
|
@@ -3687,11 +3746,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3687
3746
|
var targetOffset = target.getBoundingClientRect();
|
|
3688
3747
|
var viewport = this.getViewport();
|
|
3689
3748
|
var top, left;
|
|
3690
|
-
|
|
3691
3749
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3692
3750
|
top = -1 * elementDimensions.height;
|
|
3693
3751
|
element.style.transformOrigin = 'bottom';
|
|
3694
|
-
|
|
3695
3752
|
if (targetOffset.top + top < 0) {
|
|
3696
3753
|
top = -1 * targetOffset.top;
|
|
3697
3754
|
}
|
|
@@ -3699,7 +3756,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3699
3756
|
top = targetHeight;
|
|
3700
3757
|
element.style.transformOrigin = 'top';
|
|
3701
3758
|
}
|
|
3702
|
-
|
|
3703
3759
|
if (elementDimensions.width > viewport.width) {
|
|
3704
3760
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3705
3761
|
left = targetOffset.left * -1;
|
|
@@ -3710,7 +3766,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3710
3766
|
// element fits on screen (align with target)
|
|
3711
3767
|
left = 0;
|
|
3712
3768
|
}
|
|
3713
|
-
|
|
3714
3769
|
element.style.top = top + 'px';
|
|
3715
3770
|
element.style.left = left + 'px';
|
|
3716
3771
|
}
|
|
@@ -3724,35 +3779,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3724
3779
|
key: "getScrollableParents",
|
|
3725
3780
|
value: function getScrollableParents(element) {
|
|
3726
3781
|
var scrollableParents = [];
|
|
3727
|
-
|
|
3728
3782
|
if (element) {
|
|
3729
3783
|
var parents = this.getParents(element);
|
|
3730
3784
|
var overflowRegex = /(auto|scroll)/;
|
|
3731
|
-
|
|
3732
3785
|
var overflowCheck = function overflowCheck(node) {
|
|
3733
3786
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3734
3787
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3735
3788
|
};
|
|
3736
|
-
|
|
3737
3789
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3738
|
-
|
|
3739
|
-
|
|
3790
|
+
_step;
|
|
3740
3791
|
try {
|
|
3741
3792
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3742
3793
|
var parent = _step.value;
|
|
3743
3794
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3744
|
-
|
|
3745
3795
|
if (scrollSelectors) {
|
|
3746
3796
|
var selectors = scrollSelectors.split(',');
|
|
3747
|
-
|
|
3748
3797
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3749
|
-
|
|
3750
|
-
|
|
3798
|
+
_step2;
|
|
3751
3799
|
try {
|
|
3752
3800
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3753
3801
|
var selector = _step2.value;
|
|
3754
3802
|
var el = this.findSingle(parent, selector);
|
|
3755
|
-
|
|
3756
3803
|
if (el && overflowCheck(el)) {
|
|
3757
3804
|
scrollableParents.push(el);
|
|
3758
3805
|
}
|
|
@@ -3770,7 +3817,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3770
3817
|
_iterator.f();
|
|
3771
3818
|
}
|
|
3772
3819
|
}
|
|
3773
|
-
|
|
3774
3820
|
return scrollableParents;
|
|
3775
3821
|
}
|
|
3776
3822
|
}, {
|
|
@@ -3811,34 +3857,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3811
3857
|
element.style.opacity = 0;
|
|
3812
3858
|
var last = +new Date();
|
|
3813
3859
|
var opacity = 0;
|
|
3814
|
-
|
|
3815
3860
|
var tick = function tick() {
|
|
3816
3861
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3817
3862
|
element.style.opacity = opacity;
|
|
3818
3863
|
last = +new Date();
|
|
3819
|
-
|
|
3820
3864
|
if (+opacity < 1) {
|
|
3821
3865
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3822
3866
|
}
|
|
3823
3867
|
};
|
|
3824
|
-
|
|
3825
3868
|
tick();
|
|
3826
3869
|
}
|
|
3827
3870
|
}, {
|
|
3828
3871
|
key: "fadeOut",
|
|
3829
3872
|
value: function fadeOut(element, ms) {
|
|
3830
3873
|
var opacity = 1,
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3874
|
+
interval = 50,
|
|
3875
|
+
duration = ms,
|
|
3876
|
+
gap = interval / duration;
|
|
3834
3877
|
var fading = setInterval(function () {
|
|
3835
3878
|
opacity -= gap;
|
|
3836
|
-
|
|
3837
3879
|
if (opacity <= 0) {
|
|
3838
3880
|
opacity = 0;
|
|
3839
3881
|
clearInterval(fading);
|
|
3840
3882
|
}
|
|
3841
|
-
|
|
3842
3883
|
element.style.opacity = opacity;
|
|
3843
3884
|
}, interval);
|
|
3844
3885
|
}
|
|
@@ -3865,7 +3906,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3865
3906
|
var scroll = container.scrollTop;
|
|
3866
3907
|
var elementHeight = container.clientHeight;
|
|
3867
3908
|
var itemHeight = this.getOuterHeight(item);
|
|
3868
|
-
|
|
3869
3909
|
if (offset < 0) {
|
|
3870
3910
|
container.scrollTop = scroll + offset;
|
|
3871
3911
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3884,7 +3924,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3884
3924
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3885
3925
|
try {
|
|
3886
3926
|
document['selection'].empty();
|
|
3887
|
-
} catch (error) {
|
|
3927
|
+
} catch (error) {
|
|
3928
|
+
//ignore IE bug
|
|
3888
3929
|
}
|
|
3889
3930
|
}
|
|
3890
3931
|
}
|
|
@@ -3906,19 +3947,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3906
3947
|
if (!this.browser) {
|
|
3907
3948
|
var matched = this.resolveUserAgent();
|
|
3908
3949
|
this.browser = {};
|
|
3909
|
-
|
|
3910
3950
|
if (matched.browser) {
|
|
3911
3951
|
this.browser[matched.browser] = true;
|
|
3912
3952
|
this.browser['version'] = matched.version;
|
|
3913
3953
|
}
|
|
3914
|
-
|
|
3915
3954
|
if (this.browser['chrome']) {
|
|
3916
3955
|
this.browser['webkit'] = true;
|
|
3917
3956
|
} else if (this.browser['webkit']) {
|
|
3918
3957
|
this.browser['safari'] = true;
|
|
3919
3958
|
}
|
|
3920
3959
|
}
|
|
3921
|
-
|
|
3922
3960
|
return this.browser;
|
|
3923
3961
|
}
|
|
3924
3962
|
}, {
|
|
@@ -3946,10 +3984,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3946
3984
|
value: function getFocusableElements(element) {
|
|
3947
3985
|
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])");
|
|
3948
3986
|
var visibleFocusableElements = [];
|
|
3949
|
-
|
|
3950
3987
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3951
|
-
|
|
3952
|
-
|
|
3988
|
+
_step3;
|
|
3953
3989
|
try {
|
|
3954
3990
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3955
3991
|
var focusableElement = _step3.value;
|
|
@@ -3960,7 +3996,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3960
3996
|
} finally {
|
|
3961
3997
|
_iterator3.f();
|
|
3962
3998
|
}
|
|
3963
|
-
|
|
3964
3999
|
return visibleFocusableElements;
|
|
3965
4000
|
}
|
|
3966
4001
|
}, {
|
|
@@ -4003,31 +4038,24 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4003
4038
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4004
4039
|
}
|
|
4005
4040
|
}]);
|
|
4006
|
-
|
|
4007
4041
|
return DomHandler;
|
|
4008
4042
|
}();
|
|
4009
4043
|
|
|
4010
|
-
|
|
4011
4044
|
// CONCATENATED MODULE: ./src/components/utils/ConnectedOverlayScrollHandler.js
|
|
4012
4045
|
|
|
4013
4046
|
|
|
4014
4047
|
|
|
4015
|
-
|
|
4016
4048
|
var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
|
|
4017
4049
|
function ConnectedOverlayScrollHandler(element) {
|
|
4018
4050
|
var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
4019
|
-
|
|
4020
4051
|
_classCallCheck(this, ConnectedOverlayScrollHandler);
|
|
4021
|
-
|
|
4022
4052
|
this.element = element;
|
|
4023
4053
|
this.listener = listener;
|
|
4024
4054
|
}
|
|
4025
|
-
|
|
4026
4055
|
_createClass(ConnectedOverlayScrollHandler, [{
|
|
4027
4056
|
key: "bindScrollListener",
|
|
4028
4057
|
value: function bindScrollListener() {
|
|
4029
4058
|
this.scrollableParents = DomHandler_DomHandler.getScrollableParents(this.element);
|
|
4030
|
-
|
|
4031
4059
|
for (var i = 0; i < this.scrollableParents.length; i++) {
|
|
4032
4060
|
this.scrollableParents[i].addEventListener('scroll', this.listener);
|
|
4033
4061
|
}
|
|
@@ -4050,58 +4078,34 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
4050
4078
|
this.scrollableParents = null;
|
|
4051
4079
|
}
|
|
4052
4080
|
}]);
|
|
4053
|
-
|
|
4054
4081
|
return ConnectedOverlayScrollHandler;
|
|
4055
4082
|
}();
|
|
4056
4083
|
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
var
|
|
4060
|
-
|
|
4061
|
-
|
|
4084
|
+
// 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/inputtext/InputText.vue?vue&type=template&id=62d12252&
|
|
4085
|
+
var InputTextvue_type_template_id_62d12252_render = function render() {
|
|
4086
|
+
var _vm = this,
|
|
4087
|
+
_c = _vm._self._c;
|
|
4088
|
+
return _c('input', _vm._g({
|
|
4089
|
+
class: ['p-inputtext p-component', {
|
|
4090
|
+
'p-filled': _vm.filled
|
|
4091
|
+
}],
|
|
4092
|
+
domProps: {
|
|
4093
|
+
"value": _vm.value
|
|
4094
|
+
}
|
|
4095
|
+
}, _vm.listeners));
|
|
4096
|
+
};
|
|
4097
|
+
var InputTextvue_type_template_id_62d12252_staticRenderFns = [];
|
|
4062
4098
|
|
|
4063
4099
|
// CONCATENATED MODULE: ./src/components/inputtext/InputText.vue?vue&type=template&id=62d12252&
|
|
4064
4100
|
|
|
4065
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
4066
|
-
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
4067
|
-
|
|
4068
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
4069
|
-
var web_dom_iterable = __webpack_require__("ac6a");
|
|
4070
|
-
|
|
4071
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
4072
|
-
var es6_object_keys = __webpack_require__("456d");
|
|
4073
|
-
|
|
4074
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js
|
|
4075
|
-
|
|
4076
|
-
function _defineProperty(obj, key, value) {
|
|
4077
|
-
if (key in obj) {
|
|
4078
|
-
define_property_default()(obj, key, {
|
|
4079
|
-
value: value,
|
|
4080
|
-
enumerable: true,
|
|
4081
|
-
configurable: true,
|
|
4082
|
-
writable: true
|
|
4083
|
-
});
|
|
4084
|
-
} else {
|
|
4085
|
-
obj[key] = value;
|
|
4086
|
-
}
|
|
4087
|
-
|
|
4088
|
-
return obj;
|
|
4089
|
-
}
|
|
4090
4101
|
// 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/inputtext/InputText.vue?vue&type=script&lang=js&
|
|
4091
4102
|
|
|
4092
4103
|
|
|
4093
4104
|
|
|
4094
4105
|
|
|
4095
4106
|
|
|
4096
|
-
|
|
4097
4107
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4098
|
-
|
|
4099
4108
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4100
|
-
|
|
4101
|
-
//
|
|
4102
|
-
//
|
|
4103
|
-
//
|
|
4104
|
-
//
|
|
4105
4109
|
/* harmony default export */ var InputTextvue_type_script_lang_js_ = ({
|
|
4106
4110
|
props: {
|
|
4107
4111
|
value: null
|
|
@@ -4109,7 +4113,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4109
4113
|
computed: {
|
|
4110
4114
|
listeners: function listeners() {
|
|
4111
4115
|
var _this = this;
|
|
4112
|
-
|
|
4113
4116
|
return _objectSpread(_objectSpread({}, this.$listeners), {}, {
|
|
4114
4117
|
input: function input(event) {
|
|
4115
4118
|
return _this.$emit('input', event.target.value);
|
|
@@ -4130,20 +4133,19 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4130
4133
|
// This module is a runtime utility for cleaner component module output and will
|
|
4131
4134
|
// be included in the final webpack user bundle.
|
|
4132
4135
|
|
|
4133
|
-
function normalizeComponent
|
|
4136
|
+
function normalizeComponent(
|
|
4134
4137
|
scriptExports,
|
|
4135
4138
|
render,
|
|
4136
4139
|
staticRenderFns,
|
|
4137
4140
|
functionalTemplate,
|
|
4138
4141
|
injectStyles,
|
|
4139
4142
|
scopeId,
|
|
4140
|
-
moduleIdentifier
|
|
4143
|
+
moduleIdentifier /* server only */,
|
|
4141
4144
|
shadowMode /* vue-cli only */
|
|
4142
4145
|
) {
|
|
4143
4146
|
// Vue.extend constructor export interop
|
|
4144
|
-
var options =
|
|
4145
|
-
? scriptExports.options
|
|
4146
|
-
: scriptExports
|
|
4147
|
+
var options =
|
|
4148
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4147
4149
|
|
|
4148
4150
|
// render functions
|
|
4149
4151
|
if (render) {
|
|
@@ -4163,7 +4165,8 @@ function normalizeComponent (
|
|
|
4163
4165
|
}
|
|
4164
4166
|
|
|
4165
4167
|
var hook
|
|
4166
|
-
if (moduleIdentifier) {
|
|
4168
|
+
if (moduleIdentifier) {
|
|
4169
|
+
// server build
|
|
4167
4170
|
hook = function (context) {
|
|
4168
4171
|
// 2.3 injection
|
|
4169
4172
|
context =
|
|
@@ -4189,11 +4192,11 @@ function normalizeComponent (
|
|
|
4189
4192
|
} else if (injectStyles) {
|
|
4190
4193
|
hook = shadowMode
|
|
4191
4194
|
? function () {
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4195
|
+
injectStyles.call(
|
|
4196
|
+
this,
|
|
4197
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4198
|
+
)
|
|
4199
|
+
}
|
|
4197
4200
|
: injectStyles
|
|
4198
4201
|
}
|
|
4199
4202
|
|
|
@@ -4204,16 +4207,14 @@ function normalizeComponent (
|
|
|
4204
4207
|
options._injectStyles = hook
|
|
4205
4208
|
// register for functional component in vue file
|
|
4206
4209
|
var originalRender = options.render
|
|
4207
|
-
options.render = function renderWithStyleInjection
|
|
4210
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4208
4211
|
hook.call(context)
|
|
4209
4212
|
return originalRender(h, context)
|
|
4210
4213
|
}
|
|
4211
4214
|
} else {
|
|
4212
4215
|
// inject component registration as beforeCreate hook
|
|
4213
4216
|
var existing = options.beforeCreate
|
|
4214
|
-
options.beforeCreate = existing
|
|
4215
|
-
? [].concat(existing, hook)
|
|
4216
|
-
: [hook]
|
|
4217
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4217
4218
|
}
|
|
4218
4219
|
}
|
|
4219
4220
|
|
|
@@ -4246,25 +4247,12 @@ var component = normalizeComponent(
|
|
|
4246
4247
|
// 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/password/Password.vue?vue&type=script&lang=js&
|
|
4247
4248
|
|
|
4248
4249
|
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
//
|
|
4256
|
-
//
|
|
4257
|
-
//
|
|
4258
|
-
//
|
|
4259
|
-
//
|
|
4260
|
-
//
|
|
4261
|
-
//
|
|
4262
|
-
//
|
|
4263
|
-
//
|
|
4264
|
-
//
|
|
4265
|
-
//
|
|
4266
|
-
//
|
|
4267
|
-
//
|
|
4250
|
+
|
|
4251
|
+
|
|
4252
|
+
|
|
4253
|
+
|
|
4254
|
+
function Passwordvue_type_script_lang_js_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4255
|
+
function Passwordvue_type_script_lang_js_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? Passwordvue_type_script_lang_js_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : Passwordvue_type_script_lang_js_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4268
4256
|
|
|
4269
4257
|
|
|
4270
4258
|
|
|
@@ -4278,13 +4266,13 @@ var component = normalizeComponent(
|
|
|
4278
4266
|
mediumRegex: {
|
|
4279
4267
|
type: String,
|
|
4280
4268
|
default: '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})' // eslint-disable-line
|
|
4281
|
-
|
|
4282
4269
|
},
|
|
4270
|
+
|
|
4283
4271
|
strongRegex: {
|
|
4284
4272
|
type: String,
|
|
4285
4273
|
default: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})' // eslint-disable-line
|
|
4286
|
-
|
|
4287
4274
|
},
|
|
4275
|
+
|
|
4288
4276
|
weakLabel: {
|
|
4289
4277
|
type: String,
|
|
4290
4278
|
default: null
|
|
@@ -4348,11 +4336,13 @@ var component = normalizeComponent(
|
|
|
4348
4336
|
this.infoText = this.promptText;
|
|
4349
4337
|
this.mediumCheckRegExp = new RegExp(this.mediumRegex);
|
|
4350
4338
|
this.strongCheckRegExp = new RegExp(this.strongRegex);
|
|
4339
|
+
if (this.value) {
|
|
4340
|
+
this.d_value = this.value;
|
|
4341
|
+
}
|
|
4351
4342
|
},
|
|
4352
4343
|
beforeDestroy: function beforeDestroy() {
|
|
4353
4344
|
this.restoreAppend();
|
|
4354
4345
|
this.unbindResizeListener();
|
|
4355
|
-
|
|
4356
4346
|
if (this.scrollHandler) {
|
|
4357
4347
|
this.scrollHandler.destroy();
|
|
4358
4348
|
this.scrollHandler = null;
|
|
@@ -4398,68 +4388,83 @@ var component = normalizeComponent(
|
|
|
4398
4388
|
onInput: function onInput(event) {
|
|
4399
4389
|
this.$emit('input', event);
|
|
4400
4390
|
},
|
|
4401
|
-
onFocus: function onFocus() {
|
|
4391
|
+
onFocus: function onFocus(event) {
|
|
4402
4392
|
this.focused = true;
|
|
4403
|
-
|
|
4404
4393
|
if (this.feedback) {
|
|
4394
|
+
this.setPasswordMeter();
|
|
4405
4395
|
this.overlayVisible = true;
|
|
4406
4396
|
}
|
|
4397
|
+
this.$emit('focus', event);
|
|
4407
4398
|
},
|
|
4408
|
-
onBlur: function onBlur() {
|
|
4399
|
+
onBlur: function onBlur(event) {
|
|
4409
4400
|
this.focused = false;
|
|
4410
|
-
|
|
4411
4401
|
if (this.feedback) {
|
|
4412
4402
|
this.overlayVisible = false;
|
|
4413
4403
|
}
|
|
4404
|
+
this.$emit('blur', event);
|
|
4414
4405
|
},
|
|
4415
4406
|
onKeyUp: function onKeyUp(event) {
|
|
4416
4407
|
if (this.feedback) {
|
|
4417
4408
|
var value = event.target.value;
|
|
4418
|
-
var
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
switch (this.testStrength(value)) {
|
|
4422
|
-
case 1:
|
|
4423
|
-
label = this.weakText;
|
|
4424
|
-
meter = {
|
|
4425
|
-
strength: 'weak',
|
|
4426
|
-
width: '33.33%'
|
|
4427
|
-
};
|
|
4428
|
-
break;
|
|
4429
|
-
|
|
4430
|
-
case 2:
|
|
4431
|
-
label = this.mediumText;
|
|
4432
|
-
meter = {
|
|
4433
|
-
strength: 'medium',
|
|
4434
|
-
width: '66.66%'
|
|
4435
|
-
};
|
|
4436
|
-
break;
|
|
4437
|
-
|
|
4438
|
-
case 3:
|
|
4439
|
-
label = this.strongText;
|
|
4440
|
-
meter = {
|
|
4441
|
-
strength: 'strong',
|
|
4442
|
-
width: '100%'
|
|
4443
|
-
};
|
|
4444
|
-
break;
|
|
4445
|
-
|
|
4446
|
-
default:
|
|
4447
|
-
label = this.promptText;
|
|
4448
|
-
meter = null;
|
|
4449
|
-
break;
|
|
4450
|
-
}
|
|
4451
|
-
|
|
4409
|
+
var _this$checkPasswordSt = this.checkPasswordStrength(value),
|
|
4410
|
+
meter = _this$checkPasswordSt.meter,
|
|
4411
|
+
label = _this$checkPasswordSt.label;
|
|
4452
4412
|
this.meter = meter;
|
|
4453
4413
|
this.infoText = label;
|
|
4454
|
-
|
|
4455
4414
|
if (!this.overlayVisible) {
|
|
4456
4415
|
this.overlayVisible = true;
|
|
4457
4416
|
}
|
|
4458
4417
|
}
|
|
4418
|
+
this.$emit('keyup', event);
|
|
4419
|
+
},
|
|
4420
|
+
setPasswordMeter: function setPasswordMeter() {
|
|
4421
|
+
if (!this.feedback || !this.d_value) return;
|
|
4422
|
+
var _this$checkPasswordSt2 = this.checkPasswordStrength(this.d_value),
|
|
4423
|
+
meter = _this$checkPasswordSt2.meter,
|
|
4424
|
+
label = _this$checkPasswordSt2.label;
|
|
4425
|
+
this.meter = meter;
|
|
4426
|
+
this.infoText = label;
|
|
4427
|
+
if (!this.overlayVisible) {
|
|
4428
|
+
this.overlayVisible = true;
|
|
4429
|
+
}
|
|
4430
|
+
},
|
|
4431
|
+
checkPasswordStrength: function checkPasswordStrength(value) {
|
|
4432
|
+
var label = null;
|
|
4433
|
+
var meter = null;
|
|
4434
|
+
switch (this.testStrength(value)) {
|
|
4435
|
+
case 1:
|
|
4436
|
+
label = this.weakText;
|
|
4437
|
+
meter = {
|
|
4438
|
+
strength: 'weak',
|
|
4439
|
+
width: '33.33%'
|
|
4440
|
+
};
|
|
4441
|
+
break;
|
|
4442
|
+
case 2:
|
|
4443
|
+
label = this.mediumText;
|
|
4444
|
+
meter = {
|
|
4445
|
+
strength: 'medium',
|
|
4446
|
+
width: '66.66%'
|
|
4447
|
+
};
|
|
4448
|
+
break;
|
|
4449
|
+
case 3:
|
|
4450
|
+
label = this.strongText;
|
|
4451
|
+
meter = {
|
|
4452
|
+
strength: 'strong',
|
|
4453
|
+
width: '100%'
|
|
4454
|
+
};
|
|
4455
|
+
break;
|
|
4456
|
+
default:
|
|
4457
|
+
label = this.promptText;
|
|
4458
|
+
meter = null;
|
|
4459
|
+
break;
|
|
4460
|
+
}
|
|
4461
|
+
return {
|
|
4462
|
+
label: label,
|
|
4463
|
+
meter: meter
|
|
4464
|
+
};
|
|
4459
4465
|
},
|
|
4460
4466
|
bindScrollListener: function bindScrollListener() {
|
|
4461
4467
|
var _this = this;
|
|
4462
|
-
|
|
4463
4468
|
if (!this.scrollHandler) {
|
|
4464
4469
|
this.scrollHandler = new ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler(this.$refs.input.$el, function () {
|
|
4465
4470
|
if (_this.overlayVisible) {
|
|
@@ -4467,7 +4472,6 @@ var component = normalizeComponent(
|
|
|
4467
4472
|
}
|
|
4468
4473
|
});
|
|
4469
4474
|
}
|
|
4470
|
-
|
|
4471
4475
|
this.scrollHandler.bindScrollListener();
|
|
4472
4476
|
},
|
|
4473
4477
|
unbindScrollListener: function unbindScrollListener() {
|
|
@@ -4477,14 +4481,12 @@ var component = normalizeComponent(
|
|
|
4477
4481
|
},
|
|
4478
4482
|
bindResizeListener: function bindResizeListener() {
|
|
4479
4483
|
var _this2 = this;
|
|
4480
|
-
|
|
4481
4484
|
if (!this.resizeListener) {
|
|
4482
4485
|
this.resizeListener = function () {
|
|
4483
4486
|
if (_this2.overlayVisible) {
|
|
4484
4487
|
_this2.overlayVisible = false;
|
|
4485
4488
|
}
|
|
4486
4489
|
};
|
|
4487
|
-
|
|
4488
4490
|
window.addEventListener('resize', this.resizeListener);
|
|
4489
4491
|
}
|
|
4490
4492
|
},
|
|
@@ -4499,6 +4501,24 @@ var component = normalizeComponent(
|
|
|
4499
4501
|
}
|
|
4500
4502
|
},
|
|
4501
4503
|
computed: {
|
|
4504
|
+
listeners: function listeners() {
|
|
4505
|
+
var _this3 = this;
|
|
4506
|
+
var $vm = this;
|
|
4507
|
+
return Passwordvue_type_script_lang_js_objectSpread(Passwordvue_type_script_lang_js_objectSpread({}, $vm.$listeners), {}, {
|
|
4508
|
+
input: function input(event) {
|
|
4509
|
+
_this3.onInput(event);
|
|
4510
|
+
},
|
|
4511
|
+
focus: function focus(event) {
|
|
4512
|
+
_this3.onFocus(event);
|
|
4513
|
+
},
|
|
4514
|
+
blur: function blur(event) {
|
|
4515
|
+
_this3.onBlur(event);
|
|
4516
|
+
},
|
|
4517
|
+
keyup: function keyup(event) {
|
|
4518
|
+
_this3.onKeyUp(event);
|
|
4519
|
+
}
|
|
4520
|
+
});
|
|
4521
|
+
},
|
|
4502
4522
|
containerClass: function containerClass() {
|
|
4503
4523
|
return ['p-password p-component p-inputwrapper', this.className, {
|
|
4504
4524
|
'p-inputwrapper-filled': this.filled,
|
|
@@ -4542,8 +4562,8 @@ var component = normalizeComponent(
|
|
|
4542
4562
|
});
|
|
4543
4563
|
// CONCATENATED MODULE: ./src/components/password/Password.vue?vue&type=script&lang=js&
|
|
4544
4564
|
/* harmony default export */ var password_Passwordvue_type_script_lang_js_ = (Passwordvue_type_script_lang_js_);
|
|
4545
|
-
// EXTERNAL MODULE: ./src/components/password/Password.vue?vue&type=style&index=0&lang=css&
|
|
4546
|
-
var
|
|
4565
|
+
// EXTERNAL MODULE: ./src/components/password/Password.vue?vue&type=style&index=0&id=2e79ff12&prod&lang=css&
|
|
4566
|
+
var Passwordvue_type_style_index_0_id_2e79ff12_prod_lang_css_ = __webpack_require__("476e");
|
|
4547
4567
|
|
|
4548
4568
|
// CONCATENATED MODULE: ./src/components/password/Password.vue
|
|
4549
4569
|
|
|
@@ -4573,22 +4593,6 @@ var Password_component = normalizeComponent(
|
|
|
4573
4593
|
|
|
4574
4594
|
|
|
4575
4595
|
|
|
4576
|
-
/***/ }),
|
|
4577
|
-
|
|
4578
|
-
/***/ "fb7c":
|
|
4579
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4580
|
-
|
|
4581
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
4582
|
-
|
|
4583
|
-
// load the styles
|
|
4584
|
-
var content = __webpack_require__("2f57");
|
|
4585
|
-
if(content.__esModule) content = content.default;
|
|
4586
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
4587
|
-
if(content.locals) module.exports = content.locals;
|
|
4588
|
-
// add the styles to the DOM
|
|
4589
|
-
var add = __webpack_require__("499e").default
|
|
4590
|
-
var update = add("0e8852ef", content, true, {"sourceMap":false,"shadowMode":false});
|
|
4591
|
-
|
|
4592
4596
|
/***/ })
|
|
4593
4597
|
|
|
4594
4598
|
/******/ })["default"];
|