deep-chat-dev 9.0.101 → 9.0.103

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.
@@ -507,54 +507,6 @@
507
507
  "declarations": [],
508
508
  "exports": []
509
509
  },
510
- {
511
- "kind": "javascript-module",
512
- "path": "src/services/serviceIO.ts",
513
- "declarations": [],
514
- "exports": []
515
- },
516
- {
517
- "kind": "javascript-module",
518
- "path": "src/services/serviceIOFactory.ts",
519
- "declarations": [
520
- {
521
- "kind": "class",
522
- "description": "",
523
- "name": "ServiceIOFactory",
524
- "members": [
525
- {
526
- "kind": "method",
527
- "name": "create",
528
- "privacy": "public",
529
- "static": true,
530
- "return": {
531
- "type": {
532
- "text": "ServiceIO"
533
- }
534
- },
535
- "parameters": [
536
- {
537
- "name": "deepChat",
538
- "type": {
539
- "text": "DeepChat"
540
- }
541
- }
542
- ]
543
- }
544
- ]
545
- }
546
- ],
547
- "exports": [
548
- {
549
- "kind": "js",
550
- "name": "ServiceIOFactory",
551
- "declaration": {
552
- "name": "ServiceIOFactory",
553
- "module": "src/services/serviceIOFactory.ts"
554
- }
555
- }
556
- ]
557
- },
558
510
  {
559
511
  "kind": "javascript-module",
560
512
  "path": "src/icons/audioIcon.ts",
@@ -912,6 +864,54 @@
912
864
  }
913
865
  ]
914
866
  },
867
+ {
868
+ "kind": "javascript-module",
869
+ "path": "src/services/serviceIO.ts",
870
+ "declarations": [],
871
+ "exports": []
872
+ },
873
+ {
874
+ "kind": "javascript-module",
875
+ "path": "src/services/serviceIOFactory.ts",
876
+ "declarations": [
877
+ {
878
+ "kind": "class",
879
+ "description": "",
880
+ "name": "ServiceIOFactory",
881
+ "members": [
882
+ {
883
+ "kind": "method",
884
+ "name": "create",
885
+ "privacy": "public",
886
+ "static": true,
887
+ "return": {
888
+ "type": {
889
+ "text": "ServiceIO"
890
+ }
891
+ },
892
+ "parameters": [
893
+ {
894
+ "name": "deepChat",
895
+ "type": {
896
+ "text": "DeepChat"
897
+ }
898
+ }
899
+ ]
900
+ }
901
+ ]
902
+ }
903
+ ],
904
+ "exports": [
905
+ {
906
+ "kind": "js",
907
+ "name": "ServiceIOFactory",
908
+ "declaration": {
909
+ "name": "ServiceIOFactory",
910
+ "module": "src/services/serviceIOFactory.ts"
911
+ }
912
+ }
913
+ ]
914
+ },
915
915
  {
916
916
  "kind": "javascript-module",
917
917
  "path": "src/types/APIKey.ts",
@@ -24738,6 +24738,12 @@
24738
24738
  }
24739
24739
  ]
24740
24740
  },
24741
+ {
24742
+ "kind": "javascript-module",
24743
+ "path": "src/types/webModel/webModel.ts",
24744
+ "declarations": [],
24745
+ "exports": []
24746
+ },
24741
24747
  {
24742
24748
  "kind": "javascript-module",
24743
24749
  "path": "src/views/chat/chatView.ts",
@@ -25317,12 +25323,6 @@
25317
25323
  }
25318
25324
  ]
25319
25325
  },
25320
- {
25321
- "kind": "javascript-module",
25322
- "path": "src/types/webModel/webModel.ts",
25323
- "declarations": [],
25324
- "exports": []
25325
- },
25326
25326
  {
25327
25327
  "kind": "javascript-module",
25328
25328
  "path": "src/utils/HTTP/HTTPRequest.ts",
@@ -26205,6 +26205,132 @@
26205
26205
  "declarations": [],
26206
26206
  "exports": []
26207
26207
  },
26208
+ {
26209
+ "kind": "javascript-module",
26210
+ "path": "src/utils/data/objectUtils.ts",
26211
+ "declarations": [
26212
+ {
26213
+ "kind": "class",
26214
+ "description": "",
26215
+ "name": "ObjectUtils",
26216
+ "members": [
26217
+ {
26218
+ "kind": "method",
26219
+ "name": "setPropertyValueIfDoesNotExist",
26220
+ "privacy": "public",
26221
+ "static": true,
26222
+ "parameters": [
26223
+ {
26224
+ "name": "object",
26225
+ "type": {
26226
+ "text": "T"
26227
+ }
26228
+ },
26229
+ {
26230
+ "name": "nestedKeys",
26231
+ "type": {
26232
+ "text": "string[]"
26233
+ }
26234
+ },
26235
+ {
26236
+ "name": "value",
26237
+ "type": {
26238
+ "text": "unknown"
26239
+ }
26240
+ }
26241
+ ]
26242
+ },
26243
+ {
26244
+ "kind": "method",
26245
+ "name": "setPropertyValue",
26246
+ "privacy": "public",
26247
+ "static": true,
26248
+ "parameters": [
26249
+ {
26250
+ "name": "object",
26251
+ "type": {
26252
+ "text": "T"
26253
+ }
26254
+ },
26255
+ {
26256
+ "name": "nestedKeys",
26257
+ "type": {
26258
+ "text": "string[]"
26259
+ }
26260
+ },
26261
+ {
26262
+ "name": "value",
26263
+ "type": {
26264
+ "text": "unknown"
26265
+ }
26266
+ }
26267
+ ]
26268
+ },
26269
+ {
26270
+ "kind": "method",
26271
+ "name": "getObjectValue",
26272
+ "privacy": "public",
26273
+ "static": true,
26274
+ "return": {
26275
+ "type": {
26276
+ "text": "object | undefined"
26277
+ }
26278
+ },
26279
+ "parameters": [
26280
+ {
26281
+ "name": "object",
26282
+ "type": {
26283
+ "text": "T"
26284
+ }
26285
+ },
26286
+ {
26287
+ "name": "nestedKeys",
26288
+ "type": {
26289
+ "text": "string[]"
26290
+ }
26291
+ }
26292
+ ]
26293
+ },
26294
+ {
26295
+ "kind": "method",
26296
+ "name": "overwritePropertyObjectFromAnother",
26297
+ "privacy": "public",
26298
+ "static": true,
26299
+ "parameters": [
26300
+ {
26301
+ "name": "target",
26302
+ "type": {
26303
+ "text": "T"
26304
+ }
26305
+ },
26306
+ {
26307
+ "name": "source",
26308
+ "type": {
26309
+ "text": "T"
26310
+ }
26311
+ },
26312
+ {
26313
+ "name": "nestedKeys",
26314
+ "type": {
26315
+ "text": "string[]"
26316
+ }
26317
+ }
26318
+ ]
26319
+ }
26320
+ ]
26321
+ }
26322
+ ],
26323
+ "exports": [
26324
+ {
26325
+ "kind": "js",
26326
+ "name": "ObjectUtils",
26327
+ "declaration": {
26328
+ "name": "ObjectUtils",
26329
+ "module": "src/utils/data/objectUtils.ts"
26330
+ }
26331
+ }
26332
+ ]
26333
+ },
26208
26334
  {
26209
26335
  "kind": "javascript-module",
26210
26336
  "path": "src/utils/decorators/property.ts",
@@ -26319,112 +26445,112 @@
26319
26445
  },
