deep-chat-dev 1.1.38 → 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.
@@ -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",
@@ -1704,104 +1719,20 @@
1704
1719
  },
1705
1720
  {
1706
1721
  "kind": "javascript-module",
1707
- "path": "src/services/cohere/cohereChatIO.ts",
1722
+ "path": "src/services/azure/azureLanguageIO.ts",
1708
1723
  "declarations": [
1709
1724
  {
1710
1725
  "kind": "class",
1711
1726
  "description": "",
1712
- "name": "CohereChatIO",
1727
+ "name": "AzureLanguageIO",
1713
1728
  "members": [
1714
- {
1715
- "kind": "field",
1716
- "name": "username",
1717
- "type": {
1718
- "text": "string"
1719
- },
1720
- "privacy": "private",
1721
- "default": "'USER'"
1722
- },
1723
- {
1724
- "kind": "method",
1725
- "name": "cleanConfig",
1726
- "privacy": "private",
1727
- "parameters": [
1728
- {
1729
- "name": "config",
1730
- "type": {
1731
- "text": "CohereChatConfig"
1732
- }
1733
- }
1734
- ]
1735
- },
1736
- {
1737
- "kind": "method",
1738
- "name": "preprocessBody",
1739
- "privacy": "private",
1740
- "parameters": [
1741
- {
1742
- "name": "body",
1743
- "type": {
1744
- "text": "CohereChatConfig"
1745
- }
1746
- },
1747
- {
1748
- "name": "pMessages",
1749
- "type": {
1750
- "text": "MessageContent[]"
1751
- }
1752
- }
1753
- ]
1754
- },
1755
- {
1756
- "kind": "method",
1757
- "name": "callServiceAPI",
1758
- "parameters": [
1759
- {
1760
- "name": "messages",
1761
- "type": {
1762
- "text": "Messages"
1763
- }
1764
- },
1765
- {
1766
- "name": "pMessages",
1767
- "type": {
1768
- "text": "MessageContent[]"
1769
- }
1770
- }
1771
- ],
1772
- "inheritedFrom": {
1773
- "name": "BaseServiceIO",
1774
- "module": "src/services/utils/baseServiceIO.ts"
1775
- }
1776
- },
1777
- {
1778
- "kind": "method",
1779
- "name": "extractResultData",
1780
- "return": {
1781
- "type": {
1782
- "text": "Promise<Result>"
1783
- }
1784
- },
1785
- "parameters": [
1786
- {
1787
- "name": "result",
1788
- "type": {
1789
- "text": "CohereChatResult"
1790
- }
1791
- }
1792
- ],
1793
- "inheritedFrom": {
1794
- "name": "BaseServiceIO",
1795
- "module": "src/services/utils/baseServiceIO.ts"
1796
- }
1797
- },
1798
1729
  {
1799
1730
  "kind": "field",
1800
1731
  "name": "insertKeyPlaceholderText",
1801
1732
  "type": {
1802
1733
  "text": "string"
1803
1734
  },
1804
- "default": "'Cohere API Key'",
1735
+ "default": "'Azure Language Subscription Key'",
1805
1736
  "inheritedFrom": {
1806
1737
  "name": "DirectServiceIO",
1807
1738
  "module": "src/services/utils/directServiceIO.ts"
@@ -1813,47 +1744,19 @@
1813
1744
  "type": {
1814
1745
  "text": "string"
1815
1746
  },
1816
- "default": "'https://dashboard.cohere.ai/api-keys'",
1747
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
1817
1748
  "inheritedFrom": {
1818
1749
  "name": "DirectServiceIO",
1819
1750
  "module": "src/services/utils/directServiceIO.ts"
1820
1751
  }
1821
1752
  },
1822
- {
1823
- "kind": "field",
1824
- "name": "textInputPlaceholderText",
1825
- "type": {
1826
- "text": "string"
1827
- },
1828
- "default": "inputPlaceholder",
1829
- "inheritedFrom": {
1830
- "name": "CohereIO",
1831
- "module": "src/services/cohere/cohereIO.ts"
1832
- }
1833
- },
1834
1753
  {
1835
1754
  "kind": "field",
1836
1755
  "name": "permittedErrorPrefixes",
1837
1756
  "type": {
1838
1757
  "text": "array"
1839
1758
  },
1840
- "default": "['invalid']",
1841
- "inheritedFrom": {
1842
- "name": "CohereIO",
1843
- "module": "src/services/cohere/cohereIO.ts"
1844
- }
1845
- },
1846
- {
1847
- "kind": "field",
1848
- "name": "url",
1849
- "type": {
1850
- "text": "string"
1851
- },
1852
- "default": "url",
1853
- "inheritedFrom": {
1854
- "name": "CohereIO",
1855
- "module": "src/services/cohere/cohereIO.ts"
1856
- }
1759
+ "default": "['Access']"
1857
1760
  },
1858
1761
  {
1859
1762
  "kind": "field",
@@ -2219,14 +2122,8 @@
2219
2122
  },
2220
2123
  {
2221
2124
  "kind": "method",
2222
- "name": "callApiWithFiles",
2125
+ "name": "callServiceAPI",
2223
2126
  "parameters": [
2224
- {
2225
- "name": "body",
2226
- "type": {
2227
- "text": "any"
2228
- }
2229
- },
2230
2127
  {
2231
2128
  "name": "messages",
2232
2129
  "type": {
@@ -2240,7 +2137,8 @@
2240
2137
  }
2241
2138
  },
2242
2139
  {
2243
- "name": "files",
2140
+ "name": "_",
2141
+ "optional": true,
2244
2142
  "type": {
2245
2143
  "text": "File[]"
2246
2144
  }
@@ -2253,12 +2151,12 @@
2253
2151
  },
2254
2152
  {
2255
2153
  "kind": "method",
2256
- "name": "callAPI",
2154
+ "name": "callApiWithFiles",
2257
2155
  "parameters": [
2258
2156
  {
2259
- "name": "requestContents",
2157
+ "name": "body",
2260
2158
  "type": {
2261
- "text": "RequestContents"
2159
+ "text": "any"
2262
2160
  }
2263
2161
  },
2264
2162
  {
@@ -2266,39 +2164,94 @@
2266
2164
  "type": {
2267
2165
  "text": "Messages"
2268
2166
  }
2269
- }
2270
- ],
2271
- "inheritedFrom": {
2272
- "name": "BaseServiceIO",
2273
- "module": "src/services/utils/baseServiceIO.ts"
2274
- }
2275
- }
2276
- ],
2167
+ },
2168
+ {
2169
+ "name": "pMessages",
2170
+ "type": {
2171
+ "text": "MessageContent[]"
2172
+ }
2173
+ },
2174
+ {
2175
+ "name": "files",
2176
+ "type": {
2177
+ "text": "File[]"
2178
+ }
2179
+ }
2180
+ ],
2181
+ "inheritedFrom": {
2182
+ "name": "BaseServiceIO",
2183
+ "module": "src/services/utils/baseServiceIO.ts"
2184
+ }
2185
+ },
2186
+ {
2187
+ "kind": "method",
2188
+ "name": "callAPI",
2189
+ "parameters": [
2190
+ {
2191
+ "name": "requestContents",
2192
+ "type": {
2193
+ "text": "RequestContents"
2194
+ }
2195
+ },
2196
+ {
2197
+ "name": "messages",
2198
+ "type": {
2199
+ "text": "Messages"
2200
+ }
2201
+ }
2202
+ ],
2203
+ "inheritedFrom": {
2204
+ "name": "BaseServiceIO",
2205
+ "module": "src/services/utils/baseServiceIO.ts"
2206
+ }
2207
+ },
2208
+ {
2209
+ "kind": "method",
2210
+ "name": "extractResultData",
2211
+ "return": {
2212
+ "type": {
2213
+ "text": "Promise<Result | {pollingInAnotherRequest: true}>"
2214
+ }
2215
+ },
2216
+ "parameters": [
2217
+ {
2218
+ "name": "result",
2219
+ "type": {
2220
+ "text": "any | CustomServiceResponse"
2221
+ }
2222
+ }
2223
+ ],
2224
+ "inheritedFrom": {
2225
+ "name": "BaseServiceIO",
2226
+ "module": "src/services/utils/baseServiceIO.ts"
2227
+ }
2228
+ }
2229
+ ],
2277
2230
  "superclass": {
2278
- "name": "CohereIO",
2279
- "module": "/src/services/cohere/cohereIO"
2231
+ "name": "DirectServiceIO",
2232
+ "module": "/src/services/utils/directServiceIO"
2280
2233
  }
2281
2234
  }
2282
2235
  ],
2283
2236
  "exports": [
2284
2237
  {
2285
2238
  "kind": "js",
2286
- "name": "CohereChatIO",
2239
+ "name": "AzureLanguageIO",
2287
2240
  "declaration": {
2288
- "name": "CohereChatIO",
2289
- "module": "src/services/cohere/cohereChatIO.ts"
2241
+ "name": "AzureLanguageIO",
2242
+ "module": "src/services/azure/azureLanguageIO.ts"
2290
2243
  }
2291
2244
  }
2292
2245
  ]
2293
2246
  },
2294
2247
  {
2295
2248
  "kind": "javascript-module",
2296
- "path": "src/services/cohere/cohereIO.ts",
2249
+ "path": "src/services/azure/azureSpeechIO.ts",
2297
2250
  "declarations": [
2298
2251
  {
2299
2252
  "kind": "class",
2300
2253
  "description": "",
2301
- "name": "CohereIO",
2254
+ "name": "AzureSpeechIO",
2302
2255
  "members": [
2303
2256
  {
2304
2257
  "kind": "field",
@@ -2306,7 +2259,7 @@
2306
2259
  "type": {
2307
2260
  "text": "string"
2308
2261
  },
2309
- "default": "'Cohere API Key'",
2262
+ "default": "'Azure Speech Subscription Key'",
2310
2263
  "inheritedFrom": {
2311
2264
  "name": "DirectServiceIO",
2312
2265
  "module": "src/services/utils/directServiceIO.ts"
@@ -2318,36 +2271,12 @@
2318
2271
  "type": {
2319
2272
  "text": "string"
2320
2273
  },
2321
- "default": "'https://dashboard.cohere.ai/api-keys'",
2274
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
2322
2275
  "inheritedFrom": {
2323
2276
  "name": "DirectServiceIO",
2324
2277
  "module": "src/services/utils/directServiceIO.ts"
2325
2278
  }
2326
2279
  },
2327
- {
2328
- "kind": "field",
2329
- "name": "textInputPlaceholderText",
2330
- "type": {
2331
- "text": "string"
2332
- },
2333
- "default": "inputPlaceholder"
2334
- },
2335
- {
2336
- "kind": "field",
2337
- "name": "permittedErrorPrefixes",
2338
- "type": {
2339
- "text": "array"
2340
- },
2341
- "default": "['invalid']"
2342
- },
2343
- {
2344
- "kind": "field",
2345
- "name": "url",
2346
- "type": {
2347
- "text": "string"
2348
- },
2349
- "default": "url"
2350
- },
2351
2280
  {
2352
2281
  "kind": "field",
2353
2282
  "name": "key",
@@ -2826,37 +2755,80 @@
2826
2755
  "exports": [
2827
2756
  {
2828
2757
  "kind": "js",
2829
- "name": "CohereIO",
2758
+ "name": "AzureSpeechIO",
2830
2759
  "declaration": {
2831
- "name": "CohereIO",
2832
- "module": "src/services/cohere/cohereIO.ts"
2760
+ "name": "AzureSpeechIO",
2761
+ "module": "src/services/azure/azureSpeechIO.ts"
2833
2762
  }
2834
2763
  }
2835
2764
  ]
2836
2765
  },
2837
2766
  {
2838
2767
  "kind": "javascript-module",
2839
- "path": "src/services/cohere/cohereSummarizationIO.ts",
2768
+ "path": "src/services/azure/azureSpeechToTextIO.ts",
2840
2769
  "declarations": [
2841
2770
  {
2842
2771
  "kind": "class",
2843
2772
  "description": "",
2844
- "name": "CohereSummarizationIO",
2773
+ "name": "AzureSpeechToTextIO",
2845
2774
  "members": [
2775
+ {
2776
+ "kind": "field",
2777
+ "name": "HELP_LINK",
2778
+ "type": {
2779
+ "text": "string"
2780
+ },
2781
+ "privacy": "private",
2782
+ "static": true,
2783
+ "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
2784
+ },
2785
+ {
2786
+ "kind": "field",
2787
+ "name": "introPanelMarkUp",
2788
+ "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Speech To Text</b></div>\n <p><b>Upload a .wav or .ogg audio file</b> to transcribe it into text.\n <p>\n Click <a href=\"${AzureSpeechToTextIO.HELP_LINK}\">here</a> for more info.\n </p>`"
2789
+ },
2790
+ {
2791
+ "kind": "field",
2792
+ "name": "url",
2793
+ "type": {
2794
+ "text": "string"
2795
+ },
2796
+ "default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
2797
+ },
2798
+ {
2799
+ "kind": "field",
2800
+ "name": "isTextInputDisabled",
2801
+ "type": {
2802
+ "text": "boolean"
2803
+ },
2804
+ "default": "true"
2805
+ },
2806
+ {
2807
+ "kind": "field",
2808
+ "name": "textInputPlaceholderText",
2809
+ "type": {
2810
+ "text": "string"
2811
+ },
2812
+ "default": "'Upload an audio file'"
2813
+ },
2846
2814
  {
2847
2815
  "kind": "method",
2848
- "name": "preprocessBody",
2816
+ "name": "canFileSendMessage",
2817
+ "privacy": "private",
2818
+ "static": true,
2849
2819
  "parameters": [
2850
2820
  {
2851
- "name": "body",
2821
+ "name": "_",
2822
+ "optional": true,
2852
2823
  "type": {
2853
- "text": "CohereSummarizationConfig"
2824
+ "text": "string"
2854
2825
  }
2855
2826
  },
2856
2827
  {
2857
- "name": "messages",
2828
+ "name": "files",
2829
+ "optional": true,
2858
2830
  "type": {
2859
- "text": "MessageContent[]"
2831
+ "text": "File[]"
2860
2832
  }
2861
2833
  }
2862
2834
  ]
@@ -2872,10 +2844,17 @@
2872
2844
  }
2873
2845
  },
2874
2846
  {
2875
- "name": "pMessages",
2847
+ "name": "_",
2876
2848
  "type": {
2877
2849
  "text": "MessageContent[]"
2878
2850
  }
2851
+ },
2852
+ {
2853
+ "name": "files",
2854
+ "optional": true,
2855
+ "type": {
2856
+ "text": "File[]"
2857
+ }
2879
2858
  }
2880
2859
  ],
2881
2860
  "inheritedFrom": {
@@ -2895,7 +2874,7 @@
2895
2874
  {
2896
2875
  "name": "result",
2897
2876
  "type": {
2898
- "text": "CohereSummarizationResult"
2877
+ "text": "AzureSpeechToTextResult"
2899
2878
  }
2900
2879
  }
2901
2880
  ],
@@ -2906,62 +2885,67 @@
2906
2885
  },
2907
2886
  {
2908
2887
  "kind": "field",
2909
- "name": "insertKeyPlaceholderText",
2888
+ "name": "canSendMessage",
2889
+ "privacy": "private",
2890
+ "static": true,
2891
+ "parameters": [
2892
+ {
2893
+ "name": "text",
2894
+ "optional": true,
2895
+ "type": {
2896
+ "text": "string"
2897
+ }
2898
+ },
2899
+ {
2900
+ "name": "files",
2901
+ "optional": true,
2902
+ "type": {
2903
+ "text": "File[]"
2904
+ }
2905
+ }
2906
+ ],
2910
2907
  "type": {
2911
- "text": "string"
2908
+ "text": "ValidateMessageBeforeSending"
2912
2909
  },
2913
- "default": "'Cohere API Key'",
2914
2910
  "inheritedFrom": {
2915
- "name": "DirectServiceIO",
2916
- "module": "src/services/utils/directServiceIO.ts"
2911
+ "name": "BaseServiceIO",
2912
+ "module": "src/services/utils/baseServiceIO.ts"
2917
2913
  }
2918
2914
  },
2919
2915
  {
2920
2916
  "kind": "field",
2921
- "name": "getKeyLink",
2917
+ "name": "recordAudio",
2922
2918
  "type": {
2923
- "text": "string"
2919
+ "text": "MicrophoneFilesServiceConfig | undefined"
2924
2920
  },
2925
- "default": "'https://dashboard.cohere.ai/api-keys'",
2926
2921
  "inheritedFrom": {
2927
- "name": "DirectServiceIO",
2928
- "module": "src/services/utils/directServiceIO.ts"
2929
- }
2930
- },
2931
- {
2932
- "kind": "field",
2933
- "name": "textInputPlaceholderText",
2934
- "type": {
2935
- "text": "string"
2922
+ "name": "BaseServiceIO",
2923
+ "module": "src/services/utils/baseServiceIO.ts"
2936
2924
  },
2937
- "default": "inputPlaceholder",
2938
- "inheritedFrom": {
2939
- "name": "CohereIO",
2940
- "module": "src/services/cohere/cohereIO.ts"
2941
- }
2925
+ "default": "undefined"
2942
2926
  },
2943
2927
  {
2944
2928
  "kind": "field",
2945
- "name": "permittedErrorPrefixes",
2929
+ "name": "insertKeyPlaceholderText",
2946
2930
  "type": {
2947
- "text": "array"
2931
+ "text": "string"
2948
2932
  },
2949
- "default": "['invalid']",
2933
+ "default": "'Azure Speech Subscription Key'",
2950
2934
  "inheritedFrom": {
2951
- "name": "CohereIO",
2952
- "module": "src/services/cohere/cohereIO.ts"
2935
+ "name": "DirectServiceIO",
2936
+ "module": "src/services/utils/directServiceIO.ts"
2953
2937
  }
2954
2938
  },
2955
2939
  {
2956
2940
  "kind": "field",
2957
- "name": "url",
2941
+ "name": "getKeyLink",
2958
2942
  "type": {
2959
2943
  "text": "string"
2960
2944
  },
2961
- "default": "url",
2945
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
2962
2946
  "inheritedFrom": {
2963
- "name": "CohereIO",
2964
- "module": "src/services/cohere/cohereIO.ts"
2947
+ "name": "DirectServiceIO",
2948
+ "module": "src/services/utils/directServiceIO.ts"
2965
2949
  }
2966
2950
  },
2967
2951
  {
@@ -3135,35 +3119,6 @@
3135
3119
  "module": "src/services/utils/baseServiceIO.ts"
3136
3120
  }
3137
3121
  },
3138
- {
3139
- "kind": "field",
3140
- "name": "canSendMessage",
3141
- "privacy": "private",
3142
- "static": true,
3143
- "parameters": [
3144
- {
3145
- "name": "text",
3146
- "optional": true,
3147
- "type": {
3148
- "text": "string"
3149
- }
3150
- },
3151
- {
3152
- "name": "files",
3153
- "optional": true,
3154
- "type": {
3155
- "text": "File[]"
3156
- }
3157
- }
3158
- ],
3159
- "type": {
3160
- "text": "ValidateMessageBeforeSending"
3161
- },
3162
- "inheritedFrom": {
3163
- "name": "BaseServiceIO",
3164
- "module": "src/services/utils/baseServiceIO.ts"
3165
- }
3166
- },
3167
3122
  {
3168
3123
  "kind": "field",
3169
3124
  "name": "fileTypes",
@@ -3187,17 +3142,6 @@
3187
3142
  "module": "src/services/utils/baseServiceIO.ts"
3188
3143
  }
3189
3144
  },
3190
- {
3191
- "kind": "field",
3192
- "name": "recordAudio",
3193
- "type": {
3194
- "text": "MicrophoneFilesServiceConfig | undefined"
3195
- },
3196
- "inheritedFrom": {
3197
- "name": "BaseServiceIO",
3198
- "module": "src/services/utils/baseServiceIO.ts"
3199
- }
3200
- },
3201
3145
  {
3202
3146
  "kind": "field",
3203
3147
  "name": "totalMessagesMaxCharLength",
@@ -3384,31 +3328,55 @@
3384
3328
  }
3385
3329
  ],
3386
3330
  "superclass": {
3387
- "name": "CohereIO",
3388
- "module": "/src/services/cohere/cohereIO"
3331
+ "name": "AzureSpeechIO",
3332
+ "module": "/src/services/azure/azureSpeechIO"
3389
3333
  }
3390
3334
  }
3391
3335
  ],
3392
3336
  "exports": [
3393
3337
  {
3394
3338
  "kind": "js",
3395
- "name": "CohereSummarizationIO",
3339
+ "name": "AzureSpeechToTextIO",
3396
3340
  "declaration": {
3397
- "name": "CohereSummarizationIO",
3398
- "module": "src/services/cohere/cohereSummarizationIO.ts"
3341
+ "name": "AzureSpeechToTextIO",
3342
+ "module": "src/services/azure/azureSpeechToTextIO.ts"
3399
3343
  }
3400
3344
  }
3401
3345
  ]
3402
3346
  },
