primeng 18.0.0-rc.2 → 18.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/accordion/accordion.d.ts +7 -7
- package/autocomplete/autocomplete.d.ts +26 -13
- 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/config/primeng.d.ts +12 -6
- package/config/provideprimeng.d.ts +1 -12
- package/config/themeprovider.d.ts +10 -4
- package/confirmdialog/confirmdialog.d.ts +15 -5
- package/confirmpopup/confirmpopup.d.ts +11 -5
- package/contextmenu/contextmenu.d.ts +10 -6
- package/datepicker/datepicker.d.ts +25 -11
- 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 +227 -168
- package/esm2022/autocomplete/style/autocompletestyle.mjs +5 -4
- 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 +200 -137
- 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/colorpicker/colorpicker.mjs +2 -2
- package/esm2022/config/primeng.mjs +14 -18
- package/esm2022/config/provideprimeng.mjs +11 -3
- package/esm2022/config/themeprovider.mjs +10 -16
- package/esm2022/confirmdialog/confirmdialog.mjs +105 -61
- package/esm2022/confirmpopup/confirmpopup.mjs +57 -29
- package/esm2022/contextmenu/contextmenu.mjs +52 -21
- package/esm2022/datepicker/datepicker.mjs +200 -159
- package/esm2022/dialog/dialog.mjs +113 -67
- package/esm2022/divider/divider.mjs +2 -4
- package/esm2022/dock/dock.mjs +31 -13
- package/esm2022/drawer/drawer.mjs +115 -73
- package/esm2022/dropdown/dropdown.mjs +13 -5
- package/esm2022/dynamicdialog/dialogservice.mjs +2 -2
- 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 +114 -67
- package/esm2022/imagecompare/imagecompare.mjs +31 -11
- package/esm2022/inplace/inplace.mjs +49 -24
- package/esm2022/inputmask/inputmask.mjs +33 -17
- package/esm2022/inputmask/style/inputmaskstyle.mjs +2 -2
- package/esm2022/inputnumber/inputnumber.mjs +58 -50
- package/esm2022/inputotp/inputotp.mjs +33 -14
- package/esm2022/inputtext/inputtext.mjs +11 -10
- package/esm2022/listbox/listbox.mjs +137 -78
- package/esm2022/megamenu/megamenu.mjs +105 -59
- package/esm2022/menu/menu.mjs +27 -27
- 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/multiselect/style/multiselectstyle.mjs +1 -4
- package/esm2022/orderlist/orderlist.mjs +125 -70
- package/esm2022/organizationchart/organizationchart.mjs +30 -14
- package/esm2022/overlay/overlay.mjs +27 -7
- package/esm2022/overlay/style/overlaystyle.mjs +2 -2
- package/esm2022/overlaypanel/overlaypanel.mjs +34 -11
- 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 +114 -52
- package/esm2022/picklist/picklist.mjs +397 -269
- package/esm2022/popover/popover.mjs +30 -13
- package/esm2022/progressbar/progressbar.mjs +27 -9
- package/esm2022/rating/rating.mjs +46 -22
- package/esm2022/ripple/ripple.mjs +5 -2
- 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 +202 -122
- package/esm2022/select/style/selectstyle.mjs +2 -5
- package/esm2022/selectbutton/selectbutton.mjs +26 -11
- package/esm2022/sidebar/sidebar.mjs +83 -61
- package/esm2022/speeddial/speeddial.mjs +54 -29
- package/esm2022/splitbutton/splitbutton.mjs +41 -18
- package/esm2022/splitter/splitter.mjs +29 -19
- package/esm2022/splitter/style/splitterstyle.mjs +5 -4
- package/esm2022/stepper/stepper.mjs +27 -13
- package/esm2022/table/table.mjs +6368 -6510
- 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/textarea/textarea.mjs +9 -9
- package/esm2022/tieredmenu/tieredmenu.mjs +45 -22
- 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 +36 -71
- package/esm2022/tree/style/treestyle.mjs +13 -3
- package/esm2022/tree/tree.mjs +193 -137
- package/esm2022/treeselect/style/treeselectstyle.mjs +1 -4
- package/esm2022/treeselect/treeselect.mjs +157 -90
- 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 +230 -170
- 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 +199 -136
- 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-colorpicker.mjs +1 -1
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +38 -39
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +104 -60
- 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 +51 -20
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +199 -158
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +112 -66
- 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 +114 -72
- 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 +21 -17
- 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 +113 -66
- 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 +33 -17
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +57 -49
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +32 -13
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +10 -9
- package/fesm2022/primeng-inputtext.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 +26 -26
- 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 -158
- 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 +27 -7
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +33 -10
- 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 +113 -51
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +396 -268
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +29 -12
- 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-ripple.mjs +4 -1
- package/fesm2022/primeng-ripple.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 +202 -125
- 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 +82 -60
- 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 +32 -21
- 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 +6370 -6512
- 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-textarea.mjs +8 -8
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +44 -21
- 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 +36 -71
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +204 -138
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +156 -92
- 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/inputtext/inputtext.d.ts +2 -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 +233 -233
- 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 +20 -8
- 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 +6 -7
- package/splitter/style/splitterstyle.d.ts +0 -13
- package/stepper/stepper.d.ts +8 -3
- package/table/table.d.ts +928 -1030
- 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/textarea/textarea.d.ts +2 -2
- 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/style/treestyle.d.ts +1 -1
- package/tree/tree.d.ts +25 -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) {
|
@@ -153,21 +154,21 @@ function PickList_div_1_12_Template(rf, ctx) { if (rf & 1) {
|
|
153
154
|
} }
|
154
155
|
function PickList_div_1_Template(rf, ctx) { if (rf & 1) {
|
155
156
|
const _r2 = i0.ɵɵgetCurrentView();
|
156
|
-
i0.ɵɵelementStart(0, "div",
|
157
|
+
i0.ɵɵelementStart(0, "div", 15)(1, "button", 11);
|
157
158
|
i0.ɵɵlistener("click", function PickList_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); const sourcelist_r4 = i0.ɵɵreference(4); return i0.ɵɵresetView(ctx_r2.moveUp(sourcelist_r4, ctx_r2.source, ctx_r2.selectedItemsSource, ctx_r2.onSourceReorder, ctx_r2.SOURCE_LIST)); });
|
158
|
-
i0.ɵɵtemplate(2, PickList_div_1_AngleUpIcon_2_Template, 1, 1, "AngleUpIcon", 8)(3, PickList_div_1_3_Template, 1, 0, null,
|
159
|
+
i0.ɵɵtemplate(2, PickList_div_1_AngleUpIcon_2_Template, 1, 1, "AngleUpIcon", 8)(3, PickList_div_1_3_Template, 1, 0, null, 16);
|
159
160
|
i0.ɵɵelementEnd();
|
160
|
-
i0.ɵɵelementStart(4, "button",
|
161
|
+
i0.ɵɵelementStart(4, "button", 11);
|
161
162
|
i0.ɵɵlistener("click", function PickList_div_1_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); const sourcelist_r4 = i0.ɵɵreference(4); return i0.ɵɵresetView(ctx_r2.moveTop(sourcelist_r4, ctx_r2.source, ctx_r2.selectedItemsSource, ctx_r2.onSourceReorder, ctx_r2.SOURCE_LIST)); });
|
162
|
-
i0.ɵɵtemplate(5, PickList_div_1_AngleDoubleUpIcon_5_Template, 1, 1, "AngleDoubleUpIcon", 8)(6, PickList_div_1_6_Template, 1, 0, null,
|
163
|
+
i0.ɵɵtemplate(5, PickList_div_1_AngleDoubleUpIcon_5_Template, 1, 1, "AngleDoubleUpIcon", 8)(6, PickList_div_1_6_Template, 1, 0, null, 16);
|
163
164
|
i0.ɵɵelementEnd();
|
164
|
-
i0.ɵɵelementStart(7, "button",
|
165
|
+
i0.ɵɵelementStart(7, "button", 11);
|
165
166
|
i0.ɵɵlistener("click", function PickList_div_1_Template_button_click_7_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); const sourcelist_r4 = i0.ɵɵreference(4); return i0.ɵɵresetView(ctx_r2.moveDown(sourcelist_r4, ctx_r2.source, ctx_r2.selectedItemsSource, ctx_r2.onSourceReorder, ctx_r2.SOURCE_LIST)); });
|
166
|
-
i0.ɵɵtemplate(8, PickList_div_1_AngleDownIcon_8_Template, 1, 1, "AngleDownIcon", 8)(9, PickList_div_1_9_Template, 1, 0, null,
|
167
|
+
i0.ɵɵtemplate(8, PickList_div_1_AngleDownIcon_8_Template, 1, 1, "AngleDownIcon", 8)(9, PickList_div_1_9_Template, 1, 0, null, 16);
|
167
168
|
i0.ɵɵelementEnd();
|
168
|
-
i0.ɵɵelementStart(10, "button",
|
169
|
+
i0.ɵɵelementStart(10, "button", 11);
|
169
170
|
i0.ɵɵlistener("click", function PickList_div_1_Template_button_click_10_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); const sourcelist_r4 = i0.ɵɵreference(4); return i0.ɵɵresetView(ctx_r2.moveBottom(sourcelist_r4, ctx_r2.source, ctx_r2.selectedItemsSource, ctx_r2.onSourceReorder, ctx_r2.SOURCE_LIST)); });
|
170
|
-
i0.ɵɵtemplate(11, PickList_div_1_AngleDoubleDownIcon_11_Template, 1, 1, "AngleDoubleDownIcon", 8)(12, PickList_div_1_12_Template, 1, 0, null,
|
171
|
+
i0.ɵɵtemplate(11, PickList_div_1_AngleDoubleDownIcon_11_Template, 1, 1, "AngleDoubleDownIcon", 8)(12, PickList_div_1_12_Template, 1, 0, null, 16);
|
171
172
|
i0.ɵɵelementEnd()();
|
172
173
|
} if (rf & 2) {
|
173
174
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -176,76 +177,121 @@ 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) {
|
206
207
|
i0.ɵɵtemplate(0, PickList_ng_container_5_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
|
207
208
|
} }
|
208
209
|
function PickList_ng_container_5_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
209
|
-
i0.ɵɵtemplate(0, PickList_ng_container_5_ng_template_1_0_Template, 1, 0, null,
|
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) {
|
220
221
|
i0.ɵɵelementContainer(0);
|
221
222
|
} }
|
222
|
-
function
|
223
|
-
i0.ɵɵ
|
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) {
|
245
|
+
i0.ɵɵelementStart(0, "div", 17);
|
246
|
+
i0.ɵɵtext(1);
|
247
|
+
i0.ɵɵelementEnd();
|
248
|
+
} if (rf & 2) {
|
249
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
250
|
+
i0.ɵɵadvance();
|
251
|
+
i0.ɵɵtextInterpolate(ctx_r2.sourceHeader);
|
252
|
+
} }
|
253
|
+
function PickList_ng_container_9_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
254
|
+
i0.ɵɵelementContainer(0);
|
255
|
+
} }
|
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);
|
224
258
|
} if (rf & 2) {
|
225
259
|
const item_r5 = ctx.$implicit;
|
226
260
|
const index_r6 = ctx.index;
|
227
261
|
const selected_r7 = ctx.selected;
|
228
262
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
229
|
-
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));
|
230
264
|
} }
|
231
|
-
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) {
|
232
274
|
i0.ɵɵelementContainerStart(0);
|
233
|
-
i0.ɵɵtemplate(1,
|
275
|
+
i0.ɵɵtemplate(1, PickList_ng_container_10_ng_container_1_Template, 1, 0, "ng-container", 16);
|
234
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);
|
235
281
|
} }
|
236
|
-
function
|
282
|
+
function PickList_ng_container_13_AngleRightIcon_1_Template(rf, ctx) { if (rf & 1) {
|
237
283
|
i0.ɵɵelement(0, "AngleRightIcon");
|
238
284
|
} if (rf & 2) {
|
239
285
|
i0.ɵɵattribute("data-pc-section", "movetotargeticon");
|
240
286
|
} }
|
241
|
-
function
|
287
|
+
function PickList_ng_container_13_AngleDownIcon_2_Template(rf, ctx) { if (rf & 1) {
|
242
288
|
i0.ɵɵelement(0, "AngleDownIcon");
|
243
289
|
} if (rf & 2) {
|
244
290
|
i0.ɵɵattribute("data-pc-section", "movetotargeticon");
|
245
291
|
} }
|
246
|
-
function
|
292
|
+
function PickList_ng_container_13_Template(rf, ctx) { if (rf & 1) {
|
247
293
|
i0.ɵɵelementContainerStart(0);
|
248
|
-
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);
|
249
295
|
i0.ɵɵelementContainerEnd();
|
250
296
|
} if (rf & 2) {
|
251
297
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -254,23 +300,23 @@ function PickList_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
254
300
|
i0.ɵɵadvance();
|
255
301
|
i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
|
256
302
|
} }
|
257
|
-
function
|
258
|
-
function
|
259
|
-
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");
|
260
306
|
} }
|
261
|
-
function
|
307
|
+
function PickList_ng_container_16_AngleDoubleRightIcon_1_Template(rf, ctx) { if (rf & 1) {
|
262
308
|
i0.ɵɵelement(0, "AngleDoubleRightIcon");
|
263
309
|
} if (rf & 2) {
|
264
310
|
i0.ɵɵattribute("data-pc-section", "movealltotargeticon");
|
265
311
|
} }
|
266
|
-
function
|
312
|
+
function PickList_ng_container_16_AngleDoubleDownIcon_2_Template(rf, ctx) { if (rf & 1) {
|
267
313
|
i0.ɵɵelement(0, "AngleDoubleDownIcon");
|
268
314
|
} if (rf & 2) {
|
269
315
|
i0.ɵɵattribute("data-pc-section", "movealltotargeticon");
|
270
316
|
} }
|
271
|
-
function
|
317
|
+
function PickList_ng_container_16_Template(rf, ctx) { if (rf & 1) {
|
272
318
|
i0.ɵɵelementContainerStart(0);
|
273
|
-
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);
|
274
320
|
i0.ɵɵelementContainerEnd();
|
275
321
|
} if (rf & 2) {
|
276
322
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -279,23 +325,23 @@ function PickList_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
279
325
|
i0.ɵɵadvance();
|
280
326
|
i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
|
281
327
|
} }
|
282
|
-
function
|
283
|
-
function
|
284
|
-
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");
|
285
331
|
} }
|
286
|
-
function
|
332
|
+
function PickList_ng_container_19_AngleLeftIcon_1_Template(rf, ctx) { if (rf & 1) {
|
287
333
|
i0.ɵɵelement(0, "AngleLeftIcon");
|
288
334
|
} if (rf & 2) {
|
289
335
|
i0.ɵɵattribute("data-pc-section", "movedownsourceticon");
|
290
336
|
} }
|
291
|
-
function
|
337
|
+
function PickList_ng_container_19_AngleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
292
338
|
i0.ɵɵelement(0, "AngleUpIcon");
|
293
339
|
} if (rf & 2) {
|
294
340
|
i0.ɵɵattribute("data-pc-section", "movedownsourceticon");
|
295
341
|
} }
|
296
|
-
function
|
342
|
+
function PickList_ng_container_19_Template(rf, ctx) { if (rf & 1) {
|
297
343
|
i0.ɵɵelementContainerStart(0);
|
298
|
-
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);
|
299
345
|
i0.ɵɵelementContainerEnd();
|
300
346
|
} if (rf & 2) {
|
301
347
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -304,23 +350,23 @@ function PickList_ng_container_15_Template(rf, ctx) { if (rf & 1) {
|
|
304
350
|
i0.ɵɵadvance();
|
305
351
|
i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
|
306
352
|
} }
|
307
|
-
function
|
308
|
-
function
|
309
|
-
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");
|
310
356
|
} }
|
311
|
-
function
|
357
|
+
function PickList_ng_container_22_AngleDoubleLeftIcon_1_Template(rf, ctx) { if (rf & 1) {
|
312
358
|
i0.ɵɵelement(0, "AngleDoubleLeftIcon");
|
313
359
|
} if (rf & 2) {
|
314
360
|
i0.ɵɵattribute("data-pc-section", "movealltosourceticon");
|
315
361
|
} }
|
316
|
-
function
|
362
|
+
function PickList_ng_container_22_AngleDoubleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
317
363
|
i0.ɵɵelement(0, "AngleDoubleUpIcon");
|
318
364
|
} if (rf & 2) {
|
319
365
|
i0.ɵɵattribute("data-pc-section", "movealltosourceticon");
|
320
366
|
} }
|
321
|
-
function
|
367
|
+
function PickList_ng_container_22_Template(rf, ctx) { if (rf & 1) {
|
322
368
|
i0.ɵɵelementContainerStart(0);
|
323
|
-
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);
|
324
370
|
i0.ɵɵelementContainerEnd();
|
325
371
|
} if (rf & 2) {
|
326
372
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -329,95 +375,140 @@ function PickList_ng_container_18_Template(rf, ctx) { if (rf & 1) {
|
|
329
375
|
i0.ɵɵadvance();
|
330
376
|
i0.ɵɵproperty("ngIf", ctx_r2.viewChanged);
|
331
377
|
} }
|
332
|
-
function
|
333
|
-
function
|
334
|
-
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");
|
335
381
|
} }
|
336
|
-
function
|
337
|
-
function
|
338
|
-
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");
|
339
385
|
} }
|
340
|
-
function
|
341
|
-
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);
|
342
388
|
} if (rf & 2) {
|
343
389
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
344
|
-
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));
|
408
|
+
} }
|
409
|
+
function PickList_ng_container_29_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
410
|
+
i0.ɵɵelementContainer(0);
|
345
411
|
} }
|
346
|
-
function
|
412
|
+
function PickList_ng_container_29_Template(rf, ctx) { if (rf & 1) {
|
347
413
|
i0.ɵɵelementContainerStart(0);
|
348
|
-
i0.ɵɵtemplate(1,
|
414
|
+
i0.ɵɵtemplate(1, PickList_ng_container_29_ng_container_1_Template, 1, 0, "ng-container", 16);
|
349
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);
|
420
|
+
} }
|
421
|
+
function PickList_div_30_Template(rf, ctx) { if (rf & 1) {
|
422
|
+
i0.ɵɵelementStart(0, "div", 17);
|
423
|
+
i0.ɵɵtext(1);
|
424
|
+
i0.ɵɵelementEnd();
|
425
|
+
} if (rf & 2) {
|
426
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
427
|
+
i0.ɵɵadvance();
|
428
|
+
i0.ɵɵtextInterpolate(ctx_r2.targetHeader);
|
350
429
|
} }
|
351
|
-
function
|
430
|
+
function PickList_ng_container_31_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
352
431
|
i0.ɵɵelementContainer(0);
|
353
432
|
} }
|
354
|
-
function
|
355
|
-
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);
|
356
435
|
} if (rf & 2) {
|
357
436
|
const item_r8 = ctx.$implicit;
|
358
437
|
const index_r9 = ctx.index;
|
359
438
|
const selected_r10 = ctx.selected;
|
360
439
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
361
|
-
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));
|
441
|
+
} }
|
442
|
+
function PickList_ng_container_31_Template(rf, ctx) { if (rf & 1) {
|
443
|
+
i0.ɵɵelementContainerStart(0);
|
444
|
+
i0.ɵɵtemplate(1, PickList_ng_container_31_ng_template_1_Template, 1, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
445
|
+
i0.ɵɵelementContainerEnd();
|
362
446
|
} }
|
363
|
-
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) {
|
364
451
|
i0.ɵɵelementContainerStart(0);
|
365
|
-
i0.ɵɵtemplate(1,
|
452
|
+
i0.ɵɵtemplate(1, PickList_ng_container_32_ng_container_1_Template, 1, 0, "ng-container", 16);
|
366
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);
|
367
458
|
} }
|
368
|
-
function
|
459
|
+
function PickList_div_33_AngleUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
369
460
|
i0.ɵɵelement(0, "AngleUpIcon");
|
370
461
|
} if (rf & 2) {
|
371
462
|
i0.ɵɵattribute("data-pc-section", "moveupicon");
|
372
463
|
} }
|
373
|
-
function
|
374
|
-
function
|
375
|
-
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");
|
376
467
|
} }
|
377
|
-
function
|
468
|
+
function PickList_div_33_AngleDoubleUpIcon_5_Template(rf, ctx) { if (rf & 1) {
|
378
469
|
i0.ɵɵelement(0, "AngleDoubleUpIcon");
|
379
470
|
} if (rf & 2) {
|
380
471
|
i0.ɵɵattribute("data-pc-section", "movetopicon");
|
381
472
|
} }
|
382
|
-
function
|
383
|
-
function
|
384
|
-
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");
|
385
476
|
} }
|
386
|
-
function
|
477
|
+
function PickList_div_33_AngleDownIcon_8_Template(rf, ctx) { if (rf & 1) {
|
387
478
|
i0.ɵɵelement(0, "AngleDownIcon");
|
388
479
|
} if (rf & 2) {
|
389
480
|
i0.ɵɵattribute("data-pc-section", "movedownicon");
|
390
481
|
} }
|
391
|
-
function
|
392
|
-
function
|
393
|
-
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");
|
394
485
|
} }
|
395
|
-
function
|
486
|
+
function PickList_div_33_AngleDoubleDownIcon_11_Template(rf, ctx) { if (rf & 1) {
|
396
487
|
i0.ɵɵelement(0, "AngleDoubleDownIcon");
|
397
488
|
} if (rf & 2) {
|
398
489
|
i0.ɵɵattribute("data-pc-section", "movebottomicon");
|
399
490
|
} }
|
400
|
-
function
|
401
|
-
function
|
402
|
-
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");
|
403
494
|
} }
|
404
|
-
function
|
495
|
+
function PickList_div_33_Template(rf, ctx) { if (rf & 1) {
|
405
496
|
const _r11 = i0.ɵɵgetCurrentView();
|
406
|
-
i0.ɵɵelementStart(0, "div",
|
407
|
-
i0.ɵɵlistener("click", function
|
408
|
-
i0.ɵɵtemplate(2,
|
497
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "button", 11);
|
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);
|
409
500
|
i0.ɵɵelementEnd();
|
410
|
-
i0.ɵɵelementStart(4, "button",
|
411
|
-
i0.ɵɵlistener("click", function
|
412
|
-
i0.ɵɵtemplate(5,
|
501
|
+
i0.ɵɵelementStart(4, "button", 11);
|
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);
|
413
504
|
i0.ɵɵelementEnd();
|
414
|
-
i0.ɵɵelementStart(7, "button",
|
415
|
-
i0.ɵɵlistener("click", function
|
416
|
-
i0.ɵɵtemplate(8,
|
505
|
+
i0.ɵɵelementStart(7, "button", 11);
|
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);
|
417
508
|
i0.ɵɵelementEnd();
|
418
|
-
i0.ɵɵelementStart(10, "button",
|
419
|
-
i0.ɵɵlistener("click", function
|
420
|
-
i0.ɵɵtemplate(11,
|
509
|
+
i0.ɵɵelementStart(10, "button", 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);
|
421
512
|
i0.ɵɵelementEnd()();
|
422
513
|
} if (rf & 2) {
|
423
514
|
const ctx_r2 = i0.ɵɵnextContext();
|
@@ -426,30 +517,30 @@ function PickList_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
426
517
|
i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("moveup"));
|
427
518
|
i0.ɵɵattribute("aria-label", ctx_r2.moveUpAriaLabel)("data-pc-section", "targetMoveUpButton");
|
428
519
|
i0.ɵɵadvance();
|
429
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveUpIconTemplate);
|
520
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveUpIconTemplate && !ctx_r2._moveUpIconTemplate);
|
430
521
|
i0.ɵɵadvance();
|
431
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveUpIconTemplate);
|
522
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveUpIconTemplate || ctx_r2._moveUpIconTemplate);
|
432
523
|
i0.ɵɵadvance();
|
433
524
|
i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movetop"));
|
434
525
|
i0.ɵɵattribute("aria-label", ctx_r2.moveTopAriaLabel)("data-pc-section", "targetMoveTopButton");
|
435
526
|
i0.ɵɵadvance();
|
436
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveTopIconTemplate);
|
527
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveTopIconTemplate && !ctx_r2._moveTopIconTemplate);
|
437
528
|
i0.ɵɵadvance();
|
438
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveTopIconTemplate);
|
529
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveTopIconTemplate || ctx_r2.moveTopIconTemplate);
|
439
530
|
i0.ɵɵadvance();
|
440
531
|
i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movedown"));
|
441
532
|
i0.ɵɵattribute("aria-label", ctx_r2.moveDownAriaLabel)("data-pc-section", "targetMoveDownButton");
|
442
533
|
i0.ɵɵadvance();
|
443
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveDownIconTemplate);
|
534
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveDownIconTemplate && !ctx_r2._moveDownIconTemplate);
|
444
535
|
i0.ɵɵadvance();
|
445
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveDownIconTemplate);
|
536
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveDownIconTemplate || ctx_r2._moveDownIconTemplate);
|
446
537
|
i0.ɵɵadvance();
|
447
538
|
i0.ɵɵproperty("disabled", ctx_r2.targetMoveDisabled())("buttonProps", ctx_r2.getButtonProps("movebottom"));
|
448
539
|
i0.ɵɵattribute("aria-label", ctx_r2.moveBottomAriaLabel)("data-pc-section", "targetMoveBottomButton");
|
449
540
|
i0.ɵɵadvance();
|
450
|
-
i0.ɵɵproperty("ngIf", !ctx_r2.moveBottomIconTemplate);
|
541
|
+
i0.ɵɵproperty("ngIf", !ctx_r2.moveBottomIconTemplate && !ctx_r2._moveBottomIconTemplate);
|
451
542
|
i0.ɵɵadvance();
|
452
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveBottomIconTemplate);
|
543
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.moveBottomIconTemplate || ctx_r2._moveBottomIconTemplate);
|
453
544
|
} }
|
454
545
|
/**
|
455
546
|
* PickList is used to reorder items between different lists.
|
@@ -985,71 +1076,91 @@ class PickList extends BaseComponent {
|
|
985
1076
|
* @group Templates
|
986
1077
|
*/
|
987
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;
|
988
1099
|
ngAfterContentInit() {
|
989
1100
|
this.templates.forEach((item) => {
|
990
1101
|
switch (item.getType()) {
|
991
1102
|
case 'item':
|
992
|
-
this.
|
1103
|
+
this._itemTemplate = item.template;
|
993
1104
|
break;
|
994
1105
|
case 'option':
|
995
|
-
this.
|
1106
|
+
this._itemTemplate = item.template;
|
996
1107
|
break;
|
997
1108
|
case 'sourceHeader':
|
998
|
-
this.
|
1109
|
+
this._sourceHeaderTemplate = item.template;
|
999
1110
|
break;
|
1000
1111
|
case 'targetHeader':
|
1001
|
-
this.
|
1112
|
+
this._targetHeaderTemplate = item.template;
|
1002
1113
|
break;
|
1003
1114
|
case 'sourceFilter':
|
1004
|
-
this.
|
1115
|
+
this._sourceFilterTemplate = item.template;
|
1005
1116
|
break;
|
1006
1117
|
case 'targetFilter':
|
1007
|
-
this.
|
1118
|
+
this._targetFilterTemplate = item.template;
|
1008
1119
|
break;
|
1009
1120
|
case 'emptymessagesource':
|
1010
|
-
this.
|
1121
|
+
this._emptyMessageSourceTemplate = item.template;
|
1011
1122
|
break;
|
1012
1123
|
case 'emptyfiltermessagesource':
|
1013
|
-
this.
|
1124
|
+
this._emptyFilterMessageSourceTemplate = item.template;
|
1014
1125
|
break;
|
1015
1126
|
case 'emptymessagetarget':
|
1016
|
-
this.
|
1127
|
+
this._emptyMessageTargetTemplate = item.template;
|
1017
1128
|
break;
|
1018
1129
|
case 'emptyfiltermessagetarget':
|
1019
|
-
this.
|
1130
|
+
this._emptyFilterMessageTargetTemplate = item.template;
|
1020
1131
|
break;
|
1021
1132
|
case 'moveupicon':
|
1022
|
-
this.
|
1133
|
+
this._moveUpIconTemplate = item.template;
|
1023
1134
|
break;
|
1024
1135
|
case 'movetopicon':
|
1025
|
-
this.
|
1136
|
+
this._moveTopIconTemplate = item.template;
|
1026
1137
|
break;
|
1027
1138
|
case 'movedownicon':
|
1028
|
-
this.
|
1139
|
+
this._moveDownIconTemplate = item.template;
|
1029
1140
|
break;
|
1030
1141
|
case 'movebottomicon':
|
1031
|
-
this.
|
1142
|
+
this._moveBottomIconTemplate = item.template;
|
1032
1143
|
break;
|
1033
1144
|
case 'movetotargeticon':
|
1034
|
-
this.
|
1145
|
+
this._moveToTargetIconTemplate = item.template;
|
1035
1146
|
break;
|
1036
1147
|
case 'movealltotargeticon':
|
1037
|
-
this.
|
1148
|
+
this._moveAllToTargetIconTemplate = item.template;
|
1038
1149
|
break;
|
1039
1150
|
case 'movetosourceicon':
|
1040
|
-
this.
|
1151
|
+
this._moveToSourceIconTemplate = item.template;
|
1041
1152
|
break;
|
1042
1153
|
case 'movealltosourceicon':
|
1043
|
-
this.
|
1154
|
+
this._moveAllToSourceIconTemplate = item.template;
|
1044
1155
|
break;
|
1045
1156
|
case 'targetfiltericon':
|
1046
|
-
this.
|
1157
|
+
this._targetFilterIconTemplate = item.template;
|
1047
1158
|
break;
|
1048
1159
|
case 'sourcefiltericon':
|
1049
|
-
this.
|
1160
|
+
this._sourceFilterIconTemplate = item.template;
|
1050
1161
|
break;
|
1051
1162
|
default:
|
1052
|
-
this.
|
1163
|
+
this._itemTemplate = item.template;
|
1053
1164
|
break;
|
1054
1165
|
}
|
1055
1166
|
});
|
@@ -1274,8 +1385,9 @@ class PickList extends BaseComponent {
|
|
1274
1385
|
}
|
1275
1386
|
moveRight() {
|
1276
1387
|
if (this.selectedItemsSource && this.selectedItemsSource.length) {
|
1277
|
-
|
1278
|
-
|
1388
|
+
let itemsToMove = [...this.selectedItemsSource];
|
1389
|
+
for (let i = 0; i < itemsToMove.length; i++) {
|
1390
|
+
let selectedItem = itemsToMove[i];
|
1279
1391
|
if (findIndexInList(selectedItem, this.target) == -1) {
|
1280
1392
|
this.target?.push(this.source?.splice(findIndexInList(selectedItem, this.source), 1)[0]);
|
1281
1393
|
if (this.visibleOptionsSource?.includes(selectedItem)) {
|
@@ -1284,11 +1396,12 @@ class PickList extends BaseComponent {
|
|
1284
1396
|
}
|
1285
1397
|
}
|
1286
1398
|
this.onMoveToTarget.emit({
|
1287
|
-
items:
|
1399
|
+
items: itemsToMove
|
1288
1400
|
});
|
1289
1401
|
if (this.keepSelection) {
|
1290
|
-
this.selectedItemsTarget = [...this.selectedItemsTarget, ...
|
1402
|
+
this.selectedItemsTarget = [...this.selectedItemsTarget, ...itemsToMove];
|
1291
1403
|
}
|
1404
|
+
itemsToMove = [];
|
1292
1405
|
this.selectedItemsSource = [];
|
1293
1406
|
if (this.filterValueTarget) {
|
1294
1407
|
this.filter(this.target, this.TARGET_LIST);
|
@@ -1323,8 +1436,9 @@ class PickList extends BaseComponent {
|
|
1323
1436
|
}
|
1324
1437
|
moveLeft() {
|
1325
1438
|
if (this.selectedItemsTarget && this.selectedItemsTarget.length) {
|
1326
|
-
|
1327
|
-
|
1439
|
+
let itemsToMove = [...this.selectedItemsTarget];
|
1440
|
+
for (let i = 0; i < itemsToMove.length; i++) {
|
1441
|
+
let selectedItem = itemsToMove[i];
|
1328
1442
|
if (findIndexInList(selectedItem, this.source) == -1) {
|
1329
1443
|
this.source?.push(this.target?.splice(findIndexInList(selectedItem, this.target), 1)[0]);
|
1330
1444
|
if (this.visibleOptionsTarget?.includes(selectedItem)) {
|
@@ -1333,11 +1447,12 @@ class PickList extends BaseComponent {
|
|
1333
1447
|
}
|
1334
1448
|
}
|
1335
1449
|
this.onMoveToSource.emit({
|
1336
|
-
items:
|
1450
|
+
items: itemsToMove
|
1337
1451
|
});
|
1338
1452
|
if (this.keepSelection) {
|
1339
|
-
this.selectedItemsSource = [...this.selectedItemsSource,
|
1453
|
+
this.selectedItemsSource = [...this.selectedItemsSource, itemsToMove];
|
1340
1454
|
}
|
1455
|
+
itemsToMove = [];
|
1341
1456
|
this.selectedItemsTarget = [];
|
1342
1457
|
if (this.filterValueSource) {
|
1343
1458
|
this.filter(this.source, this.SOURCE_LIST);
|
@@ -1699,25 +1814,26 @@ class PickList extends BaseComponent {
|
|
1699
1814
|
}
|
1700
1815
|
static ɵfac = /*@__PURE__*/ (() => { let ɵPickList_BaseFactory; return function PickList_Factory(__ngFactoryType__) { return (ɵPickList_BaseFactory || (ɵPickList_BaseFactory = i0.ɵɵgetInheritedFactory(PickList)))(__ngFactoryType__ || PickList); }; })();
|
1701
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) {
|
1702
|
-
i0.ɵɵcontentQuery(dirIndex, _c0,
|
1703
|
-
i0.ɵɵcontentQuery(dirIndex, _c1,
|
1704
|
-
i0.ɵɵcontentQuery(dirIndex, _c2,
|
1705
|
-
i0.ɵɵcontentQuery(dirIndex, _c3,
|
1706
|
-
i0.ɵɵcontentQuery(dirIndex, _c4,
|
1707
|
-
i0.ɵɵcontentQuery(dirIndex, _c5,
|
1708
|
-
i0.ɵɵcontentQuery(dirIndex, _c6,
|
1709
|
-
i0.ɵɵcontentQuery(dirIndex, _c7,
|
1710
|
-
i0.ɵɵcontentQuery(dirIndex, _c8,
|
1711
|
-
i0.ɵɵcontentQuery(dirIndex, _c9,
|
1712
|
-
i0.ɵɵcontentQuery(dirIndex, _c10,
|
1713
|
-
i0.ɵɵcontentQuery(dirIndex, _c11,
|
1714
|
-
i0.ɵɵcontentQuery(dirIndex, _c12,
|
1715
|
-
i0.ɵɵcontentQuery(dirIndex, _c13,
|
1716
|
-
i0.ɵɵcontentQuery(dirIndex, _c14,
|
1717
|
-
i0.ɵɵcontentQuery(dirIndex, _c15,
|
1718
|
-
i0.ɵɵcontentQuery(dirIndex, _c16,
|
1719
|
-
i0.ɵɵcontentQuery(dirIndex, _c17,
|
1720
|
-
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);
|
1721
1837
|
} if (rf & 2) {
|
1722
1838
|
let _t;
|
1723
1839
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemTemplate = _t.first);
|
@@ -1739,6 +1855,7 @@ class PickList extends BaseComponent {
|
|
1739
1855
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moveAllToSourceIconTemplate = _t.first);
|
1740
1856
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.targetFilterIconTemplate = _t.first);
|
1741
1857
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sourceFilterIconTemplate = _t.first);
|
1858
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
|
1742
1859
|
} }, viewQuery: function PickList_Query(rf, ctx) { if (rf & 1) {
|
1743
1860
|
i0.ɵɵviewQuery(_c19, 5);
|
1744
1861
|
i0.ɵɵviewQuery(_c20, 5);
|
@@ -1750,41 +1867,41 @@ class PickList extends BaseComponent {
|
|
1750
1867
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.listViewTargetChild = _t.first);
|
1751
1868
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sourceFilterViewChild = _t.first);
|
1752
1869
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.targetFilterViewChild = _t.first);
|
1753
|
-
} }, 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) {
|
1754
1871
|
const _r1 = i0.ɵɵgetCurrentView();
|
1755
1872
|
i0.ɵɵelementStart(0, "div", 4);
|
1756
1873
|
i0.ɵɵtemplate(1, PickList_div_1_Template, 13, 26, "div", 5);
|
1757
1874
|
i0.ɵɵelementStart(2, "div", 6)(3, "p-listbox", 7, 0);
|
1758
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); });
|
1759
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()); });
|
1760
|
-
i0.ɵɵtemplate(5, PickList_ng_container_5_Template, 3, 0, "ng-container", 8)(6, PickList_ng_container_6_Template, 3, 0, "ng-container", 8);
|
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);
|
1761
1878
|
i0.ɵɵelementEnd()();
|
1762
|
-
i0.ɵɵelementStart(
|
1763
|
-
i0.ɵɵlistener("click", function
|
1764
|
-
i0.ɵɵtemplate(
|
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()); });
|
1881
|
+
i0.ɵɵtemplate(13, PickList_ng_container_13_Template, 3, 2, "ng-container", 8)(14, PickList_14_Template, 1, 0, null, 12);
|
1765
1882
|
i0.ɵɵelementEnd();
|
1766
|
-
i0.ɵɵelementStart(
|
1767
|
-
i0.ɵɵlistener("click", function
|
1768
|
-
i0.ɵɵtemplate(
|
1883
|
+
i0.ɵɵelementStart(15, "button", 11);
|
1884
|
+
i0.ɵɵlistener("click", function PickList_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveAllRight()); });
|
1885
|
+
i0.ɵɵtemplate(16, PickList_ng_container_16_Template, 3, 2, "ng-container", 8)(17, PickList_17_Template, 1, 0, null, 12);
|
1769
1886
|
i0.ɵɵelementEnd();
|
1770
|
-
i0.ɵɵelementStart(
|
1771
|
-
i0.ɵɵlistener("click", function
|
1772
|
-
i0.ɵɵtemplate(
|
1887
|
+
i0.ɵɵelementStart(18, "button", 11);
|
1888
|
+
i0.ɵɵlistener("click", function PickList_Template_button_click_18_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.moveLeft()); });
|
1889
|
+
i0.ɵɵtemplate(19, PickList_ng_container_19_Template, 3, 2, "ng-container", 8)(20, PickList_20_Template, 1, 0, null, 12);
|
1773
1890
|
i0.ɵɵelementEnd();
|
1774
|
-
i0.ɵɵelementStart(
|
1775
|
-
i0.ɵɵlistener("click", function
|
1776
|
-
i0.ɵɵtemplate(
|
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);
|
1777
1894
|
i0.ɵɵelementEnd()();
|
1778
|
-
i0.ɵɵelementStart(
|
1779
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
1780
|
-
i0.ɵɵlistener("onFocus", function
|
1781
|
-
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);
|
1782
1899
|
i0.ɵɵelementEnd()();
|
1783
|
-
i0.ɵɵtemplate(
|
1900
|
+
i0.ɵɵtemplate(33, PickList_div_33_Template, 13, 26, "div", 14);
|
1784
1901
|
i0.ɵɵelementEnd();
|
1785
1902
|
} if (rf & 2) {
|
1786
1903
|
i0.ɵɵclassMap(ctx.styleClass);
|
1787
|
-
i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction0(
|
1904
|
+
i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction0(84, _c21));
|
1788
1905
|
i0.ɵɵattribute("data-pc-name", "picklist")("data-pc-section", "root");
|
1789
1906
|
i0.ɵɵadvance();
|
1790
1907
|
i0.ɵɵproperty("ngIf", ctx.showSourceControls);
|
@@ -1795,39 +1912,47 @@ class PickList extends BaseComponent {
|
|
1795
1912
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selectedItemsSource);
|
1796
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);
|
1797
1914
|
i0.ɵɵadvance(2);
|
1798
|
-
i0.ɵɵproperty("ngIf", ctx.sourceHeaderTemplate);
|
1915
|
+
i0.ɵɵproperty("ngIf", ctx.sourceHeaderTemplate || ctx._sourceHeaderTemplate);
|
1916
|
+
i0.ɵɵadvance();
|
1917
|
+
i0.ɵɵproperty("ngIf", ctx.sourceFilterTemplate || ctx._sourceFilterTemplate);
|
1799
1918
|
i0.ɵɵadvance();
|
1800
|
-
i0.ɵɵproperty("ngIf", ctx.
|
1919
|
+
i0.ɵɵproperty("ngIf", ctx.sourceFilterIconTemplate || ctx._sourceFilterIconTemplate);
|
1920
|
+
i0.ɵɵadvance();
|
1921
|
+
i0.ɵɵproperty("ngIf", !ctx.sourceHeaderTemplate && !ctx._sourceHeaderTemplate);
|
1922
|
+
i0.ɵɵadvance();
|
1923
|
+
i0.ɵɵproperty("ngIf", ctx.itemTemplate || ctx._itemTemplate);
|
1924
|
+
i0.ɵɵadvance();
|
1925
|
+
i0.ɵɵproperty("ngIf", ctx.emptyFilterMessageSourceTemplate || ctx._emptyFilterMessageSourceTemplate || ctx.emptyMessageSourceTemplate || ctx._emptyMessageSourceTemplate);
|
1801
1926
|
i0.ɵɵadvance();
|
1802
1927
|
i0.ɵɵattribute("data-pc-section", "buttons")("data-pc-group-section", "controls");
|
1803
1928
|
i0.ɵɵadvance();
|
1804
1929
|
i0.ɵɵproperty("disabled", ctx.moveRightDisabled())("buttonProps", ctx.getButtonProps("movetotarget"));
|
1805
1930
|
i0.ɵɵattribute("aria-label", ctx.moveToTargetAriaLabel)("data-pc-section", "moveToTargetButton");
|
1806
1931
|
i0.ɵɵadvance();
|
1807
|
-
i0.ɵɵproperty("ngIf", !ctx.moveToTargetIconTemplate);
|
1932
|
+
i0.ɵɵproperty("ngIf", !ctx.moveToTargetIconTemplate && !ctx._moveToTargetIconTemplate);
|
1808
1933
|
i0.ɵɵadvance();
|
1809
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1934
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToTargetIconTemplate || ctx._moveToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(85, _c22, ctx.viewChanged));
|
1810
1935
|
i0.ɵɵadvance();
|
1811
1936
|
i0.ɵɵproperty("disabled", ctx.moveAllRightDisabled())("buttonProps", ctx.getButtonProps("movealltotarget"));
|
1812
1937
|
i0.ɵɵattribute("aria-label", ctx.moveAllToTargetAriaLabel)("data-pc-section", "moveAllToTargetButton");
|
1813
1938
|
i0.ɵɵadvance();
|
1814
|
-
i0.ɵɵproperty("ngIf", !ctx.moveAllToTargetIconTemplate);
|
1939
|
+
i0.ɵɵproperty("ngIf", !ctx.moveAllToTargetIconTemplate && !ctx._moveAllToTargetIconTemplate);
|
1815
1940
|
i0.ɵɵadvance();
|
1816
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1941
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToTargetIconTemplate || ctx._moveAllToTargetIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(87, _c22, ctx.viewChanged));
|
1817
1942
|
i0.ɵɵadvance();
|
1818
1943
|
i0.ɵɵproperty("disabled", ctx.moveLeftDisabled())("buttonProps", ctx.getButtonProps("movetosource"));
|
1819
1944
|
i0.ɵɵattribute("aria-label", ctx.moveToSourceAriaLabel)("data-pc-section", "moveToSourceButton");
|
1820
1945
|
i0.ɵɵadvance();
|
1821
|
-
i0.ɵɵproperty("ngIf", !ctx.moveToSourceIconTemplate);
|
1946
|
+
i0.ɵɵproperty("ngIf", !ctx.moveToSourceIconTemplate && !ctx._moveToSourceIconTemplate);
|
1822
1947
|
i0.ɵɵadvance();
|
1823
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1948
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveToSourceIconTemplate || ctx._moveToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(89, _c22, ctx.viewChanged));
|
1824
1949
|
i0.ɵɵadvance();
|
1825
1950
|
i0.ɵɵproperty("disabled", ctx.moveAllLeftDisabled())("buttonProps", ctx.getButtonProps("movealltosource"));
|
1826
1951
|
i0.ɵɵattribute("aria-label", ctx.moveAllToSourceAriaLabel)("data-pc-section", "moveAllToSourceButton");
|
1827
1952
|
i0.ɵɵadvance();
|
1828
|
-
i0.ɵɵproperty("ngIf", !ctx.moveAllToSourceIconTemplate);
|
1953
|
+
i0.ɵɵproperty("ngIf", !ctx.moveAllToSourceIconTemplate && !ctx._moveAllToSourceIconTemplate);
|
1829
1954
|
i0.ɵɵadvance();
|
1830
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(
|
1955
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.moveAllToSourceIconTemplate || ctx._moveAllToSourceIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(91, _c22, ctx.viewChanged));
|
1831
1956
|
i0.ɵɵadvance();
|
1832
1957
|
i0.ɵɵattribute("data-pc-section", "targetWrapper")("data-pc-group-section", "listwrapper");
|
1833
1958
|
i0.ɵɵadvance();
|
@@ -1835,47 +1960,27 @@ class PickList extends BaseComponent {
|
|
1835
1960
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selectedItemsTarget);
|
1836
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);
|
1837
1962
|
i0.ɵɵadvance(2);
|
1838
|
-
i0.ɵɵproperty("ngIf", ctx.targetHeaderTemplate);
|
1963
|
+
i0.ɵɵproperty("ngIf", ctx.targetHeaderTemplate || ctx._targetHeaderTemplate);
|
1964
|
+
i0.ɵɵadvance();
|
1965
|
+
i0.ɵɵproperty("ngIf", ctx.targetFilterTemplate || ctx._targetFilterTemplate);
|
1966
|
+
i0.ɵɵadvance();
|
1967
|
+
i0.ɵɵproperty("ngIf", ctx.targetFilterIconTemplate || ctx._targetFilterIconTemplate);
|
1839
1968
|
i0.ɵɵadvance();
|
1840
|
-
i0.ɵɵproperty("ngIf", ctx.
|
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);
|
1841
1974
|
i0.ɵɵadvance();
|
1842
1975
|
i0.ɵɵproperty("ngIf", ctx.showTargetControls);
|
1843
|
-
} }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, ButtonDirective,
|
1844
|
-
Ripple,
|
1845
|
-
DragDropModule, i2.CdkDropListGroup, AngleDoubleDownIcon,
|
1846
|
-
AngleDoubleLeftIcon,
|
1847
|
-
AngleDoubleRightIcon,
|
1848
|
-
AngleDoubleUpIcon,
|
1849
|
-
AngleDownIcon,
|
1850
|
-
AngleLeftIcon,
|
1851
|
-
AngleRightIcon,
|
1852
|
-
AngleUpIcon,
|
1853
|
-
Listbox,
|
1854
|
-
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 });
|
1855
1977
|
}
|
1856
1978
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PickList, [{
|
1857
1979
|
type: Component,
|
1858
1980
|
args: [{
|
1859
1981
|
selector: 'p-pickList, p-picklist, p-pick-list',
|
1860
1982
|
standalone: true,
|
1861
|
-
imports: [
|
1862
|
-
CommonModule,
|
1863
|
-
ButtonDirective,
|
1864
|
-
Ripple,
|
1865
|
-
DragDropModule,
|
1866
|
-
AngleDoubleDownIcon,
|
1867
|
-
AngleDoubleLeftIcon,
|
1868
|
-
AngleDoubleRightIcon,
|
1869
|
-
AngleDoubleUpIcon,
|
1870
|
-
AngleDownIcon,
|
1871
|
-
AngleLeftIcon,
|
1872
|
-
AngleRightIcon,
|
1873
|
-
AngleUpIcon,
|
1874
|
-
SearchIcon,
|
1875
|
-
Listbox,
|
1876
|
-
FormsModule,
|
1877
|
-
SharedModule
|
1878
|
-
],
|
1983
|
+
imports: [CommonModule, ButtonDirective, Ripple, DragDropModule, AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, Listbox, FormsModule, SharedModule],
|
1879
1984
|
template: `
|
1880
1985
|
<div [class]="styleClass" [ngStyle]="style" [ngClass]="{ 'p-picklist p-component': true }" cdkDropListGroup [attr.data-pc-name]="'picklist'" [attr.data-pc-section]="'root'">
|
1881
1986
|
<div class="p-picklist-controls p-picklist-source-controls" *ngIf="showSourceControls" [attr.data-pc-section]="'sourceControls'" [attr.data-pc-group-section]="'controls'">
|
@@ -1891,8 +1996,8 @@ class PickList extends BaseComponent {
|
|
1891
1996
|
[attr.data-pc-section]="'sourceMoveUpButton'"
|
1892
1997
|
[buttonProps]="getButtonProps('moveup')"
|
1893
1998
|
>
|
1894
|
-
<AngleUpIcon *ngIf="!moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
|
1895
|
-
<ng-template *ngTemplateOutlet="moveUpIconTemplate"></ng-template>
|
1999
|
+
<AngleUpIcon *ngIf="!moveUpIconTemplate && !_moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
|
2000
|
+
<ng-template *ngTemplateOutlet="moveUpIconTemplate || _moveUpIconTemplate"></ng-template>
|
1896
2001
|
</button>
|
1897
2002
|
<button
|
1898
2003
|
type="button"
|
@@ -1906,8 +2011,8 @@ class PickList extends BaseComponent {
|
|
1906
2011
|
[attr.data-pc-section]="'sourceMoveTopButton'"
|
1907
2012
|
[buttonProps]="getButtonProps('movetop')"
|
1908
2013
|
>
|
1909
|
-
<AngleDoubleUpIcon *ngIf="!moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
|
1910
|
-
<ng-template *ngTemplateOutlet="moveTopIconTemplate"></ng-template>
|
2014
|
+
<AngleDoubleUpIcon *ngIf="!moveTopIconTemplate && !_moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
|
2015
|
+
<ng-template *ngTemplateOutlet="moveTopIconTemplate || _moveTopIconTemplate"></ng-template>
|
1911
2016
|
</button>
|
1912
2017
|
<button
|
1913
2018
|
type="button"
|
@@ -1921,8 +2026,8 @@ class PickList extends BaseComponent {
|
|
1921
2026
|
[attr.data-pc-section]="'sourceMoveDownButton'"
|
1922
2027
|
[buttonProps]="getButtonProps('movedown')"
|
1923
2028
|
>
|
1924
|
-
<AngleDownIcon *ngIf="!moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
|
1925
|
-
<ng-template *ngTemplateOutlet="moveDownIconTemplate"></ng-template>
|
2029
|
+
<AngleDownIcon *ngIf="!moveDownIconTemplate && !_moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
|
2030
|
+
<ng-template *ngTemplateOutlet="moveDownIconTemplate || _moveDownIconTemplate"></ng-template>
|
1926
2031
|
</button>
|
1927
2032
|
<button
|
1928
2033
|
type="button"
|
@@ -1936,8 +2041,8 @@ class PickList extends BaseComponent {
|
|
1936
2041
|
[attr.data-pc-section]="'sourceMoveBottomButton'"
|
1937
2042
|
[buttonProps]="getButtonProps('movebottom')"
|
1938
2043
|
>
|
1939
|
-
<AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
|
1940
|
-
<ng-template *ngTemplateOutlet="moveBottomIconTemplate"></ng-template>
|
2044
|
+
<AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate || _moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
|
2045
|
+
<ng-template *ngTemplateOutlet="moveBottomIconTemplate || _moveBottomIconTemplate"></ng-template>
|
1941
2046
|
</button>
|
1942
2047
|
</div>
|
1943
2048
|
<div class="p-picklist-list-container p-picklist-source-list-container" [attr.data-pc-section]="'sourceWrapper'" [attr.data-pc-group-section]="'listWrapper'">
|
@@ -1964,16 +2069,26 @@ class PickList extends BaseComponent {
|
|
1964
2069
|
[filterLocale]="filterLocale"
|
1965
2070
|
[filterPlaceHolder]="sourceFilterPlaceholder"
|
1966
2071
|
>
|
1967
|
-
<ng-container *ngIf="sourceHeaderTemplate">
|
2072
|
+
<ng-container *ngIf="sourceHeaderTemplate || _sourceHeaderTemplate">
|
1968
2073
|
<ng-template #header>
|
1969
|
-
<ng-template *ngTemplateOutlet="sourceHeaderTemplate"></ng-template>
|
2074
|
+
<ng-template *ngTemplateOutlet="sourceHeaderTemplate || _sourceHeaderTemplate"></ng-template>
|
1970
2075
|
</ng-template>
|
1971
2076
|
</ng-container>
|
1972
|
-
<ng-container *ngIf="
|
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">
|
1973
2085
|
<ng-template #item let-item let-index="index" let-selected="selected">
|
1974
|
-
<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>
|
1975
2087
|
</ng-template>
|
1976
2088
|
</ng-container>
|
2089
|
+
<ng-container *ngIf="emptyFilterMessageSourceTemplate || _emptyFilterMessageSourceTemplate || emptyMessageSourceTemplate || _emptyMessageSourceTemplate">
|
2090
|
+
<ng-container *ngTemplateOutlet="emptyFilterMessageSourceTemplate || _emptyFilterMessageSourceTemplate || emptyMessageSourceTemplate || _emptyMessageSourceTemplate"></ng-container>
|
2091
|
+
</ng-container>
|
1977
2092
|
</p-listbox>
|
1978
2093
|
</div>
|
1979
2094
|
<div class="p-picklist-controls p-picklist-transfer-controls" [attr.data-pc-section]="'buttons'" [attr.data-pc-group-section]="'controls'">
|
@@ -1989,11 +2104,11 @@ class PickList extends BaseComponent {
|
|
1989
2104
|
[attr.data-pc-section]="'moveToTargetButton'"
|
1990
2105
|
[buttonProps]="getButtonProps('movetotarget')"
|
1991
2106
|
>
|
1992
|
-
<ng-container *ngIf="!moveToTargetIconTemplate">
|
2107
|
+
<ng-container *ngIf="!moveToTargetIconTemplate && !_moveToTargetIconTemplate">
|
1993
2108
|
<AngleRightIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movetotargeticon'" />
|
1994
2109
|
<AngleDownIcon *ngIf="viewChanged" [attr.data-pc-section]="'movetotargeticon'" />
|
1995
2110
|
</ng-container>
|
1996
|
-
<ng-template *ngTemplateOutlet="moveToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2111
|
+
<ng-template *ngTemplateOutlet="moveToTargetIconTemplate || _moveToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
1997
2112
|
</button>
|
1998
2113
|
<button
|
1999
2114
|
type="button"
|
@@ -2007,11 +2122,11 @@ class PickList extends BaseComponent {
|
|
2007
2122
|
[attr.data-pc-section]="'moveAllToTargetButton'"
|
2008
2123
|
[buttonProps]="getButtonProps('movealltotarget')"
|
2009
2124
|
>
|
2010
|
-
<ng-container *ngIf="!moveAllToTargetIconTemplate">
|
2125
|
+
<ng-container *ngIf="!moveAllToTargetIconTemplate && !_moveAllToTargetIconTemplate">
|
2011
2126
|
<AngleDoubleRightIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movealltotargeticon'" />
|
2012
2127
|
<AngleDoubleDownIcon *ngIf="viewChanged" [attr.data-pc-section]="'movealltotargeticon'" />
|
2013
2128
|
</ng-container>
|
2014
|
-
<ng-template *ngTemplateOutlet="moveAllToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2129
|
+
<ng-template *ngTemplateOutlet="moveAllToTargetIconTemplate || _moveAllToTargetIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2015
2130
|
</button>
|
2016
2131
|
<button
|
2017
2132
|
type="button"
|
@@ -2025,11 +2140,11 @@ class PickList extends BaseComponent {
|
|
2025
2140
|
[attr.data-pc-section]="'moveToSourceButton'"
|
2026
2141
|
[buttonProps]="getButtonProps('movetosource')"
|
2027
2142
|
>
|
2028
|
-
<ng-container *ngIf="!moveToSourceIconTemplate">
|
2143
|
+
<ng-container *ngIf="!moveToSourceIconTemplate && !_moveToSourceIconTemplate">
|
2029
2144
|
<AngleLeftIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movedownsourceticon'" />
|
2030
2145
|
<AngleUpIcon *ngIf="viewChanged" [attr.data-pc-section]="'movedownsourceticon'" />
|
2031
2146
|
</ng-container>
|
2032
|
-
<ng-template *ngTemplateOutlet="moveToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2147
|
+
<ng-template *ngTemplateOutlet="moveToSourceIconTemplate || _moveToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2033
2148
|
</button>
|
2034
2149
|
<button
|
2035
2150
|
type="button"
|
@@ -2043,11 +2158,11 @@ class PickList extends BaseComponent {
|
|
2043
2158
|
[attr.data-pc-section]="'moveAllToSourceButton'"
|
2044
2159
|
[buttonProps]="getButtonProps('movealltosource')"
|
2045
2160
|
>
|
2046
|
-
<ng-container *ngIf="!moveAllToSourceIconTemplate">
|
2161
|
+
<ng-container *ngIf="!moveAllToSourceIconTemplate && !_moveAllToSourceIconTemplate">
|
2047
2162
|
<AngleDoubleLeftIcon *ngIf="!viewChanged" [attr.data-pc-section]="'movealltosourceticon'" />
|
2048
2163
|
<AngleDoubleUpIcon *ngIf="viewChanged" [attr.data-pc-section]="'movealltosourceticon'" />
|
2049
2164
|
</ng-container>
|
2050
|
-
<ng-template *ngTemplateOutlet="moveAllToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2165
|
+
<ng-template *ngTemplateOutlet="moveAllToSourceIconTemplate || _moveAllToSourceIconTemplate; context: { $implicit: viewChanged }"></ng-template>
|
2051
2166
|
</button>
|
2052
2167
|
</div>
|
2053
2168
|
<div class="p-picklist-list-container p-picklist-target-list-container" [attr.data-pc-section]="'targetWrapper'" [attr.data-pc-group-section]="'listwrapper'">
|
@@ -2074,16 +2189,26 @@ class PickList extends BaseComponent {
|
|
2074
2189
|
[filterLocale]="filterLocale"
|
2075
2190
|
[filterPlaceHolder]="targetFilterPlaceholder"
|
2076
2191
|
>
|
2077
|
-
<ng-container *ngIf="targetHeaderTemplate">
|
2192
|
+
<ng-container *ngIf="targetHeaderTemplate || _targetHeaderTemplate">
|
2078
2193
|
<ng-template #header>
|
2079
|
-
<ng-template *ngTemplateOutlet="targetHeaderTemplate"></ng-template>
|
2194
|
+
<ng-template *ngTemplateOutlet="targetHeaderTemplate || _targetHeaderTemplate"></ng-template>
|
2080
2195
|
</ng-template>
|
2081
2196
|
</ng-container>
|
2082
|
-
<ng-container *ngIf="
|
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">
|
2083
2205
|
<ng-template #item let-item let-index="index" let-selected="selected">
|
2084
|
-
<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>
|
2085
2207
|
</ng-template>
|
2086
2208
|
</ng-container>
|
2209
|
+
<ng-container *ngIf="emptyFilterMessageTargetTemplate || _emptyFilterMessageTargetTemplate || emptyMessageTargetTemplate || _emptyMessageTargetTemplate">
|
2210
|
+
<ng-container *ngTemplateOutlet="emptyFilterMessageTargetTemplate || _emptyFilterMessageTargetTemplate || emptyMessageTargetTemplate || _emptyMessageTargetTemplate"></ng-container>
|
2211
|
+
</ng-container>
|
2087
2212
|
</p-listbox>
|
2088
2213
|
</div>
|
2089
2214
|
<div class="p-picklist-controls p-picklist-target-controls" *ngIf="showTargetControls" [attr.data-pc-section]="'targetControls'" [attr.data-pc-group-section]="'controls'">
|
@@ -2099,8 +2224,8 @@ class PickList extends BaseComponent {
|
|
2099
2224
|
[attr.data-pc-section]="'targetMoveUpButton'"
|
2100
2225
|
[buttonProps]="getButtonProps('moveup')"
|
2101
2226
|
>
|
2102
|
-
<AngleUpIcon *ngIf="!moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
|
2103
|
-
<ng-template *ngTemplateOutlet="moveUpIconTemplate"></ng-template>
|
2227
|
+
<AngleUpIcon *ngIf="!moveUpIconTemplate && !_moveUpIconTemplate" [attr.data-pc-section]="'moveupicon'" />
|
2228
|
+
<ng-template *ngTemplateOutlet="moveUpIconTemplate || _moveUpIconTemplate"></ng-template>
|
2104
2229
|
</button>
|
2105
2230
|
<button
|
2106
2231
|
type="button"
|
@@ -2114,8 +2239,8 @@ class PickList extends BaseComponent {
|
|
2114
2239
|
[attr.data-pc-section]="'targetMoveTopButton'"
|
2115
2240
|
[buttonProps]="getButtonProps('movetop')"
|
2116
2241
|
>
|
2117
|
-
<AngleDoubleUpIcon *ngIf="!moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
|
2118
|
-
<ng-template *ngTemplateOutlet="moveTopIconTemplate"></ng-template>
|
2242
|
+
<AngleDoubleUpIcon *ngIf="!moveTopIconTemplate && !_moveTopIconTemplate" [attr.data-pc-section]="'movetopicon'" />
|
2243
|
+
<ng-template *ngTemplateOutlet="moveTopIconTemplate || moveTopIconTemplate"></ng-template>
|
2119
2244
|
</button>
|
2120
2245
|
<button
|
2121
2246
|
type="button"
|
@@ -2129,8 +2254,8 @@ class PickList extends BaseComponent {
|
|
2129
2254
|
[attr.data-pc-section]="'targetMoveDownButton'"
|
2130
2255
|
[buttonProps]="getButtonProps('movedown')"
|
2131
2256
|
>
|
2132
|
-
<AngleDownIcon *ngIf="!moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
|
2133
|
-
<ng-template *ngTemplateOutlet="moveDownIconTemplate"></ng-template>
|
2257
|
+
<AngleDownIcon *ngIf="!moveDownIconTemplate && !_moveDownIconTemplate" [attr.data-pc-section]="'movedownicon'" />
|
2258
|
+
<ng-template *ngTemplateOutlet="moveDownIconTemplate || _moveDownIconTemplate"></ng-template>
|
2134
2259
|
</button>
|
2135
2260
|
<button
|
2136
2261
|
type="button"
|
@@ -2144,8 +2269,8 @@ class PickList extends BaseComponent {
|
|
2144
2269
|
[attr.data-pc-section]="'targetMoveBottomButton'"
|
2145
2270
|
[buttonProps]="getButtonProps('movebottom')"
|
2146
2271
|
>
|
2147
|
-
<AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
|
2148
|
-
<ng-template *ngTemplateOutlet="moveBottomIconTemplate"></ng-template>
|
2272
|
+
<AngleDoubleDownIcon *ngIf="!moveBottomIconTemplate && !_moveBottomIconTemplate" [attr.data-pc-section]="'movebottomicon'" />
|
2273
|
+
<ng-template *ngTemplateOutlet="moveBottomIconTemplate || _moveBottomIconTemplate"></ng-template>
|
2149
2274
|
</button>
|
2150
2275
|
</div>
|
2151
2276
|
</div>
|
@@ -2302,61 +2427,64 @@ class PickList extends BaseComponent {
|
|
2302
2427
|
args: ['targetFilter']
|
2303
2428
|
}], itemTemplate: [{
|
2304
2429
|
type: ContentChild,
|
2305
|
-
args: ['item']
|
2430
|
+
args: ['item', { descendants: false }]
|
2306
2431
|
}], sourceHeaderTemplate: [{
|
2307
2432
|
type: ContentChild,
|
2308
|
-
args: ['sourceHeader']
|
2433
|
+
args: ['sourceHeader', { descendants: false }]
|
2309
2434
|
}], targetHeaderTemplate: [{
|
2310
2435
|
type: ContentChild,
|
2311
|
-
args: ['targetHeader']
|
2436
|
+
args: ['targetHeader', { descendants: false }]
|
2312
2437
|
}], sourceFilterTemplate: [{
|
2313
2438
|
type: ContentChild,
|
2314
|
-
args: ['sourceFilter']
|
2439
|
+
args: ['sourceFilter', { descendants: false }]
|
2315
2440
|
}], targetFilterTemplate: [{
|
2316
2441
|
type: ContentChild,
|
2317
|
-
args: ['targetFilter']
|
2442
|
+
args: ['targetFilter', { descendants: false }]
|
2318
2443
|
}], emptyMessageSourceTemplate: [{
|
2319
2444
|
type: ContentChild,
|
2320
|
-
args: ['emptymessagesource']
|
2445
|
+
args: ['emptymessagesource', { descendants: false }]
|
2321
2446
|
}], emptyFilterMessageSourceTemplate: [{
|
2322
2447
|
type: ContentChild,
|
2323
|
-
args: ['emptyfiltermessagesource']
|
2448
|
+
args: ['emptyfiltermessagesource', { descendants: false }]
|
2324
2449
|
}], emptyMessageTargetTemplate: [{
|
2325
2450
|
type: ContentChild,
|
2326
|
-
args: ['emptymessagetarget']
|
2451
|
+
args: ['emptymessagetarget', { descendants: false }]
|
2327
2452
|
}], emptyFilterMessageTargetTemplate: [{
|
2328
2453
|
type: ContentChild,
|
2329
|
-
args: ['emptyfiltermessagetarget']
|
2454
|
+
args: ['emptyfiltermessagetarget', { descendants: false }]
|
2330
2455
|
}], moveUpIconTemplate: [{
|
2331
2456
|
type: ContentChild,
|
2332
|
-
args: ['moveupicon']
|
2457
|
+
args: ['moveupicon', { descendants: false }]
|
2333
2458
|
}], moveTopIconTemplate: [{
|
2334
2459
|
type: ContentChild,
|
2335
|
-
args: ['movetopicon']
|
2460
|
+
args: ['movetopicon', { descendants: false }]
|
2336
2461
|
}], moveDownIconTemplate: [{
|
2337
2462
|
type: ContentChild,
|
2338
|
-
args: ['movedownicon']
|
2463
|
+
args: ['movedownicon', { descendants: false }]
|
2339
2464
|
}], moveBottomIconTemplate: [{
|
2340
2465
|
type: ContentChild,
|
2341
|
-
args: ['movebottomicon']
|
2466
|
+
args: ['movebottomicon', { descendants: false }]
|
2342
2467
|
}], moveToTargetIconTemplate: [{
|
2343
2468
|
type: ContentChild,
|
2344
|
-
args: ['movetotargeticon']
|
2469
|
+
args: ['movetotargeticon', { descendants: false }]
|
2345
2470
|
}], moveAllToTargetIconTemplate: [{
|
2346
2471
|
type: ContentChild,
|
2347
|
-
args: ['movealltotargeticon']
|
2472
|
+
args: ['movealltotargeticon', { descendants: false }]
|
2348
2473
|
}], moveToSourceIconTemplate: [{
|
2349
2474
|
type: ContentChild,
|
2350
|
-
args: ['movetosourceicon']
|
2475
|
+
args: ['movetosourceicon', { descendants: false }]
|
2351
2476
|
}], moveAllToSourceIconTemplate: [{
|
2352
2477
|
type: ContentChild,
|
2353
|
-
args: ['movealltosourceicon']
|
2478
|
+
args: ['movealltosourceicon', { descendants: false }]
|
2354
2479
|
}], targetFilterIconTemplate: [{
|
2355
2480
|
type: ContentChild,
|
2356
|
-
args: ['targetfiltericon']
|
2481
|
+
args: ['targetfiltericon', { descendants: false }]
|
2357
2482
|
}], sourceFilterIconTemplate: [{
|
2358
2483
|
type: ContentChild,
|
2359
|
-
args: ['sourcefiltericon']
|
2484
|
+
args: ['sourcefiltericon', { descendants: false }]
|
2485
|
+
}], templates: [{
|
2486
|
+
type: ContentChildren,
|
2487
|
+
args: [PrimeTemplate]
|
2360
2488
|
}] }); })();
|
2361
2489
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PickList, { className: "PickList" }); })();
|
2362
2490
|
class PickListModule {
|