primeng 19.0.0-rc.1 → 19.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/accordion/accordion.d.ts +7 -7
  2. package/autocomplete/autocomplete.d.ts +21 -8
  3. package/badge/badge.d.ts +1 -3
  4. package/basecomponent/basecomponent.d.ts +2 -5
  5. package/blockui/blockui.d.ts +10 -5
  6. package/breadcrumb/breadcrumb.d.ts +9 -6
  7. package/button/button.d.ts +10 -4
  8. package/calendar/calendar.d.ts +29 -15
  9. package/card/card.d.ts +12 -5
  10. package/carousel/carousel.d.ts +10 -4
  11. package/cascadeselect/cascadeselect.d.ts +18 -8
  12. package/checkbox/checkbox.d.ts +8 -4
  13. package/chip/chip.d.ts +9 -7
  14. package/config/themeprovider.d.ts +6 -0
  15. package/confirmdialog/confirmdialog.d.ts +15 -5
  16. package/confirmpopup/confirmpopup.d.ts +11 -5
  17. package/contextmenu/contextmenu.d.ts +10 -6
  18. package/datepicker/datepicker.d.ts +25 -11
  19. package/dialog/dialog.d.ts +15 -4
  20. package/divider/divider.d.ts +1 -1
  21. package/dock/dock.d.ts +7 -4
  22. package/drawer/drawer.d.ts +18 -10
  23. package/dropdown/dropdown.d.ts +4 -3
  24. package/dynamicdialog/dynamicdialog.d.ts +3 -2
  25. package/editor/editor.d.ts +7 -3
  26. package/fesm2022/primeng-accordion.mjs +56 -41
  27. package/fesm2022/primeng-accordion.mjs.map +1 -1
  28. package/fesm2022/primeng-autocomplete.mjs +153 -92
  29. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  30. package/fesm2022/primeng-badge.mjs +39 -32
  31. package/fesm2022/primeng-badge.mjs.map +1 -1
  32. package/fesm2022/primeng-basecomponent.mjs +2 -25
  33. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  34. package/fesm2022/primeng-blockui.mjs +38 -18
  35. package/fesm2022/primeng-blockui.mjs.map +1 -1
  36. package/fesm2022/primeng-breadcrumb.mjs +49 -31
  37. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  38. package/fesm2022/primeng-button.mjs +55 -28
  39. package/fesm2022/primeng-button.mjs.map +1 -1
  40. package/fesm2022/primeng-calendar.mjs +202 -137
  41. package/fesm2022/primeng-calendar.mjs.map +1 -1
  42. package/fesm2022/primeng-card.mjs +95 -45
  43. package/fesm2022/primeng-card.mjs.map +1 -1
  44. package/fesm2022/primeng-carousel.mjs +74 -42
  45. package/fesm2022/primeng-carousel.mjs.map +1 -1
  46. package/fesm2022/primeng-cascadeselect.mjs +99 -61
  47. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  48. package/fesm2022/primeng-checkbox.mjs +31 -12
  49. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  50. package/fesm2022/primeng-chip.mjs +117 -96
  51. package/fesm2022/primeng-chip.mjs.map +1 -1
  52. package/fesm2022/primeng-config.mjs +13 -11
  53. package/fesm2022/primeng-config.mjs.map +1 -1
  54. package/fesm2022/primeng-confirmdialog.mjs +104 -60
  55. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  56. package/fesm2022/primeng-confirmpopup.mjs +57 -29
  57. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  58. package/fesm2022/primeng-contextmenu.mjs +52 -21
  59. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  60. package/fesm2022/primeng-datepicker.mjs +198 -156
  61. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  62. package/fesm2022/primeng-dialog.mjs +97 -50
  63. package/fesm2022/primeng-dialog.mjs.map +1 -1
  64. package/fesm2022/primeng-divider.mjs +2 -4
  65. package/fesm2022/primeng-divider.mjs.map +1 -1
  66. package/fesm2022/primeng-dock.mjs +29 -10
  67. package/fesm2022/primeng-dock.mjs.map +1 -1
  68. package/fesm2022/primeng-drawer.mjs +112 -70
  69. package/fesm2022/primeng-drawer.mjs.map +1 -1
  70. package/fesm2022/primeng-dropdown.mjs +14 -6
  71. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  72. package/fesm2022/primeng-dynamicdialog.mjs +25 -21
  73. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  74. package/fesm2022/primeng-editor.mjs +26 -10
  75. package/fesm2022/primeng-editor.mjs.map +1 -1
  76. package/fesm2022/primeng-fieldset.mjs +61 -33
  77. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  78. package/fesm2022/primeng-fileupload.mjs +138 -87
  79. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  80. package/fesm2022/primeng-galleria.mjs +22 -13
  81. package/fesm2022/primeng-galleria.mjs.map +1 -1
  82. package/fesm2022/primeng-image.mjs +113 -66
  83. package/fesm2022/primeng-image.mjs.map +1 -1
  84. package/fesm2022/primeng-imagecompare.mjs +30 -10
  85. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  86. package/fesm2022/primeng-inplace.mjs +51 -26
  87. package/fesm2022/primeng-inplace.mjs.map +1 -1
  88. package/fesm2022/primeng-inputmask.mjs +31 -15
  89. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  90. package/fesm2022/primeng-inputnumber.mjs +54 -45
  91. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  92. package/fesm2022/primeng-inputotp.mjs +30 -11
  93. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  94. package/fesm2022/primeng-listbox.mjs +137 -78
  95. package/fesm2022/primeng-listbox.mjs.map +1 -1
  96. package/fesm2022/primeng-megamenu.mjs +105 -59
  97. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  98. package/fesm2022/primeng-menu.mjs +26 -26
  99. package/fesm2022/primeng-menu.mjs.map +1 -1
  100. package/fesm2022/primeng-menubar.mjs +69 -34
  101. package/fesm2022/primeng-menubar.mjs.map +1 -1
  102. package/fesm2022/primeng-message.mjs +49 -25
  103. package/fesm2022/primeng-message.mjs.map +1 -1
  104. package/fesm2022/primeng-messages.mjs +12 -3
  105. package/fesm2022/primeng-messages.mjs.map +1 -1
  106. package/fesm2022/primeng-metergroup.mjs +62 -30
  107. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  108. package/fesm2022/primeng-multiselect.mjs +246 -155
  109. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  110. package/fesm2022/primeng-orderlist.mjs +123 -68
  111. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  112. package/fesm2022/primeng-organizationchart.mjs +31 -15
  113. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  114. package/fesm2022/primeng-overlay.mjs +26 -6
  115. package/fesm2022/primeng-overlay.mjs.map +1 -1
  116. package/fesm2022/primeng-overlaypanel.mjs +29 -9
  117. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  118. package/fesm2022/primeng-paginator.mjs +92 -60
  119. package/fesm2022/primeng-paginator.mjs.map +1 -1
  120. package/fesm2022/primeng-panel.mjs +159 -98
  121. package/fesm2022/primeng-panel.mjs.map +1 -1
  122. package/fesm2022/primeng-panelmenu.mjs +55 -32
  123. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  124. package/fesm2022/primeng-password.mjs +88 -49
  125. package/fesm2022/primeng-password.mjs.map +1 -1
  126. package/fesm2022/primeng-picklist.mjs +360 -228
  127. package/fesm2022/primeng-picklist.mjs.map +1 -1
  128. package/fesm2022/primeng-popover.mjs +23 -7
  129. package/fesm2022/primeng-popover.mjs.map +1 -1
  130. package/fesm2022/primeng-progressbar.mjs +26 -8
  131. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  132. package/fesm2022/primeng-rating.mjs +44 -20
  133. package/fesm2022/primeng-rating.mjs.map +1 -1
  134. package/fesm2022/primeng-scroller.mjs +47 -37
  135. package/fesm2022/primeng-scroller.mjs.map +1 -1
  136. package/fesm2022/primeng-scrollpanel.mjs +28 -9
  137. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  138. package/fesm2022/primeng-scrolltop.mjs +16 -9
  139. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  140. package/fesm2022/primeng-select.mjs +198 -119
  141. package/fesm2022/primeng-select.mjs.map +1 -1
  142. package/fesm2022/primeng-selectbutton.mjs +25 -9
  143. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  144. package/fesm2022/primeng-sidebar.mjs +81 -58
  145. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  146. package/fesm2022/primeng-speeddial.mjs +54 -29
  147. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  148. package/fesm2022/primeng-splitbutton.mjs +41 -18
  149. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  150. package/fesm2022/primeng-splitter.mjs +4 -4
  151. package/fesm2022/primeng-splitter.mjs.map +1 -1
  152. package/fesm2022/primeng-stepper.mjs +33 -19
  153. package/fesm2022/primeng-stepper.mjs.map +1 -1
  154. package/fesm2022/primeng-table.mjs +115 -103
  155. package/fesm2022/primeng-table.mjs.map +1 -1
  156. package/fesm2022/primeng-tabmenu.mjs +54 -27
  157. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  158. package/fesm2022/primeng-tabs.mjs +27 -19
  159. package/fesm2022/primeng-tabs.mjs.map +1 -1
  160. package/fesm2022/primeng-tabview.mjs +106 -54
  161. package/fesm2022/primeng-tabview.mjs.map +1 -1
  162. package/fesm2022/primeng-tag.mjs +68 -44
  163. package/fesm2022/primeng-tag.mjs.map +1 -1
  164. package/fesm2022/primeng-tieredmenu.mjs +44 -21
  165. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  166. package/fesm2022/primeng-timeline.mjs +40 -16
  167. package/fesm2022/primeng-timeline.mjs.map +1 -1
  168. package/fesm2022/primeng-toast.mjs +30 -7
  169. package/fesm2022/primeng-toast.mjs.map +1 -1
  170. package/fesm2022/primeng-togglebutton.mjs +44 -28
  171. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  172. package/fesm2022/primeng-toggleswitch.mjs +28 -9
  173. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  174. package/fesm2022/primeng-toolbar.mjs +46 -20
  175. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  176. package/fesm2022/primeng-tooltip.mjs +32 -69
  177. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  178. package/fesm2022/primeng-tree.mjs +117 -98
  179. package/fesm2022/primeng-tree.mjs.map +1 -1
  180. package/fesm2022/primeng-treeselect.mjs +154 -85
  181. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  182. package/fesm2022/primeng-treetable.mjs +31 -14
  183. package/fesm2022/primeng-treetable.mjs.map +1 -1
  184. package/fesm2022/primeng-usestyle.mjs +1 -1
  185. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  186. package/fieldset/fieldset.d.ts +12 -6
  187. package/fileupload/fileupload.d.ts +19 -8
  188. package/galleria/galleria.d.ts +3 -2
  189. package/image/image.d.ts +18 -7
  190. package/imagecompare/imagecompare.d.ts +7 -2
  191. package/inplace/inplace.d.ts +12 -6
  192. package/inputmask/inputmask.d.ts +8 -4
  193. package/inputnumber/inputnumber.d.ts +11 -6
  194. package/inputotp/inputotp.d.ts +7 -2
  195. package/listbox/listbox.d.ts +17 -4
  196. package/megamenu/megamenu.d.ts +16 -7
  197. package/menu/menu.d.ts +6 -6
  198. package/menubar/menubar.d.ts +13 -6
  199. package/message/message.d.ts +10 -4
  200. package/messages/messages.d.ts +4 -3
  201. package/metergroup/metergroup.d.ts +11 -3
  202. package/multiselect/multiselect.d.ts +36 -17
  203. package/orderlist/orderlist.d.ts +23 -11
  204. package/organizationchart/organizationchart.d.ts +6 -4
  205. package/overlay/overlay.d.ts +6 -3
  206. package/overlaypanel/overlaypanel.d.ts +6 -3
  207. package/package.json +157 -157
  208. package/paginator/paginator.d.ts +15 -8
  209. package/panel/panel.d.ts +14 -5
  210. package/panelmenu/panelmenu.d.ts +8 -4
  211. package/password/password.d.ts +15 -7
  212. package/picklist/picklist.d.ts +23 -3
  213. package/popover/popover.d.ts +7 -4
  214. package/progressbar/progressbar.d.ts +7 -3
  215. package/rating/rating.d.ts +11 -5
  216. package/scroller/scroller.d.ts +9 -4
  217. package/scrollpanel/scrollpanel.d.ts +7 -3
  218. package/scrolltop/scrolltop.d.ts +7 -4
  219. package/select/select.d.ts +31 -13
  220. package/selectbutton/selectbutton.d.ts +7 -3
  221. package/sidebar/sidebar.d.ts +9 -2
  222. package/speeddial/speeddial.d.ts +9 -4
  223. package/splitbutton/splitbutton.d.ts +9 -5
  224. package/splitter/splitter.d.ts +4 -4
  225. package/stepper/stepper.d.ts +8 -3
  226. package/table/table.d.ts +2 -2
  227. package/tabmenu/tabmenu.d.ts +12 -7
  228. package/tabs/tablist.d.ts +6 -2
  229. package/tabview/tabview.d.ts +16 -7
  230. package/tag/tag.d.ts +8 -9
  231. package/tieredmenu/tieredmenu.d.ts +10 -6
  232. package/timeline/timeline.d.ts +7 -2
  233. package/toast/toast.d.ts +7 -3
  234. package/togglebutton/togglebutton.d.ts +8 -3
  235. package/toggleswitch/toggleswitch.d.ts +6 -2
  236. package/toolbar/toolbar.d.ts +9 -4
  237. package/tooltip/tooltip.d.ts +2 -1
  238. package/tree/tree.d.ts +23 -10
  239. package/treeselect/treeselect.d.ts +26 -12
  240. package/treetable/treetable.d.ts +6 -4
