primeng 18.0.5-lts → 18.0.6-lts

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 (131) hide show
  1. package/autocomplete/autocomplete.d.ts +1 -1
  2. package/chips/chips.d.ts +237 -0
  3. package/chips/chips.interface.d.ts +66 -0
  4. package/chips/index.d.ts +5 -0
  5. package/chips/public_api.d.ts +2 -0
  6. package/chips/style/chipsstyle.d.ts +69 -0
  7. package/confirmdialog/confirmdialog.d.ts +1 -0
  8. package/datepicker/datepicker.d.ts +6 -2
  9. package/esm2022/accordion/accordion.mjs +13 -12
  10. package/esm2022/autocomplete/autocomplete.mjs +56 -56
  11. package/esm2022/base/style/basestyle.mjs +5 -1
  12. package/esm2022/carousel/carousel.mjs +3 -3
  13. package/esm2022/chips/chips.interface.mjs +2 -0
  14. package/esm2022/chips/chips.mjs +827 -0
  15. package/esm2022/chips/primeng-chips.mjs +5 -0
  16. package/esm2022/chips/public_api.mjs +3 -0
  17. package/esm2022/chips/style/chipsstyle.mjs +175 -0
  18. package/esm2022/confirmdialog/confirmdialog.mjs +11 -1
  19. package/esm2022/dataview/dataview.mjs +2 -2
  20. package/esm2022/datepicker/datepicker.mjs +26 -8
  21. package/esm2022/datepicker/style/datepickerstyle.mjs +6 -2
  22. package/esm2022/dynamicdialog/dynamicdialog.mjs +6 -2
  23. package/esm2022/inputmask/inputmask.mjs +2 -1
  24. package/esm2022/inputnumber/inputnumber.mjs +13 -5
  25. package/esm2022/listbox/listbox.mjs +1 -1
  26. package/esm2022/megamenu/megamenu.mjs +6 -8
  27. package/esm2022/menu/menu.mjs +2 -1
  28. package/esm2022/menubar/menubar.mjs +3 -4
  29. package/esm2022/multiselect/multiselect.interface.mjs +1 -1
  30. package/esm2022/multiselect/multiselect.mjs +25 -10
  31. package/esm2022/overlay/overlay.mjs +14 -10
  32. package/esm2022/panel/panel.mjs +1 -2
  33. package/esm2022/picklist/picklist.mjs +261 -173
  34. package/esm2022/scroller/scroller.mjs +26 -10
  35. package/esm2022/select/select.mjs +10 -7
  36. package/esm2022/selectbutton/selectbutton.mjs +12 -5
  37. package/esm2022/splitbutton/splitbutton.mjs +9 -28
  38. package/esm2022/stepper/stepper.mjs +3 -3
  39. package/esm2022/table/style/tablestyle.mjs +2 -2
  40. package/esm2022/table/table.mjs +37 -28
  41. package/esm2022/tabs/tabs.mjs +3 -3
  42. package/esm2022/tag/tag.mjs +1 -1
  43. package/esm2022/textarea/textarea.mjs +5 -1
  44. package/esm2022/tieredmenu/style/tieredmenustyle.mjs +13 -32
  45. package/esm2022/tieredmenu/tieredmenu.mjs +8 -8
  46. package/esm2022/togglebutton/style/togglebuttonstyle.mjs +2 -2
  47. package/esm2022/tooltip/tooltip.mjs +2 -2
  48. package/esm2022/tree/tree.mjs +51 -29
  49. package/esm2022/treeselect/treeselect.mjs +8 -7
  50. package/esm2022/treetable/treetable.mjs +3 -3
  51. package/fesm2022/primeng-accordion.mjs +12 -11
  52. package/fesm2022/primeng-accordion.mjs.map +1 -1
  53. package/fesm2022/primeng-autocomplete.mjs +55 -55
  54. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  55. package/fesm2022/primeng-base.mjs +4 -0
  56. package/fesm2022/primeng-base.mjs.map +1 -1
  57. package/fesm2022/primeng-carousel.mjs +2 -2
  58. package/fesm2022/primeng-carousel.mjs.map +1 -1
  59. package/fesm2022/primeng-chips.mjs +1006 -0
  60. package/fesm2022/primeng-chips.mjs.map +1 -0
  61. package/fesm2022/primeng-confirmdialog.mjs +10 -0
  62. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  63. package/fesm2022/primeng-dataview.mjs +1 -1
  64. package/fesm2022/primeng-dataview.mjs.map +1 -1
  65. package/fesm2022/primeng-datepicker.mjs +30 -8
  66. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  67. package/fesm2022/primeng-dynamicdialog.mjs +5 -1
  68. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  69. package/fesm2022/primeng-inputmask.mjs +1 -0
  70. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  71. package/fesm2022/primeng-inputnumber.mjs +12 -4
  72. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  73. package/fesm2022/primeng-listbox.mjs.map +1 -1
  74. package/fesm2022/primeng-megamenu.mjs +5 -7
  75. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  76. package/fesm2022/primeng-menu.mjs +1 -0
  77. package/fesm2022/primeng-menu.mjs.map +1 -1
  78. package/fesm2022/primeng-menubar.mjs +2 -3
  79. package/fesm2022/primeng-menubar.mjs.map +1 -1
  80. package/fesm2022/primeng-multiselect.mjs +24 -9
  81. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  82. package/fesm2022/primeng-overlay.mjs +13 -9
  83. package/fesm2022/primeng-overlay.mjs.map +1 -1
  84. package/fesm2022/primeng-panel.mjs +0 -1
  85. package/fesm2022/primeng-panel.mjs.map +1 -1
  86. package/fesm2022/primeng-picklist.mjs +260 -172
  87. package/fesm2022/primeng-picklist.mjs.map +1 -1
  88. package/fesm2022/primeng-scroller.mjs +25 -9
  89. package/fesm2022/primeng-scroller.mjs.map +1 -1
  90. package/fesm2022/primeng-select.mjs +9 -6
  91. package/fesm2022/primeng-select.mjs.map +1 -1
  92. package/fesm2022/primeng-selectbutton.mjs +11 -4
  93. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  94. package/fesm2022/primeng-splitbutton.mjs +9 -28
  95. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  96. package/fesm2022/primeng-stepper.mjs +2 -2
  97. package/fesm2022/primeng-stepper.mjs.map +1 -1
  98. package/fesm2022/primeng-table.mjs +38 -29
  99. package/fesm2022/primeng-table.mjs.map +1 -1
  100. package/fesm2022/primeng-tabs.mjs +2 -2
  101. package/fesm2022/primeng-tabs.mjs.map +1 -1
  102. package/fesm2022/primeng-tag.mjs.map +1 -1
  103. package/fesm2022/primeng-textarea.mjs +4 -0
  104. package/fesm2022/primeng-textarea.mjs.map +1 -1
  105. package/fesm2022/primeng-tieredmenu.mjs +20 -39
  106. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  107. package/fesm2022/primeng-togglebutton.mjs +1 -1
  108. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  109. package/fesm2022/primeng-tooltip.mjs +1 -1
  110. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  111. package/fesm2022/primeng-tree.mjs +50 -28
  112. package/fesm2022/primeng-tree.mjs.map +1 -1
  113. package/fesm2022/primeng-treeselect.mjs +7 -6
  114. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  115. package/fesm2022/primeng-treetable.mjs +2 -2
  116. package/fesm2022/primeng-treetable.mjs.map +1 -1
  117. package/inputnumber/inputnumber.d.ts +6 -1
  118. package/listbox/listbox.d.ts +1 -1
  119. package/multiselect/multiselect.d.ts +10 -2
  120. package/multiselect/multiselect.interface.d.ts +1 -1
  121. package/package.json +321 -315
  122. package/panel/panel.d.ts +0 -1
  123. package/picklist/picklist.d.ts +2 -2
  124. package/scroller/scroller.d.ts +4 -0
  125. package/select/select.d.ts +1 -0
  126. package/selectbutton/selectbutton.d.ts +1 -0
  127. package/splitbutton/splitbutton.d.ts +4 -6
  128. package/table/table.d.ts +3 -1
  129. package/tag/tag.d.ts +1 -1
  130. package/textarea/textarea.d.ts +1 -0
  131. package/tree/tree.d.ts +7 -1
