primeng 18.0.0-beta.1 → 18.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/accordion/accordion.d.ts +148 -23
- package/accordion/public_api.d.ts +1 -1
- package/accordion/style/accordionstyle.d.ts +37 -0
- package/api/translation.d.ts +2 -0
- package/autocomplete/autocomplete.d.ts +2 -3
- package/autocomplete/public_api.d.ts +1 -0
- package/autocomplete/style/autocompletestyle.d.ts +69 -0
- package/avatar/public_api.d.ts +1 -0
- package/avatar/style/avatarstyle.d.ts +25 -0
- package/avatargroup/avatargroup.d.ts +1 -1
- package/avatargroup/public_api.d.ts +1 -0
- package/avatargroup/style/avatargroupstyle.d.ts +14 -0
- package/badge/badge.d.ts +20 -26
- package/badge/public_api.d.ts +1 -0
- package/badge/style/badgestyle.d.ts +17 -0
- package/base/style/basestyle.d.ts +8 -0
- package/blockui/blockui.d.ts +1 -1
- package/blockui/public_api.d.ts +1 -0
- package/blockui/style/blockuistyle.d.ts +17 -0
- package/breadcrumb/breadcrumb.d.ts +0 -1
- package/breadcrumb/public_api.d.ts +1 -0
- package/breadcrumb/style/breadcrumbstyle.d.ts +45 -0
- package/button/button.d.ts +0 -1
- package/button/public_api.d.ts +1 -0
- package/button/style/buttonstyle.d.ts +29 -0
- package/buttongroup/buttongroup.d.ts +1 -1
- package/buttongroup/public_api.d.ts +1 -0
- package/buttongroup/style/buttongroupstyle.d.ts +17 -0
- package/calendar/public_api.d.ts +1 -0
- package/card/public_api.d.ts +1 -0
- package/card/style/cardstyle.d.ts +45 -0
- package/carousel/public_api.d.ts +1 -0
- package/carousel/style/carouselstyle.d.ts +69 -0
- package/cascadeselect/cascadeselect.d.ts +2 -2
- package/cascadeselect/public_api.d.ts +1 -0
- package/cascadeselect/style/cascadeselectstyle.d.ts +65 -0
- package/chart/public_api.d.ts +1 -0
- package/chart/style/chartstyle.d.ts +32 -0
- package/checkbox/public_api.d.ts +1 -0
- package/checkbox/style/checkboxstyle.d.ts +29 -0
- package/chip/public_api.d.ts +1 -0
- package/chip/style/chipstyle.d.ts +33 -0
- package/colorpicker/colorpicker.d.ts +1 -1
- package/colorpicker/public_api.d.ts +1 -0
- package/colorpicker/style/colorpickerstyle.d.ts +45 -0
- package/confirmdialog/confirmdialog.d.ts +1 -1
- package/confirmdialog/public_api.d.ts +1 -0
- package/confirmdialog/style/confirmdialogstyle.d.ts +33 -0
- package/confirmpopup/confirmpopup.d.ts +3 -3
- package/confirmpopup/public_api.d.ts +1 -0
- package/confirmpopup/style/confirmpopupstyle.d.ts +41 -0
- package/contextmenu/contextmenu.d.ts +2 -2
- package/contextmenu/public_api.d.ts +1 -0
- package/contextmenu/style/contextmenustyle.d.ts +54 -0
- package/dataview/dataview.d.ts +1 -1
- package/dataview/public_api.d.ts +1 -0
- package/dataview/style/dataviewstyle.d.ts +37 -0
- package/datepicker/datepicker.d.ts +1 -1
- package/datepicker/public_api.d.ts +1 -0
- package/datepicker/style/datepickerstyle.d.ts +165 -0
- package/dialog/style/dialogstyle.d.ts +49 -0
- package/divider/style/dividerstyle.d.ts +21 -0
- package/dock/public_api.d.ts +1 -0
- package/dock/style/dockstyle.d.ts +41 -0
- package/drawer/public_api.d.ts +1 -0
- package/drawer/style/drawerstyle.d.ts +37 -0
- package/dropdown/public_api.d.ts +1 -0
- package/dropdown/style/dropdownstyle.d.ts +14 -0
- package/dynamicdialog/dynamicdialog.d.ts +5 -0
- package/dynamicdialog/public_api.d.ts +1 -0
- package/dynamicdialog/style/dynamicdialogstyle.d.ts +49 -0
- package/editor/public_api.d.ts +1 -0
- package/editor/style/editorstyle.d.ts +25 -0
- package/esm2022/accordion/accordion.mjs +431 -81
- package/esm2022/accordion/public_api.mjs +2 -2
- package/esm2022/accordion/style/accordionstyle.mjs +39 -2
- package/esm2022/api/primengconfig.mjs +3 -1
- package/esm2022/api/translation.mjs +1 -1
- package/esm2022/autocomplete/autocomplete.mjs +6 -6
- package/esm2022/autocomplete/public_api.mjs +2 -1
- package/esm2022/autocomplete/style/autocompletestyle.mjs +69 -1
- package/esm2022/avatar/avatar.mjs +3 -2
- package/esm2022/avatar/public_api.mjs +2 -1
- package/esm2022/avatar/style/avatarstyle.mjs +25 -1
- package/esm2022/avatargroup/avatargroup.mjs +3 -3
- package/esm2022/avatargroup/public_api.mjs +2 -1
- package/esm2022/avatargroup/style/avatargroupstyle.mjs +14 -1
- package/esm2022/badge/badge.mjs +39 -51
- package/esm2022/badge/public_api.mjs +2 -1
- package/esm2022/badge/style/badgestyle.mjs +17 -1
- package/esm2022/basecomponent/basecomponent.mjs +3 -4
- package/esm2022/blockui/blockui.mjs +3 -3
- package/esm2022/blockui/public_api.mjs +2 -1
- package/esm2022/blockui/style/blockuistyle.mjs +17 -1
- package/esm2022/breadcrumb/breadcrumb.mjs +98 -119
- package/esm2022/breadcrumb/public_api.mjs +2 -1
- package/esm2022/breadcrumb/style/breadcrumbstyle.mjs +45 -1
- package/esm2022/button/button.mjs +3 -7
- package/esm2022/button/public_api.mjs +2 -1
- package/esm2022/button/style/buttonstyle.mjs +29 -1
- package/esm2022/buttongroup/buttongroup.mjs +3 -3
- package/esm2022/buttongroup/public_api.mjs +2 -1
- package/esm2022/buttongroup/style/buttongroupstyle.mjs +17 -1
- package/esm2022/calendar/calendar.mjs +2 -2
- package/esm2022/calendar/public_api.mjs +2 -1
- package/esm2022/card/public_api.mjs +2 -1
- package/esm2022/card/style/cardstyle.mjs +45 -1
- package/esm2022/carousel/public_api.mjs +2 -1
- package/esm2022/carousel/style/carouselstyle.mjs +69 -1
- package/esm2022/cascadeselect/cascadeselect.mjs +15 -19
- package/esm2022/cascadeselect/public_api.mjs +2 -1
- package/esm2022/cascadeselect/style/cascadeselectstyle.mjs +65 -1
- package/esm2022/chart/public_api.mjs +2 -1
- package/esm2022/chart/style/chartstyle.mjs +36 -0
- package/esm2022/checkbox/checkbox.mjs +1 -1
- package/esm2022/checkbox/public_api.mjs +2 -1
- package/esm2022/checkbox/style/checkboxstyle.mjs +29 -1
- package/esm2022/chip/public_api.mjs +2 -1
- package/esm2022/chip/style/chipstyle.mjs +33 -1
- package/esm2022/colorpicker/colorpicker.mjs +3 -3
- package/esm2022/colorpicker/public_api.mjs +2 -1
- package/esm2022/colorpicker/style/colorpickerstyle.mjs +45 -1
- package/esm2022/confirmdialog/confirmdialog.mjs +3 -3
- package/esm2022/confirmdialog/public_api.mjs +2 -1
- package/esm2022/confirmdialog/style/confirmdialogstyle.mjs +33 -1
- package/esm2022/confirmpopup/confirmpopup.mjs +11 -11
- package/esm2022/confirmpopup/public_api.mjs +2 -1
- package/esm2022/confirmpopup/style/confirmpopupstyle.mjs +41 -1
- package/esm2022/contextmenu/contextmenu.mjs +15 -15
- package/esm2022/contextmenu/public_api.mjs +2 -1
- package/esm2022/contextmenu/style/contextmenustyle.mjs +54 -1
- package/esm2022/dataview/dataview.mjs +3 -3
- package/esm2022/dataview/public_api.mjs +2 -1
- package/esm2022/dataview/style/dataviewstyle.mjs +37 -1
- package/esm2022/datepicker/datepicker.mjs +20 -8
- package/esm2022/datepicker/public_api.mjs +2 -1
- package/esm2022/datepicker/style/datepickerstyle.mjs +165 -1
- package/esm2022/dialog/dialog.mjs +21 -16
- package/esm2022/dialog/style/dialogstyle.mjs +49 -1
- package/esm2022/divider/divider.mjs +4 -4
- package/esm2022/divider/style/dividerstyle.mjs +21 -1
- package/esm2022/dock/public_api.mjs +2 -1
- package/esm2022/dock/style/dockstyle.mjs +41 -1
- package/esm2022/drawer/drawer.mjs +17 -13
- package/esm2022/drawer/public_api.mjs +2 -1
- package/esm2022/drawer/style/drawerstyle.mjs +37 -1
- package/esm2022/dropdown/dropdown.mjs +10 -10
- package/esm2022/dropdown/public_api.mjs +2 -1
- package/esm2022/dropdown/style/dropdownstyle.mjs +5 -2
- package/esm2022/dynamicdialog/dynamicdialog.mjs +94 -24
- package/esm2022/dynamicdialog/public_api.mjs +2 -1
- package/esm2022/dynamicdialog/style/dynamicdialogstyle.mjs +49 -1
- package/esm2022/editor/editor.mjs +6 -5
- package/esm2022/editor/public_api.mjs +2 -1
- package/esm2022/editor/style/editorstyle.mjs +25 -1
- package/esm2022/fieldset/fieldset.mjs +11 -21
- package/esm2022/fieldset/public_api.mjs +2 -1
- package/esm2022/fieldset/style/fieldsetstyle.mjs +37 -1
- package/esm2022/fileupload/fileupload.interface.mjs +1 -1
- package/esm2022/fileupload/fileupload.mjs +46 -13
- package/esm2022/fileupload/public_api.mjs +2 -1
- package/esm2022/fileupload/style/fileuploadstyle.mjs +73 -1
- package/esm2022/floatlabel/floatlabel.mjs +18 -13
- package/esm2022/floatlabel/public_api.mjs +2 -1
- package/esm2022/floatlabel/style/floatlabelstyle.mjs +79 -28
- package/esm2022/fluid/public_api.mjs +2 -1
- package/esm2022/fluid/style/fluidstyle.mjs +17 -1
- package/esm2022/galleria/galleria.mjs +113 -124
- package/esm2022/galleria/public_api.mjs +2 -1
- package/esm2022/galleria/style/galleriastyle.mjs +125 -1
- package/esm2022/iconfield/iconfield.mjs +4 -4
- package/esm2022/iconfield/public_api.mjs +2 -1
- package/esm2022/iconfield/style/iconfieldstyle.mjs +26 -17
- package/esm2022/iftalabel/iftalabel.mjs +43 -0
- package/esm2022/iftalabel/primeng-iftalabel.mjs +5 -0
- package/esm2022/iftalabel/public_api.mjs +3 -0
- package/esm2022/iftalabel/style/iftalabelstyle.mjs +96 -0
- package/esm2022/image/image.interface.mjs +1 -1
- package/esm2022/image/image.mjs +86 -42
- package/esm2022/image/public_api.mjs +2 -1
- package/esm2022/image/style/imagestyle.mjs +57 -1
- package/esm2022/inplace/inplace.mjs +3 -3
- package/esm2022/inplace/public_api.mjs +2 -1
- package/esm2022/inplace/style/inplacestyle.mjs +25 -1
- package/esm2022/inputgroup/public_api.mjs +2 -1
- package/esm2022/inputgroup/style/inputgroupstyle.mjs +46 -17
- package/esm2022/inputgroupaddon/inputgroupaddon.mjs +15 -13
- package/esm2022/inputgroupaddon/public_api.mjs +2 -1
- package/esm2022/inputicon/inputicon.mjs +7 -4
- package/esm2022/inputicon/public_api.mjs +2 -1
- package/esm2022/inputmask/inputmask.mjs +2 -2
- package/esm2022/inputmask/public_api.mjs +2 -1
- package/esm2022/inputmask/style/inputmaskstyle.mjs +17 -1
- package/esm2022/inputnumber/inputnumber.mjs +219 -221
- package/esm2022/inputnumber/public_api.mjs +2 -1
- package/esm2022/inputnumber/style/inputnumberstyle.mjs +38 -1
- package/esm2022/inputotp/inputotp.mjs +4 -4
- package/esm2022/inputotp/public_api.mjs +2 -1
- package/esm2022/inputotp/style/inputotpstyle.mjs +21 -1
- package/esm2022/inputswitch/public_api.mjs +2 -1
- package/esm2022/inputtext/inputtext.mjs +11 -2
- package/esm2022/inputtext/public_api.mjs +2 -1
- package/esm2022/inputtext/style/inputtextstyle.mjs +17 -1
- package/esm2022/inputtextarea/public_api.mjs +2 -1
- package/esm2022/inputtextarea/style/textareastyle.mjs +17 -1
- package/esm2022/knob/public_api.mjs +2 -1
- package/esm2022/knob/style/knobstyle.mjs +29 -1
- package/esm2022/listbox/listbox.mjs +45 -20
- package/esm2022/listbox/public_api.mjs +2 -1
- package/esm2022/listbox/style/listboxstyle.mjs +53 -1
- package/esm2022/megamenu/megamenu.mjs +15 -15
- package/esm2022/megamenu/public_api.mjs +2 -1
- package/esm2022/megamenu/style/megamenustyle.mjs +81 -1
- package/esm2022/menu/menu.mjs +5 -3
- package/esm2022/menu/public_api.mjs +2 -1
- package/esm2022/menu/style/menustyle.mjs +57 -1
- package/esm2022/menubar/menubar.mjs +3 -3
- package/esm2022/menubar/public_api.mjs +2 -1
- package/esm2022/menubar/style/menubarstyle.mjs +65 -1
- package/esm2022/message/message.mjs +2 -34
- package/esm2022/message/style/messagestyle.mjs +38 -2
- package/esm2022/messages/public_api.mjs +2 -1
- package/esm2022/metergroup/metergroup.mjs +10 -10
- package/esm2022/metergroup/public_api.mjs +2 -1
- package/esm2022/metergroup/style/metergroupstyle.mjs +45 -1
- package/esm2022/multiselect/multiselect.mjs +683 -677
- package/esm2022/multiselect/public_api.mjs +2 -1
- package/esm2022/multiselect/style/multiselectstyle.mjs +85 -1
- package/esm2022/orderlist/orderlist.mjs +89 -17
- package/esm2022/orderlist/public_api.mjs +2 -1
- package/esm2022/orderlist/style/orderliststyle.mjs +21 -1
- package/esm2022/organizationchart/organizationchart.mjs +5 -5
- package/esm2022/organizationchart/public_api.mjs +2 -1
- package/esm2022/organizationchart/style/organizationchartstyle.mjs +53 -1
- package/esm2022/overlay/overlay.mjs +1 -1
- package/esm2022/overlay/public_api.mjs +2 -1
- package/esm2022/overlaybadge/overlaybadge.mjs +4 -6
- package/esm2022/overlaybadge/public_api.mjs +2 -1
- package/esm2022/overlaypanel/public_api.mjs +2 -1
- package/esm2022/overlaypanel/style/popoverstyle.mjs +21 -1
- package/esm2022/paginator/paginator.mjs +6 -6
- package/esm2022/paginator/public_api.mjs +2 -1
- package/esm2022/paginator/style/paginatorstyle.mjs +81 -1
- package/esm2022/panel/style/panelstyle.mjs +45 -1
- package/esm2022/panelmenu/panelmenu.mjs +30 -22
- package/esm2022/panelmenu/public_api.mjs +2 -1
- package/esm2022/panelmenu/style/panelmenustyle.mjs +83 -2
- package/esm2022/password/password.mjs +5 -3
- package/esm2022/password/public_api.mjs +2 -1
- package/esm2022/password/style/passwordstyle.mjs +45 -1
- package/esm2022/picklist/picklist.mjs +187 -17
- package/esm2022/picklist/public_api.mjs +2 -1
- package/esm2022/picklist/style/pickliststyle.mjs +37 -1
- package/esm2022/popover/public_api.mjs +2 -1
- package/esm2022/progressbar/progressbar.mjs +3 -3
- package/esm2022/progressbar/public_api.mjs +2 -1
- package/esm2022/progressbar/style/progressbarstyle.mjs +25 -1
- package/esm2022/progressspinner/progressspinner.mjs +3 -3
- package/esm2022/progressspinner/public_api.mjs +2 -1
- package/esm2022/progressspinner/style/progressspinnerstyle.mjs +25 -1
- package/esm2022/radiobutton/public_api.mjs +2 -1
- package/esm2022/radiobutton/radiobutton.mjs +4 -4
- package/esm2022/radiobutton/style/radiobuttonstyle.mjs +29 -1
- package/esm2022/rating/public_api.mjs +2 -1
- package/esm2022/rating/rating.mjs +11 -108
- package/esm2022/rating/style/ratingstyle.mjs +29 -1
- package/esm2022/ripple/public_api.mjs +2 -1
- package/esm2022/ripple/ripple.mjs +17 -12
- package/esm2022/ripple/style/ripplestyle.mjs +17 -1
- package/esm2022/scroller/public_api.mjs +2 -1
- package/esm2022/scroller/scroller.mjs +6 -6
- package/esm2022/scroller/style/scrollerstyle.mjs +104 -0
- package/esm2022/scrollpanel/public_api.mjs +2 -1
- package/esm2022/scrollpanel/scrollpanel.mjs +3 -3
- package/esm2022/scrollpanel/style/scrollpanelstyle.mjs +33 -1
- package/esm2022/scrolltop/public_api.mjs +2 -1
- package/esm2022/scrolltop/scrolltop.mjs +21 -16
- package/esm2022/scrolltop/style/scrolltopstyle.mjs +21 -1
- package/esm2022/select/public_api.mjs +2 -1
- package/esm2022/select/select.mjs +17 -25
- package/esm2022/select/style/selectstyle.mjs +86 -2
- package/esm2022/selectbutton/public_api.mjs +2 -1
- package/esm2022/selectbutton/selectbutton.mjs +8 -8
- package/esm2022/selectbutton/style/selectbuttonstyle.mjs +19 -3
- package/esm2022/sidebar/public_api.mjs +2 -1
- package/esm2022/skeleton/public_api.mjs +2 -1
- package/esm2022/skeleton/style/skeletonstyle.mjs +17 -1
- package/esm2022/slider/public_api.mjs +2 -1
- package/esm2022/slider/style/sliderstyle.mjs +25 -1
- package/esm2022/speeddial/public_api.mjs +2 -1
- package/esm2022/speeddial/speeddial.interface.mjs +1 -1
- package/esm2022/speeddial/speeddial.mjs +74 -50
- package/esm2022/speeddial/style/speeddialstyle.mjs +42 -2
- package/esm2022/splitbutton/public_api.mjs +2 -1
- package/esm2022/splitbutton/splitbutton.mjs +25 -12
- package/esm2022/splitbutton/style/splitbuttonstyle.mjs +25 -1
- package/esm2022/splitter/public_api.mjs +2 -1
- package/esm2022/splitter/style/splitterstyle.mjs +25 -1
- package/esm2022/stepper/public_api.mjs +2 -2
- package/esm2022/stepper/stepper.mjs +367 -660
- package/esm2022/stepper/style/stepperstyle.mjs +21 -2
- package/esm2022/steps/public_api.mjs +2 -1
- package/esm2022/steps/style/stepsstyle.mjs +37 -1
- package/esm2022/table/public_api.mjs +2 -1
- package/esm2022/table/style/tablestyle.mjs +899 -0
- package/esm2022/table/table.mjs +46 -42
- package/esm2022/tabmenu/public_api.mjs +2 -1
- package/esm2022/tabmenu/style/tabmenustyle.mjs +42 -2
- package/esm2022/tabmenu/tabmenu.mjs +11 -7
- package/esm2022/tabs/public_api.mjs +6 -2
- package/esm2022/tabs/style/tabsstyle.mjs +49 -1
- package/esm2022/tabs/tab.mjs +171 -0
- package/esm2022/tabs/tablist.mjs +256 -0
- package/esm2022/tabs/tabpanel.mjs +49 -0
- package/esm2022/tabs/tabpanels.mjs +30 -0
- package/esm2022/tabs/tabs.mjs +45 -948
- package/esm2022/tabview/public_api.mjs +2 -1
- package/esm2022/tabview/style/tabsstyle.mjs +49 -1
- package/esm2022/tag/public_api.mjs +2 -1
- package/esm2022/tag/style/tagstyle.mjs +25 -1
- package/esm2022/terminal/public_api.mjs +2 -1
- package/esm2022/terminal/style/terminalstyle.mjs +49 -1
- package/esm2022/textarea/public_api.mjs +2 -1
- package/esm2022/textarea/style/textareastyle.mjs +17 -1
- package/esm2022/textarea/textarea.mjs +1 -2
- package/esm2022/themes/aura/aura.mjs +7 -3
- package/esm2022/themes/aura/floatlabel/index.mjs +29 -1
- package/esm2022/themes/aura/iftalabel/index.mjs +16 -0
- package/esm2022/themes/lara/floatlabel/index.mjs +27 -1
- package/esm2022/themes/lara/iftalabel/index.mjs +16 -0
- package/esm2022/themes/lara/lara.mjs +7 -3
- package/esm2022/themes/nora/floatlabel/index.mjs +27 -1
- package/esm2022/themes/nora/iftalabel/index.mjs +16 -0
- package/esm2022/themes/nora/nora.mjs +7 -3
- package/esm2022/tieredmenu/public_api.mjs +2 -1
- package/esm2022/tieredmenu/style/tieredmenustyle.mjs +61 -1
- package/esm2022/tieredmenu/tieredmenu.mjs +15 -15
- package/esm2022/timeline/public_api.mjs +2 -1
- package/esm2022/timeline/style/timelinestyle.mjs +41 -1
- package/esm2022/timeline/timeline.mjs +54 -68
- package/esm2022/toast/public_api.mjs +2 -1
- package/esm2022/toast/style/toaststyle.mjs +49 -1
- package/esm2022/togglebutton/public_api.mjs +2 -1
- package/esm2022/togglebutton/style/togglebuttonstyle.mjs +26 -2
- package/esm2022/togglebutton/togglebutton.mjs +84 -77
- package/esm2022/toggleswitch/public_api.mjs +2 -1
- package/esm2022/toggleswitch/style/toggleswitchstyle.mjs +32 -5
- package/esm2022/toggleswitch/toggleswitch.mjs +44 -48
- package/esm2022/toolbar/public_api.mjs +2 -1
- package/esm2022/toolbar/style/toolbarstyle.mjs +29 -1
- package/esm2022/tooltip/public_api.mjs +2 -1
- package/esm2022/tooltip/style/tooltipstyle.mjs +25 -1
- package/esm2022/tree/public_api.mjs +2 -1
- package/esm2022/tree/style/treestyle.mjs +69 -1
- package/esm2022/tree/tree.mjs +15 -12
- package/esm2022/treeselect/public_api.mjs +2 -1
- package/esm2022/treeselect/style/treeselectstyle.mjs +53 -1
- package/esm2022/treeselect/treeselect.mjs +9 -58
- package/esm2022/treetable/public_api.mjs +2 -1
- package/esm2022/treetable/style/treetablestyle.mjs +98 -2
- package/esm2022/treetable/treetable.mjs +6 -6
- package/esm2022/utils/inpututils.mjs +7 -0
- package/esm2022/utils/public_api.mjs +3 -2
- package/fesm2022/primeng-accordion.mjs +470 -83
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +2 -0
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +74 -6
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +27 -2
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-avatargroup.mjs +16 -3
- package/fesm2022/primeng-avatargroup.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +55 -51
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +2 -3
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +19 -3
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +142 -119
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +31 -7
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +19 -3
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +2 -2
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +45 -1
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +69 -1
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +79 -19
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +36 -2
- package/fesm2022/primeng-chart.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +29 -1
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +33 -1
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +47 -3
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +35 -3
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +50 -10
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +68 -15
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +39 -3
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +184 -8
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +69 -16
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +24 -4
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +41 -1
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +53 -13
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +14 -11
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +142 -24
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +29 -4
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +47 -21
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +118 -13
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +96 -40
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-fluid.mjs +17 -1
- package/fesm2022/primeng-fluid.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +237 -124
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +29 -20
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +143 -0
- package/fesm2022/primeng-iftalabel.mjs.map +1 -0
- package/fesm2022/primeng-image.mjs +141 -41
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +27 -3
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +46 -17
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +15 -13
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputicon.mjs +7 -4
- package/fesm2022/primeng-inputicon.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +18 -2
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +256 -221
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +24 -4
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputswitch.mjs +1 -1
- package/fesm2022/primeng-inputtext.mjs +27 -2
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +17 -1
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-knob.mjs +29 -1
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +97 -20
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +95 -15
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +60 -2
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +67 -3
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +39 -35
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +1 -1
- package/fesm2022/primeng-metergroup.mjs +54 -10
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +767 -677
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +108 -16
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +57 -5
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +1 -1
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +4 -6
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +21 -1
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +86 -6
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +45 -1
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +111 -22
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +48 -2
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +222 -16
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +1 -1
- package/fesm2022/primeng-progressbar.mjs +27 -3
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-progressspinner.mjs +27 -3
- package/fesm2022/primeng-progressspinner.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +32 -4
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +39 -108
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +33 -12
- package/fesm2022/primeng-ripple.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +41 -9
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +35 -3
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +41 -16
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +102 -26
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +26 -10
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +1 -1
- package/fesm2022/primeng-skeleton.mjs +17 -1
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +25 -1
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +114 -50
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +49 -12
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +25 -1
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +388 -662
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +37 -1
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +253 -75
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +51 -7
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +494 -872
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +49 -1
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +25 -1
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +49 -1
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +17 -2
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-themes-aura.mjs +49 -2
- package/fesm2022/primeng-themes-aura.mjs.map +1 -1
- package/fesm2022/primeng-themes-lara.mjs +47 -2
- package/fesm2022/primeng-themes-lara.mjs.map +1 -1
- package/fesm2022/primeng-themes-nora.mjs +47 -2
- package/fesm2022/primeng-themes-nora.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +75 -15
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +94 -68
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +49 -1
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +109 -78
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +74 -51
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +29 -1
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +25 -1
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +83 -12
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +61 -58
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +102 -6
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-utils.mjs +8 -1
- package/fesm2022/primeng-utils.mjs.map +1 -1
- package/fieldset/fieldset.d.ts +1 -6
- package/fieldset/public_api.d.ts +1 -0
- package/fieldset/style/fieldsetstyle.d.ts +37 -0
- package/fileupload/fileupload.d.ts +4 -1
- package/fileupload/fileupload.interface.d.ts +9 -0
- package/fileupload/public_api.d.ts +1 -0
- package/fileupload/style/fileuploadstyle.d.ts +73 -0
- package/floatlabel/floatlabel.d.ts +6 -1
- package/floatlabel/public_api.d.ts +1 -0
- package/floatlabel/style/floatlabelstyle.d.ts +20 -6
- package/fluid/public_api.d.ts +1 -0
- package/fluid/style/fluidstyle.d.ts +17 -0
- package/galleria/public_api.d.ts +1 -0
- package/galleria/style/galleriastyle.d.ts +125 -0
- package/iconfield/iconfield.d.ts +1 -1
- package/iconfield/public_api.d.ts +1 -0
- package/iconfield/style/iconfieldstyle.d.ts +17 -0
- package/iftalabel/iftalabel.d.ts +20 -0
- package/iftalabel/index.d.ts +5 -0
- package/iftalabel/public_api.d.ts +2 -0
- package/iftalabel/style/iftalabelstyle.d.ts +30 -0
- package/image/image.d.ts +2 -0
- package/image/image.interface.d.ts +32 -0
- package/image/public_api.d.ts +1 -0
- package/image/style/imagestyle.d.ts +57 -0
- package/inplace/public_api.d.ts +1 -0
- package/inplace/style/inplacestyle.d.ts +25 -0
- package/inputgroup/public_api.d.ts +1 -0
- package/inputgroup/style/inputgroupstyle.d.ts +17 -0
- package/inputgroupaddon/inputgroupaddon.d.ts +3 -0
- package/inputgroupaddon/public_api.d.ts +1 -0
- package/inputicon/public_api.d.ts +1 -0
- package/inputmask/public_api.d.ts +1 -0
- package/inputmask/style/inputmaskstyle.d.ts +17 -0
- package/inputnumber/inputnumber.d.ts +2 -1
- package/inputnumber/public_api.d.ts +1 -0
- package/inputnumber/style/inputnumberstyle.d.ts +33 -0
- package/inputotp/inputotp.d.ts +1 -1
- package/inputotp/public_api.d.ts +1 -0
- package/inputotp/style/inputotpstyle.d.ts +21 -0
- package/inputswitch/public_api.d.ts +1 -0
- package/inputtext/inputtext.d.ts +6 -1
- package/inputtext/public_api.d.ts +1 -0
- package/inputtext/style/inputtextstyle.d.ts +17 -0
- package/inputtextarea/public_api.d.ts +1 -0
- package/inputtextarea/style/textareastyle.d.ts +17 -0
- package/knob/public_api.d.ts +1 -0
- package/knob/style/knobstyle.d.ts +29 -0
- package/listbox/listbox.d.ts +14 -6
- package/listbox/public_api.d.ts +1 -0
- package/listbox/style/listboxstyle.d.ts +53 -0
- package/megamenu/megamenu.d.ts +2 -2
- package/megamenu/public_api.d.ts +1 -0
- package/megamenu/style/megamenustyle.d.ts +81 -0
- package/menu/public_api.d.ts +1 -0
- package/menu/style/menustyle.d.ts +57 -0
- package/menubar/public_api.d.ts +1 -0
- package/menubar/style/menubarstyle.d.ts +65 -0
- package/message/style/messagestyle.d.ts +37 -0
- package/messages/public_api.d.ts +1 -0
- package/metergroup/metergroup.d.ts +2 -2
- package/metergroup/public_api.d.ts +1 -0
- package/metergroup/style/metergroupstyle.d.ts +45 -0
- package/multiselect/multiselect.d.ts +5 -6
- package/multiselect/public_api.d.ts +1 -0
- package/multiselect/style/multiselectstyle.d.ts +85 -0
- package/orderlist/orderlist.d.ts +28 -1
- package/orderlist/public_api.d.ts +1 -0
- package/orderlist/style/orderliststyle.d.ts +21 -0
- package/organizationchart/organizationchart.d.ts +1 -1
- package/organizationchart/public_api.d.ts +1 -0
- package/organizationchart/style/organizationchartstyle.d.ts +53 -0
- package/overlay/public_api.d.ts +1 -0
- package/overlaybadge/overlaybadge.d.ts +2 -2
- package/overlaybadge/public_api.d.ts +1 -0
- package/overlaypanel/public_api.d.ts +1 -0
- package/overlaypanel/style/popoverstyle.d.ts +21 -0
- package/package.json +371 -365
- package/paginator/public_api.d.ts +1 -0
- package/paginator/style/paginatorstyle.d.ts +81 -0
- package/panel/style/panelstyle.d.ts +43 -0
- package/panelmenu/panelmenu.d.ts +4 -4
- package/panelmenu/public_api.d.ts +1 -0
- package/panelmenu/style/panelmenustyle.d.ts +82 -0
- package/password/password.d.ts +1 -1
- package/password/public_api.d.ts +1 -0
- package/password/style/passwordstyle.d.ts +45 -0
- package/picklist/picklist.d.ts +52 -5
- package/picklist/public_api.d.ts +1 -0
- package/picklist/style/pickliststyle.d.ts +37 -0
- package/popover/public_api.d.ts +1 -0
- package/progressbar/progressbar.d.ts +1 -1
- package/progressbar/public_api.d.ts +1 -0
- package/progressbar/style/progressbarstyle.d.ts +25 -0
- package/progressspinner/progressspinner.d.ts +1 -1
- package/progressspinner/public_api.d.ts +1 -0
- package/progressspinner/style/progressspinnerstyle.d.ts +25 -0
- package/radiobutton/public_api.d.ts +1 -0
- package/radiobutton/radiobutton.d.ts +1 -1
- package/radiobutton/style/radiobuttonstyle.d.ts +29 -0
- package/rating/public_api.d.ts +1 -0
- package/rating/rating.d.ts +1 -20
- package/rating/style/ratingstyle.d.ts +29 -0
- package/ripple/public_api.d.ts +1 -0
- package/ripple/ripple.d.ts +1 -0
- package/ripple/style/ripplestyle.d.ts +17 -0
- package/scroller/public_api.d.ts +1 -0
- package/scroller/scroller.d.ts +2 -2
- package/scroller/style/scrollerstyle.d.ts +43 -0
- package/scrollpanel/public_api.d.ts +1 -0
- package/scrollpanel/scrollpanel.d.ts +1 -1
- package/scrollpanel/style/scrollpanelstyle.d.ts +33 -0
- package/scrolltop/public_api.d.ts +1 -0
- package/scrolltop/scrolltop.d.ts +1 -1
- package/scrolltop/style/scrolltopstyle.d.ts +21 -0
- package/select/public_api.d.ts +1 -0
- package/select/style/selectstyle.d.ts +85 -0
- package/selectbutton/public_api.d.ts +1 -0
- package/selectbutton/selectbutton.d.ts +1 -1
- package/selectbutton/style/selectbuttonstyle.d.ts +17 -0
- package/sidebar/public_api.d.ts +1 -0
- package/skeleton/public_api.d.ts +1 -0
- package/skeleton/style/skeletonstyle.d.ts +17 -0
- package/slider/public_api.d.ts +1 -0
- package/slider/style/sliderstyle.d.ts +25 -0
- package/speeddial/public_api.d.ts +1 -0
- package/speeddial/speeddial.d.ts +25 -2
- package/speeddial/speeddial.interface.d.ts +17 -1
- package/speeddial/style/speeddialstyle.d.ts +41 -0
- package/splitbutton/public_api.d.ts +1 -0
- package/splitbutton/splitbutton.d.ts +6 -1
- package/splitbutton/style/splitbuttonstyle.d.ts +25 -0
- package/splitter/public_api.d.ts +1 -0
- package/splitter/style/splitterstyle.d.ts +25 -0
- package/stepper/public_api.d.ts +1 -1
- package/stepper/stepper.d.ts +140 -88
- package/stepper/style/stepperstyle.d.ts +21 -0
- package/steps/public_api.d.ts +1 -0
- package/steps/style/stepsstyle.d.ts +37 -0
- package/table/public_api.d.ts +1 -0
- package/table/style/tablestyle.d.ts +327 -0
- package/table/table.d.ts +5 -5
- package/tabmenu/public_api.d.ts +1 -0
- package/tabmenu/style/tabmenustyle.d.ts +41 -0
- package/tabmenu/tabmenu.d.ts +2 -1
- package/tabs/public_api.d.ts +5 -1
- package/tabs/style/tabsstyle.d.ts +49 -0
- package/tabs/tab.d.ts +47 -0
- package/tabs/tablist.d.ts +51 -0
- package/tabs/tabpanel.d.ts +20 -0
- package/tabs/tabpanels.d.ts +10 -0
- package/tabs/tabs.d.ts +31 -237
- package/tabview/public_api.d.ts +1 -0
- package/tabview/style/tabsstyle.d.ts +49 -0
- package/tag/public_api.d.ts +1 -0
- package/tag/style/tagstyle.d.ts +25 -0
- package/terminal/public_api.d.ts +1 -0
- package/terminal/style/terminalstyle.d.ts +49 -0
- package/textarea/public_api.d.ts +1 -0
- package/textarea/style/textareastyle.d.ts +17 -0
- package/themes/aura/aura.d.ts +45 -0
- package/themes/aura/floatlabel/index.d.ts +28 -0
- package/themes/aura/iftalabel/index.d.ts +16 -0
- package/themes/lara/floatlabel/index.d.ts +26 -0
- package/themes/lara/iftalabel/index.d.ts +16 -0
- package/themes/lara/lara.d.ts +43 -0
- package/themes/nora/floatlabel/index.d.ts +26 -0
- package/themes/nora/iftalabel/index.d.ts +16 -0
- package/themes/nora/nora.d.ts +43 -0
- package/tieredmenu/public_api.d.ts +1 -0
- package/tieredmenu/style/tieredmenustyle.d.ts +61 -0
- package/tieredmenu/tieredmenu.d.ts +2 -2
- package/timeline/public_api.d.ts +1 -0
- package/timeline/style/timelinestyle.d.ts +41 -0
- package/timeline/timeline.d.ts +1 -0
- package/toast/public_api.d.ts +1 -0
- package/toast/style/toaststyle.d.ts +49 -0
- package/togglebutton/public_api.d.ts +1 -0
- package/togglebutton/style/togglebuttonstyle.d.ts +25 -0
- package/togglebutton/togglebutton.d.ts +6 -7
- package/toggleswitch/public_api.d.ts +1 -0
- package/toggleswitch/style/toggleswitchstyle.d.ts +25 -0
- package/toolbar/public_api.d.ts +1 -0
- package/toolbar/style/toolbarstyle.d.ts +29 -0
- package/tooltip/public_api.d.ts +1 -0
- package/tooltip/style/tooltipstyle.d.ts +25 -0
- package/tree/public_api.d.ts +1 -0
- package/tree/style/treestyle.d.ts +69 -0
- package/tree/tree.d.ts +1 -0
- package/treeselect/public_api.d.ts +1 -0
- package/treeselect/style/treeselectstyle.d.ts +53 -0
- package/treeselect/treeselect.d.ts +1 -1
- package/treetable/public_api.d.ts +1 -0
- package/treetable/style/treetablestyle.d.ts +97 -0
- package/treetable/treetable.d.ts +1 -1
- package/utils/inpututils.d.ts +2 -0
- package/utils/public_api.d.ts +2 -1
- package/accordion/accordion.interface.d.ts +0 -49
- package/esm2022/accordion/accordion.interface.mjs +0 -2
- package/esm2022/scroller/style/virtualscrollerstyle.mjs +0 -72
- package/esm2022/stepper/stepper.interface.mjs +0 -2
- package/esm2022/table/style/datatablestyle.mjs +0 -725
- package/esm2022/tabs/tabs.interface.mjs +0 -2
- package/scroller/style/virtualscrollerstyle.d.ts +0 -10
- package/stepper/stepper.interface.d.ts +0 -26
- package/table/style/datatablestyle.d.ts +0 -124
- package/tabs/tabs.interface.d.ts +0 -49
@@ -1,15 +1,17 @@
|
|
1
1
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
2
|
-
import * as
|
2
|
+
import * as i2 from '@angular/common';
|
3
3
|
import { CommonModule } from '@angular/common';
|
4
4
|
import * as i0 from '@angular/core';
|
5
|
-
import { Injectable,
|
6
|
-
import {
|
5
|
+
import { Injectable, inject, forwardRef, model, input, computed, Component, ChangeDetectionStrategy, ViewEncapsulation, HostListener, ContentChild, ContentChildren, EventEmitter, booleanAttribute, numberAttribute, HostBinding, Input, Output, signal, NgModule } from '@angular/core';
|
6
|
+
import { PrimeTemplate, Header, SharedModule } from 'primeng/api';
|
7
7
|
import { DomHandler } from 'primeng/dom';
|
8
8
|
import { ChevronDownIcon } from 'primeng/icons/chevrondown';
|
9
|
-
import { UniqueComponentId } from 'primeng/utils';
|
9
|
+
import { transformToBoolean, UniqueComponentId } from 'primeng/utils';
|
10
10
|
import { BaseStyle } from 'primeng/base';
|
11
11
|
import { BaseComponent } from 'primeng/basecomponent';
|
12
12
|
import { ChevronUpIcon } from 'primeng/icons/chevronup';
|
13
|
+
import * as i1 from 'primeng/ripple';
|
14
|
+
import { Ripple } from 'primeng/ripple';
|
13
15
|
|
14
16
|
const theme = ({ dt }) => `
|
15
17
|
.p-accordionpanel {
|
@@ -117,7 +119,8 @@ const theme = ({ dt }) => `
|
|
117
119
|
.p-accordionheader:has(.p-accordionheader-toggle-icon.icon-start) {
|
118
120
|
justify-content: flex-start;
|
119
121
|
gap: ${dt('accordion.header.padding')};
|
120
|
-
}
|
122
|
+
}
|
123
|
+
`;
|
121
124
|
const classes = {
|
122
125
|
root: 'p-accordion p-component',
|
123
126
|
};
|
@@ -131,9 +134,364 @@ class AccordionStyle extends BaseStyle {
|
|
131
134
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionStyle, decorators: [{
|
132
135
|
type: Injectable
|
133
136
|
}] });
|
137
|
+
/**
|
138
|
+
*
|
139
|
+
* Accordion groups a collection of contents in tabs.
|
140
|
+
*
|
141
|
+
* [Live Demo](https://www.primeng.org/accordion/)
|
142
|
+
*
|
143
|
+
* @module accordionstyle
|
144
|
+
*
|
145
|
+
*/
|
146
|
+
var AccordionClasses;
|
147
|
+
(function (AccordionClasses) {
|
148
|
+
/**
|
149
|
+
* Class name of the root element
|
150
|
+
*/
|
151
|
+
AccordionClasses["root"] = "p-accordion";
|
152
|
+
/**
|
153
|
+
* Class name of the content wrapper
|
154
|
+
*/
|
155
|
+
AccordionClasses["contentwrapper"] = "p-accordioncontent";
|
156
|
+
/**
|
157
|
+
* Class name of the content
|
158
|
+
*/
|
159
|
+
AccordionClasses["content"] = "p-accordioncontent-content";
|
160
|
+
/**
|
161
|
+
* Class name of the header
|
162
|
+
*/
|
163
|
+
AccordionClasses["header"] = "p-accordionheader";
|
164
|
+
/**
|
165
|
+
* Class name of the toggle icon
|
166
|
+
*/
|
167
|
+
AccordionClasses["toggleicon"] = "p-accordionheader-toggle-icon";
|
168
|
+
/**
|
169
|
+
* Class name of the panel
|
170
|
+
*/
|
171
|
+
AccordionClasses["panel"] = "p-accordionpanel";
|
172
|
+
})(AccordionClasses || (AccordionClasses = {}));
|
134
173
|
|
174
|
+
/**
|
175
|
+
* AccordionPanel is a helper component for Accordion component.
|
176
|
+
* @group Components
|
177
|
+
*/
|
178
|
+
class AccordionPanel extends BaseComponent {
|
179
|
+
pcAccordion = inject(forwardRef(() => Accordion));
|
180
|
+
/**
|
181
|
+
* Value of the active tab.
|
182
|
+
* @defaultValue undefined
|
183
|
+
* @group Props
|
184
|
+
*/
|
185
|
+
value = model(undefined);
|
186
|
+
/**
|
187
|
+
* Disables the tab when enabled.
|
188
|
+
* @defaultValue false
|
189
|
+
* @group Props
|
190
|
+
*/
|
191
|
+
disabled = input(false, { transform: (v) => transformToBoolean(v) });
|
192
|
+
active = computed(() => this.pcAccordion.multiple() ? this.valueEquals(this.pcAccordion.value(), this.value()) : this.pcAccordion.value() === this.value());
|
193
|
+
valueEquals(currentValue, value) {
|
194
|
+
if (Array.isArray(currentValue)) {
|
195
|
+
return currentValue.includes(value);
|
196
|
+
}
|
197
|
+
return currentValue === value;
|
198
|
+
}
|
199
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionPanel, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
200
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.2", type: AccordionPanel, isStandalone: true, selector: "p-accordion-panel", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { properties: { "class.p-accordionpanel": "true", "class.p-accordionpanel-active": "active()", "class.p-disabled": "disabled()", "attr.data-pc-name": "\"accordionpanel\"", "attr.data-p-disabled": "disabled()", "attr.data-p-active": "active()" } }, usesInheritance: true, ngImport: i0, template: `<ng-content />`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
201
|
+
}
|
202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionPanel, decorators: [{
|
203
|
+
type: Component,
|
204
|
+
args: [{
|
205
|
+
selector: 'p-accordion-panel',
|
206
|
+
imports: [CommonModule],
|
207
|
+
standalone: true,
|
208
|
+
template: `<ng-content />`,
|
209
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
210
|
+
encapsulation: ViewEncapsulation.None,
|
211
|
+
host: {
|
212
|
+
'[class.p-accordionpanel]': 'true',
|
213
|
+
'[class.p-accordionpanel-active]': 'active()',
|
214
|
+
'[class.p-disabled]': 'disabled()',
|
215
|
+
'[attr.data-pc-name]': '"accordionpanel"',
|
216
|
+
'[attr.data-p-disabled]': 'disabled()',
|
217
|
+
'[attr.data-p-active]': 'active()',
|
218
|
+
},
|
219
|
+
}]
|
220
|
+
}] });
|
221
|
+
/**
|
222
|
+
* AccordionHeader is a helper component for Accordion component.
|
223
|
+
* @group Components
|
224
|
+
*/
|
225
|
+
class AccordionHeader extends BaseComponent {
|
226
|
+
pcAccordion = inject(forwardRef(() => Accordion));
|
227
|
+
pcAccordionPanel = inject(forwardRef(() => AccordionPanel));
|
228
|
+
id = computed(() => `${this.pcAccordion.id()}_accordionheader_${this.pcAccordionPanel.value()}`);
|
229
|
+
active = computed(() => this.pcAccordionPanel.active());
|
230
|
+
disabled = computed(() => this.pcAccordionPanel.disabled());
|
231
|
+
ariaControls = computed(() => `${this.pcAccordion.id()}_accordioncontent_${this.pcAccordionPanel.value()}`);
|
232
|
+
onClick() {
|
233
|
+
this.changeActiveValue();
|
234
|
+
}
|
235
|
+
onFocus() {
|
236
|
+
this.pcAccordion.selectOnFocus() && this.changeActiveValue();
|
237
|
+
}
|
238
|
+
onKeydown(event) {
|
239
|
+
switch (event.code) {
|
240
|
+
case 'ArrowDown':
|
241
|
+
this.arrowDownKey(event);
|
242
|
+
break;
|
243
|
+
case 'ArrowUp':
|
244
|
+
this.arrowUpKey(event);
|
245
|
+
break;
|
246
|
+
case 'Home':
|
247
|
+
this.onHomeKey(event);
|
248
|
+
break;
|
249
|
+
case 'End':
|
250
|
+
this.onEndKey(event);
|
251
|
+
break;
|
252
|
+
case 'Enter':
|
253
|
+
case 'Space':
|
254
|
+
case 'NumpadEnter':
|
255
|
+
this.onEnterKey(event);
|
256
|
+
break;
|
257
|
+
default:
|
258
|
+
break;
|
259
|
+
}
|
260
|
+
}
|
261
|
+
/**
|
262
|
+
* A template reference variable that represents the toggle icon in a UI component.
|
263
|
+
* @param {AccordionToggleIconTemplateContext} context - Context of the template
|
264
|
+
* @example
|
265
|
+
* ```html
|
266
|
+
* <ng-template #toggleicon let-active="active"> </ng-template>
|
267
|
+
* ```
|
268
|
+
* @see {@link AccordionToggleIconTemplateContext}
|
269
|
+
* @group Templates
|
270
|
+
*/
|
271
|
+
toggleicon;
|
272
|
+
templates;
|
273
|
+
ngAfterContentInit() {
|
274
|
+
this.templates.forEach((item) => {
|
275
|
+
switch (item.getType()) {
|
276
|
+
case 'toggleicon':
|
277
|
+
this.toggleicon = item.template;
|
278
|
+
break;
|
279
|
+
}
|
280
|
+
});
|
281
|
+
}
|
282
|
+
changeActiveValue() {
|
283
|
+
this.pcAccordion.updateValue(this.pcAccordionPanel.value());
|
284
|
+
}
|
285
|
+
findPanel(headerElement) {
|
286
|
+
return headerElement?.closest('[data-pc-name="accordionpanel"]');
|
287
|
+
}
|
288
|
+
findHeader(panelElement) {
|
289
|
+
return DomHandler.findSingle(panelElement, '[data-pc-name="accordionheader"]');
|
290
|
+
}
|
291
|
+
findNextPanel(panelElement, selfCheck = false) {
|
292
|
+
const element = selfCheck ? panelElement : panelElement.nextElementSibling;
|
293
|
+
return element
|
294
|
+
? DomHandler.getAttribute(element, 'data-p-disabled')
|
295
|
+
? this.findNextPanel(element)
|
296
|
+
: this.findHeader(element)
|
297
|
+
: null;
|
298
|
+
}
|
299
|
+
findPrevPanel(panelElement, selfCheck = false) {
|
300
|
+
const element = selfCheck ? panelElement : panelElement.previousElementSibling;
|
301
|
+
return element
|
302
|
+
? DomHandler.getAttribute(element, 'data-p-disabled')
|
303
|
+
? this.findPrevPanel(element)
|
304
|
+
: this.findHeader(element)
|
305
|
+
: null;
|
306
|
+
}
|
307
|
+
findFirstPanel() {
|
308
|
+
return this.findNextPanel(this.pcAccordion.el.nativeElement.firstElementChild, true);
|
309
|
+
}
|
310
|
+
findLastPanel() {
|
311
|
+
return this.findPrevPanel(this.pcAccordion.el.nativeElement.lastElementChild, true);
|
312
|
+
}
|
313
|
+
changeFocusedPanel(event, element) {
|
314
|
+
DomHandler.focus(element);
|
315
|
+
}
|
316
|
+
arrowDownKey(event) {
|
317
|
+
const nextPanel = this.findNextPanel(this.findPanel(event.currentTarget));
|
318
|
+
nextPanel ? this.changeFocusedPanel(event, nextPanel) : this.onHomeKey(event);
|
319
|
+
event.preventDefault();
|
320
|
+
}
|
321
|
+
arrowUpKey(event) {
|
322
|
+
const prevPanel = this.findPrevPanel(this.findPanel(event.currentTarget));
|
323
|
+
prevPanel ? this.changeFocusedPanel(event, prevPanel) : this.onEndKey(event);
|
324
|
+
event.preventDefault();
|
325
|
+
}
|
326
|
+
onHomeKey(event) {
|
327
|
+
const firstPanel = this.findFirstPanel();
|
328
|
+
this.changeFocusedPanel(event, firstPanel);
|
329
|
+
event.preventDefault();
|
330
|
+
}
|
331
|
+
onEndKey(event) {
|
332
|
+
const lastPanel = this.findLastPanel();
|
333
|
+
this.changeFocusedPanel(event, lastPanel);
|
334
|
+
event.preventDefault();
|
335
|
+
}
|
336
|
+
onEnterKey(event) {
|
337
|
+
this.changeActiveValue();
|
338
|
+
event.preventDefault();
|
339
|
+
}
|
340
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionHeader, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
341
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.2", type: AccordionHeader, isStandalone: true, selector: "p-accordion-header", host: { listeners: { "click": "onClick($event)", "focus": "onFocus($event)", "keydown": "onKeydown($event)" }, properties: { "class.p-accordionheader": "true", "attr.id": "id()", "attr.aria-expanded": "active()", "attr.aria-controls": "ariaControls()", "attr.role": "\"button\"", "attr.tabindex": "\"0\"", "attr.data-p-active": "active()", "attr.data-p-disabled": "disabled()", "attr.data-pc-name": "\"accordionheader\"", "style.user-select": "\"none\"" } }, queries: [{ propertyName: "toggleicon", first: true, predicate: ["toggleicon"], descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, hostDirectives: [{ directive: i1.Ripple }], ngImport: i0, template: `
|
342
|
+
<ng-content />
|
343
|
+
@if (toggleicon) {
|
344
|
+
<ng-template *ngTemplateOutlet="toggleicon; context: { active: active() }"></ng-template>
|
345
|
+
} @else {
|
346
|
+
<ng-container *ngIf="active()">
|
347
|
+
<span
|
348
|
+
*ngIf="pcAccordion.collapseIcon"
|
349
|
+
[class]="pcAccordion.collapseIcon"
|
350
|
+
[ngClass]="pcAccordion.iconClass"
|
351
|
+
[attr.aria-hidden]="true"
|
352
|
+
></span>
|
353
|
+
<ChevronDownIcon *ngIf="!pcAccordion.collapseIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true" />
|
354
|
+
</ng-container>
|
355
|
+
<ng-container *ngIf="!active()">
|
356
|
+
<span
|
357
|
+
*ngIf="pcAccordion.expandIcon"
|
358
|
+
[class]="pcAccordion.expandIcon"
|
359
|
+
[ngClass]="pcAccordion.iconClass"
|
360
|
+
[attr.aria-hidden]="true"
|
361
|
+
></span>
|
362
|
+
<ChevronUpIcon *ngIf="!pcAccordion.expandIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true" />
|
363
|
+
</ng-container>
|
364
|
+
}
|
365
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: ChevronUpIcon, selector: "ChevronUpIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
366
|
+
}
|
367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionHeader, decorators: [{
|
368
|
+
type: Component,
|
369
|
+
args: [{
|
370
|
+
selector: 'p-accordion-header',
|
371
|
+
imports: [CommonModule, ChevronDownIcon, ChevronUpIcon, Ripple],
|
372
|
+
standalone: true,
|
373
|
+
template: `
|
374
|
+
<ng-content />
|
375
|
+
@if (toggleicon) {
|
376
|
+
<ng-template *ngTemplateOutlet="toggleicon; context: { active: active() }"></ng-template>
|
377
|
+
} @else {
|
378
|
+
<ng-container *ngIf="active()">
|
379
|
+
<span
|
380
|
+
*ngIf="pcAccordion.collapseIcon"
|
381
|
+
[class]="pcAccordion.collapseIcon"
|
382
|
+
[ngClass]="pcAccordion.iconClass"
|
383
|
+
[attr.aria-hidden]="true"
|
384
|
+
></span>
|
385
|
+
<ChevronDownIcon *ngIf="!pcAccordion.collapseIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true" />
|
386
|
+
</ng-container>
|
387
|
+
<ng-container *ngIf="!active()">
|
388
|
+
<span
|
389
|
+
*ngIf="pcAccordion.expandIcon"
|
390
|
+
[class]="pcAccordion.expandIcon"
|
391
|
+
[ngClass]="pcAccordion.iconClass"
|
392
|
+
[attr.aria-hidden]="true"
|
393
|
+
></span>
|
394
|
+
<ChevronUpIcon *ngIf="!pcAccordion.expandIcon" [ngClass]="pcAccordion.iconClass" [attr.aria-hidden]="true" />
|
395
|
+
</ng-container>
|
396
|
+
}
|
397
|
+
`,
|
398
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
399
|
+
encapsulation: ViewEncapsulation.None,
|
400
|
+
host: {
|
401
|
+
'[class.p-accordionheader]': 'true',
|
402
|
+
'[attr.id]': 'id()',
|
403
|
+
'[attr.aria-expanded]': 'active()',
|
404
|
+
'[attr.aria-controls]': 'ariaControls()',
|
405
|
+
'[attr.role]': '"button"',
|
406
|
+
'[attr.tabindex]': '"0"',
|
407
|
+
'[attr.data-p-active]': 'active()',
|
408
|
+
'[attr.data-p-disabled]': 'disabled()',
|
409
|
+
'[attr.data-pc-name]': '"accordionheader"',
|
410
|
+
'[style.user-select]': '"none"',
|
411
|
+
},
|
412
|
+
hostDirectives: [Ripple],
|
413
|
+
}]
|
414
|
+
}], propDecorators: { onClick: [{
|
415
|
+
type: HostListener,
|
416
|
+
args: ['click', ['$event']]
|
417
|
+
}], onFocus: [{
|
418
|
+
type: HostListener,
|
419
|
+
args: ['focus', ['$event']]
|
420
|
+
}], onKeydown: [{
|
421
|
+
type: HostListener,
|
422
|
+
args: ['keydown', ['$event']]
|
423
|
+
}], toggleicon: [{
|
424
|
+
type: ContentChild,
|
425
|
+
args: ['toggleicon']
|
426
|
+
}], templates: [{
|
427
|
+
type: ContentChildren,
|
428
|
+
args: [PrimeTemplate]
|
429
|
+
}] } });
|
430
|
+
class AccordionContent extends BaseComponent {
|
431
|
+
pcAccordion = inject(forwardRef(() => Accordion));
|
432
|
+
pcAccordionPanel = inject(forwardRef(() => AccordionPanel));
|
433
|
+
active = computed(() => this.pcAccordionPanel.active());
|
434
|
+
ariaLabelledby = computed(() => `${this.pcAccordion.id()}_accordionheader_${this.pcAccordionPanel.value()}`);
|
435
|
+
id = computed(() => `${this.pcAccordion.id()}_accordioncontent_${this.pcAccordionPanel.value()}`);
|
436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionContent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
437
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.2", type: AccordionContent, isStandalone: true, selector: "p-accordion-content", host: { properties: { "class.p-accordioncontent": "true", "attr.id": "id()", "attr.role": "\"region\"", "attr.data-pc-name": "\"accordioncontent\"", "attr.data-p-active": "active()", "attr.aria-labelledby": "ariaLabelledby()", "@content": "active()\n ? { value: 'visible', params: { transitionParams: pcAccordion.transitionOptions } }\n : { value: 'hidden', params: { transitionParams: pcAccordion.transitionOptions } }" } }, usesInheritance: true, ngImport: i0, template: ` <div class="p-accordioncontent-content">
|
438
|
+
<ng-content />
|
439
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], animations: [
|
440
|
+
trigger('content', [
|
441
|
+
state('hidden', style({
|
442
|
+
height: '0',
|
443
|
+
visibility: 'hidden',
|
444
|
+
})),
|
445
|
+
state('visible', style({
|
446
|
+
height: '*',
|
447
|
+
visibility: 'visible',
|
448
|
+
})),
|
449
|
+
transition('visible <=> hidden', [animate('{{transitionParams}}')]),
|
450
|
+
transition('void => *', animate(0)),
|
451
|
+
]),
|
452
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
453
|
+
}
|
454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionContent, decorators: [{
|
455
|
+
type: Component,
|
456
|
+
args: [{
|
457
|
+
selector: 'p-accordion-content',
|
458
|
+
imports: [CommonModule],
|
459
|
+
standalone: true,
|
460
|
+
template: ` <div class="p-accordioncontent-content">
|
461
|
+
<ng-content />
|
462
|
+
</div>`,
|
463
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
464
|
+
encapsulation: ViewEncapsulation.None,
|
465
|
+
host: {
|
466
|
+
'[class.p-accordioncontent]': 'true',
|
467
|
+
'[attr.id]': 'id()',
|
468
|
+
'[attr.role]': '"region"',
|
469
|
+
'[attr.data-pc-name]': '"accordioncontent"',
|
470
|
+
'[attr.data-p-active]': 'active()',
|
471
|
+
'[attr.aria-labelledby]': 'ariaLabelledby()',
|
472
|
+
'[@content]': `active()
|
473
|
+
? { value: 'visible', params: { transitionParams: pcAccordion.transitionOptions } }
|
474
|
+
: { value: 'hidden', params: { transitionParams: pcAccordion.transitionOptions } }`,
|
475
|
+
},
|
476
|
+
animations: [
|
477
|
+
trigger('content', [
|
478
|
+
state('hidden', style({
|
479
|
+
height: '0',
|
480
|
+
visibility: 'hidden',
|
481
|
+
})),
|
482
|
+
state('visible', style({
|
483
|
+
height: '*',
|
484
|
+
visibility: 'visible',
|
485
|
+
})),
|
486
|
+
transition('visible <=> hidden', [animate('{{transitionParams}}')]),
|
487
|
+
transition('void => *', animate(0)),
|
488
|
+
]),
|
489
|
+
],
|
490
|
+
}]
|
491
|
+
}] });
|
135
492
|
/**
|
136
493
|
* AccordionTab is a helper component for Accordion.
|
494
|
+
* @deprecated Use AccordionPanel, AccordionHeader, AccordionContent instead.
|
137
495
|
* @group Components
|
138
496
|
*/
|
139
497
|
class AccordionTab extends BaseComponent {
|
@@ -247,6 +605,10 @@ class AccordionTab extends BaseComponent {
|
|
247
605
|
loaded = false;
|
248
606
|
accordion = inject(forwardRef(() => Accordion));
|
249
607
|
_componentStyle = inject(AccordionStyle);
|
608
|
+
ngOnInit() {
|
609
|
+
super.ngOnInit();
|
610
|
+
console.log('AccordionTab is deprecated as of v18, please use the new structure instead.');
|
611
|
+
}
|
250
612
|
ngAfterContentInit() {
|
251
613
|
this.templates.forEach((item) => {
|
252
614
|
switch (item.getType()) {
|
@@ -275,7 +637,7 @@ class AccordionTab extends BaseComponent {
|
|
275
637
|
this.accordion.onClose.emit({ originalEvent: event, index: index });
|
276
638
|
}
|
277
639
|
else {
|
278
|
-
if (!this.accordion.multiple) {
|
640
|
+
if (!this.accordion.multiple()) {
|
279
641
|
for (var i = 0; i < this.accordion.tabs.length; i++) {
|
280
642
|
if (this.accordion.tabs[i].selected) {
|
281
643
|
this.accordion.tabs[i].selected = false;
|
@@ -328,7 +690,7 @@ class AccordionTab extends BaseComponent {
|
|
328
690
|
super.ngOnDestroy();
|
329
691
|
}
|
330
692
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionTab, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
331
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.2", type: AccordionTab, isStandalone: true, selector: "p-accordionTab", inputs: { id: "id", header: "header", headerStyle: "headerStyle", tabStyle: "tabStyle", contentStyle: "contentStyle", tabStyleClass: "tabStyleClass", headerStyleClass: "headerStyleClass", contentStyleClass: "contentStyleClass", disabled: ["disabled", "disabled", booleanAttribute], cache: ["cache", "cache", booleanAttribute], transitionOptions: "transitionOptions", iconPos: "iconPos", selected: "selected", headerAriaLevel: ["headerAriaLevel", "headerAriaLevel", numberAttribute] }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class.p-accordionpanel": "true", "class.p-accordionpanel-active": "selected", "attr.data-pc-name": "accordiontab", "class": "this.hostClass", "style": "this.hostStyle" } }, providers: [AccordionStyle], queries: [{ propertyName: "headerFacet", predicate: Header }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, ngImport: i0, template: `
|
693
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.2", type: AccordionTab, isStandalone: true, selector: "p-accordionTab, p-accordion-tab", inputs: { id: "id", header: "header", headerStyle: "headerStyle", tabStyle: "tabStyle", contentStyle: "contentStyle", tabStyleClass: "tabStyleClass", headerStyleClass: "headerStyleClass", contentStyleClass: "contentStyleClass", disabled: ["disabled", "disabled", booleanAttribute], cache: ["cache", "cache", booleanAttribute], transitionOptions: "transitionOptions", iconPos: "iconPos", selected: "selected", headerAriaLevel: ["headerAriaLevel", "headerAriaLevel", numberAttribute] }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class.p-accordionpanel": "true", "class.p-accordionpanel-active": "selected", "attr.data-pc-name": "\"accordiontab\"", "class": "this.hostClass", "style": "this.hostStyle" } }, providers: [AccordionStyle], queries: [{ propertyName: "headerFacet", predicate: Header }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, ngImport: i0, template: `
|
332
694
|
<button
|
333
695
|
class="p-accordionheader"
|
334
696
|
type="button"
|
@@ -337,7 +699,7 @@ class AccordionTab extends BaseComponent {
|
|
337
699
|
[attr.aria-level]="headerAriaLevel"
|
338
700
|
[class.p-disabled]="disabled"
|
339
701
|
[attr.data-p-disabled]="disabled"
|
340
|
-
[attr.data-pc-section]="'
|
702
|
+
[attr.data-pc-section]="'accordionheader'"
|
341
703
|
(click)="toggle($event)"
|
342
704
|
(keydown)="onKeydown($event)"
|
343
705
|
[ngClass]="headerStyleClass"
|
@@ -345,7 +707,6 @@ class AccordionTab extends BaseComponent {
|
|
345
707
|
[attr.tabindex]="disabled ? null : 0"
|
346
708
|
[attr.id]="getTabHeaderActionId(id)"
|
347
709
|
[attr.aria-controls]="getTabContentId(id)"
|
348
|
-
[attr.data-pc-section]="'headeraction'"
|
349
710
|
>
|
350
711
|
@if (!hasHeaderFacet && !headerTemplate) {
|
351
712
|
{{ header }}
|
@@ -354,7 +715,7 @@ class AccordionTab extends BaseComponent {
|
|
354
715
|
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
355
716
|
}
|
356
717
|
@if (hasHeaderFacet) {
|
357
|
-
<ng-content select="p-header"
|
718
|
+
<ng-content select="p-header" />
|
358
719
|
}
|
359
720
|
}
|
360
721
|
@if (iconTemplate) {
|
@@ -394,13 +755,13 @@ class AccordionTab extends BaseComponent {
|
|
394
755
|
[attr.data-pc-section]="'toggleablecontent'"
|
395
756
|
>
|
396
757
|
<div class="p-accordioncontent-content" [ngClass]="contentStyleClass" [ngStyle]="contentStyle">
|
397
|
-
<ng-content
|
758
|
+
<ng-content />
|
398
759
|
<ng-container *ngIf="contentTemplate && (cache ? loaded : selected)">
|
399
760
|
<ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
|
400
761
|
</ng-container>
|
401
762
|
</div>
|
402
763
|
</div>
|
403
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
764
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: ChevronUpIcon, selector: "ChevronUpIcon" }], animations: [
|
404
765
|
trigger('tabContent', [
|
405
766
|
state('hidden', style({
|
406
767
|
height: '0',
|
@@ -418,7 +779,7 @@ class AccordionTab extends BaseComponent {
|
|
418
779
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionTab, decorators: [{
|
419
780
|
type: Component,
|
420
781
|
args: [{
|
421
|
-
selector: 'p-accordionTab',
|
782
|
+
selector: 'p-accordionTab, p-accordion-tab',
|
422
783
|
standalone: true,
|
423
784
|
imports: [CommonModule, ChevronDownIcon, ChevronUpIcon],
|
424
785
|
template: `
|
@@ -430,7 +791,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
430
791
|
[attr.aria-level]="headerAriaLevel"
|
431
792
|
[class.p-disabled]="disabled"
|
432
793
|
[attr.data-p-disabled]="disabled"
|
433
|
-
[attr.data-pc-section]="'
|
794
|
+
[attr.data-pc-section]="'accordionheader'"
|
434
795
|
(click)="toggle($event)"
|
435
796
|
(keydown)="onKeydown($event)"
|
436
797
|
[ngClass]="headerStyleClass"
|
@@ -438,7 +799,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
438
799
|
[attr.tabindex]="disabled ? null : 0"
|
439
800
|
[attr.id]="getTabHeaderActionId(id)"
|
440
801
|
[attr.aria-controls]="getTabContentId(id)"
|
441
|
-
[attr.data-pc-section]="'headeraction'"
|
442
802
|
>
|
443
803
|
@if (!hasHeaderFacet && !headerTemplate) {
|
444
804
|
{{ header }}
|
@@ -447,7 +807,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
447
807
|
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
|
448
808
|
}
|
449
809
|
@if (hasHeaderFacet) {
|
450
|
-
<ng-content select="p-header"
|
810
|
+
<ng-content select="p-header" />
|
451
811
|
}
|
452
812
|
}
|
453
813
|
@if (iconTemplate) {
|
@@ -487,7 +847,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
487
847
|
[attr.data-pc-section]="'toggleablecontent'"
|
488
848
|
>
|
489
849
|
<div class="p-accordioncontent-content" [ngClass]="contentStyleClass" [ngStyle]="contentStyle">
|
490
|
-
<ng-content
|
850
|
+
<ng-content />
|
491
851
|
<ng-container *ngIf="contentTemplate && (cache ? loaded : selected)">
|
492
852
|
<ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
|
493
853
|
</ng-container>
|
@@ -511,7 +871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
511
871
|
host: {
|
512
872
|
'[class.p-accordionpanel]': 'true',
|
513
873
|
'[class.p-accordionpanel-active]': 'selected',
|
514
|
-
'[attr.data-pc-name]': 'accordiontab',
|
874
|
+
'[attr.data-pc-name]': '"accordiontab"',
|
515
875
|
},
|
516
876
|
providers: [AccordionStyle],
|
517
877
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
@@ -574,11 +934,18 @@ class Accordion extends BaseComponent {
|
|
574
934
|
get hostStyle() {
|
575
935
|
return this.style;
|
576
936
|
}
|
937
|
+
/**
|
938
|
+
* Value of the active tab.
|
939
|
+
* @defaultValue undefined
|
940
|
+
* @group Props
|
941
|
+
*/
|
942
|
+
value = model(undefined);
|
577
943
|
/**
|
578
944
|
* When enabled, multiple tabs can be activated at the same time.
|
945
|
+
* @defaultValue false
|
579
946
|
* @group Props
|
580
947
|
*/
|
581
|
-
multiple = false;
|
948
|
+
multiple = input(false, { transform: (v) => transformToBoolean(v) });
|
582
949
|
/**
|
583
950
|
* Inline style of the tab header and content.
|
584
951
|
* @group Props
|
@@ -600,12 +967,11 @@ class Accordion extends BaseComponent {
|
|
600
967
|
*/
|
601
968
|
collapseIcon;
|
602
969
|
/**
|
603
|
-
*
|
970
|
+
* When enabled, the focused tab is activated.
|
971
|
+
* @defaultValue false
|
604
972
|
* @group Props
|
605
973
|
*/
|
606
|
-
|
607
|
-
return this._activeIndex;
|
608
|
-
}
|
974
|
+
selectOnFocus = input(false, { transform: (v) => transformToBoolean(v) });
|
609
975
|
set activeIndex(val) {
|
610
976
|
this._activeIndex = val;
|
611
977
|
if (this.preventActiveIndexPropagation) {
|
@@ -615,17 +981,17 @@ class Accordion extends BaseComponent {
|
|
615
981
|
this.updateSelectionState();
|
616
982
|
}
|
617
983
|
/**
|
618
|
-
*
|
984
|
+
* Transition options of the animation.
|
619
985
|
* @group Props
|
620
986
|
*/
|
621
|
-
|
987
|
+
transitionOptions = '400ms cubic-bezier(0.86, 0, 0.07, 1)';
|
622
988
|
/**
|
623
|
-
*
|
624
|
-
* @
|
989
|
+
* Returns the active index.
|
990
|
+
* @param {number | number[]} value - New index.
|
991
|
+
* @deprecated use native valueChange emitter of the value model.
|
992
|
+
* @group Emits
|
625
993
|
*/
|
626
|
-
|
627
|
-
return this._headerAriaLevel;
|
628
|
-
}
|
994
|
+
activeIndexChange = new EventEmitter();
|
629
995
|
set headerAriaLevel(val) {
|
630
996
|
if (typeof val === 'number' && val > 0) {
|
631
997
|
this._headerAriaLevel = val;
|
@@ -646,12 +1012,7 @@ class Accordion extends BaseComponent {
|
|
646
1012
|
* @group Emits
|
647
1013
|
*/
|
648
1014
|
onOpen = new EventEmitter();
|
649
|
-
|
650
|
-
* Returns the active index.
|
651
|
-
* @param {number | number[]} value - New index.
|
652
|
-
* @group Emits
|
653
|
-
*/
|
654
|
-
activeIndexChange = new EventEmitter();
|
1015
|
+
id = signal(UniqueComponentId());
|
655
1016
|
tabList;
|
656
1017
|
tabListSubscription = null;
|
657
1018
|
_activeIndex;
|
@@ -659,6 +1020,22 @@ class Accordion extends BaseComponent {
|
|
659
1020
|
preventActiveIndexPropagation = false;
|
660
1021
|
tabs = [];
|
661
1022
|
_componentStyle = inject(AccordionStyle);
|
1023
|
+
/**
|
1024
|
+
* Index of the active tab or an array of indexes in multiple mode.
|
1025
|
+
* @deprecated use value property with new architecture instead.
|
1026
|
+
* @group Props
|
1027
|
+
*/
|
1028
|
+
get activeIndex() {
|
1029
|
+
return this._activeIndex;
|
1030
|
+
}
|
1031
|
+
/**
|
1032
|
+
* The aria-level that each accordion header will have. The default value is 2 as per W3C specifications
|
1033
|
+
* @deprecated use AccoridonHeader component and bind attribute to the host.
|
1034
|
+
* @group Props
|
1035
|
+
*/
|
1036
|
+
get headerAriaLevel() {
|
1037
|
+
return this._headerAriaLevel;
|
1038
|
+
}
|
662
1039
|
onKeydown(event) {
|
663
1040
|
switch (event.code) {
|
664
1041
|
case 'ArrowDown':
|
@@ -679,22 +1056,15 @@ class Accordion extends BaseComponent {
|
|
679
1056
|
break;
|
680
1057
|
}
|
681
1058
|
}
|
682
|
-
focusedElementIsAccordionHeader() {
|
683
|
-
return document.activeElement.tagName.toLowerCase() === 'a' && document.activeElement.classList.contains('p-accordion-header-link');
|
684
|
-
}
|
685
1059
|
onTabArrowDownKey(event) {
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
event.preventDefault();
|
690
|
-
}
|
1060
|
+
const nextHeaderAction = this.findNextHeaderAction(event.target.parentElement);
|
1061
|
+
nextHeaderAction ? this.changeFocusedTab(nextHeaderAction) : this.onTabHomeKey(event);
|
1062
|
+
event.preventDefault();
|
691
1063
|
}
|
692
1064
|
onTabArrowUpKey(event) {
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
event.preventDefault();
|
697
|
-
}
|
1065
|
+
const prevHeaderAction = this.findPrevHeaderAction(event.target.parentElement);
|
1066
|
+
prevHeaderAction ? this.changeFocusedTab(prevHeaderAction) : this.onTabEndKey(event);
|
1067
|
+
event.preventDefault();
|
698
1068
|
}
|
699
1069
|
onTabHomeKey(event) {
|
700
1070
|
const firstHeaderAction = this.findFirstHeaderAction();
|
@@ -704,10 +1074,10 @@ class Accordion extends BaseComponent {
|
|
704
1074
|
changeFocusedTab(element) {
|
705
1075
|
if (element) {
|
706
1076
|
DomHandler.focus(element);
|
707
|
-
if (this.selectOnFocus) {
|
1077
|
+
if (this.selectOnFocus()) {
|
708
1078
|
this.tabs.forEach((tab, i) => {
|
709
|
-
let selected = this.multiple ? this._activeIndex.includes(i) : i === this._activeIndex;
|
710
|
-
if (this.multiple) {
|
1079
|
+
let selected = this.multiple() ? this._activeIndex.includes(i) : i === this._activeIndex;
|
1080
|
+
if (this.multiple()) {
|
711
1081
|
if (!this._activeIndex) {
|
712
1082
|
this._activeIndex = [];
|
713
1083
|
}
|
@@ -739,29 +1109,28 @@ class Accordion extends BaseComponent {
|
|
739
1109
|
}
|
740
1110
|
findNextHeaderAction(tabElement, selfCheck = false) {
|
741
1111
|
const nextTabElement = selfCheck ? tabElement : tabElement.nextElementSibling;
|
742
|
-
const headerElement = DomHandler.findSingle(nextTabElement, '[data-pc-section="
|
1112
|
+
const headerElement = DomHandler.findSingle(nextTabElement, '[data-pc-section="accordionheader"]');
|
743
1113
|
return headerElement
|
744
1114
|
? DomHandler.getAttribute(headerElement, 'data-p-disabled')
|
745
|
-
? this.findNextHeaderAction(headerElement.parentElement
|
746
|
-
: DomHandler.findSingle(headerElement, '[data-pc-section="
|
1115
|
+
? this.findNextHeaderAction(headerElement.parentElement)
|
1116
|
+
: DomHandler.findSingle(headerElement.parentElement, '[data-pc-section="accordionheader"]')
|
747
1117
|
: null;
|
748
1118
|
}
|
749
1119
|
findPrevHeaderAction(tabElement, selfCheck = false) {
|
750
1120
|
const prevTabElement = selfCheck ? tabElement : tabElement.previousElementSibling;
|
751
|
-
const headerElement = DomHandler.findSingle(prevTabElement, '[data-pc-section="
|
1121
|
+
const headerElement = DomHandler.findSingle(prevTabElement, '[data-pc-section="accordionheader"]');
|
752
1122
|
return headerElement
|
753
1123
|
? DomHandler.getAttribute(headerElement, 'data-p-disabled')
|
754
|
-
? this.findPrevHeaderAction(headerElement.parentElement
|
755
|
-
: DomHandler.findSingle(headerElement, '[data-pc-section="
|
1124
|
+
? this.findPrevHeaderAction(headerElement.parentElement)
|
1125
|
+
: DomHandler.findSingle(headerElement.parentElement, '[data-pc-section="accordionheader"]')
|
756
1126
|
: null;
|
757
1127
|
}
|
758
1128
|
findFirstHeaderAction() {
|
759
|
-
const firstEl = this.el.nativeElement.firstElementChild
|
1129
|
+
const firstEl = this.el.nativeElement.firstElementChild;
|
760
1130
|
return this.findNextHeaderAction(firstEl, true);
|
761
1131
|
}
|
762
1132
|
findLastHeaderAction() {
|
763
|
-
const
|
764
|
-
const lastEl = childNodes[childNodes.length - 1];
|
1133
|
+
const lastEl = this.el.nativeElement.lastElementChild;
|
765
1134
|
return this.findPrevHeaderAction(lastEl, true);
|
766
1135
|
}
|
767
1136
|
onTabEndKey(event) {
|
@@ -789,7 +1158,7 @@ class Accordion extends BaseComponent {
|
|
789
1158
|
updateSelectionState() {
|
790
1159
|
if (this.tabs && this.tabs.length && this._activeIndex != null) {
|
791
1160
|
for (let i = 0; i < this.tabs.length; i++) {
|
792
|
-
let selected = this.multiple ? this._activeIndex.includes(i) : i === this._activeIndex;
|
1161
|
+
let selected = this.multiple() ? this._activeIndex.includes(i) : i === this._activeIndex;
|
793
1162
|
let changed = selected !== this.tabs[i].selected;
|
794
1163
|
if (changed) {
|
795
1164
|
this.tabs[i].selected = selected;
|
@@ -800,16 +1169,16 @@ class Accordion extends BaseComponent {
|
|
800
1169
|
}
|
801
1170
|
}
|
802
1171
|
isTabActive(index) {
|
803
|
-
return this.multiple ? this._activeIndex && this._activeIndex.includes(index) : this._activeIndex === index;
|
1172
|
+
return this.multiple() ? this._activeIndex && this._activeIndex.includes(index) : this._activeIndex === index;
|
804
1173
|
}
|
805
1174
|
getTabProp(tab, name) {
|
806
1175
|
return tab.props ? tab.props[name] : undefined;
|
807
1176
|
}
|
808
1177
|
updateActiveIndex() {
|
809
|
-
let index = this.multiple ? [] : null;
|
1178
|
+
let index = this.multiple() ? [] : null;
|
810
1179
|
this.tabs.forEach((tab, i) => {
|
811
1180
|
if (tab.selected) {
|
812
|
-
if (this.multiple) {
|
1181
|
+
if (this.multiple()) {
|
813
1182
|
index.push(i);
|
814
1183
|
}
|
815
1184
|
else {
|
@@ -822,6 +1191,28 @@ class Accordion extends BaseComponent {
|
|
822
1191
|
this._activeIndex = index;
|
823
1192
|
this.activeIndexChange.emit(index);
|
824
1193
|
}
|
1194
|
+
updateValue(value) {
|
1195
|
+
const currentValue = this.value();
|
1196
|
+
if (this.multiple()) {
|
1197
|
+
const newValue = Array.isArray(currentValue) ? [...currentValue] : [];
|
1198
|
+
const index = newValue.indexOf(value);
|
1199
|
+
if (index !== -1) {
|
1200
|
+
newValue.splice(index, 1);
|
1201
|
+
}
|
1202
|
+
else {
|
1203
|
+
newValue.push(value);
|
1204
|
+
}
|
1205
|
+
this.value.set(newValue);
|
1206
|
+
}
|
1207
|
+
else {
|
1208
|
+
if (currentValue === value) {
|
1209
|
+
this.value.set(undefined);
|
1210
|
+
}
|
1211
|
+
else {
|
1212
|
+
this.value.set(value);
|
1213
|
+
}
|
1214
|
+
}
|
1215
|
+
}
|
825
1216
|
ngOnDestroy() {
|
826
1217
|
if (this.tabListSubscription) {
|
827
1218
|
this.tabListSubscription.unsubscribe();
|
@@ -829,7 +1220,7 @@ class Accordion extends BaseComponent {
|
|
829
1220
|
super.ngOnDestroy();
|
830
1221
|
}
|
831
1222
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: Accordion, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
832
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
1223
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.2", type: Accordion, isStandalone: true, selector: "p-accordion", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, expandIcon: { classPropertyName: "expandIcon", publicName: "expandIcon", isSignal: false, isRequired: false, transformFunction: null }, collapseIcon: { classPropertyName: "collapseIcon", publicName: "collapseIcon", isSignal: false, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: true, isRequired: false, transformFunction: null }, transitionOptions: { classPropertyName: "transitionOptions", publicName: "transitionOptions", isSignal: false, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: false, isRequired: false, transformFunction: null }, headerAriaLevel: { classPropertyName: "headerAriaLevel", publicName: "headerAriaLevel", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", activeIndexChange: "activeIndexChange", onClose: "onClose", onOpen: "onOpen" }, host: { listeners: { "keydown": "onKeydown($event)" }, properties: { "class.p-accordion": "true", "class.p-component": "true", "class": "this.hostClass", "style": "this.hostStyle" } }, providers: [AccordionStyle], queries: [{ propertyName: "tabList", predicate: AccordionTab, descendants: true }], usesInheritance: true, ngImport: i0, template: ` <ng-content /> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
833
1224
|
}
|
834
1225
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: Accordion, decorators: [{
|
835
1226
|
type: Component,
|
@@ -837,7 +1228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
837
1228
|
selector: 'p-accordion',
|
838
1229
|
standalone: true,
|
839
1230
|
imports: [CommonModule, AccordionTab, SharedModule],
|
840
|
-
template: ` <ng-content
|
1231
|
+
template: ` <ng-content /> `,
|
841
1232
|
host: {
|
842
1233
|
'[class.p-accordion]': 'true',
|
843
1234
|
'[class.p-component]': 'true',
|
@@ -851,9 +1242,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
851
1242
|
}], hostStyle: [{
|
852
1243
|
type: HostBinding,
|
853
1244
|
args: ['style']
|
854
|
-
}], multiple: [{
|
855
|
-
type: Input,
|
856
|
-
args: [{ transform: booleanAttribute }]
|
857
1245
|
}], style: [{
|
858
1246
|
type: Input
|
859
1247
|
}], styleClass: [{
|
@@ -862,36 +1250,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
862
1250
|
type: Input
|
863
1251
|
}], collapseIcon: [{
|
864
1252
|
type: Input
|
865
|
-
}],
|
866
|
-
type: Input
|
867
|
-
}], selectOnFocus: [{
|
868
|
-
type: Input,
|
869
|
-
args: [{ transform: booleanAttribute }]
|
870
|
-
}], headerAriaLevel: [{
|
1253
|
+
}], transitionOptions: [{
|
871
1254
|
type: Input
|
1255
|
+
}], activeIndexChange: [{
|
1256
|
+
type: Output
|
872
1257
|
}], onClose: [{
|
873
1258
|
type: Output
|
874
1259
|
}], onOpen: [{
|
875
1260
|
type: Output
|
876
|
-
}], activeIndexChange: [{
|
877
|
-
type: Output
|
878
1261
|
}], tabList: [{
|
879
1262
|
type: ContentChildren,
|
880
1263
|
args: [AccordionTab, { descendants: true }]
|
1264
|
+
}], activeIndex: [{
|
1265
|
+
type: Input
|
1266
|
+
}], headerAriaLevel: [{
|
1267
|
+
type: Input
|
881
1268
|
}], onKeydown: [{
|
882
1269
|
type: HostListener,
|
883
1270
|
args: ['keydown', ['$event']]
|
884
1271
|
}] } });
|
885
1272
|
class AccordionModule {
|
886
1273
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
887
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: AccordionModule, imports: [Accordion, AccordionTab], exports: [Accordion, AccordionTab, SharedModule] });
|
888
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionModule, imports: [Accordion, AccordionTab, SharedModule] });
|
1274
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.2", ngImport: i0, type: AccordionModule, imports: [Accordion, AccordionTab, AccordionPanel, AccordionHeader, AccordionContent], exports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent] });
|
1275
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionModule, imports: [Accordion, AccordionTab, AccordionPanel, AccordionHeader, AccordionContent, SharedModule] });
|
889
1276
|
}
|
890
1277
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImport: i0, type: AccordionModule, decorators: [{
|
891
1278
|
type: NgModule,
|
892
1279
|
args: [{
|
893
|
-
imports: [Accordion, AccordionTab],
|
894
|
-
exports: [Accordion, AccordionTab, SharedModule],
|
1280
|
+
imports: [Accordion, AccordionTab, AccordionPanel, AccordionHeader, AccordionContent],
|
1281
|
+
exports: [Accordion, AccordionTab, SharedModule, AccordionPanel, AccordionHeader, AccordionContent],
|
895
1282
|
}]
|
896
1283
|
}] });
|
897
1284
|
|
@@ -899,5 +1286,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.2", ngImpor
|
|
899
1286
|
* Generated bundle index. Do not edit.
|
900
1287
|
*/
|
901
1288
|
|
902
|
-
export { Accordion, AccordionModule, AccordionTab };
|
1289
|
+
export { Accordion, AccordionClasses, AccordionContent, AccordionHeader, AccordionModule, AccordionPanel, AccordionStyle, AccordionTab };
|
903
1290
|
//# sourceMappingURL=primeng-accordion.mjs.map
|