@eui/components 18.0.0-next.68 → 18.0.0-next.69

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 (154) hide show
  1. package/docs/components/EuiIconButtonComponent.html +1 -1
  2. package/docs/components/EuiIconButtonExpanderComponent.html +1 -1
  3. package/docs/components/EuiIconInputComponent.html +1 -1
  4. package/docs/components/EuiLanguageSelectorComponent.html +1 -1
  5. package/docs/dependencies.html +1 -1
  6. package/docs/index.html +1 -1
  7. package/docs/js/menu-wc.js +101 -59
  8. package/docs/js/menu-wc_es5.js +1 -1
  9. package/docs/js/search/search_index.js +2 -2
  10. package/docs/miscellaneous/variables.html +4 -3
  11. package/docs/modules/EuiAllModule.html +18 -0
  12. package/docs/modules/EuiAppModule.html +18 -0
  13. package/docs/modules/EuiAppTopMessageModule.html +3 -0
  14. package/docs/modules/EuiCardModule.html +3 -0
  15. package/docs/modules/EuiChipModule.html +3 -0
  16. package/docs/modules/EuiFieldsetModule.html +3 -0
  17. package/docs/modules/EuiGrowlModule.html +3 -0
  18. package/docs/modules/EuiIconButtonExpanderModule.html +238 -0
  19. package/docs/modules/EuiIconButtonModule.html +238 -0
  20. package/docs/modules/EuiIconInputModule.html +238 -0
  21. package/docs/modules/EuiIconModule.html +0 -18
  22. package/docs/modules/EuiLayoutModule.html +18 -0
  23. package/docs/modules/EuiMenuModule.html +3 -0
  24. package/docs/modules/EuiNotificationsModule.html +3 -0
  25. package/docs/modules/EuiNotificationsV2Module.html +3 -0
  26. package/docs/modules/EuiSearchModule.html +3 -0
  27. package/docs/modules/EuiSidebarToggleModule.html +1 -1
  28. package/docs/modules/EuiTreeListModule.html +3 -0
  29. package/docs/modules.html +36 -0
  30. package/esm2022/eui-all/eui-all.module.mjs +19 -4
  31. package/esm2022/eui-breadcrumb/breadcrumb.module.mjs +8 -5
  32. package/esm2022/eui-card/components/eui-card-header/eui-card-header.component.mjs +3 -2
  33. package/esm2022/eui-card/eui-card.module.mjs +13 -4
  34. package/esm2022/eui-chip/eui-chip.component.mjs +1 -1
  35. package/esm2022/eui-chip/eui-chip.module.mjs +5 -4
  36. package/esm2022/eui-fieldset/eui-fieldset.component.mjs +3 -2
  37. package/esm2022/eui-fieldset/eui-fieldset.module.mjs +5 -4
  38. package/esm2022/eui-growl/eui-growl.component.mjs +4 -3
  39. package/esm2022/eui-growl/eui-growl.module.mjs +5 -4
  40. package/esm2022/eui-icon/eui-icon.module.mjs +3 -15
  41. package/esm2022/eui-icon/index.mjs +1 -4
  42. package/esm2022/eui-icon-button/eui-components-eui-icon-button.mjs +5 -0
  43. package/esm2022/{eui-icon/eui-icon-button → eui-icon-button}/eui-icon-button.component.mjs +2 -2
  44. package/esm2022/eui-icon-button/eui-icon-button.module.mjs +24 -0
  45. package/esm2022/eui-icon-button/index.mjs +3 -0
  46. package/esm2022/eui-icon-button-expander/eui-components-eui-icon-button-expander.mjs +5 -0
  47. package/esm2022/{eui-icon/eui-icon-button-expander → eui-icon-button-expander}/eui-icon-button-expander.component.mjs +2 -2
  48. package/esm2022/eui-icon-button-expander/eui-icon-button-expander.module.mjs +24 -0
  49. package/esm2022/eui-icon-button-expander/index.mjs +3 -0
  50. package/esm2022/eui-icon-input/eui-components-eui-icon-input.mjs +5 -0
  51. package/esm2022/{eui-icon/eui-icon-input → eui-icon-input}/eui-icon-input.component.mjs +1 -1
  52. package/esm2022/eui-icon-input/eui-icon-input.module.mjs +24 -0
  53. package/esm2022/eui-icon-input/index.mjs +3 -0
  54. package/esm2022/eui-language-selector/language-selector.component.mjs +3 -3
  55. package/esm2022/eui-menu/eui-menu.component.mjs +6 -5
  56. package/esm2022/eui-menu/eui-menu.module.mjs +5 -4
  57. package/esm2022/eui-search/search.component.mjs +8 -7
  58. package/esm2022/eui-search/search.module.mjs +5 -4
  59. package/esm2022/eui-tree-list/eui-tree-list-item.component.mjs +3 -3
  60. package/esm2022/eui-tree-list/eui-tree-list.module.mjs +5 -1
  61. package/esm2022/layout/eui-app/eui-app-top-message/top-message.component.mjs +1 -1
  62. package/esm2022/layout/eui-app/eui-app-top-message/top-message.module.mjs +5 -4
  63. package/esm2022/layout/eui-notifications/eui-notifications.component.mjs +5 -4
  64. package/esm2022/layout/eui-notifications/eui-notifications.module.mjs +10 -4
  65. package/esm2022/layout/eui-notifications-v2/eui-notifications.component.mjs +5 -4
  66. package/esm2022/layout/eui-notifications-v2/eui-notifications.module.mjs +10 -4
  67. package/esm2022/layout/eui-sidebar-toggle/sidebar-toggle.component.mjs +1 -1
  68. package/esm2022/layout/eui-sidebar-toggle/sidebar-toggle.module.mjs +5 -5
  69. package/eui-all/eui-all.module.d.ts +4 -1
  70. package/eui-all/eui-all.module.d.ts.map +1 -1
  71. package/eui-breadcrumb/breadcrumb.module.d.ts.map +1 -1
  72. package/eui-card/eui-card.module.d.ts +2 -1
  73. package/eui-card/eui-card.module.d.ts.map +1 -1
  74. package/eui-chip/eui-chip.module.d.ts +3 -2
  75. package/eui-chip/eui-chip.module.d.ts.map +1 -1
  76. package/eui-fieldset/eui-fieldset.module.d.ts +3 -2
  77. package/eui-fieldset/eui-fieldset.module.d.ts.map +1 -1
  78. package/eui-growl/eui-growl.module.d.ts +3 -2
  79. package/eui-growl/eui-growl.module.d.ts.map +1 -1
  80. package/eui-icon/eui-icon.module.d.ts +2 -5
  81. package/eui-icon/eui-icon.module.d.ts.map +1 -1
  82. package/eui-icon/index.d.ts +0 -3
  83. package/eui-icon/index.d.ts.map +1 -1
  84. package/eui-icon-button/eui-components-eui-icon-button.d.ts.map +1 -0
  85. package/eui-icon-button/eui-icon-button.component.d.ts.map +1 -0
  86. package/eui-icon-button/eui-icon-button.module.d.ts +10 -0
  87. package/eui-icon-button/eui-icon-button.module.d.ts.map +1 -0
  88. package/eui-icon-button/index.d.ts +3 -0
  89. package/eui-icon-button/index.d.ts.map +1 -0
  90. package/eui-icon-button/package.json +3 -0
  91. package/eui-icon-button-expander/eui-components-eui-icon-button-expander.d.ts.map +1 -0
  92. package/eui-icon-button-expander/eui-icon-button-expander.component.d.ts.map +1 -0
  93. package/eui-icon-button-expander/eui-icon-button-expander.module.d.ts +10 -0
  94. package/eui-icon-button-expander/eui-icon-button-expander.module.d.ts.map +1 -0
  95. package/eui-icon-button-expander/index.d.ts +3 -0
  96. package/eui-icon-button-expander/index.d.ts.map +1 -0
  97. package/eui-icon-button-expander/package.json +3 -0
  98. package/eui-icon-input/eui-components-eui-icon-input.d.ts.map +1 -0
  99. package/eui-icon-input/eui-icon-input.component.d.ts.map +1 -0
  100. package/eui-icon-input/eui-icon-input.module.d.ts +10 -0
  101. package/eui-icon-input/eui-icon-input.module.d.ts.map +1 -0
  102. package/eui-icon-input/index.d.ts +3 -0
  103. package/eui-icon-input/index.d.ts.map +1 -0
  104. package/eui-icon-input/package.json +3 -0
  105. package/eui-menu/eui-menu.module.d.ts +8 -7
  106. package/eui-menu/eui-menu.module.d.ts.map +1 -1
  107. package/eui-search/search.module.d.ts +8 -7
  108. package/eui-search/search.module.d.ts.map +1 -1
  109. package/eui-tree-list/eui-tree-list.module.d.ts +4 -3
  110. package/eui-tree-list/eui-tree-list.module.d.ts.map +1 -1
  111. package/fesm2022/eui-components-eui-breadcrumb.mjs +4 -4
  112. package/fesm2022/eui-components-eui-breadcrumb.mjs.map +2 -2
  113. package/fesm2022/eui-components-eui-card.mjs +32 -6
  114. package/fesm2022/eui-components-eui-card.mjs.map +2 -2
  115. package/fesm2022/eui-components-eui-chip.mjs +5 -4
  116. package/fesm2022/eui-components-eui-chip.mjs.map +2 -2
  117. package/fesm2022/eui-components-eui-fieldset.mjs +6 -4
  118. package/fesm2022/eui-components-eui-fieldset.mjs.map +2 -2
  119. package/fesm2022/eui-components-eui-growl.mjs +7 -5
  120. package/fesm2022/eui-components-eui-growl.mjs.map +2 -2
  121. package/fesm2022/eui-components-eui-icon-button-expander.mjs +137 -0
  122. package/fesm2022/eui-components-eui-icon-button-expander.mjs.map +7 -0
  123. package/fesm2022/eui-components-eui-icon-button.mjs +94 -0
  124. package/fesm2022/eui-components-eui-icon-button.mjs.map +7 -0
  125. package/fesm2022/eui-components-eui-icon-input.mjs +74 -0
  126. package/fesm2022/eui-components-eui-icon-input.mjs.map +7 -0
  127. package/fesm2022/eui-components-eui-icon.mjs +16 -217
  128. package/fesm2022/eui-components-eui-icon.mjs.map +4 -4
  129. package/fesm2022/eui-components-eui-language-selector.mjs +2 -2
  130. package/fesm2022/eui-components-eui-language-selector.mjs.map +2 -2
  131. package/fesm2022/eui-components-eui-menu.mjs +8 -3
  132. package/fesm2022/eui-components-eui-menu.mjs.map +2 -2
  133. package/fesm2022/eui-components-eui-search.mjs +11 -6
  134. package/fesm2022/eui-components-eui-search.mjs.map +2 -2
  135. package/fesm2022/eui-components-eui-tree-list.mjs +7 -3
  136. package/fesm2022/eui-components-eui-tree-list.mjs.map +2 -2
  137. package/fesm2022/eui-components-layout.mjs +89 -30
  138. package/fesm2022/eui-components-layout.mjs.map +3 -3
  139. package/fesm2022/eui-components.mjs +19 -4
  140. package/fesm2022/eui-components.mjs.map +2 -2
  141. package/layout/eui-app/eui-app-top-message/top-message.module.d.ts +2 -1
  142. package/layout/eui-app/eui-app-top-message/top-message.module.d.ts.map +1 -1
  143. package/layout/eui-notifications/eui-notifications.module.d.ts +2 -1
  144. package/layout/eui-notifications/eui-notifications.module.d.ts.map +1 -1
  145. package/layout/eui-notifications-v2/eui-notifications.module.d.ts +2 -1
  146. package/layout/eui-notifications-v2/eui-notifications.module.d.ts.map +1 -1
  147. package/layout/eui-sidebar-toggle/sidebar-toggle.module.d.ts +2 -2
  148. package/package.json +27 -9
  149. package/eui-icon/eui-icon-button/eui-icon-button.component.d.ts.map +0 -1
  150. package/eui-icon/eui-icon-button-expander/eui-icon-button-expander.component.d.ts.map +0 -1
  151. package/eui-icon/eui-icon-input/eui-icon-input.component.d.ts.map +0 -1
  152. /package/{eui-icon/eui-icon-button → eui-icon-button}/eui-icon-button.component.d.ts +0 -0
  153. /package/{eui-icon/eui-icon-button-expander → eui-icon-button-expander}/eui-icon-button-expander.component.d.ts +0 -0
  154. /package/{eui-icon/eui-icon-input → eui-icon-input}/eui-icon-input.component.d.ts +0 -0
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "@eui/components/shared";
7
7
  import * as i2 from "@angular/common";
