primeng 19.0.0-rc.1 → 19.0.0

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 +199 -136
  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 +199 -158
  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 +113 -96
  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 +180 -180
  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
7
  import { uuid, getOuterWidth, isDate, findSingle, getFocusableElements, hasClass, getIndex, find, isNotEmpty, 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';
@@ -703,6 +703,7 @@ const _c22 = a0 => ({ $implicit: a0 });
703
703
  const _c23 = (a0, a1) => ({ "p-datepicker-day-cell": true, "p-datepicker-other-month": a0, "p-datepicker-today": a1 });
704
704
  const _c24 = (a0, a1) => ({ "p-datepicker-month": true, "p-datepicker-month-selected": a0, "p-disabled": a1 });
705
705
  const _c25 = (a0, a1) => ({ "p-datepicker-year": true, "p-datepicker-year-selected": a0, "p-disabled": a1 });
706
+ const _c26 = a0 => [a0];
706
707
  function DatePicker_ng_template_2_ng_container_2_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
707
708
  const _r3 = i0.ɵɵgetCurrentView();
708
709
  i0.ɵɵelementStart(0, "TimesIcon", 11);
@@ -724,7 +725,7 @@ function DatePicker_ng_template_2_ng_container_2_span_2_Template(rf, ctx) { if (
724
725
  } if (rf & 2) {
725
726
  const ctx_r1 = i0.ɵɵnextContext(3);
726
727
  i0.ɵɵadvance();
727
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.clearicon);
728
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
728
729
  } }
729
730
  function DatePicker_ng_template_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
730
731
  i0.ɵɵelementContainerStart(0);
@@ -733,9 +734,9 @@ function DatePicker_ng_template_2_ng_container_2_Template(rf, ctx) { if (rf & 1)
733
734
  } if (rf & 2) {
734
735
  const ctx_r1 = i0.ɵɵnextContext(2);
735
736
  i0.ɵɵadvance();
736
- i0.ɵɵproperty("ngIf", !ctx_r1.clearicon);
737
+ i0.ɵɵproperty("ngIf", !ctx_r1.clearIconTemplate && !ctx_r1._clearIconTemplate);
737
738
  i0.ɵɵadvance();
738
- i0.ɵɵproperty("ngIf", ctx_r1.clearicon);
739
+ i0.ɵɵproperty("ngIf", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
739
740
  } }
740
741
  function DatePicker_ng_template_2_button_3_span_1_Template(rf, ctx) { if (rf & 1) {
741
742
  i0.ɵɵelement(0, "span", 16);
@@ -757,9 +758,9 @@ function DatePicker_ng_template_2_button_3_ng_container_2_Template(rf, ctx) { if
757
758
  } if (rf & 2) {
758
759
  const ctx_r1 = i0.ɵɵnextContext(3);
759
760
  i0.ɵɵadvance();
760
- i0.ɵɵproperty("ngIf", !ctx_r1.triggericon);
761
+ i0.ɵɵproperty("ngIf", !ctx_r1.triggerIconTemplate && !ctx_r1._triggerIconTemplate);
761
762
  i0.ɵɵadvance();
762
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.triggericon);
763
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.triggerIconTemplate || ctx_r1._triggerIconTemplate);
763
764
  } }
764
765
  function DatePicker_ng_template_2_button_3_Template(rf, ctx) { if (rf & 1) {
765
766
  const _r5 = i0.ɵɵgetCurrentView();
@@ -798,9 +799,9 @@ function DatePicker_ng_template_2_ng_container_4_Template(rf, ctx) { if (rf & 1)
798
799
  } if (rf & 2) {
799
800
  const ctx_r1 = i0.ɵɵnextContext(2);
800
801
  i0.ɵɵadvance(2);
801
- i0.ɵɵproperty("ngIf", !ctx_r1.inputicon);
802
+ i0.ɵɵproperty("ngIf", !ctx_r1.inputIconTemplate && !ctx_r1._inputIconTemplate);
802
803
  i0.ɵɵadvance();
803
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.inputicon)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c17, ctx_r1.onButtonClick.bind(ctx_r1)));
804
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.inputIconTemplate || ctx_r1._inputIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c17, ctx_r1.onButtonClick.bind(ctx_r1)));
804
805
  } }
805
806
  function DatePicker_ng_template_2_Template(rf, ctx) { if (rf & 1) {
806
807
  const _r1 = i0.ɵɵgetCurrentView();
@@ -809,11 +810,11 @@ function DatePicker_ng_template_2_Template(rf, ctx) { if (rf & 1) {
809
810
  i0.ɵɵelementEnd();
810
811
  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
812
  } if (rf & 2) {
812
- let tmp_18_0;
813
+ let tmp_17_0;
813
814
  const ctx_r1 = i0.ɵɵnextContext();
814
815
  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);
816
+ 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);
817
+ 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
818
  i0.ɵɵadvance(2);
818
819
  i0.ɵɵproperty("ngIf", ctx_r1.showClear && !ctx_r1.disabled && ctx_r1.value != null);
819
820
  i0.ɵɵadvance();
@@ -838,7 +839,7 @@ function DatePicker_div_3_ng_container_4_div_2_span_4_Template(rf, ctx) { if (rf
838
839
  } if (rf & 2) {
839
840
  const ctx_r1 = i0.ɵɵnextContext(4);
840
841
  i0.ɵɵadvance();
841
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.previousicon);
842
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.previousIconTemplate || ctx_r1._previousIconTemplate);
842
843
  } }
