@tilde-nlp/ngx-common 8.1.88 → 8.1.90
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/fesm2022/tilde-nlp-ngx-common.mjs +137 -71
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/index.d.ts +20 -16
- package/package.json +1 -1
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
|
|
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
|
|
16
|
+
import * as i5 from '@angular/router';
|
|
17
17
|
import { TitleStrategy, RouterStateSnapshot } from '@angular/router';
|
|
18
|
-
import * as
|
|
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$
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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$
|
|
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
|
/**
|
|
@@ -1280,6 +1281,8 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
|
|
|
1280
1281
|
noDataRowIcon: string;
|
|
1281
1282
|
configurableColumns: ColumnConfig[];
|
|
1282
1283
|
batchSelectedEnabled: boolean;
|
|
1284
|
+
rangeSelectionFrom: number | null;
|
|
1285
|
+
rangeSelectionTo: number | null;
|
|
1283
1286
|
hoveredRow: any;
|
|
1284
1287
|
hoveredRowIndex: number | undefined;
|
|
1285
1288
|
tableOverflow: boolean;
|
|
@@ -1314,6 +1317,7 @@ declare class MultiFunctionalTableComponent<T> implements OnInit, AfterContentIn
|
|
|
1314
1317
|
isAllSelected(): boolean;
|
|
1315
1318
|
toggleAllRowSelection(): void;
|
|
1316
1319
|
toggleElementSelection(element: T): void;
|
|
1320
|
+
applyRangeSelection(): void;
|
|
1317
1321
|
onMouseDown(event: MouseEvent): void;
|
|
1318
1322
|
onMouseMove(event: MouseEvent): void;
|
|
1319
1323
|
onMouseUp(): void;
|
|
@@ -1344,13 +1348,13 @@ declare class StatusDisplayComponent {
|
|
|
1344
1348
|
|
|
1345
1349
|
declare class StatusDisplayModule {
|
|
1346
1350
|
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
|
|
1351
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StatusDisplayModule, [typeof StatusDisplayComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4$2.MatProgressSpinnerModule, typeof i5.RouterModule], [typeof StatusDisplayComponent]>;
|
|
1348
1352
|
static ɵinj: i0.ɵɵInjectorDeclaration<StatusDisplayModule>;
|
|
1349
1353
|
}
|
|
1350
1354
|
|
|
1351
1355
|
declare class MultiFunctionalTableModule {
|
|
1352
1356
|
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
|
|
1357
|
+
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
1358
|
static ɵinj: i0.ɵɵInjectorDeclaration<MultiFunctionalTableModule>;
|
|
1355
1359
|
}
|
|
1356
1360
|
|
|
@@ -2010,7 +2014,7 @@ declare class OpenCloseButtonModule {
|
|
|
2010
2014
|
|
|
2011
2015
|
declare class TerminologyModule {
|
|
2012
2016
|
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
|
|
2017
|
+
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
2018
|
static ɵinj: i0.ɵɵInjectorDeclaration<TerminologyModule>;
|
|
2015
2019
|
}
|
|
2016
2020
|
|
|
@@ -2264,7 +2268,7 @@ declare class NewFeatureDialogWrapperComponent implements OnInit, OnDestroy {
|
|
|
2264
2268
|
|
|
2265
2269
|
declare class LLMModule {
|
|
2266
2270
|
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
|
|
2271
|
+
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
2272
|
static ɵinj: i0.ɵɵInjectorDeclaration<LLMModule>;
|
|
2269
2273
|
}
|
|
2270
2274
|
|