@libs-ui/components-table 0.2.356-9 → 0.2.357-0
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/README.md +668 -83
- package/esm2022/interfaces/function-control-event.interface.mjs +1 -1
- package/esm2022/table.component.mjs +377 -292
- package/esm2022/templates/templates.component.mjs +11 -8
- package/fesm2022/libs-ui-components-table.mjs +386 -298
- package/fesm2022/libs-ui-components-table.mjs.map +1 -1
- package/interfaces/function-control-event.interface.d.ts +3 -2
- package/package.json +28 -25
- package/table.component.d.ts +88 -68
- package/templates/templates.component.d.ts +4 -2
|
@@ -4,9 +4,9 @@ import { TYPE_OBJECT } from '@libs-ui/interfaces-types';
|
|
|
4
4
|
import { TYPE_DATA_TABLE, TYPE_ITEM_DATA_TABLE } from './table.type';
|
|
5
5
|
export interface ITableFunctionControlEvent {
|
|
6
6
|
reset: (clearSort?: boolean) => void;
|
|
7
|
-
callApiByService: (firstCall: boolean, resetAfterCallApi?: boolean) => void;
|
|
7
|
+
callApiByService: (firstCall: boolean, resetAfterCallApi?: boolean, isChangePage?: boolean) => void;
|
|
8
8
|
resetScroll: (scrollPositionLeft?: number, scrollPositionTop?: number) => void;
|
|
9
|
-
removeItems: (keys: Array<unknown>, ignoreReCallFooter?: boolean) => void;
|
|
9
|
+
removeItems: (keys: Array<unknown>, ignoreReCallFooter?: boolean, autoCountNewItem?: boolean) => void;
|
|
10
10
|
addItems: (items: TYPE_DATA_TABLE, addFirst: boolean, ignoreHightLight?: boolean, ignoreReCallFooter?: boolean, autoCountNewItem?: boolean) => void;
|
|
11
11
|
getScrollContainer: () => VirtualScrollerComponent;
|
|
12
12
|
hideToolBarBottom: () => void;
|
|
@@ -17,4 +17,5 @@ export interface ITableFunctionControlEvent {
|
|
|
17
17
|
getStore: () => Array<WritableSignal<TYPE_OBJECT>>;
|
|
18
18
|
getItems: () => Array<WritableSignal<TYPE_OBJECT>>;
|
|
19
19
|
hightLightItem: (items: Array<TYPE_ITEM_DATA_TABLE>) => Promise<void>;
|
|
20
|
+
changePagination: (page?: number) => Promise<void>;
|
|
20
21
|
}
|
package/package.json
CHANGED
|
@@ -1,36 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-table",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.357-0",
|
|
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.
|
|
7
|
+
"@libs-ui/components-buttons-button": "0.2.357-0",
|
|
8
8
|
"@iharbeck/ngx-virtual-scroller": "15.2.0",
|
|
9
|
-
"@libs-ui/interfaces-types": "0.2.
|
|
10
|
-
"@libs-ui/components-buttons-sort": "0.2.
|
|
11
|
-
"@libs-ui/components-popover": "0.2.
|
|
12
|
-
"@libs-ui/components-avatar": "0.2.
|
|
13
|
-
"@libs-ui/components-dropdown": "0.2.
|
|
14
|
-
"@libs-ui/components-line-clamp": "0.2.
|
|
15
|
-
"@libs-ui/components-list": "0.2.
|
|
16
|
-
"@libs-ui/components-switch": "0.2.
|
|
17
|
-
"@libs-ui/services-http-request": "0.2.
|
|
9
|
+
"@libs-ui/interfaces-types": "0.2.357-0",
|
|
10
|
+
"@libs-ui/components-buttons-sort": "0.2.357-0",
|
|
11
|
+
"@libs-ui/components-popover": "0.2.357-0",
|
|
12
|
+
"@libs-ui/components-avatar": "0.2.357-0",
|
|
13
|
+
"@libs-ui/components-dropdown": "0.2.357-0",
|
|
14
|
+
"@libs-ui/components-line-clamp": "0.2.357-0",
|
|
15
|
+
"@libs-ui/components-list": "0.2.357-0",
|
|
16
|
+
"@libs-ui/components-switch": "0.2.357-0",
|
|
17
|
+
"@libs-ui/services-http-request": "0.2.357-0",
|
|
18
18
|
"rxjs": "~7.8.0",
|
|
19
|
-
"@libs-ui/components-checkbox-group": "0.2.
|
|
20
|
-
"@libs-ui/components-checkbox-single": "0.2.
|
|
21
|
-
"@libs-ui/components-scroll-overlay": "0.2.
|
|
22
|
-
"@libs-ui/components-spinner": "0.2.
|
|
23
|
-
"@libs-ui/icons": "0.2.
|
|
24
|
-
"@libs-ui/pipes-call-function-in-template": "0.2.
|
|
25
|
-
"@libs-ui/pipes-check-selected-by-key": "0.2.
|
|
26
|
-
"@libs-ui/utils": "0.2.
|
|
19
|
+
"@libs-ui/components-checkbox-group": "0.2.357-0",
|
|
20
|
+
"@libs-ui/components-checkbox-single": "0.2.357-0",
|
|
21
|
+
"@libs-ui/components-scroll-overlay": "0.2.357-0",
|
|
22
|
+
"@libs-ui/components-spinner": "0.2.357-0",
|
|
23
|
+
"@libs-ui/icons": "0.2.357-0",
|
|
24
|
+
"@libs-ui/pipes-call-function-in-template": "0.2.357-0",
|
|
25
|
+
"@libs-ui/pipes-check-selected-by-key": "0.2.357-0",
|
|
26
|
+
"@libs-ui/utils": "0.2.357-0",
|
|
27
27
|
"@ngx-translate/core": "^15.0.0",
|
|
28
|
-
"@libs-ui/components-buttons-status": "0.2.
|
|
29
|
-
"@libs-ui/pipes-clone-object": "0.2.
|
|
30
|
-
"@libs-ui/pipes-security-trust": "0.2.
|
|
31
|
-
"@libs-ui/components-badge": "0.2.
|
|
32
|
-
"@libs-ui/pipes-convert-object-to-signal": "0.2.
|
|
33
|
-
"@libs-ui/pipes-get-value-of-object": "0.2.
|
|
28
|
+
"@libs-ui/components-buttons-status": "0.2.357-0",
|
|
29
|
+
"@libs-ui/pipes-clone-object": "0.2.357-0",
|
|
30
|
+
"@libs-ui/pipes-security-trust": "0.2.357-0",
|
|
31
|
+
"@libs-ui/components-badge": "0.2.357-0",
|
|
32
|
+
"@libs-ui/pipes-convert-object-to-signal": "0.2.357-0",
|
|
33
|
+
"@libs-ui/pipes-get-value-of-object": "0.2.357-0",
|
|
34
|
+
"@libs-ui/components-component-outlet": "0.2.357-0",
|
|
35
|
+
"@libs-ui/components-pagination": "0.2.357-0",
|
|
36
|
+
"@libs-ui/components-scroll-measure-items-direction-horizontal": "0.2.357-0"
|
|
34
37
|
},
|
|
35
38
|
"sideEffects": false,
|
|
36
39
|
"module": "fesm2022/libs-ui-components-table.mjs",
|
package/table.component.d.ts
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit, WritableSignal } from '@angular/core';
|
|
2
2
|
import { IButton } from '@libs-ui/components-buttons-button';
|
|
3
3
|
import { ISort } from '@libs-ui/components-buttons-sort';
|
|
4
4
|
import { ICheckboxItem } from '@libs-ui/components-checkbox-group';
|
|
5
5
|
import { ICheckboxEvent } from '@libs-ui/components-checkbox-single';
|
|
6
6
|
import { IDropdownFunctionControlEvent, IEmitSelectKey } from '@libs-ui/components-dropdown';
|
|
7
7
|
import { IListConfigItem } from '@libs-ui/components-list';
|
|
8
|
-
import {
|
|
9
|
-
import { IHttpResponseError,
|
|
8
|
+
import { IPaginationConfig } from '@libs-ui/components-pagination';
|
|
9
|
+
import { IHttpResponseError, TYPE_OBJECT } from '@libs-ui/interfaces-types';
|
|
10
10
|
import { IHttpRequestConfig } from '@libs-ui/services-http-request';
|
|
11
|
-
import { IButtonBarEvent, IConfigSelectMoreItem, IConfigTemplateItemCollapseExpand,
|
|
11
|
+
import { IButtonBarEvent, IConfigSelectMoreItem, IConfigTemplateItemCollapseExpand, ILoadMoreEvent, ISortEvent, ITableFooterConfig, ITableHeaderConfig, TYPE_DATA_FILTER_TABLE, TYPE_ITEM_DATA_TABLE, TYPE_NEW_DATA_TABLE, TYPE_TABLE_FILTER } from './interfaces';
|
|
12
12
|
import { ITableFunctionControlEvent } from './interfaces/function-control-event.interface';
|
|
13
13
|
import { ITableNoDataConfig } from './interfaces/no-data-config.interface';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class LibsUiComponentsTableComponent implements OnInit, OnDestroy {
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
protected
|
|
16
|
+
/** GROUP 1 — private non-signal */
|
|
17
|
+
private functionControlSelectMoreItem?;
|
|
18
|
+
/** GROUP 2 — protected non-signal */
|
|
19
|
+
protected itemOfIndexHover?: TYPE_ITEM_DATA_TABLE;
|
|
20
|
+
/** GROUP 3 — private signal */
|
|
21
|
+
private readonly moreItemPopoverConfig;
|
|
22
|
+
private readonly moreItemTextConfig;
|
|
23
|
+
private readonly moreItemHttpData;
|
|
24
|
+
private readonly hasScroll;
|
|
25
|
+
private readonly instanceSort;
|
|
26
|
+
private readonly pagingStore;
|
|
27
|
+
private readonly loadedLastItem;
|
|
28
|
+
private readonly storeParamsCallApi;
|
|
29
|
+
private readonly timeoutLeaveItem;
|
|
30
|
+
private readonly mouseEnterHeader;
|
|
31
|
+
private readonly stores;
|
|
32
|
+
private readonly totalItemInBackend;
|
|
33
|
+
/** GROUP 4 — protected signal */
|
|
19
34
|
protected keysSelected: WritableSignal<any[]>;
|
|
20
35
|
protected loading: WritableSignal<boolean>;
|
|
21
|
-
protected stores: WritableSignal<WritableSignal<TYPE_OBJECT>[]>;
|
|
22
36
|
protected items: WritableSignal<WritableSignal<TYPE_OBJECT>[]>;
|
|
23
37
|
protected itemFooter: WritableSignal<TYPE_OBJECT | undefined>;
|
|
24
|
-
protected itemOfIndexHover?: TYPE_ITEM_DATA_TABLE;
|
|
25
38
|
protected keySearch: WritableSignal<string>;
|
|
26
|
-
protected totalItemInBackend: WritableSignal<number>;
|
|
27
|
-
protected totalItemDisplay: import("@angular/core").Signal<any>;
|
|
28
|
-
protected listConfigMoreItem: import("@angular/core").Signal<IListConfigItem>;
|
|
29
39
|
protected itemsHightLight: WritableSignal<TYPE_ITEM_DATA_TABLE[]>;
|
|
30
|
-
protected
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
protected pagingStore: WritableSignal<IPaging | undefined>;
|
|
35
|
-
private loadedLastItem;
|
|
36
|
-
private storeParamsCallApi;
|
|
37
|
-
private timeoutLeaveItem;
|
|
38
|
-
private functionControlSelectMoreItem?;
|
|
39
|
-
private mouseEnterHeader;
|
|
40
|
-
/** INPUT */
|
|
40
|
+
protected headerRightViewPort: WritableSignal<ITableHeaderConfig[]>;
|
|
41
|
+
protected paddingLeftHeaderRight: WritableSignal<number>;
|
|
42
|
+
protected footerRightViewPort: WritableSignal<ITableFooterConfig[]>;
|
|
43
|
+
/** GROUP 5 — input() */
|
|
41
44
|
readonly optimizeTableRenderByOnViewport: import("@angular/core").InputSignal<boolean | undefined>;
|
|
42
45
|
readonly timeHighlighNewItem: import("@angular/core").InputSignalWithTransform<number, number | undefined>;
|
|
43
46
|
readonly headerLeft: import("@angular/core").InputSignalWithTransform<ITableHeaderConfig[], ITableHeaderConfig[] | undefined>;
|
|
@@ -87,72 +90,70 @@ export declare class LibsUiComponentsTableComponent implements OnInit, OnDestroy
|
|
|
87
90
|
readonly onlyShowNoResult: import("@angular/core").InputSignal<boolean | undefined>;
|
|
88
91
|
readonly ignoreBorderItem: import("@angular/core").InputSignal<boolean | undefined>;
|
|
89
92
|
readonly activityLoadData: import("@angular/core").InputSignalWithTransform<"scroll-infinity" | "click-pagination", "scroll-infinity" | "click-pagination" | undefined>;
|
|
90
|
-
readonly paginationSetting: import("@angular/core").InputSignal<
|
|
91
|
-
position?: "top" | "bottom";
|
|
92
|
-
classIncludeContainer?: string;
|
|
93
|
-
classIncludeItem?: string;
|
|
94
|
-
disable?: boolean;
|
|
95
|
-
numberPageDisplay?: number;
|
|
96
|
-
showTotalPage?: boolean;
|
|
97
|
-
showInputGotoPage?: boolean;
|
|
98
|
-
modeDisplayTotalPageAndGotoPage?: "top" | "bottom" | "left" | "right";
|
|
99
|
-
classDisplayTotalPageAndGotoPage?: string;
|
|
100
|
-
} | undefined>;
|
|
93
|
+
readonly paginationSetting: import("@angular/core").InputSignal<IPaginationConfig | undefined>;
|
|
101
94
|
readonly templateNoData: import("@angular/core").InputSignal<any>;
|
|
102
95
|
readonly templateNoResult: import("@angular/core").InputSignal<any>;
|
|
103
|
-
|
|
96
|
+
readonly autoEmitKeysSelectedWithItems: import("@angular/core").InputSignal<boolean | undefined>;
|
|
97
|
+
readonly functionGetWidthItem: import("@angular/core").InputSignal<(() => Promise<number>) | undefined>;
|
|
98
|
+
readonly useScrollMeasureColumn: import("@angular/core").InputSignal<boolean | undefined>;
|
|
99
|
+
/** GROUP 6 — protected computed */
|
|
100
|
+
protected classHeaderContainer: import("@angular/core").Signal<string>;
|
|
101
|
+
protected classHeaderLeftContainer: import("@angular/core").Signal<string>;
|
|
102
|
+
protected totalItemDisplay: import("@angular/core").Signal<any>;
|
|
103
|
+
protected listConfigMoreItem: import("@angular/core").Signal<IListConfigItem>;
|
|
104
|
+
protected hasItemHightLight: import("@angular/core").Signal<boolean>;
|
|
105
|
+
protected classLabelBarNoSelectItemCss: import("@angular/core").Signal<string>;
|
|
106
|
+
protected paginationConfig: import("@angular/core").Signal<{
|
|
107
|
+
modeDisplayTotalPageAndGotoPage: "top" | "bottom" | "left" | "right";
|
|
108
|
+
classDisplayTotalPageAndGotoPage: string;
|
|
109
|
+
classIncludeItem: string;
|
|
110
|
+
classIncludeContainer: string;
|
|
111
|
+
disable: boolean;
|
|
112
|
+
numberPageDisplay: number;
|
|
113
|
+
showTotalPage: boolean;
|
|
114
|
+
showInputGotoPage: boolean;
|
|
115
|
+
firstPageStartNumber: 0 | 1;
|
|
116
|
+
}>;
|
|
117
|
+
protected pagingTotalItems: import("@angular/core").Signal<number>;
|
|
118
|
+
protected pagingPerPage: import("@angular/core").Signal<number>;
|
|
119
|
+
protected pagingCurrentPage: import("@angular/core").Signal<number>;
|
|
120
|
+
protected noDataText: import("@angular/core").Signal<string>;
|
|
121
|
+
protected noDataSearchText: import("@angular/core").Signal<string>;
|
|
122
|
+
/** GROUP 7 — output() */
|
|
104
123
|
readonly outLoadMore: import("@angular/core").OutputEmitterRef<ILoadMoreEvent>;
|
|
105
124
|
readonly outScrollIsGone: import("@angular/core").OutputEmitterRef<ILoadMoreEvent>;
|
|
106
125
|
readonly outLoading: import("@angular/core").OutputEmitterRef<boolean>;
|
|
107
|
-
readonly outClickButtonAction: import("@angular/core").OutputEmitterRef<ITabelButtonActionEvent>;
|
|
108
126
|
readonly outSort: import("@angular/core").OutputEmitterRef<ISortEvent>;
|
|
109
127
|
readonly outClickBarButton: import("@angular/core").OutputEmitterRef<IButtonBarEvent>;
|
|
110
|
-
readonly outHoverButtonAction: import("@angular/core").OutputEmitterRef<IHoverButtonActionEvent>;
|
|
111
128
|
readonly outKeysSelected: import("@angular/core").OutputEmitterRef<{
|
|
112
129
|
keys: Array<any>;
|
|
130
|
+
items?: Array<WritableSignal<any>>;
|
|
113
131
|
}>;
|
|
114
132
|
readonly outFunctionsControl: import("@angular/core").OutputEmitterRef<ITableFunctionControlEvent>;
|
|
115
133
|
readonly outLoadDataComplete: import("@angular/core").OutputEmitterRef<WritableSignal<WritableSignal<any>[]>>;
|
|
116
134
|
readonly outTotalItem: import("@angular/core").OutputEmitterRef<number>;
|
|
117
135
|
readonly outLoadDataError: import("@angular/core").OutputEmitterRef<IHttpResponseError>;
|
|
118
|
-
/**
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
private bodyElementRef;
|
|
123
|
-
private bodyComponentRef;
|
|
124
|
-
|
|
125
|
-
private
|
|
126
|
-
private
|
|
127
|
-
private
|
|
136
|
+
/** GROUP 8 — viewChild() (private) */
|
|
137
|
+
private readonly headerElementRef;
|
|
138
|
+
private readonly footerElementRef;
|
|
139
|
+
private readonly footerLeftElementRef;
|
|
140
|
+
private readonly bodyElementRef;
|
|
141
|
+
private readonly bodyComponentRef;
|
|
142
|
+
private readonly paginationRef;
|
|
143
|
+
/** GROUP 9 — inject() (private readonly) */
|
|
144
|
+
private readonly httpRequestService;
|
|
145
|
+
private readonly destroyRef;
|
|
146
|
+
private readonly cdr;
|
|
128
147
|
constructor();
|
|
129
148
|
ngOnInit(): void;
|
|
130
149
|
get FunctionsControl(): ITableFunctionControlEvent;
|
|
131
|
-
protected getIndexRow: (data: {
|
|
132
|
-
value: TYPE_ITEM_DATA_TABLE;
|
|
133
|
-
}) => import("rxjs").Observable<number>;
|
|
134
|
-
private getScrollContainer;
|
|
135
|
-
private callApiByService;
|
|
136
|
-
protected fakeResponseApi(): TYPE_OBJECT;
|
|
137
|
-
private callApiByServiceFooter;
|
|
138
|
-
private addItems;
|
|
139
|
-
private checkExistItem;
|
|
140
|
-
private removeItems;
|
|
141
|
-
private getCount;
|
|
142
|
-
private loadMoreSuccess;
|
|
143
150
|
protected handlerChangeAllChecked(): void;
|
|
144
|
-
protected handlerChangeCheckedAllItems(event: ICheckboxEvent): void
|
|
145
|
-
private checkCancelConditionCheckedItem;
|
|
151
|
+
protected handlerChangeCheckedAllItems(event: ICheckboxEvent): Promise<void>;
|
|
146
152
|
protected handlerChangeItemChecked(event: ICheckboxItem, item: TYPE_OBJECT): void;
|
|
147
153
|
protected handlerChangeSort(sort: ISort): Promise<void>;
|
|
148
|
-
private handlerSortLocal;
|
|
149
154
|
protected handlerFunctionControlMoreSelectItem(functionControl: IDropdownFunctionControlEvent): void;
|
|
150
155
|
protected handlerSelectedMoreItem(event: IEmitSelectKey | undefined): void;
|
|
151
|
-
private setPerPageSelectMoreItem;
|
|
152
|
-
private onSortSuccess;
|
|
153
|
-
protected handlerButtonClick(type: 'button' | 'button-dropdown', buttonDropdownData: any, button: IButton): void;
|
|
154
156
|
protected handlerBarButtonClick(button: IButton): void;
|
|
155
|
-
protected handlerButtonDropdownEvent(eventName: TYPE_POPOVER_EVENT): void;
|
|
156
157
|
protected setIndexHover(e: Event, item: WritableSignal<TYPE_OBJECT>): void;
|
|
157
158
|
protected resetIndexHoverWhenMouseLeave(e?: Event): void;
|
|
158
159
|
protected resetIndexHover(e?: Event): void;
|
|
@@ -165,12 +166,31 @@ export declare class LibsUiComponentsTableComponent implements OnInit, OnDestroy
|
|
|
165
166
|
protected handlerScrollBody(e: Event): void;
|
|
166
167
|
protected handlerScrollBottom(e: Event): void;
|
|
167
168
|
protected handlerChangePage(page: number): void;
|
|
169
|
+
protected handlerOutViewPortItemHeaderRight(event: Array<any>): void;
|
|
170
|
+
protected handlerOutPaddingLeftHeaderRight(event: number): void;
|
|
171
|
+
protected handlerOutViewPortItemFooterRight(event: Array<any>): void;
|
|
172
|
+
protected getIndexRow: (data: {
|
|
173
|
+
value: TYPE_ITEM_DATA_TABLE;
|
|
174
|
+
}) => import("rxjs").Observable<number>;
|
|
175
|
+
private fakeResponseApi;
|
|
176
|
+
private getScrollContainer;
|
|
177
|
+
private callApiByService;
|
|
178
|
+
private callApiByServiceFooter;
|
|
179
|
+
private addItems;
|
|
180
|
+
private removeItems;
|
|
181
|
+
private getCount;
|
|
182
|
+
private loadMoreSuccess;
|
|
183
|
+
private checkCancelConditionCheckedItem;
|
|
184
|
+
private handlerSortLocal;
|
|
185
|
+
private setPerPageSelectMoreItem;
|
|
186
|
+
private onSortSuccess;
|
|
168
187
|
private resetScroll;
|
|
169
188
|
private reset;
|
|
170
189
|
private checkScroll;
|
|
171
|
-
|
|
190
|
+
private get bodyElement();
|
|
172
191
|
private hightLightItem;
|
|
192
|
+
private emitKeysSelected;
|
|
173
193
|
ngOnDestroy(): void;
|
|
174
194
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsTableComponent, never>;
|
|
175
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibsUiComponentsTableComponent, "libs_ui-components-table", never, { "optimizeTableRenderByOnViewport": { "alias": "optimizeTableRenderByOnViewport"; "required": false; "isSignal": true; }; "timeHighlighNewItem": { "alias": "timeHighlighNewItem"; "required": false; "isSignal": true; }; "headerLeft": { "alias": "headerLeft"; "required": false; "isSignal": true; }; "headerRight": { "alias": "headerRight"; "required": false; "isSignal": true; }; "ignoreCalculatorWidthHeader": { "alias": "ignoreCalculatorWidthHeader"; "required": false; "isSignal": true; }; "configTemplateItemCollapseExpand": { "alias": "configTemplateItemCollapseExpand"; "required": false; "isSignal": true; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "ignoreBorderFooter": { "alias": "ignoreBorderFooter"; "required": false; "isSignal": true; }; "customPositionFooter": { "alias": "customPositionFooter"; "required": false; "isSignal": true; }; "footerLeft": { "alias": "footerLeft"; "required": false; "isSignal": true; }; "footerRight": { "alias": "footerRight"; "required": false; "isSignal": true; }; "disableCheckbox": { "alias": "disableCheckbox"; "required": false; "isSignal": true; }; "enableUnequalChildrenSizes": { "alias": "enableUnequalChildrenSizes"; "required": false; "isSignal": true; }; "bufferAmount": { "alias": "bufferAmount"; "required": false; "isSignal": true; }; "totalItem": { "alias": "totalItem"; "required": false; "isSignal": true; }; "isDashBorder": { "alias": "isDashBorder"; "required": false; "isSignal": true; }; "classHeaderContainerInclude": { "alias": "classHeaderContainerInclude"; "required": false; "isSignal": true; }; "classHeaderLeftInclude": { "alias": "classHeaderLeftInclude"; "required": false; "isSignal": true; }; "classBodyInclude": { "alias": "classBodyInclude"; "required": false; "isSignal": true; }; "classFooterInclude": { "alias": "classFooterInclude"; "required": false; "isSignal": true; }; "classTableContainerInclude": { "alias": "classTableContainerInclude"; "required": false; "isSignal": true; }; "classBarInclude": { "alias": "classBarInclude"; "required": false; "isSignal": true; }; "fieldKey": { "alias": "fieldKey"; "required": false; "isSignal": true; }; "defaultKeysSelected": { "alias": "defaultKeysSelected"; "required": false; "isSignal": true; }; "labelBarNoSelectItem": { "alias": "labelBarNoSelectItem"; "required": false; "isSignal": true; }; "labelBarButtons": { "alias": "labelBarButtons"; "required": false; "isSignal": true; }; "classLabelBarButtons": { "alias": "classLabelBarButtons"; "required": false; "isSignal": true; }; "barButtons": { "alias": "barButtons"; "required": false; "isSignal": true; }; "sortLocal": { "alias": "sortLocal"; "required": false; "isSignal": true; }; "filterOrSortLocal": { "alias": "filterOrSortLocal"; "required": false; "isSignal": true; }; "httpRequestData": { "alias": "httpRequestData"; "required": false; "isSignal": true; }; "httpRequestDataFooter": { "alias": "httpRequestDataFooter"; "required": false; "isSignal": true; }; "newData": { "alias": "newData"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "ignoreBar": { "alias": "ignoreBar"; "required": false; "isSignal": true; }; "classLabelBarNoSelectItem": { "alias": "classLabelBarNoSelectItem"; "required": false; "isSignal": true; }; "ignoreClassBgHeader": { "alias": "ignoreClassBgHeader"; "required": false; "isSignal": true; }; "noDataConfig": { "alias": "noDataConfig"; "required": false; "isSignal": true; }; "showScrollTablePinnedIfNoData": { "alias": "showScrollTablePinnedIfNoData"; "required": false; "isSignal": true; }; "ignoreBorderItemLast": { "alias": "ignoreBorderItemLast"; "required": false; "isSignal": true; }; "isHiddenHeaderWhenNodata": { "alias": "isHiddenHeaderWhenNodata"; "required": false; "isSignal": true; }; "maxItemSelected": { "alias": "maxItemSelected"; "required": false; "isSignal": true; }; "configSelectMoreItem": { "alias": "configSelectMoreItem"; "required": false; "isSignal": true; }; "onlyShowNoResult": { "alias": "onlyShowNoResult"; "required": false; "isSignal": true; }; "ignoreBorderItem": { "alias": "ignoreBorderItem"; "required": false; "isSignal": true; }; "activityLoadData": { "alias": "activityLoadData"; "required": false; "isSignal": true; }; "paginationSetting": { "alias": "paginationSetting"; "required": false; "isSignal": true; }; "templateNoData": { "alias": "templateNoData"; "required": false; "isSignal": true; }; "templateNoResult": { "alias": "templateNoResult"; "required": false; "isSignal": true; }; }
|
|
195
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibsUiComponentsTableComponent, "libs_ui-components-table", never, { "optimizeTableRenderByOnViewport": { "alias": "optimizeTableRenderByOnViewport"; "required": false; "isSignal": true; }; "timeHighlighNewItem": { "alias": "timeHighlighNewItem"; "required": false; "isSignal": true; }; "headerLeft": { "alias": "headerLeft"; "required": false; "isSignal": true; }; "headerRight": { "alias": "headerRight"; "required": false; "isSignal": true; }; "ignoreCalculatorWidthHeader": { "alias": "ignoreCalculatorWidthHeader"; "required": false; "isSignal": true; }; "configTemplateItemCollapseExpand": { "alias": "configTemplateItemCollapseExpand"; "required": false; "isSignal": true; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "ignoreBorderFooter": { "alias": "ignoreBorderFooter"; "required": false; "isSignal": true; }; "customPositionFooter": { "alias": "customPositionFooter"; "required": false; "isSignal": true; }; "footerLeft": { "alias": "footerLeft"; "required": false; "isSignal": true; }; "footerRight": { "alias": "footerRight"; "required": false; "isSignal": true; }; "disableCheckbox": { "alias": "disableCheckbox"; "required": false; "isSignal": true; }; "enableUnequalChildrenSizes": { "alias": "enableUnequalChildrenSizes"; "required": false; "isSignal": true; }; "bufferAmount": { "alias": "bufferAmount"; "required": false; "isSignal": true; }; "totalItem": { "alias": "totalItem"; "required": false; "isSignal": true; }; "isDashBorder": { "alias": "isDashBorder"; "required": false; "isSignal": true; }; "classHeaderContainerInclude": { "alias": "classHeaderContainerInclude"; "required": false; "isSignal": true; }; "classHeaderLeftInclude": { "alias": "classHeaderLeftInclude"; "required": false; "isSignal": true; }; "classBodyInclude": { "alias": "classBodyInclude"; "required": false; "isSignal": true; }; "classFooterInclude": { "alias": "classFooterInclude"; "required": false; "isSignal": true; }; "classTableContainerInclude": { "alias": "classTableContainerInclude"; "required": false; "isSignal": true; }; "classBarInclude": { "alias": "classBarInclude"; "required": false; "isSignal": true; }; "fieldKey": { "alias": "fieldKey"; "required": false; "isSignal": true; }; "defaultKeysSelected": { "alias": "defaultKeysSelected"; "required": false; "isSignal": true; }; "labelBarNoSelectItem": { "alias": "labelBarNoSelectItem"; "required": false; "isSignal": true; }; "labelBarButtons": { "alias": "labelBarButtons"; "required": false; "isSignal": true; }; "classLabelBarButtons": { "alias": "classLabelBarButtons"; "required": false; "isSignal": true; }; "barButtons": { "alias": "barButtons"; "required": false; "isSignal": true; }; "sortLocal": { "alias": "sortLocal"; "required": false; "isSignal": true; }; "filterOrSortLocal": { "alias": "filterOrSortLocal"; "required": false; "isSignal": true; }; "httpRequestData": { "alias": "httpRequestData"; "required": false; "isSignal": true; }; "httpRequestDataFooter": { "alias": "httpRequestDataFooter"; "required": false; "isSignal": true; }; "newData": { "alias": "newData"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "ignoreBar": { "alias": "ignoreBar"; "required": false; "isSignal": true; }; "classLabelBarNoSelectItem": { "alias": "classLabelBarNoSelectItem"; "required": false; "isSignal": true; }; "ignoreClassBgHeader": { "alias": "ignoreClassBgHeader"; "required": false; "isSignal": true; }; "noDataConfig": { "alias": "noDataConfig"; "required": false; "isSignal": true; }; "showScrollTablePinnedIfNoData": { "alias": "showScrollTablePinnedIfNoData"; "required": false; "isSignal": true; }; "ignoreBorderItemLast": { "alias": "ignoreBorderItemLast"; "required": false; "isSignal": true; }; "isHiddenHeaderWhenNodata": { "alias": "isHiddenHeaderWhenNodata"; "required": false; "isSignal": true; }; "maxItemSelected": { "alias": "maxItemSelected"; "required": false; "isSignal": true; }; "configSelectMoreItem": { "alias": "configSelectMoreItem"; "required": false; "isSignal": true; }; "onlyShowNoResult": { "alias": "onlyShowNoResult"; "required": false; "isSignal": true; }; "ignoreBorderItem": { "alias": "ignoreBorderItem"; "required": false; "isSignal": true; }; "activityLoadData": { "alias": "activityLoadData"; "required": false; "isSignal": true; }; "paginationSetting": { "alias": "paginationSetting"; "required": false; "isSignal": true; }; "templateNoData": { "alias": "templateNoData"; "required": false; "isSignal": true; }; "templateNoResult": { "alias": "templateNoResult"; "required": false; "isSignal": true; }; "autoEmitKeysSelectedWithItems": { "alias": "autoEmitKeysSelectedWithItems"; "required": false; "isSignal": true; }; "functionGetWidthItem": { "alias": "functionGetWidthItem"; "required": false; "isSignal": true; }; "useScrollMeasureColumn": { "alias": "useScrollMeasureColumn"; "required": false; "isSignal": true; }; }, { "outLoadMore": "outLoadMore"; "outScrollIsGone": "outScrollIsGone"; "outLoading": "outLoading"; "outSort": "outSort"; "outClickBarButton": "outClickBarButton"; "outKeysSelected": "outKeysSelected"; "outFunctionsControl": "outFunctionsControl"; "outLoadDataComplete": "outLoadDataComplete"; "outTotalItem": "outTotalItem"; "outLoadDataError": "outLoadDataError"; }, never, ["div.libs-ui-table-bar-left", "div.libs-ui-table-bar-right"], true, never>;
|
|
176
196
|
}
|
|
@@ -8,12 +8,14 @@ import { ITableFieldTemplateConfig, ITableTemplateConfig } from '../interfaces/t
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class LibsUiComponentsTableTemplatesComponent implements OnDestroy {
|
|
10
10
|
private lockClick;
|
|
11
|
-
private
|
|
12
|
-
|
|
11
|
+
private lockClickTimeoutId;
|
|
12
|
+
private readonly functionControls;
|
|
13
|
+
protected isImageError: import("@angular/core").WritableSignal<boolean | undefined>;
|
|
13
14
|
readonly isHover: import("@angular/core").InputSignal<boolean | undefined>;
|
|
14
15
|
readonly configs: import("@angular/core").InputSignal<ITableTemplateConfig[] | undefined>;
|
|
15
16
|
readonly templateCssWrapper: import("@angular/core").InputSignal<string | undefined>;
|
|
16
17
|
readonly item: import("@angular/core").InputSignal<TYPE_ITEM_DATA_TABLE>;
|
|
18
|
+
protected templateCssWrapperComputed: import("@angular/core").Signal<string>;
|
|
17
19
|
protected handlerItemClick(event: Event | TYPE_POPOVER_EVENT | undefined, config: ITableFieldTemplateConfig): Promise<void>;
|
|
18
20
|
protected clickButtonAction(button: IButton): Promise<void>;
|
|
19
21
|
protected handlerSwitch(switchItem: ISwitchEvent, config: ITableFieldTemplateConfig): Promise<void>;
|