@@ -2,11 +2,11 @@ import { trigger, state, style, transition, animate } from '@angular/animations'
2
2
  import * as i2 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, forwardRef, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, NgModule } from '@angular/core';
5
+ import { Injectable, forwardRef, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
- import { uuid, getOuterWidth, isDate, findSingle, getFocusableElements, hasClass, getIndex, find, isNotEmpty, appendChild, absolutePosition, relativePosition, addClass, blockBodyScroll, unblockBodyScroll, setAttribute, isTouchDevice } from '@primeuix/utils';
7
+ import { uuid, getOuterWidth, isDate, findSingle, getFocusableElements, hasClass, getIndex, find, isNotEmpty, addStyle, appendChild, absolutePosition, relativePosition, addClass, blockBodyScroll, unblockBodyScroll, setAttribute, isTouchDevice } from '@primeuix/utils';
8
8
  import * as i1 from 'primeng/api';
9
- import { TranslationKeys, SharedModule } from 'primeng/api';
9
+ import { TranslationKeys, PrimeTemplate, SharedModule } from 'primeng/api';
10
10
  import { AutoFocus } from 'primeng/autofocus';
11
11
  import { BaseComponent } from 'primeng/basecomponent';
12
12
  import { Button } from 'primeng/button';
@@ -724,7 +724,7 @@ function DatePicker_ng_template_2_ng_container_2_span_2_Template(rf, ctx) { if (
724
724
  } if (rf & 2) {
725
725
  const ctx_r1 = i0.ɵɵnextContext(3);
726
726
  i0.ɵɵadvance();
727
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.clearicon);
727
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
728
728
  } }
729
729
  function DatePicker_ng_template_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
730
730
  i0.ɵɵelementContainerStart(0);
@@ -733,9 +733,9 @@ function DatePicker_ng_template_2_ng_container_2_Template(rf, ctx) { if (rf & 1)
733
733
  } if (rf & 2) {
734
734
  const ctx_r1 = i0.ɵɵnextContext(2);
735
735
  i0.ɵɵadvance();
736
- i0.ɵɵproperty("ngIf", !ctx_r1.clearicon);
736
+ i0.ɵɵproperty("ngIf", !ctx_r1.clearIconTemplate && !ctx_r1._clearIconTemplate);
737
737
  i0.ɵɵadvance();
738
- i0.ɵɵproperty("ngIf", ctx_r1.clearicon);
738
+ i0.ɵɵproperty("ngIf", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
739
739
  } }
740
740
  function DatePicker_ng_template_2_button_3_span_1_Template(rf, ctx) { if (rf & 1) {
741
741
  i0.ɵɵelement(0, "span", 16);
@@ -757,9 +757,9 @@ function DatePicker_ng_template_2_button_3_ng_container_2_Template(rf, ctx) { if
757
757
  } if (rf & 2) {
758
758
  const ctx_r1 = i0.ɵɵnextContext(3);
759
759
  i0.ɵɵadvance();
760
- i0.ɵɵproperty("ngIf", !ctx_r1.triggericon);
760
+ i0.ɵɵproperty("ngIf", !ctx_r1.triggerIconTemplate && !ctx_r1._triggerIconTemplate);
761
761
  i0.ɵɵadvance();
762
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.triggericon);
762
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.triggerIconTemplate || ctx_r1._triggerIconTemplate);
763
763
  } }
764
764
  function DatePicker_ng_template_2_button_3_Template(rf, ctx) { if (rf & 1) {
765
765
  const _r5 = i0.ɵɵgetCurrentView();
@@ -798,9 +798,9 @@ function DatePicker_ng_template_2_ng_container_4_Template(rf, ctx) { if (rf & 1)
798
798
  } if (rf & 2) {
799
799
  const ctx_r1 = i0.ɵɵnextContext(2);
800
800
  i0.ɵɵadvance(2);
801
- i0.ɵɵproperty("ngIf", !ctx_r1.inputicon);
801
+ i0.ɵɵproperty("ngIf", !ctx_r1.inputIconTemplate && !ctx_r1._inputIconTemplate);
802
802
  i0.ɵɵadvance();
803
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.inputicon)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c17, ctx_r1.onButtonClick.bind(ctx_r1)));
803
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.inputIconTemplate || ctx_r1._inputIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c17, ctx_r1.onButtonClick.bind(ctx_r1)));
804
804
  } }