26320
26446
  {
26321
26447
  "kind": "javascript-module",
26322
- "path": "src/utils/data/objectUtils.ts",
26448
+ "path": "src/utils/demo/demo.ts",
26323
26449
  "declarations": [
26324
26450
  {
26325
26451
  "kind": "class",
26326
26452
  "description": "",
26327
- "name": "ObjectUtils",
26453
+ "name": "Demo",
26328
26454
  "members": [
26329
26455
  {
26330
- "kind": "method",
26331
- "name": "setPropertyValueIfDoesNotExist",
26456
+ "kind": "field",
26457
+ "name": "URL",
26458
+ "type": {
26459
+ "text": "string"
26460
+ },
26332
26461
  "privacy": "public",
26333
26462
  "static": true,
26463
+ "default": "'deep-chat-demo'"
26464
+ },
26465
+ {
26466
+ "kind": "method",
26467
+ "name": "generateResponse",
26468
+ "privacy": "private",
26469
+ "static": true,
26334
26470
  "parameters": [
26335
26471
  {
26336
- "name": "object",
26337
- "type": {
26338
- "text": "T"
26339
- }
26340
- },
26341
- {
26342
- "name": "nestedKeys",
26343
- "type": {
26344
- "text": "string[]"
26345
- }
26346
- },
26347
- {
26348
- "name": "value",
26472
+ "name": "messages",
26349
26473
  "type": {
26350
- "text": "unknown"
26474
+ "text": "Messages"
26351
26475
  }
26352
26476
  }
26353
26477
  ]
26354
26478
  },
26355
26479
  {
26356
26480
  "kind": "method",
26357
- "name": "setPropertyValue",
26358
- "privacy": "public",
26481
+ "name": "getCustomResponse",
26482
+ "privacy": "private",
26359
26483
  "static": true,
26360
26484
  "parameters": [
26361
26485
  {
26362
- "name": "object",
26363
- "type": {
26364
- "text": "T"
26365
- }
26366
- },
26367
- {
26368
- "name": "nestedKeys",
26486
+ "name": "customResponse",
26369
26487
  "type": {
26370
- "text": "string[]"
26488
+ "text": "DemoResponse"
26371
26489
  }
26372
26490
  },
26373
26491
  {
26374
- "name": "value",
26492
+ "name": "requestMessage",
26375
26493
  "type": {
26376
- "text": "unknown"
26494
+ "text": "MessageContentI"
26377
26495
  }
26378
26496
  }
26379
26497
  ]
26380
26498
  },
26381
26499
  {
26382
26500
  "kind": "method",
26383
- "name": "getObjectValue",
26384
- "privacy": "public",
26501
+ "name": "getResponse",
26502
+ "privacy": "private",
26385
26503
  "static": true,
26386
26504
  "return": {
26387
26505
  "type": {
26388
- "text": "object | undefined"
26506
+ "text": "Response"
26389
26507
  }
26390
26508
  },
26391
26509
  "parameters": [
26392
26510
  {
26393
- "name": "object",
26394
- "type": {
26395
- "text": "T"
26396
- }
26397
- },
26398
- {
26399
- "name": "nestedKeys",
26511
+ "name": "messages",
26400
26512
  "type": {
26401
- "text": "string[]"
26513
+ "text": "Messages"
26402
26514
  }
26403
26515
  }
26404
26516
  ]
26405
26517
  },
26406
26518
  {
26407
26519
  "kind": "method",
26408
- "name": "overwritePropertyObjectFromAnother",
26520
+ "name": "request",
26409
26521
  "privacy": "public",
26410
26522
  "static": true,
26411
26523
  "parameters": [
26412
26524
  {
26413
- "name": "target",
26525
+ "name": "io",
26414
26526
  "type": {
26415
- "text": "T"
26527
+ "text": "ServiceIO"
26416
26528
  }
26417
26529
  },
26418
26530
  {
26419
- "name": "source",
26531
+ "name": "messages",
26420
26532
  "type": {
26421
- "text": "T"
26533
+ "text": "Messages"
26534
+ }
26535
+ }
26536
+ ]
26537
+ },
26538
+ {
26539
+ "kind": "method",
26540
+ "name": "requestStream",
26541
+ "privacy": "public",
26542
+ "static": true,
26543
+ "parameters": [
26544
+ {
26545
+ "name": "messages",
26546
+ "type": {
26547
+ "text": "Messages"
26422
26548
  }
26423
26549
  },
26424
26550
  {
26425
- "name": "nestedKeys",
26551
+ "name": "sh",
26426
26552
  "type": {
26427
- "text": "string[]"
26553
+ "text": "StreamHandlers"
26428
26554
  }
26429
26555
  }
26430
26556
  ]
@@ -26435,10 +26561,10 @@
26435
26561
  "exports": [
26436
26562
  {
26437
26563
  "kind": "js",
26438
- "name": "ObjectUtils",
26564
+ "name": "Demo",
26439
26565
  "declaration": {
26440
- "name": "ObjectUtils",
26441
- "module": "src/utils/data/objectUtils.ts"
26566
+ "name": "Demo",
26567
+ "module": "src/utils/demo/demo.ts"
26442
26568
  }
26443
26569
  }
26444
26570
  ]
@@ -26896,132 +27022,6 @@
26896
27022
  }
26897
27023
  ]
26898
27024
  },
26899
- {
26900
- "kind": "javascript-module",
26901
- "path": "src/utils/demo/demo.ts",
26902
- "declarations": [
26903
- {
26904
- "kind": "class",
26905
- "description": "",
26906
- "name": "Demo",
26907
- "members": [
26908
- {
26909
- "kind": "field",
26910
- "name": "URL",
26911
- "type": {
26912
- "text": "string"
26913
- },
26914
- "privacy": "public",
26915
- "static": true,
26916
- "default": "'deep-chat-demo'"
26917
- },
26918
- {
26919
- "kind": "method",
26920
- "name": "generateResponse",
26921
- "privacy": "private",
26922
- "static": true,
26923
- "parameters": [
26924
- {
26925
- "name": "messages",
26926
- "type": {
26927
- "text": "Messages"
26928
- }
26929
- }
26930
- ]
26931
- },
26932
- {
26933
- "kind": "method",
26934
- "name": "getCustomResponse",
26935
- "privacy": "private",
26936
- "static": true,
26937
- "parameters": [
26938
- {
26939
- "name": "customResponse",
26940
- "type": {
26941
- "text": "DemoResponse"
26942
- }
26943
- },
26944
- {
26945
- "name": "requestMessage",
26946
- "type": {
26947
- "text": "MessageContentI"
26948
- }
26949
- }
26950
- ]
26951
- },
26952
- {
26953
- "kind": "method",
26954
- "name": "getResponse",
26955
- "privacy": "private",
26956
- "static": true,
26957
- "return": {
26958
- "type": {
26959
- "text": "Response"
26960
- }
26961
- },
26962
- "parameters": [
26963
- {
26964
- "name": "messages",
26965
- "type": {
26966
- "text": "Messages"
26967
- }
26968
- }
26969
- ]
26970
- },
26971
- {
26972
- "kind": "method",
26973
- "name": "request",
26974
- "privacy": "public",
26975
- "static": true,
26976
- "parameters": [
26977
- {
26978
- "name": "io",
26979
- "type": {
26980
- "text": "ServiceIO"
26981
- }
26982
- },
26983
- {
26984
- "name": "messages",
26985
- "type": {
26986
- "text": "Messages"
26987
- }
26988
- }
26989
- ]
26990
- },
26991
- {
26992
- "kind": "method",
26993
- "name": "requestStream",
26994
- "privacy": "public",
26995
- "static": true,
26996
- "parameters": [
26997
- {
26998
- "name": "messages",
26999
- "type": {
27000
- "text": "Messages"
27001
- }
27002
- },
27003
- {
27004
- "name": "sh",
27005
- "type": {
27006
- "text": "StreamHandlers"
27007
- }
27008
- }
27009
- ]
27010
- }
27011
- ]
27012
- }
27013
- ],
27014
- "exports": [
27015
- {
27016
- "kind": "js",
27017
- "name": "Demo",
27018
- "declaration": {
27019
- "name": "Demo",
27020
- "module": "src/utils/demo/demo.ts"
27021
- }
27022
- }
27023
- ]
27024
- },
27025
27025
  {
27026
27026
  "kind": "javascript-module",
27027
27027
  "path": "src/utils/events/fireEvents.ts",
@@ -27185,6 +27185,119 @@
27185
27185
  }
27186
27186
  ]
27187
27187
  },
27188
+ {
27189
+ "kind": "javascript-module",
27190
+ "path": "src/utils/legacy/legacy.ts",
27191
+ "declarations": [
27192
+ {
27193
+ "kind": "class",
27194
+ "description": "",
27195
+ "name": "Legacy",
27196
+ "members": [
27197
+ {
27198
+ "kind": "method",
27199
+ "name": "checkForContainerStyles",
27200
+ "privacy": "public",
27201
+ "static": true,
27202
+ "parameters": [
27203
+ {
27204
+ "name": "deepChat",
27205
+ "type": {
27206
+ "text": "DeepChat"
27207
+ }
27208
+ },
27209
+ {
27210
+ "name": "containerRef",
27211
+ "type": {
27212
+ "text": "HTMLElement"
27213
+ }
27214
+ }
27215
+ ]
27216
+ },
27217
+ {
27218
+ "kind": "method",
27219
+ "name": "handleResponseProperty",
27220
+ "privacy": "public",
27221
+ "static": true,
27222
+ "parameters": [
27223
+ {
27224
+ "name": "result",
27225
+ "type": {
27226
+ "text": "any | Response"
27227
+ }
27228
+ }
27229
+ ]
27230
+ },
27231
+ {
27232
+ "kind": "method",
27233
+ "name": "processInitialMessageFile",
27234
+ "privacy": "public",
27235
+ "static": true,
27236
+ "parameters": [
27237
+ {
27238
+ "name": "message",
27239
+ "type": {
27240
+ "text": "MessageContent"
27241
+ }
27242
+ }
27243
+ ]
27244
+ },
27245
+ {
27246
+ "kind": "method",
27247
+ "name": "processValidateInput",
27248
+ "privacy": "public",
27249
+ "static": true,
27250
+ "parameters": [
27251
+ {
27252
+ "name": "deepChat",
27253
+ "type": {
27254
+ "text": "DeepChat"
27255
+ }
27256
+ }
27257
+ ]
27258
+ },
27259
+ {
27260
+ "kind": "method",
27261
+ "name": "processSubmitUserMessage",
27262
+ "privacy": "public",
27263
+ "static": true,
27264
+ "parameters": [
27265
+ {
27266
+ "name": "content",
27267
+ "type": {
27268
+ "text": "string"
27269
+ }
27270
+ }
27271
+ ]
27272
+ },
27273
+ {
27274
+ "kind": "method",
27275
+ "name": "flagHTMLUpdateClass",
27276
+ "privacy": "public",
27277
+ "static": true,
27278
+ "parameters": [
27279
+ {
27280
+ "name": "bubbleElement",
27281
+ "type": {
27282
+ "text": "HTMLElement"
27283
+ }
27284
+ }
27285
+ ]
27286
+ }
27287
+ ]
27288
+ }
27289
+ ],
27290
+ "exports": [
27291
+ {
27292
+ "kind": "js",
27293
+ "name": "Legacy",
27294
+ "declaration": {
27295
+ "name": "Legacy",
27296
+ "module": "src/utils/legacy/legacy.ts"
27297
+ }
27298
+ }
27299
+ ]
27300
+ },
27188
27301
  {
27189
27302
  "kind": "javascript-module",
27190
27303
  "path": "src/utils/svg/svgIconUtils.ts",
@@ -27467,102 +27580,89 @@
27467
27580
  },
27468
27581
  {
27469
27582
  "kind": "javascript-module",
27470
- "path": "src/utils/legacy/legacy.ts",
27583
+ "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
27471
27584
  "declarations": [
27472
27585
  {
27473
27586
  "kind": "class",
27474
27587
  "description": "",
27475
- "name": "Legacy",
27588
+ "name": "AssemblyAIUtils",
27476
27589
  "members": [
27477
27590
  {
27478
27591
  "kind": "method",
27479
- "name": "checkForContainerStyles",
27592
+ "name": "poll",
27480
27593
  "privacy": "public",
27481
27594
  "static": true,
27482
27595
  "parameters": [
27483
27596
  {
27484
- "name": "deepChat",
27597
+ "name": "api_token",
27485
27598
  "type": {
27486
- "text": "DeepChat"
27599
+ "text": "string"
27487
27600
  }
27488
27601
  },
27489
27602
  {
27490
- "name": "containerRef",
27603
+ "name": "audio_url",
27491
27604
  "type": {
27492
- "text": "HTMLElement"
27605
+ "text": "string"
27493
27606
  }
27494
27607
  }
27495
27608
  ]
27496
27609
  },
27497
27610
  {
27498
27611
  "kind": "method",
27499
- "name": "handleResponseProperty",
27612
+ "name": "buildHeaders",
27500
27613
  "privacy": "public",
27501
27614
  "static": true,
27502
27615
  "parameters": [
27503
27616
  {
27504
- "name": "result",
27617
+ "name": "key",
27505
27618
  "type": {
27506
- "text": "any | Response"
27619
+ "text": "string"
27507
27620
  }
27508
27621
  }
27509
27622
  ]
27510
27623
  },
27511
27624
  {
27512
27625
  "kind": "method",
27513
- "name": "processInitialMessageFile",
27514
- "privacy": "public",
27626
+ "name": "handleVerificationResult",
27627
+ "privacy": "private",
27515
27628
  "static": true,
27516
27629
  "parameters": [
27517
27630
  {
27518
- "name": "message",
27631
+ "name": "result",
27519
27632
  "type": {
27520
- "text": "MessageContent"
27633
+ "text": "object"
27521
27634
  }
27522
- }
27523
- ]
27524
- },
27525
- {
27526
- "kind": "method",
27527
- "name": "processValidateInput",
27528
- "privacy": "public",
27529
- "static": true,
27530
- "parameters": [
27635
+ },
27531
27636
  {
27532
- "name": "deepChat",
27637
+ "name": "key",
27533
27638
  "type": {
27534
- "text": "DeepChat"
27639
+ "text": "string"
27535
27640
  }
27536
- }
27537
- ]
27538
- },
27539
- {
27540
- "kind": "method",
27541
- "name": "processSubmitUserMessage",
27542
- "privacy": "public",
27543
- "static": true,
27544
- "parameters": [
27641
+ },
27545
27642
  {
27546
- "name": "content",
27643
+ "name": "onSuccess",
27547
27644
  "type": {
27548
- "text": "string"
27645
+ "text": "(key: string) => void"
27646
+ }
27647
+ },
27648
+ {
27649
+ "name": "onFail",
27650
+ "type": {
27651
+ "text": "(message: string) => void"
27549
27652
  }
27550
27653
  }
27551
27654
  ]
27552
27655
  },
27553
27656
  {
27554
27657
  "kind": "method",
27555
- "name": "flagHTMLUpdateClass",
27658
+ "name": "buildKeyVerificationDetails",
27556
27659
  "privacy": "public",
27557
27660
  "static": true,
27558
- "parameters": [
27559
- {
27560
- "name": "bubbleElement",
27561
- "type": {
27562
- "text": "HTMLElement"
27563
- }
27661
+ "return": {
27662
+ "type": {
27663
+ "text": "KeyVerificationDetails"
27564
27664
  }
27565
- ]
27665
+ }
27566
27666
  }
27567
27667
  ]
27568
27668
  }
@@ -27570,37 +27670,37 @@
27570
27670
  "exports": [
27571
27671
  {
27572
27672
  "kind": "js",
27573
- "name": "Legacy",
27673
+ "name": "AssemblyAIUtils",
27574
27674
  "declaration": {
27575
- "name": "Legacy",
27576
- "module": "src/utils/legacy/legacy.ts"
27675
+ "name": "AssemblyAIUtils",
27676
+ "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
27577
27677
  }
27578
27678
  }
27579
27679
  ]
27580
27680
  },
