primeng 19.0.1 → 19.0.3

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.
Files changed (73) hide show
  1. package/autocomplete/autocomplete.d.ts +1 -1
  2. package/cascadeselect/cascadeselect.d.ts +1 -1
  3. package/dropdown/dropdown.d.ts +2 -1
  4. package/dynamicdialog/dialogservice.d.ts +1 -1
  5. package/dynamicdialog/dynamicdialog-config.d.ts +7 -2
  6. package/dynamicdialog/dynamicdialog.d.ts +5 -4
  7. package/fesm2022/primeng-autocomplete.mjs +5 -5
  8. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  9. package/fesm2022/primeng-breadcrumb.mjs +76 -70
  10. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  11. package/fesm2022/primeng-button.mjs +3 -3
  12. package/fesm2022/primeng-button.mjs.map +1 -1
  13. package/fesm2022/primeng-calendar.mjs +2 -2
  14. package/fesm2022/primeng-calendar.mjs.map +1 -1
  15. package/fesm2022/primeng-carousel.mjs +14 -5
  16. package/fesm2022/primeng-carousel.mjs.map +1 -1
  17. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  18. package/fesm2022/primeng-confirmdialog.mjs +1 -1
  19. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  20. package/fesm2022/primeng-datepicker.mjs +2 -2
  21. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  22. package/fesm2022/primeng-dialog.mjs +1 -0
  23. package/fesm2022/primeng-dialog.mjs.map +1 -1
  24. package/fesm2022/primeng-dock.mjs +90 -80
  25. package/fesm2022/primeng-dock.mjs.map +1 -1
  26. package/fesm2022/primeng-dropdown.mjs +8 -15
  27. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  28. package/fesm2022/primeng-dynamicdialog.mjs +19 -6
  29. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  30. package/fesm2022/primeng-fileupload.mjs +2 -2
  31. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  32. package/fesm2022/primeng-galleria.mjs +229 -86
  33. package/fesm2022/primeng-galleria.mjs.map +1 -1
  34. package/fesm2022/primeng-inputnumber.mjs +1 -1
  35. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  36. package/fesm2022/primeng-inputotp.mjs +17 -8
  37. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  38. package/fesm2022/primeng-listbox.mjs +23 -12
  39. package/fesm2022/primeng-listbox.mjs.map +1 -1
  40. package/fesm2022/primeng-menu.mjs +38 -48
  41. package/fesm2022/primeng-menu.mjs.map +1 -1
  42. package/fesm2022/primeng-multiselect.mjs +48 -24
  43. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  44. package/fesm2022/primeng-paginator.mjs +5 -1
  45. package/fesm2022/primeng-paginator.mjs.map +1 -1
  46. package/fesm2022/primeng-panel.mjs +58 -52
  47. package/fesm2022/primeng-panel.mjs.map +1 -1
  48. package/fesm2022/primeng-popover.mjs +10 -19
  49. package/fesm2022/primeng-popover.mjs.map +1 -1
  50. package/fesm2022/primeng-select.mjs +15 -21
  51. package/fesm2022/primeng-select.mjs.map +1 -1
  52. package/fesm2022/primeng-splitter.mjs +28 -14
  53. package/fesm2022/primeng-splitter.mjs.map +1 -1
  54. package/fesm2022/primeng-steps.mjs +100 -90
  55. package/fesm2022/primeng-steps.mjs.map +1 -1
  56. package/fesm2022/primeng-table.mjs +2 -2
  57. package/fesm2022/primeng-table.mjs.map +1 -1
  58. package/fesm2022/primeng-tag.mjs +0 -1
  59. package/fesm2022/primeng-tag.mjs.map +1 -1
  60. package/fesm2022/primeng-togglebutton.mjs +3 -3
  61. package/fesm2022/primeng-tree.mjs +15 -11
  62. package/fesm2022/primeng-tree.mjs.map +1 -1
  63. package/fesm2022/primeng-treetable.mjs +385 -175
  64. package/fesm2022/primeng-treetable.mjs.map +1 -1
  65. package/galleria/galleria.d.ts +18 -1
  66. package/inputotp/inputotp.d.ts +1 -0
  67. package/package.json +173 -173
  68. package/popover/popover.d.ts +1 -7
  69. package/select/select.d.ts +1 -0
  70. package/splitter/splitter.d.ts +2 -1
  71. package/tag/tag.d.ts +0 -1
  72. package/togglebutton/public_api.d.ts +2 -1
  73. package/treetable/treetable.d.ts +28 -1