8
8
  import * as i3 from "@eui/components/eui-icon";
9
+ import * as i4 from "@eui/components/eui-icon-button-expander";
9
10
  var EuiFieldsetComponent = class _EuiFieldsetComponent {
10
11
  get cssClasses() {
11
12
  return [
@@ -73,7 +74,7 @@ var EuiFieldsetComponent = class _EuiFieldsetComponent {
73
74
  this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: _EuiFieldsetComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component });
74
75
  }
75
76
  static {
76
- this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0-rc.1", type: _EuiFieldsetComponent, selector: "eui-fieldset", inputs: { e2eAttr: "e2eAttr", id: "id", label: "label", iconClass: "iconClass", iconSvgName: "iconSvgName", iconSvgFillColor: "iconSvgFillColor", hasDefaultIcon: ["hasDefaultIcon", "hasDefaultIcon", booleanAttribute], isExpandable: ["isExpandable", "isExpandable", booleanAttribute], isExpanded: ["isExpanded", "isExpanded", booleanAttribute], isLarge: ["isLarge", "isLarge", booleanAttribute], isFirst: ["isFirst", "isFirst", booleanAttribute] }, outputs: { expand: "expand" }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "templates", predicate: EuiTemplateDirective }], usesOnChanges: true, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euiSecondary", "euiSecondary", "euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant", "euiHighlighted", "euiHighlighted"] }], ngImport: i0, template: '<div class="eui-fieldset__container">\n <div *ngIf="label" class="eui-fieldset__header" (click)="onToggle()">\n <div class="eui-fieldset__header-label" [class.eui-fieldset__header-label--large]="isLarge">\n <div *ngIf="iconSvgName" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgName" [fillColor]="iconSvgFillColorType"></eui-icon-svg>\n </div>\n <div *ngIf="hasDefaultIcon" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgType" [fillColor]="iconSvgFillColorType"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select="euiFieldsetLabelExtraContent"></ng-content>\n </div>\n <div class="eui-fieldset__header-right-content">\n <ng-content select="euiFieldsetLabelRightContent"></ng-content>\n <eui-icon-button-expander *ngIf="isExpandable"\n [isExpanded]="isExpanded"\n isDirectionForward\n fillColor="neutral">\n </eui-icon-button-expander>\n </div>\n </div>\n <div id="fieldset-content" *ngIf="isExpanded" class="eui-fieldset__content">\n @if (lazyContent) {\n <ng-template [ngTemplateOutlet]="lazyContent"></ng-template>\n } @else {\n <ng-content></ng-content>\n }\n </div>\n</div>\n', styles: [".eui-fieldset{--_color: var(--eui-fieldset-color, var(--eui-c-neutral))}.eui-fieldset{display:block;position:relative;width:100%}.eui-fieldset--first{margin-top:var(--eui-s-s)}.eui-fieldset__header{align-items:center;border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin-bottom:var(--eui-s-m);min-height:calc(var(--eui-s-2xl) + var(--eui-s-2xs));text-transform:uppercase}.eui-fieldset__header-icon{align-items:center;display:inline-flex;font-size:var(--eui-is-m);margin-right:var(--eui-s-s)}.eui-fieldset__header-label{align-items:center;display:inline-flex;font:var(--eui-f-s-bold)}.eui-fieldset__header-label.eui-fieldset__header-label--large{font:var(--eui-f-m)}.eui-fieldset__header-right-content{align-items:center;display:flex;margin-left:auto}.eui-fieldset--highlighted .eui-fieldset__container{background-color:transparent;padding:var(--eui-s-s);z-index:var(--eui-zi-highlighted)}.eui-fieldset--size-l>.eui-fieldset__header>.eui-fieldset__header-label{text-transform:none;font:var(--eui-f-l)}.eui-fieldset--highlighted{z-index:var(--eui-zi-highlighted)}.eui-fieldset--expandable .eui-fieldset__header{cursor:pointer;padding-bottom:var(--eui-s-xs)}.eui-fieldset--primary{--_color: var(--eui-c-primary)}.eui-fieldset--secondary{--_color: var(--eui-c-neutral)}.eui-fieldset--info{--_color: var(--eui-c-info)}.eui-fieldset--success{--_color: var(--eui-c-success)}.eui-fieldset--warning{--_color: var(--eui-c-warning)}.eui-fieldset--danger{--_color: var(--eui-c-danger)}.eui-fieldset .eui-fieldset__header{color:var(--_color)}.eui-fieldset:not(.eui-fieldset--has-icon-color) .eui-icon-svg svg{fill:var(--_color);color:var(--_color)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.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: i3.EuiIconButtonExpanderComponent, selector: "eui-icon-button-expander", inputs: ["fillColor", "size", "ariaLabel", "isExpanded", "isDirectionForward", "euiDisabled"], outputs: ["buttonClick"] }], encapsulation: i0.ViewEncapsulation.None });
77
+ this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0-rc.1", type: _EuiFieldsetComponent, selector: "eui-fieldset", inputs: { e2eAttr: "e2eAttr", id: "id", label: "label", iconClass: "iconClass", iconSvgName: "iconSvgName", iconSvgFillColor: "iconSvgFillColor", hasDefaultIcon: ["hasDefaultIcon", "hasDefaultIcon", booleanAttribute], isExpandable: ["isExpandable", "isExpandable", booleanAttribute], isExpanded: ["isExpanded", "isExpanded", booleanAttribute], isLarge: ["isLarge", "isLarge", booleanAttribute], isFirst: ["isFirst", "isFirst", booleanAttribute] }, outputs: { expand: "expand" }, host: { properties: { "class": "this.cssClasses", "attr.data-e2e": "this.e2eAttr" } }, queries: [{ propertyName: "templates", predicate: EuiTemplateDirective }], usesOnChanges: true, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euiSecondary", "euiSecondary", "euiSuccess", "euiSuccess", "euiInfo", "euiInfo", "euiWarning", "euiWarning", "euiDanger", "euiDanger", "euiAccent", "euiAccent", "euiVariant", "euiVariant", "euiHighlighted", "euiHighlighted"] }], ngImport: i0, template: '<div class="eui-fieldset__container">\n <div *ngIf="label" class="eui-fieldset__header" (click)="onToggle()">\n <div class="eui-fieldset__header-label" [class.eui-fieldset__header-label--large]="isLarge">\n <div *ngIf="iconSvgName" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgName" [fillColor]="iconSvgFillColorType"></eui-icon-svg>\n </div>\n <div *ngIf="hasDefaultIcon" class="eui-fieldset__header-icon">\n <eui-icon-svg [icon]="iconSvgType" [fillColor]="iconSvgFillColorType"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select="euiFieldsetLabelExtraContent"></ng-content>\n </div>\n <div class="eui-fieldset__header-right-content">\n <ng-content select="euiFieldsetLabelRightContent"></ng-content>\n <eui-icon-button-expander *ngIf="isExpandable"\n [isExpanded]="isExpanded"\n isDirectionForward\n fillColor="neutral">\n </eui-icon-button-expander>\n </div>\n </div>\n <div id="fieldset-content" *ngIf="isExpanded" class="eui-fieldset__content">\n @if (lazyContent) {\n <ng-template [ngTemplateOutlet]="lazyContent"></ng-template>\n } @else {\n <ng-content></ng-content>\n }\n </div>\n</div>\n', styles: [".eui-fieldset{--_color: var(--eui-fieldset-color, var(--eui-c-neutral))}.eui-fieldset{display:block;position:relative;width:100%}.eui-fieldset--first{margin-top:var(--eui-s-s)}.eui-fieldset__header{align-items:center;border-bottom:1px solid var(--eui-c-neutral-lightest);display:flex;margin-bottom:var(--eui-s-m);min-height:calc(var(--eui-s-2xl) + var(--eui-s-2xs));text-transform:uppercase}.eui-fieldset__header-icon{align-items:center;display:inline-flex;font-size:var(--eui-is-m);margin-right:var(--eui-s-s)}.eui-fieldset__header-label{align-items:center;display:inline-flex;font:var(--eui-f-s-bold)}.eui-fieldset__header-label.eui-fieldset__header-label--large{font:var(--eui-f-m)}.eui-fieldset__header-right-content{align-items:center;display:flex;margin-left:auto}.eui-fieldset--highlighted .eui-fieldset__container{background-color:transparent;padding:var(--eui-s-s);z-index:var(--eui-zi-highlighted)}.eui-fieldset--size-l>.eui-fieldset__header>.eui-fieldset__header-label{text-transform:none;font:var(--eui-f-l)}.eui-fieldset--highlighted{z-index:var(--eui-zi-highlighted)}.eui-fieldset--expandable .eui-fieldset__header{cursor:pointer;padding-bottom:var(--eui-s-xs)}.eui-fieldset--primary{--_color: var(--eui-c-primary)}.eui-fieldset--secondary{--_color: var(--eui-c-neutral)}.eui-fieldset--info{--_color: var(--eui-c-info)}.eui-fieldset--success{--_color: var(--eui-c-success)}.eui-fieldset--warning{--_color: var(--eui-c-warning)}.eui-fieldset--danger{--_color: var(--eui-c-danger)}.eui-fieldset .eui-fieldset__header{color:var(--_color)}.eui-fieldset:not(.eui-fieldset--has-icon-color) .eui-icon-svg svg{fill:var(--_color);color:var(--_color)}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.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: i4.EuiIconButtonExpanderComponent, selector: "eui-icon-button-expander", inputs: ["fillColor", "size", "ariaLabel", "isExpanded", "isDirectionForward", "euiDisabled"], outputs: ["buttonClick"] }], encapsulation: i0.ViewEncapsulation.None });
77
78
  }
78
79
  };
79
80
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: EuiFieldsetComponent, decorators: [{
@@ -162,6 +163,7 @@ import { NgModule } from "@angular/core";
162
163
  import { CommonModule } from "@angular/common";
163
164
  import { EuiButtonModule } from "@eui/components/eui-button";
164
165
  import { EuiIconModule } from "@eui/components/eui-icon";
166
+ import { EuiIconButtonExpanderModule } from "@eui/components/eui-icon-button-expander";
165
167
  import { BaseStatesDirective as BaseStatesDirective3 } from "@eui/components/shared";
166
168
  import * as i02 from "@angular/core";
167
169
  var EuiFieldsetModule = class _EuiFieldsetModule {
@@ -169,16 +171,16 @@ var EuiFieldsetModule = class _EuiFieldsetModule {
169
171
  this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiFieldsetModule, deps: [], target: i02.ɵɵFactoryTarget.NgModule });
170
172
  }
171
173
  static {
172
- this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiFieldsetModule, declarations: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective], imports: [CommonModule, EuiButtonModule, EuiIconModule, BaseStatesDirective3], exports: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective] });
174
+ this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiFieldsetModule, declarations: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective], imports: [CommonModule, EuiButtonModule, EuiIconModule, EuiIconButtonExpanderModule, BaseStatesDirective3], exports: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective] });
173
175
  }
