deep-chat-dev 9.0.106 → 9.0.107

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.
@@ -514,6 +514,54 @@
514
514
  "declarations": [],
515
515
  "exports": []
516
516
  },
517
+ {
518
+ "kind": "javascript-module",
519
+ "path": "src/services/serviceIO.ts",
520
+ "declarations": [],
521
+ "exports": []
522
+ },
523
+ {
524
+ "kind": "javascript-module",
525
+ "path": "src/services/serviceIOFactory.ts",
526
+ "declarations": [
527
+ {
528
+ "kind": "class",
529
+ "description": "",
530
+ "name": "ServiceIOFactory",
531
+ "members": [
532
+ {
533
+ "kind": "method",
534
+ "name": "create",
535
+ "privacy": "public",
536
+ "static": true,
537
+ "return": {
538
+ "type": {
539
+ "text": "ServiceIO"
540
+ }
541
+ },
542
+ "parameters": [
543
+ {
544
+ "name": "deepChat",
545
+ "type": {
546
+ "text": "DeepChat"
547
+ }
548
+ }
549
+ ]
550
+ }
551
+ ]
552
+ }
553
+ ],
554
+ "exports": [
555
+ {
556
+ "kind": "js",
557
+ "name": "ServiceIOFactory",
558
+ "declaration": {
559
+ "name": "ServiceIOFactory",
560
+ "module": "src/services/serviceIOFactory.ts"
561
+ }
562
+ }
563
+ ]
564
+ },
517
565
  {
518
566
  "kind": "javascript-module",
519
567
  "path": "src/icons/audioIcon.ts",
@@ -871,54 +919,6 @@
871
919
  }
872
920
  ]
873
921
  },
874
- {
875
- "kind": "javascript-module",
876
- "path": "src/services/serviceIO.ts",
877
- "declarations": [],
878
- "exports": []
879
- },
880
- {
881
- "kind": "javascript-module",
882
- "path": "src/services/serviceIOFactory.ts",
883
- "declarations": [
884
- {
885
- "kind": "class",
886
- "description": "",
887
- "name": "ServiceIOFactory",
888
- "members": [
889
- {
890
- "kind": "method",
891
- "name": "create",
892
- "privacy": "public",
893
- "static": true,
894
- "return": {
895
- "type": {
896
- "text": "ServiceIO"
897
- }
898
- },
899
- "parameters": [
900
- {
901
- "name": "deepChat",
902
- "type": {
903
- "text": "DeepChat"
904
- }
905
- }
906
- ]
907
- }
908
- ]
909
- }
910
- ],
911
- "exports": [
912
- {
913
- "kind": "js",
914
- "name": "ServiceIOFactory",
915
- "declaration": {
916
- "name": "ServiceIOFactory",
917
- "module": "src/services/serviceIOFactory.ts"
918
- }
919
- }
920
- ]
921
- },
922
922
  {
923
923
  "kind": "javascript-module",
924
924
  "path": "src/webModel/webModel.ts",
@@ -26246,6 +26246,118 @@
26246
26246
  "declarations": [],
26247
26247
  "exports": []
26248
26248
  },
26249
+ {
26250
+ "kind": "javascript-module",
26251
+ "path": "src/utils/decorators/property.ts",
26252
+ "declarations": [
26253
+ {
26254
+ "kind": "function",
26255
+ "name": "Property",
26256
+ "parameters": [
26257
+ {
26258
+ "name": "type",
26259
+ "type": {
26260
+ "text": "AvailableTypes"
26261
+ }
26262
+ }
26263
+ ]
26264
+ }
26265
+ ],
26266
+ "exports": [
26267
+ {
26268
+ "kind": "js",
26269
+ "name": "Property",
26270
+ "declaration": {
26271
+ "name": "Property",
26272
+ "module": "src/utils/decorators/property.ts"
26273
+ }
26274
+ }
26275
+ ]
26276
+ },
26277
+ {
26278
+ "kind": "javascript-module",
26279
+ "path": "src/utils/decorators/renderControl.ts",
26280
+ "declarations": [
26281
+ {
26282
+ "kind": "class",
26283
+ "description": "",
26284
+ "name": "RenderControl",
26285
+ "members": [
26286
+ {
26287
+ "kind": "method",
26288
+ "name": "waitForPropertiesToBeUpdatedBeforeRender",
26289
+ "privacy": "private",
26290
+ "static": true,
26291
+ "parameters": [
26292
+ {
26293
+ "name": "deepChat",
26294
+ "type": {
26295
+ "text": "InternalHTML"
26296
+ }
26297
+ }
26298
+ ]
26299
+ },
26300
+ {
26301
+ "kind": "method",
26302
+ "name": "attemptRender",
26303
+ "privacy": "public",
26304
+ "static": true,
26305
+ "parameters": [
26306
+ {
26307
+ "name": "deepChat",
26308
+ "type": {
26309
+ "text": "InternalHTML"
26310
+ }
26311
+ }
26312
+ ]
26313
+ }
26314
+ ]
26315
+ }
26316
+ ],
26317
+ "exports": [
26318
+ {
26319
+ "kind": "js",
26320
+ "name": "RenderControl",
26321
+ "declaration": {
26322
+ "name": "RenderControl",
26323
+ "module": "src/utils/decorators/renderControl.ts"
26324
+ }
26325
+ }
26326
+ ]
26327
+ },
26328
+ {
26329
+ "kind": "javascript-module",
26330
+ "path": "src/utils/decorators/typeConverters.ts",
26331
+ "declarations": [
26332
+ {
26333
+ "kind": "class",
26334
+ "description": "",
26335
+ "name": "TypeConverters",
26336
+ "members": [
26337
+ {
26338
+ "kind": "field",
26339
+ "name": "attibutes",
26340
+ "type": {
26341
+ "text": "AttributeTypeConverters"
26342
+ },
26343
+ "privacy": "public",
26344
+ "static": true,
26345
+ "default": "{\n string: (value: string) => value,\n number: (value: string) => parseFloat(value),\n boolean: (value: string) => value === 'true',\n object: (value: string) => JSON.parse(value),\n array: (value: string) => JSON.parse(value),\n function: (value: string) => new Function(`return ${value}`)(),\n }"
26346
+ }
26347
+ ]
26348
+ }
26349
+ ],
26350
+ "exports": [
26351
+ {
26352
+ "kind": "js",
26353
+ "name": "TypeConverters",
26354
+ "declaration": {
26355
+ "name": "TypeConverters",
26356
+ "module": "src/utils/decorators/typeConverters.ts"
26357
+ }
26358
+ }
26359
+ ]
26360
+ },
26249
26361
  {
26250
26362
  "kind": "javascript-module",
26251
26363
  "path": "src/utils/data/objectUtils.ts",
@@ -26372,118 +26484,6 @@
26372
26484
  }
26373
26485
  ]
26374
26486
  },
26375
- {
26376
- "kind": "javascript-module",
26377
- "path": "src/utils/decorators/property.ts",
26378
- "declarations": [
26379
- {
26380
- "kind": "function",
26381
- "name": "Property",
26382
- "parameters": [
26383
- {
26384
- "name": "type",
26385
- "type": {
26386
- "text": "AvailableTypes"
26387
- }
26388
- }
26389
- ]
26390
- }
26391
- ],
26392
- "exports": [
26393
- {
26394
- "kind": "js",
26395
- "name": "Property",
26396
- "declaration": {
26397
- "name": "Property",
26398
- "module": "src/utils/decorators/property.ts"
26399
- }
26400
- }
26401
- ]
26402
- },
26403
- {
26404
- "kind": "javascript-module",
26405
- "path": "src/utils/decorators/renderControl.ts",
26406
- "declarations": [
26407
- {
26408
- "kind": "class",
26409
- "description": "",
26410
- "name": "RenderControl",
26411
- "members": [
26412
- {
26413
- "kind": "method",
26414
- "name": "waitForPropertiesToBeUpdatedBeforeRender",
26415
- "privacy": "private",
26416
- "static": true,
26417
- "parameters": [
26418
- {
26419
- "name": "deepChat",
26420
- "type": {
26421
- "text": "InternalHTML"
26422
- }
26423
- }
26424
- ]
26425
- },
26426
- {
26427
- "kind": "method",
26428
- "name": "attemptRender",
26429
- "privacy": "public",
26430
- "static": true,
26431
- "parameters": [
26432
- {
26433
- "name": "deepChat",
26434
- "type": {
26435
- "text": "InternalHTML"
26436
- }
26437
- }
26438
- ]
26439
- }
26440
- ]
26441
- }
26442
- ],
26443
- "exports": [
26444
- {
26445
- "kind": "js",
26446
- "name": "RenderControl",
26447
- "declaration": {
26448
- "name": "RenderControl",
26449
- "module": "src/utils/decorators/renderControl.ts"
26450
- }
26451
- }
26452
- ]
26453
- },
26454
- {
26455
- "kind": "javascript-module",
26456
- "path": "src/utils/decorators/typeConverters.ts",
26457
- "declarations": [
26458
- {
26459
- "kind": "class",
26460
- "description": "",
26461
- "name": "TypeConverters",
26462
- "members": [
26463
- {
26464
- "kind": "field",
26465
- "name": "attibutes",
26466
- "type": {
26467
- "text": "AttributeTypeConverters"
26468
- },
26469
- "privacy": "public",
26470
- "static": true,
26471
- "default": "{\n string: (value: string) => value,\n number: (value: string) => parseFloat(value),\n boolean: (value: string) => value === 'true',\n object: (value: string) => JSON.parse(value),\n array: (value: string) => JSON.parse(value),\n function: (value: string) => new Function(`return ${value}`)(),\n }"
26472
- }
26473
- ]
26474
- }
26475
- ],
26476
- "exports": [
26477
- {
26478
- "kind": "js",
26479
- "name": "TypeConverters",
26480
- "declaration": {
26481
- "name": "TypeConverters",
26482
- "module": "src/utils/decorators/typeConverters.ts"
26483
- }
26484
- }
26485
- ]
26486
- },
26487
26487
  {
26488
26488
  "kind": "javascript-module",
26489
26489
  "path": "src/utils/demo/demo.ts",
@@ -28621,6 +28621,514 @@
28621
28621
  }
28622
28622
  ]
28623
28623
  },
