@eui/components 17.0.3-snapshot-1702889390678 → 17.0.3-snapshot-1703125442865

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/docs/components/EuiDatepickerComponent.html +416 -1547
  2. package/docs/components/EuiHeaderUserProfileComponent.html +19 -13
  3. package/docs/components/EuiNotificationItemV2Component.html +21 -1
  4. package/docs/components/EuiNotificationsV2Component.html +1 -1
  5. package/docs/components/EuiSearchComponent.html +28 -4
  6. package/docs/dependencies.html +2 -2
  7. package/docs/js/search/search_index.js +2 -2
  8. package/esm2022/eui-datepicker/eui-datepicker.component.mjs +67 -105
  9. package/esm2022/eui-input-number/eui-input-number.component.mjs +30 -3
  10. package/esm2022/layout/eui-app/eui-app-breadcrumb/breadcrumb.component.mjs +2 -2
  11. package/esm2022/layout/eui-breadcrumb/breadcrumb.component.mjs +2 -2
  12. package/esm2022/layout/eui-breadcrumb/collapsed-breadcrumb/collapsed-breadcrumb.component.mjs +2 -2
  13. package/esm2022/layout/eui-breadcrumb/item/breadcrumb-item.component.mjs +2 -2
  14. package/esm2022/layout/eui-header/header-user-profile/header-user-profile.component.mjs +9 -5
  15. package/esm2022/layout/eui-notifications-v2/eui-notification-item.component.mjs +6 -3
  16. package/esm2022/layout/eui-notifications-v2/eui-notifications.component.mjs +3 -3
  17. package/esm2022/layout/eui-search/search.component.mjs +15 -18
  18. package/esm2022/layout/eui-user-profile/user-profile.component.mjs +4 -2
  19. package/eui-datepicker/eui-datepicker.component.d.ts +28 -36
  20. package/eui-datepicker/eui-datepicker.component.d.ts.map +1 -1
  21. package/eui-input-number/eui-input-number.component.d.ts +7 -0
  22. package/eui-input-number/eui-input-number.component.d.ts.map +1 -1
  23. package/fesm2022/eui-components-eui-datepicker.mjs +66 -104
  24. package/fesm2022/eui-components-eui-datepicker.mjs.map +1 -1
  25. package/fesm2022/eui-components-eui-input-number.mjs +29 -2
  26. package/fesm2022/eui-components-eui-input-number.mjs.map +1 -1
  27. package/fesm2022/eui-components-layout.mjs +66 -58
  28. package/fesm2022/eui-components-layout.mjs.map +1 -1
  29. package/layout/eui-header/header-user-profile/header-user-profile.component.d.ts +6 -4
  30. package/layout/eui-header/header-user-profile/header-user-profile.component.d.ts.map +1 -1
  31. package/layout/eui-notifications-v2/eui-notification-item.component.d.ts +1 -0
  32. package/layout/eui-notifications-v2/eui-notification-item.component.d.ts.map +1 -1
  33. package/layout/eui-search/search.component.d.ts +9 -5
  34. package/layout/eui-search/search.component.d.ts.map +1 -1
  35. package/layout/eui-user-profile/user-profile.component.d.ts.map +1 -1
  36. package/package.json +7 -7
@@ -7,9 +7,10 @@ import { TranslateService } from '@ngx-translate/core';
7
7
  import { Moment } from 'moment-timezone';
8
8
  import { EuiTimepickerComponent } from '@eui/components/eui-timepicker';
9
9
  import { LocaleService, EuiAppShellService } from '@eui/core';
10
- import { BaseDirective } from '@eui/components/shared';
10
+ import { BaseStatesDirective } from '@eui/components/shared';
11
11
  import * as i0 from "@angular/core";
