@eui/components 19.0.3 → 19.0.4

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 (170) hide show
  1. package/directives/eui-has-permission.directive.d.ts +70 -2
  2. package/directives/eui-has-permission.directive.d.ts.map +1 -1
  3. package/directives/eui-maxlength.directive.d.ts +94 -10
  4. package/directives/eui-maxlength.directive.d.ts.map +1 -1
  5. package/docs/components/EuiAlertComponent.html +129 -0
  6. package/docs/components/EuiAlertTitleComponent.html +12 -0
  7. package/docs/components/EuiChipComponent.html +108 -1
  8. package/docs/components/EuiInputCheckboxComponent.html +169 -10
  9. package/docs/components/EuiInputGroupAddOnComponent.html +22 -0
  10. package/docs/components/EuiInputGroupAddOnItemComponent.html +30 -0
  11. package/docs/components/EuiInputGroupComponent.html +35 -0
  12. package/docs/components/EuiInputNumberComponent.html +83 -4
  13. package/docs/components/EuiInputRadioComponent.html +228 -0
  14. package/docs/components/EuiInputTextComponent.html +50 -0
  15. package/docs/components/EuiPaginatorComponent.html +204 -0
  16. package/docs/components/EuiTextareaComponent.html +207 -1
  17. package/docs/dependencies.html +2 -2
  18. package/docs/directives/AutoResizeDirective.html +49 -1
  19. package/docs/directives/EuiHasPermissionDirective.html +34 -0
  20. package/docs/directives/EuiInputNumberDirective.html +17 -0
  21. package/docs/directives/EuiMaxLengthDirective.html +35 -7
  22. package/docs/js/menu-wc.js +65 -119
  23. package/docs/js/menu-wc_es5.js +1 -1
  24. package/docs/js/search/search_index.js +2 -2
  25. package/docs/miscellaneous/functions.html +14 -0
  26. package/docs/modules/EuiAlertModule.html +11 -0
  27. package/docs/modules/EuiChipModule.html +11 -0
  28. package/docs/modules/EuiHasPermissionDirectiveModule.html +17 -3
  29. package/docs/modules/EuiInputCheckboxModule.html +25 -4
  30. package/docs/modules/EuiInputGroupModule.html +20 -5
  31. package/docs/modules/EuiInputNumberModule.html +26 -5
  32. package/docs/modules/EuiInputRadioModule.html +27 -4
  33. package/docs/modules/EuiInputTextModule.html +25 -4
  34. package/docs/modules/EuiMaxLengthDirectiveModule.html +25 -4
  35. package/docs/modules/EuiPaginatorModule.html +11 -0
  36. package/docs/modules/EuiTextAreaModule.html +20 -4
  37. package/eui-alert/components/eui-alert-title.component.d.ts +1 -0
  38. package/eui-alert/components/eui-alert-title.component.d.ts.map +1 -1
  39. package/eui-alert/eui-alert.component.d.ts +74 -0
  40. package/eui-alert/eui-alert.component.d.ts.map +1 -1
  41. package/eui-alert/eui-alert.module.d.ts +12 -0
  42. package/eui-alert/eui-alert.module.d.ts.map +1 -1
  43. package/eui-chip/eui-chip.component.d.ts +71 -0
  44. package/eui-chip/eui-chip.component.d.ts.map +1 -1
  45. package/eui-chip/eui-chip.module.d.ts +12 -0
  46. package/eui-chip/eui-chip.module.d.ts.map +1 -1
  47. package/eui-input-checkbox/eui-input-checkbox.component.d.ts +88 -11
  48. package/eui-input-checkbox/eui-input-checkbox.component.d.ts.map +1 -1
  49. package/eui-input-checkbox/eui-input-checkbox.module.d.ts +17 -3
  50. package/eui-input-checkbox/eui-input-checkbox.module.d.ts.map +1 -1
  51. package/eui-input-group/eui-input-group-addon-item.component.d.ts +33 -1
  52. package/eui-input-group/eui-input-group-addon-item.component.d.ts.map +1 -1
  53. package/eui-input-group/eui-input-group-addon.component.d.ts +40 -2
  54. package/eui-input-group/eui-input-group-addon.component.d.ts.map +1 -1
  55. package/eui-input-group/eui-input-group.component.d.ts +44 -1
  56. package/eui-input-group/eui-input-group.component.d.ts.map +1 -1
  57. package/eui-input-group/eui-input-group.module.d.ts +21 -5
  58. package/eui-input-group/eui-input-group.module.d.ts.map +1 -1
  59. package/eui-input-number/eui-input-number.component.d.ts +73 -9
  60. package/eui-input-number/eui-input-number.component.d.ts.map +1 -1
  61. package/eui-input-number/eui-input-number.module.d.ts +19 -4
  62. package/eui-input-number/eui-input-number.module.d.ts.map +1 -1
  63. package/eui-input-number/eui-number-control.directive.d.ts +27 -2
  64. package/eui-input-number/eui-number-control.directive.d.ts.map +1 -1
  65. package/eui-input-radio/eui-input-radio.component.d.ts +96 -1
  66. package/eui-input-radio/eui-input-radio.component.d.ts.map +1 -1
  67. package/eui-input-radio/eui-input-radio.module.d.ts +20 -3
  68. package/eui-input-radio/eui-input-radio.module.d.ts.map +1 -1
  69. package/eui-input-text/eui-input-text.component.d.ts +54 -1
  70. package/eui-input-text/eui-input-text.component.d.ts.map +1 -1
  71. package/eui-input-text/eui-input-text.module.d.ts +19 -3
  72. package/eui-input-text/eui-input-text.module.d.ts.map +1 -1
  73. package/eui-paginator/eui-paginator.component.d.ts +148 -4
  74. package/eui-paginator/eui-paginator.component.d.ts.map +1 -1
  75. package/eui-paginator/eui-paginator.module.d.ts +12 -0
  76. package/eui-paginator/eui-paginator.module.d.ts.map +1 -1
  77. package/eui-textarea/auto-resize.directive.d.ts +90 -3
  78. package/eui-textarea/auto-resize.directive.d.ts.map +1 -1
  79. package/eui-textarea/eui-textarea.component.d.ts +111 -5
  80. package/eui-textarea/eui-textarea.component.d.ts.map +1 -1
  81. package/eui-textarea/eui-textarea.module.d.ts +23 -4
  82. package/eui-textarea/eui-textarea.module.d.ts.map +1 -1
  83. package/eui-timepicker/eui-timepicker.component.d.ts.map +1 -1
  84. package/fesm2022/eui-components-directives.mjs +180 -34
  85. package/fesm2022/eui-components-directives.mjs.map +1 -1
  86. package/fesm2022/eui-components-eui-accordion.mjs +1 -1
  87. package/fesm2022/eui-components-eui-alert.mjs +85 -3
  88. package/fesm2022/eui-components-eui-alert.mjs.map +1 -1
  89. package/fesm2022/eui-components-eui-autocomplete.mjs +2 -2
  90. package/fesm2022/eui-components-eui-avatar.mjs +1 -1
  91. package/fesm2022/eui-components-eui-badge.mjs +1 -1
  92. package/fesm2022/eui-components-eui-block-content.mjs +1 -1
  93. package/fesm2022/eui-components-eui-block-document.mjs +1 -1
  94. package/fesm2022/eui-components-eui-breadcrumb.mjs +1 -1
  95. package/fesm2022/eui-components-eui-button-group.mjs +1 -1
  96. package/fesm2022/eui-components-eui-button-v2.mjs +1 -1
  97. package/fesm2022/eui-components-eui-button.mjs +1 -1
  98. package/fesm2022/eui-components-eui-card.mjs +3 -3
  99. package/fesm2022/eui-components-eui-card.mjs.map +1 -1
  100. package/fesm2022/eui-components-eui-chip-group.mjs +1 -1
  101. package/fesm2022/eui-components-eui-chip-list.mjs +1 -1
  102. package/fesm2022/eui-components-eui-chip.mjs +75 -1
  103. package/fesm2022/eui-components-eui-chip.mjs.map +1 -1
  104. package/fesm2022/eui-components-eui-dashboard-button.mjs +1 -1
  105. package/fesm2022/eui-components-eui-dashboard-card.mjs +1 -1
  106. package/fesm2022/eui-components-eui-date-range-selector.mjs +5 -5
  107. package/fesm2022/eui-components-eui-date-range-selector.mjs.map +1 -1
  108. package/fesm2022/eui-components-eui-datepicker.mjs +1 -1
  109. package/fesm2022/eui-components-eui-dialog.mjs +1 -1
  110. package/fesm2022/eui-components-eui-dimmer.mjs +1 -1
  111. package/fesm2022/eui-components-eui-disable-content.mjs +1 -1
  112. package/fesm2022/eui-components-eui-discussion-thread.mjs +1 -1
  113. package/fesm2022/eui-components-eui-dropdown.mjs +2 -2
  114. package/fesm2022/eui-components-eui-feedback-message.mjs +1 -1
  115. package/fesm2022/eui-components-eui-fieldset.mjs +1 -1
  116. package/fesm2022/eui-components-eui-file-upload.mjs +1 -1
  117. package/fesm2022/eui-components-eui-growl.mjs +1 -1
  118. package/fesm2022/eui-components-eui-icon-button-expander.mjs +1 -1
  119. package/fesm2022/eui-components-eui-icon-button.mjs +1 -1
  120. package/fesm2022/eui-components-eui-icon-color.mjs +1 -1
  121. package/fesm2022/eui-components-eui-icon-input.mjs +1 -1
  122. package/fesm2022/eui-components-eui-icon-state.mjs +1 -1
  123. package/fesm2022/eui-components-eui-icon-toggle.mjs +1 -1
  124. package/fesm2022/eui-components-eui-icon.mjs +1 -1
  125. package/fesm2022/eui-components-eui-input-checkbox.mjs +104 -14
  126. package/fesm2022/eui-components-eui-input-checkbox.mjs.map +1 -1
  127. package/fesm2022/eui-components-eui-input-group.mjs +142 -12
  128. package/fesm2022/eui-components-eui-input-group.mjs.map +1 -1
  129. package/fesm2022/eui-components-eui-input-number.mjs +109 -13
  130. package/fesm2022/eui-components-eui-input-number.mjs.map +1 -1
  131. package/fesm2022/eui-components-eui-input-radio.mjs +117 -6
  132. package/fesm2022/eui-components-eui-input-radio.mjs.map +1 -1
  133. package/fesm2022/eui-components-eui-input-text.mjs +73 -6
  134. package/fesm2022/eui-components-eui-input-text.mjs.map +1 -1
  135. package/fesm2022/eui-components-eui-label.mjs +1 -1
  136. package/fesm2022/eui-components-eui-language-selector.mjs +1 -1
  137. package/fesm2022/eui-components-eui-list.mjs +1 -1
  138. package/fesm2022/eui-components-eui-menu.mjs +1 -1
  139. package/fesm2022/eui-components-eui-message-box.mjs +1 -1
  140. package/fesm2022/eui-components-eui-navbar.mjs +1 -1
  141. package/fesm2022/eui-components-eui-overlay.mjs +1 -1
  142. package/fesm2022/eui-components-eui-page.mjs +1 -1
  143. package/fesm2022/eui-components-eui-paginator.mjs +153 -6
  144. package/fesm2022/eui-components-eui-paginator.mjs.map +1 -1
  145. package/fesm2022/eui-components-eui-popover.mjs +1 -1
  146. package/fesm2022/eui-components-eui-progress-bar.mjs +1 -1
  147. package/fesm2022/eui-components-eui-progress-circle.mjs +1 -1
  148. package/fesm2022/eui-components-eui-select.mjs +1 -1
  149. package/fesm2022/eui-components-eui-sidebar-menu.mjs +1 -1
  150. package/fesm2022/eui-components-eui-skeleton.mjs +1 -1
  151. package/fesm2022/eui-components-eui-slide-toggle.mjs +2 -2
  152. package/fesm2022/eui-components-eui-split-button.mjs +1 -1
  153. package/fesm2022/eui-components-eui-table-v2.mjs +1 -1
  154. package/fesm2022/eui-components-eui-table.mjs +1 -1
  155. package/fesm2022/eui-components-eui-tabs.mjs +1 -1
  156. package/fesm2022/eui-components-eui-textarea.mjs +221 -15
  157. package/fesm2022/eui-components-eui-textarea.mjs.map +1 -1
  158. package/fesm2022/eui-components-eui-timebar.mjs +1 -1
  159. package/fesm2022/eui-components-eui-timeline.mjs +1 -1
  160. package/fesm2022/eui-components-eui-timepicker.mjs +36 -29
  161. package/fesm2022/eui-components-eui-timepicker.mjs.map +1 -1
  162. package/fesm2022/eui-components-eui-tree-list.mjs +1 -1
  163. package/fesm2022/eui-components-eui-tree.mjs +1 -1
  164. package/fesm2022/eui-components-eui-user-profile.mjs +1 -1
  165. package/fesm2022/eui-components-eui-wizard.mjs +1 -1
  166. package/fesm2022/eui-components-externals-eui-editor.mjs +1 -1
  167. package/fesm2022/eui-components-externals-quill.mjs +1 -1
  168. package/fesm2022/eui-components-layout.mjs +2 -2
  169. package/fesm2022/eui-components-shared.mjs +2 -2
  170. package/package.json +3 -3
