@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,23 @@
|
|
109
109
|
</p>
|
110
110
|
|
111
111
|
|
112
|
+
<p class="comment">
|
113
|
+
<h3>Description</h3>
|
114
|
+
</p>
|
115
|
+
<p class="comment">
|
116
|
+
<p>A component that serves as the main container for input group elements.
|
117
|
+
Can only be used as an attribute selector on a div element.</p>
|
118
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```html
|
119
|
+
<div euiInputGroup>
|
120
|
+
<eui-input-group-addon>
|
121
|
+
<eui-input-group-addon-item>Prefix</eui-input-group-addon-item>
|
122
|
+
</eui-input-group-addon>
|
123
|
+
<input type="text">
|
124
|
+
<eui-input-group-addon>
|
125
|
+
<eui-input-group-addon-item>Suffix</eui-input-group-addon-item>
|
126
|
+
</eui-input-group-addon>
|
127
|
+
</div></code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
128
|
+
</p>
|
112
129
|
|
113
130
|
|
114
131
|
|
@@ -134,6 +151,10 @@
|
|
134
151
|
<td class="col-md-9"><code>div[euiInputGroup]</code></td>
|
135
152
|
</tr>
|
136
153
|
|
154
|
+
<tr>
|
155
|
+
<td class="col-md-3">standalone</td>
|
156
|
+
<td class="col-md-9"><code>true</code></td>
|
157
|
+
</tr>
|
137
158
|
|
138
159
|
|
139
160
|
<tr>
|
@@ -315,6 +336,20 @@
|
|
315
336
|
<span class="accessor"><b>get</b><code>cssClasses()</code></span>
|
316
337
|
</td>
|
317
338
|
</tr>
|
339
|
+
<tr>
|
340
|
+
<td class="col-md-4">
|
341
|
+
<div class="io-description"><p>Getter that returns the CSS class for the component.
|
342
|
+
Bound to the host element's class attribute.</p>
|
343
|
+
</div>
|
344
|
+
|
345
|
+
<div>
|
346
|
+
</div>
|
347
|
+
<div class="io-description">
|
348
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
349
|
+
|
350
|
+
</div>
|
351
|
+
</td>
|
352
|
+
</tr>
|
318
353
|
|
319
354
|
</tbody>
|
320
355
|
</table>
|
@@ -109,6 +109,45 @@
|
|
109
109
|
</p>
|
110
110
|
|
111
111
|
|
112
|
+
<p class="comment">
|
113
|
+
<h3>Description</h3>
|
114
|
+
</p>
|
115
|
+
<p class="comment">
|
116
|
+
<p>Input number component that allows the user to enter a number. It supports number
|
117
|
+
formatting and validation. It uses Cleave.js to format the number. It depends on
|
118
|
+
the <a href="LocaleService">LocaleService</a> to get the current locale and format the number accordingly.</p>
|
119
|
+
<p>It supports the following attributes:</p>
|
120
|
+
<ul>
|
121
|
+
<li><a href="min">min</a>: The minimum number can be entered. Blocks user's input if not in range.</li>
|
122
|
+
<li><a href="max">max</a>: The maximum number can be entered. Blocks user's input if not in range.</li>
|
123
|
+
<li><a href="leadingZero">leadingZero</a>: Adds leading zero to a number. Formatting will not work.</li>
|
124
|
+
<li><a href="isInvalid">isInvalid</a>: Sets the invalid state of the input element.</li>
|
125
|
+
<li><a href="fractionDigits">fractionDigits</a>: Determines how many digits to show after the decimal point.</li>
|
126
|
+
<li><a href="digits">digits</a>: Determines how many digits to show before the decimal point.</li>
|
127
|
+
<li><a href="fillFraction">fillFraction</a>: Fills the decimal part with zeros in case it's less than the fractionDigits.</li>
|
128
|
+
<li><a href="roundUp">roundUp</a>: Rounds a number with more than two decimals UP.</li>
|
129
|
+
<li><a href="noFormat">noFormat</a>: Disables the number formatting. It will be treated as a plain number.</li>
|
130
|
+
<li><a href="value">value</a>: The value of the input element.</li>
|
131
|
+
<li><a href="placeholder">placeholder</a>: The placeholder value of the input element.</li>
|
132
|
+
<li><a href="euiClearable">euiClearable</a>: Adds a clear button to the input element.</li>
|
133
|
+
<li><a href="euiLoading">euiLoading</a>: Adds a loading spinner to the input element.</li>
|
134
|
+
<li><a href="readonly">readonly</a>: Disables the input element.</li>
|
135
|
+
<li><a href="disabled">disabled</a>: Disables the input element.</li>
|
136
|
+
<li><a href="euiDanger">euiDanger</a>: Sets the invalid state of the input element.</li>
|
137
|
+
<li><a href="euiSuccess">euiSuccess</a>: Sets the success state of the input element.</li>
|
138
|
+
<li><a href="euiWarning">euiWarning</a>: Sets the warning state of the input element.</li>
|
139
|
+
<li><a href="euiInfo">euiInfo</a>: Sets the info state of the input element.</li>
|
140
|
+
<li><a href="euiPrimary">euiPrimary</a>: Sets the primary state of the input element.</li>
|
141
|
+
<li><a href="euiSecondary">euiSecondary</a>: Sets the secondary state of the input element.</li>
|
142
|
+
</ul>
|
143
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```html
|
144
|
+
<input euiInputNumber
|
145
|
+
min="0"
|
146
|
+
max="100"
|
147
|
+
leadingZero="3"
|
148
|
+
value="100.00"
|
149
|
+
placeholder="100.00" /></code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
150
|
+
</p>
|
112
151
|
|
113
152
|
<p class="comment">
|
114
153
|
<h3>Extends</h3>
|
@@ -164,6 +203,10 @@
|
|
164
203
|
<td class="col-md-9"><code>input[euiInputNumber]</code></td>
|
165
204
|
</tr>
|
166
205
|
|
206
|
+
<tr>
|
207
|
+
<td class="col-md-3">standalone</td>
|
208
|
+
<td class="col-md-9"><code>true</code></td>
|
209
|
+
</tr>
|
167
210
|
|
168
211
|
|
169
212
|
<tr>
|
@@ -487,7 +530,7 @@
|
|
487
530
|
</tr>
|
488
531
|
<tr>
|
489
532
|
<td class="col-md-4">
|
490
|
-
<div class="io-description"><p>how many digits
|
533
|
+
<div class="io-description"><p>determines how many digits to show before the decimal point</p>
|
491
534
|
</div>
|
492
535
|
</td>
|
493
536
|
</tr>
|
@@ -507,6 +550,12 @@
|
|
507
550
|
|
508
551
|
</td>
|
509
552
|
</tr>
|
553
|
+
<tr>
|
554
|
+
<td class="col-md-4">
|
555
|
+
<div class="io-description"><p>fills the decimal part with zeros in case it's less than the fractionDigits</p>
|
556
|
+
</div>
|
557
|
+
</td>
|
558
|
+
</tr>
|
510
559
|
</tbody>
|
511
560
|
</table>
|
512
561
|
<table class="table table-sm table-bordered">
|
@@ -525,7 +574,7 @@
|
|
525
574
|
</tr>
|
526
575
|
<tr>
|
527
576
|
<td class="col-md-4">
|
528
|
-
<div class="io-description"><p>how many digits
|
577
|
+
<div class="io-description"><p> determines how many digits to show after the decimal point</p>
|
529
578
|
</div>
|
530
579
|
</td>
|
531
580
|
</tr>
|
@@ -635,7 +684,8 @@
|
|
635
684
|
</tr>
|
636
685
|
<tr>
|
637
686
|
<td class="col-md-4">
|
638
|
-
<div class="io-description"><p>
|
687
|
+
<div class="io-description"><p>Disables the number formatting. It will be treated as a plain number.
|
688
|
+
Will do a thousand grouping of number.</p>
|
639
689
|
</div>
|
640
690
|
</td>
|
641
691
|
</tr>
|
@@ -677,6 +727,12 @@
|
|
677
727
|
|
678
728
|
</td>
|
679
729
|
</tr>
|
730
|
+
<tr>
|
731
|
+
<td class="col-md-4">
|
732
|
+
<div class="io-description"><p>The value of the input element.</p>
|
733
|
+
</div>
|
734
|
+
</td>
|
735
|
+
</tr>
|
680
736
|
</tbody>
|
681
737
|
</table>
|
682
738
|
<table class="table table-sm table-bordered">
|
@@ -816,6 +872,12 @@
|
|
816
872
|
</td>
|
817
873
|
</tr>
|
818
874
|
|
875
|
+
<tr>
|
876
|
+
<td class="col-md-4">
|
877
|
+
<div class="io-description"><p>CSS classes to be added to the host element.</p>
|
878
|
+
</div>
|
879
|
+
</td>
|
880
|
+
</tr>
|
819
881
|
|
820
882
|
</tbody>
|
821
883
|
</table>
|
@@ -1059,6 +1121,12 @@
|
|
1059
1121
|
</td>
|
1060
1122
|
</tr>
|
1061
1123
|
|
1124
|
+
<tr>
|
1125
|
+
<td class="col-md-4">
|
1126
|
+
<div class="io-description"><p>holds instance of cleave.js</p>
|
1127
|
+
</div>
|
1128
|
+
</td>
|
1129
|
+
</tr>
|
1062
1130
|
|
1063
1131
|
</tbody>
|
1064
1132
|
</table>
|
@@ -1215,6 +1283,17 @@
|
|
1215
1283
|
<span class="accessor"><b>get</b><code>cssClasses()</code></span>
|
1216
1284
|
</td>
|
1217
1285
|
</tr>
|
1286
|
+
<tr>
|
1287
|
+
<td class="col-md-4">
|
1288
|
+
<div class="io-description"><p>CSS classes to be added to the host element.</p>
|
1289
|
+
</div>
|
1290
|
+
|
1291
|
+
<div class="io-description">
|
1292
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
1293
|
+
|
1294
|
+
</div>
|
1295
|
+
</td>
|
1296
|
+
</tr>
|
1218
1297
|
|
1219
1298
|
</tbody>
|
1220
1299
|
</table>
|
@@ -1234,7 +1313,7 @@
|
|
1234
1313
|
</tr>
|
1235
1314
|
<tr>
|
1236
1315
|
<td class="col-md-4">
|
1237
|
-
<div class="io-description"><p>how many digits
|
1316
|
+
<div class="io-description"><p> determines how many digits to show after the decimal point</p>
|
1238
1317
|
</div>
|
1239
1318
|
|
1240
1319
|
<div class="io-description">
|
@@ -109,6 +109,20 @@
|
|
109
109
|
</p>
|
110
110
|
|
111
111
|
|
112
|
+
<p class="comment">
|
113
|
+
<h3>Description</h3>
|
114
|
+
</p>
|
115
|
+
<p class="comment">
|
116
|
+
<p>A radio input component that implements form control functionality and custom styling.
|
117
|
+
This component extends InputDirective and implements form control interfaces for seamless
|
118
|
+
integration with Angular's form controls.</p>
|
119
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">```html
|
120
|
+
<input euiInputRadio
|
121
|
+
[(ngModel)]="selectedValue"
|
122
|
+
[value]="optionValue"
|
123
|
+
[isInvalid]="false"
|
124
|
+
[readonly]="false"></code></pre></div><b>Example :</b><div><pre class="line-numbers"><code class="language-none"></code></pre></div>
|
125
|
+
</p>
|
112
126
|
|
113
127
|
<p class="comment">
|
114
128
|
<h3>Extends</h3>
|
@@ -149,6 +163,10 @@
|
|
149
163
|
<td class="col-md-9"><code>input[euiInputRadio]</code></td>
|
150
164
|
</tr>
|
151
165
|
|
166
|
+
<tr>
|
167
|
+
<td class="col-md-3">standalone</td>
|
168
|
+
<td class="col-md-9"><code>true</code></td>
|
169
|
+
</tr>
|
152
170
|
|
153
171
|
|
154
172
|
<tr>
|
@@ -402,6 +420,13 @@
|
|
402
420
|
|
403
421
|
</td>
|
404
422
|
</tr>
|
423
|
+
<tr>
|
424
|
+
<td class="col-md-4">
|
425
|
+
<div class="io-description"><p>Gets or sets the default checked state of the radio input.
|
426
|
+
This is different from the current checked state and represents the initial value.</p>
|
427
|
+
</div>
|
428
|
+
</td>
|
429
|
+
</tr>
|
405
430
|
</tbody>
|
406
431
|
</table>
|
407
432
|
<table class="table table-sm table-bordered">
|
@@ -418,6 +443,13 @@
|
|
418
443
|
|
419
444
|
</td>
|
420
445
|
</tr>
|
446
|
+
<tr>
|
447
|
+
<td class="col-md-4">
|
448
|
+
<div class="io-description"><p>Gets or sets whether the radio input is in an invalid state.
|
449
|
+
This can be set manually or will be automatically set when used with form validation.</p>
|
450
|
+
</div>
|
451
|
+
</td>
|
452
|
+
</tr>
|
421
453
|
</tbody>
|
422
454
|
</table>
|
423
455
|
<table class="table table-sm table-bordered">
|
@@ -434,6 +466,13 @@
|
|
434
466
|
|
435
467
|
</td>
|
436
468
|
</tr>
|
469
|
+
<tr>
|
470
|
+
<td class="col-md-4">
|
471
|
+
<div class="io-description"><p>Gets or sets the value of the radio input.
|
472
|
+
The value can be of any type and will be used when the radio is selected in a form group.</p>
|
473
|
+
</div>
|
474
|
+
</td>
|
475
|
+
</tr>
|
437
476
|
</tbody>
|
438
477
|
</table>
|
439
478
|
<table class="table table-sm table-bordered">
|
@@ -573,6 +612,13 @@
|
|
573
612
|
</td>
|
574
613
|
</tr>
|
575
614
|
|
615
|
+
<tr>
|
616
|
+
<td class="col-md-4">
|
617
|
+
<div class="io-description"><p>Gets the CSS classes for the radio input component.
|
618
|
+
Combines base classes with invalid state modifier if applicable.</p>
|
619
|
+
</div>
|
620
|
+
</td>
|
621
|
+
</tr>
|
576
622
|
|
577
623
|
</tbody>
|
578
624
|
</table>
|
@@ -604,6 +650,44 @@
|
|
604
650
|
|
605
651
|
|
606
652
|
|
653
|
+
<tr>
|
654
|
+
<td class="col-md-4">
|
655
|
+
<div class="io-description"><p>Handles change events on the radio input.
|
656
|
+
Updates the model value when the radio selection changes.</p>
|
657
|
+
</div>
|
658
|
+
|
659
|
+
<div class="io-description">
|
660
|
+
<b>Parameters :</b>
|
661
|
+
|
662
|
+
<table class="params">
|
663
|
+
<thead>
|
664
|
+
<tr>
|
665
|
+
<td>Name</td>
|
666
|
+
<td>Optional</td>
|
667
|
+
<td>Description</td>
|
668
|
+
</tr>
|
669
|
+
</thead>
|
670
|
+
<tbody>
|
671
|
+
<tr>
|
672
|
+
<td>event</td>
|
673
|
+
|
674
|
+
<td>
|
675
|
+
No
|
676
|
+
</td>
|
677
|
+
|
678
|
+
|
679
|
+
<td>
|
680
|
+
<ul>
|
681
|
+
<li>The change event</li>
|
682
|
+
</ul>
|
683
|
+
|
684
|
+
</td>
|
685
|
+
</tr>
|
686
|
+
</tbody>
|
687
|
+
</table>
|
688
|
+
</div>
|
689
|
+
</td>
|
690
|
+
</tr>
|
607
691
|
</tbody>
|
608
692
|
</table>
|
609
693
|
<table class="table table-sm table-bordered">
|
@@ -631,6 +715,44 @@
|
|
631
715
|
|
632
716
|
|
633
717
|
|
718
|
+
<tr>
|
719
|
+
<td class="col-md-4">
|
720
|
+
<div class="io-description"><p>Handles space key press events. Prevents selection changes when the input
|
721
|
+
is readonly.</p>
|
722
|
+
</div>
|
723
|
+
|
724
|
+
<div class="io-description">
|
725
|
+
<b>Parameters :</b>
|
726
|
+
|
727
|
+
<table class="params">
|
728
|
+
<thead>
|
729
|
+
<tr>
|
730
|
+
<td>Name</td>
|
731
|
+
<td>Optional</td>
|
732
|
+
<td>Description</td>
|
733
|
+
</tr>
|
734
|
+
</thead>
|
735
|
+
<tbody>
|
736
|
+
<tr>
|
737
|
+
<td>event</td>
|
738
|
+
|
739
|
+
<td>
|
740
|
+
No
|
741
|
+
</td>
|
742
|
+
|
743
|
+
|
744
|
+
<td>
|
745
|
+
<ul>
|
746
|
+
<li>The keyboard event</li>
|
747
|
+
</ul>
|
748
|
+
|
749
|
+
</td>
|
750
|
+
</tr>
|
751
|
+
</tbody>
|
752
|
+
</table>
|
753
|
+
</div>
|
754
|
+
</td>
|
755
|
+
</tr>
|
634
756
|
</tbody>
|
635
757
|
</table>
|
636
758
|
</section>
|
@@ -661,6 +783,8 @@
|
|
661
783
|
|
662
784
|
<tr>
|
663
785
|
<td class="col-md-4">
|
786
|
+
<div class="io-description"><p>Registers a callback function that is called when the control's value changes.</p>
|
787
|
+
</div>
|
664
788
|
|
665
789
|
<div class="io-description">
|
666
790
|
<b>Parameters :</b>
|
@@ -671,6 +795,7 @@
|
|
671
795
|
<td>Name</td>
|
672
796
|
<td>Type</td>
|
673
797
|
<td>Optional</td>
|
798
|
+
<td>Description</td>
|
674
799
|
</tr>
|
675
800
|
</thead>
|
676
801
|
<tbody>
|
@@ -685,6 +810,12 @@
|
|
685
810
|
</td>
|
686
811
|
|
687
812
|
|
813
|
+
<td>
|
814
|
+
<ul>
|
815
|
+
<li>The callback function</li>
|
816
|
+
</ul>
|
817
|
+
|
818
|
+
</td>
|
688
819
|
</tr>
|
689
820
|
</tbody>
|
690
821
|
</table>
|
@@ -722,6 +853,8 @@
|
|
722
853
|
|
723
854
|
<tr>
|
724
855
|
<td class="col-md-4">
|
856
|
+
<div class="io-description"><p>Registers a callback function that is called when the control is touched.</p>
|
857
|
+
</div>
|
725
858
|
|
726
859
|
<div class="io-description">
|
727
860
|
<b>Parameters :</b>
|
@@ -732,6 +865,7 @@
|
|
732
865
|
<td>Name</td>
|
733
866
|
<td>Type</td>
|
734
867
|
<td>Optional</td>
|
868
|
+
<td>Description</td>
|
735
869
|
</tr>
|
736
870
|
</thead>
|
737
871
|
<tbody>
|
@@ -746,6 +880,12 @@
|
|
746
880
|
</td>
|
747
881
|
|
748
882
|
|
883
|
+
<td>
|
884
|
+
<ul>
|
885
|
+
<li>The callback function</li>
|
886
|
+
</ul>
|
887
|
+
|
888
|
+
</td>
|
749
889
|
</tr>
|
750
890
|
</tbody>
|
751
891
|
</table>
|
@@ -784,6 +924,8 @@
|
|
784
924
|
|
785
925
|
<tr>
|
786
926
|
<td class="col-md-4">
|
927
|
+
<div class="io-description"><p>Sets the disabled state of the radio input.</p>
|
928
|
+
</div>
|
787
929
|
|
788
930
|
<div class="io-description">
|
789
931
|
<b>Parameters :</b>
|
@@ -794,6 +936,7 @@
|
|
794
936
|
<td>Name</td>
|
795
937
|
<td>Type</td>
|
796
938
|
<td>Optional</td>
|
939
|
+
<td>Description</td>
|
797
940
|
</tr>
|
798
941
|
</thead>
|
799
942
|
<tbody>
|
@@ -808,6 +951,12 @@
|
|
808
951
|
</td>
|
809
952
|
|
810
953
|
|
954
|
+
<td>
|
955
|
+
<ul>
|
956
|
+
<li>Whether the radio input should be disabled</li>
|
957
|
+
</ul>
|
958
|
+
|
959
|
+
</td>
|
811
960
|
</tr>
|
812
961
|
</tbody>
|
813
962
|
</table>
|
@@ -845,6 +994,9 @@
|
|
845
994
|
|
846
995
|
<tr>
|
847
996
|
<td class="col-md-4">
|
997
|
+
<div class="io-description"><p>Implements ControlValueAccessor.writeValue.
|
998
|
+
Updates the checked state based on the form control value.</p>
|
999
|
+
</div>
|
848
1000
|
|
849
1001
|
<div class="io-description">
|
850
1002
|
<b>Parameters :</b>
|
@@ -855,6 +1007,7 @@
|
|
855
1007
|
<td>Name</td>
|
856
1008
|
<td>Type</td>
|
857
1009
|
<td>Optional</td>
|
1010
|
+
<td>Description</td>
|
858
1011
|
</tr>
|
859
1012
|
</thead>
|
860
1013
|
<tbody>
|
@@ -869,6 +1022,12 @@
|
|
869
1022
|
</td>
|
870
1023
|
|
871
1024
|
|
1025
|
+
<td>
|
1026
|
+
<ul>
|
1027
|
+
<li>The value to write</li>
|
1028
|
+
</ul>
|
1029
|
+
|
1030
|
+
</td>
|
872
1031
|
</tr>
|
873
1032
|
</tbody>
|
874
1033
|
</table>
|
@@ -965,6 +1124,20 @@
|
|
965
1124
|
<span class="accessor"><b>get</b><code>isInvalid()</code></span>
|
966
1125
|
</td>
|
967
1126
|
</tr>
|
1127
|
+
<tr>
|
1128
|
+
<td class="col-md-4">
|
1129
|
+
<div class="io-description"><p>Gets or sets whether the radio input is in an invalid state.
|
1130
|
+
This can be set manually or will be automatically set when used with form validation.</p>
|
1131
|
+
</div>
|
1132
|
+
|
1133
|
+
<div>
|
1134
|
+
</div>
|
1135
|
+
<div class="io-description">
|
1136
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
1137
|
+
|
1138
|
+
</div>
|
1139
|
+
</td>
|
1140
|
+
</tr>
|
968
1141
|
|
969
1142
|
<tr>
|
970
1143
|
<td class="col-md-4">
|
@@ -1024,6 +1197,20 @@
|
|
1024
1197
|
<span class="accessor"><b>get</b><code>class()</code></span>
|
1025
1198
|
</td>
|
1026
1199
|
</tr>
|
1200
|
+
<tr>
|
1201
|
+
<td class="col-md-4">
|
1202
|
+
<div class="io-description"><p>Gets the CSS classes for the radio input component.
|
1203
|
+
Combines base classes with invalid state modifier if applicable.</p>
|
1204
|
+
</div>
|
1205
|
+
|
1206
|
+
<div>
|
1207
|
+
</div>
|
1208
|
+
<div class="io-description">
|
1209
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
1210
|
+
|
1211
|
+
</div>
|
1212
|
+
</td>
|
1213
|
+
</tr>
|
1027
1214
|
|
1028
1215
|
</tbody>
|
1029
1216
|
</table>
|
@@ -1041,6 +1228,20 @@
|
|
1041
1228
|
<span class="accessor"><b>get</b><code>defaultChecked()</code></span>
|
1042
1229
|
</td>
|
1043
1230
|
</tr>
|
1231
|
+
<tr>
|
1232
|
+
<td class="col-md-4">
|
1233
|
+
<div class="io-description"><p>Gets or sets the default checked state of the radio input.
|
1234
|
+
This is different from the current checked state and represents the initial value.</p>
|
1235
|
+
</div>
|
1236
|
+
|
1237
|
+
<div>
|
1238
|
+
</div>
|
1239
|
+
<div class="io-description">
|
1240
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
1241
|
+
|
1242
|
+
</div>
|
1243
|
+
</td>
|
1244
|
+
</tr>
|
1044
1245
|
|
1045
1246
|
<tr>
|
1046
1247
|
<td class="col-md-4">
|
@@ -1100,6 +1301,19 @@
|
|
1100
1301
|
<span class="accessor"><b>get</b><code>selected()</code></span>
|
1101
1302
|
</td>
|
1102
1303
|
</tr>
|
1304
|
+
<tr>
|
1305
|
+
<td class="col-md-4">
|
1306
|
+
<div class="io-description"><p>Gets whether the radio input is currently selected.</p>
|
1307
|
+
</div>
|
1308
|
+
|
1309
|
+
<div>
|
1310
|
+
</div>
|
1311
|
+
<div class="io-description">
|
1312
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
1313
|
+
|
1314
|
+
</div>
|
1315
|
+
</td>
|
1316
|
+
</tr>
|
1103
1317
|
|
1104
1318
|
</tbody>
|
1105
1319
|
</table>
|
@@ -1117,6 +1331,20 @@
|
|
1117
1331
|
<span class="accessor"><b>get</b><code>value()</code></span>
|
1118
1332
|
</td>
|
1119
1333
|
</tr>
|
1334
|
+
<tr>
|
1335
|
+
<td class="col-md-4">
|
1336
|
+
<div class="io-description"><p>Gets or sets the value of the radio input.
|
1337
|
+
The value can be of any type and will be used when the radio is selected in a form group.</p>
|
1338
|
+
</div>
|
1339
|
+
|
1340
|
+
<div>
|
1341
|
+
</div>
|
1342
|
+
<div class="io-description">
|
1343
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
1344
|
+
|
1345
|
+
</div>
|
1346
|
+
</td>
|
1347
|
+
</tr>
|
1120
1348
|
|
1121
1349
|
<tr>
|
1122
1350
|
<td class="col-md-4">
|