@eui/components 18.0.0-next.6 → 18.0.0-next.7

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 (57) hide show
  1. package/docs/components/EuiCommonHeaderComponent.html +1 -1
  2. package/docs/components/EuiExpandContentComponent.html +1 -1
  3. package/docs/dependencies.html +2 -2
  4. package/docs/js/menu-wc.js +6 -6
  5. package/docs/js/menu-wc_es5.js +1 -1
  6. package/docs/js/search/search_index.js +2 -2
  7. package/docs/modules/EuiCommonHeaderModule.html +0 -10
  8. package/docs/modules/EuiExpandContentModule.html +0 -10
  9. package/esm2022/eui-icon/eui-icon-svg.component.mjs +2 -2
  10. package/esm2022/eui-icon/eui-icon.component.mjs +2 -2
  11. package/esm2022/eui-input-checkbox/eui-input-checkbox.component.mjs +2 -2
  12. package/esm2022/eui-input-radio/eui-input-radio.component.mjs +2 -2
  13. package/esm2022/index.mjs +2 -2
  14. package/esm2022/layout/eui-app/eui-app-top-message/top-message.component.mjs +2 -2
  15. package/esm2022/shared/eui-common-header/common-header.component.mjs +10 -8
  16. package/esm2022/shared/eui-expand-content/eui-expand-content.component.mjs +11 -8
  17. package/esm2022/shared/index.mjs +2 -2
  18. package/esm2022/shared/input.directive.mjs +2 -2
  19. package/eui-icon/eui-icon-svg.component.d.ts +1 -1
  20. package/eui-icon/eui-icon-svg.component.d.ts.map +1 -1
  21. package/eui-icon/eui-icon.component.d.ts +1 -1
  22. package/eui-icon/eui-icon.component.d.ts.map +1 -1
  23. package/fesm2022/eui-components-eui-icon.mjs +2 -2
  24. package/fesm2022/eui-components-eui-icon.mjs.map +1 -1
  25. package/fesm2022/eui-components-eui-input-checkbox.mjs +2 -4
  26. package/fesm2022/eui-components-eui-input-checkbox.mjs.map +1 -1
  27. package/fesm2022/eui-components-eui-input-radio.mjs +2 -4
  28. package/fesm2022/eui-components-eui-input-radio.mjs.map +1 -1
  29. package/fesm2022/eui-components-layout.mjs +1 -1
  30. package/fesm2022/eui-components-layout.mjs.map +1 -1
  31. package/fesm2022/eui-components-shared.mjs +1242 -82
  32. package/fesm2022/eui-components-shared.mjs.map +4 -4
  33. package/fesm2022/eui-components.mjs +353 -22
  34. package/fesm2022/eui-components.mjs.map +3 -3
  35. package/index.d.ts +1 -1
  36. package/index.d.ts.map +1 -1
  37. package/layout/eui-app/eui-app-top-message/top-message.component.d.ts +1 -1
  38. package/layout/eui-app/eui-app-top-message/top-message.component.d.ts.map +1 -1
  39. package/package.json +3 -15
  40. package/shared/eui-common-header/common-header.component.d.ts +1 -2
  41. package/shared/eui-common-header/common-header.component.d.ts.map +1 -1
  42. package/shared/eui-expand-content/eui-expand-content.component.d.ts +1 -2
  43. package/shared/eui-expand-content/eui-expand-content.component.d.ts.map +1 -1
  44. package/shared/index.d.ts +1 -1
  45. package/shared/index.d.ts.map +1 -1
  46. package/shared/input.directive.d.ts +1 -1
  47. package/shared/input.directive.d.ts.map +1 -1
  48. package/esm2022/eui-all/eui-components-eui-all.mjs +0 -5
  49. package/esm2022/shared/base/eui-components-shared-base.mjs +0 -5
  50. package/eui-all/eui-components-eui-all.d.ts.map +0 -1
  51. package/eui-all/package.json +0 -3
  52. package/fesm2022/eui-components-eui-all.mjs +0 -356
  53. package/fesm2022/eui-components-eui-all.mjs.map +0 -7
  54. package/fesm2022/eui-components-shared-base.mjs +0 -1208
  55. package/fesm2022/eui-components-shared-base.mjs.map +0 -7
  56. package/shared/base/eui-components-shared-base.d.ts.map +0 -1
  57. package/shared/base/package.json +0 -3
@@ -1,49 +1,9 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
-
19
- // eui-components-shared.mjs
20
- var eui_components_shared_exports = {};
21
- __export(eui_components_shared_exports, {
22
- EuiCommonHeaderComponent: () => EuiCommonHeaderComponent,
23
- EuiCommonHeaderModule: () => EuiCommonHeaderModule,
24
- EuiExpandContentComponent: () => EuiExpandContentComponent,
25
- EuiExpandContentModule: () => EuiExpandContentModule,
26
- InputDirective: () => InputDirective
27
- });
28
-
29
- // index.mjs
30
- var shared_exports = {};
31
- __export(shared_exports, {
32
- EuiCommonHeaderComponent: () => EuiCommonHeaderComponent,
33
- EuiCommonHeaderModule: () => EuiCommonHeaderModule,
34
- EuiExpandContentComponent: () => EuiExpandContentComponent,
35
- EuiExpandContentModule: () => EuiExpandContentModule,
36
- InputDirective: () => InputDirective
37
- });
38
-
39
1
  // eui-expand-content/eui-expand-content.component.mjs
40
2
  import { coerceBooleanProperty } from "@angular/cdk/coercion";
41
3
  import { CommonModule } from "@angular/common";
42
4
  import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, NgModule, Output, ViewEncapsulation } from "@angular/core";
43
- import { EuiIconModule } from "@eui/components/eui-icon";
44
5
  import * as i0 from "@angular/core";
45
6
  import * as i1 from "@angular/common";
