@4sh/ui-kit 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.fr.md +18 -10
- package/README.md +18 -10
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +542 -150
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +622 -248
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +385 -152
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +748 -433
- package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +227 -135
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +1200 -633
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +1675 -953
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +243 -117
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +2294 -2039
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1058 -1113
- package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs +1108 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field-sign.mjs.map +1 -0
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +397 -141
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +1529 -583
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +383 -224
- package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +345 -177
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +280 -130
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +507 -246
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +401 -291
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +1277 -697
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +467 -194
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +394 -270
- package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +140 -60
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +386 -167
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +150 -87
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +345 -180
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +582 -392
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +1552 -888
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +485 -338
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +503 -311
- package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +271 -131
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +457 -214
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +711 -371
- package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +235 -121
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms.mjs +723 -596
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +546 -242
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +335 -157
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +53 -33
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +218 -121
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +192 -100
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +456 -204
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +314 -147
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +179 -82
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +268 -123
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +391 -146
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +158 -76
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +159 -80
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +295 -131
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +211 -83
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +784 -414
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +822 -476
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +1014 -599
- package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +403 -189
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +707 -272
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +1146 -568
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +519 -308
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-motion.mjs +252 -150
- package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +793 -341
- package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +351 -194
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +511 -220
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +910 -548
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +1128 -555
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +915 -470
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +931 -474
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-overlay.mjs +26 -109
- package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-ripple.mjs +329 -290
- package/fesm2022/4sh-ui-kit-ripple.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +709 -248
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2633 -1370
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-theming.mjs +112 -113
- package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-types.mjs +0 -12
- package/fesm2022/4sh-ui-kit.mjs +3 -15
- package/fesm2022/4sh-ui-kit.mjs.map +1 -1
- package/mcp/data/component-api.json +313 -2
- package/mcp/data/text-search-docs.json +177 -17
- package/mcp/data/ui-config.json +378 -1
- package/mcp/index.js +8190 -2876
- package/mcp/package.json +1 -1
- package/package.json +5 -1
- package/styles/component-vars.scss +22 -1
- package/styles/utils/_mixins.scss +11 -0
- package/types/4sh-ui-kit-actions-ui-button-split.d.ts +198 -87
- package/types/4sh-ui-kit-actions-ui-button.d.ts +240 -116
- package/types/4sh-ui-kit-actions-ui-link.d.ts +136 -67
- package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +287 -180
- package/types/4sh-ui-kit-base-ui-icon.d.ts +92 -58
- package/types/4sh-ui-kit-base-ui-image.d.ts +406 -205
- package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +577 -367
- package/types/4sh-ui-kit-forms-ui-checkbox.d.ts +77 -42
- package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +953 -700
- package/types/4sh-ui-kit-forms-ui-editor.d.ts +374 -340
- package/types/4sh-ui-kit-forms-ui-field-sign.d.ts +325 -0
- package/types/4sh-ui-kit-forms-ui-field.d.ts +150 -64
- package/types/4sh-ui-kit-forms-ui-file-upload.d.ts +583 -241
- package/types/4sh-ui-kit-forms-ui-input-date.d.ts +152 -103
- package/types/4sh-ui-kit-forms-ui-input-group.d.ts +109 -63
- package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +93 -57
- package/types/4sh-ui-kit-forms-ui-input-number.d.ts +171 -93
- package/types/4sh-ui-kit-forms-ui-input-otp.d.ts +137 -100
- package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +469 -309
- package/types/4sh-ui-kit-forms-ui-input.d.ts +198 -116
- package/types/4sh-ui-kit-forms-ui-knob.d.ts +132 -80
- package/types/4sh-ui-kit-forms-ui-label.d.ts +47 -22
- package/types/4sh-ui-kit-forms-ui-nudger.d.ts +134 -67
- package/types/4sh-ui-kit-forms-ui-radio.d.ts +48 -33
- package/types/4sh-ui-kit-forms-ui-rating.d.ts +120 -86
- package/types/4sh-ui-kit-forms-ui-segment-control.d.ts +221 -147
- package/types/4sh-ui-kit-forms-ui-select.d.ts +561 -357
- package/types/4sh-ui-kit-forms-ui-slider.d.ts +156 -105
- package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +133 -97
- package/types/4sh-ui-kit-forms-ui-textarea.d.ts +90 -54
- package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +158 -94
- package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +314 -178
- package/types/4sh-ui-kit-forms-ui-toggle.d.ts +88 -54
- package/types/4sh-ui-kit-forms.d.ts +291 -186
- package/types/4sh-ui-kit-informative-ui-accordion.d.ts +162 -92
- package/types/4sh-ui-kit-informative-ui-alert.d.ts +128 -62
- package/types/4sh-ui-kit-informative-ui-avatar-group.d.ts +8 -8
- package/types/4sh-ui-kit-informative-ui-avatar.d.ts +81 -44
- package/types/4sh-ui-kit-informative-ui-badge.d.ts +71 -41
- package/types/4sh-ui-kit-informative-ui-chip.d.ts +194 -99
- package/types/4sh-ui-kit-informative-ui-empty-state.d.ts +105 -65
- package/types/4sh-ui-kit-informative-ui-helper.d.ts +64 -34
- package/types/4sh-ui-kit-informative-ui-progress-bar.d.ts +120 -65
- package/types/4sh-ui-kit-informative-ui-read-only.d.ts +147 -67
- package/types/4sh-ui-kit-informative-ui-separator.d.ts +65 -35
- package/types/4sh-ui-kit-informative-ui-skeleton.d.ts +62 -32
- package/types/4sh-ui-kit-informative-ui-spinner.d.ts +111 -50
- package/types/4sh-ui-kit-informative-ui-tag.d.ts +77 -37
- package/types/4sh-ui-kit-informative-ui-toast.d.ts +300 -180
- package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +269 -141
- package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +360 -221
- package/types/4sh-ui-kit-layout-ui-card.d.ts +119 -79
- package/types/4sh-ui-kit-layout-ui-drawer.d.ts +244 -120
- package/types/4sh-ui-kit-layout-ui-modal.d.ts +409 -222
- package/types/4sh-ui-kit-layout-ui-popover.d.ts +149 -91
- package/types/4sh-ui-kit-motion.d.ts +117 -67
- package/types/4sh-ui-kit-navigation-ui-bottom-tab-bar.d.ts +279 -145
- package/types/4sh-ui-kit-navigation-ui-breadcrumb.d.ts +134 -96
- package/types/4sh-ui-kit-navigation-ui-context-menu.d.ts +148 -89
- package/types/4sh-ui-kit-navigation-ui-menu.d.ts +282 -201
- package/types/4sh-ui-kit-navigation-ui-sidebar.d.ts +425 -261
- package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +279 -183
- package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +275 -173
- package/types/4sh-ui-kit-overlay.d.ts +6 -6
- package/types/4sh-ui-kit-ripple.d.ts +99 -74
- package/types/4sh-ui-kit-table-ui-paginator.d.ts +237 -133
- package/types/4sh-ui-kit-table-ui-table.d.ts +769 -470
- package/types/4sh-ui-kit-theming.d.ts +27 -29
- package/types/4sh-ui-kit-types.d.ts +6 -5
- package/types/4sh-ui-kit.d.ts +4 -3
- package/fesm2022/4sh-ui-kit-types.mjs.map +0 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { OnInit, TemplateRef } from "@angular/core";
|
|
6
|
+
import { BaseFormField } from "@4sh/ui-kit/forms";
|
|
7
|
+
import { UiInputIconContext } from "@4sh/ui-kit/forms/ui-input";
|
|
8
|
+
export type DatepickerHourFormat = '12' | '24';
|
|
8
9
|
/** Base picking granularity — also the drill-down levels of the panel. */
|
|
9
|
-
type DatepickerView = 'date' | 'month' | 'year';
|
|
10
|
+
export type DatepickerView = 'date' | 'month' | 'year';
|
|
10
11
|
/** Selection quantity. */
|
|
11
|
-
type DatepickerSelectionMode = 'single' | 'multiple' | 'range';
|
|
12
|
+
export type DatepickerSelectionMode = 'single' | 'multiple' | 'range';
|
|
12
13
|
/**
|
|
13
14
|
* Shape of the value crossing the CVA boundary — see {@link DatepickerValue}. Mandatory
|
|
14
15
|
* (`input.required`, no default): the consumer must pick one explicitly rather than accidentally
|
|
@@ -20,7 +21,7 @@ type DatepickerSelectionMode = 'single' | 'multiple' | 'range';
|
|
|
20
21
|
* against a backend `LocalDate` without going through a DTO layer that already handles the
|
|
21
22
|
* conversion.
|
|
22
23
|
*/
|
|
23
|
-
type DatepickerValueType = 'date' | 'iso';
|
|
24
|
+
export type DatepickerValueType = 'date' | 'iso';
|
|
24
25
|
/**
|
|
25
26
|
* Model value. `writeValue` accepts `Date` **or** ISO string transparently (auto-detected,
|
|
26
27
|
* mixable in `multiple`/`range` arrays) — whatever the host app already has at hand. What gets
|
|
@@ -28,48 +29,48 @@ type DatepickerValueType = 'date' | 'iso';
|
|
|
28
29
|
* follows {@link valueType}: always `Date` in `'date'` mode, always `string` in `'iso'` mode —
|
|
29
30
|
* never a silent mix, so the consumer's own model type stays predictable in either mode.
|
|
30
31
|
*/
|
|
31
|
-
type DatepickerValue = Date | Date[] | string | string[] | null;
|
|
32
|
+
export type DatepickerValue = Date | Date[] | string | string[] | null;
|
|
32
33
|
/** @ignore Internal calendar representation — the only shape `selectedDates`/`buildDay`/grid
|
|
33
34
|
* navigation ever see. `writeValue`/`commit` are the sole two conversion points to/from
|
|
34
35
|
* {@link DatepickerValue} (`Date` or ISO string depending on {@link DatepickerValueType}). */
|
|
35
36
|
type DatepickerDateValue = Date | Date[] | null;
|
|
36
37
|
/** A single day cell of the month grid. Also the `$implicit` context of the `#date` template. */
|
|
37
|
-
interface DatepickerDay {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
38
|
+
export interface DatepickerDay {
|
|
39
|
+
date: Date;
|
|
40
|
+
day: number;
|
|
41
|
+
month: number;
|
|
42
|
+
year: number;
|
|
43
|
+
otherMonth: boolean;
|
|
44
|
+
today: boolean;
|
|
45
|
+
selected: boolean;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
rangeStart: boolean;
|
|
48
|
+
rangeEnd: boolean;
|
|
49
|
+
inRange: boolean;
|
|
50
|
+
ts: number;
|
|
51
|
+
/** Full date, locale-formatted (e.g. "8 juillet 2026") — the gridcell's `aria-label`. */
|
|
52
|
+
ariaLabel: string;
|
|
52
53
|
}
|
|
53
54
|
/** A month cell of the month-picker grid. */
|
|
54
|
-
interface DatepickerMonthCell {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
export interface DatepickerMonthCell {
|
|
56
|
+
index: number;
|
|
57
|
+
label: string;
|
|
58
|
+
selected: boolean;
|
|
59
|
+
disabled: boolean;
|
|
59
60
|
}
|
|
60
61
|
/** A year cell of the year-picker grid. */
|
|
61
|
-
interface DatepickerYearCell {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
export interface DatepickerYearCell {
|
|
63
|
+
year: number;
|
|
64
|
+
selected: boolean;
|
|
65
|
+
disabled: boolean;
|
|
65
66
|
}
|
|
66
67
|
/** One rendered month panel (supports `numberOfMonths`). */
|
|
67
|
-
interface DatepickerMonthPanel {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
export interface DatepickerMonthPanel {
|
|
69
|
+
monthDate: Date;
|
|
70
|
+
label: string;
|
|
71
|
+
weeks: DatepickerDay[][];
|
|
72
|
+
showPrev: boolean;
|
|
73
|
+
showNext: boolean;
|
|
73
74
|
}
|
|
74
75
|
/**
|
|
75
76
|
* ui-datepicker — headless date / month / year (and optional time) picker.
|
|
@@ -89,663 +90,915 @@ interface DatepickerMonthPanel {
|
|
|
89
90
|
* (`let-date let-selected="selected"`) and the `#buttonbar` template
|
|
90
91
|
* (`let-todayCallback let-clearCallback`), plus the local SCSS variables.
|
|
91
92
|
*/
|
|
92
|
-
declare class UiDatepicker extends BaseFormField<DatepickerValue> {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
93
|
+
export declare class UiDatepicker extends BaseFormField<DatepickerValue> implements OnInit {
|
|
94
|
+
/** Placeholder shown in the trigger when nothing is selected. */
|
|
95
|
+
placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
96
|
+
/** FontAwesome icon of the trigger's toggle button. */
|
|
97
|
+
icon: import("@angular/core").InputSignal<string>;
|
|
98
|
+
/** Show the trigger's calendar toggle button. */
|
|
99
|
+
showIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
100
|
+
/** Accessible name of the toggle button (a11y). */
|
|
101
|
+
iconAriaLabel: import("@angular/core").InputSignal<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Show a clear (×) button in the trigger when a value is set. **Default `true`** (FSHSP-118):
|
|
104
|
+
* only takes effect when `showIcon` is `false` — the calendar/clock toggle otherwise always
|
|
105
|
+
* wins the trigger's single icon slot, so the panel stays reachable by click even once a value
|
|
106
|
+
* is set. With `showIcon` at its own default (`true`), clearing goes through the keyboard
|
|
107
|
+
* (`allowInput`, itself `true` by default) instead: select the text and delete it.
|
|
108
|
+
*/
|
|
109
|
+
showClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
110
|
+
/**
|
|
111
|
+
* Shape of the emitted value: `'date'` (a plain `Date` — matches a DTO round-tripped through
|
|
112
|
+
* `class-transformer`) or `'iso'` (ISO `"yyyy-MM-dd"` string, for a value read/written directly
|
|
113
|
+
* against a backend `LocalDate`). `writeValue` always accepts either shape regardless of this
|
|
114
|
+
* setting — it only governs what `valueChange`/`dateSelect` emit. **Required, no default**: the
|
|
115
|
+
* consumer must pick the one matching its own model's type rather than inherit a silent default.
|
|
116
|
+
*/
|
|
117
|
+
valueType: import("@angular/core").InputSignal<DatepickerValueType>;
|
|
118
|
+
/** Selection quantity: `single` (default), `multiple` or `range`. */
|
|
119
|
+
selectionMode: import("@angular/core").InputSignal<DatepickerSelectionMode>;
|
|
120
|
+
/** Base picking granularity: `date` (default), `month` (MonthPicker) or `year` (YearPicker). */
|
|
121
|
+
view: import("@angular/core").InputSignal<DatepickerView>;
|
|
122
|
+
/** Number of month panels shown side-by-side (date view only). */
|
|
123
|
+
numberOfMonths: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
124
|
+
/** Earliest selectable date (inclusive). `Date` or ISO `"yyyy-MM-dd"`. */
|
|
125
|
+
minDate: import("@angular/core").InputSignal<string | Date | null>;
|
|
126
|
+
/** Latest selectable date (inclusive). `Date` or ISO `"yyyy-MM-dd"`. */
|
|
127
|
+
maxDate: import("@angular/core").InputSignal<string | Date | null>;
|
|
128
|
+
/**
|
|
129
|
+
* Date the calendar opens on while the field is empty (a selected value always wins), kept
|
|
130
|
+
* within `minDate`/`maxDate`. `Date` or ISO `"yyyy-MM-dd"`. Today when unset.
|
|
131
|
+
*/
|
|
132
|
+
defaultViewDate: import("@angular/core").InputSignal<string | Date | null>;
|
|
133
|
+
/** Individual dates to disable. `Date` or ISO `"yyyy-MM-dd"`, mixable. */
|
|
134
|
+
disabledDates: import("@angular/core").InputSignal<(string | Date)[]>;
|
|
135
|
+
/** Week days to disable (0 = Sunday … 6 = Saturday). */
|
|
136
|
+
disabledDays: import("@angular/core").InputSignal<number[]>;
|
|
137
|
+
/** First day of the week (0 = Sunday … 6 = Saturday). Defaults to Monday. */
|
|
138
|
+
firstDayOfWeek: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
139
|
+
/** BCP-47 locale for names and default formatting. Defaults to `LOCALE_ID`. */
|
|
140
|
+
locale: import("@angular/core").InputSignal<string | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* Custom display formatter for a single date (overrides the default `Intl` format) — also
|
|
143
|
+
* used, unchanged, as the time formatter in `timeOnly` mode.
|
|
144
|
+
*
|
|
145
|
+
* With `allowInput` and no `parseDate`, the typed text is read back in the day/month/year
|
|
146
|
+
* order **this formatter writes** (probed from its own output, whatever locale it uses
|
|
147
|
+
* internally), not the resolved locale's — so entry and display always agree. A non-numeric
|
|
148
|
+
* format (e.g. `"22 novembre 2023"`) can't be probed: pair it with a matching `parseDate`.
|
|
149
|
+
*/
|
|
150
|
+
dateFormat: import("@angular/core").InputSignal<((date: Date) => string) | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* Allow typing the date directly in the trigger. **Default `true`** (FSHSP-118): a calendar
|
|
153
|
+
* grid alone forces a screen-reader user through ~30 cells to pick a date, when typing it is
|
|
154
|
+
* far faster — set `false` to force the grid-only path instead. The typed text is parsed on
|
|
155
|
+
* blur / `Enter`; an unparsable value reverts to the previously displayed one. When enabled
|
|
156
|
+
* (and no custom `dateFormat`), the value is displayed in a numeric locale format so it
|
|
157
|
+
* round-trips with typing.
|
|
158
|
+
*
|
|
159
|
+
* `single` gets the full experience: a live auto-"/" mask while constructing a date from an
|
|
160
|
+
* empty field (see `typingSlots`), free-form text editing otherwise — no live reformatting,
|
|
161
|
+
* parsed on blur/Enter. "Otherwise" covers both a value that already exists and an edit made
|
|
162
|
+
* inside the text being typed rather than at its tail: editing a segment in place, e.g. just
|
|
163
|
+
* the month, never shifts what follows (FSHSP-118, FSHSP-179).
|
|
164
|
+
*
|
|
165
|
+
* `range`/`multiple` are typeable too (FSHSP-118), but always as plain text — no live mask,
|
|
166
|
+
* only parsed on blur/Enter: `"jj/mm/aaaa - jj/mm/aaaa"` for `range` (exactly two dates,
|
|
167
|
+
* reordered chronologically if typed backwards), `"jj/mm/aaaa, jj/mm/aaaa, ..."` for `multiple`
|
|
168
|
+
* (any count, duplicates collapsed) — see `parseTypedMulti`. The grid keeps working exactly as
|
|
169
|
+
* before either way; typing is a complement, not a replacement.
|
|
170
|
+
*
|
|
171
|
+
* A typeable field is a text field first: **a click in it no longer opens the panel**
|
|
172
|
+
* (FSHSP-180) — the calendar icon, `↓` and the keyboard do. `allowInput="false"` (or
|
|
173
|
+
* `readonly`/`timeOnly`) restores the click-to-open, the field being the affordance there; so
|
|
174
|
+
* does `showIcon="false"`, which leaves no icon to click. See `onTriggerClick`.
|
|
175
|
+
*
|
|
176
|
+
* Has no effect in `timeOnly` mode: the trigger stays read-only there (no parser/formatter for
|
|
177
|
+
* a bare time string).
|
|
178
|
+
*/
|
|
179
|
+
allowInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
180
|
+
/**
|
|
181
|
+
* Custom parser for the typed text (symmetric with `dateFormat`). Return `null`
|
|
182
|
+
* to reject the input. When omitted, a locale-aware numeric parser is used.
|
|
183
|
+
*/
|
|
184
|
+
parseDate: import("@angular/core").InputSignal<((value: string) => Date | null) | undefined>;
|
|
185
|
+
/** Enable the time selection row. */
|
|
186
|
+
showTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
187
|
+
/** Time-only mode: hide the calendar, keep the time row. */
|
|
188
|
+
timeOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
189
|
+
/** 12h (AM/PM) or 24h clock. */
|
|
190
|
+
hourFormat: import("@angular/core").InputSignal<DatepickerHourFormat>;
|
|
191
|
+
/** Minute increment of the time stepper (buttons / arrow keys — typing stays exact). */
|
|
192
|
+
stepMinute: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
193
|
+
/**
|
|
194
|
+
* Let the hours and minutes be typed directly in the time row (default).
|
|
195
|
+
*/
|
|
196
|
+
editableTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
197
|
+
/** Show the bottom button bar (Today / Clear) — or the `#buttonbar` template. */
|
|
198
|
+
showButtonBar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
199
|
+
/** Ripple Effect */
|
|
200
|
+
ripple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
201
|
+
/** Label of the default "Today" button. */
|
|
202
|
+
todayLabel: import("@angular/core").InputSignal<string>;
|
|
203
|
+
/** Label of the default "Clear" button. */
|
|
204
|
+
clearLabel: import("@angular/core").InputSignal<string>;
|
|
205
|
+
/**
|
|
206
|
+
* Accessible hint announcing the expected typed format, chained onto the trigger's
|
|
207
|
+
* `aria-describedby` (alongside the helper/error message, never replacing it) whenever it's
|
|
208
|
+
* typeable (FSHSP-118): the `placeholder` alone is unreliable across screen readers, and it
|
|
209
|
+
* disappears the moment the user starts typing. Defaults to a sentence built from the resolved
|
|
210
|
+
* placeholder (e.g. "Format attendu : jj/mm/aaaa"); pass an explicit string to override it, or
|
|
211
|
+
* `''` to omit it.
|
|
212
|
+
*/
|
|
213
|
+
formatHintLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
214
|
+
/** Accessible name of the calendar panel (fallback when no `label`/`ariaLabel`). */
|
|
215
|
+
panelAriaLabel: import("@angular/core").InputSignal<string>;
|
|
216
|
+
/** Accessible label of the previous-month/year navigation arrow. */
|
|
217
|
+
prevAriaLabel: import("@angular/core").InputSignal<string>;
|
|
218
|
+
/** Accessible label of the next-month/year navigation arrow. */
|
|
219
|
+
nextAriaLabel: import("@angular/core").InputSignal<string>;
|
|
220
|
+
/** Accessible name of the hours spinbutton. */
|
|
221
|
+
hoursAriaLabel: import("@angular/core").InputSignal<string>;
|
|
222
|
+
/** Accessible name of the minutes spinbutton. */
|
|
223
|
+
minutesAriaLabel: import("@angular/core").InputSignal<string>;
|
|
224
|
+
/** Accessible name of the AM/PM spinbutton. */
|
|
225
|
+
meridiemAriaLabel: import("@angular/core").InputSignal<string>;
|
|
226
|
+
/** Accessible label of the hours increment button. */
|
|
227
|
+
incrementHoursAriaLabel: import("@angular/core").InputSignal<string>;
|
|
228
|
+
/** Accessible label of the hours decrement button. */
|
|
229
|
+
decrementHoursAriaLabel: import("@angular/core").InputSignal<string>;
|
|
230
|
+
/** Accessible label of the minutes increment button. */
|
|
231
|
+
incrementMinutesAriaLabel: import("@angular/core").InputSignal<string>;
|
|
232
|
+
/** Accessible label of the minutes decrement button. */
|
|
233
|
+
decrementMinutesAriaLabel: import("@angular/core").InputSignal<string>;
|
|
234
|
+
/** Accessible label of the AM/PM toggle buttons. */
|
|
235
|
+
toggleMeridiemAriaLabel: import("@angular/core").InputSignal<string>;
|
|
236
|
+
/** Render the panel inline (no trigger, no overlay). */
|
|
237
|
+
inline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
238
|
+
/**
|
|
239
|
+
* Open the panel as soon as the trigger takes focus, pointer *or* keyboard, never a
|
|
240
|
+
* programmatic focus.
|
|
241
|
+
*/
|
|
242
|
+
showOnFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
243
|
+
/**
|
|
244
|
+
* Auto-flip the panel above the trigger when there isn't enough room below
|
|
245
|
+
* (default). Set `false` to lock it below the trigger regardless of space.
|
|
246
|
+
*/
|
|
247
|
+
autoFlip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
248
|
+
/** Close after a complete selection (ignored when `showTime`). */
|
|
249
|
+
closeOnSelect: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
250
|
+
/** Extra class(es) applied to the panel (scoped custom styling). */
|
|
251
|
+
panelStyleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
252
|
+
/** Native autocomplete, forwarded to the trigger. */
|
|
253
|
+
autocomplete: import("@angular/core").InputSignal<string | undefined>;
|
|
254
|
+
/** Emitted whenever the value changes (selection, time, clear). */
|
|
255
|
+
valueChange: import("@angular/core").OutputEmitterRef<DatepickerValue>;
|
|
256
|
+
/** Emitted when a date/month/year is picked — always a single value (in `valueType`'s
|
|
257
|
+
* shape), even in `multiple`/`range` (it reports "which day was just clicked", not the model
|
|
258
|
+
* value, which is why it never becomes an array there). */
|
|
259
|
+
dateSelect: import("@angular/core").OutputEmitterRef<string | Date>;
|
|
260
|
+
/** Emitted when the displayed month changes. */
|
|
261
|
+
monthChange: import("@angular/core").OutputEmitterRef<{
|
|
262
|
+
month: number;
|
|
263
|
+
year: number;
|
|
264
|
+
}>;
|
|
265
|
+
/** Emitted when the panel opens. */
|
|
266
|
+
opened: import("@angular/core").OutputEmitterRef<void>;
|
|
267
|
+
/** Emitted when the panel closes. */
|
|
268
|
+
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
269
|
+
/** Emitted when the value is cleared. */
|
|
270
|
+
cleared: import("@angular/core").OutputEmitterRef<void>;
|
|
271
|
+
/** Emitted when the trigger receives focus. */
|
|
272
|
+
inputFocus: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
273
|
+
/** Emitted when the trigger loses focus. */
|
|
274
|
+
inputBlur: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
275
|
+
/** Custom day-cell template: `<ng-template #date let-date let-selected="selected">`. */
|
|
276
|
+
protected readonly dateTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
277
|
+
/** Custom button-bar template: `<ng-template #buttonbar let-todayCallback let-clearCallback>`. */
|
|
278
|
+
protected readonly buttonBarTemplate: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
279
|
+
/** Custom trigger-icon template: `<ng-template #icon let-name let-size="size">`. */
|
|
280
|
+
private readonly iconTemplate;
|
|
281
|
+
/** @ignore */
|
|
282
|
+
private readonly localeId;
|
|
283
|
+
/** @ignore Focus origin of the trigger, for `showOnFocus`. The CDK is the only thing that can
|
|
284
|
+
* tell a user-initiated focus from a programmatic one (`autofocus`, a host app calling
|
|
285
|
+
* `focus()`), which must not pop a calendar the user never asked for. */
|
|
286
|
+
private readonly focusMonitor;
|
|
287
|
+
/** @ignore Only used to detach the overlay *synchronously* on `Tab`, see `onTriggerKeydown`. */
|
|
288
|
+
private readonly cdr;
|
|
289
|
+
/** @ignore */
|
|
290
|
+
private readonly doc;
|
|
291
|
+
/** @ignore Element the current press started on, see `onOutsideClick`. */
|
|
292
|
+
private pressOrigin;
|
|
293
|
+
/** @ignore */
|
|
294
|
+
private readonly triggerInput;
|
|
295
|
+
/** @ignore Trigger host (to anchor the overlay on the input box, not the helper). */
|
|
296
|
+
private readonly triggerRef;
|
|
297
|
+
/** @ignore Panel root element (overlay or inline) — used for roving day focus. */
|
|
298
|
+
private readonly panelEl;
|
|
299
|
+
/** @ignore Trigger wrapper (field + label + format hint). A non-modal panel has no backdrop,
|
|
300
|
+
* so outside-click dismissal has to know what "inside the trigger" means. */
|
|
301
|
+
private readonly triggerWrapperEl;
|
|
302
|
+
/** @ignore */
|
|
303
|
+
protected readonly panelId: string;
|
|
304
|
+
/** @ignore */
|
|
305
|
+
protected readonly panelOpen: import("@angular/core").WritableSignal<boolean>;
|
|
306
|
+
/** @ignore Panel opened without taking the focus (`showOnFocus`): plain popup instead of the
|
|
307
|
+
* usual modal dialog — see {@link DatepickerOpenOrigin}. */
|
|
308
|
+
protected readonly nonModal: import("@angular/core").WritableSignal<boolean>;
|
|
309
|
+
/** @ignore Set while we hand the focus back to the trigger ourselves (`close`), so the
|
|
310
|
+
* returning focus never re-opens the panel that just closed. `focus()` dispatches
|
|
311
|
+
* synchronously, so a plain flag is enough, no timer to leak. */
|
|
312
|
+
private suppressFocusOpen;
|
|
313
|
+
/** @ignore Element the overlay is anchored to (the input box). */
|
|
314
|
+
protected readonly overlayOrigin: import("@angular/core").WritableSignal<Element | null>;
|
|
315
|
+
/** @ignore Month currently displayed. */
|
|
316
|
+
protected readonly viewDate: import("@angular/core").WritableSignal<Date>;
|
|
317
|
+
/** @ignore Active drill-down level; resets to `view()` when it changes. */
|
|
318
|
+
protected readonly currentView: import("@angular/core").WritableSignal<DatepickerView>;
|
|
319
|
+
/** @ignore Day cell owning the roving tabindex. */
|
|
320
|
+
protected readonly focusedDate: import("@angular/core").WritableSignal<Date>;
|
|
321
|
+
/** @ignore Month-picker cell (index 0–11) owning the roving tabindex. */
|
|
322
|
+
protected readonly focusedMonthIndex: import("@angular/core").WritableSignal<number>;
|
|
323
|
+
/** @ignore Year-picker cell (absolute year) owning the roving tabindex. */
|
|
324
|
+
protected readonly focusedYear: import("@angular/core").WritableSignal<number>;
|
|
325
|
+
/** @ignore Time components. */
|
|
326
|
+
protected readonly hours: import("@angular/core").WritableSignal<number>;
|
|
327
|
+
protected readonly minutes: import("@angular/core").WritableSignal<number>;
|
|
328
|
+
/** @ignore Raw text while the user edits the trigger (`allowInput`); `null` when not editing. */
|
|
329
|
+
protected readonly typedValue: import("@angular/core").WritableSignal<string | null>;
|
|
330
|
+
/** @ignore Live mask given up on for the rest of the current entry, because the user edited
|
|
331
|
+
* inside the text instead of appending at its tail (see `onTriggerInput`/`typingSlots`).
|
|
332
|
+
* Lifted by any commit, and as soon as the field reads empty. */
|
|
333
|
+
private readonly maskSuspended;
|
|
334
|
+
/** @ignore Date-based source of truth for all calendar/selection logic; `modelValue`
|
|
335
|
+
* (inherited) only ever carries the public value (`Date` or ISO string per `valueType`),
|
|
336
|
+
* written in lockstep. */
|
|
337
|
+
protected readonly internalValue: import("@angular/core").WritableSignal<DatepickerDateValue>;
|
|
338
|
+
/** @ignore Below the trigger, flipping above when `autoFlip` and space is lacking. */
|
|
339
|
+
protected readonly overlayPositions: import("@angular/core").Signal<import("@angular/cdk/overlay").ConnectedPosition[]>;
|
|
340
|
+
/** @ignore Gutter kept with the viewport edges, matching the one `$panel-max-width`
|
|
341
|
+
* reserves; with `cdkConnectedOverlayPush` it keeps the panel fully on screen. */
|
|
342
|
+
protected readonly overlayViewportMargin = 12;
|
|
343
|
+
/** @ignore Bound (stable) callbacks exposed to the `#buttonbar` template. */
|
|
344
|
+
protected readonly todayCallback: (event?: Event) => void;
|
|
345
|
+
protected readonly clearCallback: (event?: Event) => void;
|
|
346
|
+
/** @ignore */
|
|
347
|
+
private readonly resolvedLocale;
|
|
348
|
+
/** @ignore `minDate`/`maxDate`/`disabledDates` normalized to `Date` (accept ISO strings too). */
|
|
349
|
+
private readonly resolvedMinDate;
|
|
350
|
+
private readonly resolvedMaxDate;
|
|
351
|
+
private readonly resolvedDefaultViewDate;
|
|
352
|
+
private readonly resolvedDisabledDates;
|
|
353
|
+
/** @ignore Not typeable: manual input off, read-only, or `timeOnly` (no bare-time parser).
|
|
354
|
+
* `range`/`multiple` ARE typeable (FSHSP-118) — see `parseTypedMulti`/`typingSlots`. */
|
|
355
|
+
protected readonly triggerReadonly: import("@angular/core").Signal<boolean>;
|
|
356
|
+
/** @ignore Single-date placeholder token (e.g. `jj/mm/aaaa`) — the building block
|
|
357
|
+
* `resolvedPlaceholder` composes for `range`/`multiple`. With a custom `dateFormat`, the
|
|
358
|
+
* locale's numeric token would be flatly wrong (it describes a format nothing actually
|
|
359
|
+
* produces or accepts) — showing that custom formatter's own output for an illustrative date
|
|
360
|
+
* instead at least matches what the field really expects. */
|
|
361
|
+
private readonly singleDatePlaceholder;
|
|
362
|
+
/**
|
|
363
|
+
* @ignore Placeholder shown in the typeable trigger. Falls back to a hint derived from the
|
|
364
|
+
* resolved locale's field order (e.g. `jj/mm/aaaa` in French, `mm/dd/yyyy` in en-US) — or, with
|
|
365
|
+
* a custom `dateFormat`, from that formatter's own output for an illustrative date (see
|
|
366
|
+
* `singleDatePlaceholder`), since the locale-numeric token would describe a format nothing
|
|
367
|
+
* actually produces or accepts — so the field never advertises the wrong format. Composed into
|
|
368
|
+
* `"jj/mm/aaaa - jj/mm/aaaa"` (`range`) or `"jj/mm/aaaa, ..."` (`multiple`), matching
|
|
369
|
+
* `RANGE_SEPARATOR`/`MULTIPLE_SEPARATOR` (see `parseTypedMulti`).
|
|
370
|
+
*/
|
|
371
|
+
protected readonly resolvedPlaceholder: import("@angular/core").Signal<string | undefined>;
|
|
372
|
+
/**
|
|
373
|
+
* @ignore Format hint text, or `null` when there's nothing to announce: the trigger isn't
|
|
374
|
+
* typeable, or `formatHintLabel` was explicitly set to `''` to opt out.
|
|
375
|
+
*/
|
|
376
|
+
protected readonly resolvedFormatHint: import("@angular/core").Signal<string | null>;
|
|
377
|
+
/** @ignore Stable id for the hint element `resolvedFormatHint` renders into. */
|
|
378
|
+
protected readonly formatHintId: import("@angular/core").Signal<string>;
|
|
379
|
+
/**
|
|
380
|
+
* @ignore Field order a custom `dateFormat` actually writes, probed from its own output for
|
|
381
|
+
* {@link probeDate}. `null` when there is no custom formatter, or when its output isn't
|
|
382
|
+
* numeric enough to tell (e.g. `"22 novembre 2023"`) — the locale order stands then.
|
|
383
|
+
*
|
|
384
|
+
* The default parser and the live mask have to read the text back in the order the field
|
|
385
|
+
* displays it, and a `dateFormat` is free to use a locale of its own: an `fr-FR` formatter
|
|
386
|
+
* under an `en-US` `LOCALE_ID` displayed `"08/07/2026"` but parsed it month-first, so
|
|
387
|
+
* finishing the entry silently swapped day and month (FSHSP-179).
|
|
388
|
+
*/
|
|
389
|
+
private readonly customFormatFieldOrder;
|
|
390
|
+
/** @ignore Order of day/month/year driving numeric parsing, the live mask and the auto
|
|
391
|
+
* placeholder: what a custom `dateFormat` writes when that can be probed
|
|
392
|
+
* ({@link customFormatFieldOrder}), the resolved locale's own order otherwise. */
|
|
393
|
+
private readonly dateFieldOrder;
|
|
394
|
+
/** @ignore `dateFieldOrder`, minus `day` in month view — the fields actually typed. */
|
|
395
|
+
private readonly activeFields;
|
|
396
|
+
/**
|
|
397
|
+
* @ignore Dynamic mask (day/month/year widths, `+` time if `showTime`, `+` a second date for
|
|
398
|
+
* `range`) driving the auto-"/"/":"/" - " formatting of the typeable trigger. `null` disables
|
|
399
|
+
* it: `triggerReadonly`, `view === 'year'` (free-form field), a custom `parseDate` (non-numeric
|
|
400
|
+
* format), `hasValue()`, or `multiple` (unbounded date count, no fixed template fits — plain
|
|
401
|
+
* text on blur/Enter instead, see `parseTypedMulti`).
|
|
402
|
+
*
|
|
403
|
+
* `hasValue()`: re-deriving the mask from the raw digit stream only works for *constructing* a
|
|
404
|
+
* value from nothing, not editing one in place (day/month re-validate arbitrary residual digits
|
|
405
|
+
* after any edit — see `onTriggerInput`). So it's off once a value exists — plain text instead,
|
|
406
|
+
* parsed on blur/Enter — and re-arms the moment the field reads empty (`onTriggerInput` commits
|
|
407
|
+
* the clear right there, not just on blur, so `hasValue()` actually flips before the next key).
|
|
408
|
+
*
|
|
409
|
+
* `maskSuspended()`: the same limitation, hit before any value exists — an edit made *inside*
|
|
410
|
+
* the text being typed rather than at its tail (see `onTriggerInput`).
|
|
411
|
+
*/
|
|
412
|
+
private readonly typingSlots;
|
|
413
|
+
/** @ignore The panel is visible. */
|
|
414
|
+
protected readonly showPanel: import("@angular/core").Signal<boolean>;
|
|
415
|
+
/** @ignore Day grid shown (hidden in `timeOnly`). */
|
|
416
|
+
protected readonly showCalendar: import("@angular/core").Signal<boolean>;
|
|
417
|
+
/** @ignore Single-month layout enables the drill-down header + roving focus. */
|
|
418
|
+
protected readonly singleMonth: import("@angular/core").Signal<boolean>;
|
|
419
|
+
/** @ignore A value is currently set. */
|
|
420
|
+
protected readonly hasValue: import("@angular/core").Signal<boolean>;
|
|
421
|
+
/**
|
|
422
|
+
* @ignore A `range` whose two ends are both picked. Between the first and the second click
|
|
423
|
+
* the start is selected but there is no zone yet: the grid must then show its chip alone,
|
|
424
|
+
* never a half band running off toward an end that does not exist.
|
|
425
|
+
*/
|
|
426
|
+
protected readonly rangeComplete: import("@angular/core").Signal<boolean>;
|
|
427
|
+
/**
|
|
428
|
+
* @ignore The trigger's right action clears the value (instead of toggling the panel). Gated
|
|
429
|
+
* on `!showIcon()` (FSHSP-118): the calendar/clock toggle always wins the trigger's single icon
|
|
430
|
+
* slot when it's shown, so there's always a click target to reopen the panel and pick a
|
|
431
|
+
* different date directly — the cross only replaces it in configs that hid it (`showIcon`
|
|
432
|
+
* false), where it's the sole remaining affordance to empty the field without a keyboard.
|
|
433
|
+
*/
|
|
434
|
+
protected readonly showClearButton: import("@angular/core").Signal<boolean>;
|
|
435
|
+
/** @ignore Right-side icon: clear (×) when clearable + set + no calendar toggle to show
|
|
436
|
+
* (see `showClearButton`), else the calendar/clock toggle. */
|
|
437
|
+
protected readonly triggerIcon: import("@angular/core").Signal<string | undefined>;
|
|
438
|
+
/** @ignore Accessible name of the right action. */
|
|
439
|
+
protected readonly triggerIconAriaLabel: import("@angular/core").Signal<string>;
|
|
440
|
+
/** @ignore Forwarded to the trigger only when an icon zone is rendered — `showIcon="false"` stays icon-less. */
|
|
441
|
+
protected readonly triggerIconTemplate: import("@angular/core").Signal<TemplateRef<UiInputIconContext> | undefined>;
|
|
442
|
+
/** @ignore Flatten the internal (Date-based) value to a list of selected dates. */
|
|
443
|
+
private readonly selectedDates;
|
|
444
|
+
/** @ignore First selected date (for view seeding / time / display). */
|
|
445
|
+
private firstSelectedFrom;
|
|
446
|
+
/** @ignore Whether the value carries a time component (date+time ISO / non-midnight `Date`)
|
|
447
|
+
* — also what shows the time row, which `timeOnly` needs without `showTime` (FSHSP-271). */
|
|
448
|
+
protected readonly hasTimeComponent: import("@angular/core").Signal<boolean>;
|
|
449
|
+
/** @ignore Date → ISO string, date-only unless `showTime`/`timeOnly`. */
|
|
450
|
+
private toIsoValue;
|
|
451
|
+
/** @ignore ISO string → Date, `null` if malformed (never throws). */
|
|
452
|
+
private fromIsoValue;
|
|
453
|
+
/** @ignore Internal Date → the shape `valueType` commits to emitting: a fresh `Date`
|
|
454
|
+
* (normalized to midnight when no time is shown — never the original reference) in `'date'`
|
|
455
|
+
* mode, an ISO string in `'iso'` mode. The single point deciding the emitted type. */
|
|
456
|
+
private serializeValue;
|
|
457
|
+
/** @ignore A single incoming item, `Date` or ISO string, auto-detected — `writeValue` accepts
|
|
458
|
+
* either shape regardless of `valueType` (only the emitted side commits to one). Cloned when
|
|
459
|
+
* already a `Date` (never the caller's own reference) — symmetric with `serializeValue`,
|
|
460
|
+
* which never hands back the internal reference either; protects against the caller later
|
|
461
|
+
* mutating that `Date` in place and silently desyncing `internalValue`. */
|
|
462
|
+
private parseValue;
|
|
463
|
+
/** @ignore Internal Date(s) → public value, right before it reaches `modelValue`/the CVA.
|
|
464
|
+
* The cast is safe: `serializeValue` only branches on `valueType()`, constant across the
|
|
465
|
+
* `map`, so the array is always homogeneous (`Date[]` or `string[]`, never mixed). */
|
|
466
|
+
private toExternalValue;
|
|
467
|
+
/** @ignore Public value → internal Date(s), right as it enters via `writeValue`. Invalid
|
|
468
|
+
* entries are dropped rather than failing the whole value (a malformed item in a
|
|
469
|
+
* `multiple`/`range` array shouldn't wipe out the rest). */
|
|
470
|
+
private toInternalValue;
|
|
471
|
+
/** @ignore */
|
|
472
|
+
private formatDate;
|
|
473
|
+
/** @ignore `timeOnly` display — respects `hourFormat` (never the locale's own AM/PM-vs-24h
|
|
474
|
+
* default) and `dateFormat` when provided (symmetric with `formatDate`/`formatMonth`, used
|
|
475
|
+
* here as a time formatter). */
|
|
476
|
+
private formatTime;
|
|
477
|
+
/** @ignore Month-view display (numeric + round-trippable when the trigger is typeable). */
|
|
478
|
+
private formatMonth;
|
|
479
|
+
/** @ignore Value rendered in the trigger. */
|
|
480
|
+
protected readonly displayValue: import("@angular/core").Signal<string>;
|
|
481
|
+
/** @ignore Displayed decade start (year view). */
|
|
482
|
+
private readonly decadeStart;
|
|
483
|
+
/** @ignore Header label depends on the active view. */
|
|
484
|
+
protected readonly headerLabel: import("@angular/core").Signal<string>;
|
|
485
|
+
/** @ignore Short (visible) + full (aria-label) weekday names — without both, either the header
|
|
486
|
+
* stays `aria-hidden` or the short text alone leaves screen-reader users without column names. */
|
|
487
|
+
protected readonly weekDayNames: import("@angular/core").Signal<{
|
|
488
|
+
short: string;
|
|
489
|
+
full: string;
|
|
490
|
+
}[]>;
|
|
491
|
+
/** @ignore Full-date `aria-label` formatter for day gridcells (e.g. "8 juillet 2026"). */
|
|
492
|
+
private readonly dayAriaFormatter;
|
|
493
|
+
/** @ignore Month panels (1 or more) for the date view. */
|
|
494
|
+
protected readonly monthPanels: import("@angular/core").Signal<DatepickerMonthPanel[]>;
|
|
495
|
+
/** @ignore Month-picker grid (12 months of the displayed year). */
|
|
496
|
+
protected readonly months: import("@angular/core").Signal<DatepickerMonthCell[]>;
|
|
497
|
+
/** @ignore Year-picker grid (the displayed decade). */
|
|
498
|
+
protected readonly years: import("@angular/core").Signal<DatepickerYearCell[]>;
|
|
499
|
+
/** @ignore Month/year cells chunked into the rows the CSS actually renders (3 and 2 columns,
|
|
500
|
+
* see `.ui-datepicker-picker._month` / `._year`). A `role="grid"` requires its `gridcell`s to
|
|
501
|
+
* sit inside a `role="row"`; without it the whole grid is invalid ARIA and screen readers get
|
|
502
|
+
* no row structure to walk. Keep the chunk sizes in step with the SCSS column counts. */
|
|
503
|
+
protected readonly monthRows: import("@angular/core").Signal<DatepickerMonthCell[][]>;
|
|
504
|
+
/** @ignore Year-picker rows — 2 columns, see `.ui-datepicker-picker._year`. */
|
|
505
|
+
protected readonly yearRows: import("@angular/core").Signal<DatepickerYearCell[][]>;
|
|
506
|
+
/** @ignore Hours as shown in the 12h stepper (1–12). */
|
|
507
|
+
protected readonly displayHours: import("@angular/core").Signal<number>;
|
|
508
|
+
/** @ignore */
|
|
509
|
+
protected readonly meridiem: import("@angular/core").Signal<"AM" | "PM">;
|
|
510
|
+
constructor();
|
|
511
|
+
ngOnInit(): void;
|
|
512
|
+
writeValue(value: DatepickerValue): void;
|
|
513
|
+
/**
|
|
514
|
+
* @param viaIcon Whether this open was specifically triggered by the calendar icon (vs.
|
|
515
|
+
* clicking the field itself, or a keyboard shortcut) — see the rove-into-grid comment below.
|
|
516
|
+
*/
|
|
517
|
+
open(viaIcon?: boolean): void;
|
|
518
|
+
/** @ignore Real implementation of {@link open}, keyed on the full {@link DatepickerOpenOrigin}
|
|
519
|
+
* (the public `open()` only ever expresses two of the three). */
|
|
520
|
+
private openFrom;
|
|
521
|
+
close(focusTrigger?: boolean): void;
|
|
522
|
+
/** @ignore */
|
|
523
|
+
protected toggle(viaIcon?: boolean): void;
|
|
524
|
+
/** @ignore Right action: clear when clearable + set, otherwise toggle the panel (via the icon —
|
|
525
|
+
* see `open`'s `viaIcon`). `stopPropagation` keeps the click from bubbling to the field (which
|
|
526
|
+
* would otherwise also call `open()`, without `viaIcon`, right behind this one). */
|
|
527
|
+
protected onIconClick(event: MouseEvent): void;
|
|
528
|
+
/**
|
|
529
|
+
* @ignore Whether a click on the trigger opens the panel. It does when the field isn't
|
|
530
|
+
* typeable (`triggerReadonly`: the field then *is* the button), and when `showIcon` is off
|
|
531
|
+
* (no calendar toggle left — without this, nothing would open the panel with a mouse).
|
|
532
|
+
*
|
|
533
|
+
* On a typeable field it does NOT (FSHSP-180). The panel is an overlay with a permanent
|
|
534
|
+
* backdrop, so an open panel swallows every further click on the field: the first click
|
|
535
|
+
* placed the caret, the next one lost focus without moving it — correcting a single segment
|
|
536
|
+
* with the mouse was impossible. Opening also live-commits the typed text through
|
|
537
|
+
* `previewTyped`, which disarms the auto-"/" mask mid-entry (see `typingSlots`). The icon,
|
|
538
|
+
* `↓` and typing are unaffected.
|
|
539
|
+
*/
|
|
540
|
+
private readonly openOnTriggerClick;
|
|
541
|
+
/** @ignore Click anywhere on the trigger (label, field or format hint — they share the wrapper). */
|
|
542
|
+
protected onTriggerClick(): void;
|
|
543
|
+
/** @ignore Keys typed anywhere in the trigger wrapper. */
|
|
544
|
+
protected onTriggerKeydown(event: KeyboardEvent): void;
|
|
545
|
+
/** @ignore `Escape` is consumed only when it really closes the panel. A closed one lets it
|
|
546
|
+
* bubble, so a parent dialog stays reachable by the same key. */
|
|
547
|
+
private handleEscape;
|
|
548
|
+
/**
|
|
549
|
+
* @ignore Track the raw text as the user types; live-preview the open panel. When a typing
|
|
550
|
+
* mask applies (see `typingSlots`), auto-insert "/" as soon as a segment is complete (same
|
|
551
|
+
* pattern as a card-expiry field) and reposition the caret accordingly.
|
|
552
|
+
*/
|
|
553
|
+
protected onTriggerInput(value: string): void;
|
|
554
|
+
/** @ignore Whether `text` already has its time portion too, when `showTime` requires one.
|
|
555
|
+
* `previewTyped` needs this: without it, `hasValue()` (and the mask) flipped off the moment
|
|
556
|
+
* day/month/year were typed, before a single time digit — the next digit then glued onto the
|
|
557
|
+
* year with no mask to insert "HH:MM" (FSHSP-118). `commitTyped` doesn't use this: a date typed
|
|
558
|
+
* and blurred without a time is still a legitimate commit (time defaults to the steppers). */
|
|
559
|
+
private hasCompleteTimeIfNeeded;
|
|
560
|
+
/**
|
|
561
|
+
* @ignore Reflect a fully-typed date (or `range`/`multiple` set) in the open panel
|
|
562
|
+
* (navigate + highlight) without reformatting the field, so the caret stays put while typing.
|
|
563
|
+
*/
|
|
564
|
+
private previewTyped;
|
|
565
|
+
/** @ignore Parse the typed text on blur, then forward the blur. */
|
|
566
|
+
protected onTriggerBlur(event: FocusEvent): void;
|
|
567
|
+
/**
|
|
568
|
+
* @ignore Focus leaving the trigger altogether. A non-modal panel has neither backdrop nor
|
|
569
|
+
* focus trap, so tabbing on to the next field is a dismissal that nothing else would perform
|
|
570
|
+
*/
|
|
571
|
+
protected onTriggerFocusOut(event: FocusEvent): void;
|
|
572
|
+
/** @ignore Focus leaving a non-modal panel altogether (`Tab` out of the grid) — same
|
|
573
|
+
* dismissal as {@link onTriggerBlur}, from the other side. */
|
|
574
|
+
protected onPanelFocusOut(event: FocusEvent): void;
|
|
575
|
+
/** @ignore Pointer landing outside the overlay. A non-modal panel leaves the trigger live
|
|
576
|
+
* underneath, and a press there must place the caret, not dismiss the panel it would then
|
|
577
|
+
* immediately re-open. */
|
|
578
|
+
protected onOutsideClick(event: MouseEvent): void;
|
|
579
|
+
/** @ignore Whether this `Tab` walks out of the trigger, rather than between the field and its
|
|
580
|
+
* own action button (at most two stops, so an exact list beats any heuristic). */
|
|
581
|
+
private tabLeavesTrigger;
|
|
582
|
+
/** @ignore Pressing the panel's own chrome must not pull the focus out of the field: a
|
|
583
|
+
* non-modal panel would be dismissed by its own focusout. Its controls keep the default. */
|
|
584
|
+
protected onPanelMousedown(event: MouseEvent): void;
|
|
585
|
+
/** @ignore */
|
|
586
|
+
private panelContains;
|
|
587
|
+
/** @ignore */
|
|
588
|
+
private triggerContains;
|
|
589
|
+
/** @ignore Parse and apply the typed text (single date, or `range`/`multiple` set — see
|
|
590
|
+
* `parseTypedValue`); revert to the previous value if invalid. */
|
|
591
|
+
protected commitTyped(): void;
|
|
592
|
+
/**
|
|
593
|
+
* @ignore Custom parser when provided, otherwise the locale-aware numeric parser.
|
|
594
|
+
* `requireComplete` gates the default parser to fully-typed dates (custom
|
|
595
|
+
* parsers decide completeness themselves).
|
|
596
|
+
*/
|
|
597
|
+
private parseTyped;
|
|
598
|
+
/**
|
|
599
|
+
* @ignore Parses typed text into whatever shape the current `selectionMode` commits: a single
|
|
600
|
+
* `Date` for `single`, a `Date[]` for `range`/`multiple` (see `parseTypedMulti`). `null` means
|
|
601
|
+
* "not a complete, enabled value for this mode" — the caller reverts.
|
|
602
|
+
*/
|
|
603
|
+
private parseTypedValue;
|
|
604
|
+
/** @ignore `range`/`multiple` typed entry (FSHSP-118): splits via `splitTypedSegments`, parses
|
|
605
|
+
* each part with `parseTyped` (a custom `parseDate` applies per part, like `dateFormat` does
|
|
606
|
+
* per date on display). `range` needs exactly 2 parts, reordered chronologically; `multiple`
|
|
607
|
+
* takes any count, deduped. One bad/disabled part fails the whole thing. Always `startOfDay` —
|
|
608
|
+
* no `showTime` support here. */
|
|
609
|
+
private parseTypedMulti;
|
|
610
|
+
/** @ignore Splits typed `range`/`multiple` text into per-date segments (FSHSP-118). A plain
|
|
611
|
+
* `text.split(sep)` breaks when a date's own formatted text contains `sep` (e.g. a `", "`
|
|
612
|
+
* `dateFormat` in `multiple`, or an ISO dash in `range`) — instead, a `sep` occurrence is only
|
|
613
|
+
* accepted as a boundary once the text before it already parses as a complete date. */
|
|
614
|
+
private splitTypedSegments;
|
|
615
|
+
/**
|
|
616
|
+
* @ignore Locale-aware numeric parser (day/month/year order from `dateFieldOrder`).
|
|
617
|
+
* With `requireComplete`, returns `null` unless every component is present
|
|
618
|
+
* (and the year has 2 or ≥4 digits) — used for live preview to avoid jumps.
|
|
619
|
+
*/
|
|
620
|
+
private defaultParse;
|
|
621
|
+
/** @ignore 2-digit years → 2000s. */
|
|
622
|
+
private normalizeYear;
|
|
623
|
+
/** @ignore Range/disabled check for a parsed value, granular to the base view. */
|
|
624
|
+
private isParsedDisabled;
|
|
625
|
+
/** @ignore Click the header title → drill up (date → month → year). Single-month only. */
|
|
626
|
+
protected onHeaderClick(): void;
|
|
627
|
+
/** @ignore Prev/next arrow — steps month / year / decade depending on the view. */
|
|
628
|
+
protected onPrev(): void;
|
|
629
|
+
protected onNext(): void;
|
|
630
|
+
/** @ignore */
|
|
631
|
+
private step;
|
|
632
|
+
/** @ignore */
|
|
633
|
+
protected changeMonth(delta: number): void;
|
|
634
|
+
/** @ignore Pick a day from the grid. */
|
|
635
|
+
protected selectDay(cell: DatepickerDay): void;
|
|
636
|
+
/** @ignore Month-picker / drill-down month selection. */
|
|
637
|
+
protected selectMonth(cell: DatepickerMonthCell): void;
|
|
638
|
+
/** @ignore Year-picker / drill-down year selection. */
|
|
639
|
+
protected selectYear(cell: DatepickerYearCell): void;
|
|
640
|
+
/** @ignore Apply the time signals to the value (single selection only). */
|
|
641
|
+
protected applyTime(): void;
|
|
642
|
+
/** @ignore Zero-padded labels for the steppers. */
|
|
643
|
+
protected readonly hoursLabel: import("@angular/core").Signal<string>;
|
|
644
|
+
protected readonly minutesLabel: import("@angular/core").Signal<string>;
|
|
645
|
+
/** @ignore Raw digits while a time field is being typed in; `null` when not editing. */
|
|
646
|
+
private readonly hoursDraft;
|
|
647
|
+
private readonly minutesDraft;
|
|
648
|
+
/** @ignore Text rendered in a time field: the draft while typing, the padded label otherwise. */
|
|
649
|
+
protected readonly hoursValue: import("@angular/core").Signal<string>;
|
|
650
|
+
protected readonly minutesValue: import("@angular/core").Signal<string>;
|
|
651
|
+
/** @ignore Accepted hours range (the 12h clock shows 1–12). */
|
|
652
|
+
protected readonly hourBounds: import("@angular/core").Signal<{
|
|
653
|
+
min: number;
|
|
654
|
+
max: number;
|
|
655
|
+
}>;
|
|
656
|
+
/** @ignore The hours/minutes fields accept typing. */
|
|
657
|
+
protected readonly timeEditable: import("@angular/core").Signal<boolean>;
|
|
658
|
+
/** @ignore The time steppers (chevrons + AM/PM toggle) accept interaction — unlike
|
|
659
|
+
* `timeEditable`, not gated on `editableTime` (the steppers stay usable in
|
|
660
|
+
* `StepperOnlyTime`-style configs; only `disabled`/`readonly` freeze them). */
|
|
661
|
+
protected readonly timeControlsEnabled: import("@angular/core").Signal<boolean>;
|
|
662
|
+
/** @ignore Step hours (wraps 0↔23; also flips meridiem across the 12h boundary). */
|
|
663
|
+
protected stepHours(dir: 1 | -1): void;
|
|
664
|
+
/** @ignore Step minutes by `stepMinute` (wraps 0↔59). */
|
|
665
|
+
protected stepMinutes(dir: 1 | -1): void;
|
|
666
|
+
/** @ignore */
|
|
667
|
+
protected toggleMeridiem(): void;
|
|
668
|
+
/**
|
|
669
|
+
* @ignore Typing in the hours field. The digits are held as a draft (so `0` can
|
|
670
|
+
* be the start of `09`) and committed as soon as they form a valid hour.
|
|
671
|
+
*/
|
|
672
|
+
protected onHoursInput(event: Event): void;
|
|
673
|
+
/** @ignore Typing in the minutes field — exact value (`stepMinute` only drives the steppers). */
|
|
674
|
+
protected onMinutesInput(event: Event): void;
|
|
675
|
+
/**
|
|
676
|
+
* @ignore Keep a time field to at most 2 digits and reject what can never be in
|
|
677
|
+
* range (`33`, or `13` on a 12h clock) — the field reverts to `current`, so the
|
|
678
|
+
* keystroke is simply refused. Returns the accepted digits, or `null` if rejected.
|
|
679
|
+
*/
|
|
680
|
+
private acceptTimeDigits;
|
|
681
|
+
/** @ignore 12h display hour (1–12) + the current meridiem → 24h hour. */
|
|
682
|
+
private to24;
|
|
683
|
+
/** @ignore Focusing a time field selects it, so typing replaces the value. */
|
|
684
|
+
protected onTimeFocus(event: FocusEvent): void;
|
|
685
|
+
/** @ignore Leaving a time field drops the draft: the zero-padded label comes back. */
|
|
686
|
+
protected onHoursBlur(): void;
|
|
687
|
+
/** @ignore */
|
|
688
|
+
protected onMinutesBlur(): void;
|
|
689
|
+
/** @ignore ARIA spinbutton keyboard: ↑/↓ step, PageUp/PageDown ±, Enter commits. */
|
|
690
|
+
protected onHourKeydown(event: KeyboardEvent): void;
|
|
691
|
+
/** @ignore */
|
|
692
|
+
protected onMinuteKeydown(event: KeyboardEvent): void;
|
|
693
|
+
/** @ignore */
|
|
694
|
+
protected onMeridiemKeydown(event: KeyboardEvent): void;
|
|
695
|
+
/** @ignore */
|
|
696
|
+
private pad;
|
|
697
|
+
/** @ignore */
|
|
698
|
+
protected selectToday(): void;
|
|
699
|
+
/** @ignore */
|
|
700
|
+
protected clear(): void;
|
|
701
|
+
/** @ignore */
|
|
702
|
+
protected onGridKeydown(event: KeyboardEvent): void;
|
|
703
|
+
/** @ignore The roving-focus cell. `otherMonth` cells are excluded so a date
|
|
704
|
+
* shown twice across adjacent panels (multi-month) yields a single tab stop. */
|
|
705
|
+
protected isFocusableDay(cell: DatepickerDay): boolean;
|
|
706
|
+
/**
|
|
707
|
+
* @ignore Shared arrow/Home/End math for a fixed-size, `columns`-wide grid (the month picker's
|
|
708
|
+
* 12 cells / 3 columns and the year picker's 10 cells / 2 columns) — the one piece of roving-
|
|
709
|
+
* focus logic actually common to all three grids; `PageUp`/`PageDown`/`Enter`/`Escape` differ
|
|
710
|
+
* per grid (paging semantics, selecting a month vs. a year) and stay in their own handler.
|
|
711
|
+
* Returns `null` for a key it doesn't handle.
|
|
712
|
+
*/
|
|
713
|
+
private navigateGridIndex;
|
|
714
|
+
/** @ignore Month-picker grid: ←↑→↓/Home/End move within the 12 months (3 columns), PageUp/PageDown
|
|
715
|
+
* step the displayed year (Shift = ×10), Enter/Space picks the focused month. */
|
|
716
|
+
protected onMonthGridKeydown(event: KeyboardEvent): void;
|
|
717
|
+
/** @ignore Year-picker grid: ←↑→↓/Home/End move within the displayed decade (2 columns),
|
|
718
|
+
* PageUp/PageDown step by a decade (Shift = ×10 decades), Enter/Space picks the focused year. */
|
|
719
|
+
protected onYearGridKeydown(event: KeyboardEvent): void;
|
|
720
|
+
/** @ignore The month-picker roving-focus cell. */
|
|
721
|
+
protected isFocusableMonth(cell: DatepickerMonthCell): boolean;
|
|
722
|
+
/** @ignore The year-picker roving-focus cell. */
|
|
723
|
+
protected isFocusableYear(cell: DatepickerYearCell): boolean;
|
|
724
|
+
/** @ignore Shift the visible month window just enough to contain `date`. */
|
|
725
|
+
private ensureMonthVisible;
|
|
726
|
+
/** @ignore Sole "normal" write path: takes internal Date(s), serializes to the public ISO
|
|
727
|
+
* string(s) right here, before it ever reaches `modelValue`/the CVA. Callers keep passing
|
|
728
|
+
* `Date`/`Date[]`/`null` exactly as before — the ISO contract lives entirely in this method. */
|
|
729
|
+
private commit;
|
|
730
|
+
/** @ignore Build a day-cell descriptor with its selection/range flags. */
|
|
731
|
+
private buildDay;
|
|
732
|
+
/** @ignore 6×7 grid for a given month, incl. adjacent-month spill-over. */
|
|
733
|
+
private buildMonthWeeks;
|
|
734
|
+
/** @ignore */
|
|
735
|
+
private resolveOverlayOrigin;
|
|
736
|
+
/** @ignore Focus the roving-tabindex cell matching `selector`, once the DOM reflects the
|
|
737
|
+
* just-updated `focusedDate`/`focusedMonthIndex`/`focusedYear` signal. */
|
|
738
|
+
private queueCellFocus;
|
|
739
|
+
/** @ignore */
|
|
740
|
+
private queueDayFocus;
|
|
741
|
+
/** @ignore */
|
|
742
|
+
private queueMonthFocus;
|
|
743
|
+
/** @ignore */
|
|
744
|
+
private queueYearFocus;
|
|
745
|
+
/** @ignore Where an empty field opens: `defaultViewDate`, else today, never out of bounds. */
|
|
746
|
+
private emptyOpeningDate;
|
|
747
|
+
/** @ignore Shows {@link emptyOpeningDate} once the field is (again) empty: from the first
|
|
748
|
+
* render for an inline calendar, never under the eyes of a user browsing an open panel.
|
|
749
|
+
* Not tied to the bounds on purpose, or rebinding them would undo the user's navigation. */
|
|
750
|
+
private showEmptyOpeningDate;
|
|
751
|
+
/** @ignore */
|
|
752
|
+
private clampToRange;
|
|
753
|
+
/** @ignore */
|
|
754
|
+
private isDateDisabled;
|
|
755
|
+
/** @ignore Whole month out of [min, max]. */
|
|
756
|
+
private isMonthDisabled;
|
|
757
|
+
/** @ignore Whole year out of [min, max]. */
|
|
758
|
+
private isYearDisabled;
|
|
759
|
+
/** @ignore */
|
|
760
|
+
private capitalize;
|
|
761
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiDatepicker, never>;
|
|
762
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiDatepicker, "ui-datepicker", never, {
|
|
763
|
+
"placeholder": {
|
|
764
|
+
"alias": "placeholder";
|
|
765
|
+
"required": false;
|
|
766
|
+
"isSignal": true;
|
|
767
|
+
};
|
|
768
|
+
"icon": {
|
|
769
|
+
"alias": "icon";
|
|
770
|
+
"required": false;
|
|
771
|
+
"isSignal": true;
|
|
772
|
+
};
|
|
773
|
+
"showIcon": {
|
|
774
|
+
"alias": "showIcon";
|
|
775
|
+
"required": false;
|
|
776
|
+
"isSignal": true;
|
|
777
|
+
};
|
|
778
|
+
"iconAriaLabel": {
|
|
779
|
+
"alias": "iconAriaLabel";
|
|
780
|
+
"required": false;
|
|
781
|
+
"isSignal": true;
|
|
782
|
+
};
|
|
783
|
+
"showClear": {
|
|
784
|
+
"alias": "showClear";
|
|
785
|
+
"required": false;
|
|
786
|
+
"isSignal": true;
|
|
787
|
+
};
|
|
788
|
+
"valueType": {
|
|
789
|
+
"alias": "valueType";
|
|
790
|
+
"required": true;
|
|
791
|
+
"isSignal": true;
|
|
792
|
+
};
|
|
793
|
+
"selectionMode": {
|
|
794
|
+
"alias": "selectionMode";
|
|
795
|
+
"required": false;
|
|
796
|
+
"isSignal": true;
|
|
797
|
+
};
|
|
798
|
+
"view": {
|
|
799
|
+
"alias": "view";
|
|
800
|
+
"required": false;
|
|
801
|
+
"isSignal": true;
|
|
802
|
+
};
|
|
803
|
+
"numberOfMonths": {
|
|
804
|
+
"alias": "numberOfMonths";
|
|
805
|
+
"required": false;
|
|
806
|
+
"isSignal": true;
|
|
807
|
+
};
|
|
808
|
+
"minDate": {
|
|
809
|
+
"alias": "minDate";
|
|
810
|
+
"required": false;
|
|
811
|
+
"isSignal": true;
|
|
812
|
+
};
|
|
813
|
+
"maxDate": {
|
|
814
|
+
"alias": "maxDate";
|
|
815
|
+
"required": false;
|
|
816
|
+
"isSignal": true;
|
|
817
|
+
};
|
|
818
|
+
"defaultViewDate": {
|
|
819
|
+
"alias": "defaultViewDate";
|
|
820
|
+
"required": false;
|
|
821
|
+
"isSignal": true;
|
|
822
|
+
};
|
|
823
|
+
"disabledDates": {
|
|
824
|
+
"alias": "disabledDates";
|
|
825
|
+
"required": false;
|
|
826
|
+
"isSignal": true;
|
|
827
|
+
};
|
|
828
|
+
"disabledDays": {
|
|
829
|
+
"alias": "disabledDays";
|
|
830
|
+
"required": false;
|
|
831
|
+
"isSignal": true;
|
|
832
|
+
};
|
|
833
|
+
"firstDayOfWeek": {
|
|
834
|
+
"alias": "firstDayOfWeek";
|
|
835
|
+
"required": false;
|
|
836
|
+
"isSignal": true;
|
|
837
|
+
};
|
|
838
|
+
"locale": {
|
|
839
|
+
"alias": "locale";
|
|
840
|
+
"required": false;
|
|
841
|
+
"isSignal": true;
|
|
842
|
+
};
|
|
843
|
+
"dateFormat": {
|
|
844
|
+
"alias": "dateFormat";
|
|
845
|
+
"required": false;
|
|
846
|
+
"isSignal": true;
|
|
847
|
+
};
|
|
848
|
+
"allowInput": {
|
|
849
|
+
"alias": "allowInput";
|
|
850
|
+
"required": false;
|
|
851
|
+
"isSignal": true;
|
|
852
|
+
};
|
|
853
|
+
"parseDate": {
|
|
854
|
+
"alias": "parseDate";
|
|
855
|
+
"required": false;
|
|
856
|
+
"isSignal": true;
|
|
857
|
+
};
|
|
858
|
+
"showTime": {
|
|
859
|
+
"alias": "showTime";
|
|
860
|
+
"required": false;
|
|
861
|
+
"isSignal": true;
|
|
862
|
+
};
|
|
863
|
+
"timeOnly": {
|
|
864
|
+
"alias": "timeOnly";
|
|
865
|
+
"required": false;
|
|
866
|
+
"isSignal": true;
|
|
867
|
+
};
|
|
868
|
+
"hourFormat": {
|
|
869
|
+
"alias": "hourFormat";
|
|
870
|
+
"required": false;
|
|
871
|
+
"isSignal": true;
|
|
872
|
+
};
|
|
873
|
+
"stepMinute": {
|
|
874
|
+
"alias": "stepMinute";
|
|
875
|
+
"required": false;
|
|
876
|
+
"isSignal": true;
|
|
877
|
+
};
|
|
878
|
+
"editableTime": {
|
|
879
|
+
"alias": "editableTime";
|
|
880
|
+
"required": false;
|
|
881
|
+
"isSignal": true;
|
|
882
|
+
};
|
|
883
|
+
"showButtonBar": {
|
|
884
|
+
"alias": "showButtonBar";
|
|
885
|
+
"required": false;
|
|
886
|
+
"isSignal": true;
|
|
887
|
+
};
|
|
888
|
+
"ripple": {
|
|
889
|
+
"alias": "ripple";
|
|
890
|
+
"required": false;
|
|
891
|
+
"isSignal": true;
|
|
892
|
+
};
|
|
893
|
+
"todayLabel": {
|
|
894
|
+
"alias": "todayLabel";
|
|
895
|
+
"required": false;
|
|
896
|
+
"isSignal": true;
|
|
897
|
+
};
|
|
898
|
+
"clearLabel": {
|
|
899
|
+
"alias": "clearLabel";
|
|
900
|
+
"required": false;
|
|
901
|
+
"isSignal": true;
|
|
902
|
+
};
|
|
903
|
+
"formatHintLabel": {
|
|
904
|
+
"alias": "formatHintLabel";
|
|
905
|
+
"required": false;
|
|
906
|
+
"isSignal": true;
|
|
907
|
+
};
|
|
908
|
+
"panelAriaLabel": {
|
|
909
|
+
"alias": "panelAriaLabel";
|
|
910
|
+
"required": false;
|
|
911
|
+
"isSignal": true;
|
|
912
|
+
};
|
|
913
|
+
"prevAriaLabel": {
|
|
914
|
+
"alias": "prevAriaLabel";
|
|
915
|
+
"required": false;
|
|
916
|
+
"isSignal": true;
|
|
917
|
+
};
|
|
918
|
+
"nextAriaLabel": {
|
|
919
|
+
"alias": "nextAriaLabel";
|
|
920
|
+
"required": false;
|
|
921
|
+
"isSignal": true;
|
|
922
|
+
};
|
|
923
|
+
"hoursAriaLabel": {
|
|
924
|
+
"alias": "hoursAriaLabel";
|
|
925
|
+
"required": false;
|
|
926
|
+
"isSignal": true;
|
|
927
|
+
};
|
|
928
|
+
"minutesAriaLabel": {
|
|
929
|
+
"alias": "minutesAriaLabel";
|
|
930
|
+
"required": false;
|
|
931
|
+
"isSignal": true;
|
|
932
|
+
};
|
|
933
|
+
"meridiemAriaLabel": {
|
|
934
|
+
"alias": "meridiemAriaLabel";
|
|
935
|
+
"required": false;
|
|
936
|
+
"isSignal": true;
|
|
937
|
+
};
|
|
938
|
+
"incrementHoursAriaLabel": {
|
|
939
|
+
"alias": "incrementHoursAriaLabel";
|
|
940
|
+
"required": false;
|
|
941
|
+
"isSignal": true;
|
|
942
|
+
};
|
|
943
|
+
"decrementHoursAriaLabel": {
|
|
944
|
+
"alias": "decrementHoursAriaLabel";
|
|
945
|
+
"required": false;
|
|
946
|
+
"isSignal": true;
|
|
947
|
+
};
|
|
948
|
+
"incrementMinutesAriaLabel": {
|
|
949
|
+
"alias": "incrementMinutesAriaLabel";
|
|
950
|
+
"required": false;
|
|
951
|
+
"isSignal": true;
|
|
952
|
+
};
|
|
953
|
+
"decrementMinutesAriaLabel": {
|
|
954
|
+
"alias": "decrementMinutesAriaLabel";
|
|
955
|
+
"required": false;
|
|
956
|
+
"isSignal": true;
|
|
957
|
+
};
|
|
958
|
+
"toggleMeridiemAriaLabel": {
|
|
959
|
+
"alias": "toggleMeridiemAriaLabel";
|
|
960
|
+
"required": false;
|
|
961
|
+
"isSignal": true;
|
|
962
|
+
};
|
|
963
|
+
"inline": {
|
|
964
|
+
"alias": "inline";
|
|
965
|
+
"required": false;
|
|
966
|
+
"isSignal": true;
|
|
967
|
+
};
|
|
968
|
+
"showOnFocus": {
|
|
969
|
+
"alias": "showOnFocus";
|
|
970
|
+
"required": false;
|
|
971
|
+
"isSignal": true;
|
|
972
|
+
};
|
|
973
|
+
"autoFlip": {
|
|
974
|
+
"alias": "autoFlip";
|
|
975
|
+
"required": false;
|
|
976
|
+
"isSignal": true;
|
|
977
|
+
};
|
|
978
|
+
"closeOnSelect": {
|
|
979
|
+
"alias": "closeOnSelect";
|
|
980
|
+
"required": false;
|
|
981
|
+
"isSignal": true;
|
|
982
|
+
};
|
|
983
|
+
"panelStyleClass": {
|
|
984
|
+
"alias": "panelStyleClass";
|
|
985
|
+
"required": false;
|
|
986
|
+
"isSignal": true;
|
|
987
|
+
};
|
|
988
|
+
"autocomplete": {
|
|
989
|
+
"alias": "autocomplete";
|
|
990
|
+
"required": false;
|
|
991
|
+
"isSignal": true;
|
|
992
|
+
};
|
|
993
|
+
}, {
|
|
994
|
+
"valueChange": "valueChange";
|
|
995
|
+
"dateSelect": "dateSelect";
|
|
996
|
+
"monthChange": "monthChange";
|
|
997
|
+
"opened": "opened";
|
|
998
|
+
"closed": "closed";
|
|
999
|
+
"cleared": "cleared";
|
|
1000
|
+
"inputFocus": "inputFocus";
|
|
1001
|
+
"inputBlur": "inputBlur";
|
|
1002
|
+
}, ["dateTemplate", "buttonBarTemplate", "iconTemplate"], never, true, never>;
|
|
748
1003
|
}
|
|
749
|
-
|
|
750
|
-
export { UiDatepicker };
|
|
751
|
-
export type { DatepickerDay, DatepickerHourFormat, DatepickerMonthCell, DatepickerMonthPanel, DatepickerSelectionMode, DatepickerValue, DatepickerValueType, DatepickerView, DatepickerYearCell };
|
|
1004
|
+
export {};
|