primeng 22.1.0 → 22.1.1
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/fesm2022/primeng-accordion.mjs +69 -53
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-animateonscroll.mjs +19 -10
- package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +60 -59
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +72 -33
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-autofocus.mjs +7 -7
- package/fesm2022/primeng-autofocus.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +13 -13
- package/fesm2022/primeng-avatar.mjs.map +1 -1
- package/fesm2022/primeng-avatargroup.mjs +13 -13
- package/fesm2022/primeng-avatargroup.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +13 -13
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +12 -30
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +12 -23
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-baseeditableholder.mjs +8 -3
- package/fesm2022/primeng-baseeditableholder.mjs.map +1 -1
- package/fesm2022/primeng-baseinput.mjs +3 -3
- package/fesm2022/primeng-baseinput.mjs.map +1 -1
- package/fesm2022/primeng-basemodelholder.mjs +3 -3
- package/fesm2022/primeng-basemodelholder.mjs.map +1 -1
- package/fesm2022/primeng-bind.mjs +9 -8
- package/fesm2022/primeng-bind.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +10 -13
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +10 -10
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +45 -38
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-buttongroup.mjs +10 -10
- package/fesm2022/primeng-buttongroup.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +10 -10
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +44 -45
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +111 -76
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-chart.mjs +13 -13
- package/fesm2022/primeng-chart.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +17 -19
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +13 -13
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-classnames.mjs +7 -7
- package/fesm2022/primeng-classnames.mjs.map +1 -1
- package/fesm2022/primeng-colorpicker.mjs +20 -20
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-commandmenu.mjs +14 -16
- package/fesm2022/primeng-commandmenu.mjs.map +1 -1
- package/fesm2022/primeng-compare.mjs +20 -19
- package/fesm2022/primeng-compare.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +10 -10
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +23 -27
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +34 -47
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +70 -39
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-dataview.mjs +15 -14
- package/fesm2022/primeng-dataview.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +100 -98
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +47 -40
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +15 -17
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +20 -14
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-dom.mjs +14 -8
- package/fesm2022/primeng-dom.mjs.map +1 -1
- package/fesm2022/primeng-dragdrop.mjs +11 -10
- package/fesm2022/primeng-dragdrop.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +26 -24
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +82 -93
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +16 -15
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +14 -17
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +26 -19
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-floatlabel.mjs +13 -13
- package/fesm2022/primeng-floatlabel.mjs.map +1 -1
- package/fesm2022/primeng-fluid.mjs +11 -11
- package/fesm2022/primeng-fluid.mjs.map +1 -1
- package/fesm2022/primeng-focustrap.mjs +19 -19
- package/fesm2022/primeng-focustrap.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +55 -51
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-gallery.mjs +103 -105
- package/fesm2022/primeng-gallery.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +13 -13
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubledown.mjs +3 -3
- package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleleft.mjs +3 -3
- package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleright.mjs +3 -3
- package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledoubleup.mjs +3 -3
- package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-angledown.mjs +3 -3
- package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleleft.mjs +3 -3
- package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleright.mjs +3 -3
- package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
- package/fesm2022/primeng-icons-angleup.mjs +3 -3
- package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdown.mjs +3 -3
- package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownleft.mjs +3 -3
- package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowdownright.mjs +3 -3
- package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowleft.mjs +3 -3
- package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowright.mjs +3 -3
- package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
- package/fesm2022/primeng-icons-arrowup.mjs +3 -3
- package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
- package/fesm2022/primeng-icons-ban.mjs +3 -3
- package/fesm2022/primeng-icons-ban.mjs.map +1 -1
- package/fesm2022/primeng-icons-bars.mjs +3 -3
- package/fesm2022/primeng-icons-bars.mjs.map +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +6 -6
- package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
- package/fesm2022/primeng-icons-blank.mjs +3 -3
- package/fesm2022/primeng-icons-blank.mjs.map +1 -1
- package/fesm2022/primeng-icons-calendar.mjs +3 -3
- package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretleft.mjs +3 -3
- package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-caretright.mjs +3 -3
- package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
- package/fesm2022/primeng-icons-check.mjs +3 -3
- package/fesm2022/primeng-icons-check.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevrondown.mjs +3 -3
- package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronleft.mjs +3 -3
- package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronright.mjs +3 -3
- package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
- package/fesm2022/primeng-icons-chevronup.mjs +3 -3
- package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
- package/fesm2022/primeng-icons-exclamationtriangle.mjs +3 -3
- package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/primeng-icons-eye.mjs +3 -3
- package/fesm2022/primeng-icons-eye.mjs.map +1 -1
- package/fesm2022/primeng-icons-eyeslash.mjs +3 -3
- package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-filter.mjs +3 -3
- package/fesm2022/primeng-icons-filter.mjs.map +1 -1
- package/fesm2022/primeng-icons-filterfill.mjs +3 -3
- package/fesm2022/primeng-icons-filterfill.mjs.map +1 -1
- package/fesm2022/primeng-icons-filterslash.mjs +3 -3
- package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
- package/fesm2022/primeng-icons-home.mjs +3 -3
- package/fesm2022/primeng-icons-home.mjs.map +1 -1
- package/fesm2022/primeng-icons-infocircle.mjs +3 -3
- package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-minus.mjs +3 -3
- package/fesm2022/primeng-icons-minus.mjs.map +1 -1
- package/fesm2022/primeng-icons-pencil.mjs +3 -3
- package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
- package/fesm2022/primeng-icons-plus.mjs +3 -3
- package/fesm2022/primeng-icons-plus.mjs.map +1 -1
- package/fesm2022/primeng-icons-refresh.mjs +3 -3
- package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
- package/fesm2022/primeng-icons-search.mjs +3 -3
- package/fesm2022/primeng-icons-search.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchminus.mjs +3 -3
- package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
- package/fesm2022/primeng-icons-searchplus.mjs +3 -3
- package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortalt.mjs +3 -3
- package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountdown.mjs +3 -3
- package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/primeng-icons-sortamountupalt.mjs +3 -3
- package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/primeng-icons-spinner.mjs +3 -3
- package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
- package/fesm2022/primeng-icons-star.mjs +3 -3
- package/fesm2022/primeng-icons-star.mjs.map +1 -1
- package/fesm2022/primeng-icons-starfill.mjs +3 -3
- package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
- package/fesm2022/primeng-icons-thlarge.mjs +3 -3
- package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
- package/fesm2022/primeng-icons-times.mjs +3 -3
- package/fesm2022/primeng-icons-times.mjs.map +1 -1
- package/fesm2022/primeng-icons-timescircle.mjs +3 -3
- package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
- package/fesm2022/primeng-icons-trash.mjs +3 -3
- package/fesm2022/primeng-icons-trash.mjs.map +1 -1
- package/fesm2022/primeng-icons-undo.mjs +3 -3
- package/fesm2022/primeng-icons-undo.mjs.map +1 -1
- package/fesm2022/primeng-icons-upload.mjs +3 -3
- package/fesm2022/primeng-icons-upload.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowmaximize.mjs +3 -3
- package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/primeng-icons-windowminimize.mjs +3 -3
- package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/primeng-iftalabel.mjs +10 -10
- package/fesm2022/primeng-iftalabel.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +21 -23
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +10 -10
- package/fesm2022/primeng-imagecompare.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +16 -16
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputcolor.mjs +55 -46
- package/fesm2022/primeng-inputcolor.mjs.map +1 -1
- package/fesm2022/primeng-inputgroup.mjs +10 -10
- package/fesm2022/primeng-inputgroup.mjs.map +1 -1
- package/fesm2022/primeng-inputgroupaddon.mjs +10 -10
- package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/primeng-inputicon.mjs +10 -10
- package/fesm2022/primeng-inputicon.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +27 -19
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +21 -21
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +15 -14
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputpassword.mjs +13 -15
- package/fesm2022/primeng-inputpassword.mjs.map +1 -1
- package/fesm2022/primeng-inputtags.mjs +10 -10
- package/fesm2022/primeng-inputtags.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +18 -13
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-keyfilter.mjs +13 -12
- package/fesm2022/primeng-keyfilter.mjs.map +1 -1
- package/fesm2022/primeng-knob.mjs +15 -13
- package/fesm2022/primeng-knob.mjs.map +1 -1
- package/fesm2022/primeng-label.mjs +10 -10
- package/fesm2022/primeng-label.mjs.map +1 -1
- package/fesm2022/primeng-license.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +67 -52
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +51 -31
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +48 -45
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +60 -38
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +25 -29
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +16 -16
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-motion.mjs +18 -18
- package/fesm2022/primeng-motion.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +184 -150
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +14 -28
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +16 -18
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +48 -34
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaybadge.mjs +10 -10
- package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +16 -16
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +20 -24
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +62 -30
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-passthrough.mjs +5 -7
- package/fesm2022/primeng-passthrough.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +39 -31
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +23 -20
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +23 -21
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +13 -13
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-progressspinner.mjs +10 -10
- package/fesm2022/primeng-progressspinner.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +17 -19
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +13 -13
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-ripple.mjs +31 -17
- package/fesm2022/primeng-ripple.mjs.map +1 -1
- package/fesm2022/primeng-scrollarea.mjs +25 -25
- package/fesm2022/primeng-scrollarea.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +65 -29
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +52 -26
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +18 -19
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +102 -51
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +10 -10
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +143 -140
- package/fesm2022/primeng-sidebar.mjs.map +1 -1
- package/fesm2022/primeng-skeleton.mjs +10 -10
- package/fesm2022/primeng-skeleton.mjs.map +1 -1
- package/fesm2022/primeng-slider.mjs +22 -22
- package/fesm2022/primeng-slider.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +30 -17
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +18 -19
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +20 -23
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +64 -68
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +150 -127
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-styleclass.mjs +13 -9
- package/fesm2022/primeng-styleclass.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +213 -190
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +66 -50
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +10 -10
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-terminal.mjs +13 -13
- package/fesm2022/primeng-terminal.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +16 -12
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +65 -34
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +13 -13
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +115 -121
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +10 -10
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +10 -10
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +16 -16
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +27 -14
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +55 -66
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +28 -16
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +139 -127
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +10 -6
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/fesm2022/primeng-utils.mjs +13 -22
- package/fesm2022/primeng-utils.mjs.map +1 -1
- package/package.json +2 -2
- package/types/primeng-accordion.d.ts +27 -29
- package/types/primeng-api.d.ts +7 -1
- package/types/primeng-autocomplete.d.ts +64 -66
- package/types/primeng-avatar.d.ts +19 -21
- package/types/primeng-avatargroup.d.ts +9 -11
- package/types/primeng-badge.d.ts +15 -17
- package/types/primeng-basecomponent.d.ts +1 -1
- package/types/primeng-button.d.ts +34 -36
- package/types/primeng-buttongroup.d.ts +9 -11
- package/types/primeng-card.d.ts +16 -18
- package/types/primeng-carousel.d.ts +67 -69
- package/types/primeng-cascadeselect.d.ts +69 -71
- package/types/primeng-chart.d.ts +15 -17
- package/types/primeng-checkbox.d.ts +22 -24
- package/types/primeng-chip.d.ts +25 -27
- package/types/primeng-colorpicker.d.ts +31 -33
- package/types/primeng-commandmenu.d.ts +1 -1
- package/types/primeng-compare.d.ts +17 -19
- package/types/primeng-config.d.ts +1 -1
- package/types/primeng-confirmdialog.d.ts +14 -16
- package/types/primeng-confirmpopup.d.ts +23 -29
- package/types/primeng-contextmenu.d.ts +36 -38
- package/types/primeng-dataview.d.ts +25 -27
- package/types/primeng-datepicker.d.ts +107 -109
- package/types/primeng-dialog.d.ts +39 -41
- package/types/primeng-divider.d.ts +18 -20
- package/types/primeng-dock.d.ts +26 -28
- package/types/primeng-drawer.d.ts +30 -32
- package/types/primeng-dynamicdialog.d.ts +52 -56
- package/types/primeng-editor.d.ts +17 -19
- package/types/primeng-fieldset.d.ts +20 -22
- package/types/primeng-fileupload.d.ts +27 -29
- package/types/primeng-floatlabel.d.ts +15 -17
- package/types/primeng-fluid.d.ts +9 -11
- package/types/primeng-galleria.d.ts +69 -71
- package/types/primeng-gallery.d.ts +6 -6
- package/types/primeng-iconfield.d.ts +10 -12
- package/types/primeng-icons-baseicon.d.ts +6 -8
- package/types/primeng-iftalabel.d.ts +9 -11
- package/types/primeng-image.d.ts +31 -33
- package/types/primeng-imagecompare.d.ts +10 -12
- package/types/primeng-inplace.d.ts +15 -17
- package/types/primeng-inputcolor.d.ts +27 -29
- package/types/primeng-inputgroup.d.ts +13 -15
- package/types/primeng-inputmask.d.ts +15 -17
- package/types/primeng-inputnumber.d.ts +35 -37
- package/types/primeng-inputotp.d.ts +11 -13
- package/types/primeng-inputpassword.d.ts +9 -12
- package/types/primeng-inputtags.d.ts +13 -15
- package/types/primeng-inputtext.d.ts +14 -16
- package/types/primeng-knob.d.ts +17 -19
- package/types/primeng-label.d.ts +9 -11
- package/types/primeng-listbox.d.ts +4 -4
- package/types/primeng-megamenu.d.ts +52 -54
- package/types/primeng-menu.d.ts +40 -42
- package/types/primeng-menubar.d.ts +1 -1
- package/types/primeng-message.d.ts +20 -22
- package/types/primeng-metergroup.d.ts +27 -29
- package/types/primeng-motion.d.ts +1 -3
- package/types/primeng-multiselect.d.ts +104 -106
- package/types/primeng-orderlist.d.ts +16 -18
- package/types/primeng-organizationchart.d.ts +21 -23
- package/types/primeng-overlay.d.ts +1 -1
- package/types/primeng-paginator.d.ts +48 -52
- package/types/primeng-panelmenu.d.ts +45 -47
- package/types/primeng-password.d.ts +47 -49
- package/types/primeng-picklist.d.ts +16 -18
- package/types/primeng-popover.d.ts +3 -3
- package/types/primeng-progressbar.d.ts +17 -19
- package/types/primeng-progressspinner.d.ts +13 -15
- package/types/primeng-radiobutton.d.ts +22 -24
- package/types/primeng-rating.d.ts +26 -28
- package/types/primeng-ripple.d.ts +9 -11
- package/types/primeng-scrollarea.d.ts +34 -36
- package/types/primeng-scroller.d.ts +28 -30
- package/types/primeng-scrollpanel.d.ts +15 -17
- package/types/primeng-scrolltop.d.ts +17 -19
- package/types/primeng-select.d.ts +56 -58
- package/types/primeng-selectbutton.d.ts +14 -16
- package/types/primeng-sidebar.d.ts +33 -35
- package/types/primeng-skeleton.d.ts +14 -16
- package/types/primeng-slider.d.ts +34 -36
- package/types/primeng-speeddial.d.ts +39 -41
- package/types/primeng-splitbutton.d.ts +20 -22
- package/types/primeng-splitter.d.ts +15 -17
- package/types/primeng-stepper.d.ts +19 -31
- package/types/primeng-steps.d.ts +25 -27
- package/types/primeng-table.d.ts +17 -18
- package/types/primeng-tabs.d.ts +13 -23
- package/types/primeng-tag.d.ts +21 -23
- package/types/primeng-terminal.d.ts +17 -19
- package/types/primeng-textarea.d.ts +14 -16
- package/types/primeng-tieredmenu.d.ts +43 -45
- package/types/primeng-timeline.d.ts +18 -20
- package/types/primeng-toast.d.ts +48 -50
- package/types/primeng-togglebutton.d.ts +23 -25
- package/types/primeng-toggleswitch.d.ts +22 -24
- package/types/primeng-toolbar.d.ts +14 -16
- package/types/primeng-tooltip.d.ts +23 -25
- package/types/primeng-tree.d.ts +52 -54
- package/types/primeng-treeselect.d.ts +52 -48
- package/types/primeng-treetable.d.ts +109 -111
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
export * from 'primeng/types/table';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, InjectionToken, input, booleanAttribute, inject, computed, effect, ViewEncapsulation, ChangeDetectionStrategy, Component, numberAttribute, output, signal, model, viewChild, contentChild, untracked, Directive,
|
|
3
|
+
import { Injectable, InjectionToken, input, booleanAttribute, inject, computed, effect, ViewEncapsulation, ChangeDetectionStrategy, Component, numberAttribute, output, signal, model, viewChild, contentChild, untracked, Directive, ElementRef, HostListener, NgModule } from '@angular/core';
|
|
4
4
|
import { style as style$1 } from '@primeuix/styles/datatable';
|
|
5
5
|
import { BaseStyle } from 'primeng/base';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import { NgTemplateOutlet, isPlatformBrowser } from '@angular/common';
|
|
8
8
|
import * as i2$1 from '@angular/forms';
|
|
9
9
|
import { FormsModule } from '@angular/forms';
|
|
10
|
+
import { ArrowDown } from '@primeicons/angular/arrow-down';
|
|
11
|
+
import { ArrowUp } from '@primeicons/angular/arrow-up';
|
|
12
|
+
import { Spinner } from '@primeicons/angular/spinner';
|
|
10
13
|
import { isClickable, setAttribute, getAttribute, find, findSingle, appendChild, addStyle, absolutePosition } from '@primeuix/utils';
|
|
11
14
|
import { OverlayService, FilterService, FilterOperator, FilterMatchMode, TranslationKeys, SharedModule } from 'primeng/api';
|
|
12
15
|
import { BaseComponent, PARENT_INSTANCE } from 'primeng/basecomponent';
|
|
@@ -17,9 +20,6 @@ import * as i2 from 'primeng/paginator';
|
|
|
17
20
|
import { PaginatorModule } from 'primeng/paginator';
|
|
18
21
|
import * as i3 from 'primeng/scroller';
|
|
19
22
|
import { ScrollerModule } from 'primeng/scroller';
|
|
20
|
-
import { ArrowDown } from '@primeicons/angular/arrow-down';
|
|
21
|
-
import { ArrowUp } from '@primeicons/angular/arrow-up';
|
|
22
|
-
import { Spinner } from '@primeicons/angular/spinner';
|
|
23
23
|
import { ObjectUtils, UniqueComponentId, ZIndexUtils } from 'primeng/utils';
|
|
24
24
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
25
25
|
import * as i1$1 from 'primeng/badge';
|
|
@@ -294,10 +294,10 @@ class TableStyle extends BaseStyle {
|
|
|
294
294
|
style = style;
|
|
295
295
|
classes = classes;
|
|
296
296
|
inlineStyles = inlineStyles;
|
|
297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
298
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.
|
|
297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
298
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableStyle });
|
|
299
299
|
}
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableStyle, decorators: [{
|
|
301
301
|
type: Injectable
|
|
302
302
|
}] });
|
|
303
303
|
/**
|
|
@@ -526,6 +526,7 @@ var TableClasses;
|
|
|
526
526
|
/**
|
|
527
527
|
* Class name of the row editor cancel element
|
|
528
528
|
*/
|
|
529
|
+
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
|
|
529
530
|
TableClasses["rowEditorCancel"] = "p-datatable-row-editor-cancel";
|
|
530
531
|
/**
|
|
531
532
|
* Class name of the frozen column element
|
|
@@ -565,10 +566,10 @@ class TableService {
|
|
|
565
566
|
onColumnsChange(columns) {
|
|
566
567
|
this.columnsSource.next(columns);
|
|
567
568
|
}
|
|
568
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
569
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.
|
|
569
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
570
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableService });
|
|
570
571
|
}
|
|
571
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableService, decorators: [{
|
|
572
573
|
type: Injectable
|
|
573
574
|
}] });
|
|
574
575
|
|
|
@@ -602,6 +603,11 @@ class TableBody extends BaseComponent {
|
|
|
602
603
|
}
|
|
603
604
|
});
|
|
604
605
|
}
|
|
606
|
+
dataP = computed(() => this.cn({
|
|
607
|
+
hoverable: this.dataTable.rowHover() || this.dataTable.selectionMode(),
|
|
608
|
+
frozen: this.frozen()
|
|
609
|
+
}), /* @ts-ignore */
|
|
610
|
+
...(ngDevMode ? [{ debugName: "dataP" }] : /* istanbul ignore next */ []));
|
|
605
611
|
onAfterViewInit() {
|
|
606
612
|
if (this.frozenRows()) {
|
|
607
613
|
this.updateFrozenRowStickyPosition();
|
|
@@ -680,15 +686,8 @@ class TableBody extends BaseComponent {
|
|
|
680
686
|
const getItemOptions = this.getScrollerOption('getItemOptions');
|
|
681
687
|
return getItemOptions ? getItemOptions(index).index : index;
|
|
682
688
|
}
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
hoverable: this.dataTable.rowHover() || this.dataTable.selectionMode(),
|
|
686
|
-
frozen: this.frozen()
|
|
687
|
-
});
|
|
688
|
-
}, /* @ts-ignore */
|
|
689
|
-
...(ngDevMode ? [{ debugName: "dataP" }] : /* istanbul ignore next */ []));
|
|
690
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: TableBody, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
691
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: TableBody, isStandalone: true, selector: "[pTableBody]", inputs: { columns: { classPropertyName: "columns", publicName: "pTableBody", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "pTableBodyTemplate", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, frozen: { classPropertyName: "frozen", publicName: "frozen", isSignal: true, isRequired: false, transformFunction: null }, frozenRows: { classPropertyName: "frozenRows", publicName: "frozenRows", isSignal: true, isRequired: false, transformFunction: null }, scrollerOptions: { classPropertyName: "scrollerOptions", publicName: "scrollerOptions", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-p": "dataP()" } }, usesInheritance: true, ngImport: i0, template: `
|
|
689
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableBody, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
690
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: TableBody, isStandalone: true, selector: "[pTableBody]", inputs: { columns: { classPropertyName: "columns", publicName: "pTableBody", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "pTableBodyTemplate", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, frozen: { classPropertyName: "frozen", publicName: "frozen", isSignal: true, isRequired: false, transformFunction: null }, frozenRows: { classPropertyName: "frozenRows", publicName: "frozenRows", isSignal: true, isRequired: false, transformFunction: null }, scrollerOptions: { classPropertyName: "scrollerOptions", publicName: "scrollerOptions", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-p": "dataP()" } }, usesInheritance: true, ngImport: i0, template: `
|
|
692
691
|
@if (!dataTable.expandedRowTemplate()) {
|
|
693
692
|
@for (rowData of value(); track dataTable.rowTrackBy()($index, rowData); let rowIndex = $index) {
|
|
694
693
|
@if (dataTable.groupHeaderTemplate() && !dataTable.virtualScroll() && dataTable.rowGroupMode() === 'subheader' && shouldRenderRowGroupHeader(value(), rowData, getRowIndex(rowIndex))) {
|
|
@@ -859,7 +858,7 @@ class TableBody extends BaseComponent {
|
|
|
859
858
|
}
|
|
860
859
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
861
860
|
}
|
|
862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableBody, decorators: [{
|
|
863
862
|
type: Component,
|
|
864
863
|
args: [{
|
|
865
864
|
selector: '[pTableBody]',
|
|
@@ -1180,6 +1179,7 @@ class Table extends BaseComponent {
|
|
|
1180
1179
|
* Selected row with a context menu.
|
|
1181
1180
|
* @group Props
|
|
1182
1181
|
*/
|
|
1182
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1183
1183
|
contextMenuSelectionInput = input(undefined, { ...(ngDevMode ? { debugName: "contextMenuSelectionInput" } : /* istanbul ignore next */ {}), alias: 'contextMenuSelection' });
|
|
1184
1184
|
contextMenuSelection;
|
|
1185
1185
|
/**
|
|
@@ -1209,6 +1209,7 @@ class Table extends BaseComponent {
|
|
|
1209
1209
|
* Function to optimize the dom operations by delegating to ngForTrackBy, default algorithm checks for object identity.
|
|
1210
1210
|
* @group Props
|
|
1211
1211
|
*/
|
|
1212
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
1212
1213
|
rowTrackBy = input((index, item) => item ?? index, /* @ts-ignore */
|
|
1213
1214
|
...(ngDevMode ? [{ debugName: "rowTrackBy" }] : /* istanbul ignore next */ []));
|
|
1214
1215
|
/**
|
|
@@ -1243,6 +1244,7 @@ class Table extends BaseComponent {
|
|
|
1243
1244
|
* An array of FilterMetadata objects to provide external filters.
|
|
1244
1245
|
* @group Props
|
|
1245
1246
|
*/
|
|
1247
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1246
1248
|
filtersInput = input({}, { ...(ngDevMode ? { debugName: "filtersInput" } : /* istanbul ignore next */ {}), alias: 'filters' });
|
|
1247
1249
|
filters = {};
|
|
1248
1250
|
/**
|
|
@@ -1266,12 +1268,14 @@ class Table extends BaseComponent {
|
|
|
1266
1268
|
* Map instance to keep the expanded rows where key of the map is the data key of the row.
|
|
1267
1269
|
* @group Props
|
|
1268
1270
|
*/
|
|
1271
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1269
1272
|
expandedRowKeysInput = input({}, { ...(ngDevMode ? { debugName: "expandedRowKeysInput" } : /* istanbul ignore next */ {}), alias: 'expandedRowKeys' });
|
|
1270
1273
|
expandedRowKeys = {};
|
|
1271
1274
|
/**
|
|
1272
1275
|
* Map instance to keep the rows being edited where key of the map is the data key of the row.
|
|
1273
1276
|
* @group Props
|
|
1274
1277
|
*/
|
|
1278
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1275
1279
|
editingRowKeysInput = input({}, { ...(ngDevMode ? { debugName: "editingRowKeysInput" } : /* istanbul ignore next */ {}), alias: 'editingRowKeys' });
|
|
1276
1280
|
_editingRowKeys = signal({}, /* @ts-ignore */
|
|
1277
1281
|
...(ngDevMode ? [{ debugName: "_editingRowKeys" }] : /* istanbul ignore next */ []));
|
|
@@ -1388,6 +1392,7 @@ class Table extends BaseComponent {
|
|
|
1388
1392
|
* Export function.
|
|
1389
1393
|
* @group Props
|
|
1390
1394
|
*/
|
|
1395
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
1391
1396
|
exportFunction = input(/* @ts-ignore */
|
|
1392
1397
|
...(ngDevMode ? [undefined, { debugName: "exportFunction" }] : /* istanbul ignore next */ []));
|
|
1393
1398
|
/**
|
|
@@ -1451,11 +1456,13 @@ class Table extends BaseComponent {
|
|
|
1451
1456
|
* An array of objects to display.
|
|
1452
1457
|
* @group Props
|
|
1453
1458
|
*/
|
|
1459
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1454
1460
|
valueInput = input(undefined, { ...(ngDevMode ? { debugName: "valueInput" } : /* istanbul ignore next */ {}), alias: 'value' });
|
|
1455
1461
|
/**
|
|
1456
1462
|
* An array of objects to represent dynamic columns.
|
|
1457
1463
|
* @group Props
|
|
1458
1464
|
*/
|
|
1465
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1459
1466
|
columnsInput = input(undefined, { ...(ngDevMode ? { debugName: "columnsInput" } : /* istanbul ignore next */ {}), alias: 'columns' });
|
|
1460
1467
|
/**
|
|
1461
1468
|
* Index of the first row to be displayed.
|
|
@@ -1479,16 +1486,19 @@ class Table extends BaseComponent {
|
|
|
1479
1486
|
* Name of the field to sort data by default.
|
|
1480
1487
|
* @group Props
|
|
1481
1488
|
*/
|
|
1489
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1482
1490
|
sortFieldInput = input(undefined, { ...(ngDevMode ? { debugName: "sortFieldInput" } : /* istanbul ignore next */ {}), alias: 'sortField' });
|
|
1483
1491
|
/**
|
|
1484
1492
|
* Order to sort when default sorting is enabled.
|
|
1485
1493
|
* @group Props
|
|
1486
1494
|
*/
|
|
1495
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1487
1496
|
sortOrderInput = input(1, { ...(ngDevMode ? { debugName: "sortOrderInput" } : /* istanbul ignore next */ {}), alias: 'sortOrder' });
|
|
1488
1497
|
/**
|
|
1489
1498
|
* An array of SortMeta objects to sort the data by default in multiple sort mode.
|
|
1490
1499
|
* @group Props
|
|
1491
1500
|
*/
|
|
1501
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1492
1502
|
multiSortMetaInput = input(undefined, { ...(ngDevMode ? { debugName: "multiSortMetaInput" } : /* istanbul ignore next */ {}), alias: 'multiSortMeta' });
|
|
1493
1503
|
/**
|
|
1494
1504
|
* Selected row in single mode or an array of values in multiple mode.
|
|
@@ -1500,6 +1510,7 @@ class Table extends BaseComponent {
|
|
|
1500
1510
|
* Whether all data is selected.
|
|
1501
1511
|
* @group Props
|
|
1502
1512
|
*/
|
|
1513
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1503
1514
|
selectAllInput = input(null, { ...(ngDevMode ? { debugName: "selectAllInput" } : /* istanbul ignore next */ {}), alias: 'selectAll' });
|
|
1504
1515
|
/**
|
|
1505
1516
|
* Emits when the all of the items selected or unselected.
|
|
@@ -1777,14 +1788,11 @@ class Table extends BaseComponent {
|
|
|
1777
1788
|
const cols = this.columnsInput();
|
|
1778
1789
|
untracked(() => {
|
|
1779
1790
|
if (cols !== undefined) {
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
this.tableService.onColumnsChange(cols);
|
|
1783
|
-
}
|
|
1784
|
-
if (this.columns && this.isStateful() && this.reorderableColumns() && !this.columnOrderStateRestored) {
|
|
1791
|
+
this.columns = cols;
|
|
1792
|
+
if (this.isStateful() && this.reorderableColumns() && !this.columnOrderStateRestored) {
|
|
1785
1793
|
this.restoreColumnOrder();
|
|
1786
|
-
this.tableService.onColumnsChange(this.columns);
|
|
1787
1794
|
}
|
|
1795
|
+
this.tableService.onColumnsChange(this.columns);
|
|
1788
1796
|
}
|
|
1789
1797
|
});
|
|
1790
1798
|
});
|
|
@@ -1901,6 +1909,8 @@ class Table extends BaseComponent {
|
|
|
1901
1909
|
this.editingRowKeys = val ?? {};
|
|
1902
1910
|
});
|
|
1903
1911
|
}
|
|
1912
|
+
_initialColWidths;
|
|
1913
|
+
_defaultRows;
|
|
1904
1914
|
onAfterViewChecked() {
|
|
1905
1915
|
this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
|
|
1906
1916
|
}
|
|
@@ -1925,8 +1935,6 @@ class Table extends BaseComponent {
|
|
|
1925
1935
|
get processedData() {
|
|
1926
1936
|
return this.filteredValue || this.value || [];
|
|
1927
1937
|
}
|
|
1928
|
-
_initialColWidths;
|
|
1929
|
-
_defaultRows;
|
|
1930
1938
|
dataToRender(data) {
|
|
1931
1939
|
const _data = data || this.processedData;
|
|
1932
1940
|
if (_data && this.paginator()) {
|
|
@@ -2096,9 +2104,7 @@ class Table extends BaseComponent {
|
|
|
2096
2104
|
});
|
|
2097
2105
|
}
|
|
2098
2106
|
else {
|
|
2099
|
-
this.value.sort((data1, data2) =>
|
|
2100
|
-
return this.multisortField(data1, data2, this.multiSortMeta, 0);
|
|
2101
|
-
});
|
|
2107
|
+
this.value.sort((data1, data2) => this.multisortField(data1, data2, this.multiSortMeta, 0));
|
|
2102
2108
|
this.value = [...this.value];
|
|
2103
2109
|
}
|
|
2104
2110
|
if (this.hasFilter()) {
|
|
@@ -2288,13 +2294,13 @@ class Table extends BaseComponent {
|
|
|
2288
2294
|
}
|
|
2289
2295
|
this.rowTouched = false;
|
|
2290
2296
|
}
|
|
2297
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2291
2298
|
handleRowTouchEnd(event) {
|
|
2292
2299
|
this.rowTouched = true;
|
|
2293
2300
|
}
|
|
2294
2301
|
handleRowRightClick(event) {
|
|
2295
2302
|
if (this.contextMenu()) {
|
|
2296
2303
|
const rowData = event.rowData;
|
|
2297
|
-
const rowIndex = event.rowIndex;
|
|
2298
2304
|
const showContextMenu = () => {
|
|
2299
2305
|
this.contextMenu().show(event.originalEvent);
|
|
2300
2306
|
this.contextMenu().hideCallback = () => {
|
|
@@ -2591,7 +2597,7 @@ class Table extends BaseComponent {
|
|
|
2591
2597
|
if (!this.hasFilter()) {
|
|
2592
2598
|
this.filteredValue = null;
|
|
2593
2599
|
if (this.paginator()) {
|
|
2594
|
-
this.totalRecords.set(this.
|
|
2600
|
+
this.totalRecords.set(this.value ? this.value.length : 0);
|
|
2595
2601
|
}
|
|
2596
2602
|
}
|
|
2597
2603
|
else {
|
|
@@ -2608,7 +2614,7 @@ class Table extends BaseComponent {
|
|
|
2608
2614
|
let globalMatch = false;
|
|
2609
2615
|
let localFiltered = false;
|
|
2610
2616
|
for (let prop in this.filters) {
|
|
2611
|
-
if (
|
|
2617
|
+
if (Object.prototype.hasOwnProperty.call(this.filters, prop) && prop !== 'global') {
|
|
2612
2618
|
localFiltered = true;
|
|
2613
2619
|
let filterField = prop;
|
|
2614
2620
|
let filterMeta = this.filters[filterField];
|
|
@@ -2652,7 +2658,7 @@ class Table extends BaseComponent {
|
|
|
2652
2658
|
this.filteredValue = null;
|
|
2653
2659
|
}
|
|
2654
2660
|
if (this.paginator()) {
|
|
2655
|
-
this.totalRecords.set(this.filteredValue ? this.filteredValue.length : this.
|
|
2661
|
+
this.totalRecords.set(this.filteredValue ? this.filteredValue.length : this.value ? this.value.length : 0);
|
|
2656
2662
|
}
|
|
2657
2663
|
}
|
|
2658
2664
|
}
|
|
@@ -2682,7 +2688,7 @@ class Table extends BaseComponent {
|
|
|
2682
2688
|
hasFilter() {
|
|
2683
2689
|
let empty = true;
|
|
2684
2690
|
for (let prop in this.filters) {
|
|
2685
|
-
if (
|
|
2691
|
+
if (Object.prototype.hasOwnProperty.call(this.filters, prop)) {
|
|
2686
2692
|
empty = false;
|
|
2687
2693
|
break;
|
|
2688
2694
|
}
|
|
@@ -2717,7 +2723,7 @@ class Table extends BaseComponent {
|
|
|
2717
2723
|
this.onLazyLoad.emit(this.createLazyLoadMetadata());
|
|
2718
2724
|
}
|
|
2719
2725
|
else {
|
|
2720
|
-
this.totalRecords.set(this.
|
|
2726
|
+
this.totalRecords.set(this.value ? this.value.length : 0);
|
|
2721
2727
|
}
|
|
2722
2728
|
// Notify subscribers (e.g. ColumnFilter) so the filter icon resets when clearing externally
|
|
2723
2729
|
this.tableService.onValueChange(this.value);
|
|
@@ -2863,7 +2869,9 @@ class Table extends BaseComponent {
|
|
|
2863
2869
|
if (!this.documentEditListener) {
|
|
2864
2870
|
this.documentEditListener = this.renderer.listen(this.document, 'click', (event) => {
|
|
2865
2871
|
if (this.editingCell && !this.selfClick && this.isEditingCellValid()) {
|
|
2866
|
-
!this.$unstyled()
|
|
2872
|
+
if (!this.$unstyled()) {
|
|
2873
|
+
DomHandler.removeClass(this.editingCell, 'p-cell-editing');
|
|
2874
|
+
}
|
|
2867
2875
|
setAttribute(this.editingCell, 'data-p-cell-editing', 'false');
|
|
2868
2876
|
this.editingCell = null;
|
|
2869
2877
|
this.onEditComplete.emit({
|
|
@@ -2898,13 +2906,15 @@ class Table extends BaseComponent {
|
|
|
2898
2906
|
saveRowEdit(rowData, rowElement) {
|
|
2899
2907
|
if (DomHandler.find(rowElement, '.ng-invalid.ng-dirty').length === 0) {
|
|
2900
2908
|
let dataKeyValue = String(ObjectUtils.resolveFieldData(rowData, this.dataKey()));
|
|
2901
|
-
const
|
|
2909
|
+
const rest = { ...this.editingRowKeys };
|
|
2910
|
+
delete rest[dataKeyValue];
|
|
2902
2911
|
this.editingRowKeys = rest;
|
|
2903
2912
|
}
|
|
2904
2913
|
}
|
|
2905
2914
|
cancelRowEdit(rowData) {
|
|
2906
2915
|
let dataKeyValue = String(ObjectUtils.resolveFieldData(rowData, this.dataKey()));
|
|
2907
|
-
const
|
|
2916
|
+
const rest = { ...this.editingRowKeys };
|
|
2917
|
+
delete rest[dataKeyValue];
|
|
2908
2918
|
this.editingRowKeys = rest;
|
|
2909
2919
|
}
|
|
2910
2920
|
toggleRow(rowData, event) {
|
|
@@ -2963,7 +2973,9 @@ class Table extends BaseComponent {
|
|
|
2963
2973
|
}
|
|
2964
2974
|
onColumnResize(event) {
|
|
2965
2975
|
let containerLeft = DomHandler.getOffset(this.el?.nativeElement).left;
|
|
2966
|
-
!this.$unstyled()
|
|
2976
|
+
if (!this.$unstyled()) {
|
|
2977
|
+
DomHandler.addClass(this.el?.nativeElement, 'p-unselectable-text');
|
|
2978
|
+
}
|
|
2967
2979
|
this.resizeHelperViewChild().nativeElement.style.height = this.el?.nativeElement.offsetHeight + 'px';
|
|
2968
2980
|
this.resizeHelperViewChild().nativeElement.style.top = 0 + 'px';
|
|
2969
2981
|
if (event.type == 'touchmove') {
|
|
@@ -3060,6 +3072,7 @@ class Table extends BaseComponent {
|
|
|
3060
3072
|
this.reorderIndicatorDownViewChild().nativeElement.style.display = 'none';
|
|
3061
3073
|
}
|
|
3062
3074
|
}
|
|
3075
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3063
3076
|
onColumnDragEnd(event) {
|
|
3064
3077
|
if (this.reorderableColumns() && this.draggedColumn) {
|
|
3065
3078
|
this.reorderIndicatorUpViewChild().nativeElement.style.display = 'none';
|
|
@@ -3147,27 +3160,38 @@ class Table extends BaseComponent {
|
|
|
3147
3160
|
this.droppedRowIndex = index;
|
|
3148
3161
|
if (prevRowElement && !this.$unstyled())
|
|
3149
3162
|
DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3150
|
-
else
|
|
3151
|
-
|
|
3163
|
+
else if (!this.$unstyled()) {
|
|
3164
|
+
DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3165
|
+
}
|
|
3152
3166
|
}
|
|
3153
3167
|
else {
|
|
3154
3168
|
if (prevRowElement && !this.$unstyled())
|
|
3155
3169
|
DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3156
|
-
else
|
|
3157
|
-
|
|
3170
|
+
else if (!this.$unstyled()) {
|
|
3171
|
+
DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3172
|
+
}
|
|
3158
3173
|
this.droppedRowIndex = index + 1;
|
|
3159
|
-
!this.$unstyled()
|
|
3174
|
+
if (!this.$unstyled()) {
|
|
3175
|
+
DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3176
|
+
}
|
|
3160
3177
|
}
|
|
3161
3178
|
}
|
|
3162
3179
|
}
|
|
3163
3180
|
onRowDragLeave(event, rowElement) {
|
|
3164
3181
|
let prevRowElement = rowElement.previousElementSibling;
|
|
3165
3182
|
if (prevRowElement) {
|
|
3166
|
-
!this.$unstyled()
|
|
3183
|
+
if (!this.$unstyled()) {
|
|
3184
|
+
DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
|
|
3185
|
+
}
|
|
3186
|
+
}
|
|
3187
|
+
if (!this.$unstyled()) {
|
|
3188
|
+
DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3189
|
+
}
|
|
3190
|
+
if (!this.$unstyled()) {
|
|
3191
|
+
DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3167
3192
|
}
|
|
3168
|
-
!this.$unstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
|
|
3169
|
-
!this.$unstyled() && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
|
|
3170
3193
|
}
|
|
3194
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3171
3195
|
onRowDragEnd(event) {
|
|
3172
3196
|
this.rowDragging = false;
|
|
3173
3197
|
this.draggedRowIndex = null;
|
|
@@ -3289,7 +3313,7 @@ class Table extends BaseComponent {
|
|
|
3289
3313
|
this.restoringFilter = true;
|
|
3290
3314
|
// When restoring with given value, set applyFilter true to fill the filter icon
|
|
3291
3315
|
for (const key in state.filters) {
|
|
3292
|
-
if (
|
|
3316
|
+
if (Object.prototype.hasOwnProperty.call(state.filters, key) && (state.filters[key]['value'] || state.filters[key][0]['value'])) {
|
|
3293
3317
|
if (Array.isArray(state.filters[key])) {
|
|
3294
3318
|
state.filters[key][0]['applyFilter'] = true;
|
|
3295
3319
|
}
|
|
@@ -3432,8 +3456,8 @@ class Table extends BaseComponent {
|
|
|
3432
3456
|
empty: this.isEmpty()
|
|
3433
3457
|
});
|
|
3434
3458
|
}
|
|
3435
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
3436
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: Table, isStandalone: true, selector: "p-table", inputs: { frozenColumns: { classPropertyName: "frozenColumns", publicName: "frozenColumns", isSignal: true, isRequired: false, transformFunction: null }, frozenValue: { classPropertyName: "frozenValue", publicName: "frozenValue", isSignal: true, isRequired: false, transformFunction: null }, tableStyle: { classPropertyName: "tableStyle", publicName: "tableStyle", isSignal: true, isRequired: false, transformFunction: null }, tableStyleClass: { classPropertyName: "tableStyleClass", publicName: "tableStyleClass", isSignal: true, isRequired: false, transformFunction: null }, paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, alwaysShowPaginator: { classPropertyName: "alwaysShowPaginator", publicName: "alwaysShowPaginator", isSignal: true, isRequired: false, transformFunction: null }, paginatorPosition: { classPropertyName: "paginatorPosition", publicName: "paginatorPosition", isSignal: true, isRequired: false, transformFunction: null }, paginatorStyleClass: { classPropertyName: "paginatorStyleClass", publicName: "paginatorStyleClass", isSignal: true, isRequired: false, transformFunction: null }, paginatorDropdownAppendTo: { classPropertyName: "paginatorDropdownAppendTo", publicName: "paginatorDropdownAppendTo", isSignal: true, isRequired: false, transformFunction: null }, paginatorDropdownScrollHeight: { classPropertyName: "paginatorDropdownScrollHeight", publicName: "paginatorDropdownScrollHeight", isSignal: true, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, showJumpToPageDropdown: { classPropertyName: "showJumpToPageDropdown", publicName: "showJumpToPageDropdown", isSignal: true, isRequired: false, transformFunction: null }, showJumpToPageInput: { classPropertyName: "showJumpToPageInput", publicName: "showJumpToPageInput", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: true, isRequired: false, transformFunction: null }, defaultSortOrder: { classPropertyName: "defaultSortOrder", publicName: "defaultSortOrder", isSignal: true, isRequired: false, transformFunction: null }, sortMode: { classPropertyName: "sortMode", publicName: "sortMode", isSignal: true, isRequired: false, transformFunction: null }, resetPageOnSort: { classPropertyName: "resetPageOnSort", publicName: "resetPageOnSort", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectionPageOnly: { classPropertyName: "selectionPageOnly", publicName: "selectionPageOnly", isSignal: true, isRequired: false, transformFunction: null }, contextMenuSelectionInput: { classPropertyName: "contextMenuSelectionInput", publicName: "contextMenuSelection", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: true, isRequired: false, transformFunction: null }, rowSelectable: { classPropertyName: "rowSelectable", publicName: "rowSelectable", isSignal: true, isRequired: false, transformFunction: null }, rowTrackBy: { classPropertyName: "rowTrackBy", publicName: "rowTrackBy", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, lazyLoadOnInit: { classPropertyName: "lazyLoadOnInit", publicName: "lazyLoadOnInit", isSignal: true, isRequired: false, transformFunction: null }, compareSelectionBy: { classPropertyName: "compareSelectionBy", publicName: "compareSelectionBy", isSignal: true, isRequired: false, transformFunction: null }, csvSeparator: { classPropertyName: "csvSeparator", publicName: "csvSeparator", isSignal: true, isRequired: false, transformFunction: null }, exportFilename: { classPropertyName: "exportFilename", publicName: "exportFilename", isSignal: true, isRequired: false, transformFunction: null }, filtersInput: { classPropertyName: "filtersInput", publicName: "filters", isSignal: true, isRequired: false, transformFunction: null }, globalFilterFields: { classPropertyName: "globalFilterFields", publicName: "globalFilterFields", isSignal: true, isRequired: false, transformFunction: null }, filterDelay: { classPropertyName: "filterDelay", publicName: "filterDelay", isSignal: true, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: true, isRequired: false, transformFunction: null }, expandedRowKeysInput: { classPropertyName: "expandedRowKeysInput", publicName: "expandedRowKeys", isSignal: true, isRequired: false, transformFunction: null }, editingRowKeysInput: { classPropertyName: "editingRowKeysInput", publicName: "editingRowKeys", isSignal: true, isRequired: false, transformFunction: null }, rowExpandMode: { classPropertyName: "rowExpandMode", publicName: "rowExpandMode", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, rowGroupMode: { classPropertyName: "rowGroupMode", publicName: "rowGroupMode", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollDelay: { classPropertyName: "virtualScrollDelay", publicName: "virtualScrollDelay", isSignal: true, isRequired: false, transformFunction: null }, frozenWidth: { classPropertyName: "frozenWidth", publicName: "frozenWidth", isSignal: true, isRequired: false, transformFunction: null }, contextMenu: { classPropertyName: "contextMenu", publicName: "contextMenu", isSignal: true, isRequired: false, transformFunction: null }, resizableColumns: { classPropertyName: "resizableColumns", publicName: "resizableColumns", isSignal: true, isRequired: false, transformFunction: null }, columnResizeMode: { classPropertyName: "columnResizeMode", publicName: "columnResizeMode", isSignal: true, isRequired: false, transformFunction: null }, reorderableColumns: { classPropertyName: "reorderableColumns", publicName: "reorderableColumns", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: true, isRequired: false, transformFunction: null }, showLoader: { classPropertyName: "showLoader", publicName: "showLoader", isSignal: true, isRequired: false, transformFunction: null }, rowHover: { classPropertyName: "rowHover", publicName: "rowHover", isSignal: true, isRequired: false, transformFunction: null }, customSort: { classPropertyName: "customSort", publicName: "customSort", isSignal: true, isRequired: false, transformFunction: null }, showInitialSortBadge: { classPropertyName: "showInitialSortBadge", publicName: "showInitialSortBadge", isSignal: true, isRequired: false, transformFunction: null }, exportFunction: { classPropertyName: "exportFunction", publicName: "exportFunction", isSignal: true, isRequired: false, transformFunction: null }, exportHeader: { classPropertyName: "exportHeader", publicName: "exportHeader", isSignal: true, isRequired: false, transformFunction: null }, stateKey: { classPropertyName: "stateKey", publicName: "stateKey", isSignal: true, isRequired: false, transformFunction: null }, stateStorage: { classPropertyName: "stateStorage", publicName: "stateStorage", isSignal: true, isRequired: false, transformFunction: null }, editMode: { classPropertyName: "editMode", publicName: "editMode", isSignal: true, isRequired: false, transformFunction: null }, groupRowsBy: { classPropertyName: "groupRowsBy", publicName: "groupRowsBy", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showGridlines: { classPropertyName: "showGridlines", publicName: "showGridlines", isSignal: true, isRequired: false, transformFunction: null }, stripedRows: { classPropertyName: "stripedRows", publicName: "stripedRows", isSignal: true, isRequired: false, transformFunction: null }, groupRowsByOrder: { classPropertyName: "groupRowsByOrder", publicName: "groupRowsByOrder", isSignal: true, isRequired: false, transformFunction: null }, paginatorLocale: { classPropertyName: "paginatorLocale", publicName: "paginatorLocale", isSignal: true, isRequired: false, transformFunction: null }, valueInput: { classPropertyName: "valueInput", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, columnsInput: { classPropertyName: "columnsInput", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, sortFieldInput: { classPropertyName: "sortFieldInput", publicName: "sortField", isSignal: true, isRequired: false, transformFunction: null }, sortOrderInput: { classPropertyName: "sortOrderInput", publicName: "sortOrder", isSignal: true, isRequired: false, transformFunction: null }, multiSortMetaInput: { classPropertyName: "multiSortMetaInput", publicName: "multiSortMeta", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, selectAllInput: { classPropertyName: "selectAllInput", publicName: "selectAll", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { contextMenuSelectionChange: "contextMenuSelectionChange", first: "firstChange", rows: "rowsChange", totalRecords: "totalRecordsChange", selection: "selectionChange", selectAllChange: "selectAllChange", onRowSelect: "onRowSelect", onRowUnselect: "onRowUnselect", onPage: "onPage", onSort: "onSort", onFilter: "onFilter", onLazyLoad: "onLazyLoad", onRowExpand: "onRowExpand", onRowCollapse: "onRowCollapse", onContextMenuSelect: "onContextMenuSelect", onColResize: "onColResize", onColReorder: "onColReorder", onRowReorder: "onRowReorder", onEditInit: "onEditInit", onEditComplete: "onEditComplete", onEditCancel: "onEditCancel", onHeaderCheckboxToggle: "onHeaderCheckboxToggle", sortFunction: "sortFunction", onStateSave: "onStateSave", onStateRestore: "onStateRestore" }, host: { properties: { "class": "cx('root')", "attr.data-p": "dataP" } }, providers: [TableService, TableStyle, { provide: TABLE_INSTANCE, useExisting: Table }, { provide: PARENT_INSTANCE, useExisting: Table }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "headerGroupedTemplate", first: true, predicate: ["headergrouped"], isSignal: true }, { propertyName: "bodyTemplate", first: true, predicate: ["body"], isSignal: true }, { propertyName: "loadingBodyTemplate", first: true, predicate: ["loadingbody"], isSignal: true }, { propertyName: "captionTemplate", first: true, predicate: ["caption"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "footerGroupedTemplate", first: true, predicate: ["footergrouped"], isSignal: true }, { propertyName: "summaryTemplate", first: true, predicate: ["summary"], isSignal: true }, { propertyName: "colGroupTemplate", first: true, predicate: ["colgroup"], isSignal: true }, { propertyName: "expandedRowTemplate", first: true, predicate: ["expandedrow"], isSignal: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: ["groupheader"], isSignal: true }, { propertyName: "groupFooterTemplate", first: true, predicate: ["groupfooter"], isSignal: true }, { propertyName: "frozenExpandedRowTemplate", first: true, predicate: ["frozenexpandedrow"], isSignal: true }, { propertyName: "frozenHeaderTemplate", first: true, predicate: ["frozenheader"], isSignal: true }, { propertyName: "frozenBodyTemplate", first: true, predicate: ["frozenbody"], isSignal: true }, { propertyName: "frozenFooterTemplate", first: true, predicate: ["frozenfooter"], isSignal: true }, { propertyName: "frozenColGroupTemplate", first: true, predicate: ["frozencolgroup"], isSignal: true }, { propertyName: "emptyMessageTemplate", first: true, predicate: ["emptymessage"], isSignal: true }, { propertyName: "paginatorLeftTemplate", first: true, predicate: ["paginatorleft"], isSignal: true }, { propertyName: "paginatorRightTemplate", first: true, predicate: ["paginatorright"], isSignal: true }, { propertyName: "paginatorDropdownItemTemplate", first: true, predicate: ["paginatordropdownitem"], isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], isSignal: true }, { propertyName: "reorderIndicatorUpIconTemplate", first: true, predicate: ["reorderindicatorupicon"], isSignal: true }, { propertyName: "reorderIndicatorDownIconTemplate", first: true, predicate: ["reorderindicatordownicon"], isSignal: true }, { propertyName: "sortIconTemplate", first: true, predicate: ["sorticon"], isSignal: true }, { propertyName: "checkboxIconTemplate", first: true, predicate: ["checkboxicon"], isSignal: true }, { propertyName: "headerCheckboxIconTemplate", first: true, predicate: ["headercheckboxicon"], isSignal: true }, { propertyName: "paginatorDropdownIconTemplate", first: true, predicate: ["paginatordropdownicon"], isSignal: true }, { propertyName: "paginatorFirstPageLinkIconTemplate", first: true, predicate: ["paginatorfirstpagelinkicon"], isSignal: true }, { propertyName: "paginatorLastPageLinkIconTemplate", first: true, predicate: ["paginatorlastpagelinkicon"], isSignal: true }, { propertyName: "paginatorPreviousPageLinkIconTemplate", first: true, predicate: ["paginatorpreviouspagelinkicon"], isSignal: true }, { propertyName: "paginatorNextPageLinkIconTemplate", first: true, predicate: ["paginatornextpagelinkicon"], isSignal: true }], viewQueries: [{ propertyName: "resizeHelperViewChild", first: true, predicate: ["resizeHelper"], descendants: true, isSignal: true }, { propertyName: "reorderIndicatorUpViewChild", first: true, predicate: ["reorderIndicatorUp"], descendants: true, isSignal: true }, { propertyName: "reorderIndicatorDownViewChild", first: true, predicate: ["reorderIndicatorDown"], descendants: true, isSignal: true }, { propertyName: "wrapperViewChild", first: true, predicate: ["wrapper"], descendants: true, isSignal: true }, { propertyName: "tableViewChild", first: true, predicate: ["table"], descendants: true, isSignal: true }, { propertyName: "tableHeaderViewChild", first: true, predicate: ["thead"], descendants: true, isSignal: true }, { propertyName: "tableFooterViewChild", first: true, predicate: ["tfoot"], descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
3459
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: Table, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3460
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: Table, isStandalone: true, selector: "p-table", inputs: { frozenColumns: { classPropertyName: "frozenColumns", publicName: "frozenColumns", isSignal: true, isRequired: false, transformFunction: null }, frozenValue: { classPropertyName: "frozenValue", publicName: "frozenValue", isSignal: true, isRequired: false, transformFunction: null }, tableStyle: { classPropertyName: "tableStyle", publicName: "tableStyle", isSignal: true, isRequired: false, transformFunction: null }, tableStyleClass: { classPropertyName: "tableStyleClass", publicName: "tableStyleClass", isSignal: true, isRequired: false, transformFunction: null }, paginator: { classPropertyName: "paginator", publicName: "paginator", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, alwaysShowPaginator: { classPropertyName: "alwaysShowPaginator", publicName: "alwaysShowPaginator", isSignal: true, isRequired: false, transformFunction: null }, paginatorPosition: { classPropertyName: "paginatorPosition", publicName: "paginatorPosition", isSignal: true, isRequired: false, transformFunction: null }, paginatorStyleClass: { classPropertyName: "paginatorStyleClass", publicName: "paginatorStyleClass", isSignal: true, isRequired: false, transformFunction: null }, paginatorDropdownAppendTo: { classPropertyName: "paginatorDropdownAppendTo", publicName: "paginatorDropdownAppendTo", isSignal: true, isRequired: false, transformFunction: null }, paginatorDropdownScrollHeight: { classPropertyName: "paginatorDropdownScrollHeight", publicName: "paginatorDropdownScrollHeight", isSignal: true, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, showJumpToPageDropdown: { classPropertyName: "showJumpToPageDropdown", publicName: "showJumpToPageDropdown", isSignal: true, isRequired: false, transformFunction: null }, showJumpToPageInput: { classPropertyName: "showJumpToPageInput", publicName: "showJumpToPageInput", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: true, isRequired: false, transformFunction: null }, defaultSortOrder: { classPropertyName: "defaultSortOrder", publicName: "defaultSortOrder", isSignal: true, isRequired: false, transformFunction: null }, sortMode: { classPropertyName: "sortMode", publicName: "sortMode", isSignal: true, isRequired: false, transformFunction: null }, resetPageOnSort: { classPropertyName: "resetPageOnSort", publicName: "resetPageOnSort", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, selectionPageOnly: { classPropertyName: "selectionPageOnly", publicName: "selectionPageOnly", isSignal: true, isRequired: false, transformFunction: null }, contextMenuSelectionInput: { classPropertyName: "contextMenuSelectionInput", publicName: "contextMenuSelection", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: true, isRequired: false, transformFunction: null }, rowSelectable: { classPropertyName: "rowSelectable", publicName: "rowSelectable", isSignal: true, isRequired: false, transformFunction: null }, rowTrackBy: { classPropertyName: "rowTrackBy", publicName: "rowTrackBy", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, lazyLoadOnInit: { classPropertyName: "lazyLoadOnInit", publicName: "lazyLoadOnInit", isSignal: true, isRequired: false, transformFunction: null }, compareSelectionBy: { classPropertyName: "compareSelectionBy", publicName: "compareSelectionBy", isSignal: true, isRequired: false, transformFunction: null }, csvSeparator: { classPropertyName: "csvSeparator", publicName: "csvSeparator", isSignal: true, isRequired: false, transformFunction: null }, exportFilename: { classPropertyName: "exportFilename", publicName: "exportFilename", isSignal: true, isRequired: false, transformFunction: null }, filtersInput: { classPropertyName: "filtersInput", publicName: "filters", isSignal: true, isRequired: false, transformFunction: null }, globalFilterFields: { classPropertyName: "globalFilterFields", publicName: "globalFilterFields", isSignal: true, isRequired: false, transformFunction: null }, filterDelay: { classPropertyName: "filterDelay", publicName: "filterDelay", isSignal: true, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: true, isRequired: false, transformFunction: null }, expandedRowKeysInput: { classPropertyName: "expandedRowKeysInput", publicName: "expandedRowKeys", isSignal: true, isRequired: false, transformFunction: null }, editingRowKeysInput: { classPropertyName: "editingRowKeysInput", publicName: "editingRowKeys", isSignal: true, isRequired: false, transformFunction: null }, rowExpandMode: { classPropertyName: "rowExpandMode", publicName: "rowExpandMode", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, rowGroupMode: { classPropertyName: "rowGroupMode", publicName: "rowGroupMode", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: true, isRequired: false, transformFunction: null }, virtualScrollDelay: { classPropertyName: "virtualScrollDelay", publicName: "virtualScrollDelay", isSignal: true, isRequired: false, transformFunction: null }, frozenWidth: { classPropertyName: "frozenWidth", publicName: "frozenWidth", isSignal: true, isRequired: false, transformFunction: null }, contextMenu: { classPropertyName: "contextMenu", publicName: "contextMenu", isSignal: true, isRequired: false, transformFunction: null }, resizableColumns: { classPropertyName: "resizableColumns", publicName: "resizableColumns", isSignal: true, isRequired: false, transformFunction: null }, columnResizeMode: { classPropertyName: "columnResizeMode", publicName: "columnResizeMode", isSignal: true, isRequired: false, transformFunction: null }, reorderableColumns: { classPropertyName: "reorderableColumns", publicName: "reorderableColumns", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: true, isRequired: false, transformFunction: null }, showLoader: { classPropertyName: "showLoader", publicName: "showLoader", isSignal: true, isRequired: false, transformFunction: null }, rowHover: { classPropertyName: "rowHover", publicName: "rowHover", isSignal: true, isRequired: false, transformFunction: null }, customSort: { classPropertyName: "customSort", publicName: "customSort", isSignal: true, isRequired: false, transformFunction: null }, showInitialSortBadge: { classPropertyName: "showInitialSortBadge", publicName: "showInitialSortBadge", isSignal: true, isRequired: false, transformFunction: null }, exportFunction: { classPropertyName: "exportFunction", publicName: "exportFunction", isSignal: true, isRequired: false, transformFunction: null }, exportHeader: { classPropertyName: "exportHeader", publicName: "exportHeader", isSignal: true, isRequired: false, transformFunction: null }, stateKey: { classPropertyName: "stateKey", publicName: "stateKey", isSignal: true, isRequired: false, transformFunction: null }, stateStorage: { classPropertyName: "stateStorage", publicName: "stateStorage", isSignal: true, isRequired: false, transformFunction: null }, editMode: { classPropertyName: "editMode", publicName: "editMode", isSignal: true, isRequired: false, transformFunction: null }, groupRowsBy: { classPropertyName: "groupRowsBy", publicName: "groupRowsBy", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, showGridlines: { classPropertyName: "showGridlines", publicName: "showGridlines", isSignal: true, isRequired: false, transformFunction: null }, stripedRows: { classPropertyName: "stripedRows", publicName: "stripedRows", isSignal: true, isRequired: false, transformFunction: null }, groupRowsByOrder: { classPropertyName: "groupRowsByOrder", publicName: "groupRowsByOrder", isSignal: true, isRequired: false, transformFunction: null }, paginatorLocale: { classPropertyName: "paginatorLocale", publicName: "paginatorLocale", isSignal: true, isRequired: false, transformFunction: null }, valueInput: { classPropertyName: "valueInput", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, columnsInput: { classPropertyName: "columnsInput", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, sortFieldInput: { classPropertyName: "sortFieldInput", publicName: "sortField", isSignal: true, isRequired: false, transformFunction: null }, sortOrderInput: { classPropertyName: "sortOrderInput", publicName: "sortOrder", isSignal: true, isRequired: false, transformFunction: null }, multiSortMetaInput: { classPropertyName: "multiSortMetaInput", publicName: "multiSortMeta", isSignal: true, isRequired: false, transformFunction: null }, selection: { classPropertyName: "selection", publicName: "selection", isSignal: true, isRequired: false, transformFunction: null }, selectAllInput: { classPropertyName: "selectAllInput", publicName: "selectAll", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { contextMenuSelectionChange: "contextMenuSelectionChange", first: "firstChange", rows: "rowsChange", totalRecords: "totalRecordsChange", selection: "selectionChange", selectAllChange: "selectAllChange", onRowSelect: "onRowSelect", onRowUnselect: "onRowUnselect", onPage: "onPage", onSort: "onSort", onFilter: "onFilter", onLazyLoad: "onLazyLoad", onRowExpand: "onRowExpand", onRowCollapse: "onRowCollapse", onContextMenuSelect: "onContextMenuSelect", onColResize: "onColResize", onColReorder: "onColReorder", onRowReorder: "onRowReorder", onEditInit: "onEditInit", onEditComplete: "onEditComplete", onEditCancel: "onEditCancel", onHeaderCheckboxToggle: "onHeaderCheckboxToggle", sortFunction: "sortFunction", onStateSave: "onStateSave", onStateRestore: "onStateRestore" }, host: { properties: { "class": "cx('root')", "attr.data-p": "dataP" } }, providers: [TableService, TableStyle, { provide: TABLE_INSTANCE, useExisting: Table }, { provide: PARENT_INSTANCE, useExisting: Table }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "headerGroupedTemplate", first: true, predicate: ["headergrouped"], isSignal: true }, { propertyName: "bodyTemplate", first: true, predicate: ["body"], isSignal: true }, { propertyName: "loadingBodyTemplate", first: true, predicate: ["loadingbody"], isSignal: true }, { propertyName: "captionTemplate", first: true, predicate: ["caption"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "footerGroupedTemplate", first: true, predicate: ["footergrouped"], isSignal: true }, { propertyName: "summaryTemplate", first: true, predicate: ["summary"], isSignal: true }, { propertyName: "colGroupTemplate", first: true, predicate: ["colgroup"], isSignal: true }, { propertyName: "expandedRowTemplate", first: true, predicate: ["expandedrow"], isSignal: true }, { propertyName: "groupHeaderTemplate", first: true, predicate: ["groupheader"], isSignal: true }, { propertyName: "groupFooterTemplate", first: true, predicate: ["groupfooter"], isSignal: true }, { propertyName: "frozenExpandedRowTemplate", first: true, predicate: ["frozenexpandedrow"], isSignal: true }, { propertyName: "frozenHeaderTemplate", first: true, predicate: ["frozenheader"], isSignal: true }, { propertyName: "frozenBodyTemplate", first: true, predicate: ["frozenbody"], isSignal: true }, { propertyName: "frozenFooterTemplate", first: true, predicate: ["frozenfooter"], isSignal: true }, { propertyName: "frozenColGroupTemplate", first: true, predicate: ["frozencolgroup"], isSignal: true }, { propertyName: "emptyMessageTemplate", first: true, predicate: ["emptymessage"], isSignal: true }, { propertyName: "paginatorLeftTemplate", first: true, predicate: ["paginatorleft"], isSignal: true }, { propertyName: "paginatorRightTemplate", first: true, predicate: ["paginatorright"], isSignal: true }, { propertyName: "paginatorDropdownItemTemplate", first: true, predicate: ["paginatordropdownitem"], isSignal: true }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"], isSignal: true }, { propertyName: "reorderIndicatorUpIconTemplate", first: true, predicate: ["reorderindicatorupicon"], isSignal: true }, { propertyName: "reorderIndicatorDownIconTemplate", first: true, predicate: ["reorderindicatordownicon"], isSignal: true }, { propertyName: "sortIconTemplate", first: true, predicate: ["sorticon"], isSignal: true }, { propertyName: "checkboxIconTemplate", first: true, predicate: ["checkboxicon"], isSignal: true }, { propertyName: "headerCheckboxIconTemplate", first: true, predicate: ["headercheckboxicon"], isSignal: true }, { propertyName: "paginatorDropdownIconTemplate", first: true, predicate: ["paginatordropdownicon"], isSignal: true }, { propertyName: "paginatorFirstPageLinkIconTemplate", first: true, predicate: ["paginatorfirstpagelinkicon"], isSignal: true }, { propertyName: "paginatorLastPageLinkIconTemplate", first: true, predicate: ["paginatorlastpagelinkicon"], isSignal: true }, { propertyName: "paginatorPreviousPageLinkIconTemplate", first: true, predicate: ["paginatorpreviouspagelinkicon"], isSignal: true }, { propertyName: "paginatorNextPageLinkIconTemplate", first: true, predicate: ["paginatornextpagelinkicon"], isSignal: true }], viewQueries: [{ propertyName: "resizeHelperViewChild", first: true, predicate: ["resizeHelper"], descendants: true, isSignal: true }, { propertyName: "reorderIndicatorUpViewChild", first: true, predicate: ["reorderIndicatorUp"], descendants: true, isSignal: true }, { propertyName: "reorderIndicatorDownViewChild", first: true, predicate: ["reorderIndicatorDown"], descendants: true, isSignal: true }, { propertyName: "wrapperViewChild", first: true, predicate: ["wrapper"], descendants: true, isSignal: true }, { propertyName: "tableViewChild", first: true, predicate: ["table"], descendants: true, isSignal: true }, { propertyName: "tableHeaderViewChild", first: true, predicate: ["thead"], descendants: true, isSignal: true }, { propertyName: "tableFooterViewChild", first: true, predicate: ["tfoot"], descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
3437
3461
|
@if (showLoadingMask()) {
|
|
3438
3462
|
<div [class]="cx('mask')" [pBind]="ptm('mask')" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active">
|
|
3439
3463
|
@if (loadingIcon()) {
|
|
@@ -3699,7 +3723,7 @@ class Table extends BaseComponent {
|
|
|
3699
3723
|
}
|
|
3700
3724
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: PaginatorModule }, { kind: "component", type: i2.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "alwaysShow", "templateLeft", "templateRight", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "first", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "appendTo"], outputs: ["rowsChange", "firstChange", "onPageChange"] }, { kind: "ngmodule", type: ScrollerModule }, { kind: "component", type: i3.Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller", inputs: ["hostName", "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"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "component", type: Spinner, selector: "svg[data-p-icon=\"spinner\"]" }, { kind: "component", type: ArrowDown, selector: "svg[data-p-icon=\"arrow-down\"]" }, { kind: "component", type: ArrowUp, selector: "svg[data-p-icon=\"arrow-up\"]" }, { kind: "component", type: TableBody, selector: "[pTableBody]", inputs: ["pTableBody", "pTableBodyTemplate", "value", "frozen", "frozenRows", "scrollerOptions"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
3701
3725
|
}
|
|
3702
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
3726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: Table, decorators: [{
|
|
3703
3727
|
type: Component,
|
|
3704
3728
|
args: [{
|
|
3705
3729
|
selector: 'p-table',
|
|
@@ -4064,10 +4088,10 @@ class FrozenColumn extends BaseComponent {
|
|
|
4064
4088
|
this.resizeObserver.disconnect();
|
|
4065
4089
|
}
|
|
4066
4090
|
}
|
|
4067
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4068
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4091
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FrozenColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4092
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: FrozenColumn, isStandalone: true, selector: "[pFrozenColumn]", inputs: { frozen: { classPropertyName: "frozen", publicName: "frozen", isSignal: true, isRequired: false, transformFunction: null }, alignFrozen: { classPropertyName: "alignFrozen", publicName: "alignFrozen", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "cx(\"frozenColumn\")" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4069
4093
|
}
|
|
4070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: FrozenColumn, decorators: [{
|
|
4071
4095
|
type: Directive,
|
|
4072
4096
|
args: [{
|
|
4073
4097
|
selector: '[pFrozenColumn]',
|
|
@@ -4085,10 +4109,10 @@ class EditableRow extends BaseComponent {
|
|
|
4085
4109
|
isEnabled() {
|
|
4086
4110
|
return this.pEditableRowDisabled() !== true;
|
|
4087
4111
|
}
|
|
4088
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4089
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: EditableRow, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4113
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: EditableRow, isStandalone: true, selector: "[pEditableRow]", inputs: { data: { classPropertyName: "data", publicName: "pEditableRow", isSignal: true, isRequired: false, transformFunction: null }, pEditableRowDisabled: { classPropertyName: "pEditableRowDisabled", publicName: "pEditableRowDisabled", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
4090
4114
|
}
|
|
4091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: EditableRow, decorators: [{
|
|
4092
4116
|
type: Directive,
|
|
4093
4117
|
args: [{
|
|
4094
4118
|
selector: '[pEditableRow]',
|
|
@@ -4097,24 +4121,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
4097
4121
|
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "pEditableRow", required: false }] }], pEditableRowDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "pEditableRowDisabled", required: false }] }] } });
|
|
4098
4122
|
|
|
4099
4123
|
class ReorderableRowHandle extends BaseComponent {
|
|
4100
|
-
el;
|
|
4101
4124
|
hostName = 'Table';
|
|
4102
4125
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
4126
|
+
_componentStyle = inject(TableStyle);
|
|
4127
|
+
el = inject(ElementRef);
|
|
4103
4128
|
onAfterViewChecked() {
|
|
4104
4129
|
this.bindDirectiveInstance.setAttrs(this.ptm('reorderableRowHandle'));
|
|
4105
4130
|
}
|
|
4106
|
-
_componentStyle = inject(TableStyle);
|
|
4107
|
-
constructor(el) {
|
|
4108
|
-
super();
|
|
4109
|
-
this.el = el;
|
|
4110
|
-
}
|
|
4111
4131
|
onAfterViewInit() {
|
|
4112
4132
|
// DomHandler.addClass(this.el.nativeElement, 'p-datatable-reorderable-row-handle');
|
|
4113
4133
|
}
|
|
4114
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4115
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.
|
|
4134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ReorderableRowHandle, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4135
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: ReorderableRowHandle, isStandalone: true, selector: "[pReorderableRowHandle]", host: { properties: { "class": "cx('reorderableRowHandle')" } }, providers: [TableStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
4116
4136
|
}
|
|
4117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ReorderableRowHandle, decorators: [{
|
|
4118
4138
|
type: Directive,
|
|
4119
4139
|
args: [{
|
|
4120
4140
|
selector: '[pReorderableRowHandle]',
|
|
@@ -4125,7 +4145,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
4125
4145
|
providers: [TableStyle],
|
|
4126
4146
|
hostDirectives: [Bind]
|
|
4127
4147
|
}]
|
|
4128
|
-
}]
|
|
4148
|
+
}] });
|
|
4129
4149
|
|
|
4130
4150
|
class RowGroupHeader extends BaseComponent {
|
|
4131
4151
|
dataTable = inject(TABLE_INSTANCE);
|
|
@@ -4133,10 +4153,10 @@ class RowGroupHeader extends BaseComponent {
|
|
|
4133
4153
|
get getFrozenRowGroupHeaderStickyPosition() {
|
|
4134
4154
|
return this.dataTable.rowGroupHeaderStyleObject ? this.dataTable.rowGroupHeaderStyleObject.top : '';
|
|
4135
4155
|
}
|
|
4136
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4137
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.
|
|
4156
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: RowGroupHeader, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4157
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: RowGroupHeader, isStandalone: true, selector: "[pRowGroupHeader]", host: { properties: { "class": "cx(\"rowGroupHeader\")", "style": "sx(\"rowGroupHeader\")" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4138
4158
|
}
|
|
4139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: RowGroupHeader, decorators: [{
|
|
4140
4160
|
type: Directive,
|
|
4141
4161
|
args: [{
|
|
4142
4162
|
selector: '[pRowGroupHeader]',
|
|
@@ -4162,10 +4182,10 @@ class RowToggler extends BaseComponent {
|
|
|
4162
4182
|
isEnabled() {
|
|
4163
4183
|
return this.pRowTogglerDisabled() !== true;
|
|
4164
4184
|
}
|
|
4165
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4166
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: RowToggler, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4186
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: RowToggler, isStandalone: true, selector: "[pRowToggler]", inputs: { data: { classPropertyName: "data", publicName: "pRowToggler", isSignal: true, isRequired: false, transformFunction: null }, pRowTogglerDisabled: { classPropertyName: "pRowTogglerDisabled", publicName: "pRowTogglerDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
4167
4187
|
}
|
|
4168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: RowToggler, decorators: [{
|
|
4169
4189
|
type: Directive,
|
|
4170
4190
|
args: [{
|
|
4171
4191
|
selector: '[pRowToggler]',
|
|
@@ -4243,12 +4263,15 @@ class SortableColumn extends BaseComponent {
|
|
|
4243
4263
|
return this.isFilterElementIconOrButton(element) || this.isFilterElementIconOrButton(element?.parentElement?.parentElement);
|
|
4244
4264
|
}
|
|
4245
4265
|
isFilterElementIconOrButton(element) {
|
|
4266
|
+
if (!element) {
|
|
4267
|
+
return false;
|
|
4268
|
+
}
|
|
4246
4269
|
return getAttribute(element, '[data-pc-name="pccolumnfilterbutton"]') || getAttribute(element, '[data-pc-section="columnfilterbuttonicon"]');
|
|
4247
4270
|
}
|
|
4248
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4249
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4271
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SortableColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4272
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: SortableColumn, isStandalone: true, selector: "[pSortableColumn]", inputs: { field: { classPropertyName: "field", publicName: "pSortableColumn", isSignal: true, isRequired: false, transformFunction: null }, pSortableColumnDisabled: { classPropertyName: "pSortableColumnDisabled", publicName: "pSortableColumnDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "columnheader" }, listeners: { "click": "onClick($event)", "keydown.space": "onEnterKey($event)", "keydown.enter": "onEnterKey($event)" }, properties: { "class": "cx('sortableColumn')", "tabindex": "$tabindex()", "attr.aria-sort": "ariaSort()" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4250
4273
|
}
|
|
4251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SortableColumn, decorators: [{
|
|
4252
4275
|
type: Directive,
|
|
4253
4276
|
args: [{
|
|
4254
4277
|
selector: '[pSortableColumn]',
|
|
@@ -4377,7 +4400,9 @@ class SelectableRow extends BaseComponent {
|
|
|
4377
4400
|
}
|
|
4378
4401
|
onEndKey(event) {
|
|
4379
4402
|
const lastRow = this.findLastSelectableRow();
|
|
4380
|
-
|
|
4403
|
+
if (lastRow) {
|
|
4404
|
+
this.focusRowChange(this.el.nativeElement, lastRow);
|
|
4405
|
+
}
|
|
4381
4406
|
if (event.ctrlKey && event.shiftKey) {
|
|
4382
4407
|
const data = this.dataTable.dataToRender(this.dataTable.rows());
|
|
4383
4408
|
const lastSelectableRowIndex = DomHandler.getAttribute(lastRow, 'index');
|
|
@@ -4389,7 +4414,9 @@ class SelectableRow extends BaseComponent {
|
|
|
4389
4414
|
}
|
|
4390
4415
|
onHomeKey(event) {
|
|
4391
4416
|
const firstRow = this.findFirstSelectableRow();
|
|
4392
|
-
|
|
4417
|
+
if (firstRow) {
|
|
4418
|
+
this.focusRowChange(this.el.nativeElement, firstRow);
|
|
4419
|
+
}
|
|
4393
4420
|
if (event.ctrlKey && event.shiftKey) {
|
|
4394
4421
|
const data = this.dataTable.dataToRender(this.dataTable.rows());
|
|
4395
4422
|
const firstSelectableRowIndex = DomHandler.getAttribute(firstRow, 'index');
|
|
@@ -4466,10 +4493,10 @@ class SelectableRow extends BaseComponent {
|
|
|
4466
4493
|
isEnabled() {
|
|
4467
4494
|
return this.pSelectableRowDisabled() !== true;
|
|
4468
4495
|
}
|
|
4469
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4470
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4496
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SelectableRow, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4497
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: SelectableRow, isStandalone: true, selector: "[pSelectableRow]", inputs: { data: { classPropertyName: "data", publicName: "pSelectableRow", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "pSelectableRowIndex", isSignal: true, isRequired: false, transformFunction: null }, pSelectableRowDisabled: { classPropertyName: "pSelectableRowDisabled", publicName: "pSelectableRowDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onClick($event)", "touchend": "onTouchEnd($event)", "keydown": "onKeyDown($event)" }, properties: { "class": "cx('selectableRow')", "tabindex": "setRowTabIndex()", "attr.data-p-selectable-row": "true" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4471
4498
|
}
|
|
4472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SelectableRow, decorators: [{
|
|
4473
4500
|
type: Directive,
|
|
4474
4501
|
args: [{
|
|
4475
4502
|
selector: '[pSelectableRow]',
|
|
@@ -4494,6 +4521,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
4494
4521
|
|
|
4495
4522
|
class SelectableRowDblClick extends BaseComponent {
|
|
4496
4523
|
data = input(undefined, { ...(ngDevMode ? { debugName: "data" } : /* istanbul ignore next */ {}), alias: 'pSelectableRowDblClick' });
|
|
4524
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
4497
4525
|
index = input(undefined, { ...(ngDevMode ? { debugName: "index" } : /* istanbul ignore next */ {}), alias: 'pSelectableRowIndex' });
|
|
4498
4526
|
pSelectableRowDisabled = input(undefined, { ...(ngDevMode ? { debugName: "pSelectableRowDisabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
4499
4527
|
selected;
|
|
@@ -4525,10 +4553,10 @@ class SelectableRowDblClick extends BaseComponent {
|
|
|
4525
4553
|
isEnabled() {
|
|
4526
4554
|
return this.pSelectableRowDisabled() !== true;
|
|
4527
4555
|
}
|
|
4528
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4529
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4556
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SelectableRowDblClick, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4557
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: SelectableRowDblClick, isStandalone: true, selector: "[pSelectableRowDblClick]", inputs: { data: { classPropertyName: "data", publicName: "pSelectableRowDblClick", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "pSelectableRowIndex", isSignal: true, isRequired: false, transformFunction: null }, pSelectableRowDisabled: { classPropertyName: "pSelectableRowDisabled", publicName: "pSelectableRowDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "dblclick": "onClick($event)" }, properties: { "class": "cx(\"selectableRow\")" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4530
4558
|
}
|
|
4531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SelectableRowDblClick, decorators: [{
|
|
4532
4560
|
type: Directive,
|
|
4533
4561
|
args: [{
|
|
4534
4562
|
selector: '[pSelectableRowDblClick]',
|
|
@@ -4573,10 +4601,10 @@ class ContextMenuRow extends BaseComponent {
|
|
|
4573
4601
|
isEnabled() {
|
|
4574
4602
|
return this.pContextMenuRowDisabled() !== true;
|
|
4575
4603
|
}
|
|
4576
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4577
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4604
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ContextMenuRow, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4605
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: ContextMenuRow, isStandalone: true, selector: "[pContextMenuRow]", inputs: { data: { classPropertyName: "data", publicName: "pContextMenuRow", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "pContextMenuRowIndex", isSignal: true, isRequired: false, transformFunction: null }, pContextMenuRowDisabled: { classPropertyName: "pContextMenuRowDisabled", publicName: "pContextMenuRowDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "contextmenu": "onContextMenu($event)" }, properties: { "class": "cx(\"contextMenuRowSelected\")", "attr.tabindex": "isEnabled() ? 0 : undefined" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4578
4606
|
}
|
|
4579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ContextMenuRow, decorators: [{
|
|
4580
4608
|
type: Directive,
|
|
4581
4609
|
args: [{
|
|
4582
4610
|
selector: '[pContextMenuRow]',
|
|
@@ -4608,7 +4636,9 @@ class ResizableColumn extends BaseComponent {
|
|
|
4608
4636
|
if (this.isEnabled()) {
|
|
4609
4637
|
this.resizer = this.renderer.createElement('span');
|
|
4610
4638
|
setAttribute(this.resizer, 'data-pc-column-resizer', 'true');
|
|
4611
|
-
!this.$unstyled()
|
|
4639
|
+
if (!this.$unstyled()) {
|
|
4640
|
+
this.renderer.addClass(this.resizer, 'p-datatable-column-resizer');
|
|
4641
|
+
}
|
|
4612
4642
|
this.renderer.appendChild(this.el.nativeElement, this.resizer);
|
|
4613
4643
|
this.resizerMouseDownListener = this.renderer.listen(this.resizer, 'mousedown', this.onMouseDown.bind(this));
|
|
4614
4644
|
this.resizerTouchStartListener = this.renderer.listen(this.resizer, 'touchstart', this.onTouchStart.bind(this));
|
|
@@ -4653,10 +4683,12 @@ class ResizableColumn extends BaseComponent {
|
|
|
4653
4683
|
onDocumentMouseMove(event) {
|
|
4654
4684
|
this.dataTable.onColumnResize(event);
|
|
4655
4685
|
}
|
|
4686
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4656
4687
|
onDocumentMouseUp(event) {
|
|
4657
4688
|
this.dataTable.onColumnResizeEnd();
|
|
4658
4689
|
this.unbindDocumentEvents();
|
|
4659
4690
|
}
|
|
4691
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4660
4692
|
onTouchEnd(event) {
|
|
4661
4693
|
this.dataTable.onColumnResizeEnd();
|
|
4662
4694
|
this.unbindDocumentEvents();
|
|
@@ -4671,10 +4703,10 @@ class ResizableColumn extends BaseComponent {
|
|
|
4671
4703
|
}
|
|
4672
4704
|
this.unbindDocumentEvents();
|
|
4673
4705
|
}
|
|
4674
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4675
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4706
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ResizableColumn, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4707
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: ResizableColumn, isStandalone: true, selector: "[pResizableColumn]", inputs: { pResizableColumnDisabled: { classPropertyName: "pResizableColumnDisabled", publicName: "pResizableColumnDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "cx('resizableColumn')" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4676
4708
|
}
|
|
4677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ResizableColumn, decorators: [{
|
|
4678
4710
|
type: Directive,
|
|
4679
4711
|
args: [{
|
|
4680
4712
|
selector: '[pResizableColumn]',
|
|
@@ -4769,10 +4801,10 @@ class ReorderableColumn extends BaseComponent {
|
|
|
4769
4801
|
onDestroy() {
|
|
4770
4802
|
this.unbindEvents();
|
|
4771
4803
|
}
|
|
4772
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
4773
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
4804
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ReorderableColumn, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4805
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: ReorderableColumn, isStandalone: true, selector: "[pReorderableColumn]", inputs: { pReorderableColumnDisabled: { classPropertyName: "pReorderableColumnDisabled", publicName: "pReorderableColumnDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "drop": "onDrop($event)" }, properties: { "class": "cx('reorderableColumn')" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4774
4806
|
}
|
|
4775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
4807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ReorderableColumn, decorators: [{
|
|
4776
4808
|
type: Directive,
|
|
4777
4809
|
args: [{
|
|
4778
4810
|
selector: '[pReorderableColumn]',
|
|
@@ -4803,8 +4835,6 @@ class EditableColumn extends BaseComponent {
|
|
|
4803
4835
|
effect(() => {
|
|
4804
4836
|
const data = this.data();
|
|
4805
4837
|
untracked(() => {
|
|
4806
|
-
// only refresh editing state for the cell that is currently being edited;
|
|
4807
|
-
// declaring any cell whose data changes as the editing cell opens its editor
|
|
4808
4838
|
if (this.el.nativeElement && this.initialized && this.dataTable.editingCell === this.el.nativeElement) {
|
|
4809
4839
|
this.dataTable.updateEditingCell(this.el.nativeElement, data, this.field(), this.rowIndex());
|
|
4810
4840
|
}
|
|
@@ -4814,7 +4844,9 @@ class EditableColumn extends BaseComponent {
|
|
|
4814
4844
|
}
|
|
4815
4845
|
onAfterViewInit() {
|
|
4816
4846
|
if (this.isEnabled()) {
|
|
4817
|
-
!this.$unstyled()
|
|
4847
|
+
if (!this.$unstyled()) {
|
|
4848
|
+
DomHandler.addClass(this.el.nativeElement, 'p-editable-column');
|
|
4849
|
+
}
|
|
4818
4850
|
}
|
|
4819
4851
|
}
|
|
4820
4852
|
onClick(event) {
|
|
@@ -4837,11 +4869,11 @@ class EditableColumn extends BaseComponent {
|
|
|
4837
4869
|
openCell() {
|
|
4838
4870
|
const editingRow = this.resolveEditingRow();
|
|
4839
4871
|
const field = this.field();
|
|
4840
|
-
// Snapshot the value before editing so Escape can restore it. Depending on the
|
|
4841
|
-
// binding style, `data()` is either the row object or the cell value itself.
|
|
4842
4872
|
this.originalCellValue = editingRow && field != null ? editingRow[field] : this.data();
|
|
4843
4873
|
this.dataTable.updateEditingCell(this.el.nativeElement, this.data(), this.field(), this.rowIndex());
|
|
4844
|
-
!this.$unstyled()
|
|
4874
|
+
if (!this.$unstyled()) {
|
|
4875
|
+
DomHandler.addClass(this.el.nativeElement, 'p-cell-editing');
|
|
4876
|
+
}
|
|
4845
4877
|
setAttribute(this.el.nativeElement, 'data-p-cell-editing', 'true');
|
|
4846
4878
|
this.dataTable.onEditInit.emit({
|
|
4847
4879
|
field: this.field(),
|
|
@@ -4883,7 +4915,9 @@ class EditableColumn extends BaseComponent {
|
|
|
4883
4915
|
}
|
|
4884
4916
|
}
|
|
4885
4917
|
this.originalCellValue = undefined;
|
|
4886
|
-
!this.$unstyled()
|
|
4918
|
+
if (!this.$unstyled()) {
|
|
4919
|
+
DomHandler.removeClass(this.dataTable.editingCell, 'p-cell-editing');
|
|
4920
|
+
}
|
|
4887
4921
|
setAttribute(this.el.nativeElement, 'data-p-cell-editing', 'false');
|
|
4888
4922
|
this.dataTable.editingCell = null;
|
|
4889
4923
|
this.dataTable.editingCellData = null;
|
|
@@ -5108,10 +5142,10 @@ class EditableColumn extends BaseComponent {
|
|
|
5108
5142
|
this.dataTable.overlaySubscription.unsubscribe();
|
|
5109
5143
|
}
|
|
5110
5144
|
}
|
|
5111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5112
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
5145
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: EditableColumn, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5146
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: EditableColumn, isStandalone: true, selector: "[pEditableColumn]", inputs: { data: { classPropertyName: "data", publicName: "pEditableColumn", isSignal: true, isRequired: false, transformFunction: null }, field: { classPropertyName: "field", publicName: "pEditableColumnField", isSignal: true, isRequired: false, transformFunction: null }, rowIndex: { classPropertyName: "rowIndex", publicName: "pEditableColumnRowIndex", isSignal: true, isRequired: false, transformFunction: null }, pEditableColumnDisabled: { classPropertyName: "pEditableColumnDisabled", publicName: "pEditableColumnDisabled", isSignal: true, isRequired: false, transformFunction: null }, pFocusCellSelector: { classPropertyName: "pFocusCellSelector", publicName: "pFocusCellSelector", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "onClick($event)", "keydown.enter": "onEnterKeyDown($event)", "keydown.tab": "onShiftKeyDown($event)", "keydown.escape": "onEscapeKeyDown($event)", "keydown.shift.tab": "onShiftKeyDown($event)", "keydown.meta.tab": "onShiftKeyDown($event)", "keydown.arrowdown": "onArrowDown($event)", "keydown.arrowup": "onArrowUp($event)", "keydown.arrowleft": "onArrowLeft($event)", "keydown.arrowright": "onArrowRight($event)" }, properties: { "attr.data-p-editable-column": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
5113
5147
|
}
|
|
5114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: EditableColumn, decorators: [{
|
|
5115
5149
|
type: Directive,
|
|
5116
5150
|
args: [{
|
|
5117
5151
|
selector: '[pEditableColumn]',
|
|
@@ -5158,9 +5192,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
5158
5192
|
class ReorderableRow extends BaseComponent {
|
|
5159
5193
|
hostName = 'Table';
|
|
5160
5194
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
5161
|
-
onAfterViewChecked() {
|
|
5162
|
-
this.bindDirectiveInstance.setAttrs(this.ptm('reorderableRow'));
|
|
5163
|
-
}
|
|
5164
5195
|
index = input(undefined, { ...(ngDevMode ? { debugName: "index" } : /* istanbul ignore next */ {}), alias: 'pReorderableRow' });
|
|
5165
5196
|
pReorderableRowDisabled = input(undefined, { ...(ngDevMode ? { debugName: "pReorderableRowDisabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
5166
5197
|
mouseDownListener;
|
|
@@ -5170,6 +5201,9 @@ class ReorderableRow extends BaseComponent {
|
|
|
5170
5201
|
dragLeaveListener;
|
|
5171
5202
|
dropListener;
|
|
5172
5203
|
dataTable = inject(TABLE_INSTANCE);
|
|
5204
|
+
onAfterViewChecked() {
|
|
5205
|
+
this.bindDirectiveInstance.setAttrs(this.ptm('reorderableRow'));
|
|
5206
|
+
}
|
|
5173
5207
|
onAfterViewInit() {
|
|
5174
5208
|
if (this.isEnabled()) {
|
|
5175
5209
|
this.el.nativeElement.droppable = true;
|
|
@@ -5245,10 +5279,10 @@ class ReorderableRow extends BaseComponent {
|
|
|
5245
5279
|
onDestroy() {
|
|
5246
5280
|
this.unbindEvents();
|
|
5247
5281
|
}
|
|
5248
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5249
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.
|
|
5282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ReorderableRow, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5283
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: ReorderableRow, isStandalone: true, selector: "[pReorderableRow]", inputs: { index: { classPropertyName: "index", publicName: "pReorderableRow", isSignal: true, isRequired: false, transformFunction: null }, pReorderableRowDisabled: { classPropertyName: "pReorderableRowDisabled", publicName: "pReorderableRowDisabled", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "drop": "onDrop($event)" } }, usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
5250
5284
|
}
|
|
5251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ReorderableRow, decorators: [{
|
|
5252
5286
|
type: Directive,
|
|
5253
5287
|
args: [{
|
|
5254
5288
|
selector: '[pReorderableRow]',
|
|
@@ -5267,10 +5301,10 @@ class InitEditableRow extends BaseComponent {
|
|
|
5267
5301
|
this.dataTable.initRowEdit(this.editableRow.data());
|
|
5268
5302
|
event.preventDefault();
|
|
5269
5303
|
}
|
|
5270
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5271
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.
|
|
5304
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: InitEditableRow, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5305
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: InitEditableRow, isStandalone: true, selector: "[pInitEditableRow]", host: { listeners: { "click": "onClick($event)" }, classAttribute: "p-datatable-row-editor-init" }, usesInheritance: true, ngImport: i0 });
|
|
5272
5306
|
}
|
|
5273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: InitEditableRow, decorators: [{
|
|
5274
5308
|
type: Directive,
|
|
5275
5309
|
args: [{
|
|
5276
5310
|
selector: '[pInitEditableRow]',
|
|
@@ -5293,10 +5327,10 @@ class SaveEditableRow extends BaseComponent {
|
|
|
5293
5327
|
this.dataTable.saveRowEdit(this.editableRow.data(), this.editableRow.el.nativeElement);
|
|
5294
5328
|
event.preventDefault();
|
|
5295
5329
|
}
|
|
5296
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5297
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.
|
|
5330
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SaveEditableRow, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5331
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: SaveEditableRow, isStandalone: true, selector: "[pSaveEditableRow]", host: { listeners: { "click": "onClick($event)" }, properties: { "class": "cx(\"pcRowEditorSave\")" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
5298
5332
|
}
|
|
5299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SaveEditableRow, decorators: [{
|
|
5300
5334
|
type: Directive,
|
|
5301
5335
|
args: [{
|
|
5302
5336
|
selector: '[pSaveEditableRow]',
|
|
@@ -5319,10 +5353,10 @@ class CancelEditableRow extends BaseComponent {
|
|
|
5319
5353
|
this.dataTable.cancelRowEdit(this.editableRow.data());
|
|
5320
5354
|
event.preventDefault();
|
|
5321
5355
|
}
|
|
5322
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5323
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.
|
|
5356
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: CancelEditableRow, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5357
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.5", type: CancelEditableRow, isStandalone: true, selector: "[pCancelEditableRow]", host: { listeners: { "click": "onClick($event)" }, properties: { "class": "cx('rowEditorCancel')" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
5324
5358
|
}
|
|
5325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: CancelEditableRow, decorators: [{
|
|
5326
5360
|
type: Directive,
|
|
5327
5361
|
args: [{
|
|
5328
5362
|
selector: '[pCancelEditableRow]',
|
|
@@ -5386,8 +5420,8 @@ class SortIcon extends BaseComponent {
|
|
|
5386
5420
|
isMultiSorted() {
|
|
5387
5421
|
return this.dataTable.sortMode() === 'multiple' && this.getMultiSortMetaIndex() > -1;
|
|
5388
5422
|
}
|
|
5389
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5390
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
5423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SortIcon, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5424
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: SortIcon, isStandalone: true, selector: "p-sort-icon, p-sorticon", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null } }, providers: [TableStyle], usesInheritance: true, ngImport: i0, template: `
|
|
5391
5425
|
@if (!dataTable.sortIconTemplate()) {
|
|
5392
5426
|
@if (sortOrder() === 0) {
|
|
5393
5427
|
<svg data-p-icon="sort-alt" [class]="cx('sortableColumnIcon')" />
|
|
@@ -5409,7 +5443,7 @@ class SortIcon extends BaseComponent {
|
|
|
5409
5443
|
}
|
|
5410
5444
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "component", type: i1$1.Badge, selector: "p-badge", inputs: ["badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "component", type: SortAlt, selector: "svg[data-p-icon=\"sort-alt\"]" }, { kind: "component", type: SortAmountUpAlt, selector: "svg[data-p-icon=\"sort-amount-up-alt\"]" }, { kind: "component", type: SortAmountDown, selector: "svg[data-p-icon=\"sort-amount-down\"]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5411
5445
|
}
|
|
5412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: SortIcon, decorators: [{
|
|
5413
5447
|
type: Component,
|
|
5414
5448
|
args: [{
|
|
5415
5449
|
selector: 'p-sort-icon, p-sorticon',
|
|
@@ -5452,8 +5486,8 @@ class CellEditor extends BaseComponent {
|
|
|
5452
5486
|
return !!((this.dataTable.editingCell && this.editableColumn && this.dataTable.editingCell === this.editableColumn.el.nativeElement) ||
|
|
5453
5487
|
(this.editableRow && this.dataTable.editMode() === 'row' && this.dataTable.isRowEditing(this.editableRow.data())));
|
|
5454
5488
|
}
|
|
5455
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5456
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
5489
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: CellEditor, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5490
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: CellEditor, isStandalone: true, selector: "p-cell-editor, p-celleditor", queries: [{ propertyName: "_inputTemplate", first: true, predicate: ["input"], isSignal: true }, { propertyName: "_outputTemplate", first: true, predicate: ["output"], isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5457
5491
|
@if (editing) {
|
|
5458
5492
|
<ng-container *ngTemplateOutlet="_inputTemplate()"></ng-container>
|
|
5459
5493
|
}
|
|
@@ -5462,7 +5496,7 @@ class CellEditor extends BaseComponent {
|
|
|
5462
5496
|
}
|
|
5463
5497
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
5464
5498
|
}
|
|
5465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: CellEditor, decorators: [{
|
|
5466
5500
|
type: Component,
|
|
5467
5501
|
args: [{
|
|
5468
5502
|
selector: 'p-cell-editor, p-celleditor',
|
|
@@ -5523,8 +5557,8 @@ class TableRadioButton extends BaseComponent {
|
|
|
5523
5557
|
}
|
|
5524
5558
|
DomHandler.clearSelection();
|
|
5525
5559
|
}
|
|
5526
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5527
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.
|
|
5560
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableRadioButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5561
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.5", type: TableRadioButton, isStandalone: true, selector: "p-table-radio-button, p-tableradiobutton", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "inputViewChild", first: true, predicate: ["rb"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `<p-radiobutton
|
|
5528
5562
|
#rb
|
|
5529
5563
|
[ngModel]="checked()"
|
|
5530
5564
|
(ngModelChange)="checked.set($event)"
|
|
@@ -5538,7 +5572,7 @@ class TableRadioButton extends BaseComponent {
|
|
|
5538
5572
|
[unstyled]="unstyled()"
|
|
5539
5573
|
/> `, isInline: true, dependencies: [{ kind: "ngmodule", type: RadioButtonModule }, { kind: "component", type: i1$2.RadioButton, selector: "p-radiobutton, p-radio-button", inputs: ["value", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "autofocus", "binary", "variant", "size"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5540
5574
|
}
|
|
5541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableRadioButton, decorators: [{
|
|
5542
5576
|
type: Component,
|
|
5543
5577
|
args: [{
|
|
5544
5578
|
selector: 'p-table-radio-button, p-tableradiobutton',
|
|
@@ -5609,8 +5643,8 @@ class TableCheckbox extends BaseComponent {
|
|
|
5609
5643
|
}
|
|
5610
5644
|
DomHandler.clearSelection();
|
|
5611
5645
|
}
|
|
5612
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5613
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
5646
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5647
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: TableCheckbox, isStandalone: true, selector: "p-table-checkbox, p-tablecheckbox", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
5614
5648
|
<p-checkbox
|
|
5615
5649
|
[ngModel]="checked()"
|
|
5616
5650
|
(ngModelChange)="checked.set($event)"
|
|
@@ -5631,7 +5665,7 @@ class TableCheckbox extends BaseComponent {
|
|
|
5631
5665
|
</p-checkbox>
|
|
5632
5666
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CheckboxModule }, { kind: "component", type: i1$3.Checkbox, selector: "p-checkbox, p-check-box", inputs: ["value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5633
5667
|
}
|
|
5634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableCheckbox, decorators: [{
|
|
5635
5669
|
type: Component,
|
|
5636
5670
|
args: [{
|
|
5637
5671
|
selector: 'p-table-checkbox, p-tablecheckbox',
|
|
@@ -5665,9 +5699,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
5665
5699
|
class TableHeaderCheckbox extends BaseComponent {
|
|
5666
5700
|
hostName = 'Table';
|
|
5667
5701
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
5668
|
-
onAfterViewChecked() {
|
|
5669
|
-
this.bindDirectiveInstance.setAttrs(this.ptm('headerCheckbox'));
|
|
5670
|
-
}
|
|
5671
5702
|
disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
5672
5703
|
inputId = input(/* @ts-ignore */
|
|
5673
5704
|
...(ngDevMode ? [undefined, { debugName: "inputId" }] : /* istanbul ignore next */ []));
|
|
@@ -5692,6 +5723,9 @@ class TableHeaderCheckbox extends BaseComponent {
|
|
|
5692
5723
|
this.checked = this.updateCheckedState();
|
|
5693
5724
|
});
|
|
5694
5725
|
}
|
|
5726
|
+
onAfterViewChecked() {
|
|
5727
|
+
this.bindDirectiveInstance.setAttrs(this.ptm('headerCheckbox'));
|
|
5728
|
+
}
|
|
5695
5729
|
onInit() {
|
|
5696
5730
|
this.checked = this.updateCheckedState();
|
|
5697
5731
|
}
|
|
@@ -5719,8 +5753,8 @@ class TableHeaderCheckbox extends BaseComponent {
|
|
|
5719
5753
|
return ObjectUtils.isNotEmpty(selectableVal) && ObjectUtils.isNotEmpty(this.dataTable.selection()) && selectableVal.every(isRowSelected);
|
|
5720
5754
|
}
|
|
5721
5755
|
}
|
|
5722
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5723
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
5756
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableHeaderCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5757
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: TableHeaderCheckbox, isStandalone: true, selector: "p-table-header-checkbox, p-tableheadercheckbox", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
5724
5758
|
<p-checkbox [pt]="ptm('pcCheckbox')" [(ngModel)]="checked" (onChange)="onClick($event)" [binary]="true" [disabled]="isDisabled()" [inputId]="inputId()" [name]="name()!" [ariaLabel]="resolvedAriaLabel" [unstyled]="unstyled()">
|
|
5725
5759
|
@if (dataTable.headerCheckboxIconTemplate(); as template) {
|
|
5726
5760
|
<ng-template #icon>
|
|
@@ -5730,7 +5764,7 @@ class TableHeaderCheckbox extends BaseComponent {
|
|
|
5730
5764
|
</p-checkbox>
|
|
5731
5765
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CheckboxModule }, { kind: "component", type: i1$3.Checkbox, selector: "p-checkbox, p-check-box", inputs: ["value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5732
5766
|
}
|
|
5733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableHeaderCheckbox, decorators: [{
|
|
5734
5768
|
type: Component,
|
|
5735
5769
|
args: [{
|
|
5736
5770
|
selector: 'p-table-header-checkbox, p-tableheadercheckbox',
|
|
@@ -5755,9 +5789,6 @@ class ColumnFilterFormElement extends BaseComponent {
|
|
|
5755
5789
|
hostName = 'Table';
|
|
5756
5790
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
5757
5791
|
_componentStyle = inject(TableStyle);
|
|
5758
|
-
onAfterViewChecked() {
|
|
5759
|
-
this.bindDirectiveInstance.setAttrs(this.ptm('columnFilterFormElement'));
|
|
5760
|
-
}
|
|
5761
5792
|
field = input(/* @ts-ignore */
|
|
5762
5793
|
...(ngDevMode ? [undefined, { debugName: "field" }] : /* istanbul ignore next */ []));
|
|
5763
5794
|
type = input(/* @ts-ignore */
|
|
@@ -5787,6 +5818,8 @@ class ColumnFilterFormElement extends BaseComponent {
|
|
|
5787
5818
|
...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
5788
5819
|
filterOn = input(/* @ts-ignore */
|
|
5789
5820
|
...(ngDevMode ? [undefined, { debugName: "filterOn" }] : /* istanbul ignore next */ []));
|
|
5821
|
+
dataTable = inject(TABLE_INSTANCE);
|
|
5822
|
+
colFilter = inject(COLUMN_FILTER_INSTANCE);
|
|
5790
5823
|
showButtons = computed(() => this.colFilter.showButtons(), /* @ts-ignore */
|
|
5791
5824
|
...(ngDevMode ? [{ debugName: "showButtons" }] : /* istanbul ignore next */ []));
|
|
5792
5825
|
onFilterCallback = ((value) => {
|
|
@@ -5817,12 +5850,13 @@ class ColumnFilterFormElement extends BaseComponent {
|
|
|
5817
5850
|
showButtons: this.showButtons()
|
|
5818
5851
|
};
|
|
5819
5852
|
}
|
|
5820
|
-
dataTable = inject(TABLE_INSTANCE);
|
|
5821
|
-
colFilter = inject(COLUMN_FILTER_INSTANCE);
|
|
5822
5853
|
constructor() {
|
|
5823
5854
|
super();
|
|
5824
5855
|
this.dataTable.tableService.valueSource$.pipe(takeUntilDestroyed()).subscribe(() => this.cd.markForCheck());
|
|
5825
5856
|
}
|
|
5857
|
+
onAfterViewChecked() {
|
|
5858
|
+
this.bindDirectiveInstance.setAttrs(this.ptm('columnFilterFormElement'));
|
|
5859
|
+
}
|
|
5826
5860
|
onModelChange(value) {
|
|
5827
5861
|
const constraint = this.filterConstraint();
|
|
5828
5862
|
if (constraint) {
|
|
@@ -5845,8 +5879,8 @@ class ColumnFilterFormElement extends BaseComponent {
|
|
|
5845
5879
|
event.preventDefault();
|
|
5846
5880
|
}
|
|
5847
5881
|
}
|
|
5848
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
5849
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
5882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ColumnFilterFormElement, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5883
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: ColumnFilterFormElement, isStandalone: true, selector: "p-column-filter-form-element, p-columnfilterformelement", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, filterConstraint: { classPropertyName: "filterConstraint", publicName: "filterConstraint", isSignal: true, isRequired: false, transformFunction: null }, filterTemplate: { classPropertyName: "filterTemplate", publicName: "filterTemplate", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, minFractionDigits: { classPropertyName: "minFractionDigits", publicName: "minFractionDigits", isSignal: true, isRequired: false, transformFunction: null }, maxFractionDigits: { classPropertyName: "maxFractionDigits", publicName: "maxFractionDigits", isSignal: true, isRequired: false, transformFunction: null }, prefix: { classPropertyName: "prefix", publicName: "prefix", isSignal: true, isRequired: false, transformFunction: null }, suffix: { classPropertyName: "suffix", publicName: "suffix", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, localeMatcher: { classPropertyName: "localeMatcher", publicName: "localeMatcher", isSignal: true, isRequired: false, transformFunction: null }, currency: { classPropertyName: "currency", publicName: "currency", isSignal: true, isRequired: false, transformFunction: null }, currencyDisplay: { classPropertyName: "currencyDisplay", publicName: "currencyDisplay", isSignal: true, isRequired: false, transformFunction: null }, useGrouping: { classPropertyName: "useGrouping", publicName: "useGrouping", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, filterOn: { classPropertyName: "filterOn", publicName: "filterOn", isSignal: true, isRequired: false, transformFunction: null } }, providers: [TableStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
5850
5884
|
@if (filterTemplate()) {
|
|
5851
5885
|
<ng-container *ngTemplateOutlet="filterTemplate(); context: filterTemplateContext()" />
|
|
5852
5886
|
} @else {
|
|
@@ -5896,7 +5930,7 @@ class ColumnFilterFormElement extends BaseComponent {
|
|
|
5896
5930
|
}
|
|
5897
5931
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i3$1.InputText, selector: "[pInputText]", inputs: ["hostName", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: InputNumberModule }, { kind: "component", type: i4.InputNumber, selector: "p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "ngmodule", type: CheckboxModule }, { kind: "component", type: i1$3.Checkbox, selector: "p-checkbox, p-check-box", inputs: ["value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: DatePickerModule }, { kind: "component", type: i6.DatePicker, selector: "p-datepicker, p-date-picker", inputs: ["iconDisplay", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "ngmodule", type: BindModule }], encapsulation: i0.ViewEncapsulation.None });
|
|
5898
5932
|
}
|
|
5899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
5933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ColumnFilterFormElement, decorators: [{
|
|
5900
5934
|
type: Component,
|
|
5901
5935
|
args: [{
|
|
5902
5936
|
selector: 'p-column-filter-form-element, p-columnfilterformelement',
|
|
@@ -5965,16 +5999,6 @@ class ColumnFilter extends BaseComponent {
|
|
|
5965
5999
|
hostName = 'Table';
|
|
5966
6000
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
5967
6001
|
_componentStyle = inject(TableStyle);
|
|
5968
|
-
onAfterViewChecked() {
|
|
5969
|
-
this.bindDirectiveInstance.setAttrs(this.ptm('columnFilter'));
|
|
5970
|
-
}
|
|
5971
|
-
ptmFilterConstraintOptions(matchMode) {
|
|
5972
|
-
return {
|
|
5973
|
-
context: {
|
|
5974
|
-
highlighted: matchMode && this.isRowMatchModeSelected(matchMode.value)
|
|
5975
|
-
}
|
|
5976
|
-
};
|
|
5977
|
-
}
|
|
5978
6002
|
/**
|
|
5979
6003
|
* Property represented by the column.
|
|
5980
6004
|
* @group Props
|
|
@@ -6168,12 +6192,10 @@ class ColumnFilter extends BaseComponent {
|
|
|
6168
6192
|
...(ngDevMode ? [{ debugName: "computedFilterButtonProps" }] : /* istanbul ignore next */ []));
|
|
6169
6193
|
motionOptions = input(undefined, /* @ts-ignore */
|
|
6170
6194
|
...(ngDevMode ? [{ debugName: "motionOptions" }] : /* istanbul ignore next */ []));
|
|
6171
|
-
computedMotionOptions = computed(() => {
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
};
|
|
6176
|
-
}, /* @ts-ignore */
|
|
6195
|
+
computedMotionOptions = computed(() => ({
|
|
6196
|
+
...this.ptm('motion'),
|
|
6197
|
+
...this.motionOptions()
|
|
6198
|
+
}), /* @ts-ignore */
|
|
6177
6199
|
...(ngDevMode ? [{ debugName: "computedMotionOptions" }] : /* istanbul ignore next */ []));
|
|
6178
6200
|
/**
|
|
6179
6201
|
* Callback to invoke on overlay is shown.
|
|
@@ -6296,6 +6318,16 @@ class ColumnFilter extends BaseComponent {
|
|
|
6296
6318
|
this.cd.markForCheck();
|
|
6297
6319
|
});
|
|
6298
6320
|
}
|
|
6321
|
+
onAfterViewChecked() {
|
|
6322
|
+
this.bindDirectiveInstance.setAttrs(this.ptm('columnFilter'));
|
|
6323
|
+
}
|
|
6324
|
+
ptmFilterConstraintOptions(matchMode) {
|
|
6325
|
+
return {
|
|
6326
|
+
context: {
|
|
6327
|
+
highlighted: matchMode && this.isRowMatchModeSelected(matchMode.value)
|
|
6328
|
+
}
|
|
6329
|
+
};
|
|
6330
|
+
}
|
|
6299
6331
|
onInit() {
|
|
6300
6332
|
this.overlayId = UniqueComponentId();
|
|
6301
6333
|
if (!this.dataTable.filters[this.field()]) {
|
|
@@ -6307,12 +6339,10 @@ class ColumnFilter extends BaseComponent {
|
|
|
6307
6339
|
generateMatchModeOptions() {
|
|
6308
6340
|
this.matchModes =
|
|
6309
6341
|
this.matchModeOptions() ||
|
|
6310
|
-
this.config.filterMatchModeOptions[this.type()]?.map((key) => {
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
};
|
|
6315
|
-
});
|
|
6342
|
+
this.config.filterMatchModeOptions[this.type()]?.map((key) => ({
|
|
6343
|
+
label: this.translate(key),
|
|
6344
|
+
value: key
|
|
6345
|
+
}));
|
|
6316
6346
|
}
|
|
6317
6347
|
generateOperatorOptions() {
|
|
6318
6348
|
this.operatorOptions = [
|
|
@@ -6356,8 +6386,8 @@ class ColumnFilter extends BaseComponent {
|
|
|
6356
6386
|
onRowMatchModeKeyDown(event) {
|
|
6357
6387
|
let item = event.target;
|
|
6358
6388
|
switch (event.key) {
|
|
6359
|
-
case 'ArrowDown':
|
|
6360
|
-
|
|
6389
|
+
case 'ArrowDown': {
|
|
6390
|
+
const nextItem = this.findNextItem(item);
|
|
6361
6391
|
if (nextItem) {
|
|
6362
6392
|
item.removeAttribute('tabindex');
|
|
6363
6393
|
nextItem.tabIndex = '0';
|
|
@@ -6365,8 +6395,9 @@ class ColumnFilter extends BaseComponent {
|
|
|
6365
6395
|
}
|
|
6366
6396
|
event.preventDefault();
|
|
6367
6397
|
break;
|
|
6368
|
-
|
|
6369
|
-
|
|
6398
|
+
}
|
|
6399
|
+
case 'ArrowUp': {
|
|
6400
|
+
const prevItem = this.findPrevItem(item);
|
|
6370
6401
|
if (prevItem) {
|
|
6371
6402
|
item.removeAttribute('tabindex');
|
|
6372
6403
|
prevItem.tabIndex = '0';
|
|
@@ -6374,6 +6405,7 @@ class ColumnFilter extends BaseComponent {
|
|
|
6374
6405
|
}
|
|
6375
6406
|
event.preventDefault();
|
|
6376
6407
|
break;
|
|
6408
|
+
}
|
|
6377
6409
|
}
|
|
6378
6410
|
}
|
|
6379
6411
|
onRowClearItemClick() {
|
|
@@ -6539,7 +6571,6 @@ class ColumnFilter extends BaseComponent {
|
|
|
6539
6571
|
}
|
|
6540
6572
|
get hasFilter() {
|
|
6541
6573
|
if (!Array.isArray(this.fieldConstraints) && this.fieldConstraints?.applyFilter) {
|
|
6542
|
-
// This can only happen when legacy "filter(value: any, field: string, matchMode: string)" is programmatically called or when the table state is restored with filter value (type object)
|
|
6543
6574
|
delete this.fieldConstraints.applyFilter;
|
|
6544
6575
|
this.setHasFilter(true);
|
|
6545
6576
|
}
|
|
@@ -6551,7 +6582,6 @@ class ColumnFilter extends BaseComponent {
|
|
|
6551
6582
|
if (!this.filterApplied) {
|
|
6552
6583
|
return false;
|
|
6553
6584
|
}
|
|
6554
|
-
// Because Table's clearFilterValues method may have been called (which clears all filters, but doesn't update filterApplied), must call setHasFilter to make sure that filterApplied is up to date.
|
|
6555
6585
|
this.setHasFilter(true);
|
|
6556
6586
|
return this.filterApplied;
|
|
6557
6587
|
}
|
|
@@ -6589,7 +6619,7 @@ class ColumnFilter extends BaseComponent {
|
|
|
6589
6619
|
}
|
|
6590
6620
|
bindDocumentResizeListener() {
|
|
6591
6621
|
if (!this.documentResizeListener) {
|
|
6592
|
-
this.documentResizeListener = this.renderer.listen(this.document.defaultView, 'resize', (
|
|
6622
|
+
this.documentResizeListener = this.renderer.listen(this.document.defaultView, 'resize', () => {
|
|
6593
6623
|
if (this.overlayVisible && !DomHandler.isTouchDevice()) {
|
|
6594
6624
|
this.hide();
|
|
6595
6625
|
}
|
|
@@ -6619,13 +6649,6 @@ class ColumnFilter extends BaseComponent {
|
|
|
6619
6649
|
}
|
|
6620
6650
|
hide() {
|
|
6621
6651
|
this.overlayVisible = false;
|
|
6622
|
-
// Remove this overlay's entry from the ZIndexUtils stack synchronously. When another
|
|
6623
|
-
// column's filter is opened while this one is open, the document mousedown listener
|
|
6624
|
-
// closes this overlay (hide()) *before* the click opens the next one and assigns its
|
|
6625
|
-
// z-index. Deferring the clear to the leave animation (onOverlayAnimationAfterLeave)
|
|
6626
|
-
// let the new overlay stack on top of this stale entry, so the z-index kept growing on
|
|
6627
|
-
// every cross-open (#19602). The inline z-index is kept for the leave animation and
|
|
6628
|
-
// fully cleared in onOverlayAnimationAfterLeave.
|
|
6629
6652
|
if (this.overlay) {
|
|
6630
6653
|
ZIndexUtils.revertZIndex(ZIndexUtils.get(this.overlay));
|
|
6631
6654
|
}
|
|
@@ -6659,8 +6682,8 @@ class ColumnFilter extends BaseComponent {
|
|
|
6659
6682
|
this.overlaySubscription.unsubscribe();
|
|
6660
6683
|
}
|
|
6661
6684
|
}
|
|
6662
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
6663
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.
|
|
6685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ColumnFilter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6686
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: ColumnFilter, isStandalone: true, selector: "p-column-filter, p-columnfilter", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, display: { classPropertyName: "display", publicName: "display", isSignal: true, isRequired: false, transformFunction: null }, showMenu: { classPropertyName: "showMenu", publicName: "showMenu", isSignal: true, isRequired: false, transformFunction: null }, matchMode: { classPropertyName: "matchMode", publicName: "matchMode", isSignal: true, isRequired: false, transformFunction: null }, operator: { classPropertyName: "operator", publicName: "operator", isSignal: true, isRequired: false, transformFunction: null }, showOperator: { classPropertyName: "showOperator", publicName: "showOperator", isSignal: true, isRequired: false, transformFunction: null }, showClearButton: { classPropertyName: "showClearButton", publicName: "showClearButton", isSignal: true, isRequired: false, transformFunction: null }, showApplyButton: { classPropertyName: "showApplyButton", publicName: "showApplyButton", isSignal: true, isRequired: false, transformFunction: null }, showMatchModes: { classPropertyName: "showMatchModes", publicName: "showMatchModes", isSignal: true, isRequired: false, transformFunction: null }, showAddButton: { classPropertyName: "showAddButton", publicName: "showAddButton", isSignal: true, isRequired: false, transformFunction: null }, hideOnClear: { classPropertyName: "hideOnClear", publicName: "hideOnClear", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, matchModeOptions: { classPropertyName: "matchModeOptions", publicName: "matchModeOptions", isSignal: true, isRequired: false, transformFunction: null }, maxConstraints: { classPropertyName: "maxConstraints", publicName: "maxConstraints", isSignal: true, isRequired: false, transformFunction: null }, minFractionDigits: { classPropertyName: "minFractionDigits", publicName: "minFractionDigits", isSignal: true, isRequired: false, transformFunction: null }, maxFractionDigits: { classPropertyName: "maxFractionDigits", publicName: "maxFractionDigits", isSignal: true, isRequired: false, transformFunction: null }, prefix: { classPropertyName: "prefix", publicName: "prefix", isSignal: true, isRequired: false, transformFunction: null }, suffix: { classPropertyName: "suffix", publicName: "suffix", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, localeMatcher: { classPropertyName: "localeMatcher", publicName: "localeMatcher", isSignal: true, isRequired: false, transformFunction: null }, currency: { classPropertyName: "currency", publicName: "currency", isSignal: true, isRequired: false, transformFunction: null }, currencyDisplay: { classPropertyName: "currencyDisplay", publicName: "currencyDisplay", isSignal: true, isRequired: false, transformFunction: null }, filterOn: { classPropertyName: "filterOn", publicName: "filterOn", isSignal: true, isRequired: false, transformFunction: null }, useGrouping: { classPropertyName: "useGrouping", publicName: "useGrouping", isSignal: true, isRequired: false, transformFunction: null }, showButtons: { classPropertyName: "showButtons", publicName: "showButtons", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, filterButtonProps: { classPropertyName: "filterButtonProps", publicName: "filterButtonProps", isSignal: true, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { operator: "operatorChange", onShow: "onShow", onHide: "onHide" }, providers: [TableStyle, { provide: COLUMN_FILTER_INSTANCE, useExisting: ColumnFilter }], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "filterTemplate", first: true, predicate: ["filter"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"], isSignal: true }, { propertyName: "removeRuleIconTemplate", first: true, predicate: ["removeruleicon"], isSignal: true }, { propertyName: "addRuleIconTemplate", first: true, predicate: ["addruleicon"], isSignal: true }], viewQueries: [{ propertyName: "icon", first: true, predicate: ["menuButton"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "clearButtonViewChild", first: true, predicate: ["clearBtn"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
6664
6687
|
<div [class]="cx('filter')">
|
|
6665
6688
|
@if (display() === 'row') {
|
|
6666
6689
|
<p-column-filter-form-element
|
|
@@ -6866,7 +6889,7 @@ class ColumnFilter extends BaseComponent {
|
|
|
6866
6889
|
</div>
|
|
6867
6890
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i3$2.ButtonDirective, selector: "[pButton]", inputs: ["pButton", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "link", "rounded", "fluid", "variant", "iconOnly", "loading", "severity"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i4$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "multiple", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "ngmodule", type: InputNumberModule }, { kind: "ngmodule", type: CheckboxModule }, { kind: "ngmodule", type: DatePickerModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }, { kind: "ngmodule", type: MotionModule }, { kind: "directive", type: i5.MotionDirective, selector: "[pMotion]", inputs: ["pMotion", "pMotionName", "pMotionType", "pMotionSafe", "pMotionDisabled", "pMotionAppear", "pMotionEnter", "pMotionLeave", "pMotionDuration", "pMotionHideStrategy", "pMotionEnterFromClass", "pMotionEnterToClass", "pMotionEnterActiveClass", "pMotionLeaveFromClass", "pMotionLeaveToClass", "pMotionLeaveActiveClass", "pMotionOptions"], outputs: ["pMotionOnBeforeEnter", "pMotionOnEnter", "pMotionOnAfterEnter", "pMotionOnEnterCancelled", "pMotionOnBeforeLeave", "pMotionOnLeave", "pMotionOnAfterLeave", "pMotionOnLeaveCancelled"] }, { kind: "component", type: Filter, selector: "svg[data-p-icon=\"filter\"]" }, { kind: "component", type: FilterFill, selector: "svg[data-p-icon=\"filter-fill\"]" }, { kind: "component", type: Trash, selector: "svg[data-p-icon=\"trash\"]" }, { kind: "component", type: Plus, selector: "svg[data-p-icon=\"plus\"]" }, { kind: "component", type: ColumnFilterFormElement, selector: "p-column-filter-form-element, p-columnfilterformelement", inputs: ["field", "type", "filterConstraint", "filterTemplate", "placeholder", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "useGrouping", "ariaLabel", "filterOn"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
6868
6891
|
}
|
|
6869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
6892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: ColumnFilter, decorators: [{
|
|
6870
6893
|
type: Component,
|
|
6871
6894
|
args: [{
|
|
6872
6895
|
selector: 'p-column-filter, p-columnfilter',
|
|
@@ -7084,8 +7107,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImpor
|
|
|
7084
7107
|
}], ctorParameters: () => [], propDecorators: { field: [{ type: i0.Input, args: [{ isSignal: true, alias: "field", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], display: [{ type: i0.Input, args: [{ isSignal: true, alias: "display", required: false }] }], showMenu: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMenu", required: false }] }], matchMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "matchMode", required: false }] }], operator: [{ type: i0.Input, args: [{ isSignal: true, alias: "operator", required: false }] }, { type: i0.Output, args: ["operatorChange"] }], showOperator: [{ type: i0.Input, args: [{ isSignal: true, alias: "showOperator", required: false }] }], showClearButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClearButton", required: false }] }], showApplyButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showApplyButton", required: false }] }], showMatchModes: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMatchModes", required: false }] }], showAddButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAddButton", required: false }] }], hideOnClear: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideOnClear", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], matchModeOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "matchModeOptions", required: false }] }], maxConstraints: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxConstraints", required: false }] }], minFractionDigits: [{ type: i0.Input, args: [{ isSignal: true, alias: "minFractionDigits", required: false }] }], maxFractionDigits: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxFractionDigits", required: false }] }], prefix: [{ type: i0.Input, args: [{ isSignal: true, alias: "prefix", required: false }] }], suffix: [{ type: i0.Input, args: [{ isSignal: true, alias: "suffix", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], localeMatcher: [{ type: i0.Input, args: [{ isSignal: true, alias: "localeMatcher", required: false }] }], currency: [{ type: i0.Input, args: [{ isSignal: true, alias: "currency", required: false }] }], currencyDisplay: [{ type: i0.Input, args: [{ isSignal: true, alias: "currencyDisplay", required: false }] }], filterOn: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterOn", required: false }] }], useGrouping: [{ type: i0.Input, args: [{ isSignal: true, alias: "useGrouping", required: false }] }], showButtons: [{ type: i0.Input, args: [{ isSignal: true, alias: "showButtons", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], filterButtonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterButtonProps", required: false }] }], motionOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionOptions", required: false }] }], onShow: [{ type: i0.Output, args: ["onShow"] }], onHide: [{ type: i0.Output, args: ["onHide"] }], icon: [{ type: i0.ViewChild, args: ['menuButton', { ...{ read: ElementRef }, isSignal: true }] }], clearButtonViewChild: [{ type: i0.ViewChild, args: ['clearBtn', { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], filterTemplate: [{ type: i0.ContentChild, args: ['filter', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], filterIconTemplate: [{ type: i0.ContentChild, args: ['filtericon', { ...{ descendants: false }, isSignal: true }] }], removeRuleIconTemplate: [{ type: i0.ContentChild, args: ['removeruleicon', { ...{ descendants: false }, isSignal: true }] }], addRuleIconTemplate: [{ type: i0.ContentChild, args: ['addruleicon', { ...{ descendants: false }, isSignal: true }] }] } });
|
|
7085
7108
|
|
|
7086
7109
|
class TableModule {
|
|
7087
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
7088
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.
|
|
7110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7111
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.5", ngImport: i0, type: TableModule, imports: [Table,
|
|
7089
7112
|
TableBody,
|
|
7090
7113
|
SortableColumn,
|
|
7091
7114
|
FrozenColumn,
|
|
@@ -7135,7 +7158,7 @@ class TableModule {
|
|
|
7135
7158
|
ColumnFilter,
|
|
7136
7159
|
ColumnFilterFormElement,
|
|
7137
7160
|
ScrollerModule] });
|
|
7138
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.
|
|
7161
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableModule, imports: [Table,
|
|
7139
7162
|
SortIcon,
|
|
7140
7163
|
TableRadioButton,
|
|
7141
7164
|
TableCheckbox,
|
|
@@ -7144,7 +7167,7 @@ class TableModule {
|
|
|
7144
7167
|
ColumnFilterFormElement, SharedModule,
|
|
7145
7168
|
ScrollerModule] });
|
|
7146
7169
|
}
|
|
7147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
7170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: TableModule, decorators: [{
|
|
7148
7171
|
type: NgModule,
|
|
7149
7172
|
args: [{
|
|
7150
7173
|
imports: [
|