primeng 18.0.4-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 (161) 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 +7 -3
  9. package/esm2022/accordion/accordion.mjs +13 -12
  10. package/esm2022/autocomplete/autocomplete.mjs +56 -56
  11. package/esm2022/autocomplete/style/autocompletestyle.mjs +19 -6
  12. package/esm2022/base/style/basestyle.mjs +5 -1
  13. package/esm2022/button/button.mjs +11 -43
  14. package/esm2022/calendar/calendar.mjs +4 -4
  15. package/esm2022/carousel/carousel.mjs +3 -3
  16. package/esm2022/chips/chips.interface.mjs +2 -0
  17. package/esm2022/chips/chips.mjs +827 -0
  18. package/esm2022/chips/primeng-chips.mjs +5 -0
  19. package/esm2022/chips/public_api.mjs +3 -0
  20. package/esm2022/chips/style/chipsstyle.mjs +175 -0
  21. package/esm2022/confirmdialog/confirmdialog.mjs +44 -41
  22. package/esm2022/dataview/dataview.mjs +10 -35
  23. package/esm2022/datepicker/datepicker.mjs +85 -51
  24. package/esm2022/datepicker/style/datepickerstyle.mjs +19 -2
  25. package/esm2022/dialog/dialog.mjs +98 -108
  26. package/esm2022/drawer/drawer.mjs +2 -2
  27. package/esm2022/dynamicdialog/dynamicdialog.mjs +6 -2
  28. package/esm2022/fieldset/style/fieldsetstyle.mjs +2 -1
  29. package/esm2022/iftalabel/style/iftalabelstyle.mjs +10 -4
  30. package/esm2022/inputmask/inputmask.mjs +2 -1
  31. package/esm2022/inputnumber/inputnumber.mjs +13 -5
  32. package/esm2022/inputnumber/style/inputnumberstyle.mjs +10 -1
  33. package/esm2022/listbox/listbox.mjs +1 -1
  34. package/esm2022/megamenu/megamenu.mjs +6 -8
  35. package/esm2022/menu/menu.mjs +2 -1
  36. package/esm2022/menubar/menubar.mjs +3 -4
  37. package/esm2022/multiselect/multiselect.interface.mjs +1 -1
  38. package/esm2022/multiselect/multiselect.mjs +43 -83
  39. package/esm2022/overlay/overlay.mjs +14 -10
  40. package/esm2022/panel/panel.mjs +1 -2
  41. package/esm2022/password/style/passwordstyle.mjs +2 -1
  42. package/esm2022/picklist/picklist.mjs +263 -173
  43. package/esm2022/scroller/scroller.mjs +26 -10
  44. package/esm2022/select/select.mjs +10 -7
  45. package/esm2022/selectbutton/selectbutton.mjs +12 -5
  46. package/esm2022/splitbutton/splitbutton.mjs +9 -28
  47. package/esm2022/splitter/splitter.mjs +3 -3
  48. package/esm2022/stepper/stepper.mjs +31 -59
  49. package/esm2022/table/style/tablestyle.mjs +2 -2
  50. package/esm2022/table/table.interface.mjs +1 -1
  51. package/esm2022/table/table.mjs +116 -476
  52. package/esm2022/tabs/tabs.mjs +3 -3
  53. package/esm2022/tag/tag.mjs +1 -1
  54. package/esm2022/textarea/textarea.mjs +5 -1
  55. package/esm2022/tieredmenu/style/tieredmenustyle.mjs +13 -32
  56. package/esm2022/tieredmenu/tieredmenu.mjs +8 -8
  57. package/esm2022/togglebutton/style/togglebuttonstyle.mjs +2 -2
  58. package/esm2022/tooltip/tooltip.mjs +2 -2
  59. package/esm2022/tree/tree.mjs +68 -116
  60. package/esm2022/treeselect/treeselect.mjs +8 -7
  61. package/esm2022/treetable/treetable.mjs +3 -3
  62. package/fesm2022/primeng-accordion.mjs +12 -11
  63. package/fesm2022/primeng-accordion.mjs.map +1 -1
  64. package/fesm2022/primeng-autocomplete.mjs +73 -60
  65. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  66. package/fesm2022/primeng-base.mjs +4 -0
  67. package/fesm2022/primeng-base.mjs.map +1 -1
  68. package/fesm2022/primeng-button.mjs +10 -42
  69. package/fesm2022/primeng-button.mjs.map +1 -1
  70. package/fesm2022/primeng-calendar.mjs +3 -3
  71. package/fesm2022/primeng-calendar.mjs.map +1 -1
  72. package/fesm2022/primeng-carousel.mjs +2 -2
  73. package/fesm2022/primeng-carousel.mjs.map +1 -1
  74. package/fesm2022/primeng-chips.mjs +1006 -0
  75. package/fesm2022/primeng-chips.mjs.map +1 -0
  76. package/fesm2022/primeng-confirmdialog.mjs +43 -40
  77. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  78. package/fesm2022/primeng-dataview.mjs +9 -34
  79. package/fesm2022/primeng-dataview.mjs.map +1 -1
  80. package/fesm2022/primeng-datepicker.mjs +102 -51
  81. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  82. package/fesm2022/primeng-dialog.mjs +97 -107
  83. package/fesm2022/primeng-dialog.mjs.map +1 -1
  84. package/fesm2022/primeng-drawer.mjs +1 -1
  85. package/fesm2022/primeng-drawer.mjs.map +1 -1
  86. package/fesm2022/primeng-dynamicdialog.mjs +5 -1
  87. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  88. package/fesm2022/primeng-fieldset.mjs +1 -0
  89. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  90. package/fesm2022/primeng-iftalabel.mjs +9 -3
  91. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  92. package/fesm2022/primeng-inputmask.mjs +1 -0
  93. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  94. package/fesm2022/primeng-inputnumber.mjs +21 -4
  95. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  96. package/fesm2022/primeng-listbox.mjs.map +1 -1
  97. package/fesm2022/primeng-megamenu.mjs +5 -7
  98. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  99. package/fesm2022/primeng-menu.mjs +1 -0
  100. package/fesm2022/primeng-menu.mjs.map +1 -1
  101. package/fesm2022/primeng-menubar.mjs +2 -3
  102. package/fesm2022/primeng-menubar.mjs.map +1 -1
  103. package/fesm2022/primeng-multiselect.mjs +42 -82
  104. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  105. package/fesm2022/primeng-overlay.mjs +13 -9
  106. package/fesm2022/primeng-overlay.mjs.map +1 -1
  107. package/fesm2022/primeng-panel.mjs +0 -1
  108. package/fesm2022/primeng-panel.mjs.map +1 -1
  109. package/fesm2022/primeng-password.mjs +1 -0
  110. package/fesm2022/primeng-password.mjs.map +1 -1
  111. package/fesm2022/primeng-picklist.mjs +262 -172
  112. package/fesm2022/primeng-picklist.mjs.map +1 -1
  113. package/fesm2022/primeng-scroller.mjs +25 -9
  114. package/fesm2022/primeng-scroller.mjs.map +1 -1
  115. package/fesm2022/primeng-select.mjs +9 -6
  116. package/fesm2022/primeng-select.mjs.map +1 -1
  117. package/fesm2022/primeng-selectbutton.mjs +11 -4
  118. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  119. package/fesm2022/primeng-splitbutton.mjs +9 -28
  120. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  121. package/fesm2022/primeng-splitter.mjs +2 -2
  122. package/fesm2022/primeng-splitter.mjs.map +1 -1
  123. package/fesm2022/primeng-stepper.mjs +32 -60
  124. package/fesm2022/primeng-stepper.mjs.map +1 -1
  125. package/fesm2022/primeng-table.mjs +117 -477
  126. package/fesm2022/primeng-table.mjs.map +1 -1
  127. package/fesm2022/primeng-tabs.mjs +2 -2
  128. package/fesm2022/primeng-tabs.mjs.map +1 -1
  129. package/fesm2022/primeng-tag.mjs.map +1 -1
  130. package/fesm2022/primeng-textarea.mjs +4 -0
  131. package/fesm2022/primeng-textarea.mjs.map +1 -1
  132. package/fesm2022/primeng-tieredmenu.mjs +20 -39
  133. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  134. package/fesm2022/primeng-togglebutton.mjs +1 -1
  135. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  136. package/fesm2022/primeng-tooltip.mjs +1 -1
  137. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  138. package/fesm2022/primeng-tree.mjs +67 -115
  139. package/fesm2022/primeng-tree.mjs.map +1 -1
  140. package/fesm2022/primeng-treeselect.mjs +7 -6
  141. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  142. package/fesm2022/primeng-treetable.mjs +2 -2
  143. package/fesm2022/primeng-treetable.mjs.map +1 -1
  144. package/inputnumber/inputnumber.d.ts +6 -1
  145. package/listbox/listbox.d.ts +1 -1
  146. package/multiselect/multiselect.d.ts +10 -2
  147. package/multiselect/multiselect.interface.d.ts +1 -1
  148. package/package.json +217 -211
  149. package/panel/panel.d.ts +0 -1
  150. package/picklist/picklist.d.ts +2 -2
  151. package/scroller/scroller.d.ts +4 -0
  152. package/select/select.d.ts +1 -0
  153. package/selectbutton/selectbutton.d.ts +1 -0
  154. package/splitbutton/splitbutton.d.ts +4 -6
  155. package/splitter/splitter.d.ts +2 -2
  156. package/stepper/stepper.d.ts +4 -3
  157. package/table/table.d.ts +14 -12
  158. package/table/table.interface.d.ts +13 -13
  159. package/tag/tag.d.ts +1 -1
  160. package/textarea/textarea.d.ts +1 -0
  161. package/tree/tree.d.ts +7 -1
