deep-chat-dev 9.0.0 → 9.0.1
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.
- package/custom-elements.json +205 -146
- package/dist/deepChat.bundle.js +1 -1
- package/dist/deepChat.d.ts +2 -0
- package/dist/deepChat.d.ts.map +1 -1
- package/dist/deepChat.js +796 -846
- package/dist/types/interceptors.d.ts.map +1 -1
- package/dist/utils/HTTP/HTTPRequest.d.ts.map +1 -1
- package/dist/utils/HTTP/websocket.d.ts +1 -1
- package/dist/utils/HTTP/websocket.d.ts.map +1 -1
- package/dist/utils/events/fireEvents.d.ts +1 -0
- package/dist/utils/events/fireEvents.d.ts.map +1 -1
- package/dist/views/chat/introPanel/introPanel.d.ts +1 -0
- package/dist/views/chat/introPanel/introPanel.d.ts.map +1 -1
- package/dist/views/chat/messages/messages.d.ts +4 -1
- package/dist/views/chat/messages/messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/utils/HTTP/customRequest.d.ts +0 -9
- package/dist/utils/HTTP/customRequest.d.ts.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"name": "request",
|
|
24
24
|
"type": {
|
|
25
25
|
"text": "Request | undefined"
|
|
26
|
-
}
|
|
26
|
+
},
|
|
27
|
+
"default": "{\n url: 'ws://loasdasdsacalhost:8080',\n websocket: true,\n }"
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
30
|
"kind": "field",
|
|
@@ -256,6 +257,13 @@
|
|
|
256
257
|
"text": "() => void"
|
|
257
258
|
}
|
|
258
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"kind": "field",
|
|
262
|
+
"name": "clearMessages",
|
|
263
|
+
"type": {
|
|
264
|
+
"text": "(isReset?: boolean) => void"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
259
267
|
{
|
|
260
268
|
"kind": "field",
|
|
261
269
|
"name": "onNewMessage",
|
|
@@ -263,6 +271,13 @@
|
|
|
263
271
|
"text": "OnNewMessage"
|
|
264
272
|
}
|
|
265
273
|
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "field",
|
|
276
|
+
"name": "onClearMessages",
|
|
277
|
+
"type": {
|
|
278
|
+
"text": "() => void"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
266
281
|
{
|
|
267
282
|
"kind": "field",
|
|
268
283
|
"name": "onComponentRender",
|
|
@@ -431,6 +446,54 @@
|
|
|
431
446
|
}
|
|
432
447
|
]
|
|
433
448
|
},
|
|
449
|
+
{
|
|
450
|
+
"kind": "javascript-module",
|
|
451
|
+
"path": "src/services/serviceIO.ts",
|
|
452
|
+
"declarations": [],
|
|
453
|
+
"exports": []
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"kind": "javascript-module",
|
|
457
|
+
"path": "src/services/serviceIOFactory.ts",
|
|
458
|
+
"declarations": [
|
|
459
|
+
{
|
|
460
|
+
"kind": "class",
|
|
461
|
+
"description": "",
|
|
462
|
+
"name": "ServiceIOFactory",
|
|
463
|
+
"members": [
|
|
464
|
+
{
|
|
465
|
+
"kind": "method",
|
|
466
|
+
"name": "create",
|
|
467
|
+
"privacy": "public",
|
|
468
|
+
"static": true,
|
|
469
|
+
"return": {
|
|
470
|
+
"type": {
|
|
471
|
+
"text": "ServiceIO"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"parameters": [
|
|
475
|
+
{
|
|
476
|
+
"name": "deepChat",
|
|
477
|
+
"type": {
|
|
478
|
+
"text": "DeepChat"
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
]
|
|
482
|
+
}
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
],
|
|
486
|
+
"exports": [
|
|
487
|
+
{
|
|
488
|
+
"kind": "js",
|
|
489
|
+
"name": "ServiceIOFactory",
|
|
490
|
+
"declaration": {
|
|
491
|
+
"name": "ServiceIOFactory",
|
|
492
|
+
"module": "src/services/serviceIOFactory.ts"
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
]
|
|
496
|
+
},
|
|
434
497
|
{
|
|
435
498
|
"kind": "javascript-module",
|
|
436
499
|
"path": "src/icons/audioIcon.ts",
|
|
@@ -788,54 +851,6 @@
|
|
|
788
851
|
}
|
|
789
852
|
]
|
|
790
853
|
},
|
|
791
|
-
{
|
|
792
|
-
"kind": "javascript-module",
|
|
793
|
-
"path": "src/services/serviceIO.ts",
|
|
794
|
-
"declarations": [],
|
|
795
|
-
"exports": []
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
"kind": "javascript-module",
|
|
799
|
-
"path": "src/services/serviceIOFactory.ts",
|
|
800
|
-
"declarations": [
|
|
801
|
-
{
|
|
802
|
-
"kind": "class",
|
|
803
|
-
"description": "",
|
|
804
|
-
"name": "ServiceIOFactory",
|
|
805
|
-
"members": [
|
|
806
|
-
{
|
|
807
|
-
"kind": "method",
|
|
808
|
-
"name": "create",
|
|
809
|
-
"privacy": "public",
|
|
810
|
-
"static": true,
|
|
811
|
-
"return": {
|
|
812
|
-
"type": {
|
|
813
|
-
"text": "ServiceIO"
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
"parameters": [
|
|
817
|
-
{
|
|
818
|
-
"name": "deepChat",
|
|
819
|
-
"type": {
|
|
820
|
-
"text": "DeepChat"
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
]
|
|
824
|
-
}
|
|
825
|
-
]
|
|
826
|
-
}
|
|
827
|
-
],
|
|
828
|
-
"exports": [
|
|
829
|
-
{
|
|
830
|
-
"kind": "js",
|
|
831
|
-
"name": "ServiceIOFactory",
|
|
832
|
-
"declaration": {
|
|
833
|
-
"name": "ServiceIOFactory",
|
|
834
|
-
"module": "src/services/serviceIOFactory.ts"
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
]
|
|
838
|
-
},
|
|
839
854
|
{
|
|
840
855
|
"kind": "javascript-module",
|
|
841
856
|
"path": "src/types/APIKey.ts",
|
|
@@ -21679,7 +21694,7 @@
|
|
|
21679
21694
|
{
|
|
21680
21695
|
"name": "body",
|
|
21681
21696
|
"type": {
|
|
21682
|
-
"text": "
|
|
21697
|
+
"text": "RequestDetails['body']"
|
|
21683
21698
|
}
|
|
21684
21699
|
},
|
|
21685
21700
|
{
|
|
@@ -21687,12 +21702,6 @@
|
|
|
21687
21702
|
"type": {
|
|
21688
21703
|
"text": "Messages"
|
|
21689
21704
|
}
|
|
21690
|
-
},
|
|
21691
|
-
{
|
|
21692
|
-
"name": "handler",
|
|
21693
|
-
"type": {
|
|
21694
|
-
"text": "Handler"
|
|
21695
|
-
}
|
|
21696
21705
|
}
|
|
21697
21706
|
]
|
|
21698
21707
|
}
|
|
@@ -22033,7 +22042,7 @@
|
|
|
22033
22042
|
{
|
|
22034
22043
|
"kind": "method",
|
|
22035
22044
|
"name": "connect",
|
|
22036
|
-
"privacy": "
|
|
22045
|
+
"privacy": "private",
|
|
22037
22046
|
"static": true,
|
|
22038
22047
|
"parameters": [
|
|
22039
22048
|
{
|
|
@@ -22847,6 +22856,20 @@
|
|
|
22847
22856
|
}
|
|
22848
22857
|
]
|
|
22849
22858
|
},
|
|
22859
|
+
{
|
|
22860
|
+
"kind": "method",
|
|
22861
|
+
"name": "onClearMessages",
|
|
22862
|
+
"privacy": "public",
|
|
22863
|
+
"static": true,
|
|
22864
|
+
"parameters": [
|
|
22865
|
+
{
|
|
22866
|
+
"name": "deepChat",
|
|
22867
|
+
"type": {
|
|
22868
|
+
"text": "DeepChat"
|
|
22869
|
+
}
|
|
22870
|
+
}
|
|
22871
|
+
]
|
|
22872
|
+
},
|
|
22850
22873
|
{
|
|
22851
22874
|
"kind": "method",
|
|
22852
22875
|
"name": "onRender",
|
|
@@ -24170,6 +24193,11 @@
|
|
|
24170
24193
|
"kind": "method",
|
|
24171
24194
|
"name": "hide",
|
|
24172
24195
|
"privacy": "public"
|
|
24196
|
+
},
|
|
24197
|
+
{
|
|
24198
|
+
"kind": "method",
|
|
24199
|
+
"name": "display",
|
|
24200
|
+
"privacy": "public"
|
|
24173
24201
|
}
|
|
24174
24202
|
]
|
|
24175
24203
|
}
|
|
@@ -24940,6 +24968,14 @@
|
|
|
24940
24968
|
},
|
|
24941
24969
|
"privacy": "private"
|
|
24942
24970
|
},
|
|
24971
|
+
{
|
|
24972
|
+
"kind": "field",
|
|
24973
|
+
"name": "_onClearMessages",
|
|
24974
|
+
"type": {
|
|
24975
|
+
"text": "() => void | undefined"
|
|
24976
|
+
},
|
|
24977
|
+
"privacy": "private"
|
|
24978
|
+
},
|
|
24943
24979
|
{
|
|
24944
24980
|
"kind": "field",
|
|
24945
24981
|
"name": "_displayLoadingMessage",
|
|
@@ -24989,6 +25025,14 @@
|
|
|
24989
25025
|
},
|
|
24990
25026
|
"privacy": "private"
|
|
24991
25027
|
},
|
|
25028
|
+
{
|
|
25029
|
+
"kind": "field",
|
|
25030
|
+
"name": "_introMessage",
|
|
25031
|
+
"type": {
|
|
25032
|
+
"text": "string | undefined"
|
|
25033
|
+
},
|
|
25034
|
+
"privacy": "private"
|
|
25035
|
+
},
|
|
24992
25036
|
{
|
|
24993
25037
|
"kind": "field",
|
|
24994
25038
|
"name": "_streamedText",
|
|
@@ -25059,6 +25103,7 @@
|
|
|
25059
25103
|
"parameters": [
|
|
25060
25104
|
{
|
|
25061
25105
|
"name": "introMessage",
|
|
25106
|
+
"optional": true,
|
|
25062
25107
|
"type": {
|
|
25063
25108
|
"text": "string"
|
|
25064
25109
|
}
|
|
@@ -25468,6 +25513,20 @@
|
|
|
25468
25513
|
}
|
|
25469
25514
|
]
|
|
25470
25515
|
},
|
|
25516
|
+
{
|
|
25517
|
+
"kind": "method",
|
|
25518
|
+
"name": "clearMessages",
|
|
25519
|
+
"privacy": "private",
|
|
25520
|
+
"parameters": [
|
|
25521
|
+
{
|
|
25522
|
+
"name": "isReset",
|
|
25523
|
+
"optional": true,
|
|
25524
|
+
"type": {
|
|
25525
|
+
"text": "boolean"
|
|
25526
|
+
}
|
|
25527
|
+
}
|
|
25528
|
+
]
|
|
25529
|
+
},
|
|
25471
25530
|
{
|
|
25472
25531
|
"kind": "method",
|
|
25473
25532
|
"name": "refreshTextMessages",
|
|
@@ -25630,6 +25689,95 @@
|
|
|
25630
25689
|
}
|
|
25631
25690
|
]
|
|
25632
25691
|
},
|
|
25692
|
+
{
|
|
25693
|
+
"kind": "javascript-module",
|
|
25694
|
+
"path": "src/views/chat/input/buttonContainers/buttonContainers.ts",
|
|
25695
|
+
"declarations": [
|
|
25696
|
+
{
|
|
25697
|
+
"kind": "class",
|
|
25698
|
+
"description": "",
|
|
25699
|
+
"name": "ButtonContainers",
|
|
25700
|
+
"members": [
|
|
25701
|
+
{
|
|
25702
|
+
"kind": "method",
|
|
25703
|
+
"name": "create",
|
|
25704
|
+
"privacy": "public",
|
|
25705
|
+
"static": true
|
|
25706
|
+
},
|
|
25707
|
+
{
|
|
25708
|
+
"kind": "method",
|
|
25709
|
+
"name": "add",
|
|
25710
|
+
"privacy": "public",
|
|
25711
|
+
"static": true,
|
|
25712
|
+
"parameters": [
|
|
25713
|
+
{
|
|
25714
|
+
"name": "inputContainer",
|
|
25715
|
+
"type": {
|
|
25716
|
+
"text": "HTMLElement"
|
|
25717
|
+
}
|
|
25718
|
+
},
|
|
25719
|
+
{
|
|
25720
|
+
"name": "buttonContainers",
|
|
25721
|
+
"type": {
|
|
25722
|
+
"text": "ButtonContainersT"
|
|
25723
|
+
}
|
|
25724
|
+
}
|
|
25725
|
+
]
|
|
25726
|
+
},
|
|
25727
|
+
{
|
|
25728
|
+
"kind": "method",
|
|
25729
|
+
"name": "getContainerIndex",
|
|
25730
|
+
"privacy": "private",
|
|
25731
|
+
"static": true,
|
|
25732
|
+
"parameters": [
|
|
25733
|
+
{
|
|
25734
|
+
"name": "position",
|
|
25735
|
+
"type": {
|
|
25736
|
+
"text": "ButtonPosition"
|
|
25737
|
+
}
|
|
25738
|
+
}
|
|
25739
|
+
]
|
|
25740
|
+
},
|
|
25741
|
+
{
|
|
25742
|
+
"kind": "method",
|
|
25743
|
+
"name": "addButton",
|
|
25744
|
+
"privacy": "public",
|
|
25745
|
+
"static": true,
|
|
25746
|
+
"parameters": [
|
|
25747
|
+
{
|
|
25748
|
+
"name": "buttonContainers",
|
|
25749
|
+
"type": {
|
|
25750
|
+
"text": "ButtonContainersT"
|
|
25751
|
+
}
|
|
25752
|
+
},
|
|
25753
|
+
{
|
|
25754
|
+
"name": "elementRef",
|
|
25755
|
+
"type": {
|
|
25756
|
+
"text": "HTMLElement"
|
|
25757
|
+
}
|
|
25758
|
+
},
|
|
25759
|
+
{
|
|
25760
|
+
"name": "position",
|
|
25761
|
+
"type": {
|
|
25762
|
+
"text": "ButtonPosition"
|
|
25763
|
+
}
|
|
25764
|
+
}
|
|
25765
|
+
]
|
|
25766
|
+
}
|
|
25767
|
+
]
|
|
25768
|
+
}
|
|
25769
|
+
],
|
|
25770
|
+
"exports": [
|
|
25771
|
+
{
|
|
25772
|
+
"kind": "js",
|
|
25773
|
+
"name": "ButtonContainers",
|
|
25774
|
+
"declaration": {
|
|
25775
|
+
"name": "ButtonContainers",
|
|
25776
|
+
"module": "src/views/chat/input/buttonContainers/buttonContainers.ts"
|
|
25777
|
+
}
|
|
25778
|
+
}
|
|
25779
|
+
]
|
|
25780
|
+
},
|
|
25633
25781
|
{
|
|
25634
25782
|
"kind": "javascript-module",
|
|
25635
25783
|
"path": "src/views/chat/input/buttons/buttonCSS.ts",
|
|
@@ -26070,95 +26218,6 @@
|
|
|
26070
26218
|
}
|
|
26071
26219
|
]
|
|
26072
26220
|
},
|
|
26073
|
-
{
|
|
26074
|
-
"kind": "javascript-module",
|
|
26075
|
-
"path": "src/views/chat/input/buttonContainers/buttonContainers.ts",
|
|
26076
|
-
"declarations": [
|
|
26077
|
-
{
|
|
26078
|
-
"kind": "class",
|
|
26079
|
-
"description": "",
|
|
26080
|
-
"name": "ButtonContainers",
|
|
26081
|
-
"members": [
|
|
26082
|
-
{
|
|
26083
|
-
"kind": "method",
|
|
26084
|
-
"name": "create",
|
|
26085
|
-
"privacy": "public",
|
|
26086
|
-
"static": true
|
|
26087
|
-
},
|
|
26088
|
-
{
|
|
26089
|
-
"kind": "method",
|
|
26090
|
-
"name": "add",
|
|
26091
|
-
"privacy": "public",
|
|
26092
|
-
"static": true,
|
|
26093
|
-
"parameters": [
|
|
26094
|
-
{
|
|
26095
|
-
"name": "inputContainer",
|
|
26096
|
-
"type": {
|
|
26097
|
-
"text": "HTMLElement"
|
|
26098
|
-
}
|
|
26099
|
-
},
|
|
26100
|
-
{
|
|
26101
|
-
"name": "buttonContainers",
|
|
26102
|
-
"type": {
|
|
26103
|
-
"text": "ButtonContainersT"
|
|
26104
|
-
}
|
|
26105
|
-
}
|
|
26106
|
-
]
|
|
26107
|
-
},
|
|
26108
|
-
{
|
|
26109
|
-
"kind": "method",
|
|
26110
|
-
"name": "getContainerIndex",
|
|
26111
|
-
"privacy": "private",
|
|
26112
|
-
"static": true,
|
|
26113
|
-
"parameters": [
|
|
26114
|
-
{
|
|
26115
|
-
"name": "position",
|
|
26116
|
-
"type": {
|
|
26117
|
-
"text": "ButtonPosition"
|
|
26118
|
-
}
|
|
26119
|
-
}
|
|
26120
|
-
]
|
|
26121
|
-
},
|
|
26122
|
-
{
|
|
26123
|
-
"kind": "method",
|
|
26124
|
-
"name": "addButton",
|
|
26125
|
-
"privacy": "public",
|
|
26126
|
-
"static": true,
|
|
26127
|
-
"parameters": [
|
|
26128
|
-
{
|
|
26129
|
-
"name": "buttonContainers",
|
|
26130
|
-
"type": {
|
|
26131
|
-
"text": "ButtonContainersT"
|
|
26132
|
-
}
|
|
26133
|
-
},
|
|
26134
|
-
{
|
|
26135
|
-
"name": "elementRef",
|
|
26136
|
-
"type": {
|
|
26137
|
-
"text": "HTMLElement"
|
|
26138
|
-
}
|
|
26139
|
-
},
|
|
26140
|
-
{
|
|
26141
|
-
"name": "position",
|
|
26142
|
-
"type": {
|
|
26143
|
-
"text": "ButtonPosition"
|
|
26144
|
-
}
|
|
26145
|
-
}
|
|
26146
|
-
]
|
|
26147
|
-
}
|
|
26148
|
-
]
|
|
26149
|
-
}
|
|
26150
|
-
],
|
|
26151
|
-
"exports": [
|
|
26152
|
-
{
|
|
26153
|
-
"kind": "js",
|
|
26154
|
-
"name": "ButtonContainers",
|
|
26155
|
-
"declaration": {
|
|
26156
|
-
"name": "ButtonContainers",
|
|
26157
|
-
"module": "src/views/chat/input/buttonContainers/buttonContainers.ts"
|
|
26158
|
-
}
|
|
26159
|
-
}
|
|
26160
|
-
]
|
|
26161
|
-
},
|
|
26162
26221
|
{
|
|
26163
26222
|
"kind": "javascript-module",
|
|
26164
26223
|
"path": "src/views/chat/input/dropup/dropup.ts",
|