mn-angular-lib 1.0.122 → 1.0.123
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
|
@@ -5225,6 +5225,15 @@ type ListDataSource<T> = MnSelectableCollectionDataSource<T> & {
|
|
|
5225
5225
|
skeleton?: ListSkeleton;
|
|
5226
5226
|
onItemClick?: (item: T) => void;
|
|
5227
5227
|
appearance?: ListAppearance;
|
|
5228
|
+
/** Template rendered on the left of the toolbar, before the search field. */
|
|
5229
|
+
toolbarLeftTemplate?: TemplateRef<unknown>;
|
|
5230
|
+
/** Template rendered on the right of the toolbar, after the search field. */
|
|
5231
|
+
toolbarRightTemplate?: TemplateRef<unknown>;
|
|
5232
|
+
/**
|
|
5233
|
+
* @deprecated Use {@link toolbarRightTemplate}, which names the slot it fills.
|
|
5234
|
+
* Still honoured, and still rendered on the right, so existing callers keep
|
|
5235
|
+
* working unchanged.
|
|
5236
|
+
*/
|
|
5228
5237
|
toolbarTemplate?: TemplateRef<unknown>;
|
|
5229
5238
|
};
|
|
5230
5239
|
/** @deprecated Use {@link MnCollectionLabels}. */
|
|
@@ -5236,6 +5245,11 @@ declare class MnList<T = unknown> extends MnSelectableCollectionBase<T, ListData
|
|
|
5236
5245
|
/** Skeleton lines rendered for each placeholder item, falling back to the default two-bar layout. */
|
|
5237
5246
|
get skeletonLines(): Partial<MnSkeletonProps>[];
|
|
5238
5247
|
onItemClick(item: T): void;
|
|
5248
|
+
/**
|
|
5249
|
+
* The toolbar template the base class watches for identity changes. Prefers the
|
|
5250
|
+
* left slot, then the right, then the deprecated `toolbarTemplate`, so a list
|
|
5251
|
+
* using any single slot still re-renders when that template is swapped.
|
|
5252
|
+
*/
|
|
5239
5253
|
protected get trackedToolbarTemplate(): TemplateRef<unknown> | undefined;
|
|
5240
5254
|
protected collectionBody?: ElementRef<HTMLElement>;
|
|
5241
5255
|
protected applyFilter(searchForItems: boolean): void;
|
|
@@ -5295,6 +5309,15 @@ type GridDataSource<T> = MnCollectionDataSource<T> & {
|
|
|
5295
5309
|
/** Responsive layout configuration. */
|
|
5296
5310
|
layout?: GridLayout;
|
|
5297
5311
|
onItemClick?: (item: T) => void;
|
|
5312
|
+
/** Template rendered on the left of the toolbar, before the search field. */
|
|
5313
|
+
toolbarLeftTemplate?: TemplateRef<unknown>;
|
|
5314
|
+
/** Template rendered on the right of the toolbar, after the search field. */
|
|
5315
|
+
toolbarRightTemplate?: TemplateRef<unknown>;
|
|
5316
|
+
/**
|
|
5317
|
+
* @deprecated Use {@link toolbarRightTemplate}, which names the slot it fills.
|
|
5318
|
+
* Still honoured, and still rendered on the right, so existing callers keep
|
|
5319
|
+
* working unchanged.
|
|
5320
|
+
*/
|
|
5298
5321
|
toolbarTemplate?: TemplateRef<unknown>;
|
|
5299
5322
|
};
|
|
5300
5323
|
|
|
@@ -5312,6 +5335,11 @@ declare class MnGrid<T = unknown> extends MnCollectionBase<T, GridDataSource<T>>
|
|
|
5312
5335
|
get isAutoLayout(): boolean;
|
|
5313
5336
|
/** Skeleton lines for the default/lines placeholder; null when a custom template is used. */
|
|
5314
5337
|
get skeletonLines(): Partial<MnSkeletonProps>[];
|
|
5338
|
+
/**
|
|
5339
|
+
* The toolbar template the base class watches for identity changes. Prefers the
|
|
5340
|
+
* left slot, then the right, then the deprecated `toolbarTemplate`, so a grid
|
|
5341
|
+
* using any single slot still re-renders when that template is swapped.
|
|
5342
|
+
*/
|
|
5315
5343
|
protected get trackedToolbarTemplate(): TemplateRef<unknown> | undefined;
|
|
5316
5344
|
protected collectionBody?: ElementRef<HTMLElement>;
|
|
5317
5345
|
onItemClick(item: T): void;
|
|
@@ -6247,7 +6275,7 @@ declare const MN_ICON_MAP: Record<string, string>;
|
|
|
6247
6275
|
|
|
6248
6276
|
declare class MnIconAttributes {
|
|
6249
6277
|
static ɵfac: i0.ɵɵFactoryDeclaration<MnIconAttributes, never>;
|
|
6250
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MnIconAttributes, "mn-icon[mnIconPistol]
|
|
6278
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MnIconAttributes, "mn-icon[mnIconPistol]", never, {}, {}, never, never, true, never>;
|
|
6251
6279
|
}
|
|
6252
6280
|
|
|
6253
6281
|
/**
|