@omniloy/sofia-sdk 0.0.10 → 0.0.11

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.
@@ -16961,11 +16961,9 @@
16961
16961
  const Multilingual$4 = "متعدد اللغات";
16962
16962
  const Arabic$4 = "عربي";
16963
16963
  const Tamil$4 = "التاميل";
16964
- const Malayalam$4 = "المالايالامية";
16965
16964
  const Telugu$4 = "التيلجو";
16966
16965
  const Kannada$4 = "الكانادا";
16967
16966
  const Hindi$4 = "الهندية";
16968
- const Malay$4 = "لغة الملايو";
16969
16967
  const Thai$4 = "التايلاندية";
16970
16968
  const Filipino$4 = "فلبينية";
16971
16969
  const English$4 = "الإنجليزية";
@@ -17091,12 +17089,11 @@
17091
17089
  Multilingual: Multilingual$4,
17092
17090
  Arabic: Arabic$4,
17093
17091
  Tamil: Tamil$4,
17094
- Malayalam: Malayalam$4,
17092
+ "Malay / Malayalam": "لغة الملايو / المالايالامية",
17095
17093
  Telugu: Telugu$4,
17096
17094
  Kannada: Kannada$4,
17097
17095
  Hindi: Hindi$4,
17098
17096
  "Bahasa Indonesia": "البهاسا الاندونيسية",
17099
- Malay: Malay$4,
17100
17097
  Thai: Thai$4,
17101
17098
  Filipino: Filipino$4,
17102
17099
  English: English$4,
@@ -17188,11 +17185,9 @@
17188
17185
  const Multilingual$3 = "Multilingual";
17189
17186
  const Arabic$3 = "Arabic";
17190
17187
  const Tamil$3 = "Tamil";
17191
- const Malayalam$3 = "Malayalam";
17192
17188
  const Telugu$3 = "Telugu";
17193
17189
  const Kannada$3 = "Kannada";
17194
17190
  const Hindi$3 = "Hindi";
17195
- const Malay$3 = "Malay";
17196
17191
  const Thai$3 = "Thai";
17197
17192
  const Filipino$3 = "Filipino";
17198
17193
  const English$3 = "English";
@@ -17320,12 +17315,11 @@
17320
17315
  Multilingual: Multilingual$3,
17321
17316
  Arabic: Arabic$3,
17322
17317
  Tamil: Tamil$3,
17323
- Malayalam: Malayalam$3,
17318
+ "Malay / Malayalam": "Malay / Malayalam",
17324
17319
  Telugu: Telugu$3,
17325
17320
  Kannada: Kannada$3,
17326
17321
  Hindi: Hindi$3,
17327
17322
  "Bahasa Indonesia": "Bahasa Indonesia",
17328
- Malay: Malay$3,
17329
17323
  Thai: Thai$3,
17330
17324
  Filipino: Filipino$3,
17331
17325
  English: English$3,
@@ -17420,11 +17414,9 @@
17420
17414
  const Multilingual$2 = "Plurilingüe";
17421
17415
  const Arabic$2 = "Árabe";
17422
17416
  const Tamil$2 = "Tamil";
17423
- const Malayalam$2 = "Malayalam";
17424
17417
  const Telugu$2 = "Telugu";
17425
17418
  const Kannada$2 = "Canarés";
17426
17419
  const Hindi$2 = "Hindi";
17427
- const Malay$2 = "Malayo";
17428
17420
  const Thai$2 = "Tailandés";
17429
17421
  const Filipino$2 = "Filipino";
17430
17422
  const English$2 = "Inglés";
@@ -17552,12 +17544,11 @@
17552
17544
  Multilingual: Multilingual$2,
17553
17545
  Arabic: Arabic$2,
17554
17546
  Tamil: Tamil$2,
17555
- Malayalam: Malayalam$2,
17547
+ "Malay / Malayalam": "Malayo / Malayalam",
17556
17548
  Telugu: Telugu$2,
17557
17549
  Kannada: Kannada$2,
17558
17550
  Hindi: Hindi$2,
17559
17551
  "Bahasa Indonesia": "Bahasa Indonesia",
17560
- Malay: Malay$2,
17561
17552
  Thai: Thai$2,
17562
17553
  Filipino: Filipino$2,
17563
17554
  English: English$2,
@@ -17652,11 +17643,9 @@
17652
17643
  const Multilingual$1 = "बहुभाषी";
17653
17644
  const Arabic$1 = "अरबी";
17654
17645
  const Tamil$1 = "तमिल";
17655
- const Malayalam$1 = "मलयालम";
17656
17646
  const Telugu$1 = "तेलुगु";
