primeng 14.2.6-lts → 14.2.8-lts
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.d.ts +2 -3
- package/animate/animate.d.ts +1 -3
- package/api/licensemanager.d.ts +4 -13
- package/autocomplete/autocomplete.d.ts +2 -3
- package/autofocus/autofocus.d.ts +1 -3
- package/avatar/avatar.d.ts +1 -3
- package/badge/badge.d.ts +2 -5
- package/blockui/blockui.d.ts +2 -3
- package/breadcrumb/breadcrumb.d.ts +2 -3
- package/button/button.d.ts +2 -5
- package/calendar/calendar.d.ts +2 -3
- package/captcha/captcha.d.ts +1 -3
- package/card/card.d.ts +1 -3
- package/carousel/carousel.d.ts +1 -3
- package/cascadeselect/cascadeselect.d.ts +2 -3
- package/chart/chart.d.ts +1 -3
- package/checkbox/checkbox.d.ts +1 -3
- package/chip/chip.d.ts +1 -3
- package/chips/chips.d.ts +1 -3
- package/colorpicker/colorpicker.d.ts +2 -3
- package/confirmdialog/confirmdialog.d.ts +2 -3
- package/confirmpopup/confirmpopup.d.ts +2 -3
- package/contextmenu/contextmenu.d.ts +2 -3
- package/dataview/dataview.d.ts +2 -3
- package/defer/defer.d.ts +1 -3
- package/dialog/dialog.d.ts +2 -3
- package/divider/divider.d.ts +1 -3
- package/dock/dock.d.ts +1 -3
- package/dragdrop/dragdrop.d.ts +2 -5
- package/dropdown/dropdown.d.ts +2 -3
- package/dynamicdialog/dynamicdialog.d.ts +3 -4
- package/editor/editor.d.ts +1 -3
- package/esm2020/accordion/accordion.mjs +9 -11
- package/esm2020/animate/animate.mjs +6 -7
- package/esm2020/api/licensemanager.mjs +58 -77
- package/esm2020/autocomplete/autocomplete.mjs +6 -7
- package/esm2020/autofocus/autofocus.mjs +6 -7
- package/esm2020/avatar/avatar.mjs +8 -9
- package/esm2020/badge/badge.mjs +12 -15
- package/esm2020/blockui/blockui.mjs +6 -7
- package/esm2020/breadcrumb/breadcrumb.mjs +10 -11
- package/esm2020/button/button.mjs +13 -16
- package/esm2020/calendar/calendar.mjs +6 -7
- package/esm2020/captcha/captcha.mjs +6 -7
- package/esm2020/card/card.mjs +8 -10
- package/esm2020/carousel/carousel.mjs +9 -11
- package/esm2020/cascadeselect/cascadeselect.mjs +6 -7
- package/esm2020/chart/chart.mjs +6 -7
- package/esm2020/checkbox/checkbox.mjs +8 -9
- package/esm2020/chip/chip.mjs +8 -9
- package/esm2020/chips/chips.mjs +8 -10
- package/esm2020/colorpicker/colorpicker.mjs +6 -6
- package/esm2020/confirmdialog/confirmdialog.mjs +6 -7
- package/esm2020/confirmpopup/confirmpopup.mjs +6 -7
- package/esm2020/contextmenu/contextmenu.mjs +6 -7
- package/esm2020/dataview/dataview.mjs +6 -7
- package/esm2020/defer/defer.mjs +6 -7
- package/esm2020/dialog/dialog.mjs +6 -7
- package/esm2020/divider/divider.mjs +8 -9
- package/esm2020/dock/dock.mjs +11 -13
- package/esm2020/dom/domhandler.mjs +2 -2
- package/esm2020/dragdrop/dragdrop.mjs +10 -12
- package/esm2020/dropdown/dropdown.mjs +6 -7
- package/esm2020/dynamicdialog/dynamicdialog.mjs +6 -6
- package/esm2020/editor/editor.mjs +8 -10
- package/esm2020/fieldset/fieldset.mjs +9 -11
- package/esm2020/fileupload/fileupload.mjs +6 -7
- package/esm2020/focustrap/focustrap.mjs +6 -7
- package/esm2020/galleria/galleria.mjs +6 -7
- package/esm2020/gmap/gmap.mjs +8 -9
- package/esm2020/image/image.mjs +6 -7
- package/esm2020/inplace/inplace.mjs +9 -11
- package/esm2020/inputmask/inputmask.mjs +10 -11
- package/esm2020/inputnumber/inputnumber.mjs +10 -11
- package/esm2020/inputswitch/inputswitch.mjs +8 -9
- package/esm2020/inputtext/inputtext.mjs +6 -7
- package/esm2020/inputtextarea/inputtextarea.mjs +6 -7
- package/esm2020/keyfilter/keyfilter.mjs +6 -7
- package/esm2020/knob/knob.mjs +8 -9
- package/esm2020/listbox/listbox.mjs +6 -7
- package/esm2020/megamenu/megamenu.mjs +11 -13
- package/esm2020/menu/menu.mjs +6 -6
- package/esm2020/menubar/menubar.mjs +8 -9
- package/esm2020/messages/messages.mjs +6 -7
- package/esm2020/multiselect/multiselect.mjs +7 -7
- package/esm2020/orderlist/orderlist.mjs +6 -7
- package/esm2020/organizationchart/organizationchart.mjs +9 -11
- package/esm2020/overlay/overlay.mjs +11 -6
- package/esm2020/overlaypanel/overlaypanel.mjs +6 -7
- package/esm2020/paginator/paginator.mjs +10 -10
- package/esm2020/panel/panel.mjs +9 -11
- package/esm2020/panelmenu/panelmenu.mjs +6 -7
- package/esm2020/password/password.mjs +6 -7
- package/esm2020/picklist/picklist.mjs +6 -7
- package/esm2020/progressbar/progressbar.mjs +8 -9
- package/esm2020/progressspinner/progressspinner.mjs +8 -9
- package/esm2020/radiobutton/radiobutton.mjs +8 -9
- package/esm2020/rating/rating.mjs +8 -10
- package/esm2020/ripple/ripple.mjs +6 -6
- package/esm2020/scroller/scroller.mjs +11 -11
- package/esm2020/scrollpanel/scrollpanel.mjs +8 -10
- package/esm2020/scrolltop/scrolltop.mjs +6 -6
- package/esm2020/selectbutton/selectbutton.mjs +10 -11
- package/esm2020/sidebar/sidebar.mjs +6 -7
- package/esm2020/skeleton/skeleton.mjs +8 -9
- package/esm2020/slidemenu/slidemenu.mjs +6 -6
- package/esm2020/slider/slider.mjs +8 -9
- package/esm2020/speeddial/speeddial.mjs +12 -14
- package/esm2020/splitbutton/splitbutton.mjs +10 -12
- package/esm2020/splitter/splitter.mjs +8 -10
- package/esm2020/steps/steps.mjs +9 -10
- package/esm2020/styleclass/styleclass.mjs +6 -7
- package/esm2020/table/table.mjs +6 -7
- package/esm2020/tabmenu/tabmenu.mjs +10 -12
- package/esm2020/tabview/tabview.mjs +11 -13
- package/esm2020/tag/tag.mjs +8 -10
- package/esm2020/terminal/terminal.mjs +9 -10
- package/esm2020/tieredmenu/tieredmenu.mjs +15 -15
- package/esm2020/timeline/timeline.mjs +8 -10
- package/esm2020/toast/toast.mjs +6 -6
- package/esm2020/togglebutton/togglebutton.mjs +10 -11
- package/esm2020/toolbar/toolbar.mjs +8 -10
- package/esm2020/tooltip/tooltip.mjs +6 -6
- package/esm2020/tree/tree.mjs +6 -7
- package/esm2020/treeselect/treeselect.mjs +6 -7
- package/esm2020/treetable/treetable.mjs +6 -7
- package/esm2020/tristatecheckbox/tristatecheckbox.mjs +8 -9
- package/esm2020/virtualscroller/virtualscroller.mjs +9 -10
- package/fesm2015/primeng-accordion.mjs +8 -10
- package/fesm2015/primeng-accordion.mjs.map +1 -1
- package/fesm2015/primeng-animate.mjs +5 -6
- package/fesm2015/primeng-animate.mjs.map +1 -1
- package/fesm2015/primeng-api.mjs +76 -97
- package/fesm2015/primeng-api.mjs.map +1 -1
- package/fesm2015/primeng-autocomplete.mjs +5 -6
- package/fesm2015/primeng-autocomplete.mjs.map +1 -1
- package/fesm2015/primeng-autofocus.mjs +5 -6
- package/fesm2015/primeng-autofocus.mjs.map +1 -1
- package/fesm2015/primeng-avatar.mjs +7 -8
- package/fesm2015/primeng-avatar.mjs.map +1 -1
- package/fesm2015/primeng-badge.mjs +11 -14
- package/fesm2015/primeng-badge.mjs.map +1 -1
- package/fesm2015/primeng-blockui.mjs +5 -6
- package/fesm2015/primeng-blockui.mjs.map +1 -1
- package/fesm2015/primeng-breadcrumb.mjs +9 -10
- package/fesm2015/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2015/primeng-button.mjs +12 -15
- package/fesm2015/primeng-button.mjs.map +1 -1
- package/fesm2015/primeng-calendar.mjs +5 -6
- package/fesm2015/primeng-calendar.mjs.map +1 -1
- package/fesm2015/primeng-captcha.mjs +5 -6
- package/fesm2015/primeng-captcha.mjs.map +1 -1
- package/fesm2015/primeng-card.mjs +7 -9
- package/fesm2015/primeng-card.mjs.map +1 -1
- package/fesm2015/primeng-carousel.mjs +8 -10
- package/fesm2015/primeng-carousel.mjs.map +1 -1
- package/fesm2015/primeng-cascadeselect.mjs +5 -6
- package/fesm2015/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2015/primeng-chart.mjs +5 -6
- package/fesm2015/primeng-chart.mjs.map +1 -1
- package/fesm2015/primeng-checkbox.mjs +7 -8
- package/fesm2015/primeng-checkbox.mjs.map +1 -1
- package/fesm2015/primeng-chip.mjs +7 -8
- package/fesm2015/primeng-chip.mjs.map +1 -1
- package/fesm2015/primeng-chips.mjs +7 -9
- package/fesm2015/primeng-chips.mjs.map +1 -1
- package/fesm2015/primeng-colorpicker.mjs +6 -6
- package/fesm2015/primeng-colorpicker.mjs.map +1 -1
- package/fesm2015/primeng-confirmdialog.mjs +5 -6
- package/fesm2015/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2015/primeng-confirmpopup.mjs +5 -6
- package/fesm2015/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2015/primeng-contextmenu.mjs +5 -6
- package/fesm2015/primeng-contextmenu.mjs.map +1 -1
- package/fesm2015/primeng-dataview.mjs +5 -6
- package/fesm2015/primeng-dataview.mjs.map +1 -1
- package/fesm2015/primeng-defer.mjs +5 -6
- package/fesm2015/primeng-defer.mjs.map +1 -1
- package/fesm2015/primeng-dialog.mjs +5 -6
- package/fesm2015/primeng-dialog.mjs.map +1 -1
- package/fesm2015/primeng-divider.mjs +7 -8
- package/fesm2015/primeng-divider.mjs.map +1 -1
- package/fesm2015/primeng-dock.mjs +10 -12
- package/fesm2015/primeng-dock.mjs.map +1 -1
- package/fesm2015/primeng-dom.mjs +1 -1
- package/fesm2015/primeng-dom.mjs.map +1 -1
- package/fesm2015/primeng-dragdrop.mjs +9 -11
- package/fesm2015/primeng-dragdrop.mjs.map +1 -1
- package/fesm2015/primeng-dropdown.mjs +5 -6
- package/fesm2015/primeng-dropdown.mjs.map +1 -1
- package/fesm2015/primeng-dynamicdialog.mjs +6 -6
- package/fesm2015/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2015/primeng-editor.mjs +7 -9
- package/fesm2015/primeng-editor.mjs.map +1 -1
- package/fesm2015/primeng-fieldset.mjs +8 -10
- package/fesm2015/primeng-fieldset.mjs.map +1 -1
- package/fesm2015/primeng-fileupload.mjs +5 -6
- package/fesm2015/primeng-fileupload.mjs.map +1 -1
- package/fesm2015/primeng-focustrap.mjs +5 -6
- package/fesm2015/primeng-focustrap.mjs.map +1 -1
- package/fesm2015/primeng-galleria.mjs +5 -6
- package/fesm2015/primeng-galleria.mjs.map +1 -1
- package/fesm2015/primeng-gmap.mjs +7 -8
- package/fesm2015/primeng-gmap.mjs.map +1 -1
- package/fesm2015/primeng-image.mjs +5 -6
- package/fesm2015/primeng-image.mjs.map +1 -1
- package/fesm2015/primeng-inplace.mjs +8 -10
- package/fesm2015/primeng-inplace.mjs.map +1 -1
- package/fesm2015/primeng-inputmask.mjs +9 -10
- package/fesm2015/primeng-inputmask.mjs.map +1 -1
- package/fesm2015/primeng-inputnumber.mjs +9 -10
- package/fesm2015/primeng-inputnumber.mjs.map +1 -1
- package/fesm2015/primeng-inputswitch.mjs +7 -8
- package/fesm2015/primeng-inputswitch.mjs.map +1 -1
- package/fesm2015/primeng-inputtext.mjs +5 -6
- package/fesm2015/primeng-inputtext.mjs.map +1 -1
- package/fesm2015/primeng-inputtextarea.mjs +5 -6
- package/fesm2015/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2015/primeng-keyfilter.mjs +5 -6
- package/fesm2015/primeng-keyfilter.mjs.map +1 -1
- package/fesm2015/primeng-knob.mjs +7 -8
- package/fesm2015/primeng-knob.mjs.map +1 -1
- package/fesm2015/primeng-listbox.mjs +5 -6
- package/fesm2015/primeng-listbox.mjs.map +1 -1
- package/fesm2015/primeng-megamenu.mjs +10 -12
- package/fesm2015/primeng-megamenu.mjs.map +1 -1
- package/fesm2015/primeng-menu.mjs +6 -6
- package/fesm2015/primeng-menu.mjs.map +1 -1
- package/fesm2015/primeng-menubar.mjs +7 -8
- package/fesm2015/primeng-menubar.mjs.map +1 -1
- package/fesm2015/primeng-messages.mjs +5 -6
- package/fesm2015/primeng-messages.mjs.map +1 -1
- package/fesm2015/primeng-multiselect.mjs +6 -6
- package/fesm2015/primeng-multiselect.mjs.map +1 -1
- package/fesm2015/primeng-orderlist.mjs +5 -6
- package/fesm2015/primeng-orderlist.mjs.map +1 -1
- package/fesm2015/primeng-organizationchart.mjs +8 -10
- package/fesm2015/primeng-organizationchart.mjs.map +1 -1
- package/fesm2015/primeng-overlay.mjs +10 -5
- package/fesm2015/primeng-overlay.mjs.map +1 -1
- package/fesm2015/primeng-overlaypanel.mjs +5 -6
- package/fesm2015/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2015/primeng-paginator.mjs +9 -10
- package/fesm2015/primeng-paginator.mjs.map +1 -1
- package/fesm2015/primeng-panel.mjs +8 -10
- package/fesm2015/primeng-panel.mjs.map +1 -1
- package/fesm2015/primeng-panelmenu.mjs +5 -6
- package/fesm2015/primeng-panelmenu.mjs.map +1 -1
- package/fesm2015/primeng-password.mjs +5 -6
- package/fesm2015/primeng-password.mjs.map +1 -1
- package/fesm2015/primeng-picklist.mjs +5 -6
- package/fesm2015/primeng-picklist.mjs.map +1 -1
- package/fesm2015/primeng-progressbar.mjs +7 -8
- package/fesm2015/primeng-progressbar.mjs.map +1 -1
- package/fesm2015/primeng-progressspinner.mjs +7 -8
- package/fesm2015/primeng-progressspinner.mjs.map +1 -1
- package/fesm2015/primeng-radiobutton.mjs +7 -8
- package/fesm2015/primeng-radiobutton.mjs.map +1 -1
- package/fesm2015/primeng-rating.mjs +7 -9
- package/fesm2015/primeng-rating.mjs.map +1 -1
- package/fesm2015/primeng-ripple.mjs +5 -5
- package/fesm2015/primeng-ripple.mjs.map +1 -1
- package/fesm2015/primeng-scroller.mjs +10 -10
- package/fesm2015/primeng-scroller.mjs.map +1 -1
- package/fesm2015/primeng-scrollpanel.mjs +7 -9
- package/fesm2015/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2015/primeng-scrolltop.mjs +5 -5
- package/fesm2015/primeng-scrolltop.mjs.map +1 -1
- package/fesm2015/primeng-selectbutton.mjs +9 -10
- package/fesm2015/primeng-selectbutton.mjs.map +1 -1
- package/fesm2015/primeng-sidebar.mjs +5 -6
- package/fesm2015/primeng-sidebar.mjs.map +1 -1
- package/fesm2015/primeng-skeleton.mjs +7 -8
- package/fesm2015/primeng-skeleton.mjs.map +1 -1
- package/fesm2015/primeng-slidemenu.mjs +6 -6
- package/fesm2015/primeng-slidemenu.mjs.map +1 -1
- package/fesm2015/primeng-slider.mjs +7 -8
- package/fesm2015/primeng-slider.mjs.map +1 -1
- package/fesm2015/primeng-speeddial.mjs +11 -13
- package/fesm2015/primeng-speeddial.mjs.map +1 -1
- package/fesm2015/primeng-splitbutton.mjs +9 -11
- package/fesm2015/primeng-splitbutton.mjs.map +1 -1
- package/fesm2015/primeng-splitter.mjs +7 -9
- package/fesm2015/primeng-splitter.mjs.map +1 -1
- package/fesm2015/primeng-steps.mjs +8 -9
- package/fesm2015/primeng-steps.mjs.map +1 -1
- package/fesm2015/primeng-styleclass.mjs +5 -6
- package/fesm2015/primeng-styleclass.mjs.map +1 -1
- package/fesm2015/primeng-table.mjs +5 -6
- package/fesm2015/primeng-table.mjs.map +1 -1
- package/fesm2015/primeng-tabmenu.mjs +9 -11
- package/fesm2015/primeng-tabmenu.mjs.map +1 -1
- package/fesm2015/primeng-tabview.mjs +10 -12
- package/fesm2015/primeng-tabview.mjs.map +1 -1
- package/fesm2015/primeng-tag.mjs +7 -9
- package/fesm2015/primeng-tag.mjs.map +1 -1
- package/fesm2015/primeng-terminal.mjs +8 -9
- package/fesm2015/primeng-terminal.mjs.map +1 -1
- package/fesm2015/primeng-tieredmenu.mjs +14 -14
- package/fesm2015/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2015/primeng-timeline.mjs +7 -9
- package/fesm2015/primeng-timeline.mjs.map +1 -1
- package/fesm2015/primeng-toast.mjs +5 -6
- package/fesm2015/primeng-toast.mjs.map +1 -1
- package/fesm2015/primeng-togglebutton.mjs +9 -10
- package/fesm2015/primeng-togglebutton.mjs.map +1 -1
- package/fesm2015/primeng-toolbar.mjs +7 -9
- package/fesm2015/primeng-toolbar.mjs.map +1 -1
- package/fesm2015/primeng-tooltip.mjs +5 -5
- package/fesm2015/primeng-tooltip.mjs.map +1 -1
- package/fesm2015/primeng-tree.mjs +5 -6
- package/fesm2015/primeng-tree.mjs.map +1 -1
- package/fesm2015/primeng-treeselect.mjs +5 -6
- package/fesm2015/primeng-treeselect.mjs.map +1 -1
- package/fesm2015/primeng-treetable.mjs +5 -6
- package/fesm2015/primeng-treetable.mjs.map +1 -1
- package/fesm2015/primeng-tristatecheckbox.mjs +7 -8
- package/fesm2015/primeng-tristatecheckbox.mjs.map +1 -1
- package/fesm2015/primeng-virtualscroller.mjs +8 -9
- package/fesm2015/primeng-virtualscroller.mjs.map +1 -1
- package/fesm2020/primeng-accordion.mjs +8 -10
- package/fesm2020/primeng-accordion.mjs.map +1 -1
- package/fesm2020/primeng-animate.mjs +5 -6
- package/fesm2020/primeng-animate.mjs.map +1 -1
- package/fesm2020/primeng-api.mjs +59 -75
- package/fesm2020/primeng-api.mjs.map +1 -1
- package/fesm2020/primeng-autocomplete.mjs +5 -6
- package/fesm2020/primeng-autocomplete.mjs.map +1 -1
- package/fesm2020/primeng-autofocus.mjs +5 -6
- package/fesm2020/primeng-autofocus.mjs.map +1 -1
- package/fesm2020/primeng-avatar.mjs +7 -8
- package/fesm2020/primeng-avatar.mjs.map +1 -1
- package/fesm2020/primeng-badge.mjs +11 -14
- package/fesm2020/primeng-badge.mjs.map +1 -1
- package/fesm2020/primeng-blockui.mjs +5 -6
- package/fesm2020/primeng-blockui.mjs.map +1 -1
- package/fesm2020/primeng-breadcrumb.mjs +9 -10
- package/fesm2020/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2020/primeng-button.mjs +12 -15
- package/fesm2020/primeng-button.mjs.map +1 -1
- package/fesm2020/primeng-calendar.mjs +5 -6
- package/fesm2020/primeng-calendar.mjs.map +1 -1
- package/fesm2020/primeng-captcha.mjs +5 -6
- package/fesm2020/primeng-captcha.mjs.map +1 -1
- package/fesm2020/primeng-card.mjs +7 -9
- package/fesm2020/primeng-card.mjs.map +1 -1
- package/fesm2020/primeng-carousel.mjs +8 -10
- package/fesm2020/primeng-carousel.mjs.map +1 -1
- package/fesm2020/primeng-cascadeselect.mjs +5 -6
- package/fesm2020/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2020/primeng-chart.mjs +5 -6
- package/fesm2020/primeng-chart.mjs.map +1 -1
- package/fesm2020/primeng-checkbox.mjs +7 -8
- package/fesm2020/primeng-checkbox.mjs.map +1 -1
- package/fesm2020/primeng-chip.mjs +7 -8
- package/fesm2020/primeng-chip.mjs.map +1 -1
- package/fesm2020/primeng-chips.mjs +7 -9
- package/fesm2020/primeng-chips.mjs.map +1 -1
- package/fesm2020/primeng-colorpicker.mjs +6 -6
- package/fesm2020/primeng-colorpicker.mjs.map +1 -1
- package/fesm2020/primeng-confirmdialog.mjs +5 -6
- package/fesm2020/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2020/primeng-confirmpopup.mjs +5 -6
- package/fesm2020/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2020/primeng-contextmenu.mjs +5 -6
- package/fesm2020/primeng-contextmenu.mjs.map +1 -1
- package/fesm2020/primeng-dataview.mjs +5 -6
- package/fesm2020/primeng-dataview.mjs.map +1 -1
- package/fesm2020/primeng-defer.mjs +5 -6
- package/fesm2020/primeng-defer.mjs.map +1 -1
- package/fesm2020/primeng-dialog.mjs +5 -6
- package/fesm2020/primeng-dialog.mjs.map +1 -1
- package/fesm2020/primeng-divider.mjs +7 -8
- package/fesm2020/primeng-divider.mjs.map +1 -1
- package/fesm2020/primeng-dock.mjs +10 -12
- package/fesm2020/primeng-dock.mjs.map +1 -1
- package/fesm2020/primeng-dom.mjs +1 -1
- package/fesm2020/primeng-dom.mjs.map +1 -1
- package/fesm2020/primeng-dragdrop.mjs +9 -11
- package/fesm2020/primeng-dragdrop.mjs.map +1 -1
- package/fesm2020/primeng-dropdown.mjs +5 -6
- package/fesm2020/primeng-dropdown.mjs.map +1 -1
- package/fesm2020/primeng-dynamicdialog.mjs +6 -6
- package/fesm2020/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2020/primeng-editor.mjs +7 -9
- package/fesm2020/primeng-editor.mjs.map +1 -1
- package/fesm2020/primeng-fieldset.mjs +8 -10
- package/fesm2020/primeng-fieldset.mjs.map +1 -1
- package/fesm2020/primeng-fileupload.mjs +5 -6
- package/fesm2020/primeng-fileupload.mjs.map +1 -1
- package/fesm2020/primeng-focustrap.mjs +5 -6
- package/fesm2020/primeng-focustrap.mjs.map +1 -1
- package/fesm2020/primeng-galleria.mjs +5 -6
- package/fesm2020/primeng-galleria.mjs.map +1 -1
- package/fesm2020/primeng-gmap.mjs +7 -8
- package/fesm2020/primeng-gmap.mjs.map +1 -1
- package/fesm2020/primeng-image.mjs +5 -6
- package/fesm2020/primeng-image.mjs.map +1 -1
- package/fesm2020/primeng-inplace.mjs +8 -10
- package/fesm2020/primeng-inplace.mjs.map +1 -1
- package/fesm2020/primeng-inputmask.mjs +9 -10
- package/fesm2020/primeng-inputmask.mjs.map +1 -1
- package/fesm2020/primeng-inputnumber.mjs +9 -10
- package/fesm2020/primeng-inputnumber.mjs.map +1 -1
- package/fesm2020/primeng-inputswitch.mjs +7 -8
- package/fesm2020/primeng-inputswitch.mjs.map +1 -1
- package/fesm2020/primeng-inputtext.mjs +5 -6
- package/fesm2020/primeng-inputtext.mjs.map +1 -1
- package/fesm2020/primeng-inputtextarea.mjs +5 -6
- package/fesm2020/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2020/primeng-keyfilter.mjs +5 -6
- package/fesm2020/primeng-keyfilter.mjs.map +1 -1
- package/fesm2020/primeng-knob.mjs +7 -8
- package/fesm2020/primeng-knob.mjs.map +1 -1
- package/fesm2020/primeng-listbox.mjs +5 -6
- package/fesm2020/primeng-listbox.mjs.map +1 -1
- package/fesm2020/primeng-megamenu.mjs +10 -12
- package/fesm2020/primeng-megamenu.mjs.map +1 -1
- package/fesm2020/primeng-menu.mjs +6 -6
- package/fesm2020/primeng-menu.mjs.map +1 -1
- package/fesm2020/primeng-menubar.mjs +7 -8
- package/fesm2020/primeng-menubar.mjs.map +1 -1
- package/fesm2020/primeng-messages.mjs +5 -6
- package/fesm2020/primeng-messages.mjs.map +1 -1
- package/fesm2020/primeng-multiselect.mjs +6 -6
- package/fesm2020/primeng-multiselect.mjs.map +1 -1
- package/fesm2020/primeng-orderlist.mjs +5 -6
- package/fesm2020/primeng-orderlist.mjs.map +1 -1
- package/fesm2020/primeng-organizationchart.mjs +8 -10
- package/fesm2020/primeng-organizationchart.mjs.map +1 -1
- package/fesm2020/primeng-overlay.mjs +10 -5
- package/fesm2020/primeng-overlay.mjs.map +1 -1
- package/fesm2020/primeng-overlaypanel.mjs +5 -6
- package/fesm2020/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2020/primeng-paginator.mjs +9 -10
- package/fesm2020/primeng-paginator.mjs.map +1 -1
- package/fesm2020/primeng-panel.mjs +8 -10
- package/fesm2020/primeng-panel.mjs.map +1 -1
- package/fesm2020/primeng-panelmenu.mjs +5 -6
- package/fesm2020/primeng-panelmenu.mjs.map +1 -1
- package/fesm2020/primeng-password.mjs +5 -6
- package/fesm2020/primeng-password.mjs.map +1 -1
- package/fesm2020/primeng-picklist.mjs +5 -6
- package/fesm2020/primeng-picklist.mjs.map +1 -1
- package/fesm2020/primeng-progressbar.mjs +7 -8
- package/fesm2020/primeng-progressbar.mjs.map +1 -1
- package/fesm2020/primeng-progressspinner.mjs +7 -8
- package/fesm2020/primeng-progressspinner.mjs.map +1 -1
- package/fesm2020/primeng-radiobutton.mjs +7 -8
- package/fesm2020/primeng-radiobutton.mjs.map +1 -1
- package/fesm2020/primeng-rating.mjs +7 -9
- package/fesm2020/primeng-rating.mjs.map +1 -1
- package/fesm2020/primeng-ripple.mjs +5 -5
- package/fesm2020/primeng-ripple.mjs.map +1 -1
- package/fesm2020/primeng-scroller.mjs +10 -10
- package/fesm2020/primeng-scroller.mjs.map +1 -1
- package/fesm2020/primeng-scrollpanel.mjs +7 -9
- package/fesm2020/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2020/primeng-scrolltop.mjs +5 -5
- package/fesm2020/primeng-scrolltop.mjs.map +1 -1
- package/fesm2020/primeng-selectbutton.mjs +9 -10
- package/fesm2020/primeng-selectbutton.mjs.map +1 -1
- package/fesm2020/primeng-sidebar.mjs +5 -6
- package/fesm2020/primeng-sidebar.mjs.map +1 -1
- package/fesm2020/primeng-skeleton.mjs +7 -8
- package/fesm2020/primeng-skeleton.mjs.map +1 -1
- package/fesm2020/primeng-slidemenu.mjs +6 -6
- package/fesm2020/primeng-slidemenu.mjs.map +1 -1
- package/fesm2020/primeng-slider.mjs +7 -8
- package/fesm2020/primeng-slider.mjs.map +1 -1
- package/fesm2020/primeng-speeddial.mjs +11 -13
- package/fesm2020/primeng-speeddial.mjs.map +1 -1
- package/fesm2020/primeng-splitbutton.mjs +9 -11
- package/fesm2020/primeng-splitbutton.mjs.map +1 -1
- package/fesm2020/primeng-splitter.mjs +7 -9
- package/fesm2020/primeng-splitter.mjs.map +1 -1
- package/fesm2020/primeng-steps.mjs +8 -9
- package/fesm2020/primeng-steps.mjs.map +1 -1
- package/fesm2020/primeng-styleclass.mjs +5 -6
- package/fesm2020/primeng-styleclass.mjs.map +1 -1
- package/fesm2020/primeng-table.mjs +5 -6
- package/fesm2020/primeng-table.mjs.map +1 -1
- package/fesm2020/primeng-tabmenu.mjs +9 -11
- package/fesm2020/primeng-tabmenu.mjs.map +1 -1
- package/fesm2020/primeng-tabview.mjs +10 -12
- package/fesm2020/primeng-tabview.mjs.map +1 -1
- package/fesm2020/primeng-tag.mjs +7 -9
- package/fesm2020/primeng-tag.mjs.map +1 -1
- package/fesm2020/primeng-terminal.mjs +8 -9
- package/fesm2020/primeng-terminal.mjs.map +1 -1
- package/fesm2020/primeng-tieredmenu.mjs +14 -14
- package/fesm2020/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2020/primeng-timeline.mjs +7 -9
- package/fesm2020/primeng-timeline.mjs.map +1 -1
- package/fesm2020/primeng-toast.mjs +5 -6
- package/fesm2020/primeng-toast.mjs.map +1 -1
- package/fesm2020/primeng-togglebutton.mjs +9 -10
- package/fesm2020/primeng-togglebutton.mjs.map +1 -1
- package/fesm2020/primeng-toolbar.mjs +7 -9
- package/fesm2020/primeng-toolbar.mjs.map +1 -1
- package/fesm2020/primeng-tooltip.mjs +5 -5
- package/fesm2020/primeng-tooltip.mjs.map +1 -1
- package/fesm2020/primeng-tree.mjs +5 -6
- package/fesm2020/primeng-tree.mjs.map +1 -1
- package/fesm2020/primeng-treeselect.mjs +5 -6
- package/fesm2020/primeng-treeselect.mjs.map +1 -1
- package/fesm2020/primeng-treetable.mjs +5 -6
- package/fesm2020/primeng-treetable.mjs.map +1 -1
- package/fesm2020/primeng-tristatecheckbox.mjs +7 -8
- package/fesm2020/primeng-tristatecheckbox.mjs.map +1 -1
- package/fesm2020/primeng-virtualscroller.mjs +8 -9
- package/fesm2020/primeng-virtualscroller.mjs.map +1 -1
- package/fieldset/fieldset.d.ts +1 -3
- package/fileupload/fileupload.d.ts +2 -3
- package/focustrap/focustrap.d.ts +1 -3
- package/galleria/galleria.d.ts +2 -3
- package/gmap/gmap.d.ts +1 -3
- package/image/image.d.ts +2 -3
- package/inplace/inplace.d.ts +1 -3
- package/inputmask/inputmask.d.ts +1 -3
- package/inputnumber/inputnumber.d.ts +1 -3
- package/inputswitch/inputswitch.d.ts +1 -3
- package/inputtext/inputtext.d.ts +2 -4
- package/inputtextarea/inputtextarea.d.ts +2 -4
- package/keyfilter/keyfilter.d.ts +1 -3
- package/knob/knob.d.ts +1 -3
- package/listbox/listbox.d.ts +2 -3
- package/megamenu/megamenu.d.ts +2 -3
- package/menu/menu.d.ts +2 -3
- package/menubar/menubar.d.ts +2 -3
- package/messages/messages.d.ts +3 -4
- package/multiselect/multiselect.d.ts +2 -3
- package/orderlist/orderlist.d.ts +2 -3
- package/organizationchart/organizationchart.d.ts +1 -3
- package/overlay/overlay.d.ts +1 -1
- package/overlaypanel/overlaypanel.d.ts +2 -3
- package/package.json +1 -1
- package/paginator/paginator.d.ts +2 -3
- package/panel/panel.d.ts +1 -3
- package/panelmenu/panelmenu.d.ts +2 -3
- package/password/password.d.ts +2 -3
- package/picklist/picklist.d.ts +2 -3
- package/progressbar/progressbar.d.ts +1 -3
- package/progressspinner/progressspinner.d.ts +1 -3
- package/radiobutton/radiobutton.d.ts +1 -3
- package/rating/rating.d.ts +1 -3
- package/resources/components/button/button.css +1 -0
- package/resources/components/menubar/menubar.css +1 -0
- package/resources/primeng.css +1 -0
- package/resources/primeng.min.css +1 -1
- package/ripple/ripple.d.ts +3 -4
- package/scroller/scroller.d.ts +1 -3
- package/scrollpanel/scrollpanel.d.ts +1 -3
- package/scrolltop/scrolltop.d.ts +2 -3
- package/selectbutton/selectbutton.d.ts +1 -3
- package/sidebar/sidebar.d.ts +2 -3
- package/skeleton/skeleton.d.ts +1 -3
- package/slidemenu/slidemenu.d.ts +2 -3
- package/slider/slider.d.ts +1 -3
- package/speeddial/speeddial.d.ts +2 -3
- package/splitbutton/splitbutton.d.ts +2 -3
- package/splitter/splitter.d.ts +1 -3
- package/steps/steps.d.ts +2 -3
- package/styleclass/styleclass.d.ts +1 -3
- package/table/table.d.ts +2 -3
- package/tabmenu/tabmenu.d.ts +2 -3
- package/tabview/tabview.d.ts +2 -3
- package/tag/tag.d.ts +1 -3
- package/terminal/terminal.d.ts +1 -3
- package/tieredmenu/tieredmenu.d.ts +2 -3
- package/timeline/timeline.d.ts +2 -3
- package/toast/toast.d.ts +2 -3
- package/togglebutton/togglebutton.d.ts +1 -3
- package/toolbar/toolbar.d.ts +2 -3
- package/tooltip/tooltip.d.ts +2 -3
- package/tree/tree.d.ts +3 -4
- package/treeselect/treeselect.d.ts +2 -3
- package/treetable/treetable.d.ts +2 -3
- package/tristatecheckbox/tristatecheckbox.d.ts +1 -3
- package/virtualscroller/virtualscroller.d.ts +2 -3
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { forwardRef, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, NgModule } from '@angular/core';
|
3
|
-
import * as
|
3
|
+
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
6
|
-
import
|
6
|
+
import { LicenseManager } from 'primeng/api';
|
7
7
|
|
8
8
|
const TRISTATECHECKBOX_VALUE_ACCESSOR = {
|
9
9
|
provide: NG_VALUE_ACCESSOR,
|
@@ -11,9 +11,8 @@ const TRISTATECHECKBOX_VALUE_ACCESSOR = {
|
|
11
11
|
multi: true
|
12
12
|
};
|
13
13
|
class TriStateCheckbox {
|
14
|
-
constructor(cd
|
14
|
+
constructor(cd) {
|
15
15
|
this.cd = cd;
|
16
|
-
this.licenseManager = licenseManager;
|
17
16
|
this.checkboxTrueIcon = 'pi pi-check';
|
18
17
|
this.checkboxFalseIcon = 'pi pi-times';
|
19
18
|
this.onChange = new EventEmitter();
|
@@ -21,7 +20,7 @@ class TriStateCheckbox {
|
|
21
20
|
this.onModelTouched = () => { };
|
22
21
|
}
|
23
22
|
ngAfterViewInit() {
|
24
|
-
|
23
|
+
LicenseManager.check();
|
25
24
|
}
|
26
25
|
onClick(event, input) {
|
27
26
|
if (!this.disabled && !this.readonly) {
|
@@ -76,7 +75,7 @@ class TriStateCheckbox {
|
|
76
75
|
this.cd.markForCheck();
|
77
76
|
}
|
78
77
|
}
|
79
|
-
TriStateCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TriStateCheckbox, deps: [{ token: i0.ChangeDetectorRef }
|
78
|
+
TriStateCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TriStateCheckbox, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
80
79
|
TriStateCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: TriStateCheckbox, selector: "p-triStateCheckbox", inputs: { disabled: "disabled", name: "name", ariaLabelledBy: "ariaLabelledBy", tabindex: "tabindex", inputId: "inputId", style: "style", styleClass: "styleClass", label: "label", readonly: "readonly", checkboxTrueIcon: "checkboxTrueIcon", checkboxFalseIcon: "checkboxFalseIcon" }, outputs: { onChange: "onChange" }, host: { classAttribute: "p-element" }, providers: [TRISTATECHECKBOX_VALUE_ACCESSOR], ngImport: i0, template: `
|
81
80
|
<div [ngStyle]="style" [ngClass]="{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }" [class]="styleClass">
|
82
81
|
<div class="p-hidden-accessible">
|
@@ -101,7 +100,7 @@ TriStateCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
101
100
|
</div>
|
102
101
|
</div>
|
103
102
|
<label class="p-checkbox-label" (click)="onClick($event, input)" [ngClass]="{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }" *ngIf="label" [attr.for]="inputId">{{ label }}</label>
|
104
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
103
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
105
104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: TriStateCheckbox, decorators: [{
|
106
105
|
type: Component,
|
107
106
|
args: [{
|
@@ -138,7 +137,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
138
137
|
class: 'p-element'
|
139
138
|
}
|
140
139
|
}]
|
141
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }
|
140
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { disabled: [{
|
142
141
|
type: Input
|
143
142
|
}], name: [{
|
144
143
|
type: Input
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"primeng-tristatecheckbox.mjs","sources":["../../src/app/components/tristatecheckbox/tristatecheckbox.ts","../../src/app/components/tristatecheckbox/primeng-tristatecheckbox.ts"],"sourcesContent":["import { NgModule, Component, Input, Output, EventEmitter, forwardRef, ChangeDetectorRef, ChangeDetectionStrategy, ViewEncapsulation, AfterViewInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';\nimport { LicenseManager } from 'primeng/api';\n\nexport const TRISTATECHECKBOX_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TriStateCheckbox),\n multi: true\n};\n\n@Component({\n selector: 'p-triStateCheckbox',\n template: `\n <div [ngStyle]=\"style\" [ngClass]=\"{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }\" [class]=\"styleClass\">\n <div class=\"p-hidden-accessible\">\n <input\n #input\n type=\"text\"\n [attr.id]=\"inputId\"\n [name]=\"name\"\n [attr.tabindex]=\"tabindex\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n (keyup)=\"onKeyup($event)\"\n (keydown)=\"onKeydown($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n inputmode=\"none\"\n />\n </div>\n <div class=\"p-checkbox-box\" (click)=\"onClick($event, input)\" role=\"checkbox\" [attr.aria-checked]=\"value === true\" [ngClass]=\"{ 'p-highlight': value != null, 'p-disabled': disabled, 'p-focus': focused }\">\n <span class=\"p-checkbox-icon\" [ngClass]=\"value === true ? checkboxTrueIcon : value === false ? checkboxFalseIcon : ''\"></span>\n </div>\n </div>\n <label class=\"p-checkbox-label\" (click)=\"onClick($event, input)\" [ngClass]=\"{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }\" *ngIf=\"label\" [attr.for]=\"inputId\">{{ label }}</label>\n `,\n providers: [TRISTATECHECKBOX_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class TriStateCheckbox implements ControlValueAccessor, AfterViewInit {\n constructor(private cd: ChangeDetectorRef
|
1
|
+
{"version":3,"file":"primeng-tristatecheckbox.mjs","sources":["../../src/app/components/tristatecheckbox/tristatecheckbox.ts","../../src/app/components/tristatecheckbox/primeng-tristatecheckbox.ts"],"sourcesContent":["import { NgModule, Component, Input, Output, EventEmitter, forwardRef, ChangeDetectorRef, ChangeDetectionStrategy, ViewEncapsulation, AfterViewInit } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NG_VALUE_ACCESSOR, ControlValueAccessor } from '@angular/forms';\nimport { LicenseManager } from 'primeng/api';\n\nexport const TRISTATECHECKBOX_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => TriStateCheckbox),\n multi: true\n};\n\n@Component({\n selector: 'p-triStateCheckbox',\n template: `\n <div [ngStyle]=\"style\" [ngClass]=\"{ 'p-checkbox p-component': true, 'p-checkbox-disabled': disabled, 'p-checkbox-focused': focused }\" [class]=\"styleClass\">\n <div class=\"p-hidden-accessible\">\n <input\n #input\n type=\"text\"\n [attr.id]=\"inputId\"\n [name]=\"name\"\n [attr.tabindex]=\"tabindex\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n (keyup)=\"onKeyup($event)\"\n (keydown)=\"onKeydown($event)\"\n (focus)=\"onFocus()\"\n (blur)=\"onBlur()\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n inputmode=\"none\"\n />\n </div>\n <div class=\"p-checkbox-box\" (click)=\"onClick($event, input)\" role=\"checkbox\" [attr.aria-checked]=\"value === true\" [ngClass]=\"{ 'p-highlight': value != null, 'p-disabled': disabled, 'p-focus': focused }\">\n <span class=\"p-checkbox-icon\" [ngClass]=\"value === true ? checkboxTrueIcon : value === false ? checkboxFalseIcon : ''\"></span>\n </div>\n </div>\n <label class=\"p-checkbox-label\" (click)=\"onClick($event, input)\" [ngClass]=\"{ 'p-checkbox-label-active': value != null, 'p-disabled': disabled, 'p-checkbox-label-focus': focused }\" *ngIf=\"label\" [attr.for]=\"inputId\">{{ label }}</label>\n `,\n providers: [TRISTATECHECKBOX_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class TriStateCheckbox implements ControlValueAccessor, AfterViewInit {\n constructor(private cd: ChangeDetectorRef) {}\n\n @Input() disabled: boolean;\n\n @Input() name: string;\n\n @Input() ariaLabelledBy: string;\n\n @Input() tabindex: number;\n\n @Input() inputId: string;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() label: string;\n\n @Input() readonly: boolean;\n\n @Input() checkboxTrueIcon: string = 'pi pi-check';\n\n @Input() checkboxFalseIcon: string = 'pi pi-times';\n\n @Output() onChange: EventEmitter<any> = new EventEmitter();\n\n focused: boolean;\n\n value: any;\n\n onModelChange: Function = () => {};\n\n onModelTouched: Function = () => {};\n\n ngAfterViewInit() {\n LicenseManager.check();\n }\n\n onClick(event: Event, input: HTMLInputElement) {\n if (!this.disabled && !this.readonly) {\n this.toggle(event);\n this.focused = true;\n input.focus();\n }\n }\n\n onKeydown(event: KeyboardEvent) {\n if (event.keyCode == 32) {\n event.preventDefault();\n }\n }\n\n onKeyup(event: KeyboardEvent) {\n if (event.keyCode == 32 && !this.readonly) {\n this.toggle(event);\n event.preventDefault();\n }\n }\n\n toggle(event: Event) {\n if (this.value == null || this.value == undefined) this.value = true;\n else if (this.value == true) this.value = false;\n else if (this.value == false) this.value = null;\n\n this.onModelChange(this.value);\n this.onChange.emit({\n originalEvent: event,\n value: this.value\n });\n }\n\n onFocus() {\n this.focused = true;\n }\n\n onBlur() {\n this.focused = false;\n this.onModelTouched();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n writeValue(value: any): void {\n this.value = value;\n this.cd.markForCheck();\n }\n\n setDisabledState(disabled: boolean): void {\n this.disabled = disabled;\n this.cd.markForCheck();\n }\n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [TriStateCheckbox],\n declarations: [TriStateCheckbox]\n})\nexport class TriStateCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;AAKa,MAAA,+BAA+B,GAAQ;AAChD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,gBAAgB,CAAC;AAC/C,IAAA,KAAK,EAAE,IAAI;EACb;MAoCW,gBAAgB,CAAA;AACzB,IAAA,WAAA,CAAoB,EAAqB,EAAA;QAArB,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QAoBhC,IAAgB,CAAA,gBAAA,GAAW,aAAa,CAAC;QAEzC,IAAiB,CAAA,iBAAA,GAAW,aAAa,CAAC;AAEzC,QAAA,IAAA,CAAA,QAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;AAM3D,QAAA,IAAA,CAAA,aAAa,GAAa,MAAK,GAAG,CAAC;AAEnC,QAAA,IAAA,CAAA,cAAc,GAAa,MAAK,GAAG,CAAC;KAhCS;IAkC7C,eAAe,GAAA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OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,gBAAgB,CAAC;oBAC3B,YAAY,EAAE,CAAC,gBAAgB,CAAC;AACnC,iBAAA,CAAA;;;ACrJD;;AAEG;;;;"}
|
@@ -1,17 +1,16 @@
|
|
1
|
-
import * as
|
1
|
+
import * as i1 from '@angular/common';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
4
|
import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ContentChild, ContentChildren, ViewChild, Output, NgModule } from '@angular/core';
|
5
|
-
import * as
|
6
|
-
import { Header, Footer, PrimeTemplate, SharedModule } from 'primeng/api';
|
5
|
+
import * as i2 from 'primeng/api';
|
6
|
+
import { LicenseManager, Header, Footer, PrimeTemplate, SharedModule } from 'primeng/api';
|
7
7
|
import * as i3 from 'primeng/scroller';
|
8
8
|
import { ScrollerModule } from 'primeng/scroller';
|
9
9
|
|
10
10
|
class VirtualScroller {
|
11
|
-
constructor(el, cd
|
11
|
+
constructor(el, cd) {
|
12
12
|
this.el = el;
|
13
13
|
this.cd = cd;
|
14
|
-
this.licenseManager = licenseManager;
|
15
14
|
this.delay = 250;
|
16
15
|
this.onLazyLoad = new EventEmitter();
|
17
16
|
}
|
@@ -37,7 +36,7 @@ class VirtualScroller {
|
|
37
36
|
});
|
38
37
|
}
|
39
38
|
ngAfterViewInit() {
|
40
|
-
|
39
|
+
LicenseManager.check();
|
41
40
|
}
|
42
41
|
onLazyItemLoad(event) {
|
43
42
|
if (this.virtualScrollTimeout) {
|
@@ -58,7 +57,7 @@ class VirtualScroller {
|
|
58
57
|
this.scroller?.scrollToIndex(index, mode);
|
59
58
|
}
|
60
59
|
}
|
61
|
-
VirtualScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: VirtualScroller, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }
|
60
|
+
VirtualScroller.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: VirtualScroller, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
62
61
|
VirtualScroller.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: VirtualScroller, selector: "p-virtualScroller", inputs: { value: "value", itemSize: "itemSize", style: "style", styleClass: "styleClass", scrollHeight: "scrollHeight", lazy: "lazy", options: "options", delay: "delay" }, outputs: { onLazyLoad: "onLazyLoad" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "header", first: true, predicate: Header, descendants: true }, { propertyName: "footer", first: true, predicate: Footer, descendants: true }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }], ngImport: i0, template: `
|
63
62
|
<div [ngClass]="'p-virtualscroller p-component'" [ngStyle]="style" [class]="styleClass">
|
64
63
|
<div class="p-virtualscroller-header" *ngIf="header || headerTemplate">
|
@@ -79,7 +78,7 @@ VirtualScroller.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
79
78
|
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
|
80
79
|
</div>
|
81
80
|
</div>
|
82
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
81
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.Scroller, selector: "p-scroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
83
82
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: VirtualScroller, decorators: [{
|
84
83
|
type: Component,
|
85
84
|
args: [{
|
@@ -111,7 +110,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImpor
|
|
111
110
|
class: 'p-element'
|
112
111
|
}
|
113
112
|
}]
|
114
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }
|
113
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { value: [{
|
115
114
|
type: Input
|
116
115
|
}], itemSize: [{
|
117
116
|
type: Input
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"primeng-virtualscroller.mjs","sources":["../../src/app/components/virtualscroller/virtualscroller.ts","../../src/app/components/virtualscroller/primeng-virtualscroller.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n NgModule,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { BlockableUI, Footer, Header, LicenseManager, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { Scroller, ScrollerModule, ScrollerOptions } from 'primeng/scroller';\n\n@Component({\n selector: 'p-virtualScroller',\n template: `\n <div [ngClass]=\"'p-virtualscroller p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <div class=\"p-virtualscroller-header\" *ngIf=\"header || headerTemplate\">\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </div>\n <div #content class=\"p-virtualscroller-content\">\n <p-scroller #scroller [items]=\"value\" styleClass=\"p-virtualscroller-list\" [style]=\"{ height: scrollHeight }\" [itemSize]=\"itemSize\" [lazy]=\"lazy\" (onLazyLoad)=\"onLazyItemLoad($event)\" [options]=\"options\">\n <ng-template pTemplate=\"item\" let-item let-scrollerOptions=\"options\">\n <div [ngStyle]=\"{ height: itemSize + 'px' }\" class=\"p-virtualscroller-item\">\n <ng-container *ngTemplateOutlet=\"item ? itemTemplate : loadingItemTemplate; context: { $implicit: item, options: scrollerOptions }\"></ng-container>\n </div>\n </ng-template>\n </p-scroller>\n </div>\n <div class=\"p-virtualscroller-footer\" *ngIf=\"footer || footerTemplate\">\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class VirtualScroller implements AfterContentInit, AfterViewInit, BlockableUI {\n @Input() value: any[];\n\n @Input() itemSize: number;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() scrollHeight: any;\n\n @Input() lazy: boolean;\n\n @Input() options: ScrollerOptions;\n\n @Input() delay: number = 250;\n\n @ContentChild(Header) header: Header;\n\n @ContentChild(Footer) footer: Footer;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n @ViewChild('scroller') scroller: Scroller;\n\n @Output() onLazyLoad: EventEmitter<any> = new EventEmitter();\n\n itemTemplate: TemplateRef<any>;\n\n headerTemplate: TemplateRef<any>;\n\n footerTemplate: TemplateRef<any>;\n\n loadingItemTemplate: TemplateRef<any>;\n\n virtualScrollTimeout: any;\n\n constructor(public el: ElementRef, public cd: ChangeDetectorRef, private licenseManager: LicenseManager) {}\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'item':\n this.itemTemplate = item.template;\n break;\n\n case 'loadingItem':\n this.loadingItemTemplate = item.template;\n break;\n\n case 'header':\n this.headerTemplate = item.template;\n break;\n\n case 'footer':\n this.footerTemplate = item.template;\n break;\n\n default:\n this.itemTemplate = item.template;\n break;\n }\n });\n }\n\n ngAfterViewInit() {\n this.licenseManager['check']();\n }\n\n onLazyItemLoad(event) {\n if (this.virtualScrollTimeout) {\n clearTimeout(this.virtualScrollTimeout);\n }\n\n this.virtualScrollTimeout = setTimeout(() => {\n this.onLazyLoad.emit({\n ...event,\n rows: event.last - event.first,\n forceUpdate: () => this.cd.detectChanges()\n });\n }, this.delay);\n }\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n scrollToIndex(index: number, mode?: ScrollBehavior): void {\n this.scroller?.scrollToIndex(index, mode);\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule, ScrollerModule],\n exports: [VirtualScroller, SharedModule, ScrollerModule],\n declarations: [VirtualScroller]\n})\nexport class VirtualScrollerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAmDa,eAAe,CAAA;AAqCxB,IAAA,WAAA,CAAmB,EAAc,EAAS,EAAqB,EAAU,cAA8B,EAAA;QAApF,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;QAAS,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QAAU,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAtB9F,IAAK,CAAA,KAAA,GAAW,GAAG,CAAC;AAUnB,QAAA,IAAA,CAAA,UAAU,GAAsB,IAAI,YAAY,EAAE,CAAC;KAY8C;IAE3G,kBAAkB,GAAA;QACd,I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AAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,cAAc,CA7F3C,EAAA,OAAA,EAAA,CAAA,eAAe,EA8FG,YAAY,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA;mHAG9C,qBAAqB,EAAA,OAAA,EAAA,CAJpB,YAAY,EAAE,YAAY,EAAE,cAAc,EACzB,YAAY,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA;2FAG9C,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,CAAC;AACrD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,cAAc,CAAC;oBACxD,YAAY,EAAE,CAAC,eAAe,CAAC;AAClC,iBAAA,CAAA;;;ACnJD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"primeng-virtualscroller.mjs","sources":["../../src/app/components/virtualscroller/virtualscroller.ts","../../src/app/components/virtualscroller/primeng-virtualscroller.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n NgModule,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { BlockableUI, Footer, Header, LicenseManager, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { Scroller, ScrollerModule, ScrollerOptions } from 'primeng/scroller';\n\n@Component({\n selector: 'p-virtualScroller',\n template: `\n <div [ngClass]=\"'p-virtualscroller p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <div class=\"p-virtualscroller-header\" *ngIf=\"header || headerTemplate\">\n <ng-content select=\"p-header\"></ng-content>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </div>\n <div #content class=\"p-virtualscroller-content\">\n <p-scroller #scroller [items]=\"value\" styleClass=\"p-virtualscroller-list\" [style]=\"{ height: scrollHeight }\" [itemSize]=\"itemSize\" [lazy]=\"lazy\" (onLazyLoad)=\"onLazyItemLoad($event)\" [options]=\"options\">\n <ng-template pTemplate=\"item\" let-item let-scrollerOptions=\"options\">\n <div [ngStyle]=\"{ height: itemSize + 'px' }\" class=\"p-virtualscroller-item\">\n <ng-container *ngTemplateOutlet=\"item ? itemTemplate : loadingItemTemplate; context: { $implicit: item, options: scrollerOptions }\"></ng-container>\n </div>\n </ng-template>\n </p-scroller>\n </div>\n <div class=\"p-virtualscroller-footer\" *ngIf=\"footer || footerTemplate\">\n <ng-content select=\"p-footer\"></ng-content>\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'p-element'\n }\n})\nexport class VirtualScroller implements AfterContentInit, AfterViewInit, BlockableUI {\n @Input() value: any[];\n\n @Input() itemSize: number;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() scrollHeight: any;\n\n @Input() lazy: boolean;\n\n @Input() options: ScrollerOptions;\n\n @Input() delay: number = 250;\n\n @ContentChild(Header) header: Header;\n\n @ContentChild(Footer) footer: Footer;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n @ViewChild('scroller') scroller: Scroller;\n\n @Output() onLazyLoad: EventEmitter<any> = new EventEmitter();\n\n itemTemplate: TemplateRef<any>;\n\n headerTemplate: TemplateRef<any>;\n\n footerTemplate: TemplateRef<any>;\n\n loadingItemTemplate: TemplateRef<any>;\n\n virtualScrollTimeout: any;\n\n constructor(public el: ElementRef, public cd: ChangeDetectorRef) {}\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'item':\n this.itemTemplate = item.template;\n break;\n\n case 'loadingItem':\n this.loadingItemTemplate = item.template;\n break;\n\n case 'header':\n this.headerTemplate = item.template;\n break;\n\n case 'footer':\n this.footerTemplate = item.template;\n break;\n\n default:\n this.itemTemplate = item.template;\n break;\n }\n });\n }\n\n ngAfterViewInit() {\n LicenseManager.check();\n }\n\n onLazyItemLoad(event) {\n if (this.virtualScrollTimeout) {\n clearTimeout(this.virtualScrollTimeout);\n }\n\n this.virtualScrollTimeout = setTimeout(() => {\n this.onLazyLoad.emit({\n ...event,\n rows: event.last - event.first,\n forceUpdate: () => this.cd.detectChanges()\n });\n }, this.delay);\n }\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n scrollToIndex(index: number, mode?: ScrollBehavior): void {\n this.scroller?.scrollToIndex(index, mode);\n }\n}\n\n@NgModule({\n imports: [CommonModule, SharedModule, ScrollerModule],\n exports: [VirtualScroller, SharedModule, ScrollerModule],\n declarations: [VirtualScroller]\n})\nexport class VirtualScrollerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;MAmDa,eAAe,CAAA;IAqCxB,WAAmB,CAAA,EAAc,EAAS,EAAqB,EAAA;QAA5C,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;QAAS,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;QAtBtD,IAAK,CAAA,KAAA,GAAW,GAAG,CAAC;AAUnB,QAAA,IAAA,CAAA,UAAU,GAAsB,IAAI,YAAY,EAAE,CAAC;KAYM;IAEnE,kBAAkB,GAAA;QACd,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC5B,YAAA,QAAQ,IAAI,CAAC,OAAO,EAAE;AAClB,gBAAA,KAAK,MAAM;AACP,oBAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC;oBAClC,MAAM;AAEV,gBAAA,KAAK,aAAa;AACd,oBAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,QAAQ,CAAC;oBACzC,MAAM;AAEV,gBAAA,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AAY,EAAE,cAAc,CAAC;AACrD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,cAAc,CAAC;oBACxD,YAAY,EAAE,CAAC,eAAe,CAAC;AAClC,iBAAA,CAAA;;;ACnJD;;AAEG;;;;"}
|
package/fieldset/fieldset.d.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { EventEmitter, ElementRef, AfterContentInit, QueryList, TemplateRef, AfterViewInit } from '@angular/core';
|
2
|
-
import { LicenseManager } from 'primeng/api';
|
3
2
|
import { BlockableUI } from 'primeng/api';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
import * as i1 from "@angular/common";
|
@@ -7,7 +6,6 @@ import * as i2 from "primeng/ripple";
|
|
7
6
|
import * as i3 from "primeng/api";
|
8
7
|
export declare class Fieldset implements AfterContentInit, AfterViewInit, BlockableUI {
|
9
8
|
private el;
|
10
|
-
private licenseManager;
|
11
9
|
legend: string;
|
12
10
|
toggleable: boolean;
|
13
11
|
collapsed: boolean;
|
@@ -21,7 +19,7 @@ export declare class Fieldset implements AfterContentInit, AfterViewInit, Blocka
|
|
21
19
|
animating: boolean;
|
22
20
|
headerTemplate: TemplateRef<any>;
|
23
21
|
contentTemplate: TemplateRef<any>;
|
24
|
-
constructor(el: ElementRef
|
22
|
+
constructor(el: ElementRef);
|
25
23
|
id: string;
|
26
24
|
ngAfterContentInit(): void;
|
27
25
|
ngAfterViewInit(): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnDestroy, EventEmitter, TemplateRef, AfterViewInit, AfterContentInit, QueryList, ElementRef, NgZone, ChangeDetectorRef, OnInit } from '@angular/core';
|
2
2
|
import { DomSanitizer } from '@angular/platform-browser';
|
3
|
-
import {
|
3
|
+
import { Message } from 'primeng/api';
|
4
4
|
import { PrimeNGConfig } from 'primeng/api';
|
5
5
|
import { BlockableUI } from 'primeng/api';
|
6
6
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
@@ -19,7 +19,6 @@ export declare class FileUpload implements AfterViewInit, AfterContentInit, OnIn
|
|
19
19
|
private http;
|
20
20
|
cd: ChangeDetectorRef;
|
21
21
|
config: PrimeNGConfig;
|
22
|
-
private licenseManager;
|
23
22
|
name: string;
|
24
23
|
url: string;
|
25
24
|
method: string;
|
@@ -83,7 +82,7 @@ export declare class FileUpload implements AfterViewInit, AfterContentInit, OnIn
|
|
83
82
|
uploading: boolean;
|
84
83
|
duplicateIEEvent: boolean;
|
85
84
|
translationSubscription: Subscription;
|
86
|
-
constructor(el: ElementRef, sanitizer: DomSanitizer, zone: NgZone, http: HttpClient, cd: ChangeDetectorRef, config: PrimeNGConfig
|
85
|
+
constructor(el: ElementRef, sanitizer: DomSanitizer, zone: NgZone, http: HttpClient, cd: ChangeDetectorRef, config: PrimeNGConfig);
|
87
86
|
ngAfterContentInit(): void;
|
88
87
|
ngOnInit(): void;
|
89
88
|
ngAfterViewInit(): void;
|
package/focustrap/focustrap.d.ts
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
import { ElementRef, AfterViewInit } from '@angular/core';
|
2
|
-
import { LicenseManager } from 'primeng/api';
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
import * as i1 from "@angular/common";
|
5
4
|
export declare class FocusTrap implements AfterViewInit {
|
6
5
|
el: ElementRef;
|
7
|
-
private licenseManager;
|
8
6
|
pFocusTrapDisabled: boolean;
|
9
|
-
constructor(el: ElementRef
|
7
|
+
constructor(el: ElementRef);
|
10
8
|
onkeydown(e: any): void;
|
11
9
|
ngAfterViewInit(): void;
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrap, never>;
|
package/galleria/galleria.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef, OnDestroy, EventEmitter, QueryList, TemplateRef, OnInit, OnChanges, AfterContentChecked, SimpleChanges, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
2
|
-
import { PrimeNGConfig
|
2
|
+
import { PrimeNGConfig } from 'primeng/api';
|
3
3
|
import { AnimationEvent } from '@angular/animations';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
import * as i1 from "@angular/common";
|
@@ -9,7 +9,6 @@ export declare class Galleria implements OnChanges, OnDestroy, AfterViewInit {
|
|
9
9
|
element: ElementRef;
|
10
10
|
cd: ChangeDetectorRef;
|
11
11
|
config: PrimeNGConfig;
|
12
|
-
private licenseManager;
|
13
12
|
get activeIndex(): number;
|
14
13
|
set activeIndex(activeIndex: number);
|
15
14
|
fullScreen: boolean;
|
@@ -49,7 +48,7 @@ export declare class Galleria implements OnChanges, OnDestroy, AfterViewInit {
|
|
49
48
|
indicatorFacet: any;
|
50
49
|
captionFacet: any;
|
51
50
|
maskVisible: boolean;
|
52
|
-
constructor(element: ElementRef, cd: ChangeDetectorRef, config: PrimeNGConfig
|
51
|
+
constructor(element: ElementRef, cd: ChangeDetectorRef, config: PrimeNGConfig);
|
53
52
|
ngAfterContentInit(): void;
|
54
53
|
ngAfterViewInit(): void;
|
55
54
|
ngOnChanges(simpleChanges: SimpleChanges): void;
|
package/gmap/gmap.d.ts
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
import { ElementRef, AfterViewChecked, DoCheck, EventEmitter, IterableDiffers, ChangeDetectorRef, NgZone, AfterViewInit } from '@angular/core';
|
2
|
-
import { LicenseManager } from 'primeng/api';
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
import * as i1 from "@angular/common";
|
5
4
|
export declare class GMap implements AfterViewChecked, AfterViewInit, DoCheck {
|
6
5
|
el: ElementRef;
|
7
6
|
cd: ChangeDetectorRef;
|
8
7
|
zone: NgZone;
|
9
|
-
private licenseManager;
|
10
8
|
style: any;
|
11
9
|
styleClass: string;
|
12
10
|
options: any;
|
@@ -22,7 +20,7 @@ export declare class GMap implements AfterViewChecked, AfterViewInit, DoCheck {
|
|
22
20
|
onZoomChanged: EventEmitter<any>;
|
23
21
|
differ: any;
|
24
22
|
map: any;
|
25
|
-
constructor(el: ElementRef, differs: IterableDiffers, cd: ChangeDetectorRef, zone: NgZone
|
23
|
+
constructor(el: ElementRef, differs: IterableDiffers, cd: ChangeDetectorRef, zone: NgZone);
|
26
24
|
ngAfterViewChecked(): void;
|
27
25
|
ngAfterViewInit(): void;
|
28
26
|
initialize(): void;
|
package/image/image.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef, TemplateRef, AfterContentInit, QueryList, EventEmitter, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
2
|
-
import { PrimeNGConfig
|
2
|
+
import { PrimeNGConfig } from 'primeng/api';
|
3
3
|
import { AnimationEvent } from '@angular/animations';
|
4
4
|
import { SafeUrl } from '@angular/platform-browser';
|
5
5
|
import * as i0 from "@angular/core";
|
@@ -8,7 +8,6 @@ import * as i2 from "primeng/api";
|
|
8
8
|
export declare class Image implements AfterContentInit, AfterViewInit {
|
9
9
|
private config;
|
10
10
|
private cd;
|
11
|
-
private licenseManager;
|
12
11
|
imageClass: string;
|
13
12
|
imageStyle: any;
|
14
13
|
styleClass: string;
|
@@ -37,7 +36,7 @@ export declare class Image implements AfterContentInit, AfterViewInit {
|
|
37
36
|
get isZoomOutDisabled(): boolean;
|
38
37
|
get isZoomInDisabled(): boolean;
|
39
38
|
private zoomSettings;
|
40
|
-
constructor(config: PrimeNGConfig, cd: ChangeDetectorRef
|
39
|
+
constructor(config: PrimeNGConfig, cd: ChangeDetectorRef);
|
41
40
|
ngAfterContentInit(): void;
|
42
41
|
ngAfterViewInit(): void;
|
43
42
|
onImageClick(): void;
|
package/inplace/inplace.d.ts
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { EventEmitter, ChangeDetectorRef, AfterContentInit, TemplateRef, QueryList, AfterViewInit } from '@angular/core';
|
2
|
-
import { LicenseManager } from 'primeng/api';
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
import * as i1 from "@angular/common";
|
5
4
|
import * as i2 from "primeng/button";
|
@@ -13,7 +12,6 @@ export declare class InplaceContent {
|
|
13
12
|
}
|
14
13
|
export declare class Inplace implements AfterContentInit, AfterViewInit {
|
15
14
|
cd: ChangeDetectorRef;
|
16
|
-
private licenseManager;
|
17
15
|
active: boolean;
|
18
16
|
closable: boolean;
|
19
17
|
disabled: boolean;
|
@@ -27,7 +25,7 @@ export declare class Inplace implements AfterContentInit, AfterViewInit {
|
|
27
25
|
hover: boolean;
|
28
26
|
displayTemplate: TemplateRef<any>;
|
29
27
|
contentTemplate: TemplateRef<any>;
|
30
|
-
constructor(cd: ChangeDetectorRef
|
28
|
+
constructor(cd: ChangeDetectorRef);
|
31
29
|
ngAfterContentInit(): void;
|
32
30
|
ngAfterViewInit(): void;
|
33
31
|
onActivateClick(event: any): void;
|
package/inputmask/inputmask.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import { ElementRef, OnInit, EventEmitter, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
3
|
-
import { LicenseManager } from 'primeng/api';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
import * as i1 from "@angular/common";
|
6
5
|
import * as i2 from "primeng/inputtext";
|
@@ -9,7 +8,6 @@ export declare const INPUTMASK_VALUE_ACCESSOR: any;
|
|
9
8
|
export declare class InputMask implements OnInit, AfterViewInit, ControlValueAccessor {
|
10
9
|
el: ElementRef;
|
11
10
|
private cd;
|
12
|
-
private licenseManager;
|
13
11
|
type: string;
|
14
12
|
slotChar: string;
|
15
13
|
autoClear: boolean;
|
@@ -58,7 +56,7 @@ export declare class InputMask implements OnInit, AfterViewInit, ControlValueAcc
|
|
58
56
|
caretTimeoutId: any;
|
59
57
|
androidChrome: boolean;
|
60
58
|
focused: boolean;
|
61
|
-
constructor(el: ElementRef, cd: ChangeDetectorRef
|
59
|
+
constructor(el: ElementRef, cd: ChangeDetectorRef);
|
62
60
|
ngOnInit(): void;
|
63
61
|
ngAfterViewInit(): void;
|
64
62
|
get mask(): string;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnInit, SimpleChanges } from '@angular/core';
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
3
|
-
import { LicenseManager } from 'primeng/api';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
import * as i1 from "@angular/common";
|
6
5
|
import * as i2 from "primeng/inputtext";
|
@@ -10,7 +9,6 @@ export declare class InputNumber implements OnInit, AfterViewInit, ControlValueA
|
|
10
9
|
el: ElementRef;
|
11
10
|
private cd;
|
12
11
|
private readonly injector;
|
13
|
-
private licenseManager;
|
14
12
|
showButtons: boolean;
|
15
13
|
format: boolean;
|
16
14
|
buttonLayout: string;
|
@@ -79,7 +77,7 @@ export declare class InputNumber implements OnInit, AfterViewInit, ControlValueA
|
|
79
77
|
get disabled(): boolean;
|
80
78
|
set disabled(disabled: boolean);
|
81
79
|
private ngControl;
|
82
|
-
constructor(el: ElementRef, cd: ChangeDetectorRef, injector: Injector
|
80
|
+
constructor(el: ElementRef, cd: ChangeDetectorRef, injector: Injector);
|
83
81
|
ngOnChanges(simpleChange: SimpleChanges): void;
|
84
82
|
ngOnInit(): void;
|
85
83
|
ngAfterViewInit(): void;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { EventEmitter, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
3
|
-
import { LicenseManager } from 'primeng/api';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
import * as i1 from "@angular/common";
|
6
5
|
export declare const INPUTSWITCH_VALUE_ACCESSOR: any;
|
@@ -10,7 +9,6 @@ export interface InputSwitchOnChangeEvent {
|
|
10
9
|
}
|
11
10
|
export declare class InputSwitch implements AfterViewInit, ControlValueAccessor {
|
12
11
|
private cd;
|
13
|
-
private licenseManager;
|
14
12
|
style: any;
|
15
13
|
styleClass: string;
|
16
14
|
tabindex: number;
|
@@ -27,7 +25,7 @@ export declare class InputSwitch implements AfterViewInit, ControlValueAccessor
|
|
27
25
|
focused: boolean;
|
28
26
|
onModelChange: Function;
|
29
27
|
onModelTouched: Function;
|
30
|
-
constructor(cd: ChangeDetectorRef
|
28
|
+
constructor(cd: ChangeDetectorRef);
|
31
29
|
ngAfterViewInit(): void;
|
32
30
|
onClick(event: Event, cb: HTMLInputElement): void;
|
33
31
|
onInputChange(event: Event): void;
|
package/inputtext/inputtext.d.ts
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
import { ElementRef, DoCheck, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
2
2
|
import { NgModel } from '@angular/forms';
|
3
|
-
import { LicenseManager } from 'primeng/api';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
import * as i1 from "@angular/common";
|
6
5
|
export declare class InputText implements DoCheck, AfterViewInit {
|
7
6
|
el: ElementRef;
|
8
7
|
ngModel: NgModel;
|
9
8
|
private cd;
|
10
|
-
private licenseManager;
|
11
9
|
filled: boolean;
|
12
|
-
constructor(el: ElementRef, ngModel: NgModel, cd: ChangeDetectorRef
|
10
|
+
constructor(el: ElementRef, ngModel: NgModel, cd: ChangeDetectorRef);
|
13
11
|
ngAfterViewInit(): void;
|
14
12
|
ngDoCheck(): void;
|
15
13
|
onInput(e: any): void;
|
16
14
|
updateFilledState(): void;
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputText, [null, { optional: true; }, null
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputText, [null, { optional: true; }, null]>;
|
18
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<InputText, "[pInputText]", never, {}, {}, never, never, false>;
|
19
17
|
}
|
20
18
|
export declare class InputTextModule {
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { ElementRef, EventEmitter, AfterViewInit, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
2
2
|
import { NgModel, NgControl } from '@angular/forms';
|
3
3
|
import { Subscription } from 'rxjs';
|
4
|
-
import { LicenseManager } from 'primeng/api';
|
5
4
|
import * as i0 from "@angular/core";
|
6
5
|
import * as i1 from "@angular/common";
|
7
6
|
export declare class InputTextarea implements OnInit, AfterViewInit, OnDestroy {
|
@@ -9,14 +8,13 @@ export declare class InputTextarea implements OnInit, AfterViewInit, OnDestroy {
|
|
9
8
|
ngModel: NgModel;
|
10
9
|
control: NgControl;
|
11
10
|
private cd;
|
12
|
-
private licenseManager;
|
13
11
|
autoResize: boolean;
|
14
12
|
onResize: EventEmitter<any>;
|
15
13
|
filled: boolean;
|
16
14
|
cachedScrollHeight: number;
|
17
15
|
ngModelSubscription: Subscription;
|
18
16
|
ngControlSubscription: Subscription;
|
19
|
-
constructor(el: ElementRef, ngModel: NgModel, control: NgControl, cd: ChangeDetectorRef
|
17
|
+
constructor(el: ElementRef, ngModel: NgModel, control: NgControl, cd: ChangeDetectorRef);
|
20
18
|
ngOnInit(): void;
|
21
19
|
ngAfterViewInit(): void;
|
22
20
|
onInput(e: any): void;
|
@@ -26,7 +24,7 @@ export declare class InputTextarea implements OnInit, AfterViewInit, OnDestroy {
|
|
26
24
|
resize(event?: Event): void;
|
27
25
|
updateState(): void;
|
28
26
|
ngOnDestroy(): void;
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextarea, [null, { optional: true; }, { optional: true; }, null
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextarea, [null, { optional: true; }, { optional: true; }, null]>;
|
30
28
|
static ɵdir: i0.ɵɵDirectiveDeclaration<InputTextarea, "[pInputTextarea]", never, { "autoResize": "autoResize"; }, { "onResize": "onResize"; }, never, never, false>;
|
31
29
|
}
|
32
30
|
export declare class InputTextareaModule {
|
package/keyfilter/keyfilter.d.ts
CHANGED
@@ -1,19 +1,17 @@
|
|
1
1
|
import { ElementRef, EventEmitter, AfterViewInit } from '@angular/core';
|
2
2
|
import { Validator, AbstractControl } from '@angular/forms';
|
3
|
-
import { LicenseManager } from 'primeng/api';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
import * as i1 from "@angular/common";
|
6
5
|
export declare const KEYFILTER_VALIDATOR: any;
|
7
6
|
export declare class KeyFilter implements Validator, AfterViewInit {
|
8
7
|
el: ElementRef;
|
9
|
-
private licenseManager;
|
10
8
|
pValidateOnly: boolean;
|
11
9
|
ngModelChange: EventEmitter<any>;
|
12
10
|
regex: RegExp;
|
13
11
|
_pattern: any;
|
14
12
|
isAndroid: boolean;
|
15
13
|
lastValue: any;
|
16
|
-
constructor(el: ElementRef
|
14
|
+
constructor(el: ElementRef);
|
17
15
|
ngAfterViewInit(): void;
|
18
16
|
get pattern(): any;
|
19
17
|
set pattern(_pattern: any);
|
package/knob/knob.d.ts
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, AfterViewInit } from '@angular/core';
|
2
|
-
import { LicenseManager } from 'primeng/api';
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
import * as i1 from "@angular/common";
|
5
4
|
export declare const KNOB_VALUE_ACCESSOR: any;
|
6
5
|
export declare class Knob implements AfterViewInit {
|
7
6
|
private cd;
|
8
7
|
private el;
|
9
|
-
private licenseManager;
|
10
8
|
styleClass: string;
|
11
9
|
style: any;
|
12
10
|
severity: string;
|
@@ -36,7 +34,7 @@ export declare class Knob implements AfterViewInit {
|
|
36
34
|
windowTouchEndListener: any;
|
37
35
|
onModelChange: Function;
|
38
36
|
onModelTouched: Function;
|
39
|
-
constructor(cd: ChangeDetectorRef, el: ElementRef
|
37
|
+
constructor(cd: ChangeDetectorRef, el: ElementRef);
|
40
38
|
ngAfterViewInit(): void;
|
41
39
|
mapRange(x: any, inMin: any, inMax: any, outMin: any, outMax: any): any;
|
42
40
|
onClick(event: any): void;
|
package/listbox/listbox.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef, EventEmitter, AfterContentInit, QueryList, TemplateRef, ChangeDetectorRef, OnInit, OnDestroy, AfterViewInit } from '@angular/core';
|
2
|
-
import { FilterService, PrimeNGConfig
|
2
|
+
import { FilterService, PrimeNGConfig } from 'primeng/api';
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
4
4
|
import { Subscription } from 'rxjs';
|
5
5
|
import * as i0 from "@angular/core";
|
@@ -16,7 +16,6 @@ export declare class Listbox implements AfterContentInit, OnInit, AfterViewInit,
|
|
16
16
|
cd: ChangeDetectorRef;
|
17
17
|
filterService: FilterService;
|
18
18
|
config: PrimeNGConfig;
|
19
|
-
private licenseManager;
|
20
19
|
multiple: boolean;
|
21
20
|
style: any;
|
22
21
|
styleClass: string;
|
@@ -69,7 +68,7 @@ export declare class Listbox implements AfterContentInit, OnInit, AfterViewInit,
|
|
69
68
|
focus: boolean;
|
70
69
|
headerCheckboxFocus: boolean;
|
71
70
|
translationSubscription: Subscription;
|
72
|
-
constructor(el: ElementRef, cd: ChangeDetectorRef, filterService: FilterService, config: PrimeNGConfig
|
71
|
+
constructor(el: ElementRef, cd: ChangeDetectorRef, filterService: FilterService, config: PrimeNGConfig);
|
73
72
|
get options(): any[];
|
74
73
|
set options(val: any[]);
|
75
74
|
get filterValue(): string;
|
package/megamenu/megamenu.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ElementRef, Renderer2, ChangeDetectorRef, AfterContentInit, QueryList, TemplateRef, AfterViewInit } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { MegaMenuItem, MenuItem } from 'primeng/api';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "@angular/common";
|
5
5
|
import * as i2 from "@angular/router";
|
@@ -9,7 +9,6 @@ export declare class MegaMenu implements AfterContentInit, AfterViewInit {
|
|
9
9
|
el: ElementRef;
|
10
10
|
renderer: Renderer2;
|
11
11
|
cd: ChangeDetectorRef;
|
12
|
-
private licenseManager;
|
13
12
|
model: MegaMenuItem[];
|
14
13
|
style: any;
|
15
14
|
styleClass: string;
|
@@ -21,7 +20,7 @@ export declare class MegaMenu implements AfterContentInit, AfterViewInit {
|
|
21
20
|
documentClickListener: any;
|
22
21
|
startTemplate: TemplateRef<any>;
|
23
22
|
endTemplate: TemplateRef<any>;
|
24
|
-
constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef
|
23
|
+
constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef);
|
25
24
|
ngAfterContentInit(): void;
|
26
25
|
ngAfterViewInit(): void;
|
27
26
|
onCategoryMouseEnter(event: any, menuitem: MegaMenuItem): void;
|