@clikvn/agent-widget-embedded 0.0.9-dev → 0.0.11-dev

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 (45) hide show
  1. package/dist/commons/constants/variables.d.ts +4 -0
  2. package/dist/commons/constants/variables.d.ts.map +1 -1
  3. package/dist/components/Chat/Chat.d.ts.map +1 -1
  4. package/dist/components/Chat/Icons.d.ts +19 -1
  5. package/dist/components/Chat/Icons.d.ts.map +1 -1
  6. package/dist/components/Chat/Message.d.ts.map +1 -1
  7. package/dist/components/Chat/MultimodalInput.d.ts +3 -1
  8. package/dist/components/Chat/MultimodalInput.d.ts.map +1 -1
  9. package/dist/components/Chat/SuggestedActions.d.ts +12 -0
  10. package/dist/components/Chat/SuggestedActions.d.ts.map +1 -0
  11. package/dist/features/AgentWidget/index.d.ts +8 -2
  12. package/dist/features/AgentWidget/index.d.ts.map +1 -1
  13. package/dist/hooks/useChat.d.ts +2 -0
  14. package/dist/hooks/useChat.d.ts.map +1 -1
  15. package/dist/hooks/useConfiguration.d.ts +8 -1
  16. package/dist/hooks/useConfiguration.d.ts.map +1 -1
  17. package/dist/index.html +12 -51
  18. package/dist/services/apis.d.ts +1 -0
  19. package/dist/services/apis.d.ts.map +1 -1
  20. package/dist/services/chat.service.d.ts +7 -1
  21. package/dist/services/chat.service.d.ts.map +1 -1
  22. package/dist/types/common.type.d.ts +6 -0
  23. package/dist/types/common.type.d.ts.map +1 -1
  24. package/dist/web.js +1 -1
  25. package/package.json +2 -1
  26. package/src/commons/constants/variables.ts +5 -0
  27. package/src/components/Chat/Chat.tsx +2 -0
  28. package/src/components/Chat/Icons.tsx +867 -1
  29. package/src/components/Chat/Message.tsx +42 -16
  30. package/src/components/Chat/MultimodalInput.tsx +140 -107
  31. package/src/components/Chat/SuggestedActions.tsx +99 -0
  32. package/src/features/AgentWidget/index.tsx +8 -2
  33. package/src/hooks/useChat.ts +19 -2
  34. package/src/hooks/useConfiguration.tsx +8 -1
  35. package/src/services/apis.ts +2 -0
  36. package/src/services/chat.service.ts +36 -1
  37. package/src/types/common.type.ts +7 -0
  38. package/dist/components/Chat/AudioRecording.d.ts +0 -9
  39. package/dist/components/Chat/AudioRecording.d.ts.map +0 -1
  40. package/dist/hooks/useConnection.d.ts +0 -15
  41. package/dist/hooks/useConnection.d.ts.map +0 -1
  42. package/dist/services/user.service.d.ts +0 -3
  43. package/dist/services/user.service.d.ts.map +0 -1
  44. package/dist/types/agentType.d.ts +0 -11
  45. package/dist/types/agentType.d.ts.map +0 -1
@@ -843,7 +843,13 @@ export const SparklesIcon = ({ size = 16 }: { size?: number }) => (
843
843
  </svg>
844
844
  );
845
845
 
