@mobilon-dev/chotto 0.3.42 → 0.3.43

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 (28) hide show
  1. package/dist/chotto.css +1 -1
  2. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue.js +3 -3
  3. package/dist/components/2_feed_elements/FileMessage/FileMessage.vue2.js +99 -89
  4. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.js +7 -0
  5. package/dist/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue2.js +64 -0
  6. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue.js +1 -1
  7. package/dist/components/2_feed_elements/TextMessage/TextMessage.vue2.js +74 -64
  8. package/dist/components/3_compounds/Feed/Feed.vue.js +2 -2
  9. package/dist/components/3_compounds/Feed/Feed.vue2.js +134 -128
  10. package/dist/locale/en.js +2 -1
  11. package/dist/locale/ru.js +2 -1
  12. package/dist/themes/dark.css +1 -1
  13. package/dist/themes/default.css +1 -1
  14. package/dist/themes/glass.css +1 -1
  15. package/dist/themes/green.css +1 -1
  16. package/dist/themes/mobilon1.css +1 -1
  17. package/dist/types/apps/data/messages.d.ts +135 -7
  18. package/dist/types/components/2_feed_elements/FileMessage/FileMessage.vue.d.ts +2 -0
  19. package/dist/types/components/2_feed_elements/FileMessage/styles/types.d.ts +2 -0
  20. package/dist/types/components/2_feed_elements/MessageSmsInvite/MessageSmsInvite.vue.d.ts +11 -0
  21. package/dist/types/components/2_feed_elements/MessageSmsInvite/styles/types.d.ts +49 -0
  22. package/dist/types/components/2_feed_elements/TextMessage/TextMessage.vue.d.ts +2 -0
  23. package/dist/types/components/2_feed_elements/types/messages.d.ts +12 -0
  24. package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +4 -2
  25. package/dist/types/hooks/validators/messages/types.d.ts +1 -0
  26. package/dist/types/locale/en.d.ts +1 -0
  27. package/dist/types/locale/ru.d.ts +1 -0
  28. package/package.json +1 -1
@@ -89,6 +89,7 @@ export interface IAudioMessage {
89
89
  keyboard?: IKeyBoard[];
90
90
  reactions?: MessageReactions;
91
91
  backgroundColor?: string;
92
+ hasMessengerAccount?: boolean;
92
93
  }
93
94
  export interface ICallMessage {
94
95
  messageId: string;
@@ -114,10 +115,12 @@ export interface ICallMessage {
114
115
  };
115
116
  reactions?: MessageReactions;
116
117
  backgroundColor?: string;
118
+ hasMessengerAccount?: boolean;
117
119
  }
118
120
  export interface IDateMessage {
119
121
  messageId?: string;
120
122
  text: string;
123
+ hasMessengerAccount?: boolean;
121
124
  }
