bibot 1.0.62 → 1.0.63

Sign up to get free protection for your applications and to get access to all the features.
@@ -4259,10 +4259,16 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4259
4259
  borderTopLeftRadius: 8,
4260
4260
  borderTopRightRadius: 8,
4261
4261
  display: 'flex',
4262
- alignItems: 'center',
4263
- justifyContent: 'flex-start',
4262
+ flexDirection: 'column',
4263
+ justifyContent: 'space-between',
4264
4264
  paddingInline: 15,
4265
- paddingBlock: 20
4265
+ paddingBlock: 15
4266
+ }
4267
+ }, createElement("div", {
4268
+ style: {
4269
+ display: 'flex',
4270
+ justifyContent: 'flex-start',
4271
+ alignItems: 'center'
4266
4272
  }
4267
4273
  }, createElement("div", {
4268
4274
  style: {
@@ -4283,8 +4289,9 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4283
4289
  flexDirection: 'column',
4284
4290
  textAlign: 'left',
4285
4291
  paddingLeft: '10px',
4286
- justifyContent: 'flex-start',
4287
- color: '#fff'
4292
+ justifyContent: 'flex-end',
4293
+ color: '#fff',
4294
+ width: '100%'
4288
4295
  }
4289
4296
  }, createElement("span", {
4290
4297
  style: {
@@ -4295,11 +4302,29 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4295
4302
  style: {
4296
4303
  fontSize: '12px'
4297
4304
  }
4298
- }, "Typing...") : createElement("span", {
4305
+ }, "Typing...") : createElement("div", {
4306
+ style: {
4307
+ display: 'flex',
4308
+ justifyContent: 'space-between',
4309
+ width: '100%'
4310
+ }
4311
+ }, createElement("span", {
4299
4312
  style: {
4300
4313
  fontSize: '12px'
4301
4314
  }
4302
- }, isOnline ? 'Online' : 'Offline'))), createElement("div", {
4315
+ }, isOnline ? 'Online' : 'Offline')))), createElement("div", {
4316
+ style: {
4317
+ display: 'flex',
4318
+ flexDirection: 'row',
4319
+ justifyContent: 'flex-end'
4320
+ }
4321
+ }, createElement("span", {
4322
+ style: {
4323
+ fontSize: '6px',
4324
+ paddingRight: 10,
4325
+ color: '#dedede'
4326
+ }
4327
+ }, !chatBubbleConfig.title ? 'Bot' : chatBubbleConfig.title, " can make mistake "))), createElement("div", {
4303
4328
  className: styles['message-list'],
4304
4329
  style: {
4305
4330
  height: 'calc(100% - 100px)',
@@ -4320,7 +4345,9 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4320
4345
  style: {
4321
4346
  marginBottom: 10,
4322
4347
  padding: '5px 10px',
4323
- borderRadius: 8,
4348
+ borderTopRightRadius: 15,
4349
+ borderTopLeftRadius: 15,
4350
+ borderBottomLeftRadius: 15,
4324
4351
  maxWidth: '70%',
4325
4352
  alignSelf: 'flex-end',
4326
4353
  fontSize: '15px',
@@ -4353,14 +4380,16 @@ var ChatBubbleBiBot = function ChatBubbleBiBot(bibotProps) {
4353
4380
  style: {
4354
4381
  marginBottom: 10,
4355
4382
  padding: '5px 10px',
4356
- borderRadius: 8,
4383
+ borderTopRightRadius: 15,
4384
+ borderBottomRightRadius: 15,
4385
+ borderBottomLeftRadius: 15,
4357
4386
  maxWidth: '70%',
4358
4387
  alignSelf: 'flex-start',
4359
4388
  fontSize: '15px',
4360
4389
  backgroundColor: '#f0f0f0',
4361
4390
  color: '#000',
4362
4391
  textAlign: 'left',
4363
- marginTop: 5
4392
+ margin: 5
4364
4393
  }
4365
4394
  }, message.text));
4366
4395
  }), aiFollowUpQs && !isLoading && createElement(AiFollowUps, {