174
176
  static {
175
- this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiFieldsetModule, imports: [CommonModule, EuiButtonModule, EuiIconModule] });
177
+ this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiFieldsetModule, imports: [CommonModule, EuiButtonModule, EuiIconModule, EuiIconButtonExpanderModule] });
176
178
  }
177
179
  };
178
180
  i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: EuiFieldsetModule, decorators: [{
179
181
  type: NgModule,
180
182
  args: [{
181
- imports: [CommonModule, EuiButtonModule, EuiIconModule, BaseStatesDirective3],
183
+ imports: [CommonModule, EuiButtonModule, EuiIconModule, EuiIconButtonExpanderModule, BaseStatesDirective3],
182
184
  exports: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective],
183
185
  declarations: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective]
184
186
  }]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../eui-fieldset/eui-fieldset.component.ts", "../../eui-fieldset/eui-fieldset.component.html", "../../eui-fieldset/eui-fieldset.module.ts"],
4
- "sourcesContent": ["import {\n AfterContentInit,\n Component,\n ContentChildren,\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n} from '@angular/core';\nimport { EuiTemplateDirective } from '@eui/components/directives';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'eui-fieldset',\n templateUrl: './eui-fieldset.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiHighlighted',\n ],\n },\n ],\n})\nexport class EuiFieldsetComponent implements AfterContentInit, OnChanges {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-fieldset'),\n this.isFirst ? 'eui-fieldset--first' : '',\n this.isExpandable ? 'eui-fieldset--expandable' : '',\n this.iconSvgFillColor ? 'eui-fieldset--has-icon-color': '',\n ].join(' ').trim();\n }\n\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-fieldset';\n\n @Input() id: string;\n @Input() label: string;\n @Input() iconClass: string;\n @Input() iconSvgName: string;\n @Input() iconSvgFillColor: string;\n\n @Input({ transform: booleanAttribute }) hasDefaultIcon = false;\n @Input({ transform: booleanAttribute }) isExpandable = false;\n @Input({ transform: booleanAttribute }) isExpanded = true;\n @Input({ transform: booleanAttribute }) isLarge = false;\n @Input({ transform: booleanAttribute }) isFirst = false;\n\n @Output() expand: EventEmitter<string> = new EventEmitter();\n\n public expandMenuLabel = 'Expand ';\n public collapseMenuLabel = 'Collapse ';\n public iconSvgType = 'eui-info';\n public iconSvgFillColorType;\n\n protected lazyContent: TemplateRef<HTMLElement>;\n @ContentChildren(EuiTemplateDirective) templates: QueryList<EuiTemplateDirective>;\n\n constructor(public baseStatesDirective: BaseStatesDirective) {}\n\n ngOnChanges(): void {\n this.setIcon();\n }\n\n ngAfterContentInit(): void {\n const lazyTemplate = this.templates.filter(t => t.name === 'eui-fieldset-content')[0];\n if (lazyTemplate) {\n this.lazyContent = lazyTemplate.template;\n }\n this.setIcon();\n }\n\n onToggle(): void {\n if (this.isExpandable) {\n this.isExpanded = !this.isExpanded;\n this.expand.emit(this.id);\n }\n }\n\n private setIcon(): void {\n this.iconSvgType = 'eui-ecl-information';\n let fillColorGen = 'info';\n\n if (this.baseStatesDirective.euiWarning) {\n this.iconSvgType = 'eui-ecl-warning';\n fillColorGen = 'warning';\n }\n if (this.baseStatesDirective.euiDanger) {\n this.iconSvgType = 'eui-ecl-error';\n fillColorGen = 'danger';\n }\n if (this.baseStatesDirective.euiSuccess) {\n this.iconSvgType = 'eui-ecl-check-filled';\n fillColorGen = 'success';\n }\n if (this.baseStatesDirective.euiSecondary) {\n this.iconSvgType = 'eui-question';\n fillColorGen = 'neutral';\n }\n\n if (!this.iconSvgFillColor) {\n this.iconSvgFillColorType = fillColorGen;\n } else {\n this.iconSvgFillColorType = this.iconSvgFillColor;\n }\n }\n}\n\n/* eslint-disable */\n@Directive({selector: 'euiFieldsetLabelRightContent'})\nexport class EuiFieldsetLabelRightContentTagDirective {\n}\n@Directive({selector: 'euiFieldsetLabelExtraContent'})\nexport class EuiFieldsetLabelExtraContentTagDirective {\n}\n/* eslint-enable */\n", "<div class=\"eui-fieldset__container\">\n <div *ngIf=\"label\" class=\"eui-fieldset__header\" (click)=\"onToggle()\">\n <div class=\"eui-fieldset__header-label\" [class.eui-fieldset__header-label--large]=\"isLarge\">\n <div *ngIf=\"iconSvgName\" class=\"eui-fieldset__header-icon\">\n <eui-icon-svg [icon]=\"iconSvgName\" [fillColor]=\"iconSvgFillColorType\"></eui-icon-svg>\n </div>\n <div *ngIf=\"hasDefaultIcon\" class=\"eui-fieldset__header-icon\">\n <eui-icon-svg [icon]=\"iconSvgType\" [fillColor]=\"iconSvgFillColorType\"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select=\"euiFieldsetLabelExtraContent\"></ng-content>\n </div>\n <div class=\"eui-fieldset__header-right-content\">\n <ng-content select=\"euiFieldsetLabelRightContent\"></ng-content>\n <eui-icon-button-expander *ngIf=\"isExpandable\"\n [isExpanded]=\"isExpanded\"\n isDirectionForward\n fillColor=\"neutral\">\n </eui-icon-button-expander>\n </div>\n </div>\n <div id=\"fieldset-content\" *ngIf=\"isExpanded\" class=\"eui-fieldset__content\">\n @if (lazyContent) {\n <ng-template [ngTemplateOutlet]=\"lazyContent\"></ng-template>\n } @else {\n <ng-content></ng-content>\n }\n </div>\n</div>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\nimport {\n EuiFieldsetComponent,\n EuiFieldsetLabelExtraContentTagDirective,\n EuiFieldsetLabelRightContentTagDirective,\n} from './eui-fieldset.component';\n@NgModule({\n imports: [CommonModule, EuiButtonModule, EuiIconModule, BaseStatesDirective],\n exports: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective],\n declarations: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective],\n})\nexport class EuiFieldsetModule {}\n"],
5
- "mappings": ";AAAA,SAEI,WACA,iBACA,WACA,cACA,aACA,OAEA,QAGA,mBACA,wBACG;AACP,SAAS,4BAA4B;AAErC,SAAS,2BAA2B;;;;;AAuB9B,IAAO,uBAAP,MAAO,sBAAoB;EAC7B,IACW,aAAU;AACjB,WAAO;MACH,KAAK,oBAAoB,cAAc,cAAc;MACrD,KAAK,UAAU,wBAAwB;MACvC,KAAK,eAAe,6BAA6B;MACjD,KAAK,mBAAmB,iCAAgC;MAC1D,KAAK,GAAG,EAAE,KAAI;EACpB;EA0BA,YAAmB,qBAAwC;AAAxC,SAAA,sBAAA;AAxBoB,SAAA,UAAU;AAQT,SAAA,iBAAiB;AACjB,SAAA,eAAe;AACf,SAAA,aAAa;AACb,SAAA,UAAU;AACV,SAAA,UAAU;AAExC,SAAA,SAA+B,IAAI,aAAY;AAElD,SAAA,k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,CAAA;EAAA;;6GAGzG,oBAAiB,SAAA,CAJhB,cAAc,iBAAiB,aAAa,EAAA,CAAA;EAAA;;kGAI7C,mBAAiB,YAAA,CAAA;QAL7B;SAAS;IACN,SAAS,CAAC,cAAc,iBAAiB,eAAeA,oBAAmB;IAC3E,SAAS,CAAC,sBAAsB,0CAA0C,wCAAwC;IAClH,cAAc,CAAC,sBAAsB,0CAA0C,wCAAwC;GAC1H;;",
4
+ "sourcesContent": ["import {\n AfterContentInit,\n Component,\n ContentChildren,\n Directive,\n EventEmitter,\n HostBinding,\n Input,\n OnChanges,\n Output,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n booleanAttribute,\n} from '@angular/core';\nimport { EuiTemplateDirective } from '@eui/components/directives';\n\nimport { BaseStatesDirective } from '@eui/components/shared';\n\n@Component({\n selector: 'eui-fieldset',\n templateUrl: './eui-fieldset.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: BaseStatesDirective,\n inputs: [\n 'euiSecondary',\n 'euiSuccess',\n 'euiInfo',\n 'euiWarning',\n 'euiDanger',\n 'euiAccent',\n 'euiVariant',\n 'euiHighlighted',\n ],\n },\n ],\n})\nexport class EuiFieldsetComponent implements AfterContentInit, OnChanges {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n this.baseStatesDirective.getCssClasses('eui-fieldset'),\n this.isFirst ? 'eui-fieldset--first' : '',\n this.isExpandable ? 'eui-fieldset--expandable' : '',\n this.iconSvgFillColor ? 'eui-fieldset--has-icon-color': '',\n ].join(' ').trim();\n }\n\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-fieldset';\n\n @Input() id: string;\n @Input() label: string;\n @Input() iconClass: string;\n @Input() iconSvgName: string;\n @Input() iconSvgFillColor: string;\n\n @Input({ transform: booleanAttribute }) hasDefaultIcon = false;\n @Input({ transform: booleanAttribute }) isExpandable = false;\n @Input({ transform: booleanAttribute }) isExpanded = true;\n @Input({ transform: booleanAttribute }) isLarge = false;\n @Input({ transform: booleanAttribute }) isFirst = false;\n\n @Output() expand: EventEmitter<string> = new EventEmitter();\n\n public expandMenuLabel = 'Expand ';\n public collapseMenuLabel = 'Collapse ';\n public iconSvgType = 'eui-info';\n public iconSvgFillColorType;\n\n protected lazyContent: TemplateRef<HTMLElement>;\n @ContentChildren(EuiTemplateDirective) templates: QueryList<EuiTemplateDirective>;\n\n constructor(public baseStatesDirective: BaseStatesDirective) {}\n\n ngOnChanges(): void {\n this.setIcon();\n }\n\n ngAfterContentInit(): void {\n const lazyTemplate = this.templates.filter(t => t.name === 'eui-fieldset-content')[0];\n if (lazyTemplate) {\n this.lazyContent = lazyTemplate.template;\n }\n this.setIcon();\n }\n\n onToggle(): void {\n if (this.isExpandable) {\n this.isExpanded = !this.isExpanded;\n this.expand.emit(this.id);\n }\n }\n\n private setIcon(): void {\n this.iconSvgType = 'eui-ecl-information';\n let fillColorGen = 'info';\n\n if (this.baseStatesDirective.euiWarning) {\n this.iconSvgType = 'eui-ecl-warning';\n fillColorGen = 'warning';\n }\n if (this.baseStatesDirective.euiDanger) {\n this.iconSvgType = 'eui-ecl-error';\n fillColorGen = 'danger';\n }\n if (this.baseStatesDirective.euiSuccess) {\n this.iconSvgType = 'eui-ecl-check-filled';\n fillColorGen = 'success';\n }\n if (this.baseStatesDirective.euiSecondary) {\n this.iconSvgType = 'eui-question';\n fillColorGen = 'neutral';\n }\n\n if (!this.iconSvgFillColor) {\n this.iconSvgFillColorType = fillColorGen;\n } else {\n this.iconSvgFillColorType = this.iconSvgFillColor;\n }\n }\n}\n\n/* eslint-disable */\n@Directive({selector: 'euiFieldsetLabelRightContent'})\nexport class EuiFieldsetLabelRightContentTagDirective {\n}\n@Directive({selector: 'euiFieldsetLabelExtraContent'})\nexport class EuiFieldsetLabelExtraContentTagDirective {\n}\n/* eslint-enable */\n", "<div class=\"eui-fieldset__container\">\n <div *ngIf=\"label\" class=\"eui-fieldset__header\" (click)=\"onToggle()\">\n <div class=\"eui-fieldset__header-label\" [class.eui-fieldset__header-label--large]=\"isLarge\">\n <div *ngIf=\"iconSvgName\" class=\"eui-fieldset__header-icon\">\n <eui-icon-svg [icon]=\"iconSvgName\" [fillColor]=\"iconSvgFillColorType\"></eui-icon-svg>\n </div>\n <div *ngIf=\"hasDefaultIcon\" class=\"eui-fieldset__header-icon\">\n <eui-icon-svg [icon]=\"iconSvgType\" [fillColor]=\"iconSvgFillColorType\"></eui-icon-svg>\n </div>\n <span euiLabel>{{ label }}</span>\n <ng-content select=\"euiFieldsetLabelExtraContent\"></ng-content>\n </div>\n <div class=\"eui-fieldset__header-right-content\">\n <ng-content select=\"euiFieldsetLabelRightContent\"></ng-content>\n <eui-icon-button-expander *ngIf=\"isExpandable\"\n [isExpanded]=\"isExpanded\"\n isDirectionForward\n fillColor=\"neutral\">\n </eui-icon-button-expander>\n </div>\n </div>\n <div id=\"fieldset-content\" *ngIf=\"isExpanded\" class=\"eui-fieldset__content\">\n @if (lazyContent) {\n <ng-template [ngTemplateOutlet]=\"lazyContent\"></ng-template>\n } @else {\n <ng-content></ng-content>\n }\n </div>\n</div>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiIconButtonExpanderModule } from '@eui/components/eui-icon-button-expander';\nimport { BaseStatesDirective } from '@eui/components/shared';\n\nimport {\n EuiFieldsetComponent,\n EuiFieldsetLabelExtraContentTagDirective,\n EuiFieldsetLabelRightContentTagDirective,\n} from './eui-fieldset.component';\n@NgModule({\n imports: [CommonModule, EuiButtonModule, EuiIconModule, EuiIconButtonExpanderModule, BaseStatesDirective],\n exports: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective],\n declarations: [EuiFieldsetComponent, EuiFieldsetLabelRightContentTagDirective, EuiFieldsetLabelExtraContentTagDirective],\n})\nexport class EuiField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AAA,CAAA,GAAA,QAAA,mBAAA,UAAA,CAAA;EAAA;;8FAAxC,2CAAwC,UAAA,gCAAA,UAAA,GAAA,CAAA;EAAA;;gGAAxC,0CAAwC,YAAA,CAAA;QADpD;SAAU,EAAC,UAAU,+BAA8B,CAAC;;;;AEjIrD,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAE7B,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAC9B,SAAS,mCAAmC;AAC5C,SAAS,uBAAAA,4BAA2B;;AAY9B,IAAO,oBAAP,MAAO,mBAAiB;;4GAAjB,oBAAiB,MAAA,CAAA,GAAA,QAAA,oBAAA,SAAA,CAAA;EAAA;;6GAAjB,oBAAiB,cAAA,CAFX,sBAAsB,0CAA0C,wCAAwC,GAAA,SAAA,CAF7G,cAAc,iBAAiB,eAAe,6BAA6BA,oBAAmB,GAAA,SAAA,CAC9F,sBAAsB,0CAA0C,wCAAwC,EAAA,CAAA;EAAA;;6GAGzG,oBAAiB,SAAA,CAJhB,cAAc,iBAAiB,eAAe,2BAA2B,EAAA,CAAA;EAAA;;kGAI1E,mBAAiB,YAAA,CAAA;QAL7B;SAAS;IACN,SAAS,CAAC,cAAc,iBAAiB,eAAe,6BAA6BA,oBAAmB;IACxG,SAAS,CAAC,sBAAsB,0CAA0C,wCAAwC;IAClH,cAAc,CAAC,sBAAsB,0CAA0C,wCAAwC;GAC1H;;",
6
6
  "names": ["BaseStatesDirective"]
7
7
  }
