primeng 19.0.6 → 19.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dataview/dataview.interface.d.ts +9 -19
- package/dragdrop/dragdrop.d.ts +3 -2
- package/dynamicdialog/dynamicdialog.d.ts +1 -1
- package/fesm2022/primeng-accordion.mjs +347 -560
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-animateonscroll.mjs +37 -40
- package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +79 -89
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +505 -786
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-autofocus.mjs +26 -27
- package/fesm2022/primeng-autofocus.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +70 -120
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-avatargroup.mjs +44 -54
- package/fesm2022/primeng-avatargroup.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +62 -71
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +6 -6
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +15 -15
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +66 -87
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +175 -386
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +223 -328
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +36 -40
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +727 -1127
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +88 -192
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +218 -405
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +392 -576
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +57 -63
- package/fesm2022/primeng-chart.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +131 -183
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +92 -188
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +142 -167
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +12 -12
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +220 -347
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +161 -251
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +336 -450
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +249 -352
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +740 -1136
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +25 -31
- package/fesm2022/primeng-defer.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +277 -478
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +68 -77
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +138 -167
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-dragdrop.mjs +85 -79
- package/fesm2022/primeng-dragdrop.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +171 -268
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +529 -867
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +152 -301
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +118 -156
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +153 -247
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +370 -687
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +38 -46
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-fluid.mjs +33 -41
- package/fesm2022/primeng-fluid.mjs.map +1 -1
- package/fesm2022/primeng-focustrap.mjs +23 -24
- package/fesm2022/primeng-focustrap.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +529 -761
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +42 -51
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
- package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledown.mjs +17 -19
- package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleleft.mjs +17 -19
- package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleright.mjs +17 -19
- package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleup.mjs +17 -19
- package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
- package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
- package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
- package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowright.mjs +19 -19
- package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowup.mjs +26 -26
- package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
- package/fesm2022/primeng-icons-ban.mjs +24 -26
- package/fesm2022/primeng-icons-ban.mjs.map +1 -1
- package/fesm2022/primeng-icons-bars.mjs +19 -19
- package/fesm2022/primeng-icons-bars.mjs.map +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +28 -33
- package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
- package/fesm2022/primeng-icons-blank.mjs +14 -16
- package/fesm2022/primeng-icons-blank.mjs.map +1 -1
- package/fesm2022/primeng-icons-calendar.mjs +17 -19
- package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretleft.mjs +17 -19
- package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretright.mjs +17 -19
- package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
- package/fesm2022/primeng-icons-check.mjs +17 -19
- package/fesm2022/primeng-icons-check.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
- package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
- package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronright.mjs +17 -19
- package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronup.mjs +17 -19
- package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
- package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
- package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/primeng-icons-eye.mjs +19 -19
- package/fesm2022/primeng-icons-eye.mjs.map +1 -1
- package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
- package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-filter.mjs +24 -26
- package/fesm2022/primeng-icons-filter.mjs.map +1 -1
- package/fesm2022/primeng-icons-filterslash.mjs +26 -26
- package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-home.mjs +26 -26
- package/fesm2022/primeng-icons-home.mjs.map +1 -1
- package/fesm2022/primeng-icons-infocircle.mjs +26 -26
- package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-minus.mjs +17 -19
- package/fesm2022/primeng-icons-minus.mjs.map +1 -1
- package/fesm2022/primeng-icons-pencil.mjs +24 -26
- package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
- package/fesm2022/primeng-icons-plus.mjs +24 -26
- package/fesm2022/primeng-icons-plus.mjs.map +1 -1
- package/fesm2022/primeng-icons-refresh.mjs +26 -26
- package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
- package/fesm2022/primeng-icons-search.mjs +26 -26
- package/fesm2022/primeng-icons-search.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchminus.mjs +26 -26
- package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchplus.mjs +26 -26
- package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortalt.mjs +30 -26
- package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
- package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-spinner.mjs +24 -26
- package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
- package/fesm2022/primeng-icons-star.mjs +24 -26
- package/fesm2022/primeng-icons-star.mjs.map +1 -1
- package/fesm2022/primeng-icons-starfill.mjs +24 -26
- package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
- package/fesm2022/primeng-icons-thlarge.mjs +26 -26
- package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
- package/fesm2022/primeng-icons-times.mjs +17 -19
- package/fesm2022/primeng-icons-times.mjs.map +1 -1
- package/fesm2022/primeng-icons-timescircle.mjs +26 -26
- package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-trash.mjs +26 -26
- package/fesm2022/primeng-icons-trash.mjs.map +1 -1
- package/fesm2022/primeng-icons-undo.mjs +26 -26
- package/fesm2022/primeng-icons-undo.mjs.map +1 -1
- package/fesm2022/primeng-icons-upload.mjs +26 -26
- package/fesm2022/primeng-icons-upload.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
- package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
- package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +32 -38
- package/fesm2022/primeng-iftalabel.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +189 -370
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +57 -86
- package/fesm2022/primeng-imagecompare.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +108 -206
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +40 -50
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputicon.mjs +39 -48
- package/fesm2022/primeng-inputicon.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +156 -181
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +299 -416
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +97 -121
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputswitch.mjs +87 -92
- package/fesm2022/primeng-inputswitch.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +51 -57
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +50 -55
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-keyfilter.mjs +44 -47
- package/fesm2022/primeng-keyfilter.mjs.map +1 -1
- package/fesm2022/primeng-knob.mjs +105 -111
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +473 -790
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +377 -611
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +289 -460
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +357 -549
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +156 -244
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +162 -278
- package/fesm2022/primeng-messages.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +135 -264
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +655 -1132
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +228 -330
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +161 -311
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +135 -147
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +50 -58
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +134 -154
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +212 -447
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +219 -317
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +439 -783
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +268 -408
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +560 -856
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +129 -148
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +81 -121
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-progressspinner.mjs +48 -58
- package/fesm2022/primeng-progressspinner.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +115 -106
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +120 -208
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +28 -29
- package/fesm2022/primeng-ripple.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +167 -295
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +96 -116
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +106 -150
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +579 -955
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +106 -133
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +151 -239
- package/fesm2022/primeng-sidebar.mjs.map +1 -1
- package/fesm2022/primeng-skeleton.mjs +46 -54
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +186 -182
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +192 -254
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +211 -231
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +126 -159
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +227 -342
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +117 -170
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-styleclass.mjs +50 -53
- package/fesm2022/primeng-styleclass.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +1808 -2584
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +173 -319
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +185 -300
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +263 -435
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +63 -110
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +60 -104
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +56 -61
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +338 -457
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +90 -156
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +251 -358
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +113 -150
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +98 -121
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +62 -121
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +73 -74
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +441 -730
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +342 -531
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +1026 -1583
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +6 -6
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/listbox/listbox.d.ts +2 -2
- package/package.json +178 -179
- package/password/password.d.ts +7 -1
- package/picklist/picklist.d.ts +11 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute,
|
4
|
+
import { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute, Output, Input, ViewEncapsulation, Component, inject, signal, computed, effect, HostBinding, ContentChildren, ContentChild, ViewChild, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
5
5
|
import * as i2 from '@angular/forms';
|
6
6
|
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
7
7
|
import { deepEquals, isNotEmpty, isArray, isObject, uuid, equals, focus, findLastIndex, resolveFieldData, isPrintableCharacter, getFirstFocusableElement, getLastFocusableElement, findSingle, unblockBodyScroll, hasClass, isHidden, getFocusableElements } from '@primeuix/utils';
|
@@ -301,12 +301,12 @@ class MultiSelectStyle extends BaseStyle {
|
|
301
301
|
theme = theme;
|
302
302
|
classes = classes;
|
303
303
|
inlineStyles = inlineStyles;
|
304
|
-
static ɵfac =
|
305
|
-
static ɵprov =
|
304
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
305
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle });
|
306
306
|
}
|
307
|
-
(
|
308
|
-
|
309
|
-
|
307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectStyle, decorators: [{
|
308
|
+
type: Injectable
|
309
|
+
}] });
|
310
310
|
/**
|
311
311
|
*
|
312
312
|
* MultiSelect is used to select multiple items from a collection.
|
@@ -392,641 +392,6 @@ var MultiSelectClasses;
|
|
392
392
|
MultiSelectClasses["emptyMessage"] = "p-multiselect-empty-message";
|
393
393
|
})(MultiSelectClasses || (MultiSelectClasses = {}));
|
394
394
|
|
395
|
-
const _c0 = a0 => ({ height: a0 });
|
396
|
-
const _c1 = (a0, a1) => ({ "p-multiselect-option": true, "p-disabled": a0, "p-focus": a1 });
|
397
|
-
const _c2 = a0 => ({ $implicit: a0 });
|
398
|
-
const _c3 = (a0, a1) => ({ checked: a0, class: a1 });
|
399
|
-
function MultiSelectItem_ng_container_2_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
|
400
|
-
function MultiSelectItem_ng_container_2_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
|
401
|
-
i0.ɵɵtemplate(0, MultiSelectItem_ng_container_2_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
|
402
|
-
} }
|
403
|
-
function MultiSelectItem_ng_container_2_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
404
|
-
i0.ɵɵtemplate(0, MultiSelectItem_ng_container_2_ng_template_1_0_Template, 1, 0, null, 4);
|
405
|
-
} if (rf & 2) {
|
406
|
-
const klass_r1 = ctx.class;
|
407
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
408
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.itemCheckboxIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c3, ctx_r1.selected, klass_r1));
|
409
|
-
} }
|
410
|
-
function MultiSelectItem_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
411
|
-
i0.ɵɵelementContainerStart(0);
|
412
|
-
i0.ɵɵtemplate(1, MultiSelectItem_ng_container_2_ng_template_1_Template, 1, 5, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
413
|
-
i0.ɵɵelementContainerEnd();
|
414
|
-
} }
|
415
|
-
function MultiSelectItem_span_3_Template(rf, ctx) { if (rf & 1) {
|
416
|
-
i0.ɵɵelementStart(0, "span");
|
417
|
-
i0.ɵɵtext(1);
|
418
|
-
i0.ɵɵelementEnd();
|
419
|
-
} if (rf & 2) {
|
420
|
-
let tmp_1_0;
|
421
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
422
|
-
i0.ɵɵadvance();
|
423
|
-
i0.ɵɵtextInterpolate((tmp_1_0 = ctx_r1.label) !== null && tmp_1_0 !== undefined ? tmp_1_0 : "empty");
|
424
|
-
} }
|
425
|
-
function MultiSelectItem_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
426
|
-
i0.ɵɵelementContainer(0);
|
427
|
-
} }
|
428
|
-
const _c4 = ["item"];
|
429
|
-
const _c5 = ["group"];
|
430
|
-
const _c6 = ["loader"];
|
431
|
-
const _c7 = ["header"];
|
432
|
-
const _c8 = ["filter"];
|
433
|
-
const _c9 = ["footer"];
|
434
|
-
const _c10 = ["emptyfilter"];
|
435
|
-
const _c11 = ["empty"];
|
436
|
-
const _c12 = ["selecteditems"];
|
437
|
-
const _c13 = ["checkicon"];
|
438
|
-
const _c14 = ["loadingicon"];
|
439
|
-
const _c15 = ["filtericon"];
|
440
|
-
const _c16 = ["removetokenicon"];
|
441
|
-
const _c17 = ["chipicon"];
|
442
|
-
const _c18 = ["clearicon"];
|
443
|
-
const _c19 = ["dropdownicon"];
|
444
|
-
const _c20 = ["itemcheckboxicon"];
|
445
|
-
const _c21 = ["headercheckboxicon"];
|
446
|
-
const _c22 = ["overlay"];
|
447
|
-
const _c23 = ["filterInput"];
|
448
|
-
const _c24 = ["focusInput"];
|
449
|
-
const _c25 = ["items"];
|
450
|
-
const _c26 = ["scroller"];
|
451
|
-
const _c27 = ["lastHiddenFocusableEl"];
|
452
|
-
const _c28 = ["firstHiddenFocusableEl"];
|
453
|
-
const _c29 = ["headerCheckbox"];
|
454
|
-
const _c30 = [[["p-header"]], [["p-footer"]]];
|
455
|
-
const _c31 = ["p-header", "p-footer"];
|
456
|
-
const _c32 = () => ({ class: "p-multiselect-chip-icon" });
|
457
|
-
const _c33 = (a0, a1) => ({ $implicit: a0, removeChip: a1 });
|
458
|
-
const _c34 = a0 => ({ options: a0 });
|
459
|
-
const _c35 = (a0, a1, a2) => ({ checked: a0, partialSelected: a1, class: a2 });
|
460
|
-
const _c36 = (a0, a1) => ({ $implicit: a0, options: a1 });
|
461
|
-
const _c37 = () => ({});
|
462
|
-
function MultiSelect_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
463
|
-
i0.ɵɵelementContainerStart(0);
|
464
|
-
i0.ɵɵtext(1);
|
465
|
-
i0.ɵɵelementContainerEnd();
|
466
|
-
} if (rf & 2) {
|
467
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
468
|
-
i0.ɵɵadvance();
|
469
|
-
i0.ɵɵtextInterpolate(ctx_r1.label() || "empty");
|
470
|
-
} }
|
471
|
-
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
472
|
-
i0.ɵɵelementContainer(0);
|
473
|
-
} }
|
474
|
-
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
475
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
476
|
-
i0.ɵɵelementStart(0, "span", 28);
|
477
|
-
i0.ɵɵlistener("click", function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const item_r4 = i0.ɵɵnextContext(4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeOption(item_r4, $event)); });
|
478
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template, 1, 0, "ng-container", 29);
|
479
|
-
i0.ɵɵelementEnd();
|
480
|
-
} if (rf & 2) {
|
481
|
-
const ctx_r1 = i0.ɵɵnextContext(7);
|
482
|
-
i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
|
483
|
-
i0.ɵɵadvance();
|
484
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(4, _c32));
|
485
|
-
} }
|
486
|
-
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
487
|
-
i0.ɵɵelementContainerStart(0);
|
488
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template, 2, 5, "span", 27);
|
489
|
-
i0.ɵɵelementContainerEnd();
|
490
|
-
} if (rf & 2) {
|
491
|
-
const ctx_r1 = i0.ɵɵnextContext(6);
|
492
|
-
i0.ɵɵadvance();
|
493
|
-
i0.ɵɵproperty("ngIf", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate);
|
494
|
-
} }
|
495
|
-
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
496
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template, 2, 1, "ng-container", 20);
|
497
|
-
} if (rf & 2) {
|
498
|
-
const ctx_r1 = i0.ɵɵnextContext(5);
|
499
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.disabled);
|
500
|
-
} }
|
501
|
-
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
502
|
-
i0.ɵɵelementContainerStart(0);
|
503
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
|
504
|
-
i0.ɵɵelementContainerEnd();
|
505
|
-
} }
|
506
|
-
function MultiSelect_ng_container_5_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
507
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
508
|
-
i0.ɵɵelementStart(0, "div", 25, 4)(2, "p-chip", 26);
|
509
|
-
i0.ɵɵlistener("onRemove", function MultiSelect_ng_container_5_ng_container_2_div_1_Template_p_chip_onRemove_2_listener($event) { const item_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeOption(item_r4, $event)); });
|
510
|
-
i0.ɵɵtemplate(3, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template, 3, 0, "ng-container", 20);
|
511
|
-
i0.ɵɵelementEnd()();
|
512
|
-
} if (rf & 2) {
|
513
|
-
const item_r4 = ctx.$implicit;
|
514
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
515
|
-
i0.ɵɵadvance(2);
|
516
|
-
i0.ɵɵproperty("label", ctx_r1.getLabelByValue(item_r4))("removable", true)("removeIcon", ctx_r1.chipIcon);
|
517
|
-
i0.ɵɵadvance();
|
518
|
-
i0.ɵɵproperty("ngIf", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate);
|
519
|
-
} }
|
520
|
-
function MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
521
|
-
i0.ɵɵelementContainerStart(0);
|
522
|
-
i0.ɵɵtext(1);
|
523
|
-
i0.ɵɵelementContainerEnd();
|
524
|
-
} if (rf & 2) {
|
525
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
526
|
-
i0.ɵɵadvance();
|
527
|
-
i0.ɵɵtextInterpolate(ctx_r1.placeholder() || ctx_r1.defaultLabel || "empty");
|
528
|
-
} }
|
529
|
-
function MultiSelect_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
530
|
-
i0.ɵɵelementContainerStart(0);
|
531
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_Template, 4, 4, "div", 24)(2, MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template, 2, 1, "ng-container", 20);
|
532
|
-
i0.ɵɵelementContainerEnd();
|
533
|
-
} if (rf & 2) {
|
534
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
535
|
-
i0.ɵɵadvance();
|
536
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.chipSelectedItems());
|
537
|
-
i0.ɵɵadvance();
|
538
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.modelValue() || ctx_r1.modelValue().length === 0);
|
539
|
-
} }
|
540
|
-
function MultiSelect_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
541
|
-
i0.ɵɵelementContainerStart(0);
|
542
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_1_Template, 2, 1, "ng-container", 20)(2, MultiSelect_ng_container_5_ng_container_2_Template, 3, 2, "ng-container", 20);
|
543
|
-
i0.ɵɵelementContainerEnd();
|
544
|
-
} if (rf & 2) {
|
545
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
546
|
-
i0.ɵɵadvance();
|
547
|
-
i0.ɵɵproperty("ngIf", ctx_r1.display === "comma");
|
548
|
-
i0.ɵɵadvance();
|
549
|
-
i0.ɵɵproperty("ngIf", ctx_r1.display === "chip");
|
550
|
-
} }
|
551
|
-
function MultiSelect_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
552
|
-
i0.ɵɵelementContainer(0);
|
553
|
-
} }
|
554
|
-
function MultiSelect_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
555
|
-
i0.ɵɵelementContainerStart(0);
|
556
|
-
i0.ɵɵtext(1);
|
557
|
-
i0.ɵɵelementContainerEnd();
|
558
|
-
} if (rf & 2) {
|
559
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
560
|
-
i0.ɵɵadvance();
|
561
|
-
i0.ɵɵtextInterpolate(ctx_r1.placeholder() || ctx_r1.defaultLabel || "empty");
|
562
|
-
} }
|
563
|
-
function MultiSelect_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
564
|
-
i0.ɵɵelementContainerStart(0);
|
565
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 29)(2, MultiSelect_ng_container_6_ng_container_2_Template, 2, 1, "ng-container", 20);
|
566
|
-
i0.ɵɵelementContainerEnd();
|
567
|
-
} if (rf & 2) {
|
568
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
569
|
-
i0.ɵɵadvance();
|
570
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.selectedItemsTemplate || ctx_r1._selectedItemsTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c33, ctx_r1.selectedOptions, ctx_r1.removeOption.bind(ctx_r1)));
|
571
|
-
i0.ɵɵadvance();
|
572
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.modelValue() || ctx_r1.modelValue().length === 0);
|
573
|
-
} }
|
574
|
-
function MultiSelect_ng_container_7_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
|
575
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
576
|
-
i0.ɵɵelementStart(0, "TimesIcon", 31);
|
577
|
-
i0.ɵɵlistener("click", function MultiSelect_ng_container_7_TimesIcon_1_Template_TimesIcon_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear($event)); });
|
578
|
-
i0.ɵɵelementEnd();
|
579
|
-
} if (rf & 2) {
|
580
|
-
i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
|
581
|
-
} }
|
582
|
-
function MultiSelect_ng_container_7_span_2_1_ng_template_0_Template(rf, ctx) { }
|
583
|
-
function MultiSelect_ng_container_7_span_2_1_Template(rf, ctx) { if (rf & 1) {
|
584
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_container_7_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
|
585
|
-
} }
|
586
|
-
function MultiSelect_ng_container_7_span_2_Template(rf, ctx) { if (rf & 1) {
|
587
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
588
|
-
i0.ɵɵelementStart(0, "span", 31);
|
589
|
-
i0.ɵɵlistener("click", function MultiSelect_ng_container_7_span_2_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear($event)); });
|
590
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_7_span_2_1_Template, 1, 0, null, 32);
|
591
|
-
i0.ɵɵelementEnd();
|
592
|
-
} if (rf & 2) {
|
593
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
594
|
-
i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
|
595
|
-
i0.ɵɵadvance();
|
596
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
|
597
|
-
} }
|
598
|
-
function MultiSelect_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
599
|
-
i0.ɵɵelementContainerStart(0);
|
600
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_7_TimesIcon_1_Template, 1, 2, "TimesIcon", 30)(2, MultiSelect_ng_container_7_span_2_Template, 2, 3, "span", 30);
|
601
|
-
i0.ɵɵelementContainerEnd();
|
602
|
-
} if (rf & 2) {
|
603
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
604
|
-
i0.ɵɵadvance();
|
605
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.clearIconTemplate && !ctx_r1._clearIconTemplate);
|
606
|
-
i0.ɵɵadvance();
|
607
|
-
i0.ɵɵproperty("ngIf", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
|
608
|
-
} }
|
609
|
-
function MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
610
|
-
i0.ɵɵelementContainer(0);
|
611
|
-
} }
|
612
|
-
function MultiSelect_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
613
|
-
i0.ɵɵelementContainerStart(0);
|
614
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 32);
|
615
|
-
i0.ɵɵelementContainerEnd();
|
616
|
-
} if (rf & 2) {
|
617
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
618
|
-
i0.ɵɵadvance();
|
619
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loadingIconTemplate || ctx_r1._loadingIconTemplate);
|
620
|
-
} }
|
621
|
-
function MultiSelect_ng_container_9_ng_container_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
622
|
-
i0.ɵɵelement(0, "span", 35);
|
623
|
-
} if (rf & 2) {
|
624
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
625
|
-
i0.ɵɵproperty("ngClass", "p-multiselect-loading-icon pi-spin " + ctx_r1.loadingIcon);
|
626
|
-
} }
|
627
|
-
function MultiSelect_ng_container_9_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
628
|
-
i0.ɵɵelement(0, "span", 36);
|
629
|
-
} if (rf & 2) {
|
630
|
-
i0.ɵɵclassMap("p-multiselect-loading-icon pi pi-spinner pi-spin");
|
631
|
-
} }
|
632
|
-
function MultiSelect_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
633
|
-
i0.ɵɵelementContainerStart(0);
|
634
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_2_span_1_Template, 1, 1, "span", 33)(2, MultiSelect_ng_container_9_ng_container_2_span_2_Template, 1, 2, "span", 34);
|
635
|
-
i0.ɵɵelementContainerEnd();
|
636
|
-
} if (rf & 2) {
|
637
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
638
|
-
i0.ɵɵadvance();
|
639
|
-
i0.ɵɵproperty("ngIf", ctx_r1.loadingIcon);
|
640
|
-
i0.ɵɵadvance();
|
641
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.loadingIcon);
|
642
|
-
} }
|
643
|
-
function MultiSelect_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
644
|
-
i0.ɵɵelementContainerStart(0);
|
645
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_Template, 2, 1, "ng-container", 20)(2, MultiSelect_ng_container_9_ng_container_2_Template, 3, 2, "ng-container", 20);
|
646
|
-
i0.ɵɵelementContainerEnd();
|
647
|
-
} if (rf & 2) {
|
648
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
649
|
-
i0.ɵɵadvance();
|
650
|
-
i0.ɵɵproperty("ngIf", ctx_r1.loadingIconTemplate || ctx_r1._loadingIconTemplate);
|
651
|
-
i0.ɵɵadvance();
|
652
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.loadingIconTemplate && !ctx_r1._loadingIconTemplate);
|
653
|
-
} }
|
654
|
-
function MultiSelect_ng_template_10_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
655
|
-
i0.ɵɵelement(0, "span", 40);
|
656
|
-
} if (rf & 2) {
|
657
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
658
|
-
i0.ɵɵproperty("ngClass", ctx_r1.dropdownIcon);
|
659
|
-
i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
|
660
|
-
} }
|
661
|
-
function MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) { if (rf & 1) {
|
662
|
-
i0.ɵɵelement(0, "ChevronDownIcon", 41);
|
663
|
-
} if (rf & 2) {
|
664
|
-
i0.ɵɵproperty("styleClass", "p-multiselect-dropdown-icon");
|
665
|
-
i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
|
666
|
-
} }
|
667
|
-
function MultiSelect_ng_template_10_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
668
|
-
i0.ɵɵelementContainerStart(0);
|
669
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_10_ng_container_0_span_1_Template, 1, 3, "span", 38)(2, MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template, 1, 3, "ChevronDownIcon", 39);
|
670
|
-
i0.ɵɵelementContainerEnd();
|
671
|
-
} if (rf & 2) {
|
672
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
673
|
-
i0.ɵɵadvance();
|
674
|
-
i0.ɵɵproperty("ngIf", ctx_r1.dropdownIcon);
|
675
|
-
i0.ɵɵadvance();
|
676
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.dropdownIcon);
|
677
|
-
} }
|
678
|
-
function MultiSelect_ng_template_10_span_1_1_ng_template_0_Template(rf, ctx) { }
|
679
|
-
function MultiSelect_ng_template_10_span_1_1_Template(rf, ctx) { if (rf & 1) {
|
680
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_10_span_1_1_ng_template_0_Template, 0, 0, "ng-template");
|
681
|
-
} }
|
682
|
-
function MultiSelect_ng_template_10_span_1_Template(rf, ctx) { if (rf & 1) {
|
683
|
-
i0.ɵɵelementStart(0, "span", 42);
|
684
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_10_span_1_1_Template, 1, 0, null, 32);
|
685
|
-
i0.ɵɵelementEnd();
|
686
|
-
} if (rf & 2) {
|
687
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
688
|
-
i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
|
689
|
-
i0.ɵɵadvance();
|
690
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);
|
691
|
-
} }
|
692
|
-
function MultiSelect_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
693
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_10_ng_container_0_Template, 3, 2, "ng-container", 20)(1, MultiSelect_ng_template_10_span_1_Template, 2, 3, "span", 37);
|
694
|
-
} if (rf & 2) {
|
695
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
696
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.dropdownIconTemplate && !ctx_r1._dropdownIconTemplate);
|
697
|
-
i0.ɵɵadvance();
|
698
|
-
i0.ɵɵproperty("ngIf", ctx_r1.dropdownIconTemplate || ctx_r1._dropdownIconTemplate);
|
699
|
-
} }
|
700
|
-
function MultiSelect_ng_template_14_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
701
|
-
i0.ɵɵelementContainer(0);
|
702
|
-
} }
|
703
|
-
function MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
704
|
-
i0.ɵɵelementContainer(0);
|
705
|
-
} }
|
706
|
-
function MultiSelect_ng_template_14_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
707
|
-
i0.ɵɵelementContainerStart(0);
|
708
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 29);
|
709
|
-
i0.ɵɵelementContainerEnd();
|
710
|
-
} if (rf & 2) {
|
711
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
712
|
-
i0.ɵɵadvance();
|
713
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate || ctx_r1._filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, ctx_r1.filterOptions));
|
714
|
-
} }
|
715
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template(rf, ctx) { if (rf & 1) {
|
716
|
-
i0.ɵɵelement(0, "CheckIcon", 41);
|
717
|
-
} if (rf & 2) {
|
718
|
-
const klass_r10 = i0.ɵɵnextContext().class;
|
719
|
-
i0.ɵɵproperty("styleClass", klass_r10);
|
720
|
-
i0.ɵɵattribute("data-pc-section", "icon");
|
721
|
-
} }
|
722
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template(rf, ctx) { }
|
723
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template(rf, ctx) { if (rf & 1) {
|
724
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template, 0, 0, "ng-template");
|
725
|
-
} }
|
726
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
727
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template, 1, 2, "CheckIcon", 39)(1, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template, 1, 0, null, 29);
|
728
|
-
} if (rf & 2) {
|
729
|
-
const klass_r10 = ctx.class;
|
730
|
-
const ctx_r1 = i0.ɵɵnextContext(5);
|
731
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.headerCheckboxIconTemplate && !ctx_r1._headerCheckboxIconTemplate && ctx_r1.allSelected());
|
732
|
-
i0.ɵɵadvance();
|
733
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerCheckboxIconTemplate || ctx_r1._headerCheckboxIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c35, ctx_r1.allSelected(), ctx_r1.partialSelected(), klass_r10));
|
734
|
-
} }
|
735
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template(rf, ctx) { if (rf & 1) {
|
736
|
-
const _r9 = i0.ɵɵgetCurrentView();
|
737
|
-
i0.ɵɵelementStart(0, "p-checkbox", 51, 10);
|
738
|
-
i0.ɵɵlistener("onChange", function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template_p_checkbox_onChange_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onToggleAll($event)); });
|
739
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template, 2, 7, "ng-template", null, 11, i0.ɵɵtemplateRefExtractor);
|
740
|
-
i0.ɵɵelementEnd();
|
741
|
-
} if (rf & 2) {
|
742
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
743
|
-
i0.ɵɵproperty("ngModel", ctx_r1.allSelected())("ariaLabel", ctx_r1.toggleAllAriaLabel)("binary", true)("variant", ctx_r1.variant)("disabled", ctx_r1.disabled);
|
744
|
-
} }
|
745
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template(rf, ctx) { if (rf & 1) {
|
746
|
-
i0.ɵɵelement(0, "SearchIcon", 41);
|
747
|
-
} if (rf & 2) {
|
748
|
-
i0.ɵɵproperty("styleClass", "p-multiselect-filter-icon");
|
749
|
-
} }
|
750
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_ng_template_0_Template(rf, ctx) { }
|
751
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template(rf, ctx) { if (rf & 1) {
|
752
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_ng_template_0_Template, 0, 0, "ng-template");
|
753
|
-
} }
|
754
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template(rf, ctx) { if (rf & 1) {
|
755
|
-
i0.ɵɵelementStart(0, "span", 55);
|
756
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template, 1, 0, null, 32);
|
757
|
-
i0.ɵɵelementEnd();
|
758
|
-
} if (rf & 2) {
|
759
|
-
const ctx_r1 = i0.ɵɵnextContext(5);
|
760
|
-
i0.ɵɵadvance();
|
761
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
|
762
|
-
} }
|
763
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
764
|
-
const _r11 = i0.ɵɵgetCurrentView();
|
765
|
-
i0.ɵɵelementStart(0, "div", 52)(1, "p-iconfield")(2, "input", 53, 12);
|
766
|
-
i0.ɵɵlistener("input", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_input_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterInputChange($event)); })("keydown", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_keydown_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterKeyDown($event)); })("click", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_click_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onInputClick($event)); })("blur", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_blur_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterBlur($event)); });
|
767
|
-
i0.ɵɵelementEnd();
|
768
|
-
i0.ɵɵelementStart(4, "p-inputicon");
|
769
|
-
i0.ɵɵtemplate(5, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template, 1, 1, "SearchIcon", 39)(6, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template, 2, 1, "span", 54);
|
770
|
-
i0.ɵɵelementEnd()()();
|
771
|
-
} if (rf & 2) {
|
772
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
773
|
-
i0.ɵɵadvance(2);
|
774
|
-
i0.ɵɵproperty("variant", ctx_r1.variant)("value", ctx_r1._filterValue() || "")("disabled", ctx_r1.disabled);
|
775
|
-
i0.ɵɵattribute("autocomplete", ctx_r1.autocomplete)("aria-owns", ctx_r1.id + "_list")("aria-activedescendant", ctx_r1.focusedOptionId)("placeholder", ctx_r1.filterPlaceHolder)("aria-label", ctx_r1.ariaFilterLabel);
|
776
|
-
i0.ɵɵadvance(3);
|
777
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.filterIconTemplate && !ctx_r1._filterIconTemplate);
|
778
|
-
i0.ɵɵadvance();
|
779
|
-
i0.ɵɵproperty("ngIf", ctx_r1.filterIconTemplate || ctx_r1._filterIconTemplate);
|
780
|
-
} }
|
781
|
-
function MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
782
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template, 4, 5, "p-checkbox", 49)(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template, 7, 10, "div", 50);
|
783
|
-
} if (rf & 2) {
|
784
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
785
|
-
i0.ɵɵproperty("ngIf", ctx_r1.showToggleAll && !ctx_r1.selectionLimit);
|
786
|
-
i0.ɵɵadvance();
|
787
|
-
i0.ɵɵproperty("ngIf", ctx_r1.filter);
|
788
|
-
} }
|
789
|
-
function MultiSelect_ng_template_14_div_4_Template(rf, ctx) { if (rf & 1) {
|
790
|
-
i0.ɵɵelementStart(0, "div", 48);
|
791
|
-
i0.ɵɵprojection(1);
|
792
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_container_2_Template, 2, 4, "ng-container", 22)(3, MultiSelect_ng_template_14_div_4_ng_template_3_Template, 2, 2, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
793
|
-
i0.ɵɵelementEnd();
|
794
|
-
} if (rf & 2) {
|
795
|
-
const builtInFilterElement_r12 = i0.ɵɵreference(4);
|
796
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
797
|
-
i0.ɵɵadvance(2);
|
798
|
-
i0.ɵɵproperty("ngIf", ctx_r1.filterTemplate || ctx_r1._filterTemplate)("ngIfElse", builtInFilterElement_r12);
|
799
|
-
} }
|
800
|
-
function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
801
|
-
i0.ɵɵelementContainer(0);
|
802
|
-
} }
|
803
|
-
function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
804
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 29);
|
805
|
-
} if (rf & 2) {
|
806
|
-
const items_r14 = ctx.$implicit;
|
807
|
-
const scrollerOptions_r15 = ctx.options;
|
808
|
-
i0.ɵɵnextContext(2);
|
809
|
-
const buildInItems_r16 = i0.ɵɵreference(9);
|
810
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c36, items_r14, scrollerOptions_r15));
|
811
|
-
} }
|
812
|
-
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
813
|
-
i0.ɵɵelementContainer(0);
|
814
|
-
} }
|
815
|
-
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
816
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 29);
|
817
|
-
} if (rf & 2) {
|
818
|
-
const scrollerOptions_r17 = ctx.options;
|
819
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
820
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, scrollerOptions_r17));
|
821
|
-
} }
|
822
|
-
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
823
|
-
i0.ɵɵelementContainerStart(0);
|
824
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template, 1, 4, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
|
825
|
-
i0.ɵɵelementContainerEnd();
|
826
|
-
} }
|
827
|
-
function MultiSelect_ng_template_14_p_scroller_6_Template(rf, ctx) { if (rf & 1) {
|
828
|
-
const _r13 = i0.ɵɵgetCurrentView();
|
829
|
-
i0.ɵɵelementStart(0, "p-scroller", 56, 13);
|
830
|
-
i0.ɵɵlistener("onLazyLoad", function MultiSelect_ng_template_14_p_scroller_6_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onLazyLoad.emit($event)); });
|
831
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template, 1, 5, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(4, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template, 3, 0, "ng-container", 20);
|
832
|
-
i0.ɵɵelementEnd();
|
833
|
-
} if (rf & 2) {
|
834
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
835
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(9, _c0, ctx_r1.scrollHeight));
|
836
|
-
i0.ɵɵproperty("items", ctx_r1.visibleOptions())("itemSize", ctx_r1.virtualScrollItemSize || ctx_r1._itemSize)("autoSize", true)("tabindex", -1)("lazy", ctx_r1.lazy)("options", ctx_r1.virtualScrollOptions);
|
837
|
-
i0.ɵɵadvance(4);
|
838
|
-
i0.ɵɵproperty("ngIf", ctx_r1.loaderTemplate || ctx_r1._loaderTemplate);
|
839
|
-
} }
|
840
|
-
function MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
841
|
-
i0.ɵɵelementContainer(0);
|
842
|
-
} }
|
843
|
-
function MultiSelect_ng_template_14_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
844
|
-
i0.ɵɵelementContainerStart(0);
|
845
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 29);
|
846
|
-
i0.ɵɵelementContainerEnd();
|
847
|
-
} if (rf & 2) {
|
848
|
-
i0.ɵɵnextContext();
|
849
|
-
const buildInItems_r16 = i0.ɵɵreference(9);
|
850
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
851
|
-
i0.ɵɵadvance();
|
852
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c36, ctx_r1.visibleOptions(), i0.ɵɵpureFunction0(2, _c37)));
|
853
|
-
} }
|
854
|
-
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
855
|
-
i0.ɵɵelementStart(0, "span");
|
856
|
-
i0.ɵɵtext(1);
|
857
|
-
i0.ɵɵelementEnd();
|
858
|
-
} if (rf & 2) {
|
859
|
-
const option_r18 = i0.ɵɵnextContext(2).$implicit;
|
860
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
861
|
-
i0.ɵɵadvance();
|
862
|
-
i0.ɵɵtextInterpolate(ctx_r1.getOptionGroupLabel(option_r18.optionGroup));
|
863
|
-
} }
|
864
|
-
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
865
|
-
i0.ɵɵelementContainer(0);
|
866
|
-
} }
|
867
|
-
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
868
|
-
i0.ɵɵelementContainerStart(0);
|
869
|
-
i0.ɵɵelementStart(1, "li", 60);
|
870
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 20)(3, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 29);
|
871
|
-
i0.ɵɵelementEnd();
|
872
|
-
i0.ɵɵelementContainerEnd();
|
873
|
-
} if (rf & 2) {
|
874
|
-
const ctx_r18 = i0.ɵɵnextContext();
|
875
|
-
const option_r18 = ctx_r18.$implicit;
|
876
|
-
const i_r20 = ctx_r18.index;
|
877
|
-
const scrollerOptions_r21 = i0.ɵɵnextContext().options;
|
878
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
879
|
-
i0.ɵɵadvance();
|
880
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c0, scrollerOptions_r21.itemSize + "px"));
|
881
|
-
i0.ɵɵattribute("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21));
|
882
|
-
i0.ɵɵadvance();
|
883
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.groupTemplate);
|
884
|
-
i0.ɵɵadvance();
|
885
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c2, option_r18.optionGroup));
|
886
|
-
} }
|
887
|
-
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
888
|
-
const _r22 = i0.ɵɵgetCurrentView();
|
889
|
-
i0.ɵɵelementContainerStart(0);
|
890
|
-
i0.ɵɵelementStart(1, "p-multiselect-item", 61);
|
891
|
-
i0.ɵɵlistener("onClick", function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template_p_multiselect_item_onClick_1_listener($event) { i0.ɵɵrestoreView(_r22); const i_r20 = i0.ɵɵnextContext().index; const scrollerOptions_r21 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOptionSelect($event, false, ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))); })("onMouseEnter", function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template_p_multiselect_item_onMouseEnter_1_listener($event) { i0.ɵɵrestoreView(_r22); const i_r20 = i0.ɵɵnextContext().index; const scrollerOptions_r21 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOptionMouseEnter($event, ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))); });
|
892
|
-
i0.ɵɵelementEnd();
|
893
|
-
i0.ɵɵelementContainerEnd();
|
894
|
-
} if (rf & 2) {
|
895
|
-
const ctx_r18 = i0.ɵɵnextContext();
|
896
|
-
const option_r18 = ctx_r18.$implicit;
|
897
|
-
const i_r20 = ctx_r18.index;
|
898
|
-
const scrollerOptions_r21 = i0.ɵɵnextContext().options;
|
899
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
900
|
-
i0.ɵɵadvance();
|
901
|
-
i0.ɵɵproperty("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("option", option_r18)("selected", ctx_r1.isSelected(option_r18))("label", ctx_r1.getOptionLabel(option_r18))("disabled", ctx_r1.isOptionDisabled(option_r18))("template", ctx_r1.itemTemplate || ctx_r1._itemTemplate)("checkIconTemplate", ctx_r1.checkIconTemplate || ctx_r1._checkIconTemplate)("itemCheckboxIconTemplate", ctx_r1.itemCheckboxIconTemplate || ctx_r1._itemCheckboxIconTemplate)("itemSize", scrollerOptions_r21.itemSize)("focused", ctx_r1.focusedOptionIndex() === ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("ariaPosInset", ctx_r1.getAriaPosInset(ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21)))("ariaSetSize", ctx_r1.ariaSetSize)("variant", ctx_r1.variant);
|
902
|
-
} }
|
903
|
-
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
904
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 20)(1, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template, 2, 13, "ng-container", 20);
|
905
|
-
} if (rf & 2) {
|
906
|
-
const option_r18 = ctx.$implicit;
|
907
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
908
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isOptionGroup(option_r18));
|
909
|
-
i0.ɵɵadvance();
|
910
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.isOptionGroup(option_r18));
|
911
|
-
} }
|
912
|
-
function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
913
|
-
i0.ɵɵtext(0);
|
914
|
-
} if (rf & 2) {
|
915
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
916
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyFilterMessageLabel, " ");
|
917
|
-
} }
|
918
|
-
function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
919
|
-
i0.ɵɵelementContainer(0);
|
920
|
-
} }
|
921
|
-
function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
922
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 32);
|
923
|
-
} if (rf & 2) {
|
924
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
925
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyFilterTemplate || ctx_r1._emptyFilterTemplate || ctx_r1.emptyTemplate || ctx_r1._emptyFilterTemplate);
|
926
|
-
} }
|
927
|
-
function MultiSelect_ng_template_14_ng_template_8_li_3_Template(rf, ctx) { if (rf & 1) {
|
928
|
-
i0.ɵɵelementStart(0, "li", 62);
|
929
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_1_Template, 1, 1)(2, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template, 1, 1, "ng-container");
|
930
|
-
i0.ɵɵelementEnd();
|
931
|
-
} if (rf & 2) {
|
932
|
-
const scrollerOptions_r21 = i0.ɵɵnextContext().options;
|
933
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
934
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r21.itemSize + "px"));
|
935
|
-
i0.ɵɵadvance();
|
936
|
-
i0.ɵɵconditional(!ctx_r1.emptyFilterTemplate && !ctx_r1._emptyFilterTemplate && !ctx_r1.emptyTemplate && !ctx_r1._emptyTemplate ? 1 : 2);
|
937
|
-
} }
|
938
|
-
function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
939
|
-
i0.ɵɵtext(0);
|
940
|
-
} if (rf & 2) {
|
941
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
942
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.emptyMessageLabel, " ");
|
943
|
-
} }
|
944
|
-
function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
945
|
-
i0.ɵɵelementContainer(0);
|
946
|
-
} }
|
947
|
-
function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
948
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 32);
|
949
|
-
} if (rf & 2) {
|
950
|
-
const ctx_r1 = i0.ɵɵnextContext(4);
|
951
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyTemplate || ctx_r1._emptyTemplate);
|
952
|
-
} }
|
953
|
-
function MultiSelect_ng_template_14_ng_template_8_li_4_Template(rf, ctx) { if (rf & 1) {
|
954
|
-
i0.ɵɵelementStart(0, "li", 62);
|
955
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template, 1, 1)(2, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template, 1, 1, "ng-container");
|
956
|
-
i0.ɵɵelementEnd();
|
957
|
-
} if (rf & 2) {
|
958
|
-
const scrollerOptions_r21 = i0.ɵɵnextContext().options;
|
959
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
960
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r21.itemSize + "px"));
|
961
|
-
i0.ɵɵadvance();
|
962
|
-
i0.ɵɵconditional(!ctx_r1.emptyTemplate && !ctx_r1._emptyTemplate ? 1 : 2);
|
963
|
-
} }
|
964
|
-
function MultiSelect_ng_template_14_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
965
|
-
i0.ɵɵelementStart(0, "ul", 57, 15);
|
966
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template, 2, 2, "ng-template", 58)(3, MultiSelect_ng_template_14_ng_template_8_li_3_Template, 3, 4, "li", 59)(4, MultiSelect_ng_template_14_ng_template_8_li_4_Template, 3, 4, "li", 59);
|
967
|
-
i0.ɵɵelementEnd();
|
968
|
-
} if (rf & 2) {
|
969
|
-
const items_r23 = ctx.$implicit;
|
970
|
-
const scrollerOptions_r21 = ctx.options;
|
971
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
972
|
-
i0.ɵɵstyleMap(scrollerOptions_r21.contentStyle);
|
973
|
-
i0.ɵɵproperty("ngClass", scrollerOptions_r21.contentStyleClass);
|
974
|
-
i0.ɵɵattribute("aria-label", ctx_r1.listLabel);
|
975
|
-
i0.ɵɵadvance(2);
|
976
|
-
i0.ɵɵproperty("ngForOf", items_r23);
|
977
|
-
i0.ɵɵadvance();
|
978
|
-
i0.ɵɵproperty("ngIf", ctx_r1.hasFilter() && ctx_r1.isEmpty());
|
979
|
-
i0.ɵɵadvance();
|
980
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.hasFilter() && ctx_r1.isEmpty());
|
981
|
-
} }
|
982
|
-
function MultiSelect_ng_template_14_div_10_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
983
|
-
i0.ɵɵelementContainer(0);
|
984
|
-
} }
|
985
|
-
function MultiSelect_ng_template_14_div_10_Template(rf, ctx) { if (rf & 1) {
|
986
|
-
i0.ɵɵelementStart(0, "div");
|
987
|
-
i0.ɵɵprojection(1, 1);
|
988
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_10_ng_container_2_Template, 1, 0, "ng-container", 32);
|
989
|
-
i0.ɵɵelementEnd();
|
990
|
-
} if (rf & 2) {
|
991
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
992
|
-
i0.ɵɵadvance(2);
|
993
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
|
994
|
-
} }
|
995
|
-
function MultiSelect_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
996
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
997
|
-
i0.ɵɵelementStart(0, "div", 43)(1, "span", 44, 6);
|
998
|
-
i0.ɵɵlistener("focus", function MultiSelect_ng_template_14_Template_span_focus_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onFirstHiddenFocus($event)); });
|
999
|
-
i0.ɵɵelementEnd();
|
1000
|
-
i0.ɵɵtemplate(3, MultiSelect_ng_template_14_ng_container_3_Template, 1, 0, "ng-container", 32)(4, MultiSelect_ng_template_14_div_4_Template, 5, 2, "div", 45);
|
1001
|
-
i0.ɵɵelementStart(5, "div", 46);
|
1002
|
-
i0.ɵɵtemplate(6, MultiSelect_ng_template_14_p_scroller_6_Template, 5, 11, "p-scroller", 47)(7, MultiSelect_ng_template_14_ng_container_7_Template, 2, 6, "ng-container", 20)(8, MultiSelect_ng_template_14_ng_template_8_Template, 5, 7, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
1003
|
-
i0.ɵɵelementEnd();
|
1004
|
-
i0.ɵɵtemplate(10, MultiSelect_ng_template_14_div_10_Template, 3, 1, "div", 20);
|
1005
|
-
i0.ɵɵelementStart(11, "span", 44, 8);
|
1006
|
-
i0.ɵɵlistener("focus", function MultiSelect_ng_template_14_Template_span_focus_11_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onLastHiddenFocus($event)); });
|
1007
|
-
i0.ɵɵelementEnd()();
|
1008
|
-
} if (rf & 2) {
|
1009
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
1010
|
-
i0.ɵɵclassMap(ctx_r1.panelStyleClass);
|
1011
|
-
i0.ɵɵproperty("ngClass", "p-multiselect-overlay p-component")("ngStyle", ctx_r1.panelStyle);
|
1012
|
-
i0.ɵɵattribute("id", ctx_r1.id + "_list");
|
1013
|
-
i0.ɵɵadvance();
|
1014
|
-
i0.ɵɵattribute("tabindex", 0)("data-p-hidden-accessible", true)("data-p-hidden-focusable", true);
|
1015
|
-
i0.ɵɵadvance(2);
|
1016
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
|
1017
|
-
i0.ɵɵadvance();
|
1018
|
-
i0.ɵɵproperty("ngIf", ctx_r1.showHeader);
|
1019
|
-
i0.ɵɵadvance();
|
1020
|
-
i0.ɵɵstyleProp("max-height", ctx_r1.virtualScroll ? "auto" : ctx_r1.scrollHeight || "auto");
|
1021
|
-
i0.ɵɵadvance();
|
1022
|
-
i0.ɵɵproperty("ngIf", ctx_r1.virtualScroll);
|
1023
|
-
i0.ɵɵadvance();
|
1024
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.virtualScroll);
|
1025
|
-
i0.ɵɵadvance(3);
|
1026
|
-
i0.ɵɵproperty("ngIf", ctx_r1.footerFacet || ctx_r1.footerTemplate || ctx_r1._footerTemplate);
|
1027
|
-
i0.ɵɵadvance();
|
1028
|
-
i0.ɵɵattribute("tabindex", 0)("data-p-hidden-accessible", true)("data-p-hidden-focusable", true);
|
1029
|
-
} }
|
1030
395
|
const MULTISELECT_VALUE_ACCESSOR = {
|
1031
396
|
provide: NG_VALUE_ACCESSOR,
|
1032
397
|
useExisting: forwardRef(() => MultiSelect),
|
@@ -1064,35 +429,48 @@ class MultiSelectItem extends BaseComponent {
|
|
1064
429
|
selected: this.selected
|
1065
430
|
});
|
1066
431
|
}
|
1067
|
-
static ɵfac =
|
1068
|
-
static ɵcmp =
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
432
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
433
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: MultiSelectItem, isStandalone: true, selector: "p-multiSelectItem, p-multiselect-item", inputs: { id: "id", option: "option", selected: ["selected", "selected", booleanAttribute], label: "label", disabled: ["disabled", "disabled", booleanAttribute], itemSize: ["itemSize", "itemSize", numberAttribute], focused: ["focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", variant: "variant", template: "template", checkIconTemplate: "checkIconTemplate", itemCheckboxIconTemplate: "itemCheckboxIconTemplate" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, usesInheritance: true, ngImport: i0, template: `
|
434
|
+
<li
|
435
|
+
pRipple
|
436
|
+
role="option"
|
437
|
+
[ngStyle]="{ height: itemSize + 'px' }"
|
438
|
+
[ngClass]="{
|
439
|
+
'p-multiselect-option': true,
|
440
|
+
'p-disabled': disabled,
|
441
|
+
'p-focus': focused
|
442
|
+
}"
|
443
|
+
[id]="id"
|
444
|
+
[attr.aria-label]="label"
|
445
|
+
[attr.aria-setsize]="ariaSetSize"
|
446
|
+
[attr.aria-posinset]="ariaPosInset"
|
447
|
+
[attr.aria-selected]="selected"
|
448
|
+
[attr.data-p-focused]="focused"
|
449
|
+
[attr.data-p-highlight]="selected"
|
450
|
+
[attr.data-p-disabled]="disabled"
|
451
|
+
[attr.aria-checked]="selected"
|
452
|
+
(click)="onOptionClick($event)"
|
453
|
+
(mouseenter)="onOptionMouseEnter($event)"
|
454
|
+
>
|
455
|
+
<p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant" [ariaLabel]="label">
|
456
|
+
<ng-container *ngIf="itemCheckboxIconTemplate">
|
457
|
+
<ng-template #icon let-klass="class">
|
458
|
+
<ng-template *ngTemplateOutlet="itemCheckboxIconTemplate; context: { checked: selected, class: klass }"></ng-template>
|
459
|
+
</ng-template>
|
460
|
+
</ng-container>
|
461
|
+
</p-checkbox>
|
462
|
+
<span *ngIf="!template">{{ label ?? 'empty' }}</span>
|
463
|
+
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
464
|
+
</li>
|
465
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "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: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: SharedModule }], encapsulation: i0.ViewEncapsulation.None });
|
1088
466
|
}
|
1089
|
-
(
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectItem, decorators: [{
|
468
|
+
type: Component,
|
469
|
+
args: [{
|
470
|
+
selector: 'p-multiSelectItem, p-multiselect-item',
|
471
|
+
standalone: true,
|
472
|
+
imports: [CommonModule, Checkbox, FormsModule, Ripple, SharedModule],
|
473
|
+
template: `
|
1096
474
|
<li
|
1097
475
|
pRipple
|
1098
476
|
role="option"
|
@@ -1125,44 +503,43 @@ class MultiSelectItem extends BaseComponent {
|
|
1125
503
|
<ng-container *ngTemplateOutlet="template; context: { $implicit: option }"></ng-container>
|
1126
504
|
</li>
|
1127
505
|
`,
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelectItem, { className: "MultiSelectItem", filePath: "multiselect.ts", lineNumber: 115 }); })();
|
506
|
+
encapsulation: ViewEncapsulation.None
|
507
|
+
}]
|
508
|
+
}], propDecorators: { id: [{
|
509
|
+
type: Input
|
510
|
+
}], option: [{
|
511
|
+
type: Input
|
512
|
+
}], selected: [{
|
513
|
+
type: Input,
|
514
|
+
args: [{ transform: booleanAttribute }]
|
515
|
+
}], label: [{
|
516
|
+
type: Input
|
517
|
+
}], disabled: [{
|
518
|
+
type: Input,
|
519
|
+
args: [{ transform: booleanAttribute }]
|
520
|
+
}], itemSize: [{
|
521
|
+
type: Input,
|
522
|
+
args: [{ transform: numberAttribute }]
|
523
|
+
}], focused: [{
|
524
|
+
type: Input,
|
525
|
+
args: [{ transform: booleanAttribute }]
|
526
|
+
}], ariaPosInset: [{
|
527
|
+
type: Input
|
528
|
+
}], ariaSetSize: [{
|
529
|
+
type: Input
|
530
|
+
}], variant: [{
|
531
|
+
type: Input
|
532
|
+
}], template: [{
|
533
|
+
type: Input
|
534
|
+
}], checkIconTemplate: [{
|
535
|
+
type: Input
|
536
|
+
}], itemCheckboxIconTemplate: [{
|
537
|
+
type: Input
|
538
|
+
}], onClick: [{
|
539
|
+
type: Output
|
540
|
+
}], onMouseEnter: [{
|
541
|
+
type: Output
|
542
|
+
}] } });
|
1166
543
|
// @ts-ignore
|
1167
544
|
/**
|
1168
545
|
* MultiSelect is used to select multiple items from a collection.
|
@@ -1935,10 +1312,10 @@ class MultiSelect extends BaseComponent {
|
|
1935
1312
|
this.overlayService = overlayService;
|
1936
1313
|
effect(() => {
|
1937
1314
|
const modelValue = this.modelValue();
|
1938
|
-
const
|
1939
|
-
if (
|
1315
|
+
const allVisibleAndNonVisibleOptions = this.getAllVisibleAndNonVisibleOptions();
|
1316
|
+
if (allVisibleAndNonVisibleOptions && isNotEmpty(allVisibleAndNonVisibleOptions)) {
|
1940
1317
|
if (this.optionValue && this.optionLabel && modelValue) {
|
1941
|
-
this.selectedOptions =
|
1318
|
+
this.selectedOptions = allVisibleAndNonVisibleOptions.filter((option) => modelValue.includes(option[this.optionLabel]) || modelValue.includes(option[this.optionValue]));
|
1942
1319
|
}
|
1943
1320
|
else {
|
1944
1321
|
this.selectedOptions = modelValue;
|
@@ -2723,129 +2100,277 @@ class MultiSelect extends BaseComponent {
|
|
2723
2100
|
hasFilter() {
|
2724
2101
|
return this._filterValue() && this._filterValue().trim().length > 0;
|
2725
2102
|
}
|
2726
|
-
static ɵfac =
|
2727
|
-
static ɵcmp =
|
2728
|
-
|
2729
|
-
|
2730
|
-
|
2731
|
-
|
2732
|
-
|
2733
|
-
|
2734
|
-
|
2735
|
-
|
2736
|
-
|
2737
|
-
|
2738
|
-
|
2739
|
-
|
2740
|
-
|
2741
|
-
|
2742
|
-
|
2743
|
-
|
2744
|
-
|
2745
|
-
|
2746
|
-
|
2747
|
-
|
2748
|
-
|
2749
|
-
|
2750
|
-
|
2751
|
-
|
2752
|
-
|
2753
|
-
|
2754
|
-
|
2755
|
-
|
2756
|
-
|
2757
|
-
|
2758
|
-
|
2759
|
-
|
2760
|
-
|
2761
|
-
|
2762
|
-
|
2763
|
-
|
2764
|
-
|
2765
|
-
|
2766
|
-
|
2767
|
-
|
2768
|
-
|
2769
|
-
|
2770
|
-
|
2771
|
-
|
2772
|
-
|
2773
|
-
|
2774
|
-
|
2775
|
-
|
2776
|
-
|
2777
|
-
|
2778
|
-
|
2779
|
-
|
2780
|
-
|
2781
|
-
|
2782
|
-
|
2783
|
-
|
2784
|
-
|
2785
|
-
|
2786
|
-
|
2787
|
-
|
2788
|
-
|
2789
|
-
|
2790
|
-
|
2791
|
-
|
2792
|
-
|
2793
|
-
|
2794
|
-
|
2795
|
-
|
2796
|
-
|
2797
|
-
|
2798
|
-
|
2799
|
-
|
2800
|
-
|
2801
|
-
|
2802
|
-
|
2803
|
-
|
2804
|
-
|
2805
|
-
|
2806
|
-
|
2807
|
-
|
2808
|
-
|
2809
|
-
|
2810
|
-
|
2811
|
-
|
2812
|
-
|
2813
|
-
|
2814
|
-
|
2815
|
-
|
2816
|
-
|
2817
|
-
|
2818
|
-
|
2819
|
-
|
2820
|
-
|
2821
|
-
|
2822
|
-
|
2823
|
-
|
2824
|
-
|
2825
|
-
|
2826
|
-
|
2827
|
-
|
2828
|
-
|
2829
|
-
|
2830
|
-
|
2831
|
-
|
2832
|
-
|
2833
|
-
|
2834
|
-
|
2835
|
-
|
2836
|
-
|
2837
|
-
|
2838
|
-
|
2839
|
-
|
2840
|
-
|
2103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelect, deps: [{ token: i0.NgZone }, { token: i3.FilterService }, { token: i3.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
|
2104
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.7", type: MultiSelect, isStandalone: true, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: ["disabled", "disabled", booleanAttribute], fluid: ["fluid", "fluid", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], group: ["group", "group", booleanAttribute], filter: ["filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: ["overlayVisible", "overlayVisible", booleanAttribute], tabindex: ["tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: ["selectionLimit", "selectionLimit", numberAttribute], selectedItemsLabel: "selectedItemsLabel", showToggleAll: ["showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: ["resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", chipIcon: "chipIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: ["showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: ["lazy", "lazy", booleanAttribute], virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], loading: ["loading", "loading", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: ["autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", size: "size", showClear: ["showClear", "showClear", booleanAttribute], autofocus: ["autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: ["focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: ["selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: ["autoOptionFocus", "autoOptionFocus", booleanAttribute] }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "attr.id": "id", "style": "style", "class.p-variant-filled": "variant === \"filled\" || config.inputVariant() === \"filled\" || config.inputStyle() === \"filled\" ", "class": "this.hostClasses" } }, providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle], queries: [{ propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { 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: "selectedItemsTemplate", first: true, predicate: ["selecteditems"] }, { propertyName: "checkIconTemplate", first: true, predicate: ["checkicon"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "removeTokenIconTemplate", first: true, predicate: ["removetokenicon"] }, { propertyName: "chipIconTemplate", first: true, predicate: ["chipicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "itemCheckboxIconTemplate", first: true, predicate: ["itemcheckboxicon"] }, { propertyName: "headerCheckboxIconTemplate", first: true, predicate: ["headercheckboxicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "filterInputChild", first: true, predicate: ["filterInput"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerCheckbox"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
2105
|
+
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
2106
|
+
<input
|
2107
|
+
#focusInput
|
2108
|
+
[pTooltip]="tooltip"
|
2109
|
+
[tooltipPosition]="tooltipPosition"
|
2110
|
+
[positionStyle]="tooltipPositionStyle"
|
2111
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
2112
|
+
[attr.aria-disabled]="disabled"
|
2113
|
+
[attr.id]="inputId"
|
2114
|
+
role="combobox"
|
2115
|
+
[attr.aria-label]="ariaLabel"
|
2116
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
2117
|
+
[attr.aria-haspopup]="'listbox'"
|
2118
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
2119
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
2120
|
+
[attr.tabindex]="!disabled ? tabindex : -1"
|
2121
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
2122
|
+
(focus)="onInputFocus($event)"
|
2123
|
+
(blur)="onInputBlur($event)"
|
2124
|
+
(keydown)="onKeyDown($event)"
|
2125
|
+
[pAutoFocus]="autofocus"
|
2126
|
+
[attr.value]="label() || 'empty'"
|
2127
|
+
/>
|
2128
|
+
</div>
|
2129
|
+
<div
|
2130
|
+
class="p-multiselect-label-container"
|
2131
|
+
[pTooltip]="tooltip"
|
2132
|
+
(mouseleave)="labelContainerMouseLeave()"
|
2133
|
+
[tooltipDisabled]="_disableTooltip"
|
2134
|
+
[tooltipPosition]="tooltipPosition"
|
2135
|
+
[positionStyle]="tooltipPositionStyle"
|
2136
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
2137
|
+
>
|
2138
|
+
<div [ngClass]="labelClass">
|
2139
|
+
<ng-container *ngIf="!selectedItemsTemplate && !_selectedItemsTemplate">
|
2140
|
+
<ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
|
2141
|
+
<ng-container *ngIf="display === 'chip'">
|
2142
|
+
<div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-chip-item">
|
2143
|
+
<p-chip styleClass="p-multiselect-chip" [label]="getLabelByValue(item)" [removable]="true" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
|
2144
|
+
<ng-container *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate">
|
2145
|
+
<ng-template #removeicon>
|
2146
|
+
<ng-container *ngIf="!disabled">
|
2147
|
+
<span
|
2148
|
+
class="p-multiselect-chip-icon"
|
2149
|
+
*ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate"
|
2150
|
+
(click)="removeOption(item, $event)"
|
2151
|
+
[attr.data-pc-section]="'clearicon'"
|
2152
|
+
[attr.aria-hidden]="true"
|
2153
|
+
>
|
2154
|
+
<ng-container *ngTemplateOutlet="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate; context: { class: 'p-multiselect-chip-icon' }"></ng-container>
|
2155
|
+
</span>
|
2156
|
+
</ng-container>
|
2157
|
+
</ng-template>
|
2158
|
+
</ng-container>
|
2159
|
+
</p-chip>
|
2160
|
+
</div>
|
2161
|
+
<ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
|
2162
|
+
</ng-container>
|
2163
|
+
</ng-container>
|
2164
|
+
<ng-container *ngIf="selectedItemsTemplate || _selectedItemsTemplate">
|
2165
|
+
<ng-container *ngTemplateOutlet="selectedItemsTemplate || _selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
|
2166
|
+
<ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
|
2167
|
+
</ng-container>
|
2168
|
+
</div>
|
2169
|
+
</div>
|
2170
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
2171
|
+
<TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
|
2172
|
+
<span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
2173
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
|
2174
|
+
</span>
|
2175
|
+
</ng-container>
|
2176
|
+
<div class="p-multiselect-dropdown">
|
2177
|
+
<ng-container *ngIf="loading; else elseBlock">
|
2178
|
+
<ng-container *ngIf="loadingIconTemplate || _loadingIconTemplate">
|
2179
|
+
<ng-container *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-container>
|
2180
|
+
</ng-container>
|
2181
|
+
<ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
|
2182
|
+
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
2183
|
+
<span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
2184
|
+
</ng-container>
|
2185
|
+
</ng-container>
|
2186
|
+
<ng-template #elseBlock>
|
2187
|
+
<ng-container *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate">
|
2188
|
+
<span *ngIf="dropdownIcon" class="p-multiselect-dropdown-icon" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
|
2189
|
+
<ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-multiselect-dropdown-icon'" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
|
2190
|
+
</ng-container>
|
2191
|
+
<span *ngIf="dropdownIconTemplate || _dropdownIconTemplate" class="p-multiselect-dropdown-icon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
|
2192
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
|
2193
|
+
</span>
|
2194
|
+
</ng-template>
|
2195
|
+
</div>
|
2196
|
+
<p-overlay
|
2197
|
+
#overlay
|
2198
|
+
[(visible)]="overlayVisible"
|
2199
|
+
[options]="overlayOptions"
|
2200
|
+
[target]="'@parent'"
|
2201
|
+
[appendTo]="appendTo"
|
2202
|
+
[autoZIndex]="autoZIndex"
|
2203
|
+
[baseZIndex]="baseZIndex"
|
2204
|
+
[showTransitionOptions]="showTransitionOptions"
|
2205
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
2206
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
2207
|
+
(onHide)="hide()"
|
2208
|
+
>
|
2209
|
+
<ng-template #content>
|
2210
|
+
<div [attr.id]="id + '_list'" [ngClass]="'p-multiselect-overlay p-component'" [ngStyle]="panelStyle" [class]="panelStyleClass">
|
2211
|
+
<span
|
2212
|
+
#firstHiddenFocusableEl
|
2213
|
+
role="presentation"
|
2214
|
+
class="p-hidden-accessible p-hidden-focusable"
|
2215
|
+
[attr.tabindex]="0"
|
2216
|
+
(focus)="onFirstHiddenFocus($event)"
|
2217
|
+
[attr.data-p-hidden-accessible]="true"
|
2218
|
+
[attr.data-p-hidden-focusable]="true"
|
2219
|
+
>
|
2220
|
+
</span>
|
2221
|
+
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
|
2222
|
+
<div class="p-multiselect-header" *ngIf="showHeader">
|
2223
|
+
<ng-content select="p-header"></ng-content>
|
2224
|
+
<ng-container *ngIf="filterTemplate || _filterTemplate; else builtInFilterElement">
|
2225
|
+
<ng-container *ngTemplateOutlet="filterTemplate || _filterTemplate; context: { options: filterOptions }"></ng-container>
|
2226
|
+
</ng-container>
|
2227
|
+
<ng-template #builtInFilterElement>
|
2228
|
+
<p-checkbox [ngModel]="allSelected()" [ariaLabel]="toggleAllAriaLabel" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
|
2229
|
+
<ng-template #checkboxicon let-klass="class">
|
2230
|
+
<CheckIcon *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [styleClass]="klass" [attr.data-pc-section]="'icon'" />
|
2231
|
+
<ng-template
|
2232
|
+
*ngTemplateOutlet="
|
2233
|
+
headerCheckboxIconTemplate || _headerCheckboxIconTemplate;
|
2234
|
+
context: {
|
2235
|
+
checked: allSelected(),
|
2236
|
+
partialSelected: partialSelected(),
|
2237
|
+
class: klass
|
2238
|
+
}
|
2239
|
+
"
|
2240
|
+
></ng-template>
|
2241
|
+
</ng-template>
|
2242
|
+
</p-checkbox>
|
2243
|
+
|
2244
|
+
<div class="p-multiselect-filter-container" *ngIf="filter">
|
2245
|
+
<p-iconfield>
|
2246
|
+
<input
|
2247
|
+
#filterInput
|
2248
|
+
pInputText
|
2249
|
+
[variant]="variant"
|
2250
|
+
type="text"
|
2251
|
+
[attr.autocomplete]="autocomplete"
|
2252
|
+
role="searchbox"
|
2253
|
+
[attr.aria-owns]="id + '_list'"
|
2254
|
+
[attr.aria-activedescendant]="focusedOptionId"
|
2255
|
+
[value]="_filterValue() || ''"
|
2256
|
+
(input)="onFilterInputChange($event)"
|
2257
|
+
(keydown)="onFilterKeyDown($event)"
|
2258
|
+
(click)="onInputClick($event)"
|
2259
|
+
(blur)="onFilterBlur($event)"
|
2260
|
+
class="p-multiselect-filter"
|
2261
|
+
[disabled]="disabled"
|
2262
|
+
[attr.placeholder]="filterPlaceHolder"
|
2263
|
+
[attr.aria-label]="ariaFilterLabel"
|
2264
|
+
/>
|
2265
|
+
<p-inputicon>
|
2266
|
+
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate && !_filterIconTemplate" />
|
2267
|
+
<span *ngIf="filterIconTemplate || _filterIconTemplate" class="p-multiselect-filter-icon">
|
2268
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
|
2269
|
+
</span>
|
2270
|
+
</p-inputicon>
|
2271
|
+
</p-iconfield>
|
2272
|
+
</div>
|
2273
|
+
</ng-template>
|
2274
|
+
</div>
|
2275
|
+
<div class="p-multiselect-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
|
2276
|
+
<p-scroller
|
2277
|
+
*ngIf="virtualScroll"
|
2278
|
+
#scroller
|
2279
|
+
[items]="visibleOptions()"
|
2280
|
+
[style]="{ height: scrollHeight }"
|
2281
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
2282
|
+
[autoSize]="true"
|
2283
|
+
[tabindex]="-1"
|
2284
|
+
[lazy]="lazy"
|
2285
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
2286
|
+
[options]="virtualScrollOptions"
|
2287
|
+
>
|
2288
|
+
<ng-template #content let-items let-scrollerOptions="options">
|
2289
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
2290
|
+
</ng-template>
|
2291
|
+
<ng-container *ngIf="loaderTemplate || _loaderTemplate">
|
2292
|
+
<ng-template #loader let-scrollerOptions="options">
|
2293
|
+
<ng-container *ngTemplateOutlet="loaderTemplate || _loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
2294
|
+
</ng-template>
|
2295
|
+
</ng-container>
|
2296
|
+
</p-scroller>
|
2297
|
+
<ng-container *ngIf="!virtualScroll">
|
2298
|
+
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"></ng-container>
|
2299
|
+
</ng-container>
|
2300
|
+
|
2301
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
2302
|
+
<ul #items class="p-multiselect-list" [ngClass]="scrollerOptions.contentStyleClass" [style]="scrollerOptions.contentStyle" role="listbox" aria-multiselectable="true" [attr.aria-label]="listLabel">
|
2303
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
2304
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
2305
|
+
<li [attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)" class="p-multiselect-option-group" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
2306
|
+
<span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
2307
|
+
<ng-container *ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"></ng-container>
|
2308
|
+
</li>
|
2309
|
+
</ng-container>
|
2310
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
2311
|
+
<p-multiselect-item
|
2312
|
+
[id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
2313
|
+
[option]="option"
|
2314
|
+
[selected]="isSelected(option)"
|
2315
|
+
[label]="getOptionLabel(option)"
|
2316
|
+
[disabled]="isOptionDisabled(option)"
|
2317
|
+
[template]="itemTemplate || _itemTemplate"
|
2318
|
+
[checkIconTemplate]="checkIconTemplate || _checkIconTemplate"
|
2319
|
+
[itemCheckboxIconTemplate]="itemCheckboxIconTemplate || _itemCheckboxIconTemplate"
|
2320
|
+
[itemSize]="scrollerOptions.itemSize"
|
2321
|
+
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
2322
|
+
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
2323
|
+
[ariaSetSize]="ariaSetSize"
|
2324
|
+
[variant]="variant"
|
2325
|
+
(onClick)="onOptionSelect($event, false, getOptionIndex(i, scrollerOptions))"
|
2326
|
+
(onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
2327
|
+
></p-multiselect-item>
|
2328
|
+
</ng-container>
|
2329
|
+
</ng-template>
|
2330
|
+
|
2331
|
+
<li *ngIf="hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
2332
|
+
@if (!emptyFilterTemplate && !_emptyFilterTemplate && !emptyTemplate && !_emptyTemplate) {
|
2333
|
+
{{ emptyFilterMessageLabel }}
|
2334
|
+
} @else {
|
2335
|
+
<ng-container *ngTemplateOutlet="emptyFilterTemplate || _emptyFilterTemplate || emptyTemplate || _emptyFilterTemplate"></ng-container>
|
2336
|
+
}
|
2337
|
+
</li>
|
2338
|
+
<li *ngIf="!hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
2339
|
+
@if (!emptyTemplate && !_emptyTemplate) {
|
2340
|
+
{{ emptyMessageLabel }}
|
2341
|
+
} @else {
|
2342
|
+
<ng-container *ngTemplateOutlet="emptyTemplate || _emptyTemplate"></ng-container>
|
2343
|
+
}
|
2344
|
+
</li>
|
2345
|
+
</ul>
|
2346
|
+
</ng-template>
|
2347
|
+
</div>
|
2348
|
+
<div *ngIf="footerFacet || footerTemplate || _footerTemplate">
|
2349
|
+
<ng-content select="p-footer"></ng-content>
|
2350
|
+
<ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
|
2351
|
+
</div>
|
2352
|
+
|
2353
|
+
<span
|
2354
|
+
#lastHiddenFocusableEl
|
2355
|
+
role="presentation"
|
2356
|
+
class="p-hidden-accessible p-hidden-focusable"
|
2357
|
+
[attr.tabindex]="0"
|
2358
|
+
(focus)="onLastHiddenFocus($event)"
|
2359
|
+
[attr.data-p-hidden-accessible]="true"
|
2360
|
+
[attr.data-p-hidden-focusable]="true"
|
2361
|
+
></span>
|
2362
|
+
</div>
|
2363
|
+
</ng-template>
|
2364
|
+
</p-overlay>
|
2365
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: MultiSelectItem, selector: "p-multiSelectItem, p-multiselect-item", inputs: ["id", "option", "selected", "label", "disabled", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant", "template", "checkIconTemplate", "itemCheckboxIconTemplate"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "p-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "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: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["autofocus", "pAutoFocus"] }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }, { kind: "component", type: SearchIcon, selector: "SearchIcon" }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "style", "styleClass", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { 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: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
2841
2366
|
}
|
2842
|
-
(
|
2843
|
-
|
2844
|
-
|
2845
|
-
|
2846
|
-
|
2847
|
-
|
2848
|
-
|
2367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelect, decorators: [{
|
2368
|
+
type: Component,
|
2369
|
+
args: [{
|
2370
|
+
selector: 'p-multiSelect, p-multiselect, p-multi-select',
|
2371
|
+
standalone: true,
|
2372
|
+
imports: [CommonModule, MultiSelectItem, Overlay, SharedModule, Tooltip, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule],
|
2373
|
+
template: `
|
2849
2374
|
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
2850
2375
|
<input
|
2851
2376
|
#focusInput
|
@@ -3107,308 +2632,306 @@ class MultiSelect extends BaseComponent {
|
|
3107
2632
|
</ng-template>
|
3108
2633
|
</p-overlay>
|
3109
2634
|
`,
|
3110
|
-
|
3111
|
-
|
3112
|
-
|
3113
|
-
|
3114
|
-
|
3115
|
-
|
3116
|
-
|
3117
|
-
|
3118
|
-
|
3119
|
-
|
3120
|
-
|
3121
|
-
|
3122
|
-
|
3123
|
-
|
3124
|
-
|
3125
|
-
|
3126
|
-
|
3127
|
-
|
3128
|
-
|
3129
|
-
|
3130
|
-
|
3131
|
-
|
3132
|
-
|
3133
|
-
|
3134
|
-
|
3135
|
-
|
3136
|
-
|
3137
|
-
|
3138
|
-
|
3139
|
-
|
3140
|
-
|
3141
|
-
|
3142
|
-
|
3143
|
-
|
3144
|
-
|
3145
|
-
|
3146
|
-
|
3147
|
-
|
3148
|
-
|
3149
|
-
|
3150
|
-
|
3151
|
-
|
3152
|
-
|
3153
|
-
|
3154
|
-
|
3155
|
-
|
3156
|
-
|
3157
|
-
|
3158
|
-
|
3159
|
-
|
3160
|
-
|
3161
|
-
|
3162
|
-
|
3163
|
-
|
3164
|
-
|
3165
|
-
|
3166
|
-
|
3167
|
-
|
3168
|
-
|
3169
|
-
|
3170
|
-
|
3171
|
-
|
3172
|
-
|
3173
|
-
|
3174
|
-
|
3175
|
-
|
3176
|
-
|
3177
|
-
|
3178
|
-
|
3179
|
-
|
3180
|
-
|
3181
|
-
|
3182
|
-
|
3183
|
-
|
3184
|
-
|
3185
|
-
|
3186
|
-
|
3187
|
-
|
3188
|
-
|
3189
|
-
|
3190
|
-
|
3191
|
-
|
3192
|
-
|
3193
|
-
|
3194
|
-
|
3195
|
-
|
3196
|
-
|
3197
|
-
|
3198
|
-
|
3199
|
-
|
3200
|
-
|
3201
|
-
|
3202
|
-
|
3203
|
-
|
3204
|
-
|
3205
|
-
|
3206
|
-
|
3207
|
-
|
3208
|
-
|
3209
|
-
|
3210
|
-
|
3211
|
-
|
3212
|
-
|
3213
|
-
|
3214
|
-
|
3215
|
-
|
3216
|
-
|
3217
|
-
|
3218
|
-
|
3219
|
-
|
3220
|
-
|
3221
|
-
|
3222
|
-
|
3223
|
-
|
3224
|
-
|
3225
|
-
|
3226
|
-
|
3227
|
-
|
3228
|
-
|
3229
|
-
|
3230
|
-
|
3231
|
-
|
3232
|
-
|
3233
|
-
|
3234
|
-
|
3235
|
-
|
3236
|
-
|
3237
|
-
|
3238
|
-
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3242
|
-
|
3243
|
-
|
3244
|
-
|
3245
|
-
|
3246
|
-
|
3247
|
-
|
3248
|
-
|
3249
|
-
|
3250
|
-
|
3251
|
-
|
3252
|
-
|
3253
|
-
|
3254
|
-
|
3255
|
-
|
3256
|
-
|
3257
|
-
|
3258
|
-
|
3259
|
-
|
3260
|
-
|
3261
|
-
|
3262
|
-
|
3263
|
-
|
3264
|
-
|
3265
|
-
|
3266
|
-
|
3267
|
-
|
3268
|
-
|
3269
|
-
|
3270
|
-
|
3271
|
-
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3277
|
-
|
3278
|
-
|
3279
|
-
|
3280
|
-
|
3281
|
-
|
3282
|
-
|
3283
|
-
|
3284
|
-
|
3285
|
-
|
3286
|
-
|
3287
|
-
|
3288
|
-
|
3289
|
-
|
3290
|
-
|
3291
|
-
|
3292
|
-
|
3293
|
-
|
3294
|
-
|
3295
|
-
|
3296
|
-
|
3297
|
-
|
3298
|
-
|
3299
|
-
|
3300
|
-
|
3301
|
-
|
3302
|
-
|
3303
|
-
|
3304
|
-
|
3305
|
-
|
3306
|
-
|
3307
|
-
|
3308
|
-
|
3309
|
-
|
3310
|
-
|
3311
|
-
|
3312
|
-
|
3313
|
-
|
3314
|
-
|
3315
|
-
|
3316
|
-
|
3317
|
-
|
3318
|
-
|
3319
|
-
|
3320
|
-
|
3321
|
-
|
3322
|
-
|
3323
|
-
|
3324
|
-
|
3325
|
-
|
3326
|
-
|
3327
|
-
|
3328
|
-
|
3329
|
-
|
3330
|
-
|
3331
|
-
|
3332
|
-
|
3333
|
-
|
3334
|
-
|
3335
|
-
|
3336
|
-
|
3337
|
-
|
3338
|
-
|
3339
|
-
|
3340
|
-
|
3341
|
-
|
3342
|
-
|
3343
|
-
|
3344
|
-
|
3345
|
-
|
3346
|
-
|
3347
|
-
|
3348
|
-
|
3349
|
-
|
3350
|
-
|
3351
|
-
|
3352
|
-
|
3353
|
-
|
3354
|
-
|
3355
|
-
|
3356
|
-
|
3357
|
-
|
3358
|
-
|
3359
|
-
|
3360
|
-
|
3361
|
-
|
3362
|
-
|
3363
|
-
|
3364
|
-
|
3365
|
-
|
3366
|
-
|
3367
|
-
|
3368
|
-
|
3369
|
-
|
3370
|
-
|
3371
|
-
|
3372
|
-
|
3373
|
-
|
3374
|
-
|
3375
|
-
|
3376
|
-
|
3377
|
-
|
3378
|
-
|
3379
|
-
|
3380
|
-
|
3381
|
-
|
3382
|
-
|
3383
|
-
|
3384
|
-
|
3385
|
-
|
3386
|
-
|
3387
|
-
|
3388
|
-
|
3389
|
-
|
3390
|
-
|
3391
|
-
|
3392
|
-
|
3393
|
-
|
3394
|
-
|
3395
|
-
|
3396
|
-
|
3397
|
-
|
3398
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelect, { className: "MultiSelect", filePath: "multiselect.ts", lineNumber: 445 }); })();
|
2635
|
+
providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle],
|
2636
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2637
|
+
encapsulation: ViewEncapsulation.None,
|
2638
|
+
host: {
|
2639
|
+
'[attr.id]': 'id',
|
2640
|
+
'[style]': 'style',
|
2641
|
+
'(click)': 'onContainerClick($event)',
|
2642
|
+
'[class.p-variant-filled]': 'variant === "filled" || config.inputVariant() === "filled" || config.inputStyle() === "filled" '
|
2643
|
+
}
|
2644
|
+
}]
|
2645
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i3.FilterService }, { type: i3.OverlayService }], propDecorators: { id: [{
|
2646
|
+
type: Input
|
2647
|
+
}], ariaLabel: [{
|
2648
|
+
type: Input
|
2649
|
+
}], style: [{
|
2650
|
+
type: Input
|
2651
|
+
}], styleClass: [{
|
2652
|
+
type: Input
|
2653
|
+
}], panelStyle: [{
|
2654
|
+
type: Input
|
2655
|
+
}], panelStyleClass: [{
|
2656
|
+
type: Input
|
2657
|
+
}], inputId: [{
|
2658
|
+
type: Input
|
2659
|
+
}], disabled: [{
|
2660
|
+
type: Input,
|
2661
|
+
args: [{ transform: booleanAttribute }]
|
2662
|
+
}], fluid: [{
|
2663
|
+
type: Input,
|
2664
|
+
args: [{ transform: booleanAttribute }]
|
2665
|
+
}], readonly: [{
|
2666
|
+
type: Input,
|
2667
|
+
args: [{ transform: booleanAttribute }]
|
2668
|
+
}], group: [{
|
2669
|
+
type: Input,
|
2670
|
+
args: [{ transform: booleanAttribute }]
|
2671
|
+
}], filter: [{
|
2672
|
+
type: Input,
|
2673
|
+
args: [{ transform: booleanAttribute }]
|
2674
|
+
}], filterPlaceHolder: [{
|
2675
|
+
type: Input
|
2676
|
+
}], filterLocale: [{
|
2677
|
+
type: Input
|
2678
|
+
}], overlayVisible: [{
|
2679
|
+
type: Input,
|
2680
|
+
args: [{ transform: booleanAttribute }]
|
2681
|
+
}], tabindex: [{
|
2682
|
+
type: Input,
|
2683
|
+
args: [{ transform: numberAttribute }]
|
2684
|
+
}], variant: [{
|
2685
|
+
type: Input
|
2686
|
+
}], appendTo: [{
|
2687
|
+
type: Input
|
2688
|
+
}], dataKey: [{
|
2689
|
+
type: Input
|
2690
|
+
}], name: [{
|
2691
|
+
type: Input
|
2692
|
+
}], ariaLabelledBy: [{
|
2693
|
+
type: Input
|
2694
|
+
}], displaySelectedLabel: [{
|
2695
|
+
type: Input
|
2696
|
+
}], maxSelectedLabels: [{
|
2697
|
+
type: Input
|
2698
|
+
}], selectionLimit: [{
|
2699
|
+
type: Input,
|
2700
|
+
args: [{ transform: numberAttribute }]
|
2701
|
+
}], selectedItemsLabel: [{
|
2702
|
+
type: Input
|
2703
|
+
}], showToggleAll: [{
|
2704
|
+
type: Input,
|
2705
|
+
args: [{ transform: booleanAttribute }]
|
2706
|
+
}], emptyFilterMessage: [{
|
2707
|
+
type: Input
|
2708
|
+
}], emptyMessage: [{
|
2709
|
+
type: Input
|
2710
|
+
}], resetFilterOnHide: [{
|
2711
|
+
type: Input,
|
2712
|
+
args: [{ transform: booleanAttribute }]
|
2713
|
+
}], dropdownIcon: [{
|
2714
|
+
type: Input
|
2715
|
+
}], chipIcon: [{
|
2716
|
+
type: Input
|
2717
|
+
}], optionLabel: [{
|
2718
|
+
type: Input
|
2719
|
+
}], optionValue: [{
|
2720
|
+
type: Input
|
2721
|
+
}], optionDisabled: [{
|
2722
|
+
type: Input
|
2723
|
+
}], optionGroupLabel: [{
|
2724
|
+
type: Input
|
2725
|
+
}], optionGroupChildren: [{
|
2726
|
+
type: Input
|
2727
|
+
}], showHeader: [{
|
2728
|
+
type: Input,
|
2729
|
+
args: [{ transform: booleanAttribute }]
|
2730
|
+
}], filterBy: [{
|
2731
|
+
type: Input
|
2732
|
+
}], scrollHeight: [{
|
2733
|
+
type: Input
|
2734
|
+
}], lazy: [{
|
2735
|
+
type: Input,
|
2736
|
+
args: [{ transform: booleanAttribute }]
|
2737
|
+
}], virtualScroll: [{
|
2738
|
+
type: Input,
|
2739
|
+
args: [{ transform: booleanAttribute }]
|
2740
|
+
}], loading: [{
|
2741
|
+
type: Input,
|
2742
|
+
args: [{ transform: booleanAttribute }]
|
2743
|
+
}], virtualScrollItemSize: [{
|
2744
|
+
type: Input,
|
2745
|
+
args: [{ transform: numberAttribute }]
|
2746
|
+
}], loadingIcon: [{
|
2747
|
+
type: Input
|
2748
|
+
}], virtualScrollOptions: [{
|
2749
|
+
type: Input
|
2750
|
+
}], overlayOptions: [{
|
2751
|
+
type: Input
|
2752
|
+
}], ariaFilterLabel: [{
|
2753
|
+
type: Input
|
2754
|
+
}], filterMatchMode: [{
|
2755
|
+
type: Input
|
2756
|
+
}], tooltip: [{
|
2757
|
+
type: Input
|
2758
|
+
}], tooltipPosition: [{
|
2759
|
+
type: Input
|
2760
|
+
}], tooltipPositionStyle: [{
|
2761
|
+
type: Input
|
2762
|
+
}], tooltipStyleClass: [{
|
2763
|
+
type: Input
|
2764
|
+
}], autofocusFilter: [{
|
2765
|
+
type: Input,
|
2766
|
+
args: [{ transform: booleanAttribute }]
|
2767
|
+
}], display: [{
|
2768
|
+
type: Input
|
2769
|
+
}], autocomplete: [{
|
2770
|
+
type: Input
|
2771
|
+
}], size: [{
|
2772
|
+
type: Input
|
2773
|
+
}], showClear: [{
|
2774
|
+
type: Input,
|
2775
|
+
args: [{ transform: booleanAttribute }]
|
2776
|
+
}], autofocus: [{
|
2777
|
+
type: Input,
|
2778
|
+
args: [{ transform: booleanAttribute }]
|
2779
|
+
}], autoZIndex: [{
|
2780
|
+
type: Input
|
2781
|
+
}], baseZIndex: [{
|
2782
|
+
type: Input
|
2783
|
+
}], showTransitionOptions: [{
|
2784
|
+
type: Input
|
2785
|
+
}], hideTransitionOptions: [{
|
2786
|
+
type: Input
|
2787
|
+
}], defaultLabel: [{
|
2788
|
+
type: Input
|
2789
|
+
}], placeholder: [{
|
2790
|
+
type: Input
|
2791
|
+
}], options: [{
|
2792
|
+
type: Input
|
2793
|
+
}], filterValue: [{
|
2794
|
+
type: Input
|
2795
|
+
}], itemSize: [{
|
2796
|
+
type: Input
|
2797
|
+
}], selectAll: [{
|
2798
|
+
type: Input
|
2799
|
+
}], focusOnHover: [{
|
2800
|
+
type: Input,
|
2801
|
+
args: [{ transform: booleanAttribute }]
|
2802
|
+
}], filterFields: [{
|
2803
|
+
type: Input
|
2804
|
+
}], selectOnFocus: [{
|
2805
|
+
type: Input,
|
2806
|
+
args: [{ transform: booleanAttribute }]
|
2807
|
+
}], autoOptionFocus: [{
|
2808
|
+
type: Input,
|
2809
|
+
args: [{ transform: booleanAttribute }]
|
2810
|
+
}], onChange: [{
|
2811
|
+
type: Output
|
2812
|
+
}], onFilter: [{
|
2813
|
+
type: Output
|
2814
|
+
}], onFocus: [{
|
2815
|
+
type: Output
|
2816
|
+
}], onBlur: [{
|
2817
|
+
type: Output
|
2818
|
+
}], onClick: [{
|
2819
|
+
type: Output
|
2820
|
+
}], onClear: [{
|
2821
|
+
type: Output
|
2822
|
+
}], onPanelShow: [{
|
2823
|
+
type: Output
|
2824
|
+
}], onPanelHide: [{
|
2825
|
+
type: Output
|
2826
|
+
}], onLazyLoad: [{
|
2827
|
+
type: Output
|
2828
|
+
}], onRemove: [{
|
2829
|
+
type: Output
|
2830
|
+
}], onSelectAllChange: [{
|
2831
|
+
type: Output
|
2832
|
+
}], overlayViewChild: [{
|
2833
|
+
type: ViewChild,
|
2834
|
+
args: ['overlay']
|
2835
|
+
}], filterInputChild: [{
|
2836
|
+
type: ViewChild,
|
2837
|
+
args: ['filterInput']
|
2838
|
+
}], focusInputViewChild: [{
|
2839
|
+
type: ViewChild,
|
2840
|
+
args: ['focusInput']
|
2841
|
+
}], itemsViewChild: [{
|
2842
|
+
type: ViewChild,
|
2843
|
+
args: ['items']
|
2844
|
+
}], scroller: [{
|
2845
|
+
type: ViewChild,
|
2846
|
+
args: ['scroller']
|
2847
|
+
}], lastHiddenFocusableElementOnOverlay: [{
|
2848
|
+
type: ViewChild,
|
2849
|
+
args: ['lastHiddenFocusableEl']
|
2850
|
+
}], firstHiddenFocusableElementOnOverlay: [{
|
2851
|
+
type: ViewChild,
|
2852
|
+
args: ['firstHiddenFocusableEl']
|
2853
|
+
}], headerCheckboxViewChild: [{
|
2854
|
+
type: ViewChild,
|
2855
|
+
args: ['headerCheckbox']
|
2856
|
+
}], footerFacet: [{
|
2857
|
+
type: ContentChild,
|
2858
|
+
args: [Footer]
|
2859
|
+
}], headerFacet: [{
|
2860
|
+
type: ContentChild,
|
2861
|
+
args: [Header]
|
2862
|
+
}], itemTemplate: [{
|
2863
|
+
type: ContentChild,
|
2864
|
+
args: ['item', { descendants: false }]
|
2865
|
+
}], groupTemplate: [{
|
2866
|
+
type: ContentChild,
|
2867
|
+
args: ['group', { descendants: false }]
|
2868
|
+
}], loaderTemplate: [{
|
2869
|
+
type: ContentChild,
|
2870
|
+
args: ['loader', { descendants: false }]
|
2871
|
+
}], headerTemplate: [{
|
2872
|
+
type: ContentChild,
|
2873
|
+
args: ['header', { descendants: false }]
|
2874
|
+
}], filterTemplate: [{
|
2875
|
+
type: ContentChild,
|
2876
|
+
args: ['filter', { descendants: false }]
|
2877
|
+
}], footerTemplate: [{
|
2878
|
+
type: ContentChild,
|
2879
|
+
args: ['footer', { descendants: false }]
|
2880
|
+
}], emptyFilterTemplate: [{
|
2881
|
+
type: ContentChild,
|
2882
|
+
args: ['emptyfilter', { descendants: false }]
|
2883
|
+
}], emptyTemplate: [{
|
2884
|
+
type: ContentChild,
|
2885
|
+
args: ['empty', { descendants: false }]
|
2886
|
+
}], selectedItemsTemplate: [{
|
2887
|
+
type: ContentChild,
|
2888
|
+
args: ['selecteditems', { descendants: false }]
|
2889
|
+
}], checkIconTemplate: [{
|
2890
|
+
type: ContentChild,
|
2891
|
+
args: ['checkicon', { descendants: false }]
|
2892
|
+
}], loadingIconTemplate: [{
|
2893
|
+
type: ContentChild,
|
2894
|
+
args: ['loadingicon', { descendants: false }]
|
2895
|
+
}], filterIconTemplate: [{
|
2896
|
+
type: ContentChild,
|
2897
|
+
args: ['filtericon', { descendants: false }]
|
2898
|
+
}], removeTokenIconTemplate: [{
|
2899
|
+
type: ContentChild,
|
2900
|
+
args: ['removetokenicon', { descendants: false }]
|
2901
|
+
}], chipIconTemplate: [{
|
2902
|
+
type: ContentChild,
|
2903
|
+
args: ['chipicon', { descendants: false }]
|
2904
|
+
}], clearIconTemplate: [{
|
2905
|
+
type: ContentChild,
|
2906
|
+
args: ['clearicon', { descendants: false }]
|
2907
|
+
}], dropdownIconTemplate: [{
|
2908
|
+
type: ContentChild,
|
2909
|
+
args: ['dropdownicon', { descendants: false }]
|
2910
|
+
}], itemCheckboxIconTemplate: [{
|
2911
|
+
type: ContentChild,
|
2912
|
+
args: ['itemcheckboxicon', { descendants: false }]
|
2913
|
+
}], headerCheckboxIconTemplate: [{
|
2914
|
+
type: ContentChild,
|
2915
|
+
args: ['headercheckboxicon', { descendants: false }]
|
2916
|
+
}], templates: [{
|
2917
|
+
type: ContentChildren,
|
2918
|
+
args: [PrimeTemplate]
|
2919
|
+
}], hostClasses: [{
|
2920
|
+
type: HostBinding,
|
2921
|
+
args: ['class']
|
2922
|
+
}] } });
|
3399
2923
|
class MultiSelectModule {
|
3400
|
-
static ɵfac =
|
3401
|
-
static ɵmod =
|
3402
|
-
static ɵinj =
|
2924
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
2925
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule], exports: [MultiSelect, SharedModule] });
|
2926
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, imports: [MultiSelect, SharedModule, SharedModule] });
|
3403
2927
|
}
|
3404
|
-
(
|
3405
|
-
|
3406
|
-
|
3407
|
-
|
3408
|
-
|
3409
|
-
|
3410
|
-
|
3411
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MultiSelectModule, { imports: [MultiSelect, SharedModule], exports: [MultiSelect, SharedModule] }); })();
|
2928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: MultiSelectModule, decorators: [{
|
2929
|
+
type: NgModule,
|
2930
|
+
args: [{
|
2931
|
+
imports: [MultiSelect, SharedModule],
|
2932
|
+
exports: [MultiSelect, SharedModule]
|
2933
|
+
}]
|
2934
|
+
}] });
|
3412
2935
|
|
3413
2936
|
/**
|
3414
2937
|
* Generated bundle index. Do not edit.
|