@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/fesm2022/tilde-nlp-ngx-common.mjs +117 -104
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/index.d.ts +13 -9
- package/package.json +1 -1
|
@@ -5,28 +5,28 @@ import { MatIconModule, MatIcon } from '@angular/material/icon';
|
|
|
5
5
|
import * as i2 from '@angular/platform-browser';
|
|
6
6
|
import { Title } from '@angular/platform-browser';
|
|
7
7
|
import { Subject, map, Observable, of, take, BehaviorSubject, tap, forkJoin, takeUntil, finalize, catchError, fromEvent, debounceTime } from 'rxjs';
|
|
8
|
-
import * as i1$
|
|
8
|
+
import * as i1$3 from '@angular/common';
|
|
9
9
|
import { CommonModule, TitleCasePipe, AsyncPipe, DatePipe } from '@angular/common';
|
|
10
10
|
import { FlexLayoutModule } from '@ngbracket/ngx-layout';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i1$1 from '@angular/material/button';
|
|
12
12
|
import { MatButtonModule, MatButton, MatIconButton } from '@angular/material/button';
|
|
13
13
|
import * as i6 from '@angular/router';
|
|
14
14
|
import { RouterModule, TitleStrategy } from '@angular/router';
|
|
15
|
-
import * as i1$
|
|
15
|
+
import * as i1$2 from '@ngx-translate/core';
|
|
16
16
|
import { TranslateModule, TranslateService, TranslatePipe } from '@ngx-translate/core';
|
|
17
|
-
import * as i2$
|
|
17
|
+
import * as i2$1 from '@angular/material/tooltip';
|
|
18
18
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
19
|
-
import * as i2$
|
|
19
|
+
import * as i2$2 from '@ngbracket/ngx-layout/flex';
|
|
20
20
|
import * as i3 from '@ngbracket/ngx-layout/extended';
|
|
21
|
-
import * as i1$
|
|
21
|
+
import * as i1$4 from '@angular/common/http';
|
|
22
22
|
import { HttpErrorResponse, provideHttpClient, withInterceptorsFromDi, HttpClient } from '@angular/common/http';
|
|
23
23
|
import * as i15 from '@angular/material/paginator';
|
|
24
24
|
import { MatPaginatorIntl, MatPaginator, MatPaginatorModule } from '@angular/material/paginator';
|
|
25
|
-
import * as i2$
|
|
25
|
+
import * as i2$4 from '@angular/material/progress-spinner';
|
|
26
26
|
import { MatProgressSpinner, MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
27
|
-
import * as i1$
|
|
27
|
+
import * as i1$5 from '@angular/material/dialog';
|
|
28
28
|
import { MAT_DIALOG_DATA, MatDialogModule, MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
29
|
-
import * as i2$
|
|
29
|
+
import * as i2$3 from '@angular/material/progress-bar';
|
|
30
30
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
31
31
|
import * as i4$1 from '@angular/forms';
|
|
32
32
|
import { FormGroup, FormControl, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
@@ -45,9 +45,9 @@ import * as i7 from '@angular/material/checkbox';
|
|
|
45
45
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
46
46
|
import * as i5 from '@angular/material/radio';
|
|
47
47
|
import { MatRadioModule } from '@angular/material/radio';
|
|
48
|
-
import * as i1$
|
|
48
|
+
import * as i1$6 from '@tilde-nlp/ngx-services';
|
|
49
49
|
import { QuotaType, LLMRephraseUseCase, LLMSummaryUseCase } from '@tilde-nlp/ngx-services';
|
|
50
|
-
import * as i1$
|
|
50
|
+
import * as i1$7 from '@angular/cdk/clipboard';
|
|
51
51
|
import { ClipboardModule } from '@angular/cdk/clipboard';
|
|
52
52
|
|
|
53
53
|
class IconService {
|
|
@@ -129,7 +129,7 @@ class CloseButtonComponent {
|
|
|
129
129
|
} if (rf & 2) {
|
|
130
130
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 3, ctx.tooltip))("disabled", ctx.disabled);
|
|
131
131
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 5, "ARIA_LABELS." + ctx.ariaCode));
|
|
132
|
-
} }, dependencies: [
|
|
132
|
+
} }, dependencies: [i1$1.MatIconButton, i2$1.MatTooltip, i1$2.TranslatePipe], encapsulation: 2 }); }
|
|
133
133
|
}
|
|
134
134
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CloseButtonComponent, [{
|
|
135
135
|
type: Component,
|
|
@@ -345,7 +345,7 @@ class NotificationMessageComponent {
|
|
|
345
345
|
i0.ɵɵproperty("ngIf", !ctx.message.hideClose && !ctx.message.callbackButtonText);
|
|
346
346
|
i0.ɵɵadvance();
|
|
347
347
|
i0.ɵɵproperty("ngIf", ctx.message.buttonText || ctx.message.linkHref || ctx.message.routerLink);
|
|
348
|
-
} }, dependencies: [i1$
|
|
348
|
+
} }, dependencies: [i1$3.NgIf, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutGapDirective, i2$2.DefaultLayoutAlignDirective, i2$2.DefaultFlexDirective, i3.DefaultClassDirective, CloseButtonComponent, i1$1.MatButton, i6.RouterLink, i1.MatIcon, i1$2.TranslatePipe], styles: ["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin[_ngcontent-%COMP%]{top:0}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:has(.message-title+.message-body) .message-title[_ngcontent-%COMP%]{font-weight:600}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%]{padding:.6em .4em!important;border-radius:0}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.4em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.2em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:0!important}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:first-child{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:24px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline){padding:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%]{margin-left:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"] }); }
|
|
349
349
|
}
|
|
350
350
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationMessageComponent, [{
|
|
351
351
|
type: Component,
|
|
@@ -1094,7 +1094,7 @@ class SystemApiService {
|
|
|
1094
1094
|
};
|
|
1095
1095
|
return systemBase;
|
|
1096
1096
|
}
|
|
1097
|
-
static { this.ɵfac = function SystemApiService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SystemApiService)(i0.ɵɵinject(i1$
|
|
1097
|
+
static { this.ɵfac = function SystemApiService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SystemApiService)(i0.ɵɵinject(i1$4.HttpClient), i0.ɵɵinject(TerminologyConfigService)); }; }
|
|
1098
1098
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SystemApiService, factory: SystemApiService.ɵfac, providedIn: "root" }); }
|
|
1099
1099
|
}
|
|
1100
1100
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SystemApiService, [{
|
|
@@ -1102,7 +1102,7 @@ class SystemApiService {
|
|
|
1102
1102
|
args: [{
|
|
1103
1103
|
providedIn: "root",
|
|
1104
1104
|
}]
|
|
1105
|
-
}], () => [{ type: i1$
|
|
1105
|
+
}], () => [{ type: i1$4.HttpClient }, { type: TerminologyConfigService }], null); })();
|
|
1106
1106
|
|
|
1107
1107
|
class SystemService {
|
|
1108
1108
|
constructor(api) {
|
|
@@ -1230,7 +1230,7 @@ class SortTranslationsPipe {
|
|
|
1230
1230
|
return 0;
|
|
1231
1231
|
});
|
|
1232
1232
|
}
|
|
1233
|
-
static { this.ɵfac = function SortTranslationsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsPipe)(i0.ɵɵdirectiveInject(i1$
|
|
1233
|
+
static { this.ɵfac = function SortTranslationsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsPipe)(i0.ɵɵdirectiveInject(i1$2.TranslateService, 16)); }; }
|
|
1234
1234
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortTranslations", type: SortTranslationsPipe, pure: true, standalone: false }); }
|
|
1235
1235
|
}
|
|
1236
1236
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortTranslationsPipe, [{
|
|
@@ -1239,7 +1239,7 @@ class SortTranslationsPipe {
|
|
|
1239
1239
|
name: 'sortTranslations',
|
|
1240
1240
|
standalone: false
|
|
1241
1241
|
}]
|
|
1242
|
-
}], () => [{ type: i1$
|
|
1242
|
+
}], () => [{ type: i1$2.TranslateService }], null); })();
|
|
1243
1243
|
|
|
1244
1244
|
class SortTranslationsModule {
|
|
1245
1245
|
static { this.ɵfac = function SortTranslationsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsModule)(); }; }
|
|
@@ -1290,7 +1290,7 @@ class SortTranslationsByPropertyPipe {
|
|
|
1290
1290
|
});
|
|
1291
1291
|
return values;
|
|
1292
1292
|
}
|
|
1293
|
-
static { this.ɵfac = function SortTranslationsByPropertyPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsByPropertyPipe)(i0.ɵɵdirectiveInject(i1$
|
|
1293
|
+
static { this.ɵfac = function SortTranslationsByPropertyPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsByPropertyPipe)(i0.ɵɵdirectiveInject(i1$2.TranslateService, 16)); }; }
|
|
1294
1294
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortTranslationsByProperty", type: SortTranslationsByPropertyPipe, pure: true, standalone: false }); }
|
|
1295
1295
|
}
|
|
1296
1296
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortTranslationsByPropertyPipe, [{
|
|
@@ -1299,7 +1299,7 @@ class SortTranslationsByPropertyPipe {
|
|
|
1299
1299
|
name: 'sortTranslationsByProperty',
|
|
1300
1300
|
standalone: false
|
|
1301
1301
|
}]
|
|
1302
|
-
}], () => [{ type: i1$
|
|
1302
|
+
}], () => [{ type: i1$2.TranslateService }], null); })();
|
|
1303
1303
|
|
|
1304
1304
|
class SortTranslationsByPropertyModule {
|
|
1305
1305
|
static { this.ɵfac = function SortTranslationsByPropertyModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsByPropertyModule)(); }; }
|
|
@@ -1427,7 +1427,7 @@ class LanguageTranslatePipe {
|
|
|
1427
1427
|
capitalizeFirstLetter(text) {
|
|
1428
1428
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
1429
1429
|
}
|
|
1430
|
-
static { this.ɵfac = function LanguageTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslatePipe)(i0.ɵɵdirectiveInject(i1$
|
|
1430
|
+
static { this.ɵfac = function LanguageTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslatePipe)(i0.ɵɵdirectiveInject(i1$2.TranslateService, 16)); }; }
|
|
1431
1431
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "languageTranslate", type: LanguageTranslatePipe, pure: false }); }
|
|
1432
1432
|
}
|
|
1433
1433
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageTranslatePipe, [{
|
|
@@ -1437,7 +1437,7 @@ class LanguageTranslatePipe {
|
|
|
1437
1437
|
pure: false,
|
|
1438
1438
|
standalone: true
|
|
1439
1439
|
}]
|
|
1440
|
-
}], () => [{ type: i1$
|
|
1440
|
+
}], () => [{ type: i1$2.TranslateService }], null); })();
|
|
1441
1441
|
|
|
1442
1442
|
class LanguageTranslateModule {
|
|
1443
1443
|
static { this.ɵfac = function LanguageTranslateModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslateModule)(); }; }
|
|
@@ -1465,10 +1465,8 @@ class DateAgoPipe {
|
|
|
1465
1465
|
get localizationPrefix() { return this.settings?.localizationPrefix ?? this.defaultSettings.localizationPrefix; }
|
|
1466
1466
|
get justNowKey() { return this.settings?.justNowKey ?? this.defaultSettings.justNowKey; }
|
|
1467
1467
|
get justNowSeconds() { return this.settings?.justNowSeconds ?? this.defaultSettings.justNowSeconds; }
|
|
1468
|
-
constructor(translate,
|
|
1468
|
+
constructor(translate, settings) {
|
|
1469
1469
|
this.translate = translate;
|
|
1470
|
-
this.translatePipe = translatePipe;
|
|
1471
|
-
this._ref = _ref;
|
|
1472
1470
|
this.settings = settings;
|
|
1473
1471
|
this.defaultSettings = {
|
|
1474
1472
|
intervals: [
|
|
@@ -1523,7 +1521,7 @@ class DateAgoPipe {
|
|
|
1523
1521
|
if (!dateAgo) {
|
|
1524
1522
|
return "";
|
|
1525
1523
|
}
|
|
1526
|
-
return this.
|
|
1524
|
+
return this.translate.instant(`${this.localizationPrefix}.${dateAgo.key}`, { value: dateAgo.howMany });
|
|
1527
1525
|
}
|
|
1528
1526
|
calculateDateAgo(value, enableMultiplePostfix) {
|
|
1529
1527
|
if (value) {
|
|
@@ -1549,7 +1547,7 @@ class DateAgoPipe {
|
|
|
1549
1547
|
}
|
|
1550
1548
|
return null;
|
|
1551
1549
|
}
|
|
1552
|
-
static { this.ɵfac = function DateAgoPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateAgoPipe)(i0.ɵɵdirectiveInject(i1$
|
|
1550
|
+
static { this.ɵfac = function DateAgoPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateAgoPipe)(i0.ɵɵdirectiveInject(i1$2.TranslateService, 16), i0.ɵɵdirectiveInject(DateAgoSettingsToken, 24)); }; }
|
|
1553
1551
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "dateAgo", type: DateAgoPipe, pure: false, standalone: false }); }
|
|
1554
1552
|
}
|
|
1555
1553
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateAgoPipe, [{
|
|
@@ -1559,7 +1557,7 @@ class DateAgoPipe {
|
|
|
1559
1557
|
pure: false,
|
|
1560
1558
|
standalone: false
|
|
1561
1559
|
}]
|
|
1562
|
-
}], () => [{ type: i1$
|
|
1560
|
+
}], () => [{ type: i1$2.TranslateService }, { type: undefined, decorators: [{
|
|
1563
1561
|
type: Inject,
|
|
1564
1562
|
args: [DateAgoSettingsToken]
|
|
1565
1563
|
}, {
|
|
@@ -1569,8 +1567,7 @@ class DateAgoPipe {
|
|
|
1569
1567
|
class DateAgoModule {
|
|
1570
1568
|
static { this.ɵfac = function DateAgoModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateAgoModule)(); }; }
|
|
1571
1569
|
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DateAgoModule }); }
|
|
1572
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule
|
|
1573
|
-
TranslateModule] }); }
|
|
1570
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] }); }
|
|
1574
1571
|
}
|
|
1575
1572
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateAgoModule, [{
|
|
1576
1573
|
type: NgModule,
|
|
@@ -1579,16 +1576,15 @@ class DateAgoModule {
|
|
|
1579
1576
|
DateAgoPipe
|
|
1580
1577
|
],
|
|
1581
1578
|
imports: [
|
|
1582
|
-
CommonModule
|
|
1583
|
-
TranslateModule
|
|
1579
|
+
CommonModule
|
|
1584
1580
|
],
|
|
1585
1581
|
exports: [
|
|
1586
1582
|
DateAgoPipe
|
|
1587
|
-
]
|
|
1583
|
+
],
|
|
1584
|
+
providers: []
|
|
1588
1585
|
}]
|
|
1589
1586
|
}], null, null); })();
|
|
1590
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DateAgoModule, { declarations: [DateAgoPipe], imports: [CommonModule,
|
|
1591
|
-
TranslateModule], exports: [DateAgoPipe] }); })();
|
|
1587
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DateAgoModule, { declarations: [DateAgoPipe], imports: [CommonModule], exports: [DateAgoPipe] }); })();
|
|
1592
1588
|
|
|
1593
1589
|
/**
|
|
1594
1590
|
* Pipe used to calculate the length of an object.
|
|
@@ -1747,7 +1743,7 @@ class DomainTranslatePipe {
|
|
|
1747
1743
|
const domains = this.translate.instant('DOMAINS');
|
|
1748
1744
|
return domains[domainLocalizationKey] ?? titleCasePipe.transform(value);
|
|
1749
1745
|
}
|
|
1750
|
-
static { this.ɵfac = function DomainTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DomainTranslatePipe)(i0.ɵɵdirectiveInject(i1$
|
|
1746
|
+
static { this.ɵfac = function DomainTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DomainTranslatePipe)(i0.ɵɵdirectiveInject(i1$2.TranslateService, 16)); }; }
|
|
1751
1747
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "domainTranslate", type: DomainTranslatePipe, pure: false }); }
|
|
1752
1748
|
}
|
|
1753
1749
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DomainTranslatePipe, [{
|
|
@@ -1757,7 +1753,7 @@ class DomainTranslatePipe {
|
|
|
1757
1753
|
standalone: true,
|
|
1758
1754
|
pure: false
|
|
1759
1755
|
}]
|
|
1760
|
-
}], () => [{ type: i1$
|
|
1756
|
+
}], () => [{ type: i1$2.TranslateService }], null); })();
|
|
1761
1757
|
|
|
1762
1758
|
/**
|
|
1763
1759
|
* This is a custom pipe for sorting domains.
|
|
@@ -1795,7 +1791,7 @@ class SortDomainsPipe {
|
|
|
1795
1791
|
return (domains[nameA] ?? nameA).localeCompare(domains[nameB] ?? nameB);
|
|
1796
1792
|
});
|
|
1797
1793
|
}
|
|
1798
|
-
static { this.ɵfac = function SortDomainsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortDomainsPipe)(i0.ɵɵdirectiveInject(i1$
|
|
1794
|
+
static { this.ɵfac = function SortDomainsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortDomainsPipe)(i0.ɵɵdirectiveInject(i1$2.TranslateService, 16)); }; }
|
|
1799
1795
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortDomains", type: SortDomainsPipe, pure: true }); }
|
|
1800
1796
|
}
|
|
1801
1797
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortDomainsPipe, [{
|
|
@@ -1804,7 +1800,7 @@ class SortDomainsPipe {
|
|
|
1804
1800
|
name: 'sortDomains',
|
|
1805
1801
|
standalone: true,
|
|
1806
1802
|
}]
|
|
1807
|
-
}], () => [{ type: i1$
|
|
1803
|
+
}], () => [{ type: i1$2.TranslateService }], null); })();
|
|
1808
1804
|
|
|
1809
1805
|
class LanguageTranslateService {
|
|
1810
1806
|
constructor(translateService) {
|
|
@@ -1817,7 +1813,7 @@ class LanguageTranslateService {
|
|
|
1817
1813
|
removeRegionFromLanguageCode(code) {
|
|
1818
1814
|
return code.split('-')[0];
|
|
1819
1815
|
}
|
|
1820
|
-
static { this.ɵfac = function LanguageTranslateService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslateService)(i0.ɵɵinject(i1$
|
|
1816
|
+
static { this.ɵfac = function LanguageTranslateService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslateService)(i0.ɵɵinject(i1$2.TranslateService)); }; }
|
|
1821
1817
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LanguageTranslateService, factory: LanguageTranslateService.ɵfac, providedIn: 'root' }); }
|
|
1822
1818
|
}
|
|
1823
1819
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageTranslateService, [{
|
|
@@ -1825,7 +1821,7 @@ class LanguageTranslateService {
|
|
|
1825
1821
|
args: [{
|
|
1826
1822
|
providedIn: 'root',
|
|
1827
1823
|
}]
|
|
1828
|
-
}], () => [{ type: i1$
|
|
1824
|
+
}], () => [{ type: i1$2.TranslateService }], null); })();
|
|
1829
1825
|
|
|
1830
1826
|
var Operations;
|
|
1831
1827
|
(function (Operations) {
|
|
@@ -2020,7 +2016,7 @@ class InlineMessageComponent {
|
|
|
2020
2016
|
i0.ɵɵproperty("ngIf", ctx.iconName);
|
|
2021
2017
|
i0.ɵɵadvance();
|
|
2022
2018
|
i0.ɵɵproperty("ngIf", ctx.message);
|
|
2023
|
-
} }, dependencies: [i1$
|
|
2019
|
+
} }, dependencies: [i1$3.NgIf, i2$1.MatTooltip, i1$2.TranslatePipe], styles: ["[_nghost-%COMP%]{display:block}.tld-inline-message[_ngcontent-%COMP%]{display:flex;flex-direction:row}.tld-inline-message.error[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{color:var(--error-dark)}.tld-inline-message.info[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{color:var(--base-40)}.tld-inline-message.warning[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{color:var(--warning-dark)}.tld-inline-message[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:16px;margin-right:.5rem;display:inline-block}.tld-inline-message[_ngcontent-%COMP%] .material-icons.order-end[_ngcontent-%COMP%]{order:2}.tld-inline-message[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .tld-inline-message[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin:0}.tld-inline-message[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] + .description[_ngcontent-%COMP%]{margin-top:.5rem}"] }); }
|
|
2024
2020
|
}
|
|
2025
2021
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InlineMessageComponent, [{
|
|
2026
2022
|
type: Component,
|
|
@@ -2245,7 +2241,7 @@ class MatButtonLoadingDirective {
|
|
|
2245
2241
|
this.spinner = null;
|
|
2246
2242
|
}
|
|
2247
2243
|
}
|
|
2248
|
-
static { this.ɵfac = function MatButtonLoadingDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MatButtonLoadingDirective)(i0.ɵɵdirectiveInject(
|
|
2244
|
+
static { this.ɵfac = function MatButtonLoadingDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MatButtonLoadingDirective)(i0.ɵɵdirectiveInject(i1$1.MatButton), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
2249
2245
|
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MatButtonLoadingDirective, selectors: [["button", "mat-button", "", "loading", ""], ["button", "mat-raised-button", "", "loading", ""], ["button", "mat-icon-button", "", "loading", ""], ["button", "mat-fab", "", "loading", ""], ["button", "mat-mini-fab", "", "loading", ""], ["button", "mat-stroked-button", "", "loading", ""], ["button", "mat-flat-button", "", "loading", ""]], inputs: { loading: "loading" }, standalone: false }); }
|
|
2250
2246
|
}
|
|
2251
2247
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MatButtonLoadingDirective, [{
|
|
@@ -2261,7 +2257,7 @@ class MatButtonLoadingDirective {
|
|
|
2261
2257
|
button[mat-flat-button][loading]`,
|
|
2262
2258
|
standalone: false
|
|
2263
2259
|
}]
|
|
2264
|
-
}], () => [{ type:
|
|
2260
|
+
}], () => [{ type: i1$1.MatButton }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }], { loading: [{
|
|
2265
2261
|
type: Input
|
|
2266
2262
|
}] }); })();
|
|
2267
2263
|
|
|
@@ -2333,7 +2329,7 @@ class CompanyProductComponent {
|
|
|
2333
2329
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx.company), " ");
|
|
2334
2330
|
i0.ɵɵadvance(3);
|
|
2335
2331
|
i0.ɵɵtextInterpolate1(" ", ctx.product, " ");
|
|
2336
|
-
} }, dependencies: [i1$
|
|
2332
|
+
} }, dependencies: [i1$3.UpperCasePipe], styles: [".tilde-product-title[_ngcontent-%COMP%]{font-family:Roboto;text-decoration:none!important}.tilde-product-title[_ngcontent-%COMP%] .company[_ngcontent-%COMP%]{font-weight:700;font-size:.75rem;line-height:1rem;color:#616e7c;letter-spacing:1px;display:block}.tilde-product-title[_ngcontent-%COMP%] .product[_ngcontent-%COMP%]{font-weight:500;font-size:1.25rem;line-height:1.5rem;color:#1f2933;display:block}"] }); }
|
|
2337
2333
|
}
|
|
2338
2334
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyProductComponent, [{
|
|
2339
2335
|
type: Component,
|
|
@@ -2485,7 +2481,7 @@ class FooterComponent {
|
|
|
2485
2481
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(4, 3, "FOOTER.TITLE", i0.ɵɵpureFunction1(6, _c0$c, ctx.currentYear)), " ");
|
|
2486
2482
|
i0.ɵɵadvance(3);
|
|
2487
2483
|
i0.ɵɵproperty("ngIf", ctx.baseUrl)("ngIfElse", localRoutes_r2);
|
|
2488
|
-
} }, dependencies: [i1$
|
|
2484
|
+
} }, dependencies: [i1$3.NgIf, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutGapDirective, i2$2.DefaultLayoutAlignDirective, i2$2.DefaultFlexDirective, i6.RouterLink, i1$2.TranslatePipe], styles: ["[_nghost-%COMP%] footer[_ngcontent-%COMP%]{color:var(--base-30);padding:1rem 2rem;margin-bottom:0;border-top:1px solid var(--base-70);margin-top:1rem}[_nghost-%COMP%] footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--base-30);text-decoration:none}[_nghost-%COMP%] footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--base-30);text-decoration:underline}"] }); }
|
|
2489
2485
|
}
|
|
2490
2486
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterComponent, [{
|
|
2491
2487
|
type: Component,
|
|
@@ -2913,7 +2909,7 @@ class ExtensionDialogComponent {
|
|
|
2913
2909
|
i0.ɵɵproperty("ngClass.lt-md", "small-screen");
|
|
2914
2910
|
i0.ɵɵadvance();
|
|
2915
2911
|
i0.ɵɵproperty("ngForOf", ctx.config.elements);
|
|
2916
|
-
} }, dependencies: [i1$
|
|
2912
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i1$5.MatDialogClose, i1$5.MatDialogTitle, i1$5.MatDialogContent, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutAlignDirective, i3.DefaultClassDirective, i1.MatIcon, CloseButtonComponent, i1$2.TranslatePipe], styles: [".description[_ngcontent-%COMP%]{color:var(--base-40);margin:6px 24px 12px}[mat-dialog-content][_ngcontent-%COMP%]{position:relative}[mat-dialog-content][_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}[mat-dialog-content][_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]{margin-top:.5em}[mat-dialog-content][_ngcontent-%COMP%] .category-title[_ngcontent-%COMP%]{border-bottom:1px solid var(--base-70);font-size:.875em;font-weight:600;text-align:center;white-space:nowrap;margin-bottom:12px}[mat-dialog-content][_ngcontent-%COMP%] .extension-column[_ngcontent-%COMP%]{font-size:.875em;line-height:1.25em}[mat-dialog-content][_ngcontent-%COMP%] .extension-column[_ngcontent-%COMP%] + .extension-column[_ngcontent-%COMP%]{margin-left:1em}[mat-dialog-content][_ngcontent-%COMP%] [_ngcontent-%COMP%]:not(.small-screen) .category[_ngcontent-%COMP%] + .category[_ngcontent-%COMP%]{margin-left:3em}[mat-dialog-content][_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:20px;height:20px}"] }); }
|
|
2917
2913
|
}
|
|
2918
2914
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExtensionDialogComponent, [{
|
|
2919
2915
|
type: Component,
|
|
@@ -2932,7 +2928,7 @@ class ExtensionDialogService {
|
|
|
2932
2928
|
const data = { extensions };
|
|
2933
2929
|
this.dialog.open(ExtensionDialogComponent, { data, panelClass: 'responsive-dialog' });
|
|
2934
2930
|
}
|
|
2935
|
-
static { this.ɵfac = function ExtensionDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExtensionDialogService)(i0.ɵɵinject(i1$
|
|
2931
|
+
static { this.ɵfac = function ExtensionDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExtensionDialogService)(i0.ɵɵinject(i1$5.MatDialog)); }; }
|
|
2936
2932
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ExtensionDialogService, factory: ExtensionDialogService.ɵfac, providedIn: 'root' }); }
|
|
2937
2933
|
}
|
|
2938
2934
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExtensionDialogService, [{
|
|
@@ -2940,7 +2936,7 @@ class ExtensionDialogService {
|
|
|
2940
2936
|
args: [{
|
|
2941
2937
|
providedIn: 'root'
|
|
2942
2938
|
}]
|
|
2943
|
-
}], () => [{ type: i1$
|
|
2939
|
+
}], () => [{ type: i1$5.MatDialog }], null); })();
|
|
2944
2940
|
|
|
2945
2941
|
class OpenExtensionDialogComponent {
|
|
2946
2942
|
constructor(service) {
|
|
@@ -2960,7 +2956,7 @@ class OpenExtensionDialogComponent {
|
|
|
2960
2956
|
} if (rf & 2) {
|
|
2961
2957
|
i0.ɵɵadvance();
|
|
2962
2958
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "EXTENSION_POPUP.OPEN"), "\n");
|
|
2963
|
-
} }, dependencies: [i1$
|
|
2959
|
+
} }, dependencies: [i1$2.TranslatePipe], styles: ["button.open-extension-popup[_ngcontent-%COMP%]{font-size:.875em}"] }); }
|
|
2964
2960
|
}
|
|
2965
2961
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenExtensionDialogComponent, [{
|
|
2966
2962
|
type: Component,
|
|
@@ -3211,7 +3207,7 @@ class FileUploadComponent {
|
|
|
3211
3207
|
i0.ɵɵproperty("ngIf", ctx.useCompactUpload)("ngIfElse", regularUpload_r9);
|
|
3212
3208
|
i0.ɵɵadvance(3);
|
|
3213
3209
|
i0.ɵɵproperty("accept", ctx.allowedExtensions)("multiple", ctx.multiple)("disabled", ctx.disabled);
|
|
3214
|
-
} }, dependencies: [i1$
|
|
3210
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i2$3.MatProgressBar, i3.DefaultShowHideDirective, i3.DefaultClassDirective, i1$1.MatButton, DragAndDropDirective, i1.MatIcon, i1$2.TranslatePipe], styles: ["[_nghost-%COMP%]{width:100%}.file-upload[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;text-align:center}.file-upload[_ngcontent-%COMP%] .upload-button[_ngcontent-%COMP%], .file-upload[_ngcontent-%COMP%] .upload-zone[_ngcontent-%COMP%]{display:flex;border-radius:16px;border:1px dashed var(--base-65)}.file-upload[_ngcontent-%COMP%] .upload-button[_ngcontent-%COMP%]{justify-content:start;min-height:52px;overflow:hidden;padding:16px!important}.file-upload[_ngcontent-%COMP%] .upload-zone[_ngcontent-%COMP%]{flex-direction:column;justify-content:center;align-items:center;width:100%;padding:42px 0}.file-upload[_ngcontent-%COMP%] .upload-zone-labels[_ngcontent-%COMP%]{margin-top:10px;font-size:16px;font-weight:600;line-height:24px;text-align:center}.file-upload[_ngcontent-%COMP%] .upload-zone-labels[_ngcontent-%COMP%] .upload-zone-formats[_ngcontent-%COMP%]{font-weight:400}.file-upload[_ngcontent-%COMP%] .supported-formats-btn[_ngcontent-%COMP%]{cursor:pointer;color:var(--accent);font-weight:400}.file-upload[_ngcontent-%COMP%] .disabled-upload-zone[_ngcontent-%COMP%]{cursor:not-allowed}.file-upload[_ngcontent-%COMP%] .file-upload--btn[_ngcontent-%COMP%], .file-upload[_ngcontent-%COMP%] .upload-label[_ngcontent-%COMP%]:not(.file-upload-mobile){margin-top:10px}.file-upload[_ngcontent-%COMP%] .file-upload--btn[_ngcontent-%COMP%]{cursor:pointer;align-self:center;max-width:fit-content;color:var(--accent)}.file-upload[_ngcontent-%COMP%] .file-upload--btn[_ngcontent-%COMP%]:hover{text-decoration:underline}.file-upload[_ngcontent-%COMP%] .upload-zone-formats[_ngcontent-%COMP%]{margin:10px 0 4px;color:var(--base-40)}.disabled[_ngcontent-%COMP%] .file-upload--btn[_ngcontent-%COMP%]{pointer-events:none!important;text-decoration:none!important;color:var(--base-40)}.native-file-input[_ngcontent-%COMP%]{display:none}"] }); }
|
|
3215
3211
|
}
|
|
3216
3212
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadComponent, [{
|
|
3217
3213
|
type: Component,
|
|
@@ -3647,7 +3643,7 @@ class FilterBarComponent {
|
|
|
3647
3643
|
this.emitFilters();
|
|
3648
3644
|
});
|
|
3649
3645
|
}
|
|
3650
|
-
static { this.ɵfac = function FilterBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FilterBarComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$
|
|
3646
|
+
static { this.ɵfac = function FilterBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FilterBarComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$2.TranslateService)); }; }
|
|
3651
3647
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FilterBarComponent, selectors: [["tld-filter-bar"]], viewQuery: function FilterBarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3652
3648
|
i0.ɵɵviewQuery(_c0$a, 5);
|
|
3653
3649
|
i0.ɵɵviewQuery(_c1$4, 5);
|
|
@@ -3661,12 +3657,12 @@ class FilterBarComponent {
|
|
|
3661
3657
|
i0.ɵɵtemplate(0, FilterBarComponent_div_0_Template, 7, 3, "div", 5);
|
|
3662
3658
|
} if (rf & 2) {
|
|
3663
3659
|
i0.ɵɵproperty("ngIf", ctx.filterRowVisible);
|
|
3664
|
-
} }, dependencies: [i1$
|
|
3660
|
+
} }, dependencies: [i1$3.NgIf, i2$2.DefaultLayoutDirective, i4.MatSelect, i4.MatOption, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i1$1.MatButton, i1$1.MatIconButton, i1.MatIcon, i4$1.FormGroupDirective, i4$1.FormControlName, i1$3.TitleCasePipe, i1$2.TranslatePipe, SortTranslationsByPropertyPipe, SortAlphabeticallyPipe], styles: ["[_nghost-%COMP%]{display:inline-block}.select-trigger-btn[_ngcontent-%COMP%]{position:relative}.select-trigger-btn[_ngcontent-%COMP%] mat-select[_ngcontent-%COMP%]{width:100%;height:100%;opacity:0;position:absolute;top:0;left:0}.select-trigger-btn-label[_ngcontent-%COMP%]{display:flex;align-items:center;white-space:nowrap}.selected-count[_ngcontent-%COMP%]{margin-left:3px}.filter-row[_ngcontent-%COMP%]{display:flex;min-height:40px;min-width:100%;border-radius:.5rem;max-width:100%;align-items:center;margin-bottom:.5rem}.option-search-input[_ngcontent-%COMP%]{font-size:14px;width:100%;padding:.5rem 1rem;margin-bottom:.5rem}.material-icons-outlined[_ngcontent-%COMP%]{color:var(--base-40)}.filter-wrapper[_ngcontent-%COMP%]{max-width:100%;overflow-x:hidden;overflow-y:hidden;display:flex;gap:8px;flex:1}.hidden[_ngcontent-%COMP%]{display:none} .cdk-overlay-pane:has(.filter-panel){margin:15px 0 0 -15px} .filter-panel{border-radius:4px!important}[_nghost-%COMP%] .mat-mdc-form-field-flex{background-color:var(--base-100);max-height:36px}[_nghost-%COMP%] .mat-mdc-form-field-infix{padding-top:6px!important}[_nghost-%COMP%] .mat-mdc-form-field-focus-overlay, [_nghost-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--base-95)}[_nghost-%COMP%] .mdc-text-field--focused{background-color:var(--base-70)!important}[_nghost-%COMP%] .mat-mdc-select-placeholder, [_nghost-%COMP%] .mat-mdc-select-value-text, [_nghost-%COMP%] .mdc-floating-label{font-size:14px!important}[_nghost-%COMP%] .mdc-text-field--filled{--mat-form-field-filled-active-indicator-height: 0;--mat-form-field-filled-focus-active-indicator-height: 0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}[_nghost-%COMP%] .mat-mdc-text-field-wrapper:hover{background-color:var(--base-70)!important;transition:.1s}[_nghost-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}[_nghost-%COMP%] .mdc-floating-label--float-above{margin-top:3px}"] }); }
|
|
3665
3661
|
}
|
|
3666
3662
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterBarComponent, [{
|
|
3667
3663
|
type: Component,
|
|
3668
3664
|
args: [{ selector: 'tld-filter-bar', standalone: false, template: "<div class=\"filter-row\" *ngIf=\"filterRowVisible\">\r\n <div fxLayout=\"row\" class=\"filter-wrapper\" #filterWrapper [formGroup]=\"form\">\r\n <ng-container [formGroup]=\"filterFormGroup\">\r\n @for (filter of currentFilters; track filter.fieldName; let i = $index) {\r\n <button [class.filter-active]=\"filter.selectedValues?.length\" class=\"select-trigger-btn\" mat-stroked-button color=\"accent\" (click)=\"select.open()\">\r\n <div class=\"select-trigger-btn-label\">\r\n <span>{{filter.title | translate}}</span>\r\n <span *ngIf=\"filter.selectedValues?.length\" class=\"selected-count\">({{filter.selectedValues?.length}})</span>\r\n <mat-icon>{{ select.panelOpen ? \"keyboard_arrow_up\" : \"keyboard_arrow_down\" }}</mat-icon>\r\n </div>\r\n\r\n <mat-select\r\n multiple \r\n #select\r\n [panelClass]=\"'filter-panel'\"\r\n [panelWidth]=\"filter?.maxPanelWidth ?? 'auto'\" \r\n [formControlName]=\"filter.fieldName\" \r\n (openedChange)=\"$event === true ? focusOptionSearchInput(filter, i) : clearOptionSearchInput(filter, i)\"\r\n (selectionChange)=\"selectEvent($event, filter)\" \r\n >\r\n <ng-container *ngIf=\"filter?.search?.placeholder\">\r\n <input #optionSearchInput class=\"option-search-input\" [class.hidden]=\"filter.values!.length < 10\" type=\"text\" [placeholder]=\"filter.search?.placeholder ?? '' | translate\" (keyup)=\"filterOptions($event, filter)\" (keydown)=\"$event.stopPropagation()\">\r\n </ng-container>\r\n \r\n <ng-container *ngIf=\"filter.values.length\">\r\n <ng-container *ngIf=\"filter.translated; else sortedValuesByProperty\">\r\n @for (value of (filter.search?.filteredValues ?? filter.values) | sortAlphabetically:'key'; track value.key) {\r\n <mat-option [class.hidden]=\"filter.search?.searchCriteria && value.isSelected && !value.matchesSearchCriteria\" class=\"filter-option\" [disabled]=\"filter.singleSelection?.selected && filter.singleSelection?.value !== value.value\" [value]=\"value\">\r\n {{ filter.disableTitleCase ? value.key : (value.key | titlecase) }}\r\n </mat-option>\r\n }\r\n </ng-container>\r\n \r\n <ng-template #sortedValuesByProperty>\r\n @for (value of (filter.search?.filteredValues ?? filter.values) | sortTranslationsByProperty:'key':'value'; track value.value) {\r\n <mat-option [class.hidden]=\"filter.search?.searchCriteria && value.isSelected && !value.matchesSearchCriteria\" class=\"filter-option\" [disabled]=\"filter.singleSelection?.selected && filter.singleSelection?.value !== value.value\" [value]=\"value\">\r\n <ng-container *ngIf=\"!filter.disableTitleCase; else defaultCase\">\r\n {{ value.key | translate : { default: value.value | titlecase } }}\r\n </ng-container>\r\n \r\n <ng-template #defaultCase>\r\n {{ value.key | translate : { default: value.value } }} \r\n </ng-template>\r\n </mat-option>\r\n }\r\n </ng-template>\r\n </ng-container>\r\n </mat-select>\r\n </button>\r\n }\r\n </ng-container>\r\n </div>\r\n <ng-container *ngIf=\"filterOverflow\">\r\n <div class=\"filter-arrows\">\r\n <button mat-icon-button (click)=\"switchLeft()\">\r\n <span class=\"material-icons-outlined\">\r\n chevron_left\r\n </span>\r\n </button>\r\n <button mat-icon-button (click)=\"switchRight()\">\r\n <span class=\"material-icons-outlined\">\r\n chevron_right\r\n </span>\r\n </button>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [":host{display:inline-block}.select-trigger-btn{position:relative}.select-trigger-btn mat-select{width:100%;height:100%;opacity:0;position:absolute;top:0;left:0}.select-trigger-btn-label{display:flex;align-items:center;white-space:nowrap}.selected-count{margin-left:3px}.filter-row{display:flex;min-height:40px;min-width:100%;border-radius:.5rem;max-width:100%;align-items:center;margin-bottom:.5rem}.option-search-input{font-size:14px;width:100%;padding:.5rem 1rem;margin-bottom:.5rem}.material-icons-outlined{color:var(--base-40)}.filter-wrapper{max-width:100%;overflow-x:hidden;overflow-y:hidden;display:flex;gap:8px;flex:1}.hidden{display:none}::ng-deep .cdk-overlay-pane:has(.filter-panel){margin:15px 0 0 -15px}::ng-deep .filter-panel{border-radius:4px!important}:host ::ng-deep .mat-mdc-form-field-flex{background-color:var(--base-100);max-height:36px}:host ::ng-deep .mat-mdc-form-field-infix{padding-top:6px!important}:host ::ng-deep .mat-mdc-form-field-focus-overlay,:host ::ng-deep .mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--base-95)}:host ::ng-deep .mdc-text-field--focused{background-color:var(--base-70)!important}:host ::ng-deep .mat-mdc-select-placeholder,:host ::ng-deep .mat-mdc-select-value-text,:host ::ng-deep .mdc-floating-label{font-size:14px!important}:host ::ng-deep .mdc-text-field--filled{--mat-form-field-filled-active-indicator-height: 0;--mat-form-field-filled-focus-active-indicator-height: 0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}:host ::ng-deep .mat-mdc-text-field-wrapper:hover{background-color:var(--base-70)!important;transition:.1s}:host ::ng-deep .mat-mdc-form-field-subscript-wrapper{display:none}:host ::ng-deep .mdc-floating-label--float-above{margin-top:3px}\n"] }]
|
|
3669
|
-
}], () => [{ type: i0.ChangeDetectorRef }, { type: i1$
|
|
3665
|
+
}], () => [{ type: i0.ChangeDetectorRef }, { type: i1$2.TranslateService }], { filterWrapper: [{
|
|
3670
3666
|
type: ViewChild,
|
|
3671
3667
|
args: ["filterWrapper"]
|
|
3672
3668
|
}], optionSearchInputs: [{
|
|
@@ -3803,7 +3799,7 @@ class StatusDisplayComponent {
|
|
|
3803
3799
|
const loading_r2 = i0.ɵɵreference(3);
|
|
3804
3800
|
i0.ɵɵadvance();
|
|
3805
3801
|
i0.ɵɵproperty("ngIf", !ctx.config.loading)("ngIfElse", loading_r2);
|
|
3806
|
-
} }, dependencies: [i1$
|
|
3802
|
+
} }, dependencies: [i1$3.NgIf, i2$4.MatProgressSpinner, i1$2.TranslatePipe], styles: [".status-display-wrapper[_ngcontent-%COMP%]{margin:4rem 0;display:flex;flex-direction:column;align-items:center}.status-display-row-title[_ngcontent-%COMP%], .status-display-row-description[_ngcontent-%COMP%], .status-display-row-extra[_ngcontent-%COMP%]{text-align:center}.status-display-row-description[_ngcontent-%COMP%]{max-width:500px;white-space:wrap}.status-display-row-extra[_ngcontent-%COMP%]{margin-top:1rem}.material-icons-outlined[_ngcontent-%COMP%]{font-size:4rem;color:var(--base-70)}mat-spinner[_ngcontent-%COMP%]{margin:auto}.material-icons[_ngcontent-%COMP%], .material-icons-outlined[_ngcontent-%COMP%]{margin-right:.5rem}"] }); }
|
|
3807
3803
|
}
|
|
3808
3804
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StatusDisplayComponent, [{
|
|
3809
3805
|
type: Component,
|
|
@@ -4324,7 +4320,7 @@ class MultiFunctionalTableComponent {
|
|
|
4324
4320
|
updatePaginator(pageIndex) {
|
|
4325
4321
|
this.paginator.pageIndex = pageIndex;
|
|
4326
4322
|
}
|
|
4327
|
-
static { this.ɵfac = function MultiFunctionalTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiFunctionalTableComponent)(i0.ɵɵdirectiveInject(DOMService), i0.ɵɵdirectiveInject(i1$
|
|
4323
|
+
static { this.ɵfac = function MultiFunctionalTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiFunctionalTableComponent)(i0.ɵɵdirectiveInject(DOMService), i0.ɵɵdirectiveInject(i1$2.TranslateService)); }; }
|
|
4328
4324
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiFunctionalTableComponent, selectors: [["tld-multi-functional-table"]], contentQueries: function MultiFunctionalTableComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
4329
4325
|
i0.ɵɵcontentQuery(dirIndex, MatNoDataRow, 5);
|
|
4330
4326
|
i0.ɵɵcontentQuery(dirIndex, MatHeaderRowDef, 4);
|
|
@@ -4414,12 +4410,12 @@ class MultiFunctionalTableComponent {
|
|
|
4414
4410
|
i0.ɵɵproperty("ngForOf", ctx.configurableColumns);
|
|
4415
4411
|
i0.ɵɵadvance(3);
|
|
4416
4412
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 20, "MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE"), " ");
|
|
4417
|
-
} }, dependencies: [i1$
|
|
4413
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i4$2.MatTable, i4$2.MatHeaderCellDef, i4$2.MatHeaderRowDef, i4$2.MatColumnDef, i4$2.MatCellDef, i4$2.MatRowDef, i4$2.MatHeaderCell, i4$2.MatCell, i4$2.MatHeaderRow, i4$2.MatRow, i4$2.MatNoDataRow, i1$1.MatButton, i1$1.MatIconButton, i6$1.MatMenu, i6$1.MatMenuTrigger, i7.MatCheckbox, i4$1.NgControlStatus, i4$1.NgModel, FilterBarComponent, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutGapDirective, i2$2.DefaultLayoutAlignDirective, i2$2.DefaultFlexDirective, i3.DefaultClassDirective, i2$1.MatTooltip, StatusDisplayComponent, i1.MatIcon, i15.MatPaginator, i1$2.TranslatePipe], styles: ["[_nghost-%COMP%] th, [_nghost-%COMP%] tr{white-space:nowrap}[_nghost-%COMP%] td:not(:first-of-type){padding-right:10px!important}[_nghost-%COMP%] tr.mat-mdc-row:hover, [_nghost-%COMP%] tr.mat-mdc-row.highlight{background-color:var(--base-95)}[_nghost-%COMP%] tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}[_nghost-%COMP%] .export-data .mdc-button__label{display:flex;align-items:center}[_nghost-%COMP%] .mat-mdc-cell, [_nghost-%COMP%] .mat-mdc-header-cell, [_nghost-%COMP%] .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}[_nghost-%COMP%] .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}[_nghost-%COMP%] .mdc-data-table__cell:nth-child(2), [_nghost-%COMP%] .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}[_nghost-%COMP%] td+.cdk-column-columnSelect{display:none}[_nghost-%COMP%] .clear-filters-wrapper .mat-mdc-icon-button, [_nghost-%COMP%] .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}[_nghost-%COMP%] .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}[_nghost-%COMP%] .filter-active{background-color:var(--neutral-95)}[_nghost-%COMP%] .row-actions{opacity:0}[_nghost-%COMP%] .mobile .row-actions, [_nghost-%COMP%] .highlight .row-actions{opacity:1}[_nghost-%COMP%] .mat-mdc-paginator-range-actions button{padding:8px}table[_ngcontent-%COMP%]{width:100%}.wild-search-wrapper[_ngcontent-%COMP%]{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:30px}.wild-search-wrapper[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{color:var(--base-40)}.wild-search-wrapper[_ngcontent-%COMP%] .wild-search-clear-btn[_ngcontent-%COMP%]{position:absolute;right:3px}.wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{height:33px!important;width:33px!important}.wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%], .wild-search-wrapper[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%] .material-icons-outlined[_ngcontent-%COMP%]{top:5px!important;left:5px!important}.mobile[_ngcontent-%COMP%] .wild-search-wrapper[_ngcontent-%COMP%]{margin:0}.column-selector-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:end}.column-select-menu[_ngcontent-%COMP%]{padding:8px 18px 8px 8px}.column-select-save[_ngcontent-%COMP%]{padding-left:8px;padding-top:8px}.column-select-save[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%}.row-clickable[_ngcontent-%COMP%]{cursor:pointer}.row-clickable[_ngcontent-%COMP%]:active{background-color:var(--base-70)!important}.material-icons[_ngcontent-%COMP%], .material-icons-outlined[_ngcontent-%COMP%]{margin-right:.5rem}.table-action-button[_ngcontent-%COMP%]{margin-bottom:1rem}th.mat-mdc-header-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-cell[_ngcontent-%COMP%]:first-of-type, td.mat-mdc-footer-cell[_ngcontent-%COMP%]:first-of-type{padding:0 0 0 10px}.row-select[_ngcontent-%COMP%]{width:0}.table-overflow[_ngcontent-%COMP%]{overflow-x:auto}.table-dragable[_ngcontent-%COMP%]{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable[_ngcontent-%COMP%]:active{cursor:grabbing}.table-sticky-header[_ngcontent-%COMP%]{max-height:70vh}"] }); }
|
|
4418
4414
|
}
|
|
4419
4415
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiFunctionalTableComponent, [{
|
|
4420
4416
|
type: Component,
|
|
4421
4417
|
args: [{ selector: 'tld-multi-functional-table', standalone: false, template: "<div [ngClass.lt-md]=\"'mobile'\" fxLayout=\"column\" fxLayoutGap=\"0.75rem\">\r\n <div fxLayout=\"row\" fxLayout.lt-md=\"column\" fxLayoutGap.lt-md=\"0.75rem\">\r\n <div\r\n fxFlex\r\n fxLayout.lt-md=\"column\"\r\n fxLayoutGap=\"0.75rem\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutAlign.lt-md=\"start start\"\r\n class=\"action-row\"\r\n >\r\n <button\r\n class=\"export-data\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n *ngIf=\"exportActive\"\r\n (click)=\"export()\"\r\n >\r\n <span class=\"material-icons-outlined\">cloud_download</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.EXPORT\" | translate }}</span>\r\n </button>\r\n\r\n <div\r\n *ngIf=\"filterActive && showFilterToggle\"\r\n fxFlex\r\n fxLayoutGap=\"0.5rem\"\r\n fxLayoutAlign=\"start center\"\r\n >\r\n <button\r\n [class.filter-active]=\"filterBarVisible\"\r\n mat-stroked-button\r\n color=\"accent\"\r\n (click)=\"toggleFilterBar()\"\r\n >\r\n <span class=\"material-icons\">filter_list</span>\r\n <span>{{ \"MULTI_FUNCTIONAL_TABLE.FILTER_TOGGLE\" | translate }}</span>\r\n </button>\r\n\r\n <div *ngIf=\"showFilterReset\" class=\"clear-filters-wrapper\">\r\n <button mat-icon-button (click)=\"clearFilters()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div\r\n *ngIf=\"showSearch\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n class=\"wild-search-wrapper\"\r\n >\r\n <mat-icon\r\n class=\"search-icon\"\r\n [matTooltip]=\"hideSearchTooltip ? '' : (searchTooltip | translate)\"\r\n >search</mat-icon\r\n >\r\n <input\r\n [value]=\"config.filter?.settings?.searchValue ?? ''\"\r\n #wildSearch\r\n type=\"text\"\r\n [placeholder]=\"searchTitle | translate\"\r\n (keyup)=\"search($event)\"\r\n />\r\n <button\r\n *ngIf=\"showSearchClearButton && wildSearch.value\"\r\n mat-icon-button\r\n class=\"wild-search-clear-btn\"\r\n (click)=\"wildSearch.value = ''; search({ target: { value: '' } })\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <ng-content select=\"[additionalActions]\"></ng-content>\r\n </div>\r\n\r\n <tld-filter-bar\r\n *ngIf=\"config.filter && config.filter.enabled\"\r\n #filterBar\r\n [filterRowVisible]=\"filterBarVisible\"\r\n [settings]=\"config.filter.settings\"\r\n (filterBarChange)=\"filtersChanged($event)\"\r\n >\r\n </tld-filter-bar>\r\n\r\n <ng-content select=\"[batchActions]\"></ng-content>\r\n\r\n @if(config.paginator?.enabled){\r\n @let paginatorConfig = config.paginator!;\r\n\r\n <mat-paginator [hidePageSize]=\"!paginatorConfig.showPageSize\" [showFirstLastButtons]=\"paginatorConfig.showFirstLastButtons\"\r\n [attr.aria-label]=\"'MULTI_FUNCTIONAL_TABLE.PAGINATOR_LABEL' | translate\" [pageSizeOptions]=\"paginatorConfig.pageSizeOptions ?? [10]\" (page)=\"paginatorChange($event)\">\r\n </mat-paginator>\r\n }\r\n <div\r\n #tableContainer\r\n class=\"table-overflow\"\r\n [class.table-sticky-header]=\"config?.stickyHeader\"\r\n [class.table-dragable]=\"tableOverflow && !config?.disableMouseDragging\"\r\n (mousedown)=\"onMouseDown($event)\"\r\n (mouseup)=\"onMouseUp()\"\r\n (mouseleave)=\"onMouseUp()\"\r\n (mousemove)=\"onMouseMove($event)\"\r\n >\r\n <table\r\n #table\r\n mat-table\r\n [dataSource]=\"dataSource!\"\r\n [trackBy]=\"trackByFn\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container [matColumnDef]=\"batchColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT_ALL' | translate\"\r\n [disabled]=\"config.batchConfig!.checkBoxesDisabled\"\r\n (change)=\"toggleAllRowSelection()\"\r\n [checked]=\"matSelection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"matSelection.hasValue() && !isAllSelected()\"\r\n >\r\n </mat-checkbox>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n >\r\n <mat-checkbox\r\n [matTooltip]=\"'MULTI_FUNCTIONAL_TABLE.SELECT' | translate\"\r\n *ngIf=\"\r\n isRowCheckboxAlwaysVisible ||\r\n hoveredRow === element ||\r\n matSelection.isSelected(element)\r\n \"\r\n [disabled]=\"\r\n config.batchConfig!.checkBoxesDisabled ||\r\n (preselectedItems.includes(element) && disablePreselectedItems)\r\n \"\r\n (click)=\"$event.stopPropagation()\"\r\n (change)=\"toggleElementSelection(element)\"\r\n [checked]=\"matSelection.isSelected(element)\"\r\n >\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <tr\r\n mat-header-row\r\n *matHeaderRowDef=\"displayColumns; sticky: config?.stickyHeader ?? false\"\r\n ></tr>\r\n <tr\r\n mat-row\r\n *matRowDef=\"let row; let index = index; columns: displayColumns\"\r\n (click)=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n ? config?.rowClickCallback(row)\r\n : null\r\n \"\r\n (mouseover)=\"rowHovered(index,row)\"\r\n (mouseleave)=\"rowHoverLeave()\"\r\n [class.row-clickable]=\"\r\n config?.rowClickCallback && (!config.disableRowClick || !config?.disableRowClick(row))\r\n \"\r\n [class.highlight-error]=\"highlightErrorElement(index, row)\"\r\n [class.highlight]=\"isElementHighlighted(index,row)\"\r\n ></tr>\r\n\r\n <ng-container [matColumnDef]=\"columnSelectColumnName\">\r\n <th class=\"row-select\" mat-header-cell *matHeaderCellDef disable-export>\r\n <div class=\"column-selector-wrapper\">\r\n <button\r\n class=\"column-selector\"\r\n mat-icon-button\r\n color=\"accent\"\r\n [matMenuTriggerFor]=\"columnMenu\"\r\n >\r\n <span class=\"material-icons\">more_vert</span>\r\n </button>\r\n </div>\r\n </th>\r\n <td\r\n class=\"row-select\"\r\n mat-cell\r\n *matCellDef=\"let element\"\r\n disable-export\r\n ></td>\r\n </ng-container>\r\n <ng-container *ngIf=\"noDataRowActive\">\r\n <tr *matNoDataRow>\r\n <!-- add random number to make sure it takes full width -->\r\n <td colspan=\"99\">\r\n <lib-status-display [config]=\"noDataRowConfig\"></lib-status-display>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </table>\r\n </div>\r\n</div>\r\n\r\n<mat-menu #columnMenu=\"matMenu\">\r\n <div class=\"column-select-menu\" (click)=\"$event.stopPropagation()\">\r\n <div *ngFor=\"let column of configurableColumns\">\r\n <mat-checkbox [(ngModel)]=\"column.selected\">\r\n {{ column.displayName | translate }}\r\n </mat-checkbox>\r\n </div>\r\n\r\n <div class=\"column-select-save\">\r\n <button\r\n mat-flat-button\r\n color=\"accent\"\r\n (click)=\"updateDisplayColumns()\"\r\n >\r\n {{ \"MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE\" | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</mat-menu>\r\n", styles: [":host ::ng-deep th,:host ::ng-deep tr{white-space:nowrap}:host ::ng-deep td:not(:first-of-type){padding-right:10px!important}:host ::ng-deep tr.mat-mdc-row:hover,:host ::ng-deep tr.mat-mdc-row.highlight{background-color:var(--base-95)}:host ::ng-deep tr.mat-mdc-row.highlight-error{background-color:var(--warning-light)}:host ::ng-deep .export-data .mdc-button__label{display:flex;align-items:center}:host ::ng-deep .mat-mdc-cell,:host ::ng-deep .mat-mdc-header-cell,:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-color:var(--base-70)}:host ::ng-deep .mdc-data-table__row:last-child{border-bottom-width:1px;border-bottom-style:solid}:host ::ng-deep .mdc-data-table__cell:nth-child(2),:host ::ng-deep .mdc-data-table__header-cell:nth-child(2){padding:0 16px 0 10px}:host ::ng-deep td+.cdk-column-columnSelect{display:none}:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button,:host ::ng-deep .clear-filters-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:36px!important;width:36px!important}:host ::ng-deep .clear-filters-wrapper mat-icon{margin-top:-2px;margin-left:-2px}:host ::ng-deep .filter-active{background-color:var(--neutral-95)}:host ::ng-deep .row-actions{opacity:0}:host ::ng-deep .mobile .row-actions,:host ::ng-deep .highlight .row-actions{opacity:1}:host ::ng-deep .mat-mdc-paginator-range-actions button{padding:8px}table{width:100%}.wild-search-wrapper{position:relative;padding:5px 10px;border-radius:4px;border:1px solid var(--neutral-50);margin:0 8px}.wild-search-wrapper input{margin-right:30px}.wild-search-wrapper .search-icon{color:var(--base-40)}.wild-search-wrapper .wild-search-clear-btn{position:absolute;right:3px}.wild-search-wrapper .mat-mdc-icon-button,.wild-search-wrapper .mat-mdc-icon-button .mat-mdc-button-touch-target{height:33px!important;width:33px!important}.wild-search-wrapper .mat-mdc-icon-button mat-icon,.wild-search-wrapper .mat-mdc-icon-button .material-icons,.wild-search-wrapper .mat-mdc-icon-button .material-icons-outlined{top:5px!important;left:5px!important}.mobile .wild-search-wrapper{margin:0}.column-selector-wrapper{display:flex;justify-content:end}.column-select-menu{padding:8px 18px 8px 8px}.column-select-save{padding-left:8px;padding-top:8px}.column-select-save button{width:100%}.row-clickable{cursor:pointer}.row-clickable:active{background-color:var(--base-70)!important}.material-icons,.material-icons-outlined{margin-right:.5rem}.table-action-button{margin-bottom:1rem}th.mat-mdc-header-cell:first-of-type,td.mat-mdc-cell:first-of-type,td.mat-mdc-footer-cell:first-of-type{padding:0 0 0 10px}.row-select{width:0}.table-overflow{overflow-x:auto}.table-dragable{cursor:grab;-webkit-user-select:none;user-select:none}.table-dragable:active{cursor:grabbing}.table-sticky-header{max-height:70vh}\n"] }]
|
|
4422
|
-
}], () => [{ type: DOMService }, { type: i1$
|
|
4418
|
+
}], () => [{ type: DOMService }, { type: i1$2.TranslateService }], { config: [{
|
|
4423
4419
|
type: Input
|
|
4424
4420
|
}], highlightedElements: [{
|
|
4425
4421
|
type: Input
|
|
@@ -4593,7 +4589,7 @@ class ConfirmationModalComponent {
|
|
|
4593
4589
|
this.data = data;
|
|
4594
4590
|
this.confirmation = Confirmation;
|
|
4595
4591
|
}
|
|
4596
|
-
static { this.ɵfac = function ConfirmationModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationModalComponent)(i0.ɵɵdirectiveInject(i1$
|
|
4592
|
+
static { this.ɵfac = function ConfirmationModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationModalComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
4597
4593
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmationModalComponent, selectors: [["lib-confirmation-modal"]], standalone: false, decls: 15, vars: 15, consts: [["mat-dialog-title", ""], ["mat-dialog-content", ""], [1, "confirmation-description"], [4, "ngIf"], ["align", "end"], ["mat-button", "", 3, "mat-dialog-close"], ["mat-flat-button", "", "color", "accent", 3, "mat-dialog-close"], [4, "ngFor", "ngForOf"]], template: function ConfirmationModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4598
4594
|
i0.ɵɵelementStart(0, "h1", 0);
|
|
4599
4595
|
i0.ɵɵtext(1);
|
|
@@ -4628,12 +4624,12 @@ class ConfirmationModalComponent {
|
|
|
4628
4624
|
i0.ɵɵproperty("mat-dialog-close", ctx.confirmation.PRIMARY);
|
|
4629
4625
|
i0.ɵɵadvance();
|
|
4630
4626
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, ctx.data.confirmationText), " ");
|
|
4631
|
-
} }, dependencies: [i1$
|
|
4627
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i1$5.MatDialogClose, i1$5.MatDialogTitle, i1$5.MatDialogActions, i1$5.MatDialogContent, i1$1.MatButton, i1$2.TranslatePipe], styles: [".confirmation-description[_ngcontent-%COMP%]{color:var(--base-40)}.confirmation-description[_ngcontent-%COMP%]{margin-top:4px}"] }); }
|
|
4632
4628
|
}
|
|
4633
4629
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationModalComponent, [{
|
|
4634
4630
|
type: Component,
|
|
4635
4631
|
args: [{ selector: 'lib-confirmation-modal', standalone: false, template: "<h1 mat-dialog-title>{{ data.title | translate }}</h1>\r\n<div mat-dialog-content>\r\n <p class=\"confirmation-description\">{{ data.descriptioon | translate }}</p>\r\n \r\n <ul *ngIf=\"data.details\">\r\n <li *ngFor=\"let extraData of data.details\">\r\n {{ extraData }}\r\n </li>\r\n </ul>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <button mat-button [mat-dialog-close]=\"confirmation.SECONDARY\">\r\n {{ data.rejectionText | translate }}\r\n </button>\r\n <button mat-flat-button color=\"accent\" [mat-dialog-close]=\"confirmation.PRIMARY\">\r\n {{ data.confirmationText | translate }}\r\n </button>\r\n</mat-dialog-actions>\r\n", styles: [".confirmation-description{color:var(--base-40)}.confirmation-description{margin-top:4px}\n"] }]
|
|
4636
|
-
}], () => [{ type: i1$
|
|
4632
|
+
}], () => [{ type: i1$5.MatDialogRef }, { type: undefined, decorators: [{
|
|
4637
4633
|
type: Inject,
|
|
4638
4634
|
args: [MAT_DIALOG_DATA]
|
|
4639
4635
|
}] }], null); })();
|
|
@@ -4665,7 +4661,7 @@ class ConfirmationService {
|
|
|
4665
4661
|
});
|
|
4666
4662
|
return dialogRef.afterClosed();
|
|
4667
4663
|
}
|
|
4668
|
-
static { this.ɵfac = function ConfirmationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationService)(i0.ɵɵinject(i1$
|
|
4664
|
+
static { this.ɵfac = function ConfirmationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationService)(i0.ɵɵinject(i1$5.MatDialog)); }; }
|
|
4669
4665
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConfirmationService, factory: ConfirmationService.ɵfac, providedIn: 'root' }); }
|
|
4670
4666
|
}
|
|
4671
4667
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationService, [{
|
|
@@ -4673,7 +4669,7 @@ class ConfirmationService {
|
|
|
4673
4669
|
args: [{
|
|
4674
4670
|
providedIn: 'root'
|
|
4675
4671
|
}]
|
|
4676
|
-
}], () => [{ type: i1$
|
|
4672
|
+
}], () => [{ type: i1$5.MatDialog }], null); })();
|
|
4677
4673
|
|
|
4678
4674
|
const OPEN_CLOSE_BTN_ICONS_TOKEN = 'OPEN_CLOSE_BTN_ICONS_TOKEN';
|
|
4679
4675
|
|
|
@@ -4756,7 +4752,7 @@ class OpenCloseButtonComponent {
|
|
|
4756
4752
|
i0.ɵɵproperty("ngIf", !ctx.isIcon);
|
|
4757
4753
|
i0.ɵɵadvance();
|
|
4758
4754
|
i0.ɵɵproperty("ngIf", ctx.isIcon);
|
|
4759
|
-
} }, dependencies: [i1$
|
|
4755
|
+
} }, dependencies: [i1$3.NgIf, i1$1.MatButton, i1$1.MatIconButton, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutAlignDirective, i3.DefaultClassDirective, i1$2.TranslatePipe], styles: [".spin[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spinArrow .3s forwards}@keyframes _ngcontent-%COMP%_spinArrow{to{transform:rotate(180deg)}}.material-icons[_ngcontent-%COMP%]{color:var(--base-30)}"] }); }
|
|
4760
4756
|
}
|
|
4761
4757
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenCloseButtonComponent, [{
|
|
4762
4758
|
type: Component,
|
|
@@ -5064,7 +5060,7 @@ class TerminologyCollectionService {
|
|
|
5064
5060
|
collection.modifyDate = new Date(collection.modifyDate.toString() + "Z");
|
|
5065
5061
|
return new CombinedCollection(collection, null);
|
|
5066
5062
|
}
|
|
5067
|
-
static { this.ɵfac = function TerminologyCollectionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCollectionService)(i0.ɵɵinject(TerminologyConfigService), i0.ɵɵinject(i1$
|
|
5063
|
+
static { this.ɵfac = function TerminologyCollectionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCollectionService)(i0.ɵɵinject(TerminologyConfigService), i0.ɵɵinject(i1$4.HttpClient)); }; }
|
|
5068
5064
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TerminologyCollectionService, factory: TerminologyCollectionService.ɵfac, providedIn: "root" }); }
|
|
5069
5065
|
}
|
|
5070
5066
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionService, [{
|
|
@@ -5072,7 +5068,7 @@ class TerminologyCollectionService {
|
|
|
5072
5068
|
args: [{
|
|
5073
5069
|
providedIn: "root",
|
|
5074
5070
|
}]
|
|
5075
|
-
}], () => [{ type: TerminologyConfigService }, { type: i1$
|
|
5071
|
+
}], () => [{ type: TerminologyConfigService }, { type: i1$4.HttpClient }], null); })();
|
|
5076
5072
|
|
|
5077
5073
|
class EngineTermApiService {
|
|
5078
5074
|
constructor(http, config) {
|
|
@@ -5107,7 +5103,7 @@ class EngineTermApiService {
|
|
|
5107
5103
|
sync(engineId, collectionId) {
|
|
5108
5104
|
return this.http.post(`${this.baseUrl}/${engineId}/terms/${collectionId}/sync`, {});
|
|
5109
5105
|
}
|
|
5110
|
-
static { this.ɵfac = function EngineTermApiService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EngineTermApiService)(i0.ɵɵinject(i1$
|
|
5106
|
+
static { this.ɵfac = function EngineTermApiService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EngineTermApiService)(i0.ɵɵinject(i1$4.HttpClient), i0.ɵɵinject(TerminologyConfigService)); }; }
|
|
5111
5107
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EngineTermApiService, factory: EngineTermApiService.ɵfac, providedIn: 'root' }); }
|
|
5112
5108
|
}
|
|
5113
5109
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EngineTermApiService, [{
|
|
@@ -5115,7 +5111,7 @@ class EngineTermApiService {
|
|
|
5115
5111
|
args: [{
|
|
5116
5112
|
providedIn: 'root'
|
|
5117
5113
|
}]
|
|
5118
|
-
}], () => [{ type: i1$
|
|
5114
|
+
}], () => [{ type: i1$4.HttpClient }, { type: TerminologyConfigService }], null); })();
|
|
5119
5115
|
|
|
5120
5116
|
class TerminologyApiService {
|
|
5121
5117
|
constructor(config, engineTermApi) {
|
|
@@ -5750,7 +5746,7 @@ class TerminologyCollectionCardComponent {
|
|
|
5750
5746
|
i0.ɵɵtemplate(0, TerminologyCollectionCardComponent_ng_container_0_Template, 20, 17, "ng-container", 1);
|
|
5751
5747
|
} if (rf & 2) {
|
|
5752
5748
|
i0.ɵɵproperty("ngIf", ctx.collection);
|
|
5753
|
-
} }, dependencies: [i1$
|
|
5749
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutGapDirective, i2$2.DefaultLayoutAlignDirective, i2$2.DefaultFlexDirective, i1$1.MatButton, i1$1.MatIconButton, i1.MatIcon, i2$4.MatProgressSpinner, i5.MatRadioButton, i2$1.MatTooltip, i1$3.UpperCasePipe, i1$2.TranslatePipe, DateAgoPipe], styles: [".collection-languages[_ngcontent-%COMP%]{display:flex;gap:2px}.collection-languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;border-radius:100px;padding-right:8px;padding-left:8px;color:var(--base-40);background-color:var(--base-70)}"] }); }
|
|
5754
5750
|
}
|
|
5755
5751
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionCardComponent, [{
|
|
5756
5752
|
type: Component,
|
|
@@ -5911,7 +5907,7 @@ class TerminologyCollectionListComponent {
|
|
|
5911
5907
|
i0.ɵɵproperty("ngIf", !ctx.hasAnyCollections);
|
|
5912
5908
|
i0.ɵɵadvance();
|
|
5913
5909
|
i0.ɵɵproperty("ngIf", ctx.hasAnyCollections);
|
|
5914
|
-
} }, dependencies: [i1$
|
|
5910
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutAlignDirective, i5.MatRadioGroup, i5.MatRadioButton, TerminologyCollectionCardComponent, i1$2.TranslatePipe, LanguageTranslatePipe], styles: ["[_nghost-%COMP%] .tld-collection-list-body, [_nghost-%COMP%] .tld-collection-list-header{padding:.5em .75em}[_nghost-%COMP%] .term-window-unavailable{font-style:italic}[_nghost-%COMP%] .term-window-unavailable, [_nghost-%COMP%] .term-window-description span{font-weight:500}[_nghost-%COMP%] .collection-label{max-width:280px;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] .collection-label-block{display:block}[_nghost-%COMP%] .collection-status-labels .mat-icon, [_nghost-%COMP%] .collection-status-labels .material-icons{font-size:18px}[_nghost-%COMP%] .default-badge{background-color:#9aa5b1;color:var(--base-100);font-size:10px;border-radius:12px;padding:4px 8px;line-height:16px;display:inline-block;margin-left:5px}[_nghost-%COMP%] .mat-mdc-radio-button{overflow:hidden;padding:5px 0;place-content:start!important}[_nghost-%COMP%] .mat-mdc-radio-button .mat-radio-ripple{display:none}[_nghost-%COMP%] .mat-mdc-radio-button .mat-mdc-button{padding:0!important}[_nghost-%COMP%] .collection{min-height:70px}[_nghost-%COMP%] .collection-card{width:100%}[_nghost-%COMP%] .collection, [_nghost-%COMP%] .none-option{border-bottom:1px solid var(--base-70)}[_nghost-%COMP%] mat-spinner{display:inline-block}[_nghost-%COMP%] .mdc-radio__inner-circle{transform:scale(0)!important}[_nghost-%COMP%] .mdc-radio__outer-circle{border-color:inherit!important}[_nghost-%COMP%] .mat-mdc-radio-checked .mdc-radio__inner-circle{transform:scale(.5)!important}[_nghost-%COMP%] .mat-mdc-radio-checked .mdc-radio__outer-circle{border-color:var(--accent)!important}[_nghost-%COMP%] .mat-mdc-radio-checked .mdc-radio--disabled .mdc-radio__outer-circle{border-color:inherit!important}"] }); }
|
|
5915
5911
|
}
|
|
5916
5912
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionListComponent, [{
|
|
5917
5913
|
type: Component,
|
|
@@ -5973,7 +5969,7 @@ class TerminologyCreateCollectionDialogComponent {
|
|
|
5973
5969
|
ngOnDestroy() {
|
|
5974
5970
|
this.subscription.unsubscribe();
|
|
5975
5971
|
}
|
|
5976
|
-
static { this.ɵfac = function TerminologyCreateCollectionDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
5972
|
+
static { this.ɵfac = function TerminologyCreateCollectionDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionDialogComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialogRef), i0.ɵɵdirectiveInject(TerminologyConfigService), i0.ɵɵdirectiveInject(i1$2.TranslateService), i0.ɵɵdirectiveInject(i4$1.FormBuilder), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
5977
5973
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCreateCollectionDialogComponent, selectors: [["lib-terminology-create-collection-dialog"]], standalone: false, decls: 23, vars: 25, consts: [["mat-dialog-title", ""], ["mat-dialog-close", "", 1, "close-button"], ["mat-dialog-content", ""], [1, "main-description", 3, "innerHtml"], [1, "text-s", 3, "innerHtml"], [3, "formGroup"], ["appearance", "outline", 1, "collection-name-form-field"], ["matInput", "", "formControlName", "collectionName", 3, "keyup.enter"], [4, "ngIf"], ["fxLayout", "row", "fxLayoutAlign", "end center", 1, "glossary-create-actions"], ["mat-stroked-button", "", "mat-dialog-close", "", "color", "accent"], ["mat-flat-button", "", "cdkFocusInitial", "", "color", "accent", 3, "click", "disabled"]], template: function TerminologyCreateCollectionDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
5978
5974
|
i0.ɵɵelementStart(0, "h1", 0);
|
|
5979
5975
|
i0.ɵɵtext(1);
|
|
@@ -6022,12 +6018,12 @@ class TerminologyCreateCollectionDialogComponent {
|
|
|
6022
6018
|
i0.ɵɵproperty("disabled", ctx.form.invalid);
|
|
6023
6019
|
i0.ɵɵadvance();
|
|
6024
6020
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 20, "TERM_COLLECTIONS.CREATE_DIALOG.CREATE"));
|
|
6025
|
-
} }, dependencies: [i1$
|
|
6021
|
+
} }, dependencies: [i1$3.NgIf, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutAlignDirective, i4$1.ɵNgNoValidate, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i4$1.FormGroupDirective, i4$1.FormControlName, CloseButtonComponent, i1$1.MatButton, i1$5.MatDialogClose, i1$5.MatDialogTitle, i1$5.MatDialogActions, i1$5.MatDialogContent, i9.MatInput, i9.MatFormField, i9.MatLabel, i9.MatError, i1$2.TranslatePipe], styles: ["input[_ngcontent-%COMP%]{outline:none!important}.create-dialog-wrapper[_ngcontent-%COMP%]{position:relative}.close-button[_ngcontent-%COMP%]{position:absolute;right:1em;top:1em}.main-description[_ngcontent-%COMP%]{margin-bottom:.25em}.collection-name-form-field[_ngcontent-%COMP%]{margin-top:2em}.mdc-dialog__content[_ngcontent-%COMP%]{padding:0 24px!important}"] }); }
|
|
6026
6022
|
}
|
|
6027
6023
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCreateCollectionDialogComponent, [{
|
|
6028
6024
|
type: Component,
|
|
6029
6025
|
args: [{ selector: "lib-terminology-create-collection-dialog", standalone: false, template: "<h1 mat-dialog-title>{{ \"TERM_COLLECTIONS.CREATE_DIALOG.TITLE\" | translate }}</h1>\r\n<tld-close-button class=\"close-button\" mat-dialog-close> </tld-close-button>\r\n<div mat-dialog-content>\r\n <p class=\"main-description\" [innerHtml]=\"'TERM_COLLECTIONS.CREATE_DIALOG.DESCRIPTION_1' | translate : { appName, termPortalName }\"></p>\r\n <p class=\"text-s\" [innerHtml]=\"'TERM_COLLECTIONS.CREATE_DIALOG.DESCRIPTION_2' | translate\"></p>\r\n <form [formGroup]=\"form\">\r\n <mat-form-field appearance=\"outline\" class=\"collection-name-form-field\">\r\n <mat-label>{{ \"TERM_COLLECTIONS.CREATE_DIALOG.COLLECTION_NAME_LABEL\" | translate }} </mat-label>\r\n <input matInput formControlName=\"collectionName\" (keyup.enter)=\"create()\" />\r\n <mat-error *ngIf=\"form.controls['collectionName'].errors\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.COLLECTION_NAME_ERROR\" | translate : { minLength: minLength, maxLength: maxLength } }}</mat-error>\r\n </mat-form-field>\r\n</form>\r\n</div>\r\n<mat-dialog-actions fxLayout=\"row\" fxLayoutAlign=\"end center\" class=\"glossary-create-actions\">\r\n <button mat-stroked-button mat-dialog-close color=\"accent\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.CANCEL\" | translate }}</button>\r\n <button mat-flat-button (click)=\"create()\" cdkFocusInitial color=\"accent\" [disabled]=\"form.invalid\">{{ \"TERM_COLLECTIONS.CREATE_DIALOG.CREATE\" | translate }}</button>\r\n</mat-dialog-actions>\r\n", styles: ["input{outline:none!important}.create-dialog-wrapper{position:relative}.close-button{position:absolute;right:1em;top:1em}.main-description{margin-bottom:.25em}.collection-name-form-field{margin-top:2em}.mdc-dialog__content{padding:0 24px!important}\n"] }]
|
|
6030
|
-
}], () => [{ type: i1$
|
|
6026
|
+
}], () => [{ type: i1$5.MatDialogRef }, { type: TerminologyConfigService }, { type: i1$2.TranslateService }, { type: i4$1.FormBuilder }, { type: undefined, decorators: [{
|
|
6031
6027
|
type: Inject,
|
|
6032
6028
|
args: [MAT_DIALOG_DATA]
|
|
6033
6029
|
}] }], null); })();
|
|
@@ -6078,17 +6074,17 @@ class TerminologyCreateCollectionComponent {
|
|
|
6078
6074
|
});
|
|
6079
6075
|
});
|
|
6080
6076
|
}
|
|
6081
|
-
static { this.ɵfac = function TerminologyCreateCollectionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionComponent)(i0.ɵɵdirectiveInject(i1$
|
|
6077
|
+
static { this.ɵfac = function TerminologyCreateCollectionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionComponent)(i0.ɵɵdirectiveInject(i1$2.TranslateService), i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(TerminologyService)); }; }
|
|
6082
6078
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TerminologyCreateCollectionComponent, selectors: [["lib-terminology-create-collection"]], inputs: { sourceLanguageCode: "sourceLanguageCode", targetLanguageCode: "targetLanguageCode" }, outputs: { collectionCreated: "collectionCreated" }, standalone: false, decls: 1, vars: 1, consts: [["mat-flat-button", "", "color", "accent", "class", "term-create-btn", 3, "click", 4, "ngIf"], ["mat-flat-button", "", "color", "accent", 1, "term-create-btn", 3, "click"]], template: function TerminologyCreateCollectionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
6083
6079
|
i0.ɵɵtemplate(0, TerminologyCreateCollectionComponent_button_0_Template, 3, 3, "button", 0);
|
|
6084
6080
|
} if (rf & 2) {
|
|
6085
6081
|
i0.ɵɵproperty("ngIf", ctx.canCreateCollections);
|
|
6086
|
-
} }, dependencies: [i1$
|
|
6082
|
+
} }, dependencies: [i1$3.NgIf, i1$1.MatButton, i1$2.TranslatePipe], styles: [".term-create-btn[_ngcontent-%COMP%]{white-space:nowrap}"] }); }
|
|
6087
6083
|
}
|
|
6088
6084
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCreateCollectionComponent, [{
|
|
6089
6085
|
type: Component,
|
|
6090
6086
|
args: [{ selector: 'lib-terminology-create-collection', standalone: false, template: "<button *ngIf=\"canCreateCollections\" mat-flat-button color=\"accent\" (click)=\"create()\" class=\"term-create-btn\">\r\n {{ \"TERM_COLLECTIONS.CREATE\" | translate }}\r\n</button>\r\n", styles: [".term-create-btn{white-space:nowrap}\n"] }]
|
|
6091
|
-
}], () => [{ type: i1$
|
|
6087
|
+
}], () => [{ type: i1$2.TranslateService }, { type: i1$5.MatDialog }, { type: TerminologyService }], { sourceLanguageCode: [{
|
|
6092
6088
|
type: Input
|
|
6093
6089
|
}], targetLanguageCode: [{
|
|
6094
6090
|
type: Input
|
|
@@ -6221,7 +6217,7 @@ class TerminologyPanelComponent {
|
|
|
6221
6217
|
const emptyView_r4 = i0.ɵɵreference(3);
|
|
6222
6218
|
i0.ɵɵadvance();
|
|
6223
6219
|
i0.ɵɵproperty("ngIf", ctx.showGlossaryList)("ngIfElse", emptyView_r4);
|
|
6224
|
-
} }, dependencies: [i1$
|
|
6220
|
+
} }, dependencies: [i1$3.NgIf, i2$2.DefaultLayoutDirective, i2$2.DefaultLayoutGapDirective, i2$2.DefaultLayoutAlignDirective, TerminologyCreateCollectionComponent, TerminologyCollectionListComponent, i1$2.TranslatePipe], styles: [".tld-collection-list-footer[_ngcontent-%COMP%]{margin-top:1rem;padding:0 .75em 1em}.default-glossary-management[_ngcontent-%COMP%]{display:block;color:var(--base-30)}.term-reader-wrapper[_ngcontent-%COMP%]{margin:1em}.glossary-unavailable[_ngcontent-%COMP%]{font-weight:500;font-style:italic}.hint-title[_ngcontent-%COMP%]{margin-bottom:0}"] }); }
|
|
6225
6221
|
}
|
|
6226
6222
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyPanelComponent, [{
|
|
6227
6223
|
type: Component,
|
|
@@ -6455,7 +6451,7 @@ class TerminologyComponent {
|
|
|
6455
6451
|
i0.ɵɵproperty("ngIf", !ctx.hideGlossaryMenuWithoutCollections || ctx.hideGlossaryMenuWithoutCollections && ctx.hasAnyCollections);
|
|
6456
6452
|
i0.ɵɵadvance(5);
|
|
6457
6453
|
i0.ɵɵproperty("system", ctx.system)("selectedCollection", ctx.selected)("setSelectedFromLocalStorage", ctx.setSelectedFromLocalStorage);
|
|
6458
|
-
} }, dependencies: [i1$
|
|
6454
|
+
} }, dependencies: [i1$3.NgIf, OpenCloseButtonComponent, i2$2.DefaultLayoutGapDirective, i2$2.DefaultLayoutAlignDirective, i3.DefaultShowHideDirective, i3.DefaultClassDirective, CloseButtonComponent, i1$1.MatIconButton, i1.MatIcon, i2$4.MatProgressSpinner, i6$1.MatMenu, i6$1.MatMenuTrigger, i2$1.MatTooltip, TerminologyPanelComponent, i1$2.TranslatePipe], styles: ["[_nghost-%COMP%] .mdc-circular-progress__circle-clipper, [_nghost-%COMP%] .mdc-circular-progress__indeterminate-circle-graphic{width:100%!important}.selected-col-spinner[_ngcontent-%COMP%]{margin-left:5px}.tld-collection-menu-button[_ngcontent-%COMP%] .selected-collection[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;max-width:140px;display:inline-block;white-space:nowrap}"] }); }
|
|
6459
6455
|
}
|
|
6460
6456
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyComponent, [{
|
|
6461
6457
|
type: Component,
|
|
@@ -6695,10 +6691,10 @@ class TextToSpeechComponent {
|
|
|
6695
6691
|
i0.ɵɵproperty("ngIf", !ctx.isLoading);
|
|
6696
6692
|
i0.ɵɵadvance();
|
|
6697
6693
|
i0.ɵɵproperty("ngIf", ctx.isLoading);
|
|
6698
|
-
} }, dependencies: [CommonModule, i1$
|
|
6694
|
+
} }, dependencies: [CommonModule, i1$3.NgForOf, i1$3.NgIf, MatIconButton,
|
|
6699
6695
|
MatIcon,
|
|
6700
6696
|
FormsModule, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgModel, MatProgressSpinner,
|
|
6701
|
-
MatTooltipModule, i2$
|
|
6697
|
+
MatTooltipModule, i2$1.MatTooltip, MatFormFieldModule, i9.MatFormField, i9.MatLabel, MatSelectModule, i4.MatSelect, i4.MatOption, FlexLayoutModule, i3.DefaultClassDirective, TranslateModule, i1$2.TranslatePipe], styles: [".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-20px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--base-100)!important;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{scale:1.2}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"] }); }
|
|
6702
6698
|
}
|
|
6703
6699
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextToSpeechComponent, [{
|
|
6704
6700
|
type: Component,
|
|
@@ -6821,7 +6817,7 @@ class LLMHelperService {
|
|
|
6821
6817
|
localStorage.setItem(this.LLMQuotaLocalStorageKey, JSON.stringify(trialQuota));
|
|
6822
6818
|
return trialQuota.remainingQuota;
|
|
6823
6819
|
}
|
|
6824
|
-
static { this.ɵfac = function LLMHelperService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMHelperService)(i0.ɵɵinject(i1$
|
|
6820
|
+
static { this.ɵfac = function LLMHelperService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMHelperService)(i0.ɵɵinject(i1$6.QuotaService)); }; }
|
|
6825
6821
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LLMHelperService, factory: LLMHelperService.ɵfac, providedIn: 'root' }); }
|
|
6826
6822
|
}
|
|
6827
6823
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMHelperService, [{
|
|
@@ -6829,7 +6825,7 @@ class LLMHelperService {
|
|
|
6829
6825
|
args: [{
|
|
6830
6826
|
providedIn: 'root'
|
|
6831
6827
|
}]
|
|
6832
|
-
}], () => [{ type: i1$
|
|
6828
|
+
}], () => [{ type: i1$6.QuotaService }], null); })();
|
|
6833
6829
|
|
|
6834
6830
|
const _c0$2 = ["textarea"];
|
|
6835
6831
|
class LLMTextareaComponent {
|
|
@@ -6871,7 +6867,7 @@ class LLMTextareaComponent {
|
|
|
6871
6867
|
this.destroy.next(null);
|
|
6872
6868
|
this.destroy.complete();
|
|
6873
6869
|
}
|
|
6874
|
-
static { this.ɵfac = function LLMTextareaComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaComponent)(i0.ɵɵdirectiveInject(i1$
|
|
6870
|
+
static { this.ɵfac = function LLMTextareaComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaComponent)(i0.ɵɵdirectiveInject(i1$7.Clipboard)); }; }
|
|
6875
6871
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMTextareaComponent, selectors: [["lib-llm-textarea"]], viewQuery: function LLMTextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
6876
6872
|
i0.ɵɵviewQuery(_c0$2, 5);
|
|
6877
6873
|
} if (rf & 2) {
|
|
@@ -6908,12 +6904,12 @@ class LLMTextareaComponent {
|
|
|
6908
6904
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(11, 9, "TOOLTIPS.DISLIKE"))("disabled", ctx.actionButtonsDisabled || !ctx.textareaControl.value);
|
|
6909
6905
|
i0.ɵɵadvance(4);
|
|
6910
6906
|
i0.ɵɵproperty("disabled", ctx.actionButtonsDisabled || !ctx.textareaControl.value)("matTooltip", i0.ɵɵpipeBind1(15, 11, "TOOLTIPS.COPY"));
|
|
6911
|
-
} }, dependencies: [
|
|
6907
|
+
} }, dependencies: [i1$1.MatIconButton, i1.MatIcon, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.FormControlDirective, i2$1.MatTooltip, i3.DefaultClassDirective, i1$2.TranslatePipe], styles: [".llm-wrapper[_ngcontent-%COMP%]{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper[_ngcontent-%COMP%]{position:relative}.llm-textarea[_ngcontent-%COMP%]{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop[_ngcontent-%COMP%] .llm-textarea[_ngcontent-%COMP%]{min-height:490px}.llm-textarea-actions[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip[_ngcontent-%COMP%]{margin-left:16px}"] }); }
|
|
6912
6908
|
}
|
|
6913
6909
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMTextareaComponent, [{
|
|
6914
6910
|
type: Component,
|
|
6915
6911
|
args: [{ selector: 'lib-llm-textarea', standalone: false, template: "<div [ngClass.gt-lg]=\"'desktop'\" class=\"llm-wrapper\">\r\n <div class=\"llm-textarea-wrapper\">\r\n <textarea\r\n #textarea\r\n class=\"llm-textarea\"\r\n [formControl]=\"textareaControl\"\r\n >\r\n </textarea>\r\n\r\n <div class=\"llm-textarea-actions\">\r\n <mat-icon [matTooltip]=\"'LLM.EU_DATA_TOOLTIP' | translate\" class=\"material-icons-outlined llm-eu-data-tooltip\"> gpp_maybe </mat-icon>\r\n\r\n <div>\r\n <button [matTooltip]=\"'TOOLTIPS.DISLIKE' | translate\" (click)=\"dislike()\" mat-icon-button [disabled]=\"actionButtonsDisabled || !textareaControl.value\">\r\n <mat-icon class=\"material-icons-outlined copy\"> thumb_down </mat-icon>\r\n </button>\r\n \r\n <button\r\n mat-icon-button\r\n [disabled]=\"actionButtonsDisabled || !textareaControl.value\"\r\n [matTooltip]=\"'TOOLTIPS.COPY' | translate\"\r\n (click)=\"copy()\"\r\n >\r\n <mat-icon class=\"material-icons-outlined dislike\"> content_copy </mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".llm-wrapper{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper{position:relative}.llm-textarea{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop .llm-textarea{min-height:490px}.llm-textarea-actions{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip{margin-left:16px}\n"] }]
|
|
6916
|
-
}], () => [{ type: i1$
|
|
6912
|
+
}], () => [{ type: i1$7.Clipboard }], { textarea: [{
|
|
6917
6913
|
type: ViewChild,
|
|
6918
6914
|
args: ['textarea']
|
|
6919
6915
|
}], text: [{
|
|
@@ -7187,7 +7183,7 @@ class LLMTextareaWithActionsComponent {
|
|
|
7187
7183
|
}
|
|
7188
7184
|
};
|
|
7189
7185
|
}
|
|
7190
|
-
static { this.ɵfac = function LLMTextareaWithActionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaWithActionsComponent)(i0.ɵɵdirectiveInject(i1$
|
|
7186
|
+
static { this.ɵfac = function LLMTextareaWithActionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaWithActionsComponent)(i0.ɵɵdirectiveInject(i1$6.LLMService), i0.ɵɵdirectiveInject(LLMHelperService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
7191
7187
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMTextareaWithActionsComponent, selectors: [["lib-llm-textarea-with-actions"]], standalone: false, decls: 20, vars: 22, consts: [["closeButton", ""], ["rephraseAction", ""], ["mat-dialog-title", ""], ["mat-dialog-content", ""], [3, "innerHTML"], [3, "message", "closeClicked", 4, "ngFor", "ngForOf"], ["color", "accent", "class", "w-full llm-writing-style-select", "appearance", "outline", 4, "ngIf"], [3, "textEditEvent", "copyEvent", "dislikeEvent", "text", "disabled", "actionButtonsDisabled"], ["mat-dialog-actions", "", 1, "llm-actions-wrapper"], ["class", "quota-left-message", 3, "innerHTML", 4, "ngIf"], [1, "llm-actions"], ["mat-button", "", "color", "accent", 3, "click", 4, "ngIf", "ngIfElse"], ["mat-flat-button", "", "color", "accent", 3, "click", "disabled"], [4, "ngIf", "ngIfElse"], ["color", "primary-accent-darker", 3, "diameter", 4, "ngIf"], [3, "closeClicked", "message"], ["color", "accent", "appearance", "outline", 1, "w-full", "llm-writing-style-select"], [3, "ngModelChange", "disabled", "ngModel"], [3, "value"], [1, "quota-left-message", 3, "innerHTML"], ["mat-button", "", "color", "accent", 3, "click"], ["mat-button", "", "color", "accent", 3, "mat-dialog-close"], ["color", "primary-accent-darker", 3, "diameter"]], template: function LLMTextareaWithActionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7192
7188
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7193
7189
|
i0.ɵɵelementStart(0, "h1", 2);
|
|
@@ -7235,12 +7231,12 @@ class LLMTextareaWithActionsComponent {
|
|
|
7235
7231
|
i0.ɵɵproperty("ngIf", ctx.llmActionType === ctx.llmActions.SUMMARY)("ngIfElse", rephraseAction_r9);
|
|
7236
7232
|
i0.ɵɵadvance(3);
|
|
7237
7233
|
i0.ɵɵproperty("ngIf", ctx.isLoading);
|
|
7238
|
-
} }, dependencies: [i1$
|
|
7234
|
+
} }, dependencies: [i1$3.NgForOf, i1$3.NgIf, i1$1.MatButton, i1$5.MatDialogClose, i1$5.MatDialogTitle, i1$5.MatDialogActions, i1$5.MatDialogContent, i4$1.NgControlStatus, i4$1.NgModel, i9.MatFormField, i9.MatLabel, i4.MatSelect, i4.MatOption, NotificationMessageComponent, i2$4.MatProgressSpinner, LLMTextareaComponent, i1$3.UpperCasePipe, i1$2.TranslatePipe], styles: [".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{margin:0 2.25rem 0 0!important;font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}[_nghost-%COMP%] .text-container{margin-right:0!important}[_nghost-%COMP%] tld-close-button{top:1px!important} .multiline-tooltip{white-space:pre;min-width:fit-content} .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}[_nghost-%COMP%] .llm-textarea{min-height:240px!important}[_nghost-%COMP%] .rephrase .llm-textarea{min-height:100px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:460px!important}[_nghost-%COMP%] .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select[_ngcontent-%COMP%]{margin-top:1.25rem}.llm-writing-style[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.w-full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner[_ngcontent-%COMP%]{margin-left:.5rem}.quota-left-message[_ngcontent-%COMP%]{margin-bottom:12px}"] }); }
|
|
7239
7235
|
}
|
|
7240
7236
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMTextareaWithActionsComponent, [{
|
|
7241
7237
|
type: Component,
|
|
7242
7238
|
args: [{ selector: 'lib-llm-textarea-with-actions', standalone: false, template: "<h1 mat-dialog-title>{{ localizationKey + \"TITLE\" | translate }}</h1>\r\n<div mat-dialog-content>\r\n <p [innerHTML]=\"localizationKey + 'DESCRIPTION' | translate\"></p>\r\n\r\n <lib-tld-notification-message *ngFor=\"let message of messages\" [message]=\"message\" (closeClicked)=\"closeMessage(message)\"></lib-tld-notification-message>\r\n\r\n <mat-form-field *ngIf=\"showUseCase\" color=\"accent\" class=\"w-full llm-writing-style-select\" appearance=\"outline\">\r\n <mat-label>{{ 'LLM.USE_CASES_LABEL' | translate }}</mat-label>\r\n <mat-select [disabled]=\"isLoading\" [(ngModel)]=\"selectedUseCase\">\r\n @for (useCase of useCases; track $index) {\r\n\r\n <mat-option [value]=\"useCase\">\r\n {{ 'LLM.USE_CASE.' + (useCase | uppercase) | translate }}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n\r\n\r\n <lib-llm-textarea [class.rephrase]=\"llmActionType === llmActions.REPHRASE\" [text]=\"editedText !== '' ? editedText : initialText\" [disabled]=\"isLoading || !quotaLeft\" [actionButtonsDisabled]=\"!isEdited\" (textEditEvent)=\"textEditEvent($event)\" (copyEvent)=\"copyPlausibleEvent()\" (dislikeEvent)=\"dislikePlausibleEvent()\"></lib-llm-textarea>\r\n</div>\r\n<div class=\"llm-actions-wrapper\" mat-dialog-actions>\r\n <div *ngIf=\"remainingQuotaMessageVisible\" class=\"quota-left-message\" [innerHTML]=\"localizationKey + 'LIMIT' | translate: { limit: quotaLeft, subscriptionUrl: subscriptionUrl }\"></div>\r\n\r\n <div [class.w-full]=\"!remainingQuotaMessageVisible\" class=\"llm-actions\">\r\n <button *ngIf=\"isLoading; else closeButton\" mat-button color=\"accent\" (click)=\"cancel()\">\r\n {{ localizationKey + \"CANCEL\" | translate }}\r\n </button>\r\n\r\n <ng-template #closeButton>\r\n <button mat-button color=\"accent\" [mat-dialog-close]=\"null\">\r\n {{ localizationKey + \"CLOSE\" | translate }}\r\n </button>\r\n </ng-template>\r\n\r\n <button\r\n mat-flat-button\r\n color=\"accent\"\r\n (click)=\"getEditedText()\"\r\n [disabled]=\"isDisabled\"\r\n >\r\n <span *ngIf=\"llmActionType === llmActions.SUMMARY; else rephraseAction\">\r\n {{\r\n (!isSummarized\r\n ? \"LLM.SUMMARY_MODAL.ACTION\"\r\n : \"LLM.SUMMARY_MODAL.REGENERATE\"\r\n ) | translate\r\n }}\r\n </span>\r\n\r\n <ng-template #rephraseAction>\r\n {{ localizationKey + \"ACTION\" | translate }}\r\n </ng-template>\r\n <mat-spinner *ngIf=\"isLoading\" [diameter]=\"20\" color=\"primary-accent-darker\"></mat-spinner>\r\n </button>\r\n </div>\r\n</div>\r\n", styles: [".info-icon{font-size:1rem;margin-left:5px}:host ::ng-deep .message-body{margin:0 2.25rem 0 0!important;font-size:14px}:host ::ng-deep .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}:host ::ng-deep .text-container{margin-right:0!important}:host ::ng-deep tld-close-button{top:1px!important}::ng-deep .multiline-tooltip{white-space:pre;min-width:fit-content}::ng-deep .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}:host ::ng-deep .llm-textarea{min-height:240px!important}:host ::ng-deep .rephrase .llm-textarea{min-height:100px!important}:host ::ng-deep .desktop .llm-textarea{min-height:460px!important}:host ::ng-deep .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select{margin-top:1.25rem}.llm-writing-style{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions{display:flex;justify-content:end}.w-full{width:100%}:host ::ng-deep .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner{margin-left:.5rem}.quota-left-message{margin-bottom:12px}\n"] }]
|
|
7243
|
-
}], () => [{ type: i1$
|
|
7239
|
+
}], () => [{ type: i1$6.LLMService }, { type: LLMHelperService }, { type: undefined, decorators: [{
|
|
7244
7240
|
type: Inject,
|
|
7245
7241
|
args: [MAT_DIALOG_DATA]
|
|
7246
7242
|
}] }], null); })();
|
|
@@ -7291,7 +7287,7 @@ class NewFeatureDialogComponent {
|
|
|
7291
7287
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(5, 5, ctx.data.description), i0.ɵɵsanitizeHtml);
|
|
7292
7288
|
i0.ɵɵadvance(4);
|
|
7293
7289
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 7, ctx.data.close), " ");
|
|
7294
|
-
} }, dependencies: [MatDialogModule, i1$
|
|
7290
|
+
} }, dependencies: [MatDialogModule, i1$5.MatDialogClose, i1$5.MatDialogTitle, i1$5.MatDialogActions, i1$5.MatDialogContent, MatButtonModule, i1$1.MatButton, TranslatePipe], styles: ["[_nghost-%COMP%] {display:inline-block;padding:12px 16px}[_nghost-%COMP%] .mat-mdc-dialog-title, [_nghost-%COMP%] mat-dialog-actions, [_nghost-%COMP%] mat-dialog-content{padding:0!important;margin:0!important}"] }); }
|
|
7295
7291
|
}
|
|
7296
7292
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NewFeatureDialogComponent, [{
|
|
7297
7293
|
type: Component,
|
|
@@ -7457,7 +7453,7 @@ class LLMSummaryComponent {
|
|
|
7457
7453
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 10, "LLM.SUMMARY"), "\n");
|
|
7458
7454
|
i0.ɵɵadvance(2);
|
|
7459
7455
|
i0.ɵɵproperty("titleLocalizationKey", "LLM.SUMMARY_NEW_FEATURE.TITLE")("descriptionLocalizationKey", "LLM.SUMMARY_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey", "LLM.SUMMARY_NEW_FEATURE.CLOSE")("featureClassName", "llm-summary")("featureLocalStorageKey", "summary" + ctx.newFeatureLocalStorageKey);
|
|
7460
|
-
} }, dependencies: [
|
|
7456
|
+
} }, dependencies: [i1$1.MatButton, i1.MatIcon, NewFeatureDialogWrapperComponent, i1$2.TranslatePipe], styles: [".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"] }); }
|
|
7461
7457
|
}
|
|
7462
7458
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMSummaryComponent, [{
|
|
7463
7459
|
type: Component,
|
|
@@ -7498,7 +7494,7 @@ class LLMRephraseComponent {
|
|
|
7498
7494
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 11, "LLM.REPHRASE"), "\n");
|
|
7499
7495
|
i0.ɵɵadvance(2);
|
|
7500
7496
|
i0.ɵɵproperty("titleLocalizationKey", "LLM.REPHRASE_NEW_FEATURE.TITLE")("descriptionLocalizationKey", "LLM.REPHRASE_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey", "LLM.REPHRASE_NEW_FEATURE.CLOSE")("featureClassName", "llm-rephrase")("featureLocalStorageKey", "rephrase" + ctx.newFeatureLocalStorageKey)("maxWidth", 400);
|
|
7501
|
-
} }, dependencies: [
|
|
7497
|
+
} }, dependencies: [i1$1.MatButton, i1.MatIcon, NewFeatureDialogWrapperComponent, i1$2.TranslatePipe], styles: [".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"] }); }
|
|
7502
7498
|
}
|
|
7503
7499
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMRephraseComponent, [{
|
|
7504
7500
|
type: Component,
|
|
@@ -7581,7 +7577,7 @@ class LLMComponent {
|
|
|
7581
7577
|
data
|
|
7582
7578
|
});
|
|
7583
7579
|
}
|
|
7584
|
-
static { this.ɵfac = function LLMComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMComponent)(i0.ɵɵdirectiveInject(i1$
|
|
7580
|
+
static { this.ɵfac = function LLMComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMComponent)(i0.ɵɵdirectiveInject(i1$5.MatDialog), i0.ɵɵdirectiveInject(IconService), i0.ɵɵdirectiveInject(LanguageTranslateService)); }; }
|
|
7585
7581
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMComponent, selectors: [["lib-llm"]], inputs: { text: "text", language: "language", rephrasableLanguagesCodeList: "rephrasableLanguagesCodeList", summaryEnabled: "summaryEnabled", rephraseEnabled: "rephraseEnabled", showUseCaseSummary: "showUseCaseSummary", showUseCaseRephrase: "showUseCaseRephrase", newFeatureLocalStorageKey: "newFeatureLocalStorageKey", rephraseUseCases: "rephraseUseCases", summaryUseCases: "summaryUseCases" }, outputs: { menuTriggerClick: "menuTriggerClick" }, standalone: false, decls: 3, vars: 2, consts: [[1, "llm-wrapper"], [3, "matTooltipPosition", "matTooltip", 4, "ngIf"], [3, "matTooltipPosition", "matTooltip"], [3, "openModalEvent", "isTextSummarizable", "newFeatureLocalStorageKey"], [3, "openModalEvent", "isTargetLanguageRephrasable", "newFeatureLocalStorageKey"]], template: function LLMComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7586
7582
|
i0.ɵɵelementStart(0, "div", 0);
|
|
7587
7583
|
i0.ɵɵtemplate(1, LLMComponent_div_1_Template, 3, 6, "div", 1)(2, LLMComponent_div_2_Template, 3, 6, "div", 1);
|
|
@@ -7591,12 +7587,12 @@ class LLMComponent {
|
|
|
7591
7587
|
i0.ɵɵproperty("ngIf", ctx.summaryEnabled);
|
|
7592
7588
|
i0.ɵɵadvance();
|
|
7593
7589
|
i0.ɵɵproperty("ngIf", ctx.rephraseEnabled);
|
|
7594
|
-
} }, dependencies: [i1$
|
|
7590
|
+
} }, dependencies: [i1$3.NgIf, i2$1.MatTooltip, LLMSummaryComponent, LLMRephraseComponent, i1$2.TranslatePipe], styles: [".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"] }); }
|
|
7595
7591
|
}
|
|
7596
7592
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMComponent, [{
|
|
7597
7593
|
type: Component,
|
|
7598
7594
|
args: [{ selector: 'lib-llm', standalone: false, template: "<div class=\"llm-wrapper\">\r\n\t<div *ngIf=\"summaryEnabled\" [matTooltipPosition]=\"'left'\" [matTooltip]=\"!isTextSummarizable ? ('LLM.MENU_SUMMARY_DISABLED_TOOLTIP' | translate) : ''\">\r\n\t\t<lib-llm-summary [isTextSummarizable]=\"!!isTextSummarizable\" [newFeatureLocalStorageKey]=\"newFeatureLocalStorageKey\" (openModalEvent)=\"openLLMModal($event)\"></lib-llm-summary>\r\n\t</div>\r\n\r\n\t<div *ngIf=\"rephraseEnabled\" [matTooltipPosition]=\"'left'\" [matTooltip]=\"!isTargetLanguageRephrasable ? ('LLM.MENU_REPHRASE_DISABLED_TOOLTIP' | translate) : ''\">\r\n\t\t<lib-llm-rephrase\r\n\t\t\t[isTargetLanguageRephrasable]=\"!!isTargetLanguageRephrasable\"\r\n\t\t\t[newFeatureLocalStorageKey]=\"newFeatureLocalStorageKey\"\r\n\t\t\t(openModalEvent)=\"openLLMModal($event)\"\r\n\t\t></lib-llm-rephrase>\r\n\t</div>\r\n</div>\r\n", styles: [".llm-wrapper{display:flex;gap:8px}\n"] }]
|
|
7599
|
-
}], () => [{ type: i1$
|
|
7595
|
+
}], () => [{ type: i1$5.MatDialog }, { type: IconService }, { type: LanguageTranslateService }], { text: [{
|
|
7600
7596
|
type: Input
|
|
7601
7597
|
}], language: [{
|
|
7602
7598
|
type: Input
|
|
@@ -7726,7 +7722,7 @@ class SidebarComponent {
|
|
|
7726
7722
|
i0.ɵɵclassProp("expanded", ctx.isOpen);
|
|
7727
7723
|
i0.ɵɵadvance();
|
|
7728
7724
|
i0.ɵɵproperty("ngTemplateOutlet", ctx.template);
|
|
7729
|
-
} }, dependencies: [CommonModule, i1$
|
|
7725
|
+
} }, dependencies: [CommonModule, i1$3.NgTemplateOutlet], styles: [".sidebar-wrapper[_ngcontent-%COMP%]{padding:0;max-height:100vh;height:100%;overflow-y:auto;width:0;border-left:2px solid var(--base-95);transition:width .2s ease}.sidebar-wrapper.expanded[_ngcontent-%COMP%]{width:300px;padding:28px 26px}@media (max-width: 640px){.sidebar-wrapper.expanded[_ngcontent-%COMP%]{position:absolute;right:0;top:0;width:100%;background-color:var(--base-100)}}"] }); }
|
|
7730
7726
|
}
|
|
7731
7727
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidebarComponent, [{
|
|
7732
7728
|
type: Component,
|
|
@@ -7812,7 +7808,7 @@ class ToastComponent {
|
|
|
7812
7808
|
} if (rf & 2) {
|
|
7813
7809
|
i0.ɵɵadvance();
|
|
7814
7810
|
i0.ɵɵrepeater(ctx.toasts);
|
|
7815
|
-
} }, dependencies: [CommonModule, MatIconModule, i1.MatIcon, MatButtonModule,
|
|
7811
|
+
} }, dependencies: [CommonModule, MatIconModule, i1.MatIcon, MatButtonModule, i1$1.MatIconButton, TranslateModule, i1$2.TranslatePipe], styles: [".toast-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;position:fixed;bottom:50px}.toast[_ngcontent-%COMP%]{max-width:fit-content;position:relative;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:400;min-width:350px;padding:4px 4px 4px 16px;letter-spacing:.25px;line-height:20px;border-radius:4px;box-shadow:0 1px 3px #0000004d;box-shadow:0 4px 8px 3px #00000026;color:#feedee;background-color:#382e2f;animation:_ngcontent-%COMP%_slide-in .5s forwards}.toast[_ngcontent-%COMP%]:not(:first-of-type){margin-top:10px}.fade-out[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fade-out .5s forwards}[_nghost-%COMP%] .mat-icon{color:#feedee}@keyframes _ngcontent-%COMP%_slide-in{0%{margin-bottom:-50px;opacity:0}to{margin-bottom:0;opacity:1}}@keyframes _ngcontent-%COMP%_fade-out{0%{opacity:1}to{opacity:0}}"] }); }
|
|
7816
7812
|
}
|
|
7817
7813
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToastComponent, [{
|
|
7818
7814
|
type: Component,
|
|
@@ -7975,7 +7971,7 @@ class SelectLanguageDialogComponent {
|
|
|
7975
7971
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 16, "SELECT_LANGUAGE.CANCEL"), " ");
|
|
7976
7972
|
i0.ɵɵadvance(3);
|
|
7977
7973
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(22, 18, "SELECT_LANGUAGE.SAVE"), " ");
|
|
7978
|
-
} }, dependencies: [MatDialogModule, i1$
|
|
7974
|
+
} }, dependencies: [MatDialogModule, i1$5.MatDialogClose, i1$5.MatDialogTitle, i1$5.MatDialogActions, i1$5.MatDialogContent, MatButtonModule, i1$1.MatButton, MatSelectModule, i9.MatFormField, i9.MatLabel, i4.MatSelect, i4.MatOption, FormsModule, i4$1.NgControlStatus, i4$1.NgModel, SortLanguageListPipe,
|
|
7979
7975
|
AsyncPipe,
|
|
7980
7976
|
TranslatePipe], styles: [".description[_ngcontent-%COMP%]{color:var(--base-40)}.w-full[_ngcontent-%COMP%]{width:100%}.mt-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}"] }); }
|
|
7981
7977
|
}
|
|
@@ -7995,12 +7991,24 @@ class SelectLanguageDialogComponent {
|
|
|
7995
7991
|
|
|
7996
7992
|
function GlobalMessageComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
7997
7993
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7998
|
-
i0.ɵɵelementStart(0, "button",
|
|
7994
|
+
i0.ɵɵelementStart(0, "button", 4);
|
|
7999
7995
|
i0.ɵɵlistener("click", function GlobalMessageComponent_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.close()); });
|
|
8000
7996
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
8001
7997
|
i0.ɵɵtext(2, "close");
|
|
8002
7998
|
i0.ɵɵelementEnd()();
|
|
8003
7999
|
} }
|
|
8000
|
+
function GlobalMessageComponent_For_5_Template(rf, ctx) { if (rf & 1) {
|
|
8001
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
8002
|
+
i0.ɵɵelementStart(0, "button", 5);
|
|
8003
|
+
i0.ɵɵlistener("click", function GlobalMessageComponent_For_5_Template_button_click_0_listener() { const action_r4 = i0.ɵɵrestoreView(_r3).$implicit; return i0.ɵɵresetView(action_r4.click()); });
|
|
8004
|
+
i0.ɵɵtext(1);
|
|
8005
|
+
i0.ɵɵpipe(2, "translate");
|
|
8006
|
+
i0.ɵɵelementEnd();
|
|
8007
|
+
} if (rf & 2) {
|
|
8008
|
+
const action_r4 = ctx.$implicit;
|
|
8009
|
+
i0.ɵɵadvance();
|
|
8010
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, action_r4.label));
|
|
8011
|
+
} }
|
|
8004
8012
|
class GlobalMessageComponent {
|
|
8005
8013
|
constructor() {
|
|
8006
8014
|
this.showCloseButton = true;
|
|
@@ -8010,30 +8018,35 @@ class GlobalMessageComponent {
|
|
|
8010
8018
|
this.closeClick.emit();
|
|
8011
8019
|
}
|
|
8012
8020
|
static { this.ɵfac = function GlobalMessageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GlobalMessageComponent)(); }; }
|
|
8013
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GlobalMessageComponent, selectors: [["lib-global-message"]], inputs: { text: "text", showCloseButton: "showCloseButton" }, outputs: { closeClick: "closeClick" }, decls:
|
|
8021
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GlobalMessageComponent, selectors: [["lib-global-message"]], inputs: { text: "text", showCloseButton: "showCloseButton", actions: "actions" }, outputs: { closeClick: "closeClick" }, decls: 6, vars: 4, consts: [[1, "tld-global-message"], [3, "innerHTML"], ["mat-icon-button", "", 1, "tld-global-message-close"], ["mat-stroked-button", "", "color", "accent", 1, "tld-global-message-action"], ["mat-icon-button", "", 1, "tld-global-message-close", 3, "click"], ["mat-stroked-button", "", "color", "accent", 1, "tld-global-message-action", 3, "click"]], template: function GlobalMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8014
8022
|
i0.ɵɵelementStart(0, "div", 0);
|
|
8015
8023
|
i0.ɵɵelement(1, "p", 1);
|
|
8016
8024
|
i0.ɵɵpipe(2, "translate");
|
|
8017
8025
|
i0.ɵɵconditionalCreate(3, GlobalMessageComponent_Conditional_3_Template, 3, 0, "button", 2);
|
|
8026
|
+
i0.ɵɵrepeaterCreate(4, GlobalMessageComponent_For_5_Template, 3, 3, "button", 3, i0.ɵɵrepeaterTrackByIndex);
|
|
8018
8027
|
i0.ɵɵelementEnd();
|
|
8019
8028
|
} if (rf & 2) {
|
|
8020
8029
|
i0.ɵɵadvance();
|
|
8021
8030
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx.text), i0.ɵɵsanitizeHtml);
|
|
8022
8031
|
i0.ɵɵadvance(2);
|
|
8023
8032
|
i0.ɵɵconditional(ctx.showCloseButton ? 3 : -1);
|
|
8024
|
-
|
|
8033
|
+
i0.ɵɵadvance();
|
|
8034
|
+
i0.ɵɵrepeater(ctx.actions);
|
|
8035
|
+
} }, dependencies: [CommonModule, TranslateModule, MatButtonModule, i1$1.MatButton, i1$1.MatIconButton, MatIconModule, i1.MatIcon, i1$2.TranslatePipe], styles: [".tld-global-message[_ngcontent-%COMP%]{position:relative;background-color:#ffdad6;display:flex;justify-content:center;align-items:center;width:100%;padding:22px}.tld-global-message-close[_ngcontent-%COMP%]{position:absolute;right:5px}.tld-global-message-action[_ngcontent-%COMP%]{margin-left:5px}"] }); }
|
|
8025
8036
|
}
|
|
8026
8037
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalMessageComponent, [{
|
|
8027
8038
|
type: Component,
|
|
8028
|
-
args: [{ selector: 'lib-global-message', imports: [CommonModule, TranslateModule, MatButtonModule, MatIconModule], template: "<div class=\"tld-global-message\">\r\n
|
|
8039
|
+
args: [{ selector: 'lib-global-message', imports: [CommonModule, TranslateModule, MatButtonModule, MatIconModule], template: "<div class=\"tld-global-message\">\r\n\t<p [innerHTML]=\"text | translate\"></p>\r\n\r\n\t@if (showCloseButton) {\r\n\t<button class=\"tld-global-message-close\" mat-icon-button (click)=\"close()\">\r\n\t\t<mat-icon>close</mat-icon>\r\n\t</button>\r\n\t} \r\n \r\n @for (action of actions; track $index) {\r\n\t <button class=\"tld-global-message-action\" mat-stroked-button color=\"accent\" (click)=\"action.click()\">{{ action.label | translate }}</button>\r\n\t}\r\n</div>\r\n", styles: [".tld-global-message{position:relative;background-color:#ffdad6;display:flex;justify-content:center;align-items:center;width:100%;padding:22px}.tld-global-message-close{position:absolute;right:5px}.tld-global-message-action{margin-left:5px}\n"] }]
|
|
8029
8040
|
}], null, { text: [{
|
|
8030
8041
|
type: Input
|
|
8031
8042
|
}], showCloseButton: [{
|
|
8032
8043
|
type: Input
|
|
8044
|
+
}], actions: [{
|
|
8045
|
+
type: Input
|
|
8033
8046
|
}], closeClick: [{
|
|
8034
8047
|
type: Output
|
|
8035
8048
|
}] }); })();
|
|
8036
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GlobalMessageComponent, { className: "GlobalMessageComponent", filePath: "lib/global-message/global-message.component.ts", lineNumber:
|
|
8049
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GlobalMessageComponent, { className: "GlobalMessageComponent", filePath: "lib/global-message/global-message.component.ts", lineNumber: 14 }); })();
|
|
8037
8050
|
|
|
8038
8051
|
var SUBSCRIPTION_STATE;
|
|
8039
8052
|
(function (SUBSCRIPTION_STATE) {
|
|
@@ -8424,9 +8437,9 @@ class SubscriptionComponent {
|
|
|
8424
8437
|
i0.ɵɵconditional(ctx.chargebeeSettings() ? 5 : -1);
|
|
8425
8438
|
i0.ɵɵadvance();
|
|
8426
8439
|
i0.ɵɵconditional(ctx.contactUsUrl() ? 6 : -1);
|
|
8427
|
-
} }, dependencies: [MatProgressBarModule, i2$
|
|
8428
|
-
MatButtonModule,
|
|
8429
|
-
DatePipe, i1$
|
|
8440
|
+
} }, dependencies: [MatProgressBarModule, i2$3.MatProgressBar, CommonModule,
|
|
8441
|
+
MatButtonModule, i1$1.MatButton, TranslatePipe,
|
|
8442
|
+
DatePipe, i1$3.UpperCasePipe], styles: ["[_nghost-%COMP%]{display:block}mat-card[_ngcontent-%COMP%]{margin:1.5rem}.subscription-container[_ngcontent-%COMP%]:not(.mobile){margin:16px 32px}.subscription-section-title[_ngcontent-%COMP%]{margin:32px 0 18px}.subscription-data-row[_ngcontent-%COMP%]{border-bottom:2px solid var(--base-70);margin-bottom:18px;flex-direction:row;display:flex}.subscription-data[_ngcontent-%COMP%]{color:var(--base-30);word-wrap:break-word;margin-left:.5rem}.subscription-limit-wrapper[_ngcontent-%COMP%], .subscription-limit[_ngcontent-%COMP%]{margin-top:16px}.subscription-actions-wrapper[_ngcontent-%COMP%]{padding:32px 0 18px;display:flex;flex-direction:row;gap:24px}.subscription-manage-link[_ngcontent-%COMP%]{text-decoration:none}.subscription-container[_ngcontent-%COMP%]:not(.mobile,.empty){width:75%}.subscription-label[_ngcontent-%COMP%]:not(.mobile,.empty){width:35%}.subscription-data[_ngcontent-%COMP%]:not(.mobile,.empty){width:65%}.untranslated-files-disclaimer[_ngcontent-%COMP%]{margin-top:16px;margin-bottom:10px;color:var(--base-40)}.no-subscription-message[_ngcontent-%COMP%]{margin-top:32px;color:var(--base-40)}.contact-sales-btn[_ngcontent-%COMP%]{text-align:center}.contact-sales-btn[_ngcontent-%COMP%]:hover{text-decoration:none}"] }); }
|
|
8430
8443
|
}
|
|
8431
8444
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscriptionComponent, [{
|
|
8432
8445
|
type: Component,
|