@mobilon-dev/chotto 0.3.4 → 0.3.5
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/LICENSE +21 -21
- package/README.md +303 -303
- package/dist/{ModalVideoRecorder-CXr2HQuY.js → ModalVideoRecorder-BFZoDkGK.js} +2 -2
- package/dist/chotto.css +1 -1
- package/dist/index-DRZepRE6.js +20957 -0
- package/dist/types/{helpers → apps/helpers}/index.d.ts +5 -5
- package/dist/types/apps/helpers/sortByTimestamp.d.ts +5 -0
- package/dist/types/apps/helpers/useModalSelectUser2.d.ts +1 -0
- package/dist/types/{transform → apps/transform}/transformToFeed.d.ts +1 -1
- package/dist/types/components/atoms/Modal/styles/types.d.ts +161 -0
- package/dist/types/components/atoms/ModalFullscreen/styles/types.d.ts +133 -0
- package/dist/types/components/atoms/ModalNoFooter/styles/types.d.ts +105 -0
- package/dist/types/components/atoms/Tooltip/styles/types.d.ts +61 -0
- package/dist/types/components/blocks/ChatItem/ChatItem.vue.d.ts +23 -19
- package/dist/types/components/blocks/ChatItem/styles/types.d.ts +293 -0
- package/dist/types/components/blocks/ChatList/ChatList.vue.d.ts +1 -1
- package/dist/types/components/blocks/ChatList/styles/types.d.ts +123 -0
- package/dist/types/components/blocks/ChatPanel/styles/types.d.ts +53 -0
- package/dist/types/components/blocks/FeedFoundItem/styles/types.d.ts +89 -0
- package/dist/types/components/blocks/FeedFoundObjects/FeedFoundObjects.vue.d.ts +2 -2
- package/dist/types/components/blocks/FeedFoundObjects/styles/types.d.ts +37 -0
- package/dist/types/components/blocks/FeedSearch/styles/types.d.ts +51 -0
- package/dist/types/components/blocks/MessageKeyboard/styles/types.d.ts +51 -0
- package/dist/types/components/blocks/index.d.ts +0 -1
- package/dist/types/components/compounds/ChatInput/styles/types.d.ts +159 -0
- package/dist/types/components/compounds/CommunicationPanel/styles/types.d.ts +401 -0
- package/dist/types/components/compounds/Feed/Feed.vue.d.ts +11 -2
- package/dist/types/components/compounds/Feed/messages/AudioMessage/styles/types.d.ts +437 -0
- package/dist/types/components/compounds/Feed/messages/BaseReplyMessage/BaseReplyMessage.vue.d.ts +5 -1
- package/dist/types/components/compounds/Feed/messages/BaseReplyMessage/styles/types.d.ts +73 -0
- package/dist/types/components/compounds/Feed/messages/CallMessage/styles/types.d.ts +305 -0
- package/dist/types/components/compounds/Feed/messages/DateMessage/styles/types.d.ts +34 -0
- package/dist/types/components/compounds/Feed/messages/DateMessageSticky/styles/types.d.ts +35 -0
- package/dist/types/components/compounds/Feed/messages/FileMessage/styles/types.d.ts +253 -0
- package/dist/types/components/compounds/Feed/messages/ImageMessage/styles/types.d.ts +237 -0
- package/dist/types/components/compounds/Feed/messages/ReplyAudioMessage/styles/types.d.ts +71 -0
- package/dist/types/components/compounds/Feed/messages/ReplyCallMessage/styles/types.d.ts +61 -0
- package/dist/types/components/compounds/Feed/messages/ReplyFileMessage/styles/types.d.ts +67 -0
- package/dist/types/components/compounds/Feed/messages/ReplyImageMessage/styles/types.d.ts +85 -0
- package/dist/types/components/compounds/Feed/messages/ReplyTextMessage/styles/types.d.ts +35 -0
- package/dist/types/components/compounds/Feed/messages/ReplyVideoMessage/styles/types.d.ts +81 -0
- package/dist/types/components/compounds/Feed/messages/SystemMessage/styles/types.d.ts +23 -0
- package/dist/types/components/compounds/Feed/messages/TextMessage/styles/types.d.ts +203 -0
- package/dist/types/components/compounds/Feed/messages/TypingMessage/styles/types.d.ts +93 -0
- package/dist/types/components/compounds/Feed/messages/VideoMessage/VideoMessage.vue.d.ts +1 -1
- package/dist/types/components/compounds/Feed/messages/VideoMessage/styles/types.d.ts +241 -0
- package/dist/types/components/compounds/Feed/styles/types.d.ts +119 -0
- package/dist/types/components/compounds/ModalVideoRecorder/styles/types.d.ts +71 -0
- package/dist/types/components/compounds/SideBar/styles/types.d.ts +279 -0
- package/dist/types/components/compounds/TemplateSelector/TemplateSelector.vue.d.ts +2 -0
- package/dist/types/components/compounds/TemplateSelector/styles/types.d.ts +311 -0
- package/dist/types/components/compounds/UserProfile/styles/types.d.ts +61 -0
- package/dist/types/components/containers/BaseContainer/styles/types.d.ts +39 -0
- package/dist/types/components/containers/FloatContainer/styles/types.d.ts +89 -0
- package/dist/types/components/containers/PlaceholderComponent/styles/types.d.ts +17 -0
- package/dist/types/components/containers/SplashScreen/styles/types.d.ts +17 -0
- package/dist/types/components/elements/AudioRecorder/styles/types.d.ts +79 -0
- package/dist/types/components/elements/ButtonCommandsSelector/styles/types.d.ts +23 -0
- package/dist/types/components/elements/ButtonContextMenu/styles/types.d.ts +15 -0
- package/dist/types/components/elements/ButtonEmojiPicker/styles/types.d.ts +33 -0
- package/dist/types/components/elements/ButtonTemplateSelector/styles/types.d.ts +29 -0
- package/dist/types/components/elements/ButtonWabaTemplateSelector/styles/types.d.ts +29 -0
- package/dist/types/components/elements/ChannelSelector/ChannelSelector.vue.d.ts +2 -2
- package/dist/types/components/elements/ChannelSelector/styles/types.d.ts +49 -0
- package/dist/types/components/elements/ChatFilter/styles/types.d.ts +43 -0
- package/dist/types/components/elements/ChatInfo/styles/types.d.ts +93 -0
- package/dist/types/components/elements/ChatTabs/styles/types.d.ts +65 -0
- package/dist/types/components/elements/ContactInfo/ContactInfo.vue.d.ts +2 -2
- package/dist/types/components/elements/ContactInfo/stories/ContactInfo.stories.d.ts +2 -2
- package/dist/types/components/elements/ContactInfo/styles/types.d.ts +219 -0
- package/dist/types/components/elements/ContextMenu/styles/types.d.ts +59 -0
- package/dist/types/components/elements/FeedKeyboard/styles/types.d.ts +55 -0
- package/dist/types/components/elements/FilePreview/styles/types.d.ts +141 -0
- package/dist/types/components/elements/FileUploader/styles/types.d.ts +23 -0
- package/dist/types/components/elements/ThemeMode/styles/types.d.ts +99 -0
- package/dist/types/components/elements/VideoRecorder/styles/types.d.ts +37 -0
- package/dist/types/components/elements/WABAAttachmentSection/styles/types.d.ts +59 -0
- package/dist/types/components/elements/WABAQuickReplyButtons/styles/types.d.ts +35 -0
- package/dist/types/components/elements/WABASeparatedQuickButtons/styles/types.d.ts +65 -0
- package/dist/types/components/elements/WABATemplateSelector/WABATemplateSelector.vue.d.ts +2 -0
- package/dist/types/components/elements/WABATemplateSelector/stories/WABATemplateSelector.stories.d.ts +2 -0
- package/dist/types/components/elements/WABATemplateSelector/styles/types.d.ts +363 -0
- package/dist/types/components/layouts/AdaptiveExtendedLayout/styles/types.d.ts +83 -0
- package/dist/types/components/layouts/BaseLayout/styles/types.d.ts +63 -0
- package/dist/types/components/layouts/ChatWrapper/styles/types.d.ts +43 -0
- package/dist/types/components/layouts/ExtendedLayout/styles/types.d.ts +79 -0
- package/dist/types/components/layouts/FeedLayout/styles/types.d.ts +33 -0
- package/dist/types/components/molecules/CreateDialog/CreateDialog.vue.d.ts +2 -2
- package/dist/types/components/molecules/CreateDialog/stories/CreateDialog.stories.d.ts +2 -2
- package/dist/types/components/molecules/CreateDialog/styles/types.d.ts +19 -0
- package/dist/types/components/molecules/EmbedPreview/styles/types.d.ts +29 -0
- package/dist/types/components/molecules/LinkPreview/styles/types.d.ts +55 -0
- package/dist/types/components/molecules/SelectUser/styles/types.d.ts +53 -0
- package/dist/types/components/molecules/SelectUser2/styles/types.d.ts +19 -0
- package/dist/types/components/molecules/index.d.ts +4 -0
- package/dist/types/hooks/index.d.ts +12 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/themes/index.d.ts +1 -2
- package/dist/types/themes/types.d.ts +64 -113
- package/dist/types/types/components.d.ts +33 -0
- package/dist/vuessages.es.js +65 -62
- package/dist/vuessages.umd.js +6 -6
- package/package.json +64 -63
- package/dist/CreateChat-Dv1RI_Uw.js +0 -31
- package/dist/CreateChat2-DR5H827U.js +0 -42
- package/dist/CreateDialog-lcy7szHJ.js +0 -77
- package/dist/SelectUser2-BpDHmoMk.js +0 -46
- package/dist/chat-background.svg +0 -3
- package/dist/index-BAlmGgQr.js +0 -20864
- package/dist/types/helpers/sortByTimestamp.d.ts +0 -1
- package/dist/types/helpers/useModalSelectUser2.d.ts +0 -1
- package/dist/types/themes/constants.d.ts +0 -18
- /package/dist/types/{BaseAdaptiveExtendedChatApp.vue.d.ts → apps/BaseAdaptiveExtendedChatApp/BaseAdaptiveExtendedChatApp.vue.d.ts} +0 -0
- /package/dist/types/{BaseBaseChatApp.vue.d.ts → apps/BaseBaseChatApp/BaseBaseChatApp.vue.d.ts} +0 -0
- /package/dist/types/{BaseExtendedChatApp.vue.d.ts → apps/BaseExtendedChatApp/BaseExtendedChatApp.vue.d.ts} +0 -0
- /package/dist/types/{BaseFeedChatApp.vue.d.ts → apps/BaseFeedChatApp/BaseFeedChatApp.vue.d.ts} +0 -0
- /package/dist/types/{FloatExtendedChatApp.vue.d.ts → apps/FloatExtendedChatApp/FloatExtendedChatApp.vue.d.ts} +0 -0
- /package/dist/types/{MobilonExtendedChatApp.vue.d.ts → apps/MobilonExtendedChatApp/MobilonExtendedChatApp.vue.d.ts} +0 -0
- /package/dist/types/{data → apps/data}/channels.d.ts +0 -0
- /package/dist/types/{data → apps/data}/chats.d.ts +0 -0
- /package/dist/types/{data → apps/data}/groupTemplates.d.ts +0 -0
- /package/dist/types/{data → apps/data}/index.d.ts +0 -0
- /package/dist/types/{data → apps/data}/messages.d.ts +0 -0
- /package/dist/types/{data → apps/data}/sidebarItems.d.ts +0 -0
- /package/dist/types/{data → apps/data}/templates.d.ts +0 -0
- /package/dist/types/{data → apps/data}/userProfile.d.ts +0 -0
- /package/dist/types/{data → apps/data}/users.d.ts +0 -0
- /package/dist/types/{data → apps/data}/wabaTemplates.d.ts +0 -0
- /package/dist/types/{helpers → apps/helpers}/formatTimestamp.d.ts +0 -0
- /package/dist/types/{helpers → apps/helpers}/playNotificationAudio.d.ts +0 -0
- /package/dist/types/{helpers → apps/helpers}/prepareTimeline.d.ts +0 -0
- /package/dist/types/{helpers → apps/helpers}/useCreateChat.d.ts +0 -0
- /package/dist/types/{helpers → apps/helpers}/useCreateChat2.d.ts +0 -0
- /package/dist/types/{helpers → apps/helpers}/useCreateDialog.d.ts +0 -0
- /package/dist/types/{stores → apps/stores}/useChatStore.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/generatePreview.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/getStatusMessage.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/getTypeFileByMime.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/throttle.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/uploadFile.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/useDelayDebouncedRef.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/useImmediateDebouncedRef.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/useMessage.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/useModal.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/useSearchModel.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/useTheme.d.ts +0 -0
- /package/dist/types/{helpers → hooks}/useVideoRecorder.d.ts +0 -0
@@ -1,116 +1,67 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
export type FontSize = string;
|
5
|
-
export type FontWeight = string | number;
|
6
|
-
export type BorderRadius = string;
|
7
|
-
export type BoxShadow = string;
|
8
|
-
export type Margin = string;
|
9
|
-
export type Padding = string;
|
10
|
-
export type Width = string;
|
11
|
-
export type Height = string;
|
1
|
+
/**
|
2
|
+
* CSS переменные для тем Chotto
|
3
|
+
*/
|
12
4
|
export interface ChottoThemeVariables {
|
13
|
-
'--chotto-theme-
|
14
|
-
'--chotto-theme-
|
5
|
+
'--chotto-theme-primary-color': string;
|
6
|
+
'--chotto-theme-secondary-color': string;
|
7
|
+
'--chotto-theme-tertiary-color': string;
|
8
|
+
'--chotto-theme-primary-text-color': string;
|
9
|
+
'--chotto-theme-secondary-text-color': string;
|
10
|
+
'--chotto-theme-shadow-color': string;
|
11
|
+
'--chotto-theme-shadow-light-color': string;
|
12
|
+
'--chotto-theme-status-color-received': string;
|
13
|
+
'--chotto-theme-status-color-read': string;
|
14
|
+
'--chotto-theme-font-family': string;
|
15
|
+
'--chotto-theme-header-font': string;
|
16
|
+
'--chotto-theme-header-font-size': string;
|
17
|
+
'--chotto-theme-header-font-color': string;
|
18
|
+
'--chotto-theme-title-font-size': string;
|
19
|
+
'--chotto-theme-text-font-size': string;
|
20
|
+
'--chotto-theme-additional-text-font-size': string;
|
21
|
+
'--chotto-theme-small-text-font-size': string;
|
22
|
+
'--chotto-theme-small-text-font-weight': string | number;
|
23
|
+
'--chotto-theme-context-menu-font-size': string;
|
24
|
+
'--chotto-theme-header-font-weight': string | number;
|
25
|
+
'--chotto-theme-title-font-weight': string | number;
|
26
|
+
'--chotto-theme-container-font-weight': string | number;
|
27
|
+
'--chotto-theme-button-icon-size': string;
|
28
|
+
'--chotto-theme-text-icon-size': string;
|
29
|
+
'--chotto-theme-small-text-icon-size': string;
|
15
30
|
'--chotto-theme-container-borders': string;
|
16
|
-
'--chotto-theme-
|
17
|
-
'--chotto-theme-
|
18
|
-
'--chotto-theme-
|
19
|
-
'--chotto-theme-
|
20
|
-
'--chotto-theme-
|
21
|
-
'--chotto-theme-
|
22
|
-
'--chotto-theme-
|
23
|
-
'--chotto-theme-
|
24
|
-
'--chotto-theme-
|
25
|
-
'--chotto-theme-
|
26
|
-
'--chotto-theme-
|
27
|
-
'--chotto-theme-
|
28
|
-
'--chotto-theme-
|
29
|
-
'--chotto-theme-
|
30
|
-
'--chotto-theme-
|
31
|
-
'--chotto-theme-
|
32
|
-
'--chotto-theme-message-
|
33
|
-
'--chotto-theme-message-
|
34
|
-
'--chotto-theme-message-
|
35
|
-
'--chotto-theme-message-
|
36
|
-
'--chotto-theme-message-
|
37
|
-
'--chotto-theme-message-
|
38
|
-
'--chotto-theme-message-
|
39
|
-
'--chotto-theme-
|
40
|
-
'--chotto-theme-
|
41
|
-
'--chotto-theme-
|
42
|
-
'--chotto-theme-
|
43
|
-
'--chotto-theme-
|
44
|
-
'--chotto-theme-
|
45
|
-
'--chotto-theme-
|
46
|
-
'--chotto-theme-
|
47
|
-
'--chotto-theme-
|
48
|
-
'--chotto-theme-
|
49
|
-
'--chotto-theme-
|
50
|
-
'--chotto-theme-
|
51
|
-
'--chotto-theme-
|
52
|
-
'--chotto-theme-secondary-text-color': ColorValue;
|
53
|
-
'--chotto-theme-header-font': FontFamily;
|
54
|
-
'--chotto-theme-header-font-size': FontSize;
|
55
|
-
'--chotto-theme-title-font-size': FontSize;
|
56
|
-
'--chotto-theme-text-font-size': FontSize;
|
57
|
-
'--chotto-theme-additional-text-font-size': FontSize;
|
58
|
-
'--chotto-theme-small-text-font-size': FontSize;
|
59
|
-
'--chotto-theme-header-font-weight': FontWeight;
|
60
|
-
'--chotto-theme-title-font-weight': FontWeight;
|
61
|
-
'--chotto-theme-button-icon-size': FontSize;
|
62
|
-
'--chotto-theme-text-icon-size': FontSize;
|
63
|
-
'--chotto-theme-small-text-icon-size': FontSize;
|
64
|
-
'--chotto-theme-button-color-active': ColorValue;
|
65
|
-
'--chotto-theme-button-color-hover': ColorValue;
|
66
|
-
'--chotto-theme-button-color-disabled': ColorValue;
|
67
|
-
'--chotto-theme-action-button-color-active': ColorValue;
|
68
|
-
'--chotto-theme-action-button-color-hover': ColorValue;
|
69
|
-
'--chotto-theme-action-button-color-disabled': ColorValue;
|
70
|
-
'--chotto-theme-shadow-color': ColorValue;
|
71
|
-
'--chotto-theme-shadow-light-color': ColorValue;
|
72
|
-
'--chotto-theme-status-color-received': ColorValue;
|
73
|
-
'--chotto-theme-status-color-read': ColorValue;
|
74
|
-
'--chotto-theme-item-background-color-focus': ColorValue;
|
75
|
-
'--chotto-theme-item-background-color-hover': ColorValue;
|
76
|
-
'--chotto-theme-item-border-color': ColorValue;
|
77
|
-
'--chotto-theme-unread-background-color': ColorValue;
|
78
|
-
'--chotto-theme-unread-text-color': ColorValue;
|
79
|
-
'--chotto-theme-scrollbar-bg': ColorValue;
|
80
|
-
'--chotto-theme-scrollbar-thumb-bg': ColorValue;
|
81
|
-
'--chotto-theme-header-font-color'?: ColorValue;
|
82
|
-
'--chotto-theme-small-text-font-weight'?: FontWeight;
|
83
|
-
'--chotto-theme-context-menu-font-size'?: FontSize;
|
84
|
-
'--chotto-theme-danger-button-color-active'?: ColorValue;
|
85
|
-
'--chotto-theme-danger-button-color-hover'?: ColorValue;
|
86
|
-
'--chotto-theme-danger-button-color-disabled'?: ColorValue;
|
87
|
-
}
|
88
|
-
export interface ThemeConfig {
|
89
|
-
name: ThemeName;
|
90
|
-
displayName: string;
|
91
|
-
description: string;
|
92
|
-
variables: ChottoThemeVariables;
|
93
|
-
}
|
94
|
-
export type ThemeRegistry = Record<ThemeName, ThemeConfig>;
|
95
|
-
export type ChottoThemeVariableName = keyof ChottoThemeVariables;
|
96
|
-
export type RequiredChottoThemeVariables = Omit<ChottoThemeVariables, '--chotto-theme-header-font-color' | '--chotto-theme-small-text-font-weight' | '--chotto-theme-context-menu-font-size' | '--chotto-theme-danger-button-color-active' | '--chotto-theme-danger-button-color-hover' | '--chotto-theme-danger-button-color-disabled'>;
|
97
|
-
export type OptionalChottoThemeVariables = Pick<ChottoThemeVariables, '--chotto-theme-header-font-color' | '--chotto-theme-small-text-font-weight' | '--chotto-theme-context-menu-font-size' | '--chotto-theme-danger-button-color-active' | '--chotto-theme-danger-button-color-hover' | '--chotto-theme-danger-button-color-disabled'>;
|
98
|
-
export interface ThemeValidationResult {
|
99
|
-
theme: ThemeName;
|
100
|
-
isValid: boolean;
|
101
|
-
missingVariables: ChottoThemeVariableName[];
|
102
|
-
extraVariables: ChottoThemeVariableName[];
|
103
|
-
syntaxErrors: Array<{
|
104
|
-
variable: ChottoThemeVariableName;
|
105
|
-
error: string;
|
106
|
-
line: number;
|
107
|
-
}>;
|
108
|
-
}
|
109
|
-
export interface ThemeValidationSummary {
|
110
|
-
totalThemes: number;
|
111
|
-
validThemes: number;
|
112
|
-
totalVariables: number;
|
113
|
-
totalErrors: number;
|
114
|
-
totalWarnings: number;
|
115
|
-
results: ThemeValidationResult[];
|
31
|
+
'--chotto-theme-layout-extended-third-col-bg': string;
|
32
|
+
'--chotto-theme-layout-extended-second-col-bg': string;
|
33
|
+
'--chotto-theme-layout-extended-first-col-bg': string;
|
34
|
+
'--chotto-theme-layout-extended-first-col-width': string;
|
35
|
+
'--chotto-theme-layout-extended-second-col-width': string;
|
36
|
+
'--chotto-theme-layout-base-second-col-bg': string;
|
37
|
+
'--chotto-theme-layout-base-first-col-bg': string;
|
38
|
+
'--chotto-theme-layout-feed-bg': string;
|
39
|
+
'--chotto-theme-message-right-bg': string;
|
40
|
+
'--chotto-theme-message-right-secondary-bg': string;
|
41
|
+
'--chotto-theme-message-left-bg': string;
|
42
|
+
'--chotto-theme-message-left-secondary-bg': string;
|
43
|
+
'--chotto-theme-message-accent-line-color': string;
|
44
|
+
'--chotto-theme-message-focused-color': string;
|
45
|
+
'--chotto-theme-message-margin': string;
|
46
|
+
'--chotto-theme-message-type-icon-bg-color': string;
|
47
|
+
'--chotto-theme-message-type-icon-color': string;
|
48
|
+
'--chotto-theme-message-border-radius': string;
|
49
|
+
'--chotto-theme-message-modal-padding': string;
|
50
|
+
'--chotto-theme-message-modal-border-radius': string;
|
51
|
+
'--chotto-theme-message-modal-mask-background': string;
|
52
|
+
'--chotto-theme-message-modal-overlay-shadow': string;
|
53
|
+
'--chotto-theme-message-modal-bg': string;
|
54
|
+
'--chotto-theme-button-color-active': string;
|
55
|
+
'--chotto-theme-button-color-hover': string;
|
56
|
+
'--chotto-theme-button-color-disabled': string;
|
57
|
+
'--chotto-theme-action-button-color-active': string;
|
58
|
+
'--chotto-theme-action-button-color-hover': string;
|
59
|
+
'--chotto-theme-action-button-color-disabled': string;
|
60
|
+
'--chotto-theme-item-background-color-focus': string;
|
61
|
+
'--chotto-theme-item-background-color-hover': string;
|
62
|
+
'--chotto-theme-item-border-color': string;
|
63
|
+
'--chotto-theme-unread-background-color': string;
|
64
|
+
'--chotto-theme-unread-text-color': string;
|
65
|
+
'--chotto-theme-scrollbar-bg': string;
|
66
|
+
'--chotto-theme-scrollbar-thumb-bg': string;
|
116
67
|
}
|
@@ -47,3 +47,36 @@ export interface IFilePreview {
|
|
47
47
|
fileName?: string;
|
48
48
|
fileSize: string;
|
49
49
|
}
|
50
|
+
export interface IChatDialog {
|
51
|
+
branchId: string;
|
52
|
+
dialogId: string;
|
53
|
+
attributeId: string;
|
54
|
+
channelId: string;
|
55
|
+
icon?: string;
|
56
|
+
name: string;
|
57
|
+
fullname: string;
|
58
|
+
countUnread: number;
|
59
|
+
'lastActivity.time': string;
|
60
|
+
'lastActivity.timestamp': number;
|
61
|
+
isSelected: boolean;
|
62
|
+
colorUnread?: string;
|
63
|
+
}
|
64
|
+
export interface IChatItem {
|
65
|
+
chatId: number;
|
66
|
+
name: string;
|
67
|
+
avatar?: string;
|
68
|
+
countUnread: number;
|
69
|
+
lastMessage: string;
|
70
|
+
'lastActivity.time': string;
|
71
|
+
'lastActivity.timestamp': string;
|
72
|
+
isFixedBottom: boolean;
|
73
|
+
isFixedTop?: boolean;
|
74
|
+
status: string;
|
75
|
+
'lastMessage.status': string;
|
76
|
+
actions?: IAction[];
|
77
|
+
typing: boolean;
|
78
|
+
metadata: string;
|
79
|
+
dialogsExpanded: boolean;
|
80
|
+
dialogs?: IChatDialog[];
|
81
|
+
isSelected: boolean;
|
82
|
+
}
|
package/dist/vuessages.es.js
CHANGED
@@ -1,67 +1,70 @@
|
|
1
|
-
import {
|
1
|
+
import { Z as t, A as o, O as r, X as n, B as l, l as d, m as i, n as u, o as c, p as C, q as h, r as m, i as p, C as F, c as S, d as B, s as M, a0 as A, h as y, t as P, u as T, G as b, H as g, I, J as L, Y as W, j as v, F as x, e as f, v as k, $ as w, f as E, w as R, x as U, P as j, L as K, a1 as Q, g as V, M as D, a as N, b as O, Q as q, N as z, K as G, S as H, R as J, k as X, y as Y, T as Z, U as $, V as _, W as aa, z as ea, D as sa, E as ta, a2 as oa, a4 as ra, a5 as na, a3 as la, a6 as da, a7 as ia, a8 as ua, a9 as ca, ac as Ca, aa as ha, ab as ma } from "./index-DRZepRE6.js";
|
2
|
+
import "vue";
|
2
3
|
export {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
4
|
+
t as AdaptiveExtendedLayout,
|
5
|
+
o as AudioRecorder,
|
6
|
+
r as BaseContainer,
|
7
|
+
n as BaseLayout,
|
8
|
+
l as ButtonCommandsSelector,
|
9
|
+
d as ButtonContextMenu,
|
10
|
+
i as ButtonEmojiPicker,
|
11
|
+
u as ButtonTemplateSelector,
|
12
|
+
c as ButtonWabaTemplateSelector,
|
13
|
+
C as ChannelSelector,
|
14
|
+
h as ChatFilter,
|
15
|
+
m as ChatInfo,
|
15
16
|
p as ChatInput,
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
F as ChatItem,
|
18
|
+
S as ChatList,
|
19
|
+
B as ChatPanel,
|
20
|
+
M as ChatTabs,
|
21
|
+
A as ChatWrapper,
|
21
22
|
y as CommunicationPanel,
|
22
|
-
|
23
|
+
P as ContactInfo,
|
23
24
|
T as ContextMenu,
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
x as
|
31
|
-
|
32
|
-
k as
|
33
|
-
|
34
|
-
E as
|
35
|
-
R as
|
36
|
-
U as
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
25
|
+
b as CreateChat,
|
26
|
+
g as CreateChat2,
|
27
|
+
I as CreateDialog,
|
28
|
+
L as EmbedPreview,
|
29
|
+
W as ExtendedLayout,
|
30
|
+
v as Feed,
|
31
|
+
x as FeedFoundItem,
|
32
|
+
f as FeedFoundObjects,
|
33
|
+
k as FeedKeyboard,
|
34
|
+
w as FeedLayout,
|
35
|
+
E as FeedSearch,
|
36
|
+
R as FilePreview,
|
37
|
+
U as FileUploader,
|
38
|
+
j as FloatContainer,
|
39
|
+
K as LinkPreview,
|
40
|
+
Q as MenuIcon,
|
41
|
+
V as MessageKeyboard,
|
42
|
+
D as Modal,
|
43
|
+
N as ModalFullscreen,
|
44
|
+
O as ModalNoFooter,
|
45
|
+
q as PlaceholderComponent,
|
46
|
+
z as SelectUser,
|
47
|
+
G as SelectUser2,
|
48
|
+
H as SideBar,
|
49
|
+
J as SplashScreen,
|
50
|
+
X as TemplateSelector,
|
51
|
+
Y as ThemeMode,
|
52
|
+
Z as Tooltip,
|
53
|
+
$ as UserProfile,
|
54
|
+
_ as VideoRecorder,
|
55
|
+
aa as WABAAttachmentSection,
|
56
|
+
ea as WABAQuickReplyButtons,
|
57
|
+
sa as WABASeparatedQuickButtons,
|
58
|
+
ta as WABATemplateSelector,
|
59
|
+
oa as generatePreview,
|
60
|
+
ra as getStatus,
|
61
|
+
na as getTypeFileByMime,
|
62
|
+
la as statuses,
|
63
|
+
da as throttle,
|
64
|
+
ia as uploadFile,
|
65
|
+
ua as useMessage,
|
66
|
+
ca as useModal,
|
67
|
+
Ca as useModalVideoRecorder,
|
68
|
+
ha as useSearchModel,
|
69
|
+
ma as useTheme
|
67
70
|
};
|