@libs-ui/components-list 0.2.199 → 0.2.202
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/defines/list.define.d.ts +1 -1
- package/esm2022/interfaces/config-item.interface.mjs +1 -1
- package/esm2022/templates/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/templates/group/group.component.mjs +3 -3
- package/esm2022/templates/group/item/item.component.mjs +3 -3
- package/esm2022/templates/radio/radio.component.mjs +3 -3
- package/esm2022/templates/rows/rows.component.mjs +3 -3
- package/esm2022/templates/text/text.component.mjs +3 -3
- package/fesm2022/libs-ui-components-list.mjs +12 -12
- package/fesm2022/libs-ui-components-list.mjs.map +1 -1
- package/interfaces/config-item.interface.d.ts +8 -1
- package/list.component.d.ts +1 -1
- package/package.json +23 -23
- package/templates/templates.component.abstract.d.ts +1 -1
|
@@ -9,7 +9,7 @@ import { IHttpRequestConfig } from "@libs-ui/services-http-request";
|
|
|
9
9
|
import { TYPE_TEMPLATE } from "./templates-type.type";
|
|
10
10
|
import { Observable } from "rxjs";
|
|
11
11
|
import { WritableSignal } from "@angular/core";
|
|
12
|
-
import { TYPE_OBJECT } from "@libs-ui/interfaces-types";
|
|
12
|
+
import { TYPE_FUNCTION, TYPE_OBJECT } from "@libs-ui/interfaces-types";
|
|
13
13
|
import { LibsUiComponentsComponnentOutletComponent } from "@libs-ui/components-component-outlet";
|
|
14
14
|
export type TYPE_LIST_ITEM = WritableSignal<TYPE_OBJECT>;
|
|
15
15
|
export interface IListConfigItem {
|
|
@@ -65,6 +65,7 @@ export interface IListConfigItemText {
|
|
|
65
65
|
getConfigAlignStart?: (item: any) => boolean;
|
|
66
66
|
stylePaddingRightItemOther?: boolean;
|
|
67
67
|
getComponentOutlet?: () => Observable<LibsUiComponentsComponnentOutletComponent | any>;
|
|
68
|
+
getDataComponentOutlet?: TYPE_FUNCTION;
|
|
68
69
|
}
|
|
69
70
|
export interface IListConfigItemTag extends IListConfigItemText {
|
|
70
71
|
fieldKey: string;
|
|
@@ -89,6 +90,7 @@ export interface IListConfigItemRadio {
|
|
|
89
90
|
getImage?: (data: IDataFunctionCallInConfig) => Observable<string>;
|
|
90
91
|
getImageError?: (data: IDataFunctionCallInConfig) => Observable<string>;
|
|
91
92
|
getComponentOutlet?: () => Observable<LibsUiComponentsComponnentOutletComponent | any>;
|
|
93
|
+
getDataComponentOutlet?: TYPE_FUNCTION;
|
|
92
94
|
}
|
|
93
95
|
export interface IListConfigItemCheckbox {
|
|
94
96
|
autoSelectAllItem?: boolean;
|
|
@@ -126,6 +128,7 @@ export interface IListConfigItemCheckbox {
|
|
|
126
128
|
classInclude?: string;
|
|
127
129
|
autoScrollToItemSelected?: boolean;
|
|
128
130
|
getComponentOutlet?: () => Observable<LibsUiComponentsComponnentOutletComponent | any>;
|
|
131
|
+
getDataComponentOutlet?: TYPE_FUNCTION;
|
|
129
132
|
}
|
|
130
133
|
export interface IListConfigItemTextRow {
|
|
131
134
|
classRow?: string;
|
|
@@ -142,6 +145,7 @@ export interface IListConfigItemTextRow {
|
|
|
142
145
|
getPopoverConfig?: (item: any) => Observable<IPopoverOverlay>;
|
|
143
146
|
getAvatarConfig?: (item: any) => IAvatarConfig;
|
|
144
147
|
getComponentOutlet?: () => Observable<LibsUiComponentsComponnentOutletComponent | any>;
|
|
148
|
+
getDataComponentOutlet?: TYPE_FUNCTION;
|
|
145
149
|
}
|
|
146
150
|
export interface IDataFunctionCallInConfig {
|
|
147
151
|
value?: any;
|
|
@@ -162,6 +166,7 @@ export interface IListConfigItemTextCol {
|
|
|
162
166
|
getLabelSwitch?: (item: any, index: number) => ILabel | undefined;
|
|
163
167
|
getAvatarConfig?: (item: any) => IAvatarConfig;
|
|
164
168
|
getComponentOutlet?: () => Observable<LibsUiComponentsComponnentOutletComponent | any>;
|
|
169
|
+
getDataComponentOutlet?: TYPE_FUNCTION;
|
|
165
170
|
}
|
|
166
171
|
export interface IListConfigItemGroup {
|
|
167
172
|
flatItemsSupportAutoSelect?: (data: Array<any>) => Array<any>;
|
|
@@ -184,6 +189,7 @@ export interface IListConfigItemGroup {
|
|
|
184
189
|
getButtonGroup?: (group: any) => IButton;
|
|
185
190
|
getIconEmptyDataInGroup?: (group: any) => boolean;
|
|
186
191
|
getComponentOutletGroup?: () => Observable<LibsUiComponentsComponnentOutletComponent | any>;
|
|
192
|
+
getDataComponentOutletGroup?: TYPE_FUNCTION;
|
|
187
193
|
ignoreCheckboxGroup?: boolean;
|
|
188
194
|
classIncludeNodata?: string;
|
|
189
195
|
classIncludeGroup?: string;
|
|
@@ -205,6 +211,7 @@ export interface IListConfigItemGroup {
|
|
|
205
211
|
getBonusPaddingLeftItem?: (item: any, parentItem?: any) => number;
|
|
206
212
|
getClassIncludeItemNoData?: (item: any, parentItem?: any) => string;
|
|
207
213
|
getComponentOutletItem?: () => Observable<LibsUiComponentsComponnentOutletComponent | any>;
|
|
214
|
+
getDataComponentOutletItem?: TYPE_FUNCTION;
|
|
208
215
|
ignoreCheckboxItem?: boolean;
|
|
209
216
|
ignoreRadioItem?: boolean;
|
|
210
217
|
notChangeStateItemCheckOther?: boolean;
|
package/list.component.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare class LibsUiComponentsListComponent implements OnInit, OnDestroy
|
|
|
56
56
|
readonly validRequired: import("@angular/core").InputSignal<IValidRequired | undefined>;
|
|
57
57
|
readonly showValidateBottom: import("@angular/core").InputSignal<boolean | undefined>;
|
|
58
58
|
readonly zIndex: import("@angular/core").InputSignal<number | undefined>;
|
|
59
|
-
readonly loadingIconSize: import("@angular/core").InputSignal<"
|
|
59
|
+
readonly loadingIconSize: import("@angular/core").InputSignal<"small" | "large" | "medium" | "smaller" | undefined>;
|
|
60
60
|
readonly templateRefSearchNoData: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|
|
61
61
|
readonly resetKeyWhenSelectAllKeyDropdown: import("@angular/core").InputSignal<boolean | undefined>;
|
|
62
62
|
readonly ignoreClassDisableDefaultWhenUseKeysDisableItem: import("@angular/core").InputSignal<boolean | undefined>;
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-list",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.202",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^18.2.0",
|
|
6
6
|
"@angular/core": "^18.2.0",
|
|
7
|
-
"@libs-ui/utils": "^0.2.
|
|
8
|
-
"@libs-ui/components-avatar": "^0.2.
|
|
9
|
-
"@libs-ui/components-badge": "^0.2.
|
|
10
|
-
"@libs-ui/components-buttons-button": "^0.2.
|
|
11
|
-
"@libs-ui/components-buttons-sort": "^0.2.
|
|
12
|
-
"@libs-ui/components-checkbox-group": "^0.2.
|
|
13
|
-
"@libs-ui/components-label": "^0.2.
|
|
14
|
-
"@libs-ui/components-popover": "^0.2.
|
|
15
|
-
"@libs-ui/services-http-request": "^0.2.
|
|
7
|
+
"@libs-ui/utils": "^0.2.202",
|
|
8
|
+
"@libs-ui/components-avatar": "^0.2.202",
|
|
9
|
+
"@libs-ui/components-badge": "^0.2.202",
|
|
10
|
+
"@libs-ui/components-buttons-button": "^0.2.202",
|
|
11
|
+
"@libs-ui/components-buttons-sort": "^0.2.202",
|
|
12
|
+
"@libs-ui/components-checkbox-group": "^0.2.202",
|
|
13
|
+
"@libs-ui/components-label": "^0.2.202",
|
|
14
|
+
"@libs-ui/components-popover": "^0.2.202",
|
|
15
|
+
"@libs-ui/services-http-request": "^0.2.202",
|
|
16
16
|
"rxjs": "~7.8.0",
|
|
17
|
-
"@libs-ui/interfaces-types": "^0.2.
|
|
18
|
-
"@libs-ui/components-inputs-input": "^0.2.
|
|
19
|
-
"@libs-ui/components-inputs-search": "^0.2.
|
|
20
|
-
"@libs-ui/components-inputs-valid": "^0.2.
|
|
21
|
-
"@libs-ui/services-dynamic-component": "^0.2.
|
|
17
|
+
"@libs-ui/interfaces-types": "^0.2.202",
|
|
18
|
+
"@libs-ui/components-inputs-input": "^0.2.202",
|
|
19
|
+
"@libs-ui/components-inputs-search": "^0.2.202",
|
|
20
|
+
"@libs-ui/components-inputs-valid": "^0.2.202",
|
|
21
|
+
"@libs-ui/services-dynamic-component": "^0.2.202",
|
|
22
22
|
"@ngx-translate/core": "^15.0.0",
|
|
23
23
|
"@iharbeck/ngx-virtual-scroller": "15.2.0",
|
|
24
|
-
"@libs-ui/components-checkbox-single": "^0.2.
|
|
25
|
-
"@libs-ui/components-scroll-overlay": "^0.2.
|
|
26
|
-
"@libs-ui/components-spinner": "^0.2.
|
|
27
|
-
"@libs-ui/icons": "^0.2.
|
|
28
|
-
"@libs-ui/pipes-call-function-in-template": "^0.2.
|
|
29
|
-
"@libs-ui/pipes-convert-object-to-signal": "^0.2.
|
|
30
|
-
"@libs-ui/components-radio-single": "^0.2.
|
|
31
|
-
"@libs-ui/components-switch": "^0.2.
|
|
24
|
+
"@libs-ui/components-checkbox-single": "^0.2.202",
|
|
25
|
+
"@libs-ui/components-scroll-overlay": "^0.2.202",
|
|
26
|
+
"@libs-ui/components-spinner": "^0.2.202",
|
|
27
|
+
"@libs-ui/icons": "^0.2.202",
|
|
28
|
+
"@libs-ui/pipes-call-function-in-template": "^0.2.202",
|
|
29
|
+
"@libs-ui/pipes-convert-object-to-signal": "^0.2.202",
|
|
30
|
+
"@libs-ui/components-radio-single": "^0.2.202",
|
|
31
|
+
"@libs-ui/components-switch": "^0.2.202"
|
|
32
32
|
},
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"module": "fesm2022/libs-ui-components-list.mjs",
|
|
@@ -50,7 +50,7 @@ export declare abstract class LibsUiComponentsListTemplatesComponentAbstract imp
|
|
|
50
50
|
readonly disable: import("@angular/core").InputSignal<boolean | undefined>;
|
|
51
51
|
readonly disableLabel: import("@angular/core").InputSignal<boolean | undefined>;
|
|
52
52
|
readonly zIndex: import("@angular/core").InputSignal<number>;
|
|
53
|
-
readonly loadingIconSize: import("@angular/core").InputSignal<"
|
|
53
|
+
readonly loadingIconSize: import("@angular/core").InputSignal<"small" | "large" | "medium" | "smaller" | undefined>;
|
|
54
54
|
readonly resetKeyWhenSelectAllKeyDropdown: import("@angular/core").InputSignal<boolean | undefined>;
|
|
55
55
|
readonly ignoreClassDisableDefaultWhenUseKeysDisableItem: import("@angular/core").InputSignal<boolean | undefined>;
|
|
56
56
|
readonly templateRefSearchNoData: import("@angular/core").InputSignal<TemplateRef<any> | undefined>;
|