primeng 18.0.0 → 18.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.
- package/accordion/accordion.d.ts +7 -7
- package/autocomplete/autocomplete.d.ts +21 -8
- package/badge/badge.d.ts +1 -3
- package/basecomponent/basecomponent.d.ts +2 -5
- package/blockui/blockui.d.ts +10 -5
- package/breadcrumb/breadcrumb.d.ts +9 -6
- package/button/button.d.ts +10 -4
- package/calendar/calendar.d.ts +29 -15
- package/card/card.d.ts +12 -5
- package/carousel/carousel.d.ts +10 -4
- package/cascadeselect/cascadeselect.d.ts +18 -8
- package/checkbox/checkbox.d.ts +8 -4
- package/chip/chip.d.ts +9 -7
- package/confirmdialog/confirmdialog.d.ts +14 -5
- package/confirmpopup/confirmpopup.d.ts +11 -5
- package/contextmenu/contextmenu.d.ts +10 -6
- package/datepicker/datepicker.d.ts +25 -11
- package/dialog/dialog.d.ts +15 -4
- package/divider/divider.d.ts +1 -1
- package/dock/dock.d.ts +7 -4
- package/drawer/drawer.d.ts +18 -10
- package/dropdown/dropdown.d.ts +4 -3
- package/dynamicdialog/dynamicdialog.d.ts +1 -0
- package/editor/editor.d.ts +7 -3
- package/esm2022/accordion/accordion.mjs +58 -43
- package/esm2022/autocomplete/autocomplete.mjs +153 -92
- package/esm2022/badge/badge.mjs +39 -32
- package/esm2022/basecomponent/basecomponent.mjs +3 -26
- package/esm2022/blockui/blockui.mjs +38 -18
- package/esm2022/breadcrumb/breadcrumb.mjs +50 -32
- package/esm2022/button/button.mjs +55 -28
- package/esm2022/calendar/calendar.mjs +199 -136
- package/esm2022/card/card.mjs +96 -46
- package/esm2022/carousel/carousel.mjs +74 -42
- package/esm2022/cascadeselect/cascadeselect.mjs +100 -62
- package/esm2022/checkbox/checkbox.mjs +32 -14
- package/esm2022/chip/chip.mjs +117 -96
- package/esm2022/confirmdialog/confirmdialog.mjs +96 -57
- package/esm2022/confirmpopup/confirmpopup.mjs +57 -29
- package/esm2022/contextmenu/contextmenu.mjs +51 -20
- package/esm2022/datepicker/datepicker.mjs +199 -158
- package/esm2022/dialog/dialog.mjs +98 -52
- package/esm2022/divider/divider.mjs +2 -4
- package/esm2022/dock/dock.mjs +31 -13
- package/esm2022/drawer/drawer.mjs +112 -70
- package/esm2022/dropdown/dropdown.mjs +13 -5
- package/esm2022/dynamicdialog/dynamicdialog-config.mjs +13 -13
- package/esm2022/dynamicdialog/dynamicdialog.mjs +9 -5
- package/esm2022/editor/editor.mjs +27 -11
- package/esm2022/fieldset/fieldset.mjs +61 -33
- package/esm2022/fileupload/fileupload.mjs +139 -89
- package/esm2022/galleria/galleria.mjs +18 -9
- package/esm2022/image/image.mjs +113 -66
- package/esm2022/imagecompare/imagecompare.mjs +31 -11
- package/esm2022/inplace/inplace.mjs +49 -24
- package/esm2022/inputmask/inputmask.mjs +30 -14
- package/esm2022/inputmask/style/inputmaskstyle.mjs +2 -2
- package/esm2022/inputnumber/inputnumber.mjs +55 -47
- package/esm2022/inputotp/inputotp.mjs +30 -11
- package/esm2022/listbox/listbox.mjs +137 -78
- package/esm2022/megamenu/megamenu.mjs +105 -59
- package/esm2022/menu/menu.mjs +26 -26
- package/esm2022/menubar/menubar.mjs +70 -35
- package/esm2022/message/message.mjs +50 -26
- package/esm2022/messages/messages.mjs +13 -4
- package/esm2022/metergroup/metergroup.mjs +63 -31
- package/esm2022/multiselect/multiselect.mjs +247 -156
- package/esm2022/orderlist/orderlist.mjs +125 -70
- package/esm2022/organizationchart/organizationchart.mjs +30 -14
- package/esm2022/overlay/overlay.mjs +27 -7
- package/esm2022/overlaypanel/overlaypanel.mjs +33 -10
- package/esm2022/paginator/paginator.mjs +92 -60
- package/esm2022/panel/panel.mjs +160 -100
- package/esm2022/panelmenu/panelmenu.mjs +55 -32
- package/esm2022/password/password.mjs +88 -49
- package/esm2022/picklist/picklist.mjs +363 -259
- package/esm2022/popover/popover.mjs +29 -12
- package/esm2022/progressbar/progressbar.mjs +27 -9
- package/esm2022/rating/rating.mjs +46 -22
- package/esm2022/scroller/scroller.mjs +47 -37
- package/esm2022/scrollpanel/scrollpanel.mjs +28 -9
- package/esm2022/scrolltop/scrolltop.mjs +17 -10
- package/esm2022/select/select.mjs +198 -119
- package/esm2022/selectbutton/selectbutton.mjs +26 -11
- package/esm2022/sidebar/sidebar.mjs +82 -60
- package/esm2022/speeddial/speeddial.mjs +54 -29
- package/esm2022/splitbutton/splitbutton.mjs +41 -18
- package/esm2022/splitter/splitter.mjs +5 -5
- package/esm2022/stepper/stepper.mjs +27 -13
- package/esm2022/table/table.mjs +107 -96
- package/esm2022/tabmenu/tabmenu.mjs +54 -27
- package/esm2022/tabs/tablist.mjs +28 -20
- package/esm2022/tabview/tabview.mjs +106 -54
- package/esm2022/tag/tag.mjs +68 -44
- package/esm2022/tieredmenu/tieredmenu.mjs +44 -21
- package/esm2022/timeline/timeline.mjs +41 -17
- package/esm2022/toast/toast.mjs +31 -9
- package/esm2022/togglebutton/togglebutton.mjs +45 -30
- package/esm2022/toggleswitch/toggleswitch.mjs +28 -9
- package/esm2022/toolbar/toolbar.mjs +47 -21
- package/esm2022/tooltip/tooltip.mjs +35 -70
- package/esm2022/tree/tree.mjs +114 -99
- package/esm2022/treeselect/treeselect.mjs +156 -89
- package/esm2022/treetable/treetable.mjs +31 -12
- package/esm2022/usestyle/usestyle.mjs +2 -2
- package/fesm2022/primeng-accordion.mjs +57 -42
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-autocomplete.mjs +152 -91
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-badge.mjs +38 -31
- package/fesm2022/primeng-badge.mjs.map +1 -1
- package/fesm2022/primeng-basecomponent.mjs +2 -25
- package/fesm2022/primeng-basecomponent.mjs.map +1 -1
- package/fesm2022/primeng-blockui.mjs +37 -17
- package/fesm2022/primeng-blockui.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +49 -31
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-button.mjs +54 -27
- package/fesm2022/primeng-button.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +198 -135
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-card.mjs +95 -45
- package/fesm2022/primeng-card.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +73 -41
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs +99 -61
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-checkbox.mjs +31 -13
- package/fesm2022/primeng-checkbox.mjs.map +1 -1
- package/fesm2022/primeng-chip.mjs +116 -95
- package/fesm2022/primeng-chip.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +95 -56
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +56 -28
- package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
- package/fesm2022/primeng-contextmenu.mjs +50 -19
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +198 -157
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +97 -51
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +1 -3
- package/fesm2022/primeng-divider.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +30 -12
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-drawer.mjs +111 -69
- package/fesm2022/primeng-drawer.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +12 -4
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +20 -16
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-editor.mjs +26 -10
- package/fesm2022/primeng-editor.mjs.map +1 -1
- package/fesm2022/primeng-fieldset.mjs +60 -32
- package/fesm2022/primeng-fieldset.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +138 -88
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +17 -8
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-image.mjs +112 -65
- package/fesm2022/primeng-image.mjs.map +1 -1
- package/fesm2022/primeng-imagecompare.mjs +30 -10
- package/fesm2022/primeng-imagecompare.mjs.map +1 -1
- package/fesm2022/primeng-inplace.mjs +48 -23
- package/fesm2022/primeng-inplace.mjs.map +1 -1
- package/fesm2022/primeng-inputmask.mjs +30 -14
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +54 -46
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +29 -10
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +136 -77
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-megamenu.mjs +104 -58
- package/fesm2022/primeng-megamenu.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +25 -25
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-menubar.mjs +69 -34
- package/fesm2022/primeng-menubar.mjs.map +1 -1
- package/fesm2022/primeng-message.mjs +49 -25
- package/fesm2022/primeng-message.mjs.map +1 -1
- package/fesm2022/primeng-messages.mjs +12 -3
- package/fesm2022/primeng-messages.mjs.map +1 -1
- package/fesm2022/primeng-metergroup.mjs +62 -30
- package/fesm2022/primeng-metergroup.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +246 -155
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-orderlist.mjs +124 -69
- package/fesm2022/primeng-orderlist.mjs.map +1 -1
- package/fesm2022/primeng-organizationchart.mjs +29 -13
- package/fesm2022/primeng-organizationchart.mjs.map +1 -1
- package/fesm2022/primeng-overlay.mjs +26 -6
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +32 -9
- package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +91 -59
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +159 -99
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +54 -31
- package/fesm2022/primeng-panelmenu.mjs.map +1 -1
- package/fesm2022/primeng-password.mjs +87 -48
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +362 -258
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +28 -11
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-progressbar.mjs +26 -8
- package/fesm2022/primeng-progressbar.mjs.map +1 -1
- package/fesm2022/primeng-rating.mjs +45 -21
- package/fesm2022/primeng-rating.mjs.map +1 -1
- package/fesm2022/primeng-scroller.mjs +46 -36
- package/fesm2022/primeng-scroller.mjs.map +1 -1
- package/fesm2022/primeng-scrollpanel.mjs +27 -8
- package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
- package/fesm2022/primeng-scrolltop.mjs +16 -9
- package/fesm2022/primeng-scrolltop.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +197 -118
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-selectbutton.mjs +25 -10
- package/fesm2022/primeng-selectbutton.mjs.map +1 -1
- package/fesm2022/primeng-sidebar.mjs +81 -59
- package/fesm2022/primeng-sidebar.mjs.map +1 -1
- package/fesm2022/primeng-speeddial.mjs +53 -28
- package/fesm2022/primeng-speeddial.mjs.map +1 -1
- package/fesm2022/primeng-splitbutton.mjs +40 -17
- package/fesm2022/primeng-splitbutton.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +4 -4
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +26 -12
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +106 -95
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tabmenu.mjs +53 -26
- package/fesm2022/primeng-tabmenu.mjs.map +1 -1
- package/fesm2022/primeng-tabs.mjs +27 -19
- package/fesm2022/primeng-tabs.mjs.map +1 -1
- package/fesm2022/primeng-tabview.mjs +106 -54
- package/fesm2022/primeng-tabview.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +67 -43
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +43 -20
- package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
- package/fesm2022/primeng-timeline.mjs +40 -16
- package/fesm2022/primeng-timeline.mjs.map +1 -1
- package/fesm2022/primeng-toast.mjs +30 -8
- package/fesm2022/primeng-toast.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +44 -29
- package/fesm2022/primeng-togglebutton.mjs.map +1 -1
- package/fesm2022/primeng-toggleswitch.mjs +27 -8
- package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
- package/fesm2022/primeng-toolbar.mjs +46 -20
- package/fesm2022/primeng-toolbar.mjs.map +1 -1
- package/fesm2022/primeng-tooltip.mjs +35 -70
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +114 -99
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +155 -88
- package/fesm2022/primeng-treeselect.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +30 -11
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/fesm2022/primeng-usestyle.mjs +1 -1
- package/fesm2022/primeng-usestyle.mjs.map +1 -1
- package/fieldset/fieldset.d.ts +12 -6
- package/fileupload/fileupload.d.ts +19 -8
- package/galleria/galleria.d.ts +3 -2
- package/image/image.d.ts +18 -7
- package/imagecompare/imagecompare.d.ts +7 -2
- package/inplace/inplace.d.ts +12 -6
- package/inputmask/inputmask.d.ts +8 -4
- package/inputnumber/inputnumber.d.ts +11 -6
- package/inputotp/inputotp.d.ts +7 -2
- package/listbox/listbox.d.ts +17 -4
- package/megamenu/megamenu.d.ts +16 -7
- package/menu/menu.d.ts +6 -6
- package/menubar/menubar.d.ts +13 -6
- package/message/message.d.ts +10 -4
- package/messages/messages.d.ts +4 -3
- package/metergroup/metergroup.d.ts +11 -3
- package/multiselect/multiselect.d.ts +36 -17
- package/orderlist/orderlist.d.ts +23 -11
- package/organizationchart/organizationchart.d.ts +6 -4
- package/overlay/overlay.d.ts +6 -3
- package/overlaypanel/overlaypanel.d.ts +6 -3
- package/package.json +215 -215
- package/paginator/paginator.d.ts +15 -8
- package/panel/panel.d.ts +14 -5
- package/panelmenu/panelmenu.d.ts +8 -4
- package/password/password.d.ts +15 -7
- package/picklist/picklist.d.ts +23 -3
- package/popover/popover.d.ts +8 -5
- package/progressbar/progressbar.d.ts +7 -3
- package/rating/rating.d.ts +11 -5
- package/scroller/scroller.d.ts +9 -4
- package/scrollpanel/scrollpanel.d.ts +7 -3
- package/scrolltop/scrolltop.d.ts +7 -4
- package/select/select.d.ts +31 -13
- package/selectbutton/selectbutton.d.ts +7 -3
- package/sidebar/sidebar.d.ts +9 -2
- package/speeddial/speeddial.d.ts +9 -4
- package/splitbutton/splitbutton.d.ts +9 -5
- package/splitter/splitter.d.ts +4 -4
- package/stepper/stepper.d.ts +8 -3
- package/table/table.d.ts +2 -2
- package/tabmenu/tabmenu.d.ts +12 -7
- package/tabs/tablist.d.ts +6 -2
- package/tabview/tabview.d.ts +16 -7
- package/tag/tag.d.ts +8 -9
- package/tieredmenu/tieredmenu.d.ts +10 -6
- package/timeline/timeline.d.ts +7 -2
- package/toast/toast.d.ts +7 -3
- package/togglebutton/togglebutton.d.ts +8 -3
- package/toggleswitch/toggleswitch.d.ts +6 -2
- package/toolbar/toolbar.d.ts +9 -4
- package/tooltip/tooltip.d.ts +2 -1
- package/tree/tree.d.ts +23 -10
- package/treeselect/treeselect.d.ts +26 -12
- package/treetable/treetable.d.ts +7 -5
@@ -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, ContentChild, ViewChild, NgModule } from '@angular/core';
|
5
|
+
import { Injectable, forwardRef, EventEmitter, inject, booleanAttribute, numberAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ViewChild, 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';
|
@@ -534,7 +534,7 @@ function Calendar_ng_template_2_ng_container_2_span_2_Template(rf, ctx) { if (rf
|
|
534
534
|
} if (rf & 2) {
|
535
535
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
536
536
|
i0.ɵɵadvance();
|
537
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
537
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
|
538
538
|
} }
|
539
539
|
function Calendar_ng_template_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
540
540
|
i0.ɵɵelementContainerStart(0);
|
@@ -543,9 +543,9 @@ function Calendar_ng_template_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
543
543
|
} if (rf & 2) {
|
544
544
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
545
545
|
i0.ɵɵadvance();
|
546
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
546
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.clearIconTemplate && !ctx_r1._clearIconTemplate);
|
547
547
|
i0.ɵɵadvance();
|
548
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
548
|
+
i0.ɵɵproperty("ngIf", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
|
549
549
|
} }
|
550
550
|
function Calendar_ng_template_2_button_3_span_1_Template(rf, ctx) { if (rf & 1) {
|
551
551
|
i0.ɵɵelement(0, "span", 16);
|
@@ -567,9 +567,9 @@ function Calendar_ng_template_2_button_3_ng_container_2_Template(rf, ctx) { if (
|
|
567
567
|
} if (rf & 2) {
|
568
568
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
569
569
|
i0.ɵɵadvance();
|
570
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
570
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.triggerIconTemplate && !ctx_r1._triggerIconTemplate);
|
571
571
|
i0.ɵɵadvance();
|
572
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
572
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.triggerIconTemplate || ctx_r1._triggerIconTemplate);
|
573
573
|
} }
|
574
574
|
function Calendar_ng_template_2_button_3_Template(rf, ctx) { if (rf & 1) {
|
575
575
|
const _r5 = i0.ɵɵgetCurrentView();
|
@@ -608,9 +608,9 @@ function Calendar_ng_template_2_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
608
608
|
} if (rf & 2) {
|
609
609
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
610
610
|
i0.ɵɵadvance(2);
|
611
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
611
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.inputIconTemplate && !ctx_r1._inputIconTemplate);
|
612
612
|
i0.ɵɵadvance();
|
613
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
613
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.inputIconTemplate || ctx_r1._inputIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c17, ctx_r1.onButtonClick.bind(ctx_r1)));
|
614
614
|
} }
|
615
615
|
function Calendar_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
616
616
|
const _r1 = i0.ɵɵgetCurrentView();
|
@@ -648,7 +648,7 @@ function Calendar_div_3_ng_container_4_div_2_span_4_Template(rf, ctx) { if (rf &
|
|
648
648
|
} if (rf & 2) {
|
649
649
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
650
650
|
i0.ɵɵadvance();
|
651
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
651
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.previousIconTemplate || ctx_r1._previousIconTemplate);
|
652
652
|
} }
|
653
653
|
function Calendar_div_3_ng_container_4_div_2_button_6_Template(rf, ctx) { if (rf & 1) {
|
654
654
|
const _r10 = i0.ɵɵgetCurrentView();
|
@@ -697,9 +697,9 @@ function Calendar_div_3_ng_container_4_div_2_span_8_Template(rf, ctx) { if (rf &
|
|
697
697
|
} if (rf & 2) {
|
698
698
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
699
699
|
i0.ɵɵadvance();
|
700
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
700
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && ctx_r1._decadeTemplate);
|
701
701
|
i0.ɵɵadvance();
|
702
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
702
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decadeTemplate || ctx_r1._decadeTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c22, ctx_r1.yearPickerValues));
|
703
703
|
} }
|
704
704
|
function Calendar_div_3_ng_container_4_div_2_ChevronRightIcon_10_Template(rf, ctx) { if (rf & 1) {
|
705
705
|
i0.ɵɵelement(0, "ChevronRightIcon");
|
@@ -715,7 +715,7 @@ function Calendar_div_3_ng_container_4_div_2_span_11_Template(rf, ctx) { if (rf
|
|
715
715
|
} if (rf & 2) {
|
716
716
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
717
717
|
i0.ɵɵadvance();
|
718
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
718
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.nextIconTemplate || !ctx_r1._nextIconTemplate);
|
719
719
|
} }
|
720
720
|
function Calendar_div_3_ng_container_4_div_2_table_12_th_3_Template(rf, ctx) { if (rf & 1) {
|
721
721
|
i0.ɵɵelementStart(0, "th", 44)(1, "span");
|
@@ -765,7 +765,7 @@ function Calendar_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_n
|
|
765
765
|
const date_r16 = i0.ɵɵnextContext(2).$implicit;
|
766
766
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
767
767
|
i0.ɵɵadvance();
|
768
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
|
768
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dateTemplate || ctx_r1._dateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
|
769
769
|
} }
|
770
770
|
function Calendar_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) {
|
771
771
|
i0.ɵɵelementContainer(0);
|
@@ -778,7 +778,7 @@ function Calendar_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_n
|
|
778
778
|
const date_r16 = i0.ɵɵnextContext(2).$implicit;
|
779
779
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
780
780
|
i0.ɵɵadvance();
|
781
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
781
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.disabledDateTemplate || ctx_r1._disabledDateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
|
782
782
|
} }
|
783
783
|
function Calendar_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_div_5_Template(rf, ctx) { if (rf & 1) {
|
784
784
|
i0.ɵɵelementStart(0, "div", 53);
|
@@ -805,9 +805,9 @@ function Calendar_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_T
|
|
805
805
|
i0.ɵɵproperty("ngClass", ctx_r1.dayClass(date_r16));
|
806
806
|
i0.ɵɵattribute("data-date", ctx_r1.formatDateKey(ctx_r1.formatDateMetaToDate(date_r16)));
|
807
807
|
i0.ɵɵadvance();
|
808
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
808
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.dateTemplate && !ctx_r1._dateTemplate && (date_r16.selectable || !ctx_r1.disabledDateTemplate && !ctx_r1._disabledDateTemplate));
|
809
809
|
i0.ɵɵadvance();
|
810
|
-
i0.ɵɵproperty("ngIf", date_r16.selectable || !ctx_r1.
|
810
|
+
i0.ɵɵproperty("ngIf", date_r16.selectable || !ctx_r1.disabledDateTemplate && !ctx_r1._disabledDateTemplate);
|
811
811
|
i0.ɵɵadvance();
|
812
812
|
i0.ɵɵproperty("ngIf", !date_r16.selectable);
|
813
813
|
i0.ɵɵadvance();
|
@@ -876,9 +876,9 @@ function Calendar_div_3_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
876
876
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c21, i_r17 === 0 ? "visible" : "hidden"));
|
877
877
|
i0.ɵɵattribute("aria-label", ctx_r1.prevIconAriaLabel);
|
878
878
|
i0.ɵɵadvance();
|
879
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
879
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.previousIconTemplate && !ctx_r1._previousIconTemplate);
|
880
880
|
i0.ɵɵadvance();
|
881
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
881
|
+
i0.ɵɵproperty("ngIf", ctx_r1.previousIconTemplate || !ctx_r1._previousIconTemplate);
|
882
882
|
i0.ɵɵadvance(2);
|
883
883
|
i0.ɵɵproperty("ngIf", ctx_r1.currentView === "date");
|
884
884
|
i0.ɵɵadvance();
|
@@ -889,9 +889,9 @@ function Calendar_div_3_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
889
889
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(14, _c21, i_r17 === ctx_r1.months.length - 1 ? "visible" : "hidden"));
|
890
890
|
i0.ɵɵattribute("aria-label", ctx_r1.nextIconAriaLabel);
|
891
891
|
i0.ɵɵadvance();
|
892
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
892
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && !ctx_r1._decadeTemplate);
|
893
893
|
i0.ɵɵadvance();
|
894
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
894
|
+
i0.ɵɵproperty("ngIf", ctx_r1.nextIconTemplate || !ctx_r1._nextIconTemplate);
|
895
895
|
i0.ɵɵadvance();
|
896
896
|
i0.ɵɵproperty("ngIf", ctx_r1.currentView === "date");
|
897
897
|
} }
|
@@ -1025,7 +1025,7 @@ function Calendar_div_3_div_5_ng_container_23_Template(rf, ctx) { if (rf & 1) {
|
|
1025
1025
|
} if (rf & 2) {
|
1026
1026
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
1027
1027
|
i0.ɵɵadvance();
|
1028
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1028
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1029
1029
|
} }
|
1030
1030
|
function Calendar_div_3_div_5_div_24_Template(rf, ctx) { if (rf & 1) {
|
1031
1031
|
i0.ɵɵelementStart(0, "div", 61)(1, "span");
|
@@ -1074,9 +1074,9 @@ function Calendar_div_3_div_5_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
1074
1074
|
i0.ɵɵadvance();
|
1075
1075
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextSecond"));
|
1076
1076
|
i0.ɵɵadvance();
|
1077
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1077
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1078
1078
|
i0.ɵɵadvance();
|
1079
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1079
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
|
1080
1080
|
i0.ɵɵadvance(2);
|
1081
1081
|
i0.ɵɵproperty("ngIf", ctx_r1.currentSecond < 10);
|
1082
1082
|
i0.ɵɵadvance();
|
@@ -1084,9 +1084,9 @@ function Calendar_div_3_div_5_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
1084
1084
|
i0.ɵɵadvance();
|
1085
1085
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevSecond"));
|
1086
1086
|
i0.ɵɵadvance();
|
1087
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1087
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1088
1088
|
i0.ɵɵadvance();
|
1089
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1089
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1090
1090
|
} }
|
1091
1091
|
function Calendar_div_3_div_5_div_26_Template(rf, ctx) { if (rf & 1) {
|
1092
1092
|
i0.ɵɵelementStart(0, "div", 61)(1, "span");
|
@@ -1129,17 +1129,17 @@ function Calendar_div_3_div_5_div_27_Template(rf, ctx) { if (rf & 1) {
|
|
1129
1129
|
i0.ɵɵadvance();
|
1130
1130
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("am"));
|
1131
1131
|
i0.ɵɵadvance();
|
1132
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1132
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1133
1133
|
i0.ɵɵadvance();
|
1134
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1134
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
|
1135
1135
|
i0.ɵɵadvance(2);
|
1136
1136
|
i0.ɵɵtextInterpolate(ctx_r1.pm ? "PM" : "AM");
|
1137
1137
|
i0.ɵɵadvance();
|
1138
1138
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("pm"));
|
1139
1139
|
i0.ɵɵadvance();
|
1140
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1140
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1141
1141
|
i0.ɵɵadvance();
|
1142
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1142
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1143
1143
|
} }
|
1144
1144
|
function Calendar_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
1145
1145
|
const _r24 = i0.ɵɵgetCurrentView();
|
@@ -1177,9 +1177,9 @@ function Calendar_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1177
1177
|
i0.ɵɵadvance(2);
|
1178
1178
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextHour"));
|
1179
1179
|
i0.ɵɵadvance();
|
1180
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1180
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1181
1181
|
i0.ɵɵadvance();
|
1182
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1182
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
|
1183
1183
|
i0.ɵɵadvance(2);
|
1184
1184
|
i0.ɵɵproperty("ngIf", ctx_r1.currentHour < 10);
|
1185
1185
|
i0.ɵɵadvance();
|
@@ -1187,17 +1187,17 @@ function Calendar_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1187
1187
|
i0.ɵɵadvance();
|
1188
1188
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevHour"));
|
1189
1189
|
i0.ɵɵadvance();
|
1190
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1190
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1191
1191
|
i0.ɵɵadvance();
|
1192
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1192
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1193
1193
|
i0.ɵɵadvance(3);
|
1194
1194
|
i0.ɵɵtextInterpolate(ctx_r1.timeSeparator);
|
1195
1195
|
i0.ɵɵadvance(2);
|
1196
1196
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextMinute"));
|
1197
1197
|
i0.ɵɵadvance();
|
1198
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1198
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1199
1199
|
i0.ɵɵadvance();
|
1200
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1200
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
|
1201
1201
|
i0.ɵɵadvance(2);
|
1202
1202
|
i0.ɵɵproperty("ngIf", ctx_r1.currentMinute < 10);
|
1203
1203
|
i0.ɵɵadvance();
|
@@ -1205,9 +1205,9 @@ function Calendar_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1205
1205
|
i0.ɵɵadvance();
|
1206
1206
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevMinute"));
|
1207
1207
|
i0.ɵɵadvance();
|
1208
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1208
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1209
1209
|
i0.ɵɵadvance();
|
1210
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
1210
|
+
i0.ɵɵproperty("ngIf", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1211
1211
|
i0.ɵɵadvance();
|
1212
1212
|
i0.ɵɵproperty("ngIf", ctx_r1.showSeconds);
|
1213
1213
|
i0.ɵɵadvance();
|
@@ -1250,7 +1250,7 @@ function Calendar_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
1250
1250
|
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);
|
1251
1251
|
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");
|
1252
1252
|
i0.ɵɵadvance(3);
|
1253
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1253
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
|
1254
1254
|
i0.ɵɵadvance();
|
1255
1255
|
i0.ɵɵproperty("ngIf", !ctx_r1.timeOnly);
|
1256
1256
|
i0.ɵɵadvance();
|
@@ -1258,7 +1258,7 @@ function Calendar_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
1258
1258
|
i0.ɵɵadvance();
|
1259
1259
|
i0.ɵɵproperty("ngIf", ctx_r1.showButtonBar);
|
1260
1260
|
i0.ɵɵadvance(2);
|
1261
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1261
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
|
1262
1262
|
} }
|
1263
1263
|
const CALENDAR_VALUE_ACCESSOR = {
|
1264
1264
|
provide: NG_VALUE_ACCESSOR,
|
@@ -1787,57 +1787,57 @@ class Calendar extends BaseComponent {
|
|
1787
1787
|
* Custom template for header section.
|
1788
1788
|
* @group Templates
|
1789
1789
|
*/
|
1790
|
-
|
1790
|
+
headerTemplate;
|
1791
1791
|
/**
|
1792
1792
|
* Custom template for footer section.
|
1793
1793
|
* @group Templates
|
1794
1794
|
*/
|
1795
|
-
|
1795
|
+
footerTemplate;
|
1796
1796
|
/**
|
1797
1797
|
* Custom template for disabled date cells.
|
1798
1798
|
* @group Templates
|
1799
1799
|
*/
|
1800
|
-
|
1800
|
+
disabledDateTemplate;
|
1801
1801
|
/**
|
1802
1802
|
* Custom template for decade view.
|
1803
1803
|
* @group Templates
|
1804
1804
|
*/
|
1805
|
-
|
1805
|
+
decadeTemplate;
|
1806
1806
|
/**
|
1807
1807
|
* Custom template for previous month icon.
|
1808
1808
|
* @group Templates
|
1809
1809
|
*/
|
1810
|
-
|
1810
|
+
previousIconTemplate;
|
1811
1811
|
/**
|
1812
1812
|
* Custom template for next month icon.
|
1813
1813
|
* @group Templates
|
1814
1814
|
*/
|
1815
|
-
|
1815
|
+
nextIconTemplate;
|
1816
1816
|
/**
|
1817
1817
|
* Custom template for trigger icon.
|
1818
1818
|
* @group Templates
|
1819
1819
|
*/
|
1820
|
-
|
1820
|
+
triggerIconTemplate;
|
1821
1821
|
/**
|
1822
1822
|
* Custom template for clear icon.
|
1823
1823
|
* @group Templates
|
1824
1824
|
*/
|
1825
|
-
|
1825
|
+
clearIconTemplate;
|
1826
1826
|
/**
|
1827
1827
|
* Custom template for decrement icon.
|
1828
1828
|
* @group Templates
|
1829
1829
|
*/
|
1830
|
-
|
1830
|
+
decrementIconTemplate;
|
1831
1831
|
/**
|
1832
1832
|
* Custom template for increment icon.
|
1833
1833
|
* @group Templates
|
1834
1834
|
*/
|
1835
|
-
|
1835
|
+
incrementIconTemplate;
|
1836
1836
|
/**
|
1837
1837
|
* Custom template for input icon.
|
1838
1838
|
* @group Templates
|
1839
1839
|
*/
|
1840
|
-
|
1840
|
+
inputIconTemplate;
|
1841
1841
|
containerViewChild;
|
1842
1842
|
inputfieldViewChild;
|
1843
1843
|
set content(content) {
|
@@ -1854,6 +1854,18 @@ class Calendar extends BaseComponent {
|
|
1854
1854
|
}
|
1855
1855
|
}
|
1856
1856
|
}
|
1857
|
+
_dateTemplate;
|
1858
|
+
_headerTemplate;
|
1859
|
+
_footerTemplate;
|
1860
|
+
_disabledDateTemplate;
|
1861
|
+
_decadeTemplate;
|
1862
|
+
_previousIconTemplate;
|
1863
|
+
_nextIconTemplate;
|
1864
|
+
_triggerIconTemplate;
|
1865
|
+
_clearIconTemplate;
|
1866
|
+
_decrementIconTemplate;
|
1867
|
+
_incrementIconTemplate;
|
1868
|
+
_inputIconTemplate;
|
1857
1869
|
_componentStyle = inject(CalendarStyle);
|
1858
1870
|
contentViewChild;
|
1859
1871
|
value;
|
@@ -1979,6 +1991,52 @@ class Calendar extends BaseComponent {
|
|
1979
1991
|
}
|
1980
1992
|
}
|
1981
1993
|
}
|
1994
|
+
templates;
|
1995
|
+
ngAfterContentInit() {
|
1996
|
+
this.templates.forEach((item) => {
|
1997
|
+
switch (item.getType()) {
|
1998
|
+
case 'date':
|
1999
|
+
this._dateTemplate = item.template;
|
2000
|
+
break;
|
2001
|
+
case 'decade':
|
2002
|
+
this._decadeTemplate = item.template;
|
2003
|
+
break;
|
2004
|
+
case 'disabledDate':
|
2005
|
+
this._disabledDateTemplate = item.template;
|
2006
|
+
break;
|
2007
|
+
case 'header':
|
2008
|
+
this._headerTemplate = item.template;
|
2009
|
+
break;
|
2010
|
+
case 'inputicon':
|
2011
|
+
this._inputIconTemplate = item.template;
|
2012
|
+
break;
|
2013
|
+
case 'previousicon':
|
2014
|
+
this._previousIconTemplate = item.template;
|
2015
|
+
break;
|
2016
|
+
case 'nexticon':
|
2017
|
+
this._nextIconTemplate = item.template;
|
2018
|
+
break;
|
2019
|
+
case 'triggericon':
|
2020
|
+
this._triggerIconTemplate = item.template;
|
2021
|
+
break;
|
2022
|
+
case 'clearicon':
|
2023
|
+
this._clearIconTemplate = item.template;
|
2024
|
+
break;
|
2025
|
+
case 'decrementicon':
|
2026
|
+
this._decrementIconTemplate = item.template;
|
2027
|
+
break;
|
2028
|
+
case 'incrementicon':
|
2029
|
+
this._incrementIconTemplate = item.template;
|
2030
|
+
break;
|
2031
|
+
case 'footer':
|
2032
|
+
this._footerTemplate = item.template;
|
2033
|
+
break;
|
2034
|
+
default:
|
2035
|
+
this._dateTemplate = item.template;
|
2036
|
+
break;
|
2037
|
+
}
|
2038
|
+
});
|
2039
|
+
}
|
1982
2040
|
getTranslation(option) {
|
1983
2041
|
return this.config.getTranslation(option);
|
1984
2042
|
}
|
@@ -4202,32 +4260,34 @@ class Calendar extends BaseComponent {
|
|
4202
4260
|
}
|
4203
4261
|
static ɵfac = function Calendar_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Calendar)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.OverlayService)); };
|
4204
4262
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Calendar, selectors: [["p-calendar"]], contentQueries: function Calendar_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
4205
|
-
i0.ɵɵcontentQuery(dirIndex, _c0,
|
4206
|
-
i0.ɵɵcontentQuery(dirIndex, _c1,
|
4207
|
-
i0.ɵɵcontentQuery(dirIndex, _c2,
|
4208
|
-
i0.ɵɵcontentQuery(dirIndex, _c3,
|
4209
|
-
i0.ɵɵcontentQuery(dirIndex, _c4,
|
4210
|
-
i0.ɵɵcontentQuery(dirIndex, _c5,
|
4211
|
-
i0.ɵɵcontentQuery(dirIndex, _c6,
|
4212
|
-
i0.ɵɵcontentQuery(dirIndex, _c7,
|
4213
|
-
i0.ɵɵcontentQuery(dirIndex, _c8,
|
4214
|
-
i0.ɵɵcontentQuery(dirIndex, _c9,
|
4215
|
-
i0.ɵɵcontentQuery(dirIndex, _c10,
|
4216
|
-
i0.ɵɵcontentQuery(dirIndex, _c11,
|
4263
|
+
i0.ɵɵcontentQuery(dirIndex, _c0, 4);
|
4264
|
+
i0.ɵɵcontentQuery(dirIndex, _c1, 4);
|
4265
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 4);
|
4266
|
+
i0.ɵɵcontentQuery(dirIndex, _c3, 4);
|
4267
|
+
i0.ɵɵcontentQuery(dirIndex, _c4, 4);
|
4268
|
+
i0.ɵɵcontentQuery(dirIndex, _c5, 4);
|
4269
|
+
i0.ɵɵcontentQuery(dirIndex, _c6, 4);
|
4270
|
+
i0.ɵɵcontentQuery(dirIndex, _c7, 4);
|
4271
|
+
i0.ɵɵcontentQuery(dirIndex, _c8, 4);
|
4272
|
+
i0.ɵɵcontentQuery(dirIndex, _c9, 4);
|
4273
|
+
i0.ɵɵcontentQuery(dirIndex, _c10, 4);
|
4274
|
+
i0.ɵɵcontentQuery(dirIndex, _c11, 4);
|
4275
|
+
i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
|
4217
4276
|
} if (rf & 2) {
|
4218
4277
|
let _t;
|
4219
4278
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dateTemplate = _t.first);
|
4220
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4221
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4222
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4223
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4224
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4225
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4226
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4227
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4228
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4229
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4230
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4279
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
|
4280
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
|
4281
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.disabledDateTemplate = _t.first);
|
4282
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decadeTemplate = _t.first);
|
4283
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.previousIconTemplate = _t.first);
|
4284
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nextIconTemplate = _t.first);
|
4285
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.triggerIconTemplate = _t.first);
|
4286
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);
|
4287
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decrementIconTemplate = _t.first);
|
4288
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.incrementIconTemplate = _t.first);
|
4289
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputIconTemplate = _t.first);
|
4290
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
|
4231
4291
|
} }, viewQuery: function Calendar_Query(rf, ctx) { if (rf & 1) {
|
4232
4292
|
i0.ɵɵviewQuery(_c12, 5);
|
4233
4293
|
i0.ɵɵviewQuery(_c13, 5);
|
@@ -4311,9 +4371,9 @@ class Calendar extends BaseComponent {
|
|
4311
4371
|
[fluid]="hasFluid"
|
4312
4372
|
/>
|
4313
4373
|
<ng-container *ngIf="showClear && !disabled && value != null">
|
4314
|
-
<TimesIcon *ngIf="!
|
4315
|
-
<span *ngIf="
|
4316
|
-
<ng-template *ngTemplateOutlet="
|
4374
|
+
<TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [class]="'p-datepicker-clear-icon'" (click)="clear()" />
|
4375
|
+
<span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-datepicker-clear-icon" (click)="clear()">
|
4376
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
|
4317
4377
|
</span>
|
4318
4378
|
</ng-container>
|
4319
4379
|
<button
|
@@ -4330,21 +4390,21 @@ class Calendar extends BaseComponent {
|
|
4330
4390
|
>
|
4331
4391
|
<span *ngIf="icon" [ngClass]="icon"></span>
|
4332
4392
|
<ng-container *ngIf="!icon">
|
4333
|
-
<CalendarIcon *ngIf="!
|
4334
|
-
<ng-template *ngTemplateOutlet="
|
4393
|
+
<CalendarIcon *ngIf="!triggerIconTemplate && !_triggerIconTemplate" />
|
4394
|
+
<ng-template *ngTemplateOutlet="triggerIconTemplate || _triggerIconTemplate"></ng-template>
|
4335
4395
|
</ng-container>
|
4336
4396
|
</button>
|
4337
4397
|
<ng-container *ngIf="iconDisplay === 'input' && showIcon">
|
4338
4398
|
<span class="p-datepicker-input-icon-container">
|
4339
4399
|
<CalendarIcon
|
4340
4400
|
(click)="onButtonClick($event)"
|
4341
|
-
*ngIf="!
|
4401
|
+
*ngIf="!inputIconTemplate && !_inputIconTemplate"
|
4342
4402
|
[ngClass]="{
|
4343
4403
|
'p-datepicker-input-icon': showOnFocus
|
4344
4404
|
}"
|
4345
4405
|
/>
|
4346
4406
|
|
4347
|
-
<ng-container *ngTemplateOutlet="
|
4407
|
+
<ng-container *ngTemplateOutlet="inputIconTemplate || _inputIconTemplate; context: { clickCallBack: onButtonClick.bind(this) }"></ng-container>
|
4348
4408
|
</span>
|
4349
4409
|
</ng-container>
|
4350
4410
|
</ng-template>
|
@@ -4368,7 +4428,7 @@ class Calendar extends BaseComponent {
|
|
4368
4428
|
*ngIf="inline || overlayVisible"
|
4369
4429
|
>
|
4370
4430
|
<ng-content select="p-header"></ng-content>
|
4371
|
-
<ng-container *ngTemplateOutlet="
|
4431
|
+
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
|
4372
4432
|
<ng-container *ngIf="!timeOnly">
|
4373
4433
|
<div class="p-datepicker-calendar-container">
|
4374
4434
|
<div class="p-datepicker-calendar" *ngFor="let month of months; let i = index">
|
@@ -4384,9 +4444,9 @@ class Calendar extends BaseComponent {
|
|
4384
4444
|
type="button"
|
4385
4445
|
[attr.aria-label]="prevIconAriaLabel"
|
4386
4446
|
>
|
4387
|
-
<ChevronLeftIcon *ngIf="!
|
4388
|
-
<span *ngIf="
|
4389
|
-
<ng-template *ngTemplateOutlet="
|
4447
|
+
<ChevronLeftIcon *ngIf="!previousIconTemplate && !_previousIconTemplate" />
|
4448
|
+
<span *ngIf="previousIconTemplate || !_previousIconTemplate">
|
4449
|
+
<ng-template *ngTemplateOutlet="previousIconTemplate || _previousIconTemplate"></ng-template>
|
4390
4450
|
</span>
|
4391
4451
|
</p-button>
|
4392
4452
|
<div class="p-datepicker-title">
|
@@ -4415,8 +4475,8 @@ class Calendar extends BaseComponent {
|
|
4415
4475
|
{{ getYear(month) }}
|
4416
4476
|
</button>
|
4417
4477
|
<span class="p-datepicker-decade" *ngIf="currentView === 'year'">
|
4418
|
-
<ng-container *ngIf="!
|
4419
|
-
<ng-container *ngTemplateOutlet="
|
4478
|
+
<ng-container *ngIf="!decadeTemplate && _decadeTemplate">{{ yearPickerValues()[0] }} - {{ yearPickerValues()[yearPickerValues().length - 1] }}</ng-container>
|
4479
|
+
<ng-container *ngTemplateOutlet="decadeTemplate || _decadeTemplate; context: { $implicit: yearPickerValues }"></ng-container>
|
4420
4480
|
</span>
|
4421
4481
|
</div>
|
4422
4482
|
<p-button
|
@@ -4429,10 +4489,10 @@ class Calendar extends BaseComponent {
|
|
4429
4489
|
[ngStyle]="{ visibility: i === months.length - 1 ? 'visible' : 'hidden' }"
|
4430
4490
|
[attr.aria-label]="nextIconAriaLabel"
|
4431
4491
|
>
|
4432
|
-
<ChevronRightIcon *ngIf="!
|
4492
|
+
<ChevronRightIcon *ngIf="!decadeTemplate && !_decadeTemplate" />
|
4433
4493
|
|
4434
|
-
<span *ngIf="
|
4435
|
-
<ng-template *ngTemplateOutlet="
|
4494
|
+
<span *ngIf="nextIconTemplate || !_nextIconTemplate">
|
4495
|
+
<ng-template *ngTemplateOutlet="nextIconTemplate || !_nextIconTemplate"></ng-template>
|
4436
4496
|
</span>
|
4437
4497
|
</p-button>
|
4438
4498
|
</div>
|
@@ -4472,12 +4532,12 @@ class Calendar extends BaseComponent {
|
|
4472
4532
|
(keydown)="onDateCellKeydown($event, date, i)"
|
4473
4533
|
pRipple
|
4474
4534
|
>
|
4475
|
-
<ng-container *ngIf="!
|
4476
|
-
<ng-container *ngIf="date.selectable || !
|
4477
|
-
<ng-container *ngTemplateOutlet="dateTemplate; context: { $implicit: date }"></ng-container>
|
4535
|
+
<ng-container *ngIf="!dateTemplate && !_dateTemplate && (date.selectable || (!disabledDateTemplate && !_disabledDateTemplate))">{{ date.day }}</ng-container>
|
4536
|
+
<ng-container *ngIf="date.selectable || (!disabledDateTemplate && !_disabledDateTemplate)">
|
4537
|
+
<ng-container *ngTemplateOutlet="dateTemplate || _dateTemplate; context: { $implicit: date }"></ng-container>
|
4478
4538
|
</ng-container>
|
4479
4539
|
<ng-container *ngIf="!date.selectable">
|
4480
|
-
<ng-container *ngTemplateOutlet="
|
4540
|
+
<ng-container *ngTemplateOutlet="disabledDateTemplate || _disabledDateTemplate; context: { $implicit: date }"></ng-container>
|
4481
4541
|
</ng-container>
|
4482
4542
|
</span>
|
4483
4543
|
<div *ngIf="isSelected(date)" class="p-hidden-accessible" aria-live="polite">
|
@@ -4544,9 +4604,9 @@ class Calendar extends BaseComponent {
|
|
4544
4604
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4545
4605
|
[attr.aria-label]="getTranslation('nextHour')"
|
4546
4606
|
>
|
4547
|
-
<ChevronUpIcon *ngIf="!
|
4607
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4548
4608
|
|
4549
|
-
<ng-template *ngTemplateOutlet="
|
4609
|
+
<ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
|
4550
4610
|
</p-button>
|
4551
4611
|
<span><ng-container *ngIf="currentHour < 10">0</ng-container>{{ currentHour }}</span>
|
4552
4612
|
<p-button
|
@@ -4564,9 +4624,9 @@ class Calendar extends BaseComponent {
|
|
4564
4624
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4565
4625
|
[attr.aria-label]="getTranslation('prevHour')"
|
4566
4626
|
>
|
4567
|
-
<ChevronDownIcon *ngIf="!
|
4627
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4568
4628
|
|
4569
|
-
<ng-template *ngTemplateOutlet="
|
4629
|
+
<ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
|
4570
4630
|
</p-button>
|
4571
4631
|
</div>
|
4572
4632
|
<div class="p-datepicker-separator">
|
@@ -4588,9 +4648,9 @@ class Calendar extends BaseComponent {
|
|
4588
4648
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4589
4649
|
[attr.aria-label]="getTranslation('nextMinute')"
|
4590
4650
|
>
|
4591
|
-
<ChevronUpIcon *ngIf="!
|
4651
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4592
4652
|
|
4593
|
-
<ng-template *ngTemplateOutlet="
|
4653
|
+
<ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
|
4594
4654
|
</p-button>
|
4595
4655
|
<span><ng-container *ngIf="currentMinute < 10">0</ng-container>{{ currentMinute }}</span>
|
4596
4656
|
<p-button
|
@@ -4608,9 +4668,9 @@ class Calendar extends BaseComponent {
|
|
4608
4668
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4609
4669
|
[attr.aria-label]="getTranslation('prevMinute')"
|
4610
4670
|
>
|
4611
|
-
<ChevronDownIcon *ngIf="!
|
4612
|
-
<ng-container *ngIf="
|
4613
|
-
<ng-template *ngTemplateOutlet="
|
4671
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4672
|
+
<ng-container *ngIf="decrementIconTemplate || _decrementIconTemplate">
|
4673
|
+
<ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
|
4614
4674
|
</ng-container>
|
4615
4675
|
</p-button>
|
4616
4676
|
</div>
|
@@ -4633,9 +4693,9 @@ class Calendar extends BaseComponent {
|
|
4633
4693
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4634
4694
|
[attr.aria-label]="getTranslation('nextSecond')"
|
4635
4695
|
>
|
4636
|
-
<ChevronUpIcon *ngIf="!
|
4696
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4637
4697
|
|
4638
|
-
<ng-template *ngTemplateOutlet="
|
4698
|
+
<ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
|
4639
4699
|
</p-button>
|
4640
4700
|
<span><ng-container *ngIf="currentSecond < 10">0</ng-container>{{ currentSecond }}</span>
|
4641
4701
|
<p-button
|
@@ -4653,9 +4713,9 @@ class Calendar extends BaseComponent {
|
|
4653
4713
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4654
4714
|
[attr.aria-label]="getTranslation('prevSecond')"
|
4655
4715
|
>
|
4656
|
-
<ChevronDownIcon *ngIf="!
|
4716
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4657
4717
|
|
4658
|
-
<ng-template *ngTemplateOutlet="
|
4718
|
+
<ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
|
4659
4719
|
</p-button>
|
4660
4720
|
</div>
|
4661
4721
|
<div class="p-datepicker-separator" *ngIf="hourFormat == '12'">
|
@@ -4672,8 +4732,8 @@ class Calendar extends BaseComponent {
|
|
4672
4732
|
(keydown.enter)="toggleAMPM($event)"
|
4673
4733
|
[attr.aria-label]="getTranslation('am')"
|
4674
4734
|
>
|
4675
|
-
<ChevronUpIcon *ngIf="!
|
4676
|
-
<ng-template *ngTemplateOutlet="
|
4735
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4736
|
+
<ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
|
4677
4737
|
</p-button>
|
4678
4738
|
<span>{{ pm ? 'PM' : 'AM' }}</span>
|
4679
4739
|
<p-button
|
@@ -4686,8 +4746,8 @@ class Calendar extends BaseComponent {
|
|
4686
4746
|
(keydown.enter)="toggleAMPM($event)"
|
4687
4747
|
[attr.aria-label]="getTranslation('pm')"
|
4688
4748
|
>
|
4689
|
-
<ChevronDownIcon *ngIf="!
|
4690
|
-
<ng-template *ngTemplateOutlet="
|
4749
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4750
|
+
<ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
|
4691
4751
|
</p-button>
|
4692
4752
|
</div>
|
4693
4753
|
</div>
|
@@ -4696,7 +4756,7 @@ class Calendar extends BaseComponent {
|
|
4696
4756
|
<p-button size="small" styleClass="p-datepicker-clear-button" [label]="getTranslation('clear')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onClearButtonClick($event)" [ngClass]="[clearButtonStyleClass]" />
|
4697
4757
|
</div>
|
4698
4758
|
<ng-content select="p-footer"></ng-content>
|
4699
|
-
<ng-container *ngTemplateOutlet="
|
4759
|
+
<ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
|
4700
4760
|
</div>
|
4701
4761
|
</span>
|
4702
4762
|
`,
|
@@ -4913,40 +4973,40 @@ class Calendar extends BaseComponent {
|
|
4913
4973
|
type: Output
|
4914
4974
|
}], dateTemplate: [{
|
4915
4975
|
type: ContentChild,
|
4916
|
-
args: ['date']
|
4917
|
-
}],
|
4976
|
+
args: ['date', { descendants: false }]
|
4977
|
+
}], headerTemplate: [{
|
4918
4978
|
type: ContentChild,
|
4919
|
-
args: ['header']
|
4920
|
-
}],
|
4979
|
+
args: ['header', { descendants: false }]
|
4980
|
+
}], footerTemplate: [{
|
4921
4981
|
type: ContentChild,
|
4922
|
-
args: ['footer']
|
4923
|
-
}],
|
4982
|
+
args: ['footer', { descendants: false }]
|
4983
|
+
}], disabledDateTemplate: [{
|
4924
4984
|
type: ContentChild,
|
4925
|
-
args: ['disabledDate']
|
4926
|
-
}],
|
4985
|
+
args: ['disabledDate', { descendants: false }]
|
4986
|
+
}], decadeTemplate: [{
|
4927
4987
|
type: ContentChild,
|
4928
|
-
args: ['decade']
|
4929
|
-
}],
|
4988
|
+
args: ['decade', { descendants: false }]
|
4989
|
+
}], previousIconTemplate: [{
|
4930
4990
|
type: ContentChild,
|
4931
|
-
args: ['previousicon']
|
4932
|
-
}],
|
4991
|
+
args: ['previousicon', { descendants: false }]
|
4992
|
+
}], nextIconTemplate: [{
|
4933
4993
|
type: ContentChild,
|
4934
|
-
args: ['nexticon']
|
4935
|
-
}],
|
4994
|
+
args: ['nexticon', { descendants: false }]
|
4995
|
+
}], triggerIconTemplate: [{
|
4936
4996
|
type: ContentChild,
|
4937
|
-
args: ['triggericon']
|
4938
|
-
}],
|
4997
|
+
args: ['triggericon', { descendants: false }]
|
4998
|
+
}], clearIconTemplate: [{
|
4939
4999
|
type: ContentChild,
|
4940
|
-
args: ['clearicon']
|
4941
|
-
}],
|
5000
|
+
args: ['clearicon', { descendants: false }]
|
5001
|
+
}], decrementIconTemplate: [{
|
4942
5002
|
type: ContentChild,
|
4943
|
-
args: ['decrementicon']
|
4944
|
-
}],
|
5003
|
+
args: ['decrementicon', { descendants: false }]
|
5004
|
+
}], incrementIconTemplate: [{
|
4945
5005
|
type: ContentChild,
|
4946
|
-
args: ['incrementicon']
|
4947
|
-
}],
|
5006
|
+
args: ['incrementicon', { descendants: false }]
|
5007
|
+
}], inputIconTemplate: [{
|
4948
5008
|
type: ContentChild,
|
4949
|
-
args: ['inputicon']
|
5009
|
+
args: ['inputicon', { descendants: false }]
|
4950
5010
|
}], containerViewChild: [{
|
4951
5011
|
type: ViewChild,
|
4952
5012
|
args: ['container', { static: false }]
|
@@ -4956,6 +5016,9 @@ class Calendar extends BaseComponent {
|
|
4956
5016
|
}], content: [{
|
4957
5017
|
type: ViewChild,
|
4958
5018
|
args: ['contentWrapper', { static: false }]
|
5019
|
+
}], templates: [{
|
5020
|
+
type: ContentChildren,
|
5021
|
+
args: [PrimeTemplate]
|
4959
5022
|
}] }); })();
|
4960
5023
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Calendar, { className: "Calendar" }); })();
|
4961
5024
|
class CalendarModule {
|