@libs-ui/components-table 0.2.356-1 → 0.2.356-10

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.
@@ -1,7 +1,7 @@
1
- import { VirtualScrollerComponent } from '@iharbeck/ngx-virtual-scroller';
2
- import { TYPE_DATA_TABLE, TYPE_ITEM_DATA_TABLE } from './table.type';
3
1
  import { WritableSignal } from '@angular/core';
2
+ import { VirtualScrollerComponent } from '@iharbeck/ngx-virtual-scroller';
4
3
  import { TYPE_OBJECT } from '@libs-ui/interfaces-types';
4
+ import { TYPE_DATA_TABLE, TYPE_ITEM_DATA_TABLE } from './table.type';
5
5
  export interface ITableFunctionControlEvent {
6
6
  reset: (clearSort?: boolean) => void;
7
7
  callApiByService: (firstCall: boolean, resetAfterCallApi?: boolean) => void;
@@ -15,5 +15,6 @@ export interface ITableFunctionControlEvent {
15
15
  setCountPagingStore: (count: number) => void;
16
16
  getCount: () => number;
17
17
  getStore: () => Array<WritableSignal<TYPE_OBJECT>>;
18
+ getItems: () => Array<WritableSignal<TYPE_OBJECT>>;
18
19
  hightLightItem: (items: Array<TYPE_ITEM_DATA_TABLE>) => Promise<void>;
19
20
  }
@@ -1,6 +1,6 @@
1
1
  import { WritableSignal } from '@angular/core';
2
2
  import { TYPE_OBJECT } from '@libs-ui/interfaces-types';
3
- export type TYPE_TABLE_FILTER<T = TYPE_OBJECT> = ((items: TYPE_DATA_TABLE<T>, filter: Record<string, unknown>) => Array<WritableSignal<Record<string, unknown>>>) | undefined;
3
+ export type TYPE_TABLE_FILTER<T = TYPE_OBJECT> = ((items: TYPE_DATA_TABLE<T>, filter: Record<string, unknown>) => Array<TYPE_ITEM_DATA_TABLE<T>>) | undefined;
4
4
  export type TYPE_DATA_FILTER_TABLE<T = TYPE_OBJECT> = {
5
5
  filterData: T;
6
6
  ignoreCallApiAuto?: boolean;
@@ -1,6 +1,7 @@
1
1
  import { WritableSignal } from '@angular/core';
2
2
  import { IAvatarConfig } from '@libs-ui/components-avatar';
3
3
  import { IButton } from '@libs-ui/components-buttons-button';
4
+ import { LibsUiComponentsComponentOutletComponent } from '@libs-ui/components-component-outlet';
4
5
  import { IDropdown } from '@libs-ui/components-dropdown';
5
6
  import { ILineClampConfig } from '@libs-ui/components-line-clamp';
6
7
  import { IListConfigItem } from '@libs-ui/components-list';
@@ -8,7 +9,6 @@ import { IPopover } from '@libs-ui/components-popover';
8
9
  import { ISwitchEvent } from '@libs-ui/components-switch';
9
10
  import { TYPE_FUNCTION, TYPE_OBJECT } from '@libs-ui/interfaces-types';
10
11
  import { Observable } from 'rxjs';
11
- import { LibsUiComponentsComponentOutletComponent } from '@libs-ui/components-component-outlet';
12
12
  import { TYPE_ITEM_DATA_TABLE } from './table.type';
13
13
  export interface ITableTemplateConfig {
14
14
  cssWrapper: string;
@@ -36,7 +36,7 @@ export interface ITableFieldTemplateConfig {
36
36
  showButtonHoverMode?: boolean;
37
37
  getDisable?: TYPE_FUNCTION;
38
38
  dropdownConfig?: ITableFieldTemplateConfigDropdown;
39
- getAvatarConfig?: TYPE_FUNCTION<IAvatarConfig>;
39
+ getAvatarConfig?: TYPE_FUNCTION<IAvatarConfig | undefined>;
40
40
  getImageSrc?: (value: any, item?: TYPE_OBJECT, lang?: string, isError?: boolean) => Observable<string>;
41
41
  rows?: Array<ITableTemplateConfig>;
42
42
  rowsTemplateCssWrapper?: string;
package/package.json CHANGED
@@ -1,36 +1,36 @@
1
1
  {
2
2
  "name": "@libs-ui/components-table",
3
- "version": "0.2.356-1",
3
+ "version": "0.2.356-10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
7
- "@libs-ui/components-buttons-button": "0.2.356-1",
7
+ "@libs-ui/components-buttons-button": "0.2.356-10",
8
8
  "@iharbeck/ngx-virtual-scroller": "15.2.0",
9
- "@libs-ui/interfaces-types": "0.2.356-1",
10
- "@libs-ui/components-buttons-sort": "0.2.356-1",
11
- "@libs-ui/components-popover": "0.2.356-1",
12
- "@libs-ui/components-avatar": "0.2.356-1",
13
- "@libs-ui/components-dropdown": "0.2.356-1",
14
- "@libs-ui/components-line-clamp": "0.2.356-1",
15
- "@libs-ui/components-list": "0.2.356-1",
16
- "@libs-ui/components-switch": "0.2.356-1",
17
- "@libs-ui/services-http-request": "0.2.356-1",
9
+ "@libs-ui/interfaces-types": "0.2.356-10",
10
+ "@libs-ui/components-buttons-sort": "0.2.356-10",
11
+ "@libs-ui/components-popover": "0.2.356-10",
12
+ "@libs-ui/components-avatar": "0.2.356-10",
13
+ "@libs-ui/components-dropdown": "0.2.356-10",
14
+ "@libs-ui/components-line-clamp": "0.2.356-10",
15
+ "@libs-ui/components-list": "0.2.356-10",
16
+ "@libs-ui/components-switch": "0.2.356-10",
17
+ "@libs-ui/services-http-request": "0.2.356-10",
18
18
  "rxjs": "~7.8.0",
19
- "@libs-ui/components-checkbox-group": "0.2.356-1",
20
- "@libs-ui/components-checkbox-single": "0.2.356-1",
21
- "@libs-ui/components-scroll-overlay": "0.2.356-1",
22
- "@libs-ui/components-spinner": "0.2.356-1",
23
- "@libs-ui/icons": "0.2.356-1",
24
- "@libs-ui/pipes-call-function-in-template": "0.2.356-1",
25
- "@libs-ui/pipes-check-selected-by-key": "0.2.356-1",
26
- "@libs-ui/utils": "0.2.356-1",
19
+ "@libs-ui/components-checkbox-group": "0.2.356-10",
20
+ "@libs-ui/components-checkbox-single": "0.2.356-10",
21
+ "@libs-ui/components-scroll-overlay": "0.2.356-10",
22
+ "@libs-ui/components-spinner": "0.2.356-10",
23
+ "@libs-ui/icons": "0.2.356-10",
24
+ "@libs-ui/pipes-call-function-in-template": "0.2.356-10",
25
+ "@libs-ui/pipes-check-selected-by-key": "0.2.356-10",
26
+ "@libs-ui/utils": "0.2.356-10",
27
27
  "@ngx-translate/core": "^15.0.0",
28
- "@libs-ui/components-buttons-status": "0.2.356-1",
29
- "@libs-ui/pipes-clone-object": "0.2.356-1",
30
- "@libs-ui/pipes-security-trust": "0.2.356-1",
31
- "@libs-ui/components-badge": "0.2.356-1",
32
- "@libs-ui/pipes-convert-object-to-signal": "0.2.356-1",
33
- "@libs-ui/pipes-get-value-of-object": "0.2.356-1"
28
+ "@libs-ui/components-buttons-status": "0.2.356-10",
29
+ "@libs-ui/pipes-clone-object": "0.2.356-10",
30
+ "@libs-ui/pipes-security-trust": "0.2.356-10",
31
+ "@libs-ui/components-badge": "0.2.356-10",
32
+ "@libs-ui/pipes-convert-object-to-signal": "0.2.356-10",
33
+ "@libs-ui/pipes-get-value-of-object": "0.2.356-10"
34
34
  },
35
35
  "sideEffects": false,
36
36
  "module": "fesm2022/libs-ui-components-table.mjs",