@developer_tribe/react-native-comnyx 0.3.6 → 0.3.8
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/lib/commonjs/assets/arrow-right.png +0 -0
- package/lib/commonjs/assets/down.png +0 -0
- package/lib/commonjs/assets/info-circle.png +0 -0
- package/lib/commonjs/components/ChatList.js +129 -38
- package/lib/commonjs/components/ChatList.js.map +1 -1
- package/lib/commonjs/components/CustomAlert.js +15 -5
- package/lib/commonjs/components/CustomAlert.js.map +1 -1
- package/lib/commonjs/components/CustomerForm.js +12 -10
- package/lib/commonjs/components/CustomerForm.js.map +1 -1
- package/lib/commonjs/components/InitFailed.js +2 -0
- package/lib/commonjs/components/InitFailed.js.map +1 -1
- package/lib/commonjs/components/MessageInput.js +14 -14
- package/lib/commonjs/components/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageItem.js +6 -14
- package/lib/commonjs/components/MessageItem.js.map +1 -1
- package/lib/commonjs/constants/activeOpacity.js +8 -0
- package/lib/commonjs/constants/activeOpacity.js.map +1 -0
- package/lib/commonjs/constants/translations.js +65 -45
- package/lib/commonjs/constants/translations.js.map +1 -1
- package/lib/commonjs/data/fake/messages.js +2 -0
- package/lib/commonjs/data/fake/messages.js.map +1 -1
- package/lib/commonjs/hooks/useThemeColors.js +1 -7
- package/lib/commonjs/hooks/useThemeColors.js.map +1 -1
- package/lib/commonjs/types/Theme.js +4 -2
- package/lib/commonjs/types/Theme.js.map +1 -1
- package/lib/commonjs/utils/date.js +8 -1
- package/lib/commonjs/utils/date.js.map +1 -1
- package/lib/module/assets/arrow-right.png +0 -0
- package/lib/module/assets/down.png +0 -0
- package/lib/module/assets/info-circle.png +0 -0
- package/lib/module/components/ChatList.js +130 -39
- package/lib/module/components/ChatList.js.map +1 -1
- package/lib/module/components/CustomAlert.js +15 -5
- package/lib/module/components/CustomAlert.js.map +1 -1
- package/lib/module/components/CustomerForm.js +12 -10
- package/lib/module/components/CustomerForm.js.map +1 -1
- package/lib/module/components/InitFailed.js +2 -0
- package/lib/module/components/InitFailed.js.map +1 -1
- package/lib/module/components/MessageInput.js +14 -14
- package/lib/module/components/MessageInput.js.map +1 -1
- package/lib/module/components/MessageItem.js +6 -14
- package/lib/module/components/MessageItem.js.map +1 -1
- package/lib/module/constants/activeOpacity.js +4 -0
- package/lib/module/constants/activeOpacity.js.map +1 -0
- package/lib/module/constants/translations.js +65 -45
- package/lib/module/constants/translations.js.map +1 -1
- package/lib/module/data/fake/messages.js +2 -0
- package/lib/module/data/fake/messages.js.map +1 -1
- package/lib/module/hooks/useThemeColors.js +2 -8
- package/lib/module/hooks/useThemeColors.js.map +1 -1
- package/lib/module/types/Theme.js +4 -2
- package/lib/module/types/Theme.js.map +1 -1
- package/lib/module/utils/date.js +8 -1
- package/lib/module/utils/date.js.map +1 -1
- package/lib/typescript/commonjs/src/components/ChatList.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/CustomAlert.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/CustomerForm.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/InitFailed.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/MessageInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/constants/activeOpacity.d.ts +2 -0
- package/lib/typescript/commonjs/src/constants/activeOpacity.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/constants/translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/data/fake/messages.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/useThemeColors.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/Conversation.d.ts +6 -1
- package/lib/typescript/commonjs/src/types/Conversation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/LocalizationKeys.d.ts +2 -0
- package/lib/typescript/commonjs/src/types/LocalizationKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/MessageResponse.d.ts +2 -0
- package/lib/typescript/commonjs/src/types/MessageResponse.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/Theme.d.ts +1 -0
- package/lib/typescript/commonjs/src/types/Theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/date.d.ts.map +1 -1
- package/lib/typescript/module/src/components/ChatList.d.ts.map +1 -1
- package/lib/typescript/module/src/components/CustomAlert.d.ts.map +1 -1
- package/lib/typescript/module/src/components/CustomerForm.d.ts.map +1 -1
- package/lib/typescript/module/src/components/InitFailed.d.ts.map +1 -1
- package/lib/typescript/module/src/components/MessageInput.d.ts.map +1 -1
- package/lib/typescript/module/src/constants/activeOpacity.d.ts +2 -0
- package/lib/typescript/module/src/constants/activeOpacity.d.ts.map +1 -0
- package/lib/typescript/module/src/constants/translations.d.ts.map +1 -1
- package/lib/typescript/module/src/data/fake/messages.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/useThemeColors.d.ts.map +1 -1
- package/lib/typescript/module/src/types/Conversation.d.ts +6 -1
- package/lib/typescript/module/src/types/Conversation.d.ts.map +1 -1
- package/lib/typescript/module/src/types/LocalizationKeys.d.ts +2 -0
- package/lib/typescript/module/src/types/LocalizationKeys.d.ts.map +1 -1
- package/lib/typescript/module/src/types/MessageResponse.d.ts +2 -0
- package/lib/typescript/module/src/types/MessageResponse.d.ts.map +1 -1
- package/lib/typescript/module/src/types/Theme.d.ts +1 -0
- package/lib/typescript/module/src/types/Theme.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/date.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/arrow-right.png +0 -0
- package/src/assets/down.png +0 -0
- package/src/assets/info-circle.png +0 -0
- package/src/components/ChatList.tsx +156 -45
- package/src/components/CustomAlert.tsx +24 -6
- package/src/components/CustomerForm.tsx +12 -9
- package/src/components/InitFailed.tsx +2 -0
- package/src/components/MessageInput.tsx +15 -16
- package/src/components/MessageItem.tsx +4 -12
- package/src/constants/activeOpacity.ts +1 -0
- package/src/constants/translations.ts +70 -44
- package/src/data/fake/messages.ts +2 -0
- package/src/hooks/useThemeColors.ts +2 -7
- package/src/types/Conversation.ts +3 -1
- package/src/types/LocalizationKeys.ts +2 -0
- package/src/types/MessageResponse.ts +2 -0
- package/src/types/Theme.ts +3 -0
- package/src/utils/date.ts +9 -1
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
export const LocalizationList = {
|
|
4
4
|
en: {
|
|
5
|
-
'customer.form.title': '
|
|
6
|
-
'customer.form.
|
|
7
|
-
'customer.form.
|
|
5
|
+
'customer.form.title': 'Hello👋',
|
|
6
|
+
'customer.form.name': 'Your name',
|
|
7
|
+
'customer.form.email': 'Your e-mail address',
|
|
8
|
+
'customer.form.phone': 'Your phone number',
|
|
8
9
|
'customer.form.country': 'Country',
|
|
9
|
-
'customer.form.submit': '
|
|
10
|
+
'customer.form.submit': 'Contact Now',
|
|
10
11
|
'customer.form.error': 'Please fill in all required fields',
|
|
11
12
|
'customer.form.instructions': 'Complete the form below to receive personalized service',
|
|
12
13
|
'customer.form.error.country': 'Country is required',
|
|
@@ -16,7 +17,7 @@ export const LocalizationList = {
|
|
|
16
17
|
'customer.form.placeholder.country': 'Enter your country',
|
|
17
18
|
'customer.form.placeholder.email': 'Enter your email',
|
|
18
19
|
'customer.form.placeholder.phone': 'Enter your phone number',
|
|
19
|
-
'chat.messageInput.placeholder': '
|
|
20
|
+
'chat.messageInput.placeholder': 'Ask me a question...',
|
|
20
21
|
'app.initialization.required': 'Please initialize first',
|
|
21
22
|
'chat.load.error': 'Failed to load messages. Tap to retry',
|
|
22
23
|
'chat.init.error': 'Failed to initialize chat. Tap to retry',
|
|
@@ -31,21 +32,23 @@ export const LocalizationList = {
|
|
|
31
32
|
'chat.support-team': 'Support Team',
|
|
32
33
|
'customer.form.resend': 'Resend',
|
|
33
34
|
'chat.list-failed-message.title': 'Failed to send',
|
|
34
|
-
'chat.list-failed-message.description': "The message couldn't be sent
|
|
35
|
+
'chat.list-failed-message.description': "The message couldn't be sent. Please try again.",
|
|
35
36
|
'chat.list-cancel': 'Cancel',
|
|
36
37
|
'customer.form.failed.name': 'Wrong name',
|
|
37
38
|
'customer.form.failed.name.desc': 'Please fix your name.',
|
|
38
39
|
'customer.form.failed.email': 'Wrong email',
|
|
39
40
|
'customer.form.failed.email.desc': 'Please fix your email.',
|
|
40
41
|
'customer.form.failed.phone': 'Wrong phone number',
|
|
41
|
-
'customer.form.failed.phone.desc': 'Please fix your phone number.'
|
|
42
|
+
'customer.form.failed.phone.desc': 'Please fix your phone number.',
|
|
43
|
+
'customer.form.cancel': 'Close'
|
|
42
44
|
},
|
|
43
45
|
tr: {
|
|
44
|
-
'customer.form.title': '
|
|
46
|
+
'customer.form.title': 'Merhaba👋',
|
|
47
|
+
'customer.form.name': 'Ad',
|
|
45
48
|
'customer.form.email': 'E-posta',
|
|
46
49
|
'customer.form.phone': 'Telefon',
|
|
47
50
|
'customer.form.country': 'Ülke',
|
|
48
|
-
'customer.form.submit': '
|
|
51
|
+
'customer.form.submit': 'Şimdi İletişime Geç',
|
|
49
52
|
'customer.form.error': 'Lütfen tüm zorunlu alanları doldurun',
|
|
50
53
|
'customer.form.instructions': 'Kişiselleştirilmiş hizmet almak için aşağıdaki formu doldurun',
|
|
51
54
|
'customer.form.error.country': 'Ülke alanı zorunludur',
|
|
@@ -55,7 +58,7 @@ export const LocalizationList = {
|
|
|
55
58
|
'customer.form.placeholder.country': 'Ülkenizi girin',
|
|
56
59
|
'customer.form.placeholder.email': 'E-posta adresinizi girin',
|
|
57
60
|
'customer.form.placeholder.phone': 'Telefon numaranızı girin',
|
|
58
|
-
'chat.messageInput.placeholder': '
|
|
61
|
+
'chat.messageInput.placeholder': 'Bana bir soru sorun...',
|
|
59
62
|
'app.initialization.required': 'Lütfen önce başlatın',
|
|
60
63
|
'chat.load.error': 'Mesajlar yüklenemedi. Tekrar denemek için dokunun',
|
|
61
64
|
'chat.init.error': 'Sohbet başlatılamadı. Tekrar denemek için dokunun',
|
|
@@ -77,14 +80,16 @@ export const LocalizationList = {
|
|
|
77
80
|
'customer.form.failed.email': 'Yanlış e-posta',
|
|
78
81
|
'customer.form.failed.email.desc': 'Lütfen e-posta adresinizi düzeltin.',
|
|
79
82
|
'customer.form.failed.phone': 'Yanlış telefon numarası',
|
|
80
|
-
'customer.form.failed.phone.desc': 'Lütfen telefon numaranızı düzeltin.'
|
|
83
|
+
'customer.form.failed.phone.desc': 'Lütfen telefon numaranızı düzeltin.',
|
|
84
|
+
'customer.form.cancel': 'Kapat'
|
|
81
85
|
},
|
|
82
86
|
es: {
|
|
83
|
-
'customer.form.title': '
|
|
87
|
+
'customer.form.title': 'Hola👋',
|
|
88
|
+
'customer.form.name': 'Nombre',
|
|
84
89
|
'customer.form.email': 'Correo Electrónico',
|
|
85
90
|
'customer.form.phone': 'Teléfono',
|
|
86
91
|
'customer.form.country': 'País',
|
|
87
|
-
'customer.form.submit': '
|
|
92
|
+
'customer.form.submit': 'Contactar Ahora',
|
|
88
93
|
'customer.form.error': 'Por favor complete todos los campos requeridos',
|
|
89
94
|
'customer.form.instructions': 'Complete el formulario a continuación para recibir un servicio personalizado',
|
|
90
95
|
'customer.form.error.country': 'El país es requerido',
|
|
@@ -94,7 +99,7 @@ export const LocalizationList = {
|
|
|
94
99
|
'customer.form.placeholder.country': 'Ingrese su país',
|
|
95
100
|
'customer.form.placeholder.email': 'Ingrese su correo electrónico',
|
|
96
101
|
'customer.form.placeholder.phone': 'Ingrese su número de teléfono',
|
|
97
|
-
'chat.messageInput.placeholder': '
|
|
102
|
+
'chat.messageInput.placeholder': 'Hazme una pregunta...',
|
|
98
103
|
'app.initialization.required': 'Por favor inicialice primero',
|
|
99
104
|
'chat.load.error': 'Error al cargar mensajes. Toque para reintentar',
|
|
100
105
|
'chat.init.error': 'Error al inicializar el chat. Toque para reintentar',
|
|
@@ -116,14 +121,16 @@ export const LocalizationList = {
|
|
|
116
121
|
'customer.form.failed.email': 'Correo electrónico incorrecto',
|
|
117
122
|
'customer.form.failed.email.desc': 'Por favor corrija su correo electrónico.',
|
|
118
123
|
'customer.form.failed.phone': 'Número de teléfono incorrecto',
|
|
119
|
-
'customer.form.failed.phone.desc': 'Por favor corrija su número de teléfono.'
|
|
124
|
+
'customer.form.failed.phone.desc': 'Por favor corrija su número de teléfono.',
|
|
125
|
+
'customer.form.cancel': 'Cerrar'
|
|
120
126
|
},
|
|
121
127
|
fr: {
|
|
122
|
-
'customer.form.title': '
|
|
128
|
+
'customer.form.title': 'Bonjour👋',
|
|
129
|
+
'customer.form.name': 'Nom',
|
|
123
130
|
'customer.form.email': 'Email',
|
|
124
131
|
'customer.form.phone': 'Téléphone',
|
|
125
132
|
'customer.form.country': 'Pays',
|
|
126
|
-
'customer.form.submit': '
|
|
133
|
+
'customer.form.submit': 'Contacter Maintenant',
|
|
127
134
|
'customer.form.error': 'Veuillez remplir tous les champs obligatoires',
|
|
128
135
|
'customer.form.instructions': 'Complétez le formulaire ci-dessous pour recevoir un service personnalisé',
|
|
129
136
|
'customer.form.error.country': 'Le pays est requis',
|
|
@@ -133,7 +140,7 @@ export const LocalizationList = {
|
|
|
133
140
|
'customer.form.placeholder.country': 'Entrez votre pays',
|
|
134
141
|
'customer.form.placeholder.email': 'Entrez votre email',
|
|
135
142
|
'customer.form.placeholder.phone': 'Entrez votre numéro de téléphone',
|
|
136
|
-
'chat.messageInput.placeholder': '
|
|
143
|
+
'chat.messageInput.placeholder': 'Posez-moi une question...',
|
|
137
144
|
'app.initialization.required': "Veuillez initialiser d'abord",
|
|
138
145
|
'chat.load.error': 'Échec du chargement des messages. Appuyez pour réessayer',
|
|
139
146
|
'chat.init.error': "Échec de l'initialisation du chat. Appuyez pour réessayer",
|
|
@@ -147,22 +154,24 @@ export const LocalizationList = {
|
|
|
147
154
|
'chat.live': 'Chat en Direct',
|
|
148
155
|
'chat.support-team': 'Équipe de Support',
|
|
149
156
|
'customer.form.resend': 'Renvoyer',
|
|
150
|
-
'chat.list-failed-message.title':
|
|
151
|
-
'chat.list-failed-message.description':
|
|
157
|
+
'chat.list-failed-message.title': "Échec de l'envoi",
|
|
158
|
+
'chat.list-failed-message.description': "Le message n'a pas pu être envoyé. Veuillez réessayer.",
|
|
152
159
|
'chat.list-cancel': 'Annuler',
|
|
153
160
|
'customer.form.failed.name': 'Nom incorrect',
|
|
154
161
|
'customer.form.failed.name.desc': 'Veuillez corriger votre nom.',
|
|
155
162
|
'customer.form.failed.email': 'Email incorrect',
|
|
156
163
|
'customer.form.failed.email.desc': 'Veuillez corriger votre email.',
|
|
157
164
|
'customer.form.failed.phone': 'Numéro de téléphone incorrect',
|
|
158
|
-
'customer.form.failed.phone.desc': 'Veuillez corriger votre numéro de téléphone.'
|
|
165
|
+
'customer.form.failed.phone.desc': 'Veuillez corriger votre numéro de téléphone.',
|
|
166
|
+
'customer.form.cancel': 'Fermer'
|
|
159
167
|
},
|
|
160
168
|
de: {
|
|
161
|
-
'customer.form.title': '
|
|
169
|
+
'customer.form.title': 'Hallo👋',
|
|
170
|
+
'customer.form.name': 'Name',
|
|
162
171
|
'customer.form.email': 'E-Mail',
|
|
163
172
|
'customer.form.phone': 'Telefon',
|
|
164
173
|
'customer.form.country': 'Land',
|
|
165
|
-
'customer.form.submit': '
|
|
174
|
+
'customer.form.submit': 'Jetzt Kontaktieren',
|
|
166
175
|
'customer.form.error': 'Bitte füllen Sie alle erforderlichen Felder aus',
|
|
167
176
|
'customer.form.instructions': 'Füllen Sie das folgende Formular aus, um einen personalisierten Service zu erhalten',
|
|
168
177
|
'customer.form.error.country': 'Land ist erforderlich',
|
|
@@ -172,7 +181,7 @@ export const LocalizationList = {
|
|
|
172
181
|
'customer.form.placeholder.country': 'Geben Sie Ihr Land ein',
|
|
173
182
|
'customer.form.placeholder.email': 'Geben Sie Ihre E-Mail-Adresse ein',
|
|
174
183
|
'customer.form.placeholder.phone': 'Geben Sie Ihre Telefonnummer ein',
|
|
175
|
-
'chat.messageInput.placeholder': '
|
|
184
|
+
'chat.messageInput.placeholder': 'Stellen Sie mir eine Frage...',
|
|
176
185
|
'app.initialization.required': 'Bitte initialisieren Sie zuerst',
|
|
177
186
|
'chat.load.error': 'Nachrichten konnten nicht geladen werden. Tippen Sie zum Wiederholen',
|
|
178
187
|
'chat.init.error': 'Chat konnte nicht initialisiert werden. Tippen Sie zum Wiederholen',
|
|
@@ -194,14 +203,16 @@ export const LocalizationList = {
|
|
|
194
203
|
'customer.form.failed.email': 'Falsche E-Mail',
|
|
195
204
|
'customer.form.failed.email.desc': 'Bitte korrigieren Sie Ihre E-Mail.',
|
|
196
205
|
'customer.form.failed.phone': 'Falsche Telefonnummer',
|
|
197
|
-
'customer.form.failed.phone.desc': 'Bitte korrigieren Sie Ihre Telefonnummer.'
|
|
206
|
+
'customer.form.failed.phone.desc': 'Bitte korrigieren Sie Ihre Telefonnummer.',
|
|
207
|
+
'customer.form.cancel': 'Schließen'
|
|
198
208
|
},
|
|
199
209
|
it: {
|
|
200
|
-
'customer.form.title': '
|
|
210
|
+
'customer.form.title': 'Ciao👋',
|
|
211
|
+
'customer.form.name': 'Nome',
|
|
201
212
|
'customer.form.email': 'Email',
|
|
202
213
|
'customer.form.phone': 'Telefono',
|
|
203
214
|
'customer.form.country': 'Paese',
|
|
204
|
-
'customer.form.submit': '
|
|
215
|
+
'customer.form.submit': 'Contatta Ora',
|
|
205
216
|
'customer.form.error': 'Si prega di compilare tutti i campi obbligatori',
|
|
206
217
|
'customer.form.instructions': 'Completa il modulo sottostante per ricevere un servizio personalizzato',
|
|
207
218
|
'customer.form.error.country': 'Il paese è obbligatorio',
|
|
@@ -211,7 +222,7 @@ export const LocalizationList = {
|
|
|
211
222
|
'customer.form.placeholder.country': 'Inserisci il tuo paese',
|
|
212
223
|
'customer.form.placeholder.email': 'Inserisci la tua email',
|
|
213
224
|
'customer.form.placeholder.phone': 'Inserisci il tuo numero di telefono',
|
|
214
|
-
'chat.messageInput.placeholder': '
|
|
225
|
+
'chat.messageInput.placeholder': 'Fammi una domanda...',
|
|
215
226
|
'app.initialization.required': 'Si prega di inizializzare prima',
|
|
216
227
|
'chat.load.error': 'Impossibile caricare i messaggi. Tocca per riprovare',
|
|
217
228
|
'chat.init.error': 'Impossibile inizializzare la chat. Tocca per riprovare',
|
|
@@ -233,14 +244,16 @@ export const LocalizationList = {
|
|
|
233
244
|
'customer.form.failed.email': 'Email errata',
|
|
234
245
|
'customer.form.failed.email.desc': 'Per favore correggi la tua email.',
|
|
235
246
|
'customer.form.failed.phone': 'Numero di telefono errato',
|
|
236
|
-
'customer.form.failed.phone.desc': 'Per favore correggi il tuo numero di telefono.'
|
|
247
|
+
'customer.form.failed.phone.desc': 'Per favore correggi il tuo numero di telefono.',
|
|
248
|
+
'customer.form.cancel': 'Chiudi'
|
|
237
249
|
},
|
|
238
250
|
pt: {
|
|
239
|
-
'customer.form.title': '
|
|
251
|
+
'customer.form.title': 'Olá👋',
|
|
252
|
+
'customer.form.name': 'Nome',
|
|
240
253
|
'customer.form.email': 'Email',
|
|
241
254
|
'customer.form.phone': 'Telefone',
|
|
242
255
|
'customer.form.country': 'País',
|
|
243
|
-
'customer.form.submit': '
|
|
256
|
+
'customer.form.submit': 'Contactar Agora',
|
|
244
257
|
'customer.form.error': 'Por favor, preencha todos os campos obrigatórios',
|
|
245
258
|
'customer.form.instructions': 'Complete o formulário abaixo para receber um serviço personalizado',
|
|
246
259
|
'customer.form.error.country': 'O país é obrigatório',
|
|
@@ -250,7 +263,7 @@ export const LocalizationList = {
|
|
|
250
263
|
'customer.form.placeholder.country': 'Digite seu país',
|
|
251
264
|
'customer.form.placeholder.email': 'Digite seu email',
|
|
252
265
|
'customer.form.placeholder.phone': 'Digite seu número de telefone',
|
|
253
|
-
'chat.messageInput.placeholder': '
|
|
266
|
+
'chat.messageInput.placeholder': 'Faça-me uma pergunta...',
|
|
254
267
|
'app.initialization.required': 'Por favor, inicialize primeiro',
|
|
255
268
|
'chat.load.error': 'Falha ao carregar mensagens. Toque para tentar novamente',
|
|
256
269
|
'chat.init.error': 'Falha ao inicializar o chat. Toque para tentar novamente',
|
|
@@ -272,14 +285,16 @@ export const LocalizationList = {
|
|
|
272
285
|
'customer.form.failed.email': 'Email incorreto',
|
|
273
286
|
'customer.form.failed.email.desc': 'Por favor, corrija seu email.',
|
|
274
287
|
'customer.form.failed.phone': 'Número de telefone incorreto',
|
|
275
|
-
'customer.form.failed.phone.desc': 'Por favor, corrija seu número de telefone.'
|
|
288
|
+
'customer.form.failed.phone.desc': 'Por favor, corrija seu número de telefone.',
|
|
289
|
+
'customer.form.cancel': 'Fechar'
|
|
276
290
|
},
|
|
277
291
|
ru: {
|
|
278
|
-
'customer.form.title': '
|
|
292
|
+
'customer.form.title': 'Привет👋',
|
|
293
|
+
'customer.form.name': 'Имя',
|
|
279
294
|
'customer.form.email': 'Электронная почта',
|
|
280
295
|
'customer.form.phone': 'Телефон',
|
|
281
296
|
'customer.form.country': 'Страна',
|
|
282
|
-
'customer.form.submit': '
|
|
297
|
+
'customer.form.submit': 'Связаться Сейчас',
|
|
283
298
|
'customer.form.error': 'Пожалуйста, заполните все обязательные поля',
|
|
284
299
|
'customer.form.instructions': 'Заполните форму ниже, чтобы получить персонализированное обслуживание',
|
|
285
300
|
'customer.form.error.country': 'Страна обязательна',
|
|
@@ -289,7 +304,7 @@ export const LocalizationList = {
|
|
|
289
304
|
'customer.form.placeholder.country': 'Введите вашу страну',
|
|
290
305
|
'customer.form.placeholder.email': 'Введите ваш email',
|
|
291
306
|
'customer.form.placeholder.phone': 'Введите ваш номер телефона',
|
|
292
|
-
'chat.messageInput.placeholder': '
|
|
307
|
+
'chat.messageInput.placeholder': 'Задайте мне вопрос...',
|
|
293
308
|
'app.initialization.required': 'Пожалуйста, сначала инициализируйте',
|
|
294
309
|
'chat.load.error': 'Не удалось загрузить сообщения. Нажмите, чтобы повторить попытку',
|
|
295
310
|
'chat.init.error': 'Не удалось инициализировать чат. Нажмите, чтобы повторить попытку',
|
|
@@ -311,14 +326,16 @@ export const LocalizationList = {
|
|
|
311
326
|
'customer.form.failed.email': 'Неверный email',
|
|
312
327
|
'customer.form.failed.email.desc': 'Пожалуйста, исправьте ваш email.',
|
|
313
328
|
'customer.form.failed.phone': 'Неверный номер телефона',
|
|
314
|
-
'customer.form.failed.phone.desc': 'Пожалуйста, исправьте ваш номер телефона.'
|
|
329
|
+
'customer.form.failed.phone.desc': 'Пожалуйста, исправьте ваш номер телефона.',
|
|
330
|
+
'customer.form.cancel': 'Закрыть'
|
|
315
331
|
},
|
|
316
332
|
ja: {
|
|
317
|
-
'customer.form.title': '
|
|
333
|
+
'customer.form.title': 'こんにちは👋',
|
|
334
|
+
'customer.form.name': '名前',
|
|
318
335
|
'customer.form.email': 'メールアドレス',
|
|
319
336
|
'customer.form.phone': '電話番号',
|
|
320
337
|
'customer.form.country': '国',
|
|
321
|
-
'customer.form.submit': '
|
|
338
|
+
'customer.form.submit': '今すぐ連絡する',
|
|
322
339
|
'customer.form.error': '必須項目をすべて入力してください',
|
|
323
340
|
'customer.form.instructions': 'パーソナライズされたサービスを受けるには、以下のフォームに記入してください',
|
|
324
341
|
'customer.form.error.country': '国は必須です',
|
|
@@ -328,7 +345,7 @@ export const LocalizationList = {
|
|
|
328
345
|
'customer.form.placeholder.country': '国を入力してください',
|
|
329
346
|
'customer.form.placeholder.email': 'メールアドレスを入力してください',
|
|
330
347
|
'customer.form.placeholder.phone': '電話番号を入力してください',
|
|
331
|
-
'chat.messageInput.placeholder': '
|
|
348
|
+
'chat.messageInput.placeholder': '質問を入力してください...',
|
|
332
349
|
'app.initialization.required': 'まず初期化してください',
|
|
333
350
|
'chat.load.error': 'メッセージの読み込みに失敗しました。タップして再試行',
|
|
334
351
|
'chat.init.error': 'チャットの初期化に失敗しました。タップして再試行',
|
|
@@ -350,14 +367,16 @@ export const LocalizationList = {
|
|
|
350
367
|
'customer.form.failed.email': 'メールアドレスが間違っています',
|
|
351
368
|
'customer.form.failed.email.desc': 'メールアドレスを修正してください。',
|
|
352
369
|
'customer.form.failed.phone': '電話番号が間違っています',
|
|
353
|
-
'customer.form.failed.phone.desc': '電話番号を修正してください。'
|
|
370
|
+
'customer.form.failed.phone.desc': '電話番号を修正してください。',
|
|
371
|
+
'customer.form.cancel': '閉じる'
|
|
354
372
|
},
|
|
355
373
|
zh: {
|
|
356
|
-
'customer.form.title': '
|
|
374
|
+
'customer.form.title': '你好👋',
|
|
375
|
+
'customer.form.name': '姓名',
|
|
357
376
|
'customer.form.email': '电子邮件',
|
|
358
377
|
'customer.form.phone': '电话',
|
|
359
378
|
'customer.form.country': '国家',
|
|
360
|
-
'customer.form.submit': '
|
|
379
|
+
'customer.form.submit': '立即联系',
|
|
361
380
|
'customer.form.error': '请填写所有必填字段',
|
|
362
381
|
'customer.form.instructions': '填写以下表格以获取个性化服务',
|
|
363
382
|
'customer.form.error.country': '国家为必填项',
|
|
@@ -367,7 +386,7 @@ export const LocalizationList = {
|
|
|
367
386
|
'customer.form.placeholder.country': '请输入您的国家',
|
|
368
387
|
'customer.form.placeholder.email': '请输入您的电子邮件',
|
|
369
388
|
'customer.form.placeholder.phone': '请输入您的电话号码',
|
|
370
|
-
'chat.messageInput.placeholder': '
|
|
389
|
+
'chat.messageInput.placeholder': '向我提问...',
|
|
371
390
|
'app.initialization.required': '请先初始化',
|
|
372
391
|
'chat.load.error': '加载消息失败。点击重试',
|
|
373
392
|
'chat.init.error': '初始化聊天失败。点击重试',
|
|
@@ -389,7 +408,8 @@ export const LocalizationList = {
|
|
|
389
408
|
'customer.form.failed.email': '电子邮件错误',
|
|
390
409
|
'customer.form.failed.email.desc': '请修正您的电子邮件。',
|
|
391
410
|
'customer.form.failed.phone': '电话号码错误',
|
|
392
|
-
'customer.form.failed.phone.desc': '请修正您的电话号码。'
|
|
411
|
+
'customer.form.failed.phone.desc': '请修正您的电话号码。',
|
|
412
|
+
'customer.form.cancel': '关闭'
|
|
393
413
|
}
|
|
394
414
|
};
|
|
395
415
|
//# sourceMappingURL=translations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["LocalizationList","en","tr","es","fr","de","it","pt","ru","ja","zh"],"sourceRoot":"../../../src","sources":["constants/translations.ts"],"mappings":";;AAGA,OAAO,MAAMA,gBAAwD,GAAG;EACtEC,EAAE,EAAE;IACF,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"names":["LocalizationList","en","tr","es","fr","de","it","pt","ru","ja","zh"],"sourceRoot":"../../../src","sources":["constants/translations.ts"],"mappings":";;AAGA,OAAO,MAAMA,gBAAwD,GAAG;EACtEC,EAAE,EAAE;IACF,qBAAqB,EAAE,SAAS;IAChC,oBAAoB,EAAE,WAAW;IACjC,qBAAqB,EAAE,qBAAqB;IAC5C,qBAAqB,EAAE,mBAAmB;IAC1C,uBAAuB,EAAE,SAAS;IAClC,sBAAsB,EAAE,aAAa;IACrC,qBAAqB,EAAE,oCAAoC;IAC3D,4BAA4B,EAC1B,yDAAyD;IAC3D,6BAA6B,EAAE,qBAAqB;IACpD,2BAA2B,EAAE,yBAAyB;IACtD,2BAA2B,EAAE,mBAAmB;IAChD,gCAAgC,EAAE,iBAAiB;IACnD,mCAAmC,EAAE,oBAAoB;IACzD,iCAAiC,EAAE,kBAAkB;IACrD,iCAAiC,EAAE,yBAAyB;IAC5D,+BAA+B,EAAE,sBAAsB;IACvD,6BAA6B,EAAE,yBAAyB;IACxD,iBAAiB,EAAE,uCAAuC;IAC1D,iBAAiB,EAAE,yCAAyC;IAC5D,YAAY,EAAE,iBAAiB;IAC/B,wCAAwC,EACtC,oCAAoC;IACtC,wCAAwC,EACtC,mCAAmC;IACrC,4CAA4C,EAC1C,mCAAmC;IACrC,yCAAyC,EACvC,sCAAsC;IACxC,kBAAkB,EAAE,sBAAsB;IAC1C,wBAAwB,EAAE,4CAA4C;IACtE,WAAW,EAAE,WAAW;IACxB,mBAAmB,EAAE,cAAc;IACnC,sBAAsB,EAAE,QAAQ;IAChC,gCAAgC,EAAE,gBAAgB;IAClD,sCAAsC,EACpC,iDAAiD;IACnD,kBAAkB,EAAE,QAAQ;IAC5B,2BAA2B,EAA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,MAAM;IACpB,wCAAwC,EAAE,cAAc;IACxD,wCAAwC,EAAE,YAAY;IACtD,4CAA4C,EAAE,aAAa;IAC3D,yCAAyC,EAAE,aAAa;IACxD,kBAAkB,EAAE,QAAQ;IAC5B,wBAAwB,EAAE,cAAc;IACxC,WAAW,EAAE,MAAM;IACnB,mBAAmB,EAAE,MAAM;IAC3B,sBAAsB,EAAE,MAAM;IAC9B,gCAAgC,EAAE,MAAM;IACxC,sCAAsC,EAAE,aAAa;IACrD,kBAAkB,EAAE,IAAI;IACxB,2BAA2B,EAAE,MAAM;IACnC,gCAAgC,EAAE,UAAU;IAC5C,4BAA4B,EAAE,QAAQ;IACtC,iCAAiC,EAAE,YAAY;IAC/C,4BAA4B,EAAE,QAAQ;IACtC,iCAAiC,EAAE,YAAY;IAC/C,sBAAsB,EAAE;EAC1B;AACF,CAAU","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getFakeMessageResponse","content","message","conversation_id","is_note","updated_at","Date","toISOString","created_at","id","Math","floor","random","user","conversation","project_id","customer_id","deleted_at","language","use_ai_answers","project","name","organization_id","uuid","organization","owner","email","email_verified_at","avatar","two_factor_secret","two_factor_recovery_codes","is_bot","profile_photo_url","pivot","user_id","role","events"],"sourceRoot":"../../../../src","sources":["data/fake/messages.ts"],"mappings":";;AAEA,OAAO,SAASA,sBAAsBA,CAACC,OAAe,EAAmB;EACvE,OAAO;IACLC,OAAO,EAAE;MACPC,eAAe,EAAE,CAAC;MAClBF,OAAO,EAAEA,OAAO;MAChBG,OAAO,EAAE,KAAK;MACdC,UAAU,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;MACpCC,UAAU,EAAE,IAAIF,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;MACpCE,EAAE,EAAEC,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,MAAM,CAAC,CAAC,GAAG,IAAI,CAAC;MACpCC,IAAI,EAAE,IAAI;MACVC,YAAY,EAAE;
|
|
1
|
+
{"version":3,"names":["getFakeMessageResponse","content","message","conversation_id","is_note","updated_at","Date","toISOString","created_at","id","Math","floor","random","user","customer","bot","conversation","project_id","customer_id","deleted_at","language","use_ai_answers","project","name","organization_id","uuid","organization","owner","email","email_verified_at","avatar","two_factor_secret","two_factor_recovery_codes","is_bot","profile_photo_url","pivot","user_id","role","events"],"sourceRoot":"../../../../src","sources":["data/fake/messages.ts"],"mappings":";;AAEA,OAAO,SAASA,sBAAsBA,CAACC,OAAe,EAAmB;EACvE,OAAO;IACLC,OAAO,EAAE;MACPC,eAAe,EAAE,CAAC;MAClBF,OAAO,EAAEA,OAAO;MAChBG,OAAO,EAAE,KAAK;MACdC,UAAU,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;MACpCC,UAAU,EAAE,IAAIF,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;MACpCE,EAAE,EAAEC,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,MAAM,CAAC,CAAC,GAAG,IAAI,CAAC;MACpCC,IAAI,EAAE,IAAI;MACVC,QAAQ,EAAE,IAAI;MACdC,GAAG,EAAE,IAAI;MACTC,YAAY,EAAE;QACZP,EAAE,EAAE,CAAC;QACLQ,UAAU,EAAE,CAAC;QACbC,WAAW,EAAE,CAAC;QACdV,UAAU,EAAE,IAAIF,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;QACpCF,UAAU,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;QACpCY,UAAU,EAAE,IAAI;QAChBC,QAAQ,EAAE,IAAI;QACdC,cAAc,EAAE,CAAC;QACjBC,OAAO,EAAE;UACPb,EAAE,EAAE,CAAC;UACLc,IAAI,EAAE,cAAc;UACpBC,eAAe,EAAE,CAAC;UAClBhB,UAAU,EAAE,IAAIF,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;UACpCF,UAAU,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;UACpCY,UAAU,EAAE,IAAI;UAChBM,IAAI,EAAE,WAAW;UACjBC,YAAY,EAAE;YACZjB,EAAE,EAAE,CAAC;YACLc,IAAI,EAAE,mBAAmB;YACzBf,UAAU,EAAE,IAAIF,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;YACpCF,UAAU,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;YACpCY,UAAU,EAAE,IAAI;YAChBQ,KAAK,EAAE,CACL;cACElB,EAAE,EAAE,CAAC;cACLc,IAAI,EAAE,WAAW;cACjBK,KAAK,EAAE,kBAAkB;cACzBC,iBAAiB,EAAE,IAAI;cACvBrB,UAAU,EAAE,IAAIF,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;cACpCF,UAAU,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;cACpCuB,MAAM,EAAE,IAAI;cACZC,iBAAiB,EAAE,IAAI;cACvBC,yBAAyB,EAAE,IAAI;cAC/BC,MAAM,EAAE,KAAK;cACbC,iBAAiB,EAAE,EAAE;cACrBC,KAAK,EAAE;gBACLX,eAAe,EAAE,CAAC;gBAClBY,OAAO,EAAE,CAAC;gBACVC,IAAI,EAAE,OAAO;gBACb7B,UAAU,EAAE,IAAIF,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;gBACpCF,UAAU,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC;cACrC;YACF,CAAC;UAEL;QACF;MACF,CAAC;MACD+B,MAAM,EAAE;IACV;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { lightTheme, darkTheme } from "../types/Theme.js";
|
|
3
|
+
import { lightTheme } from "../types/Theme.js";
|
|
5
4
|
export function useThemeColors() {
|
|
6
|
-
|
|
7
|
-
theme
|
|
8
|
-
} = useAppStore(s => ({
|
|
9
|
-
theme: s.theme
|
|
10
|
-
}));
|
|
11
|
-
return theme === 'light' ? lightTheme : darkTheme;
|
|
5
|
+
return lightTheme;
|
|
12
6
|
}
|
|
13
7
|
//# sourceMappingURL=useThemeColors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["lightTheme","useThemeColors"],"sourceRoot":"../../../src","sources":["hooks/useThemeColors.ts"],"mappings":";;AAAA,SAASA,UAAU,QAA0B,mBAAgB;AAE7D,OAAO,SAASC,cAAcA,CAAA,EAAgB;EAC5C,OAAOD,UAAU;AACnB","ignoreList":[]}
|
|
@@ -18,7 +18,8 @@ export const lightTheme = {
|
|
|
18
18
|
slate: '#44454D',
|
|
19
19
|
ghost: '#EFEFEF',
|
|
20
20
|
navy: '#191A21',
|
|
21
|
-
lavender: '#E0E0E0'
|
|
21
|
+
lavender: '#E0E0E0',
|
|
22
|
+
silver: '#C7C7C7'
|
|
22
23
|
};
|
|
23
24
|
export const darkTheme = {
|
|
24
25
|
primary: '#4361EE',
|
|
@@ -38,6 +39,7 @@ export const darkTheme = {
|
|
|
38
39
|
slate: '#C7C7C7',
|
|
39
40
|
ghost: '#202129',
|
|
40
41
|
navy: '#F5F5F5',
|
|
41
|
-
lavender: '#262730'
|
|
42
|
+
lavender: '#262730',
|
|
43
|
+
silver: '#44454D'
|
|
42
44
|
};
|
|
43
45
|
//# sourceMappingURL=Theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["lightTheme","primary","secondary","background","light_text","text","error","success","green","light_green","warning","info","border","dark_background","gainsboro","slate","ghost","navy","lavender","darkTheme"],"sourceRoot":"../../../src","sources":["types/Theme.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["lightTheme","primary","secondary","background","light_text","text","error","success","green","light_green","warning","info","border","dark_background","gainsboro","slate","ghost","navy","lavender","silver","darkTheme"],"sourceRoot":"../../../src","sources":["types/Theme.ts"],"mappings":";;AAsBA,OAAO,MAAMA,UAAuB,GAAG;EACrCC,OAAO,EAAE,SAAS;EAClBC,SAAS,EAAE,SAAS;EACpBC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,SAAS;EACrBC,IAAI,EAAE,SAAS;EACfC,KAAK,EAAE,SAAS;EAChBC,OAAO,EAAE,SAAS;EAClBC,KAAK,EAAE,SAAS;EAChBC,WAAW,EAAE,SAAS;EACtBC,OAAO,EAAE,SAAS;EAClBC,IAAI,EAAE,SAAS;EACfC,MAAM,EAAE,SAAS;EACjBC,eAAe,EAAE,SAAS;EAC1BC,SAAS,EAAE,SAAS;EACpBC,KAAK,EAAE,SAAS;EAChBC,KAAK,EAAE,SAAS;EAChBC,IAAI,EAAE,SAAS;EACfC,QAAQ,EAAE,SAAS;EACnBC,MAAM,EAAE;AACV,CAAC;AAED,OAAO,MAAMC,SAAsB,GAAG;EACpCnB,OAAO,EAAE,SAAS;EAClBC,SAAS,EAAE,SAAS;EACpBC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,SAAS;EACrBC,IAAI,EAAE,SAAS;EACfC,KAAK,EAAE,SAAS;EAChBC,OAAO,EAAE,SAAS;EAClBC,KAAK,EAAE,SAAS;EAChBC,WAAW,EAAE,SAAS;EACtBC,OAAO,EAAE,SAAS;EAClBC,IAAI,EAAE,SAAS;EACfC,MAAM,EAAE,SAAS;EACjBC,eAAe,EAAE,SAAS;EAC1BC,SAAS,EAAE,SAAS;EACpBC,KAAK,EAAE,SAAS;EAChBC,KAAK,EAAE,SAAS;EAChBC,IAAI,EAAE,SAAS;EACfC,QAAQ,EAAE,SAAS;EACnBC,MAAM,EAAE;AACV,CAAC","ignoreList":[]}
|
package/lib/module/utils/date.js
CHANGED
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export const dateToUnixTimestamp = date => {
|
|
9
9
|
if (!date) return undefined;
|
|
10
|
-
|
|
10
|
+
if (!(date instanceof Date) || typeof date.getTime !== 'function') {
|
|
11
|
+
return undefined;
|
|
12
|
+
}
|
|
13
|
+
const timestamp = date.getTime();
|
|
14
|
+
if (isNaN(timestamp)) {
|
|
15
|
+
return undefined;
|
|
16
|
+
}
|
|
17
|
+
return Math.floor(timestamp / 1000);
|
|
11
18
|
};
|
|
12
19
|
//# sourceMappingURL=date.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["dateToUnixTimestamp","date","undefined","
|
|
1
|
+
{"version":3,"names":["dateToUnixTimestamp","date","undefined","Date","getTime","timestamp","isNaN","Math","floor"],"sourceRoot":"../../../src","sources":["utils/date.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,mBAAmB,GAC9BC,IAAsB,IACC;EACvB,IAAI,CAACA,IAAI,EAAE,OAAOC,SAAS;EAC3B,IAAI,EAAED,IAAI,YAAYE,IAAI,CAAC,IAAI,OAAOF,IAAI,CAACG,OAAO,KAAK,UAAU,EAAE;IACjE,OAAOF,SAAS;EAClB;EAEA,MAAMG,SAAS,GAAGJ,IAAI,CAACG,OAAO,CAAC,CAAC;EAChC,IAAIE,KAAK,CAACD,SAAS,CAAC,EAAE;IACpB,OAAOH,SAAS;EAClB;EACA,OAAOK,IAAI,CAACC,KAAK,CAACH,SAAS,GAAG,IAAI,CAAC;AACrC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatList.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatList.tsx"],"names":[],"mappings":"AAwCA,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,2CAylB3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomAlert.d.ts","sourceRoot":"","sources":["../../../../../src/components/CustomAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomAlert.d.ts","sourceRoot":"","sources":["../../../../../src/components/CustomAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAKlE,UAAU,gBAAgB;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,gBAAgB,CAAC;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAID,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAO,EACP,KAAK,EACL,WAAW,EACX,cAAc,EACd,cAAc,EACd,UAAU,GACX,EAAE,gBAAgB,2CAuDlB;;AAiED,wBAAuC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/CustomerForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CustomerForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/CustomerForm.tsx"],"names":[],"mappings":"AAoCA,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,IAAI,CAAA;CAAE,2CAyQ9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitFailed.d.ts","sourceRoot":"","sources":["../../../../../src/components/InitFailed.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InitFailed.d.ts","sourceRoot":"","sources":["../../../../../src/components/InitFailed.tsx"],"names":[],"mappings":"AAMA,UAAU,eAAe;IACvB,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC;AAED,wBAAgB,UAAU,CAAC,EAAE,aAAa,EAAE,EAAE,eAAe,2CAmB5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageInput.tsx"],"names":[],"mappings":"AAWA,wBAAgB,YAAY,CAAC,EAC3B,cAAc,GACf,EAAE;IACD,cAAc,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,2CAuHA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activeOpacity.d.ts","sourceRoot":"","sources":["../../../../../src/constants/activeOpacity.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../../src/constants/translations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,YAAY,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../../src/constants/translations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAie1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../../../src/data/fake/messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../../../src/data/fake/messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAEnE,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CA+DvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThemeColors.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useThemeColors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useThemeColors.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useThemeColors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE9D,wBAAgB,cAAc,IAAI,WAAW,CAE5C"}
|
|
@@ -2,7 +2,12 @@ export interface ConversationMessage {
|
|
|
2
2
|
id: number;
|
|
3
3
|
content: string;
|
|
4
4
|
created_at: string;
|
|
5
|
-
user
|
|
5
|
+
user?: any | null;
|
|
6
|
+
bot?: any | null;
|
|
7
|
+
customer?: {
|
|
8
|
+
name: string;
|
|
9
|
+
profile_photo_url: null;
|
|
10
|
+
} | null;
|
|
6
11
|
}
|
|
7
12
|
export interface AppConversationMessage extends Omit<ConversationMessage, 'id' | 'created_at'> {
|
|
8
13
|
id: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["../../../../../src/types/Conversation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,GAAG,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["../../../../../src/types/Conversation.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAClB,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,iBAAiB,EAAE,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;CAC7D;AAED,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,YAAY,CAAC;IACtD,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,IAAI,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,gBAAgB,CAAC;CACxB"}
|
|
@@ -36,5 +36,7 @@ export type LocalizationKeys = {
|
|
|
36
36
|
'customer.form.failed.email.desc': string;
|
|
37
37
|
'customer.form.failed.phone': string;
|
|
38
38
|
'customer.form.failed.phone.desc': string;
|
|
39
|
+
'customer.form.name': string;
|
|
40
|
+
'customer.form.cancel': string;
|
|
39
41
|
};
|
|
40
42
|
//# sourceMappingURL=LocalizationKeys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalizationKeys.d.ts","sourceRoot":"","sources":["../../../../../src/types/LocalizationKeys.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,uBAAuB,EAAE,MAAM,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,4BAA4B,EAAE,MAAM,CAAC;IACrC,6BAA6B,EAAE,MAAM,CAAC;IACtC,2BAA2B,EAAE,MAAM,CAAC;IACpC,2BAA2B,EAAE,MAAM,CAAC;IACpC,gCAAgC,EAAE,MAAM,CAAC;IACzC,mCAAmC,EAAE,MAAM,CAAC;IAC5C,iCAAiC,EAAE,MAAM,CAAC;IAC1C,iCAAiC,EAAE,MAAM,CAAC;IAC1C,wCAAwC,EAAE,MAAM,CAAC;IACjD,wCAAwC,EAAE,MAAM,CAAC;IACjD,4CAA4C,EAAE,MAAM,CAAC;IACrD,yCAAyC,EAAE,MAAM,CAAC;IAClD,+BAA+B,EAAE,MAAM,CAAC;IACxC,6BAA6B,EAAE,MAAM,CAAC;IACtC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,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M,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../../../../../src/types/Theme.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,EAAE,WAoBxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,WAoBvB,CAAC;AAEF,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,WAAW,CAAC;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../src/utils/date.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,SACxB,IAAI,GAAG,SAAS,KACrB,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../src/utils/date.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,SACxB,IAAI,GAAG,SAAS,KACrB,MAAM,GAAG,SAWX,CAAC"}
|