primeng 18.0.0 → 18.0.2-patch.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/chips/chips.d.ts +237 -0
- package/chips/chips.interface.d.ts +66 -0
- package/chips/index.d.ts +5 -0
- package/chips/public_api.d.ts +2 -0
- package/chips/style/chipsstyle.d.ts +69 -0
- 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 +113 -33
- 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 +207 -143
- 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/chips/chips.interface.mjs +2 -0
- package/esm2022/chips/chips.mjs +827 -0
- package/esm2022/chips/primeng-chips.mjs +5 -0
- package/esm2022/chips/public_api.mjs +3 -0
- package/esm2022/chips/style/chipsstyle.mjs +175 -0
- 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 +198 -156
- 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 -97
- 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 +59 -44
- package/fesm2022/primeng-accordion.mjs.map +1 -1
- package/fesm2022/primeng-animateonscroll.mjs +1 -1
- package/fesm2022/primeng-api.mjs +1 -1
- package/fesm2022/primeng-autocomplete.mjs +152 -91
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-avatar.mjs +1 -1
- package/fesm2022/primeng-avatargroup.mjs +1 -1
- package/fesm2022/primeng-badge.mjs +40 -33
- 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-buttongroup.mjs +1 -1
- package/fesm2022/primeng-calendar.mjs +207 -143
- 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-chart.mjs +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-chips.mjs +1006 -0
- package/fesm2022/primeng-chips.mjs.map +1 -0
- package/fesm2022/primeng-colorpicker.mjs +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +95 -56
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-confirmpopup.mjs +57 -29
- 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-dataview.mjs +2 -2
- package/fesm2022/primeng-datepicker.mjs +198 -156
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-defer.mjs +1 -1
- package/fesm2022/primeng-dialog.mjs +97 -51
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-divider.mjs +2 -4
- 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-dragdrop.mjs +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 +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 +61 -33
- 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-floatlabel.mjs +1 -1
- package/fesm2022/primeng-fluid.mjs +1 -1
- package/fesm2022/primeng-galleria.mjs +17 -8
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-iconfield.mjs +1 -1
- package/fesm2022/primeng-icons-baseicon.mjs +1 -1
- package/fesm2022/primeng-iftalabel.mjs +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-inputgroupaddon.mjs +1 -1
- package/fesm2022/primeng-inputicon.mjs +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-inputswitch.mjs +1 -1
- package/fesm2022/primeng-inputtext.mjs +1 -1
- package/fesm2022/primeng-inputtextarea.mjs +1 -1
- package/fesm2022/primeng-keyfilter.mjs +1 -1
- package/fesm2022/primeng-knob.mjs +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 -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 +30 -14
- 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-overlaybadge.mjs +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 +160 -100
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-panelmenu.mjs +55 -32
- 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 +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-progressspinner.mjs +1 -1
- package/fesm2022/primeng-radiobutton.mjs +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 +17 -10
- 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-skeleton.mjs +1 -1
- package/fesm2022/primeng-slider.mjs +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 +6 -6
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-stepper.mjs +27 -13
- package/fesm2022/primeng-stepper.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +1 -1
- package/fesm2022/primeng-styleclass.mjs +1 -1
- package/fesm2022/primeng-table.mjs +107 -96
- 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-terminal.mjs +1 -1
- package/fesm2022/primeng-textarea.mjs +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 +31 -9
- 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 -97
- 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 +171 -165
- 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
@@ -1,12 +1,12 @@
|
|
1
|
-
import { trigger, state,
|
1
|
+
import { trigger, state, transition, style, 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,
|
5
|
+
import { Injectable, forwardRef, EventEmitter, inject, numberAttribute, booleanAttribute, ViewEncapsulation, ChangeDetectionStrategy, Component, ContentChildren, ViewChild, ContentChild, Output, Input, NgModule } from '@angular/core';
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
7
|
-
import { uuid, getOuterWidth, isDate, findSingle, getFocusableElements, hasClass, getIndex, find, isNotEmpty, appendChild, absolutePosition, relativePosition, addClass, blockBodyScroll, unblockBodyScroll, setAttribute, isTouchDevice } from '@primeuix/utils';
|
7
|
+
import { uuid, getOuterWidth, isDate, findSingle, getFocusableElements, hasClass, getIndex, find, isNotEmpty, addStyle, appendChild, absolutePosition, relativePosition, addClass, blockBodyScroll, unblockBodyScroll, setAttribute, isTouchDevice } from '@primeuix/utils';
|
8
8
|
import * as i1 from 'primeng/api';
|
9
|
-
import { TranslationKeys, SharedModule } from 'primeng/api';
|
9
|
+
import { TranslationKeys, SharedModule, PrimeTemplate } from 'primeng/api';
|
10
10
|
import { AutoFocus } from 'primeng/autofocus';
|
11
11
|
import { BaseComponent } from 'primeng/basecomponent';
|
12
12
|
import { Button } from 'primeng/button';
|
@@ -512,7 +512,6 @@ const _c22 = a0 => ({ $implicit: a0 });
|
|
512
512
|
const _c23 = (a0, a1) => ({ "p-datepicker-day-cell": true, "p-datepicker-other-month": a0, "p-datepicker-today": a1 });
|
513
513
|
const _c24 = (a0, a1) => ({ "p-datepicker-month": true, "p-datepicker-month-selected": a0, "p-disabled": a1 });
|
514
514
|
const _c25 = (a0, a1) => ({ "p-datepicker-year": true, "p-datepicker-year-selected": a0, "p-disabled": a1 });
|
515
|
-
const _c26 = a0 => [a0];
|
516
515
|
function Calendar_ng_template_2_ng_container_2_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
|
517
516
|
const _r3 = i0.ɵɵgetCurrentView();
|
518
517
|
i0.ɵɵelementStart(0, "TimesIcon", 11);
|
@@ -534,7 +533,7 @@ function Calendar_ng_template_2_ng_container_2_span_2_Template(rf, ctx) { if (rf
|
|
534
533
|
} if (rf & 2) {
|
535
534
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
536
535
|
i0.ɵɵadvance();
|
537
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
536
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
|
538
537
|
} }
|
539
538
|
function Calendar_ng_template_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
540
539
|
i0.ɵɵelementContainerStart(0);
|
@@ -543,9 +542,9 @@ function Calendar_ng_template_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
543
542
|
} if (rf & 2) {
|
544
543
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
545
544
|
i0.ɵɵadvance();
|
546
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
545
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.clearIconTemplate && !ctx_r1._clearIconTemplate);
|
547
546
|
i0.ɵɵadvance();
|
548
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
547
|
+
i0.ɵɵproperty("ngIf", ctx_r1.clearIconTemplate || ctx_r1._clearIconTemplate);
|
549
548
|
} }
|
550
549
|
function Calendar_ng_template_2_button_3_span_1_Template(rf, ctx) { if (rf & 1) {
|
551
550
|
i0.ɵɵelement(0, "span", 16);
|
@@ -567,9 +566,9 @@ function Calendar_ng_template_2_button_3_ng_container_2_Template(rf, ctx) { if (
|
|
567
566
|
} if (rf & 2) {
|
568
567
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
569
568
|
i0.ɵɵadvance();
|
570
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
569
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.triggerIconTemplate && !ctx_r1._triggerIconTemplate);
|
571
570
|
i0.ɵɵadvance();
|
572
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
571
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.triggerIconTemplate || ctx_r1._triggerIconTemplate);
|
573
572
|
} }
|
574
573
|
function Calendar_ng_template_2_button_3_Template(rf, ctx) { if (rf & 1) {
|
575
574
|
const _r5 = i0.ɵɵgetCurrentView();
|
@@ -608,9 +607,9 @@ function Calendar_ng_template_2_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
608
607
|
} if (rf & 2) {
|
609
608
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
610
609
|
i0.ɵɵadvance(2);
|
611
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
610
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.inputIconTemplate && !ctx_r1._inputIconTemplate);
|
612
611
|
i0.ɵɵadvance();
|
613
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
612
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.inputIconTemplate || ctx_r1._inputIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c17, ctx_r1.onButtonClick.bind(ctx_r1)));
|
614
613
|
} }
|
615
614
|
function Calendar_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
616
615
|
const _r1 = i0.ɵɵgetCurrentView();
|
@@ -648,7 +647,7 @@ function Calendar_div_3_ng_container_4_div_2_span_4_Template(rf, ctx) { if (rf &
|
|
648
647
|
} if (rf & 2) {
|
649
648
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
650
649
|
i0.ɵɵadvance();
|
651
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
650
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.previousIconTemplate || ctx_r1._previousIconTemplate);
|
652
651
|
} }
|
653
652
|
function Calendar_div_3_ng_container_4_div_2_button_6_Template(rf, ctx) { if (rf & 1) {
|
654
653
|
const _r10 = i0.ɵɵgetCurrentView();
|
@@ -697,9 +696,9 @@ function Calendar_div_3_ng_container_4_div_2_span_8_Template(rf, ctx) { if (rf &
|
|
697
696
|
} if (rf & 2) {
|
698
697
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
699
698
|
i0.ɵɵadvance();
|
700
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
699
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && ctx_r1._decadeTemplate);
|
701
700
|
i0.ɵɵadvance();
|
702
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
701
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decadeTemplate || ctx_r1._decadeTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c22, ctx_r1.yearPickerValues));
|
703
702
|
} }
|
704
703
|
function Calendar_div_3_ng_container_4_div_2_ChevronRightIcon_10_Template(rf, ctx) { if (rf & 1) {
|
705
704
|
i0.ɵɵelement(0, "ChevronRightIcon");
|
@@ -715,7 +714,7 @@ function Calendar_div_3_ng_container_4_div_2_span_11_Template(rf, ctx) { if (rf
|
|
715
714
|
} if (rf & 2) {
|
716
715
|
const ctx_r1 = i0.ɵɵnextContext(4);
|
717
716
|
i0.ɵɵadvance();
|
718
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
717
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.nextIconTemplate || !ctx_r1._nextIconTemplate);
|
719
718
|
} }
|
720
719
|
function Calendar_div_3_ng_container_4_div_2_table_12_th_3_Template(rf, ctx) { if (rf & 1) {
|
721
720
|
i0.ɵɵelementStart(0, "th", 44)(1, "span");
|
@@ -765,7 +764,7 @@ function Calendar_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_n
|
|
765
764
|
const date_r16 = i0.ɵɵnextContext(2).$implicit;
|
766
765
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
767
766
|
i0.ɵɵadvance();
|
768
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
|
767
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.dateTemplate || ctx_r1._dateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
|
769
768
|
} }
|
770
769
|
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
770
|
i0.ɵɵelementContainer(0);
|
@@ -778,7 +777,7 @@ function Calendar_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_n
|
|
778
777
|
const date_r16 = i0.ɵɵnextContext(2).$implicit;
|
779
778
|
const ctx_r1 = i0.ɵɵnextContext(6);
|
780
779
|
i0.ɵɵadvance();
|
781
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
780
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.disabledDateTemplate || ctx_r1._disabledDateTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c22, date_r16));
|
782
781
|
} }
|
783
782
|
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
783
|
i0.ɵɵelementStart(0, "div", 53);
|
@@ -805,9 +804,9 @@ function Calendar_div_3_ng_container_4_div_2_table_12_tr_6_td_2_ng_container_1_T
|
|
805
804
|
i0.ɵɵproperty("ngClass", ctx_r1.dayClass(date_r16));
|
806
805
|
i0.ɵɵattribute("data-date", ctx_r1.formatDateKey(ctx_r1.formatDateMetaToDate(date_r16)));
|
807
806
|
i0.ɵɵadvance();
|
808
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
807
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.dateTemplate && !ctx_r1._dateTemplate && (date_r16.selectable || !ctx_r1.disabledDateTemplate && !ctx_r1._disabledDateTemplate));
|
809
808
|
i0.ɵɵadvance();
|
810
|
-
i0.ɵɵproperty("ngIf", date_r16.selectable || !ctx_r1.
|
809
|
+
i0.ɵɵproperty("ngIf", date_r16.selectable || !ctx_r1.disabledDateTemplate && !ctx_r1._disabledDateTemplate);
|
811
810
|
i0.ɵɵadvance();
|
812
811
|
i0.ɵɵproperty("ngIf", !date_r16.selectable);
|
813
812
|
i0.ɵɵadvance();
|
@@ -876,9 +875,9 @@ function Calendar_div_3_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
876
875
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c21, i_r17 === 0 ? "visible" : "hidden"));
|
877
876
|
i0.ɵɵattribute("aria-label", ctx_r1.prevIconAriaLabel);
|
878
877
|
i0.ɵɵadvance();
|
879
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
878
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.previousIconTemplate && !ctx_r1._previousIconTemplate);
|
880
879
|
i0.ɵɵadvance();
|
881
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
880
|
+
i0.ɵɵproperty("ngIf", ctx_r1.previousIconTemplate || !ctx_r1._previousIconTemplate);
|
882
881
|
i0.ɵɵadvance(2);
|
883
882
|
i0.ɵɵproperty("ngIf", ctx_r1.currentView === "date");
|
884
883
|
i0.ɵɵadvance();
|
@@ -889,9 +888,9 @@ function Calendar_div_3_ng_container_4_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
889
888
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(14, _c21, i_r17 === ctx_r1.months.length - 1 ? "visible" : "hidden"));
|
890
889
|
i0.ɵɵattribute("aria-label", ctx_r1.nextIconAriaLabel);
|
891
890
|
i0.ɵɵadvance();
|
892
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
891
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decadeTemplate && !ctx_r1._decadeTemplate);
|
893
892
|
i0.ɵɵadvance();
|
894
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
893
|
+
i0.ɵɵproperty("ngIf", ctx_r1.nextIconTemplate || !ctx_r1._nextIconTemplate);
|
895
894
|
i0.ɵɵadvance();
|
896
895
|
i0.ɵɵproperty("ngIf", ctx_r1.currentView === "date");
|
897
896
|
} }
|
@@ -1025,7 +1024,7 @@ function Calendar_div_3_div_5_ng_container_23_Template(rf, ctx) { if (rf & 1) {
|
|
1025
1024
|
} if (rf & 2) {
|
1026
1025
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
1027
1026
|
i0.ɵɵadvance();
|
1028
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1027
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1029
1028
|
} }
|
1030
1029
|
function Calendar_div_3_div_5_div_24_Template(rf, ctx) { if (rf & 1) {
|
1031
1030
|
i0.ɵɵelementStart(0, "div", 61)(1, "span");
|
@@ -1074,9 +1073,9 @@ function Calendar_div_3_div_5_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
1074
1073
|
i0.ɵɵadvance();
|
1075
1074
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextSecond"));
|
1076
1075
|
i0.ɵɵadvance();
|
1077
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1076
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1078
1077
|
i0.ɵɵadvance();
|
1079
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1078
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
|
1080
1079
|
i0.ɵɵadvance(2);
|
1081
1080
|
i0.ɵɵproperty("ngIf", ctx_r1.currentSecond < 10);
|
1082
1081
|
i0.ɵɵadvance();
|
@@ -1084,9 +1083,9 @@ function Calendar_div_3_div_5_div_25_Template(rf, ctx) { if (rf & 1) {
|
|
1084
1083
|
i0.ɵɵadvance();
|
1085
1084
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevSecond"));
|
1086
1085
|
i0.ɵɵadvance();
|
1087
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1086
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1088
1087
|
i0.ɵɵadvance();
|
1089
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1088
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1090
1089
|
} }
|
1091
1090
|
function Calendar_div_3_div_5_div_26_Template(rf, ctx) { if (rf & 1) {
|
1092
1091
|
i0.ɵɵelementStart(0, "div", 61)(1, "span");
|
@@ -1129,17 +1128,17 @@ function Calendar_div_3_div_5_div_27_Template(rf, ctx) { if (rf & 1) {
|
|
1129
1128
|
i0.ɵɵadvance();
|
1130
1129
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("am"));
|
1131
1130
|
i0.ɵɵadvance();
|
1132
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1131
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1133
1132
|
i0.ɵɵadvance();
|
1134
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1133
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
|
1135
1134
|
i0.ɵɵadvance(2);
|
1136
1135
|
i0.ɵɵtextInterpolate(ctx_r1.pm ? "PM" : "AM");
|
1137
1136
|
i0.ɵɵadvance();
|
1138
1137
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("pm"));
|
1139
1138
|
i0.ɵɵadvance();
|
1140
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1139
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1141
1140
|
i0.ɵɵadvance();
|
1142
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1141
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1143
1142
|
} }
|
1144
1143
|
function Calendar_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
1145
1144
|
const _r24 = i0.ɵɵgetCurrentView();
|
@@ -1177,9 +1176,9 @@ function Calendar_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1177
1176
|
i0.ɵɵadvance(2);
|
1178
1177
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextHour"));
|
1179
1178
|
i0.ɵɵadvance();
|
1180
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1179
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1181
1180
|
i0.ɵɵadvance();
|
1182
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1181
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
|
1183
1182
|
i0.ɵɵadvance(2);
|
1184
1183
|
i0.ɵɵproperty("ngIf", ctx_r1.currentHour < 10);
|
1185
1184
|
i0.ɵɵadvance();
|
@@ -1187,17 +1186,17 @@ function Calendar_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1187
1186
|
i0.ɵɵadvance();
|
1188
1187
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevHour"));
|
1189
1188
|
i0.ɵɵadvance();
|
1190
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1189
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1191
1190
|
i0.ɵɵadvance();
|
1192
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1191
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1193
1192
|
i0.ɵɵadvance(3);
|
1194
1193
|
i0.ɵɵtextInterpolate(ctx_r1.timeSeparator);
|
1195
1194
|
i0.ɵɵadvance(2);
|
1196
1195
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("nextMinute"));
|
1197
1196
|
i0.ɵɵadvance();
|
1198
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1197
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.incrementIconTemplate && !ctx_r1._incrementIconTemplate);
|
1199
1198
|
i0.ɵɵadvance();
|
1200
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1199
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.incrementIconTemplate || ctx_r1._incrementIconTemplate);
|
1201
1200
|
i0.ɵɵadvance(2);
|
1202
1201
|
i0.ɵɵproperty("ngIf", ctx_r1.currentMinute < 10);
|
1203
1202
|
i0.ɵɵadvance();
|
@@ -1205,9 +1204,9 @@ function Calendar_div_3_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1205
1204
|
i0.ɵɵadvance();
|
1206
1205
|
i0.ɵɵattribute("aria-label", ctx_r1.getTranslation("prevMinute"));
|
1207
1206
|
i0.ɵɵadvance();
|
1208
|
-
i0.ɵɵproperty("ngIf", !ctx_r1.
|
1207
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.decrementIconTemplate && !ctx_r1._decrementIconTemplate);
|
1209
1208
|
i0.ɵɵadvance();
|
1210
|
-
i0.ɵɵproperty("ngIf", ctx_r1.
|
1209
|
+
i0.ɵɵproperty("ngIf", ctx_r1.decrementIconTemplate || ctx_r1._decrementIconTemplate);
|
1211
1210
|
i0.ɵɵadvance();
|
1212
1211
|
i0.ɵɵproperty("ngIf", ctx_r1.showSeconds);
|
1213
1212
|
i0.ɵɵadvance();
|
@@ -1228,9 +1227,9 @@ function Calendar_div_3_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
1228
1227
|
} if (rf & 2) {
|
1229
1228
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
1230
1229
|
i0.ɵɵadvance();
|
1231
|
-
i0.ɵɵproperty("label", ctx_r1.getTranslation("today"))("ngClass",
|
1230
|
+
i0.ɵɵproperty("label", ctx_r1.getTranslation("today"))("ngClass", ctx_r1.todayButtonStyleClass);
|
1232
1231
|
i0.ɵɵadvance();
|
1233
|
-
i0.ɵɵproperty("label", ctx_r1.getTranslation("clear"))("ngClass",
|
1232
|
+
i0.ɵɵproperty("label", ctx_r1.getTranslation("clear"))("ngClass", ctx_r1.clearButtonStyleClass);
|
1234
1233
|
} }
|
1235
1234
|
function Calendar_div_3_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
1236
1235
|
i0.ɵɵelementContainer(0);
|
@@ -1240,7 +1239,7 @@ function Calendar_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
1240
1239
|
i0.ɵɵelementStart(0, "div", 21, 2);
|
1241
1240
|
i0.ɵɵlistener("@overlayAnimation.start", function Calendar_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 Calendar_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 Calendar_div_3_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onOverlayClick($event)); });
|
1242
1241
|
i0.ɵɵprojection(2);
|
1243
|
-
i0.ɵɵtemplate(3, Calendar_div_3_ng_container_3_Template, 1, 0, "ng-container", 13)(4, Calendar_div_3_ng_container_4_Template, 5, 3, "ng-container", 7)(5, Calendar_div_3_div_5_Template, 28, 21, "div", 22)(6, Calendar_div_3_div_6_Template, 3,
|
1242
|
+
i0.ɵɵtemplate(3, Calendar_div_3_ng_container_3_Template, 1, 0, "ng-container", 13)(4, Calendar_div_3_ng_container_4_Template, 5, 3, "ng-container", 7)(5, Calendar_div_3_div_5_Template, 28, 21, "div", 22)(6, Calendar_div_3_div_6_Template, 3, 4, "div", 23);
|
1244
1243
|
i0.ɵɵprojection(7, 1);
|
1245
1244
|
i0.ɵɵtemplate(8, Calendar_div_3_ng_container_8_Template, 1, 0, "ng-container", 13);
|
1246
1245
|
i0.ɵɵelementEnd();
|
@@ -1250,7 +1249,7 @@ function Calendar_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
1250
1249
|
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
1250
|
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
1251
|
i0.ɵɵadvance(3);
|
1253
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1252
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.headerTemplate || ctx_r1._headerTemplate);
|
1254
1253
|
i0.ɵɵadvance();
|
1255
1254
|
i0.ɵɵproperty("ngIf", !ctx_r1.timeOnly);
|
1256
1255
|
i0.ɵɵadvance();
|
@@ -1258,7 +1257,7 @@ function Calendar_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
1258
1257
|
i0.ɵɵadvance();
|
1259
1258
|
i0.ɵɵproperty("ngIf", ctx_r1.showButtonBar);
|
1260
1259
|
i0.ɵɵadvance(2);
|
1261
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.
|
1260
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.footerTemplate || ctx_r1._footerTemplate);
|
1262
1261
|
} }
|
1263
1262
|
const CALENDAR_VALUE_ACCESSOR = {
|
1264
1263
|
provide: NG_VALUE_ACCESSOR,
|
@@ -1787,57 +1786,57 @@ class Calendar extends BaseComponent {
|
|
1787
1786
|
* Custom template for header section.
|
1788
1787
|
* @group Templates
|
1789
1788
|
*/
|
1790
|
-
|
1789
|
+
headerTemplate;
|
1791
1790
|
/**
|
1792
1791
|
* Custom template for footer section.
|
1793
1792
|
* @group Templates
|
1794
1793
|
*/
|
1795
|
-
|
1794
|
+
footerTemplate;
|
1796
1795
|
/**
|
1797
1796
|
* Custom template for disabled date cells.
|
1798
1797
|
* @group Templates
|
1799
1798
|
*/
|
1800
|
-
|
1799
|
+
disabledDateTemplate;
|
1801
1800
|
/**
|
1802
1801
|
* Custom template for decade view.
|
1803
1802
|
* @group Templates
|
1804
1803
|
*/
|
1805
|
-
|
1804
|
+
decadeTemplate;
|
1806
1805
|
/**
|
1807
1806
|
* Custom template for previous month icon.
|
1808
1807
|
* @group Templates
|
1809
1808
|
*/
|
1810
|
-
|
1809
|
+
previousIconTemplate;
|
1811
1810
|
/**
|
1812
1811
|
* Custom template for next month icon.
|
1813
1812
|
* @group Templates
|
1814
1813
|
*/
|
1815
|
-
|
1814
|
+
nextIconTemplate;
|
1816
1815
|
/**
|
1817
1816
|
* Custom template for trigger icon.
|
1818
1817
|
* @group Templates
|
1819
1818
|
*/
|
1820
|
-
|
1819
|
+
triggerIconTemplate;
|
1821
1820
|
/**
|
1822
1821
|
* Custom template for clear icon.
|
1823
1822
|
* @group Templates
|
1824
1823
|
*/
|
1825
|
-
|
1824
|
+
clearIconTemplate;
|
1826
1825
|
/**
|
1827
1826
|
* Custom template for decrement icon.
|
1828
1827
|
* @group Templates
|
1829
1828
|
*/
|
1830
|
-
|
1829
|
+
decrementIconTemplate;
|
1831
1830
|
/**
|
1832
1831
|
* Custom template for increment icon.
|
1833
1832
|
* @group Templates
|
1834
1833
|
*/
|
1835
|
-
|
1834
|
+
incrementIconTemplate;
|
1836
1835
|
/**
|
1837
1836
|
* Custom template for input icon.
|
1838
1837
|
* @group Templates
|
1839
1838
|
*/
|
1840
|
-
|
1839
|
+
inputIconTemplate;
|
1841
1840
|
containerViewChild;
|
1842
1841
|
inputfieldViewChild;
|
1843
1842
|
set content(content) {
|
@@ -1854,6 +1853,18 @@ class Calendar extends BaseComponent {
|
|
1854
1853
|
}
|
1855
1854
|
}
|
1856
1855
|
}
|
1856
|
+
_dateTemplate;
|
1857
|
+
_headerTemplate;
|
1858
|
+
_footerTemplate;
|
1859
|
+
_disabledDateTemplate;
|
1860
|
+
_decadeTemplate;
|
1861
|
+
_previousIconTemplate;
|
1862
|
+
_nextIconTemplate;
|
1863
|
+
_triggerIconTemplate;
|
1864
|
+
_clearIconTemplate;
|
1865
|
+
_decrementIconTemplate;
|
1866
|
+
_incrementIconTemplate;
|
1867
|
+
_inputIconTemplate;
|
1857
1868
|
_componentStyle = inject(CalendarStyle);
|
1858
1869
|
contentViewChild;
|
1859
1870
|
value;
|
@@ -1979,6 +1990,52 @@ class Calendar extends BaseComponent {
|
|
1979
1990
|
}
|
1980
1991
|
}
|
1981
1992
|
}
|
1993
|
+
templates;
|
1994
|
+
ngAfterContentInit() {
|
1995
|
+
this.templates.forEach((item) => {
|
1996
|
+
switch (item.getType()) {
|
1997
|
+
case 'date':
|
1998
|
+
this._dateTemplate = item.template;
|
1999
|
+
break;
|
2000
|
+
case 'decade':
|
2001
|
+
this._decadeTemplate = item.template;
|
2002
|
+
break;
|
2003
|
+
case 'disabledDate':
|
2004
|
+
this._disabledDateTemplate = item.template;
|
2005
|
+
break;
|
2006
|
+
case 'header':
|
2007
|
+
this._headerTemplate = item.template;
|
2008
|
+
break;
|
2009
|
+
case 'inputicon':
|
2010
|
+
this._inputIconTemplate = item.template;
|
2011
|
+
break;
|
2012
|
+
case 'previousicon':
|
2013
|
+
this._previousIconTemplate = item.template;
|
2014
|
+
break;
|
2015
|
+
case 'nexticon':
|
2016
|
+
this._nextIconTemplate = item.template;
|
2017
|
+
break;
|
2018
|
+
case 'triggericon':
|
2019
|
+
this._triggerIconTemplate = item.template;
|
2020
|
+
break;
|
2021
|
+
case 'clearicon':
|
2022
|
+
this._clearIconTemplate = item.template;
|
2023
|
+
break;
|
2024
|
+
case 'decrementicon':
|
2025
|
+
this._decrementIconTemplate = item.template;
|
2026
|
+
break;
|
2027
|
+
case 'incrementicon':
|
2028
|
+
this._incrementIconTemplate = item.template;
|
2029
|
+
break;
|
2030
|
+
case 'footer':
|
2031
|
+
this._footerTemplate = item.template;
|
2032
|
+
break;
|
2033
|
+
default:
|
2034
|
+
this._dateTemplate = item.template;
|
2035
|
+
break;
|
2036
|
+
}
|
2037
|
+
});
|
2038
|
+
}
|
1982
2039
|
getTranslation(option) {
|
1983
2040
|
return this.config.getTranslation(option);
|
1984
2041
|
}
|
@@ -3610,6 +3667,8 @@ class Calendar extends BaseComponent {
|
|
3610
3667
|
if (!this.inline) {
|
3611
3668
|
this.overlay = event.element;
|
3612
3669
|
this.overlay?.setAttribute(this.attributeSelector, '');
|
3670
|
+
const styles = !this.inline ? { position: 'absolute', top: '0', left: '0' } : undefined;
|
3671
|
+
addStyle(this.overlay, styles);
|
3613
3672
|
this.appendOverlay();
|
3614
3673
|
this.updateFocus();
|
3615
3674
|
if (this.autoZIndex) {
|
@@ -4202,32 +4261,34 @@ class Calendar extends BaseComponent {
|
|
4202
4261
|
}
|
4203
4262
|
static ɵfac = function Calendar_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Calendar)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.OverlayService)); };
|
4204
4263
|
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,
|
4264
|
+
i0.ɵɵcontentQuery(dirIndex, _c0, 4);
|
4265
|
+
i0.ɵɵcontentQuery(dirIndex, _c1, 4);
|
4266
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 4);
|
4267
|
+
i0.ɵɵcontentQuery(dirIndex, _c3, 4);
|
4268
|
+
i0.ɵɵcontentQuery(dirIndex, _c4, 4);
|
4269
|
+
i0.ɵɵcontentQuery(dirIndex, _c5, 4);
|
4270
|
+
i0.ɵɵcontentQuery(dirIndex, _c6, 4);
|
4271
|
+
i0.ɵɵcontentQuery(dirIndex, _c7, 4);
|
4272
|
+
i0.ɵɵcontentQuery(dirIndex, _c8, 4);
|
4273
|
+
i0.ɵɵcontentQuery(dirIndex, _c9, 4);
|
4274
|
+
i0.ɵɵcontentQuery(dirIndex, _c10, 4);
|
4275
|
+
i0.ɵɵcontentQuery(dirIndex, _c11, 4);
|
4276
|
+
i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
|
4217
4277
|
} if (rf & 2) {
|
4218
4278
|
let _t;
|
4219
4279
|
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.
|
4280
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerTemplate = _t.first);
|
4281
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerTemplate = _t.first);
|
4282
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.disabledDateTemplate = _t.first);
|
4283
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decadeTemplate = _t.first);
|
4284
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.previousIconTemplate = _t.first);
|
4285
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.nextIconTemplate = _t.first);
|
4286
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.triggerIconTemplate = _t.first);
|
4287
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.clearIconTemplate = _t.first);
|
4288
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.decrementIconTemplate = _t.first);
|
4289
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.incrementIconTemplate = _t.first);
|
4290
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputIconTemplate = _t.first);
|
4291
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
|
4231
4292
|
} }, viewQuery: function Calendar_Query(rf, ctx) { if (rf & 1) {
|
4232
4293
|
i0.ɵɵviewQuery(_c12, 5);
|
4233
4294
|
i0.ɵɵviewQuery(_c13, 5);
|
@@ -4311,9 +4372,9 @@ class Calendar extends BaseComponent {
|
|
4311
4372
|
[fluid]="hasFluid"
|
4312
4373
|
/>
|
4313
4374
|
<ng-container *ngIf="showClear && !disabled && value != null">
|
4314
|
-
<TimesIcon *ngIf="!
|
4315
|
-
<span *ngIf="
|
4316
|
-
<ng-template *ngTemplateOutlet="
|
4375
|
+
<TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [class]="'p-datepicker-clear-icon'" (click)="clear()" />
|
4376
|
+
<span *ngIf="clearIconTemplate || _clearIconTemplate" class="p-datepicker-clear-icon" (click)="clear()">
|
4377
|
+
<ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
|
4317
4378
|
</span>
|
4318
4379
|
</ng-container>
|
4319
4380
|
<button
|
@@ -4330,21 +4391,21 @@ class Calendar extends BaseComponent {
|
|
4330
4391
|
>
|
4331
4392
|
<span *ngIf="icon" [ngClass]="icon"></span>
|
4332
4393
|
<ng-container *ngIf="!icon">
|
4333
|
-
<CalendarIcon *ngIf="!
|
4334
|
-
<ng-template *ngTemplateOutlet="
|
4394
|
+
<CalendarIcon *ngIf="!triggerIconTemplate && !_triggerIconTemplate" />
|
4395
|
+
<ng-template *ngTemplateOutlet="triggerIconTemplate || _triggerIconTemplate"></ng-template>
|
4335
4396
|
</ng-container>
|
4336
4397
|
</button>
|
4337
4398
|
<ng-container *ngIf="iconDisplay === 'input' && showIcon">
|
4338
4399
|
<span class="p-datepicker-input-icon-container">
|
4339
4400
|
<CalendarIcon
|
4340
4401
|
(click)="onButtonClick($event)"
|
4341
|
-
*ngIf="!
|
4402
|
+
*ngIf="!inputIconTemplate && !_inputIconTemplate"
|
4342
4403
|
[ngClass]="{
|
4343
4404
|
'p-datepicker-input-icon': showOnFocus
|
4344
4405
|
}"
|
4345
4406
|
/>
|
4346
4407
|
|
4347
|
-
<ng-container *ngTemplateOutlet="
|
4408
|
+
<ng-container *ngTemplateOutlet="inputIconTemplate || _inputIconTemplate; context: { clickCallBack: onButtonClick.bind(this) }"></ng-container>
|
4348
4409
|
</span>
|
4349
4410
|
</ng-container>
|
4350
4411
|
</ng-template>
|
@@ -4368,7 +4429,7 @@ class Calendar extends BaseComponent {
|
|
4368
4429
|
*ngIf="inline || overlayVisible"
|
4369
4430
|
>
|
4370
4431
|
<ng-content select="p-header"></ng-content>
|
4371
|
-
<ng-container *ngTemplateOutlet="
|
4432
|
+
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate"></ng-container>
|
4372
4433
|
<ng-container *ngIf="!timeOnly">
|
4373
4434
|
<div class="p-datepicker-calendar-container">
|
4374
4435
|
<div class="p-datepicker-calendar" *ngFor="let month of months; let i = index">
|
@@ -4384,9 +4445,9 @@ class Calendar extends BaseComponent {
|
|
4384
4445
|
type="button"
|
4385
4446
|
[attr.aria-label]="prevIconAriaLabel"
|
4386
4447
|
>
|
4387
|
-
<ChevronLeftIcon *ngIf="!
|
4388
|
-
<span *ngIf="
|
4389
|
-
<ng-template *ngTemplateOutlet="
|
4448
|
+
<ChevronLeftIcon *ngIf="!previousIconTemplate && !_previousIconTemplate" />
|
4449
|
+
<span *ngIf="previousIconTemplate || !_previousIconTemplate">
|
4450
|
+
<ng-template *ngTemplateOutlet="previousIconTemplate || _previousIconTemplate"></ng-template>
|
4390
4451
|
</span>
|
4391
4452
|
</p-button>
|
4392
4453
|
<div class="p-datepicker-title">
|
@@ -4415,8 +4476,8 @@ class Calendar extends BaseComponent {
|
|
4415
4476
|
{{ getYear(month) }}
|
4416
4477
|
</button>
|
4417
4478
|
<span class="p-datepicker-decade" *ngIf="currentView === 'year'">
|
4418
|
-
<ng-container *ngIf="!
|
4419
|
-
<ng-container *ngTemplateOutlet="
|
4479
|
+
<ng-container *ngIf="!decadeTemplate && _decadeTemplate">{{ yearPickerValues()[0] }} - {{ yearPickerValues()[yearPickerValues().length - 1] }}</ng-container>
|
4480
|
+
<ng-container *ngTemplateOutlet="decadeTemplate || _decadeTemplate; context: { $implicit: yearPickerValues }"></ng-container>
|
4420
4481
|
</span>
|
4421
4482
|
</div>
|
4422
4483
|
<p-button
|
@@ -4429,10 +4490,10 @@ class Calendar extends BaseComponent {
|
|
4429
4490
|
[ngStyle]="{ visibility: i === months.length - 1 ? 'visible' : 'hidden' }"
|
4430
4491
|
[attr.aria-label]="nextIconAriaLabel"
|
4431
4492
|
>
|
4432
|
-
<ChevronRightIcon *ngIf="!
|
4493
|
+
<ChevronRightIcon *ngIf="!decadeTemplate && !_decadeTemplate" />
|
4433
4494
|
|
4434
|
-
<span *ngIf="
|
4435
|
-
<ng-template *ngTemplateOutlet="
|
4495
|
+
<span *ngIf="nextIconTemplate || !_nextIconTemplate">
|
4496
|
+
<ng-template *ngTemplateOutlet="nextIconTemplate || !_nextIconTemplate"></ng-template>
|
4436
4497
|
</span>
|
4437
4498
|
</p-button>
|
4438
4499
|
</div>
|
@@ -4472,12 +4533,12 @@ class Calendar extends BaseComponent {
|
|
4472
4533
|
(keydown)="onDateCellKeydown($event, date, i)"
|
4473
4534
|
pRipple
|
4474
4535
|
>
|
4475
|
-
<ng-container *ngIf="!
|
4476
|
-
<ng-container *ngIf="date.selectable || !
|
4477
|
-
<ng-container *ngTemplateOutlet="dateTemplate; context: { $implicit: date }"></ng-container>
|
4536
|
+
<ng-container *ngIf="!dateTemplate && !_dateTemplate && (date.selectable || (!disabledDateTemplate && !_disabledDateTemplate))">{{ date.day }}</ng-container>
|
4537
|
+
<ng-container *ngIf="date.selectable || (!disabledDateTemplate && !_disabledDateTemplate)">
|
4538
|
+
<ng-container *ngTemplateOutlet="dateTemplate || _dateTemplate; context: { $implicit: date }"></ng-container>
|
4478
4539
|
</ng-container>
|
4479
4540
|
<ng-container *ngIf="!date.selectable">
|
4480
|
-
<ng-container *ngTemplateOutlet="
|
4541
|
+
<ng-container *ngTemplateOutlet="disabledDateTemplate || _disabledDateTemplate; context: { $implicit: date }"></ng-container>
|
4481
4542
|
</ng-container>
|
4482
4543
|
</span>
|
4483
4544
|
<div *ngIf="isSelected(date)" class="p-hidden-accessible" aria-live="polite">
|
@@ -4544,9 +4605,9 @@ class Calendar extends BaseComponent {
|
|
4544
4605
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4545
4606
|
[attr.aria-label]="getTranslation('nextHour')"
|
4546
4607
|
>
|
4547
|
-
<ChevronUpIcon *ngIf="!
|
4608
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4548
4609
|
|
4549
|
-
<ng-template *ngTemplateOutlet="
|
4610
|
+
<ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
|
4550
4611
|
</p-button>
|
4551
4612
|
<span><ng-container *ngIf="currentHour < 10">0</ng-container>{{ currentHour }}</span>
|
4552
4613
|
<p-button
|
@@ -4564,9 +4625,9 @@ class Calendar extends BaseComponent {
|
|
4564
4625
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4565
4626
|
[attr.aria-label]="getTranslation('prevHour')"
|
4566
4627
|
>
|
4567
|
-
<ChevronDownIcon *ngIf="!
|
4628
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4568
4629
|
|
4569
|
-
<ng-template *ngTemplateOutlet="
|
4630
|
+
<ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
|
4570
4631
|
</p-button>
|
4571
4632
|
</div>
|
4572
4633
|
<div class="p-datepicker-separator">
|
@@ -4588,9 +4649,9 @@ class Calendar extends BaseComponent {
|
|
4588
4649
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4589
4650
|
[attr.aria-label]="getTranslation('nextMinute')"
|
4590
4651
|
>
|
4591
|
-
<ChevronUpIcon *ngIf="!
|
4652
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4592
4653
|
|
4593
|
-
<ng-template *ngTemplateOutlet="
|
4654
|
+
<ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
|
4594
4655
|
</p-button>
|
4595
4656
|
<span><ng-container *ngIf="currentMinute < 10">0</ng-container>{{ currentMinute }}</span>
|
4596
4657
|
<p-button
|
@@ -4608,9 +4669,9 @@ class Calendar extends BaseComponent {
|
|
4608
4669
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4609
4670
|
[attr.aria-label]="getTranslation('prevMinute')"
|
4610
4671
|
>
|
4611
|
-
<ChevronDownIcon *ngIf="!
|
4612
|
-
<ng-container *ngIf="
|
4613
|
-
<ng-template *ngTemplateOutlet="
|
4672
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4673
|
+
<ng-container *ngIf="decrementIconTemplate || _decrementIconTemplate">
|
4674
|
+
<ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
|
4614
4675
|
</ng-container>
|
4615
4676
|
</p-button>
|
4616
4677
|
</div>
|
@@ -4633,9 +4694,9 @@ class Calendar extends BaseComponent {
|
|
4633
4694
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4634
4695
|
[attr.aria-label]="getTranslation('nextSecond')"
|
4635
4696
|
>
|
4636
|
-
<ChevronUpIcon *ngIf="!
|
4697
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4637
4698
|
|
4638
|
-
<ng-template *ngTemplateOutlet="
|
4699
|
+
<ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
|
4639
4700
|
</p-button>
|
4640
4701
|
<span><ng-container *ngIf="currentSecond < 10">0</ng-container>{{ currentSecond }}</span>
|
4641
4702
|
<p-button
|
@@ -4653,9 +4714,9 @@ class Calendar extends BaseComponent {
|
|
4653
4714
|
(mouseleave)="onTimePickerElementMouseLeave()"
|
4654
4715
|
[attr.aria-label]="getTranslation('prevSecond')"
|
4655
4716
|
>
|
4656
|
-
<ChevronDownIcon *ngIf="!
|
4717
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4657
4718
|
|
4658
|
-
<ng-template *ngTemplateOutlet="
|
4719
|
+
<ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
|
4659
4720
|
</p-button>
|
4660
4721
|
</div>
|
4661
4722
|
<div class="p-datepicker-separator" *ngIf="hourFormat == '12'">
|
@@ -4672,8 +4733,8 @@ class Calendar extends BaseComponent {
|
|
4672
4733
|
(keydown.enter)="toggleAMPM($event)"
|
4673
4734
|
[attr.aria-label]="getTranslation('am')"
|
4674
4735
|
>
|
4675
|
-
<ChevronUpIcon *ngIf="!
|
4676
|
-
<ng-template *ngTemplateOutlet="
|
4736
|
+
<ChevronUpIcon *ngIf="!incrementIconTemplate && !_incrementIconTemplate" />
|
4737
|
+
<ng-template *ngTemplateOutlet="incrementIconTemplate || _incrementIconTemplate"></ng-template>
|
4677
4738
|
</p-button>
|
4678
4739
|
<span>{{ pm ? 'PM' : 'AM' }}</span>
|
4679
4740
|
<p-button
|
@@ -4686,17 +4747,17 @@ class Calendar extends BaseComponent {
|
|
4686
4747
|
(keydown.enter)="toggleAMPM($event)"
|
4687
4748
|
[attr.aria-label]="getTranslation('pm')"
|
4688
4749
|
>
|
4689
|
-
<ChevronDownIcon *ngIf="!
|
4690
|
-
<ng-template *ngTemplateOutlet="
|
4750
|
+
<ChevronDownIcon *ngIf="!decrementIconTemplate && !_decrementIconTemplate" />
|
4751
|
+
<ng-template *ngTemplateOutlet="decrementIconTemplate || _decrementIconTemplate"></ng-template>
|
4691
4752
|
</p-button>
|
4692
4753
|
</div>
|
4693
4754
|
</div>
|
4694
4755
|
<div class="p-datepicker-buttonbar" *ngIf="showButtonBar">
|
4695
|
-
<p-button size="small" styleClass="p-datepicker-today-button" [label]="getTranslation('today')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onTodayButtonClick($event)" [ngClass]="
|
4696
|
-
<p-button size="small" styleClass="p-datepicker-clear-button" [label]="getTranslation('clear')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onClearButtonClick($event)" [ngClass]="
|
4756
|
+
<p-button size="small" styleClass="p-datepicker-today-button" [label]="getTranslation('today')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onTodayButtonClick($event)" [ngClass]="todayButtonStyleClass" />
|
4757
|
+
<p-button size="small" styleClass="p-datepicker-clear-button" [label]="getTranslation('clear')" (keydown)="onContainerButtonKeydown($event)" (onClick)="onClearButtonClick($event)" [ngClass]="clearButtonStyleClass" />
|
4697
4758
|
</div>
|
4698
4759
|
<ng-content select="p-footer"></ng-content>
|
4699
|
-
<ng-container *ngTemplateOutlet="
|
4760
|
+
<ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate"></ng-container>
|
4700
4761
|
</div>
|
4701
4762
|
</span>
|
4702
4763
|
`,
|
@@ -4913,40 +4974,40 @@ class Calendar extends BaseComponent {
|
|
4913
4974
|
type: Output
|
4914
4975
|
}], dateTemplate: [{
|
4915
4976
|
type: ContentChild,
|
4916
|
-
args: ['date']
|
4917
|
-
}],
|
4977
|
+
args: ['date', { descendants: false }]
|
4978
|
+
}], headerTemplate: [{
|
4918
4979
|
type: ContentChild,
|
4919
|
-
args: ['header']
|
4920
|
-
}],
|
4980
|
+
args: ['header', { descendants: false }]
|
4981
|
+
}], footerTemplate: [{
|
4921
4982
|
type: ContentChild,
|
4922
|
-
args: ['footer']
|
4923
|
-
}],
|
4983
|
+
args: ['footer', { descendants: false }]
|
4984
|
+
}], disabledDateTemplate: [{
|
4924
4985
|
type: ContentChild,
|
4925
|
-
args: ['disabledDate']
|
4926
|
-
}],
|
4986
|
+
args: ['disabledDate', { descendants: false }]
|
4987
|
+
}], decadeTemplate: [{
|
4927
4988
|
type: ContentChild,
|
4928
|
-
args: ['decade']
|
4929
|
-
}],
|
4989
|
+
args: ['decade', { descendants: false }]
|
4990
|
+
}], previousIconTemplate: [{
|
4930
4991
|
type: ContentChild,
|
4931
|
-
args: ['previousicon']
|
4932
|
-
}],
|
4992
|
+
args: ['previousicon', { descendants: false }]
|
4993
|
+
}], nextIconTemplate: [{
|
4933
4994
|
type: ContentChild,
|
4934
|
-
args: ['nexticon']
|
4935
|
-
}],
|
4995
|
+
args: ['nexticon', { descendants: false }]
|
4996
|
+
}], triggerIconTemplate: [{
|
4936
4997
|
type: ContentChild,
|
4937
|
-
args: ['triggericon']
|
4938
|
-
}],
|
4998
|
+
args: ['triggericon', { descendants: false }]
|
4999
|
+
}], clearIconTemplate: [{
|
4939
5000
|
type: ContentChild,
|
4940
|
-
args: ['clearicon']
|
4941
|
-
}],
|
5001
|
+
args: ['clearicon', { descendants: false }]
|
5002
|
+
}], decrementIconTemplate: [{
|
4942
5003
|
type: ContentChild,
|
4943
|
-
args: ['decrementicon']
|
4944
|
-
}],
|
5004
|
+
args: ['decrementicon', { descendants: false }]
|
5005
|
+
}], incrementIconTemplate: [{
|
4945
5006
|
type: ContentChild,
|
4946
|
-
args: ['incrementicon']
|
4947
|
-
}],
|
5007
|
+
args: ['incrementicon', { descendants: false }]
|
5008
|
+
}], inputIconTemplate: [{
|
4948
5009
|
type: ContentChild,
|
4949
|
-
args: ['inputicon']
|
5010
|
+
args: ['inputicon', { descendants: false }]
|
4950
5011
|
}], containerViewChild: [{
|
4951
5012
|
type: ViewChild,
|
4952
5013
|
args: ['container', { static: false }]
|
@@ -4956,6 +5017,9 @@ class Calendar extends BaseComponent {
|
|
4956
5017
|
}], content: [{
|
4957
5018
|
type: ViewChild,
|
4958
5019
|
args: ['contentWrapper', { static: false }]
|
5020
|
+
}], templates: [{
|
5021
|
+
type: ContentChildren,
|
5022
|
+
args: [PrimeTemplate]
|
4959
5023
|
}] }); })();
|
4960
5024
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Calendar, { className: "Calendar" }); })();
|
4961
5025
|
class CalendarModule {
|