@aurodesignsystem-dev/auro-formkit 0.0.0-pr1052.4 → 0.0.0-pr1052.6
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.
|
@@ -16662,6 +16662,11 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16662
16662
|
this.menu.value = this.value;
|
|
16663
16663
|
this.menu.matchWord = this.input.value;
|
|
16664
16664
|
|
|
16665
|
+
console.warn('syncValuesAndStates()');
|
|
16666
|
+
console.info('this.value', this.value);
|
|
16667
|
+
console.info('this.input.value', this.input.value);
|
|
16668
|
+
console.info('this.menu.value', this.menu.value);
|
|
16669
|
+
|
|
16665
16670
|
// Wait a lifecycle for child components to update
|
|
16666
16671
|
await Promise.all([this.menu.updateComplete]);
|
|
16667
16672
|
|
|
@@ -16716,6 +16721,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16716
16721
|
* @returns {void}
|
|
16717
16722
|
*/
|
|
16718
16723
|
handleMenuOptions() {
|
|
16724
|
+
console.warn('handleMenuOptions()');
|
|
16719
16725
|
this.resetMenuMatchword();
|
|
16720
16726
|
|
|
16721
16727
|
this.generateOptionsArray();
|
|
@@ -16723,7 +16729,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16723
16729
|
this.updateFilter();
|
|
16724
16730
|
|
|
16725
16731
|
if (this.value && this.input.value && !this.menu.value) {
|
|
16726
|
-
this.
|
|
16732
|
+
this.syncValuesAndStates();
|
|
16727
16733
|
}
|
|
16728
16734
|
}
|
|
16729
16735
|
|
|
@@ -16903,6 +16909,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16903
16909
|
|
|
16904
16910
|
// handle the menu event for an option selection
|
|
16905
16911
|
this.menu.addEventListener('auroMenu-selectedOption', (evt) => {
|
|
16912
|
+
console.warn('event auroMenu-selectedOption', evt);
|
|
16906
16913
|
if (this.menu.optionSelected) {
|
|
16907
16914
|
const selected = this.menu.optionSelected;
|
|
16908
16915
|
|
|
@@ -16912,7 +16919,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16912
16919
|
|
|
16913
16920
|
if (!this.value || this.value !== this.optionSelected.value) {
|
|
16914
16921
|
this.value = this.optionSelected.value;
|
|
16915
|
-
this.menu.value = this.value;
|
|
16922
|
+
// this.menu.value = this.value;
|
|
16916
16923
|
}
|
|
16917
16924
|
|
|
16918
16925
|
this.updateTriggerTextDisplay();
|
|
@@ -17007,6 +17014,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
17007
17014
|
* @returns {void}
|
|
17008
17015
|
*/
|
|
17009
17016
|
handleInputValueChange(event) {
|
|
17017
|
+
console.warn('handleInputValueChange', event);
|
|
17010
17018
|
if (event.target === this.inputInBib) {
|
|
17011
17019
|
this.input.value = this.inputInBib.value;
|
|
17012
17020
|
return;
|
|
@@ -17290,6 +17298,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
17290
17298
|
* @returns {void}
|
|
17291
17299
|
*/
|
|
17292
17300
|
handleSlotChange(event) {
|
|
17301
|
+
console.warn('handleSlotChange', event);
|
|
17293
17302
|
switch (event.target.name) {
|
|
17294
17303
|
case '':
|
|
17295
17304
|
if (!this.menu || this.menu !== this.querySelector('auro-menu, [auro-menu]')) {
|
|
@@ -16510,6 +16510,11 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16510
16510
|
this.menu.value = this.value;
|
|
16511
16511
|
this.menu.matchWord = this.input.value;
|
|
16512
16512
|
|
|
16513
|
+
console.warn('syncValuesAndStates()');
|
|
16514
|
+
console.info('this.value', this.value);
|
|
16515
|
+
console.info('this.input.value', this.input.value);
|
|
16516
|
+
console.info('this.menu.value', this.menu.value);
|
|
16517
|
+
|
|
16513
16518
|
// Wait a lifecycle for child components to update
|
|
16514
16519
|
await Promise.all([this.menu.updateComplete]);
|
|
16515
16520
|
|
|
@@ -16564,6 +16569,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16564
16569
|
* @returns {void}
|
|
16565
16570
|
*/
|
|
16566
16571
|
handleMenuOptions() {
|
|
16572
|
+
console.warn('handleMenuOptions()');
|
|
16567
16573
|
this.resetMenuMatchword();
|
|
16568
16574
|
|
|
16569
16575
|
this.generateOptionsArray();
|
|
@@ -16571,7 +16577,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16571
16577
|
this.updateFilter();
|
|
16572
16578
|
|
|
16573
16579
|
if (this.value && this.input.value && !this.menu.value) {
|
|
16574
|
-
this.
|
|
16580
|
+
this.syncValuesAndStates();
|
|
16575
16581
|
}
|
|
16576
16582
|
}
|
|
16577
16583
|
|
|
@@ -16751,6 +16757,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16751
16757
|
|
|
16752
16758
|
// handle the menu event for an option selection
|
|
16753
16759
|
this.menu.addEventListener('auroMenu-selectedOption', (evt) => {
|
|
16760
|
+
console.warn('event auroMenu-selectedOption', evt);
|
|
16754
16761
|
if (this.menu.optionSelected) {
|
|
16755
16762
|
const selected = this.menu.optionSelected;
|
|
16756
16763
|
|
|
@@ -16760,7 +16767,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16760
16767
|
|
|
16761
16768
|
if (!this.value || this.value !== this.optionSelected.value) {
|
|
16762
16769
|
this.value = this.optionSelected.value;
|
|
16763
|
-
this.menu.value = this.value;
|
|
16770
|
+
// this.menu.value = this.value;
|
|
16764
16771
|
}
|
|
16765
16772
|
|
|
16766
16773
|
this.updateTriggerTextDisplay();
|
|
@@ -16855,6 +16862,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16855
16862
|
* @returns {void}
|
|
16856
16863
|
*/
|
|
16857
16864
|
handleInputValueChange(event) {
|
|
16865
|
+
console.warn('handleInputValueChange', event);
|
|
16858
16866
|
if (event.target === this.inputInBib) {
|
|
16859
16867
|
this.input.value = this.inputInBib.value;
|
|
16860
16868
|
return;
|
|
@@ -17138,6 +17146,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
17138
17146
|
* @returns {void}
|
|
17139
17147
|
*/
|
|
17140
17148
|
handleSlotChange(event) {
|
|
17149
|
+
console.warn('handleSlotChange', event);
|
|
17141
17150
|
switch (event.target.name) {
|
|
17142
17151
|
case '':
|
|
17143
17152
|
if (!this.menu || this.menu !== this.querySelector('auro-menu, [auro-menu]')) {
|
|
@@ -16428,6 +16428,11 @@ class AuroCombobox extends AuroElement {
|
|
|
16428
16428
|
this.menu.value = this.value;
|
|
16429
16429
|
this.menu.matchWord = this.input.value;
|
|
16430
16430
|
|
|
16431
|
+
console.warn('syncValuesAndStates()');
|
|
16432
|
+
console.info('this.value', this.value);
|
|
16433
|
+
console.info('this.input.value', this.input.value);
|
|
16434
|
+
console.info('this.menu.value', this.menu.value);
|
|
16435
|
+
|
|
16431
16436
|
// Wait a lifecycle for child components to update
|
|
16432
16437
|
await Promise.all([this.menu.updateComplete]);
|
|
16433
16438
|
|
|
@@ -16482,6 +16487,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16482
16487
|
* @returns {void}
|
|
16483
16488
|
*/
|
|
16484
16489
|
handleMenuOptions() {
|
|
16490
|
+
console.warn('handleMenuOptions()');
|
|
16485
16491
|
this.resetMenuMatchword();
|
|
16486
16492
|
|
|
16487
16493
|
this.generateOptionsArray();
|
|
@@ -16489,7 +16495,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16489
16495
|
this.updateFilter();
|
|
16490
16496
|
|
|
16491
16497
|
if (this.value && this.input.value && !this.menu.value) {
|
|
16492
|
-
this.
|
|
16498
|
+
this.syncValuesAndStates();
|
|
16493
16499
|
}
|
|
16494
16500
|
}
|
|
16495
16501
|
|
|
@@ -16669,6 +16675,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16669
16675
|
|
|
16670
16676
|
// handle the menu event for an option selection
|
|
16671
16677
|
this.menu.addEventListener('auroMenu-selectedOption', (evt) => {
|
|
16678
|
+
console.warn('event auroMenu-selectedOption', evt);
|
|
16672
16679
|
if (this.menu.optionSelected) {
|
|
16673
16680
|
const selected = this.menu.optionSelected;
|
|
16674
16681
|
|
|
@@ -16678,7 +16685,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16678
16685
|
|
|
16679
16686
|
if (!this.value || this.value !== this.optionSelected.value) {
|
|
16680
16687
|
this.value = this.optionSelected.value;
|
|
16681
|
-
this.menu.value = this.value;
|
|
16688
|
+
// this.menu.value = this.value;
|
|
16682
16689
|
}
|
|
16683
16690
|
|
|
16684
16691
|
this.updateTriggerTextDisplay();
|
|
@@ -16773,6 +16780,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16773
16780
|
* @returns {void}
|
|
16774
16781
|
*/
|
|
16775
16782
|
handleInputValueChange(event) {
|
|
16783
|
+
console.warn('handleInputValueChange', event);
|
|
16776
16784
|
if (event.target === this.inputInBib) {
|
|
16777
16785
|
this.input.value = this.inputInBib.value;
|
|
16778
16786
|
return;
|
|
@@ -17056,6 +17064,7 @@ class AuroCombobox extends AuroElement {
|
|
|
17056
17064
|
* @returns {void}
|
|
17057
17065
|
*/
|
|
17058
17066
|
handleSlotChange(event) {
|
|
17067
|
+
console.warn('handleSlotChange', event);
|
|
17059
17068
|
switch (event.target.name) {
|
|
17060
17069
|
case '':
|
|
17061
17070
|
if (!this.menu || this.menu !== this.querySelector('auro-menu, [auro-menu]')) {
|
|
@@ -16428,6 +16428,11 @@ class AuroCombobox extends AuroElement {
|
|
|
16428
16428
|
this.menu.value = this.value;
|
|
16429
16429
|
this.menu.matchWord = this.input.value;
|
|
16430
16430
|
|
|
16431
|
+
console.warn('syncValuesAndStates()');
|
|
16432
|
+
console.info('this.value', this.value);
|
|
16433
|
+
console.info('this.input.value', this.input.value);
|
|
16434
|
+
console.info('this.menu.value', this.menu.value);
|
|
16435
|
+
|
|
16431
16436
|
// Wait a lifecycle for child components to update
|
|
16432
16437
|
await Promise.all([this.menu.updateComplete]);
|
|
16433
16438
|
|
|
@@ -16482,6 +16487,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16482
16487
|
* @returns {void}
|
|
16483
16488
|
*/
|
|
16484
16489
|
handleMenuOptions() {
|
|
16490
|
+
console.warn('handleMenuOptions()');
|
|
16485
16491
|
this.resetMenuMatchword();
|
|
16486
16492
|
|
|
16487
16493
|
this.generateOptionsArray();
|
|
@@ -16489,7 +16495,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16489
16495
|
this.updateFilter();
|
|
16490
16496
|
|
|
16491
16497
|
if (this.value && this.input.value && !this.menu.value) {
|
|
16492
|
-
this.
|
|
16498
|
+
this.syncValuesAndStates();
|
|
16493
16499
|
}
|
|
16494
16500
|
}
|
|
16495
16501
|
|
|
@@ -16669,6 +16675,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16669
16675
|
|
|
16670
16676
|
// handle the menu event for an option selection
|
|
16671
16677
|
this.menu.addEventListener('auroMenu-selectedOption', (evt) => {
|
|
16678
|
+
console.warn('event auroMenu-selectedOption', evt);
|
|
16672
16679
|
if (this.menu.optionSelected) {
|
|
16673
16680
|
const selected = this.menu.optionSelected;
|
|
16674
16681
|
|
|
@@ -16678,7 +16685,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16678
16685
|
|
|
16679
16686
|
if (!this.value || this.value !== this.optionSelected.value) {
|
|
16680
16687
|
this.value = this.optionSelected.value;
|
|
16681
|
-
this.menu.value = this.value;
|
|
16688
|
+
// this.menu.value = this.value;
|
|
16682
16689
|
}
|
|
16683
16690
|
|
|
16684
16691
|
this.updateTriggerTextDisplay();
|
|
@@ -16773,6 +16780,7 @@ class AuroCombobox extends AuroElement {
|
|
|
16773
16780
|
* @returns {void}
|
|
16774
16781
|
*/
|
|
16775
16782
|
handleInputValueChange(event) {
|
|
16783
|
+
console.warn('handleInputValueChange', event);
|
|
16776
16784
|
if (event.target === this.inputInBib) {
|
|
16777
16785
|
this.input.value = this.inputInBib.value;
|
|
16778
16786
|
return;
|
|
@@ -17056,6 +17064,7 @@ class AuroCombobox extends AuroElement {
|
|
|
17056
17064
|
* @returns {void}
|
|
17057
17065
|
*/
|
|
17058
17066
|
handleSlotChange(event) {
|
|
17067
|
+
console.warn('handleSlotChange', event);
|
|
17059
17068
|
switch (event.target.name) {
|
|
17060
17069
|
case '':
|
|
17061
17070
|
if (!this.menu || this.menu !== this.querySelector('auro-menu, [auro-menu]')) {
|
package/package.json
CHANGED