@tilde-nlp/ngx-common 4.1.8 → 4.1.9

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.
@@ -1,2 +1,3 @@
1
1
  export * from './screen-size.const';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY29tbW9uL3NyYy9saWIvY29uc3RhbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NjcmVlbi1zaXplLmNvbnN0JzsiXX0=
2
+ export * from './last-used-system-local-storage-key.const';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY29tbW9uL3NyYy9saWIvY29uc3RhbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyw0Q0FBNEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2NyZWVuLXNpemUuY29uc3QnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xhc3QtdXNlZC1zeXN0ZW0tbG9jYWwtc3RvcmFnZS1rZXkuY29uc3QnOyJdfQ==
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Local storage key which stores last used configuration of language direction in Machine Translation.
3
+ * By overwriting this value with langugeId (sourceLanguage-targetLanguage-domain-vendor-engineId), this system is going to be preselected.
4
+ */
5
+ export const LAST_USED_SYSTEM_LOCAL_STORAGE_KEY = 'lastUsedSystem';
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFzdC11c2VkLXN5c3RlbS1sb2NhbC1zdG9yYWdlLWtleS5jb25zdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jb21tb24vc3JjL2xpYi9jb25zdGFudHMvbGFzdC11c2VkLXN5c3RlbS1sb2NhbC1zdG9yYWdlLWtleS5jb25zdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFDSCxNQUFNLENBQUMsTUFBTSxrQ0FBa0MsR0FBRyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxyXG4gKiBMb2NhbCBzdG9yYWdlIGtleSB3aGljaCBzdG9yZXMgbGFzdCB1c2VkIGNvbmZpZ3VyYXRpb24gb2YgbGFuZ3VhZ2UgZGlyZWN0aW9uIGluIE1hY2hpbmUgVHJhbnNsYXRpb24uXHJcbiAqIEJ5IG92ZXJ3cml0aW5nIHRoaXMgdmFsdWUgd2l0aCBsYW5ndWdlSWQgKHNvdXJjZUxhbmd1YWdlLXRhcmdldExhbmd1YWdlLWRvbWFpbi12ZW5kb3ItZW5naW5lSWQpLCB0aGlzIHN5c3RlbSBpcyBnb2luZyB0byBiZSBwcmVzZWxlY3RlZC5cclxuICovXHJcbmV4cG9ydCBjb25zdCBMQVNUX1VTRURfU1lTVEVNX0xPQ0FMX1NUT1JBR0VfS0VZID0gJ2xhc3RVc2VkU3lzdGVtJzsiXX0=
@@ -615,6 +615,12 @@ const SCREEN_SIZE = {
615
615
  XLARGE: 1920,
616
616
  };
617
617
 
