stream-chat-angular 6.4.1 → 7.0.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.
Files changed (173) hide show
  1. package/README.md +12 -18
  2. package/assets/version.d.ts +1 -1
  3. package/{esm2020 → esm2022}/assets/version.mjs +2 -2
  4. package/{esm2020 → esm2022}/lib/attachment-configuration.service.mjs +4 -4
  5. package/esm2022/lib/attachment-list/attachment-list.component.mjs +232 -0
  6. package/esm2022/lib/attachment-preview-list/attachment-preview-list.component.mjs +55 -0
  7. package/{esm2020 → esm2022}/lib/attachment.service.mjs +5 -5
  8. package/{esm2020 → esm2022}/lib/avatar/avatar.component.mjs +5 -5
  9. package/{esm2020 → esm2022}/lib/avatar-placeholder/avatar-placeholder.component.mjs +6 -6
  10. package/esm2022/lib/channel/channel.component.mjs +45 -0
  11. package/{esm2020 → esm2022}/lib/channel-header/channel-header.component.mjs +6 -6
  12. package/esm2022/lib/channel-list/channel-list.component.mjs +47 -0
  13. package/{esm2020 → esm2022}/lib/channel-preview/channel-preview.component.mjs +6 -6
  14. package/esm2022/lib/channel.service.mjs +1575 -0
  15. package/{esm2020 → esm2022}/lib/chat-client.service.mjs +5 -5
  16. package/{esm2020 → esm2022}/lib/custom-templates.service.mjs +5 -5
  17. package/{esm2020 → esm2022}/lib/date-parser.service.mjs +5 -5
  18. package/{esm2020 → esm2022}/lib/icon/icon-placeholder/icon-placeholder.component.mjs +6 -6
  19. package/{esm2020 → esm2022}/lib/icon/icon.component.mjs +5 -5
  20. package/{esm2020 → esm2022}/lib/icon/icon.module.mjs +11 -11
  21. package/{esm2020 → esm2022}/lib/icon/loading-indicator/loading-indicator.component.mjs +5 -5
  22. package/{esm2020 → esm2022}/lib/icon/loading-indicator-placeholder/loading-indicator-placeholder.component.mjs +6 -6
  23. package/esm2022/lib/message/message.component.mjs +501 -0
  24. package/{esm2020 → esm2022}/lib/message-actions-box/message-actions-box.component.mjs +6 -6
  25. package/{esm2020 → esm2022}/lib/message-actions.service.mjs +5 -5
  26. package/{esm2020 → esm2022}/lib/message-blocked/message-blocked.component.mjs +4 -4
  27. package/{esm2020 → esm2022}/lib/message-bounce-prompt/message-bounce-prompt.component.mjs +6 -6
  28. package/{esm2020 → esm2022}/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.mjs +6 -6
  29. package/{esm2020 → esm2022}/lib/message-input/emoji-input.service.mjs +5 -5
  30. package/{esm2020 → esm2022}/lib/message-input/message-input-config.service.mjs +5 -5
  31. package/{esm2020 → esm2022}/lib/message-input/message-input.component.mjs +7 -7
  32. package/{esm2020 → esm2022}/lib/message-input/textarea/textarea.component.mjs +5 -5
  33. package/{esm2020 → esm2022}/lib/message-input/textarea.directive.mjs +5 -5
  34. package/{esm2020 → esm2022}/lib/message-input/voice-recorder.service.mjs +5 -5
  35. package/esm2022/lib/message-list/message-list.component.mjs +717 -0
  36. package/{esm2020 → esm2022}/lib/message-reactions/message-reactions.component.mjs +6 -6
  37. package/{esm2020 → esm2022}/lib/message-reactions-selector/message-reactions-selector.component.mjs +5 -5
  38. package/{esm2020 → esm2022}/lib/message-reactions.service.mjs +5 -5
  39. package/{esm2020 → esm2022}/lib/message-text/message-text.component.mjs +6 -6
  40. package/{esm2020 → esm2022}/lib/message.service.mjs +5 -5
  41. package/{esm2020 → esm2022}/lib/modal/modal.component.mjs +6 -6
  42. package/{esm2020 → esm2022}/lib/modal/stream-modal.module.mjs +5 -5
  43. package/{esm2020 → esm2022}/lib/notification/notification.component.mjs +6 -6
  44. package/{esm2020 → esm2022}/lib/notification-list/notification-list.component.mjs +6 -6
  45. package/{esm2020 → esm2022}/lib/notification-list/stream-notification.module.mjs +5 -5
  46. package/{esm2020 → esm2022}/lib/notification.service.mjs +5 -5
  47. package/{esm2020 → esm2022}/lib/paginated-list/paginated-list.component.mjs +6 -6
  48. package/{esm2020 → esm2022}/lib/paginated-list/stream-paginated-list.module.mjs +5 -5
  49. package/{esm2020 → esm2022}/lib/polls/base-poll.component.mjs +5 -5
  50. package/esm2022/lib/polls/poll/poll.component.mjs +34 -0
  51. package/{esm2020 → esm2022}/lib/polls/poll-actions/add-option/add-option.component.mjs +4 -4
  52. package/{esm2020 → esm2022}/lib/polls/poll-actions/poll-actions.component.mjs +6 -6
  53. package/esm2022/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.mjs +82 -0
  54. package/esm2022/lib/polls/poll-actions/poll-results/poll-results-list/poll-results-list.component.mjs +63 -0
  55. package/{esm2020 → esm2022}/lib/polls/poll-actions/poll-results/poll-vote/poll-vote.component.mjs +6 -6
  56. package/{esm2020 → esm2022}/lib/polls/poll-actions/poll-results/poll-vote-results-list/poll-vote-results-list.component.mjs +5 -5
  57. package/{esm2020 → esm2022}/lib/polls/poll-actions/upsert-answer/upsert-answer.component.mjs +4 -4
  58. package/esm2022/lib/polls/poll-composer/poll-composer.component.mjs +134 -0
  59. package/{esm2020 → esm2022}/lib/polls/poll-header/poll-header.component.mjs +4 -4
  60. package/{esm2020 → esm2022}/lib/polls/poll-option-selector/poll-option-selector.component.mjs +5 -5
  61. package/{esm2020 → esm2022}/lib/polls/poll-options-list/poll-options-list.component.mjs +5 -5
  62. package/{esm2020 → esm2022}/lib/polls/poll-preview/poll-preview.component.mjs +4 -4
  63. package/{esm2020 → esm2022}/lib/polls/stream-polls.module.mjs +41 -41
  64. package/esm2022/lib/stream-autocomplete-textarea.module.mjs +33 -0
  65. package/{esm2020 → esm2022}/lib/stream-avatar.module.mjs +5 -5
  66. package/{esm2020 → esm2022}/lib/stream-chat.module.mjs +67 -67
  67. package/esm2022/lib/stream-i18n.service.mjs +34 -0
  68. package/esm2022/lib/stream-textarea.module.mjs +31 -0
  69. package/{esm2020 → esm2022}/lib/theme.service.mjs +5 -5
  70. package/{esm2020 → esm2022}/lib/thread/thread.component.mjs +6 -6
  71. package/{esm2020 → esm2022}/lib/transliteration.service.mjs +5 -5
  72. package/{esm2020 → esm2022}/lib/types.mjs +1 -1
  73. package/{esm2020 → esm2022}/lib/user-list/user-list.component.mjs +5 -5
  74. package/{esm2020 → esm2022}/lib/voice-recorder/amplitude-recorder.service.mjs +5 -5
  75. package/{esm2020 → esm2022}/lib/voice-recorder/audio-recorder.service.mjs +5 -5
  76. package/{esm2020 → esm2022}/lib/voice-recorder/transcoder.service.mjs +5 -5
  77. package/{esm2020 → esm2022}/lib/voice-recorder/voice-recorder-wavebar/voice-recorder-wavebar.component.mjs +5 -5
  78. package/{esm2020 → esm2022}/lib/voice-recorder/voice-recorder.component.mjs +6 -6
  79. package/{esm2020 → esm2022}/lib/voice-recorder/voice-recorder.module.mjs +9 -9
  80. package/{esm2020 → esm2022}/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.mjs +5 -5
  81. package/{esm2020 → esm2022}/lib/voice-recording/voice-recording.component.mjs +6 -6
  82. package/{esm2020 → esm2022}/lib/voice-recording/voice-recording.module.mjs +5 -5
  83. package/{fesm2020 → fesm2022}/stream-chat-angular.mjs +463 -470
  84. package/fesm2022/stream-chat-angular.mjs.map +1 -0
  85. package/lib/attachment-list/attachment-list.component.d.ts +1 -1
  86. package/lib/attachment-preview-list/attachment-preview-list.component.d.ts +1 -1
  87. package/lib/avatar/avatar.component.d.ts +1 -1
  88. package/lib/avatar-placeholder/avatar-placeholder.component.d.ts +1 -1
  89. package/lib/channel-preview/channel-preview.component.d.ts +1 -1
  90. package/lib/chat-client.service.d.ts +1 -1
  91. package/lib/custom-templates.service.d.ts +1 -0
  92. package/lib/icon/icon-placeholder/icon-placeholder.component.d.ts +1 -1
  93. package/lib/icon/icon.component.d.ts +2 -2
  94. package/lib/message/message.component.d.ts +1 -1
  95. package/lib/message-actions-box/message-actions-box.component.d.ts +1 -1
  96. package/lib/message-blocked/message-blocked.component.d.ts +1 -1
  97. package/lib/message-input/autocomplete-textarea/autocomplete-textarea.component.d.ts +1 -1
  98. package/lib/message-input/message-input.component.d.ts +1 -1
  99. package/lib/message-input/textarea/textarea.component.d.ts +1 -1
  100. package/lib/message-input/textarea.directive.d.ts +1 -1
  101. package/lib/message-list/group-styles.d.ts +1 -1
  102. package/lib/message-list/message-list.component.d.ts +1 -1
  103. package/lib/message-reactions/message-reactions.component.d.ts +1 -1
  104. package/lib/message-reactions-selector/message-reactions-selector.component.d.ts +1 -1
  105. package/lib/message-text/message-text.component.d.ts +2 -2
  106. package/lib/modal/modal.component.d.ts +1 -1
  107. package/lib/notification/notification.component.d.ts +1 -1
  108. package/lib/paginated-list/paginated-list.component.d.ts +5 -2
  109. package/lib/polls/base-poll.component.d.ts +1 -1
  110. package/lib/polls/poll-actions/add-option/add-option.component.d.ts +1 -1
  111. package/lib/polls/poll-actions/poll-actions.component.d.ts +2 -2
  112. package/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.d.ts +1 -1
  113. package/lib/polls/poll-actions/poll-results/poll-vote/poll-vote.component.d.ts +1 -1
  114. package/lib/polls/poll-actions/poll-results/poll-vote-results-list/poll-vote-results-list.component.d.ts +1 -1
  115. package/lib/polls/poll-actions/upsert-answer/upsert-answer.component.d.ts +1 -1
  116. package/lib/polls/poll-composer/poll-composer.component.d.ts +2 -2
  117. package/lib/polls/poll-header/poll-header.component.d.ts +1 -1
  118. package/lib/polls/poll-option-selector/poll-option-selector.component.d.ts +1 -1
  119. package/lib/polls/poll-options-list/poll-options-list.component.d.ts +1 -1
  120. package/lib/types.d.ts +79 -79
  121. package/lib/user-list/user-list.component.d.ts +1 -1
  122. package/lib/voice-recorder/amplitude-recorder.service.d.ts +2 -2
  123. package/lib/voice-recorder/media-recorder.d.ts +2 -2
  124. package/lib/voice-recorder/transcoder.service.d.ts +4 -4
  125. package/lib/voice-recorder/voice-recorder.component.d.ts +1 -1
  126. package/lib/voice-recording/voice-recording-wavebar/voice-recording-wavebar.component.d.ts +1 -1
  127. package/lib/voice-recording/voice-recording.component.d.ts +1 -1
  128. package/package.json +11 -17
  129. package/src/assets/version.ts +1 -1
  130. package/esm2020/lib/attachment-list/attachment-list.component.mjs +0 -232
  131. package/esm2020/lib/attachment-preview-list/attachment-preview-list.component.mjs +0 -55
  132. package/esm2020/lib/channel/channel.component.mjs +0 -45
  133. package/esm2020/lib/channel-list/channel-list.component.mjs +0 -47
  134. package/esm2020/lib/channel.service.mjs +0 -1575
  135. package/esm2020/lib/message/message.component.mjs +0 -501
  136. package/esm2020/lib/message-list/message-list.component.mjs +0 -717
  137. package/esm2020/lib/polls/poll/poll.component.mjs +0 -34
  138. package/esm2020/lib/polls/poll-actions/poll-answers-list/poll-answers-list.component.mjs +0 -82
  139. package/esm2020/lib/polls/poll-actions/poll-results/poll-results-list/poll-results-list.component.mjs +0 -63
  140. package/esm2020/lib/polls/poll-composer/poll-composer.component.mjs +0 -134
  141. package/esm2020/lib/stream-autocomplete-textarea.module.mjs +0 -33
  142. package/esm2020/lib/stream-i18n.service.mjs +0 -41
  143. package/esm2020/lib/stream-textarea.module.mjs +0 -31
  144. package/fesm2015/stream-chat-angular.mjs +0 -10596
  145. package/fesm2015/stream-chat-angular.mjs.map +0 -1
  146. package/fesm2020/stream-chat-angular.mjs.map +0 -1
  147. /package/{esm2020 → esm2022}/assets/i18n/en.mjs +0 -0
  148. /package/{esm2020 → esm2022}/lib/channel-query.mjs +0 -0
  149. /package/{esm2020 → esm2022}/lib/file-utils.mjs +0 -0
  150. /package/{esm2020 → esm2022}/lib/format-duration.mjs +0 -0
  151. /package/{esm2020 → esm2022}/lib/get-channel-display-text.mjs +0 -0
  152. /package/{esm2020 → esm2022}/lib/get-message-translation.mjs +0 -0
  153. /package/{esm2020 → esm2022}/lib/injection-tokens.mjs +0 -0
  154. /package/{esm2020 → esm2022}/lib/is-image-attachment.mjs +0 -0
  155. /package/{esm2020 → esm2022}/lib/is-on-separate-date.mjs +0 -0
  156. /package/{esm2020 → esm2022}/lib/is-safari.mjs +0 -0
  157. /package/{esm2020 → esm2022}/lib/list-users.mjs +0 -0
  158. /package/{esm2020 → esm2022}/lib/message-input/textarea.interface.mjs +0 -0
  159. /package/{esm2020 → esm2022}/lib/message-list/group-styles.mjs +0 -0
  160. /package/{esm2020 → esm2022}/lib/message-preview.mjs +0 -0
  161. /package/{esm2020 → esm2022}/lib/parse-date.mjs +0 -0
  162. /package/{esm2020 → esm2022}/lib/polls/poll-composer/validators.mjs +0 -0
  163. /package/{esm2020 → esm2022}/lib/polls/unique.validator.mjs +0 -0
  164. /package/{esm2020 → esm2022}/lib/read-by.mjs +0 -0
  165. /package/{esm2020 → esm2022}/lib/types-custom.mjs +0 -0
  166. /package/{esm2020 → esm2022}/lib/virtualized-list.service.mjs +0 -0
  167. /package/{esm2020 → esm2022}/lib/virtualized-message-list.service.mjs +0 -0
  168. /package/{esm2020 → esm2022}/lib/voice-recorder/media-recorder.mjs +0 -0
  169. /package/{esm2020 → esm2022}/lib/voice-recorder/mp3-transcoder.mjs +0 -0
  170. /package/{esm2020 → esm2022}/lib/wave-form-sampler.mjs +0 -0
  171. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  172. /package/{esm2020 → esm2022}/stream-chat-angular.mjs +0 -0
  173. /package/{esm2020 → esm2022}/stream-chat.mjs +0 -0