3403
3347
  {
3404
3348
  "kind": "javascript-module",
3405
- "path": "src/services/cohere/cohereTextGenerationIO.ts",
3349
+ "path": "src/services/azure/azureSummarizationIO.ts",
3406
3350
  "declarations": [
3407
3351
  {
3408
3352
  "kind": "class",
3409
3353
  "description": "",
3410
- "name": "CohereTextGenerationIO",
3354
+ "name": "AzureSummarizationIO",
3411
3355
  "members": [
3356
+ {
3357
+ "kind": "field",
3358
+ "name": "url",
3359
+ "type": {
3360
+ "text": "string"
3361
+ },
3362
+ "default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
3363
+ },
3364
+ {
3365
+ "kind": "field",
3366
+ "name": "textInputPlaceholderText",
3367
+ "type": {
3368
+ "text": "string"
3369
+ },
3370
+ "default": "'Insert text to summarize'"
3371
+ },
3372
+ {
3373
+ "kind": "field",
3374
+ "name": "messages",
3375
+ "type": {
3376
+ "text": "Messages | undefined"
3377
+ },
3378
+ "privacy": "private"
3379
+ },
3412
3380
  {
3413
3381
  "kind": "method",
3414
3382
  "name": "preprocessBody",
@@ -3416,7 +3384,7 @@
3416
3384
  {
3417
3385
  "name": "body",
3418
3386
  "type": {
3419
- "text": "CohereGenerateConfig"
3387
+ "text": "RawBody"
3420
3388
  }
3421
3389
  },
3422
3390
  {
@@ -3454,14 +3422,14 @@
3454
3422
  "name": "extractResultData",
3455
3423
  "return": {
3456
3424
  "type": {
3457
- "text": "Promise<Result>"
3425
+ "text": "Promise<{pollingInAnotherRequest: true}>"
3458
3426
  }
3459
3427
  },
3460
3428
  "parameters": [
3461
3429
  {
3462
3430
  "name": "result",
3463
3431
  "type": {
3464
- "text": "CohereCompletionsResult"
3432
+ "text": "Response & AzureAuthenticationError"
3465
3433
  }
3466
3434
  }
3467
3435
  ],
@@ -3470,25 +3438,38 @@
3470
3438
  "module": "src/services/utils/baseServiceIO.ts"
3471
3439
  }
3472
3440
  },
3441
+ {
3442
+ "kind": "method",
3443
+ "name": "extractPollResultData",
3444
+ "return": {
3445
+ "type": {
3446
+ "text": "PollResult"
3447
+ }
3448
+ },
3449
+ "parameters": [
3450
+ {
3451
+ "name": "result",
3452
+ "type": {
3453
+ "text": "AzureSummarizationResult"
3454
+ }
3455
+ }
3456
+ ]
3457
+ },
3473
3458
  {
3474
3459
  "kind": "field",
3475
- "name": "insertKeyPlaceholderText",
3460
+ "name": "language",
3476
3461
  "type": {
3477
3462
  "text": "string"
3478
3463
  },
3479
- "default": "'Cohere API Key'",
3480
- "inheritedFrom": {
3481
- "name": "DirectServiceIO",
3482
- "module": "src/services/utils/directServiceIO.ts"
3483
- }
3464
+ "default": "'en'"
3484
3465
  },
3485
3466
  {
3486
3467
  "kind": "field",
3487
- "name": "getKeyLink",
3468
+ "name": "insertKeyPlaceholderText",
3488
3469
  "type": {
3489
3470
  "text": "string"
3490
3471
  },
3491
- "default": "'https://dashboard.cohere.ai/api-keys'",
3472
+ "default": "'Azure Language Subscription Key'",
3492
3473
  "inheritedFrom": {
3493
3474
  "name": "DirectServiceIO",
3494
3475
  "module": "src/services/utils/directServiceIO.ts"
@@ -3496,14 +3477,14 @@
3496
3477
  },
3497
3478
  {
3498
3479
  "kind": "field",
3499
- "name": "textInputPlaceholderText",
3480
+ "name": "getKeyLink",
3500
3481
  "type": {
3501
3482
  "text": "string"
3502
3483
  },
3503
- "default": "inputPlaceholder",
3484
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
3504
3485
  "inheritedFrom": {
3505
- "name": "CohereIO",
3506
- "module": "src/services/cohere/cohereIO.ts"
3486
+ "name": "DirectServiceIO",
3487
+ "module": "src/services/utils/directServiceIO.ts"
3507
3488
  }
3508
3489
  },
3509
3490
  {
@@ -3512,22 +3493,10 @@
3512
3493
  "type": {
3513
3494
  "text": "array"
3514
3495
  },
3515
- "default": "['invalid']",
3516
- "inheritedFrom": {
3517
- "name": "CohereIO",
3518
- "module": "src/services/cohere/cohereIO.ts"
3519
- }
3520
- },
3521
- {
3522
- "kind": "field",
3523
- "name": "url",
3524
- "type": {
3525
- "text": "string"
3526
- },
3527
- "default": "url",
3496
+ "default": "['Access']",
3528
3497
  "inheritedFrom": {
3529
- "name": "CohereIO",
3530
- "module": "src/services/cohere/cohereIO.ts"
3498
+ "name": "AzureLanguageIO",
3499
+ "module": "src/services/azure/azureLanguageIO.ts"
3531
3500
  }
3532
3501
  },
3533
3502
  {
@@ -3950,153 +3919,253 @@
3950
3919
  }
3951
3920
  ],
3952
3921
  "superclass": {
3953
- "name": "CohereIO",
3954
- "module": "/src/services/cohere/cohereIO"
3922
+ "name": "AzureLanguageIO",
3923
+ "module": "/src/services/azure/azureLanguageIO"
3955
3924
  }
3956
3925
  }
3957
3926
  ],
3958
3927
  "exports": [
3959
3928
  {
3960
3929
  "kind": "js",
3961
- "name": "CohereTextGenerationIO",
3930
+ "name": "AzureSummarizationIO",
3962
3931
  "declaration": {
3963
- "name": "CohereTextGenerationIO",
3964
- "module": "src/services/cohere/cohereTextGenerationIO.ts"
3932
+ "name": "AzureSummarizationIO",
3933
+ "module": "src/services/azure/azureSummarizationIO.ts"
3965
3934
  }
3966
3935
  }
3967
3936
  ]
3968
3937
  },
3969
3938
  {
3970
3939
  "kind": "javascript-module",
3971
- "path": "src/services/azure/azureLanguageIO.ts",
3940
+ "path": "src/services/azure/azureTextToSpeechIO.ts",
3972
3941
  "declarations": [
3973
3942
  {
3974
3943
  "kind": "class",
3975
3944
  "description": "",
3976
- "name": "AzureLanguageIO",
3945
+ "name": "AzureTextToSpeechIO",
3977
3946
  "members": [
3978
3947
  {
3979
3948
  "kind": "field",
3980
- "name": "insertKeyPlaceholderText",
3981
- "type": {
3982
- "text": "string"
3983
- },
3984
- "default": "'Azure Language Subscription Key'",
3985
- "inheritedFrom": {
3986
- "name": "DirectServiceIO",
3987
- "module": "src/services/utils/directServiceIO.ts"
3988
- }
3989
- },
3990
- {
3991
- "kind": "field",
3992
- "name": "getKeyLink",
3949
+ "name": "HELP_LINK",
3993
3950
  "type": {
3994
3951
  "text": "string"
3995
3952
  },
3996
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
3997
- "inheritedFrom": {
3998
- "name": "DirectServiceIO",
3999
- "module": "src/services/utils/directServiceIO.ts"
4000
- }
4001
- },
4002
- {
4003
- "kind": "field",
4004
- "name": "permittedErrorPrefixes",
4005
- "type": {
4006
- "text": "array"
4007
- },
4008
- "default": "['Access']"
4009
- },
4010
- {
4011
- "kind": "field",
4012
- "name": "key",
4013
- "type": {
4014
- "text": "string | undefined"
4015
- },
4016
- "inheritedFrom": {
4017
- "name": "DirectServiceIO",
4018
- "module": "src/services/utils/directServiceIO.ts"
4019
- }
3953
+ "privacy": "private",
3954
+ "static": true,
3955
+ "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
4020
3956
  },
4021
3957
  {
4022
3958
  "kind": "field",
4023
- "name": "keyVerificationDetails",
4024
- "type": {
4025
- "text": "KeyVerificationDetails"
4026
- },
4027
- "privacy": "private",
4028
- "default": "keyVerificationDetails",
4029
- "inheritedFrom": {
4030
- "name": "DirectServiceIO",
4031
- "module": "src/services/utils/directServiceIO.ts"
4032
- }
3959
+ "name": "introPanelMarkUp",
3960
+ "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Text To Speech</b></div>\n <p>Insert text to synthesize it to audio.\n <p>\n Click <a href=\"${AzureTextToSpeechIO.HELP_LINK}\">here</a> for more info.\n </p>`"
4033
3961
  },
4034
3962
  {
4035
3963
  "kind": "field",
4036
- "name": "buildHeadersFunc",
3964
+ "name": "url",
4037
3965
  "type": {
4038
- "text": "BuildHeadersFunc"
3966
+ "text": "string"
4039
3967
  },
4040
- "privacy": "private",
4041
- "default": "buildHeadersFunc",
4042
- "inheritedFrom": {
4043
- "name": "DirectServiceIO",
4044
- "module": "src/services/utils/directServiceIO.ts"
4045
- }
3968
+ "default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
4046
3969
  },
4047
3970
  {
4048
3971
  "kind": "method",
4049
- "name": "setApiKeyProperties",
4050
- "privacy": "private",
3972
+ "name": "preprocessBody",
4051
3973
  "parameters": [
4052
3974
  {
4053
- "name": "apiKey",
3975
+ "name": "body",
4054
3976
  "type": {
4055
- "text": "APIKey"
3977
+ "text": "AzureTextToSpeechConfig"
3978
+ }
3979
+ },
3980
+ {
3981
+ "name": "messages",
3982
+ "type": {
3983
+ "text": "MessageContent[]"
4056
3984
  }
4057
3985
  }
4058
- ],
4059
- "inheritedFrom": {
4060
- "name": "DirectServiceIO",
4061
- "module": "src/services/utils/directServiceIO.ts"
4062
- }
3986
+ ]
4063
3987
  },
4064
3988
  {
4065
3989
  "kind": "method",
4066
- "name": "buildRequestSettings",
4067
- "privacy": "private",
3990
+ "name": "callServiceAPI",
4068
3991
  "parameters": [
4069
3992
  {
4070
- "name": "key",
3993
+ "name": "messages",
4071
3994
  "type": {
4072
- "text": "string"
3995
+ "text": "Messages"
4073
3996
  }
4074
3997
  },
4075
3998
  {
4076
- "name": "requestSettings",
4077
- "optional": true,
3999
+ "name": "pMessages",
4078
4000
  "type": {
4079
- "text": "Request"
4001
+ "text": "MessageContent[]"
4080
4002
  }
4081
4003
  }
4082
4004
  ],
4083
4005
  "inheritedFrom": {
4084
- "name": "DirectServiceIO",
4085
- "module": "src/services/utils/directServiceIO.ts"
4006
+ "name": "BaseServiceIO",
4007
+ "module": "src/services/utils/baseServiceIO.ts"
4086
4008
  }
4087
4009
  },
4088
4010
  {
4089
4011
  "kind": "method",
4090
- "name": "keyAuthenticated",
4091
- "privacy": "private",
4012
+ "name": "extractResultData",
4013
+ "return": {
4014
+ "type": {
4015
+ "text": "Promise<Result>"
4016
+ }
4017
+ },
4092
4018
  "parameters": [
4093
4019
  {
4094
- "name": "onSuccess",
4020
+ "name": "result",
4095
4021
  "type": {
4096
- "text": "() => void"
4022
+ "text": "AzureTextToSpeechResult"
4097
4023
  }
4098
- },
4099
- {
4024
+ }
4025
+ ],
4026
+ "inheritedFrom": {
4027
+ "name": "BaseServiceIO",
4028
+ "module": "src/services/utils/baseServiceIO.ts"
4029
+ }
4030
+ },
4031
+ {
4032
+ "kind": "field",
4033
+ "name": "lang",
4034
+ "type": {
4035
+ "text": "string"
4036
+ },
4037
+ "default": "'en-US'"
4038
+ },
4039
+ {
4040
+ "kind": "field",
4041
+ "name": "name",
4042
+ "type": {
4043
+ "text": "string"
4044
+ },
4045
+ "default": "'en-US-JennyNeural'"
4046
+ },
4047
+ {
4048
+ "kind": "field",
4049
+ "name": "gender",
4050
+ "type": {
4051
+ "text": "string"
4052
+ },
4053
+ "default": "'Female'"
4054
+ },
4055
+ {
4056
+ "kind": "field",
4057
+ "name": "insertKeyPlaceholderText",
4058
+ "type": {
4059
+ "text": "string"
4060
+ },
4061
+ "default": "'Azure Speech Subscription Key'",
4062
+ "inheritedFrom": {
4063
+ "name": "DirectServiceIO",
4064
+ "module": "src/services/utils/directServiceIO.ts"
4065
+ }
4066
+ },
4067
+ {
4068
+ "kind": "field",
4069
+ "name": "getKeyLink",
4070
+ "type": {
4071
+ "text": "string"
4072
+ },
4073
+ "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
4074
+ "inheritedFrom": {
4075
+ "name": "DirectServiceIO",
4076
+ "module": "src/services/utils/directServiceIO.ts"
4077
+ }
4078
+ },
4079
+ {
4080
+ "kind": "field",
4081
+ "name": "key",
4082
+ "type": {
4083
+ "text": "string | undefined"
4084
+ },
4085
+ "inheritedFrom": {
4086
+ "name": "DirectServiceIO",
4087
+ "module": "src/services/utils/directServiceIO.ts"
4088
+ }
4089
+ },
4090
+ {
4091
+ "kind": "field",
4092
+ "name": "keyVerificationDetails",
4093
+ "type": {
4094
+ "text": "KeyVerificationDetails"
4095
+ },
4096
+ "privacy": "private",
4097
+ "default": "keyVerificationDetails",
4098
+ "inheritedFrom": {
4099
+ "name": "DirectServiceIO",
4100
+ "module": "src/services/utils/directServiceIO.ts"
4101
+ }
4102
+ },
4103
+ {
4104
+ "kind": "field",
4105
+ "name": "buildHeadersFunc",
4106
+ "type": {
4107
+ "text": "BuildHeadersFunc"
4108
+ },
4109
+ "privacy": "private",
4110
+ "default": "buildHeadersFunc",
4111
+ "inheritedFrom": {
4112
+ "name": "DirectServiceIO",
4113
+ "module": "src/services/utils/directServiceIO.ts"
4114
+ }
4115
+ },
4116
+ {
4117
+ "kind": "method",
4118
+ "name": "setApiKeyProperties",
4119
+ "privacy": "private",
4120
+ "parameters": [
4121
+ {
4122
+ "name": "apiKey",
4123
+ "type": {
4124
+ "text": "APIKey"
4125
+ }
4126
+ }
4127
+ ],
4128
+ "inheritedFrom": {
4129
+ "name": "DirectServiceIO",
4130
+ "module": "src/services/utils/directServiceIO.ts"
4131
+ }
4132
+ },
4133
+ {
4134
+ "kind": "method",
4135
+ "name": "buildRequestSettings",
4136
+ "privacy": "private",
4137
+ "parameters": [
4138
+ {
4139
+ "name": "key",
4140
+ "type": {
4141
+ "text": "string"
4142
+ }
4143
+ },
4144
+ {
4145
+ "name": "requestSettings",
4146
+ "optional": true,
4147
+ "type": {
4148
+ "text": "Request"
4149
+ }
4150
+ }
4151
+ ],
4152
+ "inheritedFrom": {
4153
+ "name": "DirectServiceIO",
4154
+ "module": "src/services/utils/directServiceIO.ts"
4155
+ }
4156
+ },
4157
+ {
4158
+ "kind": "method",
4159
+ "name": "keyAuthenticated",
4160
+ "privacy": "private",
4161
+ "parameters": [
4162
+ {
4163
+ "name": "onSuccess",
4164
+ "type": {
4165
+ "text": "() => void"
4166
+ }
4167
+ },
4168
+ {
4100
4169
  "name": "key",
4101
4170
  "type": {
4102
4171
  "text": "string"
@@ -4369,35 +4438,6 @@
4369
4438
  "module": "src/services/utils/baseServiceIO.ts"
4370
4439
  }
4371
4440
  },
4372
- {
4373
- "kind": "method",
4374
- "name": "callServiceAPI",
4375
- "parameters": [
4376
- {
4377
- "name": "messages",
4378
- "type": {
4379
- "text": "Messages"
4380
- }
4381
- },
4382
- {
4383
- "name": "pMessages",
4384
- "type": {
4385
- "text": "MessageContent[]"
4386
- }
4387
- },
4388
- {
4389
- "name": "_",
4390
- "optional": true,
4391
- "type": {
4392
- "text": "File[]"
4393
- }
4394
- }
4395
- ],
4396
- "inheritedFrom": {
4397
- "name": "BaseServiceIO",
4398
- "module": "src/services/utils/baseServiceIO.ts"
4399
- }
4400
- },
4401
4441
  {
4402
4442
  "kind": "method",
4403
4443
  "name": "callApiWithFiles",
@@ -4453,54 +4493,33 @@
4453
4493
  "name": "BaseServiceIO",
4454
4494
  "module": "src/services/utils/baseServiceIO.ts"
4455
4495
  }
4456
- },
4457
- {
4458
- "kind": "method",
4459
- "name": "extractResultData",
4460
- "return": {
4461
- "type": {
4462
- "text": "Promise<Result | {pollingInAnotherRequest: true}>"
4463
- }
4464
- },
4465
- "parameters": [
4466
- {
4467
- "name": "result",
4468
- "type": {
4469
- "text": "any | CustomServiceResponse"
4470
- }
4471
- }
4472
- ],
4473
- "inheritedFrom": {
4474
- "name": "BaseServiceIO",
4475
- "module": "src/services/utils/baseServiceIO.ts"
4476
- }
4477
4496
  }
4478
4497
  ],
4479
4498
  "superclass": {
4480
- "name": "DirectServiceIO",
4481
- "module": "/src/services/utils/directServiceIO"
4499
+ "name": "AzureSpeechIO",
4500
+ "module": "/src/services/azure/azureSpeechIO"
4482
4501
  }
4483
4502
  }
4484
4503
  ],
4485
4504
  "exports": [
4486
4505
  {
4487
4506
  "kind": "js",
4488
- "name": "AzureLanguageIO",
4507
+ "name": "AzureTextToSpeechIO",
4489
4508
  "declaration": {
4490
- "name": "AzureLanguageIO",
4491
- "module": "src/services/azure/azureLanguageIO.ts"
4509
+ "name": "AzureTextToSpeechIO",
4510
+ "module": "src/services/azure/azureTextToSpeechIO.ts"
4492
4511
  }
4493
4512
  }
4494
4513
  ]
4495
4514
  },
4496
4515
  {
4497
4516
  "kind": "javascript-module",
4498
- "path": "src/services/azure/azureSpeechIO.ts",
4517
+ "path": "src/services/azure/azureTranslationIO.ts",
4499
4518
  "declarations": [
4500
4519
  {
4501
4520
  "kind": "class",
4502
4521
  "description": "",
4503
- "name": "AzureSpeechIO",
4522
+ "name": "AzureTranslationIO",
4504
4523
  "members": [
4505
4524
  {
4506
4525
  "kind": "field",
@@ -4508,7 +4527,7 @@
4508
4527
  "type": {
4509
4528
  "text": "string"
4510
4529
  },
4511
- "default": "'Azure Speech Subscription Key'",
4530
+ "default": "'Azure Translate Subscription Key'",
4512
4531
  "inheritedFrom": {
4513
4532
  "name": "DirectServiceIO",
4514
4533
  "module": "src/services/utils/directServiceIO.ts"
@@ -4528,55 +4547,118 @@
4528
4547
  },
4529
4548
  {
4530
4549
  "kind": "field",
4531
- "name": "key",
4532
- "type": {
4533
- "text": "string | undefined"
4534
- },
4535
- "inheritedFrom": {
4536
- "name": "DirectServiceIO",
4537
- "module": "src/services/utils/directServiceIO.ts"
4538
- }
4539
- },
4540
- {
4541
- "kind": "field",
4542
- "name": "keyVerificationDetails",
4543
- "type": {
4544
- "text": "KeyVerificationDetails"
4545
- },
4546
- "privacy": "private",
4547
- "default": "keyVerificationDetails",
4548
- "inheritedFrom": {
4549
- "name": "DirectServiceIO",
4550
- "module": "src/services/utils/directServiceIO.ts"
4551
- }
4552
- },
4553
- {
4554
- "kind": "field",
4555
- "name": "buildHeadersFunc",
4550
+ "name": "url",
4556
4551
  "type": {
4557
- "text": "BuildHeadersFunc"
4552
+ "text": "string"
4558
4553
  },
4559
- "privacy": "private",
4560
- "default": "buildHeadersFunc",
4561
- "inheritedFrom": {
4562
- "name": "DirectServiceIO",
4563
- "module": "src/services/utils/directServiceIO.ts"
4564
- }
4554
+ "default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
4565
4555
  },
4566
4556
  {
4567
4557
  "kind": "method",
4568
- "name": "setApiKeyProperties",
4569
- "privacy": "private",
4558
+ "name": "preprocessBody",
4570
4559
  "parameters": [
4571
4560
  {
4572
- "name": "apiKey",
4561
+ "name": "messages",
4573
4562
  "type": {
4574
- "text": "APIKey"
4563
+ "text": "MessageContent[]"
4575
4564
  }
4576
4565
  }
4577
- ],
4578
- "inheritedFrom": {
4579
- "name": "DirectServiceIO",
4566
+ ]
4567
+ },
4568
+ {
4569
+ "kind": "method",
4570
+ "name": "callServiceAPI",
4571
+ "parameters": [
4572
+ {
4573
+ "name": "messages",
4574
+ "type": {
4575
+ "text": "Messages"
4576
+ }
4577
+ },
4578
+ {
4579
+ "name": "pMessages",
4580
+ "type": {
4581
+ "text": "MessageContent[]"
4582
+ }
4583
+ }
4584
+ ],
4585
+ "inheritedFrom": {
4586
+ "name": "BaseServiceIO",
4587
+ "module": "src/services/utils/baseServiceIO.ts"
4588
+ }
4589
+ },
4590
+ {
4591
+ "kind": "method",
4592
+ "name": "extractResultData",
4593
+ "return": {
4594
+ "type": {
4595
+ "text": "Promise<Result>"
4596
+ }
4597
+ },
4598
+ "parameters": [
4599
+ {
4600
+ "name": "result",
4601
+ "type": {
4602
+ "text": "AzureTranslationResult"
4603
+ }
4604
+ }
4605
+ ],
4606
+ "inheritedFrom": {
4607
+ "name": "BaseServiceIO",
4608
+ "module": "src/services/utils/baseServiceIO.ts"
4609
+ }
4610
+ },
4611
+ {
4612
+ "kind": "field",
4613
+ "name": "key",
4614
+ "type": {
4615
+ "text": "string | undefined"
4616
+ },
4617
+ "inheritedFrom": {
4618
+ "name": "DirectServiceIO",
4619
+ "module": "src/services/utils/directServiceIO.ts"
4620
+ }
4621
+ },
4622
+ {
4623
+ "kind": "field",
4624
+ "name": "keyVerificationDetails",
4625
+ "type": {
4626
+ "text": "KeyVerificationDetails"
4627
+ },
4628
+ "privacy": "private",
4629
+ "default": "keyVerificationDetails",
4630
+ "inheritedFrom": {
4631
+ "name": "DirectServiceIO",
4632
+ "module": "src/services/utils/directServiceIO.ts"
4633
+ }
4634
+ },
4635
+ {
4636
+ "kind": "field",
4637
+ "name": "buildHeadersFunc",
4638
+ "type": {
4639
+ "text": "BuildHeadersFunc"
4640
+ },
4641
+ "privacy": "private",
4642
+ "default": "buildHeadersFunc",
4643
+ "inheritedFrom": {
4644
+ "name": "DirectServiceIO",
4645
+ "module": "src/services/utils/directServiceIO.ts"
4646
+ }
4647
+ },
4648
+ {
4649
+ "kind": "method",
4650
+ "name": "setApiKeyProperties",
4651
+ "privacy": "private",
4652
+ "parameters": [
4653
+ {
4654
+ "name": "apiKey",
4655
+ "type": {
4656
+ "text": "APIKey"
4657
+ }
4658
+ }
4659
+ ],
4660
+ "inheritedFrom": {
4661
+ "name": "DirectServiceIO",
4580
4662
  "module": "src/services/utils/directServiceIO.ts"
4581
4663
  }
4582
4664
  },
@@ -4888,35 +4970,6 @@
4888
4970
  "module": "src/services/utils/baseServiceIO.ts"
4889
4971
  }
4890
4972
  },
4891
- {
4892
- "kind": "method",
4893
- "name": "callServiceAPI",
4894
- "parameters": [
4895
- {
4896
- "name": "messages",
4897
- "type": {
4898
- "text": "Messages"
4899
- }
4900
- },
4901
- {
4902
- "name": "pMessages",
4903
- "type": {
4904
- "text": "MessageContent[]"
4905
- }
4906
- },
4907
- {
4908
- "name": "_",
4909
- "optional": true,
4910
- "type": {
4911
- "text": "File[]"
4912
- }
4913
- }
4914
- ],
4915
- "inheritedFrom": {
4916
- "name": "BaseServiceIO",
4917
- "module": "src/services/utils/baseServiceIO.ts"
4918
- }
4919
- },
4920
4973
  {
4921
4974
  "kind": "method",
4922
4975
  "name": "callApiWithFiles",
@@ -4972,27 +5025,6 @@
4972
5025
  "name": "BaseServiceIO",
4973
5026
  "module": "src/services/utils/baseServiceIO.ts"
4974
5027
  }
4975
- },
4976
- {
4977
- "kind": "method",
4978
- "name": "extractResultData",
4979
- "return": {
4980
- "type": {
4981
- "text": "Promise<Result | {pollingInAnotherRequest: true}>"
4982
- }
4983
- },
4984
- "parameters": [
4985
- {
4986
- "name": "result",
4987
- "type": {
4988
- "text": "any | CustomServiceResponse"
4989
- }
4990
- }
4991
- ],
4992
- "inheritedFrom": {
4993
- "name": "BaseServiceIO",
4994
- "module": "src/services/utils/baseServiceIO.ts"
4995
- }
4996
5028
  }
4997
5029
  ],
4998
5030
  "superclass": {
@@ -5004,80 +5036,60 @@
5004
5036
  "exports": [
5005
5037
  {
5006
5038
  "kind": "js",
5007
- "name": "AzureSpeechIO",
5039
+ "name": "AzureTranslationIO",
5008
5040
  "declaration": {
5009
- "name": "AzureSpeechIO",
5010
- "module": "src/services/azure/azureSpeechIO.ts"
5041
+ "name": "AzureTranslationIO",
5042
+ "module": "src/services/azure/azureTranslationIO.ts"
5011
5043
  }
5012
5044
  }
5013
5045
  ]
5014
5046
  },
5015
5047
  {
5016
5048
  "kind": "javascript-module",
5017
- "path": "src/services/azure/azureSpeechToTextIO.ts",
5049
+ "path": "src/services/cohere/cohereChatIO.ts",
5018
5050
  "declarations": [
5019
5051
  {
5020
5052
  "kind": "class",
5021
5053
  "description": "",
5022
- "name": "AzureSpeechToTextIO",
5054
+ "name": "CohereChatIO",
5023
5055
  "members": [
5024
5056
  {
5025
5057
  "kind": "field",
5026
- "name": "HELP_LINK",
5058
+ "name": "username",
5027
5059
  "type": {
5028
5060
  "text": "string"
5029
5061
  },
5030
5062
  "privacy": "private",
5031
- "static": true,
5032
- "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
5033
- },
5034
- {
5035
- "kind": "field",
5036
- "name": "introPanelMarkUp",
5037
- "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Speech To Text</b></div>\n <p><b>Upload a .wav or .ogg audio file</b> to transcribe it into text.\n <p>\n Click <a href=\"${AzureSpeechToTextIO.HELP_LINK}\">here</a> for more info.\n </p>`"
5038
- },
5039
- {
5040
- "kind": "field",
5041
- "name": "url",
5042
- "type": {
5043
- "text": "string"
5044
- },
5045
- "default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`"
5046
- },
5047
- {
5048
- "kind": "field",
5049
- "name": "isTextInputDisabled",
5050
- "type": {
5051
- "text": "boolean"
5052
- },
5053
- "default": "true"
5063
+ "default": "'USER'"
5054
5064
  },
5055
5065
  {
5056
- "kind": "field",
5057
- "name": "textInputPlaceholderText",
5058
- "type": {
5059
- "text": "string"
5060
- },
5061
- "default": "'Upload an audio file'"
5066
+ "kind": "method",
5067
+ "name": "cleanConfig",
5068
+ "privacy": "private",
5069
+ "parameters": [
5070
+ {
5071
+ "name": "config",
5072
+ "type": {
5073
+ "text": "CohereChatConfig"
5074
+ }
5075
+ }
5076
+ ]
5062
5077
  },
5063
5078
  {
5064
5079
  "kind": "method",
5065
- "name": "canFileSendMessage",
5080
+ "name": "preprocessBody",
5066
5081
  "privacy": "private",
5067
- "static": true,
5068
5082
  "parameters": [
5069
5083
  {
5070
- "name": "_",
5071
- "optional": true,
5084
+ "name": "body",
5072
5085
  "type": {
5073
- "text": "string"
5086
+ "text": "CohereChatConfig"
5074
5087
  }
5075
5088
  },
5076
5089
  {
5077
- "name": "files",
5078
- "optional": true,
5090
+ "name": "pMessages",
5079
5091
  "type": {
5080
- "text": "File[]"
5092
+ "text": "MessageContent[]"
5081
5093
  }
5082
5094
  }
5083
5095
  ]
@@ -5093,17 +5105,10 @@
5093
5105
  }
5094
5106
  },
5095
5107
  {
5096
- "name": "_",
5108
+ "name": "pMessages",
5097
5109
  "type": {
5098
5110
  "text": "MessageContent[]"
5099
5111
  }
5100
- },
5101
- {
5102
- "name": "files",
5103
- "optional": true,
5104
- "type": {
5105
- "text": "File[]"
5106
- }
5107
5112
  }
5108
5113
  ],
5109
5114
  "inheritedFrom": {
@@ -5123,7 +5128,7 @@
5123
5128
  {
5124
5129
  "name": "result",
5125
5130
  "type": {
5126
- "text": "AzureSpeechToTextResult"
5131
+ "text": "CohereChatResult"
5127
5132
  }
5128
5133
  }
5129
5134
  ],
@@ -5134,67 +5139,62 @@
5134
5139
  },
5135
5140
  {
5136
5141
  "kind": "field",
5137
- "name": "canSendMessage",
5138
- "privacy": "private",
5139
- "static": true,
5140
- "parameters": [
5141
- {
5142
- "name": "text",
5143
- "optional": true,
5144
- "type": {
5145
- "text": "string"
5146
- }
5147
- },
5148
- {
5149
- "name": "files",
5150
- "optional": true,
5151
- "type": {
5152
- "text": "File[]"
5153
- }
5154
- }
5155
- ],
5142
+ "name": "insertKeyPlaceholderText",
5156
5143
  "type": {
5157
- "text": "ValidateMessageBeforeSending"
5144
+ "text": "string"
5158
5145
  },
5146
+ "default": "'Cohere API Key'",
5159
5147
  "inheritedFrom": {
5160
- "name": "BaseServiceIO",
5161
- "module": "src/services/utils/baseServiceIO.ts"
5148
+ "name": "DirectServiceIO",
5149
+ "module": "src/services/utils/directServiceIO.ts"
5162
5150
  }
5163
5151
  },
5164
5152
  {
5165
5153
  "kind": "field",
5166
- "name": "recordAudio",
5154
+ "name": "getKeyLink",
5167
5155
  "type": {
5168
- "text": "MicrophoneFilesServiceConfig | undefined"
5156
+ "text": "string"
5169
5157
  },
5158
+ "default": "'https://dashboard.cohere.ai/api-keys'",
5170
5159
  "inheritedFrom": {
5171
- "name": "BaseServiceIO",
5172
- "module": "src/services/utils/baseServiceIO.ts"
5173
- },
5174
- "default": "undefined"
5160
+ "name": "DirectServiceIO",
5161
+ "module": "src/services/utils/directServiceIO.ts"
5162
+ }
5175
5163
  },
5176
5164
  {
5177
5165
  "kind": "field",
5178
- "name": "insertKeyPlaceholderText",
5166
+ "name": "textInputPlaceholderText",
5179
5167
  "type": {
5180
5168
  "text": "string"
5181
5169
  },
5182
- "default": "'Azure Speech Subscription Key'",
5170
+ "default": "inputPlaceholder",
5183
5171
  "inheritedFrom": {
5184
- "name": "DirectServiceIO",
5185
- "module": "src/services/utils/directServiceIO.ts"
5172
+ "name": "CohereIO",
5173
+ "module": "src/services/cohere/cohereIO.ts"
5186
5174
  }
5187
5175
  },
5188
5176
  {
5189
5177
  "kind": "field",
5190
- "name": "getKeyLink",
5178
+ "name": "permittedErrorPrefixes",
5179
+ "type": {
5180
+ "text": "array"
5181
+ },
5182
+ "default": "['invalid']",
5183
+ "inheritedFrom": {
5184
+ "name": "CohereIO",
5185
+ "module": "src/services/cohere/cohereIO.ts"
5186
+ }
5187
+ },
5188
+ {
5189
+ "kind": "field",
5190
+ "name": "url",
5191
5191
  "type": {
5192
5192
  "text": "string"
5193
5193
  },
5194
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
5194
+ "default": "url",
5195
5195
  "inheritedFrom": {
5196
- "name": "DirectServiceIO",
5197
- "module": "src/services/utils/directServiceIO.ts"
5196
+ "name": "CohereIO",
5197
+ "module": "src/services/cohere/cohereIO.ts"
5198
5198
  }
5199
5199
  },
5200
5200
  {
@@ -5368,6 +5368,35 @@
5368
5368
  "module": "src/services/utils/baseServiceIO.ts"
5369
5369
  }
5370
5370
  },
5371
+ {
5372
+ "kind": "field",
5373
+ "name": "canSendMessage",
5374
+ "privacy": "private",
5375
+ "static": true,
5376
+ "parameters": [
5377
+ {
5378
+ "name": "text",
5379
+ "optional": true,
5380
+ "type": {
5381
+ "text": "string"
5382
+ }
5383
+ },
5384
+ {
5385
+ "name": "files",
5386
+ "optional": true,
5387
+ "type": {
5388
+ "text": "File[]"
5389
+ }
5390
+ }
5391
+ ],
5392
+ "type": {
5393
+ "text": "ValidateMessageBeforeSending"
5394
+ },
5395
+ "inheritedFrom": {
5396
+ "name": "BaseServiceIO",
5397
+ "module": "src/services/utils/baseServiceIO.ts"
5398
+ }
5399
+ },
5371
5400
  {
5372
5401
  "kind": "field",
5373
5402
  "name": "fileTypes",
@@ -5391,6 +5420,17 @@
5391
5420
  "module": "src/services/utils/baseServiceIO.ts"
5392
5421
  }
5393
5422
  },
