@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.73 → 0.0.0-pr624.75
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/components/checkbox/demo/api.md +2 -1
- package/components/checkbox/demo/api.min.js +7 -0
- package/components/checkbox/demo/index.min.js +7 -0
- package/components/checkbox/dist/index.js +7 -0
- package/components/checkbox/dist/registered.js +7 -0
- package/components/combobox/demo/api.md +2 -0
- package/components/combobox/demo/api.min.js +0 -2
- package/components/combobox/demo/index.min.js +0 -2
- package/components/combobox/dist/auro-combobox.d.ts +2 -4
- package/components/combobox/dist/index.js +0 -2
- package/components/combobox/dist/registered.js +0 -2
- package/components/counter/demo/api.md +2 -0
- package/components/counter/demo/api.min.js +20 -0
- package/components/counter/demo/index.min.js +20 -0
- package/components/counter/dist/auro-counter-group.d.ts +10 -0
- package/components/counter/dist/index.js +20 -0
- package/components/counter/dist/registered.js +20 -0
- package/components/datepicker/demo/api.md +2 -0
- package/components/datepicker/demo/api.min.js +20 -0
- package/components/datepicker/demo/index.min.js +20 -0
- package/components/datepicker/dist/auro-datepicker.d.ts +10 -0
- package/components/datepicker/dist/index.js +20 -0
- package/components/datepicker/dist/registered.js +20 -0
- package/components/select/demo/api.md +2 -0
- package/components/select/demo/api.min.js +20 -10
- package/components/select/demo/index.min.js +20 -10
- package/components/select/dist/auro-select.d.ts +10 -5
- package/components/select/dist/index.js +20 -10
- package/components/select/dist/registered.js +20 -10
- package/package.json +1 -1
|
@@ -70,7 +70,8 @@ Custom element for the purpose of allowing users to select one or more options o
|
|
|
70
70
|
|-------------------------|--------------------|
|
|
71
71
|
| `auroCheckbox-focusin` | `CustomEvent<any>` |
|
|
72
72
|
| `auroCheckbox-focusout` | `CustomEvent<any>` |
|
|
73
|
-
| `auroCheckbox-input` | `CustomEvent<any>` |
|
|
73
|
+
| `auroCheckbox-input` | `CustomEvent<any>` |
|
|
74
|
+
| [input](#input) | `CustomEvent<any>` |
|
|
74
75
|
|
|
75
76
|
## CSS Shadow Parts
|
|
76
77
|
|
|
@@ -287,6 +287,13 @@ class AuroCheckbox extends i$2 {
|
|
|
287
287
|
handleInput(event) {
|
|
288
288
|
this.checked = event.target.checked;
|
|
289
289
|
|
|
290
|
+
this.dispatchEvent(new CustomEvent('input', {
|
|
291
|
+
bubbles: true,
|
|
292
|
+
cancelable: false,
|
|
293
|
+
composed: true,
|
|
294
|
+
}));
|
|
295
|
+
|
|
296
|
+
// Old event we need to deprecate
|
|
290
297
|
this.dispatchEvent(new CustomEvent('auroCheckbox-input', {
|
|
291
298
|
bubbles: true,
|
|
292
299
|
cancelable: false,
|
|
@@ -279,6 +279,13 @@ class AuroCheckbox extends i$2 {
|
|
|
279
279
|
handleInput(event) {
|
|
280
280
|
this.checked = event.target.checked;
|
|
281
281
|
|
|
282
|
+
this.dispatchEvent(new CustomEvent('input', {
|
|
283
|
+
bubbles: true,
|
|
284
|
+
cancelable: false,
|
|
285
|
+
composed: true,
|
|
286
|
+
}));
|
|
287
|
+
|
|
288
|
+
// Old event we need to deprecate
|
|
282
289
|
this.dispatchEvent(new CustomEvent('auroCheckbox-input', {
|
|
283
290
|
bubbles: true,
|
|
284
291
|
cancelable: false,
|
|
@@ -239,6 +239,13 @@ class AuroCheckbox extends LitElement {
|
|
|
239
239
|
handleInput(event) {
|
|
240
240
|
this.checked = event.target.checked;
|
|
241
241
|
|
|
242
|
+
this.dispatchEvent(new CustomEvent('input', {
|
|
243
|
+
bubbles: true,
|
|
244
|
+
cancelable: false,
|
|
245
|
+
composed: true,
|
|
246
|
+
}));
|
|
247
|
+
|
|
248
|
+
// Old event we need to deprecate
|
|
242
249
|
this.dispatchEvent(new CustomEvent('auroCheckbox-input', {
|
|
243
250
|
bubbles: true,
|
|
244
251
|
cancelable: false,
|
|
@@ -239,6 +239,13 @@ class AuroCheckbox extends LitElement {
|
|
|
239
239
|
handleInput(event) {
|
|
240
240
|
this.checked = event.target.checked;
|
|
241
241
|
|
|
242
|
+
this.dispatchEvent(new CustomEvent('input', {
|
|
243
|
+
bubbles: true,
|
|
244
|
+
cancelable: false,
|
|
245
|
+
composed: true,
|
|
246
|
+
}));
|
|
247
|
+
|
|
248
|
+
// Old event we need to deprecate
|
|
242
249
|
this.dispatchEvent(new CustomEvent('auroCheckbox-input', {
|
|
243
250
|
bubbles: true,
|
|
244
251
|
cancelable: false,
|
|
@@ -41,8 +41,10 @@
|
|
|
41
41
|
|------------|----------------------------------------|--------------------------------------------------|
|
|
42
42
|
| [clear](#clear) | `(): void` | Clears the current value of the combobox. |
|
|
43
43
|
| [focus](#focus) | `(): void` | Focuses the combobox trigger input. |
|
|
44
|
+
| [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
|
|
44
45
|
| [isValid](#isValid) | `(): boolean` | Checks if the element is valid. |
|
|
45
46
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
47
|
+
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
46
48
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
47
49
|
|
|
48
50
|
## Events
|
|
@@ -16559,7 +16559,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16559
16559
|
|
|
16560
16560
|
/**
|
|
16561
16561
|
* Hides the dropdown bib if its open.
|
|
16562
|
-
* @private
|
|
16563
16562
|
* @returns {void}
|
|
16564
16563
|
*/
|
|
16565
16564
|
hideBib() {
|
|
@@ -16570,7 +16569,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16570
16569
|
|
|
16571
16570
|
/**
|
|
16572
16571
|
* Shows the dropdown bib if there are options to show.
|
|
16573
|
-
* @private
|
|
16574
16572
|
* @returns {void}
|
|
16575
16573
|
*/
|
|
16576
16574
|
showBib() {
|
|
@@ -16417,7 +16417,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16417
16417
|
|
|
16418
16418
|
/**
|
|
16419
16419
|
* Hides the dropdown bib if its open.
|
|
16420
|
-
* @private
|
|
16421
16420
|
* @returns {void}
|
|
16422
16421
|
*/
|
|
16423
16422
|
hideBib() {
|
|
@@ -16428,7 +16427,6 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16428
16427
|
|
|
16429
16428
|
/**
|
|
16430
16429
|
* Shows the dropdown bib if there are options to show.
|
|
16431
|
-
* @private
|
|
16432
16430
|
* @returns {void}
|
|
16433
16431
|
*/
|
|
16434
16432
|
showBib() {
|
|
@@ -313,16 +313,14 @@ export class AuroCombobox extends AuroElement {
|
|
|
313
313
|
options: any[] | NodeListOf<Element>;
|
|
314
314
|
/**
|
|
315
315
|
* Hides the dropdown bib if its open.
|
|
316
|
-
* @private
|
|
317
316
|
* @returns {void}
|
|
318
317
|
*/
|
|
319
|
-
|
|
318
|
+
hideBib(): void;
|
|
320
319
|
/**
|
|
321
320
|
* Shows the dropdown bib if there are options to show.
|
|
322
|
-
* @private
|
|
323
321
|
* @returns {void}
|
|
324
322
|
*/
|
|
325
|
-
|
|
323
|
+
showBib(): void;
|
|
326
324
|
/**
|
|
327
325
|
* Binds all behavior needed to the dropdown after rendering.
|
|
328
326
|
* @private
|
|
@@ -16335,7 +16335,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16335
16335
|
|
|
16336
16336
|
/**
|
|
16337
16337
|
* Hides the dropdown bib if its open.
|
|
16338
|
-
* @private
|
|
16339
16338
|
* @returns {void}
|
|
16340
16339
|
*/
|
|
16341
16340
|
hideBib() {
|
|
@@ -16346,7 +16345,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16346
16345
|
|
|
16347
16346
|
/**
|
|
16348
16347
|
* Shows the dropdown bib if there are options to show.
|
|
16349
|
-
* @private
|
|
16350
16348
|
* @returns {void}
|
|
16351
16349
|
*/
|
|
16352
16350
|
showBib() {
|
|
@@ -16335,7 +16335,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16335
16335
|
|
|
16336
16336
|
/**
|
|
16337
16337
|
* Hides the dropdown bib if its open.
|
|
16338
|
-
* @private
|
|
16339
16338
|
* @returns {void}
|
|
16340
16339
|
*/
|
|
16341
16340
|
hideBib() {
|
|
@@ -16346,7 +16345,6 @@ class AuroCombobox extends AuroElement {
|
|
|
16346
16345
|
|
|
16347
16346
|
/**
|
|
16348
16347
|
* Shows the dropdown bib if there are options to show.
|
|
16349
|
-
* @private
|
|
16350
16348
|
* @returns {void}
|
|
16351
16349
|
*/
|
|
16352
16350
|
showBib() {
|
|
@@ -63,6 +63,8 @@
|
|
|
63
63
|
|
|
64
64
|
| Method | Type | Description |
|
|
65
65
|
|------------|----------------------------------------|--------------------------------------------------|
|
|
66
|
+
| [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
|
|
67
|
+
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
66
68
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
67
69
|
|
|
68
70
|
## Events
|
|
@@ -10047,6 +10047,26 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10047
10047
|
});
|
|
10048
10048
|
}
|
|
10049
10049
|
|
|
10050
|
+
/**
|
|
10051
|
+
* Hides the dropdown bib if its open.
|
|
10052
|
+
* @returns {void}
|
|
10053
|
+
*/
|
|
10054
|
+
hideBib() {
|
|
10055
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
10056
|
+
this.dropdown.hide();
|
|
10057
|
+
}
|
|
10058
|
+
}
|
|
10059
|
+
|
|
10060
|
+
/**
|
|
10061
|
+
* Shows the dropdown bib if there are options to show.
|
|
10062
|
+
* @returns {void}
|
|
10063
|
+
*/
|
|
10064
|
+
showBib() {
|
|
10065
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
10066
|
+
this.dropdown.show();
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
|
|
10050
10070
|
/**
|
|
10051
10071
|
* Configures the dropdown counters by selecting all `auro-counter` elements,
|
|
10052
10072
|
* appending them to the `auro-counter-wrapper` element within the shadow DOM,
|
|
@@ -10047,6 +10047,26 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10047
10047
|
});
|
|
10048
10048
|
}
|
|
10049
10049
|
|
|
10050
|
+
/**
|
|
10051
|
+
* Hides the dropdown bib if its open.
|
|
10052
|
+
* @returns {void}
|
|
10053
|
+
*/
|
|
10054
|
+
hideBib() {
|
|
10055
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
10056
|
+
this.dropdown.hide();
|
|
10057
|
+
}
|
|
10058
|
+
}
|
|
10059
|
+
|
|
10060
|
+
/**
|
|
10061
|
+
* Shows the dropdown bib if there are options to show.
|
|
10062
|
+
* @returns {void}
|
|
10063
|
+
*/
|
|
10064
|
+
showBib() {
|
|
10065
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
10066
|
+
this.dropdown.show();
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
|
|
10050
10070
|
/**
|
|
10051
10071
|
* Configures the dropdown counters by selecting all `auro-counter` elements,
|
|
10052
10072
|
* appending them to the `auro-counter-wrapper` element within the shadow DOM,
|
|
@@ -267,6 +267,16 @@ export class AuroCounterGroup extends LitElement {
|
|
|
267
267
|
*/
|
|
268
268
|
private getErrorMessages;
|
|
269
269
|
errorMessage: any;
|
|
270
|
+
/**
|
|
271
|
+
* Hides the dropdown bib if its open.
|
|
272
|
+
* @returns {void}
|
|
273
|
+
*/
|
|
274
|
+
hideBib(): void;
|
|
275
|
+
/**
|
|
276
|
+
* Shows the dropdown bib if there are options to show.
|
|
277
|
+
* @returns {void}
|
|
278
|
+
*/
|
|
279
|
+
showBib(): void;
|
|
270
280
|
/**
|
|
271
281
|
* Configures the dropdown counters by selecting all `auro-counter` elements,
|
|
272
282
|
* appending them to the `auro-counter-wrapper` element within the shadow DOM,
|
|
@@ -10000,6 +10000,26 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10000
10000
|
});
|
|
10001
10001
|
}
|
|
10002
10002
|
|
|
10003
|
+
/**
|
|
10004
|
+
* Hides the dropdown bib if its open.
|
|
10005
|
+
* @returns {void}
|
|
10006
|
+
*/
|
|
10007
|
+
hideBib() {
|
|
10008
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
10009
|
+
this.dropdown.hide();
|
|
10010
|
+
}
|
|
10011
|
+
}
|
|
10012
|
+
|
|
10013
|
+
/**
|
|
10014
|
+
* Shows the dropdown bib if there are options to show.
|
|
10015
|
+
* @returns {void}
|
|
10016
|
+
*/
|
|
10017
|
+
showBib() {
|
|
10018
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
10019
|
+
this.dropdown.show();
|
|
10020
|
+
}
|
|
10021
|
+
}
|
|
10022
|
+
|
|
10003
10023
|
/**
|
|
10004
10024
|
* Configures the dropdown counters by selecting all `auro-counter` elements,
|
|
10005
10025
|
* appending them to the `auro-counter-wrapper` element within the shadow DOM,
|
|
@@ -10000,6 +10000,26 @@ class AuroCounterGroup extends AuroElement {
|
|
|
10000
10000
|
});
|
|
10001
10001
|
}
|
|
10002
10002
|
|
|
10003
|
+
/**
|
|
10004
|
+
* Hides the dropdown bib if its open.
|
|
10005
|
+
* @returns {void}
|
|
10006
|
+
*/
|
|
10007
|
+
hideBib() {
|
|
10008
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
10009
|
+
this.dropdown.hide();
|
|
10010
|
+
}
|
|
10011
|
+
}
|
|
10012
|
+
|
|
10013
|
+
/**
|
|
10014
|
+
* Shows the dropdown bib if there are options to show.
|
|
10015
|
+
* @returns {void}
|
|
10016
|
+
*/
|
|
10017
|
+
showBib() {
|
|
10018
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
10019
|
+
this.dropdown.show();
|
|
10020
|
+
}
|
|
10021
|
+
}
|
|
10022
|
+
|
|
10003
10023
|
/**
|
|
10004
10024
|
* Configures the dropdown counters by selecting all `auro-counter` elements,
|
|
10005
10025
|
* appending them to the `auro-counter-wrapper` element within the shadow DOM,
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
|-------------------------------|----------------------------------------|--------------------------------------------------|
|
|
53
53
|
| [clear](#clear) | `(): void` | Clears the current value(s) of the datepicker. |
|
|
54
54
|
| [focus](#focus) | `(focusInput: string): void` | Focuses the datepicker trigger input.<br /><br />**focusInput**: Pass in `endDate` to focus on the return input. No parameter is needed to focus on the depart input. |
|
|
55
|
+
| [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
|
|
55
56
|
| [renderHtmlActionClear](#renderHtmlActionClear) | `(): TemplateResult` | |
|
|
56
57
|
| [renderHtmlIconCalendar](#renderHtmlIconCalendar) | `(): TemplateResult` | |
|
|
57
58
|
| [renderHtmlIconError](#renderHtmlIconError) | `(): TemplateResult` | |
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
| [resetValues](#resetValues) | `(): void` | Resets values without resetting validation. |
|
|
63
64
|
| [setHasFocus](#setHasFocus) | `(): void` | |
|
|
64
65
|
| [setHasValue](#setHasValue) | `(): void` | |
|
|
66
|
+
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
65
67
|
| [updateComponentArchitecture](#updateComponentArchitecture) | `(): void` | |
|
|
66
68
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
67
69
|
|
|
@@ -28835,6 +28835,26 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28835
28835
|
}
|
|
28836
28836
|
}
|
|
28837
28837
|
|
|
28838
|
+
/**
|
|
28839
|
+
* Hides the dropdown bib if its open.
|
|
28840
|
+
* @returns {void}
|
|
28841
|
+
*/
|
|
28842
|
+
hideBib() {
|
|
28843
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
28844
|
+
this.dropdown.hide();
|
|
28845
|
+
}
|
|
28846
|
+
}
|
|
28847
|
+
|
|
28848
|
+
/**
|
|
28849
|
+
* Shows the dropdown bib if there are options to show.
|
|
28850
|
+
* @returns {void}
|
|
28851
|
+
*/
|
|
28852
|
+
showBib() {
|
|
28853
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
28854
|
+
this.dropdown.show();
|
|
28855
|
+
}
|
|
28856
|
+
}
|
|
28857
|
+
|
|
28838
28858
|
/**
|
|
28839
28859
|
* Sets the readonly attribute on the inputs based on the window width.
|
|
28840
28860
|
* @private
|
|
@@ -28576,6 +28576,26 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28576
28576
|
}
|
|
28577
28577
|
}
|
|
28578
28578
|
|
|
28579
|
+
/**
|
|
28580
|
+
* Hides the dropdown bib if its open.
|
|
28581
|
+
* @returns {void}
|
|
28582
|
+
*/
|
|
28583
|
+
hideBib() {
|
|
28584
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
28585
|
+
this.dropdown.hide();
|
|
28586
|
+
}
|
|
28587
|
+
}
|
|
28588
|
+
|
|
28589
|
+
/**
|
|
28590
|
+
* Shows the dropdown bib if there are options to show.
|
|
28591
|
+
* @returns {void}
|
|
28592
|
+
*/
|
|
28593
|
+
showBib() {
|
|
28594
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
28595
|
+
this.dropdown.show();
|
|
28596
|
+
}
|
|
28597
|
+
}
|
|
28598
|
+
|
|
28579
28599
|
/**
|
|
28580
28600
|
* Sets the readonly attribute on the inputs based on the window width.
|
|
28581
28601
|
* @private
|
|
@@ -448,6 +448,16 @@ export class AuroDatePicker extends AuroElement {
|
|
|
448
448
|
* @returns {void}
|
|
449
449
|
*/
|
|
450
450
|
private configureDatepicker;
|
|
451
|
+
/**
|
|
452
|
+
* Hides the dropdown bib if its open.
|
|
453
|
+
* @returns {void}
|
|
454
|
+
*/
|
|
455
|
+
hideBib(): void;
|
|
456
|
+
/**
|
|
457
|
+
* Shows the dropdown bib if there are options to show.
|
|
458
|
+
* @returns {void}
|
|
459
|
+
*/
|
|
460
|
+
showBib(): void;
|
|
451
461
|
/**
|
|
452
462
|
* Sets the readonly attribute on the inputs based on the window width.
|
|
453
463
|
* @private
|
|
@@ -28512,6 +28512,26 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28512
28512
|
}
|
|
28513
28513
|
}
|
|
28514
28514
|
|
|
28515
|
+
/**
|
|
28516
|
+
* Hides the dropdown bib if its open.
|
|
28517
|
+
* @returns {void}
|
|
28518
|
+
*/
|
|
28519
|
+
hideBib() {
|
|
28520
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
28521
|
+
this.dropdown.hide();
|
|
28522
|
+
}
|
|
28523
|
+
}
|
|
28524
|
+
|
|
28525
|
+
/**
|
|
28526
|
+
* Shows the dropdown bib if there are options to show.
|
|
28527
|
+
* @returns {void}
|
|
28528
|
+
*/
|
|
28529
|
+
showBib() {
|
|
28530
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
28531
|
+
this.dropdown.show();
|
|
28532
|
+
}
|
|
28533
|
+
}
|
|
28534
|
+
|
|
28515
28535
|
/**
|
|
28516
28536
|
* Sets the readonly attribute on the inputs based on the window width.
|
|
28517
28537
|
* @private
|
|
@@ -28512,6 +28512,26 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28512
28512
|
}
|
|
28513
28513
|
}
|
|
28514
28514
|
|
|
28515
|
+
/**
|
|
28516
|
+
* Hides the dropdown bib if its open.
|
|
28517
|
+
* @returns {void}
|
|
28518
|
+
*/
|
|
28519
|
+
hideBib() {
|
|
28520
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
28521
|
+
this.dropdown.hide();
|
|
28522
|
+
}
|
|
28523
|
+
}
|
|
28524
|
+
|
|
28525
|
+
/**
|
|
28526
|
+
* Shows the dropdown bib if there are options to show.
|
|
28527
|
+
* @returns {void}
|
|
28528
|
+
*/
|
|
28529
|
+
showBib() {
|
|
28530
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
28531
|
+
this.dropdown.show();
|
|
28532
|
+
}
|
|
28533
|
+
}
|
|
28534
|
+
|
|
28515
28535
|
/**
|
|
28516
28536
|
* Sets the readonly attribute on the inputs based on the window width.
|
|
28517
28537
|
* @private
|
|
@@ -48,7 +48,9 @@ The auro-select element is a wrapper for auro-dropdown and auro-menu to create a
|
|
|
48
48
|
|
|
49
49
|
| Method | Type | Description |
|
|
50
50
|
|------------|----------------------------------------|--------------------------------------------------|
|
|
51
|
+
| [hideBib](#hideBib) | `(): void` | Hides the dropdown bib if its open. |
|
|
51
52
|
| [reset](#reset) | `(): void` | Resets component to initial state. |
|
|
53
|
+
| [showBib](#showBib) | `(): void` | Shows the dropdown bib if there are options to show. |
|
|
52
54
|
| [validate](#validate) | `(force?: boolean \| undefined): void` | Validates value.<br /><br />**force**: Whether to force validation. |
|
|
53
55
|
|
|
54
56
|
## Events
|
|
@@ -8467,6 +8467,26 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8467
8467
|
}
|
|
8468
8468
|
}
|
|
8469
8469
|
|
|
8470
|
+
/**
|
|
8471
|
+
* Hides the dropdown bib if its open.
|
|
8472
|
+
* @returns {void}
|
|
8473
|
+
*/
|
|
8474
|
+
hideBib() {
|
|
8475
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
8476
|
+
this.dropdown.hide();
|
|
8477
|
+
}
|
|
8478
|
+
}
|
|
8479
|
+
|
|
8480
|
+
/**
|
|
8481
|
+
* Shows the dropdown bib if there are options to show.
|
|
8482
|
+
* @returns {void}
|
|
8483
|
+
*/
|
|
8484
|
+
showBib() {
|
|
8485
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
8486
|
+
this.dropdown.show();
|
|
8487
|
+
}
|
|
8488
|
+
}
|
|
8489
|
+
|
|
8470
8490
|
/**
|
|
8471
8491
|
* Function to support @focusin event.
|
|
8472
8492
|
* @private
|
|
@@ -8632,16 +8652,6 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8632
8652
|
this.validation.reset(this);
|
|
8633
8653
|
}
|
|
8634
8654
|
|
|
8635
|
-
/**
|
|
8636
|
-
* Hide dropdownbib.
|
|
8637
|
-
* @private
|
|
8638
|
-
*/
|
|
8639
|
-
hideBib() {
|
|
8640
|
-
if (this.dropdown) {
|
|
8641
|
-
this.dropdown.hide();
|
|
8642
|
-
}
|
|
8643
|
-
}
|
|
8644
|
-
|
|
8645
8655
|
/**
|
|
8646
8656
|
* Validates value.
|
|
8647
8657
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
@@ -8375,6 +8375,26 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8375
8375
|
}
|
|
8376
8376
|
}
|
|
8377
8377
|
|
|
8378
|
+
/**
|
|
8379
|
+
* Hides the dropdown bib if its open.
|
|
8380
|
+
* @returns {void}
|
|
8381
|
+
*/
|
|
8382
|
+
hideBib() {
|
|
8383
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
8384
|
+
this.dropdown.hide();
|
|
8385
|
+
}
|
|
8386
|
+
}
|
|
8387
|
+
|
|
8388
|
+
/**
|
|
8389
|
+
* Shows the dropdown bib if there are options to show.
|
|
8390
|
+
* @returns {void}
|
|
8391
|
+
*/
|
|
8392
|
+
showBib() {
|
|
8393
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
8394
|
+
this.dropdown.show();
|
|
8395
|
+
}
|
|
8396
|
+
}
|
|
8397
|
+
|
|
8378
8398
|
/**
|
|
8379
8399
|
* Function to support @focusin event.
|
|
8380
8400
|
* @private
|
|
@@ -8540,16 +8560,6 @@ class AuroSelect extends AuroElement$4 {
|
|
|
8540
8560
|
this.validation.reset(this);
|
|
8541
8561
|
}
|
|
8542
8562
|
|
|
8543
|
-
/**
|
|
8544
|
-
* Hide dropdownbib.
|
|
8545
|
-
* @private
|
|
8546
|
-
*/
|
|
8547
|
-
hideBib() {
|
|
8548
|
-
if (this.dropdown) {
|
|
8549
|
-
this.dropdown.hide();
|
|
8550
|
-
}
|
|
8551
|
-
}
|
|
8552
|
-
|
|
8553
8563
|
/**
|
|
8554
8564
|
* Validates value.
|
|
8555
8565
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
@@ -375,6 +375,16 @@ export class AuroSelect extends AuroElement {
|
|
|
375
375
|
* @returns {void}
|
|
376
376
|
*/
|
|
377
377
|
private handleMenuLoadingChange;
|
|
378
|
+
/**
|
|
379
|
+
* Hides the dropdown bib if its open.
|
|
380
|
+
* @returns {void}
|
|
381
|
+
*/
|
|
382
|
+
hideBib(): void;
|
|
383
|
+
/**
|
|
384
|
+
* Shows the dropdown bib if there are options to show.
|
|
385
|
+
* @returns {void}
|
|
386
|
+
*/
|
|
387
|
+
showBib(): void;
|
|
378
388
|
/**
|
|
379
389
|
* Function to support @focusin event.
|
|
380
390
|
* @private
|
|
@@ -414,11 +424,6 @@ export class AuroSelect extends AuroElement {
|
|
|
414
424
|
* @returns {void}
|
|
415
425
|
*/
|
|
416
426
|
reset(): void;
|
|
417
|
-
/**
|
|
418
|
-
* Hide dropdownbib.
|
|
419
|
-
* @private
|
|
420
|
-
*/
|
|
421
|
-
private hideBib;
|
|
422
427
|
/**
|
|
423
428
|
* Validates value.
|
|
424
429
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
@@ -8329,6 +8329,26 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8329
8329
|
}
|
|
8330
8330
|
}
|
|
8331
8331
|
|
|
8332
|
+
/**
|
|
8333
|
+
* Hides the dropdown bib if its open.
|
|
8334
|
+
* @returns {void}
|
|
8335
|
+
*/
|
|
8336
|
+
hideBib() {
|
|
8337
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
8338
|
+
this.dropdown.hide();
|
|
8339
|
+
}
|
|
8340
|
+
}
|
|
8341
|
+
|
|
8342
|
+
/**
|
|
8343
|
+
* Shows the dropdown bib if there are options to show.
|
|
8344
|
+
* @returns {void}
|
|
8345
|
+
*/
|
|
8346
|
+
showBib() {
|
|
8347
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
8348
|
+
this.dropdown.show();
|
|
8349
|
+
}
|
|
8350
|
+
}
|
|
8351
|
+
|
|
8332
8352
|
/**
|
|
8333
8353
|
* Function to support @focusin event.
|
|
8334
8354
|
* @private
|
|
@@ -8494,16 +8514,6 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8494
8514
|
this.validation.reset(this);
|
|
8495
8515
|
}
|
|
8496
8516
|
|
|
8497
|
-
/**
|
|
8498
|
-
* Hide dropdownbib.
|
|
8499
|
-
* @private
|
|
8500
|
-
*/
|
|
8501
|
-
hideBib() {
|
|
8502
|
-
if (this.dropdown) {
|
|
8503
|
-
this.dropdown.hide();
|
|
8504
|
-
}
|
|
8505
|
-
}
|
|
8506
|
-
|
|
8507
8517
|
/**
|
|
8508
8518
|
* Validates value.
|
|
8509
8519
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
@@ -8329,6 +8329,26 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8329
8329
|
}
|
|
8330
8330
|
}
|
|
8331
8331
|
|
|
8332
|
+
/**
|
|
8333
|
+
* Hides the dropdown bib if its open.
|
|
8334
|
+
* @returns {void}
|
|
8335
|
+
*/
|
|
8336
|
+
hideBib() {
|
|
8337
|
+
if (this.dropdown && this.dropdown.isPopoverVisible) {
|
|
8338
|
+
this.dropdown.hide();
|
|
8339
|
+
}
|
|
8340
|
+
}
|
|
8341
|
+
|
|
8342
|
+
/**
|
|
8343
|
+
* Shows the dropdown bib if there are options to show.
|
|
8344
|
+
* @returns {void}
|
|
8345
|
+
*/
|
|
8346
|
+
showBib() {
|
|
8347
|
+
if (this.dropdown && !this.dropdown.isPopoverVisible) {
|
|
8348
|
+
this.dropdown.show();
|
|
8349
|
+
}
|
|
8350
|
+
}
|
|
8351
|
+
|
|
8332
8352
|
/**
|
|
8333
8353
|
* Function to support @focusin event.
|
|
8334
8354
|
* @private
|
|
@@ -8494,16 +8514,6 @@ class AuroSelect extends AuroElement$3 {
|
|
|
8494
8514
|
this.validation.reset(this);
|
|
8495
8515
|
}
|
|
8496
8516
|
|
|
8497
|
-
/**
|
|
8498
|
-
* Hide dropdownbib.
|
|
8499
|
-
* @private
|
|
8500
|
-
*/
|
|
8501
|
-
hideBib() {
|
|
8502
|
-
if (this.dropdown) {
|
|
8503
|
-
this.dropdown.hide();
|
|
8504
|
-
}
|
|
8505
|
-
}
|
|
8506
|
-
|
|
8507
8517
|
/**
|
|
8508
8518
|
* Validates value.
|
|
8509
8519
|
* @param {boolean} [force=false] - Whether to force validation.
|
package/package.json
CHANGED