@yartsun/chat-widget-types 1.0.15 → 1.0.17

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 (43) hide show
  1. package/README.md +20 -0
  2. package/dist/config.types.d.ts +46 -9
  3. package/dist/config.types.d.ts.map +1 -1
  4. package/dist/default-config.d.ts +1 -1
  5. package/dist/default-config.d.ts.map +1 -1
  6. package/dist/default-config.js +2 -319
  7. package/dist/default-config.js.map +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/migration/commands.d.ts +1 -0
  11. package/dist/migration/commands.d.ts.map +1 -1
  12. package/dist/migration/commands.js +58 -2
  13. package/dist/migration/commands.js.map +1 -1
  14. package/dist/migration/examples.d.ts +1 -1
  15. package/dist/migration/facade.d.ts +8 -0
  16. package/dist/migration/facade.d.ts.map +1 -1
  17. package/dist/migration/facade.js +22 -2
  18. package/dist/migration/facade.js.map +1 -1
  19. package/dist/migration/migrator.d.ts +1 -0
  20. package/dist/migration/migrator.d.ts.map +1 -1
  21. package/dist/migration/migrator.js +23 -4
  22. package/dist/migration/migrator.js.map +1 -1
  23. package/dist/migration/strategies.d.ts +52 -0
  24. package/dist/migration/strategies.d.ts.map +1 -1
  25. package/dist/migration/strategies.js +277 -4
  26. package/dist/migration/strategies.js.map +1 -1
  27. package/dist/migration/types.d.ts +9 -1
  28. package/dist/migration/types.d.ts.map +1 -1
  29. package/dist/migration/types.js +7 -1
  30. package/dist/migration/types.js.map +1 -1
  31. package/package.json +25 -2
  32. package/src/config.types.ts +50 -10
  33. package/src/default-config.ts +3 -329
  34. package/src/index.ts +5 -3
  35. package/src/migration/commands.ts +65 -2
  36. package/src/migration/facade.ts +23 -2
  37. package/src/migration/migrator.ts +22 -6
  38. package/src/migration/strategies.ts +291 -4
  39. package/src/migration/types.ts +11 -1
  40. package/themes/configV3-shine.json +369 -0
  41. package/themes/configV3-soft.json +369 -0
  42. package/themes/configV3-ultra.json +369 -0
  43. package/themes/configV3.json +370 -0
