primeng 19.0.6 → 19.0.8
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/accordion/accordion.d.ts +1 -1
- package/basecomponent/basecomponent.d.ts +1 -0
- package/confirmdialog/confirmdialog.d.ts +2 -1
- 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 +358 -561
- 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 +19 -16
- 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 +232 -350
- 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 +34 -40
- 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 +158 -244
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +163 -279
- 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 +687 -1162
- 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 +138 -156
- 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 +133 -150
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +83 -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 +580 -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/multiselect/multiselect.d.ts +4 -2
- package/package.json +139 -140
- 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, ContentChild, 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';
|
@@ -130,6 +130,7 @@ input.p-select-label {
|
|
130
130
|
}
|
131
131
|
|
132
132
|
.p-select-overlay {
|
133
|
+
cursor: default;
|
133
134
|
background: ${dt('select.overlay.background')};
|
134
135
|
color: ${dt('select.overlay.color')};
|
135
136
|
border: 1px solid ${dt('select.overlay.border.color')};
|
@@ -289,12 +290,12 @@ class SelectStyle extends BaseStyle {
|
|
289
290
|
name = 'select';
|
290
291
|
theme = theme;
|
291
292
|
classes = classes;
|
292
|
-
static ɵfac =
|
293
|
-
static ɵprov =
|
293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
294
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SelectStyle });
|
294
295
|
}
|
295
|
-
(
|
296
|
-
|
297
|
-
|
296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SelectStyle, decorators: [{
|
297
|
+
type: Injectable
|
298
|
+
}] });
|
298
299
|
/**
|
299
300
|
*
|
300
301
|
* Select also known as Select, is used to choose an item from a collection of options.
|
@@ -380,527 +381,6 @@ var SelectClasses;
|
|
380
381
|
SelectClasses["emptyMessage"] = "p-select-empty-message";
|
381
382
|
})(SelectClasses || (SelectClasses = {}));
|
382
383
|
|
383
|
-
const _c0 = a0 => ({ height: a0 });
|
384
|
-
const _c1 = (a0, a1, a2) => ({ "p-select-option": true, "p-select-option-selected": a0, "p-disabled": a1, "p-focus": a2 });
|
385
|
-
const _c2 = a0 => ({ $implicit: a0 });
|
386
|
-
function SelectItem_ng_container_1_CheckIcon_1_Template(rf, ctx) { if (rf & 1) {
|
387
|
-
i0.ɵɵelement(0, "CheckIcon", 5);
|
388
|
-
} }
|
389
|
-
function SelectItem_ng_container_1_BlankIcon_2_Template(rf, ctx) { if (rf & 1) {
|
390
|
-
i0.ɵɵelement(0, "BlankIcon", 6);
|
391
|
-
} }
|
392
|
-
function SelectItem_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
393
|
-
i0.ɵɵelementContainerStart(0);
|
394
|
-
i0.ɵɵtemplate(1, SelectItem_ng_container_1_CheckIcon_1_Template, 1, 0, "CheckIcon", 3)(2, SelectItem_ng_container_1_BlankIcon_2_Template, 1, 0, "BlankIcon", 4);
|
395
|
-
i0.ɵɵelementContainerEnd();
|
396
|
-
} if (rf & 2) {
|
397
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
398
|
-
i0.ɵɵadvance();
|
399
|
-
i0.ɵɵproperty("ngIf", ctx_r0.selected);
|
400
|
-
i0.ɵɵadvance();
|
401
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.selected);
|
402
|
-
} }
|
403
|
-
function SelectItem_span_2_Template(rf, ctx) { if (rf & 1) {
|
404
|
-
i0.ɵɵelementStart(0, "span");
|
405
|
-
i0.ɵɵtext(1);
|
406
|
-
i0.ɵɵelementEnd();
|
407
|
-
} if (rf & 2) {
|
408
|
-
let tmp_1_0;
|
409
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
410
|
-
i0.ɵɵadvance();
|
411
|
-
i0.ɵɵtextInterpolate((tmp_1_0 = ctx_r0.label) !== null && tmp_1_0 !== undefined ? tmp_1_0 : "empty");
|
412
|
-
} }
|
413
|
-
function SelectItem_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
414
|
-
i0.ɵɵelementContainer(0);
|
415
|
-
} }
|
416
|
-
const _c3 = ["item"];
|
417
|
-
const _c4 = ["group"];
|
418
|
-
const _c5 = ["loader"];
|
419
|
-
const _c6 = ["selectedItem"];
|
420
|
-
const _c7 = ["header"];
|
421
|
-
const _c8 = ["filter"];
|
422
|
-
const _c9 = ["footer"];
|
423
|
-
const _c10 = ["emptyfilter"];
|
424
|
-
const _c11 = ["empty"];
|
425
|
-
const _c12 = ["dropdownicon"];
|
426
|
-
const _c13 = ["loadingicon"];
|
427
|
-
const _c14 = ["clearicon"];
|
428
|
-
const _c15 = ["filtericon"];
|
429
|
-
const _c16 = ["onicon"];
|
430
|
-
const _c17 = ["officon"];
|
431
|
-
const _c18 = ["cancelicon"];
|
432
|
-
const _c19 = ["focusInput"];
|
433
|
-
const _c20 = ["editableInput"];
|
434
|
-
const _c21 = ["items"];
|
435
|
-
const _c22 = ["scroller"];
|
436
|
-
const _c23 = ["overlay"];
|
437
|
-
const _c24 = ["firstHiddenFocusableEl"];
|
438
|
-
const _c25 = ["lastHiddenFocusableEl"];
|
439
|
-
const _c26 = () => ({ class: "p-select-clear-icon" });
|
440
|
-
const _c27 = () => ({ class: "p-select-dropdown-icon" });
|
441
|
-
const _c28 = a0 => ({ options: a0 });
|
442
|
-
const _c29 = (a0, a1) => ({ $implicit: a0, options: a1 });
|
443
|
-
const _c30 = () => ({});
|
444
|
-
function Select_span_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
445
|
-
i0.ɵɵelementContainerStart(0);
|
446
|
-
i0.ɵɵtext(1);
|
447
|
-
i0.ɵɵelementContainerEnd();
|
448
|
-
} if (rf & 2) {
|
449
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
450
|
-
i0.ɵɵadvance();
|
451
|
-
i0.ɵɵtextInterpolate(ctx_r2.label() === "p-emptylabel" ? "\u00A0" : ctx_r2.label());
|
452
|
-
} }
|
453
|
-
function Select_span_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
454
|
-
i0.ɵɵelementContainer(0, 24);
|
455
|
-
} if (rf & 2) {
|
456
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
457
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.selectedItemTemplate || ctx_r2._selectedItemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, ctx_r2.selectedOption));
|
458
|
-
} }
|
459
|
-
function Select_span_0_ng_template_4_span_0_Template(rf, ctx) { if (rf & 1) {
|
460
|
-
i0.ɵɵelementStart(0, "span");
|
461
|
-
i0.ɵɵtext(1);
|
462
|
-
i0.ɵɵelementEnd();
|
463
|
-
} if (rf & 2) {
|
464
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
465
|
-
i0.ɵɵadvance();
|
466
|
-
i0.ɵɵtextInterpolate(ctx_r2.label() === "p-emptylabel" ? "\u00A0" : ctx_r2.label());
|
467
|
-
} }
|
468
|
-
function Select_span_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
469
|
-
i0.ɵɵtemplate(0, Select_span_0_ng_template_4_span_0_Template, 2, 1, "span", 18);
|
470
|
-
} if (rf & 2) {
|
471
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
472
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.selectedOption);
|
473
|
-
} }
|
474
|
-
function Select_span_0_Template(rf, ctx) { if (rf & 1) {
|
475
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
476
|
-
i0.ɵɵelementStart(0, "span", 22, 3);
|
477
|
-
i0.ɵɵlistener("focus", function Select_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 Select_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 Select_span_0_Template_span_keydown_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onKeyDown($event)); });
|
478
|
-
i0.ɵɵtemplate(2, Select_span_0_ng_container_2_Template, 2, 1, "ng-container", 20)(3, Select_span_0_ng_container_3_Template, 1, 4, "ng-container", 23)(4, Select_span_0_ng_template_4_Template, 1, 1, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
479
|
-
i0.ɵɵelementEnd();
|
480
|
-
} if (rf & 2) {
|
481
|
-
let tmp_17_0;
|
482
|
-
const defaultPlaceholder_r4 = i0.ɵɵreference(5);
|
483
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
484
|
-
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);
|
485
|
-
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);
|
486
|
-
i0.ɵɵadvance(2);
|
487
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.selectedItemTemplate && !ctx_r2._selectedItemTemplate)("ngIfElse", defaultPlaceholder_r4);
|
488
|
-
i0.ɵɵadvance();
|
489
|
-
i0.ɵɵproperty("ngIf", (ctx_r2.selectedItemTemplate || ctx_r2._selectedItemTemplate) && ctx_r2.selectedOption);
|
490
|
-
} }
|
491
|
-
function Select_input_1_Template(rf, ctx) { if (rf & 1) {
|
492
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
493
|
-
i0.ɵɵelementStart(0, "input", 25, 5);
|
494
|
-
i0.ɵɵlistener("input", function Select_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 Select_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 Select_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 Select_input_1_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onInputBlur($event)); });
|
495
|
-
i0.ɵɵelementEnd();
|
496
|
-
} if (rf & 2) {
|
497
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
498
|
-
i0.ɵɵproperty("ngClass", ctx_r2.inputClass)("disabled", ctx_r2.disabled)("pAutoFocus", ctx_r2.autofocus);
|
499
|
-
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);
|
500
|
-
} }
|
501
|
-
function Select_ng_container_2_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
|
502
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
503
|
-
i0.ɵɵelementStart(0, "TimesIcon", 27);
|
504
|
-
i0.ɵɵlistener("click", function Select_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)); });
|
505
|
-
i0.ɵɵelementEnd();
|
506
|
-
} if (rf & 2) {
|
507
|
-
i0.ɵɵattribute("data-pc-section", "clearicon");
|
508
|
-
} }
|
509
|
-
function Select_ng_container_2_span_2_1_ng_template_0_Template(rf, ctx) { }
|
510
|
-
function Select_ng_container_2_span_2_1_Template(rf, ctx) { if (rf & 1) {
|
511
|
-
i0.ɵɵtemplate(0, Select_ng_container_2_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
|
512
|
-
} }
|
513
|
-
function Select_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
514
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
515
|
-
i0.ɵɵelementStart(0, "span", 27);
|
516
|
-
i0.ɵɵlistener("click", function Select_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)); });
|
517
|
-
i0.ɵɵtemplate(1, Select_ng_container_2_span_2_1_Template, 1, 0, null, 28);
|
518
|
-
i0.ɵɵelementEnd();
|
519
|
-
} if (rf & 2) {
|
520
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
521
|
-
i0.ɵɵattribute("data-pc-section", "clearicon");
|
522
|
-
i0.ɵɵadvance();
|
523
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.clearIconTemplate || ctx_r2._clearIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(3, _c26));
|
524
|
-
} }
|
525
|
-
function Select_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
526
|
-
i0.ɵɵelementContainerStart(0);
|
527
|
-
i0.ɵɵtemplate(1, Select_ng_container_2_TimesIcon_1_Template, 1, 1, "TimesIcon", 26)(2, Select_ng_container_2_span_2_Template, 2, 4, "span", 26);
|
528
|
-
i0.ɵɵelementContainerEnd();
|
529
|
-
} if (rf & 2) {
|
530
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
531
|
-
i0.ɵɵadvance();
|
532
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.clearIconTemplate && !ctx_r2._clearIconTemplate);
|
533
|
-
i0.ɵɵadvance();
|
534
|
-
i0.ɵɵproperty("ngIf", ctx_r2.clearIconTemplate || ctx_r2._clearIconTemplate);
|
535
|
-
} }
|
536
|
-
function Select_ng_container_4_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
537
|
-
i0.ɵɵelementContainer(0);
|
538
|
-
} }
|
539
|
-
function Select_ng_container_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
540
|
-
i0.ɵɵelementContainerStart(0);
|
541
|
-
i0.ɵɵtemplate(1, Select_ng_container_4_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 29);
|
542
|
-
i0.ɵɵelementContainerEnd();
|
543
|
-
} if (rf & 2) {
|
544
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
545
|
-
i0.ɵɵadvance();
|
546
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loadingIconTemplate || ctx_r2._loadingIconTemplate);
|
547
|
-
} }
|
548
|
-
function Select_ng_container_4_ng_container_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
549
|
-
i0.ɵɵelement(0, "span", 32);
|
550
|
-
} if (rf & 2) {
|
551
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
552
|
-
i0.ɵɵproperty("ngClass", "p-select-loading-icon pi-spin " + ctx_r2.loadingIcon);
|
553
|
-
} }
|
554
|
-
function Select_ng_container_4_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
555
|
-
i0.ɵɵelement(0, "span", 33);
|
556
|
-
} if (rf & 2) {
|
557
|
-
i0.ɵɵclassMap("p-select-loading-icon pi pi-spinner pi-spin");
|
558
|
-
} }
|
559
|
-
function Select_ng_container_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
560
|
-
i0.ɵɵelementContainerStart(0);
|
561
|
-
i0.ɵɵtemplate(1, Select_ng_container_4_ng_container_2_span_1_Template, 1, 1, "span", 30)(2, Select_ng_container_4_ng_container_2_span_2_Template, 1, 2, "span", 31);
|
562
|
-
i0.ɵɵelementContainerEnd();
|
563
|
-
} if (rf & 2) {
|
564
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
565
|
-
i0.ɵɵadvance();
|
566
|
-
i0.ɵɵproperty("ngIf", ctx_r2.loadingIcon);
|
567
|
-
i0.ɵɵadvance();
|
568
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.loadingIcon);
|
569
|
-
} }
|
570
|
-
function Select_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
571
|
-
i0.ɵɵelementContainerStart(0);
|
572
|
-
i0.ɵɵtemplate(1, Select_ng_container_4_ng_container_1_Template, 2, 1, "ng-container", 18)(2, Select_ng_container_4_ng_container_2_Template, 3, 2, "ng-container", 18);
|
573
|
-
i0.ɵɵelementContainerEnd();
|
574
|
-
} if (rf & 2) {
|
575
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
576
|
-
i0.ɵɵadvance();
|
577
|
-
i0.ɵɵproperty("ngIf", ctx_r2.loadingIconTemplate || ctx_r2._loadingIconTemplate);
|
578
|
-
i0.ɵɵadvance();
|
579
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.loadingIconTemplate && !ctx_r2._loadingIconTemplate);
|
580
|
-
} }
|
581
|
-
function Select_ng_template_5_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
582
|
-
i0.ɵɵelement(0, "span", 37);
|
583
|
-
} if (rf & 2) {
|
584
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
585
|
-
i0.ɵɵproperty("ngClass", ctx_r2.dropdownIcon);
|
586
|
-
} }
|
587
|
-
function Select_ng_template_5_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) { if (rf & 1) {
|
588
|
-
i0.ɵɵelement(0, "ChevronDownIcon", 38);
|
589
|
-
} if (rf & 2) {
|
590
|
-
i0.ɵɵproperty("styleClass", "p-select-dropdown-icon");
|
591
|
-
} }
|
592
|
-
function Select_ng_template_5_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
593
|
-
i0.ɵɵelementContainerStart(0);
|
594
|
-
i0.ɵɵtemplate(1, Select_ng_template_5_ng_container_0_span_1_Template, 1, 1, "span", 35)(2, Select_ng_template_5_ng_container_0_ChevronDownIcon_2_Template, 1, 1, "ChevronDownIcon", 36);
|
595
|
-
i0.ɵɵelementContainerEnd();
|
596
|
-
} if (rf & 2) {
|
597
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
598
|
-
i0.ɵɵadvance();
|
599
|
-
i0.ɵɵproperty("ngIf", ctx_r2.dropdownIcon);
|
600
|
-
i0.ɵɵadvance();
|
601
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.dropdownIcon);
|
602
|
-
} }
|
603
|
-
function Select_ng_template_5_span_1_1_ng_template_0_Template(rf, ctx) { }
|
604
|
-
function Select_ng_template_5_span_1_1_Template(rf, ctx) { if (rf & 1) {
|
605
|
-
i0.ɵɵtemplate(0, Select_ng_template_5_span_1_1_ng_template_0_Template, 0, 0, "ng-template");
|
606
|
-
} }
|
607
|
-
function Select_ng_template_5_span_1_Template(rf, ctx) { if (rf & 1) {
|
608
|
-
i0.ɵɵelementStart(0, "span", 39);
|
609
|
-
i0.ɵɵtemplate(1, Select_ng_template_5_span_1_1_Template, 1, 0, null, 28);
|
610
|
-
i0.ɵɵelementEnd();
|
611
|
-
} if (rf & 2) {
|
612
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
613
|
-
i0.ɵɵadvance();
|
614
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.dropdownIconTemplate || ctx_r2._dropdownIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(2, _c27));
|
615
|
-
} }
|
616
|
-
function Select_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
617
|
-
i0.ɵɵtemplate(0, Select_ng_template_5_ng_container_0_Template, 3, 2, "ng-container", 18)(1, Select_ng_template_5_span_1_Template, 2, 3, "span", 34);
|
618
|
-
} if (rf & 2) {
|
619
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
620
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.dropdownIconTemplate && !ctx_r2._dropdownIconTemplate);
|
621
|
-
i0.ɵɵadvance();
|
622
|
-
i0.ɵɵproperty("ngIf", ctx_r2.dropdownIconTemplate || ctx_r2._dropdownIconTemplate);
|
623
|
-
} }
|
624
|
-
function Select_ng_template_9_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
625
|
-
i0.ɵɵelementContainer(0);
|
626
|
-
} }
|
627
|
-
function Select_ng_template_9_div_4_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
628
|
-
i0.ɵɵelementContainer(0);
|
629
|
-
} }
|
630
|
-
function Select_ng_template_9_div_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
631
|
-
i0.ɵɵelementContainerStart(0);
|
632
|
-
i0.ɵɵtemplate(1, Select_ng_template_9_div_4_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 28);
|
633
|
-
i0.ɵɵelementContainerEnd();
|
634
|
-
} if (rf & 2) {
|
635
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
636
|
-
i0.ɵɵadvance();
|
637
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.filterTemplate || ctx_r2._filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c28, ctx_r2.filterOptions));
|
638
|
-
} }
|
639
|
-
function Select_ng_template_9_div_4_ng_template_2_SearchIcon_4_Template(rf, ctx) { if (rf & 1) {
|
640
|
-
i0.ɵɵelement(0, "SearchIcon");
|
641
|
-
} }
|
642
|
-
function Select_ng_template_9_div_4_ng_template_2_span_5_1_ng_template_0_Template(rf, ctx) { }
|
643
|
-
function Select_ng_template_9_div_4_ng_template_2_span_5_1_Template(rf, ctx) { if (rf & 1) {
|
644
|
-
i0.ɵɵtemplate(0, Select_ng_template_9_div_4_ng_template_2_span_5_1_ng_template_0_Template, 0, 0, "ng-template");
|
645
|
-
} }
|
646
|
-
function Select_ng_template_9_div_4_ng_template_2_span_5_Template(rf, ctx) { if (rf & 1) {
|
647
|
-
i0.ɵɵelementStart(0, "span");
|
648
|
-
i0.ɵɵtemplate(1, Select_ng_template_9_div_4_ng_template_2_span_5_1_Template, 1, 0, null, 29);
|
649
|
-
i0.ɵɵelementEnd();
|
650
|
-
} if (rf & 2) {
|
651
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
652
|
-
i0.ɵɵadvance();
|
653
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.filterIconTemplate || ctx_r2._filterIconTemplate);
|
654
|
-
} }
|
655
|
-
function Select_ng_template_9_div_4_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
656
|
-
const _r10 = i0.ɵɵgetCurrentView();
|
657
|
-
i0.ɵɵelementStart(0, "p-iconfield")(1, "input", 46, 10);
|
658
|
-
i0.ɵɵlistener("input", function Select_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 Select_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 Select_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)); });
|
659
|
-
i0.ɵɵelementEnd();
|
660
|
-
i0.ɵɵelementStart(3, "p-inputicon");
|
661
|
-
i0.ɵɵtemplate(4, Select_ng_template_9_div_4_ng_template_2_SearchIcon_4_Template, 1, 0, "SearchIcon", 18)(5, Select_ng_template_9_div_4_ng_template_2_span_5_Template, 2, 1, "span", 18);
|
662
|
-
i0.ɵɵelementEnd()();
|
663
|
-
} if (rf & 2) {
|
664
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
665
|
-
i0.ɵɵadvance();
|
666
|
-
i0.ɵɵproperty("pSize", ctx_r2.size)("value", ctx_r2._filterValue() || "")("variant", ctx_r2.variant);
|
667
|
-
i0.ɵɵattribute("placeholder", ctx_r2.filterPlaceholder)("aria-owns", ctx_r2.id + "_list")("aria-label", ctx_r2.ariaFilterLabel)("aria-activedescendant", ctx_r2.focusedOptionId);
|
668
|
-
i0.ɵɵadvance(3);
|
669
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.filterIconTemplate && !ctx_r2._filterIconTemplate);
|
670
|
-
i0.ɵɵadvance();
|
671
|
-
i0.ɵɵproperty("ngIf", ctx_r2.filterIconTemplate || ctx_r2._filterIconTemplate);
|
672
|
-
} }
|
673
|
-
function Select_ng_template_9_div_4_Template(rf, ctx) { if (rf & 1) {
|
674
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
675
|
-
i0.ɵɵelementStart(0, "div", 45);
|
676
|
-
i0.ɵɵlistener("click", function Select_ng_template_9_div_4_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r9); return i0.ɵɵresetView($event.stopPropagation()); });
|
677
|
-
i0.ɵɵtemplate(1, Select_ng_template_9_div_4_ng_container_1_Template, 2, 4, "ng-container", 20)(2, Select_ng_template_9_div_4_ng_template_2_Template, 6, 9, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
678
|
-
i0.ɵɵelementEnd();
|
679
|
-
} if (rf & 2) {
|
680
|
-
const builtInFilterElement_r11 = i0.ɵɵreference(3);
|
681
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
682
|
-
i0.ɵɵadvance();
|
683
|
-
i0.ɵɵproperty("ngIf", ctx_r2.filterTemplate || ctx_r2._filterTemplate)("ngIfElse", builtInFilterElement_r11);
|
684
|
-
} }
|
685
|
-
function Select_ng_template_9_p_scroller_6_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
686
|
-
i0.ɵɵelementContainer(0);
|
687
|
-
} }
|
688
|
-
function Select_ng_template_9_p_scroller_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
689
|
-
i0.ɵɵtemplate(0, Select_ng_template_9_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 28);
|
690
|
-
} if (rf & 2) {
|
691
|
-
const items_r13 = ctx.$implicit;
|
692
|
-
const scrollerOptions_r14 = ctx.options;
|
693
|
-
i0.ɵɵnextContext(2);
|
694
|
-
const buildInItems_r15 = i0.ɵɵreference(9);
|
695
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r15)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c29, items_r13, scrollerOptions_r14));
|
696
|
-
} }
|
697
|
-
function Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
698
|
-
i0.ɵɵelementContainer(0);
|
699
|
-
} }
|
700
|
-
function Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
701
|
-
i0.ɵɵtemplate(0, Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 28);
|
702
|
-
} if (rf & 2) {
|
703
|
-
const scrollerOptions_r16 = ctx.options;
|
704
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
705
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loaderTemplate || ctx_r2._loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c28, scrollerOptions_r16));
|
706
|
-
} }
|
707
|
-
function Select_ng_template_9_p_scroller_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
708
|
-
i0.ɵɵelementContainerStart(0);
|
709
|
-
i0.ɵɵtemplate(1, Select_ng_template_9_p_scroller_6_ng_container_4_ng_template_1_Template, 1, 4, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
710
|
-
i0.ɵɵelementContainerEnd();
|
711
|
-
} }
|
712
|
-
function Select_ng_template_9_p_scroller_6_Template(rf, ctx) { if (rf & 1) {
|
713
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
714
|
-
i0.ɵɵelementStart(0, "p-scroller", 47, 11);
|
715
|
-
i0.ɵɵlistener("onLazyLoad", function Select_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)); });
|
716
|
-
i0.ɵɵtemplate(2, Select_ng_template_9_p_scroller_6_ng_template_2_Template, 1, 5, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(4, Select_ng_template_9_p_scroller_6_ng_container_4_Template, 3, 0, "ng-container", 18);
|
717
|
-
i0.ɵɵelementEnd();
|
718
|
-
} if (rf & 2) {
|
719
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
720
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(8, _c0, ctx_r2.scrollHeight));
|
721
|
-
i0.ɵɵproperty("items", ctx_r2.visibleOptions())("itemSize", ctx_r2.virtualScrollItemSize || ctx_r2._itemSize)("autoSize", true)("lazy", ctx_r2.lazy)("options", ctx_r2.virtualScrollOptions);
|
722
|
-
i0.ɵɵadvance(4);
|
723
|
-
i0.ɵɵproperty("ngIf", ctx_r2.loaderTemplate || ctx_r2._loaderTemplate);
|
724
|
-
} }
|
725
|
-
function Select_ng_template_9_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
726
|
-
i0.ɵɵelementContainer(0);
|
727
|
-
} }
|
728
|
-
function Select_ng_template_9_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
729
|
-
i0.ɵɵelementContainerStart(0);
|
730
|
-
i0.ɵɵtemplate(1, Select_ng_template_9_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 28);
|
731
|
-
i0.ɵɵelementContainerEnd();
|
732
|
-
} if (rf & 2) {
|
733
|
-
i0.ɵɵnextContext();
|
734
|
-
const buildInItems_r15 = i0.ɵɵreference(9);
|
735
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
736
|
-
i0.ɵɵadvance();
|
737
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r15)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c29, ctx_r2.visibleOptions(), i0.ɵɵpureFunction0(2, _c30)));
|
738
|
-
} }
|
739
|
-
function Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
740
|
-
i0.ɵɵelementStart(0, "span");
|
741
|
-
i0.ɵɵtext(1);
|
742
|
-
i0.ɵɵelementEnd();
|
743
|
-
} if (rf & 2) {
|
744
|
-
const option_r17 = i0.ɵɵnextContext(2).$implicit;
|
745
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
746
|
-
i0.ɵɵadvance();
|
747
|
-
i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r17.optionGroup));
|
748
|
-
} }
|
749
|
-
function Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
750
|
-
i0.ɵɵelementContainer(0);
|
751
|
-
} }
|
752
|
-
function Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
753
|
-
i0.ɵɵelementContainerStart(0);
|
754
|
-
i0.ɵɵelementStart(1, "li", 51);
|
755
|
-
i0.ɵɵtemplate(2, Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 18)(3, Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 28);
|
756
|
-
i0.ɵɵelementEnd();
|
757
|
-
i0.ɵɵelementContainerEnd();
|
758
|
-
} if (rf & 2) {
|
759
|
-
const ctx_r17 = i0.ɵɵnextContext();
|
760
|
-
const option_r17 = ctx_r17.$implicit;
|
761
|
-
const i_r19 = ctx_r17.index;
|
762
|
-
const scrollerOptions_r20 = i0.ɵɵnextContext().options;
|
763
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
764
|
-
i0.ɵɵadvance();
|
765
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c0, scrollerOptions_r20.itemSize + "px"));
|
766
|
-
i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20));
|
767
|
-
i0.ɵɵadvance();
|
768
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.groupTemplate && !ctx_r2._groupTemplate);
|
769
|
-
i0.ɵɵadvance();
|
770
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.groupTemplate || ctx_r2._groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c2, option_r17.optionGroup));
|
771
|
-
} }
|
772
|
-
function Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
773
|
-
const _r21 = i0.ɵɵgetCurrentView();
|
774
|
-
i0.ɵɵelementContainerStart(0);
|
775
|
-
i0.ɵɵelementStart(1, "p-selectItem", 52);
|
776
|
-
i0.ɵɵlistener("onClick", function Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template_p_selectItem_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 Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template_p_selectItem_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))); });
|
777
|
-
i0.ɵɵelementEnd();
|
778
|
-
i0.ɵɵelementContainerEnd();
|
779
|
-
} if (rf & 2) {
|
780
|
-
const ctx_r17 = i0.ɵɵnextContext();
|
781
|
-
const option_r17 = ctx_r17.$implicit;
|
782
|
-
const i_r19 = ctx_r17.index;
|
783
|
-
const scrollerOptions_r20 = i0.ɵɵnextContext().options;
|
784
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
785
|
-
i0.ɵɵadvance();
|
786
|
-
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 || 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);
|
787
|
-
} }
|
788
|
-
function Select_ng_template_9_ng_template_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
789
|
-
i0.ɵɵtemplate(0, Select_ng_template_9_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 18)(1, Select_ng_template_9_ng_template_8_ng_template_2_ng_container_1_Template, 2, 10, "ng-container", 18);
|
790
|
-
} if (rf & 2) {
|
791
|
-
const option_r17 = ctx.$implicit;
|
792
|
-
const ctx_r2 = i0.ɵɵnextContext(3);
|
793
|
-
i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r17));
|
794
|
-
i0.ɵɵadvance();
|
795
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r17));
|
796
|
-
} }
|
797
|
-
function Select_ng_template_9_ng_template_8_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
798
|
-
i0.ɵɵtext(0);
|
799
|
-
} if (rf & 2) {
|
800
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
801
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.emptyFilterMessageLabel, " ");
|
802
|
-
} }
|
803
|
-
function Select_ng_template_9_ng_template_8_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
804
|
-
i0.ɵɵelementContainer(0, null, 14);
|
805
|
-
} }
|
806
|
-
function Select_ng_template_9_ng_template_8_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
807
|
-
i0.ɵɵtemplate(0, Select_ng_template_9_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 2, 0, "ng-container", 29);
|
808
|
-
} if (rf & 2) {
|
809
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
810
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyFilterTemplate || ctx_r2._emptyFilterTemplate || ctx_r2.emptyTemplate || ctx_r2._emptyTemplate);
|
811
|
-
} }
|
812
|
-
function Select_ng_template_9_ng_template_8_li_3_Template(rf, ctx) { if (rf & 1) {
|
813
|
-
i0.ɵɵelementStart(0, "li", 53);
|
814
|
-
i0.ɵɵtemplate(1, Select_ng_template_9_ng_template_8_li_3_Conditional_1_Template, 1, 1)(2, Select_ng_template_9_ng_template_8_li_3_Conditional_2_Template, 1, 1, "ng-container");
|
815
|
-
i0.ɵɵelementEnd();
|
816
|
-
} if (rf & 2) {
|
817
|
-
const scrollerOptions_r20 = i0.ɵɵnextContext().options;
|
818
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
819
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r20.itemSize + "px"));
|
820
|
-
i0.ɵɵadvance();
|
821
|
-
i0.ɵɵconditional(!ctx_r2.emptyFilterTemplate && !ctx_r2._emptyFilterTemplate && !ctx_r2.emptyTemplate ? 1 : 2);
|
822
|
-
} }
|
823
|
-
function Select_ng_template_9_ng_template_8_li_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
824
|
-
i0.ɵɵtext(0);
|
825
|
-
} if (rf & 2) {
|
826
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
827
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r2.emptyMessageLabel, " ");
|
828
|
-
} }
|
829
|
-
function Select_ng_template_9_ng_template_8_li_4_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
830
|
-
i0.ɵɵelementContainer(0, null, 15);
|
831
|
-
} }
|
832
|
-
function Select_ng_template_9_ng_template_8_li_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
833
|
-
i0.ɵɵtemplate(0, Select_ng_template_9_ng_template_8_li_4_Conditional_2_ng_container_0_Template, 2, 0, "ng-container", 29);
|
834
|
-
} if (rf & 2) {
|
835
|
-
const ctx_r2 = i0.ɵɵnextContext(4);
|
836
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyTemplate || ctx_r2._emptyTemplate);
|
837
|
-
} }
|
838
|
-
function Select_ng_template_9_ng_template_8_li_4_Template(rf, ctx) { if (rf & 1) {
|
839
|
-
i0.ɵɵelementStart(0, "li", 53);
|
840
|
-
i0.ɵɵtemplate(1, Select_ng_template_9_ng_template_8_li_4_Conditional_1_Template, 1, 1)(2, Select_ng_template_9_ng_template_8_li_4_Conditional_2_Template, 1, 1, "ng-container");
|
841
|
-
i0.ɵɵelementEnd();
|
842
|
-
} if (rf & 2) {
|
843
|
-
const scrollerOptions_r20 = i0.ɵɵnextContext().options;
|
844
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
845
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r20.itemSize + "px"));
|
846
|
-
i0.ɵɵadvance();
|
847
|
-
i0.ɵɵconditional(!ctx_r2.emptyTemplate && !ctx_r2._emptyTemplate ? 1 : 2);
|
848
|
-
} }
|
849
|
-
function Select_ng_template_9_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
850
|
-
i0.ɵɵelementStart(0, "ul", 48, 13);
|
851
|
-
i0.ɵɵtemplate(2, Select_ng_template_9_ng_template_8_ng_template_2_Template, 2, 2, "ng-template", 49)(3, Select_ng_template_9_ng_template_8_li_3_Template, 3, 4, "li", 50)(4, Select_ng_template_9_ng_template_8_li_4_Template, 3, 4, "li", 50);
|
852
|
-
i0.ɵɵelementEnd();
|
853
|
-
} if (rf & 2) {
|
854
|
-
const items_r22 = ctx.$implicit;
|
855
|
-
const scrollerOptions_r20 = ctx.options;
|
856
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
857
|
-
i0.ɵɵstyleMap(scrollerOptions_r20.contentStyle);
|
858
|
-
i0.ɵɵproperty("ngClass", scrollerOptions_r20.contentStyleClass);
|
859
|
-
i0.ɵɵattribute("id", ctx_r2.id + "_list")("aria-label", ctx_r2.listLabel);
|
860
|
-
i0.ɵɵadvance(2);
|
861
|
-
i0.ɵɵproperty("ngForOf", items_r22);
|
862
|
-
i0.ɵɵadvance();
|
863
|
-
i0.ɵɵproperty("ngIf", ctx_r2.filterValue && ctx_r2.isEmpty());
|
864
|
-
i0.ɵɵadvance();
|
865
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.filterValue && ctx_r2.isEmpty());
|
866
|
-
} }
|
867
|
-
function Select_ng_template_9_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
868
|
-
i0.ɵɵelementContainer(0);
|
869
|
-
} }
|
870
|
-
function Select_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
871
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
872
|
-
i0.ɵɵelementStart(0, "div", 40)(1, "span", 41, 6);
|
873
|
-
i0.ɵɵlistener("focus", function Select_ng_template_9_Template_span_focus_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onFirstHiddenFocus($event)); });
|
874
|
-
i0.ɵɵelementEnd();
|
875
|
-
i0.ɵɵtemplate(3, Select_ng_template_9_ng_container_3_Template, 1, 0, "ng-container", 29)(4, Select_ng_template_9_div_4_Template, 4, 2, "div", 42);
|
876
|
-
i0.ɵɵelementStart(5, "div", 43);
|
877
|
-
i0.ɵɵtemplate(6, Select_ng_template_9_p_scroller_6_Template, 5, 10, "p-scroller", 44)(7, Select_ng_template_9_ng_container_7_Template, 2, 6, "ng-container", 18)(8, Select_ng_template_9_ng_template_8_Template, 5, 8, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
878
|
-
i0.ɵɵelementEnd();
|
879
|
-
i0.ɵɵtemplate(10, Select_ng_template_9_ng_container_10_Template, 1, 0, "ng-container", 29);
|
880
|
-
i0.ɵɵelementStart(11, "span", 41, 8);
|
881
|
-
i0.ɵɵlistener("focus", function Select_ng_template_9_Template_span_focus_11_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.onLastHiddenFocus($event)); });
|
882
|
-
i0.ɵɵelementEnd()();
|
883
|
-
} if (rf & 2) {
|
884
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
885
|
-
i0.ɵɵclassMap(ctx_r2.panelStyleClass);
|
886
|
-
i0.ɵɵproperty("ngClass", "p-select-overlay p-component")("ngStyle", ctx_r2.panelStyle);
|
887
|
-
i0.ɵɵadvance();
|
888
|
-
i0.ɵɵattribute("tabindex", 0)("data-p-hidden-accessible", true)("data-p-hidden-focusable", true);
|
889
|
-
i0.ɵɵadvance(2);
|
890
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.headerTemplate || ctx_r2._headerTemplate);
|
891
|
-
i0.ɵɵadvance();
|
892
|
-
i0.ɵɵproperty("ngIf", ctx_r2.filter);
|
893
|
-
i0.ɵɵadvance();
|
894
|
-
i0.ɵɵstyleProp("max-height", ctx_r2.virtualScroll ? "auto" : ctx_r2.scrollHeight || "auto");
|
895
|
-
i0.ɵɵadvance();
|
896
|
-
i0.ɵɵproperty("ngIf", ctx_r2.virtualScroll);
|
897
|
-
i0.ɵɵadvance();
|
898
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.virtualScroll);
|
899
|
-
i0.ɵɵadvance(3);
|
900
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.footerTemplate || ctx_r2._footerTemplate);
|
901
|
-
i0.ɵɵadvance();
|
902
|
-
i0.ɵɵattribute("tabindex", 0)("data-p-hidden-accessible", true)("data-p-hidden-focusable", true);
|
903
|
-
} }
|
904
384
|
const SELECT_VALUE_ACCESSOR = {
|
905
385
|
provide: NG_VALUE_ACCESSOR,
|
906
386
|
useExisting: forwardRef(() => Select),
|
@@ -927,30 +407,45 @@ class SelectItem extends BaseComponent {
|
|
927
407
|
onOptionMouseEnter(event) {
|
928
408
|
this.onMouseEnter.emit(event);
|
929
409
|
}
|
930
|
-
static ɵfac =
|
931
|
-
static ɵcmp =
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
410
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
411
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: SelectItem, isStandalone: true, selector: "p-selectItem", 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: `
|
412
|
+
<li
|
413
|
+
[id]="id"
|
414
|
+
(click)="onOptionClick($event)"
|
415
|
+
(mouseenter)="onOptionMouseEnter($event)"
|
416
|
+
role="option"
|
417
|
+
pRipple
|
418
|
+
[attr.aria-label]="label"
|
419
|
+
[attr.aria-setsize]="ariaSetSize"
|
420
|
+
[attr.aria-posinset]="ariaPosInset"
|
421
|
+
[attr.aria-selected]="selected"
|
422
|
+
[attr.data-p-focused]="focused"
|
423
|
+
[attr.data-p-highlight]="selected"
|
424
|
+
[attr.data-p-disabled]="disabled"
|
425
|
+
[ngStyle]="{ height: itemSize + 'px' }"
|
426
|
+
[ngClass]="{
|
427
|
+
'p-select-option': true,
|
428
|
+
'p-select-option-selected': selected && !checkmark,
|
429
|
+
'p-disabled': disabled,
|
430
|
+
'p-focus': focused
|
431
|
+
}"
|
432
|
+
>
|
433
|
+
<ng-container *ngIf="checkmark">
|
434
|
+
<CheckIcon *ngIf="selected" styleClass="p-select-option-check-icon" />
|
435
|
+
<BlankIcon *ngIf="!selected" styleClass="p-select-option-blank-icon" />
|
436
|
+
</ng-container>
|
437
|
+
<span *ngIf="!template">{{ label ?? 'empty' }}</span>
|
438
|
+
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
439
|
+
</li>
|
440
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }, { kind: "component", type: BlankIcon, selector: "BlankIcon" }] });
|
946
441
|
}
|
947
|
-
(
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SelectItem, decorators: [{
|
443
|
+
type: Component,
|
444
|
+
args: [{
|
445
|
+
selector: 'p-selectItem',
|
446
|
+
standalone: true,
|
447
|
+
imports: [CommonModule, SharedModule, Ripple, CheckIcon, BlankIcon],
|
448
|
+
template: `
|
954
449
|
<li
|
955
450
|
[id]="id"
|
956
451
|
(click)="onOptionClick($event)"
|
@@ -980,43 +475,42 @@ class SelectItem extends BaseComponent {
|
|
980
475
|
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
981
476
|
</li>
|
982
477
|
`
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectItem, { className: "SelectItem", filePath: "select.ts", lineNumber: 107 }); })();
|
478
|
+
}]
|
479
|
+
}], propDecorators: { id: [{
|
480
|
+
type: Input
|
481
|
+
}], option: [{
|
482
|
+
type: Input
|
483
|
+
}], selected: [{
|
484
|
+
type: Input,
|
485
|
+
args: [{ transform: booleanAttribute }]
|
486
|
+
}], focused: [{
|
487
|
+
type: Input,
|
488
|
+
args: [{ transform: booleanAttribute }]
|
489
|
+
}], label: [{
|
490
|
+
type: Input
|
491
|
+
}], disabled: [{
|
492
|
+
type: Input,
|
493
|
+
args: [{ transform: booleanAttribute }]
|
494
|
+
}], visible: [{
|
495
|
+
type: Input,
|
496
|
+
args: [{ transform: booleanAttribute }]
|
497
|
+
}], itemSize: [{
|
498
|
+
type: Input,
|
499
|
+
args: [{ transform: numberAttribute }]
|
500
|
+
}], ariaPosInset: [{
|
501
|
+
type: Input
|
502
|
+
}], ariaSetSize: [{
|
503
|
+
type: Input
|
504
|
+
}], template: [{
|
505
|
+
type: Input
|
506
|
+
}], checkmark: [{
|
507
|
+
type: Input,
|
508
|
+
args: [{ transform: booleanAttribute }]
|
509
|
+
}], onClick: [{
|
510
|
+
type: Output
|
511
|
+
}], onMouseEnter: [{
|
512
|
+
type: Output
|
513
|
+
}] } });
|
1020
514
|
/**
|
1021
515
|
* Select is used to choose an item from a collection of options.
|
1022
516
|
* @group Components
|
@@ -1891,6 +1385,7 @@ class Select extends BaseComponent {
|
|
1891
1385
|
return equals(this.modelValue(), this.getOptionValue(option), this.equalityKey());
|
1892
1386
|
}
|
1893
1387
|
ngAfterViewInit() {
|
1388
|
+
super.ngAfterViewInit();
|
1894
1389
|
if (this.editable) {
|
1895
1390
|
this.updateEditableLabel();
|
1896
1391
|
}
|
@@ -2361,6 +1856,7 @@ class Select extends BaseComponent {
|
|
2361
1856
|
onEscapeKey(event) {
|
2362
1857
|
this.overlayVisible && this.hide(true);
|
2363
1858
|
event.preventDefault();
|
1859
|
+
event.stopPropagation();
|
2364
1860
|
}
|
2365
1861
|
onTabKey(event, pressedInInputText = false) {
|
2366
1862
|
if (!pressedInInputText) {
|
@@ -2461,104 +1957,235 @@ class Select extends BaseComponent {
|
|
2461
1957
|
this.onClear.emit(event);
|
2462
1958
|
this.resetFilter();
|
2463
1959
|
}
|
2464
|
-
static ɵfac =
|
2465
|
-
static ɵcmp =
|
2466
|
-
|
2467
|
-
|
2468
|
-
|
2469
|
-
|
2470
|
-
|
2471
|
-
|
2472
|
-
|
2473
|
-
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2488
|
-
|
2489
|
-
|
2490
|
-
|
2491
|
-
|
2492
|
-
|
2493
|
-
|
2494
|
-
|
2495
|
-
|
2496
|
-
|
2497
|
-
|
2498
|
-
|
2499
|
-
|
2500
|
-
|
2501
|
-
|
2502
|
-
|
2503
|
-
|
2504
|
-
|
2505
|
-
|
2506
|
-
|
2507
|
-
|
2508
|
-
|
2509
|
-
|
2510
|
-
|
2511
|
-
|
2512
|
-
|
2513
|
-
|
2514
|
-
|
2515
|
-
|
2516
|
-
|
2517
|
-
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2530
|
-
|
2531
|
-
|
2532
|
-
|
2533
|
-
|
2534
|
-
|
2535
|
-
|
2536
|
-
|
2537
|
-
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
|
2542
|
-
|
2543
|
-
|
2544
|
-
|
2545
|
-
|
2546
|
-
|
2547
|
-
|
2548
|
-
|
2549
|
-
|
2550
|
-
|
2551
|
-
|
2552
|
-
|
2553
|
-
|
1960
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Select, deps: [{ token: i0.NgZone }, { token: i2.FilterService }], target: i0.ɵɵFactoryTarget.Component });
|
1961
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: Select, isStandalone: true, selector: "p-select", 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", size: "size", 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: [SELECT_VALUE_ACCESSOR, SelectStyle], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "selectedItemTemplate", first: true, predicate: ["selectedItem"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "filterTemplate", first: true, predicate: ["filter"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"] }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "onIconTemplate", first: true, predicate: ["onicon"] }, { propertyName: "offIconTemplate", first: true, predicate: ["officon"] }, { propertyName: "cancelIconTemplate", first: true, predicate: ["cancelicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ 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: `
|
1962
|
+
<span
|
1963
|
+
#focusInput
|
1964
|
+
[ngClass]="inputClass"
|
1965
|
+
*ngIf="!editable"
|
1966
|
+
[pTooltip]="tooltip"
|
1967
|
+
[tooltipPosition]="tooltipPosition"
|
1968
|
+
[positionStyle]="tooltipPositionStyle"
|
1969
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
1970
|
+
[attr.aria-disabled]="disabled"
|
1971
|
+
[attr.id]="inputId"
|
1972
|
+
role="combobox"
|
1973
|
+
[attr.aria-label]="ariaLabel || (label() === 'p-emptylabel' ? undefined : label())"
|
1974
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
1975
|
+
[attr.aria-haspopup]="'listbox'"
|
1976
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
1977
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
1978
|
+
[attr.tabindex]="!disabled ? tabindex : -1"
|
1979
|
+
[pAutoFocus]="autofocus"
|
1980
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
1981
|
+
(focus)="onInputFocus($event)"
|
1982
|
+
(blur)="onInputBlur($event)"
|
1983
|
+
(keydown)="onKeyDown($event)"
|
1984
|
+
[attr.aria-required]="required"
|
1985
|
+
[attr.required]="required"
|
1986
|
+
>
|
1987
|
+
<ng-container *ngIf="!selectedItemTemplate && !_selectedItemTemplate; else defaultPlaceholder">{{ label() === 'p-emptylabel' ? ' ' : label() }}</ng-container>
|
1988
|
+
<ng-container *ngIf="(selectedItemTemplate || _selectedItemTemplate) && selectedOption" [ngTemplateOutlet]="selectedItemTemplate || _selectedItemTemplate" [ngTemplateOutletContext]="{ $implicit: selectedOption }"></ng-container>
|
1989
|
+
<ng-template #defaultPlaceholder>
|
1990
|
+
<span *ngIf="!selectedOption">{{ label() === 'p-emptylabel' ? ' ' : label() }}</span>
|
1991
|
+
</ng-template>
|
1992
|
+
</span>
|
1993
|
+
<input
|
1994
|
+
*ngIf="editable"
|
1995
|
+
#editableInput
|
1996
|
+
type="text"
|
1997
|
+
[attr.id]="inputId"
|
1998
|
+
[attr.maxlength]="maxlength"
|
1999
|
+
[ngClass]="inputClass"
|
2000
|
+
[disabled]="disabled"
|
2001
|
+
aria-haspopup="listbox"
|
2002
|
+
[attr.placeholder]="modelValue() === undefined || modelValue() === null ? placeholder() : undefined"
|
2003
|
+
[attr.aria-label]="ariaLabel || (label() === 'p-emptylabel' ? undefined : label())"
|
2004
|
+
(input)="onEditableInput($event)"
|
2005
|
+
(keydown)="onKeyDown($event)"
|
2006
|
+
[pAutoFocus]="autofocus"
|
2007
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
2008
|
+
(focus)="onInputFocus($event)"
|
2009
|
+
(blur)="onInputBlur($event)"
|
2010
|
+
/>
|
2011
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
2012
|
+
<TimesIcon class="p-select-clear-icon" (click)="clear($event)" *ngIf="!clearIconTemplate && !_clearIconTemplate" [attr.data-pc-section]="'clearicon'" />
|
2013
|
+
<span class="p-select-clear-icon" (click)="clear($event)" *ngIf="clearIconTemplate || _clearIconTemplate" [attr.data-pc-section]="'clearicon'">
|
2014
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate; context: { class: 'p-select-clear-icon' }"></ng-template>
|
2015
|
+
</span>
|
2016
|
+
</ng-container>
|
2017
|
+
|
2018
|
+
<div class="p-select-dropdown" role="button" aria-label="dropdown trigger" aria-haspopup="listbox" [attr.aria-expanded]="overlayVisible ?? false" [attr.data-pc-section]="'trigger'">
|
2019
|
+
<ng-container *ngIf="loading; else elseBlock">
|
2020
|
+
<ng-container *ngIf="loadingIconTemplate || _loadingIconTemplate">
|
2021
|
+
<ng-container *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-container>
|
2022
|
+
</ng-container>
|
2023
|
+
<ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
|
2024
|
+
<span *ngIf="loadingIcon" [ngClass]="'p-select-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
2025
|
+
<span *ngIf="!loadingIcon" [class]="'p-select-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
2026
|
+
</ng-container>
|
2027
|
+
</ng-container>
|
2028
|
+
|
2029
|
+
<ng-template #elseBlock>
|
2030
|
+
<ng-container *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate">
|
2031
|
+
<span class="p-select-dropdown-icon" *ngIf="dropdownIcon" [ngClass]="dropdownIcon"></span>
|
2032
|
+
<ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-select-dropdown-icon'" />
|
2033
|
+
</ng-container>
|
2034
|
+
<span *ngIf="dropdownIconTemplate || _dropdownIconTemplate" class="p-select-dropdown-icon">
|
2035
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate; context: { class: 'p-select-dropdown-icon' }"></ng-template>
|
2036
|
+
</span>
|
2037
|
+
</ng-template>
|
2038
|
+
</div>
|
2039
|
+
|
2040
|
+
<p-overlay
|
2041
|
+
#overlay
|
2042
|
+
[(visible)]="overlayVisible"
|
2043
|
+
[options]="overlayOptions"
|
2044
|
+
[target]="'@parent'"
|
2045
|
+
[appendTo]="appendTo"
|
2046
|
+
[autoZIndex]="autoZIndex"
|
2047
|
+
[baseZIndex]="baseZIndex"
|
2048
|
+
[showTransitionOptions]="showTransitionOptions"
|
2049
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
2050
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
2051
|
+
(onHide)="hide()"
|
2052
|
+
>
|
2053
|
+
<ng-template #content>
|
2054
|
+
<div [ngClass]="'p-select-overlay p-component'" [ngStyle]="panelStyle" [class]="panelStyleClass">
|
2055
|
+
<span
|
2056
|
+
#firstHiddenFocusableEl
|
2057
|
+
role="presentation"
|
2058
|
+
class="p-hidden-accessible p-hidden-focusable"
|
2059
|
+
[attr.tabindex]="0"
|
2060
|
+
(focus)="onFirstHiddenFocus($event)"
|
2061
|
+
[attr.data-p-hidden-accessible]="true"
|
2062
|
+
[attr.data-p-hidden-focusable]="true"
|
2063
|
+
>
|
2064
|
+
</span>
|
2065
|
+
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
|
2066
|
+
<div class="p-select-header" *ngIf="filter" (click)="$event.stopPropagation()">
|
2067
|
+
<ng-container *ngIf="filterTemplate || _filterTemplate; else builtInFilterElement">
|
2068
|
+
<ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
|
2069
|
+
</ng-container>
|
2070
|
+
<ng-template #builtInFilterElement>
|
2071
|
+
<p-iconfield>
|
2072
|
+
<input
|
2073
|
+
#filter
|
2074
|
+
pInputText
|
2075
|
+
[pSize]="size"
|
2076
|
+
type="text"
|
2077
|
+
role="searchbox"
|
2078
|
+
autocomplete="off"
|
2079
|
+
[value]="_filterValue() || ''"
|
2080
|
+
class="p-select-filter"
|
2081
|
+
[variant]="variant"
|
2082
|
+
[attr.placeholder]="filterPlaceholder"
|
2083
|
+
[attr.aria-owns]="id + '_list'"
|
2084
|
+
(input)="onFilterInputChange($event)"
|
2085
|
+
[attr.aria-label]="ariaFilterLabel"
|
2086
|
+
[attr.aria-activedescendant]="focusedOptionId"
|
2087
|
+
(keydown)="onFilterKeyDown($event)"
|
2088
|
+
(blur)="onFilterBlur($event)"
|
2089
|
+
/>
|
2090
|
+
<p-inputicon>
|
2091
|
+
<SearchIcon *ngIf="!filterIconTemplate && !_filterIconTemplate" />
|
2092
|
+
<span *ngIf="filterIconTemplate || _filterIconTemplate">
|
2093
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
|
2094
|
+
</span>
|
2095
|
+
</p-inputicon>
|
2096
|
+
</p-iconfield>
|
2097
|
+
</ng-template>
|
2098
|
+
</div>
|
2099
|
+
<div class="p-select-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
|
2100
|
+
<p-scroller
|
2101
|
+
*ngIf="virtualScroll"
|
2102
|
+
#scroller
|
2103
|
+
[items]="visibleOptions()"
|
2104
|
+
[style]="{ height: scrollHeight }"
|
2105
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
2106
|
+
[autoSize]="true"
|
2107
|
+
[lazy]="lazy"
|
2108
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
2109
|
+
[options]="virtualScrollOptions"
|
2110
|
+
>
|
2111
|
+
<ng-template #content let-items let-scrollerOptions="options">
|
2112
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
2113
|
+
</ng-template>
|
2114
|
+
<ng-container *ngIf="loaderTemplate || _loaderTemplate">
|
2115
|
+
<ng-template #loader let-scrollerOptions="options">
|
2116
|
+
<ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
2117
|
+
</ng-template>
|
2118
|
+
</ng-container>
|
2119
|
+
</p-scroller>
|
2120
|
+
<ng-container *ngIf="!virtualScroll">
|
2121
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
2122
|
+
</ng-container>
|
2123
|
+
|
2124
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
2125
|
+
<ul #items [attr.id]="id + '_list'" [attr.aria-label]="listLabel" class="p-select-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox">
|
2126
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
2127
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
2128
|
+
<li class="p-select-option-group" [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
2129
|
+
<span *ngIf="!groupTemplate && !_groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
2130
|
+
<ng-container *ngTemplateOutlet="groupTemplate || _groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
|
2131
|
+
</li>
|
2132
|
+
</ng-container>
|
2133
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
2134
|
+
<p-selectItem
|
2135
|
+
[id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
2136
|
+
[option]="option"
|
2137
|
+
[checkmark]="checkmark"
|
2138
|
+
[selected]="isSelected(option)"
|
2139
|
+
[label]="getOptionLabel(option)"
|
2140
|
+
[disabled]="isOptionDisabled(option)"
|
2141
|
+
[template]="itemTemplate || _itemTemplate"
|
2142
|
+
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
2143
|
+
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
2144
|
+
[ariaSetSize]="ariaSetSize"
|
2145
|
+
(onClick)="onOptionSelect($event, option)"
|
2146
|
+
(onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
2147
|
+
></p-selectItem>
|
2148
|
+
</ng-container>
|
2149
|
+
</ng-template>
|
2150
|
+
<li *ngIf="filterValue && isEmpty()" class="p-select-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
2151
|
+
@if (!emptyFilterTemplate && !_emptyFilterTemplate && !emptyTemplate) {
|
2152
|
+
{{ emptyFilterMessageLabel }}
|
2153
|
+
} @else {
|
2154
|
+
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || _emptyFilterTemplate || emptyTemplate || _emptyTemplate"></ng-container>
|
2155
|
+
}
|
2156
|
+
</li>
|
2157
|
+
<li *ngIf="!filterValue && isEmpty()" class="p-select-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
2158
|
+
@if (!emptyTemplate && !_emptyTemplate) {
|
2159
|
+
{{ emptyMessageLabel }}
|
2160
|
+
} @else {
|
2161
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
|
2162
|
+
}
|
2163
|
+
</li>
|
2164
|
+
</ul>
|
2165
|
+
</ng-template>
|
2166
|
+
</div>
|
2167
|
+
<ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
|
2168
|
+
<span
|
2169
|
+
#lastHiddenFocusableEl
|
2170
|
+
role="presentation"
|
2171
|
+
class="p-hidden-accessible p-hidden-focusable"
|
2172
|
+
[attr.tabindex]="0"
|
2173
|
+
(focus)="onLastHiddenFocus($event)"
|
2174
|
+
[attr.data-p-hidden-accessible]="true"
|
2175
|
+
[attr.data-p-hidden-focusable]="true"
|
2176
|
+
></span>
|
2177
|
+
</div>
|
2178
|
+
</ng-template>
|
2179
|
+
</p-overlay>
|
2180
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: SelectItem, selector: "p-selectItem", inputs: ["id", "option", "selected", "focused", "label", "disabled", "visible", "itemSize", "ariaPosInset", "ariaSetSize", "template", "checkmark"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: 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: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["autofocus", "pAutoFocus"] }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: SearchIcon, selector: "SearchIcon" }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "component", type: 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: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
2554
2181
|
}
|
2555
|
-
(
|
2556
|
-
|
2557
|
-
|
2558
|
-
|
2559
|
-
|
2560
|
-
|
2561
|
-
|
2182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Select, decorators: [{
|
2183
|
+
type: Component,
|
2184
|
+
args: [{
|
2185
|
+
selector: 'p-select',
|
2186
|
+
standalone: true,
|
2187
|
+
imports: [CommonModule, SelectItem, Overlay, Tooltip, AutoFocus, TimesIcon, ChevronDownIcon, SearchIcon, InputText, IconField, InputIcon, Scroller, SharedModule],
|
2188
|
+
template: `
|
2562
2189
|
<span
|
2563
2190
|
#focusInput
|
2564
2191
|
[ngClass]="inputClass"
|
@@ -2778,279 +2405,277 @@ class Select extends BaseComponent {
|
|
2778
2405
|
</ng-template>
|
2779
2406
|
</p-overlay>
|
2780
2407
|
`,
|
2781
|
-
|
2782
|
-
|
2783
|
-
|
2784
|
-
|
2785
|
-
|
2786
|
-
|
2787
|
-
|
2788
|
-
|
2789
|
-
|
2790
|
-
|
2791
|
-
|
2792
|
-
|
2793
|
-
|
2794
|
-
|
2795
|
-
|
2796
|
-
|
2797
|
-
|
2798
|
-
|
2799
|
-
|
2800
|
-
|
2801
|
-
|
2802
|
-
|
2803
|
-
|
2804
|
-
|
2805
|
-
|
2806
|
-
|
2807
|
-
|
2808
|
-
|
2809
|
-
|
2810
|
-
|
2811
|
-
|
2812
|
-
|
2813
|
-
|
2814
|
-
|
2815
|
-
|
2816
|
-
|
2817
|
-
|
2818
|
-
|
2819
|
-
|
2820
|
-
|
2821
|
-
|
2822
|
-
|
2823
|
-
|
2824
|
-
|
2825
|
-
|
2826
|
-
|
2827
|
-
|
2828
|
-
|
2829
|
-
|
2830
|
-
|
2831
|
-
|
2832
|
-
|
2833
|
-
|
2834
|
-
|
2835
|
-
|
2836
|
-
|
2837
|
-
|
2838
|
-
|
2839
|
-
|
2840
|
-
|
2841
|
-
|
2842
|
-
|
2843
|
-
|
2844
|
-
|
2845
|
-
|
2846
|
-
|
2847
|
-
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
|
2852
|
-
|
2853
|
-
|
2854
|
-
|
2855
|
-
|
2856
|
-
|
2857
|
-
|
2858
|
-
|
2859
|
-
|
2860
|
-
|
2861
|
-
|
2862
|
-
|
2863
|
-
|
2864
|
-
|
2865
|
-
|
2866
|
-
|
2867
|
-
|
2868
|
-
|
2869
|
-
|
2870
|
-
|
2871
|
-
|
2872
|
-
|
2873
|
-
|
2874
|
-
|
2875
|
-
|
2876
|
-
|
2877
|
-
|
2878
|
-
|
2879
|
-
|
2880
|
-
|
2881
|
-
|
2882
|
-
|
2883
|
-
|
2884
|
-
|
2885
|
-
|
2886
|
-
|
2887
|
-
|
2888
|
-
|
2889
|
-
|
2890
|
-
|
2891
|
-
|
2892
|
-
|
2893
|
-
|
2894
|
-
|
2895
|
-
|
2896
|
-
|
2897
|
-
|
2898
|
-
|
2899
|
-
|
2900
|
-
|
2901
|
-
|
2902
|
-
|
2903
|
-
|
2904
|
-
|
2905
|
-
|
2906
|
-
|
2907
|
-
|
2908
|
-
|
2909
|
-
|
2910
|
-
|
2911
|
-
|
2912
|
-
|
2913
|
-
|
2914
|
-
|
2915
|
-
|
2916
|
-
|
2917
|
-
|
2918
|
-
|
2919
|
-
|
2920
|
-
|
2921
|
-
|
2922
|
-
|
2923
|
-
|
2924
|
-
|
2925
|
-
|
2926
|
-
|
2927
|
-
|
2928
|
-
|
2929
|
-
|
2930
|
-
|
2931
|
-
|
2932
|
-
|
2933
|
-
|
2934
|
-
|
2935
|
-
|
2936
|
-
|
2937
|
-
|
2938
|
-
|
2939
|
-
|
2940
|
-
|
2941
|
-
|
2942
|
-
|
2943
|
-
|
2944
|
-
|
2945
|
-
|
2946
|
-
|
2947
|
-
|
2948
|
-
|
2949
|
-
|
2950
|
-
|
2951
|
-
|
2952
|
-
|
2953
|
-
|
2954
|
-
|
2955
|
-
|
2956
|
-
|
2957
|
-
|
2958
|
-
|
2959
|
-
|
2960
|
-
|
2961
|
-
|
2962
|
-
|
2963
|
-
|
2964
|
-
|
2965
|
-
|
2966
|
-
|
2967
|
-
|
2968
|
-
|
2969
|
-
|
2970
|
-
|
2971
|
-
|
2972
|
-
|
2973
|
-
|
2974
|
-
|
2975
|
-
|
2976
|
-
|
2977
|
-
|
2978
|
-
|
2979
|
-
|
2980
|
-
|
2981
|
-
|
2982
|
-
|
2983
|
-
|
2984
|
-
|
2985
|
-
|
2986
|
-
|
2987
|
-
|
2988
|
-
|
2989
|
-
|
2990
|
-
|
2991
|
-
|
2992
|
-
|
2993
|
-
|
2994
|
-
|
2995
|
-
|
2996
|
-
|
2997
|
-
|
2998
|
-
|
2999
|
-
|
3000
|
-
|
3001
|
-
|
3002
|
-
|
3003
|
-
|
3004
|
-
|
3005
|
-
|
3006
|
-
|
3007
|
-
|
3008
|
-
|
3009
|
-
|
3010
|
-
|
3011
|
-
|
3012
|
-
|
3013
|
-
|
3014
|
-
|
3015
|
-
|
3016
|
-
|
3017
|
-
|
3018
|
-
|
3019
|
-
|
3020
|
-
|
3021
|
-
|
3022
|
-
|
3023
|
-
|
3024
|
-
|
3025
|
-
|
3026
|
-
|
3027
|
-
|
3028
|
-
|
3029
|
-
|
3030
|
-
|
3031
|
-
|
3032
|
-
|
3033
|
-
|
3034
|
-
|
3035
|
-
|
3036
|
-
|
3037
|
-
|
3038
|
-
|
3039
|
-
|
3040
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Select, { className: "Select", filePath: "select.ts", lineNumber: 381 }); })();
|
2408
|
+
host: {
|
2409
|
+
'[attr.id]': 'id',
|
2410
|
+
'(click)': 'onContainerClick($event)'
|
2411
|
+
},
|
2412
|
+
providers: [SELECT_VALUE_ACCESSOR, SelectStyle],
|
2413
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2414
|
+
encapsulation: ViewEncapsulation.None
|
2415
|
+
}]
|
2416
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i2.FilterService }], propDecorators: { id: [{
|
2417
|
+
type: Input
|
2418
|
+
}], scrollHeight: [{
|
2419
|
+
type: Input
|
2420
|
+
}], filter: [{
|
2421
|
+
type: Input,
|
2422
|
+
args: [{ transform: booleanAttribute }]
|
2423
|
+
}], name: [{
|
2424
|
+
type: Input
|
2425
|
+
}], style: [{
|
2426
|
+
type: Input
|
2427
|
+
}], panelStyle: [{
|
2428
|
+
type: Input
|
2429
|
+
}], styleClass: [{
|
2430
|
+
type: Input
|
2431
|
+
}], panelStyleClass: [{
|
2432
|
+
type: Input
|
2433
|
+
}], readonly: [{
|
2434
|
+
type: Input,
|
2435
|
+
args: [{ transform: booleanAttribute }]
|
2436
|
+
}], required: [{
|
2437
|
+
type: Input,
|
2438
|
+
args: [{ transform: booleanAttribute }]
|
2439
|
+
}], editable: [{
|
2440
|
+
type: Input,
|
2441
|
+
args: [{ transform: booleanAttribute }]
|
2442
|
+
}], appendTo: [{
|
2443
|
+
type: Input
|
2444
|
+
}], tabindex: [{
|
2445
|
+
type: Input,
|
2446
|
+
args: [{ transform: numberAttribute }]
|
2447
|
+
}], placeholder: [{
|
2448
|
+
type: Input
|
2449
|
+
}], loadingIcon: [{
|
2450
|
+
type: Input
|
2451
|
+
}], filterPlaceholder: [{
|
2452
|
+
type: Input
|
2453
|
+
}], filterLocale: [{
|
2454
|
+
type: Input
|
2455
|
+
}], variant: [{
|
2456
|
+
type: Input
|
2457
|
+
}], inputId: [{
|
2458
|
+
type: Input
|
2459
|
+
}], dataKey: [{
|
2460
|
+
type: Input
|
2461
|
+
}], filterBy: [{
|
2462
|
+
type: Input
|
2463
|
+
}], filterFields: [{
|
2464
|
+
type: Input
|
2465
|
+
}], autofocus: [{
|
2466
|
+
type: Input,
|
2467
|
+
args: [{ transform: booleanAttribute }]
|
2468
|
+
}], resetFilterOnHide: [{
|
2469
|
+
type: Input,
|
2470
|
+
args: [{ transform: booleanAttribute }]
|
2471
|
+
}], checkmark: [{
|
2472
|
+
type: Input,
|
2473
|
+
args: [{ transform: booleanAttribute }]
|
2474
|
+
}], dropdownIcon: [{
|
2475
|
+
type: Input
|
2476
|
+
}], loading: [{
|
2477
|
+
type: Input,
|
2478
|
+
args: [{ transform: booleanAttribute }]
|
2479
|
+
}], optionLabel: [{
|
2480
|
+
type: Input
|
2481
|
+
}], optionValue: [{
|
2482
|
+
type: Input
|
2483
|
+
}], optionDisabled: [{
|
2484
|
+
type: Input
|
2485
|
+
}], optionGroupLabel: [{
|
2486
|
+
type: Input
|
2487
|
+
}], optionGroupChildren: [{
|
2488
|
+
type: Input
|
2489
|
+
}], autoDisplayFirst: [{
|
2490
|
+
type: Input,
|
2491
|
+
args: [{ transform: booleanAttribute }]
|
2492
|
+
}], group: [{
|
2493
|
+
type: Input,
|
2494
|
+
args: [{ transform: booleanAttribute }]
|
2495
|
+
}], showClear: [{
|
2496
|
+
type: Input,
|
2497
|
+
args: [{ transform: booleanAttribute }]
|
2498
|
+
}], emptyFilterMessage: [{
|
2499
|
+
type: Input
|
2500
|
+
}], emptyMessage: [{
|
2501
|
+
type: Input
|
2502
|
+
}], lazy: [{
|
2503
|
+
type: Input,
|
2504
|
+
args: [{ transform: booleanAttribute }]
|
2505
|
+
}], virtualScroll: [{
|
2506
|
+
type: Input,
|
2507
|
+
args: [{ transform: booleanAttribute }]
|
2508
|
+
}], virtualScrollItemSize: [{
|
2509
|
+
type: Input,
|
2510
|
+
args: [{ transform: numberAttribute }]
|
2511
|
+
}], virtualScrollOptions: [{
|
2512
|
+
type: Input
|
2513
|
+
}], size: [{
|
2514
|
+
type: Input
|
2515
|
+
}], overlayOptions: [{
|
2516
|
+
type: Input
|
2517
|
+
}], ariaFilterLabel: [{
|
2518
|
+
type: Input
|
2519
|
+
}], ariaLabel: [{
|
2520
|
+
type: Input
|
2521
|
+
}], ariaLabelledBy: [{
|
2522
|
+
type: Input
|
2523
|
+
}], filterMatchMode: [{
|
2524
|
+
type: Input
|
2525
|
+
}], maxlength: [{
|
2526
|
+
type: Input,
|
2527
|
+
args: [{ transform: numberAttribute }]
|
2528
|
+
}], tooltip: [{
|
2529
|
+
type: Input
|
2530
|
+
}], tooltipPosition: [{
|
2531
|
+
type: Input
|
2532
|
+
}], tooltipPositionStyle: [{
|
2533
|
+
type: Input
|
2534
|
+
}], tooltipStyleClass: [{
|
2535
|
+
type: Input
|
2536
|
+
}], focusOnHover: [{
|
2537
|
+
type: Input,
|
2538
|
+
args: [{ transform: booleanAttribute }]
|
2539
|
+
}], selectOnFocus: [{
|
2540
|
+
type: Input,
|
2541
|
+
args: [{ transform: booleanAttribute }]
|
2542
|
+
}], autoOptionFocus: [{
|
2543
|
+
type: Input,
|
2544
|
+
args: [{ transform: booleanAttribute }]
|
2545
|
+
}], autofocusFilter: [{
|
2546
|
+
type: Input,
|
2547
|
+
args: [{ transform: booleanAttribute }]
|
2548
|
+
}], fluid: [{
|
2549
|
+
type: Input,
|
2550
|
+
args: [{ transform: booleanAttribute }]
|
2551
|
+
}], disabled: [{
|
2552
|
+
type: Input
|
2553
|
+
}], itemSize: [{
|
2554
|
+
type: Input
|
2555
|
+
}], autoZIndex: [{
|
2556
|
+
type: Input
|
2557
|
+
}], baseZIndex: [{
|
2558
|
+
type: Input
|
2559
|
+
}], showTransitionOptions: [{
|
2560
|
+
type: Input
|
2561
|
+
}], hideTransitionOptions: [{
|
2562
|
+
type: Input
|
2563
|
+
}], filterValue: [{
|
2564
|
+
type: Input
|
2565
|
+
}], options: [{
|
2566
|
+
type: Input
|
2567
|
+
}], onChange: [{
|
2568
|
+
type: Output
|
2569
|
+
}], onFilter: [{
|
2570
|
+
type: Output
|
2571
|
+
}], onFocus: [{
|
2572
|
+
type: Output
|
2573
|
+
}], onBlur: [{
|
2574
|
+
type: Output
|
2575
|
+
}], onClick: [{
|
2576
|
+
type: Output
|
2577
|
+
}], onShow: [{
|
2578
|
+
type: Output
|
2579
|
+
}], onHide: [{
|
2580
|
+
type: Output
|
2581
|
+
}], onClear: [{
|
2582
|
+
type: Output
|
2583
|
+
}], onLazyLoad: [{
|
2584
|
+
type: Output
|
2585
|
+
}], filterViewChild: [{
|
2586
|
+
type: ViewChild,
|
2587
|
+
args: ['filter']
|
2588
|
+
}], focusInputViewChild: [{
|
2589
|
+
type: ViewChild,
|
2590
|
+
args: ['focusInput']
|
2591
|
+
}], editableInputViewChild: [{
|
2592
|
+
type: ViewChild,
|
2593
|
+
args: ['editableInput']
|
2594
|
+
}], itemsViewChild: [{
|
2595
|
+
type: ViewChild,
|
2596
|
+
args: ['items']
|
2597
|
+
}], scroller: [{
|
2598
|
+
type: ViewChild,
|
2599
|
+
args: ['scroller']
|
2600
|
+
}], overlayViewChild: [{
|
2601
|
+
type: ViewChild,
|
2602
|
+
args: ['overlay']
|
2603
|
+
}], firstHiddenFocusableElementOnOverlay: [{
|
2604
|
+
type: ViewChild,
|
2605
|
+
args: ['firstHiddenFocusableEl']
|
2606
|
+
}], lastHiddenFocusableElementOnOverlay: [{
|
2607
|
+
type: ViewChild,
|
2608
|
+
args: ['lastHiddenFocusableEl']
|
2609
|
+
}], hostClass: [{
|
2610
|
+
type: HostBinding,
|
2611
|
+
args: ['class']
|
2612
|
+
}], hostStyle: [{
|
2613
|
+
type: HostBinding,
|
2614
|
+
args: ['style']
|
2615
|
+
}], itemTemplate: [{
|
2616
|
+
type: ContentChild,
|
2617
|
+
args: ['item', { descendants: false }]
|
2618
|
+
}], groupTemplate: [{
|
2619
|
+
type: ContentChild,
|
2620
|
+
args: ['group', { descendants: false }]
|
2621
|
+
}], loaderTemplate: [{
|
2622
|
+
type: ContentChild,
|
2623
|
+
args: ['loader', { descendants: false }]
|
2624
|
+
}], selectedItemTemplate: [{
|
2625
|
+
type: ContentChild,
|
2626
|
+
args: ['selectedItem', { descendants: false }]
|
2627
|
+
}], headerTemplate: [{
|
2628
|
+
type: ContentChild,
|
2629
|
+
args: ['header', { descendants: false }]
|
2630
|
+
}], filterTemplate: [{
|
2631
|
+
type: ContentChild,
|
2632
|
+
args: ['filter', { descendants: false }]
|
2633
|
+
}], footerTemplate: [{
|
2634
|
+
type: ContentChild,
|
2635
|
+
args: ['footer', { descendants: false }]
|
2636
|
+
}], emptyFilterTemplate: [{
|
2637
|
+
type: ContentChild,
|
2638
|
+
args: ['emptyfilter', { descendants: false }]
|
2639
|
+
}], emptyTemplate: [{
|
2640
|
+
type: ContentChild,
|
2641
|
+
args: ['empty', { descendants: false }]
|
2642
|
+
}], dropdownIconTemplate: [{
|
2643
|
+
type: ContentChild,
|
2644
|
+
args: ['dropdownicon', { descendants: false }]
|
2645
|
+
}], loadingIconTemplate: [{
|
2646
|
+
type: ContentChild,
|
2647
|
+
args: ['loadingicon', { descendants: false }]
|
2648
|
+
}], clearIconTemplate: [{
|
2649
|
+
type: ContentChild,
|
2650
|
+
args: ['clearicon', { descendants: false }]
|
2651
|
+
}], filterIconTemplate: [{
|
2652
|
+
type: ContentChild,
|
2653
|
+
args: ['filtericon', { descendants: false }]
|
2654
|
+
}], onIconTemplate: [{
|
2655
|
+
type: ContentChild,
|
2656
|
+
args: ['onicon', { descendants: false }]
|
2657
|
+
}], offIconTemplate: [{
|
2658
|
+
type: ContentChild,
|
2659
|
+
args: ['officon', { descendants: false }]
|
2660
|
+
}], cancelIconTemplate: [{
|
2661
|
+
type: ContentChild,
|
2662
|
+
args: ['cancelicon', { descendants: false }]
|
2663
|
+
}], templates: [{
|
2664
|
+
type: ContentChildren,
|
2665
|
+
args: [PrimeTemplate]
|
2666
|
+
}] } });
|
3041
2667
|
class SelectModule {
|
3042
|
-
static ɵfac =
|
3043
|
-
static ɵmod =
|
3044
|
-
static ɵinj =
|
2668
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2669
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: SelectModule, imports: [Select, SharedModule], exports: [Select, SharedModule] });
|
2670
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SelectModule, imports: [Select, SharedModule, SharedModule] });
|
3045
2671
|
}
|
3046
|
-
(
|
3047
|
-
|
3048
|
-
|
3049
|
-
|
3050
|
-
|
3051
|
-
|
3052
|
-
|
3053
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SelectModule, { imports: [Select, SharedModule], exports: [Select, SharedModule] }); })();
|
2672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: SelectModule, decorators: [{
|
2673
|
+
type: NgModule,
|
2674
|
+
args: [{
|
2675
|
+
imports: [Select, SharedModule],
|
2676
|
+
exports: [Select, SharedModule]
|
2677
|
+
}]
|
2678
|
+
}] });
|
3054
2679
|
|
3055
2680
|
/**
|
3056
2681
|
* Generated bundle index. Do not edit.
|