@aurodesignsystem-dev/auro-formkit 0.0.0-pr1052.5 → 0.0.0-pr1052.7
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/combobox/demo/api.min.js +12 -0
- package/components/combobox/demo/index.min.js +12 -0
- package/components/combobox/dist/index.js +5 -0
- package/components/combobox/dist/registered.js +5 -0
- package/components/menu/demo/api.min.js +7 -0
- package/components/menu/demo/index.min.js +7 -0
- package/components/menu/dist/index.js +7 -0
- package/components/menu/dist/registered.js +7 -0
- package/components/select/demo/api.min.js +7 -0
- package/components/select/demo/index.min.js +7 -0
- package/package.json +1 -1
|
@@ -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
|
|
|
@@ -17734,6 +17739,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17734
17739
|
|
|
17735
17740
|
|
|
17736
17741
|
if (changedProperties.has("value")) {
|
|
17742
|
+
console.warn('menu value updated', this.value);
|
|
17743
|
+
console.info('available options', this.availableOptions);
|
|
17737
17744
|
// Handle null/undefined case
|
|
17738
17745
|
if (this.value === undefined || this.value === null) {
|
|
17739
17746
|
this.clearSelection();
|
|
@@ -17745,9 +17752,12 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17745
17752
|
|
|
17746
17753
|
this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
|
|
17747
17754
|
} else {
|
|
17755
|
+
console.info('single-select mode, looking for value', this.value);
|
|
17748
17756
|
// In single-select mode, this.value should be a string
|
|
17749
17757
|
const matchingOptions = this.items.find((item) => item.value === this.value);
|
|
17750
17758
|
|
|
17759
|
+
console.info('matchingOptions', matchingOptions);
|
|
17760
|
+
|
|
17751
17761
|
if (matchingOptions) {
|
|
17752
17762
|
this.optionSelected = matchingOptions;
|
|
17753
17763
|
this.index = this.items.indexOf(matchingOptions);
|
|
@@ -17756,6 +17766,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17756
17766
|
this.optionSelected = undefined;
|
|
17757
17767
|
this.index = -1;
|
|
17758
17768
|
}
|
|
17769
|
+
|
|
17770
|
+
console.warn('optionSelected', this.optionSelected);
|
|
17759
17771
|
}
|
|
17760
17772
|
|
|
17761
17773
|
// If no matching options were found in either mode
|
|
@@ -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
|
|
|
@@ -17582,6 +17587,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17582
17587
|
|
|
17583
17588
|
|
|
17584
17589
|
if (changedProperties.has("value")) {
|
|
17590
|
+
console.warn('menu value updated', this.value);
|
|
17591
|
+
console.info('available options', this.availableOptions);
|
|
17585
17592
|
// Handle null/undefined case
|
|
17586
17593
|
if (this.value === undefined || this.value === null) {
|
|
17587
17594
|
this.clearSelection();
|
|
@@ -17593,9 +17600,12 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17593
17600
|
|
|
17594
17601
|
this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
|
|
17595
17602
|
} else {
|
|
17603
|
+
console.info('single-select mode, looking for value', this.value);
|
|
17596
17604
|
// In single-select mode, this.value should be a string
|
|
17597
17605
|
const matchingOptions = this.items.find((item) => item.value === this.value);
|
|
17598
17606
|
|
|
17607
|
+
console.info('matchingOptions', matchingOptions);
|
|
17608
|
+
|
|
17599
17609
|
if (matchingOptions) {
|
|
17600
17610
|
this.optionSelected = matchingOptions;
|
|
17601
17611
|
this.index = this.items.indexOf(matchingOptions);
|
|
@@ -17604,6 +17614,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
17604
17614
|
this.optionSelected = undefined;
|
|
17605
17615
|
this.index = -1;
|
|
17606
17616
|
}
|
|
17617
|
+
|
|
17618
|
+
console.warn('optionSelected', this.optionSelected);
|
|
17607
17619
|
}
|
|
17608
17620
|
|
|
17609
17621
|
// If no matching options were found in either mode
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -537,6 +537,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
537
537
|
|
|
538
538
|
|
|
539
539
|
if (changedProperties.has("value")) {
|
|
540
|
+
console.warn('menu value updated', this.value);
|
|
541
|
+
console.info('available options', this.availableOptions);
|
|
540
542
|
// Handle null/undefined case
|
|
541
543
|
if (this.value === undefined || this.value === null) {
|
|
542
544
|
this.clearSelection();
|
|
@@ -548,9 +550,12 @@ class AuroMenu extends AuroElement$1 {
|
|
|
548
550
|
|
|
549
551
|
this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
|
|
550
552
|
} else {
|
|
553
|
+
console.info('single-select mode, looking for value', this.value);
|
|
551
554
|
// In single-select mode, this.value should be a string
|
|
552
555
|
const matchingOptions = this.items.find((item) => item.value === this.value);
|
|
553
556
|
|
|
557
|
+
console.info('matchingOptions', matchingOptions);
|
|
558
|
+
|
|
554
559
|
if (matchingOptions) {
|
|
555
560
|
this.optionSelected = matchingOptions;
|
|
556
561
|
this.index = this.items.indexOf(matchingOptions);
|
|
@@ -559,6 +564,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
559
564
|
this.optionSelected = undefined;
|
|
560
565
|
this.index = -1;
|
|
561
566
|
}
|
|
567
|
+
|
|
568
|
+
console.warn('optionSelected', this.optionSelected);
|
|
562
569
|
}
|
|
563
570
|
|
|
564
571
|
// If no matching options were found in either mode
|
|
@@ -497,6 +497,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
497
497
|
|
|
498
498
|
|
|
499
499
|
if (changedProperties.has("value")) {
|
|
500
|
+
console.warn('menu value updated', this.value);
|
|
501
|
+
console.info('available options', this.availableOptions);
|
|
500
502
|
// Handle null/undefined case
|
|
501
503
|
if (this.value === undefined || this.value === null) {
|
|
502
504
|
this.clearSelection();
|
|
@@ -508,9 +510,12 @@ class AuroMenu extends AuroElement$1 {
|
|
|
508
510
|
|
|
509
511
|
this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
|
|
510
512
|
} else {
|
|
513
|
+
console.info('single-select mode, looking for value', this.value);
|
|
511
514
|
// In single-select mode, this.value should be a string
|
|
512
515
|
const matchingOptions = this.items.find((item) => item.value === this.value);
|
|
513
516
|
|
|
517
|
+
console.info('matchingOptions', matchingOptions);
|
|
518
|
+
|
|
514
519
|
if (matchingOptions) {
|
|
515
520
|
this.optionSelected = matchingOptions;
|
|
516
521
|
this.index = this.items.indexOf(matchingOptions);
|
|
@@ -519,6 +524,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
519
524
|
this.optionSelected = undefined;
|
|
520
525
|
this.index = -1;
|
|
521
526
|
}
|
|
527
|
+
|
|
528
|
+
console.warn('optionSelected', this.optionSelected);
|
|
522
529
|
}
|
|
523
530
|
|
|
524
531
|
// If no matching options were found in either mode
|
|
@@ -504,6 +504,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
504
504
|
|
|
505
505
|
|
|
506
506
|
if (changedProperties.has("value")) {
|
|
507
|
+
console.warn('menu value updated', this.value);
|
|
508
|
+
console.info('available options', this.availableOptions);
|
|
507
509
|
// Handle null/undefined case
|
|
508
510
|
if (this.value === undefined || this.value === null) {
|
|
509
511
|
this.clearSelection();
|
|
@@ -515,9 +517,12 @@ class AuroMenu extends AuroElement$1 {
|
|
|
515
517
|
|
|
516
518
|
this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
|
|
517
519
|
} else {
|
|
520
|
+
console.info('single-select mode, looking for value', this.value);
|
|
518
521
|
// In single-select mode, this.value should be a string
|
|
519
522
|
const matchingOptions = this.items.find((item) => item.value === this.value);
|
|
520
523
|
|
|
524
|
+
console.info('matchingOptions', matchingOptions);
|
|
525
|
+
|
|
521
526
|
if (matchingOptions) {
|
|
522
527
|
this.optionSelected = matchingOptions;
|
|
523
528
|
this.index = this.items.indexOf(matchingOptions);
|
|
@@ -526,6 +531,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
526
531
|
this.optionSelected = undefined;
|
|
527
532
|
this.index = -1;
|
|
528
533
|
}
|
|
534
|
+
|
|
535
|
+
console.warn('optionSelected', this.optionSelected);
|
|
529
536
|
}
|
|
530
537
|
|
|
531
538
|
// If no matching options were found in either mode
|
|
@@ -463,6 +463,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
463
463
|
|
|
464
464
|
|
|
465
465
|
if (changedProperties.has("value")) {
|
|
466
|
+
console.warn('menu value updated', this.value);
|
|
467
|
+
console.info('available options', this.availableOptions);
|
|
466
468
|
// Handle null/undefined case
|
|
467
469
|
if (this.value === undefined || this.value === null) {
|
|
468
470
|
this.clearSelection();
|
|
@@ -474,9 +476,12 @@ class AuroMenu extends AuroElement$1 {
|
|
|
474
476
|
|
|
475
477
|
this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
|
|
476
478
|
} else {
|
|
479
|
+
console.info('single-select mode, looking for value', this.value);
|
|
477
480
|
// In single-select mode, this.value should be a string
|
|
478
481
|
const matchingOptions = this.items.find((item) => item.value === this.value);
|
|
479
482
|
|
|
483
|
+
console.info('matchingOptions', matchingOptions);
|
|
484
|
+
|
|
480
485
|
if (matchingOptions) {
|
|
481
486
|
this.optionSelected = matchingOptions;
|
|
482
487
|
this.index = this.items.indexOf(matchingOptions);
|
|
@@ -485,6 +490,8 @@ class AuroMenu extends AuroElement$1 {
|
|
|
485
490
|
this.optionSelected = undefined;
|
|
486
491
|
this.index = -1;
|
|
487
492
|
}
|
|
493
|
+
|
|
494
|
+
console.warn('optionSelected', this.optionSelected);
|
|
488
495
|
}
|
|
489
496
|
|
|
490
497
|
// If no matching options were found in either mode
|
|
@@ -9351,6 +9351,8 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9351
9351
|
|
|
9352
9352
|
|
|
9353
9353
|
if (changedProperties.has("value")) {
|
|
9354
|
+
console.warn('menu value updated', this.value);
|
|
9355
|
+
console.info('available options', this.availableOptions);
|
|
9354
9356
|
// Handle null/undefined case
|
|
9355
9357
|
if (this.value === undefined || this.value === null) {
|
|
9356
9358
|
this.clearSelection();
|
|
@@ -9362,9 +9364,12 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9362
9364
|
|
|
9363
9365
|
this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
|
|
9364
9366
|
} else {
|
|
9367
|
+
console.info('single-select mode, looking for value', this.value);
|
|
9365
9368
|
// In single-select mode, this.value should be a string
|
|
9366
9369
|
const matchingOptions = this.items.find((item) => item.value === this.value);
|
|
9367
9370
|
|
|
9371
|
+
console.info('matchingOptions', matchingOptions);
|
|
9372
|
+
|
|
9368
9373
|
if (matchingOptions) {
|
|
9369
9374
|
this.optionSelected = matchingOptions;
|
|
9370
9375
|
this.index = this.items.indexOf(matchingOptions);
|
|
@@ -9373,6 +9378,8 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9373
9378
|
this.optionSelected = undefined;
|
|
9374
9379
|
this.index = -1;
|
|
9375
9380
|
}
|
|
9381
|
+
|
|
9382
|
+
console.warn('optionSelected', this.optionSelected);
|
|
9376
9383
|
}
|
|
9377
9384
|
|
|
9378
9385
|
// If no matching options were found in either mode
|
|
@@ -9259,6 +9259,8 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9259
9259
|
|
|
9260
9260
|
|
|
9261
9261
|
if (changedProperties.has("value")) {
|
|
9262
|
+
console.warn('menu value updated', this.value);
|
|
9263
|
+
console.info('available options', this.availableOptions);
|
|
9262
9264
|
// Handle null/undefined case
|
|
9263
9265
|
if (this.value === undefined || this.value === null) {
|
|
9264
9266
|
this.clearSelection();
|
|
@@ -9270,9 +9272,12 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9270
9272
|
|
|
9271
9273
|
this.optionSelected = matchingOptions.length > 0 ? matchingOptions : undefined;
|
|
9272
9274
|
} else {
|
|
9275
|
+
console.info('single-select mode, looking for value', this.value);
|
|
9273
9276
|
// In single-select mode, this.value should be a string
|
|
9274
9277
|
const matchingOptions = this.items.find((item) => item.value === this.value);
|
|
9275
9278
|
|
|
9279
|
+
console.info('matchingOptions', matchingOptions);
|
|
9280
|
+
|
|
9276
9281
|
if (matchingOptions) {
|
|
9277
9282
|
this.optionSelected = matchingOptions;
|
|
9278
9283
|
this.index = this.items.indexOf(matchingOptions);
|
|
@@ -9281,6 +9286,8 @@ class AuroMenu extends AuroElement$4 {
|
|
|
9281
9286
|
this.optionSelected = undefined;
|
|
9282
9287
|
this.index = -1;
|
|
9283
9288
|
}
|
|
9289
|
+
|
|
9290
|
+
console.warn('optionSelected', this.optionSelected);
|
|
9284
9291
|
}
|
|
9285
9292
|
|
|
9286
9293
|
// If no matching options were found in either mode
|
package/package.json
CHANGED