46
- import * as i2 from "@eui/components/eui-icon";
47
7
  var EuiExpandContentComponent = class _EuiExpandContentComponent {
48
8
  constructor() {
49
9
  this.expandLabel = "";
@@ -68,12 +28,12 @@ var EuiExpandContentComponent = class _EuiExpandContentComponent {
68
28
  this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i0, type: _EuiExpandContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
69
29
  }
70
30
  static {
71
- this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.2", type: _EuiExpandContentComponent, selector: "eui-expand-content", inputs: { isCollapsed: "isCollapsed", expandLabel: "expandLabel", collapseLabel: "collapseLabel" }, outputs: { collapsed: "collapsed" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: '<div *ngIf="!isCollapsed" class="eui-expand-content__body">\n <ng-content></ng-content>\n</div>\n<div\n class="eui-button__expand-trigger"\n [class.eui-button__expand-trigger--collapsed]="isCollapsed"\n role="document"\n (click)="onToggle()"\n aria-label="Expand / Collapse trigger">\n <button type="button" *ngIf="isCollapsed" class="eui-button eui-button--expand-toggle" aria-label="Expand">\n <span *ngIf="expandLabel" class="eui-label eui-u-color-grey-dark eui-u-mr-xs">{{ expandLabel }}</span>\n <eui-icon-svg icon="eui-chevron-down"></eui-icon-svg>\n </button>\n <button type="button" *ngIf="!isCollapsed" class="eui-button eui-button--expand-toggle" aria-label="Collapse">\n <span *ngIf="collapseLabel" class="eui-label eui-u-color-grey-dark eui-u-mr-xs">{{ collapseLabel }}</span>\n <eui-icon-svg icon="eui-chevron-up"></eui-icon-svg>\n </button>\n</div>\n', styles: [".eui-expand-content{display:flex;flex-direction:column;position:relative;width:100%}.eui-expand-content__body{display:flex;padding-top:var(--eui-base-spacing-m);width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "size", "fillColor", "set", "ariaLabelledby", "role", "style", "iconUrl", "transform", "aria-label", "ariaHidden", "focusable", "isLoading"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
31
+ this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.2", type: _EuiExpandContentComponent, selector: "eui-expand-content", inputs: { isCollapsed: "isCollapsed", expandLabel: "expandLabel", collapseLabel: "collapseLabel" }, outputs: { collapsed: "collapsed" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: '<div *ngIf="!isCollapsed" class="eui-expand-content__body">\n <ng-content></ng-content>\n</div>\n<div\n class="eui-button__expand-trigger"\n [class.eui-button__expand-trigger--collapsed]="isCollapsed"\n role="document"\n (click)="onToggle()"\n aria-label="Expand / Collapse trigger">\n <button type="button" *ngIf="isCollapsed" class="eui-button eui-button--expand-toggle" aria-label="Expand">\n <span *ngIf="expandLabel" class="eui-label eui-u-color-grey-dark eui-u-mr-xs">{{ expandLabel }}</span>\n <!-- <eui-icon-svg icon="eui-chevron-down"></eui-icon-svg> -->\n </button>\n <button type="button" *ngIf="!isCollapsed" class="eui-button eui-button--expand-toggle" aria-label="Collapse">\n <span *ngIf="collapseLabel" class="eui-label eui-u-color-grey-dark eui-u-mr-xs">{{ collapseLabel }}</span>\n <!-- <eui-icon-svg icon="eui-chevron-up"></eui-icon-svg> -->\n </button>\n</div>\n', styles: [".eui-expand-content{display:flex;flex-direction:column;position:relative;width:100%}.eui-expand-content__body{display:flex;padding-top:var(--eui-base-spacing-m);width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
72
32
  }
73
33
  };
74
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i0, type: EuiExpandContentComponent, decorators: [{
75
35
  type: Component,
76
- args: [{ selector: "eui-expand-content", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<div *ngIf="!isCollapsed" class="eui-expand-content__body">\n <ng-content></ng-content>\n</div>\n<div\n class="eui-button__expand-trigger"\n [class.eui-button__expand-trigger--collapsed]="isCollapsed"\n role="document"\n (click)="onToggle()"\n aria-label="Expand / Collapse trigger">\n <button type="button" *ngIf="isCollapsed" class="eui-button eui-button--expand-toggle" aria-label="Expand">\n <span *ngIf="expandLabel" class="eui-label eui-u-color-grey-dark eui-u-mr-xs">{{ expandLabel }}</span>\n <eui-icon-svg icon="eui-chevron-down"></eui-icon-svg>\n </button>\n <button type="button" *ngIf="!isCollapsed" class="eui-button eui-button--expand-toggle" aria-label="Collapse">\n <span *ngIf="collapseLabel" class="eui-label eui-u-color-grey-dark eui-u-mr-xs">{{ collapseLabel }}</span>\n <eui-icon-svg icon="eui-chevron-up"></eui-icon-svg>\n </button>\n</div>\n', styles: [".eui-expand-content{display:flex;flex-direction:column;position:relative;width:100%}.eui-expand-content__body{display:flex;padding-top:var(--eui-base-spacing-m);width:100%}\n"] }]
36
+ args: [{ selector: "eui-expand-content", changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<div *ngIf="!isCollapsed" class="eui-expand-content__body">\n <ng-content></ng-content>\n</div>\n<div\n class="eui-button__expand-trigger"\n [class.eui-button__expand-trigger--collapsed]="isCollapsed"\n role="document"\n (click)="onToggle()"\n aria-label="Expand / Collapse trigger">\n <button type="button" *ngIf="isCollapsed" class="eui-button eui-button--expand-toggle" aria-label="Expand">\n <span *ngIf="expandLabel" class="eui-label eui-u-color-grey-dark eui-u-mr-xs">{{ expandLabel }}</span>\n <!-- <eui-icon-svg icon="eui-chevron-down"></eui-icon-svg> -->\n </button>\n <button type="button" *ngIf="!isCollapsed" class="eui-button eui-button--expand-toggle" aria-label="Collapse">\n <span *ngIf="collapseLabel" class="eui-label eui-u-color-grey-dark eui-u-mr-xs">{{ collapseLabel }}</span>\n <!-- <eui-icon-svg icon="eui-chevron-up"></eui-icon-svg> -->\n </button>\n</div>\n', styles: [".eui-expand-content{display:flex;flex-direction:column;position:relative;width:100%}.eui-expand-content__body{display:flex;padding-top:var(--eui-base-spacing-m);width:100%}\n"] }]
77
37
  }], propDecorators: { cssClasses: [{
78
38
  type: HostBinding,
79
39
  args: ["class"]
@@ -91,16 +51,18 @@ var EuiExpandContentModule = class _EuiExpandContentModule {
91
51
  this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i0, type: _EuiExpandContentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
92
52
  }
93
53
  static {
94
- this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.2", ngImport: i0, type: _EuiExpandContentModule, declarations: [EuiExpandContentComponent], imports: [CommonModule, EuiIconModule], exports: [EuiExpandContentComponent] });
54
+ this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.2", ngImport: i0, type: _EuiExpandContentModule, declarations: [EuiExpandContentComponent], imports: [CommonModule], exports: [EuiExpandContentComponent] });
95
55
  }
96
56
  static {
97
- this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i0, type: _EuiExpandContentModule, imports: [CommonModule, EuiIconModule] });
57
+ this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i0, type: _EuiExpandContentModule, imports: [CommonModule] });
98
58
  }
99
59
  };
100
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i0, type: EuiExpandContentModule, decorators: [{
101
61
  type: NgModule,
102
62
  args: [{
103
- imports: [CommonModule, EuiIconModule],
63
+ // TODO v18
64
+ // imports: [CommonModule, EuiIconModule],
65
+ imports: [CommonModule],
104
66
  declarations: [EuiExpandContentComponent],
105
67
  exports: [EuiExpandContentComponent]
106
68
  }]
@@ -110,10 +72,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2",
110
72
  import { coerceBooleanProperty as coerceBooleanProperty2 } from "@angular/cdk/coercion";
111
73
  import { CommonModule as CommonModule2 } from "@angular/common";
112
74
  import { NgModule as NgModule2, Component as Component2, ChangeDetectionStrategy as ChangeDetectionStrategy3, HostBinding as HostBinding2, ViewEncapsulation as ViewEncapsulation3, Input as Input2 } from "@angular/core";
113
- import { EuiTooltipDirectiveModule } from "@eui/components/directives";
114
75
  import * as i02 from "@angular/core";
115
76
  import * as i12 from "@angular/common";
116
- import * as i22 from "@eui/components/directives";
117
77
  var EuiCommonHeaderComponent = class _EuiCommonHeaderComponent {
118
78
  constructor() {
119
79
  this._isHighlighted = false;
@@ -138,12 +98,12 @@ var EuiCommonHeaderComponent = class _EuiCommonHeaderComponent {
138
98
  this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i02, type: _EuiCommonHeaderComponent, deps: [], target: i02.ɵɵFactoryTarget.Component });
139
99
  }
140
100
  static {
141
- this.ɵcmp = i02.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.2", type: _EuiCommonHeaderComponent, selector: "eui-common-header", inputs: { label: "label", subLabel: "subLabel", labelTooltip: "labelTooltip", subLabelTooltip: "subLabelTooltip", isHighlighted: "isHighlighted", isCollapsed: "isCollapsed" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i02, template: '<div class="eui-common-header__label">\n <div class="eui-common-header__label-text" role="heading" aria-level="1" attr.aria-label="{{ label }}" [euiTooltip]="labelTooltip ? labelTooltip : null">{{ label }}</div>\n <div class="eui-common-header__actions">\n <ng-content></ng-content>\n </div>\n</div>\n<div\n *ngIf="subLabel"\n class="eui-common-header__sub-label"\n role="heading"\n aria-level="2"\n [class.eui-common-header__sub-label--collapsed]="isCollapsed"\n attr.aria-label="{{ subLabel }}"\n [euiTooltip]="subLabelTooltip ? subLabelTooltip : null">\n <div class="eui-common-header__sub-label-text">{{ subLabel }}</div>\n</div>\n', styles: [".eui-common-header{display:flex;flex-direction:column;width:100%}.eui-common-header__label{align-items:center;display:flex;font-size:var(--eui-base-font-size-3xl);justify-content:space-between;width:100%}.eui-common-header__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-common-header__sub-label{align-items:center;color:var(--eui-base-color-grey-90);display:flex;justify-content:space-between;padding-top:var(--eui-base-spacing-2xs);width:100%;font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family)}.eui-common-header__sub-label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-common-header__actions{display:flex;flex:1 0 auto;justify-content:flex-end;margin-left:var(--eui-base-spacing-s)}.eui-common-header__body{display:flex;padding:var(--eui-base-spacing-m);transition:all .5s;width:100%}.eui-common-header__expand-trigger{bottom:calc(-1 * var(--eui-base-spacing-xs));left:0;position:absolute;text-align:center;width:100%}.eui-common-header__expand-trigger-toggle{background:var(--eui-base-color-white);border-bottom:2px solid #9a9a9a;border-radius:50%;cursor:pointer;font-size:1.25rem;padding:.125rem .5rem}.eui-common-header__expand-trigger-toggle:hover,.eui-common-header__expand-trigger-toggle:focus{color:var(--eui-base-color-primary-100);box-shadow:var(--eui-base-shadow-2)}@media screen and (max-width: 767px){.eui-common-header__label-text,.eui-common-header__sub-label-text{white-space:normal!important}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-common-header__label-text,.eui-common-header__sub-label-text{white-space:normal!important}}.eui-common-header--collapsed .eui-common-header__body{transition:all .5s}\n"], dependencies: [{ kind: "directive", type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i22.EuiTooltipDirective, selector: "[euiTooltip]", inputs: ["e2eAttr", "showDelay", "hideDelay", "contentAlignment", "position", "isDisabled", "euiTooltip", "euiTooltipPrimary", "euiTooltipSecondary", "euiTooltipInfo", "euiTooltipSuccess", "euiTooltipWarning", "euiTooltipDanger", "euiTooltipAccent"], exportAs: ["euiTooltip"] }], changeDetection: i02.ChangeDetectionStrategy.OnPush, encapsulation: i02.ViewEncapsulation.None });
101
+ this.ɵcmp = i02.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-next.2", type: _EuiCommonHeaderComponent, selector: "eui-common-header", inputs: { label: "label", subLabel: "subLabel", labelTooltip: "labelTooltip", subLabelTooltip: "subLabelTooltip", isHighlighted: "isHighlighted", isCollapsed: "isCollapsed" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i02, template: '<div class="eui-common-header__label">\n <div class="eui-common-header__label-text" role="heading" aria-level="1" attr.aria-label="{{ label }}">{{ label }}</div>\n <div class="eui-common-header__actions">\n <ng-content></ng-content>\n </div>\n</div>\n<div\n *ngIf="subLabel"\n class="eui-common-header__sub-label"\n role="heading"\n aria-level="2"\n [class.eui-common-header__sub-label--collapsed]="isCollapsed"\n attr.aria-label="{{ subLabel }}">\n <div class="eui-common-header__sub-label-text">{{ subLabel }}</div>\n</div>\n<!-- TODO v18\n<div class="eui-common-header__label">\n <div class="eui-common-header__label-text" role="heading" aria-level="1" attr.aria-label="{{ label }}" [euiTooltip]="labelTooltip ? labelTooltip : null">{{ label }}</div>\n <div class="eui-common-header__actions">\n <ng-content></ng-content>\n </div>\n</div>\n<div\n *ngIf="subLabel"\n class="eui-common-header__sub-label"\n role="heading"\n aria-level="2"\n [class.eui-common-header__sub-label--collapsed]="isCollapsed"\n attr.aria-label="{{ subLabel }}"\n [euiTooltip]="subLabelTooltip ? subLabelTooltip : null">\n <div class="eui-common-header__sub-label-text">{{ subLabel }}</div>\n</div> -->\n', styles: [".eui-common-header{display:flex;flex-direction:column;width:100%}.eui-common-header__label{align-items:center;display:flex;font-size:var(--eui-base-font-size-3xl);justify-content:space-between;width:100%}.eui-common-header__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-common-header__sub-label{align-items:center;color:var(--eui-base-color-grey-90);display:flex;justify-content:space-between;padding-top:var(--eui-base-spacing-2xs);width:100%;font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family)}.eui-common-header__sub-label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-common-header__actions{display:flex;flex:1 0 auto;justify-content:flex-end;margin-left:var(--eui-base-spacing-s)}.eui-common-header__body{display:flex;padding:var(--eui-base-spacing-m);transition:all .5s;width:100%}.eui-common-header__expand-trigger{bottom:calc(-1 * var(--eui-base-spacing-xs));left:0;position:absolute;text-align:center;width:100%}.eui-common-header__expand-trigger-toggle{background:var(--eui-base-color-white);border-bottom:2px solid #9a9a9a;border-radius:50%;cursor:pointer;font-size:1.25rem;padding:.125rem .5rem}.eui-common-header__expand-trigger-toggle:hover,.eui-common-header__expand-trigger-toggle:focus{color:var(--eui-base-color-primary-100);box-shadow:var(--eui-base-shadow-2)}@media screen and (max-width: 767px){.eui-common-header__label-text,.eui-common-header__sub-label-text{white-space:normal!important}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-common-header__label-text,.eui-common-header__sub-label-text{white-space:normal!important}}.eui-common-header--collapsed .eui-common-header__body{transition:all .5s}\n"], dependencies: [{ kind: "directive", type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i02.ChangeDetectionStrategy.OnPush, encapsulation: i02.ViewEncapsulation.None });
142
102
  }
143
103
  };
144
104
  i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i02, type: EuiCommonHeaderComponent, decorators: [{
145
105
  type: Component2,
146
- args: [{ selector: "eui-common-header", changeDetection: ChangeDetectionStrategy3.OnPush, encapsulation: ViewEncapsulation3.None, template: '<div class="eui-common-header__label">\n <div class="eui-common-header__label-text" role="heading" aria-level="1" attr.aria-label="{{ label }}" [euiTooltip]="labelTooltip ? labelTooltip : null">{{ label }}</div>\n <div class="eui-common-header__actions">\n <ng-content></ng-content>\n </div>\n</div>\n<div\n *ngIf="subLabel"\n class="eui-common-header__sub-label"\n role="heading"\n aria-level="2"\n [class.eui-common-header__sub-label--collapsed]="isCollapsed"\n attr.aria-label="{{ subLabel }}"\n [euiTooltip]="subLabelTooltip ? subLabelTooltip : null">\n <div class="eui-common-header__sub-label-text">{{ subLabel }}</div>\n</div>\n', styles: [".eui-common-header{display:flex;flex-direction:column;width:100%}.eui-common-header__label{align-items:center;display:flex;font-size:var(--eui-base-font-size-3xl);justify-content:space-between;width:100%}.eui-common-header__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-common-header__sub-label{align-items:center;color:var(--eui-base-color-grey-90);display:flex;justify-content:space-between;padding-top:var(--eui-base-spacing-2xs);width:100%;font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family)}.eui-common-header__sub-label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-common-header__actions{display:flex;flex:1 0 auto;justify-content:flex-end;margin-left:var(--eui-base-spacing-s)}.eui-common-header__body{display:flex;padding:var(--eui-base-spacing-m);transition:all .5s;width:100%}.eui-common-header__expand-trigger{bottom:calc(-1 * var(--eui-base-spacing-xs));left:0;position:absolute;text-align:center;width:100%}.eui-common-header__expand-trigger-toggle{background:var(--eui-base-color-white);border-bottom:2px solid #9a9a9a;border-radius:50%;cursor:pointer;font-size:1.25rem;padding:.125rem .5rem}.eui-common-header__expand-trigger-toggle:hover,.eui-common-header__expand-trigger-toggle:focus{color:var(--eui-base-color-primary-100);box-shadow:var(--eui-base-shadow-2)}@media screen and (max-width: 767px){.eui-common-header__label-text,.eui-common-header__sub-label-text{white-space:normal!important}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-common-header__label-text,.eui-common-header__sub-label-text{white-space:normal!important}}.eui-common-header--collapsed .eui-common-header__body{transition:all .5s}\n"] }]
106
+ args: [{ selector: "eui-common-header", changeDetection: ChangeDetectionStrategy3.OnPush, encapsulation: ViewEncapsulation3.None, template: '<div class="eui-common-header__label">\n <div class="eui-common-header__label-text" role="heading" aria-level="1" attr.aria-label="{{ label }}">{{ label }}</div>\n <div class="eui-common-header__actions">\n <ng-content></ng-content>\n </div>\n</div>\n<div\n *ngIf="subLabel"\n class="eui-common-header__sub-label"\n role="heading"\n aria-level="2"\n [class.eui-common-header__sub-label--collapsed]="isCollapsed"\n attr.aria-label="{{ subLabel }}">\n <div class="eui-common-header__sub-label-text">{{ subLabel }}</div>\n</div>\n<!-- TODO v18\n<div class="eui-common-header__label">\n <div class="eui-common-header__label-text" role="heading" aria-level="1" attr.aria-label="{{ label }}" [euiTooltip]="labelTooltip ? labelTooltip : null">{{ label }}</div>\n <div class="eui-common-header__actions">\n <ng-content></ng-content>\n </div>\n</div>\n<div\n *ngIf="subLabel"\n class="eui-common-header__sub-label"\n role="heading"\n aria-level="2"\n [class.eui-common-header__sub-label--collapsed]="isCollapsed"\n attr.aria-label="{{ subLabel }}"\n [euiTooltip]="subLabelTooltip ? subLabelTooltip : null">\n <div class="eui-common-header__sub-label-text">{{ subLabel }}</div>\n</div> -->\n', styles: [".eui-common-header{display:flex;flex-direction:column;width:100%}.eui-common-header__label{align-items:center;display:flex;font-size:var(--eui-base-font-size-3xl);justify-content:space-between;width:100%}.eui-common-header__label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-common-header__sub-label{align-items:center;color:var(--eui-base-color-grey-90);display:flex;justify-content:space-between;padding-top:var(--eui-base-spacing-2xs);width:100%;font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family)}.eui-common-header__sub-label-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eui-common-header__actions{display:flex;flex:1 0 auto;justify-content:flex-end;margin-left:var(--eui-base-spacing-s)}.eui-common-header__body{display:flex;padding:var(--eui-base-spacing-m);transition:all .5s;width:100%}.eui-common-header__expand-trigger{bottom:calc(-1 * var(--eui-base-spacing-xs));left:0;position:absolute;text-align:center;width:100%}.eui-common-header__expand-trigger-toggle{background:var(--eui-base-color-white);border-bottom:2px solid #9a9a9a;border-radius:50%;cursor:pointer;font-size:1.25rem;padding:.125rem .5rem}.eui-common-header__expand-trigger-toggle:hover,.eui-common-header__expand-trigger-toggle:focus{color:var(--eui-base-color-primary-100);box-shadow:var(--eui-base-shadow-2)}@media screen and (max-width: 767px){.eui-common-header__label-text,.eui-common-header__sub-label-text{white-space:normal!important}}@media screen and (min-width: 768px) and (max-width: 995px){.eui-common-header__label-text,.eui-common-header__sub-label-text{white-space:normal!important}}.eui-common-header--collapsed .eui-common-header__body{transition:all .5s}\n"] }]
147
107
  }], propDecorators: { cssClasses: [{
148
108
  type: HostBinding2,
149
109
  args: ["class"]
@@ -165,41 +125,1218 @@ var EuiCommonHeaderModule = class _EuiCommonHeaderModule {
165
125
  this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i02, type: _EuiCommonHeaderModule, deps: [], target: i02.ɵɵFactoryTarget.NgModule });
166
126
  }
167
127
  static {
168
- this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.2", ngImport: i02, type: _EuiCommonHeaderModule, declarations: [EuiCommonHeaderComponent], imports: [CommonModule2, EuiTooltipDirectiveModule], exports: [EuiCommonHeaderComponent] });
128
+ this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.2", ngImport: i02, type: _EuiCommonHeaderModule, declarations: [EuiCommonHeaderComponent], imports: [CommonModule2], exports: [EuiCommonHeaderComponent] });
169
129
  }
170
130
  static {
171
- this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i02, type: _EuiCommonHeaderModule, imports: [CommonModule2, EuiTooltipDirectiveModule] });
131
+ this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i02, type: _EuiCommonHeaderModule, imports: [CommonModule2] });
172
132
  }
173
133
  };
174
134
  i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i02, type: EuiCommonHeaderModule, decorators: [{
175
135
  type: NgModule2,
176
136
  args: [{
177
- imports: [CommonModule2, EuiTooltipDirectiveModule],
137
+ // TODO v18
138
+ // imports: [CommonModule, EuiTooltipDirectiveModule],
139
+ imports: [CommonModule2],
178
140
  declarations: [EuiCommonHeaderComponent],
179
141
  exports: [EuiCommonHeaderComponent]
180
142
  }]
181
143
  }] });