28624
+ {
28625
+ "kind": "javascript-module",
28626
+ "path": "src/types/webModel/webLLM/webLLM.ts",
28627
+ "declarations": [],
28628
+ "exports": [
28629
+ {
28630
+ "kind": "js",
28631
+ "name": "ChatWorkerClient",
28632
+ "declaration": {
28633
+ "name": "ChatWorkerClient",
28634
+ "module": "./webLLMClient"
28635
+ }
28636
+ },
28637
+ {
28638
+ "kind": "js",
28639
+ "name": "ChatModule",
28640
+ "declaration": {
28641
+ "name": "ChatModule",
28642
+ "module": "./webLLMChatModule"
28643
+ }
28644
+ },
28645
+ {
28646
+ "kind": "js",
28647
+ "name": "*",
28648
+ "declaration": {
28649
+ "name": "*",
28650
+ "package": "./webLLMShared"
28651
+ }
28652
+ }
28653
+ ]
28654
+ },
28655
+ {
28656
+ "kind": "javascript-module",
28657
+ "path": "src/types/webModel/webLLM/webLLMChatModule.ts",
28658
+ "declarations": [
28659
+ {
28660
+ "kind": "class",
28661
+ "description": "",
28662
+ "name": "ChatModule",
28663
+ "members": [
28664
+ {
28665
+ "kind": "field",
28666
+ "name": "logger",
28667
+ "privacy": "private"
28668
+ },
28669
+ {
28670
+ "kind": "field",
28671
+ "name": "pipeline",
28672
+ "privacy": "private"
28673
+ },
28674
+ {
28675
+ "kind": "field",
28676
+ "name": "initProgressCallback",
28677
+ "privacy": "private"
28678
+ },
28679
+ {
28680
+ "kind": "field",
28681
+ "name": "interruptSignal",
28682
+ "privacy": "private"
28683
+ },
28684
+ {
28685
+ "kind": "method",
28686
+ "name": "setInitProgressCallback",
28687
+ "return": {
28688
+ "type": {
28689
+ "text": "void"
28690
+ }
28691
+ },
28692
+ "parameters": [
28693
+ {
28694
+ "name": "initProgressCallback",
28695
+ "type": {
28696
+ "text": "InitProgressCallback"
28697
+ }
28698
+ }
28699
+ ]
28700
+ },
28701
+ {
28702
+ "kind": "method",
28703
+ "name": "reload",
28704
+ "return": {
28705
+ "type": {
28706
+ "text": "Promise<void>"
28707
+ }
28708
+ },
28709
+ "parameters": [
28710
+ {
28711
+ "name": "localId",
28712
+ "type": {
28713
+ "text": "string"
28714
+ }
28715
+ },
28716
+ {
28717
+ "name": "chatOpts",
28718
+ "optional": true,
28719
+ "type": {
28720
+ "text": "ChatOptions"
28721
+ }
28722
+ },
28723
+ {
28724
+ "name": "appConfig",
28725
+ "optional": true,
28726
+ "type": {
28727
+ "text": "AppConfig"
28728
+ }
28729
+ }
28730
+ ]
28731
+ },
28732
+ {
28733
+ "kind": "method",
28734
+ "name": "generate",
28735
+ "return": {
28736
+ "type": {
28737
+ "text": "Promise<string>"
28738
+ }
28739
+ },
28740
+ "parameters": [
28741
+ {
28742
+ "name": "input",
28743
+ "type": {
28744
+ "text": "string"
28745
+ }
28746
+ },
28747
+ {
28748
+ "name": "progressCallback",
28749
+ "optional": true,
28750
+ "type": {
28751
+ "text": "GenerateProgressCallback"
28752
+ }
28753
+ },
28754
+ {
28755
+ "name": "streamInterval",
28756
+ "optional": true,
28757
+ "type": {
28758
+ "text": "number"
28759
+ }
28760
+ }
28761
+ ]
28762
+ },
28763
+ {
28764
+ "kind": "method",
28765
+ "name": "interruptGenerate",
28766
+ "return": {
28767
+ "type": {
28768
+ "text": "Promise<void>"
28769
+ }
28770
+ }
28771
+ },
28772
+ {
28773
+ "kind": "method",
28774
+ "name": "runtimeStatsText",
28775
+ "return": {
28776
+ "type": {
28777
+ "text": "Promise<string>"
28778
+ }
28779
+ }
28780
+ },
28781
+ {
28782
+ "kind": "method",
28783
+ "name": "resetChat",
28784
+ "return": {
28785
+ "type": {
28786
+ "text": "Promise<void>"
28787
+ }
28788
+ }
28789
+ },
28790
+ {
28791
+ "kind": "method",
28792
+ "name": "unload",
28793
+ "return": {
28794
+ "type": {
28795
+ "text": "Promise<void>"
28796
+ }
28797
+ }
28798
+ },
28799
+ {
28800
+ "kind": "method",
28801
+ "name": "stopped",
28802
+ "return": {
28803
+ "type": {
28804
+ "text": "boolean"
28805
+ }
28806
+ }
28807
+ },
28808
+ {
28809
+ "kind": "method",
28810
+ "name": "getMessage",
28811
+ "return": {
28812
+ "type": {
28813
+ "text": "string"
28814
+ }
28815
+ }
28816
+ },
28817
+ {
28818
+ "kind": "method",
28819
+ "name": "prefill",
28820
+ "return": {
28821
+ "type": {
28822
+ "text": "Promise<void>"
28823
+ }
28824
+ },
28825
+ "parameters": [
28826
+ {
28827
+ "name": "input",
28828
+ "type": {
28829
+ "text": "string"
28830
+ }
28831
+ }
28832
+ ]
28833
+ },
28834
+ {
28835
+ "kind": "method",
28836
+ "name": "decode",
28837
+ "return": {
28838
+ "type": {
28839
+ "text": "Promise<void>"
28840
+ }
28841
+ }
28842
+ },
28843
+ {
28844
+ "kind": "field",
28845
+ "name": "getPipeline",
28846
+ "privacy": "private"
28847
+ },
28848
+ {
28849
+ "kind": "field",
28850
+ "name": "asyncLoadTokenizer",
28851
+ "privacy": "private"
28852
+ }
28853
+ ]
28854
+ }
28855
+ ],
28856
+ "exports": [
28857
+ {
28858
+ "kind": "js",
28859
+ "name": "ChatModule",
28860
+ "declaration": {
28861
+ "name": "ChatModule",
28862
+ "module": "src/types/webModel/webLLM/webLLMChatModule.ts"
28863
+ }
28864
+ }
28865
+ ]
28866
+ },
28867
+ {
28868
+ "kind": "javascript-module",
28869
+ "path": "src/types/webModel/webLLM/webLLMClient.ts",
28870
+ "declarations": [
28871
+ {
28872
+ "kind": "class",
28873
+ "description": "",
28874
+ "name": "ChatWorkerHandler",
28875
+ "members": [
28876
+ {
28877
+ "kind": "field",
28878
+ "name": "chat",
28879
+ "privacy": "private"
28880
+ },
28881
+ {
28882
+ "kind": "method",
28883
+ "name": "handleTask",
28884
+ "return": {
28885
+ "type": {
28886
+ "text": "Promise<void>"
28887
+ }
28888
+ },
28889
+ "parameters": [
28890
+ {
28891
+ "name": "uuid",
28892
+ "type": {
28893
+ "text": "string"
28894
+ }
28895
+ },
28896
+ {
28897
+ "name": "task",
28898
+ "type": {
28899
+ "text": "() => Promise<T>"
28900
+ }
28901
+ }
28902
+ ]
28903
+ },
28904
+ {
28905
+ "kind": "method",
28906
+ "name": "onmessage",
28907
+ "return": {
28908
+ "type": {
28909
+ "text": "void"
28910
+ }
28911
+ },
28912
+ "parameters": [
28913
+ {
28914
+ "name": "event",
28915
+ "type": {
28916
+ "text": "MessageEvent"
28917
+ }
28918
+ }
28919
+ ]
28920
+ }
28921
+ ]
28922
+ },
28923
+ {
28924
+ "kind": "class",
28925
+ "description": "",
28926
+ "name": "ChatWorkerClient",
28927
+ "members": [
28928
+ {
28929
+ "kind": "field",
28930
+ "name": "worker",
28931
+ "type": {
28932
+ "text": "ChatWorker"
28933
+ }
28934
+ },
28935
+ {
28936
+ "kind": "field",
28937
+ "name": "initProgressCallback",
28938
+ "privacy": "private"
28939
+ },
28940
+ {
28941
+ "kind": "field",
28942
+ "name": "generateCallbackRegistry",
28943
+ "privacy": "private"
28944
+ },
28945
+ {
28946
+ "kind": "field",
28947
+ "name": "pendingPromise",
28948
+ "privacy": "private"
28949
+ },
28950
+ {
28951
+ "kind": "method",
28952
+ "name": "setInitProgressCallback",
28953
+ "return": {
28954
+ "type": {
28955
+ "text": "void"
28956
+ }
28957
+ },
28958
+ "parameters": [
28959
+ {
28960
+ "name": "initProgressCallback",
28961
+ "type": {
28962
+ "text": "InitProgressCallback"
28963
+ }
28964
+ }
28965
+ ]
28966
+ },
28967
+ {
28968
+ "kind": "field",
28969
+ "name": "getPromise",
28970
+ "privacy": "private"
28971
+ },
28972
+ {
28973
+ "kind": "method",
28974
+ "name": "reload",
28975
+ "return": {
28976
+ "type": {
28977
+ "text": "Promise<void>"
28978
+ }
28979
+ },
28980
+ "parameters": [
28981
+ {
28982
+ "name": "localIdOrUrl",
28983
+ "type": {
28984
+ "text": "string"
28985
+ }
28986
+ },
28987
+ {
28988
+ "name": "chatOpts",
28989
+ "optional": true,
28990
+ "type": {
28991
+ "text": "ChatOptions"
28992
+ }
28993
+ },
28994
+ {
28995
+ "name": "appConfig",
28996
+ "optional": true,
28997
+ "type": {
28998
+ "text": "AppConfig"
28999
+ }
29000
+ }
29001
+ ]
29002
+ },
29003
+ {
29004
+ "kind": "method",
29005
+ "name": "generate",
29006
+ "return": {
29007
+ "type": {
29008
+ "text": "Promise<string>"
29009
+ }
29010
+ },
29011
+ "parameters": [
29012
+ {
29013
+ "name": "input",
29014
+ "type": {
29015
+ "text": "string"
29016
+ }
29017
+ },
29018
+ {
29019
+ "name": "progressCallback",
29020
+ "optional": true,
29021
+ "type": {
29022
+ "text": "GenerateProgressCallback"
29023
+ }
29024
+ },
29025
+ {
29026
+ "name": "streamInterval",
29027
+ "optional": true,
29028
+ "type": {
29029
+ "text": "number"
29030
+ }
29031
+ }
29032
+ ]
29033
+ },
29034
+ {
29035
+ "kind": "method",
29036
+ "name": "runtimeStatsText",
29037
+ "return": {
29038
+ "type": {
29039
+ "text": "Promise<string>"
29040
+ }
29041
+ }
29042
+ },
29043
+ {
29044
+ "kind": "method",
29045
+ "name": "interruptGenerate",
29046
+ "return": {
29047
+ "type": {
29048
+ "text": "void"
29049
+ }
29050
+ }
29051
+ },
29052
+ {
29053
+ "kind": "method",
29054
+ "name": "unload",
29055
+ "return": {
29056
+ "type": {
29057
+ "text": "Promise<void>"
29058
+ }
29059
+ }
29060
+ },
29061
+ {
29062
+ "kind": "method",
29063
+ "name": "resetChat",
29064
+ "return": {
29065
+ "type": {
29066
+ "text": "Promise<void>"
29067
+ }
29068
+ }
29069
+ },
29070
+ {
29071
+ "kind": "method",
29072
+ "name": "onmessage",
29073
+ "return": {
29074
+ "type": {
29075
+ "text": "void"
29076
+ }
29077
+ },
29078
+ "parameters": [
29079
+ {
29080
+ "name": "event",
29081
+ "type": {
29082
+ "text": "any"
29083
+ }
29084
+ }
29085
+ ]
29086
+ }
29087
+ ]
29088
+ }
29089
+ ],
29090
+ "exports": [
29091
+ {
29092
+ "kind": "js",
29093
+ "name": "ChatWorkerHandler",
29094
+ "declaration": {
29095
+ "name": "ChatWorkerHandler",
29096
+ "module": "src/types/webModel/webLLM/webLLMClient.ts"
29097
+ }
29098
+ },
29099
+ {
29100
+ "kind": "js",
29101
+ "name": "ChatWorkerClient",
29102
+ "declaration": {
29103
+ "name": "ChatWorkerClient",
29104
+ "module": "src/types/webModel/webLLM/webLLMClient.ts"
29105
+ }
29106
+ }
29107
+ ]
29108
+ },
29109
+ {
29110
+ "kind": "javascript-module",
29111
+ "path": "src/types/webModel/webLLM/webLLMShared.ts",
29112
+ "declarations": [
29113
+ {
29114
+ "kind": "variable",
29115
+ "name": "prebuiltAppConfig",
29116
+ "type": {
29117
+ "text": "AppConfig"
29118
+ }
29119
+ }
29120
+ ],
29121
+ "exports": [
29122
+ {
29123
+ "kind": "js",
29124
+ "name": "prebuiltAppConfig",
29125
+ "declaration": {
29126
+ "name": "prebuiltAppConfig",
29127
+ "module": "src/types/webModel/webLLM/webLLMShared.ts"
29128
+ }
29129
+ }
29130
+ ]
29131
+ },
28624
29132
  {
28625
29133
  "kind": "javascript-module",
28626
29134
  "path": "src/views/chat/messages/avatar.ts",
@@ -31035,514 +31543,6 @@
31035
31543
  }
31036
31544
  ]
31037
31545
  },
