primeng 18.0.0-rc.2 → 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/LICENSE.md +1 -1
- package/accordion/accordion.d.ts +7 -7
- package/autocomplete/autocomplete.d.ts +26 -13
- 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/config/primeng.d.ts +12 -6
- package/config/provideprimeng.d.ts +1 -12
- package/config/themeprovider.d.ts +10 -4
- package/confirmdialog/confirmdialog.d.ts +15 -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 +227 -168
- package/esm2022/autocomplete/style/autocompletestyle.mjs +5 -4
- 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 +200 -137
- 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/colorpicker/colorpicker.mjs +2 -2
- package/esm2022/config/primeng.mjs +14 -18
- package/esm2022/config/provideprimeng.mjs +11 -3
- package/esm2022/config/themeprovider.mjs +10 -16
- package/esm2022/confirmdialog/confirmdialog.mjs +105 -61
- package/esm2022/confirmpopup/confirmpopup.mjs +57 -29
- package/esm2022/contextmenu/contextmenu.mjs +52 -21
- package/esm2022/datepicker/datepicker.mjs +200 -159
- package/esm2022/dialog/dialog.mjs +113 -67
- package/esm2022/divider/divider.mjs +2 -4
- package/esm2022/dock/dock.mjs +31 -13
- package/esm2022/drawer/drawer.mjs +115 -73
- package/esm2022/dropdown/dropdown.mjs +13 -5
- package/esm2022/dynamicdialog/dialogservice.mjs +2 -2
- 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 +114 -67
- package/esm2022/imagecompare/imagecompare.mjs +31 -11
- package/esm2022/inplace/inplace.mjs +49 -24
- package/esm2022/inputmask/inputmask.mjs +33 -17
- package/esm2022/inputmask/style/inputmaskstyle.mjs +2 -2
- package/esm2022/inputnumber/inputnumber.mjs +58 -50
- package/esm2022/inputotp/inputotp.mjs +33 -14
- package/esm2022/inputtext/inputtext.mjs +11 -10
- package/esm2022/listbox/listbox.mjs +137 -78
- package/esm2022/megamenu/megamenu.mjs +105 -59
- package/esm2022/menu/menu.mjs +27 -27
- 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/multiselect/style/multiselectstyle.mjs +1 -4
- package/esm2022/orderlist/orderlist.mjs +125 -70
- package/esm2022/organizationchart/organizationchart.mjs +30 -14
- package/esm2022/overlay/overlay.mjs +27 -7
- package/esm2022/overlay/style/overlaystyle.mjs +2 -2
- package/esm2022/overlaypanel/overlaypanel.mjs +34 -11
- 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 +114 -52
- package/esm2022/picklist/picklist.mjs +397 -269
- package/esm2022/popover/popover.mjs +30 -13
- package/esm2022/progressbar/progressbar.mjs +27 -9
- package/esm2022/rating/rating.mjs +46 -22
- package/esm2022/ripple/ripple.mjs +5 -2
- 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 +202 -122
- package/esm2022/select/style/selectstyle.mjs +2 -5
- package/esm2022/selectbutton/selectbutton.mjs +26 -11
- package/esm2022/sidebar/sidebar.mjs +83 -61
- package/esm2022/speeddial/speeddial.mjs +54 -29
- package/esm2022/splitbutton/splitbutton.mjs +41 -18
- package/esm2022/splitter/splitter.mjs +29 -19
- package/esm2022/splitter/style/splitterstyle.mjs +5 -4
- package/esm2022/stepper/stepper.mjs +27 -13
- package/esm2022/table/table.mjs +6368 -6510
- 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/textarea/textarea.mjs +9 -9
- package/esm2022/tieredmenu/tieredmenu.mjs +45 -22
- 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 +36 -71
- package/esm2022/tree/style/treestyle.mjs +13 -3
- package/esm2022/tree/tree.mjs +193 -137
- package/esm2022/treeselect/style/treeselectstyle.mjs +1 -4
- package/esm2022/treeselect/treeselect.mjs +157 -90
- 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 +230 -170
- 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 +199 -136
- 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-colorpicker.mjs +1 -1
- package/fesm2022/primeng-colorpicker.mjs.map +1 -1
- package/fesm2022/primeng-config.mjs +38 -39
- package/fesm2022/primeng-config.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +104 -60
- 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 +51 -20
- package/fesm2022/primeng-contextmenu.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +199 -158
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +112 -66
- 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 +114 -72
- 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 +21 -17
- 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 +113 -66
- 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 +33 -17
- package/fesm2022/primeng-inputmask.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +57 -49
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +32 -13
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-inputtext.mjs +10 -9
- package/fesm2022/primeng-inputtext.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 +26 -26
- 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 -158
- 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 +27 -7
- package/fesm2022/primeng-overlay.mjs.map +1 -1
- package/fesm2022/primeng-overlaypanel.mjs +33 -10
- 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 +113 -51
- package/fesm2022/primeng-password.mjs.map +1 -1
- package/fesm2022/primeng-picklist.mjs +396 -268
- package/fesm2022/primeng-picklist.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +29 -12
- 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-ripple.mjs +4 -1
- package/fesm2022/primeng-ripple.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 +202 -125
- 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 +82 -60
- 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 +32 -21
- 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 +6370 -6512
- 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-textarea.mjs +8 -8
- package/fesm2022/primeng-textarea.mjs.map +1 -1
- package/fesm2022/primeng-tieredmenu.mjs +44 -21
- 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 +36 -71
- package/fesm2022/primeng-tooltip.mjs.map +1 -1
- package/fesm2022/primeng-tree.mjs +204 -138
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treeselect.mjs +156 -92
- 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/inputtext/inputtext.d.ts +2 -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 +233 -233
- 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 +20 -8
- 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 +6 -7
- package/splitter/style/splitterstyle.d.ts +0 -13
- package/stepper/stepper.d.ts +8 -3
- package/table/table.d.ts +928 -1030
- 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/textarea/textarea.d.ts +2 -2
- 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/style/treestyle.d.ts +1 -1
- package/tree/tree.d.ts +25 -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, 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.
|
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.
|
737
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.clearIconTemplate && !ctx_r1._clearIconTemplate);
|
737
738
|
i0.ɵɵadvance();
|
738
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
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.
|
761
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.triggerIconTemplate && !ctx_r1._triggerIconTemplate);
|
761
762
|
i0.ɵɵadvance();
|
762
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
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.
|
802
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.inputIconTemplate && !ctx_r1._inputIconTemplate);
|
802
803
|
i0.ɵɵadvance();
|
803
|
-
i0.ɵɵproperty("ngTemplateOutlet", 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
|
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)
|
816
|
-
i0.ɵɵattribute("id", ctx_r1.inputId)("name", ctx_r1.name)("required", ctx_r1.required)("aria-required", ctx_r1.required)("aria-expanded", (
|
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.
|
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.
|
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.
|
1070
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.previousIconTemplate && !ctx_r1._previousIconTemplate);
|
1070
1071
|
i0.ɵɵadvance();
|
1071
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
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.
|
1083
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && !ctx_r1._decadeTemplate);
|
1083
1084
|
i0.ɵɵadvance();
|
1084
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
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.
|
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.
|
1268
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1268
1269
|
i0.ɵɵadvance();
|
1269
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
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.
|
1278
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1278
1279
|
i0.ɵɵadvance();
|
1279
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
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.
|
1323
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1323
1324
|
i0.ɵɵadvance();
|
1324
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
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.
|
1331
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1331
1332
|
i0.ɵɵadvance();
|
1332
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
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.
|
1371
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1371
1372
|
i0.ɵɵadvance();
|
1372
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
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.
|
1381
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1381
1382
|
i0.ɵɵadvance();
|
1382
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
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.
|
1389
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1389
1390
|
i0.ɵɵadvance();
|
1390
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
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.
|
1399
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1399
1400
|
i0.ɵɵadvance();
|
1400
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
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,
|
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.ɵɵ
|
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
|
-
|
2059
|
+
previousIconTemplate;
|
2060
2060
|
/**
|
2061
2061
|
* Custom template for next month icon.
|
2062
2062
|
* @group Templates
|
2063
2063
|
*/
|
2064
|
-
|
2064
|
+
nextIconTemplate;
|
2065
2065
|
/**
|
2066
2066
|
* Custom template for trigger icon.
|
2067
2067
|
* @group Templates
|
2068
2068
|
*/
|
2069
|
-
|
2069
|
+
triggerIconTemplate;
|
2070
2070
|
/**
|
2071
2071
|
* Custom template for clear icon.
|
2072
2072
|
* @group Templates
|
2073
2073
|
*/
|
2074
|
-
|
2074
|
+
clearIconTemplate;
|
2075
2075
|
/**
|
2076
2076
|
* Custom template for decrement icon.
|
2077
2077
|
* @group Templates
|
2078
2078
|
*/
|
2079
|
-
|
2079
|
+
decrementIconTemplate;
|
2080
2080
|
/**
|
2081
2081
|
* Custom template for increment icon.
|
2082
2082
|
* @group Templates
|
2083
2083
|
*/
|
2084
|
-
|
2084
|
+
incrementIconTemplate;
|
2085
2085
|
/**
|
2086
2086
|
* Custom template for input icon.
|
2087
2087
|
* @group Templates
|
2088
2088
|
*/
|
2089
|
-
|
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
|
}
|
@@ -3846,7 +3904,7 @@ class DatePicker extends BaseComponent {
|
|
3846
3904
|
if (this.appendTo === 'body')
|
3847
3905
|
this.document.body.appendChild(this.overlay);
|
3848
3906
|
else
|
3849
|
-
appendChild(this.
|
3907
|
+
appendChild(this.appendTo, this.overlay);
|
3850
3908
|
}
|
3851
3909
|
}
|
3852
3910
|
restoreOverlayAppend() {
|
@@ -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,
|
4408
|
-
i0.ɵɵcontentQuery(dirIndex, _c1,
|
4409
|
-
i0.ɵɵcontentQuery(dirIndex, _c2,
|
4410
|
-
i0.ɵɵcontentQuery(dirIndex, _c3,
|
4411
|
-
i0.ɵɵcontentQuery(dirIndex, _c4,
|
4412
|
-
i0.ɵɵcontentQuery(dirIndex, _c5,
|
4413
|
-
i0.ɵɵcontentQuery(dirIndex, _c6,
|
4414
|
-
i0.ɵɵcontentQuery(dirIndex, _c7,
|
4415
|
-
i0.ɵɵcontentQuery(dirIndex, _c8,
|
4416
|
-
i0.ɵɵcontentQuery(dirIndex, _c9,
|
4417
|
-
i0.ɵɵcontentQuery(dirIndex, _c10,
|
4418
|
-
i0.ɵɵcontentQuery(dirIndex, _c11,
|
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.
|
4427
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4428
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4429
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4430
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4431
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
4432
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.
|
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" }, standalone: true, features: [i0.ɵɵProvidersFeature([DATEPICKER_VALUE_ACCESSOR, DatePickerStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c16, decls: 4, vars: 6, consts: [["container", ""], ["inputfield", ""], ["contentWrapper", ""], [3, "ngClass", "ngStyle"], [3, "ngIf"], [3, "class", "ngStyle", "ngClass", "
|
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" }, standalone: true, features: [i0.ɵɵProvidersFeature([DATEPICKER_VALUE_ACCESSOR, DatePickerStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], 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,
|
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
|
-
[size]="size"
|
4515
4574
|
/>
|
4516
4575
|
<ng-container *ngIf="showClear && !disabled && value != null">
|
4517
|
-
<TimesIcon *ngIf="!
|
4518
|
-
<span *ngIf="
|
4519
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4537
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4603
|
+
*ngIf="!inputIconTemplate && !_inputIconTemplate"
|
4545
4604
|
[ngClass]="{
|
4546
4605
|
'p-datepicker-input-icon': showOnFocus
|
4547
4606
|
}"
|
4548
4607
|
/>
|
4549
4608
|
|
4550
|
-
<ng-container *ngTemplateOutlet="
|
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="!
|
4593
|
-
<span *ngIf="
|
4594
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4694
|
+
<ChevronRightIcon *ngIf="!decadeTemplate && !_decadeTemplate" />
|
4639
4695
|
|
4640
|
-
<span *ngIf="
|
4641
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4809
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4754
4810
|
|
4755
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4829
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4774
4830
|
|
4775
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4853
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4798
4854
|
|
4799
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4818
|
-
<ng-container *ngIf="
|
4819
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4898
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4843
4899
|
|
4844
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4918
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4863
4919
|
|
4864
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4882
|
-
<ng-template *ngTemplateOutlet="
|
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="!
|
4896
|
-
<ng-template *ngTemplateOutlet="
|
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
|
-
|
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,40 +5186,43 @@ 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
|
-
}],
|
5201
|
+
args: ['decade', { descendants: false }]
|
5202
|
+
}], previousIconTemplate: [{
|
5165
5203
|
type: ContentChild,
|
5166
|
-
args: ['previousicon']
|
5167
|
-
}],
|
5204
|
+
args: ['previousicon', { descendants: false }]
|
5205
|
+
}], nextIconTemplate: [{
|
5168
5206
|
type: ContentChild,
|
5169
|
-
args: ['nexticon']
|
5170
|
-
}],
|
5207
|
+
args: ['nexticon', { descendants: false }]
|
5208
|
+
}], triggerIconTemplate: [{
|
5171
5209
|
type: ContentChild,
|
5172
|
-
args: ['triggericon']
|
5173
|
-
}],
|
5210
|
+
args: ['triggericon', { descendants: false }]
|
5211
|
+
}], clearIconTemplate: [{
|
5174
5212
|
type: ContentChild,
|
5175
|
-
args: ['clearicon']
|
5176
|
-
}],
|
5213
|
+
args: ['clearicon', { descendants: false }]
|
5214
|
+
}], decrementIconTemplate: [{
|
5177
5215
|
type: ContentChild,
|
5178
|
-
args: ['decrementicon']
|
5179
|
-
}],
|
5216
|
+
args: ['decrementicon', { descendants: false }]
|
5217
|
+
}], incrementIconTemplate: [{
|
5180
5218
|
type: ContentChild,
|
5181
|
-
args: ['incrementicon']
|
5182
|
-
}],
|
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
5227
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DatePicker, { className: "DatePicker" }); })();
|
5187
5228
|
class DatePickerModule {
|