843
844
  function DatePicker_div_3_ng_container_4_div_2_button_6_Template(rf, ctx) { if (rf & 1) {
844
845
  const _r10 = i0.ɵɵgetCurrentView();
@@ -887,9 +888,9 @@ function DatePicker_div_3_ng_container_4_div_2_span_8_Template(rf, ctx) { if (rf
887
888
  } if (rf & 2) {
888
889
  const ctx_r1 = i0.ɵɵnextContext(4);
889
890
  i0.ɵɵadvance();
890
- i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate);
891
+ i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && ctx_r1._decadeTemplate);
891
892
  i0.ɵɵadvance();
892
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decadeTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c22, ctx_r1.yearPickerValues));
893
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decadeTemplate || ctx_r1._decadeTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c22, ctx_r1.yearPickerValues));
893
894
  } }
894
895
  function DatePicker_div_3_ng_container_4_div_2_ChevronRightIcon_10_Template(rf, ctx) { if (rf & 1) {
895
896
  i0.ɵɵelement(0, "ChevronRightIcon");
@@ -905,7 +906,7 @@ function DatePicker_div_3_ng_container_4_div_2_span_11_Template(rf, ctx) { if (r
905
906
  } if (rf & 2) {
906
907
  const ctx_r1 = i0.ɵɵnextContext(4);
907
908
  i0.ɵɵadvance();
908
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.nexticon);
909
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.nextIconTemplate || ctx_r1._nextIconTemplate);
909
910
  } }
910
911
  function DatePicker_div_3_ng_container_4_div_2_table_12_th_3_Template(rf, ctx) { if (rf & 1) {
911
912
  i0.ɵɵelementStart(0, "th", 44)(1, "span");
@@ -955,7 +956,7 @@ function DatePicker_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1
955
956
  const date_r16 = i0.ɵɵnextContext(2).$implicit;
956
957
  const ctx_r1 = i0.ɵɵnextContext(6);
957
958
  i0.ɵɵadvance();
958
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
959
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dateTemplate || ctx_r1._dateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
959
960
  } }
960
961
  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
962
  i0.ɵɵelementContainer(0);
@@ -968,7 +969,7 @@ function DatePicker_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1
968
969
  const date_r16 = i0.ɵɵnextContext(2).$implicit;
969
970
  const ctx_r1 = i0.ɵɵnextContext(6);
970
971
  i0.ɵɵadvance();
971
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.disabledDateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
972
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.disabledDateTemplate || ctx_r1._disabledDateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
972
973
  } }
973
974
  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
975
  i0.ɵɵelementStart(0, "div", 53);
@@ -995,9 +996,9 @@ function DatePicker_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1
995
996
  i0.ɵɵproperty("ngClass", ctx_r1.dayClass(date_r16));
996
997
  i0.ɵɵattribute("data-date", ctx_r1.formatDateKey(ctx_r1.formatDateMetaToDate(date_r16)));
997
998
  i0.ɵɵadvance();
998
- i0.ɵɵproperty("ngIf", !ctx_r1.dateTemplate && (date_r16.selectable || !ctx_r1.disabledDateTemplate));
999
+ i0.ɵɵproperty("ngIf", !ctx_r1.dateTemplate && !ctx_r1._dateTemplate && (date_r16.selectable || !ctx_r1.disabledDateTemplate && !ctx_r1._disabledDateTemplate));
999
1000
  i0.ɵɵadvance();
1000
- i0.ɵɵproperty("ngIf", date_r16.selectable || !ctx_r1.disabledDateTemplate);
1001
+ i0.ɵɵproperty("ngIf", date_r16.selectable || !ctx_r1.disabledDateTemplate && !ctx_r1._disabledDateTemplate);
1001
1002
  i0.ɵɵadvance();
1002
1003
  i0.ɵɵproperty("ngIf", !date_r16.selectable);
1003
1004
  i0.ɵɵadvance();
@@ -1066,9 +1067,9 @@ function DatePicker_div_3_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
1066
1067
  i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c21, i_r17 === 0 ? "visible" : "hidden"));
1067
1068
  i0.ɵɵattribute("aria-label", ctx_r1.prevIconAriaLabel);
1068
1069
  i0.ɵɵadvance();
1069
- i0.ɵɵproperty("ngIf", !ctx_r1.previousicon);
1070
+ i0.ɵɵproperty("ngIf", !ctx_r1.previousIconTemplate && !ctx_r1._previousIconTemplate);
1070
1071
  i0.ɵɵadvance();
1071
- i0.ɵɵproperty("ngIf", ctx_r1.previousicon);
1072
+ i0.ɵɵproperty("ngIf", ctx_r1.previousIconTemplate || !ctx_r1._previousIconTemplate);
1072
1073
  i0.ɵɵadvance(2);
1073
1074
  i0.ɵɵproperty("ngIf", ctx_r1.currentView === "date");
1074
1075
  i0.ɵɵadvance();
@@ -1079,9 +1080,9 @@ function DatePicker_div_3_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
1079
1080
  i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(14, _c21, i_r17 === ctx_r1.months.length - 1 ? "visible" : "hidden"));
1080
1081
  i0.ɵɵattribute("aria-label", ctx_r1.nextIconAriaLabel);
1081
1082
  i0.ɵɵadvance();
1082
- i0.ɵɵproperty("ngIf", !ctx_r1.nexticon);
1083
+ i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && !ctx_r1._decadeTemplate);
1083
1084
  i0.ɵɵadvance();
