@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
|
@@ -4,7 +4,8 @@ import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
|
4
4
|
import * as i2 from '@angular/common';
|
|
5
5
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
|
6
6
|
import * as i0 from '@angular/core';
|
|
7
|
-
import { Injectable, InjectionToken, inject, model, output, viewChild,
|
|
7
|
+
import { Injectable, InjectionToken, input, inject, afterEveryRender, effect, untracked, model, numberAttribute, booleanAttribute, output, viewChild, signal, computed, contentChild, contentChildren, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
8
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
8
9
|
import * as i5 from '@angular/forms';
|
|
9
10
|
import { FormsModule } from '@angular/forms';
|
|
10
11
|
import { uuid, findIndexInList, find, setAttribute, isEmpty } from '@exhaustive-ui/utils';
|
|
@@ -82,11 +83,26 @@ const PICKLIST_INSTANCE = new InjectionToken('PICKLIST_INSTANCE');
|
|
|
82
83
|
*/
|
|
83
84
|
class PickList extends BaseComponent {
|
|
84
85
|
componentName = 'PickList';
|
|
85
|
-
hostName = ''
|
|
86
|
+
hostName = input('', /* @ts-ignore */
|
|
87
|
+
...(ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []));
|
|
86
88
|
bindDirectiveInstance = inject(Bind, { self: true });
|
|
87
89
|
$pcPickList = inject(PICKLIST_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
constructor() {
|
|
91
|
+
super();
|
|
92
|
+
afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptm('host')));
|
|
93
|
+
// Re-creates the media query listener when the breakpoint moves away from the applied one, as the former setter did.
|
|
94
|
+
effect(() => {
|
|
95
|
+
const breakpoint = this.breakpoint();
|
|
96
|
+
untracked(() => {
|
|
97
|
+
if (breakpoint !== this.appliedBreakpoint) {
|
|
98
|
+
this.appliedBreakpoint = breakpoint;
|
|
99
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
100
|
+
this.destroyMedia();
|
|
101
|
+
this.initMedia();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
});
|
|
90
106
|
}
|
|
91
107
|
/**
|
|
92
108
|
* An array of objects for the source list.
|
|
@@ -104,273 +120,302 @@ class PickList extends BaseComponent {
|
|
|
104
120
|
* Name of the field that uniquely identifies the options.
|
|
105
121
|
* @group Props
|
|
106
122
|
*/
|
|
107
|
-
dataKey
|
|
123
|
+
dataKey = input(/* @ts-ignore */
|
|
124
|
+
...(ngDevMode ? [undefined, { debugName: "dataKey" }] : /* istanbul ignore next */ []));
|
|
108
125
|
/**
|
|
109
126
|
* Text for the source list caption
|
|
110
127
|
* @group Props
|
|
111
128
|
*/
|
|
112
|
-
sourceHeader
|
|
129
|
+
sourceHeader = input(/* @ts-ignore */
|
|
130
|
+
...(ngDevMode ? [undefined, { debugName: "sourceHeader" }] : /* istanbul ignore next */ []));
|
|
113
131
|
/**
|
|
114
132
|
* Index of the element in tabbing order.
|
|
115
133
|
* @group Props
|
|
116
134
|
*/
|
|
117
|
-
tabindex = 0;
|
|
135
|
+
tabindex = input(0, { ...(ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {}), transform: numberAttribute });
|
|
118
136
|
/**
|
|
119
137
|
* Defines a string that labels the move to right button for accessibility.
|
|
120
138
|
* @group Props
|
|
121
139
|
*/
|
|
122
|
-
rightButtonAriaLabel
|
|
140
|
+
rightButtonAriaLabel = input(/* @ts-ignore */
|
|
141
|
+
...(ngDevMode ? [undefined, { debugName: "rightButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
123
142
|
/**
|
|
124
143
|
* Defines a string that labels the move to left button for accessibility.
|
|
125
144
|
* @group Props
|
|
126
145
|
*/
|
|
127
|
-
leftButtonAriaLabel
|
|
146
|
+
leftButtonAriaLabel = input(/* @ts-ignore */
|
|
147
|
+
...(ngDevMode ? [undefined, { debugName: "leftButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
128
148
|
/**
|
|
129
149
|
* Defines a string that labels the move to all right button for accessibility.
|
|
130
150
|
* @group Props
|
|
131
151
|
*/
|
|
132
|
-
allRightButtonAriaLabel
|
|
152
|
+
allRightButtonAriaLabel = input(/* @ts-ignore */
|
|
153
|
+
...(ngDevMode ? [undefined, { debugName: "allRightButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
133
154
|
/**
|
|
134
155
|
* Defines a string that labels the move to all left button for accessibility.
|
|
135
156
|
* @group Props
|
|
136
157
|
*/
|
|
137
|
-
allLeftButtonAriaLabel
|
|
158
|
+
allLeftButtonAriaLabel = input(/* @ts-ignore */
|
|
159
|
+
...(ngDevMode ? [undefined, { debugName: "allLeftButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
138
160
|
/**
|
|
139
161
|
* Defines a string that labels the move to up button for accessibility.
|
|
140
162
|
* @group Props
|
|
141
163
|
*/
|
|
142
|
-
upButtonAriaLabel
|
|
164
|
+
upButtonAriaLabel = input(/* @ts-ignore */
|
|
165
|
+
...(ngDevMode ? [undefined, { debugName: "upButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
143
166
|
/**
|
|
144
167
|
* Defines a string that labels the move to down button for accessibility.
|
|
145
168
|
* @group Props
|
|
146
169
|
*/
|
|
147
|
-
downButtonAriaLabel
|
|
170
|
+
downButtonAriaLabel = input(/* @ts-ignore */
|
|
171
|
+
...(ngDevMode ? [undefined, { debugName: "downButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
148
172
|
/**
|
|
149
173
|
* Defines a string that labels the move to top button for accessibility.
|
|
150
174
|
* @group Props
|
|
151
175
|
*/
|
|
152
|
-
topButtonAriaLabel
|
|
176
|
+
topButtonAriaLabel = input(/* @ts-ignore */
|
|
177
|
+
...(ngDevMode ? [undefined, { debugName: "topButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
153
178
|
/**
|
|
154
179
|
* Defines a string that labels the move to bottom button for accessibility.
|
|
155
180
|
* @group Props
|
|
156
181
|
*/
|
|
157
|
-
bottomButtonAriaLabel
|
|
182
|
+
bottomButtonAriaLabel = input(/* @ts-ignore */
|
|
183
|
+
...(ngDevMode ? [undefined, { debugName: "bottomButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
158
184
|
/**
|
|
159
185
|
* Defines a string that labels the source list.
|
|
160
186
|
* @group Props
|
|
161
187
|
*/
|
|
162
|
-
sourceAriaLabel
|
|
188
|
+
sourceAriaLabel = input(/* @ts-ignore */
|
|
189
|
+
...(ngDevMode ? [undefined, { debugName: "sourceAriaLabel" }] : /* istanbul ignore next */ []));
|
|
163
190
|
/**
|
|
164
191
|
* Defines a string that labels the target list.
|
|
165
192
|
* @group Props
|
|
166
193
|
*/
|
|
167
|
-
targetAriaLabel
|
|
194
|
+
targetAriaLabel = input(/* @ts-ignore */
|
|
195
|
+
...(ngDevMode ? [undefined, { debugName: "targetAriaLabel" }] : /* istanbul ignore next */ []));
|
|
168
196
|
/**
|
|
169
197
|
* Text for the target list caption
|
|
170
198
|
* @group Props
|
|
171
199
|
*/
|
|
172
|
-
targetHeader
|
|
200
|
+
targetHeader = input(/* @ts-ignore */
|
|
201
|
+
...(ngDevMode ? [undefined, { debugName: "targetHeader" }] : /* istanbul ignore next */ []));
|
|
173
202
|
/**
|
|
174
203
|
* When enabled orderlist adjusts its controls based on screen size.
|
|
175
204
|
* @group Props
|
|
176
205
|
*/
|
|
177
|
-
responsive;
|
|
206
|
+
responsive = input(undefined, { ...(ngDevMode ? { debugName: "responsive" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
178
207
|
/**
|
|
179
208
|
* When specified displays an input field to filter the items on keyup and decides which field to search (Accepts multiple fields with a comma).
|
|
180
209
|
* @group Props
|
|
181
210
|
*/
|
|
182
|
-
filterBy
|
|
211
|
+
filterBy = input(/* @ts-ignore */
|
|
212
|
+
...(ngDevMode ? [undefined, { debugName: "filterBy" }] : /* istanbul ignore next */ []));
|
|
183
213
|
/**
|
|
184
214
|
* Locale to use in filtering. The default locale is the host environment's current locale.
|
|
185
215
|
* @group Props
|
|
186
216
|
*/
|
|
187
|
-
filterLocale
|
|
217
|
+
filterLocale = input(/* @ts-ignore */
|
|
218
|
+
...(ngDevMode ? [undefined, { debugName: "filterLocale" }] : /* istanbul ignore next */ []));
|
|
188
219
|
/**
|
|
189
220
|
* Function to optimize the dom operations by delegating to ngForTrackBy, default algorithm checks for object identity. Use sourceTrackBy or targetTrackBy in case different algorithms are needed per list.
|
|
190
221
|
* @group Props
|
|
191
222
|
*/
|
|
192
|
-
trackBy = (index, item) => item
|
|
223
|
+
trackBy = input((index, item) => item, /* @ts-ignore */
|
|
224
|
+
...(ngDevMode ? [{ debugName: "trackBy" }] : /* istanbul ignore next */ []));
|
|
193
225
|
/**
|
|
194
226
|
* Function to optimize the dom operations by delegating to ngForTrackBy in source list, default algorithm checks for object identity.
|
|
195
227
|
* @group Props
|
|
196
228
|
*/
|
|
197
|
-
sourceTrackBy
|
|
229
|
+
sourceTrackBy = input(/* @ts-ignore */
|
|
230
|
+
...(ngDevMode ? [undefined, { debugName: "sourceTrackBy" }] : /* istanbul ignore next */ []));
|
|
198
231
|
/**
|
|
199
232
|
* Function to optimize the dom operations by delegating to ngForTrackBy in target list, default algorithm checks for object identity.
|
|
200
233
|
* @group Props
|
|
201
234
|
*/
|
|
202
|
-
targetTrackBy
|
|
235
|
+
targetTrackBy = input(/* @ts-ignore */
|
|
236
|
+
...(ngDevMode ? [undefined, { debugName: "targetTrackBy" }] : /* istanbul ignore next */ []));
|
|
203
237
|
/**
|
|
204
238
|
* Whether to show filter input for source list when filterBy is enabled.
|
|
205
239
|
* @group Props
|
|
206
240
|
*/
|
|
207
|
-
showSourceFilter = true;
|
|
241
|
+
showSourceFilter = input(true, { ...(ngDevMode ? { debugName: "showSourceFilter" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
208
242
|
/**
|
|
209
243
|
* Whether to show filter input for target list when filterBy is enabled.
|
|
210
244
|
* @group Props
|
|
211
245
|
*/
|
|
212
|
-
showTargetFilter = true;
|
|
246
|
+
showTargetFilter = input(true, { ...(ngDevMode ? { debugName: "showTargetFilter" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
213
247
|
/**
|
|
214
248
|
* Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically.
|
|
215
249
|
* @group Props
|
|
216
250
|
*/
|
|
217
|
-
metaKeySelection = false;
|
|
251
|
+
metaKeySelection = input(false, { ...(ngDevMode ? { debugName: "metaKeySelection" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
218
252
|
/**
|
|
219
253
|
* Whether to enable dragdrop based reordering.
|
|
220
254
|
* @group Props
|
|
221
255
|
*/
|
|
222
|
-
dragdrop = false;
|
|
256
|
+
dragdrop = input(false, { ...(ngDevMode ? { debugName: "dragdrop" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
223
257
|
/**
|
|
224
258
|
* Inline style of the component.
|
|
225
259
|
* @group Props
|
|
226
260
|
*/
|
|
227
|
-
style
|
|
261
|
+
style = input(/* @ts-ignore */
|
|
262
|
+
...(ngDevMode ? [undefined, { debugName: "style" }] : /* istanbul ignore next */ []));
|
|
228
263
|
/**
|
|
229
264
|
* Style class of the component.
|
|
230
265
|
* @group Props
|
|
231
266
|
*/
|
|
232
|
-
styleClass
|
|
267
|
+
styleClass = input(/* @ts-ignore */
|
|
268
|
+
...(ngDevMode ? [undefined, { debugName: "styleClass" }] : /* istanbul ignore next */ []));
|
|
233
269
|
/**
|
|
234
270
|
* Inline style of the source list element.
|
|
235
271
|
* @group Props
|
|
236
272
|
*/
|
|
237
|
-
sourceStyle
|
|
273
|
+
sourceStyle = input(/* @ts-ignore */
|
|
274
|
+
...(ngDevMode ? [undefined, { debugName: "sourceStyle" }] : /* istanbul ignore next */ []));
|
|
238
275
|
/**
|
|
239
276
|
* Inline style of the target list element.
|
|
240
277
|
* @group Props
|
|
241
278
|
*/
|
|
242
|
-
targetStyle
|
|
279
|
+
targetStyle = input(/* @ts-ignore */
|
|
280
|
+
...(ngDevMode ? [undefined, { debugName: "targetStyle" }] : /* istanbul ignore next */ []));
|
|
243
281
|
/**
|
|
244
282
|
* Whether to show buttons of source list.
|
|
245
283
|
* @group Props
|
|
246
284
|
*/
|
|
247
|
-
showSourceControls = true;
|
|
285
|
+
showSourceControls = input(true, { ...(ngDevMode ? { debugName: "showSourceControls" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
248
286
|
/**
|
|
249
287
|
* Whether to show buttons of target list.
|
|
250
288
|
* @group Props
|
|
251
289
|
*/
|
|
252
|
-
showTargetControls = true;
|
|
290
|
+
showTargetControls = input(true, { ...(ngDevMode ? { debugName: "showTargetControls" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
253
291
|
/**
|
|
254
292
|
* Placeholder text on source filter input.
|
|
255
293
|
* @group Props
|
|
256
294
|
*/
|
|
257
|
-
sourceFilterPlaceholder
|
|
295
|
+
sourceFilterPlaceholder = input(/* @ts-ignore */
|
|
296
|
+
...(ngDevMode ? [undefined, { debugName: "sourceFilterPlaceholder" }] : /* istanbul ignore next */ []));
|
|
258
297
|
/**
|
|
259
298
|
* Placeholder text on target filter input.
|
|
260
299
|
* @group Props
|
|
261
300
|
*/
|
|
262
|
-
targetFilterPlaceholder
|
|
301
|
+
targetFilterPlaceholder = input(/* @ts-ignore */
|
|
302
|
+
...(ngDevMode ? [undefined, { debugName: "targetFilterPlaceholder" }] : /* istanbul ignore next */ []));
|
|
263
303
|
/**
|
|
264
304
|
* When present, it specifies that the component should be disabled.
|
|
265
305
|
* @group Props
|
|
266
306
|
*/
|
|
267
|
-
disabled;
|
|
307
|
+
disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
268
308
|
/**
|
|
269
309
|
* Name of the disabled field of a target option or function to determine disabled state.
|
|
270
310
|
* @group Props
|
|
271
311
|
*/
|
|
272
|
-
sourceOptionDisabled
|
|
312
|
+
sourceOptionDisabled = input(/* @ts-ignore */
|
|
313
|
+
...(ngDevMode ? [undefined, { debugName: "sourceOptionDisabled" }] : /* istanbul ignore next */ []));
|
|
273
314
|
/**
|
|
274
315
|
* Name of the disabled field of a target option or function to determine disabled state.
|
|
275
316
|
* @group Props
|
|
276
317
|
*/
|
|
277
|
-
targetOptionDisabled
|
|
318
|
+
targetOptionDisabled = input(/* @ts-ignore */
|
|
319
|
+
...(ngDevMode ? [undefined, { debugName: "targetOptionDisabled" }] : /* istanbul ignore next */ []));
|
|
278
320
|
/**
|
|
279
321
|
* Defines a string that labels the filter input of source list.
|
|
280
322
|
* @group Props
|
|
281
323
|
*/
|
|
282
|
-
ariaSourceFilterLabel
|
|
324
|
+
ariaSourceFilterLabel = input(/* @ts-ignore */
|
|
325
|
+
...(ngDevMode ? [undefined, { debugName: "ariaSourceFilterLabel" }] : /* istanbul ignore next */ []));
|
|
283
326
|
/**
|
|
284
327
|
* Defines a string that labels the filter input of target list.
|
|
285
328
|
* @group Props
|
|
286
329
|
*/
|
|
287
|
-
ariaTargetFilterLabel
|
|
330
|
+
ariaTargetFilterLabel = input(/* @ts-ignore */
|
|
331
|
+
...(ngDevMode ? [undefined, { debugName: "ariaTargetFilterLabel" }] : /* istanbul ignore next */ []));
|
|
288
332
|
/**
|
|
289
333
|
* Defines how the items are filtered.
|
|
290
334
|
* @group Props
|
|
291
335
|
*/
|
|
292
|
-
filterMatchMode = 'contains'
|
|
336
|
+
filterMatchMode = input('contains', /* @ts-ignore */
|
|
337
|
+
...(ngDevMode ? [{ debugName: "filterMatchMode" }] : /* istanbul ignore next */ []));
|
|
293
338
|
/**
|
|
294
339
|
* Whether to displays rows with alternating colors.
|
|
295
340
|
* @group Props
|
|
296
341
|
*/
|
|
297
|
-
stripedRows;
|
|
342
|
+
stripedRows = input(undefined, { ...(ngDevMode ? { debugName: "stripedRows" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
298
343
|
/**
|
|
299
344
|
* Keeps selection on the transfer list.
|
|
300
345
|
* @group Props
|
|
301
346
|
*/
|
|
302
|
-
keepSelection = false;
|
|
347
|
+
keepSelection = input(false, { ...(ngDevMode ? { debugName: "keepSelection" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
303
348
|
/**
|
|
304
349
|
* Height of the viewport, a scrollbar is defined if height of list exceeds this value.
|
|
305
350
|
* @group Props
|
|
306
351
|
*/
|
|
307
|
-
scrollHeight = '14rem'
|
|
352
|
+
scrollHeight = input('14rem', /* @ts-ignore */
|
|
353
|
+
...(ngDevMode ? [{ debugName: "scrollHeight" }] : /* istanbul ignore next */ []));
|
|
308
354
|
/**
|
|
309
355
|
* Whether to focus on the first visible or selected element.
|
|
310
356
|
* @group Props
|
|
311
357
|
*/
|
|
312
|
-
autoOptionFocus = true;
|
|
358
|
+
autoOptionFocus = input(true, { ...(ngDevMode ? { debugName: "autoOptionFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
313
359
|
/**
|
|
314
360
|
* Used to pass all properties of the ButtonProps to the Button component.
|
|
315
361
|
* @group Props
|
|
316
362
|
*/
|
|
317
|
-
buttonProps = { severity: 'secondary' }
|
|
363
|
+
buttonProps = input({ severity: 'secondary' }, /* @ts-ignore */
|
|
364
|
+
...(ngDevMode ? [{ debugName: "buttonProps" }] : /* istanbul ignore next */ []));
|
|
318
365
|
/**
|
|
319
366
|
* Used to pass all properties of the ButtonProps to the move up button inside the component.
|
|
320
367
|
* @group Props
|
|
321
368
|
*/
|
|
322
|
-
moveUpButtonProps
|
|
369
|
+
moveUpButtonProps = input(/* @ts-ignore */
|
|
370
|
+
...(ngDevMode ? [undefined, { debugName: "moveUpButtonProps" }] : /* istanbul ignore next */ []));
|
|
323
371
|
/**
|
|
324
372
|
* Used to pass all properties of the ButtonProps to the move top button inside the component.
|
|
325
373
|
* @group Props
|
|
326
374
|
*/
|
|
327
|
-
moveTopButtonProps
|
|
375
|
+
moveTopButtonProps = input(/* @ts-ignore */
|
|
376
|
+
...(ngDevMode ? [undefined, { debugName: "moveTopButtonProps" }] : /* istanbul ignore next */ []));
|
|
328
377
|
/**
|
|
329
378
|
* Used to pass all properties of the ButtonProps to the move down button inside the component.
|
|
330
379
|
* @group Props
|
|
331
380
|
*/
|
|
332
|
-
moveDownButtonProps
|
|
381
|
+
moveDownButtonProps = input(/* @ts-ignore */
|
|
382
|
+
...(ngDevMode ? [undefined, { debugName: "moveDownButtonProps" }] : /* istanbul ignore next */ []));
|
|
333
383
|
/**
|
|
334
384
|
* Used to pass all properties of the ButtonProps to the move bottom button inside the component.
|
|
335
385
|
* @group Props
|
|
336
386
|
*/
|
|
337
|
-
moveBottomButtonProps
|
|
387
|
+
moveBottomButtonProps = input(/* @ts-ignore */
|
|
388
|
+
...(ngDevMode ? [undefined, { debugName: "moveBottomButtonProps" }] : /* istanbul ignore next */ []));
|
|
338
389
|
/**
|
|
339
390
|
* Used to pass all properties of the ButtonProps to the move to target button inside the component.
|
|
340
391
|
* @group Props
|
|
341
392
|
*/
|
|
342
|
-
moveToTargetProps
|
|
393
|
+
moveToTargetProps = input(/* @ts-ignore */
|
|
394
|
+
...(ngDevMode ? [undefined, { debugName: "moveToTargetProps" }] : /* istanbul ignore next */ []));
|
|
343
395
|
/**
|
|
344
396
|
* Used to pass all properties of the ButtonProps to the move all to target button inside the component.
|
|
345
397
|
* @group Props
|
|
346
398
|
*/
|
|
347
|
-
moveAllToTargetProps
|
|
399
|
+
moveAllToTargetProps = input(/* @ts-ignore */
|
|
400
|
+
...(ngDevMode ? [undefined, { debugName: "moveAllToTargetProps" }] : /* istanbul ignore next */ []));
|
|
348
401
|
/**
|
|
349
402
|
* Used to pass all properties of the ButtonProps to the move to source button inside the component.
|
|
350
403
|
* @group Props
|
|
351
404
|
*/
|
|
352
|
-
moveToSourceProps
|
|
405
|
+
moveToSourceProps = input(/* @ts-ignore */
|
|
406
|
+
...(ngDevMode ? [undefined, { debugName: "moveToSourceProps" }] : /* istanbul ignore next */ []));
|
|
353
407
|
/**
|
|
354
408
|
* Used to pass all properties of the ButtonProps to the move all to source button inside the component.
|
|
355
409
|
* @group Props
|
|
356
410
|
*/
|
|
357
|
-
moveAllToSourceProps
|
|
411
|
+
moveAllToSourceProps = input(/* @ts-ignore */
|
|
412
|
+
...(ngDevMode ? [undefined, { debugName: "moveAllToSourceProps" }] : /* istanbul ignore next */ []));
|
|
358
413
|
/**
|
|
359
414
|
* Indicates the width of the screen at which the component should change its behavior.
|
|
360
415
|
* @group Props
|
|
361
416
|
*/
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
}
|
|
365
|
-
set breakpoint(value) {
|
|
366
|
-
if (value !== this._breakpoint) {
|
|
367
|
-
this._breakpoint = value;
|
|
368
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
369
|
-
this.destroyMedia();
|
|
370
|
-
this.initMedia();
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
417
|
+
breakpoint = input('960px', /* @ts-ignore */
|
|
418
|
+
...(ngDevMode ? [{ debugName: "breakpoint" }] : /* istanbul ignore next */ []));
|
|
374
419
|
/**
|
|
375
420
|
* Callback to invoke when items are moved from target to source.
|
|
376
421
|
* @param {PickListMoveToSourceEvent} event - Custom move to source event.
|
|
@@ -450,100 +495,100 @@ class PickList extends BaseComponent {
|
|
|
450
495
|
getButtonProps(direction) {
|
|
451
496
|
switch (direction) {
|
|
452
497
|
case 'moveup':
|
|
453
|
-
return { ...this.buttonProps, ...this.moveUpButtonProps };
|
|
498
|
+
return { ...this.buttonProps(), ...this.moveUpButtonProps() };
|
|
454
499
|
case 'movetop':
|
|
455
|
-
return { ...this.buttonProps, ...this.moveTopButtonProps };
|
|
500
|
+
return { ...this.buttonProps(), ...this.moveTopButtonProps() };
|
|
456
501
|
case 'movedown':
|
|
457
|
-
return { ...this.buttonProps, ...this.moveDownButtonProps };
|
|
502
|
+
return { ...this.buttonProps(), ...this.moveDownButtonProps() };
|
|
458
503
|
case 'movebottom':
|
|
459
|
-
return { ...this.buttonProps, ...this.moveBottomButtonProps };
|
|
504
|
+
return { ...this.buttonProps(), ...this.moveBottomButtonProps() };
|
|
460
505
|
case 'movetotarget':
|
|
461
|
-
return { ...this.buttonProps, ...this.moveToTargetProps };
|
|
506
|
+
return { ...this.buttonProps(), ...this.moveToTargetProps() };
|
|
462
507
|
case 'movealltotarget':
|
|
463
|
-
return { ...this.buttonProps, ...this.moveAllToTargetProps };
|
|
508
|
+
return { ...this.buttonProps(), ...this.moveAllToTargetProps() };
|
|
464
509
|
case 'movetosource':
|
|
465
|
-
return { ...this.buttonProps, ...this.moveToSourceProps };
|
|
510
|
+
return { ...this.buttonProps(), ...this.moveToSourceProps() };
|
|
466
511
|
case 'movealltosource':
|
|
467
|
-
return { ...this.buttonProps, ...this.moveAllToSourceProps };
|
|
512
|
+
return { ...this.buttonProps(), ...this.moveAllToSourceProps() };
|
|
468
513
|
default:
|
|
469
|
-
return this.buttonProps;
|
|
514
|
+
return this.buttonProps();
|
|
470
515
|
}
|
|
471
516
|
}
|
|
472
|
-
|
|
517
|
+
/**
|
|
518
|
+
* Bumped whenever the component reorders or transfers items in place in `source()`/`target()`, so the
|
|
519
|
+
* option copies handed to the inner listboxes are rebuilt (the former getters returned a fresh copy on every check).
|
|
520
|
+
*/
|
|
521
|
+
listsVersion = signal(0, /* @ts-ignore */
|
|
522
|
+
...(ngDevMode ? [{ debugName: "listsVersion" }] : /* istanbul ignore next */ []));
|
|
523
|
+
targetOptions = computed(() => {
|
|
524
|
+
this.listsVersion();
|
|
473
525
|
return [...(this.target() || [])];
|
|
474
|
-
}
|
|
475
|
-
|
|
526
|
+
}, /* @ts-ignore */
|
|
527
|
+
...(ngDevMode ? [{ debugName: "targetOptions" }] : /* istanbul ignore next */ []));
|
|
528
|
+
sourceOptions = computed(() => {
|
|
529
|
+
this.listsVersion();
|
|
476
530
|
return [...(this.source() || [])];
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
get idSource() {
|
|
503
|
-
return this.id + '_source';
|
|
504
|
-
}
|
|
505
|
-
get idTarget() {
|
|
506
|
-
return this.id + '_target';
|
|
507
|
-
}
|
|
508
|
-
_breakpoint = '960px';
|
|
531
|
+
}, /* @ts-ignore */
|
|
532
|
+
...(ngDevMode ? [{ debugName: "sourceOptions" }] : /* istanbul ignore next */ []));
|
|
533
|
+
translation = toSignal(this.config.translationObserver, { initialValue: this.config.translation });
|
|
534
|
+
moveUpAriaLabel = computed(() => this.upButtonAriaLabel() || this.translation()?.aria?.moveUp, /* @ts-ignore */
|
|
535
|
+
...(ngDevMode ? [{ debugName: "moveUpAriaLabel" }] : /* istanbul ignore next */ []));
|
|
536
|
+
moveTopAriaLabel = computed(() => this.topButtonAriaLabel() || this.translation()?.aria?.moveTop, /* @ts-ignore */
|
|
537
|
+
...(ngDevMode ? [{ debugName: "moveTopAriaLabel" }] : /* istanbul ignore next */ []));
|
|
538
|
+
moveDownAriaLabel = computed(() => this.downButtonAriaLabel() || this.translation()?.aria?.moveDown, /* @ts-ignore */
|
|
539
|
+
...(ngDevMode ? [{ debugName: "moveDownAriaLabel" }] : /* istanbul ignore next */ []));
|
|
540
|
+
moveBottomAriaLabel = computed(() => this.bottomButtonAriaLabel() || this.translation()?.aria?.moveBottom, /* @ts-ignore */
|
|
541
|
+
...(ngDevMode ? [{ debugName: "moveBottomAriaLabel" }] : /* istanbul ignore next */ []));
|
|
542
|
+
moveToTargetAriaLabel = computed(() => this.rightButtonAriaLabel() || this.translation()?.aria?.moveToTarget, /* @ts-ignore */
|
|
543
|
+
...(ngDevMode ? [{ debugName: "moveToTargetAriaLabel" }] : /* istanbul ignore next */ []));
|
|
544
|
+
moveAllToTargetAriaLabel = computed(() => this.allRightButtonAriaLabel() || this.translation()?.aria?.moveAllToTarget, /* @ts-ignore */
|
|
545
|
+
...(ngDevMode ? [{ debugName: "moveAllToTargetAriaLabel" }] : /* istanbul ignore next */ []));
|
|
546
|
+
moveToSourceAriaLabel = computed(() => this.leftButtonAriaLabel() || this.translation()?.aria?.moveToSource, /* @ts-ignore */
|
|
547
|
+
...(ngDevMode ? [{ debugName: "moveToSourceAriaLabel" }] : /* istanbul ignore next */ []));
|
|
548
|
+
moveAllToSourceAriaLabel = computed(() => this.allLeftButtonAriaLabel() || this.translation()?.aria?.moveAllToSource, /* @ts-ignore */
|
|
549
|
+
...(ngDevMode ? [{ debugName: "moveAllToSourceAriaLabel" }] : /* istanbul ignore next */ []));
|
|
550
|
+
id = uuid('pn_id_');
|
|
551
|
+
idSource = computed(() => this.id + '_source', /* @ts-ignore */
|
|
552
|
+
...(ngDevMode ? [{ debugName: "idSource" }] : /* istanbul ignore next */ []));
|
|
553
|
+
idTarget = computed(() => this.id + '_target', /* @ts-ignore */
|
|
554
|
+
...(ngDevMode ? [{ debugName: "idTarget" }] : /* istanbul ignore next */ []));
|
|
555
|
+
appliedBreakpoint = '960px';
|
|
509
556
|
visibleOptionsSource;
|
|
510
557
|
visibleOptionsTarget;
|
|
511
|
-
selectedItemsSource = []
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
movedDown;
|
|
516
|
-
itemTouched;
|
|
558
|
+
selectedItemsSource = signal([], /* @ts-ignore */
|
|
559
|
+
...(ngDevMode ? [{ debugName: "selectedItemsSource" }] : /* istanbul ignore next */ []));
|
|
560
|
+
selectedItemsTarget = signal([], /* @ts-ignore */
|
|
561
|
+
...(ngDevMode ? [{ debugName: "selectedItemsTarget" }] : /* istanbul ignore next */ []));
|
|
517
562
|
styleElement;
|
|
518
|
-
id = uuid('pn_id_');
|
|
519
563
|
filterValueSource;
|
|
520
564
|
filterValueTarget;
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
565
|
+
sourceFilterOptions = computed(() => this.filterBy()
|
|
566
|
+
? {
|
|
567
|
+
filter: (value) => this.filterSource(value),
|
|
568
|
+
reset: () => this.resetSourceFilter()
|
|
569
|
+
}
|
|
570
|
+
: null, /* @ts-ignore */
|
|
571
|
+
...(ngDevMode ? [{ debugName: "sourceFilterOptions" }] : /* istanbul ignore next */ []));
|
|
572
|
+
targetFilterOptions = computed(() => this.filterBy()
|
|
573
|
+
? {
|
|
574
|
+
filter: (value) => this.filterTarget(value),
|
|
575
|
+
reset: () => this.resetTargetFilter()
|
|
576
|
+
}
|
|
577
|
+
: null, /* @ts-ignore */
|
|
578
|
+
...(ngDevMode ? [{ debugName: "targetFilterOptions" }] : /* istanbul ignore next */ []));
|
|
524
579
|
SOURCE_LIST = -1;
|
|
525
580
|
TARGET_LIST = 1;
|
|
526
|
-
window;
|
|
527
581
|
media;
|
|
528
|
-
viewChanged
|
|
582
|
+
viewChanged = signal(undefined, /* @ts-ignore */
|
|
583
|
+
...(ngDevMode ? [{ debugName: "viewChanged" }] : /* istanbul ignore next */ []));
|
|
529
584
|
_componentStyle = inject(PickListStyle);
|
|
530
585
|
mediaChangeListener;
|
|
531
586
|
filterService = inject(FilterService);
|
|
532
587
|
onInit() {
|
|
533
|
-
if (this.responsive) {
|
|
588
|
+
if (this.responsive()) {
|
|
534
589
|
this.createStyle();
|
|
535
590
|
this.initMedia();
|
|
536
591
|
}
|
|
537
|
-
if (this.filterBy) {
|
|
538
|
-
this.sourceFilterOptions = {
|
|
539
|
-
filter: (value) => this.filterSource(value),
|
|
540
|
-
reset: () => this.resetSourceFilter()
|
|
541
|
-
};
|
|
542
|
-
this.targetFilterOptions = {
|
|
543
|
-
filter: (value) => this.filterTarget(value),
|
|
544
|
-
reset: () => this.resetTargetFilter()
|
|
545
|
-
};
|
|
546
|
-
}
|
|
547
592
|
}
|
|
548
593
|
/**
|
|
549
594
|
* Custom item template.
|
|
@@ -656,93 +701,69 @@ class PickList extends BaseComponent {
|
|
|
656
701
|
sourceFilterIconTemplate = contentChild('sourcefiltericon', { ...(ngDevMode ? { debugName: "sourceFilterIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
657
702
|
templates = contentChildren(PrimeTemplate, /* @ts-ignore */
|
|
658
703
|
...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
|
|
659
|
-
_itemTemplate
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
break;
|
|
723
|
-
case 'movetotargeticon':
|
|
724
|
-
this._moveToTargetIconTemplate = item.template;
|
|
725
|
-
break;
|
|
726
|
-
case 'movealltotargeticon':
|
|
727
|
-
this._moveAllToTargetIconTemplate = item.template;
|
|
728
|
-
break;
|
|
729
|
-
case 'movetosourceicon':
|
|
730
|
-
this._moveToSourceIconTemplate = item.template;
|
|
731
|
-
break;
|
|
732
|
-
case 'movealltosourceicon':
|
|
733
|
-
this._moveAllToSourceIconTemplate = item.template;
|
|
734
|
-
break;
|
|
735
|
-
case 'targetfiltericon':
|
|
736
|
-
this._targetFilterIconTemplate = item.template;
|
|
737
|
-
break;
|
|
738
|
-
case 'sourcefiltericon':
|
|
739
|
-
this._sourceFilterIconTemplate = item.template;
|
|
740
|
-
break;
|
|
741
|
-
default:
|
|
742
|
-
this._itemTemplate = item.template;
|
|
743
|
-
break;
|
|
744
|
-
}
|
|
745
|
-
});
|
|
704
|
+
_itemTemplate = computed(() => this.templates()
|
|
705
|
+
.filter((item) => ![
|
|
706
|
+
'sourceHeader',
|
|
707
|
+
'targetHeader',
|
|
708
|
+
'sourceFilter',
|
|
709
|
+
'targetFilter',
|
|
710
|
+
'emptymessagesource',
|
|
711
|
+
'emptyfiltermessagesource',
|
|
712
|
+
'emptymessagetarget',
|
|
713
|
+
'emptyfiltermessagetarget',
|
|
714
|
+
'moveupicon',
|
|
715
|
+
'movetopicon',
|
|
716
|
+
'movedownicon',
|
|
717
|
+
'movebottomicon',
|
|
718
|
+
'movetotargeticon',
|
|
719
|
+
'movealltotargeticon',
|
|
720
|
+
'movetosourceicon',
|
|
721
|
+
'movealltosourceicon',
|
|
722
|
+
'targetfiltericon',
|
|
723
|
+
'sourcefiltericon'
|
|
724
|
+
].includes(item.getType()))
|
|
725
|
+
.at(-1)?.template, /* @ts-ignore */
|
|
726
|
+
...(ngDevMode ? [{ debugName: "_itemTemplate" }] : /* istanbul ignore next */ []));
|
|
727
|
+
_sourceHeaderTemplate = computed(() => this.findTemplate('sourceHeader'), /* @ts-ignore */
|
|
728
|
+
...(ngDevMode ? [{ debugName: "_sourceHeaderTemplate" }] : /* istanbul ignore next */ []));
|
|
729
|
+
_targetHeaderTemplate = computed(() => this.findTemplate('targetHeader'), /* @ts-ignore */
|
|
730
|
+
...(ngDevMode ? [{ debugName: "_targetHeaderTemplate" }] : /* istanbul ignore next */ []));
|
|
731
|
+
_sourceFilterTemplate = computed(() => this.findTemplate('sourceFilter'), /* @ts-ignore */
|
|
732
|
+
...(ngDevMode ? [{ debugName: "_sourceFilterTemplate" }] : /* istanbul ignore next */ []));
|
|
733
|
+
_targetFilterTemplate = computed(() => this.findTemplate('targetFilter'), /* @ts-ignore */
|
|
734
|
+
...(ngDevMode ? [{ debugName: "_targetFilterTemplate" }] : /* istanbul ignore next */ []));
|
|
735
|
+
_emptyMessageSourceTemplate = computed(() => this.findTemplate('emptymessagesource'), /* @ts-ignore */
|
|
736
|
+
...(ngDevMode ? [{ debugName: "_emptyMessageSourceTemplate" }] : /* istanbul ignore next */ []));
|
|
737
|
+
_emptyFilterMessageSourceTemplate = computed(() => this.findTemplate('emptyfiltermessagesource'), /* @ts-ignore */
|
|
738
|
+
...(ngDevMode ? [{ debugName: "_emptyFilterMessageSourceTemplate" }] : /* istanbul ignore next */ []));
|
|
739
|
+
_emptyMessageTargetTemplate = computed(() => this.findTemplate('emptymessagetarget'), /* @ts-ignore */
|
|
740
|
+
...(ngDevMode ? [{ debugName: "_emptyMessageTargetTemplate" }] : /* istanbul ignore next */ []));
|
|
741
|
+
_emptyFilterMessageTargetTemplate = computed(() => this.findTemplate('emptyfiltermessagetarget'), /* @ts-ignore */
|
|
742
|
+
...(ngDevMode ? [{ debugName: "_emptyFilterMessageTargetTemplate" }] : /* istanbul ignore next */ []));
|
|
743
|
+
_moveUpIconTemplate = computed(() => this.findTemplate('moveupicon'), /* @ts-ignore */
|
|
744
|
+
...(ngDevMode ? [{ debugName: "_moveUpIconTemplate" }] : /* istanbul ignore next */ []));
|
|
745
|
+
_moveTopIconTemplate = computed(() => this.findTemplate('movetopicon'), /* @ts-ignore */
|
|
746
|
+
...(ngDevMode ? [{ debugName: "_moveTopIconTemplate" }] : /* istanbul ignore next */ []));
|
|
747
|
+
_moveDownIconTemplate = computed(() => this.findTemplate('movedownicon'), /* @ts-ignore */
|
|
748
|
+
...(ngDevMode ? [{ debugName: "_moveDownIconTemplate" }] : /* istanbul ignore next */ []));
|
|
749
|
+
_moveBottomIconTemplate = computed(() => this.findTemplate('movebottomicon'), /* @ts-ignore */
|
|
750
|
+
...(ngDevMode ? [{ debugName: "_moveBottomIconTemplate" }] : /* istanbul ignore next */ []));
|
|
751
|
+
_moveToTargetIconTemplate = computed(() => this.findTemplate('movetotargeticon'), /* @ts-ignore */
|
|
752
|
+
...(ngDevMode ? [{ debugName: "_moveToTargetIconTemplate" }] : /* istanbul ignore next */ []));
|
|
753
|
+
_moveAllToTargetIconTemplate = computed(() => this.findTemplate('movealltotargeticon'), /* @ts-ignore */
|
|
754
|
+
...(ngDevMode ? [{ debugName: "_moveAllToTargetIconTemplate" }] : /* istanbul ignore next */ []));
|
|
755
|
+
_moveToSourceIconTemplate = computed(() => this.findTemplate('movetosourceicon'), /* @ts-ignore */
|
|
756
|
+
...(ngDevMode ? [{ debugName: "_moveToSourceIconTemplate" }] : /* istanbul ignore next */ []));
|
|
757
|
+
_moveAllToSourceIconTemplate = computed(() => this.findTemplate('movealltosourceicon'), /* @ts-ignore */
|
|
758
|
+
...(ngDevMode ? [{ debugName: "_moveAllToSourceIconTemplate" }] : /* istanbul ignore next */ []));
|
|
759
|
+
_targetFilterIconTemplate = computed(() => this.findTemplate('targetfiltericon'), /* @ts-ignore */
|
|
760
|
+
...(ngDevMode ? [{ debugName: "_targetFilterIconTemplate" }] : /* istanbul ignore next */ []));
|
|
761
|
+
_sourceFilterIconTemplate = computed(() => this.findTemplate('sourcefiltericon'), /* @ts-ignore */
|
|
762
|
+
...(ngDevMode ? [{ debugName: "_sourceFilterIconTemplate" }] : /* istanbul ignore next */ []));
|
|
763
|
+
findTemplate(type) {
|
|
764
|
+
return this.templates()
|
|
765
|
+
.filter((item) => item.getType() === type)
|
|
766
|
+
.at(-1)?.template;
|
|
746
767
|
}
|
|
747
768
|
onChangeSelection(e, listType) {
|
|
748
769
|
this.setSelectionList(listType, e.value);
|
|
@@ -750,14 +771,14 @@ class PickList extends BaseComponent {
|
|
|
750
771
|
callback.emit({ originalEvent: e.originalEvent, items: e.value });
|
|
751
772
|
}
|
|
752
773
|
onSourceItemDblClick() {
|
|
753
|
-
if (this.disabled) {
|
|
774
|
+
if (this.disabled()) {
|
|
754
775
|
return;
|
|
755
776
|
}
|
|
756
777
|
this.moveRight();
|
|
757
778
|
this.triggerChangeDetection();
|
|
758
779
|
}
|
|
759
780
|
onTargetItemDblClick() {
|
|
760
|
-
if (this.disabled) {
|
|
781
|
+
if (this.disabled()) {
|
|
761
782
|
return;
|
|
762
783
|
}
|
|
763
784
|
this.moveLeft();
|
|
@@ -771,23 +792,23 @@ class PickList extends BaseComponent {
|
|
|
771
792
|
this.filterTarget(query);
|
|
772
793
|
}
|
|
773
794
|
filterSource(value = '') {
|
|
774
|
-
this.filterValueSource = value.trim().toLocaleLowerCase(this.filterLocale);
|
|
795
|
+
this.filterValueSource = value.trim().toLocaleLowerCase(this.filterLocale());
|
|
775
796
|
this.filter(this.source(), this.SOURCE_LIST);
|
|
776
797
|
this.onSourceFilter.emit({ query: this.filterValueSource, value: this.visibleOptionsSource });
|
|
777
798
|
}
|
|
778
799
|
filterTarget(value = '') {
|
|
779
|
-
this.filterValueTarget = value.trim().toLocaleLowerCase(this.filterLocale);
|
|
800
|
+
this.filterValueTarget = value.trim().toLocaleLowerCase(this.filterLocale());
|
|
780
801
|
this.filter(this.target(), this.TARGET_LIST);
|
|
781
802
|
this.onTargetFilter.emit({ query: this.filterValueTarget, value: this.visibleOptionsTarget });
|
|
782
803
|
}
|
|
783
804
|
filter(data, listType) {
|
|
784
|
-
let searchFields = this.filterBy.split(',');
|
|
805
|
+
let searchFields = this.filterBy().split(',');
|
|
785
806
|
if (listType === this.SOURCE_LIST) {
|
|
786
|
-
this.visibleOptionsSource = this.filterService.filter(data, searchFields, this.filterValueSource, this.filterMatchMode, this.filterLocale);
|
|
807
|
+
this.visibleOptionsSource = this.filterService.filter(data, searchFields, this.filterValueSource, this.filterMatchMode(), this.filterLocale());
|
|
787
808
|
this.onSourceFilter.emit({ query: this.filterValueSource, value: this.visibleOptionsSource });
|
|
788
809
|
}
|
|
789
810
|
else if (listType === this.TARGET_LIST) {
|
|
790
|
-
this.visibleOptionsTarget = this.filterService.filter(data, searchFields, this.filterValueTarget, this.filterMatchMode, this.filterLocale);
|
|
811
|
+
this.visibleOptionsTarget = this.filterService.filter(data, searchFields, this.filterValueTarget, this.filterMatchMode(), this.filterLocale());
|
|
791
812
|
this.onTargetFilter.emit({ query: this.filterValueTarget, value: this.visibleOptionsTarget });
|
|
792
813
|
}
|
|
793
814
|
}
|
|
@@ -815,16 +836,11 @@ class PickList extends BaseComponent {
|
|
|
815
836
|
return true;
|
|
816
837
|
}
|
|
817
838
|
}
|
|
818
|
-
onItemTouchEnd() {
|
|
819
|
-
if (this.disabled) {
|
|
820
|
-
return;
|
|
821
|
-
}
|
|
822
|
-
this.itemTouched = true;
|
|
823
|
-
}
|
|
824
839
|
sortByIndexInList(items, list) {
|
|
825
840
|
return items.sort((item1, item2) => findIndexInList(item1, list) - findIndexInList(item2, list));
|
|
826
841
|
}
|
|
827
842
|
triggerChangeDetection() {
|
|
843
|
+
this.listsVersion.update((version) => version + 1);
|
|
828
844
|
this.listViewTargetChild().cd.markForCheck();
|
|
829
845
|
this.listViewSourceChild().cd.markForCheck();
|
|
830
846
|
}
|
|
@@ -844,10 +860,8 @@ class PickList extends BaseComponent {
|
|
|
844
860
|
break;
|
|
845
861
|
}
|
|
846
862
|
}
|
|
847
|
-
if (this.dragdrop && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
863
|
+
if (this.dragdrop() && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
848
864
|
this.filter(list, listType);
|
|
849
|
-
this.movedUp = true;
|
|
850
|
-
this.reorderedListElement = listElement;
|
|
851
865
|
callback.emit({ items: selectedItems });
|
|
852
866
|
this.triggerChangeDetection();
|
|
853
867
|
}
|
|
@@ -866,7 +880,7 @@ class PickList extends BaseComponent {
|
|
|
866
880
|
break;
|
|
867
881
|
}
|
|
868
882
|
}
|
|
869
|
-
if (this.dragdrop && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
883
|
+
if (this.dragdrop() && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
870
884
|
this.filter(list, listType);
|
|
871
885
|
listElement.scrollTop = 0;
|
|
872
886
|
callback.emit({ items: selectedItems });
|
|
@@ -889,10 +903,8 @@ class PickList extends BaseComponent {
|
|
|
889
903
|
break;
|
|
890
904
|
}
|
|
891
905
|
}
|
|
892
|
-
if (this.dragdrop && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
906
|
+
if (this.dragdrop() && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
893
907
|
this.filter(list, listType);
|
|
894
|
-
this.movedDown = true;
|
|
895
|
-
this.reorderedListElement = listElement;
|
|
896
908
|
callback.emit({ items: selectedItems });
|
|
897
909
|
this.triggerChangeDetection();
|
|
898
910
|
}
|
|
@@ -911,7 +923,7 @@ class PickList extends BaseComponent {
|
|
|
911
923
|
break;
|
|
912
924
|
}
|
|
913
925
|
}
|
|
914
|
-
if (this.dragdrop && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
926
|
+
if (this.dragdrop() && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
915
927
|
this.filter(list, listType);
|
|
916
928
|
listElement.scrollTop = listElement.scrollHeight;
|
|
917
929
|
callback.emit({ items: selectedItems });
|
|
@@ -919,8 +931,8 @@ class PickList extends BaseComponent {
|
|
|
919
931
|
}
|
|
920
932
|
}
|
|
921
933
|
moveRight() {
|
|
922
|
-
if (this.selectedItemsSource && this.selectedItemsSource.length) {
|
|
923
|
-
let itemsToMove = [...this.selectedItemsSource];
|
|
934
|
+
if (this.selectedItemsSource() && this.selectedItemsSource().length) {
|
|
935
|
+
let itemsToMove = [...this.selectedItemsSource()];
|
|
924
936
|
for (let i = 0; i < itemsToMove.length; i++) {
|
|
925
937
|
let selectedItem = itemsToMove[i];
|
|
926
938
|
if (findIndexInList(selectedItem, this.target() || []) == -1) {
|
|
@@ -933,11 +945,11 @@ class PickList extends BaseComponent {
|
|
|
933
945
|
this.onMoveToTarget.emit({
|
|
934
946
|
items: itemsToMove
|
|
935
947
|
});
|
|
936
|
-
if (this.keepSelection) {
|
|
937
|
-
this.selectedItemsTarget
|
|
948
|
+
if (this.keepSelection()) {
|
|
949
|
+
this.selectedItemsTarget.set([...this.selectedItemsTarget(), ...itemsToMove]);
|
|
938
950
|
}
|
|
939
951
|
itemsToMove = [];
|
|
940
|
-
this.selectedItemsSource
|
|
952
|
+
this.selectedItemsSource.set([]);
|
|
941
953
|
if (this.filterValueTarget) {
|
|
942
954
|
this.filter(this.target(), this.TARGET_LIST);
|
|
943
955
|
}
|
|
@@ -958,10 +970,10 @@ class PickList extends BaseComponent {
|
|
|
958
970
|
this.onMoveAllToTarget.emit({
|
|
959
971
|
items: movedItems
|
|
960
972
|
});
|
|
961
|
-
if (this.keepSelection) {
|
|
962
|
-
this.selectedItemsTarget
|
|
973
|
+
if (this.keepSelection()) {
|
|
974
|
+
this.selectedItemsTarget.set([...this.selectedItemsTarget(), ...this.selectedItemsSource()]);
|
|
963
975
|
}
|
|
964
|
-
this.selectedItemsSource
|
|
976
|
+
this.selectedItemsSource.set([]);
|
|
965
977
|
if (this.filterValueTarget) {
|
|
966
978
|
this.filter(this.target(), this.TARGET_LIST);
|
|
967
979
|
}
|
|
@@ -970,8 +982,8 @@ class PickList extends BaseComponent {
|
|
|
970
982
|
}
|
|
971
983
|
}
|
|
972
984
|
moveLeft() {
|
|
973
|
-
if (this.selectedItemsTarget && this.selectedItemsTarget.length) {
|
|
974
|
-
let itemsToMove = [...this.selectedItemsTarget];
|
|
985
|
+
if (this.selectedItemsTarget() && this.selectedItemsTarget().length) {
|
|
986
|
+
let itemsToMove = [...this.selectedItemsTarget()];
|
|
975
987
|
for (let i = 0; i < itemsToMove.length; i++) {
|
|
976
988
|
let selectedItem = itemsToMove[i];
|
|
977
989
|
if (findIndexInList(selectedItem, this.source() || []) == -1) {
|
|
@@ -984,11 +996,11 @@ class PickList extends BaseComponent {
|
|
|
984
996
|
this.onMoveToSource.emit({
|
|
985
997
|
items: itemsToMove
|
|
986
998
|
});
|
|
987
|
-
if (this.keepSelection) {
|
|
988
|
-
this.selectedItemsSource
|
|
999
|
+
if (this.keepSelection()) {
|
|
1000
|
+
this.selectedItemsSource.set([...this.selectedItemsSource(), ...itemsToMove]);
|
|
989
1001
|
}
|
|
990
1002
|
itemsToMove = [];
|
|
991
|
-
this.selectedItemsTarget
|
|
1003
|
+
this.selectedItemsTarget.set([]);
|
|
992
1004
|
if (this.filterValueSource) {
|
|
993
1005
|
this.filter(this.source(), this.SOURCE_LIST);
|
|
994
1006
|
}
|
|
@@ -1009,10 +1021,10 @@ class PickList extends BaseComponent {
|
|
|
1009
1021
|
this.onMoveAllToSource.emit({
|
|
1010
1022
|
items: movedItems
|
|
1011
1023
|
});
|
|
1012
|
-
if (this.keepSelection) {
|
|
1013
|
-
this.selectedItemsSource
|
|
1024
|
+
if (this.keepSelection()) {
|
|
1025
|
+
this.selectedItemsSource.set([...this.selectedItemsSource(), ...this.selectedItemsTarget()]);
|
|
1014
1026
|
}
|
|
1015
|
-
this.selectedItemsTarget
|
|
1027
|
+
this.selectedItemsTarget.set([]);
|
|
1016
1028
|
if (this.filterValueSource) {
|
|
1017
1029
|
this.filter(this.source(), this.SOURCE_LIST);
|
|
1018
1030
|
}
|
|
@@ -1034,9 +1046,9 @@ class PickList extends BaseComponent {
|
|
|
1034
1046
|
// Moving from target to source
|
|
1035
1047
|
let itemsToMove = [];
|
|
1036
1048
|
// Check if dragged item is in selected items
|
|
1037
|
-
if (this.selectedItemsTarget && this.selectedItemsTarget.length > 0 && findIndexInList(event.item.data, this.selectedItemsTarget) !== -1) {
|
|
1049
|
+
if (this.selectedItemsTarget() && this.selectedItemsTarget().length > 0 && findIndexInList(event.item.data, this.selectedItemsTarget()) !== -1) {
|
|
1038
1050
|
// Move all selected items
|
|
1039
|
-
itemsToMove = [...this.selectedItemsTarget];
|
|
1051
|
+
itemsToMove = [...this.selectedItemsTarget()];
|
|
1040
1052
|
}
|
|
1041
1053
|
else {
|
|
1042
1054
|
// Move only the dragged item
|
|
@@ -1056,9 +1068,9 @@ class PickList extends BaseComponent {
|
|
|
1056
1068
|
this.source()?.splice(dropIndexes.currentIndex + i, 0, sortedItems[i]);
|
|
1057
1069
|
}
|
|
1058
1070
|
// Clear target selection
|
|
1059
|
-
this.selectedItemsTarget
|
|
1060
|
-
if (this.keepSelection) {
|
|
1061
|
-
this.selectedItemsSource
|
|
1071
|
+
this.selectedItemsTarget.set([]);
|
|
1072
|
+
if (this.keepSelection()) {
|
|
1073
|
+
this.selectedItemsSource.set([...this.selectedItemsSource(), ...itemsToMove]);
|
|
1062
1074
|
}
|
|
1063
1075
|
if (this.visibleOptionsTarget) {
|
|
1064
1076
|
// Update visible options
|
|
@@ -1086,9 +1098,9 @@ class PickList extends BaseComponent {
|
|
|
1086
1098
|
// Moving from source to target
|
|
1087
1099
|
let itemsToMove = [];
|
|
1088
1100
|
// Check if dragged item is in selected items
|
|
1089
|
-
if (this.selectedItemsSource && this.selectedItemsSource.length > 0 && findIndexInList(event.item.data, this.selectedItemsSource) !== -1) {
|
|
1101
|
+
if (this.selectedItemsSource() && this.selectedItemsSource().length > 0 && findIndexInList(event.item.data, this.selectedItemsSource()) !== -1) {
|
|
1090
1102
|
// Move all selected items
|
|
1091
|
-
itemsToMove = [...this.selectedItemsSource];
|
|
1103
|
+
itemsToMove = [...this.selectedItemsSource()];
|
|
1092
1104
|
}
|
|
1093
1105
|
else {
|
|
1094
1106
|
// Move only the dragged item
|
|
@@ -1108,9 +1120,9 @@ class PickList extends BaseComponent {
|
|
|
1108
1120
|
this.target()?.splice(dropIndexes.currentIndex + i, 0, sortedItems[i]);
|
|
1109
1121
|
}
|
|
1110
1122
|
// Clear source selection
|
|
1111
|
-
this.selectedItemsSource
|
|
1112
|
-
if (this.keepSelection) {
|
|
1113
|
-
this.selectedItemsTarget
|
|
1123
|
+
this.selectedItemsSource.set([]);
|
|
1124
|
+
if (this.keepSelection()) {
|
|
1125
|
+
this.selectedItemsTarget.set([...this.selectedItemsTarget(), ...itemsToMove]);
|
|
1114
1126
|
}
|
|
1115
1127
|
if (this.visibleOptionsSource) {
|
|
1116
1128
|
// Update visible options
|
|
@@ -1138,7 +1150,9 @@ class PickList extends BaseComponent {
|
|
|
1138
1150
|
if (isTransfer) {
|
|
1139
1151
|
this.triggerChangeDetection();
|
|
1140
1152
|
}
|
|
1141
|
-
|
|
1153
|
+
else {
|
|
1154
|
+
this.listsVersion.update((version) => version + 1);
|
|
1155
|
+
}
|
|
1142
1156
|
}
|
|
1143
1157
|
onListFocus(event, listType) {
|
|
1144
1158
|
this.onFocus.emit(event);
|
|
@@ -1165,10 +1179,10 @@ class PickList extends BaseComponent {
|
|
|
1165
1179
|
}
|
|
1166
1180
|
setSelectionList(listType, selectedItems) {
|
|
1167
1181
|
if (listType === this.SOURCE_LIST) {
|
|
1168
|
-
this.selectedItemsSource
|
|
1182
|
+
this.selectedItemsSource.set(selectedItems);
|
|
1169
1183
|
}
|
|
1170
1184
|
else {
|
|
1171
|
-
this.selectedItemsTarget
|
|
1185
|
+
this.selectedItemsTarget.set(selectedItems);
|
|
1172
1186
|
}
|
|
1173
1187
|
}
|
|
1174
1188
|
getDropIndexes(fromIndex, toIndex, droppedList, isTransfer, data) {
|
|
@@ -1208,8 +1222,8 @@ class PickList extends BaseComponent {
|
|
|
1208
1222
|
}
|
|
1209
1223
|
initMedia() {
|
|
1210
1224
|
if (isPlatformBrowser(this.platformId)) {
|
|
1211
|
-
this.media = this.document.defaultView?.matchMedia(`(max-width: ${this.breakpoint})`) || null;
|
|
1212
|
-
this.viewChanged
|
|
1225
|
+
this.media = this.document.defaultView?.matchMedia(`(max-width: ${this.breakpoint()})`) || null;
|
|
1226
|
+
this.viewChanged.set(this.media?.matches || false);
|
|
1213
1227
|
this.bindMediaChangeListener();
|
|
1214
1228
|
}
|
|
1215
1229
|
}
|
|
@@ -1219,8 +1233,7 @@ class PickList extends BaseComponent {
|
|
|
1219
1233
|
bindMediaChangeListener() {
|
|
1220
1234
|
if (this.media && !this.mediaChangeListener) {
|
|
1221
1235
|
this.mediaChangeListener = this.renderer.listen(this.media, 'change', (event) => {
|
|
1222
|
-
this.viewChanged
|
|
1223
|
-
this.cd.markForCheck();
|
|
1236
|
+
this.viewChanged.set(event.matches);
|
|
1224
1237
|
});
|
|
1225
1238
|
}
|
|
1226
1239
|
}
|
|
@@ -1239,7 +1252,7 @@ class PickList extends BaseComponent {
|
|
|
1239
1252
|
setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);
|
|
1240
1253
|
this.renderer.appendChild(this.document.head, this.styleElement);
|
|
1241
1254
|
let innerHTML = `
|
|
1242
|
-
@media screen and (max-width: ${this.breakpoint}) {
|
|
1255
|
+
@media screen and (max-width: ${this.breakpoint()}) {
|
|
1243
1256
|
.p-picklist[${this.id}] {
|
|
1244
1257
|
flex-direction: column;
|
|
1245
1258
|
}
|
|
@@ -1253,28 +1266,32 @@ class PickList extends BaseComponent {
|
|
|
1253
1266
|
}
|
|
1254
1267
|
}
|
|
1255
1268
|
}
|
|
1256
|
-
sourceMoveDisabled() {
|
|
1257
|
-
if (this.disabled || !this.selectedItemsSource.length) {
|
|
1269
|
+
sourceMoveDisabled = computed(() => {
|
|
1270
|
+
if (this.disabled() || !this.selectedItemsSource().length) {
|
|
1258
1271
|
return true;
|
|
1259
1272
|
}
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
|
|
1273
|
+
}, /* @ts-ignore */
|
|
1274
|
+
...(ngDevMode ? [{ debugName: "sourceMoveDisabled" }] : /* istanbul ignore next */ []));
|
|
1275
|
+
targetMoveDisabled = computed(() => {
|
|
1276
|
+
if (this.disabled() || !this.selectedItemsTarget().length) {
|
|
1263
1277
|
return true;
|
|
1264
1278
|
}
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
}
|
|
1269
|
-
moveLeftDisabled()
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
return this.disabled || isEmpty(this.source());
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1279
|
+
}, /* @ts-ignore */
|
|
1280
|
+
...(ngDevMode ? [{ debugName: "targetMoveDisabled" }] : /* istanbul ignore next */ []));
|
|
1281
|
+
moveRightDisabled = computed(() => this.disabled() || isEmpty(this.selectedItemsSource()), /* @ts-ignore */
|
|
1282
|
+
...(ngDevMode ? [{ debugName: "moveRightDisabled" }] : /* istanbul ignore next */ []));
|
|
1283
|
+
moveLeftDisabled = computed(() => this.disabled() || isEmpty(this.selectedItemsTarget()), /* @ts-ignore */
|
|
1284
|
+
...(ngDevMode ? [{ debugName: "moveLeftDisabled" }] : /* istanbul ignore next */ []));
|
|
1285
|
+
moveAllRightDisabled = computed(() => {
|
|
1286
|
+
this.listsVersion();
|
|
1287
|
+
return this.disabled() || isEmpty(this.source());
|
|
1288
|
+
}, /* @ts-ignore */
|
|
1289
|
+
...(ngDevMode ? [{ debugName: "moveAllRightDisabled" }] : /* istanbul ignore next */ []));
|
|
1290
|
+
moveAllLeftDisabled = computed(() => {
|
|
1291
|
+
this.listsVersion();
|
|
1292
|
+
return this.disabled() || isEmpty(this.target());
|
|
1293
|
+
}, /* @ts-ignore */
|
|
1294
|
+
...(ngDevMode ? [{ debugName: "moveAllLeftDisabled" }] : /* istanbul ignore next */ []));
|
|
1278
1295
|
destroyStyle() {
|
|
1279
1296
|
if (this.styleElement) {
|
|
1280
1297
|
this.renderer.removeChild(this.document.head, this.styleElement);
|
|
@@ -1286,101 +1303,112 @@ class PickList extends BaseComponent {
|
|
|
1286
1303
|
this.destroyStyle();
|
|
1287
1304
|
this.destroyMedia();
|
|
1288
1305
|
}
|
|
1289
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PickList, deps:
|
|
1290
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.2.1", type: PickList, isStandalone: true, selector: "p-pickList, p-picklist, p-pick-list", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: false, isRequired: false, transformFunction: null }, source: { classPropertyName: "source", publicName: "source", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, sourceHeader: { classPropertyName: "sourceHeader", publicName: "sourceHeader", isSignal: false, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, rightButtonAriaLabel: { classPropertyName: "rightButtonAriaLabel", publicName: "rightButtonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, leftButtonAriaLabel: { classPropertyName: "leftButtonAriaLabel", publicName: "leftButtonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, allRightButtonAriaLabel: { classPropertyName: "allRightButtonAriaLabel", publicName: "allRightButtonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, allLeftButtonAriaLabel: { classPropertyName: "allLeftButtonAriaLabel", publicName: "allLeftButtonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, upButtonAriaLabel: { classPropertyName: "upButtonAriaLabel", publicName: "upButtonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, downButtonAriaLabel: { classPropertyName: "downButtonAriaLabel", publicName: "downButtonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, topButtonAriaLabel: { classPropertyName: "topButtonAriaLabel", publicName: "topButtonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, bottomButtonAriaLabel: { classPropertyName: "bottomButtonAriaLabel", publicName: "bottomButtonAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, sourceAriaLabel: { classPropertyName: "sourceAriaLabel", publicName: "sourceAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, targetAriaLabel: { classPropertyName: "targetAriaLabel", publicName: "targetAriaLabel", isSignal: false, isRequired: false, transformFunction: null }, targetHeader: { classPropertyName: "targetHeader", publicName: "targetHeader", isSignal: false, isRequired: false, transformFunction: null }, responsive: { classPropertyName: "responsive", publicName: "responsive", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: false, isRequired: false, transformFunction: null }, sourceTrackBy: { classPropertyName: "sourceTrackBy", publicName: "sourceTrackBy", isSignal: false, isRequired: false, transformFunction: null }, targetTrackBy: { classPropertyName: "targetTrackBy", publicName: "targetTrackBy", isSignal: false, isRequired: false, transformFunction: null }, showSourceFilter: { classPropertyName: "showSourceFilter", publicName: "showSourceFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showTargetFilter: { classPropertyName: "showTargetFilter", publicName: "showTargetFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dragdrop: { classPropertyName: "dragdrop", publicName: "dragdrop", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, style: { classPropertyName: "style", publicName: "style", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, sourceStyle: { classPropertyName: "sourceStyle", publicName: "sourceStyle", isSignal: false, isRequired: false, transformFunction: null }, targetStyle: { classPropertyName: "targetStyle", publicName: "targetStyle", isSignal: false, isRequired: false, transformFunction: null }, showSourceControls: { classPropertyName: "showSourceControls", publicName: "showSourceControls", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showTargetControls: { classPropertyName: "showTargetControls", publicName: "showTargetControls", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, sourceFilterPlaceholder: { classPropertyName: "sourceFilterPlaceholder", publicName: "sourceFilterPlaceholder", isSignal: false, isRequired: false, transformFunction: null }, targetFilterPlaceholder: { classPropertyName: "targetFilterPlaceholder", publicName: "targetFilterPlaceholder", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, sourceOptionDisabled: { classPropertyName: "sourceOptionDisabled", publicName: "sourceOptionDisabled", isSignal: false, isRequired: false, transformFunction: null }, targetOptionDisabled: { classPropertyName: "targetOptionDisabled", publicName: "targetOptionDisabled", isSignal: false, isRequired: false, transformFunction: null }, ariaSourceFilterLabel: { classPropertyName: "ariaSourceFilterLabel", publicName: "ariaSourceFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, ariaTargetFilterLabel: { classPropertyName: "ariaTargetFilterLabel", publicName: "ariaTargetFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: false, isRequired: false, transformFunction: null }, stripedRows: { classPropertyName: "stripedRows", publicName: "stripedRows", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, keepSelection: { classPropertyName: "keepSelection", publicName: "keepSelection", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: false, isRequired: false, transformFunction: null }, moveUpButtonProps: { classPropertyName: "moveUpButtonProps", publicName: "moveUpButtonProps", isSignal: false, isRequired: false, transformFunction: null }, moveTopButtonProps: { classPropertyName: "moveTopButtonProps", publicName: "moveTopButtonProps", isSignal: false, isRequired: false, transformFunction: null }, moveDownButtonProps: { classPropertyName: "moveDownButtonProps", publicName: "moveDownButtonProps", isSignal: false, isRequired: false, transformFunction: null }, moveBottomButtonProps: { classPropertyName: "moveBottomButtonProps", publicName: "moveBottomButtonProps", isSignal: false, isRequired: false, transformFunction: null }, moveToTargetProps: { classPropertyName: "moveToTargetProps", publicName: "moveToTargetProps", isSignal: false, isRequired: false, transformFunction: null }, moveAllToTargetProps: { classPropertyName: "moveAllToTargetProps", publicName: "moveAllToTargetProps", isSignal: false, isRequired: false, transformFunction: null }, moveToSourceProps: { classPropertyName: "moveToSourceProps", publicName: "moveToSourceProps", isSignal: false, isRequired: false, transformFunction: null }, moveAllToSourceProps: { classPropertyName: "moveAllToSourceProps", publicName: "moveAllToSourceProps", isSignal: false, isRequired: false, transformFunction: null }, breakpoint: { classPropertyName: "breakpoint", publicName: "breakpoint", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { source: "sourceChange", target: "targetChange", onMoveToSource: "onMoveToSource", onMoveAllToSource: "onMoveAllToSource", onMoveAllToTarget: "onMoveAllToTarget", onMoveToTarget: "onMoveToTarget", onSourceReorder: "onSourceReorder", onTargetReorder: "onTargetReorder", onSourceSelect: "onSourceSelect", onTargetSelect: "onTargetSelect", onSourceFilter: "onSourceFilter", onTargetFilter: "onTargetFilter", onFocus: "onFocus", onBlur: "onBlur" }, providers: [PickListStyle, { provide: PARENT_INSTANCE, useExisting: PickList }, { provide: PICKLIST_INSTANCE, useExisting: PickList }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "sourceHeaderTemplate", first: true, predicate: ["sourceHeader"], isSignal: true }, { propertyName: "targetHeaderTemplate", first: true, predicate: ["targetHeader"], isSignal: true }, { propertyName: "sourceFilterTemplate", first: true, predicate: ["sourceFilter"], isSignal: true }, { propertyName: "targetFilterTemplate", first: true, predicate: ["targetFilter"], isSignal: true }, { propertyName: "emptyMessageSourceTemplate", first: true, predicate: ["emptymessagesource"], isSignal: true }, { propertyName: "emptyFilterMessageSourceTemplate", first: true, predicate: ["emptyfiltermessagesource"], isSignal: true }, { propertyName: "emptyMessageTargetTemplate", first: true, predicate: ["emptymessagetarget"], isSignal: true }, { propertyName: "emptyFilterMessageTargetTemplate", first: true, predicate: ["emptyfiltermessagetarget"], isSignal: true }, { propertyName: "moveUpIconTemplate", first: true, predicate: ["moveupicon"], isSignal: true }, { propertyName: "moveTopIconTemplate", first: true, predicate: ["movetopicon"], isSignal: true }, { propertyName: "moveDownIconTemplate", first: true, predicate: ["movedownicon"], isSignal: true }, { propertyName: "moveBottomIconTemplate", first: true, predicate: ["movebottomicon"], isSignal: true }, { propertyName: "moveToTargetIconTemplate", first: true, predicate: ["movetotargeticon"], isSignal: true }, { propertyName: "moveAllToTargetIconTemplate", first: true, predicate: ["movealltotargeticon"], isSignal: true }, { propertyName: "moveToSourceIconTemplate", first: true, predicate: ["movetosourceicon"], isSignal: true }, { propertyName: "moveAllToSourceIconTemplate", first: true, predicate: ["movealltosourceicon"], isSignal: true }, { propertyName: "targetFilterIconTemplate", first: true, predicate: ["targetfiltericon"], isSignal: true }, { propertyName: "sourceFilterIconTemplate", first: true, predicate: ["sourcefiltericon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "listViewSourceChild", first: true, predicate: ["sourcelist"], descendants: true, isSignal: true }, { propertyName: "listViewTargetChild", first: true, predicate: ["targetlist"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
1291
|
-
<div [ngStyle]="style" [class]="cn(cx('root'), styleClass)" cdkDropListGroup [pBind]="ptm('root')">
|
|
1292
|
-
|
|
1293
|
-
<
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1306
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PickList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1307
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: PickList, isStandalone: true, selector: "p-pickList, p-picklist, p-pick-list", inputs: { hostName: { classPropertyName: "hostName", publicName: "hostName", isSignal: true, isRequired: false, transformFunction: null }, source: { classPropertyName: "source", publicName: "source", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, sourceHeader: { classPropertyName: "sourceHeader", publicName: "sourceHeader", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, rightButtonAriaLabel: { classPropertyName: "rightButtonAriaLabel", publicName: "rightButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, leftButtonAriaLabel: { classPropertyName: "leftButtonAriaLabel", publicName: "leftButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, allRightButtonAriaLabel: { classPropertyName: "allRightButtonAriaLabel", publicName: "allRightButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, allLeftButtonAriaLabel: { classPropertyName: "allLeftButtonAriaLabel", publicName: "allLeftButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, upButtonAriaLabel: { classPropertyName: "upButtonAriaLabel", publicName: "upButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, downButtonAriaLabel: { classPropertyName: "downButtonAriaLabel", publicName: "downButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, topButtonAriaLabel: { classPropertyName: "topButtonAriaLabel", publicName: "topButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, bottomButtonAriaLabel: { classPropertyName: "bottomButtonAriaLabel", publicName: "bottomButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, sourceAriaLabel: { classPropertyName: "sourceAriaLabel", publicName: "sourceAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, targetAriaLabel: { classPropertyName: "targetAriaLabel", publicName: "targetAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, targetHeader: { classPropertyName: "targetHeader", publicName: "targetHeader", isSignal: true, isRequired: false, transformFunction: null }, responsive: { classPropertyName: "responsive", publicName: "responsive", isSignal: true, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: true, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, sourceTrackBy: { classPropertyName: "sourceTrackBy", publicName: "sourceTrackBy", isSignal: true, isRequired: false, transformFunction: null }, targetTrackBy: { classPropertyName: "targetTrackBy", publicName: "targetTrackBy", isSignal: true, isRequired: false, transformFunction: null }, showSourceFilter: { classPropertyName: "showSourceFilter", publicName: "showSourceFilter", isSignal: true, isRequired: false, transformFunction: null }, showTargetFilter: { classPropertyName: "showTargetFilter", publicName: "showTargetFilter", isSignal: true, isRequired: false, transformFunction: null }, metaKeySelection: { classPropertyName: "metaKeySelection", publicName: "metaKeySelection", isSignal: true, isRequired: false, transformFunction: null }, dragdrop: { classPropertyName: "dragdrop", publicName: "dragdrop", isSignal: true, isRequired: false, transformFunction: null }, style: { classPropertyName: "style", publicName: "style", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null }, sourceStyle: { classPropertyName: "sourceStyle", publicName: "sourceStyle", isSignal: true, isRequired: false, transformFunction: null }, targetStyle: { classPropertyName: "targetStyle", publicName: "targetStyle", isSignal: true, isRequired: false, transformFunction: null }, showSourceControls: { classPropertyName: "showSourceControls", publicName: "showSourceControls", isSignal: true, isRequired: false, transformFunction: null }, showTargetControls: { classPropertyName: "showTargetControls", publicName: "showTargetControls", isSignal: true, isRequired: false, transformFunction: null }, sourceFilterPlaceholder: { classPropertyName: "sourceFilterPlaceholder", publicName: "sourceFilterPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, targetFilterPlaceholder: { classPropertyName: "targetFilterPlaceholder", publicName: "targetFilterPlaceholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, sourceOptionDisabled: { classPropertyName: "sourceOptionDisabled", publicName: "sourceOptionDisabled", isSignal: true, isRequired: false, transformFunction: null }, targetOptionDisabled: { classPropertyName: "targetOptionDisabled", publicName: "targetOptionDisabled", isSignal: true, isRequired: false, transformFunction: null }, ariaSourceFilterLabel: { classPropertyName: "ariaSourceFilterLabel", publicName: "ariaSourceFilterLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaTargetFilterLabel: { classPropertyName: "ariaTargetFilterLabel", publicName: "ariaTargetFilterLabel", isSignal: true, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: true, isRequired: false, transformFunction: null }, stripedRows: { classPropertyName: "stripedRows", publicName: "stripedRows", isSignal: true, isRequired: false, transformFunction: null }, keepSelection: { classPropertyName: "keepSelection", publicName: "keepSelection", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, isRequired: false, transformFunction: null }, moveUpButtonProps: { classPropertyName: "moveUpButtonProps", publicName: "moveUpButtonProps", isSignal: true, isRequired: false, transformFunction: null }, moveTopButtonProps: { classPropertyName: "moveTopButtonProps", publicName: "moveTopButtonProps", isSignal: true, isRequired: false, transformFunction: null }, moveDownButtonProps: { classPropertyName: "moveDownButtonProps", publicName: "moveDownButtonProps", isSignal: true, isRequired: false, transformFunction: null }, moveBottomButtonProps: { classPropertyName: "moveBottomButtonProps", publicName: "moveBottomButtonProps", isSignal: true, isRequired: false, transformFunction: null }, moveToTargetProps: { classPropertyName: "moveToTargetProps", publicName: "moveToTargetProps", isSignal: true, isRequired: false, transformFunction: null }, moveAllToTargetProps: { classPropertyName: "moveAllToTargetProps", publicName: "moveAllToTargetProps", isSignal: true, isRequired: false, transformFunction: null }, moveToSourceProps: { classPropertyName: "moveToSourceProps", publicName: "moveToSourceProps", isSignal: true, isRequired: false, transformFunction: null }, moveAllToSourceProps: { classPropertyName: "moveAllToSourceProps", publicName: "moveAllToSourceProps", isSignal: true, isRequired: false, transformFunction: null }, breakpoint: { classPropertyName: "breakpoint", publicName: "breakpoint", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { source: "sourceChange", target: "targetChange", onMoveToSource: "onMoveToSource", onMoveAllToSource: "onMoveAllToSource", onMoveAllToTarget: "onMoveAllToTarget", onMoveToTarget: "onMoveToTarget", onSourceReorder: "onSourceReorder", onTargetReorder: "onTargetReorder", onSourceSelect: "onSourceSelect", onTargetSelect: "onTargetSelect", onSourceFilter: "onSourceFilter", onTargetFilter: "onTargetFilter", onFocus: "onFocus", onBlur: "onBlur" }, providers: [PickListStyle, { provide: PARENT_INSTANCE, useExisting: PickList }, { provide: PICKLIST_INSTANCE, useExisting: PickList }], queries: [{ propertyName: "itemTemplate", first: true, predicate: ["item"], isSignal: true }, { propertyName: "sourceHeaderTemplate", first: true, predicate: ["sourceHeader"], isSignal: true }, { propertyName: "targetHeaderTemplate", first: true, predicate: ["targetHeader"], isSignal: true }, { propertyName: "sourceFilterTemplate", first: true, predicate: ["sourceFilter"], isSignal: true }, { propertyName: "targetFilterTemplate", first: true, predicate: ["targetFilter"], isSignal: true }, { propertyName: "emptyMessageSourceTemplate", first: true, predicate: ["emptymessagesource"], isSignal: true }, { propertyName: "emptyFilterMessageSourceTemplate", first: true, predicate: ["emptyfiltermessagesource"], isSignal: true }, { propertyName: "emptyMessageTargetTemplate", first: true, predicate: ["emptymessagetarget"], isSignal: true }, { propertyName: "emptyFilterMessageTargetTemplate", first: true, predicate: ["emptyfiltermessagetarget"], isSignal: true }, { propertyName: "moveUpIconTemplate", first: true, predicate: ["moveupicon"], isSignal: true }, { propertyName: "moveTopIconTemplate", first: true, predicate: ["movetopicon"], isSignal: true }, { propertyName: "moveDownIconTemplate", first: true, predicate: ["movedownicon"], isSignal: true }, { propertyName: "moveBottomIconTemplate", first: true, predicate: ["movebottomicon"], isSignal: true }, { propertyName: "moveToTargetIconTemplate", first: true, predicate: ["movetotargeticon"], isSignal: true }, { propertyName: "moveAllToTargetIconTemplate", first: true, predicate: ["movealltotargeticon"], isSignal: true }, { propertyName: "moveToSourceIconTemplate", first: true, predicate: ["movetosourceicon"], isSignal: true }, { propertyName: "moveAllToSourceIconTemplate", first: true, predicate: ["movealltosourceicon"], isSignal: true }, { propertyName: "targetFilterIconTemplate", first: true, predicate: ["targetfiltericon"], isSignal: true }, { propertyName: "sourceFilterIconTemplate", first: true, predicate: ["sourcefiltericon"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], viewQueries: [{ propertyName: "listViewSourceChild", first: true, predicate: ["sourcelist"], descendants: true, isSignal: true }, { propertyName: "listViewTargetChild", first: true, predicate: ["targetlist"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
1308
|
+
<div [ngStyle]="style()" [class]="cn(cx('root'), styleClass())" cdkDropListGroup [pBind]="ptm('root')">
|
|
1309
|
+
@if (showSourceControls()) {
|
|
1310
|
+
<div [class]="cx('sourceControls')" [pBind]="ptm('sourceControls')" [attr.data-pc-group-section]="'controls'">
|
|
1311
|
+
<button
|
|
1312
|
+
type="button"
|
|
1313
|
+
[attr.aria-label]="moveUpAriaLabel()"
|
|
1314
|
+
pButton
|
|
1315
|
+
pRipple
|
|
1316
|
+
severity="secondary"
|
|
1317
|
+
[disabled]="sourceMoveDisabled()"
|
|
1318
|
+
(click)="moveUp(sourcelist, source(), selectedItemsSource(), onSourceReorder, SOURCE_LIST)"
|
|
1319
|
+
[buttonProps]="getButtonProps('moveup')"
|
|
1320
|
+
[pt]="ptm('pcSourceMoveUpButton')"
|
|
1321
|
+
[unstyled]="unstyled()"
|
|
1322
|
+
>
|
|
1323
|
+
@if (!moveUpIconTemplate() && !_moveUpIconTemplate()) {
|
|
1324
|
+
<svg data-p-icon="angle-up" [pt]="ptm('pcSourceMoveUpButton')['icon']" pButtonIcon />
|
|
1325
|
+
}
|
|
1326
|
+
<ng-template *ngTemplateOutlet="moveUpIconTemplate() || _moveUpIconTemplate()"></ng-template>
|
|
1327
|
+
</button>
|
|
1328
|
+
<button
|
|
1329
|
+
type="button"
|
|
1330
|
+
[attr.aria-label]="moveTopAriaLabel()"
|
|
1331
|
+
pButton
|
|
1332
|
+
pRipple
|
|
1333
|
+
severity="secondary"
|
|
1334
|
+
[disabled]="sourceMoveDisabled()"
|
|
1335
|
+
(click)="moveTop(sourcelist, source(), selectedItemsSource(), onSourceReorder, SOURCE_LIST)"
|
|
1336
|
+
[buttonProps]="getButtonProps('movetop')"
|
|
1337
|
+
[pt]="ptm('pcSourceMoveTopButton')"
|
|
1338
|
+
[unstyled]="unstyled()"
|
|
1339
|
+
>
|
|
1340
|
+
@if (!moveTopIconTemplate() && !_moveTopIconTemplate()) {
|
|
1341
|
+
<svg data-p-icon="angle-double-up" pButtonIcon [pt]="ptm('pcSourceMoveTopButton')['icon']" />
|
|
1342
|
+
}
|
|
1343
|
+
<ng-template *ngTemplateOutlet="moveTopIconTemplate() || _moveTopIconTemplate()"></ng-template>
|
|
1344
|
+
</button>
|
|
1345
|
+
<button
|
|
1346
|
+
type="button"
|
|
1347
|
+
[attr.aria-label]="moveDownAriaLabel()"
|
|
1348
|
+
pButton
|
|
1349
|
+
pRipple
|
|
1350
|
+
severity="secondary"
|
|
1351
|
+
[disabled]="sourceMoveDisabled()"
|
|
1352
|
+
(click)="moveDown(sourcelist, source(), selectedItemsSource(), onSourceReorder, SOURCE_LIST)"
|
|
1353
|
+
[buttonProps]="getButtonProps('movedown')"
|
|
1354
|
+
[pt]="ptm('pcSourceMoveDownButton')"
|
|
1355
|
+
[unstyled]="unstyled()"
|
|
1356
|
+
hostName="picklist"
|
|
1357
|
+
>
|
|
1358
|
+
@if (!moveDownIconTemplate() && !_moveDownIconTemplate()) {
|
|
1359
|
+
<svg data-p-icon="angle-down" pButtonIcon [pt]="ptm('pcSourceMoveDownButton')['icon']" />
|
|
1360
|
+
}
|
|
1361
|
+
<ng-template *ngTemplateOutlet="moveDownIconTemplate() || _moveDownIconTemplate()"></ng-template>
|
|
1362
|
+
</button>
|
|
1363
|
+
<button
|
|
1364
|
+
type="button"
|
|
1365
|
+
[attr.aria-label]="moveBottomAriaLabel()"
|
|
1366
|
+
pButton
|
|
1367
|
+
pRipple
|
|
1368
|
+
severity="secondary"
|
|
1369
|
+
[disabled]="sourceMoveDisabled()"
|
|
1370
|
+
(click)="moveBottom(sourcelist, source(), selectedItemsSource(), onSourceReorder, SOURCE_LIST)"
|
|
1371
|
+
[buttonProps]="getButtonProps('movebottom')"
|
|
1372
|
+
[pt]="ptm('pcSourceMoveBottomButton')"
|
|
1373
|
+
[unstyled]="unstyled()"
|
|
1374
|
+
hostName="picklist"
|
|
1375
|
+
>
|
|
1376
|
+
@if (!moveBottomIconTemplate() && !_moveBottomIconTemplate()) {
|
|
1377
|
+
<svg data-p-icon="angle-double-down" pButtonIcon [pt]="ptm('pcSourceMoveBottomButton')['icon']" />
|
|
1378
|
+
}
|
|
1379
|
+
<ng-template *ngTemplateOutlet="moveBottomIconTemplate() || _moveBottomIconTemplate()"></ng-template>
|
|
1380
|
+
</button>
|
|
1381
|
+
</div>
|
|
1382
|
+
}
|
|
1356
1383
|
<div [class]="cx('sourceListContainer')" [attr.data-pc-group-section]="'listcontainer'" [pBind]="ptm('sourceListContainer')">
|
|
1357
1384
|
<p-listbox
|
|
1358
1385
|
#sourcelist
|
|
1359
|
-
[ariaLabel]="sourceAriaLabel"
|
|
1386
|
+
[ariaLabel]="sourceAriaLabel()"
|
|
1360
1387
|
[multiple]="true"
|
|
1361
|
-
[options]="sourceOptions"
|
|
1362
|
-
[
|
|
1388
|
+
[options]="sourceOptions()"
|
|
1389
|
+
[ngModel]="selectedItemsSource()"
|
|
1390
|
+
(ngModelChange)="selectedItemsSource.set($event)"
|
|
1363
1391
|
[ngModelOptions]="{ standalone: true }"
|
|
1364
|
-
[optionLabel]="dataKey ?? 'name'"
|
|
1365
|
-
[id]="idSource + '_list'"
|
|
1366
|
-
[listStyle]="sourceStyle"
|
|
1367
|
-
[striped]="stripedRows"
|
|
1368
|
-
[tabindex]="tabindex"
|
|
1392
|
+
[optionLabel]="dataKey() ?? 'name'"
|
|
1393
|
+
[id]="idSource() + '_list'"
|
|
1394
|
+
[listStyle]="sourceStyle()"
|
|
1395
|
+
[striped]="stripedRows()"
|
|
1396
|
+
[tabindex]="tabindex()"
|
|
1369
1397
|
(onFocus)="onListFocus($event, SOURCE_LIST)"
|
|
1370
1398
|
(onBlur)="onListBlur($event, SOURCE_LIST)"
|
|
1371
1399
|
(onChange)="onChangeSelection($event, SOURCE_LIST)"
|
|
1372
1400
|
(onDblClick)="onSourceItemDblClick()"
|
|
1373
|
-
[disabled]="disabled"
|
|
1374
|
-
[optionDisabled]="sourceOptionDisabled"
|
|
1375
|
-
[metaKeySelection]="metaKeySelection"
|
|
1376
|
-
[scrollHeight]="scrollHeight"
|
|
1377
|
-
[autoOptionFocus]="autoOptionFocus"
|
|
1378
|
-
[filter]="filterBy && showSourceFilter"
|
|
1379
|
-
[filterBy]="filterBy"
|
|
1380
|
-
[filterLocale]="filterLocale"
|
|
1381
|
-
[filterMatchMode]="filterMatchMode"
|
|
1382
|
-
[filterPlaceHolder]="sourceFilterPlaceholder"
|
|
1383
|
-
[dragdrop]="dragdrop"
|
|
1401
|
+
[disabled]="disabled()"
|
|
1402
|
+
[optionDisabled]="sourceOptionDisabled()"
|
|
1403
|
+
[metaKeySelection]="metaKeySelection()"
|
|
1404
|
+
[scrollHeight]="scrollHeight()"
|
|
1405
|
+
[autoOptionFocus]="autoOptionFocus()"
|
|
1406
|
+
[filter]="filterBy() && showSourceFilter()"
|
|
1407
|
+
[filterBy]="filterBy()"
|
|
1408
|
+
[filterLocale]="filterLocale()"
|
|
1409
|
+
[filterMatchMode]="filterMatchMode()"
|
|
1410
|
+
[filterPlaceHolder]="sourceFilterPlaceholder()"
|
|
1411
|
+
[dragdrop]="dragdrop()"
|
|
1384
1412
|
[dropListData]="source()"
|
|
1385
1413
|
(onDrop)="onDrop($event, SOURCE_LIST)"
|
|
1386
1414
|
(onFilter)="onFilter($event.originalEvent, SOURCE_LIST)"
|
|
@@ -1389,41 +1417,43 @@ class PickList extends BaseComponent {
|
|
|
1389
1417
|
[attr.data-pc-group-section]="'list'"
|
|
1390
1418
|
[unstyled]="unstyled()"
|
|
1391
1419
|
>
|
|
1392
|
-
|
|
1420
|
+
@if (sourceHeaderTemplate() || _sourceHeaderTemplate() || sourceHeader()) {
|
|
1393
1421
|
<ng-template #header>
|
|
1394
|
-
|
|
1395
|
-
|
|
1422
|
+
@if (!sourceHeaderTemplate() && !_sourceHeaderTemplate()) {
|
|
1423
|
+
<div>{{ sourceHeader() }}</div>
|
|
1424
|
+
}
|
|
1425
|
+
<ng-template *ngTemplateOutlet="sourceHeaderTemplate() || _sourceHeaderTemplate()"></ng-template>
|
|
1396
1426
|
</ng-template>
|
|
1397
|
-
|
|
1398
|
-
|
|
1427
|
+
}
|
|
1428
|
+
@if (sourceFilterTemplate() || _sourceFilterTemplate()) {
|
|
1399
1429
|
<ng-template #filter>
|
|
1400
|
-
<ng-template *ngTemplateOutlet="sourceFilterTemplate() || _sourceFilterTemplate; context: { options: sourceFilterOptions }"></ng-template>
|
|
1430
|
+
<ng-template *ngTemplateOutlet="sourceFilterTemplate() || _sourceFilterTemplate(); context: { options: sourceFilterOptions() }"></ng-template>
|
|
1401
1431
|
</ng-template>
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
<ng-container *ngTemplateOutlet="sourceFilterIconTemplate() || _sourceFilterIconTemplate"></ng-container>
|
|
1405
|
-
|
|
1406
|
-
|
|
1432
|
+
}
|
|
1433
|
+
@if (sourceFilterIconTemplate() || _sourceFilterIconTemplate()) {
|
|
1434
|
+
<ng-container *ngTemplateOutlet="sourceFilterIconTemplate() || _sourceFilterIconTemplate()"></ng-container>
|
|
1435
|
+
}
|
|
1436
|
+
@if (itemTemplate() || _itemTemplate()) {
|
|
1407
1437
|
<ng-template #item let-item let-index="index" let-selected="selected" let-disabled="disabled">
|
|
1408
|
-
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }"></ng-container>
|
|
1438
|
+
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item, index: index, selected: selected, disabled: disabled }"></ng-container>
|
|
1409
1439
|
</ng-template>
|
|
1410
|
-
|
|
1411
|
-
|
|
1440
|
+
}
|
|
1441
|
+
@if (emptyMessageSourceTemplate() || _emptyMessageSourceTemplate()) {
|
|
1412
1442
|
<ng-template #empty>
|
|
1413
|
-
<ng-container *ngTemplateOutlet="emptyMessageSourceTemplate() || _emptyMessageSourceTemplate"></ng-container>
|
|
1443
|
+
<ng-container *ngTemplateOutlet="emptyMessageSourceTemplate() || _emptyMessageSourceTemplate()"></ng-container>
|
|
1414
1444
|
</ng-template>
|
|
1415
|
-
|
|
1416
|
-
|
|
1445
|
+
}
|
|
1446
|
+
@if (emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate()) {
|
|
1417
1447
|
<ng-template #emptyfilter>
|
|
1418
|
-
<ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate"></ng-container>
|
|
1448
|
+
<ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate()"></ng-container>
|
|
1419
1449
|
</ng-template>
|
|
1420
|
-
|
|
1450
|
+
}
|
|
1421
1451
|
</p-listbox>
|
|
1422
1452
|
</div>
|
|
1423
1453
|
<div [class]="cx('transferControls')" [attr.data-pc-group-section]="'controls'" [pBind]="ptm('transferControls')">
|
|
1424
1454
|
<button
|
|
1425
1455
|
type="button"
|
|
1426
|
-
[attr.aria-label]="moveToTargetAriaLabel"
|
|
1456
|
+
[attr.aria-label]="moveToTargetAriaLabel()"
|
|
1427
1457
|
pButton
|
|
1428
1458
|
pRipple
|
|
1429
1459
|
severity="secondary"
|
|
@@ -1434,15 +1464,19 @@ class PickList extends BaseComponent {
|
|
|
1434
1464
|
hostName="picklist"
|
|
1435
1465
|
[unstyled]="unstyled()"
|
|
1436
1466
|
>
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1467
|
+
@if (!moveToTargetIconTemplate() && !_moveToTargetIconTemplate()) {
|
|
1468
|
+
@if (!viewChanged()) {
|
|
1469
|
+
<svg data-p-icon="angle-right" pButtonIcon [pt]="ptm('pcMoveToTargetButton')['icon']" />
|
|
1470
|
+
}
|
|
1471
|
+
@if (viewChanged()) {
|
|
1472
|
+
<svg data-p-icon="angle-down" pButtonIcon [pt]="ptm('pcMoveToTargetButton')['icon']" />
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
<ng-template *ngTemplateOutlet="moveToTargetIconTemplate() || _moveToTargetIconTemplate(); context: { $implicit: viewChanged() }"></ng-template>
|
|
1442
1476
|
</button>
|
|
1443
1477
|
<button
|
|
1444
1478
|
type="button"
|
|
1445
|
-
[attr.aria-label]="moveAllToTargetAriaLabel"
|
|
1479
|
+
[attr.aria-label]="moveAllToTargetAriaLabel()"
|
|
1446
1480
|
pButton
|
|
1447
1481
|
pRipple
|
|
1448
1482
|
severity="secondary"
|
|
@@ -1452,15 +1486,19 @@ class PickList extends BaseComponent {
|
|
|
1452
1486
|
[pt]="ptm('pcMoveAllToTargetButton')"
|
|
1453
1487
|
[unstyled]="unstyled()"
|
|
1454
1488
|
>
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1489
|
+
@if (!moveAllToTargetIconTemplate() && !_moveAllToTargetIconTemplate()) {
|
|
1490
|
+
@if (!viewChanged()) {
|
|
1491
|
+
<svg data-p-icon="angle-double-right" pButtonIcon [pt]="ptm('pcMoveAllToTargetButton')['icon']" />
|
|
1492
|
+
}
|
|
1493
|
+
@if (viewChanged()) {
|
|
1494
|
+
<svg data-p-icon="angle-double-down" pButtonIcon [pt]="ptm('pcMoveAllToTargetButton')['icon']" />
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
<ng-template *ngTemplateOutlet="moveAllToTargetIconTemplate() || _moveAllToTargetIconTemplate(); context: { $implicit: viewChanged() }"></ng-template>
|
|
1460
1498
|
</button>
|
|
1461
1499
|
<button
|
|
1462
1500
|
type="button"
|
|
1463
|
-
[attr.aria-label]="moveToSourceAriaLabel"
|
|
1501
|
+
[attr.aria-label]="moveToSourceAriaLabel()"
|
|
1464
1502
|
pButton
|
|
1465
1503
|
pRipple
|
|
1466
1504
|
severity="secondary"
|
|
@@ -1471,15 +1509,19 @@ class PickList extends BaseComponent {
|
|
|
1471
1509
|
hostName="picklist"
|
|
1472
1510
|
[unstyled]="unstyled()"
|
|
1473
1511
|
>
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1512
|
+
@if (!moveToSourceIconTemplate() && !_moveToSourceIconTemplate()) {
|
|
1513
|
+
@if (!viewChanged()) {
|
|
1514
|
+
<svg data-p-icon="angle-left" pButtonIcon [pt]="ptm('pcMoveToSourceButton')['icon']" />
|
|
1515
|
+
}
|
|
1516
|
+
@if (viewChanged()) {
|
|
1517
|
+
<svg data-p-icon="angle-up" pButtonIcon [pt]="ptm('pcMoveToSourceButton')['icon']" />
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
<ng-template *ngTemplateOutlet="moveToSourceIconTemplate() || _moveToSourceIconTemplate(); context: { $implicit: viewChanged() }"></ng-template>
|
|
1479
1521
|
</button>
|
|
1480
1522
|
<button
|
|
1481
1523
|
type="button"
|
|
1482
|
-
[attr.aria-label]="moveAllToSourceAriaLabel"
|
|
1524
|
+
[attr.aria-label]="moveAllToSourceAriaLabel()"
|
|
1483
1525
|
pButton
|
|
1484
1526
|
pRipple
|
|
1485
1527
|
severity="secondary"
|
|
@@ -1490,41 +1532,46 @@ class PickList extends BaseComponent {
|
|
|
1490
1532
|
hostName="picklist"
|
|
1491
1533
|
[unstyled]="unstyled()"
|
|
1492
1534
|
>
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1535
|
+
@if (!moveAllToSourceIconTemplate() && !_moveAllToSourceIconTemplate()) {
|
|
1536
|
+
@if (!viewChanged()) {
|
|
1537
|
+
<svg data-p-icon="angle-double-left" pButtonIcon [pt]="ptm('pcMoveAllToSourceButton')['icon']" />
|
|
1538
|
+
}
|
|
1539
|
+
@if (viewChanged()) {
|
|
1540
|
+
<svg data-p-icon="angle-double-up" pButtonIcon [pt]="ptm('pcMoveAllToSourceButton')['icon']" />
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
<ng-template *ngTemplateOutlet="moveAllToSourceIconTemplate() || _moveAllToSourceIconTemplate(); context: { $implicit: viewChanged() }"></ng-template>
|
|
1498
1544
|
</button>
|
|
1499
1545
|
</div>
|
|
1500
1546
|
<div [class]="cx('targetListContainer')" [attr.data-pc-group-section]="'listcontainer'" [pBind]="ptm('targetListContainer')">
|
|
1501
1547
|
<p-listbox
|
|
1502
1548
|
#targetlist
|
|
1503
|
-
[ariaLabel]="targetAriaLabel"
|
|
1549
|
+
[ariaLabel]="targetAriaLabel()"
|
|
1504
1550
|
[multiple]="true"
|
|
1505
|
-
[options]="targetOptions"
|
|
1506
|
-
[
|
|
1551
|
+
[options]="targetOptions()"
|
|
1552
|
+
[ngModel]="selectedItemsTarget()"
|
|
1553
|
+
(ngModelChange)="selectedItemsTarget.set($event)"
|
|
1507
1554
|
[ngModelOptions]="{ standalone: true }"
|
|
1508
|
-
[optionLabel]="dataKey ?? 'name'"
|
|
1509
|
-
[id]="idTarget + '_list'"
|
|
1510
|
-
[listStyle]="targetStyle"
|
|
1511
|
-
[striped]="stripedRows"
|
|
1512
|
-
[tabindex]="tabindex"
|
|
1555
|
+
[optionLabel]="dataKey() ?? 'name'"
|
|
1556
|
+
[id]="idTarget() + '_list'"
|
|
1557
|
+
[listStyle]="targetStyle()"
|
|
1558
|
+
[striped]="stripedRows()"
|
|
1559
|
+
[tabindex]="tabindex()"
|
|
1513
1560
|
(onFocus)="onListFocus($event, TARGET_LIST)"
|
|
1514
1561
|
(onBlur)="onListBlur($event, TARGET_LIST)"
|
|
1515
1562
|
(onChange)="onChangeSelection($event, TARGET_LIST)"
|
|
1516
1563
|
(onDblClick)="onTargetItemDblClick()"
|
|
1517
|
-
[disabled]="disabled"
|
|
1518
|
-
[optionDisabled]="targetOptionDisabled"
|
|
1519
|
-
[metaKeySelection]="metaKeySelection"
|
|
1520
|
-
[scrollHeight]="scrollHeight"
|
|
1521
|
-
[autoOptionFocus]="autoOptionFocus"
|
|
1522
|
-
[filter]="filterBy && showTargetFilter"
|
|
1523
|
-
[filterBy]="filterBy"
|
|
1524
|
-
[filterLocale]="filterLocale"
|
|
1525
|
-
[filterMatchMode]="filterMatchMode"
|
|
1526
|
-
[filterPlaceHolder]="targetFilterPlaceholder"
|
|
1527
|
-
[dragdrop]="dragdrop"
|
|
1564
|
+
[disabled]="disabled()"
|
|
1565
|
+
[optionDisabled]="targetOptionDisabled()"
|
|
1566
|
+
[metaKeySelection]="metaKeySelection()"
|
|
1567
|
+
[scrollHeight]="scrollHeight()"
|
|
1568
|
+
[autoOptionFocus]="autoOptionFocus()"
|
|
1569
|
+
[filter]="filterBy() && showTargetFilter()"
|
|
1570
|
+
[filterBy]="filterBy()"
|
|
1571
|
+
[filterLocale]="filterLocale()"
|
|
1572
|
+
[filterMatchMode]="filterMatchMode()"
|
|
1573
|
+
[filterPlaceHolder]="targetFilterPlaceholder()"
|
|
1574
|
+
[dragdrop]="dragdrop()"
|
|
1528
1575
|
[dropListData]="target()"
|
|
1529
1576
|
(onDrop)="onDrop($event, TARGET_LIST)"
|
|
1530
1577
|
(onFilter)="onFilter($event.originalEvent, TARGET_LIST)"
|
|
@@ -1533,111 +1580,122 @@ class PickList extends BaseComponent {
|
|
|
1533
1580
|
hostName="picklist"
|
|
1534
1581
|
[unstyled]="unstyled()"
|
|
1535
1582
|
>
|
|
1536
|
-
|
|
1583
|
+
@if (targetHeaderTemplate() || _targetHeaderTemplate() || targetHeader()) {
|
|
1537
1584
|
<ng-template #header>
|
|
1538
|
-
|
|
1539
|
-
|
|
1585
|
+
@if (!targetHeaderTemplate() && !_targetHeaderTemplate()) {
|
|
1586
|
+
<div>{{ targetHeader() }}</div>
|
|
1587
|
+
}
|
|
1588
|
+
<ng-template *ngTemplateOutlet="targetHeaderTemplate() || _targetHeaderTemplate()"></ng-template>
|
|
1540
1589
|
</ng-template>
|
|
1541
|
-
|
|
1542
|
-
|
|
1590
|
+
}
|
|
1591
|
+
@if (targetFilterTemplate() || _targetFilterTemplate()) {
|
|
1543
1592
|
<ng-template #filter>
|
|
1544
|
-
<ng-template *ngTemplateOutlet="targetFilterTemplate() || _targetFilterTemplate; context: { options: targetFilterOptions }"></ng-template>
|
|
1593
|
+
<ng-template *ngTemplateOutlet="targetFilterTemplate() || _targetFilterTemplate(); context: { options: targetFilterOptions() }"></ng-template>
|
|
1545
1594
|
</ng-template>
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
<ng-container *ngTemplateOutlet="targetFilterIconTemplate() || _targetFilterIconTemplate"></ng-container>
|
|
1549
|
-
|
|
1550
|
-
|
|
1595
|
+
}
|
|
1596
|
+
@if (targetFilterIconTemplate() || _targetFilterIconTemplate()) {
|
|
1597
|
+
<ng-container *ngTemplateOutlet="targetFilterIconTemplate() || _targetFilterIconTemplate()"></ng-container>
|
|
1598
|
+
}
|
|
1599
|
+
@if (itemTemplate() || _itemTemplate()) {
|
|
1551
1600
|
<ng-template #item let-item let-index="index" let-selected="selected" let-disabled="disabled">
|
|
1552
|
-
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }"></ng-container>
|
|
1601
|
+
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item, index: index, selected: selected, disabled: disabled }"></ng-container>
|
|
1553
1602
|
</ng-template>
|
|
1554
|
-
|
|
1555
|
-
|
|
1603
|
+
}
|
|
1604
|
+
@if (emptyMessageTargetTemplate() || _emptyMessageTargetTemplate()) {
|
|
1556
1605
|
<ng-template #empty>
|
|
1557
|
-
<ng-container *ngTemplateOutlet="emptyMessageTargetTemplate() || _emptyMessageTargetTemplate"></ng-container>
|
|
1606
|
+
<ng-container *ngTemplateOutlet="emptyMessageTargetTemplate() || _emptyMessageTargetTemplate()"></ng-container>
|
|
1558
1607
|
</ng-template>
|
|
1559
|
-
|
|
1560
|
-
|
|
1608
|
+
}
|
|
1609
|
+
@if (emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate()) {
|
|
1561
1610
|
<ng-template #emptyfilter>
|
|
1562
|
-
<ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate"></ng-container>
|
|
1611
|
+
<ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate()"></ng-container>
|
|
1563
1612
|
</ng-template>
|
|
1564
|
-
|
|
1613
|
+
}
|
|
1565
1614
|
</p-listbox>
|
|
1566
1615
|
</div>
|
|
1567
|
-
|
|
1568
|
-
<
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1616
|
+
@if (showTargetControls()) {
|
|
1617
|
+
<div [class]="cx('targetControls')" [attr.data-pc-group-section]="'controls'" [pBind]="ptm('targetControls')">
|
|
1618
|
+
<button
|
|
1619
|
+
type="button"
|
|
1620
|
+
[attr.aria-label]="moveUpAriaLabel()"
|
|
1621
|
+
pButton
|
|
1622
|
+
pRipple
|
|
1623
|
+
severity="secondary"
|
|
1624
|
+
[disabled]="targetMoveDisabled()"
|
|
1625
|
+
(click)="moveUp(targetlist, target(), selectedItemsTarget(), onTargetReorder, TARGET_LIST)"
|
|
1626
|
+
[buttonProps]="getButtonProps('moveup')"
|
|
1627
|
+
[pt]="ptm('pcTargetMoveUpButton')"
|
|
1628
|
+
hostName="picklist"
|
|
1629
|
+
[unstyled]="unstyled()"
|
|
1630
|
+
>
|
|
1631
|
+
@if (!moveUpIconTemplate() && !_moveUpIconTemplate()) {
|
|
1632
|
+
<svg data-p-icon="angle-up" pButtonIcon [pt]="ptm('pcTargetMoveUpButton')['icon']" />
|
|
1633
|
+
}
|
|
1634
|
+
<ng-template *ngTemplateOutlet="moveUpIconTemplate() || _moveUpIconTemplate()"></ng-template>
|
|
1635
|
+
</button>
|
|
1636
|
+
<button
|
|
1637
|
+
type="button"
|
|
1638
|
+
[attr.aria-label]="moveTopAriaLabel()"
|
|
1639
|
+
pButton
|
|
1640
|
+
pRipple
|
|
1641
|
+
severity="secondary"
|
|
1642
|
+
[disabled]="targetMoveDisabled()"
|
|
1643
|
+
(click)="moveTop(targetlist, target(), selectedItemsTarget(), onTargetReorder, TARGET_LIST)"
|
|
1644
|
+
[buttonProps]="getButtonProps('movetop')"
|
|
1645
|
+
[pt]="ptm('pcTargetMoveTopButton')"
|
|
1646
|
+
hostName="picklist"
|
|
1647
|
+
[unstyled]="unstyled()"
|
|
1648
|
+
>
|
|
1649
|
+
@if (!moveTopIconTemplate() && !_moveTopIconTemplate()) {
|
|
1650
|
+
<svg data-p-icon="angle-double-up" pButtonIcon [pt]="ptm('pcTargetMoveTopButton')['icon']" />
|
|
1651
|
+
}
|
|
1652
|
+
<ng-template *ngTemplateOutlet="moveTopIconTemplate() || _moveTopIconTemplate()"></ng-template>
|
|
1653
|
+
</button>
|
|
1654
|
+
<button
|
|
1655
|
+
type="button"
|
|
1656
|
+
[attr.aria-label]="moveDownAriaLabel()"
|
|
1657
|
+
pButton
|
|
1658
|
+
pRipple
|
|
1659
|
+
severity="secondary"
|
|
1660
|
+
[disabled]="targetMoveDisabled()"
|
|
1661
|
+
(click)="moveDown(targetlist, target(), selectedItemsTarget(), onTargetReorder, TARGET_LIST)"
|
|
1662
|
+
[buttonProps]="getButtonProps('movedown')"
|
|
1663
|
+
[pt]="ptm('pcTargetMoveDownButton')"
|
|
1664
|
+
hostName="picklist"
|
|
1665
|
+
[unstyled]="unstyled()"
|
|
1666
|
+
>
|
|
1667
|
+
@if (!moveDownIconTemplate() && !_moveDownIconTemplate()) {
|
|
1668
|
+
<svg data-p-icon="angle-down" pButtonIcon [pt]="ptm('pcTargetMoveDownButton')['icon']" />
|
|
1669
|
+
}
|
|
1670
|
+
<ng-template *ngTemplateOutlet="moveDownIconTemplate() || _moveDownIconTemplate()"></ng-template>
|
|
1671
|
+
</button>
|
|
1672
|
+
<button
|
|
1673
|
+
type="button"
|
|
1674
|
+
[attr.aria-label]="moveBottomAriaLabel()"
|
|
1675
|
+
pButton
|
|
1676
|
+
pRipple
|
|
1677
|
+
severity="secondary"
|
|
1678
|
+
[disabled]="targetMoveDisabled()"
|
|
1679
|
+
(click)="moveBottom(targetlist, target(), selectedItemsTarget(), onTargetReorder, TARGET_LIST)"
|
|
1680
|
+
[buttonProps]="getButtonProps('movebottom')"
|
|
1681
|
+
[pt]="ptm('pcTargetMoveBottomButton')"
|
|
1682
|
+
hostName="picklist"
|
|
1683
|
+
[unstyled]="unstyled()"
|
|
1684
|
+
>
|
|
1685
|
+
@if (!moveBottomIconTemplate() && !_moveBottomIconTemplate()) {
|
|
1686
|
+
<svg data-p-icon="angle-double-down" pButtonIcon [pt]="ptm('pcTargetMoveBottomButton')['icon']" />
|
|
1687
|
+
}
|
|
1688
|
+
<ng-template *ngTemplateOutlet="moveBottomIconTemplate() || _moveBottomIconTemplate()"></ng-template>
|
|
1689
|
+
</button>
|
|
1690
|
+
</div>
|
|
1691
|
+
}
|
|
1633
1692
|
</div>
|
|
1634
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.
|
|
1693
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i3.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "directive", type: i3.ButtonIcon, selector: "[pButtonIcon]", inputs: ["ptButtonIcon", "pButtonIconPT", "pButtonUnstyled"] }, { kind: "directive", type: Ripple, selector: "[pRipple]" }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i4.CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: ["cdkDropListGroupDisabled"], exportAs: ["cdkDropListGroup"] }, { kind: "component", type: AngleDoubleDownIcon, selector: "[data-p-icon=\"angle-double-down\"]" }, { kind: "component", type: AngleDoubleLeftIcon, selector: "[data-p-icon=\"angle-double-left\"]" }, { kind: "component", type: AngleDoubleRightIcon, selector: "[data-p-icon=\"angle-double-right\"]" }, { kind: "component", type: AngleDoubleUpIcon, selector: "[data-p-icon=\"angle-double-up\"]" }, { kind: "component", type: AngleDownIcon, selector: "[data-p-icon=\"angle-down\"]" }, { kind: "component", type: AngleLeftIcon, selector: "[data-p-icon=\"angle-left\"]" }, { kind: "component", type: AngleRightIcon, selector: "[data-p-icon=\"angle-right\"]" }, { kind: "component", type: AngleUpIcon, selector: "[data-p-icon=\"angle-up\"]" }, { kind: "component", type: Listbox, selector: "p-listbox, p-listBox, p-list-box", inputs: ["hostName", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "ariaLabel", "selectOnFocus", "searchLocale", "focusOnHover", "filterMessage", "filterFields", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "scrollHeight", "tabindex", "multiple", "listStyle", "listStyleClass", "readonly", "checkbox", "filter", "filterBy", "filterMatchMode", "filterLocale", "metaKeySelection", "dataKey", "showToggleAll", "optionLabel", "optionValue", "optionGroupChildren", "optionGroupLabel", "optionDisabled", "ariaFilterLabel", "filterPlaceHolder", "emptyFilterMessage", "emptyMessage", "group", "options", "filterValue", "selectAll", "striped", "highlightOnSelect", "checkmark", "dragdrop", "dropListData", "fluid"], outputs: ["onChange", "onClick", "onDblClick", "onFilter", "onFocus", "onBlur", "onSelectAllChange", "onLazyLoad", "onDrop"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SharedModule }, { kind: "ngmodule", type: BindModule }, { kind: "directive", type: i1.Bind, selector: "[pBind]", inputs: ["pBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1635
1694
|
}
|
|
1636
1695
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PickList, decorators: [{
|
|
1637
1696
|
type: Component,
|
|
1638
1697
|
args: [{
|
|
1639
1698
|
selector: 'p-pickList, p-picklist, p-pick-list',
|
|
1640
|
-
standalone: true,
|
|
1641
1699
|
imports: [
|
|
1642
1700
|
CommonModule,
|
|
1643
1701
|
ButtonModule,
|
|
@@ -1657,99 +1715,110 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1657
1715
|
BindModule
|
|
1658
1716
|
],
|
|
1659
1717
|
template: `
|
|
1660
|
-
<div [ngStyle]="style" [class]="cn(cx('root'), styleClass)" cdkDropListGroup [pBind]="ptm('root')">
|
|
1661
|
-
|
|
1662
|
-
<
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1718
|
+
<div [ngStyle]="style()" [class]="cn(cx('root'), styleClass())" cdkDropListGroup [pBind]="ptm('root')">
|
|
1719
|
+
@if (showSourceControls()) {
|
|
1720
|
+
<div [class]="cx('sourceControls')" [pBind]="ptm('sourceControls')" [attr.data-pc-group-section]="'controls'">
|
|
1721
|
+
<button
|
|
1722
|
+
type="button"
|
|
1723
|
+
[attr.aria-label]="moveUpAriaLabel()"
|
|
1724
|
+
pButton
|
|
1725
|
+
pRipple
|
|
1726
|
+
severity="secondary"
|
|
1727
|
+
[disabled]="sourceMoveDisabled()"
|
|
1728
|
+
(click)="moveUp(sourcelist, source(), selectedItemsSource(), onSourceReorder, SOURCE_LIST)"
|
|
1729
|
+
[buttonProps]="getButtonProps('moveup')"
|
|
1730
|
+
[pt]="ptm('pcSourceMoveUpButton')"
|
|
1731
|
+
[unstyled]="unstyled()"
|
|
1732
|
+
>
|
|
1733
|
+
@if (!moveUpIconTemplate() && !_moveUpIconTemplate()) {
|
|
1734
|
+
<svg data-p-icon="angle-up" [pt]="ptm('pcSourceMoveUpButton')['icon']" pButtonIcon />
|
|
1735
|
+
}
|
|
1736
|
+
<ng-template *ngTemplateOutlet="moveUpIconTemplate() || _moveUpIconTemplate()"></ng-template>
|
|
1737
|
+
</button>
|
|
1738
|
+
<button
|
|
1739
|
+
type="button"
|
|
1740
|
+
[attr.aria-label]="moveTopAriaLabel()"
|
|
1741
|
+
pButton
|
|
1742
|
+
pRipple
|
|
1743
|
+
severity="secondary"
|
|
1744
|
+
[disabled]="sourceMoveDisabled()"
|
|
1745
|
+
(click)="moveTop(sourcelist, source(), selectedItemsSource(), onSourceReorder, SOURCE_LIST)"
|
|
1746
|
+
[buttonProps]="getButtonProps('movetop')"
|
|
1747
|
+
[pt]="ptm('pcSourceMoveTopButton')"
|
|
1748
|
+
[unstyled]="unstyled()"
|
|
1749
|
+
>
|
|
1750
|
+
@if (!moveTopIconTemplate() && !_moveTopIconTemplate()) {
|
|
1751
|
+
<svg data-p-icon="angle-double-up" pButtonIcon [pt]="ptm('pcSourceMoveTopButton')['icon']" />
|
|
1752
|
+
}
|
|
1753
|
+
<ng-template *ngTemplateOutlet="moveTopIconTemplate() || _moveTopIconTemplate()"></ng-template>
|
|
1754
|
+
</button>
|
|
1755
|
+
<button
|
|
1756
|
+
type="button"
|
|
1757
|
+
[attr.aria-label]="moveDownAriaLabel()"
|
|
1758
|
+
pButton
|
|
1759
|
+
pRipple
|
|
1760
|
+
severity="secondary"
|
|
1761
|
+
[disabled]="sourceMoveDisabled()"
|
|
1762
|
+
(click)="moveDown(sourcelist, source(), selectedItemsSource(), onSourceReorder, SOURCE_LIST)"
|
|
1763
|
+
[buttonProps]="getButtonProps('movedown')"
|
|
1764
|
+
[pt]="ptm('pcSourceMoveDownButton')"
|
|
1765
|
+
[unstyled]="unstyled()"
|
|
1766
|
+
hostName="picklist"
|
|
1767
|
+
>
|
|
1768
|
+
@if (!moveDownIconTemplate() && !_moveDownIconTemplate()) {
|
|
1769
|
+
<svg data-p-icon="angle-down" pButtonIcon [pt]="ptm('pcSourceMoveDownButton')['icon']" />
|
|
1770
|
+
}
|
|
1771
|
+
<ng-template *ngTemplateOutlet="moveDownIconTemplate() || _moveDownIconTemplate()"></ng-template>
|
|
1772
|
+
</button>
|
|
1773
|
+
<button
|
|
1774
|
+
type="button"
|
|
1775
|
+
[attr.aria-label]="moveBottomAriaLabel()"
|
|
1776
|
+
pButton
|
|
1777
|
+
pRipple
|
|
1778
|
+
severity="secondary"
|
|
1779
|
+
[disabled]="sourceMoveDisabled()"
|
|
1780
|
+
(click)="moveBottom(sourcelist, source(), selectedItemsSource(), onSourceReorder, SOURCE_LIST)"
|
|
1781
|
+
[buttonProps]="getButtonProps('movebottom')"
|
|
1782
|
+
[pt]="ptm('pcSourceMoveBottomButton')"
|
|
1783
|
+
[unstyled]="unstyled()"
|
|
1784
|
+
hostName="picklist"
|
|
1785
|
+
>
|
|
1786
|
+
@if (!moveBottomIconTemplate() && !_moveBottomIconTemplate()) {
|
|
1787
|
+
<svg data-p-icon="angle-double-down" pButtonIcon [pt]="ptm('pcSourceMoveBottomButton')['icon']" />
|
|
1788
|
+
}
|
|
1789
|
+
<ng-template *ngTemplateOutlet="moveBottomIconTemplate() || _moveBottomIconTemplate()"></ng-template>
|
|
1790
|
+
</button>
|
|
1791
|
+
</div>
|
|
1792
|
+
}
|
|
1725
1793
|
<div [class]="cx('sourceListContainer')" [attr.data-pc-group-section]="'listcontainer'" [pBind]="ptm('sourceListContainer')">
|
|
1726
1794
|
<p-listbox
|
|
1727
1795
|
#sourcelist
|
|
1728
|
-
[ariaLabel]="sourceAriaLabel"
|
|
1796
|
+
[ariaLabel]="sourceAriaLabel()"
|
|
1729
1797
|
[multiple]="true"
|
|
1730
|
-
[options]="sourceOptions"
|
|
1731
|
-
[
|
|
1798
|
+
[options]="sourceOptions()"
|
|
1799
|
+
[ngModel]="selectedItemsSource()"
|
|
1800
|
+
(ngModelChange)="selectedItemsSource.set($event)"
|
|
1732
1801
|
[ngModelOptions]="{ standalone: true }"
|
|
1733
|
-
[optionLabel]="dataKey ?? 'name'"
|
|
1734
|
-
[id]="idSource + '_list'"
|
|
1735
|
-
[listStyle]="sourceStyle"
|
|
1736
|
-
[striped]="stripedRows"
|
|
1737
|
-
[tabindex]="tabindex"
|
|
1802
|
+
[optionLabel]="dataKey() ?? 'name'"
|
|
1803
|
+
[id]="idSource() + '_list'"
|
|
1804
|
+
[listStyle]="sourceStyle()"
|
|
1805
|
+
[striped]="stripedRows()"
|
|
1806
|
+
[tabindex]="tabindex()"
|
|
1738
1807
|
(onFocus)="onListFocus($event, SOURCE_LIST)"
|
|
1739
1808
|
(onBlur)="onListBlur($event, SOURCE_LIST)"
|
|
1740
1809
|
(onChange)="onChangeSelection($event, SOURCE_LIST)"
|
|
1741
1810
|
(onDblClick)="onSourceItemDblClick()"
|
|
1742
|
-
[disabled]="disabled"
|
|
1743
|
-
[optionDisabled]="sourceOptionDisabled"
|
|
1744
|
-
[metaKeySelection]="metaKeySelection"
|
|
1745
|
-
[scrollHeight]="scrollHeight"
|
|
1746
|
-
[autoOptionFocus]="autoOptionFocus"
|
|
1747
|
-
[filter]="filterBy && showSourceFilter"
|
|
1748
|
-
[filterBy]="filterBy"
|
|
1749
|
-
[filterLocale]="filterLocale"
|
|
1750
|
-
[filterMatchMode]="filterMatchMode"
|
|
1751
|
-
[filterPlaceHolder]="sourceFilterPlaceholder"
|
|
1752
|
-
[dragdrop]="dragdrop"
|
|
1811
|
+
[disabled]="disabled()"
|
|
1812
|
+
[optionDisabled]="sourceOptionDisabled()"
|
|
1813
|
+
[metaKeySelection]="metaKeySelection()"
|
|
1814
|
+
[scrollHeight]="scrollHeight()"
|
|
1815
|
+
[autoOptionFocus]="autoOptionFocus()"
|
|
1816
|
+
[filter]="filterBy() && showSourceFilter()"
|
|
1817
|
+
[filterBy]="filterBy()"
|
|
1818
|
+
[filterLocale]="filterLocale()"
|
|
1819
|
+
[filterMatchMode]="filterMatchMode()"
|
|
1820
|
+
[filterPlaceHolder]="sourceFilterPlaceholder()"
|
|
1821
|
+
[dragdrop]="dragdrop()"
|
|
1753
1822
|
[dropListData]="source()"
|
|
1754
1823
|
(onDrop)="onDrop($event, SOURCE_LIST)"
|
|
1755
1824
|
(onFilter)="onFilter($event.originalEvent, SOURCE_LIST)"
|
|
@@ -1758,41 +1827,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1758
1827
|
[attr.data-pc-group-section]="'list'"
|
|
1759
1828
|
[unstyled]="unstyled()"
|
|
1760
1829
|
>
|
|
1761
|
-
|
|
1830
|
+
@if (sourceHeaderTemplate() || _sourceHeaderTemplate() || sourceHeader()) {
|
|
1762
1831
|
<ng-template #header>
|
|
1763
|
-
|
|
1764
|
-
|
|
1832
|
+
@if (!sourceHeaderTemplate() && !_sourceHeaderTemplate()) {
|
|
1833
|
+
<div>{{ sourceHeader() }}</div>
|
|
1834
|
+
}
|
|
1835
|
+
<ng-template *ngTemplateOutlet="sourceHeaderTemplate() || _sourceHeaderTemplate()"></ng-template>
|
|
1765
1836
|
</ng-template>
|
|
1766
|
-
|
|
1767
|
-
|
|
1837
|
+
}
|
|
1838
|
+
@if (sourceFilterTemplate() || _sourceFilterTemplate()) {
|
|
1768
1839
|
<ng-template #filter>
|
|
1769
|
-
<ng-template *ngTemplateOutlet="sourceFilterTemplate() || _sourceFilterTemplate; context: { options: sourceFilterOptions }"></ng-template>
|
|
1840
|
+
<ng-template *ngTemplateOutlet="sourceFilterTemplate() || _sourceFilterTemplate(); context: { options: sourceFilterOptions() }"></ng-template>
|
|
1770
1841
|
</ng-template>
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
<ng-container *ngTemplateOutlet="sourceFilterIconTemplate() || _sourceFilterIconTemplate"></ng-container>
|
|
1774
|
-
|
|
1775
|
-
|
|
1842
|
+
}
|
|
1843
|
+
@if (sourceFilterIconTemplate() || _sourceFilterIconTemplate()) {
|
|
1844
|
+
<ng-container *ngTemplateOutlet="sourceFilterIconTemplate() || _sourceFilterIconTemplate()"></ng-container>
|
|
1845
|
+
}
|
|
1846
|
+
@if (itemTemplate() || _itemTemplate()) {
|
|
1776
1847
|
<ng-template #item let-item let-index="index" let-selected="selected" let-disabled="disabled">
|
|
1777
|
-
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }"></ng-container>
|
|
1848
|
+
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item, index: index, selected: selected, disabled: disabled }"></ng-container>
|
|
1778
1849
|
</ng-template>
|
|
1779
|
-
|
|
1780
|
-
|
|
1850
|
+
}
|
|
1851
|
+
@if (emptyMessageSourceTemplate() || _emptyMessageSourceTemplate()) {
|
|
1781
1852
|
<ng-template #empty>
|
|
1782
|
-
<ng-container *ngTemplateOutlet="emptyMessageSourceTemplate() || _emptyMessageSourceTemplate"></ng-container>
|
|
1853
|
+
<ng-container *ngTemplateOutlet="emptyMessageSourceTemplate() || _emptyMessageSourceTemplate()"></ng-container>
|
|
1783
1854
|
</ng-template>
|
|
1784
|
-
|
|
1785
|
-
|
|
1855
|
+
}
|
|
1856
|
+
@if (emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate()) {
|
|
1786
1857
|
<ng-template #emptyfilter>
|
|
1787
|
-
<ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate"></ng-container>
|
|
1858
|
+
<ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate()"></ng-container>
|
|
1788
1859
|
</ng-template>
|
|
1789
|
-
|
|
1860
|
+
}
|
|
1790
1861
|
</p-listbox>
|
|
1791
1862
|
</div>
|
|
1792
1863
|
<div [class]="cx('transferControls')" [attr.data-pc-group-section]="'controls'" [pBind]="ptm('transferControls')">
|
|
1793
1864
|
<button
|
|
1794
1865
|
type="button"
|
|
1795
|
-
[attr.aria-label]="moveToTargetAriaLabel"
|
|
1866
|
+
[attr.aria-label]="moveToTargetAriaLabel()"
|
|
1796
1867
|
pButton
|
|
1797
1868
|
pRipple
|
|
1798
1869
|
severity="secondary"
|
|
@@ -1803,15 +1874,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1803
1874
|
hostName="picklist"
|
|
1804
1875
|
[unstyled]="unstyled()"
|
|
1805
1876
|
>
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1877
|
+
@if (!moveToTargetIconTemplate() && !_moveToTargetIconTemplate()) {
|
|
1878
|
+
@if (!viewChanged()) {
|
|
1879
|
+
<svg data-p-icon="angle-right" pButtonIcon [pt]="ptm('pcMoveToTargetButton')['icon']" />
|
|
1880
|
+
}
|
|
1881
|
+
@if (viewChanged()) {
|
|
1882
|
+
<svg data-p-icon="angle-down" pButtonIcon [pt]="ptm('pcMoveToTargetButton')['icon']" />
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
<ng-template *ngTemplateOutlet="moveToTargetIconTemplate() || _moveToTargetIconTemplate(); context: { $implicit: viewChanged() }"></ng-template>
|
|
1811
1886
|
</button>
|
|
1812
1887
|
<button
|
|
1813
1888
|
type="button"
|
|
1814
|
-
[attr.aria-label]="moveAllToTargetAriaLabel"
|
|
1889
|
+
[attr.aria-label]="moveAllToTargetAriaLabel()"
|
|
1815
1890
|
pButton
|
|
1816
1891
|
pRipple
|
|
1817
1892
|
severity="secondary"
|
|
@@ -1821,15 +1896,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1821
1896
|
[pt]="ptm('pcMoveAllToTargetButton')"
|
|
1822
1897
|
[unstyled]="unstyled()"
|
|
1823
1898
|
>
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1899
|
+
@if (!moveAllToTargetIconTemplate() && !_moveAllToTargetIconTemplate()) {
|
|
1900
|
+
@if (!viewChanged()) {
|
|
1901
|
+
<svg data-p-icon="angle-double-right" pButtonIcon [pt]="ptm('pcMoveAllToTargetButton')['icon']" />
|
|
1902
|
+
}
|
|
1903
|
+
@if (viewChanged()) {
|
|
1904
|
+
<svg data-p-icon="angle-double-down" pButtonIcon [pt]="ptm('pcMoveAllToTargetButton')['icon']" />
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
<ng-template *ngTemplateOutlet="moveAllToTargetIconTemplate() || _moveAllToTargetIconTemplate(); context: { $implicit: viewChanged() }"></ng-template>
|
|
1829
1908
|
</button>
|
|
1830
1909
|
<button
|
|
1831
1910
|
type="button"
|
|
1832
|
-
[attr.aria-label]="moveToSourceAriaLabel"
|
|
1911
|
+
[attr.aria-label]="moveToSourceAriaLabel()"
|
|
1833
1912
|
pButton
|
|
1834
1913
|
pRipple
|
|
1835
1914
|
severity="secondary"
|
|
@@ -1840,15 +1919,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1840
1919
|
hostName="picklist"
|
|
1841
1920
|
[unstyled]="unstyled()"
|
|
1842
1921
|
>
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1922
|
+
@if (!moveToSourceIconTemplate() && !_moveToSourceIconTemplate()) {
|
|
1923
|
+
@if (!viewChanged()) {
|
|
1924
|
+
<svg data-p-icon="angle-left" pButtonIcon [pt]="ptm('pcMoveToSourceButton')['icon']" />
|
|
1925
|
+
}
|
|
1926
|
+
@if (viewChanged()) {
|
|
1927
|
+
<svg data-p-icon="angle-up" pButtonIcon [pt]="ptm('pcMoveToSourceButton')['icon']" />
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
<ng-template *ngTemplateOutlet="moveToSourceIconTemplate() || _moveToSourceIconTemplate(); context: { $implicit: viewChanged() }"></ng-template>
|
|
1848
1931
|
</button>
|
|
1849
1932
|
<button
|
|
1850
1933
|
type="button"
|
|
1851
|
-
[attr.aria-label]="moveAllToSourceAriaLabel"
|
|
1934
|
+
[attr.aria-label]="moveAllToSourceAriaLabel()"
|
|
1852
1935
|
pButton
|
|
1853
1936
|
pRipple
|
|
1854
1937
|
severity="secondary"
|
|
@@ -1859,41 +1942,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1859
1942
|
hostName="picklist"
|
|
1860
1943
|
[unstyled]="unstyled()"
|
|
1861
1944
|
>
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1945
|
+
@if (!moveAllToSourceIconTemplate() && !_moveAllToSourceIconTemplate()) {
|
|
1946
|
+
@if (!viewChanged()) {
|
|
1947
|
+
<svg data-p-icon="angle-double-left" pButtonIcon [pt]="ptm('pcMoveAllToSourceButton')['icon']" />
|
|
1948
|
+
}
|
|
1949
|
+
@if (viewChanged()) {
|
|
1950
|
+
<svg data-p-icon="angle-double-up" pButtonIcon [pt]="ptm('pcMoveAllToSourceButton')['icon']" />
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
<ng-template *ngTemplateOutlet="moveAllToSourceIconTemplate() || _moveAllToSourceIconTemplate(); context: { $implicit: viewChanged() }"></ng-template>
|
|
1867
1954
|
</button>
|
|
1868
1955
|
</div>
|
|
1869
1956
|
<div [class]="cx('targetListContainer')" [attr.data-pc-group-section]="'listcontainer'" [pBind]="ptm('targetListContainer')">
|
|
1870
1957
|
<p-listbox
|
|
1871
1958
|
#targetlist
|
|
1872
|
-
[ariaLabel]="targetAriaLabel"
|
|
1959
|
+
[ariaLabel]="targetAriaLabel()"
|
|
1873
1960
|
[multiple]="true"
|
|
1874
|
-
[options]="targetOptions"
|
|
1875
|
-
[
|
|
1961
|
+
[options]="targetOptions()"
|
|
1962
|
+
[ngModel]="selectedItemsTarget()"
|
|
1963
|
+
(ngModelChange)="selectedItemsTarget.set($event)"
|
|
1876
1964
|
[ngModelOptions]="{ standalone: true }"
|
|
1877
|
-
[optionLabel]="dataKey ?? 'name'"
|
|
1878
|
-
[id]="idTarget + '_list'"
|
|
1879
|
-
[listStyle]="targetStyle"
|
|
1880
|
-
[striped]="stripedRows"
|
|
1881
|
-
[tabindex]="tabindex"
|
|
1965
|
+
[optionLabel]="dataKey() ?? 'name'"
|
|
1966
|
+
[id]="idTarget() + '_list'"
|
|
1967
|
+
[listStyle]="targetStyle()"
|
|
1968
|
+
[striped]="stripedRows()"
|
|
1969
|
+
[tabindex]="tabindex()"
|
|
1882
1970
|
(onFocus)="onListFocus($event, TARGET_LIST)"
|
|
1883
1971
|
(onBlur)="onListBlur($event, TARGET_LIST)"
|
|
1884
1972
|
(onChange)="onChangeSelection($event, TARGET_LIST)"
|
|
1885
1973
|
(onDblClick)="onTargetItemDblClick()"
|
|
1886
|
-
[disabled]="disabled"
|
|
1887
|
-
[optionDisabled]="targetOptionDisabled"
|
|
1888
|
-
[metaKeySelection]="metaKeySelection"
|
|
1889
|
-
[scrollHeight]="scrollHeight"
|
|
1890
|
-
[autoOptionFocus]="autoOptionFocus"
|
|
1891
|
-
[filter]="filterBy && showTargetFilter"
|
|
1892
|
-
[filterBy]="filterBy"
|
|
1893
|
-
[filterLocale]="filterLocale"
|
|
1894
|
-
[filterMatchMode]="filterMatchMode"
|
|
1895
|
-
[filterPlaceHolder]="targetFilterPlaceholder"
|
|
1896
|
-
[dragdrop]="dragdrop"
|
|
1974
|
+
[disabled]="disabled()"
|
|
1975
|
+
[optionDisabled]="targetOptionDisabled()"
|
|
1976
|
+
[metaKeySelection]="metaKeySelection()"
|
|
1977
|
+
[scrollHeight]="scrollHeight()"
|
|
1978
|
+
[autoOptionFocus]="autoOptionFocus()"
|
|
1979
|
+
[filter]="filterBy() && showTargetFilter()"
|
|
1980
|
+
[filterBy]="filterBy()"
|
|
1981
|
+
[filterLocale]="filterLocale()"
|
|
1982
|
+
[filterMatchMode]="filterMatchMode()"
|
|
1983
|
+
[filterPlaceHolder]="targetFilterPlaceholder()"
|
|
1984
|
+
[dragdrop]="dragdrop()"
|
|
1897
1985
|
[dropListData]="target()"
|
|
1898
1986
|
(onDrop)="onDrop($event, TARGET_LIST)"
|
|
1899
1987
|
(onFilter)="onFilter($event.originalEvent, TARGET_LIST)"
|
|
@@ -1902,103 +1990,115 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
1902
1990
|
hostName="picklist"
|
|
1903
1991
|
[unstyled]="unstyled()"
|
|
1904
1992
|
>
|
|
1905
|
-
|
|
1993
|
+
@if (targetHeaderTemplate() || _targetHeaderTemplate() || targetHeader()) {
|
|
1906
1994
|
<ng-template #header>
|
|
1907
|
-
|
|
1908
|
-
|
|
1995
|
+
@if (!targetHeaderTemplate() && !_targetHeaderTemplate()) {
|
|
1996
|
+
<div>{{ targetHeader() }}</div>
|
|
1997
|
+
}
|
|
1998
|
+
<ng-template *ngTemplateOutlet="targetHeaderTemplate() || _targetHeaderTemplate()"></ng-template>
|
|
1909
1999
|
</ng-template>
|
|
1910
|
-
|
|
1911
|
-
|
|
2000
|
+
}
|
|
2001
|
+
@if (targetFilterTemplate() || _targetFilterTemplate()) {
|
|
1912
2002
|
<ng-template #filter>
|
|
1913
|
-
<ng-template *ngTemplateOutlet="targetFilterTemplate() || _targetFilterTemplate; context: { options: targetFilterOptions }"></ng-template>
|
|
2003
|
+
<ng-template *ngTemplateOutlet="targetFilterTemplate() || _targetFilterTemplate(); context: { options: targetFilterOptions() }"></ng-template>
|
|
1914
2004
|
</ng-template>
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
<ng-container *ngTemplateOutlet="targetFilterIconTemplate() || _targetFilterIconTemplate"></ng-container>
|
|
1918
|
-
|
|
1919
|
-
|
|
2005
|
+
}
|
|
2006
|
+
@if (targetFilterIconTemplate() || _targetFilterIconTemplate()) {
|
|
2007
|
+
<ng-container *ngTemplateOutlet="targetFilterIconTemplate() || _targetFilterIconTemplate()"></ng-container>
|
|
2008
|
+
}
|
|
2009
|
+
@if (itemTemplate() || _itemTemplate()) {
|
|
1920
2010
|
<ng-template #item let-item let-index="index" let-selected="selected" let-disabled="disabled">
|
|
1921
|
-
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }"></ng-container>
|
|
2011
|
+
<ng-container *ngTemplateOutlet="itemTemplate() || _itemTemplate(); context: { $implicit: item, index: index, selected: selected, disabled: disabled }"></ng-container>
|
|
1922
2012
|
</ng-template>
|
|
1923
|
-
|
|
1924
|
-
|
|
2013
|
+
}
|
|
2014
|
+
@if (emptyMessageTargetTemplate() || _emptyMessageTargetTemplate()) {
|
|
1925
2015
|
<ng-template #empty>
|
|
1926
|
-
<ng-container *ngTemplateOutlet="emptyMessageTargetTemplate() || _emptyMessageTargetTemplate"></ng-container>
|
|
2016
|
+
<ng-container *ngTemplateOutlet="emptyMessageTargetTemplate() || _emptyMessageTargetTemplate()"></ng-container>
|
|
1927
2017
|
</ng-template>
|
|
1928
|
-
|
|
1929
|
-
|
|
2018
|
+
}
|
|
2019
|
+
@if (emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate()) {
|
|
1930
2020
|
<ng-template #emptyfilter>
|
|
1931
|
-
<ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate"></ng-container>
|
|
2021
|
+
<ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate()"></ng-container>
|
|
1932
2022
|
</ng-template>
|
|
1933
|
-
|
|
2023
|
+
}
|
|
1934
2024
|
</p-listbox>
|
|
1935
2025
|
</div>
|
|
1936
|
-
|
|
1937
|
-
<
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2026
|
+
@if (showTargetControls()) {
|
|
2027
|
+
<div [class]="cx('targetControls')" [attr.data-pc-group-section]="'controls'" [pBind]="ptm('targetControls')">
|
|
2028
|
+
<button
|
|
2029
|
+
type="button"
|
|
2030
|
+
[attr.aria-label]="moveUpAriaLabel()"
|
|
2031
|
+
pButton
|
|
2032
|
+
pRipple
|
|
2033
|
+
severity="secondary"
|
|
2034
|
+
[disabled]="targetMoveDisabled()"
|
|
2035
|
+
(click)="moveUp(targetlist, target(), selectedItemsTarget(), onTargetReorder, TARGET_LIST)"
|
|
2036
|
+
[buttonProps]="getButtonProps('moveup')"
|
|
2037
|
+
[pt]="ptm('pcTargetMoveUpButton')"
|
|
2038
|
+
hostName="picklist"
|
|
2039
|
+
[unstyled]="unstyled()"
|
|
2040
|
+
>
|
|
2041
|
+
@if (!moveUpIconTemplate() && !_moveUpIconTemplate()) {
|
|
2042
|
+
<svg data-p-icon="angle-up" pButtonIcon [pt]="ptm('pcTargetMoveUpButton')['icon']" />
|
|
2043
|
+
}
|
|
2044
|
+
<ng-template *ngTemplateOutlet="moveUpIconTemplate() || _moveUpIconTemplate()"></ng-template>
|
|
2045
|
+
</button>
|
|
2046
|
+
<button
|
|
2047
|
+
type="button"
|
|
2048
|
+
[attr.aria-label]="moveTopAriaLabel()"
|
|
2049
|
+
pButton
|
|
2050
|
+
pRipple
|
|
2051
|
+
severity="secondary"
|
|
2052
|
+
[disabled]="targetMoveDisabled()"
|
|
2053
|
+
(click)="moveTop(targetlist, target(), selectedItemsTarget(), onTargetReorder, TARGET_LIST)"
|
|
2054
|
+
[buttonProps]="getButtonProps('movetop')"
|
|
2055
|
+
[pt]="ptm('pcTargetMoveTopButton')"
|
|
2056
|
+
hostName="picklist"
|
|
2057
|
+
[unstyled]="unstyled()"
|
|
2058
|
+
>
|
|
2059
|
+
@if (!moveTopIconTemplate() && !_moveTopIconTemplate()) {
|
|
2060
|
+
<svg data-p-icon="angle-double-up" pButtonIcon [pt]="ptm('pcTargetMoveTopButton')['icon']" />
|
|
2061
|
+
}
|
|
2062
|
+
<ng-template *ngTemplateOutlet="moveTopIconTemplate() || _moveTopIconTemplate()"></ng-template>
|
|
2063
|
+
</button>
|
|
2064
|
+
<button
|
|
2065
|
+
type="button"
|
|
2066
|
+
[attr.aria-label]="moveDownAriaLabel()"
|
|
2067
|
+
pButton
|
|
2068
|
+
pRipple
|
|
2069
|
+
severity="secondary"
|
|
2070
|
+
[disabled]="targetMoveDisabled()"
|
|
2071
|
+
(click)="moveDown(targetlist, target(), selectedItemsTarget(), onTargetReorder, TARGET_LIST)"
|
|
2072
|
+
[buttonProps]="getButtonProps('movedown')"
|
|
2073
|
+
[pt]="ptm('pcTargetMoveDownButton')"
|
|
2074
|
+
hostName="picklist"
|
|
2075
|
+
[unstyled]="unstyled()"
|
|
2076
|
+
>
|
|
2077
|
+
@if (!moveDownIconTemplate() && !_moveDownIconTemplate()) {
|
|
2078
|
+
<svg data-p-icon="angle-down" pButtonIcon [pt]="ptm('pcTargetMoveDownButton')['icon']" />
|
|
2079
|
+
}
|
|
2080
|
+
<ng-template *ngTemplateOutlet="moveDownIconTemplate() || _moveDownIconTemplate()"></ng-template>
|
|
2081
|
+
</button>
|
|
2082
|
+
<button
|
|
2083
|
+
type="button"
|
|
2084
|
+
[attr.aria-label]="moveBottomAriaLabel()"
|
|
2085
|
+
pButton
|
|
2086
|
+
pRipple
|
|
2087
|
+
severity="secondary"
|
|
2088
|
+
[disabled]="targetMoveDisabled()"
|
|
2089
|
+
(click)="moveBottom(targetlist, target(), selectedItemsTarget(), onTargetReorder, TARGET_LIST)"
|
|
2090
|
+
[buttonProps]="getButtonProps('movebottom')"
|
|
2091
|
+
[pt]="ptm('pcTargetMoveBottomButton')"
|
|
2092
|
+
hostName="picklist"
|
|
2093
|
+
[unstyled]="unstyled()"
|
|
2094
|
+
>
|
|
2095
|
+
@if (!moveBottomIconTemplate() && !_moveBottomIconTemplate()) {
|
|
2096
|
+
<svg data-p-icon="angle-double-down" pButtonIcon [pt]="ptm('pcTargetMoveBottomButton')['icon']" />
|
|
2097
|
+
}
|
|
2098
|
+
<ng-template *ngTemplateOutlet="moveBottomIconTemplate() || _moveBottomIconTemplate()"></ng-template>
|
|
2099
|
+
</button>
|
|
2100
|
+
</div>
|
|
2101
|
+
}
|
|
2002
2102
|
</div>
|
|
2003
2103
|
`,
|
|
2004
2104
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2006,125 +2106,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
|
|
|
2006
2106
|
providers: [PickListStyle, { provide: PARENT_INSTANCE, useExisting: PickList }, { provide: PICKLIST_INSTANCE, useExisting: PickList }],
|
|
2007
2107
|
hostDirectives: [Bind]
|
|
2008
2108
|
}]
|
|
2009
|
-
}], propDecorators: { hostName: [{
|
|
2010
|
-
type: Input
|
|
2011
|
-
}], source: [{ type: i0.Input, args: [{ isSignal: true, alias: "source", required: false }] }, { type: i0.Output, args: ["sourceChange"] }], target: [{ type: i0.Input, args: [{ isSignal: true, alias: "target", required: false }] }, { type: i0.Output, args: ["targetChange"] }], dataKey: [{
|
|
2012
|
-
type: Input
|
|
2013
|
-
}], sourceHeader: [{
|
|
2014
|
-
type: Input
|
|
2015
|
-
}], tabindex: [{
|
|
2016
|
-
type: Input,
|
|
2017
|
-
args: [{ transform: numberAttribute }]
|
|
2018
|
-
}], rightButtonAriaLabel: [{
|
|
2019
|
-
type: Input
|
|
2020
|
-
}], leftButtonAriaLabel: [{
|
|
2021
|
-
type: Input
|
|
2022
|
-
}], allRightButtonAriaLabel: [{
|
|
2023
|
-
type: Input
|
|
2024
|
-
}], allLeftButtonAriaLabel: [{
|
|
2025
|
-
type: Input
|
|
2026
|
-
}], upButtonAriaLabel: [{
|
|
2027
|
-
type: Input
|
|
2028
|
-
}], downButtonAriaLabel: [{
|
|
2029
|
-
type: Input
|
|
2030
|
-
}], topButtonAriaLabel: [{
|
|
2031
|
-
type: Input
|
|
2032
|
-
}], bottomButtonAriaLabel: [{
|
|
2033
|
-
type: Input
|
|
2034
|
-
}], sourceAriaLabel: [{
|
|
2035
|
-
type: Input
|
|
2036
|
-
}], targetAriaLabel: [{
|
|
2037
|
-
type: Input
|
|
2038
|
-
}], targetHeader: [{
|
|
2039
|
-
type: Input
|
|
2040
|
-
}], responsive: [{
|
|
2041
|
-
type: Input,
|
|
2042
|
-
args: [{ transform: booleanAttribute }]
|
|
2043
|
-
}], filterBy: [{
|
|
2044
|
-
type: Input
|
|
2045
|
-
}], filterLocale: [{
|
|
2046
|
-
type: Input
|
|
2047
|
-
}], trackBy: [{
|
|
2048
|
-
type: Input
|
|
2049
|
-
}], sourceTrackBy: [{
|
|
2050
|
-
type: Input
|
|
2051
|
-
}], targetTrackBy: [{
|
|
2052
|
-
type: Input
|
|
2053
|
-
}], showSourceFilter: [{
|
|
2054
|
-
type: Input,
|
|
2055
|
-
args: [{ transform: booleanAttribute }]
|
|
2056
|
-
}], showTargetFilter: [{
|
|
2057
|
-
type: Input,
|
|
2058
|
-
args: [{ transform: booleanAttribute }]
|
|
2059
|
-
}], metaKeySelection: [{
|
|
2060
|
-
type: Input,
|
|
2061
|
-
args: [{ transform: booleanAttribute }]
|
|
2062
|
-
}], dragdrop: [{
|
|
2063
|
-
type: Input,
|
|
2064
|
-
args: [{ transform: booleanAttribute }]
|
|
2065
|
-
}], style: [{
|
|
2066
|
-
type: Input
|
|
2067
|
-
}], styleClass: [{
|
|
2068
|
-
type: Input
|
|
2069
|
-
}], sourceStyle: [{
|
|
2070
|
-
type: Input
|
|
2071
|
-
}], targetStyle: [{
|
|
2072
|
-
type: Input
|
|
2073
|
-
}], showSourceControls: [{
|
|
2074
|
-
type: Input,
|
|
2075
|
-
args: [{ transform: booleanAttribute }]
|
|
2076
|
-
}], showTargetControls: [{
|
|
2077
|
-
type: Input,
|
|
2078
|
-
args: [{ transform: booleanAttribute }]
|
|
2079
|
-
}], sourceFilterPlaceholder: [{
|
|
2080
|
-
type: Input
|
|
2081
|
-
}], targetFilterPlaceholder: [{
|
|
2082
|
-
type: Input
|
|
2083
|
-
}], disabled: [{
|
|
2084
|
-
type: Input,
|
|
2085
|
-
args: [{ transform: booleanAttribute }]
|
|
2086
|
-
}], sourceOptionDisabled: [{
|
|
2087
|
-
type: Input
|
|
2088
|
-
}], targetOptionDisabled: [{
|
|
2089
|
-
type: Input
|
|
2090
|
-
}], ariaSourceFilterLabel: [{
|
|
2091
|
-
type: Input
|
|
2092
|
-
}], ariaTargetFilterLabel: [{
|
|
2093
|
-
type: Input
|
|
2094
|
-
}], filterMatchMode: [{
|
|
2095
|
-
type: Input
|
|
2096
|
-
}], stripedRows: [{
|
|
2097
|
-
type: Input,
|
|
2098
|
-
args: [{ transform: booleanAttribute }]
|
|
2099
|
-
}], keepSelection: [{
|
|
2100
|
-
type: Input,
|
|
2101
|
-
args: [{ transform: booleanAttribute }]
|
|
2102
|
-
}], scrollHeight: [{
|
|
2103
|
-
type: Input
|
|
2104
|
-
}], autoOptionFocus: [{
|
|
2105
|
-
type: Input,
|
|
2106
|
-
args: [{ transform: booleanAttribute }]
|
|
2107
|
-
}], buttonProps: [{
|
|
2108
|
-
type: Input
|
|
2109
|
-
}], moveUpButtonProps: [{
|
|
2110
|
-
type: Input
|
|
2111
|
-
}], moveTopButtonProps: [{
|
|
2112
|
-
type: Input
|
|
2113
|
-
}], moveDownButtonProps: [{
|
|
2114
|
-
type: Input
|
|
2115
|
-
}], moveBottomButtonProps: [{
|
|
2116
|
-
type: Input
|
|
2117
|
-
}], moveToTargetProps: [{
|
|
2118
|
-
type: Input
|
|
2119
|
-
}], moveAllToTargetProps: [{
|
|
2120
|
-
type: Input
|
|
2121
|
-
}], moveToSourceProps: [{
|
|
2122
|
-
type: Input
|
|
2123
|
-
}], moveAllToSourceProps: [{
|
|
2124
|
-
type: Input
|
|
2125
|
-
}], breakpoint: [{
|
|
2126
|
-
type: Input
|
|
2127
|
-
}], onMoveToSource: [{ type: i0.Output, args: ["onMoveToSource"] }], onMoveAllToSource: [{ type: i0.Output, args: ["onMoveAllToSource"] }], onMoveAllToTarget: [{ type: i0.Output, args: ["onMoveAllToTarget"] }], onMoveToTarget: [{ type: i0.Output, args: ["onMoveToTarget"] }], onSourceReorder: [{ type: i0.Output, args: ["onSourceReorder"] }], onTargetReorder: [{ type: i0.Output, args: ["onTargetReorder"] }], onSourceSelect: [{ type: i0.Output, args: ["onSourceSelect"] }], onTargetSelect: [{ type: i0.Output, args: ["onTargetSelect"] }], onSourceFilter: [{ type: i0.Output, args: ["onSourceFilter"] }], onTargetFilter: [{ type: i0.Output, args: ["onTargetFilter"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], listViewSourceChild: [{ type: i0.ViewChild, args: ['sourcelist', { isSignal: true }] }], listViewTargetChild: [{ type: i0.ViewChild, args: ['targetlist', { isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { ...{ descendants: false }, isSignal: true }] }], sourceHeaderTemplate: [{ type: i0.ContentChild, args: ['sourceHeader', { ...{ descendants: false }, isSignal: true }] }], targetHeaderTemplate: [{ type: i0.ContentChild, args: ['targetHeader', { ...{ descendants: false }, isSignal: true }] }], sourceFilterTemplate: [{ type: i0.ContentChild, args: ['sourceFilter', { ...{ descendants: false }, isSignal: true }] }], targetFilterTemplate: [{ type: i0.ContentChild, args: ['targetFilter', { ...{ descendants: false }, isSignal: true }] }], emptyMessageSourceTemplate: [{ type: i0.ContentChild, args: ['emptymessagesource', { ...{ descendants: false }, isSignal: true }] }], emptyFilterMessageSourceTemplate: [{ type: i0.ContentChild, args: ['emptyfiltermessagesource', { ...{ descendants: false }, isSignal: true }] }], emptyMessageTargetTemplate: [{ type: i0.ContentChild, args: ['emptymessagetarget', { ...{ descendants: false }, isSignal: true }] }], emptyFilterMessageTargetTemplate: [{ type: i0.ContentChild, args: ['emptyfiltermessagetarget', { ...{ descendants: false }, isSignal: true }] }], moveUpIconTemplate: [{ type: i0.ContentChild, args: ['moveupicon', { ...{ descendants: false }, isSignal: true }] }], moveTopIconTemplate: [{ type: i0.ContentChild, args: ['movetopicon', { ...{ descendants: false }, isSignal: true }] }], moveDownIconTemplate: [{ type: i0.ContentChild, args: ['movedownicon', { ...{ descendants: false }, isSignal: true }] }], moveBottomIconTemplate: [{ type: i0.ContentChild, args: ['movebottomicon', { ...{ descendants: false }, isSignal: true }] }], moveToTargetIconTemplate: [{ type: i0.ContentChild, args: ['movetotargeticon', { ...{ descendants: false }, isSignal: true }] }], moveAllToTargetIconTemplate: [{ type: i0.ContentChild, args: ['movealltotargeticon', { ...{ descendants: false }, isSignal: true }] }], moveToSourceIconTemplate: [{ type: i0.ContentChild, args: ['movetosourceicon', { ...{ descendants: false }, isSignal: true }] }], moveAllToSourceIconTemplate: [{ type: i0.ContentChild, args: ['movealltosourceicon', { ...{ descendants: false }, isSignal: true }] }], targetFilterIconTemplate: [{ type: i0.ContentChild, args: ['targetfiltericon', { ...{ descendants: false }, isSignal: true }] }], sourceFilterIconTemplate: [{ type: i0.ContentChild, args: ['sourcefiltericon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
2109
|
+
}], ctorParameters: () => [], propDecorators: { hostName: [{ type: i0.Input, args: [{ isSignal: true, alias: "hostName", required: false }] }], source: [{ type: i0.Input, args: [{ isSignal: true, alias: "source", required: false }] }, { type: i0.Output, args: ["sourceChange"] }], target: [{ type: i0.Input, args: [{ isSignal: true, alias: "target", required: false }] }, { type: i0.Output, args: ["targetChange"] }], dataKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataKey", required: false }] }], sourceHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceHeader", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], rightButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rightButtonAriaLabel", required: false }] }], leftButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "leftButtonAriaLabel", required: false }] }], allRightButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "allRightButtonAriaLabel", required: false }] }], allLeftButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "allLeftButtonAriaLabel", required: false }] }], upButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "upButtonAriaLabel", required: false }] }], downButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "downButtonAriaLabel", required: false }] }], topButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "topButtonAriaLabel", required: false }] }], bottomButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "bottomButtonAriaLabel", required: false }] }], sourceAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceAriaLabel", required: false }] }], targetAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetAriaLabel", required: false }] }], targetHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetHeader", required: false }] }], responsive: [{ type: i0.Input, args: [{ isSignal: true, alias: "responsive", required: false }] }], filterBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterBy", required: false }] }], filterLocale: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterLocale", required: false }] }], trackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackBy", required: false }] }], sourceTrackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceTrackBy", required: false }] }], targetTrackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetTrackBy", required: false }] }], showSourceFilter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSourceFilter", required: false }] }], showTargetFilter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTargetFilter", required: false }] }], metaKeySelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "metaKeySelection", required: false }] }], dragdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "dragdrop", required: false }] }], style: [{ type: i0.Input, args: [{ isSignal: true, alias: "style", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], sourceStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceStyle", required: false }] }], targetStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetStyle", required: false }] }], showSourceControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSourceControls", required: false }] }], showTargetControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTargetControls", required: false }] }], sourceFilterPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceFilterPlaceholder", required: false }] }], targetFilterPlaceholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetFilterPlaceholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], sourceOptionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceOptionDisabled", required: false }] }], targetOptionDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetOptionDisabled", required: false }] }], ariaSourceFilterLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaSourceFilterLabel", required: false }] }], ariaTargetFilterLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaTargetFilterLabel", required: false }] }], filterMatchMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterMatchMode", required: false }] }], stripedRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "stripedRows", required: false }] }], keepSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "keepSelection", required: false }] }], scrollHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollHeight", required: false }] }], autoOptionFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoOptionFocus", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], moveUpButtonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "moveUpButtonProps", required: false }] }], moveTopButtonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "moveTopButtonProps", required: false }] }], moveDownButtonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "moveDownButtonProps", required: false }] }], moveBottomButtonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "moveBottomButtonProps", required: false }] }], moveToTargetProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "moveToTargetProps", required: false }] }], moveAllToTargetProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "moveAllToTargetProps", required: false }] }], moveToSourceProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "moveToSourceProps", required: false }] }], moveAllToSourceProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "moveAllToSourceProps", required: false }] }], breakpoint: [{ type: i0.Input, args: [{ isSignal: true, alias: "breakpoint", required: false }] }], onMoveToSource: [{ type: i0.Output, args: ["onMoveToSource"] }], onMoveAllToSource: [{ type: i0.Output, args: ["onMoveAllToSource"] }], onMoveAllToTarget: [{ type: i0.Output, args: ["onMoveAllToTarget"] }], onMoveToTarget: [{ type: i0.Output, args: ["onMoveToTarget"] }], onSourceReorder: [{ type: i0.Output, args: ["onSourceReorder"] }], onTargetReorder: [{ type: i0.Output, args: ["onTargetReorder"] }], onSourceSelect: [{ type: i0.Output, args: ["onSourceSelect"] }], onTargetSelect: [{ type: i0.Output, args: ["onTargetSelect"] }], onSourceFilter: [{ type: i0.Output, args: ["onSourceFilter"] }], onTargetFilter: [{ type: i0.Output, args: ["onTargetFilter"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }], listViewSourceChild: [{ type: i0.ViewChild, args: ['sourcelist', { isSignal: true }] }], listViewTargetChild: [{ type: i0.ViewChild, args: ['targetlist', { isSignal: true }] }], itemTemplate: [{ type: i0.ContentChild, args: ['item', { ...{ descendants: false }, isSignal: true }] }], sourceHeaderTemplate: [{ type: i0.ContentChild, args: ['sourceHeader', { ...{ descendants: false }, isSignal: true }] }], targetHeaderTemplate: [{ type: i0.ContentChild, args: ['targetHeader', { ...{ descendants: false }, isSignal: true }] }], sourceFilterTemplate: [{ type: i0.ContentChild, args: ['sourceFilter', { ...{ descendants: false }, isSignal: true }] }], targetFilterTemplate: [{ type: i0.ContentChild, args: ['targetFilter', { ...{ descendants: false }, isSignal: true }] }], emptyMessageSourceTemplate: [{ type: i0.ContentChild, args: ['emptymessagesource', { ...{ descendants: false }, isSignal: true }] }], emptyFilterMessageSourceTemplate: [{ type: i0.ContentChild, args: ['emptyfiltermessagesource', { ...{ descendants: false }, isSignal: true }] }], emptyMessageTargetTemplate: [{ type: i0.ContentChild, args: ['emptymessagetarget', { ...{ descendants: false }, isSignal: true }] }], emptyFilterMessageTargetTemplate: [{ type: i0.ContentChild, args: ['emptyfiltermessagetarget', { ...{ descendants: false }, isSignal: true }] }], moveUpIconTemplate: [{ type: i0.ContentChild, args: ['moveupicon', { ...{ descendants: false }, isSignal: true }] }], moveTopIconTemplate: [{ type: i0.ContentChild, args: ['movetopicon', { ...{ descendants: false }, isSignal: true }] }], moveDownIconTemplate: [{ type: i0.ContentChild, args: ['movedownicon', { ...{ descendants: false }, isSignal: true }] }], moveBottomIconTemplate: [{ type: i0.ContentChild, args: ['movebottomicon', { ...{ descendants: false }, isSignal: true }] }], moveToTargetIconTemplate: [{ type: i0.ContentChild, args: ['movetotargeticon', { ...{ descendants: false }, isSignal: true }] }], moveAllToTargetIconTemplate: [{ type: i0.ContentChild, args: ['movealltotargeticon', { ...{ descendants: false }, isSignal: true }] }], moveToSourceIconTemplate: [{ type: i0.ContentChild, args: ['movetosourceicon', { ...{ descendants: false }, isSignal: true }] }], moveAllToSourceIconTemplate: [{ type: i0.ContentChild, args: ['movealltosourceicon', { ...{ descendants: false }, isSignal: true }] }], targetFilterIconTemplate: [{ type: i0.ContentChild, args: ['targetfiltericon', { ...{ descendants: false }, isSignal: true }] }], sourceFilterIconTemplate: [{ type: i0.ContentChild, args: ['sourcefiltericon', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
|
|
2128
2110
|
class PickListModule {
|
|
2129
2111
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: PickListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2130
2112
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: PickListModule, imports: [PickList, SharedModule], exports: [PickList, SharedModule] });
|