31038
- {
31039
- "kind": "javascript-module",
31040
- "path": "src/types/webModel/webLLM/webLLM.ts",
31041
- "declarations": [],
31042
- "exports": [
31043
- {
31044
- "kind": "js",
31045
- "name": "ChatWorkerClient",
31046
- "declaration": {
31047
- "name": "ChatWorkerClient",
31048
- "module": "./webLLMClient"
31049
- }
31050
- },
31051
- {
31052
- "kind": "js",
31053
- "name": "ChatModule",
31054
- "declaration": {
31055
- "name": "ChatModule",
31056
- "module": "./webLLMChatModule"
31057
- }
31058
- },
31059
- {
31060
- "kind": "js",
31061
- "name": "*",
31062
- "declaration": {
31063
- "name": "*",
31064
- "package": "./webLLMShared"
31065
- }
31066
- }
31067
- ]
31068
- },
31069
- {
31070
- "kind": "javascript-module",
31071
- "path": "src/types/webModel/webLLM/webLLMChatModule.ts",
31072
- "declarations": [
31073
- {
31074
- "kind": "class",
31075
- "description": "",
31076
- "name": "ChatModule",
31077
- "members": [
31078
- {
31079
- "kind": "field",
31080
- "name": "logger",
31081
- "privacy": "private"
31082
- },
31083
- {
31084
- "kind": "field",
31085
- "name": "pipeline",
31086
- "privacy": "private"
31087
- },
31088
- {
31089
- "kind": "field",
31090
- "name": "initProgressCallback",
31091
- "privacy": "private"
31092
- },
31093
- {
31094
- "kind": "field",
31095
- "name": "interruptSignal",
31096
- "privacy": "private"
31097
- },
31098
- {
31099
- "kind": "method",
31100
- "name": "setInitProgressCallback",
31101
- "return": {
31102
- "type": {
31103
- "text": "void"
31104
- }
31105
- },
31106
- "parameters": [
31107
- {
31108
- "name": "initProgressCallback",
31109
- "type": {
31110
- "text": "InitProgressCallback"
31111
- }
31112
- }
31113
- ]
31114
- },
31115
- {
31116
- "kind": "method",
31117
- "name": "reload",
31118
- "return": {
31119
- "type": {
31120
- "text": "Promise<void>"
31121
- }
31122
- },
31123
- "parameters": [
31124
- {
31125
- "name": "localId",
31126
- "type": {
31127
- "text": "string"
31128
- }
31129
- },
31130
- {
31131
- "name": "chatOpts",
31132
- "optional": true,
31133
- "type": {
31134
- "text": "ChatOptions"
31135
- }
31136
- },
31137
- {
31138
- "name": "appConfig",
31139
- "optional": true,
31140
- "type": {
31141
- "text": "AppConfig"
31142
- }
31143
- }
31144
- ]
31145
- },
31146
- {
31147
- "kind": "method",
31148
- "name": "generate",
31149
- "return": {
31150
- "type": {
31151
- "text": "Promise<string>"
31152
- }
31153
- },
31154
- "parameters": [
31155
- {
31156
- "name": "input",
31157
- "type": {
31158
- "text": "string"
31159
- }
31160
- },
31161
- {
31162
- "name": "progressCallback",
31163
- "optional": true,
31164
- "type": {
31165
- "text": "GenerateProgressCallback"
31166
- }
31167
- },
31168
- {
31169
- "name": "streamInterval",
31170
- "optional": true,
31171
- "type": {
31172
- "text": "number"
31173
- }
31174
- }
31175
- ]
31176
- },
31177
- {
31178
- "kind": "method",
31179
- "name": "interruptGenerate",
31180
- "return": {
31181
- "type": {
31182
- "text": "Promise<void>"
31183
- }
31184
- }
31185
- },
31186
- {
31187
- "kind": "method",
31188
- "name": "runtimeStatsText",
31189
- "return": {
31190
- "type": {
31191
- "text": "Promise<string>"
31192
- }
31193
- }
31194
- },
31195
- {
31196
- "kind": "method",
31197
- "name": "resetChat",
31198
- "return": {
31199
- "type": {
31200
- "text": "Promise<void>"
31201
- }
31202
- }
31203
- },
31204
- {
31205
- "kind": "method",
31206
- "name": "unload",
31207
- "return": {
31208
- "type": {
31209
- "text": "Promise<void>"
31210
- }
31211
- }
31212
- },
31213
- {
31214
- "kind": "method",
31215
- "name": "stopped",
31216
- "return": {
31217
- "type": {
31218
- "text": "boolean"
31219
- }
31220
- }
31221
- },
31222
- {
31223
- "kind": "method",
31224
- "name": "getMessage",
31225
- "return": {
31226
- "type": {
31227
- "text": "string"
31228
- }
31229
- }
31230
- },
31231
- {
31232
- "kind": "method",
31233
- "name": "prefill",
31234
- "return": {
31235
- "type": {
31236
- "text": "Promise<void>"
31237
- }
31238
- },
31239
- "parameters": [
31240
- {
31241
- "name": "input",
31242
- "type": {
31243
- "text": "string"
31244
- }
31245
- }
31246
- ]
31247
- },
31248
- {
31249
- "kind": "method",
31250
- "name": "decode",
31251
- "return": {
31252
- "type": {
31253
- "text": "Promise<void>"
31254
- }
31255
- }
31256
- },
31257
- {
31258
- "kind": "field",
31259
- "name": "getPipeline",
31260
- "privacy": "private"
31261
- },
31262
- {
31263
- "kind": "field",
31264
- "name": "asyncLoadTokenizer",
31265
- "privacy": "private"
31266
- }
31267
- ]
31268
- }
31269
- ],
31270
- "exports": [
31271
- {
31272
- "kind": "js",
31273
- "name": "ChatModule",
31274
- "declaration": {
31275
- "name": "ChatModule",
31276
- "module": "src/types/webModel/webLLM/webLLMChatModule.ts"
31277
- }
31278
- }
31279
- ]
31280
- },
31281
- {
31282
- "kind": "javascript-module",
31283
- "path": "src/types/webModel/webLLM/webLLMClient.ts",
31284
- "declarations": [
31285
- {
31286
- "kind": "class",
31287
- "description": "",
31288
- "name": "ChatWorkerHandler",
31289
- "members": [
31290
- {
31291
- "kind": "field",
31292
- "name": "chat",
31293
- "privacy": "private"
31294
- },
31295
- {
31296
- "kind": "method",
31297
- "name": "handleTask",
31298
- "return": {
31299
- "type": {
31300
- "text": "Promise<void>"
31301
- }
31302
- },
31303
- "parameters": [
31304
- {
31305
- "name": "uuid",
31306
- "type": {
31307
- "text": "string"
31308
- }
31309
- },
31310
- {
31311
- "name": "task",
31312
- "type": {
31313
- "text": "() => Promise<T>"
31314
- }
31315
- }
31316
- ]
31317
- },
31318
- {
31319
- "kind": "method",
31320
- "name": "onmessage",
31321
- "return": {
31322
- "type": {
31323
- "text": "void"
31324
- }
31325
- },
31326
- "parameters": [
31327
- {
31328
- "name": "event",
31329
- "type": {
31330
- "text": "MessageEvent"
31331
- }
31332
- }
31333
- ]
31334
- }
31335
- ]
31336
- },
31337
- {
31338
- "kind": "class",
31339
- "description": "",
31340
- "name": "ChatWorkerClient",
31341
- "members": [
31342
- {
31343
- "kind": "field",
31344
- "name": "worker",
31345
- "type": {
31346
- "text": "ChatWorker"
31347
- }
31348
- },
31349
- {
31350
- "kind": "field",
31351
- "name": "initProgressCallback",
31352
- "privacy": "private"
31353
- },
31354
- {
31355
- "kind": "field",
31356
- "name": "generateCallbackRegistry",
31357
- "privacy": "private"
31358
- },
31359
- {
31360
- "kind": "field",
31361
- "name": "pendingPromise",
31362
- "privacy": "private"
31363
- },
31364
- {
31365
- "kind": "method",
31366
- "name": "setInitProgressCallback",
31367
- "return": {
31368
- "type": {
31369
- "text": "void"
31370
- }
31371
- },
31372
- "parameters": [
31373
- {
31374
- "name": "initProgressCallback",
31375
- "type": {
31376
- "text": "InitProgressCallback"
31377
- }
31378
- }
31379
- ]
31380
- },
31381
- {
31382
- "kind": "field",
31383
- "name": "getPromise",
31384
- "privacy": "private"
31385
- },
31386
- {
31387
- "kind": "method",
31388
- "name": "reload",
31389
- "return": {
31390
- "type": {
31391
- "text": "Promise<void>"
31392
- }
31393
- },
31394
- "parameters": [
31395
- {
31396
- "name": "localIdOrUrl",
31397
- "type": {
31398
- "text": "string"
31399
- }
31400
- },
31401
- {
31402
- "name": "chatOpts",
31403
- "optional": true,
31404
- "type": {
31405
- "text": "ChatOptions"
31406
- }
31407
- },
31408
- {
31409
- "name": "appConfig",
31410
- "optional": true,
31411
- "type": {
31412
- "text": "AppConfig"
31413
- }
31414
- }
31415
- ]
31416
- },
31417
- {
31418
- "kind": "method",
31419
- "name": "generate",
31420
- "return": {
31421
- "type": {
31422
- "text": "Promise<string>"
31423
- }
31424
- },
31425
- "parameters": [
31426
- {
31427
- "name": "input",
31428
- "type": {
31429
- "text": "string"
31430
- }
31431
- },
31432
- {
31433
- "name": "progressCallback",
31434
- "optional": true,
31435
- "type": {
31436
- "text": "GenerateProgressCallback"
31437
- }
31438
- },
31439
- {
31440
- "name": "streamInterval",
31441
- "optional": true,
31442
- "type": {
31443
- "text": "number"
31444
- }
31445
- }
31446
- ]
31447
- },
31448
- {
31449
- "kind": "method",
31450
- "name": "runtimeStatsText",
31451
- "return": {
31452
- "type": {
31453
- "text": "Promise<string>"
31454
- }
31455
- }
31456
- },
31457
- {
31458
- "kind": "method",
31459
- "name": "interruptGenerate",
31460
- "return": {
31461
- "type": {
31462
- "text": "void"
31463
- }
31464
- }
31465
- },
31466
- {
31467
- "kind": "method",
31468
- "name": "unload",
31469
- "return": {
31470
- "type": {
31471
- "text": "Promise<void>"
31472
- }
31473
- }
31474
- },
31475
- {
31476
- "kind": "method",
31477
- "name": "resetChat",
31478
- "return": {
31479
- "type": {
31480
- "text": "Promise<void>"
31481
- }
31482
- }
31483
- },
31484
- {
31485
- "kind": "method",
31486
- "name": "onmessage",
31487
- "return": {
31488
- "type": {
31489
- "text": "void"
31490
- }
31491
- },
31492
- "parameters": [
31493
- {
31494
- "name": "event",
31495
- "type": {
31496
- "text": "any"
31497
- }
31498
- }
31499
- ]
31500
- }
31501
- ]
31502
- }
31503
- ],
31504
- "exports": [
31505
- {
31506
- "kind": "js",
31507
- "name": "ChatWorkerHandler",
31508
- "declaration": {
31509
- "name": "ChatWorkerHandler",
31510
- "module": "src/types/webModel/webLLM/webLLMClient.ts"
31511
- }
31512
- },
31513
- {
31514
- "kind": "js",
31515
- "name": "ChatWorkerClient",
31516
- "declaration": {
31517
- "name": "ChatWorkerClient",
31518
- "module": "src/types/webModel/webLLM/webLLMClient.ts"
31519
- }
31520
- }
31521
- ]
31522
- },
31523
- {
31524
- "kind": "javascript-module",
31525
- "path": "src/types/webModel/webLLM/webLLMShared.ts",
31526
- "declarations": [
31527
- {
31528
- "kind": "variable",
31529
- "name": "prebuiltAppConfig",
31530
- "type": {
31531
- "text": "AppConfig"
31532
- }
31533
- }
31534
- ],
31535
- "exports": [
31536
- {
31537
- "kind": "js",
31538
- "name": "prebuiltAppConfig",
31539
- "declaration": {
31540
- "name": "prebuiltAppConfig",
31541
- "module": "src/types/webModel/webLLM/webLLMShared.ts"
31542
- }
31543
- }
31544
- ]
31545
- },
31546
31546
  {
31547
31547
  "kind": "javascript-module",
31548
31548
  "path": "src/views/chat/input/buttonContainers/buttonContainers.ts",
@@ -32075,489 +32075,338 @@
32075
32075
  },
