@mobilon-dev/chotto 0.3.23 → 0.3.24

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 (22) hide show
  1. package/dist/{CreateChat-CdkAwYO5.js → CreateChat-DqPybXXn.js} +1 -1
  2. package/dist/{CreateChat2-sDETTpTU.js → CreateChat2-Bxs28ww_.js} +1 -1
  3. package/dist/{CreateDialog-Bw8bOym2.js → CreateDialog-IJDv_iIh.js} +1 -1
  4. package/dist/{ModalVideoRecorder-BP9FfPE8.js → ModalVideoRecorder-OOD5jytP.js} +1 -1
  5. package/dist/{SelectUser2-BAKccRXs.js → SelectUser2-D9B0H77q.js} +1 -1
  6. package/dist/chotto.css +1 -1
  7. package/dist/{index-4foc416D.js → index-as74SdsT.js} +902 -863
  8. package/dist/types/apps/stories/BasicChatExample.stories.d.ts +5 -0
  9. package/dist/types/components/2_feed_elements/AudioMessage/AudioMessage.vue.d.ts +9 -0
  10. package/dist/types/components/2_feed_elements/FileMessage/FileMessage.vue.d.ts +9 -0
  11. package/dist/types/components/2_feed_elements/ImageMessage/ImageMessage.vue.d.ts +9 -0
  12. package/dist/types/components/2_feed_elements/MessageReactions/MessageReactions.vue.d.ts +9 -0
  13. package/dist/types/components/2_feed_elements/MessageReactions/stories/MessageReactions.stories.d.ts +15 -0
  14. package/dist/types/components/2_feed_elements/StickerMessage/StickerMessage.vue.d.ts +9 -0
  15. package/dist/types/components/2_feed_elements/TextMessage/TextMessage.vue.d.ts +9 -0
  16. package/dist/types/components/2_feed_elements/TextMessage/stories/TextMessage.stories.d.ts +5 -39
  17. package/dist/types/components/2_feed_elements/VideoMessage/VideoMessage.vue.d.ts +9 -0
  18. package/dist/types/components/3_compounds/Feed/Feed.vue.d.ts +9 -0
  19. package/dist/types/components/3_compounds/Feed/stories/Feed.stories.d.ts +0 -1
  20. package/dist/vuessages.es.js +1 -1
  21. package/dist/vuessages.umd.js +20 -20
  22. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const BasicExample: Story;
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
+ reactionsEnabled: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
15
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
20
  reply: (...args: any[]) => void;
17
21
  action: (...args: any[]) => void;
@@ -28,11 +32,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
32
  type: BooleanConstructor;
29
33
  default: boolean;
30
34
  };
35
+ reactionsEnabled: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
31
39
  }>> & Readonly<{
32
40
  onReply?: ((...args: any[]) => any) | undefined;
33
41
  onAction?: ((...args: any[]) => any) | undefined;
34
42
  }>, {
35
43
  applyStyle: Function;
36
44
  isFirstInSeries: boolean;
45
+ reactionsEnabled: boolean;
37
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
47
  export default _default;
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
+ reactionsEnabled: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
15
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
20
  reply: (...args: any[]) => void;
17
21
  action: (...args: any[]) => void;
@@ -28,11 +32,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
32
  type: BooleanConstructor;
29
33
  default: boolean;
30
34
  };
35
+ reactionsEnabled: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
31
39
  }>> & Readonly<{
32
40
  onReply?: ((...args: any[]) => any) | undefined;
33
41
  onAction?: ((...args: any[]) => any) | undefined;
34
42
  }>, {
35
43
  applyStyle: Function;
36
44
  isFirstInSeries: boolean;
45
+ reactionsEnabled: boolean;
37
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
47
  export default _default;
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
+ reactionsEnabled: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
15
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
20
  reply: (...args: any[]) => void;
17
21
  action: (...args: any[]) => void;
@@ -28,11 +32,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
32
  type: BooleanConstructor;
29
33
  default: boolean;
30
34
  };
