primeng 18.0.0-beta.5 → 18.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.d.ts +2 -4
- package/api/primeicons.d.ts +3 -3
- package/api/scrolleroptions.d.ts +10 -0
- package/api/selectitemgroup.d.ts +2 -2
- package/api/shared.d.ts +2 -2
- package/autocomplete/autocomplete.d.ts +11 -12
- package/badge/badge.d.ts +16 -2
- package/blockui/blockui.d.ts +2 -2
- package/breadcrumb/breadcrumb.d.ts +3 -4
- package/button/button.d.ts +3 -4
- package/calendar/calendar.d.ts +12 -12
- package/card/card.d.ts +2 -2
- package/carousel/carousel.d.ts +3 -3
- package/cascadeselect/cascadeselect.d.ts +31 -15
- package/cascadeselect/style/cascadeselectstyle.d.ts +8 -1
- package/checkbox/checkbox.d.ts +2 -2
- package/chip/chip.d.ts +2 -2
- package/confirmdialog/confirmdialog.d.ts +3 -3
- package/confirmpopup/confirmpopup.d.ts +3 -4
- package/contextmenu/contextmenu.d.ts +2 -2
- package/dataview/dataview.d.ts +9 -10
- package/datepicker/datepicker.d.ts +8 -8
- package/defer/defer.d.ts +2 -0
- package/dialog/dialog.d.ts +4 -4
- package/drawer/drawer.d.ts +2 -2
- package/dropdown/dropdown.d.ts +0 -23
- package/editor/editor.d.ts +2 -2
- package/esm2022/accordion/accordion.mjs +9 -35
- package/esm2022/accordion/style/accordionstyle.mjs +9 -7
- package/esm2022/api/primeicons.mjs +4 -4
- package/esm2022/api/scrolleroptions.mjs +1 -1
- package/esm2022/api/selectitemgroup.mjs +1 -1
- package/esm2022/api/shared.mjs +6 -6
- package/esm2022/autocomplete/autocomplete.mjs +277 -311
- package/esm2022/autocomplete/style/autocompletestyle.mjs +12 -12
- package/esm2022/avatar/avatar.mjs +3 -3
- package/esm2022/avatar/style/avatarstyle.mjs +3 -3
- package/esm2022/badge/badge.mjs +33 -3
- package/esm2022/badge/style/badgestyle.mjs +3 -3
- package/esm2022/base/style/basestyle.mjs +6 -4
- package/esm2022/basecomponent/basecomponent.mjs +8 -2
- package/esm2022/blockui/blockui.mjs +6 -6
- package/esm2022/breadcrumb/breadcrumb.mjs +94 -101
- package/esm2022/breadcrumb/style/breadcrumbstyle.mjs +5 -1
- package/esm2022/button/button.mjs +19 -37
- package/esm2022/button/style/buttonstyle.mjs +17 -7
- package/esm2022/buttongroup/style/buttongroupstyle.mjs +9 -9
- package/esm2022/calendar/calendar.mjs +114 -114
- package/esm2022/calendar/style/calendarstyle.mjs +5 -5
- package/esm2022/card/card.mjs +10 -9
- package/esm2022/carousel/carousel.mjs +20 -19
- package/esm2022/carousel/style/carouselstyle.mjs +10 -1
- package/esm2022/cascadeselect/cascadeselect.mjs +182 -107
- package/esm2022/cascadeselect/style/cascadeselectstyle.mjs +37 -22
- package/esm2022/checkbox/checkbox.mjs +8 -8
- package/esm2022/chip/chip.mjs +10 -10
- package/esm2022/chip/style/chipstyle.mjs +2 -2
- package/esm2022/colorpicker/style/colorpickerstyle.mjs +29 -1
- package/esm2022/confirmdialog/confirmdialog.mjs +17 -14
- package/esm2022/confirmpopup/confirmpopup.mjs +45 -36
- package/esm2022/contextmenu/contextmenu.mjs +12 -12
- package/esm2022/contextmenu/style/contextmenustyle.mjs +11 -1
- package/esm2022/dataview/dataview.mjs +39 -113
- package/esm2022/datepicker/datepicker.mjs +91 -91
- package/esm2022/datepicker/style/datepickerstyle.mjs +23 -16
- package/esm2022/defer/defer.mjs +7 -1
- package/esm2022/dialog/dialog.mjs +29 -28
- package/esm2022/dialog/style/dialogstyle.mjs +22 -1
- package/esm2022/divider/style/dividerstyle.mjs +18 -14
- package/esm2022/dock/style/dockstyle.mjs +11 -1
- package/esm2022/drawer/drawer.mjs +8 -8
- package/esm2022/drawer/style/drawerstyle.mjs +5 -1
- package/esm2022/dropdown/dropdown.mjs +4 -18
- package/esm2022/dropdown/style/dropdownstyle.mjs +4 -4
- package/esm2022/editor/editor.mjs +1 -1
- package/esm2022/editor/style/editorstyle.mjs +52 -158
- package/esm2022/fieldset/fieldset.mjs +20 -21
- package/esm2022/fileupload/fileupload.mjs +108 -68
- package/esm2022/floatlabel/style/floatlabelstyle.mjs +5 -5
- package/esm2022/galleria/galleria.mjs +6 -1
- package/esm2022/galleria/style/galleriastyle.mjs +18 -1
- package/esm2022/iconfield/style/iconfieldstyle.mjs +2 -2
- package/esm2022/iftalabel/iftalabel.mjs +6 -6
- package/esm2022/iftalabel/style/iftalabelstyle.mjs +5 -5
- package/esm2022/image/image.mjs +36 -69
- package/esm2022/image/style/imagestyle.mjs +7 -7
- package/esm2022/imagecompare/imagecompare.mjs +158 -0
- package/esm2022/imagecompare/primeng-imagecompare.mjs +5 -0
- package/esm2022/imagecompare/public_api.mjs +3 -0
- package/esm2022/imagecompare/style/imagecomparestyle.mjs +124 -0
- package/esm2022/inplace/inplace.mjs +8 -8
- package/esm2022/inputmask/inputmask.mjs +10 -10
- package/esm2022/inputmask/style/inputmaskstyle.mjs +14 -7
- package/esm2022/inputnumber/inputnumber.mjs +41 -43
- package/esm2022/inputnumber/style/inputnumberstyle.mjs +27 -19
- package/esm2022/inputotp/inputotp.mjs +1 -13
- package/esm2022/inputtext/style/inputtextstyle.mjs +15 -9
- package/esm2022/keyfilter/keyfilter.mjs +4 -3
- package/esm2022/listbox/listbox.mjs +8 -53
- package/esm2022/megamenu/megamenu.mjs +18 -18
- package/esm2022/megamenu/style/megamenustyle.mjs +17 -1
- package/esm2022/menu/menu.mjs +46 -28
- package/esm2022/menubar/menubar.mjs +25 -25
- package/esm2022/menubar/style/menubarstyle.mjs +22 -2
- package/esm2022/message/message.mjs +12 -12
- package/esm2022/messages/messages.mjs +2 -1
- package/esm2022/metergroup/style/metergroupstyle.mjs +9 -9
- package/esm2022/multiselect/multiselect.mjs +214 -202
- package/esm2022/multiselect/style/multiselectstyle.mjs +13 -15
- package/esm2022/orderlist/orderlist.mjs +38 -80
- package/esm2022/organizationchart/style/organizationchartstyle.mjs +11 -22
- package/esm2022/overlaypanel/overlaypanel.mjs +24 -24
- package/esm2022/paginator/paginator.mjs +48 -48
- package/esm2022/paginator/style/paginatorstyle.mjs +10 -3
- package/esm2022/panel/panel.mjs +17 -37
- package/esm2022/panelmenu/panelmenu.mjs +32 -43
- package/esm2022/panelmenu/style/panelmenustyle.mjs +13 -5
- package/esm2022/password/password.mjs +26 -26
- package/esm2022/password/style/passwordstyle.mjs +14 -6
- package/esm2022/picklist/picklist.mjs +5 -5
- package/esm2022/popover/popover.mjs +21 -25
- package/esm2022/progressbar/style/progressbarstyle.mjs +29 -29
- package/esm2022/radiobutton/style/radiobuttonstyle.mjs +2 -2
- package/esm2022/rating/rating.mjs +12 -12
- package/esm2022/scroller/scroller.mjs +9 -9
- package/esm2022/scrollpanel/scrollpanel.mjs +4 -4
- package/esm2022/scrollpanel/style/scrollpanelstyle.mjs +3 -2
- package/esm2022/scrolltop/style/scrolltopstyle.mjs +7 -2
- package/esm2022/select/select.mjs +66 -113
- package/esm2022/select/style/selectstyle.mjs +14 -20
- package/esm2022/selectbutton/style/selectbuttonstyle.mjs +5 -5
- package/esm2022/skeleton/style/skeletonstyle.mjs +15 -2
- package/esm2022/slider/slider.mjs +18 -11
- package/esm2022/slider/style/sliderstyle.mjs +6 -6
- package/esm2022/speeddial/speeddial.mjs +1 -16
- package/esm2022/speeddial/style/speeddialstyle.mjs +2 -2
- package/esm2022/splitbutton/splitbutton.mjs +8 -8
- package/esm2022/splitbutton/style/splitbuttonstyle.mjs +9 -9
- package/esm2022/splitter/splitter.mjs +58 -18
- package/esm2022/stepper/style/stepperstyle.mjs +6 -1
- package/esm2022/styleclass/styleclass.mjs +2 -2
- package/esm2022/table/style/tablestyle.mjs +14 -7
- package/esm2022/table/table.mjs +411 -278
- package/esm2022/tabmenu/tabmenu.mjs +15 -33
- package/esm2022/tabs/tab.mjs +4 -3
- package/esm2022/tabs/tablist.mjs +9 -6
- package/esm2022/tabview/tabview.mjs +72 -64
- package/esm2022/terminal/style/terminalstyle.mjs +2 -2
- package/esm2022/textarea/style/textareastyle.mjs +9 -7
- package/esm2022/tieredmenu/style/tieredmenustyle.mjs +6 -1
- package/esm2022/tieredmenu/tieredmenu.mjs +12 -12
- package/esm2022/timeline/style/timelinestyle.mjs +2 -1
- package/esm2022/timeline/timeline.mjs +1 -16
- package/esm2022/toast/style/toaststyle.mjs +7 -1
- package/esm2022/togglebutton/style/togglebuttonstyle.mjs +2 -2
- package/esm2022/toggleswitch/toggleswitch.mjs +1 -10
- package/esm2022/tooltip/tooltip.mjs +33 -25
- package/esm2022/tree/style/treestyle.mjs +8 -6
- package/esm2022/tree/tree.mjs +44 -44
- package/esm2022/treeselect/style/treeselectstyle.mjs +15 -12
- package/esm2022/treeselect/treeselect.mjs +49 -49
- package/esm2022/treetable/style/treetablestyle.mjs +4 -4
- package/esm2022/treetable/treetable.mjs +20 -4
- package/esm2022/usestyle/usestyle.mjs +3 -2
- package/fesm2022/primeng-accordion.mjs +16 -40
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +8 -8
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +287 -321
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +4 -4
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +34 -4
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +5 -3
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +7 -1
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +5 -5
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +97 -100
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +34 -42
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +8 -8
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +117 -117
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +9 -8
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +28 -18
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +218 -128
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +7 -7
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +10 -10
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +28 -0
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +16 -13
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +44 -35
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +21 -11
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +38 -112
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +112 -105
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +6 -0
- package/fesm2022/primeng-defer.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +49 -27
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +17 -13
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +10 -0
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +11 -7
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +6 -20
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +51 -157
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +19 -20
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +107 -67
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +4 -4
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +22 -0
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +1 -1
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +9 -9
- package/fesm2022/primeng-iftalabel.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +41 -74
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +286 -0
- package/fesm2022/primeng-imagecompare.mjs.map +1 -0
- package/fesm2022/primeng-inplace.mjs +7 -7
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +22 -15
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +66 -60
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +0 -12
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +14 -8
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-keyfilter.mjs +3 -2
- package/fesm2022/primeng-keyfilter.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +7 -52
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +33 -17
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +45 -27
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +45 -25
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +11 -11
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +1 -0
- package/fesm2022/primeng-messages.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +8 -8
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +225 -215
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +37 -79
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +10 -21
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +23 -23
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +56 -49
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +16 -36
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +43 -46
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +38 -30
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +4 -4
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +20 -24
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +28 -28
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +1 -1
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +11 -11
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +8 -8
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +5 -4
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +6 -1
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +78 -131
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +4 -4
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-skeleton.mjs +14 -1
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +22 -15
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +1 -16
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +15 -15
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +59 -19
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +5 -0
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-styleclass.mjs +1 -1
- package/fesm2022/primeng-styleclass.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +424 -284
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +14 -32
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +11 -7
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +71 -63
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +1 -1
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +8 -6
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +16 -11
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +1 -15
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +6 -0
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +1 -1
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +0 -9
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +32 -24
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +50 -48
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +62 -59
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +22 -6
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +2 -1
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/fieldset/fieldset.d.ts +3 -3
- package/fileupload/fileupload.d.ts +21 -5
- package/iftalabel/iftalabel.d.ts +2 -2
- package/image/image.d.ts +6 -7
- package/imagecompare/imagecompare.d.ts +52 -0
- package/imagecompare/index.d.ts +5 -0
- package/imagecompare/public_api.d.ts +2 -0
- package/imagecompare/style/imagecomparestyle.d.ts +35 -0
- package/inplace/inplace.d.ts +2 -2
- package/inputmask/inputmask.d.ts +2 -2
- package/inputnumber/inputnumber.d.ts +4 -5
- package/inputotp/inputotp.d.ts +1 -2
- package/listbox/listbox.d.ts +2 -3
- package/megamenu/megamenu.d.ts +4 -4
- package/menu/menu.d.ts +10 -4
- package/menubar/menubar.d.ts +5 -5
- package/message/message.d.ts +2 -2
- package/multiselect/multiselect.d.ts +16 -16
- package/orderlist/orderlist.d.ts +10 -11
- package/overlaypanel/overlaypanel.d.ts +3 -4
- package/package.json +219 -213
- package/paginator/paginator.d.ts +6 -6
- package/panel/panel.d.ts +3 -4
- package/panelmenu/panelmenu.d.ts +2 -3
- package/password/password.d.ts +4 -4
- package/popover/popover.d.ts +7 -5
- package/rating/rating.d.ts +4 -4
- package/scroller/scroller.d.ts +2 -2
- package/select/select.d.ts +12 -13
- package/speeddial/speeddial.d.ts +2 -3
- package/splitbutton/splitbutton.d.ts +2 -2
- package/splitter/splitter.d.ts +9 -2
- package/table/table.d.ts +47 -6
- package/tabmenu/tabmenu.d.ts +5 -6
- package/tabview/tabview.d.ts +4 -5
- package/tieredmenu/tieredmenu.d.ts +2 -2
- package/timeline/timeline.d.ts +0 -1
- package/toggleswitch/toggleswitch.d.ts +0 -1
- package/tooltip/tooltip.d.ts +2 -1
- package/tree/tree.d.ts +6 -6
- package/treeselect/treeselect.d.ts +9 -9
@@ -36,6 +36,10 @@ const theme = ({ dt }) => `
|
|
36
36
|
box-shadow: ${dt('multiselect.shadow')};
|
37
37
|
}
|
38
38
|
|
39
|
+
.p-multiselect.ng-invalid.ng-dirty {
|
40
|
+
border-color: ${dt('multiselect.invalid.border.color')};
|
41
|
+
}
|
42
|
+
|
39
43
|
.p-multiselect:not(.p-disabled):hover {
|
40
44
|
border-color: ${dt('multiselect.hover.border.color')};
|
41
45
|
}
|
@@ -72,8 +76,8 @@ const theme = ({ dt }) => `
|
|
72
76
|
background: transparent;
|
73
77
|
color: ${dt('multiselect.dropdown.color')};
|
74
78
|
width: ${dt('multiselect.dropdown.width')};
|
75
|
-
border-
|
76
|
-
border-
|
79
|
+
border-start-end-radius: ${dt('multiselect.border.radius')};
|
80
|
+
border-end-end-radius: ${dt('multiselect.border.radius')};
|
77
81
|
}
|
78
82
|
|
79
83
|
.p-multiselect-label-container {
|
@@ -98,6 +102,10 @@ const theme = ({ dt }) => `
|
|
98
102
|
color: ${dt('multiselect.placeholder.color')};
|
99
103
|
}
|
100
104
|
|
105
|
+
p-multiselect.ng-invalid.ng-dirty .p-multiselect-label.p-placeholder {
|
106
|
+
color: ${dt('multiselect.invalid.placeholder.color')};
|
107
|
+
}
|
108
|
+
|
101
109
|
.p-multiselect.p-disabled .p-multiselect-label {
|
102
110
|
color: ${dt('multiselect.disabled.color')};
|
103
111
|
}
|
@@ -129,7 +137,7 @@ const theme = ({ dt }) => `
|
|
129
137
|
}
|
130
138
|
|
131
139
|
.p-multiselect-header .p-checkbox {
|
132
|
-
margin-
|
140
|
+
margin-inline-end: ${dt('multiselect.option.gap')};
|
133
141
|
}
|
134
142
|
|
135
143
|
.p-multiselect-filter-container {
|
@@ -237,12 +245,6 @@ const theme = ({ dt }) => `
|
|
237
245
|
height: ${dt('multiselect.lg.font.size')};
|
238
246
|
}
|
239
247
|
|
240
|
-
/* For PrimeNG */
|
241
|
-
|
242
|
-
p-multiselect.ng-invalid.ng-dirty {
|
243
|
-
border-color: ${dt('multiselect.invalid.border.color')};
|
244
|
-
}
|
245
|
-
|
246
248
|
.p-multiselect-clear-icon {
|
247
249
|
cursor: pointer;
|
248
250
|
display: flex;
|
@@ -251,10 +253,6 @@ p-multiselect.ng-invalid.ng-dirty {
|
|
251
253
|
flex-shrink: 0;
|
252
254
|
background: transparent;
|
253
255
|
color: ${dt('multiselect.clear.icon.color')};
|
254
|
-
}
|
255
|
-
|
256
|
-
p-multiselect.ng-invalid.ng-dirty .p-multiselect-label {
|
257
|
-
color: ${dt('multiselect.invalid.placeholder.color')};
|
258
256
|
}`;
|
259
257
|
const inlineStyles = {
|
260
258
|
root: ({ props }) => ({ position: props.appendTo === 'self' ? 'relative' : undefined })
|
@@ -277,7 +275,7 @@ const classes = {
|
|
277
275
|
labelContainer: 'p-multiselect-label-container',
|
278
276
|
label: ({ instance }) => ({
|
279
277
|
'p-multiselect-label': true,
|
280
|
-
'p-placeholder': instance.label === instance.placeholder(),
|
278
|
+
'p-placeholder': instance.label() === instance.placeholder(),
|
281
279
|
'p-multiselect-label-empty': !instance.placeholder() && !instance.defaultLabel && (!instance.modelValue() || instance.modelValue().length === 0)
|
282
280
|
}),
|
283
281
|
chipItem: 'p-multiselect-chip-item',
|
@@ -410,7 +408,7 @@ function MultiSelectItem_ng_container_2_ng_template_1_Template(rf, ctx) { if (rf
|
|
410
408
|
} if (rf & 2) {
|
411
409
|
const class_r1 = ctx.class;
|
412
410
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
413
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
411
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.itemcheckboxiconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c3, ctx_r1.selected, class_r1));
|
414
412
|
} }
|
415
413
|
function MultiSelectItem_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
416
414
|
i0.ɵɵelementContainerStart(0);
|
@@ -430,22 +428,40 @@ function MultiSelectItem_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
430
428
|
function MultiSelectItem_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
431
429
|
i0.ɵɵelementContainer(0);
|
432
430
|
} }
|
433
|
-
const _c4 = ["
|
434
|
-
const _c5 = ["
|
435
|
-
const _c6 = ["
|
436
|
-
const _c7 = ["
|
437
|
-
const _c8 = ["
|
438
|
-
const _c9 = ["
|
439
|
-
const _c10 = ["
|
440
|
-
const _c11 = ["
|
441
|
-
const _c12 = [
|
442
|
-
const _c13 = ["
|
443
|
-
const _c14 =
|
444
|
-
const _c15 =
|
445
|
-
const _c16 =
|
446
|
-
const _c17 =
|
447
|
-
const _c18 =
|
448
|
-
const _c19 =
|
431
|
+
const _c4 = ["item"];
|
432
|
+
const _c5 = ["group"];
|
433
|
+
const _c6 = ["loader"];
|
434
|
+
const _c7 = ["header"];
|
435
|
+
const _c8 = ["filter"];
|
436
|
+
const _c9 = ["footer"];
|
437
|
+
const _c10 = ["emptyfilter"];
|
438
|
+
const _c11 = ["empty"];
|
439
|
+
const _c12 = ["selecteditems"];
|
440
|
+
const _c13 = ["checkicon"];
|
441
|
+
const _c14 = ["loadingicon"];
|
442
|
+
const _c15 = ["filtericon"];
|
443
|
+
const _c16 = ["removetokenicon"];
|
444
|
+
const _c17 = ["chipicon"];
|
445
|
+
const _c18 = ["clearicon"];
|
446
|
+
const _c19 = ["dropdownicon"];
|
447
|
+
const _c20 = ["itemcheckboxicon"];
|
448
|
+
const _c21 = ["headercheckboxicon"];
|
449
|
+
const _c22 = ["overlay"];
|
450
|
+
const _c23 = ["filterInput"];
|
451
|
+
const _c24 = ["focusInput"];
|
452
|
+
const _c25 = ["items"];
|
453
|
+
const _c26 = ["scroller"];
|
454
|
+
const _c27 = ["lastHiddenFocusableEl"];
|
455
|
+
const _c28 = ["firstHiddenFocusableEl"];
|
456
|
+
const _c29 = ["headerCheckbox"];
|
457
|
+
const _c30 = [[["p-header"]], [["p-footer"]]];
|
458
|
+
const _c31 = ["p-header", "p-footer"];
|
459
|
+
const _c32 = (a0, a1) => ({ $implicit: a0, removeChip: a1 });
|
460
|
+
const _c33 = () => ({ class: "p-multiselect-chip-icon" });
|
461
|
+
const _c34 = a0 => ({ options: a0 });
|
462
|
+
const _c35 = (a0, a1, a2) => ({ checked: a0, partialSelected: a1, class: a2 });
|
463
|
+
const _c36 = (a0, a1) => ({ $implicit: a0, options: a1 });
|
464
|
+
const _c37 = () => ({});
|
449
465
|
function MultiSelect_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
450
466
|
i0.ɵɵelementContainerStart(0);
|
451
467
|
i0.ɵɵtext(1);
|
@@ -468,7 +484,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_templ
|
|
468
484
|
const ctx_r1 = i0.ɵɵnextContext(7);
|
469
485
|
i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
|
470
486
|
i0.ɵɵadvance();
|
471
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
487
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chipiconTemplate || ctx_r1.removetokeniconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(4, _c33));
|
472
488
|
} }
|
473
489
|
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
474
490
|
i0.ɵɵelementContainerStart(0);
|
@@ -477,7 +493,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_templ
|
|
477
493
|
} if (rf & 2) {
|
478
494
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
479
495
|
i0.ɵɵadvance();
|
480
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
496
|
+
i0.ɵɵproperty("ngIf", ctx_r1.chipiconTemplate || ctx_r1.removetokeniconTemplate);
|
481
497
|
} }
|
482
498
|
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
483
499
|
i0.ɵɵtemplate(0, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template, 2, 1, "ng-container", 20);
|
@@ -502,7 +518,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_Template(rf, ctx) { if
|
|
502
518
|
i0.ɵɵadvance(2);
|
503
519
|
i0.ɵɵproperty("label", ctx_r1.getLabelByValue(item_r4))("removable", true)("removeIcon", ctx_r1.chipIcon);
|
504
520
|
i0.ɵɵadvance();
|
505
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
521
|
+
i0.ɵɵproperty("ngIf", ctx_r1.chipiconTemplate || ctx_r1.removetokeniconTemplate);
|
506
522
|
} }
|
507
523
|
function MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
508
524
|
i0.ɵɵelementContainerStart(0);
|
@@ -560,7 +576,7 @@ function MultiSelect_ng_container_7_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
560
576
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
561
577
|
i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
|
562
578
|
i0.ɵɵadvance();
|
563
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
579
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.cleariconTemplate);
|
564
580
|
} }
|
565
581
|
function MultiSelect_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
566
582
|
i0.ɵɵelementContainerStart(0);
|
@@ -569,9 +585,9 @@ function MultiSelect_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
569
585
|
} if (rf & 2) {
|
570
586
|
const ctx_r1 = i0.ɵɵnextContext();
|
571
587
|
i0.ɵɵadvance();
|
572
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
588
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.cleariconTemplate);
|
573
589
|
i0.ɵɵadvance();
|
574
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
590
|
+
i0.ɵɵproperty("ngIf", ctx_r1.cleariconTemplate);
|
575
591
|
} }
|
576
592
|
function MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
577
593
|
i0.ɵɵelementContainer(0);
|
@@ -583,7 +599,7 @@ function MultiSelect_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf &
|
|
583
599
|
} if (rf & 2) {
|
584
600
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
585
601
|
i0.ɵɵadvance();
|
586
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
602
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loadingiconTemplate);
|
587
603
|
} }
|
588
604
|
function MultiSelect_ng_container_9_ng_container_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
589
605
|
i0.ɵɵelement(0, "span", 35);
|
@@ -614,9 +630,9 @@ function MultiSelect_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
614
630
|
} if (rf & 2) {
|
615
631
|
const ctx_r1 = i0.ɵɵnextContext();
|
616
632
|
i0.ɵɵadvance();
|
617
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
633
|
+
i0.ɵɵproperty("ngIf", ctx_r1.loadingiconTemplate);
|
618
634
|
i0.ɵɵadvance();
|
619
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
635
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.loadingiconTemplate);
|
620
636
|
} }
|
621
637
|
function MultiSelect_ng_template_10_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
622
638
|
i0.ɵɵelement(0, "span", 40);
|
@@ -654,15 +670,15 @@ function MultiSelect_ng_template_10_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
654
670
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
655
671
|
i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
|
656
672
|
i0.ɵɵadvance();
|
657
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
673
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dropdowniconTemplate);
|
658
674
|
} }
|
659
675
|
function MultiSelect_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
660
676
|
i0.ɵɵtemplate(0, MultiSelect_ng_template_10_ng_container_0_Template, 3, 2, "ng-container", 20)(1, MultiSelect_ng_template_10_span_1_Template, 2, 3, "span", 37);
|
661
677
|
} if (rf & 2) {
|
662
678
|
const ctx_r1 = i0.ɵɵnextContext();
|
663
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
679
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.dropdowniconTemplate);
|
664
680
|
i0.ɵɵadvance();
|
665
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
681
|
+
i0.ɵɵproperty("ngIf", ctx_r1.dropdowniconTemplate);
|
666
682
|
} }
|
667
683
|
function MultiSelect_ng_template_14_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
668
684
|
i0.ɵɵelementContainer(0);
|
@@ -677,7 +693,7 @@ function MultiSelect_ng_template_14_div_4_ng_container_2_Template(rf, ctx) { if
|
|
677
693
|
} if (rf & 2) {
|
678
694
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
679
695
|
i0.ɵɵadvance();
|
680
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
696
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, ctx_r1.filterOptions));
|
681
697
|
} }
|
682
698
|
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template(rf, ctx) { if (rf & 1) {
|
683
699
|
i0.ɵɵelement(0, "CheckIcon", 41);
|
@@ -695,9 +711,9 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template
|
|
695
711
|
} if (rf & 2) {
|
696
712
|
const class_r10 = ctx.class;
|
697
713
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
698
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
714
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.headercheckboxiconTemplate && ctx_r1.allSelected());
|
699
715
|
i0.ɵɵadvance();
|
700
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
716
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headercheckboxiconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c35, ctx_r1.allSelected(), ctx_r1.partialSelected(), class_r10));
|
701
717
|
} }
|
702
718
|
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template(rf, ctx) { if (rf & 1) {
|
703
719
|
const _r9 = i0.ɵɵgetCurrentView();
|
@@ -725,7 +741,7 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template(rf
|
|
725
741
|
} if (rf & 2) {
|
726
742
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
727
743
|
i0.ɵɵadvance();
|
728
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
744
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filtericonTemplate);
|
729
745
|
} }
|
730
746
|
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
731
747
|
const _r11 = i0.ɵɵgetCurrentView();
|
@@ -741,9 +757,9 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx)
|
|
741
757
|
i0.ɵɵproperty("variant", ctx_r1.variant)("value", ctx_r1._filterValue() || "")("disabled", ctx_r1.disabled);
|
742
758
|
i0.ɵɵattribute("autocomplete", ctx_r1.autocomplete)("aria-owns", ctx_r1.id + "_list")("aria-activedescendant", ctx_r1.focusedOptionId)("placeholder", ctx_r1.filterPlaceHolder)("aria-label", ctx_r1.ariaFilterLabel);
|
743
759
|
i0.ɵɵadvance(3);
|
744
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
760
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.filtericonTemplate);
|
745
761
|
i0.ɵɵadvance();
|
746
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
762
|
+
i0.ɵɵproperty("ngIf", ctx_r1.filtericonTemplate);
|
747
763
|
} }
|
748
764
|
function MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
749
765
|
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template, 4, 4, "p-checkbox", 49)(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template, 7, 10, "div", 50);
|
@@ -774,7 +790,7 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template(rf, ctx)
|
|
774
790
|
const scrollerOptions_r15 = ctx.options;
|
775
791
|
i0.ɵɵnextContext(2);
|
776
792
|
const buildInItems_r16 = i0.ɵɵreference(9);
|
777
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
793
|
+
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c36, items_r14, scrollerOptions_r15));
|
778
794
|
} }
|
779
795
|
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
780
796
|
i0.ɵɵelementContainer(0);
|
@@ -784,7 +800,7 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Te
|
|
784
800
|
} if (rf & 2) {
|
785
801
|
const scrollerOptions_r17 = ctx.options;
|
786
802
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
787
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
803
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, scrollerOptions_r17));
|
788
804
|
} }
|
789
805
|
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
790
806
|
i0.ɵɵelementContainerStart(0);
|
@@ -816,7 +832,7 @@ function MultiSelect_ng_template_14_ng_container_7_Template(rf, ctx) { if (rf &
|
|
816
832
|
const buildInItems_r16 = i0.ɵɵreference(9);
|
817
833
|
const ctx_r1 = i0.ɵɵnextContext();
|
818
834
|
i0.ɵɵadvance();
|
819
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3,
|
835
|
+
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c36, ctx_r1.visibleOptions(), i0.ɵɵpureFunction0(2, _c37)));
|
820
836
|
} }
|
821
837
|
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
822
838
|
i0.ɵɵelementStart(0, "span");
|
@@ -865,7 +881,7 @@ function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_T
|
|
865
881
|
const scrollerOptions_r21 = i0.ɵɵnextContext().options;
|
866
882
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
867
883
|
i0.ɵɵadvance();
|
868
|
-
i0.ɵɵproperty("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("option", option_r18)("selected", ctx_r1.isSelected(option_r18))("label", ctx_r1.getOptionLabel(option_r18))("disabled", ctx_r1.isOptionDisabled(option_r18))("template", ctx_r1.itemTemplate)("
|
884
|
+
i0.ɵɵproperty("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("option", option_r18)("selected", ctx_r1.isSelected(option_r18))("label", ctx_r1.getOptionLabel(option_r18))("disabled", ctx_r1.isOptionDisabled(option_r18))("template", ctx_r1.itemTemplate)("checkiconTemplate", ctx_r1.checkiconTemplate)("itemcheckboxiconTemplate", ctx_r1.itemcheckboxiconTemplate)("itemSize", scrollerOptions_r21.itemSize)("focused", ctx_r1.focusedOptionIndex() === ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("ariaPosInset", ctx_r1.getAriaPosInset(ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21)))("ariaSetSize", ctx_r1.ariaSetSize)("variant", ctx_r1.variant);
|
869
885
|
} }
|
870
886
|
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
871
887
|
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 20)(1, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template, 2, 13, "ng-container", 20);
|
@@ -889,7 +905,7 @@ function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template(rf
|
|
889
905
|
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 32);
|
890
906
|
} if (rf & 2) {
|
891
907
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
892
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
908
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyfilterTemplate || ctx_r1.emptyTemplate);
|
893
909
|
} }
|
894
910
|
function MultiSelect_ng_template_14_ng_template_8_li_3_Template(rf, ctx) { if (rf & 1) {
|
895
911
|
i0.ɵɵelementStart(0, "li", 62);
|
@@ -900,7 +916,7 @@ function MultiSelect_ng_template_14_ng_template_8_li_3_Template(rf, ctx) { if (r
|
|
900
916
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
901
917
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r21.itemSize + "px"));
|
902
918
|
i0.ɵɵadvance();
|
903
|
-
i0.ɵɵconditional(!ctx_r1.
|
919
|
+
i0.ɵɵconditional(!ctx_r1.emptyfilterTemplate && !ctx_r1.emptyTemplate ? 1 : 2);
|
904
920
|
} }
|
905
921
|
function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
906
922
|
i0.ɵɵtext(0);
|
@@ -1011,8 +1027,8 @@ class MultiSelectItem extends BaseComponent {
|
|
1011
1027
|
ariaSetSize;
|
1012
1028
|
variant;
|
1013
1029
|
template;
|
1014
|
-
|
1015
|
-
|
1030
|
+
checkiconTemplate;
|
1031
|
+
itemcheckboxiconTemplate;
|
1016
1032
|
onClick = new EventEmitter();
|
1017
1033
|
onMouseEnter = new EventEmitter();
|
1018
1034
|
onOptionClick(event) {
|
@@ -1032,7 +1048,7 @@ class MultiSelectItem extends BaseComponent {
|
|
1032
1048
|
});
|
1033
1049
|
}
|
1034
1050
|
static ɵfac = /*@__PURE__*/ (() => { let ɵMultiSelectItem_BaseFactory; return function MultiSelectItem_Factory(__ngFactoryType__) { return (ɵMultiSelectItem_BaseFactory || (ɵMultiSelectItem_BaseFactory = i0.ɵɵgetInheritedFactory(MultiSelectItem)))(__ngFactoryType__ || MultiSelectItem); }; })();
|
1035
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiSelectItem, selectors: [["p-multiSelectItem"], ["p-multiselect-item"]], inputs: { id: "id", option: "option", selected: [2, "selected", "selected", booleanAttribute], label: "label", disabled: [2, "disabled", "disabled", booleanAttribute], itemSize: [2, "itemSize", "itemSize", numberAttribute], focused: [2, "focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", variant: "variant", template: "template",
|
1051
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiSelectItem, selectors: [["p-multiSelectItem"], ["p-multiselect-item"]], inputs: { id: "id", option: "option", selected: [2, "selected", "selected", booleanAttribute], label: "label", disabled: [2, "disabled", "disabled", booleanAttribute], itemSize: [2, "itemSize", "itemSize", numberAttribute], focused: [2, "focused", "focused", booleanAttribute], ariaPosInset: "ariaPosInset", ariaSetSize: "ariaSetSize", variant: "variant", template: "template", checkiconTemplate: "checkiconTemplate", itemcheckboxiconTemplate: "itemcheckboxiconTemplate" }, outputs: { onClick: "onClick", onMouseEnter: "onMouseEnter" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 5, vars: 26, consts: [["icon", ""], ["pRipple", "", "role", "option", 3, "click", "mouseenter", "ngStyle", "ngClass", "id"], [3, "ngModel", "binary", "tabindex", "variant"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function MultiSelectItem_Template(rf, ctx) { if (rf & 1) {
|
1036
1052
|
i0.ɵɵelementStart(0, "li", 1);
|
1037
1053
|
i0.ɵɵlistener("click", function MultiSelectItem_Template_li_click_0_listener($event) { return ctx.onOptionClick($event); })("mouseenter", function MultiSelectItem_Template_li_mouseenter_0_listener($event) { return ctx.onOptionMouseEnter($event); });
|
1038
1054
|
i0.ɵɵelementStart(1, "p-checkbox", 2);
|
@@ -1046,7 +1062,7 @@ class MultiSelectItem extends BaseComponent {
|
|
1046
1062
|
i0.ɵɵadvance();
|
1047
1063
|
i0.ɵɵproperty("ngModel", ctx.selected)("binary", true)("tabindex", -1)("variant", ctx.variant);
|
1048
1064
|
i0.ɵɵadvance();
|
1049
|
-
i0.ɵɵproperty("ngIf", ctx.
|
1065
|
+
i0.ɵɵproperty("ngIf", ctx.itemcheckboxiconTemplate);
|
1050
1066
|
i0.ɵɵadvance();
|
1051
1067
|
i0.ɵɵproperty("ngIf", !ctx.template);
|
1052
1068
|
i0.ɵɵadvance();
|
@@ -1082,9 +1098,9 @@ class MultiSelectItem extends BaseComponent {
|
|
1082
1098
|
(mouseenter)="onOptionMouseEnter($event)"
|
1083
1099
|
>
|
1084
1100
|
<p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant">
|
1085
|
-
<ng-container *ngIf="
|
1101
|
+
<ng-container *ngIf="itemcheckboxiconTemplate">
|
1086
1102
|
<ng-template #icon let-class="class">
|
1087
|
-
<ng-template *ngTemplateOutlet="
|
1103
|
+
<ng-template *ngTemplateOutlet="itemcheckboxiconTemplate; context: { checked: selected, class: class }"></ng-template>
|
1088
1104
|
</ng-template>
|
1089
1105
|
</ng-container>
|
1090
1106
|
</p-checkbox>
|
@@ -1120,9 +1136,9 @@ class MultiSelectItem extends BaseComponent {
|
|
1120
1136
|
type: Input
|
1121
1137
|
}], template: [{
|
1122
1138
|
type: Input
|
1123
|
-
}],
|
1139
|
+
}], checkiconTemplate: [{
|
1124
1140
|
type: Input
|
1125
|
-
}],
|
1141
|
+
}], itemcheckboxiconTemplate: [{
|
1126
1142
|
type: Input
|
1127
1143
|
}], onClick: [{
|
1128
1144
|
type: Output
|
@@ -1575,7 +1591,7 @@ class MultiSelect extends BaseComponent {
|
|
1575
1591
|
* Whether to focus on the first visible or selected element when the overlay panel is shown.
|
1576
1592
|
* @group Props
|
1577
1593
|
*/
|
1578
|
-
autoOptionFocus =
|
1594
|
+
autoOptionFocus = false;
|
1579
1595
|
/**
|
1580
1596
|
* Callback to invoke when value changes.
|
1581
1597
|
* @param {MultiSelectChangeEvent} event - Custom change event.
|
@@ -1675,18 +1691,21 @@ class MultiSelect extends BaseComponent {
|
|
1675
1691
|
headerTemplate;
|
1676
1692
|
filterTemplate;
|
1677
1693
|
footerTemplate;
|
1678
|
-
|
1694
|
+
emptyfilterTemplate;
|
1679
1695
|
emptyTemplate;
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1696
|
+
selecteditemsTemplate;
|
1697
|
+
checkiconTemplate;
|
1698
|
+
loadingiconTemplate;
|
1699
|
+
filtericonTemplate;
|
1700
|
+
removetokeniconTemplate;
|
1701
|
+
chipiconTemplate;
|
1702
|
+
cleariconTemplate;
|
1703
|
+
dropdowniconTemplate;
|
1704
|
+
itemcheckboxiconTemplate;
|
1705
|
+
headercheckboxiconTemplate;
|
1706
|
+
ngAfterContentInit() {
|
1707
|
+
super.ngAfterContentInit();
|
1708
|
+
}
|
1690
1709
|
headerCheckboxFocus;
|
1691
1710
|
filterOptions;
|
1692
1711
|
preventModelTouched;
|
@@ -1844,70 +1863,6 @@ class MultiSelect extends BaseComponent {
|
|
1844
1863
|
maxSelectionLimitReached() {
|
1845
1864
|
return this.selectionLimit && this.modelValue() && this.modelValue().length === this.selectionLimit;
|
1846
1865
|
}
|
1847
|
-
ngAfterContentInit() {
|
1848
|
-
this.templates.forEach((item) => {
|
1849
|
-
switch (item.getType()) {
|
1850
|
-
case 'item':
|
1851
|
-
this.itemTemplate = item.template;
|
1852
|
-
break;
|
1853
|
-
case 'group':
|
1854
|
-
this.groupTemplate = item.template;
|
1855
|
-
break;
|
1856
|
-
case 'selectedItems':
|
1857
|
-
this.selectedItemsTemplate = item.template;
|
1858
|
-
break;
|
1859
|
-
case 'header':
|
1860
|
-
this.headerTemplate = item.template;
|
1861
|
-
break;
|
1862
|
-
case 'filter':
|
1863
|
-
this.filterTemplate = item.template;
|
1864
|
-
break;
|
1865
|
-
case 'emptyfilter':
|
1866
|
-
this.emptyFilterTemplate = item.template;
|
1867
|
-
break;
|
1868
|
-
case 'empty':
|
1869
|
-
this.emptyTemplate = item.template;
|
1870
|
-
break;
|
1871
|
-
case 'footer':
|
1872
|
-
this.footerTemplate = item.template;
|
1873
|
-
break;
|
1874
|
-
case 'loader':
|
1875
|
-
this.loaderTemplate = item.template;
|
1876
|
-
break;
|
1877
|
-
case 'checkicon':
|
1878
|
-
this.checkIconTemplate = item.template;
|
1879
|
-
console.log('checkicon is deprecated and will removed in v18. Use itemcheckboxicon or headercheckboxicon templates instead.');
|
1880
|
-
break;
|
1881
|
-
case 'headercheckboxicon':
|
1882
|
-
this.headerCheckboxIconTemplate = item.template;
|
1883
|
-
break;
|
1884
|
-
case 'loadingicon':
|
1885
|
-
this.loadingIconTemplate = item.template;
|
1886
|
-
break;
|
1887
|
-
case 'filtericon':
|
1888
|
-
this.filterIconTemplate = item.template;
|
1889
|
-
break;
|
1890
|
-
case 'removetokenicon':
|
1891
|
-
this.removeTokenIconTemplate = item.template;
|
1892
|
-
break;
|
1893
|
-
case 'chipicon':
|
1894
|
-
this.chipIconTemplate = item.template;
|
1895
|
-
break;
|
1896
|
-
case 'clearicon':
|
1897
|
-
this.clearIconTemplate = item.template;
|
1898
|
-
break;
|
1899
|
-
case 'dropdownicon':
|
1900
|
-
this.dropdownIconTemplate = item.template;
|
1901
|
-
break;
|
1902
|
-
case 'itemcheckboxicon':
|
1903
|
-
this.itemCheckboxIconTemplate = item.template;
|
1904
|
-
break;
|
1905
|
-
default:
|
1906
|
-
this.itemTemplate = item.template;
|
1907
|
-
break;
|
1908
|
-
}
|
1909
|
-
});
|
1910
|
-
}
|
1911
1866
|
ngAfterViewInit() {
|
1912
1867
|
super.ngOnInit();
|
1913
1868
|
if (this.overlayVisible) {
|
@@ -2478,7 +2433,7 @@ class MultiSelect extends BaseComponent {
|
|
2478
2433
|
*/
|
2479
2434
|
show(isFocus) {
|
2480
2435
|
this.overlayVisible = true;
|
2481
|
-
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() :
|
2436
|
+
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
|
2482
2437
|
this.focusedOptionIndex.set(focusedOptionIndex);
|
2483
2438
|
if (isFocus) {
|
2484
2439
|
focus(this.focusInputViewChild?.nativeElement);
|
@@ -2674,19 +2629,55 @@ class MultiSelect extends BaseComponent {
|
|
2674
2629
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiSelect, selectors: [["p-multiSelect"], ["p-multiselect"], ["p-multi-select"]], contentQueries: function MultiSelect_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
2675
2630
|
i0.ɵɵcontentQuery(dirIndex, Footer, 5);
|
2676
2631
|
i0.ɵɵcontentQuery(dirIndex, Header, 5);
|
2632
|
+
i0.ɵɵcontentQuery(dirIndex, _c4, 5);
|
2633
|
+
i0.ɵɵcontentQuery(dirIndex, _c5, 5);
|
2634
|
+
i0.ɵɵcontentQuery(dirIndex, _c6, 5);
|
2635
|
+
i0.ɵɵcontentQuery(dirIndex, _c7, 5);
|
2636
|
+
i0.ɵɵcontentQuery(dirIndex, _c8, 5);
|
2637
|
+
i0.ɵɵcontentQuery(dirIndex, _c9, 5);
|
2638
|
+
i0.ɵɵcontentQuery(dirIndex, _c10, 5);
|
2639
|
+
i0.ɵɵcontentQuery(dirIndex, _c11, 5);
|
2640
|
+
i0.ɵɵcontentQuery(dirIndex, _c12, 5);
|
2641
|
+
i0.ɵɵcontentQuery(dirIndex, _c13, 5);
|
2642
|
+
i0.ɵɵcontentQuery(dirIndex, _c14, 5);
|
2643
|
+
i0.ɵɵcontentQuery(dirIndex, _c15, 5);
|
2644
|
+
i0.ɵɵcontentQuery(dirIndex, _c16, 5);
|
2645
|
+
i0.ɵɵcontentQuery(dirIndex, _c17, 5);
|
2646
|
+
i0.ɵɵcontentQuery(dirIndex, _c18, 5);
|
2647
|
+
i0.ɵɵcontentQuery(dirIndex, _c19, 5);
|
2648
|
+
i0.ɵɵcontentQuery(dirIndex, _c20, 5);
|
2649
|
+
i0.ɵɵcontentQuery(dirIndex, _c21, 5);
|
2677
2650
|
} if (rf & 2) {
|
2678
2651
|
let _t;
|
2679
2652
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerFacet = _t.first);
|
2680
2653
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerFacet = _t.first);
|
2654
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
|
2655
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);
|
2656
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);
|
2657
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
|
2658
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);
|
2659
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
|
2660
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyfilterTemplate = _t.first);
|
2661
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);
|
2662
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selecteditemsTemplate = _t.first);
|
2663
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkiconTemplate = _t.first);
|
2664
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loadingiconTemplate = _t.first);
|
2665
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filtericonTemplate = _t.first);
|
2666
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.removetokeniconTemplate = _t.first);
|
2667
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chipiconTemplate = _t.first);
|
2668
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.cleariconTemplate = _t.first);
|
2669
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdowniconTemplate = _t.first);
|
2670
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemcheckboxiconTemplate = _t.first);
|
2671
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headercheckboxiconTemplate = _t.first);
|
2681
2672
|
} }, viewQuery: function MultiSelect_Query(rf, ctx) { if (rf & 1) {
|
2682
|
-
i0.ɵɵviewQuery(
|
2683
|
-
i0.ɵɵviewQuery(
|
2684
|
-
i0.ɵɵviewQuery(
|
2685
|
-
i0.ɵɵviewQuery(
|
2686
|
-
i0.ɵɵviewQuery(
|
2687
|
-
i0.ɵɵviewQuery(
|
2688
|
-
i0.ɵɵviewQuery(
|
2689
|
-
i0.ɵɵviewQuery(
|
2673
|
+
i0.ɵɵviewQuery(_c22, 5);
|
2674
|
+
i0.ɵɵviewQuery(_c23, 5);
|
2675
|
+
i0.ɵɵviewQuery(_c24, 5);
|
2676
|
+
i0.ɵɵviewQuery(_c25, 5);
|
2677
|
+
i0.ɵɵviewQuery(_c26, 5);
|
2678
|
+
i0.ɵɵviewQuery(_c27, 5);
|
2679
|
+
i0.ɵɵviewQuery(_c28, 5);
|
2680
|
+
i0.ɵɵviewQuery(_c29, 5);
|
2690
2681
|
} if (rf & 2) {
|
2691
2682
|
let _t;
|
2692
2683
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);
|
@@ -2703,9 +2694,9 @@ class MultiSelect extends BaseComponent {
|
|
2703
2694
|
i0.ɵɵattribute("id", ctx.id);
|
2704
2695
|
i0.ɵɵstyleMap(ctx.style);
|
2705
2696
|
i0.ɵɵclassMap(ctx.hostClasses);
|
2706
|
-
} }, inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: [2, "disabled", "disabled", booleanAttribute], fluid: [2, "fluid", "fluid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], group: [2, "group", "group", booleanAttribute], filter: [2, "filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: [2, "overlayVisible", "overlayVisible", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: [2, "selectionLimit", "selectionLimit", numberAttribute], selectedItemsLabel: "selectedItemsLabel", showToggleAll: [2, "showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: [2, "resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", chipIcon: "chipIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: [2, "showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], loading: [2, "loading", "loading", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: [2, "autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", size: "size", showClear: [2, "showClear", "showClear", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: [2, "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" }, standalone: true, features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors:
|
2697
|
+
} }, inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: [2, "disabled", "disabled", booleanAttribute], fluid: [2, "fluid", "fluid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], group: [2, "group", "group", booleanAttribute], filter: [2, "filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: [2, "overlayVisible", "overlayVisible", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: [2, "selectionLimit", "selectionLimit", numberAttribute], selectedItemsLabel: "selectedItemsLabel", showToggleAll: [2, "showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: [2, "resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", chipIcon: "chipIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: [2, "showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], loading: [2, "loading", "loading", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: [2, "autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", size: "size", showClear: [2, "showClear", "showClear", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: [2, "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" }, standalone: true, features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c31, decls: 16, vars: 39, consts: [["focusInput", ""], ["elseBlock", ""], ["overlay", ""], ["content", ""], ["token", ""], ["removeicon", ""], ["firstHiddenFocusableEl", ""], ["buildInItems", ""], ["lastHiddenFocusableEl", ""], ["builtInFilterElement", ""], ["headerCheckbox", ""], ["checkboxicon", ""], ["filterInput", ""], ["scroller", ""], ["loader", ""], ["items", ""], [1, "p-hidden-accessible"], ["role", "combobox", 3, "focus", "blur", "keydown", "pTooltip", "tooltipPosition", "positionStyle", "tooltipStyleClass", "pAutoFocus"], [1, "p-multiselect-label-container", 3, "mouseleave", "pTooltip", "tooltipDisabled", "tooltipPosition", "positionStyle", "tooltipStyleClass"], [3, "ngClass"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-multiselect-dropdown"], [4, "ngIf", "ngIfElse"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions"], ["class", "p-multiselect-chip-item", 4, "ngFor", "ngForOf"], [1, "p-multiselect-chip-item"], ["styleClass", "p-multiselect-chip", 3, "onRemove", "label", "removable", "removeIcon"], ["class", "p-multiselect-chip-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-chip-icon", 3, "click"], ["class", "p-multiselect-clear-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], ["aria-hidden", "true", 3, "class", 4, "ngIf"], ["aria-hidden", "true", 3, "ngClass"], ["aria-hidden", "true"], ["class", "p-multiselect-dropdown-icon", 4, "ngIf"], ["class", "p-multiselect-dropdown-icon", 3, "ngClass", 4, "ngIf"], [3, "styleClass", 4, "ngIf"], [1, "p-multiselect-dropdown-icon", 3, "ngClass"], [3, "styleClass"], [1, "p-multiselect-dropdown-icon"], [3, "ngClass", "ngStyle"], ["role", "presentation", 1, "p-hidden-accessible", "p-hidden-focusable", 3, "focus"], ["class", "p-multiselect-header", 4, "ngIf"], [1, "p-multiselect-list-container"], [3, "items", "style", "itemSize", "autoSize", "tabindex", "lazy", "options", "onLazyLoad", 4, "ngIf"], [1, "p-multiselect-header"], [3, "ngModel", "binary", "variant", "disabled", "onChange", 4, "ngIf"], ["class", "p-multiselect-filter-container", 4, "ngIf"], [3, "onChange", "ngModel", "binary", "variant", "disabled"], [1, "p-multiselect-filter-container"], ["pInputText", "", "type", "text", "role", "searchbox", 1, "p-multiselect-filter", 3, "input", "keydown", "click", "blur", "variant", "value", "disabled"], ["class", "p-multiselect-filter-icon", 4, "ngIf"], [1, "p-multiselect-filter-icon"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "tabindex", "lazy", "options"], ["role", "listbox", "aria-multiselectable", "true", 1, "p-multiselect-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-multiselect-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-multiselect-option-group", 3, "ngStyle"], [3, "onClick", "onMouseEnter", "id", "option", "selected", "label", "disabled", "template", "checkiconTemplate", "itemcheckboxiconTemplate", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant"], ["role", "option", 1, "p-multiselect-empty-message", 3, "ngStyle"]], template: function MultiSelect_Template(rf, ctx) { if (rf & 1) {
|
2707
2698
|
const _r1 = i0.ɵɵgetCurrentView();
|
2708
|
-
i0.ɵɵprojectionDef(
|
2699
|
+
i0.ɵɵprojectionDef(_c30);
|
2709
2700
|
i0.ɵɵelementStart(0, "div", 16)(1, "input", 17, 0);
|
2710
2701
|
i0.ɵɵlistener("focus", function MultiSelect_Template_input_focus_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputFocus($event)); })("blur", function MultiSelect_Template_input_blur_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputBlur($event)); })("keydown", function MultiSelect_Template_input_keydown_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyDown($event)); });
|
2711
2702
|
i0.ɵɵelementEnd()();
|
@@ -2729,15 +2720,15 @@ class MultiSelect extends BaseComponent {
|
|
2729
2720
|
i0.ɵɵattribute("data-p-hidden-accessible", true);
|
2730
2721
|
i0.ɵɵadvance();
|
2731
2722
|
i0.ɵɵproperty("pTooltip", ctx.tooltip)("tooltipPosition", ctx.tooltipPosition)("positionStyle", ctx.tooltipPositionStyle)("tooltipStyleClass", ctx.tooltipStyleClass)("pAutoFocus", ctx.autofocus);
|
2732
|
-
i0.ɵɵattribute("aria-disabled", ctx.disabled)("id", ctx.inputId)("aria-label", ctx.ariaLabel)("aria-labelledby", ctx.ariaLabelledBy)("aria-haspopup", "listbox")("aria-expanded", (tmp_15_0 = ctx.overlayVisible) !== null && tmp_15_0 !== undefined ? tmp_15_0 : false)("aria-controls", ctx.overlayVisible ? ctx.id + "_list" : null)("tabindex", !ctx.disabled ? ctx.tabindex : -1)("aria-activedescendant", ctx.focused ? ctx.focusedOptionId : undefined);
|
2723
|
+
i0.ɵɵattribute("aria-disabled", ctx.disabled)("id", ctx.inputId)("aria-label", ctx.ariaLabel)("aria-labelledby", ctx.ariaLabelledBy)("aria-haspopup", "listbox")("aria-expanded", (tmp_15_0 = ctx.overlayVisible) !== null && tmp_15_0 !== undefined ? tmp_15_0 : false)("aria-controls", ctx.overlayVisible ? ctx.id + "_list" : null)("tabindex", !ctx.disabled ? ctx.tabindex : -1)("aria-activedescendant", ctx.focused ? ctx.focusedOptionId : undefined)("value", ctx.label() || "empty");
|
2733
2724
|
i0.ɵɵadvance(2);
|
2734
2725
|
i0.ɵɵproperty("pTooltip", ctx.tooltip)("tooltipDisabled", ctx._disableTooltip)("tooltipPosition", ctx.tooltipPosition)("positionStyle", ctx.tooltipPositionStyle)("tooltipStyleClass", ctx.tooltipStyleClass);
|
2735
2726
|
i0.ɵɵadvance();
|
2736
2727
|
i0.ɵɵproperty("ngClass", ctx.labelClass);
|
2737
2728
|
i0.ɵɵadvance();
|
2738
|
-
i0.ɵɵproperty("ngIf", !ctx.
|
2729
|
+
i0.ɵɵproperty("ngIf", !ctx.selecteditemsTemplate);
|
2739
2730
|
i0.ɵɵadvance();
|
2740
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.
|
2731
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.selecteditemsTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(36, _c32, ctx.selectedOptions, ctx.removeOption.bind(ctx)));
|
2741
2732
|
i0.ɵɵadvance();
|
2742
2733
|
i0.ɵɵproperty("ngIf", ctx.isVisibleClearIcon);
|
2743
2734
|
i0.ɵɵadvance(2);
|
@@ -2745,50 +2736,14 @@ class MultiSelect extends BaseComponent {
|
|
2745
2736
|
i0.ɵɵadvance(3);
|
2746
2737
|
i0.ɵɵtwoWayProperty("visible", ctx.overlayVisible);
|
2747
2738
|
i0.ɵɵproperty("options", ctx.overlayOptions)("target", "@parent")("appendTo", ctx.appendTo)("autoZIndex", ctx.autoZIndex)("baseZIndex", ctx.baseZIndex)("showTransitionOptions", ctx.showTransitionOptions)("hideTransitionOptions", ctx.hideTransitionOptions);
|
2748
|
-
} }, dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, MultiSelectItem, Overlay,
|
2749
|
-
SharedModule,
|
2750
|
-
Tooltip,
|
2751
|
-
Scroller,
|
2752
|
-
AutoFocus,
|
2753
|
-
CheckIcon,
|
2754
|
-
SearchIcon,
|
2755
|
-
TimesIcon,
|
2756
|
-
ChevronDownIcon,
|
2757
|
-
IconField,
|
2758
|
-
InputIcon,
|
2759
|
-
InputText,
|
2760
|
-
Chip,
|
2761
|
-
Checkbox,
|
2762
|
-
FormsModule, i2.NgControlStatus, i2.NgModel], encapsulation: 2, changeDetection: 0 });
|
2739
|
+
} }, dependencies: [CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, MultiSelectItem, Overlay, SharedModule, Tooltip, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule, i2.NgControlStatus, i2.NgModel], encapsulation: 2, changeDetection: 0 });
|
2763
2740
|
}
|
2764
2741
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelect, [{
|
2765
2742
|
type: Component,
|
2766
2743
|
args: [{
|
2767
2744
|
selector: 'p-multiSelect, p-multiselect, p-multi-select',
|
2768
2745
|
standalone: true,
|
2769
|
-
imports: [
|
2770
|
-
CommonModule,
|
2771
|
-
MultiSelectItem,
|
2772
|
-
Overlay,
|
2773
|
-
SharedModule,
|
2774
|
-
Tooltip,
|
2775
|
-
Ripple,
|
2776
|
-
Scroller,
|
2777
|
-
AutoFocus,
|
2778
|
-
CheckIcon,
|
2779
|
-
SearchIcon,
|
2780
|
-
TimesCircleIcon,
|
2781
|
-
TimesIcon,
|
2782
|
-
ChevronDownIcon,
|
2783
|
-
CheckIcon,
|
2784
|
-
MinusIcon,
|
2785
|
-
IconField,
|
2786
|
-
InputIcon,
|
2787
|
-
InputText,
|
2788
|
-
Chip,
|
2789
|
-
Checkbox,
|
2790
|
-
FormsModule
|
2791
|
-
],
|
2746
|
+
imports: [CommonModule, MultiSelectItem, Overlay, SharedModule, Tooltip, Ripple, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesCircleIcon, TimesIcon, ChevronDownIcon, MinusIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule],
|
2792
2747
|
template: `
|
2793
2748
|
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
2794
2749
|
<input
|
@@ -2811,6 +2766,7 @@ class MultiSelect extends BaseComponent {
|
|
2811
2766
|
(blur)="onInputBlur($event)"
|
2812
2767
|
(keydown)="onKeyDown($event)"
|
2813
2768
|
[pAutoFocus]="autofocus"
|
2769
|
+
[attr.value]="label() || 'empty'"
|
2814
2770
|
/>
|
2815
2771
|
</div>
|
2816
2772
|
<div
|
@@ -2823,16 +2779,16 @@ class MultiSelect extends BaseComponent {
|
|
2823
2779
|
[tooltipStyleClass]="tooltipStyleClass"
|
2824
2780
|
>
|
2825
2781
|
<div [ngClass]="labelClass">
|
2826
|
-
<ng-container *ngIf="!
|
2782
|
+
<ng-container *ngIf="!selecteditemsTemplate">
|
2827
2783
|
<ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
|
2828
2784
|
<ng-container *ngIf="display === 'chip'">
|
2829
2785
|
<div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-chip-item">
|
2830
2786
|
<p-chip styleClass="p-multiselect-chip" [label]="getLabelByValue(item)" [removable]="true" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
|
2831
|
-
<ng-container *ngIf="
|
2787
|
+
<ng-container *ngIf="chipiconTemplate || removetokeniconTemplate">
|
2832
2788
|
<ng-template #removeicon>
|
2833
2789
|
<ng-container *ngIf="!disabled">
|
2834
|
-
<span class="p-multiselect-chip-icon" *ngIf="
|
2835
|
-
<ng-container *ngTemplateOutlet="
|
2790
|
+
<span class="p-multiselect-chip-icon" *ngIf="chipiconTemplate || removetokeniconTemplate" (click)="removeOption(item, $event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
2791
|
+
<ng-container *ngTemplateOutlet="chipiconTemplate || removetokeniconTemplate; context: { class: 'p-multiselect-chip-icon' }"></ng-container>
|
2836
2792
|
</span>
|
2837
2793
|
</ng-container>
|
2838
2794
|
</ng-template>
|
@@ -2842,32 +2798,32 @@ class MultiSelect extends BaseComponent {
|
|
2842
2798
|
<ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
|
2843
2799
|
</ng-container>
|
2844
2800
|
</ng-container>
|
2845
|
-
<ng-container *ngTemplateOutlet="
|
2801
|
+
<ng-container *ngTemplateOutlet="selecteditemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
|
2846
2802
|
</div>
|
2847
2803
|
</div>
|
2848
2804
|
<ng-container *ngIf="isVisibleClearIcon">
|
2849
|
-
<TimesIcon *ngIf="!
|
2850
|
-
<span *ngIf="
|
2851
|
-
<ng-template *ngTemplateOutlet="
|
2805
|
+
<TimesIcon *ngIf="!cleariconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
|
2806
|
+
<span *ngIf="cleariconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
2807
|
+
<ng-template *ngTemplateOutlet="cleariconTemplate"></ng-template>
|
2852
2808
|
</span>
|
2853
2809
|
</ng-container>
|
2854
2810
|
<div class="p-multiselect-dropdown">
|
2855
2811
|
<ng-container *ngIf="loading; else elseBlock">
|
2856
|
-
<ng-container *ngIf="
|
2857
|
-
<ng-container *ngTemplateOutlet="
|
2812
|
+
<ng-container *ngIf="loadingiconTemplate">
|
2813
|
+
<ng-container *ngTemplateOutlet="loadingiconTemplate"></ng-container>
|
2858
2814
|
</ng-container>
|
2859
|
-
<ng-container *ngIf="!
|
2815
|
+
<ng-container *ngIf="!loadingiconTemplate">
|
2860
2816
|
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
2861
2817
|
<span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
2862
2818
|
</ng-container>
|
2863
2819
|
</ng-container>
|
2864
2820
|
<ng-template #elseBlock>
|
2865
|
-
<ng-container *ngIf="!
|
2821
|
+
<ng-container *ngIf="!dropdowniconTemplate">
|
2866
2822
|
<span *ngIf="dropdownIcon" class="p-multiselect-dropdown-icon" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
|
2867
2823
|
<ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-multiselect-dropdown-icon'" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
|
2868
2824
|
</ng-container>
|
2869
|
-
<span *ngIf="
|
2870
|
-
<ng-template *ngTemplateOutlet="
|
2825
|
+
<span *ngIf="dropdowniconTemplate" class="p-multiselect-dropdown-icon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
|
2826
|
+
<ng-template *ngTemplateOutlet="dropdowniconTemplate"></ng-template>
|
2871
2827
|
</span>
|
2872
2828
|
</ng-template>
|
2873
2829
|
</div>
|
@@ -2904,11 +2860,11 @@ class MultiSelect extends BaseComponent {
|
|
2904
2860
|
</ng-container>
|
2905
2861
|
<ng-template #builtInFilterElement>
|
2906
2862
|
<p-checkbox [ngModel]="allSelected()" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
|
2907
|
-
<ng-template #
|
2908
|
-
<CheckIcon *ngIf="!
|
2863
|
+
<ng-template #checkboxicon let-class="class">
|
2864
|
+
<CheckIcon *ngIf="!headercheckboxiconTemplate && allSelected()" [styleClass]="class" [attr.data-pc-section]="'icon'" />
|
2909
2865
|
<ng-template
|
2910
2866
|
*ngTemplateOutlet="
|
2911
|
-
|
2867
|
+
headercheckboxiconTemplate;
|
2912
2868
|
context: {
|
2913
2869
|
checked: allSelected(),
|
2914
2870
|
partialSelected: partialSelected(),
|
@@ -2941,9 +2897,9 @@ class MultiSelect extends BaseComponent {
|
|
2941
2897
|
[attr.aria-label]="ariaFilterLabel"
|
2942
2898
|
/>
|
2943
2899
|
<p-inputicon>
|
2944
|
-
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!
|
2945
|
-
<span *ngIf="
|
2946
|
-
<ng-template *ngTemplateOutlet="
|
2900
|
+
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filtericonTemplate" />
|
2901
|
+
<span *ngIf="filtericonTemplate" class="p-multiselect-filter-icon">
|
2902
|
+
<ng-template *ngTemplateOutlet="filtericonTemplate"></ng-template>
|
2947
2903
|
</span>
|
2948
2904
|
</p-inputicon>
|
2949
2905
|
</p-iconfield>
|
@@ -2993,8 +2949,8 @@ class MultiSelect extends BaseComponent {
|
|
2993
2949
|
[label]="getOptionLabel(option)"
|
2994
2950
|
[disabled]="isOptionDisabled(option)"
|
2995
2951
|
[template]="itemTemplate"
|
2996
|
-
[
|
2997
|
-
[
|
2952
|
+
[checkiconTemplate]="checkiconTemplate"
|
2953
|
+
[itemcheckboxiconTemplate]="itemcheckboxiconTemplate"
|
2998
2954
|
[itemSize]="scrollerOptions.itemSize"
|
2999
2955
|
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
3000
2956
|
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
@@ -3007,10 +2963,10 @@ class MultiSelect extends BaseComponent {
|
|
3007
2963
|
</ng-template>
|
3008
2964
|
|
3009
2965
|
<li *ngIf="hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
3010
|
-
@if (!
|
2966
|
+
@if (!emptyfilterTemplate && !emptyTemplate) {
|
3011
2967
|
{{ emptyFilterMessageLabel }}
|
3012
2968
|
} @else {
|
3013
|
-
<ng-container *ngTemplateOutlet="
|
2969
|
+
<ng-container *ngTemplateOutlet="emptyfilterTemplate || emptyTemplate"></ng-container>
|
3014
2970
|
}
|
3015
2971
|
</li>
|
3016
2972
|
<li *ngIf="!hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
@@ -3267,6 +3223,60 @@ class MultiSelect extends BaseComponent {
|
|
3267
3223
|
}], headerFacet: [{
|
3268
3224
|
type: ContentChild,
|
3269
3225
|
args: [Header]
|
3226
|
+
}], itemTemplate: [{
|
3227
|
+
type: ContentChild,
|
3228
|
+
args: ['item']
|
3229
|
+
}], groupTemplate: [{
|
3230
|
+
type: ContentChild,
|
3231
|
+
args: ['group']
|
3232
|
+
}], loaderTemplate: [{
|
3233
|
+
type: ContentChild,
|
3234
|
+
args: ['loader']
|
3235
|
+
}], headerTemplate: [{
|
3236
|
+
type: ContentChild,
|
3237
|
+
args: ['header']
|
3238
|
+
}], filterTemplate: [{
|
3239
|
+
type: ContentChild,
|
3240
|
+
args: ['filter']
|
3241
|
+
}], footerTemplate: [{
|
3242
|
+
type: ContentChild,
|
3243
|
+
args: ['footer']
|
3244
|
+
}], emptyfilterTemplate: [{
|
3245
|
+
type: ContentChild,
|
3246
|
+
args: ['emptyfilter']
|
3247
|
+
}], emptyTemplate: [{
|
3248
|
+
type: ContentChild,
|
3249
|
+
args: ['empty']
|
3250
|
+
}], selecteditemsTemplate: [{
|
3251
|
+
type: ContentChild,
|
3252
|
+
args: ['selecteditems']
|
3253
|
+
}], checkiconTemplate: [{
|
3254
|
+
type: ContentChild,
|
3255
|
+
args: ['checkicon']
|
3256
|
+
}], loadingiconTemplate: [{
|
3257
|
+
type: ContentChild,
|
3258
|
+
args: ['loadingicon']
|
3259
|
+
}], filtericonTemplate: [{
|
3260
|
+
type: ContentChild,
|
3261
|
+
args: ['filtericon']
|
3262
|
+
}], removetokeniconTemplate: [{
|
3263
|
+
type: ContentChild,
|
3264
|
+
args: ['removetokenicon']
|
3265
|
+
}], chipiconTemplate: [{
|
3266
|
+
type: ContentChild,
|
3267
|
+
args: ['chipicon']
|
3268
|
+
}], cleariconTemplate: [{
|
3269
|
+
type: ContentChild,
|
3270
|
+
args: ['clearicon']
|
3271
|
+
}], dropdowniconTemplate: [{
|
3272
|
+
type: ContentChild,
|
3273
|
+
args: ['dropdownicon']
|
3274
|
+
}], itemcheckboxiconTemplate: [{
|
3275
|
+
type: ContentChild,
|
3276
|
+
args: ['itemcheckboxicon']
|
3277
|
+
}], headercheckboxiconTemplate: [{
|
3278
|
+
type: ContentChild,
|
3279
|
+
args: ['headercheckboxicon']
|
3270
3280
|
}], hostClasses: [{
|
3271
3281
|
type: HostBinding,
|
3272
3282
|
args: ['class']
|