@@ -72,5 +72,5 @@ export declare class AttachmentListComponent implements OnChanges, OnInit, OnDes
72
72
  private closeImageModal;
73
73
  private getAttachmentUrl;
74
74
  static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentListComponent, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentListComponent, "stream-attachment-list", never, { "messageId": "messageId"; "parentMessageId": "parentMessageId"; "attachments": "attachments"; }, { "imageModalStateChange": "imageModalStateChange"; }, never, ["*"], false, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentListComponent, "stream-attachment-list", never, { "messageId": { "alias": "messageId"; "required": false; }; "parentMessageId": { "alias": "parentMessageId"; "required": false; }; "attachments": { "alias": "attachments"; "required": false; }; }, { "imageModalStateChange": "imageModalStateChange"; }, never, ["*"], false, never>;
76
76
  }
@@ -33,5 +33,5 @@ export declare class AttachmentPreviewListComponent implements OnInit, OnDestroy
33
33
  attachmentDeleted(upload: AttachmentUpload): void;
34
34
  trackByFile(_: number, item: AttachmentUpload): File;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentPreviewListComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentPreviewListComponent, "stream-attachment-preview-list", never, { "attachmentUploads$": "attachmentUploads$"; }, { "retryAttachmentUpload": "retryAttachmentUpload"; "deleteAttachment": "deleteAttachment"; }, never, never, false, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentPreviewListComponent, "stream-attachment-preview-list", never, { "attachmentUploads$": { "alias": "attachmentUploads$"; "required": false; }; }, { "retryAttachmentUpload": "retryAttachmentUpload"; "deleteAttachment": "deleteAttachment"; }, never, never, false, never>;