@@ -3,7 +3,8 @@ import { booleanAttribute, Component, EventEmitter, HostBinding, HostListener, I
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/common";
5
5
  import * as i2 from "@eui/components/eui-icon";
6
- import * as i3 from "@ngx-translate/core";
6
+ import * as i3 from "@eui/components/eui-icon-button";
7
+ import * as i4 from "@ngx-translate/core";
7
8
  var EuiGrowlComponent = class _EuiGrowlComponent {
8
9
  get cssClasses() {
9
10
  return ["eui-growl", `eui-growl--${this.position}`].join(" ").trim();
@@ -125,7 +126,7 @@ var EuiGrowlComponent = class _EuiGrowlComponent {
125
126
  <div class="eui-growl-item-close eui-icon eui-icon-close-m" (click)="removeAll()"></div>
126
127
  </div>
127
128
  </div>
128
- `, styles: [".eui-growl{--_bg-color: var(--eui-growl-color, var(--eui-c-primary));--_color-on-bg: var(--eui-growl-color-on-bg, var(--eui-c-primary-contrast))}.eui-growl{position:fixed;width:20rem;z-index:var(--eui-zi-growl-message)}.eui-growl--bottom-left{bottom:var(--eui-s-l);left:var(--eui-s-l)}.eui-growl--bottom-center{bottom:var(--eui-s-l);right:50%;transform:translate(50%)}.eui-growl--bottom-right{bottom:var(--eui-s-l);right:var(--eui-s-l)}.eui-growl--top-left{left:var(--eui-s-l);top:var(--eui-s-l)}.eui-growl--top-center{right:50%;top:var(--eui-s-l);transform:translate(50%)}.eui-growl--top-right{right:var(--eui-s-l);top:var(--eui-s-l)}.eui-growl a{color:var(--eui-c-white)!important;text-decoration:underline}.eui-growl-item-container{filter:alpha(opacity=95);margin:0 0 10px;opacity:.95;position:relative}.eui-growl-item-image{display:flex;text-shadow:1px 1px 1px rgba(0,0,0,.25)}.eui-growl-item{display:flex;padding:var(--eui-s-s);position:relative;width:20rem}.eui-growl-item-close{align-items:flex-start;margin:-.5rem -.5rem 0 auto}.eui-growl-item-message{display:block;margin-left:var(--eui-s-s);max-height:80vh;overflow-y:auto;overflow-wrap:break-word}.eui-growl-item-message::-webkit-scrollbar{display:inherit;height:6px;width:6px;background-color:var(--eui-c-neutral-bg-light)}.eui-growl-item-message::-webkit-scrollbar-thumb{background-color:var(--eui-c-neutral-lightest);border-radius:5rem}.eui-growl-item-message::-webkit-scrollbar-thumb:hover{background-color:var(--eui-c-neutral-lighter)}.eui-growl-item-message::-webkit-scrollbar-track{background-color:var(--eui-c-neutral-bg-light);border-radius:0}.eui-growl-item-message code{color:var(--eui-c-neutral-bg-light);font:var(--eui-f-xs);word-wrap:break-word}.eui-growl-item-message-title{display:block;padding:var(--eui-s-2xs) 0 var(--eui-s-xs) 0;font:var(--eui-f-m-bold)}.eui-growl-item-message-detail{display:block;margin:0;padding:0}.eui-growl-item-container--primary{--_bg-color: var(--eui-c-primary);--_color-on-bg: var(--eui-c-primary-contrast)}.eui-growl-item-container--info{--_bg-color: var(--eui-c-info);--_color-on-bg: var(--eui-c-info-contrast)}.eui-growl-item-container--success{--_bg-color: var(--eui-c-success);--_color-on-bg: var(--eui-c-success-contrast)}.eui-growl-item-container--warning{--_bg-color: var(--eui-c-warning);--_color-on-bg: var(--eui-c-warning-contrast)}.eui-growl-item-container--danger{--_bg-color: var(--eui-c-danger);--_color-on-bg: var(--eui-c-danger-contrast)}.eui-growl-item-container{background-color:var(--_bg-color);color:var(--_color-on-bg)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i2.EuiIconButtonComponent, selector: "eui-icon-button", inputs: ["icon", "fillColor", "size", "ariaLabel", "hasFocusBorder", "hasNoPadding"], outputs: ["buttonClick"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
129
+ `, styles: [".eui-growl{--_bg-color: var(--eui-growl-color, var(--eui-c-primary));--_color-on-bg: var(--eui-growl-color-on-bg, var(--eui-c-primary-contrast))}.eui-growl{position:fixed;width:20rem;z-index:var(--eui-zi-growl-message)}.eui-growl--bottom-left{bottom:var(--eui-s-l);left:var(--eui-s-l)}.eui-growl--bottom-center{bottom:var(--eui-s-l);right:50%;transform:translate(50%)}.eui-growl--bottom-right{bottom:var(--eui-s-l);right:var(--eui-s-l)}.eui-growl--top-left{left:var(--eui-s-l);top:var(--eui-s-l)}.eui-growl--top-center{right:50%;top:var(--eui-s-l);transform:translate(50%)}.eui-growl--top-right{right:var(--eui-s-l);top:var(--eui-s-l)}.eui-growl a{color:var(--eui-c-white)!important;text-decoration:underline}.eui-growl-item-container{filter:alpha(opacity=95);margin:0 0 10px;opacity:.95;position:relative}.eui-growl-item-image{display:flex;text-shadow:1px 1px 1px rgba(0,0,0,.25)}.eui-growl-item{display:flex;padding:var(--eui-s-s);position:relative;width:20rem}.eui-growl-item-close{align-items:flex-start;margin:-.5rem -.5rem 0 auto}.eui-growl-item-message{display:block;margin-left:var(--eui-s-s);max-height:80vh;overflow-y:auto;overflow-wrap:break-word}.eui-growl-item-message::-webkit-scrollbar{display:inherit;height:6px;width:6px;background-color:var(--eui-c-neutral-bg-light)}.eui-growl-item-message::-webkit-scrollbar-thumb{background-color:var(--eui-c-neutral-lightest);border-radius:5rem}.eui-growl-item-message::-webkit-scrollbar-thumb:hover{background-color:var(--eui-c-neutral-lighter)}.eui-growl-item-message::-webkit-scrollbar-track{background-color:var(--eui-c-neutral-bg-light);border-radius:0}.eui-growl-item-message code{color:var(--eui-c-neutral-bg-light);font:var(--eui-f-xs);word-wrap:break-word}.eui-growl-item-message-title{display:block;padding:var(--eui-s-2xs) 0 var(--eui-s-xs) 0;font:var(--eui-f-m-bold)}.eui-growl-item-message-detail{display:block;margin:0;padding:0}.eui-growl-item-container--primary{--_bg-color: var(--eui-c-primary);--_color-on-bg: var(--eui-c-primary-contrast)}.eui-growl-item-container--info{--_bg-color: var(--eui-c-info);--_color-on-bg: var(--eui-c-info-contrast)}.eui-growl-item-container--success{--_bg-color: var(--eui-c-success);--_color-on-bg: var(--eui-c-success-contrast)}.eui-growl-item-container--warning{--_bg-color: var(--eui-c-warning);--_color-on-bg: var(--eui-c-warning-contrast)}.eui-growl-item-container--danger{--_bg-color: var(--eui-c-danger);--_color-on-bg: var(--eui-c-danger-contrast)}.eui-growl-item-container{background-color:var(--_bg-color);color:var(--_color-on-bg)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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", "fillColor", "set", "size", "style", "iconUrl", "transform", "euiVariant", "aria-label", "ariaHidden", "focusable", "isLoading", "isInputIcon", "euiStart", "euiEnd"] }, { kind: "component", type: i3.EuiIconButtonComponent, selector: "eui-icon-button", inputs: ["icon", "fillColor", "size", "ariaLabel", "hasFocusBorder", "hasNoPadding"], outputs: ["buttonClick"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
129
130
  }
130
131
  };
131
132
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: EuiGrowlComponent, decorators: [{
@@ -210,6 +211,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ng
210
211
  import { NgModule } from "@angular/core";
211
212
  import { CommonModule } from "@angular/common";
212
213
  import { EuiIconModule } from "@eui/components/eui-icon";
214
+ import { EuiIconButtonModule } from "@eui/components/eui-icon-button";
213
215
  import { TranslateModule } from "@ngx-translate/core";
214
216
  import * as i02 from "@angular/core";
215
217
  var EuiGrowlModule = class _EuiGrowlModule {
@@ -217,16 +219,16 @@ var EuiGrowlModule = class _EuiGrowlModule {
217
219
  this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiGrowlModule, deps: [], target: i02.ɵɵFactoryTarget.NgModule });
218
220
  }
219
221
  static {
220
- this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiGrowlModule, declarations: [EuiGrowlComponent], imports: [CommonModule, EuiIconModule, TranslateModule], exports: [EuiGrowlComponent] });
222
+ this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiGrowlModule, declarations: [EuiGrowlComponent], imports: [CommonModule, EuiIconModule, EuiIconButtonModule, TranslateModule], exports: [EuiGrowlComponent] });
221
223
  }