32076
32076
  {
32077
32077
  "kind": "javascript-module",
32078
- "path": "src/views/chat/input/dropup/dropup.ts",
32078
+ "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
32079
32079
  "declarations": [
32080
32080
  {
32081
32081
  "kind": "class",
32082
32082
  "description": "",
32083
- "name": "Dropup",
32083
+ "name": "FileAttachments",
32084
32084
  "members": [
32085
32085
  {
32086
32086
  "kind": "field",
32087
- "name": "_menu",
32087
+ "name": "_fileAttachmentsTypes",
32088
32088
  "type": {
32089
- "text": "DropupMenu"
32089
+ "text": "FileAttachmentsType[]"
32090
32090
  },
32091
32091
  "privacy": "private",
32092
- "default": "new DropupMenu(containerElement, styles?.menu)"
32092
+ "default": "[]"
32093
32093
  },
32094
32094
  {
32095
32095
  "kind": "field",
32096
- "name": "buttonContainer",
32096
+ "name": "elementRef",
32097
32097
  "type": {
32098
32098
  "text": "HTMLElement"
32099
32099
  }
32100
32100
  },
32101
32101
  {
32102
32102
  "kind": "method",
32103
- "name": "createButtonElement",
32104
- "privacy": "private",
32105
- "static": true
32106
- },
32107
- {
32108
- "kind": "method",
32109
- "name": "createInnerElements",
32110
- "privacy": "private",
32111
- "parameters": [
32112
- {
32113
- "name": "customStyles",
32114
- "optional": true,
32115
- "type": {
32116
- "text": "Styles"
32117
- }
32118
- }
32119
- ]
32120
- },
32121
- {
32122
- "kind": "method",
32123
- "name": "createInnerElement",
32124
- "privacy": "private",
32103
+ "name": "addType",
32125
32104
  "parameters": [
32126
32105
  {
32127
- "name": "baseButton",
32106
+ "name": "deepChat",
32128
32107
  "type": {
32129
- "text": "SVGGraphicsElement"
32108
+ "text": "DeepChat"
32130
32109
  }
32131
32110
  },
32132
32111
  {
32133
- "name": "state",
32112
+ "name": "files",
32134
32113
  "type": {
32135
- "text": "'styles'"
32114
+ "text": "FileAttachmentsT"
32136
32115
  }
32137
32116
  },
32138
32117
  {
32139
- "name": "customStyles",
32140
- "optional": true,
32118
+ "name": "type",
32141
32119
  "type": {
32142
- "text": "Styles"
32120
+ "text": "keyof ServiceFileTypes"
32143
32121
  }
32144
32122
  }
32145
32123
  ]
32146
32124
  },
32147
32125
  {
32148
32126
  "kind": "method",
32149
- "name": "createSVGIconElement",
32150
- "privacy": "private",
32151
- "static": true
32152
- },
32153
- {
32154
- "kind": "method",
32155
- "name": "addClickEvent",
32127
+ "name": "createAttachmentContainer",
32156
32128
  "privacy": "private"
32157
32129
  },
32158
32130
  {
32159
32131
  "kind": "method",
32160
- "name": "createButtonContainer",
32161
- "privacy": "private",
32162
- "static": true
32163
- },
32164
- {
32165
- "kind": "method",
32166
- "name": "addItem",
32167
- "parameters": [
32168
- {
32169
- "name": "buttonProps",
32170
- "type": {
32171
- "text": "InputButton"
32172
- }
32173
- }
32174
- ]
32175
- },
32176
- {
32177
- "kind": "method",
32178
- "name": "addContainerEvents",
32132
+ "name": "toggleContainerDisplay",
32179
32133
  "privacy": "private",
32180
32134
  "parameters": [
32181
32135
  {
32182
- "name": "containerElement",
32136
+ "name": "display",
32183
32137
  "type": {
32184
- "text": "HTMLElement"
32138
+ "text": "boolean"
32185
32139
  }
32186
32140
  }
32187
32141
  ]
32188
32142
  },
32189
32143
  {
32190
32144
  "kind": "method",
32191
- "name": "getPosition",
32192
- "static": true,
32193
- "parameters": [
32194
- {
32195
- "name": "positions",
32196
- "type": {
32197
- "text": "Positions"
32198
- }
32199
- },
32200
- {
32201
- "name": "dropupStyles",
32202
- "optional": true,
32203
- "type": {
32204
- "text": "DropupStyles"
32205
- }
32206
- }
32207
- ]
32208
- },
32209
- {
32210
- "kind": "field",
32211
- "name": "elementRef",
32212
- "type": {
32213
- "text": "HTMLElement"
32214
- },
32215
- "default": "buttonElement",
32216
- "inheritedFrom": {
32217
- "name": "InputButton",
32218
- "module": "src/views/chat/input/buttons/inputButton.ts"
32219
- }
32220
- },
32221
- {
32222
- "kind": "field",
32223
- "name": "_mouseState",
32224
- "type": {
32225
- "text": "MouseState"
32226
- },
32227
- "privacy": "protected",
32228
- "default": "{state: 'default'}",
32229
- "inheritedFrom": {
32230
- "name": "InputButton",
32231
- "module": "src/views/chat/input/buttons/inputButton.ts"
32232
- }
32233
- },
32234
- {
32235
- "kind": "field",
32236
- "name": "_customStyles",
32237
- "type": {
32238
- "text": "T | undefined"
32239
- },
32240
- "privacy": "protected",
32241
- "default": "customStyles",
32242
- "inheritedFrom": {
32243
- "name": "InputButton",
32244
- "module": "src/views/chat/input/buttons/inputButton.ts"
32245
- }
32246
- },
32247
- {
32248
- "kind": "field",
32249
- "name": "position",
32250
- "type": {
32251
- "text": "ButtonPositionT | undefined"
32252
- },
32253
- "default": "position",
32254
- "inheritedFrom": {
32255
- "name": "InputButton",
32256
- "module": "src/views/chat/input/buttons/inputButton.ts"
32257
- }
32258
- },
32259
- {
32260
- "kind": "field",
32261
- "name": "dropupText",
32262
- "type": {
32263
- "text": "string | undefined"
32264
- },
32265
- "default": "dropupText",
32266
- "inheritedFrom": {
32267
- "name": "InputButton",
32268
- "module": "src/views/chat/input/buttons/inputButton.ts"
32269
- }
32145
+ "name": "getAllFileData"
32270
32146
  },
32271
32147
  {
32272
32148
  "kind": "method",
32273
- "name": "buttonMouseLeave",
32274
- "privacy": "private",
32275
- "parameters": [
32276
- {
32277
- "name": "customStyles",
32278
- "optional": true,
32279
- "type": {
32280
- "text": "ButtonStyles"
32281
- }
32282
- }
32283
- ],
32284
- "inheritedFrom": {
32285
- "name": "InputButton",
32286
- "module": "src/views/chat/input/buttons/inputButton.ts"
32287
- }
32149
+ "name": "completePlaceholders"
32288
32150
  },
32289
32151
  {
32290
32152
  "kind": "method",
32291
- "name": "buttonMouseEnter",
32292
- "privacy": "private",
32153
+ "name": "addFilesToType",
32154
+ "privacy": "public",
32155
+ "static": true,
32293
32156
  "parameters": [
32294
32157
  {
32295
- "name": "customStyles",
32296
- "optional": true,
32158
+ "name": "files",
32297
32159
  "type": {
32298
- "text": "ButtonStyles"
32160
+ "text": "File[]"
32299
32161
  }
32300
- }
32301
- ],
32302
- "inheritedFrom": {
32303
- "name": "InputButton",
32304
- "module": "src/views/chat/input/buttons/inputButton.ts"
32305
- }
32306
- },
32307
- {
32308
- "kind": "method",
32309
- "name": "buttonMouseUp",
32310
- "privacy": "private",
32311
- "parameters": [
32162
+ },
32312
32163
  {
32313
- "name": "customStyles",
32314
- "optional": true,
32164
+ "name": "fileAttachmentTypes",
32315
32165
  "type": {
32316
- "text": "ButtonStyles"
32166
+ "text": "FileAttachmentsType[]"
32317
32167
  }
32318
32168
  }
32319
- ],
32320
- "inheritedFrom": {
32321
- "name": "InputButton",
32322
- "module": "src/views/chat/input/buttons/inputButton.ts"
32323
- }
32169
+ ]
32324
32170
  },
32325
32171
  {
32326
32172
  "kind": "method",
32327
- "name": "buttonMouseDown",
32328
- "privacy": "private",
32173
+ "name": "addFilesToAnyType",
32329
32174
  "parameters": [
32330
32175
  {
32331
- "name": "customStyles",
32332
- "optional": true,
32176
+ "name": "files",
32333
32177
  "type": {
32334
- "text": "ButtonStyles"
32178
+ "text": "File[]"
32335
32179
  }
32336
32180
  }
32337
- ],
32338
- "inheritedFrom": {
32339
- "name": "InputButton",
32340
- "module": "src/views/chat/input/buttons/inputButton.ts"
32341
- }
32181
+ ]
32342
32182
  },
32343
32183
  {
32344
32184
  "kind": "method",
32345
- "name": "setEvents",
32346
- "privacy": "private",
32347
- "parameters": [
32348
- {
32349
- "name": "customStyles",
32350
- "optional": true,
32351
- "type": {
32352
- "text": "ButtonStyles"
32353
- }
32354
- }
32355
- ],
32356
- "inheritedFrom": {
32357
- "name": "InputButton",
32358
- "module": "src/views/chat/input/buttons/inputButton.ts"
32359
- }
32185
+ "name": "removeAllFiles"
32360
32186
  },
32361
32187
  {
32362
32188
  "kind": "method",
32363
- "name": "unsetCustomStateStyles",
32364
- "privacy": "public",
32365
- "parameters": [
32366
- {
32367
- "name": "unsetTypes",
32368
- "type": {
32369
- "text": "(keyof T)[]"
32370
- }
32371
- }
32372
- ],
32373
- "inheritedFrom": {
32374
- "name": "InputButton",
32375
- "module": "src/views/chat/input/buttons/inputButton.ts"
32376
- }
32377
- },
32189
+ "name": "getNumberOfTypes"
32190
+ }
32191
+ ]
32192
+ }
32193
+ ],
32194
+ "exports": [
32195
+ {
32196
+ "kind": "js",
32197
+ "name": "FileAttachments",
32198
+ "declaration": {
32199
+ "name": "FileAttachments",
32200
+ "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
32201
+ }
32202
+ }
32203
+ ]
32204
+ },
32205
+ {
32206
+ "kind": "javascript-module",
32207
+ "path": "src/views/chat/input/fileAttachments/newFileName.ts",
32208
+ "declarations": [
32209
+ {
32210
+ "kind": "class",
32211
+ "description": "",
32212
+ "name": "NewFileName",
32213
+ "members": [
32378
32214
  {
32379
32215
  "kind": "method",
32380
- "name": "reapplyStateStyle",
32216
+ "name": "getFileName",
32381
32217
  "privacy": "public",
32218
+ "static": true,
32382
32219
  "parameters": [
32383
32220
  {
32384
- "name": "setType",
32221
+ "name": "prefix",
32385
32222
  "type": {
32386
- "text": "keyof T"
32223
+ "text": "string"
32387
32224
  }
32388
32225
  },
32389
32226
  {
32390
- "name": "unsetTypes",
32391
- "optional": true,
32227
+ "name": "extension",
32392
32228
  "type": {
32393
- "text": "(keyof T)[]"
32229
+ "text": "string"
32394
32230
  }
32395
32231
  }
32396
- ],
32397
- "inheritedFrom": {
32398
- "name": "InputButton",
32399
- "module": "src/views/chat/input/buttons/inputButton.ts"
32400
- }
32232
+ ]
32401
32233
  }
32402
- ],
32403
- "superclass": {
32404
- "name": "InputButton",
32405
- "module": "/src/views/chat/input/buttons/inputButton"
32406
- }
32234
+ ]
32407
32235
  }
32408
32236
  ],
32409
32237
  "exports": [
32410
32238
  {
32411
32239
  "kind": "js",
32412
- "name": "Dropup",
32240
+ "name": "NewFileName",
32413
32241
  "declaration": {
32414
- "name": "Dropup",
32415
- "module": "src/views/chat/input/dropup/dropup.ts"
32242
+ "name": "NewFileName",
32243
+ "module": "src/views/chat/input/fileAttachments/newFileName.ts"
32416
32244
  }
32417
32245
  }
32418
32246
  ]
32419
32247
  },
