@tilde-nlp/ngx-translate 9.1.26 → 9.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { PipeTransform, AfterViewInit, OnDestroy, OnInit, ElementRef, EventEmitter, ChangeDetectorRef, Renderer2, ModuleWithProviders } from '@angular/core';
3
- import * as i16 from '@tilde-nlp/ngx-common';
3
+ import * as i17 from '@tilde-nlp/ngx-common';
4
4
  import { System, InlineMessage, Domain, ActiveData, LangListItem, OpenCloseButtonComponent, CloseButtonComponent, TerminologyService, AlertService, FileUploadError, LanguageTranslateService, DomainList, Vendor, SortTranslationsPipe, NotificationMessage, StatusDisplayConfig, IconService } from '@tilde-nlp/ngx-common';
5
5
  import * as rxjs from 'rxjs';
6
6
  import { ReplaySubject, Observable, Subject } from 'rxjs';
@@ -9,7 +9,7 @@ import * as _angular_platform_browser from '@angular/platform-browser';
9
9
  import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
10
10
  import * as i4 from '@ngx-translate/core';
11
11
  import { TranslateService } from '@ngx-translate/core';
12
- import * as i17 from '@angular/material/menu';
12
+ import * as i17$1 from '@angular/material/menu';
13
13
  import { MatMenu } from '@angular/material/menu';
14
14
  import * as i9 from '@angular/forms';
15
15
  import * as i2 from '@angular/common';
@@ -18,11 +18,11 @@ import { MatButton } from '@angular/material/button';
18
18
  import * as i18 from '@angular/material/tooltip';
19
19
  import * as i6 from '@angular/material/icon';
20
20
  import * as i7 from '@angular/material/progress-spinner';
21
- import * as i13 from '@ngbracket/ngx-layout';
21
+ import * as i16 from '@ngbracket/ngx-layout';
22
22
  import * as i15 from '@angular/material/dialog';
23
23
  import { MatDialog } from '@angular/material/dialog';
24
24
  import { HttpClient } from '@angular/common/http';
25
- import * as i13$1 from '@angular/material/progress-bar';
25
+ import * as i13 from '@angular/material/progress-bar';
26
26
  import { ProgressBarMode } from '@angular/material/progress-bar';
27
27
  import { ScrollDispatcher, CdkScrollable } from '@angular/cdk/overlay';
28
28
  import * as _tilde_nlp_ngx_translate from '@tilde-nlp/ngx-translate';
@@ -36,7 +36,7 @@ import { BreakpointObserver } from '@angular/cdk/layout';
36
36
  import * as i21 from '@angular/material/input';
37
37
  import { MatInput } from '@angular/material/input';
38
38
  import * as i22 from '@angular/material/form-field';
39
- import * as i22$1 from '@angular/material/expansion';
39
+ import * as i23 from '@angular/material/expansion';
40
40
  import { MatExpansionPanel } from '@angular/material/expansion';
41
41
  import { Router, ActivatedRoute } from '@angular/router';
42
42
 
