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