805
805
  function DatePicker_ng_template_2_Template(rf, ctx) { if (rf & 1) {
806
806
  const _r1 = i0.ɵɵgetCurrentView();
@@ -809,11 +809,11 @@ function DatePicker_ng_template_2_Template(rf, ctx) { if (rf & 1) {
809
809
  i0.ɵɵelementEnd();
810
810
  i0.ɵɵtemplate(2, DatePicker_ng_template_2_ng_container_2_Template, 3, 2, "ng-container", 7)(3, DatePicker_ng_template_2_button_3_Template, 3, 6, "button", 8)(4, DatePicker_ng_template_2_ng_container_4_Template, 4, 5, "ng-container", 7);
811
811
  } if (rf & 2) {
812
- let tmp_18_0;
812
+ let tmp_17_0;
813
813
  const ctx_r1 = i0.ɵɵnextContext();
814
814
  i0.ɵɵclassMap(ctx_r1.inputStyleClass);
815
- i0.ɵɵproperty("value", ctx_r1.inputFieldValue)("readonly", ctx_r1.readonlyInput)("ngStyle", ctx_r1.inputStyle)("ngClass", "p-datepicker-input")("placeholder", ctx_r1.placeholder || "")("disabled", ctx_r1.disabled)("pAutoFocus", ctx_r1.autofocus)("variant", ctx_r1.variant)("fluid", ctx_r1.hasFluid)("pSize", ctx_r1.size);
816
- i0.ɵɵattribute("id", ctx_r1.inputId)("name", ctx_r1.name)("required", ctx_r1.required)("aria-required", ctx_r1.required)("aria-expanded", (tmp_18_0 = ctx_r1.overlayVisible) !== null && tmp_18_0 !== undefined ? tmp_18_0 : false)("aria-controls", ctx_r1.overlayVisible ? ctx_r1.panelId : null)("aria-labelledby", ctx_r1.ariaLabelledBy)("aria-label", ctx_r1.ariaLabel)("tabindex", ctx_r1.tabindex)("inputmode", ctx_r1.touchUI ? "off" : null);
815
+ i0.ɵɵproperty("value", ctx_r1.inputFieldValue)("readonly", ctx_r1.readonlyInput)("ngStyle", ctx_r1.inputStyle)("ngClass", "p-datepicker-input")("placeholder", ctx_r1.placeholder || "")("disabled", ctx_r1.disabled)("pAutoFocus", ctx_r1.autofocus)("variant", ctx_r1.variant)("fluid", ctx_r1.hasFluid);
816
+ i0.ɵɵattribute("id", ctx_r1.inputId)("name", ctx_r1.name)("required", ctx_r1.required)("aria-required", ctx_r1.required)("aria-expanded", (tmp_17_0 = ctx_r1.overlayVisible) !== null && tmp_17_0 !== undefined ? tmp_17_0 : false)("aria-controls", ctx_r1.overlayVisible ? ctx_r1.panelId : null)("aria-labelledby", ctx_r1.ariaLabelledBy)("aria-label", ctx_r1.ariaLabel)("tabindex", ctx_r1.tabindex)("inputmode", ctx_r1.touchUI ? "off" : null);
817
817
  i0.ɵɵadvance(2);
818
818
  i0.ɵɵproperty("ngIf", ctx_r1.showClear && !ctx_r1.disabled && ctx_r1.value != null);
819
819
  i0.ɵɵadvance();
@@ -838,7 +838,7 @@ function DatePicker_div_3_ng_container_4_div_2_span_4_Template(rf, ctx) { if (rf
838
838
  } if (rf & 2) {
839
839
  const ctx_r1 = i0.ɵɵnextContext(4);
840
840
  i0.ɵɵadvance();
841
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.previousicon);
841
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.previousIconTemplate || ctx_r1._previousIconTemplate);
842
842
  } }
843
843
  function DatePicker_div_3_ng_container_4_div_2_button_6_Template(rf, ctx) { if (rf & 1) {
844
844
  const _r10 = i0.ɵɵgetCurrentView();
@@ -887,9 +887,9 @@ function DatePicker_div_3_ng_container_4_div_2_span_8_Template(rf, ctx) { if (rf
887
887
  } if (rf & 2) {
888
888
  const ctx_r1 = i0.ɵɵnextContext(4);
889
889
  i0.ɵɵadvance();
890
- i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate);
890
+ i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && ctx_r1._decadeTemplate);
891
891
  i0.ɵɵadvance();
892
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decadeTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c22, ctx_r1.yearPickerValues));
892
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decadeTemplate || ctx_r1._decadeTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c22, ctx_r1.yearPickerValues));
893
893
  } }
894
894
  function DatePicker_div_3_ng_container_4_div_2_ChevronRightIcon_10_Template(rf, ctx) { if (rf & 1) {
895
895
  i0.ɵɵelement(0, "ChevronRightIcon");
@@ -905,7 +905,7 @@ function DatePicker_div_3_ng_container_4_div_2_span_11_Template(rf, ctx) { if (r
905
905
  } if (rf & 2) {
906
906
  const ctx_r1 = i0.ɵɵnextContext(4);
907
907
  i0.ɵɵadvance();
908
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.nexticon);
908
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.nextIconTemplate || ctx_r1._nextIconTemplate);
909
909
  } }
910
910
  function DatePicker_div_3_ng_container_4_div_2_table_12_th_3_Template(rf, ctx) { if (rf & 1) {
911
911
  i0.ɵɵelementStart(0, "th", 44)(1, "span");
@@ -955,7 +955,7 @@ function DatePicker_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1
955
955
  const date_r16 = i0.ɵɵnextContext(2).$implicit;
956
956
  const ctx_r1 = i0.ɵɵnextContext(6);
957
957
  i0.ɵɵadvance();
958
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
958
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dateTemplate || ctx_r1._dateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
959
959
  } }
960
960
  function DatePicker_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_ng_container_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
961
961
  i0.ɵɵelementContainer(0);
@@ -968,7 +968,7 @@ function DatePicker_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1
968
968
  const date_r16 = i0.ɵɵnextContext(2).$implicit;
969
969
  const ctx_r1 = i0.ɵɵnextContext(6);
970
970
  i0.ɵɵadvance();
971
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.disabledDateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
971
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.disabledDateTemplate || ctx_r1._disabledDateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
972
972
  } }
973
973
  function DatePicker_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_div_5_Template(rf, ctx) { if (rf & 1) {
974
974
  i0.ɵɵelementStart(0, "div", 53);
@@ -995,9 +995,9 @@ function DatePicker_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1
995
995
  i0.ɵɵproperty("ngClass", ctx_r1.dayClass(date_r16));
996
996
  i0.ɵɵattribute("data-date", ctx_r1.formatDateKey(ctx_r1.formatDateMetaToDate(date_r16)));
997
997
  i0.ɵɵadvance();
998
- i0.ɵɵproperty("ngIf", !ctx_r1.dateTemplate && (date_r16.selectable || !ctx_r1.disabledDateTemplate));
998
+ i0.ɵɵproperty("ngIf", !ctx_r1.dateTemplate && !ctx_r1._dateTemplate && (date_r16.selectable || !ctx_r1.disabledDateTemplate && !ctx_r1._disabledDateTemplate));
999
999
  i0.ɵɵadvance();
1000
- i0.ɵɵproperty("ngIf", date_r16.selectable || !ctx_r1.disabledDateTemplate);
1000
+ i0.ɵɵproperty("ngIf", date_r16.selectable || !ctx_r1.disabledDateTemplate && !ctx_r1._disabledDateTemplate);
1001
1001
  i0.ɵɵadvance();
1002
1002
  i0.ɵɵproperty("ngIf", !date_r16.selectable);
1003
1003
  i0.ɵɵadvance();
@@ -1066,9 +1066,9 @@ function DatePicker_div_3_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
1066
1066
  i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c21, i_r17 === 0 ? "visible" : "hidden"));
1067
1067
  i0.ɵɵattribute("aria-label", ctx_r1.prevIconAriaLabel);
1068
1068
  i0.ɵɵadvance();
1069
- i0.ɵɵproperty("ngIf", !ctx_r1.previousicon);
1069
+ i0.ɵɵproperty("ngIf", !ctx_r1.previousIconTemplate && !ctx_r1._previousIconTemplate);
1070
1070
  i0.ɵɵadvance();
1071
- i0.ɵɵproperty("ngIf", ctx_r1.previousicon);
1071
+ i0.ɵɵproperty("ngIf", ctx_r1.previousIconTemplate || !ctx_r1._previousIconTemplate);
1072
1072
  i0.ɵɵadvance(2);
1073
1073
  i0.ɵɵproperty("ngIf", ctx_r1.currentView === "date");
1074
1074
  i0.ɵɵadvance();
@@ -1079,9 +1079,9 @@ function DatePicker_div_3_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
1079
1079
  i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(14, _c21, i_r17 === ctx_r1.months.length - 1 ? "visible" : "hidden"));
1080
1080
  i0.ɵɵattribute("aria-label", ctx_r1.nextIconAriaLabel);
1081
1081
  i0.ɵɵadvance();
1082
- i0.ɵɵproperty("ngIf", !ctx_r1.nexticon);
1082
+ i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && !ctx_r1._decadeTemplate);
1083
1083
  i0.ɵɵadvance();
1084
- i0.ɵɵproperty("ngIf", ctx_r1.nexticon);
1084
+ i0.ɵɵproperty("ngIf", ctx_r1.nextIconTemplate || !ctx_r1._nextIconTemplate);
1085
1085
  i0.ɵɵadvance();
1086
1086
  i0.ɵɵproperty("ngIf", ctx_r1.currentView === "date");
1087
1087
  } }
@@ -1215,7 +1215,7 @@ function DatePicker_div_3_div_5_ng_container_23_Template(rf, ctx) { if (rf & 1)
1215
1215
  } if (rf & 2) {
1216
1216
  const ctx_r1 = i0.ɵɵnextContext(3);
1217
1217
  i0.ɵɵadvance();
1218
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementicon);
1218
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1219
1219
  } }
1220
1220
  function DatePicker_div_3_div_5_div_24_Template(rf, ctx) { if (rf & 1) {
1221
1221
  i0.ɵɵelementStart(0, "div", 61)(1, "span");
@@ -1264,9 +1264,9 @@ function DatePicker_div_3_div_5_div_25_Template(rf, ctx) { if (rf & 1) {
1264
1264
  i0.ɵɵadvance();
1265
1265
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextSecond"));
1266
1266
  i0.ɵɵadvance();
1267
- i0.ɵɵproperty("ngIf", !ctx_r1.incrementicon);
1267
+ i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
1268
1268
  i0.ɵɵadvance();
1269
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementicon);
1269
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
1270
1270
  i0.ɵɵadvance(2);
1271
1271
  i0.ɵɵproperty("ngIf", ctx_r1.currentSecond < 10);
1272
1272
  i0.ɵɵadvance();
@@ -1274,9 +1274,9 @@ function DatePicker_div_3_div_5_div_25_Template(rf, ctx) { if (rf & 1) {
1274
1274
  i0.ɵɵadvance();
1275
1275
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevSecond"));
1276
1276
  i0.ɵɵadvance();
1277
- i0.ɵɵproperty("ngIf", !ctx_r1.decrementicon);
1277
+ i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
1278
1278
  i0.ɵɵadvance();
1279
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementicon);
1279
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1280
1280
  } }
1281
1281
  function DatePicker_div_3_div_5_div_26_Template(rf, ctx) { if (rf & 1) {
1282
1282
  i0.ɵɵelementStart(0, "div", 61)(1, "span");
@@ -1319,17 +1319,17 @@ function DatePicker_div_3_div_5_div_27_Template(rf, ctx) { if (rf & 1) {
1319
1319
  i0.ɵɵadvance();
1320
1320
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("am"));
1321
1321
  i0.ɵɵadvance();
1322
- i0.ɵɵproperty("ngIf", !ctx_r1.incrementicon);
1322
+ i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
1323
1323
  i0.ɵɵadvance();
1324
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementicon);
1324
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
1325
1325
  i0.ɵɵadvance(2);
1326
1326
  i0.ɵɵtextInterpolate(ctx_r1.pm ? "PM" : "AM");
1327
1327
  i0.ɵɵadvance();
1328
1328
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("pm"));
1329
1329
  i0.ɵɵadvance();
1330
- i0.ɵɵproperty("ngIf", !ctx_r1.decrementicon);
1330
+ i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
1331
1331
  i0.ɵɵadvance();
1332
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementicon);
1332
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1333
1333
  } }