@@ -0,0 +1,369 @@
1
+ {
2
+ "schema": {
3
+ "required": [
4
+ "settings",
5
+ "texts",
6
+ "sections"
7
+ ],
8
+ "version": "3.1"
9
+ },
10
+ "sections": {
11
+ "bottom": {
12
+ "btnSend": {
13
+ "bgColor": "#524C79",
14
+ "borderColor": "#595959",
15
+ "borderRadius": 50,
16
+ "borderWidth": 0,
17
+ "color": "#FFFEFE",
18
+ "fontSize": 12,
19
+ "icon": {
20
+ "color": "#fff",
21
+ "showIcon": true,
22
+ "size": 18,
23
+ "src": "<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M13.5525 6.38248L7.13245 3.17248C2.81995 1.01248 1.04995 2.78248 3.20995 7.09498L3.86245 8.39998C4.04995 8.78248 4.04995 9.22498 3.86245 9.60748L3.20995 10.905C1.04995 15.2175 2.81245 16.9875 7.13245 14.8275L13.5525 11.6175C16.4325 10.1775 16.4325 7.82248 13.5525 6.38248ZM11.13 9.56248H7.07995C6.77245 9.56248 6.51745 9.30748 6.51745 8.99998C6.51745 8.69248 6.77245 8.43748 7.07995 8.43748H11.13C11.4375 8.43748 11.6925 8.69248 11.6925 8.99998C11.6925 9.30748 11.4375 9.56248 11.13 9.56248Z\" fill=\"currentColor\"/>\n</svg>\n"
24
+ },
25
+ "showType": "icon",
26
+ "size": "md"
27
+ },
28
+ "btnVoice": {
29
+ "bgColor": "#FFFFFF",
30
+ "borderRadius": 50,
31
+ "borderWidth": 0,
32
+ "color": "#524C79",
33
+ "fontSize": 12,
34
+ "icon": {
35
+ "color": "#fff",
36
+ "showIcon": true,
37
+ "size": 19,
38
+ "src": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M7.99997 1.40002C8.39394 1.40002 8.78405 1.47762 9.14802 1.62839C9.512 1.77915 9.84272 2.00013 10.1213 2.2787C10.3999 2.55728 10.6208 2.888 10.7716 3.25197C10.9224 3.61595 11 4.00606 11 4.40002V8.00002C11 8.79567 10.6839 9.55874 10.1213 10.1213C9.55869 10.684 8.79562 11 7.99997 11C7.20432 11 6.44126 10.684 5.87865 10.1213C5.31604 9.55874 4.99997 8.79567 4.99997 8.00002V4.40002C4.99997 3.60437 5.31604 2.84131 5.87865 2.2787C6.44126 1.71609 7.20432 1.40002 7.99997 1.40002V1.40002ZM2.11517 9.17722L3.29237 8.94142C3.51101 10.0289 4.09939 11.0071 4.95756 11.7099C5.81573 12.4127 6.89075 12.7968 7.99997 12.7968C9.1092 12.7968 10.1842 12.4127 11.0424 11.7099C11.9006 11.0071 12.4889 10.0289 12.7076 8.94142L13.8848 9.17722C13.3376 11.927 10.91 14 7.99997 14C5.08997 14 2.66237 11.927 2.11517 9.17722Z\" fill=\"currentColor\">\n</svg>\n"
39
+ },
40
+ "showType": "icon",
41
+ "size": "md"
42
+ },
43
+ "disclaimer": {
44
+ "bgColor": "#FF0000",
45
+ "color": "#fff",
46
+ "fontSize": 12,
47
+ "height": 20
48
+ },
49
+ "inputSend": {
50
+ "bgColor": "#FFFFFF",
51
+ "bgType": "plain",
52
+ "borderColor": "#71717A1A",
53
+ "borderRadius": 8,
54
+ "borderWidth": 1,
55
+ "color": "#271023",
56
+ "fontSize": 12,
57
+ "inputStyle": "inside",
58
+ "paddingHorizontal": 8,
59
+ "paddingVertical": 8,
60
+ "sidePadding": 8,
61
+ "size": "lg"
62
+ },
63
+ "params": {
64
+ "disclaimerShow": false,
65
+ "size": "md"
66
+ }
67
+ },
68
+ "colapsed": {
69
+ "bgColor": "#7D52F4",
70
+ "borderColor": "rgba(29, 29, 31, 0.90)",
71
+ "borderRadius": 50,
72
+ "borderWidth": 8,
73
+ "color": "#fff",
74
+ "height": 56,
75
+ "icon": {
76
+ "showIcon": true,
77
+ "size": 18
78
+ },
79
+ "logo": "<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.22048 12.26L8.71413 11.1293C9.1535 10.1231 9.94426 9.32209 10.9307 8.88424L12.2895 8.28107C12.7215 8.08931 12.7215 7.46082 12.2895 7.26906L10.9731 6.68472C9.9613 6.23561 9.15637 5.40496 8.72453 4.3644L8.22447 3.15941C8.0389 2.71224 7.42105 2.71224 7.23548 3.15941L6.7354 4.36439C6.30357 5.40496 5.49861 6.23561 4.48686 6.68472L3.17045 7.26906C2.73843 7.46082 2.73843 8.08931 3.17045 8.28107L4.5293 8.88424C5.51569 9.32209 6.30646 10.1231 6.7458 11.1293L7.23948 12.26C7.42924 12.6946 8.03069 12.6946 8.22048 12.26ZM13.1632 15.0131L13.302 14.6949C13.5495 14.1275 13.9953 13.6758 14.5515 13.4287L14.9792 13.2386C15.2106 13.1358 15.2106 12.7996 14.9792 12.6969L14.5754 12.5174C14.0049 12.264 13.5511 11.7955 13.3078 11.2089L13.1653 10.865C13.0659 10.6254 12.7346 10.6254 12.6352 10.865L12.4927 11.2089C12.2494 11.7955 11.7957 12.264 11.2251 12.5174L10.8213 12.6969C10.59 12.7996 10.59 13.1358 10.8213 13.2386L11.249 13.4287C11.8053 13.6758 12.251 14.1275 12.4985 14.6949L12.6374 15.0131C12.739 15.246 13.0615 15.246 13.1632 15.0131Z\" fill=\"currentColor\"/></svg>",
80
+ "width": 56
81
+ },
82
+ "inside": {
83
+ "activeSnippet": {
84
+ "element": {
85
+ "bgColor": "#373739",
86
+ "borderColor": "#595959",
87
+ "borderRadius": 12,
88
+ "borderWidth": 1,
89
+ "color": "#fff",
90
+ "fontSize": 12,
91
+ "sidePadding": 8,
92
+ "verticalSpacing": 8
93
+ },
94
+ "headerChip": {
95
+ "bgColor": "#69696A",
96
+ "bgType": "filled",
97
+ "borderRadius": 12,
98
+ "color": "#fff",
99
+ "fontSize": 12,
100
+ "size": "md"
101
+ },
102
+ "noButton": {
103
+ "bgColor": "#C20E4D",
104
+ "borderRadius": 12,
105
+ "color": "#fff",
106
+ "fontSize": 12
107
+ },
108
+ "params": {
109
+ "buttonStyle": "filled",
110
+ "buttonType": "both",
111
+ "size": "md"
112
+ },
113
+ "propertyColor": "rgba(255, 255, 255, 0.30)",
114
+ "valueColor": "#fff",
115
+ "yesButton": {
116
+ "bgColor": "#12A150",
117
+ "borderRadius": 12,
118
+ "color": "#fff",
119
+ "fontSize": 12
120
+ }
121
+ },
122
+ "dataAction": {
123
+ "activeStepColor": "#939393",
124
+ "bodyFillColor": "#595959",
125
+ "headerFillColor": "#595959",
126
+ "headerText": "Talking to the data",
127
+ "pastStepColor": "#2A2A2C",
128
+ "strokeColor": "#C9C9C9",
129
+ "strokeWidth": 2,
130
+ "type": "outline"
131
+ },
132
+ "messageBot": {
133
+ "bgColor": "#5E4AC6",
134
+ "bgType": "plain",
135
+ "borderColor": "#595959",
136
+ "borderRadius": 12,
137
+ "borderWidth": 1,
138
+ "color": "#4C4C4C",
139
+ "fontSize": 14,
140
+ "size": "md"
141
+ },
142
+ "messageUser": {
143
+ "bgColor": "#524C79",
144
+ "bgType": "bubble",
145
+ "borderColor": "#595959",
146
+ "borderRadius": 12,
147
+ "borderWidth": 0,
148
+ "color": "#F9F8F8",
149
+ "fontSize": 14,
150
+ "size": "md"
151
+ },
152
+ "params": {
153
+ "sidePadding": 8,
154
+ "size": "md",
155
+ "verticalPadding": 8
156
+ },
157
+ "welcomeMessage": {
158
+ "bgColor": "#595959",
159
+ "bgType": "plain",
160
+ "borderColor": "#595959",
161
+ "borderRadius": 12,
162
+ "borderWidth": 0,
163
+ "color": "#2A2A2C",
164
+ "fontSize": 14,
165
+ "size": "sm"
166
+ }
167
+ },
168
+ "loader": {
169
+ "activeStep": {
170
+ "color": "#FFF",
171
+ "fontSize": 12,
172
+ "icon": {
173
+ "color": "#fff",
174
+ "showIcon": true,
175
+ "size": 16,
176
+ "src": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.56943 3.05554C6.22707 3.05554 5.13888 4.14374 5.13888 5.4861C5.13888 5.61121 5.14835 5.73411 5.1666 5.85413C3.97524 6.01056 3.05554 7.02981 3.05554 8.26388C3.05554 8.94394 3.33487 9.55881 3.78506 9.99999C3.33487 10.4412 3.05554 11.056 3.05554 11.7361C3.05554 12.7096 3.62748 13.5489 4.45383 13.937C4.4476 14.0128 4.44443 14.0894 4.44443 14.1667C4.44443 15.7007 5.68808 16.9444 7.22221 16.9444C8.05185 16.9444 8.79658 16.5807 9.30554 16.004V3.78506C8.86436 3.33487 8.24953 3.05554 7.56943 3.05554ZM10.6944 3.78506V16.004C11.2034 16.5807 11.9481 16.9444 12.7778 16.9444C14.3119 16.9444 15.5555 15.7007 15.5555 14.1667C15.5555 14.0894 15.5523 14.0128 15.5462 13.937C16.3725 13.5489 16.9444 12.7096 16.9444 11.7361C16.9444 11.056 16.6651 10.4412 16.2149 9.99999C16.6651 9.55881 16.9444 8.94394 16.9444 8.26388C16.9444 7.02981 16.0247 6.01056 14.8334 5.85413C14.8517 5.73411 14.8611 5.61121 14.8611 5.4861C14.8611 4.14374 13.7729 3.05554 12.4305 3.05554C11.7505 3.05554 11.1356 3.33487 10.6944 3.78506Z\" fill=\"currentColor\"/></svg>"
177
+ }
178
+ },
179
+ "completeStep": {
180
+ "color": "#8E8E8F",
181
+ "fontSize": 12,
182
+ "icon": {
183
+ "color": "#8E8E8F",
184
+ "showIcon": true,
185
+ "size": 16,
186
+ "src": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path opacity=\"0.4\" d=\"M7.99967 14.6666C11.6816 14.6666 14.6663 11.6818 14.6663 7.99992C14.6663 4.31802 11.6816 1.33325 7.99967 1.33325C4.31778 1.33325 1.33301 4.31802 1.33301 7.99992C1.33301 11.6818 4.31778 14.6666 7.99967 14.6666Z\" fill=\"currentColor\"></path><path d=\"M7.05297 10.3867C6.91964 10.3867 6.79297 10.3334 6.69964 10.2401L4.81297 8.3534C4.61964 8.16007 4.61964 7.84007 4.81297 7.64673C5.0063 7.4534 5.3263 7.4534 5.51964 7.64673L7.05297 9.18007L10.4796 5.7534C10.673 5.56007 10.993 5.56007 11.1863 5.7534C11.3796 5.94673 11.3796 6.26673 11.1863 6.46006L7.4063 10.2401C7.31297 10.3334 7.1863 10.3867 7.05297 10.3867Z\" fill=\"currentColor\"></path></svg>"
187
+ },
188
+ "verticalSpacing": 8
189
+ },
190
+ "typingLoader": {
191
+ "bgColor": "#2F2F31",
192
+ "color": "#8E8E8F"
193
+ }
194
+ },
195
+ "top": {
196
+ "buttons": {
197
+ "bgColor": "#2F2F31",
198
+ "borderRadius": 12,
199
+ "color": "#2A2A2C",
200
+ "showType": "icon"
201
+ },
202
+ "chipWidgetTitle": {
203
+ "bgColor": "#5E4AC6",
204
+ "borderRadius": 12,
205
+ "color": "#2A2A2C",
206
+ "showType": "both"
207
+ },
208
+ "params": {
209
+ "bgColor": "#AFA7E0",
210
+ "bgStyle": "filled",
211
+ "border": {
212
+ "color": "#fff",
213
+ "width": 0
214
+ },
215
+ "borderRadius": 12,
216
+ "buttonStyle": "invisible",
217
+ "chipStyle": "invisible",
218
+ "paddingHorizontal": 8,
219
+ "paddingVertical": 8,
220
+ "sideMargin": 12,
221
+ "size": "md"
222
+ }
223
+ },
224
+ "warnings": {
225
+ "connectionIssue": {
226
+ "content": {
227
+ "bgColor": "#8A7045",
228
+ "color": "#fff",
229
+ "icon": {
230
+ "color": "#fff",
231
+ "showIcon": true,
232
+ "size": 16,
233
+ "src": "<svg width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M21.76 16.42L15.36 4.9C14.5 3.35 13.31 2.5 12 2.5C10.69 2.5 9.49998 3.35 8.63998 4.9L2.23998 16.42C1.42998 17.89 1.33998 19.3 1.98998 20.41C2.63998 21.52 3.91998 22.13 5.59998 22.13H18.4C20.08 22.13 21.36 21.52 22.01 20.41C22.66 19.3 22.57 17.88 21.76 16.42ZM11.25 9.5C11.25 9.09 11.59 8.75 12 8.75C12.41 8.75 12.75 9.09 12.75 9.5V14.5C12.75 14.91 12.41 15.25 12 15.25C11.59 15.25 11.25 14.91 11.25 14.5V9.5ZM12.71 18.21C12.66 18.25 12.61 18.29 12.56 18.33C12.5 18.37 12.44 18.4 12.38 18.42C12.32 18.45 12.26 18.47 12.19 18.48C12.13 18.49 12.06 18.5 12 18.5C11.94 18.5 11.87 18.49 11.8 18.48C11.74 18.47 11.68 18.45 11.62 18.42C11.56 18.4 11.5 18.37 11.44 18.33C11.39 18.29 11.34 18.25 11.29 18.21C11.11 18.02 11 17.76 11 17.5C11 17.24 11.11 16.98 11.29 16.79C11.34 16.75 11.39 16.71 11.44 16.67C11.5 16.63 11.56 16.6 11.62 16.58C11.68 16.55 11.74 16.53 11.8 16.52C11.93 16.49 12.07 16.49 12.19 16.52C12.26 16.53 12.32 16.55 12.38 16.58C12.44 16.6 12.5 16.63 12.56 16.67C12.61 16.71 12.66 16.75 12.71 16.79C12.89 16.98 13 17.24 13 17.5C13 17.76 12.89 18.02 12.71 18.21Z\" fill=\"#FFCC77\"/>\n</svg>"
234
+ },
235
+ "sidePadding": 8,
236
+ "verticalSpacing": 8
237
+ },
238
+ "resetButton": {
239
+ "bgColor": "#e5e1dd",
240
+ "bgType": "filled",
241
+ "borderRadius": 12,
242
+ "color": "#2e2e30",
243
+ "fontSize": 12,
244
+ "icon": {
245
+ "color": "#2e2e30",
246
+ "showIcon": true,
247
+ "size": 16,
248
+ "src": "<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.793 1.83301H5.20634C2.77967 1.83301 1.33301 3.27967 1.33301 5.70634V11.2863C1.33301 13.7197 2.77967 15.1663 5.20634 15.1663H10.7863C13.213 15.1663 14.6597 13.7197 14.6597 11.293V5.70634C14.6663 3.27967 13.2197 1.83301 10.793 1.83301ZM7.99967 12.6663C6.80634 12.6663 5.87301 12.073 5.23967 11.4863V11.9597C5.23967 12.233 5.01301 12.4597 4.73967 12.4597C4.46634 12.4597 4.23967 12.233 4.23967 11.9597V10.1263C4.23967 9.85301 4.46634 9.62634 4.73967 9.62634H6.39301C6.66634 9.62634 6.89301 9.85301 6.89301 10.1263C6.89301 10.3997 6.66634 10.6263 6.39301 10.6263H5.79301C6.28634 11.1197 7.05301 11.6663 7.99967 11.6663C9.74634 11.6663 11.1663 10.2463 11.1663 8.49967C11.1663 8.22634 11.393 7.99967 11.6663 7.99967C11.9397 7.99967 12.1663 8.22634 12.1663 8.49967C12.1663 10.7997 10.2997 12.6663 7.99967 12.6663ZM12.1663 6.85967C12.1663 6.87967 12.1663 6.89967 12.1663 6.91301C12.1597 6.98634 12.1397 7.05301 12.1063 7.11301C12.073 7.17301 12.0263 7.22634 11.9663 7.27301C11.9197 7.30634 11.8663 7.33301 11.8063 7.35301C11.7597 7.36634 11.713 7.37301 11.6663 7.37301H10.0463C9.77301 7.37301 9.54634 7.14634 9.54634 6.87301C9.54634 6.59967 9.77301 6.37301 10.0463 6.37301H10.5997C10.0663 5.87967 9.20634 5.33301 8.01301 5.33301C6.26634 5.33301 4.84634 6.75301 4.84634 8.49967C4.84634 8.77301 4.61967 8.99967 4.34634 8.99967C4.07301 8.99967 3.83301 8.77301 3.83301 8.49967C3.83301 6.19967 5.69967 4.33301 7.99967 4.33301C9.43301 4.33301 10.4863 4.95301 11.1663 5.54634V5.03967C11.1663 4.76634 11.393 4.53967 11.6663 4.53967C11.9397 4.53967 12.1663 4.76634 12.1663 5.03967V6.85967Z\" fill=\"currentColor\"/></svg>"
249
+ },
250
+ "showType": "both",
251
+ "size": "md"
252
+ },
253
+ "warningStyle": "filled"
254
+ },
255
+ "disableInputIssue": {
256
+ "content": {
257
+ "bgColor": "#8A7045",
258
+ "color": "#fff",
259
+ "icon": {
260
+ "color": "#FFF",
261
+ "showIcon": true,
262
+ "src": "<svg width=\"17\" height=\"16\" viewBox=\"0 0 17 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M4 4.02667C3.06667 5.08667 2.5 6.48 2.5 8C2.5 11.3133 5.18667 14 8.5 14C11.8133 14 14.5 11.3133 14.5 8C14.5 4.68667 11.8133 2 8.5 2C8.02667 2 7.56667 2.05333 7.12667 2.16\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>"
263
+ }
264
+ },
265
+ "warningStyle": "gradient"
266
+ },
267
+ "launchIssue": {
268
+ "content": {
269
+ "bgColor": "#AFA7E0",
270
+ "color": "#fff",
271
+ "headlineColor": "#8F88B8",
272
+ "headlineTextSize": 12,
273
+ "icon": {
274
+ "color": "#AFA7E0",
275
+ "showIcon": true,
276
+ "size": 24,
277
+ "src": "<svg width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M21.76 16.42L15.36 4.9C14.5 3.35 13.31 2.5 12 2.5C10.69 2.5 9.5 3.35 8.64 4.9L2.24 16.42C1.43 17.89 1.34 19.3 1.99 20.41C2.64 21.52 3.92 22.13 5.6 22.13H18.4C20.08 22.13 21.36 21.52 22.01 20.41C22.66 19.3 22.57 17.88 21.76 16.42ZM12.71 18.21C12.66 18.25 12.61 18.29 12.56 18.33C12.5 18.37 12.44 18.4 12.38 18.42C12.32 18.45 12.26 18.47 12.19 18.48C12.13 18.49 12.06 18.5 12 18.5C11.94 18.5 11.87 18.49 11.8 18.48C11.74 18.47 11.68 18.45 11.62 18.42C11.56 18.4 11.5 18.37 11.44 18.33C11.39 18.29 11.34 18.25 11.29 18.21C11.11 18.02 11 17.76 11 17.5C11 17.24 11.11 16.98 11.29 16.79C11.34 16.75 11.39 16.71 11.44 16.67C11.5 16.63 11.56 16.6 11.62 16.58C11.68 16.55 11.74 16.53 11.8 16.52C11.93 16.49 12.07 16.49 12.19 16.52C12.26 16.53 12.32 16.55 12.38 16.58C12.44 16.6 12.5 16.63 12.56 16.67C12.61 16.71 12.66 16.75 12.71 16.79C12.89 16.98 13 17.24 13 17.5C13 17.76 12.89 18.02 12.71 18.21ZM11.25 9.5C11.25 9.09 11.59 8.75 12 8.75C12.41 8.75 12.75 9.09 12.75 9.5V14.5C12.75 14.91 12.41 15.25 12 15.25C11.59 15.25 11.25 14.91 11.25 14.5V9.5Z\" fill=\"currentColor\"/></svg>"
278
+ },
279
+ "sidePadding": 8,
280
+ "subTextSize": 12,
281
+ "verticalSpacing": 4
282
+ },
283
+ "resetButton": {
284
+ "bgColor": "#e5e1dd",
285
+ "bgType": "filled",
286
+ "borderRadius": 12,
287
+ "color": "#2e2e30",
288
+ "fontSize": 12,
289
+ "icon": {
290
+ "color": "#2e2e30",
291
+ "showIcon": true,
292
+ "size": 16,
293
+ "src": "<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.793 1.83301H5.20634C2.77967 1.83301 1.33301 3.27967 1.33301 5.70634V11.2863C1.33301 13.7197 2.77967 15.1663 5.20634 15.1663H10.7863C13.213 15.1663 14.6597 13.7197 14.6597 11.293V5.70634C14.6663 3.27967 13.2197 1.83301 10.793 1.83301ZM7.99967 12.6663C6.80634 12.6663 5.87301 12.073 5.23967 11.4863V11.9597C5.23967 12.233 5.01301 12.4597 4.73967 12.4597C4.46634 12.4597 4.23967 12.233 4.23967 11.9597V10.1263C4.23967 9.85301 4.46634 9.62634 4.73967 9.62634H6.39301C6.66634 9.62634 6.89301 9.85301 6.89301 10.1263C6.89301 10.3997 6.66634 10.6263 6.39301 10.6263H5.79301C6.28634 11.1197 7.05301 11.6663 7.99967 11.6663C9.74634 11.6663 11.1663 10.2463 11.1663 8.49967C11.1663 8.22634 11.393 7.99967 11.6663 7.99967C11.9397 7.99967 12.1663 8.22634 12.1663 8.49967C12.1663 10.7997 10.2997 12.6663 7.99967 12.6663ZM12.1663 6.85967C12.1663 6.87967 12.1663 6.89967 12.1663 6.91301C12.1597 6.98634 12.1397 7.05301 12.1063 7.11301C12.073 7.17301 12.0263 7.22634 11.9663 7.27301C11.9197 7.30634 11.8663 7.33301 11.8063 7.35301C11.7597 7.36634 11.713 7.37301 11.6663 7.37301H10.0463C9.77301 7.37301 9.54634 7.14634 9.54634 6.87301C9.54634 6.59967 9.77301 6.37301 10.0463 6.37301H10.5997C10.0663 5.87967 9.20634 5.33301 8.01301 5.33301C6.26634 5.33301 4.84634 6.75301 4.84634 8.49967C4.84634 8.77301 4.61967 8.99967 4.34634 8.99967C4.07301 8.99967 3.83301 8.77301 3.83301 8.49967C3.83301 6.19967 5.69967 4.33301 7.99967 4.33301C9.43301 4.33301 10.4863 4.95301 11.1663 5.54634V5.03967C11.1663 4.76634 11.393 4.53967 11.6663 4.53967C11.9397 4.53967 12.1663 4.76634 12.1663 5.03967V6.85967Z\" fill=\"currentColor\"/></svg>"
294
+ },
295
+ "showType": "both",
296
+ "size": "md"
297
+ },
298
+ "warningStyle": "gradient"
299
+ },
300
+ "reconnectIssue": {
301
+ "content": {
302
+ "bgColor": "#8A7045",
303
+ "borderRadius": 12,
304
+ "color": "#fff",
305
+ "icon": {
306
+ "color": "#FFF",
307
+ "showIcon": true,
308
+ "size": 16,
309
+ "src": "<svg width=\"17\" height=\"16\" viewBox=\"0 0 17 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M4 4.02667C3.06667 5.08667 2.5 6.48 2.5 8C2.5 11.3133 5.18667 14 8.5 14C11.8133 14 14.5 11.3133 14.5 8C14.5 4.68667 11.8133 2 8.5 2C8.02667 2 7.56667 2.05333 7.12667 2.16\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>"
310
+ },
311
+ "margin": 8,
312
+ "sidePadding": 8,
313
+ "verticalSpacing": 8
314
+ },
315
+ "warningStyle": "gradient"
316
+ }
317
+ }
318
+ },
319
+ "settings": {
320
+ "bgChat": "#EEEEEE",
321
+ "borderRadius": 14,
322
+ "container": {
323
+ "gradient": "#C4BEE6",
324
+ "innerBorder": {
325
+ "color": "#000",
326
+ "style": "solid",
327
+ "width": 0
328
+ },
329
+ "outerBorder": {
330
+ "color": "#2929294D",
331
+ "style": "solid",
332
+ "width": 0
333
+ }
334
+ },
335
+ "fontFamily": "e-Ukraine",
336
+ "fontWeight": 500,
337
+ "gapMessageLine": 12,
338
+ "globalRoundingRadius": true,
339
+ "launchView": "closed",
340
+ "letterSpacing": 0,
341
+ "lineHeight": 1.2,
342
+ "loader": "dots",
343
+ "logo": "<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.22048 12.26L8.71413 11.1293C9.1535 10.1231 9.94426 9.32209 10.9307 8.88424L12.2895 8.28107C12.7215 8.08931 12.7215 7.46082 12.2895 7.26906L10.9731 6.68472C9.9613 6.23561 9.15637 5.40496 8.72453 4.3644L8.22447 3.15941C8.0389 2.71224 7.42105 2.71224 7.23548 3.15941L6.7354 4.36439C6.30357 5.40496 5.49861 6.23561 4.48686 6.68472L3.17045 7.26906C2.73843 7.46082 2.73843 8.08931 3.17045 8.28107L4.5293 8.88424C5.51569 9.32209 6.30646 10.1231 6.7458 11.1293L7.23948 12.26C7.42924 12.6946 8.03069 12.6946 8.22048 12.26ZM13.1632 15.0131L13.302 14.6949C13.5495 14.1275 13.9953 13.6758 14.5515 13.4287L14.9792 13.2386C15.2106 13.1358 15.2106 12.7996 14.9792 12.6969L14.5754 12.5174C14.0049 12.264 13.5511 11.7955 13.3078 11.2089L13.1653 10.865C13.0659 10.6254 12.7346 10.6254 12.6352 10.865L12.4927 11.2089C12.2494 11.7955 11.7957 12.264 11.2251 12.5174L10.8213 12.6969C10.59 12.7996 10.59 13.1358 10.8213 13.2386L11.249 13.4287C11.8053 13.6758 12.251 14.1275 12.4985 14.6949L12.6374 15.0131C12.739 15.246 13.0615 15.246 13.1632 15.0131Z\" fill=\"currentColor\"/></svg>",
344
+ "mode": "collapsed",
345
+ "offset": {
346
+ "x": 24,
347
+ "y": 36
348
+ },
349
+ "position": "bottomRight",
350
+ "size": {
351
+ "height": 450,
352
+ "width": 435
353
+ },
354
+ "theme": "light"
355
+ },
356
+ "texts": {
357
+ "disableInputText": "Can’t send a message while processing the previous request",
358
+ "disclaimer": "AI-Copilot makes mistakes, please don’t consider 100% accurate",
359
+ "inputPlaceholder": "Type question",
360
+ "issueText": "Something went wrong, please restart",
361
+ "launchIssueText": "Please restart the chat, it should work",
362
+ "launchIssueTitle": "There was a glitch",
363
+ "reconnectText": "Connection issue, trying to reconnect",
364
+ "sendButton": "Send",
365
+ "typingLoader": "AI-Co-pilot typing",
366
+ "welcomeMessage": "👋 Hey there, I’m your AI data assistant. With me you can talk to your data and get instant insights about your leads, deals, clients and everything in-between",
367
+ "widgetTitle": "HyperShadow"
368
+ }
369
+ }