primeng 19.0.6 → 19.0.7
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/dataview/dataview.interface.d.ts +9 -19
- package/dragdrop/dragdrop.d.ts +3 -2
- package/dynamicdialog/dynamicdialog.d.ts +1 -1
- package/fesm2022/primeng-accordion.mjs +347 -560
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-animateonscroll.mjs +37 -40
- package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +79 -89
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +505 -786
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-autofocus.mjs +26 -27
- package/fesm2022/primeng-autofocus.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +70 -120
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-avatargroup.mjs +44 -54
- package/fesm2022/primeng-avatargroup.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +62 -71
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +6 -6
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +15 -15
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +66 -87
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +175 -386
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +223 -328
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +36 -40
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +727 -1127
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +88 -192
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +218 -405
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +392 -576
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +57 -63
- package/fesm2022/primeng-chart.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +131 -183
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +92 -188
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +142 -167
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +12 -12
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +220 -347
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +161 -251
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +336 -450
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +249 -352
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +740 -1136
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +25 -31
- package/fesm2022/primeng-defer.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +277 -478
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +68 -77
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +138 -167
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-dragdrop.mjs +85 -79
- package/fesm2022/primeng-dragdrop.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +171 -268
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +529 -867
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +152 -301
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +118 -156
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +153 -247
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +370 -687
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +38 -46
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-fluid.mjs +33 -41
- package/fesm2022/primeng-fluid.mjs.map +1 -1
- package/fesm2022/primeng-focustrap.mjs +23 -24
- package/fesm2022/primeng-focustrap.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +529 -761
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +42 -51
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledown.mjs +17 -19
- package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleleft.mjs +17 -19
- package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleright.mjs +17 -19
- package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleup.mjs +17 -19
- package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
- package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
- package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowright.mjs +19 -19
- package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowup.mjs +26 -26
- package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
- package/fesm2022/primeng-icons-ban.mjs +24 -26
- package/fesm2022/primeng-icons-ban.mjs.map +1 -1
- package/fesm2022/primeng-icons-bars.mjs +19 -19
- package/fesm2022/primeng-icons-bars.mjs.map +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +28 -33
- package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
- package/fesm2022/primeng-icons-blank.mjs +14 -16
- package/fesm2022/primeng-icons-blank.mjs.map +1 -1
- package/fesm2022/primeng-icons-calendar.mjs +17 -19
- package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretleft.mjs +17 -19
- package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretright.mjs +17 -19
- package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
- package/fesm2022/primeng-icons-check.mjs +17 -19
- package/fesm2022/primeng-icons-check.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
- package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
- package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronright.mjs +17 -19
- package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronup.mjs +17 -19
- package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
- package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
- package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/primeng-icons-eye.mjs +19 -19
- package/fesm2022/primeng-icons-eye.mjs.map +1 -1
- package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
- package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-filter.mjs +24 -26
- package/fesm2022/primeng-icons-filter.mjs.map +1 -1
- package/fesm2022/primeng-icons-filterslash.mjs +26 -26
- package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-home.mjs +26 -26
- package/fesm2022/primeng-icons-home.mjs.map +1 -1
- package/fesm2022/primeng-icons-infocircle.mjs +26 -26
- package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-minus.mjs +17 -19
- package/fesm2022/primeng-icons-minus.mjs.map +1 -1
- package/fesm2022/primeng-icons-pencil.mjs +24 -26
- package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
- package/fesm2022/primeng-icons-plus.mjs +24 -26
- package/fesm2022/primeng-icons-plus.mjs.map +1 -1
- package/fesm2022/primeng-icons-refresh.mjs +26 -26
- package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
- package/fesm2022/primeng-icons-search.mjs +26 -26
- package/fesm2022/primeng-icons-search.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchminus.mjs +26 -26
- package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchplus.mjs +26 -26
- package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortalt.mjs +30 -26
- package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-spinner.mjs +24 -26
- package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
- package/fesm2022/primeng-icons-star.mjs +24 -26
- package/fesm2022/primeng-icons-star.mjs.map +1 -1
- package/fesm2022/primeng-icons-starfill.mjs +24 -26
- package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
- package/fesm2022/primeng-icons-thlarge.mjs +26 -26
- package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
- package/fesm2022/primeng-icons-times.mjs +17 -19
- package/fesm2022/primeng-icons-times.mjs.map +1 -1
- package/fesm2022/primeng-icons-timescircle.mjs +26 -26
- package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-trash.mjs +26 -26
- package/fesm2022/primeng-icons-trash.mjs.map +1 -1
- package/fesm2022/primeng-icons-undo.mjs +26 -26
- package/fesm2022/primeng-icons-undo.mjs.map +1 -1
- package/fesm2022/primeng-icons-upload.mjs +26 -26
- package/fesm2022/primeng-icons-upload.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
- package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
- package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +32 -38
- package/fesm2022/primeng-iftalabel.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +189 -370
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +57 -86
- package/fesm2022/primeng-imagecompare.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +108 -206
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +40 -50
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputicon.mjs +39 -48
- package/fesm2022/primeng-inputicon.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +156 -181
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +299 -416
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +97 -121
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputswitch.mjs +87 -92
- package/fesm2022/primeng-inputswitch.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +51 -57
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +50 -55
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-keyfilter.mjs +44 -47
- package/fesm2022/primeng-keyfilter.mjs.map +1 -1
- package/fesm2022/primeng-knob.mjs +105 -111
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +473 -790
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +377 -611
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +289 -460
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +357 -549
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +156 -244
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +162 -278
- package/fesm2022/primeng-messages.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +135 -264
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +655 -1132
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +228 -330
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +161 -311
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +135 -147
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +50 -58
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +134 -154
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +212 -447
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +219 -317
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +439 -783
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +268 -408
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +560 -856
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +129 -148
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +81 -121
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-progressspinner.mjs +48 -58
- package/fesm2022/primeng-progressspinner.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +115 -106
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +120 -208
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +28 -29
- package/fesm2022/primeng-ripple.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +167 -295
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +96 -116
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +106 -150
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +579 -955
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +106 -133
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +151 -239
- package/fesm2022/primeng-sidebar.mjs.map +1 -1
- package/fesm2022/primeng-skeleton.mjs +46 -54
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +186 -182
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +192 -254
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +211 -231
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +126 -159
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +227 -342
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +117 -170
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-styleclass.mjs +50 -53
- package/fesm2022/primeng-styleclass.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +1808 -2584
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +173 -319
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +185 -300
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +263 -435
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +63 -110
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +60 -104
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +56 -61
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +338 -457
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +90 -156
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +251 -358
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +113 -150
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +98 -121
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +62 -121
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +73 -74
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +441 -730
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +342 -531
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +1026 -1583
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +6 -6
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/listbox/listbox.d.ts +2 -2
- package/package.json +178 -179
- package/password/password.d.ts +7 -1
- package/picklist/picklist.d.ts +11 -1
@@ -2,10 +2,10 @@ import { trigger, transition, style, animate } from '@angular/animations';
|
|
2
2
|
import * as i1 from '@angular/common';
|
3
3
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable, inject, signal, booleanAttribute,
|
5
|
+
import { Injectable, inject, signal, booleanAttribute, HostListener, Input, Directive, Pipe, forwardRef, EventEmitter, numberAttribute, ContentChildren, ContentChild, ViewChild, Output, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
7
7
|
import { addClass, absolutePosition, removeClass, hasClass, isTouchDevice, getOuterWidth, relativePosition } from '@primeuix/utils';
|
8
|
-
import { OverlayService, TranslationKeys,
|
8
|
+
import { OverlayService, TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
|
9
9
|
import { AutoFocus } from 'primeng/autofocus';
|
10
10
|
import { BaseComponent } from 'primeng/basecomponent';
|
11
11
|
import { DomHandler, ConnectedOverlayScrollHandler } from 'primeng/dom';
|
@@ -143,12 +143,12 @@ class PasswordStyle extends BaseStyle {
|
|
143
143
|
theme = theme;
|
144
144
|
classes = classes;
|
145
145
|
inlineStyles = inlineStyles;
|
146
|
-
static ɵfac =
|
147
|
-
static ɵprov =
|
146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PasswordStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
147
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PasswordStyle });
|
148
148
|
}
|
149
|
-
(
|
150
|
-
|
151
|
-
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PasswordStyle, decorators: [{
|
150
|
+
type: Injectable
|
151
|
+
}] });
|
152
152
|
/**
|
153
153
|
*
|
154
154
|
* Password displays strength indicator for password fields.
|
@@ -194,182 +194,6 @@ var PasswordClasses;
|
|
194
194
|
PasswordClasses["meterText"] = "p-password-meter-text";
|
195
195
|
})(PasswordClasses || (PasswordClasses = {}));
|
196
196
|
|
197
|
-
const _c0 = ["content"];
|
198
|
-
const _c1 = ["footer"];
|
199
|
-
const _c2 = ["header"];
|
200
|
-
const _c3 = ["clearicon"];
|
201
|
-
const _c4 = ["headericon"];
|
202
|
-
const _c5 = ["showicon"];
|
203
|
-
const _c6 = ["input"];
|
204
|
-
const _c7 = () => ({ class: "p-password-toggle-mask-icon p-password-mask-icon" });
|
205
|
-
const _c8 = (a0, a1) => ({ showTransitionParams: a0, hideTransitionParams: a1 });
|
206
|
-
const _c9 = a0 => ({ value: "visible", params: a0 });
|
207
|
-
const _c10 = a0 => ({ width: a0 });
|
208
|
-
function Password_ng_container_5_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
|
209
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
210
|
-
i0.ɵɵelementStart(0, "TimesIcon", 8);
|
211
|
-
i0.ɵɵlistener("click", function Password_ng_container_5_TimesIcon_1_Template_TimesIcon_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.clear()); });
|
212
|
-
i0.ɵɵelementEnd();
|
213
|
-
} if (rf & 2) {
|
214
|
-
i0.ɵɵattribute("data-pc-section", "clearIcon");
|
215
|
-
} }
|
216
|
-
function Password_ng_container_5_3_ng_template_0_Template(rf, ctx) { }
|
217
|
-
function Password_ng_container_5_3_Template(rf, ctx) { if (rf & 1) {
|
218
|
-
i0.ɵɵtemplate(0, Password_ng_container_5_3_ng_template_0_Template, 0, 0, "ng-template");
|
219
|
-
} }
|
220
|
-
function Password_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
221
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
222
|
-
i0.ɵɵelementContainerStart(0);
|
223
|
-
i0.ɵɵtemplate(1, Password_ng_container_5_TimesIcon_1_Template, 1, 1, "TimesIcon", 7);
|
224
|
-
i0.ɵɵelementStart(2, "span", 8);
|
225
|
-
i0.ɵɵlistener("click", function Password_ng_container_5_Template_span_click_2_listener() { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.clear()); });
|
226
|
-
i0.ɵɵtemplate(3, Password_ng_container_5_3_Template, 1, 0, null, 9);
|
227
|
-
i0.ɵɵelementEnd();
|
228
|
-
i0.ɵɵelementContainerEnd();
|
229
|
-
} if (rf & 2) {
|
230
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
231
|
-
i0.ɵɵadvance();
|
232
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.clearIconTemplate && !ctx_r3._clearIconTemplate);
|
233
|
-
i0.ɵɵadvance();
|
234
|
-
i0.ɵɵattribute("data-pc-section", "clearIcon");
|
235
|
-
i0.ɵɵadvance();
|
236
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.clearIconTemplate || ctx_r3._clearIconTemplate);
|
237
|
-
} }
|
238
|
-
function Password_ng_container_6_ng_container_1_EyeSlashIcon_1_Template(rf, ctx) { if (rf & 1) {
|
239
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
240
|
-
i0.ɵɵelementStart(0, "EyeSlashIcon", 12);
|
241
|
-
i0.ɵɵlistener("click", function Password_ng_container_6_ng_container_1_EyeSlashIcon_1_Template_EyeSlashIcon_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.onMaskToggle()); });
|
242
|
-
i0.ɵɵelementEnd();
|
243
|
-
} if (rf & 2) {
|
244
|
-
i0.ɵɵattribute("data-pc-section", "hideIcon");
|
245
|
-
} }
|
246
|
-
function Password_ng_container_6_ng_container_1_span_2_1_ng_template_0_Template(rf, ctx) { }
|
247
|
-
function Password_ng_container_6_ng_container_1_span_2_1_Template(rf, ctx) { if (rf & 1) {
|
248
|
-
i0.ɵɵtemplate(0, Password_ng_container_6_ng_container_1_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
|
249
|
-
} }
|
250
|
-
function Password_ng_container_6_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
251
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
252
|
-
i0.ɵɵelementStart(0, "span", 13);
|
253
|
-
i0.ɵɵlistener("click", function Password_ng_container_6_ng_container_1_span_2_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.onMaskToggle()); });
|
254
|
-
i0.ɵɵtemplate(1, Password_ng_container_6_ng_container_1_span_2_1_Template, 1, 0, null, 14);
|
255
|
-
i0.ɵɵelementEnd();
|
256
|
-
} if (rf & 2) {
|
257
|
-
const ctx_r3 = i0.ɵɵnextContext(3);
|
258
|
-
i0.ɵɵadvance();
|
259
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.hideIconTemplate || ctx_r3._hideIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c7));
|
260
|
-
} }
|
261
|
-
function Password_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
262
|
-
i0.ɵɵelementContainerStart(0);
|
263
|
-
i0.ɵɵtemplate(1, Password_ng_container_6_ng_container_1_EyeSlashIcon_1_Template, 1, 1, "EyeSlashIcon", 10)(2, Password_ng_container_6_ng_container_1_span_2_Template, 2, 3, "span", 11);
|
264
|
-
i0.ɵɵelementContainerEnd();
|
265
|
-
} if (rf & 2) {
|
266
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
267
|
-
i0.ɵɵadvance();
|
268
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.hideIconTemplate && !ctx_r3._hideIconTemplate);
|
269
|
-
i0.ɵɵadvance();
|
270
|
-
i0.ɵɵproperty("ngIf", ctx_r3.hideIconTemplate || ctx_r3._hideIconTemplate);
|
271
|
-
} }
|
272
|
-
function Password_ng_container_6_ng_container_2_EyeIcon_1_Template(rf, ctx) { if (rf & 1) {
|
273
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
274
|
-
i0.ɵɵelementStart(0, "EyeIcon", 12);
|
275
|
-
i0.ɵɵlistener("click", function Password_ng_container_6_ng_container_2_EyeIcon_1_Template_EyeIcon_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.onMaskToggle()); });
|
276
|
-
i0.ɵɵelementEnd();
|
277
|
-
} if (rf & 2) {
|
278
|
-
i0.ɵɵattribute("data-pc-section", "showIcon");
|
279
|
-
} }
|
280
|
-
function Password_ng_container_6_ng_container_2_span_2_1_ng_template_0_Template(rf, ctx) { }
|
281
|
-
function Password_ng_container_6_ng_container_2_span_2_1_Template(rf, ctx) { if (rf & 1) {
|
282
|
-
i0.ɵɵtemplate(0, Password_ng_container_6_ng_container_2_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
|
283
|
-
} }
|
284
|
-
function Password_ng_container_6_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
285
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
286
|
-
i0.ɵɵelementStart(0, "span", 13);
|
287
|
-
i0.ɵɵlistener("click", function Password_ng_container_6_ng_container_2_span_2_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.onMaskToggle()); });
|
288
|
-
i0.ɵɵtemplate(1, Password_ng_container_6_ng_container_2_span_2_1_Template, 1, 0, null, 9);
|
289
|
-
i0.ɵɵelementEnd();
|
290
|
-
} if (rf & 2) {
|
291
|
-
const ctx_r3 = i0.ɵɵnextContext(3);
|
292
|
-
i0.ɵɵadvance();
|
293
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.showIconTemplate || ctx_r3._showIconTemplate);
|
294
|
-
} }
|
295
|
-
function Password_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
296
|
-
i0.ɵɵelementContainerStart(0);
|
297
|
-
i0.ɵɵtemplate(1, Password_ng_container_6_ng_container_2_EyeIcon_1_Template, 1, 1, "EyeIcon", 10)(2, Password_ng_container_6_ng_container_2_span_2_Template, 2, 1, "span", 11);
|
298
|
-
i0.ɵɵelementContainerEnd();
|
299
|
-
} if (rf & 2) {
|
300
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
301
|
-
i0.ɵɵadvance();
|
302
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.showIconTemplate && !ctx_r3._showIconTemplate);
|
303
|
-
i0.ɵɵadvance();
|
304
|
-
i0.ɵɵproperty("ngIf", ctx_r3.showIconTemplate || ctx_r3._showIconTemplate);
|
305
|
-
} }
|
306
|
-
function Password_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
307
|
-
i0.ɵɵelementContainerStart(0);
|
308
|
-
i0.ɵɵtemplate(1, Password_ng_container_6_ng_container_1_Template, 3, 2, "ng-container", 5)(2, Password_ng_container_6_ng_container_2_Template, 3, 2, "ng-container", 5);
|
309
|
-
i0.ɵɵelementContainerEnd();
|
310
|
-
} if (rf & 2) {
|
311
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
312
|
-
i0.ɵɵadvance();
|
313
|
-
i0.ɵɵproperty("ngIf", ctx_r3.unmasked);
|
314
|
-
i0.ɵɵadvance();
|
315
|
-
i0.ɵɵproperty("ngIf", !ctx_r3.unmasked);
|
316
|
-
} }
|
317
|
-
function Password_div_7_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
318
|
-
i0.ɵɵelementContainer(0);
|
319
|
-
} }
|
320
|
-
function Password_div_7_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
321
|
-
i0.ɵɵelementContainer(0);
|
322
|
-
} }
|
323
|
-
function Password_div_7_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
324
|
-
i0.ɵɵelementContainerStart(0);
|
325
|
-
i0.ɵɵtemplate(1, Password_div_7_ng_container_3_ng_container_1_Template, 1, 0, "ng-container", 9);
|
326
|
-
i0.ɵɵelementContainerEnd();
|
327
|
-
} if (rf & 2) {
|
328
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
329
|
-
i0.ɵɵadvance();
|
330
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.contentTemplate || ctx_r3._contentTemplate);
|
331
|
-
} }
|
332
|
-
function Password_div_7_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
333
|
-
i0.ɵɵelementStart(0, "div", 17)(1, "div", 18);
|
334
|
-
i0.ɵɵelement(2, "div", 3);
|
335
|
-
i0.ɵɵpipe(3, "mapper");
|
336
|
-
i0.ɵɵelementEnd();
|
337
|
-
i0.ɵɵelementStart(4, "div", 19);
|
338
|
-
i0.ɵɵtext(5);
|
339
|
-
i0.ɵɵelementEnd()();
|
340
|
-
} if (rf & 2) {
|
341
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
342
|
-
i0.ɵɵadvance();
|
343
|
-
i0.ɵɵattribute("data-pc-section", "meter");
|
344
|
-
i0.ɵɵadvance();
|
345
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind2(3, 6, ctx_r3.meter, ctx_r3.strengthClass))("ngStyle", i0.ɵɵpureFunction1(9, _c10, ctx_r3.meter ? ctx_r3.meter.width : ""));
|
346
|
-
i0.ɵɵattribute("data-pc-section", "meterLabel");
|
347
|
-
i0.ɵɵadvance(2);
|
348
|
-
i0.ɵɵattribute("data-pc-section", "info");
|
349
|
-
i0.ɵɵadvance();
|
350
|
-
i0.ɵɵtextInterpolate(ctx_r3.infoText);
|
351
|
-
} }
|
352
|
-
function Password_div_7_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
353
|
-
i0.ɵɵelementContainer(0);
|
354
|
-
} }
|
355
|
-
function Password_div_7_Template(rf, ctx) { if (rf & 1) {
|
356
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
357
|
-
i0.ɵɵelementStart(0, "div", 15, 1);
|
358
|
-
i0.ɵɵlistener("click", function Password_div_7_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onOverlayClick($event)); })("@overlayAnimation.start", function Password_div_7_Template_div_animation_overlayAnimation_start_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onAnimationStart($event)); })("@overlayAnimation.done", function Password_div_7_Template_div_animation_overlayAnimation_done_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onAnimationEnd($event)); });
|
359
|
-
i0.ɵɵtemplate(2, Password_div_7_ng_container_2_Template, 1, 0, "ng-container", 9)(3, Password_div_7_ng_container_3_Template, 2, 1, "ng-container", 16)(4, Password_div_7_ng_template_4_Template, 6, 11, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(6, Password_div_7_ng_container_6_Template, 1, 0, "ng-container", 9);
|
360
|
-
i0.ɵɵelementEnd();
|
361
|
-
} if (rf & 2) {
|
362
|
-
const content_r10 = i0.ɵɵreference(5);
|
363
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
364
|
-
i0.ɵɵproperty("@overlayAnimation", i0.ɵɵpureFunction1(9, _c9, i0.ɵɵpureFunction2(6, _c8, ctx_r3.showTransitionOptions, ctx_r3.hideTransitionOptions)));
|
365
|
-
i0.ɵɵattribute("data-pc-section", "panel");
|
366
|
-
i0.ɵɵadvance(2);
|
367
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.headerTemplate || ctx_r3._headerTemplate);
|
368
|
-
i0.ɵɵadvance();
|
369
|
-
i0.ɵɵproperty("ngIf", ctx_r3.contentTemplate || ctx_r3._contentTemplate)("ngIfElse", content_r10);
|
370
|
-
i0.ɵɵadvance(3);
|
371
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r3.footerTemplate || ctx_r3._footerTemplate);
|
372
|
-
} }
|
373
197
|
/**
|
374
198
|
* Password directive.
|
375
199
|
* @group Components
|
@@ -627,72 +451,68 @@ class PasswordDirective extends BaseComponent {
|
|
627
451
|
}
|
628
452
|
super.ngOnDestroy();
|
629
453
|
}
|
630
|
-
static ɵfac =
|
631
|
-
static ɵdir =
|
632
|
-
i0.ɵɵlistener("input", function PasswordDirective_input_HostBindingHandler($event) { return ctx.onInput($event); })("focus", function PasswordDirective_focus_HostBindingHandler() { return ctx.onFocus(); })("blur", function PasswordDirective_blur_HostBindingHandler() { return ctx.onBlur(); })("keyup", function PasswordDirective_keyup_HostBindingHandler($event) { return ctx.onKeyup($event); });
|
633
|
-
} if (rf & 2) {
|
634
|
-
i0.ɵɵclassProp("p-inputwrapper-filled", ctx.filled)("p-variant-filled", ctx.variant === "filled" || ctx.config.inputStyle() === "filled" || ctx.config.inputVariant() === "filled")("p-password-fluid-directive", ctx.hasFluid);
|
635
|
-
} }, inputs: { promptLabel: "promptLabel", weakLabel: "weakLabel", mediumLabel: "mediumLabel", strongLabel: "strongLabel", feedback: [2, "feedback", "feedback", booleanAttribute], showPassword: "showPassword", variant: "variant", fluid: [2, "fluid", "fluid", booleanAttribute] }, features: [i0.ɵɵProvidersFeature([PasswordStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature] });
|
454
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PasswordDirective, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
455
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.7", type: PasswordDirective, isStandalone: true, selector: "[pPassword]", inputs: { promptLabel: "promptLabel", weakLabel: "weakLabel", mediumLabel: "mediumLabel", strongLabel: "strongLabel", feedback: ["feedback", "feedback", booleanAttribute], showPassword: "showPassword", variant: "variant", fluid: ["fluid", "fluid", booleanAttribute] }, host: { listeners: { "input": "onInput($event)", "focus": "onFocus()", "blur": "onBlur()", "keyup": "onKeyup($event)" }, properties: { "class.p-inputwrapper-filled": "filled", "class.p-variant-filled": "variant === \"filled\" || config.inputStyle() === \"filled\" || config.inputVariant() === \"filled\"", "class.p-password-fluid-directive": "hasFluid" }, classAttribute: "p-password p-inputtext p-component p-inputwrapper" }, providers: [PasswordStyle], usesInheritance: true, ngImport: i0 });
|
636
456
|
}
|
637
|
-
(
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PasswordDirective, decorators: [{
|
458
|
+
type: Directive,
|
459
|
+
args: [{
|
460
|
+
selector: '[pPassword]',
|
461
|
+
standalone: true,
|
462
|
+
host: {
|
463
|
+
class: 'p-password p-inputtext p-component p-inputwrapper',
|
464
|
+
'[class.p-inputwrapper-filled]': 'filled',
|
465
|
+
'[class.p-variant-filled]': 'variant === "filled" || config.inputStyle() === "filled" || config.inputVariant() === "filled"',
|
466
|
+
'[class.p-password-fluid-directive]': 'hasFluid'
|
467
|
+
},
|
468
|
+
providers: [PasswordStyle]
|
469
|
+
}]
|
470
|
+
}], ctorParameters: () => [{ type: i0.NgZone }], propDecorators: { promptLabel: [{
|
471
|
+
type: Input
|
472
|
+
}], weakLabel: [{
|
473
|
+
type: Input
|
474
|
+
}], mediumLabel: [{
|
475
|
+
type: Input
|
476
|
+
}], strongLabel: [{
|
477
|
+
type: Input
|
478
|
+
}], feedback: [{
|
479
|
+
type: Input,
|
480
|
+
args: [{ transform: booleanAttribute }]
|
481
|
+
}], showPassword: [{
|
482
|
+
type: Input
|
483
|
+
}], variant: [{
|
484
|
+
type: Input
|
485
|
+
}], fluid: [{
|
486
|
+
type: Input,
|
487
|
+
args: [{ transform: booleanAttribute }]
|
488
|
+
}], onInput: [{
|
489
|
+
type: HostListener,
|
490
|
+
args: ['input', ['$event']]
|
491
|
+
}], onFocus: [{
|
492
|
+
type: HostListener,
|
493
|
+
args: ['focus']
|
494
|
+
}], onBlur: [{
|
495
|
+
type: HostListener,
|
496
|
+
args: ['blur']
|
497
|
+
}], onKeyup: [{
|
498
|
+
type: HostListener,
|
499
|
+
args: ['keyup', ['$event']]
|
500
|
+
}] } });
|
681
501
|
class MapperPipe {
|
682
502
|
transform(value, mapper, ...args) {
|
683
503
|
return mapper(value, ...args);
|
684
504
|
}
|
685
|
-
static ɵfac =
|
686
|
-
static ɵpipe =
|
505
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MapperPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
506
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MapperPipe, isStandalone: true, name: "mapper" });
|
687
507
|
}
|
688
|
-
(
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MapperPipe, decorators: [{
|
509
|
+
type: Pipe,
|
510
|
+
args: [{
|
511
|
+
name: 'mapper',
|
512
|
+
pure: true,
|
513
|
+
standalone: true
|
514
|
+
}]
|
515
|
+
}] });
|
696
516
|
const Password_VALUE_ACCESSOR = {
|
697
517
|
provide: NG_VALUE_ACCESSOR,
|
698
518
|
useExisting: forwardRef(() => Password),
|
@@ -843,6 +663,11 @@ class Password extends BaseComponent {
|
|
843
663
|
* @group Props
|
844
664
|
*/
|
845
665
|
variant;
|
666
|
+
/**
|
667
|
+
* Index of the element in tabbing order.
|
668
|
+
* @group Props
|
669
|
+
*/
|
670
|
+
tabindex;
|
846
671
|
/**
|
847
672
|
* Callback to invoke when the component receives focus.
|
848
673
|
* @param {Event} event - Browser event.
|
@@ -1173,61 +998,94 @@ class Password extends BaseComponent {
|
|
1173
998
|
}
|
1174
999
|
super.ngOnDestroy();
|
1175
1000
|
}
|
1176
|
-
static ɵfac =
|
1177
|
-
static ɵcmp =
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1001
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Password, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
1002
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: Password, isStandalone: true, selector: "p-password", inputs: { ariaLabel: "ariaLabel", fluid: ["fluid", "fluid", booleanAttribute], ariaLabelledBy: "ariaLabelledBy", label: "label", disabled: ["disabled", "disabled", booleanAttribute], promptLabel: "promptLabel", mediumRegex: "mediumRegex", strongRegex: "strongRegex", weakLabel: "weakLabel", mediumLabel: "mediumLabel", maxLength: ["maxLength", "maxLength", numberAttribute], strongLabel: "strongLabel", inputId: "inputId", feedback: ["feedback", "feedback", booleanAttribute], appendTo: "appendTo", toggleMask: ["toggleMask", "toggleMask", booleanAttribute], size: "size", inputStyleClass: "inputStyleClass", styleClass: "styleClass", style: "style", inputStyle: "inputStyle", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autocomplete: "autocomplete", placeholder: "placeholder", showClear: ["showClear", "showClear", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], variant: "variant", tabindex: ["tabindex", "tabindex", numberAttribute] }, outputs: { onFocus: "onFocus", onBlur: "onBlur", onClear: "onClear" }, providers: [Password_VALUE_ACCESSOR, PasswordStyle], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "hideIconTemplate", first: true, predicate: ["headericon"] }, { propertyName: "showIconTemplate", first: true, predicate: ["showicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
1003
|
+
<div [ngClass]="rootClass" [ngStyle]="style" [class]="styleClass" [attr.data-pc-name]="'password'" [attr.data-pc-section]="'root'">
|
1004
|
+
<input
|
1005
|
+
#input
|
1006
|
+
[attr.label]="label"
|
1007
|
+
[attr.aria-label]="ariaLabel"
|
1008
|
+
[attr.aria-labelledBy]="ariaLabelledBy"
|
1009
|
+
[attr.id]="inputId"
|
1010
|
+
[attr.tabindex]="tabindex"
|
1011
|
+
pInputText
|
1012
|
+
[disabled]="disabled"
|
1013
|
+
[pSize]="size"
|
1014
|
+
[ngClass]="disabled | mapper: inputFieldClass"
|
1015
|
+
[ngStyle]="inputStyle"
|
1016
|
+
[class]="inputStyleClass"
|
1017
|
+
[attr.type]="unmasked | mapper: inputType"
|
1018
|
+
[attr.placeholder]="placeholder"
|
1019
|
+
[attr.autocomplete]="autocomplete"
|
1020
|
+
[value]="value"
|
1021
|
+
[variant]="variant"
|
1022
|
+
(input)="onInput($event)"
|
1023
|
+
(focus)="onInputFocus($event)"
|
1024
|
+
(blur)="onInputBlur($event)"
|
1025
|
+
(keyup)="onKeyUp($event)"
|
1026
|
+
[attr.maxlength]="maxLength"
|
1027
|
+
[attr.data-pc-section]="'input'"
|
1028
|
+
[pAutoFocus]="autofocus"
|
1029
|
+
/>
|
1030
|
+
<ng-container *ngIf="showClear && value != null">
|
1031
|
+
<TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" class="p-password-clear-icon" (click)="clear()" [attr.data-pc-section]="'clearIcon'" />
|
1032
|
+
<span (click)="clear()" class="p-password-clear-icon" [attr.data-pc-section]="'clearIcon'">
|
1033
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
|
1034
|
+
</span>
|
1035
|
+
</ng-container>
|
1036
|
+
|
1037
|
+
<ng-container *ngIf="toggleMask">
|
1038
|
+
<ng-container *ngIf="unmasked">
|
1039
|
+
<EyeSlashIcon class="p-password-toggle-mask-icon p-password-mask-icon" *ngIf="!hideIconTemplate && !_hideIconTemplate" (click)="onMaskToggle()" [attr.data-pc-section]="'hideIcon'" />
|
1040
|
+
<span *ngIf="hideIconTemplate || _hideIconTemplate" (click)="onMaskToggle()">
|
1041
|
+
<ng-template *ngTemplateOutlet="hideIconTemplate || _hideIconTemplate; context: { class: 'p-password-toggle-mask-icon p-password-mask-icon' }"></ng-template>
|
1042
|
+
</span>
|
1043
|
+
</ng-container>
|
1044
|
+
<ng-container *ngIf="!unmasked">
|
1045
|
+
<EyeIcon *ngIf="!showIconTemplate && !_showIconTemplate" class="p-password-toggle-mask-icon p-password-mask-icon" (click)="onMaskToggle()" [attr.data-pc-section]="'showIcon'" />
|
1046
|
+
<span *ngIf="showIconTemplate || _showIconTemplate" (click)="onMaskToggle()">
|
1047
|
+
<ng-template *ngTemplateOutlet="showIconTemplate || _showIconTemplate"></ng-template>
|
1048
|
+
</span>
|
1049
|
+
</ng-container>
|
1050
|
+
</ng-container>
|
1051
|
+
|
1052
|
+
<div
|
1053
|
+
#overlay
|
1054
|
+
*ngIf="overlayVisible"
|
1055
|
+
class="p-password-overlay p-component"
|
1056
|
+
(click)="onOverlayClick($event)"
|
1057
|
+
[@overlayAnimation]="{
|
1058
|
+
value: 'visible',
|
1059
|
+
params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions }
|
1060
|
+
}"
|
1061
|
+
(@overlayAnimation.start)="onAnimationStart($event)"
|
1062
|
+
(@overlayAnimation.done)="onAnimationEnd($event)"
|
1063
|
+
[attr.data-pc-section]="'panel'"
|
1064
|
+
>
|
1065
|
+
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
|
1066
|
+
<ng-container *ngIf="contentTemplate || _contentTemplate; else content">
|
1067
|
+
<ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate"></ng-container>
|
1068
|
+
</ng-container>
|
1069
|
+
<ng-template #content>
|
1070
|
+
<div class="p-password-content">
|
1071
|
+
<div class="p-password-meter" [attr.data-pc-section]="'meter'">
|
1072
|
+
<div [ngClass]="meter | mapper: strengthClass" [ngStyle]="{ width: meter ? meter.width : '' }" [attr.data-pc-section]="'meterLabel'"></div>
|
1073
|
+
</div>
|
1074
|
+
<div class="p-password-meter-text" [attr.data-pc-section]="'info'">{{ infoText }}</div>
|
1075
|
+
</div>
|
1076
|
+
</ng-template>
|
1077
|
+
<ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
|
1078
|
+
</div>
|
1079
|
+
</div>
|
1080
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["autofocus", "pAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: EyeSlashIcon, selector: "EyeSlashIcon" }, { kind: "component", type: EyeIcon, selector: "EyeIcon" }, { kind: "pipe", type: MapperPipe, name: "mapper" }, { kind: "ngmodule", type: SharedModule }], animations: [trigger('overlayAnimation', [transition(':enter', [style({ opacity: 0, transform: 'scaleY(0.8)' }), animate('{{showTransitionParams}}')]), transition(':leave', [animate('{{hideTransitionParams}}', style({ opacity: 0 }))])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1223
1081
|
}
|
1224
|
-
(
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Password, decorators: [{
|
1083
|
+
type: Component,
|
1084
|
+
args: [{
|
1085
|
+
selector: 'p-password',
|
1086
|
+
standalone: true,
|
1087
|
+
imports: [CommonModule, InputText, AutoFocus, TimesIcon, EyeSlashIcon, EyeIcon, MapperPipe, SharedModule],
|
1088
|
+
template: `
|
1231
1089
|
<div [ngClass]="rootClass" [ngStyle]="style" [class]="styleClass" [attr.data-pc-name]="'password'" [attr.data-pc-section]="'root'">
|
1232
1090
|
<input
|
1233
1091
|
#input
|
@@ -1235,6 +1093,7 @@ class Password extends BaseComponent {
|
|
1235
1093
|
[attr.aria-label]="ariaLabel"
|
1236
1094
|
[attr.aria-labelledBy]="ariaLabelledBy"
|
1237
1095
|
[attr.id]="inputId"
|
1096
|
+
[attr.tabindex]="tabindex"
|
1238
1097
|
pInputText
|
1239
1098
|
[disabled]="disabled"
|
1240
1099
|
[pSize]="size"
|
@@ -1305,119 +1164,120 @@ class Password extends BaseComponent {
|
|
1305
1164
|
</div>
|
1306
1165
|
</div>
|
1307
1166
|
`,
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1167
|
+
animations: [trigger('overlayAnimation', [transition(':enter', [style({ opacity: 0, transform: 'scaleY(0.8)' }), animate('{{showTransitionParams}}')]), transition(':leave', [animate('{{hideTransitionParams}}', style({ opacity: 0 }))])])],
|
1168
|
+
providers: [Password_VALUE_ACCESSOR, PasswordStyle],
|
1169
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
1170
|
+
encapsulation: ViewEncapsulation.None
|
1171
|
+
}]
|
1172
|
+
}], propDecorators: { ariaLabel: [{
|
1173
|
+
type: Input
|
1174
|
+
}], fluid: [{
|
1175
|
+
type: Input,
|
1176
|
+
args: [{ transform: booleanAttribute }]
|
1177
|
+
}], ariaLabelledBy: [{
|
1178
|
+
type: Input
|
1179
|
+
}], label: [{
|
1180
|
+
type: Input
|
1181
|
+
}], disabled: [{
|
1182
|
+
type: Input,
|
1183
|
+
args: [{ transform: booleanAttribute }]
|
1184
|
+
}], promptLabel: [{
|
1185
|
+
type: Input
|
1186
|
+
}], mediumRegex: [{
|
1187
|
+
type: Input
|
1188
|
+
}], strongRegex: [{
|
1189
|
+
type: Input
|
1190
|
+
}], weakLabel: [{
|
1191
|
+
type: Input
|
1192
|
+
}], mediumLabel: [{
|
1193
|
+
type: Input
|
1194
|
+
}], maxLength: [{
|
1195
|
+
type: Input,
|
1196
|
+
args: [{ transform: numberAttribute }]
|
1197
|
+
}], strongLabel: [{
|
1198
|
+
type: Input
|
1199
|
+
}], inputId: [{
|
1200
|
+
type: Input
|
1201
|
+
}], feedback: [{
|
1202
|
+
type: Input,
|
1203
|
+
args: [{ transform: booleanAttribute }]
|
1204
|
+
}], appendTo: [{
|
1205
|
+
type: Input
|
1206
|
+
}], toggleMask: [{
|
1207
|
+
type: Input,
|
1208
|
+
args: [{ transform: booleanAttribute }]
|
1209
|
+
}], size: [{
|
1210
|
+
type: Input
|
1211
|
+
}], inputStyleClass: [{
|
1212
|
+
type: Input
|
1213
|
+
}], styleClass: [{
|
1214
|
+
type: Input
|
1215
|
+
}], style: [{
|
1216
|
+
type: Input
|
1217
|
+
}], inputStyle: [{
|
1218
|
+
type: Input
|
1219
|
+
}], showTransitionOptions: [{
|
1220
|
+
type: Input
|
1221
|
+
}], hideTransitionOptions: [{
|
1222
|
+
type: Input
|
1223
|
+
}], autocomplete: [{
|
1224
|
+
type: Input
|
1225
|
+
}], placeholder: [{
|
1226
|
+
type: Input
|
1227
|
+
}], showClear: [{
|
1228
|
+
type: Input,
|
1229
|
+
args: [{ transform: booleanAttribute }]
|
1230
|
+
}], autofocus: [{
|
1231
|
+
type: Input,
|
1232
|
+
args: [{ transform: booleanAttribute }]
|
1233
|
+
}], variant: [{
|
1234
|
+
type: Input
|
1235
|
+
}], tabindex: [{
|
1236
|
+
type: Input,
|
1237
|
+
args: [{ transform: numberAttribute }]
|
1238
|
+
}], onFocus: [{
|
1239
|
+
type: Output
|
1240
|
+
}], onBlur: [{
|
1241
|
+
type: Output
|
1242
|
+
}], onClear: [{
|
1243
|
+
type: Output
|
1244
|
+
}], input: [{
|
1245
|
+
type: ViewChild,
|
1246
|
+
args: ['input']
|
1247
|
+
}], contentTemplate: [{
|
1248
|
+
type: ContentChild,
|
1249
|
+
args: ['content', { descendants: false }]
|
1250
|
+
}], footerTemplate: [{
|
1251
|
+
type: ContentChild,
|
1252
|
+
args: ['footer', { descendants: false }]
|
1253
|
+
}], headerTemplate: [{
|
1254
|
+
type: ContentChild,
|
1255
|
+
args: ['header', { descendants: false }]
|
1256
|
+
}], clearIconTemplate: [{
|
1257
|
+
type: ContentChild,
|
1258
|
+
args: ['clearicon', { descendants: false }]
|
1259
|
+
}], hideIconTemplate: [{
|
1260
|
+
type: ContentChild,
|
1261
|
+
args: ['headericon', { descendants: false }]
|
1262
|
+
}], showIconTemplate: [{
|
1263
|
+
type: ContentChild,
|
1264
|
+
args: ['showicon', { descendants: false }]
|
1265
|
+
}], templates: [{
|
1266
|
+
type: ContentChildren,
|
1267
|
+
args: [PrimeTemplate]
|
1268
|
+
}] } });
|
1408
1269
|
class PasswordModule {
|
1409
|
-
static ɵfac =
|
1410
|
-
static ɵmod =
|
1411
|
-
static ɵinj =
|
1270
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1271
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: PasswordModule, imports: [Password, PasswordDirective, SharedModule], exports: [PasswordDirective, Password, SharedModule] });
|
1272
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PasswordModule, imports: [Password, SharedModule, SharedModule] });
|
1412
1273
|
}
|
1413
|
-
(
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PasswordModule, { imports: [Password, PasswordDirective, SharedModule], exports: [PasswordDirective, Password, SharedModule] }); })();
|
1274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: PasswordModule, decorators: [{
|
1275
|
+
type: NgModule,
|
1276
|
+
args: [{
|
1277
|
+
imports: [Password, PasswordDirective, SharedModule],
|
1278
|
+
exports: [PasswordDirective, Password, SharedModule]
|
1279
|
+
}]
|
1280
|
+
}] });
|
1421
1281
|
|
1422
1282
|
/**
|
1423
1283
|
* Generated bundle index. Do not edit.
|