@exhaustive-ui/core 3.0.0-alpha.0 → 22.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/exhaustive-ui-core-accordion.mjs +51 -78
- package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-animateonscroll.mjs +72 -73
- package/fesm2022/exhaustive-ui-core-animateonscroll.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-api.mjs +10 -17
- package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs +786 -928
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-autofocus.mjs +21 -31
- package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatar.mjs +47 -63
- package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-badge.mjs +88 -115
- package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs +58 -91
- package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +155 -169
- package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-button.mjs +280 -385
- package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-carousel.mjs +561 -599
- package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +388 -507
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chart.mjs +75 -91
- package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-checkbox.mjs +109 -160
- package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-chip.mjs +98 -137
- package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs +123 -190
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +227 -394
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +255 -266
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +585 -653
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs +225 -272
- package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +1792 -1787
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +480 -577
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dock.mjs +87 -115
- package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dragdrop.mjs +98 -105
- package/fesm2022/exhaustive-ui-core-dragdrop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-drawer.mjs +174 -235
- package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +42 -280
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-editor.mjs +109 -121
- package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fieldset.mjs +90 -132
- package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +774 -745
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs +13 -16
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-focustrap.mjs +44 -40
- package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-galleria.mjs +642 -853
- package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs +15 -27
- package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angledown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angledown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-angleup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-angleup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-arrowup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-ban.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-ban.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-bars.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-bars.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +8 -13
- package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-blank.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-blank.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-calendar.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-calendar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-caretleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-caretright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-caretright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-check.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-check.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronright.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-chevronup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-eye.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-eye.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filter.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filterfill.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-filterslash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-home.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-home.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-infocircle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-minus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-minus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-pencil.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-pencil.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-plus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-plus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-refresh.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-refresh.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-search.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-search.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-searchminus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-searchplus.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortalt.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-spinner.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-spinner.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-star.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-star.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-starfill.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-starfill.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-thlarge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-times.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-times.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-timescircle.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-trash.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-trash.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-undo.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-undo.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-upload.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-upload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
- package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inplace.mjs +68 -102
- package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
- package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
- package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
- package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
- package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
- package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
- package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +591 -728
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +324 -375
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
- package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
- package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-motion.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-motion.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +945 -1045
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
- package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
- package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
- package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +861 -879
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
- package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
- package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
- package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
- package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +837 -986
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
- package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
- package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
- package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
- package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
- package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +2435 -2721
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
- package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
- package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +604 -690
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
- package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
- package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
- package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +333 -423
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/package.json +11 -11
- package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
- package/schematics/migrations/renamed-inputs/migration.js +97 -0
- package/schematics/migrations/styleclass-to-class/migration.js +92 -1
- package/schematics/migrations.json +11 -6
- package/schematics/utils/removed-inputs.js +0 -0
- package/schematics/utils/renamed-inputs.js +175 -0
- package/schematics/utils/styleclass.js +24 -8
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-accordion.d.ts +8 -24
- package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
- package/types/exhaustive-ui-core-api.d.ts +2 -3
- package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
- package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
- package/types/exhaustive-ui-core-avatar.d.ts +18 -25
- package/types/exhaustive-ui-core-badge.d.ts +13 -27
- package/types/exhaustive-ui-core-blockui.d.ts +18 -30
- package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
- package/types/exhaustive-ui-core-button.d.ts +57 -89
- package/types/exhaustive-ui-core-carousel.d.ts +56 -82
- package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
- package/types/exhaustive-ui-core-chart.d.ts +21 -29
- package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
- package/types/exhaustive-ui-core-chip.d.ts +31 -38
- package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
- package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
- package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
- package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
- package/types/exhaustive-ui-core-dataview.d.ts +42 -65
- package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
- package/types/exhaustive-ui-core-dialog.d.ts +73 -123
- package/types/exhaustive-ui-core-dock.d.ts +16 -25
- package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
- package/types/exhaustive-ui-core-drawer.d.ts +32 -64
- package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
- package/types/exhaustive-ui-core-editor.d.ts +15 -25
- package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
- package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
- package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
- package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
- package/types/exhaustive-ui-core-galleria.d.ts +124 -194
- package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
- package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
- package/types/exhaustive-ui-core-image.d.ts +35 -68
- package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
- package/types/exhaustive-ui-core-inplace.d.ts +30 -42
- package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
- package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
- package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
- package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
- package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
- package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
- package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
- package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
- package/types/exhaustive-ui-core-knob.d.ts +45 -60
- package/types/exhaustive-ui-core-listbox.d.ts +90 -126
- package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
- package/types/exhaustive-ui-core-menu.d.ts +33 -53
- package/types/exhaustive-ui-core-menubar.d.ts +38 -85
- package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
- package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
- package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
- package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
- package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
- package/types/exhaustive-ui-core-paginator.d.ts +41 -69
- package/types/exhaustive-ui-core-panel.d.ts +18 -45
- package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
- package/types/exhaustive-ui-core-password.d.ts +56 -93
- package/types/exhaustive-ui-core-picklist.d.ts +107 -121
- package/types/exhaustive-ui-core-popover.d.ts +23 -47
- package/types/exhaustive-ui-core-rating.d.ts +18 -26
- package/types/exhaustive-ui-core-scroller.d.ts +90 -120
- package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
- package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
- package/types/exhaustive-ui-core-select.d.ts +137 -188
- package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
- package/types/exhaustive-ui-core-slider.d.ts +52 -67
- package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
- package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
- package/types/exhaustive-ui-core-splitter.d.ts +47 -59
- package/types/exhaustive-ui-core-steps.d.ts +24 -31
- package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
- package/types/exhaustive-ui-core-table.d.ts +349 -453
- package/types/exhaustive-ui-core-terminal.d.ts +10 -22
- package/types/exhaustive-ui-core-textarea.d.ts +7 -10
- package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
- package/types/exhaustive-ui-core-timeline.d.ts +20 -28
- package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
- package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
- package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
- package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
- package/types/exhaustive-ui-core-tree.d.ts +82 -119
- package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
- package/types/exhaustive-ui-core-treetable.d.ts +203 -280
- package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
|
@@ -2,7 +2,7 @@ export * from '@exhaustive-ui/core/types/chip';
|
|
|
2
2
|
import * as i2 from '@angular/common';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { Injectable,
|
|
5
|
+
import { Injectable, inject, afterEveryRender, input, booleanAttribute, output, signal, computed, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
6
6
|
import { TranslationKeys, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';
|
|
7
7
|
import { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';
|
|
8
8
|
import * as i1 from '@exhaustive-ui/core/bind';
|
|
@@ -13,14 +13,14 @@ import { BaseStyle } from '@exhaustive-ui/core/base';
|
|
|
13
13
|
|
|
14
14
|
const inlineStyles = {
|
|
15
15
|
root: ({ instance }) => ({
|
|
16
|
-
display: !instance.visible ? 'none' : null
|
|
16
|
+
display: !instance.visible() ? 'none' : null
|
|
17
17
|
})
|
|
18
18
|
};
|
|
19
19
|
const classes = {
|
|
20
20
|
root: ({ instance }) => [
|
|
21
21
|
'p-chip p-component',
|
|
22
22
|
{
|
|
23
|
-
'p-disabled': instance.disabled
|
|
23
|
+
'p-disabled': instance.disabled()
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
26
|
image: 'p-chip-image',
|
|
@@ -72,59 +72,57 @@ var ChipClasses;
|
|
|
72
72
|
ChipClasses["removeIcon"] = "p-chip-remove-icon";
|
|
73
73
|
})(ChipClasses || (ChipClasses = {}));
|
|
74
74
|
|
|
75
|
-
const CHIP_INSTANCE = new InjectionToken('CHIP_INSTANCE');
|
|
76
75
|
/**
|
|
77
76
|
* Chip represents people using icons, labels and images.
|
|
78
77
|
* @group Components
|
|
79
78
|
*/
|
|
80
79
|
class Chip extends BaseComponent {
|
|
81
80
|
componentName = 'Chip';
|
|
82
|
-
$pcChip = inject(CHIP_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
83
81
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
constructor() {
|
|
83
|
+
super();
|
|
84
|
+
afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
|
|
86
85
|
}
|
|
87
86
|
/**
|
|
88
87
|
* Defines the text to display.
|
|
89
88
|
* @group Props
|
|
90
89
|
*/
|
|
91
|
-
label
|
|
90
|
+
label = input(/* @ts-ignore */
|
|
91
|
+
...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
92
92
|
/**
|
|
93
93
|
* Defines the icon to display.
|
|
94
94
|
* @group Props
|
|
95
95
|
*/
|
|
96
|
-
icon
|
|
96
|
+
icon = input(/* @ts-ignore */
|
|
97
|
+
...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
97
98
|
/**
|
|
98
99
|
* Defines the image to display.
|
|
99
100
|
* @group Props
|
|
100
101
|
*/
|
|
101
|
-
image
|
|
102
|
+
image = input(/* @ts-ignore */
|
|
103
|
+
...(ngDevMode ? [undefined, { debugName: "image" }] : /* istanbul ignore next */ []));
|
|
102
104
|
/**
|
|
103
105
|
* Alt attribute of the image.
|
|
104
106
|
* @group Props
|
|
105
107
|
*/
|
|
106
|
-
alt
|
|
107
|
-
|
|
108
|
-
* Class of the element.
|
|
109
|
-
* @deprecated since v20.0.0, use `class` instead.
|
|
110
|
-
* @group Props
|
|
111
|
-
*/
|
|
112
|
-
styleClass;
|
|
108
|
+
alt = input(/* @ts-ignore */
|
|
109
|
+
...(ngDevMode ? [undefined, { debugName: "alt" }] : /* istanbul ignore next */ []));
|
|
113
110
|
/**
|
|
114
111
|
* When present, it specifies that the element should be disabled.
|
|
115
112
|
* @group Props
|
|
116
113
|
*/
|
|
117
|
-
disabled = false;
|
|
114
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
118
115
|
/**
|
|
119
116
|
* Whether to display a remove icon.
|
|
120
117
|
* @group Props
|
|
121
118
|
*/
|
|
122
|
-
removable = false;
|
|
119
|
+
removable = input(false, { ...(ngDevMode ? { debugName: "removable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
123
120
|
/**
|
|
124
121
|
* Icon of the remove element.
|
|
125
122
|
* @group Props
|
|
126
123
|
*/
|
|
127
|
-
removeIcon
|
|
124
|
+
removeIcon = input(/* @ts-ignore */
|
|
125
|
+
...(ngDevMode ? [undefined, { debugName: "removeIcon" }] : /* istanbul ignore next */ []));
|
|
128
126
|
/**
|
|
129
127
|
* Callback to invoke when a chip is removed.
|
|
130
128
|
* @param {MouseEvent} event - Mouse event.
|
|
@@ -137,7 +135,8 @@ class Chip extends BaseComponent {
|
|
|
137
135
|
* @group Emits
|
|
138
136
|
*/
|
|
139
137
|
onImageError = output();
|
|
140
|
-
visible = true
|
|
138
|
+
visible = signal(true, /* @ts-ignore */
|
|
139
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
141
140
|
get removeAriaLabel() {
|
|
142
141
|
return this.config.getTranslation(TranslationKeys.ARIA)['removeLabel'];
|
|
143
142
|
}
|
|
@@ -145,17 +144,20 @@ class Chip extends BaseComponent {
|
|
|
145
144
|
* Used to pass all properties of the chipProps to the Chip component.
|
|
146
145
|
* @group Props
|
|
147
146
|
*/
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
147
|
+
chipProps = input(/* @ts-ignore */
|
|
148
|
+
...(ngDevMode ? [undefined, { debugName: "chipProps" }] : /* istanbul ignore next */ []));
|
|
149
|
+
_label = computed(() => this.chipProps()?.label ?? this.label(), /* @ts-ignore */
|
|
150
|
+
...(ngDevMode ? [{ debugName: "_label" }] : /* istanbul ignore next */ []));
|
|
151
|
+
_icon = computed(() => this.chipProps()?.icon ?? this.icon(), /* @ts-ignore */
|
|
152
|
+
...(ngDevMode ? [{ debugName: "_icon" }] : /* istanbul ignore next */ []));
|
|
153
|
+
_image = computed(() => this.chipProps()?.image ?? this.image(), /* @ts-ignore */
|
|
154
|
+
...(ngDevMode ? [{ debugName: "_image" }] : /* istanbul ignore next */ []));
|
|
155
|
+
_alt = computed(() => this.chipProps()?.alt ?? this.alt(), /* @ts-ignore */
|
|
156
|
+
...(ngDevMode ? [{ debugName: "_alt" }] : /* istanbul ignore next */ []));
|
|
157
|
+
_removable = computed(() => this.chipProps()?.removable ?? this.removable(), /* @ts-ignore */
|
|
158
|
+
...(ngDevMode ? [{ debugName: "_removable" }] : /* istanbul ignore next */ []));
|
|
159
|
+
_removeIcon = computed(() => this.chipProps()?.removeIcon ?? this.removeIcon(), /* @ts-ignore */
|
|
160
|
+
...(ngDevMode ? [{ debugName: "_removeIcon" }] : /* istanbul ignore next */ []));
|
|
159
161
|
_componentStyle = inject(ChipStyle);
|
|
160
162
|
/**
|
|
161
163
|
* Custom remove icon template.
|
|
@@ -164,47 +166,10 @@ class Chip extends BaseComponent {
|
|
|
164
166
|
removeIconTemplate = contentChild('removeicon', { ...(ngDevMode ? { debugName: "removeIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
165
167
|
templates = contentChildren(PrimeTemplate, /* @ts-ignore */
|
|
166
168
|
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
167
|
-
_removeIconTemplate
|
|
168
|
-
|
|
169
|
-
this.templates().forEach((item) => {
|
|
170
|
-
switch (item.getType()) {
|
|
171
|
-
case 'removeicon':
|
|
172
|
-
this._removeIconTemplate = item.template;
|
|
173
|
-
break;
|
|
174
|
-
default:
|
|
175
|
-
this._removeIconTemplate = item.template;
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
}
|
|
180
|
-
onChanges(simpleChanges) {
|
|
181
|
-
if (simpleChanges.chipProps && simpleChanges.chipProps.currentValue) {
|
|
182
|
-
const { currentValue } = simpleChanges.chipProps;
|
|
183
|
-
if (currentValue.label !== undefined) {
|
|
184
|
-
this.label = currentValue.label;
|
|
185
|
-
}
|
|
186
|
-
if (currentValue.icon !== undefined) {
|
|
187
|
-
this.icon = currentValue.icon;
|
|
188
|
-
}
|
|
189
|
-
if (currentValue.image !== undefined) {
|
|
190
|
-
this.image = currentValue.image;
|
|
191
|
-
}
|
|
192
|
-
if (currentValue.alt !== undefined) {
|
|
193
|
-
this.alt = currentValue.alt;
|
|
194
|
-
}
|
|
195
|
-
if (currentValue.styleClass !== undefined) {
|
|
196
|
-
this.styleClass = currentValue.styleClass;
|
|
197
|
-
}
|
|
198
|
-
if (currentValue.removable !== undefined) {
|
|
199
|
-
this.removable = currentValue.removable;
|
|
200
|
-
}
|
|
201
|
-
if (currentValue.removeIcon !== undefined) {
|
|
202
|
-
this.removeIcon = currentValue.removeIcon;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
169
|
+
_removeIconTemplate = computed(() => this.templates().at(-1)?.template, /* @ts-ignore */
|
|
170
|
+
...(ngDevMode ? [{ debugName: "_removeIconTemplate" }] : /* istanbul ignore next */ []));
|
|
206
171
|
close(event) {
|
|
207
|
-
this.visible
|
|
172
|
+
this.visible.set(false);
|
|
208
173
|
this.onRemove.emit(event);
|
|
209
174
|
}
|
|
210
175
|
onKeydown(event) {
|
|
@@ -215,45 +180,53 @@ class Chip extends BaseComponent {
|
|
|
215
180
|
imageError(event) {
|
|
216
181
|
this.onImageError.emit(event);
|
|
217
182
|
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
static
|
|
224
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Chip, isStandalone: true, selector: "p-chip", inputs: { label: "label", icon: "icon", image: "image", alt: "alt", styleClass: "styleClass", disabled: ["disabled", "disabled", booleanAttribute], removable: ["removable", "removable", booleanAttribute], removeIcon: "removeIcon", chipProps: "chipProps" }, outputs: { onRemove: "onRemove", onImageError: "onImageError" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "style": "sx('root')", "attr.aria-label": "label", "attr.data-p": "dataP" } }, providers: [ChipStyle, { provide: CHIP_INSTANCE, useExisting: Chip }, { provide: PARENT_INSTANCE, useExisting: Chip }], queries: [{ propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
183
|
+
dataP = computed(() => this.cn({
|
|
184
|
+
removable: this._removable()
|
|
185
|
+
}), /* @ts-ignore */
|
|
186
|
+
...(ngDevMode ? [{ debugName: "dataP" }] : /* istanbul ignore next */ []));
|
|
187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Chip, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
188
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Chip, isStandalone: true, selector: "p-chip", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, removable: { classPropertyName: "removable", publicName: "removable", isSignal: true, isRequired: false, transformFunction: null }, removeIcon: { classPropertyName: "removeIcon", publicName: "removeIcon", isSignal: true, isRequired: false, transformFunction: null }, chipProps: { classPropertyName: "chipProps", publicName: "chipProps", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onRemove: "onRemove", onImageError: "onImageError" }, host: { properties: { "class": "cn(cx('root'), chipProps()?.class)", "style": "sx('root')", "attr.aria-label": "_label()", "attr.data-p": "dataP()" } }, providers: [ChipStyle, { provide: PARENT_INSTANCE, useExisting: Chip }], queries: [{ propertyName: "removeIconTemplate", first: true, predicate: ["removeicon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
225
189
|
<ng-content></ng-content>
|
|
226
|
-
@if (
|
|
227
|
-
<img [pBind]="ptm('image')" [class]="cx('image')" [src]="
|
|
190
|
+
@if (_image()) {
|
|
191
|
+
<img [pBind]="ptm('image')" [class]="cx('image')" [src]="_image()" (error)="imageError($event)" [alt]="_alt()" />
|
|
228
192
|
} @else {
|
|
229
|
-
@if (
|
|
230
|
-
<span [pBind]="ptm('icon')" [class]="
|
|
193
|
+
@if (_icon()) {
|
|
194
|
+
<span [pBind]="ptm('icon')" [class]="_icon()" [ngClass]="cx('icon')"></span>
|
|
231
195
|
}
|
|
232
196
|
}
|
|
233
|
-
@if (
|
|
234
|
-
<div [pBind]="ptm('label')" [class]="cx('label')">{{
|
|
197
|
+
@if (_label()) {
|
|
198
|
+
<div [pBind]="ptm('label')" [class]="cx('label')">{{ _label() }}</div>
|
|
235
199
|
}
|
|
236
|
-
@if (
|
|
237
|
-
@if (!removeIconTemplate() && !_removeIconTemplate) {
|
|
238
|
-
@if (
|
|
200
|
+
@if (_removable()) {
|
|
201
|
+
@if (!removeIconTemplate() && !_removeIconTemplate()) {
|
|
202
|
+
@if (_removeIcon()) {
|
|
239
203
|
<span
|
|
240
204
|
[pBind]="ptm('removeIcon')"
|
|
241
|
-
[class]="
|
|
205
|
+
[class]="_removeIcon()"
|
|
242
206
|
[ngClass]="cx('removeIcon')"
|
|
243
207
|
(click)="close($event)"
|
|
244
208
|
(keydown)="onKeydown($event)"
|
|
245
|
-
[attr.tabindex]="disabled ? -1 : 0"
|
|
209
|
+
[attr.tabindex]="disabled() ? -1 : 0"
|
|
246
210
|
[attr.aria-label]="removeAriaLabel"
|
|
247
211
|
role="button"
|
|
248
212
|
></span>
|
|
249
213
|
}
|
|
250
|
-
@if (!
|
|
251
|
-
<svg
|
|
214
|
+
@if (!_removeIcon()) {
|
|
215
|
+
<svg
|
|
216
|
+
[pBind]="ptm('removeIcon')"
|
|
217
|
+
data-p-icon="times-circle"
|
|
218
|
+
[class]="cx('removeIcon')"
|
|
219
|
+
(click)="close($event)"
|
|
220
|
+
(keydown)="onKeydown($event)"
|
|
221
|
+
[attr.tabindex]="disabled() ? -1 : 0"
|
|
222
|
+
[attr.aria-label]="removeAriaLabel"
|
|
223
|
+
role="button"
|
|
224
|
+
/>
|
|
252
225
|
}
|
|
253
226
|
}
|
|
254
|
-
@if (removeIconTemplate() || _removeIconTemplate) {
|
|
255
|
-
<span [pBind]="ptm('removeIcon')" [attr.tabindex]="disabled ? -1 : 0" [class]="cx('removeIcon')" (click)="close($event)" (keydown)="onKeydown($event)" [attr.aria-label]="removeAriaLabel" role="button">
|
|
256
|
-
<ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate"></ng-template>
|
|
227
|
+
@if (removeIconTemplate() || _removeIconTemplate()) {
|
|
228
|
+
<span [pBind]="ptm('removeIcon')" [attr.tabindex]="disabled() ? -1 : 0" [class]="cx('removeIcon')" (click)="close($event)" (keydown)="onKeydown($event)" [attr.aria-label]="removeAriaLabel" role="button">
|
|
229
|
+
<ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate()"></ng-template>
|
|
257
230
|
</span>
|
|
258
231
|
}
|
|
259
232
|
}
|
|
@@ -263,77 +236,65 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
263
236
|
type: Component,
|
|
264
237
|
args: [{
|
|
265
238
|
selector: 'p-chip',
|
|
266
|
-
standalone: true,
|
|
267
239
|
imports: [CommonModule, TimesCircleIcon, SharedModule, Bind],
|
|
268
240
|
template: `
|
|
269
241
|
<ng-content></ng-content>
|
|
270
|
-
@if (
|
|
271
|
-
<img [pBind]="ptm('image')" [class]="cx('image')" [src]="
|
|
242
|
+
@if (_image()) {
|
|
243
|
+
<img [pBind]="ptm('image')" [class]="cx('image')" [src]="_image()" (error)="imageError($event)" [alt]="_alt()" />
|
|
272
244
|
} @else {
|
|
273
|
-
@if (
|
|
274
|
-
<span [pBind]="ptm('icon')" [class]="
|
|
245
|
+
@if (_icon()) {
|
|
246
|
+
<span [pBind]="ptm('icon')" [class]="_icon()" [ngClass]="cx('icon')"></span>
|
|
275
247
|
}
|
|
276
248
|
}
|
|
277
|
-
@if (
|
|
278
|
-
<div [pBind]="ptm('label')" [class]="cx('label')">{{
|
|
249
|
+
@if (_label()) {
|
|
250
|
+
<div [pBind]="ptm('label')" [class]="cx('label')">{{ _label() }}</div>
|
|
279
251
|
}
|
|
280
|
-
@if (
|
|
281
|
-
@if (!removeIconTemplate() && !_removeIconTemplate) {
|
|
282
|
-
@if (
|
|
252
|
+
@if (_removable()) {
|
|
253
|
+
@if (!removeIconTemplate() && !_removeIconTemplate()) {
|
|
254
|
+
@if (_removeIcon()) {
|
|
283
255
|
<span
|
|
284
256
|
[pBind]="ptm('removeIcon')"
|
|
285
|
-
[class]="
|
|
257
|
+
[class]="_removeIcon()"
|
|
286
258
|
[ngClass]="cx('removeIcon')"
|
|
287
259
|
(click)="close($event)"
|
|
288
260
|
(keydown)="onKeydown($event)"
|
|
289
|
-
[attr.tabindex]="disabled ? -1 : 0"
|
|
261
|
+
[attr.tabindex]="disabled() ? -1 : 0"
|
|
290
262
|
[attr.aria-label]="removeAriaLabel"
|
|
291
263
|
role="button"
|
|
292
264
|
></span>
|
|
293
265
|
}
|
|
294
|
-
@if (!
|
|
295
|
-
<svg
|
|
266
|
+
@if (!_removeIcon()) {
|
|
267
|
+
<svg
|
|
268
|
+
[pBind]="ptm('removeIcon')"
|
|
269
|
+
data-p-icon="times-circle"
|
|
270
|
+
[class]="cx('removeIcon')"
|
|
271
|
+
(click)="close($event)"
|
|
272
|
+
(keydown)="onKeydown($event)"
|
|
273
|
+
[attr.tabindex]="disabled() ? -1 : 0"
|
|
274
|
+
[attr.aria-label]="removeAriaLabel"
|
|
275
|
+
role="button"
|
|
276
|
+
/>
|
|
296
277
|
}
|
|
297
278
|
}
|
|
298
|
-
@if (removeIconTemplate() || _removeIconTemplate) {
|
|
299
|
-
<span [pBind]="ptm('removeIcon')" [attr.tabindex]="disabled ? -1 : 0" [class]="cx('removeIcon')" (click)="close($event)" (keydown)="onKeydown($event)" [attr.aria-label]="removeAriaLabel" role="button">
|
|
300
|
-
<ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate"></ng-template>
|
|
279
|
+
@if (removeIconTemplate() || _removeIconTemplate()) {
|
|
280
|
+
<span [pBind]="ptm('removeIcon')" [attr.tabindex]="disabled() ? -1 : 0" [class]="cx('removeIcon')" (click)="close($event)" (keydown)="onKeydown($event)" [attr.aria-label]="removeAriaLabel" role="button">
|
|
281
|
+
<ng-template *ngTemplateOutlet="removeIconTemplate() || _removeIconTemplate()"></ng-template>
|
|
301
282
|
</span>
|
|
302
283
|
}
|
|
303
284
|
}
|
|
304
285
|
`,
|
|
305
286
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
306
287
|
encapsulation: ViewEncapsulation.None,
|
|
307
|
-
providers: [ChipStyle, { provide:
|
|
288
|
+
providers: [ChipStyle, { provide: PARENT_INSTANCE, useExisting: Chip }],
|
|
308
289
|
host: {
|
|
309
|
-
'[class]': "cn(cx('root'),
|
|
290
|
+
'[class]': "cn(cx('root'), chipProps()?.class)",
|
|
310
291
|
'[style]': "sx('root')",
|
|
311
|
-
'[attr.aria-label]': '
|
|
312
|
-
'[attr.data-p]': 'dataP'
|
|
292
|
+
'[attr.aria-label]': '_label()',
|
|
293
|
+
'[attr.data-p]': 'dataP()'
|
|
313
294
|
},
|
|
314
295
|
hostDirectives: [Bind]
|
|
315
296
|
}]
|
|
316
|
-
}], propDecorators: { label: [{
|
|
317
|
-
type: Input
|
|
318
|
-
}], icon: [{
|
|
319
|
-
type: Input
|
|
320
|
-
}], image: [{
|
|
321
|
-
type: Input
|
|
322
|
-
}], alt: [{
|
|
323
|
-
type: Input
|
|
324
|
-
}], styleClass: [{
|
|
325
|
-
type: Input
|
|
326
|
-
}], disabled: [{
|
|
327
|
-
type: Input,
|
|
328
|
-
args: [{ transform: booleanAttribute }]
|
|
329
|
-
}], removable: [{
|
|
330
|
-
type: Input,
|
|
331
|
-
args: [{ transform: booleanAttribute }]
|
|
332
|
-
}], removeIcon: [{
|
|
333
|
-
type: Input
|
|
334
|
-
}], onRemove: [{ type: i0.Output, args: ["onRemove"] }], onImageError: [{ type: i0.Output, args: ["onImageError"] }], chipProps: [{
|
|
335
|
-
type: Input
|
|
336
|
-
}], removeIconTemplate: [{ type: i0.ContentChild, args: ['removeicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
297
|
+
}], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], image: [{ type: i0.Input, args: [{ isSignal: true, alias: "image", required: false }] }], alt: [{ type: i0.Input, args: [{ isSignal: true, alias: "alt", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], removable: [{ type: i0.Input, args: [{ isSignal: true, alias: "removable", required: false }] }], removeIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "removeIcon", required: false }] }], onRemove: [{ type: i0.Output, args: ["onRemove"] }], onImageError: [{ type: i0.Output, args: ["onImageError"] }], chipProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "chipProps", required: false }] }], removeIconTemplate: [{ type: i0.ContentChild, args: ['removeicon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
337
298
|
class ChipModule {
|
|
338
299
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
339
300
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: ChipModule, imports: [Chip, SharedModule], exports: [Chip, SharedModule] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exhaustive-ui-core-chip.mjs","sources":["../../src/chip/style/chipstyle.ts","../../src/chip/chip.ts","../../src/chip/exhaustive-ui-core-chip.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/chip';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst inlineStyles = {\n root: ({ instance }) => ({\n display: !instance.visible ? 'none' : null\n })\n};\n\nconst classes = {\n root: ({ instance }) => [\n 'p-chip p-component',\n {\n 'p-disabled': instance.disabled\n }\n ],\n image: 'p-chip-image',\n icon: 'p-chip-icon',\n label: 'p-chip-label',\n removeIcon: 'p-chip-remove-icon'\n};\n\n@Injectable()\nexport class ChipStyle extends BaseStyle {\n name = 'chip';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Chip represents people using icons, labels and images.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/chip)\n *\n * @module chipstyle\n *\n */\nexport enum ChipClasses {\n /**\n * Class name of the root element\n */\n root = 'p-chip',\n /**\n * Class name of the image element\n */\n image = 'p-chip-image',\n /**\n * Class name of the icon element\n */\n icon = 'p-chip-icon',\n /**\n * Class name of the label element\n */\n label = 'p-chip-label',\n /**\n * Class name of the remove icon element\n */\n removeIcon = 'p-chip-remove-icon'\n}\n\nexport interface ChipStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, inject, InjectionToken, Input, NgModule, SimpleChanges, TemplateRef, ViewEncapsulation, contentChild, contentChildren, output } from '@angular/core';\nimport { PrimeTemplate, SharedModule, TranslationKeys } from '@exhaustive-ui/core/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { TimesCircleIcon } from '@exhaustive-ui/core/icons';\nimport { ChipProps, ChipPassThrough } from '@exhaustive-ui/core/types/chip';\nimport { ChipStyle } from './style/chipstyle';\n\nconst CHIP_INSTANCE = new InjectionToken<Chip>('CHIP_INSTANCE');\n\n/**\n * Chip represents people using icons, labels and images.\n * @group Components\n */\n@Component({\n selector: 'p-chip',\n standalone: true,\n imports: [CommonModule, TimesCircleIcon, SharedModule, Bind],\n template: `\n <ng-content></ng-content>\n @if (image) {\n <img [pBind]=\"ptm('image')\" [class]=\"cx('image')\" [src]=\"image\" (error)=\"imageError($event)\" [alt]=\"alt\" />\n } @else {\n @if (icon) {\n <span [pBind]=\"ptm('icon')\" [class]=\"icon\" [ngClass]=\"cx('icon')\"></span>\n }\n }\n @if (label) {\n <div [pBind]=\"ptm('label')\" [class]=\"cx('label')\">{{ label }}</div>\n }\n @if (removable) {\n @if (!removeIconTemplate() && !_removeIconTemplate) {\n @if (removeIcon) {\n <span\n [pBind]=\"ptm('removeIcon')\"\n [class]=\"removeIcon\"\n [ngClass]=\"cx('removeIcon')\"\n (click)=\"close($event)\"\n (keydown)=\"onKeydown($event)\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-label]=\"removeAriaLabel\"\n role=\"button\"\n ></span>\n }\n @if (!removeIcon) {\n <svg [pBind]=\"ptm('removeIcon')\" data-p-icon=\"times-circle\" [class]=\"cx('removeIcon')\" (click)=\"close($event)\" (keydown)=\"onKeydown($event)\" [attr.tabindex]=\"disabled ? -1 : 0\" [attr.aria-label]=\"removeAriaLabel\" role=\"button\" />\n }\n }\n @if (removeIconTemplate() || _removeIconTemplate) {\n <span [pBind]=\"ptm('removeIcon')\" [attr.tabindex]=\"disabled ? -1 : 0\" [class]=\"cx('removeIcon')\" (click)=\"close($event)\" (keydown)=\"onKeydown($event)\" [attr.aria-label]=\"removeAriaLabel\" role=\"button\">\n <ng-template *ngTemplateOutlet=\"removeIconTemplate() || _removeIconTemplate\"></ng-template>\n </span>\n }\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ChipStyle, { provide: CHIP_INSTANCE, useExisting: Chip }, { provide: PARENT_INSTANCE, useExisting: Chip }],\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[style]': \"sx('root')\",\n '[attr.aria-label]': 'label',\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Chip extends BaseComponent<ChipPassThrough> {\n componentName = 'Chip';\n\n $pcChip: Chip | undefined = inject(CHIP_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n /**\n * Defines the text to display.\n * @group Props\n */\n @Input() label: string | undefined;\n /**\n * Defines the icon to display.\n * @group Props\n */\n @Input() icon: string | undefined;\n /**\n * Defines the image to display.\n * @group Props\n */\n @Input() image: string | undefined;\n /**\n * Alt attribute of the image.\n * @group Props\n */\n @Input() alt: string | undefined;\n /**\n * Class of the element.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) disabled: boolean | undefined = false;\n /**\n * Whether to display a remove icon.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) removable: boolean | undefined = false;\n /**\n * Icon of the remove element.\n * @group Props\n */\n @Input() removeIcon: string | undefined;\n /**\n * Callback to invoke when a chip is removed.\n * @param {MouseEvent} event - Mouse event.\n * @group Emits\n */\n readonly onRemove = output<MouseEvent>();\n /**\n * This event is triggered if an error occurs while loading an image file.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n readonly onImageError = output<Event>();\n\n visible: boolean = true;\n\n get removeAriaLabel() {\n return this.config.getTranslation(TranslationKeys.ARIA)['removeLabel'];\n }\n /**\n * Used to pass all properties of the chipProps to the Chip component.\n * @group Props\n */\n @Input() get chipProps(): ChipProps | undefined {\n return this._chipProps;\n }\n set chipProps(val: ChipProps | undefined) {\n this._chipProps = val;\n\n if (val && typeof val === 'object') {\n //@ts-ignore\n Object.entries(val).forEach(([k, v]) => this[`_${k}`] !== v && (this[`_${k}`] = v));\n }\n }\n\n _chipProps: ChipProps | undefined;\n\n _componentStyle = inject(ChipStyle);\n\n /**\n * Custom remove icon template.\n * @group Templates\n */\n readonly removeIconTemplate = contentChild<TemplateRef<void>>('removeicon', { descendants: false });\n\n readonly templates = contentChildren(PrimeTemplate);\n\n _removeIconTemplate: TemplateRef<void> | undefined;\n\n onAfterContentInit() {\n this.templates().forEach((item) => {\n switch (item.getType()) {\n case 'removeicon':\n this._removeIconTemplate = item.template;\n break;\n\n default:\n this._removeIconTemplate = item.template;\n break;\n }\n });\n }\n\n onChanges(simpleChanges: SimpleChanges) {\n if (simpleChanges.chipProps && simpleChanges.chipProps.currentValue) {\n const { currentValue } = simpleChanges.chipProps;\n\n if (currentValue.label !== undefined) {\n this.label = currentValue.label;\n }\n if (currentValue.icon !== undefined) {\n this.icon = currentValue.icon;\n }\n if (currentValue.image !== undefined) {\n this.image = currentValue.image;\n }\n if (currentValue.alt !== undefined) {\n this.alt = currentValue.alt;\n }\n if (currentValue.styleClass !== undefined) {\n this.styleClass = currentValue.styleClass;\n }\n if (currentValue.removable !== undefined) {\n this.removable = currentValue.removable;\n }\n if (currentValue.removeIcon !== undefined) {\n this.removeIcon = currentValue.removeIcon;\n }\n }\n }\n\n close(event: MouseEvent) {\n this.visible = false;\n this.onRemove.emit(event);\n }\n\n onKeydown(event) {\n if (event.key === 'Enter' || event.key === 'Backspace') {\n this.close(event);\n }\n }\n\n imageError(event: Event) {\n this.onImageError.emit(event);\n }\n\n get dataP() {\n return this.cn({\n removable: this.removable\n });\n }\n}\n\n@NgModule({\n imports: [Chip, SharedModule],\n exports: [Chip, SharedModule]\n})\nexport class ChipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;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AY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEnB,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY,CAAC;AAC7B,oBAAA,OAAO,EAAE,CAAC,IAAI,EAAE,YAAY;AAC/B,iBAAA;;;ACzOD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"exhaustive-ui-core-chip.mjs","sources":["../../src/chip/style/chipstyle.ts","../../src/chip/chip.ts","../../src/chip/exhaustive-ui-core-chip.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/chip';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst inlineStyles = {\n root: ({ instance }) => ({\n display: !instance.visible() ? 'none' : null\n })\n};\n\nconst classes = {\n root: ({ instance }) => [\n 'p-chip p-component',\n {\n 'p-disabled': instance.disabled()\n }\n ],\n image: 'p-chip-image',\n icon: 'p-chip-icon',\n label: 'p-chip-label',\n removeIcon: 'p-chip-remove-icon'\n};\n\n@Injectable()\nexport class ChipStyle extends BaseStyle {\n name = 'chip';\n\n style = style;\n\n classes = classes;\n\n inlineStyles = inlineStyles;\n}\n\n/**\n *\n * Chip represents people using icons, labels and images.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/chip)\n *\n * @module chipstyle\n *\n */\nexport enum ChipClasses {\n /**\n * Class name of the root element\n */\n root = 'p-chip',\n /**\n * Class name of the image element\n */\n image = 'p-chip-image',\n /**\n * Class name of the icon element\n */\n icon = 'p-chip-icon',\n /**\n * Class name of the label element\n */\n label = 'p-chip-label',\n /**\n * Class name of the remove icon element\n */\n removeIcon = 'p-chip-remove-icon'\n}\n\nexport interface ChipStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { afterEveryRender, booleanAttribute, ChangeDetectionStrategy, Component, computed, inject, input, NgModule, signal, TemplateRef, ViewEncapsulation, contentChild, contentChildren, output } from '@angular/core';\nimport { PrimeTemplate, SharedModule, TranslationKeys } from '@exhaustive-ui/core/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { TimesCircleIcon } from '@exhaustive-ui/core/icons';\nimport { ChipProps, ChipPassThrough } from '@exhaustive-ui/core/types/chip';\nimport { ChipStyle } from './style/chipstyle';\n\n/**\n * Chip represents people using icons, labels and images.\n * @group Components\n */\n@Component({\n selector: 'p-chip',\n imports: [CommonModule, TimesCircleIcon, SharedModule, Bind],\n template: `\n <ng-content></ng-content>\n @if (_image()) {\n <img [pBind]=\"ptm('image')\" [class]=\"cx('image')\" [src]=\"_image()\" (error)=\"imageError($event)\" [alt]=\"_alt()\" />\n } @else {\n @if (_icon()) {\n <span [pBind]=\"ptm('icon')\" [class]=\"_icon()\" [ngClass]=\"cx('icon')\"></span>\n }\n }\n @if (_label()) {\n <div [pBind]=\"ptm('label')\" [class]=\"cx('label')\">{{ _label() }}</div>\n }\n @if (_removable()) {\n @if (!removeIconTemplate() && !_removeIconTemplate()) {\n @if (_removeIcon()) {\n <span\n [pBind]=\"ptm('removeIcon')\"\n [class]=\"_removeIcon()\"\n [ngClass]=\"cx('removeIcon')\"\n (click)=\"close($event)\"\n (keydown)=\"onKeydown($event)\"\n [attr.tabindex]=\"disabled() ? -1 : 0\"\n [attr.aria-label]=\"removeAriaLabel\"\n role=\"button\"\n ></span>\n }\n @if (!_removeIcon()) {\n <svg\n [pBind]=\"ptm('removeIcon')\"\n data-p-icon=\"times-circle\"\n [class]=\"cx('removeIcon')\"\n (click)=\"close($event)\"\n (keydown)=\"onKeydown($event)\"\n [attr.tabindex]=\"disabled() ? -1 : 0\"\n [attr.aria-label]=\"removeAriaLabel\"\n role=\"button\"\n />\n }\n }\n @if (removeIconTemplate() || _removeIconTemplate()) {\n <span [pBind]=\"ptm('removeIcon')\" [attr.tabindex]=\"disabled() ? -1 : 0\" [class]=\"cx('removeIcon')\" (click)=\"close($event)\" (keydown)=\"onKeydown($event)\" [attr.aria-label]=\"removeAriaLabel\" role=\"button\">\n <ng-template *ngTemplateOutlet=\"removeIconTemplate() || _removeIconTemplate()\"></ng-template>\n </span>\n }\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [ChipStyle, { provide: PARENT_INSTANCE, useExisting: Chip }],\n host: {\n '[class]': \"cn(cx('root'), chipProps()?.class)\",\n '[style]': \"sx('root')\",\n '[attr.aria-label]': '_label()',\n '[attr.data-p]': 'dataP()'\n },\n hostDirectives: [Bind]\n})\nexport class Chip extends BaseComponent<ChipPassThrough> {\n componentName = 'Chip';\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n constructor() {\n super();\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n /**\n * Defines the text to display.\n * @group Props\n */\n readonly label = input<string | undefined>();\n /**\n * Defines the icon to display.\n * @group Props\n */\n readonly icon = input<string | undefined>();\n /**\n * Defines the image to display.\n * @group Props\n */\n readonly image = input<string | undefined>();\n /**\n * Alt attribute of the image.\n * @group Props\n */\n readonly alt = input<string | undefined>();\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n readonly disabled = input<boolean | undefined, unknown>(false, { transform: booleanAttribute });\n /**\n * Whether to display a remove icon.\n * @group Props\n */\n readonly removable = input<boolean | undefined, unknown>(false, { transform: booleanAttribute });\n /**\n * Icon of the remove element.\n * @group Props\n */\n readonly removeIcon = input<string | undefined>();\n /**\n * Callback to invoke when a chip is removed.\n * @param {MouseEvent} event - Mouse event.\n * @group Emits\n */\n readonly onRemove = output<MouseEvent>();\n /**\n * This event is triggered if an error occurs while loading an image file.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n readonly onImageError = output<Event>();\n\n visible = signal<boolean>(true);\n\n get removeAriaLabel() {\n return this.config.getTranslation(TranslationKeys.ARIA)['removeLabel'];\n }\n /**\n * Used to pass all properties of the chipProps to the Chip component.\n * @group Props\n */\n readonly chipProps = input<ChipProps | undefined>();\n\n readonly _label = computed(() => this.chipProps()?.label ?? this.label());\n\n readonly _icon = computed(() => this.chipProps()?.icon ?? this.icon());\n\n readonly _image = computed(() => this.chipProps()?.image ?? this.image());\n\n readonly _alt = computed(() => this.chipProps()?.alt ?? this.alt());\n\n readonly _removable = computed(() => this.chipProps()?.removable ?? this.removable());\n\n readonly _removeIcon = computed(() => this.chipProps()?.removeIcon ?? this.removeIcon());\n\n _componentStyle = inject(ChipStyle);\n\n /**\n * Custom remove icon template.\n * @group Templates\n */\n readonly removeIconTemplate = contentChild<TemplateRef<void>>('removeicon', { descendants: false });\n\n readonly templates = contentChildren(PrimeTemplate);\n\n readonly _removeIconTemplate = computed<TemplateRef<void> | undefined>(() => this.templates().at(-1)?.template);\n\n close(event: MouseEvent) {\n this.visible.set(false);\n this.onRemove.emit(event);\n }\n\n onKeydown(event) {\n if (event.key === 'Enter' || event.key === 'Backspace') {\n this.close(event);\n }\n }\n\n imageError(event: Event) {\n this.onImageError.emit(event);\n }\n\n readonly dataP = computed(() =>\n this.cn({\n removable: this._removable()\n })\n );\n}\n\n@NgModule({\n imports: [Chip, SharedModule],\n exports: [Chip, SharedModule]\n})\nexport class ChipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAIA,MAAM,YAAY,GAAG;IACjB,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,MAAM;AACrB,QAAA,OAAO,EAAE,CAAC,QAAQ,CAAC,OAAO,EAAE,GAAG,MAAM,GAAG;KAC3C;CACJ;AAED,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK;QACpB,oBAAoB;AACpB,QAAA;AACI,YAAA,YAAY,EAAE,QAAQ,CAAC,QAAQ;AAClC;AACJ,KAAA;AACD,IAAA,KAAK,EA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