@acorex/components 16.18.8 → 16.18.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ export class AXSelectionListComponent extends AXValidatableComponent {
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
ngAfterViewInit() {
|
42
|
-
if (this.selectedItems?.length) {
|
42
|
+
if (this.selectedItems?.length && this.mode === 'single') {
|
43
43
|
this.selectedItemsChange.emit(this.selectedItems);
|
44
44
|
}
|
45
45
|
this.cdr.detectChanges();
|
@@ -52,7 +52,7 @@ export class AXSelectionListComponent extends AXValidatableComponent {
|
|
52
52
|
if (!this.disabled) {
|
53
53
|
if (this.mode === 'single') {
|
54
54
|
this.selectedValues = [value[this.valueField]];
|
55
|
-
this.selectedItemsChange.emit(
|
55
|
+
this.selectedItemsChange.emit(this.selectedItems);
|
56
56
|
}
|
57
57
|
else {
|
58
58
|
if (checked) {
|
@@ -62,7 +62,7 @@ export class AXSelectionListComponent extends AXValidatableComponent {
|
|
62
62
|
...[value[this.valueField]],
|
63
63
|
];
|
64
64
|
}
|
65
|
-
this.selectedItemsChange.emit(
|
65
|
+
this.selectedItemsChange.emit(this.selectedItems);
|
66
66
|
}
|
67
67
|
else {
|
68
68
|
this.selectedValues = this.selectedValues.filter((c) => c !== value[this.valueField]);
|
@@ -117,4 +117,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
|
|
117
117
|
}], selectedValues: [{
|
118
118
|
type: Input
|
119
119
|
}] } });
|
120
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWxpc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvc2VsZWN0aW9uLWxpc3Qvc2VsZWN0aW9uLWxpc3QuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vb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WVGaWVsZF0sIHRydWUpXCJcbiAgICAgICAgW3ZhbHVlXT1cIml0ZW1bdmFsdWVGaWVsZF1cIlxuICAgICAgICBbY2hlY2tlZF09XCJzZWxlY3RlZFZhbHVlcyA9PSBpdGVtW3ZhbHVlRmllbGRdXCJcbiAgICAgICAgW25hbWVdPVwidWlkXCJcbiAgICAgICAgW2Rpc2FibGVkXT1cIml0ZW0uZGlzYWJsZSB8fCBkaXNhYmxlZFwiXG4gICAgICAgIFtyZWFkb25seV09XCJpdGVtLnJlYWRvbmx5IHx8IHJlYWRvbmx5XCJcbiAgICAgIC8+XG4gICAgICA8c3BhbiBjbGFzcz1cImNoZWNrbWFya1wiPjwvc3Bhbj5cbiAgICA8L2xhYmVsPlxuICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
@@ -3744,7 +3744,7 @@ class AXSelectionListComponent extends AXValidatableComponent {
|
|
3744
3744
|
}
|
3745
3745
|
}
|
3746
3746
|
ngAfterViewInit() {
|
3747
|
-
if (this.selectedItems?.length) {
|
3747
|
+
if (this.selectedItems?.length && this.mode === 'single') {
|
3748
3748
|
this.selectedItemsChange.emit(this.selectedItems);
|
3749
3749
|
}
|
3750
3750
|
this.cdr.detectChanges();
|
@@ -3757,7 +3757,7 @@ class AXSelectionListComponent extends AXValidatableComponent {
|
|
3757
3757
|
if (!this.disabled) {
|
3758
3758
|
if (this.mode === 'single') {
|
3759
3759
|
this.selectedValues = [value[this.valueField]];
|
3760
|
-
this.selectedItemsChange.emit(
|
3760
|
+
this.selectedItemsChange.emit(this.selectedItems);
|
3761
3761
|
}
|
3762
3762
|
else {
|
3763
3763
|
if (checked) {
|
@@ -3767,7 +3767,7 @@ class AXSelectionListComponent extends AXValidatableComponent {
|
|
3767
3767
|
...[value[this.valueField]],
|
3768
3768
|
];
|
3769
3769
|
}
|
3770
|
-
this.selectedItemsChange.emit(
|
3770
|
+
this.selectedItemsChange.emit(this.selectedItems);
|
3771
3771
|
}
|
3772
3772
|
else {
|
3773
3773
|
this.selectedValues = this.selectedValues.filter((c) => c !== value[this.valueField]);
|