@tilde-nlp/ngx-common 8.1.88 → 8.1.89

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
@@ -9,13 +9,13 @@ import { HttpClient } from '@angular/common/http';
9
9
  import * as i3 from '@ngx-translate/core';
10
10
  import { TranslateService, MissingTranslationHandler, MissingTranslationHandlerParams, TranslateProviders, TranslateLoader, TranslateDefaultParser } from '@ngx-translate/core';
11
11
  import * as i2 from '@angular/common';
12
- import * as i5 from '@angular/material/tooltip';
12
+ import * as i15 from '@angular/material/tooltip';
13
13
  import * as i4 from '@angular/material/button';
14
14
  import { MatButton } from '@angular/material/button';
15
15
  import * as i3$1 from '@ngbracket/ngx-layout';
16
- import * as i5$1 from '@angular/router';
16
+ import * as i5 from '@angular/router';
17
17
  import { TitleStrategy, RouterStateSnapshot } from '@angular/router';
18
- import * as i16 from '@angular/material/paginator';
18
+ import * as i18 from '@angular/material/paginator';
19
19
  import { MatPaginatorIntl, PageEvent, MatPaginator } from '@angular/material/paginator';
20
20
  import * as i3$2 from '@angular/material/progress-bar';
21
21
  import * as i6 from '@angular/material/dialog';
@@ -25,19 +25,19 @@ import { FormGroup, FormBuilder, FormControl } from '@angular/forms';
25
25
  import * as i7 from '@angular/material/select';
26
26
  import { MatSelectChange } from '@angular/material/select';
27
27
  import * as i4$1 from '@angular/material/input';
28
- import * as i5$2 from '@angular/material/form-field';
28
+ import * as i5$1 from '@angular/material/form-field';
29
29
  import * as _tilde_nlp_ngx_common from '@tilde-nlp/ngx-common';
30
30
  import { SelectionModel } from '@angular/cdk/collections';
31
- import * as i11 from '@angular/material/sort';
31
+ import * as i13 from '@angular/material/sort';
32
32
  import { MatSort } from '@angular/material/sort';
33
33
  import * as i3$3 from '@angular/material/table';
34
34
  import { MatTableDataSource, MatHeaderRowDef, MatRowDef, MatColumnDef, MatNoDataRow, MatTable } from '@angular/material/table';
35
35
  import * as i6$1 from '@angular/material/menu';
36
36
  import * as i7$1 from '@angular/material/checkbox';
37
37
  import * as i4$2 from '@angular/material/progress-spinner';
38
- import * as i18 from '@angular/material/radio';
38
+ import * as i18$1 from '@angular/material/radio';
39
39
  import { LLMRephraseUseCase, LLMSummaryUseCase, QuotaService, LLMService, QuotaUsage, QuotaResponse, QuotaType } from '@tilde-nlp/ngx-services';
40
- import * as i11$1 from '@angular/cdk/clipboard';
40
+ import * as i11 from '@angular/cdk/clipboard';
41
41
  import { Clipboard } from '@angular/cdk/clipboard';
42
42
  import { MatTabChangeEvent } from '@angular/material/tabs';
43
43
 