27581
27681
  {
27582
27682
  "kind": "javascript-module",
27583
- "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts",
27683
+ "path": "src/services/azure/utils/azureUtils.ts",
27584
27684
  "declarations": [
27585
27685
  {
27586
27686
  "kind": "class",
27587
27687
  "description": "",
27588
- "name": "AssemblyAIUtils",
27688
+ "name": "AzureUtils",
27589
27689
  "members": [
27590
27690
  {
27591
27691
  "kind": "method",
27592
- "name": "poll",
27692
+ "name": "buildTextToSpeechHeaders",
27593
27693
  "privacy": "public",
27594
27694
  "static": true,
27595
27695
  "parameters": [
27596
27696
  {
27597
- "name": "api_token",
27697
+ "name": "outputFormat",
27598
27698
  "type": {
27599
27699
  "text": "string"
27600
27700
  }
27601
27701
  },
27602
27702
  {
27603
- "name": "audio_url",
27703
+ "name": "key",
27604
27704
  "type": {
27605
27705
  "text": "string"
27606
27706
  }
@@ -27609,7 +27709,7 @@
27609
27709
  },
27610
27710
  {
27611
27711
  "kind": "method",
27612
- "name": "buildHeaders",
27712
+ "name": "buildSpeechToTextHeaders",
27613
27713
  "privacy": "public",
27614
27714
  "static": true,
27615
27715
  "parameters": [
@@ -27623,107 +27723,7 @@
27623
27723
  },
27624
27724
  {
27625
27725
  "kind": "method",
27626
- "name": "handleVerificationResult",
27627
- "privacy": "private",
27628
- "static": true,
27629
- "parameters": [
27630
- {
27631
- "name": "result",
27632
- "type": {
27633
- "text": "object"
27634
- }
27635
- },
27636
- {
27637
- "name": "key",
27638
- "type": {
27639
- "text": "string"
27640
- }
27641
- },
27642
- {
27643
- "name": "onSuccess",
27644
- "type": {
27645
- "text": "(key: string) => void"
27646
- }
27647
- },
27648
- {
27649
- "name": "onFail",
27650
- "type": {
27651
- "text": "(message: string) => void"
27652
- }
27653
- }
27654
- ]
27655
- },
27656
- {
27657
- "kind": "method",
27658
- "name": "buildKeyVerificationDetails",
27659
- "privacy": "public",
27660
- "static": true,
27661
- "return": {
27662
- "type": {
27663
- "text": "KeyVerificationDetails"
27664
- }
27665
- }
27666
- }
27667
- ]
27668
- }
27669
- ],
27670
- "exports": [
27671
- {
27672
- "kind": "js",
27673
- "name": "AssemblyAIUtils",
27674
- "declaration": {
27675
- "name": "AssemblyAIUtils",
27676
- "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts"
27677
- }
27678
- }
27679
- ]
27680
- },
27681
- {
27682
- "kind": "javascript-module",
27683
- "path": "src/services/azure/utils/azureUtils.ts",
27684
- "declarations": [
27685
- {
27686
- "kind": "class",
27687
- "description": "",
27688
- "name": "AzureUtils",
27689
- "members": [
27690
- {
27691
- "kind": "method",
27692
- "name": "buildTextToSpeechHeaders",
27693
- "privacy": "public",
27694
- "static": true,
27695
- "parameters": [
27696
- {
27697
- "name": "outputFormat",
27698
- "type": {
27699
- "text": "string"
27700
- }
27701
- },
27702
- {
27703
- "name": "key",
27704
- "type": {
27705
- "text": "string"
27706
- }
27707
- }
27708
- ]
27709
- },
27710
- {
27711
- "kind": "method",
27712
- "name": "buildSpeechToTextHeaders",
27713
- "privacy": "public",
27714
- "static": true,
27715
- "parameters": [
27716
- {
27717
- "name": "key",
27718
- "type": {
27719
- "text": "string"
27720
- }
27721
- }
27722
- ]
27723
- },
27724
- {
27725
- "kind": "method",
27726
- "name": "handleSpeechVerificationResult",
27726
+ "name": "handleSpeechVerificationResult",
27727
27727
  "privacy": "private",
27728
27728
  "static": true,
27729
27729
  "parameters": [
@@ -27925,12 +27925,12 @@
27925
27925
  },
27926
27926
  {
27927
27927
  "kind": "javascript-module",
27928
- "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
27928
+ "path": "src/services/cohere/utils/cohereUtils.ts",
27929
27929
  "declarations": [
27930
27930
  {
27931
27931
  "kind": "class",
27932
27932
  "description": "",
27933
- "name": "HuggingFaceUtils",
27933
+ "name": "CohereUtils",
27934
27934
  "members": [
27935
27935
  {
27936
27936
  "kind": "method",
@@ -27995,22 +27995,22 @@
27995
27995
  "exports": [
27996
27996
  {
27997
27997
  "kind": "js",
27998
- "name": "HuggingFaceUtils",
27998
+ "name": "CohereUtils",
27999
27999
  "declaration": {
28000
- "name": "HuggingFaceUtils",
28001
- "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
28000
+ "name": "CohereUtils",
28001
+ "module": "src/services/cohere/utils/cohereUtils.ts"
28002
28002
  }
28003
28003
  }
28004
28004
  ]
28005
28005
  },
28006
28006
  {
28007
28007
  "kind": "javascript-module",
28008
- "path": "src/services/cohere/utils/cohereUtils.ts",
28008
+ "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
28009
28009
  "declarations": [
28010
28010
  {
28011
28011
  "kind": "class",
28012
28012
  "description": "",
28013
- "name": "CohereUtils",
28013
+ "name": "HuggingFaceUtils",
28014
28014
  "members": [
28015
28015
  {
28016
28016
  "kind": "method",
@@ -28075,10 +28075,10 @@
28075
28075
  "exports": [
28076
28076
  {
28077
28077
  "kind": "js",
28078
- "name": "CohereUtils",
28078
+ "name": "HuggingFaceUtils",
28079
28079
  "declaration": {
28080
- "name": "CohereUtils",
28081
- "module": "src/services/cohere/utils/cohereUtils.ts"
28080
+ "name": "HuggingFaceUtils",
28081
+ "module": "src/services/huggingFace/utils/huggingFaceUtils.ts"
28082
28082
  }
28083
28083
  }
28084
28084
  ]
@@ -28301,160 +28301,232 @@
28301
28301
  },
28302
28302
  {
28303
28303
  "kind": "javascript-module",
28304
- "path": "src/views/chat/input/input.ts",
28304
+ "path": "src/types/webModel/webLLM/webLLM.ts",
28305
+ "declarations": [],
28306
+ "exports": [
28307
+ {
28308
+ "kind": "js",
28309
+ "name": "ChatWorkerClient",
28310
+ "declaration": {
28311
+ "name": "ChatWorkerClient",
28312
+ "module": "./webLLMClient"
28313
+ }
28314
+ },
28315
+ {
28316
+ "kind": "js",
28317
+ "name": "ChatModule",
28318
+ "declaration": {
28319
+ "name": "ChatModule",
28320
+ "module": "./webLLMChatModule"
28321
+ }
28322
+ },
28323
+ {
28324
+ "kind": "js",
28325
+ "name": "*",
28326
+ "declaration": {
28327
+ "name": "*",
28328
+ "package": "./webLLMShared"
28329
+ }
28330
+ }
28331
+ ]
28332
+ },
28333
+ {
28334
+ "kind": "javascript-module",
28335
+ "path": "src/types/webModel/webLLM/webLLMChatModule.ts",
28305
28336
  "declarations": [
28306
28337
  {
28307
28338
  "kind": "class",
28308
28339
  "description": "",
28309
- "name": "Input",
28340
+ "name": "ChatModule",
28310
28341
  "members": [
28311
28342
  {
28312
28343
  "kind": "field",
28313
- "name": "elementRef",
28314
- "type": {
28315
- "text": "HTMLElement"
28316
- }
28344
+ "name": "logger",
28345
+ "privacy": "private"
28346
+ },
28347
+ {
28348
+ "kind": "field",
28349
+ "name": "pipeline",
28350
+ "privacy": "private"
28351
+ },
28352
+ {
28353
+ "kind": "field",
28354
+ "name": "initProgressCallback",
28355
+ "privacy": "private"
28356
+ },
28357
+ {
28358
+ "kind": "field",
28359
+ "name": "interruptSignal",
28360
+ "privacy": "private"
28317
28361
  },
28318
28362
  {
28319
28363
  "kind": "method",
28320
- "name": "createPanelElement",
28321
- "privacy": "private",
28322
- "static": true,
28364
+ "name": "setInitProgressCallback",
28365
+ "return": {
28366
+ "type": {
28367
+ "text": "void"
28368
+ }
28369
+ },
28323
28370
  "parameters": [
28324
28371
  {
28325
- "name": "customStyle",
28326
- "optional": true,
28372
+ "name": "initProgressCallback",
28327
28373
  "type": {
28328
- "text": "CustomStyle"
28374
+ "text": "InitProgressCallback"
28329
28375
  }
28330
28376
  }
28331
28377
  ]
28332
28378
  },
28333
28379
  {
28334
28380
  "kind": "method",
28335
- "name": "createFileUploadComponents",
28336
- "privacy": "private",
28381
+ "name": "reload",
28382
+ "return": {
28383
+ "type": {
28384
+ "text": "Promise<void>"
28385
+ }
28386
+ },
28337
28387
  "parameters": [
28338
28388
  {
28339
- "name": "deepChat",
28340
- "type": {
28341
- "text": "DeepChat"
28342
- }
28343
- },
28344
- {
28345
- "name": "serviceIO",
28389
+ "name": "localId",
28346
28390
  "type": {
28347
- "text": "ServiceIO"
28391
+ "text": "string"
28348
28392
  }
28349
28393
  },
28350
28394
  {
28351
- "name": "containerElement",
28395
+ "name": "chatOpts",
28396
+ "optional": true,
28352
28397
  "type": {
28353
- "text": "HTMLElement"
28398
+ "text": "ChatOptions"
28354
28399
  }
28355
28400
  },
28356
28401
  {
28357
- "name": "buttons",
28402
+ "name": "appConfig",
28403
+ "optional": true,
28358
28404
  "type": {
28359
- "text": "Buttons"
28405
+ "text": "AppConfig"
28360
28406
  }
28361
28407
  }
28362
28408
  ]
28363
28409
  },
28364
28410
  {
28365
28411
  "kind": "method",
28366
- "name": "createUploadButtons",
28367
- "privacy": "private",
28368
- "static": true,
28412
+ "name": "generate",
28413
+ "return": {
28414
+ "type": {
28415
+ "text": "Promise<string>"
28416
+ }
28417
+ },
28369
28418
  "parameters": [
28370
28419
  {
28371
- "name": "deepChat",
28372
- "type": {
28373
- "text": "DeepChat"
28374
- }
28375
- },
28376
- {
28377
- "name": "fileTypes",
28378
- "type": {
28379
- "text": "ServiceFileTypes"
28380
- }
28381
- },
28382
- {
28383
- "name": "fileAtt",
28420
+ "name": "input",
28384
28421
  "type": {
28385
- "text": "FileAttachments"
28422
+ "text": "string"
28386
28423
  }
28387
28424
  },
28388
28425
  {
28389
- "name": "containerEl",
28426
+ "name": "progressCallback",
28427
+ "optional": true,
28390
28428
  "type": {
28391
- "text": "HTMLElement"
28429
+ "text": "GenerateProgressCallback"
28392
28430
  }
28393
28431
  },
28394
28432
  {
28395
- "name": "buttons",
28433
+ "name": "streamInterval",
28434
+ "optional": true,
28396
28435
  "type": {
28397
- "text": "Buttons"
28436
+ "text": "number"
28398
28437
  }
28399
28438
  }
28400
28439
  ]
28401
28440
  },
28402
28441
  {
28403
28442
  "kind": "method",
28404
- "name": "addElements",
28405
- "privacy": "private",
28406
- "static": true,
28443
+ "name": "interruptGenerate",
28444
+ "return": {
28445
+ "type": {
28446
+ "text": "Promise<void>"
28447
+ }
28448
+ }
28449
+ },
28450
+ {
28451
+ "kind": "method",
28452
+ "name": "runtimeStatsText",
28453
+ "return": {
28454
+ "type": {
28455
+ "text": "Promise<string>"
28456
+ }
28457
+ }
28458
+ },
28459
+ {
28460
+ "kind": "method",
28461
+ "name": "resetChat",
28462
+ "return": {
28463
+ "type": {
28464
+ "text": "Promise<void>"
28465
+ }
28466
+ }
28467
+ },
28468
+ {
28469
+ "kind": "method",
28470
+ "name": "unload",
28471
+ "return": {
28472
+ "type": {
28473
+ "text": "Promise<void>"
28474
+ }
28475
+ }
28476
+ },
28477
+ {
28478
+ "kind": "method",
28479
+ "name": "stopped",
28480
+ "return": {
28481
+ "type": {
28482
+ "text": "boolean"
28483
+ }
28484
+ }
28485
+ },
28486
+ {
28487
+ "kind": "method",
28488
+ "name": "getMessage",
28489
+ "return": {
28490
+ "type": {
28491
+ "text": "string"
28492
+ }
28493
+ }
28494
+ },
28495
+ {
28496
+ "kind": "method",
28497
+ "name": "prefill",
28498
+ "return": {
28499
+ "type": {
28500
+ "text": "Promise<void>"
28501
+ }
28502
+ },
28407
28503
  "parameters": [
28408
28504
  {
28409
- "name": "panel",
28410
- "type": {
28411
- "text": "HTMLElement"
28412
- }
28413
- },
28414
- {
28415
- "name": "textInput",
28416
- "type": {
28417
- "text": "TextInputEl"
28418
- }
28419
- },
28420
- {
28421
- "name": "buttons",
28422
- "type": {
28423
- "text": "Buttons"
28424
- }
28425
- },
28426
- {
28427
- "name": "container",
28428
- "type": {
28429
- "text": "HTMLElement"
28430
- }
28431
- },
28432
- {
28433
- "name": "fileAttachments",
28434
- "type": {
28435
- "text": "FileAttachments"
28436
- }
28437
- },
28438
- {
28439
- "name": "dropupStyles",
28440
- "optional": true,
28505
+ "name": "input",
28441
28506
  "type": {
28442
- "text": "DropupStyles"
28507
+ "text": "string"
28443
28508
  }
28444
28509
  }
28445
28510
  ]
28446
28511
  },
28512
+ {
28513
+ "kind": "method",
28514
+ "name": "decode",
28515
+ "return": {
28516
+ "type": {
28517
+ "text": "Promise<void>"
28518
+ }
28519
+ }
28520
+ },
28447
28521
  {
28448
28522
  "kind": "field",
28449
- "name": "submit",
28450
- "type": {
28451
- "text": "object"
28452
- },
28453
- "default": "{button: submitButton}"
28523
+ "name": "getPipeline",
28524
+ "privacy": "private"
28454
28525
  },
28455
28526
  {
28456
28527
  "kind": "field",
28457
- "name": "submitUserMessage"
28528
+ "name": "asyncLoadTokenizer",
28529
+ "privacy": "private"
28458
28530
  }
28459
28531
  ]
28460
28532
  }
@@ -28462,103 +28534,233 @@
28462
28534
  "exports": [
28463
28535
  {
28464
28536
  "kind": "js",
28465
- "name": "Input",
28537
+ "name": "ChatModule",
28466
28538
  "declaration": {
28467
- "name": "Input",
28468
- "module": "src/views/chat/input/input.ts"
28539
+ "name": "ChatModule",
28540
+ "module": "src/types/webModel/webLLM/webLLMChatModule.ts"
28469
28541
  }
28470
28542
  }
28471
28543
  ]
28472
28544
  },
28473
28545
  {
28474
28546
  "kind": "javascript-module",
28475
- "path": "src/views/chat/introPanel/introPanel.ts",
28547
+ "path": "src/types/webModel/webLLM/webLLMClient.ts",
28476
28548
  "declarations": [
28477
28549
  {
28478
28550
  "kind": "class",
28479
28551
  "description": "",
28480
- "name": "IntroPanel",
28552
+ "name": "ChatWorkerHandler",
28481
28553
  "members": [
28482
28554
  {
28483
28555
  "kind": "field",
28484
- "name": "_elementRef",
28556
+ "name": "chat",
28557
+ "privacy": "private"
28558
+ },
28559
+ {
28560
+ "kind": "method",
28561
+ "name": "handleTask",
28562
+ "return": {
28563
+ "type": {
28564
+ "text": "Promise<void>"
28565
+ }
28566
+ },
28567
+ "parameters": [
28568
+ {
28569
+ "name": "uuid",
28570
+ "type": {
28571
+ "text": "string"
28572
+ }
28573
+ },
28574
+ {
28575
+ "name": "task",
28576
+ "type": {
28577
+ "text": "() => Promise<T>"
28578
+ }
28579
+ }
28580
+ ]
28581
+ },
28582
+ {
28583
+ "kind": "method",
28584
+ "name": "onmessage",
28585
+ "return": {
28586
+ "type": {
28587
+ "text": "void"
28588
+ }
28589
+ },
28590
+ "parameters": [
28591
+ {
28592
+ "name": "event",
28593
+ "type": {
28594
+ "text": "MessageEvent"
28595
+ }
28596
+ }
28597
+ ]
28598
+ }
28599
+ ]
28600
+ },
28601
+ {
28602
+ "kind": "class",
28603
+ "description": "",
28604
+ "name": "ChatWorkerClient",
28605
+ "members": [
28606
+ {
28607
+ "kind": "field",
28608
+ "name": "worker",
28485
28609
  "type": {
28486
- "text": "HTMLElement | undefined"
28610
+ "text": "ChatWorker"
28487
28611
  }
28488
28612
  },
28489
28613
  {
28490
28614
  "kind": "field",
28491
- "name": "_isDisplayed",
28492
- "type": {
28493
- "text": "boolean"
28494
- },
28495
- "privacy": "private",
28496
- "default": "false"
28615
+ "name": "initProgressCallback",
28616
+ "privacy": "private"
28617
+ },
28618
+ {
28619
+ "kind": "field",
28620
+ "name": "generateCallbackRegistry",
28621
+ "privacy": "private"
28622
+ },
28623
+ {
28624
+ "kind": "field",
28625
+ "name": "pendingPromise",
28626
+ "privacy": "private"
28497
28627
  },
28498
28628
  {
28499
28629
  "kind": "method",
28500
- "name": "createIntroPanel",
28501
- "privacy": "private",
28502
- "static": true,
28630
+ "name": "setInitProgressCallback",
28631
+ "return": {
28632
+ "type": {
28633
+ "text": "void"
28634
+ }
28635
+ },
28503
28636
  "parameters": [
28504
28637
  {
28505
- "name": "introPanelStyle",
28506
- "optional": true,
28638
+ "name": "initProgressCallback",
28507
28639
  "type": {
28508
- "text": "CustomStyle"
28640
+ "text": "InitProgressCallback"
28509
28641
  }
28510
28642
  }
28511
28643
  ]
28512
28644
  },
28645
+ {
28646
+ "kind": "field",
28647
+ "name": "getPromise",
28648
+ "privacy": "private"
28649
+ },
28513
28650
  {
28514
28651
  "kind": "method",
28515
- "name": "createIntroPanelWithChild",
28516
- "privacy": "private",
28652
+ "name": "reload",
28653
+ "return": {
28654
+ "type": {
28655
+ "text": "Promise<void>"
28656
+ }
28657
+ },
28517
28658
  "parameters": [
28518
28659
  {
28519
- "name": "childElement",
28660
+ "name": "localIdOrUrl",
28520
28661
  "type": {
28521
- "text": "HTMLElement"
28662
+ "text": "string"
28522
28663
  }
28523
28664
  },
28524
28665
  {
28525
- "name": "introPanelStyle",
28666
+ "name": "chatOpts",
28526
28667
  "optional": true,
28527
28668
  "type": {
28528
- "text": "CustomStyle"
28669
+ "text": "ChatOptions"
28670
+ }
28671
+ },
28672
+ {
28673
+ "name": "appConfig",
28674
+ "optional": true,
28675
+ "type": {
28676
+ "text": "AppConfig"
28529
28677
  }
28530
28678
  }
28531
28679
  ]
28532
28680
  },
28533
28681
  {
28534
28682
  "kind": "method",
28535
- "name": "createInternalIntroPanel",
28536
- "privacy": "private",
28683
+ "name": "generate",
28684
+ "return": {
28685
+ "type": {
28686
+ "text": "Promise<string>"
28687
+ }
28688
+ },
28537
28689
  "parameters": [
28538
28690
  {
28539
- "name": "introPanelMarkUp",
28691
+ "name": "input",
28540
28692
  "type": {
28541
28693
  "text": "string"
28542
28694
  }
28543
28695
  },
28544
28696
  {
28545
- "name": "introPanelStyle",
28697
+ "name": "progressCallback",
28546
28698
  "optional": true,
28547
28699
  "type": {
28548
- "text": "CustomStyle"
28700
+ "text": "GenerateProgressCallback"
28549
28701
  }
28550
- }
28551
- ]
28702
+ },
28703
+ {
28704
+ "name": "streamInterval",
28705
+ "optional": true,
28706
+ "type": {
28707
+ "text": "number"
28708
+ }
28709
+ }
28710
+ ]
28552
28711
  },
28553
28712
  {
28554
28713
  "kind": "method",
28555
- "name": "hide",
28556
- "privacy": "public"
28714
+ "name": "runtimeStatsText",
28715
+ "return": {
28716
+ "type": {
28717
+ "text": "Promise<string>"
28718
+ }
28719
+ }
28557
28720
  },
28558
28721
  {
28559
28722
  "kind": "method",
28560
- "name": "display",
28561
- "privacy": "public"
28723
+ "name": "interruptGenerate",
28724
+ "return": {
28725
+ "type": {
28726
+ "text": "void"
28727
+ }
28728
+ }
28729
+ },
28730
+ {
28731
+ "kind": "method",
28732
+ "name": "unload",
28733
+ "return": {
28734
+ "type": {
28735
+ "text": "Promise<void>"
28736
+ }
28737
+ }
28738
+ },
28739
+ {
28740
+ "kind": "method",
28741
+ "name": "resetChat",
28742
+ "return": {
28743
+ "type": {
28744
+ "text": "Promise<void>"
28745
+ }
28746
+ }
28747
+ },
28748
+ {
28749
+ "kind": "method",
28750
+ "name": "onmessage",
28751
+ "return": {
28752
+ "type": {
28753
+ "text": "void"
28754
+ }
28755
+ },
28756
+ "parameters": [
28757
+ {
28758
+ "name": "event",
28759
+ "type": {
28760
+ "text": "any"
28761
+ }
28762
+ }
28763
+ ]
28562
28764
  }
28563
28765
  ]
28564
28766
  }
@@ -28566,10 +28768,212 @@
28566
28768
  "exports": [
28567
28769
  {
28568
28770
  "kind": "js",
28569
- "name": "IntroPanel",
28771
+ "name": "ChatWorkerHandler",
28570
28772
  "declaration": {
28571
- "name": "IntroPanel",
28572
- "module": "src/views/chat/introPanel/introPanel.ts"
28773
+ "name": "ChatWorkerHandler",
28774
+ "module": "src/types/webModel/webLLM/webLLMClient.ts"
28775
+ }
28776
+ },
28777
+ {
28778
+ "kind": "js",
28779
+ "name": "ChatWorkerClient",
28780
+ "declaration": {
28781
+ "name": "ChatWorkerClient",
28782
+ "module": "src/types/webModel/webLLM/webLLMClient.ts"
28783
+ }
28784
+ }
28785
+ ]
28786
+ },
28787
+ {
28788
+ "kind": "javascript-module",
28789
+ "path": "src/types/webModel/webLLM/webLLMShared.ts",
28790
+ "declarations": [
28791
+ {
28792
+ "kind": "variable",
28793
+ "name": "prebuiltAppConfig",
28794
+ "type": {
28795
+ "text": "AppConfig"
28796
+ }
28797
+ }
28798
+ ],
28799
+ "exports": [
28800
+ {
28801
+ "kind": "js",
28802
+ "name": "prebuiltAppConfig",
28803
+ "declaration": {
28804
+ "name": "prebuiltAppConfig",
28805
+ "module": "src/types/webModel/webLLM/webLLMShared.ts"
28806
+ }
28807
+ }
28808
+ ]
28809
+ },
28810
+ {
28811
+ "kind": "javascript-module",
28812
+ "path": "src/views/chat/input/input.ts",
28813
+ "declarations": [
28814
+ {
28815
+ "kind": "class",
28816
+ "description": "",
28817
+ "name": "Input",
28818
+ "members": [
28819
+ {
28820
+ "kind": "field",
28821
+ "name": "elementRef",
28822
+ "type": {
28823
+ "text": "HTMLElement"
28824
+ }
28825
+ },
28826
+ {
28827
+ "kind": "method",
28828
+ "name": "createPanelElement",
28829
+ "privacy": "private",
28830
+ "static": true,
28831
+ "parameters": [
28832
+ {
28833
+ "name": "customStyle",
28834
+ "optional": true,
28835
+ "type": {
28836
+ "text": "CustomStyle"
28837
+ }
28838
+ }
28839
+ ]
28840
+ },
28841
+ {
28842
+ "kind": "method",
28843
+ "name": "createFileUploadComponents",
28844
+ "privacy": "private",
28845
+ "parameters": [
28846
+ {
28847
+ "name": "deepChat",
28848
+ "type": {
28849
+ "text": "DeepChat"
28850
+ }
28851
+ },
28852
+ {
28853
+ "name": "serviceIO",
28854
+ "type": {
28855
+ "text": "ServiceIO"
28856
+ }
28857
+ },
28858
+ {
28859
+ "name": "containerElement",
28860
+ "type": {
28861
+ "text": "HTMLElement"
28862
+ }
28863
+ },
28864
+ {
28865
+ "name": "buttons",
28866
+ "type": {
28867
+ "text": "Buttons"
28868
+ }
28869
+ }
28870
+ ]
28871
+ },
28872
+ {
28873
+ "kind": "method",
28874
+ "name": "createUploadButtons",
28875
+ "privacy": "private",
28876
+ "static": true,
28877
+ "parameters": [
28878
+ {
28879
+ "name": "deepChat",
28880
+ "type": {
28881
+ "text": "DeepChat"
28882
+ }
28883
+ },
28884
+ {
28885
+ "name": "fileTypes",
28886
+ "type": {
28887
+ "text": "ServiceFileTypes"
28888
+ }
28889
+ },
28890
+ {
28891
+ "name": "fileAtt",
28892
+ "type": {
28893
+ "text": "FileAttachments"
28894
+ }
28895
+ },
28896
+ {
28897
+ "name": "containerEl",
28898
+ "type": {
28899
+ "text": "HTMLElement"
28900
+ }
28901
+ },
28902
+ {
28903
+ "name": "buttons",
28904
+ "type": {
28905
+ "text": "Buttons"
28906
+ }
28907
+ }
28908
+ ]
28909
+ },
28910
+ {
28911
+ "kind": "method",
28912
+ "name": "addElements",
28913
+ "privacy": "private",
28914
+ "static": true,
28915
+ "parameters": [
28916
+ {
28917
+ "name": "panel",
28918
+ "type": {
28919
+ "text": "HTMLElement"
28920
+ }
28921
+ },
28922
+ {
28923
+ "name": "textInput",
28924
+ "type": {
28925
+ "text": "TextInputEl"
28926
+ }
28927
+ },
28928
+ {
28929
+ "name": "buttons",
28930
+ "type": {
28931
+ "text": "Buttons"
28932
+ }
28933
+ },
28934
+ {
28935
+ "name": "container",
28936
+ "type": {
28937
+ "text": "HTMLElement"
28938
+ }
28939
+ },
28940
+ {
28941
+ "name": "fileAttachments",
28942
+ "type": {
28943
+ "text": "FileAttachments"
28944
+ }
28945
+ },
28946
+ {
28947
+ "name": "dropupStyles",
28948
+ "optional": true,
28949
+ "type": {
28950
+ "text": "DropupStyles"
28951
+ }
28952
+ }
28953
+ ]
28954
+ },
28955
+ {
28956
+ "kind": "field",
28957
+ "name": "submit",
28958
+ "type": {
28959
+ "text": "object"
28960
+ },
28961
+ "default": "{button: submitButton}"
28962
+ },
28963
+ {
28964
+ "kind": "field",
28965
+ "name": "submitUserMessage"
28966
+ }
28967
+ ]
28968
+ }
28969
+ ],
28970
+ "exports": [
28971
+ {
28972
+ "kind": "js",
28973
+ "name": "Input",
28974
+ "declaration": {
28975
+ "name": "Input",
28976
+ "module": "src/views/chat/input/input.ts"
28573
28977
  }
28574
28978
  }
28575
28979
  ]
@@ -30986,466 +31390,93 @@
30986
31390
  },
30987
31391
  {
30988
31392
  "kind": "javascript-module",
30989
- "path": "src/types/webModel/webLLM/webLLM.ts",
30990
- "declarations": [],
30991
- "exports": [
30992
- {
30993
- "kind": "js",
30994
- "name": "ChatWorkerClient",
30995
- "declaration": {
30996
- "name": "ChatWorkerClient",
30997
- "module": "./webLLMClient"
30998
- }
30999
- },
31000
- {
31001
- "kind": "js",
31002
- "name": "ChatModule",
31003
- "declaration": {
31004
- "name": "ChatModule",
31005
- "module": "./webLLMChatModule"
31006
- }
31007
- },
31008
- {
31009
- "kind": "js",
31010
- "name": "*",
31011
- "declaration": {
31012
- "name": "*",
31013
- "package": "./webLLMShared"
31014
- }
31015
- }
31016
- ]
31017
- },
31018
- {
31019
- "kind": "javascript-module",
31020
- "path": "src/types/webModel/webLLM/webLLMChatModule.ts",
31021
- "declarations": [
31022
- {
31023
- "kind": "class",
31024
- "description": "",
31025
- "name": "ChatModule",
31026
- "members": [
31027
- {
31028
- "kind": "field",
31029
- "name": "logger",
31030
- "privacy": "private"
31031
- },
31032
- {
31033
- "kind": "field",
31034
- "name": "pipeline",
31035
- "privacy": "private"
31036
- },
31037
- {
31038
- "kind": "field",
31039
- "name": "initProgressCallback",
31040
- "privacy": "private"
31041
- },
31042
- {
31043
- "kind": "field",
31044
- "name": "interruptSignal",
31045
- "privacy": "private"
31046
- },
31047
- {
31048
- "kind": "method",
31049
- "name": "setInitProgressCallback",
31050
- "return": {
31051
- "type": {
31052
- "text": "void"
31053
- }
31054
- },
31055
- "parameters": [
31056
- {
31057
- "name": "initProgressCallback",
31058
- "type": {
31059
- "text": "InitProgressCallback"
31060
- }
31061
- }
31062
- ]
31063
- },
31064
- {
31065
- "kind": "method",
31066
- "name": "reload",
31067
- "return": {
31068
- "type": {
31069
- "text": "Promise<void>"
31070
- }
31071
- },
31072
- "parameters": [
31073
- {
31074
- "name": "localId",
31075
- "type": {
31076
- "text": "string"
31077
- }
31078
- },
31079
- {
31080
- "name": "chatOpts",
31081
- "optional": true,
31082
- "type": {
31083
- "text": "ChatOptions"
31084
- }
31085
- },
31086
- {
31087
- "name": "appConfig",
31088
- "optional": true,
31089
- "type": {
31090
- "text": "AppConfig"
31091
- }
31092
- }
31093
- ]
31094
- },
31095
- {
31096
- "kind": "method",
31097
- "name": "generate",
31098
- "return": {
31099
- "type": {
31100
- "text": "Promise<string>"
31101
- }
31102
- },
31103
- "parameters": [
31104
- {
31105
- "name": "input",
31106
- "type": {
31107
- "text": "string"
31108
- }
31109
- },
31110
- {
31111
- "name": "progressCallback",
31112
- "optional": true,
31113
- "type": {
31114
- "text": "GenerateProgressCallback"
31115
- }
31116
- },
31117
- {
31118
- "name": "streamInterval",
31119
- "optional": true,
31120
- "type": {
31121
- "text": "number"
31122
- }
31123
- }
31124
- ]
31125
- },
31126
- {
31127
- "kind": "method",
31128
- "name": "interruptGenerate",
31129
- "return": {
31130
- "type": {
31131
- "text": "Promise<void>"
31132
- }
31133
- }
31134
- },
31135
- {
31136
- "kind": "method",
31137
- "name": "runtimeStatsText",
31138
- "return": {
31139
- "type": {
31140
- "text": "Promise<string>"
31141
- }
31142
- }
31143
- },
31144
- {
31145
- "kind": "method",
31146
- "name": "resetChat",
31147
- "return": {
31148
- "type": {
31149
- "text": "Promise<void>"
31150
- }
31151
- }
31152
- },
31153
- {
31154
- "kind": "method",
31155
- "name": "unload",
31156
- "return": {
31157
- "type": {
31158
- "text": "Promise<void>"
31159
- }
31160
- }
31161
- },
31162
- {
31163
- "kind": "method",
31164
- "name": "stopped",
31165
- "return": {
31166
- "type": {
31167
- "text": "boolean"
31168
- }
31169
- }
31170
- },
31171
- {
31172
- "kind": "method",
31173
- "name": "getMessage",
31174
- "return": {
31175
- "type": {
31176
- "text": "string"
31177
- }
31178
- }
31179
- },
31180
- {
31181
- "kind": "method",
31182
- "name": "prefill",
31183
- "return": {
31184
- "type": {
31185
- "text": "Promise<void>"
31186
- }
31187
- },
31188
- "parameters": [
31189
- {
31190
- "name": "input",
31191
- "type": {
31192
- "text": "string"
31193
- }
31194
- }
31195
- ]
31196
- },
31197
- {
31198
- "kind": "method",
31199
- "name": "decode",
31200
- "return": {
31201
- "type": {
31202
- "text": "Promise<void>"
31203
- }
31204
- }
31205
- },
31206
- {
31207
- "kind": "field",
31208
- "name": "getPipeline",
31209
- "privacy": "private"
31210
- },
31211
- {
31212
- "kind": "field",
31213
- "name": "asyncLoadTokenizer",
31214
- "privacy": "private"
31215
- }
31216
- ]
31217
- }
31218
- ],
31219
- "exports": [
31220
- {
31221
- "kind": "js",
31222
- "name": "ChatModule",
31223
- "declaration": {
31224
- "name": "ChatModule",
31225
- "module": "src/types/webModel/webLLM/webLLMChatModule.ts"
31226
- }
31227
- }
31228
- ]
31229
- },
31230
- {
31231
- "kind": "javascript-module",
31232
- "path": "src/types/webModel/webLLM/webLLMClient.ts",
31393
+ "path": "src/views/chat/introPanel/introPanel.ts",
31233
31394
  "declarations": [
31234
31395
  {
31235
31396
  "kind": "class",
31236
31397
  "description": "",
31237
- "name": "ChatWorkerHandler",
31238
- "members": [
31239
- {
31240
- "kind": "field",
31241
- "name": "chat",
31242
- "privacy": "private"
31243
- },
31244
- {
31245
- "kind": "method",
31246
- "name": "handleTask",
31247
- "return": {
31248
- "type": {
31249
- "text": "Promise<void>"
31250
- }
31251
- },
31252
- "parameters": [
31253
- {
31254
- "name": "uuid",
31255
- "type": {
31256
- "text": "string"
31257
- }
31258
- },
31259
- {
31260
- "name": "task",
31261
- "type": {
31262
- "text": "() => Promise<T>"
31263
- }
31264
- }
31265
- ]
31266
- },
31267
- {
31268
- "kind": "method",
31269
- "name": "onmessage",
31270
- "return": {
31271
- "type": {
31272
- "text": "void"
31273
- }
31274
- },
31275
- "parameters": [
31276
- {
31277
- "name": "event",
31278
- "type": {
31279
- "text": "MessageEvent"
31280
- }
31281
- }
31282
- ]
31283
- }
31284
- ]
31285
- },
31286
- {
31287
- "kind": "class",
31288
- "description": "",
31289
- "name": "ChatWorkerClient",
31398
+ "name": "IntroPanel",
31290
31399
  "members": [
31291
31400
  {
31292
31401
  "kind": "field",
31293
- "name": "worker",
31402
+ "name": "_elementRef",
31294
31403
  "type": {
31295
- "text": "ChatWorker"
31404
+ "text": "HTMLElement | undefined"
31296
31405
  }
31297
31406
  },
31298
31407
  {
31299
31408
  "kind": "field",
31300
- "name": "initProgressCallback",
31301
- "privacy": "private"
31302
- },
31303
- {
31304
- "kind": "field",
31305
- "name": "generateCallbackRegistry",
31306
- "privacy": "private"
31307
- },
31308
- {
31309
- "kind": "field",
31310
- "name": "pendingPromise",
31311
- "privacy": "private"
31409
+ "name": "_isDisplayed",
31410
+ "type": {
31411
+ "text": "boolean"
31412
+ },
31413
+ "privacy": "private",
31414
+ "default": "false"
31312
31415
  },
31313
31416
  {
31314
31417
  "kind": "method",
31315
- "name": "setInitProgressCallback",
31316
- "return": {
31317
- "type": {
31318
- "text": "void"
31319
- }
31320
- },
31418
+ "name": "createIntroPanel",
31419
+ "privacy": "private",
31420
+ "static": true,
31321
31421
  "parameters": [
31322
31422
  {
31323
- "name": "initProgressCallback",
31423
+ "name": "introPanelStyle",
31424
+ "optional": true,
31324
31425
  "type": {
31325
- "text": "InitProgressCallback"
31426
+ "text": "CustomStyle"
31326
31427
  }
31327
31428
  }
31328
31429
  ]
31329
31430
  },
31330
- {
31331
- "kind": "field",
31332
- "name": "getPromise",
31333
- "privacy": "private"
31334
- },
31335
31431
  {
31336
31432
  "kind": "method",
31337
- "name": "reload",
31338
- "return": {
31339
- "type": {
31340
- "text": "Promise<void>"
31341
- }
31342
- },
31433
+ "name": "createIntroPanelWithChild",
31434
+ "privacy": "private",
31343
31435
  "parameters": [
31344
31436
  {
31345
- "name": "localIdOrUrl",
31346
- "type": {
31347
- "text": "string"
31348
- }
31349
- },
31350
- {
31351
- "name": "chatOpts",
31352
- "optional": true,
31437
+ "name": "childElement",
31353
31438
  "type": {
31354
- "text": "ChatOptions"
31439
+ "text": "HTMLElement"
31355
31440
  }
31356
31441
  },
31357
31442
  {
31358
- "name": "appConfig",
31443
+ "name": "introPanelStyle",
31359
31444
  "optional": true,
31360
31445
  "type": {
31361
- "text": "AppConfig"
31446
+ "text": "CustomStyle"
31362
31447
  }
31363
31448
  }
31364
31449
  ]
31365
31450
  },
31366
31451
  {
31367
31452
  "kind": "method",
31368
- "name": "generate",
31369
- "return": {
31370
- "type": {
31371
- "text": "Promise<string>"
31372
- }
31373
- },
31453
+ "name": "createInternalIntroPanel",
31454
+ "privacy": "private",
31374
31455
  "parameters": [
31375
31456
  {
31376
- "name": "input",
31457
+ "name": "introPanelMarkUp",
31377
31458
  "type": {
31378
31459
  "text": "string"
31379
31460
  }
31380
31461
  },
31381
31462
  {
31382
- "name": "progressCallback",
31383
- "optional": true,
31384
- "type": {
31385
- "text": "GenerateProgressCallback"
31386
- }
31387
- },
31388
- {
31389
- "name": "streamInterval",
31463
+ "name": "introPanelStyle",
31390
31464
  "optional": true,
31391
31465
  "type": {
31392
- "text": "number"
31466
+ "text": "CustomStyle"
31393
31467
  }
31394
31468
  }
31395
31469
  ]
31396
31470
  },
31397
31471
  {
31398
31472
  "kind": "method",
31399
- "name": "runtimeStatsText",
31400
- "return": {
31401
- "type": {
31402
- "text": "Promise<string>"
31403
- }
31404
- }
31405
- },
31406
- {
31407
- "kind": "method",
31408
- "name": "interruptGenerate",
31409
- "return": {
31410
- "type": {
31411
- "text": "void"
31412
- }
31413
- }
31414
- },
31415
- {
31416
- "kind": "method",
31417
- "name": "unload",
31418
- "return": {
31419
- "type": {
31420
- "text": "Promise<void>"
31421
- }
31422
- }
31423
- },
31424
- {
31425
- "kind": "method",
31426
- "name": "resetChat",
31427
- "return": {
31428
- "type": {
31429
- "text": "Promise<void>"
31430
- }
31431
- }
31473
+ "name": "hide",
31474
+ "privacy": "public"
31432
31475
  },
31433
31476
  {
31434
31477
  "kind": "method",
31435
- "name": "onmessage",
31436
- "return": {
31437
- "type": {
31438
- "text": "void"
31439
- }
31440
- },
31441
- "parameters": [
31442
- {
31443
- "name": "event",
31444
- "type": {
31445
- "text": "any"
31446
- }
31447
- }
31448
- ]
31478
+ "name": "display",
31479
+ "privacy": "public"
31449
31480
  }
31450
31481
  ]
31451
31482
  }
@@ -31453,41 +31484,10 @@
31453
31484
  "exports": [
31454
31485
  {
31455
31486
  "kind": "js",
31456
- "name": "ChatWorkerHandler",
31457
- "declaration": {
31458
- "name": "ChatWorkerHandler",
31459
- "module": "src/types/webModel/webLLM/webLLMClient.ts"
31460
- }
31461
- },
31462
- {
31463
- "kind": "js",
31464
- "name": "ChatWorkerClient",
31465
- "declaration": {
31466
- "name": "ChatWorkerClient",
31467
- "module": "src/types/webModel/webLLM/webLLMClient.ts"
31468
- }
31469
- }
31470
- ]
31471
- },
31472
- {
31473
- "kind": "javascript-module",
31474
- "path": "src/types/webModel/webLLM/webLLMShared.ts",
31475
- "declarations": [
31476
- {
31477
- "kind": "variable",
31478
- "name": "prebuiltAppConfig",
31479
- "type": {
31480
- "text": "AppConfig"
31481
- }
31482
- }
31483
- ],
31484
- "exports": [
31485
- {
31486
- "kind": "js",
31487
- "name": "prebuiltAppConfig",
31487
+ "name": "IntroPanel",
31488
31488
  "declaration": {
31489
- "name": "prebuiltAppConfig",
31490
- "module": "src/types/webModel/webLLM/webLLMShared.ts"
31489
+ "name": "IntroPanel",
31490
+ "module": "src/views/chat/introPanel/introPanel.ts"
31491
31491
  }
31492
31492
  }
31493
31493
  ]
@@ -32022,6 +32022,358 @@
32022
32022
  }
32023
32023
  ]
32024
32024
  },
32025
+ {
32026
+ "kind": "javascript-module",
32027
+ "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
32028
+ "declarations": [
32029
+ {
32030
+ "kind": "class",
32031
+ "description": "",
32032
+ "name": "FileAttachments",
32033
+ "members": [
32034
+ {
32035
+ "kind": "field",
32036
+ "name": "_fileAttachmentsTypes",
32037
+ "type": {
32038
+ "text": "FileAttachmentsType[]"
32039
+ },
32040
+ "privacy": "private",
32041
+ "default": "[]"
32042
+ },
32043
+ {
32044
+ "kind": "field",
32045
+ "name": "elementRef",
32046
+ "type": {
32047
+ "text": "HTMLElement"
32048
+ }
32049
+ },
32050
+ {
32051
+ "kind": "method",
32052
+ "name": "addType",
32053
+ "parameters": [
32054
+ {
32055
+ "name": "deepChat",
32056
+ "type": {
32057
+ "text": "DeepChat"
32058
+ }
32059
+ },
32060
+ {
32061
+ "name": "files",
32062
+ "type": {
32063
+ "text": "FileAttachmentsT"
32064
+ }
32065
+ },
32066
+ {
32067
+ "name": "type",
32068
+ "type": {
32069
+ "text": "keyof ServiceFileTypes"
32070
+ }
32071
+ }
32072
+ ]
32073
+ },
32074
+ {
32075
+ "kind": "method",
32076
+ "name": "createAttachmentContainer",
32077
+ "privacy": "private"
32078
+ },
32079
+ {
32080
+ "kind": "method",
32081
+ "name": "toggleContainerDisplay",
32082
+ "privacy": "private",
32083
+ "parameters": [
32084
+ {
32085
+ "name": "display",
32086
+ "type": {
32087
+ "text": "boolean"
32088
+ }
32089
+ }
32090
+ ]
32091
+ },
32092
+ {
32093
+ "kind": "method",
32094
+ "name": "getAllFileData"
32095
+ },
32096
+ {
32097
+ "kind": "method",
32098
+ "name": "completePlaceholders"
32099
+ },
32100
+ {
32101
+ "kind": "method",
32102
+ "name": "addFilesToType",
32103
+ "privacy": "public",
32104
+ "static": true,
32105
+ "parameters": [
32106
+ {
32107
+ "name": "files",
32108
+ "type": {
32109
+ "text": "File[]"
32110
+ }
32111
+ },
32112
+ {
32113
+ "name": "fileAttachmentTypes",
32114
+ "type": {
32115
+ "text": "FileAttachmentsType[]"
32116
+ }
32117
+ }
32118
+ ]
32119
+ },
32120
+ {
32121
+ "kind": "method",
32122
+ "name": "addFilesToAnyType",
32123
+ "parameters": [
32124
+ {
32125
+ "name": "files",
32126
+ "type": {
32127
+ "text": "File[]"
32128
+ }
32129
+ }
32130
+ ]
32131
+ },
32132
+ {
32133
+ "kind": "method",
32134
+ "name": "removeAllFiles"
32135
+ },
32136
+ {
32137
+ "kind": "method",
32138
+ "name": "getNumberOfTypes"
32139
+ }
32140
+ ]
32141
+ }
32142
+ ],
32143
+ "exports": [
32144
+ {
32145
+ "kind": "js",
32146
+ "name": "FileAttachments",
32147
+ "declaration": {
32148
+ "name": "FileAttachments",
32149
+ "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
32150
+ }
32151
+ }
32152
+ ]
32153
+ },
32154
+ {
32155
+ "kind": "javascript-module",
32156
+ "path": "src/views/chat/input/fileAttachments/newFileName.ts",
32157
+ "declarations": [
32158
+ {
32159
+ "kind": "class",
32160
+ "description": "",
32161
+ "name": "NewFileName",
32162
+ "members": [
32163
+ {
32164
+ "kind": "method",
32165
+ "name": "getFileName",
32166
+ "privacy": "public",
32167
+ "static": true,
32168
+ "parameters": [
32169
+ {
32170
+ "name": "prefix",
32171
+ "type": {
32172
+ "text": "string"
32173
+ }
32174
+ },
32175
+ {
32176
+ "name": "extension",
32177
+ "type": {
32178
+ "text": "string"
32179
+ }
32180
+ }
32181
+ ]
32182
+ }
32183
+ ]
32184
+ }
32185
+ ],
32186
+ "exports": [
32187
+ {
32188
+ "kind": "js",
32189
+ "name": "NewFileName",
32190
+ "declaration": {
32191
+ "name": "NewFileName",
32192
+ "module": "src/views/chat/input/fileAttachments/newFileName.ts"
32193
+ }
32194
+ }
32195
+ ]
32196
+ },
32197
+ {
32198
+ "kind": "javascript-module",
32199
+ "path": "src/views/chat/input/validation/validationHandler.ts",
32200
+ "declarations": [
32201
+ {
32202
+ "kind": "class",
32203
+ "description": "",
32204
+ "name": "ValidationHandler",
32205
+ "members": [
32206
+ {
32207
+ "kind": "method",
32208
+ "name": "validate",
32209
+ "privacy": "private",
32210
+ "static": true,
32211
+ "parameters": [
32212
+ {
32213
+ "name": "validation",
32214
+ "type": {
32215
+ "text": "ValidateFunc"
32216
+ }
32217
+ },
32218
+ {
32219
+ "name": "submitButton",
32220
+ "type": {
32221
+ "text": "SubmitButton"
32222
+ }
32223
+ },
32224
+ {
32225
+ "name": "text",
32226
+ "optional": true,
32227
+ "type": {
32228
+ "text": "string"
32229
+ }
32230
+ },
32231
+ {
32232
+ "name": "files",
32233
+ "optional": true,
32234
+ "type": {
32235
+ "text": "File[]"
32236
+ }
32237
+ },
32238
+ {
32239
+ "name": "isProgrammatic",
32240
+ "optional": true,
32241
+ "type": {
32242
+ "text": "boolean"
32243
+ }
32244
+ }
32245
+ ]
32246
+ },
32247
+ {
32248
+ "kind": "method",
32249
+ "name": "useValidationFunc",
32250
+ "privacy": "private",
32251
+ "static": true,
32252
+ "parameters": [
32253
+ {
32254
+ "name": "validation",
32255
+ "type": {
32256
+ "text": "ValidateFunc"
32257
+ }
32258
+ },
32259
+ {
32260
+ "name": "textInput",
32261
+ "type": {
32262
+ "text": "TextInputEl"
32263
+ }
32264
+ },
32265
+ {
32266
+ "name": "fileAttachments",
32267
+ "type": {
32268
+ "text": "FileAttachments"
32269
+ }
32270
+ },
32271
+ {
32272
+ "name": "submitButton",
32273
+ "type": {
32274
+ "text": "SubmitButton"
32275
+ }
32276
+ }
32277
+ ]
32278
+ },
32279
+ {
32280
+ "kind": "method",
32281
+ "name": "useValidationFuncProgrammatic",
32282
+ "privacy": "private",
32283
+ "static": true,
32284
+ "parameters": [
32285
+ {
32286
+ "name": "validation",
32287
+ "type": {
32288
+ "text": "ValidateFunc"
32289
+ }
32290
+ },
32291
+ {
32292
+ "name": "programmatic",
32293
+ "type": {
32294
+ "text": "UserContentI"
32295
+ }
32296
+ },
32297
+ {
32298
+ "name": "submitButton",
32299
+ "type": {
32300
+ "text": "SubmitButton"
32301
+ }
32302
+ }
32303
+ ]
32304
+ },
32305
+ {
32306
+ "kind": "method",
32307
+ "name": "validateWebsocket",
32308
+ "privacy": "private",
32309
+ "static": true,
32310
+ "parameters": [
32311
+ {
32312
+ "name": "serviceIO",
32313
+ "type": {
32314
+ "text": "ServiceIO"
32315
+ }
32316
+ },
32317
+ {
32318
+ "name": "submitButton",
32319
+ "type": {
32320
+ "text": "SubmitButton"
32321
+ }
32322
+ }
32323
+ ]
32324
+ },
32325
+ {
32326
+ "kind": "method",
32327
+ "name": "attach",
32328
+ "privacy": "public",
32329
+ "static": true,
32330
+ "parameters": [
32331
+ {
32332
+ "name": "deepChat",
32333
+ "type": {
32334
+ "text": "DeepChat"
32335
+ }
32336
+ },
32337
+ {
32338
+ "name": "serviceIO",
32339
+ "type": {
32340
+ "text": "ServiceIO"
32341
+ }
32342
+ },
32343
+ {
32344
+ "name": "textInput",
32345
+ "type": {
32346
+ "text": "TextInputEl"
32347
+ }
32348
+ },
32349
+ {
32350
+ "name": "fileAttachments",
32351
+ "type": {
32352
+ "text": "FileAttachments"
32353
+ }
32354
+ },
32355
+ {
32356
+ "name": "submitButton",
32357
+ "type": {
32358
+ "text": "SubmitButton"
32359
+ }
32360
+ }
32361
+ ]
32362
+ }
32363
+ ]
32364
+ }
32365
+ ],
32366
+ "exports": [
32367
+ {
32368
+ "kind": "js",
32369
+ "name": "ValidationHandler",
32370
+ "declaration": {
32371
+ "name": "ValidationHandler",
32372
+ "module": "src/views/chat/input/validation/validationHandler.ts"
32373
+ }
32374
+ }
32375
+ ]
32376
+ },
32025
32377
  {
32026
32378
  "kind": "javascript-module",
32027
32379
  "path": "src/views/chat/input/dropup/dropup.ts",
@@ -32711,178 +33063,6 @@
32711
33063
  }
32712
33064
  ]
32713
33065
  },
32714
- {
32715
- "kind": "javascript-module",
32716
- "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
32717
- "declarations": [
32718
- {
32719
- "kind": "class",
32720
- "description": "",
32721
- "name": "FileAttachments",
32722
- "members": [
32723
- {
32724
- "kind": "field",
32725
- "name": "_fileAttachmentsTypes",
32726
- "type": {
32727
- "text": "FileAttachmentsType[]"
32728
- },
32729
- "privacy": "private",
32730
- "default": "[]"
32731
- },
32732
- {
32733
- "kind": "field",
32734
- "name": "elementRef",
32735
- "type": {
32736
- "text": "HTMLElement"
32737
- }
32738
- },
32739
- {
32740
- "kind": "method",
32741
- "name": "addType",
32742
- "parameters": [
32743
- {
32744
- "name": "deepChat",
32745
- "type": {
32746
- "text": "DeepChat"
32747
- }
32748
- },
32749
- {
32750
- "name": "files",
32751
- "type": {
32752
- "text": "FileAttachmentsT"
32753
- }
32754
- },
32755
- {
32756
- "name": "type",
32757
- "type": {
32758
- "text": "keyof ServiceFileTypes"
32759
- }
32760
- }
32761
- ]
32762
- },
32763
- {
32764
- "kind": "method",
32765
- "name": "createAttachmentContainer",
32766
- "privacy": "private"
32767
- },
32768
- {
32769
- "kind": "method",
32770
- "name": "toggleContainerDisplay",
32771
- "privacy": "private",
32772
- "parameters": [
32773
- {
32774
- "name": "display",
32775
- "type": {
32776
- "text": "boolean"
32777
- }
32778
- }
32779
- ]
32780
- },
32781
- {
32782
- "kind": "method",
32783
- "name": "getAllFileData"
32784
- },
32785
- {
32786
- "kind": "method",
32787
- "name": "completePlaceholders"
32788
- },
32789
- {
32790
- "kind": "method",
32791
- "name": "addFilesToType",
32792
- "privacy": "public",
32793
- "static": true,
32794
- "parameters": [
32795
- {
32796
- "name": "files",
32797
- "type": {
32798
- "text": "File[]"
32799
- }
32800
- },
32801
- {
32802
- "name": "fileAttachmentTypes",
32803
- "type": {
32804
- "text": "FileAttachmentsType[]"
32805
- }
32806
- }
32807
- ]
32808
- },
32809
- {
32810
- "kind": "method",
32811
- "name": "addFilesToAnyType",
32812
- "parameters": [
32813
- {
32814
- "name": "files",
32815
- "type": {
32816
- "text": "File[]"
32817
- }
32818
- }
32819
- ]
32820
- },
32821
- {
32822
- "kind": "method",
32823
- "name": "removeAllFiles"
32824
- },
32825
- {
32826
- "kind": "method",
32827
- "name": "getNumberOfTypes"
32828
- }
32829
- ]
32830
- }
32831
- ],
32832
- "exports": [
32833
- {
32834
- "kind": "js",
32835
- "name": "FileAttachments",
32836
- "declaration": {
32837
- "name": "FileAttachments",
32838
- "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
32839
- }
32840
- }
32841
- ]
32842
- },
32843
- {
32844
- "kind": "javascript-module",
32845
- "path": "src/views/chat/input/fileAttachments/newFileName.ts",
32846
- "declarations": [
32847
- {
32848
- "kind": "class",
32849
- "description": "",
32850
- "name": "NewFileName",
32851
- "members": [
32852
- {
32853
- "kind": "method",
32854
- "name": "getFileName",
32855
- "privacy": "public",
32856
- "static": true,
32857
- "parameters": [
32858
- {
32859
- "name": "prefix",
32860
- "type": {
32861
- "text": "string"
32862
- }
32863
- },
32864
- {
32865
- "name": "extension",
32866
- "type": {
32867
- "text": "string"
32868
- }
32869
- }
32870
- ]
32871
- }
32872
- ]
32873
- }
32874
- ],
32875
- "exports": [
32876
- {
32877
- "kind": "js",
32878
- "name": "NewFileName",
32879
- "declaration": {
32880
- "name": "NewFileName",
32881
- "module": "src/views/chat/input/fileAttachments/newFileName.ts"
32882
- }
32883
- }
32884
- ]
32885
- },
32886
33066
  {
32887
33067
  "kind": "javascript-module",
32888
33068
  "path": "src/views/chat/input/textInput/focusUtils.ts",
@@ -33322,186 +33502,6 @@
33322
33502
  }
33323
33503
  ]
33324
33504
  },
33325
- {
33326
- "kind": "javascript-module",
33327
- "path": "src/views/chat/input/validation/validationHandler.ts",
33328
- "declarations": [
33329
- {
33330
- "kind": "class",
33331
- "description": "",
33332
- "name": "ValidationHandler",
33333
- "members": [
33334
- {
33335
- "kind": "method",
33336
- "name": "validate",
33337
- "privacy": "private",
33338
- "static": true,
33339
- "parameters": [
33340
- {
33341
- "name": "validation",
33342
- "type": {
33343
- "text": "ValidateFunc"
33344
- }
33345
- },
33346
- {
33347
- "name": "submitButton",
33348
- "type": {
33349
- "text": "SubmitButton"
33350
- }
33351
- },
33352
- {
33353
- "name": "text",
33354
- "optional": true,
33355
- "type": {
33356
- "text": "string"
33357
- }
33358
- },
33359
- {
33360
- "name": "files",
33361
- "optional": true,
33362
- "type": {
33363
- "text": "File[]"
33364
- }
33365
- },
33366
- {
33367
- "name": "isProgrammatic",
33368
- "optional": true,
33369
- "type": {
33370
- "text": "boolean"
33371
- }
33372
- }
33373
- ]
33374
- },
33375
- {
33376
- "kind": "method",
33377
- "name": "useValidationFunc",
33378
- "privacy": "private",
33379
- "static": true,
33380
- "parameters": [
33381
- {
33382
- "name": "validation",
33383
- "type": {
33384
- "text": "ValidateFunc"
33385
- }
33386
- },
33387
- {
33388
- "name": "textInput",
33389
- "type": {
33390
- "text": "TextInputEl"
33391
- }
33392
- },
33393
- {
33394
- "name": "fileAttachments",
33395
- "type": {
33396
- "text": "FileAttachments"
33397
- }
33398
- },
33399
- {
33400
- "name": "submitButton",
33401
- "type": {
33402
- "text": "SubmitButton"
33403
- }
33404
- }
33405
- ]
33406
- },
33407
- {
33408
- "kind": "method",
33409
- "name": "useValidationFuncProgrammatic",
33410
- "privacy": "private",
33411
- "static": true,
33412
- "parameters": [
33413
- {
33414
- "name": "validation",
33415
- "type": {
33416
- "text": "ValidateFunc"
33417
- }
33418
- },
33419
- {
33420
- "name": "programmatic",
33421
- "type": {
33422
- "text": "UserContentI"
33423
- }
33424
- },
33425
- {
33426
- "name": "submitButton",
33427
- "type": {
33428
- "text": "SubmitButton"
33429
- }
33430
- }
33431
- ]
33432
- },
33433
- {
33434
- "kind": "method",
33435
- "name": "validateWebsocket",
33436
- "privacy": "private",
33437
- "static": true,
33438
- "parameters": [
33439
- {
33440
- "name": "serviceIO",
33441
- "type": {
33442
- "text": "ServiceIO"
33443
- }
33444
- },
33445
- {
33446
- "name": "submitButton",
33447
- "type": {
33448
- "text": "SubmitButton"
33449
- }
33450
- }
33451
- ]
33452
- },
33453
- {
33454
- "kind": "method",
33455
- "name": "attach",
33456
- "privacy": "public",
33457
- "static": true,
33458
- "parameters": [
33459
- {
33460
- "name": "deepChat",
33461
- "type": {
33462
- "text": "DeepChat"
33463
- }
33464
- },
33465
- {
33466
- "name": "serviceIO",
33467
- "type": {
33468
- "text": "ServiceIO"
33469
- }
33470
- },
33471
- {
33472
- "name": "textInput",
33473
- "type": {
33474
- "text": "TextInputEl"
33475
- }
33476
- },
33477
- {
33478
- "name": "fileAttachments",
33479
- "type": {
33480
- "text": "FileAttachments"
33481
- }
33482
- },
33483
- {
33484
- "name": "submitButton",
33485
- "type": {
33486
- "text": "SubmitButton"
33487
- }
33488
- }
33489
- ]
33490
- }
33491
- ]
33492
- }
33493
- ],
33494
- "exports": [
33495
- {
33496
- "kind": "js",
33497
- "name": "ValidationHandler",
33498
- "declaration": {
33499
- "name": "ValidationHandler",
33500
- "module": "src/views/chat/input/validation/validationHandler.ts"
33501
- }
33502
- }
33503
- ]
33504
- },
33505
33505
  {
33506
33506
  "kind": "javascript-module",
33507
33507
  "path": "src/views/chat/messages/html/htmlDeepChatElements.ts",