@mobilon-dev/chotto 0.3.10 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/dist/CreateChat-DYGyItgE.js +31 -0
  2. package/dist/CreateChat2-BssQxlzC.js +42 -0
  3. package/dist/CreateDialog-nG1d1JLQ.js +77 -0
  4. package/dist/{ModalVideoRecorder-_TvBFB7c.js → ModalVideoRecorder-Di7x1f3E.js} +1 -1
  5. package/dist/SelectUser2-CMkdxD6H.js +46 -0
  6. package/dist/chotto.css +1 -1
  7. package/dist/{index-DKQTflbq.js → index-CBuP7XAZ.js} +6322 -6381
  8. package/dist/types/apps/data/index.d.ts +1 -0
  9. package/dist/types/apps/data/themes.d.ts +7 -0
  10. package/dist/types/apps/validators/chats/chatValidator.d.ts +21 -0
  11. package/dist/types/apps/validators/chats/index.d.ts +7 -0
  12. package/dist/types/apps/validators/chats/types.d.ts +63 -0
  13. package/dist/types/apps/validators/chats/useChatValidator.d.ts +49 -0
  14. package/dist/types/apps/validators/examples.d.ts +1358 -0
  15. package/dist/types/apps/validators/index.d.ts +29 -0
  16. package/dist/types/apps/validators/messages/index.d.ts +7 -0
  17. package/dist/types/apps/validators/messages/messageValidator.d.ts +21 -0
  18. package/dist/types/apps/validators/messages/types.d.ts +66 -0
  19. package/dist/types/apps/validators/messages/useMessageValidator.d.ts +49 -0
  20. package/dist/types/apps/validators/sidebar/index.d.ts +7 -0
  21. package/dist/types/apps/validators/sidebar/sidebarValidator.d.ts +21 -0
  22. package/dist/types/apps/validators/sidebar/types.d.ts +14 -0
  23. package/dist/types/apps/validators/sidebar/useSidebarValidator.d.ts +45 -0
  24. package/dist/types/apps/validators/test.d.ts +23 -0
  25. package/dist/types/components/1_atoms/LinkPreview/LinkPreview.vue.d.ts +1 -1
  26. package/dist/types/components/1_atoms/LinkPreview/stories/LinkPreview.stories.d.ts +2 -2
  27. package/dist/types/components/1_icons/AvatarIcon.vue.d.ts +1 -1
  28. package/dist/types/components/2_blocks/CommunicationPanel/CommunicationPanel.vue.d.ts +2 -2
  29. package/dist/types/components/2_blocks/CommunicationPanel/stories/CommunicationPanel.stories.d.ts +2 -2
  30. package/dist/types/components/2_blocks/FeedFoundItem/FeedFoundItem.vue.d.ts +1 -1
  31. package/dist/types/components/2_blocks/FeedFoundObjects/FeedFoundObjects.vue.d.ts +1 -1
  32. package/dist/types/components/2_blocks/FeedSearch/FeedSearch.vue.d.ts +2 -2
  33. package/dist/types/components/2_chatinput_elements/ButtonWabaTemplateSelector/ButtonWabaTemplateSelector.vue.d.ts +2 -2
  34. package/dist/types/components/2_chatinput_elements/FilePreview/FilePreview.vue.d.ts +1 -1
  35. package/dist/types/components/2_chatinput_elements/PlaceholderComponent/PlaceholderComponent.vue.d.ts +2 -2
  36. package/dist/types/components/2_elements/ContactInfo/ContactInfo.vue.d.ts +2 -2
  37. package/dist/types/components/2_elements/ContactInfo/stories/ContactInfo.stories.d.ts +2 -2
  38. package/dist/types/components/2_feed_elements/AudioMessage/AudioMessage.vue.d.ts +3 -3
  39. package/dist/types/components/2_feed_elements/BaseReplyMessage/BaseReplyMessage.vue.d.ts +3 -3
  40. package/dist/types/components/2_feed_elements/CallMessage/CallMessage.vue.d.ts +1 -1
  41. package/dist/types/components/2_feed_elements/DateMessage/DateMessage.vue.d.ts +1 -1
  42. package/dist/types/components/2_feed_elements/FeedKeyboard/FeedKeyboard.vue.d.ts +1 -1
  43. package/dist/types/components/2_feed_elements/FeedKeyboard/stories/FeedKeyboard.stories.d.ts +3 -3
  44. package/dist/types/components/2_feed_elements/FileMessage/FileMessage.vue.d.ts +3 -3
  45. package/dist/types/components/2_feed_elements/ImageMessage/ImageMessage.vue.d.ts +3 -3
  46. package/dist/types/components/2_feed_elements/MessageKeyboard/MessageKeyboard.vue.d.ts +1 -1
  47. package/dist/types/components/2_feed_elements/ReplyAudioMessage/ReplyAudioMessage.vue.d.ts +1 -1
  48. package/dist/types/components/2_feed_elements/ReplyAudioMessage/stories/ReplyAudioMessage.stories.d.ts +2 -2
  49. package/dist/types/components/2_feed_elements/ReplyCallMessage/ReplyCallMessage.vue.d.ts +1 -1
  50. package/dist/types/components/2_feed_elements/ReplyCallMessage/stories/ReplyCallMessage.stories.d.ts +2 -2
  51. package/dist/types/components/2_feed_elements/ReplyFileMessage/ReplyFileMessage.vue.d.ts +1 -1
  52. package/dist/types/components/2_feed_elements/ReplyFileMessage/stories/ReplyFileMessage.stories.d.ts +2 -2
  53. package/dist/types/components/2_feed_elements/ReplyImageMessage/ReplyImageMessage.vue.d.ts +1 -1
  54. package/dist/types/components/2_feed_elements/ReplyImageMessage/stories/ReplyImageMessage.stories.d.ts +2 -2
  55. package/dist/types/components/2_feed_elements/ReplyTextMessage/ReplyTextMessage.vue.d.ts +1 -1
  56. package/dist/types/components/2_feed_elements/ReplyTextMessage/stories/ReplyTextMessage.stories.d.ts +2 -2
  57. package/dist/types/components/2_feed_elements/ReplyVideoMessage/ReplyVideoMessage.vue.d.ts +1 -1
  58. package/dist/types/components/2_feed_elements/ReplyVideoMessage/stories/ReplyVideoMessage.stories.d.ts +2 -2
  59. package/dist/types/components/2_feed_elements/SystemMessage/SystemMessage.vue.d.ts +1 -1
  60. package/dist/types/components/2_feed_elements/TextMessage/TextMessage.vue.d.ts +3 -3
  61. package/dist/types/components/2_feed_elements/TypingMessage/TypingMessage.vue.d.ts +1 -1
  62. package/dist/types/components/2_feed_elements/VideoMessage/VideoMessage.vue.d.ts +3 -3
  63. package/dist/types/{types → components/2_feed_elements/types}/components.d.ts +1 -2
  64. package/dist/types/{types → components/2_feed_elements/types}/messages.d.ts +1 -2
  65. package/dist/types/components/2_modals/CreateDialog/CreateDialog.vue.d.ts +4 -4
  66. package/dist/types/components/2_modals/CreateDialog/stories/CreateDialog.stories.d.ts +4 -4
  67. package/dist/types/{types → components/3_compounds/ChatInput/types}/IInputMessage.d.ts +1 -1
  68. package/dist/types/components/3_compounds/ChatList/ChatList.vue.d.ts +2 -2
  69. package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +3 -4
  70. package/dist/types/components/5_containers/BaseContainer/BaseContainer.vue.d.ts +2 -2
  71. package/dist/types/components/5_containers/FloatContainer/FloatContainer.vue.d.ts +2 -2
  72. package/dist/types/components/index.d.ts +76 -10
  73. package/dist/types/functions/formatTimestamp.d.ts +20 -0
  74. package/dist/types/functions/getStatusMessage.d.ts +14 -0
  75. package/dist/types/functions/index.d.ts +5 -0
  76. package/dist/types/functions/insertDaySeparators.d.ts +46 -0
  77. package/dist/types/functions/playNotificationAudio.d.ts +6 -0
  78. package/dist/types/hooks/index.d.ts +1 -5
  79. package/dist/types/hooks/modals/index.d.ts +4 -0
  80. package/dist/types/hooks/uploadFile/index.d.ts +3 -0
  81. package/dist/types/hooks/useDelayDebouncedRef.d.ts +1 -0
  82. package/dist/types/hooks/useImmediateDebouncedRef.d.ts +1 -0
  83. package/dist/types/hooks/useMessage.d.ts +69 -1
  84. package/dist/types/index.d.ts +1 -2
  85. package/dist/types/types/index.d.ts +5 -4
  86. package/dist/vuessages.es.js +84 -71
  87. package/dist/vuessages.umd.js +6 -6
  88. package/package.json +1 -1
  89. package/dist/types/apps/helpers/index.d.ts +0 -11
  90. package/dist/types/apps/helpers/playNotificationAudio.d.ts +0 -1
  91. package/dist/types/apps/helpers/prepareTimeline.d.ts +0 -3
  92. package/dist/types/components/1_atoms/index.d.ts +0 -5
  93. package/dist/types/components/1_icons/index.d.ts +0 -2
  94. package/dist/types/components/2_blocks/index.d.ts +0 -6
  95. package/dist/types/components/2_chatinput_elements/index.d.ts +0 -11
  96. package/dist/types/components/2_chatlist_elements/index.d.ts +0 -3
  97. package/dist/types/components/2_elements/index.d.ts +0 -8
  98. package/dist/types/components/2_feed_elements/index.d.ts +0 -19
  99. package/dist/types/components/2_modals/index.d.ts +0 -6
  100. package/dist/types/components/3_compounds/index.d.ts +0 -4
  101. package/dist/types/components/4_layouts/index.d.ts +0 -6
  102. package/dist/types/components/5_containers/index.d.ts +0 -3
  103. package/dist/types/hooks/formatTimestamp.d.ts +0 -1
  104. package/dist/types/hooks/getStatusMessage.d.ts +0 -2
  105. package/dist/types/types/IChat.d.ts +0 -6
  106. /package/dist/types/{types → components/2_feed_elements/FeedKeyboard/types}/IFeedKeyboard.d.ts +0 -0
  107. /package/dist/types/{hooks → components/3_compounds/Feed/functions}/throttle.d.ts +0 -0
  108. /package/dist/types/{apps/helpers → functions}/sortByTimestamp.d.ts +0 -0
  109. /package/dist/types/{apps/helpers → hooks/modals}/useCreateChat.d.ts +0 -0
  110. /package/dist/types/{apps/helpers → hooks/modals}/useCreateChat2.d.ts +0 -0
  111. /package/dist/types/{apps/helpers → hooks/modals}/useCreateDialog.d.ts +0 -0
  112. /package/dist/types/{apps/helpers → hooks/modals}/useModalSelectUser2.d.ts +0 -0
  113. /package/dist/types/hooks/{generatePreview.d.ts → uploadFile/generatePreview.d.ts} +0 -0
  114. /package/dist/types/hooks/{getTypeFileByMime.d.ts → uploadFile/getTypeFileByMime.d.ts} +0 -0
  115. /package/dist/types/hooks/{uploadFile.d.ts → uploadFile/uploadFile.d.ts} +0 -0
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Главный экспорт валидаторов
3
+ *
4
+ * Структура:
5
+ * - validators/chats - валидация чатов
6
+ * - validators/messages - валидация сообщений
7
+ * - validators/sidebar - валидация sidebar items
8
+ *
9
+ * @example
10
+ * // Импорт валидатора чатов
11
+ * import { useChatValidator } from '@/apps/validators/chats';
12
+ *
13
+ * @example
14
+ * // Импорт валидатора сообщений
15
+ * import { useMessageValidator } from '@/apps/validators/messages';
16
+ *
17
+ * @example
18
+ * // Импорт валидатора sidebar
19
+ * import { useSidebarValidator } from '@/apps/validators/sidebar';
20
+ *
21
+ * @example
22
+ * // Импорт всех валидаторов
23
+ * import { useChatValidator, useMessageValidator, useSidebarValidator } from '@/apps/validators';
24
+ */
25
+ export * from './chats';
26
+ export * from './messages';
27
+ export * from './sidebar';
28
+ export * from './examples';
29
+ export * from './test';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Валидатор сообщений
3
+ * Экспорт всех компонентов валидации сообщений
4
+ */
5
+ export * from './types';
6
+ export { validateMessages, getMessageValidationReport, type MessageValidationError, type MessageValidationResult } from './messageValidator';
7
+ export * from './useMessageValidator';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Валидатор для данных сообщений
3
+ */
4
+ export interface MessageValidationError {
5
+ path: string;
6
+ message: string;
7
+ value?: any;
8
+ }
9
+ export interface MessageValidationResult {
10
+ isValid: boolean;
11
+ errors: MessageValidationError[];
12
+ warnings: MessageValidationError[];
13
+ }
14
+ /**
15
+ * Основная функция валидации списка сообщений
16
+ */
17
+ export declare function validateMessages(messages: any): MessageValidationResult;
18
+ /**
19
+ * Получить читаемый отчет о валидации
20
+ */
21
+ export declare function getMessageValidationReport(result: MessageValidationResult): string;
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Типы для данных сообщений
3
+ */
4
+ export interface MessageAction {
5
+ action: string;
6
+ title: string;
7
+ icon?: string;
8
+ }
9
+ export interface MessageReply {
10
+ messageId: string | number;
11
+ type: string;
12
+ text?: string;
13
+ url?: string;
14
+ filename?: string;
15
+ }
16
+ export interface MessageEmbed {
17
+ type: string;
18
+ url: string;
19
+ }
20
+ export interface MessageLinkPreview {
21
+ title: string;
22
+ imageUrl: string;
23
+ url: string;
24
+ description: string;
25
+ }
26
+ export interface MessageTranscript {
27
+ text?: string;
28
+ dialog?: Array<{
29
+ time: string;
30
+ text: string;
31
+ position: string;
32
+ }>;
33
+ }
34
+ export interface MessageKeyboardButton {
35
+ key: string;
36
+ text: string;
37
+ action: any;
38
+ color: any;
39
+ order: number;
40
+ }
41
+ export interface Message {
42
+ chatId: number;
43
+ dialogId?: string;
44
+ messageId: string | number;
45
+ type: string;
46
+ timestamp: string | number;
47
+ direction?: 'incoming' | 'outgoing';
48
+ status?: 'read' | 'sent' | 'received';
49
+ text?: string;
50
+ header?: string;
51
+ subText?: string;
52
+ avatar?: string;
53
+ url?: string;
54
+ filename?: string;
55
+ alt?: string;
56
+ views?: number;
57
+ actions?: MessageAction[];
58
+ reply?: MessageReply;
59
+ embed?: MessageEmbed;
60
+ linkPreview?: MessageLinkPreview;
61
+ transcript?: MessageTranscript;
62
+ keyboard?: MessageKeyboardButton[];
63
+ callDuration?: string;
64
+ isMissedCall?: boolean;
65
+ }
66
+ export type MessageList = Message[];
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Реактивный composable для валидации сообщений
3
+ */
4
+ import { type Ref } from 'vue';
5
+ import { type MessageValidationResult } from './messageValidator';
6
+ export interface UseMessageValidatorOptions {
7
+ autoValidate?: boolean;
8
+ debounce?: number;
9
+ }
10
+ export interface UseMessageValidatorReturn {
11
+ validationResult: Ref<MessageValidationResult | null>;
12
+ isValid: Ref<boolean>;
13
+ errors: Ref<MessageValidationResult['errors']>;
14
+ warnings: Ref<MessageValidationResult['warnings']>;
15
+ errorCount: Ref<number>;
16
+ warningCount: Ref<number>;
17
+ report: Ref<string>;
18
+ validate: () => MessageValidationResult;
19
+ reset: () => void;
20
+ showReport: () => void;
21
+ }
22
+ /**
23
+ * Composable для реактивной валидации сообщений
24
+ *
25
+ * @param messagesData - реактивная ссылка на данные сообщений
26
+ * @param options - опции валидатора
27
+ * @returns объект с реактивными свойствами и методами валидации
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * import { ref } from 'vue';
32
+ * import { useMessageValidator } from '@/apps/validators/useMessageValidator';
33
+ * import { messages } from '@/apps/data/messages';
34
+ *
35
+ * const messagesData = ref(messages);
36
+ * const { isValid, errorCount, showReport } = useMessageValidator(messagesData, {
37
+ * autoValidate: true,
38
+ * debounce: 300
39
+ * });
40
+ *
41
+ * // Валидация запускается автоматически
42
+ * console.log(isValid.value); // true/false
43
+ * console.log(errorCount.value); // количество ошибок
44
+ *
45
+ * // Показать полный отчет в консоли
46
+ * showReport();
47
+ * ```
48
+ */
49
+ export declare function useMessageValidator(messagesData: Ref<any>, options?: UseMessageValidatorOptions): UseMessageValidatorReturn;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Валидатор sidebar items
3
+ * Экспорт всех компонентов валидации sidebar items
4
+ */
5
+ export * from './types';
6
+ export { validateSidebarItems, getSidebarValidationReport, type SidebarValidationError, type SidebarValidationResult } from './sidebarValidator';
7
+ export * from './useSidebarValidator';
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Валидатор для данных sidebar items
3
+ */
4
+ export interface SidebarValidationError {
5
+ path: string;
6
+ message: string;
7
+ value?: any;
8
+ }
9
+ export interface SidebarValidationResult {
10
+ isValid: boolean;
11
+ errors: SidebarValidationError[];
12
+ warnings: SidebarValidationError[];
13
+ }
14
+ /**
15
+ * Основная функция валидации списка sidebar items
16
+ */
17
+ export declare function validateSidebarItems(items: any): SidebarValidationResult;
18
+ /**
19
+ * Получить читаемый отчет о валидации
20
+ */
21
+ export declare function getSidebarValidationReport(result: SidebarValidationResult): string;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Типы для данных sidebar items
3
+ */
4
+ export interface SidebarItem {
5
+ itemId: string;
6
+ icon: string;
7
+ name?: string;
8
+ notificationCount: number;
9
+ notificationColor?: string;
10
+ selected: boolean;
11
+ isFixedBottom?: boolean;
12
+ isFixedTop?: boolean;
13
+ }
14
+ export type SidebarItemList = SidebarItem[];
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Реактивный composable для валидации sidebar items
3
+ */
4
+ import { type Ref } from 'vue';
5
+ import { type SidebarValidationResult } from './sidebarValidator';
6
+ export interface UseSidebarValidatorOptions {
7
+ autoValidate?: boolean;
8
+ debounce?: number;
9
+ }
10
+ export interface UseSidebarValidatorReturn {
11
+ validationResult: Ref<SidebarValidationResult | null>;
12
+ isValid: Ref<boolean>;
13
+ errors: Ref<SidebarValidationResult['errors']>;
14
+ warnings: Ref<SidebarValidationResult['warnings']>;
15
+ errorCount: Ref<number>;
16
+ warningCount: Ref<number>;
17
+ report: Ref<string>;
18
+ validate: () => SidebarValidationResult;
19
+ reset: () => void;
20
+ showReport: () => void;
21
+ }
22
+ /**
23
+ * Composable для реактивной валидации sidebar items
24
+ *
25
+ * @param sidebarData - реактивная ссылка на данные sidebar items
26
+ * @param options - опции валидатора
27
+ * @returns объект с реактивными свойствами и методами валидации
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * import { ref } from 'vue';
32
+ * import { useSidebarValidator } from '@/apps/validators/sidebar';
33
+ * import { sidebarItems } from '@/apps/data/sidebarItems';
34
+ *
35
+ * const sidebarData = ref(sidebarItems);
36
+ * const { isValid, errorCount, showReport } = useSidebarValidator(sidebarData, {
37
+ * autoValidate: true,
38
+ * debounce: 300
39
+ * });
40
+ *
41
+ * // Показать полный отчет в консоли
42
+ * showReport();
43
+ * ```
44
+ */
45
+ export declare function useSidebarValidator(sidebarData: Ref<any>, options?: UseSidebarValidatorOptions): UseSidebarValidatorReturn;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Простой тестовый файл для проверки валидатора
3
+ *
4
+ * Использование:
5
+ *
6
+ * В вашем компоненте или приложении:
7
+ * ```ts
8
+ * import { testChatsValidation } from '@/apps/validators/test';
9
+ * testChatsValidation();
10
+ * ```
11
+ */
12
+ /**
13
+ * Запустить валидацию текущих данных чатов и вывести результат в консоль
14
+ */
15
+ export declare function testChatsValidation(): import("./chats").ValidationResult;
16
+ /**
17
+ * Валидация произвольных данных чатов
18
+ */
19
+ export declare function testCustomChats(customChats: any[]): import("./chats").ValidationResult;
20
+ /**
21
+ * Пример валидации с ошибками (для тестирования)
22
+ */
23
+ export declare function testWithErrors(): import("./chats").ValidationResult;
@@ -1,4 +1,4 @@
1
- import { ILinkPreview } from '@types';
1
+ import { ILinkPreview } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  linkPreview: {
4
4
  type: () => ILinkPreview;
@@ -3,12 +3,12 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  linkPreview: {
6
- type: () => import("../../../../types/messages.ts").ILinkPreview;
6
+ type: () => import("../../../2_feed_elements/types/messages.ts").ILinkPreview;
7
7
  required: true;
8
8
  };
9
9
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
10
  linkPreview: {
11
- type: () => import("../../../../types/messages.ts").ILinkPreview;
11
+ type: () => import("../../../2_feed_elements/types/messages.ts").ILinkPreview;
12
12
  required: true;
13
13
  };
14
14
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -28,8 +28,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
28
  default: number;
29
29
  };
