@xsmusices/ui 2.0.17 → 2.0.20

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
@@ -1303,6 +1303,7 @@ interface XSChatInfo {
1303
1303
  sender: boolean;
1304
1304
  receiver: boolean;
1305
1305
  };
1306
+ actorUserIds?: string[];
1306
1307
  blockedBy: string[];
1307
1308
  }
1308
1309
 
@@ -1420,7 +1421,8 @@ declare class XSChatConversationComponent implements AfterViewInit {
1420
1421
  constructor();
1421
1422
  ngAfterViewInit(): void;
1422
1423
  isMine(msg: XSChatMessage): boolean;
1423
- otherUser(msg: XSChatMessage): XSChatUser | null;
1424
+ otherUser(msg: XSChatMessage): XSChatUser | XSChatItem | null;
1425
+ otherUserType(msg: XSChatMessage): string;
1424
1426
  isSameDay(a: string, b: string): boolean;
1425
1427
  showDateSeparator(index: number): boolean;
1426
1428
  formatDateSeparator(created: string): string;
@@ -1446,6 +1448,8 @@ declare class XSChatFloatingPanelComponent {
1446
1448
  readonly isOpen: _angular_core.InputSignal<boolean>;
1447
1449
  readonly title: _angular_core.InputSignal<string>;
1448
1450
  readonly chats: _angular_core.InputSignal<XSChat[]>;
1451
+ readonly searchQuery: _angular_core.WritableSignal<string>;
1452
+ readonly filteredChats: _angular_core.Signal<XSChat[]>;
1449
1453
  readonly loading: _angular_core.InputSignal<boolean>;
1450
1454
  readonly messages: _angular_core.InputSignal<XSChatMessage[]>;
1451
1455
  readonly currentChatInfo: _angular_core.InputSignal<XSChatInfo | null>;
@@ -1527,6 +1531,7 @@ declare class XSChatFloatingPanelComponent {
1527
1531
  label?: string;
1528
1532
  }>;
1529
1533
  onSelectChat(chat: XSChat): void;
1534
+ onSearchQueryChange(query: string): void;
1530
1535
  onSendMessage(event: {
1531
1536
  text: string;
1532
1537
  replyTo?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsmusices/ui",
3
- "version": "2.0.17",
3
+ "version": "2.0.20",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },