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
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute,
|
4
|
+
import { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute, Output, Input, Component, inject, signal, computed, effect, ContentChildren, HostBinding, ViewChild, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
5
5
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
6
6
|
import { deepEquals, isNotEmpty, isEmpty, uuid, findSingle, scrollInView, equals, resolveFieldData, focus, unblockBodyScroll, isPrintableCharacter, findLastIndex, getFirstFocusableElement, getLastFocusableElement, getFocusableElements } from '@primeuix/utils';
|
7
7
|
import * as i2 from 'primeng/api';
|
@@ -273,527 +273,16 @@ class DropdownStyle extends BaseStyle {
|
|
273
273
|
name = 'select';
|
274
274
|
theme = theme;
|
275
275
|
classes = classes;
|
276
|
-
static ɵfac =
|
277
|
-
static ɵprov =
|
276
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: DropdownStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
277
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: DropdownStyle });
|
278
278
|
}
|
279
|
-
(
|
280
|
-
|
281
|
-
|
279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: DropdownStyle, decorators: [{
|
280
|
+
type: Injectable
|
281
|
+
}] });
|
282
282
|
var DropdownClasses;
|
283
283
|
(function (DropdownClasses) {
|
284
284
|
})(DropdownClasses || (DropdownClasses = {}));
|
285
285
|
|
286
|
-
const _c0 = a0 => ({ height: a0 });
|
287
|
-
const _c1 = (a0, a1, a2) => ({ "p-select-option": true, "p-select-option-selected": a0, "p-disabled": a1, "p-focus": a2 });
|
288
|
-
const _c2 = a0 => ({ $implicit: a0 });
|
289
|
-
function DropdownItem_ng_container_1_CheckIcon_1_Template(rf, ctx) { if (rf & 1) {
|
290
|
-
i0.ɵɵelement(0, "CheckIcon", 4);
|
291
|
-
} if (rf & 2) {
|
292
|
-
i0.ɵɵproperty("styleClass", "p-select-option-check-icon");
|
293
|
-
} }
|
294
|
-
function DropdownItem_ng_container_1_BlankIcon_2_Template(rf, ctx) { if (rf & 1) {
|
295
|
-
i0.ɵɵelement(0, "BlankIcon", 4);
|
296
|
-
} if (rf & 2) {
|
297
|
-
i0.ɵɵproperty("styleClass", "p-select-option-blank-icon");
|
298
|
-
} }
|
299
|
-
function DropdownItem_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
300
|
-
i0.ɵɵelementContainerStart(0);
|
301
|
-
i0.ɵɵtemplate(1, DropdownItem_ng_container_1_CheckIcon_1_Template, 1, 1, "CheckIcon", 3)(2, DropdownItem_ng_container_1_BlankIcon_2_Template, 1, 1, "BlankIcon", 3);
|
302
|
-
i0.ɵɵelementContainerEnd();
|
303
|
-
} if (rf & 2) {
|
304
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
305
|
-
i0.ɵɵadvance();
|
306
|
-
i0.ɵɵproperty("ngIf", ctx_r0.selected);
|
307
|
-
i0.ɵɵadvance();
|
308
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.selected);
|
309
|
-
} }
|
310
|
-
function DropdownItem_span_2_Template(rf, ctx) { if (rf & 1) {
|
311
|
-
i0.ɵɵelementStart(0, "span");
|
312
|
-
i0.ɵɵtext(1);
|
313
|
-
i0.ɵɵelementEnd();
|
314
|
-
} if (rf & 2) {
|
315
|
-
let tmp_1_0;
|
316
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
317
|
-
i0.ɵɵadvance();
|
318
|
-
i0.ɵɵtextInterpolate((tmp_1_0 = ctx_r0.label) !== null && tmp_1_0 !== undefined ? tmp_1_0 : "empty");
|
319
|
-
} }
|
320
|
-
function DropdownItem_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
321
|
-
i0.ɵɵelementContainer(0);
|
322
|
-
} }
|
323
|
-
const _c3 = ["container"];
|
324
|
-
const _c4 = ["filter"];
|
325
|
-
const _c5 = ["focusInput"];
|
326
|
-
const _c6 = ["editableInput"];
|
327
|
-
const _c7 = ["items"];
|
328
|
-
const _c8 = ["scroller"];
|
329
|
-
const _c9 = ["overlay"];
|
330
|
-
const _c10 = ["firstHiddenFocusableEl"];
|
331
|
-
const _c11 = ["lastHiddenFocusableEl"];
|
332
|
-
const _c12 = () => ({ class: "p-select-clear-icon" });
|
333
|
-
const _c13 = () => ({ class: "p-select-dropdown-icon" });
|
334
|
-
const _c14 = a0 => ({ options: a0 });
|
335
|
-
const _c15 = (a0, a1) => ({ $implicit: a0, options: a1 });
|
336
|
-
const _c16 = () => ({});
|
337
|
-
function Dropdown_span_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
338
|
-
i0.ɵɵelementContainerStart(0);
|
339
|
-
i0.ɵɵtext(1);
|
340
|
-
i0.ɵɵelementContainerEnd();
|
341
|
-
} if (rf & 2) {
|
342
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
343
|
-
i0.ɵɵadvance();
|
344
|
-
i0.ɵɵtextInterpolate(ctx_r2.label() === "p-emptylabel" ? "\u00A0" : ctx_r2.label());
|
345
|
-
} }
|
346
|
-
function Dropdown_span_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
347
|
-
i0.ɵɵelementContainer(0, 23);
|
348
|
-
} if (rf & 2) {
|
349
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
350
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.selectedItemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, ctx_r2.selectedOption));
|
351
|
-
} }
|
352
|
-
function Dropdown_span_0_ng_template_4_span_0_Template(rf, ctx) { if (rf & 1) {
|
353
|
-
i0.ɵɵelementStart(0, "span");
|
354
|
-
i0.ɵɵtext(1);
|
355
|
-
i0.ɵɵelementEnd();
|
356
|
-
} if (rf & 2) {
|
357
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
358
|
-
i0.ɵɵadvance();
|
359
|
-
i0.ɵɵtextInterpolate(ctx_r2.label() === "p-emptylabel" ? "\u00A0" : ctx_r2.label());
|
360
|
-
} }
|
361
|
-
function Dropdown_span_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
362
|
-
i0.ɵɵtemplate(0, Dropdown_span_0_ng_template_4_span_0_Template, 2, 1, "span", 17);
|
363
|
-
} if (rf & 2) {
|
364
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
365
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.selectedOption);
|
366
|
-
} }
|
367
|
-
function Dropdown_span_0_Template(rf, ctx) { if (rf & 1) {
|
368
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
369
|
-
i0.ɵɵelementStart(0, "span", 21, 3);
|
370
|
-
i0.ɵɵlistener("focus", function Dropdown_span_0_Template_span_focus_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputFocus($event)); })("blur", function Dropdown_span_0_Template_span_blur_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputBlur($event)); })("keydown", function Dropdown_span_0_Template_span_keydown_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onKeyDown($event)); });
|
371
|
-
i0.ɵɵtemplate(2, Dropdown_span_0_ng_container_2_Template, 2, 1, "ng-container", 19)(3, Dropdown_span_0_ng_container_3_Template, 1, 4, "ng-container", 22)(4, Dropdown_span_0_ng_template_4_Template, 1, 1, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
372
|
-
i0.ɵɵelementEnd();
|
373
|
-
} if (rf & 2) {
|
374
|
-
let tmp_17_0;
|
375
|
-
const defaultPlaceholder_r4 = i0.ɵɵreference(5);
|
376
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
377
|
-
i0.ɵɵproperty("ngClass", ctx_r2.inputClass)("pTooltip", ctx_r2.tooltip)("tooltipPosition", ctx_r2.tooltipPosition)("positionStyle", ctx_r2.tooltipPositionStyle)("tooltipStyleClass", ctx_r2.tooltipStyleClass)("pAutoFocus", ctx_r2.autofocus);
|
378
|
-
i0.ɵɵattribute("aria-disabled", ctx_r2.disabled)("id", ctx_r2.inputId)("aria-label", ctx_r2.ariaLabel || (ctx_r2.label() === "p-emptylabel" ? undefined : ctx_r2.label()))("aria-labelledby", ctx_r2.ariaLabelledBy)("aria-haspopup", "listbox")("aria-expanded", (tmp_17_0 = ctx_r2.overlayVisible) !== null && tmp_17_0 !== undefined ? tmp_17_0 : false)("aria-controls", ctx_r2.overlayVisible ? ctx_r2.id + "_list" : null)("tabindex", !ctx_r2.disabled ? ctx_r2.tabindex : -1)("aria-activedescendant", ctx_r2.focused ? ctx_r2.focusedOptionId : undefined)("aria-required", ctx_r2.required)("required", ctx_r2.required);
|
379
|
-
i0.ɵɵadvance(2);
|
380
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.selectedItemTemplate)("ngIfElse", defaultPlaceholder_r4);
|
381
|
-
i0.ɵɵadvance();
|
382
|
-
i0.ɵɵproperty("ngIf", ctx_r2.selectedItemTemplate && ctx_r2.selectedOption);
|
383
|
-
} }
|
384
|
-
function Dropdown_input_1_Template(rf, ctx) { if (rf & 1) {
|
385
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
386
|
-
i0.ɵɵelementStart(0, "input", 24, 5);
|
387
|
-
i0.ɵɵlistener("input", function Dropdown_input_1_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onEditableInput($event)); })("keydown", function Dropdown_input_1_Template_input_keydown_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onKeyDown($event)); })("focus", function Dropdown_input_1_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputFocus($event)); })("blur", function Dropdown_input_1_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputBlur($event)); });
|
388
|
-
i0.ɵɵelementEnd();
|
389
|
-
} if (rf & 2) {
|
390
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
391
|
-
i0.ɵɵproperty("ngClass", ctx_r2.inputClass)("disabled", ctx_r2.disabled)("pAutoFocus", ctx_r2.autofocus);
|
392
|
-
i0.ɵɵattribute("id", ctx_r2.inputId)("maxlength", ctx_r2.maxlength)("placeholder", ctx_r2.modelValue() === undefined || ctx_r2.modelValue() === null ? ctx_r2.placeholder() : undefined)("aria-label", ctx_r2.ariaLabel || (ctx_r2.label() === "p-emptylabel" ? undefined : ctx_r2.label()))("aria-activedescendant", ctx_r2.focused ? ctx_r2.focusedOptionId : undefined);
|
393
|
-
} }
|
394
|
-
function Dropdown_ng_container_2_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
|
395
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
396
|
-
i0.ɵɵelementStart(0, "TimesIcon", 26);
|
397
|
-
i0.ɵɵlistener("click", function Dropdown_ng_container_2_TimesIcon_1_Template_TimesIcon_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.clear($event)); });
|
398
|
-
i0.ɵɵelementEnd();
|
399
|
-
} if (rf & 2) {
|
400
|
-
i0.ɵɵattribute("data-pc-section", "clearicon");
|
401
|
-
} }
|
402
|
-
function Dropdown_ng_container_2_span_2_1_ng_template_0_Template(rf, ctx) { }
|
403
|
-
function Dropdown_ng_container_2_span_2_1_Template(rf, ctx) { if (rf & 1) {
|
404
|
-
i0.ɵɵtemplate(0, Dropdown_ng_container_2_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
|
405
|
-
} }
|
406
|
-
function Dropdown_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
407
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
408
|
-
i0.ɵɵelementStart(0, "span", 26);
|
409
|
-
i0.ɵɵlistener("click", function Dropdown_ng_container_2_span_2_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.clear($event)); });
|
410
|
-
i0.ɵɵtemplate(1, Dropdown_ng_container_2_span_2_1_Template, 1, 0, null, 27);
|
411
|
-
i0.ɵɵelementEnd();
|
412
|
-
} if (rf & 2) {
|
413
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
414
|
-
i0.ɵɵattribute("data-pc-section", "clearicon");
|
415
|
-
i0.ɵɵadvance();
|
416
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.clearIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c12));
|
417
|
-
} }
|
418
|
-
function Dropdown_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
419
|
-
i0.ɵɵelementContainerStart(0);
|
420
|
-
i0.ɵɵtemplate(1, Dropdown_ng_container_2_TimesIcon_1_Template, 1, 1, "TimesIcon", 25)(2, Dropdown_ng_container_2_span_2_Template, 2, 4, "span", 25);
|
421
|
-
i0.ɵɵelementContainerEnd();
|
422
|
-
} if (rf & 2) {
|
423
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
424
|
-
i0.ɵɵadvance();
|
425
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.clearIconTemplate);
|
426
|
-
i0.ɵɵadvance();
|
427
|
-
i0.ɵɵproperty("ngIf", ctx_r2.clearIconTemplate);
|
428
|
-
} }
|
429
|
-
function Dropdown_ng_container_4_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
430
|
-
i0.ɵɵelementContainer(0);
|
431
|
-
} }
|
432
|
-
function Dropdown_ng_container_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
433
|
-
i0.ɵɵelementContainerStart(0);
|
434
|
-
i0.ɵɵtemplate(1, Dropdown_ng_container_4_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 28);
|
435
|
-
i0.ɵɵelementContainerEnd();
|
436
|
-
} if (rf & 2) {
|
437
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
438
|
-
i0.ɵɵadvance();
|
439
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loadingIconTemplate);
|
440
|
-
} }
|
441
|
-
function Dropdown_ng_container_4_ng_container_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
442
|
-
i0.ɵɵelement(0, "span", 31);
|
443
|
-
} if (rf & 2) {
|
444
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
445
|
-
i0.ɵɵproperty("ngClass", "p-select-loading-icon pi-spin " + ctx_r2.loadingIcon);
|
446
|
-
} }
|
447
|
-
function Dropdown_ng_container_4_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
448
|
-
i0.ɵɵelement(0, "span", 32);
|
449
|
-
} if (rf & 2) {
|
450
|
-
i0.ɵɵclassMap("p-select-loading-icon pi pi-spinner pi-spin");
|
451
|
-
} }
|
452
|
-
function Dropdown_ng_container_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
453
|
-
i0.ɵɵelementContainerStart(0);
|
454
|
-
i0.ɵɵtemplate(1, Dropdown_ng_container_4_ng_container_2_span_1_Template, 1, 1, "span", 29)(2, Dropdown_ng_container_4_ng_container_2_span_2_Template, 1, 2, "span", 30);
|
455
|
-
i0.ɵɵelementContainerEnd();
|
456
|
-
} if (rf & 2) {
|
457
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
458
|
-
i0.ɵɵadvance();
|
459
|
-
i0.ɵɵproperty("ngIf", ctx_r2.loadingIcon);
|
460
|
-
i0.ɵɵadvance();
|
461
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.loadingIcon);
|
462
|
-
} }
|
463
|
-
function Dropdown_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
464
|
-
i0.ɵɵelementContainerStart(0);
|
465
|
-
i0.ɵɵtemplate(1, Dropdown_ng_container_4_ng_container_1_Template, 2, 1, "ng-container", 17)(2, Dropdown_ng_container_4_ng_container_2_Template, 3, 2, "ng-container", 17);
|
466
|
-
i0.ɵɵelementContainerEnd();
|
467
|
-
} if (rf & 2) {
|
468
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
469
|
-
i0.ɵɵadvance();
|
470
|
-
i0.ɵɵproperty("ngIf", ctx_r2.loadingIconTemplate);
|
471
|
-
i0.ɵɵadvance();
|
472
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.loadingIconTemplate);
|
473
|
-
} }
|
474
|
-
function Dropdown_ng_template_5_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
475
|
-
i0.ɵɵelement(0, "span", 36);
|
476
|
-
} if (rf & 2) {
|
477
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
478
|
-
i0.ɵɵproperty("ngClass", ctx_r2.dropdownIcon);
|
479
|
-
} }
|
480
|
-
function Dropdown_ng_template_5_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) { if (rf & 1) {
|
481
|
-
i0.ɵɵelement(0, "ChevronDownIcon", 37);
|
482
|
-
} if (rf & 2) {
|
483
|
-
i0.ɵɵproperty("styleClass", "p-select-dropdown-icon");
|
484
|
-
} }
|
485
|
-
function Dropdown_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
486
|
-
i0.ɵɵelementContainerStart(0);
|
487
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_5_ng_container_0_span_1_Template, 1, 1, "span", 34)(2, Dropdown_ng_template_5_ng_container_0_ChevronDownIcon_2_Template, 1, 1, "ChevronDownIcon", 35);
|
488
|
-
i0.ɵɵelementContainerEnd();
|
489
|
-
} if (rf & 2) {
|
490
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
491
|
-
i0.ɵɵadvance();
|
492
|
-
i0.ɵɵproperty("ngIf", ctx_r2.dropdownIcon);
|
493
|
-
i0.ɵɵadvance();
|
494
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.dropdownIcon);
|
495
|
-
} }
|
496
|
-
function Dropdown_ng_template_5_span_1_1_ng_template_0_Template(rf, ctx) { }
|
497
|
-
function Dropdown_ng_template_5_span_1_1_Template(rf, ctx) { if (rf & 1) {
|
498
|
-
i0.ɵɵtemplate(0, Dropdown_ng_template_5_span_1_1_ng_template_0_Template, 0, 0, "ng-template");
|
499
|
-
} }
|
500
|
-
function Dropdown_ng_template_5_span_1_Template(rf, ctx) { if (rf & 1) {
|
501
|
-
i0.ɵɵelementStart(0, "span", 38);
|
502
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_5_span_1_1_Template, 1, 0, null, 27);
|
503
|
-
i0.ɵɵelementEnd();
|
504
|
-
} if (rf & 2) {
|
505
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
506
|
-
i0.ɵɵadvance();
|
507
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.dropdownIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c13));
|
508
|
-
} }
|
509
|
-
function Dropdown_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
510
|
-
i0.ɵɵtemplate(0, Dropdown_ng_template_5_ng_container_0_Template, 3, 2, "ng-container", 17)(1, Dropdown_ng_template_5_span_1_Template, 2, 3, "span", 33);
|
511
|
-
} if (rf & 2) {
|
512
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
513
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.dropdownIconTemplate);
|
514
|
-
i0.ɵɵadvance();
|
515
|
-
i0.ɵɵproperty("ngIf", ctx_r2.dropdownIconTemplate);
|
516
|
-
} }
|
517
|
-
function Dropdown_ng_template_9_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
518
|
-
i0.ɵɵelementContainer(0);
|
519
|
-
} }
|
520
|
-
function Dropdown_ng_template_9_div_4_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
521
|
-
i0.ɵɵelementContainer(0);
|
522
|
-
} }
|
523
|
-
function Dropdown_ng_template_9_div_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
524
|
-
i0.ɵɵelementContainerStart(0);
|
525
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_9_div_4_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 27);
|
526
|
-
i0.ɵɵelementContainerEnd();
|
527
|
-
} if (rf & 2) {
|
528
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
529
|
-
i0.ɵɵadvance();
|
530
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c14, ctx_r2.filterOptions));
|
531
|
-
} }
|
532
|
-
function Dropdown_ng_template_9_div_4_ng_template_2_SearchIcon_4_Template(rf, ctx) { if (rf & 1) {
|
533
|
-
i0.ɵɵelement(0, "SearchIcon");
|
534
|
-
} }
|
535
|
-
function Dropdown_ng_template_9_div_4_ng_template_2_span_5_1_ng_template_0_Template(rf, ctx) { }
|
536
|
-
function Dropdown_ng_template_9_div_4_ng_template_2_span_5_1_Template(rf, ctx) { if (rf & 1) {
|
537
|
-
i0.ɵɵtemplate(0, Dropdown_ng_template_9_div_4_ng_template_2_span_5_1_ng_template_0_Template, 0, 0, "ng-template");
|
538
|
-
} }
|
539
|
-
function Dropdown_ng_template_9_div_4_ng_template_2_span_5_Template(rf, ctx) { if (rf & 1) {
|
540
|
-
i0.ɵɵelementStart(0, "span");
|
541
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_9_div_4_ng_template_2_span_5_1_Template, 1, 0, null, 28);
|
542
|
-
i0.ɵɵelementEnd();
|
543
|
-
} if (rf & 2) {
|
544
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
545
|
-
i0.ɵɵadvance();
|
546
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.filterIconTemplate);
|
547
|
-
} }
|
548
|
-
function Dropdown_ng_template_9_div_4_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
549
|
-
const _r10 = i0.ɵɵgetCurrentView();
|
550
|
-
i0.ɵɵelementStart(0, "p-iconfield")(1, "input", 45, 10);
|
551
|
-
i0.ɵɵlistener("input", function Dropdown_ng_template_9_div_4_ng_template_2_Template_input_input_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onFilterInputChange($event)); })("keydown", function Dropdown_ng_template_9_div_4_ng_template_2_Template_input_keydown_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onFilterKeyDown($event)); })("blur", function Dropdown_ng_template_9_div_4_ng_template_2_Template_input_blur_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onFilterBlur($event)); });
|
552
|
-
i0.ɵɵelementEnd();
|
553
|
-
i0.ɵɵelementStart(3, "p-inputicon");
|
554
|
-
i0.ɵɵtemplate(4, Dropdown_ng_template_9_div_4_ng_template_2_SearchIcon_4_Template, 1, 0, "SearchIcon", 17)(5, Dropdown_ng_template_9_div_4_ng_template_2_span_5_Template, 2, 1, "span", 17);
|
555
|
-
i0.ɵɵelementEnd()();
|
556
|
-
} if (rf & 2) {
|
557
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
558
|
-
i0.ɵɵadvance();
|
559
|
-
i0.ɵɵproperty("value", ctx_r2._filterValue() || "")("variant", ctx_r2.variant);
|
560
|
-
i0.ɵɵattribute("placeholder", ctx_r2.filterPlaceholder)("aria-owns", ctx_r2.id + "_list")("aria-label", ctx_r2.ariaFilterLabel)("aria-activedescendant", ctx_r2.focusedOptionId);
|
561
|
-
i0.ɵɵadvance(3);
|
562
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.filterIconTemplate);
|
563
|
-
i0.ɵɵadvance();
|
564
|
-
i0.ɵɵproperty("ngIf", ctx_r2.filterIconTemplate);
|
565
|
-
} }
|
566
|
-
function Dropdown_ng_template_9_div_4_Template(rf, ctx) { if (rf & 1) {
|
567
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
568
|
-
i0.ɵɵelementStart(0, "div", 44);
|
569
|
-
i0.ɵɵlistener("click", function Dropdown_ng_template_9_div_4_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r9); return i0.ɵɵresetView($event.stopPropagation()); });
|
570
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_9_div_4_ng_container_1_Template, 2, 4, "ng-container", 19)(2, Dropdown_ng_template_9_div_4_ng_template_2_Template, 6, 8, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
571
|
-
i0.ɵɵelementEnd();
|
572
|
-
} if (rf & 2) {
|
573
|
-
const builtInFilterElement_r11 = i0.ɵɵreference(3);
|
574
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
575
|
-
i0.ɵɵadvance();
|
576
|
-
i0.ɵɵproperty("ngIf", ctx_r2.filterTemplate)("ngIfElse", builtInFilterElement_r11);
|
577
|
-
} }
|
578
|
-
function Dropdown_ng_template_9_p_scroller_6_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
579
|
-
i0.ɵɵelementContainer(0);
|
580
|
-
} }
|
581
|
-
function Dropdown_ng_template_9_p_scroller_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
582
|
-
i0.ɵɵtemplate(0, Dropdown_ng_template_9_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 27);
|
583
|
-
} if (rf & 2) {
|
584
|
-
const items_r13 = ctx.$implicit;
|
585
|
-
const scrollerOptions_r14 = ctx.options;
|
586
|
-
i0.ɵɵnextContext(2);
|
587
|
-
const buildInItems_r15 = i0.ɵɵreference(9);
|
588
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r15)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c15, items_r13, scrollerOptions_r14));
|
589
|
-
} }
|
590
|
-
function Dropdown_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
591
|
-
i0.ɵɵelementContainer(0);
|
592
|
-
} }
|
593
|
-
function Dropdown_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
594
|
-
i0.ɵɵtemplate(0, Dropdown_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 27);
|
595
|
-
} if (rf & 2) {
|
596
|
-
const scrollerOptions_r16 = ctx.options;
|
597
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
598
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c14, scrollerOptions_r16));
|
599
|
-
} }
|
600
|
-
function Dropdown_ng_template_9_p_scroller_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
601
|
-
i0.ɵɵelementContainerStart(0);
|
602
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_Template, 1, 4, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
603
|
-
i0.ɵɵelementContainerEnd();
|
604
|
-
} }
|
605
|
-
function Dropdown_ng_template_9_p_scroller_6_Template(rf, ctx) { if (rf & 1) {
|
606
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
607
|
-
i0.ɵɵelementStart(0, "p-scroller", 46, 11);
|
608
|
-
i0.ɵɵlistener("onLazyLoad", function Dropdown_ng_template_9_p_scroller_6_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onLazyLoad.emit($event)); });
|
609
|
-
i0.ɵɵtemplate(2, Dropdown_ng_template_9_p_scroller_6_ng_template_2_Template, 1, 5, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(4, Dropdown_ng_template_9_p_scroller_6_ng_container_4_Template, 3, 0, "ng-container", 17);
|
610
|
-
i0.ɵɵelementEnd();
|
611
|
-
} if (rf & 2) {
|
612
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
613
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(8, _c0, ctx_r2.scrollHeight));
|
614
|
-
i0.ɵɵproperty("items", ctx_r2.visibleOptions())("itemSize", ctx_r2.virtualScrollItemSize || ctx_r2._itemSize)("autoSize", true)("lazy", ctx_r2.lazy)("options", ctx_r2.virtualScrollOptions);
|
615
|
-
i0.ɵɵadvance(4);
|
616
|
-
i0.ɵɵproperty("ngIf", ctx_r2.loaderTemplate);
|
617
|
-
} }
|
618
|
-
function Dropdown_ng_template_9_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
619
|
-
i0.ɵɵelementContainer(0);
|
620
|
-
} }
|
621
|
-
function Dropdown_ng_template_9_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
622
|
-
i0.ɵɵelementContainerStart(0);
|
623
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_9_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 27);
|
624
|
-
i0.ɵɵelementContainerEnd();
|
625
|
-
} if (rf & 2) {
|
626
|
-
i0.ɵɵnextContext();
|
627
|
-
const buildInItems_r15 = i0.ɵɵreference(9);
|
628
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
629
|
-
i0.ɵɵadvance();
|
630
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r15)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c15, ctx_r2.visibleOptions(), i0.ɵɵpureFunction0(2, _c16)));
|
631
|
-
} }
|
632
|
-
function Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
633
|
-
i0.ɵɵelementStart(0, "span");
|
634
|
-
i0.ɵɵtext(1);
|
635
|
-
i0.ɵɵelementEnd();
|
636
|
-
} if (rf & 2) {
|
637
|
-
const option_r17 = i0.ɵɵnextContext(2).$implicit;
|
638
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
639
|
-
i0.ɵɵadvance();
|
640
|
-
i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r17.optionGroup));
|
641
|
-
} }
|
642
|
-
function Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
643
|
-
i0.ɵɵelementContainer(0);
|
644
|
-
} }
|
645
|
-
function Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
646
|
-
i0.ɵɵelementContainerStart(0);
|
647
|
-
i0.ɵɵelementStart(1, "li", 50);
|
648
|
-
i0.ɵɵtemplate(2, Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 17)(3, Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 27);
|
649
|
-
i0.ɵɵelementEnd();
|
650
|
-
i0.ɵɵelementContainerEnd();
|
651
|
-
} if (rf & 2) {
|
652
|
-
const ctx_r17 = i0.ɵɵnextContext();
|
653
|
-
const option_r17 = ctx_r17.$implicit;
|
654
|
-
const i_r19 = ctx_r17.index;
|
655
|
-
const scrollerOptions_r20 = i0.ɵɵnextContext().options;
|
656
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
657
|
-
i0.ɵɵadvance();
|
658
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c0, scrollerOptions_r20.itemSize + "px"));
|
659
|
-
i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20));
|
660
|
-
i0.ɵɵadvance();
|
661
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.groupTemplate);
|
662
|
-
i0.ɵɵadvance();
|
663
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c2, option_r17.optionGroup));
|
664
|
-
} }
|
665
|
-
function Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
666
|
-
const _r21 = i0.ɵɵgetCurrentView();
|
667
|
-
i0.ɵɵelementContainerStart(0);
|
668
|
-
i0.ɵɵelementStart(1, "p-dropdownItem", 51);
|
669
|
-
i0.ɵɵlistener("onClick", function Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template_p_dropdownItem_onClick_1_listener($event) { i0.ɵɵrestoreView(_r21); const option_r17 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onOptionSelect($event, option_r17)); })("onMouseEnter", function Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template_p_dropdownItem_onMouseEnter_1_listener($event) { i0.ɵɵrestoreView(_r21); const i_r19 = i0.ɵɵnextContext().index; const scrollerOptions_r20 = i0.ɵɵnextContext().options; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onOptionMouseEnter($event, ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))); });
|
670
|
-
i0.ɵɵelementEnd();
|
671
|
-
i0.ɵɵelementContainerEnd();
|
672
|
-
} if (rf & 2) {
|
673
|
-
const ctx_r17 = i0.ɵɵnextContext();
|
674
|
-
const option_r17 = ctx_r17.$implicit;
|
675
|
-
const i_r19 = ctx_r17.index;
|
676
|
-
const scrollerOptions_r20 = i0.ɵɵnextContext().options;
|
677
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
678
|
-
i0.ɵɵadvance();
|
679
|
-
i0.ɵɵproperty("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))("option", option_r17)("checkmark", ctx_r2.checkmark)("selected", ctx_r2.isSelected(option_r17))("label", ctx_r2.getOptionLabel(option_r17))("disabled", ctx_r2.isOptionDisabled(option_r17))("template", ctx_r2.itemTemplate)("focused", ctx_r2.focusedOptionIndex() === ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))("ariaPosInset", ctx_r2.getAriaPosInset(ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20)))("ariaSetSize", ctx_r2.ariaSetSize);
|
680
|
-
} }
|
681
|
-
function Dropdown_ng_template_9_ng_template_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
682
|
-
i0.ɵɵtemplate(0, Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 17)(1, Dropdown_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template, 2, 10, "ng-container", 17);
|
683
|
-
} if (rf & 2) {
|
684
|
-
const option_r17 = ctx.$implicit;
|
685
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
686
|
-
i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r17));
|
687
|
-
i0.ɵɵadvance();
|
688
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r17));
|
689
|
-
} }
|
690
|
-
function Dropdown_ng_template_9_ng_template_8_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
691
|
-
i0.ɵɵtext(0);
|
692
|
-
} if (rf & 2) {
|
693
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
694
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.emptyFilterMessageLabel, " ");
|
695
|
-
} }
|
696
|
-
function Dropdown_ng_template_9_ng_template_8_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
697
|
-
i0.ɵɵelementContainer(0, null, 14);
|
698
|
-
} }
|
699
|
-
function Dropdown_ng_template_9_ng_template_8_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
700
|
-
i0.ɵɵtemplate(0, Dropdown_ng_template_9_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 2, 0, "ng-container", 28);
|
701
|
-
} if (rf & 2) {
|
702
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
703
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyFilterTemplate || ctx_r2.emptyTemplate);
|
704
|
-
} }
|
705
|
-
function Dropdown_ng_template_9_ng_template_8_li_3_Template(rf, ctx) { if (rf & 1) {
|
706
|
-
i0.ɵɵelementStart(0, "li", 52);
|
707
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_9_ng_template_8_li_3_Conditional_1_Template, 1, 1)(2, Dropdown_ng_template_9_ng_template_8_li_3_Conditional_2_Template, 1, 1, "ng-container");
|
708
|
-
i0.ɵɵelementEnd();
|
709
|
-
} if (rf & 2) {
|
710
|
-
const scrollerOptions_r20 = i0.ɵɵnextContext().options;
|
711
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
712
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r20.itemSize + "px"));
|
713
|
-
i0.ɵɵadvance();
|
714
|
-
i0.ɵɵconditional(!ctx_r2.emptyFilterTemplate && !ctx_r2.emptyTemplate ? 1 : 2);
|
715
|
-
} }
|
716
|
-
function Dropdown_ng_template_9_ng_template_8_li_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
717
|
-
i0.ɵɵtext(0);
|
718
|
-
} if (rf & 2) {
|
719
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
720
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.emptyMessageLabel, " ");
|
721
|
-
} }
|
722
|
-
function Dropdown_ng_template_9_ng_template_8_li_4_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
723
|
-
i0.ɵɵelementContainer(0);
|
724
|
-
} }
|
725
|
-
function Dropdown_ng_template_9_ng_template_8_li_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
726
|
-
i0.ɵɵtemplate(0, Dropdown_ng_template_9_ng_template_8_li_4_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 28);
|
727
|
-
} if (rf & 2) {
|
728
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
729
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyTemplate);
|
730
|
-
} }
|
731
|
-
function Dropdown_ng_template_9_ng_template_8_li_4_Template(rf, ctx) { if (rf & 1) {
|
732
|
-
i0.ɵɵelementStart(0, "li", 52);
|
733
|
-
i0.ɵɵtemplate(1, Dropdown_ng_template_9_ng_template_8_li_4_Conditional_1_Template, 1, 1)(2, Dropdown_ng_template_9_ng_template_8_li_4_Conditional_2_Template, 1, 1, "ng-container");
|
734
|
-
i0.ɵɵelementEnd();
|
735
|
-
} if (rf & 2) {
|
736
|
-
const scrollerOptions_r20 = i0.ɵɵnextContext().options;
|
737
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
738
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r20.itemSize + "px"));
|
739
|
-
i0.ɵɵadvance();
|
740
|
-
i0.ɵɵconditional(!ctx_r2.emptyTemplate ? 1 : 2);
|
741
|
-
} }
|
742
|
-
function Dropdown_ng_template_9_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
743
|
-
i0.ɵɵelementStart(0, "ul", 47, 13);
|
744
|
-
i0.ɵɵtemplate(2, Dropdown_ng_template_9_ng_template_8_ng_template_2_Template, 2, 2, "ng-template", 48)(3, Dropdown_ng_template_9_ng_template_8_li_3_Template, 3, 4, "li", 49)(4, Dropdown_ng_template_9_ng_template_8_li_4_Template, 3, 4, "li", 49);
|
745
|
-
i0.ɵɵelementEnd();
|
746
|
-
} if (rf & 2) {
|
747
|
-
const items_r22 = ctx.$implicit;
|
748
|
-
const scrollerOptions_r20 = ctx.options;
|
749
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
750
|
-
i0.ɵɵstyleMap(scrollerOptions_r20.contentStyle);
|
751
|
-
i0.ɵɵproperty("ngClass", scrollerOptions_r20.contentStyleClass);
|
752
|
-
i0.ɵɵattribute("id", ctx_r2.id + "_list")("aria-label", ctx_r2.listLabel);
|
753
|
-
i0.ɵɵadvance(2);
|
754
|
-
i0.ɵɵproperty("ngForOf", items_r22);
|
755
|
-
i0.ɵɵadvance();
|
756
|
-
i0.ɵɵproperty("ngIf", ctx_r2.filterValue && ctx_r2.isEmpty());
|
757
|
-
i0.ɵɵadvance();
|
758
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.filterValue && ctx_r2.isEmpty());
|
759
|
-
} }
|
760
|
-
function Dropdown_ng_template_9_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
761
|
-
i0.ɵɵelementContainer(0);
|
762
|
-
} }
|
763
|
-
function Dropdown_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
764
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
765
|
-
i0.ɵɵelementStart(0, "div", 39)(1, "span", 40, 6);
|
766
|
-
i0.ɵɵlistener("focus", function Dropdown_ng_template_9_Template_span_focus_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onFirstHiddenFocus($event)); });
|
767
|
-
i0.ɵɵelementEnd();
|
768
|
-
i0.ɵɵtemplate(3, Dropdown_ng_template_9_ng_container_3_Template, 1, 0, "ng-container", 28)(4, Dropdown_ng_template_9_div_4_Template, 4, 2, "div", 41);
|
769
|
-
i0.ɵɵelementStart(5, "div", 42);
|
770
|
-
i0.ɵɵtemplate(6, Dropdown_ng_template_9_p_scroller_6_Template, 5, 10, "p-scroller", 43)(7, Dropdown_ng_template_9_ng_container_7_Template, 2, 6, "ng-container", 17)(8, Dropdown_ng_template_9_ng_template_8_Template, 5, 8, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
771
|
-
i0.ɵɵelementEnd();
|
772
|
-
i0.ɵɵtemplate(10, Dropdown_ng_template_9_ng_container_10_Template, 1, 0, "ng-container", 28);
|
773
|
-
i0.ɵɵelementStart(11, "span", 40, 8);
|
774
|
-
i0.ɵɵlistener("focus", function Dropdown_ng_template_9_Template_span_focus_11_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onLastHiddenFocus($event)); });
|
775
|
-
i0.ɵɵelementEnd()();
|
776
|
-
} if (rf & 2) {
|
777
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
778
|
-
i0.ɵɵclassMap(ctx_r2.panelStyleClass);
|
779
|
-
i0.ɵɵproperty("ngClass", "p-select-overlay p-component")("ngStyle", ctx_r2.panelStyle);
|
780
|
-
i0.ɵɵadvance();
|
781
|
-
i0.ɵɵattribute("tabindex", 0)("data-p-hidden-accessible", true)("data-p-hidden-focusable", true);
|
782
|
-
i0.ɵɵadvance(2);
|
783
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.headerTemplate);
|
784
|
-
i0.ɵɵadvance();
|
785
|
-
i0.ɵɵproperty("ngIf", ctx_r2.filter);
|
786
|
-
i0.ɵɵadvance();
|
787
|
-
i0.ɵɵstyleProp("max-height", ctx_r2.virtualScroll ? "auto" : ctx_r2.scrollHeight || "auto");
|
788
|
-
i0.ɵɵadvance();
|
789
|
-
i0.ɵɵproperty("ngIf", ctx_r2.virtualScroll);
|
790
|
-
i0.ɵɵadvance();
|
791
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.virtualScroll);
|
792
|
-
i0.ɵɵadvance(3);
|
793
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.footerTemplate);
|
794
|
-
i0.ɵɵadvance();
|
795
|
-
i0.ɵɵattribute("tabindex", 0)("data-p-hidden-accessible", true)("data-p-hidden-focusable", true);
|
796
|
-
} }
|
797
286
|
const DROPDOWN_VALUE_ACCESSOR = {
|
798
287
|
provide: NG_VALUE_ACCESSOR,
|
799
288
|
useExisting: forwardRef(() => Dropdown),
|
@@ -820,29 +309,44 @@ class DropdownItem extends BaseComponent {
|
|
820
309
|
onOptionMouseEnter(event) {
|
821
310
|
this.onMouseEnter.emit(event);
|
822
311
|
}
|
823
|
-
static ɵfac =
|
824
|
-
static ɵcmp =
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
312
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: DropdownItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
313
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: DropdownItem, isStandalone: false, selector: "p-dropdownItem", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], focused: ["focused", "focused", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], visible: ["visible", "visible", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", template: "template", checkmark: ["checkmark", "checkmark", booleanAttribute] }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, usesInheritance: true, ngImport: i0, template: `
|
314
|
+
<li
|
315
|
+
[id]="id"
|
316
|
+
(click)="onOptionClick($event)"
|
317
|
+
(mouseenter)="onOptionMouseEnter($event)"
|
318
|
+
role="option"
|
319
|
+
pRipple
|
320
|
+
[attr.aria-label]="label"
|
321
|
+
[attr.aria-setsize]="ariaSetSize"
|
322
|
+
[attr.aria-posinset]="ariaPosInset"
|
323
|
+
[attr.aria-selected]="selected"
|
324
|
+
[attr.data-p-focused]="focused"
|
325
|
+
[attr.data-p-highlight]="selected"
|
326
|
+
[attr.data-p-disabled]="disabled"
|
327
|
+
[ngStyle]="{ height: itemSize + 'px' }"
|
328
|
+
[ngClass]="{
|
329
|
+
'p-select-option': true,
|
330
|
+
'p-select-option-selected': selected,
|
331
|
+
'p-disabled': disabled,
|
332
|
+
'p-focus': focused
|
333
|
+
}"
|
334
|
+
>
|
335
|
+
<ng-container *ngIf="checkmark">
|
336
|
+
<CheckIcon *ngIf="selected" [styleClass]="'p-select-option-check-icon'" />
|
337
|
+
<BlankIcon *ngIf="!selected" [styleClass]="'p-select-option-blank-icon'" />
|
338
|
+
</ng-container>
|
339
|
+
<span *ngIf="!template">{{ label ?? 'empty' }}</span>
|
340
|
+
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
341
|
+
</li>
|
342
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i0.forwardRef(() => Ripple), selector: "[pRipple]" }, { kind: "component", type: i0.forwardRef(() => BlankIcon), selector: "BlankIcon" }, { kind: "component", type: i0.forwardRef(() => CheckIcon), selector: "CheckIcon" }] });
|
839
343
|
}
|
840
|
-
(
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: DropdownItem, decorators: [{
|
345
|
+
type: Component,
|
346
|
+
args: [{
|
347
|
+
selector: 'p-dropdownItem',
|
348
|
+
standalone: false,
|
349
|
+
template: `
|
846
350
|
<li
|
847
351
|
[id]="id"
|
848
352
|
(click)="onOptionClick($event)"
|
@@ -872,43 +376,42 @@ class DropdownItem extends BaseComponent {
|
|
872
376
|
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
873
377
|
</li>
|
874
378
|
`
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownItem, { className: "DropdownItem", filePath: "dropdown.ts", lineNumber: 105 }); })();
|
379
|
+
}]
|
380
|
+
}], propDecorators: { id: [{
|
381
|
+
type: Input
|
382
|
+
}], option: [{
|
383
|
+
type: Input
|
384
|
+
}], selected: [{
|
385
|
+
type: Input,
|
386
|
+
args: [{ transform: booleanAttribute }]
|
387
|
+
}], focused: [{
|
388
|
+
type: Input,
|
389
|
+
args: [{ transform: booleanAttribute }]
|
390
|
+
}], label: [{
|
391
|
+
type: Input
|
392
|
+
}], disabled: [{
|
393
|
+
type: Input,
|
394
|
+
args: [{ transform: booleanAttribute }]
|
395
|
+
}], visible: [{
|
396
|
+
type: Input,
|
397
|
+
args: [{ transform: booleanAttribute }]
|
398
|
+
}], itemSize: [{
|
399
|
+
type: Input,
|
400
|
+
args: [{ transform: numberAttribute }]
|
401
|
+
}], ariaPosInset: [{
|
402
|
+
type: Input
|
403
|
+
}], ariaSetSize: [{
|
404
|
+
type: Input
|
405
|
+
}], template: [{
|
406
|
+
type: Input
|
407
|
+
}], checkmark: [{
|
408
|
+
type: Input,
|
409
|
+
args: [{ transform: booleanAttribute }]
|
410
|
+
}], onClick: [{
|
411
|
+
type: Output
|
412
|
+
}], onMouseEnter: [{
|
413
|
+
type: Output
|
414
|
+
}] } });
|
912
415
|
/**
|
913
416
|
* Dropdown also known as Select, is used to choose an item from a collection of options.
|
914
417
|
* @group Components
|
@@ -1671,6 +1174,7 @@ class Dropdown extends BaseComponent {
|
|
1671
1174
|
return equals(this.modelValue(), this.getOptionValue(option), this.equalityKey());
|
1672
1175
|
}
|
1673
1176
|
ngAfterViewInit() {
|
1177
|
+
super.ngAfterViewInit();
|
1674
1178
|
if (this.editable) {
|
1675
1179
|
this.updateEditableLabel();
|
1676
1180
|
}
|
@@ -2246,73 +1750,233 @@ class Dropdown extends BaseComponent {
|
|
2246
1750
|
this.onClear.emit(event);
|
2247
1751
|
this.resetFilter();
|
2248
1752
|
}
|
2249
|
-
static ɵfac =
|
2250
|
-
static ɵcmp =
|
2251
|
-
|
2252
|
-
|
2253
|
-
|
2254
|
-
|
2255
|
-
|
2256
|
-
|
2257
|
-
|
2258
|
-
|
2259
|
-
|
2260
|
-
|
2261
|
-
|
2262
|
-
|
2263
|
-
|
2264
|
-
|
2265
|
-
|
2266
|
-
|
2267
|
-
|
2268
|
-
|
2269
|
-
|
2270
|
-
|
2271
|
-
|
2272
|
-
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2276
|
-
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
|
2285
|
-
|
2286
|
-
|
2287
|
-
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
|
2300
|
-
|
2301
|
-
|
2302
|
-
|
2303
|
-
|
2304
|
-
|
2305
|
-
|
2306
|
-
|
2307
|
-
|
2308
|
-
|
1753
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Dropdown, deps: [{ token: i0.NgZone }, { token: i2.FilterService }], target: i0.ɵɵFactoryTarget.Component });
|
1754
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: Dropdown, isStandalone: false, selector: "p-dropdown", inputs: { id: "id", scrollHeight: "scrollHeight", filter: ["filter", "filter", booleanAttribute], name: "name", style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", readonly: ["readonly", "readonly", booleanAttribute], required: ["required", "required", booleanAttribute], editable: ["editable", "editable", booleanAttribute], appendTo: "appendTo", tabindex: ["tabindex", "tabindex", numberAttribute], placeholder: "placeholder", loadingIcon: "loadingIcon", filterPlaceholder: "filterPlaceholder", filterLocale: "filterLocale", variant: "variant", inputId: "inputId", dataKey: "dataKey", filterBy: "filterBy", filterFields: "filterFields", autofocus: ["autofocus", "autofocus", booleanAttribute], resetFilterOnHide: ["resetFilterOnHide", "resetFilterOnHide", booleanAttribute], checkmark: ["checkmark", "checkmark", booleanAttribute], dropdownIcon: "dropdownIcon", loading: ["loading", "loading", booleanAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", autoDisplayFirst: ["autoDisplayFirst", "autoDisplayFirst", booleanAttribute], group: ["group", "group", booleanAttribute], showClear: ["showClear", "showClear", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", filterMatchMode: "filterMatchMode", maxlength: ["maxlength", "maxlength", numberAttribute], tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], autofocusFilter: ["autofocusFilter", "autofocusFilter", booleanAttribute], fluid: ["fluid", "fluid", booleanAttribute], disabled: "disabled", itemSize: "itemSize", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", filterValue: "filterValue", options: "options" }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onShow: "onShow", onHide: "onHide", onClear: "onClear", onLazyLoad: "onLazyLoad" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "attr.id": "id", "class": "this.hostClass", "style": "this.hostStyle" } }, providers: [DROPDOWN_VALUE_ACCESSOR, DropdownStyle], queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }, { propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "editableInputViewChild", first: true, predicate: ["editableInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
1755
|
+
<span
|
1756
|
+
#focusInput
|
1757
|
+
[ngClass]="inputClass"
|
1758
|
+
*ngIf="!editable"
|
1759
|
+
[pTooltip]="tooltip"
|
1760
|
+
[tooltipPosition]="tooltipPosition"
|
1761
|
+
[positionStyle]="tooltipPositionStyle"
|
1762
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
1763
|
+
[attr.aria-disabled]="disabled"
|
1764
|
+
[attr.id]="inputId"
|
1765
|
+
role="combobox"
|
1766
|
+
[attr.aria-label]="ariaLabel || (label() === 'p-emptylabel' ? undefined : label())"
|
1767
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
1768
|
+
[attr.aria-haspopup]="'listbox'"
|
1769
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
1770
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
1771
|
+
[attr.tabindex]="!disabled ? tabindex : -1"
|
1772
|
+
[pAutoFocus]="autofocus"
|
1773
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
1774
|
+
(focus)="onInputFocus($event)"
|
1775
|
+
(blur)="onInputBlur($event)"
|
1776
|
+
(keydown)="onKeyDown($event)"
|
1777
|
+
[attr.aria-required]="required"
|
1778
|
+
[attr.required]="required"
|
1779
|
+
>
|
1780
|
+
<ng-container *ngIf="!selectedItemTemplate; else defaultPlaceholder">{{ label() === 'p-emptylabel' ? ' ' : label() }}</ng-container>
|
1781
|
+
<ng-container *ngIf="selectedItemTemplate && selectedOption" [ngTemplateOutlet]="selectedItemTemplate" [ngTemplateOutletContext]="{ $implicit: selectedOption }"></ng-container>
|
1782
|
+
<ng-template #defaultPlaceholder>
|
1783
|
+
<span *ngIf="!selectedOption">{{ label() === 'p-emptylabel' ? ' ' : label() }}</span>
|
1784
|
+
</ng-template>
|
1785
|
+
</span>
|
1786
|
+
<input
|
1787
|
+
*ngIf="editable"
|
1788
|
+
#editableInput
|
1789
|
+
type="text"
|
1790
|
+
[attr.id]="inputId"
|
1791
|
+
[attr.maxlength]="maxlength"
|
1792
|
+
[ngClass]="inputClass"
|
1793
|
+
[disabled]="disabled"
|
1794
|
+
aria-haspopup="listbox"
|
1795
|
+
[attr.placeholder]="modelValue() === undefined || modelValue() === null ? placeholder() : undefined"
|
1796
|
+
[attr.aria-label]="ariaLabel || (label() === 'p-emptylabel' ? undefined : label())"
|
1797
|
+
(input)="onEditableInput($event)"
|
1798
|
+
(keydown)="onKeyDown($event)"
|
1799
|
+
[pAutoFocus]="autofocus"
|
1800
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
1801
|
+
(focus)="onInputFocus($event)"
|
1802
|
+
(blur)="onInputBlur($event)"
|
1803
|
+
/>
|
1804
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
1805
|
+
<TimesIcon class="p-select-clear-icon" (click)="clear($event)" *ngIf="!clearIconTemplate" [attr.data-pc-section]="'clearicon'" />
|
1806
|
+
<span class="p-select-clear-icon" (click)="clear($event)" *ngIf="clearIconTemplate" [attr.data-pc-section]="'clearicon'">
|
1807
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate; context: { class: 'p-select-clear-icon' }"></ng-template>
|
1808
|
+
</span>
|
1809
|
+
</ng-container>
|
1810
|
+
|
1811
|
+
<div class="p-select-dropdown" role="button" aria-label="dropdown trigger" aria-haspopup="listbox" [attr.aria-expanded]="overlayVisible ?? false" [attr.data-pc-section]="'trigger'">
|
1812
|
+
<ng-container *ngIf="loading; else elseBlock">
|
1813
|
+
<ng-container *ngIf="loadingIconTemplate">
|
1814
|
+
<ng-container *ngTemplateOutlet="loadingIconTemplate"></ng-container>
|
1815
|
+
</ng-container>
|
1816
|
+
<ng-container *ngIf="!loadingIconTemplate">
|
1817
|
+
<span *ngIf="loadingIcon" [ngClass]="'p-select-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
1818
|
+
<span *ngIf="!loadingIcon" [class]="'p-select-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
1819
|
+
</ng-container>
|
1820
|
+
</ng-container>
|
1821
|
+
|
1822
|
+
<ng-template #elseBlock>
|
1823
|
+
<ng-container *ngIf="!dropdownIconTemplate">
|
1824
|
+
<span class="p-select-dropdown-icon" *ngIf="dropdownIcon" [ngClass]="dropdownIcon"></span>
|
1825
|
+
<ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-select-dropdown-icon'" />
|
1826
|
+
</ng-container>
|
1827
|
+
<span *ngIf="dropdownIconTemplate" class="p-select-dropdown-icon">
|
1828
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate; context: { class: 'p-select-dropdown-icon' }"></ng-template>
|
1829
|
+
</span>
|
1830
|
+
</ng-template>
|
1831
|
+
</div>
|
1832
|
+
|
1833
|
+
<p-overlay
|
1834
|
+
#overlay
|
1835
|
+
[(visible)]="overlayVisible"
|
1836
|
+
[options]="overlayOptions"
|
1837
|
+
[target]="'@parent'"
|
1838
|
+
[appendTo]="appendTo"
|
1839
|
+
[autoZIndex]="autoZIndex"
|
1840
|
+
[baseZIndex]="baseZIndex"
|
1841
|
+
[showTransitionOptions]="showTransitionOptions"
|
1842
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
1843
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
1844
|
+
(onHide)="hide()"
|
1845
|
+
>
|
1846
|
+
<ng-template #content>
|
1847
|
+
<div [ngClass]="'p-select-overlay p-component'" [ngStyle]="panelStyle" [class]="panelStyleClass">
|
1848
|
+
<span
|
1849
|
+
#firstHiddenFocusableEl
|
1850
|
+
role="presentation"
|
1851
|
+
class="p-hidden-accessible p-hidden-focusable"
|
1852
|
+
[attr.tabindex]="0"
|
1853
|
+
(focus)="onFirstHiddenFocus($event)"
|
1854
|
+
[attr.data-p-hidden-accessible]="true"
|
1855
|
+
[attr.data-p-hidden-focusable]="true"
|
1856
|
+
>
|
1857
|
+
</span>
|
1858
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
1859
|
+
<div class="p-select-header" *ngIf="filter" (click)="$event.stopPropagation()">
|
1860
|
+
<ng-container *ngIf="filterTemplate; else builtInFilterElement">
|
1861
|
+
<ng-container *ngTemplateOutlet="filterTemplate; context: { options: filterOptions }"></ng-container>
|
1862
|
+
</ng-container>
|
1863
|
+
<ng-template #builtInFilterElement>
|
1864
|
+
<p-iconfield>
|
1865
|
+
<input
|
1866
|
+
#filter
|
1867
|
+
pInputText
|
1868
|
+
type="text"
|
1869
|
+
role="searchbox"
|
1870
|
+
autocomplete="off"
|
1871
|
+
[value]="_filterValue() || ''"
|
1872
|
+
class="p-select-filter"
|
1873
|
+
[variant]="variant"
|
1874
|
+
[attr.placeholder]="filterPlaceholder"
|
1875
|
+
[attr.aria-owns]="id + '_list'"
|
1876
|
+
(input)="onFilterInputChange($event)"
|
1877
|
+
[attr.aria-label]="ariaFilterLabel"
|
1878
|
+
[attr.aria-activedescendant]="focusedOptionId"
|
1879
|
+
(keydown)="onFilterKeyDown($event)"
|
1880
|
+
(blur)="onFilterBlur($event)"
|
1881
|
+
/>
|
1882
|
+
<p-inputicon>
|
1883
|
+
<SearchIcon *ngIf="!filterIconTemplate" />
|
1884
|
+
<span *ngIf="filterIconTemplate">
|
1885
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate"></ng-template>
|
1886
|
+
</span>
|
1887
|
+
</p-inputicon>
|
1888
|
+
</p-iconfield>
|
1889
|
+
</ng-template>
|
1890
|
+
</div>
|
1891
|
+
<div class="p-select-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
|
1892
|
+
<p-scroller
|
1893
|
+
*ngIf="virtualScroll"
|
1894
|
+
#scroller
|
1895
|
+
[items]="visibleOptions()"
|
1896
|
+
[style]="{ height: scrollHeight }"
|
1897
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
1898
|
+
[autoSize]="true"
|
1899
|
+
[lazy]="lazy"
|
1900
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
1901
|
+
[options]="virtualScrollOptions"
|
1902
|
+
>
|
1903
|
+
<ng-template #content let-items let-scrollerOptions="options">
|
1904
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
1905
|
+
</ng-template>
|
1906
|
+
<ng-container *ngIf="loaderTemplate">
|
1907
|
+
<ng-template #loader let-scrollerOptions="options">
|
1908
|
+
<ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
1909
|
+
</ng-template>
|
1910
|
+
</ng-container>
|
1911
|
+
</p-scroller>
|
1912
|
+
<ng-container *ngIf="!virtualScroll">
|
1913
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
1914
|
+
</ng-container>
|
1915
|
+
|
1916
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
1917
|
+
<ul #items [attr.id]="id + '_list'" [attr.aria-label]="listLabel" class="p-select-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox">
|
1918
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
1919
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
1920
|
+
<li class="p-select-option-group" [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
1921
|
+
<span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
1922
|
+
<ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
|
1923
|
+
</li>
|
1924
|
+
</ng-container>
|
1925
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
1926
|
+
<p-dropdownItem
|
1927
|
+
[id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
1928
|
+
[option]="option"
|
1929
|
+
[checkmark]="checkmark"
|
1930
|
+
[selected]="isSelected(option)"
|
1931
|
+
[label]="getOptionLabel(option)"
|
1932
|
+
[disabled]="isOptionDisabled(option)"
|
1933
|
+
[template]="itemTemplate"
|
1934
|
+
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
1935
|
+
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
1936
|
+
[ariaSetSize]="ariaSetSize"
|
1937
|
+
(onClick)="onOptionSelect($event, option)"
|
1938
|
+
(onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
1939
|
+
></p-dropdownItem>
|
1940
|
+
</ng-container>
|
1941
|
+
</ng-template>
|
1942
|
+
<li *ngIf="filterValue && isEmpty()" class="p-select-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
1943
|
+
@if (!emptyFilterTemplate && !emptyTemplate) {
|
1944
|
+
{{ emptyFilterMessageLabel }}
|
1945
|
+
} @else {
|
1946
|
+
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || emptyTemplate"></ng-container>
|
1947
|
+
}
|
1948
|
+
</li>
|
1949
|
+
<li *ngIf="!filterValue && isEmpty()" class="p-select-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
1950
|
+
@if (!emptyTemplate) {
|
1951
|
+
{{ emptyMessageLabel }}
|
1952
|
+
} @else {
|
1953
|
+
<ng-container *ngTemplateOutlet="emptyTemplate"></ng-container>
|
1954
|
+
}
|
1955
|
+
</li>
|
1956
|
+
</ul>
|
1957
|
+
</ng-template>
|
1958
|
+
</div>
|
1959
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
1960
|
+
<span
|
1961
|
+
#lastHiddenFocusableEl
|
1962
|
+
role="presentation"
|
1963
|
+
class="p-hidden-accessible p-hidden-focusable"
|
1964
|
+
[attr.tabindex]="0"
|
1965
|
+
(focus)="onLastHiddenFocus($event)"
|
1966
|
+
[attr.data-p-hidden-accessible]="true"
|
1967
|
+
[attr.data-p-hidden-focusable]="true"
|
1968
|
+
></span>
|
1969
|
+
</div>
|
1970
|
+
</ng-template>
|
1971
|
+
</p-overlay>
|
1972
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => i3.Overlay), selector: "p-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: i0.forwardRef(() => i4.Tooltip), selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i0.forwardRef(() => Scroller), selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["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: i0.forwardRef(() => i5.AutoFocus), selector: "[pAutoFocus]", inputs: ["autofocus", "pAutoFocus"] }, { kind: "component", type: i0.forwardRef(() => TimesIcon), selector: "TimesIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronDownIcon), selector: "ChevronDownIcon" }, { kind: "component", type: i0.forwardRef(() => SearchIcon), selector: "SearchIcon" }, { kind: "directive", type: i0.forwardRef(() => i6.InputText), selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: i0.forwardRef(() => IconField), selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "component", type: i0.forwardRef(() => InputIcon), selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "component", type: i0.forwardRef(() => DropdownItem), selector: "p-dropdownItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark"], outputs: ["onClick", "onMouseEnter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
2309
1973
|
}
|
2310
|
-
(
|
2311
|
-
|
2312
|
-
|
2313
|
-
|
2314
|
-
|
2315
|
-
|
1974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Dropdown, decorators: [{
|
1975
|
+
type: Component,
|
1976
|
+
args: [{
|
1977
|
+
selector: 'p-dropdown',
|
1978
|
+
standalone: false,
|
1979
|
+
template: `
|
2316
1980
|
<span
|
2317
1981
|
#focusInput
|
2318
1982
|
[ngClass]="inputClass"
|
@@ -2531,233 +2195,231 @@ class Dropdown extends BaseComponent {
|
|
2531
2195
|
</ng-template>
|
2532
2196
|
</p-overlay>
|
2533
2197
|
`,
|
2534
|
-
|
2535
|
-
|
2536
|
-
|
2537
|
-
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
|
2542
|
-
|
2543
|
-
|
2544
|
-
|
2545
|
-
|
2546
|
-
|
2547
|
-
|
2548
|
-
|
2549
|
-
|
2550
|
-
|
2551
|
-
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2555
|
-
|
2556
|
-
|
2557
|
-
|
2558
|
-
|
2559
|
-
|
2560
|
-
|
2561
|
-
|
2562
|
-
|
2563
|
-
|
2564
|
-
|
2565
|
-
|
2566
|
-
|
2567
|
-
|
2568
|
-
|
2569
|
-
|
2570
|
-
|
2571
|
-
|
2572
|
-
|
2573
|
-
|
2574
|
-
|
2575
|
-
|
2576
|
-
|
2577
|
-
|
2578
|
-
|
2579
|
-
|
2580
|
-
|
2581
|
-
|
2582
|
-
|
2583
|
-
|
2584
|
-
|
2585
|
-
|
2586
|
-
|
2587
|
-
|
2588
|
-
|
2589
|
-
|
2590
|
-
|
2591
|
-
|
2592
|
-
|
2593
|
-
|
2594
|
-
|
2595
|
-
|
2596
|
-
|
2597
|
-
|
2598
|
-
|
2599
|
-
|
2600
|
-
|
2601
|
-
|
2602
|
-
|
2603
|
-
|
2604
|
-
|
2605
|
-
|
2606
|
-
|
2607
|
-
|
2608
|
-
|
2609
|
-
|
2610
|
-
|
2611
|
-
|
2612
|
-
|
2613
|
-
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2617
|
-
|
2618
|
-
|
2619
|
-
|
2620
|
-
|
2621
|
-
|
2622
|
-
|
2623
|
-
|
2624
|
-
|
2625
|
-
|
2626
|
-
|
2627
|
-
|
2628
|
-
|
2629
|
-
|
2630
|
-
|
2631
|
-
|
2632
|
-
|
2633
|
-
|
2634
|
-
|
2635
|
-
|
2636
|
-
|
2637
|
-
|
2638
|
-
|
2639
|
-
|
2640
|
-
|
2641
|
-
|
2642
|
-
|
2643
|
-
|
2644
|
-
|
2645
|
-
|
2646
|
-
|
2647
|
-
|
2648
|
-
|
2649
|
-
|
2650
|
-
|
2651
|
-
|
2652
|
-
|
2653
|
-
|
2654
|
-
|
2655
|
-
|
2656
|
-
|
2657
|
-
|
2658
|
-
|
2659
|
-
|
2660
|
-
|
2661
|
-
|
2662
|
-
|
2663
|
-
|
2664
|
-
|
2665
|
-
|
2666
|
-
|
2667
|
-
|
2668
|
-
|
2669
|
-
|
2670
|
-
|
2671
|
-
|
2672
|
-
|
2673
|
-
|
2674
|
-
|
2675
|
-
|
2676
|
-
|
2677
|
-
|
2678
|
-
|
2679
|
-
|
2680
|
-
|
2681
|
-
|
2682
|
-
|
2683
|
-
|
2684
|
-
|
2685
|
-
|
2686
|
-
|
2687
|
-
|
2688
|
-
|
2689
|
-
|
2690
|
-
|
2691
|
-
|
2692
|
-
|
2693
|
-
|
2694
|
-
|
2695
|
-
|
2696
|
-
|
2697
|
-
|
2698
|
-
|
2699
|
-
|
2700
|
-
|
2701
|
-
|
2702
|
-
|
2703
|
-
|
2704
|
-
|
2705
|
-
|
2706
|
-
|
2707
|
-
|
2708
|
-
|
2709
|
-
|
2710
|
-
|
2711
|
-
|
2712
|
-
|
2713
|
-
|
2714
|
-
|
2715
|
-
|
2716
|
-
|
2717
|
-
|
2718
|
-
|
2719
|
-
|
2720
|
-
|
2721
|
-
|
2722
|
-
|
2723
|
-
|
2724
|
-
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
|
2731
|
-
|
2732
|
-
|
2733
|
-
|
2734
|
-
|
2735
|
-
|
2736
|
-
|
2737
|
-
|
2738
|
-
|
2739
|
-
|
2740
|
-
|
2741
|
-
|
2742
|
-
|
2743
|
-
|
2744
|
-
|
2745
|
-
|
2746
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Dropdown, { className: "Dropdown", filePath: "dropdown.ts", lineNumber: 377 }); })();
|
2198
|
+
host: {
|
2199
|
+
'[attr.id]': 'id',
|
2200
|
+
'(click)': 'onContainerClick($event)'
|
2201
|
+
},
|
2202
|
+
providers: [DROPDOWN_VALUE_ACCESSOR, DropdownStyle],
|
2203
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2204
|
+
encapsulation: ViewEncapsulation.None
|
2205
|
+
}]
|
2206
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i2.FilterService }], propDecorators: { id: [{
|
2207
|
+
type: Input
|
2208
|
+
}], scrollHeight: [{
|
2209
|
+
type: Input
|
2210
|
+
}], filter: [{
|
2211
|
+
type: Input,
|
2212
|
+
args: [{ transform: booleanAttribute }]
|
2213
|
+
}], name: [{
|
2214
|
+
type: Input
|
2215
|
+
}], style: [{
|
2216
|
+
type: Input
|
2217
|
+
}], panelStyle: [{
|
2218
|
+
type: Input
|
2219
|
+
}], styleClass: [{
|
2220
|
+
type: Input
|
2221
|
+
}], panelStyleClass: [{
|
2222
|
+
type: Input
|
2223
|
+
}], readonly: [{
|
2224
|
+
type: Input,
|
2225
|
+
args: [{ transform: booleanAttribute }]
|
2226
|
+
}], required: [{
|
2227
|
+
type: Input,
|
2228
|
+
args: [{ transform: booleanAttribute }]
|
2229
|
+
}], editable: [{
|
2230
|
+
type: Input,
|
2231
|
+
args: [{ transform: booleanAttribute }]
|
2232
|
+
}], appendTo: [{
|
2233
|
+
type: Input
|
2234
|
+
}], tabindex: [{
|
2235
|
+
type: Input,
|
2236
|
+
args: [{ transform: numberAttribute }]
|
2237
|
+
}], placeholder: [{
|
2238
|
+
type: Input
|
2239
|
+
}], loadingIcon: [{
|
2240
|
+
type: Input
|
2241
|
+
}], filterPlaceholder: [{
|
2242
|
+
type: Input
|
2243
|
+
}], filterLocale: [{
|
2244
|
+
type: Input
|
2245
|
+
}], variant: [{
|
2246
|
+
type: Input
|
2247
|
+
}], inputId: [{
|
2248
|
+
type: Input
|
2249
|
+
}], dataKey: [{
|
2250
|
+
type: Input
|
2251
|
+
}], filterBy: [{
|
2252
|
+
type: Input
|
2253
|
+
}], filterFields: [{
|
2254
|
+
type: Input
|
2255
|
+
}], autofocus: [{
|
2256
|
+
type: Input,
|
2257
|
+
args: [{ transform: booleanAttribute }]
|
2258
|
+
}], resetFilterOnHide: [{
|
2259
|
+
type: Input,
|
2260
|
+
args: [{ transform: booleanAttribute }]
|
2261
|
+
}], checkmark: [{
|
2262
|
+
type: Input,
|
2263
|
+
args: [{ transform: booleanAttribute }]
|
2264
|
+
}], dropdownIcon: [{
|
2265
|
+
type: Input
|
2266
|
+
}], loading: [{
|
2267
|
+
type: Input,
|
2268
|
+
args: [{ transform: booleanAttribute }]
|
2269
|
+
}], optionLabel: [{
|
2270
|
+
type: Input
|
2271
|
+
}], optionValue: [{
|
2272
|
+
type: Input
|
2273
|
+
}], optionDisabled: [{
|
2274
|
+
type: Input
|
2275
|
+
}], optionGroupLabel: [{
|
2276
|
+
type: Input
|
2277
|
+
}], optionGroupChildren: [{
|
2278
|
+
type: Input
|
2279
|
+
}], autoDisplayFirst: [{
|
2280
|
+
type: Input,
|
2281
|
+
args: [{ transform: booleanAttribute }]
|
2282
|
+
}], group: [{
|
2283
|
+
type: Input,
|
2284
|
+
args: [{ transform: booleanAttribute }]
|
2285
|
+
}], showClear: [{
|
2286
|
+
type: Input,
|
2287
|
+
args: [{ transform: booleanAttribute }]
|
2288
|
+
}], emptyFilterMessage: [{
|
2289
|
+
type: Input
|
2290
|
+
}], emptyMessage: [{
|
2291
|
+
type: Input
|
2292
|
+
}], lazy: [{
|
2293
|
+
type: Input,
|
2294
|
+
args: [{ transform: booleanAttribute }]
|
2295
|
+
}], virtualScroll: [{
|
2296
|
+
type: Input,
|
2297
|
+
args: [{ transform: booleanAttribute }]
|
2298
|
+
}], virtualScrollItemSize: [{
|
2299
|
+
type: Input,
|
2300
|
+
args: [{ transform: numberAttribute }]
|
2301
|
+
}], virtualScrollOptions: [{
|
2302
|
+
type: Input
|
2303
|
+
}], overlayOptions: [{
|
2304
|
+
type: Input
|
2305
|
+
}], ariaFilterLabel: [{
|
2306
|
+
type: Input
|
2307
|
+
}], ariaLabel: [{
|
2308
|
+
type: Input
|
2309
|
+
}], ariaLabelledBy: [{
|
2310
|
+
type: Input
|
2311
|
+
}], filterMatchMode: [{
|
2312
|
+
type: Input
|
2313
|
+
}], maxlength: [{
|
2314
|
+
type: Input,
|
2315
|
+
args: [{ transform: numberAttribute }]
|
2316
|
+
}], tooltip: [{
|
2317
|
+
type: Input
|
2318
|
+
}], tooltipPosition: [{
|
2319
|
+
type: Input
|
2320
|
+
}], tooltipPositionStyle: [{
|
2321
|
+
type: Input
|
2322
|
+
}], tooltipStyleClass: [{
|
2323
|
+
type: Input
|
2324
|
+
}], focusOnHover: [{
|
2325
|
+
type: Input,
|
2326
|
+
args: [{ transform: booleanAttribute }]
|
2327
|
+
}], selectOnFocus: [{
|
2328
|
+
type: Input,
|
2329
|
+
args: [{ transform: booleanAttribute }]
|
2330
|
+
}], autoOptionFocus: [{
|
2331
|
+
type: Input,
|
2332
|
+
args: [{ transform: booleanAttribute }]
|
2333
|
+
}], autofocusFilter: [{
|
2334
|
+
type: Input,
|
2335
|
+
args: [{ transform: booleanAttribute }]
|
2336
|
+
}], fluid: [{
|
2337
|
+
type: Input,
|
2338
|
+
args: [{ transform: booleanAttribute }]
|
2339
|
+
}], disabled: [{
|
2340
|
+
type: Input
|
2341
|
+
}], itemSize: [{
|
2342
|
+
type: Input
|
2343
|
+
}], autoZIndex: [{
|
2344
|
+
type: Input
|
2345
|
+
}], baseZIndex: [{
|
2346
|
+
type: Input
|
2347
|
+
}], showTransitionOptions: [{
|
2348
|
+
type: Input
|
2349
|
+
}], hideTransitionOptions: [{
|
2350
|
+
type: Input
|
2351
|
+
}], filterValue: [{
|
2352
|
+
type: Input
|
2353
|
+
}], options: [{
|
2354
|
+
type: Input
|
2355
|
+
}], onChange: [{
|
2356
|
+
type: Output
|
2357
|
+
}], onFilter: [{
|
2358
|
+
type: Output
|
2359
|
+
}], onFocus: [{
|
2360
|
+
type: Output
|
2361
|
+
}], onBlur: [{
|
2362
|
+
type: Output
|
2363
|
+
}], onClick: [{
|
2364
|
+
type: Output
|
2365
|
+
}], onShow: [{
|
2366
|
+
type: Output
|
2367
|
+
}], onHide: [{
|
2368
|
+
type: Output
|
2369
|
+
}], onClear: [{
|
2370
|
+
type: Output
|
2371
|
+
}], onLazyLoad: [{
|
2372
|
+
type: Output
|
2373
|
+
}], containerViewChild: [{
|
2374
|
+
type: ViewChild,
|
2375
|
+
args: ['container']
|
2376
|
+
}], filterViewChild: [{
|
2377
|
+
type: ViewChild,
|
2378
|
+
args: ['filter']
|
2379
|
+
}], focusInputViewChild: [{
|
2380
|
+
type: ViewChild,
|
2381
|
+
args: ['focusInput']
|
2382
|
+
}], editableInputViewChild: [{
|
2383
|
+
type: ViewChild,
|
2384
|
+
args: ['editableInput']
|
2385
|
+
}], itemsViewChild: [{
|
2386
|
+
type: ViewChild,
|
2387
|
+
args: ['items']
|
2388
|
+
}], scroller: [{
|
2389
|
+
type: ViewChild,
|
2390
|
+
args: ['scroller']
|
2391
|
+
}], overlayViewChild: [{
|
2392
|
+
type: ViewChild,
|
2393
|
+
args: ['overlay']
|
2394
|
+
}], firstHiddenFocusableElementOnOverlay: [{
|
2395
|
+
type: ViewChild,
|
2396
|
+
args: ['firstHiddenFocusableEl']
|
2397
|
+
}], lastHiddenFocusableElementOnOverlay: [{
|
2398
|
+
type: ViewChild,
|
2399
|
+
args: ['lastHiddenFocusableEl']
|
2400
|
+
}], hostClass: [{
|
2401
|
+
type: HostBinding,
|
2402
|
+
args: ['class']
|
2403
|
+
}], hostStyle: [{
|
2404
|
+
type: HostBinding,
|
2405
|
+
args: ['style']
|
2406
|
+
}], templates: [{
|
2407
|
+
type: ContentChildren,
|
2408
|
+
args: [PrimeTemplate]
|
2409
|
+
}] } });
|
2747
2410
|
class DropdownModule {
|
2748
|
-
static ɵfac =
|
2749
|
-
static ɵmod =
|
2750
|
-
static ɵinj =
|
2411
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2412
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: DropdownModule, declarations: [Dropdown, DropdownItem], imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, Ripple, Scroller, AutoFocusModule, TimesIcon, ChevronDownIcon, SearchIcon, BlankIcon, CheckIcon, InputTextModule, IconField, InputIcon], exports: [Dropdown, OverlayModule, SharedModule, Scroller] });
|
2413
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: DropdownModule, imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, Scroller, AutoFocusModule, TimesIcon, ChevronDownIcon, SearchIcon, BlankIcon, CheckIcon, InputTextModule, IconField, InputIcon, OverlayModule, SharedModule] });
|
2751
2414
|
}
|
2752
|
-
(
|
2753
|
-
|
2754
|
-
|
2755
|
-
|
2756
|
-
|
2757
|
-
|
2758
|
-
|
2759
|
-
|
2760
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DropdownModule, { declarations: [Dropdown, DropdownItem], imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, Ripple, Scroller, AutoFocusModule, TimesIcon, ChevronDownIcon, SearchIcon, BlankIcon, CheckIcon, InputTextModule, IconField, InputIcon], exports: [Dropdown, OverlayModule, SharedModule, Scroller] }); })();
|
2415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: DropdownModule, decorators: [{
|
2416
|
+
type: NgModule,
|
2417
|
+
args: [{
|
2418
|
+
imports: [CommonModule, OverlayModule, SharedModule, TooltipModule, Ripple, Scroller, AutoFocusModule, TimesIcon, ChevronDownIcon, SearchIcon, BlankIcon, CheckIcon, InputTextModule, IconField, InputIcon],
|
2419
|
+
exports: [Dropdown, OverlayModule, SharedModule, Scroller],
|
2420
|
+
declarations: [Dropdown, DropdownItem]
|
2421
|
+
}]
|
2422
|
+
}] });
|
2761
2423
|
|
2762
2424
|
/**
|
2763
2425
|
* Generated bundle index. Do not edit.
|