@weni/unnnic-system 3.1.4-alpha.2 → 3.1.4-alpha.3
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 +1 -1
- package/dist/components/ChatsMessage/ChatsMessage.vue.d.ts +60 -3
- package/dist/components/ChatsMessage/ChatsMessage.vue.d.ts.map +1 -1
- package/dist/components/ChatsMessage/ChatsMessageText.vue.d.ts +42 -3
- package/dist/components/ChatsMessage/ChatsMessageText.vue.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.vue.d.ts.map +1 -1
- package/dist/{es-95712fb0.mjs → es-c9f02312.mjs} +1 -1
- package/dist/{index-91fded8c.mjs → index-1caa0110.mjs} +15181 -7599
- package/dist/locales/en.json.d.ts +1 -0
- package/dist/locales/es.json.d.ts +1 -0
- package/dist/locales/pt_br.json.d.ts +1 -0
- package/dist/{pt-br-4557467c.mjs → pt-br-d6d372a9.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +41 -41
- package/package.json +1 -1
- package/src/components/ChatsMessage/ChatsMessage.vue +15 -0
- package/src/components/ChatsMessage/ChatsMessageText.vue +58 -4
- package/src/components/EmojiPicker/EmojiPicker.vue +8 -3
- package/src/components/EmojiPicker/__tests__/EmojiPicker.spec.js +7 -5
- package/src/locales/en.json +1 -0
- package/src/locales/es.json +1 -0
- package/src/locales/pt_br.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
# 3.1.4 (2025-09-
|
|
9
|
+
# 3.1.4 (2025-09-05)
|
|
10
10
|
|
|
11
11
|
- **EmojiPicker Refactoring**: Complete modernization of EmojiPicker component:
|
|
12
12
|
- **Security Enhancement**: Local emoji sprite sheets to eliminate external CDN requests (CORS/CSP compliance)
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
locale: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
2
6
|
enableReply: {
|
|
3
7
|
type: BooleanConstructor;
|
|
4
8
|
default: boolean;
|
|
@@ -12,6 +16,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
12
16
|
default: string;
|
|
13
17
|
validate(type: any): boolean;
|
|
14
18
|
};
|
|
19
|
+
automatic: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
15
23
|
time: {
|
|
16
24
|
type: DateConstructor;
|
|
17
25
|
required: true;
|
|
@@ -73,6 +81,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
73
81
|
i18n(...args: any[]): any;
|
|
74
82
|
};
|
|
75
83
|
}, import('vue').ComponentOptionsMixin, ("click" | "click-image" | "reply" | "click-reply-message")[], "click" | "click-image" | "reply" | "click-reply-message", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
84
|
+
locale: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
76
88
|
enableReply: {
|
|
77
89
|
type: BooleanConstructor;
|
|
78
90
|
default: boolean;
|
|
@@ -86,6 +98,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
86
98
|
default: string;
|
|
87
99
|
validate(type: any): boolean;
|
|
88
100
|
};
|
|
101
|
+
automatic: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
89
105
|
time: {
|
|
90
106
|
type: DateConstructor;
|
|
91
107
|
required: true;
|
|
@@ -115,7 +131,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
115
131
|
"onClick-reply-message"?: ((...args: any[]) => any) | undefined;
|
|
116
132
|
}>, {
|
|
117
133
|
type: string;
|
|
134
|
+
locale: string;
|
|
118
135
|
status: string;
|
|
136
|
+
automatic: boolean;
|
|
119
137
|
replyMessage: Record<string, any> | null;
|
|
120
138
|
enableReply: boolean;
|
|
121
139
|
signature: string;
|
|
@@ -123,18 +141,57 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
123
141
|
mediaType: string;
|
|
124
142
|
}, {}, {
|
|
125
143
|
UnnnicChatsMessageText: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
144
|
+
locale: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
126
148
|
text: {
|
|
127
149
|
type: StringConstructor;
|
|
128
150
|
required: true;
|
|
129
151
|
};
|
|
130
|
-
|
|
152
|
+
isAutomatic: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
}>, {}, {
|
|
157
|
+
defaultTranslations: {
|
|
158
|
+
automatic_message: {
|
|
159
|
+
'pt-br': string;
|
|
160
|
+
en: string;
|
|
161
|
+
es: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
}, {
|
|
131
165
|
formattedText(): any;
|
|
132
|
-
}, {},
|
|
166
|
+
}, {}, {
|
|
167
|
+
props: {
|
|
168
|
+
locale: {
|
|
169
|
+
type: StringConstructor;
|
|
170
|
+
};
|
|
171
|
+
translations: {
|
|
172
|
+
type: ObjectConstructor;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
methods: {
|
|
176
|
+
i18n(...args: any[]): any;
|
|
177
|
+
};
|
|
178
|
+
}, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
179
|
+
locale: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
133
183
|
text: {
|
|
134
184
|
type: StringConstructor;
|
|
135
185
|
required: true;
|
|
136
186
|
};
|
|
137
|
-
|
|
187
|
+
isAutomatic: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
}>> & Readonly<{}>, {
|
|
192
|
+
locale: string;
|
|
193
|
+
isAutomatic: boolean;
|
|
194
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
138
195
|
UnnnicChatsMessageStatusBackdrop: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
139
196
|
status: {
|
|
140
197
|
type: StringConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatsMessage.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ChatsMessage/ChatsMessage.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatsMessage.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ChatsMessage/ChatsMessage.vue"],"names":[],"mappings":"AA2IA;"}
|
|
@@ -1,15 +1,54 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
locale: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
2
6
|
text: {
|
|
3
7
|
type: StringConstructor;
|
|
4
8
|
required: true;
|
|
5
9
|
};
|
|
6
|
-
|
|
10
|
+
isAutomatic: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {
|
|
15
|
+
defaultTranslations: {
|
|
16
|
+
automatic_message: {
|
|
17
|
+
'pt-br': string;
|
|
18
|
+
en: string;
|
|
19
|
+
es: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
7
23
|
formattedText(): any;
|
|
8
|
-
}, {},
|
|
24
|
+
}, {}, {
|
|
25
|
+
props: {
|
|
26
|
+
locale: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
};
|
|
29
|
+
translations: {
|
|
30
|
+
type: ObjectConstructor;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
methods: {
|
|
34
|
+
i18n(...args: any[]): any;
|
|
35
|
+
};
|
|
36
|
+
}, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
locale: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
9
41
|
text: {
|
|
10
42
|
type: StringConstructor;
|
|
11
43
|
required: true;
|
|
12
44
|
};
|
|
13
|
-
|
|
45
|
+
isAutomatic: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
locale: string;
|
|
51
|
+
isAutomatic: boolean;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
53
|
export default _default;
|
|
15
54
|
//# sourceMappingURL=ChatsMessageText.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatsMessageText.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ChatsMessage/ChatsMessageText.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatsMessageText.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ChatsMessage/ChatsMessageText.vue"],"names":[],"mappings":"AAWA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmojiPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EmojiPicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/EmojiPicker.vue"],"names":[],"mappings":"AAyBA;AA4MA,OAAO,wCAAwC,CAAA;AAY/C,MAAM,WAAW,KAAK;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;;;;;;;;YADU,MAAM;cADJ,KAAK,GAAG,QAAQ;gBADd,OAAO;;;;AAwLtB,wBAUG"}
|