@rapidaai/react 1.1.34 → 1.1.37

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.
@@ -1,4 +1,4 @@
1
- export { ez as DeviceSelectorComponent } from '../device-selector-nRT7JeU2.mjs';
1
+ export { ex as DeviceSelectorComponent } from '../device-selector-DhqF2ruO.mjs';
2
2
  import 'react';
3
3
  import 'google-protobuf';
4
4
  import 'google-protobuf/google/protobuf/any_pb';
@@ -1,4 +1,4 @@
1
- export { ez as DeviceSelectorComponent } from '../device-selector-nRT7JeU2.js';
1
+ export { ex as DeviceSelectorComponent } from '../device-selector-DhqF2ruO.js';
2
2
  import 'react';
3
3
  import 'google-protobuf';
4
4
  import 'google-protobuf/google/protobuf/any_pb';
@@ -20412,8 +20412,6 @@ var require_assistant_api_pb = __commonJS({
20412
20412
  goog.exportSymbol("proto.assistant_api.GetAllAssistantProviderModelResponse", null, global);
20413
20413
  goog.exportSymbol("proto.assistant_api.GetAllAssistantRequest", null, global);
20414
20414
  goog.exportSymbol("proto.assistant_api.GetAllAssistantResponse", null, global);
20415
- goog.exportSymbol("proto.assistant_api.GetAllAssistantUserConversationRequest", null, global);
20416
- goog.exportSymbol("proto.assistant_api.GetAllAssistantUserConversationResponse", null, global);
20417
20415
  goog.exportSymbol("proto.assistant_api.GetAllMessageRequest", null, global);
20418
20416
  goog.exportSymbol("proto.assistant_api.GetAllMessageResponse", null, global);
20419
20417
  goog.exportSymbol("proto.assistant_api.GetAssistantConversationRequest", null, global);
@@ -20556,20 +20554,6 @@ var require_assistant_api_pb = __commonJS({
20556
20554
  if (goog.DEBUG && !COMPILED) {
20557
20555
  proto.assistant_api.UpdateAssistantDetailRequest.displayName = "proto.assistant_api.UpdateAssistantDetailRequest";
20558
20556
  }
20559
- proto.assistant_api.GetAllAssistantUserConversationRequest = function(opt_data) {
20560
- jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAllAssistantUserConversationRequest.repeatedFields_, null);
20561
- };
20562
- goog.inherits(proto.assistant_api.GetAllAssistantUserConversationRequest, jspb.Message);
20563
- if (goog.DEBUG && !COMPILED) {
20564
- proto.assistant_api.GetAllAssistantUserConversationRequest.displayName = "proto.assistant_api.GetAllAssistantUserConversationRequest";
20565
- }
20566
- proto.assistant_api.GetAllAssistantUserConversationResponse = function(opt_data) {
20567
- jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAllAssistantUserConversationResponse.repeatedFields_, null);
20568
- };
20569
- goog.inherits(proto.assistant_api.GetAllAssistantUserConversationResponse, jspb.Message);
20570
- if (goog.DEBUG && !COMPILED) {
20571
- proto.assistant_api.GetAllAssistantUserConversationResponse.displayName = "proto.assistant_api.GetAllAssistantUserConversationResponse";
20572
- }
20573
20557
  proto.assistant_api.GetAssistantConversationRequest = function(opt_data) {
20574
20558
  jspb.Message.initialize(this, opt_data, 0, -1, proto.assistant_api.GetAssistantConversationRequest.repeatedFields_, null);
20575
20559
  };
@@ -24330,337 +24314,6 @@ var require_assistant_api_pb = __commonJS({
24330
24314
  proto.assistant_api.UpdateAssistantDetailRequest.prototype.setDescription = function(value) {
24331
24315
  return jspb.Message.setProto3StringField(this, 3, value);
24332
24316
  };
24333
- proto.assistant_api.GetAllAssistantUserConversationRequest.repeatedFields_ = [3];
24334
- if (jspb.Message.GENERATE_TO_OBJECT) {
24335
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.toObject = function(opt_includeInstance) {
24336
- return proto.assistant_api.GetAllAssistantUserConversationRequest.toObject(opt_includeInstance, this);
24337
- };
24338
- proto.assistant_api.GetAllAssistantUserConversationRequest.toObject = function(includeInstance, msg) {
24339
- var f, obj = {
24340
- assistantid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
24341
- paginate: (f = msg.getPaginate()) && common_pb.Paginate.toObject(includeInstance, f),
24342
- criteriasList: jspb.Message.toObjectList(
24343
- msg.getCriteriasList(),
24344
- common_pb.Criteria.toObject,
24345
- includeInstance
24346
- ),
24347
- source: jspb.Message.getFieldWithDefault(msg, 7, 0)
24348
- };
24349
- if (includeInstance) {
24350
- obj.$jspbMessageInstance = msg;
24351
- }
24352
- return obj;
24353
- };
24354
- }
24355
- proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinary = function(bytes) {
24356
- var reader = new jspb.BinaryReader(bytes);
24357
- var msg = new proto.assistant_api.GetAllAssistantUserConversationRequest();
24358
- return proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinaryFromReader(msg, reader);
24359
- };
24360
- proto.assistant_api.GetAllAssistantUserConversationRequest.deserializeBinaryFromReader = function(msg, reader) {
24361
- while (reader.nextField()) {
24362
- if (reader.isEndGroup()) {
24363
- break;
24364
- }
24365
- var field = reader.getFieldNumber();
24366
- switch (field) {
24367
- case 1:
24368
- var value = (
24369
- /** @type {string} */
24370
- reader.readUint64String()
24371
- );
24372
- msg.setAssistantid(value);
24373
- break;
24374
- case 2:
24375
- var value = new common_pb.Paginate();
24376
- reader.readMessage(value, common_pb.Paginate.deserializeBinaryFromReader);
24377
- msg.setPaginate(value);
24378
- break;
24379
- case 3:
24380
- var value = new common_pb.Criteria();
24381
- reader.readMessage(value, common_pb.Criteria.deserializeBinaryFromReader);
24382
- msg.addCriterias(value);
24383
- break;
24384
- case 7:
24385
- var value = (
24386
- /** @type {!proto.Source} */
24387
- reader.readEnum()
24388
- );
24389
- msg.setSource(value);
24390
- break;
24391
- default:
24392
- reader.skipField();
24393
- break;
24394
- }
24395
- }
24396
- return msg;
24397
- };
24398
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.serializeBinary = function() {
24399
- var writer = new jspb.BinaryWriter();
24400
- proto.assistant_api.GetAllAssistantUserConversationRequest.serializeBinaryToWriter(this, writer);
24401
- return writer.getResultBuffer();
24402
- };
24403
- proto.assistant_api.GetAllAssistantUserConversationRequest.serializeBinaryToWriter = function(message, writer) {
24404
- var f = void 0;
24405
- f = message.getAssistantid();
24406
- if (parseInt(f, 10) !== 0) {
24407
- writer.writeUint64String(
24408
- 1,
24409
- f
24410
- );
24411
- }
24412
- f = message.getPaginate();
24413
- if (f != null) {
24414
- writer.writeMessage(
24415
- 2,
24416
- f,
24417
- common_pb.Paginate.serializeBinaryToWriter
24418
- );
24419
- }
24420
- f = message.getCriteriasList();
24421
- if (f.length > 0) {
24422
- writer.writeRepeatedMessage(
24423
- 3,
24424
- f,
24425
- common_pb.Criteria.serializeBinaryToWriter
24426
- );
24427
- }
24428
- f = message.getSource();
24429
- if (f !== 0) {
24430
- writer.writeEnum(
24431
- 7,
24432
- f
24433
- );
24434
- }
24435
- };
24436
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getAssistantid = function() {
24437
- return (
24438
- /** @type {string} */
24439
- jspb.Message.getFieldWithDefault(this, 1, "0")
24440
- );
24441
- };
24442
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setAssistantid = function(value) {
24443
- return jspb.Message.setProto3StringIntField(this, 1, value);
24444
- };
24445
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getPaginate = function() {
24446
- return (
24447
- /** @type{?proto.Paginate} */
24448
- jspb.Message.getWrapperField(this, common_pb.Paginate, 2)
24449
- );
24450
- };
24451
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setPaginate = function(value) {
24452
- return jspb.Message.setWrapperField(this, 2, value);
24453
- };
24454
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.clearPaginate = function() {
24455
- return this.setPaginate(void 0);
24456
- };
24457
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.hasPaginate = function() {
24458
- return jspb.Message.getField(this, 2) != null;
24459
- };
24460
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getCriteriasList = function() {
24461
- return (
24462
- /** @type{!Array<!proto.Criteria>} */
24463
- jspb.Message.getRepeatedWrapperField(this, common_pb.Criteria, 3)
24464
- );
24465
- };
24466
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setCriteriasList = function(value) {
24467
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
24468
- };
24469
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.addCriterias = function(opt_value, opt_index) {
24470
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.Criteria, opt_index);
24471
- };
24472
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.clearCriteriasList = function() {
24473
- return this.setCriteriasList([]);
24474
- };
24475
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.getSource = function() {
24476
- return (
24477
- /** @type {!proto.Source} */
24478
- jspb.Message.getFieldWithDefault(this, 7, 0)
24479
- );
24480
- };
24481
- proto.assistant_api.GetAllAssistantUserConversationRequest.prototype.setSource = function(value) {
24482
- return jspb.Message.setProto3EnumField(this, 7, value);
24483
- };
24484
- proto.assistant_api.GetAllAssistantUserConversationResponse.repeatedFields_ = [3];
24485
- if (jspb.Message.GENERATE_TO_OBJECT) {
24486
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.toObject = function(opt_includeInstance) {
24487
- return proto.assistant_api.GetAllAssistantUserConversationResponse.toObject(opt_includeInstance, this);
24488
- };
24489
- proto.assistant_api.GetAllAssistantUserConversationResponse.toObject = function(includeInstance, msg) {
24490
- var f, obj = {
24491
- code: jspb.Message.getFieldWithDefault(msg, 1, 0),
24492
- success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
24493
- dataList: jspb.Message.toObjectList(
24494
- msg.getDataList(),
24495
- common_pb.AssistantConversation.toObject,
24496
- includeInstance
24497
- ),
24498
- error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
24499
- paginated: (f = msg.getPaginated()) && common_pb.Paginated.toObject(includeInstance, f)
24500
- };
24501
- if (includeInstance) {
24502
- obj.$jspbMessageInstance = msg;
24503
- }
24504
- return obj;
24505
- };
24506
- }
24507
- proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinary = function(bytes) {
24508
- var reader = new jspb.BinaryReader(bytes);
24509
- var msg = new proto.assistant_api.GetAllAssistantUserConversationResponse();
24510
- return proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinaryFromReader(msg, reader);
24511
- };
24512
- proto.assistant_api.GetAllAssistantUserConversationResponse.deserializeBinaryFromReader = function(msg, reader) {
24513
- while (reader.nextField()) {
24514
- if (reader.isEndGroup()) {
24515
- break;
24516
- }
24517
- var field = reader.getFieldNumber();
24518
- switch (field) {
24519
- case 1:
24520
- var value = (
24521
- /** @type {number} */
24522
- reader.readInt32()
24523
- );
24524
- msg.setCode(value);
24525
- break;
24526
- case 2:
24527
- var value = (
24528
- /** @type {boolean} */
24529
- reader.readBool()
24530
- );
24531
- msg.setSuccess(value);
24532
- break;
24533
- case 3:
24534
- var value = new common_pb.AssistantConversation();
24535
- reader.readMessage(value, common_pb.AssistantConversation.deserializeBinaryFromReader);
24536
- msg.addData(value);
24537
- break;
24538
- case 4:
24539
- var value = new common_pb.Error();
24540
- reader.readMessage(value, common_pb.Error.deserializeBinaryFromReader);
24541
- msg.setError(value);
24542
- break;
24543
- case 5:
24544
- var value = new common_pb.Paginated();
24545
- reader.readMessage(value, common_pb.Paginated.deserializeBinaryFromReader);
24546
- msg.setPaginated(value);
24547
- break;
24548
- default:
24549
- reader.skipField();
24550
- break;
24551
- }
24552
- }
24553
- return msg;
24554
- };
24555
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.serializeBinary = function() {
24556
- var writer = new jspb.BinaryWriter();
24557
- proto.assistant_api.GetAllAssistantUserConversationResponse.serializeBinaryToWriter(this, writer);
24558
- return writer.getResultBuffer();
24559
- };
24560
- proto.assistant_api.GetAllAssistantUserConversationResponse.serializeBinaryToWriter = function(message, writer) {
24561
- var f = void 0;
24562
- f = message.getCode();
24563
- if (f !== 0) {
24564
- writer.writeInt32(
24565
- 1,
24566
- f
24567
- );
24568
- }
24569
- f = message.getSuccess();
24570
- if (f) {
24571
- writer.writeBool(
24572
- 2,
24573
- f
24574
- );
24575
- }
24576
- f = message.getDataList();
24577
- if (f.length > 0) {
24578
- writer.writeRepeatedMessage(
24579
- 3,
24580
- f,
24581
- common_pb.AssistantConversation.serializeBinaryToWriter
24582
- );
24583
- }
24584
- f = message.getError();
24585
- if (f != null) {
24586
- writer.writeMessage(
24587
- 4,
24588
- f,
24589
- common_pb.Error.serializeBinaryToWriter
24590
- );
24591
- }
24592
- f = message.getPaginated();
24593
- if (f != null) {
24594
- writer.writeMessage(
24595
- 5,
24596
- f,
24597
- common_pb.Paginated.serializeBinaryToWriter
24598
- );
24599
- }
24600
- };
24601
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getCode = function() {
24602
- return (
24603
- /** @type {number} */
24604
- jspb.Message.getFieldWithDefault(this, 1, 0)
24605
- );
24606
- };
24607
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setCode = function(value) {
24608
- return jspb.Message.setProto3IntField(this, 1, value);
24609
- };
24610
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getSuccess = function() {
24611
- return (
24612
- /** @type {boolean} */
24613
- jspb.Message.getBooleanFieldWithDefault(this, 2, false)
24614
- );
24615
- };
24616
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setSuccess = function(value) {
24617
- return jspb.Message.setProto3BooleanField(this, 2, value);
24618
- };
24619
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getDataList = function() {
24620
- return (
24621
- /** @type{!Array<!proto.AssistantConversation>} */
24622
- jspb.Message.getRepeatedWrapperField(this, common_pb.AssistantConversation, 3)
24623
- );
24624
- };
24625
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setDataList = function(value) {
24626
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
24627
- };
24628
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.addData = function(opt_value, opt_index) {
24629
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.AssistantConversation, opt_index);
24630
- };
24631
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearDataList = function() {
24632
- return this.setDataList([]);
24633
- };
24634
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getError = function() {
24635
- return (
24636
- /** @type{?proto.Error} */
24637
- jspb.Message.getWrapperField(this, common_pb.Error, 4)
24638
- );
24639
- };
24640
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setError = function(value) {
24641
- return jspb.Message.setWrapperField(this, 4, value);
24642
- };
24643
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearError = function() {
24644
- return this.setError(void 0);
24645
- };
24646
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.hasError = function() {
24647
- return jspb.Message.getField(this, 4) != null;
24648
- };
24649
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.getPaginated = function() {
24650
- return (
24651
- /** @type{?proto.Paginated} */
24652
- jspb.Message.getWrapperField(this, common_pb.Paginated, 5)
24653
- );
24654
- };
24655
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.setPaginated = function(value) {
24656
- return jspb.Message.setWrapperField(this, 5, value);
24657
- };
24658
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.clearPaginated = function() {
24659
- return this.setPaginated(void 0);
24660
- };
24661
- proto.assistant_api.GetAllAssistantUserConversationResponse.prototype.hasPaginated = function() {
24662
- return jspb.Message.getField(this, 5) != null;
24663
- };
24664
24317
  proto.assistant_api.GetAssistantConversationRequest.repeatedFields_ = [5];
24665
24318
  if (jspb.Message.GENERATE_TO_OBJECT) {
24666
24319
  proto.assistant_api.GetAssistantConversationRequest.prototype.toObject = function(opt_includeInstance) {
@@ -24669,7 +24322,7 @@ var require_assistant_api_pb = __commonJS({
24669
24322
  proto.assistant_api.GetAssistantConversationRequest.toObject = function(includeInstance, msg) {
24670
24323
  var f, obj = {
24671
24324
  assistantid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
24672
- assistantconversationid: jspb.Message.getFieldWithDefault(msg, 2, "0"),
24325
+ id: jspb.Message.getFieldWithDefault(msg, 2, "0"),
24673
24326
  selectorsList: jspb.Message.toObjectList(
24674
24327
  msg.getSelectorsList(),
24675
24328
  common_pb.FieldSelector.toObject,
@@ -24706,7 +24359,7 @@ var require_assistant_api_pb = __commonJS({
24706
24359
  /** @type {string} */
24707
24360
  reader.readUint64String()
24708
24361
  );
24709
- msg.setAssistantconversationid(value);
24362
+ msg.setId(value);
24710
24363
  break;
24711
24364
  case 5:
24712
24365
  var value = new common_pb.FieldSelector();
@@ -24734,7 +24387,7 @@ var require_assistant_api_pb = __commonJS({
24734
24387
  f
24735
24388
  );
24736
24389
  }
24737
- f = message.getAssistantconversationid();
24390
+ f = message.getId();
24738
24391
  if (parseInt(f, 10) !== 0) {
24739
24392
  writer.writeUint64String(
24740
24393
  2,
@@ -24759,13 +24412,13 @@ var require_assistant_api_pb = __commonJS({
24759
24412
  proto.assistant_api.GetAssistantConversationRequest.prototype.setAssistantid = function(value) {
24760
24413
  return jspb.Message.setProto3StringIntField(this, 1, value);
24761
24414
  };
24762
- proto.assistant_api.GetAssistantConversationRequest.prototype.getAssistantconversationid = function() {
24415
+ proto.assistant_api.GetAssistantConversationRequest.prototype.getId = function() {
24763
24416
  return (
24764
24417
  /** @type {string} */
24765
24418
  jspb.Message.getFieldWithDefault(this, 2, "0")
24766
24419
  );
24767
24420
  };
24768
- proto.assistant_api.GetAssistantConversationRequest.prototype.setAssistantconversationid = function(value) {
24421
+ proto.assistant_api.GetAssistantConversationRequest.prototype.setId = function(value) {
24769
24422
  return jspb.Message.setProto3StringIntField(this, 2, value);
24770
24423
  };
24771
24424
  proto.assistant_api.GetAssistantConversationRequest.prototype.getSelectorsList = function() {