1084
- i0.ɵɵproperty("ngIf", ctx_r1.nexticon);
1085
+ i0.ɵɵproperty("ngIf", ctx_r1.nextIconTemplate || !ctx_r1._nextIconTemplate);
1085
1086
  i0.ɵɵadvance();
1086
1087
  i0.ɵɵproperty("ngIf", ctx_r1.currentView === "date");
1087
1088
  } }
@@ -1215,7 +1216,7 @@ function DatePicker_div_3_div_5_ng_container_23_Template(rf, ctx) { if (rf & 1)
1215
1216
  } if (rf & 2) {
1216
1217
  const ctx_r1 = i0.ɵɵnextContext(3);
1217
1218
  i0.ɵɵadvance();
1218
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementicon);
1219
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1219
1220
  } }
1220
1221
  function DatePicker_div_3_div_5_div_24_Template(rf, ctx) { if (rf & 1) {
1221
1222
  i0.ɵɵelementStart(0, "div", 61)(1, "span");
@@ -1264,9 +1265,9 @@ function DatePicker_div_3_div_5_div_25_Template(rf, ctx) { if (rf & 1) {
1264
1265
  i0.ɵɵadvance();
1265
1266
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextSecond"));
1266
1267
  i0.ɵɵadvance();
1267
- i0.ɵɵproperty("ngIf", !ctx_r1.incrementicon);
1268
+ i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
1268
1269
  i0.ɵɵadvance();
1269
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementicon);
1270
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
1270
1271
  i0.ɵɵadvance(2);
1271
1272
  i0.ɵɵproperty("ngIf", ctx_r1.currentSecond < 10);
1272
1273
  i0.ɵɵadvance();
@@ -1274,9 +1275,9 @@ function DatePicker_div_3_div_5_div_25_Template(rf, ctx) { if (rf & 1) {
1274
1275
  i0.ɵɵadvance();
1275
1276
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevSecond"));
1276
1277
  i0.ɵɵadvance();
1277
- i0.ɵɵproperty("ngIf", !ctx_r1.decrementicon);
1278
+ i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
1278
1279
  i0.ɵɵadvance();
1279
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementicon);
1280
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1280
1281
  } }
1281
1282
  function DatePicker_div_3_div_5_div_26_Template(rf, ctx) { if (rf & 1) {
1282
1283
  i0.ɵɵelementStart(0, "div", 61)(1, "span");
@@ -1319,17 +1320,17 @@ function DatePicker_div_3_div_5_div_27_Template(rf, ctx) { if (rf & 1) {
1319
1320
  i0.ɵɵadvance();
1320
1321
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("am"));
1321
1322
  i0.ɵɵadvance();
1322
- i0.ɵɵproperty("ngIf", !ctx_r1.incrementicon);
1323
+ i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
1323
1324
  i0.ɵɵadvance();
1324
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementicon);
1325
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
1325
1326
  i0.ɵɵadvance(2);
1326
1327
  i0.ɵɵtextInterpolate(ctx_r1.pm ? "PM" : "AM");
1327
1328
  i0.ɵɵadvance();
1328
1329
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("pm"));
1329
1330
  i0.ɵɵadvance();
1330
- i0.ɵɵproperty("ngIf", !ctx_r1.decrementicon);
1331
+ i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
1331
1332
  i0.ɵɵadvance();
1332
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementicon);
1333
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1333
1334
  } }
1334
1335
  function DatePicker_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
1335
1336
  const _r24 = i0.ɵɵgetCurrentView();
@@ -1367,9 +1368,9 @@ function DatePicker_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
1367
1368
  i0.ɵɵadvance(2);
1368
1369
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextHour"));
1369
1370
  i0.ɵɵadvance();
1370
- i0.ɵɵproperty("ngIf", !ctx_r1.incrementicon);
1371
+ i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
1371
1372
  i0.ɵɵadvance();
1372
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementicon);
1373
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
1373
1374
  i0.ɵɵadvance(2);
1374
1375
  i0.ɵɵproperty("ngIf", ctx_r1.currentHour < 10);
1375
1376
  i0.ɵɵadvance();
@@ -1377,17 +1378,17 @@ function DatePicker_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
1377
1378
  i0.ɵɵadvance();
1378
1379
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevHour"));
1379
1380
  i0.ɵɵadvance();
1380
- i0.ɵɵproperty("ngIf", !ctx_r1.decrementicon);
1381
+ i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
1381
1382
  i0.ɵɵadvance();
1382
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementicon);
1383
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1383
1384
  i0.ɵɵadvance(3);
1384
1385
  i0.ɵɵtextInterpolate(ctx_r1.timeSeparator);
1385
1386
  i0.ɵɵadvance(2);
1386
1387
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextMinute"));
1387
1388
  i0.ɵɵadvance();
1388
- i0.ɵɵproperty("ngIf", !ctx_r1.incrementicon);
1389
+ i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
1389
1390
  i0.ɵɵadvance();
1390
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementicon);
1391
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
1391
1392
  i0.ɵɵadvance(2);
1392
1393
  i0.ɵɵproperty("ngIf", ctx_r1.currentMinute < 10);
1393
1394
  i0.ɵɵadvance();
@@ -1395,9 +1396,9 @@ function DatePicker_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
1395
1396
  i0.ɵɵadvance();
1396
1397
  i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevMinute"));
1397
1398
  i0.ɵɵadvance();
1398
- i0.ɵɵproperty("ngIf", !ctx_r1.decrementicon);
1399
+ i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
1399
1400
  i0.ɵɵadvance();
1400
- i0.ɵɵproperty("ngIf", ctx_r1.decrementicon);
1401
+ i0.ɵɵproperty("ngIf", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
1401
1402
  i0.ɵɵadvance();
1402
1403
  i0.ɵɵproperty("ngIf", ctx_r1.showSeconds);
1403
1404
  i0.ɵɵadvance();
@@ -1418,9 +1419,9 @@ function DatePicker_div_3_div_6_Template(rf, ctx) { if (rf & 1) {
1418
1419
  } if (rf & 2) {
1419
1420
  const ctx_r1 = i0.ɵɵnextContext(2);
1420
1421
  i0.ɵɵadvance();
1421
- i0.ɵɵproperty("label", ctx_r1.getTranslation("today"))("ngClass", ctx_r1.todayButtonStyleClass);
1422
+ i0.ɵɵproperty("label", ctx_r1.getTranslation("today"))("ngClass", i0.ɵɵpureFunction1(4, _c26, ctx_r1.todayButtonStyleClass));
1422
1423
  i0.ɵɵadvance();
1423
- i0.ɵɵproperty("label", ctx_r1.getTranslation("clear"))("ngClass", ctx_r1.clearButtonStyleClass);
1424
+ i0.ɵɵproperty("label", ctx_r1.getTranslation("clear"))("ngClass", i0.ɵɵpureFunction1(6, _c26, ctx_r1.clearButtonStyleClass));
1424
1425
  } }
1425
1426
  function DatePicker_div_3_ng_container_8_Template(rf, ctx) { if (rf & 1) {
1426
1427
  i0.ɵɵelementContainer(0);
@@ -1430,18 +1431,17 @@ function DatePicker_div_3_Template(rf, ctx) { if (rf & 1) {
1430
1431
  i0.ɵɵelementStart(0, "div", 21, 2);
1431
1432
  i0.ɵɵlistener("@overlayAnimation.start", function DatePicker_div_3_Template_div_animation_overlayAnimation_start_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayAnimationStart($event)); })("@overlayAnimation.done", function DatePicker_div_3_Template_div_animation_overlayAnimation_done_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayAnimationDone($event)); })("click", function DatePicker_div_3_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayClick($event)); });
1432
1433
  i0.ɵɵprojection(2);
1433
- i0.ɵɵtemplate(3, DatePicker_div_3_ng_container_3_Template, 1, 0, "ng-container", 13)(4, DatePicker_div_3_ng_container_4_Template, 5, 3, "ng-container", 7)(5, DatePicker_div_3_div_5_Template, 28, 21, "div", 22)(6, DatePicker_div_3_div_6_Template, 3, 4, "div", 23);
1434
+ i0.ɵɵtemplate(3, DatePicker_div_3_ng_container_3_Template, 1, 0, "ng-container", 13)(4, DatePicker_div_3_ng_container_4_Template, 5, 3, "ng-container", 7)(5, DatePicker_div_3_div_5_Template, 28, 21, "div", 22)(6, DatePicker_div_3_div_6_Template, 3, 8, "div", 23);
1434
1435
  i0.ɵɵprojection(7, 1);
1435
1436
  i0.ɵɵtemplate(8, DatePicker_div_3_ng_container_8_Template, 1, 0, "ng-container", 13);
1436
1437
  i0.ɵɵelementEnd();
1437
1438
  } if (rf & 2) {
1438
1439
  const ctx_r1 = i0.ɵɵnextContext();
1439
1440
  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);
1441
+ 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
1442
  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
1443
  i0.ɵɵadvance(3);
1444
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate);
1444
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
1445
1445
  i0.ɵɵadvance();
1446
1446
  i0.ɵɵproperty("ngIf", !ctx_r1.timeOnly);
1447
1447
  i0.ɵɵadvance();
@@ -1449,7 +1449,7 @@ function DatePicker_div_3_Template(rf, ctx) { if (rf & 1) {
1449
1449
  i0.ɵɵadvance();
1450
1450
  i0.ɵɵproperty("ngIf", ctx_r1.showButtonBar);
1451
1451
  i0.ɵɵadvance(2);
1452
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate);
1452
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
1453
1453
  } }
