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
|
@@ -555,6 +555,21 @@ module.exports = function (KEY, length, exec) {
|
|
|
555
555
|
};
|
|
556
556
|
|
|
557
557
|
|
|
558
|
+
/***/ }),
|
|
559
|
+
|
|
560
|
+
/***/ "21d3":
|
|
561
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
562
|
+
|
|
563
|
+
exports = module.exports = __webpack_require__("2350")(false);
|
|
564
|
+
// imports
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
// module
|
|
568
|
+
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}", ""]);
|
|
569
|
+
|
|
570
|
+
// exports
|
|
571
|
+
|
|
572
|
+
|
|
558
573
|
/***/ }),
|
|
559
574
|
|
|
560
575
|
/***/ "230e":
|
|
@@ -985,21 +1000,6 @@ module.exports = function (it) {
|
|
|
985
1000
|
};
|
|
986
1001
|
|
|
987
1002
|
|
|
988
|
-
/***/ }),
|
|
989
|
-
|
|
990
|
-
/***/ "2f57":
|
|
991
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
992
|
-
|
|
993
|
-
exports = module.exports = __webpack_require__("2350")(false);
|
|
994
|
-
// imports
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
// module
|
|
998
|
-
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}", ""]);
|
|
999
|
-
|
|
1000
|
-
// exports
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
1003
|
/***/ }),
|
|
1004
1004
|
|
|
1005
1005
|
/***/ "32e9":
|
|
@@ -1238,6 +1238,17 @@ var $export = __webpack_require__("63b6");
|
|
|
1238
1238
|
$export($export.S + $export.F * !__webpack_require__("8e60"), 'Object', { defineProperty: __webpack_require__("d9f6").f });
|
|
1239
1239
|
|
|
1240
1240
|
|
|
1241
|
+
/***/ }),
|
|
1242
|
+
|
|
1243
|
+
/***/ "476e":
|
|
1244
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1245
|
+
|
|
1246
|
+
"use strict";
|
|
1247
|
+
/* 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");
|
|
1248
|
+
/* 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__);
|
|
1249
|
+
/* unused harmony reexport * */
|
|
1250
|
+
|
|
1251
|
+
|
|
1241
1252
|
/***/ }),
|
|
1242
1253
|
|
|
1243
1254
|
/***/ "499e":
|
|
@@ -1609,17 +1620,6 @@ var store = global[SHARED] || (global[SHARED] = {});
|
|
|
1609
1620
|
});
|
|
1610
1621
|
|
|
1611
1622
|
|
|
1612
|
-
/***/ }),
|
|
1613
|
-
|
|
1614
|
-
/***/ "576d":
|
|
1615
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1616
|
-
|
|
1617
|
-
"use strict";
|
|
1618
|
-
/* 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");
|
|
1619
|
-
/* 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__);
|
|
1620
|
-
/* unused harmony reexport * */
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
1623
|
/***/ }),
|
|
1624
1624
|
|
|
1625
1625
|
/***/ "584a":
|
|
@@ -2025,6 +2025,22 @@ if (__webpack_require__("79e5")(function () { return $toString.call({ source: 'a
|
|
|
2025
2025
|
}
|
|
2026
2026
|
|
|
2027
2027
|
|
|
2028
|
+
/***/ }),
|
|
2029
|
+
|
|
2030
|
+
/***/ "7448":
|
|
2031
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2032
|
+
|
|
2033
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
2034
|
+
|
|
2035
|
+
// load the styles
|
|
2036
|
+
var content = __webpack_require__("21d3");
|
|
2037
|
+
if(content.__esModule) content = content.default;
|
|
2038
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
2039
|
+
if(content.locals) module.exports = content.locals;
|
|
2040
|
+
// add the styles to the DOM
|
|
2041
|
+
var add = __webpack_require__("499e").default
|
|
2042
|
+
var update = add("c6b142b8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
2043
|
+
|
|
2028
2044
|
/***/ }),
|
|
2029
2045
|
|
|
2030
2046
|
/***/ "7514":
|
|
@@ -3353,16 +3369,87 @@ if (typeof window !== 'undefined') {
|
|
|
3353
3369
|
// Indicate to webpack that this file can be concatenated
|
|
3354
3370
|
/* harmony default export */ var setPublicPath = (null);
|
|
3355
3371
|
|
|
3356
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3357
|
-
var render = function () {
|
|
3358
|
-
var
|
|
3372
|
+
// 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&
|
|
3373
|
+
var render = function render() {
|
|
3374
|
+
var _vm = this,
|
|
3375
|
+
_c = _vm._self._c;
|
|
3376
|
+
return _c('div', {
|
|
3377
|
+
class: _vm.containerClass,
|
|
3378
|
+
style: _vm.styles
|
|
3379
|
+
}, [_c('PInputText', _vm._g(_vm._b({
|
|
3380
|
+
ref: "input",
|
|
3381
|
+
class: _vm.inputFieldClass,
|
|
3382
|
+
style: _vm.inputStyle,
|
|
3383
|
+
attrs: {
|
|
3384
|
+
"type": _vm.inputType,
|
|
3385
|
+
"value": _vm.d_value
|
|
3386
|
+
}
|
|
3387
|
+
}, 'PInputText', _vm.$attrs, false), _vm.listeners)), _vm.toggleMask ? _c('i', {
|
|
3388
|
+
class: _vm.toggleIconClass,
|
|
3389
|
+
on: {
|
|
3390
|
+
"click": _vm.onMaskToggle
|
|
3391
|
+
}
|
|
3392
|
+
}) : _vm._e(), _c('transition', {
|
|
3393
|
+
attrs: {
|
|
3394
|
+
"name": "p-connected-overlay"
|
|
3395
|
+
},
|
|
3396
|
+
on: {
|
|
3397
|
+
"enter": _vm.onOverlayEnter,
|
|
3398
|
+
"leave": _vm.onOverlayLeave
|
|
3399
|
+
}
|
|
3400
|
+
}, [_vm.overlayVisible ? _c('div', {
|
|
3401
|
+
ref: "overlayRef",
|
|
3402
|
+
staticClass: "p-password-panel p-component"
|
|
3403
|
+
}, [_vm._t("header"), _vm._t("content", function () {
|
|
3404
|
+
return [_c('div', {
|
|
3405
|
+
staticClass: "p-password-meter"
|
|
3406
|
+
}, [_c('div', {
|
|
3407
|
+
class: _vm.strengthClass,
|
|
3408
|
+
style: {
|
|
3409
|
+
'width': _vm.meter ? _vm.meter.width : ''
|
|
3410
|
+
}
|
|
3411
|
+
})]), _c('div', {
|
|
3412
|
+
attrs: {
|
|
3413
|
+
"className": "p-password-info"
|
|
3414
|
+
}
|
|
3415
|
+
}, [_vm._v(_vm._s(_vm.infoText))])];
|
|
3416
|
+
}), _vm._t("footer")], 2) : _vm._e()])], 1);
|
|
3417
|
+
};
|
|
3418
|
+
var staticRenderFns = [];
|
|
3419
|
+
|
|
3420
|
+
// CONCATENATED MODULE: ./src/components/password/Password.vue?vue&type=template&id=2e79ff12&
|
|
3359
3421
|
|
|
3422
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
3423
|
+
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
3360
3424
|
|
|
3361
|
-
//
|
|
3425
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
3426
|
+
var web_dom_iterable = __webpack_require__("ac6a");
|
|
3427
|
+
|
|
3428
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
3429
|
+
var es6_object_keys = __webpack_require__("456d");
|
|
3362
3430
|
|
|
3363
3431
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.to-string.js
|
|
3364
3432
|
var es6_regexp_to_string = __webpack_require__("6b54");
|
|
3365
3433
|
|
|
3434
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
|
|
3435
|
+
var define_property = __webpack_require__("85f2");
|
|
3436
|
+
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
3437
|
+
|
|
3438
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js
|
|
3439
|
+
|
|
3440
|
+
function _defineProperty(obj, key, value) {
|
|
3441
|
+
if (key in obj) {
|
|
3442
|
+
define_property_default()(obj, key, {
|
|
3443
|
+
value: value,
|
|
3444
|
+
enumerable: true,
|
|
3445
|
+
configurable: true,
|
|
3446
|
+
writable: true
|
|
3447
|
+
});
|
|
3448
|
+
} else {
|
|
3449
|
+
obj[key] = value;
|
|
3450
|
+
}
|
|
3451
|
+
return obj;
|
|
3452
|
+
}
|
|
3366
3453
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.constructor.js
|
|
3367
3454
|
var es6_regexp_constructor = __webpack_require__("3b2b");
|
|
3368
3455
|
|
|
@@ -3372,32 +3459,23 @@ function _classCallCheck(instance, Constructor) {
|
|
|
3372
3459
|
throw new TypeError("Cannot call a class as a function");
|
|
3373
3460
|
}
|
|
3374
3461
|
}
|
|
3375
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js
|
|
3376
|
-
var define_property = __webpack_require__("85f2");
|
|
3377
|
-
var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property);
|
|
3378
|
-
|
|
3379
3462
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3380
3463
|
|
|
3381
|
-
|
|
3382
3464
|
function _defineProperties(target, props) {
|
|
3383
3465
|
for (var i = 0; i < props.length; i++) {
|
|
3384
3466
|
var descriptor = props[i];
|
|
3385
3467
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3386
3468
|
descriptor.configurable = true;
|
|
3387
3469
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3388
|
-
|
|
3389
3470
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3390
3471
|
}
|
|
3391
3472
|
}
|
|
3392
|
-
|
|
3393
3473
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3394
3474
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3395
3475
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3396
|
-
|
|
3397
3476
|
define_property_default()(Constructor, "prototype", {
|
|
3398
3477
|
writable: false
|
|
3399
3478
|
});
|
|
3400
|
-
|
|
3401
3479
|
return Constructor;
|
|
3402
3480
|
}
|
|
3403
3481
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
@@ -3437,18 +3515,13 @@ var es6_regexp_split = __webpack_require__("28a5");
|
|
|
3437
3515
|
|
|
3438
3516
|
|
|
3439
3517
|
|
|
3440
|
-
|
|
3441
3518
|
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; } } }; }
|
|
3442
|
-
|
|
3443
3519
|
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); }
|
|
3444
|
-
|
|
3445
3520
|
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; }
|
|
3446
|
-
|
|
3447
3521
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3448
3522
|
function DomHandler() {
|
|
3449
3523
|
_classCallCheck(this, DomHandler);
|
|
3450
3524
|
}
|
|
3451
|
-
|
|
3452
3525
|
_createClass(DomHandler, null, [{
|
|
3453
3526
|
key: "innerWidth",
|
|
3454
3527
|
value: function innerWidth(el) {
|
|
@@ -3482,12 +3555,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3482
3555
|
value: function getOuterWidth(el, margin) {
|
|
3483
3556
|
if (el) {
|
|
3484
3557
|
var width = el.offsetWidth;
|
|
3485
|
-
|
|
3486
3558
|
if (margin) {
|
|
3487
3559
|
var style = getComputedStyle(el);
|
|
3488
3560
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3489
3561
|
}
|
|
3490
|
-
|
|
3491
3562
|
return width;
|
|
3492
3563
|
} else {
|
|
3493
3564
|
return 0;
|
|
@@ -3498,12 +3569,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3498
3569
|
value: function getOuterHeight(el, margin) {
|
|
3499
3570
|
if (el) {
|
|
3500
3571
|
var height = el.offsetHeight;
|
|
3501
|
-
|
|
3502
3572
|
if (margin) {
|
|
3503
3573
|
var style = getComputedStyle(el);
|
|
3504
3574
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3505
3575
|
}
|
|
3506
|
-
|
|
3507
3576
|
return height;
|
|
3508
3577
|
} else {
|
|
3509
3578
|
return 0;
|
|
@@ -3514,12 +3583,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3514
3583
|
value: function getClientHeight(el, margin) {
|
|
3515
3584
|
if (el) {
|
|
3516
3585
|
var height = el.clientHeight;
|
|
3517
|
-
|
|
3518
3586
|
if (margin) {
|
|
3519
3587
|
var style = getComputedStyle(el);
|
|
3520
3588
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3521
3589
|
}
|
|
3522
|
-
|
|
3523
3590
|
return height;
|
|
3524
3591
|
} else {
|
|
3525
3592
|
return 0;
|
|
@@ -3529,11 +3596,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3529
3596
|
key: "getViewport",
|
|
3530
3597
|
value: function getViewport() {
|
|
3531
3598
|
var win = window,
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3599
|
+
d = document,
|
|
3600
|
+
e = d.documentElement,
|
|
3601
|
+
g = d.getElementsByTagName('body')[0],
|
|
3602
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3603
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3537
3604
|
return {
|
|
3538
3605
|
width: w,
|
|
3539
3606
|
height: h
|
|
@@ -3564,12 +3631,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3564
3631
|
value: function index(element) {
|
|
3565
3632
|
var children = element.parentNode.childNodes;
|
|
3566
3633
|
var num = 0;
|
|
3567
|
-
|
|
3568
3634
|
for (var i = 0; i < children.length; i++) {
|
|
3569
3635
|
if (children[i] === element) return num;
|
|
3570
3636
|
if (children[i].nodeType === 1) num++;
|
|
3571
3637
|
}
|
|
3572
|
-
|
|
3573
3638
|
return -1;
|
|
3574
3639
|
}
|
|
3575
3640
|
}, {
|
|
@@ -3577,13 +3642,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3577
3642
|
value: function addMultipleClasses(element, className) {
|
|
3578
3643
|
if (element.classList) {
|
|
3579
3644
|
var styles = className.split(' ');
|
|
3580
|
-
|
|
3581
3645
|
for (var i = 0; i < styles.length; i++) {
|
|
3582
3646
|
element.classList.add(styles[i]);
|
|
3583
3647
|
}
|
|
3584
3648
|
} else {
|
|
3585
3649
|
var _styles = className.split(' ');
|
|
3586
|
-
|
|
3587
3650
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3588
3651
|
element.className += ' ' + _styles[_i];
|
|
3589
3652
|
}
|
|
@@ -3605,7 +3668,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3605
3668
|
if (element) {
|
|
3606
3669
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3607
3670
|
}
|
|
3608
|
-
|
|
3609
3671
|
return false;
|
|
3610
3672
|
}
|
|
3611
3673
|
}, {
|
|
@@ -3650,11 +3712,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3650
3712
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3651
3713
|
var viewport = this.getViewport();
|
|
3652
3714
|
var top, left;
|
|
3653
|
-
|
|
3654
3715
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3655
3716
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3656
3717
|
element.style.transformOrigin = 'bottom';
|
|
3657
|
-
|
|
3658
3718
|
if (top < 0) {
|
|
3659
3719
|
top = windowScrollTop;
|
|
3660
3720
|
}
|
|
@@ -3662,7 +3722,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3662
3722
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3663
3723
|
element.style.transformOrigin = 'top';
|
|
3664
3724
|
}
|
|
3665
|
-
|
|
3666
3725
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3667
3726
|
element.style.top = top + 'px';
|
|
3668
3727
|
element.style.left = left + 'px';
|
|
@@ -3678,11 +3737,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3678
3737
|
var targetOffset = target.getBoundingClientRect();
|
|
3679
3738
|
var viewport = this.getViewport();
|
|
3680
3739
|
var top, left;
|
|
3681
|
-
|
|
3682
3740
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3683
3741
|
top = -1 * elementDimensions.height;
|
|
3684
3742
|
element.style.transformOrigin = 'bottom';
|
|
3685
|
-
|
|
3686
3743
|
if (targetOffset.top + top < 0) {
|
|
3687
3744
|
top = -1 * targetOffset.top;
|
|
3688
3745
|
}
|
|
@@ -3690,7 +3747,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3690
3747
|
top = targetHeight;
|
|
3691
3748
|
element.style.transformOrigin = 'top';
|
|
3692
3749
|
}
|
|
3693
|
-
|
|
3694
3750
|
if (elementDimensions.width > viewport.width) {
|
|
3695
3751
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3696
3752
|
left = targetOffset.left * -1;
|
|
@@ -3701,7 +3757,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3701
3757
|
// element fits on screen (align with target)
|
|
3702
3758
|
left = 0;
|
|
3703
3759
|
}
|
|
3704
|
-
|
|
3705
3760
|
element.style.top = top + 'px';
|
|
3706
3761
|
element.style.left = left + 'px';
|
|
3707
3762
|
}
|
|
@@ -3715,35 +3770,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3715
3770
|
key: "getScrollableParents",
|
|
3716
3771
|
value: function getScrollableParents(element) {
|
|
3717
3772
|
var scrollableParents = [];
|
|
3718
|
-
|
|
3719
3773
|
if (element) {
|
|
3720
3774
|
var parents = this.getParents(element);
|
|
3721
3775
|
var overflowRegex = /(auto|scroll)/;
|
|
3722
|
-
|
|
3723
3776
|
var overflowCheck = function overflowCheck(node) {
|
|
3724
3777
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3725
3778
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3726
3779
|
};
|
|
3727
|
-
|
|
3728
3780
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3729
|
-
|
|
3730
|
-
|
|
3781
|
+
_step;
|
|
3731
3782
|
try {
|
|
3732
3783
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3733
3784
|
var parent = _step.value;
|
|
3734
3785
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3735
|
-
|
|
3736
3786
|
if (scrollSelectors) {
|
|
3737
3787
|
var selectors = scrollSelectors.split(',');
|
|
3738
|
-
|
|
3739
3788
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3740
|
-
|
|
3741
|
-
|
|
3789
|
+
_step2;
|
|
3742
3790
|
try {
|
|
3743
3791
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3744
3792
|
var selector = _step2.value;
|
|
3745
3793
|
var el = this.findSingle(parent, selector);
|
|
3746
|
-
|
|
3747
3794
|
if (el && overflowCheck(el)) {
|
|
3748
3795
|
scrollableParents.push(el);
|
|
3749
3796
|
}
|
|
@@ -3761,7 +3808,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3761
3808
|
_iterator.f();
|
|
3762
3809
|
}
|
|
3763
3810
|
}
|
|
3764
|
-
|
|
3765
3811
|
return scrollableParents;
|
|
3766
3812
|
}
|
|
3767
3813
|
}, {
|
|
@@ -3802,34 +3848,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3802
3848
|
element.style.opacity = 0;
|
|
3803
3849
|
var last = +new Date();
|
|
3804
3850
|
var opacity = 0;
|
|
3805
|
-
|
|
3806
3851
|
var tick = function tick() {
|
|
3807
3852
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3808
3853
|
element.style.opacity = opacity;
|
|
3809
3854
|
last = +new Date();
|
|
3810
|
-
|
|
3811
3855
|
if (+opacity < 1) {
|
|
3812
3856
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3813
3857
|
}
|
|
3814
3858
|
};
|
|
3815
|
-
|
|
3816
3859
|
tick();
|
|
3817
3860
|
}
|
|
3818
3861
|
}, {
|
|
3819
3862
|
key: "fadeOut",
|
|
3820
3863
|
value: function fadeOut(element, ms) {
|
|
3821
3864
|
var opacity = 1,
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3865
|
+
interval = 50,
|
|
3866
|
+
duration = ms,
|
|
3867
|
+
gap = interval / duration;
|
|
3825
3868
|
var fading = setInterval(function () {
|
|
3826
3869
|
opacity -= gap;
|
|
3827
|
-
|
|
3828
3870
|
if (opacity <= 0) {
|
|
3829
3871
|
opacity = 0;
|
|
3830
3872
|
clearInterval(fading);
|
|
3831
3873
|
}
|
|
3832
|
-
|
|
3833
3874
|
element.style.opacity = opacity;
|
|
3834
3875
|
}, interval);
|
|
3835
3876
|
}
|
|
@@ -3856,7 +3897,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3856
3897
|
var scroll = container.scrollTop;
|
|
3857
3898
|
var elementHeight = container.clientHeight;
|
|
3858
3899
|
var itemHeight = this.getOuterHeight(item);
|
|
3859
|
-
|
|
3860
3900
|
if (offset < 0) {
|
|
3861
3901
|
container.scrollTop = scroll + offset;
|
|
3862
3902
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3875,7 +3915,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3875
3915
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3876
3916
|
try {
|
|
3877
3917
|
document['selection'].empty();
|
|
3878
|
-
} catch (error) {
|
|
3918
|
+
} catch (error) {
|
|
3919
|
+
//ignore IE bug
|
|
3879
3920
|
}
|
|
3880
3921
|
}
|
|
3881
3922
|
}
|
|
@@ -3897,19 +3938,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3897
3938
|
if (!this.browser) {
|
|
3898
3939
|
var matched = this.resolveUserAgent();
|
|
3899
3940
|
this.browser = {};
|
|
3900
|
-
|
|
3901
3941
|
if (matched.browser) {
|
|
3902
3942
|
this.browser[matched.browser] = true;
|
|
3903
3943
|
this.browser['version'] = matched.version;
|
|
3904
3944
|
}
|
|
3905
|
-
|
|
3906
3945
|
if (this.browser['chrome']) {
|
|
3907
3946
|
this.browser['webkit'] = true;
|
|
3908
3947
|
} else if (this.browser['webkit']) {
|
|
3909
3948
|
this.browser['safari'] = true;
|
|
3910
3949
|
}
|
|
3911
3950
|
}
|
|
3912
|
-
|
|
3913
3951
|
return this.browser;
|
|
3914
3952
|
}
|
|
3915
3953
|
}, {
|
|
@@ -3937,10 +3975,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3937
3975
|
value: function getFocusableElements(element) {
|
|
3938
3976
|
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])");
|
|
3939
3977
|
var visibleFocusableElements = [];
|
|
3940
|
-
|
|
3941
3978
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3942
|
-
|
|
3943
|
-
|
|
3979
|
+
_step3;
|
|
3944
3980
|
try {
|
|
3945
3981
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3946
3982
|
var focusableElement = _step3.value;
|
|
@@ -3951,7 +3987,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3951
3987
|
} finally {
|
|
3952
3988
|
_iterator3.f();
|
|
3953
3989
|
}
|
|
3954
|
-
|
|
3955
3990
|
return visibleFocusableElements;
|
|
3956
3991
|
}
|
|
3957
3992
|
}, {
|
|
@@ -3994,31 +4029,24 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3994
4029
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3995
4030
|
}
|
|
3996
4031
|
}]);
|
|
3997
|
-
|
|
3998
4032
|
return DomHandler;
|
|
3999
4033
|
}();
|
|
4000
4034
|
|
|
4001
|
-
|
|
4002
4035
|
// CONCATENATED MODULE: ./src/components/utils/ConnectedOverlayScrollHandler.js
|
|
4003
4036
|
|
|
4004
4037
|
|
|
4005
4038
|
|
|
4006
|
-
|
|
4007
4039
|
var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
|
|
4008
4040
|
function ConnectedOverlayScrollHandler(element) {
|
|
4009
4041
|
var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
4010
|
-
|
|
4011
4042
|
_classCallCheck(this, ConnectedOverlayScrollHandler);
|
|
4012
|
-
|
|
4013
4043
|
this.element = element;
|
|
4014
4044
|
this.listener = listener;
|
|
4015
4045
|
}
|
|
4016
|
-
|
|
4017
4046
|
_createClass(ConnectedOverlayScrollHandler, [{
|
|
4018
4047
|
key: "bindScrollListener",
|
|
4019
4048
|
value: function bindScrollListener() {
|
|
4020
4049
|
this.scrollableParents = DomHandler_DomHandler.getScrollableParents(this.element);
|
|
4021
|
-
|
|
4022
4050
|
for (var i = 0; i < this.scrollableParents.length; i++) {
|
|
4023
4051
|
this.scrollableParents[i].addEventListener('scroll', this.listener);
|
|
4024
4052
|
}
|
|
@@ -4041,58 +4069,34 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
4041
4069
|
this.scrollableParents = null;
|
|
4042
4070
|
}
|
|
4043
4071
|
}]);
|
|
4044
|
-
|
|
4045
4072
|
return ConnectedOverlayScrollHandler;
|
|
4046
4073
|
}();
|
|
4047
4074
|
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
var
|
|
4051
|
-
|
|
4052
|
-
|
|
4075
|
+
// 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&
|
|
4076
|
+
var InputTextvue_type_template_id_62d12252_render = function render() {
|
|
4077
|
+
var _vm = this,
|
|
4078
|
+
_c = _vm._self._c;
|
|
4079
|
+
return _c('input', _vm._g({
|
|
4080
|
+
class: ['p-inputtext p-component', {
|
|
4081
|
+
'p-filled': _vm.filled
|
|
4082
|
+
}],
|
|
4083
|
+
domProps: {
|
|
4084
|
+
"value": _vm.value
|
|
4085
|
+
}
|
|
4086
|
+
}, _vm.listeners));
|
|
4087
|
+
};
|
|
4088
|
+
var InputTextvue_type_template_id_62d12252_staticRenderFns = [];
|
|
4053
4089
|
|
|
4054
4090
|
// CONCATENATED MODULE: ./src/components/inputtext/InputText.vue?vue&type=template&id=62d12252&
|
|
4055
4091
|
|
|
4056
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js
|
|
4057
|
-
var es7_object_get_own_property_descriptors = __webpack_require__("8e6e");
|
|
4058
|
-
|
|
4059
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js
|
|
4060
|
-
var web_dom_iterable = __webpack_require__("ac6a");
|
|
4061
|
-
|
|
4062
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
4063
|
-
var es6_object_keys = __webpack_require__("456d");
|
|
4064
|
-
|
|
4065
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js
|
|
4066
|
-
|
|
4067
|
-
function _defineProperty(obj, key, value) {
|
|
4068
|
-
if (key in obj) {
|
|
4069
|
-
define_property_default()(obj, key, {
|
|
4070
|
-
value: value,
|
|
4071
|
-
enumerable: true,
|
|
4072
|
-
configurable: true,
|
|
4073
|
-
writable: true
|
|
4074
|
-
});
|
|
4075
|
-
} else {
|
|
4076
|
-
obj[key] = value;
|
|
4077
|
-
}
|
|
4078
|
-
|
|
4079
|
-
return obj;
|
|
4080
|
-
}
|
|
4081
4092
|
// 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&
|
|
4082
4093
|
|
|
4083
4094
|
|
|
4084
4095
|
|
|
4085
4096
|
|
|
4086
4097
|
|
|
4087
|
-
|
|
4088
4098
|
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; }
|
|
4089
|
-
|
|
4090
4099
|
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; }
|
|
4091
|
-
|
|
4092
|
-
//
|
|
4093
|
-
//
|
|
4094
|
-
//
|
|
4095
|
-
//
|
|
4096
4100
|
/* harmony default export */ var InputTextvue_type_script_lang_js_ = ({
|
|
4097
4101
|
props: {
|
|
4098
4102
|
value: null
|
|
@@ -4100,7 +4104,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4100
4104
|
computed: {
|
|
4101
4105
|
listeners: function listeners() {
|
|
4102
4106
|
var _this = this;
|
|
4103
|
-
|
|
4104
4107
|
return _objectSpread(_objectSpread({}, this.$listeners), {}, {
|
|
4105
4108
|
input: function input(event) {
|
|
4106
4109
|
return _this.$emit('input', event.target.value);
|
|
@@ -4121,20 +4124,19 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4121
4124
|
// This module is a runtime utility for cleaner component module output and will
|
|
4122
4125
|
// be included in the final webpack user bundle.
|
|
4123
4126
|
|
|
4124
|
-
function normalizeComponent
|
|
4127
|
+
function normalizeComponent(
|
|
4125
4128
|
scriptExports,
|
|
4126
4129
|
render,
|
|
4127
4130
|
staticRenderFns,
|
|
4128
4131
|
functionalTemplate,
|
|
4129
4132
|
injectStyles,
|
|
4130
4133
|
scopeId,
|
|
4131
|
-
moduleIdentifier
|
|
4134
|
+
moduleIdentifier /* server only */,
|
|
4132
4135
|
shadowMode /* vue-cli only */
|
|
4133
4136
|
) {
|
|
4134
4137
|
// Vue.extend constructor export interop
|
|
4135
|
-
var options =
|
|
4136
|
-
? scriptExports.options
|
|
4137
|
-
: scriptExports
|
|
4138
|
+
var options =
|
|
4139
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
4138
4140
|
|
|
4139
4141
|
// render functions
|
|
4140
4142
|
if (render) {
|
|
@@ -4154,7 +4156,8 @@ function normalizeComponent (
|
|
|
4154
4156
|
}
|
|
4155
4157
|
|
|
4156
4158
|
var hook
|
|
4157
|
-
if (moduleIdentifier) {
|
|
4159
|
+
if (moduleIdentifier) {
|
|
4160
|
+
// server build
|
|
4158
4161
|
hook = function (context) {
|
|
4159
4162
|
// 2.3 injection
|
|
4160
4163
|
context =
|
|
@@ -4180,11 +4183,11 @@ function normalizeComponent (
|
|
|
4180
4183
|
} else if (injectStyles) {
|
|
4181
4184
|
hook = shadowMode
|
|
4182
4185
|
? function () {
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4186
|
+
injectStyles.call(
|
|
4187
|
+
this,
|
|
4188
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
4189
|
+
)
|
|
4190
|
+
}
|
|
4188
4191
|
: injectStyles
|
|
4189
4192
|
}
|
|
4190
4193
|
|
|
@@ -4195,16 +4198,14 @@ function normalizeComponent (
|
|
|
4195
4198
|
options._injectStyles = hook
|
|
4196
4199
|
// register for functional component in vue file
|
|
4197
4200
|
var originalRender = options.render
|
|
4198
|
-
options.render = function renderWithStyleInjection
|
|
4201
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
4199
4202
|
hook.call(context)
|
|
4200
4203
|
return originalRender(h, context)
|
|
4201
4204
|
}
|
|
4202
4205
|
} else {
|
|
4203
4206
|
// inject component registration as beforeCreate hook
|
|
4204
4207
|
var existing = options.beforeCreate
|
|
4205
|
-
options.beforeCreate = existing
|
|
4206
|
-
? [].concat(existing, hook)
|
|
4207
|
-
: [hook]
|
|
4208
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
4208
4209
|
}
|
|
4209
4210
|
}
|
|
4210
4211
|
|
|
@@ -4237,25 +4238,12 @@ var component = normalizeComponent(
|
|
|
4237
4238
|
// 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&
|
|
4238
4239
|
|
|
4239
4240
|
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
//
|
|
4247
|
-
//
|
|
4248
|
-
//
|
|
4249
|
-
//
|
|
4250
|
-
//
|
|
4251
|
-
//
|
|
4252
|
-
//
|
|
4253
|
-
//
|
|
4254
|
-
//
|
|
4255
|
-
//
|
|
4256
|
-
//
|
|
4257
|
-
//
|
|
4258
|
-
//
|
|
4241
|
+
|
|
4242
|
+
|
|
4243
|
+
|
|
4244
|
+
|
|
4245
|
+
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; }
|
|
4246
|
+
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; }
|
|
4259
4247
|
|
|
4260
4248
|
|
|
4261
4249
|
|
|
@@ -4269,13 +4257,13 @@ var component = normalizeComponent(
|
|
|
4269
4257
|
mediumRegex: {
|
|
4270
4258
|
type: String,
|
|
4271
4259
|
default: '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})' // eslint-disable-line
|
|
4272
|
-
|
|
4273
4260
|
},
|
|
4261
|
+
|
|
4274
4262
|
strongRegex: {
|
|
4275
4263
|
type: String,
|
|
4276
4264
|
default: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})' // eslint-disable-line
|
|
4277
|
-
|
|
4278
4265
|
},
|
|
4266
|
+
|
|
4279
4267
|
weakLabel: {
|
|
4280
4268
|
type: String,
|
|
4281
4269
|
default: null
|
|
@@ -4339,11 +4327,13 @@ var component = normalizeComponent(
|
|
|
4339
4327
|
this.infoText = this.promptText;
|
|
4340
4328
|
this.mediumCheckRegExp = new RegExp(this.mediumRegex);
|
|
4341
4329
|
this.strongCheckRegExp = new RegExp(this.strongRegex);
|
|
4330
|
+
if (this.value) {
|
|
4331
|
+
this.d_value = this.value;
|
|
4332
|
+
}
|
|
4342
4333
|
},
|
|
4343
4334
|
beforeDestroy: function beforeDestroy() {
|
|
4344
4335
|
this.restoreAppend();
|
|
4345
4336
|
this.unbindResizeListener();
|
|
4346
|
-
|
|
4347
4337
|
if (this.scrollHandler) {
|
|
4348
4338
|
this.scrollHandler.destroy();
|
|
4349
4339
|
this.scrollHandler = null;
|
|
@@ -4389,68 +4379,83 @@ var component = normalizeComponent(
|
|
|
4389
4379
|
onInput: function onInput(event) {
|
|
4390
4380
|
this.$emit('input', event);
|
|
4391
4381
|
},
|
|
4392
|
-
onFocus: function onFocus() {
|
|
4382
|
+
onFocus: function onFocus(event) {
|
|
4393
4383
|
this.focused = true;
|
|
4394
|
-
|
|
4395
4384
|
if (this.feedback) {
|
|
4385
|
+
this.setPasswordMeter();
|
|
4396
4386
|
this.overlayVisible = true;
|
|
4397
4387
|
}
|
|
4388
|
+
this.$emit('focus', event);
|
|
4398
4389
|
},
|
|
4399
|
-
onBlur: function onBlur() {
|
|
4390
|
+
onBlur: function onBlur(event) {
|
|
4400
4391
|
this.focused = false;
|
|
4401
|
-
|
|
4402
4392
|
if (this.feedback) {
|
|
4403
4393
|
this.overlayVisible = false;
|
|
4404
4394
|
}
|
|
4395
|
+
this.$emit('blur', event);
|
|
4405
4396
|
},
|
|
4406
4397
|
onKeyUp: function onKeyUp(event) {
|
|
4407
4398
|
if (this.feedback) {
|
|
4408
4399
|
var value = event.target.value;
|
|
4409
|
-
var
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
switch (this.testStrength(value)) {
|
|
4413
|
-
case 1:
|
|
4414
|
-
label = this.weakText;
|
|
4415
|
-
meter = {
|
|
4416
|
-
strength: 'weak',
|
|
4417
|
-
width: '33.33%'
|
|
4418
|
-
};
|
|
4419
|
-
break;
|
|
4420
|
-
|
|
4421
|
-
case 2:
|
|
4422
|
-
label = this.mediumText;
|
|
4423
|
-
meter = {
|
|
4424
|
-
strength: 'medium',
|
|
4425
|
-
width: '66.66%'
|
|
4426
|
-
};
|
|
4427
|
-
break;
|
|
4428
|
-
|
|
4429
|
-
case 3:
|
|
4430
|
-
label = this.strongText;
|
|
4431
|
-
meter = {
|
|
4432
|
-
strength: 'strong',
|
|
4433
|
-
width: '100%'
|
|
4434
|
-
};
|
|
4435
|
-
break;
|
|
4436
|
-
|
|
4437
|
-
default:
|
|
4438
|
-
label = this.promptText;
|
|
4439
|
-
meter = null;
|
|
4440
|
-
break;
|
|
4441
|
-
}
|
|
4442
|
-
|
|
4400
|
+
var _this$checkPasswordSt = this.checkPasswordStrength(value),
|
|
4401
|
+
meter = _this$checkPasswordSt.meter,
|
|
4402
|
+
label = _this$checkPasswordSt.label;
|
|
4443
4403
|
this.meter = meter;
|
|
4444
4404
|
this.infoText = label;
|
|
4445
|
-
|
|
4446
4405
|
if (!this.overlayVisible) {
|
|
4447
4406
|
this.overlayVisible = true;
|
|
4448
4407
|
}
|
|
4449
4408
|
}
|
|
4409
|
+
this.$emit('keyup', event);
|
|
4410
|
+
},
|
|
4411
|
+
setPasswordMeter: function setPasswordMeter() {
|
|
4412
|
+
if (!this.feedback || !this.d_value) return;
|
|
4413
|
+
var _this$checkPasswordSt2 = this.checkPasswordStrength(this.d_value),
|
|
4414
|
+
meter = _this$checkPasswordSt2.meter,
|
|
4415
|
+
label = _this$checkPasswordSt2.label;
|
|
4416
|
+
this.meter = meter;
|
|
4417
|
+
this.infoText = label;
|
|
4418
|
+
if (!this.overlayVisible) {
|
|
4419
|
+
this.overlayVisible = true;
|
|
4420
|
+
}
|
|
4421
|
+
},
|
|
4422
|
+
checkPasswordStrength: function checkPasswordStrength(value) {
|
|
4423
|
+
var label = null;
|
|
4424
|
+
var meter = null;
|
|
4425
|
+
switch (this.testStrength(value)) {
|
|
4426
|
+
case 1:
|
|
4427
|
+
label = this.weakText;
|
|
4428
|
+
meter = {
|
|
4429
|
+
strength: 'weak',
|
|
4430
|
+
width: '33.33%'
|
|
4431
|
+
};
|
|
4432
|
+
break;
|
|
4433
|
+
case 2:
|
|
4434
|
+
label = this.mediumText;
|
|
4435
|
+
meter = {
|
|
4436
|
+
strength: 'medium',
|
|
4437
|
+
width: '66.66%'
|
|
4438
|
+
};
|
|
4439
|
+
break;
|
|
4440
|
+
case 3:
|
|
4441
|
+
label = this.strongText;
|
|
4442
|
+
meter = {
|
|
4443
|
+
strength: 'strong',
|
|
4444
|
+
width: '100%'
|
|
4445
|
+
};
|
|
4446
|
+
break;
|
|
4447
|
+
default:
|
|
4448
|
+
label = this.promptText;
|
|
4449
|
+
meter = null;
|
|
4450
|
+
break;
|
|
4451
|
+
}
|
|
4452
|
+
return {
|
|
4453
|
+
label: label,
|
|
4454
|
+
meter: meter
|
|
4455
|
+
};
|
|
4450
4456
|
},
|
|
4451
4457
|
bindScrollListener: function bindScrollListener() {
|
|
4452
4458
|
var _this = this;
|
|
4453
|
-
|
|
4454
4459
|
if (!this.scrollHandler) {
|
|
4455
4460
|
this.scrollHandler = new ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler(this.$refs.input.$el, function () {
|
|
4456
4461
|
if (_this.overlayVisible) {
|
|
@@ -4458,7 +4463,6 @@ var component = normalizeComponent(
|
|
|
4458
4463
|
}
|
|
4459
4464
|
});
|
|
4460
4465
|
}
|
|
4461
|
-
|
|
4462
4466
|
this.scrollHandler.bindScrollListener();
|
|
4463
4467
|
},
|
|
4464
4468
|
unbindScrollListener: function unbindScrollListener() {
|
|
@@ -4468,14 +4472,12 @@ var component = normalizeComponent(
|
|
|
4468
4472
|
},
|
|
4469
4473
|
bindResizeListener: function bindResizeListener() {
|
|
4470
4474
|
var _this2 = this;
|
|
4471
|
-
|
|
4472
4475
|
if (!this.resizeListener) {
|
|
4473
4476
|
this.resizeListener = function () {
|
|
4474
4477
|
if (_this2.overlayVisible) {
|
|
4475
4478
|
_this2.overlayVisible = false;
|
|
4476
4479
|
}
|
|
4477
4480
|
};
|
|
4478
|
-
|
|
4479
4481
|
window.addEventListener('resize', this.resizeListener);
|
|
4480
4482
|
}
|
|
4481
4483
|
},
|
|
@@ -4490,6 +4492,24 @@ var component = normalizeComponent(
|
|
|
4490
4492
|
}
|
|
4491
4493
|
},
|
|
4492
4494
|
computed: {
|
|
4495
|
+
listeners: function listeners() {
|
|
4496
|
+
var _this3 = this;
|
|
4497
|
+
var $vm = this;
|
|
4498
|
+
return Passwordvue_type_script_lang_js_objectSpread(Passwordvue_type_script_lang_js_objectSpread({}, $vm.$listeners), {}, {
|
|
4499
|
+
input: function input(event) {
|
|
4500
|
+
_this3.onInput(event);
|
|
4501
|
+
},
|
|
4502
|
+
focus: function focus(event) {
|
|
4503
|
+
_this3.onFocus(event);
|
|
4504
|
+
},
|
|
4505
|
+
blur: function blur(event) {
|
|
4506
|
+
_this3.onBlur(event);
|
|
4507
|
+
},
|
|
4508
|
+
keyup: function keyup(event) {
|
|
4509
|
+
_this3.onKeyUp(event);
|
|
4510
|
+
}
|
|
4511
|
+
});
|
|
4512
|
+
},
|
|
4493
4513
|
containerClass: function containerClass() {
|
|
4494
4514
|
return ['p-password p-component p-inputwrapper', this.className, {
|
|
4495
4515
|
'p-inputwrapper-filled': this.filled,
|
|
@@ -4533,8 +4553,8 @@ var component = normalizeComponent(
|
|
|
4533
4553
|
});
|
|
4534
4554
|
// CONCATENATED MODULE: ./src/components/password/Password.vue?vue&type=script&lang=js&
|
|
4535
4555
|
/* harmony default export */ var password_Passwordvue_type_script_lang_js_ = (Passwordvue_type_script_lang_js_);
|
|
4536
|
-
// EXTERNAL MODULE: ./src/components/password/Password.vue?vue&type=style&index=0&lang=css&
|
|
4537
|
-
var
|
|
4556
|
+
// EXTERNAL MODULE: ./src/components/password/Password.vue?vue&type=style&index=0&id=2e79ff12&prod&lang=css&
|
|
4557
|
+
var Passwordvue_type_style_index_0_id_2e79ff12_prod_lang_css_ = __webpack_require__("476e");
|
|
4538
4558
|
|
|
4539
4559
|
// CONCATENATED MODULE: ./src/components/password/Password.vue
|
|
4540
4560
|
|
|
@@ -4564,22 +4584,6 @@ var Password_component = normalizeComponent(
|
|
|
4564
4584
|
|
|
4565
4585
|
|
|
4566
4586
|
|
|
4567
|
-
/***/ }),
|
|
4568
|
-
|
|
4569
|
-
/***/ "fb7c":
|
|
4570
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4571
|
-
|
|
4572
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
4573
|
-
|
|
4574
|
-
// load the styles
|
|
4575
|
-
var content = __webpack_require__("2f57");
|
|
4576
|
-
if(content.__esModule) content = content.default;
|
|
4577
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
4578
|
-
if(content.locals) module.exports = content.locals;
|
|
4579
|
-
// add the styles to the DOM
|
|
4580
|
-
var add = __webpack_require__("499e").default
|
|
4581
|
-
var update = add("0e8852ef", content, true, {"sourceMap":false,"shadowMode":false});
|
|
4582
|
-
|
|
4583
4587
|
/***/ })
|
|
4584
4588
|
|
|
4585
4589
|
/******/ })["default"];
|