@eui/components 18.0.0-rc.5 → 18.0.0-rc.6

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 (250) hide show
  1. package/docs/components/ChartComponent.html +1 -1
  2. package/docs/components/DefaultComponent-1.html +1 -1
  3. package/docs/components/DefaultComponent.html +1 -1
  4. package/docs/components/EuiAccordionComponent.html +1 -1
  5. package/docs/components/EuiAccordionItemComponent.html +1 -1
  6. package/docs/components/EuiAlertComponent.html +1 -1
  7. package/docs/components/EuiAlertTitleComponent.html +1 -1
  8. package/docs/components/EuiAppBreadcrumbComponent.html +1 -1
  9. package/docs/components/EuiAppComponent.html +1 -1
  10. package/docs/components/EuiAppFooterComponent.html +1 -1
  11. package/docs/components/EuiAppHeaderComponent.html +1 -1
  12. package/docs/components/EuiAppSidebarBodyComponent.html +1 -1
  13. package/docs/components/EuiAppSidebarComponent.html +1 -1
  14. package/docs/components/EuiAppSidebarDrawerComponent.html +1 -1
  15. package/docs/components/EuiAppSidebarFooterComponent.html +1 -1
  16. package/docs/components/EuiAppSidebarHeaderComponent.html +1 -1
  17. package/docs/components/EuiAppSidebarHeaderUserProfileComponent.html +1 -1
  18. package/docs/components/EuiAppSidebarMenuComponent.html +1 -1
  19. package/docs/components/EuiAppToolbarComponent.html +1 -1
  20. package/docs/components/EuiAppTopMessageComponent.html +1 -1
  21. package/docs/components/EuiAutocompleteAsyncTestComponent.html +1 -1
  22. package/docs/components/EuiAutocompleteChipsAsyncTestComponent.html +1 -1
  23. package/docs/components/EuiAutocompleteChipsTestComponent.html +1 -1
  24. package/docs/components/EuiAutocompleteComponent.html +1 -1
  25. package/docs/components/EuiAutocompleteOptionComponent.html +1 -1
  26. package/docs/components/EuiAutocompleteOptionGroupComponent.html +1 -1
  27. package/docs/components/EuiAutocompleteTestComponent.html +1 -1
  28. package/docs/components/EuiAvatarBadgeComponent.html +1 -1
  29. package/docs/components/EuiAvatarComponent.html +1 -1
  30. package/docs/components/EuiAvatarIconComponent.html +1 -1
  31. package/docs/components/EuiAvatarImageComponent.html +1 -1
  32. package/docs/components/EuiAvatarListComponent.html +1 -1
  33. package/docs/components/EuiAvatarTextComponent.html +1 -1
  34. package/docs/components/EuiBadgeComponent.html +1 -1
  35. package/docs/components/EuiBlockContentComponent.html +1 -1
  36. package/docs/components/EuiBlockDocumentComponent.html +1 -1
  37. package/docs/components/EuiBreadcrumbComponent.html +1 -1
  38. package/docs/components/EuiBreadcrumbItemComponent.html +1 -1
  39. package/docs/components/EuiButtonComponent.html +2 -2
  40. package/docs/components/EuiButtonGroupComponent.html +1 -1
  41. package/docs/components/EuiButtonV2Component.html +1 -1
  42. package/docs/components/EuiCardComponent.html +1 -1
  43. package/docs/components/EuiCardContentComponent.html +1 -1
  44. package/docs/components/EuiCardFooterActionButtonsComponent.html +1 -1
  45. package/docs/components/EuiCardFooterActionIconsComponent.html +1 -1
  46. package/docs/components/EuiCardFooterComponent.html +1 -1
  47. package/docs/components/EuiCardFooterMenuComponent.html +1 -1
  48. package/docs/components/EuiCardFooterMenuContentComponent.html +1 -1
  49. package/docs/components/EuiCardHeaderBodyComponent.html +1 -1
  50. package/docs/components/EuiCardHeaderComponent.html +1 -1
  51. package/docs/components/EuiCardHeaderLeftContentComponent.html +1 -1
  52. package/docs/components/EuiCardHeaderRightContentComponent.html +1 -1
  53. package/docs/components/EuiCardHeaderSubtitleComponent.html +1 -1
  54. package/docs/components/EuiCardHeaderTitleComponent.html +1 -1
  55. package/docs/components/EuiCardMediaComponent.html +1 -1
  56. package/docs/components/EuiChipComponent.html +1 -1
  57. package/docs/components/EuiChipListComponent.html +1 -1
  58. package/docs/components/EuiDashboardButtonComponent.html +1 -1
  59. package/docs/components/EuiDashboardCardComponent.html +1 -1
  60. package/docs/components/EuiDateRangeSelectorComponent.html +1 -1
  61. package/docs/components/EuiDatepickerComponent.html +1 -1
  62. package/docs/components/EuiDialogComponent.html +1 -1
  63. package/docs/components/EuiDialogContainerComponent.html +1 -1
  64. package/docs/components/EuiDimmerComponent.html +1 -1
  65. package/docs/components/EuiDisableContentComponent.html +1 -1
  66. package/docs/components/EuiDiscussionThreadComponent.html +1 -1
  67. package/docs/components/EuiDiscussionThreadItemComponent.html +1 -1
  68. package/docs/components/EuiDropdownComponent.html +1 -1
  69. package/docs/components/EuiDropdownItemComponent.html +1 -1
  70. package/docs/components/EuiEditorComponent.html +1 -1
  71. package/docs/components/EuiEditorCountersComponent.html +1 -1
  72. package/docs/components/EuiEditorHtmlViewComponent.html +1 -1
  73. package/docs/components/EuiEditorImageDialogComponent.html +1 -1
  74. package/docs/components/EuiEditorJsonViewComponent.html +1 -1
  75. package/docs/components/EuiFeedbackMessageComponent.html +1 -1
  76. package/docs/components/EuiFieldsetComponent.html +1 -1
  77. package/docs/components/EuiFilePreviewComponent.html +1 -1
  78. package/docs/components/EuiFileUploadComponent.html +1 -1
  79. package/docs/components/EuiFileUploadProgressComponent.html +1 -1
  80. package/docs/components/EuiFooterComponent.html +1 -1
  81. package/docs/components/EuiGrowlComponent.html +2 -2
  82. package/docs/components/EuiHeaderAppComponent.html +1 -1
  83. package/docs/components/EuiHeaderAppNameComponent.html +1 -1
  84. package/docs/components/EuiHeaderAppNameLogoComponent.html +1 -1
  85. package/docs/components/EuiHeaderAppSubtitleComponent.html +1 -1
  86. package/docs/components/EuiHeaderComponent.html +1 -1
  87. package/docs/components/EuiHeaderEnvironmentComponent.html +1 -1
  88. package/docs/components/EuiHeaderLogoComponent.html +1 -1
  89. package/docs/components/EuiHeaderRightContentComponent.html +1 -1
  90. package/docs/components/EuiHeaderSearchComponent.html +1 -1
  91. package/docs/components/EuiHeaderUserProfileComponent.html +1 -1
  92. package/docs/components/EuiIconButtonComponent.html +1 -1
  93. package/docs/components/EuiIconButtonExpanderComponent.html +1 -1
  94. package/docs/components/EuiIconColorComponent.html +1 -1
  95. package/docs/components/EuiIconInputComponent.html +1 -1
  96. package/docs/components/EuiIconSvgComponent.html +1 -1
  97. package/docs/components/EuiIconToggleComponent.html +1 -1
  98. package/docs/components/EuiInputCheckboxComponent.html +1 -1
  99. package/docs/components/EuiInputGroupComponent.html +1 -1
  100. package/docs/components/EuiInputNumberComponent.html +1 -1
  101. package/docs/components/EuiInputRadioComponent.html +1 -1
  102. package/docs/components/EuiInputTextComponent.html +1 -1
  103. package/docs/components/EuiLabelComponent.html +1 -1
  104. package/docs/components/EuiLanguageSelectorComponent.html +1 -1
  105. package/docs/components/EuiListComponent.html +1 -1
  106. package/docs/components/EuiListItemComponent.html +1 -1
  107. package/docs/components/EuiMenuComponent.html +1 -1
  108. package/docs/components/EuiMenuItemComponent.html +1 -1
  109. package/docs/components/EuiMessageBoxComponent.html +1 -1
  110. package/docs/components/EuiModalSelectorComponent.html +1 -1
  111. package/docs/components/EuiNotificationItemComponent.html +1 -1
  112. package/docs/components/EuiNotificationItemV2Component.html +1 -1
  113. package/docs/components/EuiNotificationsComponent.html +1 -1
  114. package/docs/components/EuiNotificationsV2Component.html +1 -1
  115. package/docs/components/EuiOverlayBodyComponent.html +1 -1
  116. package/docs/components/EuiOverlayComponent.html +1 -1
  117. package/docs/components/EuiOverlayFooterComponent.html +1 -1
  118. package/docs/components/EuiOverlayHeaderComponent.html +1 -1
  119. package/docs/components/EuiOverlayHeaderTitleComponent.html +1 -1
  120. package/docs/components/EuiPageBreadcrumbComponent.html +1 -1
  121. package/docs/components/EuiPageColumnComponent.html +1 -1
  122. package/docs/components/EuiPageColumnsComponent.html +1 -1
  123. package/docs/components/EuiPageComponent.html +1 -1
  124. package/docs/components/EuiPageContentComponent.html +1 -1
  125. package/docs/components/EuiPageFooterComponent.html +1 -1
  126. package/docs/components/EuiPageHeaderActionItemsComponent.html +1 -1
  127. package/docs/components/EuiPageHeaderBodyComponent.html +1 -1
  128. package/docs/components/EuiPageHeaderComponent.html +1 -1
  129. package/docs/components/EuiPageHeaderSubLabelComponent.html +1 -1
  130. package/docs/components/EuiPageHeroHeaderComponent.html +1 -1
  131. package/docs/components/EuiPageTopContentComponent.html +1 -1
  132. package/docs/components/EuiPaginatorComponent.html +1 -1
  133. package/docs/components/EuiPopoverComponent.html +1 -1
  134. package/docs/components/EuiProgressBarComponent.html +1 -1
  135. package/docs/components/EuiProgressCircleComponent.html +1 -1
  136. package/docs/components/EuiResizableComponent.html +1 -1
  137. package/docs/components/EuiSelectComponent.html +1 -1
  138. package/docs/components/EuiSidebarMenuComponent.html +1 -1
  139. package/docs/components/EuiSidebarToggleComponent.html +1 -1
  140. package/docs/components/EuiSkeletonComponent.html +1 -1
  141. package/docs/components/EuiSlideToggleComponent.html +1 -1
  142. package/docs/components/EuiSlideToggleTestComponent.html +1 -1
  143. package/docs/components/EuiSplitButtonComponent.html +1 -1
  144. package/docs/components/EuiTabComponent.html +1 -1
  145. package/docs/components/EuiTabContentComponent.html +1 -1
  146. package/docs/components/EuiTabLabelComponent.html +1 -1
  147. package/docs/components/EuiTableComponent.html +1 -1
  148. package/docs/components/EuiTableExpandableRowComponent.html +1 -1
  149. package/docs/components/EuiTableFilterComponent.html +1 -1
  150. package/docs/components/EuiTableSelectableHeaderComponent.html +1 -1
  151. package/docs/components/EuiTableSelectableRowComponent.html +1 -1
  152. package/docs/components/EuiTableSortableColComponent.html +1 -1
  153. package/docs/components/EuiTableV2Component.html +1 -1
  154. package/docs/components/EuiTableV2FilterComponent.html +1 -1
  155. package/docs/components/EuiTableV2SelectableHeaderComponent.html +1 -1
  156. package/docs/components/EuiTableV2SelectableRowComponent.html +1 -1
  157. package/docs/components/EuiTableV2SortableColComponent.html +1 -1
  158. package/docs/components/EuiTabsComponent.html +1 -1
  159. package/docs/components/EuiTextareaComponent.html +1 -1
  160. package/docs/components/EuiTimebarComponent.html +1 -1
  161. package/docs/components/EuiTimelineComponent.html +1 -1
  162. package/docs/components/EuiTimelineItemComponent.html +1 -1
  163. package/docs/components/EuiTimepickerComponent.html +1 -1
  164. package/docs/components/EuiToolbarAppComponent.html +1 -1
  165. package/docs/components/EuiToolbarCenterComponent.html +1 -1
  166. package/docs/components/EuiToolbarComponent.html +1 -1
  167. package/docs/components/EuiToolbarEnvironmentComponent.html +1 -1
  168. package/docs/components/EuiToolbarItemComponent.html +1 -1
  169. package/docs/components/EuiToolbarItemsComponent.html +1 -1
  170. package/docs/components/EuiToolbarLogoComponent.html +1 -1
  171. package/docs/components/EuiToolbarMenuComponent.html +1 -1
  172. package/docs/components/EuiToolbarNavbarComponent.html +2 -2
  173. package/docs/components/EuiToolbarNavbarItemComponent.html +1 -1
  174. package/docs/components/{EuiSearchComponent.html → EuiToolbarSearchComponent.html} +9 -13
  175. package/docs/components/EuiToolbarSelectorComponent.html +1 -1
  176. package/docs/components/EuiToolbarStartComponent.html +1 -1
  177. package/docs/components/EuiTooltipContainerComponent.html +1 -1
  178. package/docs/components/EuiTreeComponent.html +1 -1
  179. package/docs/components/EuiTreeListComponent.html +1 -1
  180. package/docs/components/EuiTreeListItemComponent.html +1 -1
  181. package/docs/components/EuiTreeListItemContentComponent.html +1 -1
  182. package/docs/components/EuiTreeListToolbarComponent.html +1 -1
  183. package/docs/components/EuiUserProfileCardComponent.html +1 -1
  184. package/docs/components/EuiUserProfileComponent.html +1 -1
  185. package/docs/components/EuiUserProfileMenuComponent.html +1 -1
  186. package/docs/components/EuiUserProfileMenuItemComponent.html +1 -1
  187. package/docs/components/EuiWizardComponent.html +1 -1
  188. package/docs/components/EuiWizardStepComponent.html +1 -1
  189. package/docs/components/PaginationComponent.html +1 -1
  190. package/docs/components/PlaygroundComponent-1.html +1 -1
  191. package/docs/components/PlaygroundComponent.html +1 -1
  192. package/docs/components/PlaygroundStickyLastColumnComponent.html +1 -1
  193. package/docs/components/QuillEditorComponent.html +1 -1
  194. package/docs/components/VirtualScrollAsyncComponent.html +1 -1
  195. package/docs/components/VirtualScrollComponent.html +1 -1
  196. package/docs/dependencies.html +1 -1
  197. package/docs/index.html +1 -1
  198. package/docs/js/menu-wc.js +15 -29
  199. package/docs/js/menu-wc_es5.js +1 -1
  200. package/docs/js/search/search_index.js +2 -2
  201. package/docs/miscellaneous/variables.html +2 -1
  202. package/docs/modules/EuiAllModule.html +6 -6
  203. package/docs/modules/EuiAppModule.html +6 -6
  204. package/docs/modules/EuiLayoutModule.html +6 -6
  205. package/docs/modules/EuiToolbarModule.html +15 -0
  206. package/docs/modules.html +0 -12
  207. package/esm2022/eui-all/eui-all.module.mjs +9 -9
  208. package/esm2022/eui-button/eui-button.component.mjs +3 -4
  209. package/esm2022/eui-dashboard-card/eui-dashboard-card.component.mjs +2 -2
  210. package/esm2022/eui-growl/eui-growl.component.mjs +3 -3
  211. package/esm2022/layout/eui-toolbar/index.mjs +2 -3
  212. package/esm2022/layout/eui-toolbar/toolbar-navbar/toolbar-navbar.component.mjs +3 -3
  213. package/esm2022/layout/eui-toolbar/toolbar-search/toolbar-search.component.mjs +125 -0
  214. package/esm2022/layout/eui-toolbar/toolbar.component.mjs +2 -2
  215. package/esm2022/layout/eui-toolbar/toolbar.module.mjs +22 -3
  216. package/eui-all/eui-all.module.d.ts +5 -5
  217. package/eui-all/eui-all.module.d.ts.map +1 -1
  218. package/eui-button/eui-button.component.d.ts +1 -1
  219. package/eui-button/eui-button.component.d.ts.map +1 -1
  220. package/fesm2022/eui-components-eui-button.mjs +2 -3
  221. package/fesm2022/eui-components-eui-button.mjs.map +1 -1
  222. package/fesm2022/eui-components-eui-dashboard-card.mjs +2 -2
  223. package/fesm2022/eui-components-eui-dashboard-card.mjs.map +1 -1
  224. package/fesm2022/eui-components-eui-growl.mjs +2 -2
  225. package/fesm2022/eui-components-eui-growl.mjs.map +1 -1
  226. package/fesm2022/eui-components-layout.mjs +178 -46
  227. package/fesm2022/eui-components-layout.mjs.map +1 -1
  228. package/fesm2022/eui-components.mjs +8 -8
  229. package/fesm2022/eui-components.mjs.map +1 -1
  230. package/layout/eui-toolbar/index.d.ts +1 -0
  231. package/layout/eui-toolbar/index.d.ts.map +1 -1
  232. package/{eui-search/search.component.d.ts → layout/eui-toolbar/toolbar-search/toolbar-search.component.d.ts} +4 -4
  233. package/layout/eui-toolbar/toolbar-search/toolbar-search.component.d.ts.map +1 -0
  234. package/layout/eui-toolbar/toolbar.module.d.ts +15 -8
  235. package/layout/eui-toolbar/toolbar.module.d.ts.map +1 -1
  236. package/package.json +3 -9
  237. package/docs/modules/EuiSearchModule.html +0 -260
  238. package/esm2022/eui-search/eui-components-eui-search.mjs +0 -5
  239. package/esm2022/eui-search/index.mjs +0 -3
  240. package/esm2022/eui-search/search.component.mjs +0 -125
  241. package/esm2022/eui-search/search.module.mjs +0 -34
  242. package/eui-search/eui-components-eui-search.d.ts.map +0 -1
  243. package/eui-search/index.d.ts +0 -3
  244. package/eui-search/index.d.ts.map +0 -1
  245. package/eui-search/package.json +0 -3
  246. package/eui-search/search.component.d.ts.map +0 -1
  247. package/eui-search/search.module.d.ts +0 -17
  248. package/eui-search/search.module.d.ts.map +0 -1
  249. package/fesm2022/eui-components-eui-search.mjs +0 -162
  250. package/fesm2022/eui-components-eui-search.mjs.map +0 -1
