mn-angular-lib 1.0.80 → 1.0.81
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
|
@@ -4155,6 +4155,15 @@ type GridLayout = {
|
|
|
4155
4155
|
type GridSkeleton = TemplateRef<unknown> | {
|
|
4156
4156
|
lines: Partial<MnSkeletonProps>[];
|
|
4157
4157
|
};
|
|
4158
|
+
/**
|
|
4159
|
+
* Configures an {@link import('./mn-grid.component').MnGrid}.
|
|
4160
|
+
*
|
|
4161
|
+
* Empty state (inherited from {@link MnCollectionDataSource}): provide **either**
|
|
4162
|
+
* a default text via `emptyMessage` / `emptyMessageKey`, **or** a whole custom
|
|
4163
|
+
* component/markup via `emptyTemplate`. A supplied `emptyTemplate` is rendered
|
|
4164
|
+
* unwrapped — it fully controls its own layout — while the text variant gets the
|
|
4165
|
+
* grid's default centered placeholder.
|
|
4166
|
+
*/
|
|
4158
4167
|
type GridDataSource<T> = MnCollectionDataSource<T> & {
|
|
4159
4168
|
/** Template used to render each card. Receives the item as `$implicit` and `data`. */
|
|
4160
4169
|
cardTemplate: TemplateRef<unknown>;
|