deep-chat-dev 1.1.35 → 1.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,8 +22,9 @@
22
22
  "kind": "field",
23
23
  "name": "request",
24
24
  "type": {
25
- "text": "Request | undefined"
26
- }
25
+ "text": "Request | null"
26
+ },
27
+ "default": "null"
27
28
  },
28
29
  {
29
30
  "kind": "field",
@@ -431,6 +432,54 @@
431
432
  }
432
433
  ]
433
434
  },
435
+ {
436
+ "kind": "javascript-module",
437
+ "path": "src/services/serviceIO.ts",
438
+ "declarations": [],
439
+ "exports": []
440
+ },
441
+ {
442
+ "kind": "javascript-module",
443
+ "path": "src/services/serviceIOFactory.ts",
444
+ "declarations": [
445
+ {
446
+ "kind": "class",
447
+ "description": "",
448
+ "name": "ServiceIOFactory",
449
+ "members": [
450
+ {
451
+ "kind": "method",
452
+ "name": "create",
453
+ "privacy": "public",
454
+ "static": true,
455
+ "return": {
456
+ "type": {
457
+ "text": "ServiceIO"
458
+ }
459
+ },
460
+ "parameters": [
461
+ {
462
+ "name": "deepChat",
463
+ "type": {
464
+ "text": "DeepChat"
465
+ }
466
+ }
467
+ ]
468
+ }
469
+ ]
470
+ }
471
+ ],
472
+ "exports": [
473
+ {
474
+ "kind": "js",
475
+ "name": "ServiceIOFactory",
476
+ "declaration": {
477
+ "name": "ServiceIOFactory",
478
+ "module": "src/services/serviceIOFactory.ts"
479
+ }
480
+ }
481
+ ]
482
+ },
434
483
  {
435
484
  "kind": "javascript-module",
436
485
  "path": "src/icons/audioIcon.ts",
@@ -788,54 +837,6 @@
788
837
  }
789
838
  ]
790
839
  },
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
840
  {
840
841
  "kind": "javascript-module",
841
842
  "path": "src/types/APIKey.ts",
@@ -21447,451 +21448,394 @@
21447
21448
  },