@@ -4,26 +4,134 @@ import { EuiAppShellService } from '@eui/core';
4
4
  import { EuiPaginationEvent } from './models/pagination-event.model';
5
5
  import { DecimalPipe } from '@angular/common';
6
6
  import * as i0 from "@angular/core";
7
+ /**
8
+ * @description
9
+ * The eui-paginator component is in charge of the pagination by splitting up content or data into several pages and adding visual controls for better user experience like:
10
+ * - identifying the current page : clearly identify which page the user is on by displaying the current page number.
11
+ * - providing context into how many pages there are in total : can help provide clarity around the data displayed.
12
+ * - providing various options for navigating : previous and next chevrons or links are the most useful way for the user to move forward or backward through pages of data.
13
+ * - items per page : allows to select the amount of data displayed per page.
14
+ *
15
+ * Best practices & Usage
16
+ * Generally, pagination is recommended to be used if there are more than 25 items displayed in one view. The default number of displayed items may vary depending on the context.
17
+ *
18
+ * The main benefits of using pagination :
19
+ * - delivers structure and feedback over the displayed data
20
+ * - supports embedded navigation (and in particular back and forward, first and last)
21
+ * - pagination is accessible (see A11Y)
22
+ * - pagination typically means smaller, shorter pages and as a result reduced load times
23
+ * - compared to infinite scroll display, it helps to focus the user's mind and not continue to offer more and more choices.
24
+ *
25
+ * @example
26
+ * ```typescript
27
+ * public dataSource: any[] = [
28
+ * { id: 0 },
29
+ * ];
30
+ * ```
31
+ *
32
+ * ```html
33
+ * <eui-paginator [length]="dataSource.length"></eui-paginator>
34
+ * ```
35
+ *
36
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-paginator}.
37
+ */
7
38
  export declare class EuiPaginatorComponent implements OnInit, OnDestroy, OnChanges {
8
39
  EuiAppShellService: EuiAppShellService;
9
40
  private decimal;
41
+ /**
42
+ * Sets the `data-e2e` attribute for the host element.
43
+ *
44
+ * @default 'eui-paginator'
45
+ */
10
46
  e2eAttr: string;
47
+ /**
48
+ * Sets the `class` attribute for the host element.
49
+ *
50
+ * @returns A string with all CSS classes applied.
51
+ */
11
52
  get cssClasses(): string;
53
+ /**
54
+ * Sets the page size options that will be displayed in the dropdown.
55
+ *
56
+ * @default [5, 10, 25, 50, 100]
57
+ */
12
58
  pageSizeOptions: number[];
59
+ /**
60
+ * Sets the number of items displayed in the page.
61
+ *
62
+ * @default 10
63
+ */
13
64
  pageSize: number;
65
+ /**
66
+ * Sets the current page number.
67
+ *
68
+ * @default 0
69
+ */
14
70
  page: number;
71
+ /**
72
+ * Sets the total number of items.
73
+ *
74
+ * @default 0
75
+ */
15
76
  length: number;
77
+ /**
78
+ * In combination with `hasPageNumberNavigation`, sets the number of page numbers displayed in the paginator.
79
+ *
80
+ * @default 5
81
+ */
16
82
  nbPageNumberNavigation: number;
83
+ /**
84
+ * Wheter the paginator is hidden or not.
85
+ *
86
+ * @default false (visible)
87
+ */
17
88
  isHidden: boolean;
89
+ /**
90
+ * Wheter the paginator is in basic mode or not.
91
+ * In this mode, the paginator will only display the previous and next buttons.
92
+ *
93
+ * @default false
94
+ */
18
95
  isBasicMode: boolean;
96
+ /**
97
+ * Wheter the page number are displayed or not.
98
+ *
99
+ * @default false
100
+ */
19
101
  hasPageNumberNavigation: boolean;
102
+ /**
103
+ * Wheter the datasource length is dynamic or not.
104
+ *
105
+ * @default false
106
+ */
20
107
  hasDynamicLength: boolean;
108
+ /**
109
+ * Wheter the page size is displayed or not. Default: true.
110
+ *
111
+ * @default true
112
+ */
21
113
  hasPageSize: boolean;
114
+ /** Event emitted when the page has changed. */
22
115
  pageChange: EventEmitter<EuiPaginationEvent>;
116
+ /**
117
+ * Observable that emits the current page number, the page size and the number of pages.
118
+ */
23
119
  page$: BehaviorSubject<EuiPaginationEvent>;
120
+ /**
121
+ * Observable that emits the length of the datasource
122
+ */
24
123
  length$: BehaviorSubject<number>;
124
+ /**
125
+ * The range of items displayed in the paginator.
126
+ */
25
127
  range: string;
128
+ /**
129
+ * The range length of items displayed in the paginator.
130
+ */
26
131
  rangeLength: string;
132
+ /**
133
+ * The number of pages.
134
+ */
27
135
  nbPage: number;
28
136
  private nbPageNumberNav;
29
137
  private destroy$;
@@ -31,25 +139,61 @@ export declare class EuiPaginatorComponent implements OnInit, OnDestroy, OnChang
31
139
  ngOnChanges(c: SimpleChanges): void;
32
140
  ngOnInit(): void;
33
141
  ngOnDestroy(): void;
142
+ /**
143
+ * Returns the page number navigation array.
144
+ *
145
+ * @returns An array of page numbers.
146
+ */
34
147
  get pageNumberNavigation(): number[];
148
+ /**
149
+ * Changes the page size by the one provided as parameter.
150
+ *
151
+ * @param size New page size.
152
+ */
35
153
  changePageSize(size: string): void;
154
+ /**
155
+ * Sets the page number to the one provided as parameter.
156
+ *
157
+ * @param page New page
158
+ * @param options
159
+ * `emitEvent`: When true or not provided, event is emitted. When false, no events are emitted
160
+ */
36
161
  goToPage(page: number, options?: {
37
162
  emitEvent: boolean;
38
163
  }): void;
164
+ /**
165
+ * Sets the page number to 0 (first page).
166
+ *
167
+ * @param options
168
+ * `emitEvent`: When true or not provided, event is emitted. When false, no events are emitted
169
+ */
39
170
  goFirstPage(options?: {
40
171
  emitEvent: boolean;
41
172
  }): void;
173
+ /**
174
+ * Sets the page number to current - 1.
175
+ */
42
176
  goPreviousPage(): void;
177
+ /**
178
+ * Sets the page number to current + 1.
179
+ */
43
180
  goNextPage(): void;
181
+ /**
182
+ * Sets the page number to last page.
183
+ */
44
184
  goLastPage(): void;
185
+ /**
186
+ * Gives new values to page number, page size and number of pages.
187
+ */
45
188
  setPage(page: EuiPaginationEvent): void;
189
+ /**
190
+ * Gives new value to the length of the datasource.
191
+ */
46
192
  setLength(length: number): void;
47
- getRange(): void;
48
193
  /**
49
- * Change the pagination to the given page number
50
- *
51
- * @param page 0-based page number to be displayed
194
+ * Calculates the range of items displayed in the paginator.
52
195
  */
196
+ getRange(): void;
53
197
  /**
54
198
  * Change the pagination to the given page number
55
199
  *
@@ -1 +1 @@
1
- {"version":3,"file":"eui-paginator.component.d.ts","sourceRoot":"","sources":["../../eui-paginator/eui-paginator.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,MAAM,EAEN,SAAS,EACT,YAAY,EAEZ,SAAS,EACT,aAAa,EAGhB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAW,eAAe,EAAE,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;;AAE9C,qBAOa,qBAAsB,YAAW,MAAM,EAAE,SAAS,EAAE,SAAS;IAgC3D,kBAAkB,EAAE,kBAAkB;IAC7C,OAAO,CAAC,OAAO;IAhCoB,OAAO,SAAmB;IACjE,IACI,UAAU,IAAI,MAAM,CAKvB;IACQ,eAAe,EAAE,MAAM,EAAE,CAAwB;IACjD,QAAQ,SAAM;IACd,IAAI,SAAK;IACT,MAAM,SAAK;IACX,sBAAsB,SAAK;IACI,QAAQ,UAAS;IACjB,WAAW,UAAS;IACpB,uBAAuB,UAAS;IAChC,gBAAgB,UAAS;IACzB,WAAW,UAAQ;IAEjD,UAAU,mCAA0C;IAEvD,KAAK,EAAE,eAAe,CAAC,kBAAkB,CAAC,CAA6B;IACvE,OAAO,EAAE,eAAe,CAAC,MAAM,CAAC,CAA0B;IAC1D,KAAK,EAAE,MAAM,CAAC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AW,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAenC,QAAQ,IAAI,IAAI;IA0BhB,WAAW,IAAI,IAAI;IAKnB;;;;OAIG;IACH,IAAI,oBAAoB,IAAI,MAAM,EAAE,CAwBnC;IAED;;;;OAIG;IACI,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAgBzC;;;;;;OAMG;IACI,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;IAUrE;;;;;OAKG;IACI,WAAW,CAAC,OAAO,CAAC,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;IAU1D;;OAEG;IACI,cAAc,IAAI,IAAI;IAO7B;;OAEG;IACI,UAAU,IAAI,IAAI;IAOzB;;OAEG;IACI,UAAU,IAAI,IAAI;IAOzB;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;IAI9C;;OAEG;IACI,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAItC;;OAEG;IACI,QAAQ,IAAI,IAAI;IAQvB;;;;;;OAMG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI;yCAlT3D,qBAAqB;2CAArB,qBAAqB;uCAwTqv+B,OAAQ;0CAAR,OAAQ;sDAAR,OAAQ;+CAAR,OAAQ;0CAAR,OAAQ;CAD9x+B"}
@@ -6,6 +6,18 @@ import * as i4 from "@eui/components/eui-button";
6
6
  import * as i5 from "@ngx-translate/core";
7
7
  import * as i6 from "@angular/forms";
8
8
  import * as i7 from "@eui/components/eui-select";
9
+ /**
10
+ * @description
11
+ * Module that provides the EuiPaginator component and its dependencies
12
+ *
13
+ * @example
14
+ * ```typescript
15
+ * \@NgModule({
16
+ * imports: [EuiPaginatorModule]
17
+ * })
18
+ * export class YourModule { }
19
+ * ```
20
+ */
9
21
  export declare class EuiPaginatorModule {
10
22
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiPaginatorModule, never>;
11
23
  static ɵmod: i0.ɵɵNgModuleDeclaration<EuiPaginatorModule, [typeof i1.EuiPaginatorComponent], [typeof i2.CommonModule, typeof i3.EuiIconModule, typeof i4.EuiButtonModule, typeof i5.TranslateModule, typeof i6.FormsModule, typeof i7.EuiSelectModule], [typeof i1.EuiPaginatorComponent]>;
@@ -1 +1 @@
1
- {"version":3,"file":"eui-paginator.module.d.ts","sourceRoot":"","sources":["../../eui-paginator/eui-paginator.module.ts"],"names":[],"mappings":";;;;;;;;AAWA,qBAYa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAAG"}
1
+ {"version":3,"file":"eui-paginator.module.d.ts","sourceRoot":"","sources":["../../eui-paginator/eui-paginator.module.ts"],"names":[],"mappings":";;;;;;;;AAWA;;;;;;;;;;;GAWG;AACH,qBAYa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAAG"}
@@ -1,35 +1,122 @@
1
1
  import { OnInit, OnDestroy, ElementRef, AfterViewInit, Renderer2, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * A directive that automatically adjusts the height of a textarea based on its content.
6
+ *
7
+ * @directive
8
+ * @selector textarea[autoResize]
9
+ * @description
10
+ * The AutoResizeDirective automatically adjusts the height of a textarea element as the user types,
11
+ * ensuring that all content is visible without requiring manual resizing or scrolling.
12
+ * It supports minimum and maximum row constraints and can be enabled/disabled dynamically.
13
+ *
14
+ * @example
15
+ * ```html
16
+ * <textarea autoResize [minRows]="2" [maxRows]="5"></textarea>
17
+ * ```
18
+ */
4
19
  export declare class AutoResizeDirective implements OnInit, OnChanges, AfterViewInit, OnDestroy {
5
20
  protected el: ElementRef;
6
21
  protected renderer: Renderer2;
7
22
  protected control: NgControl;
23
+ /**
24
+ * @description
25
+ * Controls whether the auto-resize functionality is enabled.
26
+ * When true, the textarea will automatically adjust its height based on content.
27
+ * When false, the textarea will behave normally.
28
+ *
29
+ * @default true
30
+ */
8
31
  autoResize: boolean;
32
+ /**
33
+ * @description
34
+ * Sets the minimum number of rows for the textarea.
35
+ * This value determines the initial height of the textarea.
36
+ *
37
+ * @param minRows - The minimum number of rows to display
38
+ */
9
39
  set minRows(minRows: number | string);
40
+ /**
41
+ * @description
42
+ * Sets the maximum number of rows for the textarea.
43
+ * When set to a value greater than 0, the textarea will not grow beyond this number of rows
44
+ * and will show scrollbars if necessary.
45
+ * When set to 0, there is no maximum limit.
46
+ *
47
+ * @default 0
48
+ */
10
49
  maxRows: number;
11
50
  private defaultRows;
12
51
  private destroy$;
13
52
  private observer;
14
53
  constructor(el: ElementRef, renderer: Renderer2, control: NgControl);
54
+ /**
55
+ * Event handler for input events on the textarea.
56
+ * Triggers the resize calculation when the content changes.
57
+ *
58
+ * @internal
59
+ */
15
60
  onInput(): void;
61
+ /**
62
+ * Initializes the directive by setting up window resize event handling
63
+ * and mutation observer for readonly attribute changes.
64
+ *
65
+ * @internal
66
+ */
16
67
  ngOnInit(): void;
68
+ /**
69
+ * Handles changes to the directive's inputs, particularly the autoResize property.
70
+ * Updates the textarea's appearance and behavior accordingly.
71
+ *
72
+ * @param changes - Angular SimpleChanges object containing changed properties
73
+ * @internal
74
+ */
17
75
  ngOnChanges(changes: SimpleChanges): void;
76
+ /**
77
+ * Performs initial resize after view initialization and sets up form control value change handling if applicable.
78
+ *
79
+ * @internal
80
+ */
18
81
  ngAfterViewInit(): void;
82
+ /**
83
+ * Cleans up subscriptions and disconnects observers when the directive is destroyed.
84
+ *
85
+ * @internal
86
+ */
19
87
  ngOnDestroy(): void;
20
88
  /**
21
- * Calculates the height and set it, causing the textarea to resize.
89
+ * Calculates and sets the appropriate height for the textarea based on its content.
90
+ * This method creates a temporary clone of the textarea to measure the required height,
91
+ * taking into account minRows and maxRows constraints.
92
+ *
93
+ * The calculation process:
94
+ * 1. Creates a hidden clone of the textarea
95
+ * 2. Sets the clone's width to match the original
96
+ * 3. Measures the required height based on content
97
+ * 4. Applies maxRows constraint if specified
98
+ * 5. Updates the original textarea's height
99
+ *
100
+ * @public
22
101
  */
23
102
  resize(): void;
24
103
  /**
25
- * handles value changes through FormControl
104
+ * Sets up subscription to form control value changes to trigger resize when the value
105
+ * is changed programmatically through the form control.
26
106
  *
27
107
  * @protected
28
108
  */
29
109
  protected handleFormControlChanges(): void;
110
+ /**
111
+ * Mutation observer callback that handles changes to the readonly attribute
112
+ * and triggers resize when necessary.
113
+ *
114
+ * @param mutationsList - List of mutations that occurred
115
+ * @private
116
+ */
30
117
  private readonlyMutationObserver;
31
118
  static ɵfac: i0.ɵɵFactoryDeclaration<AutoResizeDirective, [null, null, { optional: true; }]>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<AutoResizeDirective, "textarea[autoResize]", never, { "autoResize": { "alias": "autoResize"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; }, {}, never, never, false, never>;
119
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutoResizeDirective, "textarea[autoResize]", never, { "autoResize": { "alias": "autoResize"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; }, {}, never, never, true, never>;
33
120
  static ngAcceptInputType_autoResize: unknown;
34
121
  static ngAcceptInputType_maxRows: unknown;
35
122
  }
@@ -1 +1 @@
1
- {"version":3,"file":"auto-resize.directive.d.ts","sourceRoot":"","sources":["../../eui-textarea/auto-resize.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,MAAM,EACN,SAAS,EAET,UAAU,EAEV,aAAa,EAEb,SAAS,EACT,SAAS,EAGT,aAAa,EAChB,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAg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EAAE,SAAS;IACjB,SAAS,CAAC,OAAO,EAAE,SAAS;IAvC5C;;;;;;;OAOG;IACqC,UAAU,UAAQ;IAE1D;;;;;;OAMG;IACH,IACI,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAEnC;IACD;;;;;;;;OAQG;IACoC,OAAO,SAAK;IAEnD,OAAO,CAAC,WAAW,CAAK;IACxB,OAAO,CAAC,QAAQ,CAA4C;IAC5D,OAAO,CAAC,QAAQ,CAAmB;gBAGrB,EAAE,EAAE,UAAU,EACd,QAAQ,EAAE,SAAS,EACP,OAAO,EAAE,SAAS;IAG5C;;;;;OAKG;IAEH,OAAO,IAAI,IAAI;IAIf;;;;;OAKG;IACH,QAAQ,IAAI,IAAI;IAYhB;;;;;;OAMG;IACH,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAYzC;;;;OAIG;IACH,eAAe,IAAI,IAAI;IAUvB;;;;OAIG;IACH,WAAW,IAAI,IAAI;IAMnB;;;;;;;;;;;;;OAaG;IACI,MAAM,IAAI,IAAI;IAsCrB;;;;;OAKG;IACH,SAAS,CAAC,wBAAwB,IAAI,IAAI;IAM1C;;;;;;OAMG;IACH,OAAO,CAAC,wBAAwB;yCA5LvB,mBAAmB;2CAAnB,mBAAmB;yCAqMywlC,OAAQ;sCAAsprO,OAAQ;CAD98wQ"}
@@ -3,23 +3,69 @@ import { ControlValueAccessor } from '@angular/forms';
3
3
  import { BaseStatesDirective } from '@eui/components/shared';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@eui/components/shared";
6
+ /**
7
+ * @fileoverview Enhanced textarea component for Angular forms with readonly state, form control integration, and state management.
8
+ *
9
+ * A form control component that provides an enhanced textarea with additional features.
10
+ * Supports readonly state visualization, form control integration, and state management.
11
+ *
12
+ * @component
13
+ * @selector textarea[euiTextArea]
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <textarea euiTextArea
18
+ * [(ngModel)]="value"
19
+ * [readonly]="isReadonly"
20
+ * [disabled]="isDisabled"
21
+ * [isInvalid]="hasError" />
22
+ * ```
23
+ */
6
24
  export declare class EuiTextareaComponent implements OnInit, OnDestroy, DoCheck, OnChanges, ControlValueAccessor {
7
25
  private injector;
8
26
  private _elementRef;
9
27
  private _renderer;
10
28
  private baseStatesDirective;
29
+ /**
30
+ * Static counter used to generate unique IDs for textarea instances
31
+ * @static
32
+ */
11
33
  static idCounter: number;
12
34
  /**
13
- * emits the number of rows of text in the textarea while input changes
35
+ * Event emitter that fires when the number of text rows in the textarea changes
14
36
  */
15
37
  rowsChange: EventEmitter<number>;
16
38
  get class(): string;
39
+ /**
40
+ * The disabled state of the textarea
41
+ * @description When set to true, prevents user interaction with the textarea.
42
+ * This can be controlled either directly or through form control binding.
43
+ */
17
44
  get disabled(): boolean | null;
18
45
  set disabled(state: any);
46
+ /**
47
+ * The readonly state of the textarea
48
+ * @description When true, displays the textarea content in a read-only format
49
+ * with special styling.
50
+ */
19
51
  get readonly(): any;
20
52
  set readonly(state: any);
53
+ /**
54
+ * Unique identifier for the textarea
55
+ * @default eui-textarea_{increment}
56
+ */
21
57
  id: string;
58
+ /**
59
+ * Flag indicating if the textarea is in an invalid state
60
+ * @description When true, applies error styling to the textarea.
61
+ * This can be set manually or automatically through form validation.
62
+ */
22
63
  isInvalid: boolean;
64
+ /**
65
+ * @description
66
+ * Data attribute for end-to-end testing
67
+ * @default eui-textarea
68
+ */
23
69
  e2eAttr: string;
24
70
  protected _readonly: boolean;
25
71
  protected hostEl: HTMLTextAreaElement;
@@ -31,33 +77,93 @@ export declare class EuiTextareaComponent implements OnInit, OnDestroy, DoCheck,
31
77
  private control;
32
78
  private rows;
33
79
  constructor(injector: Injector, _elementRef: ElementRef, _renderer: Renderer2, baseStatesDirective: BaseStatesDirective);
80
+ /**
81
+ * Handles input changes in the textarea
82
+ * @param {string} value - The new value of the textarea
83
+ * @description Updates the number of rows and triggers change detection
84
+ */
34
85
  onInputChange(value: string): void;
86
+ /**
87
+ * Handles blur events on the textarea
88
+ * @param {string} value - The current value of the textarea
89
+ * @description Marks the control as touched and triggers validation
90
+ */
35
91
  onBlur(value: string): void;
92
+ /**
93
+ * @description
94
+ * Lifecycle hook that initializes the component. Sets up DOM elements,
95
+ * initializes form control integration, and establishes state management
96
+ */
36
97
  ngOnInit(): void;
98
+ /**
99
+ * @description
100
+ * Lifecycle hook that checks for changes in form control state
101
+ * Updates invalid state based on form control validation
102
+ */
37
103
  ngDoCheck(): void;
104
+ /**
105
+ * @description
106
+ * Lifecycle hook that handles changes to component inputs
107
+ * @param {SimpleChanges} changes - Object containing changed properties
108
+ */
38
109
  ngOnChanges(changes: SimpleChanges): void;
110
+ /**
111
+ * @description
112
+ * Lifecycle hook that cleans up component resources
113
+ * Completes observables and removes generated DOM elements
114
+ */
39
115
  ngOnDestroy(): void;
116
+ /**
117
+ * @description
118
+ * ControlValueAccessor implementation for writing values
119
+ * @param {unknown} obj - The value to write to the textarea
120
+ */
40
121
  writeValue(obj: unknown): void;
122
+ /**
123
+ * @description
124
+ * Registers the callback function for change events
125
+ * @param {Function} fn - The callback function
126
+ */
41
127
  registerOnChange(fn: () => void): void;
128
+ /**
129
+ * @description
130
+ * Registers the callback function for touched events
131
+ * @param {Function} fn - The callback function
132
+ */
42
133
  registerOnTouched(fn: () => void): void;
134
+ /**
135
+ * @description
136
+ * Sets the disabled state of the textarea
137
+ * @param {boolean} isDisabled - The disabled state to set
138
+ */
43
139
  setDisabledState(isDisabled: boolean): void;
44
140
  protected onChange(_: unknown): void;
45
141
  protected onTouched(_: unknown): void;
142
+ /**
143
+ * @description
144
+ * Creates the container for the textarea element
145
+ * @returns {HTMLDivElement} The created wrapper container element
146
+ * @private
147
+ */
46
148
  private createHostWrapperContainer;
47
149
  /**
48
- * Create a Div element which will hold the value to display when readonly
49
- *
150
+ * @description
151
+ * Creates the container for displaying readonly values
152
+ * @returns {HTMLDivElement} The created value container element
50
153
  * @private
51
154
  */
52
155
  private createValueContainer;
53
156
  /**
54
- * Changes the markup around the textarea. Append textarea onto a container with div
157
+ * @description
158
+ * Handles the DOM manipulation for the textarea structure
159
+ * Wraps the textarea in necessary containers and adds
160
+ * the readonly value display element
55
161
  *
56
162
  * @private
57
163
  */
58
164
  private handleMarkup;
59
165
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiTextareaComponent, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<EuiTextareaComponent, "textarea[euiTextArea]", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isInvalid": { "alias": "isInvalid"; "required": false; }; "e2eAttr": { "alias": "e2eAttr"; "required": false; }; }, { "rowsChange": "rowsChange"; }, never, ["*"], false, [{ directive: typeof i1.BaseStatesDirective; inputs: { "euiDisabled": "euiDisabled"; "euiDanger": "euiDanger"; }; outputs: {}; }]>;
166
+ static ɵcmp: i0.ɵɵComponentDeclaration<EuiTextareaComponent, "textarea[euiTextArea]", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isInvalid": { "alias": "isInvalid"; "required": false; }; "e2eAttr": { "alias": "e2eAttr"; "required": false; }; }, { "rowsChange": "rowsChange"; }, never, ["*"], true, [{ directive: typeof i1.BaseStatesDirective; inputs: { "euiDisabled": "euiDisabled"; "euiDanger": "euiDanger"; }; outputs: {}; }]>;
61
167
  static ngAcceptInputType_isInvalid: unknown;
62
168
  }
63
169
  //# sourceMappingURL=eui-textarea.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-textarea.component.d.ts","sourceRoot":"","sources":["../../eui-textarea/eui-textarea.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,UAAU,EAIV,SAAS,EACT,MAAM,EACN,SAAS,EACT,aAAa,EAEb,SAAS,EACT,OAAO,EACP,QAAQ,EAKR,YAAY,EAEf,MAAM,eAAe,CAAC;AACvB,OAAO,EAEH,oBAAoB,EAMvB,MA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,GAAG,IAAI;IAItC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI;IAIvC;;;;OAIG;IACH,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAM3C,SAAS,CAAC,QAAQ,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;IAKpC,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI;IAMrC;;;;;OAKG;IACH,OAAO,CAAC,0BAA0B;IAclC;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAO5B;;;;;;;OAOG;IACH,OAAO,CAAC,YAAY;yCA1TX,oBAAoB;2CAApB,oBAAoB;wCAkUku7B,OAAQ;CAD1w7B"}
@@ -1,10 +1,29 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./eui-textarea.component";
3
- import * as i2 from "./auto-resize.directive";
4
- import * as i3 from "@angular/common";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "./eui-textarea.component";
4
+ import * as i3 from "./auto-resize.directive";
5
+ /**
6
+ * @description
7
+ * A module that provides textarea functionality with auto-resizing capabilities.
8
+ * This module encapsulates the EuiTextareaComponent and AutoResizeDirective to provide
9
+ * a cohesive textarea solution for Angular applications.
10
+ *
11
+ * @usageNotes
12
+ * To use this module, import it into your feature module:
13
+ * ```typescript
14
+ * import { EuiTextAreaModule } from './path-to-module/eui-textarea.module';
15
+ *
16
+ * @NgModule({
17
+ * imports: [EuiTextAreaModule]
18
+ * })
19
+ * export class YourFeatureModule { }
20
+ * ```
21
+ *
22
+ * @publicApi
23
+ */
5
24
  export declare class EuiTextAreaModule {
6
25
  static ɵfac: i0.ɵɵFactoryDeclaration<EuiTextAreaModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<EuiTextAreaModule, [typeof i1.EuiTextareaComponent, typeof i2.AutoResizeDirective], [typeof i3.CommonModule], [typeof i1.EuiTextareaComponent, typeof i2.AutoResizeDirective]>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EuiTextAreaModule, never, [typeof i1.CommonModule, typeof i2.EuiTextareaComponent, typeof i3.AutoResizeDirective], [typeof i2.EuiTextareaComponent, typeof i3.AutoResizeDirective]>;
8
27
  static ɵinj: i0.ɵɵInjectorDeclaration<EuiTextAreaModule>;
9
28
  }
10
29
  //# sourceMappingURL=eui-textarea.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-textarea.module.d.ts","sourceRoot":"","sources":["../../eui-textarea/eui-textarea.module.ts"],"names":[],"mappings":";;;;AAKA,qBAKa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAG"}
1
+ {"version":3,"file":"eui-textarea.module.d.ts","sourceRoot":"","sources":["../../eui-textarea/eui-textarea.module.ts"],"names":[],"mappings":";;;;AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAIa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"eui-timepicker.component.d.ts","sourceRoot":"","sources":["../../eui-timepicker/eui-timepicker.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,MAAM,EAIN,OAAO,EACP,SAAS,EACT,aAAa,EACb,SAAS,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAK1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;AAE9D,qBAOa,sBAAuB,YAAW,oBAAoB,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS;IA0C9E,OAAO,CAAC,OAAO;IAzCvC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,g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