@@ -515,9 +515,9 @@ function AutoComplete_ul_4_li_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
515
515
  i0.ɵɵelementContainer(0);
516
516
  } }
517
517
  function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
518
- const _r7 = i0.ɵɵgetCurrentView();
518
+ const _r9 = i0.ɵɵgetCurrentView();
519
519
  i0.ɵɵelementStart(0, "span", 33);
520
- i0.ɵɵlistener("click", function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_ng_template_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const i_r8 = i0.ɵɵnextContext(3).index; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(!ctx_r2.readonly ? ctx_r2.removeOption($event, i_r8) : ""); });
520
+ i0.ɵɵlistener("click", function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_ng_template_1_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r9); const i_r8 = i0.ɵɵnextContext(3).index; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(!ctx_r2.readonly ? ctx_r2.removeOption($event, i_r8) : ""); });
521
521
  i0.ɵɵelement(1, "TimesCircleIcon", 34);
522
522
  i0.ɵɵelementEnd();
523
523
  } if (rf & 2) {
@@ -531,13 +531,15 @@ function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template(rf, ctx) { if (
531
531
  i0.ɵɵelementContainerEnd();
532
532
  } }
533
533
  function AutoComplete_ul_4_li_2_p_chip_3_Template(rf, ctx) { if (rf & 1) {
534
+ const _r7 = i0.ɵɵgetCurrentView();
534
535
  i0.ɵɵelementStart(0, "p-chip", 32);
536
+ i0.ɵɵlistener("onRemove", function AutoComplete_ul_4_li_2_p_chip_3_Template_p_chip_onRemove_0_listener($event) { i0.ɵɵrestoreView(_r7); const i_r8 = i0.ɵɵnextContext().index; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(!ctx_r2.readonly ? ctx_r2.removeOption($event, i_r8) : ""); });
535
537
  i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template, 3, 0, "ng-container", 15);
536
538
  i0.ɵɵelementEnd();
537
539
  } if (rf & 2) {
538
- const option_r9 = i0.ɵɵnextContext().$implicit;
540
+ const option_r10 = i0.ɵɵnextContext().$implicit;
539
541
  const ctx_r2 = i0.ɵɵnextContext(2);
540
- i0.ɵɵproperty("label", ctx_r2.getOptionLabel(option_r9))("removable", true);
542
+ i0.ɵɵproperty("label", ctx_r2.getOptionLabel(option_r10))("removable", true);
541
543
  i0.ɵɵadvance();
542
544
  i0.ɵɵproperty("ngIf", !ctx_r2.removeIconTemplate && !ctx_r2._removeIconTemplate);
543
545
  } }
