MCPcopy Create free account

hub / github.com/cometchat/cometchat-uikit-angular / functions

Functions6,248 in github.com/cometchat/cometchat-uikit-angular

↓ 9 callersMethodselectEmoji
* Selects an emoji tab to filter reactions.
projects/cometchat-uikit/src/lib/components/cometchat-reaction-list/cometchat-reaction-list.component.ts:155
↓ 9 callersFunctionselectTextNode
* Helper: select a specific text node (or portion of it).
projects/cometchat-uikit/src/lib/services/format-manager.class.spec.ts:56
↓ 9 callersMethodsetOnError
Sets the error callback. @see Requirements 7.1, 7.2
projects/cometchat-uikit/src/lib/services/call-logs.service.ts:59
↓ 9 callersMethodsetParentMessageId
(parentMessageId: number | null)
projects/cometchat-uikit/src/lib/services/message-list.service.ts:195
↓ 9 callersMethodshowOutgoingCall
(call: MockCall)
projects/cometchat-uikit/src/lib/testing/call-flow.integration.spec.ts:121
↓ 9 callersFunctionsimulateKeystrokes
* Simulates a sequence of keystrokes with timing. * Returns the final state and call counts. * * @param keystrokeCount - Number of keys
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:3672
↓ 9 callersFunctionsoundEnabledConfigGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:3039
↓ 9 callersFunctionstickerDataGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:5146
↓ 9 callersMethodupdateConversationTemplates
(updates: Partial<ConversationTemplates>)
projects/cometchat-uikit/src/lib/services/templates.service.ts:336
↓ 9 callersFunctionwriteReport
(name: string, data: any)
projects/cometchat-uikit/src/lib/analyzers/run-all-analyzers.ts:27
↓ 8 callersMethodannounceError
* Announces an error message to screen readers. * * Uses 'assertive' politeness to ensure the error is announced * immediately, interrupting
projects/cometchat-uikit/src/lib/services/live-announcer.service.ts:115
↓ 8 callersFunctionannouncePoliteImpl
(ctx: any, message: string)
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.announcements.ts:3
↓ 8 callersFunctionassertNoDangerousPatterns
* Asserts that none of the dangerous patterns are present in the given string.
projects/cometchat-uikit/src/lib/services/html-sanitizer.service.property.spec.ts:41
↓ 8 callersFunctionauditFile
* Audits a single CSS file for three-tier resolution chain violations. * * A declaration violates the three-tier pattern when: * 1. It uses a compo
projects/cometchat-uikit/src/lib/styles/property4-group5.spec.ts:330
↓ 8 callersFunctionbuildCategory
(name: string, files: string[])
projects/cometchat-uikit/src/lib/testing/spec-audit.spec.ts:108
↓ 8 callersMethodclearBuffer
* Clears the type-ahead buffer manually. * * Call this when the list loses focus or when you want to reset * the search state.
projects/cometchat-uikit/src/lib/services/type-ahead.service.ts:125
↓ 8 callersMethodclearError
()
projects/cometchat-uikit/src/lib/services/message-list.service.ts:275
↓ 8 callersFunctioncollectSourceFiles
* Recursively collects all files matching a pattern under a root directory.
projects/cometchat-uikit/src/lib/testing/spec-audit.spec.ts:47
↓ 8 callersMethodcontentToDisplay
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/message-composer-extensions.integration.spec.ts:256
↓ 8 callersMethodconvertToList
Convert current selection to a list of the given type.
projects/cometchat-uikit/src/lib/services/list-manager.class.ts:88
↓ 8 callersMethodcountActiveGroups
* Counts how many groups have the active class
projects/cometchat-uikit/src/lib/components/__tests__/active-selection.property.spec.ts:294
↓ 8 callersFunctioncreateEditorState
* Create an initial editor state * * @param content - Text content * @param isRichTextMode - Whether in rich text mode * @returns EditorState obje
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/text-selection.property.spec.ts:301
↓ 8 callersFunctioncreateFluentBuilder
(extraRequestMethods)
vitest.setup.mjs:228
↓ 8 callersFunctioncreateImageMessage
Creates a real CometChat.MediaMessage for image type.
projects/cometchat-uikit/src/lib/components/cometchat-message-bubble/cometchat-message-bubble.component.spec.ts:89
↓ 8 callersFunctioncreateMockCallLog
Creates a mock call log object
projects/cometchat-uikit/src/lib/utils/CallLogUtils.spec.ts:300
↓ 8 callersFunctioncreateMockCustomMessage
(metadata: any)
projects/cometchat-uikit/src/lib/utils/extension-url-extractor.spec.ts:15
↓ 8 callersFunctioncreateMockGroupMemberAdded
(overrides: Partial<IGroupMemberAdded> = {})
projects/cometchat-uikit/src/lib/events/CometChatGroupEvents.spec.ts:82
↓ 8 callersFunctioncreateMockLoggedInUser
Creates a mock logged-in user
projects/cometchat-uikit/src/lib/utils/CallLogUtils.spec.ts:295
↓ 8 callersFunctioncreateMockMediaStream
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-media-recorder/cometchat-media-recorder.component.spec.ts:1083
↓ 8 callersFunctioncreateMockMessage
(id = 1, reactions: MockReactionCount[] = [])
projects/cometchat-uikit/src/lib/components/cometchat-reaction-info/cometchat-reaction-info.component.spec.ts:221
↓ 8 callersMethodcreateParticipantGroupMember
* Creates a CometChat.GroupMember from a User with participant scope. * * @param user - The user to convert * @param group - The group the me
projects/cometchat-uikit/src/lib/utils/GroupMemberUtils.ts:301
↓ 8 callersFunctioncreateTestMessages
* Creates mock messages with realistic content for story rendering.
projects/cometchat-uikit/src/lib/components/cometchat-message-list/cometchat-message-list.stories.ts:30
↓ 8 callersFunctioncreateUserConversation
(user: MockUser)
projects/cometchat-uikit/src/lib/testing/message-header-chat-state.integration.spec.ts:160
↓ 8 callersFunctioncssOverflowArbitrary
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-fullscreen-viewer/cometchat-fullscreen-viewer-body-scroll.property.spec.ts:50
↓ 8 callersMethoddeleteMessage
(messageId: number)
projects/cometchat-uikit/src/lib/services/message-list.service.ts:280
↓ 8 callersMethoddestroy
()
projects/cometchat-uikit/src/lib/components/cometchat-conversations/cometchat-conversations-component.spec.ts:197
↓ 8 callersFunctiondetectMentions
* Detects @mentions in text using the mentions formatter regex. * Mirrors the CometChatMentionsFormatter's detection logic. * * **Property 17: Ment
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:352
↓ 8 callersFunctiondispatchKeydown
(key: string, target?: HTMLElement)
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-button/cometchat-button.component.spec.ts:49
↓ 8 callersMethodemitError
(error: unknown)
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.send-utils.ts:33
↓ 8 callersMethodemitSelectionChange
(lastSelectedId: string | null)
projects/cometchat-uikit/src/lib/components/cometchat-users/cometchat-users.component.ts:283
↓ 8 callersFunctionextensionOperationGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/reply-event-emission.property.spec.ts:224
↓ 8 callersMethodfetchMessagesAroundId
(messageId: number)
projects/cometchat-uikit/src/lib/services/message-list.service.ts:252
↓ 8 callersMethodformatDate
* Formats a Unix timestamp based on the provided calendar configuration. * * @param timestamp - Unix timestamp in seconds * @param calendarOb
projects/cometchat-uikit/src/lib/resources/CometChatLocalize/cometchat-localize.ts:339
↓ 8 callersMethodformatReactionNames
* Formats reactor names: logged-in user becomes localized "You" and is placed first, * other names follow in order.
projects/cometchat-uikit/src/lib/components/cometchat-reaction-info/cometchat-reaction-info.component.ts:146
↓ 8 callersMethodgetCallInitiator
()
projects/cometchat-uikit/src/lib/utils/CallLogUtils.ts:24
↓ 8 callersMethodgetCallLogTemplates
()
projects/cometchat-uikit/src/lib/services/templates.service.ts:252
↓ 8 callersMethodgetDisplayName
()
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header.component.ts:315
↓ 8 callersFunctiongetItemsContainer
()
projects/cometchat-uikit/src/lib/components/cometchat-paginated-list/cometchat-paginated-list.component.spec.ts:160
↓ 8 callersMethodgetMessageToReply
* Get the current message being replied to
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/reply-mode-metadata.property.spec.ts:66
↓ 8 callersMethodgetPlayCount
* Gets the count of play calls
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:2902
↓ 8 callersFunctiongetRegisteredListener
Extracts the registered CallListener from the addCallListener spy
projects/cometchat-uikit/src/lib/services/incoming-call.service.spec.ts:81
↓ 8 callersMethodgetSelectedHTML
* Get the selected content as HTML * Returns empty string if no selection * * @returns Selected HTML * @see Requirements 2.8
projects/cometchat-uikit/src/lib/services/selection-manager.class.ts:241
↓ 8 callersFunctiongetTitleEl
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-link-popover/cometchat-link-popover.component.spec.ts:66
↓ 8 callersMethodgetUid
()
projects/cometchat-uikit/src/lib/components/__tests__/active-selection.property.spec.ts:40
↓ 8 callersMethodhandleDeleteConfirm
()
projects/cometchat-uikit/src/lib/components/cometchat-conversations/cometchat-conversations-component.spec.ts:252
↓ 8 callersMethodhandleDragEnter
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/drag-counter.property.spec.ts:26
↓ 8 callersFunctionhandleMobilePanelAnnouncement
* Replicates the mobilePanelAnnouncementEffect logic from CometChatHomeComponent. * When isMobile is true and panel changes, announce the localized p
projects/sample-app/src/app/pages/home/cometchat-home.a11y.spec.ts:822
↓ 8 callersMethodhandleShiftTabKey
Handle Shift+Tab key: outdents current list item. @returns True if handled. @see Req 3.5
projects/cometchat-uikit/src/lib/services/list-manager.class.ts:65
↓ 8 callersMethodhandleStopRecording
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-media-recorder/cometchat-media-recorder.component.ts:268
↓ 8 callersMethodhandleTabKey
Handle Tab key: indents current list item. @returns True if handled. @see Req 3.5
projects/cometchat-uikit/src/lib/services/list-manager.class.ts:57
↓ 8 callersFunctionhasAriaIdentity
* Checks whether a DOM element has at least one ARIA identity attribute. * Returns true if the element has role, aria-label, or aria-labelledby.
projects/cometchat-uikit/src/lib/aria-attribute-presence.property.spec.ts:60
↓ 8 callersMethodhasFormatting
Check if the content has any rich text formatting.
projects/cometchat-uikit/src/lib/services/rich-text-editor.service.ts:132
↓ 8 callersMethodhasSdkMentions
(text: string)
projects/cometchat-uikit/src/lib/formatters/cometchat-mentions-formatter.ts:169
↓ 8 callersMethodhasShortcodes
Returns true if shortcodes were detected and converted.
projects/cometchat-uikit/src/lib/formatters/cometchat-emoji-formatter.ts:59
↓ 8 callersFunctionhasValidSearchCriteria
( keyword: string, filters: CometChatSearchFilter[] )
projects/cometchat-uikit/src/lib/components/cometchat-search/search-filter.utils.ts:209
↓ 8 callersMethodindentListItem
Indent the current list item (creates nested list, max 5 levels).
projects/cometchat-uikit/src/lib/services/list-manager.class.ts:159
↓ 8 callersMethodinitiateCall
Initiates a new call to the specified user. @see Requirements 3.1, 3.3
projects/cometchat-uikit/src/lib/services/call-logs.service.ts:134
↓ 8 callersMethodinitiateVideoCall
Initiates a video call. @see Requirements 2.2, 3.2
projects/cometchat-uikit/src/lib/services/call-buttons.service.ts:101
↓ 8 callersMethodisLinkActive
* Check if the cursor is currently on a link * @returns True if cursor is inside a link element * @see Requirements 4.1, 4.2
projects/cometchat-uikit/src/lib/services/link-manager.class.ts:181
↓ 8 callersFunctionisMobileDevice
()
projects/cometchat-uikit/src/lib/utils/util.ts:9
↓ 8 callersMethodisSelected
* Checks if a conversation is selected.
projects/cometchat-uikit/src/lib/components/cometchat-conversations/conversations.property.spec.ts:2016
↓ 8 callersFunctionkeystrokeCountGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:3746
↓ 8 callersFunctionmakeFileMsg
( isOutgoing = true, opts: { fileName?: string; fileExtension?: string; fileMimeType?: string; fileSize?:
projects/cometchat-uikit/src/lib/components/cometchat-file-bubble/cometchat-file-bubble.stories.ts:34
↓ 8 callersFunctionmakeMockConversations
(keyword = 'hello')
projects/cometchat-uikit/src/lib/components/cometchat-search/cometchat-search.stories.ts:29
↓ 8 callersFunctionmakeMockMessages
(keyword = 'hello')
projects/cometchat-uikit/src/lib/components/cometchat-search/cometchat-search.stories.ts:42
↓ 8 callersFunctionmakeTextMessage
(id: number)
projects/cometchat-uikit/src/lib/components/cometchat-ai-assistant-chat/cometchat-ai-assistant-chat.component.spec.ts:23
↓ 8 callersFunctionmakeTextMsg
(text: string, isOutgoing = true)
projects/cometchat-uikit/src/lib/components/cometchat-text-bubble/cometchat-text-bubble.stories.ts:34
↓ 8 callersFunctionmediaTypeArbitrary
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-fullscreen-viewer/cometchat-fullscreen-viewer-download.property.spec.ts:124
↓ 8 callersFunctionmentionUsernameGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:674
↓ 8 callersMethodngOnInit
* Plays the incoming call ringtone when a call is set (if sound is not disabled). * Announces the incoming call for screen readers. * * @see
projects/cometchat-uikit/src/lib/components/cometchat-incoming-call/cometchat-incoming-call.component.ts:165
↓ 8 callersFunctionnonEmptyEditorStateGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cursor-positioning.property.spec.ts:472
↓ 8 callersMethodonTabKeyDown
* Handles keyboard navigation for tabs.
projects/cometchat-uikit/src/lib/components/cometchat-reaction-list/cometchat-reaction-list.component.ts:207
↓ 8 callersMethodpublishEvent
(event: Subject<MockCall>, call: MockCall)
projects/cometchat-uikit/src/lib/testing/call-flow.integration.spec.ts:31
↓ 8 callersMethodremoveChatCallListener
()
projects/cometchat-uikit/src/lib/services/ongoing-call.service.ts:166
↓ 8 callersFunctionrestoreGetUserMedia
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-media-recorder/cometchat-media-recorder.component.spec.ts:1173
↓ 8 callersMethodscrollToMessageWithRetry
(messageId: string | number, retries: number)
projects/cometchat-uikit/src/lib/components/cometchat-message-list/cometchat-message-list.component.ts:413
↓ 8 callersFunctionselectAll
* Helper: select all text content inside the element.
projects/cometchat-uikit/src/lib/services/list-manager.class.spec.ts:46
↓ 8 callersMethodselectFocusedItem
()
projects/cometchat-uikit/src/lib/utils/list-keyboard-handler.ts:53
↓ 8 callersMethodsetFocusedIndex
* Sets the focused index directly (for testing initial states).
projects/cometchat-uikit/src/lib/components/cometchat-conversations/conversations.property.spec.ts:2760
↓ 8 callersMethodsetLimit
(limit: number)
projects/cometchat-uikit/src/lib/components/cometchat-reaction-list/cometchat-reaction-list.component.spec.ts:158
↓ 8 callersMethodsetLoggedInUser
(user: CometChat.User | null)
projects/cometchat-uikit/src/lib/formatters/cometchat-mentions-formatter.ts:37
↓ 8 callersMethodsetReadAt
(t: number)
projects/cometchat-uikit/src/lib/components/cometchat-conversation-item/cometchat-conversation-item.component.spec.ts:191
↓ 8 callersFunctionshouldRenderConversations
( searchText: string, activeFilters: CometChatSearchFilter[], searchIn: CometChatSearchScope[], uid?:
projects/cometchat-uikit/src/lib/components/cometchat-search/search-filter.utils.ts:155
↓ 8 callersFunctionshouldRenderMessages
( searchText: string, activeFilters: CometChatSearchFilter[], searchIn: CometChatSearchScope[], uid?:
projects/cometchat-uikit/src/lib/components/cometchat-search/search-filter.utils.ts:182
↓ 8 callersFunctionstubGetUserMedia
(mockStream: MediaStream)
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-media-recorder/cometchat-media-recorder.component.spec.ts:1124
↓ 8 callersFunctionstubMediaRecorder
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-media-recorder/cometchat-media-recorder.component.spec.ts:1138
↓ 8 callersFunctiontoggleFilter
( active: CometChatSearchFilter[], filterId: CometChatSearchFilter )
projects/cometchat-uikit/src/lib/components/cometchat-search/search-filter.utils.ts:142
↓ 8 callersMethodtogglePopover
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-popover/cometchat-popover.component.ts:108
↓ 8 callersFunctiontypingEnabledConfigGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:3704
↓ 8 callersMethodupdateConversationUnreadCount
(id: string, count: number)
projects/cometchat-uikit/src/lib/services/conversations.service.ts:240
← previousnext →801–900 of 6,248, ranked by callers