5423
+ {
5424
+ "kind": "field",
5425
+ "name": "recordAudio",
5426
+ "type": {
5427
+ "text": "MicrophoneFilesServiceConfig | undefined"
5428
+ },
5429
+ "inheritedFrom": {
5430
+ "name": "BaseServiceIO",
5431
+ "module": "src/services/utils/baseServiceIO.ts"
5432
+ }
5433
+ },
5394
5434
  {
5395
5435
  "kind": "field",
5396
5436
  "name": "totalMessagesMaxCharLength",
@@ -5577,148 +5617,50 @@
5577
5617
  }
5578
5618
  ],
5579
5619
  "superclass": {
5580
- "name": "AzureSpeechIO",
5581
- "module": "/src/services/azure/azureSpeechIO"
5620
+ "name": "CohereIO",
5621
+ "module": "/src/services/cohere/cohereIO"
5582
5622
  }
5583
5623
  }
5584
5624
  ],
5585
5625
  "exports": [
5586
5626
  {
5587
5627
  "kind": "js",
5588
- "name": "AzureSpeechToTextIO",
5628
+ "name": "CohereChatIO",
5589
5629
  "declaration": {
5590
- "name": "AzureSpeechToTextIO",
5591
- "module": "src/services/azure/azureSpeechToTextIO.ts"
5630
+ "name": "CohereChatIO",
5631
+ "module": "src/services/cohere/cohereChatIO.ts"
5592
5632
  }
5593
5633
  }
5594
5634
  ]
5595
5635
  },
5596
5636
  {
5597
5637
  "kind": "javascript-module",
5598
- "path": "src/services/azure/azureSummarizationIO.ts",
5638
+ "path": "src/services/cohere/cohereIO.ts",
5599
5639
  "declarations": [
5600
5640
  {
5601
5641
  "kind": "class",
5602
5642
  "description": "",
5603
- "name": "AzureSummarizationIO",
5643
+ "name": "CohereIO",
5604
5644
  "members": [
5605
5645
  {
5606
5646
  "kind": "field",
5607
- "name": "url",
5608
- "type": {
5609
- "text": "string"
5610
- },
5611
- "default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`"
5612
- },
5613
- {
5614
- "kind": "field",
5615
- "name": "textInputPlaceholderText",
5647
+ "name": "insertKeyPlaceholderText",
5616
5648
  "type": {
5617
5649
  "text": "string"
5618
5650
  },
5619
- "default": "'Insert text to summarize'"
5620
- },
5621
- {
5622
- "kind": "field",
5623
- "name": "messages",
5624
- "type": {
5625
- "text": "Messages | undefined"
5626
- },
5627
- "privacy": "private"
5628
- },
5629
- {
5630
- "kind": "method",
5631
- "name": "preprocessBody",
5632
- "parameters": [
5633
- {
5634
- "name": "body",
5635
- "type": {
5636
- "text": "RawBody"
5637
- }
5638
- },
5639
- {
5640
- "name": "messages",
5641
- "type": {
5642
- "text": "MessageContent[]"
5643
- }
5644
- }
5645
- ]
5646
- },
5647
- {
5648
- "kind": "method",
5649
- "name": "callServiceAPI",
5650
- "parameters": [
5651
- {
5652
- "name": "messages",
5653
- "type": {
5654
- "text": "Messages"
5655
- }
5656
- },
5657
- {
5658
- "name": "pMessages",
5659
- "type": {
5660
- "text": "MessageContent[]"
5661
- }
5662
- }
5663
- ],
5664
- "inheritedFrom": {
5665
- "name": "BaseServiceIO",
5666
- "module": "src/services/utils/baseServiceIO.ts"
5667
- }
5668
- },
5669
- {
5670
- "kind": "method",
5671
- "name": "extractResultData",
5672
- "return": {
5673
- "type": {
5674
- "text": "Promise<{pollingInAnotherRequest: true}>"
5675
- }
5676
- },
5677
- "parameters": [
5678
- {
5679
- "name": "result",
5680
- "type": {
5681
- "text": "Response & AzureAuthenticationError"
5682
- }
5683
- }
5684
- ],
5651
+ "default": "'Cohere API Key'",
5685
5652
  "inheritedFrom": {
5686
- "name": "BaseServiceIO",
5687
- "module": "src/services/utils/baseServiceIO.ts"
5653
+ "name": "DirectServiceIO",
5654
+ "module": "src/services/utils/directServiceIO.ts"
5688
5655
  }
5689
5656
  },
5690
- {
5691
- "kind": "method",
5692
- "name": "extractPollResultData",
5693
- "return": {
5694
- "type": {
5695
- "text": "PollResult"
5696
- }
5697
- },
5698
- "parameters": [
5699
- {
5700
- "name": "result",
5701
- "type": {
5702
- "text": "AzureSummarizationResult"
5703
- }
5704
- }
5705
- ]
5706
- },
5707
- {
5708
- "kind": "field",
5709
- "name": "language",
5710
- "type": {
5711
- "text": "string"
5712
- },
5713
- "default": "'en'"
5714
- },
5715
5657
  {
5716
5658
  "kind": "field",
5717
- "name": "insertKeyPlaceholderText",
5659
+ "name": "getKeyLink",
5718
5660
  "type": {
5719
5661
  "text": "string"
5720
5662
  },
5721
- "default": "'Azure Language Subscription Key'",
5663
+ "default": "'https://dashboard.cohere.ai/api-keys'",
5722
5664
  "inheritedFrom": {
5723
5665
  "name": "DirectServiceIO",
5724
5666
  "module": "src/services/utils/directServiceIO.ts"
@@ -5726,15 +5668,11 @@
5726
5668
  },
5727
5669
  {
5728
5670
  "kind": "field",
5729
- "name": "getKeyLink",
5671
+ "name": "textInputPlaceholderText",
5730
5672
  "type": {
5731
5673
  "text": "string"
5732
5674
  },
5733
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
5734
- "inheritedFrom": {
5735
- "name": "DirectServiceIO",
5736
- "module": "src/services/utils/directServiceIO.ts"
5737
- }
5675
+ "default": "inputPlaceholder"
5738
5676
  },
5739
5677
  {
5740
5678
  "kind": "field",
@@ -5742,11 +5680,15 @@
5742
5680
  "type": {
5743
5681
  "text": "array"
5744
5682
  },
5745
- "default": "['Access']",
5746
- "inheritedFrom": {
5747
- "name": "AzureLanguageIO",
5748
- "module": "src/services/azure/azureLanguageIO.ts"
5749
- }
5683
+ "default": "['invalid']"
5684
+ },
5685
+ {
5686
+ "kind": "field",
5687
+ "name": "url",
5688
+ "type": {
5689
+ "text": "string"
5690
+ },
5691
+ "default": "url"
5750
5692
  },
5751
5693
  {
5752
5694
  "kind": "field",
@@ -6110,6 +6052,35 @@
6110
6052
  "module": "src/services/utils/baseServiceIO.ts"
6111
6053
  }
6112
6054
  },
6055
+ {
6056
+ "kind": "method",
6057
+ "name": "callServiceAPI",
6058
+ "parameters": [
6059
+ {
6060
+ "name": "messages",
6061
+ "type": {
6062
+ "text": "Messages"
6063
+ }
6064
+ },
6065
+ {
6066
+ "name": "pMessages",
6067
+ "type": {
6068
+ "text": "MessageContent[]"
6069
+ }
6070
+ },
6071
+ {
6072
+ "name": "_",
6073
+ "optional": true,
6074
+ "type": {
6075
+ "text": "File[]"
6076
+ }
6077
+ }
6078
+ ],
6079
+ "inheritedFrom": {
6080
+ "name": "BaseServiceIO",
6081
+ "module": "src/services/utils/baseServiceIO.ts"
6082
+ }
6083
+ },
6113
6084
  {
6114
6085
  "kind": "method",
6115
6086
  "name": "callApiWithFiles",
@@ -6165,57 +6136,55 @@
6165
6136
  "name": "BaseServiceIO",
6166
6137
  "module": "src/services/utils/baseServiceIO.ts"
6167
6138
  }
6168
- }
6169
- ],
6170
- "superclass": {
6171
- "name": "AzureLanguageIO",
6172
- "module": "/src/services/azure/azureLanguageIO"
6173
- }
6174
- }
6139
+ },
6140
+ {
6141
+ "kind": "method",
6142
+ "name": "extractResultData",
6143
+ "return": {
6144
+ "type": {
6145
+ "text": "Promise<Result | {pollingInAnotherRequest: true}>"
6146
+ }
6147
+ },
6148
+ "parameters": [
6149
+ {
6150
+ "name": "result",
6151
+ "type": {
6152
+ "text": "any | CustomServiceResponse"
6153
+ }
6154
+ }
6155
+ ],
6156
+ "inheritedFrom": {
6157
+ "name": "BaseServiceIO",
6158
+ "module": "src/services/utils/baseServiceIO.ts"
6159
+ }
6160
+ }
6161
+ ],
6162
+ "superclass": {
6163
+ "name": "DirectServiceIO",
6164
+ "module": "/src/services/utils/directServiceIO"
6165
+ }
6166
+ }
6175
6167
  ],
6176
6168
  "exports": [
6177
6169
  {
6178
6170
  "kind": "js",
6179
- "name": "AzureSummarizationIO",
6171
+ "name": "CohereIO",
6180
6172
  "declaration": {
6181
- "name": "AzureSummarizationIO",
6182
- "module": "src/services/azure/azureSummarizationIO.ts"
6173
+ "name": "CohereIO",
6174
+ "module": "src/services/cohere/cohereIO.ts"
6183
6175
  }
6184
6176
  }
6185
6177
  ]
6186
6178
  },
6187
6179
  {
6188
6180
  "kind": "javascript-module",
6189
- "path": "src/services/azure/azureTextToSpeechIO.ts",
6181
+ "path": "src/services/cohere/cohereSummarizationIO.ts",
6190
6182
  "declarations": [
6191
6183
  {
6192
6184
  "kind": "class",
6193
6185
  "description": "",
6194
- "name": "AzureTextToSpeechIO",
6186
+ "name": "CohereSummarizationIO",
6195
6187
  "members": [
6196
- {
6197
- "kind": "field",
6198
- "name": "HELP_LINK",
6199
- "type": {
6200
- "text": "string"
6201
- },
6202
- "privacy": "private",
6203
- "static": true,
6204
- "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'"
6205
- },
6206
- {
6207
- "kind": "field",
6208
- "name": "introPanelMarkUp",
6209
- "default": "`\n <div style=\"width: 100%; text-align: center; margin-left: -10px\"><b>Azure Text To Speech</b></div>\n <p>Insert text to synthesize it to audio.\n <p>\n Click <a href=\"${AzureTextToSpeechIO.HELP_LINK}\">here</a> for more info.\n </p>`"
6210
- },
6211
- {
6212
- "kind": "field",
6213
- "name": "url",
6214
- "type": {
6215
- "text": "string"
6216
- },
6217
- "default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`"
6218
- },
6219
6188
  {
6220
6189
  "kind": "method",
6221
6190
  "name": "preprocessBody",
@@ -6223,7 +6192,7 @@
6223
6192
  {
6224
6193
  "name": "body",
6225
6194
  "type": {
6226
- "text": "AzureTextToSpeechConfig"
6195
+ "text": "CohereSummarizationConfig"
6227
6196
  }
6228
6197
  },
6229
6198
  {
@@ -6268,7 +6237,7 @@
6268
6237
  {
6269
6238
  "name": "result",
6270
6239
  "type": {
6271
- "text": "AzureTextToSpeechResult"
6240
+ "text": "CohereSummarizationResult"
6272
6241
  }
6273
6242
  }
6274
6243
  ],
@@ -6279,50 +6248,62 @@
6279
6248
  },
6280
6249
  {
6281
6250
  "kind": "field",
6282
- "name": "lang",
6251
+ "name": "insertKeyPlaceholderText",
6283
6252
  "type": {
6284
6253
  "text": "string"
6285
6254
  },
6286
- "default": "'en-US'"
6255
+ "default": "'Cohere API Key'",
6256
+ "inheritedFrom": {
6257
+ "name": "DirectServiceIO",
6258
+ "module": "src/services/utils/directServiceIO.ts"
6259
+ }
6287
6260
  },
6288
6261
  {
6289
6262
  "kind": "field",
6290
- "name": "name",
6263
+ "name": "getKeyLink",
6291
6264
  "type": {
6292
6265
  "text": "string"
6293
6266
  },
6294
- "default": "'en-US-JennyNeural'"
6267
+ "default": "'https://dashboard.cohere.ai/api-keys'",
6268
+ "inheritedFrom": {
6269
+ "name": "DirectServiceIO",
6270
+ "module": "src/services/utils/directServiceIO.ts"
6271
+ }
6295
6272
  },
6296
6273
  {
6297
6274
  "kind": "field",
6298
- "name": "gender",
6275
+ "name": "textInputPlaceholderText",
6299
6276
  "type": {
6300
6277
  "text": "string"
6301
6278
  },
6302
- "default": "'Female'"
6279
+ "default": "inputPlaceholder",
6280
+ "inheritedFrom": {
6281
+ "name": "CohereIO",
6282
+ "module": "src/services/cohere/cohereIO.ts"
6283
+ }
6303
6284
  },
6304
6285
  {
6305
6286
  "kind": "field",
6306
- "name": "insertKeyPlaceholderText",
6287
+ "name": "permittedErrorPrefixes",
6307
6288
  "type": {
6308
- "text": "string"
6289
+ "text": "array"
6309
6290
  },
6310
- "default": "'Azure Speech Subscription Key'",
6291
+ "default": "['invalid']",
6311
6292
  "inheritedFrom": {
6312
- "name": "DirectServiceIO",
6313
- "module": "src/services/utils/directServiceIO.ts"
6293
+ "name": "CohereIO",
6294
+ "module": "src/services/cohere/cohereIO.ts"
6314
6295
  }
6315
6296
  },
6316
6297
  {
6317
6298
  "kind": "field",
6318
- "name": "getKeyLink",
6299
+ "name": "url",
6319
6300
  "type": {
6320
6301
  "text": "string"
6321
6302
  },
6322
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
6303
+ "default": "url",
6323
6304
  "inheritedFrom": {
6324
- "name": "DirectServiceIO",
6325
- "module": "src/services/utils/directServiceIO.ts"
6305
+ "name": "CohereIO",
6306
+ "module": "src/services/cohere/cohereIO.ts"
6326
6307
  }
6327
6308
  },
6328
6309
  {
@@ -6745,67 +6726,41 @@
6745
6726
  }
6746
6727
  ],
6747
6728
  "superclass": {
6748
- "name": "AzureSpeechIO",
6749
- "module": "/src/services/azure/azureSpeechIO"
6729
+ "name": "CohereIO",
6730
+ "module": "/src/services/cohere/cohereIO"
6750
6731
  }
6751
6732
  }
6752
6733
  ],
6753
6734
  "exports": [
6754
6735
  {
6755
6736
  "kind": "js",
6756
- "name": "AzureTextToSpeechIO",
6737
+ "name": "CohereSummarizationIO",
6757
6738
  "declaration": {
6758
- "name": "AzureTextToSpeechIO",
6759
- "module": "src/services/azure/azureTextToSpeechIO.ts"
6739
+ "name": "CohereSummarizationIO",
6740
+ "module": "src/services/cohere/cohereSummarizationIO.ts"
6760
6741
  }
6761
6742
  }
6762
6743
  ]
6763
6744
  },