35
+ reactionsEnabled: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
31
39
  }>> & Readonly<{
32
40
  onReply?: ((...args: any[]) => any) | undefined;
33
41
  onAction?: ((...args: any[]) => any) | undefined;
34
42
  }>, {
35
43
  applyStyle: Function;
36
44
  isFirstInSeries: boolean;
45
+ reactionsEnabled: boolean;
37
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
47
  export default _default;
@@ -14,6 +14,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
14
14
  type: BooleanConstructor;
15
15
  default: boolean;
16
16
  };
17
+ enabled: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
17
21
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
22
  "toggle-reaction": (payload: {
19
23
  messageId: string | number;
@@ -41,6 +45,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
41
45
  type: BooleanConstructor;
42
46
  default: boolean;
43
47
  };
48
+ enabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
44
52
  }>> & Readonly<{
45
53
  "onToggle-reaction"?: ((payload: {
46
54
  messageId: string | number;
@@ -57,5 +65,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
57
65
  }>, {
58
66
  reactions: MessageReactions | undefined;
59
67
  readonly: boolean;
68
+ enabled: boolean;
60
69
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
70
  export default _default;
@@ -1,5 +1,10 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3-vite';
2
2
  import TextMessage from '../../TextMessage/TextMessage.vue';
3
+ import ImageMessage from '../../ImageMessage/ImageMessage.vue';
4
+ import AudioMessage from '../../AudioMessage/AudioMessage.vue';
5
+ import VideoMessage from '../../VideoMessage/VideoMessage.vue';
6
+ import FileMessage from '../../FileMessage/FileMessage.vue';
7
+ import StickerMessage from '../../StickerMessage/StickerMessage.vue';
3
8
  declare const meta: Meta<typeof TextMessage>;
4
9
  export default meta;
5
10
  type Story = StoryObj<typeof TextMessage>;
@@ -14,3 +19,13 @@ export declare const RightMessageMultipleReactions: Story;
14
19
  export declare const RightMessageNoReactions: Story;
15
20
  export declare const AllReactionsActive: Story;
16
21
  export declare const LargeCountReactions: Story;
22
+ export declare const ImageMessageWithReactions: StoryObj<typeof ImageMessage>;
23
+ export declare const ImageMessageRightWithReactions: StoryObj<typeof ImageMessage>;
24
+ export declare const AudioMessageWithReactions: StoryObj<typeof AudioMessage>;
25
+ export declare const AudioMessageRightWithReactions: StoryObj<typeof AudioMessage>;
26
+ export declare const VideoMessageWithReactions: StoryObj<typeof VideoMessage>;
27
+ export declare const VideoMessageRightWithReactions: StoryObj<typeof VideoMessage>;
28
+ export declare const FileMessageWithReactions: StoryObj<typeof FileMessage>;
29
+ export declare const FileMessageRightWithReactions: StoryObj<typeof FileMessage>;
30
+ export declare const StickerMessageWithReactions: StoryObj<typeof StickerMessage>;
31
+ export declare const StickerMessageRightWithReactions: StoryObj<typeof StickerMessage>;
@@ -15,6 +15,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
15
15
  type: BooleanConstructor;
16
16
  default: boolean;
17
17
  };
18
+ reactionsEnabled: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
18
22
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
23
  reply: (...args: any[]) => void;
20
24
  action: (...args: any[]) => void;
@@ -31,11 +35,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
31
35
  type: BooleanConstructor;
32
36
  default: boolean;
33
37
  };
38
+ reactionsEnabled: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
34
42
  }>> & Readonly<{
35
43
  onReply?: ((...args: any[]) => any) | undefined;
36
44
  onAction?: ((...args: any[]) => any) | undefined;
37
45
  }>, {
38
46
  applyStyle: Function;
39
47
  isFirstInSeries: boolean;
48
+ reactionsEnabled: boolean;
40
49
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
50
  export default _default;
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
+ reactionsEnabled: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
15
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
20
  reply: (...args: any[]) => void;
17
21
  action: (...args: any[]) => void;
@@ -28,11 +32,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
32
  type: BooleanConstructor;
29
33
  default: boolean;
30
34
  };
35
+ reactionsEnabled: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
31
39
  }>> & Readonly<{
32
40
  onReply?: ((...args: any[]) => any) | undefined;
33
41
  onAction?: ((...args: any[]) => any) | undefined;
34
42
  }>, {
35
43
  applyStyle: Function;
36
44
  isFirstInSeries: boolean;
45
+ reactionsEnabled: boolean;
37
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
47
  export default _default;
@@ -4,44 +4,10 @@ declare const meta: Meta<typeof TextMessage>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof TextMessage>;
6
6
  export declare const Default: Story;
7
- export declare const LeftMessage: Story;
8
- export declare const LeftMessageWithViews: Story;
9
- export declare const LeftMessageLongText: Story;
10
- export declare const LeftMessageWithSubtext: Story;
11
- export declare const LeftMessageWithoutTime: Story;
12
- export declare const LeftMessageWithActions: Story;
13
- export declare const LeftMessageWithAvatar: Story;
14
- export declare const LeftMessageWithLongTime: Story;
15
- export declare const RightMessage: Story;
16
- export declare const RightMessageWithViews: Story;
17
- export declare const RightMessageLongText: Story;
18
- export declare const RightMessageWithSubtext: Story;
19
- export declare const RightMessageWithoutTime: Story;
20
- export declare const RightMessageStatusSent: Story;
21
- export declare const RightMessageStatusReceived: Story;
22
- export declare const RightMessageStatusRead: Story;
23
- export declare const RightMessageStatusPending: Story;
24
- export declare const RightMessageStatusError: Story;
25
- export declare const RightMessageWithActions: Story;
26
- export declare const RightMessageWithAvatar: Story;
27
- export declare const RightMessageWithLongTime: Story;
7
+ export declare const LeftMessages: Story;
8
+ export declare const RightMessages: Story;
28
9
  export declare const LeftMessageMax: Story;
29
10
  export declare const RightMessageMax: Story;
30
- export declare const LeftMessageWithLink: Story;
31
- export declare const RightMessageWithLink: Story;
32
- export declare const LeftMessageWithReplyText: Story;
33
- export declare const RightMessageWithReplyText: Story;
34
- export declare const LeftMessageWithReplyImage: Story;
35
- export declare const RightMessageWithReplyImage: Story;
36
- export declare const LeftMessageWithReplyVideo: Story;
37
- export declare const RightMessageWithReplyVideo: Story;
38
- export declare const LeftMessageWithReplyFile: Story;
39
- export declare const RightMessageWithReplyFile: Story;
40
- export declare const LeftMessageWithReplyAudio: Story;
41
- export declare const RightMessageWithReplyAudio: Story;
42
- export declare const LeftMessageWithReplyCall: Story;
43
- export declare const RightMessageWithReplyCall: Story;
44
- export declare const LeftMessageWithPreviewLink: Story;
45
- export declare const RightMessageWithPreviewLink: Story;
46
- export declare const LeftMessageWithEmbed: Story;
47
- export declare const RightMessageWithEmbed: Story;
11
+ export declare const MessagesWithLinks: Story;
12
+ export declare const MessagesWithReply: Story;
13
+ export declare const MessagesWithPreviewAndEmbed: Story;
@@ -12,6 +12,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  type: BooleanConstructor;
13
13
  default: boolean;
14
14
  };
