source: trip-planner-front/node_modules/primeng/esm2020/picklist/picklist.mjs@ 84d0fbb

Last change on this file since 84d0fbb was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 122.0 KB
Line 
1import { NgModule, Component, Input, Output, ContentChildren, EventEmitter, ViewChild, ChangeDetectionStrategy, ViewEncapsulation } from '@angular/core';
2import { CommonModule } from '@angular/common';
3import { ButtonModule } from 'primeng/button';
4import { SharedModule, PrimeTemplate } from 'primeng/api';
5import { DomHandler } from 'primeng/dom';
6import { RippleModule } from 'primeng/ripple';
7import { DragDropModule, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
8import { ObjectUtils, UniqueComponentId } from 'primeng/utils';
9import * as i0 from "@angular/core";
10import * as i1 from "primeng/api";
11import * as i2 from "@angular/cdk/drag-drop";
12import * as i3 from "@angular/common";
13import * as i4 from "primeng/button";
14import * as i5 from "primeng/ripple";
15export class PickList {
16 constructor(el, cd, filterService) {
17 this.el = el;
18 this.cd = cd;
19 this.filterService = filterService;
20 this.trackBy = (index, item) => item;
21 this.showSourceFilter = true;
22 this.showTargetFilter = true;
23 this.metaKeySelection = true;
24 this.dragdrop = false;
25 this.showSourceControls = true;
26 this.showTargetControls = true;
27 this.disabled = false;
28 this.filterMatchMode = "contains";
29 this.breakpoint = "960px";
30 this.onMoveToSource = new EventEmitter();
31 this.onMoveAllToSource = new EventEmitter();
32 this.onMoveAllToTarget = new EventEmitter();
33 this.onMoveToTarget = new EventEmitter();
34 this.onSourceReorder = new EventEmitter();
35 this.onTargetReorder = new EventEmitter();
36 this.onSourceSelect = new EventEmitter();
37 this.onTargetSelect = new EventEmitter();
38 this.onSourceFilter = new EventEmitter();
39 this.onTargetFilter = new EventEmitter();
40 this.selectedItemsSource = [];
41 this.selectedItemsTarget = [];
42 this.id = UniqueComponentId();
43 this.SOURCE_LIST = -1;
44 this.TARGET_LIST = 1;
45 }
46 ngOnInit() {
47 if (this.responsive) {
48 this.createStyle();
49 }
50 }
51 ngAfterContentInit() {
52 this.templates.forEach((item) => {
53 switch (item.getType()) {
54 case 'item':
55 this.itemTemplate = item.template;
56 break;
57 case 'sourceHeader':
58 this.sourceHeaderTemplate = item.template;
59 break;
60 case 'targetHeader':
61 this.targetHeaderTemplate = item.template;
62 break;
63 case 'emptymessagesource':
64 this.emptyMessageSourceTemplate = item.template;
65 break;
66 case 'emptyfiltermessagesource':
67 this.emptyFilterMessageSourceTemplate = item.template;
68 break;
69 case 'emptymessagetarget':
70 this.emptyMessageTargetTemplate = item.template;
71 break;
72 case 'emptyfiltermessagetarget':
73 this.emptyFilterMessageTargetTemplate = item.template;
74 break;
75 default:
76 this.itemTemplate = item.template;
77 break;
78 }
79 });
80 }
81 ngAfterViewChecked() {
82 if (this.movedUp || this.movedDown) {
83 let listItems = DomHandler.find(this.reorderedListElement, 'li.p-highlight');
84 let listItem;
85 if (this.movedUp)
86 listItem = listItems[0];
87 else
88 listItem = listItems[listItems.length - 1];
89 DomHandler.scrollInView(this.reorderedListElement, listItem);
90 this.movedUp = false;
91 this.movedDown = false;
92 this.reorderedListElement = null;
93 }
94 }
95 onItemClick(event, item, selectedItems, callback) {
96 if (this.disabled) {
97 return;
98 }
99 let index = this.findIndexInSelection(item, selectedItems);
100 let selected = (index != -1);
101 let metaSelection = this.itemTouched ? false : this.metaKeySelection;
102 if (metaSelection) {
103 let metaKey = (event.metaKey || event.ctrlKey || event.shiftKey);
104 if (selected && metaKey) {
105 selectedItems.splice(index, 1);
106 }
107 else {
108 if (!metaKey) {
109 selectedItems.length = 0;
110 }
111 selectedItems.push(item);
112 }
113 }
114 else {
115 if (selected)
116 selectedItems.splice(index, 1);
117 else
118 selectedItems.push(item);
119 }
120 callback.emit({ originalEvent: event, items: selectedItems });
121 this.itemTouched = false;
122 }
123 onSourceItemDblClick() {
124 if (this.disabled) {
125 return;
126 }
127 this.moveRight();
128 }
129 onTargetItemDblClick() {
130 if (this.disabled) {
131 return;
132 }
133 this.moveLeft();
134 }
135 onFilter(event, data, listType) {
136 let query = event.target.value.trim().toLocaleLowerCase(this.filterLocale);
137 if (listType === this.SOURCE_LIST)
138 this.filterValueSource = query;
139 else if (listType === this.TARGET_LIST)
140 this.filterValueTarget = query;
141 this.filter(data, listType);
142 }
143 filter(data, listType) {
144 let searchFields = this.filterBy.split(',');
145 if (listType === this.SOURCE_LIST) {
146 this.visibleOptionsSource = this.filterService.filter(data, searchFields, this.filterValueSource, this.filterMatchMode, this.filterLocale);
147 this.onSourceFilter.emit({ query: this.filterValueSource, value: this.visibleOptionsSource });
148 }
149 else if (listType === this.TARGET_LIST) {
150 this.visibleOptionsTarget = this.filterService.filter(data, searchFields, this.filterValueTarget, this.filterMatchMode, this.filterLocale);
151 this.onTargetFilter.emit({ query: this.filterValueTarget, value: this.visibleOptionsTarget });
152 }
153 }
154 isItemVisible(item, listType) {
155 if (listType == this.SOURCE_LIST)
156 return this.isVisibleInList(this.visibleOptionsSource, item, this.filterValueSource);
157 else
158 return this.isVisibleInList(this.visibleOptionsTarget, item, this.filterValueTarget);
159 }
160 isEmpty(listType) {
161 if (listType == this.SOURCE_LIST)
162 return this.filterValueSource ? (!this.visibleOptionsSource || this.visibleOptionsSource.length === 0) : (!this.source || this.source.length === 0);
163 else
164 return this.filterValueTarget ? (!this.visibleOptionsTarget || this.visibleOptionsTarget.length === 0) : (!this.target || this.target.length === 0);
165 }
166 isVisibleInList(data, item, filterValue) {
167 if (filterValue && filterValue.trim().length) {
168 for (let i = 0; i < data.length; i++) {
169 if (item == data[i]) {
170 return true;
171 }
172 }
173 }
174 else {
175 return true;
176 }
177 }
178 onItemTouchEnd() {
179 if (this.disabled) {
180 return;
181 }
182 this.itemTouched = true;
183 }
184 sortByIndexInList(items, list) {
185 return items.sort((item1, item2) => ObjectUtils.findIndexInList(item1, list) - ObjectUtils.findIndexInList(item2, list));
186 }
187 moveUp(listElement, list, selectedItems, callback, listType) {
188 if (selectedItems && selectedItems.length) {
189 selectedItems = this.sortByIndexInList(selectedItems, list);
190 for (let i = 0; i < selectedItems.length; i++) {
191 let selectedItem = selectedItems[i];
192 let selectedItemIndex = ObjectUtils.findIndexInList(selectedItem, list);
193 if (selectedItemIndex != 0) {
194 let movedItem = list[selectedItemIndex];
195 let temp = list[selectedItemIndex - 1];
196 list[selectedItemIndex - 1] = movedItem;
197 list[selectedItemIndex] = temp;
198 }
199 else {
200 break;
201 }
202 }
203 if (this.dragdrop && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
204 this.filter(list, listType);
205 this.movedUp = true;
206 this.reorderedListElement = listElement;
207 callback.emit({ items: selectedItems });
208 }
209 }
210 moveTop(listElement, list, selectedItems, callback, listType) {
211 if (selectedItems && selectedItems.length) {
212 selectedItems = this.sortByIndexInList(selectedItems, list);
213 for (let i = 0; i < selectedItems.length; i++) {
214 let selectedItem = selectedItems[i];
215 let selectedItemIndex = ObjectUtils.findIndexInList(selectedItem, list);
216 if (selectedItemIndex != 0) {
217 let movedItem = list.splice(selectedItemIndex, 1)[0];
218 list.unshift(movedItem);
219 }
220 else {
221 break;
222 }
223 }
224 if (this.dragdrop && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
225 this.filter(list, listType);
226 listElement.scrollTop = 0;
227 callback.emit({ items: selectedItems });
228 }
229 }
230 moveDown(listElement, list, selectedItems, callback, listType) {
231 if (selectedItems && selectedItems.length) {
232 selectedItems = this.sortByIndexInList(selectedItems, list);
233 for (let i = selectedItems.length - 1; i >= 0; i--) {
234 let selectedItem = selectedItems[i];
235 let selectedItemIndex = ObjectUtils.findIndexInList(selectedItem, list);
236 if (selectedItemIndex != (list.length - 1)) {
237 let movedItem = list[selectedItemIndex];
238 let temp = list[selectedItemIndex + 1];
239 list[selectedItemIndex + 1] = movedItem;
240 list[selectedItemIndex] = temp;
241 }
242 else {
243 break;
244 }
245 }
246 if (this.dragdrop && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
247 this.filter(list, listType);
248 this.movedDown = true;
249 this.reorderedListElement = listElement;
250 callback.emit({ items: selectedItems });
251 }
252 }
253 moveBottom(listElement, list, selectedItems, callback, listType) {
254 if (selectedItems && selectedItems.length) {
255 selectedItems = this.sortByIndexInList(selectedItems, list);
256 for (let i = selectedItems.length - 1; i >= 0; i--) {
257 let selectedItem = selectedItems[i];
258 let selectedItemIndex = ObjectUtils.findIndexInList(selectedItem, list);
259 if (selectedItemIndex != (list.length - 1)) {
260 let movedItem = list.splice(selectedItemIndex, 1)[0];
261 list.push(movedItem);
262 }
263 else {
264 break;
265 }
266 }
267 if (this.dragdrop && ((this.filterValueSource && listType === this.SOURCE_LIST) || (this.filterValueTarget && listType === this.TARGET_LIST)))
268 this.filter(list, listType);
269 listElement.scrollTop = listElement.scrollHeight;
270 callback.emit({ items: selectedItems });
271 }
272 }
273 moveRight() {
274 if (this.selectedItemsSource && this.selectedItemsSource.length) {
275 for (let i = 0; i < this.selectedItemsSource.length; i++) {
276 let selectedItem = this.selectedItemsSource[i];
277 if (ObjectUtils.findIndexInList(selectedItem, this.target) == -1) {
278 this.target.push(this.source.splice(ObjectUtils.findIndexInList(selectedItem, this.source), 1)[0]);
279 if (this.visibleOptionsSource)
280 this.visibleOptionsSource.splice(ObjectUtils.findIndexInList(selectedItem, this.visibleOptionsSource), 1);
281 }
282 }
283 this.onMoveToTarget.emit({
284 items: this.selectedItemsSource
285 });
286 this.selectedItemsSource = [];
287 if (this.filterValueTarget) {
288 this.filter(this.target, this.TARGET_LIST);
289 }
290 }
291 }
292 moveAllRight() {
293 if (this.source) {
294 let movedItems = [];
295 for (let i = 0; i < this.source.length; i++) {
296 if (this.isItemVisible(this.source[i], this.SOURCE_LIST)) {
297 let removedItem = this.source.splice(i, 1)[0];
298 this.target.push(removedItem);
299 movedItems.push(removedItem);
300 i--;
301 }
302 }
303 this.onMoveAllToTarget.emit({
304 items: movedItems
305 });
306 this.selectedItemsSource = [];
307 if (this.filterValueTarget) {
308 this.filter(this.target, this.TARGET_LIST);
309 }
310 this.visibleOptionsSource = [];
311 }
312 }
313 moveLeft() {
314 if (this.selectedItemsTarget && this.selectedItemsTarget.length) {
315 for (let i = 0; i < this.selectedItemsTarget.length; i++) {
316 let selectedItem = this.selectedItemsTarget[i];
317 if (ObjectUtils.findIndexInList(selectedItem, this.source) == -1) {
318 this.source.push(this.target.splice(ObjectUtils.findIndexInList(selectedItem, this.target), 1)[0]);
319 if (this.visibleOptionsTarget)
320 this.visibleOptionsTarget.splice(ObjectUtils.findIndexInList(selectedItem, this.visibleOptionsTarget), 1)[0];
321 }
322 }
323 this.onMoveToSource.emit({
324 items: this.selectedItemsTarget
325 });
326 this.selectedItemsTarget = [];
327 if (this.filterValueSource) {
328 this.filter(this.source, this.SOURCE_LIST);
329 }
330 }
331 }
332 moveAllLeft() {
333 if (this.target) {
334 let movedItems = [];
335 for (let i = 0; i < this.target.length; i++) {
336 if (this.isItemVisible(this.target[i], this.TARGET_LIST)) {
337 let removedItem = this.target.splice(i, 1)[0];
338 this.source.push(removedItem);
339 movedItems.push(removedItem);
340 i--;
341 }
342 }
343 this.onMoveAllToSource.emit({
344 items: movedItems
345 });
346 this.selectedItemsTarget = [];
347 if (this.filterValueSource) {
348 this.filter(this.source, this.SOURCE_LIST);
349 }
350 this.visibleOptionsTarget = [];
351 }
352 }
353 isSelected(item, selectedItems) {
354 return this.findIndexInSelection(item, selectedItems) != -1;
355 }
356 findIndexInSelection(item, selectedItems) {
357 return ObjectUtils.findIndexInList(item, selectedItems);
358 }
359 onDrop(event, listType) {
360 let isTransfer = event.previousContainer !== event.container;
361 let dropIndexes = this.getDropIndexes(event.previousIndex, event.currentIndex, listType, isTransfer, event.item.data);
362 if (listType === this.SOURCE_LIST) {
363 if (isTransfer) {
364 transferArrayItem(event.previousContainer.data, event.container.data, dropIndexes.previousIndex, dropIndexes.currentIndex);
365 if (this.visibleOptionsTarget)
366 this.visibleOptionsTarget.splice(event.previousIndex, 1);
367 this.onMoveToSource.emit({ items: [event.item.data] });
368 }
369 else {
370 moveItemInArray(event.container.data, dropIndexes.previousIndex, dropIndexes.currentIndex);
371 this.onSourceReorder.emit({ items: [event.item.data] });
372 }
373 if (this.filterValueSource) {
374 this.filter(this.source, this.SOURCE_LIST);
375 }
376 }
377 else {
378 if (isTransfer) {
379 transferArrayItem(event.previousContainer.data, event.container.data, dropIndexes.previousIndex, dropIndexes.currentIndex);
380 if (this.visibleOptionsSource)
381 this.visibleOptionsSource.splice(event.previousIndex, 1);
382 this.onMoveToTarget.emit({ items: [event.item.data] });
383 }
384 else {
385 moveItemInArray(event.container.data, dropIndexes.previousIndex, dropIndexes.currentIndex);
386 this.onTargetReorder.emit({ items: [event.item.data] });
387 }
388 if (this.filterValueTarget) {
389 this.filter(this.target, this.TARGET_LIST);
390 }
391 }
392 }
393 getDropIndexes(fromIndex, toIndex, droppedList, isTransfer, data) {
394 let previousIndex, currentIndex;
395 if (droppedList === this.SOURCE_LIST) {
396 previousIndex = isTransfer ? this.filterValueTarget ? ObjectUtils.findIndexInList(data, this.target) : fromIndex : this.filterValueSource ? ObjectUtils.findIndexInList(data, this.source) : fromIndex;
397 currentIndex = this.filterValueSource ? this.findFilteredCurrentIndex(this.visibleOptionsSource, toIndex, this.source) : toIndex;
398 }
399 else {
400 previousIndex = isTransfer ? this.filterValueSource ? ObjectUtils.findIndexInList(data, this.source) : fromIndex : this.filterValueTarget ? ObjectUtils.findIndexInList(data, this.target) : fromIndex;
401 currentIndex = this.filterValueTarget ? this.findFilteredCurrentIndex(this.visibleOptionsTarget, toIndex, this.target) : toIndex;
402 }
403 return { previousIndex, currentIndex };
404 }
405 findFilteredCurrentIndex(visibleOptions, index, options) {
406 if (visibleOptions.length === index) {
407 let toIndex = ObjectUtils.findIndexInList(visibleOptions[index - 1], options);
408 return toIndex + 1;
409 }
410 else {
411 return ObjectUtils.findIndexInList(visibleOptions[index], options);
412 }
413 }
414 resetFilter() {
415 this.visibleOptionsSource = null;
416 this.filterValueSource = null;
417 this.visibleOptionsTarget = null;
418 this.filterValueTarget = null;
419 this.sourceFilterViewChild.nativeElement.value = '';
420 this.targetFilterViewChild.nativeElement.value = '';
421 }
422 onItemKeydown(event, item, selectedItems, callback) {
423 let listItem = event.currentTarget;
424 switch (event.which) {
425 //down
426 case 40:
427 var nextItem = this.findNextItem(listItem);
428 if (nextItem) {
429 nextItem.focus();
430 }
431 event.preventDefault();
432 break;
433 //up
434 case 38:
435 var prevItem = this.findPrevItem(listItem);
436 if (prevItem) {
437 prevItem.focus();
438 }
439 event.preventDefault();
440 break;
441 //enter
442 case 13:
443 this.onItemClick(event, item, selectedItems, callback);
444 event.preventDefault();
445 break;
446 }
447 }
448 findNextItem(item) {
449 let nextItem = item.nextElementSibling;
450 if (nextItem)
451 return !DomHandler.hasClass(nextItem, 'p-picklist-item') || DomHandler.isHidden(nextItem) ? this.findNextItem(nextItem) : nextItem;
452 else
453 return null;
454 }
455 findPrevItem(item) {
456 let prevItem = item.previousElementSibling;
457 if (prevItem)
458 return !DomHandler.hasClass(prevItem, 'p-picklist-item') || DomHandler.isHidden(prevItem) ? this.findPrevItem(prevItem) : prevItem;
459 else
460 return null;
461 }
462 createStyle() {
463 if (!this.styleElement) {
464 this.el.nativeElement.children[0].setAttribute(this.id, '');
465 this.styleElement = document.createElement('style');
466 this.styleElement.type = 'text/css';
467 document.head.appendChild(this.styleElement);
468 let innerHTML = `
469 @media screen and (max-width: ${this.breakpoint}) {
470 .p-picklist[${this.id}] {
471 flex-direction: column;
472 }
473
474 .p-picklist[${this.id}] .p-picklist-buttons {
475 padding: var(--content-padding);
476 flex-direction: row;
477 }
478
479 .p-picklist[${this.id}] .p-picklist-buttons .p-button {
480 margin-right: var(--inline-spacing);
481 margin-bottom: 0;
482 }
483
484 .p-picklist[${this.id}] .p-picklist-buttons .p-button:last-child {
485 margin-right: 0;
486 }
487
488 .p-picklist[${this.id}] .pi-angle-right:before {
489 content: "\\e930"
490 }
491
492 .p-picklist[${this.id}] .pi-angle-double-right:before {
493 content: "\\e92c"
494 }
495
496 .p-picklist[${this.id}] .pi-angle-left:before {
497 content: "\\e933"
498 }
499
500 .p-picklist[${this.id}] .pi-angle-double-left:before {
501 content: "\\e92f"
502 }
503 }
504 `;
505 this.styleElement.innerHTML = innerHTML;
506 }
507 }
508 destroyStyle() {
509 if (this.styleElement) {
510 document.head.removeChild(this.styleElement);
511 this.styleElement = null;
512 ``;
513 }
514 }
515 ngOnDestroy() {
516 this.destroyStyle();
517 }
518}
519PickList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PickList, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FilterService }], target: i0.ɵɵFactoryTarget.Component });
520PickList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: PickList, selector: "p-pickList", inputs: { source: "source", target: "target", sourceHeader: "sourceHeader", rightButtonAriaLabel: "rightButtonAriaLabel", leftButtonAriaLabel: "leftButtonAriaLabel", allRightButtonAriaLabel: "allRightButtonAriaLabel", allLeftButtonAriaLabel: "allLeftButtonAriaLabel", upButtonAriaLabel: "upButtonAriaLabel", downButtonAriaLabel: "downButtonAriaLabel", topButtonAriaLabel: "topButtonAriaLabel", bottomButtonAriaLabel: "bottomButtonAriaLabel", targetHeader: "targetHeader", responsive: "responsive", filterBy: "filterBy", filterLocale: "filterLocale", trackBy: "trackBy", sourceTrackBy: "sourceTrackBy", targetTrackBy: "targetTrackBy", showSourceFilter: "showSourceFilter", showTargetFilter: "showTargetFilter", metaKeySelection: "metaKeySelection", dragdrop: "dragdrop", style: "style", styleClass: "styleClass", sourceStyle: "sourceStyle", targetStyle: "targetStyle", showSourceControls: "showSourceControls", showTargetControls: "showTargetControls", sourceFilterPlaceholder: "sourceFilterPlaceholder", targetFilterPlaceholder: "targetFilterPlaceholder", disabled: "disabled", ariaSourceFilterLabel: "ariaSourceFilterLabel", ariaTargetFilterLabel: "ariaTargetFilterLabel", filterMatchMode: "filterMatchMode", breakpoint: "breakpoint" }, outputs: { onMoveToSource: "onMoveToSource", onMoveAllToSource: "onMoveAllToSource", onMoveAllToTarget: "onMoveAllToTarget", onMoveToTarget: "onMoveToTarget", onSourceReorder: "onSourceReorder", onTargetReorder: "onTargetReorder", onSourceSelect: "onSourceSelect", onTargetSelect: "onTargetSelect", onSourceFilter: "onSourceFilter", onTargetFilter: "onTargetFilter" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "listViewSourceChild", first: true, predicate: ["sourcelist"], descendants: true }, { propertyName: "listViewTargetChild", first: true, predicate: ["targetlist"], descendants: true }, { propertyName: "sourceFilterViewChild", first: true, predicate: ["sourceFilter"], descendants: true }, { propertyName: "targetFilterViewChild", first: true, predicate: ["targetFilter"], descendants: true }], ngImport: i0, template: `
521 <div [class]="styleClass" [ngStyle]="style" [ngClass]="'p-picklist p-component'" cdkDropListGroup>
522 <div class="p-picklist-buttons p-picklist-source-controls" *ngIf="showSourceControls">
523 <button type="button" [attr.aria-label]="upButtonAriaLabel" pButton pRipple icon="pi pi-angle-up" [disabled]="disabled" (click)="moveUp(sourcelist,source,selectedItemsSource,onSourceReorder,SOURCE_LIST)"></button>
524 <button type="button" [attr.aria-label]="topButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-up" [disabled]="disabled" (click)="moveTop(sourcelist,source,selectedItemsSource,onSourceReorder,SOURCE_LIST)"></button>
525 <button type="button" [attr.aria-label]="downButtonAriaLabel" pButton pRipple icon="pi pi-angle-down" [disabled]="disabled" (click)="moveDown(sourcelist,source,selectedItemsSource,onSourceReorder,SOURCE_LIST)"></button>
526 <button type="button" [attr.aria-label]="bottomButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-down" [disabled]="disabled" (click)="moveBottom(sourcelist,source,selectedItemsSource,onSourceReorder,SOURCE_LIST)"></button>
527 </div>
528 <div class="p-picklist-list-wrapper p-picklist-source-wrapper">
529 <div class="p-picklist-header" *ngIf="sourceHeader || sourceHeaderTemplate">
530 <div class="p-picklist-title" *ngIf="!sourceHeaderTemplate">{{sourceHeader}}</div>
531 <ng-container *ngTemplateOutlet="sourceHeaderTemplate"></ng-container>
532 </div>
533 <div class="p-picklist-filter-container" *ngIf="filterBy && showSourceFilter !== false">
534 <div class="p-picklist-filter">
535 <input #sourceFilter type="text" role="textbox" (keyup)="onFilter($event,source,SOURCE_LIST)" class="p-picklist-filter-input p-inputtext p-component" [disabled]="disabled" [attr.placeholder]="sourceFilterPlaceholder" [attr.aria-label]="ariaSourceFilterLabel">
536 <span class="p-picklist-filter-icon pi pi-search"></span>
537 </div>
538 </div>
539
540 <ul #sourcelist class="p-picklist-list p-picklist-source" cdkDropList [cdkDropListData]="source" (cdkDropListDropped)="onDrop($event, SOURCE_LIST)"
541 [ngStyle]="sourceStyle" role="listbox" aria-multiselectable="multiple">
542 <ng-template ngFor let-item [ngForOf]="source" [ngForTrackBy]="sourceTrackBy || trackBy" let-i="index" let-l="last">
543 <li [ngClass]="{'p-picklist-item':true,'p-highlight':isSelected(item,selectedItemsSource),'p-disabled': disabled}" pRipple cdkDrag [cdkDragData]="item" [cdkDragDisabled]="!dragdrop"
544 (click)="onItemClick($event,item,selectedItemsSource,onSourceSelect)" (dblclick)="onSourceItemDblClick()" (touchend)="onItemTouchEnd()" (keydown)="onItemKeydown($event,item,selectedItemsSource,onSourceSelect)"
545 *ngIf="isItemVisible(item, SOURCE_LIST)" tabindex="0" role="option" [attr.aria-selected]="isSelected(item, selectedItemsSource)">
546 <ng-container *ngTemplateOutlet="itemTemplate; context: {$implicit: item, index: i}"></ng-container>
547 </li>
548 </ng-template>
549 <ng-container *ngIf="isEmpty(SOURCE_LIST) && (emptyMessageSourceTemplate || emptyFilterMessageSourceTemplate)">
550 <li class="p-picklist-empty-message" *ngIf="!filterValueSource || !emptyFilterMessageSourceTemplate">
551 <ng-container *ngTemplateOutlet="emptyMessageSourceTemplate"></ng-container>
552 </li>
553 <li class="p-picklist-empty-message" *ngIf="filterValueSource">
554 <ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate"></ng-container>
555 </li>
556 </ng-container>
557 </ul>
558 </div>
559 <div class="p-picklist-buttons p-picklist-transfer-buttons">
560 <button type="button" [attr.aria-label]="rightButtonAriaLabel" pButton pRipple icon="pi pi-angle-right" [disabled]="disabled" (click)="moveRight()"></button>
561 <button type="button" [attr.aria-label]="allRightButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-right" [disabled]="disabled" (click)="moveAllRight()"></button>
562 <button type="button" [attr.aria-label]="leftButtonAriaLabel" pButton pRipple icon="pi pi-angle-left" [disabled]="disabled" (click)="moveLeft()"></button>
563 <button type="button" [attr.aria-label]="allLeftButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-left" [disabled]="disabled" (click)="moveAllLeft()"></button>
564 </div>
565 <div class="p-picklist-list-wrapper p-picklist-target-wrapper">
566 <div class="p-picklist-header" *ngIf="targetHeader || targetHeaderTemplate">
567 <div class="p-picklist-title" *ngIf="!targetHeaderTemplate">{{targetHeader}}</div>
568 <ng-container *ngTemplateOutlet="targetHeaderTemplate"></ng-container>
569 </div>
570 <div class="p-picklist-filter-container" *ngIf="filterBy && showTargetFilter !== false">
571 <div class="p-picklist-filter">
572 <input #targetFilter type="text" role="textbox" (keyup)="onFilter($event,target,TARGET_LIST)" class="p-picklist-filter-input p-inputtext p-component" [disabled]="disabled" [attr.placeholder]="targetFilterPlaceholder" [attr.aria-label]="ariaTargetFilterLabel">
573 <span class="p-picklist-filter-icon pi pi-search"></span>
574 </div>
575 </div>
576 <ul #targetlist class="p-picklist-list p-picklist-target" cdkDropList [cdkDropListData]="target" (cdkDropListDropped)="onDrop($event, TARGET_LIST)"
577 [ngStyle]="targetStyle" role="listbox" aria-multiselectable="multiple">
578 <ng-template ngFor let-item [ngForOf]="target" [ngForTrackBy]="targetTrackBy || trackBy" let-i="index" let-l="last">
579 <li [ngClass]="{'p-picklist-item':true,'p-highlight':isSelected(item,selectedItemsTarget), 'p-disabled': disabled}" pRipple cdkDrag [cdkDragData]="item" [cdkDragDisabled]="!dragdrop"
580 (click)="onItemClick($event,item,selectedItemsTarget,onTargetSelect)" (dblclick)="onTargetItemDblClick()" (touchend)="onItemTouchEnd()" (keydown)="onItemKeydown($event,item,selectedItemsTarget,onTargetSelect)"
581 *ngIf="isItemVisible(item, TARGET_LIST)" tabindex="0" role="option" [attr.aria-selected]="isSelected(item, selectedItemsTarget)">
582 <ng-container *ngTemplateOutlet="itemTemplate; context: {$implicit: item, index: i}"></ng-container>
583 </li>
584 </ng-template>
585 <ng-container *ngIf="isEmpty(TARGET_LIST) && (emptyMessageTargetTemplate || emptyFilterMessageTargetTemplate)">
586 <li class="p-picklist-empty-message" *ngIf="!filterValueTarget || !emptyFilterMessageTargetTemplate">
587 <ng-container *ngTemplateOutlet="emptyMessageTargetTemplate"></ng-container>
588 </li>
589 <li class="p-picklist-empty-message" *ngIf="filterValueTarget">
590 <ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate"></ng-container>
591 </li>
592 </ng-container>
593 </ul>
594 </div>
595 <div class="p-picklist-buttons p-picklist-target-controls" *ngIf="showTargetControls">
596 <button type="button" [attr.aria-label]="upButtonAriaLabel" pButton pRipple icon="pi pi-angle-up" [disabled]="disabled" (click)="moveUp(targetlist,target,selectedItemsTarget,onTargetReorder,TARGET_LIST)"></button>
597 <button type="button" [attr.aria-label]="topButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-up" [disabled]="disabled" (click)="moveTop(targetlist,target,selectedItemsTarget,onTargetReorder,TARGET_LIST)"></button>
598 <button type="button" [attr.aria-label]="downButtonAriaLabel" pButton pRipple icon="pi pi-angle-down" [disabled]="disabled" (click)="moveDown(targetlist,target,selectedItemsTarget,onTargetReorder,TARGET_LIST)"></button>
599 <button type="button" [attr.aria-label]="bottomButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-down" [disabled]="disabled" (click)="moveBottom(targetlist,target,selectedItemsTarget,onTargetReorder,TARGET_LIST)"></button>
600 </div>
601 </div>
602 `, isInline: true, styles: [".p-picklist{display:flex}.p-picklist-buttons{display:flex;flex-direction:column;justify-content:center}.p-picklist-list-wrapper{flex:1 1 50%}.p-picklist-list{list-style-type:none;margin:0;padding:0;overflow:auto;min-height:12rem}.p-picklist-item{display:block;cursor:pointer;overflow:hidden;position:relative}.p-picklist-item:not(.cdk-drag-disabled){cursor:move}.p-picklist-item.cdk-drag-placeholder{opacity:0}.p-picklist-item.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.p-picklist-filter{position:relative}.p-picklist-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-picklist-filter-input{width:100%}.p-picklist-list.cdk-drop-list-dragging .p-picklist-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], directives: [{ type: i2.CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: ["cdkDropListGroupDisabled"], exportAs: ["cdkDropListGroup"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { type: i5.Ripple, selector: "[pRipple]" }, { type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
603i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PickList, decorators: [{
604 type: Component,
605 args: [{ selector: 'p-pickList', template: `
606 <div [class]="styleClass" [ngStyle]="style" [ngClass]="'p-picklist p-component'" cdkDropListGroup>
607 <div class="p-picklist-buttons p-picklist-source-controls" *ngIf="showSourceControls">
608 <button type="button" [attr.aria-label]="upButtonAriaLabel" pButton pRipple icon="pi pi-angle-up" [disabled]="disabled" (click)="moveUp(sourcelist,source,selectedItemsSource,onSourceReorder,SOURCE_LIST)"></button>
609 <button type="button" [attr.aria-label]="topButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-up" [disabled]="disabled" (click)="moveTop(sourcelist,source,selectedItemsSource,onSourceReorder,SOURCE_LIST)"></button>
610 <button type="button" [attr.aria-label]="downButtonAriaLabel" pButton pRipple icon="pi pi-angle-down" [disabled]="disabled" (click)="moveDown(sourcelist,source,selectedItemsSource,onSourceReorder,SOURCE_LIST)"></button>
611 <button type="button" [attr.aria-label]="bottomButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-down" [disabled]="disabled" (click)="moveBottom(sourcelist,source,selectedItemsSource,onSourceReorder,SOURCE_LIST)"></button>
612 </div>
613 <div class="p-picklist-list-wrapper p-picklist-source-wrapper">
614 <div class="p-picklist-header" *ngIf="sourceHeader || sourceHeaderTemplate">
615 <div class="p-picklist-title" *ngIf="!sourceHeaderTemplate">{{sourceHeader}}</div>
616 <ng-container *ngTemplateOutlet="sourceHeaderTemplate"></ng-container>
617 </div>
618 <div class="p-picklist-filter-container" *ngIf="filterBy && showSourceFilter !== false">
619 <div class="p-picklist-filter">
620 <input #sourceFilter type="text" role="textbox" (keyup)="onFilter($event,source,SOURCE_LIST)" class="p-picklist-filter-input p-inputtext p-component" [disabled]="disabled" [attr.placeholder]="sourceFilterPlaceholder" [attr.aria-label]="ariaSourceFilterLabel">
621 <span class="p-picklist-filter-icon pi pi-search"></span>
622 </div>
623 </div>
624
625 <ul #sourcelist class="p-picklist-list p-picklist-source" cdkDropList [cdkDropListData]="source" (cdkDropListDropped)="onDrop($event, SOURCE_LIST)"
626 [ngStyle]="sourceStyle" role="listbox" aria-multiselectable="multiple">
627 <ng-template ngFor let-item [ngForOf]="source" [ngForTrackBy]="sourceTrackBy || trackBy" let-i="index" let-l="last">
628 <li [ngClass]="{'p-picklist-item':true,'p-highlight':isSelected(item,selectedItemsSource),'p-disabled': disabled}" pRipple cdkDrag [cdkDragData]="item" [cdkDragDisabled]="!dragdrop"
629 (click)="onItemClick($event,item,selectedItemsSource,onSourceSelect)" (dblclick)="onSourceItemDblClick()" (touchend)="onItemTouchEnd()" (keydown)="onItemKeydown($event,item,selectedItemsSource,onSourceSelect)"
630 *ngIf="isItemVisible(item, SOURCE_LIST)" tabindex="0" role="option" [attr.aria-selected]="isSelected(item, selectedItemsSource)">
631 <ng-container *ngTemplateOutlet="itemTemplate; context: {$implicit: item, index: i}"></ng-container>
632 </li>
633 </ng-template>
634 <ng-container *ngIf="isEmpty(SOURCE_LIST) && (emptyMessageSourceTemplate || emptyFilterMessageSourceTemplate)">
635 <li class="p-picklist-empty-message" *ngIf="!filterValueSource || !emptyFilterMessageSourceTemplate">
636 <ng-container *ngTemplateOutlet="emptyMessageSourceTemplate"></ng-container>
637 </li>
638 <li class="p-picklist-empty-message" *ngIf="filterValueSource">
639 <ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate"></ng-container>
640 </li>
641 </ng-container>
642 </ul>
643 </div>
644 <div class="p-picklist-buttons p-picklist-transfer-buttons">
645 <button type="button" [attr.aria-label]="rightButtonAriaLabel" pButton pRipple icon="pi pi-angle-right" [disabled]="disabled" (click)="moveRight()"></button>
646 <button type="button" [attr.aria-label]="allRightButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-right" [disabled]="disabled" (click)="moveAllRight()"></button>
647 <button type="button" [attr.aria-label]="leftButtonAriaLabel" pButton pRipple icon="pi pi-angle-left" [disabled]="disabled" (click)="moveLeft()"></button>
648 <button type="button" [attr.aria-label]="allLeftButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-left" [disabled]="disabled" (click)="moveAllLeft()"></button>
649 </div>
650 <div class="p-picklist-list-wrapper p-picklist-target-wrapper">
651 <div class="p-picklist-header" *ngIf="targetHeader || targetHeaderTemplate">
652 <div class="p-picklist-title" *ngIf="!targetHeaderTemplate">{{targetHeader}}</div>
653 <ng-container *ngTemplateOutlet="targetHeaderTemplate"></ng-container>
654 </div>
655 <div class="p-picklist-filter-container" *ngIf="filterBy && showTargetFilter !== false">
656 <div class="p-picklist-filter">
657 <input #targetFilter type="text" role="textbox" (keyup)="onFilter($event,target,TARGET_LIST)" class="p-picklist-filter-input p-inputtext p-component" [disabled]="disabled" [attr.placeholder]="targetFilterPlaceholder" [attr.aria-label]="ariaTargetFilterLabel">
658 <span class="p-picklist-filter-icon pi pi-search"></span>
659 </div>
660 </div>
661 <ul #targetlist class="p-picklist-list p-picklist-target" cdkDropList [cdkDropListData]="target" (cdkDropListDropped)="onDrop($event, TARGET_LIST)"
662 [ngStyle]="targetStyle" role="listbox" aria-multiselectable="multiple">
663 <ng-template ngFor let-item [ngForOf]="target" [ngForTrackBy]="targetTrackBy || trackBy" let-i="index" let-l="last">
664 <li [ngClass]="{'p-picklist-item':true,'p-highlight':isSelected(item,selectedItemsTarget), 'p-disabled': disabled}" pRipple cdkDrag [cdkDragData]="item" [cdkDragDisabled]="!dragdrop"
665 (click)="onItemClick($event,item,selectedItemsTarget,onTargetSelect)" (dblclick)="onTargetItemDblClick()" (touchend)="onItemTouchEnd()" (keydown)="onItemKeydown($event,item,selectedItemsTarget,onTargetSelect)"
666 *ngIf="isItemVisible(item, TARGET_LIST)" tabindex="0" role="option" [attr.aria-selected]="isSelected(item, selectedItemsTarget)">
667 <ng-container *ngTemplateOutlet="itemTemplate; context: {$implicit: item, index: i}"></ng-container>
668 </li>
669 </ng-template>
670 <ng-container *ngIf="isEmpty(TARGET_LIST) && (emptyMessageTargetTemplate || emptyFilterMessageTargetTemplate)">
671 <li class="p-picklist-empty-message" *ngIf="!filterValueTarget || !emptyFilterMessageTargetTemplate">
672 <ng-container *ngTemplateOutlet="emptyMessageTargetTemplate"></ng-container>
673 </li>
674 <li class="p-picklist-empty-message" *ngIf="filterValueTarget">
675 <ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate"></ng-container>
676 </li>
677 </ng-container>
678 </ul>
679 </div>
680 <div class="p-picklist-buttons p-picklist-target-controls" *ngIf="showTargetControls">
681 <button type="button" [attr.aria-label]="upButtonAriaLabel" pButton pRipple icon="pi pi-angle-up" [disabled]="disabled" (click)="moveUp(targetlist,target,selectedItemsTarget,onTargetReorder,TARGET_LIST)"></button>
682 <button type="button" [attr.aria-label]="topButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-up" [disabled]="disabled" (click)="moveTop(targetlist,target,selectedItemsTarget,onTargetReorder,TARGET_LIST)"></button>
683 <button type="button" [attr.aria-label]="downButtonAriaLabel" pButton pRipple icon="pi pi-angle-down" [disabled]="disabled" (click)="moveDown(targetlist,target,selectedItemsTarget,onTargetReorder,TARGET_LIST)"></button>
684 <button type="button" [attr.aria-label]="bottomButtonAriaLabel" pButton pRipple icon="pi pi-angle-double-down" [disabled]="disabled" (click)="moveBottom(targetlist,target,selectedItemsTarget,onTargetReorder,TARGET_LIST)"></button>
685 </div>
686 </div>
687 `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
688 'class': 'p-element'
689 }, styles: [".p-picklist{display:flex}.p-picklist-buttons{display:flex;flex-direction:column;justify-content:center}.p-picklist-list-wrapper{flex:1 1 50%}.p-picklist-list{list-style-type:none;margin:0;padding:0;overflow:auto;min-height:12rem}.p-picklist-item{display:block;cursor:pointer;overflow:hidden;position:relative}.p-picklist-item:not(.cdk-drag-disabled){cursor:move}.p-picklist-item.cdk-drag-placeholder{opacity:0}.p-picklist-item.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.p-picklist-filter{position:relative}.p-picklist-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-picklist-filter-input{width:100%}.p-picklist-list.cdk-drop-list-dragging .p-picklist-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
690 }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.FilterService }]; }, propDecorators: { source: [{
691 type: Input
692 }], target: [{
693 type: Input
694 }], sourceHeader: [{
695 type: Input
696 }], rightButtonAriaLabel: [{
697 type: Input
698 }], leftButtonAriaLabel: [{
699 type: Input
700 }], allRightButtonAriaLabel: [{
701 type: Input
702 }], allLeftButtonAriaLabel: [{
703 type: Input
704 }], upButtonAriaLabel: [{
705 type: Input
706 }], downButtonAriaLabel: [{
707 type: Input
708 }], topButtonAriaLabel: [{
709 type: Input
710 }], bottomButtonAriaLabel: [{
711 type: Input
712 }], targetHeader: [{
713 type: Input
714 }], responsive: [{
715 type: Input
716 }], filterBy: [{
717 type: Input
718 }], filterLocale: [{
719 type: Input
720 }], trackBy: [{
721 type: Input
722 }], sourceTrackBy: [{
723 type: Input
724 }], targetTrackBy: [{
725 type: Input
726 }], showSourceFilter: [{
727 type: Input
728 }], showTargetFilter: [{
729 type: Input
730 }], metaKeySelection: [{
731 type: Input
732 }], dragdrop: [{
733 type: Input
734 }], style: [{
735 type: Input
736 }], styleClass: [{
737 type: Input
738 }], sourceStyle: [{
739 type: Input
740 }], targetStyle: [{
741 type: Input
742 }], showSourceControls: [{
743 type: Input
744 }], showTargetControls: [{
745 type: Input
746 }], sourceFilterPlaceholder: [{
747 type: Input
748 }], targetFilterPlaceholder: [{
749 type: Input
750 }], disabled: [{
751 type: Input
752 }], ariaSourceFilterLabel: [{
753 type: Input
754 }], ariaTargetFilterLabel: [{
755 type: Input
756 }], filterMatchMode: [{
757 type: Input
758 }], breakpoint: [{
759 type: Input
760 }], onMoveToSource: [{
761 type: Output
762 }], onMoveAllToSource: [{
763 type: Output
764 }], onMoveAllToTarget: [{
765 type: Output
766 }], onMoveToTarget: [{
767 type: Output
768 }], onSourceReorder: [{
769 type: Output
770 }], onTargetReorder: [{
771 type: Output
772 }], onSourceSelect: [{
773 type: Output
774 }], onTargetSelect: [{
775 type: Output
776 }], onSourceFilter: [{
777 type: Output
778 }], onTargetFilter: [{
779 type: Output
780 }], listViewSourceChild: [{
781 type: ViewChild,
782 args: ['sourcelist']
783 }], listViewTargetChild: [{
784 type: ViewChild,
785 args: ['targetlist']
786 }], sourceFilterViewChild: [{
787 type: ViewChild,
788 args: ['sourceFilter']
789 }], targetFilterViewChild: [{
790 type: ViewChild,
791 args: ['targetFilter']
792 }], templates: [{
793 type: ContentChildren,
794 args: [PrimeTemplate]
795 }] } });
796export class PickListModule {
797}
798PickListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PickListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
799PickListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PickListModule, declarations: [PickList], imports: [CommonModule, ButtonModule, SharedModule, RippleModule, DragDropModule], exports: [PickList, SharedModule, DragDropModule] });
800PickListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PickListModule, imports: [[CommonModule, ButtonModule, SharedModule, RippleModule, DragDropModule], SharedModule, DragDropModule] });
801i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PickListModule, decorators: [{
802 type: NgModule,
803 args: [{
804 imports: [CommonModule, ButtonModule, SharedModule, RippleModule, DragDropModule],
805 exports: [PickList, SharedModule, DragDropModule],
806 declarations: [PickList]
807 }]
808 }] });
809//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlja2xpc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvcGlja2xpc3QvcGlja2xpc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxTQUFTLEVBQWtELEtBQUssRUFBRSxNQUFNLEVBQUUsZUFBZSxFQUEwQixZQUFZLEVBQUUsU0FBUyxFQUFFLHVCQUF1QixFQUFFLGlCQUFpQixFQUFvQixNQUFNLGVBQWUsQ0FBQztBQUNuUCxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzVDLE9BQU8sRUFBQyxZQUFZLEVBQUMsYUFBYSxFQUFlLE1BQU0sYUFBYSxDQUFDO0FBQ3JFLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxhQUFhLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzVDLE9BQU8sRUFBYyxjQUFjLEVBQUUsZUFBZSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sd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ICAgICAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgY2FzZSAnZW1wdHltZXNzYWdldGFyZ2V0JzpcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5lbXB0eU1lc3NhZ2VUYXJnZXRUZW1wbGF0ZSA9IGl0ZW0udGVtcGxhdGU7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgICAgICAgICBjYXNlICdlbXB0eWZpbHRlcm1lc3NhZ2V0YXJnZXQnOlxuICAgICAgICAgICAgICAgICAgICB0aGlzLmVtcHR5RmlsdGVyTWVzc2FnZVRhcmdldFRlbXBsYXRlID0gaXRlbS50ZW1wbGF0ZTtcbiAgICAgICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaXRlbVRlbXBsYXRlID0gaXRlbS50ZW1wbGF0ZTtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgbmdBZnRlclZpZXdDaGVja2VkKCkge1xuICAgICAgICBpZiAodGhpcy5tb3ZlZFVwfHx0aGlzLm1vdmVkRG93bikge1xuICAgICAgICAgICAgbGV0IGxpc3RJdGVtcyA9IERvbUhhbmRsZXIuZmluZCh0aGlzLnJlb3JkZXJlZExpc3RFbGVtZW50LCAnbGkucC1oaWdobGlnaHQnKTtcbiAgICAgICAgICAgIGxldCBsaXN0SXRlbTtcblxuICAgICAgICAgICAgaWYgKHRoaXMubW92ZWRVcClcbiAgICAgICAgICAgICAgICBsaXN0SXRlbSA9IGxpc3RJdGVtc1swXTtcbiAgICAgICAgICAgIGVsc2VcbiAgICAgICAgICAgICAgICBsaXN0SXRlbSA9IGxpc3RJdGVtc1tsaXN0SXRlbXMubGVuZ3RoIC0gMV07XG5cbiAgICAgICAgICAgIERvbUhhbmRsZXIuc2Nyb2xsSW5WaWV3KHRoaXMucmVvcmRlcmVkTGlzdEVsZW1lbnQsIGxpc3RJdGVtKTtcbiAgICAgICAgICAgIHRoaXMubW92ZWRVcCA9IGZhbHNlO1xuICAgICAgICAgICAgdGhpcy5tb3ZlZERvd24gPSBmYWxzZTtcbiAgICAgICAgICAgIHRoaXMucmVvcmRlcmVkTGlzdEVsZW1lbnQgPSBudWxsO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgb25JdGVtQ2xpY2soZXZlbnQsIGl0ZW06IGFueSwgc2VsZWN0ZWRJdGVtczogYW55W10sIGNhbGxiYWNrOiBFdmVudEVtaXR0ZXI8YW55Pikge1xuICAgICAgICBpZiAodGhpcy5kaXNhYmxlZCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgbGV0IGluZGV4ID0gdGhpcy5maW5kSW5kZXhJblNlbGVjdGlvbihpdGVtLHNlbGVjdGVkSXRlbXMpO1xuICAgICAgICBsZXQgc2VsZWN0ZWQgPSAoaW5kZXggIT0gLTEpO1xuICAgICAgICBsZXQgbWV0YVNlbGVjdGlvbiA9IHRoaXMuaXRlbVRvdWNoZWQgPyBmYWxzZSA6IHRoaXMubWV0YUtleVNlbGVjdGlvbjtcblxuICAgICAgICBpZiAobWV0YVNlbGVjdGlvbikge1xuICAgICAgICAgICAgbGV0IG1ldGFLZXkgPSAoZXZlbnQubWV0YUtleXx8ZXZlbnQuY3RybEtleXx8ZXZlbnQuc2hpZnRLZXkpO1xuXG4gICAgICAgICAgICBpZiAoc2VsZWN0ZWQgJiYgbWV0YUtleSkge1xuICAgICAgICAgICAgICAgIHNlbGVjdGVkSXRlbXMuc3BsaWNlKGluZGV4LCAxKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGVsc2Uge1xuICAgICAgICAgICAgICAgIGlmICghbWV0YUtleSkge1xuICAgICAgICAgICAgICAgICAgICBzZWxlY3RlZEl0ZW1zLmxlbmd0aCA9IDA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICA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RvVGFyZ2V0LmVtaXQoe1xuICAgICAgICAgICAgICAgIGl0ZW1zOiB0aGlzLnNlbGVjdGVkSXRlbXNTb3VyY2VcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgdGhpcy5zZWxlY3RlZEl0ZW1zU291cmNlID0gW107XG5cbiAgICAgICAgICAgIGlmICh0aGlzLmZpbHRlclZhbHVlVGFyZ2V0KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5maWx0ZXIodGhpcy50YXJnZXQsIHRoaXMuVEFSR0VUX0xJU1QpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgbW92ZUFsbFJpZ2h0KCkge1xuICAgICAgICBpZiAodGhpcy5zb3VyY2UpIHtcbiAgICAgICAgICAgIGxldCBtb3ZlZEl0ZW1zID0gW107XG5cbiAgICAgICAgICAgIGZvcihsZXQgaSA9IDA7IGkgPCB0aGlzLnNvdXJjZS5sZW5ndGg7IGkrKykge1xuICAgICAgICAgICAgICAgIGlmICh0aGlzLmlzSXRlbVZpc2libGUodGhpcy5zb3VyY2VbaV0sIHRoaXMuU09VUkNFX0xJU1QpKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCByZW1vdmVkSXRlbSA9IHRoaXMuc291cmNlLnNwbGljZShpLCAxKVswXTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy50YXJnZXQucHVzaChyZW1vdmVkSXRlbSk7XG4gICAgICAgICAgICAgICAgICAgIG1vdmVkSXRlbXMucHVzaChyZW1vdmVkSXRlbSk7XG4gICAgICAgICAgICAgICAgICAgIGktLTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHRoaXMub25Nb3ZlQWxsVG9UYXJnZXQuZW1pdCh7XG4gICAgICAgICAgICAgICAgaXRlbXM6IG1vdmVkSXRlbXNcbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICB0aGlzLnNlbGVjdGVkSXRlbXNTb3VyY2UgPS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ICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5vbk1vdmVUb1NvdXJjZS5lbWl0KHtcbiAgICAgICAgICAgICAgICBpdGVtczogdGhpcy5zZWxlY3RlZEl0ZW1zVGFyZ2V0XG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgdGhpcy5zZWxlY3RlZEl0ZW1zVGFyZ2V0ID0gW107XG5cbiAgICAgICAgICAgIGlmICh0aGlzLmZpbHRlclZhbHVlU291cmNlKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5maWx0ZXIodGhpcy5zb3VyY2UsIHRoaXMuU09VUkNFX0xJU1QpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgbW92ZUFsbExlZnQoKSB7XG4gICAgICAgIGlmICh0aGlzLnRhcmdldCkge1xuICAgICAgICAgICAgbGV0IG1vdmVkSXRlbXMgPSBbXTtcblxuICAgICAgICAgICAgZm9yKGxldCBpID0gMDsgaSA8IHRoaXMudGFyZ2V0Lmxlbmd0aDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuaXNJdGVtVmlzaWJsZSh0aGlzLnRhcmdldFtpXSwgdGhpcy5UQVJHRVRfTElTVCkpIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHJlbW92ZWRJdGVtID0gdGhpcy50YXJnZXQuc3BsaWNlKGksIDEpWzBdO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnNvdXJjZS5wdXNoKHJlbW92ZWRJdGVtKTtcbiAgICAgICAgICAgICAgICAgICAgbW92ZWRJdGVtcy5wdXNoKHJlbW92ZWRJdGVtKTtcbiAgICAgICAgICAgICAgICAgICAgaS0tO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdGhpcy5vbk1vdmVBbGxUb1NvdXJjZS5lbWl0KHtcbiAgICAgICAgICAgICAgICBpdGVtczogbW92ZWRJdGVtc1xuICAgICAgICAgICAgf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lzVHJhbnNmZXIpIHtcbiAgICAgICAgICAgICAgICB0cmFuc2ZlckFycmF5SXRlbShldmVudC5wcmV2aW91c0NvbnRhaW5lci5kYXRhLCBldmVudC5jb250YWluZXIuZGF0YSwgZHJvcEluZGV4ZXMucHJldmlvdXNJbmRleCwgZHJvcEluZGV4ZXMuY3VycmVudEluZGV4KTtcblxuICAgICAgICAgICAgICAgIGlmICh0aGlzLnZpc2libGVPcHRpb25zVGFyZ2V0KVxuICAgICAgICAgICAgICAgICAgICB0aGlzLnZpc2libGVPcHRpb25zVGFyZ2V0LnNwbGljZShldmVudC5wcmV2aW91c0luZGV4LCAxKTtcblxuICAgICAgICAgICAgICAgIHRoaXMub25Nb3ZlVG9Tb3VyY2UuZW1pdCh7aXRlbXM6IFtldmVudC5pdGVtLmRhdGFdfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBlbHNlIHtcbiAgICAgICAgICAgICAgICBtb3ZlSXRlbUluQXJyYXkoZXZlbnQuY29udGFpbmVyLmRhdGEsIGRyb3BJbmRleGVzLnByZXZpb3VzSW5kZXgsIGRyb3BJbmRleGVzLmN1cnJlbnRJbmRleCk7XG4gICAgICAgICAgICAgICAgdGhpcy5vblNvdXJjZVJlb3JkZXIuZW1pdCh7aXRlbXM6IFtldmVudC5pdGVtLmRhdGFdfSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICh0aGlzLmZpbHRlclZhbHVlU291cmNlKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5maWx0ZXIodGhpcy5zb3VyY2UsIHRoaXMuU09VUkNFX0xJU1QpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGVsc2Uge1xuICAgICAgICAgICAgaWYgKGlzVHJhbnNmZXIpIHtcbiAgICAgICAgICAgICAgICB0cmFuc2ZlckFycmF5SXRlbShldmVudC5wcmV2aW91c0NvbnRhaW5lci5kYXRhLCBldmVudC5jb250YWluZXIuZGF0YSwgZHJvcEluZGV4ZXMucHJldmlvdXNJbmRleCwgZHJvcEluZGV4ZXMuY3VycmVudEluZGV4KTtcblxuICAgICAgICAgICAgICAgIGlmICh0aGlzLnZpc2libGVPcHRpb25zU291cmNlKVxuICAgICAgICAgICAgICAgICAgICB0aGlzLnZpc2libGVPcHRpb25zU291cmNlLnNwbGljZShldmVudC5wcmV2aW91c0luZGV4LCAxKTtcblxuICAgICAgICAgICAgICAgIHRoaXMub25Nb3ZlVG9UYXJnZXQuZW1pdCh7aXRlbXM6IFtldmVudC5pdGVtLmRhdGFdfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBlbHNlIHtcbiAgICAgICAgICAgICAgICBtb3ZlSXRlbUluQXJyYXkoZXZlbnQuY29udGFpbmVyLmRhdGEsIGRyb3BJbmRleGVzLnByZXZpb3VzSW5kZXgsIGRyb3BJbmRleGVzLmN1cnJlbnRJbmRleCk7XG4gICAgICAgICAgICAgICAgdGhpcy5vblRhcmdldFJlb3JkZXIuZW1pdCh7aXRlbXM6IFtldmVudC5pdGVtLmRhdGFdfSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmICh0aGlzLmZpbHRlclZhbHVlVGFyZ2V0KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5maWx0ZXIodGhpcy50YXJnZXQsIHRoaXMuVEFSR0VUX0xJU1QpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgZ2V0RHJvcEluZGV4ZXMoZnJvbUluZGV4LCB0b0luZGV4LCBkcm9wcGVkTGlzdCwgaXNUcmFuc2ZlciwgZGF0YSkge1xuICAgICAgICBsZXQgcHJldmlvdXNJbmRleCwgY3VycmVudEluZGV4O1xuXG4gICAgICAgIGlmIChkcm9wcGVkTGlzdCA9PT0gdGhpcy5TT1VSQ0VfTElTVCkge1xuICAgICAgICAgICAgcHJldmlvdXNJbmRleCA9IGlzVHJhbnNmZXIgPyB0aGlzLmZpbHRlclZhbHVlVGFyZ2V0ID8gT2JqZ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ndoaWNoKSB7XG4gICAgICAgICAgICAvL2Rvd25cbiAgICAgICAgICAgIGNhc2UgNDA6XG4gICAgICAgICAgICAgICAgdmFyIG5leHRJdGVtID0gdGhpcy5maW5kTmV4dEl0ZW0obGlzdEl0ZW0pO1xuICAgICAgICAgICAgICAgIGlmIChuZXh0SXRlbSkge1xuICAgICAgICAgICAgICAgICAgICBuZXh0SXRlbS5mb2N1cygpO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG4gICAgICAgICAgICBicmVhaztcblxuICAgICAgICAgICAgLy91cFxuICAgICAgICAgICAgY2FzZSAzODpcbiAgICAgICAgICAgICAgICB2YXIgcHJldkl0ZW0gPSB0aGlzLmZpbmRQcmV2SXRlbShsaXN0SXRlbSk7XG4gICAgICAgICAgICAgICAgaWYgKHByZXZJdGVtKSB7XG4gICAgICAgICAgICAgICAgICAgIHByZXZJdGVtLmZvY3VzKCk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgICAvL2VudGVyXG4gICAgICAgICAgICBjYXNlIDEzOlxuICAgICAgICAgICAgICAgIHRoaXMub25JdGVtQ2xpY2soZXZlbnQsIGl0ZW0sIHNlbGVjdGVkSXRlbXMsIGNhbGxiYWNrKTtcbiAgICAgICAgICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBmaW5kTmV4dEl0ZW0oaXRlbSkge1xuICAgICAgICBsZXQgbmV4dEl0ZW0gPSBpdGVtLm5leHRFbGVtZW50U2libGluZztcblxuICAgICAgICBpZiAobmV4dEl0ZW0pXG4gICAgICAgICAgICByZXR1cm4gIURvbUhhbmRsZXIuaGFzQ2xhc3MobmV4dEl0ZW0sICdwL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W50fSkge1xuICAgICAgICAgICAgICAgIC5wLXBpY2tsaXN0WyR7dGhpcy5pZH1dIHtcbiAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAucC1waWNrbGlzdFske3RoaXMuaWR9XSAucC1waWNrbGlzdC1idXR0b25zIHtcbiAgICAgICAgICAgICAgICAgICAgcGFkZGluZzogdmFyKC0tY29udGVudC1wYWRkaW5nKTtcbiAgICAgICAgICAgICAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAucC1waWNrbGlzdFske3RoaXMuaWR9XSAucC1waWNrbGlzdC1idXR0b25zIC5wLWJ1dHRvbiB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogdmFyKC0taW5saW5lLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC5wLXBpY2tsaXN0WyR7dGhpcy5pZH1dIC5wLXBpY2tsaXN0LWJ1dHRvbnMgLnAtYnV0dG9uOmxhc3QtY2hpbGQge1xuICAgICAgICAgICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgLnAtcGlja2xpc3RbJHt0aGlzLmlkfV0gLnBpLWFuZ2xlLXJpZ2h0OmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ6IFwiXFxcXGU5MzBcIlxuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC5wLXBpY2tsaXN0WyR7dGhpcy5pZH1dIC5waS1hbmdsZS1kb3VibGUtcmlnaHQ6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogXCJcXFxcZTkyY1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yBQaWNrTGlzdE1vZHVsZSB7IH1cbiJdfQ==
Note: See TracBrowser for help on using the repository browser.