@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
@@ -109,6 +109,18 @@
|
|
109
109
|
</p>
|
110
110
|
|
111
111
|
|
112
|
+
<p class="comment">
|
113
|
+
<h3>Description</h3>
|
114
|
+
</p>
|
115
|
+
<p class="comment">
|
116
|
+
<p>A custom input text component that extends InputDirective and provides additional functionality
|
117
|
+
such as validation states, clearable input, and loading states.</p>
|
118
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```html
|
119
|
+
<input euiInputText
|
120
|
+
[isInvalid]="true"
|
121
|
+
[euiClearable]="true"
|
122
|
+
[euiLoading]="isLoading"></code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
123
|
+
</p>
|
112
124
|
|
113
125
|
<p class="comment">
|
114
126
|
<h3>Extends</h3>
|
@@ -159,6 +171,10 @@
|
|
159
171
|
<td class="col-md-9"><code>input[euiInputText]</code></td>
|
160
172
|
</tr>
|
161
173
|
|
174
|
+
<tr>
|
175
|
+
<td class="col-md-3">standalone</td>
|
176
|
+
<td class="col-md-9"><code>true</code></td>
|
177
|
+
</tr>
|
162
178
|
|
163
179
|
|
164
180
|
<tr>
|
@@ -569,6 +585,19 @@
|
|
569
585
|
<span class="accessor"><b>get</b><code>class()</code></span>
|
570
586
|
</td>
|
571
587
|
</tr>
|
588
|
+
<tr>
|
589
|
+
<td class="col-md-4">
|
590
|
+
<div class="io-description"><p>Gets the CSS classes for the component, including validation state classes</p>
|
591
|
+
</div>
|
592
|
+
|
593
|
+
<div>
|
594
|
+
</div>
|
595
|
+
<div class="io-description">
|
596
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
597
|
+
|
598
|
+
</div>
|
599
|
+
</td>
|
600
|
+
</tr>
|
572
601
|
|
573
602
|
</tbody>
|
574
603
|
</table>
|
@@ -586,6 +615,20 @@
|
|
586
615
|
<span class="accessor"><b>get</b><code>isInvalid()</code></span>
|
587
616
|
</td>
|
588
617
|
</tr>
|
618
|
+
<tr>
|
619
|
+
<td class="col-md-4">
|
620
|
+
<div class="io-description"><p>Gets or sets the invalid state of the input
|
621
|
+
When used with NgControl, this state is automatically managed based on control state</p>
|
622
|
+
</div>
|
623
|
+
|
624
|
+
<div>
|
625
|
+
</div>
|
626
|
+
<div class="io-description">
|
627
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
628
|
+
|
629
|
+
</div>
|
630
|
+
</td>
|
631
|
+
</tr>
|
589
632
|
|
590
633
|
<tr>
|
591
634
|
<td class="col-md-4">
|
@@ -603,6 +646,7 @@
|
|
603
646
|
<td>Name</td>
|
604
647
|
<td>Type</td>
|
605
648
|
<td>Optional</td>
|
649
|
+
<td>Description</td>
|
606
650
|
</tr>
|
607
651
|
</thead>
|
608
652
|
<tbody>
|
@@ -617,6 +661,12 @@
|
|
617
661
|
No
|
618
662
|
</td>
|
619
663
|
|
664
|
+
<td>
|
665
|
+
<ul>
|
666
|
+
<li>The invalid state to set</li>
|
667
|
+
</ul>
|
668
|
+
|
669
|
+
</td>
|
620
670
|
</tr>
|
621
671
|
</tbody>
|
622
672
|
</table>
|
@@ -109,6 +109,19 @@
|
|
109
109
|
</p>
|
110
110
|
|
111
111
|
|
112
|
+
<p class="comment">
|
113
|
+
<h3>Description</h3>
|
114
|
+
</p>
|
115
|
+
<p class="comment">
|
116
|
+
<p>A form control component that provides an enhanced textarea with additional features.
|
117
|
+
Supports readonly state visualization, form control integration, and state management.</p>
|
118
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```html
|
119
|
+
<textarea euiTextArea
|
120
|
+
[(ngModel)]="value"
|
121
|
+
[readonly]="isReadonly"
|
122
|
+
[disabled]="isDisabled"
|
123
|
+
[isInvalid]="hasError" /></code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
124
|
+
</p>
|
112
125
|
|
113
126
|
|
114
127
|
<p class="comment">
|
@@ -162,6 +175,10 @@
|
|
162
175
|
<td class="col-md-9"><code>textarea[euiTextArea]</code></td>
|
163
176
|
</tr>
|
164
177
|
|
178
|
+
<tr>
|
179
|
+
<td class="col-md-3">standalone</td>
|
180
|
+
<td class="col-md-9"><code>true</code></td>
|
181
|
+
</tr>
|
165
182
|
|
166
183
|
|
167
184
|
<tr>
|
@@ -436,6 +453,13 @@
|
|
436
453
|
|
437
454
|
</td>
|
438
455
|
</tr>
|
456
|
+
<tr>
|
457
|
+
<td class="col-md-4">
|
458
|
+
<div class="io-description"><p>The disabled state of the textarea
|
459
|
+
This can be controlled either directly or through form control binding.</p>
|
460
|
+
</div>
|
461
|
+
</td>
|
462
|
+
</tr>
|
439
463
|
</tbody>
|
440
464
|
</table>
|
441
465
|
<table class="table table-sm table-bordered">
|
@@ -478,6 +502,12 @@
|
|
478
502
|
<i>Default value : </i><code>`eui-textarea_${EuiTextareaComponent.idCounter++}`</code>
|
479
503
|
</td>
|
480
504
|
</tr>
|
505
|
+
<tr>
|
506
|
+
<td class="col-md-4">
|
507
|
+
<div class="io-description"><p>Unique identifier for the textarea</p>
|
508
|
+
</div>
|
509
|
+
</td>
|
510
|
+
</tr>
|
481
511
|
</tbody>
|
482
512
|
</table>
|
483
513
|
<table class="table table-sm table-bordered">
|
@@ -494,6 +524,13 @@
|
|
494
524
|
|
495
525
|
</td>
|
496
526
|
</tr>
|
527
|
+
<tr>
|
528
|
+
<td class="col-md-4">
|
529
|
+
<div class="io-description"><p>Flag indicating if the textarea is in an invalid state
|
530
|
+
This can be set manually or automatically through form validation.</p>
|
531
|
+
</div>
|
532
|
+
</td>
|
533
|
+
</tr>
|
497
534
|
</tbody>
|
498
535
|
</table>
|
499
536
|
<table class="table table-sm table-bordered">
|
@@ -510,6 +547,13 @@
|
|
510
547
|
|
511
548
|
</td>
|
512
549
|
</tr>
|
550
|
+
<tr>
|
551
|
+
<td class="col-md-4">
|
552
|
+
<div class="io-description"><p>The readonly state of the textarea
|
553
|
+
with special styling.</p>
|
554
|
+
</div>
|
555
|
+
</td>
|
556
|
+
</tr>
|
513
557
|
</tbody>
|
514
558
|
</table>
|
515
559
|
</section>
|
@@ -531,7 +575,7 @@
|
|
531
575
|
</tr>
|
532
576
|
<tr>
|
533
577
|
<td class="col-md-4">
|
534
|
-
<div class="io-description"><p>
|
578
|
+
<div class="io-description"><p>Event emitter that fires when the number of text rows in the textarea changes</p>
|
535
579
|
</div>
|
536
580
|
</td>
|
537
581
|
</tr>
|
@@ -588,6 +632,43 @@
|
|
588
632
|
|
589
633
|
|
590
634
|
|
635
|
+
<tr>
|
636
|
+
<td class="col-md-4">
|
637
|
+
<div class="io-description"><p>Handles blur events on the textarea</p>
|
638
|
+
</div>
|
639
|
+
|
640
|
+
<div class="io-description">
|
641
|
+
<b>Parameters :</b>
|
642
|
+
|
643
|
+
<table class="params">
|
644
|
+
<thead>
|
645
|
+
<tr>
|
646
|
+
<td>Name</td>
|
647
|
+
<td>Optional</td>
|
648
|
+
<td>Description</td>
|
649
|
+
</tr>
|
650
|
+
</thead>
|
651
|
+
<tbody>
|
652
|
+
<tr>
|
653
|
+
<td>value</td>
|
654
|
+
|
655
|
+
<td>
|
656
|
+
No
|
657
|
+
</td>
|
658
|
+
|
659
|
+
|
660
|
+
<td>
|
661
|
+
<ul>
|
662
|
+
<li>The current value of the textarea</li>
|
663
|
+
</ul>
|
664
|
+
|
665
|
+
</td>
|
666
|
+
</tr>
|
667
|
+
</tbody>
|
668
|
+
</table>
|
669
|
+
</div>
|
670
|
+
</td>
|
671
|
+
</tr>
|
591
672
|
</tbody>
|
592
673
|
</table>
|
593
674
|
<table class="table table-sm table-bordered">
|
@@ -615,6 +696,43 @@
|
|
615
696
|
|
616
697
|
|
617
698
|
|
699
|
+
<tr>
|
700
|
+
<td class="col-md-4">
|
701
|
+
<div class="io-description"><p>Handles input changes in the textarea</p>
|
702
|
+
</div>
|
703
|
+
|
704
|
+
<div class="io-description">
|
705
|
+
<b>Parameters :</b>
|
706
|
+
|
707
|
+
<table class="params">
|
708
|
+
<thead>
|
709
|
+
<tr>
|
710
|
+
<td>Name</td>
|
711
|
+
<td>Optional</td>
|
712
|
+
<td>Description</td>
|
713
|
+
</tr>
|
714
|
+
</thead>
|
715
|
+
<tbody>
|
716
|
+
<tr>
|
717
|
+
<td>value</td>
|
718
|
+
|
719
|
+
<td>
|
720
|
+
No
|
721
|
+
</td>
|
722
|
+
|
723
|
+
|
724
|
+
<td>
|
725
|
+
<ul>
|
726
|
+
<li>The new value of the textarea</li>
|
727
|
+
</ul>
|
728
|
+
|
729
|
+
</td>
|
730
|
+
</tr>
|
731
|
+
</tbody>
|
732
|
+
</table>
|
733
|
+
</div>
|
734
|
+
</td>
|
735
|
+
</tr>
|
618
736
|
</tbody>
|
619
737
|
</table>
|
620
738
|
</section>
|
@@ -655,6 +773,8 @@
|
|
655
773
|
|
656
774
|
<tr>
|
657
775
|
<td class="col-md-4">
|
776
|
+
<div class="io-description"><p>Handles blur events on the textarea</p>
|
777
|
+
</div>
|
658
778
|
|
659
779
|
<div class="io-description">
|
660
780
|
<b>Parameters :</b>
|
@@ -665,6 +785,7 @@
|
|
665
785
|
<td>Name</td>
|
666
786
|
<td>Type</td>
|
667
787
|
<td>Optional</td>
|
788
|
+
<td>Description</td>
|
668
789
|
</tr>
|
669
790
|
</thead>
|
670
791
|
<tbody>
|
@@ -679,6 +800,12 @@
|
|
679
800
|
</td>
|
680
801
|
|
681
802
|
|
803
|
+
<td>
|
804
|
+
<ul>
|
805
|
+
<li>The current value of the textarea</li>
|
806
|
+
</ul>
|
807
|
+
|
808
|
+
</td>
|
682
809
|
</tr>
|
683
810
|
</tbody>
|
684
811
|
</table>
|
@@ -726,6 +853,8 @@
|
|
726
853
|
|
727
854
|
<tr>
|
728
855
|
<td class="col-md-4">
|
856
|
+
<div class="io-description"><p>Handles input changes in the textarea</p>
|
857
|
+
</div>
|
729
858
|
|
730
859
|
<div class="io-description">
|
731
860
|
<b>Parameters :</b>
|
@@ -736,6 +865,7 @@
|
|
736
865
|
<td>Name</td>
|
737
866
|
<td>Type</td>
|
738
867
|
<td>Optional</td>
|
868
|
+
<td>Description</td>
|
739
869
|
</tr>
|
740
870
|
</thead>
|
741
871
|
<tbody>
|
@@ -750,6 +880,12 @@
|
|
750
880
|
</td>
|
751
881
|
|
752
882
|
|
883
|
+
<td>
|
884
|
+
<ul>
|
885
|
+
<li>The new value of the textarea</li>
|
886
|
+
</ul>
|
887
|
+
|
888
|
+
</td>
|
753
889
|
</tr>
|
754
890
|
</tbody>
|
755
891
|
</table>
|
@@ -787,6 +923,8 @@
|
|
787
923
|
|
788
924
|
<tr>
|
789
925
|
<td class="col-md-4">
|
926
|
+
<div class="io-description"><p>Registers the callback function for change events</p>
|
927
|
+
</div>
|
790
928
|
|
791
929
|
<div class="io-description">
|
792
930
|
<b>Parameters :</b>
|
@@ -797,6 +935,7 @@
|
|
797
935
|
<td>Name</td>
|
798
936
|
<td>Type</td>
|
799
937
|
<td>Optional</td>
|
938
|
+
<td>Description</td>
|
800
939
|
</tr>
|
801
940
|
</thead>
|
802
941
|
<tbody>
|
@@ -811,6 +950,12 @@
|
|
811
950
|
</td>
|
812
951
|
|
813
952
|
|
953
|
+
<td>
|
954
|
+
<ul>
|
955
|
+
<li>The callback function</li>
|
956
|
+
</ul>
|
957
|
+
|
958
|
+
</td>
|
814
959
|
</tr>
|
815
960
|
</tbody>
|
816
961
|
</table>
|
@@ -848,6 +993,8 @@
|
|
848
993
|
|
849
994
|
<tr>
|
850
995
|
<td class="col-md-4">
|
996
|
+
<div class="io-description"><p>Registers the callback function for touched events</p>
|
997
|
+
</div>
|
851
998
|
|
852
999
|
<div class="io-description">
|
853
1000
|
<b>Parameters :</b>
|
@@ -858,6 +1005,7 @@
|
|
858
1005
|
<td>Name</td>
|
859
1006
|
<td>Type</td>
|
860
1007
|
<td>Optional</td>
|
1008
|
+
<td>Description</td>
|
861
1009
|
</tr>
|
862
1010
|
</thead>
|
863
1011
|
<tbody>
|
@@ -872,6 +1020,12 @@
|
|
872
1020
|
</td>
|
873
1021
|
|
874
1022
|
|
1023
|
+
<td>
|
1024
|
+
<ul>
|
1025
|
+
<li>The callback function</li>
|
1026
|
+
</ul>
|
1027
|
+
|
1028
|
+
</td>
|
875
1029
|
</tr>
|
876
1030
|
</tbody>
|
877
1031
|
</table>
|
@@ -909,6 +1063,8 @@
|
|
909
1063
|
|
910
1064
|
<tr>
|
911
1065
|
<td class="col-md-4">
|
1066
|
+
<div class="io-description"><p>Sets the disabled state of the textarea</p>
|
1067
|
+
</div>
|
912
1068
|
|
913
1069
|
<div class="io-description">
|
914
1070
|
<b>Parameters :</b>
|
@@ -919,6 +1075,7 @@
|
|
919
1075
|
<td>Name</td>
|
920
1076
|
<td>Type</td>
|
921
1077
|
<td>Optional</td>
|
1078
|
+
<td>Description</td>
|
922
1079
|
</tr>
|
923
1080
|
</thead>
|
924
1081
|
<tbody>
|
@@ -933,6 +1090,12 @@
|
|
933
1090
|
</td>
|
934
1091
|
|
935
1092
|
|
1093
|
+
<td>
|
1094
|
+
<ul>
|
1095
|
+
<li>The disabled state to set</li>
|
1096
|
+
</ul>
|
1097
|
+
|
1098
|
+
</td>
|
936
1099
|
</tr>
|
937
1100
|
</tbody>
|
938
1101
|
</table>
|
@@ -970,6 +1133,8 @@
|
|
970
1133
|
|
971
1134
|
<tr>
|
972
1135
|
<td class="col-md-4">
|
1136
|
+
<div class="io-description"><p>ControlValueAccessor implementation for writing values</p>
|
1137
|
+
</div>
|
973
1138
|
|
974
1139
|
<div class="io-description">
|
975
1140
|
<b>Parameters :</b>
|
@@ -979,6 +1144,7 @@
|
|
979
1144
|
<tr>
|
980
1145
|
<td>Name</td>
|
981
1146
|
<td>Optional</td>
|
1147
|
+
<td>Description</td>
|
982
1148
|
</tr>
|
983
1149
|
</thead>
|
984
1150
|
<tbody>
|
@@ -990,6 +1156,12 @@
|
|
990
1156
|
</td>
|
991
1157
|
|
992
1158
|
|
1159
|
+
<td>
|
1160
|
+
<ul>
|
1161
|
+
<li>The value to write to the textarea</li>
|
1162
|
+
</ul>
|
1163
|
+
|
1164
|
+
</td>
|
993
1165
|
</tr>
|
994
1166
|
</tbody>
|
995
1167
|
</table>
|
@@ -1035,6 +1207,12 @@
|
|
1035
1207
|
</td>
|
1036
1208
|
</tr>
|
1037
1209
|
|
1210
|
+
<tr>
|
1211
|
+
<td class="col-md-4">
|
1212
|
+
<div class="io-description"><p>Static counter used to generate unique IDs for textarea instances</p>
|
1213
|
+
</div>
|
1214
|
+
</td>
|
1215
|
+
</tr>
|
1038
1216
|
|
1039
1217
|
</tbody>
|
1040
1218
|
</table>
|
@@ -1075,6 +1253,20 @@
|
|
1075
1253
|
<span class="accessor"><b>get</b><code>disabled()</code></span>
|
1076
1254
|
</td>
|
1077
1255
|
</tr>
|
1256
|
+
<tr>
|
1257
|
+
<td class="col-md-4">
|
1258
|
+
<div class="io-description"><p>The disabled state of the textarea
|
1259
|
+
This can be controlled either directly or through form control binding.</p>
|
1260
|
+
</div>
|
1261
|
+
|
1262
|
+
<div>
|
1263
|
+
</div>
|
1264
|
+
<div class="io-description">
|
1265
|
+
<b>Returns : </b> <code>boolean | null</code>
|
1266
|
+
|
1267
|
+
</div>
|
1268
|
+
</td>
|
1269
|
+
</tr>
|
1078
1270
|
|
1079
1271
|
<tr>
|
1080
1272
|
<td class="col-md-4">
|
@@ -1134,6 +1326,20 @@
|
|
1134
1326
|
<span class="accessor"><b>get</b><code>readonly()</code></span>
|
1135
1327
|
</td>
|
1136
1328
|
</tr>
|
1329
|
+
<tr>
|
1330
|
+
<td class="col-md-4">
|
1331
|
+
<div class="io-description"><p>The readonly state of the textarea
|
1332
|
+
with special styling.</p>
|
1333
|
+
</div>
|
1334
|
+
|
1335
|
+
<div>
|
1336
|
+
</div>
|
1337
|
+
<div class="io-description">
|
1338
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
1339
|
+
|
1340
|
+
</div>
|
1341
|
+
</td>
|
1342
|
+
</tr>
|
1137
1343
|
|
1138
1344
|
<tr>
|
1139
1345
|
<td class="col-md-4">
|
package/docs/dependencies.html
CHANGED
@@ -266,9 +266,9 @@
|
|
266
266
|
<li>
|
267
267
|
<b>@stackblitz/sdk</b> : 1.11.0</li>
|
268
268
|
<li>
|
269
|
-
<b>@eui/styles</b> : 19.0.3
|
269
|
+
<b>@eui/styles</b> : 19.0.3</li>
|
270
270
|
<li>
|
271
|
-
<b>@eui/ecl</b> : 19.0.3
|
271
|
+
<b>@eui/ecl</b> : 19.0.3</li>
|
272
272
|
<li>
|
273
273
|
<b>@eui/tools</b> : ^6.0.0</li>
|
274
274
|
</ul>
|
@@ -113,6 +113,17 @@
|
|
113
113
|
</p>
|
114
114
|
|
115
115
|
|
116
|
+
<p class="comment">
|
117
|
+
<h3>Description</h3>
|
118
|
+
</p>
|
119
|
+
<p class="comment">
|
120
|
+
<p>A directive that automatically adjusts the height of a textarea based on its content.</p>
|
121
|
+
<p>The AutoResizeDirective automatically adjusts the height of a textarea element as the user types,
|
122
|
+
ensuring that all content is visible without requiring manual resizing or scrolling.
|
123
|
+
It supports minimum and maximum row constraints and can be enabled/disabled dynamically.</p>
|
124
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```html
|
125
|
+
<textarea autoResize [minRows]="2" [maxRows]="5"></textarea></code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
126
|
+
</p>
|
116
127
|
|
117
128
|
|
118
129
|
<p class="comment">
|
@@ -136,6 +147,10 @@
|
|
136
147
|
<td class="col-md-9"><code>textarea[autoResize]</code></td>
|
137
148
|
</tr>
|
138
149
|
|
150
|
+
<tr>
|
151
|
+
<td class="col-md-3">Standalone</td>
|
152
|
+
<td class="col-md-9"><code>true</code></td>
|
153
|
+
</tr>
|
139
154
|
|
140
155
|
|
141
156
|
|
@@ -378,6 +393,16 @@
|
|
378
393
|
|
379
394
|
|
380
395
|
|
396
|
+
<tr>
|
397
|
+
<td class="col-md-4">
|
398
|
+
<div class="io-description"><p>Event handler for input events on the textarea.
|
399
|
+
Triggers the resize calculation when the content changes.</p>
|
400
|
+
</div>
|
401
|
+
|
402
|
+
<div>
|
403
|
+
</div>
|
404
|
+
</td>
|
405
|
+
</tr>
|
381
406
|
</tbody>
|
382
407
|
</table>
|
383
408
|
</section>
|
@@ -417,6 +442,9 @@
|
|
417
442
|
|
418
443
|
<tr>
|
419
444
|
<td class="col-md-4">
|
445
|
+
<div class="io-description"><p>Event handler for input events on the textarea.
|
446
|
+
Triggers the resize calculation when the content changes.</p>
|
447
|
+
</div>
|
420
448
|
|
421
449
|
<div class="io-description">
|
422
450
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
@@ -450,7 +478,17 @@
|
|
450
478
|
|
451
479
|
<tr>
|
452
480
|
<td class="col-md-4">
|
453
|
-
<div class="io-description"><p>Calculates
|
481
|
+
<div class="io-description"><p>Calculates and sets the appropriate height for the textarea based on its content.
|
482
|
+
This method creates a temporary clone of the textarea to measure the required height,
|
483
|
+
taking into account minRows and maxRows constraints.</p>
|
484
|
+
<p>The calculation process:</p>
|
485
|
+
<ol>
|
486
|
+
<li>Creates a hidden clone of the textarea</li>
|
487
|
+
<li>Sets the clone's width to match the original</li>
|
488
|
+
<li>Measures the required height based on content</li>
|
489
|
+
<li>Applies maxRows constraint if specified</li>
|
490
|
+
<li>Updates the original textarea's height</li>
|
491
|
+
</ol>
|
454
492
|
</div>
|
455
493
|
|
456
494
|
<div class="io-description">
|
@@ -484,6 +522,9 @@
|
|
484
522
|
</tr>
|
485
523
|
<tr>
|
486
524
|
<td class="col-md-4">
|
525
|
+
<div class="io-description"><p>Sets the minimum number of rows for the textarea.
|
526
|
+
This value determines the initial height of the textarea.</p>
|
527
|
+
</div>
|
487
528
|
|
488
529
|
<div class="io-description">
|
489
530
|
<b>Parameters :</b>
|
@@ -493,6 +534,7 @@
|
|
493
534
|
<td>Name</td>
|
494
535
|
<td>Type</td>
|
495
536
|
<td>Optional</td>
|
537
|
+
<td>Description</td>
|
496
538
|
</tr>
|
497
539
|
</thead>
|
498
540
|
<tbody>
|
@@ -507,6 +549,12 @@
|
|
507
549
|
No
|
508
550
|
</td>
|
509
551
|
|
552
|
+
<td>
|
553
|
+
<ul>
|
554
|
+
<li>The minimum number of rows to display</li>
|
555
|
+
</ul>
|
556
|
+
|
557
|
+
</td>
|
510
558
|
</tr>
|
511
559
|
</tbody>
|
512
560
|
</table>
|
@@ -113,6 +113,26 @@
|
|
113
113
|
</p>
|
114
114
|
|
115
115
|
|
116
|
+
<p class="comment">
|
117
|
+
<h3>Description</h3>
|
118
|
+
</p>
|
119
|
+
<p class="comment">
|
120
|
+
<p>A structural directive that conditionally renders content based on user permissions.
|
121
|
+
Similar to *ngIf, but checks against a permission service to determine visibility.</p>
|
122
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```html
|
123
|
+
<!-- Single permission check -->
|
124
|
+
<div *euiHasPermission="['READ_USERS']">
|
125
|
+
Content only visible to users with READ_USERS permission
|
126
|
+
</div></code></pre></div><!-- Multiple permission check (AND operation) -->
|
127
|
+
<div *euiHasPermission="['READ_USERS', 'WRITE_USERS']">
|
128
|
+
Content only visible to users with both permissions
|
129
|
+
</div>
|
130
|
+
```
|
131
|
+
|
132
|
+
<p>The directive performs an AND operation when multiple permissions are provided,
|
133
|
+
meaning all permissions must be granted for the content to be displayed.</p>
|
134
|
+
|
135
|
+
</p>
|
116
136
|
|
117
137
|
|
118
138
|
|
@@ -127,6 +147,10 @@
|
|
127
147
|
<td class="col-md-9"><code>[euiHasPermission]</code></td>
|
128
148
|
</tr>
|
129
149
|
|
150
|
+
<tr>
|
151
|
+
<td class="col-md-3">Standalone</td>
|
152
|
+
<td class="col-md-9"><code>true</code></td>
|
153
|
+
</tr>
|
130
154
|
|
131
155
|
|
132
156
|
|
@@ -289,6 +313,9 @@
|
|
289
313
|
</tr>
|
290
314
|
<tr>
|
291
315
|
<td class="col-md-4">
|
316
|
+
<div class="io-description"><p>Sets the permissions required to display the content. Can be a single permission
|
317
|
+
string or an array of permission strings.</p>
|
318
|
+
</div>
|
292
319
|
|
293
320
|
<div class="io-description">
|
294
321
|
<b>Parameters :</b>
|
@@ -297,6 +324,7 @@
|
|
297
324
|
<tr>
|
298
325
|
<td>Name</td>
|
299
326
|
<td>Optional</td>
|
327
|
+
<td>Description</td>
|
300
328
|
</tr>
|
301
329
|
</thead>
|
302
330
|
<tbody>
|
@@ -308,6 +336,12 @@
|
|
308
336
|
No
|
309
337
|
</td>
|
310
338
|
|
339
|
+
<td>
|
340
|
+
<ul>
|
341
|
+
<li>Permission or array of permissions to check</li>
|
342
|
+
</ul>
|
343
|
+
|
344
|
+
</td>
|
311
345
|
</tr>
|
312
346
|
</tbody>
|
313
347
|
</table>
|