@exhaustive-ui/core 3.0.0-alpha.1 → 22.0.0-alpha.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/README.md +3 -3
- package/fesm2022/exhaustive-ui-core-accordion.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-api.mjs +4 -4
- package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs +433 -377
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatar.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatargroup.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-button.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-buttongroup.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-buttongroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-card.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-card.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-carousel.mjs +241 -207
- package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chip.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +80 -72
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +110 -98
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +302 -324
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +944 -794
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +168 -128
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-divider.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-divider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +486 -402
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fluid.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-ban.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-ban.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-bars.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-bars.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-blank.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-blank.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-calendar.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-calendar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-caretright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-caretright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-check.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-check.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-eye.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-eye.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filter.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-home.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-home.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-minus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-minus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-pencil.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-pencil.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-plus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-plus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-refresh.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-refresh.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-search.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-search.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-spinner.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-spinner.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-star.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-star.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-starfill.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-starfill.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-times.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-times.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-trash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-trash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-undo.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-undo.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-upload.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-upload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iftalabel.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-iftalabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-image.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inplace.mjs +5 -5
- package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-knob.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +304 -260
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +7 -7
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menubar.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-message.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-message.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-motion.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +422 -334
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panel.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +5 -5
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +427 -347
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-progressbar.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-progressbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-progressspinner.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-progressspinner.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-radiobutton.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-rating.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-ripple.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-ripple.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scroller.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +392 -338
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-skeleton.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-stepper.mjs +6 -6
- package/fesm2022/exhaustive-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +338 -294
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tabs.mjs +5 -5
- package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tag.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-tag.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-terminal.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +316 -326
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-timeline.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toast.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toolbar.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tooltip.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +12 -8
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/package.json +12 -12
- package/schematics/migrate-from-primeng/index.js +1 -1
- package/schematics/migrations.json +5 -5
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-accordion.d.ts +1 -1
- package/types/exhaustive-ui-core-autocomplete.d.ts +1 -1
- package/types/exhaustive-ui-core-avatar.d.ts +1 -1
- package/types/exhaustive-ui-core-avatargroup.d.ts +1 -1
- package/types/exhaustive-ui-core-badge.d.ts +1 -1
- package/types/exhaustive-ui-core-blockui.d.ts +1 -1
- package/types/exhaustive-ui-core-breadcrumb.d.ts +1 -1
- package/types/exhaustive-ui-core-button.d.ts +1 -1
- package/types/exhaustive-ui-core-buttongroup.d.ts +1 -1
- package/types/exhaustive-ui-core-card.d.ts +1 -1
- package/types/exhaustive-ui-core-carousel.d.ts +1 -1
- package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
- package/types/exhaustive-ui-core-chart.d.ts +1 -1
- package/types/exhaustive-ui-core-checkbox.d.ts +1 -1
- package/types/exhaustive-ui-core-chip.d.ts +1 -1
- package/types/exhaustive-ui-core-colorpicker.d.ts +1 -1
- package/types/exhaustive-ui-core-confirmdialog.d.ts +1 -1
- package/types/exhaustive-ui-core-confirmpopup.d.ts +1 -1
- package/types/exhaustive-ui-core-contextmenu.d.ts +1 -1
- package/types/exhaustive-ui-core-dataview.d.ts +1 -1
- package/types/exhaustive-ui-core-datepicker.d.ts +1 -1
- package/types/exhaustive-ui-core-dialog.d.ts +1 -1
- package/types/exhaustive-ui-core-divider.d.ts +1 -1
- package/types/exhaustive-ui-core-dock.d.ts +1 -1
- package/types/exhaustive-ui-core-drawer.d.ts +1 -1
- package/types/exhaustive-ui-core-dynamicdialog.d.ts +1 -1
- package/types/exhaustive-ui-core-editor.d.ts +1 -1
- package/types/exhaustive-ui-core-fieldset.d.ts +1 -1
- package/types/exhaustive-ui-core-fileupload.d.ts +1 -1
- package/types/exhaustive-ui-core-floatlabel.d.ts +1 -1
- package/types/exhaustive-ui-core-fluid.d.ts +1 -1
- package/types/exhaustive-ui-core-galleria.d.ts +1 -1
- package/types/exhaustive-ui-core-iconfield.d.ts +1 -1
- package/types/exhaustive-ui-core-icons-baseicon.d.ts +1 -1
- package/types/exhaustive-ui-core-iftalabel.d.ts +1 -1
- package/types/exhaustive-ui-core-image.d.ts +1 -1
- package/types/exhaustive-ui-core-imagecompare.d.ts +1 -1
- package/types/exhaustive-ui-core-inplace.d.ts +1 -1
- package/types/exhaustive-ui-core-inputgroup.d.ts +1 -1
- package/types/exhaustive-ui-core-inputmask.d.ts +1 -1
- package/types/exhaustive-ui-core-inputnumber.d.ts +1 -1
- package/types/exhaustive-ui-core-inputotp.d.ts +1 -1
- package/types/exhaustive-ui-core-inputtext.d.ts +1 -1
- package/types/exhaustive-ui-core-knob.d.ts +1 -1
- package/types/exhaustive-ui-core-listbox.d.ts +1 -1
- package/types/exhaustive-ui-core-megamenu.d.ts +1 -1
- package/types/exhaustive-ui-core-menu.d.ts +1 -1
- package/types/exhaustive-ui-core-menubar.d.ts +1 -1
- package/types/exhaustive-ui-core-message.d.ts +1 -1
- package/types/exhaustive-ui-core-metergroup.d.ts +1 -1
- package/types/exhaustive-ui-core-multiselect.d.ts +1 -1
- package/types/exhaustive-ui-core-orderlist.d.ts +1 -1
- package/types/exhaustive-ui-core-organizationchart.d.ts +1 -1
- package/types/exhaustive-ui-core-paginator.d.ts +1 -1
- package/types/exhaustive-ui-core-panel.d.ts +1 -1
- package/types/exhaustive-ui-core-panelmenu.d.ts +1 -1
- package/types/exhaustive-ui-core-password.d.ts +1 -1
- package/types/exhaustive-ui-core-picklist.d.ts +1 -1
- package/types/exhaustive-ui-core-progressbar.d.ts +1 -1
- package/types/exhaustive-ui-core-progressspinner.d.ts +1 -1
- package/types/exhaustive-ui-core-radiobutton.d.ts +1 -1
- package/types/exhaustive-ui-core-rating.d.ts +1 -1
- package/types/exhaustive-ui-core-ripple.d.ts +1 -1
- package/types/exhaustive-ui-core-scroller.d.ts +1 -1
- package/types/exhaustive-ui-core-scrollpanel.d.ts +1 -1
- package/types/exhaustive-ui-core-scrolltop.d.ts +1 -1
- package/types/exhaustive-ui-core-select.d.ts +1 -1
- package/types/exhaustive-ui-core-selectbutton.d.ts +1 -1
- package/types/exhaustive-ui-core-skeleton.d.ts +1 -1
- package/types/exhaustive-ui-core-slider.d.ts +1 -1
- package/types/exhaustive-ui-core-speeddial.d.ts +1 -1
- package/types/exhaustive-ui-core-splitbutton.d.ts +1 -1
- package/types/exhaustive-ui-core-splitter.d.ts +1 -1
- package/types/exhaustive-ui-core-stepper.d.ts +1 -1
- package/types/exhaustive-ui-core-steps.d.ts +1 -1
- package/types/exhaustive-ui-core-table.d.ts +1 -1
- package/types/exhaustive-ui-core-tabs.d.ts +1 -1
- package/types/exhaustive-ui-core-tag.d.ts +1 -1
- package/types/exhaustive-ui-core-terminal.d.ts +1 -1
- package/types/exhaustive-ui-core-textarea.d.ts +1 -1
- package/types/exhaustive-ui-core-tieredmenu.d.ts +1 -1
- package/types/exhaustive-ui-core-timeline.d.ts +1 -1
- package/types/exhaustive-ui-core-toast.d.ts +1 -1
- package/types/exhaustive-ui-core-togglebutton.d.ts +1 -1
- package/types/exhaustive-ui-core-toggleswitch.d.ts +1 -1
- package/types/exhaustive-ui-core-toolbar.d.ts +1 -1
- package/types/exhaustive-ui-core-tooltip.d.ts +1 -1
- package/types/exhaustive-ui-core-tree.d.ts +1 -1
- package/types/exhaustive-ui-core-treeselect.d.ts +1 -1
- package/types/exhaustive-ui-core-treetable.d.ts +1 -1
|
@@ -117,7 +117,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
117
117
|
*
|
|
118
118
|
* AutoComplete is an input component that provides real-time suggestions while being typed.
|
|
119
119
|
*
|
|
120
|
-
* [Live Demo](https://exhaustive-ui.
|
|
120
|
+
* [Live Demo](https://exhaustive-ui.com/autocomplete/)
|
|
121
121
|
*
|
|
122
122
|
* @module autocompletestyle
|
|
123
123
|
*
|
|
@@ -1560,159 +1560,180 @@ class AutoComplete extends BaseInput {
|
|
|
1560
1560
|
clearTimeout(this.hideTimeout());
|
|
1561
1561
|
}
|
|
1562
1562
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: AutoComplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1563
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.1", type: AutoComplete, isStandalone: true, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: { minQueryLength: { classPropertyName: "minQueryLength", publicName: "minQueryLength", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: true, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, inputStyleClass: { classPropertyName: "inputStyleClass", publicName: "inputStyleClass", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: true, isRequired: false, transformFunction: null }, autoHighlight: { classPropertyName: "autoHighlight", publicName: "autoHighlight", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, dropdownAriaLabel: { classPropertyName: "dropdownAriaLabel", publicName: "dropdownAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: true, isRequired: false, transformFunction: null }, unique: { classPropertyName: "unique", publicName: "unique", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, completeOnFocus: { classPropertyName: "completeOnFocus", publicName: "completeOnFocus", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, dropdown: { classPropertyName: "dropdown", publicName: "dropdown", isSignal: true, isRequired: false, transformFunction: null }, showEmptyMessage: { classPropertyName: "showEmptyMessage", publicName: "showEmptyMessage", isSignal: true, isRequired: false, transformFunction: null }, dropdownMode: { classPropertyName: "dropdownMode", publicName: "dropdownMode", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, addOnTab: { classPropertyName: "addOnTab", publicName: "addOnTab", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: true, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: true, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, searchMessage: { classPropertyName: "searchMessage", publicName: "searchMessage", isSignal: true, isRequired: false, transformFunction: null }, emptySelectionMessage: { classPropertyName: "emptySelectionMessage", publicName: "emptySelectionMessage", isSignal: true, isRequired: false, transformFunction: null }, selectionMessage: { classPropertyName: "selectionMessage", publicName: "selectionMessage", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, searchLocale: { classPropertyName: "searchLocale", publicName: "searchLocale", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: true, isRequired: false, transformFunction: null }, typeahead: { classPropertyName: "typeahead", publicName: "typeahead", isSignal: true, isRequired: false, transformFunction: null }, addOnBlur: { classPropertyName: "addOnBlur", publicName: "addOnBlur", isSignal: true, isRequired: false, transformFunction: null }, separator: { classPropertyName: "separator", publicName: "separator", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onAdd: "onAdd", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onInputKeydown: "onInputKeydown", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "class": "cx('root')", "style": "sx('root')", "attr.data-p": "containerDataP()" } }, providers: [AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle, { provide: AUTOCOMPLETE_INSTANCE, useExisting: AutoComplete }, { provide: PARENT_INSTANCE, useExisting: AutoComplete }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true, isSignal: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selecteditem"], descendants: true, isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], descendants: true, isSignal: true }, { propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], descendants: true, isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true, isSignal: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], descendants: true, isSignal: true }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "inputEL", first: true, predicate: ["focusInput"], descendants: true, isSignal: true }, { propertyName: "multiInputEl", first: true, predicate: ["multiIn"], descendants: true, isSignal: true }, { propertyName: "multiContainerEL", first: true, predicate: ["multiContainer"], descendants: true, isSignal: true }, { propertyName: "dropdownButton", first: true, predicate: ["ddBtn"], descendants: true, isSignal: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
<
|
|
1613
|
-
|
|
1614
|
-
|
|
1563
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: AutoComplete, isStandalone: true, selector: "p-autoComplete, p-autocomplete, p-auto-complete", inputs: { minQueryLength: { classPropertyName: "minQueryLength", publicName: "minQueryLength", isSignal: true, isRequired: false, transformFunction: null }, delay: { classPropertyName: "delay", publicName: "delay", isSignal: true, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: true, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: true, isRequired: false, transformFunction: null }, inputStyle: { classPropertyName: "inputStyle", publicName: "inputStyle", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, inputStyleClass: { classPropertyName: "inputStyleClass", publicName: "inputStyleClass", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: true, isRequired: false, transformFunction: null }, autoHighlight: { classPropertyName: "autoHighlight", publicName: "autoHighlight", isSignal: true, isRequired: false, transformFunction: null }, forceSelection: { classPropertyName: "forceSelection", publicName: "forceSelection", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, dropdownAriaLabel: { classPropertyName: "dropdownAriaLabel", publicName: "dropdownAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: true, isRequired: false, transformFunction: null }, unique: { classPropertyName: "unique", publicName: "unique", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, completeOnFocus: { classPropertyName: "completeOnFocus", publicName: "completeOnFocus", isSignal: true, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: true, isRequired: false, transformFunction: null }, dropdown: { classPropertyName: "dropdown", publicName: "dropdown", isSignal: true, isRequired: false, transformFunction: null }, showEmptyMessage: { classPropertyName: "showEmptyMessage", publicName: "showEmptyMessage", isSignal: true, isRequired: false, transformFunction: null }, dropdownMode: { classPropertyName: "dropdownMode", publicName: "dropdownMode", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, addOnTab: { classPropertyName: "addOnTab", publicName: "addOnTab", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: true, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: true, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: true, isRequired: false, transformFunction: null }, suggestions: { classPropertyName: "suggestions", publicName: "suggestions", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, searchMessage: { classPropertyName: "searchMessage", publicName: "searchMessage", isSignal: true, isRequired: false, transformFunction: null }, emptySelectionMessage: { classPropertyName: "emptySelectionMessage", publicName: "emptySelectionMessage", isSignal: true, isRequired: false, transformFunction: null }, selectionMessage: { classPropertyName: "selectionMessage", publicName: "selectionMessage", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, searchLocale: { classPropertyName: "searchLocale", publicName: "searchLocale", isSignal: true, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: true, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: true, isRequired: false, transformFunction: null }, typeahead: { classPropertyName: "typeahead", publicName: "typeahead", isSignal: true, isRequired: false, transformFunction: null }, addOnBlur: { classPropertyName: "addOnBlur", publicName: "addOnBlur", isSignal: true, isRequired: false, transformFunction: null }, separator: { classPropertyName: "separator", publicName: "separator", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onAdd: "onAdd", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onInputKeydown: "onInputKeydown", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onHostClick($event)" }, properties: { "class": "cx('root')", "style": "sx('root')", "attr.data-p": "containerDataP()" } }, providers: [AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle, { provide: AUTOCOMPLETE_INSTANCE, useExisting: AutoComplete }, { provide: PARENT_INSTANCE, useExisting: AutoComplete }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"], descendants: true, isSignal: true }, { propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], descendants: true, isSignal: true }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selecteditem"], descendants: true, isSignal: true }, { propertyName: "groupTemplate", first: true, predicate: ["group"], descendants: true, isSignal: true }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"], descendants: true, isSignal: true }, { propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], descendants: true, isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], descendants: true, isSignal: true }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"], descendants: true, isSignal: true }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"], descendants: true, isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "inputEL", first: true, predicate: ["focusInput"], descendants: true, isSignal: true }, { propertyName: "multiInputEl", first: true, predicate: ["multiIn"], descendants: true, isSignal: true }, { propertyName: "multiContainerEL", first: true, predicate: ["multiContainer"], descendants: true, isSignal: true }, { propertyName: "dropdownButton", first: true, predicate: ["ddBtn"], descendants: true, isSignal: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
1564
|
+
@if (!multiple()) {
|
|
1565
|
+
<input
|
|
1566
|
+
#focusInput
|
|
1567
|
+
[pAutoFocus]="autofocus()"
|
|
1568
|
+
pInputText
|
|
1569
|
+
[pt]="ptm('pcInputText')"
|
|
1570
|
+
[class]="cn(cx('pcInputText'), inputStyleClass())"
|
|
1571
|
+
[ngStyle]="inputStyle()"
|
|
1572
|
+
[attr.type]="type()"
|
|
1573
|
+
[attr.value]="inputValue()"
|
|
1574
|
+
[variant]="$variant()"
|
|
1575
|
+
[invalid]="invalid()"
|
|
1576
|
+
[attr.id]="inputId()"
|
|
1577
|
+
[attr.autocomplete]="autocomplete()"
|
|
1578
|
+
aria-autocomplete="list"
|
|
1579
|
+
role="combobox"
|
|
1580
|
+
[attr.placeholder]="placeholder()"
|
|
1581
|
+
[attr.name]="name()"
|
|
1582
|
+
[attr.minlength]="minlength()"
|
|
1583
|
+
[pSize]="size()"
|
|
1584
|
+
[attr.min]="min()"
|
|
1585
|
+
[attr.max]="max()"
|
|
1586
|
+
[attr.pattern]="pattern()"
|
|
1587
|
+
[attr.size]="inputSize()"
|
|
1588
|
+
[attr.maxlength]="maxlength()"
|
|
1589
|
+
[attr.tabindex]="!$disabled() ? tabindex() : -1"
|
|
1590
|
+
[attr.required]="required() ? '' : undefined"
|
|
1591
|
+
[attr.readonly]="readonly() ? '' : undefined"
|
|
1592
|
+
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1593
|
+
[attr.aria-label]="ariaLabel()"
|
|
1594
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
1595
|
+
[attr.aria-required]="required()"
|
|
1596
|
+
[attr.aria-expanded]="overlayVisible() ?? false"
|
|
1597
|
+
[attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
|
|
1598
|
+
[attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
|
|
1599
|
+
(input)="onInput($event)"
|
|
1600
|
+
(keydown)="onKeyDown($event)"
|
|
1601
|
+
(change)="onInputChange($event)"
|
|
1602
|
+
(focus)="onInputFocus($event)"
|
|
1603
|
+
(blur)="onInputBlur($event)"
|
|
1604
|
+
(paste)="onInputPaste($event)"
|
|
1605
|
+
(keyup)="onInputKeyUp($event)"
|
|
1606
|
+
[fluid]="hasFluid"
|
|
1607
|
+
[pInputTextUnstyled]="unstyled()"
|
|
1608
|
+
/>
|
|
1609
|
+
}
|
|
1610
|
+
@if ($filled() && !$disabled() && showClear() && !loading()) {
|
|
1611
|
+
@if (!clearIconTemplate() && !_clearIconTemplate()) {
|
|
1612
|
+
<svg data-p-icon="times" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
|
|
1613
|
+
}
|
|
1614
|
+
@if (clearIconTemplate() || _clearIconTemplate()) {
|
|
1615
|
+
<span [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
|
|
1616
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
|
|
1617
|
+
</span>
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1615
1620
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
>
|
|
1630
|
-
<li
|
|
1631
|
-
#token
|
|
1632
|
-
*ngFor="let option of modelValue(); let i = index"
|
|
1633
|
-
[pBind]="ptm('chipItem')"
|
|
1634
|
-
[class]="cx('chipItem', { i })"
|
|
1635
|
-
[attr.id]="_id() + '_multiple_option_' + i"
|
|
1636
|
-
role="option"
|
|
1637
|
-
[attr.aria-label]="getOptionLabel(option)"
|
|
1638
|
-
[attr.aria-setsize]="modelValue().length"
|
|
1639
|
-
[attr.aria-posinset]="i + 1"
|
|
1640
|
-
[attr.aria-selected]="true"
|
|
1621
|
+
@if (multiple()) {
|
|
1622
|
+
<ul
|
|
1623
|
+
#multiContainer
|
|
1624
|
+
[pBind]="ptm('inputMultiple')"
|
|
1625
|
+
[class]="cx('inputMultiple')"
|
|
1626
|
+
[attr.data-p]="inputMultipleDataP()"
|
|
1627
|
+
[tabindex]="-1"
|
|
1628
|
+
role="listbox"
|
|
1629
|
+
[attr.aria-orientation]="'horizontal'"
|
|
1630
|
+
[attr.aria-activedescendant]="focused() ? focusedMultipleOptionId() : undefined"
|
|
1631
|
+
(focus)="onMultipleContainerFocus($event)"
|
|
1632
|
+
(blur)="onMultipleContainerBlur($event)"
|
|
1633
|
+
(keydown)="onMultipleContainerKeyDown($event)"
|
|
1641
1634
|
>
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1635
|
+
@for (option of modelValue(); track $index; let i = $index) {
|
|
1636
|
+
<li
|
|
1637
|
+
#token
|
|
1638
|
+
[pBind]="ptm('chipItem')"
|
|
1639
|
+
[class]="cx('chipItem', { i })"
|
|
1640
|
+
[attr.id]="_id() + '_multiple_option_' + i"
|
|
1641
|
+
role="option"
|
|
1642
|
+
[attr.aria-label]="getOptionLabel(option)"
|
|
1643
|
+
[attr.aria-setsize]="modelValue().length"
|
|
1644
|
+
[attr.aria-posinset]="i + 1"
|
|
1645
|
+
[attr.aria-selected]="true"
|
|
1646
|
+
>
|
|
1647
|
+
<p-chip
|
|
1648
|
+
[pt]="ptm('pcChip')"
|
|
1649
|
+
[class]="cx('pcChip')"
|
|
1650
|
+
[label]="!selectedItemTemplate() && !_selectedItemTemplate() && getOptionLabel(option)"
|
|
1651
|
+
[disabled]="$disabled()"
|
|
1652
|
+
[removable]="true"
|
|
1653
|
+
(onRemove)="!readonly() ? removeOption($event, i) : ''"
|
|
1654
|
+
[unstyled]="unstyled()"
|
|
1655
|
+
>
|
|
1656
|
+
<ng-container *ngTemplateOutlet="selectedItemTemplate() || _selectedItemTemplate(); context: { $implicit: option }"></ng-container>
|
|
1657
|
+
<ng-template #removeicon>
|
|
1658
|
+
@if (!removeIconTemplate() && !_removeIconTemplate()) {
|
|
1659
|
+
<span [pBind]="ptm('chipIcon')" [class]="cx('chipIcon')" (click)="!readonly() && !$disabled() ? removeOption($event, i) : ''">
|
|
1660
|
+
<svg data-p-icon="times-circle" [class]="cx('chipIcon')" [attr.aria-hidden]="true" />
|
|
1661
|
+
</span>
|
|
1662
|
+
}
|
|
1663
|
+
@if (removeIconTemplate() || _removeIconTemplate()) {
|
|
1664
|
+
<span [pBind]="ptm('chipIcon')" [attr.aria-hidden]="true">
|
|
1665
|
+
<ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate(); context: { removeCallback: removeOption.bind(this), index: i, class: cx('chipIcon') }"></ng-template>
|
|
1666
|
+
</span>
|
|
1667
|
+
}
|
|
1668
|
+
</ng-template>
|
|
1669
|
+
</p-chip>
|
|
1670
|
+
</li>
|
|
1671
|
+
}
|
|
1672
|
+
<li [pBind]="ptm('inputChip')" [class]="cx('inputChip')" role="option">
|
|
1673
|
+
<input
|
|
1674
|
+
#focusInput
|
|
1675
|
+
#multiIn
|
|
1676
|
+
[pAutoFocus]="autofocus()"
|
|
1677
|
+
[pBind]="ptm('input')"
|
|
1678
|
+
[class]="cx('pcInputText')"
|
|
1679
|
+
[ngStyle]="inputStyle()"
|
|
1680
|
+
[attr.type]="type()"
|
|
1681
|
+
[attr.id]="inputId()"
|
|
1682
|
+
[attr.autocomplete]="autocomplete()"
|
|
1683
|
+
[attr.name]="name()"
|
|
1684
|
+
[attr.minlength]="minlength()"
|
|
1685
|
+
[attr.maxlength]="maxlength()"
|
|
1686
|
+
[attr.size]="size()"
|
|
1687
|
+
[attr.min]="min()"
|
|
1688
|
+
[attr.max]="max()"
|
|
1689
|
+
[attr.pattern]="pattern()"
|
|
1690
|
+
role="combobox"
|
|
1691
|
+
[attr.placeholder]="!$filled() ? placeholder() : null"
|
|
1692
|
+
aria-autocomplete="list"
|
|
1693
|
+
[attr.tabindex]="!$disabled() ? tabindex() : -1"
|
|
1694
|
+
[attr.required]="required() ? '' : undefined"
|
|
1695
|
+
[attr.readonly]="readonly() ? '' : undefined"
|
|
1696
|
+
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1697
|
+
[attr.aria-label]="ariaLabel()"
|
|
1698
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
1699
|
+
[attr.aria-required]="required()"
|
|
1700
|
+
[attr.aria-expanded]="overlayVisible() ?? false"
|
|
1701
|
+
[attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
|
|
1702
|
+
[attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
|
|
1703
|
+
(input)="onInput($event)"
|
|
1704
|
+
(keydown)="onKeyDown($event)"
|
|
1705
|
+
(change)="onInputChange($event)"
|
|
1706
|
+
(focus)="onInputFocus($event)"
|
|
1707
|
+
(blur)="onInputBlur($event)"
|
|
1708
|
+
(paste)="onInputPaste($event)"
|
|
1709
|
+
(keyup)="onInputKeyUp($event)"
|
|
1710
|
+
/>
|
|
1711
|
+
</li>
|
|
1712
|
+
</ul>
|
|
1713
|
+
}
|
|
1714
|
+
@if (loading()) {
|
|
1715
|
+
@if (!loadingIconTemplate() && !_loadingIconTemplate()) {
|
|
1716
|
+
<svg data-p-icon="spinner" [pBind]="ptm('loader')" [class]="cx('loader')" [spin]="true" [attr.aria-hidden]="true" />
|
|
1717
|
+
}
|
|
1718
|
+
@if (loadingIconTemplate() || _loadingIconTemplate()) {
|
|
1719
|
+
<span [pBind]="ptm('loader')" [class]="cx('loader')" [attr.aria-hidden]="true">
|
|
1720
|
+
<ng-template *ngTemplateOutlet="loadingIconTemplate() || _loadingIconTemplate()"></ng-template>
|
|
1721
|
+
</span>
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
@if (dropdown()) {
|
|
1725
|
+
<button #ddBtn type="button" [pBind]="ptm('dropdown')" [attr.aria-label]="dropdownAriaLabel()" [class]="cx('dropdown')" [disabled]="$disabled()" pRipple (click)="handleDropdownClick($event)" [attr.tabindex]="tabindex()">
|
|
1726
|
+
@if (dropdownIcon()) {
|
|
1727
|
+
<span [ngClass]="dropdownIcon()" [attr.aria-hidden]="true"></span>
|
|
1728
|
+
}
|
|
1729
|
+
@if (!dropdownIcon()) {
|
|
1730
|
+
@if (!dropdownIconTemplate() && !_dropdownIconTemplate()) {
|
|
1731
|
+
<svg data-p-icon="chevron-down" [pBind]="ptm('dropdown')" />
|
|
1732
|
+
}
|
|
1733
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-template>
|
|
1734
|
+
}
|
|
1735
|
+
</button>
|
|
1736
|
+
}
|
|
1716
1737
|
<p-overlay
|
|
1717
1738
|
#overlay
|
|
1718
1739
|
[hostAttrSelector]="$attrSelector"
|
|
@@ -1731,43 +1752,46 @@ class AutoComplete extends BaseInput {
|
|
|
1731
1752
|
<div [pBind]="ptm('overlay')" [class]="cn(cx('overlay'), panelStyleClass())" [ngStyle]="panelStyle()">
|
|
1732
1753
|
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
|
|
1733
1754
|
<div [pBind]="ptm('listContainer')" [class]="cx('listContainer')" [style.max-height]="virtualScroll() ? 'auto' : scrollHeight()" [tabindex]="-1">
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
</ng-template>
|
|
1750
|
-
<ng-container *ngIf="loaderTemplate() || _loaderTemplate()">
|
|
1751
|
-
<ng-template #loader let-scrollerOptions="options">
|
|
1752
|
-
<ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
|
|
1755
|
+
@if (virtualScroll()) {
|
|
1756
|
+
<p-scroller
|
|
1757
|
+
#scroller
|
|
1758
|
+
[tabindex]="-1"
|
|
1759
|
+
[pt]="ptm('virtualScroller')"
|
|
1760
|
+
[items]="visibleOptions()"
|
|
1761
|
+
[style]="{ height: scrollHeight() }"
|
|
1762
|
+
[itemSize]="virtualScrollItemSize()"
|
|
1763
|
+
[autoSize]="true"
|
|
1764
|
+
[lazy]="lazy()"
|
|
1765
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
|
1766
|
+
[options]="virtualScrollOptions()"
|
|
1767
|
+
>
|
|
1768
|
+
<ng-template #content let-items let-scrollerOptions="options">
|
|
1769
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
|
1753
1770
|
</ng-template>
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1771
|
+
@if (loaderTemplate() || _loaderTemplate()) {
|
|
1772
|
+
<ng-template #loader let-scrollerOptions="options">
|
|
1773
|
+
<ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
|
|
1774
|
+
</ng-template>
|
|
1775
|
+
}
|
|
1776
|
+
</p-scroller>
|
|
1777
|
+
}
|
|
1778
|
+
@if (!virtualScroll()) {
|
|
1757
1779
|
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
|
1758
|
-
|
|
1780
|
+
}
|
|
1759
1781
|
</div>
|
|
1760
1782
|
|
|
1761
1783
|
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
|
1762
1784
|
<ul #items [pBind]="ptm('list')" [class]="cn(cx('list'), scrollerOptions.contentStyleClass)" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="_id() + '_list'" [attr.aria-label]="listLabel()">
|
|
1763
|
-
|
|
1764
|
-
|
|
1785
|
+
@for (option of items; track $index; let i = $index) {
|
|
1786
|
+
@if (isOptionGroup(option)) {
|
|
1765
1787
|
<li [pBind]="ptm('optionGroup')" [attr.id]="_id() + '_' + getOptionIndex(i, scrollerOptions)" [class]="cx('optionGroup')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1766
|
-
|
|
1788
|
+
@if (!groupTemplate() && !_groupTemplate()) {
|
|
1789
|
+
<span>{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
|
1790
|
+
}
|
|
1767
1791
|
<ng-container *ngTemplateOutlet="groupTemplate() || _groupTemplate(); context: { $implicit: option.optionGroup }"></ng-container>
|
|
1768
1792
|
</li>
|
|
1769
|
-
|
|
1770
|
-
|
|
1793
|
+
}
|
|
1794
|
+
@if (!isOptionGroup(option)) {
|
|
1771
1795
|
<li
|
|
1772
1796
|
pRipple
|
|
1773
1797
|
[pBind]="getPTOptions(option, scrollerOptions, i, 'option')"
|
|
@@ -1785,7 +1809,9 @@ class AutoComplete extends BaseInput {
|
|
|
1785
1809
|
(click)="onOptionSelect($event, option)"
|
|
1786
1810
|
(mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
|
1787
1811
|
>
|
|
1788
|
-
|
|
1812
|
+
@if (!itemTemplate() && !_itemTemplate()) {
|
|
1813
|
+
<span>{{ getOptionLabel(option) }}</span>
|
|
1814
|
+
}
|
|
1789
1815
|
<ng-container
|
|
1790
1816
|
*ngTemplateOutlet="
|
|
1791
1817
|
itemTemplate() || _itemTemplate();
|
|
@@ -1796,14 +1822,16 @@ class AutoComplete extends BaseInput {
|
|
|
1796
1822
|
"
|
|
1797
1823
|
></ng-container>
|
|
1798
1824
|
</li>
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
<
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
@if (!items || (items && items.length === 0 && showEmptyMessage())) {
|
|
1828
|
+
<li [pBind]="ptm('emptyMessage')" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
1829
|
+
@if (!emptyTemplate() && !_emptyTemplate()) {
|
|
1830
|
+
{{ searchResultMessageText() }}
|
|
1831
|
+
}
|
|
1832
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate() || _emptyTemplate()"></ng-container>
|
|
1833
|
+
</li>
|
|
1834
|
+
}
|
|
1807
1835
|
</ul>
|
|
1808
1836
|
</ng-template>
|
|
1809
1837
|
<ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate()"></ng-container>
|
|
@@ -1813,7 +1841,7 @@ class AutoComplete extends BaseInput {
|
|
|
1813
1841
|
</span>
|
|
1814
1842
|
</ng-template>
|
|
1815
1843
|
</p-overlay>
|
|
1816
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.
|
|
1844
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: Overlay, selector: "p-overlay", inputs: ["hostName", "visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "listener", "responsive", "options", "appendTo", "inline", "motionOptions", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onBeforeEnter", "onEnter", "onAfterEnter", "onBeforeLeave", "onLeave", "onAfterLeave"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: TimesCircleIcon, selector: "[data-p-icon=\"times-circle\"]" }, { kind: "component", type: SpinnerIcon, selector: "[data-p-icon=\"spinner\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "disabled", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "ngmodule", type: SharedModule }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1817
1845
|
}
|
|
1818
1846
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: AutoComplete, decorators: [{
|
|
1819
1847
|
type: Component,
|
|
@@ -1821,158 +1849,179 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1821
1849
|
selector: 'p-autoComplete, p-autocomplete, p-auto-complete',
|
|
1822
1850
|
imports: [CommonModule, Overlay, InputText, Ripple, Scroller, AutoFocus, TimesCircleIcon, SpinnerIcon, ChevronDownIcon, Chip, SharedModule, TimesIcon, BindModule],
|
|
1823
1851
|
template: `
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
<
|
|
1873
|
-
|
|
1874
|
-
|
|
1852
|
+
@if (!multiple()) {
|
|
1853
|
+
<input
|
|
1854
|
+
#focusInput
|
|
1855
|
+
[pAutoFocus]="autofocus()"
|
|
1856
|
+
pInputText
|
|
1857
|
+
[pt]="ptm('pcInputText')"
|
|
1858
|
+
[class]="cn(cx('pcInputText'), inputStyleClass())"
|
|
1859
|
+
[ngStyle]="inputStyle()"
|
|
1860
|
+
[attr.type]="type()"
|
|
1861
|
+
[attr.value]="inputValue()"
|
|
1862
|
+
[variant]="$variant()"
|
|
1863
|
+
[invalid]="invalid()"
|
|
1864
|
+
[attr.id]="inputId()"
|
|
1865
|
+
[attr.autocomplete]="autocomplete()"
|
|
1866
|
+
aria-autocomplete="list"
|
|
1867
|
+
role="combobox"
|
|
1868
|
+
[attr.placeholder]="placeholder()"
|
|
1869
|
+
[attr.name]="name()"
|
|
1870
|
+
[attr.minlength]="minlength()"
|
|
1871
|
+
[pSize]="size()"
|
|
1872
|
+
[attr.min]="min()"
|
|
1873
|
+
[attr.max]="max()"
|
|
1874
|
+
[attr.pattern]="pattern()"
|
|
1875
|
+
[attr.size]="inputSize()"
|
|
1876
|
+
[attr.maxlength]="maxlength()"
|
|
1877
|
+
[attr.tabindex]="!$disabled() ? tabindex() : -1"
|
|
1878
|
+
[attr.required]="required() ? '' : undefined"
|
|
1879
|
+
[attr.readonly]="readonly() ? '' : undefined"
|
|
1880
|
+
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1881
|
+
[attr.aria-label]="ariaLabel()"
|
|
1882
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
1883
|
+
[attr.aria-required]="required()"
|
|
1884
|
+
[attr.aria-expanded]="overlayVisible() ?? false"
|
|
1885
|
+
[attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
|
|
1886
|
+
[attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
|
|
1887
|
+
(input)="onInput($event)"
|
|
1888
|
+
(keydown)="onKeyDown($event)"
|
|
1889
|
+
(change)="onInputChange($event)"
|
|
1890
|
+
(focus)="onInputFocus($event)"
|
|
1891
|
+
(blur)="onInputBlur($event)"
|
|
1892
|
+
(paste)="onInputPaste($event)"
|
|
1893
|
+
(keyup)="onInputKeyUp($event)"
|
|
1894
|
+
[fluid]="hasFluid"
|
|
1895
|
+
[pInputTextUnstyled]="unstyled()"
|
|
1896
|
+
/>
|
|
1897
|
+
}
|
|
1898
|
+
@if ($filled() && !$disabled() && showClear() && !loading()) {
|
|
1899
|
+
@if (!clearIconTemplate() && !_clearIconTemplate()) {
|
|
1900
|
+
<svg data-p-icon="times" [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true" />
|
|
1901
|
+
}
|
|
1902
|
+
@if (clearIconTemplate() || _clearIconTemplate()) {
|
|
1903
|
+
<span [pBind]="ptm('clearIcon')" [class]="cx('clearIcon')" (click)="clear()" [attr.aria-hidden]="true">
|
|
1904
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate() || _clearIconTemplate()"></ng-template>
|
|
1905
|
+
</span>
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1875
1908
|
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
>
|
|
1890
|
-
<li
|
|
1891
|
-
#token
|
|
1892
|
-
*ngFor="let option of modelValue(); let i = index"
|
|
1893
|
-
[pBind]="ptm('chipItem')"
|
|
1894
|
-
[class]="cx('chipItem', { i })"
|
|
1895
|
-
[attr.id]="_id() + '_multiple_option_' + i"
|
|
1896
|
-
role="option"
|
|
1897
|
-
[attr.aria-label]="getOptionLabel(option)"
|
|
1898
|
-
[attr.aria-setsize]="modelValue().length"
|
|
1899
|
-
[attr.aria-posinset]="i + 1"
|
|
1900
|
-
[attr.aria-selected]="true"
|
|
1909
|
+
@if (multiple()) {
|
|
1910
|
+
<ul
|
|
1911
|
+
#multiContainer
|
|
1912
|
+
[pBind]="ptm('inputMultiple')"
|
|
1913
|
+
[class]="cx('inputMultiple')"
|
|
1914
|
+
[attr.data-p]="inputMultipleDataP()"
|
|
1915
|
+
[tabindex]="-1"
|
|
1916
|
+
role="listbox"
|
|
1917
|
+
[attr.aria-orientation]="'horizontal'"
|
|
1918
|
+
[attr.aria-activedescendant]="focused() ? focusedMultipleOptionId() : undefined"
|
|
1919
|
+
(focus)="onMultipleContainerFocus($event)"
|
|
1920
|
+
(blur)="onMultipleContainerBlur($event)"
|
|
1921
|
+
(keydown)="onMultipleContainerKeyDown($event)"
|
|
1901
1922
|
>
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1923
|
+
@for (option of modelValue(); track $index; let i = $index) {
|
|
1924
|
+
<li
|
|
1925
|
+
#token
|
|
1926
|
+
[pBind]="ptm('chipItem')"
|
|
1927
|
+
[class]="cx('chipItem', { i })"
|
|
1928
|
+
[attr.id]="_id() + '_multiple_option_' + i"
|
|
1929
|
+
role="option"
|
|
1930
|
+
[attr.aria-label]="getOptionLabel(option)"
|
|
1931
|
+
[attr.aria-setsize]="modelValue().length"
|
|
1932
|
+
[attr.aria-posinset]="i + 1"
|
|
1933
|
+
[attr.aria-selected]="true"
|
|
1934
|
+
>
|
|
1935
|
+
<p-chip
|
|
1936
|
+
[pt]="ptm('pcChip')"
|
|
1937
|
+
[class]="cx('pcChip')"
|
|
1938
|
+
[label]="!selectedItemTemplate() && !_selectedItemTemplate() && getOptionLabel(option)"
|
|
1939
|
+
[disabled]="$disabled()"
|
|
1940
|
+
[removable]="true"
|
|
1941
|
+
(onRemove)="!readonly() ? removeOption($event, i) : ''"
|
|
1942
|
+
[unstyled]="unstyled()"
|
|
1943
|
+
>
|
|
1944
|
+
<ng-container *ngTemplateOutlet="selectedItemTemplate() || _selectedItemTemplate(); context: { $implicit: option }"></ng-container>
|
|
1945
|
+
<ng-template #removeicon>
|
|
1946
|
+
@if (!removeIconTemplate() && !_removeIconTemplate()) {
|
|
1947
|
+
<span [pBind]="ptm('chipIcon')" [class]="cx('chipIcon')" (click)="!readonly() && !$disabled() ? removeOption($event, i) : ''">
|
|
1948
|
+
<svg data-p-icon="times-circle" [class]="cx('chipIcon')" [attr.aria-hidden]="true" />
|
|
1949
|
+
</span>
|
|
1950
|
+
}
|
|
1951
|
+
@if (removeIconTemplate() || _removeIconTemplate()) {
|
|
1952
|
+
<span [pBind]="ptm('chipIcon')" [attr.aria-hidden]="true">
|
|
1953
|
+
<ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate(); context: { removeCallback: removeOption.bind(this), index: i, class: cx('chipIcon') }"></ng-template>
|
|
1954
|
+
</span>
|
|
1955
|
+
}
|
|
1956
|
+
</ng-template>
|
|
1957
|
+
</p-chip>
|
|
1958
|
+
</li>
|
|
1959
|
+
}
|
|
1960
|
+
<li [pBind]="ptm('inputChip')" [class]="cx('inputChip')" role="option">
|
|
1961
|
+
<input
|
|
1962
|
+
#focusInput
|
|
1963
|
+
#multiIn
|
|
1964
|
+
[pAutoFocus]="autofocus()"
|
|
1965
|
+
[pBind]="ptm('input')"
|
|
1966
|
+
[class]="cx('pcInputText')"
|
|
1967
|
+
[ngStyle]="inputStyle()"
|
|
1968
|
+
[attr.type]="type()"
|
|
1969
|
+
[attr.id]="inputId()"
|
|
1970
|
+
[attr.autocomplete]="autocomplete()"
|
|
1971
|
+
[attr.name]="name()"
|
|
1972
|
+
[attr.minlength]="minlength()"
|
|
1973
|
+
[attr.maxlength]="maxlength()"
|
|
1974
|
+
[attr.size]="size()"
|
|
1975
|
+
[attr.min]="min()"
|
|
1976
|
+
[attr.max]="max()"
|
|
1977
|
+
[attr.pattern]="pattern()"
|
|
1978
|
+
role="combobox"
|
|
1979
|
+
[attr.placeholder]="!$filled() ? placeholder() : null"
|
|
1980
|
+
aria-autocomplete="list"
|
|
1981
|
+
[attr.tabindex]="!$disabled() ? tabindex() : -1"
|
|
1982
|
+
[attr.required]="required() ? '' : undefined"
|
|
1983
|
+
[attr.readonly]="readonly() ? '' : undefined"
|
|
1984
|
+
[attr.disabled]="$disabled() ? '' : undefined"
|
|
1985
|
+
[attr.aria-label]="ariaLabel()"
|
|
1986
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
1987
|
+
[attr.aria-required]="required()"
|
|
1988
|
+
[attr.aria-expanded]="overlayVisible() ?? false"
|
|
1989
|
+
[attr.aria-controls]="overlayVisible() ? _id() + '_list' : null"
|
|
1990
|
+
[attr.aria-activedescendant]="focused() ? focusedOptionId() : undefined"
|
|
1991
|
+
(input)="onInput($event)"
|
|
1992
|
+
(keydown)="onKeyDown($event)"
|
|
1993
|
+
(change)="onInputChange($event)"
|
|
1994
|
+
(focus)="onInputFocus($event)"
|
|
1995
|
+
(blur)="onInputBlur($event)"
|
|
1996
|
+
(paste)="onInputPaste($event)"
|
|
1997
|
+
(keyup)="onInputKeyUp($event)"
|
|
1998
|
+
/>
|
|
1999
|
+
</li>
|
|
2000
|
+
</ul>
|
|
2001
|
+
}
|
|
2002
|
+
@if (loading()) {
|
|
2003
|
+
@if (!loadingIconTemplate() && !_loadingIconTemplate()) {
|
|
2004
|
+
<svg data-p-icon="spinner" [pBind]="ptm('loader')" [class]="cx('loader')" [spin]="true" [attr.aria-hidden]="true" />
|
|
2005
|
+
}
|
|
2006
|
+
@if (loadingIconTemplate() || _loadingIconTemplate()) {
|
|
2007
|
+
<span [pBind]="ptm('loader')" [class]="cx('loader')" [attr.aria-hidden]="true">
|
|
2008
|
+
<ng-template *ngTemplateOutlet="loadingIconTemplate() || _loadingIconTemplate()"></ng-template>
|
|
2009
|
+
</span>
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
@if (dropdown()) {
|
|
2013
|
+
<button #ddBtn type="button" [pBind]="ptm('dropdown')" [attr.aria-label]="dropdownAriaLabel()" [class]="cx('dropdown')" [disabled]="$disabled()" pRipple (click)="handleDropdownClick($event)" [attr.tabindex]="tabindex()">
|
|
2014
|
+
@if (dropdownIcon()) {
|
|
2015
|
+
<span [ngClass]="dropdownIcon()" [attr.aria-hidden]="true"></span>
|
|
2016
|
+
}
|
|
2017
|
+
@if (!dropdownIcon()) {
|
|
2018
|
+
@if (!dropdownIconTemplate() && !_dropdownIconTemplate()) {
|
|
2019
|
+
<svg data-p-icon="chevron-down" [pBind]="ptm('dropdown')" />
|
|
2020
|
+
}
|
|
2021
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate() || _dropdownIconTemplate()"></ng-template>
|
|
2022
|
+
}
|
|
2023
|
+
</button>
|
|
2024
|
+
}
|
|
1976
2025
|
<p-overlay
|
|
1977
2026
|
#overlay
|
|
1978
2027
|
[hostAttrSelector]="$attrSelector"
|
|
@@ -1991,43 +2040,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1991
2040
|
<div [pBind]="ptm('overlay')" [class]="cn(cx('overlay'), panelStyleClass())" [ngStyle]="panelStyle()">
|
|
1992
2041
|
<ng-container *ngTemplateOutlet="headerTemplate() || _headerTemplate()"></ng-container>
|
|
1993
2042
|
<div [pBind]="ptm('listContainer')" [class]="cx('listContainer')" [style.max-height]="virtualScroll() ? 'auto' : scrollHeight()" [tabindex]="-1">
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
</ng-template>
|
|
2010
|
-
<ng-container *ngIf="loaderTemplate() || _loaderTemplate()">
|
|
2011
|
-
<ng-template #loader let-scrollerOptions="options">
|
|
2012
|
-
<ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
|
|
2043
|
+
@if (virtualScroll()) {
|
|
2044
|
+
<p-scroller
|
|
2045
|
+
#scroller
|
|
2046
|
+
[tabindex]="-1"
|
|
2047
|
+
[pt]="ptm('virtualScroller')"
|
|
2048
|
+
[items]="visibleOptions()"
|
|
2049
|
+
[style]="{ height: scrollHeight() }"
|
|
2050
|
+
[itemSize]="virtualScrollItemSize()"
|
|
2051
|
+
[autoSize]="true"
|
|
2052
|
+
[lazy]="lazy()"
|
|
2053
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
|
2054
|
+
[options]="virtualScrollOptions()"
|
|
2055
|
+
>
|
|
2056
|
+
<ng-template #content let-items let-scrollerOptions="options">
|
|
2057
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
|
2013
2058
|
</ng-template>
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2059
|
+
@if (loaderTemplate() || _loaderTemplate()) {
|
|
2060
|
+
<ng-template #loader let-scrollerOptions="options">
|
|
2061
|
+
<ng-container *ngTemplateOutlet="loaderTemplate() || _loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
|
|
2062
|
+
</ng-template>
|
|
2063
|
+
}
|
|
2064
|
+
</p-scroller>
|
|
2065
|
+
}
|
|
2066
|
+
@if (!virtualScroll()) {
|
|
2017
2067
|
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
|
2018
|
-
|
|
2068
|
+
}
|
|
2019
2069
|
</div>
|
|
2020
2070
|
|
|
2021
2071
|
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
|
2022
2072
|
<ul #items [pBind]="ptm('list')" [class]="cn(cx('list'), scrollerOptions.contentStyleClass)" [style]="scrollerOptions.contentStyle" role="listbox" [attr.id]="_id() + '_list'" [attr.aria-label]="listLabel()">
|
|
2023
|
-
|
|
2024
|
-
|
|
2073
|
+
@for (option of items; track $index; let i = $index) {
|
|
2074
|
+
@if (isOptionGroup(option)) {
|
|
2025
2075
|
<li [pBind]="ptm('optionGroup')" [attr.id]="_id() + '_' + getOptionIndex(i, scrollerOptions)" [class]="cx('optionGroup')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
2026
|
-
|
|
2076
|
+
@if (!groupTemplate() && !_groupTemplate()) {
|
|
2077
|
+
<span>{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
|
2078
|
+
}
|
|
2027
2079
|
<ng-container *ngTemplateOutlet="groupTemplate() || _groupTemplate(); context: { $implicit: option.optionGroup }"></ng-container>
|
|
2028
2080
|
</li>
|
|
2029
|
-
|
|
2030
|
-
|
|
2081
|
+
}
|
|
2082
|
+
@if (!isOptionGroup(option)) {
|
|
2031
2083
|
<li
|
|
2032
2084
|
pRipple
|
|
2033
2085
|
[pBind]="getPTOptions(option, scrollerOptions, i, 'option')"
|
|
@@ -2045,7 +2097,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
2045
2097
|
(click)="onOptionSelect($event, option)"
|
|
2046
2098
|
(mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
|
2047
2099
|
>
|
|
2048
|
-
|
|
2100
|
+
@if (!itemTemplate() && !_itemTemplate()) {
|
|
2101
|
+
<span>{{ getOptionLabel(option) }}</span>
|
|
2102
|
+
}
|
|
2049
2103
|
<ng-container
|
|
2050
2104
|
*ngTemplateOutlet="
|
|
2051
2105
|
itemTemplate() || _itemTemplate();
|
|
@@ -2056,14 +2110,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
2056
2110
|
"
|
|
2057
2111
|
></ng-container>
|
|
2058
2112
|
</li>
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
<
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
@if (!items || (items && items.length === 0 && showEmptyMessage())) {
|
|
2116
|
+
<li [pBind]="ptm('emptyMessage')" [class]="cx('emptyMessage')" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
|
2117
|
+
@if (!emptyTemplate() && !_emptyTemplate()) {
|
|
2118
|
+
{{ searchResultMessageText() }}
|
|
2119
|
+
}
|
|
2120
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate() || _emptyTemplate()"></ng-container>
|
|
2121
|
+
</li>
|
|
2122
|
+
}
|
|
2067
2123
|
</ul>
|
|
2068
2124
|
</ng-template>
|
|
2069
2125
|
<ng-container *ngTemplateOutlet="footerTemplate() || _footerTemplate()"></ng-container>
|