@libs-ui/components-list 0.2.356-36 → 0.2.356-38
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.
|
@@ -7,7 +7,7 @@ import { LibsUiComponentsInputsSearchComponent } from '@libs-ui/components-input
|
|
|
7
7
|
import { LibsUiComponentsLabelComponent } from '@libs-ui/components-label';
|
|
8
8
|
import { LibsUiComponentsPopoverComponent } from '@libs-ui/components-popover';
|
|
9
9
|
import { LibsUiDynamicComponentService } from '@libs-ui/services-dynamic-component';
|
|
10
|
-
import { deleteUnicode, isEmpty, convertObjectToSignal, get, isNil, convertSignalToObject, cloneDeep, escapeHtml, uuid, set, CHARACTER_DATA_EMPTY, ERROR_MESSAGE_EMPTY_VALID
|
|
10
|
+
import { deleteUnicode, isEmpty, convertObjectToSignal, get, isNil, convertSignalToObject, cloneDeep, escapeHtml, isEqual, uuid, set, CHARACTER_DATA_EMPTY, ERROR_MESSAGE_EMPTY_VALID } from '@libs-ui/utils';
|
|
11
11
|
import * as i1 from '@ngx-translate/core';
|
|
12
12
|
import { TranslateModule, TranslateService } from '@ngx-translate/core';
|
|
13
13
|
import { lastValueFrom, interval, of, range, Subject, timer } from 'rxjs';
|
|
@@ -1036,7 +1036,7 @@ class LibsUiComponentsListGroupComponent extends LibsUiComponentsListTemplatesCo
|
|
|
1036
1036
|
this.onUpdateMultiKeySelectedGroup()
|
|
1037
1037
|
?.pipe(takeUntilDestroyed(this.destroyRef))
|
|
1038
1038
|
.subscribe(() => {
|
|
1039
|
-
if (!this.store() || !this.store().length) {
|
|
1039
|
+
if (!this.store() || !this.store().length || isEqual(this.multiKeySelected(), this.keysChecked())) {
|
|
1040
1040
|
return;
|
|
1041
1041
|
}
|
|
1042
1042
|
this.keysChecked.set([]);
|
|
@@ -1150,7 +1150,7 @@ class LibsUiComponentsListGroupComponent extends LibsUiComponentsListTemplatesCo
|
|
|
1150
1150
|
if (!checked && this.configTemplateGroup()?.isViewRadio) {
|
|
1151
1151
|
return;
|
|
1152
1152
|
}
|
|
1153
|
-
this.handlerChangeChecked(checked, signal(item),
|
|
1153
|
+
this.handlerChangeChecked(checked, signal(item), true);
|
|
1154
1154
|
}
|
|
1155
1155
|
handlerChangeChecked(checked, item, isClickManual, isCheckedByDefaultKey) {
|
|
1156
1156
|
const configTemplateGroup = this.configTemplateGroup();
|