182
144
 
183
- // input.directive.mjs
184
- import { Directive, HostBinding as HostBinding3, Input as Input3, ViewContainerRef } from "@angular/core";
185
- import { FormControlDirective, FormControlName, FormGroupDirective, NgControl } from "@angular/forms";
145
+ // base/mixins/typeclass/eui-primary.mixin.mjs
186
146
  import { coerceBooleanProperty as coerceBooleanProperty3 } from "@angular/cdk/coercion";
187
- import { mixinEuiDisabled, mixinEuiDanger } from "@eui/components/shared/base";
147
+ function mixinEuiPrimary(base = class {
148
+ }) {
149
+ class Mixin extends base {
150
+ /** Whether the euiPrimary is disabled or not. */
151
+ get euiPrimary() {
152
+ return this._euiPrimary;
153
+ }
154
+ set euiPrimary(value) {
155
+ this._euiPrimary = coerceBooleanProperty3(value);
156
+ }
157
+ constructor(...args) {
158
+ super(...args);
159
+ this._euiPrimary = false;
160
+ }
161
+ getCssClasses(rootClass = "") {
162
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiPrimary ? `${rootClass}--primary` : ""].join(" ").trim();
163
+ }
164
+ }
165
+ return Mixin;
166
+ }
167
+
168
+ // base/mixins/typeclass/eui-secondary.mixin.mjs
169
+ import { coerceBooleanProperty as coerceBooleanProperty4 } from "@angular/cdk/coercion";
170
+ var mixinEuiSecondary = (base = class {
171
+ }) => {
172
+ class Mixin extends base {
173
+ /** Whether the EuiSecondary is disabled or not. */
174
+ get euiSecondary() {
175
+ return this._euiSecondary;
176
+ }
177
+ set euiSecondary(value) {
178
+ this._euiSecondary = coerceBooleanProperty4(value);
179
+ }
180
+ constructor(...args) {
181
+ super(...args);
182
+ this._euiSecondary = false;
183
+ }
184
+ getCssClasses(rootClass = "") {
185
+ return [
186
+ super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
187
+ this._euiSecondary ? `${rootClass}--secondary` : ""
188
+ ].join(" ").trim();
189
+ }
190
+ }
191
+ return Mixin;
192
+ };
193
+
194
+ // base/mixins/typeclass/eui-info.mixin.mjs
195
+ import { coerceBooleanProperty as coerceBooleanProperty5 } from "@angular/cdk/coercion";
196
+ function mixinEuiInfo(base = class {
197
+ }) {
198
+ class Mixin extends base {
199
+ /** Whether the EuiInfo is disabled or not. */
200
+ get euiInfo() {
201
+ return this._euiInfo;
202
+ }
203
+ set euiInfo(value) {
204
+ this._euiInfo = coerceBooleanProperty5(value);
205
+ }
206
+ constructor(...args) {
207
+ super(...args);
208
+ this._euiInfo = false;
209
+ }
210
+ getCssClasses(rootClass = "") {
211
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiInfo ? `${rootClass}--info` : ""].join(" ").trim();
212
+ }
213
+ }
214
+ return Mixin;
215
+ }
216
+
217
+ // base/mixins/typeclass/eui-success.mixin.mjs
218
+ import { coerceBooleanProperty as coerceBooleanProperty6 } from "@angular/cdk/coercion";
219
+ var mixinEuiSuccess = (base = class {
220
+ }) => {
221
+ class Mixin extends base {
222
+ /** Whether the EuiSuccess is disabled or not. */
223
+ get euiSuccess() {
224
+ return this._euiSuccess;
225
+ }
226
+ set euiSuccess(value) {
227
+ this._euiSuccess = coerceBooleanProperty6(value);
228
+ }
229
+ constructor(...args) {
230
+ super(...args);
231
+ this._euiSuccess = false;
232
+ }
233
+ getCssClasses(rootClass = "") {
234
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiSuccess ? `${rootClass}--success` : ""].join(" ").trim();
235
+ }
236
+ }
237
+ return Mixin;
238
+ };
239
+
240
+ // base/mixins/typeclass/eui-warning.mixin.mjs
241
+ import { coerceBooleanProperty as coerceBooleanProperty7 } from "@angular/cdk/coercion";
242
+ var mixinEuiWarning = (base = class {
243
+ }) => {
244
+ class Mixin extends base {
245
+ /** Whether the EuiWarning is disabled or not. */
246
+ get euiWarning() {
247
+ return this._euiWarning;
248
+ }
249
+ set euiWarning(value) {
250
+ this._euiWarning = coerceBooleanProperty7(value);
251
+ }
252
+ constructor(...args) {
253
+ super(...args);
254
+ this._euiWarning = false;
255
+ }
256
+ getCssClasses(rootClass = "") {
257
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiWarning ? `${rootClass}--warning` : ""].join(" ").trim();
258
+ }
259
+ }
260
+ return Mixin;
261
+ };
262
+
263
+ // base/mixins/typeclass/eui-accent.mixin.mjs
264
+ import { coerceBooleanProperty as coerceBooleanProperty8 } from "@angular/cdk/coercion";
265
+ function mixinEuiAccent(base = class {
266
+ }) {
267
+ class Mixin extends base {
268
+ /** Whether the EuiAccent is disabled or not. */
269
+ get euiAccent() {
270
+ return this._euiAccent;
271
+ }
272
+ set euiAccent(value) {
273
+ this._euiAccent = coerceBooleanProperty8(value);
274
+ }
275
+ constructor(...args) {
276
+ super(...args);
277
+ this._euiAccent = false;
278
+ }
279
+ getCssClasses(rootClass = "") {
280
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiAccent ? `${rootClass}--accent` : ""].join(" ").trim();
281
+ }
282
+ }
283
+ return Mixin;
284
+ }
285
+
286
+ // base/mixins/typeclass/eui-danger.mixin.mjs
287
+ import { coerceBooleanProperty as coerceBooleanProperty9 } from "@angular/cdk/coercion";
288
+ function mixinEuiDanger(base = class {
289
+ }) {
290
+ class Mixin extends base {
291
+ /** Whether the EuiDanger is disabled or not. */
292
+ get euiDanger() {
293
+ return this._euiDanger;
294
+ }
295
+ set euiDanger(value) {
296
+ this._euiDanger = coerceBooleanProperty9(value);
297
+ }
298
+ constructor(...args) {
299
+ super(...args);
300
+ this._euiDanger = false;
301
+ }
302
+ getCssClasses(rootClass = "") {
303
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiDanger ? `${rootClass}--danger` : ""].join(" ").trim();
304
+ }
305
+ }
306
+ return Mixin;
307
+ }
308
+
309
+ // base/mixins/typeclass/eui-variant.mixin.mjs
310
+ var mixinEuiVariant = (base = class {
311
+ }) => {
312
+ class Mixin extends base {
313
+ /** Whether the EuiVariant is disabled or not. */
314
+ get euiVariant() {
315
+ return this._euiVariant;
316
+ }
317
+ set euiVariant(value) {
318
+ super.euiPrimary = value === "primary";
319
+ super.euiSecondary = value === "secondary";
320
+ super.euiWarning = value === "warning";
321
+ super.euiInfo = value === "info";
322
+ super.euiSuccess = value === "success";
323
+ super.euiDanger = value === "danger";
324
+ super.euiAccent = value === "accent";
325
+ this._euiVariant = value;
326
+ }
327
+ constructor(...args) {
328
+ super(...args);
329
+ this._euiVariant = "";
330
+ }
331
+ }
332
+ return Mixin;
333
+ };
334
+
335
+ // base/mixins/state/eui-disabled.mixin.mjs
336
+ import { coerceBooleanProperty as coerceBooleanProperty10 } from "@angular/cdk/coercion";
337
+ function mixinEuiDisabled(base = class {
338
+ }) {
339
+ class Mixin extends base {
340
+ /** Whether the euiDisabled is disabled or not. */
341
+ get euiDisabled() {
342
+ return this._euiDisabled;
343
+ }
344
+ set euiDisabled(value) {
345
+ this._euiDisabled = coerceBooleanProperty10(value);
346
+ }
347
+ constructor(...args) {
348
+ super(...args);
349
+ this._euiDisabled = false;
350
+ }
351
+ getCssClasses(rootClass = "") {
352
+ return [
353
+ super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
354
+ this._euiDisabled ? `${rootClass}--disabled disabled` : ""
355
+ ].join(" ").trim();
356
+ }
357
+ }
358
+ return Mixin;
359
+ }
360
+
361
+ // base/mixins/state/eui-clearable.mixin.mjs
362
+ import { coerceBooleanProperty as coerceBooleanProperty11 } from "@angular/cdk/coercion";
363
+ function mixinEuiClearable(base = class {
364
+ }) {
365
+ class Mixin extends base {
366
+ /** Whether the euiClearable is disabled or not. */
367
+ get euiClearable() {
368
+ return this._euiClearable;
369
+ }
370
+ set euiClearable(value) {
371
+ this._euiClearable = coerceBooleanProperty11(value);
372
+ }
373
+ constructor(...args) {
374
+ super(...args);
375
+ this._euiClearable = false;
376
+ }
377
+ getCssClasses(rootClass = "") {
378
+ return [
379
+ super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
380
+ this._euiClearable ? `${rootClass}--clearable` : ""
381
+ ].join(" ").trim();
382
+ }
383
+ }
384
+ return Mixin;
385
+ }
386
+
387
+ // base/mixins/state/eui-loading.mixin.mjs
388
+ import { coerceBooleanProperty as coerceBooleanProperty12 } from "@angular/cdk/coercion";
389
+ function mixinEuiLoading(base = class {
390
+ }) {
391
+ class Mixin extends base {
392
+ /** Whether the euiLoading is disabled or not. */
393
+ get euiLoading() {
394
+ return this._euiLoading;
395
+ }
396
+ set euiLoading(value) {
397
+ this._euiLoading = coerceBooleanProperty12(value);
398
+ }
399
+ constructor(...args) {
400
+ super(...args);
401
+ this._euiLoading = false;
402
+ }
403
+ getCssClasses(rootClass = "") {
404
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiLoading ? `${rootClass}--loading` : ""].join(" ").trim();
405
+ }
406
+ }
407
+ return Mixin;
408
+ }
409
+
410
+ // base/mixins/state/eui-rounded.mixin.mjs
411
+ import { coerceBooleanProperty as coerceBooleanProperty13 } from "@angular/cdk/coercion";
412
+ function mixinEuiRounded(base = class {
413
+ }) {
414
+ class Mixin extends base {
415
+ /** Whether the euiRounded is disabled or not. */
416
+ get euiRounded() {
417
+ return this._euiRounded;
418
+ }
419
+ set euiRounded(value) {
420
+ this._euiRounded = coerceBooleanProperty13(value);
421
+ }
422
+ constructor(...args) {
423
+ super(...args);
424
+ this._euiRounded = false;
425
+ }
426
+ getCssClasses(rootClass = "") {
427
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiRounded ? `${rootClass}--rounded` : ""].join(" ").trim();
428
+ }
429
+ }
430
+ return Mixin;
431
+ }
432
+
433
+ // base/mixins/state/eui-outline.mixin.mjs
434
+ import { coerceBooleanProperty as coerceBooleanProperty14 } from "@angular/cdk/coercion";
435
+ function mixinEuiOutline(base = class {
436
+ }) {
437
+ class Mixin extends base {
438
+ /** Whether the euiOutline is disabled or not. */
439
+ get euiOutline() {
440
+ return this._euiOutline;
441
+ }
442
+ set euiOutline(value) {
443
+ this._euiOutline = coerceBooleanProperty14(value);
444
+ }
445
+ constructor(...args) {
446
+ super(...args);
447
+ this._euiOutline = false;
448
+ }
449
+ getCssClasses(rootClass = "") {
450
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiOutline ? `${rootClass}--outline` : ""].join(" ").trim();
451
+ }
452
+ }
453
+ return Mixin;
454
+ }
455
+
456
+ // base/mixins/state/eui-compact.mixin.mjs
457
+ import { coerceBooleanProperty as coerceBooleanProperty15 } from "@angular/cdk/coercion";
458
+ function mixinEuiCompact(base = class {
459
+ }) {
460
+ class Mixin extends base {
461
+ /** Whether the euiCompact is disabled or not. */
462
+ get euiCompact() {
463
+ return this._euiCompact;
464
+ }
465
+ set euiCompact(value) {
466
+ this._euiCompact = coerceBooleanProperty15(value);
467
+ }
468
+ constructor(...args) {
469
+ super(...args);
470
+ this._euiCompact = false;
471
+ }
472
+ getCssClasses(rootClass = "") {
473
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiCompact ? `${rootClass}--compact` : ""].join(" ").trim();
474
+ }
475
+ }
476
+ return Mixin;
477
+ }
478
+
479
+ // base/mixins/state/eui-responsive.mixin.mjs
480
+ import { coerceBooleanProperty as coerceBooleanProperty16 } from "@angular/cdk/coercion";
481
+ function mixinEuiResponsive(base = class {
482
+ }) {
483
+ class Mixin extends base {
484
+ /** Whether the euiResponsive is disabled or not. */
485
+ get euiResponsive() {
486
+ return this._euiResponsive;
487
+ }
488
+ set euiResponsive(value) {
489
+ this._euiResponsive = coerceBooleanProperty16(value);
490
+ }
491
+ constructor(...args) {
492
+ super(...args);
493
+ this._euiResponsive = false;
494
+ }
495
+ getCssClasses(rootClass = "") {
496
+ return [
497
+ super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
498
+ this._euiResponsive ? `${rootClass}--responsive` : ""
499
+ ].join(" ").trim();
500
+ }
501
+ }
502
+ return Mixin;
503
+ }
504
+
505
+ // base/mixins/state/eui-highlighted.mixin.mjs
506
+ import { coerceBooleanProperty as coerceBooleanProperty17 } from "@angular/cdk/coercion";
507
+ function mixinEuiHighlighted(base = class {
508
+ }) {
509
+ class Mixin extends base {
510
+ /** Whether the euiHighlighted is disabled or not. */
511
+ get euiHighlighted() {
512
+ return this._euiHighlighted;
513
+ }
514
+ set euiHighlighted(value) {
515
+ this._euiHighlighted = coerceBooleanProperty17(value);
516
+ }
517
+ constructor(...args) {
518
+ super(...args);
519
+ this._euiHighlighted = false;
520
+ }
521
+ getCssClasses(rootClass = "") {
522
+ return [
523
+ super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
524
+ this._euiHighlighted ? `${rootClass}--highlighted` : ""
525
+ ].join(" ").trim();
526
+ }
527
+ }
528
+ return Mixin;
529
+ }
530
+
531
+ // base/mixins/size/eui-small.mixin.mjs
532
+ import { coerceBooleanProperty as coerceBooleanProperty18 } from "@angular/cdk/coercion";
533
+ function mixinEuiSmallSize(base = class {
534
+ }) {
535
+ class Mixin extends base {
536
+ /** apply extremely small size */
537
+ get euiSize2XS() {
538
+ return this._euiSize2XS;
539
+ }
540
+ set euiSize2XS(value) {
541
+ this._euiSize2XS = coerceBooleanProperty18(value);
542
+ }
543
+ /** apply extra small size */
544
+ get euiSizeXS() {
545
+ return this._euiSizeXS;
546
+ }
547
+ set euiSizeXS(value) {
548
+ this._euiSizeXS = coerceBooleanProperty18(value);
549
+ }
550
+ /** apply small size */
551
+ get euiSizeS() {
552
+ return this._euiSizeS;
553
+ }
554
+ set euiSizeS(value) {
555
+ this._euiSizeS = coerceBooleanProperty18(value);
556
+ }
557
+ constructor(...args) {
558
+ super(...args);
559
+ this._euiSize2XS = false;
560
+ this._euiSizeXS = false;
561
+ this._euiSizeS = false;
562
+ }
563
+ getCssClasses(rootClass = "") {
564
+ return [
565
+ super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
566
+ this._euiSize2XS ? `${rootClass}--size-2xs` : "",
567
+ this._euiSizeXS ? `${rootClass}--size-xs` : "",
568
+ this._euiSizeS ? `${rootClass}--size-s` : ""
569
+ ].join(" ").trim();
570
+ }
571
+ }
572
+ return Mixin;
573
+ }
574
+
575
+ // base/mixins/size/eui-medium.mixin.mjs
576
+ import { coerceBooleanProperty as coerceBooleanProperty19 } from "@angular/cdk/coercion";
577
+ function mixinEuiMediumSize(base = class {
578
+ }) {
579
+ class Mixin extends base {
580
+ /** apply small size */
581
+ get euiSizeM() {
582
+ return this._euiSizeM;
583
+ }
584
+ set euiSizeM(value) {
585
+ this._euiSizeM = coerceBooleanProperty19(value);
586
+ }
587
+ constructor(...args) {
588
+ super(...args);
589
+ this._euiSizeM = false;
590
+ }
591
+ getCssClasses(rootClass = "") {
592
+ return [super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass, this._euiSizeM ? `${rootClass}--size-m` : ""].join(" ").trim();
593
+ }
594
+ }
595
+ return Mixin;
596
+ }
597
+
598
+ // base/mixins/size/eui-large.mixin.mjs
599
+ import { coerceBooleanProperty as coerceBooleanProperty20 } from "@angular/cdk/coercion";
600
+ function mixinEuiLargeSize(base = class {
601
+ }) {
602
+ class Mixin extends base {
603
+ /** apply large size */
604
+ get euiSizeL() {
605
+ return this._euiSizeL;
606
+ }
607
+ set euiSizeL(value) {
608
+ this._euiSizeL = coerceBooleanProperty20(value);
609
+ }
610
+ /** apply extra large size */
611
+ get euiSizeXL() {
612
+ return this._euiSizeXL;
613
+ }
614
+ set euiSizeXL(value) {
615
+ this._euiSizeXL = coerceBooleanProperty20(value);
616
+ }
617
+ /** apply extra extra large size */
618
+ get euiSize2XL() {
619
+ return this._euiSize2XL;
620
+ }
621
+ set euiSize2XL(value) {
622
+ this._euiSize2XL = coerceBooleanProperty20(value);
623
+ }
624
+ /** apply extra extra extra large size */
625
+ get euiSize3XL() {
626
+ return this._euiSize3XL;
627
+ }
628
+ set euiSize3XL(value) {
629
+ this._euiSize3XL = coerceBooleanProperty20(value);
630
+ }
631
+ /** apply extra extra extra extra large size */
632
+ get euiSize4XL() {
633
+ return this._euiSize4XL;
634
+ }
635
+ set euiSize4XL(value) {
636
+ this._euiSize4XL = coerceBooleanProperty20(value);
637
+ }
638
+ /** apply extra extra extra extra extra large size */
639
+ get euiSize5XL() {
640
+ return this._euiSize5XL;
641
+ }
642
+ set euiSize5XL(value) {
643
+ this._euiSize5XL = coerceBooleanProperty20(value);
644
+ }
645
+ constructor(...args) {
646
+ super(...args);
647
+ this._euiSizeL = false;
648
+ this._euiSizeXL = false;
649
+ this._euiSize2XL = false;
650
+ this._euiSize3XL = false;
651
+ this._euiSize4XL = false;
652
+ this._euiSize5XL = false;
653
+ }
654
+ getCssClasses(rootClass = "") {
655
+ return [
656
+ super["getCssClasses"] ? super["getCssClasses"](rootClass) : rootClass,
657
+ this._euiSizeXL ? `${rootClass}--size-xl` : "",
658
+ this._euiSize2XL ? `${rootClass}--size-2xl` : "",
659
+ this._euiSize3XL ? `${rootClass}--size-3xl` : "",
660
+ this._euiSize4XL ? `${rootClass}--size-4xl` : "",
661
+ this._euiSize5XL ? `${rootClass}--size-5xl` : ""
662
+ ].join(" ").trim();
663
+ }
664
+ }
665
+ return Mixin;
666
+ }
667
+
668
+ // base/mixins/index.mjs
669
+ function applyMixins(derivedCtor, constructors) {
670
+ constructors.forEach((baseCtor) => {
671
+ Object.getOwnPropertyNames(baseCtor.prototype).forEach((name) => {
672
+ Object.defineProperty(derivedCtor.prototype, name, Object.getOwnPropertyDescriptor(baseCtor.prototype, name) || /* @__PURE__ */ Object.create(null));
673
+ });
674
+ });
675
+ }
676
+
677
+ // base/base.directive.mjs
678
+ import { Directive, Input as Input3, HostBinding as HostBinding3 } from "@angular/core";
679
+ import { coerceBooleanProperty as coerceBooleanProperty21 } from "@angular/cdk/coercion";
188
680
  import * as i03 from "@angular/core";