1454
1454
  const DATEPICKER_VALUE_ACCESSOR = {
1455
1455
  provide: NG_VALUE_ACCESSOR,
@@ -2056,37 +2056,49 @@ class DatePicker extends BaseComponent {
2056
2056
  * Custom template for previous month icon.
2057
2057
  * @group Templates
2058
2058
  */
2059
- previousicon;
2059
+ previousIconTemplate;
2060
2060
  /**
2061
2061
  * Custom template for next month icon.
2062
2062
  * @group Templates
2063
2063
  */
2064
- nexticon;
2064
+ nextIconTemplate;
2065
2065
  /**
2066
2066
  * Custom template for trigger icon.
2067
2067
  * @group Templates
2068
2068
  */
2069
- triggericon;
2069
+ triggerIconTemplate;
2070
2070
  /**
2071
2071
  * Custom template for clear icon.
2072
2072
  * @group Templates
2073
2073
  */
2074
- clearicon;
2074
+ clearIconTemplate;
2075
2075
  /**
2076
2076
  * Custom template for decrement icon.
2077
2077
  * @group Templates
2078
2078
  */
2079
- decrementicon;
2079
+ decrementIconTemplate;
2080
2080
  /**
2081
2081
  * Custom template for increment icon.
2082
2082
  * @group Templates
2083
2083
  */
2084
- incrementicon;
2084
+ incrementIconTemplate;
2085
2085
  /**
2086
2086
  * Custom template for input icon.
2087
2087
  * @group Templates
2088
2088
  */
2089
- inputicon;
2089
+ inputIconTemplate;
2090
+ _dateTemplate;
2091
+ _headerTemplate;
2092
+ _footerTemplate;
2093
+ _disabledDateTemplate;
2094
+ _decadeTemplate;
2095
+ _previousIconTemplate;
2096
+ _nextIconTemplate;
2097
+ _triggerIconTemplate;
2098
+ _clearIconTemplate;
2099
+ _decrementIconTemplate;
2100
+ _incrementIconTemplate;
2101
+ _inputIconTemplate;
2090
2102
  _disabledDates;
2091
2103
  _disabledDays;
2092
2104
  selectElement;
@@ -2175,6 +2187,52 @@ class DatePicker extends BaseComponent {
2175
2187
  }
2176
2188
  }
2177
2189
  }
2190
+ templates;
2191
+ ngAfterContentInit() {
2192
+ this.templates.forEach((item) => {
2193
+ switch (item.getType()) {
2194
+ case 'date':
2195
+ this._dateTemplate = item.template;
2196
+ break;
2197
+ case 'decade':
2198
+ this._decadeTemplate = item.template;
2199
+ break;
2200
+ case 'disabledDate':
2201
+ this._disabledDateTemplate = item.template;
2202
+ break;
2203
+ case 'header':
2204
+ this._headerTemplate = item.template;
2205
+ break;
2206
+ case 'inputicon':
2207
+ this._inputIconTemplate = item.template;
2208
+ break;
2209
+ case 'previousicon':
2210
+ this._previousIconTemplate = item.template;
2211
+ break;
2212
+ case 'nexticon':
2213
+ this._nextIconTemplate = item.template;
2214
+ break;
2215
+ case 'triggericon':
2216
+ this._triggerIconTemplate = item.template;
2217
+ break;
2218
+ case 'clearicon':
2219
+ this._clearIconTemplate = item.template;
2220
+ break;
2221
+ case 'decrementicon':
2222
+ this._decrementIconTemplate = item.template;
2223
+ break;
2224
+ case 'incrementicon':
2225
+ this._incrementIconTemplate = item.template;
2226
+ break;
2227
+ case 'footer':
2228
+ this._footerTemplate = item.template;
2229
+ break;
2230
+ default:
2231
+ this._dateTemplate = item.template;
2232
+ break;
2233
+ }
2234
+ });
2235
+ }
2178
2236
  getTranslation(option) {
2179
2237
  return this.config.getTranslation(option);
2180
2238
  }
@@ -4404,18 +4462,19 @@ class DatePicker extends BaseComponent {
4404
4462
  }
4405
4463
  static ɵfac = function DatePicker_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatePicker)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.OverlayService)); };
4406
4464
  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);
4465
+ i0.ɵɵcontentQuery(dirIndex, _c0, 4);
4466
+ i0.ɵɵcontentQuery(dirIndex, _c1, 4);
4467
+ i0.ɵɵcontentQuery(dirIndex, _c2, 4);
4468
+ i0.ɵɵcontentQuery(dirIndex, _c3, 4);
4469
+ i0.ɵɵcontentQuery(dirIndex, _c4, 4);
4470
+ i0.ɵɵcontentQuery(dirIndex, _c5, 4);
4471
+ i0.ɵɵcontentQuery(dirIndex, _c6, 4);
4472
+ i0.ɵɵcontentQuery(dirIndex, _c7, 4);
4473
+ i0.ɵɵcontentQuery(dirIndex, _c8, 4);
4474
+ i0.ɵɵcontentQuery(dirIndex, _c9, 4);
4475
+ i0.ɵɵcontentQuery(dirIndex, _c10, 4);
4476
+ i0.ɵɵcontentQuery(dirIndex, _c11, 4);
4477
+ i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
4419
4478
  } if (rf & 2) {
4420
4479
  let _t;
4421
4480
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dateTemplate = _t.first);
@@ -4423,13 +4482,14 @@ class DatePicker extends BaseComponent {
4423
4482
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
4424
4483
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.disabledDateTemplate = _t.first);
4425
4484
  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);
4485
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.previousIconTemplate = _t.first);
4486
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nextIconTemplate = _t.first);
4487
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.triggerIconTemplate = _t.first);
4488
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);
4489
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decrementIconTemplate = _t.first);
4490
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.incrementIconTemplate = _t.first);
4491
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputIconTemplate = _t.first);
4492
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
4433
4493
  } }, viewQuery: function DatePicker_Query(rf, ctx) { if (rf & 1) {
4434
4494
  i0.ɵɵviewQuery(_c12, 5);
4435
4495
  i0.ɵɵviewQuery(_c13, 5);
@@ -4439,10 +4499,10 @@ class DatePicker extends BaseComponent {
4439
4499
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerViewChild = _t.first);
4440
4500
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputfieldViewChild = _t.first);
4441
4501
  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) {
4502
+ } }, 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
4503
  i0.ɵɵprojectionDef(_c15);
4444
4504
  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);
