@libs-ui/components-table 0.2.346-4 → 0.2.346-6
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/esm2022/interfaces/function-control-event.interface.mjs +1 -1
- package/esm2022/pipes/check-item-hight-light.pipe.mjs +17 -0
- package/esm2022/table.component.mjs +19 -15
- package/fesm2022/libs-ui-components-table.mjs +33 -15
- package/fesm2022/libs-ui-components-table.mjs.map +1 -1
- package/interfaces/function-control-event.interface.d.ts +2 -2
- package/package.json +25 -25
- package/pipes/check-item-hight-light.pipe.d.ts +8 -0
- package/table.component.d.ts +2 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VirtualScrollerComponent } from '@iharbeck/ngx-virtual-scroller';
|
|
2
|
-
import { TYPE_DATA_TABLE } from './table.type';
|
|
2
|
+
import { TYPE_DATA_TABLE, TYPE_ITEM_DATA_TABLE } from './table.type';
|
|
3
3
|
import { WritableSignal } from '@angular/core';
|
|
4
4
|
import { TYPE_OBJECT } from '@libs-ui/interfaces-types';
|
|
5
5
|
export interface ITableFunctionControlEvent {
|
|
@@ -15,5 +15,5 @@ export interface ITableFunctionControlEvent {
|
|
|
15
15
|
setCountPagingStore: (count: number) => void;
|
|
16
16
|
getCount: () => number;
|
|
17
17
|
getStore: () => Array<WritableSignal<TYPE_OBJECT>>;
|
|
18
|
-
hightLightItem: (items:
|
|
18
|
+
hightLightItem: (items: Array<TYPE_ITEM_DATA_TABLE>) => Promise<void>;
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-table",
|
|
3
|
-
"version": "0.2.346-
|
|
3
|
+
"version": "0.2.346-6",
|
|
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.346-
|
|
7
|
+
"@libs-ui/components-buttons-button": "0.2.346-6",
|
|
8
8
|
"@iharbeck/ngx-virtual-scroller": "15.2.0",
|
|
9
|
-
"@libs-ui/interfaces-types": "0.2.346-
|
|
10
|
-
"@libs-ui/components-buttons-sort": "0.2.346-
|
|
11
|
-
"@libs-ui/components-popover": "0.2.346-
|
|
12
|
-
"@libs-ui/components-avatar": "0.2.346-
|
|
13
|
-
"@libs-ui/components-dropdown": "0.2.346-
|
|
14
|
-
"@libs-ui/components-line-clamp": "0.2.346-
|
|
15
|
-
"@libs-ui/components-list": "0.2.346-
|
|
16
|
-
"@libs-ui/components-switch": "0.2.346-
|
|
17
|
-
"@libs-ui/services-http-request": "0.2.346-
|
|
9
|
+
"@libs-ui/interfaces-types": "0.2.346-6",
|
|
10
|
+
"@libs-ui/components-buttons-sort": "0.2.346-6",
|
|
11
|
+
"@libs-ui/components-popover": "0.2.346-6",
|
|
12
|
+
"@libs-ui/components-avatar": "0.2.346-6",
|
|
13
|
+
"@libs-ui/components-dropdown": "0.2.346-6",
|
|
14
|
+
"@libs-ui/components-line-clamp": "0.2.346-6",
|
|
15
|
+
"@libs-ui/components-list": "0.2.346-6",
|
|
16
|
+
"@libs-ui/components-switch": "0.2.346-6",
|
|
17
|
+
"@libs-ui/services-http-request": "0.2.346-6",
|
|
18
18
|
"rxjs": "~7.8.0",
|
|
19
|
-
"@libs-ui/components-checkbox-group": "0.2.346-
|
|
20
|
-
"@libs-ui/components-checkbox-single": "0.2.346-
|
|
21
|
-
"@libs-ui/components-scroll-overlay": "0.2.346-
|
|
22
|
-
"@libs-ui/components-spinner": "0.2.346-
|
|
23
|
-
"@libs-ui/icons": "0.2.346-
|
|
24
|
-
"@libs-ui/pipes-call-function-in-template": "0.2.346-
|
|
25
|
-
"@libs-ui/pipes-check-selected-by-key": "0.2.346-
|
|
26
|
-
"@libs-ui/utils": "0.2.346-
|
|
19
|
+
"@libs-ui/components-checkbox-group": "0.2.346-6",
|
|
20
|
+
"@libs-ui/components-checkbox-single": "0.2.346-6",
|
|
21
|
+
"@libs-ui/components-scroll-overlay": "0.2.346-6",
|
|
22
|
+
"@libs-ui/components-spinner": "0.2.346-6",
|
|
23
|
+
"@libs-ui/icons": "0.2.346-6",
|
|
24
|
+
"@libs-ui/pipes-call-function-in-template": "0.2.346-6",
|
|
25
|
+
"@libs-ui/pipes-check-selected-by-key": "0.2.346-6",
|
|
26
|
+
"@libs-ui/utils": "0.2.346-6",
|
|
27
27
|
"@ngx-translate/core": "^15.0.0",
|
|
28
|
-
"@libs-ui/components-buttons-status": "0.2.346-
|
|
29
|
-
"@libs-ui/pipes-clone-object": "0.2.346-
|
|
30
|
-
"@libs-ui/pipes-security-trust": "0.2.346-
|
|
31
|
-
"@libs-ui/components-badge": "0.2.346-
|
|
32
|
-
"@libs-ui/pipes-convert-object-to-signal": "0.2.346-
|
|
33
|
-
"@libs-ui/pipes-get-value-of-object": "0.2.346-
|
|
28
|
+
"@libs-ui/components-buttons-status": "0.2.346-6",
|
|
29
|
+
"@libs-ui/pipes-clone-object": "0.2.346-6",
|
|
30
|
+
"@libs-ui/pipes-security-trust": "0.2.346-6",
|
|
31
|
+
"@libs-ui/components-badge": "0.2.346-6",
|
|
32
|
+
"@libs-ui/pipes-convert-object-to-signal": "0.2.346-6",
|
|
33
|
+
"@libs-ui/pipes-get-value-of-object": "0.2.346-6"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"module": "fesm2022/libs-ui-components-table.mjs",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { TYPE_ITEM_DATA_TABLE } from '../interfaces/table.type';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LibsUiTableCheckItemHightLightPipe implements PipeTransform {
|
|
5
|
+
transform(item: TYPE_ITEM_DATA_TABLE, itemsHightLight: Array<TYPE_ITEM_DATA_TABLE>): boolean;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiTableCheckItemHightLightPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LibsUiTableCheckItemHightLightPipe, "LibsUiTableCheckItemHightLightPipe", true>;
|
|
8
|
+
}
|
package/table.component.d.ts
CHANGED
|
@@ -24,9 +24,10 @@ export declare class LibsUiComponentsTableComponent implements OnInit, OnDestroy
|
|
|
24
24
|
protected itemOfIndexHover?: TYPE_ITEM_DATA_TABLE;
|
|
25
25
|
protected keySearch: WritableSignal<string>;
|
|
26
26
|
protected totalItemInBackend: WritableSignal<number>;
|
|
27
|
-
protected hasItemHightLight: WritableSignal<boolean>;
|
|
28
27
|
protected totalItemDisplay: import("@angular/core").Signal<any>;
|
|
29
28
|
protected listConfigMoreItem: import("@angular/core").Signal<IListConfigItem>;
|
|
29
|
+
protected itemsHightLight: WritableSignal<TYPE_ITEM_DATA_TABLE[]>;
|
|
30
|
+
protected hasItemHightLight: import("@angular/core").Signal<boolean>;
|
|
30
31
|
private hasScroll;
|
|
31
32
|
private instanceSort;
|
|
32
33
|
private hasActionButtonDropdownContent;
|