@@ -560,13 +562,13 @@ function AutoComplete_ul_4_li_2_Template(rf, ctx) { if (rf & 1) {
560
562
  i0.ɵɵtemplate(2, AutoComplete_ul_4_li_2_ng_container_2_Template, 1, 0, "ng-container", 30)(3, AutoComplete_ul_4_li_2_p_chip_3_Template, 2, 3, "p-chip", 31)(4, AutoComplete_ul_4_li_2_span_4_Template, 2, 4, "span", 15);
561
563
  i0.ɵɵelementEnd();
562
564
  } if (rf & 2) {
563
- const option_r9 = ctx.$implicit;
565
+ const option_r10 = ctx.$implicit;
564
566
  const i_r8 = ctx.index;
565
567
  const ctx_r2 = i0.ɵɵnextContext(2);
566
568
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c19, ctx_r2.focusedMultipleOptionIndex() === i_r8));
567
- i0.ɵɵattribute("id", ctx_r2.id + "_multiple_option_" + i_r8)("aria-label", ctx_r2.getOptionLabel(option_r9))("aria-setsize", ctx_r2.modelValue().length)("aria-posinset", i_r8 + 1)("aria-selected", true);
569
+ i0.ɵɵattribute("id", ctx_r2.id + "_multiple_option_" + i_r8)("aria-label", ctx_r2.getOptionLabel(option_r10))("aria-setsize", ctx_r2.modelValue().length)("aria-posinset", i_r8 + 1)("aria-selected", true);
568
570
  i0.ɵɵadvance(2);
569
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.selectedItemTemplate || ctx_r2._selectedItemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12, _c20, option_r9));
571
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.selectedItemTemplate || ctx_r2._selectedItemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12, _c20, option_r10));
570
572
  i0.ɵɵadvance();
571
573
  i0.ɵɵproperty("ngIf", !ctx_r2.selectedItemTemplate && !ctx_r2._selectedItemTemplate);
572
574
  i0.ɵɵadvance();
@@ -649,9 +651,9 @@ function AutoComplete_button_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
649
651
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.dropdownIconTemplate || ctx_r2._dropdownIconTemplate);
650
652
  } }
651
653
  function AutoComplete_button_6_Template(rf, ctx) { if (rf & 1) {
652
- const _r10 = i0.ɵɵgetCurrentView();
654
+ const _r11 = i0.ɵɵgetCurrentView();
653
655
  i0.ɵɵelementStart(0, "button", 39, 7);
654
- i0.ɵɵlistener("click", function AutoComplete_button_6_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleDropdownClick($event)); });
656
+ i0.ɵɵlistener("click", function AutoComplete_button_6_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.handleDropdownClick($event)); });
655
657
  i0.ɵɵtemplate(2, AutoComplete_button_6_span_2_Template, 1, 2, "span", 40)(3, AutoComplete_button_6_ng_container_3_Template, 3, 2, "ng-container", 15);
656
658
  i0.ɵɵelementEnd();
657
659
  } if (rf & 2) {
@@ -672,11 +674,11 @@ function AutoComplete_ng_template_9_p_scroller_3_ng_template_2_ng_container_0_Te
672
674
  function AutoComplete_ng_template_9_p_scroller_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
673
675
  i0.ɵɵtemplate(0, AutoComplete_ng_template_9_p_scroller_3_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 30);
674
676
  } if (rf & 2) {
675
- const items_r12 = ctx.$implicit;
676
- const scrollerOptions_r13 = ctx.options;
677
+ const items_r13 = ctx.$implicit;
678
+ const scrollerOptions_r14 = ctx.options;
677
679
  i0.ɵɵnextContext(2);
678
- const buildInItems_r14 = i0.ɵɵreference(6);
679
- i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r14)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c23, items_r12, scrollerOptions_r13));
680
+ const buildInItems_r15 = i0.ɵɵreference(6);
681
+ i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r15)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c23, items_r13, scrollerOptions_r14));
680
682
  } }
681
683
  function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
682
684
  i0.ɵɵelementContainer(0);
@@ -684,9 +686,9 @@ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng
684
686
  function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
685
687
  i0.ɵɵtemplate(0, AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng_container_0_Template, 1, 0, "ng-container", 30);
686
688
  } if (rf & 2) {
687
- const scrollerOptions_r15 = ctx.options;
689
+ const scrollerOptions_r16 = ctx.options;
688
690
  const ctx_r2 = i0.ɵɵnextContext(4);
689
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loaderTemplate || ctx_r2._loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c24, scrollerOptions_r15));
691
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.loaderTemplate || ctx_r2._loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c24, scrollerOptions_r16));
690
692
  } }
691
693
  function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
692
694
  i0.ɵɵelementContainerStart(0);
@@ -694,9 +696,9 @@ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_Template(rf, ctx
694
696
  i0.ɵɵelementContainerEnd();
695
697
  } }
