@eui/components 19.2.0-snapshot-1745313759588 → 19.2.0-snapshot-1745324592855

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 (80) hide show
  1. package/docs/dependencies.html +2 -2
  2. package/docs/js/search/search_index.js +2 -2
  3. package/docs/miscellaneous/variables.html +22 -154
  4. package/eui-badge/index.d.ts +1 -1
  5. package/eui-badge/index.d.ts.map +1 -1
  6. package/eui-block-content/index.d.ts +1 -1
  7. package/eui-block-content/index.d.ts.map +1 -1
  8. package/eui-block-document/index.d.ts +1 -1
  9. package/eui-block-document/index.d.ts.map +1 -1
  10. package/eui-button/index.d.ts +1 -1
  11. package/eui-button/index.d.ts.map +1 -1
  12. package/eui-button-group/index.d.ts +1 -1
  13. package/eui-button-group/index.d.ts.map +1 -1
  14. package/eui-dashboard-button/index.d.ts +2 -2
  15. package/eui-dashboard-button/index.d.ts.map +1 -1
  16. package/eui-dashboard-card/index.d.ts +2 -1
  17. package/eui-dashboard-card/index.d.ts.map +1 -1
  18. package/eui-disable-content/index.d.ts +1 -1
  19. package/eui-disable-content/index.d.ts.map +1 -1
  20. package/eui-feedback-message/index.d.ts +1 -1
  21. package/eui-feedback-message/index.d.ts.map +1 -1
  22. package/eui-fieldset/index.d.ts +2 -2
  23. package/eui-fieldset/index.d.ts.map +1 -1
  24. package/eui-icon-toggle/index.d.ts +1 -1
  25. package/eui-icon-toggle/index.d.ts.map +1 -1
  26. package/eui-input-checkbox/index.d.ts +1 -1
  27. package/eui-input-checkbox/index.d.ts.map +1 -1
  28. package/eui-input-number/index.d.ts +1 -1
  29. package/eui-input-number/index.d.ts.map +1 -1
  30. package/eui-input-radio/index.d.ts +1 -1
  31. package/eui-input-radio/index.d.ts.map +1 -1
  32. package/eui-input-text/index.d.ts +1 -1
  33. package/eui-input-text/index.d.ts.map +1 -1
  34. package/eui-label/index.d.ts +1 -1
  35. package/eui-label/index.d.ts.map +1 -1
  36. package/eui-progress-bar/index.d.ts +1 -1
  37. package/eui-progress-bar/index.d.ts.map +1 -1
  38. package/eui-progress-circle/index.d.ts +1 -1
  39. package/eui-progress-circle/index.d.ts.map +1 -1
  40. package/eui-sidebar-menu/index.d.ts +1 -1
  41. package/eui-sidebar-menu/index.d.ts.map +1 -1
  42. package/eui-skeleton/index.d.ts +1 -1
  43. package/eui-skeleton/index.d.ts.map +1 -1
  44. package/eui-slide-toggle/index.d.ts +1 -1
  45. package/eui-slide-toggle/index.d.ts.map +1 -1
  46. package/eui-tabs-v2/eui-tabs-v2.component.d.ts.map +1 -1
  47. package/eui-tabs-v2/index.d.ts +1 -1
  48. package/eui-tabs-v2/index.d.ts.map +1 -1
  49. package/fesm2022/eui-components-eui-badge.mjs +2 -2
  50. package/fesm2022/eui-components-eui-badge.mjs.map +1 -1
  51. package/fesm2022/eui-components-eui-block-content.mjs.map +1 -1
  52. package/fesm2022/eui-components-eui-block-document.mjs.map +1 -1
  53. package/fesm2022/eui-components-eui-button-group.mjs.map +1 -1
  54. package/fesm2022/eui-components-eui-button.mjs.map +1 -1
  55. package/fesm2022/eui-components-eui-chip.mjs +2 -2
  56. package/fesm2022/eui-components-eui-chip.mjs.map +1 -1
  57. package/fesm2022/eui-components-eui-dashboard-button.mjs.map +1 -1
  58. package/fesm2022/eui-components-eui-dashboard-card.mjs.map +1 -1
  59. package/fesm2022/eui-components-eui-datepicker.mjs +2 -2
  60. package/fesm2022/eui-components-eui-datepicker.mjs.map +1 -1
  61. package/fesm2022/eui-components-eui-disable-content.mjs.map +1 -1
  62. package/fesm2022/eui-components-eui-feedback-message.mjs.map +1 -1
  63. package/fesm2022/eui-components-eui-fieldset.mjs.map +1 -1
  64. package/fesm2022/eui-components-eui-growl.mjs +2 -2
  65. package/fesm2022/eui-components-eui-growl.mjs.map +1 -1
  66. package/fesm2022/eui-components-eui-icon-toggle.mjs.map +1 -1
  67. package/fesm2022/eui-components-eui-input-checkbox.mjs.map +1 -1
  68. package/fesm2022/eui-components-eui-input-number.mjs.map +1 -1
  69. package/fesm2022/eui-components-eui-input-radio.mjs.map +1 -1
  70. package/fesm2022/eui-components-eui-input-text.mjs.map +1 -1
  71. package/fesm2022/eui-components-eui-label.mjs.map +1 -1
  72. package/fesm2022/eui-components-eui-progress-bar.mjs.map +1 -1
  73. package/fesm2022/eui-components-eui-progress-circle.mjs.map +1 -1
  74. package/fesm2022/eui-components-eui-sidebar-menu.mjs.map +1 -1
  75. package/fesm2022/eui-components-eui-skeleton.mjs.map +1 -1
  76. package/fesm2022/eui-components-eui-slide-toggle.mjs.map +1 -1
  77. package/fesm2022/eui-components-eui-tabs-v2.mjs.map +1 -1
  78. package/fesm2022/eui-components-externals-eui-editor.mjs +2 -2
  79. package/fesm2022/eui-components-externals-eui-editor.mjs.map +1 -1
  80. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"eui-components-eui-dashboard-button.mjs","sources":["../../eui-dashboard-button/eui-dashboard-button.component.ts","../../eui-dashboard-button/eui-dashboard-button.component.html","../../eui-dashboard-button/index.ts","../../eui-dashboard-button/eui-components-eui-dashboard-button.ts"],"sourcesContent":["import {\n Component,\n Directive,\n NgModule,\n HostBinding,\n ChangeDetectionStrategy,\n ContentChild,\n OnInit,\n Input,\n inject,\n} from '@angular/core';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiAvatarModule } from '@eui/components/eui-avatar';\nimport { EuiLabelComponent } from '@eui/components/eui-label';\n\n/**\n * @description\n * Directive to mark an element as a dashboard button icon\n */\n// eslint-disable-next-line\n@Directive({ selector: 'eui-dashboard-button-icon', standalone: true })\nexport class EuiDashboardButtonIconDirective {}\n\n/**\n * @description\n * Directive to mark an element as a dashboard button label\n */\n// eslint-disable-next-line\n@Directive({ selector: 'eui-dashboard-button-label', standalone: true })\nexport class EuiDashboardButtonLabelDirective {}\n\n/**\n * @description\n * A customizable dashboard button component that can display icons, labels, and images.\n * Supports various states and sizes through host directives.\n */\n@Component({\n templateUrl: './eui-dashboard-button.component.html',\n selector: 'eui-dashboard-button',\n styleUrls: ['./eui-dashboard-button.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [EuiAvatarModule],\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiSizeXS',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeL',\n 'euiSizeXL',\n 'euiSize2XL',\n 'euiSizeVariant',\n ],\n },\n ],\n})\nexport class EuiDashboardButtonComponent implements OnInit {\n /**\n * @description\n * Computes and returns the CSS classes for the dashboard button\n *\n * @returns {string} Space-separated string of CSS class names\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-dashboard-button'),\n ].join(' ').trim();\n }\n\n /**\n * @description\n * URL for an optional image to display in the button\n */\n @Input() imageUrl: string;\n\n /**\n * @description Reference to the icon content if provided\n */\n @ContentChild(EuiDashboardButtonIconDirective)\n euiDashboardButtonIcon: EuiDashboardButtonIconDirective;\n\n /**\n * @description Reference to the label content if provided\n */\n @ContentChild(EuiDashboardButtonLabelDirective)\n euiDashboardButtonLabel: EuiDashboardButtonLabelDirective;\n\n /**\n * @description Reference to any EuiLabel component content\n */\n @ContentChild(EuiLabelComponent)\n euiLabelContent: EuiLabelComponent;\n\n /**\n * @description Directive for managing component states\n */\n public baseStatesDirective: BaseStatesDirective = inject(BaseStatesDirective);\n\n /**\n * @description\n * Initializes the component by setting secondary state as default if no variant is specified\n */\n ngOnInit(): void {\n if (!this.baseStatesDirective.euiVariant) {\n this.baseStatesDirective.euiSecondary = true;\n }\n }\n}\n\n/**\n * @description\n * Module that provides the EuiDashboardButton component and its related directives.\n *\n * @deprecated Use {@link EUI_DASHBOARD_BUTTON_COMPONENTS} instead\n */\n@NgModule({\n imports: [EuiAvatarModule, EuiDashboardButtonComponent, EuiDashboardButtonIconDirective, EuiDashboardButtonLabelDirective],\n exports: [EuiDashboardButtonComponent, EuiDashboardButtonIconDirective, EuiDashboardButtonLabelDirective],\n})\nexport class EuiDashboardButtonModule {}\n","<button class=\"eui-dashboard-button-content\">\n <eui-avatar [euiVariant]=\"baseStatesDirective.euiVariant\" [euiSizeVariant]=\"baseStatesDirective.euiSizeVariant\">\n <eui-avatar-icon>\n <ng-content select=\"eui-dashboard-button-icon\"></ng-content>\n </eui-avatar-icon>\n <eui-avatar-text>\n <ng-content select=\"eui-dashboard-button-label\"></ng-content>\n </eui-avatar-text>\n @if (imageUrl) {\n <eui-avatar-image imageUrl=\"{{imageUrl}}\"></eui-avatar-image>\n }\n </eui-avatar>\n @if (euiLabelContent) {\n <div class=\"eui-dashboard-button-content__title\">\n <ng-content select=\"eui-label\"></ng-content>\n <ng-content select=\"[euiLabel]\"></ng-content>\n </div>\n <div class=\"eui-dashboard-button-content__sub-title\">\n <ng-content select=\"eui-sublabel\"></ng-content>\n <ng-content select=\"[euiSublabel]\"></ng-content>\n </div>\n }\n</button>\n","import { EuiDashboardButtonComponent, EuiDashboardButtonIconDirective, EuiDashboardButtonLabelDirective } from './eui-dashboard-button.component';\n\nexport * from './eui-dashboard-button.component';\n\nexport const EUI_DASHBOARD_BUTTON_COMPONENTS = [\n EuiDashboardButtonComponent,\n EuiDashboardButtonIconDirective,\n EuiDashboardButtonLabelDirective,\n];","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAgBA;;;AAGG;AACH;MAEa,+BAA+B,CAAA;8GAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA/B,+BAA+B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,2BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA/B,+BAA+B,EAAA,UA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,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,EAHvB,OAAA,EAAA,CAAA,eAAe,EA7DhB,2BAA2B,EA7C3B,+BAA+B,EAQ/B,gCAAgC,CAqChC,EAAA,OAAA,EAAA,CAAA,2BAA2B,EA7C3B,+BAA+B,EAQ/B,gCAAgC,CAAA,EAAA,CAAA,CAAA;+GAqGhC,wBAAwB,EAAA,OAAA,EAAA,CAHvB,eAAe,EAAE,2BAA2B,CAAA,EAAA,CAAA,CAAA;;2FAG7C,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,eAAe,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,gCAAgC,CAAC;AAC1H,oBAAA,OAAO,EAAE,CAAC,2BAA2B,EAAE,+BAA+B,EAAE,gCAAgC,CAAC;AAC5G,iBAAA;;;AE9HY,MAAA,+BAA+B,GAAG;IAC3C,2BAA2B;IAC3B,+BAA+B;IAC/B,gCAAgC;;;ACPpC;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-components-eui-dashboard-button.mjs","sources":["../../eui-dashboard-button/eui-dashboard-button.component.ts","../../eui-dashboard-button/eui-dashboard-button.component.html","../../eui-dashboard-button/index.ts","../../eui-dashboard-button/eui-components-eui-dashboard-button.ts"],"sourcesContent":["import {\n Component,\n Directive,\n NgModule,\n HostBinding,\n ChangeDetectionStrategy,\n ContentChild,\n OnInit,\n Input,\n inject,\n} from '@angular/core';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiAvatarModule } from '@eui/components/eui-avatar';\nimport { EuiLabelComponent } from '@eui/components/eui-label';\n\n/**\n * @description\n * Directive to mark an element as a dashboard button icon\n */\n// eslint-disable-next-line\n@Directive({ selector: 'eui-dashboard-button-icon', standalone: true })\nexport class EuiDashboardButtonIconDirective {}\n\n/**\n * @description\n * Directive to mark an element as a dashboard button label\n */\n// eslint-disable-next-line\n@Directive({ selector: 'eui-dashboard-button-label', standalone: true })\nexport class EuiDashboardButtonLabelDirective {}\n\n/**\n * @description\n * A customizable dashboard button component that can display icons, labels, and images.\n * Supports various states and sizes through host directives.\n */\n@Component({\n templateUrl: './eui-dashboard-button.component.html',\n selector: 'eui-dashboard-button',\n styleUrls: ['./eui-dashboard-button.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [EuiAvatarModule],\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiSizeXS',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeL',\n 'euiSizeXL',\n 'euiSize2XL',\n 'euiSizeVariant',\n ],\n },\n ],\n})\nexport class EuiDashboardButtonComponent implements OnInit {\n /**\n * @description\n * Computes and returns the CSS classes for the dashboard button\n *\n * @returns {string} Space-separated string of CSS class names\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-dashboard-button'),\n ].join(' ').trim();\n }\n\n /**\n * @description\n * URL for an optional image to display in the button\n */\n @Input() imageUrl: string;\n\n /**\n * @description Reference to the icon content if provided\n */\n @ContentChild(EuiDashboardButtonIconDirective)\n euiDashboardButtonIcon: EuiDashboardButtonIconDirective;\n\n /**\n * @description Reference to the label content if provided\n */\n @ContentChild(EuiDashboardButtonLabelDirective)\n euiDashboardButtonLabel: EuiDashboardButtonLabelDirective;\n\n /**\n * @description Reference to any EuiLabel component content\n */\n @ContentChild(EuiLabelComponent)\n euiLabelContent: EuiLabelComponent;\n\n /**\n * @description Directive for managing component states\n */\n public baseStatesDirective: BaseStatesDirective = inject(BaseStatesDirective);\n\n /**\n * @description\n * Initializes the component by setting secondary state as default if no variant is specified\n */\n ngOnInit(): void {\n if (!this.baseStatesDirective.euiVariant) {\n this.baseStatesDirective.euiSecondary = true;\n }\n }\n}\n\n/**\n * @description\n * Module that provides the EuiDashboardButton component and its related directives.\n *\n * @deprecated Use {@link EUI_DASHBOARD_BUTTON_COMPONENTS} instead\n */\n@NgModule({\n imports: [EuiAvatarModule, EuiDashboardButtonComponent, EuiDashboardButtonIconDirective, EuiDashboardButtonLabelDirective],\n exports: [EuiDashboardButtonComponent, EuiDashboardButtonIconDirective, EuiDashboardButtonLabelDirective],\n})\nexport class EuiDashboardButtonModule {}\n","<button class=\"eui-dashboard-button-content\">\n <eui-avatar [euiVariant]=\"baseStatesDirective.euiVariant\" [euiSizeVariant]=\"baseStatesDirective.euiSizeVariant\">\n <eui-avatar-icon>\n <ng-content select=\"eui-dashboard-button-icon\"></ng-content>\n </eui-avatar-icon>\n <eui-avatar-text>\n <ng-content select=\"eui-dashboard-button-label\"></ng-content>\n </eui-avatar-text>\n @if (imageUrl) {\n <eui-avatar-image imageUrl=\"{{imageUrl}}\"></eui-avatar-image>\n }\n </eui-avatar>\n @if (euiLabelContent) {\n <div class=\"eui-dashboard-button-content__title\">\n <ng-content select=\"eui-label\"></ng-content>\n <ng-content select=\"[euiLabel]\"></ng-content>\n </div>\n <div class=\"eui-dashboard-button-content__sub-title\">\n <ng-content select=\"eui-sublabel\"></ng-content>\n <ng-content select=\"[euiSublabel]\"></ng-content>\n </div>\n }\n</button>\n","import { EuiDashboardButtonComponent, EuiDashboardButtonIconDirective, EuiDashboardButtonLabelDirective } from './eui-dashboard-button.component';\n\nexport * from './eui-dashboard-button.component';\n\nexport const EUI_DASHBOARD_BUTTON_COMPONENTS = [\n EuiDashboardButtonComponent,\n EuiDashboardButtonIconDirective,\n EuiDashboardButtonLabelDirective,\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-1 +1 @@
1
- {"version":3,"file":"eui-components-eui-dashboard-card.mjs","sources":["../../eui-dashboard-card/eui-dashboard-card-content/dashboard-card-content.component.ts","../../eui-dashboard-card/eui-dashboard-card-status-content/dashboard-card-status-content.component.ts","../../eui-dashboard-card/eui-dashboard-card.component.ts","../../eui-dashboard-card/eui-dashboard-card.component.html","../../eui-dashboard-card/index.ts","../../eui-dashboard-card/eui-components-eui-dashboard-card.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\n\n/**\n * @description\n * Content container component for EuiDashboardCard.\n * Provides content projection and applies consistent styling.\n */\n@Component({\n selector: 'eui-dashboard-card-content',\n standalone: true,\n template: '<ng-content/>',\n})\nexport class EuiDashboardCardContentComponent {\n /** CSS class applied to the host element */\n @HostBinding('class') string = 'eui-dashboard-card-content';\n}\n","import { Component, HostBinding } from '@angular/core';\n\n/**\n * @description\n * Status content container component for EuiDashboardCard.\n * Provides a dedicated area for displaying status information within a dashboard card.\n */\n@Component({\n selector: 'eui-dashboard-card-status-content',\n template: '<ng-content/>',\n standalone: true,\n})\nexport class EuiDashboardCardStatusContentComponent {\n /** CSS class applied to the host element */\n @HostBinding('class') string = 'eui-dashboard-card-status-content';\n}\n","import {\n Component,\n NgModule,\n HostBinding,\n ChangeDetectionStrategy,\n OnInit,\n Input,\n HostListener,\n Output,\n EventEmitter,\n booleanAttribute,\n ContentChild,\n forwardRef,\n QueryList,\n} from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiAvatarModule } from '@eui/components/eui-avatar';\nimport { EuiLabelModule } from '@eui/components/eui-label';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiDashboardCardContentComponent } from './eui-dashboard-card-content/dashboard-card-content.component';\nimport { EuiDashboardCardStatusContentComponent } from './eui-dashboard-card-status-content/dashboard-card-status-content.component';\n\n/**\n * @description\n * Dashboard card component that can display content with various styling options,\n * including avatar/icon, labels, and clickable behavior.\n */\n@Component({\n templateUrl: './eui-dashboard-card.component.html',\n selector: 'eui-dashboard-card',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n CommonModule,\n RouterModule,\n EuiAvatarModule,\n EuiLabelModule,\n EuiIconModule,\n ],\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiSizeXS',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeL',\n 'euiSizeXL',\n 'euiSize2XL',\n 'euiSizeVariant',\n 'euiDisabled',\n 'euiOutline',\n ],\n },\n ],\n})\nexport class EuiDashboardCardComponent implements OnInit {\n /**\n * @description\n * Computes and returns the CSS classes for the dashboard card component based on its current state:\n * - Adds base dashboard card classes\n * - Adds horizontal layout class if isHorizontal is true\n * - Adds link class if the card is clickable or has a URL\n * - Adds flat class if isFlat is true\n *\n * @returns {string} Space-separated string of CSS class names\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-dashboard-card'),\n this.isHorizontal ? 'eui-dashboard-card--horizontal' : '',\n this.url || this.urlExternal || this.isClickeable ? 'eui-dashboard-card--link': '',\n this.isFlat ? 'eui-dashboard-card--flat': '',\n ]\n .join(' ')\n .trim();\n }\n\n /** Element attribute for e2e testing */\n @HostBinding('attr.data-e2e')\n @Input() e2eAttr = 'eui-dashboard-card';\n\n /** Primary label/title of the card */\n @Input() label: string;\n\n /** Secondary label/subtitle of the card */\n @Input() subLabel: string;\n\n /**\n * Maximum number of lines for the primary label\n * @default 2\n */\n @Input() labelMaxLines: 1 | 2 | 3 | 4 | 5 = 2;\n\n /**\n * Maximum number of lines for the secondary label\n * @default 2\n */\n @Input() subLabelMaxLines: 1 | 2 | 3 | 4 | 5 = 2;\n\n /** URL for the avatar image */\n @Input() imageUrl: string;\n\n /** Name of the icon to display */\n @Input() iconSvgName: string;\n\n /**\n * Size of the icon\n * @default 'm'\n */\n @Input() iconSvgSize: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' = 'm';\n\n /** Label for the icon (accessibility) */\n @Input() iconLabel: string;\n\n /** Internal router link URL */\n @Input() url: string;\n\n /** External URL */\n @Input() urlExternal: string;\n\n /** Target attribute for external URLs */\n @Input() urlExternalTarget = '_blank';\n\n /** Tab index for keyboard navigation */\n @HostBinding('attr.tabindex')\n get tabindex(): string {\n if (!this.baseStatesDirective.euiDisabled) {\n if (this.url || this.urlExternal || this.isClickeable) {\n return '0';\n }\n }\n return '-1';\n }\n\n /** Whether to display the card in horizontal layout */\n @Input({ transform: booleanAttribute }) isHorizontal = false;\n\n /** Whether to display the avatar without elevation */\n @Input({ transform: booleanAttribute }) isFlatAvatar = false;\n\n /** Whether to display the avatar without background */\n @Input({ transform: booleanAttribute }) hasNoBackgroundAvatar = false;\n\n /** Whether the card is clickable */\n @Input({ transform: booleanAttribute }) isClickeable = false;\n\n /** Whether to display the card without elevation */\n @Input({ transform: booleanAttribute }) isFlat = false;\n\n /** Event emitted when the card is clicked */\n @Output() cardClick = new EventEmitter<MouseEvent>();\n\n /** Reference to the custom content component */\n @ContentChild(forwardRef(() => EuiDashboardCardContentComponent))\n customContent: QueryList<EuiDashboardCardContentComponent>;\n\n constructor(public baseStatesDirective: BaseStatesDirective) {}\n\n /** Handles card click events */\n @HostListener('click', ['$event'])\n onClick(event: MouseEvent): void {\n this.cardClick.emit(event);\n }\n\n /** Sets default size and variant if not provided */\n ngOnInit(): void {\n if (!this.baseStatesDirective.euiSizeVariant) {\n this.baseStatesDirective.euiSizeL = true;\n }\n if (!this.baseStatesDirective.euiVariant) {\n this.baseStatesDirective.euiSecondary = true;\n }\n }\n}\n\n/**\n * @deprecated Import the standalone {@link EUI_DASHBOARD_CARD_COMPONENTS} instead.\n * This module is maintained for backward compatibility.\n */\n@NgModule({\n imports: [\n EuiDashboardCardComponent,\n EuiDashboardCardContentComponent,\n EuiDashboardCardStatusContentComponent,\n ],\n exports: [\n EuiDashboardCardComponent,\n EuiDashboardCardContentComponent,\n EuiDashboardCardStatusContentComponent,\n ],\n})\nexport class EuiDashboardCardModule {}\n","@if (url || urlExternal) {\n @if (urlExternal) {\n <a href=\"{{ urlExternal }}\" target=\"{{ urlExternalTarget }}\" class=\"eui-dashboard-card__anchor-wrapper\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n } @else {\n <a [routerLink]=\"[url]\" class=\"eui-dashboard-card__anchor-wrapper\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n }\n} @else {\n @if (customContent) {\n <ng-content select=\"eui-dashboard-card-content\"/>\n } @else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n }\n}\n\n<div class=\"eui-dashboard-card__status\">\n <ng-content select=\"eui-dashboard-card-status-content\"/>\n</div>\n\n<ng-template #content>\n @if (iconSvgName || imageUrl || iconLabel) {\n <div class=\"eui-dashboard-card__avatar-wrapper\">\n <eui-avatar\n [euiVariant]=\"baseStatesDirective.euiVariant\"\n [euiSizeVariant]=\"baseStatesDirective.euiSizeVariant\"\n [isFlat]=\"isFlatAvatar\"\n [hasNoBackground]=\"hasNoBackgroundAvatar\">\n <eui-avatar-icon>\n <eui-icon-svg *ngIf=\"iconSvgName\" [icon]=\"iconSvgName\" [size]=\"iconSvgSize\"></eui-icon-svg>\n </eui-avatar-icon>\n <eui-avatar-image *ngIf=\"imageUrl\" imageUrl=\"{{ imageUrl }}\"></eui-avatar-image>\n <eui-avatar-text *ngIf=\"iconLabel\">{{iconLabel}}</eui-avatar-text>\n </eui-avatar>\n </div>\n }\n <div class=\"eui-dashboard-card__content-wrapper\">\n @if (label) {\n <div class=\"eui-dashboard-card__label-content\">\n <eui-label>\n <eui-label class=\"eui-dashboard-card__label eui-dashboard-card__label--max-lines-{{labelMaxLines}}\" [ngClass]=\"subLabel ? 'eui-dashboard-card__label--with-sublabel' : ''\">\n {{ label }}\n </eui-label>\n @if (subLabel) {\n <eui-label euiSublabel class=\"eui-dashboard-card__sublabel eui-dashboard-card__sublabel--max-lines-{{subLabelMaxLines}}\">\n {{ subLabel }}\n </eui-label>\n }\n </eui-label>\n </div>\n }\n <div class=\"eui-dashboard-card__sub-content\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n","import { EuiDashboardCardContentComponent } from './eui-dashboard-card-content/dashboard-card-content.component';\nimport { EuiDashboardCardStatusContentComponent } from './eui-dashboard-card-status-content/dashboard-card-status-content.component';\nimport { EuiDashboardCardComponent } from './eui-dashboard-card.component';\n\nexport * from './eui-dashboard-card.component';\nexport * from './eui-dashboard-card-content/dashboard-card-content.component';\nexport * from './eui-dashboard-card-status-content/dashboard-card-status-content.component';\n\nexport const EUI_DASHBOARD_CARD_COMPONENTS = [\n EuiDashboardCardComponent,\n EuiDashboardCardContentComponent,\n EuiDashboardCardStatusContentComponent,\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA;;;;AAIG;MAMU,gCAAgC,CAAA;AAL7C,IAAA,WAAA,GAAA;;QAO0B,IAAM,CAAA,MAAA,GAAG,4BAA4B;AAC9D;8GAHY,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gCAAgC,wIAF/B,eAAe,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;;2FAEhB,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAL5C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP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wBAChC,sCAAsC;AACzC,qBAAA;AACJ,iBAAA;;;AEpMY,MAAA,6BAA6B,GAAG;IACzC,yBAAyB;IACzB,gCAAgC;IAChC,sCAAsC;;;ACX1C;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-components-eui-dashboard-card.mjs","sources":["../../eui-dashboard-card/eui-dashboard-card-content/dashboard-card-content.component.ts","../../eui-dashboard-card/eui-dashboard-card-status-content/dashboard-card-status-content.component.ts","../../eui-dashboard-card/eui-dashboard-card.component.ts","../../eui-dashboard-card/eui-dashboard-card.component.html","../../eui-dashboard-card/index.ts","../../eui-dashboard-card/eui-components-eui-dashboard-card.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\n\n/**\n * @description\n * Content container component for EuiDashboardCard.\n * Provides content projection and applies consistent styling.\n */\n@Component({\n selector: 'eui-dashboard-card-content',\n standalone: true,\n template: '<ng-content/>',\n})\nexport class EuiDashboardCardContentComponent {\n /** CSS class applied to the host element */\n @HostBinding('class') string = 'eui-dashboard-card-content';\n}\n","import { Component, HostBinding } from '@angular/core';\n\n/**\n * @description\n * Status content container component for EuiDashboardCard.\n * Provides a dedicated area for displaying status information within a dashboard card.\n */\n@Component({\n selector: 'eui-dashboard-card-status-content',\n template: '<ng-content/>',\n standalone: true,\n})\nexport class EuiDashboardCardStatusContentComponent {\n /** CSS class applied to the host element */\n @HostBinding('class') string = 'eui-dashboard-card-status-content';\n}\n","import {\n Component,\n NgModule,\n HostBinding,\n ChangeDetectionStrategy,\n OnInit,\n Input,\n HostListener,\n Output,\n EventEmitter,\n booleanAttribute,\n ContentChild,\n forwardRef,\n QueryList,\n} from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\nimport { EuiAvatarModule } from '@eui/components/eui-avatar';\nimport { EuiLabelModule } from '@eui/components/eui-label';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiDashboardCardContentComponent } from './eui-dashboard-card-content/dashboard-card-content.component';\nimport { EuiDashboardCardStatusContentComponent } from './eui-dashboard-card-status-content/dashboard-card-status-content.component';\n\n/**\n * @description\n * Dashboard card component that can display content with various styling options,\n * including avatar/icon, labels, and clickable behavior.\n */\n@Component({\n templateUrl: './eui-dashboard-card.component.html',\n selector: 'eui-dashboard-card',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: true,\n imports: [\n CommonModule,\n RouterModule,\n EuiAvatarModule,\n EuiLabelModule,\n EuiIconModule,\n ],\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiPrimary',\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiSizeXS',\n 'euiSizeS',\n 'euiSizeM',\n 'euiSizeL',\n 'euiSizeXL',\n 'euiSize2XL',\n 'euiSizeVariant',\n 'euiDisabled',\n 'euiOutline',\n ],\n },\n ],\n})\nexport class EuiDashboardCardComponent implements OnInit {\n /**\n * @description\n * Computes and returns the CSS classes for the dashboard card component based on its current state:\n * - Adds base dashboard card classes\n * - Adds horizontal layout class if isHorizontal is true\n * - Adds link class if the card is clickable or has a URL\n * - Adds flat class if isFlat is true\n *\n * @returns {string} Space-separated string of CSS class names\n */\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-dashboard-card'),\n this.isHorizontal ? 'eui-dashboard-card--horizontal' : '',\n this.url || this.urlExternal || this.isClickeable ? 'eui-dashboard-card--link': '',\n this.isFlat ? 'eui-dashboard-card--flat': '',\n ]\n .join(' ')\n .trim();\n }\n\n /** Element attribute for e2e testing */\n @HostBinding('attr.data-e2e')\n @Input() e2eAttr = 'eui-dashboard-card';\n\n /** Primary label/title of the card */\n @Input() label: string;\n\n /** Secondary label/subtitle of the card */\n @Input() subLabel: string;\n\n /**\n * Maximum number of lines for the primary label\n * @default 2\n */\n @Input() labelMaxLines: 1 | 2 | 3 | 4 | 5 = 2;\n\n /**\n * Maximum number of lines for the secondary label\n * @default 2\n */\n @Input() subLabelMaxLines: 1 | 2 | 3 | 4 | 5 = 2;\n\n /** URL for the avatar image */\n @Input() imageUrl: string;\n\n /** Name of the icon to display */\n @Input() iconSvgName: string;\n\n /**\n * Size of the icon\n * @default 'm'\n */\n @Input() iconSvgSize: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' = 'm';\n\n /** Label for the icon (accessibility) */\n @Input() iconLabel: string;\n\n /** Internal router link URL */\n @Input() url: string;\n\n /** External URL */\n @Input() urlExternal: string;\n\n /** Target attribute for external URLs */\n @Input() urlExternalTarget = '_blank';\n\n /** Tab index for keyboard navigation */\n @HostBinding('attr.tabindex')\n get tabindex(): string {\n if (!this.baseStatesDirective.euiDisabled) {\n if (this.url || this.urlExternal || this.isClickeable) {\n return '0';\n }\n }\n return '-1';\n }\n\n /** Whether to display the card in horizontal layout */\n @Input({ transform: booleanAttribute }) isHorizontal = false;\n\n /** Whether to display the avatar without elevation */\n @Input({ transform: booleanAttribute }) isFlatAvatar = false;\n\n /** Whether to display the avatar without background */\n @Input({ transform: booleanAttribute }) hasNoBackgroundAvatar = false;\n\n /** Whether the card is clickable */\n @Input({ transform: booleanAttribute }) isClickeable = false;\n\n /** Whether to display the card without elevation */\n @Input({ transform: booleanAttribute }) isFlat = false;\n\n /** Event emitted when the card is clicked */\n @Output() cardClick = new EventEmitter<MouseEvent>();\n\n /** Reference to the custom content component */\n @ContentChild(forwardRef(() => EuiDashboardCardContentComponent))\n customContent: QueryList<EuiDashboardCardContentComponent>;\n\n constructor(public baseStatesDirective: BaseStatesDirective) {}\n\n /** Handles card click events */\n @HostListener('click', ['$event'])\n onClick(event: MouseEvent): void {\n this.cardClick.emit(event);\n }\n\n /** Sets default size and variant if not provided */\n ngOnInit(): void {\n if (!this.baseStatesDirective.euiSizeVariant) {\n this.baseStatesDirective.euiSizeL = true;\n }\n if (!this.baseStatesDirective.euiVariant) {\n this.baseStatesDirective.euiSecondary = true;\n }\n }\n}\n\n/**\n * @deprecated Import the standalone {@link EUI_DASHBOARD_CARD_COMPONENTS} instead.\n * This module is maintained for backward compatibility.\n */\n@NgModule({\n imports: [\n EuiDashboardCardComponent,\n EuiDashboardCardContentComponent,\n EuiDashboardCardStatusContentComponent,\n ],\n exports: [\n EuiDashboardCardComponent,\n EuiDashboardCardContentComponent,\n EuiDashboardCardStatusContentComponent,\n ],\n})\nexport class EuiDashboardCardModule {}\n","@if (url || urlExternal) {\n @if (urlExternal) {\n <a href=\"{{ urlExternal }}\" target=\"{{ urlExternalTarget }}\" class=\"eui-dashboard-card__anchor-wrapper\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n } @else {\n <a [routerLink]=\"[url]\" class=\"eui-dashboard-card__anchor-wrapper\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n }\n} @else {\n @if (customContent) {\n <ng-content select=\"eui-dashboard-card-content\"/>\n } @else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n }\n}\n\n<div class=\"eui-dashboard-card__status\">\n <ng-content select=\"eui-dashboard-card-status-content\"/>\n</div>\n\n<ng-template #content>\n @if (iconSvgName || imageUrl || iconLabel) {\n <div class=\"eui-dashboard-card__avatar-wrapper\">\n <eui-avatar\n [euiVariant]=\"baseStatesDirective.euiVariant\"\n [euiSizeVariant]=\"baseStatesDirective.euiSizeVariant\"\n [isFlat]=\"isFlatAvatar\"\n [hasNoBackground]=\"hasNoBackgroundAvatar\">\n <eui-avatar-icon>\n <eui-icon-svg *ngIf=\"iconSvgName\" [icon]=\"iconSvgName\" [size]=\"iconSvgSize\"></eui-icon-svg>\n </eui-avatar-icon>\n <eui-avatar-image *ngIf=\"imageUrl\" imageUrl=\"{{ imageUrl }}\"></eui-avatar-image>\n <eui-avatar-text *ngIf=\"iconLabel\">{{iconLabel}}</eui-avatar-text>\n </eui-avatar>\n </div>\n }\n <div class=\"eui-dashboard-card__content-wrapper\">\n @if (label) {\n <div class=\"eui-dashboard-card__label-content\">\n <eui-label>\n <eui-label class=\"eui-dashboard-card__label eui-dashboard-card__label--max-lines-{{labelMaxLines}}\" [ngClass]=\"subLabel ? 'eui-dashboard-card__label--with-sublabel' : ''\">\n {{ label }}\n </eui-label>\n @if (subLabel) {\n <eui-label euiSublabel class=\"eui-dashboard-card__sublabel eui-dashboard-card__sublabel--max-lines-{{subLabelMaxLines}}\">\n {{ subLabel }}\n </eui-label>\n }\n </eui-label>\n </div>\n }\n <div class=\"eui-dashboard-card__sub-content\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n","import { EuiDashboardCardContentComponent } from './eui-dashboard-card-content/dashboard-card-content.component';\nimport { EuiDashboardCardStatusContentComponent } from './eui-dashboard-card-status-content/dashboard-card-status-content.component';\nimport { EuiDashboardCardComponent } from './eui-dashboard-card.component';\n\nexport * from './eui-dashboard-card.component';\nexport * from './eui-dashboard-card-content/dashboard-card-content.component';\nexport * from './eui-dashboard-card-status-content/dashboard-card-status-content.component';\n\nexport const EUI_DASHBOARD_CARD_COMPONENTS = [\n EuiDashboardCardComponent,\n EuiDashboardCardContentComponent,\n EuiDashboardCardStatusContentComponent,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA;;;;AAIG;MAMU,gCAAgC,CAAA;AAL7C,IAAA,WAAA,GAAA;;QAO0B,IAAM,CAAA,MAAA,GAAG,4BAA4B;AAC9D;8GAHY,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gCAAgC,wIAF/B,eAAe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,oBAAA,OAAO,EAAE;wBACL,yBAAyB;wBACzB,gCAAgC;wBAChC,sCAAsC;AACzC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,yBAAyB;wBACzB,gCAAgC;wBAChC,sCAAsC;AACzC,qBAAA;AACJ,iBAAA;;;AEpMY,MAAA,6BAA6B,GAAG;IACzC,yBAAyB;IACzB,gCAAgC;IAChC,sCAAsC;;;ACX1C;;AAEG;;;;"}
@@ -755,7 +755,7 @@ class EuiDatepickerComponent {
755
755
  this.hasAriaRequiredAttribute = control?.control?.hasValidator(Validators.required);
756
756
  }
757
757
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.7", 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 }], target: i0.ɵɵFactoryTarget.Component }); }
758
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.7", type: EuiDatepickerComponent, isStandalone: false, selector: "eui-datepicker", inputs: { e2eAttr: "e2eAttr", value: "value", togglerIconSvg: "togglerIconSvg", togglerLabel: "togglerLabel", placeholder: "placeholder", type: "type", startView: "startView", minDate: "minDate", maxDate: "maxDate", datepickerFilter: "datepickerFilter", dateOutputFormat: "dateOutputFormat", customHeader: "customHeader", dateClass: "dateClass", stepHours: "stepHours", stepMinutes: "stepMinutes", stepSeconds: "stepSeconds", inputId: "inputId", 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], isShownOnInputClick: ["isShownOnInputClick", "isShownOnInputClick", booleanAttribute], isClearable: "isClearable", restrictToRegex: "restrictToRegex" }, outputs: { inputChange: "inputChange", dateSelect: "dateSelect" }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr" } }, 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 }, { propertyName: "inputRef", first: true, predicate: ["input"], descendants: true, read: ElementRef }], usesOnChanges: true, hostDirectives: [{ directive: i4.BaseStatesDirective, inputs: ["euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiVariant", "euiVariant"] }], ngImport: i0, template: "<div euiInputGroup>\n <div euiInputGroupAddOn>\n <input\n #input\n euiInputText\n [id]=\"inputId\"\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 [attr.aria-required]=\"hasAriaRequiredAttribute ? 'true' : null\"\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)=\"isShownOnInputClick? openCalendar(): null\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (focusout)=\"onFocusOut()\"\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 <ng-container *ngIf=\"!togglerLabel\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\" size=\"s\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n</div>\n\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [".eui-19 .eui-datepicker{display:flex}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) .eui-input-group-addon{width:unset}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--block{width:100%}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-br-m);border-top-right-radius:var(--eui-br-m)}.eui-19 .eui-datepicker .eui-input-group{margin-bottom:0}.eui-19 .eui-datepicker--responsive,.eui-19 .eui-datepicker--responsive .eui-input-group-addon{width:100%}.eui-19 .eui-datepicker--container-height-large{height:auto!important}.eui-19 .eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-s-xs) var(--eui-s-xs) var(--eui-s-xs)}.eui-19 .eui-datepicker__actions-cancel-button{margin-right:var(--eui-s-m)}.eui-19 .mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.eui-19 .mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.eui-19 .mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:fit-content!important}.eui-19 .mat-mdc-icon-button:disabled{color:var(--eui-c-neutral-lighter)!important}.eui-19 .eui-datepicker--primary input{background-color:var(--eui-c-primary-bg)}.eui-19 .eui-datepicker--secondary input{background-color:var(--eui-c-neutral-bg-light)}.eui-19 .eui-datepicker--info input{background-color:var(--eui-c-info-bg)}.eui-19 .eui-datepicker--success input{background-color:var(--eui-c-success-bg)}.eui-19 .eui-datepicker--warning input{background-color:var(--eui-c-warning-bg)}.eui-19 .eui-datepicker--danger input{background-color:var(--eui-c-danger-bg)}.eui-19 .eui-datepicker--accent input{background-color:var(--eui-c-accent-bg)}\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", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "component", type: i9.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i10.EuiInputTextComponent, selector: "input[euiInputText]", inputs: ["isInvalid"] }, { kind: "component", type: i11.EuiInputGroupComponent, selector: "div[euiInputGroup]", inputs: ["e2eAttr"] }, { kind: "component", type: i11.EuiInputGroupAddOnComponent, selector: "div[euiInputGroupAddOn], eui-input-group-addon", inputs: ["e2eAttr"] }], encapsulation: i0.ViewEncapsulation.None }); }
758
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.7", type: EuiDatepickerComponent, isStandalone: false, selector: "eui-datepicker", inputs: { e2eAttr: "e2eAttr", value: "value", togglerIconSvg: "togglerIconSvg", togglerLabel: "togglerLabel", placeholder: "placeholder", type: "type", startView: "startView", minDate: "minDate", maxDate: "maxDate", datepickerFilter: "datepickerFilter", dateOutputFormat: "dateOutputFormat", customHeader: "customHeader", dateClass: "dateClass", stepHours: "stepHours", stepMinutes: "stepMinutes", stepSeconds: "stepSeconds", inputId: "inputId", 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], isShownOnInputClick: ["isShownOnInputClick", "isShownOnInputClick", booleanAttribute], isClearable: "isClearable", restrictToRegex: "restrictToRegex" }, outputs: { inputChange: "inputChange", dateSelect: "dateSelect" }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr" } }, 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 }, { propertyName: "inputRef", first: true, predicate: ["input"], descendants: true, read: ElementRef }], usesOnChanges: true, hostDirectives: [{ directive: i4.BaseStatesDirective, inputs: ["euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiVariant", "euiVariant"] }], ngImport: i0, template: "<div euiInputGroup>\n <div euiInputGroupAddOn>\n <input\n #input\n euiInputText\n [id]=\"inputId\"\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 [attr.aria-required]=\"hasAriaRequiredAttribute ? 'true' : null\"\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)=\"isShownOnInputClick? openCalendar(): null\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (focusout)=\"onFocusOut()\"\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 <ng-container *ngIf=\"!togglerLabel\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\" size=\"s\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n</div>\n\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [".eui-19 .eui-datepicker{display:flex}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) .eui-input-group-addon{width:unset}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--block{width:100%}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-br-m);border-top-right-radius:var(--eui-br-m)}.eui-19 .eui-datepicker .eui-input-group{margin-bottom:0}.eui-19 .eui-datepicker--responsive,.eui-19 .eui-datepicker--responsive .eui-input-group-addon{width:100%}.eui-19 .eui-datepicker--container-height-large{height:auto!important}.eui-19 .eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-s-xs) var(--eui-s-xs) var(--eui-s-xs)}.eui-19 .eui-datepicker__actions-cancel-button{margin-right:var(--eui-s-m)}.eui-19 .mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.eui-19 .mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.eui-19 .mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:fit-content!important}.eui-19 .mat-mdc-icon-button:disabled{color:var(--eui-c-neutral-lighter)!important}.eui-19 .eui-datepicker--primary input{background-color:var(--eui-c-s-primary-bg)}.eui-19 .eui-datepicker--secondary input{background-color:var(--eui-c-s-secondary)}.eui-19 .eui-datepicker--info input{background-color:var(--eui-c-s-info-bg)}.eui-19 .eui-datepicker--success input{background-color:var(--eui-c-s-success-bg)}.eui-19 .eui-datepicker--warning input{background-color:var(--eui-c-s-warning-bg)}.eui-19 .eui-datepicker--danger input{background-color:var(--eui-c-s-danger-bg)}.eui-19 .eui-datepicker--accent input{background-color:var(--eui-c-s-accent-bg)}\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", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "component", type: i9.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i10.EuiInputTextComponent, selector: "input[euiInputText]", inputs: ["isInvalid"] }, { kind: "component", type: i11.EuiInputGroupComponent, selector: "div[euiInputGroup]", inputs: ["e2eAttr"] }, { kind: "component", type: i11.EuiInputGroupAddOnComponent, selector: "div[euiInputGroupAddOn], eui-input-group-addon", inputs: ["e2eAttr"] }], encapsulation: i0.ViewEncapsulation.None }); }
759
759
  }