37
37
  }
@@ -60,5 +60,5 @@ export declare class AvatarComponent implements OnChanges, OnInit, OnChanges, Af
60
60
  ngAfterViewInit(): void;
61
61
  private getOtherMemberIfOneToOneChannel;
62
62
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "stream-avatar", never, { "name": "name"; "imageUrl": "imageUrl"; "location": "location"; "channel": "channel"; "user": "user"; "type": "type"; "showOnlineIndicator": "showOnlineIndicator"; "initialsType": "initialsType"; }, {}, never, never, false, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "stream-avatar", never, { "name": { "alias": "name"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "location": { "alias": "location"; "required": false; }; "channel": { "alias": "channel"; "required": false; }; "user": { "alias": "user"; "required": false; }; "type": { "alias": "type"; "required": false; }; "showOnlineIndicator": { "alias": "showOnlineIndicator"; "required": false; }; "initialsType": { "alias": "initialsType"; "required": false; }; }, {}, never, never, false, never>;
64
64
  }
@@ -44,5 +44,5 @@ export declare class AvatarPlaceholderComponent implements OnChanges {
44
44
  constructor(customTemplatesService: CustomTemplatesService);
45
45
  ngOnChanges(): void;
46
46
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarPlaceholderComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarPlaceholderComponent, "stream-avatar-placeholder", never, { "name": "name"; "imageUrl": "imageUrl"; "location": "location"; "channel": "channel"; "user": "user"; "type": "type"; "initialsType": "initialsType"; "showOnlineIndicator": "showOnlineIndicator"; }, {}, never, never, false, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarPlaceholderComponent, "stream-avatar-placeholder", never, { "name": { "alias": "name"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "location": { "alias": "location"; "required": false; }; "channel": { "alias": "channel"; "required": false; }; "user": { "alias": "user"; "required": false; }; "type": { "alias": "type"; "required": false; }; "initialsType": { "alias": "initialsType"; "required": false; }; "showOnlineIndicator": { "alias": "showOnlineIndicator"; "required": false; }; }, {}, never, never, false, never>;
48
48
  }
@@ -42,5 +42,5 @@ export declare class ChannelPreviewComponent implements OnInit, OnDestroy {
42
42
  private setLatestMessage;
43
43
  private updateUnreadState;
44
44
  static ɵfac: i0.ɵɵFactoryDeclaration<ChannelPreviewComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<ChannelPreviewComponent, "stream-channel-preview", never, { "channel": "channel"; }, {}, never, never, false, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChannelPreviewComponent, "stream-channel-preview", never, { "channel": { "alias": "channel"; "required": false; }; }, {}, never, never, false, never>;
46
46
  }
@@ -4,7 +4,7 @@ import { Channel, ConnectAPIResponse, OwnUserResponse, StreamChatOptions, UserRe
4
4
  import { AppSettings, Event, StreamChat, TokenOrProvider } from 'stream-chat';
5
5
  import { NotificationService } from './notification.service';
6
6
  import * as i0 from "@angular/core";
7
- export declare type ClientEvent = {
7
+ export type ClientEvent = {
8
8
  eventType: string;
9
9
  event: Event;
10
10
  };
@@ -243,6 +243,7 @@ export declare class CustomTemplatesService {
243
243
  pollTemplate$: BehaviorSubject<TemplateRef<{
244
244
  pollId: string;
245
245
  messageId: string;
246
+ isQuote: boolean;
246
247
  }> | undefined>;
247
248
  /**
248
249
  * Template to display poll composer inside [message input component](/chat/docs/sdk/angular/components/MessageInputComponent/). There is no default template, but the `PollsModule` contains default components.
@@ -16,5 +16,5 @@ export declare class IconPlaceholderComponent implements OnChanges {
16
16
  constructor(customTemplatesService: CustomTemplatesService);
17
17
  ngOnChanges(): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<IconPlaceholderComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<IconPlaceholderComponent, "stream-icon-placeholder", never, { "icon": "icon"; }, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconPlaceholderComponent, "stream-icon-placeholder", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
20
20
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- export declare type Icon = 'action' | 'delivered' | 'read' | 'reaction' | 'send' | 'retry' | 'close' | 'audio-file' | 'reply-in-thread' | 'arrow-left' | 'arrow-up' | 'arrow-down' | 'arrow-right' | 'chat-bubble' | 'attach' | 'unspecified-filetype' | 'download' | 'error' | 'play' | 'pause' | 'mic' | 'bin' | 'poll';
2
+ export type Icon = 'action' | 'delivered' | 'read' | 'reaction' | 'send' | 'retry' | 'close' | 'audio-file' | 'reply-in-thread' | 'arrow-left' | 'arrow-up' | 'arrow-down' | 'arrow-right' | 'chat-bubble' | 'attach' | 'unspecified-filetype' | 'download' | 'error' | 'play' | 'pause' | 'mic' | 'bin' | 'poll';
3
3
  /**
4
4
  * The `Icon` component can be used to display different icons (i. e. message delivered icon).
5
5
  */
@@ -10,5 +10,5 @@ export declare class IconComponent {
10
10
  icon: Icon | undefined;
11
11
  constructor();
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "stream-icon", never, { "icon": "icon"; }, {}, never, never, false, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "stream-icon", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
14
14
  }
@@ -122,5 +122,5 @@ export declare class MessageComponent implements OnInit, OnChanges, OnDestroy, A
122
122
  private registerMenuTriggerEventHandlers;
123
123
  private stopMessageMenuShowTimer;
124
124
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
125
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "stream-message", never, { "message": "message"; "enabledMessageActions": "enabledMessageActions"; "isLastSentMessage": "isLastSentMessage"; "mode": "mode"; "isHighlighted": "isHighlighted"; "scroll$": "scroll$"; }, {}, never, never, false, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "stream-message", never, { "message": { "alias": "message"; "required": false; }; "enabledMessageActions": { "alias": "enabledMessageActions"; "required": false; }; "isLastSentMessage": { "alias": "isLastSentMessage"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isHighlighted": { "alias": "isHighlighted"; "required": false; }; "scroll$": { "alias": "scroll$"; "required": false; }; }, {}, never, never, false, never>;
126
126
  }
@@ -45,5 +45,5 @@ export declare class MessageActionsBoxComponent implements OnInit, OnChanges, On
45
45
  private isReactAction;
46
46
  private setVisibleActions;
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageActionsBoxComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageActionsBoxComponent, "stream-message-actions-box", never, { "isMine": "isMine"; "message": "message"; "messageTextHtmlElement": "messageTextHtmlElement"; "enabledActions": "enabledActions"; }, {}, never, never, false, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageActionsBoxComponent, "stream-message-actions-box", never, { "isMine": { "alias": "isMine"; "required": false; }; "message": { "alias": "message"; "required": false; }; "messageTextHtmlElement": { "alias": "messageTextHtmlElement"; "required": false; }; "enabledActions": { "alias": "enabledActions"; "required": false; }; }, {}, never, never, false, never>;
49
49
  }
@@ -13,5 +13,5 @@ export declare class MessageBlockedComponent {
13
13
  */
14
14
  isMyMessage: boolean;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageBlockedComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageBlockedComponent, "stream-message-blocked", never, { "message": "message"; "isMyMessage": "isMyMessage"; }, {}, never, never, false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageBlockedComponent, "stream-message-blocked", never, { "message": { "alias": "message"; "required": false; }; "isMyMessage": { "alias": "isMyMessage"; "required": false; }; }, {}, never, never, false, never>;
17
17
  }
@@ -94,5 +94,5 @@ export declare class AutocompleteTextareaComponent implements TextareaInterface,
94
94
  private updateMentionedUsersFromText;
95
95
  private updateCustomAutocompleteOptions;
96
96
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteTextareaComponent, never>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTextareaComponent, "stream-autocomplete-textarea", never, { "value": "value"; "placeholder": "placeholder"; "areMentionsEnabled": "areMentionsEnabled"; "inputMode": "inputMode"; "mentionScope": "mentionScope"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; "pasteFromClipboard": "pasteFromClipboard"; }, never, never, false, never>;
97
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteTextareaComponent, "stream-autocomplete-textarea", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "areMentionsEnabled": { "alias": "areMentionsEnabled"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "mentionScope": { "alias": "mentionScope"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; "pasteFromClipboard": "pasteFromClipboard"; }, never, never, false, never>;
98
98
  }
@@ -186,5 +186,5 @@ export declare class MessageInputComponent implements OnInit, OnChanges, OnDestr
186
186
  private checkIfInEditMode;
187
187
  private messageToUpdateChanged;
188
188
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageInputComponent, [null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
189
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageInputComponent, "stream-message-input", never, { "isFileUploadEnabled": "isFileUploadEnabled"; "areMentionsEnabled": "areMentionsEnabled"; "mentionScope": "mentionScope"; "mode": "mode"; "isMultipleFileUploadEnabled": "isMultipleFileUploadEnabled"; "message": "message"; "sendMessage$": "sendMessage$"; "inputMode": "inputMode"; "autoFocus": "autoFocus"; "watchForMessageToEdit": "watchForMessageToEdit"; "displaySendButton": "displaySendButton"; "displayVoiceRecordingButton": "displayVoiceRecordingButton"; "displayPollCreateButton": "displayPollCreateButton"; }, { "messageUpdate": "messageUpdate"; "messageDraftChange": "messageDraftChange"; }, ["voiceRecorderRef"], ["[message-input-start]", "[message-input-end]"], false, never>;
189
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageInputComponent, "stream-message-input", never, { "isFileUploadEnabled": { "alias": "isFileUploadEnabled"; "required": false; }; "areMentionsEnabled": { "alias": "areMentionsEnabled"; "required": false; }; "mentionScope": { "alias": "mentionScope"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isMultipleFileUploadEnabled": { "alias": "isMultipleFileUploadEnabled"; "required": false; }; "message": { "alias": "message"; "required": false; }; "sendMessage$": { "alias": "sendMessage$"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "watchForMessageToEdit": { "alias": "watchForMessageToEdit"; "required": false; }; "displaySendButton": { "alias": "displaySendButton"; "required": false; }; "displayVoiceRecordingButton": { "alias": "displayVoiceRecordingButton"; "required": false; }; "displayPollCreateButton": { "alias": "displayPollCreateButton"; "required": false; }; }, { "messageUpdate": "messageUpdate"; "messageDraftChange": "messageDraftChange"; }, ["voiceRecorderRef"], ["[message-input-start]", "[message-input-end]"], false, never>;
190
190
  }
@@ -51,5 +51,5 @@ export declare class TextareaComponent implements TextareaInterface, OnChanges,
51
51
  enterHit(event: Event): void;
52
52
  private adjustTextareaHeight;
53
53
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "stream-textarea", never, { "value": "value"; "placeholder": "placeholder"; "inputMode": "inputMode"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; "pasteFromClipboard": "pasteFromClipboard"; }, never, never, false, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "stream-textarea", never, { "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; }, { "valueChange": "valueChange"; "send": "send"; "pasteFromClipboard": "pasteFromClipboard"; }, never, never, false, never>;
55
55
  }
@@ -20,5 +20,5 @@ export declare class TextareaDirective implements OnChanges {
20
20
  constructor(viewContainerRef: ViewContainerRef);
21
21
  ngOnChanges(changes: SimpleChanges): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<TextareaDirective, "[streamTextarea]", never, { "componentRef": "componentRef"; "areMentionsEnabled": "areMentionsEnabled"; "mentionScope": "mentionScope"; "inputMode": "inputMode"; "value": "value"; "placeholder": "placeholder"; "autoFocus": "autoFocus"; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; "pasteFromClipboard": "pasteFromClipboard"; }, never, never, false, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TextareaDirective, "[streamTextarea]", never, { "componentRef": { "alias": "componentRef"; "required": false; }; "areMentionsEnabled": { "alias": "areMentionsEnabled"; "required": false; }; "mentionScope": { "alias": "mentionScope"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; }, { "valueChange": "valueChange"; "send": "send"; "userMentions": "userMentions"; "pasteFromClipboard": "pasteFromClipboard"; }, never, never, false, never>;
24
24
  }
@@ -1,3 +1,3 @@
1
1
  import { GroupStyleOptions, StreamMessage } from '../types';
2
- export declare type GroupStyle = '' | 'middle' | 'top' | 'bottom' | 'single';
2
+ export type GroupStyle = '' | 'middle' | 'top' | 'bottom' | 'single';
3
3
  export declare const getGroupStyles: (message: StreamMessage, previousMessage?: StreamMessage, nextMessage?: StreamMessage, options?: GroupStyleOptions) => GroupStyle;
@@ -142,5 +142,5 @@ export declare class MessageListComponent implements AfterViewChecked, OnChanges
142
142
  private newMessageReceived;
143
143
  private checkIfOnSeparateDates;
144
144
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageListComponent, never>;
145
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageListComponent, "stream-message-list", never, { "mode": "mode"; "direction": "direction"; "hideJumpToLatestButtonDuringScroll": "hideJumpToLatestButtonDuringScroll"; "displayDateSeparator": "displayDateSeparator"; "displayUnreadSeparator": "displayUnreadSeparator"; "dateSeparatorTextPos": "dateSeparatorTextPos"; "openMessageListAt": "openMessageListAt"; "hideUnreadCountForNotificationAndIndicator": "hideUnreadCountForNotificationAndIndicator"; "displayLoadingIndicator": "displayLoadingIndicator"; }, {}, never, never, false, never>;
145
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageListComponent, "stream-message-list", never, { "mode": { "alias": "mode"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "hideJumpToLatestButtonDuringScroll": { "alias": "hideJumpToLatestButtonDuringScroll"; "required": false; }; "displayDateSeparator": { "alias": "displayDateSeparator"; "required": false; }; "displayUnreadSeparator": { "alias": "displayUnreadSeparator"; "required": false; }; "dateSeparatorTextPos": { "alias": "dateSeparatorTextPos"; "required": false; }; "openMessageListAt": { "alias": "openMessageListAt"; "required": false; }; "hideUnreadCountForNotificationAndIndicator": { "alias": "hideUnreadCountForNotificationAndIndicator"; "required": false; }; "displayLoadingIndicator": { "alias": "displayLoadingIndicator"; "required": false; }; }, {}, never, never, false, never>;
146
146
  }
@@ -65,5 +65,5 @@ export declare class MessageReactionsComponent implements OnChanges, OnInit, Aft
65
65
  isOpenChange: (isOpen: boolean) => void;
66
66
  private setExistingReactions;
67
67
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageReactionsComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageReactionsComponent, "stream-message-reactions", never, { "messageId": "messageId"; "messageReactionGroups": "messageReactionGroups"; "messageReactionCounts": "messageReactionCounts"; "latestReactions": "latestReactions"; "ownReactions": "ownReactions"; }, {}, never, never, false, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageReactionsComponent, "stream-message-reactions", never, { "messageId": { "alias": "messageId"; "required": false; }; "messageReactionGroups": { "alias": "messageReactionGroups"; "required": false; }; "messageReactionCounts": { "alias": "messageReactionCounts"; "required": false; }; "latestReactions": { "alias": "latestReactions"; "required": false; }; "ownReactions": { "alias": "ownReactions"; "required": false; }; }, {}, never, never, false, never>;
69
69
  }
@@ -31,5 +31,5 @@ export declare class MessageReactionsSelectorComponent implements OnInit, OnDest
31
31
  getEmojiByReaction(reactionType: MessageReactionType): string;
32
32
  react(type: MessageReactionType): Promise<void>;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageReactionsSelectorComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageReactionsSelectorComponent, "stream-message-reactions-selector", never, { "ownReactions": "ownReactions"; "messageId": "messageId"; }, {}, never, never, false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageReactionsSelectorComponent, "stream-message-reactions-selector", never, { "ownReactions": { "alias": "ownReactions"; "required": false; }; "messageId": { "alias": "messageId"; "required": false; }; }, {}, never, never, false, never>;
35
35
  }
@@ -4,7 +4,7 @@ import { UserResponse } from 'stream-chat';
4
4
  import { MessageService } from '../message.service';
5
5
  import { CustomTemplatesService } from '../custom-templates.service';
6
6
  import * as i0 from "@angular/core";
7
- declare type MessagePart = {
7
+ type MessagePart = {
8
8
  content: string;
9
9
  type: 'text' | 'mention';
10
10
  user?: UserResponse;
@@ -40,6 +40,6 @@ export declare class MessageTextComponent implements OnChanges {
40
40
  private fixEmojiDisplay;
41
41
  private wrapLinksWithAnchorTag;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageTextComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageTextComponent, "stream-message-text", never, { "message": "message"; "isQuoted": "isQuoted"; "shouldTranslate": "shouldTranslate"; }, {}, never, never, false, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageTextComponent, "stream-message-text", never, { "message": { "alias": "message"; "required": false; }; "isQuoted": { "alias": "isQuoted"; "required": false; }; "shouldTranslate": { "alias": "shouldTranslate"; "required": false; }; }, {}, never, never, false, never>;
44
44
  }
45
45
  export {};
@@ -25,5 +25,5 @@ export declare class ModalComponent implements OnChanges {
25
25
  private watchForOutsideClicks;
26
26
  private stopWatchForOutsideClicks;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "stream-modal", never, { "isOpen": "isOpen"; "content": "content"; }, { "isOpenChange": "isOpenChange"; }, never, ["*"], false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "stream-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, { "isOpenChange": "isOpenChange"; }, never, ["*"], false, never>;
29
29
  }
@@ -15,5 +15,5 @@ export declare class NotificationComponent {
15
15
  content: TemplateRef<void> | undefined;
16
16
  constructor();
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "stream-notification", never, { "type": "type"; "content": "content"; }, {}, never, ["*"], false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "stream-notification", never, { "type": { "alias": "type"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, {}, never, ["*"], false, never>;
19
19
  }
@@ -24,7 +24,10 @@ export declare class PaginatedListComponent<T> implements AfterViewInit {
24
24
  * @returns the track by id
25
25
  */
26
26
  trackBy: TrackByFunction<T>;
27
- itemTempalteRef: TemplateRef<T> | undefined;
27
+ itemTempalteRef: TemplateRef<{
28
+ item: T;
29
+ index: number;
30
+ }> | undefined;
28
31
  /**
29
32
  * The component will signal via this output when more items should be fetched
30
33
  *
@@ -38,5 +41,5 @@ export declare class PaginatedListComponent<T> implements AfterViewInit {
38
41
  ngAfterViewInit(): void;
39
42
  private scrolled;
40
43
  static ɵfac: i0.ɵɵFactoryDeclaration<PaginatedListComponent<any>, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<PaginatedListComponent<any>, "stream-paginated-list", never, { "items": "items"; "isLoading": "isLoading"; "hasMore": "hasMore"; "trackBy": "trackBy"; }, { "loadMore": "loadMore"; }, ["itemTempalteRef"], never, false, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginatedListComponent<any>, "stream-paginated-list", never, { "items": { "alias": "items"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "hasMore": { "alias": "hasMore"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; }, { "loadMore": "loadMore"; }, ["itemTempalteRef"], never, false, never>;
42
45
  }
@@ -39,5 +39,5 @@ export declare abstract class BasePollComponent implements OnChanges, AfterViewI
39
39
  protected get currentUser(): User | undefined;
40
40
  protected markForCheck(): void;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<BasePollComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<BasePollComponent, "stream-base-poll", never, { "pollId": "pollId"; "messageId": "messageId"; }, {}, never, never, false, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<BasePollComponent, "stream-base-poll", never, { "pollId": { "alias": "pollId"; "required": false; }; "messageId": { "alias": "messageId"; "required": false; }; }, {}, never, never, false, never>;
43
43
  }
@@ -18,5 +18,5 @@ export declare class AddOptionComponent extends BasePollComponent {
18
18
  addOption(): Promise<void>;
19
19
  protected stateStoreSelector(poll: Poll, markForCheck: () => void): () => void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<AddOptionComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<AddOptionComponent, "stream-add-option", never, { "closeModal": "closeModal"; }, {}, never, never, false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddOptionComponent, "stream-add-option", never, { "closeModal": { "alias": "closeModal"; "required": false; }; }, {}, never, never, false, never>;
22
22
  }
@@ -8,7 +8,7 @@ import { ChannelService } from '../../channel.service';
8
8
  import { MessageActionsService } from '../../message-actions.service';
9
9
  import { NotificationService } from '../../notification.service';
10
10
  import * as i0 from "@angular/core";
11
- declare type Action = 'allOptions' | 'suggestOption' | 'addAnswer' | 'viewComments' | 'viewResults' | 'endVote';
11
+ type Action = 'allOptions' | 'suggestOption' | 'addAnswer' | 'viewComments' | 'viewResults' | 'endVote';
12
12
  /**
13
13
  *
14
14
  */
@@ -45,6 +45,6 @@ export declare class PollActionsComponent extends BasePollComponent {
45
45
  closePoll(): Promise<void>;
46
46
  getModalContext(): ModalContext;
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<PollActionsComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<PollActionsComponent, "stream-poll-actions", never, { "maxOptionsDisplayed": "maxOptionsDisplayed"; "maxPollOptions": "maxPollOptions"; }, {}, never, never, false, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<PollActionsComponent, "stream-poll-actions", never, { "maxOptionsDisplayed": { "alias": "maxOptionsDisplayed"; "required": false; }; "maxPollOptions": { "alias": "maxPollOptions"; "required": false; }; }, {}, never, never, false, never>;
49
49
  }
50
50
  export {};
@@ -10,7 +10,7 @@ export declare class PollAnswersListComponent extends BasePollComponent implemen
10
10
  /**
11
11
  * The even that's emitted when the update/add comment button is clicked
12
12
  */
13
- upsertOwnAnswer: EventEmitter<void>;
13
+ readonly upsertOwnAnswer: EventEmitter<void>;
14
14
  isLoading: boolean;
15
15
  next?: string | undefined;
16
16
  answers: PollAnswer[];
@@ -16,5 +16,5 @@ export declare class PollVoteComponent {
16
16
  constructor(translateService: TranslateService, dateParser: DateParserService);
17
17
  parseDate(date: string): string;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<PollVoteComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<PollVoteComponent, "stream-poll-vote", never, { "vote": "vote"; }, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<PollVoteComponent, "stream-poll-vote", never, { "vote": { "alias": "vote"; "required": false; }; }, {}, never, never, false, never>;
20
20
  }
@@ -20,5 +20,5 @@ export declare class PollVoteResultsListComponent extends BasePollComponent impl
20
20
  trackByVoteId: (_: number, vote: PollVote) => string;
21
21
  protected stateStoreSelector(poll: Poll, markForCheck: () => void): () => void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<PollVoteResultsListComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<PollVoteResultsListComponent, "stream-poll-vote-results-list", never, { "option": "option"; }, {}, never, never, false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<PollVoteResultsListComponent, "stream-poll-vote-results-list", never, { "option": { "alias": "option"; "required": false; }; }, {}, never, never, false, never>;
24
24
  }
@@ -23,5 +23,5 @@ export declare class UpsertAnswerComponent extends BasePollComponent implements
23
23
  addComment(): Promise<void>;
24
24
  protected stateStoreSelector(_: Poll, __: () => void): () => void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<UpsertAnswerComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<UpsertAnswerComponent, "stream-upsert-answer", never, { "answer": "answer"; "closeModal": "closeModal"; }, {}, never, never, false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<UpsertAnswerComponent, "stream-upsert-answer", never, { "answer": { "alias": "answer"; "required": false; }; "closeModal": { "alias": "closeModal"; "required": false; }; }, {}, never, never, false, never>;
27
27
  }
@@ -15,11 +15,11 @@ export declare class PollComposerComponent {
15
15
  /**
16
16
  * Emitted when a poll is created, the poll id is emitted
17
17
  */
18
- pollCompose: EventEmitter<string>;
18
+ readonly pollCompose: EventEmitter<string>;
19
19
  /**
20
20
  * Emitted when the poll composing is cancelled
21
21
  */
22
- cancel: EventEmitter<void>;
22
+ readonly cancel: EventEmitter<void>;
23
23
  formGroup: FormGroup<{
24
24
  name: FormControl<string | null>;
25
25
  options: FormArray<FormControl<string | null>>;
@@ -1,7 +1,7 @@
1
1
  import { Poll, PollState } from 'stream-chat';
2
2
  import { BasePollComponent } from '../base-poll.component';
3
3
  import * as i0 from "@angular/core";
4
- declare type SelectionInstructions = {
4
+ type SelectionInstructions = {
5
5
  text: string;
6
6
  count: number | undefined;
7
7
  };
@@ -23,5 +23,5 @@ export declare class PollOptionSelectorComponent extends BasePollComponent imple
23
23
  trackByVoteId(_: number, vote: PollVote): string;
24
24
  protected stateStoreSelector(poll: Poll, markForCheck: () => void): () => void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<PollOptionSelectorComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<PollOptionSelectorComponent, "stream-poll-option-selector", never, { "option": "option"; "displayAvatarCount": "displayAvatarCount"; "voteCountVerbose": "voteCountVerbose"; }, {}, never, never, false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<PollOptionSelectorComponent, "stream-poll-option-selector", never, { "option": { "alias": "option"; "required": false; }; "displayAvatarCount": { "alias": "displayAvatarCount"; "required": false; }; "voteCountVerbose": { "alias": "voteCountVerbose"; "required": false; }; }, {}, never, never, false, never>;
27
27
  }
@@ -13,5 +13,5 @@ export declare class PollOptionsListComponent extends BasePollComponent {
13
13
  protected stateStoreSelector(poll: Poll, markForCheck: () => void): () => void;
14
14
  trackByOptionId(_: number, option: PollOption): string;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<PollOptionsListComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<PollOptionsListComponent, "stream-poll-options-list", never, { "maxOptionsDisplayed": "maxOptionsDisplayed"; }, {}, never, never, false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<PollOptionsListComponent, "stream-poll-options-list", never, { "maxOptionsDisplayed": { "alias": "maxOptionsDisplayed"; "required": false; }; }, {}, never, never, false, never>;
17
17
  }