12
- export declare class EuiDatepickerComponent extends BaseDirective implements OnInit, AfterViewInit, ControlValueAccessor, OnDestroy, OnChanges, DoCheck {
12
+ import * as i1 from "@eui/components/shared";
13
+ export declare class EuiDatepickerComponent implements OnInit, AfterViewInit, ControlValueAccessor, OnDestroy, OnChanges, DoCheck {
13
14
  private adapter;
14
15
  private translateService;
15
16
  private localeService;
@@ -18,8 +19,10 @@ export declare class EuiDatepickerComponent extends BaseDirective implements OnI
18
19
  private injector;
19
20
  private appRef;
20
21
  private viewContainerRef;
22
+ baseStatesDirective: BaseStatesDirective;
21
23
  euiLetterFormat: EuiLetterFormatDirective;
22
24
  private control;
25
+ get cssClasses(): string;
23
26
  inputFormControl: FormControl<any>;
24
27
  breakpointsValue: any;
25
28
  showDateButton: boolean;
@@ -47,50 +50,29 @@ export declare class EuiDatepickerComponent extends BaseDirective implements OnI
47
50
  stepHours: number;
48
51
  stepMinutes: number;
49
52
  stepSeconds: number;
50
- get isDatetimepicker(): boolean;
51
- set isDatetimepicker(value: BooleanInput);
52
- private _isDatetimepicker;
53
- get hasSeconds(): boolean;
54
- set hasSeconds(value: BooleanInput);
55
- private _hasSeconds;
56
- get isOneInputField(): boolean;
57
- set isOneInputField(value: BooleanInput);
58
- private _isOneInputField;
59
- get hasNoButton(): boolean;
60
- set hasNoButton(value: BooleanInput);
61
- private _hasNoButton;
62
- get isDatepickerBlock(): boolean;
63
- set isDatepickerBlock(value: BooleanInput);
64
- private _isDatepickerBlock;
65
- get isReadOnly(): boolean;
66
- set isReadOnly(value: BooleanInput);
67
- private _isReadOnly;
68
- get isDisabled(): boolean;
69
- set isDisabled(value: BooleanInput);
70
- private _isDisabled;
71
- get isInputDisabled(): boolean;
72
- set isInputDisabled(value: BooleanInput);
73
- private _isInputDisabled;
74
- get isButtonDisabled(): boolean;
75
- set isButtonDisabled(value: BooleanInput);
76
- private _isButtonDisabled;
77
- get isPickerDisabled(): boolean;
78
- set isPickerDisabled(value: BooleanInput);
79
- private _isPickerDisabled;
53
+ isDatetimepicker: boolean;
54
+ hasSeconds: boolean;
55
+ isOneInputField: boolean;
56
+ hasNoButton: boolean;
57
+ isDatepickerBlock: boolean;
58
+ isReadOnly: boolean;
59
+ isDisabled: boolean;
60
+ isInputDisabled: boolean;
61
+ isButtonDisabled: boolean;
62
+ isPickerDisabled: boolean;
80
63
  get isClearable(): boolean;
81
64
  set isClearable(value: BooleanInput);
82
65
  private _isClearable;
83
66
  get restrictToRegex(): RegExp;
84
67
  set restrictToRegex(value: string | RegExp);
85
68
  private _restrictToRegex;
86
- get cssClasses(): string;
87
69
  private destroy$;
88
70
  private format;
89
71
  private portalHost;
90
72
  private portal;
91
73
  private templatePortal;
92
74
  private isNull;
93
- constructor(adapter: DateAdapter<any>, translateService: TranslateService, localeService: LocaleService, EuiAppShellService: EuiAppShellService, componentFactoryResolver: ComponentFactoryResolver, injector: Injector, appRef: ApplicationRef, viewContainerRef: ViewContainerRef, euiLetterFormat: EuiLetterFormatDirective, control: NgControl, format: MatDateFormats);
75
+ constructor(adapter: DateAdapter<any>, translateService: TranslateService, localeService: LocaleService, EuiAppShellService: EuiAppShellService, componentFactoryResolver: ComponentFactoryResolver, injector: Injector, appRef: ApplicationRef, viewContainerRef: ViewContainerRef, baseStatesDirective: BaseStatesDirective, euiLetterFormat: EuiLetterFormatDirective, control: NgControl, format: MatDateFormats);
94
76
  ngOnInit(): void;
95
77
  ngAfterViewInit(): void;
96
78
  ngDoCheck(): void;
@@ -133,8 +115,18 @@ export declare class EuiDatepickerComponent extends BaseDirective implements OnI
133
115
  private areSameDates;
134
116
  private propagateChange;
135
117
  private propagateTouched;
136
- static ɵfac: i0.ɵɵFactoryDeclaration<EuiDatepickerComponent, [null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; self: true; }, null]>;
137
- static ɵcmp: i0.ɵɵComponentDeclaration<EuiDatepickerComponent, "eui-datepicker", never, { "styleClass": { "alias": "styleClass"; "required": false; }; "value": { "alias": "value"; "required": false; }; "togglerIcon": { "alias": "togglerIcon"; "required": false; }; "togglerIconSvg": { "alias": "togglerIconSvg"; "required": false; }; "togglerLabel": { "alias": "togglerLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "e2eAttr": { "alias": "e2eAttr"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "datepickerFilter": { "alias": "datepickerFilter"; "required": false; }; "dateOutputFormat": { "alias": "dateOutputFormat"; "required": false; }; "customHeader": { "alias": "customHeader"; "required": false; }; "dateClass": { "alias": "dateClass"; "required": false; }; "stepHours": { "alias": "stepHours"; "required": false; }; "stepMinutes": { "alias": "stepMinutes"; "required": false; }; "stepSeconds": { "alias": "stepSeconds"; "required": false; }; "isDatetimepicker": { "alias": "isDatetimepicker"; "required": false; }; "hasSeconds": { "alias": "hasSeconds"; "required": false; }; "isOneInputField": { "alias": "isOneInputField"; "required": false; }; "hasNoButton": { "alias": "hasNoButton"; "required": false; }; "isDatepickerBlock": { "alias": "isDatepickerBlock"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isInputDisabled": { "alias": "isInputDisabled"; "required": false; }; "isButtonDisabled": { "alias": "isButtonDisabled"; "required": false; }; "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; }; "isClearable": { "alias": "isClearable"; "required": false; }; "restrictToRegex": { "alias": "restrictToRegex"; "required": false; }; }, { "inputChange": "inputChange"; "dateSelect": "dateSelect"; }, ["euiActionButtons"], ["eui-action-buttons"], false, never>;
118
+ static ɵfac: i0.ɵɵFactoryDeclaration<EuiDatepickerComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; self: true; }, null]>;
119
+ static ɵcmp: i0.ɵɵComponentDeclaration<EuiDatepickerComponent, "eui-datepicker", never, { "styleClass": { "alias": "styleClass"; "required": false; }; "value": { "alias": "value"; "required": false; }; "togglerIcon": { "alias": "togglerIcon"; "required": false; }; "togglerIconSvg": { "alias": "togglerIconSvg"; "required": false; }; "togglerLabel": { "alias": "togglerLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "startView": { "alias": "startView"; "required": false; }; "e2eAttr": { "alias": "e2eAttr"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "datepickerFilter": { "alias": "datepickerFilter"; "required": false; }; "dateOutputFormat": { "alias": "dateOutputFormat"; "required": false; }; "customHeader": { "alias": "customHeader"; "required": false; }; "dateClass": { "alias": "dateClass"; "required": false; }; "stepHours": { "alias": "stepHours"; "required": false; }; "stepMinutes": { "alias": "stepMinutes"; "required": false; }; "stepSeconds": { "alias": "stepSeconds"; "required": false; }; "isDatetimepicker": { "alias": "isDatetimepicker"; "required": false; }; "hasSeconds": { "alias": "hasSeconds"; "required": false; }; "isOneInputField": { "alias": "isOneInputField"; "required": false; }; "hasNoButton": { "alias": "hasNoButton"; "required": false; }; "isDatepickerBlock": { "alias": "isDatepickerBlock"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "isInputDisabled": { "alias": "isInputDisabled"; "required": false; }; "isButtonDisabled": { "alias": "isButtonDisabled"; "required": false; }; "isPickerDisabled": { "alias": "isPickerDisabled"; "required": false; }; "isClearable": { "alias": "isClearable"; "required": false; }; "restrictToRegex": { "alias": "restrictToRegex"; "required": false; }; }, { "inputChange": "inputChange"; "dateSelect": "dateSelect"; }, ["euiActionButtons"], ["eui-action-buttons"], false, [{ directive: typeof i1.BaseStatesDirective; inputs: { "euiSuccess": "euiSuccess"; "euiInfo": "euiInfo"; "euiWarning": "euiWarning"; "euiDanger": "euiDanger"; "euiVariant": "euiVariant"; }; outputs: {}; }]>;
120
+ static ngAcceptInputType_isDatetimepicker: unknown;
121
+ static ngAcceptInputType_hasSeconds: unknown;
122
+ static ngAcceptInputType_isOneInputField: unknown;
123
+ static ngAcceptInputType_hasNoButton: unknown;
124
+ static ngAcceptInputType_isDatepickerBlock: unknown;
125
+ static ngAcceptInputType_isReadOnly: unknown;
126
+ static ngAcceptInputType_isDisabled: unknown;
127
+ static ngAcceptInputType_isInputDisabled: unknown;
128
+ static ngAcceptInputType_isButtonDisabled: unknown;
129
+ static ngAcceptInputType_isPickerDisabled: unknown;
138
130
  }
139
131
  export declare const LETTER_FORMAT: {
140
132
  parse: {
@@ -1 +1 @@
1
- {"version":3,"file":"eui-datepicker.component.d.ts","sourceRoot":"","sources":["../../eui-datepicker/eui-datepicker.component.ts"],"names":[],"mappings":"AACA,OAAO,EACH,cAAc,EAEd,wBAAwB,EACxB,YAAY,EAEZ,QAAQ,EAER,SAAS,EACT,SAAS,EACT,OAAO,EACP,MAAM,EAIN,aAAa,EAQb,aAAa,EACb,WAAW,EACX,gBAAgB,EAEnB,M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sB;2CAAtB,sBAAsB;+CA6pBoqB,OAAQ;yCAAR,OAAQ;8CAAR,OAAQ;0CAAR,OAAQ;gDAAR,OAAQ;yCAAR,OAAQ;yCAAR,OAAQ;8CAAR,OAAQ;+CAAR,OAAQ;+CAAR,OAAQ;CA3D9sB;AAED,eAAO,MAAM,aAAa;;;;;;;;CAQzB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;CAUvB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;CAU7B,CAAC;AAEF,qBAIa,wBAAwB;yCAAxB,wBAAwB;2CAAxB,wBAAwB;CAAG;AAExC,qBAIa,sBAAsB;yCAAtB,sBAAsB;2CAAtB,sBAAsB;CAAG;AAEtC,qBAIa,2BAA2B;yCAA3B,2BAA2B;2CAA3B,2BAA2B;CAAG;AAG3C,qBACa,yBAAyB;IACZ,KAAK,SAAoC;yCADtD,yBAAyB;2CAAzB,yBAAyB;CAEpC"}
@@ -167,6 +167,13 @@ export declare class EuiInputNumberComponent extends InputDirective implements O
167
167
  * @returns The adjusted value.
168
168
  */
169
169
  private decimalAdjust;
170
+ /**
171
+ * Checks whether a value is defined or not
172
+ *
173
+ * @param value
174
+ * @private
175
+ */
176
+ private isDefined;
170
177
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiInputNumberComponent, [null, null, null, { optional: true; }, null, null, null]>;
171
178
  static ɵcmp: i0.ɵɵComponentDeclaration<EuiInputNumberComponent, "input[euiInputNumber]", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "leadingZero": { "alias": "leadingZero"; "required": false; }; "isInvalid": { "alias": "isInvalid"; "required": false; }; "fractionDigits": { "alias": "fractionDigits"; "required": false; }; "digits": { "alias": "digits"; "required": false; }; "fillFraction": { "alias": "fillFraction"; "required": false; }; "roundUp": { "alias": "roundUp"; "required": false; }; "noFormat": { "alias": "noFormat"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.EuiClearableDirective; inputs: { "euiClearable": "euiClearable"; "readonly": "readonly"; "disabled": "disabled"; }; outputs: {}; }, { directive: typeof i1.EuiLoadingDirective; inputs: { "euiLoading": "euiLoading"; "readonly": "readonly"; }; outputs: {}; }]>;
172
179
  }
@@ -1 +1 @@
1
- {"version":3,"file":"eui-input-number.component.d.ts","sourceRoot":"","sources":["../../eui-input-number/eui-input-number.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,iBAAiB,EAEjB,OAAO,EACP,UAAU,EAIV,SAAS,EACT,SAAS,EACT,MAAM,EACN,SAAS,EACT,aAAa,EAEb,QAAQ,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAe,MAAM,WAAW,CAAC;AACvD,OAAO,EAA+C,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE/G,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;;;AAKxD,MAAM,WAAW,cAAe,SAAQ,MAAM;IAC1C,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1C,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IAClC,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zC,WAAW,IAAI,IAAI;IAUnB,QAAQ,EAAE,GAAG,CASX;IAGF,SAAS,EAAE,GAAG,CAEZ;IAGF,OAAO,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI;IAsBpC,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IA0C3C,SAAS,CAAC,UAAU,IAAI,IAAI;IAkB5B,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI;IAQhD;;;;SAIK;IACL,SAAS,CAAC,uBAAuB,CAAC,KAAK,GAAE,MAAM,GAAG,MAAoB,GAAG,IAAI;IAkB7E;;OAEG;IAGH,OAAO,CAAC,UAAU;IA8BlB;;;OAGG;IACH,OAAO,CAAC,aAAa;IA2BrB;;;;OAIG;IACH,OAAO,CAAC,cAAc;IActB;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;IAgBlC;;;;;;;OAOG;IACH,OAAO,CAAC,iBAAiB;IA8BzB;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IAWnB;;;;;;OAMG;IACH,OAAO,CAAC,OAAO;IAWf;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAgCtB;;;;;;OAMG;IACH,OAAO,CAAC,aAAa;yCAtjBZ,uBAAuB;2CAAvB,uBAAuB;CAwkBnC"}
1
+ {"version":3,"file":"eui-input-number.component.d.ts","sourceRoot":"","sources":["../../eui-input-number/eui-input-number.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,iBAAiB,EAEjB,OAAO,EACP,UAAU,EAIV,SAAS,EACT,SAAS,EACT,MAAM,EACN,SAAS,EACT,aAAa,EAEb,QAAQ,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAe,MAAM,WAAW,CAAC;AACvD,OAAO,EAA+C,YAAY,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE/G,OAAO,MAAM,MAAM,WAAW,C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A0B;IAgBlC;;;;;;;OAOG;IACH,OAAO,CAAC,iBAAiB;IA8BzB;;;;;;OAMG;IACH,OAAO,CAAC,WAAW;IAWnB;;;;;;OAMG;IACH,OAAO,CAAC,OAAO;IAWf;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAkCtB;;;;;;OAMG;IACH,OAAO,CAAC,aAAa;IAmBrB;;;;;OAKG;IAEH,OAAO,CAAC,SAAS;yCAlmBR,uBAAuB;2CAAvB,uBAAuB;CAqmBnC"}
@@ -1,12 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Injector, forwardRef, Component, ViewEncapsulation, Optional, Inject, Self, ViewChild, ContentChild, Output, Input, HostBinding, Directive, NgModule } from '@angular/core';
3
- import * as i5 from '@angular/common';
2
+ import { EventEmitter, Injector, forwardRef, booleanAttribute, Component, ViewEncapsulation, Optional, Inject, Self, HostBinding, ViewChild, ContentChild, Output, Input, Directive, NgModule } from '@angular/core';
3
+ import * as i6 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i6 from '@angular/material/datepicker';
5
+ import * as i7 from '@angular/material/datepicker';
6
6
  import { MatDatepickerModule } from '@angular/material/datepicker';
7
7
  import * as i1 from '@angular/material/core';
8
8
  import { MAT_DATE_FORMATS, DateAdapter, MAT_DATE_LOCALE } from '@angular/material/core';
9
- import * as i4 from '@angular/forms';
9
+ import * as i5 from '@angular/forms';
10
10
  import { FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
11
11
  import * as i2 from '@ngx-translate/core';
12
12
  import { TranslateModule } from '@ngx-translate/core';
@@ -18,81 +18,25 @@ import _rollupMoment from 'moment';
18
18
  import { EuiTimepickerComponent, EuiTimepickerModule } from '@eui/components/eui-timepicker';
19
19
  import * as i3 from '@eui/core';
20
20
  import { DYNAMIC_COMPONENT_CONFIG } from '@eui/core';
21
- import { BaseDirective } from '@eui/components/shared';
22
- import * as i7 from '@eui/components/eui-button';
21
+ import * as i4 from '@eui/components/shared';
22
+ import { BaseStatesDirective } from '@eui/components/shared';
23
+ import * as i8 from '@eui/components/eui-button';
23
24
  import { EuiButtonModule } from '@eui/components/eui-button';
24
- import * as i8 from '@eui/components/eui-icon';
25
+ import * as i9 from '@eui/components/eui-icon';
25
26
  import { EuiIconModule } from '@eui/components/eui-icon';
26
- import * as i9 from '@eui/components/eui-input-text';
27
+ import * as i10 from '@eui/components/eui-input-text';
27
28
  import { EuiInputTextModule } from '@eui/components/eui-input-text';
28
- import * as i10 from '@eui/components/eui-input-group';
29
+ import * as i11 from '@eui/components/eui-input-group';
29
30
  import { EuiInputGroupModule } from '@eui/components/eui-input-group';
30
31
 
31
32
  /* eslint-disable @typescript-eslint/no-explicit-any */
32
33
  const moment = _rollupMoment || _rollupMoment;
33
- class EuiDatepickerComponent extends BaseDirective {
34
- get isDatetimepicker() {
35
- return this._isDatetimepicker;
36
- }
37
- set isDatetimepicker(value) {
38
- this._isDatetimepicker = coerceBooleanProperty(value);
39
- }
40
- get hasSeconds() {
41
- return this._hasSeconds;
42
- }
43
- set hasSeconds(value) {
44
- this._hasSeconds = coerceBooleanProperty(value);
45
- }
46
- get isOneInputField() {
47
- return this._isOneInputField;
48
- }
49
- set isOneInputField(value) {
50
- this._isOneInputField = coerceBooleanProperty(value);
51
- }
52
- get hasNoButton() {
53
- return this._hasNoButton;
54
- }
55
- set hasNoButton(value) {
56
- this._hasNoButton = coerceBooleanProperty(value);
57
- }
58
- get isDatepickerBlock() {
59
- return this._isDatepickerBlock;
60
- }
61
- set isDatepickerBlock(value) {
62
- this._isDatepickerBlock = coerceBooleanProperty(value);
63
- }
64
- get isReadOnly() {
65
- return this._isReadOnly;
66
- }
67
- set isReadOnly(value) {
68
- this._isReadOnly = coerceBooleanProperty(value);
69
- }
70
- get isDisabled() {
71
- return this._isDisabled;
72
- }
73
- set isDisabled(value) {
74
- this._isDisabled = coerceBooleanProperty(value);
75
- }
76
- get isInputDisabled() {
77
- return this._isInputDisabled;
78
- }
79
- set isInputDisabled(value) {
80
- this._isInputDisabled = coerceBooleanProperty(value);
81
- }
82
- get isButtonDisabled() {
83
- return this._isButtonDisabled;
84
- }
85
- set isButtonDisabled(value) {
86
- this._isButtonDisabled = coerceBooleanProperty(value);
87
- }
88
- get isPickerDisabled() {
89
- return this._isPickerDisabled;
90
- }
91
- set isPickerDisabled(value) {
92
- this._isPickerDisabled = coerceBooleanProperty(value);
34
+ class EuiDatepickerComponent {
35
+ get cssClasses() {
36
+ return [this.baseStatesDirective.getCssClasses('eui-datepicker')].join(' ').trim();
93
37
  }
94
38
  get isClearable() {
95
- return this._isClearable && !this._isReadOnly;
39
+ return this._isClearable && !this.isReadOnly;
96
40
  }
97
41
  set isClearable(value) {
98
42
  this._isClearable = coerceBooleanProperty(value);
@@ -116,11 +60,7 @@ class EuiDatepickerComponent extends BaseDirective {
116
60
  console.error(e);
117
61
  }
118
62
  }
119
- get cssClasses() {
120
- return [super.getCssClasses('eui-datepicker')].join(' ').trim();
121
- }
122
- constructor(adapter, translateService, localeService, EuiAppShellService, componentFactoryResolver, injector, appRef, viewContainerRef, euiLetterFormat, control, format) {
123
- super();
63
+ constructor(adapter, translateService, localeService, EuiAppShellService, componentFactoryResolver, injector, appRef, viewContainerRef, baseStatesDirective, euiLetterFormat, control, format) {
124
64
  this.adapter = adapter;
125
65
  this.translateService = translateService;
126
66
  this.localeService = localeService;
@@ -129,6 +69,7 @@ class EuiDatepickerComponent extends BaseDirective {
129
69
  this.injector = injector;
130
70
  this.appRef = appRef;
131
71
  this.viewContainerRef = viewContainerRef;
72
+ this.baseStatesDirective = baseStatesDirective;
132
73
  this.euiLetterFormat = euiLetterFormat;
133
74
  this.control = control;
134
75
  this.inputFormControl = new FormControl();
@@ -151,16 +92,16 @@ class EuiDatepickerComponent extends BaseDirective {
151
92
  this.stepHours = 1;
152
93
  this.stepMinutes = 1;
153
94
  this.stepSeconds = 1;
154
- this._isDatetimepicker = false;
155
- this._hasSeconds = false;
156
- this._isOneInputField = false;
157
- this._hasNoButton = false;
158
- this._isDatepickerBlock = false;
159
- this._isReadOnly = false;
160
- this._isDisabled = false;
161
- this._isInputDisabled = false;
162
- this._isButtonDisabled = false;
163
- this._isPickerDisabled = false;
95
+ this.isDatetimepicker = false;
96
+ this.hasSeconds = false;
97
+ this.isOneInputField = false;
98
+ this.hasNoButton = false;
99
+ this.isDatepickerBlock = false;
100
+ this.isReadOnly = false;
101
+ this.isDisabled = false;
102
+ this.isInputDisabled = false;
103
+ this.isButtonDisabled = false;
104
+ this.isPickerDisabled = false;
164
105
  this._isClearable = false;
165
106
  this.destroy$ = new Subject();
166
107
  this.isNull = false;
@@ -623,25 +564,39 @@ class EuiDatepickerComponent extends BaseDirective {
623
564
  date1.getMinutes() === date2.getMinutes() &&
624
565
  date1.getSeconds() === date2.getSeconds());
625
566
  }
626
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EuiDatepickerComponent, deps: [{ token: i1.DateAdapter }, { token: i2.TranslateService }, { token: i3.LocaleService }, { token: i3.EuiAppShellService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i0.ViewContainerRef }, { token: forwardRef(() => EuiLetterFormatDirective), optional: true }, { token: i4.NgControl, optional: true, self: true }, { token: MAT_DATE_FORMATS }], target: i0.ɵɵFactoryTarget.Component }); }
627
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: EuiDatepickerComponent, selector: "eui-datepicker", inputs: { styleClass: "styleClass", value: "value", togglerIcon: "togglerIcon", togglerIconSvg: "togglerIconSvg", togglerLabel: "togglerLabel", placeholder: "placeholder", type: "type", startView: "startView", e2eAttr: "e2eAttr", minDate: "minDate", maxDate: "maxDate", datepickerFilter: "datepickerFilter", dateOutputFormat: "dateOutputFormat", customHeader: "customHeader", dateClass: "dateClass", stepHours: "stepHours", stepMinutes: "stepMinutes", stepSeconds: "stepSeconds", isDatetimepicker: "isDatetimepicker", hasSeconds: "hasSeconds", isOneInputField: "isOneInputField", hasNoButton: "hasNoButton", isDatepickerBlock: "isDatepickerBlock", isReadOnly: "isReadOnly", isDisabled: "isDisabled", isInputDisabled: "isInputDisabled", isButtonDisabled: "isButtonDisabled", isPickerDisabled: "isPickerDisabled", isClearable: "isClearable", restrictToRegex: "restrictToRegex" }, outputs: { inputChange: "inputChange", dateSelect: "dateSelect" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "euiActionButtons", first: true, predicate: i0.forwardRef(() => EuiActionButtonsDirective), descendants: true }], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true, static: true }, { propertyName: "templatePortalRef", first: true, predicate: ["templatePortalRef"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"eui-datepicker__wrapper {{ styleClass }}\" [class.eui-datepicker__wrapper--responsive]=\"isDatepickerBlock\">\n <div euiInputGroup>\n <div class=\"eui-input-group-addon\">\n <input\n euiInputText\n [readonly]=\"isReadOnly\"\n [euiClearable]=\"isClearable\"\n (clear)=\"onClear()\"\n [class.eui-datepicker--no-button]=\"hasNoButton\"\n [class.eui-datepicker--long-format]=\"!isDatepickerBlock && (isDatetimepicker || euiLetterFormat)\"\n [class.eui-datepicker--block]=\"isDatepickerBlock\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"calendar\"\n placeholder=\"{{ placeholder }}\"\n (dateInput)=\"onDateInput($event)\"\n (dateChange)=\"onDateChange($event)\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [matDatepickerFilter]=\"datepickerFilter\"\n (click)=\"openCalendar()\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (change)=\"isDatetimepicker ? changedInput($event) : null\" />\n <mat-datepicker\n #calendar\n panelClass=\"mat-calendar-{{ type }}\"\n [startView]=\"type === 'regular' ? (startView ? startView : convTypeToStartView(type)) : convTypeToStartView(type)\"\n (yearSelected)=\"type === 'year' ? chosenDateHandler($event, calendar) : null\"\n (monthSelected)=\"type === 'month' ? chosenDateHandler($event, calendar) : null\"\n [touchUi]=\"breakpointsValue.isTablet || breakpointsValue.isMobile\"\n [panelClass]=\"isDatetimepicker ? 'eui-datepicker--container-height-large' : null\"\n [disabled]=\"isPickerDisabled\"\n [calendarHeaderComponent]=\"customHeader\"\n [dateClass]=\"dateClass\"\n (opened)=\"onOpened()\">\n </mat-datepicker>\n <button\n *ngIf=\"!hasNoButton && showDateButton\"\n (click)=\"openCalendar()\"\n euiButton\n type=\"button\"\n euiSecondary\n [euiIconButton]=\"!togglerLabel\"\n [euiDisabled]=\"isButtonDisabled\"\n aria-haspopup=\"dialog\">\n <span *ngIf=\"!togglerLabel && togglerIcon\" euiIcon aria-label=\"Open Calendar\" iconClass=\"{{ togglerIcon }}\"></span>\n <ng-container *ngIf=\"!togglerLabel && !togglerIcon\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n </div>\n</div>\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [":host.eui-datepicker{display:flex;width:100%}.eui-datepicker{display:flex;width:100%}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) .eui-input-group{margin-bottom:0}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) .eui-input-group-addon{width:unset}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--block{width:100%}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-base-border-radius);border-top-right-radius:var(--eui-base-border-radius)}.eui-datepicker .eui-datepicker__wrapper .eui-input-group{margin-bottom:0}.eui-datepicker .eui-datepicker__wrapper--responsive,.eui-datepicker .eui-datepicker__wrapper--responsive .eui-input-group-addon{width:100%}.eui-datepicker--container-height-large{height:auto!important}.eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-base-spacing-xs) var(--eui-base-spacing-xs) var(--eui-base-spacing-xs)}.eui-datepicker__actions-cancel-button{margin-right:var(--eui-base-spacing-m)}.mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:-moz-fit-content!important;max-height:fit-content!important}.mat-mdc-icon-button:disabled{color:var(--eui-base-color-grey-50)!important}.eui-datepicker--primary input{background-color:var(--eui-base-color-primary-10)}.eui-datepicker--secondary input{background-color:var(--eui-base-color-grey-10)}.eui-datepicker--info input{background-color:var(--eui-base-color-info-10)}.eui-datepicker--success input{background-color:var(--eui-base-color-success-10)}.eui-datepicker--warning input{background-color:var(--eui-base-color-warning-10)}.eui-datepicker--danger input{background-color:var(--eui-base-color-danger-10)}.eui-datepicker--accent input{background-color:var(--eui-base-color-accent-10)}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i6.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i6.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i7.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "isLoading", "euiIconButton", "euiLineWrap"], outputs: ["buttonClick"] }, { kind: "component", type: i8.EuiIconComponent, selector: "div[euiIcon], span[euiIcon], i[euiIcon], eui-icon", inputs: ["aria-label", "iconClass", "isLoading"] }, { kind: "component", type: i8.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "size", "fillColor", "set", "ariaLabelledby", "role", "style", "iconUrl", "transform", "aria-label", "ariaHidden", "focusable", "isLoading"] }, { kind: "component", type: i9.EuiInputTextComponent, selector: "input[euiInputText]", inputs: ["class", "isInvalid"] }, { kind: "component", type: i10.EuiInputGroupComponent, selector: "div[euiInputGroup]", inputs: ["e2eAttr", "styleClass"] }], encapsulation: i0.ViewEncapsulation.None }); }
567
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EuiDatepickerComponent, deps: [{ token: i1.DateAdapter }, { token: i2.TranslateService }, { token: i3.LocaleService }, { token: i3.EuiAppShellService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ApplicationRef }, { token: i0.ViewContainerRef }, { token: i4.BaseStatesDirective }, { token: forwardRef(() => EuiLetterFormatDirective), optional: true }, { token: i5.NgControl, optional: true, self: true }, { token: MAT_DATE_FORMATS }], target: i0.ɵɵFactoryTarget.Component }); }
568
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.0.6", type: EuiDatepickerComponent, selector: "eui-datepicker", inputs: { styleClass: "styleClass", value: "value", togglerIcon: "togglerIcon", togglerIconSvg: "togglerIconSvg", togglerLabel: "togglerLabel", placeholder: "placeholder", type: "type", startView: "startView", e2eAttr: "e2eAttr", minDate: "minDate", maxDate: "maxDate", datepickerFilter: "datepickerFilter", dateOutputFormat: "dateOutputFormat", customHeader: "customHeader", dateClass: "dateClass", stepHours: "stepHours", stepMinutes: "stepMinutes", stepSeconds: "stepSeconds", isDatetimepicker: ["isDatetimepicker", "isDatetimepicker", booleanAttribute], hasSeconds: ["hasSeconds", "hasSeconds", booleanAttribute], isOneInputField: ["isOneInputField", "isOneInputField", booleanAttribute], hasNoButton: ["hasNoButton", "hasNoButton", booleanAttribute], isDatepickerBlock: ["isDatepickerBlock", "isDatepickerBlock", booleanAttribute], isReadOnly: ["isReadOnly", "isReadOnly", booleanAttribute], isDisabled: ["isDisabled", "isDisabled", booleanAttribute], isInputDisabled: ["isInputDisabled", "isInputDisabled", booleanAttribute], isButtonDisabled: ["isButtonDisabled", "isButtonDisabled", booleanAttribute], isPickerDisabled: ["isPickerDisabled", "isPickerDisabled", booleanAttribute], isClearable: "isClearable", restrictToRegex: "restrictToRegex" }, outputs: { inputChange: "inputChange", dateSelect: "dateSelect" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "euiActionButtons", first: true, predicate: i0.forwardRef(() => EuiActionButtonsDirective), descendants: true }], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true, static: true }, { propertyName: "templatePortalRef", first: true, predicate: ["templatePortalRef"], descendants: true }], usesOnChanges: true, hostDirectives: [{ directive: i4.BaseStatesDirective, inputs: ["euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiVariant", "euiVariant"] }], ngImport: i0, template: "<div class=\"eui-datepicker__wrapper {{ styleClass }}\" [class.eui-datepicker__wrapper--responsive]=\"isDatepickerBlock\">\n <div euiInputGroup>\n <div class=\"eui-input-group-addon\">\n <input\n euiInputText\n [readonly]=\"isReadOnly\"\n [euiClearable]=\"isClearable\"\n (clear)=\"onClear()\"\n [class.eui-datepicker--no-button]=\"hasNoButton\"\n [class.eui-datepicker--long-format]=\"!isDatepickerBlock && (isDatetimepicker || euiLetterFormat)\"\n [class.eui-datepicker--block]=\"isDatepickerBlock\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"calendar\"\n placeholder=\"{{ placeholder }}\"\n (dateInput)=\"onDateInput($event)\"\n (dateChange)=\"onDateChange($event)\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [matDatepickerFilter]=\"datepickerFilter\"\n (click)=\"openCalendar()\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (change)=\"isDatetimepicker ? changedInput($event) : null\" />\n <mat-datepicker\n #calendar\n panelClass=\"mat-calendar-{{ type }}\"\n [startView]=\"type === 'regular' ? (startView ? startView : convTypeToStartView(type)) : convTypeToStartView(type)\"\n (yearSelected)=\"type === 'year' ? chosenDateHandler($event, calendar) : null\"\n (monthSelected)=\"type === 'month' ? chosenDateHandler($event, calendar) : null\"\n [touchUi]=\"breakpointsValue.isTablet || breakpointsValue.isMobile\"\n [panelClass]=\"isDatetimepicker ? 'eui-datepicker--container-height-large' : null\"\n [disabled]=\"isPickerDisabled\"\n [calendarHeaderComponent]=\"customHeader\"\n [dateClass]=\"dateClass\"\n (opened)=\"onOpened()\">\n </mat-datepicker>\n <button\n *ngIf=\"!hasNoButton && showDateButton\"\n (click)=\"openCalendar()\"\n euiButton\n type=\"button\"\n euiSecondary\n [euiIconButton]=\"!togglerLabel\"\n [euiDisabled]=\"isButtonDisabled\"\n aria-haspopup=\"dialog\">\n <span *ngIf=\"!togglerLabel && togglerIcon\" euiIcon aria-label=\"Open Calendar\" iconClass=\"{{ togglerIcon }}\"></span>\n <ng-container *ngIf=\"!togglerLabel && !togglerIcon\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n </div>\n</div>\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [":host.eui-datepicker{display:flex;width:100%}.eui-datepicker{display:flex;width:100%}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) .eui-input-group{margin-bottom:0}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) .eui-input-group-addon{width:unset}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--block{width:100%}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-base-border-radius);border-top-right-radius:var(--eui-base-border-radius)}.eui-datepicker .eui-datepicker__wrapper .eui-input-group{margin-bottom:0}.eui-datepicker .eui-datepicker__wrapper--responsive,.eui-datepicker .eui-datepicker__wrapper--responsive .eui-input-group-addon{width:100%}.eui-datepicker--container-height-large{height:auto!important}.eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-base-spacing-xs) var(--eui-base-spacing-xs) var(--eui-base-spacing-xs)}.eui-datepicker__actions-cancel-button{margin-right:var(--eui-base-spacing-m)}.mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:-moz-fit-content!important;max-height:fit-content!important}.mat-mdc-icon-button:disabled{color:var(--eui-base-color-grey-50)!important}.eui-datepicker--primary input{background-color:var(--eui-base-color-primary-10)}.eui-datepicker--secondary input{background-color:var(--eui-base-color-grey-10)}.eui-datepicker--info input{background-color:var(--eui-base-color-info-10)}.eui-datepicker--success input{background-color:var(--eui-base-color-success-10)}.eui-datepicker--warning input{background-color:var(--eui-base-color-warning-10)}.eui-datepicker--danger input{background-color:var(--eui-base-color-danger-10)}.eui-datepicker--accent input{background-color:var(--eui-base-color-accent-10)}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i7.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i7.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i8.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "isLoading", "euiIconButton", "euiLineWrap"], outputs: ["buttonClick"] }, { kind: "component", type: i9.EuiIconComponent, selector: "div[euiIcon], span[euiIcon], i[euiIcon], eui-icon", inputs: ["aria-label", "iconClass", "isLoading"] }, { kind: "component", type: i9.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "size", "fillColor", "set", "ariaLabelledby", "role", "style", "iconUrl", "transform", "aria-label", "ariaHidden", "focusable", "isLoading"] }, { kind: "component", type: i10.EuiInputTextComponent, selector: "input[euiInputText]", inputs: ["class", "isInvalid"] }, { kind: "component", type: i11.EuiInputGroupComponent, selector: "div[euiInputGroup]", inputs: ["e2eAttr", "styleClass"] }], encapsulation: i0.ViewEncapsulation.None }); }
628
569
  }