17657
17647
  const Kannada$1 = "कन्नड़";
17658
17648
  const Hindi$1 = "हिंदी";
17659
- const Malay$1 = "मलय";
17660
17649
  const Thai$1 = "थाई";
17661
17650
  const Filipino$1 = "फिलिपिनो";
17662
17651
  const English$1 = "अंग्रेज़ी";
@@ -17782,12 +17771,11 @@
17782
17771
  Multilingual: Multilingual$1,
17783
17772
  Arabic: Arabic$1,
17784
17773
  Tamil: Tamil$1,
17785
- Malayalam: Malayalam$1,
17774
+ "Malay / Malayalam": "मलय / मलयालम",
17786
17775
  Telugu: Telugu$1,
17787
17776
  Kannada: Kannada$1,
17788
17777
  Hindi: Hindi$1,
17789
17778
  "Bahasa Indonesia": "बहासा इंडोनेशिया",
17790
- Malay: Malay$1,
17791
17779
  Thai: Thai$1,
17792
17780
  Filipino: Filipino$1,
17793
17781
  English: English$1,
@@ -17880,11 +17868,9 @@
17880
17868
  const Multilingual = "Multibahasa";
17881
17869
  const Arabic = "Arab";
17882
17870
  const Tamil = "Tamil";
17883
- const Malayalam = "Malayalam";
17884
17871
  const Telugu = "Telugu";
17885
17872
  const Kannada = "Kannada";
17886
17873
  const Hindi = "Hindi";
17887
- const Malay = "Melayu";
17888
17874
  const Thai = "Thai";
17889
17875
  const Filipino = "Filipina";
17890
17876
  const English = "Bahasa Inggris";
@@ -18010,12 +17996,11 @@
18010
17996
  Multilingual,
18011
17997
  Arabic,
18012
17998
  Tamil,
18013
- Malayalam,
17999
+ "Malay / Malayalam": "Melayu / Malayalam",
18014
18000
  Telugu,
18015
18001
  Kannada,
18016
18002
  Hindi,
18017
18003
  "Bahasa Indonesia": "Bahasa Indonesia",
18018
- Malay,
18019
18004
  Thai,
18020
18005
  Filipino,
18021
18006
  English,
@@ -18089,27 +18074,27 @@
18089
18074
  var TranscriptionLanguageCode;
18090
18075
  (function(TranscriptionLanguageCode2) {
18091
18076
  TranscriptionLanguageCode2["ar"] = "ar";
18092
- TranscriptionLanguageCode2["en"] = "en";
18077
+ TranscriptionLanguageCode2["ca"] = "ca";
18078
+ TranscriptionLanguageCode2["cs"] = "cs";
18093
18079
  TranscriptionLanguageCode2["de"] = "de";
18080
+ TranscriptionLanguageCode2["en_GB"] = "en_GB";
18081
+ TranscriptionLanguageCode2["en_US"] = "en_US";
18094
18082
  TranscriptionLanguageCode2["es"] = "es";
18095
- TranscriptionLanguageCode2["fil"] = "fil";
18096
18083
  TranscriptionLanguageCode2["fr"] = "fr";
18097
- TranscriptionLanguageCode2["id"] = "id";
18098
18084
  TranscriptionLanguageCode2["hi"] = "hi";
18085
+ TranscriptionLanguageCode2["id"] = "id";
18086
+ TranscriptionLanguageCode2["it"] = "it";
18099
18087
  TranscriptionLanguageCode2["ja"] = "ja";
18100
18088
  TranscriptionLanguageCode2["kn"] = "kn";
18101
- TranscriptionLanguageCode2["ml"] = "ml";
18102
18089
  TranscriptionLanguageCode2["ms"] = "ms";
18090
+ TranscriptionLanguageCode2["pt"] = "pt";
18091
+ TranscriptionLanguageCode2["sv"] = "sv";
18103
18092
  TranscriptionLanguageCode2["ta"] = "ta";
18104
18093
  TranscriptionLanguageCode2["te"] = "te";
18105
18094
  TranscriptionLanguageCode2["th"] = "th";
18095
+ TranscriptionLanguageCode2["ur"] = "ur";
18106
18096
  TranscriptionLanguageCode2["zh"] = "zh";
18107
- TranscriptionLanguageCode2["it"] = "it";
18108
- TranscriptionLanguageCode2["pt"] = "pt";
18109
- TranscriptionLanguageCode2["ca"] = "ca";
18110
- TranscriptionLanguageCode2["eu"] = "eu";
18111
- TranscriptionLanguageCode2["gl"] = "gl";
18112
- TranscriptionLanguageCode2["multilingual"] = "";
18097
+ TranscriptionLanguageCode2["multilingual"] = "multi";
18113
18098
  })(TranscriptionLanguageCode || (TranscriptionLanguageCode = {}));
