@libs-ui/components-table 0.2.357-8 → 0.2.357-9

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.
@@ -22,7 +22,7 @@ import { returnListObject, LibsUiHttpRequestService } from '@libs-ui/services-ht
22
22
  import { get, convertObjectToSignal, viewDataNumberByLanguage, cloneDeep, deleteUnicode, set } from '@libs-ui/utils';
23
23
  import * as i1 from '@ngx-translate/core';
24
24
  import { TranslateModule } from '@ngx-translate/core';
25
- import { fromEvent, of, timer, lastValueFrom } from 'rxjs';
25
+ import { fromEvent, lastValueFrom, of, timer } from 'rxjs';
26
26
  import { auditTime } from 'rxjs/operators';
27
27
  import { LibsUiComponentsAvatarComponent } from '@libs-ui/components-avatar';
28
28
  import { LibsUiComponentsBadgeComponent } from '@libs-ui/components-badge';
@@ -456,6 +456,7 @@ class LibsUiComponentsTableComponent {
456
456
  getCount: this.getCount.bind(this),
457
457
  getStore: () => this.stores() || [],
458
458
  getItems: () => this.items() || [],
459
+ getIndexByItem: async (item) => lastValueFrom(this.getIndexRow({ value: item })),
459
460
  hightLightItem: this.hightLightItem.bind(this),
460
461
  changePagination: async (page) => await this.paginationRef()?.FunctionsControl?.changePage(page),
461
462
  };