15
+ reactionsEnabled: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
15
19
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
20
  reply: (...args: any[]) => void;
17
21
  action: (...args: any[]) => void;
@@ -28,11 +32,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
32
  type: BooleanConstructor;
29
33
  default: boolean;
30
34
  };
35
+ reactionsEnabled: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
31
39
  }>> & Readonly<{
32
40
  onReply?: ((...args: any[]) => any) | undefined;
33
41
  onAction?: ((...args: any[]) => any) | undefined;
34
42
  }>, {
35
43
  applyStyle: Function;
36
44
  isFirstInSeries: boolean;
45
+ reactionsEnabled: boolean;
37
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
47
  export default _default;
@@ -69,6 +69,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
69
69
  type: BooleanConstructor;
70
70
  default: boolean;
71
71
  };
72
+ reactionsEnabled: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
72
76
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
73
77
  loadMore: (...args: any[]) => void;
74
78
  keyboardAction: (...args: any[]) => void;
@@ -144,6 +148,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
144
148
  type: BooleanConstructor;
145
149
  default: boolean;
146
150
  };
151
+ reactionsEnabled: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
147
155
  }>> & Readonly<{
148
156
  onLoadMore?: ((...args: any[]) => any) | undefined;
149
157
  onKeyboardAction?: ((...args: any[]) => any) | undefined;
@@ -157,6 +165,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
157
165
  typing: boolean | IFeedTyping;
158
166
  chatBackground: string;
159
167
  applyStyle: Function;
168
+ reactionsEnabled: boolean;
160
169
  enableDoubleClickReply: boolean;
161
170
  buttonParams: IFeedUnreadButton;
162
171
  scrollToBottom: boolean;
@@ -4,7 +4,6 @@ declare const meta: Meta<typeof Feed>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Feed>;
6
6
  export declare const Primary: Story;
7
- export declare const WithDates: Story;
8
7
  export declare const WithButtonUnread: Story;
9
8
  export declare const PrimaryTyping: Story;
10
9
  export declare const PrimaryTypingWithAvatarAndTitle: Story;
@@ -1,4 +1,4 @@
1
- import { al as s, H as t, w as o, A as l, ao as i, aj as n, I as r, i as d, B as u, j as c, k as M, l as g, J as p, x as C, t as m, y as S, af as y, u as h, ag as R, z as B, v as F, an as I, a as A, b as T, f as b, c as V, D as f, C as k, K as v, N as P, E as D, ak as x, ah as L, F as W, g as w, O as E, am as U, h as j, Q as K, m as N, n as Q, ap as H, R as O, L as q, M as z, X as G, Y as J, ab as X, ac as Y, ad as Z, P as $, $ as _, a0 as aa, a1 as ea, a2 as sa, a3 as ta, a4 as oa, a5 as la, S as ia, ae as na, d as ra, ai as da, a6 as ua, Z as ca, a7 as Ma, e as ga, o as pa, a8 as Ca, G as ma, T as Sa, a9 as ya, U as ha, aa as Ra, V as Ba, p as Fa, q as Ia, r as Aa, s as Ta, W as ba, aX as Va, aS as fa, aq as ka, aW as va, aH as Pa, aK as Da, aQ as xa, aR as La, ar as Wa, aE as wa, aU as Ea, aT as Ua, aV as ja, aP as Ka, as as Na, aF as Qa, at as Ha, au as Oa, aN as qa, av as za, aO as Ga, aI as Ja, ay as Xa, az as Ya, aA as Za, aB as $a, aC as _a, aw as ae, aL as ee, ax as se, aM as te, aD as oe, aG as le, aJ as ie } from "./index-4foc416D.js";
1
+ import { al as s, H as t, w as o, A as l, ao as i, aj as n, I as r, i as d, B as u, j as c, k as M, l as g, J as p, x as C, t as m, y as S, af as y, u as h, ag as R, z as B, v as F, an as I, a as A, b as T, f as b, c as V, D as f, C as k, K as v, N as P, E as D, ak as x, ah as L, F as W, g as w, O as E, am as U, h as j, Q as K, m as N, n as Q, ap as H, R as O, L as q, M as z, X as G, Y as J, ab as X, ac as Y, ad as Z, P as $, $ as _, a0 as aa, a1 as ea, a2 as sa, a3 as ta, a4 as oa, a5 as la, S as ia, ae as na, d as ra, ai as da, a6 as ua, Z as ca, a7 as Ma, e as ga, o as pa, a8 as Ca, G as ma, T as Sa, a9 as ya, U as ha, aa as Ra, V as Ba, p as Fa, q as Ia, r as Aa, s as Ta, W as ba, aX as Va, aS as fa, aq as ka, aW as va, aH as Pa, aK as Da, aQ as xa, aR as La, ar as Wa, aE as wa, aU as Ea, aT as Ua, aV as ja, aP as Ka, as as Na, aF as Qa, at as Ha, au as Oa, aN as qa, av as za, aO as Ga, aI as Ja, ay as Xa, az as Ya, aA as Za, aB as $a, aC as _a, aw as ae, aL as ee, ax as se, aM as te, aD as oe, aG as le, aJ as ie } from "./index-as74SdsT.js";
2
2
  export {
3
3
  s as AdaptiveExtendedLayout,
4
4
  t as AudioMessage,