primeng 19.0.6 → 19.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dataview/dataview.interface.d.ts +9 -19
- package/dragdrop/dragdrop.d.ts +3 -2
- package/dynamicdialog/dynamicdialog.d.ts +1 -1
- package/fesm2022/primeng-accordion.mjs +347 -560
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-animateonscroll.mjs +37 -40
- package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +79 -89
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +505 -786
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-autofocus.mjs +26 -27
- package/fesm2022/primeng-autofocus.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +70 -120
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-avatargroup.mjs +44 -54
- package/fesm2022/primeng-avatargroup.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +62 -71
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +6 -6
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +15 -15
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +66 -87
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +175 -386
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +223 -328
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +36 -40
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +727 -1127
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +88 -192
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +218 -405
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +392 -576
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +57 -63
- package/fesm2022/primeng-chart.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +131 -183
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +92 -188
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +142 -167
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +12 -12
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +220 -347
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +161 -251
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +336 -450
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +249 -352
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +740 -1136
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +25 -31
- package/fesm2022/primeng-defer.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +277 -478
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +68 -77
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +138 -167
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-dragdrop.mjs +85 -79
- package/fesm2022/primeng-dragdrop.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +171 -268
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +529 -867
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +152 -301
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +118 -156
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +153 -247
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +370 -687
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +38 -46
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-fluid.mjs +33 -41
- package/fesm2022/primeng-fluid.mjs.map +1 -1
- package/fesm2022/primeng-focustrap.mjs +23 -24
- package/fesm2022/primeng-focustrap.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +529 -761
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +42 -51
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledown.mjs +17 -19
- package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleleft.mjs +17 -19
- package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleright.mjs +17 -19
- package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleup.mjs +17 -19
- package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
- package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
- package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowright.mjs +19 -19
- package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowup.mjs +26 -26
- package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
- package/fesm2022/primeng-icons-ban.mjs +24 -26
- package/fesm2022/primeng-icons-ban.mjs.map +1 -1
- package/fesm2022/primeng-icons-bars.mjs +19 -19
- package/fesm2022/primeng-icons-bars.mjs.map +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +28 -33
- package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
- package/fesm2022/primeng-icons-blank.mjs +14 -16
- package/fesm2022/primeng-icons-blank.mjs.map +1 -1
- package/fesm2022/primeng-icons-calendar.mjs +17 -19
- package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretleft.mjs +17 -19
- package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretright.mjs +17 -19
- package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
- package/fesm2022/primeng-icons-check.mjs +17 -19
- package/fesm2022/primeng-icons-check.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
- package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
- package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronright.mjs +17 -19
- package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronup.mjs +17 -19
- package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
- package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
- package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/primeng-icons-eye.mjs +19 -19
- package/fesm2022/primeng-icons-eye.mjs.map +1 -1
- package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
- package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-filter.mjs +24 -26
- package/fesm2022/primeng-icons-filter.mjs.map +1 -1
- package/fesm2022/primeng-icons-filterslash.mjs +26 -26
- package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-home.mjs +26 -26
- package/fesm2022/primeng-icons-home.mjs.map +1 -1
- package/fesm2022/primeng-icons-infocircle.mjs +26 -26
- package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-minus.mjs +17 -19
- package/fesm2022/primeng-icons-minus.mjs.map +1 -1
- package/fesm2022/primeng-icons-pencil.mjs +24 -26
- package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
- package/fesm2022/primeng-icons-plus.mjs +24 -26
- package/fesm2022/primeng-icons-plus.mjs.map +1 -1
- package/fesm2022/primeng-icons-refresh.mjs +26 -26
- package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
- package/fesm2022/primeng-icons-search.mjs +26 -26
- package/fesm2022/primeng-icons-search.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchminus.mjs +26 -26
- package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchplus.mjs +26 -26
- package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortalt.mjs +30 -26
- package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-spinner.mjs +24 -26
- package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
- package/fesm2022/primeng-icons-star.mjs +24 -26
- package/fesm2022/primeng-icons-star.mjs.map +1 -1
- package/fesm2022/primeng-icons-starfill.mjs +24 -26
- package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
- package/fesm2022/primeng-icons-thlarge.mjs +26 -26
- package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
- package/fesm2022/primeng-icons-times.mjs +17 -19
- package/fesm2022/primeng-icons-times.mjs.map +1 -1
- package/fesm2022/primeng-icons-timescircle.mjs +26 -26
- package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-trash.mjs +26 -26
- package/fesm2022/primeng-icons-trash.mjs.map +1 -1
- package/fesm2022/primeng-icons-undo.mjs +26 -26
- package/fesm2022/primeng-icons-undo.mjs.map +1 -1
- package/fesm2022/primeng-icons-upload.mjs +26 -26
- package/fesm2022/primeng-icons-upload.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
- package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
- package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +32 -38
- package/fesm2022/primeng-iftalabel.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +189 -370
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +57 -86
- package/fesm2022/primeng-imagecompare.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +108 -206
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +40 -50
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputicon.mjs +39 -48
- package/fesm2022/primeng-inputicon.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +156 -181
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +299 -416
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +97 -121
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputswitch.mjs +87 -92
- package/fesm2022/primeng-inputswitch.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +51 -57
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +50 -55
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-keyfilter.mjs +44 -47
- package/fesm2022/primeng-keyfilter.mjs.map +1 -1
- package/fesm2022/primeng-knob.mjs +105 -111
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +473 -790
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +377 -611
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +289 -460
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +357 -549
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +156 -244
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +162 -278
- package/fesm2022/primeng-messages.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +135 -264
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +655 -1132
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +228 -330
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +161 -311
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +135 -147
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +50 -58
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +134 -154
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +212 -447
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +219 -317
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +439 -783
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +268 -408
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +560 -856
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +129 -148
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +81 -121
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-progressspinner.mjs +48 -58
- package/fesm2022/primeng-progressspinner.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +115 -106
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +120 -208
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +28 -29
- package/fesm2022/primeng-ripple.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +167 -295
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +96 -116
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +106 -150
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +579 -955
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +106 -133
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +151 -239
- package/fesm2022/primeng-sidebar.mjs.map +1 -1
- package/fesm2022/primeng-skeleton.mjs +46 -54
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +186 -182
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +192 -254
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +211 -231
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +126 -159
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +227 -342
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +117 -170
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-styleclass.mjs +50 -53
- package/fesm2022/primeng-styleclass.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +1808 -2584
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +173 -319
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +185 -300
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +263 -435
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +63 -110
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +60 -104
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +56 -61
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +338 -457
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +90 -156
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +251 -358
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +113 -150
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +98 -121
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +62 -121
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +73 -74
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +441 -730
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +342 -531
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +1026 -1583
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +6 -6
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/listbox/listbox.d.ts +2 -2
- package/package.json +178 -179
- package/password/password.d.ts +7 -1
- package/picklist/picklist.d.ts +11 -1
@@ -1,14 +1,14 @@
|
|
1
1
|
import * as i4 from '@angular/cdk/drag-drop';
|
2
|
-
import {
|
2
|
+
import { DragDropModule, CDK_DRAG_CONFIG } from '@angular/cdk/drag-drop';
|
3
3
|
import * as i2 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import * as i0 from '@angular/core';
|
6
|
-
import { Injectable, forwardRef, EventEmitter, signal, inject, computed, booleanAttribute, numberAttribute,
|
6
|
+
import { Injectable, forwardRef, EventEmitter, signal, inject, computed, booleanAttribute, numberAttribute, ContentChildren, ContentChild, ViewChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
7
7
|
import * as i3 from '@angular/forms';
|
8
8
|
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
9
|
-
import { isNotEmpty, uuid, equals, focus, getFirstFocusableElement, isEmpty, isPrintableCharacter, resolveFieldData, findSingle, findLastIndex } from '@primeuix/utils';
|
9
|
+
import { isNotEmpty, uuid, equals, focus, getFirstFocusableElement, isEmpty, isPrintableCharacter, resolveFieldData, findSingle, findLastIndex, isFunction } from '@primeuix/utils';
|
10
10
|
import * as i1 from 'primeng/api';
|
11
|
-
import { Header, Footer, PrimeTemplate
|
11
|
+
import { SharedModule, Header, Footer, PrimeTemplate } from 'primeng/api';
|
12
12
|
import { BaseComponent } from 'primeng/basecomponent';
|
13
13
|
import { Checkbox } from 'primeng/checkbox';
|
14
14
|
import { IconField } from 'primeng/iconfield';
|
@@ -94,6 +94,10 @@ const theme = ({ dt }) => `
|
|
94
94
|
box-shadow ${dt('listbox.transition.duration')}, outline-color ${dt('listbox.transition.duration')};
|
95
95
|
}
|
96
96
|
|
97
|
+
.p-listbox-option:not(.cdk-drag-disabled) {
|
98
|
+
cursor: move;
|
99
|
+
}
|
100
|
+
|
97
101
|
.p-listbox-striped li:nth-child(even of .p-listbox-option) {
|
98
102
|
background: ${dt('listbox.option.striped.background')};
|
99
103
|
}
|
@@ -173,12 +177,12 @@ class ListBoxStyle extends BaseStyle {
|
|
173
177
|
name = 'listbox';
|
174
178
|
theme = theme;
|
175
179
|
classes = classes;
|
176
|
-
static ɵfac =
|
177
|
-
static ɵprov =
|
180
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListBoxStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
181
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListBoxStyle });
|
178
182
|
}
|
179
|
-
(
|
180
|
-
|
181
|
-
|
183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListBoxStyle, decorators: [{
|
184
|
+
type: Injectable
|
185
|
+
}] });
|
182
186
|
/**
|
183
187
|
*
|
184
188
|
* ListBox is used to select one or more values from a list of items.
|
@@ -232,449 +236,6 @@ var ListboxClasses;
|
|
232
236
|
ListboxClasses["emptyMessage"] = "p-listbox-empty-message";
|
233
237
|
})(ListboxClasses || (ListboxClasses = {}));
|
234
238
|
|
235
|
-
const _c0 = ["item"];
|
236
|
-
const _c1 = ["group"];
|
237
|
-
const _c2 = ["header"];
|
238
|
-
const _c3 = ["filter"];
|
239
|
-
const _c4 = ["footer"];
|
240
|
-
const _c5 = ["emptyfilter"];
|
241
|
-
const _c6 = ["empty"];
|
242
|
-
const _c7 = ["filtericon"];
|
243
|
-
const _c8 = ["checkicon"];
|
244
|
-
const _c9 = ["checkmark"];
|
245
|
-
const _c10 = ["loader"];
|
246
|
-
const _c11 = ["headerchkbox"];
|
247
|
-
const _c12 = ["lastHiddenFocusableElement"];
|
248
|
-
const _c13 = ["firstHiddenFocusableElement"];
|
249
|
-
const _c14 = ["scroller"];
|
250
|
-
const _c15 = ["list"];
|
251
|
-
const _c16 = ["container"];
|
252
|
-
const _c17 = [[["p-header"]], [["p-footer"]]];
|
253
|
-
const _c18 = ["p-header", "p-footer"];
|
254
|
-
const _c19 = (a0, a1) => ({ $implicit: a0, options: a1 });
|
255
|
-
const _c20 = a0 => ({ "p-checkbox-disabled": a0 });
|
256
|
-
const _c21 = a0 => ({ $implicit: a0 });
|
257
|
-
const _c22 = a0 => ({ options: a0 });
|
258
|
-
const _c23 = a0 => ({ height: a0 });
|
259
|
-
const _c24 = () => ({});
|
260
|
-
const _c25 = (a0, a1, a2) => ({ "p-listbox-option-selected": a0, "p-focus": a1, "p-disabled": a2 });
|
261
|
-
const _c26 = (a0, a1, a2) => ({ $implicit: a0, index: a1, selected: a2 });
|
262
|
-
const _c27 = a0 => ({ implicit: a0 });
|
263
|
-
function Listbox_div_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
264
|
-
i0.ɵɵelementContainer(0);
|
265
|
-
} }
|
266
|
-
function Listbox_div_3_Template(rf, ctx) { if (rf & 1) {
|
267
|
-
i0.ɵɵelementStart(0, "div", 23);
|
268
|
-
i0.ɵɵprojection(1);
|
269
|
-
i0.ɵɵtemplate(2, Listbox_div_3_ng_container_2_Template, 1, 0, "ng-container", 24);
|
270
|
-
i0.ɵɵelementEnd();
|
271
|
-
} if (rf & 2) {
|
272
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
273
|
-
i0.ɵɵadvance(2);
|
274
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c19, ctx_r1.modelValue(), ctx_r1.visibleOptions()));
|
275
|
-
} }
|
276
|
-
function Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
|
277
|
-
function Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
|
278
|
-
i0.ɵɵtemplate(0, Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
|
279
|
-
} }
|
280
|
-
function Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
281
|
-
i0.ɵɵtemplate(0, Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_0_Template, 1, 0, null, 24);
|
282
|
-
} if (rf & 2) {
|
283
|
-
const ctx_r1 = i0.ɵɵnextContext(5);
|
284
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c21, ctx_r1.allSelected()));
|
285
|
-
} }
|
286
|
-
function Listbox_div_4_div_1_p_checkbox_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
287
|
-
i0.ɵɵelementContainerStart(0);
|
288
|
-
i0.ɵɵtemplate(1, Listbox_div_4_div_1_p_checkbox_4_ng_container_1_ng_template_1_Template, 1, 4, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
289
|
-
i0.ɵɵelementContainerEnd();
|
290
|
-
} }
|
291
|
-
function Listbox_div_4_div_1_p_checkbox_4_Template(rf, ctx) { if (rf & 1) {
|
292
|
-
i0.ɵɵelementStart(0, "p-checkbox", 31);
|
293
|
-
i0.ɵɵtemplate(1, Listbox_div_4_div_1_p_checkbox_4_ng_container_1_Template, 3, 0, "ng-container", 19);
|
294
|
-
i0.ɵɵelementEnd();
|
295
|
-
} if (rf & 2) {
|
296
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
297
|
-
i0.ɵɵproperty("ngModel", ctx_r1.allSelected())("disabled", ctx_r1.disabled)("tabindex", -1)("variant", ctx_r1.config.inputStyle() === "filled" || ctx_r1.config.inputVariant() === "filled" ? "filled" : "outlined")("binary", true);
|
298
|
-
i0.ɵɵadvance();
|
299
|
-
i0.ɵɵproperty("ngIf", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate);
|
300
|
-
} }
|
301
|
-
function Listbox_div_4_div_1_Template(rf, ctx) { if (rf & 1) {
|
302
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
303
|
-
i0.ɵɵelementStart(0, "div", 27);
|
304
|
-
i0.ɵɵlistener("click", function Listbox_div_4_div_1_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onToggleAll($event)); })("keydown", function Listbox_div_4_div_1_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onHeaderCheckboxKeyDown($event)); });
|
305
|
-
i0.ɵɵelementStart(1, "div", 28)(2, "input", 29, 5);
|
306
|
-
i0.ɵɵlistener("focus", function Listbox_div_4_div_1_Template_input_focus_2_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onHeaderCheckboxFocus($event)); })("blur", function Listbox_div_4_div_1_Template_input_blur_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onHeaderCheckboxBlur()); });
|
307
|
-
i0.ɵɵelementEnd()();
|
308
|
-
i0.ɵɵtemplate(4, Listbox_div_4_div_1_p_checkbox_4_Template, 2, 6, "p-checkbox", 30);
|
309
|
-
i0.ɵɵelementEnd();
|
310
|
-
} if (rf & 2) {
|
311
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
312
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c20, ctx_r1.disabled));
|
313
|
-
i0.ɵɵadvance();
|
314
|
-
i0.ɵɵattribute("data-p-hidden-accessible", true);
|
315
|
-
i0.ɵɵadvance();
|
316
|
-
i0.ɵɵproperty("disabled", ctx_r1.disabled);
|
317
|
-
i0.ɵɵattribute("checked", ctx_r1.allSelected())("aria-label", ctx_r1.toggleAllAriaLabel);
|
318
|
-
i0.ɵɵadvance(2);
|
319
|
-
i0.ɵɵproperty("ngIf", ctx_r1.checkbox && ctx_r1.multiple);
|
320
|
-
} }
|
321
|
-
function Listbox_div_4_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
322
|
-
i0.ɵɵelementContainer(0);
|
323
|
-
} }
|
324
|
-
function Listbox_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
325
|
-
i0.ɵɵelementContainerStart(0);
|
326
|
-
i0.ɵɵtemplate(1, Listbox_div_4_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 24);
|
327
|
-
i0.ɵɵelementContainerEnd();
|
328
|
-
} if (rf & 2) {
|
329
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
330
|
-
i0.ɵɵadvance();
|
331
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate || ctx_r1._filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, ctx_r1.filterOptions));
|
332
|
-
} }
|
333
|
-
function Listbox_div_4_ng_template_3_div_0_SearchIcon_5_Template(rf, ctx) { if (rf & 1) {
|
334
|
-
i0.ɵɵelement(0, "SearchIcon", 38);
|
335
|
-
} if (rf & 2) {
|
336
|
-
i0.ɵɵproperty("styleClass", "p-listbox-filter-icon");
|
337
|
-
i0.ɵɵattribute("aria-hidden", true);
|
338
|
-
} }
|
339
|
-
function Listbox_div_4_ng_template_3_div_0_span_6_1_ng_template_0_Template(rf, ctx) { }
|
340
|
-
function Listbox_div_4_ng_template_3_div_0_span_6_1_Template(rf, ctx) { if (rf & 1) {
|
341
|
-
i0.ɵɵtemplate(0, Listbox_div_4_ng_template_3_div_0_span_6_1_ng_template_0_Template, 0, 0, "ng-template");
|
342
|
-
} }
|
343
|
-
function Listbox_div_4_ng_template_3_div_0_span_6_Template(rf, ctx) { if (rf & 1) {
|
344
|
-
i0.ɵɵelementStart(0, "span", 39);
|
345
|
-
i0.ɵɵtemplate(1, Listbox_div_4_ng_template_3_div_0_span_6_1_Template, 1, 0, null, 40);
|
346
|
-
i0.ɵɵelementEnd();
|
347
|
-
} if (rf & 2) {
|
348
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
349
|
-
i0.ɵɵattribute("aria-hidden", true);
|
350
|
-
i0.ɵɵadvance();
|
351
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
|
352
|
-
} }
|
353
|
-
function Listbox_div_4_ng_template_3_div_0_Template(rf, ctx) { if (rf & 1) {
|
354
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
355
|
-
i0.ɵɵelementStart(0, "div", 34)(1, "p-iconfield")(2, "input", 35, 7);
|
356
|
-
i0.ɵɵlistener("input", function Listbox_div_4_ng_template_3_div_0_Template_input_input_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterChange($event)); })("keydown", function Listbox_div_4_ng_template_3_div_0_Template_input_keydown_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterKeyDown($event)); })("focus", function Listbox_div_4_ng_template_3_div_0_Template_input_focus_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterFocus($event)); })("blur", function Listbox_div_4_ng_template_3_div_0_Template_input_blur_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onFilterBlur($event)); });
|
357
|
-
i0.ɵɵelementEnd();
|
358
|
-
i0.ɵɵelementStart(4, "p-inputicon");
|
359
|
-
i0.ɵɵtemplate(5, Listbox_div_4_ng_template_3_div_0_SearchIcon_5_Template, 1, 2, "SearchIcon", 36)(6, Listbox_div_4_ng_template_3_div_0_span_6_Template, 2, 2, "span", 37);
|
360
|
-
i0.ɵɵelementEnd()()();
|
361
|
-
} if (rf & 2) {
|
362
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
363
|
-
i0.ɵɵadvance(2);
|
364
|
-
i0.ɵɵproperty("value", ctx_r1._filterValue() || "")("disabled", ctx_r1.disabled)("tabindex", !ctx_r1.disabled && !ctx_r1.focused ? ctx_r1.tabindex : -1);
|
365
|
-
i0.ɵɵattribute("aria-owns", ctx_r1.id + "_list")("aria-activedescendant", ctx_r1.focusedOptionId)("placeholder", ctx_r1.filterPlaceHolder)("aria-label", ctx_r1.ariaFilterLabel);
|
366
|
-
i0.ɵɵadvance(3);
|
367
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.filterIconTemplate && !ctx_r1._filterIconTemplate);
|
368
|
-
i0.ɵɵadvance();
|
369
|
-
i0.ɵɵproperty("ngIf", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
|
370
|
-
} }
|
371
|
-
function Listbox_div_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
372
|
-
i0.ɵɵtemplate(0, Listbox_div_4_ng_template_3_div_0_Template, 7, 9, "div", 32);
|
373
|
-
i0.ɵɵelementStart(1, "span", 33);
|
374
|
-
i0.ɵɵtext(2);
|
375
|
-
i0.ɵɵelementEnd();
|
376
|
-
} if (rf & 2) {
|
377
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
378
|
-
i0.ɵɵproperty("ngIf", ctx_r1.filter);
|
379
|
-
i0.ɵɵadvance();
|
380
|
-
i0.ɵɵattribute("data-p-hidden-accessible", true);
|
381
|
-
i0.ɵɵadvance();
|
382
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.filterResultMessageText, " ");
|
383
|
-
} }
|
384
|
-
function Listbox_div_4_Template(rf, ctx) { if (rf & 1) {
|
385
|
-
i0.ɵɵelementStart(0, "div", 23);
|
386
|
-
i0.ɵɵtemplate(1, Listbox_div_4_div_1_Template, 5, 8, "div", 25)(2, Listbox_div_4_ng_container_2_Template, 2, 4, "ng-container", 26)(3, Listbox_div_4_ng_template_3_Template, 3, 3, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
387
|
-
i0.ɵɵelementEnd();
|
388
|
-
} if (rf & 2) {
|
389
|
-
const builtInFilterElement_r5 = i0.ɵɵreference(4);
|
390
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
391
|
-
i0.ɵɵadvance();
|
392
|
-
i0.ɵɵproperty("ngIf", ctx_r1.checkbox && ctx_r1.multiple && ctx_r1.showToggleAll);
|
393
|
-
i0.ɵɵadvance();
|
394
|
-
i0.ɵɵproperty("ngIf", ctx_r1.filterTemplate || ctx_r1._filterTemplate)("ngIfElse", builtInFilterElement_r5);
|
395
|
-
} }
|
396
|
-
function Listbox_p_scroller_7_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
397
|
-
i0.ɵɵelementContainer(0);
|
398
|
-
} }
|
399
|
-
function Listbox_p_scroller_7_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
400
|
-
i0.ɵɵtemplate(0, Listbox_p_scroller_7_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 24);
|
401
|
-
} if (rf & 2) {
|
402
|
-
const items_r7 = ctx.$implicit;
|
403
|
-
const scrollerOptions_r8 = ctx.options;
|
404
|
-
i0.ɵɵnextContext(2);
|
405
|
-
const buildInItems_r9 = i0.ɵɵreference(10);
|
406
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r9)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c19, items_r7, scrollerOptions_r8));
|
407
|
-
} }
|
408
|
-
function Listbox_p_scroller_7_Conditional_4_ng_template_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
409
|
-
i0.ɵɵelementContainer(0);
|
410
|
-
} }
|
411
|
-
function Listbox_p_scroller_7_Conditional_4_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
412
|
-
i0.ɵɵtemplate(0, Listbox_p_scroller_7_Conditional_4_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 24);
|
413
|
-
} if (rf & 2) {
|
414
|
-
const scrollerOptions_r10 = ctx.options;
|
415
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
416
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, scrollerOptions_r10));
|
417
|
-
} }
|
418
|
-
function Listbox_p_scroller_7_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
419
|
-
i0.ɵɵtemplate(0, Listbox_p_scroller_7_Conditional_4_ng_template_0_Template, 1, 4, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
|
420
|
-
} }
|
421
|
-
function Listbox_p_scroller_7_Template(rf, ctx) { if (rf & 1) {
|
422
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
423
|
-
i0.ɵɵelementStart(0, "p-scroller", 41, 8);
|
424
|
-
i0.ɵɵlistener("onLazyLoad", function Listbox_p_scroller_7_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onLazyLoad.emit($event)); });
|
425
|
-
i0.ɵɵtemplate(2, Listbox_p_scroller_7_ng_template_2_Template, 1, 5, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor)(4, Listbox_p_scroller_7_Conditional_4_Template, 2, 0);
|
426
|
-
i0.ɵɵelementEnd();
|
427
|
-
} if (rf & 2) {
|
428
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
429
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(9, _c23, ctx_r1.scrollHeight));
|
430
|
-
i0.ɵɵproperty("items", ctx_r1.visibleOptions())("itemSize", ctx_r1.virtualScrollItemSize)("autoSize", true)("lazy", ctx_r1.lazy)("options", ctx_r1.virtualScrollOptions)("tabindex", ctx_r1.scrollerTabIndex);
|
431
|
-
i0.ɵɵadvance(4);
|
432
|
-
i0.ɵɵconditional(ctx_r1.loaderTemplate || ctx_r1._loaderTemplate ? 4 : -1);
|
433
|
-
} }
|
434
|
-
function Listbox_ng_container_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
435
|
-
i0.ɵɵelementContainer(0);
|
436
|
-
} }
|
437
|
-
function Listbox_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
438
|
-
i0.ɵɵelementContainerStart(0);
|
439
|
-
i0.ɵɵtemplate(1, Listbox_ng_container_8_ng_container_1_Template, 1, 0, "ng-container", 24);
|
440
|
-
i0.ɵɵelementContainerEnd();
|
441
|
-
} if (rf & 2) {
|
442
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
443
|
-
const buildInItems_r9 = i0.ɵɵreference(10);
|
444
|
-
i0.ɵɵadvance();
|
445
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r9)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c19, ctx_r1.visibleOptions(), i0.ɵɵpureFunction0(2, _c24)));
|
446
|
-
} }
|
447
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
448
|
-
i0.ɵɵelementStart(0, "span");
|
449
|
-
i0.ɵɵtext(1);
|
450
|
-
i0.ɵɵelementEnd();
|
451
|
-
} if (rf & 2) {
|
452
|
-
const option_r12 = i0.ɵɵnextContext(2).$implicit;
|
453
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
454
|
-
i0.ɵɵadvance();
|
455
|
-
i0.ɵɵtextInterpolate(ctx_r1.getOptionGroupLabel(option_r12.optionGroup));
|
456
|
-
} }
|
457
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
458
|
-
i0.ɵɵelementContainer(0);
|
459
|
-
} }
|
460
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
461
|
-
i0.ɵɵelementContainerStart(0);
|
462
|
-
i0.ɵɵelementStart(1, "li", 45);
|
463
|
-
i0.ɵɵtemplate(2, Listbox_ng_template_9_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 19)(3, Listbox_ng_template_9_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 24);
|
464
|
-
i0.ɵɵelementEnd();
|
465
|
-
i0.ɵɵelementContainerEnd();
|
466
|
-
} if (rf & 2) {
|
467
|
-
const ctx_r12 = i0.ɵɵnextContext();
|
468
|
-
const option_r12 = ctx_r12.$implicit;
|
469
|
-
const i_r14 = ctx_r12.index;
|
470
|
-
const scrollerOptions_r15 = i0.ɵɵnextContext().options;
|
471
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
472
|
-
i0.ɵɵadvance();
|
473
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c23, scrollerOptions_r15.itemSize + "px"))("cdkDragData", option_r12)("cdkDragDisabled", !ctx_r1.dragdrop);
|
474
|
-
i0.ɵɵattribute("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15));
|
475
|
-
i0.ɵɵadvance();
|
476
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.groupTemplate && !ctx_r1._groupTemplate);
|
477
|
-
i0.ɵɵadvance();
|
478
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.groupTemplate || ctx_r1._groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(9, _c21, option_r12.optionGroup));
|
479
|
-
} }
|
480
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
|
481
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
|
482
|
-
i0.ɵɵtemplate(0, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
|
483
|
-
} }
|
484
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
485
|
-
i0.ɵɵtemplate(0, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_0_Template, 1, 0, null, 24);
|
486
|
-
} if (rf & 2) {
|
487
|
-
const option_r12 = i0.ɵɵnextContext(4).$implicit;
|
488
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
489
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c21, ctx_r1.isSelected(option_r12)));
|
490
|
-
} }
|
491
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
492
|
-
i0.ɵɵelementContainerStart(0);
|
493
|
-
i0.ɵɵtemplate(1, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_ng_template_1_Template, 1, 4, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
494
|
-
i0.ɵɵelementContainerEnd();
|
495
|
-
} }
|
496
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_Template(rf, ctx) { if (rf & 1) {
|
497
|
-
i0.ɵɵelementStart(0, "p-checkbox", 48);
|
498
|
-
i0.ɵɵtemplate(1, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_ng_container_1_Template, 3, 0, "ng-container", 19);
|
499
|
-
i0.ɵɵelementEnd();
|
500
|
-
} if (rf & 2) {
|
501
|
-
const option_r12 = i0.ɵɵnextContext(2).$implicit;
|
502
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
503
|
-
i0.ɵɵproperty("ngModel", ctx_r1.isSelected(option_r12))("readonly", true)("disabled", ctx_r1.disabled || ctx_r1.isOptionDisabled(option_r12))("tabindex", -1)("variant", ctx_r1.config.inputStyle() === "filled" || ctx_r1.config.inputVariant() === "filled" ? "filled" : "outlined")("binary", true);
|
504
|
-
i0.ɵɵadvance();
|
505
|
-
i0.ɵɵproperty("ngIf", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate);
|
506
|
-
} }
|
507
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_BlankIcon_1_Template(rf, ctx) { if (rf & 1) {
|
508
|
-
i0.ɵɵelement(0, "BlankIcon", 50);
|
509
|
-
} }
|
510
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_CheckIcon_2_Template(rf, ctx) { if (rf & 1) {
|
511
|
-
i0.ɵɵelement(0, "CheckIcon", 50);
|
512
|
-
} }
|
513
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
514
|
-
i0.ɵɵelementContainerStart(0);
|
515
|
-
i0.ɵɵtemplate(1, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_BlankIcon_1_Template, 1, 0, "BlankIcon", 49)(2, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_CheckIcon_2_Template, 1, 0, "CheckIcon", 49);
|
516
|
-
i0.ɵɵelementContainerEnd();
|
517
|
-
} if (rf & 2) {
|
518
|
-
const option_r12 = i0.ɵɵnextContext(3).$implicit;
|
519
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
520
|
-
i0.ɵɵadvance();
|
521
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isSelected(option_r12));
|
522
|
-
i0.ɵɵadvance();
|
523
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isSelected(option_r12));
|
524
|
-
} }
|
525
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
526
|
-
i0.ɵɵelementContainer(0);
|
527
|
-
} }
|
528
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
529
|
-
i0.ɵɵelementContainerStart(0);
|
530
|
-
i0.ɵɵtemplate(1, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_1_Template, 3, 2, "ng-container", 19)(2, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_ng_container_2_Template, 1, 0, "ng-container", 24);
|
531
|
-
i0.ɵɵelementContainerEnd();
|
532
|
-
} if (rf & 2) {
|
533
|
-
const option_r12 = i0.ɵɵnextContext(2).$implicit;
|
534
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
535
|
-
i0.ɵɵadvance();
|
536
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.checkmarkTemplate && !ctx_r1._checkmarkTemplate);
|
537
|
-
i0.ɵɵadvance();
|
538
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.checkmarkTemplate || ctx_r1._checkmarkTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c27, ctx_r1.isSelected(option_r12)));
|
539
|
-
} }
|
540
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
541
|
-
i0.ɵɵelementStart(0, "span");
|
542
|
-
i0.ɵɵtext(1);
|
543
|
-
i0.ɵɵelementEnd();
|
544
|
-
} if (rf & 2) {
|
545
|
-
const option_r12 = i0.ɵɵnextContext(2).$implicit;
|
546
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
547
|
-
i0.ɵɵadvance();
|
548
|
-
i0.ɵɵtextInterpolate(ctx_r1.getOptionLabel(option_r12));
|
549
|
-
} }
|
550
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
551
|
-
i0.ɵɵelementContainer(0);
|
552
|
-
} }
|
553
|
-
function Listbox_ng_template_9_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
554
|
-
const _r16 = i0.ɵɵgetCurrentView();
|
555
|
-
i0.ɵɵelementContainerStart(0);
|
556
|
-
i0.ɵɵelementStart(1, "li", 46);
|
557
|
-
i0.ɵɵlistener("click", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_click_1_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r12 = i0.ɵɵnextContext(); const option_r12 = ctx_r12.$implicit; const i_r14 = ctx_r12.index; const scrollerOptions_r15 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOptionSelect($event, option_r12, ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15))); })("dblclick", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_dblclick_1_listener($event) { i0.ɵɵrestoreView(_r16); const option_r12 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOptionDoubleClick($event, option_r12)); })("mousedown", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_mousedown_1_listener($event) { i0.ɵɵrestoreView(_r16); const i_r14 = i0.ɵɵnextContext().index; const scrollerOptions_r15 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOptionMouseDown($event, ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15))); })("mouseenter", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_mouseenter_1_listener($event) { i0.ɵɵrestoreView(_r16); const i_r14 = i0.ɵɵnextContext().index; const scrollerOptions_r15 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOptionMouseEnter($event, ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15))); })("touchend", function Listbox_ng_template_9_ng_template_2_ng_container_1_Template_li_touchend_1_listener() { i0.ɵɵrestoreView(_r16); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onOptionTouchEnd()); });
|
558
|
-
i0.ɵɵtemplate(2, Listbox_ng_template_9_ng_template_2_ng_container_1_p_checkbox_2_Template, 2, 7, "p-checkbox", 47)(3, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_3_Template, 3, 5, "ng-container", 19)(4, Listbox_ng_template_9_ng_template_2_ng_container_1_span_4_Template, 2, 1, "span", 19)(5, Listbox_ng_template_9_ng_template_2_ng_container_1_ng_container_5_Template, 1, 0, "ng-container", 24);
|
559
|
-
i0.ɵɵelementEnd();
|
560
|
-
i0.ɵɵelementContainerEnd();
|
561
|
-
} if (rf & 2) {
|
562
|
-
const ctx_r12 = i0.ɵɵnextContext();
|
563
|
-
const option_r12 = ctx_r12.$implicit;
|
564
|
-
const i_r14 = ctx_r12.index;
|
565
|
-
const scrollerOptions_r15 = i0.ɵɵnextContext().options;
|
566
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
567
|
-
i0.ɵɵadvance();
|
568
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c23, scrollerOptions_r15.itemSize + "px"))("ngClass", i0.ɵɵpureFunction3(17, _c25, ctx_r1.isSelected(option_r12) && ctx_r1.highlightOnSelect, ctx_r1.focusedOptionIndex() === ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15), ctx_r1.isOptionDisabled(option_r12)))("cdkDragData", option_r12)("cdkDragDisabled", !ctx_r1.dragdrop);
|
569
|
-
i0.ɵɵattribute("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15))("aria-label", ctx_r1.getOptionLabel(option_r12))("aria-selected", ctx_r1.isSelected(option_r12))("aria-disabled", ctx_r1.isOptionDisabled(option_r12))("aria-setsize", ctx_r1.ariaSetSize)("ariaPosInset", ctx_r1.getAriaPosInset(ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15)));
|
570
|
-
i0.ɵɵadvance();
|
571
|
-
i0.ɵɵproperty("ngIf", ctx_r1.checkbox && ctx_r1.multiple);
|
572
|
-
i0.ɵɵadvance();
|
573
|
-
i0.ɵɵproperty("ngIf", ctx_r1.checkmark);
|
574
|
-
i0.ɵɵadvance();
|
575
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.itemTemplate && !ctx_r1._itemTemplate);
|
576
|
-
i0.ɵɵadvance();
|
577
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.itemTemplate || ctx_r1._itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(21, _c26, option_r12, ctx_r1.getOptionIndex(i_r14, scrollerOptions_r15), ctx_r1.isSelected(option_r12)));
|
578
|
-
} }
|
579
|
-
function Listbox_ng_template_9_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
580
|
-
i0.ɵɵtemplate(0, Listbox_ng_template_9_ng_template_2_ng_container_0_Template, 4, 11, "ng-container", 19)(1, Listbox_ng_template_9_ng_template_2_ng_container_1_Template, 6, 25, "ng-container", 19);
|
581
|
-
} if (rf & 2) {
|
582
|
-
const option_r12 = ctx.$implicit;
|
583
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
584
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isOptionGroup(option_r12));
|
585
|
-
i0.ɵɵadvance();
|
586
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isOptionGroup(option_r12));
|
587
|
-
} }
|
588
|
-
function Listbox_ng_template_9_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
589
|
-
i0.ɵɵtext(0);
|
590
|
-
} if (rf & 2) {
|
591
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
592
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyFilterMessageText, " ");
|
593
|
-
} }
|
594
|
-
function Listbox_ng_template_9_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
595
|
-
i0.ɵɵelementContainer(0, null, 12);
|
596
|
-
} }
|
597
|
-
function Listbox_ng_template_9_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
598
|
-
i0.ɵɵtemplate(0, Listbox_ng_template_9_li_3_Conditional_2_ng_container_0_Template, 2, 0, "ng-container", 40);
|
599
|
-
} if (rf & 2) {
|
600
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
601
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyFilterTemplate || ctx_r1._emptyFilterTemplate || ctx_r1._emptyTemplate || ctx_r1.emptyTemplate);
|
602
|
-
} }
|
603
|
-
function Listbox_ng_template_9_li_3_Template(rf, ctx) { if (rf & 1) {
|
604
|
-
i0.ɵɵelementStart(0, "li", 51);
|
605
|
-
i0.ɵɵtemplate(1, Listbox_ng_template_9_li_3_Conditional_1_Template, 1, 1)(2, Listbox_ng_template_9_li_3_Conditional_2_Template, 1, 1, "ng-container");
|
606
|
-
i0.ɵɵelementEnd();
|
607
|
-
} if (rf & 2) {
|
608
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
609
|
-
i0.ɵɵadvance();
|
610
|
-
i0.ɵɵconditional(!ctx_r1.emptyFilterTemplate && !ctx_r1._emptyFilterTemplate && !ctx_r1._emptyTemplate && !ctx_r1.emptyTemplate ? 1 : 2);
|
611
|
-
} }
|
612
|
-
function Listbox_ng_template_9_li_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
613
|
-
i0.ɵɵtext(0);
|
614
|
-
} if (rf & 2) {
|
615
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
616
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyMessage, " ");
|
617
|
-
} }
|
618
|
-
function Listbox_ng_template_9_li_4_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
619
|
-
i0.ɵɵelementContainer(0, null, 13);
|
620
|
-
} }
|
621
|
-
function Listbox_ng_template_9_li_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
622
|
-
i0.ɵɵtemplate(0, Listbox_ng_template_9_li_4_Conditional_2_ng_container_0_Template, 2, 0, "ng-container", 40);
|
623
|
-
} if (rf & 2) {
|
624
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
625
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyTemplate || ctx_r1._emptyTemplate);
|
626
|
-
} }
|
627
|
-
function Listbox_ng_template_9_li_4_Template(rf, ctx) { if (rf & 1) {
|
628
|
-
i0.ɵɵelementStart(0, "li", 51);
|
629
|
-
i0.ɵɵtemplate(1, Listbox_ng_template_9_li_4_Conditional_1_Template, 1, 1)(2, Listbox_ng_template_9_li_4_Conditional_2_Template, 1, 1, "ng-container");
|
630
|
-
i0.ɵɵelementEnd();
|
631
|
-
} if (rf & 2) {
|
632
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
633
|
-
i0.ɵɵadvance();
|
634
|
-
i0.ɵɵconditional(!ctx_r1.emptyTemplate && !ctx_r1._emptyTemplate ? 1 : 2);
|
635
|
-
} }
|
636
|
-
function Listbox_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
637
|
-
const _r11 = i0.ɵɵgetCurrentView();
|
638
|
-
i0.ɵɵelementStart(0, "ul", 42, 11);
|
639
|
-
i0.ɵɵlistener("focus", function Listbox_ng_template_9_Template_ul_focus_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListFocus($event)); })("blur", function Listbox_ng_template_9_Template_ul_blur_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListBlur($event)); })("keydown", function Listbox_ng_template_9_Template_ul_keydown_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onListKeyDown($event)); })("cdkDropListDropped", function Listbox_ng_template_9_Template_ul_cdkDropListDropped_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.drop($event)); });
|
640
|
-
i0.ɵɵtemplate(2, Listbox_ng_template_9_ng_template_2_Template, 2, 2, "ng-template", 43)(3, Listbox_ng_template_9_li_3_Template, 3, 1, "li", 44)(4, Listbox_ng_template_9_li_4_Template, 3, 1, "li", 44);
|
641
|
-
i0.ɵɵelementEnd();
|
642
|
-
} if (rf & 2) {
|
643
|
-
const items_r17 = ctx.$implicit;
|
644
|
-
const scrollerOptions_r15 = ctx.options;
|
645
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
646
|
-
i0.ɵɵstyleMap(scrollerOptions_r15.contentStyle);
|
647
|
-
i0.ɵɵproperty("tabindex", -1)("ngClass", scrollerOptions_r15.contentStyleClass)("cdkDropListData", items_r17);
|
648
|
-
i0.ɵɵattribute("aria-multiselectable", true)("aria-activedescendant", ctx_r1.focused ? ctx_r1.focusedOptionId : undefined)("aria-label", ctx_r1.ariaLabel)("aria-disabled", ctx_r1.disabled);
|
649
|
-
i0.ɵɵadvance(2);
|
650
|
-
i0.ɵɵproperty("ngForOf", items_r17);
|
651
|
-
i0.ɵɵadvance();
|
652
|
-
i0.ɵɵproperty("ngIf", ctx_r1.hasFilter() && ctx_r1.isEmpty());
|
653
|
-
i0.ɵɵadvance();
|
654
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.hasFilter() && ctx_r1.isEmpty());
|
655
|
-
} }
|
656
|
-
function Listbox_div_11_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
657
|
-
i0.ɵɵelementContainer(0);
|
658
|
-
} }
|
659
|
-
function Listbox_div_11_Template(rf, ctx) { if (rf & 1) {
|
660
|
-
i0.ɵɵelementStart(0, "div", 52);
|
661
|
-
i0.ɵɵprojection(1, 1);
|
662
|
-
i0.ɵɵtemplate(2, Listbox_div_11_ng_container_2_Template, 1, 0, "ng-container", 24);
|
663
|
-
i0.ɵɵelementEnd();
|
664
|
-
} if (rf & 2) {
|
665
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
666
|
-
i0.ɵɵadvance(2);
|
667
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c19, ctx_r1.modelValue(), ctx_r1.visibleOptions()));
|
668
|
-
} }
|
669
|
-
function Listbox_span_12_Template(rf, ctx) { if (rf & 1) {
|
670
|
-
i0.ɵɵelementStart(0, "span", 22);
|
671
|
-
i0.ɵɵtext(1);
|
672
|
-
i0.ɵɵelementEnd();
|
673
|
-
} if (rf & 2) {
|
674
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
675
|
-
i0.ɵɵadvance();
|
676
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyMessage, " ");
|
677
|
-
} }
|
678
239
|
const LISTBOX_VALUE_ACCESSOR = {
|
679
240
|
provide: NG_VALUE_ACCESSOR,
|
680
241
|
useExisting: forwardRef(() => Listbox),
|
@@ -870,7 +431,7 @@ class Listbox extends BaseComponent {
|
|
870
431
|
*/
|
871
432
|
optionGroupLabel = 'label';
|
872
433
|
/**
|
873
|
-
* Name of the disabled field of an option.
|
434
|
+
* Name of the disabled field of an option or function to determine disabled state.
|
874
435
|
* @group Props
|
875
436
|
*/
|
876
437
|
optionDisabled;
|
@@ -1758,6 +1319,9 @@ class Listbox extends BaseComponent {
|
|
1758
1319
|
return this.isValidOption(option) && this.isSelected(option);
|
1759
1320
|
}
|
1760
1321
|
isOptionDisabled(option) {
|
1322
|
+
if (isFunction(this.optionDisabled)) {
|
1323
|
+
return this.optionDisabled(option);
|
1324
|
+
}
|
1761
1325
|
return this.optionDisabled ? resolveFieldData(option, this.optionDisabled) : false;
|
1762
1326
|
}
|
1763
1327
|
isSelected(option) {
|
@@ -1793,121 +1357,242 @@ class Listbox extends BaseComponent {
|
|
1793
1357
|
}
|
1794
1358
|
super.ngOnDestroy();
|
1795
1359
|
}
|
1796
|
-
static ɵfac =
|
1797
|
-
static ɵcmp =
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
i0.ɵɵcontentQuery(dirIndex, _c4, 4);
|
1805
|
-
i0.ɵɵcontentQuery(dirIndex, _c5, 4);
|
1806
|
-
i0.ɵɵcontentQuery(dirIndex, _c6, 4);
|
1807
|
-
i0.ɵɵcontentQuery(dirIndex, _c7, 4);
|
1808
|
-
i0.ɵɵcontentQuery(dirIndex, _c8, 4);
|
1809
|
-
i0.ɵɵcontentQuery(dirIndex, _c9, 4);
|
1810
|
-
i0.ɵɵcontentQuery(dirIndex, _c10, 4);
|
1811
|
-
i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
|
1812
|
-
} if (rf & 2) {
|
1813
|
-
let _t;
|
1814
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerFacet = _t.first);
|
1815
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerFacet = _t.first);
|
1816
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
|
1817
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);
|
1818
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
|
1819
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);
|
1820
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
|
1821
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyFilterTemplate = _t.first);
|
1822
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);
|
1823
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterIconTemplate = _t.first);
|
1824
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkIconTemplate = _t.first);
|
1825
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkmarkTemplate = _t.first);
|
1826
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);
|
1827
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
|
1828
|
-
} }, viewQuery: function Listbox_Query(rf, ctx) { if (rf & 1) {
|
1829
|
-
i0.ɵɵviewQuery(_c11, 5);
|
1830
|
-
i0.ɵɵviewQuery(_c3, 5);
|
1831
|
-
i0.ɵɵviewQuery(_c12, 5);
|
1832
|
-
i0.ɵɵviewQuery(_c13, 5);
|
1833
|
-
i0.ɵɵviewQuery(_c14, 5);
|
1834
|
-
i0.ɵɵviewQuery(_c15, 5);
|
1835
|
-
i0.ɵɵviewQuery(_c16, 5);
|
1836
|
-
} if (rf & 2) {
|
1837
|
-
let _t;
|
1838
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerCheckboxViewChild = _t.first);
|
1839
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterViewChild = _t.first);
|
1840
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.lastHiddenFocusableElement = _t.first);
|
1841
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.firstHiddenFocusableElement = _t.first);
|
1842
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);
|
1843
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listViewChild = _t.first);
|
1844
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerViewChild = _t.first);
|
1845
|
-
} }, inputs: { id: "id", searchMessage: "searchMessage", emptySelectionMessage: "emptySelectionMessage", selectionMessage: "selectionMessage", autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], ariaLabel: "ariaLabel", selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: [2, "searchLocale", "searchLocale", booleanAttribute], focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], filterMessage: "filterMessage", filterFields: "filterFields", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", scrollHeight: "scrollHeight", tabindex: [2, "tabindex", "tabindex", numberAttribute], multiple: [2, "multiple", "multiple", booleanAttribute], style: "style", styleClass: "styleClass", listStyle: "listStyle", listStyleClass: "listStyleClass", readonly: [2, "readonly", "readonly", booleanAttribute], disabled: [2, "disabled", "disabled", booleanAttribute], checkbox: [2, "checkbox", "checkbox", booleanAttribute], filter: [2, "filter", "filter", booleanAttribute], filterBy: "filterBy", filterMatchMode: "filterMatchMode", filterLocale: "filterLocale", metaKeySelection: [2, "metaKeySelection", "metaKeySelection", booleanAttribute], dataKey: "dataKey", showToggleAll: [2, "showToggleAll", "showToggleAll", booleanAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", optionDisabled: "optionDisabled", ariaFilterLabel: "ariaFilterLabel", filterPlaceHolder: "filterPlaceHolder", emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", group: [2, "group", "group", booleanAttribute], options: "options", filterValue: "filterValue", selectAll: "selectAll", striped: [2, "striped", "striped", booleanAttribute], highlightOnSelect: [2, "highlightOnSelect", "highlightOnSelect", booleanAttribute], checkmark: [2, "checkmark", "checkmark", booleanAttribute], dragdrop: [2, "dragdrop", "dragdrop", booleanAttribute] }, outputs: { onChange: "onChange", onClick: "onClick", onDblClick: "onDblClick", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onSelectAllChange: "onSelectAllChange", onLazyLoad: "onLazyLoad", onDrop: "onDrop" }, features: [i0.ɵɵProvidersFeature([
|
1846
|
-
LISTBOX_VALUE_ACCESSOR,
|
1847
|
-
ListBoxStyle,
|
1848
|
-
{
|
1849
|
-
provide: CDK_DRAG_CONFIG,
|
1850
|
-
useValue: {
|
1851
|
-
zIndex: 1200
|
1852
|
-
}
|
1360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Listbox, deps: [{ token: i1.FilterService }], target: i0.ɵɵFactoryTarget.Component });
|
1361
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: Listbox, isStandalone: true, selector: "p-listbox, p-listBox, p-list-box", inputs: { id: "id", searchMessage: "searchMessage", emptySelectionMessage: "emptySelectionMessage", selectionMessage: "selectionMessage", autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute], ariaLabel: "ariaLabel", selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: ["searchLocale", "searchLocale", booleanAttribute], focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], filterMessage: "filterMessage", filterFields: "filterFields", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", scrollHeight: "scrollHeight", tabindex: ["tabindex", "tabindex", numberAttribute], multiple: ["multiple", "multiple", booleanAttribute], style: "style", styleClass: "styleClass", listStyle: "listStyle", listStyleClass: "listStyleClass", readonly: ["readonly", "readonly", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], checkbox: ["checkbox", "checkbox", booleanAttribute], filter: ["filter", "filter", booleanAttribute], filterBy: "filterBy", filterMatchMode: "filterMatchMode", filterLocale: "filterLocale", metaKeySelection: ["metaKeySelection", "metaKeySelection", booleanAttribute], dataKey: "dataKey", showToggleAll: ["showToggleAll", "showToggleAll", booleanAttribute], optionLabel: "optionLabel", optionValue: "optionValue", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", optionDisabled: "optionDisabled", ariaFilterLabel: "ariaFilterLabel", filterPlaceHolder: "filterPlaceHolder", emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", group: ["group", "group", booleanAttribute], options: "options", filterValue: "filterValue", selectAll: "selectAll", striped: ["striped", "striped", booleanAttribute], highlightOnSelect: ["highlightOnSelect", "highlightOnSelect", booleanAttribute], checkmark: ["checkmark", "checkmark", booleanAttribute], dragdrop: ["dragdrop", "dragdrop", booleanAttribute] }, outputs: { onChange: "onChange", onClick: "onClick", onDblClick: "onDblClick", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onSelectAllChange: "onSelectAllChange", onLazyLoad: "onLazyLoad", onDrop: "onDrop" }, providers: [
|
1362
|
+
LISTBOX_VALUE_ACCESSOR,
|
1363
|
+
ListBoxStyle,
|
1364
|
+
{
|
1365
|
+
provide: CDK_DRAG_CONFIG,
|
1366
|
+
useValue: {
|
1367
|
+
zIndex: 1200
|
1853
1368
|
}
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1878
|
-
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1895
|
-
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1369
|
+
}
|
1370
|
+
], queries: [{ propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { 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: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "checkIconTemplate", first: true, predicate: ["checkicon"] }, { propertyName: "checkmarkTemplate", first: true, predicate: ["checkmark"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerchkbox"], descendants: true }, { propertyName: "filterViewChild", first: true, predicate: ["filter"], descendants: true }, { propertyName: "lastHiddenFocusableElement", first: true, predicate: ["lastHiddenFocusableElement"], descendants: true }, { propertyName: "firstHiddenFocusableElement", first: true, predicate: ["firstHiddenFocusableElement"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "listViewChild", first: true, predicate: ["list"], descendants: true }, { propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
1371
|
+
<div [attr.id]="id" [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (focusout)="onFocusout($event)">
|
1372
|
+
<span #firstHiddenFocusableElement role="presentation" class="p-hidden-accessible p-hidden-focusable" [tabindex]="!disabled ? tabindex : -1" (focus)="onFirstHiddenFocus($event)" [attr.data-p-hidden-focusable]="true"> </span>
|
1373
|
+
<div class="p-listbox-header" *ngIf="headerFacet || headerTemplate || _headerTemplate">
|
1374
|
+
<ng-content select="p-header"></ng-content>
|
1375
|
+
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate; context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
|
1376
|
+
</div>
|
1377
|
+
<div class="p-listbox-header" *ngIf="(checkbox && multiple && showToggleAll) || filter">
|
1378
|
+
<div *ngIf="checkbox && multiple && showToggleAll" class="p-checkbox p-component" [ngClass]="{ 'p-checkbox-disabled': disabled }" (click)="onToggleAll($event)" (keydown)="onHeaderCheckboxKeyDown($event)">
|
1379
|
+
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
1380
|
+
<input #headerchkbox type="checkbox" readonly="readonly" [attr.checked]="allSelected()" [disabled]="disabled" (focus)="onHeaderCheckboxFocus($event)" (blur)="onHeaderCheckboxBlur()" [attr.aria-label]="toggleAllAriaLabel" />
|
1381
|
+
</div>
|
1382
|
+
<p-checkbox
|
1383
|
+
*ngIf="checkbox && multiple"
|
1384
|
+
styleClass="p-listbox-option-check-icon"
|
1385
|
+
[ngModel]="allSelected()"
|
1386
|
+
[disabled]="disabled"
|
1387
|
+
[tabindex]="-1"
|
1388
|
+
[variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
|
1389
|
+
[binary]="true"
|
1390
|
+
>
|
1391
|
+
<ng-container *ngIf="checkIconTemplate || _checkIconTemplate">
|
1392
|
+
<ng-template #icon>
|
1393
|
+
<ng-template *ngTemplateOutlet="checkIconTemplate || _checkIconTemplate; context: { $implicit: allSelected() }"></ng-template>
|
1394
|
+
</ng-template>
|
1395
|
+
</ng-container>
|
1396
|
+
</p-checkbox>
|
1397
|
+
</div>
|
1398
|
+
<ng-container *ngIf="filterTemplate || _filterTemplate; else builtInFilterElement">
|
1399
|
+
<ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
|
1400
|
+
</ng-container>
|
1401
|
+
<ng-template #builtInFilterElement>
|
1402
|
+
<div class="p-listbox-filter-container" *ngIf="filter">
|
1403
|
+
<p-iconfield>
|
1404
|
+
<input
|
1405
|
+
#filterInput
|
1406
|
+
pInputText
|
1407
|
+
type="text"
|
1408
|
+
class="p-listbox-filter"
|
1409
|
+
role="searchbox"
|
1410
|
+
[value]="_filterValue() || ''"
|
1411
|
+
[disabled]="disabled"
|
1412
|
+
[attr.aria-owns]="id + '_list'"
|
1413
|
+
[attr.aria-activedescendant]="focusedOptionId"
|
1414
|
+
[attr.placeholder]="filterPlaceHolder"
|
1415
|
+
[attr.aria-label]="ariaFilterLabel"
|
1416
|
+
[tabindex]="!disabled && !focused ? tabindex : -1"
|
1417
|
+
(input)="onFilterChange($event)"
|
1418
|
+
(keydown)="onFilterKeyDown($event)"
|
1419
|
+
(focus)="onFilterFocus($event)"
|
1420
|
+
(blur)="onFilterBlur($event)"
|
1421
|
+
/>
|
1422
|
+
<p-inputicon>
|
1423
|
+
<SearchIcon *ngIf="!filterIconTemplate && !_filterIconTemplate" [styleClass]="'p-listbox-filter-icon'" [attr.aria-hidden]="true" />
|
1424
|
+
<span *ngIf="filterIconTemplate || _filterIconTemplate" class="p-listbox-filter-icon" [attr.aria-hidden]="true">
|
1425
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
|
1426
|
+
</span>
|
1427
|
+
</p-inputicon>
|
1428
|
+
</p-iconfield>
|
1429
|
+
</div>
|
1430
|
+
<span role="status" attr.aria-live="polite" class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
1431
|
+
{{ filterResultMessageText }}
|
1432
|
+
</span>
|
1433
|
+
</ng-template>
|
1434
|
+
</div>
|
1435
|
+
<div [ngClass]="'p-listbox-list-container'" #container [ngStyle]="listStyle" [class]="listStyleClass" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'" [attr.tabindex]="!disabled && '0'">
|
1436
|
+
<p-scroller
|
1437
|
+
#scroller
|
1438
|
+
*ngIf="virtualScroll"
|
1439
|
+
[items]="visibleOptions()"
|
1440
|
+
[style]="{ height: scrollHeight }"
|
1441
|
+
[itemSize]="virtualScrollItemSize"
|
1442
|
+
[autoSize]="true"
|
1443
|
+
[lazy]="lazy"
|
1444
|
+
[options]="virtualScrollOptions"
|
1445
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
1446
|
+
[tabindex]="scrollerTabIndex"
|
1447
|
+
>
|
1448
|
+
<ng-template #content let-items let-scrollerOptions="options">
|
1449
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
1450
|
+
</ng-template>
|
1451
|
+
@if (loaderTemplate || _loaderTemplate) {
|
1452
|
+
<ng-template #loader let-scrollerOptions="options">
|
1453
|
+
<ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
1454
|
+
</ng-template>
|
1455
|
+
}
|
1456
|
+
</p-scroller>
|
1457
|
+
<ng-container *ngIf="!virtualScroll">
|
1458
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
1459
|
+
</ng-container>
|
1460
|
+
|
1461
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
1462
|
+
<ul
|
1463
|
+
#list
|
1464
|
+
class="p-listbox-list"
|
1465
|
+
role="listbox"
|
1466
|
+
[tabindex]="-1"
|
1467
|
+
[attr.aria-multiselectable]="true"
|
1468
|
+
[ngClass]="scrollerOptions.contentStyleClass"
|
1469
|
+
[style]="scrollerOptions.contentStyle"
|
1470
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
1471
|
+
[attr.aria-label]="ariaLabel"
|
1472
|
+
[attr.aria-disabled]="disabled"
|
1473
|
+
(focus)="onListFocus($event)"
|
1474
|
+
(blur)="onListBlur($event)"
|
1475
|
+
(keydown)="onListKeyDown($event)"
|
1476
|
+
cdkDropList
|
1477
|
+
[cdkDropListData]="items"
|
1478
|
+
(cdkDropListDropped)="drop($event)"
|
1479
|
+
>
|
1480
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
1481
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
1482
|
+
<li
|
1483
|
+
[attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
1484
|
+
class="p-listbox-option-group"
|
1485
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
1486
|
+
role="option"
|
1487
|
+
cdkDrag
|
1488
|
+
[cdkDragData]="option"
|
1489
|
+
[cdkDragDisabled]="!dragdrop"
|
1490
|
+
>
|
1491
|
+
<span *ngIf="!groupTemplate && !_groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
1492
|
+
<ng-container *ngTemplateOutlet="groupTemplate || _groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
|
1493
|
+
</li>
|
1494
|
+
</ng-container>
|
1495
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
1496
|
+
<li
|
1497
|
+
pRipple
|
1498
|
+
class="p-listbox-option"
|
1499
|
+
role="option"
|
1500
|
+
[attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
1501
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
1502
|
+
[ngClass]="{
|
1503
|
+
'p-listbox-option-selected': isSelected(option) && highlightOnSelect,
|
1504
|
+
'p-focus': focusedOptionIndex() === getOptionIndex(i, scrollerOptions),
|
1505
|
+
'p-disabled': isOptionDisabled(option)
|
1506
|
+
}"
|
1507
|
+
[attr.aria-label]="getOptionLabel(option)"
|
1508
|
+
[attr.aria-selected]="isSelected(option)"
|
1509
|
+
[attr.aria-disabled]="isOptionDisabled(option)"
|
1510
|
+
[attr.aria-setsize]="ariaSetSize"
|
1511
|
+
[attr.ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
1512
|
+
(click)="onOptionSelect($event, option, getOptionIndex(i, scrollerOptions))"
|
1513
|
+
(dblclick)="onOptionDoubleClick($event, option)"
|
1514
|
+
(mousedown)="onOptionMouseDown($event, getOptionIndex(i, scrollerOptions))"
|
1515
|
+
(mouseenter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
1516
|
+
(touchend)="onOptionTouchEnd()"
|
1517
|
+
cdkDrag
|
1518
|
+
[cdkDragData]="option"
|
1519
|
+
[cdkDragDisabled]="!dragdrop"
|
1520
|
+
>
|
1521
|
+
<p-checkbox
|
1522
|
+
*ngIf="checkbox && multiple"
|
1523
|
+
styleClass="p-listbox-option-check-icon"
|
1524
|
+
[ngModel]="isSelected(option)"
|
1525
|
+
[readonly]="true"
|
1526
|
+
[disabled]="disabled || isOptionDisabled(option)"
|
1527
|
+
[tabindex]="-1"
|
1528
|
+
[variant]="config.inputStyle() === 'filled' || config.inputVariant() === 'filled' ? 'filled' : 'outlined'"
|
1529
|
+
[binary]="true"
|
1530
|
+
>
|
1531
|
+
<ng-container *ngIf="checkIconTemplate || _checkIconTemplate">
|
1532
|
+
<ng-template #icon>
|
1533
|
+
<ng-template *ngTemplateOutlet="checkIconTemplate || _checkIconTemplate; context: { $implicit: isSelected(option) }"></ng-template>
|
1534
|
+
</ng-template>
|
1535
|
+
</ng-container>
|
1536
|
+
</p-checkbox>
|
1537
|
+
<ng-container *ngIf="checkmark">
|
1538
|
+
<ng-container *ngIf="!checkmarkTemplate && !_checkmarkTemplate">
|
1539
|
+
<BlankIcon *ngIf="!isSelected(option)" styleClass="p-listbox-option-check-icon" />
|
1540
|
+
<CheckIcon *ngIf="isSelected(option)" styleClass="p-listbox-option-check-icon" />
|
1541
|
+
</ng-container>
|
1542
|
+
<ng-container *ngTemplateOutlet="checkmarkTemplate || _checkmarkTemplate; context: { implicit: isSelected(option) }"></ng-container>
|
1543
|
+
</ng-container>
|
1544
|
+
<span *ngIf="!itemTemplate && !_itemTemplate">{{ getOptionLabel(option) }}</span>
|
1545
|
+
<ng-container
|
1546
|
+
*ngTemplateOutlet="
|
1547
|
+
itemTemplate || _itemTemplate;
|
1548
|
+
context: {
|
1549
|
+
$implicit: option,
|
1550
|
+
index: getOptionIndex(i, scrollerOptions),
|
1551
|
+
selected: isSelected(option)
|
1552
|
+
}
|
1553
|
+
"
|
1554
|
+
></ng-container>
|
1555
|
+
</li>
|
1556
|
+
</ng-container>
|
1557
|
+
</ng-template>
|
1558
|
+
<li *ngIf="hasFilter() && isEmpty()" class="p-listbox-empty-message" role="option">
|
1559
|
+
@if (!emptyFilterTemplate && !_emptyFilterTemplate && !_emptyTemplate && !emptyTemplate) {
|
1560
|
+
{{ emptyFilterMessageText }}
|
1561
|
+
} @else {
|
1562
|
+
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || _emptyFilterTemplate || _emptyTemplate || emptyTemplate"></ng-container>
|
1563
|
+
}
|
1564
|
+
</li>
|
1565
|
+
<li *ngIf="!hasFilter() && isEmpty()" class="p-listbox-empty-message" role="option">
|
1566
|
+
@if (!emptyTemplate && !_emptyTemplate) {
|
1567
|
+
{{ emptyMessage }}
|
1568
|
+
} @else {
|
1569
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
|
1570
|
+
}
|
1571
|
+
</li>
|
1572
|
+
</ul>
|
1573
|
+
</ng-template>
|
1574
|
+
</div>
|
1575
|
+
<div class="p-listbox-footer" *ngIf="footerFacet || footerTemplate || _footerTemplate">
|
1576
|
+
<ng-content select="p-footer"></ng-content>
|
1577
|
+
<ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate; context: { $implicit: modelValue(), options: visibleOptions() }"></ng-container>
|
1578
|
+
</div>
|
1579
|
+
<span *ngIf="isEmpty()" role="status" aria-live="polite" class="p-hidden-accessible">
|
1580
|
+
{{ emptyMessage }}
|
1581
|
+
</span>
|
1582
|
+
<span role="status" aria-live="polite" class="p-hidden-accessible">
|
1583
|
+
{{ selectedMessageText }}
|
1584
|
+
</span>
|
1585
|
+
<span #lastHiddenFocusableElement role="presentation" class="p-hidden-accessible p-hidden-focusable" [tabindex]="!disabled ? tabindex : -1" (focus)="onLastHiddenFocus($event)" [attr.data-p-hidden-focusable]="true"> </span>
|
1586
|
+
</div>
|
1587
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { 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: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "component", type: SearchIcon, selector: "SearchIcon" }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["value", "name", "disabled", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "inputStyle", "styleClass", "inputClass", "indeterminate", "size", "formControl", "checkboxIcon", "readonly", "required", "autofocus", "trueValue", "falseValue", "variant"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: BlankIcon, selector: "BlankIcon" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
1903
1588
|
}
|
1904
|
-
(
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Listbox, decorators: [{
|
1590
|
+
type: Component,
|
1591
|
+
args: [{
|
1592
|
+
selector: 'p-listbox, p-listBox, p-list-box',
|
1593
|
+
standalone: true,
|
1594
|
+
imports: [CommonModule, Ripple, Scroller, InputIcon, SearchIcon, Checkbox, CheckIcon, IconField, InputText, BlankIcon, FormsModule, SharedModule, DragDropModule],
|
1595
|
+
template: `
|
1911
1596
|
<div [attr.id]="id" [ngClass]="containerClass" [ngStyle]="style" [class]="styleClass" (focusout)="onFocusout($event)">
|
1912
1597
|
<span #firstHiddenFocusableElement role="presentation" class="p-hidden-accessible p-hidden-focusable" [tabindex]="!disabled ? tabindex : -1" (focus)="onFirstHiddenFocus($event)" [attr.data-p-hidden-focusable]="true"> </span>
|
1913
1598
|
<div class="p-listbox-header" *ngIf="headerFacet || headerTemplate || _headerTemplate">
|
@@ -2125,233 +1810,231 @@ class Listbox extends BaseComponent {
|
|
2125
1810
|
<span #lastHiddenFocusableElement role="presentation" class="p-hidden-accessible p-hidden-focusable" [tabindex]="!disabled ? tabindex : -1" (focus)="onLastHiddenFocus($event)" [attr.data-p-hidden-focusable]="true"> </span>
|
2126
1811
|
</div>
|
2127
1812
|
`,
|
2128
|
-
|
2129
|
-
|
2130
|
-
|
2131
|
-
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
1813
|
+
providers: [
|
1814
|
+
LISTBOX_VALUE_ACCESSOR,
|
1815
|
+
ListBoxStyle,
|
1816
|
+
{
|
1817
|
+
provide: CDK_DRAG_CONFIG,
|
1818
|
+
useValue: {
|
1819
|
+
zIndex: 1200
|
1820
|
+
}
|
2135
1821
|
}
|
2136
|
-
|
2137
|
-
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2158
|
-
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2173
|
-
|
2174
|
-
|
2175
|
-
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2184
|
-
|
2185
|
-
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
|
2191
|
-
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2196
|
-
|
2197
|
-
|
2198
|
-
|
2199
|
-
|
2200
|
-
|
2201
|
-
|
2202
|
-
|
2203
|
-
|
2204
|
-
|
2205
|
-
|
2206
|
-
|
2207
|
-
|
2208
|
-
|
2209
|
-
|
2210
|
-
|
2211
|
-
|
2212
|
-
|
2213
|
-
|
2214
|
-
|
2215
|
-
|
2216
|
-
|
2217
|
-
|
2218
|
-
|
2219
|
-
|
2220
|
-
|
2221
|
-
|
2222
|
-
|
2223
|
-
|
2224
|
-
|
2225
|
-
|
2226
|
-
|
2227
|
-
|
2228
|
-
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2232
|
-
|
2233
|
-
|
2234
|
-
|
2235
|
-
|
2236
|
-
|
2237
|
-
|
2238
|
-
|
2239
|
-
|
2240
|
-
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
|
2250
|
-
|
2251
|
-
|
2252
|
-
|
2253
|
-
|
2254
|
-
|
2255
|
-
|
2256
|
-
|
2257
|
-
|
2258
|
-
|
2259
|
-
|
2260
|
-
|
2261
|
-
|
2262
|
-
|
2263
|
-
|
2264
|
-
|
2265
|
-
|
2266
|
-
|
2267
|
-
|
2268
|
-
|
2269
|
-
|
2270
|
-
|
2271
|
-
|
2272
|
-
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2276
|
-
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2284
|
-
|
2285
|
-
|
2286
|
-
|
2287
|
-
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
|
2300
|
-
|
2301
|
-
|
2302
|
-
|
2303
|
-
|
2304
|
-
|
2305
|
-
|
2306
|
-
|
2307
|
-
|
2308
|
-
|
2309
|
-
|
2310
|
-
|
2311
|
-
|
2312
|
-
|
2313
|
-
|
2314
|
-
|
2315
|
-
|
2316
|
-
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2320
|
-
|
2321
|
-
|
2322
|
-
|
2323
|
-
|
2324
|
-
|
2325
|
-
|
2326
|
-
|
2327
|
-
|
2328
|
-
|
2329
|
-
|
2330
|
-
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
|
2335
|
-
|
2336
|
-
|
2337
|
-
|
2338
|
-
|
2339
|
-
|
2340
|
-
}] }); })();
|
2341
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Listbox, { className: "Listbox", filePath: "listbox.ts", lineNumber: 287 }); })();
|
1822
|
+
],
|
1823
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
1824
|
+
encapsulation: ViewEncapsulation.None
|
1825
|
+
}]
|
1826
|
+
}], ctorParameters: () => [{ type: i1.FilterService }], propDecorators: { id: [{
|
1827
|
+
type: Input
|
1828
|
+
}], searchMessage: [{
|
1829
|
+
type: Input
|
1830
|
+
}], emptySelectionMessage: [{
|
1831
|
+
type: Input
|
1832
|
+
}], selectionMessage: [{
|
1833
|
+
type: Input
|
1834
|
+
}], autoOptionFocus: [{
|
1835
|
+
type: Input,
|
1836
|
+
args: [{ transform: booleanAttribute }]
|
1837
|
+
}], ariaLabel: [{
|
1838
|
+
type: Input
|
1839
|
+
}], selectOnFocus: [{
|
1840
|
+
type: Input,
|
1841
|
+
args: [{ transform: booleanAttribute }]
|
1842
|
+
}], searchLocale: [{
|
1843
|
+
type: Input,
|
1844
|
+
args: [{ transform: booleanAttribute }]
|
1845
|
+
}], focusOnHover: [{
|
1846
|
+
type: Input,
|
1847
|
+
args: [{ transform: booleanAttribute }]
|
1848
|
+
}], filterMessage: [{
|
1849
|
+
type: Input
|
1850
|
+
}], filterFields: [{
|
1851
|
+
type: Input
|
1852
|
+
}], lazy: [{
|
1853
|
+
type: Input,
|
1854
|
+
args: [{ transform: booleanAttribute }]
|
1855
|
+
}], virtualScroll: [{
|
1856
|
+
type: Input,
|
1857
|
+
args: [{ transform: booleanAttribute }]
|
1858
|
+
}], virtualScrollItemSize: [{
|
1859
|
+
type: Input,
|
1860
|
+
args: [{ transform: numberAttribute }]
|
1861
|
+
}], virtualScrollOptions: [{
|
1862
|
+
type: Input
|
1863
|
+
}], scrollHeight: [{
|
1864
|
+
type: Input
|
1865
|
+
}], tabindex: [{
|
1866
|
+
type: Input,
|
1867
|
+
args: [{ transform: numberAttribute }]
|
1868
|
+
}], multiple: [{
|
1869
|
+
type: Input,
|
1870
|
+
args: [{ transform: booleanAttribute }]
|
1871
|
+
}], style: [{
|
1872
|
+
type: Input
|
1873
|
+
}], styleClass: [{
|
1874
|
+
type: Input
|
1875
|
+
}], listStyle: [{
|
1876
|
+
type: Input
|
1877
|
+
}], listStyleClass: [{
|
1878
|
+
type: Input
|
1879
|
+
}], readonly: [{
|
1880
|
+
type: Input,
|
1881
|
+
args: [{ transform: booleanAttribute }]
|
1882
|
+
}], disabled: [{
|
1883
|
+
type: Input,
|
1884
|
+
args: [{ transform: booleanAttribute }]
|
1885
|
+
}], checkbox: [{
|
1886
|
+
type: Input,
|
1887
|
+
args: [{ transform: booleanAttribute }]
|
1888
|
+
}], filter: [{
|
1889
|
+
type: Input,
|
1890
|
+
args: [{ transform: booleanAttribute }]
|
1891
|
+
}], filterBy: [{
|
1892
|
+
type: Input
|
1893
|
+
}], filterMatchMode: [{
|
1894
|
+
type: Input
|
1895
|
+
}], filterLocale: [{
|
1896
|
+
type: Input
|
1897
|
+
}], metaKeySelection: [{
|
1898
|
+
type: Input,
|
1899
|
+
args: [{ transform: booleanAttribute }]
|
1900
|
+
}], dataKey: [{
|
1901
|
+
type: Input
|
1902
|
+
}], showToggleAll: [{
|
1903
|
+
type: Input,
|
1904
|
+
args: [{ transform: booleanAttribute }]
|
1905
|
+
}], optionLabel: [{
|
1906
|
+
type: Input
|
1907
|
+
}], optionValue: [{
|
1908
|
+
type: Input
|
1909
|
+
}], optionGroupChildren: [{
|
1910
|
+
type: Input
|
1911
|
+
}], optionGroupLabel: [{
|
1912
|
+
type: Input
|
1913
|
+
}], optionDisabled: [{
|
1914
|
+
type: Input
|
1915
|
+
}], ariaFilterLabel: [{
|
1916
|
+
type: Input
|
1917
|
+
}], filterPlaceHolder: [{
|
1918
|
+
type: Input
|
1919
|
+
}], emptyFilterMessage: [{
|
1920
|
+
type: Input
|
1921
|
+
}], emptyMessage: [{
|
1922
|
+
type: Input
|
1923
|
+
}], group: [{
|
1924
|
+
type: Input,
|
1925
|
+
args: [{ transform: booleanAttribute }]
|
1926
|
+
}], options: [{
|
1927
|
+
type: Input
|
1928
|
+
}], filterValue: [{
|
1929
|
+
type: Input
|
1930
|
+
}], selectAll: [{
|
1931
|
+
type: Input
|
1932
|
+
}], striped: [{
|
1933
|
+
type: Input,
|
1934
|
+
args: [{ transform: booleanAttribute }]
|
1935
|
+
}], highlightOnSelect: [{
|
1936
|
+
type: Input,
|
1937
|
+
args: [{ transform: booleanAttribute }]
|
1938
|
+
}], checkmark: [{
|
1939
|
+
type: Input,
|
1940
|
+
args: [{ transform: booleanAttribute }]
|
1941
|
+
}], dragdrop: [{
|
1942
|
+
type: Input,
|
1943
|
+
args: [{ transform: booleanAttribute }]
|
1944
|
+
}], onChange: [{
|
1945
|
+
type: Output
|
1946
|
+
}], onClick: [{
|
1947
|
+
type: Output
|
1948
|
+
}], onDblClick: [{
|
1949
|
+
type: Output
|
1950
|
+
}], onFilter: [{
|
1951
|
+
type: Output
|
1952
|
+
}], onFocus: [{
|
1953
|
+
type: Output
|
1954
|
+
}], onBlur: [{
|
1955
|
+
type: Output
|
1956
|
+
}], onSelectAllChange: [{
|
1957
|
+
type: Output
|
1958
|
+
}], onLazyLoad: [{
|
1959
|
+
type: Output
|
1960
|
+
}], onDrop: [{
|
1961
|
+
type: Output
|
1962
|
+
}], headerCheckboxViewChild: [{
|
1963
|
+
type: ViewChild,
|
1964
|
+
args: ['headerchkbox']
|
1965
|
+
}], filterViewChild: [{
|
1966
|
+
type: ViewChild,
|
1967
|
+
args: ['filter']
|
1968
|
+
}], lastHiddenFocusableElement: [{
|
1969
|
+
type: ViewChild,
|
1970
|
+
args: ['lastHiddenFocusableElement']
|
1971
|
+
}], firstHiddenFocusableElement: [{
|
1972
|
+
type: ViewChild,
|
1973
|
+
args: ['firstHiddenFocusableElement']
|
1974
|
+
}], scroller: [{
|
1975
|
+
type: ViewChild,
|
1976
|
+
args: ['scroller']
|
1977
|
+
}], listViewChild: [{
|
1978
|
+
type: ViewChild,
|
1979
|
+
args: ['list']
|
1980
|
+
}], containerViewChild: [{
|
1981
|
+
type: ViewChild,
|
1982
|
+
args: ['container']
|
1983
|
+
}], headerFacet: [{
|
1984
|
+
type: ContentChild,
|
1985
|
+
args: [Header]
|
1986
|
+
}], footerFacet: [{
|
1987
|
+
type: ContentChild,
|
1988
|
+
args: [Footer]
|
1989
|
+
}], itemTemplate: [{
|
1990
|
+
type: ContentChild,
|
1991
|
+
args: ['item', { descendants: false }]
|
1992
|
+
}], groupTemplate: [{
|
1993
|
+
type: ContentChild,
|
1994
|
+
args: ['group', { descendants: false }]
|
1995
|
+
}], headerTemplate: [{
|
1996
|
+
type: ContentChild,
|
1997
|
+
args: ['header', { descendants: false }]
|
1998
|
+
}], filterTemplate: [{
|
1999
|
+
type: ContentChild,
|
2000
|
+
args: ['filter', { descendants: false }]
|
2001
|
+
}], footerTemplate: [{
|
2002
|
+
type: ContentChild,
|
2003
|
+
args: ['footer', { descendants: false }]
|
2004
|
+
}], emptyFilterTemplate: [{
|
2005
|
+
type: ContentChild,
|
2006
|
+
args: ['emptyfilter', { descendants: false }]
|
2007
|
+
}], emptyTemplate: [{
|
2008
|
+
type: ContentChild,
|
2009
|
+
args: ['empty', { descendants: false }]
|
2010
|
+
}], filterIconTemplate: [{
|
2011
|
+
type: ContentChild,
|
2012
|
+
args: ['filtericon', { descendants: false }]
|
2013
|
+
}], checkIconTemplate: [{
|
2014
|
+
type: ContentChild,
|
2015
|
+
args: ['checkicon', { descendants: false }]
|
2016
|
+
}], checkmarkTemplate: [{
|
2017
|
+
type: ContentChild,
|
2018
|
+
args: ['checkmark', { descendants: false }]
|
2019
|
+
}], loaderTemplate: [{
|
2020
|
+
type: ContentChild,
|
2021
|
+
args: ['loader', { descendants: false }]
|
2022
|
+
}], templates: [{
|
2023
|
+
type: ContentChildren,
|
2024
|
+
args: [PrimeTemplate]
|
2025
|
+
}] } });
|
2342
2026
|
class ListboxModule {
|
2343
|
-
static ɵfac =
|
2344
|
-
static ɵmod =
|
2345
|
-
static ɵinj =
|
2027
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2028
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: ListboxModule, imports: [Listbox, SharedModule], exports: [Listbox, SharedModule] });
|
2029
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListboxModule, imports: [Listbox, SharedModule, SharedModule] });
|
2346
2030
|
}
|
2347
|
-
(
|
2348
|
-
|
2349
|
-
|
2350
|
-
|
2351
|
-
|
2352
|
-
|
2353
|
-
|
2354
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ListboxModule, { imports: [Listbox, SharedModule], exports: [Listbox, SharedModule] }); })();
|
2031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: ListboxModule, decorators: [{
|
2032
|
+
type: NgModule,
|
2033
|
+
args: [{
|
2034
|
+
imports: [Listbox, SharedModule],
|
2035
|
+
exports: [Listbox, SharedModule]
|
2036
|
+
}]
|
2037
|
+
}] });
|
2355
2038
|
|
2356
2039
|
/**
|
2357
2040
|
* Generated bundle index. Do not edit.
|