@@ -129,13 +129,13 @@ declare class CloseButtonComponent {
129
129
 
130
130
  declare class CloseButtonModule {
131
131
  static ɵfac: i0.ɵɵFactoryDeclaration<CloseButtonModule, never>;
132
- static ɵmod: i0.ɵɵNgModuleDeclaration<CloseButtonModule, [typeof CloseButtonComponent], [typeof i2.CommonModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i5.MatTooltipModule], [typeof CloseButtonComponent]>;
132
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CloseButtonModule, [typeof CloseButtonComponent], [typeof i2.CommonModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i15.MatTooltipModule], [typeof CloseButtonComponent]>;
133
133
  static ɵinj: i0.ɵɵInjectorDeclaration<CloseButtonModule>;
134
134
  }
135
135
 
136
136
  declare class NotificationMessageModule {
137
137
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationMessageModule, never>;
138
- static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationMessageModule, [typeof NotificationMessageComponent], [typeof i2.CommonModule, typeof i3$1.FlexLayoutModule, typeof CloseButtonModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i5$1.RouterModule, typeof i8.MatIconModule], [typeof NotificationMessageComponent]>;
138
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationMessageModule, [typeof NotificationMessageComponent], [typeof i2.CommonModule, typeof i3$1.FlexLayoutModule, typeof CloseButtonModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i5.RouterModule, typeof i8.MatIconModule], [typeof NotificationMessageComponent]>;
139
139
  static ɵinj: i0.ɵɵInjectorDeclaration<NotificationMessageModule>;
140
140
  }
141
141
 
@@ -341,7 +341,7 @@ declare class InlineMessageComponent {
341
341
 
342
342
  declare class InlineMessageModule {
343
343
  static ɵfac: i0.ɵɵFactoryDeclaration<InlineMessageModule, never>;
344
- static ɵmod: i0.ɵɵNgModuleDeclaration<InlineMessageModule, [typeof InlineMessageComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i5.MatTooltipModule], [typeof InlineMessageComponent]>;
344
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InlineMessageModule, [typeof InlineMessageComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i15.MatTooltipModule], [typeof InlineMessageComponent]>;
345
345
  static ɵinj: i0.ɵɵInjectorDeclaration<InlineMessageModule>;
346
346
  }
347
347
 
@@ -772,7 +772,7 @@ declare class FooterComponent implements OnInit {
772
772
 
773
773
  declare class FooterModule {
774
774
  static ɵfac: i0.ɵɵFactoryDeclaration<FooterModule, never>;
775
- static ɵmod: i0.ɵɵNgModuleDeclaration<FooterModule, [typeof FooterComponent], [typeof i2.CommonModule, typeof i3$1.FlexLayoutModule, typeof i3.TranslateModule, typeof i5$1.RouterModule], [typeof FooterComponent]>;
775
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FooterModule, [typeof FooterComponent], [typeof i2.CommonModule, typeof i3$1.FlexLayoutModule, typeof i3.TranslateModule, typeof i5.RouterModule], [typeof FooterComponent]>;
776
776
  static ɵinj: i0.ɵɵInjectorDeclaration<FooterModule>;
777
777
  }
778
778
 
@@ -1097,7 +1097,7 @@ declare class FilterBarComponent implements OnInit, AfterViewInit, OnDestroy {
1097
1097
 
1098
1098
  declare class FilterBarModule {
1099
1099
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterBarModule, never>;
1100
- static ɵmod: i0.ɵɵNgModuleDeclaration<FilterBarModule, [typeof FilterBarComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4$1.MatInputModule, typeof i5$2.MatFormFieldModule, typeof i3$1.FlexLayoutModule, typeof i7.MatSelectModule, typeof i8$1.FormsModule, typeof i5.MatTooltipModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i8$1.ReactiveFormsModule, typeof SortTranslationsByPropertyModule, typeof SortAlphabeticallyModule], [typeof FilterBarComponent]>;
1100
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FilterBarModule, [typeof FilterBarComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4$1.MatInputModule, typeof i5$1.MatFormFieldModule, typeof i3$1.FlexLayoutModule, typeof i7.MatSelectModule, typeof i8$1.FormsModule, typeof i15.MatTooltipModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i8$1.ReactiveFormsModule, typeof SortTranslationsByPropertyModule, typeof SortAlphabeticallyModule], [typeof FilterBarComponent]>;
1101
1101
  static ɵinj: i0.ɵɵInjectorDeclaration<FilterBarModule>;
1102
1102
  }
1103
1103
 
@@ -1139,6 +1139,7 @@ interface ColumnConfig {
1139
1139
  interface BatchConfig {
1140
1140
  enabled: boolean;
1141
1141
  checkBoxesDisabled?: boolean;
1142
+ rangeSelection?: boolean;
1142
1143
  }
1143
1144
 
1144
1145
  /**
@@ -1250,6 +1251,7 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
1250
1251
  paginatorUpdate: EventEmitter<PageEvent>;
1251
1252
  exported: EventEmitter<T[]>;
1252
1253
  selectionChange: Observable<T[]>;
1254
+ rangeSelectionApplied: EventEmitter<number[]>;
1253
1255
  headerRowDefs: QueryList<MatHeaderRowDef>;
1254
1256
  rowDefs: QueryList<MatRowDef<T>>;
1255
1257
  columnDefs: QueryList<MatColumnDef>;
@@ -1280,6 +1282,8 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
1280
1282
  noDataRowIcon: string;
1281
1283
  configurableColumns: ColumnConfig[];
1282
1284
  batchSelectedEnabled: boolean;
1285
+ rangeSelectionFrom: number | null;
1286
+ rangeSelectionTo: number | null;
1283
1287
  hoveredRow: any;
1284
1288
  hoveredRowIndex: number | undefined;
1285
1289
  tableOverflow: boolean;
@@ -1314,6 +1318,7 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
1314
1318
  isAllSelected(): boolean;
1315
1319
  toggleAllRowSelection(): void;
1316
1320
  toggleElementSelection(element: T): void;
1321
+ applyRangeSelection(): void;
1317
1322
  onMouseDown(event: MouseEvent): void;
1318
1323
  onMouseMove(event: MouseEvent): void;
1319
1324
  onMouseUp(): void;
@@ -1333,7 +1338,7 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
1333
1338
  private updateDataSourceData;
1334
1339
  private updatePaginator;
1335
1340
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiFunctionalTableComponent<any>, never>;
1336
- static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": { "alias": "config"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "highlightedErrorElements": { "alias": "highlightedErrorElements"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "isRowCheckboxAlwaysVisible": { "alias": "isRowCheckboxAlwaysVisible"; "required": false; }; "disablePreselectedItems": { "alias": "disablePreselectedItems"; "required": false; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filterBarChange": "filterBarChange"; "paginatorUpdate": "paginatorUpdate"; "exported": "exported"; "selectionChange": "selectionChange"; }, ["noDataRow", "headerRowDefs", "rowDefs", "columnDefs"], ["[additionalActions]", "[batchActions]", "*"], false, never>;
1341
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiFunctionalTableComponent<any>, "tld-multi-functional-table", never, { "config": { "alias": "config"; "required": false; }; "highlightedElements": { "alias": "highlightedElements"; "required": false; }; "trackByFn": { "alias": "trackByFn"; "required": false; }; "highlightedErrorElements": { "alias": "highlightedErrorElements"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "isRowCheckboxAlwaysVisible": { "alias": "isRowCheckboxAlwaysVisible"; "required": false; }; "disablePreselectedItems": { "alias": "disablePreselectedItems"; "required": false; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filterBarChange": "filterBarChange"; "paginatorUpdate": "paginatorUpdate"; "exported": "exported"; "selectionChange": "selectionChange"; "rangeSelectionApplied": "rangeSelectionApplied"; }, ["noDataRow", "headerRowDefs", "rowDefs", "columnDefs"], ["[additionalActions]", "[batchActions]", "*"], false, never>;
1337
1342
  }
1338
1343
 
1339
1344
  declare class StatusDisplayComponent {
@@ -1344,13 +1349,13 @@ declare class StatusDisplayComponent {
1344
1349
 
1345
1350
  declare class StatusDisplayModule {
1346
1351
  static ɵfac: i0.ɵɵFactoryDeclaration<StatusDisplayModule, never>;
1347
- static ɵmod: i0.ɵɵNgModuleDeclaration<StatusDisplayModule, [typeof StatusDisplayComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4$2.MatProgressSpinnerModule, typeof i5$1.RouterModule], [typeof StatusDisplayComponent]>;
1352
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StatusDisplayModule, [typeof StatusDisplayComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4$2.MatProgressSpinnerModule, typeof i5.RouterModule], [typeof StatusDisplayComponent]>;
1348
1353
  static ɵinj: i0.ɵɵInjectorDeclaration<StatusDisplayModule>;
1349
1354
  }
1350
1355
 
1351
1356
  declare class MultiFunctionalTableModule {
1352
1357
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiFunctionalTableModule, never>;
1353
- static ɵmod: i0.ɵɵNgModuleDeclaration<MultiFunctionalTableModule, [typeof MultiFunctionalTableComponent], [typeof i2.CommonModule, typeof i3$3.MatTableModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i6$1.MatMenuModule, typeof i7$1.MatCheckboxModule, typeof i8$1.FormsModule, typeof FilterBarModule, typeof i3$1.FlexLayoutModule, typeof i11.MatSortModule, typeof i4$2.MatProgressSpinnerModule, typeof i5.MatTooltipModule, typeof StatusDisplayModule, typeof i8.MatIconModule, typeof i16.MatPaginatorModule], [typeof MultiFunctionalTableComponent]>;
1358
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MultiFunctionalTableModule, [typeof MultiFunctionalTableComponent], [typeof i2.CommonModule, typeof i3$3.MatTableModule, typeof i4.MatButtonModule, typeof i3.TranslateModule, typeof i6$1.MatMenuModule, typeof i7$1.MatCheckboxModule, typeof i5$1.MatFormFieldModule, typeof i4$1.MatInputModule, typeof i8$1.FormsModule, typeof FilterBarModule, typeof i3$1.FlexLayoutModule, typeof i13.MatSortModule, typeof i4$2.MatProgressSpinnerModule, typeof i15.MatTooltipModule, typeof StatusDisplayModule, typeof i8.MatIconModule, typeof i18.MatPaginatorModule], [typeof MultiFunctionalTableComponent]>;
1354
1359
  static ɵinj: i0.ɵɵInjectorDeclaration<MultiFunctionalTableModule>;
1355
1360
  }
1356
1361
 
@@ -2010,7 +2015,7 @@ declare class OpenCloseButtonModule {
2010
2015
 
2011
2016
  declare class TerminologyModule {
2012
2017
  static ɵfac: i0.ɵɵFactoryDeclaration<TerminologyModule, never>;
2013
- static ɵmod: i0.ɵɵNgModuleDeclaration<TerminologyModule, [typeof TerminologyComponent, typeof TerminologyPanelComponent, typeof TerminologyCreateCollectionComponent, typeof TerminologyCreateCollectionDialogComponent, typeof TerminologyCollectionListComponent, typeof TerminologyCollectionCardComponent], [typeof i2.CommonModule, typeof OpenCloseButtonModule, typeof i3.TranslateModule, typeof i3$1.FlexLayoutModule, typeof i8$1.FormsModule, typeof i8$1.ReactiveFormsModule, typeof CloseButtonModule, typeof DateAgoModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i4$2.MatProgressSpinnerModule, typeof i6$1.MatMenuModule, typeof i18.MatRadioModule, typeof i6.MatDialogModule, typeof i4$1.MatInputModule, typeof i5.MatTooltipModule, typeof LanguageTranslateModule], [typeof TerminologyComponent, typeof TerminologyCreateCollectionComponent]>;
2018
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TerminologyModule, [typeof TerminologyComponent, typeof TerminologyPanelComponent, typeof TerminologyCreateCollectionComponent, typeof TerminologyCreateCollectionDialogComponent, typeof TerminologyCollectionListComponent, typeof TerminologyCollectionCardComponent], [typeof i2.CommonModule, typeof OpenCloseButtonModule, typeof i3.TranslateModule, typeof i3$1.FlexLayoutModule, typeof i8$1.FormsModule, typeof i8$1.ReactiveFormsModule, typeof CloseButtonModule, typeof DateAgoModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i4$2.MatProgressSpinnerModule, typeof i6$1.MatMenuModule, typeof i18$1.MatRadioModule, typeof i6.MatDialogModule, typeof i4$1.MatInputModule, typeof i15.MatTooltipModule, typeof LanguageTranslateModule], [typeof TerminologyComponent, typeof TerminologyCreateCollectionComponent]>;
2014
2019
  static ɵinj: i0.ɵɵInjectorDeclaration<TerminologyModule>;
2015
2020
  }
2016
2021
 
@@ -2264,7 +2269,7 @@ declare class NewFeatureDialogWrapperComponent implements OnInit, OnDestroy {
2264
2269
 
2265
2270
  declare class LLMModule {
2266
2271
  static ɵfac: i0.ɵɵFactoryDeclaration<LLMModule, never>;
2267
- static ɵmod: i0.ɵɵNgModuleDeclaration<LLMModule, [typeof LLMComponent, typeof LLMTextareaComponent, typeof LLMTextareaWithActionsComponent, typeof LLMSummaryComponent, typeof LLMRephraseComponent], [typeof i2.CommonModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i3.TranslateModule, typeof i6.MatDialogModule, typeof i11$1.ClipboardModule, typeof i8$1.FormsModule, typeof i8$1.ReactiveFormsModule, typeof i7.MatSelectModule, typeof NotificationMessageModule, typeof i5.MatTooltipModule, typeof i3$1.FlexLayoutModule, typeof i4$2.MatProgressSpinnerModule, typeof NewFeatureDialogWrapperComponent], [typeof LLMComponent]>;
2272
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LLMModule, [typeof LLMComponent, typeof LLMTextareaComponent, typeof LLMTextareaWithActionsComponent, typeof LLMSummaryComponent, typeof LLMRephraseComponent], [typeof i2.CommonModule, typeof i4.MatButtonModule, typeof i8.MatIconModule, typeof i3.TranslateModule, typeof i6.MatDialogModule, typeof i11.ClipboardModule, typeof i8$1.FormsModule, typeof i8$1.ReactiveFormsModule, typeof i7.MatSelectModule, typeof NotificationMessageModule, typeof i15.MatTooltipModule, typeof i3$1.FlexLayoutModule, typeof i4$2.MatProgressSpinnerModule, typeof NewFeatureDialogWrapperComponent], [typeof LLMComponent]>;
2268
2273
  static ɵinj: i0.ɵɵInjectorDeclaration<LLMModule>;
2269
2274
  }
2270
2275
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilde-nlp/ngx-common",
3
- "version": "8.1.88",
3
+ "version": "8.1.89",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0",