696
698
  function AutoComplete_ng_template_9_p_scroller_3_Template(rf, ctx) { if (rf & 1) {
697
- const _r11 = i0.ɵɵgetCurrentView();
699
+ const _r12 = i0.ɵɵgetCurrentView();
698
700
  i0.ɵɵelementStart(0, "p-scroller", 46, 9);
699
- i0.ɵɵlistener("onLazyLoad", function AutoComplete_ng_template_9_p_scroller_3_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onLazyLoad.emit($event)); });
701
+ i0.ɵɵlistener("onLazyLoad", function AutoComplete_ng_template_9_p_scroller_3_Template_p_scroller_onLazyLoad_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onLazyLoad.emit($event)); });
700
702
  i0.ɵɵtemplate(2, AutoComplete_ng_template_9_p_scroller_3_ng_template_2_Template, 1, 5, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(4, AutoComplete_ng_template_9_p_scroller_3_ng_container_4_Template, 3, 0, "ng-container", 15);
701
703
  i0.ɵɵelementEnd();
702
704
  } if (rf & 2) {
@@ -715,20 +717,20 @@ function AutoComplete_ng_template_9_ng_container_4_Template(rf, ctx) { if (rf &
715
717
  i0.ɵɵelementContainerEnd();
716
718
  } if (rf & 2) {
717
719
  i0.ɵɵnextContext();
718
- const buildInItems_r14 = i0.ɵɵreference(6);
720
+ const buildInItems_r15 = i0.ɵɵreference(6);
719
721
  const ctx_r2 = i0.ɵɵnextContext();
720
722
  i0.ɵɵadvance();
721
- i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r14)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c23, ctx_r2.visibleOptions(), i0.ɵɵpureFunction0(2, _c25)));
723
+ i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r15)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c23, ctx_r2.visibleOptions(), i0.ɵɵpureFunction0(2, _c25)));
722
724
  } }
723
725
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
724
726
  i0.ɵɵelementStart(0, "span");
725
727
  i0.ɵɵtext(1);
726
728
  i0.ɵɵelementEnd();
727
729
  } if (rf & 2) {
728
- const option_r16 = i0.ɵɵnextContext(2).$implicit;
730
+ const option_r17 = i0.ɵɵnextContext(2).$implicit;
729
731
  const ctx_r2 = i0.ɵɵnextContext(3);
730
732
  i0.ɵɵadvance();
731
- i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r16.optionGroup));
733
+ i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r17.optionGroup));
732
734
  } }
733
735
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
734
736
  i0.ɵɵelementContainer(0);
@@ -740,62 +742,62 @@ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_T
740
742
  i0.ɵɵelementEnd();
741
743
  i0.ɵɵelementContainerEnd();
742
744
  } if (rf & 2) {
743
- const ctx_r16 = i0.ɵɵnextContext();
744
- const option_r16 = ctx_r16.$implicit;
745
- const i_r18 = ctx_r16.index;
746
- const scrollerOptions_r19 = i0.ɵɵnextContext().options;
745
+ const ctx_r17 = i0.ɵɵnextContext();
746
+ const option_r17 = ctx_r17.$implicit;
747
+ const i_r19 = ctx_r17.index;
748
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
747
749
  const ctx_r2 = i0.ɵɵnextContext(2);
748
750
  i0.ɵɵadvance();
749
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c22, scrollerOptions_r19.itemSize + "px"));
750
- i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19));
751
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c22, scrollerOptions_r20.itemSize + "px"));
752
+ i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20));
751
753
  i0.ɵɵadvance();
752
754
  i0.ɵɵproperty("ngIf", !ctx_r2.groupTemplate);
753
755
  i0.ɵɵadvance();
754
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c20, option_r16.optionGroup));
756
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.groupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(7, _c20, option_r17.optionGroup));
755
757
  } }
756
758
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
757
759
  i0.ɵɵelementStart(0, "span");
758
760
  i0.ɵɵtext(1);
759
761
  i0.ɵɵelementEnd();
760
762
  } if (rf & 2) {
761
- const option_r16 = i0.ɵɵnextContext(2).$implicit;
763
+ const option_r17 = i0.ɵɵnextContext(2).$implicit;
762
764
  const ctx_r2 = i0.ɵɵnextContext(3);
763
765
  i0.ɵɵadvance();
764
- i0.ɵɵtextInterpolate(ctx_r2.getOptionLabel(option_r16));
766
+ i0.ɵɵtextInterpolate(ctx_r2.getOptionLabel(option_r17));
765
767
  } }
766
768
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
767
769
  i0.ɵɵelementContainer(0);
768
770
  } }
769
771
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
770
- const _r20 = i0.ɵɵgetCurrentView();
772
+ const _r21 = i0.ɵɵgetCurrentView();
771
773
  i0.ɵɵelementContainerStart(0);
772
774
  i0.ɵɵelementStart(1, "li", 51);
773
- i0.ɵɵlistener("click", function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template_li_click_1_listener($event) { i0.ɵɵrestoreView(_r20); const option_r16 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onOptionSelect($event, option_r16)); })("mouseenter", function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template_li_mouseenter_1_listener($event) { i0.ɵɵrestoreView(_r20); const i_r18 = i0.ɵɵnextContext().index; const scrollerOptions_r19 = i0.ɵɵnextContext().options; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onOptionMouseEnter($event, ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19))); });
775
+ i0.ɵɵlistener("click", function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template_li_click_1_listener($event) { i0.ɵɵrestoreView(_r21); const option_r17 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onOptionSelect($event, option_r17)); })("mouseenter", function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template_li_mouseenter_1_listener($event) { i0.ɵɵrestoreView(_r21); const i_r19 = i0.ɵɵnextContext().index; const scrollerOptions_r20 = i0.ɵɵnextContext().options; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onOptionMouseEnter($event, ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))); });
774
776
  i0.ɵɵtemplate(2, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_span_2_Template, 2, 1, "span", 15)(3, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 30);
775
777
  i0.ɵɵelementEnd();
