primeng 18.0.0-beta.1 → 18.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/accordion/accordion.d.ts +148 -23
- package/accordion/public_api.d.ts +1 -1
- package/accordion/style/accordionstyle.d.ts +37 -0
- package/api/translation.d.ts +2 -0
- package/autocomplete/autocomplete.d.ts +2 -3
- package/autocomplete/public_api.d.ts +1 -0
- package/autocomplete/style/autocompletestyle.d.ts +69 -0
- package/avatar/public_api.d.ts +1 -0
- package/avatar/style/avatarstyle.d.ts +25 -0
- package/avatargroup/avatargroup.d.ts +1 -1
- package/avatargroup/public_api.d.ts +1 -0
- package/avatargroup/style/avatargroupstyle.d.ts +14 -0
- package/badge/badge.d.ts +20 -26
- package/badge/public_api.d.ts +1 -0
- package/badge/style/badgestyle.d.ts +17 -0
- package/base/style/basestyle.d.ts +8 -0
- package/blockui/blockui.d.ts +1 -1
- package/blockui/public_api.d.ts +1 -0
- package/blockui/style/blockuistyle.d.ts +17 -0
- package/breadcrumb/breadcrumb.d.ts +0 -1
- package/breadcrumb/public_api.d.ts +1 -0
- package/breadcrumb/style/breadcrumbstyle.d.ts +45 -0
- package/button/button.d.ts +0 -1
- package/button/public_api.d.ts +1 -0
- package/button/style/buttonstyle.d.ts +29 -0
- package/buttongroup/buttongroup.d.ts +1 -1
- package/buttongroup/public_api.d.ts +1 -0
- package/buttongroup/style/buttongroupstyle.d.ts +17 -0
- package/calendar/public_api.d.ts +1 -0
- package/card/public_api.d.ts +1 -0
- package/card/style/cardstyle.d.ts +45 -0
- package/carousel/public_api.d.ts +1 -0
- package/carousel/style/carouselstyle.d.ts +69 -0
- package/cascadeselect/cascadeselect.d.ts +2 -2
- package/cascadeselect/public_api.d.ts +1 -0
- package/cascadeselect/style/cascadeselectstyle.d.ts +65 -0
- package/chart/public_api.d.ts +1 -0
- package/chart/style/chartstyle.d.ts +32 -0
- package/checkbox/public_api.d.ts +1 -0
- package/checkbox/style/checkboxstyle.d.ts +29 -0
- package/chip/public_api.d.ts +1 -0
- package/chip/style/chipstyle.d.ts +33 -0
- package/colorpicker/colorpicker.d.ts +1 -1
- package/colorpicker/public_api.d.ts +1 -0
- package/colorpicker/style/colorpickerstyle.d.ts +45 -0
- package/confirmdialog/confirmdialog.d.ts +1 -1
- package/confirmdialog/public_api.d.ts +1 -0
- package/confirmdialog/style/confirmdialogstyle.d.ts +33 -0
- package/confirmpopup/confirmpopup.d.ts +3 -3
- package/confirmpopup/public_api.d.ts +1 -0
- package/confirmpopup/style/confirmpopupstyle.d.ts +41 -0
- package/contextmenu/contextmenu.d.ts +2 -2
- package/contextmenu/public_api.d.ts +1 -0
- package/contextmenu/style/contextmenustyle.d.ts +54 -0
- package/dataview/dataview.d.ts +1 -1
- package/dataview/public_api.d.ts +1 -0
- package/dataview/style/dataviewstyle.d.ts +37 -0
- package/datepicker/datepicker.d.ts +1 -1
- package/datepicker/public_api.d.ts +1 -0
- package/datepicker/style/datepickerstyle.d.ts +165 -0
- package/dialog/style/dialogstyle.d.ts +49 -0
- package/divider/style/dividerstyle.d.ts +21 -0
- package/dock/public_api.d.ts +1 -0
- package/dock/style/dockstyle.d.ts +41 -0
- package/drawer/public_api.d.ts +1 -0
- package/drawer/style/drawerstyle.d.ts +37 -0
- package/dropdown/public_api.d.ts +1 -0
- package/dropdown/style/dropdownstyle.d.ts +14 -0
- package/dynamicdialog/dynamicdialog.d.ts +5 -0
- package/dynamicdialog/public_api.d.ts +1 -0
- package/dynamicdialog/style/dynamicdialogstyle.d.ts +49 -0
- package/editor/public_api.d.ts +1 -0
- package/editor/style/editorstyle.d.ts +25 -0
- package/esm2022/accordion/accordion.mjs +431 -81
- package/esm2022/accordion/public_api.mjs +2 -2
- package/esm2022/accordion/style/accordionstyle.mjs +39 -2
- package/esm2022/api/primengconfig.mjs +3 -1
- package/esm2022/api/translation.mjs +1 -1
- package/esm2022/autocomplete/autocomplete.mjs +6 -6
- package/esm2022/autocomplete/public_api.mjs +2 -1
- package/esm2022/autocomplete/style/autocompletestyle.mjs +69 -1
- package/esm2022/avatar/avatar.mjs +3 -2
- package/esm2022/avatar/public_api.mjs +2 -1
- package/esm2022/avatar/style/avatarstyle.mjs +25 -1
- package/esm2022/avatargroup/avatargroup.mjs +3 -3
- package/esm2022/avatargroup/public_api.mjs +2 -1
- package/esm2022/avatargroup/style/avatargroupstyle.mjs +14 -1
- package/esm2022/badge/badge.mjs +39 -51
- package/esm2022/badge/public_api.mjs +2 -1
- package/esm2022/badge/style/badgestyle.mjs +17 -1
- package/esm2022/basecomponent/basecomponent.mjs +3 -4
- package/esm2022/blockui/blockui.mjs +3 -3
- package/esm2022/blockui/public_api.mjs +2 -1
- package/esm2022/blockui/style/blockuistyle.mjs +17 -1
- package/esm2022/breadcrumb/breadcrumb.mjs +98 -119
- package/esm2022/breadcrumb/public_api.mjs +2 -1
- package/esm2022/breadcrumb/style/breadcrumbstyle.mjs +45 -1
- package/esm2022/button/button.mjs +3 -7
- package/esm2022/button/public_api.mjs +2 -1
- package/esm2022/button/style/buttonstyle.mjs +29 -1
- package/esm2022/buttongroup/buttongroup.mjs +3 -3
- package/esm2022/buttongroup/public_api.mjs +2 -1
- package/esm2022/buttongroup/style/buttongroupstyle.mjs +17 -1
- package/esm2022/calendar/calendar.mjs +2 -2
- package/esm2022/calendar/public_api.mjs +2 -1
- package/esm2022/card/public_api.mjs +2 -1
- package/esm2022/card/style/cardstyle.mjs +45 -1
- package/esm2022/carousel/public_api.mjs +2 -1
- package/esm2022/carousel/style/carouselstyle.mjs +69 -1
- package/esm2022/cascadeselect/cascadeselect.mjs +15 -19
- package/esm2022/cascadeselect/public_api.mjs +2 -1
- package/esm2022/cascadeselect/style/cascadeselectstyle.mjs +65 -1
- package/esm2022/chart/public_api.mjs +2 -1
- package/esm2022/chart/style/chartstyle.mjs +36 -0
- package/esm2022/checkbox/checkbox.mjs +1 -1
- package/esm2022/checkbox/public_api.mjs +2 -1
- package/esm2022/checkbox/style/checkboxstyle.mjs +29 -1
- package/esm2022/chip/public_api.mjs +2 -1
- package/esm2022/chip/style/chipstyle.mjs +33 -1
- package/esm2022/colorpicker/colorpicker.mjs +3 -3
- package/esm2022/colorpicker/public_api.mjs +2 -1
- package/esm2022/colorpicker/style/colorpickerstyle.mjs +45 -1
- package/esm2022/confirmdialog/confirmdialog.mjs +3 -3
- package/esm2022/confirmdialog/public_api.mjs +2 -1
- package/esm2022/confirmdialog/style/confirmdialogstyle.mjs +33 -1
- package/esm2022/confirmpopup/confirmpopup.mjs +11 -11
- package/esm2022/confirmpopup/public_api.mjs +2 -1
- package/esm2022/confirmpopup/style/confirmpopupstyle.mjs +41 -1
- package/esm2022/contextmenu/contextmenu.mjs +15 -15
- package/esm2022/contextmenu/public_api.mjs +2 -1
- package/esm2022/contextmenu/style/contextmenustyle.mjs +54 -1
- package/esm2022/dataview/dataview.mjs +3 -3
- package/esm2022/dataview/public_api.mjs +2 -1
- package/esm2022/dataview/style/dataviewstyle.mjs +37 -1
- package/esm2022/datepicker/datepicker.mjs +20 -8
- package/esm2022/datepicker/public_api.mjs +2 -1
- package/esm2022/datepicker/style/datepickerstyle.mjs +165 -1
- package/esm2022/dialog/dialog.mjs +21 -16
- package/esm2022/dialog/style/dialogstyle.mjs +49 -1
- package/esm2022/divider/divider.mjs +4 -4
- package/esm2022/divider/style/dividerstyle.mjs +21 -1
- package/esm2022/dock/public_api.mjs +2 -1
- package/esm2022/dock/style/dockstyle.mjs +41 -1
- package/esm2022/drawer/drawer.mjs +17 -13
- package/esm2022/drawer/public_api.mjs +2 -1
- package/esm2022/drawer/style/drawerstyle.mjs +37 -1
- package/esm2022/dropdown/dropdown.mjs +10 -10
- package/esm2022/dropdown/public_api.mjs +2 -1
- package/esm2022/dropdown/style/dropdownstyle.mjs +5 -2
- package/esm2022/dynamicdialog/dynamicdialog.mjs +94 -24
- package/esm2022/dynamicdialog/public_api.mjs +2 -1
- package/esm2022/dynamicdialog/style/dynamicdialogstyle.mjs +49 -1
- package/esm2022/editor/editor.mjs +6 -5
- package/esm2022/editor/public_api.mjs +2 -1
- package/esm2022/editor/style/editorstyle.mjs +25 -1
- package/esm2022/fieldset/fieldset.mjs +11 -21
- package/esm2022/fieldset/public_api.mjs +2 -1
- package/esm2022/fieldset/style/fieldsetstyle.mjs +37 -1
- package/esm2022/fileupload/fileupload.interface.mjs +1 -1
- package/esm2022/fileupload/fileupload.mjs +46 -13
- package/esm2022/fileupload/public_api.mjs +2 -1
- package/esm2022/fileupload/style/fileuploadstyle.mjs +73 -1
- package/esm2022/floatlabel/floatlabel.mjs +18 -13
- package/esm2022/floatlabel/public_api.mjs +2 -1
- package/esm2022/floatlabel/style/floatlabelstyle.mjs +79 -28
- package/esm2022/fluid/public_api.mjs +2 -1
- package/esm2022/fluid/style/fluidstyle.mjs +17 -1
- package/esm2022/galleria/galleria.mjs +113 -124
- package/esm2022/galleria/public_api.mjs +2 -1
- package/esm2022/galleria/style/galleriastyle.mjs +125 -1
- package/esm2022/iconfield/iconfield.mjs +4 -4
- package/esm2022/iconfield/public_api.mjs +2 -1
- package/esm2022/iconfield/style/iconfieldstyle.mjs +26 -17
- package/esm2022/iftalabel/iftalabel.mjs +43 -0
- package/esm2022/iftalabel/primeng-iftalabel.mjs +5 -0
- package/esm2022/iftalabel/public_api.mjs +3 -0
- package/esm2022/iftalabel/style/iftalabelstyle.mjs +96 -0
- package/esm2022/image/image.interface.mjs +1 -1
- package/esm2022/image/image.mjs +86 -42
- package/esm2022/image/public_api.mjs +2 -1
- package/esm2022/image/style/imagestyle.mjs +57 -1
- package/esm2022/inplace/inplace.mjs +3 -3
- package/esm2022/inplace/public_api.mjs +2 -1
- package/esm2022/inplace/style/inplacestyle.mjs +25 -1
- package/esm2022/inputgroup/public_api.mjs +2 -1
- package/esm2022/inputgroup/style/inputgroupstyle.mjs +46 -17
- package/esm2022/inputgroupaddon/inputgroupaddon.mjs +15 -13
- package/esm2022/inputgroupaddon/public_api.mjs +2 -1
- package/esm2022/inputicon/inputicon.mjs +7 -4
- package/esm2022/inputicon/public_api.mjs +2 -1
- package/esm2022/inputmask/inputmask.mjs +2 -2
- package/esm2022/inputmask/public_api.mjs +2 -1
- package/esm2022/inputmask/style/inputmaskstyle.mjs +17 -1
- package/esm2022/inputnumber/inputnumber.mjs +219 -221
- package/esm2022/inputnumber/public_api.mjs +2 -1
- package/esm2022/inputnumber/style/inputnumberstyle.mjs +38 -1
- package/esm2022/inputotp/inputotp.mjs +4 -4
- package/esm2022/inputotp/public_api.mjs +2 -1
- package/esm2022/inputotp/style/inputotpstyle.mjs +21 -1
- package/esm2022/inputswitch/public_api.mjs +2 -1
- package/esm2022/inputtext/inputtext.mjs +11 -2
- package/esm2022/inputtext/public_api.mjs +2 -1
- package/esm2022/inputtext/style/inputtextstyle.mjs +17 -1
- package/esm2022/inputtextarea/public_api.mjs +2 -1
- package/esm2022/inputtextarea/style/textareastyle.mjs +17 -1
- package/esm2022/knob/public_api.mjs +2 -1
- package/esm2022/knob/style/knobstyle.mjs +29 -1
- package/esm2022/listbox/listbox.mjs +45 -20
- package/esm2022/listbox/public_api.mjs +2 -1
- package/esm2022/listbox/style/listboxstyle.mjs +53 -1
- package/esm2022/megamenu/megamenu.mjs +15 -15
- package/esm2022/megamenu/public_api.mjs +2 -1
- package/esm2022/megamenu/style/megamenustyle.mjs +81 -1
- package/esm2022/menu/menu.mjs +5 -3
- package/esm2022/menu/public_api.mjs +2 -1
- package/esm2022/menu/style/menustyle.mjs +57 -1
- package/esm2022/menubar/menubar.mjs +3 -3
- package/esm2022/menubar/public_api.mjs +2 -1
- package/esm2022/menubar/style/menubarstyle.mjs +65 -1
- package/esm2022/message/message.mjs +2 -34
- package/esm2022/message/style/messagestyle.mjs +38 -2
- package/esm2022/messages/public_api.mjs +2 -1
- package/esm2022/metergroup/metergroup.mjs +10 -10
- package/esm2022/metergroup/public_api.mjs +2 -1
- package/esm2022/metergroup/style/metergroupstyle.mjs +45 -1
- package/esm2022/multiselect/multiselect.mjs +683 -677
- package/esm2022/multiselect/public_api.mjs +2 -1
- package/esm2022/multiselect/style/multiselectstyle.mjs +85 -1
- package/esm2022/orderlist/orderlist.mjs +89 -17
- package/esm2022/orderlist/public_api.mjs +2 -1
- package/esm2022/orderlist/style/orderliststyle.mjs +21 -1
- package/esm2022/organizationchart/organizationchart.mjs +5 -5
- package/esm2022/organizationchart/public_api.mjs +2 -1
- package/esm2022/organizationchart/style/organizationchartstyle.mjs +53 -1
- package/esm2022/overlay/overlay.mjs +1 -1
- package/esm2022/overlay/public_api.mjs +2 -1
- package/esm2022/overlaybadge/overlaybadge.mjs +4 -6
- package/esm2022/overlaybadge/public_api.mjs +2 -1
- package/esm2022/overlaypanel/public_api.mjs +2 -1
- package/esm2022/overlaypanel/style/popoverstyle.mjs +21 -1
- package/esm2022/paginator/paginator.mjs +6 -6
- package/esm2022/paginator/public_api.mjs +2 -1
- package/esm2022/paginator/style/paginatorstyle.mjs +81 -1
- package/esm2022/panel/style/panelstyle.mjs +45 -1
- package/esm2022/panelmenu/panelmenu.mjs +30 -22
- package/esm2022/panelmenu/public_api.mjs +2 -1
- package/esm2022/panelmenu/style/panelmenustyle.mjs +83 -2
- package/esm2022/password/password.mjs +5 -3
- package/esm2022/password/public_api.mjs +2 -1
- package/esm2022/password/style/passwordstyle.mjs +45 -1
- package/esm2022/picklist/picklist.mjs +187 -17
- package/esm2022/picklist/public_api.mjs +2 -1
- package/esm2022/picklist/style/pickliststyle.mjs +37 -1
- package/esm2022/popover/public_api.mjs +2 -1
- package/esm2022/progressbar/progressbar.mjs +3 -3
- package/esm2022/progressbar/public_api.mjs +2 -1
- package/esm2022/progressbar/style/progressbarstyle.mjs +25 -1
- package/esm2022/progressspinner/progressspinner.mjs +3 -3
- package/esm2022/progressspinner/public_api.mjs +2 -1
- package/esm2022/progressspinner/style/progressspinnerstyle.mjs +25 -1
- package/esm2022/radiobutton/public_api.mjs +2 -1
- package/esm2022/radiobutton/radiobutton.mjs +4 -4
- package/esm2022/radiobutton/style/radiobuttonstyle.mjs +29 -1
- package/esm2022/rating/public_api.mjs +2 -1
- package/esm2022/rating/rating.mjs +11 -108
- package/esm2022/rating/style/ratingstyle.mjs +29 -1
- package/esm2022/ripple/public_api.mjs +2 -1
- package/esm2022/ripple/ripple.mjs +17 -12
- package/esm2022/ripple/style/ripplestyle.mjs +17 -1
- package/esm2022/scroller/public_api.mjs +2 -1
- package/esm2022/scroller/scroller.mjs +6 -6
- package/esm2022/scroller/style/scrollerstyle.mjs +104 -0
- package/esm2022/scrollpanel/public_api.mjs +2 -1
- package/esm2022/scrollpanel/scrollpanel.mjs +3 -3
- package/esm2022/scrollpanel/style/scrollpanelstyle.mjs +33 -1
- package/esm2022/scrolltop/public_api.mjs +2 -1
- package/esm2022/scrolltop/scrolltop.mjs +21 -16
- package/esm2022/scrolltop/style/scrolltopstyle.mjs +21 -1
- package/esm2022/select/public_api.mjs +2 -1
- package/esm2022/select/select.mjs +17 -25
- package/esm2022/select/style/selectstyle.mjs +86 -2
- package/esm2022/selectbutton/public_api.mjs +2 -1
- package/esm2022/selectbutton/selectbutton.mjs +8 -8
- package/esm2022/selectbutton/style/selectbuttonstyle.mjs +19 -3
- package/esm2022/sidebar/public_api.mjs +2 -1
- package/esm2022/skeleton/public_api.mjs +2 -1
- package/esm2022/skeleton/style/skeletonstyle.mjs +17 -1
- package/esm2022/slider/public_api.mjs +2 -1
- package/esm2022/slider/style/sliderstyle.mjs +25 -1
- package/esm2022/speeddial/public_api.mjs +2 -1
- package/esm2022/speeddial/speeddial.interface.mjs +1 -1
- package/esm2022/speeddial/speeddial.mjs +74 -50
- package/esm2022/speeddial/style/speeddialstyle.mjs +42 -2
- package/esm2022/splitbutton/public_api.mjs +2 -1
- package/esm2022/splitbutton/splitbutton.mjs +25 -12
- package/esm2022/splitbutton/style/splitbuttonstyle.mjs +25 -1
- package/esm2022/splitter/public_api.mjs +2 -1
- package/esm2022/splitter/style/splitterstyle.mjs +25 -1
- package/esm2022/stepper/public_api.mjs +2 -2
- package/esm2022/stepper/stepper.mjs +367 -660
- package/esm2022/stepper/style/stepperstyle.mjs +21 -2
- package/esm2022/steps/public_api.mjs +2 -1
- package/esm2022/steps/style/stepsstyle.mjs +37 -1
- package/esm2022/table/public_api.mjs +2 -1
- package/esm2022/table/style/tablestyle.mjs +899 -0
- package/esm2022/table/table.mjs +46 -42
- package/esm2022/tabmenu/public_api.mjs +2 -1
- package/esm2022/tabmenu/style/tabmenustyle.mjs +42 -2
- package/esm2022/tabmenu/tabmenu.mjs +11 -7
- package/esm2022/tabs/public_api.mjs +6 -2
- package/esm2022/tabs/style/tabsstyle.mjs +49 -1
- package/esm2022/tabs/tab.mjs +171 -0
- package/esm2022/tabs/tablist.mjs +256 -0
- package/esm2022/tabs/tabpanel.mjs +49 -0
- package/esm2022/tabs/tabpanels.mjs +30 -0
- package/esm2022/tabs/tabs.mjs +45 -948
- package/esm2022/tabview/public_api.mjs +2 -1
- package/esm2022/tabview/style/tabsstyle.mjs +49 -1
- package/esm2022/tag/public_api.mjs +2 -1
- package/esm2022/tag/style/tagstyle.mjs +25 -1
- package/esm2022/terminal/public_api.mjs +2 -1
- package/esm2022/terminal/style/terminalstyle.mjs +49 -1
- package/esm2022/textarea/public_api.mjs +2 -1
- package/esm2022/textarea/style/textareastyle.mjs +17 -1
- package/esm2022/textarea/textarea.mjs +1 -2
- package/esm2022/themes/aura/aura.mjs +7 -3
- package/esm2022/themes/aura/floatlabel/index.mjs +29 -1
- package/esm2022/themes/aura/iftalabel/index.mjs +16 -0
- package/esm2022/themes/lara/floatlabel/index.mjs +27 -1
- package/esm2022/themes/lara/iftalabel/index.mjs +16 -0
- package/esm2022/themes/lara/lara.mjs +7 -3
- package/esm2022/themes/nora/floatlabel/index.mjs +27 -1
- package/esm2022/themes/nora/iftalabel/index.mjs +16 -0
- package/esm2022/themes/nora/nora.mjs +7 -3
- package/esm2022/tieredmenu/public_api.mjs +2 -1
- package/esm2022/tieredmenu/style/tieredmenustyle.mjs +61 -1
- package/esm2022/tieredmenu/tieredmenu.mjs +15 -15
- package/esm2022/timeline/public_api.mjs +2 -1
- package/esm2022/timeline/style/timelinestyle.mjs +41 -1
- package/esm2022/timeline/timeline.mjs +54 -68
- package/esm2022/toast/public_api.mjs +2 -1
- package/esm2022/toast/style/toaststyle.mjs +49 -1
- package/esm2022/togglebutton/public_api.mjs +2 -1
- package/esm2022/togglebutton/style/togglebuttonstyle.mjs +26 -2
- package/esm2022/togglebutton/togglebutton.mjs +84 -77
- package/esm2022/toggleswitch/public_api.mjs +2 -1
- package/esm2022/toggleswitch/style/toggleswitchstyle.mjs +32 -5
- package/esm2022/toggleswitch/toggleswitch.mjs +44 -48
- package/esm2022/toolbar/public_api.mjs +2 -1
- package/esm2022/toolbar/style/toolbarstyle.mjs +29 -1
- package/esm2022/tooltip/public_api.mjs +2 -1
- package/esm2022/tooltip/style/tooltipstyle.mjs +25 -1
- package/esm2022/tree/public_api.mjs +2 -1
- package/esm2022/tree/style/treestyle.mjs +69 -1
- package/esm2022/tree/tree.mjs +15 -12
- package/esm2022/treeselect/public_api.mjs +2 -1
- package/esm2022/treeselect/style/treeselectstyle.mjs +53 -1
- package/esm2022/treeselect/treeselect.mjs +9 -58
- package/esm2022/treetable/public_api.mjs +2 -1
- package/esm2022/treetable/style/treetablestyle.mjs +98 -2
- package/esm2022/treetable/treetable.mjs +6 -6
- package/esm2022/utils/inpututils.mjs +7 -0
- package/esm2022/utils/public_api.mjs +3 -2
- package/fesm2022/primeng-accordion.mjs +470 -83
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +2 -0
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +74 -6
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +27 -2
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-avatargroup.mjs +16 -3
- package/fesm2022/primeng-avatargroup.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +55 -51
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +2 -3
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +19 -3
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +142 -119
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +31 -7
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +19 -3
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +2 -2
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +45 -1
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +69 -1
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +79 -19
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +36 -2
- package/fesm2022/primeng-chart.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +29 -1
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +33 -1
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +47 -3
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +35 -3
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +50 -10
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +68 -15
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +39 -3
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +184 -8
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +69 -16
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +24 -4
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +41 -1
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +53 -13
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +14 -11
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +142 -24
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +29 -4
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +47 -21
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +118 -13
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +96 -40
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-fluid.mjs +17 -1
- package/fesm2022/primeng-fluid.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +237 -124
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +29 -20
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +143 -0
- package/fesm2022/primeng-iftalabel.mjs.map +1 -0
- package/fesm2022/primeng-image.mjs +141 -41
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +27 -3
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +46 -17
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +15 -13
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputicon.mjs +7 -4
- package/fesm2022/primeng-inputicon.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +18 -2
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +256 -221
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +24 -4
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputswitch.mjs +1 -1
- package/fesm2022/primeng-inputtext.mjs +27 -2
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +17 -1
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-knob.mjs +29 -1
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +97 -20
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +95 -15
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +60 -2
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +67 -3
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +39 -35
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +1 -1
- package/fesm2022/primeng-metergroup.mjs +54 -10
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +767 -677
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +108 -16
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +57 -5
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +1 -1
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +4 -6
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +21 -1
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +86 -6
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +45 -1
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +111 -22
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +48 -2
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +222 -16
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +1 -1
- package/fesm2022/primeng-progressbar.mjs +27 -3
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-progressspinner.mjs +27 -3
- package/fesm2022/primeng-progressspinner.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +32 -4
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +39 -108
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +33 -12
- package/fesm2022/primeng-ripple.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +41 -9
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +35 -3
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +41 -16
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +102 -26
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +26 -10
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +1 -1
- package/fesm2022/primeng-skeleton.mjs +17 -1
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +25 -1
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +114 -50
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +49 -12
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +25 -1
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +388 -662
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +37 -1
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +253 -75
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +51 -7
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +494 -872
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +49 -1
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +25 -1
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +49 -1
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +17 -2
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-themes-aura.mjs +49 -2
- package/fesm2022/primeng-themes-aura.mjs.map +1 -1
- package/fesm2022/primeng-themes-lara.mjs +47 -2
- package/fesm2022/primeng-themes-lara.mjs.map +1 -1
- package/fesm2022/primeng-themes-nora.mjs +47 -2
- package/fesm2022/primeng-themes-nora.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +75 -15
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +94 -68
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +49 -1
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +109 -78
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +74 -51
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +29 -1
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +25 -1
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +83 -12
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +61 -58
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +102 -6
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-utils.mjs +8 -1
- package/fesm2022/primeng-utils.mjs.map +1 -1
- package/fieldset/fieldset.d.ts +1 -6
- package/fieldset/public_api.d.ts +1 -0
- package/fieldset/style/fieldsetstyle.d.ts +37 -0
- package/fileupload/fileupload.d.ts +4 -1
- package/fileupload/fileupload.interface.d.ts +9 -0
- package/fileupload/public_api.d.ts +1 -0
- package/fileupload/style/fileuploadstyle.d.ts +73 -0
- package/floatlabel/floatlabel.d.ts +6 -1
- package/floatlabel/public_api.d.ts +1 -0
- package/floatlabel/style/floatlabelstyle.d.ts +20 -6
- package/fluid/public_api.d.ts +1 -0
- package/fluid/style/fluidstyle.d.ts +17 -0
- package/galleria/public_api.d.ts +1 -0
- package/galleria/style/galleriastyle.d.ts +125 -0
- package/iconfield/iconfield.d.ts +1 -1
- package/iconfield/public_api.d.ts +1 -0
- package/iconfield/style/iconfieldstyle.d.ts +17 -0
- package/iftalabel/iftalabel.d.ts +20 -0
- package/iftalabel/index.d.ts +5 -0
- package/iftalabel/public_api.d.ts +2 -0
- package/iftalabel/style/iftalabelstyle.d.ts +30 -0
- package/image/image.d.ts +2 -0
- package/image/image.interface.d.ts +32 -0
- package/image/public_api.d.ts +1 -0
- package/image/style/imagestyle.d.ts +57 -0
- package/inplace/public_api.d.ts +1 -0
- package/inplace/style/inplacestyle.d.ts +25 -0
- package/inputgroup/public_api.d.ts +1 -0
- package/inputgroup/style/inputgroupstyle.d.ts +17 -0
- package/inputgroupaddon/inputgroupaddon.d.ts +3 -0
- package/inputgroupaddon/public_api.d.ts +1 -0
- package/inputicon/public_api.d.ts +1 -0
- package/inputmask/public_api.d.ts +1 -0
- package/inputmask/style/inputmaskstyle.d.ts +17 -0
- package/inputnumber/inputnumber.d.ts +2 -1
- package/inputnumber/public_api.d.ts +1 -0
- package/inputnumber/style/inputnumberstyle.d.ts +33 -0
- package/inputotp/inputotp.d.ts +1 -1
- package/inputotp/public_api.d.ts +1 -0
- package/inputotp/style/inputotpstyle.d.ts +21 -0
- package/inputswitch/public_api.d.ts +1 -0
- package/inputtext/inputtext.d.ts +6 -1
- package/inputtext/public_api.d.ts +1 -0
- package/inputtext/style/inputtextstyle.d.ts +17 -0
- package/inputtextarea/public_api.d.ts +1 -0
- package/inputtextarea/style/textareastyle.d.ts +17 -0
- package/knob/public_api.d.ts +1 -0
- package/knob/style/knobstyle.d.ts +29 -0
- package/listbox/listbox.d.ts +14 -6
- package/listbox/public_api.d.ts +1 -0
- package/listbox/style/listboxstyle.d.ts +53 -0
- package/megamenu/megamenu.d.ts +2 -2
- package/megamenu/public_api.d.ts +1 -0
- package/megamenu/style/megamenustyle.d.ts +81 -0
- package/menu/public_api.d.ts +1 -0
- package/menu/style/menustyle.d.ts +57 -0
- package/menubar/public_api.d.ts +1 -0
- package/menubar/style/menubarstyle.d.ts +65 -0
- package/message/style/messagestyle.d.ts +37 -0
- package/messages/public_api.d.ts +1 -0
- package/metergroup/metergroup.d.ts +2 -2
- package/metergroup/public_api.d.ts +1 -0
- package/metergroup/style/metergroupstyle.d.ts +45 -0
- package/multiselect/multiselect.d.ts +5 -6
- package/multiselect/public_api.d.ts +1 -0
- package/multiselect/style/multiselectstyle.d.ts +85 -0
- package/orderlist/orderlist.d.ts +28 -1
- package/orderlist/public_api.d.ts +1 -0
- package/orderlist/style/orderliststyle.d.ts +21 -0
- package/organizationchart/organizationchart.d.ts +1 -1
- package/organizationchart/public_api.d.ts +1 -0
- package/organizationchart/style/organizationchartstyle.d.ts +53 -0
- package/overlay/public_api.d.ts +1 -0
- package/overlaybadge/overlaybadge.d.ts +2 -2
- package/overlaybadge/public_api.d.ts +1 -0
- package/overlaypanel/public_api.d.ts +1 -0
- package/overlaypanel/style/popoverstyle.d.ts +21 -0
- package/package.json +371 -365
- package/paginator/public_api.d.ts +1 -0
- package/paginator/style/paginatorstyle.d.ts +81 -0
- package/panel/style/panelstyle.d.ts +43 -0
- package/panelmenu/panelmenu.d.ts +4 -4
- package/panelmenu/public_api.d.ts +1 -0
- package/panelmenu/style/panelmenustyle.d.ts +82 -0
- package/password/password.d.ts +1 -1
- package/password/public_api.d.ts +1 -0
- package/password/style/passwordstyle.d.ts +45 -0
- package/picklist/picklist.d.ts +52 -5
- package/picklist/public_api.d.ts +1 -0
- package/picklist/style/pickliststyle.d.ts +37 -0
- package/popover/public_api.d.ts +1 -0
- package/progressbar/progressbar.d.ts +1 -1
- package/progressbar/public_api.d.ts +1 -0
- package/progressbar/style/progressbarstyle.d.ts +25 -0
- package/progressspinner/progressspinner.d.ts +1 -1
- package/progressspinner/public_api.d.ts +1 -0
- package/progressspinner/style/progressspinnerstyle.d.ts +25 -0
- package/radiobutton/public_api.d.ts +1 -0
- package/radiobutton/radiobutton.d.ts +1 -1
- package/radiobutton/style/radiobuttonstyle.d.ts +29 -0
- package/rating/public_api.d.ts +1 -0
- package/rating/rating.d.ts +1 -20
- package/rating/style/ratingstyle.d.ts +29 -0
- package/ripple/public_api.d.ts +1 -0
- package/ripple/ripple.d.ts +1 -0
- package/ripple/style/ripplestyle.d.ts +17 -0
- package/scroller/public_api.d.ts +1 -0
- package/scroller/scroller.d.ts +2 -2
- package/scroller/style/scrollerstyle.d.ts +43 -0
- package/scrollpanel/public_api.d.ts +1 -0
- package/scrollpanel/scrollpanel.d.ts +1 -1
- package/scrollpanel/style/scrollpanelstyle.d.ts +33 -0
- package/scrolltop/public_api.d.ts +1 -0
- package/scrolltop/scrolltop.d.ts +1 -1
- package/scrolltop/style/scrolltopstyle.d.ts +21 -0
- package/select/public_api.d.ts +1 -0
- package/select/style/selectstyle.d.ts +85 -0
- package/selectbutton/public_api.d.ts +1 -0
- package/selectbutton/selectbutton.d.ts +1 -1
- package/selectbutton/style/selectbuttonstyle.d.ts +17 -0
- package/sidebar/public_api.d.ts +1 -0
- package/skeleton/public_api.d.ts +1 -0
- package/skeleton/style/skeletonstyle.d.ts +17 -0
- package/slider/public_api.d.ts +1 -0
- package/slider/style/sliderstyle.d.ts +25 -0
- package/speeddial/public_api.d.ts +1 -0
- package/speeddial/speeddial.d.ts +25 -2
- package/speeddial/speeddial.interface.d.ts +17 -1
- package/speeddial/style/speeddialstyle.d.ts +41 -0
- package/splitbutton/public_api.d.ts +1 -0
- package/splitbutton/splitbutton.d.ts +6 -1
- package/splitbutton/style/splitbuttonstyle.d.ts +25 -0
- package/splitter/public_api.d.ts +1 -0
- package/splitter/style/splitterstyle.d.ts +25 -0
- package/stepper/public_api.d.ts +1 -1
- package/stepper/stepper.d.ts +140 -88
- package/stepper/style/stepperstyle.d.ts +21 -0
- package/steps/public_api.d.ts +1 -0
- package/steps/style/stepsstyle.d.ts +37 -0
- package/table/public_api.d.ts +1 -0
- package/table/style/tablestyle.d.ts +327 -0
- package/table/table.d.ts +5 -5
- package/tabmenu/public_api.d.ts +1 -0
- package/tabmenu/style/tabmenustyle.d.ts +41 -0
- package/tabmenu/tabmenu.d.ts +2 -1
- package/tabs/public_api.d.ts +5 -1
- package/tabs/style/tabsstyle.d.ts +49 -0
- package/tabs/tab.d.ts +47 -0
- package/tabs/tablist.d.ts +51 -0
- package/tabs/tabpanel.d.ts +20 -0
- package/tabs/tabpanels.d.ts +10 -0
- package/tabs/tabs.d.ts +31 -237
- package/tabview/public_api.d.ts +1 -0
- package/tabview/style/tabsstyle.d.ts +49 -0
- package/tag/public_api.d.ts +1 -0
- package/tag/style/tagstyle.d.ts +25 -0
- package/terminal/public_api.d.ts +1 -0
- package/terminal/style/terminalstyle.d.ts +49 -0
- package/textarea/public_api.d.ts +1 -0
- package/textarea/style/textareastyle.d.ts +17 -0
- package/themes/aura/aura.d.ts +45 -0
- package/themes/aura/floatlabel/index.d.ts +28 -0
- package/themes/aura/iftalabel/index.d.ts +16 -0
- package/themes/lara/floatlabel/index.d.ts +26 -0
- package/themes/lara/iftalabel/index.d.ts +16 -0
- package/themes/lara/lara.d.ts +43 -0
- package/themes/nora/floatlabel/index.d.ts +26 -0
- package/themes/nora/iftalabel/index.d.ts +16 -0
- package/themes/nora/nora.d.ts +43 -0
- package/tieredmenu/public_api.d.ts +1 -0
- package/tieredmenu/style/tieredmenustyle.d.ts +61 -0
- package/tieredmenu/tieredmenu.d.ts +2 -2
- package/timeline/public_api.d.ts +1 -0
- package/timeline/style/timelinestyle.d.ts +41 -0
- package/timeline/timeline.d.ts +1 -0
- package/toast/public_api.d.ts +1 -0
- package/toast/style/toaststyle.d.ts +49 -0
- package/togglebutton/public_api.d.ts +1 -0
- package/togglebutton/style/togglebuttonstyle.d.ts +25 -0
- package/togglebutton/togglebutton.d.ts +6 -7
- package/toggleswitch/public_api.d.ts +1 -0
- package/toggleswitch/style/toggleswitchstyle.d.ts +25 -0
- package/toolbar/public_api.d.ts +1 -0
- package/toolbar/style/toolbarstyle.d.ts +29 -0
- package/tooltip/public_api.d.ts +1 -0
- package/tooltip/style/tooltipstyle.d.ts +25 -0
- package/tree/public_api.d.ts +1 -0
- package/tree/style/treestyle.d.ts +69 -0
- package/tree/tree.d.ts +1 -0
- package/treeselect/public_api.d.ts +1 -0
- package/treeselect/style/treeselectstyle.d.ts +53 -0
- package/treeselect/treeselect.d.ts +1 -1
- package/treetable/public_api.d.ts +1 -0
- package/treetable/style/treetablestyle.d.ts +97 -0
- package/treetable/treetable.d.ts +1 -1
- package/utils/inpututils.d.ts +2 -0
- package/utils/public_api.d.ts +2 -1
- package/accordion/accordion.interface.d.ts +0 -49
- package/esm2022/accordion/accordion.interface.mjs +0 -2
- package/esm2022/scroller/style/virtualscrollerstyle.mjs +0 -72
- package/esm2022/stepper/stepper.interface.mjs +0 -2
- package/esm2022/table/style/datatablestyle.mjs +0 -725
- package/esm2022/tabs/tabs.interface.mjs +0 -2
- package/scroller/style/virtualscrollerstyle.d.ts +0 -10
- package/stepper/stepper.interface.d.ts +0 -26
- package/table/style/datatablestyle.d.ts +0 -124
- package/tabs/tabs.interface.d.ts +0 -49
@@ -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, Component, ViewEncapsulation, Input, Output, inject, signal, computed, effect, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
|
4
|
+
import { Injectable, forwardRef, EventEmitter, booleanAttribute, numberAttribute, Component, ViewEncapsulation, Input, Output, inject, signal, computed, effect, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, HostBinding, NgModule } from '@angular/core';
|
5
5
|
import * as i5 from '@angular/forms';
|
6
6
|
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
7
7
|
import * as i2 from 'primeng/api';
|
@@ -294,6 +294,90 @@ class MultiSelectStyle extends BaseStyle {
|
|
294
294
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: MultiSelectStyle, decorators: [{
|
295
295
|
type: Injectable
|
296
296
|
}] });
|
297
|
+
/**
|
298
|
+
*
|
299
|
+
* MultiSelect is used to select multiple items from a collection.
|
300
|
+
*
|
301
|
+
* [Live Demo](https://www.primeng.org/multiselect/)
|
302
|
+
*
|
303
|
+
* @module multiselectstyle
|
304
|
+
*
|
305
|
+
*/
|
306
|
+
var MultiSelectClasses;
|
307
|
+
(function (MultiSelectClasses) {
|
308
|
+
/**
|
309
|
+
* Class name of the root element
|
310
|
+
*/
|
311
|
+
MultiSelectClasses["root"] = "p-multiselect";
|
312
|
+
/**
|
313
|
+
* Class name of the label container element
|
314
|
+
*/
|
315
|
+
MultiSelectClasses["labelContainer"] = "p-multiselect-label-container";
|
316
|
+
/**
|
317
|
+
* Class name of the label element
|
318
|
+
*/
|
319
|
+
MultiSelectClasses["label"] = "p-multiselect-label";
|
320
|
+
/**
|
321
|
+
* Class name of the chip item element
|
322
|
+
*/
|
323
|
+
MultiSelectClasses["chipItem"] = "p-multiselect-chip-item";
|
324
|
+
/**
|
325
|
+
* Class name of the chip element
|
326
|
+
*/
|
327
|
+
MultiSelectClasses["pcChip"] = "p-multiselect-chip";
|
328
|
+
/**
|
329
|
+
* Class name of the chip icon element
|
330
|
+
*/
|
331
|
+
MultiSelectClasses["chipIcon"] = "p-multiselect-chip-icon";
|
332
|
+
/**
|
333
|
+
* Class name of the dropdown element
|
334
|
+
*/
|
335
|
+
MultiSelectClasses["dropdown"] = "p-multiselect-dropdown";
|
336
|
+
/**
|
337
|
+
* Class name of the loading icon element
|
338
|
+
*/
|
339
|
+
MultiSelectClasses["loadingIcon"] = "p-multiselect-loading-icon";
|
340
|
+
/**
|
341
|
+
* Class name of the dropdown icon element
|
342
|
+
*/
|
343
|
+
MultiSelectClasses["dropdownIcon"] = "p-multiselect-dropdown-icon";
|
344
|
+
/**
|
345
|
+
* Class name of the overlay element
|
346
|
+
*/
|
347
|
+
MultiSelectClasses["overlay"] = "p-multiselect-overlay";
|
348
|
+
/**
|
349
|
+
* Class name of the header element
|
350
|
+
*/
|
351
|
+
MultiSelectClasses["header"] = "p-multiselect-header";
|
352
|
+
/**
|
353
|
+
* Class name of the filter container element
|
354
|
+
*/
|
355
|
+
MultiSelectClasses["pcFilterContainer"] = "p-multiselect-filter-container";
|
356
|
+
/**
|
357
|
+
* Class name of the filter element
|
358
|
+
*/
|
359
|
+
MultiSelectClasses["pcFilter"] = "p-multiselect-filter";
|
360
|
+
/**
|
361
|
+
* Class name of the list container element
|
362
|
+
*/
|
363
|
+
MultiSelectClasses["listContainer"] = "p-multiselect-list-container";
|
364
|
+
/**
|
365
|
+
* Class name of the list element
|
366
|
+
*/
|
367
|
+
MultiSelectClasses["list"] = "p-multiselect-list";
|
368
|
+
/**
|
369
|
+
* Class name of the option group element
|
370
|
+
*/
|
371
|
+
MultiSelectClasses["optionGroup"] = "p-multiselect-option-group";
|
372
|
+
/**
|
373
|
+
* Class name of the option element
|
374
|
+
*/
|
375
|
+
MultiSelectClasses["option"] = "p-multiselect-option";
|
376
|
+
/**
|
377
|
+
* Class name of the empty message element
|
378
|
+
*/
|
379
|
+
MultiSelectClasses["emptyMessage"] = "p-multiselect-empty-message";
|
380
|
+
})(MultiSelectClasses || (MultiSelectClasses = {}));
|
297
381
|
|
298
382
|
const MULTISELECT_VALUE_ACCESSOR = {
|
299
383
|
provide: NG_VALUE_ACCESSOR,
|
@@ -333,14 +417,13 @@ class MultiSelectItem extends BaseComponent {
|
|
333
417
|
});
|
334
418
|
}
|
335
419
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: MultiSelectItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
336
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.2", type: MultiSelectItem, selector: "p-multiSelectItem", 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: `
|
420
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.2", type: MultiSelectItem, 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: `
|
337
421
|
<li
|
338
422
|
pRipple
|
339
423
|
role="option"
|
340
424
|
[ngStyle]="{ height: itemSize + 'px' }"
|
341
425
|
[ngClass]="{
|
342
426
|
'p-multiselect-option': true,
|
343
|
-
'p-multiselect-option-selected': selected,
|
344
427
|
'p-disabled': disabled,
|
345
428
|
'p-focus': focused,
|
346
429
|
}"
|
@@ -373,7 +456,7 @@ class MultiSelectItem extends BaseComponent {
|
|
373
456
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: MultiSelectItem, decorators: [{
|
374
457
|
type: Component,
|
375
458
|
args: [{
|
376
|
-
selector: 'p-multiSelectItem',
|
459
|
+
selector: 'p-multiSelectItem, p-multiselect-item',
|
377
460
|
template: `
|
378
461
|
<li
|
379
462
|
pRipple
|
@@ -381,7 +464,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
381
464
|
[ngStyle]="{ height: itemSize + 'px' }"
|
382
465
|
[ngClass]="{
|
383
466
|
'p-multiselect-option': true,
|
384
|
-
'p-multiselect-option-selected': selected,
|
385
467
|
'p-disabled': disabled,
|
386
468
|
'p-focus': focused,
|
387
469
|
}"
|
@@ -732,7 +814,7 @@ class MultiSelect extends BaseComponent {
|
|
732
814
|
* Applies focus to the filter element when the overlay is shown.
|
733
815
|
* @group Props
|
734
816
|
*/
|
735
|
-
autofocusFilter =
|
817
|
+
autofocusFilter = false;
|
736
818
|
/**
|
737
819
|
* Defines how the selected items are displayed.
|
738
820
|
* @group Props
|
@@ -872,7 +954,7 @@ class MultiSelect extends BaseComponent {
|
|
872
954
|
* Indicates whether to focus on options when hovering over them, defaults to optionLabel.
|
873
955
|
* @group Props
|
874
956
|
*/
|
875
|
-
focusOnHover =
|
957
|
+
focusOnHover = true;
|
876
958
|
/**
|
877
959
|
* Fields used when filtering the options, defaults to optionLabel.
|
878
960
|
* @group Props
|
@@ -951,7 +1033,6 @@ class MultiSelect extends BaseComponent {
|
|
951
1033
|
* @group Emits
|
952
1034
|
*/
|
953
1035
|
onSelectAllChange = new EventEmitter();
|
954
|
-
containerViewChild;
|
955
1036
|
overlayViewChild;
|
956
1037
|
filterInputChild;
|
957
1038
|
focusInputViewChild;
|
@@ -1016,6 +1097,24 @@ class MultiSelect extends BaseComponent {
|
|
1016
1097
|
focusedOptionIndex = signal(-1);
|
1017
1098
|
selectedOptions;
|
1018
1099
|
clickInProgress = false;
|
1100
|
+
get hostClasses() {
|
1101
|
+
const classes = [];
|
1102
|
+
if (typeof this.rootClass === 'string') {
|
1103
|
+
classes.push(this.rootClass);
|
1104
|
+
}
|
1105
|
+
else if (Array.isArray(this.rootClass)) {
|
1106
|
+
classes.push(...this.rootClass);
|
1107
|
+
}
|
1108
|
+
else if (typeof this.rootClass === 'object') {
|
1109
|
+
Object.keys(this.rootClass)
|
1110
|
+
.filter((key) => this.rootClass[key])
|
1111
|
+
.forEach((key) => classes.push(key));
|
1112
|
+
}
|
1113
|
+
if (this.styleClass) {
|
1114
|
+
classes.push(this.styleClass);
|
1115
|
+
}
|
1116
|
+
return classes.join(' ');
|
1117
|
+
}
|
1019
1118
|
get rootClass() {
|
1020
1119
|
return this._componentStyle.classes.root({ instance: this });
|
1021
1120
|
}
|
@@ -1763,8 +1862,6 @@ class MultiSelect extends BaseComponent {
|
|
1763
1862
|
this.onChange.emit({ originalEvent: event, value: this.value });
|
1764
1863
|
DomHandler.focus(this.headerCheckboxViewChild?.nativeElement);
|
1765
1864
|
this.headerCheckboxFocus = true;
|
1766
|
-
event.preventDefault();
|
1767
|
-
event.stopPropagation();
|
1768
1865
|
}
|
1769
1866
|
changeFocusedOptionIndex(event, index) {
|
1770
1867
|
if (this.focusedOptionIndex() !== index) {
|
@@ -2022,720 +2119,713 @@ class MultiSelect extends BaseComponent {
|
|
2022
2119
|
return this._filterValue() && this._filterValue().trim().length > 0;
|
2023
2120
|
}
|
2024
2121
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: MultiSelect, deps: [{ token: i0.NgZone }, { token: i2.FilterService }, { token: i2.PrimeNGConfig }, { token: i2.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
|
2025
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.2", type: MultiSelect, selector: "p-multiSelect", 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", 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" }, providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle], queries: [{ propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "
|
2026
|
-
<div
|
2027
|
-
<
|
2028
|
-
|
2029
|
-
#focusInput
|
2030
|
-
[pTooltip]="tooltip"
|
2031
|
-
[tooltipPosition]="tooltipPosition"
|
2032
|
-
[positionStyle]="tooltipPositionStyle"
|
2033
|
-
[tooltipStyleClass]="tooltipStyleClass"
|
2034
|
-
[attr.aria-disabled]="disabled"
|
2035
|
-
[attr.id]="inputId"
|
2036
|
-
role="combobox"
|
2037
|
-
[attr.aria-label]="ariaLabel"
|
2038
|
-
[attr.aria-labelledby]="ariaLabelledBy"
|
2039
|
-
[attr.aria-haspopup]="'listbox'"
|
2040
|
-
[attr.aria-expanded]="overlayVisible ?? false"
|
2041
|
-
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
2042
|
-
[attr.tabindex]="!disabled ? tabindex : -1"
|
2043
|
-
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
2044
|
-
(focus)="onInputFocus($event)"
|
2045
|
-
(blur)="onInputBlur($event)"
|
2046
|
-
(keydown)="onKeyDown($event)"
|
2047
|
-
pAutoFocus
|
2048
|
-
[autofocus]="autofocus"
|
2049
|
-
/>
|
2050
|
-
</div>
|
2051
|
-
<div
|
2052
|
-
class="p-multiselect-label-container"
|
2122
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.2", type: MultiSelect, selector: "p-multiSelect, p-multiselect", 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", 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": "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: "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: `
|
2123
|
+
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
2124
|
+
<input
|
2125
|
+
#focusInput
|
2053
2126
|
[pTooltip]="tooltip"
|
2054
|
-
(mouseleave)="labelContainerMouseLeave()"
|
2055
|
-
[tooltipDisabled]="_disableTooltip"
|
2056
2127
|
[tooltipPosition]="tooltipPosition"
|
2057
2128
|
[positionStyle]="tooltipPositionStyle"
|
2058
2129
|
[tooltipStyleClass]="tooltipStyleClass"
|
2059
|
-
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2072
|
-
|
2073
|
-
|
2074
|
-
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2083
|
-
|
2084
|
-
|
2085
|
-
|
2086
|
-
|
2087
|
-
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2097
|
-
|
2130
|
+
[attr.aria-disabled]="disabled"
|
2131
|
+
[attr.id]="inputId"
|
2132
|
+
role="combobox"
|
2133
|
+
[attr.aria-label]="ariaLabel"
|
2134
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
2135
|
+
[attr.aria-haspopup]="'listbox'"
|
2136
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
2137
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
2138
|
+
[attr.tabindex]="!disabled ? tabindex : -1"
|
2139
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
2140
|
+
(focus)="onInputFocus($event)"
|
2141
|
+
(blur)="onInputBlur($event)"
|
2142
|
+
(keydown)="onKeyDown($event)"
|
2143
|
+
pAutoFocus
|
2144
|
+
[autofocus]="autofocus"
|
2145
|
+
/>
|
2146
|
+
</div>
|
2147
|
+
<div
|
2148
|
+
class="p-multiselect-label-container"
|
2149
|
+
[pTooltip]="tooltip"
|
2150
|
+
(mouseleave)="labelContainerMouseLeave()"
|
2151
|
+
[tooltipDisabled]="_disableTooltip"
|
2152
|
+
[tooltipPosition]="tooltipPosition"
|
2153
|
+
[positionStyle]="tooltipPositionStyle"
|
2154
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
2155
|
+
>
|
2156
|
+
<div [ngClass]="labelClass">
|
2157
|
+
<ng-container *ngIf="!selectedItemsTemplate">
|
2158
|
+
<ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
|
2159
|
+
<ng-container *ngIf="display === 'chip'">
|
2160
|
+
<div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-chip-item">
|
2161
|
+
<p-chip
|
2162
|
+
styleClass="p-multiselect-chip"
|
2163
|
+
[label]="getLabelByValue(item)"
|
2164
|
+
[removable]="true"
|
2165
|
+
(onRemove)="removeOption(item, $event)"
|
2166
|
+
[removeIcon]="chipIcon"
|
2167
|
+
>
|
2168
|
+
<ng-container *ngIf="chipIconTemplate || removeTokenIconTemplate">
|
2169
|
+
<ng-template pTemplate="removeicon">
|
2170
|
+
<ng-container *ngIf="!disabled">
|
2171
|
+
<span
|
2172
|
+
class="p-multiselect-chip-icon"
|
2173
|
+
*ngIf="chipIconTemplate || removeTokenIconTemplate"
|
2174
|
+
(click)="removeOption(item, event)"
|
2175
|
+
[attr.data-pc-section]="'clearicon'"
|
2176
|
+
[attr.aria-hidden]="true"
|
2177
|
+
>
|
2178
|
+
<ng-container
|
2179
|
+
*ngTemplateOutlet="
|
2180
|
+
chipIconTemplate || removeTokenIconTemplate;
|
2181
|
+
context: { class: 'p-multiselect-chip-icon' }
|
2182
|
+
"
|
2183
|
+
></ng-container>
|
2184
|
+
</span>
|
2185
|
+
</ng-container>
|
2186
|
+
</ng-template>
|
2187
|
+
</ng-container>
|
2188
|
+
</p-chip>
|
2189
|
+
</div>
|
2190
|
+
<ng-container *ngIf="!modelValue() || modelValue().length === 0">{{
|
2191
|
+
placeholder() || defaultLabel || 'empty'
|
2192
|
+
}}</ng-container>
|
2098
2193
|
</ng-container>
|
2099
|
-
|
2100
|
-
|
2101
|
-
|
2102
|
-
|
2103
|
-
"
|
2104
|
-
></ng-container>
|
2105
|
-
</div>
|
2194
|
+
</ng-container>
|
2195
|
+
<ng-container
|
2196
|
+
*ngTemplateOutlet="selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"
|
2197
|
+
></ng-container>
|
2106
2198
|
</div>
|
2107
|
-
|
2108
|
-
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2118
|
-
|
2119
|
-
|
2120
|
-
|
2121
|
-
|
2122
|
-
|
2123
|
-
|
2124
|
-
</
|
2125
|
-
|
2126
|
-
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2130
|
-
<ng-container *ngIf="!loadingIconTemplate">
|
2131
|
-
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
2132
|
-
<span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
2133
|
-
</ng-container>
|
2199
|
+
</div>
|
2200
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
2201
|
+
<TimesIcon
|
2202
|
+
*ngIf="!clearIconTemplate"
|
2203
|
+
class="p-multiselect-clear-icon"
|
2204
|
+
(click)="clear($event)"
|
2205
|
+
[attr.data-pc-section]="'clearicon'"
|
2206
|
+
[attr.aria-hidden]="true"
|
2207
|
+
/>
|
2208
|
+
<span
|
2209
|
+
*ngIf="clearIconTemplate"
|
2210
|
+
class="p-multiselect-clear-icon"
|
2211
|
+
(click)="clear($event)"
|
2212
|
+
[attr.data-pc-section]="'clearicon'"
|
2213
|
+
[attr.aria-hidden]="true"
|
2214
|
+
>
|
2215
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate"></ng-template>
|
2216
|
+
</span>
|
2217
|
+
</ng-container>
|
2218
|
+
<div class="p-multiselect-dropdown">
|
2219
|
+
<ng-container *ngIf="loading; else elseBlock">
|
2220
|
+
<ng-container *ngIf="loadingIconTemplate">
|
2221
|
+
<ng-container *ngTemplateOutlet="loadingIconTemplate"></ng-container>
|
2134
2222
|
</ng-container>
|
2135
|
-
<ng-
|
2136
|
-
<
|
2137
|
-
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2142
|
-
[attr.aria-hidden]="true"
|
2143
|
-
></span>
|
2144
|
-
<ChevronDownIcon
|
2145
|
-
*ngIf="!dropdownIcon"
|
2146
|
-
[styleClass]="'p-multiselect-dropdown-icon'"
|
2147
|
-
[attr.data-pc-section]="'triggericon'"
|
2148
|
-
[attr.aria-hidden]="true"
|
2149
|
-
/>
|
2150
|
-
</ng-container>
|
2223
|
+
<ng-container *ngIf="!loadingIconTemplate">
|
2224
|
+
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
2225
|
+
<span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
2226
|
+
</ng-container>
|
2227
|
+
</ng-container>
|
2228
|
+
<ng-template #elseBlock>
|
2229
|
+
<ng-container *ngIf="!dropdownIconTemplate">
|
2151
2230
|
<span
|
2152
|
-
*ngIf="
|
2231
|
+
*ngIf="dropdownIcon"
|
2153
2232
|
class="p-multiselect-dropdown-icon"
|
2233
|
+
[ngClass]="dropdownIcon"
|
2154
2234
|
[attr.data-pc-section]="'triggericon'"
|
2155
2235
|
[attr.aria-hidden]="true"
|
2236
|
+
></span>
|
2237
|
+
<ChevronDownIcon
|
2238
|
+
*ngIf="!dropdownIcon"
|
2239
|
+
[styleClass]="'p-multiselect-dropdown-icon'"
|
2240
|
+
[attr.data-pc-section]="'triggericon'"
|
2241
|
+
[attr.aria-hidden]="true"
|
2242
|
+
/>
|
2243
|
+
</ng-container>
|
2244
|
+
<span
|
2245
|
+
*ngIf="dropdownIconTemplate"
|
2246
|
+
class="p-multiselect-dropdown-icon"
|
2247
|
+
[attr.data-pc-section]="'triggericon'"
|
2248
|
+
[attr.aria-hidden]="true"
|
2249
|
+
>
|
2250
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
|
2251
|
+
</span>
|
2252
|
+
</ng-template>
|
2253
|
+
</div>
|
2254
|
+
<p-overlay
|
2255
|
+
#overlay
|
2256
|
+
[(visible)]="overlayVisible"
|
2257
|
+
[options]="overlayOptions"
|
2258
|
+
[target]="'@parent'"
|
2259
|
+
[appendTo]="appendTo"
|
2260
|
+
[autoZIndex]="autoZIndex"
|
2261
|
+
[baseZIndex]="baseZIndex"
|
2262
|
+
[showTransitionOptions]="showTransitionOptions"
|
2263
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
2264
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
2265
|
+
(onHide)="hide()"
|
2266
|
+
>
|
2267
|
+
<ng-template pTemplate="content">
|
2268
|
+
<div
|
2269
|
+
[attr.id]="id + '_list'"
|
2270
|
+
[ngClass]="'p-multiselect-overlay p-component'"
|
2271
|
+
[ngStyle]="panelStyle"
|
2272
|
+
[class]="panelStyleClass"
|
2273
|
+
>
|
2274
|
+
<span
|
2275
|
+
#firstHiddenFocusableEl
|
2276
|
+
role="presentation"
|
2277
|
+
class="p-hidden-accessible p-hidden-focusable"
|
2278
|
+
[attr.tabindex]="0"
|
2279
|
+
(focus)="onFirstHiddenFocus($event)"
|
2280
|
+
[attr.data-p-hidden-accessible]="true"
|
2281
|
+
[attr.data-p-hidden-focusable]="true"
|
2156
2282
|
>
|
2157
|
-
<ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
|
2158
2283
|
</span>
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2173
|
-
>
|
2174
|
-
<ng-template pTemplate="content">
|
2175
|
-
<div
|
2176
|
-
[attr.id]="id + '_list'"
|
2177
|
-
[ngClass]="'p-multiselect-overlay p-component'"
|
2178
|
-
[ngStyle]="panelStyle"
|
2179
|
-
[class]="panelStyleClass"
|
2180
|
-
>
|
2181
|
-
<span
|
2182
|
-
#firstHiddenFocusableEl
|
2183
|
-
role="presentation"
|
2184
|
-
class="p-hidden-accessible p-hidden-focusable"
|
2185
|
-
[attr.tabindex]="0"
|
2186
|
-
(focus)="onFirstHiddenFocus($event)"
|
2187
|
-
[attr.data-p-hidden-accessible]="true"
|
2188
|
-
[attr.data-p-hidden-focusable]="true"
|
2189
|
-
>
|
2190
|
-
</span>
|
2191
|
-
<div class="p-multiselect-header" *ngIf="showHeader">
|
2192
|
-
<ng-content select="p-header"></ng-content>
|
2193
|
-
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
2194
|
-
<ng-container *ngIf="filterTemplate; else builtInFilterElement">
|
2195
|
-
<ng-container *ngTemplateOutlet="filterTemplate; context: { options: filterOptions }"></ng-container>
|
2196
|
-
</ng-container>
|
2197
|
-
<ng-template #builtInFilterElement>
|
2198
|
-
<p-checkbox
|
2199
|
-
[ngModel]="allSelected()"
|
2200
|
-
[binary]="true"
|
2201
|
-
(onChange)="onToggleAll($event)"
|
2202
|
-
*ngIf="showToggleAll && !selectionLimit"
|
2203
|
-
[variant]="variant"
|
2204
|
-
[disabled]="disabled || toggleAllDisabled"
|
2205
|
-
>
|
2206
|
-
<ng-container *ngIf="allSelected() || partialSelected()">
|
2207
|
-
<ng-template pTemplate="icon" let-class="class">
|
2208
|
-
<span *ngIf="headerCheckboxIconTemplate">
|
2209
|
-
<ng-template
|
2210
|
-
*ngTemplateOutlet="
|
2211
|
-
headerCheckboxIconTemplate;
|
2212
|
-
context: {
|
2213
|
-
checked: allSelected(),
|
2214
|
-
partialSelected: partialSelected(),
|
2215
|
-
class: class,
|
2216
|
-
}
|
2217
|
-
"
|
2218
|
-
></ng-template>
|
2219
|
-
</span>
|
2220
|
-
</ng-template>
|
2221
|
-
</ng-container>
|
2222
|
-
</p-checkbox>
|
2223
|
-
|
2224
|
-
<div class="p-multiselect-filter-container" *ngIf="filter">
|
2225
|
-
<p-iconField>
|
2226
|
-
<input
|
2227
|
-
#filterInput
|
2228
|
-
pInputText
|
2229
|
-
[variant]="variant"
|
2230
|
-
type="text"
|
2231
|
-
role="searchbox"
|
2232
|
-
[attr.autocomplete]="autocomplete"
|
2233
|
-
[attr.placeholder]="filterPlaceHolder"
|
2234
|
-
role="searchbox"
|
2235
|
-
[attr.aria-owns]="id + '_list'"
|
2236
|
-
[attr.aria-activedescendant]="focusedOptionId"
|
2237
|
-
[value]="_filterValue() || ''"
|
2238
|
-
(input)="onFilterInputChange($event)"
|
2239
|
-
(keydown)="onFilterKeyDown($event)"
|
2240
|
-
(click)="onInputClick($event)"
|
2241
|
-
(blur)="onFilterBlur($event)"
|
2242
|
-
class="p-multiselect-filter"
|
2243
|
-
[disabled]="disabled"
|
2244
|
-
[attr.placeholder]="filterPlaceHolder"
|
2245
|
-
[attr.aria-label]="ariaFilterLabel"
|
2246
|
-
/>
|
2247
|
-
<p-inputIcon>
|
2248
|
-
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate" />
|
2249
|
-
<span *ngIf="filterIconTemplate" class="p-multiselect-filter-icon">
|
2250
|
-
<ng-template *ngTemplateOutlet="filterIconTemplate"></ng-template>
|
2251
|
-
</span>
|
2252
|
-
</p-inputIcon>
|
2253
|
-
</p-iconField>
|
2254
|
-
</div>
|
2255
|
-
</ng-template>
|
2256
|
-
</div>
|
2257
|
-
<div class="p-multiselect-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
|
2258
|
-
<p-scroller
|
2259
|
-
*ngIf="virtualScroll"
|
2260
|
-
#scroller
|
2261
|
-
[items]="visibleOptions()"
|
2262
|
-
[style]="{ height: scrollHeight }"
|
2263
|
-
[itemSize]="virtualScrollItemSize || _itemSize"
|
2264
|
-
[autoSize]="true"
|
2265
|
-
[tabindex]="-1"
|
2266
|
-
[lazy]="lazy"
|
2267
|
-
(onLazyLoad)="onLazyLoad.emit($event)"
|
2268
|
-
[options]="virtualScrollOptions"
|
2284
|
+
<div class="p-multiselect-header" *ngIf="showHeader">
|
2285
|
+
<ng-content select="p-header"></ng-content>
|
2286
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
2287
|
+
<ng-container *ngIf="filterTemplate; else builtInFilterElement">
|
2288
|
+
<ng-container *ngTemplateOutlet="filterTemplate; context: { options: filterOptions }"></ng-container>
|
2289
|
+
</ng-container>
|
2290
|
+
<ng-template #builtInFilterElement>
|
2291
|
+
<p-checkbox
|
2292
|
+
[ngModel]="allSelected()"
|
2293
|
+
[binary]="true"
|
2294
|
+
(onChange)="onToggleAll($event)"
|
2295
|
+
*ngIf="showToggleAll && !selectionLimit"
|
2296
|
+
[variant]="variant"
|
2297
|
+
[disabled]="disabled || toggleAllDisabled"
|
2269
2298
|
>
|
2270
|
-
<ng-template pTemplate="
|
2271
|
-
<
|
2272
|
-
*
|
2273
|
-
|
2299
|
+
<ng-template pTemplate="icon" let-class="class">
|
2300
|
+
<CheckIcon
|
2301
|
+
*ngIf="!headerCheckboxIconTemplate && allSelected()"
|
2302
|
+
[styleClass]="class"
|
2303
|
+
[attr.data-pc-section]="'icon'"
|
2304
|
+
/>
|
2305
|
+
<ng-template
|
2306
|
+
*ngTemplateOutlet="
|
2307
|
+
headerCheckboxIconTemplate;
|
2308
|
+
context: {
|
2309
|
+
checked: allSelected(),
|
2310
|
+
partialSelected: partialSelected(),
|
2311
|
+
class: class,
|
2312
|
+
}
|
2313
|
+
"
|
2314
|
+
></ng-template>
|
2274
2315
|
</ng-template>
|
2275
|
-
|
2276
|
-
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
|
2281
|
-
|
2282
|
-
|
2283
|
-
|
2316
|
+
</p-checkbox>
|
2317
|
+
|
2318
|
+
<div class="p-multiselect-filter-container" *ngIf="filter">
|
2319
|
+
<p-iconfield>
|
2320
|
+
<input
|
2321
|
+
#filterInput
|
2322
|
+
pInputText
|
2323
|
+
[variant]="variant"
|
2324
|
+
type="text"
|
2325
|
+
role="searchbox"
|
2326
|
+
[attr.autocomplete]="autocomplete"
|
2327
|
+
[attr.placeholder]="filterPlaceHolder"
|
2328
|
+
role="searchbox"
|
2329
|
+
[attr.aria-owns]="id + '_list'"
|
2330
|
+
[attr.aria-activedescendant]="focusedOptionId"
|
2331
|
+
[value]="_filterValue() || ''"
|
2332
|
+
(input)="onFilterInputChange($event)"
|
2333
|
+
(keydown)="onFilterKeyDown($event)"
|
2334
|
+
(click)="onInputClick($event)"
|
2335
|
+
(blur)="onFilterBlur($event)"
|
2336
|
+
class="p-multiselect-filter"
|
2337
|
+
[disabled]="disabled"
|
2338
|
+
[attr.placeholder]="filterPlaceHolder"
|
2339
|
+
[attr.aria-label]="ariaFilterLabel"
|
2340
|
+
/>
|
2341
|
+
<p-inputicon>
|
2342
|
+
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate" />
|
2343
|
+
<span *ngIf="filterIconTemplate" class="p-multiselect-filter-icon">
|
2344
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate"></ng-template>
|
2345
|
+
</span>
|
2346
|
+
</p-inputicon>
|
2347
|
+
</p-iconfield>
|
2348
|
+
</div>
|
2349
|
+
</ng-template>
|
2350
|
+
</div>
|
2351
|
+
<div class="p-multiselect-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
|
2352
|
+
<p-scroller
|
2353
|
+
*ngIf="virtualScroll"
|
2354
|
+
#scroller
|
2355
|
+
[items]="visibleOptions()"
|
2356
|
+
[style]="{ height: scrollHeight }"
|
2357
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
2358
|
+
[autoSize]="true"
|
2359
|
+
[tabindex]="-1"
|
2360
|
+
[lazy]="lazy"
|
2361
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
2362
|
+
[options]="virtualScrollOptions"
|
2363
|
+
>
|
2364
|
+
<ng-template pTemplate="content" let-items let-scrollerOptions="options">
|
2284
2365
|
<ng-container
|
2285
|
-
*ngTemplateOutlet="buildInItems; context: { $implicit:
|
2366
|
+
*ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"
|
2286
2367
|
></ng-container>
|
2368
|
+
</ng-template>
|
2369
|
+
<ng-container *ngIf="loaderTemplate">
|
2370
|
+
<ng-template pTemplate="loader" let-scrollerOptions="options">
|
2371
|
+
<ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
2372
|
+
</ng-template>
|
2287
2373
|
</ng-container>
|
2374
|
+
</p-scroller>
|
2375
|
+
<ng-container *ngIf="!virtualScroll">
|
2376
|
+
<ng-container
|
2377
|
+
*ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"
|
2378
|
+
></ng-container>
|
2379
|
+
</ng-container>
|
2288
2380
|
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
|
2300
|
-
|
2301
|
-
|
2302
|
-
|
2303
|
-
|
2304
|
-
|
2305
|
-
|
2306
|
-
|
2307
|
-
|
2308
|
-
|
2309
|
-
|
2310
|
-
|
2311
|
-
|
2312
|
-
|
2313
|
-
|
2314
|
-
|
2315
|
-
|
2316
|
-
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2320
|
-
|
2321
|
-
|
2322
|
-
|
2323
|
-
|
2324
|
-
|
2325
|
-
|
2326
|
-
|
2327
|
-
|
2328
|
-
|
2329
|
-
|
2330
|
-
|
2331
|
-
|
2332
|
-
|
2333
|
-
|
2334
|
-
<li
|
2335
|
-
*ngIf="hasFilter() && isEmpty()"
|
2336
|
-
class="p-multiselect-empty-message"
|
2337
|
-
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2338
|
-
role="option"
|
2339
|
-
>
|
2340
|
-
<ng-container *ngIf="!emptyFilterTemplate && !emptyTemplate; else emptyFilter">
|
2341
|
-
{{ emptyFilterMessageLabel }}
|
2342
|
-
</ng-container>
|
2343
|
-
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || emptyTemplate"></ng-container>
|
2344
|
-
</li>
|
2345
|
-
<li
|
2346
|
-
*ngIf="!hasFilter() && isEmpty()"
|
2347
|
-
class="p-multiselect-empty-message"
|
2348
|
-
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2349
|
-
role="option"
|
2350
|
-
>
|
2351
|
-
<ng-container *ngIf="!emptyTemplate; else empty">
|
2352
|
-
{{ emptyMessageLabel }}
|
2353
|
-
</ng-container>
|
2354
|
-
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
|
2355
|
-
</li>
|
2356
|
-
</ul>
|
2357
|
-
</ng-template>
|
2358
|
-
</div>
|
2359
|
-
<div *ngIf="footerFacet || footerTemplate">
|
2360
|
-
<ng-content select="p-footer"></ng-content>
|
2361
|
-
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
2362
|
-
</div>
|
2381
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
2382
|
+
<ul
|
2383
|
+
#items
|
2384
|
+
class="p-multiselect-list"
|
2385
|
+
[ngClass]="scrollerOptions.contentStyleClass"
|
2386
|
+
[style]="scrollerOptions.contentStyle"
|
2387
|
+
role="listbox"
|
2388
|
+
aria-multiselectable="true"
|
2389
|
+
[attr.aria-label]="listLabel"
|
2390
|
+
>
|
2391
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
2392
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
2393
|
+
<li
|
2394
|
+
[attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
2395
|
+
class="p-multiselect-option-group"
|
2396
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2397
|
+
role="option"
|
2398
|
+
>
|
2399
|
+
<span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
2400
|
+
<ng-container
|
2401
|
+
*ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"
|
2402
|
+
></ng-container>
|
2403
|
+
</li>
|
2404
|
+
</ng-container>
|
2405
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
2406
|
+
<p-multiselect-item
|
2407
|
+
[id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
2408
|
+
[option]="option"
|
2409
|
+
[selected]="isSelected(option)"
|
2410
|
+
[label]="getOptionLabel(option)"
|
2411
|
+
[disabled]="isOptionDisabled(option)"
|
2412
|
+
[template]="itemTemplate"
|
2413
|
+
[checkIconTemplate]="checkIconTemplate"
|
2414
|
+
[itemCheckboxIconTemplate]="itemCheckboxIconTemplate"
|
2415
|
+
[itemSize]="scrollerOptions.itemSize"
|
2416
|
+
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
2417
|
+
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
2418
|
+
[ariaSetSize]="ariaSetSize"
|
2419
|
+
[variant]="variant"
|
2420
|
+
(onClick)="onOptionSelect($event, false, getOptionIndex(i, scrollerOptions))"
|
2421
|
+
(onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
2422
|
+
></p-multiselect-item>
|
2423
|
+
</ng-container>
|
2424
|
+
</ng-template>
|
2363
2425
|
|
2364
|
-
|
2365
|
-
|
2366
|
-
|
2367
|
-
|
2368
|
-
|
2369
|
-
|
2370
|
-
|
2371
|
-
|
2372
|
-
|
2426
|
+
<li
|
2427
|
+
*ngIf="hasFilter() && isEmpty()"
|
2428
|
+
class="p-multiselect-empty-message"
|
2429
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2430
|
+
role="option"
|
2431
|
+
>
|
2432
|
+
<ng-container *ngIf="!emptyFilterTemplate && !emptyTemplate; else emptyFilter">
|
2433
|
+
{{ emptyFilterMessageLabel }}
|
2434
|
+
</ng-container>
|
2435
|
+
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || emptyTemplate"></ng-container>
|
2436
|
+
</li>
|
2437
|
+
<li
|
2438
|
+
*ngIf="!hasFilter() && isEmpty()"
|
2439
|
+
class="p-multiselect-empty-message"
|
2440
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2441
|
+
role="option"
|
2442
|
+
>
|
2443
|
+
<ng-container *ngIf="!emptyTemplate; else empty">
|
2444
|
+
{{ emptyMessageLabel }}
|
2445
|
+
</ng-container>
|
2446
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
|
2447
|
+
</li>
|
2448
|
+
</ul>
|
2449
|
+
</ng-template>
|
2373
2450
|
</div>
|
2374
|
-
|
2375
|
-
|
2376
|
-
|
2377
|
-
|
2451
|
+
<div *ngIf="footerFacet || footerTemplate">
|
2452
|
+
<ng-content select="p-footer"></ng-content>
|
2453
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
2454
|
+
</div>
|
2455
|
+
|
2456
|
+
<span
|
2457
|
+
#lastHiddenFocusableEl
|
2458
|
+
role="presentation"
|
2459
|
+
class="p-hidden-accessible p-hidden-focusable"
|
2460
|
+
[attr.tabindex]="0"
|
2461
|
+
(focus)="onLastHiddenFocus($event)"
|
2462
|
+
[attr.data-p-hidden-accessible]="true"
|
2463
|
+
[attr.data-p-hidden-focusable]="true"
|
2464
|
+
></span>
|
2465
|
+
</div>
|
2466
|
+
</ng-template>
|
2467
|
+
</p-overlay>
|
2468
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i1.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i1.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => i6.Overlay), selector: "p-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "directive", type: i0.forwardRef(() => i2.PrimeTemplate), selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i0.forwardRef(() => i7.Tooltip), selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i0.forwardRef(() => i8.Scroller), selector: "p-scroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: i0.forwardRef(() => i9.AutoFocus), selector: "[pAutoFocus]", inputs: ["autofocus"] }, { kind: "component", type: i0.forwardRef(() => CheckIcon), selector: "CheckIcon" }, { kind: "component", type: i0.forwardRef(() => SearchIcon), selector: "SearchIcon" }, { kind: "component", type: i0.forwardRef(() => TimesIcon), selector: "TimesIcon" }, { kind: "component", type: i0.forwardRef(() => ChevronDownIcon), selector: "ChevronDownIcon" }, { kind: "component", type: i0.forwardRef(() => i10.IconField), selector: "p-iconfield, p-iconField", inputs: ["iconPosition", "styleClass"] }, { kind: "component", type: i0.forwardRef(() => i11.InputIcon), selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "directive", type: i0.forwardRef(() => i12.InputText), selector: "[pInputText]", inputs: ["variant", "fluid", "size"] }, { kind: "component", type: i0.forwardRef(() => i13.Chip), selector: "p-chip", inputs: ["label", "icon", "image", "alt", "style", "styleClass", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "component", type: i0.forwardRef(() => i4.Checkbox), selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "required", "autofocus", "trueValue", "falseValue", "variant"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "directive", type: i0.forwardRef(() => i5.NgControlStatus), selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i0.forwardRef(() => i5.NgModel), selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i0.forwardRef(() => MultiSelectItem), selector: "p-multiSelectItem, p-multiselect-item", inputs: ["id", "option", "selected", "label", "disabled", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant", "template", "checkIconTemplate", "itemCheckboxIconTemplate"], outputs: ["onClick", "onMouseEnter"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
2378
2469
|
}
|
2379
2470
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: MultiSelect, decorators: [{
|
2380
2471
|
type: Component,
|
2381
2472
|
args: [{
|
2382
|
-
selector: 'p-multiSelect',
|
2473
|
+
selector: 'p-multiSelect, p-multiselect',
|
2383
2474
|
template: `
|
2384
|
-
<div
|
2385
|
-
<
|
2386
|
-
|
2387
|
-
#focusInput
|
2388
|
-
[pTooltip]="tooltip"
|
2389
|
-
[tooltipPosition]="tooltipPosition"
|
2390
|
-
[positionStyle]="tooltipPositionStyle"
|
2391
|
-
[tooltipStyleClass]="tooltipStyleClass"
|
2392
|
-
[attr.aria-disabled]="disabled"
|
2393
|
-
[attr.id]="inputId"
|
2394
|
-
role="combobox"
|
2395
|
-
[attr.aria-label]="ariaLabel"
|
2396
|
-
[attr.aria-labelledby]="ariaLabelledBy"
|
2397
|
-
[attr.aria-haspopup]="'listbox'"
|
2398
|
-
[attr.aria-expanded]="overlayVisible ?? false"
|
2399
|
-
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
2400
|
-
[attr.tabindex]="!disabled ? tabindex : -1"
|
2401
|
-
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
2402
|
-
(focus)="onInputFocus($event)"
|
2403
|
-
(blur)="onInputBlur($event)"
|
2404
|
-
(keydown)="onKeyDown($event)"
|
2405
|
-
pAutoFocus
|
2406
|
-
[autofocus]="autofocus"
|
2407
|
-
/>
|
2408
|
-
</div>
|
2409
|
-
<div
|
2410
|
-
class="p-multiselect-label-container"
|
2475
|
+
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
2476
|
+
<input
|
2477
|
+
#focusInput
|
2411
2478
|
[pTooltip]="tooltip"
|
2412
|
-
(mouseleave)="labelContainerMouseLeave()"
|
2413
|
-
[tooltipDisabled]="_disableTooltip"
|
2414
2479
|
[tooltipPosition]="tooltipPosition"
|
2415
2480
|
[positionStyle]="tooltipPositionStyle"
|
2416
2481
|
[tooltipStyleClass]="tooltipStyleClass"
|
2417
|
-
|
2418
|
-
|
2419
|
-
|
2420
|
-
|
2421
|
-
|
2422
|
-
|
2423
|
-
|
2424
|
-
|
2425
|
-
|
2426
|
-
|
2427
|
-
|
2428
|
-
|
2429
|
-
|
2430
|
-
|
2431
|
-
|
2432
|
-
|
2433
|
-
|
2434
|
-
|
2435
|
-
|
2436
|
-
|
2437
|
-
|
2438
|
-
|
2439
|
-
|
2440
|
-
|
2441
|
-
|
2442
|
-
|
2443
|
-
|
2444
|
-
|
2445
|
-
|
2446
|
-
|
2447
|
-
|
2448
|
-
|
2449
|
-
|
2450
|
-
|
2451
|
-
|
2452
|
-
|
2453
|
-
|
2454
|
-
|
2455
|
-
|
2482
|
+
[attr.aria-disabled]="disabled"
|
2483
|
+
[attr.id]="inputId"
|
2484
|
+
role="combobox"
|
2485
|
+
[attr.aria-label]="ariaLabel"
|
2486
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
2487
|
+
[attr.aria-haspopup]="'listbox'"
|
2488
|
+
[attr.aria-expanded]="overlayVisible ?? false"
|
2489
|
+
[attr.aria-controls]="overlayVisible ? id + '_list' : null"
|
2490
|
+
[attr.tabindex]="!disabled ? tabindex : -1"
|
2491
|
+
[attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
|
2492
|
+
(focus)="onInputFocus($event)"
|
2493
|
+
(blur)="onInputBlur($event)"
|
2494
|
+
(keydown)="onKeyDown($event)"
|
2495
|
+
pAutoFocus
|
2496
|
+
[autofocus]="autofocus"
|
2497
|
+
/>
|
2498
|
+
</div>
|
2499
|
+
<div
|
2500
|
+
class="p-multiselect-label-container"
|
2501
|
+
[pTooltip]="tooltip"
|
2502
|
+
(mouseleave)="labelContainerMouseLeave()"
|
2503
|
+
[tooltipDisabled]="_disableTooltip"
|
2504
|
+
[tooltipPosition]="tooltipPosition"
|
2505
|
+
[positionStyle]="tooltipPositionStyle"
|
2506
|
+
[tooltipStyleClass]="tooltipStyleClass"
|
2507
|
+
>
|
2508
|
+
<div [ngClass]="labelClass">
|
2509
|
+
<ng-container *ngIf="!selectedItemsTemplate">
|
2510
|
+
<ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
|
2511
|
+
<ng-container *ngIf="display === 'chip'">
|
2512
|
+
<div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-chip-item">
|
2513
|
+
<p-chip
|
2514
|
+
styleClass="p-multiselect-chip"
|
2515
|
+
[label]="getLabelByValue(item)"
|
2516
|
+
[removable]="true"
|
2517
|
+
(onRemove)="removeOption(item, $event)"
|
2518
|
+
[removeIcon]="chipIcon"
|
2519
|
+
>
|
2520
|
+
<ng-container *ngIf="chipIconTemplate || removeTokenIconTemplate">
|
2521
|
+
<ng-template pTemplate="removeicon">
|
2522
|
+
<ng-container *ngIf="!disabled">
|
2523
|
+
<span
|
2524
|
+
class="p-multiselect-chip-icon"
|
2525
|
+
*ngIf="chipIconTemplate || removeTokenIconTemplate"
|
2526
|
+
(click)="removeOption(item, event)"
|
2527
|
+
[attr.data-pc-section]="'clearicon'"
|
2528
|
+
[attr.aria-hidden]="true"
|
2529
|
+
>
|
2530
|
+
<ng-container
|
2531
|
+
*ngTemplateOutlet="
|
2532
|
+
chipIconTemplate || removeTokenIconTemplate;
|
2533
|
+
context: { class: 'p-multiselect-chip-icon' }
|
2534
|
+
"
|
2535
|
+
></ng-container>
|
2536
|
+
</span>
|
2537
|
+
</ng-container>
|
2538
|
+
</ng-template>
|
2539
|
+
</ng-container>
|
2540
|
+
</p-chip>
|
2541
|
+
</div>
|
2542
|
+
<ng-container *ngIf="!modelValue() || modelValue().length === 0">{{
|
2543
|
+
placeholder() || defaultLabel || 'empty'
|
2544
|
+
}}</ng-container>
|
2456
2545
|
</ng-container>
|
2457
|
-
|
2458
|
-
|
2459
|
-
|
2460
|
-
|
2461
|
-
"
|
2462
|
-
></ng-container>
|
2463
|
-
</div>
|
2546
|
+
</ng-container>
|
2547
|
+
<ng-container
|
2548
|
+
*ngTemplateOutlet="selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"
|
2549
|
+
></ng-container>
|
2464
2550
|
</div>
|
2465
|
-
|
2466
|
-
|
2467
|
-
|
2468
|
-
|
2469
|
-
|
2470
|
-
|
2471
|
-
|
2472
|
-
|
2473
|
-
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
</
|
2483
|
-
|
2484
|
-
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2488
|
-
<ng-container *ngIf="!loadingIconTemplate">
|
2489
|
-
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
2490
|
-
<span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
2491
|
-
</ng-container>
|
2551
|
+
</div>
|
2552
|
+
<ng-container *ngIf="isVisibleClearIcon">
|
2553
|
+
<TimesIcon
|
2554
|
+
*ngIf="!clearIconTemplate"
|
2555
|
+
class="p-multiselect-clear-icon"
|
2556
|
+
(click)="clear($event)"
|
2557
|
+
[attr.data-pc-section]="'clearicon'"
|
2558
|
+
[attr.aria-hidden]="true"
|
2559
|
+
/>
|
2560
|
+
<span
|
2561
|
+
*ngIf="clearIconTemplate"
|
2562
|
+
class="p-multiselect-clear-icon"
|
2563
|
+
(click)="clear($event)"
|
2564
|
+
[attr.data-pc-section]="'clearicon'"
|
2565
|
+
[attr.aria-hidden]="true"
|
2566
|
+
>
|
2567
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate"></ng-template>
|
2568
|
+
</span>
|
2569
|
+
</ng-container>
|
2570
|
+
<div class="p-multiselect-dropdown">
|
2571
|
+
<ng-container *ngIf="loading; else elseBlock">
|
2572
|
+
<ng-container *ngIf="loadingIconTemplate">
|
2573
|
+
<ng-container *ngTemplateOutlet="loadingIconTemplate"></ng-container>
|
2492
2574
|
</ng-container>
|
2493
|
-
<ng-
|
2494
|
-
<
|
2495
|
-
|
2496
|
-
|
2497
|
-
|
2498
|
-
|
2499
|
-
|
2500
|
-
[attr.aria-hidden]="true"
|
2501
|
-
></span>
|
2502
|
-
<ChevronDownIcon
|
2503
|
-
*ngIf="!dropdownIcon"
|
2504
|
-
[styleClass]="'p-multiselect-dropdown-icon'"
|
2505
|
-
[attr.data-pc-section]="'triggericon'"
|
2506
|
-
[attr.aria-hidden]="true"
|
2507
|
-
/>
|
2508
|
-
</ng-container>
|
2575
|
+
<ng-container *ngIf="!loadingIconTemplate">
|
2576
|
+
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
2577
|
+
<span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
2578
|
+
</ng-container>
|
2579
|
+
</ng-container>
|
2580
|
+
<ng-template #elseBlock>
|
2581
|
+
<ng-container *ngIf="!dropdownIconTemplate">
|
2509
2582
|
<span
|
2510
|
-
*ngIf="
|
2583
|
+
*ngIf="dropdownIcon"
|
2511
2584
|
class="p-multiselect-dropdown-icon"
|
2585
|
+
[ngClass]="dropdownIcon"
|
2512
2586
|
[attr.data-pc-section]="'triggericon'"
|
2513
2587
|
[attr.aria-hidden]="true"
|
2588
|
+
></span>
|
2589
|
+
<ChevronDownIcon
|
2590
|
+
*ngIf="!dropdownIcon"
|
2591
|
+
[styleClass]="'p-multiselect-dropdown-icon'"
|
2592
|
+
[attr.data-pc-section]="'triggericon'"
|
2593
|
+
[attr.aria-hidden]="true"
|
2594
|
+
/>
|
2595
|
+
</ng-container>
|
2596
|
+
<span
|
2597
|
+
*ngIf="dropdownIconTemplate"
|
2598
|
+
class="p-multiselect-dropdown-icon"
|
2599
|
+
[attr.data-pc-section]="'triggericon'"
|
2600
|
+
[attr.aria-hidden]="true"
|
2601
|
+
>
|
2602
|
+
<ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
|
2603
|
+
</span>
|
2604
|
+
</ng-template>
|
2605
|
+
</div>
|
2606
|
+
<p-overlay
|
2607
|
+
#overlay
|
2608
|
+
[(visible)]="overlayVisible"
|
2609
|
+
[options]="overlayOptions"
|
2610
|
+
[target]="'@parent'"
|
2611
|
+
[appendTo]="appendTo"
|
2612
|
+
[autoZIndex]="autoZIndex"
|
2613
|
+
[baseZIndex]="baseZIndex"
|
2614
|
+
[showTransitionOptions]="showTransitionOptions"
|
2615
|
+
[hideTransitionOptions]="hideTransitionOptions"
|
2616
|
+
(onAnimationStart)="onOverlayAnimationStart($event)"
|
2617
|
+
(onHide)="hide()"
|
2618
|
+
>
|
2619
|
+
<ng-template pTemplate="content">
|
2620
|
+
<div
|
2621
|
+
[attr.id]="id + '_list'"
|
2622
|
+
[ngClass]="'p-multiselect-overlay p-component'"
|
2623
|
+
[ngStyle]="panelStyle"
|
2624
|
+
[class]="panelStyleClass"
|
2625
|
+
>
|
2626
|
+
<span
|
2627
|
+
#firstHiddenFocusableEl
|
2628
|
+
role="presentation"
|
2629
|
+
class="p-hidden-accessible p-hidden-focusable"
|
2630
|
+
[attr.tabindex]="0"
|
2631
|
+
(focus)="onFirstHiddenFocus($event)"
|
2632
|
+
[attr.data-p-hidden-accessible]="true"
|
2633
|
+
[attr.data-p-hidden-focusable]="true"
|
2514
2634
|
>
|
2515
|
-
<ng-template *ngTemplateOutlet="dropdownIconTemplate"></ng-template>
|
2516
2635
|
</span>
|
2517
|
-
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
|
2524
|
-
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
|
2529
|
-
|
2530
|
-
|
2531
|
-
>
|
2532
|
-
<ng-template pTemplate="content">
|
2533
|
-
<div
|
2534
|
-
[attr.id]="id + '_list'"
|
2535
|
-
[ngClass]="'p-multiselect-overlay p-component'"
|
2536
|
-
[ngStyle]="panelStyle"
|
2537
|
-
[class]="panelStyleClass"
|
2538
|
-
>
|
2539
|
-
<span
|
2540
|
-
#firstHiddenFocusableEl
|
2541
|
-
role="presentation"
|
2542
|
-
class="p-hidden-accessible p-hidden-focusable"
|
2543
|
-
[attr.tabindex]="0"
|
2544
|
-
(focus)="onFirstHiddenFocus($event)"
|
2545
|
-
[attr.data-p-hidden-accessible]="true"
|
2546
|
-
[attr.data-p-hidden-focusable]="true"
|
2547
|
-
>
|
2548
|
-
</span>
|
2549
|
-
<div class="p-multiselect-header" *ngIf="showHeader">
|
2550
|
-
<ng-content select="p-header"></ng-content>
|
2551
|
-
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
2552
|
-
<ng-container *ngIf="filterTemplate; else builtInFilterElement">
|
2553
|
-
<ng-container *ngTemplateOutlet="filterTemplate; context: { options: filterOptions }"></ng-container>
|
2554
|
-
</ng-container>
|
2555
|
-
<ng-template #builtInFilterElement>
|
2556
|
-
<p-checkbox
|
2557
|
-
[ngModel]="allSelected()"
|
2558
|
-
[binary]="true"
|
2559
|
-
(onChange)="onToggleAll($event)"
|
2560
|
-
*ngIf="showToggleAll && !selectionLimit"
|
2561
|
-
[variant]="variant"
|
2562
|
-
[disabled]="disabled || toggleAllDisabled"
|
2563
|
-
>
|
2564
|
-
<ng-container *ngIf="allSelected() || partialSelected()">
|
2565
|
-
<ng-template pTemplate="icon" let-class="class">
|
2566
|
-
<span *ngIf="headerCheckboxIconTemplate">
|
2567
|
-
<ng-template
|
2568
|
-
*ngTemplateOutlet="
|
2569
|
-
headerCheckboxIconTemplate;
|
2570
|
-
context: {
|
2571
|
-
checked: allSelected(),
|
2572
|
-
partialSelected: partialSelected(),
|
2573
|
-
class: class,
|
2574
|
-
}
|
2575
|
-
"
|
2576
|
-
></ng-template>
|
2577
|
-
</span>
|
2578
|
-
</ng-template>
|
2579
|
-
</ng-container>
|
2580
|
-
</p-checkbox>
|
2581
|
-
|
2582
|
-
<div class="p-multiselect-filter-container" *ngIf="filter">
|
2583
|
-
<p-iconField>
|
2584
|
-
<input
|
2585
|
-
#filterInput
|
2586
|
-
pInputText
|
2587
|
-
[variant]="variant"
|
2588
|
-
type="text"
|
2589
|
-
role="searchbox"
|
2590
|
-
[attr.autocomplete]="autocomplete"
|
2591
|
-
[attr.placeholder]="filterPlaceHolder"
|
2592
|
-
role="searchbox"
|
2593
|
-
[attr.aria-owns]="id + '_list'"
|
2594
|
-
[attr.aria-activedescendant]="focusedOptionId"
|
2595
|
-
[value]="_filterValue() || ''"
|
2596
|
-
(input)="onFilterInputChange($event)"
|
2597
|
-
(keydown)="onFilterKeyDown($event)"
|
2598
|
-
(click)="onInputClick($event)"
|
2599
|
-
(blur)="onFilterBlur($event)"
|
2600
|
-
class="p-multiselect-filter"
|
2601
|
-
[disabled]="disabled"
|
2602
|
-
[attr.placeholder]="filterPlaceHolder"
|
2603
|
-
[attr.aria-label]="ariaFilterLabel"
|
2604
|
-
/>
|
2605
|
-
<p-inputIcon>
|
2606
|
-
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate" />
|
2607
|
-
<span *ngIf="filterIconTemplate" class="p-multiselect-filter-icon">
|
2608
|
-
<ng-template *ngTemplateOutlet="filterIconTemplate"></ng-template>
|
2609
|
-
</span>
|
2610
|
-
</p-inputIcon>
|
2611
|
-
</p-iconField>
|
2612
|
-
</div>
|
2613
|
-
</ng-template>
|
2614
|
-
</div>
|
2615
|
-
<div class="p-multiselect-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
|
2616
|
-
<p-scroller
|
2617
|
-
*ngIf="virtualScroll"
|
2618
|
-
#scroller
|
2619
|
-
[items]="visibleOptions()"
|
2620
|
-
[style]="{ height: scrollHeight }"
|
2621
|
-
[itemSize]="virtualScrollItemSize || _itemSize"
|
2622
|
-
[autoSize]="true"
|
2623
|
-
[tabindex]="-1"
|
2624
|
-
[lazy]="lazy"
|
2625
|
-
(onLazyLoad)="onLazyLoad.emit($event)"
|
2626
|
-
[options]="virtualScrollOptions"
|
2636
|
+
<div class="p-multiselect-header" *ngIf="showHeader">
|
2637
|
+
<ng-content select="p-header"></ng-content>
|
2638
|
+
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
2639
|
+
<ng-container *ngIf="filterTemplate; else builtInFilterElement">
|
2640
|
+
<ng-container *ngTemplateOutlet="filterTemplate; context: { options: filterOptions }"></ng-container>
|
2641
|
+
</ng-container>
|
2642
|
+
<ng-template #builtInFilterElement>
|
2643
|
+
<p-checkbox
|
2644
|
+
[ngModel]="allSelected()"
|
2645
|
+
[binary]="true"
|
2646
|
+
(onChange)="onToggleAll($event)"
|
2647
|
+
*ngIf="showToggleAll && !selectionLimit"
|
2648
|
+
[variant]="variant"
|
2649
|
+
[disabled]="disabled || toggleAllDisabled"
|
2627
2650
|
>
|
2628
|
-
<ng-template pTemplate="
|
2629
|
-
<
|
2630
|
-
*
|
2631
|
-
|
2651
|
+
<ng-template pTemplate="icon" let-class="class">
|
2652
|
+
<CheckIcon
|
2653
|
+
*ngIf="!headerCheckboxIconTemplate && allSelected()"
|
2654
|
+
[styleClass]="class"
|
2655
|
+
[attr.data-pc-section]="'icon'"
|
2656
|
+
/>
|
2657
|
+
<ng-template
|
2658
|
+
*ngTemplateOutlet="
|
2659
|
+
headerCheckboxIconTemplate;
|
2660
|
+
context: {
|
2661
|
+
checked: allSelected(),
|
2662
|
+
partialSelected: partialSelected(),
|
2663
|
+
class: class,
|
2664
|
+
}
|
2665
|
+
"
|
2666
|
+
></ng-template>
|
2632
2667
|
</ng-template>
|
2633
|
-
|
2634
|
-
|
2635
|
-
|
2636
|
-
|
2637
|
-
|
2638
|
-
|
2639
|
-
|
2640
|
-
|
2641
|
-
|
2668
|
+
</p-checkbox>
|
2669
|
+
|
2670
|
+
<div class="p-multiselect-filter-container" *ngIf="filter">
|
2671
|
+
<p-iconfield>
|
2672
|
+
<input
|
2673
|
+
#filterInput
|
2674
|
+
pInputText
|
2675
|
+
[variant]="variant"
|
2676
|
+
type="text"
|
2677
|
+
role="searchbox"
|
2678
|
+
[attr.autocomplete]="autocomplete"
|
2679
|
+
[attr.placeholder]="filterPlaceHolder"
|
2680
|
+
role="searchbox"
|
2681
|
+
[attr.aria-owns]="id + '_list'"
|
2682
|
+
[attr.aria-activedescendant]="focusedOptionId"
|
2683
|
+
[value]="_filterValue() || ''"
|
2684
|
+
(input)="onFilterInputChange($event)"
|
2685
|
+
(keydown)="onFilterKeyDown($event)"
|
2686
|
+
(click)="onInputClick($event)"
|
2687
|
+
(blur)="onFilterBlur($event)"
|
2688
|
+
class="p-multiselect-filter"
|
2689
|
+
[disabled]="disabled"
|
2690
|
+
[attr.placeholder]="filterPlaceHolder"
|
2691
|
+
[attr.aria-label]="ariaFilterLabel"
|
2692
|
+
/>
|
2693
|
+
<p-inputicon>
|
2694
|
+
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filterIconTemplate" />
|
2695
|
+
<span *ngIf="filterIconTemplate" class="p-multiselect-filter-icon">
|
2696
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate"></ng-template>
|
2697
|
+
</span>
|
2698
|
+
</p-inputicon>
|
2699
|
+
</p-iconfield>
|
2700
|
+
</div>
|
2701
|
+
</ng-template>
|
2702
|
+
</div>
|
2703
|
+
<div class="p-multiselect-list-container" [style.max-height]="virtualScroll ? 'auto' : scrollHeight || 'auto'">
|
2704
|
+
<p-scroller
|
2705
|
+
*ngIf="virtualScroll"
|
2706
|
+
#scroller
|
2707
|
+
[items]="visibleOptions()"
|
2708
|
+
[style]="{ height: scrollHeight }"
|
2709
|
+
[itemSize]="virtualScrollItemSize || _itemSize"
|
2710
|
+
[autoSize]="true"
|
2711
|
+
[tabindex]="-1"
|
2712
|
+
[lazy]="lazy"
|
2713
|
+
(onLazyLoad)="onLazyLoad.emit($event)"
|
2714
|
+
[options]="virtualScrollOptions"
|
2715
|
+
>
|
2716
|
+
<ng-template pTemplate="content" let-items let-scrollerOptions="options">
|
2642
2717
|
<ng-container
|
2643
|
-
*ngTemplateOutlet="buildInItems; context: { $implicit:
|
2718
|
+
*ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"
|
2644
2719
|
></ng-container>
|
2720
|
+
</ng-template>
|
2721
|
+
<ng-container *ngIf="loaderTemplate">
|
2722
|
+
<ng-template pTemplate="loader" let-scrollerOptions="options">
|
2723
|
+
<ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
2724
|
+
</ng-template>
|
2645
2725
|
</ng-container>
|
2726
|
+
</p-scroller>
|
2727
|
+
<ng-container *ngIf="!virtualScroll">
|
2728
|
+
<ng-container
|
2729
|
+
*ngTemplateOutlet="buildInItems; context: { $implicit: visibleOptions(), options: {} }"
|
2730
|
+
></ng-container>
|
2731
|
+
</ng-container>
|
2646
2732
|
|
2647
|
-
|
2648
|
-
|
2649
|
-
|
2650
|
-
|
2651
|
-
|
2652
|
-
|
2653
|
-
|
2654
|
-
|
2655
|
-
|
2656
|
-
|
2657
|
-
|
2658
|
-
|
2659
|
-
|
2660
|
-
|
2661
|
-
|
2662
|
-
|
2663
|
-
|
2664
|
-
|
2665
|
-
|
2666
|
-
|
2667
|
-
|
2668
|
-
|
2669
|
-
|
2670
|
-
|
2671
|
-
|
2672
|
-
|
2673
|
-
|
2674
|
-
|
2675
|
-
|
2676
|
-
|
2677
|
-
|
2678
|
-
|
2679
|
-
|
2680
|
-
|
2681
|
-
|
2682
|
-
|
2683
|
-
|
2684
|
-
|
2685
|
-
|
2686
|
-
|
2687
|
-
|
2688
|
-
|
2689
|
-
|
2690
|
-
|
2691
|
-
|
2692
|
-
<li
|
2693
|
-
*ngIf="hasFilter() && isEmpty()"
|
2694
|
-
class="p-multiselect-empty-message"
|
2695
|
-
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2696
|
-
role="option"
|
2697
|
-
>
|
2698
|
-
<ng-container *ngIf="!emptyFilterTemplate && !emptyTemplate; else emptyFilter">
|
2699
|
-
{{ emptyFilterMessageLabel }}
|
2700
|
-
</ng-container>
|
2701
|
-
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || emptyTemplate"></ng-container>
|
2702
|
-
</li>
|
2703
|
-
<li
|
2704
|
-
*ngIf="!hasFilter() && isEmpty()"
|
2705
|
-
class="p-multiselect-empty-message"
|
2706
|
-
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2707
|
-
role="option"
|
2708
|
-
>
|
2709
|
-
<ng-container *ngIf="!emptyTemplate; else empty">
|
2710
|
-
{{ emptyMessageLabel }}
|
2711
|
-
</ng-container>
|
2712
|
-
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
|
2713
|
-
</li>
|
2714
|
-
</ul>
|
2715
|
-
</ng-template>
|
2716
|
-
</div>
|
2717
|
-
<div *ngIf="footerFacet || footerTemplate">
|
2718
|
-
<ng-content select="p-footer"></ng-content>
|
2719
|
-
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
2720
|
-
</div>
|
2733
|
+
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
2734
|
+
<ul
|
2735
|
+
#items
|
2736
|
+
class="p-multiselect-list"
|
2737
|
+
[ngClass]="scrollerOptions.contentStyleClass"
|
2738
|
+
[style]="scrollerOptions.contentStyle"
|
2739
|
+
role="listbox"
|
2740
|
+
aria-multiselectable="true"
|
2741
|
+
[attr.aria-label]="listLabel"
|
2742
|
+
>
|
2743
|
+
<ng-template ngFor let-option [ngForOf]="items" let-i="index">
|
2744
|
+
<ng-container *ngIf="isOptionGroup(option)">
|
2745
|
+
<li
|
2746
|
+
[attr.id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
2747
|
+
class="p-multiselect-option-group"
|
2748
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2749
|
+
role="option"
|
2750
|
+
>
|
2751
|
+
<span *ngIf="!groupTemplate">{{ getOptionGroupLabel(option.optionGroup) }}</span>
|
2752
|
+
<ng-container
|
2753
|
+
*ngTemplateOutlet="groupTemplate; context: { $implicit: option.optionGroup }"
|
2754
|
+
></ng-container>
|
2755
|
+
</li>
|
2756
|
+
</ng-container>
|
2757
|
+
<ng-container *ngIf="!isOptionGroup(option)">
|
2758
|
+
<p-multiselect-item
|
2759
|
+
[id]="id + '_' + getOptionIndex(i, scrollerOptions)"
|
2760
|
+
[option]="option"
|
2761
|
+
[selected]="isSelected(option)"
|
2762
|
+
[label]="getOptionLabel(option)"
|
2763
|
+
[disabled]="isOptionDisabled(option)"
|
2764
|
+
[template]="itemTemplate"
|
2765
|
+
[checkIconTemplate]="checkIconTemplate"
|
2766
|
+
[itemCheckboxIconTemplate]="itemCheckboxIconTemplate"
|
2767
|
+
[itemSize]="scrollerOptions.itemSize"
|
2768
|
+
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
2769
|
+
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
2770
|
+
[ariaSetSize]="ariaSetSize"
|
2771
|
+
[variant]="variant"
|
2772
|
+
(onClick)="onOptionSelect($event, false, getOptionIndex(i, scrollerOptions))"
|
2773
|
+
(onMouseEnter)="onOptionMouseEnter($event, getOptionIndex(i, scrollerOptions))"
|
2774
|
+
></p-multiselect-item>
|
2775
|
+
</ng-container>
|
2776
|
+
</ng-template>
|
2721
2777
|
|
2722
|
-
|
2723
|
-
|
2724
|
-
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
|
2778
|
+
<li
|
2779
|
+
*ngIf="hasFilter() && isEmpty()"
|
2780
|
+
class="p-multiselect-empty-message"
|
2781
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2782
|
+
role="option"
|
2783
|
+
>
|
2784
|
+
<ng-container *ngIf="!emptyFilterTemplate && !emptyTemplate; else emptyFilter">
|
2785
|
+
{{ emptyFilterMessageLabel }}
|
2786
|
+
</ng-container>
|
2787
|
+
<ng-container #emptyFilter *ngTemplateOutlet="emptyFilterTemplate || emptyTemplate"></ng-container>
|
2788
|
+
</li>
|
2789
|
+
<li
|
2790
|
+
*ngIf="!hasFilter() && isEmpty()"
|
2791
|
+
class="p-multiselect-empty-message"
|
2792
|
+
[ngStyle]="{ height: scrollerOptions.itemSize + 'px' }"
|
2793
|
+
role="option"
|
2794
|
+
>
|
2795
|
+
<ng-container *ngIf="!emptyTemplate; else empty">
|
2796
|
+
{{ emptyMessageLabel }}
|
2797
|
+
</ng-container>
|
2798
|
+
<ng-container #empty *ngTemplateOutlet="emptyTemplate"></ng-container>
|
2799
|
+
</li>
|
2800
|
+
</ul>
|
2801
|
+
</ng-template>
|
2731
2802
|
</div>
|
2732
|
-
|
2733
|
-
|
2734
|
-
|
2803
|
+
<div *ngIf="footerFacet || footerTemplate">
|
2804
|
+
<ng-content select="p-footer"></ng-content>
|
2805
|
+
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
2806
|
+
</div>
|
2807
|
+
|
2808
|
+
<span
|
2809
|
+
#lastHiddenFocusableEl
|
2810
|
+
role="presentation"
|
2811
|
+
class="p-hidden-accessible p-hidden-focusable"
|
2812
|
+
[attr.tabindex]="0"
|
2813
|
+
(focus)="onLastHiddenFocus($event)"
|
2814
|
+
[attr.data-p-hidden-accessible]="true"
|
2815
|
+
[attr.data-p-hidden-focusable]="true"
|
2816
|
+
></span>
|
2817
|
+
</div>
|
2818
|
+
</ng-template>
|
2819
|
+
</p-overlay>
|
2735
2820
|
`,
|
2736
2821
|
providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle],
|
2737
2822
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
2738
2823
|
encapsulation: ViewEncapsulation.None,
|
2824
|
+
host: {
|
2825
|
+
'[attr.id]': 'id',
|
2826
|
+
'[style]': 'style',
|
2827
|
+
'(click)': 'onContainerClick($event)',
|
2828
|
+
},
|
2739
2829
|
}]
|
2740
2830
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i2.FilterService }, { type: i2.PrimeNGConfig }, { type: i2.OverlayService }], propDecorators: { id: [{
|
2741
2831
|
type: Input
|
@@ -2922,9 +3012,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
2922
3012
|
type: Output
|
2923
3013
|
}], onSelectAllChange: [{
|
2924
3014
|
type: Output
|
2925
|
-
}], containerViewChild: [{
|
2926
|
-
type: ViewChild,
|
2927
|
-
args: ['container']
|
2928
3015
|
}], overlayViewChild: [{
|
2929
3016
|
type: ViewChild,
|
2930
3017
|
args: ['overlay']
|
@@ -2958,6 +3045,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
2958
3045
|
}], templates: [{
|
2959
3046
|
type: ContentChildren,
|
2960
3047
|
args: [PrimeTemplate]
|
3048
|
+
}], hostClasses: [{
|
3049
|
+
type: HostBinding,
|
3050
|
+
args: ['class']
|
2961
3051
|
}] } });
|
2962
3052
|
class MultiSelectModule {
|
2963
3053
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
@@ -3036,5 +3126,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
3036
3126
|
* Generated bundle index. Do not edit.
|
3037
3127
|
*/
|
3038
3128
|
|
3039
|
-
export { MULTISELECT_VALUE_ACCESSOR, MultiSelect, MultiSelectItem, MultiSelectModule };
|
3129
|
+
export { MULTISELECT_VALUE_ACCESSOR, MultiSelect, MultiSelectClasses, MultiSelectItem, MultiSelectModule, MultiSelectStyle };
|
3040
3130
|
//# sourceMappingURL=primeng-multiselect.mjs.map
|