21448
21449
  {
21449
21450
  "kind": "javascript-module",
21450
- "path": "src/utils/HTTP/HTTPRequest.ts",
21451
+ "path": "src/views/chat/chatView.ts",
21451
21452
  "declarations": [
21452
21453
  {
21453
21454
  "kind": "class",
21454
21455
  "description": "",
21455
- "name": "HTTPRequest",
21456
+ "name": "ChatView",
21456
21457
  "members": [
21457
21458
  {
21458
21459
  "kind": "method",
21459
- "name": "request",
21460
- "privacy": "public",
21460
+ "name": "createElements",
21461
+ "privacy": "private",
21461
21462
  "static": true,
21462
21463
  "parameters": [
21463
21464
  {
21464
- "name": "io",
21465
- "type": {
21466
- "text": "ServiceIO"
21467
- }
21468
- },
21469
- {
21470
- "name": "body",
21465
+ "name": "deepChat",
21471
21466
  "type": {
21472
- "text": "object"
21467
+ "text": "DeepChat"
21473
21468
  }
21474
21469
  },
21475
21470
  {
21476
- "name": "messages",
21471
+ "name": "serviceIO",
21477
21472
  "type": {
21478
- "text": "Messages"
21473
+ "text": "ServiceIO"
21479
21474
  }
21480
21475
  },
21481
21476
  {
21482
- "name": "onFinish",
21477
+ "name": "panel",
21478
+ "optional": true,
21483
21479
  "type": {
21484
- "text": "Finish"
21480
+ "text": "HTMLElement"
21485
21481
  }
21486
- },
21487
- {
21488
- "name": "stringifyBody",
21489
- "default": "true"
21490
21482
  }
21491
21483
  ]
21492
21484
  },
21493
21485
  {
21494
21486
  "kind": "method",
21495
- "name": "requestStream",
21487
+ "name": "render",
21496
21488
  "privacy": "public",
21497
21489
  "static": true,
21498
21490
  "parameters": [
21499
21491
  {
21500
- "name": "io",
21501
- "type": {
21502
- "text": "ServiceIO"
21503
- }
21504
- },
21505
- {
21506
- "name": "body",
21507
- "type": {
21508
- "text": "object"
21509
- }
21510
- },
21511
- {
21512
- "name": "messages",
21492
+ "name": "deepChat",
21513
21493
  "type": {
21514
- "text": "Messages"
21494
+ "text": "DeepChat"
21515
21495
  }
21516
21496
  },
21517
21497
  {
21518
- "name": "onOpen",
21498
+ "name": "containerRef",
21519
21499
  "type": {
21520
- "text": "() => void"
21500
+ "text": "HTMLElement"
21521
21501
  }
21522
21502
  },
21523
21503
  {
21524
- "name": "onClose",
21504
+ "name": "serviceIO",
21525
21505
  "type": {
21526
- "text": "() => void"
21506
+ "text": "ServiceIO"
21527
21507
  }
21528
21508
  },
21529
21509
  {
21530
- "name": "abortStream",
21510
+ "name": "panel",
21511
+ "optional": true,
21531
21512
  "type": {
21532
- "text": "AbortController"
21513
+ "text": "HTMLElement"
21533
21514
  }
21534
- },
21535
- {
21536
- "name": "stringifyBody",
21537
- "default": "true"
21538
21515
  }
21539
21516
  ]
21540
- },
21517
+ }
21518
+ ]
21519
+ }
21520
+ ],
21521
+ "exports": [
21522
+ {
21523
+ "kind": "js",
21524
+ "name": "ChatView",
21525
+ "declaration": {
21526
+ "name": "ChatView",
21527
+ "module": "src/views/chat/chatView.ts"
21528
+ }
21529
+ }
21530
+ ]
21531
+ },
21532
+ {
21533
+ "kind": "javascript-module",
21534
+ "path": "src/views/error/errorView.ts",
21535
+ "declarations": [
21536
+ {
21537
+ "kind": "class",
21538
+ "description": "",
21539
+ "name": "ErrorView",
21540
+ "members": [
21541
21541
  {
21542
21542
  "kind": "method",
21543
- "name": "executePollRequest",
21543
+ "name": "render",
21544
21544
  "privacy": "public",
21545
21545
  "static": true,
21546
21546
  "parameters": [
21547
21547
  {
21548
- "name": "io",
21548
+ "name": "containerElement",
21549
21549
  "type": {
21550
- "text": "ServiceIO"
21550
+ "text": "HTMLElement"
21551
21551
  }
21552
21552
  },
21553
21553
  {
21554
- "name": "url",
21554
+ "name": "text",
21555
21555
  "type": {
21556
21556
  "text": "string"
21557
21557
  }
21558
- },
21559
- {
21560
- "name": "requestInit",
21561
- "type": {
21562
- "text": "RequestInit"
21563
- }
21564
- },
21565
- {
21566
- "name": "messages",
21567
- "type": {
21568
- "text": "Messages"
21569
- }
21570
- },
21571
- {
21572
- "name": "onFinish",
21573
- "type": {
21574
- "text": "Finish"
21575
- }
21576
21558
  }
21577
21559
  ]
21560
+ }
21561
+ ]
21562
+ }
21563
+ ],
21564
+ "exports": [
21565
+ {
21566
+ "kind": "js",
21567
+ "name": "ErrorView",
21568
+ "declaration": {
21569
+ "name": "ErrorView",
21570
+ "module": "src/views/error/errorView.ts"
21571
+ }
21572
+ }
21573
+ ]
21574
+ },
21575
+ {
21576
+ "kind": "javascript-module",
21577
+ "path": "src/views/insertKey/insertKeyView.ts",
21578
+ "declarations": [
21579
+ {
21580
+ "kind": "class",
21581
+ "description": "",
21582
+ "name": "InsertKeyView",
21583
+ "members": [
21584
+ {
21585
+ "kind": "method",
21586
+ "name": "createCautionText",
21587
+ "privacy": "private",
21588
+ "static": true
21578
21589
  },
21579
21590
  {
21580
21591
  "kind": "method",
21581
- "name": "poll",
21582
- "privacy": "public",
21592
+ "name": "createHelpLink",
21593
+ "privacy": "private",
21583
21594
  "static": true,
21584
21595
  "parameters": [
21585
21596
  {
21586
- "name": "io",
21597
+ "name": "link",
21587
21598
  "type": {
21588
- "text": "ServiceIO"
21599
+ "text": "string"
21589
21600
  }
21590
- },
21591
- {
21592
- "name": "body",
21593
- "type": {
21594
- "text": "object"
21595
- }
21596
- },
21597
- {
21598
- "name": "messages",
21599
- "type": {
21600
- "text": "Messages"
21601
- }
21602
- },
21601
+ }
21602
+ ]
21603
+ },
21604
+ {
21605
+ "kind": "method",
21606
+ "name": "createFailText",
21607
+ "privacy": "private",
21608
+ "static": true
21609
+ },
21610
+ {
21611
+ "kind": "method",
21612
+ "name": "createHelpTextContainer",
21613
+ "privacy": "private",
21614
+ "static": true,
21615
+ "parameters": [
21603
21616
  {
21604
- "name": "onFinish",
21617
+ "name": "link",
21618
+ "optional": true,
21605
21619
  "type": {
21606
- "text": "Finish"
21620
+ "text": "string"
21607
21621
  }
21608
- },
21609
- {
21610
- "name": "stringifyBody",
21611
- "default": "true"
21612
21622
  }
21613
21623
  ]
21614
21624
  },
21615
21625
  {
21616
21626
  "kind": "method",
21617
- "name": "verifyKey",
21618
- "privacy": "public",
21627
+ "name": "onFail",
21628
+ "privacy": "private",
21619
21629
  "static": true,
21620
21630
  "parameters": [
21621
21631
  {
21622
- "name": "key",
21632
+ "name": "inputEl",
21623
21633
  "type": {
21624
- "text": "string"
21634
+ "text": "HTMLInputElement"
21625
21635
  }
21626
21636
  },
21627
21637
  {
21628
- "name": "url",
21638
+ "name": "startEl",
21629
21639
  "type": {
21630
- "text": "string"
21640
+ "text": "HTMLElement"
21631
21641
  }
21632
21642
  },
21633
21643
  {
21634
- "name": "headers",
21644
+ "name": "failTextEl",
21635
21645
  "type": {
21636
- "text": "HeadersInit"
21646
+ "text": "HTMLElement"
21637
21647
  }
21638
21648
  },
21639
21649
  {
21640
- "name": "method",
21650
+ "name": "message",
21641
21651
  "type": {
21642
21652
  "text": "string"
21643
21653
  }
21644
- },
21654
+ }
21655
+ ]
21656
+ },
21657
+ {
21658
+ "kind": "method",
21659
+ "name": "onLoad",
21660
+ "privacy": "private",
21661
+ "static": true,
21662
+ "parameters": [
21645
21663
  {
21646
- "name": "onSuccess",
21664
+ "name": "inputEl",
21647
21665
  "type": {
21648
- "text": "(key: string) => void"
21666
+ "text": "HTMLInputElement"
21649
21667
  }
21650
21668
  },
21651
21669
  {
21652
- "name": "onFail",
21670
+ "name": "startEl",
21653
21671
  "type": {
21654
- "text": "(message: string) => void"
21672
+ "text": "HTMLElement"
21655
21673
  }
21656
- },
21674
+ }
21675
+ ]
21676
+ },
21677
+ {
21678
+ "kind": "method",
21679
+ "name": "verifyKey",
21680
+ "privacy": "private",
21681
+ "static": true,
21682
+ "parameters": [
21657
21683
  {
21658
- "name": "onLoad",
21684
+ "name": "inputElement",
21659
21685
  "type": {
21660
- "text": "() => void"
21686
+ "text": "HTMLInputElement"
21661
21687
  }
21662
21688
  },
21663
21689
  {
21664
- "name": "handleVerificationResult",
21690
+ "name": "keyVerificationHandlers",
21665
21691
  "type": {
21666
- "text": "HandleVerificationResult"
21692
+ "text": "KeyVerificationHandlers"
21667
21693
  }
21668
21694
  },
21669
21695
  {
21670
- "name": "body",
21671
- "optional": true,
21696
+ "name": "serviceIO",
21672
21697
  "type": {
21673
- "text": "string"
21698
+ "text": "ServiceIO"
21674
21699
  }
21675
21700
  }
21676
21701
  ]
21677
21702
  },
21678
21703
  {
21679
21704
  "kind": "method",
21680
- "name": "processResponseByType",
21705
+ "name": "addVerificationEvents",
21681
21706
  "privacy": "private",
21682
21707
  "static": true,
21683
21708
  "parameters": [
21684
21709
  {
21685
- "name": "response",
21710
+ "name": "inputEl",
21686
21711
  "type": {
21687
- "text": "Response"
21712
+ "text": "HTMLInputElement"
21688
21713
  }
21689
- }
21690
- ]
21691
- }
21692
- ]
21693
- }
21694
- ],
21695
- "exports": [
21696
- {
21697
- "kind": "js",
21698
- "name": "HTTPRequest",
21699
- "declaration": {
21700
- "name": "HTTPRequest",
21701
- "module": "src/utils/HTTP/HTTPRequest.ts"
21702
- }
21703
- }
21704
- ]
21705
- },
21706
- {
21707
- "kind": "javascript-module",
21708
- "path": "src/utils/HTTP/requestUtils.ts",
21709
- "declarations": [
21710
- {
21711
- "kind": "class",
21712
- "description": "",
21713
- "name": "RequestUtils",
21714
- "members": [
21715
- {
21716
- "kind": "field",
21717
- "name": "CONTENT_TYPE",
21718
- "type": {
21719
- "text": "string"
21720
- },
21721
- "privacy": "public",
21722
- "static": true,
21723
- "default": "'Content-Type'"
21724
- },
21725
- {
21726
- "kind": "method",
21727
- "name": "temporarilyRemoveHeader",
21728
- "privacy": "public",
21729
- "static": true,
21730
- "parameters": [
21714
+ },
21731
21715
  {
21732
- "name": "requestSettings",
21716
+ "name": "startEl",
21733
21717
  "type": {
21734
- "text": "Request | undefined"
21718
+ "text": "HTMLElement"
21735
21719
  }
21736
21720
  },
21737
21721
  {
21738
- "name": "request",
21722
+ "name": "failTextEl",
21739
21723
  "type": {
21740
- "text": "(stringifyBody?: boolean) => void"
21724
+ "text": "HTMLElement"
21741
21725
  }
21742
21726
  },
21743
21727
  {
21744
- "name": "stringifyBody",
21728
+ "name": "changeToChat",
21745
21729
  "type": {
21746
- "text": "boolean"
21730
+ "text": "() => void"
21731
+ }
21732
+ },
21733
+ {
21734
+ "name": "serviceIO",
21735
+ "type": {
21736
+ "text": "ServiceIO"
21747
21737
  }
21748
21738
  }
21749
21739
  ]
21750
21740
  },
21751
21741
  {
21752
21742
  "kind": "method",
21753
- "name": "displayError",
21754
- "privacy": "public",
21743
+ "name": "createStartButton",
21744
+ "privacy": "private",
21745
+ "static": true
21746
+ },
21747
+ {
21748
+ "kind": "method",
21749
+ "name": "onInputFocus",
21750
+ "privacy": "private",
21755
21751
  "static": true,
21756
21752
  "parameters": [
21757
21753
  {
21758
- "name": "messages",
21759
- "type": {
21760
- "text": "Messages"
21761
- }
21762
- },
21763
- {
21764
- "name": "err",
21754
+ "name": "event",
21765
21755
  "type": {
21766
- "text": "object"
21756
+ "text": "FocusEvent"
21767
21757
  }
21768
21758
  }
21769
21759
  ]
21770
- }
21771
- ]
21772
- }
21773
- ],
21774
- "exports": [
21775
- {
21776
- "kind": "js",
21777
- "name": "RequestUtils",
21778
- "declaration": {
21779
- "name": "RequestUtils",
21780
- "module": "src/utils/HTTP/requestUtils.ts"
21781
- }
21782
- }
21783
- ]
21784
- },
21785
- {
21786
- "kind": "javascript-module",
21787
- "path": "src/utils/HTTP/websocket.ts",
21788
- "declarations": [
21789
- {
21790
- "kind": "class",
21791
- "description": "",
21792
- "name": "Websocket",
21793
- "members": [
21760
+ },
21794
21761
  {
21795
21762
  "kind": "method",
21796
- "name": "setup",
21797
- "privacy": "public",
21763
+ "name": "createInput",
21764
+ "privacy": "private",
21798
21765
  "static": true,
21799
21766
  "parameters": [
21800
21767
  {
21801
- "name": "io",
21802
- "type": {
21803
- "text": "ServiceIO"
21804
- }
21805
- },
21806
- {
21807
- "name": "websocketConfig",
21768
+ "name": "placeholderText",
21769
+ "optional": true,
21808
21770
  "type": {
21809
- "text": "boolean | string | string[]"
21771
+ "text": "string"
21810
21772
  }
21811
21773
  }
21812
21774
  ]
21813
21775
  },
21814
21776
  {
21815
21777
  "kind": "method",
21816
- "name": "connect",
21817
- "privacy": "public",
21778
+ "name": "createContents",
21779
+ "privacy": "private",
21818
21780
  "static": true,
21819
21781
  "parameters": [
21820
21782
  {
21821
- "name": "url",
21822
- "optional": true,
21783
+ "name": "changeToChat",
21823
21784
  "type": {
21824
- "text": "string"
21785
+ "text": "() => void"
21825
21786
  }
21826
21787
  },
21827
21788
  {
21828
- "name": "protocols",
21829
- "optional": true,
21789
+ "name": "serviceIO",
21830
21790
  "type": {
21831
- "text": "string | string[]"
21791
+ "text": "ServiceIO"
21832
21792
  }
21833
21793
  }
21834
21794
  ]
21835
21795
  },
21836
21796
  {
21837
21797
  "kind": "method",
21838
- "name": "assignListeners",
21839
- "privacy": "public",
21798
+ "name": "createElements",
21799
+ "privacy": "private",
21840
21800
  "static": true,
21841
21801
  "parameters": [
21842
21802
  {
21843
- "name": "io",
21803
+ "name": "changeToChat",
21844
21804
  "type": {
21845
- "text": "ServiceIO"
21805
+ "text": "() => void"
21846
21806
  }
21847
21807
  },
21848
21808
  {
21849
- "name": "messages",
21809
+ "name": "serviceIO",
21850
21810
  "type": {
21851
- "text": "Messages"
21811
+ "text": "ServiceIO"
21852
21812
  }
21853
21813
  }
21854
21814
  ]
21855
21815
  },
21856
21816
  {
21857
21817
  "kind": "method",
21858
- "name": "sendWebsocket",
21818
+ "name": "render",
21859
21819
  "privacy": "public",
21860
21820
  "static": true,
21861
21821
  "parameters": [
21862
21822
  {
21863
- "name": "ws",
21823
+ "name": "containerRef",
21864
21824
  "type": {
21865
- "text": "WebSocket"
21825
+ "text": "HTMLElement"
21866
21826
  }
21867
21827
  },
21868
21828
  {
21869
- "name": "io",
21829
+ "name": "changeToChat",
21870
21830
  "type": {
21871
- "text": "ServiceIO"
21831
+ "text": "() => void"
21872
21832
  }
21873
21833
  },
21874
21834
  {
21875
- "name": "body",
21876
- "type": {
21877
- "text": "object"
21878
- }
21879
- },
21880
- {
21881
- "name": "messages",
21882
- "type": {
21883
- "text": "Messages"
21884
- }
21885
- },
21886
- {
21887
- "name": "onFinish",
21835
+ "name": "serviceIO",
21888
21836
  "type": {
21889
- "text": "Finish"
21837
+ "text": "ServiceIO"
21890
21838
  }
21891
- },
21892
- {
21893
- "name": "stringifyBody",
21894
- "default": "true"
21895
21839
  }
21896
21840
  ]
21897
21841
  }
@@ -21901,176 +21845,98 @@
21901
21845
  "exports": [
21902
21846
  {
21903
21847
  "kind": "js",
21904
- "name": "Websocket",
21848
+ "name": "InsertKeyView",
21905
21849
  "declaration": {
21906
- "name": "Websocket",
21907
- "module": "src/utils/HTTP/websocket.ts"
21850
+ "name": "InsertKeyView",
21851
+ "module": "src/views/insertKey/insertKeyView.ts"
21908
21852
  }
21909
21853
  }
21910
21854
  ]
21911
21855
  },
21912
21856
  {
21913
21857
  "kind": "javascript-module",
21914
- "path": "src/utils/browser/browser.ts",
21858
+ "path": "src/views/insertKey/visibilityIcon.ts",
21915
21859
  "declarations": [
21916
21860
  {
21917
21861
  "kind": "class",
21918
21862
  "description": "",
21919
- "name": "Browser",
21863
+ "name": "VisibilityIcon",
21920
21864
  "members": [
21921
21865
  {
21922
21866
  "kind": "field",
21923
- "name": "IS_SAFARI",
21924
- "privacy": "public",
21925
- "static": true
21926
- },
21927
- {
21928
- "kind": "field",
21929
- "name": "IS_CHROMIUM",
21930
- "privacy": "public",
21931
- "static": true
21932
- }
21933
- ]
21934
- }
21935
- ],
21936
- "exports": [
21937
- {
21938
- "kind": "js",
21939
- "name": "Browser",
21940
- "declaration": {
21941
- "name": "Browser",
21942
- "module": "src/utils/browser/browser.ts"
21943
- }
21944
- }
21945
- ]
21946
- },
21947
- {
21948
- "kind": "javascript-module",
21949
- "path": "src/utils/buttons/inputButtons.ts",
21950
- "declarations": [
21951
- {
21952
- "kind": "variable",
21953
- "name": "BUTTON_ORDER",
21954
- "type": {
21955
- "text": "readonly BUTTON_TYPES[]"
21956
- },
21957
- "default": "[\n 'camera',\n 'gifs',\n 'images',\n 'audio',\n 'mixedFiles',\n 'submit',\n 'microphone',\n]"
21958
- }
21959
- ],
21960
- "exports": [
21961
- {
21962
- "kind": "js",
21963
- "name": "BUTTON_ORDER",
21964
- "declaration": {
21965
- "name": "BUTTON_ORDER",
21966
- "module": "src/utils/buttons/inputButtons.ts"
21967
- }
21968
- }
21969
- ]
21970
- },
21971
- {
21972
- "kind": "javascript-module",
21973
- "path": "src/utils/buttons/keyboardKeys.ts",
21974
- "declarations": [],
21975
- "exports": []
21976
- },
21977
- {
21978
- "kind": "javascript-module",
21979
- "path": "src/utils/decorators/property.ts",
21980
- "declarations": [
21981
- {
21982
- "kind": "function",
21983
- "name": "Property",
21984
- "parameters": [
21985
- {
21986
- "name": "type",
21867
+ "name": "VISIBLE_ICON_ID",
21987
21868
  "type": {
21988
- "text": "AvailableTypes"
21989
- }
21990
- }
21991
- ]
21992
- }
21993
- ],
21994
- "exports": [
21995
- {
21996
- "kind": "js",
21997
- "name": "Property",
21998
- "declaration": {
21999
- "name": "Property",
22000
- "module": "src/utils/decorators/property.ts"
22001
- }
22002
- }
22003
- ]
22004
- },
22005
- {
22006
- "kind": "javascript-module",
22007
- "path": "src/utils/decorators/renderControl.ts",
22008
- "declarations": [
22009
- {
22010
- "kind": "class",
22011
- "description": "",
22012
- "name": "RenderControl",
22013
- "members": [
21869
+ "text": "string"
21870
+ },
21871
+ "privacy": "private",
21872
+ "static": true,
21873
+ "default": "'visible-icon'"
21874
+ },
22014
21875
  {
22015
21876
  "kind": "method",
22016
- "name": "waitForPropertiesToBeUpdatedBeforeRender",
21877
+ "name": "changeVisibility",
22017
21878
  "privacy": "private",
22018
21879
  "static": true,
22019
21880
  "parameters": [
22020
21881
  {
22021
- "name": "deepChat",
21882
+ "name": "inputElement",
22022
21883
  "type": {
22023
- "text": "InternalHTML"
21884
+ "text": "HTMLInputElement"
21885
+ }
21886
+ },
21887
+ {
21888
+ "name": "visibleIcon",
21889
+ "type": {
21890
+ "text": "SVGGraphicsElement"
21891
+ }
21892
+ },
21893
+ {
21894
+ "name": "notVisibleIcon",
21895
+ "type": {
21896
+ "text": "SVGGraphicsElement"
21897
+ }
21898
+ },
21899
+ {
21900
+ "name": "event",
21901
+ "type": {
21902
+ "text": "MouseEvent"
22024
21903
  }
22025
21904
  }
22026
21905
  ]
22027
21906
  },
22028
21907
  {
22029
21908
  "kind": "method",
22030
- "name": "attemptRender",
22031
- "privacy": "public",
21909
+ "name": "createIconElement",
21910
+ "privacy": "private",
22032
21911
  "static": true,
22033
21912
  "parameters": [
22034
21913
  {
22035
- "name": "deepChat",
21914
+ "name": "iconString",
22036
21915
  "type": {
22037
- "text": "InternalHTML"
21916
+ "text": "string"
21917
+ }
21918
+ },
21919
+ {
21920
+ "name": "id",
21921
+ "type": {
21922
+ "text": "string"
22038
21923
  }
22039
21924
  }
22040
21925
  ]
22041
- }
22042
- ]
22043
- }
22044
- ],
22045
- "exports": [
22046
- {
22047
- "kind": "js",
22048
- "name": "RenderControl",
22049
- "declaration": {
22050
- "name": "RenderControl",
22051
- "module": "src/utils/decorators/renderControl.ts"
22052
- }
22053
- }
22054
- ]
22055
- },
22056
- {
22057
- "kind": "javascript-module",
22058
- "path": "src/utils/decorators/typeConverters.ts",
22059
- "declarations": [
22060
- {
22061
- "kind": "class",
22062
- "description": "",
22063
- "name": "TypeConverters",
22064
- "members": [
21926
+ },
22065
21927
  {
22066
- "kind": "field",
22067
- "name": "attibutes",
22068
- "type": {
22069
- "text": "AttributeTypeConverters"
22070
- },
21928
+ "kind": "method",
21929
+ "name": "create",
22071
21930
  "privacy": "public",
22072
21931
  "static": true,
22073
- "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) => eval(value),\n }"
21932
+ "parameters": [
21933
+ {
21934
+ "name": "inputElement",
21935
+ "type": {
21936
+ "text": "HTMLInputElement"
21937
+ }
21938
+ }
21939
+ ]
22074
21940
  }
22075
21941
  ]
22076
21942
  }
@@ -22078,130 +21944,144 @@
22078
21944
  "exports": [
22079
21945
  {
22080
21946
  "kind": "js",
22081
- "name": "TypeConverters",
21947
+ "name": "VisibilityIcon",
22082
21948
  "declaration": {
22083
- "name": "TypeConverters",
22084
- "module": "src/utils/decorators/typeConverters.ts"
21949
+ "name": "VisibilityIcon",
21950
+ "module": "src/views/insertKey/visibilityIcon.ts"
22085
21951
  }
22086
21952
  }
22087
21953
  ]
22088
21954
  },