@@ -1,125 +0,0 @@
1
- import { Component, ViewEncapsulation, ContentChildren, ChangeDetectionStrategy, HostBinding, Input, Output, EventEmitter, booleanAttribute } from '@angular/core';
2
- import { EuiTemplateDirective } from '@eui/components/directives';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@eui/components/eui-icon";
6
- import * as i3 from "@eui/components/eui-icon-input";
7
- import * as i4 from "@eui/components/eui-button";
8
- import * as i5 from "@eui/components/eui-autocomplete";
9
- import * as i6 from "@eui/components/directives";
10
- import * as i7 from "@eui/components/eui-input-text";
11
- import * as i8 from "@angular/forms";
12
- export class EuiSearchComponent {
13
- constructor() {
14
- this.isInputFocus = false;
15
- this.searchInput = '';
16
- this.panelWidth = '25vw';
17
- this.searchResults = [];
18
- this.isAutocomplete = false;
19
- this.isInputText = false;
20
- this.hasSearchButton = false;
21
- this.hasExpandAnimation = true;
22
- this.search = new EventEmitter();
23
- this.selectionChange = new EventEmitter();
24
- this.searchClick = new EventEmitter();
25
- this.inputFocus = new EventEmitter();
26
- this.inputBlur = new EventEmitter();
27
- }
28
- get cssClasses() {
29
- return [
30
- 'eui-search',
31
- this.isInputFocus ? 'eui-search--focus' : '',
32
- !this.hasExpandAnimation ? 'eui-search--no-animation' : '',
33
- ]
34
- .join(' ')
35
- .trim();
36
- }
37
- ngAfterContentInit() {
38
- if (this.isAutocomplete) {
39
- this.isInputText = false;
40
- }
41
- if (this.isInputText) {
42
- this.isAutocomplete = false;
43
- }
44
- if (!this.isInputText && !this.isAutocomplete) {
45
- this.isAutocomplete = true;
46
- }
47
- }
48
- ngAfterViewInit() {
49
- this.templates.forEach((item) => {
50
- if (item.getType() === 'resultItemTemplate') {
51
- this.resultItemTemplate = item.template;
52
- }
53
- });
54
- }
55
- onSelectionChange(items) {
56
- this.selectionChange.emit(items);
57
- }
58
- onInputFocus(event) {
59
- this.inputFocus.emit(event);
60
- this.isInputFocus = true;
61
- }
62
- onInputBlur(event) {
63
- if (!this.hasSearchButton || (this.hasSearchButton && this.searchInput === '')) {
64
- this.inputBlur.emit(event);
65
- this.isInputFocus = false;
66
- }
67
- }
68
- onSearch(e) {
69
- this.searchTerm = e;
70
- this.search.emit(e);
71
- }
72
- onSearchInput(e) {
73
- if (e.code === 'Enter') {
74
- this.searchTerm = this.searchInput;
75
- this.search.emit(this.searchInput);
76
- }
77
- }
78
- onSearchClick() {
79
- this.isInputFocus = false;
80
- if (this.searchInput) {
81
- this.searchClick.emit(this.searchInput);
82
- }
83
- }
84
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
85
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: EuiSearchComponent, selector: "eui-search", inputs: { placeholderLabel: "placeholderLabel", panelWidth: "panelWidth", searchResults: "searchResults", isAutocomplete: ["isAutocomplete", "isAutocomplete", booleanAttribute], isInputText: ["isInputText", "isInputText", booleanAttribute], hasSearchButton: ["hasSearchButton", "hasSearchButton", booleanAttribute], hasExpandAnimation: ["hasExpandAnimation", "hasExpandAnimation", booleanAttribute] }, outputs: { search: "search", selectionChange: "selectionChange", searchClick: "searchClick", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "templates", predicate: EuiTemplateDirective }], ngImport: i0, template: "<eui-icon-input euiIconPositionEnd>\n @if (isAutocomplete) {\n <eui-autocomplete [autocompleteData]=\"searchResults\"\n placeholder=\"{{placeholderLabel}}\"\n panelWidth=\"{{panelWidth}}\"\n (inputBlur)=\"onInputBlur($event)\"\n (inputFocus)=\"onInputFocus($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n (inputChange)=\"onSearch($event)\">\n <ng-container *ngIf=\"templates.length !== 0\">\n <ng-template let-option euiTemplate=\"dropdownOption\">\n <ng-container\n [ngTemplateOutlet]=\"resultItemTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\">\n </ng-container>\n </ng-template>\n </ng-container>\n </eui-autocomplete>\n } @else {\n @if (isInputText) {\n <input euiInputText class=\"mywp-search-bar__input\" [(ngModel)]=\"searchInput\"\n placeholder=\"{{ placeholderLabel }}\"\n (focus)=\"onInputFocus($event)\" (blur)=\"onInputBlur($event)\" (keydown)=\"onSearchInput($event)\" />\n }\n }\n\n @if (hasSearchButton) {\n <button class=\"eui-search__input-button\"\n euiButton\n euiRounded euiIconButton\n [euiSecondary]=\"isInputFocus\"\n [euiPrimary]=\"!isInputFocus\"\n (click)=\"onSearchClick()\"\n aria-label=\"search button\">\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n </button>\n } @else {\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n }\n</eui-icon-input>\n", styles: [".eui-search{display:flex;top:0}.eui-search .eui-button .eui-button__container{justify-content:center}.eui-search .eui-input-text{background-color:var(--eui-c-branding-dark);border-color:var(--eui-c-branding-light);border-radius:var(--eui-br-max)!important;text-overflow:ellipsis;transition:width .25s ease-in-out;color:var(--eui-c-branding-dark-contrast);width:200px}.eui-search .eui-input-text--clearable-icon{display:none}.eui-search--focus .eui-input-text{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-light);color:var(--eui-c-black);width:300px}.eui-search--focus .eui-search__input-button{color:var(--eui-c-black)!important}.eui-search--focus .eui-search__input-button .eui-icon-svg svg{color:var(--eui-c-black)!important;fill:var(--eui-c-black)!important}.eui-search--focus .eui-search__icon{display:none}.eui-search__input-button{position:absolute;right:4px;top:4px;color:var(--eui-c-neutral-lightest)!important}.eui-search__input-button .eui-icon-svg{z-index:1}.eui-search__input-button:focus .eui-icon-svg svg{color:var(--eui-c-white)!important;fill:var(--eui-c-white)!important}.eui-search--no-animation .eui-input-text{transition:none}.eui-search--focus.eui-search--no-animation .eui-input-text{width:200px}@media screen and (max-width: 767px){.eui-search{display:none}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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.EuiIconInputComponent, selector: "eui-icon-input", inputs: ["euiIconPositionStart", "euiIconPositionEnd"] }, { kind: "component", type: i4.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "component", type: i5.EuiAutocompleteComponent, selector: "eui-autocomplete, input[euiAutocomplete]", inputs: ["inputId", "autocompleteData", "visibleOptions", "matching", "placeholder", "autocompleteDataSelected", "chipsSortOrder", "itemsSortOrder", "chipsPosition", "groupBy", "toggleLinkMoreLabel", "toggleLinkLessLabel", "classList", "panelWidth", "dragAndDropSourceName", "dragAndDropConnectedTo", "isFreeValueAllowed", "isReadonly", "isLoading", "hasChips", "isAsync", "isChipsSorted", "isItemsSorted", "isChipsRemovable", "isDuplicateValueAllowed", "isAddOnBlur", "isForceSelection", "maxVisibleChipsCount", "chipsLabelTruncateCount", "isMaxVisibleChipsOpened", "isChipsDragAndDrop"], outputs: ["panelClose", "panelOpen", "inputFocus", "inputBlur", "clear", "selectionChange", "itemAdd", "itemRemove", "inputChange", "chipDragStart", "chipDragRelease", "chipDrop"] }, { kind: "directive", type: i6.EuiTemplateDirective, selector: "[euiTemplate]", inputs: ["type", "euiTemplate"] }, { kind: "component", type: i7.EuiInputTextComponent, selector: "input[euiInputText]", inputs: ["isInvalid"] }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
86
- }
87
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchComponent, decorators: [{
88
- type: Component,
89
- args: [{ selector: 'eui-search', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, template: "<eui-icon-input euiIconPositionEnd>\n @if (isAutocomplete) {\n <eui-autocomplete [autocompleteData]=\"searchResults\"\n placeholder=\"{{placeholderLabel}}\"\n panelWidth=\"{{panelWidth}}\"\n (inputBlur)=\"onInputBlur($event)\"\n (inputFocus)=\"onInputFocus($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n (inputChange)=\"onSearch($event)\">\n <ng-container *ngIf=\"templates.length !== 0\">\n <ng-template let-option euiTemplate=\"dropdownOption\">\n <ng-container\n [ngTemplateOutlet]=\"resultItemTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\">\n </ng-container>\n </ng-template>\n </ng-container>\n </eui-autocomplete>\n } @else {\n @if (isInputText) {\n <input euiInputText class=\"mywp-search-bar__input\" [(ngModel)]=\"searchInput\"\n placeholder=\"{{ placeholderLabel }}\"\n (focus)=\"onInputFocus($event)\" (blur)=\"onInputBlur($event)\" (keydown)=\"onSearchInput($event)\" />\n }\n }\n\n @if (hasSearchButton) {\n <button class=\"eui-search__input-button\"\n euiButton\n euiRounded euiIconButton\n [euiSecondary]=\"isInputFocus\"\n [euiPrimary]=\"!isInputFocus\"\n (click)=\"onSearchClick()\"\n aria-label=\"search button\">\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n </button>\n } @else {\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n }\n</eui-icon-input>\n", styles: [".eui-search{display:flex;top:0}.eui-search .eui-button .eui-button__container{justify-content:center}.eui-search .eui-input-text{background-color:var(--eui-c-branding-dark);border-color:var(--eui-c-branding-light);border-radius:var(--eui-br-max)!important;text-overflow:ellipsis;transition:width .25s ease-in-out;color:var(--eui-c-branding-dark-contrast);width:200px}.eui-search .eui-input-text--clearable-icon{display:none}.eui-search--focus .eui-input-text{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-light);color:var(--eui-c-black);width:300px}.eui-search--focus .eui-search__input-button{color:var(--eui-c-black)!important}.eui-search--focus .eui-search__input-button .eui-icon-svg svg{color:var(--eui-c-black)!important;fill:var(--eui-c-black)!important}.eui-search--focus .eui-search__icon{display:none}.eui-search__input-button{position:absolute;right:4px;top:4px;color:var(--eui-c-neutral-lightest)!important}.eui-search__input-button .eui-icon-svg{z-index:1}.eui-search__input-button:focus .eui-icon-svg svg{color:var(--eui-c-white)!important;fill:var(--eui-c-white)!important}.eui-search--no-animation .eui-input-text{transition:none}.eui-search--focus.eui-search--no-animation .eui-input-text{width:200px}@media screen and (max-width: 767px){.eui-search{display:none}}\n"] }]
90
- }], propDecorators: { cssClasses: [{
91
- type: HostBinding,
92
- args: ['class']
93
- }], placeholderLabel: [{
94
- type: Input
95
- }], panelWidth: [{
96
- type: Input
97
- }], searchResults: [{
98
- type: Input
99
- }], isAutocomplete: [{
100
- type: Input,
101
- args: [{ transform: booleanAttribute }]
102
- }], isInputText: [{
103
- type: Input,
104
- args: [{ transform: booleanAttribute }]
105
- }], hasSearchButton: [{
106
- type: Input,
107
- args: [{ transform: booleanAttribute }]
108
- }], hasExpandAnimation: [{
109
- type: Input,
110
- args: [{ transform: booleanAttribute }]
111
- }], search: [{
112
- type: Output
113
- }], selectionChange: [{
114
- type: Output
115
- }], searchClick: [{
116
- type: Output
117
- }], inputFocus: [{
118
- type: Output
119
- }], inputBlur: [{
120
- type: Output
121
- }], templates: [{
122
- type: ContentChildren,
123
- args: [EuiTemplateDirective]
124
- }] } });
125
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2V1aS1zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL2V1aS1zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUUsZUFBZSxFQUFFLHVCQUF1QixFQUFFLFdBQVcs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gICAgfVxuICAgIH1cbn1cbiIsIjxldWktaWNvbi1pbnB1dCBldWlJY29uUG9zaXRpb25FbmQ+XG4gICAgQGlmIChpc0F1dG9jb21wbGV0ZSkge1xuICAgICAgICA8ZXVpLWF1dG9jb21wbGV0ZSBbYXV0b2NvbXBsZXRlRGF0YV09XCJzZWFyY2hSZXN1bHRzXCJcbiAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwie3twbGFjZWhvbGRlckxhYmVsfX1cIlxuICAgICAgICAgICAgcGFuZWxXaWR0aD1cInt7cGFuZWxXaWR0aH19XCJcbiAgICAgICAgICAgIChpbnB1dEJsdXIpPVwib25JbnB1dEJsdXIoJGV2ZW50KVwiXG4gICAgICAgICAgICAoaW5wdXRGb2N1cyk9XCJvbklucHV0Rm9jdXMoJGV2ZW50KVwiXG4gICAgICAgICAgICAoc2VsZWN0aW9uQ2hhbmdlKT1cIm9uU2VsZWN0aW9uQ2hhbmdlKCRldmVudClcIlxuICAgICAgICAgICAgKGlucHV0Q2hhbmdlKT1cIm9uU2VhcmNoKCRldmVudClcIj5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJ0ZW1wbGF0ZXMubGVuZ3RoICE9PSAwXCI+XG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlIGxldC1vcHRpb24gZXVpVGVtcGxhdGU9XCJkcm9wZG93bk9wdGlvblwiPlxuICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgICAgICAgICAgICBbbmdUZW1wbGF0ZU91dGxldF09XCJyZXN1bHRJdGVtVGVtcGxhdGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW25nVGVtcGxhdGVPdXRsZXRDb250ZXh0XT1cInsgJGltcGxpY2l0OiBvcHRpb24gfVwiPlxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvZXVpLWF1dG9jb21wbGV0ZT5cbiAgICB9IEBlbHNlIHtcbiAgICAgICAgQGlmIChpc0lucHV0VGV4dCkge1xuICAgICAgICAgICAgPGlucHV0IGV1aUlucHV0VGV4dCBjbGFzcz1cIm15d3Atc2VhcmNoLWJhcl9faW5wdXRcIiBbKG5nTW9kZWwpXT1cInNlYXJjaElucHV0XCJcbiAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cInt7IHBsYWNlaG9sZGVyTGFiZWwgfX1cIlxuICAgICAgICAgICAgICAgIChmb2N1cyk9XCJvbklucHV0Rm9jdXMoJGV2ZW50KVwiIChibHVyKT1cIm9uSW5wdXRCbHVyKCRldmVudClcIiAoa2V5ZG93bik9XCJvblNlYXJjaElucHV0KCRldmVudClcIiAvPlxuICAgICAgICB9XG4gICAgfVxuXG4gICAgQGlmIChoYXNTZWFyY2hCdXR0b24pIHtcbiAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImV1aS1zZWFyY2hfX2lucHV0LWJ1dHRvblwiXG4gICAgICAgICAgICBldWlCdXR0b25cbiAgICAgICAgICAgIGV1aVJvdW5kZWQgZXVpSWNvbkJ1dHRvblxuICAgICAgICAgICAgW2V1aVNlY29uZGFyeV09XCJpc0lucHV0Rm9jdXNcIlxuICAgICAgICAgICAgW2V1aVByaW1hcnldPVwiIWlzSW5wdXRGb2N1c1wiXG4gICAgICAgICAgICAoY2xpY2spPVwib25TZWFyY2hDbGljaygpXCJcbiAgICAgICAgICAgIGFyaWEtbGFiZWw9XCJzZWFyY2ggYnV0dG9uXCI+XG4gICAgICAgICAgICA8ZXVpLWljb24tc3ZnIGljb249XCJldWktZWNsLXNlYXJjaFwiPjwvZXVpLWljb24tc3ZnPlxuICAgICAgICA8L2J1dHRvbj5cbiAgICB9IEBlbHNlIHtcbiAgICAgICAgPGV1aS1pY29uLXN2ZyBpY29uPVwiZXVpLWVjbC1zZWFyY2hcIj48L2V1aS1pY29uLXN2Zz5cbiAgICB9XG48L2V1aS1pY29uLWlucHV0PlxuIl19
@@ -1,34 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { EuiIconModule } from '@eui/components/eui-icon';
4
- import { EuiIconInputModule } from '@eui/components/eui-icon-input';
5
- import { EuiButtonModule } from '@eui/components/eui-button';
6
- import { EuiInputTextModule } from '@eui/components/eui-input-text';
7
- import { EuiInputGroupModule } from '@eui/components/eui-input-group';
8
- import { EuiSearchComponent } from './search.component';
9
- import { EuiAutocompleteModule } from '@eui/components/eui-autocomplete';
10
- import { EuiTemplateDirectiveModule } from '@eui/components/directives';
11
- import { FormsModule } from '@angular/forms';
12
- import * as i0 from "@angular/core";
13
- export class EuiSearchModule {
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchModule, declarations: [EuiSearchComponent], imports: [CommonModule, EuiIconModule, EuiIconInputModule, EuiButtonModule, EuiAutocompleteModule, EuiTemplateDirectiveModule,
16
- EuiInputTextModule, EuiInputGroupModule,
17
- FormsModule], exports: [EuiSearchComponent] }); }
18
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchModule, imports: [CommonModule, EuiIconModule, EuiIconInputModule, EuiButtonModule, EuiAutocompleteModule, EuiTemplateDirectiveModule,
19
- EuiInputTextModule, EuiInputGroupModule,
20
- FormsModule] }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchModule, decorators: [{
23
- type: NgModule,
24
- args: [{
25
- imports: [
26
- CommonModule, EuiIconModule, EuiIconInputModule, EuiButtonModule, EuiAutocompleteModule, EuiTemplateDirectiveModule,
27
- EuiInputTextModule, EuiInputGroupModule,
28
- FormsModule,
29
- ],
30
- exports: [EuiSearchComponent],
31
- declarations: [EuiSearchComponent],
32
- }]
33
- }] });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2V1aS1zZWFyY2gvc2VhcmNoLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDekQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDcEUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQzdELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBRXRFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGtDQUFrQyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3hFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQzs7QUFXN0MsTUFBTSxPQUFPLGVBQWU7OEdBQWYsZUFBZTsrR0FBZixlQUFlLGlCQUZULGtCQUFrQixhQUw3QixZQUFZ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kvY29tcG9uZW50cy9ldWktaW5wdXQtdGV4dCc7XG5pbXBvcnQgeyBFdWlJbnB1dEdyb3VwTW9kdWxlIH0gZnJvbSAnQGV1aS9jb21wb25lbnRzL2V1aS1pbnB1dC1ncm91cCc7XG5cbmltcG9ydCB7IEV1aVNlYXJjaENvbXBvbmVudCB9IGZyb20gJy4vc2VhcmNoLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBFdWlBdXRvY29tcGxldGVNb2R1bGUgfSBmcm9tICdAZXVpL2NvbXBvbmVudHMvZXVpLWF1dG9jb21wbGV0ZSc7XG5pbXBvcnQgeyBFdWlUZW1wbGF0ZURpcmVjdGl2ZU1vZHVsZSB9IGZyb20gJ0BldWkvY29tcG9uZW50cy9kaXJlY3RpdmVzJztcbmltcG9ydCB7IEZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLCBFdWlJY29uTW9kdWxlLCBFdWlJY29uSW5wdXRNb2R1bGUsIEV1aUJ1dHRvbk1vZHVsZSwgRXVpQXV0b2NvbXBsZXRlTW9kdWxlLCBFdWlUZW1wbGF0ZURpcmVjdGl2ZU1vZHVsZSxcbiAgICAgICAgRXVpSW5wdXRUZXh0TW9kdWxlLCBFdWlJbnB1dEdyb3VwTW9kdWxlLFxuICAgICAgICBGb3Jtc01vZHVsZSxcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtFdWlTZWFyY2hDb21wb25lbnRdLFxuICAgIGRlY2xhcmF0aW9uczogW0V1aVNlYXJjaENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEV1aVNlYXJjaE1vZHVsZSB7fVxuIl19
@@ -1 +0,0 @@
1
- {"version":3,"file":"eui-components-eui-search.d.ts","sourceRoot":"","sources":["../../eui-search/eui-components-eui-search.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './search.component';
2
- export * from './search.module';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../eui-search/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC"}
@@ -1,3 +0,0 @@
1
- {
2
- "module": "../fesm2022/eui-components-eui-search.mjs"
3
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"search.component.d.ts","sourceRoot":"","sources":["../../eui-search/search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsG,YAAY,EAAE,WAAW,EAClI,aAAa,EAAE,SAAS,EACxB,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;;AAElE,qBAOa,kBAAmB,YAAW,aAAa,EAAE,gBAAgB;IACtE,IACW,UAAU,IAAI,MAAM,CAQ9B;IAED,YAAY,UAAS;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,SAAM;IAEV,kBAAkB,EAAE,WAAW,CAAC;QAAE,SAAS,EAAE,mBAAmB,CAAA;KAAE,CAAC,CAAC;IAElE,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,SAAU;IACpB,aAAa,EAAE,mBAAmB,EAAE,CAAM;IAEX,cAAc,UAAS;IACvB,WAAW,UAAS;IACpB,eAAe,UAAS;IACxB,kBAAkB,UAAQ;IAExD,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,CAAsB;IAClD,eAAe,EAAE,YAAY,CAAC,mBAAmB,EAAE,CAAC,CAAsB;IAC1E,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAsB;IACvD,UAAU,EAAE,YAAY,CAAC,KAAK,CAAC,CAAsB;IACrD,SAAS,EAAE,YAAY,CAAC,KAAK,CAAC,CAAsB;IAEvB,SAAS,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;IAElF,kBAAkB,IAAI,IAAI;IAc1B,eAAe,IAAI,IAAI;IAQvB,iBAAiB,CAAC,KAAK,EAAE,mBAAmB,EAAE,GAAG,IAAI;IAIrD,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAKhC,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAO/B,QAAQ,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI;IAKzB,aAAa,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAOrC,aAAa,IAAI,IAAI;yCArFZ,kBAAkB;2CAAlB,kBAAkB;6CA4F6sxB,OAAQ;0CAAR,OAAQ;8CAAR,OAAQ;iDAAR,OAAQ;CADnvxB"}
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./search.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@eui/components/eui-icon";
5
- import * as i4 from "@eui/components/eui-icon-input";
6
- import * as i5 from "@eui/components/eui-button";
7
- import * as i6 from "@eui/components/eui-autocomplete";
8
- import * as i7 from "@eui/components/directives";
9
- import * as i8 from "@eui/components/eui-input-text";
10
- import * as i9 from "@eui/components/eui-input-group";
11
- import * as i10 from "@angular/forms";
12
- export declare class EuiSearchModule {
13
- static ɵfac: i0.ɵɵFactoryDeclaration<EuiSearchModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<EuiSearchModule, [typeof i1.EuiSearchComponent], [typeof i2.CommonModule, typeof i3.EuiIconModule, typeof i4.EuiIconInputModule, typeof i5.EuiButtonModule, typeof i6.EuiAutocompleteModule, typeof i7.EuiTemplateDirectiveModule, typeof i8.EuiInputTextModule, typeof i9.EuiInputGroupModule, typeof i10.FormsModule], [typeof i1.EuiSearchComponent]>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<EuiSearchModule>;
16
- }
17
- //# sourceMappingURL=search.module.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"search.module.d.ts","sourceRoot":"","sources":["../../eui-search/search.module.ts"],"names":[],"mappings":";;;;;;;;;;;AAcA,qBASa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
@@ -1,162 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, booleanAttribute, Component, ChangeDetectionStrategy, ViewEncapsulation, HostBinding, Input, Output, ContentChildren, NgModule } from '@angular/core';
3
- import * as i6 from '@eui/components/directives';
4
- import { EuiTemplateDirective, EuiTemplateDirectiveModule } from '@eui/components/directives';
5
- import * as i1 from '@angular/common';
6
- import { CommonModule } from '@angular/common';
7
- import * as i2 from '@eui/components/eui-icon';
8
- import { EuiIconModule } from '@eui/components/eui-icon';
9
- import * as i3 from '@eui/components/eui-icon-input';
10
- import { EuiIconInputModule } from '@eui/components/eui-icon-input';
11
- import * as i4 from '@eui/components/eui-button';
12
- import { EuiButtonModule } from '@eui/components/eui-button';
13
- import * as i5 from '@eui/components/eui-autocomplete';
14
- import { EuiAutocompleteModule } from '@eui/components/eui-autocomplete';
15
- import * as i7 from '@eui/components/eui-input-text';
16
- import { EuiInputTextModule } from '@eui/components/eui-input-text';
17
- import * as i8 from '@angular/forms';
18
- import { FormsModule } from '@angular/forms';
19
- import { EuiInputGroupModule } from '@eui/components/eui-input-group';
20
-
21
- class EuiSearchComponent {
22
- constructor() {
23
- this.isInputFocus = false;
24
- this.searchInput = '';
25
- this.panelWidth = '25vw';
26
- this.searchResults = [];
27
- this.isAutocomplete = false;
28
- this.isInputText = false;
29
- this.hasSearchButton = false;
30
- this.hasExpandAnimation = true;
31
- this.search = new EventEmitter();
32
- this.selectionChange = new EventEmitter();
33
- this.searchClick = new EventEmitter();
34
- this.inputFocus = new EventEmitter();
35
- this.inputBlur = new EventEmitter();
36
- }
37
- get cssClasses() {
38
- return [
39
- 'eui-search',
40
- this.isInputFocus ? 'eui-search--focus' : '',
41
- !this.hasExpandAnimation ? 'eui-search--no-animation' : '',
42
- ]
43
- .join(' ')
44
- .trim();
45
- }
46
- ngAfterContentInit() {
47
- if (this.isAutocomplete) {
48
- this.isInputText = false;
49
- }
50
- if (this.isInputText) {
51
- this.isAutocomplete = false;
52
- }
53
- if (!this.isInputText && !this.isAutocomplete) {
54
- this.isAutocomplete = true;
55
- }
56
- }
57
- ngAfterViewInit() {
58
- this.templates.forEach((item) => {
59
- if (item.getType() === 'resultItemTemplate') {
60
- this.resultItemTemplate = item.template;
61
- }
62
- });
63
- }
64
- onSelectionChange(items) {
65
- this.selectionChange.emit(items);
66
- }
67
- onInputFocus(event) {
68
- this.inputFocus.emit(event);
69
- this.isInputFocus = true;
70
- }
71
- onInputBlur(event) {
72
- if (!this.hasSearchButton || (this.hasSearchButton && this.searchInput === '')) {
73
- this.inputBlur.emit(event);
74
- this.isInputFocus = false;
75
- }
76
- }
77
- onSearch(e) {
78
- this.searchTerm = e;
79
- this.search.emit(e);
80
- }
81
- onSearchInput(e) {
82
- if (e.code === 'Enter') {
83
- this.searchTerm = this.searchInput;
84
- this.search.emit(this.searchInput);
85
- }
86
- }
87
- onSearchClick() {
88
- this.isInputFocus = false;
89
- if (this.searchInput) {
90
- this.searchClick.emit(this.searchInput);
91
- }
92
- }
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
94
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: EuiSearchComponent, selector: "eui-search", inputs: { placeholderLabel: "placeholderLabel", panelWidth: "panelWidth", searchResults: "searchResults", isAutocomplete: ["isAutocomplete", "isAutocomplete", booleanAttribute], isInputText: ["isInputText", "isInputText", booleanAttribute], hasSearchButton: ["hasSearchButton", "hasSearchButton", booleanAttribute], hasExpandAnimation: ["hasExpandAnimation", "hasExpandAnimation", booleanAttribute] }, outputs: { search: "search", selectionChange: "selectionChange", searchClick: "searchClick", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "templates", predicate: EuiTemplateDirective }], ngImport: i0, template: "<eui-icon-input euiIconPositionEnd>\n @if (isAutocomplete) {\n <eui-autocomplete [autocompleteData]=\"searchResults\"\n placeholder=\"{{placeholderLabel}}\"\n panelWidth=\"{{panelWidth}}\"\n (inputBlur)=\"onInputBlur($event)\"\n (inputFocus)=\"onInputFocus($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n (inputChange)=\"onSearch($event)\">\n <ng-container *ngIf=\"templates.length !== 0\">\n <ng-template let-option euiTemplate=\"dropdownOption\">\n <ng-container\n [ngTemplateOutlet]=\"resultItemTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\">\n </ng-container>\n </ng-template>\n </ng-container>\n </eui-autocomplete>\n } @else {\n @if (isInputText) {\n <input euiInputText class=\"mywp-search-bar__input\" [(ngModel)]=\"searchInput\"\n placeholder=\"{{ placeholderLabel }}\"\n (focus)=\"onInputFocus($event)\" (blur)=\"onInputBlur($event)\" (keydown)=\"onSearchInput($event)\" />\n }\n }\n\n @if (hasSearchButton) {\n <button class=\"eui-search__input-button\"\n euiButton\n euiRounded euiIconButton\n [euiSecondary]=\"isInputFocus\"\n [euiPrimary]=\"!isInputFocus\"\n (click)=\"onSearchClick()\"\n aria-label=\"search button\">\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n </button>\n } @else {\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n }\n</eui-icon-input>\n", styles: [".eui-search{display:flex;top:0}.eui-search .eui-button .eui-button__container{justify-content:center}.eui-search .eui-input-text{background-color:var(--eui-c-branding-dark);border-color:var(--eui-c-branding-light);border-radius:var(--eui-br-max)!important;text-overflow:ellipsis;transition:width .25s ease-in-out;color:var(--eui-c-branding-dark-contrast);width:200px}.eui-search .eui-input-text--clearable-icon{display:none}.eui-search--focus .eui-input-text{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-light);color:var(--eui-c-black);width:300px}.eui-search--focus .eui-search__input-button{color:var(--eui-c-black)!important}.eui-search--focus .eui-search__input-button .eui-icon-svg svg{color:var(--eui-c-black)!important;fill:var(--eui-c-black)!important}.eui-search--focus .eui-search__icon{display:none}.eui-search__input-button{position:absolute;right:4px;top:4px;color:var(--eui-c-neutral-lightest)!important}.eui-search__input-button .eui-icon-svg{z-index:1}.eui-search__input-button:focus .eui-icon-svg svg{color:var(--eui-c-white)!important;fill:var(--eui-c-white)!important}.eui-search--no-animation .eui-input-text{transition:none}.eui-search--focus.eui-search--no-animation .eui-input-text{width:200px}@media screen and (max-width: 767px){.eui-search{display:none}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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.EuiIconInputComponent, selector: "eui-icon-input", inputs: ["euiIconPositionStart", "euiIconPositionEnd"] }, { kind: "component", type: i4.EuiButtonComponent, selector: "button[euiButton], a[euiButton]", inputs: ["e2eAttr", "id", "euiBasicButton", "euiButtonCall", "euiBlockButton", "euiIconButton", "euiLineWrap", "isChecked", "euiDisabled"], outputs: ["buttonClick"] }, { kind: "component", type: i5.EuiAutocompleteComponent, selector: "eui-autocomplete, input[euiAutocomplete]", inputs: ["inputId", "autocompleteData", "visibleOptions", "matching", "placeholder", "autocompleteDataSelected", "chipsSortOrder", "itemsSortOrder", "chipsPosition", "groupBy", "toggleLinkMoreLabel", "toggleLinkLessLabel", "classList", "panelWidth", "dragAndDropSourceName", "dragAndDropConnectedTo", "isFreeValueAllowed", "isReadonly", "isLoading", "hasChips", "isAsync", "isChipsSorted", "isItemsSorted", "isChipsRemovable", "isDuplicateValueAllowed", "isAddOnBlur", "isForceSelection", "maxVisibleChipsCount", "chipsLabelTruncateCount", "isMaxVisibleChipsOpened", "isChipsDragAndDrop"], outputs: ["panelClose", "panelOpen", "inputFocus", "inputBlur", "clear", "selectionChange", "itemAdd", "itemRemove", "inputChange", "chipDragStart", "chipDragRelease", "chipDrop"] }, { kind: "directive", type: i6.EuiTemplateDirective, selector: "[euiTemplate]", inputs: ["type", "euiTemplate"] }, { kind: "component", type: i7.EuiInputTextComponent, selector: "input[euiInputText]", inputs: ["isInvalid"] }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
95
- }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchComponent, decorators: [{
97
- type: Component,
98
- args: [{ selector: 'eui-search', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, template: "<eui-icon-input euiIconPositionEnd>\n @if (isAutocomplete) {\n <eui-autocomplete [autocompleteData]=\"searchResults\"\n placeholder=\"{{placeholderLabel}}\"\n panelWidth=\"{{panelWidth}}\"\n (inputBlur)=\"onInputBlur($event)\"\n (inputFocus)=\"onInputFocus($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n (inputChange)=\"onSearch($event)\">\n <ng-container *ngIf=\"templates.length !== 0\">\n <ng-template let-option euiTemplate=\"dropdownOption\">\n <ng-container\n [ngTemplateOutlet]=\"resultItemTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\">\n </ng-container>\n </ng-template>\n </ng-container>\n </eui-autocomplete>\n } @else {\n @if (isInputText) {\n <input euiInputText class=\"mywp-search-bar__input\" [(ngModel)]=\"searchInput\"\n placeholder=\"{{ placeholderLabel }}\"\n (focus)=\"onInputFocus($event)\" (blur)=\"onInputBlur($event)\" (keydown)=\"onSearchInput($event)\" />\n }\n }\n\n @if (hasSearchButton) {\n <button class=\"eui-search__input-button\"\n euiButton\n euiRounded euiIconButton\n [euiSecondary]=\"isInputFocus\"\n [euiPrimary]=\"!isInputFocus\"\n (click)=\"onSearchClick()\"\n aria-label=\"search button\">\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n </button>\n } @else {\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n }\n</eui-icon-input>\n", styles: [".eui-search{display:flex;top:0}.eui-search .eui-button .eui-button__container{justify-content:center}.eui-search .eui-input-text{background-color:var(--eui-c-branding-dark);border-color:var(--eui-c-branding-light);border-radius:var(--eui-br-max)!important;text-overflow:ellipsis;transition:width .25s ease-in-out;color:var(--eui-c-branding-dark-contrast);width:200px}.eui-search .eui-input-text--clearable-icon{display:none}.eui-search--focus .eui-input-text{background-color:var(--eui-c-white);border-color:var(--eui-c-neutral-light);color:var(--eui-c-black);width:300px}.eui-search--focus .eui-search__input-button{color:var(--eui-c-black)!important}.eui-search--focus .eui-search__input-button .eui-icon-svg svg{color:var(--eui-c-black)!important;fill:var(--eui-c-black)!important}.eui-search--focus .eui-search__icon{display:none}.eui-search__input-button{position:absolute;right:4px;top:4px;color:var(--eui-c-neutral-lightest)!important}.eui-search__input-button .eui-icon-svg{z-index:1}.eui-search__input-button:focus .eui-icon-svg svg{color:var(--eui-c-white)!important;fill:var(--eui-c-white)!important}.eui-search--no-animation .eui-input-text{transition:none}.eui-search--focus.eui-search--no-animation .eui-input-text{width:200px}@media screen and (max-width: 767px){.eui-search{display:none}}\n"] }]
99
- }], propDecorators: { cssClasses: [{
100
- type: HostBinding,
101
- args: ['class']
102
- }], placeholderLabel: [{
103
- type: Input
104
- }], panelWidth: [{
105
- type: Input
106
- }], searchResults: [{
107
- type: Input
108
- }], isAutocomplete: [{
109
- type: Input,
110
- args: [{ transform: booleanAttribute }]
111
- }], isInputText: [{
112
- type: Input,
113
- args: [{ transform: booleanAttribute }]
114
- }], hasSearchButton: [{
115
- type: Input,
116
- args: [{ transform: booleanAttribute }]
117
- }], hasExpandAnimation: [{
118
- type: Input,
119
- args: [{ transform: booleanAttribute }]
120
- }], search: [{
121
- type: Output
122
- }], selectionChange: [{
123
- type: Output
124
- }], searchClick: [{
125
- type: Output
126
- }], inputFocus: [{
127
- type: Output
128
- }], inputBlur: [{
129
- type: Output
130
- }], templates: [{
131
- type: ContentChildren,
132
- args: [EuiTemplateDirective]
133
- }] } });
134
-
135
- class EuiSearchModule {
136
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
137
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchModule, declarations: [EuiSearchComponent], imports: [CommonModule, EuiIconModule, EuiIconInputModule, EuiButtonModule, EuiAutocompleteModule, EuiTemplateDirectiveModule,
138
- EuiInputTextModule, EuiInputGroupModule,
139
- FormsModule], exports: [EuiSearchComponent] }); }
140
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchModule, imports: [CommonModule, EuiIconModule, EuiIconInputModule, EuiButtonModule, EuiAutocompleteModule, EuiTemplateDirectiveModule,
141
- EuiInputTextModule, EuiInputGroupModule,
142
- FormsModule] }); }
143
- }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EuiSearchModule, decorators: [{
145
- type: NgModule,
146
- args: [{
147
- imports: [
148
- CommonModule, EuiIconModule, EuiIconInputModule, EuiButtonModule, EuiAutocompleteModule, EuiTemplateDirectiveModule,
149
- EuiInputTextModule, EuiInputGroupModule,
150
- FormsModule,
151
- ],
152
- exports: [EuiSearchComponent],
153
- declarations: [EuiSearchComponent],
154
- }]
155
- }] });
156
-
157
- /**
158
- * Generated bundle index. Do not edit.
159
- */
160
-
161
- export { EuiSearchComponent, EuiSearchModule };
162
- //# sourceMappingURL=eui-components-eui-search.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eui-components-eui-search.mjs","sources":["../../eui-search/search.component.ts","../../eui-search/search.component.html","../../eui-search/search.module.ts","../../eui-search/eui-components-eui-search.ts"],"sourcesContent":["import { Component, ViewEncapsulation, ContentChildren, ChangeDetectionStrategy, HostBinding, Input, Output, EventEmitter, TemplateRef,\n AfterViewInit, QueryList, booleanAttribute,\n AfterContentInit } from '@angular/core';\nimport { EuiAutoCompleteItem } from '@eui/components/eui-autocomplete';\n\nimport { EuiTemplateDirective } from '@eui/components/directives';\n\n@Component({\n selector: 'eui-search',\n templateUrl: './search.component.html',\n styleUrls: ['./_styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiSearchComponent implements AfterViewInit, AfterContentInit {\n @HostBinding('class')\n public get cssClasses(): string {\n return [\n 'eui-search',\n this.isInputFocus ? 'eui-search--focus' : '',\n !this.hasExpandAnimation ? 'eui-search--no-animation': '',\n ]\n .join(' ')\n .trim();\n }\n\n isInputFocus = false;\n searchTerm: string;\n searchInput = '';\n\n public resultItemTemplate: TemplateRef<{ $implicit: EuiAutoCompleteItem }>;\n\n @Input() placeholderLabel: string;\n @Input() panelWidth = '25vw';\n @Input() searchResults: EuiAutoCompleteItem[] = [];\n\n @Input({ transform: booleanAttribute }) isAutocomplete = false;\n @Input({ transform: booleanAttribute }) isInputText = false;\n @Input({ transform: booleanAttribute }) hasSearchButton = false;\n @Input({ transform: booleanAttribute }) hasExpandAnimation = true;\n\n @Output() search: EventEmitter<string> = new EventEmitter();\n @Output() selectionChange: EventEmitter<EuiAutoCompleteItem[]> = new EventEmitter();\n @Output() searchClick: EventEmitter<string> = new EventEmitter();\n @Output() inputFocus: EventEmitter<Event> = new EventEmitter();\n @Output() inputBlur: EventEmitter<Event> = new EventEmitter();\n\n @ContentChildren(EuiTemplateDirective) templates: QueryList<EuiTemplateDirective>;\n\n ngAfterContentInit(): void {\n if (this.isAutocomplete) {\n this.isInputText = false;\n }\n\n if (this.isInputText) {\n this.isAutocomplete = false;\n }\n\n if (!this.isInputText && !this.isAutocomplete) {\n this.isAutocomplete = true;\n }\n }\n\n ngAfterViewInit(): void {\n this.templates.forEach((item) => {\n if (item.getType() === 'resultItemTemplate') {\n this.resultItemTemplate = item.template;\n }\n });\n }\n\n onSelectionChange(items: EuiAutoCompleteItem[]): void {\n this.selectionChange.emit(items);\n }\n\n onInputFocus(event: Event): void {\n this.inputFocus.emit(event);\n this.isInputFocus = true;\n }\n\n onInputBlur(event: Event): void {\n if (!this.hasSearchButton || (this.hasSearchButton && this.searchInput === '')) {\n this.inputBlur.emit(event);\n this.isInputFocus = false;\n }\n }\n\n onSearch(e: string): void {\n this.searchTerm = e;\n this.search.emit(e);\n }\n\n onSearchInput(e: KeyboardEvent): void {\n if (e.code === 'Enter') {\n this.searchTerm = this.searchInput;\n this.search.emit(this.searchInput);\n }\n }\n\n onSearchClick(): void {\n this.isInputFocus = false;\n if (this.searchInput) {\n this.searchClick.emit(this.searchInput);\n }\n }\n}\n","<eui-icon-input euiIconPositionEnd>\n @if (isAutocomplete) {\n <eui-autocomplete [autocompleteData]=\"searchResults\"\n placeholder=\"{{placeholderLabel}}\"\n panelWidth=\"{{panelWidth}}\"\n (inputBlur)=\"onInputBlur($event)\"\n (inputFocus)=\"onInputFocus($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n (inputChange)=\"onSearch($event)\">\n <ng-container *ngIf=\"templates.length !== 0\">\n <ng-template let-option euiTemplate=\"dropdownOption\">\n <ng-container\n [ngTemplateOutlet]=\"resultItemTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: option }\">\n </ng-container>\n </ng-template>\n </ng-container>\n </eui-autocomplete>\n } @else {\n @if (isInputText) {\n <input euiInputText class=\"mywp-search-bar__input\" [(ngModel)]=\"searchInput\"\n placeholder=\"{{ placeholderLabel }}\"\n (focus)=\"onInputFocus($event)\" (blur)=\"onInputBlur($event)\" (keydown)=\"onSearchInput($event)\" />\n }\n }\n\n @if (hasSearchButton) {\n <button class=\"eui-search__input-button\"\n euiButton\n euiRounded euiIconButton\n [euiSecondary]=\"isInputFocus\"\n [euiPrimary]=\"!isInputFocus\"\n (click)=\"onSearchClick()\"\n aria-label=\"search button\">\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n </button>\n } @else {\n <eui-icon-svg icon=\"eui-ecl-search\"></eui-icon-svg>\n }\n</eui-icon-input>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EuiIconModule } from '@eui/components/eui-icon';\nimport { EuiIconInputModule } from '@eui/components/eui-icon-input';\nimport { EuiButtonModule } from '@eui/components/eui-button';\nimport { EuiInputTextModule } from '@eui/components/eui-input-text';\nimport { EuiInputGroupModule } from '@eui/components/eui-input-group';\n\nimport { EuiSearchComponent } from './search.component';\nimport { EuiAutocompleteModule } from '@eui/components/eui-autocomplete';\nimport { EuiTemplateDirectiveModule } from '@eui/components/directives';\nimport { FormsModule } from '@angular/forms';\n\n@NgModule({\n imports: [\n CommonModule, EuiIconModule, EuiIconInputModule, EuiButtonModule, EuiAutocompleteModule, EuiTemplateDirectiveModule,\n EuiInputTextModule, EuiInputGroupModule,\n FormsModule,\n ],\n exports: [EuiSearchComponent],\n declarations: [EuiSearchComponent],\n})\nexport class EuiSearchModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;MAca,kBAAkB,CAAA;AAP/B,IAAA,WAAA,GAAA;QAmBI,IAAY,CAAA,YAAA,GAAG,KAAK,CAAC;QAErB,IAAW,CAAA,WAAA,GAAG,EAAE,CAAC;QAKR,IAAU,CAAA,UAAA,GAAG,MAAM,CAAC;QACpB,IAAa,CAAA,aAAA,GAA0B,EAAE,CAAC;QAEX,IAAc,CAAA,cAAA,GAAG,KAAK,CAAC;QACvB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QACpB,IAAe,CAAA,eAAA,GAAG,KAAK,CAAC;QACxB,IAAkB,CAAA,kBAAA,GAAG,IAAI,CAAC;AAExD,QAAA,IAAA,CAAA,MAAM,GAAyB,IAAI,YAAY,EAAE,CAAC;AAClD,QAAA,IAAA,CAAA,eAAe,GAAwC,IAAI,YAAY,EAAE,CAAC;AAC1E,QAAA,IAAA,CAAA,WAAW,GAAyB,IAAI,YAAY,EAAE,CAAC;AACvD,QAAA,IAAA,CAAA,UAAU,GAAwB,IAAI,YAAY,EAAE,CAAC;AACrD,QAAA,IAAA,CAAA,SAAS,GAAwB,IAAI,YAAY,EAAE,CAAC;AA4DjE,KAAA;AA1FG,IAAA,IACW,UAAU,GAAA;QACjB,OAAO;YACH,YAAY;YACZ,IAAI,CAAC,YAAY,GAAG,mBAAmB,GAAG,EAAE;YAC5C,CAAC,IAAI,CAAC,kBAAkB,GAAG,0BAA0B,GAAE,EAAE;AAC5D,SAAA;aACI,IAAI,CAAC,GAAG,CAAC;AACT,aAAA,IAAI,EAAE,CAAC;KACf;IAyBD,kBAAkB,GAAA;AACd,QAAA,IAAI,IAAI,CAAC,cAAc,EAAE;AACrB,YAAA,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;SAC5B;AAED,QAAA,IA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