1334
1334
  function DatePicker_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
1335
1335
  const _r24 = i0.ɵɵgetCurrentView();
@@ -1367,9 +1367,9 @@ function DatePicker_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
1367
1367
  i0.ɵɵadvance(2);
1368
1368
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextHour"));
1369
1369
  i0.ɵɵadvance();
1370
- i0.ɵɵproperty("ngIf", !ctx_r1.incrementicon);
1370
+ i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
1371
1371
  i0.ɵɵadvance();
1372
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementicon);
1372
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
1373
1373
  i0.ɵɵadvance(2);
1374
1374
  i0.ɵɵproperty("ngIf", ctx_r1.currentHour < 10);
1375
1375
  i0.ɵɵadvance();
@@ -1377,17 +1377,17 @@ function DatePicker_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
1377
1377
  i0.ɵɵadvance();
1378
1378
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevHour"));
1379
1379
  i0.ɵɵadvance();
1380
- i0.ɵɵproperty("ngIf", !ctx_r1.decrementicon);
1380
+ i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
1381
1381
  i0.ɵɵadvance();
1382
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementicon);
1382
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1383
1383
  i0.ɵɵadvance(3);
1384
1384
  i0.ɵɵtextInterpolate(ctx_r1.timeSeparator);
1385
1385
  i0.ɵɵadvance(2);
1386
1386
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextMinute"));
1387
1387
  i0.ɵɵadvance();
1388
- i0.ɵɵproperty("ngIf", !ctx_r1.incrementicon);
1388
+ i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
1389
1389
  i0.ɵɵadvance();
1390
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementicon);
1390
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
1391
1391
  i0.ɵɵadvance(2);
1392
1392
  i0.ɵɵproperty("ngIf", ctx_r1.currentMinute < 10);
1393
1393
  i0.ɵɵadvance();
@@ -1395,9 +1395,9 @@ function DatePicker_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
1395
1395
  i0.ɵɵadvance();
1396
1396
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevMinute"));
1397
1397
  i0.ɵɵadvance();
1398
- i0.ɵɵproperty("ngIf", !ctx_r1.decrementicon);
1398
+ i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
1399
1399
  i0.ɵɵadvance();
1400
- i0.ɵɵproperty("ngIf", ctx_r1.decrementicon);
1400
+ i0.ɵɵproperty("ngIf", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1401
1401
  i0.ɵɵadvance();
1402
1402
  i0.ɵɵproperty("ngIf", ctx_r1.showSeconds);
1403
1403
  i0.ɵɵadvance();
@@ -1437,11 +1437,10 @@ function DatePicker_div_3_Template(rf, ctx) { if (rf & 1) {
1437
1437
  } if (rf & 2) {
1438
1438
  const ctx_r1 = i0.ɵɵnextContext();
1439
1439
  i0.ɵɵclassMap(ctx_r1.panelStyleClass);
1440
- i0.ɵɵstyleProp("position", !ctx_r1.inline && "absolute");
1441
- i0.ɵɵproperty("ngStyle", ctx_r1.panelStyle)("ngClass", ctx_r1.panelClass)("@overlayAnimation", i0.ɵɵpureFunction1(20, _c20, i0.ɵɵpureFunction2(17, _c19, ctx_r1.showTransitionOptions, ctx_r1.hideTransitionOptions)))("@.disabled", ctx_r1.inline === true);
1440
+ i0.ɵɵproperty("ngStyle", ctx_r1.panelStyle)("ngClass", ctx_r1.panelClass)("@overlayAnimation", i0.ɵɵpureFunction1(18, _c20, i0.ɵɵpureFunction2(15, _c19, ctx_r1.showTransitionOptions, ctx_r1.hideTransitionOptions)))("@.disabled", ctx_r1.inline === true);
1442
1441
  i0.ɵɵattribute("id", ctx_r1.panelId)("aria-label", ctx_r1.getTranslation("chooseDate"))("role", ctx_r1.inline ? null : "dialog")("aria-modal", ctx_r1.inline ? null : "true");
1443
1442
  i0.ɵɵadvance(3);
1444
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate);
1443
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
1445
1444
  i0.ɵɵadvance();
1446
1445
  i0.ɵɵproperty("ngIf", !ctx_r1.timeOnly);
1447
1446
  i0.ɵɵadvance();
@@ -1449,7 +1448,7 @@ function DatePicker_div_3_Template(rf, ctx) { if (rf & 1) {
1449
1448
  i0.ɵɵadvance();
1450
1449
  i0.ɵɵproperty("ngIf", ctx_r1.showButtonBar);
1451
1450
  i0.ɵɵadvance(2);
1452
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate);
1451
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
1453
1452
  } }
1454
1453
  const DATEPICKER_VALUE_ACCESSOR = {
1455
1454
  provide: NG_VALUE_ACCESSOR,
@@ -2056,37 +2055,49 @@ class DatePicker extends BaseComponent {
2056
2055
  * Custom template for previous month icon.
2057
2056
  * @group Templates
2058
2057
  */
2059
- previousicon;
2058
+ previousIconTemplate;
2060
2059
  /**
2061
2060
  * Custom template for next month icon.
2062
2061
  * @group Templates
2063
2062
  */
2064
- nexticon;
2063
+ nextIconTemplate;
2065
2064
  /**
2066
2065
  * Custom template for trigger icon.
2067
2066
  * @group Templates
2068
2067
  */
2069
- triggericon;
2068
+ triggerIconTemplate;
2070
2069
  /**
2071
2070
  * Custom template for clear icon.
2072
2071
  * @group Templates
2073
2072
  */
2074
- clearicon;
2073
+ clearIconTemplate;
2075
2074
  /**
2076
2075
  * Custom template for decrement icon.
2077
2076
  * @group Templates
2078
2077
  */
2079
- decrementicon;
2078
+ decrementIconTemplate;
2080
2079
  /**
2081
2080
  * Custom template for increment icon.
2082
2081
  * @group Templates
2083
2082
  */
2084
- incrementicon;
2083
+ incrementIconTemplate;
2085
2084
  /**
2086
2085
  * Custom template for input icon.
2087
2086
  * @group Templates
2088
2087
  */
2089
- inputicon;
2088
+ inputIconTemplate;
2089
+ _dateTemplate;
2090
+ _headerTemplate;
2091
+ _footerTemplate;
2092
+ _disabledDateTemplate;
2093
+ _decadeTemplate;
2094
+ _previousIconTemplate;
2095
+ _nextIconTemplate;
2096
+ _triggerIconTemplate;
2097
+ _clearIconTemplate;
2098
+ _decrementIconTemplate;
2099
+ _incrementIconTemplate;
2100
+ _inputIconTemplate;
2090
2101
  _disabledDates;
2091
2102
  _disabledDays;
2092
2103
  selectElement;
@@ -2175,6 +2186,52 @@ class DatePicker extends BaseComponent {
2175
2186
  }
2176
2187
  }
2177
2188
  }
2189
+ templates;
2190
+ ngAfterContentInit() {
2191
+ this.templates.forEach((item) => {
2192
+ switch (item.getType()) {
2193
+ case 'date':
2194
+ this._dateTemplate = item.template;
2195
+ break;
2196
+ case 'decade':
2197
+ this._decadeTemplate = item.template;
2198
+ break;
2199
+ case 'disabledDate':
2200
+ this._disabledDateTemplate = item.template;
2201
+ break;
2202
+ case 'header':
2203
+ this._headerTemplate = item.template;
2204
+ break;
2205
+ case 'inputicon':
2206
+ this._inputIconTemplate = item.template;
2207
+ break;
2208
+ case 'previousicon':
2209
+ this._previousIconTemplate = item.template;
2210
+ break;
2211
+ case 'nexticon':
2212
+ this._nextIconTemplate = item.template;
2213
+ break;
2214
+ case 'triggericon':
2215
+ this._triggerIconTemplate = item.template;
2216
+ break;
2217
+ case 'clearicon':
2218
+ this._clearIconTemplate = item.template;
2219
+ break;
2220
+ case 'decrementicon':
2221
+ this._decrementIconTemplate = item.template;
2222
+ break;
2223
+ case 'incrementicon':
2224
+ this._incrementIconTemplate = item.template;
2225
+ break;
2226
+ case 'footer':
2227
+ this._footerTemplate = item.template;
2228
+ break;
2229
+ default:
2230
+ this._dateTemplate = item.template;
2231
+ break;
2232
+ }
2233
+ });
2234
+ }
2178
2235
  getTranslation(option) {
2179
2236
  return this.config.getTranslation(option);
2180
2237
  }
@@ -3806,6 +3863,8 @@ class DatePicker extends BaseComponent {
3806
3863
  if (!this.inline) {
3807
3864
  this.overlay = event.element;
3808
3865
  this.overlay?.setAttribute(this.attributeSelector, '');
3866
+ const styles = !this.inline ? { position: 'absolute', top: '0', left: '0' } : undefined;
3867
+ addStyle(this.overlay, styles);
3809
3868
  this.appendOverlay();
3810
3869
  this.updateFocus();
3811
3870
  if (this.autoZIndex) {
@@ -4404,18 +4463,19 @@ class DatePicker extends BaseComponent {
4404
4463
  }
4405
4464
  static ɵfac = function DatePicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatePicker)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.OverlayService)); };