@@ -453,8 +453,8 @@ const _c28 = ["firstHiddenFocusableEl"];
453
453
  const _c29 = ["headerCheckbox"];
454
454
  const _c30 = [[["p-header"]], [["p-footer"]]];
455
455
  const _c31 = ["p-header", "p-footer"];
456
- const _c32 = (a0, a1) => ({ $implicit: a0, removeChip: a1 });
457
- const _c33 = () => ({ class: "p-multiselect-chip-icon" });
456
+ const _c32 = () => ({ class: "p-multiselect-chip-icon" });
457
+ const _c33 = (a0, a1) => ({ $implicit: a0, removeChip: a1 });
458
458
  const _c34 = a0 => ({ options: a0 });
459
459
  const _c35 = (a0, a1, a2) => ({ checked: a0, partialSelected: a1, class: a2 });
460
460
  const _c36 = (a0, a1) => ({ $implicit: a0, options: a1 });
@@ -473,19 +473,19 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_ng_templ
473
473
  } }
474
474
  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) {
475
475
  const _r5 = i0.ɵɵgetCurrentView();
476
- i0.ɵɵelementStart(0, "span", 29);
476
+ i0.ɵɵelementStart(0, "span", 28);
477
477
  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)); });
478
- 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);
478
+ 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", 29);
479
479
  i0.ɵɵelementEnd();
480
480
  } if (rf & 2) {
481
481
  const ctx_r1 = i0.ɵɵnextContext(7);
482
482
  i0.ɵɵattribute("data-pc-section", "clearicon")("aria-hidden", true);
483
483
  i0.ɵɵadvance();
484
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(4, _c33));
484
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chipIconTemplate || ctx_r1._chipIconTemplate || ctx_r1.removeTokenIconTemplate || ctx_r1._removeTokenIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction0(4, _c32));
485
485
  } }
486
486
  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) {
487
487
  i0.ɵɵelementContainerStart(0);
488
- 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);
488
+ 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", 27);
489
489
  i0.ɵɵelementContainerEnd();
490
490
  } if (rf & 2) {
491
491
  const ctx_r1 = i0.ɵɵnextContext(6);
@@ -505,7 +505,7 @@ function MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template
505
505
  } }
506
506
  function MultiSelect_ng_container_5_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
507
507
  const _r3 = i0.ɵɵgetCurrentView();
508
- i0.ɵɵelementStart(0, "div", 26, 4)(2, "p-chip", 27);
508
+ i0.ɵɵelementStart(0, "div", 25, 4)(2, "p-chip", 26);
509
509
  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)); });
510
510
  i0.ɵɵtemplate(3, MultiSelect_ng_container_5_ng_container_2_div_1_ng_container_3_Template, 3, 0, "ng-container", 20);
511
511
  i0.ɵɵelementEnd()();
@@ -528,7 +528,7 @@ function MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template(rf, c
528
528
  } }
529
529
  function MultiSelect_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
530
530
  i0.ɵɵelementContainerStart(0);
531
- 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);
531
+ i0.ɵɵtemplate(1, MultiSelect_ng_container_5_ng_container_2_div_1_Template, 4, 4, "div", 24)(2, MultiSelect_ng_container_5_ng_container_2_ng_container_2_Template, 2, 1, "ng-container", 20);
532
532
  i0.ɵɵelementContainerEnd();
