зеркало из
1
0
Форкнуть 0

Fix copyright header to MIT and add LICENSE files (#225)

This commit is contained in:
Dominik 2021-05-06 16:34:10 -07:00 коммит произвёл GitHub
Родитель d3b01cf8bd
Коммит d7b62e0ea8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
393 изменённых файлов: 1129 добавлений и 376 удалений

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix copyright header to MIT and add LICENSE files",
"packageName": "@azure/acs-calling-declarative",
"email": "domessin@microsoft.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix copyright header to MIT and add LICENSE files",
"packageName": "@azure/acs-calling-selector",
"email": "domessin@microsoft.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix copyright header to MIT and add LICENSE files",
"packageName": "@azure/acs-chat-declarative",
"email": "domessin@microsoft.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix copyright header to MIT and add LICENSE files",
"packageName": "@azure/acs-chat-selector",
"email": "domessin@microsoft.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix copyright header to MIT and add LICENSE files",
"packageName": "react-components",
"email": "domessin@microsoft.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix copyright header to MIT and add LICENSE files",
"packageName": "react-composites",
"email": "domessin@microsoft.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -26,7 +26,7 @@ module.exports = {
],
'@typescript-eslint/no-explicit-any': 'off',
eqeqeq: 'warn',
'header/header': ['error', 'line', ' © Microsoft Corporation. All rights reserved.'],
'header/header': ['error', 'line', ' Copyright (c) Microsoft Corporation.\n Licensed under the MIT license.'],
'@typescript-eslint/no-unused-vars': ['warn', { varsIgnorePattern: '^_' }],
'no-restricted-imports': [
'error',

Просмотреть файл

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2020 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import {
Call,
CallAgent,

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { Call, CallAgent, CallEndReason, IncomingCall } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import {
Call,
CallAgent,

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { deviceManagerDeclaratify } from './DeviceManagerDeclarative';
import { CallAgent, CallClient, CreateViewOptions, DeviceManager } from '@azure/communication-calling';
import { CallClientState, LocalVideoStream, RemoteVideoStream } from './CallClientState';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import {
AudioDeviceInfo,

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { AudioDeviceInfo, DeviceAccess, VideoDeviceInfo } from '@azure/communication-calling';
import EventEmitter from 'events';
import { enableMapSet, produce } from 'immer';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { CallerInfo } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { Call } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
* Internal object used to hold callId. This is so when we create the closure that includes this container we can update

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { Call, Features, LocalVideoStream, RemoteParticipant } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import {
Call as SdkCall,
RemoteParticipant as SdkRemoteParticipant,

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import {
AudioDeviceInfo,

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { AudioDeviceInfo, DeviceAccess, DeviceManager, VideoDeviceInfo } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { CallEndReason, IncomingCall } from '@azure/communication-calling';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { LocalVideoStream, RemoteVideoStream, VideoStreamRenderer } from '@azure/communication-calling';
/**

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { RemoteParticipant, RemoteVideoStream } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { RecordingCallFeature } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { RemoteVideoStream } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import {
CallerInfo,

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { CreateViewOptions, VideoStreamRenderer } from '@azure/communication-calling';
import { LocalVideoStream, RemoteVideoStream } from './CallClientState';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import {
Call,
CallAgent,

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { TranscriptionCallFeature } from '@azure/communication-calling';
import { CallContext } from './CallContext';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export { callClientDeclaratify } from './CallClientDeclarative';
export type { DeclarativeCallClient } from './CallClientDeclarative';
export type {

Просмотреть файл

@ -26,7 +26,7 @@ module.exports = {
],
'@typescript-eslint/no-explicit-any': 'off',
eqeqeq: 'warn',
'header/header': ['error', 'line', ' © Microsoft Corporation. All rights reserved.'],
'header/header': ['error', 'line', ' Copyright (c) Microsoft Corporation.\n Licensed under the MIT license.'],
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'no-restricted-imports': [
'error',

Просмотреть файл

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2020 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { Call, CallClientState, DeviceManager, IncomingCall } from '@azure/acs-calling-declarative';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// @ts-ignore
import * as reselect from 'reselect';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { CallAgent, CallAgentOptions, DeviceManager } from '@azure/communication-calling';
import { CommunicationTokenCredential } from '@azure/communication-common';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import {
CallAgent,
DeviceManager,

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export { createDefaultHandlersForComponent } from './handlers/createHandlers';
export type { BaseSelectorProps } from './baseSelectors';
export type { CommonProperties } from './handlers/createHandlers';

Просмотреть файл

@ -26,7 +26,7 @@ module.exports = {
],
'@typescript-eslint/no-explicit-any': 'off',
eqeqeq: 'warn',
'header/header': ['error', 'line', ' © Microsoft Corporation. All rights reserved.'],
'header/header': ['error', 'line', ' Copyright (c) Microsoft Corporation.\n Licensed under the MIT license.'],
'@typescript-eslint/no-unused-vars': ['warn', { varsIgnorePattern: '^_' }],
'no-restricted-imports': [
'error',

Просмотреть файл

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2020 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatClient, ChatThread, ChatThreadInfo } from '@azure/communication-chat';
import {

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatClient } from '@azure/communication-chat';
import { ChatContext } from './ChatContext';
import { ChatClientState } from './ChatClientState';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatThreadInfo, ChatParticipant } from '@azure/communication-chat';
import { ChatMessageWithStatus } from './types/ChatMessageWithStatus';
import { ReadReceipt } from './types/ReadReceipt';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import EventEmitter from 'events';
import produce from 'immer';
import { ChatClientState, ChatThreadClientState } from './ChatClientState';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatMessage, ChatMessageReadReceipt, ChatParticipant, ChatThreadClient } from '@azure/communication-chat';
import { ChatContext } from './ChatContext';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatThreadClient, SendChatMessageResult, WithResponse } from '@azure/communication-chat';
import { ChatMessageWithStatus } from './types/ChatMessageWithStatus';
import { ChatContext } from './ChatContext';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export const Constants = {
TYPING_INDICATOR_MAINTAIN_TIME: 30 * 1000,
DUMMY_DATE: new Date(0)

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatClient } from '@azure/communication-chat';
import {
ChatMessageDeletedEvent,

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatMessage } from '@azure/communication-chat';
import { ChatMessageWithStatus, MessageStatus } from './types/ChatMessageWithStatus';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export { chatClientDeclaratify } from './ChatClientDeclarative';
export { ChatContext } from './ChatContext';
export { chatThreadClientDeclaratify } from './ChatThreadClientDeclarative';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ListPageSettings } from '@azure/communication-chat';
import { ChatContext } from '../ChatContext';
import { PagedAsyncIterableIterator } from '@azure/core-paging';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatMessage, ChatThreadClient, RestListMessagesOptions } from '@azure/communication-chat';
import { ChatContext } from '../ChatContext';
import { convertChatMessage } from '../convertChatMessage';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatParticipant, ChatThreadClient, RestListParticipantsOptions } from '@azure/communication-chat';
import { ChatContext } from '../ChatContext';
import { createDecoratedIterator } from './createDecoratedIterator';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatThreadClient, ChatMessageReadReceipt, RestListReadReceiptsOptions } from '@azure/communication-chat';
import { ChatContext } from '../ChatContext';
import { createDecoratedIterator } from './createDecoratedIterator';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatThreadInfo, ChatClient, RestListChatThreadsOptions } from '@azure/communication-chat';
import { ChatContext } from '../ChatContext';
import { createDecoratedIterator } from './createDecoratedIterator';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export class MockCommunicationUserCredential {
// eslint-disable-next-line @typescript-eslint/no-empty-function
public getToken(): any {}

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatMessageReadReceipt, ChatThreadClient, ChatParticipant } from '@azure/communication-chat';
import { ChatMessageWithStatus } from '..';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export const createMockIterator = <T>(mockItems: T[]): any => {
let i = 0;

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export type ChatConfig = {
userId: string;

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatMessage } from '@azure/communication-chat';
export type MessageStatus = 'delivered' | 'sending' | 'seen' | 'failed';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatMessageReadReceipt } from '@azure/communication-chat';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { TypingIndicatorReceivedEvent } from '@azure/communication-signaling';

Просмотреть файл

@ -26,7 +26,7 @@ module.exports = {
],
'@typescript-eslint/no-explicit-any': 'off',
eqeqeq: 'warn',
'header/header': ['error', 'line', ' © Microsoft Corporation. All rights reserved.'],
'header/header': ['error', 'line', ' Copyright (c) Microsoft Corporation.\n Licensed under the MIT license.'],
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'no-restricted-imports': [
'error',

Просмотреть файл

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2020 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatClientState, ChatMessageWithStatus, TypingIndicator } from '@azure/acs-chat-declarative';
import { ChatParticipant, ChatMessageReadReceipt } from '@azure/communication-chat';
export type BaseSelectorProps = {

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// @ts-ignore
import { ChatClientState } from '@azure/acs-chat-declarative';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { getChatMessages, getIsLargeGroup, getLatestReadTime, getUserId } from './baseSelectors';
import { ChatMessageWithStatus } from '@azure/acs-chat-declarative';
// The following need explicitly imported to avoid api-extractor issues.

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ReactElement } from 'react';
import { DeclarativeChatClient } from '@azure/acs-chat-declarative';
import { ChatThreadClient } from '@azure/communication-chat';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export { chatThreadSelector } from './chatThreadSelector';
export { sendBoxSelector } from './sendBoxSelector';
export { chatParticipantListSelector } from './chatParticipantListSelector';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { createSelector } from 'reselect';
import { getCoolPeriod, getDisplayName, getUserId } from './baseSelectors';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { MessageStatus } from '@azure/acs-chat-declarative';
export enum MessageAttachedStatus {

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export type WebUiChatParticipant = {
userId: string;

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { TypingIndicator } from '@azure/acs-chat-declarative';
import { typingIndicatorSelector } from './typingIndicatorSelector';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// @ts-ignore
import { ChatClientState } from '@azure/acs-chat-declarative';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { ChatMessage } from '../types/UiChatMessage';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export const MINIMUM_TYPING_INTERVAL_IN_MILLISECONDS = 8000;
export const PARTICIPANTS_THRESHOLD = 20;

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { memoizeFnAll } from './memoizeFnAll';
function* genArray(

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export type FunctionWithKey<KeyT, ArgsT extends any[], RetT> = (key: KeyT, ...args: ArgsT) => RetT;
export type CallbackType<KeyT, ArgsT extends any[], FnRetT> = (
memoizedFn: FunctionWithKey<KeyT, ArgsT, FnRetT>

Просмотреть файл

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2020 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -31,7 +31,7 @@ module.exports = {
],
'@typescript-eslint/no-explicit-any': 'off',
eqeqeq: 'warn',
'header/header': ['error', 'line', ' © Microsoft Corporation. All rights reserved.'],
'header/header': ['error', 'line', ' Copyright (c) Microsoft Corporation.\n Licensed under the MIT license.'],
'react/display-name': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { varsIgnorePattern: '^_' }]
},

Просмотреть файл

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2020 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -1,3 +1,4 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
export * from '../../react-components/src';

Просмотреть файл

@ -31,7 +31,7 @@ module.exports = {
],
'@typescript-eslint/no-explicit-any': 'off',
eqeqeq: 'warn',
'header/header': ['error', 'line', ' © Microsoft Corporation. All rights reserved.'],
'header/header': ['error', 'line', ' Copyright (c) Microsoft Corporation.\n Licensed under the MIT license.'],
'react/display-name': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { varsIgnorePattern: '^_' }],
'no-restricted-imports': [

Просмотреть файл

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2020 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { DefaultButton, IButtonProps, Stack, concatStyleSets, mergeStyles } from '@fluentui/react';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { mergeStyles, Stack, IButtonProps } from '@fluentui/react';
import { useTheme } from '@fluentui/react-theme-provider';
import { CallIcon, CallRecordingIcon } from '@fluentui/react-northstar';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { DefaultButton, IButtonProps, Stack, concatStyleSets, mergeStyles } from '@fluentui/react';

Просмотреть файл

@ -1,4 +1,6 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { render, unmountComponentAtNode } from 'react-dom';
import { act } from 'react-dom/test-utils';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { mergeStyles, MessageBar, MessageBarType } from '@fluentui/react';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { mergeStyles } from '@fluentui/react';
import React, { useState } from 'react';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import Linkify from 'react-linkify';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { DefaultButton, IButtonProps, Stack, concatStyleSets, mergeStyles } from '@fluentui/react';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { DefaultButton, IButtonProps, Stack, concatStyleSets, mergeStyles } from '@fluentui/react';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { memberItemContainerStyle, memberItemIsYouStyle, iconContainerStyle } from './styles/ParticipantItem.styles';
import {

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { mergeStyles, TooltipHost } from '@fluentui/react';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { DefaultButton, IButtonProps, Stack, concatStyleSets, mergeStyles } from '@fluentui/react';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React, { useState } from 'react';
import {

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React, { useEffect, useRef } from 'react';
import { invertedVideoStyle, mediaContainer } from './styles/StreamMedia.styles';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import { IStyle, FontIcon, mergeStyles, Stack } from '@fluentui/react';
import { ComponentSlotStyle } from '@fluentui/react-northstar';

Просмотреть файл

@ -1,4 +1,5 @@
// © Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
import React from 'react';
import { ChoiceGroup, IChoiceGroupOption, concatStyleSets } from '@fluentui/react';

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше