@tilde-nlp/ngx-common 8.0.2 → 8.0.4

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
@@ -2,12 +2,12 @@ import * as i8 from '@angular/material/icon';
2
2
  import { MatIconRegistry } from '@angular/material/icon';
3
3
  import { DomSanitizer, Title } from '@angular/platform-browser';
4
4
  import * as i0 from '@angular/core';
5
- import { OnInit, EventEmitter, PipeTransform, ChangeDetectorRef, ElementRef, ViewContainerRef, Renderer2, AfterViewInit, OnDestroy, AfterContentInit, QueryList, OnChanges, SimpleChanges, InjectionToken, TemplateRef, Provider } from '@angular/core';
5
+ import { OnInit, EventEmitter, PipeTransform, ElementRef, ViewContainerRef, Renderer2, AfterViewInit, OnDestroy, ChangeDetectorRef, AfterContentInit, QueryList, OnChanges, SimpleChanges, InjectionToken, TemplateRef, Provider } from '@angular/core';
6
6
  import * as rxjs from 'rxjs';
7
7
  import { Observable, Subscription, Subject } from 'rxjs';
8
8
  import { HttpClient } from '@angular/common/http';
9
9
  import * as i3 from '@ngx-translate/core';
10
- import { TranslateService, TranslatePipe, MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core';
10
+ import { TranslateService, MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core';
11
11
  import * as i2 from '@angular/common';
12
12
  import * as i5 from '@angular/material/tooltip';
13
13
  import * as i4 from '@angular/material/button';
@@ -496,8 +496,6 @@ interface DateAgo {
496
496
 
497
497
  declare class DateAgoPipe implements PipeTransform {
498
498
  private readonly translate;
499
- private readonly translatePipe;
500
- private readonly _ref;
501
499
  private readonly settings;
502
500
  readonly defaultSettings: DateAgoSettings;
503
501
  get intervals(): DateAgoInterval[];
@@ -505,16 +503,16 @@ declare class DateAgoPipe implements PipeTransform {
505
503
  get localizationPrefix(): string;
506
504
  get justNowKey(): string;
507
505
  get justNowSeconds(): number;
508
- constructor(translate: TranslateService, translatePipe: TranslatePipe, _ref: ChangeDetectorRef, settings: DateAgoSettings);
506
+ constructor(translate: TranslateService, settings: DateAgoSettings);
509
507
  transform(value: Date, enableMultiplePostfix?: boolean): string;
510
508
  calculateDateAgo(value: Date, enableMultiplePostfix: boolean): DateAgo | null;
511
- static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoPipe, [null, null, null, { optional: true; }]>;
509
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoPipe, [null, { optional: true; }]>;
512
510
  static ɵpipe: i0.ɵɵPipeDeclaration<DateAgoPipe, "dateAgo", false>;
513
511
  }
514
512
 
515
513
  declare class DateAgoModule {
516
514
  static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoModule, never>;
517
- static ɵmod: i0.ɵɵNgModuleDeclaration<DateAgoModule, [typeof DateAgoPipe], [typeof i2.CommonModule, typeof i3.TranslateModule], [typeof DateAgoPipe]>;
515
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateAgoModule, [typeof DateAgoPipe], [typeof i2.CommonModule], [typeof DateAgoPipe]>;
518
516
  static ɵinj: i0.ɵɵInjectorDeclaration<DateAgoModule>;
519
517
  }
520
518
 
@@ -2414,13 +2412,19 @@ declare class SelectLanguageDialogComponent implements OnInit {
2414
2412
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectLanguageDialogComponent, "lib-extension-dialog", never, {}, {}, never, never, true, never>;
2415
2413
  }
2416
2414
 
2415
+ interface GlobalMessageAction {
2416
+ label: string;
2417
+ click: () => void;
2418
+ }
2419
+
2417
2420
  declare class GlobalMessageComponent {
2418
2421
  text: string;
2419
2422
  showCloseButton: boolean;
2423
+ actions?: GlobalMessageAction[];
2420
2424
  closeClick: EventEmitter<void>;
2421
2425
  close(): void;
2422
2426
  static ɵfac: i0.ɵɵFactoryDeclaration<GlobalMessageComponent, never>;
2423
- static ɵcmp: i0.ɵɵComponentDeclaration<GlobalMessageComponent, "lib-global-message", never, { "text": { "alias": "text"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; }, { "closeClick": "closeClick"; }, never, never, true, never>;
2427
+ static ɵcmp: i0.ɵɵComponentDeclaration<GlobalMessageComponent, "lib-global-message", never, { "text": { "alias": "text"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "closeClick": "closeClick"; }, never, never, true, never>;
2424
2428
  }
2425
2429
 
2426
2430
  declare enum SUBSCRIPTION_STATE {
@@ -2468,4 +2472,4 @@ declare class SubscriptionComponent implements OnInit {
2468
2472
  }
2469
2473
 
2470
2474
  export { ALERT_CONFIGURATION_TOKEN, AlertService, AuthHeadersHelper, COLLECTIONS_MENU, ClickOutsideDirective, ClickOutsideModule, CloseButtonComponent, CloseButtonModule, CombinedCollection, CombinedCollectionTooltipKey, CompanyProductComponent, CompanyProductModule, Confirmation, ConfirmationModalComponent, ConfirmationModalModule, ConfirmationService, ConversionHelper, CustomPaginatorInernationalizationHelper, CustomTitleStrategyService, DISABLE_EXPORT_ATTRIBUTE_NAME, DOMService, DateAgoModule, DateAgoPipe, DomainTranslatePipe, DragAndDropDirective, DragAndDropModule, ERROR_CODES, EngineTermApiService, EngineTermCollectionScope, EngineTermCollectionSource, EngineTermCollectionStatus, EngineTermCollectionSubStatus, ExportFormat, ExtensionDialogComponent, ExtensionDialogModule, ExtensionDialogService, FILE_SIZE_UNIT, FileCategories, FileExtensionHelper, FileExtensions, FileSizeLabelPipe, FileTypeIcons, FileTypes, FileUploadComponent, FileUploadErrorTypeEnum, FileUploadModule, FilterBarComponent, FilterBarModule, FilterWithHighlightModule, FilterWithHighlightPipe, FooterComponent, FooterModule, GlobalMessageComponent, HashHelper, HtmlElementParseHelper, HtmlHelper, IconService, InlineMessageComponent, InlineMessageIconPosition, InlineMessageModule, InlineMessageType, LAST_USED_SYSTEM_LOCAL_STORAGE_KEY, LLMActions, LLMComponent, LLMModule, LLM_CONFIGURATION_TOKEN, LanguageTranslateModule, LanguageTranslatePipe, LanguageTranslateService, MatButtonLoadingDirective, MatButtonLoadingModule, MissingTranslationHandlerService, MissingTranslationHelper, MtCollectionStatus, MultiFunctionalTableComponent, MultiFunctionalTableModule, NewFeatureDialogWrapperComponent, NotificationMessageComponent, NotificationMessageModule, NotificationMessageType, NotificationService, OPEN_CLOSE_BTN_ICONS_TOKEN, ObjectLengthModule, ObjectLengthPipe, OpenCloseButtonComponent, OpenCloseButtonModule, OpenExtensionDialogComponent, Operations, PlausibleEventDirective, PlausibleHelper, PlausibleModule, ResolutionHelper, SCREEN_SIZE, SaveFileHelper, SelectLanguageDialogComponent, SidebarComponent, SidebarService, SortAlphabeticallyModule, SortAlphabeticallyPipe, SortByNumberPipe, SortDomainsPipe, SortHelper, SortLanguageListPipe, SortTranslationsByPropertyModule, SortTranslationsByPropertyPipe, SortTranslationsModule, SortTranslationsPipe, StatusDisplayComponent, StatusDisplayModule, SubscriptionComponent, SubscriptionPlan, SystemService, TerminologyApiService, TerminologyCollectionService, TerminologyComponent, TerminologyConfigService, TerminologyCreateCollectionComponent, TerminologyModule, TerminologyService, TextToSpeechComponent, TldLoaderComponent, TldLoaderModule, ToastComponent, ToastService, getFileSizeLabel, provideCustomTitleStrategy };
2471
- export type { ActiveData, AddEngineTermsRequestParams, Addon, AlertConfiguration, AuthSubscription, BatchConfig, Category, ChargebeeSettings, Column, ColumnConfig, ColumnSelectConfig, Config, ConfirmationBody, DefaultCollectionOrderUpdate, DialogData, Domain, DomainList, EngineTermCollection, EngineTermCollectionAccess, EngineTermCollectionAccessScope, EngineTermCollectionAccessScopeUpdate, EngineTermCollectionAccessUpdate, EngineTermCollectionList, ExportConfig, ExtensionWithIcon, FileUploadError, FilterBarChangeEvent, FilterBarFilter, FilterBarFilterItem, FilterBarSettings, ITldTermCollection, ITldTermCollectionLanguages, InlineMessage, JwtToken, LLMConfiguration, LangListItem, MobileScreenCustomPosition, MtCollection, MultiFunctionalTableConfig, NotificationMessage, NotificationWithOperation, OpenCloseBtnIcons, PaginatorConfig, PlausibleEvent, StatusDisplayConfig, System, TerminologyConfig, TranslatedLanguage, UpdateEngineTermsRequestParams, Vendor, Voice };
2475
+ export type { ActiveData, AddEngineTermsRequestParams, Addon, AlertConfiguration, AuthSubscription, BatchConfig, Category, ChargebeeSettings, Column, ColumnConfig, ColumnSelectConfig, Config, ConfirmationBody, DefaultCollectionOrderUpdate, DialogData, Domain, DomainList, EngineTermCollection, EngineTermCollectionAccess, EngineTermCollectionAccessScope, EngineTermCollectionAccessScopeUpdate, EngineTermCollectionAccessUpdate, EngineTermCollectionList, ExportConfig, ExtensionWithIcon, FileUploadError, FilterBarChangeEvent, FilterBarFilter, FilterBarFilterItem, FilterBarSettings, GlobalMessageAction, ITldTermCollection, ITldTermCollectionLanguages, InlineMessage, JwtToken, LLMConfiguration, LangListItem, MobileScreenCustomPosition, MtCollection, MultiFunctionalTableConfig, NotificationMessage, NotificationWithOperation, OpenCloseBtnIcons, PaginatorConfig, PlausibleEvent, StatusDisplayConfig, System, TerminologyConfig, TranslatedLanguage, UpdateEngineTermsRequestParams, Vendor, Voice };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilde-nlp/ngx-common",
3
- "version": "8.0.2",
3
+ "version": "8.0.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",