4505
+ i0.ɵɵtemplate(2, DatePicker_ng_template_2_Template, 5, 24, "ng-template", 4)(3, DatePicker_div_3_Template, 9, 20, "div", 5);
4446
4506
  i0.ɵɵelementEnd();
4447
4507
  } if (rf & 2) {
4448
4508
  i0.ɵɵclassMap(ctx.styleClass);
@@ -4511,12 +4571,11 @@ class DatePicker extends BaseComponent {
4511
4571
  [pAutoFocus]="autofocus"
4512
4572
  [variant]="variant"
4513
4573
  [fluid]="hasFluid"
4514
- [pSize]="size"
4515
4574
  />
4516
4575
  <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>
4576
+ <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [class]="'p-datepicker-clear-icon'" (click)="clear()" />
4577
+ <span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-datepicker-clear-icon" (click)="clear()">
4578
+ <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
4520
4579
  </span>
4521
4580
  </ng-container>
4522
4581
  <button
@@ -4533,21 +4592,21 @@ class DatePicker extends BaseComponent {
4533
4592
  >
4534
4593
  <span *ngIf="icon" [ngClass]="icon"></span>
4535
4594
  <ng-container *ngIf="!icon">
4536
- <CalendarIcon *ngIf="!triggericon" />
4537
- <ng-template *ngTemplateOutlet="triggericon"></ng-template>
4595
+ <CalendarIcon *ngIf="!triggerIconTemplate && !_triggerIconTemplate" />
4596
+ <ng-template *ngTemplateOutlet="triggerIconTemplate || _triggerIconTemplate"></ng-template>
4538
4597
  </ng-container>
4539
4598
  </button>
4540
4599
  <ng-container *ngIf="iconDisplay === 'input' && showIcon">
4541
4600
  <span class="p-datepicker-input-icon-container">
4542
4601
  <CalendarIcon
4543
4602
  (click)="onButtonClick($event)"
4544
- *ngIf="!inputicon"
4603
+ *ngIf="!inputIconTemplate && !_inputIconTemplate"
4545
4604
  [ngClass]="{
4546
4605
  'p-datepicker-input-icon': showOnFocus
4547
4606
  }"
4548
4607
  />
4549
4608
 
4550
- <ng-container *ngTemplateOutlet="inputicon; context: { clickCallBack: onButtonClick.bind(this) }"></ng-container>
4609
+ <ng-container *ngTemplateOutlet="inputIconTemplate || _inputIconTemplate; context: { clickCallBack: onButtonClick.bind(this) }"></ng-container>
4551
4610
  </span>
4552
4611
  </ng-container>
4553
4612
  </ng-template>
@@ -4557,7 +4616,6 @@ class DatePicker extends BaseComponent {
4557
4616
  [class]="panelStyleClass"
4558
4617
  [ngStyle]="panelStyle"
4559
4618
  [ngClass]="panelClass"
4560
- [style.position]="!inline && 'absolute'"
4561
4619
  [@overlayAnimation]="{
4562
4620
  value: 'visible',
4563
4621
  params: { showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions }
@@ -4572,14 +4630,13 @@ class DatePicker extends BaseComponent {
4572
4630
  *ngIf="inline || overlayVisible"
4573
4631
  >
4574
4632
  <ng-content select="p-header"></ng-content>
4575
- <ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
4633
+ <ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
4576
4634
  <ng-container *ngIf="!timeOnly">
4577
4635
  <div class="p-datepicker-calendar-container">
4578
4636
  <div class="p-datepicker-calendar" *ngFor="let month of months; let i = index">
4579
4637
  <div class="p-datepicker-header">
4580
4638
  <p-button
4581
4639
  size="small"
4582
- severity="secondary"
4583
4640
  rounded
4584
4641
  text
4585
4642
  (keydown)="onContainerButtonKeydown($event)"
@@ -4589,9 +4646,9 @@ class DatePicker extends BaseComponent {
4589
4646
  type="button"
4590
4647
  [attr.aria-label]="prevIconAriaLabel"
4591
4648
  >
4592
- <ChevronLeftIcon *ngIf="!previousicon" />
4593
- <span *ngIf="previousicon">
4594
- <ng-template *ngTemplateOutlet="previousicon"></ng-template>
4649
+ <ChevronLeftIcon *ngIf="!previousIconTemplate && !_previousIconTemplate" />
4650
+ <span *ngIf="previousIconTemplate || !_previousIconTemplate">
4651
+ <ng-template *ngTemplateOutlet="previousIconTemplate || _previousIconTemplate"></ng-template>
4595
4652
  </span>
4596
4653
  </p-button>
4597
4654
  <div class="p-datepicker-title">
@@ -4620,13 +4677,12 @@ class DatePicker extends BaseComponent {
4620
4677
  {{ getYear(month) }}
4621
4678
  </button>
4622
4679
  <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>
4680
+ <ng-container *ngIf="!decadeTemplate && _decadeTemplate">{{ yearPickerValues()[0] }} - {{ yearPickerValues()[yearPickerValues().length - 1] }}</ng-container>
4681
+ <ng-container *ngTemplateOutlet="decadeTemplate || _decadeTemplate; context: { $implicit: yearPickerValues }"></ng-container>
4625
4682
  </span>
4626
4683
  </div>
4627
4684
  <p-button
4628
4685
  rounded
4629
- severity="secondary"
4630
4686
  text
4631
4687
  size="small"
4632
4688
  (keydown)="onContainerButtonKeydown($event)"
@@ -4635,10 +4691,10 @@ class DatePicker extends BaseComponent {
4635
4691
  [ngStyle]="{ visibility: i === months.length - 1 ? 'visible' : 'hidden' }"
4636
4692
  [attr.aria-label]="nextIconAriaLabel"
4637
4693
  >
4638
- <ChevronRightIcon *ngIf="!nexticon" />
4694
+ <ChevronRightIcon *ngIf="!decadeTemplate && !_decadeTemplate" />
4639
4695
 
4640
- <span *ngIf="nexticon">
4641
- <ng-template *ngTemplateOutlet="nexticon"></ng-template>
4696
+ <span *ngIf="nextIconTemplate || !_nextIconTemplate">
4697
+ <ng-template *ngTemplateOutlet="nextIconTemplate || _nextIconTemplate"></ng-template>
4642
4698
  </span>
4643
4699
  </p-button>
4644
4700
  </div>
@@ -4678,12 +4734,12 @@ class DatePicker extends BaseComponent {
4678
4734
  (keydown)="onDateCellKeydown($event, date, i)"
4679
4735
  pRipple
4680
4736
  >
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>
4737
+ <ng-container *ngIf="!dateTemplate && !_dateTemplate && (date.selectable || (!disabledDateTemplate && !_disabledDateTemplate))">{{ date.day }}</ng-container>
4738
+ <ng-container *ngIf="date.selectable || (!disabledDateTemplate && !_disabledDateTemplate)">
4739
+ <ng-container *ngTemplateOutlet="dateTemplate || _dateTemplate; context: { $implicit: date }"></ng-container>
4684
4740
  </ng-container>
4685
4741
  <ng-container *ngIf="!date.selectable">
4686
- <ng-container *ngTemplateOutlet="disabledDateTemplate; context: { $implicit: date }"></ng-container>
4742
+ <ng-container *ngTemplateOutlet="disabledDateTemplate || _disabledDateTemplate; context: { $implicit: date }"></ng-container>
4687
4743
  </ng-container>
4688
4744
  </span>
4689
4745
  <div *ngIf="isSelected(date)" class="p-hidden-accessible" aria-live="polite">
@@ -4750,9 +4806,9 @@ class DatePicker extends BaseComponent {
4750
4806
  (mouseleave)="onTimePickerElementMouseLeave()"
4751
4807
  [attr.aria-label]="getTranslation('nextHour')"
4752
4808
  >
4753
- <ChevronUpIcon *ngIf="!incrementicon" />
4809
+ <ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
4754
4810
 
4755
- <ng-template *ngTemplateOutlet="incrementicon"></ng-template>
4811
+ <ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
4756
4812
  </p-button>
4757
4813
  <span><ng-container *ngIf="currentHour < 10">0</ng-container>{{ currentHour }}</span>
4758
4814
  <p-button
@@ -4770,9 +4826,9 @@ class DatePicker extends BaseComponent {
4770
4826
  (mouseleave)="onTimePickerElementMouseLeave()"
4771
4827
  [attr.aria-label]="getTranslation('prevHour')"
4772
4828
  >
4773
- <ChevronDownIcon *ngIf="!decrementicon" />
4829
+ <ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
4774
4830
 
4775
- <ng-template *ngTemplateOutlet="decrementicon"></ng-template>
4831
+ <ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
4776
4832
  </p-button>
4777
4833
  </div>
4778
4834
  <div class="p-datepicker-separator">
@@ -4794,9 +4850,9 @@ class DatePicker extends BaseComponent {
4794
4850
  (mouseleave)="onTimePickerElementMouseLeave()"
4795
4851
  [attr.aria-label]="getTranslation('nextMinute')"
4796
4852
  >
4797
- <ChevronUpIcon *ngIf="!incrementicon" />
4853
+ <ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
4798
4854
 
4799
- <ng-template *ngTemplateOutlet="incrementicon"></ng-template>
4855
+ <ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
4800
4856
  </p-button>
4801
4857
  <span><ng-container *ngIf="currentMinute < 10">0</ng-container>{{ currentMinute }}</span>
4802
4858
  <p-button
@@ -4814,9 +4870,9 @@ class DatePicker extends BaseComponent {
4814
4870
  (mouseleave)="onTimePickerElementMouseLeave()"
4815
4871
  [attr.aria-label]="getTranslation('prevMinute')"
4816
4872
  >
4817
- <ChevronDownIcon *ngIf="!decrementicon" />
4818
- <ng-container *ngIf="decrementicon">
4819
- <ng-template *ngTemplateOutlet="decrementicon"></ng-template>
4873
+ <ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
4874
+ <ng-container *ngIf="decrementIconTemplate || _decrementIconTemplate">
4875
+ <ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
4820
4876
  </ng-container>
4821
4877
  </p-button>
4822
4878
  </div>
@@ -4839,9 +4895,9 @@ class DatePicker extends BaseComponent {
4839
4895
  (mouseleave)="onTimePickerElementMouseLeave()"
4840
4896
  [attr.aria-label]="getTranslation('nextSecond')"
4841
4897
  >
4842
- <ChevronUpIcon *ngIf="!incrementicon" />
4898
+ <ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
4843
4899
 
4844
- <ng-template *ngTemplateOutlet="incrementicon"></ng-template>
4900
+ <ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
4845
4901
  </p-button>
4846
4902
  <span><ng-container *ngIf="currentSecond < 10">0</ng-container>{{ currentSecond }}</span>
4847
4903
  <p-button
@@ -4859,9 +4915,9 @@ class DatePicker extends BaseComponent {
4859
4915
  (mouseleave)="onTimePickerElementMouseLeave()"
4860
4916
  [attr.aria-label]="getTranslation('prevSecond')"
4861
4917
  >
4862
- <ChevronDownIcon *ngIf="!decrementicon" />
4918
+ <ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
4863
4919
 
4864
- <ng-template *ngTemplateOutlet="decrementicon"></ng-template>
4920
+ <ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
4865
4921
  </p-button>
4866
4922
  </div>
4867
4923
  <div class="p-datepicker-separator" *ngIf="hourFormat == '12'">
@@ -4878,8 +4934,8 @@ class DatePicker extends BaseComponent {
4878
4934
  (keydown.enter)="toggleAMPM($event)"
4879
4935
  [attr.aria-label]="getTranslation('am')"
4880
4936
  >
4881
- <ChevronUpIcon *ngIf="!incrementicon" />
4882
- <ng-template *ngTemplateOutlet="incrementicon"></ng-template>
4937
+ <ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
4938
+ <ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
4883
4939
  </p-button>
4884
4940
  <span>{{ pm ? 'PM' : 'AM' }}</span>
4885
4941
  <p-button
@@ -4892,35 +4948,17 @@ class DatePicker extends BaseComponent {
4892
4948
  (keydown.enter)="toggleAMPM($event)"
4893
4949
  [attr.aria-label]="getTranslation('pm')"
4894
4950
  >
4895
- <ChevronDownIcon *ngIf="!decrementicon" />
4896
- <ng-template *ngTemplateOutlet="decrementicon"></ng-template>
4951
+ <ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
4952
+ <ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
4897
4953
  </p-button>
4898
4954
  </div>
4899
4955
  </div>
4900
4956
  <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
- />
4957
+ <p-button size="small" styleClass="p-datepicker-today-button" [label]="getTranslation('today')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onTodayButtonClick($event)" [ngClass]="[todayButtonStyleClass]" />
4958
+ <p-button size="small" styleClass="p-datepicker-clear-button" [label]="getTranslation('clear')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onClearButtonClick($event)" [ngClass]="[clearButtonStyleClass]" />
4921
4959
  </div>
4922
4960
  <ng-content select="p-footer"></ng-content>
4923
- <ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
4961
+ <ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
4924
4962
  </div>
4925
4963
  </span>
4926
4964
  `,
@@ -5148,42 +5186,45 @@ class DatePicker extends BaseComponent {
5148
5186
  args: ['contentWrapper', { static: false }]
5149
5187
  }], dateTemplate: [{
5150
5188
  type: ContentChild,
5151
- args: ['date']
5189
+ args: ['date', { descendants: false }]
5152
5190
  }], headerTemplate: [{
5153
5191
  type: ContentChild,
5154
- args: ['header']
5192
+ args: ['header', { descendants: false }]
5155
5193
  }], footerTemplate: [{
5156
5194
  type: ContentChild,
5157
- args: ['footer']
5195
+ args: ['footer', { descendants: false }]
5158
5196
  }], disabledDateTemplate: [{
5159
5197
  type: ContentChild,
5160
- args: ['disabledDate']
5198
+ args: ['disabledDate', { descendants: false }]
5161
5199
  }], decadeTemplate: [{
5162
5200
  type: ContentChild,
5163
- args: ['decade']
5164
- }], previousicon: [{
5201
+ args: ['decade', { descendants: false }]
5202
+ }], previousIconTemplate: [{
5165
5203
  type: ContentChild,
5166
- args: ['previousicon']
5167
- }], nexticon: [{
5204
+ args: ['previousicon', { descendants: false }]
5205
+ }], nextIconTemplate: [{
5168
5206
  type: ContentChild,
5169
- args: ['nexticon']
5170
- }], triggericon: [{
5207
+ args: ['nexticon', { descendants: false }]
5208
+ }], triggerIconTemplate: [{
5171
5209
  type: ContentChild,
5172
- args: ['triggericon']
5173
- }], clearicon: [{
5210
+ args: ['triggericon', { descendants: false }]
5211
+ }], clearIconTemplate: [{
5174
5212
  type: ContentChild,
5175
- args: ['clearicon']
5176
- }], decrementicon: [{
5213
+ args: ['clearicon', { descendants: false }]
5214
+ }], decrementIconTemplate: [{
5177
5215
  type: ContentChild,
5178
- args: ['decrementicon']
5179
- }], incrementicon: [{
5216
+ args: ['decrementicon', { descendants: false }]
5217
+ }], incrementIconTemplate: [{
5180
5218
  type: ContentChild,
5181
- args: ['incrementicon']
5182
- }], inputicon: [{
5219
+ args: ['incrementicon', { descendants: false }]
5220
+ }], inputIconTemplate: [{
5183
5221
  type: ContentChild,
5184
- args: ['inputicon']
5222
+ args: ['inputicon', { descendants: false }]
5223
+ }], templates: [{
5224
+ type: ContentChildren,
5225
+ args: [PrimeTemplate]
5185
5226
  }] }); })();
5186
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatePicker, { className: "DatePicker", filePath: "datepicker.ts", lineNumber: 546 }); })();
5227
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatePicker, { className: "DatePicker", filePath: "datepicker.ts", lineNumber: 528 }); })();
5187
5228
  class DatePickerModule {
5188
5229
  static ɵfac = function DatePickerModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatePickerModule)(); };
5189
5230
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DatePickerModule });