533
533
  } if (rf & 2) {
534
534
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -548,9 +548,29 @@ function MultiSelect_ng_container_5_Template(rf, ctx) { if (rf & 1) {
548
548
  i0.ɵɵadvance();
549
549
  i0.ɵɵproperty("ngIf", ctx_r1.display === "chip");
550
550
  } }
551
- function MultiSelect_ng_container_6_Template(rf, ctx) { if (rf & 1) {
551
+ function MultiSelect_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
552
552
  i0.ɵɵelementContainer(0);
553
553
  } }
554
+ function MultiSelect_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
555
+ i0.ɵɵelementContainerStart(0);
556
+ i0.ɵɵtext(1);
557
+ i0.ɵɵelementContainerEnd();
558
+ } if (rf & 2) {
559
+ const ctx_r1 = i0.ɵɵnextContext(2);
560
+ i0.ɵɵadvance();
561
+ i0.ɵɵtextInterpolate(ctx_r1.placeholder() || ctx_r1.defaultLabel || "empty");
562
+ } }
563
+ function MultiSelect_ng_container_6_Template(rf, ctx) { if (rf & 1) {
564
+ i0.ɵɵelementContainerStart(0);
565
+ i0.ɵɵtemplate(1, MultiSelect_ng_container_6_ng_container_1_Template, 1, 0, "ng-container", 29)(2, MultiSelect_ng_container_6_ng_container_2_Template, 2, 1, "ng-container", 20);
566
+ i0.ɵɵelementContainerEnd();
567
+ } if (rf & 2) {
568
+ const ctx_r1 = i0.ɵɵnextContext();
569
+ i0.ɵɵadvance();
570
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.selectedItemsTemplate || ctx_r1._selectedItemsTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c33, ctx_r1.selectedOptions, ctx_r1.removeOption.bind(ctx_r1)));
571
+ i0.ɵɵadvance();
572
+ i0.ɵɵproperty("ngIf", !ctx_r1.modelValue() || ctx_r1.modelValue().length === 0);
573
+ } }
554
574
  function MultiSelect_ng_container_7_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
555
575
  const _r6 = i0.ɵɵgetCurrentView();
556
576
  i0.ɵɵelementStart(0, "TimesIcon", 31);
@@ -685,7 +705,7 @@ function MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template
685
705
  } }
686
706
  function MultiSelect_ng_template_14_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
687
707
  i0.ɵɵelementContainerStart(0);
688
- i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 21);
708
+ i0.ɵɵtemplate(1, MultiSelect_ng_template_14_div_4_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 29);
689
709
  i0.ɵɵelementContainerEnd();
690
710
  } if (rf & 2) {
691
711
  const ctx_r1 = i0.ɵɵnextContext(3);
@@ -704,7 +724,7 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template
704
724
  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");
705
725
  } }
706
726
  function MultiSelect_ng_template_14_div_4_ng_template_3_p_checkbox_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
707
- 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);
727
+ 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, 29);
708
728
  } if (rf & 2) {
709
729
  const klass_r10 = ctx.class;
710
730
  const ctx_r1 = i0.ɵɵnextContext(5);
@@ -769,7 +789,7 @@ function MultiSelect_ng_template_14_div_4_ng_template_3_Template(rf, ctx) { if (
769
789
  function MultiSelect_ng_template_14_div_4_Template(rf, ctx) { if (rf & 1) {
770
790
  i0.ɵɵelementStart(0, "div", 48);
771
791
  i0.ɵɵprojection(1);
772
- 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);
792
+ i0.ɵɵtemplate(2, MultiSelect_ng_template_14_div_4_ng_container_2_Template, 2, 4, "ng-container", 22)(3, MultiSelect_ng_template_14_div_4_ng_template_3_Template, 2, 2, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
773
793
  i0.ɵɵelementEnd();
774
794
  } if (rf & 2) {
775
795
  const builtInFilterElement_r12 = i0.ɵɵreference(4);
@@ -781,7 +801,7 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Te
781
801
  i0.ɵɵelementContainer(0);
782
802
  } }
783
803
  function MultiSelect_ng_template_14_p_scroller_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
784
- i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 21);
804
+ i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 29);
785
805
  } if (rf & 2) {
786
806
  const items_r14 = ctx.$implicit;
787
807
  const scrollerOptions_r15 = ctx.options;
@@ -793,7 +813,7 @@ function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng
793
813
  i0.ɵɵelementContainer(0);
794
814
  } }
