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
@@ -50,19 +50,19 @@ const theme = ({ dt }) => `
|
|
50
50
|
flex-direction: column;
|
51
51
|
position: absolute;
|
52
52
|
top: 1px;
|
53
|
-
|
53
|
+
inset-inline-end: 1px;
|
54
54
|
height: calc(100% - 2px);
|
55
55
|
z-index: 1;
|
56
56
|
}
|
57
57
|
|
58
58
|
.p-inputnumber-stacked .p-inputnumber-increment-button {
|
59
59
|
padding: 0;
|
60
|
-
border-
|
60
|
+
border-end-start-radius: calc(${dt('inputnumber.button.border.radius')} - 1px);
|
61
61
|
}
|
62
62
|
|
63
63
|
.p-inputnumber-stacked .p-inputnumber-decrement-button {
|
64
64
|
padding: 0;
|
65
|
-
border-
|
65
|
+
border-end-end-radius: calc(${dt('inputnumber.button.border.radius')} - 1px);
|
66
66
|
}
|
67
67
|
|
68
68
|
.p-inputnumber-stacked .p-inputnumber-button {
|
@@ -84,9 +84,9 @@ const theme = ({ dt }) => `
|
|
84
84
|
|
85
85
|
.p-inputnumber-horizontal .p-inputnumber-increment-button {
|
86
86
|
order: 3;
|
87
|
-
border-
|
88
|
-
border-
|
89
|
-
border-
|
87
|
+
border-start-end-radius: ${dt('inputnumber.button.border.radius')};
|
88
|
+
border-end-end-radius: ${dt('inputnumber.button.border.radius')};
|
89
|
+
border-inline-start: 0 none;
|
90
90
|
}
|
91
91
|
|
92
92
|
.p-inputnumber-horizontal .p-inputnumber-input {
|
@@ -96,9 +96,9 @@ const theme = ({ dt }) => `
|
|
96
96
|
|
97
97
|
.p-inputnumber-horizontal .p-inputnumber-decrement-button {
|
98
98
|
order: 1;
|
99
|
-
border-
|
100
|
-
border-
|
101
|
-
border-
|
99
|
+
border-start-start-radius: ${dt('inputnumber.button.border.radius')};
|
100
|
+
border-end-start-radius: ${dt('inputnumber.button.border.radius')};
|
101
|
+
border-inline-end: 0 none;
|
102
102
|
}
|
103
103
|
|
104
104
|
.p-floatlabel:has(.p-inputnumber-horizontal) label {
|
@@ -111,7 +111,8 @@ const theme = ({ dt }) => `
|
|
111
111
|
|
112
112
|
.p-inputnumber-vertical .p-inputnumber-button {
|
113
113
|
border: 1px solid ${dt('inputnumber.button.border.color')};
|
114
|
-
padding: ${dt('inputnumber.button.vertical.padding')};
|
114
|
+
padding-block: ${dt('inputnumber.button.vertical.padding')};
|
115
|
+
padding-inline: 0;
|
115
116
|
}
|
116
117
|
|
117
118
|
.p-inputnumber-vertical .p-inputnumber-button:hover {
|
@@ -124,10 +125,10 @@ const theme = ({ dt }) => `
|
|
124
125
|
|
125
126
|
.p-inputnumber-vertical .p-inputnumber-increment-button {
|
126
127
|
order: 1;
|
127
|
-
border-
|
128
|
-
border-
|
128
|
+
border-start-start-radius: ${dt('inputnumber.button.border.radius')};
|
129
|
+
border-start-end-radius: ${dt('inputnumber.button.border.radius')};
|
129
130
|
width: 100%;
|
130
|
-
border-
|
131
|
+
border-block-end: 0 none;
|
131
132
|
}
|
132
133
|
|
133
134
|
.p-inputnumber-vertical .p-inputnumber-input {
|
@@ -138,10 +139,10 @@ const theme = ({ dt }) => `
|
|
138
139
|
|
139
140
|
.p-inputnumber-vertical .p-inputnumber-decrement-button {
|
140
141
|
order: 3;
|
141
|
-
border-
|
142
|
-
border-
|
142
|
+
border-end-start-radius: ${dt('inputnumber.button.border.radius')};
|
143
|
+
border-end-end-radius: ${dt('inputnumber.button.border.radius')};
|
143
144
|
width: 100%;
|
144
|
-
border-
|
145
|
+
border-block-start: 0 none;
|
145
146
|
}
|
146
147
|
|
147
148
|
.p-inputnumber-input {
|
@@ -172,10 +173,17 @@ const theme = ({ dt }) => `
|
|
172
173
|
height: ${dt('form.field.lg.font.size')};
|
173
174
|
}
|
174
175
|
|
175
|
-
/* For PrimeNG */
|
176
176
|
p-inputnumber.ng-invalid.ng-dirty > .p-inputtext {
|
177
177
|
border-color: ${dt('inputtext.invalid.border.color')};
|
178
|
-
}
|
178
|
+
}
|
179
|
+
|
180
|
+
p-inputnumber.ng-invalid.ng-dirty > .p-inputtext:enabled:focus {
|
181
|
+
border-color: ${dt('inputtext.focus.border.color')};
|
182
|
+
}
|
183
|
+
|
184
|
+
p-inputnumber.ng-invalid.ng-dirty > .p-inputtext::placeholder {
|
185
|
+
color: ${dt('inputtext.invalid.placeholder.color')};
|
186
|
+
}
|
179
187
|
`;
|
180
188
|
const classes = {
|
181
189
|
root: ({ instance }) => ({
|
@@ -268,7 +276,7 @@ function InputNumber_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
268
276
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
269
277
|
i0.ɵɵattribute("data-pc-section", "clearIcon");
|
270
278
|
i0.ɵɵadvance();
|
271
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.
|
279
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.clearicon);
|
272
280
|
} }
|
273
281
|
function InputNumber_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
274
282
|
i0.ɵɵelementContainerStart(0);
|
@@ -277,9 +285,9 @@ function InputNumber_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
277
285
|
} if (rf & 2) {
|
278
286
|
const ctx_r2 = i0.ɵɵnextContext();
|
279
287
|
i0.ɵɵadvance();
|
280
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.
|
288
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.clearicon);
|
281
289
|
i0.ɵɵadvance();
|
282
|
-
i0.ɵɵproperty("ngIf", ctx_r2.
|
290
|
+
i0.ɵɵproperty("ngIf", ctx_r2.clearicon);
|
283
291
|
} }
|
284
292
|
function InputNumber_span_3_span_2_Template(rf, ctx) { if (rf & 1) {
|
285
293
|
i0.ɵɵelement(0, "span", 13);
|
@@ -304,9 +312,9 @@ function InputNumber_span_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
304
312
|
} if (rf & 2) {
|
305
313
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
306
314
|
i0.ɵɵadvance();
|
307
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.
|
315
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.incrementbuttonicon);
|
308
316
|
i0.ɵɵadvance();
|
309
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.
|
317
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.incrementbuttonicon);
|
310
318
|
} }
|
311
319
|
function InputNumber_span_3_span_5_Template(rf, ctx) { if (rf & 1) {
|
312
320
|
i0.ɵɵelement(0, "span", 13);
|
@@ -331,9 +339,9 @@ function InputNumber_span_3_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
331
339
|
} if (rf & 2) {
|
332
340
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
333
341
|
i0.ɵɵadvance();
|
334
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.
|
342
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.decrementbuttonicon);
|
335
343
|
i0.ɵɵadvance();
|
336
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.
|
344
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.decrementbuttonicon);
|
337
345
|
} }
|
338
346
|
function InputNumber_span_3_Template(rf, ctx) { if (rf & 1) {
|
339
347
|
const _r5 = i0.ɵɵgetCurrentView();
|
@@ -388,9 +396,9 @@ function InputNumber_button_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
388
396
|
} if (rf & 2) {
|
389
397
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
390
398
|
i0.ɵɵadvance();
|
391
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.
|
399
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.incrementbuttonicon);
|
392
400
|
i0.ɵɵadvance();
|
393
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.
|
401
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.incrementbuttonicon);
|
394
402
|
} }
|
395
403
|
function InputNumber_button_4_Template(rf, ctx) { if (rf & 1) {
|
396
404
|
const _r6 = i0.ɵɵgetCurrentView();
|
@@ -431,9 +439,9 @@ function InputNumber_button_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
431
439
|
} if (rf & 2) {
|
432
440
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
433
441
|
i0.ɵɵadvance();
|
434
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.
|
442
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.decrementbuttonicon);
|
435
443
|
i0.ɵɵadvance();
|
436
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.
|
444
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.decrementbuttonicon);
|
437
445
|
} }
|
438
446
|
function InputNumber_button_5_Template(rf, ctx) { if (rf & 1) {
|
439
447
|
const _r7 = i0.ɵɵgetCurrentView();
|
@@ -719,17 +727,17 @@ class InputNumber extends BaseComponent {
|
|
719
727
|
* Template of the clear icon.
|
720
728
|
* @group Templates
|
721
729
|
*/
|
722
|
-
|
730
|
+
clearicon;
|
723
731
|
/**
|
724
732
|
* Template of the icrement button icon.
|
725
733
|
* @group Templates
|
726
734
|
*/
|
727
|
-
|
735
|
+
incrementbuttonicon;
|
728
736
|
/**
|
729
737
|
* Template of the decrement button icon.
|
730
738
|
* @group Templates
|
731
739
|
*/
|
732
|
-
|
740
|
+
decrementbuttonicon;
|
733
741
|
input;
|
734
742
|
value;
|
735
743
|
onModelChange = () => { };
|
@@ -804,13 +812,13 @@ class InputNumber extends BaseComponent {
|
|
804
812
|
this.templates.forEach((item) => {
|
805
813
|
switch (item.getType()) {
|
806
814
|
case 'clearicon':
|
807
|
-
this.
|
815
|
+
this.clearicon = item.template;
|
808
816
|
break;
|
809
817
|
case 'incrementbuttonicon':
|
810
|
-
this.
|
818
|
+
this.incrementbuttonicon = item.template;
|
811
819
|
break;
|
812
820
|
case 'decrementbuttonicon':
|
813
|
-
this.
|
821
|
+
this.decrementbuttonicon = item.template;
|
814
822
|
break;
|
815
823
|
}
|
816
824
|
});
|
@@ -1224,9 +1232,13 @@ class InputNumber extends BaseComponent {
|
|
1224
1232
|
char = this._decimalChar;
|
1225
1233
|
code = char.charCodeAt(0);
|
1226
1234
|
}
|
1227
|
-
const
|
1235
|
+
const { value, selectionStart, selectionEnd } = this.input.nativeElement;
|
1236
|
+
const newValue = this.parseValue(value + char);
|
1228
1237
|
const newValueStr = newValue != null ? newValue.toString() : '';
|
1229
|
-
|
1238
|
+
const selectedValue = value.substring(selectionStart, selectionEnd);
|
1239
|
+
const selectedValueParsed = this.parseValue(selectedValue);
|
1240
|
+
const selectedValueStr = selectedValueParsed != null ? selectedValueParsed.toString() : '';
|
1241
|
+
if (selectionStart !== selectionEnd && selectedValueStr.length > 0) {
|
1230
1242
|
this.insert(event, char, { isDecimalSign, isMinusSign });
|
1231
1243
|
return;
|
1232
1244
|
}
|
@@ -1237,12 +1249,6 @@ class InputNumber extends BaseComponent {
|
|
1237
1249
|
this.insert(event, char, { isDecimalSign, isMinusSign });
|
1238
1250
|
}
|
1239
1251
|
}
|
1240
|
-
getSelectedText() {
|
1241
|
-
return (window
|
1242
|
-
?.getSelection()
|
1243
|
-
?.toString()
|
1244
|
-
.replaceAll(/[^0-9']/g, '') || '');
|
1245
|
-
}
|
1246
1252
|
onPaste(event) {
|
1247
1253
|
if (!this.disabled && !this.readonly) {
|
1248
1254
|
event.preventDefault();
|
@@ -1652,9 +1658,9 @@ class InputNumber extends BaseComponent {
|
|
1652
1658
|
i0.ɵɵcontentQuery(dirIndex, _c2, 5);
|
1653
1659
|
} if (rf & 2) {
|
1654
1660
|
let _t;
|
1655
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
1656
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
1657
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
1661
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearicon = _t.first);
|
1662
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.incrementbuttonicon = _t.first);
|
1663
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decrementbuttonicon = _t.first);
|
1658
1664
|
} }, viewQuery: function InputNumber_Query(rf, ctx) { if (rf & 1) {
|
1659
1665
|
i0.ɵɵviewQuery(_c3, 5);
|
1660
1666
|
} if (rf & 2) {
|
@@ -1663,7 +1669,7 @@ class InputNumber extends BaseComponent {
|
|
1663
1669
|
} }, hostVars: 4, hostBindings: function InputNumber_HostBindings(rf, ctx) { if (rf & 2) {
|
1664
1670
|
i0.ɵɵattribute("data-pc-name", "inputnumber")("data-pc-section", "root");
|
1665
1671
|
i0.ɵɵclassMap(ctx.hostClasses);
|
1666
|
-
} }, inputs: { showButtons: [2, "showButtons", "showButtons", booleanAttribute], format: [2, "format", "format", booleanAttribute], buttonLayout: "buttonLayout", inputId: "inputId", styleClass: "styleClass", style: "style", placeholder: "placeholder", size: "size", maxlength: [2, "maxlength", "maxlength", numberAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], title: "title", ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", ariaRequired: [2, "ariaRequired", "ariaRequired", booleanAttribute], name: "name", required: [2, "required", "required", booleanAttribute], autocomplete: "autocomplete", min: [2, "min", "min", numberAttribute], max: [2, "max", "max", numberAttribute], incrementButtonClass: "incrementButtonClass", decrementButtonClass: "decrementButtonClass", incrementButtonIcon: "incrementButtonIcon", decrementButtonIcon: "decrementButtonIcon", readonly: [2, "readonly", "readonly", booleanAttribute], step: [2, "step", "step", numberAttribute], allowEmpty: [2, "allowEmpty", "allowEmpty", booleanAttribute], locale: "locale", localeMatcher: "localeMatcher", mode: "mode", currency: "currency", currencyDisplay: "currencyDisplay", useGrouping: [2, "useGrouping", "useGrouping", booleanAttribute], variant: "variant", minFractionDigits: [2, "minFractionDigits", "minFractionDigits", (value) => numberAttribute(value, null)], maxFractionDigits: [2, "maxFractionDigits", "maxFractionDigits", (value) => numberAttribute(value, null)], prefix: "prefix", suffix: "suffix", inputStyle: "inputStyle", inputStyleClass: "inputStyleClass", showClear: [2, "showClear", "showClear", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], disabled: "disabled", fluid: [2, "fluid", "fluid", booleanAttribute] }, outputs: { onInput: "onInput", onFocus: "onFocus", onBlur: "onBlur", onKeyDown: "onKeyDown", onClear: "onClear" }, standalone: true, features: [i0.ɵɵProvidersFeature([INPUTNUMBER_VALUE_ACCESSOR, InputNumberStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature, i0.ɵɵStandaloneFeature], decls: 6, vars: 32, consts: [["input", ""], ["pInputText", "", "role", "spinbutton", "inputmode", "decimal", 3, "input", "keydown", "keypress", "paste", "click", "focus", "blur", "ngClass", "ngStyle", "value", "variant", "disabled", "readonly", "
|
1672
|
+
} }, inputs: { showButtons: [2, "showButtons", "showButtons", booleanAttribute], format: [2, "format", "format", booleanAttribute], buttonLayout: "buttonLayout", inputId: "inputId", styleClass: "styleClass", style: "style", placeholder: "placeholder", size: "size", maxlength: [2, "maxlength", "maxlength", numberAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], title: "title", ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", ariaRequired: [2, "ariaRequired", "ariaRequired", booleanAttribute], name: "name", required: [2, "required", "required", booleanAttribute], autocomplete: "autocomplete", min: [2, "min", "min", numberAttribute], max: [2, "max", "max", numberAttribute], incrementButtonClass: "incrementButtonClass", decrementButtonClass: "decrementButtonClass", incrementButtonIcon: "incrementButtonIcon", decrementButtonIcon: "decrementButtonIcon", readonly: [2, "readonly", "readonly", booleanAttribute], step: [2, "step", "step", numberAttribute], allowEmpty: [2, "allowEmpty", "allowEmpty", booleanAttribute], locale: "locale", localeMatcher: "localeMatcher", mode: "mode", currency: "currency", currencyDisplay: "currencyDisplay", useGrouping: [2, "useGrouping", "useGrouping", booleanAttribute], variant: "variant", minFractionDigits: [2, "minFractionDigits", "minFractionDigits", (value) => numberAttribute(value, null)], maxFractionDigits: [2, "maxFractionDigits", "maxFractionDigits", (value) => numberAttribute(value, null)], prefix: "prefix", suffix: "suffix", inputStyle: "inputStyle", inputStyleClass: "inputStyleClass", showClear: [2, "showClear", "showClear", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], disabled: "disabled", fluid: [2, "fluid", "fluid", booleanAttribute] }, outputs: { onInput: "onInput", onFocus: "onFocus", onBlur: "onBlur", onKeyDown: "onKeyDown", onClear: "onClear" }, standalone: true, features: [i0.ɵɵProvidersFeature([INPUTNUMBER_VALUE_ACCESSOR, InputNumberStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature, i0.ɵɵStandaloneFeature], decls: 6, vars: 32, consts: [["input", ""], ["pInputText", "", "role", "spinbutton", "inputmode", "decimal", 3, "input", "keydown", "keypress", "paste", "click", "focus", "blur", "ngClass", "ngStyle", "value", "variant", "disabled", "readonly", "pSize", "pAutoFocus", "fluid"], [4, "ngIf"], ["class", "p-inputnumber-button-group", 4, "ngIf"], ["type", "button", "tabindex", "-1", 3, "ngClass", "class", "disabled", "mousedown", "mouseup", "mouseleave", "keydown", "keyup", 4, "ngIf"], [3, "ngClass", "click", 4, "ngIf"], ["class", "p-inputnumber-clear-icon", 3, "click", 4, "ngIf"], [3, "click", "ngClass"], [1, "p-inputnumber-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], [1, "p-inputnumber-button-group"], ["type", "button", "tabindex", "-1", 3, "mousedown", "mouseup", "mouseleave", "keydown", "keyup", "ngClass", "disabled"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"]], template: function InputNumber_Template(rf, ctx) { if (rf & 1) {
|
1667
1673
|
const _r1 = i0.ɵɵgetCurrentView();
|
1668
1674
|
i0.ɵɵelementStart(0, "input", 1, 0);
|
1669
1675
|
i0.ɵɵlistener("input", function InputNumber_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onUserInput($event)); })("keydown", function InputNumber_Template_input_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputKeyDown($event)); })("keypress", function InputNumber_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputKeyPress($event)); })("paste", function InputNumber_Template_input_paste_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onPaste($event)); })("click", function InputNumber_Template_input_click_0_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputClick()); })("focus", function InputNumber_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputFocus($event)); })("blur", function InputNumber_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputBlur($event)); });
|
@@ -1671,7 +1677,7 @@ class InputNumber extends BaseComponent {
|
|
1671
1677
|
i0.ɵɵtemplate(2, InputNumber_ng_container_2_Template, 3, 2, "ng-container", 2)(3, InputNumber_span_3_Template, 7, 17, "span", 3)(4, InputNumber_button_4_Template, 3, 8, "button", 4)(5, InputNumber_button_5_Template, 3, 8, "button", 4);
|
1672
1678
|
} if (rf & 2) {
|
1673
1679
|
i0.ɵɵclassMap(ctx.inputStyleClass);
|
1674
|
-
i0.ɵɵproperty("ngClass", "p-inputnumber-input")("ngStyle", ctx.inputStyle)("value", ctx.formattedValue())("variant", ctx.variant)("disabled", ctx.disabled)("readonly", ctx.readonly)("
|
1680
|
+
i0.ɵɵproperty("ngClass", "p-inputnumber-input")("ngStyle", ctx.inputStyle)("value", ctx.formattedValue())("variant", ctx.variant)("disabled", ctx.disabled)("readonly", ctx.readonly)("pSize", ctx.size)("pAutoFocus", ctx.autofocus)("fluid", ctx.hasFluid);
|
1675
1681
|
i0.ɵɵattribute("id", ctx.inputId)("aria-valuemin", ctx.min)("aria-valuemax", ctx.max)("aria-valuenow", ctx.value)("placeholder", ctx.placeholder)("aria-label", ctx.ariaLabel)("aria-labelledby", ctx.ariaLabelledBy)("title", ctx.title)("name", ctx.name)("autocomplete", ctx.autocomplete)("maxlength", ctx.maxlength)("tabindex", ctx.tabindex)("aria-required", ctx.ariaRequired)("required", ctx.required)("min", ctx.min)("max", ctx.max)("data-pc-section", "input");
|
1676
1682
|
i0.ɵɵadvance(2);
|
1677
1683
|
i0.ɵɵproperty("ngIf", ctx.buttonLayout != "vertical" && ctx.showClear && ctx.value);
|
@@ -1709,7 +1715,7 @@ class InputNumber extends BaseComponent {
|
|
1709
1715
|
[attr.aria-label]="ariaLabel"
|
1710
1716
|
[attr.aria-labelledby]="ariaLabelledBy"
|
1711
1717
|
[attr.title]="title"
|
1712
|
-
[
|
1718
|
+
[pSize]="size"
|
1713
1719
|
[attr.name]="name"
|
1714
1720
|
[attr.autocomplete]="autocomplete"
|
1715
1721
|
[attr.maxlength]="maxlength"
|
@@ -1731,9 +1737,9 @@ class InputNumber extends BaseComponent {
|
|
1731
1737
|
[fluid]="hasFluid"
|
1732
1738
|
/>
|
1733
1739
|
<ng-container *ngIf="buttonLayout != 'vertical' && showClear && value">
|
1734
|
-
<TimesIcon *ngIf="!
|
1735
|
-
<span *ngIf="
|
1736
|
-
<ng-template *ngTemplateOutlet="
|
1740
|
+
<TimesIcon *ngIf="!clearicon" [ngClass]="'p-inputnumber-clear-icon'" (click)="clear()" [attr.data-pc-section]="'clearIcon'" />
|
1741
|
+
<span *ngIf="clearicon" (click)="clear()" class="p-inputnumber-clear-icon" [attr.data-pc-section]="'clearIcon'">
|
1742
|
+
<ng-template *ngTemplateOutlet="clearicon"></ng-template>
|
1737
1743
|
</span>
|
1738
1744
|
</ng-container>
|
1739
1745
|
<span class="p-inputnumber-button-group" *ngIf="showButtons && buttonLayout === 'stacked'" [attr.data-pc-section]="'buttonGroup'">
|
@@ -1753,8 +1759,8 @@ class InputNumber extends BaseComponent {
|
|
1753
1759
|
>
|
1754
1760
|
<span *ngIf="incrementButtonIcon" [ngClass]="incrementButtonIcon" [attr.data-pc-section]="'incrementbuttonicon'"></span>
|
1755
1761
|
<ng-container *ngIf="!incrementButtonIcon">
|
1756
|
-
<AngleUpIcon *ngIf="!
|
1757
|
-
<ng-template *ngTemplateOutlet="
|
1762
|
+
<AngleUpIcon *ngIf="!incrementbuttonicon" [attr.data-pc-section]="'incrementbuttonicon'" />
|
1763
|
+
<ng-template *ngTemplateOutlet="incrementbuttonicon"></ng-template>
|
1758
1764
|
</ng-container>
|
1759
1765
|
</button>
|
1760
1766
|
|
@@ -1774,8 +1780,8 @@ class InputNumber extends BaseComponent {
|
|
1774
1780
|
>
|
1775
1781
|
<span *ngIf="decrementButtonIcon" [ngClass]="decrementButtonIcon" [attr.data-pc-section]="'decrementbuttonicon'"></span>
|
1776
1782
|
<ng-container *ngIf="!decrementButtonIcon">
|
1777
|
-
<AngleDownIcon *ngIf="!
|
1778
|
-
<ng-template *ngTemplateOutlet="
|
1783
|
+
<AngleDownIcon *ngIf="!decrementbuttonicon" [attr.data-pc-section]="'decrementbuttonicon'" />
|
1784
|
+
<ng-template *ngTemplateOutlet="decrementbuttonicon"></ng-template>
|
1779
1785
|
</ng-container>
|
1780
1786
|
</button>
|
1781
1787
|
</span>
|
@@ -1796,8 +1802,8 @@ class InputNumber extends BaseComponent {
|
|
1796
1802
|
>
|
1797
1803
|
<span *ngIf="incrementButtonIcon" [ngClass]="incrementButtonIcon" [attr.data-pc-section]="'incrementbuttonicon'"></span>
|
1798
1804
|
<ng-container *ngIf="!incrementButtonIcon">
|
1799
|
-
<AngleUpIcon *ngIf="!
|
1800
|
-
<ng-template *ngTemplateOutlet="
|
1805
|
+
<AngleUpIcon *ngIf="!incrementbuttonicon" [attr.data-pc-section]="'incrementbuttonicon'" />
|
1806
|
+
<ng-template *ngTemplateOutlet="incrementbuttonicon"></ng-template>
|
1801
1807
|
</ng-container>
|
1802
1808
|
</button>
|
1803
1809
|
<button
|
@@ -1817,8 +1823,8 @@ class InputNumber extends BaseComponent {
|
|
1817
1823
|
>
|
1818
1824
|
<span *ngIf="decrementButtonIcon" [ngClass]="decrementButtonIcon" [attr.data-pc-section]="'decrementbuttonicon'"></span>
|
1819
1825
|
<ng-container *ngIf="!decrementButtonIcon">
|
1820
|
-
<AngleDownIcon *ngIf="!
|
1821
|
-
<ng-template *ngTemplateOutlet="
|
1826
|
+
<AngleDownIcon *ngIf="!decrementbuttonicon" [attr.data-pc-section]="'decrementbuttonicon'" />
|
1827
|
+
<ng-template *ngTemplateOutlet="decrementbuttonicon"></ng-template>
|
1822
1828
|
</ng-container>
|
1823
1829
|
</button>
|
1824
1830
|
`,
|
@@ -1944,13 +1950,13 @@ class InputNumber extends BaseComponent {
|
|
1944
1950
|
type: Output
|
1945
1951
|
}], onClear: [{
|
1946
1952
|
type: Output
|
1947
|
-
}],
|
1953
|
+
}], clearicon: [{
|
1948
1954
|
type: ContentChild,
|
1949
1955
|
args: ['clearicon']
|
1950
|
-
}],
|
1956
|
+
}], incrementbuttonicon: [{
|
1951
1957
|
type: ContentChild,
|
1952
1958
|
args: ['icrementbuttonicon']
|
1953
|
-
}],
|
1959
|
+
}], decrementbuttonicon: [{
|
1954
1960
|
type: ContentChild,
|
1955
1961
|
args: ['decrementbuttonicon']
|
1956
1962
|
}], input: [{
|