760
760
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImport: i0, type: EuiDatepickerComponent, decorators: [{
761
761
  type: Component,
@@ -770,7 +770,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.7", ngImpor
770
770
  'euiVariant',
771
771
  ],
772
772
  },
773
- ], template: "<div euiInputGroup>\n <div euiInputGroupAddOn>\n <input\n #input\n euiInputText\n [id]=\"inputId\"\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 [attr.aria-required]=\"hasAriaRequiredAttribute ? 'true' : null\"\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)=\"isShownOnInputClick? openCalendar(): null\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (focusout)=\"onFocusOut()\"\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 <ng-container *ngIf=\"!togglerLabel\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\" size=\"s\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n</div>\n\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [".eui-19 .eui-datepicker{display:flex}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) .eui-input-group-addon{width:unset}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--block{width:100%}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-br-m);border-top-right-radius:var(--eui-br-m)}.eui-19 .eui-datepicker .eui-input-group{margin-bottom:0}.eui-19 .eui-datepicker--responsive,.eui-19 .eui-datepicker--responsive .eui-input-group-addon{width:100%}.eui-19 .eui-datepicker--container-height-large{height:auto!important}.eui-19 .eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-s-xs) var(--eui-s-xs) var(--eui-s-xs)}.eui-19 .eui-datepicker__actions-cancel-button{margin-right:var(--eui-s-m)}.eui-19 .mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.eui-19 .mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.eui-19 .mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:fit-content!important}.eui-19 .mat-mdc-icon-button:disabled{color:var(--eui-c-neutral-lighter)!important}.eui-19 .eui-datepicker--primary input{background-color:var(--eui-c-primary-bg)}.eui-19 .eui-datepicker--secondary input{background-color:var(--eui-c-neutral-bg-light)}.eui-19 .eui-datepicker--info input{background-color:var(--eui-c-info-bg)}.eui-19 .eui-datepicker--success input{background-color:var(--eui-c-success-bg)}.eui-19 .eui-datepicker--warning input{background-color:var(--eui-c-warning-bg)}.eui-19 .eui-datepicker--danger input{background-color:var(--eui-c-danger-bg)}.eui-19 .eui-datepicker--accent input{background-color:var(--eui-c-accent-bg)}\n"] }]
773
+ ], template: "<div euiInputGroup>\n <div euiInputGroupAddOn>\n <input\n #input\n euiInputText\n [id]=\"inputId\"\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 [attr.aria-required]=\"hasAriaRequiredAttribute ? 'true' : null\"\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)=\"isShownOnInputClick? openCalendar(): null\"\n autocomplete=\"off\"\n aria-label=\"Date Input Field\"\n (keypress)=\"onKeypress($event)\"\n (focusout)=\"onFocusOut()\"\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 <ng-container *ngIf=\"!togglerLabel\">\n <eui-icon-svg icon=\"{{ togglerIconSvg }}\" aria-label=\"Open Calendar\" size=\"s\"></eui-icon-svg>\n </ng-container>\n <span *ngIf=\"togglerLabel\">{{ togglerLabel }}</span>\n </button>\n </div>\n</div>\n\n\n<ng-template #templatePortalRef>\n <ng-content select=\"eui-action-buttons\"></ng-content>\n</ng-template>\n", styles: [".eui-19 .eui-datepicker{display:flex}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) .eui-input-group-addon{width:unset}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input{border-bottom-right-radius:0;border-top-right-radius:0;width:calc(8.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-input-text--clearable{width:calc(9 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--long-format{width:calc(12.5 * var(--eui-s-m))}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--block{width:100%}.eui-19 .eui-datepicker:not(.eui-datepicker--responsive) input.eui-datepicker--no-button{border-bottom-right-radius:var(--eui-br-m);border-top-right-radius:var(--eui-br-m)}.eui-19 .eui-datepicker .eui-input-group{margin-bottom:0}.eui-19 .eui-datepicker--responsive,.eui-19 .eui-datepicker--responsive .eui-input-group-addon{width:100%}.eui-19 .eui-datepicker--container-height-large{height:auto!important}.eui-19 .eui-datepicker__action-buttons{display:flex;justify-content:flex-end;align-items:center;padding:0 var(--eui-s-xs) var(--eui-s-xs) var(--eui-s-xs)}.eui-19 .eui-datepicker__actions-cancel-button{margin-right:var(--eui-s-m)}.eui-19 .mat-calendar.mat-calendar-year .mat-calendar-period-button{display:none}.eui-19 .mat-datepicker-dialog .mat-datepicker-content-touch{max-height:none}.eui-19 .mat-datepicker-content-touch .mat-datepicker-content-container{height:auto!important;max-height:fit-content!important}.eui-19 .mat-mdc-icon-button:disabled{color:var(--eui-c-neutral-lighter)!important}.eui-19 .eui-datepicker--primary input{background-color:var(--eui-c-s-primary-bg)}.eui-19 .eui-datepicker--secondary input{background-color:var(--eui-c-s-secondary)}.eui-19 .eui-datepicker--info input{background-color:var(--eui-c-s-info-bg)}.eui-19 .eui-datepicker--success input{background-color:var(--eui-c-s-success-bg)}.eui-19 .eui-datepicker--warning input{background-color:var(--eui-c-s-warning-bg)}.eui-19 .eui-datepicker--danger input{background-color:var(--eui-c-s-danger-bg)}.eui-19 .eui-datepicker--accent input{background-color:var(--eui-c-s-accent-bg)}\n"] }]
774
774
  }], 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: [{
775
775
  type: Optional
776
776
  }, {