795
815
  function MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
796
- 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);
816
+ i0.ɵɵtemplate(0, MultiSelect_ng_template_14_p_scroller_6_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 29);
797
817
  } if (rf & 2) {
798
818
  const scrollerOptions_r17 = ctx.options;
799
819
  const ctx_r1 = i0.ɵɵnextContext(4);
@@ -822,7 +842,7 @@ function MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template(rf, c
822
842
  } }
823
843
  function MultiSelect_ng_template_14_ng_container_7_Template(rf, ctx) { if (rf & 1) {
824
844
  i0.ɵɵelementContainerStart(0);
825
- i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 21);
845
+ i0.ɵɵtemplate(1, MultiSelect_ng_template_14_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 29);
826
846
  i0.ɵɵelementContainerEnd();
827
847
  } if (rf & 2) {
828
848
  i0.ɵɵnextContext();
@@ -847,7 +867,7 @@ function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_n
847
867
  function MultiSelect_ng_template_14_ng_template_8_ng_template_2_ng_container_0_Template(rf, ctx) { if (rf & 1) {
848
868
  i0.ɵɵelementContainerStart(0);
849
869
  i0.ɵɵelementStart(1, "li", 60);
850
- 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);
870
+ 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", 29);
851
871
  i0.ɵɵelementEnd();
852
872
  i0.ɵɵelementContainerEnd();
853
873
  } if (rf & 2) {
@@ -1729,6 +1749,7 @@ class MultiSelect extends BaseComponent {
1729
1749
  this._groupTemplate = item.template;
1730
1750
  break;
1731
1751
  case 'selectedItems':
1752
+ case 'selecteditems':
1732
1753
  this._selectedItemsTemplate = item.template;
1733
1754
  break;
1734
1755
  case 'header':
@@ -2773,7 +2794,7 @@ class MultiSelect extends BaseComponent {
2773
2794
  i0.ɵɵattribute("id", ctx.id);
2774
2795
  i0.ɵɵstyleMap(ctx.style);
2775
2796
  i0.ɵɵclassMap(ctx.hostClasses);
2776
- } }, 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" }, features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c31, decls: 16, vars: 39, consts: [["focusInput", ""], ["elseBlock", ""], ["overlay", ""], ["content", ""], ["token", ""], ["removeicon", ""], ["firstHiddenFocusableEl", ""], ["buildInItems", ""], ["lastHiddenFocusableEl", ""], ["builtInFilterElement", ""], ["headerCheckbox", ""], ["checkboxicon", ""], ["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) {
2797
+ } }, 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" }, features: [i0.ɵɵProvidersFeature([MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c31, decls: 16, vars: 35, consts: [["focusInput", ""], ["elseBlock", ""], ["overlay", ""], ["content", ""], ["token", ""], ["removeicon", ""], ["firstHiddenFocusableEl", ""], ["buildInItems", ""], ["lastHiddenFocusableEl", ""], ["builtInFilterElement", ""], ["headerCheckbox", ""], ["checkboxicon", ""], ["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"], [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"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["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) {
2777
2798
  const _r1 = i0.ɵɵgetCurrentView();
2778
2799
  i0.ɵɵprojectionDef(_c30);
2779
2800
  i0.ɵɵelementStart(0, "div", 16)(1, "input", 17, 0);
@@ -2782,13 +2803,13 @@ class MultiSelect extends BaseComponent {
2782
2803
  i0.ɵɵelementStart(3, "div", 18);
2783
2804
  i0.ɵɵlistener("mouseleave", function MultiSelect_Template_div_mouseleave_3_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.labelContainerMouseLeave()); });