18114
18099
  LanguageCode.es;
18115
18100
  const languages = [
@@ -18142,25 +18127,31 @@
18142
18127
  const transcriptionLanguages = [
18143
18128
  { label: "Multilingual", value: TranscriptionLanguageCode.multilingual },
18144
18129
  { label: "Español", value: TranscriptionLanguageCode.es },
18145
- { label: "English", value: TranscriptionLanguageCode.en },
18130
+ {
18131
+ label: "English (US)",
18132
+ value: TranscriptionLanguageCode.en_US
18133
+ },
18134
+ {
18135
+ label: "English (UK)",
18136
+ value: TranscriptionLanguageCode.en_GB
18137
+ },
18146
18138
  { label: "Français", value: TranscriptionLanguageCode.fr },
18147
18139
  { label: "Deutsch", value: TranscriptionLanguageCode.de },
18148
18140
  { label: "Italiano", value: TranscriptionLanguageCode.it },
18149
18141
  { label: "Português", value: TranscriptionLanguageCode.pt },
18150
18142
  { label: "Català", value: TranscriptionLanguageCode.ca },
18151
- { label: "Euskera", value: TranscriptionLanguageCode.eu },
18152
- { label: "Galego", value: TranscriptionLanguageCode.gl },
18153
18143
  { label: "Arabic", value: TranscriptionLanguageCode.ar },
18144
+ { label: "Čeština", value: TranscriptionLanguageCode.cs },
18154
18145
  { label: "Bahasa Indonesia", value: TranscriptionLanguageCode.id },
18155
18146
  { label: "Chinese", value: TranscriptionLanguageCode.zh },
18156
- { label: "Filipino", value: TranscriptionLanguageCode.fil },
18157
18147
  { label: "Hindi", value: TranscriptionLanguageCode.hi },
18158
18148
  { label: "Japanese", value: TranscriptionLanguageCode.ja },
18159
18149
  { label: "Kannada", value: TranscriptionLanguageCode.kn },
18160
- { label: "Malay", value: TranscriptionLanguageCode.ms },
18161
- { label: "Malayalam", value: TranscriptionLanguageCode.ml },
18150
+ { label: "Malay / Malayalam", value: TranscriptionLanguageCode.ms },
18162
18151
  { label: "Tamil", value: TranscriptionLanguageCode.ta },
18163
18152
  { label: "Telugu", value: TranscriptionLanguageCode.te },
18153
+ { label: "Urdu", value: TranscriptionLanguageCode.ur },
18154
+ { label: "Svenska", value: TranscriptionLanguageCode.sv },
18164
18155
  { label: "Thai", value: TranscriptionLanguageCode.th }
18165
18156
  ];
18166
18157
 
@@ -22009,7 +22000,7 @@
22009
22000
  mergeConfig: mergeConfig$1
22010
22001
  } = axios;
22011
22002
 
22012
- const version$1 = "0.0.10";
22003
+ const version$1 = "0.0.11";
22013
22004
 