@@ -961,7 +961,7 @@ declare class TextToSpeechModule {
961
961
 
962
962
  declare class TldCommonModule {
963
963
  static ɵfac: i0.ɵɵFactoryDeclaration<TldCommonModule, never>;
964
- static ɵmod: i0.ɵɵNgModuleDeclaration<TldCommonModule, [typeof TldLangListComponent, typeof TldLoaderComponent, typeof TldMessageComponent, typeof TldTranslateButtonComponent, typeof TranslateDomainPipe, typeof TldListMenuComponent, typeof SourceAndTargetWrapperComponent, typeof CapitalizePipe], [typeof i9.FormsModule, typeof i2.CommonModule, typeof i4.TranslateModule, typeof i16.CloseButtonModule, typeof i16.SortTranslationsModule, typeof TextToSpeechModule, typeof i16.OpenCloseButtonModule, typeof i14.MatButtonModule, typeof i6.MatIconModule, typeof i13.FlexLayoutModule, typeof i17.MatMenuModule, typeof i16.LanguageTranslateModule, typeof i17.MatMenuModule, typeof i18.MatTooltipModule, typeof i16.SortLanguageListPipe], [typeof TldLangListComponent, typeof TldLoaderComponent, typeof TldMessageComponent, typeof TldTranslateButtonComponent, typeof TranslateDomainPipe, typeof TldListMenuComponent, typeof SourceAndTargetWrapperComponent, typeof CapitalizePipe]>;
964
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TldCommonModule, [typeof TldLangListComponent, typeof TldLoaderComponent, typeof TldMessageComponent, typeof TldTranslateButtonComponent, typeof TranslateDomainPipe, typeof TldListMenuComponent, typeof SourceAndTargetWrapperComponent, typeof CapitalizePipe], [typeof i9.FormsModule, typeof i2.CommonModule, typeof i4.TranslateModule, typeof i17.CloseButtonModule, typeof i17.SortTranslationsModule, typeof TextToSpeechModule, typeof i17.OpenCloseButtonModule, typeof i14.MatButtonModule, typeof i6.MatIconModule, typeof i16.FlexLayoutModule, typeof i17$1.MatMenuModule, typeof i17.LanguageTranslateModule, typeof i17$1.MatMenuModule, typeof i18.MatTooltipModule, typeof i17.SortLanguageListPipe], [typeof TldLangListComponent, typeof TldLoaderComponent, typeof TldMessageComponent, typeof TldTranslateButtonComponent, typeof TranslateDomainPipe, typeof TldListMenuComponent, typeof SourceAndTargetWrapperComponent, typeof CapitalizePipe]>;
965
965
  static ɵinj: i0.ɵɵInjectorDeclaration<TldCommonModule>;
966
966
  }
967
967
 
@@ -1171,13 +1171,13 @@ declare class VendorDisclaimerComponent implements OnInit, OnDestroy {
1171
1171
 
1172
1172
  declare class VendorDisclaimerModule {
1173
1173
  static ɵfac: i0.ɵɵFactoryDeclaration<VendorDisclaimerModule, never>;
1174
- static ɵmod: i0.ɵɵNgModuleDeclaration<VendorDisclaimerModule, [typeof VendorDisclaimerComponent], [typeof i2.CommonModule, typeof i16.InlineMessageModule], [typeof VendorDisclaimerComponent]>;
1174
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VendorDisclaimerModule, [typeof VendorDisclaimerComponent], [typeof i2.CommonModule, typeof i17.InlineMessageModule], [typeof VendorDisclaimerComponent]>;
1175
1175
  static ɵinj: i0.ɵɵInjectorDeclaration<VendorDisclaimerModule>;
1176
1176
  }
1177
1177
 
1178
1178
  declare class TldDocumentModule {
1179
1179
  static ɵfac: i0.ɵɵFactoryDeclaration<TldDocumentModule, never>;
1180
- static ɵmod: i0.ɵɵNgModuleDeclaration<TldDocumentModule, [typeof TldTranslateFileComponent, typeof TldTranslateFileMultipleComponent, typeof TldTranslateFileDownloadButtonComponent, typeof TldTranslatePdfConversionHelpComponent, typeof TldTranslateImageConversionHelpComponent, typeof TldFileTranslateBaseComponent], [typeof i2.CommonModule, typeof TldCommonModule, typeof i4.TranslateModule, typeof i13.FlexLayoutModule, typeof i16.CloseButtonModule, typeof i16.InlineMessageModule, typeof VendorDisclaimerModule, typeof i16.FileUploadModule, typeof i13$1.MatProgressBarModule, typeof i14.MatButtonModule, typeof i15.MatDialogModule, typeof i17.MatMenuModule, typeof i6.MatIconModule, typeof i18.MatTooltipModule], [typeof TldTranslateFileComponent, typeof TldTranslateFileMultipleComponent, typeof TldTranslateFileDownloadButtonComponent]>;
1180
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TldDocumentModule, [typeof TldTranslateFileComponent, typeof TldTranslateFileMultipleComponent, typeof TldTranslateFileDownloadButtonComponent, typeof TldTranslatePdfConversionHelpComponent, typeof TldTranslateImageConversionHelpComponent, typeof TldFileTranslateBaseComponent], [typeof i2.CommonModule, typeof TldCommonModule, typeof i4.TranslateModule, typeof i16.FlexLayoutModule, typeof i17.CloseButtonModule, typeof i17.InlineMessageModule, typeof VendorDisclaimerModule, typeof i17.FileUploadModule, typeof i13.MatProgressBarModule, typeof i14.MatButtonModule, typeof i15.MatDialogModule, typeof i17$1.MatMenuModule, typeof i6.MatIconModule, typeof i18.MatTooltipModule], [typeof TldTranslateFileComponent, typeof TldTranslateFileMultipleComponent, typeof TldTranslateFileDownloadButtonComponent]>;
1181
1181
  static ɵinj: i0.ɵɵInjectorDeclaration<TldDocumentModule>;
1182
1182
  }
1183
1183
 
@@ -1311,7 +1311,7 @@ declare class TldTranslateTextService {
1311
1311
  get useDictionary(): boolean;
1312
1312
  get progressIndicatorTimeoutMiliSeconds(): number;
1313
1313
  get terminologyPortalUrl(): string;
1314
- get activeData(): i16.System;
1314
+ get activeData(): i17.System;
1315
1315
  get translateUrlRedirect(): string;
1316
1316
  /** If dictattion is active. Based on this, extensions are hidden. */
1317
1317
  isDictating: boolean;
@@ -1532,7 +1532,7 @@ declare class TldDictateComponent implements OnInit {
1532
1532
 
1533
1533
  declare class TldAudioModule {
1534
1534
  static ɵfac: i0.ɵɵFactoryDeclaration<TldAudioModule, never>;
1535
- static ɵmod: i0.ɵɵNgModuleDeclaration<TldAudioModule, [typeof TldRecordComponent, typeof TldDictateComponent], [typeof i2.CommonModule, typeof i4.TranslateModule, typeof i18.MatTooltipModule, typeof i6.MatIconModule, typeof i13.FlexLayoutModule, typeof i14.MatButtonModule], [typeof TldRecordComponent, typeof TldDictateComponent]>;
1535
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TldAudioModule, [typeof TldRecordComponent, typeof TldDictateComponent], [typeof i2.CommonModule, typeof i4.TranslateModule, typeof i18.MatTooltipModule, typeof i6.MatIconModule, typeof i16.FlexLayoutModule, typeof i14.MatButtonModule], [typeof TldRecordComponent, typeof TldDictateComponent]>;
1536
1536
  static ɵinj: i0.ɵɵInjectorDeclaration<TldAudioModule>;
1537
1537
  }
1538
1538
 
@@ -1724,7 +1724,7 @@ declare class RephraseComponent implements OnInit {
1724
1724
 
1725
1725
  declare class TldTextModule {
1726
1726
  static ɵfac: i0.ɵɵFactoryDeclaration<TldTextModule, never>;
1727
- static ɵmod: i0.ɵɵNgModuleDeclaration<TldTextModule, [typeof TldTranslateSourceComponent, typeof TldTranslateTextComponent, typeof TldDictionaryComponent, typeof TextareaWithBackgroundComponent, typeof HighlightTreeComponent, typeof ProgressIndicatorComponent], [typeof i2.CommonModule, typeof i4.TranslateModule, typeof i9.FormsModule, typeof TldCommonModule, typeof i11.ClipboardModule, typeof TldAudioModule, typeof i16.CloseButtonModule, typeof i16.ExtensionDialogModule, typeof i14$1.LayoutModule, typeof i13$1.MatProgressBarModule, typeof VendorDisclaimerModule, typeof TextToSpeechModule, typeof i16.FileUploadModule, typeof i14.MatButtonModule, typeof i17.MatMenuModule, typeof i13.FlexLayoutModule, typeof i21.MatInputModule, typeof i22.MatFormFieldModule, typeof i15.MatDialogModule, typeof i18.MatTooltipModule, typeof i6.MatIconModule, typeof i16.NewFeatureDialogWrapperComponent, typeof i26.KeycloakAngularModule, typeof RephraseComponent], [typeof TldTranslateSourceComponent, typeof TldTranslateTextComponent]>;
1727
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TldTextModule, [typeof TldTranslateSourceComponent, typeof TldTranslateTextComponent, typeof TldDictionaryComponent, typeof TextareaWithBackgroundComponent, typeof HighlightTreeComponent, typeof ProgressIndicatorComponent], [typeof i2.CommonModule, typeof i4.TranslateModule, typeof i9.FormsModule, typeof TldCommonModule, typeof i11.ClipboardModule, typeof TldAudioModule, typeof i17.CloseButtonModule, typeof i17.ExtensionDialogModule, typeof i14$1.LayoutModule, typeof i13.MatProgressBarModule, typeof VendorDisclaimerModule, typeof TextToSpeechModule, typeof i17.FileUploadModule, typeof i14.MatButtonModule, typeof i17$1.MatMenuModule, typeof i16.FlexLayoutModule, typeof i21.MatInputModule, typeof i22.MatFormFieldModule, typeof i15.MatDialogModule, typeof i18.MatTooltipModule, typeof i6.MatIconModule, typeof i17.NewFeatureDialogWrapperComponent, typeof i26.KeycloakAngularModule, typeof RephraseComponent], [typeof TldTranslateSourceComponent, typeof TldTranslateTextComponent]>;
1728
1728
  static ɵinj: i0.ɵɵInjectorDeclaration<TldTextModule>;
1729
1729
  }
1730
1730
 
@@ -1919,8 +1919,8 @@ declare class TranslationSystemPickerComponent implements OnInit, OnDestroy {
1919
1919
  get isSourceOpened(): boolean;
1920
1920
  get isTargetOpened(): boolean;
1921
1921
  get canSwap(): boolean;
1922
- get sourceLanguage(): i16.LangListItem;
1923
- get targetLanguage(): i16.LangListItem;
1922
+ get sourceLanguage(): i17.LangListItem;
1923
+ get targetLanguage(): i17.LangListItem;
1924
1924
  get isDataLoaded(): ActiveData;
1925
1925
  get collectionsVisible(): boolean;
1926
1926
  get isFileTranslating(): boolean;
@@ -1990,8 +1990,8 @@ declare class TranslationSystemPickerDropdownBodyComponent implements OnInit {
1990
1990
  readonly domainsTitleKey = "SYSTEM_PICKER.SELECT_DOMAIN";
1991
1991
  readonly recentSystemTitleKey = "SYSTEM_PICKER.RECENT_SYSTEM_TITLE";
1992
1992
  readonly historyIcon = "history";
1993
- get recentSystems(): i16.System[];
1994
- get domains(): i16.Domain[];
1993
+ get recentSystems(): i17.System[];
1994
+ get domains(): i17.Domain[];
1995
1995
  get activeSystemId(): string;
1996
1996
  get isAutoLanguageDetectionEnabled(): boolean;
1997
1997
  get activeDomain(): string;
@@ -2185,9 +2185,20 @@ declare class TranslationSystemPickerGroupsComponent {
2185
2185
  static ɵcmp: i0.ɵɵComponentDeclaration<TranslationSystemPickerGroupsComponent, "translation-system-picker-groups", never, { "activeId": { "alias": "activeId"; "required": false; "isSignal": true; }; "groupedSystems": { "alias": "groupedSystems"; "required": false; "isSignal": true; }; }, { "changeSystemEvent": "changeSystemEvent"; }, never, never, false, never>;
2186
2186
  }
2187
2187
 
2188
+ declare class TranslationSystemPickerTagsComponent {
2189
+ languageTags: i0.InputSignal<LanguageTag[]>;
2190
+ language: i0.InputSignal<TranslatedLanguage>;
2191
+ activeCode: i0.InputSignal<string>;
2192
+ activeVendor: i0.InputSignal<string>;
2193
+ activeDomain: i0.InputSignal<string>;
2194
+ isLangCodeAndVendorActive: i0.Signal<boolean>;
2195
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationSystemPickerTagsComponent, never>;
2196
+ static ɵcmp: i0.ɵɵComponentDeclaration<TranslationSystemPickerTagsComponent, "translation-system-picker-tags", never, { "languageTags": { "alias": "languageTags"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "activeCode": { "alias": "activeCode"; "required": false; "isSignal": true; }; "activeVendor": { "alias": "activeVendor"; "required": false; "isSignal": true; }; "activeDomain": { "alias": "activeDomain"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
2197
+ }
2198
+
2188
2199
  declare class TldTooltipModule {
2189
2200
  static ɵfac: i0.ɵɵFactoryDeclaration<TldTooltipModule, never>;
2190
- static ɵmod: i0.ɵɵNgModuleDeclaration<TldTooltipModule, [typeof TldTranslateSwitcherComponent, typeof TldDomainListComponent, typeof TranslationSystemPickerComponent, typeof TranslationSystemPickerDropdownComponent, typeof TranslationSystemPickerLanguageListComponent, typeof TranslationSystemPickerSystemListComponent, typeof TranslationSystemPickerFilterComponent, typeof TranslationSystemPickerDropdownBodyComponent, typeof TranslationSystemPickerButtonComponent, typeof TranslationSystemPickerGroupsComponent], [typeof i9.FormsModule, typeof i2.CommonModule, typeof i13.FlexLayoutModule, typeof i4.TranslateModule, typeof TldCommonModule, typeof i16.SortTranslationsModule, typeof i16.FilterWithHighlightModule, typeof i16.ClickOutsideModule, typeof i16.OpenCloseButtonModule, typeof i16.TerminologyModule, typeof i22.MatFormFieldModule, typeof i21.MatInputModule, typeof i6.MatIconModule, typeof i18.MatTooltipModule, typeof i14.MatButtonModule, typeof i16.LanguageTranslateModule, typeof i16.SortDomainsPipe, typeof i16.DomainTranslatePipe, typeof i22$1.MatExpansionModule], [typeof TldTranslateSwitcherComponent, typeof TldDomainListComponent, typeof TranslationSystemPickerComponent, typeof TranslationSystemPickerDropdownComponent]>;
2201
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TldTooltipModule, [typeof TldTranslateSwitcherComponent, typeof TldDomainListComponent, typeof TranslationSystemPickerComponent, typeof TranslationSystemPickerDropdownComponent, typeof TranslationSystemPickerLanguageListComponent, typeof TranslationSystemPickerSystemListComponent, typeof TranslationSystemPickerFilterComponent, typeof TranslationSystemPickerDropdownBodyComponent, typeof TranslationSystemPickerButtonComponent, typeof TranslationSystemPickerGroupsComponent, typeof TranslationSystemPickerTagsComponent], [typeof i9.FormsModule, typeof i2.CommonModule, typeof i16.FlexLayoutModule, typeof i4.TranslateModule, typeof TldCommonModule, typeof i17.SortTranslationsModule, typeof i17.FilterWithHighlightModule, typeof i17.ClickOutsideModule, typeof i17.OpenCloseButtonModule, typeof i17.TerminologyModule, typeof i22.MatFormFieldModule, typeof i21.MatInputModule, typeof i6.MatIconModule, typeof i18.MatTooltipModule, typeof i14.MatButtonModule, typeof i17.LanguageTranslateModule, typeof i17.SortDomainsPipe, typeof i17.DomainTranslatePipe, typeof i23.MatExpansionModule], [typeof TldTranslateSwitcherComponent, typeof TldDomainListComponent, typeof TranslationSystemPickerComponent, typeof TranslationSystemPickerDropdownComponent]>;
2191
2202
  static ɵinj: i0.ɵɵInjectorDeclaration<TldTooltipModule>;
2192
2203
  }
2193
2204
 
@@ -2282,7 +2293,7 @@ declare class TldTranslateWebsiteComponent implements OnInit, OnDestroy {
2282
2293
 
2283
2294
  declare class TldWebModule {
2284
2295
  static ɵfac: i0.ɵɵFactoryDeclaration<TldWebModule, never>;
2285
- static ɵmod: i0.ɵɵNgModuleDeclaration<TldWebModule, [typeof TldTranslateWebsiteComponent], [typeof i2.CommonModule, typeof i4.TranslateModule, typeof TldTooltipModule, typeof TldCommonModule, typeof i9.FormsModule, typeof i16.NotificationMessageModule, typeof i16.CompanyProductModule, typeof i16.CloseButtonModule, typeof i14.MatButtonModule, typeof i6.MatIconModule, typeof i13$1.MatProgressBarModule, typeof i21.MatInputModule, typeof i18.MatTooltipModule, typeof i13.FlexLayoutModule, typeof i22.MatFormFieldModule, typeof i16.StatusDisplayModule], [typeof TldTranslateWebsiteComponent]>;
2296
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TldWebModule, [typeof TldTranslateWebsiteComponent], [typeof i2.CommonModule, typeof i4.TranslateModule, typeof TldTooltipModule, typeof TldCommonModule, typeof i9.FormsModule, typeof i17.NotificationMessageModule, typeof i17.CompanyProductModule, typeof i17.CloseButtonModule, typeof i14.MatButtonModule, typeof i6.MatIconModule, typeof i13.MatProgressBarModule, typeof i21.MatInputModule, typeof i18.MatTooltipModule, typeof i16.FlexLayoutModule, typeof i22.MatFormFieldModule, typeof i17.StatusDisplayModule], [typeof TldTranslateWebsiteComponent]>;
2286
2297
  static ɵinj: i0.ɵɵInjectorDeclaration<TldWebModule>;
2287
2298
  }
2288
2299
 
@@ -2373,7 +2384,7 @@ declare class TldTranslateComponent implements OnInit, OnDestroy {
2373
2384
  declare class TldTranslateModule {
2374
2385
  static forRoot(configuration?: ITldTranslateConfig): ModuleWithProviders<TldTranslateModule>;
2375
2386
  static ɵfac: i0.ɵɵFactoryDeclaration<TldTranslateModule, never>;
2376
- static ɵmod: i0.ɵɵNgModuleDeclaration<TldTranslateModule, [typeof TldTranslateBodyComponent, typeof TldTranslateComponent], [typeof i2.CommonModule, typeof i4.TranslateModule, typeof i9.FormsModule, typeof i11.ClipboardModule, typeof TldCommonModule, typeof TldTextModule, typeof TldDocumentModule, typeof TldTooltipModule, typeof i16.NotificationMessageModule, typeof i16.CloseButtonModule, typeof i13.FlexLayoutModule], [typeof TldTranslateComponent]>;
2387
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TldTranslateModule, [typeof TldTranslateBodyComponent, typeof TldTranslateComponent], [typeof i2.CommonModule, typeof i4.TranslateModule, typeof i9.FormsModule, typeof i11.ClipboardModule, typeof TldCommonModule, typeof TldTextModule, typeof TldDocumentModule, typeof TldTooltipModule, typeof i17.NotificationMessageModule, typeof i17.CloseButtonModule, typeof i16.FlexLayoutModule], [typeof TldTranslateComponent]>;
2377
2388
  static ɵinj: i0.ɵɵInjectorDeclaration<TldTranslateModule>;
2378
2389
  }
2379
2390
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilde-nlp/ngx-translate",
3
- "version": "9.1.26",
3
+ "version": "9.1.28",
4
4
  "description": "Tilde Translate box - solution for machine translating text and documents. Built with angular, but also exposed as web component.",
5
5
  "keywords": [
6
6
  "Machine translation",