mn-angular-lib 1.0.34 → 1.0.36

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mn-angular-lib",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -2219,7 +2219,10 @@ interface TableDataSource<T> {
2219
2219
  initialSelectedIds?: string[];
2220
2220
  onRowClick?: (row: T) => void;
2221
2221
  appearance?: TableAppearance;
2222
- toolbarTemplate?: TemplateRef<any>;
2222
+ /** Template rendered on the left side of the toolbar (before the search field). */
2223
+ toolbarLeftTemplate?: TemplateRef<any>;
2224
+ /** Template rendered on the right side of the toolbar (after the search field). */
2225
+ toolbarRightTemplate?: TemplateRef<any>;
2223
2226
  labels?: TableLabels;
2224
2227
  }
2225
2228
  interface TableLabels {
@@ -3579,11 +3582,11 @@ declare class MnTable<T = any> implements OnInit, OnDestroy, DoCheck {
3579
3582
  private searchSubject;
3580
3583
  private searchSubscription?;
3581
3584
  private langSubscription?;
3582
- /** Tracks the previous toolbar template reference for change detection. */
3583
- private previousToolbarTemplate?;
3585
+ /** Tracks the previous toolbar left template reference for change detection. */
3586
+ private previousToolbarLeftTemplate?;
3584
3587
  /**
3585
3588
  * Checks for changes to dataSource properties that are not covered
3586
- * by Angular's default change detection (e.g. toolbarTemplate).
3589
+ * by Angular's default change detection (e.g. toolbarLeftTemplate).
3587
3590
  */
3588
3591
  ngDoCheck(): void;
3589
3592
  get showLoadMore(): boolean;