22089
21955
  {
22090
21956
  "kind": "javascript-module",
22091
- "path": "src/utils/demo/demo.ts",
21957
+ "path": "src/views/validateKeyProperty/validateKeyPropertyView.ts",
22092
21958
  "declarations": [
22093
21959
  {
22094
21960
  "kind": "class",
22095
21961
  "description": "",
22096
- "name": "Demo",
21962
+ "name": "ValidateKeyPropertyView",
22097
21963
  "members": [
22098
- {
22099
- "kind": "field",
22100
- "name": "URL",
22101
- "type": {
22102
- "text": "string"
22103
- },
22104
- "privacy": "public",
22105
- "static": true,
22106
- "default": "'deep-chat-demo'"
22107
- },
22108
21964
  {
22109
21965
  "kind": "method",
22110
- "name": "generateResponseForOneMessage",
21966
+ "name": "onLoad",
22111
21967
  "privacy": "private",
22112
21968
  "static": true,
22113
21969
  "parameters": [
22114
21970
  {
22115
- "name": "requestMessage",
21971
+ "name": "startElement",
22116
21972
  "type": {
22117
- "text": "MessageContent"
21973
+ "text": "HTMLElement"
22118
21974
  }
22119
21975
  }
22120
21976
  ]
22121
21977
  },
22122
21978
  {
22123
21979
  "kind": "method",
22124
- "name": "generateResponse",
21980
+ "name": "createElements",
22125
21981
  "privacy": "private",
22126
- "static": true,
22127
- "parameters": [
22128
- {
22129
- "name": "messages",
22130
- "type": {
22131
- "text": "Messages"
22132
- }
22133
- }
22134
- ]
21982
+ "static": true
22135
21983
  },
22136
21984
  {
22137
21985
  "kind": "method",
22138
- "name": "request",
21986
+ "name": "render",
22139
21987
  "privacy": "public",
22140
21988
  "static": true,
22141
21989
  "parameters": [
22142
21990
  {
22143
- "name": "messages",
21991
+ "name": "containerRef",
22144
21992
  "type": {
22145
- "text": "Messages"
21993
+ "text": "HTMLElement"
22146
21994
  }
22147
21995
  },
22148
21996
  {
22149
- "name": "onFinish",
21997
+ "name": "changeToChat",
22150
21998
  "type": {
22151
- "text": "Finish"
21999
+ "text": "() => void"
22152
22000
  }
22153
22001
  },
22154
22002
  {
22155
- "name": "responseInterceptor",
22156
- "optional": true,
22003
+ "name": "serviceIO",
22157
22004
  "type": {
22158
- "text": "ResponseInterceptor"
22005
+ "text": "ServiceIO"
22159
22006
  }
22160
22007
  }
22161
22008
  ]
22162
- },
22009
+ }
22010
+ ]
22011
+ }
22012
+ ],
22013
+ "exports": [
22014
+ {
22015
+ "kind": "js",
22016
+ "name": "ValidateKeyPropertyView",
22017
+ "declaration": {
22018
+ "name": "ValidateKeyPropertyView",
22019
+ "module": "src/views/validateKeyProperty/validateKeyPropertyView.ts"
22020
+ }
22021
+ }
22022
+ ]
22023
+ },
22024
+ {
22025
+ "kind": "javascript-module",
22026
+ "path": "src/utils/HTTP/HTTPRequest.ts",
22027
+ "declarations": [
22028
+ {
22029
+ "kind": "class",
22030
+ "description": "",
22031
+ "name": "HTTPRequest",
22032
+ "members": [
22163
22033
  {
22164
22034
  "kind": "method",
22165
- "name": "requestStream",
22035
+ "name": "request",
22166
22036
  "privacy": "public",
22167
22037
  "static": true,
22168
22038
  "parameters": [
22169
22039
  {
22170
- "name": "messages",
22040
+ "name": "io",
22171
22041
  "type": {
22172
- "text": "Messages"
22042
+ "text": "ServiceIO"
22173
22043
  }
22174
22044
  },
22175
22045
  {
22176
- "name": "onOpen",
22046
+ "name": "body",
22177
22047
  "type": {
22178
- "text": "() => void"
22048
+ "text": "object"
22179
22049
  }
22180
22050
  },
22181
22051
  {
22182
- "name": "onClose",
22052
+ "name": "messages",
22183
22053
  "type": {
22184
- "text": "() => void"
22054
+ "text": "Messages"
22055
+ }
22056
+ },
22057
+ {
22058
+ "name": "onFinish",
22059
+ "type": {
22060
+ "text": "Finish"
22185
22061
  }
22062
+ },
22063
+ {
22064
+ "name": "stringifyBody",
22065
+ "default": "true"
22186
22066
  }
22187
22067
  ]
22188
22068
  },
22189
22069
  {
22190
22070
  "kind": "method",
22191
- "name": "populateMessages",
22192
- "privacy": "private",
22071
+ "name": "requestStream",
22072
+ "privacy": "public",
22193
22073
  "static": true,
22194
22074
  "parameters": [
22195
22075
  {
22196
- "name": "textElement",
22076
+ "name": "io",
22197
22077
  "type": {
22198
- "text": "HTMLElement"
22078
+ "text": "ServiceIO"
22199
22079
  }
22200
22080
  },
22201
22081
  {
22202
- "name": "responseText",
22082
+ "name": "body",
22203
22083
  "type": {
22204
- "text": "string[]"
22084
+ "text": "object"
22205
22085
  }
22206
22086
  },
22207
22087
  {
@@ -22211,241 +22091,255 @@
22211
22091
  }
22212
22092
  },
22213
22093
  {
22214
- "name": "onClose",
22094
+ "name": "onOpen",
22215
22095
  "type": {
22216
22096
  "text": "() => void"
22217
22097
  }
22218
22098
  },
22219
22099
  {
22220
- "name": "wordIndex",
22221
- "default": "0"
22222
- }
22223
- ]
22224
- }
22225
- ]
22226
- }
22227
- ],
22228
- "exports": [
22229
- {
22230
- "kind": "js",
22231
- "name": "Demo",
22232
- "declaration": {
22233
- "name": "Demo",
22234
- "module": "src/utils/demo/demo.ts"
22235
- }
22236
- }
22237
- ]
22238
- },
22239
- {
22240
- "kind": "javascript-module",
22241
- "path": "src/utils/element/elementUtils.ts",
22242
- "declarations": [
22243
- {
22244
- "kind": "class",
22245
- "description": "",
22246
- "name": "ElementUtils",
22247
- "members": [
22248
- {
22249
- "kind": "field",
22250
- "name": "CODE_SNIPPET_GENERATION_JUMP",
22251
- "type": {
22252
- "text": "number"
22253
- },
22254
- "privacy": "private",
22255
- "static": true,
22256
- "default": "0.5"
22257
- },
22258
- {
22259
- "kind": "method",
22260
- "name": "addElements",
22261
- "privacy": "public",
22262
- "static": true,
22263
- "parameters": [
22264
- {
22265
- "name": "parent",
22100
+ "name": "onClose",
22266
22101
  "type": {
22267
- "text": "HTMLElement"
22102
+ "text": "() => void"
22268
22103
  }
22269
22104
  },
22270
22105
  {
22271
- "name": "elements",
22106
+ "name": "abortStream",
22272
22107
  "type": {
22273
- "text": "HTMLElement[]"
22108
+ "text": "AbortController"
22274
22109
  }
22110
+ },
22111
+ {
22112
+ "name": "stringifyBody",
22113
+ "default": "true"
22275
22114
  }
22276
22115
  ]
22277
22116
  },
22278
22117
  {
22279
22118
  "kind": "method",
22280
- "name": "isScrollbarAtBottomOfElement",
22119
+ "name": "executePollRequest",
22281
22120
  "privacy": "public",
22282
22121
  "static": true,
22283
22122
  "parameters": [
22284
22123
  {
22285
- "name": "element",
22124
+ "name": "io",
22286
22125
  "type": {
22287
- "text": "HTMLElement"
22126
+ "text": "ServiceIO"
22288
22127
  }
22289
- }
22290
- ]
22291
- },
22292
- {
22293
- "kind": "method",
22294
- "name": "cloneElement",
22295
- "privacy": "public",
22296
- "static": true,
22297
- "parameters": [
22128
+ },
22298
22129
  {
22299
- "name": "element",
22130
+ "name": "url",
22300
22131
  "type": {
22301
- "text": "HTMLElement"
22132
+ "text": "string"
22302
22133
  }
22303
- }
22304
- ]
22305
- }
22306
- ]
22307
- }
22308
- ],
22309
- "exports": [
22310
- {
22311
- "kind": "js",
22312
- "name": "ElementUtils",
22313
- "declaration": {
22314
- "name": "ElementUtils",
22315
- "module": "src/utils/element/elementUtils.ts"
22316
- }
22317
- }
22318
- ]
22319
- },
22320
- {
22321
- "kind": "javascript-module",
22322
- "path": "src/utils/element/imageUtils.ts",
22323
- "declarations": [
22324
- {
22325
- "kind": "variable",
22326
- "name": "BASE_64_PREFIX",
22327
- "type": {
22328
- "text": "string"
22329
- },
22330
- "default": "'data:image/png;base64,'"
22331
- }
22332
- ],
22333
- "exports": [
22334
- {
22335
- "kind": "js",
22336
- "name": "BASE_64_PREFIX",
22337
- "declaration": {
22338
- "name": "BASE_64_PREFIX",
22339
- "module": "src/utils/element/imageUtils.ts"
22340
- }
22341
- }
22342
- ]
22343
- },
22344
- {
22345
- "kind": "javascript-module",
22346
- "path": "src/utils/element/statefulEvents.ts",
22347
- "declarations": [
22348
- {
22349
- "kind": "class",
22350
- "description": "",
22351
- "name": "StatefulEvents",
22352
- "members": [
22353
- {
22354
- "kind": "method",
22355
- "name": "mouseUp",
22356
- "privacy": "private",
22357
- "static": true,
22358
- "parameters": [
22134
+ },
22359
22135
  {
22360
- "name": "styles",
22136
+ "name": "requestInit",
22361
22137
  "type": {
22362
- "text": "StatefulStyles"
22138
+ "text": "RequestInit"
22363
22139
  }
22364
22140
  },
22365
22141
  {
22366
- "name": "event",
22142
+ "name": "messages",
22367
22143
  "type": {
22368
- "text": "MouseEvent"
22144
+ "text": "Messages"
22145
+ }
22146
+ },
22147
+ {
22148
+ "name": "onFinish",
22149
+ "type": {
22150
+ "text": "Finish"
22369
22151
  }
22370
22152
  }
22371
22153
  ]
22372
22154
  },
22373
22155
  {
22374
22156
  "kind": "method",
22375
- "name": "mouseDown",
22376
- "privacy": "private",
22157
+ "name": "poll",
22158
+ "privacy": "public",
22377
22159
  "static": true,
22378
22160
  "parameters": [
22379
22161
  {
22380
- "name": "styles",
22162
+ "name": "io",
22381
22163
  "type": {
22382
- "text": "StatefulStyles"
22164
+ "text": "ServiceIO"
22383
22165
  }
22384
22166
  },
22385
22167
  {
22386
- "name": "event",
22168
+ "name": "body",
22387
22169
  "type": {
22388
- "text": "MouseEvent"
22170
+ "text": "object"
22389
22171
  }
22390
- }
22391
- ]
22392
- },
22393
- {
22394
- "kind": "method",
22395
- "name": "mouseLeave",
22396
- "privacy": "private",
22397
- "static": true,
22398
- "parameters": [
22172
+ },
22399
22173
  {
22400
- "name": "styles",
22174
+ "name": "messages",
22401
22175
  "type": {
22402
- "text": "StatefulStyles"
22176
+ "text": "Messages"
22403
22177
  }
22404
22178
  },
22405
22179
  {
22406
- "name": "event",
22180
+ "name": "onFinish",
22407
22181
  "type": {
22408
- "text": "MouseEvent"
22182
+ "text": "Finish"
22409
22183
  }
22184
+ },
22185
+ {
22186
+ "name": "stringifyBody",
22187
+ "default": "true"
22410
22188
  }
22411
22189
  ]
22412
22190
  },
22413
22191
  {
22414
22192
  "kind": "method",
22415
- "name": "mouseEnter",
22416
- "privacy": "private",
22193
+ "name": "verifyKey",
22194
+ "privacy": "public",
22417
22195
  "static": true,
22418
22196
  "parameters": [
22419
22197
  {
22420
- "name": "styles",
22198
+ "name": "key",
22421
22199
  "type": {
22422
- "text": "StatefulStyles"
22200
+ "text": "string"
22423
22201
  }
22424
22202
  },
22425
22203
  {
22426
- "name": "event",
22204
+ "name": "url",
22427
22205
  "type": {
22428
- "text": "MouseEvent"
22206
+ "text": "string"
22207
+ }
22208
+ },
22209
+ {
22210
+ "name": "headers",
22211
+ "type": {
22212
+ "text": "HeadersInit"
22213
+ }
22214
+ },
22215
+ {
22216
+ "name": "method",
22217
+ "type": {
22218
+ "text": "string"
22219
+ }
22220
+ },
22221
+ {
22222
+ "name": "onSuccess",
22223
+ "type": {
22224
+ "text": "(key: string) => void"
22225
+ }
22226
+ },
22227
+ {
22228
+ "name": "onFail",
22229
+ "type": {
22230
+ "text": "(message: string) => void"
22231
+ }
22232
+ },
22233
+ {
22234
+ "name": "onLoad",
22235
+ "type": {
22236
+ "text": "() => void"
22237
+ }
22238
+ },
22239
+ {
22240
+ "name": "handleVerificationResult",
22241
+ "type": {
22242
+ "text": "HandleVerificationResult"
22243
+ }
22244
+ },
22245
+ {
22246
+ "name": "body",
22247
+ "optional": true,
22248
+ "type": {
22249
+ "text": "string"
22429
22250
  }
22430
22251
  }
22431
22252
  ]
22432
22253
  },
22433
22254
  {
22434
22255
  "kind": "method",
22435
- "name": "add",
22256
+ "name": "processResponseByType",
22257
+ "privacy": "private",
22258
+ "static": true,
22259
+ "parameters": [
22260
+ {
22261
+ "name": "response",
22262
+ "type": {
22263
+ "text": "Response"
22264
+ }
22265
+ }
22266
+ ]
22267
+ }
22268
+ ]
22269
+ }
22270
+ ],
22271
+ "exports": [
22272
+ {
22273
+ "kind": "js",
22274
+ "name": "HTTPRequest",
22275
+ "declaration": {
22276
+ "name": "HTTPRequest",
22277
+ "module": "src/utils/HTTP/HTTPRequest.ts"
22278
+ }
22279
+ }
22280
+ ]
22281
+ },
22282
+ {
22283
+ "kind": "javascript-module",
22284
+ "path": "src/utils/HTTP/requestUtils.ts",
22285
+ "declarations": [
22286
+ {
22287
+ "kind": "class",
22288
+ "description": "",
22289
+ "name": "RequestUtils",
22290
+ "members": [
22291
+ {
22292
+ "kind": "field",
22293
+ "name": "CONTENT_TYPE",
22294
+ "type": {
22295
+ "text": "string"
22296
+ },
22297
+ "privacy": "public",
22298
+ "static": true,
22299
+ "default": "'Content-Type'"
22300
+ },
22301
+ {
22302
+ "kind": "method",
22303
+ "name": "temporarilyRemoveHeader",
22436
22304
  "privacy": "public",
22437
22305
  "static": true,
22438
22306
  "parameters": [
22439
22307
  {
22440
- "name": "element",
22308
+ "name": "requestSettings",
22441
22309
  "type": {
22442
- "text": "HTMLElement"
22310
+ "text": "Request | undefined"
22443
22311
  }
22444
22312
  },
22445
22313
  {
22446
- "name": "styles",
22314
+ "name": "request",
22447
22315
  "type": {
22448
- "text": "StatefulStyles"
22316
+ "text": "(stringifyBody?: boolean) => void"
22317
+ }
22318
+ },
22319
+ {
22320
+ "name": "stringifyBody",
22321
+ "type": {
22322
+ "text": "boolean"
22323
+ }
22324
+ }
22325
+ ]
22326
+ },
22327
+ {
22328
+ "kind": "method",
22329
+ "name": "displayError",
22330
+ "privacy": "public",
22331
+ "static": true,
22332
+ "parameters": [
22333
+ {
22334
+ "name": "messages",
22335
+ "type": {
22336
+ "text": "Messages"
22337
+ }
22338
+ },
22339
+ {
22340
+ "name": "err",
22341
+ "type": {
22342
+ "text": "object"
22449
22343
  }
22450
22344
  }
22451
22345
  ]
@@ -22456,111 +22350,124 @@
22456
22350
  "exports": [
22457
22351
  {
22458
22352
  "kind": "js",
22459
- "name": "StatefulEvents",
22353
+ "name": "RequestUtils",
22460
22354
  "declaration": {
22461
- "name": "StatefulEvents",
22462
- "module": "src/utils/element/statefulEvents.ts"
22355
+ "name": "RequestUtils",
22356
+ "module": "src/utils/HTTP/requestUtils.ts"
22463
22357
  }
22464
22358
  }
22465
22359
  ]
22466
22360
  },
22467
22361
  {
22468
22362
  "kind": "javascript-module",
22469
- "path": "src/utils/element/styleUtils.ts",
22363
+ "path": "src/utils/HTTP/websocket.ts",
22470
22364
  "declarations": [
22471
22365
  {
22472
22366
  "kind": "class",
22473
22367
  "description": "",
22474
- "name": "StyleUtils",
22368
+ "name": "Websocket",
22475
22369
  "members": [
22476
22370
  {
22477
22371
  "kind": "method",
22478
- "name": "unsetStyle",
22372
+ "name": "setup",
22479
22373
  "privacy": "public",
22480
22374
  "static": true,
22481
22375
  "parameters": [
22482
22376
  {
22483
- "name": "element",
22377
+ "name": "io",
22484
22378
  "type": {
22485
- "text": "HTMLElement"
22379
+ "text": "ServiceIO"
22486
22380
  }
22487
22381
  },
22488
22382
  {
22489
- "name": "style",
22383
+ "name": "websocketConfig",
22490
22384
  "type": {
22491
- "text": "CustomStyle"
22385
+ "text": "boolean | string | string[]"
22492
22386
  }
22493
22387
  }
22494
22388
  ]
22495
22389
  },
22496
22390
  {
22497
22391
  "kind": "method",
22498
- "name": "unsetActivityCSSMouseStates",
22392
+ "name": "connect",
22499
22393
  "privacy": "public",
22500
22394
  "static": true,
22501
22395
  "parameters": [
22502
22396
  {
22503
- "name": "element",
22397
+ "name": "url",
22398
+ "optional": true,
22504
22399
  "type": {
22505
- "text": "HTMLElement"
22400
+ "text": "string"
22506
22401
  }
22507
22402
  },
22508
22403
  {
22509
- "name": "statefulStyle",
22404
+ "name": "protocols",
22405
+ "optional": true,
22510
22406
  "type": {
22511
- "text": "StatefulStyles"
22407
+ "text": "string | string[]"
22512
22408
  }
22513
22409
  }
22514
22410
  ]
22515
22411
  },
22516
22412
  {
22517
22413
  "kind": "method",
22518
- "name": "unsetAllCSSMouseStates",
22414
+ "name": "assignListeners",
22519
22415
  "privacy": "public",
22520
22416
  "static": true,
22521
22417
  "parameters": [
22522
22418
  {
22523
- "name": "element",
22419
+ "name": "io",
22524
22420
  "type": {
22525
- "text": "HTMLElement"
22421
+ "text": "ServiceIO"
22526
22422
  }
22527
22423
  },
22528
22424
  {
22529
- "name": "statefulStyle",
22425
+ "name": "messages",
22530
22426
  "type": {
22531
- "text": "StatefulStyles"
22427
+ "text": "Messages"
22532
22428
  }
22533
22429
  }
22534
22430
  ]
22535
22431
  },
22536
22432
  {
22537
22433
  "kind": "method",
22538
- "name": "generateStateful",
22434
+ "name": "sendWebsocket",
22539
22435
  "privacy": "public",
22540
22436
  "static": true,
22541
- "return": {
22542
- "type": {
22543
- "text": "StatefulStyles"
22544
- }
22545
- },
22546
22437
  "parameters": [
22547
22438
  {
22548
- "name": "styles",
22439
+ "name": "ws",
22549
22440
  "type": {
22550
- "text": "StatefulStyles"
22441
+ "text": "WebSocket"
22551
22442
  }
22552
22443
  },
22553
22444
  {
22554
- "name": "defHover",
22445
+ "name": "io",
22555
22446
  "type": {
22556
- "text": "CustomStyle"
22447
+ "text": "ServiceIO"
22557
22448
  }
22558
22449
  },
22559
22450
  {
22560
- "name": "defClick",
22451
+ "name": "body",
22561
22452
  "type": {
22562
- "text": "CustomStyle"
22453
+ "text": "object"
22454
+ }
22455
+ },
22456
+ {
22457
+ "name": "messages",
22458
+ "type": {
22459
+ "text": "Messages"
22460
+ }
22461
+ },
22462
+ {
22463
+ "name": "onFinish",
22464
+ "type": {
22465
+ "text": "Finish"
22563
22466
  }
22467
+ },
22468
+ {
22469
+ "name": "stringifyBody",
22470
+ "default": "true"
22564
22471
  }
22565
22472
  ]
22566
22473
  }
@@ -22570,149 +22477,140 @@
22570
22477
  "exports": [
22571
22478
  {
22572
22479
  "kind": "js",
22573
- "name": "StyleUtils",
22480
+ "name": "Websocket",
22574
22481
  "declaration": {
22575
- "name": "StyleUtils",
22576
- "module": "src/utils/element/styleUtils.ts"
22482
+ "name": "Websocket",
22483
+ "module": "src/utils/HTTP/websocket.ts"
22577
22484
  }
22578
22485
  }
22579
22486
  ]
22580
22487
  },
22581
22488
  {
22582
22489
  "kind": "javascript-module",
22583
- "path": "src/utils/errorMessages/errorMessages.ts",
22490
+ "path": "src/utils/browser/browser.ts",
22584
22491
  "declarations": [
22585
22492
  {
22586
- "kind": "variable",
22587
- "name": "ErrorMessages",
22588
- "type": {
22589
- "text": "object"
22590
- },
22591
- "default": "{\n INVALID_KEY: 'Invalid API Key',\n CONNECTION_FAILED: 'Failed to connect',\n}"
22493
+ "kind": "class",
22494
+ "description": "",
22495
+ "name": "Browser",
22496
+ "members": [
22497
+ {
22498
+ "kind": "field",
22499
+ "name": "IS_SAFARI",
22500
+ "privacy": "public",
22501
+ "static": true
22502
+ },
22503
+ {
22504
+ "kind": "field",
22505
+ "name": "IS_CHROMIUM",
22506
+ "privacy": "public",
22507
+ "static": true
22508
+ }
22509
+ ]
22592
22510
  }
22593
22511
  ],
22594
22512
  "exports": [
22595
22513
  {
22596
22514
  "kind": "js",
22597
- "name": "ErrorMessages",
22515
+ "name": "Browser",
22598
22516
  "declaration": {
22599
- "name": "ErrorMessages",
22600
- "module": "src/utils/errorMessages/errorMessages.ts"
22517
+ "name": "Browser",
22518
+ "module": "src/utils/browser/browser.ts"
22601
22519
  }
22602
22520
  }
22603
22521
  ]
22604
22522
  },
22605
22523
  {
22606
22524
  "kind": "javascript-module",
22607
- "path": "src/utils/events/fireEvents.ts",
22525
+ "path": "src/utils/buttons/inputButtons.ts",
22608
22526
  "declarations": [
22609
22527
  {
22610
- "kind": "class",
22611
- "description": "",
22612
- "name": "FireEvents",
22613
- "members": [
22614
- {
22615
- "kind": "method",
22616
- "name": "onNewMessage",
22617
- "privacy": "public",
22618
- "static": true,
22619
- "parameters": [
22620
- {
22621
- "name": "deepChat",
22622
- "type": {
22623
- "text": "DeepChat"
22624
- }
22625
- },
22626
- {
22627
- "name": "message",
22628
- "type": {
22629
- "text": "MessageContent"
22630
- }
22631
- },
22632
- {
22633
- "name": "isInitial",
22634
- "type": {
22635
- "text": "boolean"
22636
- }
22637
- }
22638
- ]
22639
- },
22640
- {
22641
- "kind": "method",
22642
- "name": "onRender",
22643
- "privacy": "public",
22644
- "static": true,
22645
- "parameters": [
22646
- {
22647
- "name": "deepChat",
22648
- "type": {
22649
- "text": "DeepChat"
22650
- }
22651
- }
22652
- ]
22653
- }
22654
- ]
22528
+ "kind": "variable",
22529
+ "name": "BUTTON_ORDER",
22530
+ "type": {
22531
+ "text": "readonly BUTTON_TYPES[]"
22532
+ },
22533
+ "default": "[\n 'camera',\n 'gifs',\n 'images',\n 'audio',\n 'mixedFiles',\n 'submit',\n 'microphone',\n]"
22655
22534
  }
22656
22535
  ],
22657
22536
  "exports": [
22658
22537
  {
22659
22538
  "kind": "js",
22660
- "name": "FireEvents",
22539
+ "name": "BUTTON_ORDER",
22661
22540
  "declaration": {
22662
- "name": "FireEvents",
22663
- "module": "src/utils/events/fireEvents.ts"
22541
+ "name": "BUTTON_ORDER",
22542
+ "module": "src/utils/buttons/inputButtons.ts"
22664
22543
  }
22665
22544
  }
22666
22545
  ]
22667
22546
  },
22668
22547
  {
22669
22548
  "kind": "javascript-module",
22670
- "path": "src/utils/fileTypes/fileTypeButtonIcons.ts",
22549
+ "path": "src/utils/buttons/keyboardKeys.ts",
22550
+ "declarations": [],
22551
+ "exports": []
22552
+ },
22553
+ {
22554
+ "kind": "javascript-module",
22555
+ "path": "src/utils/decorators/property.ts",
22671
22556
  "declarations": [
22672
22557
  {
22673
- "kind": "variable",
22674
- "name": "FILE_TYPE_BUTTON_ICONS",
22675
- "type": {
22676
- "text": "ServiceFileTypes"
22677
- },
22678
- "default": "{\n images: {id: 'upload-images-icon', svgString: IMAGE_ICON_STRING, dropupText: 'Image'},\n gifs: {id: 'upload-gifs-icon', svgString: GIF_ICON_STRING, dropupText: 'GIF'},\n audio: {id: 'upload-audio-icon', svgString: AUDIO_ICON_STRING, dropupText: 'Audio'},\n mixedFiles: {id: 'upload-mixed-files-icon', svgString: MIXED_FILES_ICON_STRING, dropupText: 'File'},\n}"
22558
+ "kind": "function",
22559
+ "name": "Property",
22560
+ "parameters": [
22561
+ {
22562
+ "name": "type",
22563
+ "type": {
22564
+ "text": "AvailableTypes"
22565
+ }
22566
+ }
22567
+ ]
22679
22568
  }
22680
22569
  ],
22681
22570
  "exports": [
22682
22571
  {
22683
22572
  "kind": "js",
22684
- "name": "FILE_TYPE_BUTTON_ICONS",
22573
+ "name": "Property",
22685
22574
  "declaration": {
22686
- "name": "FILE_TYPE_BUTTON_ICONS",
22687
- "module": "src/utils/fileTypes/fileTypeButtonIcons.ts"
22575
+ "name": "Property",
22576
+ "module": "src/utils/decorators/property.ts"
22688
22577
  }
22689
22578
  }
22690
22579
  ]
22691
22580
  },
22692
22581
  {
22693
22582
  "kind": "javascript-module",
22694
- "path": "src/utils/svg/svgIconUtils.ts",
22583
+ "path": "src/utils/decorators/renderControl.ts",
22695
22584
  "declarations": [
22696
22585
  {
22697
22586
  "kind": "class",
22698
22587
  "description": "",
22699
- "name": "SVGIconUtils",
22588
+ "name": "RenderControl",
22700
22589
  "members": [
22701
22590
  {
22702
22591
  "kind": "method",
22703
- "name": "createSVGElement",
22704
- "privacy": "public",
22592
+ "name": "waitForPropertiesToBeUpdatedBeforeRender",
22593
+ "privacy": "private",
22705
22594
  "static": true,
22706
- "return": {
22707
- "type": {
22708
- "text": "SVGGraphicsElement"
22595
+ "parameters": [
22596
+ {
22597
+ "name": "deepChat",
22598
+ "type": {
22599
+ "text": "InternalHTML"
22600
+ }
22709
22601
  }
22710
- },
22602
+ ]
22603
+ },
22604
+ {
22605
+ "kind": "method",
22606
+ "name": "attemptRender",
22607
+ "privacy": "public",
22608
+ "static": true,
22711
22609
  "parameters": [
22712
22610
  {
22713
- "name": "svgString",
22611
+ "name": "deepChat",
22714
22612
  "type": {
22715
- "text": "string"
22613
+ "text": "InternalHTML"
22716
22614
  }
22717
22615
  }
22718
22616
  ]
@@ -22723,38 +22621,32 @@
22723
22621
  "exports": [
22724
22622
  {
22725
22623
  "kind": "js",
22726
- "name": "SVGIconUtils",
22624
+ "name": "RenderControl",
22727
22625
  "declaration": {
22728
- "name": "SVGIconUtils",
22729
- "module": "src/utils/svg/svgIconUtils.ts"
22626
+ "name": "RenderControl",
22627
+ "module": "src/utils/decorators/renderControl.ts"
22730
22628
  }
22731
22629
  }
22732
22630
  ]
22733
22631
  },
22734
22632
  {
22735
22633
  "kind": "javascript-module",
22736
- "path": "src/utils/webComponent/googleFont.ts",
22634
+ "path": "src/utils/decorators/typeConverters.ts",
22737
22635
  "declarations": [
22738
22636
  {
22739
22637
  "kind": "class",
22740
22638
  "description": "",
22741
- "name": "GoogleFont",
22639
+ "name": "TypeConverters",
22742
22640
  "members": [
22743
22641
  {
22744
22642
  "kind": "field",
22745
- "name": "FONT_URL",
22643
+ "name": "attibutes",
22746
22644
  "type": {
22747
- "text": "string"
22645
+ "text": "AttributeTypeConverters"
22748
22646
  },
22749
- "privacy": "private",
22750
- "static": true,
22751
- "default": "'https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap'"
22752
- },
22753
- {
22754
- "kind": "method",
22755
- "name": "appendStyleSheetToHead",
22756
22647
  "privacy": "public",
22757
- "static": true
22648
+ "static": true,
22649
+ "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) => eval(value),\n }"
22758
22650
  }
22759
22651
  ]
22760
22652
  }
@@ -22762,167 +22654,149 @@
22762
22654
  "exports": [
22763
22655
  {
22764
22656
  "kind": "js",
22765
- "name": "GoogleFont",
22657
+ "name": "TypeConverters",
22766
22658
  "declaration": {
22767
- "name": "GoogleFont",
22768
- "module": "src/utils/webComponent/googleFont.ts"
22659
+ "name": "TypeConverters",
22660
+ "module": "src/utils/decorators/typeConverters.ts"
22769
22661
  }
22770
22662
  }
22771
22663
  ]
22772
22664
  },
22773
22665
  {
22774
22666
  "kind": "javascript-module",
22775
- "path": "src/utils/webComponent/internalHTML.ts",
22667
+ "path": "src/utils/demo/demo.ts",
22776
22668
  "declarations": [
22777
22669
  {
22778
22670
  "kind": "class",
22779
22671
  "description": "",
22780
- "name": "InternalHTML",
22672
+ "name": "Demo",
22781
22673
  "members": [
22782
22674
  {
22783
22675
  "kind": "field",
22784
- "name": "_waitingToRender_",
22785
- "type": {
22786
- "text": "boolean"
22787
- },
22788
- "default": "false"
22789
- },
22790
- {
22791
- "kind": "field",
22792
- "name": "_propUpdated_",
22793
- "type": {
22794
- "text": "boolean"
22795
- },
22796
- "default": "false"
22797
- },
22798
- {
22799
- "kind": "field",
22800
- "name": "_attributes_",
22801
- "type": {
22802
- "text": "GenericObject<AttributeTypeConverter>"
22803
- },
22804
- "static": true,
22805
- "default": "{}"
22806
- },
22807
- {
22808
- "kind": "field",
22809
- "name": "_attributeToProperty_",
22676
+ "name": "URL",
22810
22677
  "type": {
22811
- "text": "GenericObject<string>"
22678
+ "text": "string"
22812
22679
  },
22680
+ "privacy": "public",
22813
22681
  "static": true,
22814
- "default": "{}"
22682
+ "default": "'deep-chat-demo'"
22815
22683
  },
22816
22684
  {
22817
22685
  "kind": "method",
22818
- "name": "constructPropertyAccessors",
22686
+ "name": "generateResponseForOneMessage",
22819
22687
  "privacy": "private",
22688
+ "static": true,
22820
22689
  "parameters": [
22821
22690
  {
22822
- "name": "propertyKey",
22823
- "type": {
22824
- "text": "string"
22825
- }
22826
- },
22827
- {
22828
- "name": "attributeName",
22829
- "optional": true,
22691
+ "name": "requestMessage",
22830
22692
  "type": {
22831
- "text": "string"
22693
+ "text": "MessageContent"
22832
22694
  }
22833
22695
  }
22834
22696
  ]
22835
22697
  },
22836
22698
  {
22837
22699
  "kind": "method",
22838
- "name": "onRender"
22839
- }
22840
- ],
22841
- "superclass": {
22842
- "name": "HTMLElement"
22843
- },
22844
- "customElement": true
22845
- }
22846
- ],
22847
- "exports": [
22848
- {
22849
- "kind": "js",
22850
- "name": "InternalHTML",
22851
- "declaration": {
22852
- "name": "InternalHTML",
22853
- "module": "src/utils/webComponent/internalHTML.ts"
22854
- }
22855
- }
22856
- ]
22857
- },
22858
- {
22859
- "kind": "javascript-module",
22860
- "path": "src/utils/webComponent/webComponentStyleUtils.ts",
22861
- "declarations": [
22862
- {
22863
- "kind": "class",
22864
- "description": "",
22865
- "name": "WebComponentStyleUtils",
22866
- "members": [
22867
- {
22868
- "kind": "method",
22869
- "name": "apply",
22870
- "privacy": "public",
22700
+ "name": "generateResponse",
22701
+ "privacy": "private",
22871
22702
  "static": true,
22872
22703
  "parameters": [
22873
22704
  {
22874
- "name": "style",
22875
- "type": {
22876
- "text": "string"
22877
- }
22878
- },
22879
- {
22880
- "name": "shadowRoot",
22705
+ "name": "messages",
22881
22706
  "type": {
22882
- "text": "ShadowRoot | null"
22707
+ "text": "Messages"
22883
22708
  }
22884
22709
  }
22885
22710
  ]
22886
22711
  },
22887
22712
  {
22888
22713
  "kind": "method",
22889
- "name": "applyStyleSheet",
22890
- "privacy": "private",
22714
+ "name": "request",
22715
+ "privacy": "public",
22891
22716
  "static": true,
22892
22717
  "parameters": [
22893
22718
  {
22894
- "name": "style",
22719
+ "name": "messages",
22895
22720
  "type": {
22896
- "text": "string"
22721
+ "text": "Messages"
22897
22722
  }
22898
22723
  },
22899
22724
  {
22900
- "name": "shadowRoot",
22725
+ "name": "onFinish",
22901
22726
  "type": {
22902
- "text": "ShadowRoot"
22727
+ "text": "Finish"
22728
+ }
22729
+ },
22730
+ {
22731
+ "name": "responseInterceptor",
22732
+ "optional": true,
22733
+ "type": {
22734
+ "text": "ResponseInterceptor"
22903
22735
  }
22904
22736
  }
22905
22737
  ]
22906
22738
  },
22907
22739
  {
22908
22740
  "kind": "method",
22909
- "name": "addStyleElement",
22910
- "privacy": "private",
22741
+ "name": "requestStream",
22742
+ "privacy": "public",
22911
22743
  "static": true,
22912
22744
  "parameters": [
22913
22745
  {
22914
- "name": "style",
22746
+ "name": "messages",
22915
22747
  "type": {
22916
- "text": "string"
22748
+ "text": "Messages"
22917
22749
  }
22918
22750
  },
22919
22751
  {
22920
- "name": "shadowRoot",
22752
+ "name": "onOpen",
22921
22753
  "type": {
22922
- "text": "ShadowRoot"
22754
+ "text": "() => void"
22755
+ }
22756
+ },
22757
+ {
22758
+ "name": "onClose",
22759
+ "type": {
22760
+ "text": "() => void"
22923
22761
  }
22924
22762
  }
22925
22763
  ]
22764
+ },
22765
+ {
22766
+ "kind": "method",
22767
+ "name": "populateMessages",
22768
+ "privacy": "private",
22769
+ "static": true,
22770
+ "parameters": [
22771
+ {
22772
+ "name": "textElement",
22773
+ "type": {
22774
+ "text": "HTMLElement"
22775
+ }
22776
+ },
22777
+ {
22778
+ "name": "responseText",
22779
+ "type": {
22780
+ "text": "string[]"
22781
+ }
22782
+ },
22783
+ {
22784
+ "name": "messages",
22785
+ "type": {
22786
+ "text": "Messages"
22787
+ }
22788
+ },
22789
+ {
22790
+ "name": "onClose",
22791
+ "type": {
22792
+ "text": "() => void"
22793
+ }
22794
+ },
22795
+ {
22796
+ "name": "wordIndex",
22797
+ "default": "0"
22798
+ }
22799
+ ]
22926
22800
  }
22927
22801
  ]
22928
22802
  }
@@ -22930,77 +22804,75 @@
22930
22804
  "exports": [
22931
22805
  {
22932
22806
  "kind": "js",
22933
- "name": "WebComponentStyleUtils",
22807
+ "name": "Demo",
22934
22808
  "declaration": {
22935
- "name": "WebComponentStyleUtils",
22936
- "module": "src/utils/webComponent/webComponentStyleUtils.ts"
22809
+ "name": "Demo",
22810
+ "module": "src/utils/demo/demo.ts"
22937
22811
  }
22938
22812
  }
22939
22813
  ]
22940
22814
  },
22941
22815
  {
22942
22816
  "kind": "javascript-module",
22943
- "path": "src/views/chat/chatView.ts",
22817
+ "path": "src/utils/element/elementUtils.ts",
22944
22818
  "declarations": [
22945
22819
  {
22946
22820
  "kind": "class",
22947
22821
  "description": "",
22948
- "name": "ChatView",
22822
+ "name": "ElementUtils",
22949
22823
  "members": [
22950
22824
  {
22951
- "kind": "method",
22952
- "name": "createElements",
22825
+ "kind": "field",
22826
+ "name": "CODE_SNIPPET_GENERATION_JUMP",
22827
+ "type": {
22828
+ "text": "number"
22829
+ },
22953
22830
  "privacy": "private",
22954
22831
  "static": true,
22832
+ "default": "0.5"
22833
+ },
22834
+ {
22835
+ "kind": "method",
22836
+ "name": "addElements",
22837
+ "privacy": "public",
22838
+ "static": true,
22955
22839
  "parameters": [
22956
22840
  {
22957
- "name": "deepChat",
22958
- "type": {
22959
- "text": "DeepChat"
22960
- }
22961
- },
22962
- {
22963
- "name": "serviceIO",
22841
+ "name": "parent",
22964
22842
  "type": {
22965
- "text": "ServiceIO"
22843
+ "text": "HTMLElement"
22966
22844
  }
22967
22845
  },
22968
22846
  {
22969
- "name": "panel",
22970
- "optional": true,
22847
+ "name": "elements",
22971
22848
  "type": {
22972
- "text": "HTMLElement"
22849
+ "text": "HTMLElement[]"
22973
22850
  }
22974
22851
  }
22975
22852
  ]
22976
22853
  },
22977
22854
  {
22978
22855
  "kind": "method",
22979
- "name": "render",
22856
+ "name": "isScrollbarAtBottomOfElement",
22980
22857
  "privacy": "public",
22981
22858
  "static": true,
22982
22859
  "parameters": [
22983
22860
  {
22984
- "name": "deepChat",
22985
- "type": {
22986
- "text": "DeepChat"
22987
- }
22988
- },
22989
- {
22990
- "name": "containerRef",
22861
+ "name": "element",
22991
22862
  "type": {
22992
22863
  "text": "HTMLElement"
22993
22864
  }
22994
- },
22995
- {
22996
- "name": "serviceIO",
22997
- "type": {
22998
- "text": "ServiceIO"
22999
- }
23000
- },
22865
+ }
22866
+ ]
22867
+ },
22868
+ {
22869
+ "kind": "method",
22870
+ "name": "cloneElement",
22871
+ "privacy": "public",
22872
+ "static": true,
22873
+ "parameters": [
23001
22874
  {
23002
- "name": "panel",
23003
- "optional": true,
22875
+ "name": "element",
23004
22876
  "type": {
23005
22877
  "text": "HTMLElement"
23006
22878
  }
@@ -23013,320 +22885,410 @@
23013
22885
  "exports": [
23014
22886
  {
23015
22887
  "kind": "js",
23016
- "name": "ChatView",
22888
+ "name": "ElementUtils",
23017
22889
  "declaration": {
23018
- "name": "ChatView",
23019
- "module": "src/views/chat/chatView.ts"
22890
+ "name": "ElementUtils",
22891
+ "module": "src/utils/element/elementUtils.ts"
23020
22892
  }
23021
22893
  }
23022
22894
  ]
23023
22895
  },
23024
22896
  {
23025
22897
  "kind": "javascript-module",
23026
- "path": "src/views/error/errorView.ts",
22898
+ "path": "src/utils/element/imageUtils.ts",
23027
22899
  "declarations": [
23028
22900
  {
23029
- "kind": "class",
23030
- "description": "",
23031
- "name": "ErrorView",
23032
- "members": [
23033
- {
23034
- "kind": "method",
23035
- "name": "render",
23036
- "privacy": "public",
23037
- "static": true,
23038
- "parameters": [
23039
- {
23040
- "name": "containerElement",
23041
- "type": {
23042
- "text": "HTMLElement"
23043
- }
23044
- },
23045
- {
23046
- "name": "text",
23047
- "type": {
23048
- "text": "string"
23049
- }
23050
- }
23051
- ]
23052
- }
23053
- ]
22901
+ "kind": "variable",
22902
+ "name": "BASE_64_PREFIX",
22903
+ "type": {
22904
+ "text": "string"
22905
+ },
22906
+ "default": "'data:image/png;base64,'"
23054
22907
  }
23055
22908
  ],
23056
22909
  "exports": [
23057
22910
  {
23058
22911
  "kind": "js",
23059
- "name": "ErrorView",
22912
+ "name": "BASE_64_PREFIX",
23060
22913
  "declaration": {
23061
- "name": "ErrorView",
23062
- "module": "src/views/error/errorView.ts"
22914
+ "name": "BASE_64_PREFIX",
22915
+ "module": "src/utils/element/imageUtils.ts"
23063
22916
  }
23064
22917
  }
23065
22918
  ]
23066
22919
  },
23067
22920
  {
23068
22921
  "kind": "javascript-module",
23069
- "path": "src/views/insertKey/insertKeyView.ts",
22922
+ "path": "src/utils/element/statefulEvents.ts",
23070
22923
  "declarations": [
23071
22924
  {
23072
22925
  "kind": "class",
23073
22926
  "description": "",
23074
- "name": "InsertKeyView",
22927
+ "name": "StatefulEvents",
23075
22928
  "members": [
23076
22929
  {
23077
22930
  "kind": "method",
23078
- "name": "createCautionText",
23079
- "privacy": "private",
23080
- "static": true
23081
- },
23082
- {
23083
- "kind": "method",
23084
- "name": "createHelpLink",
22931
+ "name": "mouseUp",
23085
22932
  "privacy": "private",
23086
22933
  "static": true,
23087
22934
  "parameters": [
23088
22935
  {
23089
- "name": "link",
22936
+ "name": "styles",
23090
22937
  "type": {
23091
- "text": "string"
22938
+ "text": "StatefulStyles"
23092
22939
  }
23093
- }
23094
- ]
23095
- },
23096
- {
23097
- "kind": "method",
23098
- "name": "createFailText",
23099
- "privacy": "private",
23100
- "static": true
23101
- },
23102
- {
23103
- "kind": "method",
23104
- "name": "createHelpTextContainer",
23105
- "privacy": "private",
23106
- "static": true,
23107
- "parameters": [
22940
+ },
23108
22941
  {
23109
- "name": "link",
23110
- "optional": true,
22942
+ "name": "event",
23111
22943
  "type": {
23112
- "text": "string"
22944
+ "text": "MouseEvent"
23113
22945
  }
23114
22946
  }
23115
22947
  ]
23116
22948
  },
23117
22949
  {
23118
22950
  "kind": "method",
23119
- "name": "onFail",
22951
+ "name": "mouseDown",
23120
22952
  "privacy": "private",
23121
22953
  "static": true,
23122
22954
  "parameters": [
23123
22955
  {
23124
- "name": "inputEl",
23125
- "type": {
23126
- "text": "HTMLInputElement"
23127
- }
23128
- },
23129
- {
23130
- "name": "startEl",
23131
- "type": {
23132
- "text": "HTMLElement"
23133
- }
23134
- },
23135
- {
23136
- "name": "failTextEl",
22956
+ "name": "styles",
23137
22957
  "type": {
23138
- "text": "HTMLElement"
22958
+ "text": "StatefulStyles"
23139
22959
  }
23140
22960
  },
23141
22961
  {
23142
- "name": "message",
22962
+ "name": "event",
23143
22963
  "type": {
23144
- "text": "string"
22964
+ "text": "MouseEvent"
23145
22965
  }
23146
22966
  }
23147
22967
  ]
23148
22968
  },
23149
22969
  {
23150
22970
  "kind": "method",
23151
- "name": "onLoad",
22971
+ "name": "mouseLeave",
23152
22972
  "privacy": "private",
23153
22973
  "static": true,
23154
22974
  "parameters": [
23155
22975
  {
23156
- "name": "inputEl",
22976
+ "name": "styles",
23157
22977
  "type": {
23158
- "text": "HTMLInputElement"
22978
+ "text": "StatefulStyles"
23159
22979
  }
23160
22980
  },
23161
22981
  {
23162
- "name": "startEl",
22982
+ "name": "event",
23163
22983
  "type": {
23164
- "text": "HTMLElement"
22984
+ "text": "MouseEvent"
23165
22985
  }
23166
22986
  }
23167
22987
  ]
23168
22988
  },
23169
22989
  {
23170
22990
  "kind": "method",
23171
- "name": "verifyKey",
22991
+ "name": "mouseEnter",
23172
22992
  "privacy": "private",
23173
22993
  "static": true,
23174
22994
  "parameters": [
23175
22995
  {
23176
- "name": "inputElement",
23177
- "type": {
23178
- "text": "HTMLInputElement"
23179
- }
23180
- },
23181
- {
23182
- "name": "keyVerificationHandlers",
22996
+ "name": "styles",
23183
22997
  "type": {
23184
- "text": "KeyVerificationHandlers"
22998
+ "text": "StatefulStyles"
23185
22999
  }
23186
23000
  },
23187
23001
  {
23188
- "name": "serviceIO",
23002
+ "name": "event",
23189
23003
  "type": {
23190
- "text": "ServiceIO"
23004
+ "text": "MouseEvent"
23191
23005
  }
23192
23006
  }
23193
23007
  ]
23194
23008
  },
23195
23009
  {
23196
23010
  "kind": "method",
23197
- "name": "addVerificationEvents",
23198
- "privacy": "private",
23011
+ "name": "add",
23012
+ "privacy": "public",
23199
23013
  "static": true,
23200
23014
  "parameters": [
23201
23015
  {
23202
- "name": "inputEl",
23203
- "type": {
23204
- "text": "HTMLInputElement"
23205
- }
23206
- },
23207
- {
23208
- "name": "startEl",
23016
+ "name": "element",
23209
23017
  "type": {
23210
23018
  "text": "HTMLElement"
23211
23019
  }
23212
23020
  },
23213
23021
  {
23214
- "name": "failTextEl",
23022
+ "name": "styles",
23215
23023
  "type": {
23216
- "text": "HTMLElement"
23024
+ "text": "StatefulStyles"
23217
23025
  }
23218
- },
23026
+ }
23027
+ ]
23028
+ }
23029
+ ]
23030
+ }
23031
+ ],
23032
+ "exports": [
23033
+ {
23034
+ "kind": "js",
23035
+ "name": "StatefulEvents",
23036
+ "declaration": {
23037
+ "name": "StatefulEvents",
23038
+ "module": "src/utils/element/statefulEvents.ts"
23039
+ }
23040
+ }
23041
+ ]
23042
+ },
23043
+ {
23044
+ "kind": "javascript-module",
23045
+ "path": "src/utils/element/styleUtils.ts",
23046
+ "declarations": [
23047
+ {
23048
+ "kind": "class",
23049
+ "description": "",
23050
+ "name": "StyleUtils",
23051
+ "members": [
23052
+ {
23053
+ "kind": "method",
23054
+ "name": "unsetStyle",
23055
+ "privacy": "public",
23056
+ "static": true,
23057
+ "parameters": [
23219
23058
  {
23220
- "name": "changeToChat",
23059
+ "name": "element",
23221
23060
  "type": {
23222
- "text": "() => void"
23061
+ "text": "HTMLElement"
23223
23062
  }
23224
23063
  },
23225
23064
  {
23226
- "name": "serviceIO",
23065
+ "name": "style",
23227
23066
  "type": {
23228
- "text": "ServiceIO"
23067
+ "text": "CustomStyle"
23229
23068
  }
23230
23069
  }
23231
23070
  ]
23232
23071
  },
23233
23072
  {
23234
23073
  "kind": "method",
23235
- "name": "createStartButton",
23236
- "privacy": "private",
23237
- "static": true
23238
- },
23239
- {
23240
- "kind": "method",
23241
- "name": "onInputFocus",
23242
- "privacy": "private",
23074
+ "name": "unsetActivityCSSMouseStates",
23075
+ "privacy": "public",
23243
23076
  "static": true,
23244
23077
  "parameters": [
23245
23078
  {
23246
- "name": "event",
23079
+ "name": "element",
23247
23080
  "type": {
23248
- "text": "FocusEvent"
23081
+ "text": "HTMLElement"
23082
+ }
23083
+ },
23084
+ {
23085
+ "name": "statefulStyle",
23086
+ "type": {
23087
+ "text": "StatefulStyles"
23249
23088
  }
23250
23089
  }
23251
23090
  ]
23252
23091
  },
23253
23092
  {
23254
23093
  "kind": "method",
23255
- "name": "createInput",
23256
- "privacy": "private",
23094
+ "name": "unsetAllCSSMouseStates",
23095
+ "privacy": "public",
23257
23096
  "static": true,
23258
23097
  "parameters": [
23259
23098
  {
23260
- "name": "placeholderText",
23261
- "optional": true,
23099
+ "name": "element",
23262
23100
  "type": {
23263
- "text": "string"
23101
+ "text": "HTMLElement"
23102
+ }
23103
+ },
23104
+ {
23105
+ "name": "statefulStyle",
23106
+ "type": {
23107
+ "text": "StatefulStyles"
23264
23108
  }
23265
23109
  }
23266
23110
  ]
23267
23111
  },
23268
23112
  {
23269
23113
  "kind": "method",
23270
- "name": "createContents",
23271
- "privacy": "private",
23114
+ "name": "generateStateful",
23115
+ "privacy": "public",
23272
23116
  "static": true,
23117
+ "return": {
23118
+ "type": {
23119
+ "text": "StatefulStyles"
23120
+ }
23121
+ },
23273
23122
  "parameters": [
23274
23123
  {
23275
- "name": "changeToChat",
23124
+ "name": "styles",
23276
23125
  "type": {
23277
- "text": "() => void"
23126
+ "text": "StatefulStyles"
23278
23127
  }
23279
23128
  },
23280
23129
  {
23281
- "name": "serviceIO",
23130
+ "name": "defHover",
23282
23131
  "type": {
23283
- "text": "ServiceIO"
23132
+ "text": "CustomStyle"
23133
+ }
23134
+ },
23135
+ {
23136
+ "name": "defClick",
23137
+ "type": {
23138
+ "text": "CustomStyle"
23284
23139
  }
23285
23140
  }
23286
23141
  ]
23287
- },
23142
+ }
23143
+ ]
23144
+ }
23145
+ ],
23146
+ "exports": [
23147
+ {
23148
+ "kind": "js",
23149
+ "name": "StyleUtils",
23150
+ "declaration": {
23151
+ "name": "StyleUtils",
23152
+ "module": "src/utils/element/styleUtils.ts"
23153
+ }
23154
+ }
23155
+ ]
23156
+ },
23157
+ {
23158
+ "kind": "javascript-module",
23159
+ "path": "src/utils/errorMessages/errorMessages.ts",
23160
+ "declarations": [
23161
+ {
23162
+ "kind": "variable",
23163
+ "name": "ErrorMessages",
23164
+ "type": {
23165
+ "text": "object"
23166
+ },
23167
+ "default": "{\n INVALID_KEY: 'Invalid API Key',\n CONNECTION_FAILED: 'Failed to connect',\n}"
23168
+ }
23169
+ ],
23170
+ "exports": [
23171
+ {
23172
+ "kind": "js",
23173
+ "name": "ErrorMessages",
23174
+ "declaration": {
23175
+ "name": "ErrorMessages",
23176
+ "module": "src/utils/errorMessages/errorMessages.ts"
23177
+ }
23178
+ }
23179
+ ]
23180
+ },
23181
+ {
23182
+ "kind": "javascript-module",
23183
+ "path": "src/utils/events/fireEvents.ts",
23184
+ "declarations": [
23185
+ {
23186
+ "kind": "class",
23187
+ "description": "",
23188
+ "name": "FireEvents",
23189
+ "members": [
23288
23190
  {
23289
23191
  "kind": "method",
23290
- "name": "createElements",
23291
- "privacy": "private",
23192
+ "name": "onNewMessage",
23193
+ "privacy": "public",
23292
23194
  "static": true,
23293
23195
  "parameters": [
23294
23196
  {
23295
- "name": "changeToChat",
23197
+ "name": "deepChat",
23296
23198
  "type": {
23297
- "text": "() => void"
23199
+ "text": "DeepChat"
23298
23200
  }
23299
23201
  },
23300
23202
  {
23301
- "name": "serviceIO",
23203
+ "name": "message",
23302
23204
  "type": {
23303
- "text": "ServiceIO"
23205
+ "text": "MessageContent"
23206
+ }
23207
+ },
23208
+ {
23209
+ "name": "isInitial",
23210
+ "type": {
23211
+ "text": "boolean"
23304
23212
  }
23305
23213
  }
23306
23214
  ]
23307
23215
  },
23308
23216
  {
23309
23217
  "kind": "method",
23310
- "name": "render",
23218
+ "name": "onRender",
23311
23219
  "privacy": "public",
23312
23220
  "static": true,
23313
23221
  "parameters": [
23314
23222
  {
23315
- "name": "containerRef",
23316
- "type": {
23317
- "text": "HTMLElement"
23318
- }
23319
- },
23320
- {
23321
- "name": "changeToChat",
23223
+ "name": "deepChat",
23322
23224
  "type": {
23323
- "text": "() => void"
23225
+ "text": "DeepChat"
23324
23226
  }
23325
- },
23227
+ }
23228
+ ]
23229
+ }
23230
+ ]
23231
+ }
23232
+ ],
23233
+ "exports": [
23234
+ {
23235
+ "kind": "js",
23236
+ "name": "FireEvents",
23237
+ "declaration": {
23238
+ "name": "FireEvents",
23239
+ "module": "src/utils/events/fireEvents.ts"
23240
+ }
23241
+ }
23242
+ ]
23243
+ },
23244
+ {
23245
+ "kind": "javascript-module",
23246
+ "path": "src/utils/fileTypes/fileTypeButtonIcons.ts",
23247
+ "declarations": [
23248
+ {
23249
+ "kind": "variable",
23250
+ "name": "FILE_TYPE_BUTTON_ICONS",
23251
+ "type": {
23252
+ "text": "ServiceFileTypes"
23253
+ },
23254
+ "default": "{\n images: {id: 'upload-images-icon', svgString: IMAGE_ICON_STRING, dropupText: 'Image'},\n gifs: {id: 'upload-gifs-icon', svgString: GIF_ICON_STRING, dropupText: 'GIF'},\n audio: {id: 'upload-audio-icon', svgString: AUDIO_ICON_STRING, dropupText: 'Audio'},\n mixedFiles: {id: 'upload-mixed-files-icon', svgString: MIXED_FILES_ICON_STRING, dropupText: 'File'},\n}"
23255
+ }
23256
+ ],
23257
+ "exports": [
23258
+ {
23259
+ "kind": "js",
23260
+ "name": "FILE_TYPE_BUTTON_ICONS",
23261
+ "declaration": {
23262
+ "name": "FILE_TYPE_BUTTON_ICONS",
23263
+ "module": "src/utils/fileTypes/fileTypeButtonIcons.ts"
23264
+ }
23265
+ }
23266
+ ]
23267
+ },
23268
+ {
23269
+ "kind": "javascript-module",
23270
+ "path": "src/utils/svg/svgIconUtils.ts",
23271
+ "declarations": [
23272
+ {
23273
+ "kind": "class",
23274
+ "description": "",
23275
+ "name": "SVGIconUtils",
23276
+ "members": [
23277
+ {
23278
+ "kind": "method",
23279
+ "name": "createSVGElement",
23280
+ "privacy": "public",
23281
+ "static": true,
23282
+ "return": {
23283
+ "type": {
23284
+ "text": "SVGGraphicsElement"
23285
+ }
23286
+ },
23287
+ "parameters": [
23326
23288
  {
23327
- "name": "serviceIO",
23289
+ "name": "svgString",
23328
23290
  "type": {
23329
- "text": "ServiceIO"
23291
+ "text": "string"
23330
23292
  }
23331
23293
  }
23332
23294
  ]
@@ -23337,79 +23299,110 @@
23337
23299
  "exports": [
23338
23300
  {
23339
23301
  "kind": "js",
23340
- "name": "InsertKeyView",
23302
+ "name": "SVGIconUtils",
23341
23303
  "declaration": {
23342
- "name": "InsertKeyView",
23343
- "module": "src/views/insertKey/insertKeyView.ts"
23304
+ "name": "SVGIconUtils",
23305
+ "module": "src/utils/svg/svgIconUtils.ts"
23344
23306
  }
23345
23307
  }
23346
23308
  ]
23347
23309
  },
23348
23310
  {
23349
23311
  "kind": "javascript-module",
23350
- "path": "src/views/insertKey/visibilityIcon.ts",
23312
+ "path": "src/utils/webComponent/googleFont.ts",
23351
23313
  "declarations": [
23352
23314
  {
23353
23315
  "kind": "class",
23354
23316
  "description": "",
23355
- "name": "VisibilityIcon",
23317
+ "name": "GoogleFont",
23356
23318
  "members": [
23357
23319
  {
23358
23320
  "kind": "field",
23359
- "name": "VISIBLE_ICON_ID",
23321
+ "name": "FONT_URL",
23360
23322
  "type": {
23361
23323
  "text": "string"
23362
23324
  },
23363
23325
  "privacy": "private",
23364
23326
  "static": true,
23365
- "default": "'visible-icon'"
23327
+ "default": "'https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap'"
23366
23328
  },
23367
23329
  {
23368
23330
  "kind": "method",
23369
- "name": "changeVisibility",
23370
- "privacy": "private",
23331
+ "name": "appendStyleSheetToHead",
23332
+ "privacy": "public",
23333
+ "static": true
23334
+ }
23335
+ ]
23336
+ }
23337
+ ],
23338
+ "exports": [
23339
+ {
23340
+ "kind": "js",
23341
+ "name": "GoogleFont",
23342
+ "declaration": {
23343
+ "name": "GoogleFont",
23344
+ "module": "src/utils/webComponent/googleFont.ts"
23345
+ }
23346
+ }
23347
+ ]
23348
+ },
23349
+ {
23350
+ "kind": "javascript-module",
23351
+ "path": "src/utils/webComponent/internalHTML.ts",
23352
+ "declarations": [
23353
+ {
23354
+ "kind": "class",
23355
+ "description": "",
23356
+ "name": "InternalHTML",
23357
+ "members": [
23358
+ {
23359
+ "kind": "field",
23360
+ "name": "_waitingToRender_",
23361
+ "type": {
23362
+ "text": "boolean"
23363
+ },
23364
+ "default": "false"
23365
+ },
23366
+ {
23367
+ "kind": "field",
23368
+ "name": "_propUpdated_",
23369
+ "type": {
23370
+ "text": "boolean"
23371
+ },
23372
+ "default": "false"
23373
+ },
23374
+ {
23375
+ "kind": "field",
23376
+ "name": "_attributes_",
23377
+ "type": {
23378
+ "text": "GenericObject<AttributeTypeConverter>"
23379
+ },
23371
23380
  "static": true,
23372
- "parameters": [
23373
- {
23374
- "name": "inputElement",
23375
- "type": {
23376
- "text": "HTMLInputElement"
23377
- }
23378
- },
23379
- {
23380
- "name": "visibleIcon",
23381
- "type": {
23382
- "text": "SVGGraphicsElement"
23383
- }
23384
- },
23385
- {
23386
- "name": "notVisibleIcon",
23387
- "type": {
23388
- "text": "SVGGraphicsElement"
23389
- }
23390
- },
23391
- {
23392
- "name": "event",
23393
- "type": {
23394
- "text": "MouseEvent"
23395
- }
23396
- }
23397
- ]
23381
+ "default": "{}"
23382
+ },
23383
+ {
23384
+ "kind": "field",
23385
+ "name": "_attributeToProperty_",
23386
+ "type": {
23387
+ "text": "GenericObject<string>"
23388
+ },
23389
+ "static": true,
23390
+ "default": "{}"
23398
23391
  },
23399
23392
  {
23400
23393
  "kind": "method",
23401
- "name": "createIconElement",
23394
+ "name": "constructPropertyAccessors",
23402
23395
  "privacy": "private",
23403
- "static": true,
23404
23396
  "parameters": [
23405
23397
  {
23406
- "name": "iconString",
23398
+ "name": "propertyKey",
23407
23399
  "type": {
23408
23400
  "text": "string"
23409
23401
  }
23410
23402
  },
23411
23403
  {
23412
- "name": "id",
23404
+ "name": "attributeName",
23405
+ "optional": true,
23413
23406
  "type": {
23414
23407
  "text": "string"
23415
23408
  }
@@ -23418,83 +23411,91 @@
23418
23411
  },
23419
23412
  {
23420
23413
  "kind": "method",
23421
- "name": "create",
23422
- "privacy": "public",
23423
- "static": true,
23424
- "parameters": [
23425
- {
23426
- "name": "inputElement",
23427
- "type": {
23428
- "text": "HTMLInputElement"
23429
- }
23430
- }
23431
- ]
23414
+ "name": "onRender"
23432
23415
  }
23433
- ]
23416
+ ],
23417
+ "superclass": {
23418
+ "name": "HTMLElement"
23419
+ },
23420
+ "customElement": true
23434
23421
  }
23435
23422
  ],
23436
23423
  "exports": [
23437
23424
  {
23438
23425
  "kind": "js",
23439
- "name": "VisibilityIcon",
23426
+ "name": "InternalHTML",
23440
23427
  "declaration": {
23441
- "name": "VisibilityIcon",
23442
- "module": "src/views/insertKey/visibilityIcon.ts"
23428
+ "name": "InternalHTML",
23429
+ "module": "src/utils/webComponent/internalHTML.ts"
23443
23430
  }
23444
23431
  }
23445
23432
  ]
23446
23433
  },
23447
23434
  {
23448
23435
  "kind": "javascript-module",
23449
- "path": "src/views/validateKeyProperty/validateKeyPropertyView.ts",
23436
+ "path": "src/utils/webComponent/webComponentStyleUtils.ts",
23450
23437
  "declarations": [
23451
23438
  {
23452
23439
  "kind": "class",
23453
23440
  "description": "",
23454
- "name": "ValidateKeyPropertyView",
23441
+ "name": "WebComponentStyleUtils",
23455
23442
  "members": [
23456
23443
  {
23457
23444
  "kind": "method",
23458
- "name": "onLoad",
23459
- "privacy": "private",
23445
+ "name": "apply",
23446
+ "privacy": "public",
23460
23447
  "static": true,
23461
23448
  "parameters": [
23462
23449
  {
23463
- "name": "startElement",
23450
+ "name": "style",
23464
23451
  "type": {
23465
- "text": "HTMLElement"
23452
+ "text": "string"
23453
+ }
23454
+ },
23455
+ {
23456
+ "name": "shadowRoot",
23457
+ "type": {
23458
+ "text": "ShadowRoot | null"
23466
23459
  }
23467
23460
  }
23468
23461
  ]
23469
23462
  },
23470
23463
  {
23471
23464
  "kind": "method",
23472
- "name": "createElements",
23465
+ "name": "applyStyleSheet",
23473
23466
  "privacy": "private",
23474
- "static": true
23475
- },
23476
- {
23477
- "kind": "method",
23478
- "name": "render",
23479
- "privacy": "public",
23480
23467
  "static": true,
23481
23468
  "parameters": [
23482
23469
  {
23483
- "name": "containerRef",
23470
+ "name": "style",
23484
23471
  "type": {
23485
- "text": "HTMLElement"
23472
+ "text": "string"
23486
23473
  }
23487
23474
  },
23488
23475
  {
23489
- "name": "changeToChat",
23476
+ "name": "shadowRoot",
23490
23477
  "type": {
23491
- "text": "() => void"
23478
+ "text": "ShadowRoot"
23479
+ }
23480
+ }
23481
+ ]
23482
+ },
23483
+ {
23484
+ "kind": "method",
23485
+ "name": "addStyleElement",
23486
+ "privacy": "private",
23487
+ "static": true,
23488
+ "parameters": [
23489
+ {
23490
+ "name": "style",
23491
+ "type": {
23492
+ "text": "string"
23492
23493
  }
23493
23494
  },
23494
23495
  {
23495
- "name": "serviceIO",
23496
+ "name": "shadowRoot",
23496
23497
  "type": {
23497
- "text": "ServiceIO"
23498
+ "text": "ShadowRoot"
23498
23499
  }
23499
23500
  }
23500
23501
  ]
@@ -23505,10 +23506,10 @@
23505
23506
  "exports": [
23506
23507
  {
23507
23508
  "kind": "js",
23508
- "name": "ValidateKeyPropertyView",
23509
+ "name": "WebComponentStyleUtils",
23509
23510
  "declaration": {
23510
- "name": "ValidateKeyPropertyView",
23511
- "module": "src/views/validateKeyProperty/validateKeyPropertyView.ts"
23511
+ "name": "WebComponentStyleUtils",
23512
+ "module": "src/utils/webComponent/webComponentStyleUtils.ts"
23512
23513
  }
23513
23514
  }
23514
23515
  ]
@@ -27060,35 +27061,6 @@
27060
27061
  }
27061
27062
  ]
27062
27063
  },
27063
- {
27064
- "kind": "javascript-module",
27065
- "path": "src/views/chat/messages/remarkable/remarkableConfig.ts",
27066
- "declarations": [
27067
- {
27068
- "kind": "class",
27069
- "description": "",
27070
- "name": "RemarkableConfig",
27071
- "members": [
27072
- {
27073
- "kind": "method",
27074
- "name": "createNew",
27075
- "privacy": "public",
27076
- "static": true
27077
- }
27078
- ]
27079
- }
27080
- ],
27081
- "exports": [
27082
- {
27083
- "kind": "js",
27084
- "name": "RemarkableConfig",
27085
- "declaration": {
27086
- "name": "RemarkableConfig",
27087
- "module": "src/views/chat/messages/remarkable/remarkableConfig.ts"
27088
- }
27089
- }
27090
- ]
27091
- },
27092
27064
  {
27093
27065
  "kind": "javascript-module",
27094
27066
  "path": "src/views/chat/input/dropup/dropup.ts",
@@ -27851,6 +27823,35 @@
27851
27823
  }
27852
27824
  ]
27853
27825
  },
27826
+ {
27827
+ "kind": "javascript-module",
27828
+ "path": "src/views/chat/messages/remarkable/remarkableConfig.ts",
27829
+ "declarations": [
27830
+ {
27831
+ "kind": "class",
27832
+ "description": "",
27833
+ "name": "RemarkableConfig",
27834
+ "members": [
27835
+ {
27836
+ "kind": "method",
27837
+ "name": "createNew",
27838
+ "privacy": "public",
27839
+ "static": true
27840
+ }
27841
+ ]
27842
+ }
27843
+ ],
27844
+ "exports": [
27845
+ {
27846
+ "kind": "js",
27847
+ "name": "RemarkableConfig",
27848
+ "declaration": {
27849
+ "name": "RemarkableConfig",
27850
+ "module": "src/views/chat/messages/remarkable/remarkableConfig.ts"
27851
+ }
27852
+ }
27853
+ ]
27854
+ },
27854
27855
  {
27855
27856
  "kind": "javascript-module",
27856
27857
  "path": "src/views/chat/input/buttons/camera/cameraButton.ts",