618
+ /**
619
+ * Local storage key which stores last used configuration of language direction in Machine Translation.
620
+ * By overwriting this value with langugeId (sourceLanguage-targetLanguage-domain-vendor-engineId), this system is going to be preselected.
621
+ */
622
+ const LAST_USED_SYSTEM_LOCAL_STORAGE_KEY = 'lastUsedSystem';
623
+
618
624
  class ResolutionHelper {
619
625
  static isMobileRes() {
620
626
  return window.innerWidth < SCREEN_SIZE.SMALL;
@@ -4161,5 +4167,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
4161
4167
  * Generated bundle index. Do not edit.
4162
4168
  */
4163
4169
 
4164
- export { ALERT_CONFIGURATION_TOKEN, AlertService, AuthHeadersHelper, COLLECTIONS_MENU, ClickOutsideDirective, ClickOutsideModule, CloseButtonComponent, CloseButtonModule, CombinedCollection, CombinedCollectionTooltipKey, CompanyProductComponent, CompanyProductModule, Confirmation, ConfirmationModalComponent, ConfirmationModalModule, ConfirmationService, ConversionHelper, DISABLE_EXPORT_ATTRIBUTE_NAME, DOMService, DateAgoModule, DateAgoPipe, DragAndDropDirective, DragAndDropModule, EngineTermApiService, EngineTermCollectionScope, EngineTermCollectionSource, EngineTermCollectionStatus, EngineTermCollectionSubStatus, ExportFormat, ExtensionDialogComponent, ExtensionDialogModule, ExtensionDialogService, FileCategories, FileExtensionHelper, FileExtensions, FileTypeIcons, FileTypes, FileUploadComponent, FileUploadErrorTypeEnum, FileUploadModule, FilterBarComponent, FilterBarModule, FilterWithHighlightModule, FilterWithHighlightPipe, FooterComponent, FooterModule, HtmlElementParseHelper, HtmlHelper, IconService, InlineMessageComponent, InlineMessageIconPosition, InlineMessageModule, InlineMessageType, LanguageTranslateModule, LanguageTranslatePipe, LanguageTranslateService, MatButtonLoadingDirective, MatButtonLoadingModule, MissingTranslationHelper, MtCollectionStatus, MultiFunctionalTableComponent, MultiFunctionalTableModule, NotificationMessageComponent, NotificationMessageModule, NotificationMessageType, NotificationService, OPEN_CLOSE_BTN_ICONS_TOKEN, ObjectLengthModule, ObjectLengthPipe, OpenCloseButtonComponent, OpenCloseButtonModule, OpenExtensionDialogComponent, Operations, PlausibleEventDirective, PlausibleHelper, PlausibleModule, QUOTA_SERVICE_CONFIGURATION_TOKEN, QuotaService, QuotaType, ResolutionHelper, SCREEN_SIZE, SaveFileHelper, SortHelper, SortTranslationsByPropertyModule, SortTranslationsByPropertyPipe, SortTranslationsModule, SortTranslationsPipe, StatusDisplayComponent, StatusDisplayModule, SystemService, TerminologyApiService, TerminologyCollectionService, TerminologyComponent, TerminologyConfigService, TerminologyCreateCollectionComponent, TerminologyModule, TerminologyService, TldLoaderComponent, TldLoaderModule };
4170
+ export { ALERT_CONFIGURATION_TOKEN, AlertService, AuthHeadersHelper, COLLECTIONS_MENU, ClickOutsideDirective, ClickOutsideModule, CloseButtonComponent, CloseButtonModule, CombinedCollection, CombinedCollectionTooltipKey, CompanyProductComponent, CompanyProductModule, Confirmation, ConfirmationModalComponent, ConfirmationModalModule, ConfirmationService, ConversionHelper, DISABLE_EXPORT_ATTRIBUTE_NAME, DOMService, DateAgoModule, DateAgoPipe, DragAndDropDirective, DragAndDropModule, EngineTermApiService, EngineTermCollectionScope, EngineTermCollectionSource, EngineTermCollectionStatus, EngineTermCollectionSubStatus, ExportFormat, ExtensionDialogComponent, ExtensionDialogModule, ExtensionDialogService, FileCategories, FileExtensionHelper, FileExtensions, FileTypeIcons, FileTypes, FileUploadComponent, FileUploadErrorTypeEnum, FileUploadModule, FilterBarComponent, FilterBarModule, FilterWithHighlightModule, FilterWithHighlightPipe, FooterComponent, FooterModule, HtmlElementParseHelper, HtmlHelper, IconService, InlineMessageComponent, InlineMessageIconPosition, InlineMessageModule, InlineMessageType, LAST_USED_SYSTEM_LOCAL_STORAGE_KEY, LanguageTranslateModule, LanguageTranslatePipe, LanguageTranslateService, MatButtonLoadingDirective, MatButtonLoadingModule, MissingTranslationHelper, MtCollectionStatus, MultiFunctionalTableComponent, MultiFunctionalTableModule, NotificationMessageComponent, NotificationMessageModule, NotificationMessageType, NotificationService, OPEN_CLOSE_BTN_ICONS_TOKEN, ObjectLengthModule, ObjectLengthPipe, OpenCloseButtonComponent, OpenCloseButtonModule, OpenExtensionDialogComponent, Operations, PlausibleEventDirective, PlausibleHelper, PlausibleModule, QUOTA_SERVICE_CONFIGURATION_TOKEN, QuotaService, QuotaType, ResolutionHelper, SCREEN_SIZE, SaveFileHelper, SortHelper, SortTranslationsByPropertyModule, SortTranslationsByPropertyPipe, SortTranslationsModule, SortTranslationsPipe, StatusDisplayComponent, StatusDisplayModule, SystemService, TerminologyApiService, TerminologyCollectionService, TerminologyComponent, TerminologyConfigService, TerminologyCreateCollectionComponent, TerminologyModule, TerminologyService, TldLoaderComponent, TldLoaderModule };
4165
4171
  //# sourceMappingURL=tilde-nlp-ngx-common.mjs.map