@gravionlabs/helix-core 22.1.2 → 22.1.4
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/gravionlabs-helix-core-accordion.mjs +994 -541
- package/fesm2022/gravionlabs-helix-core-accordion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs +265 -166
- package/fesm2022/gravionlabs-helix-core-animateonscroll.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-api.mjs +926 -836
- package/fesm2022/gravionlabs-helix-core-api.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-autocomplete.mjs +2603 -1611
- package/fesm2022/gravionlabs-helix-core-autocomplete.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-autofocus.mjs +115 -79
- package/fesm2022/gravionlabs-helix-core-autofocus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-avatar.mjs +356 -180
- package/fesm2022/gravionlabs-helix-core-avatar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-avatargroup.mjs +200 -84
- package/fesm2022/gravionlabs-helix-core-avatargroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-badge.mjs +671 -390
- package/fesm2022/gravionlabs-helix-core-badge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-base.mjs +113 -103
- package/fesm2022/gravionlabs-helix-core-base.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-basecomponent.mjs +498 -444
- package/fesm2022/gravionlabs-helix-core-basecomponent.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs +131 -69
- package/fesm2022/gravionlabs-helix-core-baseeditableholder.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-baseinput.mjs +210 -94
- package/fesm2022/gravionlabs-helix-core-baseinput.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs +39 -26
- package/fesm2022/gravionlabs-helix-core-basemodelholder.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-bind.mjs +136 -98
- package/fesm2022/gravionlabs-helix-core-bind.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-blockui.mjs +390 -224
- package/fesm2022/gravionlabs-helix-core-blockui.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs +473 -212
- package/fesm2022/gravionlabs-helix-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-button.mjs +1739 -825
- package/fesm2022/gravionlabs-helix-core-button.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-buttongroup.mjs +116 -64
- package/fesm2022/gravionlabs-helix-core-buttongroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-card.mjs +454 -205
- package/fesm2022/gravionlabs-helix-core-card.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-carousel.mjs +1238 -898
- package/fesm2022/gravionlabs-helix-core-carousel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs +2373 -1337
- package/fesm2022/gravionlabs-helix-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-chart.mjs +407 -214
- package/fesm2022/gravionlabs-helix-core-chart.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-checkbox.mjs +704 -346
- package/fesm2022/gravionlabs-helix-core-checkbox.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-chip.mjs +489 -251
- package/fesm2022/gravionlabs-helix-core-chip.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-classnames.mjs +95 -48
- package/fesm2022/gravionlabs-helix-core-classnames.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-colorpicker.mjs +975 -667
- package/fesm2022/gravionlabs-helix-core-colorpicker.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-config.mjs +395 -306
- package/fesm2022/gravionlabs-helix-core-config.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs +1222 -546
- package/fesm2022/gravionlabs-helix-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs +878 -524
- package/fesm2022/gravionlabs-helix-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-contextmenu.mjs +1917 -1031
- package/fesm2022/gravionlabs-helix-core-contextmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dataview.mjs +1075 -522
- package/fesm2022/gravionlabs-helix-core-dataview.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-datepicker.mjs +3797 -3313
- package/fesm2022/gravionlabs-helix-core-datepicker.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dialog.mjs +1852 -1047
- package/fesm2022/gravionlabs-helix-core-dialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-divider.mjs +288 -136
- package/fesm2022/gravionlabs-helix-core-divider.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dock.mjs +655 -387
- package/fesm2022/gravionlabs-helix-core-dock.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dom.mjs +589 -760
- package/fesm2022/gravionlabs-helix-core-dom.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dragdrop.mjs +457 -302
- package/fesm2022/gravionlabs-helix-core-dragdrop.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-drawer.mjs +986 -507
- package/fesm2022/gravionlabs-helix-core-drawer.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs +849 -923
- package/fesm2022/gravionlabs-helix-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-editor.mjs +578 -383
- package/fesm2022/gravionlabs-helix-core-editor.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fieldset.mjs +593 -280
- package/fesm2022/gravionlabs-helix-core-fieldset.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fileupload.mjs +1882 -994
- package/fesm2022/gravionlabs-helix-core-fileupload.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-firsterror.mjs +41 -23
- package/fesm2022/gravionlabs-helix-core-firsterror.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-floatlabel.mjs +197 -94
- package/fesm2022/gravionlabs-helix-core-floatlabel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-fluid.mjs +149 -74
- package/fesm2022/gravionlabs-helix-core-fluid.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-focustrap.mjs +141 -104
- package/fesm2022/gravionlabs-helix-core-focustrap.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-galleria.mjs +2800 -1449
- package/fesm2022/gravionlabs-helix-core-galleria.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-iconfield.mjs +214 -98
- package/fesm2022/gravionlabs-helix-core-iconfield.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubledown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledoubleup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angledown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-angleup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowdown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowdownright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-arrowright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-arrowup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-ban.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-ban.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-bars.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-bars.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs +120 -64
- package/fesm2022/gravionlabs-helix-core-icons-baseicon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-blank.mjs +42 -23
- package/fesm2022/gravionlabs-helix-core-icons-blank.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-calendar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-caretleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-caretright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-check.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-check.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevrondown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronleft.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronright.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-chevronup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-exclamationtriangle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-eye.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-eye.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-eyeslash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filter.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-filter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-filterfill.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-filterslash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-home.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-home.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-infocircle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-minus.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-minus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-pencil.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-plus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-plus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-refresh.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-search.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-search.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-searchminus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-searchplus.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortalt.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortamountdown.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-sortamountupalt.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-spinner.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-star.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-star.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-starfill.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-thlarge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-times.mjs +43 -24
- package/fesm2022/gravionlabs-helix-core-icons-times.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-timescircle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-trash.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-trash.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-undo.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-undo.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-upload.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-upload.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-windowmaximize.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs +48 -29
- package/fesm2022/gravionlabs-helix-core-icons-windowminimize.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-icons.mjs +53 -63
- package/fesm2022/gravionlabs-helix-core-iftalabel.mjs +175 -81
- package/fesm2022/gravionlabs-helix-core-iftalabel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-image.mjs +1089 -552
- package/fesm2022/gravionlabs-helix-core-image.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-imagecompare.mjs +348 -165
- package/fesm2022/gravionlabs-helix-core-imagecompare.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inplace.mjs +591 -249
- package/fesm2022/gravionlabs-helix-core-inplace.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputgroup.mjs +175 -91
- package/fesm2022/gravionlabs-helix-core-inputgroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs +196 -73
- package/fesm2022/gravionlabs-helix-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputicon.mjs +207 -70
- package/fesm2022/gravionlabs-helix-core-inputicon.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputmask.mjs +1581 -1330
- package/fesm2022/gravionlabs-helix-core-inputmask.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputnumber.mjs +1696 -1294
- package/fesm2022/gravionlabs-helix-core-inputnumber.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputotp.mjs +576 -363
- package/fesm2022/gravionlabs-helix-core-inputotp.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-inputtext.mjs +344 -183
- package/fesm2022/gravionlabs-helix-core-inputtext.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-keyfilter.mjs +291 -252
- package/fesm2022/gravionlabs-helix-core-keyfilter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-knob.mjs +642 -396
- package/fesm2022/gravionlabs-helix-core-knob.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-listbox.mjs +2354 -1401
- package/fesm2022/gravionlabs-helix-core-listbox.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-megamenu.mjs +1913 -1052
- package/fesm2022/gravionlabs-helix-core-megamenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-menu.mjs +1392 -767
- package/fesm2022/gravionlabs-helix-core-menu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-menubar.mjs +1857 -984
- package/fesm2022/gravionlabs-helix-core-menubar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-message.mjs +605 -288
- package/fesm2022/gravionlabs-helix-core-message.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-metergroup.mjs +719 -323
- package/fesm2022/gravionlabs-helix-core-metergroup.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-motion.mjs +1178 -694
- package/fesm2022/gravionlabs-helix-core-motion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-multiselect.mjs +3437 -1839
- package/fesm2022/gravionlabs-helix-core-multiselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-orderlist.mjs +1426 -753
- package/fesm2022/gravionlabs-helix-core-orderlist.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-organizationchart.mjs +755 -371
- package/fesm2022/gravionlabs-helix-core-organizationchart.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-overlay.mjs +984 -600
- package/fesm2022/gravionlabs-helix-core-overlay.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs +310 -107
- package/fesm2022/gravionlabs-helix-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-paginator.mjs +1076 -564
- package/fesm2022/gravionlabs-helix-core-paginator.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-panel.mjs +759 -364
- package/fesm2022/gravionlabs-helix-core-panel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-panelmenu.mjs +1909 -888
- package/fesm2022/gravionlabs-helix-core-panelmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-passthrough.mjs +10 -18
- package/fesm2022/gravionlabs-helix-core-passthrough.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-password.mjs +1624 -894
- package/fesm2022/gravionlabs-helix-core-password.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-picklist.mjs +2415 -1359
- package/fesm2022/gravionlabs-helix-core-picklist.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-popover.mjs +708 -442
- package/fesm2022/gravionlabs-helix-core-popover.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-progressbar.mjs +380 -170
- package/fesm2022/gravionlabs-helix-core-progressbar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-progressspinner.mjs +276 -121
- package/fesm2022/gravionlabs-helix-core-progressspinner.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-radiobutton.mjs +525 -291
- package/fesm2022/gravionlabs-helix-core-radiobutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-rating.mjs +529 -286
- package/fesm2022/gravionlabs-helix-core-rating.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-ripple.mjs +194 -175
- package/fesm2022/gravionlabs-helix-core-ripple.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scroller.mjs +1384 -977
- package/fesm2022/gravionlabs-helix-core-scroller.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs +605 -458
- package/fesm2022/gravionlabs-helix-core-scrollpanel.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-scrolltop.mjs +565 -261
- package/fesm2022/gravionlabs-helix-core-scrolltop.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-select.mjs +2959 -1644
- package/fesm2022/gravionlabs-helix-core-select.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-selectbutton.mjs +644 -335
- package/fesm2022/gravionlabs-helix-core-selectbutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-skeleton.mjs +315 -160
- package/fesm2022/gravionlabs-helix-core-skeleton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-slider.mjs +839 -630
- package/fesm2022/gravionlabs-helix-core-slider.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-speeddial.mjs +1183 -700
- package/fesm2022/gravionlabs-helix-core-speeddial.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-splitbutton.mjs +977 -375
- package/fesm2022/gravionlabs-helix-core-splitbutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-splitter.mjs +737 -509
- package/fesm2022/gravionlabs-helix-core-splitter.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-stepper.mjs +1397 -628
- package/fesm2022/gravionlabs-helix-core-stepper.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-steps.mjs +457 -272
- package/fesm2022/gravionlabs-helix-core-steps.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-styleclass.mjs +466 -344
- package/fesm2022/gravionlabs-helix-core-styleclass.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-table.mjs +9728 -5590
- package/fesm2022/gravionlabs-helix-core-table.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tabs.mjs +1350 -735
- package/fesm2022/gravionlabs-helix-core-tabs.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tag.mjs +343 -154
- package/fesm2022/gravionlabs-helix-core-tag.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-terminal.mjs +384 -214
- package/fesm2022/gravionlabs-helix-core-terminal.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-textarea.mjs +347 -209
- package/fesm2022/gravionlabs-helix-core-textarea.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-aura.mjs +4846 -5618
- package/fesm2022/gravionlabs-helix-core-themes-aura.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-lara.mjs +4961 -5809
- package/fesm2022/gravionlabs-helix-core-themes-lara.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-nora.mjs +4780 -5567
- package/fesm2022/gravionlabs-helix-core-themes-nora.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-themes-types.mjs +0 -700
- package/fesm2022/gravionlabs-helix-core-themes.mjs +4 -9
- package/fesm2022/gravionlabs-helix-core-themes.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs +1967 -1048
- package/fesm2022/gravionlabs-helix-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-timeline.mjs +370 -185
- package/fesm2022/gravionlabs-helix-core-timeline.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toast.mjs +1083 -526
- package/fesm2022/gravionlabs-helix-core-toast.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-togglebutton.mjs +609 -315
- package/fesm2022/gravionlabs-helix-core-togglebutton.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs +504 -246
- package/fesm2022/gravionlabs-helix-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-toolbar.mjs +350 -149
- package/fesm2022/gravionlabs-helix-core-toolbar.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tooltip.mjs +1035 -795
- package/fesm2022/gravionlabs-helix-core-tooltip.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-tree.mjs +2673 -1668
- package/fesm2022/gravionlabs-helix-core-tree.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-treeselect.mjs +1773 -976
- package/fesm2022/gravionlabs-helix-core-treeselect.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-treetable.mjs +5963 -3647
- package/fesm2022/gravionlabs-helix-core-treetable.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-accordion.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-avatar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-badge.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-blockui.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-button.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-card.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-carousel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-chart.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-chip.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dataview.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dialog.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-divider.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-dock.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-drawer.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-editor.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-fluid.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-galleria.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-image.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inplace.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-knob.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-listbox.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-menu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-menubar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-message.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-motion.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-overlay.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-paginator.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-panel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-password.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-picklist.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-popover.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-rating.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scroller.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-select.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-slider.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-splitter.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-stepper.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-table.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tabs.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tag.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-terminal.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-textarea.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-timeline.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toast.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-tree.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-types-treetable.mjs +0 -4
- package/fesm2022/gravionlabs-helix-core-uix-motion.mjs +192 -282
- package/fesm2022/gravionlabs-helix-core-uix-motion.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-uix-styled.mjs +827 -813
- package/fesm2022/gravionlabs-helix-core-uix-styled.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-uix-utils.mjs +967 -1558
- package/fesm2022/gravionlabs-helix-core-uix-utils.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-usestyle.mjs +62 -52
- package/fesm2022/gravionlabs-helix-core-usestyle.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-utils.mjs +272 -366
- package/fesm2022/gravionlabs-helix-core-utils.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core-validators.mjs +86 -93
- package/fesm2022/gravionlabs-helix-core-validators.mjs.map +1 -1
- package/fesm2022/gravionlabs-helix-core.mjs +1 -5
- package/fesm2022/gravionlabs-helix-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/gravionlabs-helix-core-accordion.d.ts +317 -246
- package/types/gravionlabs-helix-core-animateonscroll.d.ts +89 -61
- package/types/gravionlabs-helix-core-api.d.ts +1743 -1777
- package/types/gravionlabs-helix-core-autocomplete.d.ts +1070 -750
- package/types/gravionlabs-helix-core-autofocus.d.ts +29 -26
- package/types/gravionlabs-helix-core-avatar.d.ts +165 -123
- package/types/gravionlabs-helix-core-avatargroup.d.ts +58 -48
- package/types/gravionlabs-helix-core-badge.d.ts +243 -162
- package/types/gravionlabs-helix-core-base.d.ts +46 -49
- package/types/gravionlabs-helix-core-basecomponent.d.ts +187 -170
- package/types/gravionlabs-helix-core-baseeditableholder.d.ts +63 -45
- package/types/gravionlabs-helix-core-baseinput.d.ts +121 -73
- package/types/gravionlabs-helix-core-basemodelholder.d.ts +9 -12
- package/types/gravionlabs-helix-core-bind.d.ts +36 -33
- package/types/gravionlabs-helix-core-blockui.d.ts +114 -90
- package/types/gravionlabs-helix-core-breadcrumb.d.ts +158 -132
- package/types/gravionlabs-helix-core-button.d.ts +716 -443
- package/types/gravionlabs-helix-core-buttongroup.d.ts +28 -33
- package/types/gravionlabs-helix-core-card.d.ts +156 -136
- package/types/gravionlabs-helix-core-carousel.d.ts +461 -361
- package/types/gravionlabs-helix-core-cascadeselect.d.ts +880 -604
- package/types/gravionlabs-helix-core-chart.d.ts +162 -115
- package/types/gravionlabs-helix-core-checkbox.d.ts +310 -211
- package/types/gravionlabs-helix-core-chip.d.ts +202 -147
- package/types/gravionlabs-helix-core-classnames.d.ts +23 -21
- package/types/gravionlabs-helix-core-colorpicker.d.ts +359 -290
- package/types/gravionlabs-helix-core-config.d.ts +249 -259
- package/types/gravionlabs-helix-core-confirmdialog.d.ts +498 -325
- package/types/gravionlabs-helix-core-confirmpopup.d.ts +273 -218
- package/types/gravionlabs-helix-core-contextmenu.d.ts +509 -351
- package/types/gravionlabs-helix-core-dataview.d.ts +507 -349
- package/types/gravionlabs-helix-core-datepicker.d.ts +1267 -954
- package/types/gravionlabs-helix-core-dialog.d.ts +758 -515
- package/types/gravionlabs-helix-core-divider.d.ts +126 -106
- package/types/gravionlabs-helix-core-dock.d.ts +219 -181
- package/types/gravionlabs-helix-core-dom.d.ts +97 -100
- package/types/gravionlabs-helix-core-dragdrop.d.ts +149 -107
- package/types/gravionlabs-helix-core-drawer.d.ts +382 -278
- package/types/gravionlabs-helix-core-dynamicdialog.d.ts +512 -519
- package/types/gravionlabs-helix-core-editor.d.ts +225 -173
- package/types/gravionlabs-helix-core-fieldset.d.ts +209 -170
- package/types/gravionlabs-helix-core-fileupload.d.ts +764 -533
- package/types/gravionlabs-helix-core-firsterror.d.ts +8 -11
- package/types/gravionlabs-helix-core-floatlabel.d.ts +57 -52
- package/types/gravionlabs-helix-core-fluid.d.ts +38 -39
- package/types/gravionlabs-helix-core-focustrap.d.ts +33 -30
- package/types/gravionlabs-helix-core-galleria.d.ts +957 -628
- package/types/gravionlabs-helix-core-iconfield.d.ts +72 -57
- package/types/gravionlabs-helix-core-icons-angledoubledown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledoubleup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angledown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-angleup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowdown.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-arrowdownleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowdownright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowleft.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-arrowright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-arrowup.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-ban.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-bars.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-baseicon.d.ts +25 -24
- package/types/gravionlabs-helix-core-icons-blank.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-calendar.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-caretleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-caretright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-check.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevrondown.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronleft.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronright.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-chevronup.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-exclamationtriangle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-eye.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-eyeslash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-filter.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-filterfill.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-filterslash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-home.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-infocircle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-minus.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-pencil.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-plus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-refresh.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-search.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-searchminus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-searchplus.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortalt.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortamountdown.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-sortamountupalt.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-spinner.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-star.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-starfill.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-thlarge.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-times.d.ts +6 -9
- package/types/gravionlabs-helix-core-icons-timescircle.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-trash.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-undo.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-upload.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-windowmaximize.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons-windowminimize.d.ts +8 -11
- package/types/gravionlabs-helix-core-icons.d.ts +53 -53
- package/types/gravionlabs-helix-core-iftalabel.d.ts +42 -43
- package/types/gravionlabs-helix-core-image.d.ts +440 -331
- package/types/gravionlabs-helix-core-imagecompare.d.ts +99 -84
- package/types/gravionlabs-helix-core-inplace.d.ts +188 -149
- package/types/gravionlabs-helix-core-inputgroup.d.ts +55 -50
- package/types/gravionlabs-helix-core-inputgroupaddon.d.ts +54 -43
- package/types/gravionlabs-helix-core-inputicon.d.ts +49 -38
- package/types/gravionlabs-helix-core-inputmask.d.ts +499 -353
- package/types/gravionlabs-helix-core-inputnumber.d.ts +581 -410
- package/types/gravionlabs-helix-core-inputotp.d.ts +206 -158
- package/types/gravionlabs-helix-core-inputtext.d.ts +142 -102
- package/types/gravionlabs-helix-core-keyfilter.d.ts +62 -53
- package/types/gravionlabs-helix-core-knob.d.ts +265 -188
- package/types/gravionlabs-helix-core-listbox.d.ts +897 -638
- package/types/gravionlabs-helix-core-megamenu.d.ts +512 -365
- package/types/gravionlabs-helix-core-menu.d.ts +441 -343
- package/types/gravionlabs-helix-core-menubar.d.ts +499 -361
- package/types/gravionlabs-helix-core-message.d.ts +267 -195
- package/types/gravionlabs-helix-core-metergroup.d.ts +256 -190
- package/types/gravionlabs-helix-core-motion.d.ts +602 -385
- package/types/gravionlabs-helix-core-multiselect.d.ts +1256 -855
- package/types/gravionlabs-helix-core-orderlist.d.ts +504 -351
- package/types/gravionlabs-helix-core-organizationchart.d.ts +264 -203
- package/types/gravionlabs-helix-core-overlay.d.ts +417 -307
- package/types/gravionlabs-helix-core-overlaybadge.d.ts +107 -71
- package/types/gravionlabs-helix-core-paginator.d.ts +445 -336
- package/types/gravionlabs-helix-core-panel.d.ts +285 -225
- package/types/gravionlabs-helix-core-panelmenu.d.ts +499 -340
- package/types/gravionlabs-helix-core-passthrough.d.ts +5 -7
- package/types/gravionlabs-helix-core-password.d.ts +657 -463
- package/types/gravionlabs-helix-core-picklist.d.ts +938 -647
- package/types/gravionlabs-helix-core-popover.d.ts +259 -190
- package/types/gravionlabs-helix-core-progressbar.d.ts +141 -106
- package/types/gravionlabs-helix-core-progressspinner.d.ts +101 -76
- package/types/gravionlabs-helix-core-radiobutton.d.ts +228 -174
- package/types/gravionlabs-helix-core-rating.d.ts +217 -178
- package/types/gravionlabs-helix-core-ripple.d.ts +43 -48
- package/types/gravionlabs-helix-core-scroller.d.ts +505 -371
- package/types/gravionlabs-helix-core-scrollpanel.d.ts +151 -141
- package/types/gravionlabs-helix-core-scrolltop.d.ts +195 -140
- package/types/gravionlabs-helix-core-select.d.ts +1095 -749
- package/types/gravionlabs-helix-core-selectbutton.d.ts +238 -165
- package/types/gravionlabs-helix-core-skeleton.d.ts +123 -88
- package/types/gravionlabs-helix-core-slider.d.ts +259 -201
- package/types/gravionlabs-helix-core-speeddial.d.ts +511 -390
- package/types/gravionlabs-helix-core-splitbutton.d.ts +422 -267
- package/types/gravionlabs-helix-core-splitter.d.ts +246 -192
- package/types/gravionlabs-helix-core-stepper.d.ts +428 -269
- package/types/gravionlabs-helix-core-steps.d.ts +162 -134
- package/types/gravionlabs-helix-core-styleclass.d.ts +165 -107
- package/types/gravionlabs-helix-core-table.d.ts +2908 -1935
- package/types/gravionlabs-helix-core-tabs.d.ts +471 -311
- package/types/gravionlabs-helix-core-tag.d.ts +123 -98
- package/types/gravionlabs-helix-core-terminal.d.ts +142 -124
- package/types/gravionlabs-helix-core-textarea.d.ts +147 -110
- package/types/gravionlabs-helix-core-themes-aura.d.ts +957 -942
- package/types/gravionlabs-helix-core-themes-lara.d.ts +968 -953
- package/types/gravionlabs-helix-core-themes-nora.d.ts +954 -939
- package/types/gravionlabs-helix-core-themes-types.d.ts +17940 -18746
- package/types/gravionlabs-helix-core-themes.d.ts +8 -11
- package/types/gravionlabs-helix-core-tieredmenu.d.ts +583 -398
- package/types/gravionlabs-helix-core-timeline.d.ts +145 -125
- package/types/gravionlabs-helix-core-toast.d.ts +408 -275
- package/types/gravionlabs-helix-core-togglebutton.d.ts +264 -188
- package/types/gravionlabs-helix-core-toggleswitch.d.ts +202 -150
- package/types/gravionlabs-helix-core-toolbar.d.ts +100 -90
- package/types/gravionlabs-helix-core-tooltip.d.ts +362 -256
- package/types/gravionlabs-helix-core-tree.d.ts +902 -630
- package/types/gravionlabs-helix-core-treeselect.d.ts +770 -559
- package/types/gravionlabs-helix-core-treetable.d.ts +1715 -1205
- package/types/gravionlabs-helix-core-ts-helpers.d.ts +4 -6
- package/types/gravionlabs-helix-core-types-accordion.d.ts +42 -45
- package/types/gravionlabs-helix-core-types-autocomplete.d.ts +230 -233
- package/types/gravionlabs-helix-core-types-avatar.d.ts +23 -26
- package/types/gravionlabs-helix-core-types-avatargroup.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-badge.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-blockui.d.ts +18 -21
- package/types/gravionlabs-helix-core-types-breadcrumb.d.ts +65 -68
- package/types/gravionlabs-helix-core-types-button.d.ts +90 -93
- package/types/gravionlabs-helix-core-types-card.d.ts +54 -57
- package/types/gravionlabs-helix-core-types-carousel.d.ts +107 -110
- package/types/gravionlabs-helix-core-types-cascadeselect.d.ts +151 -157
- package/types/gravionlabs-helix-core-types-chart.d.ts +15 -18
- package/types/gravionlabs-helix-core-types-checkbox.d.ts +48 -51
- package/types/gravionlabs-helix-core-types-chip.d.ts +49 -52
- package/types/gravionlabs-helix-core-types-colorpicker.d.ts +58 -61
- package/types/gravionlabs-helix-core-types-confirmdialog.d.ts +116 -119
- package/types/gravionlabs-helix-core-types-confirmpopup.d.ts +74 -77
- package/types/gravionlabs-helix-core-types-contextmenu.d.ts +71 -74
- package/types/gravionlabs-helix-core-types-dataview.d.ts +178 -181
- package/types/gravionlabs-helix-core-types-datepicker.d.ts +436 -439
- package/types/gravionlabs-helix-core-types-dialog.d.ts +86 -89
- package/types/gravionlabs-helix-core-types-divider.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-dock.d.ts +44 -47
- package/types/gravionlabs-helix-core-types-drawer.d.ts +61 -64
- package/types/gravionlabs-helix-core-types-editor.d.ts +143 -146
- package/types/gravionlabs-helix-core-types-fieldset.d.ts +69 -73
- package/types/gravionlabs-helix-core-types-fileupload.d.ts +260 -265
- package/types/gravionlabs-helix-core-types-floatlabel.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-fluid.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-galleria.d.ts +204 -207
- package/types/gravionlabs-helix-core-types-iconfield.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-iftalabel.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-image.d.ts +113 -116
- package/types/gravionlabs-helix-core-types-imagecompare.d.ts +22 -25
- package/types/gravionlabs-helix-core-types-inplace.d.ts +46 -49
- package/types/gravionlabs-helix-core-types-inputgroup.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputgroupaddon.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputicon.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-inputmask.d.ts +30 -33
- package/types/gravionlabs-helix-core-types-inputnumber.d.ts +68 -71
- package/types/gravionlabs-helix-core-types-inputotp.d.ts +67 -70
- package/types/gravionlabs-helix-core-types-inputtext.d.ts +7 -10
- package/types/gravionlabs-helix-core-types-knob.d.ts +23 -26
- package/types/gravionlabs-helix-core-types-listbox.d.ts +262 -266
- package/types/gravionlabs-helix-core-types-megamenu.d.ts +112 -115
- package/types/gravionlabs-helix-core-types-menu.d.ts +83 -86
- package/types/gravionlabs-helix-core-types-menubar.d.ts +98 -101
- package/types/gravionlabs-helix-core-types-message.d.ts +61 -64
- package/types/gravionlabs-helix-core-types-metergroup.d.ts +135 -138
- package/types/gravionlabs-helix-core-types-motion.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-multiselect.d.ts +302 -306
- package/types/gravionlabs-helix-core-types-orderlist.d.ts +125 -128
- package/types/gravionlabs-helix-core-types-organizationchart.d.ts +90 -96
- package/types/gravionlabs-helix-core-types-overlay.d.ts +31 -34
- package/types/gravionlabs-helix-core-types-overlaybadge.d.ts +17 -20
- package/types/gravionlabs-helix-core-types-paginator.d.ts +131 -134
- package/types/gravionlabs-helix-core-types-panel.d.ts +89 -93
- package/types/gravionlabs-helix-core-types-panelmenu.d.ts +105 -108
- package/types/gravionlabs-helix-core-types-password.d.ts +94 -97
- package/types/gravionlabs-helix-core-types-picklist.d.ts +240 -250
- package/types/gravionlabs-helix-core-types-popover.d.ts +33 -36
- package/types/gravionlabs-helix-core-types-progressbar.d.ts +32 -35
- package/types/gravionlabs-helix-core-types-progressspinner.d.ts +19 -22
- package/types/gravionlabs-helix-core-types-radiobutton.d.ts +29 -32
- package/types/gravionlabs-helix-core-types-rating.d.ts +62 -65
- package/types/gravionlabs-helix-core-types-scroller.d.ts +142 -146
- package/types/gravionlabs-helix-core-types-scrollpanel.d.ts +30 -33
- package/types/gravionlabs-helix-core-types-scrolltop.d.ts +35 -38
- package/types/gravionlabs-helix-core-types-select.d.ts +245 -248
- package/types/gravionlabs-helix-core-types-selectbutton.d.ts +56 -59
- package/types/gravionlabs-helix-core-types-skeleton.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-slider.d.ts +50 -53
- package/types/gravionlabs-helix-core-types-speeddial.d.ts +69 -72
- package/types/gravionlabs-helix-core-types-splitbutton.d.ts +41 -44
- package/types/gravionlabs-helix-core-types-splitter.d.ts +36 -40
- package/types/gravionlabs-helix-core-types-stepper.d.ts +68 -71
- package/types/gravionlabs-helix-core-types-table.d.ts +721 -727
- package/types/gravionlabs-helix-core-types-tabs.d.ts +51 -54
- package/types/gravionlabs-helix-core-types-tag.d.ts +26 -29
- package/types/gravionlabs-helix-core-types-terminal.d.ts +43 -46
- package/types/gravionlabs-helix-core-types-textarea.d.ts +11 -14
- package/types/gravionlabs-helix-core-types-tieredmenu.d.ts +69 -72
- package/types/gravionlabs-helix-core-types-timeline.d.ts +58 -61
- package/types/gravionlabs-helix-core-types-toast.d.ts +86 -89
- package/types/gravionlabs-helix-core-types-togglebutton.d.ts +51 -54
- package/types/gravionlabs-helix-core-types-toggleswitch.d.ts +41 -44
- package/types/gravionlabs-helix-core-types-toolbar.d.ts +34 -37
- package/types/gravionlabs-helix-core-types-tooltip.d.ts +15 -18
- package/types/gravionlabs-helix-core-types-tree.d.ts +230 -239
- package/types/gravionlabs-helix-core-types-treeselect.d.ts +195 -199
- package/types/gravionlabs-helix-core-types-treetable.d.ts +486 -491
- package/types/gravionlabs-helix-core-uix-motion.d.ts +177 -190
- package/types/gravionlabs-helix-core-uix-styled.d.ts +254 -277
- package/types/gravionlabs-helix-core-uix-utils.d.ts +39 -176
- package/types/gravionlabs-helix-core-usestyle.d.ts +12 -15
- package/types/gravionlabs-helix-core-utils.d.ts +45 -50
- package/types/gravionlabs-helix-core-validators.d.ts +29 -34
- package/types/gravionlabs-helix-core.d.ts +2 -2
- package/fesm2022/gravionlabs-helix-core-icons.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-themes-types.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-ts-helpers.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-accordion.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-autocomplete.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-avatar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-avatargroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-badge.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-blockui.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-breadcrumb.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-button.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-card.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-carousel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-cascadeselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-chart.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-checkbox.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-chip.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-colorpicker.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-confirmdialog.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-confirmpopup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-contextmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dataview.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-datepicker.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dialog.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-divider.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-dock.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-drawer.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-editor.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fieldset.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fileupload.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-floatlabel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-fluid.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-galleria.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-iconfield.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-iftalabel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-image.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-imagecompare.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inplace.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputgroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputgroupaddon.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputicon.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputmask.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputnumber.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputotp.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-inputtext.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-knob.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-listbox.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-megamenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-menu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-menubar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-message.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-metergroup.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-motion.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-multiselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-orderlist.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-organizationchart.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-overlay.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-overlaybadge.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-paginator.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-panel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-panelmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-password.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-picklist.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-popover.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-progressbar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-progressspinner.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-radiobutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-rating.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scroller.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scrollpanel.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-scrolltop.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-select.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-selectbutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-skeleton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-slider.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-speeddial.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-splitbutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-splitter.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-stepper.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-table.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tabs.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tag.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-terminal.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-textarea.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tieredmenu.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-timeline.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toast.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-togglebutton.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toggleswitch.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-toolbar.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tooltip.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-tree.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-treeselect.mjs.map +0 -1
- package/fesm2022/gravionlabs-helix-core-types-treetable.mjs.map +0 -1
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
const style = /*css*/ `
|
|
1
|
+
import * as i4 from "@angular/cdk/drag-drop";
|
|
2
|
+
import { DragDropModule, moveItemInArray } from "@angular/cdk/drag-drop";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import { CommonModule, isPlatformBrowser } from "@angular/common";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import { ChangeDetectionStrategy, Component, Injectable, InjectionToken, NgModule, ViewEncapsulation, booleanAttribute, contentChild, contentChildren, inject, input, model, numberAttribute, output, viewChild } from "@angular/core";
|
|
7
|
+
import * as i5 from "@angular/forms";
|
|
8
|
+
import { FormsModule } from "@angular/forms";
|
|
9
|
+
import { find, findIndexInList, isEmpty, setAttribute, uuid } from "@gravionlabs/helix-core/uix/utils";
|
|
10
|
+
import { FilterService, HelixTemplate, SharedModule } from "@gravionlabs/helix-core/api";
|
|
11
|
+
import { BaseComponent, PARENT_INSTANCE } from "@gravionlabs/helix-core/basecomponent";
|
|
12
|
+
import * as i1 from "@gravionlabs/helix-core/bind";
|
|
13
|
+
import { Bind, BindModule } from "@gravionlabs/helix-core/bind";
|
|
14
|
+
import * as i3 from "@gravionlabs/helix-core/button";
|
|
15
|
+
import { ButtonModule } from "@gravionlabs/helix-core/button";
|
|
16
|
+
import { AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon } from "@gravionlabs/helix-core/icons";
|
|
17
|
+
import { Listbox } from "@gravionlabs/helix-core/listbox";
|
|
18
|
+
import { Ripple } from "@gravionlabs/helix-core/ripple";
|
|
19
|
+
import { BaseStyle } from "@gravionlabs/helix-core/base";
|
|
20
|
+
export * from "@gravionlabs/helix-core/types/picklist";
|
|
21
|
+
const style = `
|
|
23
22
|
.h-picklist {
|
|
24
23
|
display: flex;
|
|
25
24
|
gap: dt('picklist.gap');
|
|
@@ -40,1267 +39,820 @@ const style = /*css*/ `
|
|
|
40
39
|
height: 100%;
|
|
41
40
|
}
|
|
42
41
|
`;
|
|
43
|
-
|
|
44
42
|
const classes = {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
root: () => ["h-picklist h-component"],
|
|
44
|
+
sourceControls: "h-picklist-controls h-picklist-source-controls",
|
|
45
|
+
sourceListContainer: "h-picklist-list-container h-picklist-source-list-container",
|
|
46
|
+
transferControls: "h-picklist-controls h-picklist-transfer-controls",
|
|
47
|
+
targetListContainer: "h-picklist-list-container h-picklist-target-list-container",
|
|
48
|
+
targetControls: "h-picklist-controls h-picklist-target-controls"
|
|
49
|
+
};
|
|
50
|
+
var PickListStyle = class PickListStyle extends BaseStyle {
|
|
51
|
+
name = "picklist";
|
|
52
|
+
style = style;
|
|
53
|
+
classes = classes;
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
55
|
+
minVersion: "12.0.0",
|
|
56
|
+
version: "22.2.1",
|
|
57
|
+
ngImport: i0,
|
|
58
|
+
type: PickListStyle,
|
|
59
|
+
deps: null,
|
|
60
|
+
target: i0.ɵɵFactoryTarget.Injectable
|
|
61
|
+
});
|
|
62
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
63
|
+
minVersion: "12.0.0",
|
|
64
|
+
version: "22.2.1",
|
|
65
|
+
ngImport: i0,
|
|
66
|
+
type: PickListStyle
|
|
67
|
+
});
|
|
51
68
|
};
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: PickListStyle, decorators: [{
|
|
60
|
-
type: Injectable
|
|
61
|
-
}] });
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* PickList is used to reorder items between different lists.
|
|
65
|
-
*
|
|
66
|
-
* [Live Demo](https://www.primeng.org/picklist)
|
|
67
|
-
*
|
|
68
|
-
* @module pickliststyle
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
70
|
+
minVersion: "12.0.0",
|
|
71
|
+
version: "22.2.1",
|
|
72
|
+
ngImport: i0,
|
|
73
|
+
type: PickListStyle,
|
|
74
|
+
decorators: [{ type: Injectable }]
|
|
75
|
+
});
|
|
71
76
|
var PickListClasses;
|
|
72
|
-
(function
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
*/
|
|
80
|
-
PickListClasses["sourceControls"] = "h-picklist-source-controls";
|
|
81
|
-
/**
|
|
82
|
-
* Class name of the source list container element
|
|
83
|
-
*/
|
|
84
|
-
PickListClasses["sourceListContainer"] = "h-picklist-source-list-container";
|
|
85
|
-
/**
|
|
86
|
-
* Class name of the transfer controls element
|
|
87
|
-
*/
|
|
88
|
-
PickListClasses["transferControls"] = "h-picklist-transfer-controls";
|
|
89
|
-
/**
|
|
90
|
-
* Class name of the target list container element
|
|
91
|
-
*/
|
|
92
|
-
PickListClasses["targetListContainer"] = "h-picklist-target-list-container";
|
|
93
|
-
/**
|
|
94
|
-
* Class name of the target controls element
|
|
95
|
-
*/
|
|
96
|
-
PickListClasses["targetControls"] = "h-picklist-target-controls";
|
|
77
|
+
(function(PickListClasses) {
|
|
78
|
+
PickListClasses["root"] = "h-picklist";
|
|
79
|
+
PickListClasses["sourceControls"] = "h-picklist-source-controls";
|
|
80
|
+
PickListClasses["sourceListContainer"] = "h-picklist-source-list-container";
|
|
81
|
+
PickListClasses["transferControls"] = "h-picklist-transfer-controls";
|
|
82
|
+
PickListClasses["targetListContainer"] = "h-picklist-target-list-container";
|
|
83
|
+
PickListClasses["targetControls"] = "h-picklist-target-controls";
|
|
97
84
|
})(PickListClasses || (PickListClasses = {}));
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
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
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
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
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
if (filterValue && filterValue.trim().length) {
|
|
870
|
-
for (let i = 0; i < data.length; i++) {
|
|
871
|
-
if (item == data[i]) {
|
|
872
|
-
return true;
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
else {
|
|
877
|
-
return true;
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
onItemTouchEnd() {
|
|
881
|
-
if (this.disabled()) {
|
|
882
|
-
return;
|
|
883
|
-
}
|
|
884
|
-
this.itemTouched = true;
|
|
885
|
-
}
|
|
886
|
-
sortByIndexInList(items, list) {
|
|
887
|
-
return items.sort((item1, item2) => findIndexInList(item1, list) - findIndexInList(item2, list));
|
|
888
|
-
}
|
|
889
|
-
triggerChangeDetection() {
|
|
890
|
-
this.listViewTargetChild()?.cd.markForCheck();
|
|
891
|
-
this.listViewSourceChild()?.cd.markForCheck();
|
|
892
|
-
}
|
|
893
|
-
moveUp(listElement, list, selectedItems, callback, listType) {
|
|
894
|
-
if (selectedItems && selectedItems.length) {
|
|
895
|
-
selectedItems = this.sortByIndexInList(selectedItems, list);
|
|
896
|
-
for (let i = 0; i < selectedItems.length; i++) {
|
|
897
|
-
let selectedItem = selectedItems[i];
|
|
898
|
-
let selectedItemIndex = findIndexInList(selectedItem, list);
|
|
899
|
-
if (selectedItemIndex != 0) {
|
|
900
|
-
let movedItem = list[selectedItemIndex];
|
|
901
|
-
let temp = list[selectedItemIndex - 1];
|
|
902
|
-
list[selectedItemIndex - 1] = movedItem;
|
|
903
|
-
list[selectedItemIndex] = temp;
|
|
904
|
-
}
|
|
905
|
-
else {
|
|
906
|
-
break;
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
if (this.dragdrop() && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
910
|
-
this.filter(list, listType);
|
|
911
|
-
this.movedUp = true;
|
|
912
|
-
this.reorderedListElement = listElement;
|
|
913
|
-
callback.emit({ items: selectedItems });
|
|
914
|
-
this.triggerChangeDetection();
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
moveTop(listElement, list, selectedItems, callback, listType) {
|
|
918
|
-
if (selectedItems && selectedItems.length) {
|
|
919
|
-
selectedItems = this.sortByIndexInList(selectedItems, list);
|
|
920
|
-
for (let i = 0; i < selectedItems.length; i++) {
|
|
921
|
-
let selectedItem = selectedItems[i];
|
|
922
|
-
let selectedItemIndex = findIndexInList(selectedItem, list);
|
|
923
|
-
if (selectedItemIndex != 0) {
|
|
924
|
-
let movedItem = list.splice(selectedItemIndex, 1)[0];
|
|
925
|
-
list.unshift(movedItem);
|
|
926
|
-
}
|
|
927
|
-
else {
|
|
928
|
-
break;
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
if (this.dragdrop() && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
932
|
-
this.filter(list, listType);
|
|
933
|
-
listElement.scrollTop = 0;
|
|
934
|
-
callback.emit({ items: selectedItems });
|
|
935
|
-
this.triggerChangeDetection();
|
|
936
|
-
}
|
|
937
|
-
}
|
|
938
|
-
moveDown(listElement, list, selectedItems, callback, listType) {
|
|
939
|
-
if (selectedItems && selectedItems.length) {
|
|
940
|
-
selectedItems = this.sortByIndexInList(selectedItems, list);
|
|
941
|
-
for (let i = selectedItems.length - 1; i >= 0; i--) {
|
|
942
|
-
let selectedItem = selectedItems[i];
|
|
943
|
-
let selectedItemIndex = findIndexInList(selectedItem, list);
|
|
944
|
-
if (selectedItemIndex != list.length - 1) {
|
|
945
|
-
let movedItem = list[selectedItemIndex];
|
|
946
|
-
let temp = list[selectedItemIndex + 1];
|
|
947
|
-
list[selectedItemIndex + 1] = movedItem;
|
|
948
|
-
list[selectedItemIndex] = temp;
|
|
949
|
-
}
|
|
950
|
-
else {
|
|
951
|
-
break;
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
if (this.dragdrop() && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
955
|
-
this.filter(list, listType);
|
|
956
|
-
this.movedDown = true;
|
|
957
|
-
this.reorderedListElement = listElement;
|
|
958
|
-
callback.emit({ items: selectedItems });
|
|
959
|
-
this.triggerChangeDetection();
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
moveBottom(listElement, list, selectedItems, callback, listType) {
|
|
963
|
-
if (selectedItems && selectedItems.length) {
|
|
964
|
-
selectedItems = this.sortByIndexInList(selectedItems, list);
|
|
965
|
-
for (let i = selectedItems.length - 1; i >= 0; i--) {
|
|
966
|
-
let selectedItem = selectedItems[i];
|
|
967
|
-
let selectedItemIndex = findIndexInList(selectedItem, list);
|
|
968
|
-
if (selectedItemIndex != list.length - 1) {
|
|
969
|
-
let movedItem = list.splice(selectedItemIndex, 1)[0];
|
|
970
|
-
list.push(movedItem);
|
|
971
|
-
}
|
|
972
|
-
else {
|
|
973
|
-
break;
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
if (this.dragdrop() && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
|
|
977
|
-
this.filter(list, listType);
|
|
978
|
-
listElement.scrollTop = listElement.scrollHeight;
|
|
979
|
-
callback.emit({ items: selectedItems });
|
|
980
|
-
this.triggerChangeDetection();
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
moveRight() {
|
|
984
|
-
if (this.selectedItemsSource && this.selectedItemsSource.length) {
|
|
985
|
-
let itemsToMove = [...this.selectedItemsSource];
|
|
986
|
-
for (let i = 0; i < itemsToMove.length; i++) {
|
|
987
|
-
let selectedItem = itemsToMove[i];
|
|
988
|
-
if (findIndexInList(selectedItem, this.target() || []) == -1) {
|
|
989
|
-
this.target()?.push(this.source()?.splice(findIndexInList(selectedItem, this.source()), 1)[0]);
|
|
990
|
-
if (this.visibleOptionsSource?.includes(selectedItem)) {
|
|
991
|
-
this.visibleOptionsSource.splice(findIndexInList(selectedItem, this.visibleOptionsSource), 1);
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
this.onMoveToTarget.emit({
|
|
996
|
-
items: itemsToMove
|
|
997
|
-
});
|
|
998
|
-
if (this.keepSelection()) {
|
|
999
|
-
this.selectedItemsTarget = [...this.selectedItemsTarget, ...itemsToMove];
|
|
1000
|
-
}
|
|
1001
|
-
itemsToMove = [];
|
|
1002
|
-
this.selectedItemsSource = [];
|
|
1003
|
-
if (this.filterValueTarget) {
|
|
1004
|
-
this.filter(this.target(), this.TARGET_LIST);
|
|
1005
|
-
}
|
|
1006
|
-
this.triggerChangeDetection();
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
moveAllRight() {
|
|
1010
|
-
if (this.source()) {
|
|
1011
|
-
let movedItems = [];
|
|
1012
|
-
for (let i = 0; i < this.source().length; i++) {
|
|
1013
|
-
if (this.isItemVisible(this.source()[i], this.SOURCE_LIST)) {
|
|
1014
|
-
let removedItem = this.source().splice(i, 1)[0];
|
|
1015
|
-
this.target().push(removedItem);
|
|
1016
|
-
movedItems.push(removedItem);
|
|
1017
|
-
i--;
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
this.onMoveAllToTarget.emit({
|
|
1021
|
-
items: movedItems
|
|
1022
|
-
});
|
|
1023
|
-
if (this.keepSelection()) {
|
|
1024
|
-
this.selectedItemsTarget = [...this.selectedItemsTarget, ...this.selectedItemsSource];
|
|
1025
|
-
}
|
|
1026
|
-
this.selectedItemsSource = [];
|
|
1027
|
-
if (this.filterValueTarget) {
|
|
1028
|
-
this.filter(this.target(), this.TARGET_LIST);
|
|
1029
|
-
}
|
|
1030
|
-
this.visibleOptionsSource = [];
|
|
1031
|
-
this.triggerChangeDetection();
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
moveLeft() {
|
|
1035
|
-
if (this.selectedItemsTarget && this.selectedItemsTarget.length) {
|
|
1036
|
-
let itemsToMove = [...this.selectedItemsTarget];
|
|
1037
|
-
for (let i = 0; i < itemsToMove.length; i++) {
|
|
1038
|
-
let selectedItem = itemsToMove[i];
|
|
1039
|
-
if (findIndexInList(selectedItem, this.source() || []) == -1) {
|
|
1040
|
-
this.source()?.push(this.target()?.splice(findIndexInList(selectedItem, this.target()), 1)[0]);
|
|
1041
|
-
if (this.visibleOptionsTarget?.includes(selectedItem)) {
|
|
1042
|
-
this.visibleOptionsTarget.splice(findIndexInList(selectedItem, this.visibleOptionsTarget), 1)[0];
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
this.onMoveToSource.emit({
|
|
1047
|
-
items: itemsToMove
|
|
1048
|
-
});
|
|
1049
|
-
if (this.keepSelection()) {
|
|
1050
|
-
this.selectedItemsSource = [...this.selectedItemsSource, itemsToMove];
|
|
1051
|
-
}
|
|
1052
|
-
itemsToMove = [];
|
|
1053
|
-
this.selectedItemsTarget = [];
|
|
1054
|
-
if (this.filterValueSource) {
|
|
1055
|
-
this.filter(this.source(), this.SOURCE_LIST);
|
|
1056
|
-
}
|
|
1057
|
-
this.triggerChangeDetection();
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
moveAllLeft() {
|
|
1061
|
-
if (this.target()) {
|
|
1062
|
-
let movedItems = [];
|
|
1063
|
-
for (let i = 0; i < this.target().length; i++) {
|
|
1064
|
-
if (this.isItemVisible(this.target()[i], this.TARGET_LIST)) {
|
|
1065
|
-
let removedItem = this.target().splice(i, 1)[0];
|
|
1066
|
-
this.source().push(removedItem);
|
|
1067
|
-
movedItems.push(removedItem);
|
|
1068
|
-
i--;
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
this.onMoveAllToSource.emit({
|
|
1072
|
-
items: movedItems
|
|
1073
|
-
});
|
|
1074
|
-
if (this.keepSelection()) {
|
|
1075
|
-
this.selectedItemsSource = [...this.selectedItemsSource, ...this.selectedItemsTarget];
|
|
1076
|
-
}
|
|
1077
|
-
this.selectedItemsTarget = [];
|
|
1078
|
-
if (this.filterValueSource) {
|
|
1079
|
-
this.filter(this.source(), this.SOURCE_LIST);
|
|
1080
|
-
}
|
|
1081
|
-
this.visibleOptionsTarget = [];
|
|
1082
|
-
this.triggerChangeDetection();
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
isSelected(item, selectedItems) {
|
|
1086
|
-
return this.findIndexInList(item, selectedItems) != -1;
|
|
1087
|
-
}
|
|
1088
|
-
findIndexInList(item, selectedItems) {
|
|
1089
|
-
return findIndexInList(item, selectedItems);
|
|
1090
|
-
}
|
|
1091
|
-
onDrop(event, listType) {
|
|
1092
|
-
let isTransfer = event.previousContainer !== event.container;
|
|
1093
|
-
let dropIndexes = this.getDropIndexes(event.previousIndex, event.currentIndex, listType, isTransfer, event.item.data);
|
|
1094
|
-
if (listType === this.SOURCE_LIST) {
|
|
1095
|
-
if (isTransfer) {
|
|
1096
|
-
// Moving from target to source
|
|
1097
|
-
let itemsToMove = [];
|
|
1098
|
-
// Check if dragged item is in selected items
|
|
1099
|
-
if (this.selectedItemsTarget && this.selectedItemsTarget.length > 0 && findIndexInList(event.item.data, this.selectedItemsTarget) !== -1) {
|
|
1100
|
-
// Move all selected items
|
|
1101
|
-
itemsToMove = [...this.selectedItemsTarget];
|
|
1102
|
-
}
|
|
1103
|
-
else {
|
|
1104
|
-
// Move only the dragged item
|
|
1105
|
-
itemsToMove = [event.item.data];
|
|
1106
|
-
}
|
|
1107
|
-
// Sort items by their index in target (to maintain order)
|
|
1108
|
-
const sortedItems = this.sortByIndexInList(itemsToMove, this.target() || []);
|
|
1109
|
-
// Remove all items from target
|
|
1110
|
-
for (let item of sortedItems) {
|
|
1111
|
-
const itemIndex = findIndexInList(item, this.target() || []);
|
|
1112
|
-
if (itemIndex !== -1) {
|
|
1113
|
-
this.target()?.splice(itemIndex, 1);
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
// Add all items to source at the drop position
|
|
1117
|
-
for (let i = 0; i < sortedItems.length; i++) {
|
|
1118
|
-
this.source()?.splice(dropIndexes.currentIndex + i, 0, sortedItems[i]);
|
|
1119
|
-
}
|
|
1120
|
-
// Clear target selection
|
|
1121
|
-
this.selectedItemsTarget = [];
|
|
1122
|
-
if (this.keepSelection()) {
|
|
1123
|
-
this.selectedItemsSource = [...this.selectedItemsSource, ...itemsToMove];
|
|
1124
|
-
}
|
|
1125
|
-
if (this.visibleOptionsTarget) {
|
|
1126
|
-
// Update visible options
|
|
1127
|
-
for (let item of itemsToMove) {
|
|
1128
|
-
const visibleIndex = findIndexInList(item, this.visibleOptionsTarget);
|
|
1129
|
-
if (visibleIndex !== -1) {
|
|
1130
|
-
this.visibleOptionsTarget.splice(visibleIndex, 1);
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
this.onMoveToSource.emit({ items: itemsToMove });
|
|
1135
|
-
}
|
|
1136
|
-
else {
|
|
1137
|
-
if (this.source()) {
|
|
1138
|
-
moveItemInArray(this.source(), dropIndexes.previousIndex, dropIndexes.currentIndex);
|
|
1139
|
-
}
|
|
1140
|
-
this.onSourceReorder.emit({ items: [event.item.data] });
|
|
1141
|
-
}
|
|
1142
|
-
if (this.filterValueSource) {
|
|
1143
|
-
this.filter(this.source(), this.SOURCE_LIST);
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
else {
|
|
1147
|
-
if (isTransfer) {
|
|
1148
|
-
// Moving from source to target
|
|
1149
|
-
let itemsToMove = [];
|
|
1150
|
-
// Check if dragged item is in selected items
|
|
1151
|
-
if (this.selectedItemsSource && this.selectedItemsSource.length > 0 && findIndexInList(event.item.data, this.selectedItemsSource) !== -1) {
|
|
1152
|
-
// Move all selected items
|
|
1153
|
-
itemsToMove = [...this.selectedItemsSource];
|
|
1154
|
-
}
|
|
1155
|
-
else {
|
|
1156
|
-
// Move only the dragged item
|
|
1157
|
-
itemsToMove = [event.item.data];
|
|
1158
|
-
}
|
|
1159
|
-
// Sort items by their index in source (to maintain order)
|
|
1160
|
-
const sortedItems = this.sortByIndexInList(itemsToMove, this.source() || []);
|
|
1161
|
-
// Remove all items from source
|
|
1162
|
-
for (let item of sortedItems) {
|
|
1163
|
-
const itemIndex = findIndexInList(item, this.source() || []);
|
|
1164
|
-
if (itemIndex !== -1) {
|
|
1165
|
-
this.source()?.splice(itemIndex, 1);
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
// Add all items to target at the drop position
|
|
1169
|
-
for (let i = 0; i < sortedItems.length; i++) {
|
|
1170
|
-
this.target()?.splice(dropIndexes.currentIndex + i, 0, sortedItems[i]);
|
|
1171
|
-
}
|
|
1172
|
-
// Clear source selection
|
|
1173
|
-
this.selectedItemsSource = [];
|
|
1174
|
-
if (this.keepSelection()) {
|
|
1175
|
-
this.selectedItemsTarget = [...this.selectedItemsTarget, ...itemsToMove];
|
|
1176
|
-
}
|
|
1177
|
-
if (this.visibleOptionsSource) {
|
|
1178
|
-
// Update visible options
|
|
1179
|
-
for (let item of itemsToMove) {
|
|
1180
|
-
const visibleIndex = findIndexInList(item, this.visibleOptionsSource);
|
|
1181
|
-
if (visibleIndex !== -1) {
|
|
1182
|
-
this.visibleOptionsSource.splice(visibleIndex, 1);
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1186
|
-
this.onMoveToTarget.emit({ items: itemsToMove });
|
|
1187
|
-
}
|
|
1188
|
-
else {
|
|
1189
|
-
if (this.target()) {
|
|
1190
|
-
moveItemInArray(this.target(), dropIndexes.previousIndex, dropIndexes.currentIndex);
|
|
1191
|
-
}
|
|
1192
|
-
this.onTargetReorder.emit({ items: [event.item.data] });
|
|
1193
|
-
}
|
|
1194
|
-
if (this.filterValueTarget) {
|
|
1195
|
-
this.filter(this.target(), this.TARGET_LIST);
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
// Only trigger change detection for transfers, not reordering
|
|
1199
|
-
// Reordering modifies arrays in-place and triggerChangeDetection() would override changes
|
|
1200
|
-
if (isTransfer) {
|
|
1201
|
-
this.triggerChangeDetection();
|
|
1202
|
-
}
|
|
1203
|
-
this.cd.markForCheck();
|
|
1204
|
-
}
|
|
1205
|
-
onListFocus(event, listType) {
|
|
1206
|
-
this.onFocus.emit(event);
|
|
1207
|
-
}
|
|
1208
|
-
onListBlur(event, listType) {
|
|
1209
|
-
this.onBlur.emit(event);
|
|
1210
|
-
}
|
|
1211
|
-
getListElement(listType) {
|
|
1212
|
-
return listType === this.SOURCE_LIST ? this.listViewSourceChild()?.el.nativeElement : this.listViewTargetChild()?.el.nativeElement;
|
|
1213
|
-
}
|
|
1214
|
-
getListItems(listType) {
|
|
1215
|
-
let listElemet = this.getListElement(listType);
|
|
1216
|
-
return find(listElemet, 'li.h-picklist-item');
|
|
1217
|
-
}
|
|
1218
|
-
getLatestSelectedVisibleOptionIndex(visibleList, selectedItems) {
|
|
1219
|
-
const latestSelectedItem = [...selectedItems].reverse().find((item) => visibleList.includes(item));
|
|
1220
|
-
return latestSelectedItem !== undefined ? visibleList.indexOf(latestSelectedItem) : -1;
|
|
1221
|
-
}
|
|
1222
|
-
getVisibleList(listType) {
|
|
1223
|
-
if (listType === this.SOURCE_LIST) {
|
|
1224
|
-
return this.visibleOptionsSource && this.visibleOptionsSource.length > 0 ? this.visibleOptionsSource : this.source() && this.source().length > 0 ? this.source() : null;
|
|
1225
|
-
}
|
|
1226
|
-
return this.visibleOptionsTarget && this.visibleOptionsTarget.length > 0 ? this.visibleOptionsTarget : this.target() && this.target().length > 0 ? this.target() : null;
|
|
1227
|
-
}
|
|
1228
|
-
setSelectionList(listType, selectedItems) {
|
|
1229
|
-
if (listType === this.SOURCE_LIST) {
|
|
1230
|
-
this.selectedItemsSource = selectedItems;
|
|
1231
|
-
}
|
|
1232
|
-
else {
|
|
1233
|
-
this.selectedItemsTarget = selectedItems;
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
getDropIndexes(fromIndex, toIndex, droppedList, isTransfer, data) {
|
|
1237
|
-
let previousIndex, currentIndex;
|
|
1238
|
-
if (droppedList === this.SOURCE_LIST) {
|
|
1239
|
-
previousIndex = isTransfer ? (this.filterValueTarget ? findIndexInList(data, this.target() || []) : fromIndex) : this.filterValueSource ? findIndexInList(data, this.source() || []) : fromIndex;
|
|
1240
|
-
currentIndex = this.filterValueSource ? this.findFilteredCurrentIndex(this.visibleOptionsSource || [], toIndex, this.source() || []) : toIndex;
|
|
1241
|
-
}
|
|
1242
|
-
else {
|
|
1243
|
-
previousIndex = isTransfer ? (this.filterValueSource ? findIndexInList(data, this.source() || []) : fromIndex) : this.filterValueTarget ? findIndexInList(data, this.target() || []) : fromIndex;
|
|
1244
|
-
currentIndex = this.filterValueTarget ? this.findFilteredCurrentIndex(this.visibleOptionsTarget || [], toIndex, this.target() || []) : toIndex;
|
|
1245
|
-
}
|
|
1246
|
-
return { previousIndex, currentIndex };
|
|
1247
|
-
}
|
|
1248
|
-
findFilteredCurrentIndex(visibleOptions, index, options) {
|
|
1249
|
-
if (visibleOptions.length === index) {
|
|
1250
|
-
let toIndex = findIndexInList(visibleOptions[index - 1], options);
|
|
1251
|
-
return toIndex + 1;
|
|
1252
|
-
}
|
|
1253
|
-
else {
|
|
1254
|
-
return findIndexInList(visibleOptions[index], options);
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
resetSourceFilter() {
|
|
1258
|
-
this.visibleOptionsSource = null;
|
|
1259
|
-
this.filterValueSource = null;
|
|
1260
|
-
this.sourceFilterViewChild() && (this.sourceFilterViewChild().nativeElement.value = '');
|
|
1261
|
-
}
|
|
1262
|
-
resetTargetFilter() {
|
|
1263
|
-
this.visibleOptionsTarget = null;
|
|
1264
|
-
this.filterValueTarget = null;
|
|
1265
|
-
this.targetFilterViewChild() && (this.targetFilterViewChild().nativeElement.value = '');
|
|
1266
|
-
}
|
|
1267
|
-
resetFilter() {
|
|
1268
|
-
this.resetSourceFilter();
|
|
1269
|
-
this.resetTargetFilter();
|
|
1270
|
-
}
|
|
1271
|
-
initMedia() {
|
|
1272
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
1273
|
-
this.media = this.document.defaultView?.matchMedia(`(max-width: ${this.breakpoint()})`) || null;
|
|
1274
|
-
this.viewChanged = this.media?.matches || false;
|
|
1275
|
-
this.bindMediaChangeListener();
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
destroyMedia() {
|
|
1279
|
-
this.unbindMediaChangeListener();
|
|
1280
|
-
}
|
|
1281
|
-
bindMediaChangeListener() {
|
|
1282
|
-
if (this.media && !this.mediaChangeListener) {
|
|
1283
|
-
this.mediaChangeListener = this.renderer.listen(this.media, 'change', (event) => {
|
|
1284
|
-
this.viewChanged = event.matches;
|
|
1285
|
-
this.cd.markForCheck();
|
|
1286
|
-
});
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
unbindMediaChangeListener() {
|
|
1290
|
-
if (this.mediaChangeListener) {
|
|
1291
|
-
this.mediaChangeListener();
|
|
1292
|
-
this.mediaChangeListener = null;
|
|
1293
|
-
}
|
|
1294
|
-
}
|
|
1295
|
-
createStyle() {
|
|
1296
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
1297
|
-
if (!this.styleElement) {
|
|
1298
|
-
this.renderer.setAttribute(this.el.nativeElement.children[0], this.id, '');
|
|
1299
|
-
this.styleElement = this.renderer.createElement('style');
|
|
1300
|
-
this.renderer.setAttribute(this.styleElement, 'type', 'text/css');
|
|
1301
|
-
setAttribute(this.styleElement, 'nonce', this.config?.csp()?.nonce);
|
|
1302
|
-
this.renderer.appendChild(this.document.head, this.styleElement);
|
|
1303
|
-
let innerHTML = `
|
|
85
|
+
const PICKLIST_INSTANCE = new InjectionToken("PICKLIST_INSTANCE");
|
|
86
|
+
var PickList = class PickList extends BaseComponent {
|
|
87
|
+
componentName = "PickList";
|
|
88
|
+
hostName = input("", ...ngDevMode ? [{ debugName: "hostName" }] : /* istanbul ignore next */ []);
|
|
89
|
+
bindDirectiveInstance = inject(Bind, { self: true });
|
|
90
|
+
$pcPickList = inject(PICKLIST_INSTANCE, {
|
|
91
|
+
optional: true,
|
|
92
|
+
skipSelf: true
|
|
93
|
+
}) ?? void 0;
|
|
94
|
+
onAfterViewChecked() {
|
|
95
|
+
this.bindDirectiveInstance.setAttrs(this.ptm("host"));
|
|
96
|
+
}
|
|
97
|
+
source = model([], ...ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []);
|
|
98
|
+
target = model([], ...ngDevMode ? [{ debugName: "target" }] : /* istanbul ignore next */ []);
|
|
99
|
+
dataKey = input(...ngDevMode ? [void 0, { debugName: "dataKey" }] : /* istanbul ignore next */ []);
|
|
100
|
+
sourceHeader = input(void 0, ...ngDevMode ? [{ debugName: "sourceHeader" }] : /* istanbul ignore next */ []);
|
|
101
|
+
tabindex = input(0, {
|
|
102
|
+
...ngDevMode ? { debugName: "tabindex" } : /* istanbul ignore next */ {},
|
|
103
|
+
transform: numberAttribute
|
|
104
|
+
});
|
|
105
|
+
rightButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "rightButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
106
|
+
leftButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "leftButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
107
|
+
allRightButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "allRightButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
108
|
+
allLeftButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "allLeftButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
109
|
+
upButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "upButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
110
|
+
downButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "downButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
111
|
+
topButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "topButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
112
|
+
bottomButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "bottomButtonAriaLabel" }] : /* istanbul ignore next */ []);
|
|
113
|
+
sourceAriaLabel = input(...ngDevMode ? [void 0, { debugName: "sourceAriaLabel" }] : /* istanbul ignore next */ []);
|
|
114
|
+
targetAriaLabel = input(...ngDevMode ? [void 0, { debugName: "targetAriaLabel" }] : /* istanbul ignore next */ []);
|
|
115
|
+
targetHeader = input(void 0, ...ngDevMode ? [{ debugName: "targetHeader" }] : /* istanbul ignore next */ []);
|
|
116
|
+
responsive = input(void 0, {
|
|
117
|
+
...ngDevMode ? { debugName: "responsive" } : /* istanbul ignore next */ {},
|
|
118
|
+
transform: booleanAttribute
|
|
119
|
+
});
|
|
120
|
+
filterBy = input(...ngDevMode ? [void 0, { debugName: "filterBy" }] : /* istanbul ignore next */ []);
|
|
121
|
+
filterLocale = input(...ngDevMode ? [void 0, { debugName: "filterLocale" }] : /* istanbul ignore next */ []);
|
|
122
|
+
trackBy = input((index, item) => item, ...ngDevMode ? [{ debugName: "trackBy" }] : /* istanbul ignore next */ []);
|
|
123
|
+
sourceTrackBy = input(...ngDevMode ? [void 0, { debugName: "sourceTrackBy" }] : /* istanbul ignore next */ []);
|
|
124
|
+
targetTrackBy = input(...ngDevMode ? [void 0, { debugName: "targetTrackBy" }] : /* istanbul ignore next */ []);
|
|
125
|
+
showSourceFilter = input(true, {
|
|
126
|
+
...ngDevMode ? { debugName: "showSourceFilter" } : /* istanbul ignore next */ {},
|
|
127
|
+
transform: booleanAttribute
|
|
128
|
+
});
|
|
129
|
+
showTargetFilter = input(true, {
|
|
130
|
+
...ngDevMode ? { debugName: "showTargetFilter" } : /* istanbul ignore next */ {},
|
|
131
|
+
transform: booleanAttribute
|
|
132
|
+
});
|
|
133
|
+
metaKeySelection = input(false, {
|
|
134
|
+
...ngDevMode ? { debugName: "metaKeySelection" } : /* istanbul ignore next */ {},
|
|
135
|
+
transform: booleanAttribute
|
|
136
|
+
});
|
|
137
|
+
dragdrop = input(false, {
|
|
138
|
+
...ngDevMode ? { debugName: "dragdrop" } : /* istanbul ignore next */ {},
|
|
139
|
+
transform: booleanAttribute
|
|
140
|
+
});
|
|
141
|
+
style = input(...ngDevMode ? [void 0, { debugName: "style" }] : /* istanbul ignore next */ []);
|
|
142
|
+
styleClass = input(...ngDevMode ? [void 0, { debugName: "styleClass" }] : /* istanbul ignore next */ []);
|
|
143
|
+
sourceStyle = input(...ngDevMode ? [void 0, { debugName: "sourceStyle" }] : /* istanbul ignore next */ []);
|
|
144
|
+
targetStyle = input(...ngDevMode ? [void 0, { debugName: "targetStyle" }] : /* istanbul ignore next */ []);
|
|
145
|
+
showSourceControls = input(true, {
|
|
146
|
+
...ngDevMode ? { debugName: "showSourceControls" } : /* istanbul ignore next */ {},
|
|
147
|
+
transform: booleanAttribute
|
|
148
|
+
});
|
|
149
|
+
showTargetControls = input(true, {
|
|
150
|
+
...ngDevMode ? { debugName: "showTargetControls" } : /* istanbul ignore next */ {},
|
|
151
|
+
transform: booleanAttribute
|
|
152
|
+
});
|
|
153
|
+
sourceFilterPlaceholder = input(...ngDevMode ? [void 0, { debugName: "sourceFilterPlaceholder" }] : /* istanbul ignore next */ []);
|
|
154
|
+
targetFilterPlaceholder = input(...ngDevMode ? [void 0, { debugName: "targetFilterPlaceholder" }] : /* istanbul ignore next */ []);
|
|
155
|
+
disabled = input(void 0, {
|
|
156
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
157
|
+
transform: booleanAttribute
|
|
158
|
+
});
|
|
159
|
+
sourceOptionDisabled = input(...ngDevMode ? [void 0, { debugName: "sourceOptionDisabled" }] : /* istanbul ignore next */ []);
|
|
160
|
+
targetOptionDisabled = input(...ngDevMode ? [void 0, { debugName: "targetOptionDisabled" }] : /* istanbul ignore next */ []);
|
|
161
|
+
ariaSourceFilterLabel = input(...ngDevMode ? [void 0, { debugName: "ariaSourceFilterLabel" }] : /* istanbul ignore next */ []);
|
|
162
|
+
ariaTargetFilterLabel = input(...ngDevMode ? [void 0, { debugName: "ariaTargetFilterLabel" }] : /* istanbul ignore next */ []);
|
|
163
|
+
filterMatchMode = input("contains", ...ngDevMode ? [{ debugName: "filterMatchMode" }] : /* istanbul ignore next */ []);
|
|
164
|
+
stripedRows = input(void 0, {
|
|
165
|
+
...ngDevMode ? { debugName: "stripedRows" } : /* istanbul ignore next */ {},
|
|
166
|
+
transform: booleanAttribute
|
|
167
|
+
});
|
|
168
|
+
keepSelection = input(false, {
|
|
169
|
+
...ngDevMode ? { debugName: "keepSelection" } : /* istanbul ignore next */ {},
|
|
170
|
+
transform: booleanAttribute
|
|
171
|
+
});
|
|
172
|
+
scrollHeight = input("14rem", ...ngDevMode ? [{ debugName: "scrollHeight" }] : /* istanbul ignore next */ []);
|
|
173
|
+
autoOptionFocus = input(true, {
|
|
174
|
+
...ngDevMode ? { debugName: "autoOptionFocus" } : /* istanbul ignore next */ {},
|
|
175
|
+
transform: booleanAttribute
|
|
176
|
+
});
|
|
177
|
+
buttonProps = input({ severity: "secondary" }, ...ngDevMode ? [{ debugName: "buttonProps" }] : /* istanbul ignore next */ []);
|
|
178
|
+
moveUpButtonProps = input(...ngDevMode ? [void 0, { debugName: "moveUpButtonProps" }] : /* istanbul ignore next */ []);
|
|
179
|
+
moveTopButtonProps = input(...ngDevMode ? [void 0, { debugName: "moveTopButtonProps" }] : /* istanbul ignore next */ []);
|
|
180
|
+
moveDownButtonProps = input(...ngDevMode ? [void 0, { debugName: "moveDownButtonProps" }] : /* istanbul ignore next */ []);
|
|
181
|
+
moveBottomButtonProps = input(...ngDevMode ? [void 0, { debugName: "moveBottomButtonProps" }] : /* istanbul ignore next */ []);
|
|
182
|
+
moveToTargetProps = input(...ngDevMode ? [void 0, { debugName: "moveToTargetProps" }] : /* istanbul ignore next */ []);
|
|
183
|
+
moveAllToTargetProps = input(...ngDevMode ? [void 0, { debugName: "moveAllToTargetProps" }] : /* istanbul ignore next */ []);
|
|
184
|
+
moveToSourceProps = input(...ngDevMode ? [void 0, { debugName: "moveToSourceProps" }] : /* istanbul ignore next */ []);
|
|
185
|
+
moveAllToSourceProps = input(...ngDevMode ? [void 0, { debugName: "moveAllToSourceProps" }] : /* istanbul ignore next */ []);
|
|
186
|
+
breakpoint = model("960px", ...ngDevMode ? [{ debugName: "breakpoint" }] : /* istanbul ignore next */ []);
|
|
187
|
+
onMoveToSource = output();
|
|
188
|
+
onMoveAllToSource = output();
|
|
189
|
+
onMoveAllToTarget = output();
|
|
190
|
+
onMoveToTarget = output();
|
|
191
|
+
onSourceReorder = output();
|
|
192
|
+
onTargetReorder = output();
|
|
193
|
+
onSourceSelect = output();
|
|
194
|
+
onTargetSelect = output();
|
|
195
|
+
onSourceFilter = output();
|
|
196
|
+
onTargetFilter = output();
|
|
197
|
+
onFocus = output();
|
|
198
|
+
onBlur = output();
|
|
199
|
+
listViewSourceChild = viewChild("sourcelist", ...ngDevMode ? [{ debugName: "listViewSourceChild" }] : /* istanbul ignore next */ []);
|
|
200
|
+
listViewTargetChild = viewChild("targetlist", ...ngDevMode ? [{ debugName: "listViewTargetChild" }] : /* istanbul ignore next */ []);
|
|
201
|
+
sourceFilterViewChild = viewChild("sourceFilter", ...ngDevMode ? [{ debugName: "sourceFilterViewChild" }] : /* istanbul ignore next */ []);
|
|
202
|
+
targetFilterViewChild = viewChild("targetFilter", ...ngDevMode ? [{ debugName: "targetFilterViewChild" }] : /* istanbul ignore next */ []);
|
|
203
|
+
getButtonProps(direction) {
|
|
204
|
+
switch (direction) {
|
|
205
|
+
case "moveup": return {
|
|
206
|
+
...this.buttonProps(),
|
|
207
|
+
...this.moveUpButtonProps()
|
|
208
|
+
};
|
|
209
|
+
case "movetop": return {
|
|
210
|
+
...this.buttonProps(),
|
|
211
|
+
...this.moveTopButtonProps()
|
|
212
|
+
};
|
|
213
|
+
case "movedown": return {
|
|
214
|
+
...this.buttonProps(),
|
|
215
|
+
...this.moveDownButtonProps()
|
|
216
|
+
};
|
|
217
|
+
case "movebottom": return {
|
|
218
|
+
...this.buttonProps(),
|
|
219
|
+
...this.moveBottomButtonProps()
|
|
220
|
+
};
|
|
221
|
+
case "movetotarget": return {
|
|
222
|
+
...this.buttonProps(),
|
|
223
|
+
...this.moveToTargetProps()
|
|
224
|
+
};
|
|
225
|
+
case "movealltotarget": return {
|
|
226
|
+
...this.buttonProps(),
|
|
227
|
+
...this.moveAllToTargetProps()
|
|
228
|
+
};
|
|
229
|
+
case "movetosource": return {
|
|
230
|
+
...this.buttonProps(),
|
|
231
|
+
...this.moveToSourceProps()
|
|
232
|
+
};
|
|
233
|
+
case "movealltosource": return {
|
|
234
|
+
...this.buttonProps(),
|
|
235
|
+
...this.moveAllToSourceProps()
|
|
236
|
+
};
|
|
237
|
+
default: return this.buttonProps();
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
get targetOptions() {
|
|
241
|
+
return [...this.target() || []];
|
|
242
|
+
}
|
|
243
|
+
get sourceOptions() {
|
|
244
|
+
return [...this.source() || []];
|
|
245
|
+
}
|
|
246
|
+
get moveUpAriaLabel() {
|
|
247
|
+
const upButtonAriaLabel = this.upButtonAriaLabel();
|
|
248
|
+
return upButtonAriaLabel ? upButtonAriaLabel : this.config.translation.aria ? this.config.translation.aria.moveUp : void 0;
|
|
249
|
+
}
|
|
250
|
+
get moveTopAriaLabel() {
|
|
251
|
+
const topButtonAriaLabel = this.topButtonAriaLabel();
|
|
252
|
+
return topButtonAriaLabel ? topButtonAriaLabel : this.config.translation.aria ? this.config.translation.aria.moveTop : void 0;
|
|
253
|
+
}
|
|
254
|
+
get moveDownAriaLabel() {
|
|
255
|
+
const downButtonAriaLabel = this.downButtonAriaLabel();
|
|
256
|
+
return downButtonAriaLabel ? downButtonAriaLabel : this.config.translation.aria ? this.config.translation.aria.moveDown : void 0;
|
|
257
|
+
}
|
|
258
|
+
get moveBottomAriaLabel() {
|
|
259
|
+
const bottomButtonAriaLabel = this.bottomButtonAriaLabel();
|
|
260
|
+
return bottomButtonAriaLabel ? bottomButtonAriaLabel : this.config.translation.aria ? this.config.translation.aria.moveDown : void 0;
|
|
261
|
+
}
|
|
262
|
+
get moveToTargetAriaLabel() {
|
|
263
|
+
const rightButtonAriaLabel = this.rightButtonAriaLabel();
|
|
264
|
+
return rightButtonAriaLabel ? rightButtonAriaLabel : this.config.translation.aria ? this.config.translation.aria.moveToTarget : void 0;
|
|
265
|
+
}
|
|
266
|
+
get moveAllToTargetAriaLabel() {
|
|
267
|
+
const allRightButtonAriaLabel = this.allRightButtonAriaLabel();
|
|
268
|
+
return allRightButtonAriaLabel ? allRightButtonAriaLabel : this.config.translation.aria ? this.config.translation.aria.moveAllToTarget : void 0;
|
|
269
|
+
}
|
|
270
|
+
get moveToSourceAriaLabel() {
|
|
271
|
+
const leftButtonAriaLabel = this.leftButtonAriaLabel();
|
|
272
|
+
return leftButtonAriaLabel ? leftButtonAriaLabel : this.config.translation.aria ? this.config.translation.aria.moveToSource : void 0;
|
|
273
|
+
}
|
|
274
|
+
get moveAllToSourceAriaLabel() {
|
|
275
|
+
const allLeftButtonAriaLabel = this.allLeftButtonAriaLabel();
|
|
276
|
+
return allLeftButtonAriaLabel ? allLeftButtonAriaLabel : this.config.translation.aria ? this.config.translation.aria.moveAllToSource : void 0;
|
|
277
|
+
}
|
|
278
|
+
get idSource() {
|
|
279
|
+
return this.id + "_source";
|
|
280
|
+
}
|
|
281
|
+
get idTarget() {
|
|
282
|
+
return this.id + "_target";
|
|
283
|
+
}
|
|
284
|
+
visibleOptionsSource;
|
|
285
|
+
visibleOptionsTarget;
|
|
286
|
+
selectedItemsSource = [];
|
|
287
|
+
selectedItemsTarget = [];
|
|
288
|
+
reorderedListElement;
|
|
289
|
+
movedUp;
|
|
290
|
+
movedDown;
|
|
291
|
+
itemTouched;
|
|
292
|
+
styleElement;
|
|
293
|
+
id = uuid("pn_id_");
|
|
294
|
+
filterValueSource;
|
|
295
|
+
filterValueTarget;
|
|
296
|
+
fromListType;
|
|
297
|
+
sourceFilterOptions;
|
|
298
|
+
targetFilterOptions;
|
|
299
|
+
SOURCE_LIST = -1;
|
|
300
|
+
TARGET_LIST = 1;
|
|
301
|
+
window;
|
|
302
|
+
media;
|
|
303
|
+
viewChanged;
|
|
304
|
+
_componentStyle = inject(PickListStyle);
|
|
305
|
+
mediaChangeListener;
|
|
306
|
+
filterService = inject(FilterService);
|
|
307
|
+
onInit() {
|
|
308
|
+
if (this.responsive()) {
|
|
309
|
+
this.createStyle();
|
|
310
|
+
this.initMedia();
|
|
311
|
+
}
|
|
312
|
+
if (this.filterBy()) {
|
|
313
|
+
this.sourceFilterOptions = {
|
|
314
|
+
filter: (value) => this.filterSource(value),
|
|
315
|
+
reset: () => this.resetSourceFilter()
|
|
316
|
+
};
|
|
317
|
+
this.targetFilterOptions = {
|
|
318
|
+
filter: (value) => this.filterTarget(value),
|
|
319
|
+
reset: () => this.resetTargetFilter()
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
itemTemplate = contentChild("item", {
|
|
324
|
+
...ngDevMode ? { debugName: "itemTemplate" } : /* istanbul ignore next */ {},
|
|
325
|
+
descendants: false
|
|
326
|
+
});
|
|
327
|
+
sourceHeaderTemplate = contentChild("sourceHeader", {
|
|
328
|
+
...ngDevMode ? { debugName: "sourceHeaderTemplate" } : /* istanbul ignore next */ {},
|
|
329
|
+
descendants: false
|
|
330
|
+
});
|
|
331
|
+
targetHeaderTemplate = contentChild("targetHeader", {
|
|
332
|
+
...ngDevMode ? { debugName: "targetHeaderTemplate" } : /* istanbul ignore next */ {},
|
|
333
|
+
descendants: false
|
|
334
|
+
});
|
|
335
|
+
sourceFilterTemplate = contentChild("sourceFilter", {
|
|
336
|
+
...ngDevMode ? { debugName: "sourceFilterTemplate" } : /* istanbul ignore next */ {},
|
|
337
|
+
descendants: false
|
|
338
|
+
});
|
|
339
|
+
targetFilterTemplate = contentChild("targetFilter", {
|
|
340
|
+
...ngDevMode ? { debugName: "targetFilterTemplate" } : /* istanbul ignore next */ {},
|
|
341
|
+
descendants: false
|
|
342
|
+
});
|
|
343
|
+
emptyMessageSourceTemplate = contentChild("emptymessagesource", {
|
|
344
|
+
...ngDevMode ? { debugName: "emptyMessageSourceTemplate" } : /* istanbul ignore next */ {},
|
|
345
|
+
descendants: false
|
|
346
|
+
});
|
|
347
|
+
emptyFilterMessageSourceTemplate = contentChild("emptyfiltermessagesource", {
|
|
348
|
+
...ngDevMode ? { debugName: "emptyFilterMessageSourceTemplate" } : /* istanbul ignore next */ {},
|
|
349
|
+
descendants: false
|
|
350
|
+
});
|
|
351
|
+
emptyMessageTargetTemplate = contentChild("emptymessagetarget", {
|
|
352
|
+
...ngDevMode ? { debugName: "emptyMessageTargetTemplate" } : /* istanbul ignore next */ {},
|
|
353
|
+
descendants: false
|
|
354
|
+
});
|
|
355
|
+
emptyFilterMessageTargetTemplate = contentChild("emptyfiltermessagetarget", {
|
|
356
|
+
...ngDevMode ? { debugName: "emptyFilterMessageTargetTemplate" } : /* istanbul ignore next */ {},
|
|
357
|
+
descendants: false
|
|
358
|
+
});
|
|
359
|
+
moveUpIconTemplate = contentChild("moveupicon", {
|
|
360
|
+
...ngDevMode ? { debugName: "moveUpIconTemplate" } : /* istanbul ignore next */ {},
|
|
361
|
+
descendants: false
|
|
362
|
+
});
|
|
363
|
+
moveTopIconTemplate = contentChild("movetopicon", {
|
|
364
|
+
...ngDevMode ? { debugName: "moveTopIconTemplate" } : /* istanbul ignore next */ {},
|
|
365
|
+
descendants: false
|
|
366
|
+
});
|
|
367
|
+
moveDownIconTemplate = contentChild("movedownicon", {
|
|
368
|
+
...ngDevMode ? { debugName: "moveDownIconTemplate" } : /* istanbul ignore next */ {},
|
|
369
|
+
descendants: false
|
|
370
|
+
});
|
|
371
|
+
moveBottomIconTemplate = contentChild("movebottomicon", {
|
|
372
|
+
...ngDevMode ? { debugName: "moveBottomIconTemplate" } : /* istanbul ignore next */ {},
|
|
373
|
+
descendants: false
|
|
374
|
+
});
|
|
375
|
+
moveToTargetIconTemplate = contentChild("movetotargeticon", {
|
|
376
|
+
...ngDevMode ? { debugName: "moveToTargetIconTemplate" } : /* istanbul ignore next */ {},
|
|
377
|
+
descendants: false
|
|
378
|
+
});
|
|
379
|
+
moveAllToTargetIconTemplate = contentChild("movealltotargeticon", {
|
|
380
|
+
...ngDevMode ? { debugName: "moveAllToTargetIconTemplate" } : /* istanbul ignore next */ {},
|
|
381
|
+
descendants: false
|
|
382
|
+
});
|
|
383
|
+
moveToSourceIconTemplate = contentChild("movetosourceicon", {
|
|
384
|
+
...ngDevMode ? { debugName: "moveToSourceIconTemplate" } : /* istanbul ignore next */ {},
|
|
385
|
+
descendants: false
|
|
386
|
+
});
|
|
387
|
+
moveAllToSourceIconTemplate = contentChild("movealltosourceicon", {
|
|
388
|
+
...ngDevMode ? { debugName: "moveAllToSourceIconTemplate" } : /* istanbul ignore next */ {},
|
|
389
|
+
descendants: false
|
|
390
|
+
});
|
|
391
|
+
targetFilterIconTemplate = contentChild("targetfiltericon", {
|
|
392
|
+
...ngDevMode ? { debugName: "targetFilterIconTemplate" } : /* istanbul ignore next */ {},
|
|
393
|
+
descendants: false
|
|
394
|
+
});
|
|
395
|
+
sourceFilterIconTemplate = contentChild("sourcefiltericon", {
|
|
396
|
+
...ngDevMode ? { debugName: "sourceFilterIconTemplate" } : /* istanbul ignore next */ {},
|
|
397
|
+
descendants: false
|
|
398
|
+
});
|
|
399
|
+
templates = contentChildren(HelixTemplate, ...ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []);
|
|
400
|
+
_itemTemplate;
|
|
401
|
+
_sourceHeaderTemplate;
|
|
402
|
+
_targetHeaderTemplate;
|
|
403
|
+
_sourceFilterTemplate;
|
|
404
|
+
_targetFilterTemplate;
|
|
405
|
+
_emptyMessageSourceTemplate;
|
|
406
|
+
_emptyFilterMessageSourceTemplate;
|
|
407
|
+
_emptyMessageTargetTemplate;
|
|
408
|
+
_emptyFilterMessageTargetTemplate;
|
|
409
|
+
_moveUpIconTemplate;
|
|
410
|
+
_moveTopIconTemplate;
|
|
411
|
+
_moveDownIconTemplate;
|
|
412
|
+
_moveBottomIconTemplate;
|
|
413
|
+
_moveToTargetIconTemplate;
|
|
414
|
+
_moveAllToTargetIconTemplate;
|
|
415
|
+
_moveToSourceIconTemplate;
|
|
416
|
+
_moveAllToSourceIconTemplate;
|
|
417
|
+
_targetFilterIconTemplate;
|
|
418
|
+
_sourceFilterIconTemplate;
|
|
419
|
+
onAfterContentInit() {
|
|
420
|
+
this.templates().forEach((item) => {
|
|
421
|
+
switch (item.getType()) {
|
|
422
|
+
case "item":
|
|
423
|
+
this._itemTemplate = item.template;
|
|
424
|
+
break;
|
|
425
|
+
case "option":
|
|
426
|
+
this._itemTemplate = item.template;
|
|
427
|
+
break;
|
|
428
|
+
case "sourceHeader":
|
|
429
|
+
this._sourceHeaderTemplate = item.template;
|
|
430
|
+
break;
|
|
431
|
+
case "targetHeader":
|
|
432
|
+
this._targetHeaderTemplate = item.template;
|
|
433
|
+
break;
|
|
434
|
+
case "sourceFilter":
|
|
435
|
+
this._sourceFilterTemplate = item.template;
|
|
436
|
+
break;
|
|
437
|
+
case "targetFilter":
|
|
438
|
+
this._targetFilterTemplate = item.template;
|
|
439
|
+
break;
|
|
440
|
+
case "emptymessagesource":
|
|
441
|
+
this._emptyMessageSourceTemplate = item.template;
|
|
442
|
+
break;
|
|
443
|
+
case "emptyfiltermessagesource":
|
|
444
|
+
this._emptyFilterMessageSourceTemplate = item.template;
|
|
445
|
+
break;
|
|
446
|
+
case "emptymessagetarget":
|
|
447
|
+
this._emptyMessageTargetTemplate = item.template;
|
|
448
|
+
break;
|
|
449
|
+
case "emptyfiltermessagetarget":
|
|
450
|
+
this._emptyFilterMessageTargetTemplate = item.template;
|
|
451
|
+
break;
|
|
452
|
+
case "moveupicon":
|
|
453
|
+
this._moveUpIconTemplate = item.template;
|
|
454
|
+
break;
|
|
455
|
+
case "movetopicon":
|
|
456
|
+
this._moveTopIconTemplate = item.template;
|
|
457
|
+
break;
|
|
458
|
+
case "movedownicon":
|
|
459
|
+
this._moveDownIconTemplate = item.template;
|
|
460
|
+
break;
|
|
461
|
+
case "movebottomicon":
|
|
462
|
+
this._moveBottomIconTemplate = item.template;
|
|
463
|
+
break;
|
|
464
|
+
case "movetotargeticon":
|
|
465
|
+
this._moveToTargetIconTemplate = item.template;
|
|
466
|
+
break;
|
|
467
|
+
case "movealltotargeticon":
|
|
468
|
+
this._moveAllToTargetIconTemplate = item.template;
|
|
469
|
+
break;
|
|
470
|
+
case "movetosourceicon":
|
|
471
|
+
this._moveToSourceIconTemplate = item.template;
|
|
472
|
+
break;
|
|
473
|
+
case "movealltosourceicon":
|
|
474
|
+
this._moveAllToSourceIconTemplate = item.template;
|
|
475
|
+
break;
|
|
476
|
+
case "targetfiltericon":
|
|
477
|
+
this._targetFilterIconTemplate = item.template;
|
|
478
|
+
break;
|
|
479
|
+
case "sourcefiltericon":
|
|
480
|
+
this._sourceFilterIconTemplate = item.template;
|
|
481
|
+
break;
|
|
482
|
+
default:
|
|
483
|
+
this._itemTemplate = item.template;
|
|
484
|
+
break;
|
|
485
|
+
}
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
onChangeSelection(e, listType) {
|
|
489
|
+
this.setSelectionList(listType, e.value);
|
|
490
|
+
(listType === this.SOURCE_LIST ? this.onSourceSelect : this.onTargetSelect).emit({
|
|
491
|
+
originalEvent: e.originalEvent,
|
|
492
|
+
items: e.value
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
onSourceItemDblClick() {
|
|
496
|
+
if (this.disabled()) return;
|
|
497
|
+
this.moveRight();
|
|
498
|
+
this.triggerChangeDetection();
|
|
499
|
+
}
|
|
500
|
+
onTargetItemDblClick() {
|
|
501
|
+
if (this.disabled()) return;
|
|
502
|
+
this.moveLeft();
|
|
503
|
+
this.triggerChangeDetection();
|
|
504
|
+
}
|
|
505
|
+
onFilter(event, listType) {
|
|
506
|
+
let query = event.target.value;
|
|
507
|
+
if (listType === this.SOURCE_LIST) this.filterSource(query);
|
|
508
|
+
else if (listType === this.TARGET_LIST) this.filterTarget(query);
|
|
509
|
+
}
|
|
510
|
+
filterSource(value = "") {
|
|
511
|
+
this.filterValueSource = value.trim().toLocaleLowerCase(this.filterLocale());
|
|
512
|
+
this.filter(this.source(), this.SOURCE_LIST);
|
|
513
|
+
this.onSourceFilter.emit({
|
|
514
|
+
query: this.filterValueSource,
|
|
515
|
+
value: this.visibleOptionsSource
|
|
516
|
+
});
|
|
517
|
+
}
|
|
518
|
+
filterTarget(value = "") {
|
|
519
|
+
this.filterValueTarget = value.trim().toLocaleLowerCase(this.filterLocale());
|
|
520
|
+
this.filter(this.target(), this.TARGET_LIST);
|
|
521
|
+
this.onTargetFilter.emit({
|
|
522
|
+
query: this.filterValueTarget,
|
|
523
|
+
value: this.visibleOptionsTarget
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
filter(data, listType) {
|
|
527
|
+
let searchFields = this.filterBy().split(",");
|
|
528
|
+
if (listType === this.SOURCE_LIST) {
|
|
529
|
+
this.visibleOptionsSource = this.filterService.filter(data, searchFields, this.filterValueSource, this.filterMatchMode(), this.filterLocale());
|
|
530
|
+
this.onSourceFilter.emit({
|
|
531
|
+
query: this.filterValueSource,
|
|
532
|
+
value: this.visibleOptionsSource
|
|
533
|
+
});
|
|
534
|
+
} else if (listType === this.TARGET_LIST) {
|
|
535
|
+
this.visibleOptionsTarget = this.filterService.filter(data, searchFields, this.filterValueTarget, this.filterMatchMode(), this.filterLocale());
|
|
536
|
+
this.onTargetFilter.emit({
|
|
537
|
+
query: this.filterValueTarget,
|
|
538
|
+
value: this.visibleOptionsTarget
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
isItemVisible(item, listType) {
|
|
543
|
+
if (listType == this.SOURCE_LIST) return this.isVisibleInList(this.visibleOptionsSource, item, this.filterValueSource);
|
|
544
|
+
else return this.isVisibleInList(this.visibleOptionsTarget, item, this.filterValueTarget);
|
|
545
|
+
}
|
|
546
|
+
isEmpty(listType) {
|
|
547
|
+
if (listType == this.SOURCE_LIST) return this.filterValueSource ? !this.visibleOptionsSource || this.visibleOptionsSource.length === 0 : !this.source() || this.source().length === 0;
|
|
548
|
+
else return this.filterValueTarget ? !this.visibleOptionsTarget || this.visibleOptionsTarget.length === 0 : !this.target() || this.target().length === 0;
|
|
549
|
+
}
|
|
550
|
+
isVisibleInList(data, item, filterValue) {
|
|
551
|
+
if (filterValue && filterValue.trim().length) {
|
|
552
|
+
for (let i = 0; i < data.length; i++) if (item == data[i]) return true;
|
|
553
|
+
} else return true;
|
|
554
|
+
}
|
|
555
|
+
onItemTouchEnd() {
|
|
556
|
+
if (this.disabled()) return;
|
|
557
|
+
this.itemTouched = true;
|
|
558
|
+
}
|
|
559
|
+
sortByIndexInList(items, list) {
|
|
560
|
+
return items.sort((item1, item2) => findIndexInList(item1, list) - findIndexInList(item2, list));
|
|
561
|
+
}
|
|
562
|
+
triggerChangeDetection() {
|
|
563
|
+
this.listViewTargetChild()?.cd.markForCheck();
|
|
564
|
+
this.listViewSourceChild()?.cd.markForCheck();
|
|
565
|
+
}
|
|
566
|
+
moveUp(listElement, list, selectedItems, callback, listType) {
|
|
567
|
+
if (selectedItems && selectedItems.length) {
|
|
568
|
+
selectedItems = this.sortByIndexInList(selectedItems, list);
|
|
569
|
+
for (let i = 0; i < selectedItems.length; i++) {
|
|
570
|
+
let selectedItem = selectedItems[i];
|
|
571
|
+
let selectedItemIndex = findIndexInList(selectedItem, list);
|
|
572
|
+
if (selectedItemIndex != 0) {
|
|
573
|
+
let movedItem = list[selectedItemIndex];
|
|
574
|
+
let temp = list[selectedItemIndex - 1];
|
|
575
|
+
list[selectedItemIndex - 1] = movedItem;
|
|
576
|
+
list[selectedItemIndex] = temp;
|
|
577
|
+
} else break;
|
|
578
|
+
}
|
|
579
|
+
if (this.dragdrop() && (this.filterValueSource && listType === this.SOURCE_LIST || this.filterValueTarget && listType === this.TARGET_LIST)) this.filter(list, listType);
|
|
580
|
+
this.movedUp = true;
|
|
581
|
+
this.reorderedListElement = listElement;
|
|
582
|
+
callback.emit({ items: selectedItems });
|
|
583
|
+
this.triggerChangeDetection();
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
moveTop(listElement, list, selectedItems, callback, listType) {
|
|
587
|
+
if (selectedItems && selectedItems.length) {
|
|
588
|
+
selectedItems = this.sortByIndexInList(selectedItems, list);
|
|
589
|
+
for (let i = 0; i < selectedItems.length; i++) {
|
|
590
|
+
let selectedItem = selectedItems[i];
|
|
591
|
+
let selectedItemIndex = findIndexInList(selectedItem, list);
|
|
592
|
+
if (selectedItemIndex != 0) {
|
|
593
|
+
let movedItem = list.splice(selectedItemIndex, 1)[0];
|
|
594
|
+
list.unshift(movedItem);
|
|
595
|
+
} else break;
|
|
596
|
+
}
|
|
597
|
+
if (this.dragdrop() && (this.filterValueSource && listType === this.SOURCE_LIST || this.filterValueTarget && listType === this.TARGET_LIST)) this.filter(list, listType);
|
|
598
|
+
listElement.scrollTop = 0;
|
|
599
|
+
callback.emit({ items: selectedItems });
|
|
600
|
+
this.triggerChangeDetection();
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
moveDown(listElement, list, selectedItems, callback, listType) {
|
|
604
|
+
if (selectedItems && selectedItems.length) {
|
|
605
|
+
selectedItems = this.sortByIndexInList(selectedItems, list);
|
|
606
|
+
for (let i = selectedItems.length - 1; i >= 0; i--) {
|
|
607
|
+
let selectedItem = selectedItems[i];
|
|
608
|
+
let selectedItemIndex = findIndexInList(selectedItem, list);
|
|
609
|
+
if (selectedItemIndex != list.length - 1) {
|
|
610
|
+
let movedItem = list[selectedItemIndex];
|
|
611
|
+
let temp = list[selectedItemIndex + 1];
|
|
612
|
+
list[selectedItemIndex + 1] = movedItem;
|
|
613
|
+
list[selectedItemIndex] = temp;
|
|
614
|
+
} else break;
|
|
615
|
+
}
|
|
616
|
+
if (this.dragdrop() && (this.filterValueSource && listType === this.SOURCE_LIST || this.filterValueTarget && listType === this.TARGET_LIST)) this.filter(list, listType);
|
|
617
|
+
this.movedDown = true;
|
|
618
|
+
this.reorderedListElement = listElement;
|
|
619
|
+
callback.emit({ items: selectedItems });
|
|
620
|
+
this.triggerChangeDetection();
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
moveBottom(listElement, list, selectedItems, callback, listType) {
|
|
624
|
+
if (selectedItems && selectedItems.length) {
|
|
625
|
+
selectedItems = this.sortByIndexInList(selectedItems, list);
|
|
626
|
+
for (let i = selectedItems.length - 1; i >= 0; i--) {
|
|
627
|
+
let selectedItem = selectedItems[i];
|
|
628
|
+
let selectedItemIndex = findIndexInList(selectedItem, list);
|
|
629
|
+
if (selectedItemIndex != list.length - 1) {
|
|
630
|
+
let movedItem = list.splice(selectedItemIndex, 1)[0];
|
|
631
|
+
list.push(movedItem);
|
|
632
|
+
} else break;
|
|
633
|
+
}
|
|
634
|
+
if (this.dragdrop() && (this.filterValueSource && listType === this.SOURCE_LIST || this.filterValueTarget && listType === this.TARGET_LIST)) this.filter(list, listType);
|
|
635
|
+
listElement.scrollTop = listElement.scrollHeight;
|
|
636
|
+
callback.emit({ items: selectedItems });
|
|
637
|
+
this.triggerChangeDetection();
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
moveRight() {
|
|
641
|
+
if (this.selectedItemsSource && this.selectedItemsSource.length) {
|
|
642
|
+
let itemsToMove = [...this.selectedItemsSource];
|
|
643
|
+
for (let i = 0; i < itemsToMove.length; i++) {
|
|
644
|
+
let selectedItem = itemsToMove[i];
|
|
645
|
+
if (findIndexInList(selectedItem, this.target() || []) == -1) {
|
|
646
|
+
this.target()?.push(this.source()?.splice(findIndexInList(selectedItem, this.source()), 1)[0]);
|
|
647
|
+
if (this.visibleOptionsSource?.includes(selectedItem)) this.visibleOptionsSource.splice(findIndexInList(selectedItem, this.visibleOptionsSource), 1);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
this.onMoveToTarget.emit({ items: itemsToMove });
|
|
651
|
+
if (this.keepSelection()) this.selectedItemsTarget = [...this.selectedItemsTarget, ...itemsToMove];
|
|
652
|
+
itemsToMove = [];
|
|
653
|
+
this.selectedItemsSource = [];
|
|
654
|
+
if (this.filterValueTarget) this.filter(this.target(), this.TARGET_LIST);
|
|
655
|
+
this.triggerChangeDetection();
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
moveAllRight() {
|
|
659
|
+
if (this.source()) {
|
|
660
|
+
let movedItems = [];
|
|
661
|
+
for (let i = 0; i < this.source().length; i++) if (this.isItemVisible(this.source()[i], this.SOURCE_LIST)) {
|
|
662
|
+
let removedItem = this.source().splice(i, 1)[0];
|
|
663
|
+
this.target().push(removedItem);
|
|
664
|
+
movedItems.push(removedItem);
|
|
665
|
+
i--;
|
|
666
|
+
}
|
|
667
|
+
this.onMoveAllToTarget.emit({ items: movedItems });
|
|
668
|
+
if (this.keepSelection()) this.selectedItemsTarget = [...this.selectedItemsTarget, ...this.selectedItemsSource];
|
|
669
|
+
this.selectedItemsSource = [];
|
|
670
|
+
if (this.filterValueTarget) this.filter(this.target(), this.TARGET_LIST);
|
|
671
|
+
this.visibleOptionsSource = [];
|
|
672
|
+
this.triggerChangeDetection();
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
moveLeft() {
|
|
676
|
+
if (this.selectedItemsTarget && this.selectedItemsTarget.length) {
|
|
677
|
+
let itemsToMove = [...this.selectedItemsTarget];
|
|
678
|
+
for (let i = 0; i < itemsToMove.length; i++) {
|
|
679
|
+
let selectedItem = itemsToMove[i];
|
|
680
|
+
if (findIndexInList(selectedItem, this.source() || []) == -1) {
|
|
681
|
+
this.source()?.push(this.target()?.splice(findIndexInList(selectedItem, this.target()), 1)[0]);
|
|
682
|
+
if (this.visibleOptionsTarget?.includes(selectedItem)) this.visibleOptionsTarget.splice(findIndexInList(selectedItem, this.visibleOptionsTarget), 1)[0];
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
this.onMoveToSource.emit({ items: itemsToMove });
|
|
686
|
+
if (this.keepSelection()) this.selectedItemsSource = [...this.selectedItemsSource, itemsToMove];
|
|
687
|
+
itemsToMove = [];
|
|
688
|
+
this.selectedItemsTarget = [];
|
|
689
|
+
if (this.filterValueSource) this.filter(this.source(), this.SOURCE_LIST);
|
|
690
|
+
this.triggerChangeDetection();
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
moveAllLeft() {
|
|
694
|
+
if (this.target()) {
|
|
695
|
+
let movedItems = [];
|
|
696
|
+
for (let i = 0; i < this.target().length; i++) if (this.isItemVisible(this.target()[i], this.TARGET_LIST)) {
|
|
697
|
+
let removedItem = this.target().splice(i, 1)[0];
|
|
698
|
+
this.source().push(removedItem);
|
|
699
|
+
movedItems.push(removedItem);
|
|
700
|
+
i--;
|
|
701
|
+
}
|
|
702
|
+
this.onMoveAllToSource.emit({ items: movedItems });
|
|
703
|
+
if (this.keepSelection()) this.selectedItemsSource = [...this.selectedItemsSource, ...this.selectedItemsTarget];
|
|
704
|
+
this.selectedItemsTarget = [];
|
|
705
|
+
if (this.filterValueSource) this.filter(this.source(), this.SOURCE_LIST);
|
|
706
|
+
this.visibleOptionsTarget = [];
|
|
707
|
+
this.triggerChangeDetection();
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
isSelected(item, selectedItems) {
|
|
711
|
+
return this.findIndexInList(item, selectedItems) != -1;
|
|
712
|
+
}
|
|
713
|
+
findIndexInList(item, selectedItems) {
|
|
714
|
+
return findIndexInList(item, selectedItems);
|
|
715
|
+
}
|
|
716
|
+
onDrop(event, listType) {
|
|
717
|
+
let isTransfer = event.previousContainer !== event.container;
|
|
718
|
+
let dropIndexes = this.getDropIndexes(event.previousIndex, event.currentIndex, listType, isTransfer, event.item.data);
|
|
719
|
+
if (listType === this.SOURCE_LIST) {
|
|
720
|
+
if (isTransfer) {
|
|
721
|
+
let itemsToMove = [];
|
|
722
|
+
if (this.selectedItemsTarget && this.selectedItemsTarget.length > 0 && findIndexInList(event.item.data, this.selectedItemsTarget) !== -1) itemsToMove = [...this.selectedItemsTarget];
|
|
723
|
+
else itemsToMove = [event.item.data];
|
|
724
|
+
const sortedItems = this.sortByIndexInList(itemsToMove, this.target() || []);
|
|
725
|
+
for (let item of sortedItems) {
|
|
726
|
+
const itemIndex = findIndexInList(item, this.target() || []);
|
|
727
|
+
if (itemIndex !== -1) this.target()?.splice(itemIndex, 1);
|
|
728
|
+
}
|
|
729
|
+
for (let i = 0; i < sortedItems.length; i++) this.source()?.splice(dropIndexes.currentIndex + i, 0, sortedItems[i]);
|
|
730
|
+
this.selectedItemsTarget = [];
|
|
731
|
+
if (this.keepSelection()) this.selectedItemsSource = [...this.selectedItemsSource, ...itemsToMove];
|
|
732
|
+
if (this.visibleOptionsTarget) for (let item of itemsToMove) {
|
|
733
|
+
const visibleIndex = findIndexInList(item, this.visibleOptionsTarget);
|
|
734
|
+
if (visibleIndex !== -1) this.visibleOptionsTarget.splice(visibleIndex, 1);
|
|
735
|
+
}
|
|
736
|
+
this.onMoveToSource.emit({ items: itemsToMove });
|
|
737
|
+
} else {
|
|
738
|
+
if (this.source()) moveItemInArray(this.source(), dropIndexes.previousIndex, dropIndexes.currentIndex);
|
|
739
|
+
this.onSourceReorder.emit({ items: [event.item.data] });
|
|
740
|
+
}
|
|
741
|
+
if (this.filterValueSource) this.filter(this.source(), this.SOURCE_LIST);
|
|
742
|
+
} else {
|
|
743
|
+
if (isTransfer) {
|
|
744
|
+
let itemsToMove = [];
|
|
745
|
+
if (this.selectedItemsSource && this.selectedItemsSource.length > 0 && findIndexInList(event.item.data, this.selectedItemsSource) !== -1) itemsToMove = [...this.selectedItemsSource];
|
|
746
|
+
else itemsToMove = [event.item.data];
|
|
747
|
+
const sortedItems = this.sortByIndexInList(itemsToMove, this.source() || []);
|
|
748
|
+
for (let item of sortedItems) {
|
|
749
|
+
const itemIndex = findIndexInList(item, this.source() || []);
|
|
750
|
+
if (itemIndex !== -1) this.source()?.splice(itemIndex, 1);
|
|
751
|
+
}
|
|
752
|
+
for (let i = 0; i < sortedItems.length; i++) this.target()?.splice(dropIndexes.currentIndex + i, 0, sortedItems[i]);
|
|
753
|
+
this.selectedItemsSource = [];
|
|
754
|
+
if (this.keepSelection()) this.selectedItemsTarget = [...this.selectedItemsTarget, ...itemsToMove];
|
|
755
|
+
if (this.visibleOptionsSource) for (let item of itemsToMove) {
|
|
756
|
+
const visibleIndex = findIndexInList(item, this.visibleOptionsSource);
|
|
757
|
+
if (visibleIndex !== -1) this.visibleOptionsSource.splice(visibleIndex, 1);
|
|
758
|
+
}
|
|
759
|
+
this.onMoveToTarget.emit({ items: itemsToMove });
|
|
760
|
+
} else {
|
|
761
|
+
if (this.target()) moveItemInArray(this.target(), dropIndexes.previousIndex, dropIndexes.currentIndex);
|
|
762
|
+
this.onTargetReorder.emit({ items: [event.item.data] });
|
|
763
|
+
}
|
|
764
|
+
if (this.filterValueTarget) this.filter(this.target(), this.TARGET_LIST);
|
|
765
|
+
}
|
|
766
|
+
if (isTransfer) this.triggerChangeDetection();
|
|
767
|
+
this.cd.markForCheck();
|
|
768
|
+
}
|
|
769
|
+
onListFocus(event, listType) {
|
|
770
|
+
this.onFocus.emit(event);
|
|
771
|
+
}
|
|
772
|
+
onListBlur(event, listType) {
|
|
773
|
+
this.onBlur.emit(event);
|
|
774
|
+
}
|
|
775
|
+
getListElement(listType) {
|
|
776
|
+
return listType === this.SOURCE_LIST ? this.listViewSourceChild()?.el.nativeElement : this.listViewTargetChild()?.el.nativeElement;
|
|
777
|
+
}
|
|
778
|
+
getListItems(listType) {
|
|
779
|
+
return find(this.getListElement(listType), "li.h-picklist-item");
|
|
780
|
+
}
|
|
781
|
+
getLatestSelectedVisibleOptionIndex(visibleList, selectedItems) {
|
|
782
|
+
const latestSelectedItem = [...selectedItems].reverse().find((item) => visibleList.includes(item));
|
|
783
|
+
return latestSelectedItem !== void 0 ? visibleList.indexOf(latestSelectedItem) : -1;
|
|
784
|
+
}
|
|
785
|
+
getVisibleList(listType) {
|
|
786
|
+
if (listType === this.SOURCE_LIST) return this.visibleOptionsSource && this.visibleOptionsSource.length > 0 ? this.visibleOptionsSource : this.source() && this.source().length > 0 ? this.source() : null;
|
|
787
|
+
return this.visibleOptionsTarget && this.visibleOptionsTarget.length > 0 ? this.visibleOptionsTarget : this.target() && this.target().length > 0 ? this.target() : null;
|
|
788
|
+
}
|
|
789
|
+
setSelectionList(listType, selectedItems) {
|
|
790
|
+
if (listType === this.SOURCE_LIST) this.selectedItemsSource = selectedItems;
|
|
791
|
+
else this.selectedItemsTarget = selectedItems;
|
|
792
|
+
}
|
|
793
|
+
getDropIndexes(fromIndex, toIndex, droppedList, isTransfer, data) {
|
|
794
|
+
let previousIndex, currentIndex;
|
|
795
|
+
if (droppedList === this.SOURCE_LIST) {
|
|
796
|
+
previousIndex = isTransfer ? this.filterValueTarget ? findIndexInList(data, this.target() || []) : fromIndex : this.filterValueSource ? findIndexInList(data, this.source() || []) : fromIndex;
|
|
797
|
+
currentIndex = this.filterValueSource ? this.findFilteredCurrentIndex(this.visibleOptionsSource || [], toIndex, this.source() || []) : toIndex;
|
|
798
|
+
} else {
|
|
799
|
+
previousIndex = isTransfer ? this.filterValueSource ? findIndexInList(data, this.source() || []) : fromIndex : this.filterValueTarget ? findIndexInList(data, this.target() || []) : fromIndex;
|
|
800
|
+
currentIndex = this.filterValueTarget ? this.findFilteredCurrentIndex(this.visibleOptionsTarget || [], toIndex, this.target() || []) : toIndex;
|
|
801
|
+
}
|
|
802
|
+
return {
|
|
803
|
+
previousIndex,
|
|
804
|
+
currentIndex
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
findFilteredCurrentIndex(visibleOptions, index, options) {
|
|
808
|
+
if (visibleOptions.length === index) return findIndexInList(visibleOptions[index - 1], options) + 1;
|
|
809
|
+
else return findIndexInList(visibleOptions[index], options);
|
|
810
|
+
}
|
|
811
|
+
resetSourceFilter() {
|
|
812
|
+
this.visibleOptionsSource = null;
|
|
813
|
+
this.filterValueSource = null;
|
|
814
|
+
this.sourceFilterViewChild() && (this.sourceFilterViewChild().nativeElement.value = "");
|
|
815
|
+
}
|
|
816
|
+
resetTargetFilter() {
|
|
817
|
+
this.visibleOptionsTarget = null;
|
|
818
|
+
this.filterValueTarget = null;
|
|
819
|
+
this.targetFilterViewChild() && (this.targetFilterViewChild().nativeElement.value = "");
|
|
820
|
+
}
|
|
821
|
+
resetFilter() {
|
|
822
|
+
this.resetSourceFilter();
|
|
823
|
+
this.resetTargetFilter();
|
|
824
|
+
}
|
|
825
|
+
initMedia() {
|
|
826
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
827
|
+
this.media = this.document.defaultView?.matchMedia(`(max-width: ${this.breakpoint()})`) || null;
|
|
828
|
+
this.viewChanged = this.media?.matches || false;
|
|
829
|
+
this.bindMediaChangeListener();
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
destroyMedia() {
|
|
833
|
+
this.unbindMediaChangeListener();
|
|
834
|
+
}
|
|
835
|
+
bindMediaChangeListener() {
|
|
836
|
+
if (this.media && !this.mediaChangeListener) this.mediaChangeListener = this.renderer.listen(this.media, "change", (event) => {
|
|
837
|
+
this.viewChanged = event.matches;
|
|
838
|
+
this.cd.markForCheck();
|
|
839
|
+
});
|
|
840
|
+
}
|
|
841
|
+
unbindMediaChangeListener() {
|
|
842
|
+
if (this.mediaChangeListener) {
|
|
843
|
+
this.mediaChangeListener();
|
|
844
|
+
this.mediaChangeListener = null;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
createStyle() {
|
|
848
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
849
|
+
if (!this.styleElement) {
|
|
850
|
+
this.renderer.setAttribute(this.el.nativeElement.children[0], this.id, "");
|
|
851
|
+
this.styleElement = this.renderer.createElement("style");
|
|
852
|
+
this.renderer.setAttribute(this.styleElement, "type", "text/css");
|
|
853
|
+
setAttribute(this.styleElement, "nonce", this.config?.csp()?.nonce);
|
|
854
|
+
this.renderer.appendChild(this.document.head, this.styleElement);
|
|
855
|
+
let innerHTML = `
|
|
1304
856
|
@media screen and (max-width: ${this.breakpoint()}) {
|
|
1305
857
|
.h-picklist[${this.id}] {
|
|
1306
858
|
flex-direction: column;
|
|
@@ -1310,84 +862,1588 @@ class PickList extends BaseComponent {
|
|
|
1310
862
|
flex-direction: row;
|
|
1311
863
|
}
|
|
1312
864
|
}`;
|
|
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
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.6", type: PickList, isStandalone: true, selector: "h-pickList, h-picklist, h-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", breakpoint: "breakpointChange", 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: HelixTemplate, isSignal: true }], viewQueries: [{ propertyName: "listViewSourceChild", first: true, predicate: ["sourcelist"], descendants: true, isSignal: true }, { propertyName: "listViewTargetChild", first: true, predicate: ["targetlist"], descendants: true, isSignal: true }, { propertyName: "sourceFilterViewChild", first: true, predicate: ["sourceFilter"], descendants: true, isSignal: true }, { propertyName: "targetFilterViewChild", first: true, predicate: ["targetFilter"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: "<div [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" cdkDropListGroup [hBind]=\"ptm('root')\">\n @if (showSourceControls()) {\n <div [class]=\"cx('sourceControls')\" [hBind]=\"ptm('sourceControls')\" [attr.data-pc-group-section]=\"'controls'\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveUpAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveUp(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('moveup')\"\n [pt]=\"ptm('pcSourceMoveUpButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveUpIconTemplate() && !_moveUpIconTemplate) {\n <svg data-h-icon=\"angle-up\" [pt]=\"ptm('pcSourceMoveUpButton')['icon']\" hButtonIcon />\n }\n <ng-template *ngTemplateOutlet=\"moveUpIconTemplate() || _moveUpIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveTopAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveTop(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movetop')\"\n [pt]=\"ptm('pcSourceMoveTopButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveTopIconTemplate() && !_moveTopIconTemplate) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcSourceMoveTopButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveTopIconTemplate() || _moveTopIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveDownAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveDown(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movedown')\"\n [pt]=\"ptm('pcSourceMoveDownButton')\"\n [unstyled]=\"unstyled()\"\n hostName=\"picklist\"\n >\n @if (!moveDownIconTemplate() && !_moveDownIconTemplate) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcSourceMoveDownButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveDownIconTemplate() || _moveDownIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveBottomAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveBottom(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movebottom')\"\n [pt]=\"ptm('pcSourceMoveBottomButton')\"\n [unstyled]=\"unstyled()\"\n hostName=\"picklist\"\n >\n @if (!moveBottomIconTemplate() || _moveBottomIconTemplate) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcSourceMoveBottomButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveBottomIconTemplate() || _moveBottomIconTemplate\"></ng-template>\n </button>\n </div>\n }\n <div [class]=\"cx('sourceListContainer')\" [attr.data-pc-group-section]=\"'listcontainer'\" [hBind]=\"ptm('sourceListContainer')\">\n <h-listbox\n #sourcelist\n [ariaLabel]=\"sourceAriaLabel()\"\n [multiple]=\"true\"\n [options]=\"sourceOptions\"\n [(ngModel)]=\"selectedItemsSource\"\n [optionLabel]=\"dataKey() ?? 'name'\"\n [id]=\"idSource + '_list'\"\n [listStyle]=\"sourceStyle()\"\n [striped]=\"stripedRows()\"\n [tabindex]=\"tabindex()\"\n (onFocus)=\"onListFocus($event, SOURCE_LIST)\"\n (onBlur)=\"onListBlur($event, SOURCE_LIST)\"\n (onChange)=\"onChangeSelection($event, SOURCE_LIST)\"\n (onDblClick)=\"onSourceItemDblClick()\"\n [disabled]=\"disabled()\"\n [optionDisabled]=\"sourceOptionDisabled()\"\n [metaKeySelection]=\"metaKeySelection()\"\n [scrollHeight]=\"scrollHeight()\"\n [autoOptionFocus]=\"autoOptionFocus()\"\n [filter]=\"filterBy() && showSourceFilter()\"\n [filterBy]=\"filterBy()\"\n [filterLocale]=\"filterLocale()\"\n [filterMatchMode]=\"filterMatchMode()\"\n [filterPlaceHolder]=\"sourceFilterPlaceholder()\"\n [dragdrop]=\"dragdrop()\"\n [dropListData]=\"source()\"\n (onDrop)=\"onDrop($event, SOURCE_LIST)\"\n (onFilter)=\"onFilter($event.originalEvent, SOURCE_LIST)\"\n [pt]=\"ptm('pcListbox')\"\n hostName=\"picklist\"\n [attr.data-pc-group-section]=\"'list'\"\n [unstyled]=\"unstyled()\"\n >\n @if (sourceHeaderTemplate() || _sourceHeaderTemplate || sourceHeader()) {\n <ng-template #header>\n @if (!sourceHeaderTemplate() && !_sourceHeaderTemplate) {\n <div>{{ sourceHeader() }}</div>\n }\n <ng-template *ngTemplateOutlet=\"sourceHeaderTemplate() || _sourceHeaderTemplate\"></ng-template>\n </ng-template>\n }\n @if (sourceFilterTemplate() || _sourceFilterTemplate) {\n <ng-template #filter>\n <ng-template *ngTemplateOutlet=\"sourceFilterTemplate() || _sourceFilterTemplate; context: { options: sourceFilterOptions }\"></ng-template>\n </ng-template>\n }\n @if (sourceFilterIconTemplate() || _sourceFilterIconTemplate) {\n <ng-container *ngTemplateOutlet=\"sourceFilterIconTemplate() || _sourceFilterIconTemplate\"></ng-container>\n }\n @if (itemTemplate() || _itemTemplate) {\n <ng-template #item let-item let-index=\"index\" let-selected=\"selected\" let-disabled=\"disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }\"></ng-container>\n </ng-template>\n }\n @if (emptyMessageSourceTemplate() || _emptyMessageSourceTemplate) {\n <ng-template #empty>\n <ng-container *ngTemplateOutlet=\"emptyMessageSourceTemplate() || _emptyMessageSourceTemplate\"></ng-container>\n </ng-template>\n }\n @if (emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate) {\n <ng-template #emptyfilter>\n <ng-container *ngTemplateOutlet=\"emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate\"></ng-container>\n </ng-template>\n }\n </h-listbox>\n </div>\n <div [class]=\"cx('transferControls')\" [attr.data-pc-group-section]=\"'controls'\" [hBind]=\"ptm('transferControls')\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveToTargetAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveRightDisabled()\"\n (click)=\"moveRight()\"\n [buttonProps]=\"getButtonProps('movetotarget')\"\n [pt]=\"ptm('pcMoveToTargetButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveToTargetIconTemplate() && !_moveToTargetIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-right\" hButtonIcon [pt]=\"ptm('pcMoveToTargetButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcMoveToTargetButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveToTargetIconTemplate() || _moveToTargetIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveAllToTargetAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveAllRightDisabled()\"\n (click)=\"moveAllRight()\"\n [buttonProps]=\"getButtonProps('movealltotarget')\"\n [pt]=\"ptm('pcMoveAllToTargetButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveAllToTargetIconTemplate() && !_moveAllToTargetIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-double-right\" hButtonIcon [pt]=\"ptm('pcMoveAllToTargetButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcMoveAllToTargetButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveAllToTargetIconTemplate() || _moveAllToTargetIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveToSourceAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveLeftDisabled()\"\n (click)=\"moveLeft()\"\n [buttonProps]=\"getButtonProps('movetosource')\"\n [pt]=\"ptm('pcMoveToSourceButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveToSourceIconTemplate() && !_moveToSourceIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-left\" hButtonIcon [pt]=\"ptm('pcMoveToSourceButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-up\" hButtonIcon [pt]=\"ptm('pcMoveToSourceButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveToSourceIconTemplate() || _moveToSourceIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveAllToSourceAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveAllLeftDisabled()\"\n (click)=\"moveAllLeft()\"\n [buttonProps]=\"getButtonProps('movealltosource')\"\n [pt]=\"ptm('pcMoveAllToSourceButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveAllToSourceIconTemplate() && !_moveAllToSourceIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-double-left\" hButtonIcon [pt]=\"ptm('pcMoveAllToSourceButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcMoveAllToSourceButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveAllToSourceIconTemplate() || _moveAllToSourceIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n </div>\n <div [class]=\"cx('targetListContainer')\" [attr.data-pc-group-section]=\"'listcontainer'\" [hBind]=\"ptm('targetListContainer')\">\n <h-listbox\n #targetlist\n [ariaLabel]=\"targetAriaLabel()\"\n [multiple]=\"true\"\n [options]=\"targetOptions\"\n [(ngModel)]=\"selectedItemsTarget\"\n [optionLabel]=\"dataKey() ?? 'name'\"\n [id]=\"idTarget + '_list'\"\n [listStyle]=\"targetStyle()\"\n [striped]=\"stripedRows()\"\n [tabindex]=\"tabindex()\"\n (onFocus)=\"onListFocus($event, TARGET_LIST)\"\n (onBlur)=\"onListBlur($event, TARGET_LIST)\"\n (onChange)=\"onChangeSelection($event, TARGET_LIST)\"\n (onDblClick)=\"onTargetItemDblClick()\"\n [disabled]=\"disabled()\"\n [optionDisabled]=\"targetOptionDisabled()\"\n [metaKeySelection]=\"metaKeySelection()\"\n [scrollHeight]=\"scrollHeight()\"\n [autoOptionFocus]=\"autoOptionFocus()\"\n [filter]=\"filterBy() && showTargetFilter()\"\n [filterBy]=\"filterBy()\"\n [filterLocale]=\"filterLocale()\"\n [filterMatchMode]=\"filterMatchMode()\"\n [filterPlaceHolder]=\"targetFilterPlaceholder()\"\n [dragdrop]=\"dragdrop()\"\n [dropListData]=\"target()\"\n (onDrop)=\"onDrop($event, TARGET_LIST)\"\n (onFilter)=\"onFilter($event.originalEvent, TARGET_LIST)\"\n [pt]=\"ptm('pcListbox')\"\n [attr.data-pc-group-section]=\"'list'\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (targetHeaderTemplate() || _targetHeaderTemplate || targetHeader()) {\n <ng-template #header>\n @if (!targetHeaderTemplate() && !_targetHeaderTemplate) {\n <div>{{ targetHeader() }}</div>\n }\n <ng-template *ngTemplateOutlet=\"targetHeaderTemplate() || _targetHeaderTemplate\"></ng-template>\n </ng-template>\n }\n @if (targetFilterTemplate() || _targetFilterTemplate) {\n <ng-template #filter>\n <ng-template *ngTemplateOutlet=\"targetFilterTemplate() || _targetFilterTemplate; context: { options: targetFilterOptions }\"></ng-template>\n </ng-template>\n }\n @if (targetFilterIconTemplate() || _targetFilterIconTemplate) {\n <ng-container *ngTemplateOutlet=\"targetFilterIconTemplate() || _targetFilterIconTemplate\"></ng-container>\n }\n @if (itemTemplate() || _itemTemplate) {\n <ng-template #item let-item let-index=\"index\" let-selected=\"selected\" let-disabled=\"disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }\"></ng-container>\n </ng-template>\n }\n @if (emptyMessageTargetTemplate() || _emptyMessageTargetTemplate) {\n <ng-template #empty>\n <ng-container *ngTemplateOutlet=\"emptyMessageTargetTemplate() || _emptyMessageTargetTemplate\"></ng-container>\n </ng-template>\n }\n @if (emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate) {\n <ng-template #emptyfilter>\n <ng-container *ngTemplateOutlet=\"emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate\"></ng-container>\n </ng-template>\n }\n </h-listbox>\n </div>\n @if (showTargetControls()) {\n <div [class]=\"cx('targetControls')\" [attr.data-pc-group-section]=\"'controls'\" [hBind]=\"ptm('targetControls')\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveUpAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveUp(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('moveup')\"\n [pt]=\"ptm('pcTargetMoveUpButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveUpIconTemplate() && !_moveUpIconTemplate) {\n <svg data-h-icon=\"angle-up\" hButtonIcon [pt]=\"ptm('pcTargetMoveUpButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveUpIconTemplate() || _moveUpIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveTopAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveTop(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movetop')\"\n [pt]=\"ptm('pcTargetMoveTopButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveTopIconTemplate() && !_moveTopIconTemplate) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcTargetMoveTopButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveTopIconTemplate() || moveTopIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveDownAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveDown(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movedown')\"\n [pt]=\"ptm('pcTargetMoveDownButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveDownIconTemplate() && !_moveDownIconTemplate) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcTargetMoveDownButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveDownIconTemplate() || _moveDownIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveBottomAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveBottom(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movebottom')\"\n [pt]=\"ptm('pcTargetMoveBottomButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveBottomIconTemplate() && !_moveBottomIconTemplate) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcTargetMoveBottomButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveBottomIconTemplate() || _moveBottomIconTemplate\"></ng-template>\n </button>\n </div>\n }\n</div>\n", 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: "[hButton]", 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: "[hButtonIcon]", inputs: ["ptButtonIcon", "pButtonIconPT", "pButtonUnstyled"] }, { kind: "directive", type: Ripple, selector: "[hRipple]" }, { kind: "ngmodule", type: DragDropModule }, { kind: "directive", type: i4.CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: ["cdkDropListGroupDisabled"], exportAs: ["cdkDropListGroup"] }, { kind: "component", type: AngleDoubleDownIcon, selector: "[data-h-icon=\"angle-double-down\"]" }, { kind: "component", type: AngleDoubleLeftIcon, selector: "[data-h-icon=\"angle-double-left\"]" }, { kind: "component", type: AngleDoubleRightIcon, selector: "[data-h-icon=\"angle-double-right\"]" }, { kind: "component", type: AngleDoubleUpIcon, selector: "[data-h-icon=\"angle-double-up\"]" }, { kind: "component", type: AngleDownIcon, selector: "[data-h-icon=\"angle-down\"]" }, { kind: "component", type: AngleLeftIcon, selector: "[data-h-icon=\"angle-left\"]" }, { kind: "component", type: AngleRightIcon, selector: "[data-h-icon=\"angle-right\"]" }, { kind: "component", type: AngleUpIcon, selector: "[data-h-icon=\"angle-up\"]" }, { kind: "component", type: Listbox, selector: "h-listbox, h-listBox, h-list-box", inputs: ["hostName", "id", "searchMessage", "emptySelectionMessage", "selectionMessage", "autoOptionFocus", "ariaLabel", "selectOnFocus", "searchLocale", "focusOnHover", "filterMessage", "filterFields", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "scrollHeight", "tabindex", "multiple", "styleClass", "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: "[hBind]", inputs: ["hBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [PickListStyle, { provide: PARENT_INSTANCE, useExisting: PickList }, { provide: PICKLIST_INSTANCE, useExisting: PickList }], hostDirectives: [Bind], template: "<div [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" cdkDropListGroup [hBind]=\"ptm('root')\">\n @if (showSourceControls()) {\n <div [class]=\"cx('sourceControls')\" [hBind]=\"ptm('sourceControls')\" [attr.data-pc-group-section]=\"'controls'\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveUpAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveUp(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('moveup')\"\n [pt]=\"ptm('pcSourceMoveUpButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveUpIconTemplate() && !_moveUpIconTemplate) {\n <svg data-h-icon=\"angle-up\" [pt]=\"ptm('pcSourceMoveUpButton')['icon']\" hButtonIcon />\n }\n <ng-template *ngTemplateOutlet=\"moveUpIconTemplate() || _moveUpIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveTopAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveTop(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movetop')\"\n [pt]=\"ptm('pcSourceMoveTopButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveTopIconTemplate() && !_moveTopIconTemplate) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcSourceMoveTopButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveTopIconTemplate() || _moveTopIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveDownAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveDown(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movedown')\"\n [pt]=\"ptm('pcSourceMoveDownButton')\"\n [unstyled]=\"unstyled()\"\n hostName=\"picklist\"\n >\n @if (!moveDownIconTemplate() && !_moveDownIconTemplate) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcSourceMoveDownButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveDownIconTemplate() || _moveDownIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveBottomAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveBottom(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movebottom')\"\n [pt]=\"ptm('pcSourceMoveBottomButton')\"\n [unstyled]=\"unstyled()\"\n hostName=\"picklist\"\n >\n @if (!moveBottomIconTemplate() || _moveBottomIconTemplate) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcSourceMoveBottomButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveBottomIconTemplate() || _moveBottomIconTemplate\"></ng-template>\n </button>\n </div>\n }\n <div [class]=\"cx('sourceListContainer')\" [attr.data-pc-group-section]=\"'listcontainer'\" [hBind]=\"ptm('sourceListContainer')\">\n <h-listbox\n #sourcelist\n [ariaLabel]=\"sourceAriaLabel()\"\n [multiple]=\"true\"\n [options]=\"sourceOptions\"\n [(ngModel)]=\"selectedItemsSource\"\n [optionLabel]=\"dataKey() ?? 'name'\"\n [id]=\"idSource + '_list'\"\n [listStyle]=\"sourceStyle()\"\n [striped]=\"stripedRows()\"\n [tabindex]=\"tabindex()\"\n (onFocus)=\"onListFocus($event, SOURCE_LIST)\"\n (onBlur)=\"onListBlur($event, SOURCE_LIST)\"\n (onChange)=\"onChangeSelection($event, SOURCE_LIST)\"\n (onDblClick)=\"onSourceItemDblClick()\"\n [disabled]=\"disabled()\"\n [optionDisabled]=\"sourceOptionDisabled()\"\n [metaKeySelection]=\"metaKeySelection()\"\n [scrollHeight]=\"scrollHeight()\"\n [autoOptionFocus]=\"autoOptionFocus()\"\n [filter]=\"filterBy() && showSourceFilter()\"\n [filterBy]=\"filterBy()\"\n [filterLocale]=\"filterLocale()\"\n [filterMatchMode]=\"filterMatchMode()\"\n [filterPlaceHolder]=\"sourceFilterPlaceholder()\"\n [dragdrop]=\"dragdrop()\"\n [dropListData]=\"source()\"\n (onDrop)=\"onDrop($event, SOURCE_LIST)\"\n (onFilter)=\"onFilter($event.originalEvent, SOURCE_LIST)\"\n [pt]=\"ptm('pcListbox')\"\n hostName=\"picklist\"\n [attr.data-pc-group-section]=\"'list'\"\n [unstyled]=\"unstyled()\"\n >\n @if (sourceHeaderTemplate() || _sourceHeaderTemplate || sourceHeader()) {\n <ng-template #header>\n @if (!sourceHeaderTemplate() && !_sourceHeaderTemplate) {\n <div>{{ sourceHeader() }}</div>\n }\n <ng-template *ngTemplateOutlet=\"sourceHeaderTemplate() || _sourceHeaderTemplate\"></ng-template>\n </ng-template>\n }\n @if (sourceFilterTemplate() || _sourceFilterTemplate) {\n <ng-template #filter>\n <ng-template *ngTemplateOutlet=\"sourceFilterTemplate() || _sourceFilterTemplate; context: { options: sourceFilterOptions }\"></ng-template>\n </ng-template>\n }\n @if (sourceFilterIconTemplate() || _sourceFilterIconTemplate) {\n <ng-container *ngTemplateOutlet=\"sourceFilterIconTemplate() || _sourceFilterIconTemplate\"></ng-container>\n }\n @if (itemTemplate() || _itemTemplate) {\n <ng-template #item let-item let-index=\"index\" let-selected=\"selected\" let-disabled=\"disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }\"></ng-container>\n </ng-template>\n }\n @if (emptyMessageSourceTemplate() || _emptyMessageSourceTemplate) {\n <ng-template #empty>\n <ng-container *ngTemplateOutlet=\"emptyMessageSourceTemplate() || _emptyMessageSourceTemplate\"></ng-container>\n </ng-template>\n }\n @if (emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate) {\n <ng-template #emptyfilter>\n <ng-container *ngTemplateOutlet=\"emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate\"></ng-container>\n </ng-template>\n }\n </h-listbox>\n </div>\n <div [class]=\"cx('transferControls')\" [attr.data-pc-group-section]=\"'controls'\" [hBind]=\"ptm('transferControls')\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveToTargetAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveRightDisabled()\"\n (click)=\"moveRight()\"\n [buttonProps]=\"getButtonProps('movetotarget')\"\n [pt]=\"ptm('pcMoveToTargetButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveToTargetIconTemplate() && !_moveToTargetIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-right\" hButtonIcon [pt]=\"ptm('pcMoveToTargetButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcMoveToTargetButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveToTargetIconTemplate() || _moveToTargetIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveAllToTargetAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveAllRightDisabled()\"\n (click)=\"moveAllRight()\"\n [buttonProps]=\"getButtonProps('movealltotarget')\"\n [pt]=\"ptm('pcMoveAllToTargetButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveAllToTargetIconTemplate() && !_moveAllToTargetIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-double-right\" hButtonIcon [pt]=\"ptm('pcMoveAllToTargetButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcMoveAllToTargetButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveAllToTargetIconTemplate() || _moveAllToTargetIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveToSourceAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveLeftDisabled()\"\n (click)=\"moveLeft()\"\n [buttonProps]=\"getButtonProps('movetosource')\"\n [pt]=\"ptm('pcMoveToSourceButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveToSourceIconTemplate() && !_moveToSourceIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-left\" hButtonIcon [pt]=\"ptm('pcMoveToSourceButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-up\" hButtonIcon [pt]=\"ptm('pcMoveToSourceButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveToSourceIconTemplate() || _moveToSourceIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveAllToSourceAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveAllLeftDisabled()\"\n (click)=\"moveAllLeft()\"\n [buttonProps]=\"getButtonProps('movealltosource')\"\n [pt]=\"ptm('pcMoveAllToSourceButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveAllToSourceIconTemplate() && !_moveAllToSourceIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-double-left\" hButtonIcon [pt]=\"ptm('pcMoveAllToSourceButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcMoveAllToSourceButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveAllToSourceIconTemplate() || _moveAllToSourceIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n </div>\n <div [class]=\"cx('targetListContainer')\" [attr.data-pc-group-section]=\"'listcontainer'\" [hBind]=\"ptm('targetListContainer')\">\n <h-listbox\n #targetlist\n [ariaLabel]=\"targetAriaLabel()\"\n [multiple]=\"true\"\n [options]=\"targetOptions\"\n [(ngModel)]=\"selectedItemsTarget\"\n [optionLabel]=\"dataKey() ?? 'name'\"\n [id]=\"idTarget + '_list'\"\n [listStyle]=\"targetStyle()\"\n [striped]=\"stripedRows()\"\n [tabindex]=\"tabindex()\"\n (onFocus)=\"onListFocus($event, TARGET_LIST)\"\n (onBlur)=\"onListBlur($event, TARGET_LIST)\"\n (onChange)=\"onChangeSelection($event, TARGET_LIST)\"\n (onDblClick)=\"onTargetItemDblClick()\"\n [disabled]=\"disabled()\"\n [optionDisabled]=\"targetOptionDisabled()\"\n [metaKeySelection]=\"metaKeySelection()\"\n [scrollHeight]=\"scrollHeight()\"\n [autoOptionFocus]=\"autoOptionFocus()\"\n [filter]=\"filterBy() && showTargetFilter()\"\n [filterBy]=\"filterBy()\"\n [filterLocale]=\"filterLocale()\"\n [filterMatchMode]=\"filterMatchMode()\"\n [filterPlaceHolder]=\"targetFilterPlaceholder()\"\n [dragdrop]=\"dragdrop()\"\n [dropListData]=\"target()\"\n (onDrop)=\"onDrop($event, TARGET_LIST)\"\n (onFilter)=\"onFilter($event.originalEvent, TARGET_LIST)\"\n [pt]=\"ptm('pcListbox')\"\n [attr.data-pc-group-section]=\"'list'\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (targetHeaderTemplate() || _targetHeaderTemplate || targetHeader()) {\n <ng-template #header>\n @if (!targetHeaderTemplate() && !_targetHeaderTemplate) {\n <div>{{ targetHeader() }}</div>\n }\n <ng-template *ngTemplateOutlet=\"targetHeaderTemplate() || _targetHeaderTemplate\"></ng-template>\n </ng-template>\n }\n @if (targetFilterTemplate() || _targetFilterTemplate) {\n <ng-template #filter>\n <ng-template *ngTemplateOutlet=\"targetFilterTemplate() || _targetFilterTemplate; context: { options: targetFilterOptions }\"></ng-template>\n </ng-template>\n }\n @if (targetFilterIconTemplate() || _targetFilterIconTemplate) {\n <ng-container *ngTemplateOutlet=\"targetFilterIconTemplate() || _targetFilterIconTemplate\"></ng-container>\n }\n @if (itemTemplate() || _itemTemplate) {\n <ng-template #item let-item let-index=\"index\" let-selected=\"selected\" let-disabled=\"disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }\"></ng-container>\n </ng-template>\n }\n @if (emptyMessageTargetTemplate() || _emptyMessageTargetTemplate) {\n <ng-template #empty>\n <ng-container *ngTemplateOutlet=\"emptyMessageTargetTemplate() || _emptyMessageTargetTemplate\"></ng-container>\n </ng-template>\n }\n @if (emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate) {\n <ng-template #emptyfilter>\n <ng-container *ngTemplateOutlet=\"emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate\"></ng-container>\n </ng-template>\n }\n </h-listbox>\n </div>\n @if (showTargetControls()) {\n <div [class]=\"cx('targetControls')\" [attr.data-pc-group-section]=\"'controls'\" [hBind]=\"ptm('targetControls')\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveUpAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveUp(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('moveup')\"\n [pt]=\"ptm('pcTargetMoveUpButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveUpIconTemplate() && !_moveUpIconTemplate) {\n <svg data-h-icon=\"angle-up\" hButtonIcon [pt]=\"ptm('pcTargetMoveUpButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveUpIconTemplate() || _moveUpIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveTopAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveTop(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movetop')\"\n [pt]=\"ptm('pcTargetMoveTopButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveTopIconTemplate() && !_moveTopIconTemplate) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcTargetMoveTopButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveTopIconTemplate() || moveTopIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveDownAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveDown(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movedown')\"\n [pt]=\"ptm('pcTargetMoveDownButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveDownIconTemplate() && !_moveDownIconTemplate) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcTargetMoveDownButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveDownIconTemplate() || _moveDownIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveBottomAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveBottom(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movebottom')\"\n [pt]=\"ptm('pcTargetMoveBottomButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveBottomIconTemplate() && !_moveBottomIconTemplate) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcTargetMoveBottomButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveBottomIconTemplate() || _moveBottomIconTemplate\"></ng-template>\n </button>\n </div>\n }\n</div>\n" }]
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
865
|
+
this.renderer.setProperty(this.styleElement, "innerHTML", innerHTML);
|
|
866
|
+
setAttribute(this.styleElement, "nonce", this.config?.csp()?.nonce);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
sourceMoveDisabled() {
|
|
871
|
+
if (this.disabled() || !this.selectedItemsSource.length) return true;
|
|
872
|
+
}
|
|
873
|
+
targetMoveDisabled() {
|
|
874
|
+
if (this.disabled() || !this.selectedItemsTarget.length) return true;
|
|
875
|
+
}
|
|
876
|
+
moveRightDisabled() {
|
|
877
|
+
return this.disabled() || isEmpty(this.selectedItemsSource);
|
|
878
|
+
}
|
|
879
|
+
moveLeftDisabled() {
|
|
880
|
+
return this.disabled() || isEmpty(this.selectedItemsTarget);
|
|
881
|
+
}
|
|
882
|
+
moveAllRightDisabled() {
|
|
883
|
+
return this.disabled() || isEmpty(this.source());
|
|
884
|
+
}
|
|
885
|
+
moveAllLeftDisabled() {
|
|
886
|
+
return this.disabled() || isEmpty(this.target());
|
|
887
|
+
}
|
|
888
|
+
destroyStyle() {
|
|
889
|
+
if (this.styleElement) {
|
|
890
|
+
this.renderer.removeChild(this.document.head, this.styleElement);
|
|
891
|
+
this.styleElement = null;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
onDestroy() {
|
|
895
|
+
this.destroyStyle();
|
|
896
|
+
this.destroyMedia();
|
|
897
|
+
}
|
|
898
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
899
|
+
minVersion: "12.0.0",
|
|
900
|
+
version: "22.2.1",
|
|
901
|
+
ngImport: i0,
|
|
902
|
+
type: PickList,
|
|
903
|
+
deps: null,
|
|
904
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
905
|
+
});
|
|
906
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
907
|
+
minVersion: "17.0.0",
|
|
908
|
+
version: "22.2.1",
|
|
909
|
+
type: PickList,
|
|
910
|
+
isStandalone: true,
|
|
911
|
+
selector: "h-pickList, h-picklist, h-pick-list",
|
|
912
|
+
inputs: {
|
|
913
|
+
hostName: {
|
|
914
|
+
classPropertyName: "hostName",
|
|
915
|
+
publicName: "hostName",
|
|
916
|
+
isSignal: true,
|
|
917
|
+
isRequired: false,
|
|
918
|
+
transformFunction: null
|
|
919
|
+
},
|
|
920
|
+
source: {
|
|
921
|
+
classPropertyName: "source",
|
|
922
|
+
publicName: "source",
|
|
923
|
+
isSignal: true,
|
|
924
|
+
isRequired: false,
|
|
925
|
+
transformFunction: null
|
|
926
|
+
},
|
|
927
|
+
target: {
|
|
928
|
+
classPropertyName: "target",
|
|
929
|
+
publicName: "target",
|
|
930
|
+
isSignal: true,
|
|
931
|
+
isRequired: false,
|
|
932
|
+
transformFunction: null
|
|
933
|
+
},
|
|
934
|
+
dataKey: {
|
|
935
|
+
classPropertyName: "dataKey",
|
|
936
|
+
publicName: "dataKey",
|
|
937
|
+
isSignal: true,
|
|
938
|
+
isRequired: false,
|
|
939
|
+
transformFunction: null
|
|
940
|
+
},
|
|
941
|
+
sourceHeader: {
|
|
942
|
+
classPropertyName: "sourceHeader",
|
|
943
|
+
publicName: "sourceHeader",
|
|
944
|
+
isSignal: true,
|
|
945
|
+
isRequired: false,
|
|
946
|
+
transformFunction: null
|
|
947
|
+
},
|
|
948
|
+
tabindex: {
|
|
949
|
+
classPropertyName: "tabindex",
|
|
950
|
+
publicName: "tabindex",
|
|
951
|
+
isSignal: true,
|
|
952
|
+
isRequired: false,
|
|
953
|
+
transformFunction: null
|
|
954
|
+
},
|
|
955
|
+
rightButtonAriaLabel: {
|
|
956
|
+
classPropertyName: "rightButtonAriaLabel",
|
|
957
|
+
publicName: "rightButtonAriaLabel",
|
|
958
|
+
isSignal: true,
|
|
959
|
+
isRequired: false,
|
|
960
|
+
transformFunction: null
|
|
961
|
+
},
|
|
962
|
+
leftButtonAriaLabel: {
|
|
963
|
+
classPropertyName: "leftButtonAriaLabel",
|
|
964
|
+
publicName: "leftButtonAriaLabel",
|
|
965
|
+
isSignal: true,
|
|
966
|
+
isRequired: false,
|
|
967
|
+
transformFunction: null
|
|
968
|
+
},
|
|
969
|
+
allRightButtonAriaLabel: {
|
|
970
|
+
classPropertyName: "allRightButtonAriaLabel",
|
|
971
|
+
publicName: "allRightButtonAriaLabel",
|
|
972
|
+
isSignal: true,
|
|
973
|
+
isRequired: false,
|
|
974
|
+
transformFunction: null
|
|
975
|
+
},
|
|
976
|
+
allLeftButtonAriaLabel: {
|
|
977
|
+
classPropertyName: "allLeftButtonAriaLabel",
|
|
978
|
+
publicName: "allLeftButtonAriaLabel",
|
|
979
|
+
isSignal: true,
|
|
980
|
+
isRequired: false,
|
|
981
|
+
transformFunction: null
|
|
982
|
+
},
|
|
983
|
+
upButtonAriaLabel: {
|
|
984
|
+
classPropertyName: "upButtonAriaLabel",
|
|
985
|
+
publicName: "upButtonAriaLabel",
|
|
986
|
+
isSignal: true,
|
|
987
|
+
isRequired: false,
|
|
988
|
+
transformFunction: null
|
|
989
|
+
},
|
|
990
|
+
downButtonAriaLabel: {
|
|
991
|
+
classPropertyName: "downButtonAriaLabel",
|
|
992
|
+
publicName: "downButtonAriaLabel",
|
|
993
|
+
isSignal: true,
|
|
994
|
+
isRequired: false,
|
|
995
|
+
transformFunction: null
|
|
996
|
+
},
|
|
997
|
+
topButtonAriaLabel: {
|
|
998
|
+
classPropertyName: "topButtonAriaLabel",
|
|
999
|
+
publicName: "topButtonAriaLabel",
|
|
1000
|
+
isSignal: true,
|
|
1001
|
+
isRequired: false,
|
|
1002
|
+
transformFunction: null
|
|
1003
|
+
},
|
|
1004
|
+
bottomButtonAriaLabel: {
|
|
1005
|
+
classPropertyName: "bottomButtonAriaLabel",
|
|
1006
|
+
publicName: "bottomButtonAriaLabel",
|
|
1007
|
+
isSignal: true,
|
|
1008
|
+
isRequired: false,
|
|
1009
|
+
transformFunction: null
|
|
1010
|
+
},
|
|
1011
|
+
sourceAriaLabel: {
|
|
1012
|
+
classPropertyName: "sourceAriaLabel",
|
|
1013
|
+
publicName: "sourceAriaLabel",
|
|
1014
|
+
isSignal: true,
|
|
1015
|
+
isRequired: false,
|
|
1016
|
+
transformFunction: null
|
|
1017
|
+
},
|
|
1018
|
+
targetAriaLabel: {
|
|
1019
|
+
classPropertyName: "targetAriaLabel",
|
|
1020
|
+
publicName: "targetAriaLabel",
|
|
1021
|
+
isSignal: true,
|
|
1022
|
+
isRequired: false,
|
|
1023
|
+
transformFunction: null
|
|
1024
|
+
},
|
|
1025
|
+
targetHeader: {
|
|
1026
|
+
classPropertyName: "targetHeader",
|
|
1027
|
+
publicName: "targetHeader",
|
|
1028
|
+
isSignal: true,
|
|
1029
|
+
isRequired: false,
|
|
1030
|
+
transformFunction: null
|
|
1031
|
+
},
|
|
1032
|
+
responsive: {
|
|
1033
|
+
classPropertyName: "responsive",
|
|
1034
|
+
publicName: "responsive",
|
|
1035
|
+
isSignal: true,
|
|
1036
|
+
isRequired: false,
|
|
1037
|
+
transformFunction: null
|
|
1038
|
+
},
|
|
1039
|
+
filterBy: {
|
|
1040
|
+
classPropertyName: "filterBy",
|
|
1041
|
+
publicName: "filterBy",
|
|
1042
|
+
isSignal: true,
|
|
1043
|
+
isRequired: false,
|
|
1044
|
+
transformFunction: null
|
|
1045
|
+
},
|
|
1046
|
+
filterLocale: {
|
|
1047
|
+
classPropertyName: "filterLocale",
|
|
1048
|
+
publicName: "filterLocale",
|
|
1049
|
+
isSignal: true,
|
|
1050
|
+
isRequired: false,
|
|
1051
|
+
transformFunction: null
|
|
1052
|
+
},
|
|
1053
|
+
trackBy: {
|
|
1054
|
+
classPropertyName: "trackBy",
|
|
1055
|
+
publicName: "trackBy",
|
|
1056
|
+
isSignal: true,
|
|
1057
|
+
isRequired: false,
|
|
1058
|
+
transformFunction: null
|
|
1059
|
+
},
|
|
1060
|
+
sourceTrackBy: {
|
|
1061
|
+
classPropertyName: "sourceTrackBy",
|
|
1062
|
+
publicName: "sourceTrackBy",
|
|
1063
|
+
isSignal: true,
|
|
1064
|
+
isRequired: false,
|
|
1065
|
+
transformFunction: null
|
|
1066
|
+
},
|
|
1067
|
+
targetTrackBy: {
|
|
1068
|
+
classPropertyName: "targetTrackBy",
|
|
1069
|
+
publicName: "targetTrackBy",
|
|
1070
|
+
isSignal: true,
|
|
1071
|
+
isRequired: false,
|
|
1072
|
+
transformFunction: null
|
|
1073
|
+
},
|
|
1074
|
+
showSourceFilter: {
|
|
1075
|
+
classPropertyName: "showSourceFilter",
|
|
1076
|
+
publicName: "showSourceFilter",
|
|
1077
|
+
isSignal: true,
|
|
1078
|
+
isRequired: false,
|
|
1079
|
+
transformFunction: null
|
|
1080
|
+
},
|
|
1081
|
+
showTargetFilter: {
|
|
1082
|
+
classPropertyName: "showTargetFilter",
|
|
1083
|
+
publicName: "showTargetFilter",
|
|
1084
|
+
isSignal: true,
|
|
1085
|
+
isRequired: false,
|
|
1086
|
+
transformFunction: null
|
|
1087
|
+
},
|
|
1088
|
+
metaKeySelection: {
|
|
1089
|
+
classPropertyName: "metaKeySelection",
|
|
1090
|
+
publicName: "metaKeySelection",
|
|
1091
|
+
isSignal: true,
|
|
1092
|
+
isRequired: false,
|
|
1093
|
+
transformFunction: null
|
|
1094
|
+
},
|
|
1095
|
+
dragdrop: {
|
|
1096
|
+
classPropertyName: "dragdrop",
|
|
1097
|
+
publicName: "dragdrop",
|
|
1098
|
+
isSignal: true,
|
|
1099
|
+
isRequired: false,
|
|
1100
|
+
transformFunction: null
|
|
1101
|
+
},
|
|
1102
|
+
style: {
|
|
1103
|
+
classPropertyName: "style",
|
|
1104
|
+
publicName: "style",
|
|
1105
|
+
isSignal: true,
|
|
1106
|
+
isRequired: false,
|
|
1107
|
+
transformFunction: null
|
|
1108
|
+
},
|
|
1109
|
+
styleClass: {
|
|
1110
|
+
classPropertyName: "styleClass",
|
|
1111
|
+
publicName: "styleClass",
|
|
1112
|
+
isSignal: true,
|
|
1113
|
+
isRequired: false,
|
|
1114
|
+
transformFunction: null
|
|
1115
|
+
},
|
|
1116
|
+
sourceStyle: {
|
|
1117
|
+
classPropertyName: "sourceStyle",
|
|
1118
|
+
publicName: "sourceStyle",
|
|
1119
|
+
isSignal: true,
|
|
1120
|
+
isRequired: false,
|
|
1121
|
+
transformFunction: null
|
|
1122
|
+
},
|
|
1123
|
+
targetStyle: {
|
|
1124
|
+
classPropertyName: "targetStyle",
|
|
1125
|
+
publicName: "targetStyle",
|
|
1126
|
+
isSignal: true,
|
|
1127
|
+
isRequired: false,
|
|
1128
|
+
transformFunction: null
|
|
1129
|
+
},
|
|
1130
|
+
showSourceControls: {
|
|
1131
|
+
classPropertyName: "showSourceControls",
|
|
1132
|
+
publicName: "showSourceControls",
|
|
1133
|
+
isSignal: true,
|
|
1134
|
+
isRequired: false,
|
|
1135
|
+
transformFunction: null
|
|
1136
|
+
},
|
|
1137
|
+
showTargetControls: {
|
|
1138
|
+
classPropertyName: "showTargetControls",
|
|
1139
|
+
publicName: "showTargetControls",
|
|
1140
|
+
isSignal: true,
|
|
1141
|
+
isRequired: false,
|
|
1142
|
+
transformFunction: null
|
|
1143
|
+
},
|
|
1144
|
+
sourceFilterPlaceholder: {
|
|
1145
|
+
classPropertyName: "sourceFilterPlaceholder",
|
|
1146
|
+
publicName: "sourceFilterPlaceholder",
|
|
1147
|
+
isSignal: true,
|
|
1148
|
+
isRequired: false,
|
|
1149
|
+
transformFunction: null
|
|
1150
|
+
},
|
|
1151
|
+
targetFilterPlaceholder: {
|
|
1152
|
+
classPropertyName: "targetFilterPlaceholder",
|
|
1153
|
+
publicName: "targetFilterPlaceholder",
|
|
1154
|
+
isSignal: true,
|
|
1155
|
+
isRequired: false,
|
|
1156
|
+
transformFunction: null
|
|
1157
|
+
},
|
|
1158
|
+
disabled: {
|
|
1159
|
+
classPropertyName: "disabled",
|
|
1160
|
+
publicName: "disabled",
|
|
1161
|
+
isSignal: true,
|
|
1162
|
+
isRequired: false,
|
|
1163
|
+
transformFunction: null
|
|
1164
|
+
},
|
|
1165
|
+
sourceOptionDisabled: {
|
|
1166
|
+
classPropertyName: "sourceOptionDisabled",
|
|
1167
|
+
publicName: "sourceOptionDisabled",
|
|
1168
|
+
isSignal: true,
|
|
1169
|
+
isRequired: false,
|
|
1170
|
+
transformFunction: null
|
|
1171
|
+
},
|
|
1172
|
+
targetOptionDisabled: {
|
|
1173
|
+
classPropertyName: "targetOptionDisabled",
|
|
1174
|
+
publicName: "targetOptionDisabled",
|
|
1175
|
+
isSignal: true,
|
|
1176
|
+
isRequired: false,
|
|
1177
|
+
transformFunction: null
|
|
1178
|
+
},
|
|
1179
|
+
ariaSourceFilterLabel: {
|
|
1180
|
+
classPropertyName: "ariaSourceFilterLabel",
|
|
1181
|
+
publicName: "ariaSourceFilterLabel",
|
|
1182
|
+
isSignal: true,
|
|
1183
|
+
isRequired: false,
|
|
1184
|
+
transformFunction: null
|
|
1185
|
+
},
|
|
1186
|
+
ariaTargetFilterLabel: {
|
|
1187
|
+
classPropertyName: "ariaTargetFilterLabel",
|
|
1188
|
+
publicName: "ariaTargetFilterLabel",
|
|
1189
|
+
isSignal: true,
|
|
1190
|
+
isRequired: false,
|
|
1191
|
+
transformFunction: null
|
|
1192
|
+
},
|
|
1193
|
+
filterMatchMode: {
|
|
1194
|
+
classPropertyName: "filterMatchMode",
|
|
1195
|
+
publicName: "filterMatchMode",
|
|
1196
|
+
isSignal: true,
|
|
1197
|
+
isRequired: false,
|
|
1198
|
+
transformFunction: null
|
|
1199
|
+
},
|
|
1200
|
+
stripedRows: {
|
|
1201
|
+
classPropertyName: "stripedRows",
|
|
1202
|
+
publicName: "stripedRows",
|
|
1203
|
+
isSignal: true,
|
|
1204
|
+
isRequired: false,
|
|
1205
|
+
transformFunction: null
|
|
1206
|
+
},
|
|
1207
|
+
keepSelection: {
|
|
1208
|
+
classPropertyName: "keepSelection",
|
|
1209
|
+
publicName: "keepSelection",
|
|
1210
|
+
isSignal: true,
|
|
1211
|
+
isRequired: false,
|
|
1212
|
+
transformFunction: null
|
|
1213
|
+
},
|
|
1214
|
+
scrollHeight: {
|
|
1215
|
+
classPropertyName: "scrollHeight",
|
|
1216
|
+
publicName: "scrollHeight",
|
|
1217
|
+
isSignal: true,
|
|
1218
|
+
isRequired: false,
|
|
1219
|
+
transformFunction: null
|
|
1220
|
+
},
|
|
1221
|
+
autoOptionFocus: {
|
|
1222
|
+
classPropertyName: "autoOptionFocus",
|
|
1223
|
+
publicName: "autoOptionFocus",
|
|
1224
|
+
isSignal: true,
|
|
1225
|
+
isRequired: false,
|
|
1226
|
+
transformFunction: null
|
|
1227
|
+
},
|
|
1228
|
+
buttonProps: {
|
|
1229
|
+
classPropertyName: "buttonProps",
|
|
1230
|
+
publicName: "buttonProps",
|
|
1231
|
+
isSignal: true,
|
|
1232
|
+
isRequired: false,
|
|
1233
|
+
transformFunction: null
|
|
1234
|
+
},
|
|
1235
|
+
moveUpButtonProps: {
|
|
1236
|
+
classPropertyName: "moveUpButtonProps",
|
|
1237
|
+
publicName: "moveUpButtonProps",
|
|
1238
|
+
isSignal: true,
|
|
1239
|
+
isRequired: false,
|
|
1240
|
+
transformFunction: null
|
|
1241
|
+
},
|
|
1242
|
+
moveTopButtonProps: {
|
|
1243
|
+
classPropertyName: "moveTopButtonProps",
|
|
1244
|
+
publicName: "moveTopButtonProps",
|
|
1245
|
+
isSignal: true,
|
|
1246
|
+
isRequired: false,
|
|
1247
|
+
transformFunction: null
|
|
1248
|
+
},
|
|
1249
|
+
moveDownButtonProps: {
|
|
1250
|
+
classPropertyName: "moveDownButtonProps",
|
|
1251
|
+
publicName: "moveDownButtonProps",
|
|
1252
|
+
isSignal: true,
|
|
1253
|
+
isRequired: false,
|
|
1254
|
+
transformFunction: null
|
|
1255
|
+
},
|
|
1256
|
+
moveBottomButtonProps: {
|
|
1257
|
+
classPropertyName: "moveBottomButtonProps",
|
|
1258
|
+
publicName: "moveBottomButtonProps",
|
|
1259
|
+
isSignal: true,
|
|
1260
|
+
isRequired: false,
|
|
1261
|
+
transformFunction: null
|
|
1262
|
+
},
|
|
1263
|
+
moveToTargetProps: {
|
|
1264
|
+
classPropertyName: "moveToTargetProps",
|
|
1265
|
+
publicName: "moveToTargetProps",
|
|
1266
|
+
isSignal: true,
|
|
1267
|
+
isRequired: false,
|
|
1268
|
+
transformFunction: null
|
|
1269
|
+
},
|
|
1270
|
+
moveAllToTargetProps: {
|
|
1271
|
+
classPropertyName: "moveAllToTargetProps",
|
|
1272
|
+
publicName: "moveAllToTargetProps",
|
|
1273
|
+
isSignal: true,
|
|
1274
|
+
isRequired: false,
|
|
1275
|
+
transformFunction: null
|
|
1276
|
+
},
|
|
1277
|
+
moveToSourceProps: {
|
|
1278
|
+
classPropertyName: "moveToSourceProps",
|
|
1279
|
+
publicName: "moveToSourceProps",
|
|
1280
|
+
isSignal: true,
|
|
1281
|
+
isRequired: false,
|
|
1282
|
+
transformFunction: null
|
|
1283
|
+
},
|
|
1284
|
+
moveAllToSourceProps: {
|
|
1285
|
+
classPropertyName: "moveAllToSourceProps",
|
|
1286
|
+
publicName: "moveAllToSourceProps",
|
|
1287
|
+
isSignal: true,
|
|
1288
|
+
isRequired: false,
|
|
1289
|
+
transformFunction: null
|
|
1290
|
+
},
|
|
1291
|
+
breakpoint: {
|
|
1292
|
+
classPropertyName: "breakpoint",
|
|
1293
|
+
publicName: "breakpoint",
|
|
1294
|
+
isSignal: true,
|
|
1295
|
+
isRequired: false,
|
|
1296
|
+
transformFunction: null
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
outputs: {
|
|
1300
|
+
source: "sourceChange",
|
|
1301
|
+
target: "targetChange",
|
|
1302
|
+
breakpoint: "breakpointChange",
|
|
1303
|
+
onMoveToSource: "onMoveToSource",
|
|
1304
|
+
onMoveAllToSource: "onMoveAllToSource",
|
|
1305
|
+
onMoveAllToTarget: "onMoveAllToTarget",
|
|
1306
|
+
onMoveToTarget: "onMoveToTarget",
|
|
1307
|
+
onSourceReorder: "onSourceReorder",
|
|
1308
|
+
onTargetReorder: "onTargetReorder",
|
|
1309
|
+
onSourceSelect: "onSourceSelect",
|
|
1310
|
+
onTargetSelect: "onTargetSelect",
|
|
1311
|
+
onSourceFilter: "onSourceFilter",
|
|
1312
|
+
onTargetFilter: "onTargetFilter",
|
|
1313
|
+
onFocus: "onFocus",
|
|
1314
|
+
onBlur: "onBlur"
|
|
1315
|
+
},
|
|
1316
|
+
providers: [
|
|
1317
|
+
PickListStyle,
|
|
1318
|
+
{
|
|
1319
|
+
provide: PARENT_INSTANCE,
|
|
1320
|
+
useExisting: PickList
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
provide: PICKLIST_INSTANCE,
|
|
1324
|
+
useExisting: PickList
|
|
1325
|
+
}
|
|
1326
|
+
],
|
|
1327
|
+
queries: [
|
|
1328
|
+
{
|
|
1329
|
+
propertyName: "itemTemplate",
|
|
1330
|
+
first: true,
|
|
1331
|
+
predicate: ["item"],
|
|
1332
|
+
isSignal: true
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
propertyName: "sourceHeaderTemplate",
|
|
1336
|
+
first: true,
|
|
1337
|
+
predicate: ["sourceHeader"],
|
|
1338
|
+
isSignal: true
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
propertyName: "targetHeaderTemplate",
|
|
1342
|
+
first: true,
|
|
1343
|
+
predicate: ["targetHeader"],
|
|
1344
|
+
isSignal: true
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
propertyName: "sourceFilterTemplate",
|
|
1348
|
+
first: true,
|
|
1349
|
+
predicate: ["sourceFilter"],
|
|
1350
|
+
isSignal: true
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
propertyName: "targetFilterTemplate",
|
|
1354
|
+
first: true,
|
|
1355
|
+
predicate: ["targetFilter"],
|
|
1356
|
+
isSignal: true
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
propertyName: "emptyMessageSourceTemplate",
|
|
1360
|
+
first: true,
|
|
1361
|
+
predicate: ["emptymessagesource"],
|
|
1362
|
+
isSignal: true
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
propertyName: "emptyFilterMessageSourceTemplate",
|
|
1366
|
+
first: true,
|
|
1367
|
+
predicate: ["emptyfiltermessagesource"],
|
|
1368
|
+
isSignal: true
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
propertyName: "emptyMessageTargetTemplate",
|
|
1372
|
+
first: true,
|
|
1373
|
+
predicate: ["emptymessagetarget"],
|
|
1374
|
+
isSignal: true
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
propertyName: "emptyFilterMessageTargetTemplate",
|
|
1378
|
+
first: true,
|
|
1379
|
+
predicate: ["emptyfiltermessagetarget"],
|
|
1380
|
+
isSignal: true
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
propertyName: "moveUpIconTemplate",
|
|
1384
|
+
first: true,
|
|
1385
|
+
predicate: ["moveupicon"],
|
|
1386
|
+
isSignal: true
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
propertyName: "moveTopIconTemplate",
|
|
1390
|
+
first: true,
|
|
1391
|
+
predicate: ["movetopicon"],
|
|
1392
|
+
isSignal: true
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
propertyName: "moveDownIconTemplate",
|
|
1396
|
+
first: true,
|
|
1397
|
+
predicate: ["movedownicon"],
|
|
1398
|
+
isSignal: true
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
propertyName: "moveBottomIconTemplate",
|
|
1402
|
+
first: true,
|
|
1403
|
+
predicate: ["movebottomicon"],
|
|
1404
|
+
isSignal: true
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
propertyName: "moveToTargetIconTemplate",
|
|
1408
|
+
first: true,
|
|
1409
|
+
predicate: ["movetotargeticon"],
|
|
1410
|
+
isSignal: true
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
propertyName: "moveAllToTargetIconTemplate",
|
|
1414
|
+
first: true,
|
|
1415
|
+
predicate: ["movealltotargeticon"],
|
|
1416
|
+
isSignal: true
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
propertyName: "moveToSourceIconTemplate",
|
|
1420
|
+
first: true,
|
|
1421
|
+
predicate: ["movetosourceicon"],
|
|
1422
|
+
isSignal: true
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
propertyName: "moveAllToSourceIconTemplate",
|
|
1426
|
+
first: true,
|
|
1427
|
+
predicate: ["movealltosourceicon"],
|
|
1428
|
+
isSignal: true
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
propertyName: "targetFilterIconTemplate",
|
|
1432
|
+
first: true,
|
|
1433
|
+
predicate: ["targetfiltericon"],
|
|
1434
|
+
isSignal: true
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
propertyName: "sourceFilterIconTemplate",
|
|
1438
|
+
first: true,
|
|
1439
|
+
predicate: ["sourcefiltericon"],
|
|
1440
|
+
isSignal: true
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
propertyName: "templates",
|
|
1444
|
+
predicate: HelixTemplate,
|
|
1445
|
+
isSignal: true
|
|
1446
|
+
}
|
|
1447
|
+
],
|
|
1448
|
+
viewQueries: [
|
|
1449
|
+
{
|
|
1450
|
+
propertyName: "listViewSourceChild",
|
|
1451
|
+
first: true,
|
|
1452
|
+
predicate: ["sourcelist"],
|
|
1453
|
+
descendants: true,
|
|
1454
|
+
isSignal: true
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
propertyName: "listViewTargetChild",
|
|
1458
|
+
first: true,
|
|
1459
|
+
predicate: ["targetlist"],
|
|
1460
|
+
descendants: true,
|
|
1461
|
+
isSignal: true
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
propertyName: "sourceFilterViewChild",
|
|
1465
|
+
first: true,
|
|
1466
|
+
predicate: ["sourceFilter"],
|
|
1467
|
+
descendants: true,
|
|
1468
|
+
isSignal: true
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
propertyName: "targetFilterViewChild",
|
|
1472
|
+
first: true,
|
|
1473
|
+
predicate: ["targetFilter"],
|
|
1474
|
+
descendants: true,
|
|
1475
|
+
isSignal: true
|
|
1476
|
+
}
|
|
1477
|
+
],
|
|
1478
|
+
usesInheritance: true,
|
|
1479
|
+
hostDirectives: [{ directive: i1.Bind }],
|
|
1480
|
+
ngImport: i0,
|
|
1481
|
+
template: "<div [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" cdkDropListGroup [hBind]=\"ptm('root')\">\n @if (showSourceControls()) {\n <div [class]=\"cx('sourceControls')\" [hBind]=\"ptm('sourceControls')\" [attr.data-pc-group-section]=\"'controls'\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveUpAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveUp(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('moveup')\"\n [pt]=\"ptm('pcSourceMoveUpButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveUpIconTemplate() && !_moveUpIconTemplate) {\n <svg data-h-icon=\"angle-up\" [pt]=\"ptm('pcSourceMoveUpButton')['icon']\" hButtonIcon />\n }\n <ng-template *ngTemplateOutlet=\"moveUpIconTemplate() || _moveUpIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveTopAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveTop(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movetop')\"\n [pt]=\"ptm('pcSourceMoveTopButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveTopIconTemplate() && !_moveTopIconTemplate) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcSourceMoveTopButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveTopIconTemplate() || _moveTopIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveDownAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveDown(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movedown')\"\n [pt]=\"ptm('pcSourceMoveDownButton')\"\n [unstyled]=\"unstyled()\"\n hostName=\"picklist\"\n >\n @if (!moveDownIconTemplate() && !_moveDownIconTemplate) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcSourceMoveDownButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveDownIconTemplate() || _moveDownIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveBottomAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveBottom(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movebottom')\"\n [pt]=\"ptm('pcSourceMoveBottomButton')\"\n [unstyled]=\"unstyled()\"\n hostName=\"picklist\"\n >\n @if (!moveBottomIconTemplate() || _moveBottomIconTemplate) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcSourceMoveBottomButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveBottomIconTemplate() || _moveBottomIconTemplate\"></ng-template>\n </button>\n </div>\n }\n <div [class]=\"cx('sourceListContainer')\" [attr.data-pc-group-section]=\"'listcontainer'\" [hBind]=\"ptm('sourceListContainer')\">\n <h-listbox\n #sourcelist\n [ariaLabel]=\"sourceAriaLabel()\"\n [multiple]=\"true\"\n [options]=\"sourceOptions\"\n [(ngModel)]=\"selectedItemsSource\"\n [optionLabel]=\"dataKey() ?? 'name'\"\n [id]=\"idSource + '_list'\"\n [listStyle]=\"sourceStyle()\"\n [striped]=\"stripedRows()\"\n [tabindex]=\"tabindex()\"\n (onFocus)=\"onListFocus($event, SOURCE_LIST)\"\n (onBlur)=\"onListBlur($event, SOURCE_LIST)\"\n (onChange)=\"onChangeSelection($event, SOURCE_LIST)\"\n (onDblClick)=\"onSourceItemDblClick()\"\n [disabled]=\"disabled()\"\n [optionDisabled]=\"sourceOptionDisabled()\"\n [metaKeySelection]=\"metaKeySelection()\"\n [scrollHeight]=\"scrollHeight()\"\n [autoOptionFocus]=\"autoOptionFocus()\"\n [filter]=\"filterBy() && showSourceFilter()\"\n [filterBy]=\"filterBy()\"\n [filterLocale]=\"filterLocale()\"\n [filterMatchMode]=\"filterMatchMode()\"\n [filterPlaceHolder]=\"sourceFilterPlaceholder()\"\n [dragdrop]=\"dragdrop()\"\n [dropListData]=\"source()\"\n (onDrop)=\"onDrop($event, SOURCE_LIST)\"\n (onFilter)=\"onFilter($event.originalEvent, SOURCE_LIST)\"\n [pt]=\"ptm('pcListbox')\"\n hostName=\"picklist\"\n [attr.data-pc-group-section]=\"'list'\"\n [unstyled]=\"unstyled()\"\n >\n @if (sourceHeaderTemplate() || _sourceHeaderTemplate || sourceHeader()) {\n <ng-template #header>\n @if (!sourceHeaderTemplate() && !_sourceHeaderTemplate) {\n <div>{{ sourceHeader() }}</div>\n }\n <ng-template *ngTemplateOutlet=\"sourceHeaderTemplate() || _sourceHeaderTemplate\"></ng-template>\n </ng-template>\n }\n @if (sourceFilterTemplate() || _sourceFilterTemplate) {\n <ng-template #filter>\n <ng-template *ngTemplateOutlet=\"sourceFilterTemplate() || _sourceFilterTemplate; context: { options: sourceFilterOptions }\"></ng-template>\n </ng-template>\n }\n @if (sourceFilterIconTemplate() || _sourceFilterIconTemplate) {\n <ng-container *ngTemplateOutlet=\"sourceFilterIconTemplate() || _sourceFilterIconTemplate\"></ng-container>\n }\n @if (itemTemplate() || _itemTemplate) {\n <ng-template #item let-item let-index=\"index\" let-selected=\"selected\" let-disabled=\"disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }\"></ng-container>\n </ng-template>\n }\n @if (emptyMessageSourceTemplate() || _emptyMessageSourceTemplate) {\n <ng-template #empty>\n <ng-container *ngTemplateOutlet=\"emptyMessageSourceTemplate() || _emptyMessageSourceTemplate\"></ng-container>\n </ng-template>\n }\n @if (emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate) {\n <ng-template #emptyfilter>\n <ng-container *ngTemplateOutlet=\"emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate\"></ng-container>\n </ng-template>\n }\n </h-listbox>\n </div>\n <div [class]=\"cx('transferControls')\" [attr.data-pc-group-section]=\"'controls'\" [hBind]=\"ptm('transferControls')\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveToTargetAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveRightDisabled()\"\n (click)=\"moveRight()\"\n [buttonProps]=\"getButtonProps('movetotarget')\"\n [pt]=\"ptm('pcMoveToTargetButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveToTargetIconTemplate() && !_moveToTargetIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-right\" hButtonIcon [pt]=\"ptm('pcMoveToTargetButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcMoveToTargetButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveToTargetIconTemplate() || _moveToTargetIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveAllToTargetAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveAllRightDisabled()\"\n (click)=\"moveAllRight()\"\n [buttonProps]=\"getButtonProps('movealltotarget')\"\n [pt]=\"ptm('pcMoveAllToTargetButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveAllToTargetIconTemplate() && !_moveAllToTargetIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-double-right\" hButtonIcon [pt]=\"ptm('pcMoveAllToTargetButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcMoveAllToTargetButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveAllToTargetIconTemplate() || _moveAllToTargetIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveToSourceAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveLeftDisabled()\"\n (click)=\"moveLeft()\"\n [buttonProps]=\"getButtonProps('movetosource')\"\n [pt]=\"ptm('pcMoveToSourceButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveToSourceIconTemplate() && !_moveToSourceIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-left\" hButtonIcon [pt]=\"ptm('pcMoveToSourceButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-up\" hButtonIcon [pt]=\"ptm('pcMoveToSourceButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveToSourceIconTemplate() || _moveToSourceIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveAllToSourceAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveAllLeftDisabled()\"\n (click)=\"moveAllLeft()\"\n [buttonProps]=\"getButtonProps('movealltosource')\"\n [pt]=\"ptm('pcMoveAllToSourceButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveAllToSourceIconTemplate() && !_moveAllToSourceIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-double-left\" hButtonIcon [pt]=\"ptm('pcMoveAllToSourceButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcMoveAllToSourceButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveAllToSourceIconTemplate() || _moveAllToSourceIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n </div>\n <div [class]=\"cx('targetListContainer')\" [attr.data-pc-group-section]=\"'listcontainer'\" [hBind]=\"ptm('targetListContainer')\">\n <h-listbox\n #targetlist\n [ariaLabel]=\"targetAriaLabel()\"\n [multiple]=\"true\"\n [options]=\"targetOptions\"\n [(ngModel)]=\"selectedItemsTarget\"\n [optionLabel]=\"dataKey() ?? 'name'\"\n [id]=\"idTarget + '_list'\"\n [listStyle]=\"targetStyle()\"\n [striped]=\"stripedRows()\"\n [tabindex]=\"tabindex()\"\n (onFocus)=\"onListFocus($event, TARGET_LIST)\"\n (onBlur)=\"onListBlur($event, TARGET_LIST)\"\n (onChange)=\"onChangeSelection($event, TARGET_LIST)\"\n (onDblClick)=\"onTargetItemDblClick()\"\n [disabled]=\"disabled()\"\n [optionDisabled]=\"targetOptionDisabled()\"\n [metaKeySelection]=\"metaKeySelection()\"\n [scrollHeight]=\"scrollHeight()\"\n [autoOptionFocus]=\"autoOptionFocus()\"\n [filter]=\"filterBy() && showTargetFilter()\"\n [filterBy]=\"filterBy()\"\n [filterLocale]=\"filterLocale()\"\n [filterMatchMode]=\"filterMatchMode()\"\n [filterPlaceHolder]=\"targetFilterPlaceholder()\"\n [dragdrop]=\"dragdrop()\"\n [dropListData]=\"target()\"\n (onDrop)=\"onDrop($event, TARGET_LIST)\"\n (onFilter)=\"onFilter($event.originalEvent, TARGET_LIST)\"\n [pt]=\"ptm('pcListbox')\"\n [attr.data-pc-group-section]=\"'list'\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (targetHeaderTemplate() || _targetHeaderTemplate || targetHeader()) {\n <ng-template #header>\n @if (!targetHeaderTemplate() && !_targetHeaderTemplate) {\n <div>{{ targetHeader() }}</div>\n }\n <ng-template *ngTemplateOutlet=\"targetHeaderTemplate() || _targetHeaderTemplate\"></ng-template>\n </ng-template>\n }\n @if (targetFilterTemplate() || _targetFilterTemplate) {\n <ng-template #filter>\n <ng-template *ngTemplateOutlet=\"targetFilterTemplate() || _targetFilterTemplate; context: { options: targetFilterOptions }\"></ng-template>\n </ng-template>\n }\n @if (targetFilterIconTemplate() || _targetFilterIconTemplate) {\n <ng-container *ngTemplateOutlet=\"targetFilterIconTemplate() || _targetFilterIconTemplate\"></ng-container>\n }\n @if (itemTemplate() || _itemTemplate) {\n <ng-template #item let-item let-index=\"index\" let-selected=\"selected\" let-disabled=\"disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }\"></ng-container>\n </ng-template>\n }\n @if (emptyMessageTargetTemplate() || _emptyMessageTargetTemplate) {\n <ng-template #empty>\n <ng-container *ngTemplateOutlet=\"emptyMessageTargetTemplate() || _emptyMessageTargetTemplate\"></ng-container>\n </ng-template>\n }\n @if (emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate) {\n <ng-template #emptyfilter>\n <ng-container *ngTemplateOutlet=\"emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate\"></ng-container>\n </ng-template>\n }\n </h-listbox>\n </div>\n @if (showTargetControls()) {\n <div [class]=\"cx('targetControls')\" [attr.data-pc-group-section]=\"'controls'\" [hBind]=\"ptm('targetControls')\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveUpAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveUp(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('moveup')\"\n [pt]=\"ptm('pcTargetMoveUpButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveUpIconTemplate() && !_moveUpIconTemplate) {\n <svg data-h-icon=\"angle-up\" hButtonIcon [pt]=\"ptm('pcTargetMoveUpButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveUpIconTemplate() || _moveUpIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveTopAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveTop(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movetop')\"\n [pt]=\"ptm('pcTargetMoveTopButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveTopIconTemplate() && !_moveTopIconTemplate) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcTargetMoveTopButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveTopIconTemplate() || moveTopIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveDownAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveDown(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movedown')\"\n [pt]=\"ptm('pcTargetMoveDownButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveDownIconTemplate() && !_moveDownIconTemplate) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcTargetMoveDownButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveDownIconTemplate() || _moveDownIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveBottomAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveBottom(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movebottom')\"\n [pt]=\"ptm('pcTargetMoveBottomButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveBottomIconTemplate() && !_moveBottomIconTemplate) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcTargetMoveBottomButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveBottomIconTemplate() || _moveBottomIconTemplate\"></ng-template>\n </button>\n </div>\n }\n</div>\n",
|
|
1482
|
+
dependencies: [
|
|
1483
|
+
{
|
|
1484
|
+
kind: "ngmodule",
|
|
1485
|
+
type: CommonModule
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
kind: "directive",
|
|
1489
|
+
type: i2.NgTemplateOutlet,
|
|
1490
|
+
selector: "[ngTemplateOutlet]",
|
|
1491
|
+
inputs: [
|
|
1492
|
+
"ngTemplateOutletContext",
|
|
1493
|
+
"ngTemplateOutlet",
|
|
1494
|
+
"ngTemplateOutletInjector"
|
|
1495
|
+
]
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
kind: "directive",
|
|
1499
|
+
type: i2.NgStyle,
|
|
1500
|
+
selector: "[ngStyle]",
|
|
1501
|
+
inputs: ["ngStyle"]
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
kind: "ngmodule",
|
|
1505
|
+
type: ButtonModule
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
kind: "directive",
|
|
1509
|
+
type: i3.ButtonDirective,
|
|
1510
|
+
selector: "[hButton]",
|
|
1511
|
+
inputs: [
|
|
1512
|
+
"ptButtonDirective",
|
|
1513
|
+
"pButtonPT",
|
|
1514
|
+
"pButtonUnstyled",
|
|
1515
|
+
"hostName",
|
|
1516
|
+
"text",
|
|
1517
|
+
"plain",
|
|
1518
|
+
"raised",
|
|
1519
|
+
"size",
|
|
1520
|
+
"outlined",
|
|
1521
|
+
"rounded",
|
|
1522
|
+
"iconPos",
|
|
1523
|
+
"loadingIcon",
|
|
1524
|
+
"fluid",
|
|
1525
|
+
"label",
|
|
1526
|
+
"icon",
|
|
1527
|
+
"loading",
|
|
1528
|
+
"buttonProps",
|
|
1529
|
+
"severity"
|
|
1530
|
+
]
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
kind: "directive",
|
|
1534
|
+
type: i3.ButtonIcon,
|
|
1535
|
+
selector: "[hButtonIcon]",
|
|
1536
|
+
inputs: [
|
|
1537
|
+
"ptButtonIcon",
|
|
1538
|
+
"pButtonIconPT",
|
|
1539
|
+
"pButtonUnstyled"
|
|
1540
|
+
]
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
kind: "directive",
|
|
1544
|
+
type: Ripple,
|
|
1545
|
+
selector: "[hRipple]"
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
kind: "ngmodule",
|
|
1549
|
+
type: DragDropModule
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
kind: "directive",
|
|
1553
|
+
type: i4.CdkDropListGroup,
|
|
1554
|
+
selector: "[cdkDropListGroup]",
|
|
1555
|
+
inputs: ["cdkDropListGroupDisabled"],
|
|
1556
|
+
exportAs: ["cdkDropListGroup"]
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
kind: "component",
|
|
1560
|
+
type: AngleDoubleDownIcon,
|
|
1561
|
+
selector: "[data-h-icon=\"angle-double-down\"]"
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
kind: "component",
|
|
1565
|
+
type: AngleDoubleLeftIcon,
|
|
1566
|
+
selector: "[data-h-icon=\"angle-double-left\"]"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
kind: "component",
|
|
1570
|
+
type: AngleDoubleRightIcon,
|
|
1571
|
+
selector: "[data-h-icon=\"angle-double-right\"]"
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
kind: "component",
|
|
1575
|
+
type: AngleDoubleUpIcon,
|
|
1576
|
+
selector: "[data-h-icon=\"angle-double-up\"]"
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
kind: "component",
|
|
1580
|
+
type: AngleDownIcon,
|
|
1581
|
+
selector: "[data-h-icon=\"angle-down\"]"
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
kind: "component",
|
|
1585
|
+
type: AngleLeftIcon,
|
|
1586
|
+
selector: "[data-h-icon=\"angle-left\"]"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
kind: "component",
|
|
1590
|
+
type: AngleRightIcon,
|
|
1591
|
+
selector: "[data-h-icon=\"angle-right\"]"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
kind: "component",
|
|
1595
|
+
type: AngleUpIcon,
|
|
1596
|
+
selector: "[data-h-icon=\"angle-up\"]"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
kind: "component",
|
|
1600
|
+
type: Listbox,
|
|
1601
|
+
selector: "h-listbox, h-listBox, h-list-box",
|
|
1602
|
+
inputs: [
|
|
1603
|
+
"hostName",
|
|
1604
|
+
"id",
|
|
1605
|
+
"searchMessage",
|
|
1606
|
+
"emptySelectionMessage",
|
|
1607
|
+
"selectionMessage",
|
|
1608
|
+
"autoOptionFocus",
|
|
1609
|
+
"ariaLabel",
|
|
1610
|
+
"selectOnFocus",
|
|
1611
|
+
"searchLocale",
|
|
1612
|
+
"focusOnHover",
|
|
1613
|
+
"filterMessage",
|
|
1614
|
+
"filterFields",
|
|
1615
|
+
"lazy",
|
|
1616
|
+
"virtualScroll",
|
|
1617
|
+
"virtualScrollItemSize",
|
|
1618
|
+
"virtualScrollOptions",
|
|
1619
|
+
"scrollHeight",
|
|
1620
|
+
"tabindex",
|
|
1621
|
+
"multiple",
|
|
1622
|
+
"styleClass",
|
|
1623
|
+
"listStyle",
|
|
1624
|
+
"listStyleClass",
|
|
1625
|
+
"readonly",
|
|
1626
|
+
"checkbox",
|
|
1627
|
+
"filter",
|
|
1628
|
+
"filterBy",
|
|
1629
|
+
"filterMatchMode",
|
|
1630
|
+
"filterLocale",
|
|
1631
|
+
"metaKeySelection",
|
|
1632
|
+
"dataKey",
|
|
1633
|
+
"showToggleAll",
|
|
1634
|
+
"optionLabel",
|
|
1635
|
+
"optionValue",
|
|
1636
|
+
"optionGroupChildren",
|
|
1637
|
+
"optionGroupLabel",
|
|
1638
|
+
"optionDisabled",
|
|
1639
|
+
"ariaFilterLabel",
|
|
1640
|
+
"filterPlaceHolder",
|
|
1641
|
+
"emptyFilterMessage",
|
|
1642
|
+
"emptyMessage",
|
|
1643
|
+
"group",
|
|
1644
|
+
"options",
|
|
1645
|
+
"filterValue",
|
|
1646
|
+
"selectAll",
|
|
1647
|
+
"striped",
|
|
1648
|
+
"highlightOnSelect",
|
|
1649
|
+
"checkmark",
|
|
1650
|
+
"dragdrop",
|
|
1651
|
+
"dropListData",
|
|
1652
|
+
"fluid"
|
|
1653
|
+
],
|
|
1654
|
+
outputs: [
|
|
1655
|
+
"onChange",
|
|
1656
|
+
"onClick",
|
|
1657
|
+
"onDblClick",
|
|
1658
|
+
"onFilter",
|
|
1659
|
+
"onFocus",
|
|
1660
|
+
"onBlur",
|
|
1661
|
+
"onSelectAllChange",
|
|
1662
|
+
"onLazyLoad",
|
|
1663
|
+
"onDrop"
|
|
1664
|
+
]
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
kind: "ngmodule",
|
|
1668
|
+
type: FormsModule
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
kind: "directive",
|
|
1672
|
+
type: i5.NgControlStatus,
|
|
1673
|
+
selector: "[formControlName],[ngModel],[formControl]"
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
kind: "directive",
|
|
1677
|
+
type: i5.NgModel,
|
|
1678
|
+
selector: "[ngModel]:not([formControlName]):not([formControl])",
|
|
1679
|
+
inputs: [
|
|
1680
|
+
"name",
|
|
1681
|
+
"disabled",
|
|
1682
|
+
"ngModel",
|
|
1683
|
+
"ngModelOptions"
|
|
1684
|
+
],
|
|
1685
|
+
outputs: ["ngModelChange"],
|
|
1686
|
+
exportAs: ["ngModel"]
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
kind: "ngmodule",
|
|
1690
|
+
type: SharedModule
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
kind: "ngmodule",
|
|
1694
|
+
type: BindModule
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
kind: "directive",
|
|
1698
|
+
type: i1.Bind,
|
|
1699
|
+
selector: "[hBind]",
|
|
1700
|
+
inputs: ["hBind"]
|
|
1701
|
+
}
|
|
1702
|
+
],
|
|
1703
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1704
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
1705
|
+
});
|
|
1706
|
+
};
|
|
1707
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1708
|
+
minVersion: "12.0.0",
|
|
1709
|
+
version: "22.2.1",
|
|
1710
|
+
ngImport: i0,
|
|
1711
|
+
type: PickList,
|
|
1712
|
+
decorators: [{
|
|
1713
|
+
type: Component,
|
|
1714
|
+
args: [{
|
|
1715
|
+
selector: "h-pickList, h-picklist, h-pick-list",
|
|
1716
|
+
standalone: true,
|
|
1717
|
+
imports: [
|
|
1718
|
+
CommonModule,
|
|
1719
|
+
ButtonModule,
|
|
1720
|
+
Ripple,
|
|
1721
|
+
DragDropModule,
|
|
1722
|
+
AngleDoubleDownIcon,
|
|
1723
|
+
AngleDoubleLeftIcon,
|
|
1724
|
+
AngleDoubleRightIcon,
|
|
1725
|
+
AngleDoubleUpIcon,
|
|
1726
|
+
AngleDownIcon,
|
|
1727
|
+
AngleLeftIcon,
|
|
1728
|
+
AngleRightIcon,
|
|
1729
|
+
AngleUpIcon,
|
|
1730
|
+
Listbox,
|
|
1731
|
+
FormsModule,
|
|
1732
|
+
SharedModule,
|
|
1733
|
+
BindModule
|
|
1734
|
+
],
|
|
1735
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1736
|
+
encapsulation: ViewEncapsulation.None,
|
|
1737
|
+
providers: [
|
|
1738
|
+
PickListStyle,
|
|
1739
|
+
{
|
|
1740
|
+
provide: PARENT_INSTANCE,
|
|
1741
|
+
useExisting: PickList
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
provide: PICKLIST_INSTANCE,
|
|
1745
|
+
useExisting: PickList
|
|
1746
|
+
}
|
|
1747
|
+
],
|
|
1748
|
+
hostDirectives: [Bind],
|
|
1749
|
+
template: "<div [ngStyle]=\"style()\" [class]=\"cn(cx('root'), styleClass())\" cdkDropListGroup [hBind]=\"ptm('root')\">\n @if (showSourceControls()) {\n <div [class]=\"cx('sourceControls')\" [hBind]=\"ptm('sourceControls')\" [attr.data-pc-group-section]=\"'controls'\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveUpAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveUp(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('moveup')\"\n [pt]=\"ptm('pcSourceMoveUpButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveUpIconTemplate() && !_moveUpIconTemplate) {\n <svg data-h-icon=\"angle-up\" [pt]=\"ptm('pcSourceMoveUpButton')['icon']\" hButtonIcon />\n }\n <ng-template *ngTemplateOutlet=\"moveUpIconTemplate() || _moveUpIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveTopAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveTop(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movetop')\"\n [pt]=\"ptm('pcSourceMoveTopButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveTopIconTemplate() && !_moveTopIconTemplate) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcSourceMoveTopButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveTopIconTemplate() || _moveTopIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveDownAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveDown(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movedown')\"\n [pt]=\"ptm('pcSourceMoveDownButton')\"\n [unstyled]=\"unstyled()\"\n hostName=\"picklist\"\n >\n @if (!moveDownIconTemplate() && !_moveDownIconTemplate) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcSourceMoveDownButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveDownIconTemplate() || _moveDownIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveBottomAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"sourceMoveDisabled()\"\n (click)=\"moveBottom(sourcelist, source(), selectedItemsSource, onSourceReorder, SOURCE_LIST)\"\n [buttonProps]=\"getButtonProps('movebottom')\"\n [pt]=\"ptm('pcSourceMoveBottomButton')\"\n [unstyled]=\"unstyled()\"\n hostName=\"picklist\"\n >\n @if (!moveBottomIconTemplate() || _moveBottomIconTemplate) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcSourceMoveBottomButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveBottomIconTemplate() || _moveBottomIconTemplate\"></ng-template>\n </button>\n </div>\n }\n <div [class]=\"cx('sourceListContainer')\" [attr.data-pc-group-section]=\"'listcontainer'\" [hBind]=\"ptm('sourceListContainer')\">\n <h-listbox\n #sourcelist\n [ariaLabel]=\"sourceAriaLabel()\"\n [multiple]=\"true\"\n [options]=\"sourceOptions\"\n [(ngModel)]=\"selectedItemsSource\"\n [optionLabel]=\"dataKey() ?? 'name'\"\n [id]=\"idSource + '_list'\"\n [listStyle]=\"sourceStyle()\"\n [striped]=\"stripedRows()\"\n [tabindex]=\"tabindex()\"\n (onFocus)=\"onListFocus($event, SOURCE_LIST)\"\n (onBlur)=\"onListBlur($event, SOURCE_LIST)\"\n (onChange)=\"onChangeSelection($event, SOURCE_LIST)\"\n (onDblClick)=\"onSourceItemDblClick()\"\n [disabled]=\"disabled()\"\n [optionDisabled]=\"sourceOptionDisabled()\"\n [metaKeySelection]=\"metaKeySelection()\"\n [scrollHeight]=\"scrollHeight()\"\n [autoOptionFocus]=\"autoOptionFocus()\"\n [filter]=\"filterBy() && showSourceFilter()\"\n [filterBy]=\"filterBy()\"\n [filterLocale]=\"filterLocale()\"\n [filterMatchMode]=\"filterMatchMode()\"\n [filterPlaceHolder]=\"sourceFilterPlaceholder()\"\n [dragdrop]=\"dragdrop()\"\n [dropListData]=\"source()\"\n (onDrop)=\"onDrop($event, SOURCE_LIST)\"\n (onFilter)=\"onFilter($event.originalEvent, SOURCE_LIST)\"\n [pt]=\"ptm('pcListbox')\"\n hostName=\"picklist\"\n [attr.data-pc-group-section]=\"'list'\"\n [unstyled]=\"unstyled()\"\n >\n @if (sourceHeaderTemplate() || _sourceHeaderTemplate || sourceHeader()) {\n <ng-template #header>\n @if (!sourceHeaderTemplate() && !_sourceHeaderTemplate) {\n <div>{{ sourceHeader() }}</div>\n }\n <ng-template *ngTemplateOutlet=\"sourceHeaderTemplate() || _sourceHeaderTemplate\"></ng-template>\n </ng-template>\n }\n @if (sourceFilterTemplate() || _sourceFilterTemplate) {\n <ng-template #filter>\n <ng-template *ngTemplateOutlet=\"sourceFilterTemplate() || _sourceFilterTemplate; context: { options: sourceFilterOptions }\"></ng-template>\n </ng-template>\n }\n @if (sourceFilterIconTemplate() || _sourceFilterIconTemplate) {\n <ng-container *ngTemplateOutlet=\"sourceFilterIconTemplate() || _sourceFilterIconTemplate\"></ng-container>\n }\n @if (itemTemplate() || _itemTemplate) {\n <ng-template #item let-item let-index=\"index\" let-selected=\"selected\" let-disabled=\"disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }\"></ng-container>\n </ng-template>\n }\n @if (emptyMessageSourceTemplate() || _emptyMessageSourceTemplate) {\n <ng-template #empty>\n <ng-container *ngTemplateOutlet=\"emptyMessageSourceTemplate() || _emptyMessageSourceTemplate\"></ng-container>\n </ng-template>\n }\n @if (emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate) {\n <ng-template #emptyfilter>\n <ng-container *ngTemplateOutlet=\"emptyFilterMessageSourceTemplate() || _emptyFilterMessageSourceTemplate\"></ng-container>\n </ng-template>\n }\n </h-listbox>\n </div>\n <div [class]=\"cx('transferControls')\" [attr.data-pc-group-section]=\"'controls'\" [hBind]=\"ptm('transferControls')\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveToTargetAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveRightDisabled()\"\n (click)=\"moveRight()\"\n [buttonProps]=\"getButtonProps('movetotarget')\"\n [pt]=\"ptm('pcMoveToTargetButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveToTargetIconTemplate() && !_moveToTargetIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-right\" hButtonIcon [pt]=\"ptm('pcMoveToTargetButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcMoveToTargetButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveToTargetIconTemplate() || _moveToTargetIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveAllToTargetAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveAllRightDisabled()\"\n (click)=\"moveAllRight()\"\n [buttonProps]=\"getButtonProps('movealltotarget')\"\n [pt]=\"ptm('pcMoveAllToTargetButton')\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveAllToTargetIconTemplate() && !_moveAllToTargetIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-double-right\" hButtonIcon [pt]=\"ptm('pcMoveAllToTargetButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcMoveAllToTargetButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveAllToTargetIconTemplate() || _moveAllToTargetIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveToSourceAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveLeftDisabled()\"\n (click)=\"moveLeft()\"\n [buttonProps]=\"getButtonProps('movetosource')\"\n [pt]=\"ptm('pcMoveToSourceButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveToSourceIconTemplate() && !_moveToSourceIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-left\" hButtonIcon [pt]=\"ptm('pcMoveToSourceButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-up\" hButtonIcon [pt]=\"ptm('pcMoveToSourceButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveToSourceIconTemplate() || _moveToSourceIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveAllToSourceAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"moveAllLeftDisabled()\"\n (click)=\"moveAllLeft()\"\n [buttonProps]=\"getButtonProps('movealltosource')\"\n [pt]=\"ptm('pcMoveAllToSourceButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveAllToSourceIconTemplate() && !_moveAllToSourceIconTemplate) {\n @if (!viewChanged) {\n <svg data-h-icon=\"angle-double-left\" hButtonIcon [pt]=\"ptm('pcMoveAllToSourceButton')['icon']\" />\n }\n @if (viewChanged) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcMoveAllToSourceButton')['icon']\" />\n }\n }\n <ng-template *ngTemplateOutlet=\"moveAllToSourceIconTemplate() || _moveAllToSourceIconTemplate; context: { $implicit: viewChanged }\"></ng-template>\n </button>\n </div>\n <div [class]=\"cx('targetListContainer')\" [attr.data-pc-group-section]=\"'listcontainer'\" [hBind]=\"ptm('targetListContainer')\">\n <h-listbox\n #targetlist\n [ariaLabel]=\"targetAriaLabel()\"\n [multiple]=\"true\"\n [options]=\"targetOptions\"\n [(ngModel)]=\"selectedItemsTarget\"\n [optionLabel]=\"dataKey() ?? 'name'\"\n [id]=\"idTarget + '_list'\"\n [listStyle]=\"targetStyle()\"\n [striped]=\"stripedRows()\"\n [tabindex]=\"tabindex()\"\n (onFocus)=\"onListFocus($event, TARGET_LIST)\"\n (onBlur)=\"onListBlur($event, TARGET_LIST)\"\n (onChange)=\"onChangeSelection($event, TARGET_LIST)\"\n (onDblClick)=\"onTargetItemDblClick()\"\n [disabled]=\"disabled()\"\n [optionDisabled]=\"targetOptionDisabled()\"\n [metaKeySelection]=\"metaKeySelection()\"\n [scrollHeight]=\"scrollHeight()\"\n [autoOptionFocus]=\"autoOptionFocus()\"\n [filter]=\"filterBy() && showTargetFilter()\"\n [filterBy]=\"filterBy()\"\n [filterLocale]=\"filterLocale()\"\n [filterMatchMode]=\"filterMatchMode()\"\n [filterPlaceHolder]=\"targetFilterPlaceholder()\"\n [dragdrop]=\"dragdrop()\"\n [dropListData]=\"target()\"\n (onDrop)=\"onDrop($event, TARGET_LIST)\"\n (onFilter)=\"onFilter($event.originalEvent, TARGET_LIST)\"\n [pt]=\"ptm('pcListbox')\"\n [attr.data-pc-group-section]=\"'list'\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (targetHeaderTemplate() || _targetHeaderTemplate || targetHeader()) {\n <ng-template #header>\n @if (!targetHeaderTemplate() && !_targetHeaderTemplate) {\n <div>{{ targetHeader() }}</div>\n }\n <ng-template *ngTemplateOutlet=\"targetHeaderTemplate() || _targetHeaderTemplate\"></ng-template>\n </ng-template>\n }\n @if (targetFilterTemplate() || _targetFilterTemplate) {\n <ng-template #filter>\n <ng-template *ngTemplateOutlet=\"targetFilterTemplate() || _targetFilterTemplate; context: { options: targetFilterOptions }\"></ng-template>\n </ng-template>\n }\n @if (targetFilterIconTemplate() || _targetFilterIconTemplate) {\n <ng-container *ngTemplateOutlet=\"targetFilterIconTemplate() || _targetFilterIconTemplate\"></ng-container>\n }\n @if (itemTemplate() || _itemTemplate) {\n <ng-template #item let-item let-index=\"index\" let-selected=\"selected\" let-disabled=\"disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate() || _itemTemplate; context: { $implicit: item, index: index, selected: selected, disabled: disabled }\"></ng-container>\n </ng-template>\n }\n @if (emptyMessageTargetTemplate() || _emptyMessageTargetTemplate) {\n <ng-template #empty>\n <ng-container *ngTemplateOutlet=\"emptyMessageTargetTemplate() || _emptyMessageTargetTemplate\"></ng-container>\n </ng-template>\n }\n @if (emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate) {\n <ng-template #emptyfilter>\n <ng-container *ngTemplateOutlet=\"emptyFilterMessageTargetTemplate() || _emptyFilterMessageTargetTemplate\"></ng-container>\n </ng-template>\n }\n </h-listbox>\n </div>\n @if (showTargetControls()) {\n <div [class]=\"cx('targetControls')\" [attr.data-pc-group-section]=\"'controls'\" [hBind]=\"ptm('targetControls')\">\n <button\n type=\"button\"\n [attr.aria-label]=\"moveUpAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveUp(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('moveup')\"\n [pt]=\"ptm('pcTargetMoveUpButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveUpIconTemplate() && !_moveUpIconTemplate) {\n <svg data-h-icon=\"angle-up\" hButtonIcon [pt]=\"ptm('pcTargetMoveUpButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveUpIconTemplate() || _moveUpIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveTopAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveTop(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movetop')\"\n [pt]=\"ptm('pcTargetMoveTopButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveTopIconTemplate() && !_moveTopIconTemplate) {\n <svg data-h-icon=\"angle-double-up\" hButtonIcon [pt]=\"ptm('pcTargetMoveTopButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveTopIconTemplate() || moveTopIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveDownAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveDown(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movedown')\"\n [pt]=\"ptm('pcTargetMoveDownButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveDownIconTemplate() && !_moveDownIconTemplate) {\n <svg data-h-icon=\"angle-down\" hButtonIcon [pt]=\"ptm('pcTargetMoveDownButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveDownIconTemplate() || _moveDownIconTemplate\"></ng-template>\n </button>\n <button\n type=\"button\"\n [attr.aria-label]=\"moveBottomAriaLabel\"\n hButton\n hRipple\n severity=\"secondary\"\n [disabled]=\"targetMoveDisabled()\"\n (click)=\"moveBottom(targetlist, target(), selectedItemsTarget, onTargetReorder, TARGET_LIST)\"\n [buttonProps]=\"getButtonProps('movebottom')\"\n [pt]=\"ptm('pcTargetMoveBottomButton')\"\n hostName=\"picklist\"\n [unstyled]=\"unstyled()\"\n >\n @if (!moveBottomIconTemplate() && !_moveBottomIconTemplate) {\n <svg data-h-icon=\"angle-double-down\" hButtonIcon [pt]=\"ptm('pcTargetMoveBottomButton')['icon']\" />\n }\n <ng-template *ngTemplateOutlet=\"moveBottomIconTemplate() || _moveBottomIconTemplate\"></ng-template>\n </button>\n </div>\n }\n</div>\n"
|
|
1750
|
+
}]
|
|
1751
|
+
}],
|
|
1752
|
+
propDecorators: {
|
|
1753
|
+
hostName: [{
|
|
1754
|
+
type: i0.Input,
|
|
1755
|
+
args: [{
|
|
1756
|
+
isSignal: true,
|
|
1757
|
+
alias: "hostName",
|
|
1758
|
+
required: false
|
|
1759
|
+
}]
|
|
1760
|
+
}],
|
|
1761
|
+
source: [{
|
|
1762
|
+
type: i0.Input,
|
|
1763
|
+
args: [{
|
|
1764
|
+
isSignal: true,
|
|
1765
|
+
alias: "source",
|
|
1766
|
+
required: false
|
|
1767
|
+
}]
|
|
1768
|
+
}, {
|
|
1769
|
+
type: i0.Output,
|
|
1770
|
+
args: ["sourceChange"]
|
|
1771
|
+
}],
|
|
1772
|
+
target: [{
|
|
1773
|
+
type: i0.Input,
|
|
1774
|
+
args: [{
|
|
1775
|
+
isSignal: true,
|
|
1776
|
+
alias: "target",
|
|
1777
|
+
required: false
|
|
1778
|
+
}]
|
|
1779
|
+
}, {
|
|
1780
|
+
type: i0.Output,
|
|
1781
|
+
args: ["targetChange"]
|
|
1782
|
+
}],
|
|
1783
|
+
dataKey: [{
|
|
1784
|
+
type: i0.Input,
|
|
1785
|
+
args: [{
|
|
1786
|
+
isSignal: true,
|
|
1787
|
+
alias: "dataKey",
|
|
1788
|
+
required: false
|
|
1789
|
+
}]
|
|
1790
|
+
}],
|
|
1791
|
+
sourceHeader: [{
|
|
1792
|
+
type: i0.Input,
|
|
1793
|
+
args: [{
|
|
1794
|
+
isSignal: true,
|
|
1795
|
+
alias: "sourceHeader",
|
|
1796
|
+
required: false
|
|
1797
|
+
}]
|
|
1798
|
+
}],
|
|
1799
|
+
tabindex: [{
|
|
1800
|
+
type: i0.Input,
|
|
1801
|
+
args: [{
|
|
1802
|
+
isSignal: true,
|
|
1803
|
+
alias: "tabindex",
|
|
1804
|
+
required: false
|
|
1805
|
+
}]
|
|
1806
|
+
}],
|
|
1807
|
+
rightButtonAriaLabel: [{
|
|
1808
|
+
type: i0.Input,
|
|
1809
|
+
args: [{
|
|
1810
|
+
isSignal: true,
|
|
1811
|
+
alias: "rightButtonAriaLabel",
|
|
1812
|
+
required: false
|
|
1813
|
+
}]
|
|
1814
|
+
}],
|
|
1815
|
+
leftButtonAriaLabel: [{
|
|
1816
|
+
type: i0.Input,
|
|
1817
|
+
args: [{
|
|
1818
|
+
isSignal: true,
|
|
1819
|
+
alias: "leftButtonAriaLabel",
|
|
1820
|
+
required: false
|
|
1821
|
+
}]
|
|
1822
|
+
}],
|
|
1823
|
+
allRightButtonAriaLabel: [{
|
|
1824
|
+
type: i0.Input,
|
|
1825
|
+
args: [{
|
|
1826
|
+
isSignal: true,
|
|
1827
|
+
alias: "allRightButtonAriaLabel",
|
|
1828
|
+
required: false
|
|
1829
|
+
}]
|
|
1830
|
+
}],
|
|
1831
|
+
allLeftButtonAriaLabel: [{
|
|
1832
|
+
type: i0.Input,
|
|
1833
|
+
args: [{
|
|
1834
|
+
isSignal: true,
|
|
1835
|
+
alias: "allLeftButtonAriaLabel",
|
|
1836
|
+
required: false
|
|
1837
|
+
}]
|
|
1838
|
+
}],
|
|
1839
|
+
upButtonAriaLabel: [{
|
|
1840
|
+
type: i0.Input,
|
|
1841
|
+
args: [{
|
|
1842
|
+
isSignal: true,
|
|
1843
|
+
alias: "upButtonAriaLabel",
|
|
1844
|
+
required: false
|
|
1845
|
+
}]
|
|
1846
|
+
}],
|
|
1847
|
+
downButtonAriaLabel: [{
|
|
1848
|
+
type: i0.Input,
|
|
1849
|
+
args: [{
|
|
1850
|
+
isSignal: true,
|
|
1851
|
+
alias: "downButtonAriaLabel",
|
|
1852
|
+
required: false
|
|
1853
|
+
}]
|
|
1854
|
+
}],
|
|
1855
|
+
topButtonAriaLabel: [{
|
|
1856
|
+
type: i0.Input,
|
|
1857
|
+
args: [{
|
|
1858
|
+
isSignal: true,
|
|
1859
|
+
alias: "topButtonAriaLabel",
|
|
1860
|
+
required: false
|
|
1861
|
+
}]
|
|
1862
|
+
}],
|
|
1863
|
+
bottomButtonAriaLabel: [{
|
|
1864
|
+
type: i0.Input,
|
|
1865
|
+
args: [{
|
|
1866
|
+
isSignal: true,
|
|
1867
|
+
alias: "bottomButtonAriaLabel",
|
|
1868
|
+
required: false
|
|
1869
|
+
}]
|
|
1870
|
+
}],
|
|
1871
|
+
sourceAriaLabel: [{
|
|
1872
|
+
type: i0.Input,
|
|
1873
|
+
args: [{
|
|
1874
|
+
isSignal: true,
|
|
1875
|
+
alias: "sourceAriaLabel",
|
|
1876
|
+
required: false
|
|
1877
|
+
}]
|
|
1878
|
+
}],
|
|
1879
|
+
targetAriaLabel: [{
|
|
1880
|
+
type: i0.Input,
|
|
1881
|
+
args: [{
|
|
1882
|
+
isSignal: true,
|
|
1883
|
+
alias: "targetAriaLabel",
|
|
1884
|
+
required: false
|
|
1885
|
+
}]
|
|
1886
|
+
}],
|
|
1887
|
+
targetHeader: [{
|
|
1888
|
+
type: i0.Input,
|
|
1889
|
+
args: [{
|
|
1890
|
+
isSignal: true,
|
|
1891
|
+
alias: "targetHeader",
|
|
1892
|
+
required: false
|
|
1893
|
+
}]
|
|
1894
|
+
}],
|
|
1895
|
+
responsive: [{
|
|
1896
|
+
type: i0.Input,
|
|
1897
|
+
args: [{
|
|
1898
|
+
isSignal: true,
|
|
1899
|
+
alias: "responsive",
|
|
1900
|
+
required: false
|
|
1901
|
+
}]
|
|
1902
|
+
}],
|
|
1903
|
+
filterBy: [{
|
|
1904
|
+
type: i0.Input,
|
|
1905
|
+
args: [{
|
|
1906
|
+
isSignal: true,
|
|
1907
|
+
alias: "filterBy",
|
|
1908
|
+
required: false
|
|
1909
|
+
}]
|
|
1910
|
+
}],
|
|
1911
|
+
filterLocale: [{
|
|
1912
|
+
type: i0.Input,
|
|
1913
|
+
args: [{
|
|
1914
|
+
isSignal: true,
|
|
1915
|
+
alias: "filterLocale",
|
|
1916
|
+
required: false
|
|
1917
|
+
}]
|
|
1918
|
+
}],
|
|
1919
|
+
trackBy: [{
|
|
1920
|
+
type: i0.Input,
|
|
1921
|
+
args: [{
|
|
1922
|
+
isSignal: true,
|
|
1923
|
+
alias: "trackBy",
|
|
1924
|
+
required: false
|
|
1925
|
+
}]
|
|
1926
|
+
}],
|
|
1927
|
+
sourceTrackBy: [{
|
|
1928
|
+
type: i0.Input,
|
|
1929
|
+
args: [{
|
|
1930
|
+
isSignal: true,
|
|
1931
|
+
alias: "sourceTrackBy",
|
|
1932
|
+
required: false
|
|
1933
|
+
}]
|
|
1934
|
+
}],
|
|
1935
|
+
targetTrackBy: [{
|
|
1936
|
+
type: i0.Input,
|
|
1937
|
+
args: [{
|
|
1938
|
+
isSignal: true,
|
|
1939
|
+
alias: "targetTrackBy",
|
|
1940
|
+
required: false
|
|
1941
|
+
}]
|
|
1942
|
+
}],
|
|
1943
|
+
showSourceFilter: [{
|
|
1944
|
+
type: i0.Input,
|
|
1945
|
+
args: [{
|
|
1946
|
+
isSignal: true,
|
|
1947
|
+
alias: "showSourceFilter",
|
|
1948
|
+
required: false
|
|
1949
|
+
}]
|
|
1950
|
+
}],
|
|
1951
|
+
showTargetFilter: [{
|
|
1952
|
+
type: i0.Input,
|
|
1953
|
+
args: [{
|
|
1954
|
+
isSignal: true,
|
|
1955
|
+
alias: "showTargetFilter",
|
|
1956
|
+
required: false
|
|
1957
|
+
}]
|
|
1958
|
+
}],
|
|
1959
|
+
metaKeySelection: [{
|
|
1960
|
+
type: i0.Input,
|
|
1961
|
+
args: [{
|
|
1962
|
+
isSignal: true,
|
|
1963
|
+
alias: "metaKeySelection",
|
|
1964
|
+
required: false
|
|
1965
|
+
}]
|
|
1966
|
+
}],
|
|
1967
|
+
dragdrop: [{
|
|
1968
|
+
type: i0.Input,
|
|
1969
|
+
args: [{
|
|
1970
|
+
isSignal: true,
|
|
1971
|
+
alias: "dragdrop",
|
|
1972
|
+
required: false
|
|
1973
|
+
}]
|
|
1974
|
+
}],
|
|
1975
|
+
style: [{
|
|
1976
|
+
type: i0.Input,
|
|
1977
|
+
args: [{
|
|
1978
|
+
isSignal: true,
|
|
1979
|
+
alias: "style",
|
|
1980
|
+
required: false
|
|
1981
|
+
}]
|
|
1982
|
+
}],
|
|
1983
|
+
styleClass: [{
|
|
1984
|
+
type: i0.Input,
|
|
1985
|
+
args: [{
|
|
1986
|
+
isSignal: true,
|
|
1987
|
+
alias: "styleClass",
|
|
1988
|
+
required: false
|
|
1989
|
+
}]
|
|
1990
|
+
}],
|
|
1991
|
+
sourceStyle: [{
|
|
1992
|
+
type: i0.Input,
|
|
1993
|
+
args: [{
|
|
1994
|
+
isSignal: true,
|
|
1995
|
+
alias: "sourceStyle",
|
|
1996
|
+
required: false
|
|
1997
|
+
}]
|
|
1998
|
+
}],
|
|
1999
|
+
targetStyle: [{
|
|
2000
|
+
type: i0.Input,
|
|
2001
|
+
args: [{
|
|
2002
|
+
isSignal: true,
|
|
2003
|
+
alias: "targetStyle",
|
|
2004
|
+
required: false
|
|
2005
|
+
}]
|
|
2006
|
+
}],
|
|
2007
|
+
showSourceControls: [{
|
|
2008
|
+
type: i0.Input,
|
|
2009
|
+
args: [{
|
|
2010
|
+
isSignal: true,
|
|
2011
|
+
alias: "showSourceControls",
|
|
2012
|
+
required: false
|
|
2013
|
+
}]
|
|
2014
|
+
}],
|
|
2015
|
+
showTargetControls: [{
|
|
2016
|
+
type: i0.Input,
|
|
2017
|
+
args: [{
|
|
2018
|
+
isSignal: true,
|
|
2019
|
+
alias: "showTargetControls",
|
|
2020
|
+
required: false
|
|
2021
|
+
}]
|
|
2022
|
+
}],
|
|
2023
|
+
sourceFilterPlaceholder: [{
|
|
2024
|
+
type: i0.Input,
|
|
2025
|
+
args: [{
|
|
2026
|
+
isSignal: true,
|
|
2027
|
+
alias: "sourceFilterPlaceholder",
|
|
2028
|
+
required: false
|
|
2029
|
+
}]
|
|
2030
|
+
}],
|
|
2031
|
+
targetFilterPlaceholder: [{
|
|
2032
|
+
type: i0.Input,
|
|
2033
|
+
args: [{
|
|
2034
|
+
isSignal: true,
|
|
2035
|
+
alias: "targetFilterPlaceholder",
|
|
2036
|
+
required: false
|
|
2037
|
+
}]
|
|
2038
|
+
}],
|
|
2039
|
+
disabled: [{
|
|
2040
|
+
type: i0.Input,
|
|
2041
|
+
args: [{
|
|
2042
|
+
isSignal: true,
|
|
2043
|
+
alias: "disabled",
|
|
2044
|
+
required: false
|
|
2045
|
+
}]
|
|
2046
|
+
}],
|
|
2047
|
+
sourceOptionDisabled: [{
|
|
2048
|
+
type: i0.Input,
|
|
2049
|
+
args: [{
|
|
2050
|
+
isSignal: true,
|
|
2051
|
+
alias: "sourceOptionDisabled",
|
|
2052
|
+
required: false
|
|
2053
|
+
}]
|
|
2054
|
+
}],
|
|
2055
|
+
targetOptionDisabled: [{
|
|
2056
|
+
type: i0.Input,
|
|
2057
|
+
args: [{
|
|
2058
|
+
isSignal: true,
|
|
2059
|
+
alias: "targetOptionDisabled",
|
|
2060
|
+
required: false
|
|
2061
|
+
}]
|
|
2062
|
+
}],
|
|
2063
|
+
ariaSourceFilterLabel: [{
|
|
2064
|
+
type: i0.Input,
|
|
2065
|
+
args: [{
|
|
2066
|
+
isSignal: true,
|
|
2067
|
+
alias: "ariaSourceFilterLabel",
|
|
2068
|
+
required: false
|
|
2069
|
+
}]
|
|
2070
|
+
}],
|
|
2071
|
+
ariaTargetFilterLabel: [{
|
|
2072
|
+
type: i0.Input,
|
|
2073
|
+
args: [{
|
|
2074
|
+
isSignal: true,
|
|
2075
|
+
alias: "ariaTargetFilterLabel",
|
|
2076
|
+
required: false
|
|
2077
|
+
}]
|
|
2078
|
+
}],
|
|
2079
|
+
filterMatchMode: [{
|
|
2080
|
+
type: i0.Input,
|
|
2081
|
+
args: [{
|
|
2082
|
+
isSignal: true,
|
|
2083
|
+
alias: "filterMatchMode",
|
|
2084
|
+
required: false
|
|
2085
|
+
}]
|
|
2086
|
+
}],
|
|
2087
|
+
stripedRows: [{
|
|
2088
|
+
type: i0.Input,
|
|
2089
|
+
args: [{
|
|
2090
|
+
isSignal: true,
|
|
2091
|
+
alias: "stripedRows",
|
|
2092
|
+
required: false
|
|
2093
|
+
}]
|
|
2094
|
+
}],
|
|
2095
|
+
keepSelection: [{
|
|
2096
|
+
type: i0.Input,
|
|
2097
|
+
args: [{
|
|
2098
|
+
isSignal: true,
|
|
2099
|
+
alias: "keepSelection",
|
|
2100
|
+
required: false
|
|
2101
|
+
}]
|
|
2102
|
+
}],
|
|
2103
|
+
scrollHeight: [{
|
|
2104
|
+
type: i0.Input,
|
|
2105
|
+
args: [{
|
|
2106
|
+
isSignal: true,
|
|
2107
|
+
alias: "scrollHeight",
|
|
2108
|
+
required: false
|
|
2109
|
+
}]
|
|
2110
|
+
}],
|
|
2111
|
+
autoOptionFocus: [{
|
|
2112
|
+
type: i0.Input,
|
|
2113
|
+
args: [{
|
|
2114
|
+
isSignal: true,
|
|
2115
|
+
alias: "autoOptionFocus",
|
|
2116
|
+
required: false
|
|
2117
|
+
}]
|
|
2118
|
+
}],
|
|
2119
|
+
buttonProps: [{
|
|
2120
|
+
type: i0.Input,
|
|
2121
|
+
args: [{
|
|
2122
|
+
isSignal: true,
|
|
2123
|
+
alias: "buttonProps",
|
|
2124
|
+
required: false
|
|
2125
|
+
}]
|
|
2126
|
+
}],
|
|
2127
|
+
moveUpButtonProps: [{
|
|
2128
|
+
type: i0.Input,
|
|
2129
|
+
args: [{
|
|
2130
|
+
isSignal: true,
|
|
2131
|
+
alias: "moveUpButtonProps",
|
|
2132
|
+
required: false
|
|
2133
|
+
}]
|
|
2134
|
+
}],
|
|
2135
|
+
moveTopButtonProps: [{
|
|
2136
|
+
type: i0.Input,
|
|
2137
|
+
args: [{
|
|
2138
|
+
isSignal: true,
|
|
2139
|
+
alias: "moveTopButtonProps",
|
|
2140
|
+
required: false
|
|
2141
|
+
}]
|
|
2142
|
+
}],
|
|
2143
|
+
moveDownButtonProps: [{
|
|
2144
|
+
type: i0.Input,
|
|
2145
|
+
args: [{
|
|
2146
|
+
isSignal: true,
|
|
2147
|
+
alias: "moveDownButtonProps",
|
|
2148
|
+
required: false
|
|
2149
|
+
}]
|
|
2150
|
+
}],
|
|
2151
|
+
moveBottomButtonProps: [{
|
|
2152
|
+
type: i0.Input,
|
|
2153
|
+
args: [{
|
|
2154
|
+
isSignal: true,
|
|
2155
|
+
alias: "moveBottomButtonProps",
|
|
2156
|
+
required: false
|
|
2157
|
+
}]
|
|
2158
|
+
}],
|
|
2159
|
+
moveToTargetProps: [{
|
|
2160
|
+
type: i0.Input,
|
|
2161
|
+
args: [{
|
|
2162
|
+
isSignal: true,
|
|
2163
|
+
alias: "moveToTargetProps",
|
|
2164
|
+
required: false
|
|
2165
|
+
}]
|
|
2166
|
+
}],
|
|
2167
|
+
moveAllToTargetProps: [{
|
|
2168
|
+
type: i0.Input,
|
|
2169
|
+
args: [{
|
|
2170
|
+
isSignal: true,
|
|
2171
|
+
alias: "moveAllToTargetProps",
|
|
2172
|
+
required: false
|
|
2173
|
+
}]
|
|
2174
|
+
}],
|
|
2175
|
+
moveToSourceProps: [{
|
|
2176
|
+
type: i0.Input,
|
|
2177
|
+
args: [{
|
|
2178
|
+
isSignal: true,
|
|
2179
|
+
alias: "moveToSourceProps",
|
|
2180
|
+
required: false
|
|
2181
|
+
}]
|
|
2182
|
+
}],
|
|
2183
|
+
moveAllToSourceProps: [{
|
|
2184
|
+
type: i0.Input,
|
|
2185
|
+
args: [{
|
|
2186
|
+
isSignal: true,
|
|
2187
|
+
alias: "moveAllToSourceProps",
|
|
2188
|
+
required: false
|
|
2189
|
+
}]
|
|
2190
|
+
}],
|
|
2191
|
+
breakpoint: [{
|
|
2192
|
+
type: i0.Input,
|
|
2193
|
+
args: [{
|
|
2194
|
+
isSignal: true,
|
|
2195
|
+
alias: "breakpoint",
|
|
2196
|
+
required: false
|
|
2197
|
+
}]
|
|
2198
|
+
}, {
|
|
2199
|
+
type: i0.Output,
|
|
2200
|
+
args: ["breakpointChange"]
|
|
2201
|
+
}],
|
|
2202
|
+
onMoveToSource: [{
|
|
2203
|
+
type: i0.Output,
|
|
2204
|
+
args: ["onMoveToSource"]
|
|
2205
|
+
}],
|
|
2206
|
+
onMoveAllToSource: [{
|
|
2207
|
+
type: i0.Output,
|
|
2208
|
+
args: ["onMoveAllToSource"]
|
|
2209
|
+
}],
|
|
2210
|
+
onMoveAllToTarget: [{
|
|
2211
|
+
type: i0.Output,
|
|
2212
|
+
args: ["onMoveAllToTarget"]
|
|
2213
|
+
}],
|
|
2214
|
+
onMoveToTarget: [{
|
|
2215
|
+
type: i0.Output,
|
|
2216
|
+
args: ["onMoveToTarget"]
|
|
2217
|
+
}],
|
|
2218
|
+
onSourceReorder: [{
|
|
2219
|
+
type: i0.Output,
|
|
2220
|
+
args: ["onSourceReorder"]
|
|
2221
|
+
}],
|
|
2222
|
+
onTargetReorder: [{
|
|
2223
|
+
type: i0.Output,
|
|
2224
|
+
args: ["onTargetReorder"]
|
|
2225
|
+
}],
|
|
2226
|
+
onSourceSelect: [{
|
|
2227
|
+
type: i0.Output,
|
|
2228
|
+
args: ["onSourceSelect"]
|
|
2229
|
+
}],
|
|
2230
|
+
onTargetSelect: [{
|
|
2231
|
+
type: i0.Output,
|
|
2232
|
+
args: ["onTargetSelect"]
|
|
2233
|
+
}],
|
|
2234
|
+
onSourceFilter: [{
|
|
2235
|
+
type: i0.Output,
|
|
2236
|
+
args: ["onSourceFilter"]
|
|
2237
|
+
}],
|
|
2238
|
+
onTargetFilter: [{
|
|
2239
|
+
type: i0.Output,
|
|
2240
|
+
args: ["onTargetFilter"]
|
|
2241
|
+
}],
|
|
2242
|
+
onFocus: [{
|
|
2243
|
+
type: i0.Output,
|
|
2244
|
+
args: ["onFocus"]
|
|
2245
|
+
}],
|
|
2246
|
+
onBlur: [{
|
|
2247
|
+
type: i0.Output,
|
|
2248
|
+
args: ["onBlur"]
|
|
2249
|
+
}],
|
|
2250
|
+
listViewSourceChild: [{
|
|
2251
|
+
type: i0.ViewChild,
|
|
2252
|
+
args: ["sourcelist", { isSignal: true }]
|
|
2253
|
+
}],
|
|
2254
|
+
listViewTargetChild: [{
|
|
2255
|
+
type: i0.ViewChild,
|
|
2256
|
+
args: ["targetlist", { isSignal: true }]
|
|
2257
|
+
}],
|
|
2258
|
+
sourceFilterViewChild: [{
|
|
2259
|
+
type: i0.ViewChild,
|
|
2260
|
+
args: ["sourceFilter", { isSignal: true }]
|
|
2261
|
+
}],
|
|
2262
|
+
targetFilterViewChild: [{
|
|
2263
|
+
type: i0.ViewChild,
|
|
2264
|
+
args: ["targetFilter", { isSignal: true }]
|
|
2265
|
+
}],
|
|
2266
|
+
itemTemplate: [{
|
|
2267
|
+
type: i0.ContentChild,
|
|
2268
|
+
args: ["item", {
|
|
2269
|
+
descendants: false,
|
|
2270
|
+
isSignal: true
|
|
2271
|
+
}]
|
|
2272
|
+
}],
|
|
2273
|
+
sourceHeaderTemplate: [{
|
|
2274
|
+
type: i0.ContentChild,
|
|
2275
|
+
args: ["sourceHeader", {
|
|
2276
|
+
descendants: false,
|
|
2277
|
+
isSignal: true
|
|
2278
|
+
}]
|
|
2279
|
+
}],
|
|
2280
|
+
targetHeaderTemplate: [{
|
|
2281
|
+
type: i0.ContentChild,
|
|
2282
|
+
args: ["targetHeader", {
|
|
2283
|
+
descendants: false,
|
|
2284
|
+
isSignal: true
|
|
2285
|
+
}]
|
|
2286
|
+
}],
|
|
2287
|
+
sourceFilterTemplate: [{
|
|
2288
|
+
type: i0.ContentChild,
|
|
2289
|
+
args: ["sourceFilter", {
|
|
2290
|
+
descendants: false,
|
|
2291
|
+
isSignal: true
|
|
2292
|
+
}]
|
|
2293
|
+
}],
|
|
2294
|
+
targetFilterTemplate: [{
|
|
2295
|
+
type: i0.ContentChild,
|
|
2296
|
+
args: ["targetFilter", {
|
|
2297
|
+
descendants: false,
|
|
2298
|
+
isSignal: true
|
|
2299
|
+
}]
|
|
2300
|
+
}],
|
|
2301
|
+
emptyMessageSourceTemplate: [{
|
|
2302
|
+
type: i0.ContentChild,
|
|
2303
|
+
args: ["emptymessagesource", {
|
|
2304
|
+
descendants: false,
|
|
2305
|
+
isSignal: true
|
|
2306
|
+
}]
|
|
2307
|
+
}],
|
|
2308
|
+
emptyFilterMessageSourceTemplate: [{
|
|
2309
|
+
type: i0.ContentChild,
|
|
2310
|
+
args: ["emptyfiltermessagesource", {
|
|
2311
|
+
descendants: false,
|
|
2312
|
+
isSignal: true
|
|
2313
|
+
}]
|
|
2314
|
+
}],
|
|
2315
|
+
emptyMessageTargetTemplate: [{
|
|
2316
|
+
type: i0.ContentChild,
|
|
2317
|
+
args: ["emptymessagetarget", {
|
|
2318
|
+
descendants: false,
|
|
2319
|
+
isSignal: true
|
|
2320
|
+
}]
|
|
2321
|
+
}],
|
|
2322
|
+
emptyFilterMessageTargetTemplate: [{
|
|
2323
|
+
type: i0.ContentChild,
|
|
2324
|
+
args: ["emptyfiltermessagetarget", {
|
|
2325
|
+
descendants: false,
|
|
2326
|
+
isSignal: true
|
|
2327
|
+
}]
|
|
2328
|
+
}],
|
|
2329
|
+
moveUpIconTemplate: [{
|
|
2330
|
+
type: i0.ContentChild,
|
|
2331
|
+
args: ["moveupicon", {
|
|
2332
|
+
descendants: false,
|
|
2333
|
+
isSignal: true
|
|
2334
|
+
}]
|
|
2335
|
+
}],
|
|
2336
|
+
moveTopIconTemplate: [{
|
|
2337
|
+
type: i0.ContentChild,
|
|
2338
|
+
args: ["movetopicon", {
|
|
2339
|
+
descendants: false,
|
|
2340
|
+
isSignal: true
|
|
2341
|
+
}]
|
|
2342
|
+
}],
|
|
2343
|
+
moveDownIconTemplate: [{
|
|
2344
|
+
type: i0.ContentChild,
|
|
2345
|
+
args: ["movedownicon", {
|
|
2346
|
+
descendants: false,
|
|
2347
|
+
isSignal: true
|
|
2348
|
+
}]
|
|
2349
|
+
}],
|
|
2350
|
+
moveBottomIconTemplate: [{
|
|
2351
|
+
type: i0.ContentChild,
|
|
2352
|
+
args: ["movebottomicon", {
|
|
2353
|
+
descendants: false,
|
|
2354
|
+
isSignal: true
|
|
2355
|
+
}]
|
|
2356
|
+
}],
|
|
2357
|
+
moveToTargetIconTemplate: [{
|
|
2358
|
+
type: i0.ContentChild,
|
|
2359
|
+
args: ["movetotargeticon", {
|
|
2360
|
+
descendants: false,
|
|
2361
|
+
isSignal: true
|
|
2362
|
+
}]
|
|
2363
|
+
}],
|
|
2364
|
+
moveAllToTargetIconTemplate: [{
|
|
2365
|
+
type: i0.ContentChild,
|
|
2366
|
+
args: ["movealltotargeticon", {
|
|
2367
|
+
descendants: false,
|
|
2368
|
+
isSignal: true
|
|
2369
|
+
}]
|
|
2370
|
+
}],
|
|
2371
|
+
moveToSourceIconTemplate: [{
|
|
2372
|
+
type: i0.ContentChild,
|
|
2373
|
+
args: ["movetosourceicon", {
|
|
2374
|
+
descendants: false,
|
|
2375
|
+
isSignal: true
|
|
2376
|
+
}]
|
|
2377
|
+
}],
|
|
2378
|
+
moveAllToSourceIconTemplate: [{
|
|
2379
|
+
type: i0.ContentChild,
|
|
2380
|
+
args: ["movealltosourceicon", {
|
|
2381
|
+
descendants: false,
|
|
2382
|
+
isSignal: true
|
|
2383
|
+
}]
|
|
2384
|
+
}],
|
|
2385
|
+
targetFilterIconTemplate: [{
|
|
2386
|
+
type: i0.ContentChild,
|
|
2387
|
+
args: ["targetfiltericon", {
|
|
2388
|
+
descendants: false,
|
|
2389
|
+
isSignal: true
|
|
2390
|
+
}]
|
|
2391
|
+
}],
|
|
2392
|
+
sourceFilterIconTemplate: [{
|
|
2393
|
+
type: i0.ContentChild,
|
|
2394
|
+
args: ["sourcefiltericon", {
|
|
2395
|
+
descendants: false,
|
|
2396
|
+
isSignal: true
|
|
2397
|
+
}]
|
|
2398
|
+
}],
|
|
2399
|
+
templates: [{
|
|
2400
|
+
type: i0.ContentChildren,
|
|
2401
|
+
args: [i0.forwardRef(() => HelixTemplate), { isSignal: true }]
|
|
2402
|
+
}]
|
|
2403
|
+
}
|
|
2404
|
+
});
|
|
2405
|
+
var PickListModule = class PickListModule {
|
|
2406
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2407
|
+
minVersion: "12.0.0",
|
|
2408
|
+
version: "22.2.1",
|
|
2409
|
+
ngImport: i0,
|
|
2410
|
+
type: PickListModule,
|
|
2411
|
+
deps: [],
|
|
2412
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
2413
|
+
});
|
|
2414
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
2415
|
+
minVersion: "14.0.0",
|
|
2416
|
+
version: "22.2.1",
|
|
2417
|
+
ngImport: i0,
|
|
2418
|
+
type: PickListModule,
|
|
2419
|
+
imports: [PickList, SharedModule],
|
|
2420
|
+
exports: [PickList, SharedModule]
|
|
2421
|
+
});
|
|
2422
|
+
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
2423
|
+
minVersion: "12.0.0",
|
|
2424
|
+
version: "22.2.1",
|
|
2425
|
+
ngImport: i0,
|
|
2426
|
+
type: PickListModule,
|
|
2427
|
+
imports: [
|
|
2428
|
+
PickList,
|
|
2429
|
+
SharedModule,
|
|
2430
|
+
SharedModule
|
|
2431
|
+
]
|
|
2432
|
+
});
|
|
2433
|
+
};
|
|
2434
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
2435
|
+
minVersion: "12.0.0",
|
|
2436
|
+
version: "22.2.1",
|
|
2437
|
+
ngImport: i0,
|
|
2438
|
+
type: PickListModule,
|
|
2439
|
+
decorators: [{
|
|
2440
|
+
type: NgModule,
|
|
2441
|
+
args: [{
|
|
2442
|
+
imports: [PickList, SharedModule],
|
|
2443
|
+
exports: [PickList, SharedModule]
|
|
2444
|
+
}]
|
|
2445
|
+
}]
|
|
2446
|
+
});
|
|
1392
2447
|
export { PickList, PickListClasses, PickListModule, PickListStyle };
|
|
1393
|
-
|
|
2448
|
+
|
|
2449
|
+
//# sourceMappingURL=gravionlabs-helix-core-picklist.mjs.map
|