primeng 18.0.0-beta.4 → 18.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.d.ts +4 -4
- package/api/public_api.d.ts +0 -4
- package/autocomplete/autocomplete.d.ts +1 -0
- package/base/style/basestyle.d.ts +1 -1
- package/basecomponent/basecomponent.d.ts +3 -2
- package/config/index.d.ts +5 -0
- package/{api → config}/primeng.d.ts +3 -3
- package/{api/provideprimengconfig.d.ts → config/provideprimeng.d.ts} +3 -3
- package/config/public_api.d.ts +3 -0
- package/{api → config}/themeprovider.d.ts +1 -1
- package/confirmpopup/confirmpopup.d.ts +2 -3
- package/dialog/dialog.d.ts +1 -0
- package/editor/editor.d.ts +5 -2
- package/esm2022/accordion/accordion.mjs +9 -9
- package/esm2022/api/public_api.mjs +1 -5
- package/esm2022/autocomplete/autocomplete.mjs +4 -2
- package/esm2022/autofocus/autofocus.mjs +2 -2
- package/esm2022/base/style/basestyle.mjs +3 -3
- package/esm2022/basecomponent/basecomponent.mjs +9 -7
- package/esm2022/cascadeselect/cascadeselect.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +2 -2
- package/esm2022/config/primeng-config.mjs +5 -0
- package/esm2022/config/primeng.mjs +189 -0
- package/esm2022/config/provideprimeng.mjs +11 -0
- package/esm2022/config/public_api.mjs +4 -0
- package/esm2022/config/themeprovider.mjs +74 -0
- package/esm2022/confirmpopup/confirmpopup.mjs +4 -6
- package/esm2022/dialog/dialog.mjs +23 -3
- package/esm2022/dropdown/dropdown.mjs +2 -2
- package/esm2022/editor/editor.mjs +15 -14
- package/esm2022/fileupload/style/fileuploadstyle.mjs +2 -2
- package/esm2022/galleria/galleria.mjs +16 -20
- package/esm2022/iconfield/iconfield.mjs +3 -5
- package/esm2022/inputnumber/inputnumber.mjs +3 -3
- package/esm2022/inputtext/inputtext.mjs +3 -3
- package/esm2022/inputtextarea/inputtextarea.mjs +3 -3
- package/esm2022/listbox/listbox.mjs +5 -5
- package/esm2022/megamenu/megamenu.mjs +4 -7
- package/esm2022/menubar/menubar.mjs +4 -7
- package/esm2022/multiselect/multiselect.mjs +86 -83
- package/esm2022/overlay/overlay.mjs +2 -2
- package/esm2022/password/password.mjs +4 -4
- package/esm2022/radiobutton/radiobutton.mjs +3 -3
- package/esm2022/scrolltop/scrolltop.mjs +22 -16
- package/esm2022/select/select.mjs +2 -2
- package/esm2022/textarea/textarea.mjs +3 -3
- package/esm2022/tree/tree.mjs +12 -8
- package/esm2022/treetable/treetable.mjs +7 -8
- package/fesm2022/primeng-accordion.mjs +8 -8
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-api.mjs +3 -276
- package/fesm2022/primeng-api.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +4 -2
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-autofocus.mjs +1 -1
- package/fesm2022/primeng-autofocus.mjs.map +1 -1
- package/fesm2022/primeng-base.mjs +2 -2
- package/fesm2022/primeng-base.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +8 -6
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +1 -1
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +1 -1
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +275 -0
- package/fesm2022/primeng-config.mjs.map +1 -0
- package/fesm2022/primeng-confirmpopup.mjs +3 -5
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +22 -2
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +1 -1
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +14 -13
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +1 -1
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +15 -19
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +2 -4
- package/fesm2022/primeng-iconfield.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +2 -2
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +2 -2
- package/fesm2022/primeng-inputtext.mjs.map +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +2 -2
- package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +4 -4
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +3 -6
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +3 -6
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +85 -82
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +1 -1
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +3 -3
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-radiobutton.mjs +2 -2
- package/fesm2022/primeng-radiobutton.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +21 -15
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +1 -1
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-textarea.mjs +2 -2
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +11 -7
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +6 -7
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/galleria/galleria.d.ts +4 -6
- package/megamenu/megamenu.d.ts +2 -3
- package/menubar/menubar.d.ts +2 -3
- package/multiselect/multiselect.d.ts +4 -4
- package/overlay/overlay.d.ts +1 -1
- package/package.json +145 -139
- package/scrolltop/scrolltop.d.ts +3 -1
- package/treetable/treetable.d.ts +3 -4
- package/api/primengconfig.d.ts +0 -9
- package/esm2022/api/primeng.mjs +0 -188
- package/esm2022/api/primengconfig.mjs +0 -15
- package/esm2022/api/provideprimengconfig.mjs +0 -11
- package/esm2022/api/themeprovider.mjs +0 -73
@@ -11,6 +11,7 @@ import { AutoFocus } from 'primeng/autofocus';
|
|
11
11
|
import { BaseComponent } from 'primeng/basecomponent';
|
12
12
|
import { Checkbox } from 'primeng/checkbox';
|
13
13
|
import { Chip } from 'primeng/chip';
|
14
|
+
import { DomHandler } from 'primeng/dom';
|
14
15
|
import { IconField } from 'primeng/iconfield';
|
15
16
|
import { CheckIcon, SearchIcon, TimesIcon, ChevronDownIcon, TimesCircleIcon, MinusIcon } from 'primeng/icons';
|
16
17
|
import { InputIcon } from 'primeng/inputicon';
|
@@ -459,9 +460,9 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_templ
|
|
459
460
|
} }
|
460
461
|
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
461
462
|
const _r5 = i0.ɵɵgetCurrentView();
|
462
|
-
i0.ɵɵelementStart(0, "span",
|
463
|
+
i0.ɵɵelementStart(0, "span", 29);
|
463
464
|
i0.ɵɵlistener("click", function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const item_r4 = i0.ɵɵnextContext(4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeOption(item_r4, $event)); });
|
464
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template, 1, 0, "ng-container",
|
465
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_ng_container_1_Template, 1, 0, "ng-container", 21);
|
465
466
|
i0.ɵɵelementEnd();
|
466
467
|
} if (rf & 2) {
|
467
468
|
const ctx_r1 = i0.ɵɵnextContext(7);
|
@@ -471,7 +472,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_templ
|
|
471
472
|
} }
|
472
473
|
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
473
474
|
i0.ɵɵelementContainerStart(0);
|
474
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template, 2, 5, "span",
|
475
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_span_1_Template, 2, 5, "span", 28);
|
475
476
|
i0.ɵɵelementContainerEnd();
|
476
477
|
} if (rf & 2) {
|
477
478
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
@@ -479,7 +480,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_templ
|
|
479
480
|
i0.ɵɵproperty("ngIf", ctx_r1.chipIconTemplate || ctx_r1.removeTokenIconTemplate);
|
480
481
|
} }
|
481
482
|
function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
482
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template, 2, 1, "ng-container",
|
483
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_template_1_ng_container_0_Template, 2, 1, "ng-container", 20);
|
483
484
|
} if (rf & 2) {
|
484
485
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
485
486
|
i0.ɵɵproperty("ngIf", !ctx_r1.disabled);
|
@@ -491,9 +492,9 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template
|
|
491
492
|
} }
|
492
493
|
function MultiSelect_ng_container_5_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
493
494
|
const _r3 = i0.ɵɵgetCurrentView();
|
494
|
-
i0.ɵɵelementStart(0, "div",
|
495
|
+
i0.ɵɵelementStart(0, "div", 26, 4)(2, "p-chip", 27);
|
495
496
|
i0.ɵɵlistener("onRemove", function MultiSelect_ng_container_5_ng_container_2_div_1_Template_p_chip_onRemove_2_listener($event) { const item_r4 = i0.ɵɵrestoreView(_r3).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.removeOption(item_r4, $event)); });
|
496
|
-
i0.ɵɵtemplate(3, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template, 3, 0, "ng-container",
|
497
|
+
i0.ɵɵtemplate(3, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template, 3, 0, "ng-container", 20);
|
497
498
|
i0.ɵɵelementEnd()();
|
498
499
|
} if (rf & 2) {
|
499
500
|
const item_r4 = ctx.$implicit;
|
@@ -514,7 +515,7 @@ function MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template(rf, c
|
|
514
515
|
} }
|
515
516
|
function MultiSelect_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
516
517
|
i0.ɵɵelementContainerStart(0);
|
517
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_Template, 4, 4, "div",
|
518
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_Template, 4, 4, "div", 25)(2, MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template, 2, 1, "ng-container", 20);
|
518
519
|
i0.ɵɵelementContainerEnd();
|
519
520
|
} if (rf & 2) {
|
520
521
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
@@ -525,7 +526,7 @@ function MultiSelect_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf &
|
|
525
526
|
} }
|
526
527
|
function MultiSelect_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
527
528
|
i0.ɵɵelementContainerStart(0);
|
528
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_1_Template, 2, 1, "ng-container",
|
529
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_1_Template, 2, 1, "ng-container", 20)(2, MultiSelect_ng_container_5_ng_container_2_Template, 3, 2, "ng-container", 20);
|
529
530
|
i0.ɵɵelementContainerEnd();
|
530
531
|
} if (rf & 2) {
|
531
532
|
const ctx_r1 = i0.ɵɵnextContext();
|
@@ -539,7 +540,7 @@ function MultiSelect_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
539
540
|
} }
|
540
541
|
function MultiSelect_ng_container_7_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
|
541
542
|
const _r6 = i0.ɵɵgetCurrentView();
|
542
|
-
i0.ɵɵelementStart(0, "TimesIcon",
|
543
|
+
i0.ɵɵelementStart(0, "TimesIcon", 31);
|
543
544
|
i0.ɵɵlistener("click", function MultiSelect_ng_container_7_TimesIcon_1_Template_TimesIcon_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear($event)); });
|
544
545
|
i0.ɵɵelementEnd();
|
545
546
|
} if (rf & 2) {
|
@@ -551,9 +552,9 @@ function MultiSelect_ng_container_7_span_2_1_Template(rf, ctx) { if (rf & 1) {
|
|
551
552
|
} }
|
552
553
|
function MultiSelect_ng_container_7_span_2_Template(rf, ctx) { if (rf & 1) {
|
553
554
|
const _r7 = i0.ɵɵgetCurrentView();
|
554
|
-
i0.ɵɵelementStart(0, "span",
|
555
|
+
i0.ɵɵelementStart(0, "span", 31);
|
555
556
|
i0.ɵɵlistener("click", function MultiSelect_ng_container_7_span_2_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.clear($event)); });
|
556
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_7_span_2_1_Template, 1, 0, null,
|
557
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_7_span_2_1_Template, 1, 0, null, 32);
|
557
558
|
i0.ɵɵelementEnd();
|
558
559
|
} if (rf & 2) {
|
559
560
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
@@ -563,7 +564,7 @@ function MultiSelect_ng_container_7_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
563
564
|
} }
|
564
565
|
function MultiSelect_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
565
566
|
i0.ɵɵelementContainerStart(0);
|
566
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_7_TimesIcon_1_Template, 1, 2, "TimesIcon",
|
567
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_7_TimesIcon_1_Template, 1, 2, "TimesIcon", 30)(2, MultiSelect_ng_container_7_span_2_Template, 2, 3, "span", 30);
|
567
568
|
i0.ɵɵelementContainerEnd();
|
568
569
|
} if (rf & 2) {
|
569
570
|
const ctx_r1 = i0.ɵɵnextContext();
|
@@ -577,7 +578,7 @@ function MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template(rf, c
|
|
577
578
|
} }
|
578
579
|
function MultiSelect_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
579
580
|
i0.ɵɵelementContainerStart(0);
|
580
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template, 1, 0, "ng-container",
|
581
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 32);
|
581
582
|
i0.ɵɵelementContainerEnd();
|
582
583
|
} if (rf & 2) {
|
583
584
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
@@ -585,19 +586,19 @@ function MultiSelect_ng_container_9_ng_container_1_Template(rf, ctx) { if (rf &
|
|
585
586
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loadingIconTemplate);
|
586
587
|
} }
|
587
588
|
function MultiSelect_ng_container_9_ng_container_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
588
|
-
i0.ɵɵelement(0, "span",
|
589
|
+
i0.ɵɵelement(0, "span", 35);
|
589
590
|
} if (rf & 2) {
|
590
591
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
591
592
|
i0.ɵɵproperty("ngClass", "p-multiselect-loading-icon pi-spin " + ctx_r1.loadingIcon);
|
592
593
|
} }
|
593
594
|
function MultiSelect_ng_container_9_ng_container_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
594
|
-
i0.ɵɵelement(0, "span",
|
595
|
+
i0.ɵɵelement(0, "span", 36);
|
595
596
|
} if (rf & 2) {
|
596
597
|
i0.ɵɵclassMap("p-multiselect-loading-icon pi pi-spinner pi-spin");
|
597
598
|
} }
|
598
599
|
function MultiSelect_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
599
600
|
i0.ɵɵelementContainerStart(0);
|
600
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_2_span_1_Template, 1, 1, "span",
|
601
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_2_span_1_Template, 1, 1, "span", 33)(2, MultiSelect_ng_container_9_ng_container_2_span_2_Template, 1, 2, "span", 34);
|
601
602
|
i0.ɵɵelementContainerEnd();
|
602
603
|
} if (rf & 2) {
|
603
604
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
@@ -608,7 +609,7 @@ function MultiSelect_ng_container_9_ng_container_2_Template(rf, ctx) { if (rf &
|
|
608
609
|
} }
|
609
610
|
function MultiSelect_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
610
611
|
i0.ɵɵelementContainerStart(0);
|
611
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_Template, 2, 1, "ng-container",
|
612
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_container_9_ng_container_1_Template, 2, 1, "ng-container", 20)(2, MultiSelect_ng_container_9_ng_container_2_Template, 3, 2, "ng-container", 20);
|
612
613
|
i0.ɵɵelementContainerEnd();
|
613
614
|
} if (rf & 2) {
|
614
615
|
const ctx_r1 = i0.ɵɵnextContext();
|
@@ -618,21 +619,21 @@ function MultiSelect_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
618
619
|
i0.ɵɵproperty("ngIf", !ctx_r1.loadingIconTemplate);
|
619
620
|
} }
|
620
621
|
function MultiSelect_ng_template_10_ng_container_0_span_1_Template(rf, ctx) { if (rf & 1) {
|
621
|
-
i0.ɵɵelement(0, "span",
|
622
|
+
i0.ɵɵelement(0, "span", 40);
|
622
623
|
} if (rf & 2) {
|
623
624
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
624
625
|
i0.ɵɵproperty("ngClass", ctx_r1.dropdownIcon);
|
625
626
|
i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
|
626
627
|
} }
|
627
628
|
function MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template(rf, ctx) { if (rf & 1) {
|
628
|
-
i0.ɵɵelement(0, "ChevronDownIcon",
|
629
|
+
i0.ɵɵelement(0, "ChevronDownIcon", 41);
|
629
630
|
} if (rf & 2) {
|
630
631
|
i0.ɵɵproperty("styleClass", "p-multiselect-dropdown-icon");
|
631
632
|
i0.ɵɵattribute("data-pc-section", "triggericon")("aria-hidden", true);
|
632
633
|
} }
|
633
634
|
function MultiSelect_ng_template_10_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
634
635
|
i0.ɵɵelementContainerStart(0);
|
635
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_10_ng_container_0_span_1_Template, 1, 3, "span",
|
636
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_template_10_ng_container_0_span_1_Template, 1, 3, "span", 38)(2, MultiSelect_ng_template_10_ng_container_0_ChevronDownIcon_2_Template, 1, 3, "ChevronDownIcon", 39);
|
636
637
|
i0.ɵɵelementContainerEnd();
|
637
638
|
} if (rf & 2) {
|
638
639
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
@@ -646,8 +647,8 @@ function MultiSelect_ng_template_10_span_1_1_Template(rf, ctx) { if (rf & 1) {
|
|
646
647
|
i0.ɵɵtemplate(0, MultiSelect_ng_template_10_span_1_1_ng_template_0_Template, 0, 0, "ng-template");
|
647
648
|
} }
|
648
649
|
function MultiSelect_ng_template_10_span_1_Template(rf, ctx) { if (rf & 1) {
|
649
|
-
i0.ɵɵelementStart(0, "span",
|
650
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_10_span_1_1_Template, 1, 0, null,
|
650
|
+
i0.ɵɵelementStart(0, "span", 42);
|
651
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_template_10_span_1_1_Template, 1, 0, null, 32);
|
651
652
|
i0.ɵɵelementEnd();
|
652
653
|
} if (rf & 2) {
|
653
654
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
@@ -656,7 +657,7 @@ function MultiSelect_ng_template_10_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
656
657
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dropdownIconTemplate);
|
657
658
|
} }
|
658
659
|
function MultiSelect_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
659
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_10_ng_container_0_Template, 3, 2, "ng-container",
|
660
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_10_ng_container_0_Template, 3, 2, "ng-container", 20)(1, MultiSelect_ng_template_10_span_1_Template, 2, 3, "span", 37);
|
660
661
|
} if (rf & 2) {
|
661
662
|
const ctx_r1 = i0.ɵɵnextContext();
|
662
663
|
i0.ɵɵproperty("ngIf", !ctx_r1.dropdownIconTemplate);
|
@@ -671,26 +672,26 @@ function MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template
|
|
671
672
|
} }
|
672
673
|
function MultiSelect_ng_template_14_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
673
674
|
i0.ɵɵelementContainerStart(0);
|
674
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template, 1, 0, "ng-container",
|
675
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 21);
|
675
676
|
i0.ɵɵelementContainerEnd();
|
676
677
|
} if (rf & 2) {
|
677
678
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
678
679
|
i0.ɵɵadvance();
|
679
680
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.filterTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c16, ctx_r1.filterOptions));
|
680
681
|
} }
|
681
|
-
function
|
682
|
-
i0.ɵɵelement(0, "CheckIcon",
|
682
|
+
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template(rf, ctx) { if (rf & 1) {
|
683
|
+
i0.ɵɵelement(0, "CheckIcon", 41);
|
683
684
|
} if (rf & 2) {
|
684
685
|
const class_r10 = i0.ɵɵnextContext().class;
|
685
686
|
i0.ɵɵproperty("styleClass", class_r10);
|
686
687
|
i0.ɵɵattribute("data-pc-section", "icon");
|
687
688
|
} }
|
688
|
-
function
|
689
|
-
function
|
690
|
-
i0.ɵɵtemplate(0,
|
689
|
+
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template(rf, ctx) { }
|
690
|
+
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template(rf, ctx) { if (rf & 1) {
|
691
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_ng_template_0_Template, 0, 0, "ng-template");
|
691
692
|
} }
|
692
|
-
function
|
693
|
-
i0.ɵɵtemplate(0,
|
693
|
+
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
694
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_CheckIcon_0_Template, 1, 2, "CheckIcon", 39)(1, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_1_Template, 1, 0, null, 21);
|
694
695
|
} if (rf & 2) {
|
695
696
|
const class_r10 = ctx.class;
|
696
697
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
@@ -700,16 +701,16 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template
|
|
700
701
|
} }
|
701
702
|
function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template(rf, ctx) { if (rf & 1) {
|
702
703
|
const _r9 = i0.ɵɵgetCurrentView();
|
703
|
-
i0.ɵɵelementStart(0, "p-checkbox",
|
704
|
+
i0.ɵɵelementStart(0, "p-checkbox", 51, 10);
|
704
705
|
i0.ɵɵlistener("onChange", function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template_p_checkbox_onChange_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onToggleAll($event)); });
|
705
|
-
i0.ɵɵtemplate(
|
706
|
+
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template, 2, 7, "ng-template", null, 11, i0.ɵɵtemplateRefExtractor);
|
706
707
|
i0.ɵɵelementEnd();
|
707
708
|
} if (rf & 2) {
|
708
709
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
709
710
|
i0.ɵɵproperty("ngModel", ctx_r1.allSelected())("binary", true)("variant", ctx_r1.variant)("disabled", ctx_r1.disabled);
|
710
711
|
} }
|
711
712
|
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template(rf, ctx) { if (rf & 1) {
|
712
|
-
i0.ɵɵelement(0, "SearchIcon",
|
713
|
+
i0.ɵɵelement(0, "SearchIcon", 41);
|
713
714
|
} if (rf & 2) {
|
714
715
|
i0.ɵɵproperty("styleClass", "p-multiselect-filter-icon");
|
715
716
|
} }
|
@@ -718,8 +719,8 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template(
|
|
718
719
|
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_ng_template_0_Template, 0, 0, "ng-template");
|
719
720
|
} }
|
720
721
|
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template(rf, ctx) { if (rf & 1) {
|
721
|
-
i0.ɵɵelementStart(0, "span",
|
722
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template, 1, 0, null,
|
722
|
+
i0.ɵɵelementStart(0, "span", 55);
|
723
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_1_Template, 1, 0, null, 32);
|
723
724
|
i0.ɵɵelementEnd();
|
724
725
|
} if (rf & 2) {
|
725
726
|
const ctx_r1 = i0.ɵɵnextContext(5);
|
@@ -728,11 +729,11 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template(rf
|
|
728
729
|
} }
|
729
730
|
function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
730
731
|
const _r11 = i0.ɵɵgetCurrentView();
|
731
|
-
i0.ɵɵelementStart(0, "div",
|
732
|
+
i0.ɵɵelementStart(0, "div", 52)(1, "p-iconfield")(2, "input", 53, 12);
|
732
733
|
i0.ɵɵlistener("input", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_input_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterInputChange($event)); })("keydown", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_keydown_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterKeyDown($event)); })("click", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_click_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onInputClick($event)); })("blur", function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template_input_blur_2_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.onFilterBlur($event)); });
|
733
734
|
i0.ɵɵelementEnd();
|
734
735
|
i0.ɵɵelementStart(4, "p-inputicon");
|
735
|
-
i0.ɵɵtemplate(5, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template, 1, 1, "SearchIcon",
|
736
|
+
i0.ɵɵtemplate(5, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_SearchIcon_5_Template, 1, 1, "SearchIcon", 39)(6, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_span_6_Template, 2, 1, "span", 54);
|
736
737
|
i0.ɵɵelementEnd()()();
|
737
738
|
} if (rf & 2) {
|
738
739
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
@@ -745,7 +746,7 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template(rf, ctx)
|
|
745
746
|
i0.ɵɵproperty("ngIf", ctx_r1.filterIconTemplate);
|
746
747
|
} }
|
747
748
|
function MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
748
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template,
|
749
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_Template, 4, 4, "p-checkbox", 49)(1, MultiSelect_ng_template_14_div_4_ng_template_3_div_1_Template, 7, 10, "div", 50);
|
749
750
|
} if (rf & 2) {
|
750
751
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
751
752
|
i0.ɵɵproperty("ngIf", ctx_r1.showToggleAll && !ctx_r1.selectionLimit);
|
@@ -753,9 +754,9 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) { if (
|
|
753
754
|
i0.ɵɵproperty("ngIf", ctx_r1.filter);
|
754
755
|
} }
|
755
756
|
function MultiSelect_ng_template_14_div_4_Template(rf, ctx) { if (rf & 1) {
|
756
|
-
i0.ɵɵelementStart(0, "div",
|
757
|
+
i0.ɵɵelementStart(0, "div", 48);
|
757
758
|
i0.ɵɵprojection(1);
|
758
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_container_2_Template, 2, 4, "ng-container",
|
759
|
+
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_container_2_Template, 2, 4, "ng-container", 23)(3, MultiSelect_ng_template_14_div_4_ng_template_3_Template, 2, 2, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
759
760
|
i0.ɵɵelementEnd();
|
760
761
|
} if (rf & 2) {
|
761
762
|
const builtInFilterElement_r12 = i0.ɵɵreference(4);
|
@@ -767,7 +768,7 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Te
|
|
767
768
|
i0.ɵɵelementContainer(0);
|
768
769
|
} }
|
769
770
|
function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
770
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, "ng-container",
|
771
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 21);
|
771
772
|
} if (rf & 2) {
|
772
773
|
const items_r14 = ctx.$implicit;
|
773
774
|
const scrollerOptions_r15 = ctx.options;
|
@@ -779,7 +780,7 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng
|
|
779
780
|
i0.ɵɵelementContainer(0);
|
780
781
|
} }
|
781
782
|
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
782
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container",
|
783
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 21);
|
783
784
|
} if (rf & 2) {
|
784
785
|
const scrollerOptions_r17 = ctx.options;
|
785
786
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
@@ -787,14 +788,14 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Te
|
|
787
788
|
} }
|
788
789
|
function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
789
790
|
i0.ɵɵelementContainerStart(0);
|
790
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template, 1, 4, "ng-template", null,
|
791
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template, 1, 4, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
|
791
792
|
i0.ɵɵelementContainerEnd();
|
792
793
|
} }
|
793
794
|
function MultiSelect_ng_template_14_p_scroller_6_Template(rf, ctx) { if (rf & 1) {
|
794
795
|
const _r13 = i0.ɵɵgetCurrentView();
|
795
|
-
i0.ɵɵelementStart(0, "p-scroller",
|
796
|
+
i0.ɵɵelementStart(0, "p-scroller", 56, 13);
|
796
797
|
i0.ɵɵlistener("onLazyLoad", function MultiSelect_ng_template_14_p_scroller_6_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onLazyLoad.emit($event)); });
|
797
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template, 1, 5, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(4, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template, 3, 0, "ng-container",
|
798
|
+
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template, 1, 5, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(4, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_Template, 3, 0, "ng-container", 20);
|
798
799
|
i0.ɵɵelementEnd();
|
799
800
|
} if (rf & 2) {
|
800
801
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
@@ -808,7 +809,7 @@ function MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template(rf, c
|
|
808
809
|
} }
|
809
810
|
function MultiSelect_ng_template_14_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
810
811
|
i0.ɵɵelementContainerStart(0);
|
811
|
-
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template, 1, 0, "ng-container",
|
812
|
+
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 21);
|
812
813
|
i0.ɵɵelementContainerEnd();
|
813
814
|
} if (rf & 2) {
|
814
815
|
i0.ɵɵnextContext();
|
@@ -832,8 +833,8 @@ function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_n
|
|
832
833
|
} }
|
833
834
|
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
834
835
|
i0.ɵɵelementContainerStart(0);
|
835
|
-
i0.ɵɵelementStart(1, "li",
|
836
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span",
|
836
|
+
i0.ɵɵelementStart(1, "li", 60);
|
837
|
+
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_span_2_Template, 2, 1, "span", 20)(3, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_ng_container_3_Template, 1, 0, "ng-container", 21);
|
837
838
|
i0.ɵɵelementEnd();
|
838
839
|
i0.ɵɵelementContainerEnd();
|
839
840
|
} if (rf & 2) {
|
@@ -853,7 +854,7 @@ function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_T
|
|
853
854
|
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
854
855
|
const _r22 = i0.ɵɵgetCurrentView();
|
855
856
|
i0.ɵɵelementContainerStart(0);
|
856
|
-
i0.ɵɵelementStart(1, "p-multiselect-item",
|
857
|
+
i0.ɵɵelementStart(1, "p-multiselect-item", 61);
|
857
858
|
i0.ɵɵlistener("onClick", function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template_p_multiselect_item_onClick_1_listener($event) { i0.ɵɵrestoreView(_r22); const i_r20 = i0.ɵɵnextContext().index; const scrollerOptions_r21 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOptionSelect($event, false, ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))); })("onMouseEnter", function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template_p_multiselect_item_onMouseEnter_1_listener($event) { i0.ɵɵrestoreView(_r22); const i_r20 = i0.ɵɵnextContext().index; const scrollerOptions_r21 = i0.ɵɵnextContext().options; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onOptionMouseEnter($event, ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))); });
|
858
859
|
i0.ɵɵelementEnd();
|
859
860
|
i0.ɵɵelementContainerEnd();
|
@@ -867,7 +868,7 @@ function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_T
|
|
867
868
|
i0.ɵɵproperty("id", ctx_r1.id + "_" + ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("option", option_r18)("selected", ctx_r1.isSelected(option_r18))("label", ctx_r1.getOptionLabel(option_r18))("disabled", ctx_r1.isOptionDisabled(option_r18))("template", ctx_r1.itemTemplate)("checkIconTemplate", ctx_r1.checkIconTemplate)("itemCheckboxIconTemplate", ctx_r1.itemCheckboxIconTemplate)("itemSize", scrollerOptions_r21.itemSize)("focused", ctx_r1.focusedOptionIndex() === ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21))("ariaPosInset", ctx_r1.getAriaPosInset(ctx_r1.getOptionIndex(i_r20, scrollerOptions_r21)))("ariaSetSize", ctx_r1.ariaSetSize)("variant", ctx_r1.variant);
|
868
869
|
} }
|
869
870
|
function MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
870
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, "ng-container",
|
871
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 20)(1, MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_1_Template, 2, 13, "ng-container", 20);
|
871
872
|
} if (rf & 2) {
|
872
873
|
const option_r18 = ctx.$implicit;
|
873
874
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
@@ -885,13 +886,13 @@ function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_containe
|
|
885
886
|
i0.ɵɵelementContainer(0);
|
886
887
|
} }
|
887
888
|
function MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
888
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 1, 0, "ng-container",
|
889
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 32);
|
889
890
|
} if (rf & 2) {
|
890
891
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
891
892
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyFilterTemplate || ctx_r1.emptyTemplate);
|
892
893
|
} }
|
893
894
|
function MultiSelect_ng_template_14_ng_template_8_li_3_Template(rf, ctx) { if (rf & 1) {
|
894
|
-
i0.ɵɵelementStart(0, "li",
|
895
|
+
i0.ɵɵelementStart(0, "li", 62);
|
895
896
|
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_1_Template, 1, 1)(2, MultiSelect_ng_template_14_ng_template_8_li_3_Conditional_2_Template, 1, 1, "ng-container");
|
896
897
|
i0.ɵɵelementEnd();
|
897
898
|
} if (rf & 2) {
|
@@ -911,13 +912,13 @@ function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_containe
|
|
911
912
|
i0.ɵɵelementContainer(0);
|
912
913
|
} }
|
913
914
|
function MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
914
|
-
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template, 1, 0, "ng-container",
|
915
|
+
i0.ɵɵtemplate(0, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 32);
|
915
916
|
} if (rf & 2) {
|
916
917
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
917
918
|
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.emptyTemplate);
|
918
919
|
} }
|
919
920
|
function MultiSelect_ng_template_14_ng_template_8_li_4_Template(rf, ctx) { if (rf & 1) {
|
920
|
-
i0.ɵɵelementStart(0, "li",
|
921
|
+
i0.ɵɵelementStart(0, "li", 62);
|
921
922
|
i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_1_Template, 1, 1)(2, MultiSelect_ng_template_14_ng_template_8_li_4_Conditional_2_Template, 1, 1, "ng-container");
|
922
923
|
i0.ɵɵelementEnd();
|
923
924
|
} if (rf & 2) {
|
@@ -928,8 +929,8 @@ function MultiSelect_ng_template_14_ng_template_8_li_4_Template(rf, ctx) { if (r
|
|
928
929
|
i0.ɵɵconditional(!ctx_r1.emptyTemplate ? 1 : 2);
|
929
930
|
} }
|
930
931
|
function MultiSelect_ng_template_14_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
931
|
-
i0.ɵɵelementStart(0, "ul",
|
932
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template, 2, 2, "ng-template",
|
932
|
+
i0.ɵɵelementStart(0, "ul", 57, 15);
|
933
|
+
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_ng_template_8_ng_template_2_Template, 2, 2, "ng-template", 58)(3, MultiSelect_ng_template_14_ng_template_8_li_3_Template, 3, 4, "li", 59)(4, MultiSelect_ng_template_14_ng_template_8_li_4_Template, 3, 4, "li", 59);
|
933
934
|
i0.ɵɵelementEnd();
|
934
935
|
} if (rf & 2) {
|
935
936
|
const items_r23 = ctx.$implicit;
|
@@ -951,7 +952,7 @@ function MultiSelect_ng_template_14_div_10_ng_container_2_Template(rf, ctx) { if
|
|
951
952
|
function MultiSelect_ng_template_14_div_10_Template(rf, ctx) { if (rf & 1) {
|
952
953
|
i0.ɵɵelementStart(0, "div");
|
953
954
|
i0.ɵɵprojection(1, 1);
|
954
|
-
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_10_ng_container_2_Template, 1, 0, "ng-container",
|
955
|
+
i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_10_ng_container_2_Template, 1, 0, "ng-container", 32);
|
955
956
|
i0.ɵɵelementEnd();
|
956
957
|
} if (rf & 2) {
|
957
958
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
@@ -960,15 +961,15 @@ function MultiSelect_ng_template_14_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
960
961
|
} }
|
961
962
|
function MultiSelect_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
962
963
|
const _r8 = i0.ɵɵgetCurrentView();
|
963
|
-
i0.ɵɵelementStart(0, "div",
|
964
|
+
i0.ɵɵelementStart(0, "div", 43)(1, "span", 44, 6);
|
964
965
|
i0.ɵɵlistener("focus", function MultiSelect_ng_template_14_Template_span_focus_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onFirstHiddenFocus($event)); });
|
965
966
|
i0.ɵɵelementEnd();
|
966
|
-
i0.ɵɵtemplate(3, MultiSelect_ng_template_14_ng_container_3_Template, 1, 0, "ng-container",
|
967
|
-
i0.ɵɵelementStart(5, "div",
|
968
|
-
i0.ɵɵtemplate(6, MultiSelect_ng_template_14_p_scroller_6_Template, 5, 11, "p-scroller",
|
967
|
+
i0.ɵɵtemplate(3, MultiSelect_ng_template_14_ng_container_3_Template, 1, 0, "ng-container", 32)(4, MultiSelect_ng_template_14_div_4_Template, 5, 2, "div", 45);
|
968
|
+
i0.ɵɵelementStart(5, "div", 46);
|
969
|
+
i0.ɵɵtemplate(6, MultiSelect_ng_template_14_p_scroller_6_Template, 5, 11, "p-scroller", 47)(7, MultiSelect_ng_template_14_ng_container_7_Template, 2, 6, "ng-container", 20)(8, MultiSelect_ng_template_14_ng_template_8_Template, 5, 7, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
969
970
|
i0.ɵɵelementEnd();
|
970
|
-
i0.ɵɵtemplate(10, MultiSelect_ng_template_14_div_10_Template, 3, 1, "div",
|
971
|
-
i0.ɵɵelementStart(11, "span",
|
971
|
+
i0.ɵɵtemplate(10, MultiSelect_ng_template_14_div_10_Template, 3, 1, "div", 20);
|
972
|
+
i0.ɵɵelementStart(11, "span", 44, 8);
|
972
973
|
i0.ɵɵlistener("focus", function MultiSelect_ng_template_14_Template_span_focus_11_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onLastHiddenFocus($event)); });
|
973
974
|
i0.ɵɵelementEnd()();
|
974
975
|
} if (rf & 2) {
|
@@ -1137,7 +1138,6 @@ class MultiSelectItem extends BaseComponent {
|
|
1137
1138
|
class MultiSelect extends BaseComponent {
|
1138
1139
|
zone;
|
1139
1140
|
filterService;
|
1140
|
-
config;
|
1141
1141
|
overlayService;
|
1142
1142
|
/**
|
1143
1143
|
* Unique identifier of the component
|
@@ -1811,11 +1811,10 @@ class MultiSelect extends BaseComponent {
|
|
1811
1811
|
chipSelectedItems = computed(() => {
|
1812
1812
|
return isNotEmpty(this.maxSelectedLabels) && this.modelValue() && this.modelValue().length > this.maxSelectedLabels ? this.modelValue().slice(0, this.maxSelectedLabels) : this.modelValue();
|
1813
1813
|
});
|
1814
|
-
constructor(zone, filterService,
|
1814
|
+
constructor(zone, filterService, overlayService) {
|
1815
1815
|
super();
|
1816
1816
|
this.zone = zone;
|
1817
1817
|
this.filterService = filterService;
|
1818
|
-
this.config = config;
|
1819
1818
|
this.overlayService = overlayService;
|
1820
1819
|
effect(() => {
|
1821
1820
|
const modelValue = this.modelValue();
|
@@ -2421,10 +2420,10 @@ class MultiSelect extends BaseComponent {
|
|
2421
2420
|
this.cd.markForCheck();
|
2422
2421
|
}
|
2423
2422
|
this.onChange.emit({ originalEvent: event, value: this.value });
|
2424
|
-
focus(this.headerCheckboxViewChild?.nativeElement);
|
2423
|
+
DomHandler.focus(this.headerCheckboxViewChild?.inputViewChild?.nativeElement);
|
2425
2424
|
this.headerCheckboxFocus = true;
|
2426
|
-
event.preventDefault();
|
2427
|
-
event.stopPropagation();
|
2425
|
+
event.originalEvent.preventDefault();
|
2426
|
+
event.originalEvent.stopPropagation();
|
2428
2427
|
}
|
2429
2428
|
changeFocusedOptionIndex(event, index) {
|
2430
2429
|
if (this.focusedOptionIndex() !== index) {
|
@@ -2567,6 +2566,10 @@ class MultiSelect extends BaseComponent {
|
|
2567
2566
|
value: value,
|
2568
2567
|
itemValue: optionValue
|
2569
2568
|
});
|
2569
|
+
this.onRemove.emit({
|
2570
|
+
newValue: value,
|
2571
|
+
removed: optionValue
|
2572
|
+
});
|
2570
2573
|
event && event.stopPropagation();
|
2571
2574
|
}
|
2572
2575
|
findNextItem(item) {
|
@@ -2667,7 +2670,7 @@ class MultiSelect extends BaseComponent {
|
|
2667
2670
|
hasFilter() {
|
2668
2671
|
return this._filterValue() && this._filterValue().trim().length > 0;
|
2669
2672
|
}
|
2670
|
-
static ɵfac = function MultiSelect_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiSelect)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i3.FilterService), i0.ɵɵdirectiveInject(i3.
|
2673
|
+
static ɵfac = function MultiSelect_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiSelect)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i3.FilterService), i0.ɵɵdirectiveInject(i3.OverlayService)); };
|
2671
2674
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiSelect, selectors: [["p-multiSelect"], ["p-multiselect"], ["p-multi-select"]], contentQueries: function MultiSelect_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
2672
2675
|
i0.ɵɵcontentQuery(dirIndex, Footer, 5);
|
2673
2676
|
i0.ɵɵcontentQuery(dirIndex, Header, 5);
|
@@ -2700,22 +2703,22 @@ class MultiSelect extends BaseComponent {
|
|
2700
2703
|
i0.ɵɵattribute("id", ctx.id);
|
2701
2704
|
i0.ɵɵstyleMap(ctx.style);
|
2702
2705
|
i0.ɵɵclassMap(ctx.hostClasses);
|
2703
|
-
} }, inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: [2, "disabled", "disabled", booleanAttribute], fluid: [2, "fluid", "fluid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], group: [2, "group", "group", booleanAttribute], filter: [2, "filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: [2, "overlayVisible", "overlayVisible", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: [2, "selectionLimit", "selectionLimit", numberAttribute], selectedItemsLabel: "selectedItemsLabel", showToggleAll: [2, "showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: [2, "resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", chipIcon: "chipIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: [2, "showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], loading: [2, "loading", "loading", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: [2, "autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", size: "size", showClear: [2, "showClear", "showClear", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute] }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c13, decls: 16, vars: 38, consts: [["focusInput", ""], ["elseBlock", ""], ["overlay", ""], ["content", ""], ["token", ""], ["removeicon", ""], ["firstHiddenFocusableEl", ""], ["buildInItems", ""], ["lastHiddenFocusableEl", ""], ["builtInFilterElement", ""], ["icon", ""], ["filterInput", ""], ["scroller", ""], ["loader", ""], ["items", ""], [1, "p-hidden-accessible"], ["role", "combobox", 3, "focus", "blur", "keydown", "pTooltip", "tooltipPosition", "positionStyle", "tooltipStyleClass", "pAutoFocus"], [1, "p-multiselect-label-container", 3, "mouseleave", "pTooltip", "tooltipDisabled", "tooltipPosition", "positionStyle", "tooltipStyleClass"], [3, "ngClass"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-multiselect-dropdown"], [4, "ngIf", "ngIfElse"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions"], ["class", "p-multiselect-chip-item", 4, "ngFor", "ngForOf"], [1, "p-multiselect-chip-item"], ["styleClass", "p-multiselect-chip", 3, "onRemove", "label", "removable", "removeIcon"], ["class", "p-multiselect-chip-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-chip-icon", 3, "click"], ["class", "p-multiselect-clear-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], ["aria-hidden", "true", 3, "class", 4, "ngIf"], ["aria-hidden", "true", 3, "ngClass"], ["aria-hidden", "true"], ["class", "p-multiselect-dropdown-icon", 4, "ngIf"], ["class", "p-multiselect-dropdown-icon", 3, "ngClass", 4, "ngIf"], [3, "styleClass", 4, "ngIf"], [1, "p-multiselect-dropdown-icon", 3, "ngClass"], [3, "styleClass"], [1, "p-multiselect-dropdown-icon"], [3, "ngClass", "ngStyle"], ["role", "presentation", 1, "p-hidden-accessible", "p-hidden-focusable", 3, "focus"], ["class", "p-multiselect-header", 4, "ngIf"], [1, "p-multiselect-list-container"], [3, "items", "style", "itemSize", "autoSize", "tabindex", "lazy", "options", "onLazyLoad", 4, "ngIf"], [1, "p-multiselect-header"], [3, "ngModel", "binary", "variant", "disabled", "onChange", 4, "ngIf"], ["class", "p-multiselect-filter-container", 4, "ngIf"], [3, "onChange", "ngModel", "binary", "variant", "disabled"], [1, "p-multiselect-filter-container"], ["pInputText", "", "type", "text", "role", "searchbox", 1, "p-multiselect-filter", 3, "input", "keydown", "click", "blur", "variant", "value", "disabled"], ["class", "p-multiselect-filter-icon", 4, "ngIf"], [1, "p-multiselect-filter-icon"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "tabindex", "lazy", "options"], ["role", "listbox", "aria-multiselectable", "true", 1, "p-multiselect-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-multiselect-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-multiselect-option-group", 3, "ngStyle"], [3, "onClick", "onMouseEnter", "id", "option", "selected", "label", "disabled", "template", "checkIconTemplate", "itemCheckboxIconTemplate", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant"], ["role", "option", 1, "p-multiselect-empty-message", 3, "ngStyle"]], template: function MultiSelect_Template(rf, ctx) { if (rf & 1) {
|
2706
|
+
} }, inputs: { id: "id", ariaLabel: "ariaLabel", style: "style", styleClass: "styleClass", panelStyle: "panelStyle", panelStyleClass: "panelStyleClass", inputId: "inputId", disabled: [2, "disabled", "disabled", booleanAttribute], fluid: [2, "fluid", "fluid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], group: [2, "group", "group", booleanAttribute], filter: [2, "filter", "filter", booleanAttribute], filterPlaceHolder: "filterPlaceHolder", filterLocale: "filterLocale", overlayVisible: [2, "overlayVisible", "overlayVisible", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], variant: "variant", appendTo: "appendTo", dataKey: "dataKey", name: "name", ariaLabelledBy: "ariaLabelledBy", displaySelectedLabel: "displaySelectedLabel", maxSelectedLabels: "maxSelectedLabels", selectionLimit: [2, "selectionLimit", "selectionLimit", numberAttribute], selectedItemsLabel: "selectedItemsLabel", showToggleAll: [2, "showToggleAll", "showToggleAll", booleanAttribute], emptyFilterMessage: "emptyFilterMessage", emptyMessage: "emptyMessage", resetFilterOnHide: [2, "resetFilterOnHide", "resetFilterOnHide", booleanAttribute], dropdownIcon: "dropdownIcon", chipIcon: "chipIcon", optionLabel: "optionLabel", optionValue: "optionValue", optionDisabled: "optionDisabled", optionGroupLabel: "optionGroupLabel", optionGroupChildren: "optionGroupChildren", showHeader: [2, "showHeader", "showHeader", booleanAttribute], filterBy: "filterBy", scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], loading: [2, "loading", "loading", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], loadingIcon: "loadingIcon", virtualScrollOptions: "virtualScrollOptions", overlayOptions: "overlayOptions", ariaFilterLabel: "ariaFilterLabel", filterMatchMode: "filterMatchMode", tooltip: "tooltip", tooltipPosition: "tooltipPosition", tooltipPositionStyle: "tooltipPositionStyle", tooltipStyleClass: "tooltipStyleClass", autofocusFilter: [2, "autofocusFilter", "autofocusFilter", booleanAttribute], display: "display", autocomplete: "autocomplete", size: "size", showClear: [2, "showClear", "showClear", booleanAttribute], autofocus: [2, "autofocus", "autofocus", booleanAttribute], autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", defaultLabel: "defaultLabel", placeholder: "placeholder", options: "options", filterValue: "filterValue", itemSize: "itemSize", selectAll: "selectAll", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], filterFields: "filterFields", selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute] }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, standalone: true, features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c13, decls: 16, vars: 38, consts: [["focusInput", ""], ["elseBlock", ""], ["overlay", ""], ["content", ""], ["token", ""], ["removeicon", ""], ["firstHiddenFocusableEl", ""], ["buildInItems", ""], ["lastHiddenFocusableEl", ""], ["builtInFilterElement", ""], ["headerCheckbox", ""], ["icon", ""], ["filterInput", ""], ["scroller", ""], ["loader", ""], ["items", ""], [1, "p-hidden-accessible"], ["role", "combobox", 3, "focus", "blur", "keydown", "pTooltip", "tooltipPosition", "positionStyle", "tooltipStyleClass", "pAutoFocus"], [1, "p-multiselect-label-container", 3, "mouseleave", "pTooltip", "tooltipDisabled", "tooltipPosition", "positionStyle", "tooltipStyleClass"], [3, "ngClass"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "p-multiselect-dropdown"], [4, "ngIf", "ngIfElse"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions"], ["class", "p-multiselect-chip-item", 4, "ngFor", "ngForOf"], [1, "p-multiselect-chip-item"], ["styleClass", "p-multiselect-chip", 3, "onRemove", "label", "removable", "removeIcon"], ["class", "p-multiselect-chip-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-chip-icon", 3, "click"], ["class", "p-multiselect-clear-icon", 3, "click", 4, "ngIf"], [1, "p-multiselect-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["aria-hidden", "true", 3, "ngClass", 4, "ngIf"], ["aria-hidden", "true", 3, "class", 4, "ngIf"], ["aria-hidden", "true", 3, "ngClass"], ["aria-hidden", "true"], ["class", "p-multiselect-dropdown-icon", 4, "ngIf"], ["class", "p-multiselect-dropdown-icon", 3, "ngClass", 4, "ngIf"], [3, "styleClass", 4, "ngIf"], [1, "p-multiselect-dropdown-icon", 3, "ngClass"], [3, "styleClass"], [1, "p-multiselect-dropdown-icon"], [3, "ngClass", "ngStyle"], ["role", "presentation", 1, "p-hidden-accessible", "p-hidden-focusable", 3, "focus"], ["class", "p-multiselect-header", 4, "ngIf"], [1, "p-multiselect-list-container"], [3, "items", "style", "itemSize", "autoSize", "tabindex", "lazy", "options", "onLazyLoad", 4, "ngIf"], [1, "p-multiselect-header"], [3, "ngModel", "binary", "variant", "disabled", "onChange", 4, "ngIf"], ["class", "p-multiselect-filter-container", 4, "ngIf"], [3, "onChange", "ngModel", "binary", "variant", "disabled"], [1, "p-multiselect-filter-container"], ["pInputText", "", "type", "text", "role", "searchbox", 1, "p-multiselect-filter", 3, "input", "keydown", "click", "blur", "variant", "value", "disabled"], ["class", "p-multiselect-filter-icon", 4, "ngIf"], [1, "p-multiselect-filter-icon"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "tabindex", "lazy", "options"], ["role", "listbox", "aria-multiselectable", "true", 1, "p-multiselect-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-multiselect-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-multiselect-option-group", 3, "ngStyle"], [3, "onClick", "onMouseEnter", "id", "option", "selected", "label", "disabled", "template", "checkIconTemplate", "itemCheckboxIconTemplate", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant"], ["role", "option", 1, "p-multiselect-empty-message", 3, "ngStyle"]], template: function MultiSelect_Template(rf, ctx) { if (rf & 1) {
|
2704
2707
|
const _r1 = i0.ɵɵgetCurrentView();
|
2705
2708
|
i0.ɵɵprojectionDef(_c12);
|
2706
|
-
i0.ɵɵelementStart(0, "div",
|
2709
|
+
i0.ɵɵelementStart(0, "div", 16)(1, "input", 17, 0);
|
2707
2710
|
i0.ɵɵlistener("focus", function MultiSelect_Template_input_focus_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputFocus($event)); })("blur", function MultiSelect_Template_input_blur_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onInputBlur($event)); })("keydown", function MultiSelect_Template_input_keydown_1_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onKeyDown($event)); });
|
2708
2711
|
i0.ɵɵelementEnd()();
|
2709
|
-
i0.ɵɵelementStart(3, "div",
|
2712
|
+
i0.ɵɵelementStart(3, "div", 18);
|
2710
2713
|
i0.ɵɵlistener("mouseleave", function MultiSelect_Template_div_mouseleave_3_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.labelContainerMouseLeave()); });
|
2711
|
-
i0.ɵɵelementStart(4, "div",
|
2712
|
-
i0.ɵɵtemplate(5, MultiSelect_ng_container_5_Template, 3, 2, "ng-container",
|
2714
|
+
i0.ɵɵelementStart(4, "div", 19);
|
2715
|
+
i0.ɵɵtemplate(5, MultiSelect_ng_container_5_Template, 3, 2, "ng-container", 20)(6, MultiSelect_ng_container_6_Template, 1, 0, "ng-container", 21);
|
2713
2716
|
i0.ɵɵelementEnd()();
|
2714
|
-
i0.ɵɵtemplate(7, MultiSelect_ng_container_7_Template, 3, 2, "ng-container",
|
2715
|
-
i0.ɵɵelementStart(8, "div",
|
2716
|
-
i0.ɵɵtemplate(9, MultiSelect_ng_container_9_Template, 3, 2, "ng-container",
|
2717
|
+
i0.ɵɵtemplate(7, MultiSelect_ng_container_7_Template, 3, 2, "ng-container", 20);
|
2718
|
+
i0.ɵɵelementStart(8, "div", 22);
|
2719
|
+
i0.ɵɵtemplate(9, MultiSelect_ng_container_9_Template, 3, 2, "ng-container", 23)(10, MultiSelect_ng_template_10_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
2717
2720
|
i0.ɵɵelementEnd();
|
2718
|
-
i0.ɵɵelementStart(12, "p-overlay",
|
2721
|
+
i0.ɵɵelementStart(12, "p-overlay", 24, 2);
|
2719
2722
|
i0.ɵɵtwoWayListener("visibleChange", function MultiSelect_Template_p_overlay_visibleChange_12_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.overlayVisible, $event) || (ctx.overlayVisible = $event); return i0.ɵɵresetView($event); });
|
2720
2723
|
i0.ɵɵlistener("onAnimationStart", function MultiSelect_Template_p_overlay_onAnimationStart_12_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onOverlayAnimationStart($event)); })("onHide", function MultiSelect_Template_p_overlay_onHide_12_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.hide()); });
|
2721
2724
|
i0.ɵɵtemplate(14, MultiSelect_ng_template_14_Template, 13, 18, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
@@ -2900,7 +2903,7 @@ class MultiSelect extends BaseComponent {
|
|
2900
2903
|
<ng-container *ngTemplateOutlet="filterTemplate; context: { options: filterOptions }"></ng-container>
|
2901
2904
|
</ng-container>
|
2902
2905
|
<ng-template #builtInFilterElement>
|
2903
|
-
<p-checkbox [ngModel]="allSelected()" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled">
|
2906
|
+
<p-checkbox [ngModel]="allSelected()" [binary]="true" (onChange)="onToggleAll($event)" *ngIf="showToggleAll && !selectionLimit" [variant]="variant" [disabled]="disabled" #headerCheckbox>
|
2904
2907
|
<ng-template #icon let-class="class">
|
2905
2908
|
<CheckIcon *ngIf="!headerCheckboxIconTemplate && allSelected()" [styleClass]="class" [attr.data-pc-section]="'icon'" />
|
2906
2909
|
<ng-template
|
@@ -3047,7 +3050,7 @@ class MultiSelect extends BaseComponent {
|
|
3047
3050
|
'(click)': 'onContainerClick($event)'
|
3048
3051
|
}
|
3049
3052
|
}]
|
3050
|
-
}], () => [{ type: i0.NgZone }, { type: i3.FilterService }, { type: i3.
|
3053
|
+
}], () => [{ type: i0.NgZone }, { type: i3.FilterService }, { type: i3.OverlayService }], { id: [{
|
3051
3054
|
type: Input
|
3052
3055
|
}], ariaLabel: [{
|
3053
3056
|
type: Input
|