2784
2805
  i0.ɵɵelementStart(4, "div", 19);
2785
- i0.ɵɵtemplate(5, MultiSelect_ng_container_5_Template, 3, 2, "ng-container", 20)(6, MultiSelect_ng_container_6_Template, 1, 0, "ng-container", 21);
2806
+ i0.ɵɵtemplate(5, MultiSelect_ng_container_5_Template, 3, 2, "ng-container", 20)(6, MultiSelect_ng_container_6_Template, 3, 6, "ng-container", 20);
2786
2807
  i0.ɵɵelementEnd()();
2787
2808
  i0.ɵɵtemplate(7, MultiSelect_ng_container_7_Template, 3, 2, "ng-container", 20);
2788
- i0.ɵɵelementStart(8, "div", 22);
2789
- 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);
2809
+ i0.ɵɵelementStart(8, "div", 21);
2810
+ i0.ɵɵtemplate(9, MultiSelect_ng_container_9_Template, 3, 2, "ng-container", 22)(10, MultiSelect_ng_template_10_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
2790
2811
  i0.ɵɵelementEnd();
2791
- i0.ɵɵelementStart(12, "p-overlay", 24, 2);
2812
+ i0.ɵɵelementStart(12, "p-overlay", 23, 2);
2792
2813
  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); });
2793
2814
  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()); });
2794
2815
  i0.ɵɵtemplate(14, MultiSelect_ng_template_14_Template, 13, 18, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
@@ -2807,7 +2828,7 @@ class MultiSelect extends BaseComponent {
2807
2828
  i0.ɵɵadvance();
2808
2829
  i0.ɵɵproperty("ngIf", !ctx.selectedItemsTemplate && !ctx._selectedItemsTemplate);
2809
2830
  i0.ɵɵadvance();
2810
- i0.ɵɵproperty("ngTemplateOutlet", ctx.selectedItemsTemplate || ctx._selectedItemsTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(36, _c32, ctx.selectedOptions, ctx.removeOption.bind(ctx)));
2831
+ i0.ɵɵproperty("ngIf", ctx.selectedItemsTemplate || ctx._selectedItemsTemplate);
2811
2832
  i0.ɵɵadvance();
2812
2833
  i0.ɵɵproperty("ngIf", ctx.isVisibleClearIcon);
2813
2834
  i0.ɵɵadvance(2);
@@ -2883,7 +2904,10 @@ class MultiSelect extends BaseComponent {
2883
2904
  <ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
2884
2905
  </ng-container>
2885
2906
  </ng-container>
2886
- <ng-container *ngTemplateOutlet="selectedItemsTemplate || _selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
2907
+ <ng-container *ngIf="selectedItemsTemplate || _selectedItemsTemplate">
2908
+ <ng-container *ngTemplateOutlet="selectedItemsTemplate || _selectedItemsTemplate; context: { $implicit: selectedOptions, removeChip: removeOption.bind(this) }"></ng-container>
2909
+ <ng-container *ngIf="!modelValue() || modelValue().length === 0">{{ placeholder() || defaultLabel || 'empty' }}</ng-container>
2910
+ </ng-container>
2887
2911
  </div>
2888
2912
  </div>
2889
2913
  <ng-container *ngIf="isVisibleClearIcon">
@@ -3369,7 +3393,7 @@ class MultiSelect extends BaseComponent {
3369
3393
  type: HostBinding,
3370
3394
  args: ['class']
3371
3395
  }] }); })();
3372
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelect, { className: "MultiSelect", filePath: "multiselect.ts", lineNumber: 441 }); })();
3396
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MultiSelect, { className: "MultiSelect", filePath: "multiselect.ts", lineNumber: 444 }); })();
3373
3397
  class MultiSelectModule {
3374
3398
  static ɵfac = function MultiSelectModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiSelectModule)(); };
3375
3399
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MultiSelectModule });