846
- export const CheckCirclFillIcon = ({ size = 16 }: { size?: number }) => {
846
+ export const CheckCirclFillIcon = ({
847
+ size = 16,
848
+ className,
849
+ }: {
850
+ size?: number;
851
+ className?: string;
852
+ }) => {
847
853
  return (
848
854
  <svg
849
855
  height={size}
@@ -851,6 +857,7 @@ export const CheckCirclFillIcon = ({ size = 16 }: { size?: number }) => {
851
857
  viewBox="0 0 16 16"
852
858
  width={size}
853
859
  style={{ color: 'currentcolor' }}
860
+ className={className}
854
861
  >
855
862
  <path
856
863
  fillRule="evenodd"
@@ -928,3 +935,862 @@ export const VolumeIcon = () => (
928
935
  <path d="M533.6 32.5C598.5 85.2 640 165.8 640 256s-41.5 170.7-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64l0 384c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352 64 352c-35.3 0-64-28.7-64-64l0-64c0-35.3 28.7-64 64-64l67.8 0L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z" />
929
936
  </svg>
930
937
  );
938
+
939
+ export const ClikVolumeIcon = () => (
940
+ <svg
941
+ width="16"
942
+ height="16"
943
+ viewBox="0 0 16 16"
944
+ fill="none"
945
+ xmlns="http://www.w3.org/2000/svg"
946
+ >
947
+ <g clip-path="url(#clip0_17488_66113)">
948
+ <rect width="16" height="16" fill="white" fill-opacity="0.01" />
949
+ <path
950
+ d="M7.3335 3.33333L4.00016 5.99999H1.3335V10H4.00016L7.3335 12.6667V3.33333Z"
951
+ stroke="#595959"
952
+ stroke-width="1.33"
953
+ stroke-linecap="round"
954
+ stroke-linejoin="round"
955
+ />
956
+ <path
957
+ d="M10.3599 5.64C10.9848 6.26509 11.3358 7.11279 11.3358 7.99667C11.3358 8.88055 10.9848 9.72824 10.3599 10.3533"
958
+ stroke="#595959"
959
+ stroke-width="1.33"
960
+ stroke-linecap="round"
961
+ stroke-linejoin="round"
962
+ />
963
+ <path
964
+ d="M12.7134 3.28667C13.9632 4.53685 14.6653 6.23224 14.6653 8C14.6653 9.76776 13.9632 11.4631 12.7134 12.7133"
965
+ stroke="#595959"
966
+ stroke-width="1.33"
967
+ stroke-linecap="round"
968
+ stroke-linejoin="round"
969
+ />
970
+ </g>
971
+ <defs>
972
+ <clipPath id="clip0_17488_66113">
973
+ <rect width="16" height="16" fill="white" />
974
+ </clipPath>
975
+ </defs>
976
+ </svg>
977
+ );
978
+
979
+ export const ClikMicrophoneIcon = ({ size = 16 }: { size?: number }) => {
980
+ return (
981
+ <svg
982
+ height={size}
983
+ width={size}
984
+ viewBox="0 0 16 16"
985
+ fill="none"
986
+ xmlns="http://www.w3.org/2000/svg"
987
+ >
988
+ <g clip-path="url(#clip0_17488_66116)">
989
+ <rect height={size} width={size} fill="white" fill-opacity="0.01" />
990
+ <path
991
+ d="M8 1.33333C7.46957 1.33333 6.96086 1.54404 6.58579 1.91911C6.21071 2.29419 6 2.8029 6 3.33333V8C6 8.53043 6.21071 9.03914 6.58579 9.41421C6.96086 9.78928 7.46957 10 8 10C8.53043 10 9.03914 9.78928 9.41421 9.41421C9.78929 9.03914 10 8.53043 10 8V3.33333C10 2.8029 9.78929 2.29419 9.41421 1.91911C9.03914 1.54404 8.53043 1.33333 8 1.33333Z"
992
+ stroke="#595959"
993
+ stroke-width="1.33"
994
+ stroke-linecap="round"
995
+ stroke-linejoin="round"
996
+ />
997
+ <path
998
+ d="M12.6668 6.66667V8.00001C12.6668 9.23768 12.1752 10.4247 11.3 11.2998C10.4248 12.175 9.23784 12.6667 8.00016 12.6667C6.76249 12.6667 5.5755 12.175 4.70033 11.2998C3.82516 10.4247 3.3335 9.23768 3.3335 8.00001V6.66667"
999
+ stroke="#595959"
1000
+ stroke-width="1.33"
1001
+ stroke-linecap="round"
1002
+ stroke-linejoin="round"
1003
+ />
1004
+ <path
1005
+ d="M8 12.6667V14.6667"
1006
+ stroke="#595959"
1007
+ stroke-width="1.33"
1008
+ stroke-linecap="round"
1009
+ stroke-linejoin="round"
1010
+ />
1011
+ </g>
1012
+ <defs>
1013
+ <clipPath id="clip0_17488_66116">
1014
+ <rect height={size} width={size} fill="white" />
1015
+ </clipPath>
1016
+ </defs>
1017
+ </svg>
1018
+ );
1019
+ };
1020
+
1021
+ export const ClikPlusIcon = ({ size = 16 }: { size?: number }) => (
1022
+ <svg
1023
+ height={size}
1024
+ width={size}
1025
+ viewBox="0 0 16 16"
1026
+ fill="none"
1027
+ xmlns="http://www.w3.org/2000/svg"
1028
+ >
1029
+ <g clip-path="url(#clip0_17831_4737)">
1030
+ <rect height={size} width={size} fill="white" fill-opacity="0.01" />
1031
+ <path
1032
+ d="M14.25 8C14.25 8.19891 14.171 8.38968 14.0303 8.53033C13.8897 8.67098 13.6989 8.75 13.5 8.75H8.75V13.5C8.75 13.6989 8.67098 13.8897 8.53033 14.0303C8.38968 14.171 8.19891 14.25 8 14.25C7.80109 14.25 7.61032 14.171 7.46967 14.0303C7.32902 13.8897 7.25 13.6989 7.25 13.5V8.75H2.5C2.30109 8.75 2.11032 8.67098 1.96967 8.53033C1.82902 8.38968 1.75 8.19891 1.75 8C1.75 7.80109 1.82902 7.61032 1.96967 7.46967C2.11032 7.32902 2.30109 7.25 2.5 7.25H7.25V2.5C7.25 2.30109 7.32902 2.11032 7.46967 1.96967C7.61032 1.82902 7.80109 1.75 8 1.75C8.19891 1.75 8.38968 1.82902 8.53033 1.96967C8.67098 2.11032 8.75 2.30109 8.75 2.5V7.25H13.5C13.6989 7.25 13.8897 7.32902 14.0303 7.46967C14.171 7.61032 14.25 7.80109 14.25 8Z"
1033
+ fill="#595959"
1034
+ />
1035
+ </g>
1036
+ <defs>
1037
+ <clipPath id="clip0_17831_4737">
1038
+ <rect height={size} width={size} fill="white" />
1039
+ </clipPath>
1040
+ </defs>
1041
+ </svg>
1042
+ );
1043
+
1044
+ export const ClikWaveIcon = () => (
1045
+ <svg
1046
+ width="155"
1047
+ height="24"
1048
+ viewBox="0 0 155 24"
1049
+ fill="none"
1050
+ xmlns="http://www.w3.org/2000/svg"
1051
+ >
1052
+ <g clip-path="url(#clip0_17269_67648)">
1053
+ <line
1054
+ x1="1.5"
1055
+ y1="12.5"
1056
+ x2="1.5"
1057
+ y2="11.5"
1058
+ stroke="black"
1059
+ stroke-opacity="0.45"
1060
+ stroke-linecap="round"
1061
+ />
1062
+ <line
1063
+ x1="3.5"
1064
+ y1="12.5"
1065
+ x2="3.5"
1066
+ y2="11.5"
1067
+ stroke="black"
1068
+ stroke-opacity="0.45"
1069
+ stroke-linecap="round"
1070
+ />
1071
+ <line
1072
+ x1="5.5"
1073
+ y1="12.5"
1074
+ x2="5.5"
1075
+ y2="11.5"
1076
+ stroke="black"
1077
+ stroke-opacity="0.45"
1078
+ stroke-linecap="round"
1079
+ />
1080
+ <line
1081
+ x1="7.5"
1082
+ y1="12.5"
1083
+ x2="7.5"
1084
+ y2="11.5"
1085
+ stroke="black"
1086
+ stroke-opacity="0.45"
1087
+ stroke-linecap="round"
1088
+ />
1089
+ <line
1090
+ x1="9.5"
1091
+ y1="12.5"
1092
+ x2="9.5"
1093
+ y2="11.5"
1094
+ stroke="black"
1095
+ stroke-opacity="0.45"
1096
+ stroke-linecap="round"
1097
+ />
1098
+ <line
1099
+ x1="11.5"
1100
+ y1="12.5"
1101
+ x2="11.5"
1102
+ y2="11.5"
1103
+ stroke="black"
1104
+ stroke-opacity="0.45"
1105
+ stroke-linecap="round"
1106
+ />
1107
+ <line
1108
+ x1="13.5"
1109
+ y1="12.5"
1110
+ x2="13.5"
1111
+ y2="11.5"
1112
+ stroke="black"
1113
+ stroke-opacity="0.45"
1114
+ stroke-linecap="round"
1115
+ />
1116
+ <line
1117
+ x1="15.5"
1118
+ y1="12.5"
1119
+ x2="15.5"
1120
+ y2="11.5"
1121
+ stroke="black"
1122
+ stroke-opacity="0.45"
1123
+ stroke-linecap="round"
1124
+ />
1125
+ <line
1126
+ x1="17.5"
1127
+ y1="12.5"
1128
+ x2="17.5"
1129
+ y2="11.5"
1130
+ stroke="black"
1131
+ stroke-opacity="0.45"
1132
+ stroke-linecap="round"
1133
+ />
1134
+ <line
1135
+ x1="19.5"
1136
+ y1="12.5"
1137
+ x2="19.5"
1138
+ y2="11.5"
1139
+ stroke="black"
1140
+ stroke-opacity="0.45"
1141
+ stroke-linecap="round"
1142
+ />
1143
+ <line
1144
+ x1="21.5"
1145
+ y1="12.5"
1146
+ x2="21.5"
1147
+ y2="11.5"
1148
+ stroke="black"
1149
+ stroke-opacity="0.45"
1150
+ stroke-linecap="round"
1151
+ />
1152
+ <line
1153
+ x1="23.5"
1154
+ y1="12.5"
1155
+ x2="23.5"
1156
+ y2="11.5"
1157
+ stroke="black"
1158
+ stroke-opacity="0.45"
1159
+ stroke-linecap="round"
1160
+ />
1161
+ <line
1162
+ x1="25.5"
1163
+ y1="12.5"
1164
+ x2="25.5"
1165
+ y2="11.5"
1166
+ stroke="black"
1167
+ stroke-opacity="0.45"
1168
+ stroke-linecap="round"
1169
+ />
1170
+ <line
1171
+ x1="27.5"
1172
+ y1="12.5"
1173
+ x2="27.5"
1174
+ y2="11.5"
1175
+ stroke="black"
1176
+ stroke-opacity="0.45"
1177
+ stroke-linecap="round"
1178
+ />
1179
+ <line
1180
+ x1="29.5"
1181
+ y1="12.5"
1182
+ x2="29.5"
1183
+ y2="11.5"
1184
+ stroke="black"
1185
+ stroke-opacity="0.45"
1186
+ stroke-linecap="round"
1187
+ />
1188
+ <line
1189
+ x1="31.5"
1190
+ y1="12.5"
1191
+ x2="31.5"
1192
+ y2="11.5"
1193
+ stroke="black"
1194
+ stroke-opacity="0.45"
1195
+ stroke-linecap="round"
1196
+ />
1197
+ <line
1198
+ x1="33.5"
1199
+ y1="12.5"
1200
+ x2="33.5"
1201
+ y2="11.5"
1202
+ stroke="black"
1203
+ stroke-opacity="0.45"
1204
+ stroke-linecap="round"
1205
+ />
1206
+ <line
1207
+ x1="35.5"
1208
+ y1="12.5"
1209
+ x2="35.5"
1210
+ y2="11.5"
1211
+ stroke="black"
1212
+ stroke-opacity="0.45"
1213
+ stroke-linecap="round"
1214
+ />
1215
+ <line
1216
+ x1="37.5"
1217
+ y1="12.5"
1218
+ x2="37.5"
1219
+ y2="11.5"
1220
+ stroke="black"
1221
+ stroke-opacity="0.45"
1222
+ stroke-linecap="round"
1223
+ />
1224
+ <line
1225
+ x1="39.5"
1226
+ y1="12.5"
1227
+ x2="39.5"
1228
+ y2="11.5"
1229
+ stroke="black"
1230
+ stroke-opacity="0.45"
1231
+ stroke-linecap="round"
1232
+ />
1233
+ <line
1234
+ x1="41.5"
1235
+ y1="12.5"
1236
+ x2="41.5"
1237
+ y2="11.5"
1238
+ stroke="black"
1239
+ stroke-opacity="0.45"
1240
+ stroke-linecap="round"
1241
+ />
1242
+ <line
1243
+ x1="43.5"
1244
+ y1="12.5"
1245
+ x2="43.5"
1246
+ y2="11.5"
1247
+ stroke="black"
1248
+ stroke-opacity="0.45"
1249
+ stroke-linecap="round"
1250
+ />
1251
+ <line
1252
+ x1="45.5"
1253
+ y1="12.5"
1254
+ x2="45.5"
1255
+ y2="11.5"
1256
+ stroke="black"
1257
+ stroke-opacity="0.45"
1258
+ stroke-linecap="round"
1259
+ />
1260
+ <line
1261
+ x1="47.5"
1262
+ y1="12.5"
1263
+ x2="47.5"
1264
+ y2="11.5"
1265
+ stroke="black"
1266
+ stroke-opacity="0.45"
1267
+ stroke-linecap="round"
1268
+ />
1269
+ <line
1270
+ x1="49.5"
1271
+ y1="12.5"
1272
+ x2="49.5"
1273
+ y2="11.5"
1274
+ stroke="black"
1275
+ stroke-opacity="0.45"
1276
+ stroke-linecap="round"
1277
+ />
1278
+ <line
1279
+ x1="51.5"
1280
+ y1="12.5"
1281
+ x2="51.5"
1282
+ y2="11.5"
1283
+ stroke="black"
1284
+ stroke-opacity="0.45"
1285
+ stroke-linecap="round"
1286
+ />
1287
+ <line
1288
+ x1="53.5"
1289
+ y1="12.5"
1290
+ x2="53.5"
1291
+ y2="11.5"
1292
+ stroke="black"
1293
+ stroke-opacity="0.45"
1294
+ stroke-linecap="round"
1295
+ />
1296
+ <line
1297
+ x1="55.5"
1298
+ y1="12.5"
1299
+ x2="55.5"
1300
+ y2="11.5"
1301
+ stroke="black"
1302
+ stroke-opacity="0.45"
1303
+ stroke-linecap="round"
1304
+ />
1305
+ <line
1306
+ x1="57.5"
1307
+ y1="12.5"
1308
+ x2="57.5"
1309
+ y2="11.5"
1310
+ stroke="black"
1311
+ stroke-opacity="0.45"
1312
+ stroke-linecap="round"
1313
+ />
1314
+ <line
1315
+ x1="59.5"
1316
+ y1="12.5"
1317
+ x2="59.5"
1318
+ y2="11.5"
1319
+ stroke="black"
1320
+ stroke-opacity="0.45"
1321
+ stroke-linecap="round"
1322
+ />
1323
+ <line
1324
+ x1="61.5"
1325
+ y1="12.5"
1326
+ x2="61.5"
1327
+ y2="11.5"
1328
+ stroke="black"
1329
+ stroke-opacity="0.45"
1330
+ stroke-linecap="round"
1331
+ />
1332
+ <line
1333
+ x1="63.5"
1334
+ y1="12.5"
1335
+ x2="63.5"
1336
+ y2="11.5"
1337
+ stroke="black"
1338
+ stroke-opacity="0.45"
1339
+ stroke-linecap="round"
1340
+ />
1341
+ <line
1342
+ x1="65.5"
1343
+ y1="12.5"
1344
+ x2="65.5"
1345
+ y2="11.5"
1346
+ stroke="black"
1347
+ stroke-opacity="0.45"
1348
+ stroke-linecap="round"
1349
+ />
1350
+ <line
1351
+ x1="67.5"
1352
+ y1="12.5"
1353
+ x2="67.5"
1354
+ y2="11.5"
1355
+ stroke="black"
1356
+ stroke-opacity="0.45"
1357
+ stroke-linecap="round"
1358
+ />
1359
+ <line
1360
+ x1="69.5"
1361
+ y1="12.5"
1362
+ x2="69.5"
1363
+ y2="11.5"
1364
+ stroke="black"
1365
+ stroke-opacity="0.45"
1366
+ stroke-linecap="round"
1367
+ />
1368
+ <line
1369
+ x1="71.5"
1370
+ y1="12.5"
1371
+ x2="71.5"
1372
+ y2="11.5"
1373
+ stroke="black"
1374
+ stroke-opacity="0.45"
1375
+ stroke-linecap="round"
1376
+ />
1377
+ <line
1378
+ x1="73.5"
1379
+ y1="12.5"
1380
+ x2="73.5"
1381
+ y2="11.5"
1382
+ stroke="black"
1383
+ stroke-opacity="0.45"
1384
+ stroke-linecap="round"
1385
+ />
1386
+ <line
1387
+ x1="75.5"
1388
+ y1="12.5"
1389
+ x2="75.5"
1390
+ y2="11.5"
1391
+ stroke="black"
1392
+ stroke-opacity="0.45"
1393
+ stroke-linecap="round"
1394
+ />
1395
+ <line
1396
+ x1="77.5"
1397
+ y1="12.5"
1398
+ x2="77.5"
1399
+ y2="11.5"
1400
+ stroke="black"
1401
+ stroke-opacity="0.45"
1402
+ stroke-linecap="round"
1403
+ />
1404
+ <line
1405
+ x1="79.5"
1406
+ y1="12.5"
1407
+ x2="79.5"
1408
+ y2="11.5"
1409
+ stroke="black"
1410
+ stroke-opacity="0.45"
1411
+ stroke-linecap="round"
1412
+ />
1413
+ <line
1414
+ x1="81.5"
1415
+ y1="12.5"
1416
+ x2="81.5"
1417
+ y2="11.5"
1418
+ stroke="black"
1419
+ stroke-opacity="0.45"
1420
+ stroke-linecap="round"
1421
+ />
1422
+ <line
1423
+ x1="83.5"
1424
+ y1="12.5"
1425
+ x2="83.5"
1426
+ y2="11.5"
1427
+ stroke="black"
1428
+ stroke-opacity="0.45"
1429
+ stroke-linecap="round"
1430
+ />
1431
+ <line
1432
+ x1="85.5"
1433
+ y1="12.5"
1434
+ x2="85.5"
1435
+ y2="11.5"
1436
+ stroke="black"
1437
+ stroke-opacity="0.45"
1438
+ stroke-linecap="round"
1439
+ />
1440
+ <line
1441
+ x1="87.5"
1442
+ y1="12.5"
1443
+ x2="87.5"
1444
+ y2="11.5"
1445
+ stroke="black"
1446
+ stroke-opacity="0.45"
1447
+ stroke-linecap="round"
1448
+ />
1449
+ <line
1450
+ x1="89.5"
1451
+ y1="12.5"
1452
+ x2="89.5"
1453
+ y2="11.5"
1454
+ stroke="black"
1455
+ stroke-opacity="0.45"
1456
+ stroke-linecap="round"
1457
+ />
1458
+ <line
1459
+ x1="91.5"
1460
+ y1="12.5"
1461
+ x2="91.5"
1462
+ y2="11.5"
1463
+ stroke="black"
1464
+ stroke-opacity="0.45"
1465
+ stroke-linecap="round"
1466
+ />
1467
+ <line
1468
+ x1="93.5"
1469
+ y1="12.5"
1470
+ x2="93.5"
1471
+ y2="11.5"
1472
+ stroke="black"
1473
+ stroke-opacity="0.45"
1474
+ stroke-linecap="round"
1475
+ />
1476
+ <line
1477
+ x1="95.5"
1478
+ y1="12.5"
1479
+ x2="95.5"
1480
+ y2="11.5"
1481
+ stroke="black"
1482
+ stroke-opacity="0.45"
1483
+ stroke-linecap="round"
1484
+ />
1485
+ <line
1486
+ x1="97.5"
1487
+ y1="12.5"
1488
+ x2="97.5"
1489
+ y2="11.5"
1490
+ stroke="black"
1491
+ stroke-opacity="0.45"
1492
+ stroke-linecap="round"
1493
+ />
1494
+ <line
1495
+ x1="99.5"
1496
+ y1="12.5"
1497
+ x2="99.5"
1498
+ y2="11.5"
1499
+ stroke="black"
1500
+ stroke-opacity="0.45"
1501
+ stroke-linecap="round"
1502
+ />
1503
+ <line
1504
+ x1="101.5"
1505
+ y1="12.5"
1506
+ x2="101.5"
1507
+ y2="11.5"
1508
+ stroke="black"
1509
+ stroke-opacity="0.45"
1510
+ stroke-linecap="round"
1511
+ />
1512
+ <line
1513
+ x1="103.5"
1514
+ y1="12.5"
1515
+ x2="103.5"
1516
+ y2="11.5"
1517
+ stroke="black"
1518
+ stroke-opacity="0.45"
1519
+ stroke-linecap="round"
1520
+ />
1521
+ <line
1522
+ x1="105.5"
1523
+ y1="12.5"
1524
+ x2="105.5"
1525
+ y2="11.5"
1526
+ stroke="black"
1527
+ stroke-opacity="0.45"
1528
+ stroke-linecap="round"
1529
+ />
1530
+ <line
1531
+ x1="107.5"
1532
+ y1="12.5"
1533
+ x2="107.5"
1534
+ y2="11.5"
1535
+ stroke="black"
1536
+ stroke-opacity="0.45"
1537
+ stroke-linecap="round"
1538
+ />
1539
+ <line
1540
+ x1="109.5"
1541
+ y1="12.5"
1542
+ x2="109.5"
1543
+ y2="11.5"
1544
+ stroke="black"
1545
+ stroke-opacity="0.45"
1546
+ stroke-linecap="round"
1547
+ />
1548
+ <line
1549
+ x1="111.5"
1550
+ y1="12.5"
1551
+ x2="111.5"
1552
+ y2="11.5"
1553
+ stroke="black"
1554
+ stroke-opacity="0.45"
1555
+ stroke-linecap="round"
1556
+ />
1557
+ <line
1558
+ x1="113.5"
1559
+ y1="12.5"
1560
+ x2="113.5"
1561
+ y2="11.5"
1562
+ stroke="black"
1563
+ stroke-opacity="0.45"
1564
+ stroke-linecap="round"
1565
+ />
1566
+ <line
1567
+ x1="115.5"
1568
+ y1="12.5"
1569
+ x2="115.5"
1570
+ y2="11.5"
1571
+ stroke="black"
1572
+ stroke-opacity="0.45"
1573
+ stroke-linecap="round"
1574
+ />
1575
+ <line
1576
+ x1="117.5"
1577
+ y1="12.5"
1578
+ x2="117.5"
1579
+ y2="11.5"
1580
+ stroke="black"
1581
+ stroke-opacity="0.45"
1582
+ stroke-linecap="round"
1583
+ />
1584
+ <line
1585
+ x1="119.5"
1586
+ y1="12.5"
1587
+ x2="119.5"
1588
+ y2="11.5"
1589
+ stroke="black"
1590
+ stroke-opacity="0.45"
1591
+ stroke-linecap="round"
1592
+ />
1593
+ <line
1594
+ x1="121.5"
1595
+ y1="12.5"
1596
+ x2="121.5"
1597
+ y2="11.5"
1598
+ stroke="black"
1599
+ stroke-opacity="0.45"
1600
+ stroke-linecap="round"
1601
+ />
1602
+ <line
1603
+ x1="123.5"
1604
+ y1="12.5"
1605
+ x2="123.5"
1606
+ y2="11.5"
1607
+ stroke="black"
1608
+ stroke-opacity="0.45"
1609
+ stroke-linecap="round"
1610
+ />
1611
+ <line
1612
+ x1="125.5"
1613
+ y1="12.5"
1614
+ x2="125.5"
1615
+ y2="11.5"
1616
+ stroke="black"
1617
+ stroke-opacity="0.45"
1618
+ stroke-linecap="round"
1619
+ />
1620
+ <line
1621
+ x1="127.5"
1622
+ y1="12.5"
1623
+ x2="127.5"
1624
+ y2="11.5"
1625
+ stroke="black"
1626
+ stroke-opacity="0.45"
1627
+ stroke-linecap="round"
1628
+ />
1629
+ <line
1630
+ x1="129.5"
1631
+ y1="12.5"
1632
+ x2="129.5"
1633
+ y2="11.5"
1634
+ stroke="black"
1635
+ stroke-opacity="0.45"
1636
+ stroke-linecap="round"
1637
+ />
1638
+ <line
1639
+ x1="131.5"
1640
+ y1="12.5"
1641
+ x2="131.5"
1642
+ y2="11.5"
1643
+ stroke="black"
1644
+ stroke-opacity="0.45"
1645
+ stroke-linecap="round"
1646
+ />
1647
+ <line
1648
+ x1="133.5"
1649
+ y1="12.5"
1650
+ x2="133.5"
1651
+ y2="11.5"
1652
+ stroke="black"
1653
+ stroke-opacity="0.45"
1654
+ stroke-linecap="round"
1655
+ />
1656
+ <line
1657
+ x1="135.5"
1658
+ y1="15.6349"
1659
+ x2="135.5"
1660
+ y2="8.36517"
1661
+ stroke="#595959"
1662
+ stroke-linecap="round"
1663
+ />
1664
+ <line
1665
+ x1="137.5"
1666
+ y1="20.777"
1667
+ x2="137.5"
1668
+ y2="3.2231"
1669
+ stroke="#595959"
1670
+ stroke-linecap="round"
1671
+ />
1672
+ <line
1673
+ x1="139.5"
1674
+ y1="17.1909"
1675
+ x2="139.5"
1676
+ y2="6.80912"
1677
+ stroke="#595959"
1678
+ stroke-linecap="round"
1679
+ />
1680
+ <line
1681
+ x1="141.5"
1682
+ y1="17.2438"
1683
+ x2="141.5"
1684
+ y2="6.75625"
1685
+ stroke="#595959"
1686
+ stroke-linecap="round"
1687
+ />
1688
+ <line
1689
+ x1="143.5"
1690
+ y1="15.0497"
1691
+ x2="143.5"
1692
+ y2="8.95022"
1693
+ stroke="#595959"
1694
+ stroke-linecap="round"
1695
+ />
1696
+ <line
1697
+ x1="145.5"
1698
+ y1="20.4811"
1699
+ x2="145.5"
1700
+ y2="3.5189"
1701
+ stroke="#595959"
1702
+ stroke-linecap="round"
1703
+ />
1704
+ <line
1705
+ x1="147.5"
1706
+ y1="17.4381"
1707
+ x2="147.5"
1708
+ y2="6.562"
1709
+ stroke="#595959"
1710
+ stroke-linecap="round"
1711
+ />
1712
+ <line
1713
+ x1="149.5"
1714
+ y1="16.5963"
1715
+ x2="149.5"
1716
+ y2="7.40366"
1717
+ stroke="#595959"
1718
+ stroke-linecap="round"
1719
+ />
1720
+ <line
1721
+ x1="151.5"
1722
+ y1="14.231"
1723
+ x2="151.5"
1724
+ y2="9.7691"
1725
+ stroke="#595959"
1726
+ stroke-linecap="round"
1727
+ />
1728
+ <line
1729
+ x1="153.5"
1730
+ y1="19.1121"
1731
+ x2="153.5"
1732
+ y2="4.88788"
1733
+ stroke="#595959"
1734
+ stroke-linecap="round"
1735
+ />
1736
+ </g>
1737
+ <defs>
1738
+ <clipPath id="clip0_17269_67648">
1739
+ <rect width="155" height="24" fill="white" />
1740
+ </clipPath>
1741
+ </defs>
1742
+ </svg>
1743
+ );
1744
+
1745
+ export const ClikCloseIcon = ({
1746
+ size = 24,
1747
+ className,
1748
+ }: {
1749
+ size?: number;
1750
+ className?: string;
1751
+ }) => (
1752
+ <svg
1753
+ width={size}
1754
+ height={size}
1755
+ viewBox="0 0 24 24"
1756
+ fill="none"
1757
+ xmlns="http://www.w3.org/2000/svg"
1758
+ className={className}
1759
+ >
1760
+ <rect width={size} height={size} rx="12" fill="#D9D9D9" />
1761
+ <path
1762
+ d="M17.0306 15.9694C17.1715 16.1103 17.2506 16.3014 17.2506 16.5006C17.2506 16.6999 17.1715 16.891 17.0306 17.0319C16.8897 17.1728 16.6986 17.2519 16.4993 17.2519C16.3001 17.2519 16.109 17.1728 15.9681 17.0319L12 13.0625L8.0306 17.0306C7.8897 17.1715 7.69861 17.2507 7.49935 17.2507C7.30009 17.2507 7.10899 17.1715 6.9681 17.0306C6.8272 16.8897 6.74805 16.6986 6.74805 16.4994C6.74805 16.3001 6.8272 16.109 6.9681 15.9681L10.9375 12L6.96935 8.03061C6.82845 7.88972 6.7493 7.69862 6.7493 7.49936C6.7493 7.30011 6.82845 7.10901 6.96935 6.96811C7.11024 6.82722 7.30134 6.74806 7.5006 6.74806C7.69986 6.74806 7.89095 6.82722 8.03185 6.96811L12 10.9375L15.9693 6.96749C16.1102 6.82659 16.3013 6.74744 16.5006 6.74744C16.6999 6.74744 16.891 6.82659 17.0318 6.96749C17.1727 7.10838 17.2519 7.29948 17.2519 7.49874C17.2519 7.69799 17.1727 7.88909 17.0318 8.02999L13.0625 12L17.0306 15.9694Z"
1763
+ fill="black"
1764
+ fill-opacity="0.85"
1765
+ />
1766
+ </svg>
1767
+ );
1768
+
1769
+ interface IconProps {
1770
+ color?: string; // Màu sắc có thể tùy chỉnh, mặc định là "#595959"
1771
+ }
1772
+ export const ClikMessageIcon = ({ color = '#595959' }: IconProps) => (
1773
+ <svg
1774
+ width="16"
1775
+ height="16"
1776
+ viewBox="0 0 16 16"
1777
+ fill="none"
1778
+ xmlns="http://www.w3.org/2000/svg"
1779
+ >
1780
+ <g clip-path="url(#clip0_17831_4761)">
1781
+ <rect width="16" height="16" fill="white" fill-opacity="0.01" />
1782
+ <path
1783
+ d="M14 7.66667C14.0023 8.54658 13.7967 9.41459 13.4 10.2C12.9296 11.1412 12.2065 11.9328 11.3116 12.4862C10.4168 13.0396 9.3855 13.3329 8.33333 13.3333C7.45342 13.3356 6.58541 13.1301 5.8 12.7333L2 14L3.26667 10.2C2.86995 9.41459 2.66437 8.54658 2.66667 7.66667C2.66707 6.61451 2.96041 5.58324 3.51381 4.68837C4.06722 3.7935 4.85884 3.07038 5.8 2.6C6.58541 2.20329 7.45342 1.99771 8.33333 2H8.66667C10.0562 2.07666 11.3687 2.66318 12.3528 3.64724C13.3368 4.63131 13.9233 5.94377 14 7.33334V7.66667Z"
1784
+ stroke={color}
1785
+ stroke-width="1.33"
1786
+ stroke-linecap="round"
1787
+ stroke-linejoin="round"
1788
+ />
1789
+ </g>
1790
+ <defs>
1791
+ <clipPath id="clip0_17831_4761">
1792
+ <rect width="16" height="16" fill="white" />
1793
+ </clipPath>
1794
+ </defs>
1795
+ </svg>
1796
+ );