@rlucan/ui 20.0.9 → 20.0.10

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
@@ -435,7 +435,7 @@ declare class ForceVisibilityDirective implements OnInit, OnChanges {
435
435
 
436
436
  interface MessageBoxButton {
437
437
  id: string;
438
- text: string;
438
+ text: string | (() => string);
439
439
  kind?: 'basic' | 'flat' | 'stroked';
440
440
  color?: 'primary' | 'accent' | 'warn';
441
441
  process?: () => Promise<any>;
@@ -454,6 +454,7 @@ declare class MessageBoxModalComponent {
454
454
  hideCloseButton: boolean;
455
455
  processing: MessageBoxButton;
456
456
  constructor(dialogRef: MatDialogRef<MessageBoxModalComponent>, sanitizer: DomSanitizer, data: any);
457
+ labelText(b: MessageBoxButton): string;
457
458
  close(result: any): void;
458
459
  buttonClick(b: MessageBoxButton): void;
459
460
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxModalComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlucan/ui",
3
- "version": "20.0.9",
3
+ "version": "20.0.10",
4
4
  "description": "My UI Components",
5
5
  "author": "rlucan@gmail.com",
6
6
  "peerDependencies": {