776
778
  i0.ɵɵelementContainerEnd();
777
779
  } if (rf & 2) {
778
- const ctx_r16 = i0.ɵɵnextContext();
779
- const option_r16 = ctx_r16.$implicit;
780
- const i_r18 = ctx_r16.index;
781
- const scrollerOptions_r19 = i0.ɵɵnextContext().options;
780
+ const ctx_r17 = i0.ɵɵnextContext();
781
+ const option_r17 = ctx_r17.$implicit;
782
+ const i_r19 = ctx_r17.index;
783
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
782
784
  const ctx_r2 = i0.ɵɵnextContext(2);
783
785
  i0.ɵɵadvance();
784
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c22, scrollerOptions_r19.itemSize + "px"))("ngClass", ctx_r2.optionClass(option_r16, i_r18, scrollerOptions_r19));
785
- i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19))("aria-label", ctx_r2.getOptionLabel(option_r16))("aria-selected", ctx_r2.isSelected(option_r16))("aria-disabled", ctx_r2.isOptionDisabled(option_r16))("data-p-focused", ctx_r2.focusedOptionIndex() === ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19))("aria-setsize", ctx_r2.ariaSetSize)("aria-posinset", ctx_r2.getAriaPosInset(ctx_r2.getOptionIndex(i_r18, scrollerOptions_r19)));
786
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c22, scrollerOptions_r20.itemSize + "px"))("ngClass", ctx_r2.optionClass(option_r17, i_r19, scrollerOptions_r20));
787
+ i0.ɵɵattribute("id", ctx_r2.id + "_" + ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))("aria-label", ctx_r2.getOptionLabel(option_r17))("aria-selected", ctx_r2.isSelected(option_r17))("aria-disabled", ctx_r2.isOptionDisabled(option_r17))("data-p-focused", ctx_r2.focusedOptionIndex() === ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20))("aria-setsize", ctx_r2.ariaSetSize)("aria-posinset", ctx_r2.getAriaPosInset(ctx_r2.getOptionIndex(i_r19, scrollerOptions_r20)));
786
788
  i0.ɵɵadvance();
787
789
  i0.ɵɵproperty("ngIf", !ctx_r2.itemTemplate && !ctx_r2._itemTemplate);
788
790
  i0.ɵɵadvance();
789
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate || ctx_r2._itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(14, _c26, option_r16, scrollerOptions_r19.getOptions ? scrollerOptions_r19.getOptions(i_r18) : i_r18));
791
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.itemTemplate || ctx_r2._itemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(14, _c26, option_r17, scrollerOptions_r20.getOptions ? scrollerOptions_r20.getOptions(i_r19) : i_r19));
790
792
  } }
791
793
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
792
794
  i0.ɵɵtemplate(0, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_Template, 4, 9, "ng-container", 15)(1, AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template, 4, 17, "ng-container", 15);
793
795
  } if (rf & 2) {
794
- const option_r16 = ctx.$implicit;
796
+ const option_r17 = ctx.$implicit;
795
797
  const ctx_r2 = i0.ɵɵnextContext(3);
796
- i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r16));
798
+ i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r17));
797
799
  i0.ɵɵadvance();
798
- i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r16));
800
+ i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r17));
799
801
  } }
800
802
  function AutoComplete_ng_template_9_ng_template_5_li_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
801
803
  i0.ɵɵelementContainerStart(0);
@@ -814,9 +816,9 @@ function AutoComplete_ng_template_9_ng_template_5_li_3_Template(rf, ctx) { if (r
814
816
  i0.ɵɵtemplate(1, AutoComplete_ng_template_9_ng_template_5_li_3_ng_container_1_Template, 2, 1, "ng-container", 53)(2, AutoComplete_ng_template_9_ng_template_5_li_3_ng_container_2_Template, 2, 0, "ng-container", 24);
815
817
  i0.ɵɵelementEnd();
816
818
  } if (rf & 2) {
817
- const scrollerOptions_r19 = i0.ɵɵnextContext().options;
819
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
818
820
  const ctx_r2 = i0.ɵɵnextContext(2);
819
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c22, scrollerOptions_r19.itemSize + "px"));
821
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c22, scrollerOptions_r20.itemSize + "px"));
820
822
  i0.ɵɵadvance();
821
823
  i0.ɵɵproperty("ngIf", !ctx_r2.emptyTemplate && !ctx_r2._emptyTemplate)("ngIfElse", ctx_r2.empty);
822
824
  i0.ɵɵadvance();
@@ -827,16 +829,16 @@ function AutoComplete_ng_template_9_ng_template_5_Template(rf, ctx) { if (rf & 1
827
829
  i0.ɵɵtemplate(2, AutoComplete_ng_template_9_ng_template_5_ng_template_2_Template, 2, 2, "ng-template", 48)(3, AutoComplete_ng_template_9_ng_template_5_li_3_Template, 3, 6, "li", 49);
828
830
  i0.ɵɵelementEnd();
829
831
  } if (rf & 2) {
830
- const items_r21 = ctx.$implicit;
831
- const scrollerOptions_r19 = ctx.options;
832
+ const items_r22 = ctx.$implicit;
833
+ const scrollerOptions_r20 = ctx.options;
832
834
  const ctx_r2 = i0.ɵɵnextContext(2);
833
- i0.ɵɵstyleMap(scrollerOptions_r19.contentStyle);
834
- i0.ɵɵproperty("ngClass", scrollerOptions_r19.contentStyleClass);
835
+ i0.ɵɵstyleMap(scrollerOptions_r20.contentStyle);
836
+ i0.ɵɵproperty("ngClass", scrollerOptions_r20.contentStyleClass);
835
837
  i0.ɵɵattribute("id", ctx_r2.id + "_list")("aria-label", ctx_r2.listLabel);
836
838
  i0.ɵɵadvance(2);
837
- i0.ɵɵproperty("ngForOf", items_r21);
839
+ i0.ɵɵproperty("ngForOf", items_r22);
838
840
  i0.ɵɵadvance();
839
- i0.ɵɵproperty("ngIf", !items_r21 || items_r21 && items_r21.length === 0 && ctx_r2.showEmptyMessage);
841
+ i0.ɵɵproperty("ngIf", !items_r22 || items_r22 && items_r22.length === 0 && ctx_r2.showEmptyMessage);
840
842
  } }