@@ -191,6 +191,10 @@ const theme = ({ dt }) => `
191
191
  background: ${dt('autocomplete.filled.focus.background')};
192
192
  }
193
193
 
194
+ .p-autocomplete.p-disabled {
195
+ opacity: 1;
196
+ }
197
+
194
198
  .p-autocomplete.p-disabled .p-autocomplete-input-multiple {
195
199
  opacity: 1;
196
200
  background: ${dt('autocomplete.disabled.background')};
@@ -283,21 +287,30 @@ const theme = ({ dt }) => `
283
287
  .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-clear-icon {
284
288
  right: calc(${dt('autocomplete.padding.x')} + ${dt('autocomplete.dropdown.width')});
285
289
  }
286
-
290
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input,
291
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple,
292
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input,
293
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-multiple
287
294
  p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input,
288
295
  p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-multiple {
289
296
  border-color: ${dt('autocomplete.invalid.border.color')};
290
297
  }
291
-
298
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
299
+ p-autoComplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
300
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
301
+ p-auto-complete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple,
292
302
  p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input:enabled:focus,
293
303
  p-autocomplete.ng-invalid.ng-dirty:not(.p-disabled).p-focus .p-autocomplete-input-multiple {
294
304
  border-color: ${dt('autocomplete.focus.border.color')};
295
305
  }
296
-
306
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
307
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder,
297
308
  p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input-chip input::placeholder {
298
309
  color: ${dt('autocomplete.invalid.placeholder.color')};
299
310
  }
300
311
 
312
+ p-autoComplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
313
+ p-auto-complete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder,
301
314
  p-autocomplete.ng-invalid.ng-dirty .p-autocomplete-input::placeholder {
302
315
  color: ${dt('autocomplete.invalid.placeholder.color')};
303
316
  }`;
@@ -314,12 +327,12 @@ const classes = {
314
327
  'p-autocomplete-open': instance.overlayVisible,
315
328
  'p-autocomplete-clearable': instance.showClear && !instance.disabled,
316
329
  // 'p-invalid': instance.invalid,
317
- 'p-autocomplete-fluid': instance.hasFluid()
330
+ 'p-autocomplete-fluid': instance.hasFluid
318
331
  }),
319
332
  pcInput: 'p-autocomplete-input',
320
333
  inputMultiple: ({ instance }) => ({
321
334
  'p-autocomplete-input-multiple': true,
322
- 'p-variant-filled': instance.variant ? instance.variant === 'filled' : instance.config.inputStyle() === 'filled'
335
+ 'p-variant-filled': (instance.variant ?? (instance.config.inputStyle() || instance.config.inputVariant())) === 'filled'
323
336
  }),
324
337
  chipItem: ({ instance, i }) => [
325
338
  'p-autocomplete-chip-item',
@@ -502,9 +515,9 @@ function AutoComplete_ul_4_li_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
502
515
  i0.ɵɵelementContainer(0);
503
516
  } }
504
517
  function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1) {
505
- const _r7 = i0.ɵɵgetCurrentView();
518
+ const _r9 = i0.ɵɵgetCurrentView();
506
519
  i0.ɵɵelementStart(0, "span", 33);
507
- 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) : ""); });
508
521
  i0.ɵɵelement(1, "TimesCircleIcon", 34);
509
522
  i0.ɵɵelementEnd();
510
523
  } if (rf & 2) {
@@ -518,13 +531,15 @@ function AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template(rf, ctx) { if (
518
531
  i0.ɵɵelementContainerEnd();
519
532
  } }
520
533
  function AutoComplete_ul_4_li_2_p_chip_3_Template(rf, ctx) { if (rf & 1) {
534
+ const _r7 = i0.ɵɵgetCurrentView();
521
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) : ""); });
522
537
  i0.ɵɵtemplate(1, AutoComplete_ul_4_li_2_p_chip_3_ng_container_1_Template, 3, 0, "ng-container", 15);
523
538
  i0.ɵɵelementEnd();
524
539
  } if (rf & 2) {
525
- const option_r9 = i0.ɵɵnextContext().$implicit;
540
+ const option_r10 = i0.ɵɵnextContext().$implicit;
526
541
  const ctx_r2 = i0.ɵɵnextContext(2);
527
- i0.ɵɵproperty("label", ctx_r2.getOptionLabel(option_r9))("removable", true);
542
+ i0.ɵɵproperty("label", ctx_r2.getOptionLabel(option_r10))("removable", true);
528
543
  i0.ɵɵadvance();
529
544
  i0.ɵɵproperty("ngIf", !ctx_r2.removeIconTemplate && !ctx_r2._removeIconTemplate);
530
545
  } }
@@ -547,13 +562,13 @@ function AutoComplete_ul_4_li_2_Template(rf, ctx) { if (rf & 1) {
547
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);
548
563
  i0.ɵɵelementEnd();
549
564
  } if (rf & 2) {
550
- const option_r9 = ctx.$implicit;
565
+ const option_r10 = ctx.$implicit;
551
566
  const i_r8 = ctx.index;
552
567
  const ctx_r2 = i0.ɵɵnextContext(2);
553
568
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c19, ctx_r2.focusedMultipleOptionIndex() === i_r8));
554
- 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);
555
570
  i0.ɵɵadvance(2);
556
- 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));
557
572
  i0.ɵɵadvance();
558
573
  i0.ɵɵproperty("ngIf", !ctx_r2.selectedItemTemplate && !ctx_r2._selectedItemTemplate);
559
574
  i0.ɵɵadvance();
@@ -636,9 +651,9 @@ function AutoComplete_button_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
636
651
  i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.dropdownIconTemplate || ctx_r2._dropdownIconTemplate);
637
652
  } }
638
653
  function AutoComplete_button_6_Template(rf, ctx) { if (rf & 1) {
639
- const _r10 = i0.ɵɵgetCurrentView();
654
+ const _r11 = i0.ɵɵgetCurrentView();
640
655
  i0.ɵɵelementStart(0, "button", 39, 7);
641
- 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)); });
642
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);
643
658
  i0.ɵɵelementEnd();
644
659
  } if (rf & 2) {
@@ -659,11 +674,11 @@ function AutoComplete_ng_template_9_p_scroller_3_ng_template_2_ng_container_0_Te
659
674
  function AutoComplete_ng_template_9_p_scroller_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
660
675
  i0.ɵɵtemplate(0, AutoComplete_ng_template_9_p_scroller_3_ng_template_2_ng_container_0_Template, 1, 0, "ng-container", 30);
661
676
  } if (rf & 2) {
662
- const items_r12 = ctx.$implicit;
663
- const scrollerOptions_r13 = ctx.options;
677
+ const items_r13 = ctx.$implicit;
678
+ const scrollerOptions_r14 = ctx.options;
664
679
  i0.ɵɵnextContext(2);
665
- const buildInItems_r14 = i0.ɵɵreference(6);
666
- 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));
667
682
  } }
668
683
  function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
669
684
  i0.ɵɵelementContainer(0);
@@ -671,9 +686,9 @@ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_ng
671
686
  function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_ng_template_1_Template(rf, ctx) { if (rf & 1) {
672
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);
673
688
  } if (rf & 2) {
674
- const scrollerOptions_r15 = ctx.options;
689
+ const scrollerOptions_r16 = ctx.options;
675
690
  const ctx_r2 = i0.ɵɵnextContext(4);
676
- 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));
677
692
  } }
678
693
  function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
679
694
  i0.ɵɵelementContainerStart(0);
@@ -681,9 +696,9 @@ function AutoComplete_ng_template_9_p_scroller_3_ng_container_4_Template(rf, ctx
681
696
  i0.ɵɵelementContainerEnd();
682
697
  } }
683
698
  function AutoComplete_ng_template_9_p_scroller_3_Template(rf, ctx) { if (rf & 1) {
684
- const _r11 = i0.ɵɵgetCurrentView();
699
+ const _r12 = i0.ɵɵgetCurrentView();
685
700
  i0.ɵɵelementStart(0, "p-scroller", 46, 9);
686
- 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)); });
687
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);
688
703
  i0.ɵɵelementEnd();
689
704
  } if (rf & 2) {
@@ -702,20 +717,20 @@ function AutoComplete_ng_template_9_ng_container_4_Template(rf, ctx) { if (rf &
702
717
  i0.ɵɵelementContainerEnd();
703
718
  } if (rf & 2) {
704
719
  i0.ɵɵnextContext();
705
- const buildInItems_r14 = i0.ɵɵreference(6);
720
+ const buildInItems_r15 = i0.ɵɵreference(6);
706
721
  const ctx_r2 = i0.ɵɵnextContext();
707
722
  i0.ɵɵadvance();
708
- 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)));
709
724
  } }
710
725
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_span_2_Template(rf, ctx) { if (rf & 1) {
711
726
  i0.ɵɵelementStart(0, "span");
712
727
  i0.ɵɵtext(1);
713
728
  i0.ɵɵelementEnd();
714
729
  } if (rf & 2) {
715
- const option_r16 = i0.ɵɵnextContext(2).$implicit;
730
+ const option_r17 = i0.ɵɵnextContext(2).$implicit;
716
731
  const ctx_r2 = i0.ɵɵnextContext(3);
717
732
  i0.ɵɵadvance();
718
- i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r16.optionGroup));
733
+ i0.ɵɵtextInterpolate(ctx_r2.getOptionGroupLabel(option_r17.optionGroup));
719
734
  } }
720
735
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_ng_container_3_Template(rf, ctx) { if (rf & 1) {
721
736
  i0.ɵɵelementContainer(0);
@@ -727,62 +742,62 @@ function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_0_T
727
742
  i0.ɵɵelementEnd();
728
743
  i0.ɵɵelementContainerEnd();
729
744
  } if (rf & 2) {
730
- const ctx_r16 = i0.ɵɵnextContext();
731
- const option_r16 = ctx_r16.$implicit;
732
- const i_r18 = ctx_r16.index;
733
- 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;
734
749
  const ctx_r2 = i0.ɵɵnextContext(2);
735
750
  i0.ɵɵadvance();
736
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c22, scrollerOptions_r19.itemSize + "px"));
737
- 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));
738
753
  i0.ɵɵadvance();
739
754
  i0.ɵɵproperty("ngIf", !ctx_r2.groupTemplate);
740
755
  i0.ɵɵadvance();
741
- 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));
742
757
  } }
743
758
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
744
759
  i0.ɵɵelementStart(0, "span");
745
760
  i0.ɵɵtext(1);
746
761
  i0.ɵɵelementEnd();
747
762
  } if (rf & 2) {
748
- const option_r16 = i0.ɵɵnextContext(2).$implicit;
763
+ const option_r17 = i0.ɵɵnextContext(2).$implicit;
749
764
  const ctx_r2 = i0.ɵɵnextContext(3);
750
765
  i0.ɵɵadvance();
751
- i0.ɵɵtextInterpolate(ctx_r2.getOptionLabel(option_r16));
766
+ i0.ɵɵtextInterpolate(ctx_r2.getOptionLabel(option_r17));
752
767
  } }
753
768
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
754
769
  i0.ɵɵelementContainer(0);
755
770
  } }
756
771
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
757
- const _r20 = i0.ɵɵgetCurrentView();
772
+ const _r21 = i0.ɵɵgetCurrentView();
758
773
  i0.ɵɵelementContainerStart(0);
759
774
  i0.ɵɵelementStart(1, "li", 51);
760
- 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))); });
761
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);
762
777
  i0.ɵɵelementEnd();
763
778
  i0.ɵɵelementContainerEnd();
764
779
  } if (rf & 2) {
765
- const ctx_r16 = i0.ɵɵnextContext();
766
- const option_r16 = ctx_r16.$implicit;
767
- const i_r18 = ctx_r16.index;
768
- 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;
769
784
  const ctx_r2 = i0.ɵɵnextContext(2);
770
785
  i0.ɵɵadvance();
771
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c22, scrollerOptions_r19.itemSize + "px"))("ngClass", ctx_r2.optionClass(option_r16, i_r18, scrollerOptions_r19));
772
- 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)));
773
788
  i0.ɵɵadvance();
774
789
  i0.ɵɵproperty("ngIf", !ctx_r2.itemTemplate && !ctx_r2._itemTemplate);
775
790
  i0.ɵɵadvance();
776
- 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));
777
792
  } }
778
793
  function AutoComplete_ng_template_9_ng_template_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
779
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);
780
795
  } if (rf & 2) {
781
- const option_r16 = ctx.$implicit;
796
+ const option_r17 = ctx.$implicit;
782
797
  const ctx_r2 = i0.ɵɵnextContext(3);
783
- i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r16));
798
+ i0.ɵɵproperty("ngIf", ctx_r2.isOptionGroup(option_r17));
784
799
  i0.ɵɵadvance();
785
- i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r16));
800
+ i0.ɵɵproperty("ngIf", !ctx_r2.isOptionGroup(option_r17));
786
801
  } }
787
802
  function AutoComplete_ng_template_9_ng_template_5_li_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
788
803
  i0.ɵɵelementContainerStart(0);
@@ -801,9 +816,9 @@ function AutoComplete_ng_template_9_ng_template_5_li_3_Template(rf, ctx) { if (r
801
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);
802
817
  i0.ɵɵelementEnd();
803
818
  } if (rf & 2) {
804
- const scrollerOptions_r19 = i0.ɵɵnextContext().options;
819
+ const scrollerOptions_r20 = i0.ɵɵnextContext().options;
805
820
  const ctx_r2 = i0.ɵɵnextContext(2);
806
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c22, scrollerOptions_r19.itemSize + "px"));
821
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c22, scrollerOptions_r20.itemSize + "px"));
807
822
  i0.ɵɵadvance();
808
823
  i0.ɵɵproperty("ngIf", !ctx_r2.emptyTemplate && !ctx_r2._emptyTemplate)("ngIfElse", ctx_r2.empty);
809
824
  i0.ɵɵadvance();
@@ -814,16 +829,16 @@ function AutoComplete_ng_template_9_ng_template_5_Template(rf, ctx) { if (rf & 1
814
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);
815
830
  i0.ɵɵelementEnd();
816
831
  } if (rf & 2) {
817
- const items_r21 = ctx.$implicit;
818
- const scrollerOptions_r19 = ctx.options;
832
+ const items_r22 = ctx.$implicit;
833
+ const scrollerOptions_r20 = ctx.options;
819
834
  const ctx_r2 = i0.ɵɵnextContext(2);
820
- i0.ɵɵstyleMap(scrollerOptions_r19.contentStyle);
821
- i0.ɵɵproperty("ngClass", scrollerOptions_r19.contentStyleClass);
835
+ i0.ɵɵstyleMap(scrollerOptions_r20.contentStyle);
836
+ i0.ɵɵproperty("ngClass", scrollerOptions_r20.contentStyleClass);
822
837
  i0.ɵɵattribute("id", ctx_r2.id + "_list")("aria-label", ctx_r2.listLabel);
823
838
  i0.ɵɵadvance(2);
824
- i0.ɵɵproperty("ngForOf", items_r21);
839
+ i0.ɵɵproperty("ngForOf", items_r22);
825
840
  i0.ɵɵadvance();
826
- 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);
827
842
  } }
828
843
  function AutoComplete_ng_template_9_ng_container_7_Template(rf, ctx) { if (rf & 1) {
829
844
  i0.ɵɵelementContainer(0);
@@ -1963,9 +1978,7 @@ class AutoComplete extends BaseComponent {
1963
1978
  removeOption(event, index) {
1964
1979
  event.stopPropagation();
1965
1980
  const removedOption = this.modelValue()[index];
1966
- const value = this.modelValue()
1967
- .filter((_, i) => i !== index)
1968
- .map((option) => this.getOptionValue(option));
1981
+ const value = this.modelValue().filter((_, i) => i !== index);
1969
1982
  this.updateModel(value);
1970
1983
  this.onUnselect.emit({ originalEvent: event, value: removedOption });
1971
1984
  focus(this.inputEL.nativeElement);
@@ -2166,7 +2179,7 @@ class AutoComplete extends BaseComponent {
2166
2179
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.itemsViewChild = _t.first);
2167
2180
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);
2168
2181
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlayViewChild = _t.first);
2169
- } }, 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) {
2170
2183
  const _r1 = i0.ɵɵgetCurrentView();
2171
2184
  i0.ɵɵelementStart(0, "div", 13, 0);
2172
2185
  i0.ɵɵlistener("click", function AutoComplete_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onContainerClick($event)); });
@@ -2271,7 +2284,7 @@ class AutoComplete extends BaseComponent {
2271
2284
  [attr.aria-selected]="true"
2272
2285
  >
2273
2286
  <ng-container *ngTemplateOutlet="selectedItemTemplate || _selectedItemTemplate; context: { $implicit: option }"></ng-container>
2274
- <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) : ''">
2275
2288
  <ng-container *ngIf="!removeIconTemplate && !_removeIconTemplate">
2276
2289
  <ng-template #removeicon>
2277
2290
  <span class="p-autocomplete-chip-icon" (click)="!readonly ? removeOption($event, i) : ''">