primeng 18.0.0 → 18.0.2
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/accordion/accordion.d.ts +7 -7
- package/autocomplete/autocomplete.d.ts +21 -8
- package/badge/badge.d.ts +1 -3
- package/basecomponent/basecomponent.d.ts +2 -5
- package/blockui/blockui.d.ts +10 -5
- package/breadcrumb/breadcrumb.d.ts +9 -6
- package/button/button.d.ts +10 -4
- package/calendar/calendar.d.ts +29 -15
- package/card/card.d.ts +12 -5
- package/carousel/carousel.d.ts +10 -4
- package/cascadeselect/cascadeselect.d.ts +18 -8
- package/checkbox/checkbox.d.ts +8 -4
- package/chip/chip.d.ts +9 -7
- package/confirmdialog/confirmdialog.d.ts +14 -5
- package/confirmpopup/confirmpopup.d.ts +11 -5
- package/contextmenu/contextmenu.d.ts +10 -6
- package/datepicker/datepicker.d.ts +113 -33
- package/dialog/dialog.d.ts +15 -4
- package/divider/divider.d.ts +1 -1
- package/dock/dock.d.ts +7 -4
- package/drawer/drawer.d.ts +18 -10
- package/dropdown/dropdown.d.ts +4 -3
- package/dynamicdialog/dynamicdialog.d.ts +1 -0
- package/editor/editor.d.ts +7 -3
- package/esm2022/accordion/accordion.mjs +58 -43
- package/esm2022/autocomplete/autocomplete.mjs +153 -92
- package/esm2022/badge/badge.mjs +39 -32
- package/esm2022/basecomponent/basecomponent.mjs +3 -26
- package/esm2022/blockui/blockui.mjs +38 -18
- package/esm2022/breadcrumb/breadcrumb.mjs +50 -32
- package/esm2022/button/button.mjs +55 -28
- package/esm2022/calendar/calendar.mjs +207 -143
- package/esm2022/card/card.mjs +96 -46
- package/esm2022/carousel/carousel.mjs +74 -42
- package/esm2022/cascadeselect/cascadeselect.mjs +100 -62
- package/esm2022/checkbox/checkbox.mjs +32 -14
- package/esm2022/chip/chip.mjs +117 -96
- package/esm2022/confirmdialog/confirmdialog.mjs +96 -57
- package/esm2022/confirmpopup/confirmpopup.mjs +57 -29
- package/esm2022/contextmenu/contextmenu.mjs +51 -20
- package/esm2022/datepicker/datepicker.mjs +198 -156
- package/esm2022/dialog/dialog.mjs +98 -52
- package/esm2022/divider/divider.mjs +2 -4
- package/esm2022/dock/dock.mjs +31 -13
- package/esm2022/drawer/drawer.mjs +112 -70
- package/esm2022/dropdown/dropdown.mjs +13 -5
- package/esm2022/dynamicdialog/dynamicdialog-config.mjs +13 -13
- package/esm2022/dynamicdialog/dynamicdialog.mjs +9 -5
- package/esm2022/editor/editor.mjs +27 -11
- package/esm2022/fieldset/fieldset.mjs +61 -33
- package/esm2022/fileupload/fileupload.mjs +139 -89
- package/esm2022/galleria/galleria.mjs +18 -9
- package/esm2022/image/image.mjs +113 -66
- package/esm2022/imagecompare/imagecompare.mjs +31 -11
- package/esm2022/inplace/inplace.mjs +49 -24
- package/esm2022/inputmask/inputmask.mjs +30 -14
- package/esm2022/inputmask/style/inputmaskstyle.mjs +2 -2
- package/esm2022/inputnumber/inputnumber.mjs +55 -47
- package/esm2022/inputotp/inputotp.mjs +30 -11
- package/esm2022/listbox/listbox.mjs +137 -78
- package/esm2022/megamenu/megamenu.mjs +105 -59
- package/esm2022/menu/menu.mjs +26 -26
- package/esm2022/menubar/menubar.mjs +70 -35
- package/esm2022/message/message.mjs +50 -26
- package/esm2022/messages/messages.mjs +13 -4
- package/esm2022/metergroup/metergroup.mjs +63 -31
- package/esm2022/multiselect/multiselect.mjs +247 -156
- package/esm2022/orderlist/orderlist.mjs +125 -70
- package/esm2022/organizationchart/organizationchart.mjs +30 -14
- package/esm2022/overlay/overlay.mjs +27 -7
- package/esm2022/overlaypanel/overlaypanel.mjs +33 -10
- package/esm2022/paginator/paginator.mjs +92 -60
- package/esm2022/panel/panel.mjs +160 -100
- package/esm2022/panelmenu/panelmenu.mjs +55 -32
- package/esm2022/password/password.mjs +88 -49
- package/esm2022/picklist/picklist.mjs +363 -259
- package/esm2022/popover/popover.mjs +29 -12
- package/esm2022/progressbar/progressbar.mjs +27 -9
- package/esm2022/rating/rating.mjs +46 -22
- package/esm2022/scroller/scroller.mjs +47 -37
- package/esm2022/scrollpanel/scrollpanel.mjs +28 -9
- package/esm2022/scrolltop/scrolltop.mjs +17 -10
- package/esm2022/select/select.mjs +198 -119
- package/esm2022/selectbutton/selectbutton.mjs +26 -11
- package/esm2022/sidebar/sidebar.mjs +82 -60
- package/esm2022/speeddial/speeddial.mjs +54 -29
- package/esm2022/splitbutton/splitbutton.mjs +41 -18
- package/esm2022/splitter/splitter.mjs +5 -5
- package/esm2022/stepper/stepper.mjs +27 -13
- package/esm2022/table/table.mjs +107 -96
- package/esm2022/tabmenu/tabmenu.mjs +54 -27
- package/esm2022/tabs/tablist.mjs +28 -20
- package/esm2022/tabview/tabview.mjs +106 -54
- package/esm2022/tag/tag.mjs +68 -44
- package/esm2022/tieredmenu/tieredmenu.mjs +44 -21
- package/esm2022/timeline/timeline.mjs +41 -17
- package/esm2022/toast/toast.mjs +31 -9
- package/esm2022/togglebutton/togglebutton.mjs +45 -30
- package/esm2022/toggleswitch/toggleswitch.mjs +28 -9
- package/esm2022/toolbar/toolbar.mjs +47 -21
- package/esm2022/tooltip/tooltip.mjs +35 -70
- package/esm2022/tree/tree.mjs +114 -97
- package/esm2022/treeselect/treeselect.mjs +156 -89
- package/esm2022/treetable/treetable.mjs +31 -12
- package/esm2022/usestyle/usestyle.mjs +2 -2
- package/fesm2022/primeng-accordion.mjs +57 -42
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +152 -91
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +38 -31
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +2 -25
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +37 -17
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +49 -31
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +54 -27
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +206 -142
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +95 -45
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +73 -41
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +99 -61
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +31 -13
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +116 -95
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +95 -56
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +56 -28
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +50 -19
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +197 -155
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +97 -51
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +1 -3
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +30 -12
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +111 -69
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +12 -4
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +20 -16
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +26 -10
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +60 -32
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +138 -88
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +17 -8
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +112 -65
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +30 -10
- package/fesm2022/primeng-imagecompare.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +48 -23
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +30 -14
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +54 -46
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +29 -10
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +136 -77
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +104 -58
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +25 -25
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +69 -34
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +49 -25
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +12 -3
- package/fesm2022/primeng-messages.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +62 -30
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +246 -155
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +124 -69
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +29 -13
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +26 -6
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +32 -9
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +91 -59
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +159 -99
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +54 -31
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +87 -48
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +362 -258
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +28 -11
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +26 -8
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +45 -21
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +46 -36
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +27 -8
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +16 -9
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +197 -118
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +25 -10
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +81 -59
- package/fesm2022/primeng-sidebar.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +53 -28
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +40 -17
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +4 -4
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +26 -12
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +106 -95
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +53 -26
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +27 -19
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +106 -54
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +67 -43
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +43 -20
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +40 -16
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +30 -8
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +44 -29
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +27 -8
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +46 -20
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +35 -70
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +114 -97
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +155 -88
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +30 -11
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +1 -1
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/fieldset/fieldset.d.ts +12 -6
- package/fileupload/fileupload.d.ts +19 -8
- package/galleria/galleria.d.ts +3 -2
- package/image/image.d.ts +18 -7
- package/imagecompare/imagecompare.d.ts +7 -2
- package/inplace/inplace.d.ts +12 -6
- package/inputmask/inputmask.d.ts +8 -4
- package/inputnumber/inputnumber.d.ts +11 -6
- package/inputotp/inputotp.d.ts +7 -2
- package/listbox/listbox.d.ts +17 -4
- package/megamenu/megamenu.d.ts +16 -7
- package/menu/menu.d.ts +6 -6
- package/menubar/menubar.d.ts +13 -6
- package/message/message.d.ts +10 -4
- package/messages/messages.d.ts +4 -3
- package/metergroup/metergroup.d.ts +11 -3
- package/multiselect/multiselect.d.ts +36 -17
- package/orderlist/orderlist.d.ts +23 -11
- package/organizationchart/organizationchart.d.ts +6 -4
- package/overlay/overlay.d.ts +6 -3
- package/overlaypanel/overlaypanel.d.ts +6 -3
- package/package.json +165 -165
- package/paginator/paginator.d.ts +15 -8
- package/panel/panel.d.ts +14 -5
- package/panelmenu/panelmenu.d.ts +8 -4
- package/password/password.d.ts +15 -7
- package/picklist/picklist.d.ts +23 -3
- package/popover/popover.d.ts +8 -5
- package/progressbar/progressbar.d.ts +7 -3
- package/rating/rating.d.ts +11 -5
- package/scroller/scroller.d.ts +9 -4
- package/scrollpanel/scrollpanel.d.ts +7 -3
- package/scrolltop/scrolltop.d.ts +7 -4
- package/select/select.d.ts +31 -13
- package/selectbutton/selectbutton.d.ts +7 -3
- package/sidebar/sidebar.d.ts +9 -2
- package/speeddial/speeddial.d.ts +9 -4
- package/splitbutton/splitbutton.d.ts +9 -5
- package/splitter/splitter.d.ts +4 -4
- package/stepper/stepper.d.ts +8 -3
- package/table/table.d.ts +2 -2
- package/tabmenu/tabmenu.d.ts +12 -7
- package/tabs/tablist.d.ts +6 -2
- package/tabview/tabview.d.ts +16 -7
- package/tag/tag.d.ts +8 -9
- package/tieredmenu/tieredmenu.d.ts +10 -6
- package/timeline/timeline.d.ts +7 -2
- package/toast/toast.d.ts +7 -3
- package/togglebutton/togglebutton.d.ts +8 -3
- package/toggleswitch/toggleswitch.d.ts +6 -2
- package/toolbar/toolbar.d.ts +9 -4
- package/tooltip/tooltip.d.ts +2 -1
- package/tree/tree.d.ts +23 -10
- package/treeselect/treeselect.d.ts +26 -12
- package/treetable/treetable.d.ts +7 -5
@@ -3,14 +3,14 @@ import { transferArrayItem, moveItemInArray, DragDropModule } from '@angular/cdk
|
|
3
3
|
import * as i1 from '@angular/common';
|
4
4
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
5
5
|
import * as i0 from '@angular/core';
|
6
|
-
import { Injectable, EventEmitter, inject, numberAttribute, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, NgModule } from '@angular/core';
|
6
|
+
import { Injectable, EventEmitter, inject, numberAttribute, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
|
7
7
|
import * as i3 from '@angular/forms';
|
8
8
|
import { FormsModule } from '@angular/forms';
|
9
9
|
import { uuid, find, scrollInView, findIndexInList, findSingle, setAttribute, isEmpty } from '@primeuix/utils';
|
10
|
-
import { FilterService, SharedModule } from 'primeng/api';
|
10
|
+
import { FilterService, PrimeTemplate, SharedModule } from 'primeng/api';
|
11
11
|
import { BaseComponent } from 'primeng/basecomponent';
|
12
12
|
import { ButtonDirective } from 'primeng/button';
|
13
|
-
import { AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon
|
13
|
+
import { AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon } from 'primeng/icons';
|
14
14
|
import { Listbox } from 'primeng/listbox';
|
15
15
|
import { Ripple } from 'primeng/ripple';
|
16
16
|
import { BaseStyle } from 'primeng/base';
|
@@ -114,7 +114,8 @@ const _c19 = ["sourcelist"];
|
|
114
114
|
const _c20 = ["targetlist"];
|
115
115
|
const _c21 = () => ({ "p-picklist p-component": true });
|
116
116
|
const _c22 = a0 => ({ $implicit: a0 });
|
117
|
-
const _c23 =
|
117
|
+
const _c23 = a0 => ({ options: a0 });
|
118
|
+
const _c24 = (a0, a1, a2) => ({ $implicit: a0, index: a1, selected: a2 });
|
118
119
|
function PickList_div_1_AngleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
119
120
|
i0.ɵɵelement(0, "AngleUpIcon");
|
120
121
|
} if (rf & 2) {
|
@@ -176,30 +177,30 @@ function PickList_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
176
177
|
i0.ɵɵproperty("disabled", ctx_r2.sourceMoveDisabled())("buttonProps", ctx_r2.getButtonProps("moveup"));
|
177
178
|
i0.ɵɵattribute("aria-label", ctx_r2.moveUpAriaLabel)("data-pc-section", "sourceMoveUpButton");
|
178
179
|
i0.ɵɵadvance();
|
179
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveUpIconTemplate);
|
180
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveUpIconTemplate && !ctx_r2._moveUpIconTemplate);
|
180
181
|
i0.ɵɵadvance();
|
181
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveUpIconTemplate);
|
182
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveUpIconTemplate || ctx_r2._moveUpIconTemplate);
|
182
183
|
i0.ɵɵadvance();
|
183
184
|
i0.ɵɵproperty("disabled", ctx_r2.sourceMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movetop"));
|
184
185
|
i0.ɵɵattribute("aria-label", ctx_r2.moveTopAriaLabel)("data-pc-section", "sourceMoveTopButton");
|
185
186
|
i0.ɵɵadvance();
|
186
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveTopIconTemplate);
|
187
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveTopIconTemplate && !ctx_r2._moveTopIconTemplate);
|
187
188
|
i0.ɵɵadvance();
|
188
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveTopIconTemplate);
|
189
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveTopIconTemplate || ctx_r2._moveTopIconTemplate);
|
189
190
|
i0.ɵɵadvance();
|
190
191
|
i0.ɵɵproperty("disabled", ctx_r2.sourceMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movedown"));
|
191
192
|
i0.ɵɵattribute("aria-label", ctx_r2.moveDownAriaLabel)("data-pc-section", "sourceMoveDownButton");
|
192
193
|
i0.ɵɵadvance();
|
193
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveDownIconTemplate);
|
194
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveDownIconTemplate && !ctx_r2._moveDownIconTemplate);
|
194
195
|
i0.ɵɵadvance();
|
195
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveDownIconTemplate);
|
196
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveDownIconTemplate || ctx_r2._moveDownIconTemplate);
|
196
197
|
i0.ɵɵadvance();
|
197
198
|
i0.ɵɵproperty("disabled", ctx_r2.sourceMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movebottom"));
|
198
199
|
i0.ɵɵattribute("aria-label", ctx_r2.moveBottomAriaLabel)("data-pc-section", "sourceMoveBottomButton");
|
199
200
|
i0.ɵɵadvance();
|
200
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveBottomIconTemplate);
|
201
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveBottomIconTemplate || ctx_r2._moveBottomIconTemplate);
|
201
202
|
i0.ɵɵadvance();
|
202
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveBottomIconTemplate);
|
203
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveBottomIconTemplate || ctx_r2._moveBottomIconTemplate);
|
203
204
|
} }
|
204
205
|
function PickList_ng_container_5_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
|
205
206
|
function PickList_ng_container_5_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
|
@@ -209,14 +210,38 @@ function PickList_ng_container_5_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
209
210
|
i0.ɵɵtemplate(0, PickList_ng_container_5_ng_template_1_0_Template, 1, 0, null, 16);
|
210
211
|
} if (rf & 2) {
|
211
212
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
212
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.sourceHeaderTemplate);
|
213
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.sourceHeaderTemplate || ctx_r2._sourceHeaderTemplate);
|
213
214
|
} }
|
214
215
|
function PickList_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
215
216
|
i0.ɵɵelementContainerStart(0);
|
216
217
|
i0.ɵɵtemplate(1, PickList_ng_container_5_ng_template_1_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
217
218
|
i0.ɵɵelementContainerEnd();
|
218
219
|
} }
|
219
|
-
function
|
220
|
+
function PickList_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
221
|
+
i0.ɵɵelementContainer(0);
|
222
|
+
} }
|
223
|
+
function PickList_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
224
|
+
i0.ɵɵelementContainerStart(0);
|
225
|
+
i0.ɵɵtemplate(1, PickList_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 12);
|
226
|
+
i0.ɵɵelementContainerEnd();
|
227
|
+
} if (rf & 2) {
|
228
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
229
|
+
i0.ɵɵadvance();
|
230
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.sourceFilterTemplate || ctx_r2._sourceFilterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c23, ctx_r2.sourceFilterOptions));
|
231
|
+
} }
|
232
|
+
function PickList_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
233
|
+
i0.ɵɵelementContainer(0);
|
234
|
+
} }
|
235
|
+
function PickList_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
236
|
+
i0.ɵɵelementContainerStart(0);
|
237
|
+
i0.ɵɵtemplate(1, PickList_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 16);
|
238
|
+
i0.ɵɵelementContainerEnd();
|
239
|
+
} if (rf & 2) {
|
240
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
241
|
+
i0.ɵɵadvance();
|
242
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.sourceFilterIconTemplate || ctx_r2._sourceFilterIconTemplate);
|
243
|
+
} }
|
244
|
+
function PickList_div_8_Template(rf, ctx) { if (rf & 1) {
|
220
245
|
i0.ɵɵelementStart(0, "div", 17);
|
221
246
|
i0.ɵɵtext(1);
|
222
247
|
i0.ɵɵelementEnd();
|
@@ -225,36 +250,48 @@ function PickList_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
225
250
|
i0.ɵɵadvance();
|
226
251
|
i0.ɵɵtextInterpolate(ctx_r2.sourceHeader);
|
227
252
|
} }
|
228
|
-
function
|
253
|
+
function PickList_ng_container_9_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
229
254
|
i0.ɵɵelementContainer(0);
|
230
255
|
} }
|
231
|
-
function
|
232
|
-
i0.ɵɵtemplate(0,
|
256
|
+
function PickList_ng_container_9_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
257
|
+
i0.ɵɵtemplate(0, PickList_ng_container_9_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 12);
|
233
258
|
} if (rf & 2) {
|
234
259
|
const item_r5 = ctx.$implicit;
|
235
260
|
const index_r6 = ctx.index;
|
236
261
|
const selected_r7 = ctx.selected;
|
237
262
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
238
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2,
|
263
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate || ctx_r2._itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c24, item_r5, index_r6, selected_r7));
|
239
264
|
} }
|
240
|
-
function
|
265
|
+
function PickList_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
266
|
+
i0.ɵɵelementContainerStart(0);
|
267
|
+
i0.ɵɵtemplate(1, PickList_ng_container_9_ng_template_1_Template, 1, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
268
|
+
i0.ɵɵelementContainerEnd();
|
269
|
+
} }
|
270
|
+
function PickList_ng_container_10_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
271
|
+
i0.ɵɵelementContainer(0);
|
272
|
+
} }
|
273
|
+
function PickList_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
241
274
|
i0.ɵɵelementContainerStart(0);
|
242
|
-
i0.ɵɵtemplate(1,
|
275
|
+
i0.ɵɵtemplate(1, PickList_ng_container_10_ng_container_1_Template, 1, 0, "ng-container", 16);
|
243
276
|
i0.ɵɵelementContainerEnd();
|
277
|
+
} if (rf & 2) {
|
278
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
279
|
+
i0.ɵɵadvance();
|
280
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyFilterMessageSourceTemplate || ctx_r2._emptyFilterMessageSourceTemplate || ctx_r2.emptyMessageSourceTemplate || ctx_r2._emptyMessageSourceTemplate);
|
244
281
|
} }
|
245
|
-
function
|
282
|
+
function PickList_ng_container_13_AngleRightIcon_1_Template(rf, ctx) { if (rf & 1) {
|
246
283
|
i0.ɵɵelement(0, "AngleRightIcon");
|
247
284
|
} if (rf & 2) {
|
248
285
|
i0.ɵɵattribute("data-pc-section", "movetotargeticon");
|
249
286
|
} }
|
250
|
-
function
|
287
|
+
function PickList_ng_container_13_AngleDownIcon_2_Template(rf, ctx) { if (rf & 1) {
|
251
288
|
i0.ɵɵelement(0, "AngleDownIcon");
|
252
289
|
} if (rf & 2) {
|
253
290
|
i0.ɵɵattribute("data-pc-section", "movetotargeticon");
|
254
291
|
} }
|
255
|
-
function
|
292
|
+
function PickList_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
256
293
|
i0.ɵɵelementContainerStart(0);
|
257
|
-
i0.ɵɵtemplate(1,
|
294
|
+
i0.ɵɵtemplate(1, PickList_ng_container_13_AngleRightIcon_1_Template, 1, 1, "AngleRightIcon", 8)(2, PickList_ng_container_13_AngleDownIcon_2_Template, 1, 1, "AngleDownIcon", 8);
|
258
295
|
i0.ɵɵelementContainerEnd();
|
259
296
|
} if (rf & 2) {
|
260
297
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -263,23 +300,23 @@ function PickList_ng_container_10_Template(rf, ctx) { if (rf & 1) {
|
|
263
300
|
i0.ɵɵadvance();
|
264
301
|
i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
|
265
302
|
} }
|
266
|
-
function
|
267
|
-
function
|
268
|
-
i0.ɵɵtemplate(0,
|
303
|
+
function PickList_14_ng_template_0_Template(rf, ctx) { }
|
304
|
+
function PickList_14_Template(rf, ctx) { if (rf & 1) {
|
305
|
+
i0.ɵɵtemplate(0, PickList_14_ng_template_0_Template, 0, 0, "ng-template");
|
269
306
|
} }
|
270
|
-
function
|
307
|
+
function PickList_ng_container_16_AngleDoubleRightIcon_1_Template(rf, ctx) { if (rf & 1) {
|
271
308
|
i0.ɵɵelement(0, "AngleDoubleRightIcon");
|
272
309
|
} if (rf & 2) {
|
273
310
|
i0.ɵɵattribute("data-pc-section", "movealltotargeticon");
|
274
311
|
} }
|
275
|
-
function
|
312
|
+
function PickList_ng_container_16_AngleDoubleDownIcon_2_Template(rf, ctx) { if (rf & 1) {
|
276
313
|
i0.ɵɵelement(0, "AngleDoubleDownIcon");
|
277
314
|
} if (rf & 2) {
|
278
315
|
i0.ɵɵattribute("data-pc-section", "movealltotargeticon");
|
279
316
|
} }
|
280
|
-
function
|
317
|
+
function PickList_ng_container_16_Template(rf, ctx) { if (rf & 1) {
|
281
318
|
i0.ɵɵelementContainerStart(0);
|
282
|
-
i0.ɵɵtemplate(1,
|
319
|
+
i0.ɵɵtemplate(1, PickList_ng_container_16_AngleDoubleRightIcon_1_Template, 1, 1, "AngleDoubleRightIcon", 8)(2, PickList_ng_container_16_AngleDoubleDownIcon_2_Template, 1, 1, "AngleDoubleDownIcon", 8);
|
283
320
|
i0.ɵɵelementContainerEnd();
|
284
321
|
} if (rf & 2) {
|
285
322
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -288,23 +325,23 @@ function PickList_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
|
288
325
|
i0.ɵɵadvance();
|
289
326
|
i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
|
290
327
|
} }
|
291
|
-
function
|
292
|
-
function
|
293
|
-
i0.ɵɵtemplate(0,
|
328
|
+
function PickList_17_ng_template_0_Template(rf, ctx) { }
|
329
|
+
function PickList_17_Template(rf, ctx) { if (rf & 1) {
|
330
|
+
i0.ɵɵtemplate(0, PickList_17_ng_template_0_Template, 0, 0, "ng-template");
|
294
331
|
} }
|
295
|
-
function
|
332
|
+
function PickList_ng_container_19_AngleLeftIcon_1_Template(rf, ctx) { if (rf & 1) {
|
296
333
|
i0.ɵɵelement(0, "AngleLeftIcon");
|
297
334
|
} if (rf & 2) {
|
298
335
|
i0.ɵɵattribute("data-pc-section", "movedownsourceticon");
|
299
336
|
} }
|
300
|
-
function
|
337
|
+
function PickList_ng_container_19_AngleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
301
338
|
i0.ɵɵelement(0, "AngleUpIcon");
|
302
339
|
} if (rf & 2) {
|
303
340
|
i0.ɵɵattribute("data-pc-section", "movedownsourceticon");
|
304
341
|
} }
|
305
|
-
function
|
342
|
+
function PickList_ng_container_19_Template(rf, ctx) { if (rf & 1) {
|
306
343
|
i0.ɵɵelementContainerStart(0);
|
307
|
-
i0.ɵɵtemplate(1,
|
344
|
+
i0.ɵɵtemplate(1, PickList_ng_container_19_AngleLeftIcon_1_Template, 1, 1, "AngleLeftIcon", 8)(2, PickList_ng_container_19_AngleUpIcon_2_Template, 1, 1, "AngleUpIcon", 8);
|
308
345
|
i0.ɵɵelementContainerEnd();
|
309
346
|
} if (rf & 2) {
|
310
347
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -313,23 +350,23 @@ function PickList_ng_container_16_Template(rf, ctx) { if (rf & 1) {
|
|
313
350
|
i0.ɵɵadvance();
|
314
351
|
i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
|
315
352
|
} }
|
316
|
-
function
|
317
|
-
function
|
318
|
-
i0.ɵɵtemplate(0,
|
353
|
+
function PickList_20_ng_template_0_Template(rf, ctx) { }
|
354
|
+
function PickList_20_Template(rf, ctx) { if (rf & 1) {
|
355
|
+
i0.ɵɵtemplate(0, PickList_20_ng_template_0_Template, 0, 0, "ng-template");
|
319
356
|
} }
|
320
|
-
function
|
357
|
+
function PickList_ng_container_22_AngleDoubleLeftIcon_1_Template(rf, ctx) { if (rf & 1) {
|
321
358
|
i0.ɵɵelement(0, "AngleDoubleLeftIcon");
|
322
359
|
} if (rf & 2) {
|
323
360
|
i0.ɵɵattribute("data-pc-section", "movealltosourceticon");
|
324
361
|
} }
|
325
|
-
function
|
362
|
+
function PickList_ng_container_22_AngleDoubleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
326
363
|
i0.ɵɵelement(0, "AngleDoubleUpIcon");
|
327
364
|
} if (rf & 2) {
|
328
365
|
i0.ɵɵattribute("data-pc-section", "movealltosourceticon");
|
329
366
|
} }
|
330
|
-
function
|
367
|
+
function PickList_ng_container_22_Template(rf, ctx) { if (rf & 1) {
|
331
368
|
i0.ɵɵelementContainerStart(0);
|
332
|
-
i0.ɵɵtemplate(1,
|
369
|
+
i0.ɵɵtemplate(1, PickList_ng_container_22_AngleDoubleLeftIcon_1_Template, 1, 1, "AngleDoubleLeftIcon", 8)(2, PickList_ng_container_22_AngleDoubleUpIcon_2_Template, 1, 1, "AngleDoubleUpIcon", 8);
|
333
370
|
i0.ɵɵelementContainerEnd();
|
334
371
|
} if (rf & 2) {
|
335
372
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -338,104 +375,140 @@ function PickList_ng_container_19_Template(rf, ctx) { if (rf & 1) {
|
|
338
375
|
i0.ɵɵadvance();
|
339
376
|
i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
|
340
377
|
} }
|
341
|
-
function
|
342
|
-
function
|
343
|
-
i0.ɵɵtemplate(0,
|
378
|
+
function PickList_23_ng_template_0_Template(rf, ctx) { }
|
379
|
+
function PickList_23_Template(rf, ctx) { if (rf & 1) {
|
380
|
+
i0.ɵɵtemplate(0, PickList_23_ng_template_0_Template, 0, 0, "ng-template");
|
344
381
|
} }
|
345
|
-
function
|
346
|
-
function
|
347
|
-
i0.ɵɵtemplate(0,
|
382
|
+
function PickList_ng_container_27_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
|
383
|
+
function PickList_ng_container_27_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
|
384
|
+
i0.ɵɵtemplate(0, PickList_ng_container_27_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
|
348
385
|
} }
|
349
|
-
function
|
350
|
-
i0.ɵɵtemplate(0,
|
386
|
+
function PickList_ng_container_27_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
387
|
+
i0.ɵɵtemplate(0, PickList_ng_container_27_ng_template_1_0_Template, 1, 0, null, 16);
|
351
388
|
} if (rf & 2) {
|
352
389
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
353
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.targetHeaderTemplate);
|
390
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.targetHeaderTemplate || ctx_r2._targetHeaderTemplate);
|
391
|
+
} }
|
392
|
+
function PickList_ng_container_27_Template(rf, ctx) { if (rf & 1) {
|
393
|
+
i0.ɵɵelementContainerStart(0);
|
394
|
+
i0.ɵɵtemplate(1, PickList_ng_container_27_ng_template_1_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
395
|
+
i0.ɵɵelementContainerEnd();
|
396
|
+
} }
|
397
|
+
function PickList_ng_container_28_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
398
|
+
i0.ɵɵelementContainer(0);
|
399
|
+
} }
|
400
|
+
function PickList_ng_container_28_Template(rf, ctx) { if (rf & 1) {
|
401
|
+
i0.ɵɵelementContainerStart(0);
|
402
|
+
i0.ɵɵtemplate(1, PickList_ng_container_28_ng_container_1_Template, 1, 0, "ng-container", 12);
|
403
|
+
i0.ɵɵelementContainerEnd();
|
404
|
+
} if (rf & 2) {
|
405
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
406
|
+
i0.ɵɵadvance();
|
407
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.targetFilterTemplate || ctx_r2._targetFilterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c23, ctx_r2.targetFilterOptions));
|
354
408
|
} }
|
355
|
-
function
|
409
|
+
function PickList_ng_container_29_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
410
|
+
i0.ɵɵelementContainer(0);
|
411
|
+
} }
|
412
|
+
function PickList_ng_container_29_Template(rf, ctx) { if (rf & 1) {
|
356
413
|
i0.ɵɵelementContainerStart(0);
|
357
|
-
i0.ɵɵtemplate(1,
|
414
|
+
i0.ɵɵtemplate(1, PickList_ng_container_29_ng_container_1_Template, 1, 0, "ng-container", 16);
|
358
415
|
i0.ɵɵelementContainerEnd();
|
416
|
+
} if (rf & 2) {
|
417
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
418
|
+
i0.ɵɵadvance();
|
419
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.targetFilterIconTemplate || ctx_r2._targetFilterIconTemplate);
|
359
420
|
} }
|
360
|
-
function
|
421
|
+
function PickList_div_30_Template(rf, ctx) { if (rf & 1) {
|
361
422
|
i0.ɵɵelementStart(0, "div", 17);
|
362
423
|
i0.ɵɵtext(1);
|
363
424
|
i0.ɵɵelementEnd();
|
364
425
|
} if (rf & 2) {
|
365
426
|
const ctx_r2 = i0.ɵɵnextContext();
|
366
427
|
i0.ɵɵadvance();
|
367
|
-
i0.ɵɵtextInterpolate(ctx_r2.
|
428
|
+
i0.ɵɵtextInterpolate(ctx_r2.targetHeader);
|
368
429
|
} }
|
369
|
-
function
|
430
|
+
function PickList_ng_container_31_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
370
431
|
i0.ɵɵelementContainer(0);
|
371
432
|
} }
|
372
|
-
function
|
373
|
-
i0.ɵɵtemplate(0,
|
433
|
+
function PickList_ng_container_31_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
434
|
+
i0.ɵɵtemplate(0, PickList_ng_container_31_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 12);
|
374
435
|
} if (rf & 2) {
|
375
436
|
const item_r8 = ctx.$implicit;
|
376
437
|
const index_r9 = ctx.index;
|
377
438
|
const selected_r10 = ctx.selected;
|
378
439
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
379
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2,
|
440
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate || ctx_r2._itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c24, item_r8, index_r9, selected_r10));
|
380
441
|
} }
|
381
|
-
function
|
442
|
+
function PickList_ng_container_31_Template(rf, ctx) { if (rf & 1) {
|
382
443
|
i0.ɵɵelementContainerStart(0);
|
383
|
-
i0.ɵɵtemplate(1,
|
444
|
+
i0.ɵɵtemplate(1, PickList_ng_container_31_ng_template_1_Template, 1, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
384
445
|
i0.ɵɵelementContainerEnd();
|
385
446
|
} }
|
386
|
-
function
|
447
|
+
function PickList_ng_container_32_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
448
|
+
i0.ɵɵelementContainer(0);
|
449
|
+
} }
|
450
|
+
function PickList_ng_container_32_Template(rf, ctx) { if (rf & 1) {
|
451
|
+
i0.ɵɵelementContainerStart(0);
|
452
|
+
i0.ɵɵtemplate(1, PickList_ng_container_32_ng_container_1_Template, 1, 0, "ng-container", 16);
|
453
|
+
i0.ɵɵelementContainerEnd();
|
454
|
+
} if (rf & 2) {
|
455
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
456
|
+
i0.ɵɵadvance();
|
457
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.emptyFilterMessageTargetTemplate || ctx_r2._emptyFilterMessageTargetTemplate || ctx_r2.emptyMessageTargetTemplate || ctx_r2._emptyMessageTargetTemplate);
|
458
|
+
} }
|
459
|
+
function PickList_div_33_AngleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
387
460
|
i0.ɵɵelement(0, "AngleUpIcon");
|
388
461
|
} if (rf & 2) {
|
389
462
|
i0.ɵɵattribute("data-pc-section", "moveupicon");
|
390
463
|
} }
|
391
|
-
function
|
392
|
-
function
|
393
|
-
i0.ɵɵtemplate(0,
|
464
|
+
function PickList_div_33_3_ng_template_0_Template(rf, ctx) { }
|
465
|
+
function PickList_div_33_3_Template(rf, ctx) { if (rf & 1) {
|
466
|
+
i0.ɵɵtemplate(0, PickList_div_33_3_ng_template_0_Template, 0, 0, "ng-template");
|
394
467
|
} }
|
395
|
-
function
|
468
|
+
function PickList_div_33_AngleDoubleUpIcon_5_Template(rf, ctx) { if (rf & 1) {
|
396
469
|
i0.ɵɵelement(0, "AngleDoubleUpIcon");
|
397
470
|
} if (rf & 2) {
|
398
471
|
i0.ɵɵattribute("data-pc-section", "movetopicon");
|
399
472
|
} }
|
400
|
-
function
|
401
|
-
function
|
402
|
-
i0.ɵɵtemplate(0,
|
473
|
+
function PickList_div_33_6_ng_template_0_Template(rf, ctx) { }
|
474
|
+
function PickList_div_33_6_Template(rf, ctx) { if (rf & 1) {
|
475
|
+
i0.ɵɵtemplate(0, PickList_div_33_6_ng_template_0_Template, 0, 0, "ng-template");
|
403
476
|
} }
|
404
|
-
function
|
477
|
+
function PickList_div_33_AngleDownIcon_8_Template(rf, ctx) { if (rf & 1) {
|
405
478
|
i0.ɵɵelement(0, "AngleDownIcon");
|
406
479
|
} if (rf & 2) {
|
407
480
|
i0.ɵɵattribute("data-pc-section", "movedownicon");
|
408
481
|
} }
|
409
|
-
function
|
410
|
-
function
|
411
|
-
i0.ɵɵtemplate(0,
|
482
|
+
function PickList_div_33_9_ng_template_0_Template(rf, ctx) { }
|
483
|
+
function PickList_div_33_9_Template(rf, ctx) { if (rf & 1) {
|
484
|
+
i0.ɵɵtemplate(0, PickList_div_33_9_ng_template_0_Template, 0, 0, "ng-template");
|
412
485
|
} }
|
413
|
-
function
|
486
|
+
function PickList_div_33_AngleDoubleDownIcon_11_Template(rf, ctx) { if (rf & 1) {
|
414
487
|
i0.ɵɵelement(0, "AngleDoubleDownIcon");
|
415
488
|
} if (rf & 2) {
|
416
489
|
i0.ɵɵattribute("data-pc-section", "movebottomicon");
|
417
490
|
} }
|
418
|
-
function
|
419
|
-
function
|
420
|
-
i0.ɵɵtemplate(0,
|
491
|
+
function PickList_div_33_12_ng_template_0_Template(rf, ctx) { }
|
492
|
+
function PickList_div_33_12_Template(rf, ctx) { if (rf & 1) {
|
493
|
+
i0.ɵɵtemplate(0, PickList_div_33_12_ng_template_0_Template, 0, 0, "ng-template");
|
421
494
|
} }
|
422
|
-
function
|
495
|
+
function PickList_div_33_Template(rf, ctx) { if (rf & 1) {
|
423
496
|
const _r11 = i0.ɵɵgetCurrentView();
|
424
497
|
i0.ɵɵelementStart(0, "div", 18)(1, "button", 11);
|
425
|
-
i0.ɵɵlistener("click", function
|
426
|
-
i0.ɵɵtemplate(2,
|
498
|
+
i0.ɵɵlistener("click", function PickList_div_33_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); const targetlist_r12 = i0.ɵɵreference(26); return i0.ɵɵresetView(ctx_r2.moveUp(targetlist_r12, ctx_r2.target, ctx_r2.selectedItemsTarget, ctx_r2.onTargetReorder, ctx_r2.TARGET_LIST)); });
|
499
|
+
i0.ɵɵtemplate(2, PickList_div_33_AngleUpIcon_2_Template, 1, 1, "AngleUpIcon", 8)(3, PickList_div_33_3_Template, 1, 0, null, 16);
|
427
500
|
i0.ɵɵelementEnd();
|
428
501
|
i0.ɵɵelementStart(4, "button", 11);
|
429
|
-
i0.ɵɵlistener("click", function
|
430
|
-
i0.ɵɵtemplate(5,
|
502
|
+
i0.ɵɵlistener("click", function PickList_div_33_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); const targetlist_r12 = i0.ɵɵreference(26); return i0.ɵɵresetView(ctx_r2.moveTop(targetlist_r12, ctx_r2.target, ctx_r2.selectedItemsTarget, ctx_r2.onTargetReorder, ctx_r2.TARGET_LIST)); });
|
503
|
+
i0.ɵɵtemplate(5, PickList_div_33_AngleDoubleUpIcon_5_Template, 1, 1, "AngleDoubleUpIcon", 8)(6, PickList_div_33_6_Template, 1, 0, null, 16);
|
431
504
|
i0.ɵɵelementEnd();
|
432
505
|
i0.ɵɵelementStart(7, "button", 11);
|
433
|
-
i0.ɵɵlistener("click", function
|
434
|
-
i0.ɵɵtemplate(8,
|
506
|
+
i0.ɵɵlistener("click", function PickList_div_33_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); const targetlist_r12 = i0.ɵɵreference(26); return i0.ɵɵresetView(ctx_r2.moveDown(targetlist_r12, ctx_r2.target, ctx_r2.selectedItemsTarget, ctx_r2.onTargetReorder, ctx_r2.TARGET_LIST)); });
|
507
|
+
i0.ɵɵtemplate(8, PickList_div_33_AngleDownIcon_8_Template, 1, 1, "AngleDownIcon", 8)(9, PickList_div_33_9_Template, 1, 0, null, 16);
|
435
508
|
i0.ɵɵelementEnd();
|
436
509
|
i0.ɵɵelementStart(10, "button", 11);
|
437
|
-
i0.ɵɵlistener("click", function
|
438
|
-
i0.ɵɵtemplate(11,
|
510
|
+
i0.ɵɵlistener("click", function PickList_div_33_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); const targetlist_r12 = i0.ɵɵreference(26); return i0.ɵɵresetView(ctx_r2.moveBottom(targetlist_r12, ctx_r2.target, ctx_r2.selectedItemsTarget, ctx_r2.onTargetReorder, ctx_r2.TARGET_LIST)); });
|
511
|
+
i0.ɵɵtemplate(11, PickList_div_33_AngleDoubleDownIcon_11_Template, 1, 1, "AngleDoubleDownIcon", 8)(12, PickList_div_33_12_Template, 1, 0, null, 16);
|
439
512
|
i0.ɵɵelementEnd()();
|
440
513
|
} if (rf & 2) {
|
441
514
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -444,30 +517,30 @@ function PickList_div_27_Template(rf, ctx) { if (rf & 1) {
|
|
444
517
|
i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("moveup"));
|
445
518
|
i0.ɵɵattribute("aria-label", ctx_r2.moveUpAriaLabel)("data-pc-section", "targetMoveUpButton");
|
446
519
|
i0.ɵɵadvance();
|
447
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveUpIconTemplate);
|
520
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveUpIconTemplate && !ctx_r2._moveUpIconTemplate);
|
448
521
|
i0.ɵɵadvance();
|
449
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveUpIconTemplate);
|
522
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveUpIconTemplate || ctx_r2._moveUpIconTemplate);
|
450
523
|
i0.ɵɵadvance();
|
451
524
|
i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movetop"));
|
452
525
|
i0.ɵɵattribute("aria-label", ctx_r2.moveTopAriaLabel)("data-pc-section", "targetMoveTopButton");
|
453
526
|
i0.ɵɵadvance();
|
454
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveTopIconTemplate);
|
527
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveTopIconTemplate && !ctx_r2._moveTopIconTemplate);
|
455
528
|
i0.ɵɵadvance();
|
456
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveTopIconTemplate);
|
529
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveTopIconTemplate || ctx_r2.moveTopIconTemplate);
|
457
530
|
i0.ɵɵadvance();
|
458
531
|
i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movedown"));
|
459
532
|
i0.ɵɵattribute("aria-label", ctx_r2.moveDownAriaLabel)("data-pc-section", "targetMoveDownButton");
|
460
533
|
i0.ɵɵadvance();
|
461
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveDownIconTemplate);
|
534
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveDownIconTemplate && !ctx_r2._moveDownIconTemplate);
|
462
535
|
i0.ɵɵadvance();
|
463
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveDownIconTemplate);
|
536
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveDownIconTemplate || ctx_r2._moveDownIconTemplate);
|
464
537
|
i0.ɵɵadvance();
|
465
538
|
i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movebottom"));
|
466
539
|
i0.ɵɵattribute("aria-label", ctx_r2.moveBottomAriaLabel)("data-pc-section", "targetMoveBottomButton");
|
467
540
|
i0.ɵɵadvance();
|
468
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveBottomIconTemplate);
|
541
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveBottomIconTemplate && !ctx_r2._moveBottomIconTemplate);
|
469
542
|
i0.ɵɵadvance();
|
470
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveBottomIconTemplate);
|
543
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveBottomIconTemplate || ctx_r2._moveBottomIconTemplate);
|
471
544
|
} }
|
472
545
|
/**
|
473
546
|
* PickList is used to reorder items between different lists.
|
@@ -1003,71 +1076,91 @@ class PickList extends BaseComponent {
|
|
1003
1076
|
* @group Templates
|
1004
1077
|
*/
|
1005
1078
|
sourceFilterIconTemplate;
|
1079
|
+
templates;
|
1080
|
+
_itemTemplate;
|
1081
|
+
_sourceHeaderTemplate;
|
1082
|
+
_targetHeaderTemplate;
|
1083
|
+
_sourceFilterTemplate;
|
1084
|
+
_targetFilterTemplate;
|
1085
|
+
_emptyMessageSourceTemplate;
|
1086
|
+
_emptyFilterMessageSourceTemplate;
|
1087
|
+
_emptyMessageTargetTemplate;
|
1088
|
+
_emptyFilterMessageTargetTemplate;
|
1089
|
+
_moveUpIconTemplate;
|
1090
|
+
_moveTopIconTemplate;
|
1091
|
+
_moveDownIconTemplate;
|
1092
|
+
_moveBottomIconTemplate;
|
1093
|
+
_moveToTargetIconTemplate;
|
1094
|
+
_moveAllToTargetIconTemplate;
|
1095
|
+
_moveToSourceIconTemplate;
|
1096
|
+
_moveAllToSourceIconTemplate;
|
1097
|
+
_targetFilterIconTemplate;
|
1098
|
+
_sourceFilterIconTemplate;
|
1006
1099
|
ngAfterContentInit() {
|
1007
1100
|
this.templates.forEach((item) => {
|
1008
1101
|
switch (item.getType()) {
|
1009
1102
|
case 'item':
|
1010
|
-
this.
|
1103
|
+
this._itemTemplate = item.template;
|
1011
1104
|
break;
|
1012
1105
|
case 'option':
|
1013
|
-
this.
|
1106
|
+
this._itemTemplate = item.template;
|
1014
1107
|
break;
|
1015
1108
|
case 'sourceHeader':
|
1016
|
-
this.
|
1109
|
+
this._sourceHeaderTemplate = item.template;
|
1017
1110
|
break;
|
1018
1111
|
case 'targetHeader':
|
1019
|
-
this.
|
1112
|
+
this._targetHeaderTemplate = item.template;
|
1020
1113
|
break;
|
1021
1114
|
case 'sourceFilter':
|
1022
|
-
this.
|
1115
|
+
this._sourceFilterTemplate = item.template;
|
1023
1116
|
break;
|
1024
1117
|
case 'targetFilter':
|
1025
|
-
this.
|
1118
|
+
this._targetFilterTemplate = item.template;
|
1026
1119
|
break;
|
1027
1120
|
case 'emptymessagesource':
|
1028
|
-
this.
|
1121
|
+
this._emptyMessageSourceTemplate = item.template;
|
1029
1122
|
break;
|
1030
1123
|
case 'emptyfiltermessagesource':
|
1031
|
-
this.
|
1124
|
+
this._emptyFilterMessageSourceTemplate = item.template;
|
1032
1125
|
break;
|
1033
1126
|
case 'emptymessagetarget':
|
1034
|
-
this.
|
1127
|
+
this._emptyMessageTargetTemplate = item.template;
|
1035
1128
|
break;
|
1036
1129
|
case 'emptyfiltermessagetarget':
|
1037
|
-
this.
|
1130
|
+
this._emptyFilterMessageTargetTemplate = item.template;
|
1038
1131
|
break;
|
1039
1132
|
case 'moveupicon':
|
1040
|
-
this.
|
1133
|
+
this._moveUpIconTemplate = item.template;
|
1041
1134
|
break;
|
1042
1135
|
case 'movetopicon':
|
1043
|
-
this.
|
1136
|
+
this._moveTopIconTemplate = item.template;
|
1044
1137
|
break;
|
1045
1138
|
case 'movedownicon':
|
1046
|
-
this.
|
1139
|
+
this._moveDownIconTemplate = item.template;
|
1047
1140
|
break;
|
1048
1141
|
case 'movebottomicon':
|
1049
|
-
this.
|
1142
|
+
this._moveBottomIconTemplate = item.template;
|
1050
1143
|
break;
|
1051
1144
|
case 'movetotargeticon':
|
1052
|
-
this.
|
1145
|
+
this._moveToTargetIconTemplate = item.template;
|
1053
1146
|
break;
|
1054
1147
|
case 'movealltotargeticon':
|
1055
|
-
this.
|
1148
|
+
this._moveAllToTargetIconTemplate = item.template;
|
1056
1149
|
break;
|
1057
1150
|
case 'movetosourceicon':
|
1058
|
-
this.
|
1151
|
+
this._moveToSourceIconTemplate = item.template;
|
1059
1152
|
break;
|
1060
1153
|
case 'movealltosourceicon':
|
1061
|
-
this.
|
1154
|
+
this._moveAllToSourceIconTemplate = item.template;
|
1062
1155
|
break;
|
1063
1156
|
case 'targetfiltericon':
|
1064
|
-
this.
|
1157
|
+
this._targetFilterIconTemplate = item.template;
|
1065
1158
|
break;
|
1066
1159
|
case 'sourcefiltericon':
|
1067
|
-
this.
|
1160
|
+
this._sourceFilterIconTemplate = item.template;
|
1068
1161
|
break;
|
1069
1162
|
default:
|
1070
|
-
this.
|
1163
|
+
this._itemTemplate = item.template;
|
1071
1164
|
break;
|
1072
1165
|
}
|
1073
1166
|
});
|
@@ -1292,8 +1385,9 @@ class PickList extends BaseComponent {
|
|
1292
1385
|
}
|
1293
1386
|
moveRight() {
|
1294
1387
|
if (this.selectedItemsSource && this.selectedItemsSource.length) {
|
1295
|
-
|
1296
|
-
|
1388
|
+
let itemsToMove = [...this.selectedItemsSource];
|
1389
|
+
for (let i = 0; i < itemsToMove.length; i++) {
|
1390
|
+
let selectedItem = itemsToMove[i];
|
1297
1391
|
if (findIndexInList(selectedItem, this.target) == -1) {
|
1298
1392
|
this.target?.push(this.source?.splice(findIndexInList(selectedItem, this.source), 1)[0]);
|
1299
1393
|
if (this.visibleOptionsSource?.includes(selectedItem)) {
|
@@ -1302,11 +1396,12 @@ class PickList extends BaseComponent {
|
|
1302
1396
|
}
|
1303
1397
|
}
|
1304
1398
|
this.onMoveToTarget.emit({
|
1305
|
-
items:
|
1399
|
+
items: itemsToMove
|
1306
1400
|
});
|
1307
1401
|
if (this.keepSelection) {
|
1308
|
-
this.selectedItemsTarget = [...this.selectedItemsTarget, ...
|
1402
|
+
this.selectedItemsTarget = [...this.selectedItemsTarget, ...itemsToMove];
|
1309
1403
|
}
|
1404
|
+
itemsToMove = [];
|
1310
1405
|
this.selectedItemsSource = [];
|
1311
1406
|
if (this.filterValueTarget) {
|
1312
1407
|
this.filter(this.target, this.TARGET_LIST);
|
@@ -1341,8 +1436,9 @@ class PickList extends BaseComponent {
|
|
1341
1436
|
}
|
1342
1437
|
moveLeft() {
|
1343
1438
|
if (this.selectedItemsTarget && this.selectedItemsTarget.length) {
|
1344
|
-
|
1345
|
-
|
1439
|
+
let itemsToMove = [...this.selectedItemsTarget];
|
1440
|
+
for (let i = 0; i < itemsToMove.length; i++) {
|
1441
|
+
let selectedItem = itemsToMove[i];
|
1346
1442
|
if (findIndexInList(selectedItem, this.source) == -1) {
|
1347
1443
|
this.source?.push(this.target?.splice(findIndexInList(selectedItem, this.target), 1)[0]);
|
1348
1444
|
if (this.visibleOptionsTarget?.includes(selectedItem)) {
|
@@ -1351,11 +1447,12 @@ class PickList extends BaseComponent {
|
|
1351
1447
|
}
|
1352
1448
|
}
|
1353
1449
|
this.onMoveToSource.emit({
|
1354
|
-
items:
|
1450
|
+
items: itemsToMove
|
1355
1451
|
});
|
1356
1452
|
if (this.keepSelection) {
|
1357
|
-
this.selectedItemsSource = [...this.selectedItemsSource,
|
1453
|
+
this.selectedItemsSource = [...this.selectedItemsSource, itemsToMove];
|
1358
1454
|
}
|
1455
|
+
itemsToMove = [];
|
1359
1456
|
this.selectedItemsTarget = [];
|
1360
1457
|
if (this.filterValueSource) {
|
1361
1458
|
this.filter(this.source, this.SOURCE_LIST);
|
@@ -1717,25 +1814,26 @@ class PickList extends BaseComponent {
|
|
1717
1814
|
}
|
1718
1815
|
static ɵfac = /*@__PURE__*/ (() => { let ɵPickList_BaseFactory; return function PickList_Factory(__ngFactoryType__) { return (ɵPickList_BaseFactory || (ɵPickList_BaseFactory = i0.ɵɵgetInheritedFactory(PickList)))(__ngFactoryType__ || PickList); }; })();
|
1719
1816
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PickList, selectors: [["p-pickList"], ["p-picklist"], ["p-pick-list"]], contentQueries: function PickList_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
1720
|
-
i0.ɵɵcontentQuery(dirIndex, _c0,
|
1721
|
-
i0.ɵɵcontentQuery(dirIndex, _c1,
|
1722
|
-
i0.ɵɵcontentQuery(dirIndex, _c2,
|
1723
|
-
i0.ɵɵcontentQuery(dirIndex, _c3,
|
1724
|
-
i0.ɵɵcontentQuery(dirIndex, _c4,
|
1725
|
-
i0.ɵɵcontentQuery(dirIndex, _c5,
|
1726
|
-
i0.ɵɵcontentQuery(dirIndex, _c6,
|
1727
|
-
i0.ɵɵcontentQuery(dirIndex, _c7,
|
1728
|
-
i0.ɵɵcontentQuery(dirIndex, _c8,
|
1729
|
-
i0.ɵɵcontentQuery(dirIndex, _c9,
|
1730
|
-
i0.ɵɵcontentQuery(dirIndex, _c10,
|
1731
|
-
i0.ɵɵcontentQuery(dirIndex, _c11,
|
1732
|
-
i0.ɵɵcontentQuery(dirIndex, _c12,
|
1733
|
-
i0.ɵɵcontentQuery(dirIndex, _c13,
|
1734
|
-
i0.ɵɵcontentQuery(dirIndex, _c14,
|
1735
|
-
i0.ɵɵcontentQuery(dirIndex, _c15,
|
1736
|
-
i0.ɵɵcontentQuery(dirIndex, _c16,
|
1737
|
-
i0.ɵɵcontentQuery(dirIndex, _c17,
|
1738
|
-
i0.ɵɵcontentQuery(dirIndex, _c18,
|
1817
|
+
i0.ɵɵcontentQuery(dirIndex, _c0, 4);
|
1818
|
+
i0.ɵɵcontentQuery(dirIndex, _c1, 4);
|
1819
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 4);
|
1820
|
+
i0.ɵɵcontentQuery(dirIndex, _c3, 4);
|
1821
|
+
i0.ɵɵcontentQuery(dirIndex, _c4, 4);
|
1822
|
+
i0.ɵɵcontentQuery(dirIndex, _c5, 4);
|
1823
|
+
i0.ɵɵcontentQuery(dirIndex, _c6, 4);
|
1824
|
+
i0.ɵɵcontentQuery(dirIndex, _c7, 4);
|
1825
|
+
i0.ɵɵcontentQuery(dirIndex, _c8, 4);
|
1826
|
+
i0.ɵɵcontentQuery(dirIndex, _c9, 4);
|
1827
|
+
i0.ɵɵcontentQuery(dirIndex, _c10, 4);
|
1828
|
+
i0.ɵɵcontentQuery(dirIndex, _c11, 4);
|
1829
|
+
i0.ɵɵcontentQuery(dirIndex, _c12, 4);
|
1830
|
+
i0.ɵɵcontentQuery(dirIndex, _c13, 4);
|
1831
|
+
i0.ɵɵcontentQuery(dirIndex, _c14, 4);
|
1832
|
+
i0.ɵɵcontentQuery(dirIndex, _c15, 4);
|
1833
|
+
i0.ɵɵcontentQuery(dirIndex, _c16, 4);
|
1834
|
+
i0.ɵɵcontentQuery(dirIndex, _c17, 4);
|
1835
|
+
i0.ɵɵcontentQuery(dirIndex, _c18, 4);
|
1836
|
+
i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
|
1739
1837
|
} if (rf & 2) {
|
1740
1838
|
let _t;
|
1741
1839
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
|
@@ -1757,6 +1855,7 @@ class PickList extends BaseComponent {
|
|
1757
1855
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveAllToSourceIconTemplate = _t.first);
|
1758
1856
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.targetFilterIconTemplate = _t.first);
|
1759
1857
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sourceFilterIconTemplate = _t.first);
|
1858
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
|
1760
1859
|
} }, viewQuery: function PickList_Query(rf, ctx) { if (rf & 1) {
|
1761
1860
|
i0.ɵɵviewQuery(_c19, 5);
|
1762
1861
|
i0.ɵɵviewQuery(_c20, 5);
|
@@ -1768,41 +1867,41 @@ class PickList extends BaseComponent {
|
|
1768
1867
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listViewTargetChild = _t.first);
|
1769
1868
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sourceFilterViewChild = _t.first);
|
1770
1869
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.targetFilterViewChild = _t.first);
|
1771
|
-
} }, inputs: { source: "source", target: "target", sourceHeader: "sourceHeader", tabindex: [2, "tabindex", "tabindex", numberAttribute], rightButtonAriaLabel: "rightButtonAriaLabel", leftButtonAriaLabel: "leftButtonAriaLabel", allRightButtonAriaLabel: "allRightButtonAriaLabel", allLeftButtonAriaLabel: "allLeftButtonAriaLabel", upButtonAriaLabel: "upButtonAriaLabel", downButtonAriaLabel: "downButtonAriaLabel", topButtonAriaLabel: "topButtonAriaLabel", bottomButtonAriaLabel: "bottomButtonAriaLabel", targetHeader: "targetHeader", responsive: [2, "responsive", "responsive", booleanAttribute], filterBy: "filterBy", filterLocale: "filterLocale", trackBy: "trackBy", sourceTrackBy: "sourceTrackBy", targetTrackBy: "targetTrackBy", showSourceFilter: [2, "showSourceFilter", "showSourceFilter", booleanAttribute], showTargetFilter: [2, "showTargetFilter", "showTargetFilter", booleanAttribute], metaKeySelection: [2, "metaKeySelection", "metaKeySelection", booleanAttribute], dragdrop: [2, "dragdrop", "dragdrop", booleanAttribute], style: "style", styleClass: "styleClass", sourceStyle: "sourceStyle", targetStyle: "targetStyle", showSourceControls: [2, "showSourceControls", "showSourceControls", booleanAttribute], showTargetControls: [2, "showTargetControls", "showTargetControls", booleanAttribute], sourceFilterPlaceholder: "sourceFilterPlaceholder", targetFilterPlaceholder: "targetFilterPlaceholder", disabled: [2, "disabled", "disabled", booleanAttribute], ariaSourceFilterLabel: "ariaSourceFilterLabel", ariaTargetFilterLabel: "ariaTargetFilterLabel", filterMatchMode: "filterMatchMode", stripedRows: [2, "stripedRows", "stripedRows", booleanAttribute], keepSelection: [2, "keepSelection", "keepSelection", booleanAttribute], scrollHeight: "scrollHeight", autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], buttonProps: "buttonProps", moveUpButtonProps: "moveUpButtonProps", moveTopButtonProps: "moveTopButtonProps", moveDownButtonProps: "moveDownButtonProps", moveBottomButtonProps: "moveBottomButtonProps", moveToTargetProps: "moveToTargetProps", moveAllToTargetProps: "moveAllToTargetProps", moveToSourceProps: "moveToSourceProps", moveAllToSourceProps: "moveAllToSourceProps", breakpoint: "breakpoint" }, outputs: { onMoveToSource: "onMoveToSource", onMoveAllToSource: "onMoveAllToSource", onMoveAllToTarget: "onMoveAllToTarget", onMoveToTarget: "onMoveToTarget", onSourceReorder: "onSourceReorder", onTargetReorder: "onTargetReorder", onSourceSelect: "onSourceSelect", onTargetSelect: "onTargetSelect", onSourceFilter: "onSourceFilter", onTargetFilter: "onTargetFilter", onFocus: "onFocus", onBlur: "onBlur" }, standalone: true, features: [i0.ɵɵProvidersFeature([PickListStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls:
|
1870
|
+
} }, inputs: { source: "source", target: "target", sourceHeader: "sourceHeader", tabindex: [2, "tabindex", "tabindex", numberAttribute], rightButtonAriaLabel: "rightButtonAriaLabel", leftButtonAriaLabel: "leftButtonAriaLabel", allRightButtonAriaLabel: "allRightButtonAriaLabel", allLeftButtonAriaLabel: "allLeftButtonAriaLabel", upButtonAriaLabel: "upButtonAriaLabel", downButtonAriaLabel: "downButtonAriaLabel", topButtonAriaLabel: "topButtonAriaLabel", bottomButtonAriaLabel: "bottomButtonAriaLabel", targetHeader: "targetHeader", responsive: [2, "responsive", "responsive", booleanAttribute], filterBy: "filterBy", filterLocale: "filterLocale", trackBy: "trackBy", sourceTrackBy: "sourceTrackBy", targetTrackBy: "targetTrackBy", showSourceFilter: [2, "showSourceFilter", "showSourceFilter", booleanAttribute], showTargetFilter: [2, "showTargetFilter", "showTargetFilter", booleanAttribute], metaKeySelection: [2, "metaKeySelection", "metaKeySelection", booleanAttribute], dragdrop: [2, "dragdrop", "dragdrop", booleanAttribute], style: "style", styleClass: "styleClass", sourceStyle: "sourceStyle", targetStyle: "targetStyle", showSourceControls: [2, "showSourceControls", "showSourceControls", booleanAttribute], showTargetControls: [2, "showTargetControls", "showTargetControls", booleanAttribute], sourceFilterPlaceholder: "sourceFilterPlaceholder", targetFilterPlaceholder: "targetFilterPlaceholder", disabled: [2, "disabled", "disabled", booleanAttribute], ariaSourceFilterLabel: "ariaSourceFilterLabel", ariaTargetFilterLabel: "ariaTargetFilterLabel", filterMatchMode: "filterMatchMode", stripedRows: [2, "stripedRows", "stripedRows", booleanAttribute], keepSelection: [2, "keepSelection", "keepSelection", booleanAttribute], scrollHeight: "scrollHeight", autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], buttonProps: "buttonProps", moveUpButtonProps: "moveUpButtonProps", moveTopButtonProps: "moveTopButtonProps", moveDownButtonProps: "moveDownButtonProps", moveBottomButtonProps: "moveBottomButtonProps", moveToTargetProps: "moveToTargetProps", moveAllToTargetProps: "moveAllToTargetProps", moveToSourceProps: "moveToSourceProps", moveAllToSourceProps: "moveAllToSourceProps", breakpoint: "breakpoint" }, outputs: { onMoveToSource: "onMoveToSource", onMoveAllToSource: "onMoveAllToSource", onMoveAllToTarget: "onMoveAllToTarget", onMoveToTarget: "onMoveToTarget", onSourceReorder: "onSourceReorder", onTargetReorder: "onTargetReorder", onSourceSelect: "onSourceSelect", onTargetSelect: "onTargetSelect", onSourceFilter: "onSourceFilter", onTargetFilter: "onTargetFilter", onFocus: "onFocus", onBlur: "onBlur" }, standalone: true, features: [i0.ɵɵProvidersFeature([PickListStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 34, vars: 93, consts: [["sourcelist", ""], ["targetlist", ""], ["header", ""], ["item", ""], ["cdkDropListGroup", "", 3, "ngStyle", "ngClass"], ["class", "p-picklist-controls p-picklist-source-controls", 4, "ngIf"], [1, "p-picklist-list-container", "p-picklist-source-list-container"], ["optionLabel", "name", 3, "ngModelChange", "onFocus", "onBlur", "keydown", "onDblClick", "multiple", "options", "ngModel", "id", "ngStyle", "striped", "tabindex", "disabled", "metaKeySelection", "scrollHeight", "autoOptionFocus", "filter", "filterBy", "filterLocale", "filterPlaceHolder"], [4, "ngIf"], ["class", "p-picklist-title", 4, "ngIf"], [1, "p-picklist-controls", "p-picklist-transfer-controls"], ["type", "button", "pButton", "", "pRipple", "", "severity", "secondary", 1, "p-button-icon-only", 3, "click", "disabled", "buttonProps"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-picklist-list-container", "p-picklist-target-list-container"], ["class", "p-picklist-controls p-picklist-target-controls", 4, "ngIf"], [1, "p-picklist-controls", "p-picklist-source-controls"], [4, "ngTemplateOutlet"], [1, "p-picklist-title"], [1, "p-picklist-controls", "p-picklist-target-controls"]], template: function PickList_Template(rf, ctx) { if (rf & 1) {
|
1772
1871
|
const _r1 = i0.ɵɵgetCurrentView();
|
1773
1872
|
i0.ɵɵelementStart(0, "div", 4);
|
1774
1873
|
i0.ɵɵtemplate(1, PickList_div_1_Template, 13, 26, "div", 5);
|
1775
1874
|
i0.ɵɵelementStart(2, "div", 6)(3, "p-listbox", 7, 0);
|
1776
1875
|
i0.ɵɵtwoWayListener("ngModelChange", function PickList_Template_p_listbox_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectedItemsSource, $event) || (ctx.selectedItemsSource = $event); return i0.ɵɵresetView($event); });
|
1777
1876
|
i0.ɵɵlistener("onFocus", function PickList_Template_p_listbox_onFocus_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListFocus($event, ctx.SOURCE_LIST)); })("onBlur", function PickList_Template_p_listbox_onBlur_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListBlur($event, ctx.SOURCE_LIST)); })("keydown", function PickList_Template_p_listbox_keydown_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemKeyDown($event, ctx.selectedItemsSource, ctx.onSourceSelect, ctx.SOURCE_LIST)); })("onDblClick", function PickList_Template_p_listbox_onDblClick_3_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onSourceItemDblClick()); });
|
1778
|
-
i0.ɵɵtemplate(5, PickList_ng_container_5_Template, 3, 0, "ng-container", 8)(6,
|
1877
|
+
i0.ɵɵtemplate(5, PickList_ng_container_5_Template, 3, 0, "ng-container", 8)(6, PickList_ng_container_6_Template, 2, 4, "ng-container", 8)(7, PickList_ng_container_7_Template, 2, 1, "ng-container", 8)(8, PickList_div_8_Template, 2, 1, "div", 9)(9, PickList_ng_container_9_Template, 3, 0, "ng-container", 8)(10, PickList_ng_container_10_Template, 2, 1, "ng-container", 8);
|
1779
1878
|
i0.ɵɵelementEnd()();
|
1780
|
-
i0.ɵɵelementStart(
|
1781
|
-
i0.ɵɵlistener("click", function
|
1782
|
-
i0.ɵɵtemplate(10, PickList_ng_container_10_Template, 3, 2, "ng-container", 8)(11, PickList_11_Template, 1, 0, null, 12);
|
1783
|
-
i0.ɵɵelementEnd();
|
1784
|
-
i0.ɵɵelementStart(12, "button", 11);
|
1785
|
-
i0.ɵɵlistener("click", function PickList_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveAllRight()); });
|
1879
|
+
i0.ɵɵelementStart(11, "div", 10)(12, "button", 11);
|
1880
|
+
i0.ɵɵlistener("click", function PickList_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveRight()); });
|
1786
1881
|
i0.ɵɵtemplate(13, PickList_ng_container_13_Template, 3, 2, "ng-container", 8)(14, PickList_14_Template, 1, 0, null, 12);
|
1787
1882
|
i0.ɵɵelementEnd();
|
1788
1883
|
i0.ɵɵelementStart(15, "button", 11);
|
1789
|
-
i0.ɵɵlistener("click", function PickList_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.
|
1884
|
+
i0.ɵɵlistener("click", function PickList_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveAllRight()); });
|
1790
1885
|
i0.ɵɵtemplate(16, PickList_ng_container_16_Template, 3, 2, "ng-container", 8)(17, PickList_17_Template, 1, 0, null, 12);
|
1791
1886
|
i0.ɵɵelementEnd();
|
1792
1887
|
i0.ɵɵelementStart(18, "button", 11);
|
1793
|
-
i0.ɵɵlistener("click", function PickList_Template_button_click_18_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.
|
1888
|
+
i0.ɵɵlistener("click", function PickList_Template_button_click_18_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveLeft()); });
|
1794
1889
|
i0.ɵɵtemplate(19, PickList_ng_container_19_Template, 3, 2, "ng-container", 8)(20, PickList_20_Template, 1, 0, null, 12);
|
1890
|
+
i0.ɵɵelementEnd();
|
1891
|
+
i0.ɵɵelementStart(21, "button", 11);
|
1892
|
+
i0.ɵɵlistener("click", function PickList_Template_button_click_21_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveAllLeft()); });
|
1893
|
+
i0.ɵɵtemplate(22, PickList_ng_container_22_Template, 3, 2, "ng-container", 8)(23, PickList_23_Template, 1, 0, null, 12);
|
1795
1894
|
i0.ɵɵelementEnd()();
|
1796
|
-
i0.ɵɵelementStart(
|
1797
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
1798
|
-
i0.ɵɵlistener("onFocus", function
|
1799
|
-
i0.ɵɵtemplate(
|
1895
|
+
i0.ɵɵelementStart(24, "div", 13)(25, "p-listbox", 7, 1);
|
1896
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PickList_Template_p_listbox_ngModelChange_25_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.selectedItemsTarget, $event) || (ctx.selectedItemsTarget = $event); return i0.ɵɵresetView($event); });
|
1897
|
+
i0.ɵɵlistener("onFocus", function PickList_Template_p_listbox_onFocus_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListFocus($event, ctx.TARGET_LIST)); })("onBlur", function PickList_Template_p_listbox_onBlur_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onListBlur($event, ctx.TARGET_LIST)); })("keydown", function PickList_Template_p_listbox_keydown_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onItemKeyDown($event, ctx.selectedItemsTarget, ctx.onTargetSelect, ctx.TARGET_LIST)); })("onDblClick", function PickList_Template_p_listbox_onDblClick_25_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onTargetItemDblClick()); });
|
1898
|
+
i0.ɵɵtemplate(27, PickList_ng_container_27_Template, 3, 0, "ng-container", 8)(28, PickList_ng_container_28_Template, 2, 4, "ng-container", 8)(29, PickList_ng_container_29_Template, 2, 1, "ng-container", 8)(30, PickList_div_30_Template, 2, 1, "div", 9)(31, PickList_ng_container_31_Template, 3, 0, "ng-container", 8)(32, PickList_ng_container_32_Template, 2, 1, "ng-container", 8);
|
1800
1899
|
i0.ɵɵelementEnd()();
|
1801
|
-
i0.ɵɵtemplate(
|
1900
|
+
i0.ɵɵtemplate(33, PickList_div_33_Template, 13, 26, "div", 14);
|
1802
1901
|
i0.ɵɵelementEnd();
|
1803
1902
|
} if (rf & 2) {
|
1804
1903
|
i0.ɵɵclassMap(ctx.styleClass);
|
1805
|
-
i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction0(
|
1904
|
+
i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction0(84, _c21));
|
1806
1905
|
i0.ɵɵattribute("data-pc-name", "picklist")("data-pc-section", "root");
|
1807
1906
|
i0.ɵɵadvance();
|
1808
1907
|
i0.ɵɵproperty("ngIf", ctx.showSourceControls);
|
@@ -1813,41 +1912,47 @@ class PickList extends BaseComponent {
|
|
1813
1912
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selectedItemsSource);
|
1814
1913
|
i0.ɵɵproperty("id", ctx.idSource + "_list")("ngStyle", ctx.sourceStyle)("striped", ctx.stripedRows)("tabindex", ctx.tabindex)("disabled", ctx.disabled)("metaKeySelection", ctx.metaKeySelection)("scrollHeight", ctx.scrollHeight)("autoOptionFocus", ctx.autoOptionFocus)("filter", ctx.filterBy)("filterBy", ctx.filterBy)("filterLocale", ctx.filterLocale)("filterPlaceHolder", ctx.sourceFilterPlaceholder);
|
1815
1914
|
i0.ɵɵadvance(2);
|
1816
|
-
i0.ɵɵproperty("ngIf", ctx.sourceHeaderTemplate);
|
1915
|
+
i0.ɵɵproperty("ngIf", ctx.sourceHeaderTemplate || ctx._sourceHeaderTemplate);
|
1916
|
+
i0.ɵɵadvance();
|
1917
|
+
i0.ɵɵproperty("ngIf", ctx.sourceFilterTemplate || ctx._sourceFilterTemplate);
|
1918
|
+
i0.ɵɵadvance();
|
1919
|
+
i0.ɵɵproperty("ngIf", ctx.sourceFilterIconTemplate || ctx._sourceFilterIconTemplate);
|
1920
|
+
i0.ɵɵadvance();
|
1921
|
+
i0.ɵɵproperty("ngIf", !ctx.sourceHeaderTemplate && !ctx._sourceHeaderTemplate);
|
1817
1922
|
i0.ɵɵadvance();
|
1818
|
-
i0.ɵɵproperty("ngIf",
|
1923
|
+
i0.ɵɵproperty("ngIf", ctx.itemTemplate || ctx._itemTemplate);
|
1819
1924
|
i0.ɵɵadvance();
|
1820
|
-
i0.ɵɵproperty("ngIf", ctx.
|
1925
|
+
i0.ɵɵproperty("ngIf", ctx.emptyFilterMessageSourceTemplate || ctx._emptyFilterMessageSourceTemplate || ctx.emptyMessageSourceTemplate || ctx._emptyMessageSourceTemplate);
|
1821
1926
|
i0.ɵɵadvance();
|
1822
1927
|
i0.ɵɵattribute("data-pc-section", "buttons")("data-pc-group-section", "controls");
|
1823
1928
|
i0.ɵɵadvance();
|
1824
1929
|
i0.ɵɵproperty("disabled", ctx.moveRightDisabled())("buttonProps", ctx.getButtonProps("movetotarget"));
|
1825
1930
|
i0.ɵɵattribute("aria-label", ctx.moveToTargetAriaLabel)("data-pc-section", "moveToTargetButton");
|
1826
1931
|
i0.ɵɵadvance();
|
1827
|
-
i0.ɵɵproperty("ngIf", !ctx.moveToTargetIconTemplate);
|
1932
|
+
i0.ɵɵproperty("ngIf", !ctx.moveToTargetIconTemplate && !ctx._moveToTargetIconTemplate);
|
1828
1933
|
i0.ɵɵadvance();
|
1829
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1934
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToTargetIconTemplate || ctx._moveToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(85, _c22, ctx.viewChanged));
|
1830
1935
|
i0.ɵɵadvance();
|
1831
1936
|
i0.ɵɵproperty("disabled", ctx.moveAllRightDisabled())("buttonProps", ctx.getButtonProps("movealltotarget"));
|
1832
1937
|
i0.ɵɵattribute("aria-label", ctx.moveAllToTargetAriaLabel)("data-pc-section", "moveAllToTargetButton");
|
1833
1938
|
i0.ɵɵadvance();
|
1834
|
-
i0.ɵɵproperty("ngIf", !ctx.moveAllToTargetIconTemplate);
|
1939
|
+
i0.ɵɵproperty("ngIf", !ctx.moveAllToTargetIconTemplate && !ctx._moveAllToTargetIconTemplate);
|
1835
1940
|
i0.ɵɵadvance();
|
1836
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1941
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToTargetIconTemplate || ctx._moveAllToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(87, _c22, ctx.viewChanged));
|
1837
1942
|
i0.ɵɵadvance();
|
1838
1943
|
i0.ɵɵproperty("disabled", ctx.moveLeftDisabled())("buttonProps", ctx.getButtonProps("movetosource"));
|
1839
1944
|
i0.ɵɵattribute("aria-label", ctx.moveToSourceAriaLabel)("data-pc-section", "moveToSourceButton");
|
1840
1945
|
i0.ɵɵadvance();
|
1841
|
-
i0.ɵɵproperty("ngIf", !ctx.moveToSourceIconTemplate);
|
1946
|
+
i0.ɵɵproperty("ngIf", !ctx.moveToSourceIconTemplate && !ctx._moveToSourceIconTemplate);
|
1842
1947
|
i0.ɵɵadvance();
|
1843
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1948
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToSourceIconTemplate || ctx._moveToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(89, _c22, ctx.viewChanged));
|
1844
1949
|
i0.ɵɵadvance();
|
1845
1950
|
i0.ɵɵproperty("disabled", ctx.moveAllLeftDisabled())("buttonProps", ctx.getButtonProps("movealltosource"));
|
1846
1951
|
i0.ɵɵattribute("aria-label", ctx.moveAllToSourceAriaLabel)("data-pc-section", "moveAllToSourceButton");
|
1847
1952
|
i0.ɵɵadvance();
|
1848
|
-
i0.ɵɵproperty("ngIf", !ctx.moveAllToSourceIconTemplate);
|
1953
|
+
i0.ɵɵproperty("ngIf", !ctx.moveAllToSourceIconTemplate && !ctx._moveAllToSourceIconTemplate);
|
1849
1954
|
i0.ɵɵadvance();
|
1850
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1955
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToSourceIconTemplate || ctx._moveAllToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(91, _c22, ctx.viewChanged));
|
1851
1956
|
i0.ɵɵadvance();
|
1852
1957
|
i0.ɵɵattribute("data-pc-section", "targetWrapper")("data-pc-group-section", "listwrapper");
|
1853
1958
|
i0.ɵɵadvance();
|
@@ -1855,49 +1960,27 @@ class PickList extends BaseComponent {
|
|
1855
1960
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selectedItemsTarget);
|
1856
1961
|
i0.ɵɵproperty("id", ctx.idTarget + "_list")("ngStyle", ctx.targetStyle)("striped", ctx.stripedRows)("tabindex", ctx.tabindex)("disabled", ctx.disabled)("metaKeySelection", ctx.metaKeySelection)("scrollHeight", ctx.scrollHeight)("autoOptionFocus", ctx.autoOptionFocus)("filter", ctx.filterBy)("filterBy", ctx.filterBy)("filterLocale", ctx.filterLocale)("filterPlaceHolder", ctx.targetFilterPlaceholder);
|
1857
1962
|
i0.ɵɵadvance(2);
|
1858
|
-
i0.ɵɵproperty("ngIf", ctx.targetHeaderTemplate);
|
1963
|
+
i0.ɵɵproperty("ngIf", ctx.targetHeaderTemplate || ctx._targetHeaderTemplate);
|
1859
1964
|
i0.ɵɵadvance();
|
1860
|
-
i0.ɵɵproperty("ngIf",
|
1965
|
+
i0.ɵɵproperty("ngIf", ctx.targetFilterTemplate || ctx._targetFilterTemplate);
|
1861
1966
|
i0.ɵɵadvance();
|
1862
|
-
i0.ɵɵproperty("ngIf", ctx.
|
1967
|
+
i0.ɵɵproperty("ngIf", ctx.targetFilterIconTemplate || ctx._targetFilterIconTemplate);
|
1968
|
+
i0.ɵɵadvance();
|
1969
|
+
i0.ɵɵproperty("ngIf", !ctx.targetHeaderTemplate && !ctx._targetHeaderTemplate);
|
1970
|
+
i0.ɵɵadvance();
|
1971
|
+
i0.ɵɵproperty("ngIf", ctx.itemTemplate || ctx._itemTemplate);
|
1972
|
+
i0.ɵɵadvance();
|
1973
|
+
i0.ɵɵproperty("ngIf", ctx.emptyFilterMessageTargetTemplate || ctx._emptyFilterMessageTargetTemplate || ctx.emptyMessageTargetTemplate || ctx._emptyMessageTargetTemplate);
|
1863
1974
|
i0.ɵɵadvance();
|
1864
1975
|
i0.ɵɵproperty("ngIf", ctx.showTargetControls);
|
1865
|
-
} }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, ButtonDirective,
|
1866
|
-
Ripple,
|
1867
|
-
DragDropModule, i2.CdkDropListGroup, AngleDoubleDownIcon,
|
1868
|
-
AngleDoubleLeftIcon,
|
1869
|
-
AngleDoubleRightIcon,
|
1870
|
-
AngleDoubleUpIcon,
|
1871
|
-
AngleDownIcon,
|
1872
|
-
AngleLeftIcon,
|
1873
|
-
AngleRightIcon,
|
1874
|
-
AngleUpIcon,
|
1875
|
-
Listbox,
|
1876
|
-
FormsModule, i3.NgControlStatus, i3.NgModel, SharedModule], encapsulation: 2, changeDetection: 0 });
|
1976
|
+
} }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, ButtonDirective, Ripple, DragDropModule, i2.CdkDropListGroup, AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, Listbox, FormsModule, i3.NgControlStatus, i3.NgModel, SharedModule], encapsulation: 2, changeDetection: 0 });
|
1877
1977
|
}
|
1878
1978
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PickList, [{
|
1879
1979
|
type: Component,
|
1880
1980
|
args: [{
|
1881
1981
|
selector: 'p-pickList, p-picklist, p-pick-list',
|
1882
1982
|
standalone: true,
|
1883
|
-
imports: [
|
1884
|
-
CommonModule,
|
1885
|
-
ButtonDirective,
|
1886
|
-
Ripple,
|
1887
|
-
DragDropModule,
|
1888
|
-
AngleDoubleDownIcon,
|
1889
|
-
AngleDoubleLeftIcon,
|
1890
|
-
AngleDoubleRightIcon,
|
1891
|
-
AngleDoubleUpIcon,
|
1892
|
-
AngleDownIcon,
|
1893
|
-
AngleLeftIcon,
|
1894
|
-
AngleRightIcon,
|
1895
|
-
AngleUpIcon,
|
1896
|
-
SearchIcon,
|
1897
|
-
Listbox,
|
1898
|
-
FormsModule,
|
1899
|
-
SharedModule
|
1900
|
-
],
|
1983
|
+
imports: [CommonModule, ButtonDirective, Ripple, DragDropModule, AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, Listbox, FormsModule, SharedModule],
|
1901
1984
|
template: `
|
1902
1985
|
<div [class]="styleClass" [ngStyle]="style" [ngClass]="{ 'p-picklist p-component': true }" cdkDropListGroup [attr.data-pc-name]="'picklist'" [attr.data-pc-section]="'root'">
|
1903
1986
|
<div class="p-picklist-controls p-picklist-source-controls" *ngIf="showSourceControls" [attr.data-pc-section]="'sourceControls'" [attr.data-pc-group-section]="'controls'">
|
@@ -1913,8 +1996,8 @@ class PickList extends BaseComponent {
|
|
1913
1996
|
[attr.data-pc-section]="'sourceMoveUpButton'"
|
1914
1997
|
[buttonProps]="getButtonProps('moveup')"
|
1915
1998
|
>
|
1916
|
-
<AngleUpIcon *ngIf="!moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
|
1917
|
-
<ng-template *ngTemplateOutlet="moveUpIconTemplate"></ng-template>
|
1999
|
+
<AngleUpIcon *ngIf="!moveUpIconTemplate && !_moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
|
2000
|
+
<ng-template *ngTemplateOutlet="moveUpIconTemplate || _moveUpIconTemplate"></ng-template>
|
1918
2001
|
</button>
|
1919
2002
|
<button
|
1920
2003
|
type="button"
|
@@ -1928,8 +2011,8 @@ class PickList extends BaseComponent {
|
|
1928
2011
|
[attr.data-pc-section]="'sourceMoveTopButton'"
|
1929
2012
|
[buttonProps]="getButtonProps('movetop')"
|
1930
2013
|
>
|
1931
|
-
<AngleDoubleUpIcon *ngIf="!moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
|
1932
|
-
<ng-template *ngTemplateOutlet="moveTopIconTemplate"></ng-template>
|
2014
|
+
<AngleDoubleUpIcon *ngIf="!moveTopIconTemplate && !_moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
|
2015
|
+
<ng-template *ngTemplateOutlet="moveTopIconTemplate || _moveTopIconTemplate"></ng-template>
|
1933
2016
|
</button>
|
1934
2017
|
<button
|
1935
2018
|
type="button"
|
@@ -1943,8 +2026,8 @@ class PickList extends BaseComponent {
|
|
1943
2026
|
[attr.data-pc-section]="'sourceMoveDownButton'"
|
1944
2027
|
[buttonProps]="getButtonProps('movedown')"
|
1945
2028
|
>
|
1946
|
-
<AngleDownIcon *ngIf="!moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
|
1947
|
-
<ng-template *ngTemplateOutlet="moveDownIconTemplate"></ng-template>
|
2029
|
+
<AngleDownIcon *ngIf="!moveDownIconTemplate && !_moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
|
2030
|
+
<ng-template *ngTemplateOutlet="moveDownIconTemplate || _moveDownIconTemplate"></ng-template>
|
1948
2031
|
</button>
|
1949
2032
|
<button
|
1950
2033
|
type="button"
|
@@ -1958,8 +2041,8 @@ class PickList extends BaseComponent {
|
|
1958
2041
|
[attr.data-pc-section]="'sourceMoveBottomButton'"
|
1959
2042
|
[buttonProps]="getButtonProps('movebottom')"
|
1960
2043
|
>
|
1961
|
-
<AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
|
1962
|
-
<ng-template *ngTemplateOutlet="moveBottomIconTemplate"></ng-template>
|
2044
|
+
<AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate || _moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
|
2045
|
+
<ng-template *ngTemplateOutlet="moveBottomIconTemplate || _moveBottomIconTemplate"></ng-template>
|
1963
2046
|
</button>
|
1964
2047
|
</div>
|
1965
2048
|
<div class="p-picklist-list-container p-picklist-source-list-container" [attr.data-pc-section]="'sourceWrapper'" [attr.data-pc-group-section]="'listWrapper'">
|
@@ -1986,17 +2069,26 @@ class PickList extends BaseComponent {
|
|
1986
2069
|
[filterLocale]="filterLocale"
|
1987
2070
|
[filterPlaceHolder]="sourceFilterPlaceholder"
|
1988
2071
|
>
|
1989
|
-
<ng-container *ngIf="sourceHeaderTemplate">
|
2072
|
+
<ng-container *ngIf="sourceHeaderTemplate || _sourceHeaderTemplate">
|
1990
2073
|
<ng-template #header>
|
1991
|
-
<ng-template *ngTemplateOutlet="sourceHeaderTemplate"></ng-template>
|
2074
|
+
<ng-template *ngTemplateOutlet="sourceHeaderTemplate || _sourceHeaderTemplate"></ng-template>
|
1992
2075
|
</ng-template>
|
1993
2076
|
</ng-container>
|
1994
|
-
<
|
1995
|
-
|
2077
|
+
<ng-container *ngIf="sourceFilterTemplate || _sourceFilterTemplate">
|
2078
|
+
<ng-container *ngTemplateOutlet="sourceFilterTemplate || _sourceFilterTemplate; context: { options: sourceFilterOptions }"></ng-container>
|
2079
|
+
</ng-container>
|
2080
|
+
<ng-container *ngIf="sourceFilterIconTemplate || _sourceFilterIconTemplate">
|
2081
|
+
<ng-container *ngTemplateOutlet="sourceFilterIconTemplate || _sourceFilterIconTemplate"></ng-container>
|
2082
|
+
</ng-container>
|
2083
|
+
<div class="p-picklist-title" *ngIf="!sourceHeaderTemplate && !_sourceHeaderTemplate">{{ sourceHeader }}</div>
|
2084
|
+
<ng-container *ngIf="itemTemplate || _itemTemplate">
|
1996
2085
|
<ng-template #item let-item let-index="index" let-selected="selected">
|
1997
|
-
<ng-container *ngTemplateOutlet="itemTemplate; context: { $implicit: item, index: index, selected: selected }"></ng-container>
|
2086
|
+
<ng-container *ngTemplateOutlet="itemTemplate || _itemTemplate; context: { $implicit: item, index: index, selected: selected }"></ng-container>
|
1998
2087
|
</ng-template>
|
1999
2088
|
</ng-container>
|
2089
|
+
<ng-container *ngIf="emptyFilterMessageSourceTemplate || _emptyFilterMessageSourceTemplate || emptyMessageSourceTemplate || _emptyMessageSourceTemplate">
|
2090
|
+
<ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate || _emptyFilterMessageSourceTemplate || emptyMessageSourceTemplate || _emptyMessageSourceTemplate"></ng-container>
|
2091
|
+
</ng-container>
|
2000
2092
|
</p-listbox>
|
2001
2093
|
</div>
|
2002
2094
|
<div class="p-picklist-controls p-picklist-transfer-controls" [attr.data-pc-section]="'buttons'" [attr.data-pc-group-section]="'controls'">
|
@@ -2012,11 +2104,11 @@ class PickList extends BaseComponent {
|
|
2012
2104
|
[attr.data-pc-section]="'moveToTargetButton'"
|
2013
2105
|
[buttonProps]="getButtonProps('movetotarget')"
|
2014
2106
|
>
|
2015
|
-
<ng-container *ngIf="!moveToTargetIconTemplate">
|
2107
|
+
<ng-container *ngIf="!moveToTargetIconTemplate && !_moveToTargetIconTemplate">
|
2016
2108
|
<AngleRightIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movetotargeticon'" />
|
2017
2109
|
<AngleDownIcon *ngIf="viewChanged" [attr.data-pc-section]="'movetotargeticon'" />
|
2018
2110
|
</ng-container>
|
2019
|
-
<ng-template *ngTemplateOutlet="moveToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2111
|
+
<ng-template *ngTemplateOutlet="moveToTargetIconTemplate || _moveToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2020
2112
|
</button>
|
2021
2113
|
<button
|
2022
2114
|
type="button"
|
@@ -2030,11 +2122,11 @@ class PickList extends BaseComponent {
|
|
2030
2122
|
[attr.data-pc-section]="'moveAllToTargetButton'"
|
2031
2123
|
[buttonProps]="getButtonProps('movealltotarget')"
|
2032
2124
|
>
|
2033
|
-
<ng-container *ngIf="!moveAllToTargetIconTemplate">
|
2125
|
+
<ng-container *ngIf="!moveAllToTargetIconTemplate && !_moveAllToTargetIconTemplate">
|
2034
2126
|
<AngleDoubleRightIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movealltotargeticon'" />
|
2035
2127
|
<AngleDoubleDownIcon *ngIf="viewChanged" [attr.data-pc-section]="'movealltotargeticon'" />
|
2036
2128
|
</ng-container>
|
2037
|
-
<ng-template *ngTemplateOutlet="moveAllToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2129
|
+
<ng-template *ngTemplateOutlet="moveAllToTargetIconTemplate || _moveAllToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2038
2130
|
</button>
|
2039
2131
|
<button
|
2040
2132
|
type="button"
|
@@ -2048,11 +2140,11 @@ class PickList extends BaseComponent {
|
|
2048
2140
|
[attr.data-pc-section]="'moveToSourceButton'"
|
2049
2141
|
[buttonProps]="getButtonProps('movetosource')"
|
2050
2142
|
>
|
2051
|
-
<ng-container *ngIf="!moveToSourceIconTemplate">
|
2143
|
+
<ng-container *ngIf="!moveToSourceIconTemplate && !_moveToSourceIconTemplate">
|
2052
2144
|
<AngleLeftIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movedownsourceticon'" />
|
2053
2145
|
<AngleUpIcon *ngIf="viewChanged" [attr.data-pc-section]="'movedownsourceticon'" />
|
2054
2146
|
</ng-container>
|
2055
|
-
<ng-template *ngTemplateOutlet="moveToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2147
|
+
<ng-template *ngTemplateOutlet="moveToSourceIconTemplate || _moveToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2056
2148
|
</button>
|
2057
2149
|
<button
|
2058
2150
|
type="button"
|
@@ -2066,11 +2158,11 @@ class PickList extends BaseComponent {
|
|
2066
2158
|
[attr.data-pc-section]="'moveAllToSourceButton'"
|
2067
2159
|
[buttonProps]="getButtonProps('movealltosource')"
|
2068
2160
|
>
|
2069
|
-
<ng-container *ngIf="!moveAllToSourceIconTemplate">
|
2161
|
+
<ng-container *ngIf="!moveAllToSourceIconTemplate && !_moveAllToSourceIconTemplate">
|
2070
2162
|
<AngleDoubleLeftIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movealltosourceticon'" />
|
2071
2163
|
<AngleDoubleUpIcon *ngIf="viewChanged" [attr.data-pc-section]="'movealltosourceticon'" />
|
2072
2164
|
</ng-container>
|
2073
|
-
<ng-template *ngTemplateOutlet="moveAllToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2165
|
+
<ng-template *ngTemplateOutlet="moveAllToSourceIconTemplate || _moveAllToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2074
2166
|
</button>
|
2075
2167
|
</div>
|
2076
2168
|
<div class="p-picklist-list-container p-picklist-target-list-container" [attr.data-pc-section]="'targetWrapper'" [attr.data-pc-group-section]="'listwrapper'">
|
@@ -2097,17 +2189,26 @@ class PickList extends BaseComponent {
|
|
2097
2189
|
[filterLocale]="filterLocale"
|
2098
2190
|
[filterPlaceHolder]="targetFilterPlaceholder"
|
2099
2191
|
>
|
2100
|
-
<ng-container *ngIf="targetHeaderTemplate">
|
2192
|
+
<ng-container *ngIf="targetHeaderTemplate || _targetHeaderTemplate">
|
2101
2193
|
<ng-template #header>
|
2102
|
-
<ng-template *ngTemplateOutlet="targetHeaderTemplate"></ng-template>
|
2194
|
+
<ng-template *ngTemplateOutlet="targetHeaderTemplate || _targetHeaderTemplate"></ng-template>
|
2103
2195
|
</ng-template>
|
2104
2196
|
</ng-container>
|
2105
|
-
<
|
2106
|
-
|
2197
|
+
<ng-container *ngIf="targetFilterTemplate || _targetFilterTemplate">
|
2198
|
+
<ng-container *ngTemplateOutlet="targetFilterTemplate || _targetFilterTemplate; context: { options: targetFilterOptions }"></ng-container>
|
2199
|
+
</ng-container>
|
2200
|
+
<ng-container *ngIf="targetFilterIconTemplate || _targetFilterIconTemplate">
|
2201
|
+
<ng-container *ngTemplateOutlet="targetFilterIconTemplate || _targetFilterIconTemplate"></ng-container>
|
2202
|
+
</ng-container>
|
2203
|
+
<div class="p-picklist-title" *ngIf="!targetHeaderTemplate && !_targetHeaderTemplate">{{ targetHeader }}</div>
|
2204
|
+
<ng-container *ngIf="itemTemplate || _itemTemplate">
|
2107
2205
|
<ng-template #item let-item let-index="index" let-selected="selected">
|
2108
|
-
<ng-container *ngTemplateOutlet="itemTemplate; context: { $implicit: item, index: index, selected: selected }"></ng-container>
|
2206
|
+
<ng-container *ngTemplateOutlet="itemTemplate || _itemTemplate; context: { $implicit: item, index: index, selected: selected }"></ng-container>
|
2109
2207
|
</ng-template>
|
2110
2208
|
</ng-container>
|
2209
|
+
<ng-container *ngIf="emptyFilterMessageTargetTemplate || _emptyFilterMessageTargetTemplate || emptyMessageTargetTemplate || _emptyMessageTargetTemplate">
|
2210
|
+
<ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate || _emptyFilterMessageTargetTemplate || emptyMessageTargetTemplate || _emptyMessageTargetTemplate"></ng-container>
|
2211
|
+
</ng-container>
|
2111
2212
|
</p-listbox>
|
2112
2213
|
</div>
|
2113
2214
|
<div class="p-picklist-controls p-picklist-target-controls" *ngIf="showTargetControls" [attr.data-pc-section]="'targetControls'" [attr.data-pc-group-section]="'controls'">
|
@@ -2123,8 +2224,8 @@ class PickList extends BaseComponent {
|
|
2123
2224
|
[attr.data-pc-section]="'targetMoveUpButton'"
|
2124
2225
|
[buttonProps]="getButtonProps('moveup')"
|
2125
2226
|
>
|
2126
|
-
<AngleUpIcon *ngIf="!moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
|
2127
|
-
<ng-template *ngTemplateOutlet="moveUpIconTemplate"></ng-template>
|
2227
|
+
<AngleUpIcon *ngIf="!moveUpIconTemplate && !_moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
|
2228
|
+
<ng-template *ngTemplateOutlet="moveUpIconTemplate || _moveUpIconTemplate"></ng-template>
|
2128
2229
|
</button>
|
2129
2230
|
<button
|
2130
2231
|
type="button"
|
@@ -2138,8 +2239,8 @@ class PickList extends BaseComponent {
|
|
2138
2239
|
[attr.data-pc-section]="'targetMoveTopButton'"
|
2139
2240
|
[buttonProps]="getButtonProps('movetop')"
|
2140
2241
|
>
|
2141
|
-
<AngleDoubleUpIcon *ngIf="!moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
|
2142
|
-
<ng-template *ngTemplateOutlet="moveTopIconTemplate"></ng-template>
|
2242
|
+
<AngleDoubleUpIcon *ngIf="!moveTopIconTemplate && !_moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
|
2243
|
+
<ng-template *ngTemplateOutlet="moveTopIconTemplate || moveTopIconTemplate"></ng-template>
|
2143
2244
|
</button>
|
2144
2245
|
<button
|
2145
2246
|
type="button"
|
@@ -2153,8 +2254,8 @@ class PickList extends BaseComponent {
|
|
2153
2254
|
[attr.data-pc-section]="'targetMoveDownButton'"
|
2154
2255
|
[buttonProps]="getButtonProps('movedown')"
|
2155
2256
|
>
|
2156
|
-
<AngleDownIcon *ngIf="!moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
|
2157
|
-
<ng-template *ngTemplateOutlet="moveDownIconTemplate"></ng-template>
|
2257
|
+
<AngleDownIcon *ngIf="!moveDownIconTemplate && !_moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
|
2258
|
+
<ng-template *ngTemplateOutlet="moveDownIconTemplate || _moveDownIconTemplate"></ng-template>
|
2158
2259
|
</button>
|
2159
2260
|
<button
|
2160
2261
|
type="button"
|
@@ -2168,8 +2269,8 @@ class PickList extends BaseComponent {
|
|
2168
2269
|
[attr.data-pc-section]="'targetMoveBottomButton'"
|
2169
2270
|
[buttonProps]="getButtonProps('movebottom')"
|
2170
2271
|
>
|
2171
|
-
<AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
|
2172
|
-
<ng-template *ngTemplateOutlet="moveBottomIconTemplate"></ng-template>
|
2272
|
+
<AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate && !_moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
|
2273
|
+
<ng-template *ngTemplateOutlet="moveBottomIconTemplate || _moveBottomIconTemplate"></ng-template>
|
2173
2274
|
</button>
|
2174
2275
|
</div>
|
2175
2276
|
</div>
|
@@ -2326,61 +2427,64 @@ class PickList extends BaseComponent {
|
|
2326
2427
|
args: ['targetFilter']
|
2327
2428
|
}], itemTemplate: [{
|
2328
2429
|
type: ContentChild,
|
2329
|
-
args: ['item']
|
2430
|
+
args: ['item', { descendants: false }]
|
2330
2431
|
}], sourceHeaderTemplate: [{
|
2331
2432
|
type: ContentChild,
|
2332
|
-
args: ['sourceHeader']
|
2433
|
+
args: ['sourceHeader', { descendants: false }]
|
2333
2434
|
}], targetHeaderTemplate: [{
|
2334
2435
|
type: ContentChild,
|
2335
|
-
args: ['targetHeader']
|
2436
|
+
args: ['targetHeader', { descendants: false }]
|
2336
2437
|
}], sourceFilterTemplate: [{
|
2337
2438
|
type: ContentChild,
|
2338
|
-
args: ['sourceFilter']
|
2439
|
+
args: ['sourceFilter', { descendants: false }]
|
2339
2440
|
}], targetFilterTemplate: [{
|
2340
2441
|
type: ContentChild,
|
2341
|
-
args: ['targetFilter']
|
2442
|
+
args: ['targetFilter', { descendants: false }]
|
2342
2443
|
}], emptyMessageSourceTemplate: [{
|
2343
2444
|
type: ContentChild,
|
2344
|
-
args: ['emptymessagesource']
|
2445
|
+
args: ['emptymessagesource', { descendants: false }]
|
2345
2446
|
}], emptyFilterMessageSourceTemplate: [{
|
2346
2447
|
type: ContentChild,
|
2347
|
-
args: ['emptyfiltermessagesource']
|
2448
|
+
args: ['emptyfiltermessagesource', { descendants: false }]
|
2348
2449
|
}], emptyMessageTargetTemplate: [{
|
2349
2450
|
type: ContentChild,
|
2350
|
-
args: ['emptymessagetarget']
|
2451
|
+
args: ['emptymessagetarget', { descendants: false }]
|
2351
2452
|
}], emptyFilterMessageTargetTemplate: [{
|
2352
2453
|
type: ContentChild,
|
2353
|
-
args: ['emptyfiltermessagetarget']
|
2454
|
+
args: ['emptyfiltermessagetarget', { descendants: false }]
|
2354
2455
|
}], moveUpIconTemplate: [{
|
2355
2456
|
type: ContentChild,
|
2356
|
-
args: ['moveupicon']
|
2457
|
+
args: ['moveupicon', { descendants: false }]
|
2357
2458
|
}], moveTopIconTemplate: [{
|
2358
2459
|
type: ContentChild,
|
2359
|
-
args: ['movetopicon']
|
2460
|
+
args: ['movetopicon', { descendants: false }]
|
2360
2461
|
}], moveDownIconTemplate: [{
|
2361
2462
|
type: ContentChild,
|
2362
|
-
args: ['movedownicon']
|
2463
|
+
args: ['movedownicon', { descendants: false }]
|
2363
2464
|
}], moveBottomIconTemplate: [{
|
2364
2465
|
type: ContentChild,
|
2365
|
-
args: ['movebottomicon']
|
2466
|
+
args: ['movebottomicon', { descendants: false }]
|
2366
2467
|
}], moveToTargetIconTemplate: [{
|
2367
2468
|
type: ContentChild,
|
2368
|
-
args: ['movetotargeticon']
|
2469
|
+
args: ['movetotargeticon', { descendants: false }]
|
2369
2470
|
}], moveAllToTargetIconTemplate: [{
|
2370
2471
|
type: ContentChild,
|
2371
|
-
args: ['movealltotargeticon']
|
2472
|
+
args: ['movealltotargeticon', { descendants: false }]
|
2372
2473
|
}], moveToSourceIconTemplate: [{
|
2373
2474
|
type: ContentChild,
|
2374
|
-
args: ['movetosourceicon']
|
2475
|
+
args: ['movetosourceicon', { descendants: false }]
|
2375
2476
|
}], moveAllToSourceIconTemplate: [{
|
2376
2477
|
type: ContentChild,
|
2377
|
-
args: ['movealltosourceicon']
|
2478
|
+
args: ['movealltosourceicon', { descendants: false }]
|
2378
2479
|
}], targetFilterIconTemplate: [{
|
2379
2480
|
type: ContentChild,
|
2380
|
-
args: ['targetfiltericon']
|
2481
|
+
args: ['targetfiltericon', { descendants: false }]
|
2381
2482
|
}], sourceFilterIconTemplate: [{
|
2382
2483
|
type: ContentChild,
|
2383
|
-
args: ['sourcefiltericon']
|
2484
|
+
args: ['sourcefiltericon', { descendants: false }]
|
2485
|
+
}], templates: [{
|
2486
|
+
type: ContentChildren,
|
2487
|
+
args: [PrimeTemplate]
|
2384
2488
|
}] }); })();
|
2385
2489
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PickList, { className: "PickList" }); })();
|
2386
2490
|
class PickListModule {
|