@aurodesignsystem/auro-formkit 5.1.0-rc-1044.1 → 5.1.1
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/CHANGELOG.md +1 -14
- package/components/checkbox/demo/api.min.js +9 -37
- package/components/checkbox/demo/index.min.js +9 -37
- package/components/checkbox/dist/auro-checkbox.d.ts +0 -7
- package/components/checkbox/dist/index.js +9 -37
- package/components/checkbox/dist/registered.js +9 -37
- package/components/combobox/demo/api.min.js +24 -51
- package/components/combobox/demo/index.min.js +24 -51
- package/components/combobox/dist/index.js +24 -51
- package/components/combobox/dist/registered.js +24 -51
- package/components/counter/demo/api.min.js +9 -25
- package/components/counter/demo/index.min.js +9 -25
- package/components/counter/dist/index.js +9 -25
- package/components/counter/dist/registered.js +9 -25
- package/components/datepicker/demo/api.md +0 -1
- package/components/datepicker/demo/api.min.js +19 -45
- package/components/datepicker/demo/index.min.js +19 -45
- package/components/datepicker/dist/index.js +19 -45
- package/components/datepicker/dist/registered.js +19 -45
- package/components/dropdown/demo/api.min.js +0 -8
- package/components/dropdown/demo/index.min.js +0 -8
- package/components/dropdown/dist/index.js +0 -8
- package/components/dropdown/dist/registered.js +0 -8
- package/components/input/demo/api.min.js +9 -17
- package/components/input/demo/index.min.js +9 -17
- package/components/input/dist/index.js +9 -17
- package/components/input/dist/registered.js +9 -17
- package/components/layoutElement/dist/auroElement.d.ts +0 -5
- package/components/layoutElement/dist/index.js +0 -8
- package/components/layoutElement/dist/registered.js +0 -8
- package/components/menu/demo/api.min.js +0 -8
- package/components/menu/demo/index.min.js +0 -8
- package/components/menu/dist/index.js +0 -8
- package/components/menu/dist/registered.js +0 -8
- package/components/radio/demo/api.min.js +13 -15
- package/components/radio/demo/index.min.js +13 -15
- package/components/radio/dist/auro-radio.d.ts +1 -1
- package/components/radio/dist/index.js +13 -15
- package/components/radio/dist/registered.js +13 -15
- package/components/select/demo/api.min.js +9 -25
- package/components/select/demo/index.min.js +9 -25
- package/components/select/dist/index.js +9 -25
- package/components/select/dist/registered.js +9 -25
- package/package.json +1 -1
|
@@ -816,16 +816,16 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
816
816
|
}
|
|
817
817
|
|
|
818
818
|
this.getErrorMessage(elem);
|
|
819
|
-
}
|
|
820
819
|
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
820
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
821
|
+
bubbles: true,
|
|
822
|
+
composed: true,
|
|
823
|
+
detail: {
|
|
824
|
+
validity: elem.validity,
|
|
825
|
+
message: elem.errorMessage
|
|
826
|
+
}
|
|
827
|
+
}));
|
|
828
|
+
}
|
|
829
829
|
}
|
|
830
830
|
|
|
831
831
|
/**
|
|
@@ -17688,14 +17688,6 @@ let AuroElement$4 = class AuroElement extends i {
|
|
|
17688
17688
|
};
|
|
17689
17689
|
}
|
|
17690
17690
|
|
|
17691
|
-
/**
|
|
17692
|
-
* Returns true if the element has focus.
|
|
17693
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
17694
|
-
*/
|
|
17695
|
-
get componentHasFocus() {
|
|
17696
|
-
return this.matches(':focus');
|
|
17697
|
-
}
|
|
17698
|
-
|
|
17699
17691
|
resetShapeClasses() {
|
|
17700
17692
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
17701
17693
|
|
|
@@ -23446,16 +23438,16 @@ class AuroFormValidation {
|
|
|
23446
23438
|
}
|
|
23447
23439
|
|
|
23448
23440
|
this.getErrorMessage(elem);
|
|
23449
|
-
}
|
|
23450
23441
|
|
|
23451
|
-
|
|
23452
|
-
|
|
23453
|
-
|
|
23454
|
-
|
|
23455
|
-
|
|
23456
|
-
|
|
23457
|
-
|
|
23458
|
-
|
|
23442
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
23443
|
+
bubbles: true,
|
|
23444
|
+
composed: true,
|
|
23445
|
+
detail: {
|
|
23446
|
+
validity: elem.validity,
|
|
23447
|
+
message: elem.errorMessage
|
|
23448
|
+
}
|
|
23449
|
+
}));
|
|
23450
|
+
}
|
|
23459
23451
|
}
|
|
23460
23452
|
|
|
23461
23453
|
/**
|
|
@@ -23547,14 +23539,6 @@ let AuroElement$2 = class AuroElement extends i {
|
|
|
23547
23539
|
};
|
|
23548
23540
|
}
|
|
23549
23541
|
|
|
23550
|
-
/**
|
|
23551
|
-
* Returns true if the element has focus.
|
|
23552
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
23553
|
-
*/
|
|
23554
|
-
get componentHasFocus() {
|
|
23555
|
-
return this.matches(':focus');
|
|
23556
|
-
}
|
|
23557
|
-
|
|
23558
23542
|
resetShapeClasses() {
|
|
23559
23543
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
23560
23544
|
|
|
@@ -27283,14 +27267,6 @@ let AuroElement$1 = class AuroElement extends i {
|
|
|
27283
27267
|
};
|
|
27284
27268
|
}
|
|
27285
27269
|
|
|
27286
|
-
/**
|
|
27287
|
-
* Returns true if the element has focus.
|
|
27288
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
27289
|
-
*/
|
|
27290
|
-
get componentHasFocus() {
|
|
27291
|
-
return this.matches(':focus');
|
|
27292
|
-
}
|
|
27293
|
-
|
|
27294
27270
|
resetShapeClasses() {
|
|
27295
27271
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
27296
27272
|
|
|
@@ -28547,9 +28523,6 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28547
28523
|
});
|
|
28548
28524
|
|
|
28549
28525
|
input.addEventListener('auroFormElement-validated', (evt) => {
|
|
28550
|
-
// not to bubble up input's validated event.
|
|
28551
|
-
evt.stopPropagation();
|
|
28552
|
-
|
|
28553
28526
|
if (evt.detail.validity === 'customError') {
|
|
28554
28527
|
this.validity = evt.detail.validity;
|
|
28555
28528
|
this.errorMessage = evt.detail.message;
|
|
@@ -28887,6 +28860,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28887
28860
|
}
|
|
28888
28861
|
|
|
28889
28862
|
this.setHasValue();
|
|
28863
|
+
this.validate();
|
|
28890
28864
|
}
|
|
28891
28865
|
|
|
28892
28866
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
@@ -796,16 +796,16 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
this.getErrorMessage(elem);
|
|
799
|
-
}
|
|
800
799
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
800
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
801
|
+
bubbles: true,
|
|
802
|
+
composed: true,
|
|
803
|
+
detail: {
|
|
804
|
+
validity: elem.validity,
|
|
805
|
+
message: elem.errorMessage
|
|
806
|
+
}
|
|
807
|
+
}));
|
|
808
|
+
}
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
/**
|
|
@@ -17637,14 +17637,6 @@ let AuroElement$4 = class AuroElement extends LitElement {
|
|
|
17637
17637
|
};
|
|
17638
17638
|
}
|
|
17639
17639
|
|
|
17640
|
-
/**
|
|
17641
|
-
* Returns true if the element has focus.
|
|
17642
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
17643
|
-
*/
|
|
17644
|
-
get componentHasFocus() {
|
|
17645
|
-
return this.matches(':focus');
|
|
17646
|
-
}
|
|
17647
|
-
|
|
17648
17640
|
resetShapeClasses() {
|
|
17649
17641
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
17650
17642
|
|
|
@@ -23382,16 +23374,16 @@ class AuroFormValidation {
|
|
|
23382
23374
|
}
|
|
23383
23375
|
|
|
23384
23376
|
this.getErrorMessage(elem);
|
|
23385
|
-
}
|
|
23386
23377
|
|
|
23387
|
-
|
|
23388
|
-
|
|
23389
|
-
|
|
23390
|
-
|
|
23391
|
-
|
|
23392
|
-
|
|
23393
|
-
|
|
23394
|
-
|
|
23378
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
23379
|
+
bubbles: true,
|
|
23380
|
+
composed: true,
|
|
23381
|
+
detail: {
|
|
23382
|
+
validity: elem.validity,
|
|
23383
|
+
message: elem.errorMessage
|
|
23384
|
+
}
|
|
23385
|
+
}));
|
|
23386
|
+
}
|
|
23395
23387
|
}
|
|
23396
23388
|
|
|
23397
23389
|
/**
|
|
@@ -23483,14 +23475,6 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
23483
23475
|
};
|
|
23484
23476
|
}
|
|
23485
23477
|
|
|
23486
|
-
/**
|
|
23487
|
-
* Returns true if the element has focus.
|
|
23488
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
23489
|
-
*/
|
|
23490
|
-
get componentHasFocus() {
|
|
23491
|
-
return this.matches(':focus');
|
|
23492
|
-
}
|
|
23493
|
-
|
|
23494
23478
|
resetShapeClasses() {
|
|
23495
23479
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
23496
23480
|
|
|
@@ -27219,14 +27203,6 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
27219
27203
|
};
|
|
27220
27204
|
}
|
|
27221
27205
|
|
|
27222
|
-
/**
|
|
27223
|
-
* Returns true if the element has focus.
|
|
27224
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
27225
|
-
*/
|
|
27226
|
-
get componentHasFocus() {
|
|
27227
|
-
return this.matches(':focus');
|
|
27228
|
-
}
|
|
27229
|
-
|
|
27230
27206
|
resetShapeClasses() {
|
|
27231
27207
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
27232
27208
|
|
|
@@ -28483,9 +28459,6 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28483
28459
|
});
|
|
28484
28460
|
|
|
28485
28461
|
input.addEventListener('auroFormElement-validated', (evt) => {
|
|
28486
|
-
// not to bubble up input's validated event.
|
|
28487
|
-
evt.stopPropagation();
|
|
28488
|
-
|
|
28489
28462
|
if (evt.detail.validity === 'customError') {
|
|
28490
28463
|
this.validity = evt.detail.validity;
|
|
28491
28464
|
this.errorMessage = evt.detail.message;
|
|
@@ -28823,6 +28796,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28823
28796
|
}
|
|
28824
28797
|
|
|
28825
28798
|
this.setHasValue();
|
|
28799
|
+
this.validate();
|
|
28826
28800
|
}
|
|
28827
28801
|
|
|
28828
28802
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
@@ -796,16 +796,16 @@ let AuroFormValidation$1 = class AuroFormValidation {
|
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
this.getErrorMessage(elem);
|
|
799
|
-
}
|
|
800
799
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
800
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
801
|
+
bubbles: true,
|
|
802
|
+
composed: true,
|
|
803
|
+
detail: {
|
|
804
|
+
validity: elem.validity,
|
|
805
|
+
message: elem.errorMessage
|
|
806
|
+
}
|
|
807
|
+
}));
|
|
808
|
+
}
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
/**
|
|
@@ -17637,14 +17637,6 @@ let AuroElement$4 = class AuroElement extends LitElement {
|
|
|
17637
17637
|
};
|
|
17638
17638
|
}
|
|
17639
17639
|
|
|
17640
|
-
/**
|
|
17641
|
-
* Returns true if the element has focus.
|
|
17642
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
17643
|
-
*/
|
|
17644
|
-
get componentHasFocus() {
|
|
17645
|
-
return this.matches(':focus');
|
|
17646
|
-
}
|
|
17647
|
-
|
|
17648
17640
|
resetShapeClasses() {
|
|
17649
17641
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
17650
17642
|
|
|
@@ -23382,16 +23374,16 @@ class AuroFormValidation {
|
|
|
23382
23374
|
}
|
|
23383
23375
|
|
|
23384
23376
|
this.getErrorMessage(elem);
|
|
23385
|
-
}
|
|
23386
23377
|
|
|
23387
|
-
|
|
23388
|
-
|
|
23389
|
-
|
|
23390
|
-
|
|
23391
|
-
|
|
23392
|
-
|
|
23393
|
-
|
|
23394
|
-
|
|
23378
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
23379
|
+
bubbles: true,
|
|
23380
|
+
composed: true,
|
|
23381
|
+
detail: {
|
|
23382
|
+
validity: elem.validity,
|
|
23383
|
+
message: elem.errorMessage
|
|
23384
|
+
}
|
|
23385
|
+
}));
|
|
23386
|
+
}
|
|
23395
23387
|
}
|
|
23396
23388
|
|
|
23397
23389
|
/**
|
|
@@ -23483,14 +23475,6 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
23483
23475
|
};
|
|
23484
23476
|
}
|
|
23485
23477
|
|
|
23486
|
-
/**
|
|
23487
|
-
* Returns true if the element has focus.
|
|
23488
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
23489
|
-
*/
|
|
23490
|
-
get componentHasFocus() {
|
|
23491
|
-
return this.matches(':focus');
|
|
23492
|
-
}
|
|
23493
|
-
|
|
23494
23478
|
resetShapeClasses() {
|
|
23495
23479
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
23496
23480
|
|
|
@@ -27219,14 +27203,6 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
27219
27203
|
};
|
|
27220
27204
|
}
|
|
27221
27205
|
|
|
27222
|
-
/**
|
|
27223
|
-
* Returns true if the element has focus.
|
|
27224
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
27225
|
-
*/
|
|
27226
|
-
get componentHasFocus() {
|
|
27227
|
-
return this.matches(':focus');
|
|
27228
|
-
}
|
|
27229
|
-
|
|
27230
27206
|
resetShapeClasses() {
|
|
27231
27207
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
27232
27208
|
|
|
@@ -28483,9 +28459,6 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28483
28459
|
});
|
|
28484
28460
|
|
|
28485
28461
|
input.addEventListener('auroFormElement-validated', (evt) => {
|
|
28486
|
-
// not to bubble up input's validated event.
|
|
28487
|
-
evt.stopPropagation();
|
|
28488
|
-
|
|
28489
28462
|
if (evt.detail.validity === 'customError') {
|
|
28490
28463
|
this.validity = evt.detail.validity;
|
|
28491
28464
|
this.errorMessage = evt.detail.message;
|
|
@@ -28823,6 +28796,7 @@ class AuroDatePicker extends AuroElement$1 {
|
|
|
28823
28796
|
}
|
|
28824
28797
|
|
|
28825
28798
|
this.setHasValue();
|
|
28799
|
+
this.validate();
|
|
28826
28800
|
}
|
|
28827
28801
|
|
|
28828
28802
|
if (changedProperties.has('valueEnd') && this.inputList[1]) {
|
|
@@ -3467,14 +3467,6 @@ class AuroElement extends i {
|
|
|
3467
3467
|
};
|
|
3468
3468
|
}
|
|
3469
3469
|
|
|
3470
|
-
/**
|
|
3471
|
-
* Returns true if the element has focus.
|
|
3472
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
3473
|
-
*/
|
|
3474
|
-
get componentHasFocus() {
|
|
3475
|
-
return this.matches(':focus');
|
|
3476
|
-
}
|
|
3477
|
-
|
|
3478
3470
|
resetShapeClasses() {
|
|
3479
3471
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
3480
3472
|
|
|
@@ -3442,14 +3442,6 @@ class AuroElement extends i {
|
|
|
3442
3442
|
};
|
|
3443
3443
|
}
|
|
3444
3444
|
|
|
3445
|
-
/**
|
|
3446
|
-
* Returns true if the element has focus.
|
|
3447
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
3448
|
-
*/
|
|
3449
|
-
get componentHasFocus() {
|
|
3450
|
-
return this.matches(':focus');
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
3445
|
resetShapeClasses() {
|
|
3454
3446
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
3455
3447
|
|
|
@@ -3395,14 +3395,6 @@ class AuroElement extends LitElement {
|
|
|
3395
3395
|
};
|
|
3396
3396
|
}
|
|
3397
3397
|
|
|
3398
|
-
/**
|
|
3399
|
-
* Returns true if the element has focus.
|
|
3400
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
3401
|
-
*/
|
|
3402
|
-
get componentHasFocus() {
|
|
3403
|
-
return this.matches(':focus');
|
|
3404
|
-
}
|
|
3405
|
-
|
|
3406
3398
|
resetShapeClasses() {
|
|
3407
3399
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
3408
3400
|
|
|
@@ -3395,14 +3395,6 @@ class AuroElement extends LitElement {
|
|
|
3395
3395
|
};
|
|
3396
3396
|
}
|
|
3397
3397
|
|
|
3398
|
-
/**
|
|
3399
|
-
* Returns true if the element has focus.
|
|
3400
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
3401
|
-
*/
|
|
3402
|
-
get componentHasFocus() {
|
|
3403
|
-
return this.matches(':focus');
|
|
3404
|
-
}
|
|
3405
|
-
|
|
3406
3398
|
resetShapeClasses() {
|
|
3407
3399
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
3408
3400
|
|
|
@@ -4933,16 +4933,16 @@ class AuroFormValidation {
|
|
|
4933
4933
|
}
|
|
4934
4934
|
|
|
4935
4935
|
this.getErrorMessage(elem);
|
|
4936
|
-
}
|
|
4937
4936
|
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4937
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
4938
|
+
bubbles: true,
|
|
4939
|
+
composed: true,
|
|
4940
|
+
detail: {
|
|
4941
|
+
validity: elem.validity,
|
|
4942
|
+
message: elem.errorMessage
|
|
4943
|
+
}
|
|
4944
|
+
}));
|
|
4945
|
+
}
|
|
4946
4946
|
}
|
|
4947
4947
|
|
|
4948
4948
|
/**
|
|
@@ -5034,14 +5034,6 @@ let AuroElement$2 = class AuroElement extends i$2 {
|
|
|
5034
5034
|
};
|
|
5035
5035
|
}
|
|
5036
5036
|
|
|
5037
|
-
/**
|
|
5038
|
-
* Returns true if the element has focus.
|
|
5039
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
5040
|
-
*/
|
|
5041
|
-
get componentHasFocus() {
|
|
5042
|
-
return this.matches(':focus');
|
|
5043
|
-
}
|
|
5044
|
-
|
|
5045
5037
|
resetShapeClasses() {
|
|
5046
5038
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
5047
5039
|
|
|
@@ -4858,16 +4858,16 @@ class AuroFormValidation {
|
|
|
4858
4858
|
}
|
|
4859
4859
|
|
|
4860
4860
|
this.getErrorMessage(elem);
|
|
4861
|
-
}
|
|
4862
4861
|
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4862
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
4863
|
+
bubbles: true,
|
|
4864
|
+
composed: true,
|
|
4865
|
+
detail: {
|
|
4866
|
+
validity: elem.validity,
|
|
4867
|
+
message: elem.errorMessage
|
|
4868
|
+
}
|
|
4869
|
+
}));
|
|
4870
|
+
}
|
|
4871
4871
|
}
|
|
4872
4872
|
|
|
4873
4873
|
/**
|
|
@@ -4959,14 +4959,6 @@ let AuroElement$2 = class AuroElement extends i$2 {
|
|
|
4959
4959
|
};
|
|
4960
4960
|
}
|
|
4961
4961
|
|
|
4962
|
-
/**
|
|
4963
|
-
* Returns true if the element has focus.
|
|
4964
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
4965
|
-
*/
|
|
4966
|
-
get componentHasFocus() {
|
|
4967
|
-
return this.matches(':focus');
|
|
4968
|
-
}
|
|
4969
|
-
|
|
4970
4962
|
resetShapeClasses() {
|
|
4971
4963
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
4972
4964
|
|
|
@@ -4782,16 +4782,16 @@ class AuroFormValidation {
|
|
|
4782
4782
|
}
|
|
4783
4783
|
|
|
4784
4784
|
this.getErrorMessage(elem);
|
|
4785
|
-
}
|
|
4786
4785
|
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4786
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
4787
|
+
bubbles: true,
|
|
4788
|
+
composed: true,
|
|
4789
|
+
detail: {
|
|
4790
|
+
validity: elem.validity,
|
|
4791
|
+
message: elem.errorMessage
|
|
4792
|
+
}
|
|
4793
|
+
}));
|
|
4794
|
+
}
|
|
4795
4795
|
}
|
|
4796
4796
|
|
|
4797
4797
|
/**
|
|
@@ -4883,14 +4883,6 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
4883
4883
|
};
|
|
4884
4884
|
}
|
|
4885
4885
|
|
|
4886
|
-
/**
|
|
4887
|
-
* Returns true if the element has focus.
|
|
4888
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
4889
|
-
*/
|
|
4890
|
-
get componentHasFocus() {
|
|
4891
|
-
return this.matches(':focus');
|
|
4892
|
-
}
|
|
4893
|
-
|
|
4894
4886
|
resetShapeClasses() {
|
|
4895
4887
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
4896
4888
|
|
|
@@ -4782,16 +4782,16 @@ class AuroFormValidation {
|
|
|
4782
4782
|
}
|
|
4783
4783
|
|
|
4784
4784
|
this.getErrorMessage(elem);
|
|
4785
|
-
}
|
|
4786
4785
|
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4786
|
+
elem.dispatchEvent(new CustomEvent('auroFormElement-validated', {
|
|
4787
|
+
bubbles: true,
|
|
4788
|
+
composed: true,
|
|
4789
|
+
detail: {
|
|
4790
|
+
validity: elem.validity,
|
|
4791
|
+
message: elem.errorMessage
|
|
4792
|
+
}
|
|
4793
|
+
}));
|
|
4794
|
+
}
|
|
4795
4795
|
}
|
|
4796
4796
|
|
|
4797
4797
|
/**
|
|
@@ -4883,14 +4883,6 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
4883
4883
|
};
|
|
4884
4884
|
}
|
|
4885
4885
|
|
|
4886
|
-
/**
|
|
4887
|
-
* Returns true if the element has focus.
|
|
4888
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
4889
|
-
*/
|
|
4890
|
-
get componentHasFocus() {
|
|
4891
|
-
return this.matches(':focus');
|
|
4892
|
-
}
|
|
4893
|
-
|
|
4894
4886
|
resetShapeClasses() {
|
|
4895
4887
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
4896
4888
|
|
|
@@ -25,11 +25,6 @@ export class AuroElement extends LitElement {
|
|
|
25
25
|
reflect: boolean;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
/**
|
|
29
|
-
* Returns true if the element has focus.
|
|
30
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
31
|
-
*/
|
|
32
|
-
get componentHasFocus(): boolean;
|
|
33
28
|
resetShapeClasses(): void;
|
|
34
29
|
resetLayoutClasses(): void;
|
|
35
30
|
updateComponentArchitecture(): void;
|
|
@@ -34,14 +34,6 @@ class AuroElement extends LitElement {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
/**
|
|
38
|
-
* Returns true if the element has focus.
|
|
39
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
40
|
-
*/
|
|
41
|
-
get componentHasFocus() {
|
|
42
|
-
return this.matches(':focus');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
37
|
resetShapeClasses() {
|
|
46
38
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
47
39
|
|
|
@@ -34,14 +34,6 @@ class AuroElement extends LitElement {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
/**
|
|
38
|
-
* Returns true if the element has focus.
|
|
39
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
40
|
-
*/
|
|
41
|
-
get componentHasFocus() {
|
|
42
|
-
return this.matches(':focus');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
37
|
resetShapeClasses() {
|
|
46
38
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
47
39
|
|
|
@@ -104,14 +104,6 @@ let AuroElement$1 = class AuroElement extends i$2 {
|
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
/**
|
|
108
|
-
* Returns true if the element has focus.
|
|
109
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
110
|
-
*/
|
|
111
|
-
get componentHasFocus() {
|
|
112
|
-
return this.matches(':focus');
|
|
113
|
-
}
|
|
114
|
-
|
|
115
107
|
resetShapeClasses() {
|
|
116
108
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
117
109
|
|
|
@@ -64,14 +64,6 @@ let AuroElement$1 = class AuroElement extends i$2 {
|
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
/**
|
|
68
|
-
* Returns true if the element has focus.
|
|
69
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
70
|
-
*/
|
|
71
|
-
get componentHasFocus() {
|
|
72
|
-
return this.matches(':focus');
|
|
73
|
-
}
|
|
74
|
-
|
|
75
67
|
resetShapeClasses() {
|
|
76
68
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
77
69
|
|
|
@@ -43,14 +43,6 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
/**
|
|
47
|
-
* Returns true if the element has focus.
|
|
48
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
49
|
-
*/
|
|
50
|
-
get componentHasFocus() {
|
|
51
|
-
return this.matches(':focus');
|
|
52
|
-
}
|
|
53
|
-
|
|
54
46
|
resetShapeClasses() {
|
|
55
47
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
56
48
|
|
|
@@ -43,14 +43,6 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
/**
|
|
47
|
-
* Returns true if the element has focus.
|
|
48
|
-
* @returns {boolean} - Returns true if the element has focus.
|
|
49
|
-
*/
|
|
50
|
-
get componentHasFocus() {
|
|
51
|
-
return this.matches(':focus');
|
|
52
|
-
}
|
|
53
|
-
|
|
54
46
|
resetShapeClasses() {
|
|
55
47
|
const wrapper = this.shadowRoot.querySelector('.wrapper');
|
|
56
48
|
|