@eui/components 19.0.3 → 19.0.4-snapshot-1738753092246
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.
- package/directives/eui-has-permission.directive.d.ts +70 -2
- package/directives/eui-has-permission.directive.d.ts.map +1 -1
- package/directives/eui-maxlength.directive.d.ts +94 -10
- package/directives/eui-maxlength.directive.d.ts.map +1 -1
- package/docs/components/EuiInputCheckboxComponent.html +169 -10
- package/docs/components/EuiInputGroupAddOnComponent.html +22 -0
- package/docs/components/EuiInputGroupAddOnItemComponent.html +30 -0
- package/docs/components/EuiInputGroupComponent.html +35 -0
- package/docs/components/EuiInputNumberComponent.html +83 -4
- package/docs/components/EuiInputRadioComponent.html +228 -0
- package/docs/components/EuiInputTextComponent.html +50 -0
- package/docs/components/EuiTextareaComponent.html +207 -1
- package/docs/dependencies.html +2 -2
- package/docs/directives/AutoResizeDirective.html +49 -1
- package/docs/directives/EuiHasPermissionDirective.html +34 -0
- package/docs/directives/EuiInputNumberDirective.html +17 -0
- package/docs/directives/EuiMaxLengthDirective.html +35 -7
- package/docs/js/menu-wc.js +53 -107
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/functions.html +14 -0
- package/docs/modules/EuiHasPermissionDirectiveModule.html +17 -3
- package/docs/modules/EuiInputCheckboxModule.html +25 -4
- package/docs/modules/EuiInputGroupModule.html +20 -5
- package/docs/modules/EuiInputNumberModule.html +26 -5
- package/docs/modules/EuiInputRadioModule.html +27 -4
- package/docs/modules/EuiInputTextModule.html +25 -4
- package/docs/modules/EuiMaxLengthDirectiveModule.html +25 -4
- package/docs/modules/EuiTextAreaModule.html +20 -4
- package/eui-input-checkbox/eui-input-checkbox.component.d.ts +88 -11
- package/eui-input-checkbox/eui-input-checkbox.component.d.ts.map +1 -1
- package/eui-input-checkbox/eui-input-checkbox.module.d.ts +17 -3
- package/eui-input-checkbox/eui-input-checkbox.module.d.ts.map +1 -1
- package/eui-input-group/eui-input-group-addon-item.component.d.ts +33 -1
- package/eui-input-group/eui-input-group-addon-item.component.d.ts.map +1 -1
- package/eui-input-group/eui-input-group-addon.component.d.ts +40 -2
- package/eui-input-group/eui-input-group-addon.component.d.ts.map +1 -1
- package/eui-input-group/eui-input-group.component.d.ts +44 -1
- package/eui-input-group/eui-input-group.component.d.ts.map +1 -1
- package/eui-input-group/eui-input-group.module.d.ts +21 -5
- package/eui-input-group/eui-input-group.module.d.ts.map +1 -1
- package/eui-input-number/eui-input-number.component.d.ts +73 -9
- package/eui-input-number/eui-input-number.component.d.ts.map +1 -1
- package/eui-input-number/eui-input-number.module.d.ts +19 -4
- package/eui-input-number/eui-input-number.module.d.ts.map +1 -1
- package/eui-input-number/eui-number-control.directive.d.ts +27 -2
- package/eui-input-number/eui-number-control.directive.d.ts.map +1 -1
- package/eui-input-radio/eui-input-radio.component.d.ts +96 -1
- package/eui-input-radio/eui-input-radio.component.d.ts.map +1 -1
- package/eui-input-radio/eui-input-radio.module.d.ts +20 -3
- package/eui-input-radio/eui-input-radio.module.d.ts.map +1 -1
- package/eui-input-text/eui-input-text.component.d.ts +54 -1
- package/eui-input-text/eui-input-text.component.d.ts.map +1 -1
- package/eui-input-text/eui-input-text.module.d.ts +19 -3
- package/eui-input-text/eui-input-text.module.d.ts.map +1 -1
- package/eui-textarea/auto-resize.directive.d.ts +90 -3
- package/eui-textarea/auto-resize.directive.d.ts.map +1 -1
- package/eui-textarea/eui-textarea.component.d.ts +111 -5
- package/eui-textarea/eui-textarea.component.d.ts.map +1 -1
- package/eui-textarea/eui-textarea.module.d.ts +23 -4
- package/eui-textarea/eui-textarea.module.d.ts.map +1 -1
- package/fesm2022/eui-components-directives.mjs +180 -34
- package/fesm2022/eui-components-directives.mjs.map +1 -1
- package/fesm2022/eui-components-eui-accordion.mjs +1 -1
- package/fesm2022/eui-components-eui-alert.mjs +1 -1
- package/fesm2022/eui-components-eui-autocomplete.mjs +2 -2
- package/fesm2022/eui-components-eui-avatar.mjs +1 -1
- package/fesm2022/eui-components-eui-badge.mjs +1 -1
- package/fesm2022/eui-components-eui-block-content.mjs +1 -1
- package/fesm2022/eui-components-eui-block-document.mjs +1 -1
- package/fesm2022/eui-components-eui-breadcrumb.mjs +1 -1
- package/fesm2022/eui-components-eui-button-group.mjs +1 -1
- package/fesm2022/eui-components-eui-button-v2.mjs +1 -1
- package/fesm2022/eui-components-eui-button.mjs +1 -1
- package/fesm2022/eui-components-eui-card.mjs +3 -3
- package/fesm2022/eui-components-eui-card.mjs.map +1 -1
- package/fesm2022/eui-components-eui-chip-group.mjs +1 -1
- package/fesm2022/eui-components-eui-chip-list.mjs +1 -1
- package/fesm2022/eui-components-eui-chip.mjs +1 -1
- package/fesm2022/eui-components-eui-dashboard-button.mjs +1 -1
- package/fesm2022/eui-components-eui-dashboard-card.mjs +1 -1
- package/fesm2022/eui-components-eui-date-range-selector.mjs +1 -1
- package/fesm2022/eui-components-eui-datepicker.mjs +1 -1
- package/fesm2022/eui-components-eui-dialog.mjs +1 -1
- package/fesm2022/eui-components-eui-dimmer.mjs +1 -1
- package/fesm2022/eui-components-eui-disable-content.mjs +1 -1
- package/fesm2022/eui-components-eui-discussion-thread.mjs +1 -1
- package/fesm2022/eui-components-eui-dropdown.mjs +2 -2
- package/fesm2022/eui-components-eui-feedback-message.mjs +1 -1
- package/fesm2022/eui-components-eui-fieldset.mjs +1 -1
- package/fesm2022/eui-components-eui-file-upload.mjs +1 -1
- package/fesm2022/eui-components-eui-growl.mjs +1 -1
- package/fesm2022/eui-components-eui-icon-button-expander.mjs +1 -1
- package/fesm2022/eui-components-eui-icon-button.mjs +1 -1
- package/fesm2022/eui-components-eui-icon-color.mjs +1 -1
- package/fesm2022/eui-components-eui-icon-input.mjs +1 -1
- package/fesm2022/eui-components-eui-icon-state.mjs +1 -1
- package/fesm2022/eui-components-eui-icon-toggle.mjs +1 -1
- package/fesm2022/eui-components-eui-icon.mjs +1 -1
- package/fesm2022/eui-components-eui-input-checkbox.mjs +104 -14
- package/fesm2022/eui-components-eui-input-checkbox.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-group.mjs +142 -12
- package/fesm2022/eui-components-eui-input-group.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-number.mjs +109 -13
- package/fesm2022/eui-components-eui-input-number.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-radio.mjs +117 -6
- package/fesm2022/eui-components-eui-input-radio.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-text.mjs +73 -6
- package/fesm2022/eui-components-eui-input-text.mjs.map +1 -1
- package/fesm2022/eui-components-eui-label.mjs +1 -1
- package/fesm2022/eui-components-eui-language-selector.mjs +1 -1
- package/fesm2022/eui-components-eui-list.mjs +1 -1
- package/fesm2022/eui-components-eui-menu.mjs +1 -1
- package/fesm2022/eui-components-eui-message-box.mjs +1 -1
- package/fesm2022/eui-components-eui-navbar.mjs +1 -1
- package/fesm2022/eui-components-eui-overlay.mjs +1 -1
- package/fesm2022/eui-components-eui-page.mjs +1 -1
- package/fesm2022/eui-components-eui-paginator.mjs +1 -1
- package/fesm2022/eui-components-eui-popover.mjs +1 -1
- package/fesm2022/eui-components-eui-progress-bar.mjs +1 -1
- package/fesm2022/eui-components-eui-progress-circle.mjs +1 -1
- package/fesm2022/eui-components-eui-select.mjs +1 -1
- package/fesm2022/eui-components-eui-sidebar-menu.mjs +1 -1
- package/fesm2022/eui-components-eui-skeleton.mjs +1 -1
- package/fesm2022/eui-components-eui-slide-toggle.mjs +2 -2
- package/fesm2022/eui-components-eui-split-button.mjs +1 -1
- package/fesm2022/eui-components-eui-table-v2.mjs +1 -1
- package/fesm2022/eui-components-eui-table.mjs +1 -1
- package/fesm2022/eui-components-eui-tabs.mjs +1 -1
- package/fesm2022/eui-components-eui-textarea.mjs +221 -15
- package/fesm2022/eui-components-eui-textarea.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timebar.mjs +1 -1
- package/fesm2022/eui-components-eui-timeline.mjs +1 -1
- package/fesm2022/eui-components-eui-timepicker.mjs +1 -1
- package/fesm2022/eui-components-eui-tree-list.mjs +1 -1
- package/fesm2022/eui-components-eui-tree.mjs +1 -1
- package/fesm2022/eui-components-eui-user-profile.mjs +1 -1
- package/fesm2022/eui-components-eui-wizard.mjs +1 -1
- package/fesm2022/eui-components-externals-eui-editor.mjs +1 -1
- package/fesm2022/eui-components-externals-quill.mjs +1 -1
- package/fesm2022/eui-components-layout.mjs +2 -2
- package/fesm2022/eui-components-shared.mjs +2 -2
- package/package.json +4 -4
@@ -372,6 +372,8 @@
|
|
372
372
|
|
373
373
|
<tr>
|
374
374
|
<td class="col-md-4">
|
375
|
+
<div class="io-description"><p>Get the decimal separator based on the locale</p>
|
376
|
+
</div>
|
375
377
|
|
376
378
|
<div class="io-description">
|
377
379
|
<b>Parameters :</b>
|
@@ -382,6 +384,7 @@
|
|
382
384
|
<td>Name</td>
|
383
385
|
<td>Type</td>
|
384
386
|
<td>Optional</td>
|
387
|
+
<td>Description</td>
|
385
388
|
</tr>
|
386
389
|
</thead>
|
387
390
|
<tbody>
|
@@ -396,6 +399,10 @@
|
|
396
399
|
</td>
|
397
400
|
|
398
401
|
|
402
|
+
<td>
|
403
|
+
<p>value of the locale based on ISO 639-1</p>
|
404
|
+
|
405
|
+
</td>
|
399
406
|
</tr>
|
400
407
|
</tbody>
|
401
408
|
</table>
|
@@ -433,6 +440,8 @@
|
|
433
440
|
|
434
441
|
<tr>
|
435
442
|
<td class="col-md-4">
|
443
|
+
<div class="io-description"><p>Get the group separator based on the locale</p>
|
444
|
+
</div>
|
436
445
|
|
437
446
|
<div class="io-description">
|
438
447
|
<b>Parameters :</b>
|
@@ -443,6 +452,7 @@
|
|
443
452
|
<td>Name</td>
|
444
453
|
<td>Type</td>
|
445
454
|
<td>Optional</td>
|
455
|
+
<td>Description</td>
|
446
456
|
</tr>
|
447
457
|
</thead>
|
448
458
|
<tbody>
|
@@ -457,6 +467,10 @@
|
|
457
467
|
</td>
|
458
468
|
|
459
469
|
|
470
|
+
<td>
|
471
|
+
<p>value of the locale based on ISO 639-1</p>
|
472
|
+
|
473
|
+
</td>
|
460
474
|
</tr>
|
461
475
|
</tbody>
|
462
476
|
</table>
|
@@ -112,16 +112,30 @@
|
|
112
112
|
|
113
113
|
|
114
114
|
|
115
|
+
<p class="comment">
|
116
|
+
<h3>Description</h3>
|
117
|
+
</p>
|
118
|
+
<p class="comment">
|
119
|
+
<p>Angular module that declares and exports the EuiHasPermissionDirective.
|
120
|
+
Import this module to use the euiHasPermission directive in your components.</p>
|
121
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```typescript
|
122
|
+
import { EuiHasPermissionDirectiveModule } from '@eui/components';</code></pre></div><p>@NgModule({
|
123
|
+
imports: [EuiHasPermissionDirectiveModule],
|
124
|
+
})
|
125
|
+
export class MyModule {}</p>
|
126
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
127
|
+
</p>
|
115
128
|
|
116
129
|
|
117
130
|
<div class="container-fluid module">
|
118
131
|
<div class="row">
|
119
132
|
<div class="col-sm-3">
|
120
|
-
<h3>
|
121
|
-
title="Official documentation about module
|
133
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
134
|
+
title="Official documentation about module imports"><span
|
135
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
122
136
|
<ul class="list-group">
|
123
137
|
<li class="list-group-item">
|
124
|
-
<a href="../
|
138
|
+
<a href="../modules/EuiHasPermissionDirective.html">EuiHasPermissionDirective</a>
|
125
139
|
</li>
|
126
140
|
</ul>
|
127
141
|
</div>
|
@@ -87,7 +87,9 @@
|
|
87
87
|
|
88
88
|
<ol class="breadcrumb">
|
89
89
|
<li class="breadcrumb-item">Modules</li>
|
90
|
-
<li class="breadcrumb-item"
|
90
|
+
<li class="breadcrumb-item"
|
91
|
+
class="breadcrumb-item deprecated-name"
|
92
|
+
>EuiInputCheckboxModule</li>
|
91
93
|
</ol>
|
92
94
|
|
93
95
|
|
@@ -111,17 +113,36 @@
|
|
111
113
|
</p>
|
112
114
|
|
113
115
|
|
116
|
+
<p class="comment">
|
117
|
+
<h3 class="deprecated">Deprecated</h3>
|
118
|
+
</p>
|
119
|
+
<p class="comment">
|
120
|
+
[object Object],[object Object],[object Object]
|
121
|
+
</p>
|
114
122
|
|
123
|
+
<p class="comment">
|
124
|
+
<h3>Description</h3>
|
125
|
+
</p>
|
126
|
+
<p class="comment">
|
127
|
+
<p>Angular module for the EUI Input Checkbox component. Provides the checkbox
|
128
|
+
component and its dependencies.</p>
|
129
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```typescript
|
130
|
+
@NgModule({
|
131
|
+
imports: [EuiInputCheckboxModule]
|
132
|
+
})
|
133
|
+
export class YourModule { }</code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
134
|
+
</p>
|
115
135
|
|
116
136
|
|
117
137
|
<div class="container-fluid module">
|
118
138
|
<div class="row">
|
119
139
|
<div class="col-sm-3">
|
120
|
-
<h3>
|
121
|
-
title="Official documentation about module
|
140
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
141
|
+
title="Official documentation about module imports"><span
|
142
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
122
143
|
<ul class="list-group">
|
123
144
|
<li class="list-group-item">
|
124
|
-
<a href="../
|
145
|
+
<a href="../modules/EuiInputCheckboxComponent.html">EuiInputCheckboxComponent</a>
|
125
146
|
</li>
|
126
147
|
</ul>
|
127
148
|
</div>
|
@@ -112,22 +112,37 @@
|
|
112
112
|
|
113
113
|
|
114
114
|
|
115
|
+
<p class="comment">
|
116
|
+
<h3>Description</h3>
|
117
|
+
</p>
|
118
|
+
<p class="comment">
|
119
|
+
<p>Angular module that provides input group components for the EUI framework.
|
120
|
+
Includes the main input group component and its add-on components.</p>
|
121
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">// In your app.module.ts or feature module:
|
122
|
+
import { EuiInputGroupModule } from '@eui/input-group';</code></pre></div><p> imports: [
|
123
|
+
EuiInputGroupModule
|
124
|
+
]
|
125
|
+
})
|
126
|
+
export class YourModule { }</p>
|
127
|
+
|
128
|
+
</p>
|
115
129
|
|
116
130
|
|
117
131
|
<div class="container-fluid module">
|
118
132
|
<div class="row">
|
119
133
|
<div class="col-sm-3">
|
120
|
-
<h3>
|
121
|
-
title="Official documentation about module
|
134
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
135
|
+
title="Official documentation about module imports"><span
|
136
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
122
137
|
<ul class="list-group">
|
123
138
|
<li class="list-group-item">
|
124
|
-
<a href="../
|
139
|
+
<a href="../modules/EuiInputGroupAddOnComponent.html">EuiInputGroupAddOnComponent</a>
|
125
140
|
</li>
|
126
141
|
<li class="list-group-item">
|
127
|
-
<a href="../
|
142
|
+
<a href="../modules/EuiInputGroupAddOnItemComponent.html">EuiInputGroupAddOnItemComponent</a>
|
128
143
|
</li>
|
129
144
|
<li class="list-group-item">
|
130
|
-
<a href="../
|
145
|
+
<a href="../modules/EuiInputGroupComponent.html">EuiInputGroupComponent</a>
|
131
146
|
</li>
|
132
147
|
</ul>
|
133
148
|
</div>
|
@@ -87,7 +87,9 @@
|
|
87
87
|
|
88
88
|
<ol class="breadcrumb">
|
89
89
|
<li class="breadcrumb-item">Modules</li>
|
90
|
-
<li class="breadcrumb-item"
|
90
|
+
<li class="breadcrumb-item"
|
91
|
+
class="breadcrumb-item deprecated-name"
|
92
|
+
>EuiInputNumberModule</li>
|
91
93
|
</ol>
|
92
94
|
|
93
95
|
|
@@ -111,20 +113,39 @@
|
|
111
113
|
</p>
|
112
114
|
|
113
115
|
|
116
|
+
<p class="comment">
|
117
|
+
<h3 class="deprecated">Deprecated</h3>
|
118
|
+
</p>
|
119
|
+
<p class="comment">
|
120
|
+
[object Object],[object Object],[object Object],[object Object],[object Object]
|
121
|
+
</p>
|
114
122
|
|
123
|
+
<p class="comment">
|
124
|
+
<h3>Description</h3>
|
125
|
+
</p>
|
126
|
+
<p class="comment">
|
127
|
+
<p>Module for the <a href="../components/EuiInputNumberComponent.html">EuiInputNumberComponent</a> and <a href="../directives/EuiInputNumberDirective.html">EuiInputNumberDirective</a>.</p>
|
128
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```typescript
|
129
|
+
import { EuiInputNumberModule } from '@eui/components/eui-input-number';</code></pre></div><p>@NgModule({
|
130
|
+
imports: [EuiInputNumberModule]
|
131
|
+
})
|
132
|
+
export class AppModule {}</p>
|
133
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
134
|
+
</p>
|
115
135
|
|
116
136
|
|
117
137
|
<div class="container-fluid module">
|
118
138
|
<div class="row">
|
119
139
|
<div class="col-sm-3">
|
120
|
-
<h3>
|
121
|
-
title="Official documentation about module
|
140
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
141
|
+
title="Official documentation about module imports"><span
|
142
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
122
143
|
<ul class="list-group">
|
123
144
|
<li class="list-group-item">
|
124
|
-
<a href="../
|
145
|
+
<a href="../modules/EuiInputNumberComponent.html">EuiInputNumberComponent</a>
|
125
146
|
</li>
|
126
147
|
<li class="list-group-item">
|
127
|
-
<a href="../
|
148
|
+
<a href="../modules/EuiInputNumberDirective.html">EuiInputNumberDirective</a>
|
128
149
|
</li>
|
129
150
|
</ul>
|
130
151
|
</div>
|
@@ -87,7 +87,9 @@
|
|
87
87
|
|
88
88
|
<ol class="breadcrumb">
|
89
89
|
<li class="breadcrumb-item">Modules</li>
|
90
|
-
<li class="breadcrumb-item"
|
90
|
+
<li class="breadcrumb-item"
|
91
|
+
class="breadcrumb-item deprecated-name"
|
92
|
+
>EuiInputRadioModule</li>
|
91
93
|
</ol>
|
92
94
|
|
93
95
|
|
@@ -111,17 +113,38 @@
|
|
111
113
|
</p>
|
112
114
|
|
113
115
|
|
116
|
+
<p class="comment">
|
117
|
+
<h3 class="deprecated">Deprecated</h3>
|
118
|
+
</p>
|
119
|
+
<p class="comment">
|
120
|
+
[object Object],[object Object],[object Object]
|
121
|
+
</p>
|
114
122
|
|
123
|
+
<p class="comment">
|
124
|
+
<h3>Description</h3>
|
125
|
+
</p>
|
126
|
+
<p class="comment">
|
127
|
+
<p>Angular module that provides radio input functionality.</p>
|
128
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```typescript
|
129
|
+
import { EuiInputRadioModule } from '@eui/components/input-radio';</code></pre></div><p>@NgModule({
|
130
|
+
imports: [
|
131
|
+
EuiInputRadioModule
|
132
|
+
]
|
133
|
+
})
|
134
|
+
export class YourModule { }</p>
|
135
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
136
|
+
</p>
|
115
137
|
|
116
138
|
|
117
139
|
<div class="container-fluid module">
|
118
140
|
<div class="row">
|
119
141
|
<div class="col-sm-3">
|
120
|
-
<h3>
|
121
|
-
title="Official documentation about module
|
142
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
143
|
+
title="Official documentation about module imports"><span
|
144
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
122
145
|
<ul class="list-group">
|
123
146
|
<li class="list-group-item">
|
124
|
-
<a href="../
|
147
|
+
<a href="../modules/EuiInputRadioComponent.html">EuiInputRadioComponent</a>
|
125
148
|
</li>
|
126
149
|
</ul>
|
127
150
|
</div>
|
@@ -87,7 +87,9 @@
|
|
87
87
|
|
88
88
|
<ol class="breadcrumb">
|
89
89
|
<li class="breadcrumb-item">Modules</li>
|
90
|
-
<li class="breadcrumb-item"
|
90
|
+
<li class="breadcrumb-item"
|
91
|
+
class="breadcrumb-item deprecated-name"
|
92
|
+
>EuiInputTextModule</li>
|
91
93
|
</ol>
|
92
94
|
|
93
95
|
|
@@ -111,17 +113,36 @@
|
|
111
113
|
</p>
|
112
114
|
|
113
115
|
|
116
|
+
<p class="comment">
|
117
|
+
<h3 class="deprecated">Deprecated</h3>
|
118
|
+
</p>
|
119
|
+
<p class="comment">
|
120
|
+
[object Object],[object Object],[object Object]
|
121
|
+
</p>
|
114
122
|
|
123
|
+
<p class="comment">
|
124
|
+
<h3>Description</h3>
|
125
|
+
</p>
|
126
|
+
<p class="comment">
|
127
|
+
<p>Module that provides the EuiInputText component and its dependencies</p>
|
128
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```typescript
|
129
|
+
@NgModule({
|
130
|
+
imports: [EuiInputTextModule]
|
131
|
+
})
|
132
|
+
export class YourModule { }</code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none">Use {@link `EuiInputTextComponent`} instead. This module is deprecated and
|
133
|
+
will be removed in the next major version of the library.</code></pre></div>
|
134
|
+
</p>
|
115
135
|
|
116
136
|
|
117
137
|
<div class="container-fluid module">
|
118
138
|
<div class="row">
|
119
139
|
<div class="col-sm-3">
|
120
|
-
<h3>
|
121
|
-
title="Official documentation about module
|
140
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
141
|
+
title="Official documentation about module imports"><span
|
142
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
122
143
|
<ul class="list-group">
|
123
144
|
<li class="list-group-item">
|
124
|
-
<a href="../
|
145
|
+
<a href="../modules/EuiInputTextComponent.html">EuiInputTextComponent</a>
|
125
146
|
</li>
|
126
147
|
</ul>
|
127
148
|
</div>
|
@@ -87,7 +87,9 @@
|
|
87
87
|
|
88
88
|
<ol class="breadcrumb">
|
89
89
|
<li class="breadcrumb-item">Modules</li>
|
90
|
-
<li class="breadcrumb-item"
|
90
|
+
<li class="breadcrumb-item"
|
91
|
+
class="breadcrumb-item deprecated-name"
|
92
|
+
>EuiMaxLengthDirectiveModule</li>
|
91
93
|
</ol>
|
92
94
|
|
93
95
|
|
@@ -111,17 +113,36 @@
|
|
111
113
|
</p>
|
112
114
|
|
113
115
|
|
116
|
+
<p class="comment">
|
117
|
+
<h3 class="deprecated">Deprecated</h3>
|
118
|
+
</p>
|
119
|
+
<p class="comment">
|
120
|
+
[object Object],[object Object],[object Object]
|
121
|
+
</p>
|
114
122
|
|
123
|
+
<p class="comment">
|
124
|
+
<h3>Description</h3>
|
125
|
+
</p>
|
126
|
+
<p class="comment">
|
127
|
+
<p>Module that provides the EuiMaxLengthDirective.
|
128
|
+
Import this module to use the directive in your application.</p>
|
129
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```typescript
|
130
|
+
@NgModule({
|
131
|
+
imports: [EuiMaxLengthDirectiveModule]
|
132
|
+
})
|
133
|
+
export class MyModule { }</code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
134
|
+
</p>
|
115
135
|
|
116
136
|
|
117
137
|
<div class="container-fluid module">
|
118
138
|
<div class="row">
|
119
139
|
<div class="col-sm-3">
|
120
|
-
<h3>
|
121
|
-
title="Official documentation about module
|
140
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
141
|
+
title="Official documentation about module imports"><span
|
142
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
122
143
|
<ul class="list-group">
|
123
144
|
<li class="list-group-item">
|
124
|
-
<a href="../
|
145
|
+
<a href="../modules/EuiMaxLengthDirective.html">EuiMaxLengthDirective</a>
|
125
146
|
</li>
|
126
147
|
</ul>
|
127
148
|
</div>
|
@@ -112,19 +112,35 @@
|
|
112
112
|
|
113
113
|
|
114
114
|
|
115
|
+
<p class="comment">
|
116
|
+
<h3>Description</h3>
|
117
|
+
</p>
|
118
|
+
<p class="comment">
|
119
|
+
<p>A module that provides textarea functionality with auto-resizing capabilities.
|
120
|
+
This module encapsulates the EuiTextareaComponent and AutoResizeDirective to provide
|
121
|
+
a cohesive textarea solution for Angular applications.</p>
|
122
|
+
<p>To use this module, import it into your feature module:</p>
|
123
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { EuiTextAreaModule } from './path-to-module/eui-textarea.module';
|
124
|
+
|
125
|
+
@NgModule({
|
126
|
+
imports: [EuiTextAreaModule]
|
127
|
+
})
|
128
|
+
export class YourFeatureModule { }</code></pre></div>
|
129
|
+
</p>
|
115
130
|
|
116
131
|
|
117
132
|
<div class="container-fluid module">
|
118
133
|
<div class="row">
|
119
134
|
<div class="col-sm-3">
|
120
|
-
<h3>
|
121
|
-
title="Official documentation about module
|
135
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
136
|
+
title="Official documentation about module imports"><span
|
137
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
122
138
|
<ul class="list-group">
|
123
139
|
<li class="list-group-item">
|
124
|
-
<a href="../
|
140
|
+
<a href="../modules/AutoResizeDirective.html">AutoResizeDirective</a>
|
125
141
|
</li>
|
126
142
|
<li class="list-group-item">
|
127
|
-
<a href="../
|
143
|
+
<a href="../modules/EuiTextareaComponent.html">EuiTextareaComponent</a>
|
128
144
|
</li>
|
129
145
|
</ul>
|
130
146
|
</div>
|
@@ -3,52 +3,129 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { InputDirective } from '@eui/components/shared';
|
4
4
|
import { BooleanInput } from '@angular/cdk/coercion';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
+
/**
|
7
|
+
* Angular component that provides a custom checkbox input implementation.
|
8
|
+
* Extends {@link InputDirective} and implements form control functionality.
|
9
|
+
*
|
10
|
+
* @component
|
11
|
+
* @selector input[euiInputCheckBox]
|
12
|
+
* @implements {@link OnInit}
|
13
|
+
* @implements {@link DoCheck}
|
14
|
+
* @implements {@link OnChanges}
|
15
|
+
* @implements {@link ControlValueAccessor}
|
16
|
+
*
|
17
|
+
* @example
|
18
|
+
* <input euiInputCheckBox
|
19
|
+
* [(ngModel)]="isChecked"
|
20
|
+
* [indeterminate]="isIndeterminate"
|
21
|
+
* [isInvalid]="hasError">
|
22
|
+
*/
|
6
23
|
export declare class EuiInputCheckboxComponent extends InputDirective implements OnInit, DoCheck, OnChanges, ControlValueAccessor {
|
7
24
|
protected ngControl: NgControl;
|
8
25
|
protected _elementRef: ElementRef<HTMLInputElement>;
|
9
26
|
protected _renderer: Renderer2;
|
27
|
+
/**
|
28
|
+
* Gets the CSS classes for the checkbox component.
|
29
|
+
* Combines base classes with validation state classes.
|
30
|
+
*
|
31
|
+
* @returns {string} Space-separated list of CSS classes
|
32
|
+
*/
|
10
33
|
get cssClasses(): string;
|
11
|
-
/**
|
34
|
+
/**
|
35
|
+
* Event emitter that fires when the indeterminate state changes.
|
36
|
+
*
|
37
|
+
* @event indeterminateChange
|
38
|
+
* @type {EventEmitter<boolean>}
|
39
|
+
*/
|
12
40
|
readonly indeterminateChange: EventEmitter<boolean>;
|
13
41
|
/**
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
42
|
+
* Controls the indeterminate (mixed) state of the checkbox.
|
43
|
+
* When true, the checkbox appears in an indeterminate state.
|
44
|
+
* This state is automatically cleared when the checkbox is clicked.
|
45
|
+
*
|
46
|
+
* @property {boolean} indeterminate
|
18
47
|
*/
|
19
48
|
get indeterminate(): boolean;
|
20
49
|
set indeterminate(value: BooleanInput);
|
50
|
+
/**
|
51
|
+
* Controls the invalid state of the checkbox. Used for displaying validation errors.
|
52
|
+
*
|
53
|
+
* @property {boolean} isInvalid
|
54
|
+
*/
|
21
55
|
get isInvalid(): boolean;
|
22
56
|
set isInvalid(state: any);
|
23
57
|
protected _isInvalid: boolean;
|
24
58
|
protected type: string;
|
59
|
+
/**
|
60
|
+
* Controls the checked state of the checkbox.
|
61
|
+
*
|
62
|
+
* @property {boolean} checked
|
63
|
+
*/
|
25
64
|
get checked(): boolean;
|
26
65
|
set checked(value: BooleanInput);
|
27
66
|
protected _checked: boolean;
|
28
67
|
private _indeterminate;
|
29
68
|
constructor(ngControl: NgControl, _elementRef: ElementRef<HTMLInputElement>, _renderer: Renderer2, injector: Injector);
|
69
|
+
/**
|
70
|
+
* Lifecycle hook that is called after data-bound properties are initialized.
|
71
|
+
* Sets default control value if needed.
|
72
|
+
*/
|
30
73
|
ngOnInit(): void;
|
74
|
+
/**
|
75
|
+
* Lifecycle hook that performs custom change detection.
|
76
|
+
* Updates invalid state based on control status.
|
77
|
+
*/
|
31
78
|
ngDoCheck(): void;
|
79
|
+
/**
|
80
|
+
* Lifecycle hook that is called when data-bound properties change.
|
81
|
+
* Handles changes to checked and readonly states.
|
82
|
+
*
|
83
|
+
* @param {SimpleChanges} changes - Object containing changed properties
|
84
|
+
*/
|
32
85
|
ngOnChanges(changes: SimpleChanges): void;
|
86
|
+
/**
|
87
|
+
* Implements ControlValueAccessor writeValue method.
|
88
|
+
* Updates the checked state of the checkbox.
|
89
|
+
*
|
90
|
+
* @param {boolean} obj - The value to write
|
91
|
+
*/
|
33
92
|
writeValue(obj: boolean): void;
|
34
93
|
registerOnChange(fn: any): void;
|
35
94
|
registerOnTouched(fn: any): void;
|
36
95
|
setDisabledState?(isDisabled: boolean): void;
|
37
|
-
|
96
|
+
/**
|
97
|
+
* Event handler for checkbox change events.
|
98
|
+
*
|
99
|
+
* @param {boolean} checked - The new checked state
|
100
|
+
* @protected
|
101
|
+
*/
|
102
|
+
protected onChanged(checked: boolean): void;
|
103
|
+
/**
|
104
|
+
* Event handler for space key press.
|
105
|
+
* Prevents space key action when checkbox is readonly.
|
106
|
+
*
|
107
|
+
* @param {KeyboardEvent} event - The keyboard event
|
108
|
+
* @protected
|
109
|
+
*/
|
38
110
|
protected onSpacePressed(event: KeyboardEvent): void;
|
39
|
-
protected onChange: (_:
|
111
|
+
protected onChange: <T>(_: T) => void;
|
40
112
|
protected onBlur: (_: any) => void;
|
41
|
-
|
113
|
+
/**
|
114
|
+
* Sets the invalid state of the checkbox.
|
115
|
+
*
|
116
|
+
* @param {any} state - The invalid state to set (true/false)
|
117
|
+
* @protected
|
118
|
+
*/
|
119
|
+
protected setInvalid(state?: boolean): void;
|
42
120
|
/**
|
43
121
|
* Sets the indeterminate state of the checkbox. This is also known as "mixed" mode and can be used to
|
44
122
|
* represent a checkbox with three states, e.g. a checkbox that represents a nested list of
|
45
|
-
*
|
123
|
+
* check-able items.
|
46
124
|
*
|
47
125
|
* @param value
|
48
|
-
* @private
|
49
126
|
*/
|
50
127
|
private _syncIndeterminate;
|
51
128
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiInputCheckboxComponent, [{ optional: true; self: true; }, null, null, null]>;
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EuiInputCheckboxComponent, "input[euiInputCheckBox]", never, { "indeterminate": { "alias": "indeterminate"; "required": false; }; "isInvalid": { "alias": "isInvalid"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "indeterminateChange": "indeterminateChange"; }, never, never,
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EuiInputCheckboxComponent, "input[euiInputCheckBox]", never, { "indeterminate": { "alias": "indeterminate"; "required": false; }; "isInvalid": { "alias": "isInvalid"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "indeterminateChange": "indeterminateChange"; }, never, never, true, never>;
|
53
130
|
}
|
54
131
|
//# sourceMappingURL=eui-input-checkbox.component.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-input-checkbox.component.d.ts","sourceRoot":"","sources":["../../eui-input-checkbox/eui-input-checkbox.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,OAAO,EACP,UAAU,EAGV,SAAS,EAET,SAAS,EAET,aAAa,EACb,MAAM,EAGN,QAAQ,EAER,YAAY,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAyB,YAAY,EAAE,MAAM,uBAAuB,CAAC;;AAE5E,qBAOa,yBAA0B,SAAQ,cAAe,YAAW,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,oBAAoB;
|
1
|
+
{"version":3,"file":"eui-input-checkbox.component.d.ts","sourceRoot":"","sources":["../../eui-input-checkbox/eui-input-checkbox.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,OAAO,EACP,UAAU,EAGV,SAAS,EAET,SAAS,EAET,aAAa,EACb,MAAM,EAGN,QAAQ,EAER,YAAY,EACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAyB,YAAY,EAAE,MAAM,uBAAuB,CAAC;;AAE5E;;;;;;;;;;;;;;;;GAgBG;AACH,qBAOa,yBAA0B,SAAQ,cAAe,YAAW,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,oBAAoB;IAgF7F,SAAS,CAAC,SAAS,EAAE,SAAS;IAClD,SAAS,CAAC,WAAW,EAAE,UAAU,CAAC,gBAAgB,CAAC;IACnD,SAAS,CAAC,SAAS,EAAE,SAAS;IAjFlC;;;;;OAKG;IACH,IACW,UAAU,IAAI,MAAM,CAE9B;IACD;;;;;OAKG;IACO,QAAQ,CAAC,mBAAmB,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;IAE5F;;;;;;OAMG;IACH,IACI,aAAa,IAAI,OAAO,CAE3B;IACD,IAAI,aAAa,CAAC,KAAK,EAAE,YAAY,EASpC;IAED;;;;OAIG;IACH,IACW,SAAS,IAAI,OAAO,CAE9B;IAID,IAAW,SAAS,CAAC,KAAK,EAAE,GAAG,EAE9B;IAED,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC;IAEJ,SAAS,CAAC,IAAI,SAAc;IAEtD;;;;OAIG;IACH,IAEW,OAAO,IAAI,OAAO,CAE5B;IAED,IAAW,OAAO,CAAC,KAAK,EAAE,YAAY,EAErC;IAED,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,cAAc,CAAS;gBAGG,SAAS,EAAE,SAAS,EACxC,WAAW,EAAE,UAAU,CAAC,gBAAgB,CAAC,EACzC,SAAS,EAAE,SAAS,EAC9B,QAAQ,EAAE,QAAQ;IAetB;;;OAGG;IACH,QAAQ,IAAI,IAAI;IAahB;;;OAGG;IACH,SAAS,IAAI,IAAI;IAMjB;;;;;OAKG;IACH,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAmBzC;;;;;OAKG;IACH,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAO9B,gBAAgB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAM/B,iBAAiB,CAAC,EAAE,EAAE,GAAG,GAAG,IAAI;IAIhC,gBAAgB,CAAC,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI5C;;;;;OAKG;IAEH,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAI3C;;;;;;OAMG;IAEH,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAOpD,SAAS,CAAC,QAAQ,GAAI,CAAC,KAAK,CAAC,KAAG,IAAI,CAElC;IAIF,SAAS,CAAC,MAAM,MAAO,GAAG,KAAG,IAAI,CAE/B;IAEF;;;;;OAKG;IACH,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;IAe3C;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;yCAjPjB,yBAAyB;2CAAzB,yBAAyB;CAsPrC"}
|
@@ -1,9 +1,23 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "
|
3
|
-
import * as i2 from "
|
2
|
+
import * as i1 from "@angular/common";
|
3
|
+
import * as i2 from "./eui-input-checkbox.component";
|
4
|
+
/**
|
5
|
+
* Angular module for the EUI Input Checkbox component. Provides the checkbox
|
6
|
+
* component and its dependencies.
|
7
|
+
*
|
8
|
+
* @example
|
9
|
+
* ```typescript
|
10
|
+
* @NgModule({
|
11
|
+
* imports: [EuiInputCheckboxModule]
|
12
|
+
* })
|
13
|
+
* export class YourModule { }
|
14
|
+
* ```
|
15
|
+
*
|
16
|
+
* @deprecated Use {@link `EuiInputCheckboxComponent`} instead.
|
17
|
+
*/
|
4
18
|
export declare class EuiInputCheckboxModule {
|
5
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiInputCheckboxModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiInputCheckboxModule, [typeof i1.
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EuiInputCheckboxModule, never, [typeof i1.CommonModule, typeof i2.EuiInputCheckboxComponent], [typeof i2.EuiInputCheckboxComponent]>;
|
7
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<EuiInputCheckboxModule>;
|
8
22
|
}
|
9
23
|
//# sourceMappingURL=eui-input-checkbox.module.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-input-checkbox.module.d.ts","sourceRoot":"","sources":["../../eui-input-checkbox/eui-input-checkbox.module.ts"],"names":[],"mappings":";;;AAIA,
|
1
|
+
{"version":3,"file":"eui-input-checkbox.module.d.ts","sourceRoot":"","sources":["../../eui-input-checkbox/eui-input-checkbox.module.ts"],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;GAaG;AACH,qBAIa,sBAAsB;yCAAtB,sBAAsB;0CAAtB,sBAAsB;0CAAtB,sBAAsB;CAAG"}
|