30
30
  }>> & Readonly<{}>, {
31
+ size: string | number;
31
32
  width: string | number;
32
33
  height: string | number;
33
- size: string | number;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
35
  export default _default;
@@ -1,13 +1,13 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  $emit: (event: "select-attribute-channel" | "phone-call", ...args: any[]) => void;
3
- contactAttributes: unknown[];
4
3
  channels: unknown[];
4
+ contactAttributes: unknown[];
5
5
  recentAttributeChannels: Record<string, any>;
6
6
  selectedDialog: Record<string, any>;
7
7
  channelTooltips: Record<string, any>;
8
8
  $props: {
9
- readonly contactAttributes?: unknown[] | undefined;
10
9
  readonly channels?: unknown[] | undefined;
10
+ readonly contactAttributes?: unknown[] | undefined;
11
11
  readonly recentAttributeChannels?: Record<string, any> | undefined;
12
12
  readonly selectedDialog?: Record<string, any> | undefined;
13
13
  readonly channelTooltips?: Record<string, any> | undefined;
@@ -3,14 +3,14 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import("vue").DefineComponent<{}, {
5
5
  $emit: (event: "select-attribute-channel" | "phone-call", ...args: any[]) => void;
6
- contactAttributes: unknown[];
7
6
  channels: unknown[];
7
+ contactAttributes: unknown[];
8
8
  recentAttributeChannels: Record<string, any>;
9
9
  selectedDialog: Record<string, any>;
10
10
  channelTooltips: Record<string, any>;
11
11
  $props: {
12
- readonly contactAttributes?: unknown[] | undefined;
13
12
  readonly channels?: unknown[] | undefined;
13
+ readonly contactAttributes?: unknown[] | undefined;
14
14
  readonly recentAttributeChannels?: Record<string, any> | undefined;
15
15
  readonly selectedDialog?: Record<string, any> | undefined;
16
16
  readonly channelTooltips?: Record<string, any> | undefined;
@@ -1,4 +1,4 @@
1
- import { IFeedObject } from '@types';
1
+ import { IFeedObject } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  object: {
4
4
  type: () => IFeedObject;
@@ -1,4 +1,4 @@
1
- import { IFeedObject } from '@types';
1
+ import { IFeedObject } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  objects: {
4
4
  type: {
@@ -4,18 +4,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4
4
  default: boolean;
5
5
  };
6
6
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- switch: (...args: any[]) => void;
8
7
  search: (...args: any[]) => void;
9
8
  cancel: (...args: any[]) => void;
9
+ switch: (...args: any[]) => void;
10
10
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
11
  isFeedLocation: {
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
15
  }>> & Readonly<{
16
- onSwitch?: ((...args: any[]) => any) | undefined;
17
16
  onSearch?: ((...args: any[]) => any) | undefined;
18
17
  onCancel?: ((...args: any[]) => any) | undefined;
18
+ onSwitch?: ((...args: any[]) => any) | undefined;
19
19
  }>, {
20
20
  isFeedLocation: boolean;
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -4,15 +4,15 @@ declare const _default: import("vue").DefineComponent<{}, {
4
4
  state: string;
5
5
  groupTemplates: unknown[];
6
6
  elevatedWindow: boolean;
7
- filebumpUrl: string;
8
7
  wabaTemplates: unknown[];
8
+ filebumpUrl: string;
9
9
  $props: {
10
10
  readonly mode?: string | undefined;
11
11
  readonly state?: string | undefined;
12
12
  readonly groupTemplates?: unknown[] | undefined;
13
13
  readonly elevatedWindow?: boolean | undefined;
14
- readonly filebumpUrl?: string | undefined;
15
14
  readonly wabaTemplates?: unknown[] | undefined;
15
+ readonly filebumpUrl?: string | undefined;
16
16
  };
17
17
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
18
  export default _default;
@@ -1,4 +1,4 @@
1
- import { IFilePreview } from '../../../types/components';
1
+ import { IFilePreview } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  fileInfo: {
4
4
  type: () => IFilePreview;
@@ -1,11 +1,11 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  $emit: (event: "edit", ...args: any[]) => void;
3
- index: number;
4
3
  value: string;
4
+ index: number;
5
5
  isFilled: boolean;
6
6
  $props: {
7
- readonly index?: number | undefined;
8
7
  readonly value?: string | undefined;
8
+ readonly index?: number | undefined;
9
9
  readonly isFilled?: boolean | undefined;
10
10
  };
11
11
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,11 +1,11 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  $emit: (event: "close" | "select-attribute-channel" | "open-crm", ...args: any[]) => void;
3
- channels: unknown[];
4
3
  contact: Record<string, any>;
4
+ channels: unknown[];
5
5
  currentDialog: Record<string, any>;
6
6
  $props: {
7
- readonly channels?: unknown[] | undefined;
8
7
  readonly contact?: Record<string, any> | undefined;
8
+ readonly channels?: unknown[] | undefined;
9
9
  readonly currentDialog?: Record<string, any> | undefined;
10
10
  };
11
11
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -4,12 +4,12 @@ declare const meta: {
4
4
  title: string;
5
5
  component: import("vue").DefineComponent<{}, {
6
6
  $emit: (event: "close" | "select-attribute-channel" | "open-crm", ...args: any[]) => void;
7
- channels: unknown[];
8
7
  contact: Record<string, any>;
8
+ channels: unknown[];
9
9
  currentDialog: Record<string, any>;
10
10
  $props: {
11
- readonly channels?: unknown[] | undefined;
12
11
  readonly contact?: Record<string, any> | undefined;
12
+ readonly channels?: unknown[] | undefined;
13
13
  readonly currentDialog?: Record<string, any> | undefined;
14
14
  };
15
15
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { IAudioMessage } from '../../../types';
1
+ import { IAudioMessage } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  message: {
4
4
  type: () => IAudioMessage;
@@ -13,8 +13,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  default: boolean;
14
14
  };
15
15
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- action: (...args: any[]) => void;
17
16
  reply: (...args: any[]) => void;
17
+ action: (...args: any[]) => void;
18
18
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  message: {
20
20
  type: () => IAudioMessage;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
29
29
  default: boolean;
30
30
  };
31
31
  }>> & Readonly<{
32
- onAction?: ((...args: any[]) => any) | undefined;
33
32
  onReply?: ((...args: any[]) => any) | undefined;
33
+ onAction?: ((...args: any[]) => any) | undefined;
34
34
  }>, {
35
35
  applyStyle: Function;
36
36
  isFirstInSeries: boolean;
@@ -1,22 +1,22 @@
1
- import { IFeedObject } from '../../../types';
1
+ import { IFeedObject } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  message: {
4
4
  type: () => IFeedObject;
5
5
  default: () => IFeedObject;
6
6
  };
7
7
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ reply: (...args: any[]) => void;
8
9
  reset: (...args: any[]) => void;
9
10
  action: (...args: any[]) => void;
10
- reply: (...args: any[]) => void;
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
12
  message: {
13
13
  type: () => IFeedObject;
14
14
  default: () => IFeedObject;
15
15
  };
16
16
  }>> & Readonly<{
17
+ onReply?: ((...args: any[]) => any) | undefined;
17
18
  onReset?: ((...args: any[]) => any) | undefined;
18
19
  onAction?: ((...args: any[]) => any) | undefined;
19
- onReply?: ((...args: any[]) => any) | undefined;
20
20
  }>, {
21
21
  message: IFeedObject;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { ICallMessage } from '../../../types';
1
+ import { ICallMessage } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  message: {
4
4
  type: () => ICallMessage;
@@ -1,4 +1,4 @@
1
- import { IDateMessage } from '../../../types';
1
+ import { IDateMessage } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  message: {
4
4
  type: () => IDateMessage;
@@ -1,4 +1,4 @@
1
- import type { IFeedKeyboard } from '../../../types/IFeedKeyboard';
1
+ import type { IFeedKeyboard } from './types/IFeedKeyboard';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  buttons: {
4
4
  type: () => IFeedKeyboard[];
@@ -3,7 +3,7 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  buttons: {
6
- type: () => import("../../../../types/IFeedKeyboard.ts").IFeedKeyboard[];
6
+ type: () => import("../types/IFeedKeyboard.ts").IFeedKeyboard[];
7
7
  required: true;
8
8
  default: () => never[];
9
9
  };
@@ -16,7 +16,7 @@ declare const meta: {
16
16
  action: (...args: any[]) => void;
17
17
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  buttons: {
19
- type: () => import("../../../../types/IFeedKeyboard.ts").IFeedKeyboard[];
19
+ type: () => import("../types/IFeedKeyboard.ts").IFeedKeyboard[];
20
20
  required: true;
21
21
  default: () => never[];
22
22
  };
@@ -28,7 +28,7 @@ declare const meta: {
28
28
  }>> & Readonly<{
29
29
  onAction?: ((...args: any[]) => any) | undefined;
30
30
  }>, {
31
- buttons: import("../../../../types/IFeedKeyboard.ts").IFeedKeyboard[];
31
+ buttons: import("../types/IFeedKeyboard.ts").IFeedKeyboard[];
32
32
  align: "left" | "right" | "center";
33
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
34
34
  args: {};
@@ -1,4 +1,4 @@
1
- import { IFileMessage } from '../../../types';
1
+ import { IFileMessage } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  message: {
4
4
  type: () => IFileMessage;
@@ -13,8 +13,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  default: boolean;
14
14
  };
15
15
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- action: (...args: any[]) => void;
17
16
  reply: (...args: any[]) => void;
17
+ action: (...args: any[]) => void;
18
18
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  message: {
20
20
  type: () => IFileMessage;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
29
29
  default: boolean;
30
30
  };
31
31
  }>> & Readonly<{
32
- onAction?: ((...args: any[]) => any) | undefined;
33
32
  onReply?: ((...args: any[]) => any) | undefined;
33
+ onAction?: ((...args: any[]) => any) | undefined;
34
34
  }>, {
35
35
  applyStyle: Function;
36
36
  isFirstInSeries: boolean;
@@ -1,4 +1,4 @@
1
- import { IImageMessage } from '../../../types';
1
+ import { IImageMessage } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  message: {
4
4
  type: () => IImageMessage;
@@ -13,8 +13,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
13
13
  default: boolean;
14
14
  };
15
15
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- action: (...args: any[]) => void;
17
16
  reply: (...args: any[]) => void;
17
+ action: (...args: any[]) => void;
18
18
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  message: {
20
20
  type: () => IImageMessage;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
29
29
  default: boolean;
30
30
  };
31
31
  }>> & Readonly<{
32
- onAction?: ((...args: any[]) => any) | undefined;
33
32
  onReply?: ((...args: any[]) => any) | undefined;
33
+ onAction?: ((...args: any[]) => any) | undefined;
34
34
  }>, {
35
35
  applyStyle: Function;
36
36
  isFirstInSeries: boolean;
@@ -1,4 +1,4 @@
1
- import { IKeyBoard } from "@types";
1
+ import { IKeyBoard } from "@/types";
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  keyboard: {
4
4
  type: {
@@ -1,4 +1,4 @@
1
- import { IAudioMessage } from '../../../types';
1
+ import { IAudioMessage } from '@/types';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  message: {
4
4
  type: () => IAudioMessage;