mn-angular-lib 1.0.123 → 1.0.124
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/package.json
CHANGED
|
@@ -2994,6 +2994,13 @@ type MnCollectionDataSource<T> = {
|
|
|
2994
2994
|
/** Translation key for the empty message. When set, the component resolves it via MnLanguageService. */
|
|
2995
2995
|
emptyMessageKey?: string;
|
|
2996
2996
|
emptyTemplate?: TemplateRef<unknown>;
|
|
2997
|
+
/**
|
|
2998
|
+
* Icon rendered above {@link emptyMessage} in the default empty state. Pass any
|
|
2999
|
+
* lucide icon's static `.icon` data (e.g. `LucideSearchX.icon`). Defaults to an
|
|
3000
|
+
* inbox icon when omitted; set to `null` to render the message with no icon.
|
|
3001
|
+
* Ignored when {@link emptyTemplate} is provided.
|
|
3002
|
+
*/
|
|
3003
|
+
emptyIcon?: LucideIconData | null;
|
|
2997
3004
|
/**
|
|
2998
3005
|
* Lifecycle state of the data, controlling loading / error / empty rendering.
|
|
2999
3006
|
* Defaults to {@link MnCollectionState.RETRIEVED} when not set.
|
|
@@ -3209,6 +3216,8 @@ declare abstract class MnCollectionBase<T, DS extends MnCollectionDataSource<T>>
|
|
|
3209
3216
|
paginatedItems: T[];
|
|
3210
3217
|
searchValue: string;
|
|
3211
3218
|
loadingMoreRows: boolean;
|
|
3219
|
+
/** Fallback empty-state icon used when a data source doesn't set `emptyIcon`. */
|
|
3220
|
+
protected readonly defaultEmptyIcon: mn_angular_lib.LucideIconData;
|
|
3212
3221
|
currentPage: number;
|
|
3213
3222
|
pageSize: number;
|
|
3214
3223
|
/**
|