189
- var BaseComponentMixinBase = mixinEuiDisabled(mixinEuiDanger());
190
- var InputDirective = class _InputDirective extends BaseComponentMixinBase {
681
+ var BaseComponentMixinBase = mixinEuiPrimary(mixinEuiSecondary(mixinEuiInfo(mixinEuiSuccess(mixinEuiWarning(mixinEuiDisabled())))));
682
+ var BaseDirective = class _BaseDirective {
683
+ constructor() {
684
+ this._euiPrimary = false;
685
+ this._euiSecondary = false;
686
+ this._euiInfo = false;
687
+ this._euiSuccess = false;
688
+ this._euiWarning = false;
689
+ this._euiDanger = false;
690
+ this._euiAccent = false;
691
+ this._euiVariant = "";
692
+ this._euiSize2XS = false;
693
+ this._euiSizeXS = false;
694
+ this._euiSizeS = false;
695
+ this._euiSizeM = false;
696
+ this._euiSizeL = false;
697
+ this._euiSizeXL = false;
698
+ this._euiSize2XL = false;
699
+ this._euiSize3XL = false;
700
+ this._euiSize4XL = false;
701
+ this._euiSize5XL = false;
702
+ this._euiSizeVariant = "";
703
+ this._euiRounded = false;
704
+ this._euiOutline = false;
705
+ this._euiCompact = false;
706
+ this._euiDisabled = false;
707
+ this._euiResponsive = false;
708
+ this._euiHighlighted = false;
709
+ this._euiClearable = false;
710
+ this._euiLoading = false;
711
+ }
712
+ get ariaDisabled() {
713
+ return this._euiDisabled ? true : null;
714
+ }
715
+ // COLORS
716
+ get euiPrimary() {
717
+ return coerceBooleanProperty21(this._euiPrimary);
718
+ }
719
+ set euiPrimary(value) {
720
+ this._euiPrimary = coerceBooleanProperty21(value);
721
+ }
722
+ get euiSecondary() {
723
+ return this._euiSecondary;
724
+ }
725
+ set euiSecondary(value) {
726
+ this._euiSecondary = coerceBooleanProperty21(value);
727
+ }
728
+ get euiInfo() {
729
+ return this._euiInfo;
730
+ }
731
+ set euiInfo(value) {
732
+ this._euiInfo = coerceBooleanProperty21(value);
733
+ }
734
+ get euiSuccess() {
735
+ return this._euiSuccess;
736
+ }
737
+ set euiSuccess(value) {
738
+ this._euiSuccess = coerceBooleanProperty21(value);
739
+ }
740
+ get euiWarning() {
741
+ return this._euiWarning;
742
+ }
743
+ set euiWarning(value) {
744
+ this._euiWarning = coerceBooleanProperty21(value);
745
+ }
746
+ get euiDanger() {
747
+ return this._euiDanger;
748
+ }
749
+ set euiDanger(value) {
750
+ this._euiDanger = coerceBooleanProperty21(value);
751
+ }
752
+ get euiAccent() {
753
+ return this._euiAccent;
754
+ }
755
+ set euiAccent(value) {
756
+ this._euiAccent = coerceBooleanProperty21(value);
757
+ }
758
+ get euiVariant() {
759
+ return this._euiVariant;
760
+ }
761
+ set euiVariant(value) {
762
+ this._euiPrimary = value === "primary";
763
+ this._euiSecondary = value === "secondary";
764
+ this._euiWarning = value === "warning";
765
+ this._euiInfo = value === "info";
766
+ this._euiSuccess = value === "success";
767
+ this._euiDanger = value === "danger";
768
+ this._euiAccent = value === "accent";
769
+ this._euiVariant = value;
770
+ }
771
+ // SIZES
772
+ get euiSize2XS() {
773
+ return this._euiSize2XS;
774
+ }
775
+ set euiSize2XS(value) {
776
+ this._euiSize2XS = coerceBooleanProperty21(value);
777
+ }
778
+ get euiSizeXS() {
779
+ return this._euiSizeXS;
780
+ }
781
+ set euiSizeXS(value) {
782
+ this._euiSizeXS = coerceBooleanProperty21(value);
783
+ }
784
+ get euiSizeS() {
785
+ return this._euiSizeS;
786
+ }
787
+ set euiSizeS(value) {
788
+ this._euiSizeS = coerceBooleanProperty21(value);
789
+ }
790
+ get euiSizeM() {
791
+ return this._euiSizeM;
792
+ }
793
+ set euiSizeM(value) {
794
+ this._euiSizeM = coerceBooleanProperty21(value);
795
+ }
796
+ get euiSizeL() {
797
+ return this._euiSizeL;
798
+ }
799
+ set euiSizeL(value) {
800
+ this._euiSizeL = coerceBooleanProperty21(value);
801
+ }
802
+ get euiSizeXL() {
803
+ return this._euiSizeXL;
804
+ }
805
+ set euiSizeXL(value) {
806
+ this._euiSizeXL = coerceBooleanProperty21(value);
807
+ }
808
+ get euiSize2XL() {
809
+ return this._euiSize2XL;
810
+ }
811
+ set euiSize2XL(value) {
812
+ this._euiSize2XL = coerceBooleanProperty21(value);
813
+ }
814
+ get euiSize3XL() {
815
+ return this._euiSize3XL;
816
+ }
817
+ set euiSize3XL(value) {
818
+ this._euiSize3XL = coerceBooleanProperty21(value);
819
+ }
820
+ get euiSize4XL() {
821
+ return this._euiSize4XL;
822
+ }
823
+ set euiSize4XL(value) {
824
+ this._euiSize4XL = coerceBooleanProperty21(value);
825
+ }
826
+ get euiSize5XL() {
827
+ return this._euiSize5XL;
828
+ }
829
+ set euiSize5XL(value) {
830
+ this._euiSize5XL = coerceBooleanProperty21(value);
831
+ }
832
+ get euiSizeVariant() {
833
+ return this._euiSizeVariant;
834
+ }
835
+ set euiSizeVariant(value) {
836
+ this._euiSize2XS = value === "2xs";
837
+ this._euiSizeXS = value === "xs";
838
+ this._euiSizeS = value === "s";
839
+ this._euiSizeM = value === "m";
840
+ this._euiSizeL = value === "l";
841
+ this._euiSizeXL = value === "xl";
842
+ this._euiSize2XL = value === "2xl";
843
+ this._euiSize3XL = value === "3xl";
844
+ this._euiSize4XL = value === "4xl";
845
+ this._euiSize5XL = value === "5xl";
846
+ this._euiSizeVariant = value;
847
+ }
848
+ // EXTRA SHAPES
849
+ get euiRounded() {
850
+ return this._euiRounded;
851
+ }
852
+ set euiRounded(value) {
853
+ this._euiRounded = coerceBooleanProperty21(value);
854
+ }
855
+ get euiOutline() {
856
+ return this._euiOutline;
857
+ }
858
+ set euiOutline(value) {
859
+ this._euiOutline = coerceBooleanProperty21(value);
860
+ }
861
+ get euiCompact() {
862
+ return this._euiCompact;
863
+ }
864
+ set euiCompact(value) {
865
+ this._euiCompact = coerceBooleanProperty21(value);
866
+ }
867
+ // STATES
868
+ get euiDisabled() {
869
+ return this._euiDisabled;
870
+ }
871
+ set euiDisabled(value) {
872
+ this._euiDisabled = coerceBooleanProperty21(value);
873
+ }
874
+ get euiResponsive() {
875
+ return this._euiResponsive;
876
+ }
877
+ set euiResponsive(value) {
878
+ this._euiResponsive = coerceBooleanProperty21(value);
879
+ }
880
+ get euiHighlighted() {
881
+ return this._euiHighlighted;
882
+ }
883
+ set euiHighlighted(value) {
884
+ this._euiHighlighted = coerceBooleanProperty21(value);
885
+ }
886
+ get euiClearable() {
887
+ return this._euiClearable;
888
+ }
889
+ set euiClearable(value) {
890
+ this._euiClearable = coerceBooleanProperty21(value);
891
+ }
892
+ get euiLoading() {
893
+ return this._euiLoading;
894
+ }
895
+ set euiLoading(value) {
896
+ this._euiLoading = coerceBooleanProperty21(value);
897
+ }
898
+ getCssClasses(rootClass) {
899
+ return [
900
+ rootClass,
901
+ this._euiPrimary ? `${rootClass}--primary` : "",
902
+ this._euiSecondary ? `${rootClass}--secondary` : "",
903
+ this._euiInfo ? `${rootClass}--info` : "",
904
+ this._euiSuccess ? `${rootClass}--success` : "",
905
+ this._euiWarning ? `${rootClass}--warning` : "",
906
+ this._euiDanger ? `${rootClass}--danger` : "",
907
+ this._euiAccent ? `${rootClass}--accent` : "",
908
+ this._euiSize2XS ? `${rootClass}--size-2xs` : "",
909
+ this._euiSizeXS ? `${rootClass}--size-xs` : "",
910
+ this._euiSizeS ? `${rootClass}--size-s` : "",
911
+ this._euiSizeM ? `${rootClass}--size-m` : "",
912
+ this._euiSizeL ? `${rootClass}--size-l` : "",
913
+ this._euiSizeXL ? `${rootClass}--size-xl` : "",
914
+ this._euiSize2XL ? `${rootClass}--size-2xl` : "",
915
+ this._euiSize3XL ? `${rootClass}--size-3xl` : "",
916
+ this._euiSize4XL ? `${rootClass}--size-4xl` : "",
917
+ this._euiSize5XL ? `${rootClass}--size-5xl` : "",
918
+ this._euiRounded ? `${rootClass}--rounded` : "",
919
+ this._euiOutline ? `${rootClass}--outline` : "",
920
+ this._euiDisabled ? `${rootClass}--disabled disabled` : "",
921
+ this._euiCompact ? `${rootClass}--compact` : "",
922
+ this._euiResponsive ? `${rootClass}--responsive` : "",
923
+ this._euiHighlighted ? `${rootClass}--highlighted` : "",
924
+ this._euiClearable ? `${rootClass}--clearable` : "",
925
+ this._euiLoading ? `${rootClass}--loading` : "",
926
+ this.styleClass ? this.styleClass : ""
927
+ ].join(" ").trim();
928
+ }
929
+ static {
930
+ this.ɵfac = i03.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i03, type: _BaseDirective, deps: [], target: i03.ɵɵFactoryTarget.Directive });
931
+ }
932
+ static {
933
+ this.ɵdir = i03.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.2", type: _BaseDirective, selector: "[euiBase]", inputs: { e2eAttr: "e2eAttr", styleClass: "styleClass", euiPrimary: "euiPrimary", euiSecondary: "euiSecondary", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiDanger: "euiDanger", euiAccent: "euiAccent", euiVariant: "euiVariant", euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSizeVariant: "euiSizeVariant", euiRounded: "euiRounded", euiOutline: "euiOutline", euiCompact: "euiCompact", euiDisabled: "euiDisabled", euiResponsive: "euiResponsive", euiHighlighted: "euiHighlighted", euiClearable: "euiClearable", euiLoading: "euiLoading" }, host: { properties: { "attr.aria-disabled": "this.ariaDisabled", "attr.data-e2e": "this.e2eAttr" } }, ngImport: i03 });
934
+ }
935
+ };
936
+ i03.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i03, type: BaseDirective, decorators: [{
937
+ type: Directive,
938
+ args: [{
939
+ selector: "[euiBase]"
940
+ }]
941
+ }], propDecorators: { ariaDisabled: [{
942
+ type: HostBinding3,
943
+ args: ["attr.aria-disabled"]
944
+ }], e2eAttr: [{
945
+ type: HostBinding3,
946
+ args: ["attr.data-e2e"]
947
+ }, {
948
+ type: Input3
949
+ }], styleClass: [{
950
+ type: Input3
951
+ }], euiPrimary: [{
952
+ type: Input3
953
+ }], euiSecondary: [{
954
+ type: Input3
955
+ }], euiInfo: [{
956
+ type: Input3
957
+ }], euiSuccess: [{
958
+ type: Input3
959
+ }], euiWarning: [{
960
+ type: Input3
961
+ }], euiDanger: [{
962
+ type: Input3
963
+ }], euiAccent: [{
964
+ type: Input3
965
+ }], euiVariant: [{
966
+ type: Input3
967
+ }], euiSize2XS: [{
968
+ type: Input3
969
+ }], euiSizeXS: [{
970
+ type: Input3
971
+ }], euiSizeS: [{
972
+ type: Input3
973
+ }], euiSizeM: [{
974
+ type: Input3
975
+ }], euiSizeL: [{
976
+ type: Input3
977
+ }], euiSizeXL: [{
978
+ type: Input3
979
+ }], euiSize2XL: [{
980
+ type: Input3
981
+ }], euiSize3XL: [{
982
+ type: Input3
983
+ }], euiSize4XL: [{
984
+ type: Input3
985
+ }], euiSize5XL: [{
986
+ type: Input3
987
+ }], euiSizeVariant: [{
988
+ type: Input3
989
+ }], euiRounded: [{
990
+ type: Input3
991
+ }], euiOutline: [{
992
+ type: Input3
993
+ }], euiCompact: [{
994
+ type: Input3
995
+ }], euiDisabled: [{
996
+ type: Input3
997
+ }], euiResponsive: [{
998
+ type: Input3
999
+ }], euiHighlighted: [{
1000
+ type: Input3
1001
+ }], euiClearable: [{
1002
+ type: Input3
1003
+ }], euiLoading: [{
1004
+ type: Input3
1005
+ }] } });
1006
+
1007
+ // base/base-states.directive.mjs
1008
+ import { Directive as Directive2, HostBinding as HostBinding4, Input as Input4, booleanAttribute } from "@angular/core";
1009
+ import { coerceBooleanProperty as coerceBooleanProperty22 } from "@angular/cdk/coercion";
1010
+ import * as i04 from "@angular/core";
1011
+ var BaseStatesDirective = class _BaseStatesDirective {
1012
+ constructor() {
1013
+ this.euiRounded = false;
1014
+ this.euiOutline = false;
1015
+ this.euiCompact = false;
1016
+ this.euiDisabled = false;
1017
+ this.euiResponsive = false;
1018
+ this.euiHighlighted = false;
1019
+ this.euiClearable = false;
1020
+ this.euiLoading = false;
1021
+ this.euiInverted = false;
1022
+ this._euiPrimary = false;
1023
+ this._euiSecondary = false;
1024
+ this._euiSecondaryLight = false;
1025
+ this._euiInfo = false;
1026
+ this._euiSuccess = false;
1027
+ this._euiWarning = false;
1028
+ this._euiDanger = false;
1029
+ this._euiAccent = false;
1030
+ this._euiSize2XS = false;
1031
+ this._euiSizeXS = false;
1032
+ this._euiSizeS = false;
1033
+ this._euiSizeM = false;
1034
+ this._euiSizeL = false;
1035
+ this._euiSizeXL = false;
1036
+ this._euiSize2XL = false;
1037
+ this._euiSize3XL = false;
1038
+ this._euiSize4XL = false;
1039
+ this._euiSize5XL = false;
1040
+ this._euiSizeVariant = "";
1041
+ this._euiVariant = "";
1042
+ }
1043
+ get ariaDisabled() {
1044
+ return this.euiDisabled ? true : null;
1045
+ }
1046
+ // COLORS
1047
+ get euiPrimary() {
1048
+ return this._euiPrimary;
1049
+ }
1050
+ set euiPrimary(value) {
1051
+ this._euiPrimary = coerceBooleanProperty22(value);
1052
+ this._euiVariant = "primary";
1053
+ }
1054
+ get euiSecondary() {
1055
+ return this._euiSecondary;
1056
+ }
1057
+ set euiSecondary(value) {
1058
+ this._euiSecondary = coerceBooleanProperty22(value);
1059
+ this._euiVariant = "secondary";
1060
+ }
1061
+ get euiSecondaryLight() {
1062
+ return this._euiSecondaryLight;
1063
+ }
1064
+ set euiSecondaryLight(value) {
1065
+ this._euiSecondaryLight = coerceBooleanProperty22(value);
1066
+ this._euiVariant = "secondaryLight";
1067
+ }
1068
+ get euiInfo() {
1069
+ return this._euiInfo;
1070
+ }
1071
+ set euiInfo(value) {
1072
+ this._euiInfo = coerceBooleanProperty22(value);
1073
+ this._euiVariant = "info";
1074
+ }
1075
+ get euiSuccess() {
1076
+ return this._euiSuccess;
1077
+ }
1078
+ set euiSuccess(value) {
1079
+ this._euiSuccess = coerceBooleanProperty22(value);
1080
+ this._euiVariant = "success";
1081
+ }
1082
+ get euiWarning() {
1083
+ return this._euiWarning;
1084
+ }
1085
+ set euiWarning(value) {
1086
+ this._euiWarning = coerceBooleanProperty22(value);
1087
+ this._euiVariant = "warning";
1088
+ }
1089
+ get euiDanger() {
1090
+ return this._euiDanger;
1091
+ }
1092
+ set euiDanger(value) {
1093
+ this._euiDanger = coerceBooleanProperty22(value);
1094
+ this._euiVariant = "danger";
1095
+ }
1096
+ get euiAccent() {
1097
+ return this._euiAccent;
1098
+ }
1099
+ set euiAccent(value) {
1100
+ this._euiAccent = coerceBooleanProperty22(value);
1101
+ this._euiVariant = "accent";
1102
+ }
1103
+ get euiVariant() {
1104
+ return this._euiVariant;
1105
+ }
1106
+ set euiVariant(value) {
1107
+ this.euiPrimary = value === "primary";
1108
+ this.euiSecondary = value === "secondary";
1109
+ this.euiSecondaryLight = value === "secondaryLight";
1110
+ this.euiWarning = value === "warning";
1111
+ this.euiInfo = value === "info";
1112
+ this.euiSuccess = value === "success";
1113
+ this.euiDanger = value === "danger";
1114
+ this.euiAccent = value === "accent";
1115
+ this._euiVariant = value;
1116
+ }
1117
+ // SIZES
1118
+ get euiSize2XS() {
1119
+ return this._euiSize2XS;
1120
+ }
1121
+ set euiSize2XS(value) {
1122
+ this._euiSize2XS = coerceBooleanProperty22(value);
1123
+ this._euiSizeVariant = "2xs";
1124
+ }
1125
+ get euiSizeXS() {
1126
+ return this._euiSizeXS;
1127
+ }
1128
+ set euiSizeXS(value) {
1129
+ this._euiSizeXS = coerceBooleanProperty22(value);
1130
+ this._euiSizeVariant = "xs";
1131
+ }
1132
+ get euiSizeS() {
1133
+ return this._euiSizeS;
1134
+ }
1135
+ set euiSizeS(value) {
1136
+ this._euiSizeS = coerceBooleanProperty22(value);
1137
+ this._euiSizeVariant = "s";
1138
+ }
1139
+ get euiSizeM() {
1140
+ return this._euiSizeM;
1141
+ }
1142
+ set euiSizeM(value) {
1143
+ this._euiSizeM = coerceBooleanProperty22(value);
1144
+ this._euiSizeVariant = "m";
1145
+ }
1146
+ get euiSizeL() {
1147
+ return this._euiSizeL;
1148
+ }
1149
+ set euiSizeL(value) {
1150
+ this._euiSizeL = coerceBooleanProperty22(value);
1151
+ this._euiSizeVariant = "l";
1152
+ }
1153
+ get euiSizeXL() {
1154
+ return this._euiSizeXL;
1155
+ }
1156
+ set euiSizeXL(value) {
1157
+ this._euiSizeXL = coerceBooleanProperty22(value);
1158
+ this._euiSizeVariant = "xl";
1159
+ }
1160
+ get euiSize2XL() {
1161
+ return this._euiSize2XL;
1162
+ }
1163
+ set euiSize2XL(value) {
1164
+ this._euiSize2XL = coerceBooleanProperty22(value);
1165
+ this._euiSizeVariant = "2xl";
1166
+ }
1167
+ get euiSize3XL() {
1168
+ return this._euiSize3XL;
1169
+ }
1170
+ set euiSize3XL(value) {
1171
+ this._euiSize3XL = coerceBooleanProperty22(value);
1172
+ this._euiSizeVariant = "3xl";
1173
+ }
1174
+ get euiSize4XL() {
1175
+ return this._euiSize4XL;
1176
+ }
1177
+ set euiSize4XL(value) {
1178
+ this._euiSize4XL = coerceBooleanProperty22(value);
1179
+ this._euiSizeVariant = "4xl";
1180
+ }
1181
+ get euiSize5XL() {
1182
+ return this._euiSize5XL;
1183
+ }
1184
+ set euiSize5XL(value) {
1185
+ this._euiSize5XL = coerceBooleanProperty22(value);
1186
+ this._euiSizeVariant = "5xl";
1187
+ }
1188
+ get euiSizeVariant() {
1189
+ return this._euiSizeVariant;
1190
+ }
1191
+ set euiSizeVariant(value) {
1192
+ this.euiSize2XS = value === "2xs";
1193
+ this.euiSizeXS = value === "xs";
1194
+ this.euiSizeS = value === "s";
1195
+ this.euiSizeM = value === "m";
1196
+ this.euiSizeL = value === "l";
1197
+ this.euiSizeXL = value === "xl";
1198
+ this.euiSize2XL = value === "2xl";
1199
+ this.euiSize3XL = value === "3xl";
1200
+ this.euiSize4XL = value === "4xl";
1201
+ this.euiSize5XL = value === "5xl";
1202
+ this._euiSizeVariant = value;
1203
+ }
1204
+ getCssClasses(rootClass) {
1205
+ return [
1206
+ rootClass,
1207
+ this.euiPrimary ? `${rootClass}--primary` : "",
1208
+ this.euiSecondary ? `${rootClass}--secondary` : "",
1209
+ this.euiSecondaryLight ? `${rootClass}--secondary-light` : "",
1210
+ this.euiInfo ? `${rootClass}--info` : "",
1211
+ this.euiSuccess ? `${rootClass}--success` : "",
1212
+ this.euiWarning ? `${rootClass}--warning` : "",
1213
+ this.euiDanger ? `${rootClass}--danger` : "",
1214
+ this.euiAccent ? `${rootClass}--accent` : "",
1215
+ this.euiSize2XS ? `${rootClass}--size-2xs` : "",
1216
+ this.euiSizeXS ? `${rootClass}--size-xs` : "",
1217
+ this.euiSizeS ? `${rootClass}--size-s` : "",
1218
+ this.euiSizeM ? `${rootClass}--size-m` : "",
1219
+ this.euiSizeL ? `${rootClass}--size-l` : "",
1220
+ this.euiSizeXL ? `${rootClass}--size-xl` : "",
1221
+ this.euiSize2XL ? `${rootClass}--size-2xl` : "",
1222
+ this.euiSize3XL ? `${rootClass}--size-3xl` : "",
1223
+ this.euiSize4XL ? `${rootClass}--size-4xl` : "",
1224
+ this.euiSize5XL ? `${rootClass}--size-5xl` : "",
1225
+ this.euiRounded ? `${rootClass}--rounded` : "",
1226
+ this.euiOutline ? `${rootClass}--outline` : "",
1227
+ this.euiDisabled ? `${rootClass}--disabled disabled` : "",
1228
+ this.euiCompact ? `${rootClass}--compact` : "",
1229
+ this.euiResponsive ? `${rootClass}--responsive` : "",
1230
+ this.euiHighlighted ? `${rootClass}--highlighted` : "",
1231
+ this.euiClearable ? `${rootClass}--clearable` : "",
1232
+ this.euiLoading ? `${rootClass}--loading` : "",
1233
+ this.euiInverted ? `${rootClass}--inverted` : ""
1234
+ ].join(" ").trim();
1235
+ }
1236
+ static {
1237
+ this.ɵfac = i04.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i04, type: _BaseStatesDirective, deps: [], target: i04.ɵɵFactoryTarget.Directive });
1238
+ }
1239
+ static {
1240
+ this.ɵdir = i04.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.2", type: _BaseStatesDirective, isStandalone: true, selector: "[euiBase]", inputs: { euiPrimary: "euiPrimary", euiSecondary: "euiSecondary", euiSecondaryLight: "euiSecondaryLight", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiDanger: "euiDanger", euiAccent: "euiAccent", euiVariant: "euiVariant", euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSizeVariant: "euiSizeVariant", euiRounded: ["euiRounded", "euiRounded", booleanAttribute], euiOutline: ["euiOutline", "euiOutline", booleanAttribute], euiCompact: ["euiCompact", "euiCompact", booleanAttribute], euiDisabled: ["euiDisabled", "euiDisabled", booleanAttribute], euiResponsive: ["euiResponsive", "euiResponsive", booleanAttribute], euiHighlighted: ["euiHighlighted", "euiHighlighted", booleanAttribute], euiClearable: ["euiClearable", "euiClearable", booleanAttribute], euiLoading: ["euiLoading", "euiLoading", booleanAttribute], euiInverted: ["euiInverted", "euiInverted", booleanAttribute] }, host: { properties: { "attr.aria-disabled": "this.ariaDisabled" } }, ngImport: i04 });
1241
+ }
1242
+ };
1243
+ i04.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i04, type: BaseStatesDirective, decorators: [{
1244
+ type: Directive2,
1245
+ args: [{
1246
+ standalone: true,
1247
+ selector: "[euiBase]"
1248
+ }]
1249
+ }], propDecorators: { ariaDisabled: [{
1250
+ type: HostBinding4,
1251
+ args: ["attr.aria-disabled"]
1252
+ }], euiPrimary: [{
1253
+ type: Input4
1254
+ }], euiSecondary: [{
1255
+ type: Input4
1256
+ }], euiSecondaryLight: [{
1257
+ type: Input4
1258
+ }], euiInfo: [{
1259
+ type: Input4
1260
+ }], euiSuccess: [{
1261
+ type: Input4
1262
+ }], euiWarning: [{
1263
+ type: Input4
1264
+ }], euiDanger: [{
1265
+ type: Input4
1266
+ }], euiAccent: [{
1267
+ type: Input4
1268
+ }], euiVariant: [{
1269
+ type: Input4
1270
+ }], euiSize2XS: [{
1271
+ type: Input4
1272
+ }], euiSizeXS: [{
1273
+ type: Input4
1274
+ }], euiSizeS: [{
1275
+ type: Input4
1276
+ }], euiSizeM: [{
1277
+ type: Input4
1278
+ }], euiSizeL: [{
1279
+ type: Input4
1280
+ }], euiSizeXL: [{
1281
+ type: Input4
1282
+ }], euiSize2XL: [{
1283
+ type: Input4
1284
+ }], euiSize3XL: [{
1285
+ type: Input4
1286
+ }], euiSize4XL: [{
1287
+ type: Input4
1288
+ }], euiSize5XL: [{
1289
+ type: Input4
1290
+ }], euiSizeVariant: [{
1291
+ type: Input4
1292
+ }], euiRounded: [{
1293
+ type: Input4,
1294
+ args: [{ transform: booleanAttribute }]
1295
+ }], euiOutline: [{
1296
+ type: Input4,
1297
+ args: [{ transform: booleanAttribute }]
1298
+ }], euiCompact: [{
1299
+ type: Input4,
1300
+ args: [{ transform: booleanAttribute }]
1301
+ }], euiDisabled: [{
1302
+ type: Input4,
1303
+ args: [{ transform: booleanAttribute }]
1304
+ }], euiResponsive: [{
1305
+ type: Input4,
1306
+ args: [{ transform: booleanAttribute }]
1307
+ }], euiHighlighted: [{
1308
+ type: Input4,
1309
+ args: [{ transform: booleanAttribute }]
1310
+ }], euiClearable: [{
1311
+ type: Input4,
1312
+ args: [{ transform: booleanAttribute }]
1313
+ }], euiLoading: [{
1314
+ type: Input4,
1315
+ args: [{ transform: booleanAttribute }]
1316
+ }], euiInverted: [{
1317
+ type: Input4,
1318
+ args: [{ transform: booleanAttribute }]
1319
+ }] } });
1320
+
1321
+ // input.directive.mjs
1322
+ import { Directive as Directive3, HostBinding as HostBinding5, Input as Input5, ViewContainerRef } from "@angular/core";
1323
+ import { FormControlDirective, FormControlName, FormGroupDirective, NgControl } from "@angular/forms";
1324
+ import { coerceBooleanProperty as coerceBooleanProperty23 } from "@angular/cdk/coercion";
1325
+ import * as i05 from "@angular/core";
1326
+ var BaseComponentMixinBase2 = mixinEuiDisabled(mixinEuiDanger());
1327
+ var InputDirective = class _InputDirective extends BaseComponentMixinBase2 {
191
1328
  get disabled() {
192
1329
  return this._disabled ? true : null;
193
1330
  }
194
1331
  set disabled(state) {
195
- this._disabled = coerceBooleanProperty3(state);
1332
+ this._disabled = coerceBooleanProperty23(state);
196
1333
  super.euiDisabled = this._disabled;
197
1334
  }
198
1335
  get readonly() {
199
1336
  return this._readonly ? "" : null;
200
1337
  }
201
1338
  set readonly(state) {
202
- this._readonly = coerceBooleanProperty3(state);
1339
+ this._readonly = coerceBooleanProperty23(state);
203
1340
  }
204
1341
  get placeholder() {
205
1342
  return this.getPlaceholderAttribute();
@@ -272,53 +1409,76 @@ var InputDirective = class _InputDirective extends BaseComponentMixinBase {
272
1409
  this._id = value ? value : `${this._elementRef.nativeElement.type}_${Math.floor(Math.random() * 1e6)}`;
273
1410
  }
274
1411
  static {
275
- this.ɵfac = i03.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i03, type: _InputDirective, deps: [{ token: i03.ElementRef }, { token: i03.Renderer2 }, { token: i03.Injector }], target: i03.ɵɵFactoryTarget.Directive });
1412
+ this.ɵfac = i05.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i05, type: _InputDirective, deps: [{ token: i05.ElementRef }, { token: i05.Renderer2 }, { token: i05.Injector }], target: i05.ɵɵFactoryTarget.Directive });
276
1413
  }