4406
4465
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatePicker, selectors: [["p-datePicker"], ["p-datepicker"], ["p-date-picker"]], contentQueries: function DatePicker_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
4407
- i0.ɵɵcontentQuery(dirIndex, _c0, 5);
4408
- i0.ɵɵcontentQuery(dirIndex, _c1, 5);
4409
- i0.ɵɵcontentQuery(dirIndex, _c2, 5);
4410
- i0.ɵɵcontentQuery(dirIndex, _c3, 5);
4411
- i0.ɵɵcontentQuery(dirIndex, _c4, 5);
4412
- i0.ɵɵcontentQuery(dirIndex, _c5, 5);
4413
- i0.ɵɵcontentQuery(dirIndex, _c6, 5);
4414
- i0.ɵɵcontentQuery(dirIndex, _c7, 5);
4415
- i0.ɵɵcontentQuery(dirIndex, _c8, 5);
4416
- i0.ɵɵcontentQuery(dirIndex, _c9, 5);
4417
- i0.ɵɵcontentQuery(dirIndex, _c10, 5);
4418
- i0.ɵɵcontentQuery(dirIndex, _c11, 5);
4466
+ i0.ɵɵcontentQuery(dirIndex, _c0, 4);
4467
+ i0.ɵɵcontentQuery(dirIndex, _c1, 4);
4468
+ i0.ɵɵcontentQuery(dirIndex, _c2, 4);
4469
+ i0.ɵɵcontentQuery(dirIndex, _c3, 4);
4470
+ i0.ɵɵcontentQuery(dirIndex, _c4, 4);
4471
+ i0.ɵɵcontentQuery(dirIndex, _c5, 4);
4472
+ i0.ɵɵcontentQuery(dirIndex, _c6, 4);
4473
+ i0.ɵɵcontentQuery(dirIndex, _c7, 4);
4474
+ i0.ɵɵcontentQuery(dirIndex, _c8, 4);
4475
+ i0.ɵɵcontentQuery(dirIndex, _c9, 4);
4476
+ i0.ɵɵcontentQuery(dirIndex, _c10, 4);
4477
+ i0.ɵɵcontentQuery(dirIndex, _c11, 4);
4478
+ i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
4419
4479
  } if (rf & 2) {
4420
4480
  let _t;
4421
4481
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dateTemplate = _t.first);
@@ -4423,13 +4483,14 @@ class DatePicker extends BaseComponent {
4423
4483
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
4424
4484
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.disabledDateTemplate = _t.first);
4425
4485
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decadeTemplate = _t.first);
4426
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.previousicon = _t.first);
4427
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nexticon = _t.first);
4428
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.triggericon = _t.first);
4429
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearicon = _t.first);
4430
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decrementicon = _t.first);
4431
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.incrementicon = _t.first);
4432
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputicon = _t.first);
4486
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.previousIconTemplate = _t.first);
4487
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nextIconTemplate = _t.first);
4488
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.triggerIconTemplate = _t.first);
4489
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);
4490
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decrementIconTemplate = _t.first);
4491
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.incrementIconTemplate = _t.first);
4492
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputIconTemplate = _t.first);
4493
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
4433
4494
  } }, viewQuery: function DatePicker_Query(rf, ctx) { if (rf & 1) {
4434
4495
  i0.ɵɵviewQuery(_c12, 5);
4435
4496
  i0.ɵɵviewQuery(_c13, 5);
@@ -4439,10 +4500,10 @@ class DatePicker extends BaseComponent {
4439
4500
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerViewChild = _t.first);
4440
4501
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputfieldViewChild = _t.first);
4441
4502
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
4442
- } }, inputs: { iconDisplay: "iconDisplay", style: "style", styleClass: "styleClass", inputStyle: "inputStyle", inputId: "inputId", name: "name", inputStyleClass: "inputStyleClass", placeholder: "placeholder", ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", iconAriaLabel: "iconAriaLabel", disabled: [2, "disabled", "disabled", booleanAttribute], dateFormat: "dateFormat", multipleSeparator: "multipleSeparator", rangeSeparator: "rangeSeparator", inline: [2, "inline", "inline", booleanAttribute], showOtherMonths: [2, "showOtherMonths", "showOtherMonths", booleanAttribute], selectOtherMonths: [2, "selectOtherMonths", "selectOtherMonths", booleanAttribute], showIcon: [2, "showIcon", "showIcon", booleanAttribute], fluid: [2, "fluid", "fluid", booleanAttribute], icon: "icon", appendTo: "appendTo", readonlyInput: [2, "readonlyInput", "readonlyInput", booleanAttribute], shortYearCutoff: "shortYearCutoff", monthNavigator: [2, "monthNavigator", "monthNavigator", booleanAttribute], yearNavigator: [2, "yearNavigator", "yearNavigator", booleanAttribute], hourFormat: "hourFormat", timeOnly: [2, "timeOnly", "timeOnly", booleanAttribute], stepHour: [2, "stepHour", "stepHour", numberAttribute], stepMinute: [2, "stepMinute", "stepMinute", numberAttribute], stepSecond: [2, "stepSecond", "stepSecond", numberAttribute], showSeconds: [2, "showSeconds", "showSeconds", booleanAttribute], required: [2, "required", "required", booleanAttribute], showOnFocus: [2, "showOnFocus", "showOnFocus", booleanAttribute], showWeek: [2, "showWeek", "showWeek", booleanAttribute], startWeekFromFirstDayOfYear: "startWeekFromFirstDayOfYear", showClear: [2, "showClear", "showClear", booleanAttribute], dataType: "dataType", selectionMode: "selectionMode", maxDateCount: [2, "maxDateCount", "maxDateCount", numberAttribute], showButtonBar: [2, "showButtonBar", "showButtonBar", booleanAttribute], todayButtonStyleClass: "todayButtonStyleClass", clearButtonStyleClass: "clearButtonStyleClass", autofocus: [2, "autofocus", "autofocus", booleanAttribute], autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], panelStyleClass: "panelStyleClass", panelStyle: "panelStyle", keepInvalid: [2, "keepInvalid", "keepInvalid", booleanAttribute], hideOnDateTimeSelect: [2, "hideOnDateTimeSelect", "hideOnDateTimeSelect", booleanAttribute], touchUI: [2, "touchUI", "touchUI", booleanAttribute], timeSeparator: "timeSeparator", focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", tabindex: [2, "tabindex", "tabindex", numberAttribute], variant: "variant", size: "size", minDate: "minDate", maxDate: "maxDate", disabledDates: "disabledDates", disabledDays: "disabledDays", yearRange: "yearRange", showTime: "showTime", responsiveOptions: "responsiveOptions", numberOfMonths: "numberOfMonths", firstDayOfWeek: "firstDayOfWeek", locale: "locale", view: "view", defaultDate: "defaultDate" }, outputs: { onFocus: "onFocus", onBlur: "onBlur", onClose: "onClose", onSelect: "onSelect", onClear: "onClear", onInput: "onInput", onTodayClick: "onTodayClick", onClearClick: "onClearClick", onMonthChange: "onMonthChange", onYearChange: "onYearChange", onClickOutside: "onClickOutside", onShow: "onShow" }, features: [i0.ɵɵProvidersFeature([DATEPICKER_VALUE_ACCESSOR, DatePickerStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c16, decls: 4, vars: 6, consts: [["container", ""], ["inputfield", ""], ["contentWrapper", ""], [3, "ngClass", "ngStyle"], [3, "ngIf"], [3, "class", "ngStyle", "ngClass", "position", "click", 4, "ngIf"], ["pInputText", "", "type", "text", "role", "combobox", "aria-autocomplete", "none", "aria-haspopup", "dialog", "autocomplete", "off", 3, "focus", "keydown", "click", "blur", "input", "value", "readonly", "ngStyle", "ngClass", "placeholder", "disabled", "pAutoFocus", "variant", "fluid", "pSize"], [4, "ngIf"], ["type", "button", "aria-haspopup", "dialog", "class", "p-datepicker-dropdown", "tabindex", "0", 3, "disabled", "click", 4, "ngIf"], [3, "class", "click", 4, "ngIf"], ["class", "p-datepicker-clear-icon", 3, "click", 4, "ngIf"], [3, "click"], [1, "p-datepicker-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["type", "button", "aria-haspopup", "dialog", "tabindex", "0", 1, "p-datepicker-dropdown", 3, "click", "disabled"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"], [1, "p-datepicker-input-icon-container"], [3, "ngClass", "click", 4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "click", "ngClass"], [3, "click", "ngStyle", "ngClass"], ["class", "p-datepicker-time-picker", 4, "ngIf"], ["class", "p-datepicker-buttonbar", 4, "ngIf"], [1, "p-datepicker-calendar-container"], ["class", "p-datepicker-calendar", 4, "ngFor", "ngForOf"], ["class", "p-datepicker-month-view", 4, "ngIf"], ["class", "p-datepicker-year-view", 4, "ngIf"], [1, "p-datepicker-calendar"], [1, "p-datepicker-header"], ["size", "small", "severity", "secondary", "rounded", "", "text", "", "styleClass", "p-datepicker-prev-button p-button-icon-only", "type", "button", 3, "keydown", "onClick", "ngStyle"], [1, "p-datepicker-title"], ["type", "button", "class", "p-datepicker-select-month", "pRipple", "", 3, "disabled", "click", "keydown", 4, "ngIf"], ["type", "button", "class", "p-datepicker-select-year", "pRipple", "", 3, "disabled", "click", "keydown", 4, "ngIf"], ["class", "p-datepicker-decade", 4, "ngIf"], ["rounded", "", "severity", "secondary", "text", "", "size", "small", "styleClass", "p-datepicker-next-button p-button-icon-only", 3, "keydown", "onClick", "ngStyle"], ["class", "p-datepicker-day-view", "role", "grid", 4, "ngIf"], ["type", "button", "pRipple", "", 1, "p-datepicker-select-month", 3, "click", "keydown", "disabled"], ["type", "button", "pRipple", "", 1, "p-datepicker-select-year", 3, "click", "keydown", "disabled"], [1, "p-datepicker-decade"], ["role", "grid", 1, "p-datepicker-day-view"], ["class", "p-datepicker-weekheader p-disabled", 4, "ngIf"], ["class", "p-datepicker-weekday-cell", "scope", "col", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], [1, "p-datepicker-weekheader", "p-disabled"], ["scope", "col", 1, "p-datepicker-weekday-cell"], [1, "p-datepicker-weekday"], ["class", "p-datepicker-weeknumber", 4, "ngIf"], [3, "ngClass", 4, "ngFor", "ngForOf"], [1, "p-datepicker-weeknumber"], [1, "p-datepicker-weeklabel-container", "p-disabled"], ["draggable", "false", "pRipple", "", 3, "click", "keydown", "ngClass"], ["class", "p-hidden-accessible", "aria-live", "polite", 4, "ngIf"], ["aria-live", "polite", 1, "p-hidden-accessible"], [1, "p-datepicker-month-view"], ["pRipple", "", 3, "ngClass", "click", "keydown", 4, "ngFor", "ngForOf"], ["pRipple", "", 3, "click", "keydown", "ngClass"], [1, "p-datepicker-year-view"], [1, "p-datepicker-time-picker"], [1, "p-datepicker-hour-picker"], ["rounded", "", "text", "", "size", "small", "styleClass", "p-datepicker-increment-button p-button-icon-only", 3, "keydown", "keydown.enter", "keydown.space", "mousedown", "mouseup", "keyup.enter", "keyup.space", "mouseleave"], [1, "p-datepicker-separator"], [1, "p-datepicker-minute-picker"], ["class", "p-datepicker-separator", 4, "ngIf"], ["class", "p-datepicker-second-picker", 4, "ngIf"], ["class", "p-datepicker-ampm-picker", 4, "ngIf"], [1, "p-datepicker-second-picker"], [1, "p-datepicker-ampm-picker"], ["size", "small", "text", "", "rounded", "", "styleClass", "p-datepicker-increment-button p-button-icon-only", 3, "keydown", "onClick", "keydown.enter"], ["size", "small", "text", "", "rounded", "", "styleClass", "p-datepicker-increment-button p-button-icon-only", 3, "keydown", "click", "keydown.enter"], [1, "p-datepicker-buttonbar"], ["size", "small", "text", "", "severity", "secondary", "styleClass", "p-datepicker-today-button", 3, "keydown", "onClick", "label", "ngClass"], ["size", "small", "text", "", "severity", "secondary", "styleClass", "p-datepicker-clear-button", 3, "keydown", "onClick", "label", "ngClass"]], template: function DatePicker_Template(rf, ctx) { if (rf & 1) {
4503
+ } }, inputs: { iconDisplay: "iconDisplay", style: "style", styleClass: "styleClass", inputStyle: "inputStyle", inputId: "inputId", name: "name", inputStyleClass: "inputStyleClass", placeholder: "placeholder", ariaLabelledBy: "ariaLabelledBy", ariaLabel: "ariaLabel", iconAriaLabel: "iconAriaLabel", disabled: [2, "disabled", "disabled", booleanAttribute], dateFormat: "dateFormat", multipleSeparator: "multipleSeparator", rangeSeparator: "rangeSeparator", inline: [2, "inline", "inline", booleanAttribute], showOtherMonths: [2, "showOtherMonths", "showOtherMonths", booleanAttribute], selectOtherMonths: [2, "selectOtherMonths", "selectOtherMonths", booleanAttribute], showIcon: [2, "showIcon", "showIcon", booleanAttribute], fluid: [2, "fluid", "fluid", booleanAttribute], icon: "icon", appendTo: "appendTo", readonlyInput: [2, "readonlyInput", "readonlyInput", booleanAttribute], shortYearCutoff: "shortYearCutoff", monthNavigator: [2, "monthNavigator", "monthNavigator", booleanAttribute], yearNavigator: [2, "yearNavigator", "yearNavigator", booleanAttribute], hourFormat: "hourFormat", timeOnly: [2, "timeOnly", "timeOnly", booleanAttribute], stepHour: [2, "stepHour", "stepHour", numberAttribute], stepMinute: [2, "stepMinute", "stepMinute", numberAttribute], stepSecond: [2, "stepSecond", "stepSecond", numberAttribute], showSeconds: [2, "showSeconds", "showSeconds", booleanAttribute], required: [2, "required", "required", booleanAttribute], showOnFocus: [2, "showOnFocus", "showOnFocus", booleanAttribute], showWeek: [2, "showWeek", "showWeek", booleanAttribute], startWeekFromFirstDayOfYear: "startWeekFromFirstDayOfYear", showClear: [2, "showClear", "showClear", booleanAttribute], dataType: "dataType", selectionMode: "selectionMode", maxDateCount: [2, "maxDateCount", "maxDateCount", numberAttribute], showButtonBar: [2, "showButtonBar", "showButtonBar", booleanAttribute], todayButtonStyleClass: "todayButtonStyleClass", clearButtonStyleClass: "clearButtonStyleClass", autofocus: [2, "autofocus", "autofocus", booleanAttribute], autoZIndex: [2, "autoZIndex", "autoZIndex", booleanAttribute], baseZIndex: [2, "baseZIndex", "baseZIndex", numberAttribute], panelStyleClass: "panelStyleClass", panelStyle: "panelStyle", keepInvalid: [2, "keepInvalid", "keepInvalid", booleanAttribute], hideOnDateTimeSelect: [2, "hideOnDateTimeSelect", "hideOnDateTimeSelect", booleanAttribute], touchUI: [2, "touchUI", "touchUI", booleanAttribute], timeSeparator: "timeSeparator", focusTrap: [2, "focusTrap", "focusTrap", booleanAttribute], showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", tabindex: [2, "tabindex", "tabindex", numberAttribute], variant: "variant", size: "size", minDate: "minDate", maxDate: "maxDate", disabledDates: "disabledDates", disabledDays: "disabledDays", yearRange: "yearRange", showTime: "showTime", responsiveOptions: "responsiveOptions", numberOfMonths: "numberOfMonths", firstDayOfWeek: "firstDayOfWeek", locale: "locale", view: "view", defaultDate: "defaultDate" }, outputs: { onFocus: "onFocus", onBlur: "onBlur", onClose: "onClose", onSelect: "onSelect", onClear: "onClear", onInput: "onInput", onTodayClick: "onTodayClick", onClearClick: "onClearClick", onMonthChange: "onMonthChange", onYearChange: "onYearChange", onClickOutside: "onClickOutside", onShow: "onShow" }, features: [i0.ɵɵProvidersFeature([DATEPICKER_VALUE_ACCESSOR, DatePickerStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c16, decls: 4, vars: 6, consts: [["container", ""], ["inputfield", ""], ["contentWrapper", ""], [3, "ngClass", "ngStyle"], [3, "ngIf"], [3, "class", "ngStyle", "ngClass", "click", 4, "ngIf"], ["pInputText", "", "type", "text", "role", "combobox", "aria-autocomplete", "none", "aria-haspopup", "dialog", "autocomplete", "off", 3, "focus", "keydown", "click", "blur", "input", "value", "readonly", "ngStyle", "ngClass", "placeholder", "disabled", "pAutoFocus", "variant", "fluid"], [4, "ngIf"], ["type", "button", "aria-haspopup", "dialog", "class", "p-datepicker-dropdown", "tabindex", "0", 3, "disabled", "click", 4, "ngIf"], [3, "class", "click", 4, "ngIf"], ["class", "p-datepicker-clear-icon", 3, "click", 4, "ngIf"], [3, "click"], [1, "p-datepicker-clear-icon", 3, "click"], [4, "ngTemplateOutlet"], ["type", "button", "aria-haspopup", "dialog", "tabindex", "0", 1, "p-datepicker-dropdown", 3, "click", "disabled"], [3, "ngClass", 4, "ngIf"], [3, "ngClass"], [1, "p-datepicker-input-icon-container"], [3, "ngClass", "click", 4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "click", "ngClass"], [3, "click", "ngStyle", "ngClass"], ["class", "p-datepicker-time-picker", 4, "ngIf"], ["class", "p-datepicker-buttonbar", 4, "ngIf"], [1, "p-datepicker-calendar-container"], ["class", "p-datepicker-calendar", 4, "ngFor", "ngForOf"], ["class", "p-datepicker-month-view", 4, "ngIf"], ["class", "p-datepicker-year-view", 4, "ngIf"], [1, "p-datepicker-calendar"], [1, "p-datepicker-header"], ["size", "small", "rounded", "", "text", "", "styleClass", "p-datepicker-prev-button p-button-icon-only", "type", "button", 3, "keydown", "onClick", "ngStyle"], [1, "p-datepicker-title"], ["type", "button", "class", "p-datepicker-select-month", "pRipple", "", 3, "disabled", "click", "keydown", 4, "ngIf"], ["type", "button", "class", "p-datepicker-select-year", "pRipple", "", 3, "disabled", "click", "keydown", 4, "ngIf"], ["class", "p-datepicker-decade", 4, "ngIf"], ["rounded", "", "text", "", "size", "small", "styleClass", "p-datepicker-next-button p-button-icon-only", 3, "keydown", "onClick", "ngStyle"], ["class", "p-datepicker-day-view", "role", "grid", 4, "ngIf"], ["type", "button", "pRipple", "", 1, "p-datepicker-select-month", 3, "click", "keydown", "disabled"], ["type", "button", "pRipple", "", 1, "p-datepicker-select-year", 3, "click", "keydown", "disabled"], [1, "p-datepicker-decade"], ["role", "grid", 1, "p-datepicker-day-view"], ["class", "p-datepicker-weekheader p-disabled", 4, "ngIf"], ["class", "p-datepicker-weekday-cell", "scope", "col", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], [1, "p-datepicker-weekheader", "p-disabled"], ["scope", "col", 1, "p-datepicker-weekday-cell"], [1, "p-datepicker-weekday"], ["class", "p-datepicker-weeknumber", 4, "ngIf"], [3, "ngClass", 4, "ngFor", "ngForOf"], [1, "p-datepicker-weeknumber"], [1, "p-datepicker-weeklabel-container", "p-disabled"], ["draggable", "false", "pRipple", "", 3, "click", "keydown", "ngClass"], ["class", "p-hidden-accessible", "aria-live", "polite", 4, "ngIf"], ["aria-live", "polite", 1, "p-hidden-accessible"], [1, "p-datepicker-month-view"], ["pRipple", "", 3, "ngClass", "click", "keydown", 4, "ngFor", "ngForOf"], ["pRipple", "", 3, "click", "keydown", "ngClass"], [1, "p-datepicker-year-view"], [1, "p-datepicker-time-picker"], [1, "p-datepicker-hour-picker"], ["rounded", "", "text", "", "size", "small", "styleClass", "p-datepicker-increment-button p-button-icon-only", 3, "keydown", "keydown.enter", "keydown.space", "mousedown", "mouseup", "keyup.enter", "keyup.space", "mouseleave"], [1, "p-datepicker-separator"], [1, "p-datepicker-minute-picker"], ["class", "p-datepicker-separator", 4, "ngIf"], ["class", "p-datepicker-second-picker", 4, "ngIf"], ["class", "p-datepicker-ampm-picker", 4, "ngIf"], [1, "p-datepicker-second-picker"], [1, "p-datepicker-ampm-picker"], ["size", "small", "text", "", "rounded", "", "styleClass", "p-datepicker-increment-button p-button-icon-only", 3, "keydown", "onClick", "keydown.enter"], ["size", "small", "text", "", "rounded", "", "styleClass", "p-datepicker-increment-button p-button-icon-only", 3, "keydown", "click", "keydown.enter"], [1, "p-datepicker-buttonbar"], ["size", "small", "styleClass", "p-datepicker-today-button", 3, "keydown", "onClick", "label", "ngClass"], ["size", "small", "styleClass", "p-datepicker-clear-button", 3, "keydown", "onClick", "label", "ngClass"]], template: function DatePicker_Template(rf, ctx) { if (rf & 1) {
4443
4504
  i0.ɵɵprojectionDef(_c15);
4444
4505
  i0.ɵɵelementStart(0, "span", 3, 0);
4445
- i0.ɵɵtemplate(2, DatePicker_ng_template_2_Template, 5, 25, "ng-template", 4)(3, DatePicker_div_3_Template, 9, 22, "div", 5);
4506
+ i0.ɵɵtemplate(2, DatePicker_ng_template_2_Template, 5, 24, "ng-template", 4)(3, DatePicker_div_3_Template, 9, 20, "div", 5);
4446
4507
  i0.ɵɵelementEnd();
4447
4508
  } if (rf & 2) {
4448
4509
  i0.ɵɵclassMap(ctx.styleClass);
@@ -4511,12 +4572,11 @@ class DatePicker extends BaseComponent {
4511
4572
  [pAutoFocus]="autofocus"
4512
4573
  [variant]="variant"
4513
4574
  [fluid]="hasFluid"
4514
- [pSize]="size"
4515
4575
  />
4516
4576
  <ng-container *ngIf="showClear && !disabled && value != null">
4517
- <TimesIcon *ngIf="!clearicon" [class]="'p-datepicker-clear-icon'" (click)="clear()" />
4518
- <span *ngIf="clearicon" class="p-datepicker-clear-icon" (click)="clear()">
4519
- <ng-template *ngTemplateOutlet="clearicon"></ng-template>
4577
+ <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [class]="'p-datepicker-clear-icon'" (click)="clear()" />
4578
+ <span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-datepicker-clear-icon" (click)="clear()">
4579
+ <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
4520
4580
  </span>
4521
4581
  </ng-container>
4522
4582
  <button
@@ -4533,21 +4593,21 @@ class DatePicker extends BaseComponent {
4533
4593
  >
4534
4594
  <span *ngIf="icon" [ngClass]="icon"></span>
4535
4595
  <ng-container *ngIf="!icon">
4536
- <CalendarIcon *ngIf="!triggericon" />
4537
- <ng-template *ngTemplateOutlet="triggericon"></ng-template>
4596
+ <CalendarIcon *ngIf="!triggerIconTemplate && !_triggerIconTemplate" />
4597
+ <ng-template *ngTemplateOutlet="triggerIconTemplate || _triggerIconTemplate"></ng-template>
4538
4598
  </ng-container>
4539
4599
  </button>
4540
4600
  <ng-container *ngIf="iconDisplay === 'input' && showIcon">
4541
4601
  <span class="p-datepicker-input-icon-container">
4542
4602
  <CalendarIcon
4543
4603
  (click)="onButtonClick($event)"
4544
- *ngIf="!inputicon"
4604
+ *ngIf="!inputIconTemplate && !_inputIconTemplate"
4545
4605
  [ngClass]="{
4546
4606
  'p-datepicker-input-icon': showOnFocus
4547
4607
  }"
4548
4608
  />
4549
4609
 
4550
- <ng-container *ngTemplateOutlet="inputicon; context: { clickCallBack: onButtonClick.bind(this) }"></ng-container>
4610
+ <ng-container *ngTemplateOutlet="inputIconTemplate || _inputIconTemplate; context: { clickCallBack: onButtonClick.bind(this) }"></ng-container>
4551
4611
  </span>
4552
4612
  </ng-container>
4553
4613
  </ng-template>
@@ -4557,7 +4617,6 @@ class DatePicker extends BaseComponent {
4557
4617
  [class]="panelStyleClass"
4558
4618
  [ngStyle]="panelStyle"
4559
4619
  [ngClass]="panelClass"
4560
- [style.position]="!inline && 'absolute'"
4561
4620
  [@overlayAnimation]="{
4562
4621
  value: 'visible',
4563
4622
  params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions }
@@ -4572,14 +4631,13 @@ class DatePicker extends BaseComponent {
4572
4631
  *ngIf="inline || overlayVisible"
4573
4632
  >
4574
4633
  <ng-content select="p-header"></ng-content>
4575
- <ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
4634
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
4576
4635
  <ng-container *ngIf="!timeOnly">
4577
4636
  <div class="p-datepicker-calendar-container">
4578
4637
  <div class="p-datepicker-calendar" *ngFor="let month of months; let i = index">
4579
4638
  <div class="p-datepicker-header">
4580
4639
  <p-button
4581
4640
  size="small"
4582
- severity="secondary"
4583
4641
  rounded
4584
4642
  text
4585
4643
  (keydown)="onContainerButtonKeydown($event)"
@@ -4589,9 +4647,9 @@ class DatePicker extends BaseComponent {
4589
4647
  type="button"
4590
4648
  [attr.aria-label]="prevIconAriaLabel"
4591
4649
  >
4592
- <ChevronLeftIcon *ngIf="!previousicon" />
4593
- <span *ngIf="previousicon">
4594
- <ng-template *ngTemplateOutlet="previousicon"></ng-template>
4650
+ <ChevronLeftIcon *ngIf="!previousIconTemplate && !_previousIconTemplate" />
4651
+ <span *ngIf="previousIconTemplate || !_previousIconTemplate">
4652
+ <ng-template *ngTemplateOutlet="previousIconTemplate || _previousIconTemplate"></ng-template>
4595
4653
  </span>
4596
4654
  </p-button>
4597
4655
  <div class="p-datepicker-title">
@@ -4620,13 +4678,12 @@ class DatePicker extends BaseComponent {
4620
4678
  {{ getYear(month) }}
4621
4679
  </button>
4622
4680
  <span class="p-datepicker-decade" *ngIf="currentView === 'year'">
4623
- <ng-container *ngIf="!decadeTemplate">{{ yearPickerValues()[0] }} - {{ yearPickerValues()[yearPickerValues().length - 1] }}</ng-container>
4624
- <ng-container *ngTemplateOutlet="decadeTemplate; context: { $implicit: yearPickerValues }"></ng-container>
4681
+ <ng-container *ngIf="!decadeTemplate && _decadeTemplate">{{ yearPickerValues()[0] }} - {{ yearPickerValues()[yearPickerValues().length - 1] }}</ng-container>
4682
+ <ng-container *ngTemplateOutlet="decadeTemplate || _decadeTemplate; context: { $implicit: yearPickerValues }"></ng-container>
4625
4683
  </span>
4626
4684
  </div>
4627
4685
  <p-button
4628
4686
  rounded
4629
- severity="secondary"
4630
4687
  text
4631
4688
  size="small"
4632
4689
  (keydown)="onContainerButtonKeydown($event)"
@@ -4635,10 +4692,10 @@ class DatePicker extends BaseComponent {
4635
4692
  [ngStyle]="{ visibility: i === months.length - 1 ? 'visible' : 'hidden' }"
4636
4693
  [attr.aria-label]="nextIconAriaLabel"
4637
4694
  >
4638
- <ChevronRightIcon *ngIf="!nexticon" />
4695
+ <ChevronRightIcon *ngIf="!decadeTemplate && !_decadeTemplate" />
4639
4696
 
4640
- <span *ngIf="nexticon">
4641
- <ng-template *ngTemplateOutlet="nexticon"></ng-template>
4697
+ <span *ngIf="nextIconTemplate || !_nextIconTemplate">
4698
+ <ng-template *ngTemplateOutlet="nextIconTemplate || _nextIconTemplate"></ng-template>
4642
4699
  </span>
4643
4700
  </p-button>
4644
4701
  </div>
@@ -4678,12 +4735,12 @@ class DatePicker extends BaseComponent {
4678
4735
  (keydown)="onDateCellKeydown($event, date, i)"
4679
4736
  pRipple
4680
4737
  >
4681
- <ng-container *ngIf="!dateTemplate && (date.selectable || !disabledDateTemplate)">{{ date.day }}</ng-container>
4682
- <ng-container *ngIf="date.selectable || !disabledDateTemplate">
4683
- <ng-container *ngTemplateOutlet="dateTemplate; context: { $implicit: date }"></ng-container>
4738
+ <ng-container *ngIf="!dateTemplate && !_dateTemplate && (date.selectable || (!disabledDateTemplate && !_disabledDateTemplate))">{{ date.day }}</ng-container>
4739
+ <ng-container *ngIf="date.selectable || (!disabledDateTemplate && !_disabledDateTemplate)">
4740
+ <ng-container *ngTemplateOutlet="dateTemplate || _dateTemplate; context: { $implicit: date }"></ng-container>
4684
4741
  </ng-container>
4685
4742
  <ng-container *ngIf="!date.selectable">
4686
- <ng-container *ngTemplateOutlet="disabledDateTemplate; context: { $implicit: date }"></ng-container>
4743
+ <ng-container *ngTemplateOutlet="disabledDateTemplate || _disabledDateTemplate; context: { $implicit: date }"></ng-container>
4687
4744
  </ng-container>
4688
4745
  </span>
4689
4746
  <div *ngIf="isSelected(date)" class="p-hidden-accessible" aria-live="polite">
@@ -4750,9 +4807,9 @@ class DatePicker extends BaseComponent {
4750
4807
  (mouseleave)="onTimePickerElementMouseLeave()"
4751
4808
  [attr.aria-label]="getTranslation('nextHour')"
4752
4809
  >
4753
- <ChevronUpIcon *ngIf="!incrementicon" />
4810
+ <ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
4754
4811
 
4755
- <ng-template *ngTemplateOutlet="incrementicon"></ng-template>
4812
+ <ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
4756
4813
  </p-button>
4757
4814
  <span><ng-container *ngIf="currentHour < 10">0</ng-container>{{ currentHour }}</span>
4758
4815
  <p-button
@@ -4770,9 +4827,9 @@ class DatePicker extends BaseComponent {
4770
4827
  (mouseleave)="onTimePickerElementMouseLeave()"
4771
4828
  [attr.aria-label]="getTranslation('prevHour')"
4772
4829
  >
4773
- <ChevronDownIcon *ngIf="!decrementicon" />
4830
+ <ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
4774
4831
 
4775
- <ng-template *ngTemplateOutlet="decrementicon"></ng-template>
4832
+ <ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
4776
4833
  </p-button>
4777
4834
  </div>
4778
4835
  <div class="p-datepicker-separator">
@@ -4794,9 +4851,9 @@ class DatePicker extends BaseComponent {
4794
4851
  (mouseleave)="onTimePickerElementMouseLeave()"
4795
4852
  [attr.aria-label]="getTranslation('nextMinute')"
4796
4853
  >
4797
- <ChevronUpIcon *ngIf="!incrementicon" />
4854
+ <ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
4798
4855
 
4799
- <ng-template *ngTemplateOutlet="incrementicon"></ng-template>
4856
+ <ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
4800
4857
  </p-button>
4801
4858
  <span><ng-container *ngIf="currentMinute < 10">0</ng-container>{{ currentMinute }}</span>
4802
4859
  <p-button
@@ -4814,9 +4871,9 @@ class DatePicker extends BaseComponent {
4814
4871
  (mouseleave)="onTimePickerElementMouseLeave()"
4815
4872
  [attr.aria-label]="getTranslation('prevMinute')"
4816
4873
  >
4817
- <ChevronDownIcon *ngIf="!decrementicon" />
4818
- <ng-container *ngIf="decrementicon">
4819
- <ng-template *ngTemplateOutlet="decrementicon"></ng-template>
4874
+ <ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
4875
+ <ng-container *ngIf="decrementIconTemplate || _decrementIconTemplate">
4876
+ <ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
4820
4877
  </ng-container>
4821
4878
  </p-button>
4822
4879
  </div>
@@ -4839,9 +4896,9 @@ class DatePicker extends BaseComponent {
4839
4896
  (mouseleave)="onTimePickerElementMouseLeave()"
4840
4897
  [attr.aria-label]="getTranslation('nextSecond')"
4841
4898
  >
4842
- <ChevronUpIcon *ngIf="!incrementicon" />
4899
+ <ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
4843
4900
 
4844
- <ng-template *ngTemplateOutlet="incrementicon"></ng-template>
4901
+ <ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
4845
4902
  </p-button>
4846
4903
  <span><ng-container *ngIf="currentSecond < 10">0</ng-container>{{ currentSecond }}</span>
4847
4904
  <p-button
@@ -4859,9 +4916,9 @@ class DatePicker extends BaseComponent {
4859
4916
  (mouseleave)="onTimePickerElementMouseLeave()"
4860
4917
  [attr.aria-label]="getTranslation('prevSecond')"
4861
4918
  >
4862
- <ChevronDownIcon *ngIf="!decrementicon" />
4919
+ <ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
4863
4920
 
4864
- <ng-template *ngTemplateOutlet="decrementicon"></ng-template>
4921
+ <ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
4865
4922
  </p-button>
4866
4923
  </div>
4867
4924
  <div class="p-datepicker-separator" *ngIf="hourFormat == '12'">
@@ -4878,8 +4935,8 @@ class DatePicker extends BaseComponent {
4878
4935
  (keydown.enter)="toggleAMPM($event)"
4879
4936
  [attr.aria-label]="getTranslation('am')"
4880
4937
  >
4881
- <ChevronUpIcon *ngIf="!incrementicon" />
4882
- <ng-template *ngTemplateOutlet="incrementicon"></ng-template>
4938
+ <ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
4939
+ <ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
4883
4940
  </p-button>
4884
4941
  <span>{{ pm ? 'PM' : 'AM' }}</span>
4885
4942
  <p-button
@@ -4892,35 +4949,17 @@ class DatePicker extends BaseComponent {
4892
4949
  (keydown.enter)="toggleAMPM($event)"
4893
4950
  [attr.aria-label]="getTranslation('pm')"
4894
4951
  >
4895
- <ChevronDownIcon *ngIf="!decrementicon" />
4896
- <ng-template *ngTemplateOutlet="decrementicon"></ng-template>
4952
+ <ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
4953
+ <ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
4897
4954
  </p-button>
4898
4955
  </div>
4899
4956
  </div>
4900
4957
  <div class="p-datepicker-buttonbar" *ngIf="showButtonBar">
4901
- <p-button
4902
- size="small"
4903
- text
4904
- severity="secondary"
4905
- styleClass="p-datepicker-today-button"
4906
- [label]="getTranslation('today')"
4907
- (keydown)="onContainerButtonKeydown($event)"
4908
- (onClick)="onTodayButtonClick($event)"
4909
- [ngClass]="todayButtonStyleClass"
4910
- />
4911
- <p-button
4912
- size="small"
4913
- text
4914
- severity="secondary"
4915
- styleClass="p-datepicker-clear-button"
4916
- [label]="getTranslation('clear')"
4917
- (keydown)="onContainerButtonKeydown($event)"
4918
- (onClick)="onClearButtonClick($event)"
4919
- [ngClass]="clearButtonStyleClass"
4920
- />
4958
+ <p-button size="small" styleClass="p-datepicker-today-button" [label]="getTranslation('today')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onTodayButtonClick($event)" [ngClass]="todayButtonStyleClass" />
4959
+ <p-button size="small" styleClass="p-datepicker-clear-button" [label]="getTranslation('clear')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onClearButtonClick($event)" [ngClass]="clearButtonStyleClass" />
4921
4960
  </div>
4922
4961
  <ng-content select="p-footer"></ng-content>
4923
- <ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
4962
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
4924
4963
  </div>
4925
4964
  </span>
4926
4965
  `,
@@ -5148,42 +5187,45 @@ class DatePicker extends BaseComponent {
5148
5187
  args: ['contentWrapper', { static: false }]
5149
5188
  }], dateTemplate: [{
5150
5189
  type: ContentChild,
5151
- args: ['date']
5190
+ args: ['date', { descendants: false }]
5152
5191
  }], headerTemplate: [{
5153
5192
  type: ContentChild,
5154
- args: ['header']
5193
+ args: ['header', { descendants: false }]
5155
5194
  }], footerTemplate: [{
5156
5195
  type: ContentChild,
5157
- args: ['footer']
5196
+ args: ['footer', { descendants: false }]
5158
5197
  }], disabledDateTemplate: [{
5159
5198
  type: ContentChild,
5160
- args: ['disabledDate']
5199
+ args: ['disabledDate', { descendants: false }]
5161
5200
  }], decadeTemplate: [{
5162
5201
  type: ContentChild,
5163
- args: ['decade']
5164
- }], previousicon: [{
5202
+ args: ['decade', { descendants: false }]
5203
+ }], previousIconTemplate: [{
5165
5204
  type: ContentChild,
5166
- args: ['previousicon']
5167
- }], nexticon: [{
5205
+ args: ['previousicon', { descendants: false }]
5206
+ }], nextIconTemplate: [{
5168
5207
  type: ContentChild,
5169
- args: ['nexticon']
5170
- }], triggericon: [{
5208
+ args: ['nexticon', { descendants: false }]
5209
+ }], triggerIconTemplate: [{
5171
5210
  type: ContentChild,
5172
- args: ['triggericon']
5173
- }], clearicon: [{
5211
+ args: ['triggericon', { descendants: false }]
5212
+ }], clearIconTemplate: [{
5174
5213
  type: ContentChild,
5175
- args: ['clearicon']
5176
- }], decrementicon: [{
5214
+ args: ['clearicon', { descendants: false }]
5215
+ }], decrementIconTemplate: [{
5177
5216
  type: ContentChild,
5178
- args: ['decrementicon']
5179
- }], incrementicon: [{
5217
+ args: ['decrementicon', { descendants: false }]
5218
+ }], incrementIconTemplate: [{
5180
5219
  type: ContentChild,
5181
- args: ['incrementicon']
5182
- }], inputicon: [{
5220
+ args: ['incrementicon', { descendants: false }]
5221
+ }], inputIconTemplate: [{
5183
5222
  type: ContentChild,
5184
- args: ['inputicon']
5223
+ args: ['inputicon', { descendants: false }]
5224
+ }], templates: [{
5225
+ type: ContentChildren,
5226
+ args: [PrimeTemplate]
5185
5227
  }] }); })();
5186
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatePicker, { className: "DatePicker", filePath: "datepicker.ts", lineNumber: 546 }); })();
5228
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatePicker, { className: "DatePicker", filePath: "datepicker.ts", lineNumber: 529 }); })();
5187
5229
  class DatePickerModule {
5188
5230
  static ɵfac = function DatePickerModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatePickerModule)(); };
5189
5231
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DatePickerModule });