841
843
  function AutoComplete_ng_template_9_ng_container_7_Template(rf, ctx) { if (rf & 1) {
842
844
  i0.ɵɵelementContainer(0);
@@ -1976,9 +1978,7 @@ class AutoComplete extends BaseComponent {
1976
1978
  removeOption(event, index) {
1977
1979
  event.stopPropagation();
1978
1980
  const removedOption = this.modelValue()[index];
1979
- const value = this.modelValue()
1980
- .filter((_, i) => i !== index)
1981
- .map((option) => this.getOptionValue(option));
1981
+ const value = this.modelValue().filter((_, i) => i !== index);
1982
1982
  this.updateModel(value);
1983
1983
  this.onUnselect.emit({ originalEvent: event, value: removedOption });
1984
1984
  focus(this.inputEL.nativeElement);
@@ -2179,7 +2179,7 @@ class AutoComplete extends BaseComponent {
2179
2179
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemsViewChild = _t.first);
2180
2180
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);
2181
2181
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);
2182
- } }, inputs: { minLength: [2, "minLength", "minLength", numberAttribute], delay: [2, "delay", "delay", numberAttribute], style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", inputStyle: "inputStyle", inputId: "inputId", inputStyleClass: "inputStyleClass", placeholder: "placeholder", readonly: [2, "readonly", "readonly", booleanAttribute], disabled: [2, "disabled", "disabled", booleanAttribute], scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", maxlength: [2, "maxlength", "maxlength", (value) => numberAttribute(value, null)], name: "name", required: [2, "required", "required", booleanAttribute], size: "size", appendTo: "appendTo", autoHighlight: [2, "autoHighlight", "autoHighlight", booleanAttribute], forceSelection: [2, "forceSelection", "forceSelection", booleanAttribute], type: "type", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], ariaLabel: "ariaLabel", dropdownAriaLabel: "dropdownAriaLabel", ariaLabelledBy: "ariaLabelledBy", dropdownIcon: "dropdownIcon", unique: [2, "unique", "unique", booleanAttribute], group: [2, "group", "group", booleanAttribute], completeOnFocus: [2, "completeOnFocus", "completeOnFocus", booleanAttribute], showClear: [2, "showClear", "showClear", booleanAttribute], field: "field", dropdown: [2, "dropdown", "dropdown", booleanAttribute], showEmptyMessage: [2, "showEmptyMessage", "showEmptyMessage", booleanAttribute], dropdownMode: "dropdownMode", multiple: [2, "multiple", "multiple", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], dataKey: "dataKey", emptyMessage: "emptyMessage", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autofocus: [2, "autofocus", "autofocus", booleanAttribute], autocomplete: "autocomplete", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", overlayOptions: "overlayOptions", suggestions: "suggestions", itemSize: "itemSize", optionLabel: "optionLabel", optionValue: "optionValue", id: "id", searchMessage: "searchMessage", emptySelectionMessage: "emptySelectionMessage", selectionMessage: "selectionMessage", autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: [2, "searchLocale", "searchLocale", booleanAttribute], optionDisabled: "optionDisabled", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], typeahead: [2, "typeahead", "typeahead", booleanAttribute], variant: "variant", fluid: [2, "fluid", "fluid", booleanAttribute] }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, standalone: true, features: [i0.ɵɵProvidersFeature([AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 11, vars: 15, consts: [["container", ""], ["overlay", ""], ["content", ""], ["focusInput", ""], ["multiContainer", ""], ["token", ""], ["removeicon", ""], ["ddBtn", ""], ["buildInItems", ""], ["scroller", ""], ["loader", ""], ["items", ""], ["empty", ""], [2, "position", "relative", 3, "click", "ngClass", "ngStyle"], ["pInputText", "", "aria-autocomplete", "list", "role", "combobox", 3, "pAutoFocus", "ngClass", "ngStyle", "class", "type", "variant", "autocomplete", "required", "name", "pSize", "tabindex", "readonly", "disabled", "fluid", "input", "keydown", "change", "focus", "blur", "paste", "keyup", 4, "ngIf"], [4, "ngIf"], ["role", "listbox", 3, "ngClass", "tabindex", "focus", "blur", "keydown", 4, "ngIf"], ["type", "button", "class", "p-autocomplete-dropdown", "pRipple", "", 3, "disabled", "click", 4, "ngIf"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "showTransitionOptions", "hideTransitionOptions"], ["pInputText", "", "aria-autocomplete", "list", "role", "combobox", 3, "input", "keydown", "change", "focus", "blur", "paste", "keyup", "pAutoFocus", "ngClass", "ngStyle", "type", "variant", "autocomplete", "required", "name", "pSize", "tabindex", "readonly", "disabled", "fluid"], [3, "styleClass", "click", 4, "ngIf"], ["class", "p-autocomplete-clear-icon", 3, "click", 4, "ngIf"], [3, "click", "styleClass"], [1, "p-autocomplete-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["role", "listbox", 3, "focus", "blur", "keydown", "ngClass", "tabindex"], ["role", "option", 3, "ngClass", 4, "ngFor", "ngForOf"], ["role", "option", 1, "p-autocomplete-input-chip"], ["role", "combobox", "aria-autocomplete", "list", 3, "input", "keydown", "change", "focus", "blur", "paste", "keyup", "pAutoFocus", "ngClass", "ngStyle", "autocomplete", "required", "tabindex", "readonly", "disabled"], ["role", "option", 3, "ngClass"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["styleClass", "p-autocomplete-chip", 3, "label", "removable", 4, "ngIf"], ["styleClass", "p-autocomplete-chip", 3, "label", "removable"], [1, "p-autocomplete-chip-icon", 3, "click"], [3, "styleClass"], [3, "styleClass", "spin", 4, "ngIf"], ["class", "p-autocomplete-loader pi-spin ", 4, "ngIf"], [3, "styleClass", "spin"], [1, "p-autocomplete-loader", "pi-spin"], ["type", "button", "pRipple", "", 1, "p-autocomplete-dropdown", 3, "click", "disabled"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"], [3, "ngClass", "ngStyle"], [1, "p-autocomplete-list-container"], [3, "items", "style", "itemSize", "autoSize", "lazy", "options", "onLazyLoad", 4, "ngIf"], ["role", "status", "aria-live", "polite", 1, "p-hidden-accessible"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "lazy", "options"], ["role", "listbox", 1, "p-autocomplete-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-autocomplete-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-autocomplete-option-group", 3, "ngStyle"], ["pRipple", "", "role", "option", 3, "click", "mouseenter", "ngStyle", "ngClass"], ["role", "option", 1, "p-autocomplete-empty-message", 3, "ngStyle"], [4, "ngIf", "ngIfElse"]], template: function AutoComplete_Template(rf, ctx) { if (rf & 1) {
2182
+ } }, inputs: { minLength: [2, "minLength", "minLength", numberAttribute], delay: [2, "delay", "delay", numberAttribute], style: "style", panelStyle: "panelStyle", styleClass: "styleClass", panelStyleClass: "panelStyleClass", inputStyle: "inputStyle", inputId: "inputId", inputStyleClass: "inputStyleClass", placeholder: "placeholder", readonly: [2, "readonly", "readonly", booleanAttribute], disabled: [2, "disabled", "disabled", booleanAttribute], scrollHeight: "scrollHeight", lazy: [2, "lazy", "lazy", booleanAttribute], virtualScroll: [2, "virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: [2, "virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", maxlength: [2, "maxlength", "maxlength", (value) => numberAttribute(value, null)], name: "name", required: [2, "required", "required", booleanAttribute], size: "size", appendTo: "appendTo", autoHighlight: [2, "autoHighlight", "autoHighlight", booleanAttribute], forceSelection: [2, "forceSelection", "forceSelection", booleanAttribute], type: "type", autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], ariaLabel: "ariaLabel", dropdownAriaLabel: "dropdownAriaLabel", ariaLabelledBy: "ariaLabelledBy", dropdownIcon: "dropdownIcon", unique: [2, "unique", "unique", booleanAttribute], group: [2, "group", "group", booleanAttribute], completeOnFocus: [2, "completeOnFocus", "completeOnFocus", booleanAttribute], showClear: [2, "showClear", "showClear", booleanAttribute], field: "field", dropdown: [2, "dropdown", "dropdown", booleanAttribute], showEmptyMessage: [2, "showEmptyMessage", "showEmptyMessage", booleanAttribute], dropdownMode: "dropdownMode", multiple: [2, "multiple", "multiple", booleanAttribute], tabindex: [2, "tabindex", "tabindex", numberAttribute], dataKey: "dataKey", emptyMessage: "emptyMessage", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", autofocus: [2, "autofocus", "autofocus", booleanAttribute], autocomplete: "autocomplete", optionGroupChildren: "optionGroupChildren", optionGroupLabel: "optionGroupLabel", overlayOptions: "overlayOptions", suggestions: "suggestions", itemSize: "itemSize", optionLabel: "optionLabel", optionValue: "optionValue", id: "id", searchMessage: "searchMessage", emptySelectionMessage: "emptySelectionMessage", selectionMessage: "selectionMessage", autoOptionFocus: [2, "autoOptionFocus", "autoOptionFocus", booleanAttribute], selectOnFocus: [2, "selectOnFocus", "selectOnFocus", booleanAttribute], searchLocale: [2, "searchLocale", "searchLocale", booleanAttribute], optionDisabled: "optionDisabled", focusOnHover: [2, "focusOnHover", "focusOnHover", booleanAttribute], typeahead: [2, "typeahead", "typeahead", booleanAttribute], variant: "variant", fluid: [2, "fluid", "fluid", booleanAttribute] }, outputs: { completeMethod: "completeMethod", onSelect: "onSelect", onUnselect: "onUnselect", onFocus: "onFocus", onBlur: "onBlur", onDropdownClick: "onDropdownClick", onClear: "onClear", onKeyUp: "onKeyUp", onShow: "onShow", onHide: "onHide", onLazyLoad: "onLazyLoad" }, standalone: true, features: [i0.ɵɵProvidersFeature([AUTOCOMPLETE_VALUE_ACCESSOR, AutoCompleteStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 11, vars: 15, consts: [["container", ""], ["overlay", ""], ["content", ""], ["focusInput", ""], ["multiContainer", ""], ["token", ""], ["removeicon", ""], ["ddBtn", ""], ["buildInItems", ""], ["scroller", ""], ["loader", ""], ["items", ""], ["empty", ""], [2, "position", "relative", 3, "click", "ngClass", "ngStyle"], ["pInputText", "", "aria-autocomplete", "list", "role", "combobox", 3, "pAutoFocus", "ngClass", "ngStyle", "class", "type", "variant", "autocomplete", "required", "name", "pSize", "tabindex", "readonly", "disabled", "fluid", "input", "keydown", "change", "focus", "blur", "paste", "keyup", 4, "ngIf"], [4, "ngIf"], ["role", "listbox", 3, "ngClass", "tabindex", "focus", "blur", "keydown", 4, "ngIf"], ["type", "button", "class", "p-autocomplete-dropdown", "pRipple", "", 3, "disabled", "click", 4, "ngIf"], [3, "visibleChange", "onAnimationStart", "onHide", "visible", "options", "target", "appendTo", "showTransitionOptions", "hideTransitionOptions"], ["pInputText", "", "aria-autocomplete", "list", "role", "combobox", 3, "input", "keydown", "change", "focus", "blur", "paste", "keyup", "pAutoFocus", "ngClass", "ngStyle", "type", "variant", "autocomplete", "required", "name", "pSize", "tabindex", "readonly", "disabled", "fluid"], [3, "styleClass", "click", 4, "ngIf"], ["class", "p-autocomplete-clear-icon", 3, "click", 4, "ngIf"], [3, "click", "styleClass"], [1, "p-autocomplete-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["role", "listbox", 3, "focus", "blur", "keydown", "ngClass", "tabindex"], ["role", "option", 3, "ngClass", 4, "ngFor", "ngForOf"], ["role", "option", 1, "p-autocomplete-input-chip"], ["role", "combobox", "aria-autocomplete", "list", 3, "input", "keydown", "change", "focus", "blur", "paste", "keyup", "pAutoFocus", "ngClass", "ngStyle", "autocomplete", "required", "tabindex", "readonly", "disabled"], ["role", "option", 3, "ngClass"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["styleClass", "p-autocomplete-chip", 3, "label", "removable", "onRemove", 4, "ngIf"], ["styleClass", "p-autocomplete-chip", 3, "onRemove", "label", "removable"], [1, "p-autocomplete-chip-icon", 3, "click"], [3, "styleClass"], [3, "styleClass", "spin", 4, "ngIf"], ["class", "p-autocomplete-loader pi-spin ", 4, "ngIf"], [3, "styleClass", "spin"], [1, "p-autocomplete-loader", "pi-spin"], ["type", "button", "pRipple", "", 1, "p-autocomplete-dropdown", 3, "click", "disabled"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"], [3, "ngClass", "ngStyle"], [1, "p-autocomplete-list-container"], [3, "items", "style", "itemSize", "autoSize", "lazy", "options", "onLazyLoad", 4, "ngIf"], ["role", "status", "aria-live", "polite", 1, "p-hidden-accessible"], [3, "onLazyLoad", "items", "itemSize", "autoSize", "lazy", "options"], ["role", "listbox", 1, "p-autocomplete-list", 3, "ngClass"], ["ngFor", "", 3, "ngForOf"], ["class", "p-autocomplete-empty-message", "role", "option", 3, "ngStyle", 4, "ngIf"], ["role", "option", 1, "p-autocomplete-option-group", 3, "ngStyle"], ["pRipple", "", "role", "option", 3, "click", "mouseenter", "ngStyle", "ngClass"], ["role", "option", 1, "p-autocomplete-empty-message", 3, "ngStyle"], [4, "ngIf", "ngIfElse"]], template: function AutoComplete_Template(rf, ctx) { if (rf & 1) {
2183
2183
  const _r1 = i0.ɵɵgetCurrentView();
2184
2184
  i0.ɵɵelementStart(0, "div", 13, 0);
2185
2185
  i0.ɵɵlistener("click", function AutoComplete_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onContainerClick($event)); });
@@ -2284,7 +2284,7 @@ class AutoComplete extends BaseComponent {
2284
2284
  [attr.aria-selected]="true"
2285
2285
  >
2286
2286
  <ng-container *ngTemplateOutlet="selectedItemTemplate || _selectedItemTemplate; context: { $implicit: option }"></ng-container>
2287
- <p-chip styleClass="p-autocomplete-chip" *ngIf="!selectedItemTemplate && !_selectedItemTemplate" [label]="getOptionLabel(option)" [removable]="true">
2287
+ <p-chip styleClass="p-autocomplete-chip" *ngIf="!selectedItemTemplate && !_selectedItemTemplate" [label]="getOptionLabel(option)" [removable]="true" (onRemove)="!readonly ? removeOption($event, i) : ''">
2288
2288
  <ng-container *ngIf="!removeIconTemplate && !_removeIconTemplate">
2289
2289
  <ng-template #removeicon>
2290
2290
  <span class="p-autocomplete-chip-icon" (click)="!readonly ? removeOption($event, i) : ''">