277
1414
  static {
278
- this.ɵdir = i03.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.2", type: _InputDirective, selector: "input[euiInput]", inputs: { styleClass: "styleClass", disabled: "disabled", readonly: "readonly", placeholder: "placeholder", id: "id" }, host: { properties: { "attr.disabled": "this.disabled", "attr.readonly": "this.readonly", "attr.placeholder": "this.placeholder", "attr.id": "this.id" } }, usesInheritance: true, usesOnChanges: true, ngImport: i03 });
1415
+ this.ɵdir = i05.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.2", type: _InputDirective, selector: "input[euiInput]", inputs: { styleClass: "styleClass", disabled: "disabled", readonly: "readonly", placeholder: "placeholder", id: "id" }, host: { properties: { "attr.disabled": "this.disabled", "attr.readonly": "this.readonly", "attr.placeholder": "this.placeholder", "attr.id": "this.id" } }, usesInheritance: true, usesOnChanges: true, ngImport: i05 });
279
1416
  }
280
1417
  };
281
- i03.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i03, type: InputDirective, decorators: [{
282
- type: Directive,
1418
+ i05.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.2", ngImport: i05, type: InputDirective, decorators: [{
1419
+ type: Directive3,
283
1420
  args: [{
284
1421
  // eslint-disable-next-line @angular-eslint/directive-selector
285
1422
  selector: "input[euiInput]"
286
1423
  }]
287
- }], ctorParameters: () => [{ type: i03.ElementRef }, { type: i03.Renderer2 }, { type: i03.Injector }], propDecorators: { styleClass: [{
288
- type: Input3
1424
+ }], ctorParameters: () => [{ type: i05.ElementRef }, { type: i05.Renderer2 }, { type: i05.Injector }], propDecorators: { styleClass: [{
1425
+ type: Input5
289
1426
  }], disabled: [{
290
- type: HostBinding3,
1427
+ type: HostBinding5,
291
1428
  args: ["attr.disabled"]
292
1429
  }, {
293
- type: Input3
1430
+ type: Input5
294
1431
  }], readonly: [{
295
- type: HostBinding3,
1432
+ type: HostBinding5,
296
1433
  args: ["attr.readonly"]
297
1434
  }, {
298
- type: Input3
1435
+ type: Input5
299
1436
  }], placeholder: [{
300
- type: HostBinding3,
1437
+ type: HostBinding5,
301
1438
  args: ["attr.placeholder"]
302
1439
  }, {
303
- type: Input3
1440
+ type: Input5
304
1441
  }], id: [{
305
- type: HostBinding3,
1442
+ type: HostBinding5,
306
1443
  args: ["attr.id"]
307
1444
  }, {
308
- type: Input3
1445
+ type: Input5
309
1446
  }] } });