6764
6745
  {
6765
6746
  "kind": "javascript-module",
6766
- "path": "src/services/azure/azureTranslationIO.ts",
6747
+ "path": "src/services/cohere/cohereTextGenerationIO.ts",
6767
6748
  "declarations": [
6768
6749
  {
6769
6750
  "kind": "class",
6770
6751
  "description": "",
6771
- "name": "AzureTranslationIO",
6752
+ "name": "CohereTextGenerationIO",
6772
6753
  "members": [
6773
- {
6774
- "kind": "field",
6775
- "name": "insertKeyPlaceholderText",
6776
- "type": {
6777
- "text": "string"
6778
- },
6779
- "default": "'Azure Translate Subscription Key'",
6780
- "inheritedFrom": {
6781
- "name": "DirectServiceIO",
6782
- "module": "src/services/utils/directServiceIO.ts"
6783
- }
6784
- },
6785
- {
6786
- "kind": "field",
6787
- "name": "getKeyLink",
6788
- "type": {
6789
- "text": "string"
6790
- },
6791
- "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'",
6792
- "inheritedFrom": {
6793
- "name": "DirectServiceIO",
6794
- "module": "src/services/utils/directServiceIO.ts"
6795
- }
6796
- },
6797
- {
6798
- "kind": "field",
6799
- "name": "url",
6800
- "type": {
6801
- "text": "string"
6802
- },
6803
- "default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`"
6804
- },
6805
6754
  {
6806
6755
  "kind": "method",
6807
6756
  "name": "preprocessBody",
6808
6757
  "parameters": [
6758
+ {
6759
+ "name": "body",
6760
+ "type": {
6761
+ "text": "CohereGenerateConfig"
6762
+ }
6763
+ },
6809
6764
  {
6810
6765
  "name": "messages",
6811
6766
  "type": {
@@ -6848,7 +6803,7 @@
6848
6803
  {
6849
6804
  "name": "result",
6850
6805
  "type": {
6851
- "text": "AzureTranslationResult"
6806
+ "text": "CohereCompletionsResult"
6852
6807
  }
6853
6808
  }
6854
6809
  ],
@@ -6857,6 +6812,66 @@
6857
6812
  "module": "src/services/utils/baseServiceIO.ts"
6858
6813
  }
6859
6814
  },
6815
+ {
6816
+ "kind": "field",
6817
+ "name": "insertKeyPlaceholderText",
6818
+ "type": {
6819
+ "text": "string"
6820
+ },
6821
+ "default": "'Cohere API Key'",
6822
+ "inheritedFrom": {
6823
+ "name": "DirectServiceIO",
6824
+ "module": "src/services/utils/directServiceIO.ts"
6825
+ }
6826
+ },
6827
+ {
6828
+ "kind": "field",
6829
+ "name": "getKeyLink",
6830
+ "type": {
6831
+ "text": "string"
6832
+ },
6833
+ "default": "'https://dashboard.cohere.ai/api-keys'",
6834
+ "inheritedFrom": {
6835
+ "name": "DirectServiceIO",
6836
+ "module": "src/services/utils/directServiceIO.ts"
6837
+ }
6838
+ },
6839
+ {
6840
+ "kind": "field",
6841
+ "name": "textInputPlaceholderText",
6842
+ "type": {
6843
+ "text": "string"
6844
+ },
6845
+ "default": "inputPlaceholder",
6846
+ "inheritedFrom": {
6847
+ "name": "CohereIO",
6848
+ "module": "src/services/cohere/cohereIO.ts"
6849
+ }
6850
+ },
6851
+ {
6852
+ "kind": "field",
6853
+ "name": "permittedErrorPrefixes",
6854
+ "type": {
6855
+ "text": "array"
6856
+ },
6857
+ "default": "['invalid']",
6858
+ "inheritedFrom": {
6859
+ "name": "CohereIO",
6860
+ "module": "src/services/cohere/cohereIO.ts"
6861
+ }
6862
+ },
6863
+ {
6864
+ "kind": "field",
6865
+ "name": "url",
6866
+ "type": {
6867
+ "text": "string"
6868
+ },
6869
+ "default": "url",
6870
+ "inheritedFrom": {
6871
+ "name": "CohereIO",
6872
+ "module": "src/services/cohere/cohereIO.ts"
6873
+ }
6874
+ },
6860
6875
  {
6861
6876
  "kind": "field",
6862
6877
  "name": "key",
@@ -7277,18 +7292,18 @@
7277
7292
  }
7278
7293
  ],
7279
7294
  "superclass": {
7280
- "name": "DirectServiceIO",
7281
- "module": "/src/services/utils/directServiceIO"
7295
+ "name": "CohereIO",
7296
+ "module": "/src/services/cohere/cohereIO"
7282
7297
  }
7283
7298
  }
7284
7299
  ],
7285
7300
  "exports": [
7286
7301
  {
7287
7302
  "kind": "js",
7288
- "name": "AzureTranslationIO",
7303
+ "name": "CohereTextGenerationIO",
7289
7304
  "declaration": {
7290
- "name": "AzureTranslationIO",
7291
- "module": "src/services/azure/azureTranslationIO.ts"
7305
+ "name": "CohereTextGenerationIO",
7306
+ "module": "src/services/cohere/cohereTextGenerationIO.ts"
7292
7307
  }
7293
7308
  }
7294
7309
  ]
@@ -21657,45 +21672,94 @@
21657
21672
  },
21658
21673
  {
21659
21674
  "kind": "javascript-module",
21660
- "path": "src/utils/HTTP/requestUtils.ts",
21675
+ "path": "src/utils/HTTP/customRequest.ts",
21661
21676
  "declarations": [
21662
21677
  {
21663
21678
  "kind": "class",
21664
21679
  "description": "",
21665
- "name": "RequestUtils",
21680
+ "name": "CustomRequest",
21666
21681
  "members": [
21667
- {
21668
- "kind": "field",
21669
- "name": "CONTENT_TYPE",
21670
- "type": {
21671
- "text": "string"
21672
- },
21673
- "privacy": "public",
21674
- "static": true,
21675
- "default": "'Content-Type'"
21676
- },
21677
21682
  {
21678
21683
  "kind": "method",
21679
- "name": "temporarilyRemoveHeader",
21684
+ "name": "request",
21680
21685
  "privacy": "public",
21681
21686
  "static": true,
21682
21687
  "parameters": [
21683
21688
  {
21684
- "name": "requestSettings",
21689
+ "name": "io",
21685
21690
  "type": {
21686
- "text": "Request | undefined"
21691
+ "text": "ServiceIO"
21687
21692
  }
21688
21693
  },
21689
21694
  {
21690
- "name": "request",
21695
+ "name": "body",
21691
21696
  "type": {
21692
- "text": "(stringifyBody?: boolean) => Promise<void>"
21697
+ "text": "RequestDetails['body']"
21693
21698
  }
21694
21699
  },
21695
21700
  {
21696
- "name": "stringifyBody",
21701
+ "name": "messages",
21697
21702
  "type": {
21698
- "text": "boolean"
21703
+ "text": "Messages"
21704
+ }
21705
+ }
21706
+ ]
21707
+ }
21708
+ ]
21709
+ }
21710
+ ],
21711
+ "exports": [
21712
+ {
21713
+ "kind": "js",
21714
+ "name": "CustomRequest",
21715
+ "declaration": {
21716
+ "name": "CustomRequest",
21717
+ "module": "src/utils/HTTP/customRequest.ts"
21718
+ }
21719
+ }
21720
+ ]
21721
+ },
21722
+ {
21723
+ "kind": "javascript-module",
21724
+ "path": "src/utils/HTTP/requestUtils.ts",
21725
+ "declarations": [
21726
+ {
21727
+ "kind": "class",
21728
+ "description": "",
21729
+ "name": "RequestUtils",
21730
+ "members": [
21731
+ {
21732
+ "kind": "field",
21733
+ "name": "CONTENT_TYPE",
21734
+ "type": {
21735
+ "text": "string"
21736
+ },
21737
+ "privacy": "public",
21738
+ "static": true,
21739
+ "default": "'Content-Type'"
21740
+ },
21741
+ {
21742
+ "kind": "method",
21743
+ "name": "temporarilyRemoveHeader",
21744
+ "privacy": "public",
21745
+ "static": true,
21746
+ "parameters": [
21747
+ {
21748
+ "name": "requestSettings",
21749
+ "type": {
21750
+ "text": "Request | undefined"
21751
+ }
21752
+ },
21753
+ {
21754
+ "name": "request",
21755
+ "type": {
21756
+ "text": "(stringifyBody?: boolean) => Promise<void>"
21757
+ }
21758
+ },
21759
+ {
21760
+ "name": "stringifyBody",
21761
+ "type": {
21762
+ "text": "boolean"
21699
21763
  }
21700
21764
  }
21701
21765
  ]
@@ -21978,7 +22042,7 @@
21978
22042
  {
21979
22043
  "kind": "method",
21980
22044
  "name": "connect",
21981
- "privacy": "public",
22045
+ "privacy": "private",
21982
22046
  "static": true,
21983
22047
  "parameters": [
21984
22048
  {
@@ -22792,6 +22856,20 @@
22792
22856
  }
22793
22857
  ]
22794
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
+ },
22795
22873
  {
22796
22874
  "kind": "method",
22797
22875
  "name": "onRender",
@@ -23193,86 +23271,6 @@
23193
23271
  }
23194
23272
  ]
23195
23273
  },
23196
- {
23197
- "kind": "javascript-module",
23198
- "path": "src/services/cohere/utils/cohereUtils.ts",
23199
- "declarations": [
23200
- {
23201
- "kind": "class",
23202
- "description": "",
23203
- "name": "CohereUtils",
23204
- "members": [
23205
- {
23206
- "kind": "method",
23207
- "name": "buildHeaders",
23208
- "privacy": "public",
23209
- "static": true,
23210
- "parameters": [
23211
- {
23212
- "name": "key",
23213
- "type": {
23214
- "text": "string"
23215
- }
23216
- }
23217
- ]
23218
- },
23219
- {
23220
- "kind": "method",
23221
- "name": "handleVerificationResult",
23222
- "privacy": "private",
23223
- "static": true,
23224
- "parameters": [
23225
- {
23226
- "name": "result",
23227
- "type": {
23228
- "text": "object"
23229
- }
23230
- },
23231
- {
23232
- "name": "key",
23233
- "type": {
23234
- "text": "string"
23235
- }
23236
- },
23237
- {
23238
- "name": "onSuccess",
23239
- "type": {
23240
- "text": "(key: string) => void"
23241
- }
23242
- },
23243
- {
23244
- "name": "onFail",
23245
- "type": {
23246
- "text": "(message: string) => void"
23247
- }
23248
- }
23249
- ]
23250
- },
23251
- {
23252
- "kind": "method",
23253
- "name": "buildKeyVerificationDetails",
23254
- "privacy": "public",
23255
- "static": true,
23256
- "return": {
23257
- "type": {
23258
- "text": "KeyVerificationDetails"
23259
- }
23260
- }
23261
- }
23262
- ]
23263
- }
23264
- ],
23265
- "exports": [
23266
- {
23267
- "kind": "js",
23268
- "name": "CohereUtils",
23269
- "declaration": {
23270
- "name": "CohereUtils",
23271
- "module": "src/services/cohere/utils/cohereUtils.ts"
23272
- }
23273
- }
23274
- ]
23275
- },
23276
23274
  {
23277
23275
  "kind": "javascript-module",
23278
23276
  "path": "src/services/azure/utils/azureUtils.ts",
@@ -23518,6 +23516,86 @@
23518
23516
  }
23519
23517
  ]
23520
23518
  },
23519
+ {
23520
+ "kind": "javascript-module",
23521
+ "path": "src/services/cohere/utils/cohereUtils.ts",
23522
+ "declarations": [
23523
+ {
23524
+ "kind": "class",
23525
+ "description": "",
23526
+ "name": "CohereUtils",
23527
+ "members": [
23528
+ {
23529
+ "kind": "method",
23530
+ "name": "buildHeaders",
23531
+ "privacy": "public",
23532
+ "static": true,
23533
+ "parameters": [
23534
+ {
23535
+ "name": "key",
23536
+ "type": {
23537
+ "text": "string"
23538
+ }
23539
+ }
23540
+ ]
23541
+ },
23542
+ {
23543
+ "kind": "method",
23544
+ "name": "handleVerificationResult",
23545
+ "privacy": "private",
23546
+ "static": true,
23547
+ "parameters": [
23548
+ {
23549
+ "name": "result",
23550
+ "type": {
23551
+ "text": "object"
23552
+ }
23553
+ },
23554
+ {
23555
+ "name": "key",
23556
+ "type": {
23557
+ "text": "string"
23558
+ }
23559
+ },
23560
+ {
23561
+ "name": "onSuccess",
23562
+ "type": {
23563
+ "text": "(key: string) => void"
23564
+ }
23565
+ },
23566
+ {
23567
+ "name": "onFail",
23568
+ "type": {
23569
+ "text": "(message: string) => void"
23570
+ }
23571
+ }
23572
+ ]
23573
+ },
23574
+ {
23575
+ "kind": "method",
23576
+ "name": "buildKeyVerificationDetails",
23577
+ "privacy": "public",
23578
+ "static": true,
23579
+ "return": {
23580
+ "type": {
23581
+ "text": "KeyVerificationDetails"
23582
+ }
23583
+ }
23584
+ }
23585
+ ]
23586
+ }
23587
+ ],
23588
+ "exports": [
23589
+ {
23590
+ "kind": "js",
23591
+ "name": "CohereUtils",
23592
+ "declaration": {
23593
+ "name": "CohereUtils",
23594
+ "module": "src/services/cohere/utils/cohereUtils.ts"
23595
+ }
23596
+ }
23597
+ ]
23598
+ },
23521
23599
  {
23522
23600
  "kind": "javascript-module",
23523
23601
  "path": "src/services/huggingFace/utils/huggingFaceUtils.ts",
@@ -24115,6 +24193,11 @@
24115
24193
  "kind": "method",
24116
24194
  "name": "hide",
24117
24195
  "privacy": "public"
24196
+ },
24197
+ {
24198
+ "kind": "method",
24199
+ "name": "display",
24200
+ "privacy": "public"
24118
24201
  }
24119
24202
  ]
24120
24203
  }
@@ -24885,6 +24968,14 @@
24885
24968
  },
24886
24969
  "privacy": "private"
24887
24970
  },
24971
+ {
24972
+ "kind": "field",
24973
+ "name": "_onClearMessages",
24974
+ "type": {
24975
+ "text": "() => void | undefined"
24976
+ },
24977
+ "privacy": "private"
24978
+ },
24888
24979
  {
24889
24980
  "kind": "field",
24890
24981
  "name": "_displayLoadingMessage",
@@ -24934,6 +25025,14 @@
24934
25025
  },
24935
25026
  "privacy": "private"
24936
25027
  },
25028
+ {
25029
+ "kind": "field",
25030
+ "name": "_introMessage",
25031
+ "type": {
25032
+ "text": "string | undefined"
25033
+ },
25034
+ "privacy": "private"
25035
+ },
24937
25036
  {
24938
25037
  "kind": "field",
24939
25038
  "name": "_streamedText",
@@ -25004,6 +25103,7 @@
25004
25103
  "parameters": [
25005
25104
  {
25006
25105
  "name": "introMessage",
25106
+ "optional": true,
25007
25107
  "type": {
25008
25108
  "text": "string"
25009
25109
  }
@@ -25415,11 +25515,25 @@
25415
25515
  },
25416
25516
  {
25417
25517
  "kind": "method",
25418
- "name": "refreshTextMessages",
25419
- "privacy": "private"
25420
- },
25421
- {
25422
- "kind": "field",
25518
+ "name": "clearMessages",
25519
+ "privacy": "private",
25520
+ "parameters": [
25521
+ {
25522
+ "name": "isReset",
25523
+ "optional": true,
25524
+ "type": {
25525
+ "text": "boolean"
25526
+ }
25527
+ }
25528
+ ]
25529
+ },
25530
+ {
25531
+ "kind": "method",
25532
+ "name": "refreshTextMessages",
25533
+ "privacy": "private"
25534
+ },
25535
+ {
25536
+ "kind": "field",
25423
25537
  "name": "getMessages"
25424
25538
  },
25425
25539
  {
@@ -26106,360 +26220,404 @@
26106
26220
  },
26107
26221
  {
26108
26222
  "kind": "javascript-module",
26109
- "path": "src/views/chat/input/textInput/focusUtils.ts",
26223
+ "path": "src/views/chat/input/dropup/dropup.ts",
26110
26224
  "declarations": [
26111
26225
  {
26112
26226
  "kind": "class",
26113
26227
  "description": "",
26114
- "name": "FocusUtils",
26228
+ "name": "Dropup",
26115
26229
  "members": [
26230
+ {
26231
+ "kind": "field",
26232
+ "name": "_menu",
26233
+ "type": {
26234
+ "text": "DropupMenu"
26235
+ },
26236
+ "privacy": "private",
26237
+ "default": "new DropupMenu(containerElement, styles?.menu)"
26238
+ },
26239
+ {
26240
+ "kind": "field",
26241
+ "name": "buttonContainer",
26242
+ "type": {
26243
+ "text": "HTMLElement"
26244
+ }
26245
+ },
26116
26246
  {
26117
26247
  "kind": "method",
26118
- "name": "focusEndOfInput",
26119
- "privacy": "public",
26120
- "static": true,
26121
- "parameters": [
26122
- {
26123
- "name": "inputElement",
26124
- "type": {
26125
- "text": "HTMLElement"
26126
- }
26127
- }
26128
- ]
26248
+ "name": "createButtonElement",
26249
+ "privacy": "private",
26250
+ "static": true
26129
26251
  },
26130
26252
  {
26131
26253
  "kind": "method",
26132
- "name": "focusFromParentElement",
26133
- "privacy": "public",
26134
- "static": true,
26254
+ "name": "createInnerElements",
26255
+ "privacy": "private",
26135
26256
  "parameters": [
26136
26257
  {
26137
- "name": "parentElement",
26258
+ "name": "customStyles",
26259
+ "optional": true,
26138
26260
  "type": {
26139
- "text": "HTMLElement"
26261
+ "text": "Styles"
26140
26262
  }
26141
26263
  }
26142
26264
  ]
26143
- }
26144
- ]
26145
- }
26146
- ],
26147
- "exports": [
26148
- {
26149
- "kind": "js",
26150
- "name": "FocusUtils",
26151
- "declaration": {
26152
- "name": "FocusUtils",
26153
- "module": "src/views/chat/input/textInput/focusUtils.ts"
26154
- }
26155
- }
26156
- ]
26157
- },
26158
- {
26159
- "kind": "javascript-module",
26160
- "path": "src/views/chat/input/textInput/inputLimit.ts",
26161
- "declarations": [
26162
- {
26163
- "kind": "class",
26164
- "description": "",
26165
- "name": "InputLimit",
26166
- "members": [
26167
- {
26168
- "kind": "field",
26169
- "name": "PERMITTED_KEYS",
26170
- "privacy": "private",
26171
- "static": true,
26172
- "default": "new Set<string>([\n KEYBOARD_KEY.BACKSPACE, KEYBOARD_KEY.DELETE, KEYBOARD_KEY.ARROW_RIGHT, KEYBOARD_KEY.ARROW_LEFT,\n KEYBOARD_KEY.ARROW_DOWN, KEYBOARD_KEY.ARROW_UP, KEYBOARD_KEY.META, KEYBOARD_KEY.CONTROL, KEYBOARD_KEY.ENTER\n ])"
26173
26265
  },
26174
26266
  {
26175
26267
  "kind": "method",
26176
- "name": "add",
26177
- "privacy": "public",
26178
- "static": true,
26268
+ "name": "createInnerElement",
26269
+ "privacy": "private",
26179
26270
  "parameters": [
26180
26271
  {
26181
- "name": "inputElement",
26272
+ "name": "baseButton",
26182
26273
  "type": {
26183
- "text": "HTMLElement"
26274
+ "text": "SVGGraphicsElement"
26184
26275
  }
26185
26276
  },
26186
26277
  {
26187
- "name": "characterLimit",
26278
+ "name": "state",
26188
26279
  "type": {
26189
- "text": "number"
26280
+ "text": "'styles'"
26281
+ }
26282
+ },
26283
+ {
26284
+ "name": "customStyles",
26285
+ "optional": true,
26286
+ "type": {
26287
+ "text": "Styles"
26190
26288
  }
26191
26289
  }
26192
26290
  ]
26193
26291
  },
26194
26292
  {
26195
26293
  "kind": "method",
26196
- "name": "onKeyDown",
26294
+ "name": "createSVGIconElement",
26197
26295
  "privacy": "private",
26198
- "static": true,
26296
+ "static": true
26297
+ },
26298
+ {
26299
+ "kind": "method",
26300
+ "name": "addClickEvent",
26301
+ "privacy": "private"
26302
+ },
26303
+ {
26304
+ "kind": "method",
26305
+ "name": "createButtonContainer",
26306
+ "privacy": "private",
26307
+ "static": true
26308
+ },
26309
+ {
26310
+ "kind": "method",
26311
+ "name": "addItem",
26199
26312
  "parameters": [
26200
26313
  {
26201
- "name": "characterLimit",
26202
- "type": {
26203
- "text": "number"
26204
- }
26205
- },
26206
- {
26207
- "name": "event",
26314
+ "name": "buttonProps",
26208
26315
  "type": {
26209
- "text": "KeyboardEvent"
26316
+ "text": "InputButton"
26210
26317
  }
26211
26318
  }
26212
26319
  ]
26213
26320
  },
26214
26321
  {
26215
26322
  "kind": "method",
26216
- "name": "isKeyCombinationPermitted",
26323
+ "name": "addContainerEvents",
26217
26324
  "privacy": "private",
26218
- "static": true,
26219
26325
  "parameters": [
26220
26326
  {
26221
- "name": "event",
26327
+ "name": "containerElement",
26222
26328
  "type": {
26223
- "text": "KeyboardEvent"
26329
+ "text": "HTMLElement"
26224
26330
  }
26225
26331
  }
26226
26332
  ]
26227
26333
  },
26228
26334
  {
26229
26335
  "kind": "method",
26230
- "name": "onInput",
26231
- "privacy": "private",
26336
+ "name": "getPosition",
26232
26337
  "static": true,
26233
26338
  "parameters": [
26234
26339
  {
26235
- "name": "characterLimit",
26340
+ "name": "positions",
26236
26341
  "type": {
26237
- "text": "number"
26342
+ "text": "Positions"
26238
26343
  }
26239
26344
  },
26240
26345
  {
26241
- "name": "event",
26242
- "type": {
26243
- "text": "Event"
26244
- }
26245
- }
26246
- ]
26247
- }
26248
- ]
26249
- }
26250
- ],
26251
- "exports": [
26252
- {
26253
- "kind": "js",
26254
- "name": "InputLimit",
26255
- "declaration": {
26256
- "name": "InputLimit",
26257
- "module": "src/views/chat/input/textInput/inputLimit.ts"
26258
- }
26259
- }
26260
- ]
26261
- },
26262
- {
26263
- "kind": "javascript-module",
26264
- "path": "src/views/chat/input/textInput/pasteUtils.ts",
26265
- "declarations": [
26266
- {
26267
- "kind": "class",
26268
- "description": "",
26269
- "name": "PasteUtils",
26270
- "members": [
26271
- {
26272
- "kind": "method",
26273
- "name": "sanitizePastedTextContent",
26274
- "privacy": "public",
26275
- "static": true,
26276
- "parameters": [
26277
- {
26278
- "name": "event",
26346
+ "name": "dropupStyles",
26347
+ "optional": true,
26279
26348
  "type": {
26280
- "text": "ClipboardEvent"
26349
+ "text": "DropupStyles"
26281
26350
  }
26282
26351
  }
26283
26352
  ]
26284
- }
26285
- ]
26286
- }
26287
- ],
26288
- "exports": [
26289
- {
26290
- "kind": "js",
26291
- "name": "PasteUtils",
26292
- "declaration": {
26293
- "name": "PasteUtils",
26294
- "module": "src/views/chat/input/textInput/pasteUtils.ts"
26295
- }
26296
- }
26297
- ]
26298
- },
26299
- {
26300
- "kind": "javascript-module",
26301
- "path": "src/views/chat/input/textInput/textInput.ts",
26302
- "declarations": [
26303
- {
26304
- "kind": "class",
26305
- "description": "",
26306
- "name": "TextInputEl",
26307
- "members": [
26308
- {
26309
- "kind": "field",
26310
- "name": "TEXT_INPUT_ID",
26311
- "type": {
26312
- "text": "string"
26313
- },
26314
- "privacy": "public",
26315
- "static": true,
26316
- "default": "'text-input'"
26317
26353
  },
26318
26354
  {
26319
26355
  "kind": "field",
26320
26356
  "name": "elementRef",
26321
26357
  "type": {
26322
26358
  "text": "HTMLElement"
26359
+ },
26360
+ "default": "buttonElement",
26361
+ "inheritedFrom": {
26362
+ "name": "InputButton",
26363
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26323
26364
  }
26324
26365
  },
26325
26366
  {
26326
26367
  "kind": "field",
26327
- "name": "inputElementRef",
26368
+ "name": "_mouseState",
26328
26369
  "type": {
26329
- "text": "HTMLElement"
26370
+ "text": "MouseState"
26371
+ },
26372
+ "privacy": "protected",
26373
+ "default": "{state: 'default'}",
26374
+ "inheritedFrom": {
26375
+ "name": "InputButton",
26376
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26330
26377
  }
26331
26378
  },
26332
26379
  {
26333
26380
  "kind": "field",
26334
- "name": "_config",
26381
+ "name": "_customStyles",
26335
26382
  "type": {
26336
- "text": "TextInput"
26383
+ "text": "T | undefined"
26337
26384
  },
26338
- "privacy": "private",
26339
- "default": "processedConfig"
26385
+ "privacy": "protected",
26386
+ "default": "customStyles",
26387
+ "inheritedFrom": {
26388
+ "name": "InputButton",
26389
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26390
+ }
26340
26391
  },
26341
26392
  {
26342
26393
  "kind": "field",
26343
- "name": "submit",
26394
+ "name": "position",
26344
26395
  "type": {
26345
- "text": "() => void | undefined"
26396
+ "text": "ButtonPositionT | undefined"
26397
+ },
26398
+ "default": "position",
26399
+ "inheritedFrom": {
26400
+ "name": "InputButton",
26401
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26402
+ }
26403
+ },
26404
+ {
26405
+ "kind": "field",
26406
+ "name": "dropupText",
26407
+ "type": {
26408
+ "text": "string | undefined"
26409
+ },
26410
+ "default": "dropupText",
26411
+ "inheritedFrom": {
26412
+ "name": "InputButton",
26413
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26346
26414
  }
26347
26415
  },
26348
26416
  {
26349
26417
  "kind": "method",
26350
- "name": "processConfig",
26418
+ "name": "buttonMouseLeave",
26351
26419
  "privacy": "private",
26352
- "static": true,
26353
26420
  "parameters": [
26354
26421
  {
26355
- "name": "serviceIO",
26422
+ "name": "customStyles",
26423
+ "optional": true,
26356
26424
  "type": {
26357
- "text": "ServiceIO"
26425
+ "text": "ButtonStyles"
26358
26426
  }
26359
- },
26427
+ }
26428
+ ],
26429
+ "inheritedFrom": {
26430
+ "name": "InputButton",
26431
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26432
+ }
26433
+ },
26434
+ {
26435
+ "kind": "method",
26436
+ "name": "buttonMouseEnter",
26437
+ "privacy": "private",
26438
+ "parameters": [
26360
26439
  {
26361
- "name": "textInput",
26440
+ "name": "customStyles",
26362
26441
  "optional": true,
26363
26442
  "type": {
26364
- "text": "TextInput"
26443
+ "text": "ButtonStyles"
26365
26444
  }
26366
26445
  }
26367
- ]
26446
+ ],
26447
+ "inheritedFrom": {
26448
+ "name": "InputButton",
26449
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26450
+ }
26368
26451
  },
26369
26452
  {
26370
26453
  "kind": "method",
26371
- "name": "preventAutomaticScrollUpOnNewLine",
26454
+ "name": "buttonMouseUp",
26372
26455
  "privacy": "private",
26373
- "static": true,
26374
26456
  "parameters": [
26375
26457
  {
26376
- "name": "inputElement",
26458
+ "name": "customStyles",
26459
+ "optional": true,
26377
26460
  "type": {
26378
- "text": "HTMLDivElement"
26461
+ "text": "ButtonStyles"
26379
26462
  }
26380
26463
  }
26381
- ]
26464
+ ],
26465
+ "inheritedFrom": {
26466
+ "name": "InputButton",
26467
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26468
+ }
26382
26469
  },
26383
26470
  {
26384
26471
  "kind": "method",
26385
- "name": "clear",
26386
- "privacy": "public",
26387
- "static": true,
26472
+ "name": "buttonMouseDown",
26473
+ "privacy": "private",
26388
26474
  "parameters": [
26389
26475
  {
26390
- "name": "inputElement",
26476
+ "name": "customStyles",
26477
+ "optional": true,
26391
26478
  "type": {
26392
- "text": "HTMLElement"
26479
+ "text": "ButtonStyles"
26393
26480
  }
26394
26481
  }
26395
- ]
26482
+ ],
26483
+ "inheritedFrom": {
26484
+ "name": "InputButton",
26485
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26486
+ }
26396
26487
  },
26397
26488
  {
26398
26489
  "kind": "method",
26399
- "name": "createInputElement",
26490
+ "name": "setEvents",
26400
26491
  "privacy": "private",
26401
26492
  "parameters": [
26402
26493
  {
26403
- "name": "textInput",
26494
+ "name": "customStyles",
26404
26495
  "optional": true,
26405
26496
  "type": {
26406
- "text": "TextInput"
26497
+ "text": "ButtonStyles"
26407
26498
  }
26408
26499
  }
26409
- ]
26500
+ ],
26501
+ "inheritedFrom": {
26502
+ "name": "InputButton",
26503
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26504
+ }
26410
26505
  },
26411
26506
  {
26412
26507
  "kind": "method",
26413
- "name": "removeTextIfPlaceholder",
26414
- "privacy": "public"
26508
+ "name": "unsetCustomStateStyles",
26509
+ "privacy": "public",
26510
+ "parameters": [
26511
+ {
26512
+ "name": "unsetTypes",
26513
+ "type": {
26514
+ "text": "(keyof T)[]"
26515
+ }
26516
+ }
26517
+ ],
26518
+ "inheritedFrom": {
26519
+ "name": "InputButton",
26520
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26521
+ }
26415
26522
  },
26416
26523
  {
26417
26524
  "kind": "method",
26418
- "name": "toggleEditability",
26525
+ "name": "reapplyStateStyle",
26419
26526
  "privacy": "public",
26420
- "static": true,
26421
26527
  "parameters": [
26422
26528
  {
26423
- "name": "inputElement",
26529
+ "name": "setType",
26424
26530
  "type": {
26425
- "text": "HTMLElement"
26531
+ "text": "keyof T"
26426
26532
  }
26427
26533
  },
26428
26534
  {
26429
- "name": "isEditable",
26535
+ "name": "unsetTypes",
26536
+ "optional": true,
26430
26537
  "type": {
26431
- "text": "boolean"
26538
+ "text": "(keyof T)[]"
26432
26539
  }
26433
26540
  }
26434
- ]
26435
- },
26541
+ ],
26542
+ "inheritedFrom": {
26543
+ "name": "InputButton",
26544
+ "module": "src/views/chat/input/buttons/inputButton.ts"
26545
+ }
26546
+ }
26547
+ ],
26548
+ "superclass": {
26549
+ "name": "InputButton",
26550
+ "module": "/src/views/chat/input/buttons/inputButton"
26551
+ }
26552
+ }
26553
+ ],
26554
+ "exports": [
26555
+ {
26556
+ "kind": "js",
26557
+ "name": "Dropup",
26558
+ "declaration": {
26559
+ "name": "Dropup",
26560
+ "module": "src/views/chat/input/dropup/dropup.ts"
26561
+ }
26562
+ }
26563
+ ]
26564
+ },
26565
+ {
26566
+ "kind": "javascript-module",
26567
+ "path": "src/views/chat/input/dropup/dropupItem.ts",
26568
+ "declarations": [
26569
+ {
26570
+ "kind": "class",
26571
+ "description": "",
26572
+ "name": "DropupItem",
26573
+ "members": [
26436
26574
  {
26437
26575
  "kind": "method",
26438
- "name": "addEventListeners",
26576
+ "name": "addItemEvents",
26439
26577
  "privacy": "private",
26578
+ "static": true,
26440
26579
  "parameters": [
26441
26580
  {
26442
- "name": "inputElement",
26581
+ "name": "menu",
26582
+ "type": {
26583
+ "text": "DropupMenu"
26584
+ }
26585
+ },
26586
+ {
26587
+ "name": "item",
26443
26588
  "type": {
26444
26589
  "text": "HTMLElement"
26445
26590
  }
26446
26591
  },
26447
26592
  {
26448
- "name": "textInput",
26449
- "optional": true,
26593
+ "name": "inputButton",
26450
26594
  "type": {
26451
- "text": "TextInput"
26595
+ "text": "HTMLElement"
26596
+ }
26597
+ },
26598
+ {
26599
+ "name": "styles",
26600
+ "type": {
26601
+ "text": "StatefulStyles"
26452
26602
  }
26453
26603
  }
26454
26604
  ]
26455
26605
  },
26456
26606
  {
26457
26607
  "kind": "method",
26458
- "name": "onFocus",
26608
+ "name": "createItemText",
26459
26609
  "privacy": "private",
26610
+ "static": true,
26460
26611
  "parameters": [
26461
26612
  {
26462
- "name": "focusStyle",
26613
+ "name": "dropupText",
26614
+ "optional": true,
26615
+ "type": {
26616
+ "text": "string"
26617
+ }
26618
+ },
26619
+ {
26620
+ "name": "textStyle",
26463
26621
  "optional": true,
26464
26622
  "type": {
26465
26623
  "text": "CustomStyle"
@@ -26469,17 +26627,18 @@
26469
26627
  },
26470
26628
  {
26471
26629
  "kind": "method",
26472
- "name": "onBlur",
26630
+ "name": "createItemIcon",
26473
26631
  "privacy": "private",
26632
+ "static": true,
26474
26633
  "parameters": [
26475
26634
  {
26476
- "name": "focusStyle",
26635
+ "name": "inputButtonElement",
26477
26636
  "type": {
26478
- "text": "CustomStyle"
26637
+ "text": "HTMLElement"
26479
26638
  }
26480
26639
  },
26481
26640
  {
26482
- "name": "containerStyle",
26641
+ "name": "iconContainerStyle",
26483
26642
  "optional": true,
26484
26643
  "type": {
26485
26644
  "text": "CustomStyle"
@@ -26489,28 +26648,61 @@
26489
26648
  },
26490
26649
  {
26491
26650
  "kind": "method",
26492
- "name": "createContainerElement",
26651
+ "name": "populateItem",
26493
26652
  "privacy": "private",
26494
26653
  "static": true,
26495
26654
  "parameters": [
26496
26655
  {
26497
- "name": "containerStyle",
26656
+ "name": "elementRef",
26657
+ "type": {
26658
+ "text": "HTMLElement"
26659
+ }
26660
+ },
26661
+ {
26662
+ "name": "item",
26663
+ "type": {
26664
+ "text": "HTMLElement"
26665
+ }
26666
+ },
26667
+ {
26668
+ "name": "dropupText",
26498
26669
  "optional": true,
26499
26670
  "type": {
26500
- "text": "CustomStyle"
26671
+ "text": "string"
26672
+ }
26673
+ },
26674
+ {
26675
+ "name": "styles",
26676
+ "optional": true,
26677
+ "type": {
26678
+ "text": "DropupMenuStyles"
26501
26679
  }
26502
26680
  }
26503
26681
  ]
26504
26682
  },
26505
26683
  {
26506
26684
  "kind": "method",
26507
- "name": "onKeydown",
26508
- "privacy": "private",
26685
+ "name": "createItem",
26686
+ "privacy": "public",
26687
+ "static": true,
26509
26688
  "parameters": [
26510
26689
  {
26511
- "name": "event",
26690
+ "name": "menu",
26512
26691
  "type": {
26513
- "text": "KeyboardEvent"
26692
+ "text": "DropupMenu"
26693
+ }
26694
+ },
26695
+ {
26696
+ "name": "inputButton",
26697
+ "type": {
26698
+ "text": "InputButton"
26699
+ }
26700
+ },
26701
+ {
26702
+ "name": "styles",
26703
+ "optional": true,
26704
+ "type": {
26705
+ "text": "DropupMenuStyles"
26514
26706
  }
26515
26707
  }
26516
26708
  ]
@@ -26521,22 +26713,208 @@
26521
26713
  "exports": [
26522
26714
  {
26523
26715
  "kind": "js",
26524
- "name": "TextInputEl",
26716
+ "name": "DropupItem",
26525
26717
  "declaration": {
26526
- "name": "TextInputEl",
26527
- "module": "src/views/chat/input/textInput/textInput.ts"
26718
+ "name": "DropupItem",
26719
+ "module": "src/views/chat/input/dropup/dropupItem.ts"
26528
26720
  }
26529
26721
  }
26530
26722
  ]
26531
26723
  },
26532
26724
  {
26533
26725
  "kind": "javascript-module",
26534
- "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
26726
+ "path": "src/views/chat/input/dropup/dropupItemNavigation.ts",
26535
26727
  "declarations": [
26536
26728
  {
26537
26729
  "kind": "class",
26538
26730
  "description": "",
26539
- "name": "FileAttachments",
26731
+ "name": "DropupItemNavigation",
26732
+ "members": [
26733
+ {
26734
+ "kind": "method",
26735
+ "name": "focusItemWhenOnEdge",
26736
+ "privacy": "private",
26737
+ "static": true,
26738
+ "parameters": [
26739
+ {
26740
+ "name": "dropupElement",
26741
+ "type": {
26742
+ "text": "HTMLElement"
26743
+ }
26744
+ },
26745
+ {
26746
+ "name": "isNext",
26747
+ "type": {
26748
+ "text": "boolean"
26749
+ }
26750
+ }
26751
+ ]
26752
+ },
26753
+ {
26754
+ "kind": "method",
26755
+ "name": "focusSiblingItem",
26756
+ "privacy": "public",
26757
+ "static": true,
26758
+ "return": {
26759
+ "type": {
26760
+ "text": "void"
26761
+ }
26762
+ },
26763
+ "parameters": [
26764
+ {
26765
+ "name": "focusedItem",
26766
+ "type": {
26767
+ "text": "HTMLElement"
26768
+ }
26769
+ },
26770
+ {
26771
+ "name": "dropupElement",
26772
+ "type": {
26773
+ "text": "HTMLElement"
26774
+ }
26775
+ },
26776
+ {
26777
+ "name": "isNext",
26778
+ "type": {
26779
+ "text": "boolean"
26780
+ }
26781
+ },
26782
+ {
26783
+ "name": "isEdgeItem",
26784
+ "default": "false"
26785
+ }
26786
+ ]
26787
+ }
26788
+ ]
26789
+ }
26790
+ ],
26791
+ "exports": [
26792
+ {
26793
+ "kind": "js",
26794
+ "name": "DropupItemNavigation",
26795
+ "declaration": {
26796
+ "name": "DropupItemNavigation",
26797
+ "module": "src/views/chat/input/dropup/dropupItemNavigation.ts"
26798
+ }
26799
+ }
26800
+ ]
26801
+ },
26802
+ {
26803
+ "kind": "javascript-module",
26804
+ "path": "src/views/chat/input/dropup/dropupMenu.ts",
26805
+ "declarations": [
26806
+ {
26807
+ "kind": "class",
26808
+ "description": "",
26809
+ "name": "DropupMenu",
26810
+ "members": [
26811
+ {
26812
+ "kind": "field",
26813
+ "name": "elementRef",
26814
+ "type": {
26815
+ "text": "HTMLElement"
26816
+ }
26817
+ },
26818
+ {
26819
+ "kind": "field",
26820
+ "name": "_isOpen",
26821
+ "type": {
26822
+ "text": "boolean"
26823
+ },
26824
+ "privacy": "private",
26825
+ "default": "true"
26826
+ },
26827
+ {
26828
+ "kind": "field",
26829
+ "name": "highlightedItem",
26830
+ "type": {
26831
+ "text": "HTMLElement | undefined"
26832
+ }
26833
+ },
26834
+ {
26835
+ "kind": "field",
26836
+ "name": "_styles",
26837
+ "type": {
26838
+ "text": "DropupMenuStyles | undefined"
26839
+ },
26840
+ "privacy": "private",
26841
+ "default": "styles"
26842
+ },
26843
+ {
26844
+ "kind": "method",
26845
+ "name": "createElement",
26846
+ "privacy": "private",
26847
+ "static": true,
26848
+ "parameters": [
26849
+ {
26850
+ "name": "containerStyle",
26851
+ "optional": true,
26852
+ "type": {
26853
+ "text": "CustomStyle"
26854
+ }
26855
+ }
26856
+ ]
26857
+ },
26858
+ {
26859
+ "kind": "method",
26860
+ "name": "open",
26861
+ "privacy": "private"
26862
+ },
26863
+ {
26864
+ "kind": "method",
26865
+ "name": "close"
26866
+ },
26867
+ {
26868
+ "kind": "method",
26869
+ "name": "toggle"
26870
+ },
26871
+ {
26872
+ "kind": "method",
26873
+ "name": "addItem",
26874
+ "parameters": [
26875
+ {
26876
+ "name": "inputButton",
26877
+ "type": {
26878
+ "text": "InputButton"
26879
+ }
26880
+ }
26881
+ ]
26882
+ },
26883
+ {
26884
+ "kind": "method",
26885
+ "name": "addWindowEvents",
26886
+ "privacy": "private",
26887
+ "parameters": [
26888
+ {
26889
+ "name": "containerElement",
26890
+ "type": {
26891
+ "text": "HTMLElement"
26892
+ }
26893
+ }
26894
+ ]
26895
+ }
26896
+ ]
26897
+ }
26898
+ ],
26899
+ "exports": [
26900
+ {
26901
+ "kind": "js",
26902
+ "name": "DropupMenu",
26903
+ "declaration": {
26904
+ "name": "DropupMenu",
26905
+ "module": "src/views/chat/input/dropup/dropupMenu.ts"
26906
+ }
26907
+ }
26908
+ ]
26909
+ },
26910
+ {
26911
+ "kind": "javascript-module",
26912
+ "path": "src/views/chat/input/fileAttachments/fileAttachments.ts",
26913
+ "declarations": [
26914
+ {
26915
+ "kind": "class",
26916
+ "description": "",
26917
+ "name": "FileAttachments",
26540
26918
  "members": [
26541
26919
  {
26542
26920
  "kind": "field",
@@ -26698,489 +27076,141 @@
26698
27076
  },
26699
27077
  {
26700
27078
  "kind": "javascript-module",
26701
- "path": "src/views/chat/input/dropup/dropup.ts",
27079
+ "path": "src/views/chat/input/textInput/focusUtils.ts",
26702
27080
  "declarations": [
26703
27081
  {
26704
27082
  "kind": "class",
26705
27083
  "description": "",
26706
- "name": "Dropup",
27084
+ "name": "FocusUtils",
26707
27085
  "members": [
26708
- {
26709
- "kind": "field",
26710
- "name": "_menu",
26711
- "type": {
26712
- "text": "DropupMenu"
26713
- },
26714
- "privacy": "private",
26715
- "default": "new DropupMenu(containerElement, styles?.menu)"
26716
- },
26717
- {
26718
- "kind": "field",
26719
- "name": "buttonContainer",
26720
- "type": {
26721
- "text": "HTMLElement"
26722
- }
26723
- },
26724
- {
26725
- "kind": "method",
26726
- "name": "createButtonElement",
26727
- "privacy": "private",
26728
- "static": true
26729
- },
26730
27086
  {
26731
27087
  "kind": "method",
26732
- "name": "createInnerElements",
26733
- "privacy": "private",
27088
+ "name": "focusEndOfInput",
27089
+ "privacy": "public",
27090
+ "static": true,
26734
27091
  "parameters": [
26735
27092
  {
26736
- "name": "customStyles",
26737
- "optional": true,
27093
+ "name": "inputElement",
26738
27094
  "type": {
26739
- "text": "Styles"
27095
+ "text": "HTMLElement"
26740
27096
  }
26741
27097
  }
26742
27098
  ]
26743
27099
  },
26744
27100
  {
26745
27101
  "kind": "method",
26746
- "name": "createInnerElement",
26747
- "privacy": "private",
27102
+ "name": "focusFromParentElement",
27103
+ "privacy": "public",
27104
+ "static": true,
26748
27105
  "parameters": [
26749
27106
  {
26750
- "name": "baseButton",
26751
- "type": {
26752
- "text": "SVGGraphicsElement"
26753
- }
26754
- },
26755
- {
26756
- "name": "state",
26757
- "type": {
26758
- "text": "'styles'"
26759
- }
26760
- },
26761
- {
26762
- "name": "customStyles",
26763
- "optional": true,
27107
+ "name": "parentElement",
26764
27108
  "type": {
26765
- "text": "Styles"
27109
+ "text": "HTMLElement"
26766
27110
  }
26767
27111
  }
26768
27112
  ]
26769
- },
26770
- {
26771
- "kind": "method",
26772
- "name": "createSVGIconElement",
26773
- "privacy": "private",
26774
- "static": true
26775
- },
26776
- {
26777
- "kind": "method",
26778
- "name": "addClickEvent",
26779
- "privacy": "private"
26780
- },
26781
- {
26782
- "kind": "method",
26783
- "name": "createButtonContainer",
26784
- "privacy": "private",
26785
- "static": true
26786
- },
26787
- {
26788
- "kind": "method",
26789
- "name": "addItem",
26790
- "parameters": [
26791
- {
26792
- "name": "buttonProps",
26793
- "type": {
26794
- "text": "InputButton"
26795
- }
26796
- }
26797
- ]
26798
- },
26799
- {
26800
- "kind": "method",
26801
- "name": "addContainerEvents",
26802
- "privacy": "private",
26803
- "parameters": [
26804
- {
26805
- "name": "containerElement",
26806
- "type": {
26807
- "text": "HTMLElement"
26808
- }
26809
- }
26810
- ]
26811
- },
26812
- {
26813
- "kind": "method",
26814
- "name": "getPosition",
26815
- "static": true,
26816
- "parameters": [
26817
- {
26818
- "name": "positions",
26819
- "type": {
26820
- "text": "Positions"
26821
- }
26822
- },
26823
- {
26824
- "name": "dropupStyles",
26825
- "optional": true,
26826
- "type": {
26827
- "text": "DropupStyles"
26828
- }
26829
- }
26830
- ]
26831
- },
26832
- {
26833
- "kind": "field",
26834
- "name": "elementRef",
26835
- "type": {
26836
- "text": "HTMLElement"
26837
- },
26838
- "default": "buttonElement",
26839
- "inheritedFrom": {
26840
- "name": "InputButton",
26841
- "module": "src/views/chat/input/buttons/inputButton.ts"
26842
- }
26843
- },
26844
- {
26845
- "kind": "field",
26846
- "name": "_mouseState",
26847
- "type": {
26848
- "text": "MouseState"
26849
- },
26850
- "privacy": "protected",
26851
- "default": "{state: 'default'}",
26852
- "inheritedFrom": {
26853
- "name": "InputButton",
26854
- "module": "src/views/chat/input/buttons/inputButton.ts"
26855
- }
26856
- },
26857
- {
26858
- "kind": "field",
26859
- "name": "_customStyles",
26860
- "type": {
26861
- "text": "T | undefined"
26862
- },
26863
- "privacy": "protected",
26864
- "default": "customStyles",
26865
- "inheritedFrom": {
26866
- "name": "InputButton",
26867
- "module": "src/views/chat/input/buttons/inputButton.ts"
26868
- }
26869
- },
26870
- {
26871
- "kind": "field",
26872
- "name": "position",
26873
- "type": {
26874
- "text": "ButtonPositionT | undefined"
26875
- },
26876
- "default": "position",
26877
- "inheritedFrom": {
26878
- "name": "InputButton",
26879
- "module": "src/views/chat/input/buttons/inputButton.ts"
26880
- }
26881
- },
26882
- {
26883
- "kind": "field",
26884
- "name": "dropupText",
26885
- "type": {
26886
- "text": "string | undefined"
26887
- },
26888
- "default": "dropupText",
26889
- "inheritedFrom": {
26890
- "name": "InputButton",
26891
- "module": "src/views/chat/input/buttons/inputButton.ts"
26892
- }
26893
- },
26894
- {
26895
- "kind": "method",
26896
- "name": "buttonMouseLeave",
26897
- "privacy": "private",
26898
- "parameters": [
26899
- {
26900
- "name": "customStyles",
26901
- "optional": true,
26902
- "type": {
26903
- "text": "ButtonStyles"
26904
- }
26905
- }
26906
- ],
26907
- "inheritedFrom": {
26908
- "name": "InputButton",
26909
- "module": "src/views/chat/input/buttons/inputButton.ts"
26910
- }
26911
- },
26912
- {
26913
- "kind": "method",
26914
- "name": "buttonMouseEnter",
26915
- "privacy": "private",
26916
- "parameters": [
26917
- {
26918
- "name": "customStyles",
26919
- "optional": true,
26920
- "type": {
26921
- "text": "ButtonStyles"
26922
- }
26923
- }
26924
- ],
26925
- "inheritedFrom": {
26926
- "name": "InputButton",
26927
- "module": "src/views/chat/input/buttons/inputButton.ts"
26928
- }
26929
- },
26930
- {
26931
- "kind": "method",
26932
- "name": "buttonMouseUp",
26933
- "privacy": "private",
26934
- "parameters": [
26935
- {
26936
- "name": "customStyles",
26937
- "optional": true,
26938
- "type": {
26939
- "text": "ButtonStyles"
26940
- }
26941
- }
26942
- ],
26943
- "inheritedFrom": {
26944
- "name": "InputButton",
26945
- "module": "src/views/chat/input/buttons/inputButton.ts"
26946
- }
26947
- },
26948
- {
26949
- "kind": "method",
26950
- "name": "buttonMouseDown",
26951
- "privacy": "private",
26952
- "parameters": [
26953
- {
26954
- "name": "customStyles",
26955
- "optional": true,
26956
- "type": {
26957
- "text": "ButtonStyles"
26958
- }
26959
- }
26960
- ],
26961
- "inheritedFrom": {
26962
- "name": "InputButton",
26963
- "module": "src/views/chat/input/buttons/inputButton.ts"
26964
- }
26965
- },
26966
- {
26967
- "kind": "method",
26968
- "name": "setEvents",
26969
- "privacy": "private",
26970
- "parameters": [
26971
- {
26972
- "name": "customStyles",
26973
- "optional": true,
26974
- "type": {
26975
- "text": "ButtonStyles"
26976
- }
26977
- }
26978
- ],
26979
- "inheritedFrom": {
26980
- "name": "InputButton",
26981
- "module": "src/views/chat/input/buttons/inputButton.ts"
26982
- }
26983
- },
26984
- {
26985
- "kind": "method",
26986
- "name": "unsetCustomStateStyles",
26987
- "privacy": "public",
26988
- "parameters": [
26989
- {
26990
- "name": "unsetTypes",
26991
- "type": {
26992
- "text": "(keyof T)[]"
26993
- }
26994
- }
26995
- ],
26996
- "inheritedFrom": {
26997
- "name": "InputButton",
26998
- "module": "src/views/chat/input/buttons/inputButton.ts"
26999
- }
27000
- },
27001
- {
27002
- "kind": "method",
27003
- "name": "reapplyStateStyle",
27004
- "privacy": "public",
27005
- "parameters": [
27006
- {
27007
- "name": "setType",
27008
- "type": {
27009
- "text": "keyof T"
27010
- }
27011
- },
27012
- {
27013
- "name": "unsetTypes",
27014
- "optional": true,
27015
- "type": {
27016
- "text": "(keyof T)[]"
27017
- }
27018
- }
27019
- ],
27020
- "inheritedFrom": {
27021
- "name": "InputButton",
27022
- "module": "src/views/chat/input/buttons/inputButton.ts"
27023
- }
27024
27113
  }
27025
- ],
27026
- "superclass": {
27027
- "name": "InputButton",
27028
- "module": "/src/views/chat/input/buttons/inputButton"
27029
- }
27114
+ ]
27030
27115
  }
27031
27116
  ],
27032
27117
  "exports": [
27033
27118
  {
27034
27119
  "kind": "js",
27035
- "name": "Dropup",
27120
+ "name": "FocusUtils",
27036
27121
  "declaration": {
27037
- "name": "Dropup",
27038
- "module": "src/views/chat/input/dropup/dropup.ts"
27122
+ "name": "FocusUtils",
27123
+ "module": "src/views/chat/input/textInput/focusUtils.ts"
27039
27124
  }
27040
27125
  }
27041
27126
  ]
27042
27127
  },
27043
27128
  {
27044
27129
  "kind": "javascript-module",
27045
- "path": "src/views/chat/input/dropup/dropupItem.ts",
27130
+ "path": "src/views/chat/input/textInput/inputLimit.ts",
27046
27131
  "declarations": [
27047
27132
  {
27048
27133
  "kind": "class",
27049
27134
  "description": "",
27050
- "name": "DropupItem",
27135
+ "name": "InputLimit",
27051
27136
  "members": [
27052
27137
  {
27053
- "kind": "method",
27054
- "name": "addItemEvents",
27138
+ "kind": "field",
27139
+ "name": "PERMITTED_KEYS",
27055
27140
  "privacy": "private",
27056
27141
  "static": true,
27057
- "parameters": [
27058
- {
27059
- "name": "menu",
27060
- "type": {
27061
- "text": "DropupMenu"
27062
- }
27063
- },
27064
- {
27065
- "name": "item",
27066
- "type": {
27067
- "text": "HTMLElement"
27068
- }
27069
- },
27070
- {
27071
- "name": "inputButton",
27072
- "type": {
27073
- "text": "HTMLElement"
27074
- }
27075
- },
27076
- {
27077
- "name": "styles",
27078
- "type": {
27079
- "text": "StatefulStyles"
27080
- }
27081
- }
27082
- ]
27142
+ "default": "new Set<string>([\n KEYBOARD_KEY.BACKSPACE, KEYBOARD_KEY.DELETE, KEYBOARD_KEY.ARROW_RIGHT, KEYBOARD_KEY.ARROW_LEFT,\n KEYBOARD_KEY.ARROW_DOWN, KEYBOARD_KEY.ARROW_UP, KEYBOARD_KEY.META, KEYBOARD_KEY.CONTROL, KEYBOARD_KEY.ENTER\n ])"
27083
27143
  },
27084
27144
  {
27085
27145
  "kind": "method",
27086
- "name": "createItemText",
27087
- "privacy": "private",
27146
+ "name": "add",
27147
+ "privacy": "public",
27088
27148
  "static": true,
27089
27149
  "parameters": [
27090
27150
  {
27091
- "name": "dropupText",
27092
- "optional": true,
27151
+ "name": "inputElement",
27093
27152
  "type": {
27094
- "text": "string"
27153
+ "text": "HTMLElement"
27095
27154
  }
27096
27155
  },
27097
27156
  {
27098
- "name": "textStyle",
27099
- "optional": true,
27157
+ "name": "characterLimit",
27100
27158
  "type": {
27101
- "text": "CustomStyle"
27159
+ "text": "number"
27102
27160
  }
27103
27161
  }
27104
27162
  ]
27105
27163
  },
27106
27164
  {
27107
27165
  "kind": "method",
27108
- "name": "createItemIcon",
27166
+ "name": "onKeyDown",
27109
27167
  "privacy": "private",
27110
27168
  "static": true,
27111
27169
  "parameters": [
27112
27170
  {
27113
- "name": "inputButtonElement",
27171
+ "name": "characterLimit",
27114
27172
  "type": {
27115
- "text": "HTMLElement"
27173
+ "text": "number"
27116
27174
  }
27117
27175
  },
27118
27176
  {
27119
- "name": "iconContainerStyle",
27120
- "optional": true,
27177
+ "name": "event",
27121
27178
  "type": {
27122
- "text": "CustomStyle"
27179
+ "text": "KeyboardEvent"
27123
27180
  }
27124
27181
  }
27125
27182
  ]
27126
27183
  },
27127
27184
  {
27128
27185
  "kind": "method",
27129
- "name": "populateItem",
27186
+ "name": "isKeyCombinationPermitted",
27130
27187
  "privacy": "private",
27131
27188
  "static": true,
27132
27189
  "parameters": [
27133
27190
  {
27134
- "name": "elementRef",
27135
- "type": {
27136
- "text": "HTMLElement"
27137
- }
27138
- },
27139
- {
27140
- "name": "item",
27141
- "type": {
27142
- "text": "HTMLElement"
27143
- }
27144
- },
27145
- {
27146
- "name": "dropupText",
27147
- "optional": true,
27148
- "type": {
27149
- "text": "string"
27150
- }
27151
- },
27152
- {
27153
- "name": "styles",
27154
- "optional": true,
27191
+ "name": "event",
27155
27192
  "type": {
27156
- "text": "DropupMenuStyles"
27193
+ "text": "KeyboardEvent"
27157
27194
  }
27158
27195
  }
27159
27196
  ]
27160
27197
  },
27161
27198
  {
27162
27199
  "kind": "method",
27163
- "name": "createItem",
27164
- "privacy": "public",
27200
+ "name": "onInput",
27201
+ "privacy": "private",
27165
27202
  "static": true,
27166
27203
  "parameters": [
27167
27204
  {
27168
- "name": "menu",
27169
- "type": {
27170
- "text": "DropupMenu"
27171
- }
27172
- },
27173
- {
27174
- "name": "inputButton",
27205
+ "name": "characterLimit",
27175
27206
  "type": {
27176
- "text": "InputButton"
27207
+ "text": "number"
27177
27208
  }
27178
27209
  },
27179
27210
  {
27180
- "name": "styles",
27181
- "optional": true,
27211
+ "name": "event",
27182
27212
  "type": {
27183
- "text": "DropupMenuStyles"
27213
+ "text": "Event"
27184
27214
  }
27185
27215
  }
27186
27216
  ]
@@ -27191,75 +27221,34 @@
27191
27221
  "exports": [
27192
27222
  {
27193
27223
  "kind": "js",
27194
- "name": "DropupItem",
27224
+ "name": "InputLimit",
27195
27225
  "declaration": {
27196
- "name": "DropupItem",
27197
- "module": "src/views/chat/input/dropup/dropupItem.ts"
27226
+ "name": "InputLimit",
27227
+ "module": "src/views/chat/input/textInput/inputLimit.ts"
27198
27228
  }
27199
27229
  }
27200
27230
  ]
27201
27231
  },
27202
27232
  {
27203
27233
  "kind": "javascript-module",
27204
- "path": "src/views/chat/input/dropup/dropupItemNavigation.ts",
27234
+ "path": "src/views/chat/input/textInput/pasteUtils.ts",
27205
27235
  "declarations": [
27206
27236
  {
27207
27237
  "kind": "class",
27208
27238
  "description": "",
27209
- "name": "DropupItemNavigation",
27239
+ "name": "PasteUtils",
27210
27240
  "members": [
27211
27241
  {
27212
- "kind": "method",
27213
- "name": "focusItemWhenOnEdge",
27214
- "privacy": "private",
27215
- "static": true,
27216
- "parameters": [
27217
- {
27218
- "name": "dropupElement",
27219
- "type": {
27220
- "text": "HTMLElement"
27221
- }
27222
- },
27223
- {
27224
- "name": "isNext",
27225
- "type": {
27226
- "text": "boolean"
27227
- }
27228
- }
27229
- ]
27230
- },
27231
- {
27232
- "kind": "method",
27233
- "name": "focusSiblingItem",
27234
- "privacy": "public",
27235
- "static": true,
27236
- "return": {
27237
- "type": {
27238
- "text": "void"
27239
- }
27240
- },
27241
- "parameters": [
27242
- {
27243
- "name": "focusedItem",
27244
- "type": {
27245
- "text": "HTMLElement"
27246
- }
27247
- },
27248
- {
27249
- "name": "dropupElement",
27250
- "type": {
27251
- "text": "HTMLElement"
27252
- }
27253
- },
27242
+ "kind": "method",
27243
+ "name": "sanitizePastedTextContent",
27244
+ "privacy": "public",
27245
+ "static": true,
27246
+ "parameters": [
27254
27247
  {
27255
- "name": "isNext",
27248
+ "name": "event",
27256
27249
  "type": {
27257
- "text": "boolean"
27250
+ "text": "ClipboardEvent"
27258
27251
  }
27259
- },
27260
- {
27261
- "name": "isEdgeItem",
27262
- "default": "false"
27263
27252
  }
27264
27253
  ]
27265
27254
  }
@@ -27269,23 +27258,33 @@
27269
27258
  "exports": [
27270
27259
  {
27271
27260
  "kind": "js",
27272
- "name": "DropupItemNavigation",
27261
+ "name": "PasteUtils",
27273
27262
  "declaration": {
27274
- "name": "DropupItemNavigation",
27275
- "module": "src/views/chat/input/dropup/dropupItemNavigation.ts"
27263
+ "name": "PasteUtils",
27264
+ "module": "src/views/chat/input/textInput/pasteUtils.ts"
27276
27265
  }
27277
27266
  }
27278
27267
  ]
27279
27268
  },
27280
27269
  {
27281
27270
  "kind": "javascript-module",
27282
- "path": "src/views/chat/input/dropup/dropupMenu.ts",
27271
+ "path": "src/views/chat/input/textInput/textInput.ts",
27283
27272
  "declarations": [
27284
27273
  {
27285
27274
  "kind": "class",
27286
27275
  "description": "",
27287
- "name": "DropupMenu",
27276
+ "name": "TextInputEl",
27288
27277
  "members": [
27278
+ {
27279
+ "kind": "field",
27280
+ "name": "TEXT_INPUT_ID",
27281
+ "type": {
27282
+ "text": "string"
27283
+ },
27284
+ "privacy": "public",
27285
+ "static": true,
27286
+ "default": "'text-input'"
27287
+ },
27289
27288
  {
27290
27289
  "kind": "field",
27291
27290
  "name": "elementRef",
@@ -27295,110 +27294,196 @@
27295
27294
  },
27296
27295
  {
27297
27296
  "kind": "field",
27298
- "name": "_isOpen",
27297
+ "name": "inputElementRef",
27299
27298
  "type": {
27300
- "text": "boolean"
27299
+ "text": "HTMLElement"
27300
+ }
27301
+ },
27302
+ {
27303
+ "kind": "field",
27304
+ "name": "_config",
27305
+ "type": {
27306
+ "text": "TextInput"
27301
27307
  },
27302
27308
  "privacy": "private",
27303
- "default": "true"
27309
+ "default": "processedConfig"
27304
27310
  },
27305
27311
  {
27306
27312
  "kind": "field",
27307
- "name": "highlightedItem",
27313
+ "name": "submit",
27308
27314
  "type": {
27309
- "text": "HTMLElement | undefined"
27315
+ "text": "() => void | undefined"
27310
27316
  }
27311
27317
  },
27312
27318
  {
27313
- "kind": "field",
27314
- "name": "_styles",
27315
- "type": {
27316
- "text": "DropupMenuStyles | undefined"
27317
- },
27319
+ "kind": "method",
27320
+ "name": "processConfig",
27318
27321
  "privacy": "private",
27319
- "default": "styles"
27322
+ "static": true,
27323
+ "parameters": [
27324
+ {
27325
+ "name": "serviceIO",
27326
+ "type": {
27327
+ "text": "ServiceIO"
27328
+ }
27329
+ },
27330
+ {
27331
+ "name": "textInput",
27332
+ "optional": true,
27333
+ "type": {
27334
+ "text": "TextInput"
27335
+ }
27336
+ }
27337
+ ]
27320
27338
  },
27321
27339
  {
27322
27340
  "kind": "method",
27323
- "name": "createElement",
27341
+ "name": "preventAutomaticScrollUpOnNewLine",
27324
27342
  "privacy": "private",
27325
27343
  "static": true,
27326
27344
  "parameters": [
27327
27345
  {
27328
- "name": "containerStyle",
27329
- "optional": true,
27346
+ "name": "inputElement",
27330
27347
  "type": {
27331
- "text": "CustomStyle"
27348
+ "text": "HTMLDivElement"
27332
27349
  }
27333
27350
  }
27334
27351
  ]
27335
27352
  },
27336
27353
  {
27337
27354
  "kind": "method",
27338
- "name": "open",
27339
- "privacy": "private"
27355
+ "name": "clear",
27356
+ "privacy": "public",
27357
+ "static": true,
27358
+ "parameters": [
27359
+ {
27360
+ "name": "inputElement",
27361
+ "type": {
27362
+ "text": "HTMLElement"
27363
+ }
27364
+ }
27365
+ ]
27340
27366
  },
27341
27367
  {
27342
27368
  "kind": "method",
27343
- "name": "close"
27369
+ "name": "createInputElement",
27370
+ "privacy": "private",
27371
+ "parameters": [
27372
+ {
27373
+ "name": "textInput",
27374
+ "optional": true,
27375
+ "type": {
27376
+ "text": "TextInput"
27377
+ }
27378
+ }
27379
+ ]
27344
27380
  },
27345
27381
  {
27346
27382
  "kind": "method",
27347
- "name": "toggle"
27383
+ "name": "removeTextIfPlaceholder",
27384
+ "privacy": "public"
27348
27385
  },
27349
27386
  {
27350
27387
  "kind": "method",
27351
- "name": "addItem",
27388
+ "name": "toggleEditability",
27389
+ "privacy": "public",
27390
+ "static": true,
27352
27391
  "parameters": [
27353
27392
  {
27354
- "name": "inputButton",
27393
+ "name": "inputElement",
27355
27394
  "type": {
27356
- "text": "InputButton"
27395
+ "text": "HTMLElement"
27396
+ }
27397
+ },
27398
+ {
27399
+ "name": "isEditable",
27400
+ "type": {
27401
+ "text": "boolean"
27357
27402
  }
27358
27403
  }
27359
27404
  ]
27360
27405
  },
27361
27406
  {
27362
27407
  "kind": "method",
27363
- "name": "addWindowEvents",
27408
+ "name": "addEventListeners",
27364
27409
  "privacy": "private",
27365
27410
  "parameters": [
27366
27411
  {
27367
- "name": "containerElement",
27412
+ "name": "inputElement",
27368
27413
  "type": {
27369
27414
  "text": "HTMLElement"
27370
27415
  }
27416
+ },
27417
+ {
27418
+ "name": "textInput",
27419
+ "optional": true,
27420
+ "type": {
27421
+ "text": "TextInput"
27422
+ }
27371
27423
  }
27372
27424
  ]
27373
- }
27374
- ]
27375
- }
27376
- ],
27377
- "exports": [
27378
- {
27379
- "kind": "js",
27380
- "name": "DropupMenu",
27381
- "declaration": {
27382
- "name": "DropupMenu",
27383
- "module": "src/views/chat/input/dropup/dropupMenu.ts"
27384
- }
27385
- }
27386
- ]
27387
- },
27388
- {
27389
- "kind": "javascript-module",
27390
- "path": "src/views/chat/messages/remarkable/remarkableConfig.ts",
27391
- "declarations": [
27392
- {
27393
- "kind": "class",
27394
- "description": "",
27395
- "name": "RemarkableConfig",
27396
- "members": [
27425
+ },
27397
27426
  {
27398
27427
  "kind": "method",
27399
- "name": "createNew",
27400
- "privacy": "public",
27401
- "static": true
27428
+ "name": "onFocus",
27429
+ "privacy": "private",
27430
+ "parameters": [
27431
+ {
27432
+ "name": "focusStyle",
27433
+ "optional": true,
27434
+ "type": {
27435
+ "text": "CustomStyle"
27436
+ }
27437
+ }
27438
+ ]
27439
+ },
27440
+ {
27441
+ "kind": "method",
27442
+ "name": "onBlur",
27443
+ "privacy": "private",
27444
+ "parameters": [
27445
+ {
27446
+ "name": "focusStyle",
27447
+ "type": {
27448
+ "text": "CustomStyle"
27449
+ }
27450
+ },
27451
+ {
27452
+ "name": "containerStyle",
27453
+ "optional": true,
27454
+ "type": {
27455
+ "text": "CustomStyle"
27456
+ }
27457
+ }
27458
+ ]
27459
+ },
27460
+ {
27461
+ "kind": "method",
27462
+ "name": "createContainerElement",
27463
+ "privacy": "private",
27464
+ "static": true,
27465
+ "parameters": [
27466
+ {
27467
+ "name": "containerStyle",
27468
+ "optional": true,
27469
+ "type": {
27470
+ "text": "CustomStyle"
27471
+ }
27472
+ }
27473
+ ]
27474
+ },
27475
+ {
27476
+ "kind": "method",
27477
+ "name": "onKeydown",
27478
+ "privacy": "private",
27479
+ "parameters": [
27480
+ {
27481
+ "name": "event",
27482
+ "type": {
27483
+ "text": "KeyboardEvent"
27484
+ }
27485
+ }
27486
+ ]
27402
27487
  }
27403
27488
  ]
27404
27489
  }
@@ -27406,10 +27491,10 @@
27406
27491
  "exports": [
27407
27492
  {
27408
27493
  "kind": "js",
27409
- "name": "RemarkableConfig",
27494
+ "name": "TextInputEl",
27410
27495
  "declaration": {
27411
- "name": "RemarkableConfig",
27412
- "module": "src/views/chat/messages/remarkable/remarkableConfig.ts"
27496
+ "name": "TextInputEl",
27497
+ "module": "src/views/chat/input/textInput/textInput.ts"
27413
27498
  }
27414
27499
  }
27415
27500
  ]
@@ -27487,6 +27572,35 @@
27487
27572
  }
27488
27573
  ]
27489
27574
  },
27575
+ {
27576
+ "kind": "javascript-module",
27577
+ "path": "src/views/chat/messages/remarkable/remarkableConfig.ts",
27578
+ "declarations": [
27579
+ {
27580
+ "kind": "class",
27581
+ "description": "",
27582
+ "name": "RemarkableConfig",
27583
+ "members": [
27584
+ {
27585
+ "kind": "method",
27586
+ "name": "createNew",
27587
+ "privacy": "public",
27588
+ "static": true
27589
+ }
27590
+ ]
27591
+ }
27592
+ ],
27593
+ "exports": [
27594
+ {
27595
+ "kind": "js",
27596
+ "name": "RemarkableConfig",
27597
+ "declaration": {
27598
+ "name": "RemarkableConfig",
27599
+ "module": "src/views/chat/messages/remarkable/remarkableConfig.ts"
27600
+ }
27601
+ }
27602
+ ]
27603
+ },
27490
27604
  {
27491
27605
  "kind": "javascript-module",
27492
27606
  "path": "src/views/chat/input/buttons/camera/cameraButton.ts",