22014
22005
  const handleApiError = async (error) => {
22015
22006
  return Promise.reject(error);
@@ -22591,7 +22582,7 @@
22591
22582
  const profile = await SettingsApi.getSettings(templateId, toolArgs);
22592
22583
  const newDictionary = profile?.[SettingsApiKeys.dictionary] || [];
22593
22584
  const newLanguage = profile?.[SettingsApiKeys.language] || (predefinedLanguage ?? getUserDefaultLanguage().code);
22594
- const newTranscriptionLanguage = profile?.[SettingsApiKeys.transcriptionLanguage];
22585
+ const newTranscriptionLanguage = profile?.[SettingsApiKeys.transcriptionLanguage] || TranscriptionLanguageCode.multilingual;
22595
22586
  const newSources = Array.isArray(profile?.[SettingsApiKeys.sources]) ? profile[SettingsApiKeys.sources] : null;
22596
22587
  const newAvailableSources = Array.isArray(profile?.[SettingsApiKeys.availableSources]) ? profile[SettingsApiKeys.availableSources] : [];
22597
22588
  const newCustomTemplate = profile?.[SettingsApiKeys.template] ? {
@@ -22687,7 +22678,7 @@
22687
22678
  try {
22688
22679
  setTranscriptionLanguage(lang);
22689
22680
  SettingsCache.getInstance().setTranscriptionLanguage(lang);
22690
- const dBLanguage = lang === "" ? null : lang;
22681
+ const dBLanguage = lang;
22691
22682
  await SettingsApi.updateSetting(SettingsApiKeys.transcriptionLanguage, dBLanguage);
22692
22683
  } catch (error) {
22693
22684
  logger.settingsError("Error updating transcription language:", error);
@@ -126268,7 +126259,7 @@
126268
126259
  return jsxRuntimeExports.jsxs("div", { className: "omniscribe_report-button-container", children: [renderContent(), jsxRuntimeExports.jsx(LoadingModal, { isLoading: transcriptorLoader || generating || loading, message: loading ? "Por favor espera mientras rellenamos con el reporte" : void 0 })] });
126269
126260
  };
126270
126261
 
126271
- const CustomSelect = ({ options, onChange, selectedNumber = 0 }) => {
126262
+ const CustomSelect = ({ options, onChange, selectedNumber = 0, maxVisibleItems }) => {
126272
126263
  const dropdownRef = reactExports.useRef(null);
126273
126264
  const [selected, setSelected] = reactExports.useState(options[selectedNumber]);
126274
126265
  const [isOpen, setIsOpen] = reactExports.useState(false);
@@ -126308,7 +126299,9 @@
126308
126299
  height: "calc(var(--spacing) * 5)",
126309
126300
  color: "var(--color-gray-900)",
126310
126301
  marginLeft: "calc(var(--spacing) * 2)"
126311
- } })] }), isOpen && jsxRuntimeExports.jsx("div", { className: "omniscribe_select-content-container", children: jsxRuntimeExports.jsx("ul", { className: "omniscribe_select-content-ul scrollbar-pretty", children: options.map((option) => jsxRuntimeExports.jsxs("li", { onMouseDown: (e) => {
126302
+ } })] }), isOpen && jsxRuntimeExports.jsx("div", { className: "omniscribe_select-content-container", children: jsxRuntimeExports.jsx("ul", { className: "omniscribe_select-content-ul scrollbar-pretty", style: maxVisibleItems ? {
126303
+ maxHeight: `calc(var(--spacing) * ${maxVisibleItems * 11} + var(--spacing) * 2)`
126304
+ } : void 0, children: options.map((option) => jsxRuntimeExports.jsxs("li", { onMouseDown: (e) => {
126312
126305
  e.stopPropagation();
126313
126306
  e.preventDefault();
126314
126307
  }, onClick: (e) => handleChangeSelect(option, e), className: "omniscribe_select-content-li", children: [jsxRuntimeExports.jsxs("span", { className: "omniscribe_select-content-li-span", children: [option.icon ?? null, formatMessage({
@@ -126773,7 +126766,7 @@
126773
126766
  const { code } = await getLanguageByCode(value);
126774
126767
  await updateLanguage(code);
126775
126768
  };
126776
- return jsxRuntimeExports.jsx("div", { className: "w-full", "data-testid": "language-selector", children: jsxRuntimeExports.jsx(CustomSelect, { options: langOptions, onChange: handleLanguageChange, selectedNumber, className: "w-full" }) });
126769
+ return jsxRuntimeExports.jsx("div", { className: "w-full", "data-testid": "language-selector", children: jsxRuntimeExports.jsx(CustomSelect, { options: langOptions, onChange: handleLanguageChange, selectedNumber, className: "w-full", maxVisibleItems: 3 }) });
126777
126770
  };
126778
126771
 
126779
126772
  const TranscriptionLanguageSelector = () => {
@@ -126791,7 +126784,7 @@
126791
126784
  logger.settingsError("Error updating transcription language:", error);
126792
126785
  }
126793
126786
  };
126794
- return jsxRuntimeExports.jsx("div", { className: "w-full", "data-testid": "transcription-language-selector", children: jsxRuntimeExports.jsx(CustomSelect, { options: transcriptionLanguageOptions, onChange: handleTranscriptionLanguageChange, selectedNumber: getSelectedIndex, className: "w-full" }) });
126787
+ return jsxRuntimeExports.jsx("div", { className: "w-full", "data-testid": "transcription-language-selector", children: jsxRuntimeExports.jsx(CustomSelect, { options: transcriptionLanguageOptions, onChange: handleTranscriptionLanguageChange, selectedNumber: getSelectedIndex, className: "w-full", maxVisibleItems: 4 }) });
126795
126788
  };
126796
126789
 
126797
126790
  const ConfigSection = ({ description, children, className = "" }) => {
@@ -16955,11 +16955,9 @@ const Collapse$4 = "طي";
16955
16955
  const Multilingual$4 = "متعدد اللغات";
16956
16956
  const Arabic$4 = "عربي";
16957
16957
  const Tamil$4 = "التاميل";
16958
- const Malayalam$4 = "المالايالامية";
16959
16958
  const Telugu$4 = "التيلجو";
16960
16959
  const Kannada$4 = "الكانادا";
16961
16960
  const Hindi$4 = "الهندية";
16962
- const Malay$4 = "لغة الملايو";
16963
16961
  const Thai$4 = "التايلاندية";
16964
16962
  const Filipino$4 = "فلبينية";
16965
16963
  const English$4 = "الإنجليزية";
@@ -17085,12 +17083,11 @@ const ar = {
17085
17083
  Multilingual: Multilingual$4,
17086
17084
  Arabic: Arabic$4,
17087
17085
  Tamil: Tamil$4,
17088
- Malayalam: Malayalam$4,
17086
+ "Malay / Malayalam": "لغة الملايو / المالايالامية",
17089
17087
  Telugu: Telugu$4,
17090
17088
  Kannada: Kannada$4,
17091
17089
  Hindi: Hindi$4,
17092
17090
  "Bahasa Indonesia": "البهاسا الاندونيسية",
17093
- Malay: Malay$4,
17094
17091
  Thai: Thai$4,
17095
17092
  Filipino: Filipino$4,
17096
17093
  English: English$4,
@@ -17182,11 +17179,9 @@ const Collapse$3 = "Collapse";
17182
17179
  const Multilingual$3 = "Multilingual";
17183
17180
  const Arabic$3 = "Arabic";
17184
17181
  const Tamil$3 = "Tamil";
17185
- const Malayalam$3 = "Malayalam";
17186
17182
  const Telugu$3 = "Telugu";
17187
17183
  const Kannada$3 = "Kannada";
17188
17184
  const Hindi$3 = "Hindi";
17189
- const Malay$3 = "Malay";
17190
17185
  const Thai$3 = "Thai";
17191
17186
  const Filipino$3 = "Filipino";
17192
17187
  const English$3 = "English";
@@ -17314,12 +17309,11 @@ const en = {
17314
17309
  Multilingual: Multilingual$3,
17315
17310
  Arabic: Arabic$3,
17316
17311
  Tamil: Tamil$3,
17317
- Malayalam: Malayalam$3,
17312
+ "Malay / Malayalam": "Malay / Malayalam",
17318
17313
  Telugu: Telugu$3,
17319
17314
  Kannada: Kannada$3,
17320
17315
  Hindi: Hindi$3,
17321
17316
  "Bahasa Indonesia": "Bahasa Indonesia",
17322
- Malay: Malay$3,
17323
17317
  Thai: Thai$3,
17324
17318
  Filipino: Filipino$3,
17325
17319
  English: English$3,
@@ -17414,11 +17408,9 @@ const Collapse$2 = "Cerrar";
17414
17408
  const Multilingual$2 = "Plurilingüe";
17415
17409
  const Arabic$2 = "Árabe";
17416
17410
  const Tamil$2 = "Tamil";
17417
- const Malayalam$2 = "Malayalam";
17418
17411
  const Telugu$2 = "Telugu";
17419
17412
  const Kannada$2 = "Canarés";
17420
17413
  const Hindi$2 = "Hindi";
17421
- const Malay$2 = "Malayo";
17422
17414
  const Thai$2 = "Tailandés";
17423
17415
  const Filipino$2 = "Filipino";
17424
17416
  const English$2 = "Inglés";
@@ -17546,12 +17538,11 @@ const es = {
17546
17538
  Multilingual: Multilingual$2,
17547
17539
  Arabic: Arabic$2,
17548
17540
  Tamil: Tamil$2,
17549
- Malayalam: Malayalam$2,
17541
+ "Malay / Malayalam": "Malayo / Malayalam",
17550
17542
  Telugu: Telugu$2,
17551
17543
  Kannada: Kannada$2,
17552
17544
  Hindi: Hindi$2,
17553
17545
  "Bahasa Indonesia": "Bahasa Indonesia",
17554
- Malay: Malay$2,
17555
17546
  Thai: Thai$2,
17556
17547
  Filipino: Filipino$2,
17557
17548
  English: English$2,
@@ -17646,11 +17637,9 @@ const Collapse$1 = "संक्षिप्त करें";
17646
17637
  const Multilingual$1 = "बहुभाषी";
17647
17638
  const Arabic$1 = "अरबी";
17648
17639
  const Tamil$1 = "तमिल";
17649
- const Malayalam$1 = "मलयालम";
17650
17640
  const Telugu$1 = "तेलुगु";
17651
17641
  const Kannada$1 = "कन्नड़";
17652
17642
  const Hindi$1 = "हिंदी";
17653
- const Malay$1 = "मलय";
17654
17643
  const Thai$1 = "थाई";
17655
17644
  const Filipino$1 = "फिलिपिनो";
17656
17645
  const English$1 = "अंग्रेज़ी";
@@ -17776,12 +17765,11 @@ const hi = {
17776
17765
  Multilingual: Multilingual$1,
17777
17766
  Arabic: Arabic$1,
17778
17767
  Tamil: Tamil$1,
17779
- Malayalam: Malayalam$1,
17768
+ "Malay / Malayalam": "मलय / मलयालम",
17780
17769
  Telugu: Telugu$1,
17781
17770
  Kannada: Kannada$1,
17782
17771
  Hindi: Hindi$1,
17783
17772
  "Bahasa Indonesia": "बहासा इंडोनेशिया",
17784
- Malay: Malay$1,
17785
17773
  Thai: Thai$1,
17786
17774
  Filipino: Filipino$1,
17787
17775
  English: English$1,
@@ -17874,11 +17862,9 @@ const Collapse = "Ciutkan";
17874
17862
  const Multilingual = "Multibahasa";
17875
17863
  const Arabic = "Arab";
17876
17864
  const Tamil = "Tamil";
17877
- const Malayalam = "Malayalam";
17878
17865
  const Telugu = "Telugu";
17879
17866
  const Kannada = "Kannada";
17880
17867
  const Hindi = "Hindi";
17881
- const Malay = "Melayu";
17882
17868
  const Thai = "Thai";
17883
17869
  const Filipino = "Filipina";
17884
17870
  const English = "Bahasa Inggris";
@@ -18004,12 +17990,11 @@ const id = {
18004
17990
  Multilingual,
18005
17991
  Arabic,
18006
17992
  Tamil,
18007
- Malayalam,
17993
+ "Malay / Malayalam": "Melayu / Malayalam",
18008
17994
  Telugu,
18009
17995
  Kannada,
18010
17996
  Hindi,
18011
17997
  "Bahasa Indonesia": "Bahasa Indonesia",
18012
- Malay,
18013
17998
  Thai,
18014
17999
  Filipino,
18015
18000
  English,
@@ -18083,27 +18068,27 @@ var LanguageCode;
18083
18068
  var TranscriptionLanguageCode;
18084
18069
  (function(TranscriptionLanguageCode2) {
18085
18070
  TranscriptionLanguageCode2["ar"] = "ar";
18086
- TranscriptionLanguageCode2["en"] = "en";
18071
+ TranscriptionLanguageCode2["ca"] = "ca";
18072
+ TranscriptionLanguageCode2["cs"] = "cs";
18087
18073
  TranscriptionLanguageCode2["de"] = "de";
18074
+ TranscriptionLanguageCode2["en_GB"] = "en_GB";
18075
+ TranscriptionLanguageCode2["en_US"] = "en_US";
18088
18076
  TranscriptionLanguageCode2["es"] = "es";
18089
- TranscriptionLanguageCode2["fil"] = "fil";
18090
18077
  TranscriptionLanguageCode2["fr"] = "fr";
18091
- TranscriptionLanguageCode2["id"] = "id";
18092
18078
  TranscriptionLanguageCode2["hi"] = "hi";
18079
+ TranscriptionLanguageCode2["id"] = "id";
18080
+ TranscriptionLanguageCode2["it"] = "it";
18093
18081
  TranscriptionLanguageCode2["ja"] = "ja";
18094
18082
  TranscriptionLanguageCode2["kn"] = "kn";
18095
- TranscriptionLanguageCode2["ml"] = "ml";
18096
18083
  TranscriptionLanguageCode2["ms"] = "ms";
18084
+ TranscriptionLanguageCode2["pt"] = "pt";
18085
+ TranscriptionLanguageCode2["sv"] = "sv";
18097
18086
  TranscriptionLanguageCode2["ta"] = "ta";
18098
18087
  TranscriptionLanguageCode2["te"] = "te";
18099
18088
  TranscriptionLanguageCode2["th"] = "th";
18089
+ TranscriptionLanguageCode2["ur"] = "ur";
18100
18090
  TranscriptionLanguageCode2["zh"] = "zh";
18101
- TranscriptionLanguageCode2["it"] = "it";
18102
- TranscriptionLanguageCode2["pt"] = "pt";
18103
- TranscriptionLanguageCode2["ca"] = "ca";
18104
- TranscriptionLanguageCode2["eu"] = "eu";
18105
- TranscriptionLanguageCode2["gl"] = "gl";
18106
- TranscriptionLanguageCode2["multilingual"] = "";
18091
+ TranscriptionLanguageCode2["multilingual"] = "multi";
18107
18092
  })(TranscriptionLanguageCode || (TranscriptionLanguageCode = {}));
18108
18093
  LanguageCode.es;
18109
18094
  const languages = [
@@ -18136,25 +18121,31 @@ const languages = [
18136
18121
  const transcriptionLanguages = [
18137
18122
  { label: "Multilingual", value: TranscriptionLanguageCode.multilingual },
18138
18123
  { label: "Español", value: TranscriptionLanguageCode.es },
18139
- { label: "English", value: TranscriptionLanguageCode.en },
18124
+ {
18125
+ label: "English (US)",
18126
+ value: TranscriptionLanguageCode.en_US
18127
+ },
18128
+ {
18129
+ label: "English (UK)",
18130
+ value: TranscriptionLanguageCode.en_GB
18131
+ },
18140
18132
  { label: "Français", value: TranscriptionLanguageCode.fr },
18141
18133
  { label: "Deutsch", value: TranscriptionLanguageCode.de },
18142
18134
  { label: "Italiano", value: TranscriptionLanguageCode.it },
18143
18135
  { label: "Português", value: TranscriptionLanguageCode.pt },
18144
18136
  { label: "Català", value: TranscriptionLanguageCode.ca },
18145
- { label: "Euskera", value: TranscriptionLanguageCode.eu },
18146
- { label: "Galego", value: TranscriptionLanguageCode.gl },
18147
18137
  { label: "Arabic", value: TranscriptionLanguageCode.ar },
18138
+ { label: "Čeština", value: TranscriptionLanguageCode.cs },
18148
18139
  { label: "Bahasa Indonesia", value: TranscriptionLanguageCode.id },
18149
18140
  { label: "Chinese", value: TranscriptionLanguageCode.zh },
18150
- { label: "Filipino", value: TranscriptionLanguageCode.fil },
18151
18141
  { label: "Hindi", value: TranscriptionLanguageCode.hi },
18152
18142
  { label: "Japanese", value: TranscriptionLanguageCode.ja },
18153
18143
  { label: "Kannada", value: TranscriptionLanguageCode.kn },
18154
- { label: "Malay", value: TranscriptionLanguageCode.ms },
18155
- { label: "Malayalam", value: TranscriptionLanguageCode.ml },
18144
+ { label: "Malay / Malayalam", value: TranscriptionLanguageCode.ms },
18156
18145
  { label: "Tamil", value: TranscriptionLanguageCode.ta },
18157
18146
  { label: "Telugu", value: TranscriptionLanguageCode.te },
18147
+ { label: "Urdu", value: TranscriptionLanguageCode.ur },
18148
+ { label: "Svenska", value: TranscriptionLanguageCode.sv },
18158
18149
  { label: "Thai", value: TranscriptionLanguageCode.th }
18159
18150
  ];
18160
18151
 
@@ -22003,7 +21994,7 @@ const {
22003
21994
  mergeConfig: mergeConfig$1
22004
21995
  } = axios;
22005
21996
 
22006
- const version$1 = "0.0.10";
21997
+ const version$1 = "0.0.11";
22007
21998
 
22008
21999
  const handleApiError = async (error) => {
22009
22000
  return Promise.reject(error);
@@ -22585,7 +22576,7 @@ const SettingsProvider = ({ predefinedLanguage, templateId, toolArgs, children }
22585
22576
  const profile = await SettingsApi.getSettings(templateId, toolArgs);
22586
22577
  const newDictionary = profile?.[SettingsApiKeys.dictionary] || [];
22587
22578
  const newLanguage = profile?.[SettingsApiKeys.language] || (predefinedLanguage ?? getUserDefaultLanguage().code);
22588
- const newTranscriptionLanguage = profile?.[SettingsApiKeys.transcriptionLanguage];
22579
+ const newTranscriptionLanguage = profile?.[SettingsApiKeys.transcriptionLanguage] || TranscriptionLanguageCode.multilingual;
22589
22580
  const newSources = Array.isArray(profile?.[SettingsApiKeys.sources]) ? profile[SettingsApiKeys.sources] : null;
22590
22581
  const newAvailableSources = Array.isArray(profile?.[SettingsApiKeys.availableSources]) ? profile[SettingsApiKeys.availableSources] : [];
22591
22582
  const newCustomTemplate = profile?.[SettingsApiKeys.template] ? {
@@ -22681,7 +22672,7 @@ const SettingsProvider = ({ predefinedLanguage, templateId, toolArgs, children }
22681
22672
  try {
22682
22673
  setTranscriptionLanguage(lang);
22683
22674
  SettingsCache.getInstance().setTranscriptionLanguage(lang);
22684
- const dBLanguage = lang === "" ? null : lang;
22675
+ const dBLanguage = lang;
22685
22676
  await SettingsApi.updateSetting(SettingsApiKeys.transcriptionLanguage, dBLanguage);
22686
22677
  } catch (error) {
22687
22678
  logger.settingsError("Error updating transcription language:", error);
@@ -126261,7 +126252,7 @@ const ReportButton = ({ onFillClick }) => {
126261
126252
  return jsxRuntimeExports.jsxs("div", { className: "omniscribe_report-button-container", children: [renderContent(), jsxRuntimeExports.jsx(LoadingModal, { isLoading: transcriptorLoader || generating || loading, message: loading ? "Por favor espera mientras rellenamos con el reporte" : void 0 })] });
126262
126253
  };
126263
126254
 
126264
- const CustomSelect = ({ options, onChange, selectedNumber = 0 }) => {
126255
+ const CustomSelect = ({ options, onChange, selectedNumber = 0, maxVisibleItems }) => {
126265
126256
  const dropdownRef = reactExports.useRef(null);
126266
126257
  const [selected, setSelected] = reactExports.useState(options[selectedNumber]);
126267
126258
  const [isOpen, setIsOpen] = reactExports.useState(false);
@@ -126301,7 +126292,9 @@ const CustomSelect = ({ options, onChange, selectedNumber = 0 }) => {
126301
126292
  height: "calc(var(--spacing) * 5)",
126302
126293
  color: "var(--color-gray-900)",
126303
126294
  marginLeft: "calc(var(--spacing) * 2)"
126304
- } })] }), isOpen && jsxRuntimeExports.jsx("div", { className: "omniscribe_select-content-container", children: jsxRuntimeExports.jsx("ul", { className: "omniscribe_select-content-ul scrollbar-pretty", children: options.map((option) => jsxRuntimeExports.jsxs("li", { onMouseDown: (e) => {
126295
+ } })] }), isOpen && jsxRuntimeExports.jsx("div", { className: "omniscribe_select-content-container", children: jsxRuntimeExports.jsx("ul", { className: "omniscribe_select-content-ul scrollbar-pretty", style: maxVisibleItems ? {
126296
+ maxHeight: `calc(var(--spacing) * ${maxVisibleItems * 11} + var(--spacing) * 2)`
126297
+ } : void 0, children: options.map((option) => jsxRuntimeExports.jsxs("li", { onMouseDown: (e) => {
126305
126298
  e.stopPropagation();
126306
126299
  e.preventDefault();
126307
126300
  }, onClick: (e) => handleChangeSelect(option, e), className: "omniscribe_select-content-li", children: [jsxRuntimeExports.jsxs("span", { className: "omniscribe_select-content-li-span", children: [option.icon ?? null, formatMessage({
@@ -126766,7 +126759,7 @@ const LanguageSelector = () => {
126766
126759
  const { code } = await getLanguageByCode(value);
126767
126760
  await updateLanguage(code);
126768
126761
  };
126769
- return jsxRuntimeExports.jsx("div", { className: "w-full", "data-testid": "language-selector", children: jsxRuntimeExports.jsx(CustomSelect, { options: langOptions, onChange: handleLanguageChange, selectedNumber, className: "w-full" }) });
126762
+ return jsxRuntimeExports.jsx("div", { className: "w-full", "data-testid": "language-selector", children: jsxRuntimeExports.jsx(CustomSelect, { options: langOptions, onChange: handleLanguageChange, selectedNumber, className: "w-full", maxVisibleItems: 3 }) });
126770
126763
  };
126771
126764
 
126772
126765
  const TranscriptionLanguageSelector = () => {
@@ -126784,7 +126777,7 @@ const TranscriptionLanguageSelector = () => {
126784
126777
  logger.settingsError("Error updating transcription language:", error);
126785
126778
  }
126786
126779
  };
126787
- return jsxRuntimeExports.jsx("div", { className: "w-full", "data-testid": "transcription-language-selector", children: jsxRuntimeExports.jsx(CustomSelect, { options: transcriptionLanguageOptions, onChange: handleTranscriptionLanguageChange, selectedNumber: getSelectedIndex, className: "w-full" }) });
126780
+ return jsxRuntimeExports.jsx("div", { className: "w-full", "data-testid": "transcription-language-selector", children: jsxRuntimeExports.jsx(CustomSelect, { options: transcriptionLanguageOptions, onChange: handleTranscriptionLanguageChange, selectedNumber: getSelectedIndex, className: "w-full", maxVisibleItems: 4 }) });
126788
126781
  };
126789
126782
 
126790
126783
  const ConfigSection = ({ description, children, className = "" }) => {