@meshmakers/shared-ui 3.2.137-0 → 3.2.144-0

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/index.d.ts CHANGED
@@ -4,6 +4,9 @@ import { Observable, Subject } from 'rxjs';
4
4
  import { ErrorMessage, AutoCompleteDataSource, EntitySelectDataSource } from '@meshmakers/shared-services';
5
5
  import * as i14 from '@angular/material/dialog';
6
6
  import { MatDialogRef, MatDialog } from '@angular/material/dialog';
7
+ import { Clipboard } from '@angular/cdk/clipboard';
8
+ import * as i13 from '@angular/material/snack-bar';
9
+ import { MatSnackBar } from '@angular/material/snack-bar';
7
10
  import { MatFormFieldControl } from '@angular/material/form-field';
8
11
  import * as i20 from '@angular/forms';
9
12
  import { ControlValueAccessor, Validator, FormControl, NgControl, AbstractControl, ValidationErrors, ValidatorFn, FormGroup } from '@angular/forms';
@@ -12,7 +15,6 @@ import { MatAutocompleteSelectedEvent, MatAutocompleteActivatedEvent } from '@an
12
15
  import * as i10 from '@angular/common';
13
16
  import * as i11 from '@angular/material/toolbar';
14
17
  import * as i12 from '@angular/material/button';
15
- import * as i13 from '@angular/material/snack-bar';
16
18
  import * as i16 from '@angular/material/input';
17
19
  import * as i17 from '@angular/material/progress-spinner';
18
20
  import * as i18 from '@angular/material/chips';
@@ -122,12 +124,24 @@ declare class MmProgressWindowComponent implements OnInit {
122
124
  static ɵcmp: i0.ɵɵComponentDeclaration<MmProgressWindowComponent, "mm-progress-window", never, {}, {}, never, never, false, never>;
123
125
  }
124
126
 
125
- declare class MmNotificationBarComponent implements OnInit {
127
+ declare class MmNotificationBarComponent implements OnInit, OnDestroy {
126
128
  private readonly snackBar;
127
129
  private readonly messageService;
130
+ private readonly router;
131
+ private readonly ngZone;
128
132
  errorMessage: ErrorMessage | null;
133
+ private currentSnackBarRef;
134
+ private subscriptions;
135
+ private autoCloseOnInteraction;
136
+ private interactionDebounceTime;
137
+ private snackBarOpenTime;
138
+ private gracePeriod;
129
139
  constructor();
130
140
  ngOnInit(): void;
141
+ ngOnDestroy(): void;
142
+ private closeCurrentSnackBar;
143
+ private setupGlobalInteractionListeners;
144
+ private shouldCloseOnInteraction;
131
145
  static ɵfac: i0.ɵɵFactoryDeclaration<MmNotificationBarComponent, never>;
132
146
  static ɵcmp: i0.ɵɵComponentDeclaration<MmNotificationBarComponent, "mm-notification-bar", never, {}, {}, never, never, false, never>;
133
147
  }
@@ -135,9 +149,12 @@ declare class MmNotificationBarComponent implements OnInit {
135
149
  declare class MmMessageDetailsComponent implements OnInit {
136
150
  dialogRef: MatDialogRef<MmMessageDetailsComponent, any>;
137
151
  data: any;
152
+ clipboard: Clipboard;
153
+ snackBar: MatSnackBar;
138
154
  errorMessage: ErrorMessage;
139
155
  constructor();
140
156
  ngOnInit(): void;
157
+ copyToClipboard(): void;
141
158
  static ɵfac: i0.ɵɵFactoryDeclaration<MmMessageDetailsComponent, never>;
142
159
  static ɵcmp: i0.ɵɵComponentDeclaration<MmMessageDetailsComponent, "mm-message-details", never, {}, {}, never, never, false, never>;
143
160
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@meshmakers/shared-ui",
3
- "version": "3.2.137-0",
3
+ "version": "3.2.144-0",
4
4
  "peerDependencies": {
5
- "@angular/common": "^20.1.6",
6
- "@angular/core": "^20.1.6"
5
+ "@angular/common": "^20.2.3",
6
+ "@angular/core": "^20.2.3"
7
7
  },
8
8
  "dependencies": {
9
9
  "tslib": "^2.8.1"