@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
package/dist/react19/types/components/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Users } from 'connectycube/types';
|
|
3
|
-
export interface CreateGroupChatProps {
|
|
4
|
-
users: Users.User[];
|
|
5
|
-
onCreateChat: (name: string) => Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.NamedExoticComponent<CreateGroupChatProps>;
|
|
8
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type ChatType = 'private' | 'group';
|
|
3
|
-
export interface NewChatDialogProps {
|
|
4
|
-
chatType: ChatType;
|
|
5
|
-
addUsersMode?: boolean;
|
|
6
|
-
onFinish: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: React.NamedExoticComponent<NewChatDialogProps>;
|
|
9
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ChatType } from './new-chat-dialog';
|
|
3
|
-
export interface SearchedUserProps {
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
avatar?: string;
|
|
7
|
-
chatType: ChatType;
|
|
8
|
-
onStartChat: (userId: number) => void;
|
|
9
|
-
isSelected: boolean;
|
|
10
|
-
onSelectUser: (userId: number, isSelected: boolean) => void;
|
|
11
|
-
}
|
|
12
|
-
declare const _default: React.NamedExoticComponent<SearchedUserProps>;
|
|
13
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { USER_STATUS } from '../../../helpers/connectycube';
|
|
2
|
-
export interface UserItemProps {
|
|
3
|
-
userId: number;
|
|
4
|
-
userName: string;
|
|
5
|
-
avatar?: string;
|
|
6
|
-
status?: USER_STATUS | null;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import('react').NamedExoticComponent<UserItemProps>;
|
|
9
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
3
|
-
declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> & React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
|
-
declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export { Avatar, AvatarImage, AvatarFallback };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export { Badge, badgeVariants };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
5
|
-
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { Button, buttonVariants };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
-
declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function DialogContent({ className, children, ...props }: React.ComponentProps<typeof DialogPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function DialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
|
-
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function DropdownMenuContent({ className, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
9
|
-
inset?: boolean;
|
|
10
|
-
variant?: 'default' | 'destructive';
|
|
11
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
16
|
-
inset?: boolean;
|
|
17
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
22
|
-
inset?: boolean;
|
|
23
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
3
|
-
declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
3
|
-
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { USER_STATUS } from '../../helpers/connectycube';
|
|
3
|
-
interface BaseAvatarProps {
|
|
4
|
-
imageUIDOrUrl?: string | null;
|
|
5
|
-
name?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
interface AvatarWithStatusProps extends BaseAvatarProps {
|
|
9
|
-
isOnline?: boolean;
|
|
10
|
-
status?: USER_STATUS | null;
|
|
11
|
-
}
|
|
12
|
-
declare const Avatar: React.FC<BaseAvatarProps> & {
|
|
13
|
-
WithStatus: React.NamedExoticComponent<AvatarWithStatusProps>;
|
|
14
|
-
};
|
|
15
|
-
export default Avatar;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
type EmptyContentPlaceholderProps = {
|
|
3
|
-
title: string | string[];
|
|
4
|
-
className?: React.HTMLAttributes<HTMLDivElement>['className'];
|
|
5
|
-
};
|
|
6
|
-
declare const _default: React.NamedExoticComponent<EmptyContentPlaceholderProps>;
|
|
7
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type WidgetButtonProps = {
|
|
2
|
-
lng: 'en' | 'el' | 'ua';
|
|
3
|
-
title?: string;
|
|
4
|
-
style?: React.CSSProperties;
|
|
5
|
-
badgeStyle?: React.CSSProperties;
|
|
6
|
-
onlineBadgeStyle?: React.CSSProperties;
|
|
7
|
-
};
|
|
8
|
-
declare const WidgetButton: React.FC<WidgetButtonProps>;
|
|
9
|
-
export default WidgetButton;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Config, Users, Auth, Chat, EmptyResponse, PushNotifications } from 'connectycube/types';
|
|
2
|
-
import { PushSubscriptionData } from './notifications';
|
|
3
|
-
export declare enum SIGNAL {
|
|
4
|
-
UPDATE_USER = "user/UPDATE"
|
|
5
|
-
}
|
|
6
|
-
export declare enum USER_STATUS {
|
|
7
|
-
AVAILABLE = "Available",
|
|
8
|
-
BUSY = "Busy",
|
|
9
|
-
AWAY = "Away"
|
|
10
|
-
}
|
|
11
|
-
export declare const SESSION_KEY = "@connectycube/chat-widget:session";
|
|
12
|
-
export declare const initConnectyCubeSDK: (credentials: Config.Credentials, config?: Config.Options) => void;
|
|
13
|
-
export declare const tryReuseSession: (userName?: string, userId?: string, userAvatar?: string, userProfileLink?: string) => Promise<boolean>;
|
|
14
|
-
export declare const restoreSession: () => Promise<Auth.Session | null>;
|
|
15
|
-
export declare const createUserSession: (login: string, password: string) => Promise<Auth.Session>;
|
|
16
|
-
export declare const createSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
|
|
17
|
-
export declare const destroyUserSession: () => Promise<void>;
|
|
18
|
-
export declare const userSignup: (login: string, password: string, name?: string, externalId?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
|
|
19
|
-
export declare const upsertConnectyCubeConfig: (config?: Config.Options) => void;
|
|
20
|
-
export declare const autoconnect: (connect: (credentials: Chat.ConnectionParams) => Promise<boolean>, session?: Auth.Session | null) => Promise<boolean>;
|
|
21
|
-
export declare const updateUserProfileIfNeeded: (session: Auth.Session, name?: string, externalId?: string, avatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
|
|
22
|
-
export declare const setSessionToLocalStorage: (session: Auth.Session) => void;
|
|
23
|
-
export declare const getSessionFromLocalStorage: () => Auth.Session | null;
|
|
24
|
-
export declare const clearSessionInLocalStorage: () => void;
|
|
25
|
-
export declare const getCurrentUser: () => Users.User | null | undefined;
|
|
26
|
-
export declare const parseUserCustomData: (user: Users.User | null | undefined) => {
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
} | null;
|
|
29
|
-
export declare const getUserSettings: () => {
|
|
30
|
-
[key: string]: any;
|
|
31
|
-
} | null;
|
|
32
|
-
export declare const getUserStatus: (user: Users.User | null | undefined) => USER_STATUS;
|
|
33
|
-
export declare const updateUserSettings: (settings: {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
}, onlyLocal?: boolean) => Promise<Users.User>;
|
|
36
|
-
export declare const getSessionToken: () => string | null;
|
|
37
|
-
export declare const getSessionUserId: () => number | null;
|
|
38
|
-
export declare const isSessionExpired: () => boolean;
|
|
39
|
-
export declare const isUserIdChanged: (userId?: string) => boolean;
|
|
40
|
-
export declare const sha256: (str: string) => Promise<string>;
|
|
41
|
-
export declare const getUserName: (user: Users.User | null | undefined, force?: boolean) => string;
|
|
42
|
-
export declare const getPhotoUrl: (photoOrAvatar?: string | null) => string;
|
|
43
|
-
export declare const generateConnectyCubeLogin: (userId?: string) => string;
|
|
44
|
-
export declare const createUserReport: (reportedUserId: number, reason: string) => Promise<import("connectycube/types").Data.DataRecord>;
|
|
45
|
-
export declare const subscribeToPushNotifications: (pushSubscriptionData?: PushSubscriptionData) => Promise<PushNotifications.Subscription | undefined>;
|
|
46
|
-
export declare const unsubscribeFromPushNotifications: () => Promise<EmptyResponse[]>;
|
|
47
|
-
export declare const isCallsSupported: boolean;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type PushSubscriptionData = {
|
|
2
|
-
endpoint: string;
|
|
3
|
-
auth: string;
|
|
4
|
-
p256dh: string;
|
|
5
|
-
} | undefined;
|
|
6
|
-
export declare const requestNotificationPermission: () => Promise<boolean>;
|
|
7
|
-
export declare const registerWidgetServiceWorker: (serviceWorkerPath?: string | URL) => Promise<boolean>;
|
|
8
|
-
export declare const getWidgetServiceWorker: (serviceWorkerPath?: string | URL) => Promise<ServiceWorkerRegistration | void>;
|
|
9
|
-
export declare const getPushManagerSubscriptionData: (subscription?: PushSubscription | null) => PushSubscriptionData;
|
|
10
|
-
export declare const getPushManagerSubscription: (serviceWorkerPath?: string | URL, applicationServerKey?: PushSubscriptionOptionsInit["applicationServerKey"]) => Promise<PushSubscription | null>;
|
|
11
|
-
export declare const unsubscribePushManager: (serviceWorkerPath?: string | URL) => Promise<boolean>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const sleep: (ms: number) => Promise<void>;
|
|
2
|
-
export declare const stripSpecificTailwindSupports: (css: string) => string;
|
|
3
|
-
export declare const isBrowser: boolean;
|
|
4
|
-
export declare enum dataPrefix {
|
|
5
|
-
WRAPPER = "data-connectycube-chat-widget-wrapper",
|
|
6
|
-
FOCUSED = "data-connectycube-chat-widget-focused"
|
|
7
|
-
}
|
|
8
|
-
export declare const widgetFontSize = "15px";
|
|
9
|
-
export declare const widgetFontWeight = "400";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const resetStore: (force?: boolean) => void;
|
|
2
|
-
export { default as useActiveTabsStore } from './store/useActiveTabsStore';
|
|
3
|
-
export { default as useAlertBusyStore } from './store/useAlertBusyStore';
|
|
4
|
-
export { default as useAppDefaultChatStore } from './store/useAppDefaultChatStore';
|
|
5
|
-
export { default as useAppInterfaceStore } from './store/useAppInterfaceStore';
|
|
6
|
-
export { default as useAppSettingsStore } from './store/useAppSettingsStore';
|
|
7
|
-
export { default as useAppNotificationStore } from './store/useAppNotificationStore';
|
|
8
|
-
export { default as useAppQuickActionsStore } from './store/useAppQuickActionsStore';
|
|
9
|
-
export { default as useDraftMessagesStore } from './store/useDraftMessagesStore';
|
|
10
|
-
export { default as useOnlineUsersCountStore } from './store/useOnlineUsersCountStore';
|
|
11
|
-
export { default as useLinkPreviewStore } from './store/useLinkPreviewStore';
|
|
12
|
-
export { default as useProfileStore } from './store/useProfileStore';
|
|
13
|
-
export { default as useShadowRootStore } from './store/useShadowRootStore';
|
|
14
|
-
export { default as useUnreadCountStore } from './store/useUnreadCountStore';
|
|
15
|
-
export { default as useUserSettingsStore } from './store/useUserSettingsStore';
|
|
16
|
-
export { default as useAppAuthorization } from './useAppAuthorization';
|
|
17
|
-
export { default as useAppPresets } from './useAppPresets';
|
|
18
|
-
export { default as useAudio } from './useAudio';
|
|
19
|
-
export { default as useLastActivity } from './useLastActivity';
|
|
20
|
-
export { default as useNotification } from './useNotification';
|
|
21
|
-
export { default as usePageFocus } from './usePageFocus';
|
|
22
|
-
export { default as useResizeScreenWidth } from './useResizeScreenWidth';
|
|
23
|
-
export { default as useTypingStatusText } from './useTypingStatusText';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare enum AppTab {
|
|
2
|
-
CHATS = "chats",
|
|
3
|
-
USERS = "users"
|
|
4
|
-
}
|
|
5
|
-
export interface ActiveTabsStoreState {
|
|
6
|
-
activeTab: AppTab;
|
|
7
|
-
setActiveTab: (activeTab: AppTab) => void;
|
|
8
|
-
resetActiveTab: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const activeTabsInitialState: {
|
|
11
|
-
activeTab: AppTab;
|
|
12
|
-
};
|
|
13
|
-
declare const useActiveTabsStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ActiveTabsStoreState>>;
|
|
14
|
-
export declare const resetActiveTabs: () => void;
|
|
15
|
-
export default useActiveTabsStore;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type AlertBusyStateProps = {
|
|
2
|
-
visible: boolean;
|
|
3
|
-
title: string;
|
|
4
|
-
};
|
|
5
|
-
interface AlertBusyState extends AlertBusyStateProps {
|
|
6
|
-
showAlertBusy: (title: string) => void;
|
|
7
|
-
hideAlertBusy: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const useAlertBusyStore: import('zustand').UseBoundStore<import('zustand').StoreApi<AlertBusyState>>;
|
|
10
|
-
export declare const resetAlertBusyStore: () => void;
|
|
11
|
-
export default useAlertBusyStore;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type DefaultChat = {
|
|
2
|
-
id: string;
|
|
3
|
-
opponentUserId: string;
|
|
4
|
-
type: '1on1' | 'group';
|
|
5
|
-
name?: string;
|
|
6
|
-
metadata?: {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export type AppDefaultChatStateProps = {
|
|
11
|
-
defaultChat?: DefaultChat | null;
|
|
12
|
-
};
|
|
13
|
-
interface AppDefaultChatState extends AppDefaultChatStateProps {
|
|
14
|
-
setDefaultChat: (defaultChat?: DefaultChat) => void;
|
|
15
|
-
resetDefaultChat: () => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const appDefaultChatInitialState: AppDefaultChatStateProps;
|
|
18
|
-
declare const useDefaultChatStore: import('zustand').UseBoundStore<import('zustand').StoreApi<AppDefaultChatState>>;
|
|
19
|
-
export declare const setAppDefaultChatStore: (state: Partial<AppDefaultChatStateProps>) => void;
|
|
20
|
-
export declare const resetAppDefaultChatStore: () => void;
|
|
21
|
-
export default useDefaultChatStore;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export type AppInterfaceStoreProps = {
|
|
2
|
-
opened: boolean;
|
|
3
|
-
splitView: boolean;
|
|
4
|
-
showChatStatus: boolean;
|
|
5
|
-
showOnlineUsersTab: boolean;
|
|
6
|
-
hideNewChatButton: boolean;
|
|
7
|
-
hideNewUserChatOption: boolean;
|
|
8
|
-
hideNewGroupChatOption: boolean;
|
|
9
|
-
};
|
|
10
|
-
export interface AppInterfaceStoreState extends AppInterfaceStoreProps {
|
|
11
|
-
setOpened: (opened: boolean) => void;
|
|
12
|
-
setSplitView: (splitView: boolean) => void;
|
|
13
|
-
setShowChatStatus: (showChatStatus: boolean) => void;
|
|
14
|
-
setShowOnlineUsersTab: (showOnlineUsersTab: boolean) => void;
|
|
15
|
-
setHideNewChatButton: (hideNewChatButton: boolean) => void;
|
|
16
|
-
setHideNewUserChatOption: (hideNewUserChatOption: boolean) => void;
|
|
17
|
-
setHideNewGroupChatOption: (hideNewGroupChatOption: boolean) => void;
|
|
18
|
-
toggleOpened: () => void;
|
|
19
|
-
resetOpened: () => void;
|
|
20
|
-
resetSplitView: () => void;
|
|
21
|
-
resetShowChatStatus: () => void;
|
|
22
|
-
resetShowOnlineUsersTab: () => void;
|
|
23
|
-
resetHideNewChatButton: () => void;
|
|
24
|
-
resetHideNewUserChatOption: () => void;
|
|
25
|
-
resetHideNewGroupChatOption: () => void;
|
|
26
|
-
}
|
|
27
|
-
export declare const appInterfaceStoreInitialState: AppInterfaceStoreProps;
|
|
28
|
-
declare const useAppInterfaceStore: import('zustand').UseBoundStore<import('zustand').StoreApi<AppInterfaceStoreState>>;
|
|
29
|
-
export declare const setAppInterfaceStore: (state: Partial<AppInterfaceStoreProps>) => void;
|
|
30
|
-
export declare const resetAppInterfaceStore: () => void;
|
|
31
|
-
export default useAppInterfaceStore;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
type AppNotificationStoreProps = {
|
|
2
|
-
muted: boolean;
|
|
3
|
-
showNotifications: boolean;
|
|
4
|
-
playSound: boolean;
|
|
5
|
-
webPushNotifications: boolean;
|
|
6
|
-
webPushVapidPublicKey?: string;
|
|
7
|
-
serviceWorkerPath?: string | URL;
|
|
8
|
-
};
|
|
9
|
-
export interface AppNotificationStoreState extends AppNotificationStoreProps {
|
|
10
|
-
setMuted: (muted: boolean) => void;
|
|
11
|
-
resetMuted: () => void;
|
|
12
|
-
setShowNotifications: (showNotifications: boolean) => void;
|
|
13
|
-
resetShowNotifications: () => void;
|
|
14
|
-
setPlaySound: (playSound: boolean) => void;
|
|
15
|
-
resetPlaySound: () => void;
|
|
16
|
-
setWebPushNotifications: (webPushNotifications: boolean) => void;
|
|
17
|
-
resetWebPushNotifications: () => void;
|
|
18
|
-
setWebPushVapidPublicKey: (webPushVapidPublicKey?: string) => void;
|
|
19
|
-
resetWebPushVapidPublicKey: () => void;
|
|
20
|
-
setServiceWorkerPath: (serviceWorkerPath?: string | URL) => void;
|
|
21
|
-
resetServiceWorkerPath: () => void;
|
|
22
|
-
}
|
|
23
|
-
export declare const appNotificationStoreInitialState: {
|
|
24
|
-
muted: boolean;
|
|
25
|
-
showNotifications: boolean;
|
|
26
|
-
playSound: boolean;
|
|
27
|
-
webPushNotifications: boolean;
|
|
28
|
-
webPushVapidPublicKey: undefined;
|
|
29
|
-
serviceWorkerPath: undefined;
|
|
30
|
-
};
|
|
31
|
-
declare const useAppNotificationStore: import('zustand').UseBoundStore<import('zustand').StoreApi<AppNotificationStoreState>>;
|
|
32
|
-
export declare const setAppNotificationStore: (state: Partial<AppNotificationStoreProps>) => void;
|
|
33
|
-
export declare const resetAppNotificationStore: () => void;
|
|
34
|
-
export default useAppNotificationStore;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type QuickActions = {
|
|
2
|
-
title?: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
actions: string[];
|
|
5
|
-
};
|
|
6
|
-
export type AppQuickActionsStoreProps = {
|
|
7
|
-
quickActions: QuickActions;
|
|
8
|
-
};
|
|
9
|
-
export interface AppQuickActionsStoreState extends AppQuickActionsStoreProps {
|
|
10
|
-
setQuickActions: (quickActions: QuickActions) => void;
|
|
11
|
-
resetQuickActions: () => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const appQuickActionsStoreInitialState: AppQuickActionsStoreProps;
|
|
14
|
-
declare const useAppQuickActionsStore: import('zustand').UseBoundStore<import('zustand').StoreApi<AppQuickActionsStoreState>>;
|
|
15
|
-
export declare const setAppQuickActionsStore: (state: Partial<AppQuickActionsStoreProps>) => void;
|
|
16
|
-
export declare const resetAppQuickActionsStore: () => void;
|
|
17
|
-
export default useAppQuickActionsStore;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export type AppSettingStoreProps = {
|
|
2
|
-
attachmentsAccept: string;
|
|
3
|
-
attachmentsAcceptList: string[];
|
|
4
|
-
enableCalls: boolean;
|
|
5
|
-
enableUserStatuses: boolean;
|
|
6
|
-
enableLastSeen: boolean;
|
|
7
|
-
enableContentReporting: boolean;
|
|
8
|
-
enableBlockList: boolean;
|
|
9
|
-
enableUrlPreview: boolean;
|
|
10
|
-
limitUrlsPreviews: number;
|
|
11
|
-
};
|
|
12
|
-
export interface AppSettingStoreState extends AppSettingStoreProps {
|
|
13
|
-
setAttachmentsAccept: (attachmentsAccept: string) => void;
|
|
14
|
-
setEnableCalls: (enableCalls: boolean) => void;
|
|
15
|
-
setEnableUserStatuses: (enableUserStatuses: boolean) => void;
|
|
16
|
-
setEnableLastSeen: (enableLastSeen: boolean) => void;
|
|
17
|
-
setEnableContentReporting: (enableContentReporting: boolean) => void;
|
|
18
|
-
setEnableBlockList: (enableBlockList: boolean) => void;
|
|
19
|
-
setEnableUrlPreview: (enableUrlPreview: boolean) => void;
|
|
20
|
-
setLimitUrlsPreviews: (limitUrlsPreviews: number) => void;
|
|
21
|
-
resetAttachmentsAccept: () => void;
|
|
22
|
-
resetEnableCalls: () => void;
|
|
23
|
-
resetEnableUserStatuses: () => void;
|
|
24
|
-
resetEnableLastSeen: () => void;
|
|
25
|
-
resetEnableContentReporting: () => void;
|
|
26
|
-
resetEnableBlockList: () => void;
|
|
27
|
-
resetEnableUrlPreview: () => void;
|
|
28
|
-
resetLimitUrlsPreviews: () => void;
|
|
29
|
-
isSupportedFile: (file: File) => boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare const appSettingsStoreInitialState: AppSettingStoreProps;
|
|
32
|
-
declare const useAppSettingsStore: import('zustand').UseBoundStore<import('zustand').StoreApi<AppSettingStoreState>>;
|
|
33
|
-
export declare const setAppSettingsStore: (state: Partial<AppSettingStoreProps>) => void;
|
|
34
|
-
export declare const resetAppSettingsStore: () => void;
|
|
35
|
-
export default useAppSettingsStore;
|
|
36
|
-
export declare const getAttachmentsAcceptList: (attachmentsAccept: string) => string[];
|
|
37
|
-
export declare const isSupportedFileMimeType: (file: File, attachmentsAcceptList: AppSettingStoreState["attachmentsAcceptList"]) => boolean;
|