@connectycube/chat-widget 0.32.1 → 0.34.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.
- package/CHANGELOG.md +56 -256
- package/README.md +3 -1
- package/dist/index.es.js +7088 -19761
- package/dist/index.umd.js +152 -60
- package/dist/{react19/index.es.js → react19.es.js} +4986 -17659
- package/dist/types/components/home/main/ai-dropdown-menu/ai-dropdown-change-tone.d.ts +14 -0
- package/dist/types/components/home/main/ai-dropdown-menu/ai-dropdown-get-summary.d.ts +11 -0
- package/dist/types/components/home/main/chat-ai-button.d.ts +8 -0
- package/dist/types/components/home/main/chat-input-file.d.ts +6 -0
- package/dist/types/components/home/main/chat-input.d.ts +1 -0
- package/dist/types/components/home/main/chat-messages-list.d.ts +1 -0
- package/dist/types/components/home/main/message/call-message.d.ts +13 -0
- package/dist/types/components/home/main/message/message-text-summary.d.ts +8 -0
- package/dist/types/components/home/main/message/message.d.ts +1 -0
- package/dist/types/components/home/main/single-view-form.d.ts +5 -0
- package/dist/types/components/shadcn-ui/card.d.ts +9 -0
- package/dist/types/components/shadcn-ui/checkbox.d.ts +4 -0
- package/dist/types/components/shadcn-ui/class-names.d.ts +50 -0
- package/dist/types/components/shadcn-ui/skeleton.d.ts +2 -0
- package/dist/types/components/widget/widget-app.d.ts +1 -0
- package/dist/types/components/widget/widget-auth.d.ts +2 -0
- package/dist/types/components/widget/widget-error.d.ts +2 -0
- package/dist/types/helpers/connectycube.d.ts +10 -1
- package/dist/types/helpers/formatters.d.ts +1 -0
- package/dist/types/helpers/i18n.d.ts +5 -0
- package/dist/types/helpers/widget.d.ts +22 -0
- package/dist/types/hooks/index.d.ts +3 -1
- package/dist/types/hooks/store/useAppAIStore.d.ts +18 -0
- package/dist/types/hooks/store/useAppDefaultChatStore.d.ts +15 -2
- package/dist/types/hooks/store/useAppInterfaceStore.d.ts +6 -0
- package/dist/types/hooks/store/useAppNotificationStore.d.ts +2 -2
- package/dist/types/hooks/store/useAppSettingsStore.d.ts +13 -4
- package/dist/types/hooks/useAppAuthorization.d.ts +2 -1
- package/dist/types/hooks/useAppPresets.d.ts +13 -3
- package/dist/types/hooks/useCallHistory.d.ts +15 -0
- package/dist/types/locales/el/translation.json.d.ts +59 -1
- package/dist/types/locales/en/translation.json.d.ts +59 -1
- package/dist/types/locales/ua/translation.json.d.ts +59 -1
- package/package.json +49 -39
- package/dist/react19/connectycube-chat-widget-sw.js +0 -44
- package/dist/react19/logo.png +0 -0
- package/dist/react19/types/App.d.ts +0 -23
- package/dist/react19/types/components/calls/calls-confirm-incoming.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-fullscreen-stream.d.ts +0 -6
- package/dist/react19/types/components/calls/calls-header-buttons.d.ts +0 -3
- package/dist/react19/types/components/calls/calls-modal-screen.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-buttons.d.ts +0 -5
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-hung-up.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-screen-share.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-toggle-camera.d.ts +0 -2
- package/dist/react19/types/components/calls/calls-navigation/calls-nav-toggle-mic.d.ts +0 -2
- package/dist/react19/types/components/home/home.d.ts +0 -2
- package/dist/react19/types/components/home/main/chat-header/chat-header-avatar.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-back-button.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-buttons.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header-titles.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header/chat-header.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-header.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-info-members.d.ts +0 -3
- package/dist/react19/types/components/home/main/chat-info-user.d.ts +0 -7
- package/dist/react19/types/components/home/main/chat-input.d.ts +0 -8
- package/dist/react19/types/components/home/main/chat-messages-list.d.ts +0 -6
- package/dist/react19/types/components/home/main/group-member.d.ts +0 -8
- package/dist/react19/types/components/home/main/main.d.ts +0 -2
- package/dist/react19/types/components/home/main/message/message-attachment.d.ts +0 -9
- package/dist/react19/types/components/home/main/message/message-body.d.ts +0 -6
- package/dist/react19/types/components/home/main/message/message-status-mark.d.ts +0 -6
- package/dist/react19/types/components/home/main/message/message-url-preview.d.ts +0 -7
- package/dist/react19/types/components/home/main/message/message.d.ts +0 -15
- package/dist/react19/types/components/home/main/my-profile/my-block-list-item.d.ts +0 -7
- package/dist/react19/types/components/home/main/my-profile/my-block-list.d.ts +0 -3
- package/dist/react19/types/components/home/main/my-profile/my-profile-settings.d.ts +0 -2
- package/dist/react19/types/components/home/main/my-profile/my-profile.d.ts +0 -3
- package/dist/react19/types/components/home/main/profile-info.d.ts +0 -6
- package/dist/react19/types/components/home/main/quick-actions.d.ts +0 -5
- package/dist/react19/types/components/home/main/report-user-dialog.d.ts +0 -6
- package/dist/react19/types/components/home/main/user-status/user-status-badge.d.ts +0 -7
- package/dist/react19/types/components/home/main/user-status/user-status-select.d.ts +0 -3
- package/dist/react19/types/components/home/main/user-status/user-status.d.ts +0 -6
- package/dist/react19/types/components/home/sidebar/chat-item.d.ts +0 -8
- package/dist/react19/types/components/home/sidebar/chats-list.d.ts +0 -3
- package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts +0 -8
- package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/participant.d.ts +0 -7
- package/dist/react19/types/components/home/sidebar/new-chat/new-chat-dialog.d.ts +0 -9
- package/dist/react19/types/components/home/sidebar/new-chat/searched-user.d.ts +0 -13
- package/dist/react19/types/components/home/sidebar/sidebar.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/tabs/chats-tab.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/tabs/users-tab.d.ts +0 -2
- package/dist/react19/types/components/home/sidebar/user-item.d.ts +0 -9
- package/dist/react19/types/components/home/sidebar/users-list.d.ts +0 -6
- package/dist/react19/types/components/shadcn-ui/alert-dialog.d.ts +0 -14
- package/dist/react19/types/components/shadcn-ui/avatar.d.ts +0 -6
- package/dist/react19/types/components/shadcn-ui/badge.d.ts +0 -9
- package/dist/react19/types/components/shadcn-ui/button.d.ts +0 -10
- package/dist/react19/types/components/shadcn-ui/dialog.d.ts +0 -13
- package/dist/react19/types/components/shadcn-ui/dropdown-menu.d.ts +0 -25
- package/dist/react19/types/components/shadcn-ui/input.d.ts +0 -3
- package/dist/react19/types/components/shadcn-ui/label.d.ts +0 -4
- package/dist/react19/types/components/shadcn-ui/sonner.d.ts +0 -3
- package/dist/react19/types/components/shadcn-ui/switch.d.ts +0 -4
- package/dist/react19/types/components/shadcn-ui/tabs.d.ts +0 -7
- package/dist/react19/types/components/shadcn-ui/tooltip.d.ts +0 -7
- package/dist/react19/types/components/shared/alert-busy.d.ts +0 -2
- package/dist/react19/types/components/shared/avatar.d.ts +0 -15
- package/dist/react19/types/components/shared/chat-status-mark.d.ts +0 -2
- package/dist/react19/types/components/shared/confirmation-alert.d.ts +0 -8
- package/dist/react19/types/components/shared/empty-content-placeholder.d.ts +0 -7
- package/dist/react19/types/components/shared/loader.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-app.d.ts +0 -8
- package/dist/react19/types/components/widget/widget-button.d.ts +0 -9
- package/dist/react19/types/components/widget/widget-calls.d.ts +0 -2
- package/dist/react19/types/components/widget/widget-messages-badge.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-online-badge.d.ts +0 -5
- package/dist/react19/types/components/widget/widget-overlay.d.ts +0 -7
- package/dist/react19/types/components/widget/widget-portal.d.ts +0 -8
- package/dist/react19/types/components/widget/widget-shadow-root.d.ts +0 -6
- package/dist/react19/types/helpers/connectycube.d.ts +0 -47
- package/dist/react19/types/helpers/debounce.d.ts +0 -3
- package/dist/react19/types/helpers/i18n.d.ts +0 -2
- package/dist/react19/types/helpers/notifications.d.ts +0 -11
- package/dist/react19/types/helpers/throttle.d.ts +0 -3
- package/dist/react19/types/helpers/widget.d.ts +0 -9
- package/dist/react19/types/hooks/index.d.ts +0 -23
- package/dist/react19/types/hooks/store/useActiveTabsStore.d.ts +0 -15
- package/dist/react19/types/hooks/store/useAlertBusyStore.d.ts +0 -11
- package/dist/react19/types/hooks/store/useAppDefaultChatStore.d.ts +0 -21
- package/dist/react19/types/hooks/store/useAppInterfaceStore.d.ts +0 -31
- package/dist/react19/types/hooks/store/useAppNotificationStore.d.ts +0 -34
- package/dist/react19/types/hooks/store/useAppQuickActionsStore.d.ts +0 -17
- package/dist/react19/types/hooks/store/useAppSettingsStore.d.ts +0 -37
- package/dist/react19/types/hooks/store/useDraftMessagesStore.d.ts +0 -14
- package/dist/react19/types/hooks/store/useLinkPreviewStore.d.ts +0 -18
- package/dist/react19/types/hooks/store/useOnlineUsersCountStore.d.ts +0 -19
- package/dist/react19/types/hooks/store/useProfileStore.d.ts +0 -9
- package/dist/react19/types/hooks/store/useShadowRootStore.d.ts +0 -7
- package/dist/react19/types/hooks/store/useUnreadCountStore.d.ts +0 -8
- package/dist/react19/types/hooks/store/useUserSettingsStore.d.ts +0 -17
- package/dist/react19/types/hooks/useAppAuthorization.d.ts +0 -14
- package/dist/react19/types/hooks/useAppPresets.d.ts +0 -35
- package/dist/react19/types/hooks/useAudio.d.ts +0 -6
- package/dist/react19/types/hooks/useLastActivity.d.ts +0 -2
- package/dist/react19/types/hooks/useNotification.d.ts +0 -9
- package/dist/react19/types/hooks/usePageFocus.d.ts +0 -6
- package/dist/react19/types/hooks/useResizeScreenWidth.d.ts +0 -10
- package/dist/react19/types/hooks/useTypingStatusText.d.ts +0 -3
- package/dist/react19/types/index.d.ts +0 -10
- package/dist/react19/types/lib/utils.d.ts +0 -6
- package/dist/react19/types/locales/el/translation.json.d.ts +0 -76
- package/dist/react19/types/locales/en/translation.json.d.ts +0 -76
- package/dist/react19/types/locales/ua/translation.json.d.ts +0 -76
- package/dist/react19/types/tests/connectycube.test.d.ts +0 -1
- /package/dist/{react19/types/main.d.ts → types/tests/formatters.test.d.ts} +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
type DraftMessage = {
|
|
2
|
-
[dialogId: string]: string;
|
|
3
|
-
};
|
|
4
|
-
export declare const DRAFT_MESSAGES_KEY = "@connectycube/chat-widget:draftMessages";
|
|
5
|
-
interface DraftMessagesStoreState {
|
|
6
|
-
draftMessages: DraftMessage;
|
|
7
|
-
setDraftMessages: (messages: DraftMessage) => void;
|
|
8
|
-
upsertDraftMessage: (message: DraftMessage) => void;
|
|
9
|
-
deleteDraftMessage: (dialogId: string) => void;
|
|
10
|
-
resetDraftMessages: () => void;
|
|
11
|
-
}
|
|
12
|
-
declare const useDraftMessagesStore: import('zustand').UseBoundStore<import('zustand').StoreApi<DraftMessagesStoreState>>;
|
|
13
|
-
export declare const resetDraftMessagesStore: () => void;
|
|
14
|
-
export default useDraftMessagesStore;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type LinkPreview = {
|
|
2
|
-
url: string;
|
|
3
|
-
title: string;
|
|
4
|
-
images: string[];
|
|
5
|
-
description: string;
|
|
6
|
-
[key: string]: string | string[];
|
|
7
|
-
};
|
|
8
|
-
interface LinkPreviewStore {
|
|
9
|
-
fetchedCount: number;
|
|
10
|
-
queue: string[];
|
|
11
|
-
urlPreviews: Map<string, LinkPreview>;
|
|
12
|
-
isProcessing: boolean;
|
|
13
|
-
addUrls: (urls: string[]) => void;
|
|
14
|
-
matchUrlsFromMessage: (message: string) => string[];
|
|
15
|
-
}
|
|
16
|
-
declare const useLinkPreviewStore: import('zustand').UseBoundStore<import('zustand').StoreApi<LinkPreviewStore>>;
|
|
17
|
-
export declare const resetLinkPreviewStore: () => void;
|
|
18
|
-
export default useLinkPreviewStore;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface OnlineUsersCountState {
|
|
2
|
-
requestOnlineUsersInterval: number;
|
|
3
|
-
enableOnlineUsersBadge: boolean;
|
|
4
|
-
onlineUsersCount: number;
|
|
5
|
-
setRequestOnlineUsersInterval: (seconds: number) => void;
|
|
6
|
-
setEnableOnlineUsersBadge: (enable: boolean) => void;
|
|
7
|
-
setOnlineUsersCount: (count: number) => void;
|
|
8
|
-
resetRequestOnlineUsersInterval: () => void;
|
|
9
|
-
resetEnableOnlineUsersBadge: () => void;
|
|
10
|
-
resetOnlineUsersCount: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const onlineUsersCountInitialState: {
|
|
13
|
-
requestOnlineUsersInterval: number;
|
|
14
|
-
enableOnlineUsersBadge: boolean;
|
|
15
|
-
onlineUsersCount: number;
|
|
16
|
-
};
|
|
17
|
-
declare const useOnlineUsersCountStore: import('zustand').UseBoundStore<import('zustand').StoreApi<OnlineUsersCountState>>;
|
|
18
|
-
export declare const resetOnlineUsersCountStore: () => void;
|
|
19
|
-
export default useOnlineUsersCountStore;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface ProfileState {
|
|
2
|
-
visible: boolean;
|
|
3
|
-
userId?: number;
|
|
4
|
-
showProfile: (userId?: number) => void;
|
|
5
|
-
hideProfile: () => void;
|
|
6
|
-
}
|
|
7
|
-
declare const useProfileStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ProfileState>>;
|
|
8
|
-
export declare const resetProfileStore: () => void;
|
|
9
|
-
export default useProfileStore;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface useShadowRootStoreState {
|
|
2
|
-
shadowRoot: ShadowRoot | Document;
|
|
3
|
-
shadowPortal: DocumentFragment | Element | null | undefined;
|
|
4
|
-
setShadowRoot: (shadowRoot?: ShadowRoot | Document) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const useShadowRootStore: import('zustand').UseBoundStore<import('zustand').StoreApi<useShadowRootStoreState>>;
|
|
7
|
-
export default useShadowRootStore;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface UnreadCountState {
|
|
2
|
-
unreadCount: number;
|
|
3
|
-
setUnreadCount: (count: number) => void;
|
|
4
|
-
resetUnreadCount: () => void;
|
|
5
|
-
}
|
|
6
|
-
declare const useUnreadCountStore: import('zustand').UseBoundStore<import('zustand').StoreApi<UnreadCountState>>;
|
|
7
|
-
export declare const resetUnreadCountStore: () => void;
|
|
8
|
-
export default useUnreadCountStore;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { USER_STATUS } from '../../helpers/connectycube';
|
|
2
|
-
type UserSettingsStateProps = {
|
|
3
|
-
userStatus: USER_STATUS;
|
|
4
|
-
isNotifications: boolean;
|
|
5
|
-
isNotificationSound: boolean;
|
|
6
|
-
isPushNotifications: boolean;
|
|
7
|
-
};
|
|
8
|
-
interface UserSettingsState extends UserSettingsStateProps {
|
|
9
|
-
setUserStatus: (status: USER_STATUS, onlyLocal?: boolean) => Promise<void>;
|
|
10
|
-
setIsNotifications: (enabled: boolean, onlyLocal?: boolean) => Promise<void>;
|
|
11
|
-
setIsNotificationSound: (enabled: boolean, onlyLocal?: boolean) => Promise<void>;
|
|
12
|
-
setIsPushNotifications: (enabled: boolean, onlyLocal?: boolean) => Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
declare const useUserSettingsStore: import('zustand').UseBoundStore<import('zustand').StoreApi<UserSettingsState>>;
|
|
15
|
-
export declare const managePushNotificationsSubscription: (enable: boolean) => Promise<boolean>;
|
|
16
|
-
export declare const restoreUserSettingsStore: () => Promise<void>;
|
|
17
|
-
export default useUserSettingsStore;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Config } from 'connectycube/types';
|
|
2
|
-
type AppUser = {
|
|
3
|
-
id?: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
avatar?: string;
|
|
6
|
-
userProfileLink?: string;
|
|
7
|
-
};
|
|
8
|
-
type AppAuthorizationProps = {
|
|
9
|
-
creds: Config.Credentials;
|
|
10
|
-
config?: Config.Options;
|
|
11
|
-
user?: AppUser;
|
|
12
|
-
};
|
|
13
|
-
declare const useAppAuthorization: ({ creds, config, user }: AppAuthorizationProps) => void;
|
|
14
|
-
export default useAppAuthorization;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { DefaultChat } from './store/useAppDefaultChatStore';
|
|
2
|
-
import { QuickActions } from './store/useAppQuickActionsStore';
|
|
3
|
-
export type AppPresets = {
|
|
4
|
-
open?: boolean;
|
|
5
|
-
embedView?: boolean;
|
|
6
|
-
splitView?: boolean;
|
|
7
|
-
showChatStatus?: boolean;
|
|
8
|
-
showOnlineUsersTab?: boolean;
|
|
9
|
-
hideNewChatButton?: boolean;
|
|
10
|
-
hideNewUserChatOption?: boolean;
|
|
11
|
-
hideNewGroupChatOption?: boolean;
|
|
12
|
-
muted?: boolean;
|
|
13
|
-
showNotifications?: boolean;
|
|
14
|
-
playSound?: boolean;
|
|
15
|
-
webPushNotifications?: boolean;
|
|
16
|
-
webPushVapidPublicKey?: string;
|
|
17
|
-
serviceWorkerPath?: string | URL;
|
|
18
|
-
attachmentsAccept?: string;
|
|
19
|
-
enableCalls?: boolean;
|
|
20
|
-
enableUserStatuses?: boolean;
|
|
21
|
-
enableLastSeen?: boolean;
|
|
22
|
-
enableContentReporting?: boolean;
|
|
23
|
-
enableBlockList?: boolean;
|
|
24
|
-
enableOnlineUsersBadge?: boolean;
|
|
25
|
-
getOnlineUsersInterval?: number;
|
|
26
|
-
enableUrlPreview?: boolean;
|
|
27
|
-
limitUrlsPreviews?: number;
|
|
28
|
-
quickActions?: QuickActions;
|
|
29
|
-
defaultChat?: DefaultChat | null;
|
|
30
|
-
onUnreadCountChange?: (count: number) => void;
|
|
31
|
-
onOnlineUsersCountChange?: (count: number) => void;
|
|
32
|
-
onOpenChange?: (open: boolean) => void;
|
|
33
|
-
};
|
|
34
|
-
declare const useAppPresets: ({ embedView, open, splitView, showChatStatus, showOnlineUsersTab, hideNewChatButton, hideNewUserChatOption, hideNewGroupChatOption, muted, showNotifications, playSound, webPushNotifications, serviceWorkerPath, webPushVapidPublicKey, attachmentsAccept, enableCalls, enableUserStatuses, enableLastSeen, enableContentReporting, enableBlockList, enableUrlPreview, limitUrlsPreviews, quickActions, defaultChat, enableOnlineUsersBadge, getOnlineUsersInterval, onUnreadCountChange, onOnlineUsersCountChange, onOpenChange, }: AppPresets) => void;
|
|
35
|
-
export default useAppPresets;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Chat } from 'connectycube/types';
|
|
2
|
-
type NotificationHook = {
|
|
3
|
-
showNotification: (title?: string, body?: string, icon?: string) => Promise<Notification | void>;
|
|
4
|
-
notifyWithSound: (title?: string, body?: string, icon?: string) => Promise<Notification | void>;
|
|
5
|
-
notifyOnMessage: (userId: number, message: Chat.Message) => Promise<Notification | void>;
|
|
6
|
-
playAudio: () => void;
|
|
7
|
-
};
|
|
8
|
-
declare function useNotification(): NotificationHook;
|
|
9
|
-
export default useNotification;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type ResizeScreenWidthParams = {
|
|
2
|
-
timeout?: number;
|
|
3
|
-
width?: number;
|
|
4
|
-
};
|
|
5
|
-
type ResizeScreenWidthHook = {
|
|
6
|
-
isWideScreen: boolean;
|
|
7
|
-
isNarrowScreen: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare const useResizeScreenWidth: (params?: ResizeScreenWidthParams) => ResizeScreenWidthHook;
|
|
10
|
-
export default useResizeScreenWidth;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type ChatWidgetInWindow = {
|
|
2
|
-
initialNotification?: MessageEvent['data'];
|
|
3
|
-
open?: () => void;
|
|
4
|
-
close?: () => void;
|
|
5
|
-
toggle?: () => void;
|
|
6
|
-
};
|
|
7
|
-
export type WindowWithChatWidget = Window & typeof globalThis & {
|
|
8
|
-
ConnectyCubeChatWidget?: ChatWidgetInWindow;
|
|
9
|
-
};
|
|
10
|
-
export { default } from './App';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Dialogs } from 'connectycube/types';
|
|
2
|
-
import { ClassValue } from 'clsx';
|
|
3
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
|
4
|
-
export declare function createTempChat(id: string, name: string, type: 3 | 2, occupantsIds: number[], currentUserId: number, photo?: string, extensions?: {
|
|
5
|
-
[key: string]: string;
|
|
6
|
-
}): Dialogs.Dialog;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"AddMembers": "Προσθήκη μελών",
|
|
3
|
-
"Admin": "Διαχειριστής",
|
|
4
|
-
"areTyping": "είναι",
|
|
5
|
-
"Cancel": "Ακύρωση",
|
|
6
|
-
"ChatName": "Όνομα συνομιλίας",
|
|
7
|
-
"ChatNameRequired": "Το όνομα συνομιλίας είναι υποχρεωτικό",
|
|
8
|
-
"Chat": "Συνομιλία",
|
|
9
|
-
"Chats": "Συνομιλίες",
|
|
10
|
-
"ChooseChat": "Επιλέξτε συνομιλία",
|
|
11
|
-
"Continue": "Συνέχεια",
|
|
12
|
-
"CreateGroupChat": "Δημιουργία ομαδικής συνομιλίας",
|
|
13
|
-
"Delete": "Διαγραφή",
|
|
14
|
-
"Draft": "Πρόχειρο",
|
|
15
|
-
"EnterMessage": "Εισάγετε μήνυμα",
|
|
16
|
-
"EnterUserName": "Εισάγετε όνομα χρήστη",
|
|
17
|
-
"ExitChat": "Έξοδος από τη συνομιλία",
|
|
18
|
-
"FileTypeNotSupported": "Η μορφή αρχείου δεν υποστηρίζεται",
|
|
19
|
-
"isTyping": "είναι",
|
|
20
|
-
"me": "εγώ",
|
|
21
|
-
"Members": "Μέλη",
|
|
22
|
-
"members": "μέλη",
|
|
23
|
-
"NewGroup": "Νέα ομάδα",
|
|
24
|
-
"NewMessage": "Νέο μήνυμα",
|
|
25
|
-
"NoChats": "Επιλέξτε κάποιο χρήστη από τη λίστα Χρήστες και ξεκινήστε την πρώτη σας συνομιλία!",
|
|
26
|
-
"NoMessages": "Δεν υπάρχουν μηνύματα",
|
|
27
|
-
"NoOnlineUsers": "Δεν υπάρχουν συνδεδεμένοι χρήστες",
|
|
28
|
-
"Profile": "Προφίλ",
|
|
29
|
-
"RemoveMembers": "Αφαίρεση μελών",
|
|
30
|
-
"RemoveMembers?": "Είστε σίγουροι ότι θέλετε να αφαιρέσετε τα μέλη;",
|
|
31
|
-
"Reset": "Επαναφορά",
|
|
32
|
-
"Search": "Αναζήτηση",
|
|
33
|
-
"Select": "Επιλογή",
|
|
34
|
-
"Send": "Αποστολή",
|
|
35
|
-
"StartChat": "Έναρξη συνομιλίας",
|
|
36
|
-
"NewUserChatDialogTitle": "Αποστολή μηνύματος σε μέλος",
|
|
37
|
-
"NewGroupChatDialogTitle": "Δημιουργία νέας ομάδας",
|
|
38
|
-
"typing": "πληκτρολογεί",
|
|
39
|
-
"Users": "Χρήστες",
|
|
40
|
-
"you": "εσύ",
|
|
41
|
-
"Block": "Block",
|
|
42
|
-
"UnBlock": "Unblock",
|
|
43
|
-
"Report": "Αναφορά",
|
|
44
|
-
"ReportUser": "Αναφορά χρήστη",
|
|
45
|
-
"WhatsWrongWithThisUser": "Τι θέλετε να αναφέρετε για αυτόν το χρήστη;",
|
|
46
|
-
"ProvideReason": "Λόγος αναφοράς",
|
|
47
|
-
"ReportCreatedSuccessfully": "Η αναφορά για το χρήστη έγινε",
|
|
48
|
-
"ReportSubmitFailed": "Σφάλμα στη δημιουργία αναφοράς",
|
|
49
|
-
"MyProfile": "Το προφίλ μου",
|
|
50
|
-
"YouBlocked": "Αυτός ο χρήστης σας έχει κάνει Block",
|
|
51
|
-
"BlockList": "Λίστα Blocked χρηστών",
|
|
52
|
-
"AddToBlockList": "Προσθήκη στη λίστα Blocked",
|
|
53
|
-
"AddToBlockList?": "Σίγουρα θέλετε να προσθέσετε το χρήστη {{name}} στη λίστα Blocked;",
|
|
54
|
-
"RemoveFromBlockList": "Αφαίρεση από τη λίστα Blocked",
|
|
55
|
-
"RemoveFromBlockList?": "Σίγουρα θέλετε να αφαιρέσετε το χρήστη {{name}} από τη λίστα Blocked;",
|
|
56
|
-
"BlockListEmpty": "Η Blocked λίστα είναι άδεια",
|
|
57
|
-
"NotificationSettings": "Ρυθμίσεις ειδοποιήσεων",
|
|
58
|
-
"Notifications": "Ειδοποιήσεις",
|
|
59
|
-
"NotificationSound": "Ήχος ειδοποίησης",
|
|
60
|
-
"PushNotifications": "Ειδοποιήσεις push",
|
|
61
|
-
"PleaseWait": "Παρακαλώ περιμένετε",
|
|
62
|
-
"Available": "Διαθέσιμος/η",
|
|
63
|
-
"Busy": "Απασχολημένος/η",
|
|
64
|
-
"Away": "Απουσιάζω",
|
|
65
|
-
"Online": "Συνδεδεμένος/η",
|
|
66
|
-
"IncomingCall": "Εισερχόμενη κλήση",
|
|
67
|
-
"IncomingAudioCall": "Εισερχόμενη κλήση ήχου από τον χρήστη {{name}}",
|
|
68
|
-
"IncomingVideoCall": "Εισερχόμενη κλήση βίντεο από τον χρήστη {{name}}",
|
|
69
|
-
"Accept": "Αποδοχή",
|
|
70
|
-
"Reject": "Απόρριψη",
|
|
71
|
-
"RejectedCall": "Ο χρήστης {{name}} απέρριψε την κλήση",
|
|
72
|
-
"MissedCall": "Αναπάντητη κλήση από τον χρήστη {{name}}"
|
|
73
|
-
}
|
|
74
|
-
;
|
|
75
|
-
|
|
76
|
-
export default _default;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"AddMembers": "Add members",
|
|
3
|
-
"Admin": "Admin",
|
|
4
|
-
"areTyping": "are typing",
|
|
5
|
-
"Cancel": "Cancel",
|
|
6
|
-
"ChatName": "Chat name",
|
|
7
|
-
"ChatNameRequired": "Chat name is required",
|
|
8
|
-
"Chat": "Chat",
|
|
9
|
-
"Chats": "Chats",
|
|
10
|
-
"ChooseChat": "Choose a chat",
|
|
11
|
-
"Continue": "Continue",
|
|
12
|
-
"CreateGroupChat": "Create group chat",
|
|
13
|
-
"Delete": "Delete",
|
|
14
|
-
"Draft": "Draft",
|
|
15
|
-
"EnterMessage": "Enter message",
|
|
16
|
-
"EnterUserName": "Enter user name",
|
|
17
|
-
"ExitChat": "Exit chat",
|
|
18
|
-
"FileTypeNotSupported": "File format is not supported",
|
|
19
|
-
"isTyping": "is typing",
|
|
20
|
-
"me": "me",
|
|
21
|
-
"Members": "Members",
|
|
22
|
-
"members": "members",
|
|
23
|
-
"NewGroup": "New group",
|
|
24
|
-
"NewMessage": "New message",
|
|
25
|
-
"NoChats": "Begin your first chat and see what happens!",
|
|
26
|
-
"NoMessages": "No messages yet",
|
|
27
|
-
"NoOnlineUsers": "No online users",
|
|
28
|
-
"Profile": "Profile",
|
|
29
|
-
"RemoveMembers": "Remove members",
|
|
30
|
-
"RemoveMembers?": "Are you sure you want to remove members?",
|
|
31
|
-
"Reset": "Reset",
|
|
32
|
-
"Search": "Search",
|
|
33
|
-
"Select": "Select",
|
|
34
|
-
"Send": "Send",
|
|
35
|
-
"StartChat": "Start chat",
|
|
36
|
-
"NewUserChatDialogTitle": "Send message to user",
|
|
37
|
-
"NewGroupChatDialogTitle": "Start a new Group",
|
|
38
|
-
"typing": "typing",
|
|
39
|
-
"Users": "Users",
|
|
40
|
-
"you": "you",
|
|
41
|
-
"Block": "Block",
|
|
42
|
-
"UnBlock": "Unblock",
|
|
43
|
-
"Report": "Report",
|
|
44
|
-
"ReportUser": "Report user",
|
|
45
|
-
"WhatsWrongWithThisUser": "What's wrong with this user?",
|
|
46
|
-
"ProvideReason": "Reason for reporting",
|
|
47
|
-
"ReportCreatedSuccessfully": "Report has been created successfully",
|
|
48
|
-
"ReportSubmitFailed": "Failed to submit report",
|
|
49
|
-
"MyProfile": "My profile",
|
|
50
|
-
"YouBlocked": "You are blocked by this user",
|
|
51
|
-
"BlockList": "Block list",
|
|
52
|
-
"AddToBlockList": "Add to block list",
|
|
53
|
-
"AddToBlockList?": "Are you sure you want to add {{name}} to block list?",
|
|
54
|
-
"RemoveFromBlockList": "Remove from block list",
|
|
55
|
-
"RemoveFromBlockList?": "Are you sure you want to remove {{name}} from block list?",
|
|
56
|
-
"BlockListEmpty": "Block list is empty",
|
|
57
|
-
"NotificationSettings": "Notification settings",
|
|
58
|
-
"Notifications": "Notifications",
|
|
59
|
-
"NotificationSound": "Notification sound",
|
|
60
|
-
"PushNotifications": "Push notifications",
|
|
61
|
-
"PleaseWait": "Please wait",
|
|
62
|
-
"Available": "Available",
|
|
63
|
-
"Busy": "Busy",
|
|
64
|
-
"Away": "Away",
|
|
65
|
-
"Online": "Online",
|
|
66
|
-
"IncomingCall": "Incoming call",
|
|
67
|
-
"IncomingAudioCall": "Incoming audio call from {{name}}",
|
|
68
|
-
"IncomingVideoCall": "Incoming video call from {{name}}",
|
|
69
|
-
"Accept": "Accept",
|
|
70
|
-
"Reject": "Reject",
|
|
71
|
-
"RejectedCall": "{{name}} rejected the call",
|
|
72
|
-
"MissedCall": "Missed call from {{name}}"
|
|
73
|
-
}
|
|
74
|
-
;
|
|
75
|
-
|
|
76
|
-
export default _default;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"AddMembers": "Додати учасників",
|
|
3
|
-
"Admin": "Адмін",
|
|
4
|
-
"areTyping": "пишуть",
|
|
5
|
-
"Cancel": "Скасувати",
|
|
6
|
-
"ChatName": "Назва чату",
|
|
7
|
-
"ChatNameRequired": "Назва чату є обов'язковою",
|
|
8
|
-
"Chat": "Чат",
|
|
9
|
-
"Chats": "Чати",
|
|
10
|
-
"ChooseChat": "Оберіть чат",
|
|
11
|
-
"Continue": "Продовжити",
|
|
12
|
-
"CreateGroupChat": "Створити груповий чат",
|
|
13
|
-
"Delete": "Видалити",
|
|
14
|
-
"Draft": "Чернетка",
|
|
15
|
-
"EnterMessage": "Введіть повідомлення",
|
|
16
|
-
"EnterUserName": "Введіть ім'я користувача",
|
|
17
|
-
"ExitChat": "Вийти з чату",
|
|
18
|
-
"FileTypeNotSupported": "Формат файлу не підтримується",
|
|
19
|
-
"isTyping": "пише",
|
|
20
|
-
"me": "я",
|
|
21
|
-
"Members": "Учасники",
|
|
22
|
-
"members": "учасники",
|
|
23
|
-
"NewGroup": "Нова група",
|
|
24
|
-
"NewMessage": "Нове повідомлення",
|
|
25
|
-
"NoChats": "Почніть свою першу розмову та подивіться, що станеться!",
|
|
26
|
-
"NoMessages": "Поки що немає повідомлень",
|
|
27
|
-
"NoOnlineUsers": "Немає онлайн-користувачів",
|
|
28
|
-
"Profile": "Профіль",
|
|
29
|
-
"RemoveMembers": "Видалити учасників",
|
|
30
|
-
"RemoveMembers?": "Ви впевнені, що хочете видалити учасників?",
|
|
31
|
-
"Reset": "Скинути",
|
|
32
|
-
"Search": "Пошук",
|
|
33
|
-
"Select": "Вибрати",
|
|
34
|
-
"Send": "Надіслати",
|
|
35
|
-
"StartChat": "Розпочати чат",
|
|
36
|
-
"NewUserChatDialogTitle": "Новий чат з користувачем",
|
|
37
|
-
"NewGroupChatDialogTitle": "Нова група",
|
|
38
|
-
"typing": "друкує",
|
|
39
|
-
"Users": "Користувачі",
|
|
40
|
-
"you": "ви",
|
|
41
|
-
"Block": "Заблокувати",
|
|
42
|
-
"UnBlock": "Розблокувати",
|
|
43
|
-
"Report": "Поскаржитися",
|
|
44
|
-
"ReportUser": "Поскаржитися на користувача",
|
|
45
|
-
"WhatsWrongWithThisUser": "Що не так з цим користувачем?",
|
|
46
|
-
"ProvideReason": "Підстава",
|
|
47
|
-
"ReportCreatedSuccessfully": "Звіт поданий успішно",
|
|
48
|
-
"ReportSubmitFailed": "Помилка при поданні звіту",
|
|
49
|
-
"MyProfile": "Мій профіль",
|
|
50
|
-
"YouBlocked": "Цей користувача вас заблокував",
|
|
51
|
-
"BlockList": "Список заблокованих",
|
|
52
|
-
"AddToBlockList": "Додати до списку заблокованих",
|
|
53
|
-
"AddToBlockList?": "Ви впевнені, що хочете додати {{name}} до списку заблокованих?",
|
|
54
|
-
"RemoveFromBlockList": "Видалити зі списку заблокованих",
|
|
55
|
-
"RemoveFromBlockList?": "Ви впевнені, що хочете видалити {{name}} зі списку заблокованих?",
|
|
56
|
-
"BlockListEmpty": "Список заблокованих порожній",
|
|
57
|
-
"NotificationSettings": "Налаштування сповіщень",
|
|
58
|
-
"Notifications": "Сповіщення",
|
|
59
|
-
"NotificationSound": "Звук сповіщення",
|
|
60
|
-
"PushNotifications": "Push-сповіщення",
|
|
61
|
-
"PleaseWait": "Будь ласка, зачекайте",
|
|
62
|
-
"Available": "Присутній",
|
|
63
|
-
"Busy": "Зайнятий",
|
|
64
|
-
"Away": "Відсутній",
|
|
65
|
-
"Online": "В мережі",
|
|
66
|
-
"IncomingCall": "Вхідний виклик",
|
|
67
|
-
"IncomingAudioCall": "Вхідний аудіо виклик від {{name}}",
|
|
68
|
-
"IncomingVideoCall": "Вхідний відео виклик від {{name}}",
|
|
69
|
-
"Accept": "Прийняти",
|
|
70
|
-
"Reject": "Відхилити",
|
|
71
|
-
"RejectedCall": "{{name}} відхилив виклик",
|
|
72
|
-
"MissedCall": "Пропущений виклик від {{name}}"
|
|
73
|
-
}
|
|
74
|
-
;
|
|
75
|
-
|
|
76
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|