122
125
  export interface IFileMessage {
123
126
  messageId: string;
@@ -140,6 +143,7 @@ export interface IFileMessage {
140
143
  reactions?: MessageReactions;
141
144
  direction?: string;
142
145
  backgroundColor?: string;
146
+ hasMessengerAccount?: boolean;
143
147
  }
144
148
  export interface IImageMessage {
145
149
  messageId: string;
@@ -161,14 +165,17 @@ export interface IImageMessage {
161
165
  keyboard?: IKeyBoard[];
162
166
  reactions?: MessageReactions;
163
167
  backgroundColor?: string;
168
+ hasMessengerAccount?: boolean;
164
169
  }
165
170
  export interface ISystemMessage {
166
171
  messageId: string;
167
172
  text: string;
173
+ hasMessengerAccount?: boolean;
168
174
  }
169
175
  export interface IDelimiterMessage {
170
176
  messageId: string;
171
177
  text: string;
178
+ hasMessengerAccount?: boolean;
172
179
  }
173
180
  export interface ITextMessage {
174
181
  messageId: string;
@@ -188,10 +195,12 @@ export interface ITextMessage {
188
195
  keyboard?: IKeyBoard[];
189
196
  reactions?: MessageReactions;
190
197
  backgroundColor?: string;
198
+ hasMessengerAccount?: boolean;
191
199
  }
192
200
  export interface ITypingMessage {
193
201
  avatar?: string;
194
202
  subText?: string;
203
+ hasMessengerAccount?: boolean;
195
204
  }
196
205
  export interface IVideoMessage {
197
206
  messageId: string;
@@ -213,6 +222,7 @@ export interface IVideoMessage {
213
222
  keyboard?: IKeyBoard[];
214
223
  reactions?: MessageReactions;
215
224
  backgroundColor?: string;
225
+ hasMessengerAccount?: boolean;
216
226
  }
217
227
  export interface IStickerMessage {
218
228
  messageId: string;
@@ -235,6 +245,7 @@ export interface IStickerMessage {
235
245
  keyboard?: IKeyBoard[];
236
246
  reactions?: MessageReactions;
237
247
  backgroundColor?: string;
248
+ hasMessengerAccount?: boolean;
238
249
  }
239
250
  export interface IMissedCallMessage {
240
251
  messageId: string;
@@ -245,4 +256,5 @@ export interface IMissedCallMessage {
245
256
  subText?: string;
246
257
  actions?: IAction[];
247
258
  backgroundColor?: string;
259
+ hasMessengerAccount?: boolean;
248
260
  }
@@ -1,7 +1,7 @@
1
1
  import { IFeedObject, IFeedTyping, IFeedUnreadButton, IFeedKeyboard } from '@/types';
2
- declare var __VLS_44: {};
2
+ declare var __VLS_45: {};
3
3
  type __VLS_Slots = {} & {
4
- 'empty-feed'?: (props: typeof __VLS_44) => any;
4
+ 'empty-feed'?: (props: typeof __VLS_45) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
7
  objects: {
@@ -80,6 +80,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
80
80
  };
81
81
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
82
82
  loadMore: (...args: any[]) => void;
83
+ smsInvite: (...args: any[]) => void;
83
84
  keyboardAction: (...args: any[]) => void;
84
85
  feedAction: (...args: any[]) => void;
85
86
  loadMoreDown: (...args: any[]) => void;
@@ -164,6 +165,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
164
165
  };
165
166
  }>> & Readonly<{
166
167
  onLoadMore?: ((...args: any[]) => any) | undefined;
168
+ onSmsInvite?: ((...args: any[]) => any) | undefined;
167
169
  onKeyboardAction?: ((...args: any[]) => any) | undefined;
168
170
  onFeedAction?: ((...args: any[]) => any) | undefined;
169
171
  onLoadMoreDown?: ((...args: any[]) => any) | undefined;
@@ -63,5 +63,6 @@ export interface Message {
63
63
  keyboard?: MessageKeyboardButton[];
64
64
  callDuration?: string;
65
65
  isMissedCall?: boolean;
66
+ hasMessengerAccount?: boolean;
66
67
  }
67
68
  export type MessageList = Message[];
@@ -20,4 +20,5 @@ export const en: {
20
20
  'component.TextFormatToolbar.Strikethrough': string;
21
21
  'component.TextFormatToolbar.Code': string;
22
22
  'component.TextFormatToolbar.Quote': string;
23
+ 'component.TextMessage.sendSmsInvite': string;
23
24
  };
@@ -20,4 +20,5 @@ export const ru: {
20
20
  'component.TextFormatToolbar.Strikethrough': string;
21
21
  'component.TextFormatToolbar.Code': string;
22
22
  'component.TextFormatToolbar.Quote': string;
23
+ 'component.TextMessage.sendSmsInvite': string;
23
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobilon-dev/chotto",
3
- "version": "0.3.42",
3
+ "version": "0.3.43",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",