629
570
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EuiDatepickerComponent, decorators: [{
630
571
  type: Component,
631
- args: [{ selector: 'eui-datepicker', encapsulation: ViewEncapsulation.None, template: "<div class=\"eui-datepicker__wrapper {{ styleClass }}\" [class.eui-datepicker__wrapper--responsive]=\"isDatepickerBlock\">\n <div euiInputGroup>\n <div class=\"eui-input-group-addon\">\n <input\n euiInputText\n [readonly]=\"isReadOnly\"\n [euiClearable]=\"isClearable\"\n (clear)=\"onClear()\"\n [class.eui-datepicker--no-button]=\"hasNoButton\"\n [class.eui-datepicker--long-format]=\"!isDatepickerBlock && (isDatetimepicker || euiLetterFormat)\"\n [class.eui-datepicker--block]=\"isDatepickerBlock\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"calendar\"\n placeholder=\"{{ placeholder }}\"\n (dateInput)=\"onDateInput($event)\"\n (dateChange)=\"onDateChange($event)\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [matDatepickerFilter]=\"datepickerFilter\"\n (click)=\"openCalendar()\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (change)=\"isDatetimepicker ? changedInput($event) : null\" />\n <mat-datepicker\n #calendar\n panelClass=\"mat-calendar-{{ type }}\"\n [startView]=\"type === 'regular' ? (startView ? startView : convTypeToStartView(type)) : convTypeToStartView(type)\"\n (yearSelected)=\"type === 'year' ? chosenDateHandler($event, calendar) : null\"\n (monthSelected)=\"type === 'month' ? chosenDateHandler($event, calendar) : null\"\n [touchUi]=\"breakpointsValue.isTablet || breakpointsValue.isMobile\"\n [panelClass]=\"isDatetimepicker ? 'eui-datepicker--container-height-large' : null\"\n [disabled]=\"isPickerDisabled\"\n [calendarHeaderComponent]=\"customHeader\"\n [dateClass]=\"dateClass\"\n (opened)=\"onOpened()\">\n </mat-datepicker>\n <button\n *ngIf=\"!hasNoButton && showDateButton\"\n (click)=\"openCalendar()\"\n euiButton\n type=\"button\"\n euiSecondary\n [euiIconButton]=\"!togglerLabel\"\n [euiDisabled]=\"isButtonDisabled\"\n aria-haspopup=\"dialog\">\n <span *ngIf=\"!togglerLabel && togglerIcon\" euiIcon aria-label=\"Open Calendar\" iconClass=\"{{ togglerIcon }}\"></span>\n <ng-container *ngIf=\"!togglerLabel && !togglerIcon\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n </div>\n</div>\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [":host.eui-datepicker{display:flex;width:100%}.eui-datepicker{display:flex;width:100%}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) .eui-input-group{margin-bottom:0}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) .eui-input-group-addon{width:unset}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--block{width:100%}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-base-border-radius);border-top-right-radius:var(--eui-base-border-radius)}.eui-datepicker .eui-datepicker__wrapper .eui-input-group{margin-bottom:0}.eui-datepicker .eui-datepicker__wrapper--responsive,.eui-datepicker .eui-datepicker__wrapper--responsive .eui-input-group-addon{width:100%}.eui-datepicker--container-height-large{height:auto!important}.eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-base-spacing-xs) var(--eui-base-spacing-xs) var(--eui-base-spacing-xs)}.eui-datepicker__actions-cancel-button{margin-right:var(--eui-base-spacing-m)}.mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:-moz-fit-content!important;max-height:fit-content!important}.mat-mdc-icon-button:disabled{color:var(--eui-base-color-grey-50)!important}.eui-datepicker--primary input{background-color:var(--eui-base-color-primary-10)}.eui-datepicker--secondary input{background-color:var(--eui-base-color-grey-10)}.eui-datepicker--info input{background-color:var(--eui-base-color-info-10)}.eui-datepicker--success input{background-color:var(--eui-base-color-success-10)}.eui-datepicker--warning input{background-color:var(--eui-base-color-warning-10)}.eui-datepicker--danger input{background-color:var(--eui-base-color-danger-10)}.eui-datepicker--accent input{background-color:var(--eui-base-color-accent-10)}\n"] }]
632
- }], ctorParameters: () => [{ type: i1.DateAdapter }, { type: i2.TranslateService }, { type: i3.LocaleService }, { type: i3.EuiAppShellService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i0.ViewContainerRef }, { type: EuiLetterFormatDirective, decorators: [{
572
+ args: [{ selector: 'eui-datepicker', encapsulation: ViewEncapsulation.None, hostDirectives: [
573
+ {
574
+ directive: BaseStatesDirective,
575
+ inputs: [
576
+ 'euiSuccess',
577
+ 'euiInfo',
578
+ 'euiWarning',
579
+ 'euiDanger',
580
+ 'euiVariant',
581
+ ],
582
+ },
583
+ ], template: "<div class=\"eui-datepicker__wrapper {{ styleClass }}\" [class.eui-datepicker__wrapper--responsive]=\"isDatepickerBlock\">\n <div euiInputGroup>\n <div class=\"eui-input-group-addon\">\n <input\n euiInputText\n [readonly]=\"isReadOnly\"\n [euiClearable]=\"isClearable\"\n (clear)=\"onClear()\"\n [class.eui-datepicker--no-button]=\"hasNoButton\"\n [class.eui-datepicker--long-format]=\"!isDatepickerBlock && (isDatetimepicker || euiLetterFormat)\"\n [class.eui-datepicker--block]=\"isDatepickerBlock\"\n [formControl]=\"inputFormControl\"\n [matDatepicker]=\"calendar\"\n placeholder=\"{{ placeholder }}\"\n (dateInput)=\"onDateInput($event)\"\n (dateChange)=\"onDateChange($event)\"\n [min]=\"minDate\"\n [max]=\"maxDate\"\n [matDatepickerFilter]=\"datepickerFilter\"\n (click)=\"openCalendar()\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (change)=\"isDatetimepicker ? changedInput($event) : null\" />\n <mat-datepicker\n #calendar\n panelClass=\"mat-calendar-{{ type }}\"\n [startView]=\"type === 'regular' ? (startView ? startView : convTypeToStartView(type)) : convTypeToStartView(type)\"\n (yearSelected)=\"type === 'year' ? chosenDateHandler($event, calendar) : null\"\n (monthSelected)=\"type === 'month' ? chosenDateHandler($event, calendar) : null\"\n [touchUi]=\"breakpointsValue.isTablet || breakpointsValue.isMobile\"\n [panelClass]=\"isDatetimepicker ? 'eui-datepicker--container-height-large' : null\"\n [disabled]=\"isPickerDisabled\"\n [calendarHeaderComponent]=\"customHeader\"\n [dateClass]=\"dateClass\"\n (opened)=\"onOpened()\">\n </mat-datepicker>\n <button\n *ngIf=\"!hasNoButton && showDateButton\"\n (click)=\"openCalendar()\"\n euiButton\n type=\"button\"\n euiSecondary\n [euiIconButton]=\"!togglerLabel\"\n [euiDisabled]=\"isButtonDisabled\"\n aria-haspopup=\"dialog\">\n <span *ngIf=\"!togglerLabel && togglerIcon\" euiIcon aria-label=\"Open Calendar\" iconClass=\"{{ togglerIcon }}\"></span>\n <ng-container *ngIf=\"!togglerLabel && !togglerIcon\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n </div>\n</div>\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [":host.eui-datepicker{display:flex;width:100%}.eui-datepicker{display:flex;width:100%}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) .eui-input-group{margin-bottom:0}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) .eui-input-group-addon{width:unset}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-base-spacing-m))}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--block{width:100%}.eui-datepicker .eui-datepicker__wrapper:not(.eui-datepicker__wrapper--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-base-border-radius);border-top-right-radius:var(--eui-base-border-radius)}.eui-datepicker .eui-datepicker__wrapper .eui-input-group{margin-bottom:0}.eui-datepicker .eui-datepicker__wrapper--responsive,.eui-datepicker .eui-datepicker__wrapper--responsive .eui-input-group-addon{width:100%}.eui-datepicker--container-height-large{height:auto!important}.eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-base-spacing-xs) var(--eui-base-spacing-xs) var(--eui-base-spacing-xs)}.eui-datepicker__actions-cancel-button{margin-right:var(--eui-base-spacing-m)}.mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:-moz-fit-content!important;max-height:fit-content!important}.mat-mdc-icon-button:disabled{color:var(--eui-base-color-grey-50)!important}.eui-datepicker--primary input{background-color:var(--eui-base-color-primary-10)}.eui-datepicker--secondary input{background-color:var(--eui-base-color-grey-10)}.eui-datepicker--info input{background-color:var(--eui-base-color-info-10)}.eui-datepicker--success input{background-color:var(--eui-base-color-success-10)}.eui-datepicker--warning input{background-color:var(--eui-base-color-warning-10)}.eui-datepicker--danger input{background-color:var(--eui-base-color-danger-10)}.eui-datepicker--accent input{background-color:var(--eui-base-color-accent-10)}\n"] }]
584
+ }], ctorParameters: () => [{ type: i1.DateAdapter }, { type: i2.TranslateService }, { type: i3.LocaleService }, { type: i3.EuiAppShellService }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i0.ApplicationRef }, { type: i0.ViewContainerRef }, { type: i4.BaseStatesDirective }, { type: EuiLetterFormatDirective, decorators: [{
633
585
  type: Optional
634
586
  }, {
635
587
  type: Inject,
636
588
  args: [forwardRef(() => EuiLetterFormatDirective)]
637
- }] }, { type: i4.NgControl, decorators: [{
589
+ }] }, { type: i5.NgControl, decorators: [{
638
590
  type: Self
639
591
  }, {
640
592
  type: Optional
641
593
  }] }, { type: undefined, decorators: [{
642
594
  type: Inject,
643
595
  args: [MAT_DATE_FORMATS]
644
- }] }], propDecorators: { calendar: [{
596
+ }] }], propDecorators: { cssClasses: [{
597
+ type: HostBinding,
598
+ args: ['class']
599
+ }], calendar: [{
645
600
  type: ViewChild,
646
601
  args: ['calendar', { static: true }]
647
602
  }], templatePortalRef: [{
@@ -691,32 +646,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
691
646
  }], stepSeconds: [{
692
647
  type: Input
693
648
  }], isDatetimepicker: [{
694
- type: Input
649
+ type: Input,
650
+ args: [{ transform: booleanAttribute }]
695
651
  }], hasSeconds: [{
696
- type: Input
652
+ type: Input,
653
+ args: [{ transform: booleanAttribute }]
697
654
  }], isOneInputField: [{
698
- type: Input
655
+ type: Input,
656
+ args: [{ transform: booleanAttribute }]
699
657
  }], hasNoButton: [{
700
- type: Input
658
+ type: Input,
659
+ args: [{ transform: booleanAttribute }]
701
660
  }], isDatepickerBlock: [{
702
- type: Input
661
+ type: Input,
662
+ args: [{ transform: booleanAttribute }]
703
663
  }], isReadOnly: [{
704
- type: Input
664
+ type: Input,
665
+ args: [{ transform: booleanAttribute }]
705
666
  }], isDisabled: [{
706
- type: Input
667
+ type: Input,
668
+ args: [{ transform: booleanAttribute }]
707
669
  }], isInputDisabled: [{
708
- type: Input
670
+ type: Input,
671
+ args: [{ transform: booleanAttribute }]
709
672
  }], isButtonDisabled: [{
710
- type: Input
673
+ type: Input,
674
+ args: [{ transform: booleanAttribute }]
711
675
  }], isPickerDisabled: [{
712
- type: Input
676
+ type: Input,
677
+ args: [{ transform: booleanAttribute }]
713
678
  }], isClearable: [{
714
679
  type: Input
715
680
  }], restrictToRegex: [{
716
681
  type: Input
717
- }], cssClasses: [{
718
- type: HostBinding,
719
- args: ['class']
720
682
  }] } });
721
683
  const LETTER_FORMAT = {
722
684
  parse: {