310
-
311
- // index.mjs
312
- __reExport(shared_exports, base_star);
313
- import * as base_star from "@eui/components/shared/base";
314
-
315
- // eui-components-shared.mjs
316
- __reExport(eui_components_shared_exports, shared_exports);
317
1447
  export {
1448
+ BaseComponentMixinBase,
1449
+ BaseDirective,
1450
+ BaseStatesDirective,
318
1451
  EuiCommonHeaderComponent,
319
1452
  EuiCommonHeaderModule,
320
1453
  EuiExpandContentComponent,
321
1454
  EuiExpandContentModule,
322
- InputDirective
1455
+ InputDirective,
1456
+ applyMixins,
1457
+ mixinEuiAccent,
1458
+ mixinEuiClearable,
1459
+ mixinEuiCompact,
1460
+ mixinEuiDanger,
1461
+ mixinEuiDisabled,
1462
+ mixinEuiHighlighted,
1463
+ mixinEuiInfo,
1464
+ mixinEuiLargeSize,
1465
+ mixinEuiLoading,
1466
+ mixinEuiMediumSize,
1467
+ mixinEuiOutline,
1468
+ mixinEuiPrimary,
1469
+ mixinEuiResponsive,
1470
+ mixinEuiRounded,
1471
+ mixinEuiSecondary,
1472
+ mixinEuiSmallSize,
1473
+ mixinEuiSuccess,
1474
+ mixinEuiVariant,
1475
+ mixinEuiWarning
323
1476
  };
1477
+ /**
1478
+ * @license
1479
+ * Copyright European Commission All Rights Reserved.
1480
+ *
1481
+ * Use of this source code is governed by an EUPL-style license that can be
1482
+ * found in the LICENSE file at https://ec.europa.eu/info/european-union-public-licence_en
1483
+ */
324
1484
  //# sourceMappingURL=eui-components-shared.mjs.map