32420
32248
  {
32421
32249
  "kind": "javascript-module",
32422
- "path": "src/views/chat/input/dropup/dropupItem.ts",
32250
+ "path": "src/views/chat/input/validation/validationHandler.ts",
32423
32251
  "declarations": [
32424
32252
  {
32425
32253
  "kind": "class",
32426
32254
  "description": "",
32427
- "name": "DropupItem",
32255
+ "name": "ValidationHandler",
32428
32256
  "members": [
32429
32257
  {
32430
32258
  "kind": "method",
32431
- "name": "addItemEvents",
32259
+ "name": "validate",
32432
32260
  "privacy": "private",
32433
32261
  "static": true,
32434
32262
  "parameters": [
32435
32263
  {
32436
- "name": "menu",
32264
+ "name": "validation",
32437
32265
  "type": {
32438
- "text": "DropupMenu"
32266
+ "text": "ValidateFunc"
32439
32267
  }
32440
32268
  },
32441
32269
  {
32442
- "name": "item",
32270
+ "name": "submitButton",
32443
32271
  "type": {
32444
- "text": "HTMLElement"
32272
+ "text": "SubmitButton"
32445
32273
  }
32446
32274
  },
32447
32275
  {
32448
- "name": "inputButton",
32276
+ "name": "text",
32277
+ "optional": true,
32449
32278
  "type": {
32450
- "text": "HTMLElement"
32279
+ "text": "string"
32451
32280
  }
32452
32281
  },
32453
32282
  {
32454
- "name": "styles",
32283
+ "name": "files",
32284
+ "optional": true,
32455
32285
  "type": {
32456
- "text": "StatefulStyles"
32286
+ "text": "File[]"
32287
+ }
32288
+ },
32289
+ {
32290
+ "name": "isProgrammatic",
32291
+ "optional": true,
32292
+ "type": {
32293
+ "text": "boolean"
32457
32294
  }
32458
32295
  }
32459
32296
  ]
32460
32297
  },
32461
32298
  {
32462
32299
  "kind": "method",
32463
- "name": "createItemText",
32300
+ "name": "useValidationFunc",
32464
32301
  "privacy": "private",
32465
32302
  "static": true,
32466
32303
  "parameters": [
32467
32304
  {
32468
- "name": "dropupText",
32469
- "optional": true,
32305
+ "name": "validation",
32470
32306
  "type": {
32471
- "text": "string"
32307
+ "text": "ValidateFunc"
32472
32308
  }
32473
32309
  },
32474
32310
  {
32475
- "name": "textStyle",
32476
- "optional": true,
32311
+ "name": "textInput",
32477
32312
  "type": {
32478
- "text": "CustomStyle"
32313
+ "text": "TextInputEl"
32479
32314
  }
32480
- }
32481
- ]
32482
- },
32483
- {
32484
- "kind": "method",
32485
- "name": "createItemIcon",
32486
- "privacy": "private",
32487
- "static": true,
32488
- "parameters": [
32315
+ },
32489
32316
  {
32490
- "name": "inputButtonElement",
32317
+ "name": "fileAttachments",
32491
32318
  "type": {
32492
- "text": "HTMLElement"
32319
+ "text": "FileAttachments"
32493
32320
  }
32494
32321
  },
32495
32322
  {
32496
- "name": "iconContainerStyle",
32497
- "optional": true,
32323
+ "name": "submitButton",
32498
32324
  "type": {
32499
- "text": "CustomStyle"
32325
+ "text": "SubmitButton"
32500
32326
  }
32501
32327
  }
32502
32328
  ]
32503
32329
  },
32504
32330
  {
32505
32331
  "kind": "method",
32506
- "name": "populateItem",
32332
+ "name": "useValidationFuncProgrammatic",
32507
32333
  "privacy": "private",
32508
32334
  "static": true,
32509
32335
  "parameters": [
32510
32336
  {
32511
- "name": "elementRef",
32337
+ "name": "validation",
32512
32338
  "type": {
32513
- "text": "HTMLElement"
32339
+ "text": "ValidateFunc"
32514
32340
  }
32515
32341
  },
32516
32342
  {
32517
- "name": "item",
32343
+ "name": "programmatic",
32518
32344
  "type": {
32519
- "text": "HTMLElement"
32345
+ "text": "UserContentI"
32520
32346
  }
32521
32347
  },
32522
32348
  {
32523
- "name": "dropupText",
32524
- "optional": true,
32349
+ "name": "submitButton",
32525
32350
  "type": {
32526
- "text": "string"
32351
+ "text": "SubmitButton"
32352
+ }
32353
+ }
32354
+ ]
32355
+ },
32356
+ {
32357
+ "kind": "method",
32358
+ "name": "validateWebsocket",
32359
+ "privacy": "private",
32360
+ "static": true,
32361
+ "parameters": [
32362
+ {
32363
+ "name": "serviceIO",
32364
+ "type": {
32365
+ "text": "ServiceIO"
32527
32366
  }
32528
32367
  },
32529
32368
  {
32530
- "name": "styles",
32531
- "optional": true,
32369
+ "name": "submitButton",
32532
32370
  "type": {
32533
- "text": "DropupMenuStyles"
32371
+ "text": "SubmitButton"
32534
32372
  }
32535
32373
  }
32536
32374
  ]
32537
32375
  },
32538
32376
  {
32539
32377
  "kind": "method",
32540
- "name": "createItem",
32378
+ "name": "attach",
32541
32379
  "privacy": "public",
32542
32380
  "static": true,
32543
32381
  "parameters": [
32544
32382
  {
32545
- "name": "menu",
32383
+ "name": "deepChat",
32546
32384
  "type": {
32547
- "text": "DropupMenu"
32385
+ "text": "DeepChat"
32548
32386
  }
32549
32387
  },
32550
32388
  {
32551
- "name": "inputButton",
32389
+ "name": "serviceIO",
32552
32390
  "type": {
32553
- "text": "InputButton"
32391
+ "text": "ServiceIO"
32554
32392
  }
32555
32393
  },
32556
32394
  {
32557
- "name": "styles",
32558
- "optional": true,
32395
+ "name": "textInput",
32559
32396
  "type": {
32560
- "text": "DropupMenuStyles"
32397
+ "text": "TextInputEl"
32398
+ }
32399
+ },
32400
+ {
32401
+ "name": "fileAttachments",
32402
+ "type": {
32403
+ "text": "FileAttachments"
32404
+ }
32405
+ },
32406
+ {
32407
+ "name": "submitButton",
32408
+ "type": {
32409
+ "text": "SubmitButton"
32561
32410
  }
32562
32411
  }
32563
32412
  ]
@@ -32568,75 +32417,85 @@
32568
32417
  "exports": [
32569
32418
  {
32570
32419
  "kind": "js",
32571
- "name": "DropupItem",
32420
+ "name": "ValidationHandler",
32572
32421
  "declaration": {
32573
- "name": "DropupItem",
32574
- "module": "src/views/chat/input/dropup/dropupItem.ts"
32422
+ "name": "ValidationHandler",
32423
+ "module": "src/views/chat/input/validation/validationHandler.ts"
32575
32424
  }
32576
32425
  }
32577
32426
  ]
32578
32427
  },
32579
32428
  {
32580
32429
  "kind": "javascript-module",
32581
- "path": "src/views/chat/input/dropup/dropupItemNavigation.ts",
32430
+ "path": "src/views/chat/input/textInput/focusUtils.ts",
32582
32431
  "declarations": [
32583
32432
  {
32584
32433
  "kind": "class",
32585
32434
  "description": "",
32586
- "name": "DropupItemNavigation",
32435
+ "name": "FocusUtils",
32587
32436
  "members": [
32588
32437
  {
32589
32438
  "kind": "method",
32590
- "name": "focusItemWhenOnEdge",
32591
- "privacy": "private",
32439
+ "name": "focusEndOfInput",
32440
+ "privacy": "public",
32592
32441
  "static": true,
32593
32442
  "parameters": [
32594
32443
  {
32595
- "name": "dropupElement",
32444
+ "name": "inputElement",
32596
32445
  "type": {
32597
32446
  "text": "HTMLElement"
32598
32447
  }
32599
- },
32600
- {
32601
- "name": "isNext",
32602
- "type": {
32603
- "text": "boolean"
32604
- }
32605
32448
  }
32606
32449
  ]
32607
32450
  },
32608
32451
  {
32609
32452
  "kind": "method",
32610
- "name": "focusSiblingItem",
32453
+ "name": "focusFromParentElement",
32611
32454
  "privacy": "public",
32612
32455
  "static": true,
32613
- "return": {
32614
- "type": {
32615
- "text": "void"
32616
- }
32617
- },
32618
32456
  "parameters": [
32619
32457
  {
32620
- "name": "focusedItem",
32621
- "type": {
32622
- "text": "HTMLElement"
32623
- }
32624
- },
32625
- {
32626
- "name": "dropupElement",
32458
+ "name": "parentElement",
32627
32459
  "type": {
32628
32460
  "text": "HTMLElement"
32629
32461
  }
32630
- },
32462
+ }
32463
+ ]
32464
+ }
32465
+ ]
32466
+ }
32467
+ ],
32468
+ "exports": [
32469
+ {
32470
+ "kind": "js",
32471
+ "name": "FocusUtils",
32472
+ "declaration": {
32473
+ "name": "FocusUtils",
32474
+ "module": "src/views/chat/input/textInput/focusUtils.ts"
32475
+ }
32476
+ }
32477
+ ]
32478
+ },
32479
+ {
32480
+ "kind": "javascript-module",
32481
+ "path": "src/views/chat/input/textInput/pasteUtils.ts",
32482
+ "declarations": [
32483
+ {
32484
+ "kind": "class",
32485
+ "description": "",
32486
+ "name": "PasteUtils",
32487
+ "members": [
32488
+ {
32489
+ "kind": "method",
32490
+ "name": "sanitizePastedTextContent",
32491
+ "privacy": "public",
32492
+ "static": true,
32493
+ "parameters": [
32631
32494
  {
32632
- "name": "isNext",
32495
+ "name": "event",
32633
32496
  "type": {
32634
- "text": "boolean"
32497
+ "text": "ClipboardEvent"
32635
32498
  }
32636
- },
32637
- {
32638
- "name": "isEdgeItem",
32639
- "default": "false"
32640
32499
  }
32641
32500
  ]
32642
32501
  }
@@ -32646,154 +32505,225 @@
32646
32505
  "exports": [
32647
32506
  {
32648
32507
  "kind": "js",
32649
- "name": "DropupItemNavigation",
32508
+ "name": "PasteUtils",
32650
32509
  "declaration": {
32651
- "name": "DropupItemNavigation",
32652
- "module": "src/views/chat/input/dropup/dropupItemNavigation.ts"
32510
+ "name": "PasteUtils",
32511
+ "module": "src/views/chat/input/textInput/pasteUtils.ts"
32653
32512
  }
32654
32513
  }
32655
32514
  ]
32656
32515
  },
32657
32516
  {
32658
32517
  "kind": "javascript-module",
32659
- "path": "src/views/chat/input/dropup/dropupMenu.ts",
32518
+ "path": "src/views/chat/input/textInput/textInput.ts",
32660
32519
  "declarations": [
32661
32520
  {
32662
32521
  "kind": "class",
32663
32522
  "description": "",
32664
- "name": "DropupMenu",
32523
+ "name": "TextInputEl",
32665
32524
  "members": [
32666
32525
  {
32667
32526
  "kind": "field",
32668
- "name": "elementRef",
32527
+ "name": "TEXT_INPUT_ID",
32669
32528
  "type": {
32670
- "text": "HTMLElement"
32671
- }
32529
+ "text": "string"
32530
+ },
32531
+ "privacy": "public",
32532
+ "static": true,
32533
+ "default": "'text-input'"
32672
32534
  },
32673
32535
  {
32674
32536
  "kind": "field",
32675
- "name": "_isOpen",
32537
+ "name": "elementRef",
32676
32538
  "type": {
32677
- "text": "boolean"
32678
- },
32679
- "privacy": "private",
32680
- "default": "true"
32539
+ "text": "HTMLElement"
32540
+ }
32681
32541
  },
32682
32542
  {
32683
32543
  "kind": "field",
32684
- "name": "highlightedItem",
32544
+ "name": "inputElementRef",
32685
32545
  "type": {
32686
- "text": "HTMLElement | undefined"
32546
+ "text": "HTMLElement"
32687
32547
  }
32688
32548
  },
32689
32549
  {
32690
32550
  "kind": "field",
32691
- "name": "_styles",
32551
+ "name": "_config",
32692
32552
  "type": {
32693
- "text": "DropupMenuStyles | undefined"
32553
+ "text": "TextInput"
32694
32554
  },
32695
32555
  "privacy": "private",
32696
- "default": "styles"
32556
+ "default": "processedConfig"
32697
32557
  },
32698
32558
  {
32699
32559
  "kind": "field",
32700
- "name": "clickEvent",
32560
+ "name": "submit",
32701
32561
  "type": {
32702
- "text": "(event: MouseEvent) => void | undefined"
32703
- },
32704
- "privacy": "private"
32562
+ "text": "() => void | undefined"
32563
+ }
32705
32564
  },
32706
32565
  {
32707
- "kind": "field",
32708
- "name": "keyDownEvent",
32709
- "type": {
32710
- "text": "(event: KeyboardEvent) => void | undefined"
32711
- },
32712
- "privacy": "private"
32566
+ "kind": "method",
32567
+ "name": "processConfig",
32568
+ "privacy": "private",
32569
+ "static": true,
32570
+ "parameters": [
32571
+ {
32572
+ "name": "serviceIO",
32573
+ "type": {
32574
+ "text": "ServiceIO"
32575
+ }
32576
+ },
32577
+ {
32578
+ "name": "textInput",
32579
+ "optional": true,
32580
+ "type": {
32581
+ "text": "TextInput"
32582
+ }
32583
+ }
32584
+ ]
32713
32585
  },
32714
32586
  {
32715
32587
  "kind": "method",
32716
- "name": "createElement",
32588
+ "name": "preventAutomaticScrollUpOnNewLine",
32717
32589
  "privacy": "private",
32718
32590
  "static": true,
32719
32591
  "parameters": [
32720
32592
  {
32721
- "name": "containerStyle",
32722
- "optional": true,
32593
+ "name": "inputElement",
32723
32594
  "type": {
32724
- "text": "CustomStyle"
32595
+ "text": "HTMLDivElement"
32725
32596
  }
32726
32597
  }
32727
32598
  ]
32728
32599
  },
32729
32600
  {
32730
32601
  "kind": "method",
32731
- "name": "open",
32732
- "privacy": "private"
32602
+ "name": "clear",
32603
+ "privacy": "public",
32604
+ "static": true,
32605
+ "parameters": [
32606
+ {
32607
+ "name": "inputElement",
32608
+ "type": {
32609
+ "text": "HTMLElement"
32610
+ }
32611
+ }
32612
+ ]
32733
32613
  },
32734
32614
  {
32735
32615
  "kind": "method",
32736
- "name": "close"
32616
+ "name": "createInputElement",
32617
+ "privacy": "private",
32618
+ "parameters": [
32619
+ {
32620
+ "name": "textInput",
32621
+ "optional": true,
32622
+ "type": {
32623
+ "text": "TextInput"
32624
+ }
32625
+ }
32626
+ ]
32737
32627
  },
32738
32628
  {
32739
32629
  "kind": "method",
32740
- "name": "toggle"
32630
+ "name": "removeTextIfPlaceholder",
32631
+ "privacy": "public"
32741
32632
  },
32742
32633
  {
32743
32634
  "kind": "method",
32744
- "name": "addItem",
32635
+ "name": "toggleEditability",
32636
+ "privacy": "public",
32637
+ "static": true,
32745
32638
  "parameters": [
32746
32639
  {
32747
- "name": "inputButton",
32640
+ "name": "inputElement",
32748
32641
  "type": {
32749
- "text": "InputButton"
32642
+ "text": "HTMLElement"
32643
+ }
32644
+ },
32645
+ {
32646
+ "name": "isEditable",
32647
+ "type": {
32648
+ "text": "boolean"
32750
32649
  }
32751
32650
  }
32752
32651
  ]
32753
32652
  },
32754
32653
  {
32755
32654
  "kind": "method",
32756
- "name": "addWindowEvents",
32655
+ "name": "addEventListeners",
32757
32656
  "privacy": "private",
32758
32657
  "parameters": [
32759
32658
  {
32760
- "name": "containerElement",
32659
+ "name": "inputElement",
32761
32660
  "type": {
32762
32661
  "text": "HTMLElement"
32763
32662
  }
32663
+ },
32664
+ {
32665
+ "name": "textInput",
32666
+ "optional": true,
32667
+ "type": {
32668
+ "text": "TextInput"
32669
+ }
32764
32670
  }
32765
32671
  ]
32766
32672
  },
32767
32673
  {
32768
32674
  "kind": "method",
32769
- "name": "windowClick",
32675
+ "name": "onFocus",
32770
32676
  "privacy": "private",
32771
32677
  "parameters": [
32772
32678
  {
32773
- "name": "containerElement",
32679
+ "name": "focusStyle",
32680
+ "optional": true,
32774
32681
  "type": {
32775
- "text": "HTMLElement"
32682
+ "text": "CustomStyle"
32683
+ }
32684
+ }
32685
+ ]
32686
+ },
32687
+ {
32688
+ "kind": "method",
32689
+ "name": "onBlur",
32690
+ "privacy": "private",
32691
+ "parameters": [
32692
+ {
32693
+ "name": "focusStyle",
32694
+ "type": {
32695
+ "text": "CustomStyle"
32776
32696
  }
32777
32697
  },
32778
32698
  {
32779
- "name": "event",
32699
+ "name": "containerStyle",
32700
+ "optional": true,
32780
32701
  "type": {
32781
- "text": "MouseEvent"
32702
+ "text": "CustomStyle"
32782
32703
  }
32783
32704
  }
32784
32705
  ]
32785
32706
  },
32786
32707
  {
32787
32708
  "kind": "method",
32788
- "name": "windowKeyDown",
32709
+ "name": "createContainerElement",
32789
32710
  "privacy": "private",
32711
+ "static": true,
32790
32712
  "parameters": [
32791
32713
  {
32792
- "name": "containerElement",
32714
+ "name": "containerStyle",
32715
+ "optional": true,
32793
32716
  "type": {
32794
- "text": "HTMLElement"
32717
+ "text": "CustomStyle"
32795
32718
  }
32796
- },
32719
+ }
32720
+ ]
32721
+ },
32722
+ {
32723
+ "kind": "method",
32724
+ "name": "onKeydown",
32725
+ "privacy": "private",
32726
+ "parameters": [
32797
32727
  {
32798
32728
  "name": "event",
32799
32729
  "type": {
@@ -32808,176 +32738,114 @@
32808
32738
  "exports": [
32809
32739
  {
32810
32740
  "kind": "js",
32811
- "name": "DropupMenu",
32741
+ "name": "TextInputEl",
32812
32742
  "declaration": {
32813
- "name": "DropupMenu",
32814
- "module": "src/views/chat/input/dropup/dropupMenu.ts"
32743
+ "name": "TextInputEl",
32744
+ "module": "src/views/chat/input/textInput/textInput.ts"
32815
32745
  }
32816
32746
  }
32817
32747
  ]
32818
32748
  },
32819
32749
  {
32820
32750
  "kind": "javascript-module",
32821
- "path": "src/views/chat/input/validation/validationHandler.ts",
32751
+ "path": "src/views/chat/input/textInput/textInputEvents.ts",
32822
32752
  "declarations": [
32823
32753
  {
32824
32754
  "kind": "class",
32825
32755
  "description": "",
32826
- "name": "ValidationHandler",
32756
+ "name": "TextInputEvents",
32827
32757
  "members": [
32828
32758
  {
32829
- "kind": "method",
32830
- "name": "validate",
32759
+ "kind": "field",
32760
+ "name": "PERMITTED_KEYS",
32831
32761
  "privacy": "private",
32832
32762
  "static": true,
32833
- "parameters": [
32834
- {
32835
- "name": "validation",
32836
- "type": {
32837
- "text": "ValidateFunc"
32838
- }
32839
- },
32840
- {
32841
- "name": "submitButton",
32842
- "type": {
32843
- "text": "SubmitButton"
32844
- }
32845
- },
32846
- {
32847
- "name": "text",
32848
- "optional": true,
32849
- "type": {
32850
- "text": "string"
32851
- }
32852
- },
32853
- {
32854
- "name": "files",
32855
- "optional": true,
32856
- "type": {
32857
- "text": "File[]"
32858
- }
32859
- },
32860
- {
32861
- "name": "isProgrammatic",
32862
- "optional": true,
32863
- "type": {
32864
- "text": "boolean"
32865
- }
32866
- }
32867
- ]
32763
+ "default": "new Set<string>([\n KEYBOARD_KEY.BACKSPACE, KEYBOARD_KEY.DELETE, KEYBOARD_KEY.ARROW_RIGHT, KEYBOARD_KEY.ARROW_LEFT,\n KEYBOARD_KEY.ARROW_DOWN, KEYBOARD_KEY.ARROW_UP, KEYBOARD_KEY.META, KEYBOARD_KEY.CONTROL, KEYBOARD_KEY.ENTER\n ])"
32868
32764
  },
32869
32765
  {
32870
32766
  "kind": "method",
32871
- "name": "useValidationFunc",
32872
- "privacy": "private",
32767
+ "name": "add",
32768
+ "privacy": "public",
32873
32769
  "static": true,
32874
32770
  "parameters": [
32875
32771
  {
32876
- "name": "validation",
32877
- "type": {
32878
- "text": "ValidateFunc"
32879
- }
32880
- },
32881
- {
32882
- "name": "textInput",
32772
+ "name": "inputElement",
32883
32773
  "type": {
32884
- "text": "TextInputEl"
32774
+ "text": "HTMLElement"
32885
32775
  }
32886
32776
  },
32887
32777
  {
32888
- "name": "fileAttachments",
32778
+ "name": "characterLimit",
32779
+ "optional": true,
32889
32780
  "type": {
32890
- "text": "FileAttachments"
32781
+ "text": "number"
32891
32782
  }
32892
32783
  },
32893
32784
  {
32894
- "name": "submitButton",
32785
+ "name": "validationHandler",
32786
+ "optional": true,
32895
32787
  "type": {
32896
- "text": "SubmitButton"
32788
+ "text": "ValidationHandler"
32897
32789
  }
32898
32790
  }
32899
32791
  ]
32900
32792
  },
32901
32793
  {
32902
32794
  "kind": "method",
32903
- "name": "useValidationFuncProgrammatic",
32795
+ "name": "onKeyDown",
32904
32796
  "privacy": "private",
32905
32797
  "static": true,
32906
32798
  "parameters": [
32907
32799
  {
32908
- "name": "validation",
32909
- "type": {
32910
- "text": "ValidateFunc"
32911
- }
32912
- },
32913
- {
32914
- "name": "programmatic",
32800
+ "name": "characterLimit",
32915
32801
  "type": {
32916
- "text": "UserContentI"
32802
+ "text": "number"
32917
32803
  }
32918
32804
  },
32919
32805
  {
32920
- "name": "submitButton",
32806
+ "name": "event",
32921
32807
  "type": {
32922
- "text": "SubmitButton"
32808
+ "text": "KeyboardEvent"
32923
32809
  }
32924
32810
  }
32925
32811
  ]
32926
32812
  },
32927
32813
  {
32928
32814
  "kind": "method",
32929
- "name": "validateWebsocket",
32815
+ "name": "isKeyCombinationPermitted",
32930
32816
  "privacy": "private",
32931
32817
  "static": true,
32932
32818
  "parameters": [
32933
32819
  {
32934
- "name": "serviceIO",
32935
- "type": {
32936
- "text": "ServiceIO"
32937
- }
32938
- },
32939
- {
32940
- "name": "submitButton",
32820
+ "name": "event",
32941
32821
  "type": {
32942
- "text": "SubmitButton"
32822
+ "text": "KeyboardEvent"
32943
32823
  }
32944
32824
  }
32945
32825
  ]
32946
32826
  },
32947
32827
  {
32948
32828
  "kind": "method",
32949
- "name": "attach",
32950
- "privacy": "public",
32829
+ "name": "onInput",
32830
+ "privacy": "private",
32951
32831
  "static": true,
32952
32832
  "parameters": [
32953
32833
  {
32954
- "name": "deepChat",
32955
- "type": {
32956
- "text": "DeepChat"
32957
- }
32958
- },
32959
- {
32960
- "name": "serviceIO",
32961
- "type": {
32962
- "text": "ServiceIO"
32963
- }
32964
- },
32965
- {
32966
- "name": "textInput",
32834
+ "name": "characterLimit",
32967
32835
  "type": {
32968
- "text": "TextInputEl"
32836
+ "text": "number | undefined"
32969
32837
  }
32970
32838
  },
32971
32839
  {
32972
- "name": "fileAttachments",
32840
+ "name": "validate",
32973
32841
  "type": {
32974
- "text": "FileAttachments"
32842
+ "text": "ValidationHandler | undefined"
32975
32843
  }
32976
32844
  },
32977
32845
  {
32978
- "name": "submitButton",
32846
+ "name": "event",
32979
32847
  "type": {
32980
- "text": "SubmitButton"
32848
+ "text": "Event"
32981
32849
  }
32982
32850
  }
32983
32851
  ]
@@ -32988,266 +32856,414 @@
32988
32856
  "exports": [
32989
32857
  {
32990
32858
  "kind": "js",
32991
- "name": "ValidationHandler",
32859
+ "name": "TextInputEvents",
32992
32860
  "declaration": {
32993
- "name": "ValidationHandler",
32994
- "module": "src/views/chat/input/validation/validationHandler.ts"
32861
+ "name": "TextInputEvents",
32862
+ "module": "src/views/chat/input/textInput/textInputEvents.ts"
32995
32863
  }
32996
32864
  }
32997
32865
  ]
32998
32866
  },
32999
32867
  {
33000
32868
  "kind": "javascript-module",
33001
- "path": "src/views/chat/input/textInput/focusUtils.ts",
32869
+ "path": "src/views/chat/input/dropup/dropup.ts",
33002
32870
  "declarations": [
33003
32871
  {
33004
32872
  "kind": "class",
33005
32873
  "description": "",
33006
- "name": "FocusUtils",
32874
+ "name": "Dropup",
33007
32875
  "members": [
32876
+ {
32877
+ "kind": "field",
32878
+ "name": "_menu",
32879
+ "type": {
32880
+ "text": "DropupMenu"
32881
+ },
32882
+ "privacy": "private",
32883
+ "default": "new DropupMenu(containerElement, styles?.menu)"
32884
+ },
32885
+ {
32886
+ "kind": "field",
32887
+ "name": "buttonContainer",
32888
+ "type": {
32889
+ "text": "HTMLElement"
32890
+ }
32891
+ },
33008
32892
  {
33009
32893
  "kind": "method",
33010
- "name": "focusEndOfInput",
33011
- "privacy": "public",
33012
- "static": true,
32894
+ "name": "createButtonElement",
32895
+ "privacy": "private",
32896
+ "static": true
32897
+ },
32898
+ {
32899
+ "kind": "method",
32900
+ "name": "createInnerElements",
32901
+ "privacy": "private",
33013
32902
  "parameters": [
33014
32903
  {
33015
- "name": "inputElement",
32904
+ "name": "customStyles",
32905
+ "optional": true,
33016
32906
  "type": {
33017
- "text": "HTMLElement"
32907
+ "text": "Styles"
33018
32908
  }
33019
32909
  }
33020
32910
  ]
33021
32911
  },
33022
32912
  {
33023
32913
  "kind": "method",
33024
- "name": "focusFromParentElement",
33025
- "privacy": "public",
33026
- "static": true,
32914
+ "name": "createInnerElement",
32915
+ "privacy": "private",
33027
32916
  "parameters": [
33028
32917
  {
33029
- "name": "parentElement",
32918
+ "name": "baseButton",
32919
+ "type": {
32920
+ "text": "SVGGraphicsElement"
32921
+ }
32922
+ },
32923
+ {
32924
+ "name": "state",
32925
+ "type": {
32926
+ "text": "'styles'"
32927
+ }
32928
+ },
32929
+ {
32930
+ "name": "customStyles",
32931
+ "optional": true,
32932
+ "type": {
32933
+ "text": "Styles"
32934
+ }
32935
+ }
32936
+ ]
32937
+ },
32938
+ {
32939
+ "kind": "method",
32940
+ "name": "createSVGIconElement",
32941
+ "privacy": "private",
32942
+ "static": true
32943
+ },
32944
+ {
32945
+ "kind": "method",
32946
+ "name": "addClickEvent",
32947
+ "privacy": "private"
32948
+ },
32949
+ {
32950
+ "kind": "method",
32951
+ "name": "createButtonContainer",
32952
+ "privacy": "private",
32953
+ "static": true
32954
+ },
32955
+ {
32956
+ "kind": "method",
32957
+ "name": "addItem",
32958
+ "parameters": [
32959
+ {
32960
+ "name": "buttonProps",
32961
+ "type": {
32962
+ "text": "InputButton"
32963
+ }
32964
+ }
32965
+ ]
32966
+ },
32967
+ {
32968
+ "kind": "method",
32969
+ "name": "addContainerEvents",
32970
+ "privacy": "private",
32971
+ "parameters": [
32972
+ {
32973
+ "name": "containerElement",
33030
32974
  "type": {
33031
32975
  "text": "HTMLElement"
33032
32976
  }
33033
32977
  }
33034
32978
  ]
33035
- }
33036
- ]
33037
- }
33038
- ],
33039
- "exports": [
33040
- {
33041
- "kind": "js",
33042
- "name": "FocusUtils",
33043
- "declaration": {
33044
- "name": "FocusUtils",
33045
- "module": "src/views/chat/input/textInput/focusUtils.ts"
33046
- }
33047
- }
33048
- ]
33049
- },
33050
- {
33051
- "kind": "javascript-module",
33052
- "path": "src/views/chat/input/textInput/pasteUtils.ts",
33053
- "declarations": [
33054
- {
33055
- "kind": "class",
33056
- "description": "",
33057
- "name": "PasteUtils",
33058
- "members": [
32979
+ },
33059
32980
  {
33060
32981
  "kind": "method",
33061
- "name": "sanitizePastedTextContent",
33062
- "privacy": "public",
32982
+ "name": "getPosition",
33063
32983
  "static": true,
33064
32984
  "parameters": [
33065
32985
  {
33066
- "name": "event",
32986
+ "name": "positions",
33067
32987
  "type": {
33068
- "text": "ClipboardEvent"
32988
+ "text": "Positions"
32989
+ }
32990
+ },
32991
+ {
32992
+ "name": "dropupStyles",
32993
+ "optional": true,
32994
+ "type": {
32995
+ "text": "DropupStyles"
33069
32996
  }
33070
32997
  }
33071
32998
  ]
33072
- }
33073
- ]
33074
- }
33075
- ],
33076
- "exports": [
33077
- {
33078
- "kind": "js",
33079
- "name": "PasteUtils",
33080
- "declaration": {
33081
- "name": "PasteUtils",
33082
- "module": "src/views/chat/input/textInput/pasteUtils.ts"
33083
- }
33084
- }
33085
- ]
33086
- },
33087
- {
33088
- "kind": "javascript-module",
33089
- "path": "src/views/chat/input/textInput/textInput.ts",
33090
- "declarations": [
33091
- {
33092
- "kind": "class",
33093
- "description": "",
33094
- "name": "TextInputEl",
33095
- "members": [
32999
+ },
33096
33000
  {
33097
33001
  "kind": "field",
33098
- "name": "TEXT_INPUT_ID",
33002
+ "name": "elementRef",
33099
33003
  "type": {
33100
- "text": "string"
33004
+ "text": "HTMLElement"
33101
33005
  },
33102
- "privacy": "public",
33103
- "static": true,
33104
- "default": "'text-input'"
33006
+ "default": "buttonElement",
33007
+ "inheritedFrom": {
33008
+ "name": "InputButton",
33009
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33010
+ }
33105
33011
  },
33106
33012
  {
33107
33013
  "kind": "field",
33108
- "name": "elementRef",
33014
+ "name": "_mouseState",
33109
33015
  "type": {
33110
- "text": "HTMLElement"
33016
+ "text": "MouseState"
33017
+ },
33018
+ "privacy": "protected",
33019
+ "default": "{state: 'default'}",
33020
+ "inheritedFrom": {
33021
+ "name": "InputButton",
33022
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33111
33023
  }
33112
33024
  },
33113
33025
  {
33114
33026
  "kind": "field",
33115
- "name": "inputElementRef",
33027
+ "name": "_customStyles",
33116
33028
  "type": {
33117
- "text": "HTMLElement"
33029
+ "text": "T | undefined"
33030
+ },
33031
+ "privacy": "protected",
33032
+ "default": "customStyles",
33033
+ "inheritedFrom": {
33034
+ "name": "InputButton",
33035
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33118
33036
  }
33119
33037
  },
33120
33038
  {
33121
33039
  "kind": "field",
33122
- "name": "_config",
33040
+ "name": "position",
33123
33041
  "type": {
33124
- "text": "TextInput"
33042
+ "text": "ButtonPositionT | undefined"
33125
33043
  },
33126
- "privacy": "private",
33127
- "default": "processedConfig"
33044
+ "default": "position",
33045
+ "inheritedFrom": {
33046
+ "name": "InputButton",
33047
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33048
+ }
33128
33049
  },
33129
33050
  {
33130
33051
  "kind": "field",
33131
- "name": "submit",
33052
+ "name": "dropupText",
33132
33053
  "type": {
33133
- "text": "() => void | undefined"
33054
+ "text": "string | undefined"
33055
+ },
33056
+ "default": "dropupText",
33057
+ "inheritedFrom": {
33058
+ "name": "InputButton",
33059
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33134
33060
  }
33135
33061
  },
33136
33062
  {
33137
33063
  "kind": "method",
33138
- "name": "processConfig",
33064
+ "name": "buttonMouseLeave",
33139
33065
  "privacy": "private",
33140
- "static": true,
33141
33066
  "parameters": [
33142
33067
  {
33143
- "name": "serviceIO",
33068
+ "name": "customStyles",
33069
+ "optional": true,
33144
33070
  "type": {
33145
- "text": "ServiceIO"
33071
+ "text": "ButtonStyles"
33146
33072
  }
33147
- },
33073
+ }
33074
+ ],
33075
+ "inheritedFrom": {
33076
+ "name": "InputButton",
33077
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33078
+ }
33079
+ },
33080
+ {
33081
+ "kind": "method",
33082
+ "name": "buttonMouseEnter",
33083
+ "privacy": "private",
33084
+ "parameters": [
33148
33085
  {
33149
- "name": "textInput",
33086
+ "name": "customStyles",
33150
33087
  "optional": true,
33151
33088
  "type": {
33152
- "text": "TextInput"
33089
+ "text": "ButtonStyles"
33153
33090
  }
33154
33091
  }
33155
- ]
33092
+ ],
33093
+ "inheritedFrom": {
33094
+ "name": "InputButton",
33095
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33096
+ }
33156
33097
  },
33157
33098
  {
33158
33099
  "kind": "method",
33159
- "name": "preventAutomaticScrollUpOnNewLine",
33100
+ "name": "buttonMouseUp",
33160
33101
  "privacy": "private",
33161
- "static": true,
33162
33102
  "parameters": [
33163
33103
  {
33164
- "name": "inputElement",
33104
+ "name": "customStyles",
33105
+ "optional": true,
33165
33106
  "type": {
33166
- "text": "HTMLDivElement"
33107
+ "text": "ButtonStyles"
33167
33108
  }
33168
33109
  }
33169
- ]
33110
+ ],
33111
+ "inheritedFrom": {
33112
+ "name": "InputButton",
33113
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33114
+ }
33170
33115
  },
33171
33116
  {
33172
33117
  "kind": "method",
33173
- "name": "clear",
33174
- "privacy": "public",
33175
- "static": true,
33118
+ "name": "buttonMouseDown",
33119
+ "privacy": "private",
33176
33120
  "parameters": [
33177
33121
  {
33178
- "name": "inputElement",
33122
+ "name": "customStyles",
33123
+ "optional": true,
33179
33124
  "type": {
33180
- "text": "HTMLElement"
33125
+ "text": "ButtonStyles"
33181
33126
  }
33182
33127
  }
33183
- ]
33128
+ ],
33129
+ "inheritedFrom": {
33130
+ "name": "InputButton",
33131
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33132
+ }
33184
33133
  },
33185
33134
  {
33186
33135
  "kind": "method",
33187
- "name": "createInputElement",
33136
+ "name": "setEvents",
33188
33137
  "privacy": "private",
33189
33138
  "parameters": [
33190
33139
  {
33191
- "name": "textInput",
33140
+ "name": "customStyles",
33192
33141
  "optional": true,
33193
33142
  "type": {
33194
- "text": "TextInput"
33143
+ "text": "ButtonStyles"
33195
33144
  }
33196
33145
  }
33197
- ]
33146
+ ],
33147
+ "inheritedFrom": {
33148
+ "name": "InputButton",
33149
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33150
+ }
33198
33151
  },
33199
33152
  {
33200
33153
  "kind": "method",
33201
- "name": "removeTextIfPlaceholder",
33202
- "privacy": "public"
33154
+ "name": "unsetCustomStateStyles",
33155
+ "privacy": "public",
33156
+ "parameters": [
33157
+ {
33158
+ "name": "unsetTypes",
33159
+ "type": {
33160
+ "text": "(keyof T)[]"
33161
+ }
33162
+ }
33163
+ ],
33164
+ "inheritedFrom": {
33165
+ "name": "InputButton",
33166
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33167
+ }
33203
33168
  },
33204
33169
  {
33205
33170
  "kind": "method",
33206
- "name": "toggleEditability",
33171
+ "name": "reapplyStateStyle",
33207
33172
  "privacy": "public",
33208
- "static": true,
33209
33173
  "parameters": [
33210
33174
  {
33211
- "name": "inputElement",
33175
+ "name": "setType",
33212
33176
  "type": {
33213
- "text": "HTMLElement"
33177
+ "text": "keyof T"
33214
33178
  }
33215
33179
  },
33216
33180
  {
33217
- "name": "isEditable",
33181
+ "name": "unsetTypes",
33182
+ "optional": true,
33218
33183
  "type": {
33219
- "text": "boolean"
33184
+ "text": "(keyof T)[]"
33220
33185
  }
33221
33186
  }
33222
- ]
33223
- },
33187
+ ],
33188
+ "inheritedFrom": {
33189
+ "name": "InputButton",
33190
+ "module": "src/views/chat/input/buttons/inputButton.ts"
33191
+ }
33192
+ }
33193
+ ],
33194
+ "superclass": {
33195
+ "name": "InputButton",
33196
+ "module": "/src/views/chat/input/buttons/inputButton"
33197
+ }
33198
+ }
33199
+ ],
33200
+ "exports": [
33201
+ {
33202
+ "kind": "js",
33203
+ "name": "Dropup",
33204
+ "declaration": {
33205
+ "name": "Dropup",
33206
+ "module": "src/views/chat/input/dropup/dropup.ts"
33207
+ }
33208
+ }
33209
+ ]
33210
+ },
33211
+ {
33212
+ "kind": "javascript-module",
33213
+ "path": "src/views/chat/input/dropup/dropupItem.ts",
33214
+ "declarations": [
33215
+ {
33216
+ "kind": "class",
33217
+ "description": "",
33218
+ "name": "DropupItem",
33219
+ "members": [
33224
33220
  {
33225
33221
  "kind": "method",
33226
- "name": "addEventListeners",
33222
+ "name": "addItemEvents",
33227
33223
  "privacy": "private",
33224
+ "static": true,
33228
33225
  "parameters": [
33229
33226
  {
33230
- "name": "inputElement",
33227
+ "name": "menu",
33228
+ "type": {
33229
+ "text": "DropupMenu"
33230
+ }
33231
+ },
33232
+ {
33233
+ "name": "item",
33231
33234
  "type": {
33232
33235
  "text": "HTMLElement"
33233
33236
  }
33234
33237
  },
33235
33238
  {
33236
- "name": "textInput",
33237
- "optional": true,
33239
+ "name": "inputButton",
33238
33240
  "type": {
33239
- "text": "TextInput"
33241
+ "text": "HTMLElement"
33242
+ }
33243
+ },
33244
+ {
33245
+ "name": "styles",
33246
+ "type": {
33247
+ "text": "StatefulStyles"
33240
33248
  }
33241
33249
  }
33242
33250
  ]
33243
33251
  },
33244
33252
  {
33245
33253
  "kind": "method",
33246
- "name": "onFocus",
33254
+ "name": "createItemText",
33247
33255
  "privacy": "private",
33256
+ "static": true,
33248
33257
  "parameters": [
33249
33258
  {
33250
- "name": "focusStyle",
33259
+ "name": "dropupText",
33260
+ "optional": true,
33261
+ "type": {
33262
+ "text": "string"
33263
+ }
33264
+ },
33265
+ {
33266
+ "name": "textStyle",
33251
33267
  "optional": true,
33252
33268
  "type": {
33253
33269
  "text": "CustomStyle"
@@ -33257,17 +33273,18 @@
33257
33273
  },
33258
33274
  {
33259
33275
  "kind": "method",
33260
- "name": "onBlur",
33276
+ "name": "createItemIcon",
33261
33277
  "privacy": "private",
33278
+ "static": true,
33262
33279
  "parameters": [
33263
33280
  {
33264
- "name": "focusStyle",
33281
+ "name": "inputButtonElement",
33265
33282
  "type": {
33266
- "text": "CustomStyle"
33283
+ "text": "HTMLElement"
33267
33284
  }
33268
33285
  },
33269
33286
  {
33270
- "name": "containerStyle",
33287
+ "name": "iconContainerStyle",
33271
33288
  "optional": true,
33272
33289
  "type": {
33273
33290
  "text": "CustomStyle"
@@ -33277,28 +33294,61 @@
33277
33294
  },
33278
33295
  {
33279
33296
  "kind": "method",
33280
- "name": "createContainerElement",
33297
+ "name": "populateItem",
33281
33298
  "privacy": "private",
33282
33299
  "static": true,
33283
33300
  "parameters": [
33284
33301
  {
33285
- "name": "containerStyle",
33302
+ "name": "elementRef",
33303
+ "type": {
33304
+ "text": "HTMLElement"
33305
+ }
33306
+ },
33307
+ {
33308
+ "name": "item",
33309
+ "type": {
33310
+ "text": "HTMLElement"
33311
+ }
33312
+ },
33313
+ {
33314
+ "name": "dropupText",
33286
33315
  "optional": true,
33287
33316
  "type": {
33288
- "text": "CustomStyle"
33317
+ "text": "string"
33318
+ }
33319
+ },
33320
+ {
33321
+ "name": "styles",
33322
+ "optional": true,
33323
+ "type": {
33324
+ "text": "DropupMenuStyles"
33289
33325
  }
33290
33326
  }
33291
33327
  ]
33292
33328
  },
33293
33329
  {
33294
33330
  "kind": "method",
33295
- "name": "onKeydown",
33296
- "privacy": "private",
33331
+ "name": "createItem",
33332
+ "privacy": "public",
33333
+ "static": true,
33297
33334
  "parameters": [
33298
33335
  {
33299
- "name": "event",
33336
+ "name": "menu",
33300
33337
  "type": {
33301
- "text": "KeyboardEvent"
33338
+ "text": "DropupMenu"
33339
+ }
33340
+ },
33341
+ {
33342
+ "name": "inputButton",
33343
+ "type": {
33344
+ "text": "InputButton"
33345
+ }
33346
+ },
33347
+ {
33348
+ "name": "styles",
33349
+ "optional": true,
33350
+ "type": {
33351
+ "text": "DropupMenuStyles"
33302
33352
  }
33303
33353
  }
33304
33354
  ]
@@ -33309,115 +33359,75 @@
33309
33359
  "exports": [
33310
33360
  {
33311
33361
  "kind": "js",
33312
- "name": "TextInputEl",
33362
+ "name": "DropupItem",
33313
33363
  "declaration": {
33314
- "name": "TextInputEl",
33315
- "module": "src/views/chat/input/textInput/textInput.ts"
33364
+ "name": "DropupItem",
33365
+ "module": "src/views/chat/input/dropup/dropupItem.ts"
33316
33366
  }
33317
33367
  }
33318
33368
  ]
33319
33369
  },
33320
33370
  {
33321
33371
  "kind": "javascript-module",
33322
- "path": "src/views/chat/input/textInput/textInputEvents.ts",
33372
+ "path": "src/views/chat/input/dropup/dropupItemNavigation.ts",
33323
33373
  "declarations": [
33324
33374
  {
33325
33375
  "kind": "class",
33326
33376
  "description": "",
33327
- "name": "TextInputEvents",
33377
+ "name": "DropupItemNavigation",
33328
33378
  "members": [
33329
- {
33330
- "kind": "field",
33331
- "name": "PERMITTED_KEYS",
33332
- "privacy": "private",
33333
- "static": true,
33334
- "default": "new Set<string>([\n KEYBOARD_KEY.BACKSPACE, KEYBOARD_KEY.DELETE, KEYBOARD_KEY.ARROW_RIGHT, KEYBOARD_KEY.ARROW_LEFT,\n KEYBOARD_KEY.ARROW_DOWN, KEYBOARD_KEY.ARROW_UP, KEYBOARD_KEY.META, KEYBOARD_KEY.CONTROL, KEYBOARD_KEY.ENTER\n ])"
33335
- },
33336
33379
  {
33337
33380
  "kind": "method",
33338
- "name": "add",
33339
- "privacy": "public",
33381
+ "name": "focusItemWhenOnEdge",
33382
+ "privacy": "private",
33340
33383
  "static": true,
33341
33384
  "parameters": [
33342
33385
  {
33343
- "name": "inputElement",
33386
+ "name": "dropupElement",
33344
33387
  "type": {
33345
33388
  "text": "HTMLElement"
33346
33389
  }
33347
33390
  },
33348
33391
  {
33349
- "name": "characterLimit",
33350
- "optional": true,
33351
- "type": {
33352
- "text": "number"
33353
- }
33354
- },
33355
- {
33356
- "name": "validationHandler",
33357
- "optional": true,
33392
+ "name": "isNext",
33358
33393
  "type": {
33359
- "text": "ValidationHandler"
33394
+ "text": "boolean"
33360
33395
  }
33361
33396
  }
33362
33397
  ]
33363
33398
  },
33364
33399
  {
33365
33400
  "kind": "method",
33366
- "name": "onKeyDown",
33367
- "privacy": "private",
33401
+ "name": "focusSiblingItem",
33402
+ "privacy": "public",
33368
33403
  "static": true,
33369
- "parameters": [
33370
- {
33371
- "name": "characterLimit",
33372
- "type": {
33373
- "text": "number"
33374
- }
33375
- },
33376
- {
33377
- "name": "event",
33378
- "type": {
33379
- "text": "KeyboardEvent"
33380
- }
33404
+ "return": {
33405
+ "type": {
33406
+ "text": "void"
33381
33407
  }
33382
- ]
33383
- },
33384
- {
33385
- "kind": "method",
33386
- "name": "isKeyCombinationPermitted",
33387
- "privacy": "private",
33388
- "static": true,
33408
+ },
33389
33409
  "parameters": [
33390
33410
  {
33391
- "name": "event",
33411
+ "name": "focusedItem",
33392
33412
  "type": {
33393
- "text": "KeyboardEvent"
33413
+ "text": "HTMLElement"
33394
33414
  }
33395
- }
33396
- ]
33397
- },
33398
- {
33399
- "kind": "method",
33400
- "name": "onInput",
33401
- "privacy": "private",
33402
- "static": true,
33403
- "parameters": [
33415
+ },
33404
33416
  {
33405
- "name": "characterLimit",
33417
+ "name": "dropupElement",
33406
33418
  "type": {
33407
- "text": "number | undefined"
33419
+ "text": "HTMLElement"
33408
33420
  }
33409
33421
  },
33410
33422
  {
33411
- "name": "validate",
33423
+ "name": "isNext",
33412
33424
  "type": {
33413
- "text": "ValidationHandler | undefined"
33425
+ "text": "boolean"
33414
33426
  }
33415
33427
  },
33416
33428
  {
33417
- "name": "event",
33418
- "type": {
33419
- "text": "Event"
33420
- }
33429
+ "name": "isEdgeItem",
33430
+ "default": "false"
33421
33431
  }
33422
33432
  ]
33423
33433
  }
@@ -33427,168 +33437,158 @@
33427
33437
  "exports": [
33428
33438
  {
33429
33439
  "kind": "js",
33430
- "name": "TextInputEvents",
33440
+ "name": "DropupItemNavigation",
33431
33441
  "declaration": {
33432
- "name": "TextInputEvents",
33433
- "module": "src/views/chat/input/textInput/textInputEvents.ts"
33442
+ "name": "DropupItemNavigation",
33443
+ "module": "src/views/chat/input/dropup/dropupItemNavigation.ts"
33434
33444
  }
33435
33445
  }
33436
33446
  ]
33437
33447
  },
33438
33448
  {
33439
33449
  "kind": "javascript-module",
33440
- "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
33450
+ "path": "src/views/chat/input/dropup/dropupMenu.ts",
33441
33451
  "declarations": [
33442
33452
  {
33443
33453
  "kind": "class",
33444
33454
  "description": "",
33445
- "name": "FileAttachments",
33455
+ "name": "DropupMenu",
33446
33456
  "members": [
33447
33457
  {
33448
33458
  "kind": "field",
33449
- "name": "_fileAttachmentsTypes",
33459
+ "name": "elementRef",
33450
33460
  "type": {
33451
- "text": "FileAttachmentsType[]"
33461
+ "text": "HTMLElement"
33462
+ }
33463
+ },
33464
+ {
33465
+ "kind": "field",
33466
+ "name": "_isOpen",
33467
+ "type": {
33468
+ "text": "boolean"
33452
33469
  },
33453
33470
  "privacy": "private",
33454
- "default": "[]"
33471
+ "default": "true"
33455
33472
  },
33456
33473
  {
33457
33474
  "kind": "field",
33458
- "name": "elementRef",
33475
+ "name": "highlightedItem",
33459
33476
  "type": {
33460
- "text": "HTMLElement"
33477
+ "text": "HTMLElement | undefined"
33461
33478
  }
33462
33479
  },
33463
33480
  {
33464
- "kind": "method",
33465
- "name": "addType",
33466
- "parameters": [
33467
- {
33468
- "name": "deepChat",
33469
- "type": {
33470
- "text": "DeepChat"
33471
- }
33472
- },
33473
- {
33474
- "name": "files",
33475
- "type": {
33476
- "text": "FileAttachmentsT"
33477
- }
33478
- },
33479
- {
33480
- "name": "type",
33481
- "type": {
33482
- "text": "keyof ServiceFileTypes"
33483
- }
33484
- }
33485
- ]
33481
+ "kind": "field",
33482
+ "name": "_styles",
33483
+ "type": {
33484
+ "text": "DropupMenuStyles | undefined"
33485
+ },
33486
+ "privacy": "private",
33487
+ "default": "styles"
33486
33488
  },
33487
33489
  {
33488
- "kind": "method",
33489
- "name": "createAttachmentContainer",
33490
+ "kind": "field",
33491
+ "name": "clickEvent",
33492
+ "type": {
33493
+ "text": "(event: MouseEvent) => void | undefined"
33494
+ },
33495
+ "privacy": "private"
33496
+ },
33497
+ {
33498
+ "kind": "field",
33499
+ "name": "keyDownEvent",
33500
+ "type": {
33501
+ "text": "(event: KeyboardEvent) => void | undefined"
33502
+ },
33490
33503
  "privacy": "private"
33491
33504
  },
33492
33505
  {
33493
33506
  "kind": "method",
33494
- "name": "toggleContainerDisplay",
33507
+ "name": "createElement",
33495
33508
  "privacy": "private",
33509
+ "static": true,
33496
33510
  "parameters": [
33497
33511
  {
33498
- "name": "display",
33512
+ "name": "containerStyle",
33513
+ "optional": true,
33499
33514
  "type": {
33500
- "text": "boolean"
33515
+ "text": "CustomStyle"
33501
33516
  }
33502
33517
  }
33503
33518
  ]
33504
33519
  },
33505
33520
  {
33506
33521
  "kind": "method",
33507
- "name": "getAllFileData"
33522
+ "name": "open",
33523
+ "privacy": "private"
33508
33524
  },
33509
33525
  {
33510
33526
  "kind": "method",
33511
- "name": "completePlaceholders"
33527
+ "name": "close"
33512
33528
  },
33513
33529
  {
33514
33530
  "kind": "method",
33515
- "name": "addFilesToType",
33516
- "privacy": "public",
33517
- "static": true,
33531
+ "name": "toggle"
33532
+ },
33533
+ {
33534
+ "kind": "method",
33535
+ "name": "addItem",
33518
33536
  "parameters": [
33519
33537
  {
33520
- "name": "files",
33521
- "type": {
33522
- "text": "File[]"
33523
- }
33524
- },
33525
- {
33526
- "name": "fileAttachmentTypes",
33538
+ "name": "inputButton",
33527
33539
  "type": {
33528
- "text": "FileAttachmentsType[]"
33540
+ "text": "InputButton"
33529
33541
  }
33530
33542
  }
33531
33543
  ]
33532
33544
  },
33533
33545
  {
33534
33546
  "kind": "method",
33535
- "name": "addFilesToAnyType",
33547
+ "name": "addWindowEvents",
33548
+ "privacy": "private",
33536
33549
  "parameters": [
33537
33550
  {
33538
- "name": "files",
33551
+ "name": "containerElement",
33539
33552
  "type": {
33540
- "text": "File[]"
33553
+ "text": "HTMLElement"
33541
33554
  }
33542
33555
  }
33543
33556
  ]
33544
33557
  },
33545
33558
  {
33546
33559
  "kind": "method",
33547
- "name": "removeAllFiles"
33560
+ "name": "windowClick",
33561
+ "privacy": "private",
33562
+ "parameters": [
33563
+ {
33564
+ "name": "containerElement",
33565
+ "type": {
33566
+ "text": "HTMLElement"
33567
+ }
33568
+ },
33569
+ {
33570
+ "name": "event",
33571
+ "type": {
33572
+ "text": "MouseEvent"
33573
+ }
33574
+ }
33575
+ ]
33548
33576
  },
33549
33577
  {
33550
33578
  "kind": "method",
33551
- "name": "getNumberOfTypes"
33552
- }
33553
- ]
33554
- }
33555
- ],
33556
- "exports": [
33557
- {
33558
- "kind": "js",
33559
- "name": "FileAttachments",
33560
- "declaration": {
33561
- "name": "FileAttachments",
33562
- "module": "src/views/chat/input/fileAttachments/fileAttachments.ts"
33563
- }
33564
- }
33565
- ]
33566
- },
33567
- {
33568
- "kind": "javascript-module",
33569
- "path": "src/views/chat/input/fileAttachments/newFileName.ts",
33570
- "declarations": [
33571
- {
33572
- "kind": "class",
33573
- "description": "",
33574
- "name": "NewFileName",
33575
- "members": [
33576
- {
33577
- "kind": "method",
33578
- "name": "getFileName",
33579
- "privacy": "public",
33580
- "static": true,
33579
+ "name": "windowKeyDown",
33580
+ "privacy": "private",
33581
33581
  "parameters": [
33582
33582
  {
33583
- "name": "prefix",
33583
+ "name": "containerElement",
33584
33584
  "type": {
33585
- "text": "string"
33585
+ "text": "HTMLElement"
33586
33586
  }
33587
33587
  },
33588
33588
  {
33589
- "name": "extension",
33589
+ "name": "event",
33590
33590
  "type": {
33591
- "text": "string"
33591
+ "text": "KeyboardEvent"
33592
33592
  }
33593
33593
  }
33594
33594
  ]
@@ -33599,10 +33599,10 @@
33599
33599
  "exports": [
33600
33600
  {
33601
33601
  "kind": "js",
33602
- "name": "NewFileName",
33602
+ "name": "DropupMenu",
33603
33603
  "declaration": {
33604
- "name": "NewFileName",
33605
- "module": "src/views/chat/input/fileAttachments/newFileName.ts"
33604
+ "name": "DropupMenu",
33605
+ "module": "src/views/chat/input/dropup/dropupMenu.ts"
33606
33606
  }
33607
33607
  }
33608
33608
  ]