@propbinder/mobile-design 0.1.20 → 0.1.21

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.
@@ -6740,7 +6740,7 @@ class DsMobilePostDetailModalComponent {
6740
6740
  }, ...(ngDevMode ? [{ debugName: "post" }] : []));
6741
6741
  // Comment composer state
6742
6742
  commentText = signal('', ...(ngDevMode ? [{ debugName: "commentText" }] : []));
6743
- currentUserInitials = signal('LM', ...(ngDevMode ? [{ debugName: "currentUserInitials" }] : []));
6743
+ currentUserInitials = signal('', ...(ngDevMode ? [{ debugName: "currentUserInitials" }] : []));
6744
6744
  replyingTo = signal(null, ...(ngDevMode ? [{ debugName: "replyingTo" }] : []));
6745
6745
  editingComment = signal(null, ...(ngDevMode ? [{ debugName: "editingComment" }] : []));
6746
6746
  // Mention menu state
@@ -6800,7 +6800,7 @@ class DsMobilePostDetailModalComponent {
6800
6800
  const initials = this.currentUserName
6801
6801
  .trim()
6802
6802
  .split(/\s+/)
6803
- .map(p => p[0])
6803
+ .map((p) => p[0])
6804
6804
  .join('')
6805
6805
  .substring(0, 2)
6806
6806
  .toUpperCase();
@@ -7284,7 +7284,8 @@ class DsMobilePostDetailModalComponent {
7284
7284
  #commentInput
7285
7285
  class="composer-input"
7286
7286
  [placeholder]="editingComment() ? 'Rediger din kommentar...' : replyingTo() ? 'Tilføj et svar...' : 'Tilføj et svar...'"
7287
- [(ngModel)]="commentText"
7287
+ [ngModel]="commentText()"
7288
+ (ngModelChange)="commentText.set($event)"
7288
7289
  (input)="handleInput($event)"
7289
7290
  (focus)="showKeyboard()"
7290
7291
  (click)="showKeyboard()"
@@ -7464,7 +7465,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
7464
7465
  #commentInput
7465
7466
  class="composer-input"
7466
7467
  [placeholder]="editingComment() ? 'Rediger din kommentar...' : replyingTo() ? 'Tilføj et svar...' : 'Tilføj et svar...'"
7467
- [(ngModel)]="commentText"
7468
+ [ngModel]="commentText()"
7469
+ (ngModelChange)="commentText.set($event)"
7468
7470
  (input)="handleInput($event)"
7469
7471
  (focus)="showKeyboard()"
7470
7472
  (click)="showKeyboard()"
@@ -7561,7 +7563,7 @@ class DsMobilePostDetailModalService {
7561
7563
  error: options?.error,
7562
7564
  onSubmitComment: options?.onSubmitComment,
7563
7565
  currentUserName: options?.currentUserName ?? '',
7564
- currentUserInitials: options?.currentUserInitials ?? '',
7566
+ currentUserInitialsInput: options?.currentUserInitials ?? ''
7565
7567
  },
7566
7568
  cssClass: 'ds-post-detail-modal',
7567
7569
  mode: 'ios',