222
224
  static {
223
- this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiGrowlModule, imports: [CommonModule, EuiIconModule, TranslateModule] });
225
+ this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiGrowlModule, imports: [CommonModule, EuiIconModule, EuiIconButtonModule, TranslateModule] });
224
226
  }
225
227
  };
226
228
  i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: EuiGrowlModule, decorators: [{
227
229
  type: NgModule,
228
230
  args: [{
229
- imports: [CommonModule, EuiIconModule, TranslateModule],
231
+ imports: [CommonModule, EuiIconModule, EuiIconButtonModule, TranslateModule],
230
232
  exports: [EuiGrowlComponent],
231
233
  declarations: [EuiGrowlComponent]
232
234
  }]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../eui-growl/eui-growl.component.ts", "../../eui-growl/eui-growl.component.html", "../../eui-growl/eui-growl.module.ts"],
4
- "sourcesContent": ["import {\n booleanAttribute,\n Component,\n DoCheck,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n IterableDiffer,\n IterableDiffers,\n OnDestroy,\n Output,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EuiGrowlMessage } from '@eui/base';\n\n@Component({\n selector: 'eui-growl',\n templateUrl: './eui-growl.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiGrowlComponent implements DoCheck, OnDestroy {\n @Input({ transform: booleanAttribute }) sticky = false;\n @Input() life = 3000;\n @Input() value: EuiGrowlMessage[] = [];\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style: any;\n @HostBinding('class')\n get cssClasses(): string {\n return ['eui-growl', `eui-growl--${this.position}`].join(' ').trim();\n }\n @Input() position: string;\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-growl';\n @Output() growlClick: EventEmitter<void> = new EventEmitter<void>();\n @Input() closeAllSticky = false;\n\n @HostBinding('attr.role')\n protected role = 'region';\n @HostBinding('attr.aria-live')\n protected ariaLive= 'polite';\n private differ: IterableDiffer<EuiGrowlMessage>;\n\n constructor(\n public el: ElementRef,\n differs: IterableDiffers,\n ) {\n this.differ = differs.find([]).create(undefined);\n }\n\n ngDoCheck(): void {\n const changes = this.differ.diff(this.value);\n\n if (changes) {\n // clear timeout in queue to avoid memory leak\n changes.forEachRemovedItem(({ item }) => clearTimeout(item?.timeout));\n // for newly added items create timeout if they are not sticky\n changes.forEachAddedItem(({ item }) => this.createRemovalTimeout(item));\n }\n }\n\n /**\n * @param msg The text message to appear in the container\n */\n remove(msg: EuiGrowlMessage): void;\n /**\n * @deprecated This is DEPRECATED please use it like remove(msg: UxMessage);\n * @param msg\n * @param msgel @deprecated\n */\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n remove(msg: EuiGrowlMessage, msgel?: any): void {\n if (msgel) {\n console.warn(\n 'This is DEPRECATED please use it like remove(msg: UxMessage);\\n' + 'This will be a breaking change in the eUI release.',\n );\n }\n this.value.splice(this.findMessageIndex(msg), 1);\n }\n\n /**\n * Removes all growl messages from the stack\n */\n removeAll(): void {\n if (this.value?.length) {\n this.value.splice(0, this.value.length);\n }\n }\n\n ngOnDestroy(): void {\n if (!this.sticky) {\n // make sure to clear any leftover async Timeout for messages\n this.value.forEach((v) => clearTimeout(v?.timeout));\n }\n }\n\n @HostListener('click')\n onClick(): void {\n this.growlClick.emit();\n }\n\n /**\n * check whether sticky growls are greater than two\n */\n isGrowlMoreThanTwo(): boolean {\n return this.value.filter((m) => m.sticky).length > 2;\n }\n\n /**\n * Removes all growl messages from the stack\n *\n * @param msg UxMessage\n */\n private createRemovalTimeout(value: EuiGrowlMessage): void {\n // if message it's NOT sticky and there's not any async running timeout\n if (!value.sticky && !value.timeout) {\n // set Timeout callback for each message based on the given life value\n value.timeout = setTimeout(() => this.remove(value), value.life || this.life);\n }\n }\n\n /**\n * Finds UxMessage index of the array otherwise returns -1\n *\n * @param msg UxMessage\n */\n private findMessageIndex(msg: EuiGrowlMessage): number {\n return this.value?.length ? this.value.findIndex((value) => value === msg) : -1;\n }\n}\n", "<div\n #msgel\n *ngFor=\"let msg of value\"\n class=\"eui-growl-item-container eui-u-anim eui-u-anim--fast\"\n [ngClass]=\"{\n 'eui-growl-item-container--info eui--info': msg.severity === 'info',\n 'eui-growl-item-container--warning eui--warning': msg.severity === 'warning',\n 'eui-growl-item-container--danger eui--danger': msg.severity === 'danger',\n 'eui-growl-item-container--success eui--success': msg.severity === 'success',\n 'eui-growl--sticky': sticky\n }\"\n [class.eui-u-anim--slideInUp]=\"position === 'bottom-left' || position === 'bottom-center' || position === 'bottom-right'\"\n [class.eui-u-anim--slideInDown]=\"position === 'top-left' || position === 'top-center' || position === 'top-right'\">\n <div class=\"eui-growl-item\">\n <eui-icon-svg *ngIf=\"msg.severity === 'info'\" icon=\"eui-ecl-information\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"msg.severity === 'warning'\" icon=\"eui-ecl-warning\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"msg.severity === 'danger'\" icon=\"eui-ecl-error\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"msg.severity === 'success'\" icon=\"eui-ecl-check-filled\"></eui-icon-svg>\n\n <div class=\"eui-growl-item-message\">\n <span class=\"eui-growl-item-message-title\">{{ msg.summary }}</span>\n <p class=\"eui-growl-item-message-detail\" [innerHTML]=\"msg.detail\"></p>\n </div>\n <eui-icon-button\n (click)=\"remove(msg)\"\n icon=\"eui-ecl-close\"\n ariaLabel=\"Close growl icon\"\n class=\"eui-growl-item-close\">\n </eui-icon-button>\n </div>\n</div>\n<div\n class=\"eui-growl-item-container eui-u-anim eui-u-anim--fast eui-growl-item-container--info\"\n *ngIf=\"closeAllSticky && isGrowlMoreThanTwo()\">\n <div class=\"eui-growl-item\">\n <div class=\"eui-growl-item-message\">\n <span class=\"eui-growl-item-message-title\">{{ 'eui.growl.dismiss-all' | translate }}</span>\n </div>\n <div class=\"eui-growl-item-close eui-icon eui-icon-close-m\" (click)=\"removeAll()\"></div>\n </div>\n </div>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EuiGrowlComponent } from './eui-growl.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { TranslateModule } from '@ngx-translate/core';\n\n@NgModule({\n imports: [CommonModule, EuiIconModule, TranslateModule],\n exports: [EuiGrowlComponent],\n declarations: [EuiGrowlComponent],\n})\nexport class EuiGrowlModule {}\n"],
5
- "mappings": ";AAAA,SACI,kBACA,WAGA,cACA,aACA,cACA,OAIA,QACA,yBACG;;;;;AASD,IAAO,oBAAP,MAAO,mBAAiB;EAO1B,IACI,aAAU;AACV,WAAO,CAAC,aAAa,cAAc,KAAK,QAAQ,EAAE,EAAE,KAAK,GAAG,EAAE,KAAI;EACtE;EAYA,YACW,IACP,SAAwB;AADjB,SAAA,KAAA;AAtB6B,SAAA,SAAS;AACxC,SAAA,O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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAA,QAAA,CAAA,u/EAAA,EAAA,CAAA;qGAGG,QAAM,CAAA;QAA7C;SAAM,EAAE,WAAW,iBAAgB,CAAE;IAC7B,MAAI,CAAA;QAAZ;IACQ,OAAK,CAAA;QAAb;IAGQ,OAAK,CAAA;QAAb;IAEG,YAAU,CAAA;QADb;SAAY,OAAO;IAIX,UAAQ,CAAA;QAAhB;IACsC,SAAO,CAAA;QAA7C;SAAY,eAAe;;QAAG;IACrB,YAAU,CAAA;QAAnB;IACQ,gBAAc,CAAA;QAAtB;IAGS,MAAI,CAAA;QADb;SAAY,WAAW;IAGd,UAAQ,CAAA;QADjB;SAAY,gBAAgB;IA2D7B,SAAO,CAAA;QADN;SAAa,OAAO;;;;AEnGzB,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAE7B,SAAS,qBAAqB;AAC9B,SAAS,uBAAuB;;AAO1B,IAAO,iBAAP,MAAO,gBAAc;;4GAAd,iBAAc,MAAA,CAAA,GAAA,QAAA,oBAAA,SAAA,CAAA;EAAA;;6GAAd,iBAAc,cAAA,CAFR,iBAAiB,GAAA,SAAA,CAFtB,cAAc,eAAe,eAAe,GAAA,SAAA,CAC5C,iBAAiB,EAAA,CAAA;EAAA;;6GAGlB,iBAAc,SAAA,CAJb,cAAc,eAAe,eAAe,EAAA,CAAA;EAAA;;kGAI7C,gBAAc,YAAA,CAAA;QAL1B;SAAS;IACN,SAAS,CAAC,cAAc,eAAe,eAAe;IACtD,SAAS,CAAC,iBAAiB;IAC3B,cAAc,CAAC,iBAAiB;GACnC;;",
4
+ "sourcesContent": ["import {\n booleanAttribute,\n Component,\n DoCheck,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n Input,\n IterableDiffer,\n IterableDiffers,\n OnDestroy,\n Output,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EuiGrowlMessage } from '@eui/base';\n\n@Component({\n selector: 'eui-growl',\n templateUrl: './eui-growl.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiGrowlComponent implements DoCheck, OnDestroy {\n @Input({ transform: booleanAttribute }) sticky = false;\n @Input() life = 3000;\n @Input() value: EuiGrowlMessage[] = [];\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style: any;\n @HostBinding('class')\n get cssClasses(): string {\n return ['eui-growl', `eui-growl--${this.position}`].join(' ').trim();\n }\n @Input() position: string;\n @HostBinding('attr.data-e2e') @Input() e2eAttr = 'eui-growl';\n @Output() growlClick: EventEmitter<void> = new EventEmitter<void>();\n @Input() closeAllSticky = false;\n\n @HostBinding('attr.role')\n protected role = 'region';\n @HostBinding('attr.aria-live')\n protected ariaLive= 'polite';\n private differ: IterableDiffer<EuiGrowlMessage>;\n\n constructor(\n public el: ElementRef,\n differs: IterableDiffers,\n ) {\n this.differ = differs.find([]).create(undefined);\n }\n\n ngDoCheck(): void {\n const changes = this.differ.diff(this.value);\n\n if (changes) {\n // clear timeout in queue to avoid memory leak\n changes.forEachRemovedItem(({ item }) => clearTimeout(item?.timeout));\n // for newly added items create timeout if they are not sticky\n changes.forEachAddedItem(({ item }) => this.createRemovalTimeout(item));\n }\n }\n\n /**\n * @param msg The text message to appear in the container\n */\n remove(msg: EuiGrowlMessage): void;\n /**\n * @deprecated This is DEPRECATED please use it like remove(msg: UxMessage);\n * @param msg\n * @param msgel @deprecated\n */\n // TODO: find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n remove(msg: EuiGrowlMessage, msgel?: any): void {\n if (msgel) {\n console.warn(\n 'This is DEPRECATED please use it like remove(msg: UxMessage);\\n' + 'This will be a breaking change in the eUI release.',\n );\n }\n this.value.splice(this.findMessageIndex(msg), 1);\n }\n\n /**\n * Removes all growl messages from the stack\n */\n removeAll(): void {\n if (this.value?.length) {\n this.value.splice(0, this.value.length);\n }\n }\n\n ngOnDestroy(): void {\n if (!this.sticky) {\n // make sure to clear any leftover async Timeout for messages\n this.value.forEach((v) => clearTimeout(v?.timeout));\n }\n }\n\n @HostListener('click')\n onClick(): void {\n this.growlClick.emit();\n }\n\n /**\n * check whether sticky growls are greater than two\n */\n isGrowlMoreThanTwo(): boolean {\n return this.value.filter((m) => m.sticky).length > 2;\n }\n\n /**\n * Removes all growl messages from the stack\n *\n * @param msg UxMessage\n */\n private createRemovalTimeout(value: EuiGrowlMessage): void {\n // if message it's NOT sticky and there's not any async running timeout\n if (!value.sticky && !value.timeout) {\n // set Timeout callback for each message based on the given life value\n value.timeout = setTimeout(() => this.remove(value), value.life || this.life);\n }\n }\n\n /**\n * Finds UxMessage index of the array otherwise returns -1\n *\n * @param msg UxMessage\n */\n private findMessageIndex(msg: EuiGrowlMessage): number {\n return this.value?.length ? this.value.findIndex((value) => value === msg) : -1;\n }\n}\n", "<div\n #msgel\n *ngFor=\"let msg of value\"\n class=\"eui-growl-item-container eui-u-anim eui-u-anim--fast\"\n [ngClass]=\"{\n 'eui-growl-item-container--info eui--info': msg.severity === 'info',\n 'eui-growl-item-container--warning eui--warning': msg.severity === 'warning',\n 'eui-growl-item-container--danger eui--danger': msg.severity === 'danger',\n 'eui-growl-item-container--success eui--success': msg.severity === 'success',\n 'eui-growl--sticky': sticky\n }\"\n [class.eui-u-anim--slideInUp]=\"position === 'bottom-left' || position === 'bottom-center' || position === 'bottom-right'\"\n [class.eui-u-anim--slideInDown]=\"position === 'top-left' || position === 'top-center' || position === 'top-right'\">\n <div class=\"eui-growl-item\">\n <eui-icon-svg *ngIf=\"msg.severity === 'info'\" icon=\"eui-ecl-information\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"msg.severity === 'warning'\" icon=\"eui-ecl-warning\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"msg.severity === 'danger'\" icon=\"eui-ecl-error\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"msg.severity === 'success'\" icon=\"eui-ecl-check-filled\"></eui-icon-svg>\n\n <div class=\"eui-growl-item-message\">\n <span class=\"eui-growl-item-message-title\">{{ msg.summary }}</span>\n <p class=\"eui-growl-item-message-detail\" [innerHTML]=\"msg.detail\"></p>\n </div>\n <eui-icon-button\n (click)=\"remove(msg)\"\n icon=\"eui-ecl-close\"\n ariaLabel=\"Close growl icon\"\n class=\"eui-growl-item-close\">\n </eui-icon-button>\n </div>\n</div>\n<div\n class=\"eui-growl-item-container eui-u-anim eui-u-anim--fast eui-growl-item-container--info\"\n *ngIf=\"closeAllSticky && isGrowlMoreThanTwo()\">\n <div class=\"eui-growl-item\">\n <div class=\"eui-growl-item-message\">\n <span class=\"eui-growl-item-message-title\">{{ 'eui.growl.dismiss-all' | translate }}</span>\n </div>\n <div class=\"eui-growl-item-close eui-icon eui-icon-close-m\" (click)=\"removeAll()\"></div>\n </div>\n </div>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EuiGrowlComponent } from './eui-growl.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiIconButtonModule } from '@eui/components/eui-icon-button';\nimport { TranslateModule } from '@ngx-translate/core';\n\n@NgModule({\n imports: [CommonModule, EuiIconModule, EuiIconButtonModule, TranslateModule],\n exports: [EuiGrowlComponent],\n declarations: [EuiGrowlComponent],\n})\nexport class EuiGrowlModule {}\n"],
5
+ "mappings": ";AAAA,SACI,kBACA,WAGA,cACA,aACA,cACA,OAIA,QACA,yBACG;;;;;;AASD,IAAO,oBAAP,MAAO,mBAAiB;EAO1B,IACI,aAAU;AACV,WAAO,CAAC,aAAa,cAAc,KAAK,QAAQ,EAAE,EAAE,KAAK,GAAG,EAAE,KAAI;EACtE;EAYA,YACW,IACP,SAAwB;AADjB,SAAA,KAAA;AAtB6B,SAAA,SAAS;AACxC,SAAA,OAAO;AACP,SAAA,QAA2B,CAAA;AASG,SAAA,UAAU;AACvC,SAAA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,CAAA,u/EAAA,EAAA,CAAA;qGAGG,QAAM,CAAA;QAA7C;SAAM,EAAE,WAAW,iBAAgB,CAAE;IAC7B,MAAI,CAAA;QAAZ;IACQ,OAAK,CAAA;QAAb;IAGQ,OAAK,CAAA;QAAb;IAEG,YAAU,CAAA;QADb;SAAY,OAAO;IAIX,UAAQ,CAAA;QAAhB;IACsC,SAAO,CAAA;QAA7C;SAAY,eAAe;;QAAG;IACrB,YAAU,CAAA;QAAnB;IACQ,gBAAc,CAAA;QAAtB;IAGS,MAAI,CAAA;QADb;SAAY,WAAW;IAGd,UAAQ,CAAA;QADjB;SAAY,gBAAgB;IA2D7B,SAAO,CAAA;QADN;SAAa,OAAO;;;;AEnGzB,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAE7B,SAAS,qBAAqB;AAC9B,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;;AAO1B,IAAO,iBAAP,MAAO,gBAAc;;4GAAd,iBAAc,MAAA,CAAA,GAAA,QAAA,oBAAA,SAAA,CAAA;EAAA;;6GAAd,iBAAc,cAAA,CAFR,iBAAiB,GAAA,SAAA,CAFtB,cAAc,eAAe,qBAAqB,eAAe,GAAA,SAAA,CACjE,iBAAiB,EAAA,CAAA;EAAA;;6GAGlB,iBAAc,SAAA,CAJb,cAAc,eAAe,qBAAqB,eAAe,EAAA,CAAA;EAAA;;kGAIlE,gBAAc,YAAA,CAAA;QAL1B;SAAS;IACN,SAAS,CAAC,cAAc,eAAe,qBAAqB,eAAe;IAC3E,SAAS,CAAC,iBAAiB;IAC3B,cAAc,CAAC,iBAAiB;GACnC;;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,137 @@
1
+ // eui-icon-button-expander.component.mjs
2
+ import { Component, HostBinding, Input, Output, EventEmitter, booleanAttribute, ChangeDetectionStrategy } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@eui/components/eui-icon";
5
+ var EuiIconButtonExpanderComponent = class _EuiIconButtonExpanderComponent {
6
+ constructor() {
7
+ this.size = "m";
8
+ this.isExpanded = false;
9
+ this.isDirectionForward = false;
10
+ this.euiDisabled = false;
11
+ this.buttonClick = new EventEmitter();
12
+ }
13
+ get cssClasses() {
14
+ return [
15
+ "eui-icon-button-expander",
16
+ this.isDirectionForward ? "eui-icon-button-expander--direction-forward" : ""
17
+ ].join(" ").trim();
18
+ }
19
+ onClick(event) {
20
+ this.buttonClick.emit(event);
21
+ }
22
+ static {
23
+ this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: _EuiIconButtonExpanderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ }
25
+ static {
26
+ this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0-rc.1", type: _EuiIconButtonExpanderComponent, selector: "eui-icon-button-expander", inputs: { fillColor: "fillColor", size: "size", ariaLabel: "ariaLabel", isExpanded: ["isExpanded", "isExpanded", booleanAttribute], isDirectionForward: ["isDirectionForward", "isDirectionForward", booleanAttribute], euiDisabled: ["euiDisabled", "euiDisabled", booleanAttribute] }, outputs: { buttonClick: "buttonClick" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: `<button
27
+ type="button"
28
+ class="eui-icon-button-expander-toggle"
29
+ [class.eui-icon-button-expander-toggle--expanded]="isExpanded"
30
+ [attr.aria-label]="!isExpanded ? 'expanded' : 'collapsed'"
31
+ [attr.aria-expanded]="isExpanded"
32
+ aria-controls="expander-content"
33
+ (click)="onClick($event)">
34
+ @if (fillColor) {
35
+ @if (isDirectionForward) {
36
+ <eui-icon-svg icon="chevron-forward:sharp" fillColor="{{fillColor}}" size="{{size}}"></eui-icon-svg>
37
+ } @else {
38
+ <eui-icon-svg icon="chevron-down:sharp" fillColor="{{fillColor}}" size="{{size}}"></eui-icon-svg>
39
+ }
40
+
41
+ } @else {
42
+ @if (isDirectionForward) {
43
+ <eui-icon-svg icon="chevron-forward:sharp" size="{{size}}"></eui-icon-svg>
44
+ } @else {
45
+ <eui-icon-svg icon="chevron-down:sharp" size="{{size}}"></eui-icon-svg>
46
+ }
47
+ }
48
+ </button>
49
+ `, styles: [':host.eui-icon-button-expander{display:inline-flex;border-radius:var(--eui-br-max)}:host.eui-icon-button-expander:hover{background-color:var(--eui-c-neutral-bg)}.eui-icon-button-expander-toggle{background-color:transparent;border:var(--eui-bw-none);border-radius:var(--eui-br-max);cursor:pointer;padding:var(--eui-s-2xs);align-items:center;display:flex;justify-content:center;position:relative;transition:all .2s linear!important}.eui-icon-button-expander-toggle:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle [tabindex="0"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle--expanded{transform:rotate(180deg)}:host.eui-icon-button-expander--direction-forward .eui-icon-button-expander-toggle--expanded{transform:rotate(90deg)}\n'], dependencies: [{ kind: "component", type: i1.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
+ }
51
+ };
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: EuiIconButtonExpanderComponent, decorators: [{
53
+ type: Component,
54
+ args: [{ selector: "eui-icon-button-expander", changeDetection: ChangeDetectionStrategy.OnPush, template: `<button
55
+ type="button"
56
+ class="eui-icon-button-expander-toggle"
57
+ [class.eui-icon-button-expander-toggle--expanded]="isExpanded"
58
+ [attr.aria-label]="!isExpanded ? 'expanded' : 'collapsed'"
59
+ [attr.aria-expanded]="isExpanded"
60
+ aria-controls="expander-content"
61
+ (click)="onClick($event)">
62
+ @if (fillColor) {
63
+ @if (isDirectionForward) {
64
+ <eui-icon-svg icon="chevron-forward:sharp" fillColor="{{fillColor}}" size="{{size}}"></eui-icon-svg>
65
+ } @else {
66
+ <eui-icon-svg icon="chevron-down:sharp" fillColor="{{fillColor}}" size="{{size}}"></eui-icon-svg>
67
+ }
68
+
69
+ } @else {
70
+ @if (isDirectionForward) {
71
+ <eui-icon-svg icon="chevron-forward:sharp" size="{{size}}"></eui-icon-svg>
72
+ } @else {
73
+ <eui-icon-svg icon="chevron-down:sharp" size="{{size}}"></eui-icon-svg>
74
+ }
75
+ }
76
+ </button>
77
+ `, styles: [':host.eui-icon-button-expander{display:inline-flex;border-radius:var(--eui-br-max)}:host.eui-icon-button-expander:hover{background-color:var(--eui-c-neutral-bg)}.eui-icon-button-expander-toggle{background-color:transparent;border:var(--eui-bw-none);border-radius:var(--eui-br-max);cursor:pointer;padding:var(--eui-s-2xs);align-items:center;display:flex;justify-content:center;position:relative;transition:all .2s linear!important}.eui-icon-button-expander-toggle:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle [tabindex="0"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button-expander-toggle--expanded{transform:rotate(180deg)}:host.eui-icon-button-expander--direction-forward .eui-icon-button-expander-toggle--expanded{transform:rotate(90deg)}\n'] }]
78
+ }], propDecorators: { cssClasses: [{
79
+ type: HostBinding,
80
+ args: ["class"]
81
+ }], fillColor: [{
82
+ type: Input
83
+ }], size: [{
84
+ type: Input
85
+ }], ariaLabel: [{
86
+ type: Input
87
+ }], isExpanded: [{
88
+ type: Input,
89
+ args: [{ transform: booleanAttribute }]
90
+ }], isDirectionForward: [{
91
+ type: Input,
92
+ args: [{ transform: booleanAttribute }]
93
+ }], euiDisabled: [{
94
+ type: Input,
95
+ args: [{ transform: booleanAttribute }]
96
+ }], buttonClick: [{
97
+ type: Output
98
+ }] } });
99
+
100
+ // eui-icon-button-expander.module.mjs
101
+ import { NgModule } from "@angular/core";
102
+ import { CommonModule } from "@angular/common";
103
+ import { EuiIconModule } from "@eui/components/eui-icon";
104
+ import * as i02 from "@angular/core";
105
+ var EuiIconButtonExpanderModule = class _EuiIconButtonExpanderModule {
106
+ static {
107
+ this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconButtonExpanderModule, deps: [], target: i02.ɵɵFactoryTarget.NgModule });
108
+ }
109
+ static {
110
+ this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconButtonExpanderModule, declarations: [EuiIconButtonExpanderComponent], imports: [
111
+ CommonModule,
112
+ EuiIconModule
113
+ ], exports: [EuiIconButtonExpanderComponent] });
114
+ }
115
+ static {
116
+ this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconButtonExpanderModule, imports: [
117
+ CommonModule,
118
+ EuiIconModule
119
+ ] });
120
+ }
121
+ };
122
+ i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: EuiIconButtonExpanderModule, decorators: [{
123
+ type: NgModule,
124
+ args: [{
125
+ imports: [
126
+ CommonModule,
127
+ EuiIconModule
128
+ ],
129
+ declarations: [EuiIconButtonExpanderComponent],
130
+ exports: [EuiIconButtonExpanderComponent]
131
+ }]
132
+ }] });
133
+ export {
134
+ EuiIconButtonExpanderComponent,
135
+ EuiIconButtonExpanderModule
136
+ };
137
+ //# sourceMappingURL=eui-components-eui-icon-button-expander.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../eui-icon-button-expander/eui-icon-button-expander.component.ts", "../../eui-icon-button-expander/eui-icon-button-expander.component.html", "../../eui-icon-button-expander/eui-icon-button-expander.module.ts"],
4
+ "sourcesContent": ["import { Component, HostBinding, Input, Output, EventEmitter, booleanAttribute, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-button-expander',\n templateUrl: './eui-icon-button-expander.component.html',\n styleUrls: [ './eui-icon-button-expander.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EuiIconButtonExpanderComponent {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-icon-button-expander',\n this.isDirectionForward ? 'eui-icon-button-expander--direction-forward': '',\n ].join(' ').trim();\n }\n\n @Input() fillColor: string;\n @Input() size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' = 'm';\n @Input() ariaLabel: string;\n\n @Input({ transform: booleanAttribute }) isExpanded = false;\n @Input({ transform: booleanAttribute }) isDirectionForward = false;\n // TODO handle disabled attr (see button implementation)\n @Input({ transform: booleanAttribute }) euiDisabled = false;\n\n @Output() buttonClick = new EventEmitter<Event>();\n\n onClick(event: Event): void {\n this.buttonClick.emit(event);\n }\n}\n", "<button\n type=\"button\"\n class=\"eui-icon-button-expander-toggle\"\n [class.eui-icon-button-expander-toggle--expanded]=\"isExpanded\"\n [attr.aria-label]=\"!isExpanded ? 'expanded' : 'collapsed'\"\n [attr.aria-expanded]=\"isExpanded\"\n aria-controls=\"expander-content\"\n (click)=\"onClick($event)\">\n @if (fillColor) {\n @if (isDirectionForward) {\n <eui-icon-svg icon=\"chevron-forward:sharp\" fillColor=\"{{fillColor}}\" size=\"{{size}}\"></eui-icon-svg>\n } @else {\n <eui-icon-svg icon=\"chevron-down:sharp\" fillColor=\"{{fillColor}}\" size=\"{{size}}\"></eui-icon-svg>\n }\n\n } @else {\n @if (isDirectionForward) {\n <eui-icon-svg icon=\"chevron-forward:sharp\" size=\"{{size}}\"></eui-icon-svg>\n } @else {\n <eui-icon-svg icon=\"chevron-down:sharp\" size=\"{{size}}\"></eui-icon-svg>\n }\n }\n</button>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiIconButtonExpanderComponent } from './eui-icon-button-expander.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\n\n@NgModule({\n imports: [\n CommonModule,\n EuiIconModule,\n ],\n declarations: [EuiIconButtonExpanderComponent],\n exports: [EuiIconButtonExpanderComponent],\n})\nexport class EuiIconButtonExpanderModule {}\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW,aAAa,OAAO,QAAQ,cAAc,kBAAkB,+BAA+B;;;AAQzG,IAAO,iCAAP,MAAO,gCAA8B;EAN3C,cAAA;AAgBa,SAAA,OAAsE;AAGvC,SAAA,aAAa;AACb,SAAA,qBAAqB;AAErB,SAAA,cAAc;AAE5C,SAAA,cAAc,IAAI,aAAY;;EAjBxC,IACI,aAAU;AACV,WAAO;MACH;MACA,KAAK,qBAAqB,gDAA+C;MAC3E,KAAK,GAAG,EAAE,KAAI;EACpB;EAaA,QAAQ,OAAY;AAChB,SAAK,YAAY,KAAK,KAAK;EAC/B;;0GAtBS,iCAA8B,MAAA,CAAA,GAAA,QAAA,mBAAA,UAAA,CAAA;EAAA;;8FAA9B,iCAA8B,UAAA,4BAAA,QAAA,EAAA,WAAA,aAAA,MAAA,QAAA,WAAA,aAAA,YAAA,CAAA,cAAA,cAanB,gBAAgB,GAAA,oBAAA,CAAA,sBAAA,sBAChB,gBAAgB,GAAA,aAAA,CAAA,eAAA,eAEhB,gBAAgB,EAAA,GAAA,SAAA,EAAA,aAAA,cAAA,GAAA,MAAA,EAAA,YAAA,EAAA,SAAA,kBAAA,EAAA,GAAA,UAAA,IAAA,UCxBxC;;;;;;;;;;;;;;;;;;;;;;;GAuBA,QAAA,CAAA,8kCAAA,GAAA,cAAA,CAA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sulation, booleanAttribute } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@eui/components/eui-icon";
5
+ var EuiIconButtonComponent = class _EuiIconButtonComponent {
6
+ constructor() {
7
+ this.tabindex = -1;
8
+ this.size = "m";
9
+ this.hasFocusBorder = false;
10
+ this.hasNoPadding = false;
11
+ this.buttonClick = new EventEmitter();
12
+ }
13
+ get cssClasses() {
14
+ return [
15
+ "eui-icon-button",
16
+ this.hasFocusBorder ? "eui-icon-button--has-focus" : "",
17
+ this.hasNoPadding ? "eui-icon-button--has-no-padding" : ""
18
+ ].join(" ").trim();
19
+ }
20
+ onClick(event) {
21
+ this.buttonClick.emit(event);
22
+ }
23
+ static {
24
+ this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: _EuiIconButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
25
+ }
26
+ static {
27
+ this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0-rc.1", type: _EuiIconButtonComponent, selector: "eui-icon-button", inputs: { icon: "icon", fillColor: "fillColor", size: "size", ariaLabel: "ariaLabel", hasFocusBorder: ["hasFocusBorder", "hasFocusBorder", booleanAttribute], hasNoPadding: ["hasNoPadding", "hasNoPadding", booleanAttribute] }, outputs: { buttonClick: "buttonClick" }, host: { properties: { "class": "this.cssClasses", "attr.tabindex": "this.tabindex" } }, ngImport: i0, template: '<button class="eui-icon-button__button"\n type="button"\n (keydown.enter)="onClick($event)"\n (keydown.backspace)="onClick($event)"\n (click)="onClick($event)"\n [attr.aria-label]="ariaLabel">\n <eui-icon-svg [icon]="icon" [fillColor]="fillColor" [size]="size" class="eui-icon-button__button-icon">\n <ng-content select="eui-badge"></ng-content>\n </eui-icon-svg>\n</button>\n', styles: ['.eui-icon-button{display:inline-flex}.eui-icon-button__button{background-color:transparent;border:var(--eui-bw-none);cursor:pointer;padding:var(--eui-s-2xs);align-items:center;display:flex;justify-content:center;position:relative}.eui-icon-button__button-icon{opacity:.8}.eui-icon-button__button:hover .eui-icon-button__button-icon,.eui-icon-button__button:focus .eui-icon-button__button-icon{opacity:1}.eui-icon-button--has-focus .eui-icon-button__button:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-icon-button--has-focus .eui-icon-button__button:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button--has-focus .eui-icon-button__button [tabindex="0"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button--has-focus .eui-icon-button__button-icon{opacity:1}.eui-icon-button--has-no-padding .eui-icon-button__button{padding:0}\n'], dependencies: [{ kind: "component", type: i1.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"] }], encapsulation: i0.ViewEncapsulation.None });
28
+ }
29
+ };
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: EuiIconButtonComponent, decorators: [{
31
+ type: Component,
32
+ args: [{ selector: "eui-icon-button", encapsulation: ViewEncapsulation.None, template: '<button class="eui-icon-button__button"\n type="button"\n (keydown.enter)="onClick($event)"\n (keydown.backspace)="onClick($event)"\n (click)="onClick($event)"\n [attr.aria-label]="ariaLabel">\n <eui-icon-svg [icon]="icon" [fillColor]="fillColor" [size]="size" class="eui-icon-button__button-icon">\n <ng-content select="eui-badge"></ng-content>\n </eui-icon-svg>\n</button>\n', styles: ['.eui-icon-button{display:inline-flex}.eui-icon-button__button{background-color:transparent;border:var(--eui-bw-none);cursor:pointer;padding:var(--eui-s-2xs);align-items:center;display:flex;justify-content:center;position:relative}.eui-icon-button__button-icon{opacity:.8}.eui-icon-button__button:hover .eui-icon-button__button-icon,.eui-icon-button__button:focus .eui-icon-button__button-icon{opacity:1}.eui-icon-button--has-focus .eui-icon-button__button:focus:not([readonly]){outline:2px solid var(--eui-c-focus)!important;outline-offset:-2px!important;transition:none}.eui-icon-button--has-focus .eui-icon-button__button:focus-visible:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button--has-focus .eui-icon-button__button [tabindex="0"]:focus:not([readonly]){outline:2px solid var(--eui-c-focus-visible)!important;outline-offset:-2px!important;transition:none}.eui-icon-button--has-focus .eui-icon-button__button-icon{opacity:1}.eui-icon-button--has-no-padding .eui-icon-button__button{padding:0}\n'] }]
33
+ }], propDecorators: { cssClasses: [{
34
+ type: HostBinding,
35
+ args: ["class"]
36
+ }], tabindex: [{
37
+ type: HostBinding,
38
+ args: ["attr.tabindex"]
39
+ }], icon: [{
40
+ type: Input
41
+ }], fillColor: [{
42
+ type: Input
43
+ }], size: [{
44
+ type: Input
45
+ }], ariaLabel: [{
46
+ type: Input
47
+ }], hasFocusBorder: [{
48
+ type: Input,
49
+ args: [{ transform: booleanAttribute }]
50
+ }], hasNoPadding: [{
51
+ type: Input,
52
+ args: [{ transform: booleanAttribute }]
53
+ }], buttonClick: [{
54
+ type: Output
55
+ }] } });
56
+
57
+ // eui-icon-button.module.mjs
58
+ import { NgModule } from "@angular/core";
59
+ import { CommonModule } from "@angular/common";
60
+ import { EuiIconModule } from "@eui/components/eui-icon";
61
+ import * as i02 from "@angular/core";
62
+ var EuiIconButtonModule = class _EuiIconButtonModule {
63
+ static {
64
+ this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconButtonModule, deps: [], target: i02.ɵɵFactoryTarget.NgModule });
65
+ }
66
+ static {
67
+ this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconButtonModule, declarations: [EuiIconButtonComponent], imports: [
68
+ CommonModule,
69
+ EuiIconModule
70
+ ], exports: [EuiIconButtonComponent] });
71
+ }
72
+ static {
73
+ this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconButtonModule, imports: [
74
+ CommonModule,
75
+ EuiIconModule
76
+ ] });
77
+ }
78
+ };
79
+ i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: EuiIconButtonModule, decorators: [{
80
+ type: NgModule,
81
+ args: [{
82
+ imports: [
83
+ CommonModule,
84
+ EuiIconModule
85
+ ],
86
+ declarations: [EuiIconButtonComponent],
87
+ exports: [EuiIconButtonComponent]
88
+ }]
89
+ }] });
90
+ export {
91
+ EuiIconButtonComponent,
92
+ EuiIconButtonModule
93
+ };
94
+ //# sourceMappingURL=eui-components-eui-icon-button.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../eui-icon-button/eui-icon-button.component.ts", "../../eui-icon-button/eui-icon-button.component.html", "../../eui-icon-button/eui-icon-button.module.ts"],
4
+ "sourcesContent": ["import { Component, HostBinding, Input, Output, EventEmitter, ViewEncapsulation, booleanAttribute } from '@angular/core';\n\n@Component({\n selector: 'eui-icon-button',\n templateUrl: './eui-icon-button.component.html',\n styleUrls: [ './eui-icon-button.component.scss' ],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiIconButtonComponent {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n 'eui-icon-button',\n this.hasFocusBorder ? 'eui-icon-button--has-focus': '',\n this.hasNoPadding ? 'eui-icon-button--has-no-padding': '',\n ]\n .join(' ')\n .trim();\n }\n @HostBinding('attr.tabindex') tabindex = -1;\n\n @Input() icon: string;\n @Input() fillColor: string;\n @Input() size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' = 'm';\n @Input() ariaLabel: string;\n\n @Input({ transform: booleanAttribute }) hasFocusBorder = false;\n @Input({ transform: booleanAttribute }) hasNoPadding = false;\n\n @Output() buttonClick = new EventEmitter<Event>();\n\n onClick(event: Event): void {\n this.buttonClick.emit(event);\n }\n}\n", "<button class=\"eui-icon-button__button\"\n type=\"button\"\n (keydown.enter)=\"onClick($event)\"\n (keydown.backspace)=\"onClick($event)\"\n (click)=\"onClick($event)\"\n [attr.aria-label]=\"ariaLabel\">\n <eui-icon-svg [icon]=\"icon\" [fillColor]=\"fillColor\" [size]=\"size\" class=\"eui-icon-button__button-icon\">\n <ng-content select=\"eui-badge\"></ng-content>\n </eui-icon-svg>\n</button>\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiIconButtonComponent } from './eui-icon-button.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\n\n@NgModule({\n imports: [\n CommonModule,\n EuiIconModule,\n ],\n declarations: [EuiIconButtonComponent],\n exports: [EuiIconButtonComponent],\n})\nexport class EuiIconButtonModule {}\n"],
5
+ "mappings": ";AAAA,SAAS,WAAW,aAAa,OAAO,QAAQ,cAAc,mBAAmB,wBAAwB;;;AAQnG,IAAO,yBAAP,MAAO,wBAAsB;EANnC,cAAA;AAiBkC,SAAA,WAAW;AAIhC,SAAA,OAAsE;AAGvC,SAAA,iBAAiB;AACjB,SAAA,eAAe;AAE7C,SAAA,cAAc,IAAI,aAAY;;EApBxC,IACI,aAAU;AACV,WAAO;MACH;MACA,KAAK,iBAAiB,+BAA8B;MACpD,KAAK,eAAe,oCAAmC;MAEtD,KAAK,GAAG,EACR,KAAI;EACb;EAaA,QAAQ,OAAY;AAChB,SAAK,YAAY,KAAK,KAAK;EAC/B;;0GAzBS,yBAAsB,MAAA,CAAA,GAAA,QAAA,mBAAA,UAAA,CAAA;EAAA;;8FAAtB,yBAAsB,UAAA,mBAAA,QAAA,EAAA,MAAA,QAAA,WAAA,aAAA,MAAA,QAAA,WAAA,aAAA,gBAAA,CAAA,kBA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AA;QAR/B;SAAS;IACN,SAAS;MACL;MACA;;IAEJ,cAAc,CAAC,sBAAsB;IACrC,SAAS,CAAC,sBAAsB;GACnC;;",
6
+ "names": []
7
+ }
@@ -0,0 +1,74 @@
1
+ // eui-icon-input.component.mjs
2
+ import { Component, HostBinding, Input, booleanAttribute } from "@angular/core";
3
+ import * as i0 from "@angular/core";
4
+ var EuiIconInputComponent = class _EuiIconInputComponent {
5
+ constructor() {
6
+ this.euiIconPositionStart = true;
7
+ this.euiIconPositionEnd = false;
8
+ }
9
+ get cssClasses() {
10
+ return [
11
+ "eui-icon-input",
12
+ this.euiIconPositionStart && !this.euiIconPositionEnd ? "eui-icon-input--start" : "",
13
+ this.euiIconPositionEnd ? "eui-icon-input--end" : ""
14
+ ].join(" ").trim();
15
+ }
16
+ static {
17
+ this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: _EuiIconInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
+ }
19
+ static {
20
+ this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.0.0-rc.1", type: _EuiIconInputComponent, selector: "eui-icon-input", inputs: { euiIconPositionStart: ["euiIconPositionStart", "euiIconPositionStart", booleanAttribute], euiIconPositionEnd: ["euiIconPositionEnd", "euiIconPositionEnd", booleanAttribute] }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: '<span class="eui-icon-input-wrapper">\n <span class="eui-icon-input__content">\n <ng-content></ng-content>\n </span>\n <span class="eui-icon-input__icon">\n <ng-content select="eui-icon-svg"></ng-content>\n <ng-content select="eui-button"></ng-content>\n </span>\n</span>\n', styles: [":host.eui-icon-input{display:flex;width:100%}.eui-icon-input-wrapper{display:flex;width:100%;position:relative}.eui-icon-input__content{display:flex;width:100%}.eui-icon-input__icon{position:absolute;top:25%}:host.eui-icon-input--end .eui-icon-input__icon{right:var(--eui-s-xs)}:host.eui-icon-input--start .eui-icon-input__icon{left:var(--eui-s-xs)}\n"] });
21
+ }
22
+ };
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i0, type: EuiIconInputComponent, decorators: [{
24
+ type: Component,
25
+ args: [{ selector: "eui-icon-input", template: '<span class="eui-icon-input-wrapper">\n <span class="eui-icon-input__content">\n <ng-content></ng-content>\n </span>\n <span class="eui-icon-input__icon">\n <ng-content select="eui-icon-svg"></ng-content>\n <ng-content select="eui-button"></ng-content>\n </span>\n</span>\n', styles: [":host.eui-icon-input{display:flex;width:100%}.eui-icon-input-wrapper{display:flex;width:100%;position:relative}.eui-icon-input__content{display:flex;width:100%}.eui-icon-input__icon{position:absolute;top:25%}:host.eui-icon-input--end .eui-icon-input__icon{right:var(--eui-s-xs)}:host.eui-icon-input--start .eui-icon-input__icon{left:var(--eui-s-xs)}\n"] }]
26
+ }], propDecorators: { cssClasses: [{
27
+ type: HostBinding,
28
+ args: ["class"]
29
+ }], euiIconPositionStart: [{
30
+ type: Input,
31
+ args: [{ transform: booleanAttribute }]
32
+ }], euiIconPositionEnd: [{
33
+ type: Input,
34
+ args: [{ transform: booleanAttribute }]
35
+ }] } });
36
+
37
+ // eui-icon-input.module.mjs
38
+ import { NgModule } from "@angular/core";
39
+ import { CommonModule } from "@angular/common";
40
+ import { EuiIconModule } from "@eui/components/eui-icon";
41
+ import * as i02 from "@angular/core";
42
+ var EuiIconInputModule = class _EuiIconInputModule {
43
+ static {
44
+ this.ɵfac = i02.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconInputModule, deps: [], target: i02.ɵɵFactoryTarget.NgModule });
45
+ }
46
+ static {
47
+ this.ɵmod = i02.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconInputModule, declarations: [EuiIconInputComponent], imports: [
48
+ CommonModule,
49
+ EuiIconModule
50
+ ], exports: [EuiIconInputComponent] });
51
+ }
52
+ static {
53
+ this.ɵinj = i02.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: _EuiIconInputModule, imports: [
54
+ CommonModule,
55
+ EuiIconModule
56
+ ] });
57
+ }
58
+ };
59
+ i02.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.1", ngImport: i02, type: EuiIconInputModule, decorators: [{
60
+ type: NgModule,
61
+ args: [{
62
+ imports: [
63
+ CommonModule,
64
+ EuiIconModule
65
+ ],
66
+ declarations: [EuiIconInputComponent],
67
+ exports: [EuiIconInputComponent]
68
+ }]
69
+ }] });
70
+ export {
71
+ EuiIconInputComponent,
72
+ EuiIconInputModule
73
+ };
74
+ //# sourceMappingURL=eui-components-eui-icon-input.mjs.map