primeng 18.0.0-rc.1 → 18.0.0
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/LICENSE.md +1 -1
- 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 +6 -7
- 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/config/primeng.d.ts +12 -6
- package/config/provideprimeng.d.ts +1 -12
- package/config/themeprovider.d.ts +10 -4
- package/confirmdialog/confirmdialog.d.ts +4 -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 +272 -308
- package/esm2022/autocomplete/style/autocompletestyle.mjs +16 -15
- 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 +115 -115
- 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/colorpicker.mjs +2 -2
- package/esm2022/colorpicker/style/colorpickerstyle.mjs +29 -1
- package/esm2022/config/primeng.mjs +14 -18
- package/esm2022/config/provideprimeng.mjs +11 -3
- package/esm2022/config/themeprovider.mjs +10 -16
- package/esm2022/confirmdialog/confirmdialog.mjs +26 -18
- package/esm2022/confirmpopup/confirmpopup.mjs +45 -36
- package/esm2022/contextmenu/contextmenu.mjs +13 -13
- package/esm2022/contextmenu/style/contextmenustyle.mjs +11 -1
- package/esm2022/dataview/dataview.mjs +39 -113
- package/esm2022/datepicker/datepicker.mjs +93 -93
- package/esm2022/datepicker/style/datepickerstyle.mjs +23 -16
- package/esm2022/defer/defer.mjs +7 -1
- package/esm2022/dialog/dialog.mjs +44 -43
- 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 +11 -11
- 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/dynamicdialog/dialogservice.mjs +2 -2
- 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 +37 -70
- 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 +13 -13
- package/esm2022/inputmask/style/inputmaskstyle.mjs +14 -7
- package/esm2022/inputnumber/inputnumber.mjs +44 -46
- package/esm2022/inputnumber/style/inputnumberstyle.mjs +27 -19
- package/esm2022/inputotp/inputotp.mjs +4 -16
- package/esm2022/inputtext/inputtext.mjs +11 -10
- 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 +47 -29
- 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 -18
- package/esm2022/orderlist/orderlist.mjs +38 -80
- package/esm2022/organizationchart/style/organizationchartstyle.mjs +11 -22
- package/esm2022/overlay/style/overlaystyle.mjs +2 -2
- package/esm2022/overlaypanel/overlaypanel.mjs +25 -25
- 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 +53 -30
- package/esm2022/password/style/passwordstyle.mjs +14 -6
- package/esm2022/picklist/picklist.mjs +136 -112
- package/esm2022/popover/popover.mjs +22 -26
- 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/ripple/ripple.mjs +5 -2
- 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 +70 -116
- package/esm2022/select/style/selectstyle.mjs +14 -23
- package/esm2022/selectbutton/style/selectbuttonstyle.mjs +5 -5
- package/esm2022/sidebar/sidebar.mjs +2 -2
- 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 +79 -29
- package/esm2022/splitter/style/splitterstyle.mjs +5 -4
- 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 +6649 -6669
- 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/textarea/textarea.mjs +9 -9
- package/esm2022/tieredmenu/style/tieredmenustyle.mjs +6 -1
- package/esm2022/tieredmenu/tieredmenu.mjs +13 -13
- 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 +34 -26
- package/esm2022/tree/style/treestyle.mjs +20 -8
- package/esm2022/tree/tree.mjs +138 -97
- package/esm2022/treeselect/style/treeselectstyle.mjs +15 -15
- package/esm2022/treeselect/treeselect.mjs +50 -50
- 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 +286 -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 +118 -118
- 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 +29 -1
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +38 -39
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +25 -17
- 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 +22 -12
- 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 +114 -107
- 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 +64 -42
- 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 +14 -10
- 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-dynamicdialog.mjs +1 -1
- package/fesm2022/primeng-dynamicdialog.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 +42 -75
- 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 +25 -18
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +69 -63
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +3 -15
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +24 -17
- 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 +46 -28
- 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 -218
- 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-overlay.mjs +1 -1
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +24 -24
- 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 +65 -34
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +135 -111
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +21 -25
- 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-ripple.mjs +4 -1
- package/fesm2022/primeng-ripple.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 +82 -137
- 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-sidebar.mjs +1 -1
- package/fesm2022/primeng-sidebar.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 +84 -33
- 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 +6663 -6676
- 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 +16 -14
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +17 -12
- 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 +33 -25
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +156 -103
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +63 -63
- 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/inputtext/inputtext.d.ts +2 -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 +172 -166
- 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 +9 -5
- 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 +11 -5
- package/splitter/style/splitterstyle.d.ts +0 -13
- package/table/table.d.ts +934 -995
- package/tabmenu/tabmenu.d.ts +5 -6
- package/tabview/tabview.d.ts +4 -5
- package/textarea/textarea.d.ts +2 -2
- 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/style/treestyle.d.ts +1 -1
- package/tree/tree.d.ts +9 -7
- 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
|
}
|
@@ -112,9 +120,6 @@ const theme = ({ dt }) => `
|
|
112
120
|
}
|
113
121
|
|
114
122
|
.p-multiselect-overlay {
|
115
|
-
position: absolute;
|
116
|
-
top: 0;
|
117
|
-
left: 0;
|
118
123
|
background: ${dt('multiselect.overlay.background')};
|
119
124
|
color: ${dt('multiselect.overlay.color')};
|
120
125
|
border: 1px solid ${dt('multiselect.overlay.border.color')};
|
@@ -129,7 +134,7 @@ const theme = ({ dt }) => `
|
|
129
134
|
}
|
130
135
|
|
131
136
|
.p-multiselect-header .p-checkbox {
|
132
|
-
margin-
|
137
|
+
margin-inline-end: ${dt('multiselect.option.gap')};
|
133
138
|
}
|
134
139
|
|
135
140
|
.p-multiselect-filter-container {
|
@@ -237,12 +242,6 @@ const theme = ({ dt }) => `
|
|
237
242
|
height: ${dt('multiselect.lg.font.size')};
|
238
243
|
}
|
239
244
|
|
240
|
-
/* For PrimeNG */
|
241
|
-
|
242
|
-
p-multiselect.ng-invalid.ng-dirty {
|
243
|
-
border-color: ${dt('multiselect.invalid.border.color')};
|
244
|
-
}
|
245
|
-
|
246
245
|
.p-multiselect-clear-icon {
|
247
246
|
cursor: pointer;
|
248
247
|
display: flex;
|
@@ -251,10 +250,6 @@ p-multiselect.ng-invalid.ng-dirty {
|
|
251
250
|
flex-shrink: 0;
|
252
251
|
background: transparent;
|
253
252
|
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
253
|
}`;
|
259
254
|
const inlineStyles = {
|
260
255
|
root: ({ props }) => ({ position: props.appendTo === 'self' ? 'relative' : undefined })
|
@@ -277,7 +272,7 @@ const classes = {
|
|
277
272
|
labelContainer: 'p-multiselect-label-container',
|
278
273
|
label: ({ instance }) => ({
|
279
274
|
'p-multiselect-label': true,
|
280
|
-
'p-placeholder': instance.label === instance.placeholder(),
|
275
|
+
'p-placeholder': instance.label() === instance.placeholder(),
|
281
276
|
'p-multiselect-label-empty': !instance.placeholder() && !instance.defaultLabel && (!instance.modelValue() || instance.modelValue().length === 0)
|
282
277
|
}),
|
283
278
|
chipItem: 'p-multiselect-chip-item',
|
@@ -410,7 +405,7 @@ function MultiSelectItem_ng_container_2_ng_template_1_Template(rf, ctx) { if (rf
|
|
410
405
|
} if (rf & 2) {
|
411
406
|
const class_r1 = ctx.class;
|
412
407
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
413
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
408
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.itemcheckboxiconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c3, ctx_r1.selected, class_r1));
|
414
409
|
} }
|
415
410
|
function MultiSelectItem_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
416
411
|
i0.ɵɵelementContainerStart(0);
|
@@ -430,22 +425,40 @@ function MultiSelectItem_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
430
425
|
function MultiSelectItem_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
431
426
|
i0.ɵɵelementContainer(0);
|
432
427
|
} }
|
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 =
|
428
|
+
const _c4 = ["item"];
|
429
|
+
const _c5 = ["group"];
|
430
|
+
const _c6 = ["loader"];
|
431
|
+
const _c7 = ["header"];
|
432
|
+
const _c8 = ["filter"];
|
433
|
+
const _c9 = ["footer"];
|
434
|
+
const _c10 = ["emptyfilter"];
|
435
|
+
const _c11 = ["empty"];
|
436
|
+
const _c12 = ["selecteditems"];
|
437
|
+
const _c13 = ["checkicon"];
|
438
|
+
const _c14 = ["loadingicon"];
|
439
|
+
const _c15 = ["filtericon"];
|
440
|
+
const _c16 = ["removetokenicon"];
|
441
|
+
const _c17 = ["chipicon"];
|
442
|
+
const _c18 = ["clearicon"];
|
443
|
+
const _c19 = ["dropdownicon"];
|
444
|
+
const _c20 = ["itemcheckboxicon"];
|
445
|
+
const _c21 = ["headercheckboxicon"];
|
446
|
+
const _c22 = ["overlay"];
|
447
|
+
const _c23 = ["filterInput"];
|
448
|
+
const _c24 = ["focusInput"];
|
449
|
+
const _c25 = ["items"];
|
450
|
+
const _c26 = ["scroller"];
|
451
|
+
const _c27 = ["lastHiddenFocusableEl"];
|
452
|
+
const _c28 = ["firstHiddenFocusableEl"];
|
453
|
+
const _c29 = ["headerCheckbox"];
|
454
|
+
const _c30 = [[["p-header"]], [["p-footer"]]];
|
455
|
+
const _c31 = ["p-header", "p-footer"];
|
456
|
+
const _c32 = (a0, a1) => ({ $implicit: a0, removeChip: a1 });
|
457
|
+
const _c33 = () => ({ class: "p-multiselect-chip-icon" });
|
458
|
+
const _c34 = a0 => ({ options: a0 });
|
459
|
+
const _c35 = (a0, a1, a2) => ({ checked: a0, partialSelected: a1, class: a2 });
|
460
|
+
const _c36 = (a0, a1) => ({ $implicit: a0, options: a1 });
|
461
|
+
const _c37 = () => ({});
|
449
462
|
function MultiSelect_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
450
463
|
i0.ɵɵelementContainerStart(0);
|
451
464
|
i0.ɵɵtext(1);
|
@@ -468,7 +481,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_templ
|
|
468
481
|
const ctx_r1 = i0.ɵɵnextContext(7);
|
469
482
|
i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
|
470
483
|
i0.ɵɵadvance();
|
471
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
484
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chipiconTemplate || ctx_r1.removetokeniconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(4, _c33));
|
472
485
|
} }
|
473
486
|
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
474
487
|
i0.ɵɵelementContainerStart(0);
|
@@ -477,7 +490,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_templ
|
|
477
490
|
} if (rf & 2) {
|
478
491
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
479
492
|
i0.ɵɵadvance();
|
480
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
493
|
+
i0.ɵɵproperty("ngIf", ctx_r1.chipiconTemplate || ctx_r1.removetokeniconTemplate);
|
481
494
|
} }
|
482
495
|
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
483
496
|
i0.ɵɵtemplate(0, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template, 2, 1, "ng-container", 20);
|
@@ -502,7 +515,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_Template(rf, ctx) { if
|
|
502
515
|
i0.ɵɵadvance(2);
|
503
516
|
i0.ɵɵproperty("label", ctx_r1.getLabelByValue(item_r4))("removable", true)("removeIcon", ctx_r1.chipIcon);
|
504
517
|
i0.ɵɵadvance();
|
505
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
518
|
+
i0.ɵɵproperty("ngIf", ctx_r1.chipiconTemplate || ctx_r1.removetokeniconTemplate);
|
506
519
|
} }
|
507
520
|
function MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
508
521
|
i0.ɵɵelementContainerStart(0);
|
@@ -560,7 +573,7 @@ function MultiSelect_ng_container_7_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
560
573
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
561
574
|
i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
|
562
575
|
i0.ɵɵadvance();
|
563
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
576
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.cleariconTemplate);
|
564
577
|
} }
|
565
578
|
function MultiSelect_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
566
579
|
i0.ɵɵelementContainerStart(0);
|
@@ -569,9 +582,9 @@ function MultiSelect_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
569
582
|
} if (rf & 2) {
|
570
583
|
const ctx_r1 = i0.ɵɵnextContext();
|
571
584
|
i0.ɵɵadvance();
|
572
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
585
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.cleariconTemplate);
|
573
586
|
i0.ɵɵadvance();
|
574
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
587
|
+
i0.ɵɵproperty("ngIf", ctx_r1.cleariconTemplate);
|
575
588
|
} }
|
576
589
|
function MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
577
590
|
i0.ɵɵelementContainer(0);
|
@@ -583,7 +596,7 @@ function MultiSelect_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf &
|
|
583
596
|
} if (rf & 2) {
|
584
597
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
585
598
|
i0.ɵɵadvance();
|
586
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
599
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loadingiconTemplate);
|
587
600
|
} }
|
588
601
|
function MultiSelect_ng_container_9_ng_container_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
589
602
|
i0.ɵɵelement(0, "span", 35);
|
@@ -614,9 +627,9 @@ function MultiSelect_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
614
627
|
} if (rf & 2) {
|
615
628
|
const ctx_r1 = i0.ɵɵnextContext();
|
616
629
|
i0.ɵɵadvance();
|
617
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
630
|
+
i0.ɵɵproperty("ngIf", ctx_r1.loadingiconTemplate);
|
618
631
|
i0.ɵɵadvance();
|
619
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
632
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.loadingiconTemplate);
|
620
633
|
} }
|
621
634
|
function MultiSelect_ng_template_10_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
622
635
|
i0.ɵɵelement(0, "span", 40);
|
@@ -654,15 +667,15 @@ function MultiSelect_ng_template_10_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
654
667
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
655
668
|
i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
|
656
669
|
i0.ɵɵadvance();
|
657
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
670
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dropdowniconTemplate);
|
658
671
|
} }
|
659
672
|
function MultiSelect_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
660
673
|
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
674
|
} if (rf & 2) {
|
662
675
|
const ctx_r1 = i0.ɵɵnextContext();
|
663
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
676
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.dropdowniconTemplate);
|
664
677
|
i0.ɵɵadvance();
|
665
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
678
|
+
i0.ɵɵproperty("ngIf", ctx_r1.dropdowniconTemplate);
|
666
679
|
} }
|
667
680
|
function MultiSelect_ng_template_14_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
668
681
|
i0.ɵɵelementContainer(0);
|
@@ -677,7 +690,7 @@ function MultiSelect_ng_template_14_div_4_ng_container_2_Template(rf, ctx) { if
|
|
677
690
|
} if (rf & 2) {
|
678
691
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
679
692
|
i0.ɵɵadvance();
|
680
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
693
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, ctx_r1.filterOptions));
|
681
694
|
} }
|
682
695
|
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
696
|
i0.ɵɵelement(0, "CheckIcon", 41);
|
@@ -695,9 +708,9 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template
|
|
695
708
|
} if (rf & 2) {
|
696
709
|
const class_r10 = ctx.class;
|
697
710
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
698
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
711
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.headercheckboxiconTemplate && ctx_r1.allSelected());
|
699
712
|
i0.ɵɵadvance();
|
700
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
713
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headercheckboxiconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c35, ctx_r1.allSelected(), ctx_r1.partialSelected(), class_r10));
|
701
714
|
} }
|
702
715
|
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template(rf, ctx) { if (rf & 1) {
|
703
716
|
const _r9 = i0.ɵɵgetCurrentView();
|
@@ -725,7 +738,7 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template(rf
|
|
725
738
|
} if (rf & 2) {
|
726
739
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
727
740
|
i0.ɵɵadvance();
|
728
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
741
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filtericonTemplate);
|
729
742
|
} }
|
730
743
|
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
731
744
|
const _r11 = i0.ɵɵgetCurrentView();
|
@@ -741,9 +754,9 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx)
|
|
741
754
|
i0.ɵɵproperty("variant", ctx_r1.variant)("value", ctx_r1._filterValue() || "")("disabled", ctx_r1.disabled);
|
742
755
|
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
756
|
i0.ɵɵadvance(3);
|
744
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
757
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.filtericonTemplate);
|
745
758
|
i0.ɵɵadvance();
|
746
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
759
|
+
i0.ɵɵproperty("ngIf", ctx_r1.filtericonTemplate);
|
747
760
|
} }
|
748
761
|
function MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
749
762
|
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 +787,7 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template(rf, ctx)
|
|
774
787
|
const scrollerOptions_r15 = ctx.options;
|
775
788
|
i0.ɵɵnextContext(2);
|
776
789
|
const buildInItems_r16 = i0.ɵɵreference(9);
|
777
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
790
|
+
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c36, items_r14, scrollerOptions_r15));
|
778
791
|
} }
|
779
792
|
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
780
793
|
i0.ɵɵelementContainer(0);
|
@@ -784,7 +797,7 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Te
|
|
784
797
|
} if (rf & 2) {
|
785
798
|
const scrollerOptions_r17 = ctx.options;
|
786
799
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
787
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
800
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, scrollerOptions_r17));
|
788
801
|
} }
|
789
802
|
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
790
803
|
i0.ɵɵelementContainerStart(0);
|
@@ -816,7 +829,7 @@ function MultiSelect_ng_template_14_ng_container_7_Template(rf, ctx) { if (rf &
|
|
816
829
|
const buildInItems_r16 = i0.ɵɵreference(9);
|
817
830
|
const ctx_r1 = i0.ɵɵnextContext();
|
818
831
|
i0.ɵɵadvance();
|
819
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3,
|
832
|
+
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r16)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c36, ctx_r1.visibleOptions(), i0.ɵɵpureFunction0(2, _c37)));
|
820
833
|
} }
|
821
834
|
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
|
822
835
|
i0.ɵɵelementStart(0, "span");
|
@@ -865,7 +878,7 @@ function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_T
|
|
865
878
|
const scrollerOptions_r21 = i0.ɵɵnextContext().options;
|
866
879
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
867
880
|
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)("
|
881
|
+
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
882
|
} }
|
870
883
|
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
871
884
|
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 +902,7 @@ function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template(rf
|
|
889
902
|
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 32);
|
890
903
|
} if (rf & 2) {
|
891
904
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
892
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
905
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyfilterTemplate || ctx_r1.emptyTemplate);
|
893
906
|
} }
|
894
907
|
function MultiSelect_ng_template_14_ng_template_8_li_3_Template(rf, ctx) { if (rf & 1) {
|
895
908
|
i0.ɵɵelementStart(0, "li", 62);
|
@@ -900,7 +913,7 @@ function MultiSelect_ng_template_14_ng_template_8_li_3_Template(rf, ctx) { if (r
|
|
900
913
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
901
914
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0, scrollerOptions_r21.itemSize + "px"));
|
902
915
|
i0.ɵɵadvance();
|
903
|
-
i0.ɵɵconditional(!ctx_r1.
|
916
|
+
i0.ɵɵconditional(!ctx_r1.emptyfilterTemplate && !ctx_r1.emptyTemplate ? 1 : 2);
|
904
917
|
} }
|
905
918
|
function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
906
919
|
i0.ɵɵtext(0);
|
@@ -1011,8 +1024,8 @@ class MultiSelectItem extends BaseComponent {
|
|
1011
1024
|
ariaSetSize;
|
1012
1025
|
variant;
|
1013
1026
|
template;
|
1014
|
-
|
1015
|
-
|
1027
|
+
checkiconTemplate;
|
1028
|
+
itemcheckboxiconTemplate;
|
1016
1029
|
onClick = new EventEmitter();
|
1017
1030
|
onMouseEnter = new EventEmitter();
|
1018
1031
|
onOptionClick(event) {
|
@@ -1032,7 +1045,7 @@ class MultiSelectItem extends BaseComponent {
|
|
1032
1045
|
});
|
1033
1046
|
}
|
1034
1047
|
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",
|
1048
|
+
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
1049
|
i0.ɵɵelementStart(0, "li", 1);
|
1037
1050
|
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
1051
|
i0.ɵɵelementStart(1, "p-checkbox", 2);
|
@@ -1046,7 +1059,7 @@ class MultiSelectItem extends BaseComponent {
|
|
1046
1059
|
i0.ɵɵadvance();
|
1047
1060
|
i0.ɵɵproperty("ngModel", ctx.selected)("binary", true)("tabindex", -1)("variant", ctx.variant);
|
1048
1061
|
i0.ɵɵadvance();
|
1049
|
-
i0.ɵɵproperty("ngIf", ctx.
|
1062
|
+
i0.ɵɵproperty("ngIf", ctx.itemcheckboxiconTemplate);
|
1050
1063
|
i0.ɵɵadvance();
|
1051
1064
|
i0.ɵɵproperty("ngIf", !ctx.template);
|
1052
1065
|
i0.ɵɵadvance();
|
@@ -1082,9 +1095,9 @@ class MultiSelectItem extends BaseComponent {
|
|
1082
1095
|
(mouseenter)="onOptionMouseEnter($event)"
|
1083
1096
|
>
|
1084
1097
|
<p-checkbox [ngModel]="selected" [binary]="true" [tabindex]="-1" [variant]="variant">
|
1085
|
-
<ng-container *ngIf="
|
1098
|
+
<ng-container *ngIf="itemcheckboxiconTemplate">
|
1086
1099
|
<ng-template #icon let-class="class">
|
1087
|
-
<ng-template *ngTemplateOutlet="
|
1100
|
+
<ng-template *ngTemplateOutlet="itemcheckboxiconTemplate; context: { checked: selected, class: class }"></ng-template>
|
1088
1101
|
</ng-template>
|
1089
1102
|
</ng-container>
|
1090
1103
|
</p-checkbox>
|
@@ -1120,9 +1133,9 @@ class MultiSelectItem extends BaseComponent {
|
|
1120
1133
|
type: Input
|
1121
1134
|
}], template: [{
|
1122
1135
|
type: Input
|
1123
|
-
}],
|
1136
|
+
}], checkiconTemplate: [{
|
1124
1137
|
type: Input
|
1125
|
-
}],
|
1138
|
+
}], itemcheckboxiconTemplate: [{
|
1126
1139
|
type: Input
|
1127
1140
|
}], onClick: [{
|
1128
1141
|
type: Output
|
@@ -1575,7 +1588,7 @@ class MultiSelect extends BaseComponent {
|
|
1575
1588
|
* Whether to focus on the first visible or selected element when the overlay panel is shown.
|
1576
1589
|
* @group Props
|
1577
1590
|
*/
|
1578
|
-
autoOptionFocus =
|
1591
|
+
autoOptionFocus = false;
|
1579
1592
|
/**
|
1580
1593
|
* Callback to invoke when value changes.
|
1581
1594
|
* @param {MultiSelectChangeEvent} event - Custom change event.
|
@@ -1675,18 +1688,21 @@ class MultiSelect extends BaseComponent {
|
|
1675
1688
|
headerTemplate;
|
1676
1689
|
filterTemplate;
|
1677
1690
|
footerTemplate;
|
1678
|
-
|
1691
|
+
emptyfilterTemplate;
|
1679
1692
|
emptyTemplate;
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1693
|
+
selecteditemsTemplate;
|
1694
|
+
checkiconTemplate;
|
1695
|
+
loadingiconTemplate;
|
1696
|
+
filtericonTemplate;
|
1697
|
+
removetokeniconTemplate;
|
1698
|
+
chipiconTemplate;
|
1699
|
+
cleariconTemplate;
|
1700
|
+
dropdowniconTemplate;
|
1701
|
+
itemcheckboxiconTemplate;
|
1702
|
+
headercheckboxiconTemplate;
|
1703
|
+
ngAfterContentInit() {
|
1704
|
+
super.ngAfterContentInit();
|
1705
|
+
}
|
1690
1706
|
headerCheckboxFocus;
|
1691
1707
|
filterOptions;
|
1692
1708
|
preventModelTouched;
|
@@ -1844,70 +1860,6 @@ class MultiSelect extends BaseComponent {
|
|
1844
1860
|
maxSelectionLimitReached() {
|
1845
1861
|
return this.selectionLimit && this.modelValue() && this.modelValue().length === this.selectionLimit;
|
1846
1862
|
}
|
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
1863
|
ngAfterViewInit() {
|
1912
1864
|
super.ngOnInit();
|
1913
1865
|
if (this.overlayVisible) {
|
@@ -2478,7 +2430,7 @@ class MultiSelect extends BaseComponent {
|
|
2478
2430
|
*/
|
2479
2431
|
show(isFocus) {
|
2480
2432
|
this.overlayVisible = true;
|
2481
|
-
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() :
|
2433
|
+
const focusedOptionIndex = this.focusedOptionIndex() !== -1 ? this.focusedOptionIndex() : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
|
2482
2434
|
this.focusedOptionIndex.set(focusedOptionIndex);
|
2483
2435
|
if (isFocus) {
|
2484
2436
|
focus(this.focusInputViewChild?.nativeElement);
|
@@ -2674,19 +2626,55 @@ class MultiSelect extends BaseComponent {
|
|
2674
2626
|
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
2627
|
i0.ɵɵcontentQuery(dirIndex, Footer, 5);
|
2676
2628
|
i0.ɵɵcontentQuery(dirIndex, Header, 5);
|
2629
|
+
i0.ɵɵcontentQuery(dirIndex, _c4, 5);
|
2630
|
+
i0.ɵɵcontentQuery(dirIndex, _c5, 5);
|
2631
|
+
i0.ɵɵcontentQuery(dirIndex, _c6, 5);
|
2632
|
+
i0.ɵɵcontentQuery(dirIndex, _c7, 5);
|
2633
|
+
i0.ɵɵcontentQuery(dirIndex, _c8, 5);
|
2634
|
+
i0.ɵɵcontentQuery(dirIndex, _c9, 5);
|
2635
|
+
i0.ɵɵcontentQuery(dirIndex, _c10, 5);
|
2636
|
+
i0.ɵɵcontentQuery(dirIndex, _c11, 5);
|
2637
|
+
i0.ɵɵcontentQuery(dirIndex, _c12, 5);
|
2638
|
+
i0.ɵɵcontentQuery(dirIndex, _c13, 5);
|
2639
|
+
i0.ɵɵcontentQuery(dirIndex, _c14, 5);
|
2640
|
+
i0.ɵɵcontentQuery(dirIndex, _c15, 5);
|
2641
|
+
i0.ɵɵcontentQuery(dirIndex, _c16, 5);
|
2642
|
+
i0.ɵɵcontentQuery(dirIndex, _c17, 5);
|
2643
|
+
i0.ɵɵcontentQuery(dirIndex, _c18, 5);
|
2644
|
+
i0.ɵɵcontentQuery(dirIndex, _c19, 5);
|
2645
|
+
i0.ɵɵcontentQuery(dirIndex, _c20, 5);
|
2646
|
+
i0.ɵɵcontentQuery(dirIndex, _c21, 5);
|
2677
2647
|
} if (rf & 2) {
|
2678
2648
|
let _t;
|
2679
2649
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerFacet = _t.first);
|
2680
2650
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerFacet = _t.first);
|
2651
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
|
2652
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.groupTemplate = _t.first);
|
2653
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loaderTemplate = _t.first);
|
2654
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
|
2655
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);
|
2656
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
|
2657
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyfilterTemplate = _t.first);
|
2658
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.emptyTemplate = _t.first);
|
2659
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selecteditemsTemplate = _t.first);
|
2660
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkiconTemplate = _t.first);
|
2661
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.loadingiconTemplate = _t.first);
|
2662
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filtericonTemplate = _t.first);
|
2663
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.removetokeniconTemplate = _t.first);
|
2664
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chipiconTemplate = _t.first);
|
2665
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.cleariconTemplate = _t.first);
|
2666
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdowniconTemplate = _t.first);
|
2667
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemcheckboxiconTemplate = _t.first);
|
2668
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headercheckboxiconTemplate = _t.first);
|
2681
2669
|
} }, 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(
|
2670
|
+
i0.ɵɵviewQuery(_c22, 5);
|
2671
|
+
i0.ɵɵviewQuery(_c23, 5);
|
2672
|
+
i0.ɵɵviewQuery(_c24, 5);
|
2673
|
+
i0.ɵɵviewQuery(_c25, 5);
|
2674
|
+
i0.ɵɵviewQuery(_c26, 5);
|
2675
|
+
i0.ɵɵviewQuery(_c27, 5);
|
2676
|
+
i0.ɵɵviewQuery(_c28, 5);
|
2677
|
+
i0.ɵɵviewQuery(_c29, 5);
|
2690
2678
|
} if (rf & 2) {
|
2691
2679
|
let _t;
|
2692
2680
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);
|
@@ -2703,9 +2691,9 @@ class MultiSelect extends BaseComponent {
|
|
2703
2691
|
i0.ɵɵattribute("id", ctx.id);
|
2704
2692
|
i0.ɵɵstyleMap(ctx.style);
|
2705
2693
|
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:
|
2694
|
+
} }, 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
2695
|
const _r1 = i0.ɵɵgetCurrentView();
|
2708
|
-
i0.ɵɵprojectionDef(
|
2696
|
+
i0.ɵɵprojectionDef(_c30);
|
2709
2697
|
i0.ɵɵelementStart(0, "div", 16)(1, "input", 17, 0);
|
2710
2698
|
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
2699
|
i0.ɵɵelementEnd()();
|
@@ -2729,15 +2717,15 @@ class MultiSelect extends BaseComponent {
|
|
2729
2717
|
i0.ɵɵattribute("data-p-hidden-accessible", true);
|
2730
2718
|
i0.ɵɵadvance();
|
2731
2719
|
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);
|
2720
|
+
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
2721
|
i0.ɵɵadvance(2);
|
2734
2722
|
i0.ɵɵproperty("pTooltip", ctx.tooltip)("tooltipDisabled", ctx._disableTooltip)("tooltipPosition", ctx.tooltipPosition)("positionStyle", ctx.tooltipPositionStyle)("tooltipStyleClass", ctx.tooltipStyleClass);
|
2735
2723
|
i0.ɵɵadvance();
|
2736
2724
|
i0.ɵɵproperty("ngClass", ctx.labelClass);
|
2737
2725
|
i0.ɵɵadvance();
|
2738
|
-
i0.ɵɵproperty("ngIf", !ctx.
|
2726
|
+
i0.ɵɵproperty("ngIf", !ctx.selecteditemsTemplate);
|
2739
2727
|
i0.ɵɵadvance();
|
2740
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.
|
2728
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.selecteditemsTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(36, _c32, ctx.selectedOptions, ctx.removeOption.bind(ctx)));
|
2741
2729
|
i0.ɵɵadvance();
|
2742
2730
|
i0.ɵɵproperty("ngIf", ctx.isVisibleClearIcon);
|
2743
2731
|
i0.ɵɵadvance(2);
|
@@ -2745,50 +2733,14 @@ class MultiSelect extends BaseComponent {
|
|
2745
2733
|
i0.ɵɵadvance(3);
|
2746
2734
|
i0.ɵɵtwoWayProperty("visible", ctx.overlayVisible);
|
2747
2735
|
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 });
|
2736
|
+
} }, 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
2737
|
}
|
2764
2738
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiSelect, [{
|
2765
2739
|
type: Component,
|
2766
2740
|
args: [{
|
2767
2741
|
selector: 'p-multiSelect, p-multiselect, p-multi-select',
|
2768
2742
|
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
|
-
],
|
2743
|
+
imports: [CommonModule, MultiSelectItem, Overlay, SharedModule, Tooltip, Ripple, Scroller, AutoFocus, CheckIcon, SearchIcon, TimesCircleIcon, TimesIcon, ChevronDownIcon, MinusIcon, IconField, InputIcon, InputText, Chip, Checkbox, FormsModule],
|
2792
2744
|
template: `
|
2793
2745
|
<div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
|
2794
2746
|
<input
|
@@ -2811,6 +2763,7 @@ class MultiSelect extends BaseComponent {
|
|
2811
2763
|
(blur)="onInputBlur($event)"
|
2812
2764
|
(keydown)="onKeyDown($event)"
|
2813
2765
|
[pAutoFocus]="autofocus"
|
2766
|
+
[attr.value]="label() || 'empty'"
|
2814
2767
|
/>
|
2815
2768
|
</div>
|
2816
2769
|
<div
|
@@ -2823,16 +2776,16 @@ class MultiSelect extends BaseComponent {
|
|
2823
2776
|
[tooltipStyleClass]="tooltipStyleClass"
|
2824
2777
|
>
|
2825
2778
|
<div [ngClass]="labelClass">
|
2826
|
-
<ng-container *ngIf="!
|
2779
|
+
<ng-container *ngIf="!selecteditemsTemplate">
|
2827
2780
|
<ng-container *ngIf="display === 'comma'">{{ label() || 'empty' }}</ng-container>
|
2828
2781
|
<ng-container *ngIf="display === 'chip'">
|
2829
2782
|
<div #token *ngFor="let item of chipSelectedItems(); let i = index" class="p-multiselect-chip-item">
|
2830
2783
|
<p-chip styleClass="p-multiselect-chip" [label]="getLabelByValue(item)" [removable]="true" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
|
2831
|
-
<ng-container *ngIf="
|
2784
|
+
<ng-container *ngIf="chipiconTemplate || removetokeniconTemplate">
|
2832
2785
|
<ng-template #removeicon>
|
2833
2786
|
<ng-container *ngIf="!disabled">
|
2834
|
-
<span class="p-multiselect-chip-icon" *ngIf="
|
2835
|
-
<ng-container *ngTemplateOutlet="
|
2787
|
+
<span class="p-multiselect-chip-icon" *ngIf="chipiconTemplate || removetokeniconTemplate" (click)="removeOption(item, $event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
2788
|
+
<ng-container *ngTemplateOutlet="chipiconTemplate || removetokeniconTemplate; context: { class: 'p-multiselect-chip-icon' }"></ng-container>
|
2836
2789
|
</span>
|
2837
2790
|
</ng-container>
|
2838
2791
|
</ng-template>
|
@@ -2842,32 +2795,32 @@ class MultiSelect extends BaseComponent {
|
|
2842
2795
|
<ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
|
2843
2796
|
</ng-container>
|
2844
2797
|
</ng-container>
|
2845
|
-
<ng-container *ngTemplateOutlet="
|
2798
|
+
<ng-container *ngTemplateOutlet="selecteditemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
|
2846
2799
|
</div>
|
2847
2800
|
</div>
|
2848
2801
|
<ng-container *ngIf="isVisibleClearIcon">
|
2849
|
-
<TimesIcon *ngIf="!
|
2850
|
-
<span *ngIf="
|
2851
|
-
<ng-template *ngTemplateOutlet="
|
2802
|
+
<TimesIcon *ngIf="!cleariconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
|
2803
|
+
<span *ngIf="cleariconTemplate" class="p-multiselect-clear-icon" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
|
2804
|
+
<ng-template *ngTemplateOutlet="cleariconTemplate"></ng-template>
|
2852
2805
|
</span>
|
2853
2806
|
</ng-container>
|
2854
2807
|
<div class="p-multiselect-dropdown">
|
2855
2808
|
<ng-container *ngIf="loading; else elseBlock">
|
2856
|
-
<ng-container *ngIf="
|
2857
|
-
<ng-container *ngTemplateOutlet="
|
2809
|
+
<ng-container *ngIf="loadingiconTemplate">
|
2810
|
+
<ng-container *ngTemplateOutlet="loadingiconTemplate"></ng-container>
|
2858
2811
|
</ng-container>
|
2859
|
-
<ng-container *ngIf="!
|
2812
|
+
<ng-container *ngIf="!loadingiconTemplate">
|
2860
2813
|
<span *ngIf="loadingIcon" [ngClass]="'p-multiselect-loading-icon pi-spin ' + loadingIcon" aria-hidden="true"></span>
|
2861
2814
|
<span *ngIf="!loadingIcon" [class]="'p-multiselect-loading-icon pi pi-spinner pi-spin'" aria-hidden="true"></span>
|
2862
2815
|
</ng-container>
|
2863
2816
|
</ng-container>
|
2864
2817
|
<ng-template #elseBlock>
|
2865
|
-
<ng-container *ngIf="!
|
2818
|
+
<ng-container *ngIf="!dropdowniconTemplate">
|
2866
2819
|
<span *ngIf="dropdownIcon" class="p-multiselect-dropdown-icon" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
|
2867
2820
|
<ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="'p-multiselect-dropdown-icon'" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
|
2868
2821
|
</ng-container>
|
2869
|
-
<span *ngIf="
|
2870
|
-
<ng-template *ngTemplateOutlet="
|
2822
|
+
<span *ngIf="dropdowniconTemplate" class="p-multiselect-dropdown-icon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
|
2823
|
+
<ng-template *ngTemplateOutlet="dropdowniconTemplate"></ng-template>
|
2871
2824
|
</span>
|
2872
2825
|
</ng-template>
|
2873
2826
|
</div>
|
@@ -2904,11 +2857,11 @@ class MultiSelect extends BaseComponent {
|
|
2904
2857
|
</ng-container>
|
2905
2858
|
<ng-template #builtInFilterElement>
|
2906
2859
|
<p-checkbox [ngModel]="allSelected()" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
|
2907
|
-
<ng-template #
|
2908
|
-
<CheckIcon *ngIf="!
|
2860
|
+
<ng-template #checkboxicon let-class="class">
|
2861
|
+
<CheckIcon *ngIf="!headercheckboxiconTemplate && allSelected()" [styleClass]="class" [attr.data-pc-section]="'icon'" />
|
2909
2862
|
<ng-template
|
2910
2863
|
*ngTemplateOutlet="
|
2911
|
-
|
2864
|
+
headercheckboxiconTemplate;
|
2912
2865
|
context: {
|
2913
2866
|
checked: allSelected(),
|
2914
2867
|
partialSelected: partialSelected(),
|
@@ -2941,9 +2894,9 @@ class MultiSelect extends BaseComponent {
|
|
2941
2894
|
[attr.aria-label]="ariaFilterLabel"
|
2942
2895
|
/>
|
2943
2896
|
<p-inputicon>
|
2944
|
-
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!
|
2945
|
-
<span *ngIf="
|
2946
|
-
<ng-template *ngTemplateOutlet="
|
2897
|
+
<SearchIcon [styleClass]="'p-multiselect-filter-icon'" *ngIf="!filtericonTemplate" />
|
2898
|
+
<span *ngIf="filtericonTemplate" class="p-multiselect-filter-icon">
|
2899
|
+
<ng-template *ngTemplateOutlet="filtericonTemplate"></ng-template>
|
2947
2900
|
</span>
|
2948
2901
|
</p-inputicon>
|
2949
2902
|
</p-iconfield>
|
@@ -2993,8 +2946,8 @@ class MultiSelect extends BaseComponent {
|
|
2993
2946
|
[label]="getOptionLabel(option)"
|
2994
2947
|
[disabled]="isOptionDisabled(option)"
|
2995
2948
|
[template]="itemTemplate"
|
2996
|
-
[
|
2997
|
-
[
|
2949
|
+
[checkiconTemplate]="checkiconTemplate"
|
2950
|
+
[itemcheckboxiconTemplate]="itemcheckboxiconTemplate"
|
2998
2951
|
[itemSize]="scrollerOptions.itemSize"
|
2999
2952
|
[focused]="focusedOptionIndex() === getOptionIndex(i, scrollerOptions)"
|
3000
2953
|
[ariaPosInset]="getAriaPosInset(getOptionIndex(i, scrollerOptions))"
|
@@ -3007,10 +2960,10 @@ class MultiSelect extends BaseComponent {
|
|
3007
2960
|
</ng-template>
|
3008
2961
|
|
3009
2962
|
<li *ngIf="hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
3010
|
-
@if (!
|
2963
|
+
@if (!emptyfilterTemplate && !emptyTemplate) {
|
3011
2964
|
{{ emptyFilterMessageLabel }}
|
3012
2965
|
} @else {
|
3013
|
-
<ng-container *ngTemplateOutlet="
|
2966
|
+
<ng-container *ngTemplateOutlet="emptyfilterTemplate || emptyTemplate"></ng-container>
|
3014
2967
|
}
|
3015
2968
|
</li>
|
3016
2969
|
<li *ngIf="!hasFilter() && isEmpty()" class="p-multiselect-empty-message" [ngStyle]="{ height: scrollerOptions.itemSize + 'px' }" role="option">
|
@@ -3267,6 +3220,60 @@ class MultiSelect extends BaseComponent {
|
|
3267
3220
|
}], headerFacet: [{
|
3268
3221
|
type: ContentChild,
|
3269
3222
|
args: [Header]
|
3223
|
+
}], itemTemplate: [{
|
3224
|
+
type: ContentChild,
|
3225
|
+
args: ['item']
|
3226
|
+
}], groupTemplate: [{
|
3227
|
+
type: ContentChild,
|
3228
|
+
args: ['group']
|
3229
|
+
}], loaderTemplate: [{
|
3230
|
+
type: ContentChild,
|
3231
|
+
args: ['loader']
|
3232
|
+
}], headerTemplate: [{
|
3233
|
+
type: ContentChild,
|
3234
|
+
args: ['header']
|
3235
|
+
}], filterTemplate: [{
|
3236
|
+
type: ContentChild,
|
3237
|
+
args: ['filter']
|
3238
|
+
}], footerTemplate: [{
|
3239
|
+
type: ContentChild,
|
3240
|
+
args: ['footer']
|
3241
|
+
}], emptyfilterTemplate: [{
|
3242
|
+
type: ContentChild,
|
3243
|
+
args: ['emptyfilter']
|
3244
|
+
}], emptyTemplate: [{
|
3245
|
+
type: ContentChild,
|
3246
|
+
args: ['empty']
|
3247
|
+
}], selecteditemsTemplate: [{
|
3248
|
+
type: ContentChild,
|
3249
|
+
args: ['selecteditems']
|
3250
|
+
}], checkiconTemplate: [{
|
3251
|
+
type: ContentChild,
|
3252
|
+
args: ['checkicon']
|
3253
|
+
}], loadingiconTemplate: [{
|
3254
|
+
type: ContentChild,
|
3255
|
+
args: ['loadingicon']
|
3256
|
+
}], filtericonTemplate: [{
|
3257
|
+
type: ContentChild,
|
3258
|
+
args: ['filtericon']
|
3259
|
+
}], removetokeniconTemplate: [{
|
3260
|
+
type: ContentChild,
|
3261
|
+
args: ['removetokenicon']
|
3262
|
+
}], chipiconTemplate: [{
|
3263
|
+
type: ContentChild,
|
3264
|
+
args: ['chipicon']
|
3265
|
+
}], cleariconTemplate: [{
|
3266
|
+
type: ContentChild,
|
3267
|
+
args: ['clearicon']
|
3268
|
+
}], dropdowniconTemplate: [{
|
3269
|
+
type: ContentChild,
|
3270
|
+
args: ['dropdownicon']
|
3271
|
+
}], itemcheckboxiconTemplate: [{
|
3272
|
+
type: ContentChild,
|
3273
|
+
args: ['itemcheckboxicon']
|
3274
|
+
}], headercheckboxiconTemplate: [{
|
3275
|
+
type: ContentChild,
|
3276
|
+
args: ['headercheckboxicon']
|
3270
3277
|
}], hostClasses: [{
|
3271
3278
|
type: HostBinding,
|
3272
3279
|
args: ['class']
|