@tilde-nlp/ngx-common 8.1.16 → 8.1.18
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 +506 -195
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/index.d.ts +57 -41
- package/package.json +1 -1
- package/web-components/main.js +7 -7
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, EventEmitter, Component, Input, ViewChild, Output, NgModule, Optional, Inject, Pipe, inject, Directive, HostListener, HostBinding, ViewChildren, input, effect, ElementRef, ContentChild, ContentChildren, InjectionToken, signal, output, computed } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i2 from '@angular/material/icon';
|
|
4
4
|
import { MatIconModule, MatIcon } from '@angular/material/icon';
|
|
5
|
-
import * as i2 from '@angular/platform-browser';
|
|
5
|
+
import * as i2$1 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$1 from '@angular/common';
|
|
9
9
|
import { CommonModule, TitleCasePipe, AsyncPipe, DatePipe } from '@angular/common';
|
|
10
10
|
import { FlexLayoutModule } from '@ngbracket/ngx-layout';
|
|
11
|
-
import * as i2$
|
|
11
|
+
import * as i2$2 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 from '@ngx-translate/core';
|
|
16
16
|
import { TranslateModule, TranslateService, TranslatePipe } from '@ngx-translate/core';
|
|
17
|
-
import * as i2$
|
|
17
|
+
import * as i2$3 from '@angular/material/tooltip';
|
|
18
18
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
19
|
-
import * as i2$
|
|
19
|
+
import * as i2$4 from '@ngbracket/ngx-layout/flex';
|
|
20
20
|
import * as i3 from '@ngbracket/ngx-layout/extended';
|
|
21
|
-
import * as i1$
|
|
21
|
+
import * as i1$2 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$6 from '@angular/material/progress-spinner';
|
|
26
26
|
import { MatProgressSpinner, MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
27
|
-
import * as i1$
|
|
27
|
+
import * as i1$3 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$5 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$4 from '@tilde-nlp/ngx-services';
|
|
49
49
|
import { QuotaType, LLMRephraseUseCase, LLMSummaryUseCase } from '@tilde-nlp/ngx-services';
|
|
50
|
-
import * as i1$
|
|
50
|
+
import * as i1$5 from '@angular/cdk/clipboard';
|
|
51
51
|
import { ClipboardModule } from '@angular/cdk/clipboard';
|
|
52
52
|
import * as i3$1 from '@angular/material/tabs';
|
|
53
53
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
@@ -74,7 +74,7 @@ class IconService {
|
|
|
74
74
|
this.iconRegistry.addSvgIconSetInNamespace(namespace, this.sanitizer.bypassSecurityTrustResourceUrl(path)) :
|
|
75
75
|
this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(path));
|
|
76
76
|
}
|
|
77
|
-
static { this.ɵfac = function IconService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IconService)(i0.ɵɵinject(
|
|
77
|
+
static { this.ɵfac = function IconService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IconService)(i0.ɵɵinject(i2.MatIconRegistry), i0.ɵɵinject(i2$1.DomSanitizer)); }; }
|
|
78
78
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: IconService, factory: IconService.ɵfac, providedIn: 'root' }); }
|
|
79
79
|
}
|
|
80
80
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconService, [{
|
|
@@ -82,7 +82,7 @@ class IconService {
|
|
|
82
82
|
args: [{
|
|
83
83
|
providedIn: 'root'
|
|
84
84
|
}]
|
|
85
|
-
}], () => [{ type:
|
|
85
|
+
}], () => [{ type: i2.MatIconRegistry }, { type: i2$1.DomSanitizer }], null); })();
|
|
86
86
|
|
|
87
87
|
const _localStorage = typeof localStorage !== 'undefined' ? localStorage : null;
|
|
88
88
|
const _window = typeof window !== 'undefined' ? window : null;
|
|
@@ -132,7 +132,7 @@ class CloseButtonComponent {
|
|
|
132
132
|
} if (rf & 2) {
|
|
133
133
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(2, 3, ctx.tooltip))("disabled", ctx.disabled);
|
|
134
134
|
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(3, 5, "ARIA_LABELS." + ctx.ariaCode));
|
|
135
|
-
} }, dependencies: [i2$
|
|
135
|
+
} }, dependencies: [i2$2.MatIconButton, i2$3.MatTooltip, i1.TranslatePipe], encapsulation: 2 }); }
|
|
136
136
|
}
|
|
137
137
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CloseButtonComponent, [{
|
|
138
138
|
type: Component,
|
|
@@ -348,7 +348,7 @@ class NotificationMessageComponent {
|
|
|
348
348
|
i0.ɵɵproperty("ngIf", !ctx.message.hideClose && !ctx.message.callbackButtonText);
|
|
349
349
|
i0.ɵɵadvance();
|
|
350
350
|
i0.ɵɵproperty("ngIf", ctx.message.buttonText || ctx.message.linkHref || ctx.message.routerLink);
|
|
351
|
-
} }, dependencies: [i1$
|
|
351
|
+
} }, dependencies: [i1$1.NgIf, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutGapDirective, i2$4.DefaultLayoutAlignDirective, i2$4.DefaultFlexDirective, i3.DefaultClassDirective, CloseButtonComponent, i2$2.MatButton, i6.RouterLink, i2.MatIcon, i1.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%]{color:var(--base-30)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-95)}.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:1rem;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}"] }); }
|
|
352
352
|
}
|
|
353
353
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationMessageComponent, [{
|
|
354
354
|
type: Component,
|
|
@@ -1131,7 +1131,7 @@ class SystemApiService {
|
|
|
1131
1131
|
};
|
|
1132
1132
|
return systemBase;
|
|
1133
1133
|
}
|
|
1134
|
-
static { this.ɵfac = function SystemApiService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SystemApiService)(i0.ɵɵinject(i1$
|
|
1134
|
+
static { this.ɵfac = function SystemApiService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SystemApiService)(i0.ɵɵinject(i1$2.HttpClient), i0.ɵɵinject(TerminologyConfigService)); }; }
|
|
1135
1135
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SystemApiService, factory: SystemApiService.ɵfac, providedIn: "root" }); }
|
|
1136
1136
|
}
|
|
1137
1137
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SystemApiService, [{
|
|
@@ -1139,7 +1139,7 @@ class SystemApiService {
|
|
|
1139
1139
|
args: [{
|
|
1140
1140
|
providedIn: "root",
|
|
1141
1141
|
}]
|
|
1142
|
-
}], () => [{ type: i1$
|
|
1142
|
+
}], () => [{ type: i1$2.HttpClient }, { type: TerminologyConfigService }], null); })();
|
|
1143
1143
|
|
|
1144
1144
|
class SystemService {
|
|
1145
1145
|
constructor(api) {
|
|
@@ -1267,7 +1267,7 @@ class SortTranslationsPipe {
|
|
|
1267
1267
|
return 0;
|
|
1268
1268
|
});
|
|
1269
1269
|
}
|
|
1270
|
-
static { this.ɵfac = function SortTranslationsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsPipe)(i0.ɵɵdirectiveInject(i1
|
|
1270
|
+
static { this.ɵfac = function SortTranslationsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsPipe)(i0.ɵɵdirectiveInject(i1.TranslateService, 16)); }; }
|
|
1271
1271
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortTranslations", type: SortTranslationsPipe, pure: true, standalone: false }); }
|
|
1272
1272
|
}
|
|
1273
1273
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortTranslationsPipe, [{
|
|
@@ -1276,7 +1276,7 @@ class SortTranslationsPipe {
|
|
|
1276
1276
|
name: 'sortTranslations',
|
|
1277
1277
|
standalone: false
|
|
1278
1278
|
}]
|
|
1279
|
-
}], () => [{ type: i1
|
|
1279
|
+
}], () => [{ type: i1.TranslateService }], null); })();
|
|
1280
1280
|
|
|
1281
1281
|
class SortTranslationsModule {
|
|
1282
1282
|
static { this.ɵfac = function SortTranslationsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsModule)(); }; }
|
|
@@ -1327,7 +1327,7 @@ class SortTranslationsByPropertyPipe {
|
|
|
1327
1327
|
});
|
|
1328
1328
|
return values;
|
|
1329
1329
|
}
|
|
1330
|
-
static { this.ɵfac = function SortTranslationsByPropertyPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsByPropertyPipe)(i0.ɵɵdirectiveInject(i1
|
|
1330
|
+
static { this.ɵfac = function SortTranslationsByPropertyPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsByPropertyPipe)(i0.ɵɵdirectiveInject(i1.TranslateService, 16)); }; }
|
|
1331
1331
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortTranslationsByProperty", type: SortTranslationsByPropertyPipe, pure: true, standalone: false }); }
|
|
1332
1332
|
}
|
|
1333
1333
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortTranslationsByPropertyPipe, [{
|
|
@@ -1336,7 +1336,7 @@ class SortTranslationsByPropertyPipe {
|
|
|
1336
1336
|
name: 'sortTranslationsByProperty',
|
|
1337
1337
|
standalone: false
|
|
1338
1338
|
}]
|
|
1339
|
-
}], () => [{ type: i1
|
|
1339
|
+
}], () => [{ type: i1.TranslateService }], null); })();
|
|
1340
1340
|
|
|
1341
1341
|
class SortTranslationsByPropertyModule {
|
|
1342
1342
|
static { this.ɵfac = function SortTranslationsByPropertyModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortTranslationsByPropertyModule)(); }; }
|
|
@@ -1464,7 +1464,7 @@ class LanguageTranslatePipe {
|
|
|
1464
1464
|
capitalizeFirstLetter(text) {
|
|
1465
1465
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
1466
1466
|
}
|
|
1467
|
-
static { this.ɵfac = function LanguageTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslatePipe)(i0.ɵɵdirectiveInject(i1
|
|
1467
|
+
static { this.ɵfac = function LanguageTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslatePipe)(i0.ɵɵdirectiveInject(i1.TranslateService, 16)); }; }
|
|
1468
1468
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "languageTranslate", type: LanguageTranslatePipe, pure: false }); }
|
|
1469
1469
|
}
|
|
1470
1470
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageTranslatePipe, [{
|
|
@@ -1474,7 +1474,7 @@ class LanguageTranslatePipe {
|
|
|
1474
1474
|
pure: false,
|
|
1475
1475
|
standalone: true
|
|
1476
1476
|
}]
|
|
1477
|
-
}], () => [{ type: i1
|
|
1477
|
+
}], () => [{ type: i1.TranslateService }], null); })();
|
|
1478
1478
|
|
|
1479
1479
|
class LanguageTranslateModule {
|
|
1480
1480
|
static { this.ɵfac = function LanguageTranslateModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslateModule)(); }; }
|
|
@@ -1584,7 +1584,7 @@ class DateAgoPipe {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
return null;
|
|
1586
1586
|
}
|
|
1587
|
-
static { this.ɵfac = function DateAgoPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateAgoPipe)(i0.ɵɵdirectiveInject(i1
|
|
1587
|
+
static { this.ɵfac = function DateAgoPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateAgoPipe)(i0.ɵɵdirectiveInject(i1.TranslateService, 16), i0.ɵɵdirectiveInject(DateAgoSettingsToken, 24)); }; }
|
|
1588
1588
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "dateAgo", type: DateAgoPipe, pure: false, standalone: false }); }
|
|
1589
1589
|
}
|
|
1590
1590
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DateAgoPipe, [{
|
|
@@ -1594,7 +1594,7 @@ class DateAgoPipe {
|
|
|
1594
1594
|
pure: false,
|
|
1595
1595
|
standalone: false
|
|
1596
1596
|
}]
|
|
1597
|
-
}], () => [{ type: i1
|
|
1597
|
+
}], () => [{ type: i1.TranslateService }, { type: undefined, decorators: [{
|
|
1598
1598
|
type: Inject,
|
|
1599
1599
|
args: [DateAgoSettingsToken]
|
|
1600
1600
|
}, {
|
|
@@ -1745,7 +1745,7 @@ class SortLanguageListPipe {
|
|
|
1745
1745
|
languageCode = language;
|
|
1746
1746
|
}
|
|
1747
1747
|
return {
|
|
1748
|
-
value: language, translation: this.#languageTranslationService.getLanguageCodeTranslation(languageCode, false)
|
|
1748
|
+
...language, value: language, translation: this.#languageTranslationService.getLanguageCodeTranslation(languageCode, false)
|
|
1749
1749
|
};
|
|
1750
1750
|
})
|
|
1751
1751
|
.sort((a, b) => {
|
|
@@ -1780,7 +1780,7 @@ class DomainTranslatePipe {
|
|
|
1780
1780
|
const domains = this.translate.instant('DOMAINS');
|
|
1781
1781
|
return domains[domainLocalizationKey] ?? titleCasePipe.transform(value);
|
|
1782
1782
|
}
|
|
1783
|
-
static { this.ɵfac = function DomainTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DomainTranslatePipe)(i0.ɵɵdirectiveInject(i1
|
|
1783
|
+
static { this.ɵfac = function DomainTranslatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DomainTranslatePipe)(i0.ɵɵdirectiveInject(i1.TranslateService, 16)); }; }
|
|
1784
1784
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "domainTranslate", type: DomainTranslatePipe, pure: false }); }
|
|
1785
1785
|
}
|
|
1786
1786
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DomainTranslatePipe, [{
|
|
@@ -1790,7 +1790,7 @@ class DomainTranslatePipe {
|
|
|
1790
1790
|
standalone: true,
|
|
1791
1791
|
pure: false
|
|
1792
1792
|
}]
|
|
1793
|
-
}], () => [{ type: i1
|
|
1793
|
+
}], () => [{ type: i1.TranslateService }], null); })();
|
|
1794
1794
|
|
|
1795
1795
|
/**
|
|
1796
1796
|
* This is a custom pipe for sorting domains.
|
|
@@ -1828,7 +1828,7 @@ class SortDomainsPipe {
|
|
|
1828
1828
|
return (domains[nameA] ?? nameA).localeCompare(domains[nameB] ?? nameB);
|
|
1829
1829
|
});
|
|
1830
1830
|
}
|
|
1831
|
-
static { this.ɵfac = function SortDomainsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortDomainsPipe)(i0.ɵɵdirectiveInject(i1
|
|
1831
|
+
static { this.ɵfac = function SortDomainsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortDomainsPipe)(i0.ɵɵdirectiveInject(i1.TranslateService, 16)); }; }
|
|
1832
1832
|
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "sortDomains", type: SortDomainsPipe, pure: true }); }
|
|
1833
1833
|
}
|
|
1834
1834
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortDomainsPipe, [{
|
|
@@ -1837,7 +1837,7 @@ class SortDomainsPipe {
|
|
|
1837
1837
|
name: 'sortDomains',
|
|
1838
1838
|
standalone: true,
|
|
1839
1839
|
}]
|
|
1840
|
-
}], () => [{ type: i1
|
|
1840
|
+
}], () => [{ type: i1.TranslateService }], null); })();
|
|
1841
1841
|
|
|
1842
1842
|
class LanguageTranslateService {
|
|
1843
1843
|
constructor(translateService) {
|
|
@@ -1850,7 +1850,7 @@ class LanguageTranslateService {
|
|
|
1850
1850
|
removeRegionFromLanguageCode(code) {
|
|
1851
1851
|
return code.split('-')[0];
|
|
1852
1852
|
}
|
|
1853
|
-
static { this.ɵfac = function LanguageTranslateService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslateService)(i0.ɵɵinject(i1
|
|
1853
|
+
static { this.ɵfac = function LanguageTranslateService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageTranslateService)(i0.ɵɵinject(i1.TranslateService)); }; }
|
|
1854
1854
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LanguageTranslateService, factory: LanguageTranslateService.ɵfac, providedIn: 'root' }); }
|
|
1855
1855
|
}
|
|
1856
1856
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageTranslateService, [{
|
|
@@ -1858,7 +1858,7 @@ class LanguageTranslateService {
|
|
|
1858
1858
|
args: [{
|
|
1859
1859
|
providedIn: 'root',
|
|
1860
1860
|
}]
|
|
1861
|
-
}], () => [{ type: i1
|
|
1861
|
+
}], () => [{ type: i1.TranslateService }], null); })();
|
|
1862
1862
|
|
|
1863
1863
|
var Operations;
|
|
1864
1864
|
(function (Operations) {
|
|
@@ -1897,103 +1897,6 @@ class NotificationService {
|
|
|
1897
1897
|
}]
|
|
1898
1898
|
}], null, null); })();
|
|
1899
1899
|
|
|
1900
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
1901
|
-
class PlausibleHelper {
|
|
1902
|
-
/**
|
|
1903
|
-
* Adds plausible for selected domain and adds additional script for custom event (goal) triggering
|
|
1904
|
-
* @param domain domain that is registered in your plausible account
|
|
1905
|
-
* @returns
|
|
1906
|
-
*/
|
|
1907
|
-
static addPlausible(domain) {
|
|
1908
|
-
const domService = new DOMService();
|
|
1909
|
-
const windowObj = domService.window;
|
|
1910
|
-
if (!windowObj || !domain) {
|
|
1911
|
-
return;
|
|
1912
|
-
}
|
|
1913
|
-
const plausibleSrc = "https://plausible.io/js/plausible.js";
|
|
1914
|
-
const script = document.createElement("script");
|
|
1915
|
-
script.src = plausibleSrc;
|
|
1916
|
-
script.setAttribute("data-domain", domain);
|
|
1917
|
-
document.head.append(script);
|
|
1918
|
-
// Add plausible custom event functionality https://plausible.io/docs/custom-event-goals#code-example-for-tracking-link-clicks
|
|
1919
|
-
windowObj.plausible = windowObj.plausible || ((...params) => { (windowObj.plausible.q = windowObj.plausible.q || []).push(params); });
|
|
1920
|
-
}
|
|
1921
|
-
/**
|
|
1922
|
-
* Emits custom plausible event
|
|
1923
|
-
* @param id plausible event id that should be the same as registered in plausible
|
|
1924
|
-
* @param properties an object with custom properties for the event
|
|
1925
|
-
* @returns
|
|
1926
|
-
*/
|
|
1927
|
-
static customEvent(id, properties) {
|
|
1928
|
-
const windowObj = window;
|
|
1929
|
-
if (!windowObj?.plausible) {
|
|
1930
|
-
return;
|
|
1931
|
-
}
|
|
1932
|
-
windowObj.plausible(id, { props: properties });
|
|
1933
|
-
}
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
class PlausibleEventDirective {
|
|
1937
|
-
constructor() {
|
|
1938
|
-
this.id = "";
|
|
1939
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1940
|
-
this.properties = null;
|
|
1941
|
-
}
|
|
1942
|
-
/** Plausible event id. */
|
|
1943
|
-
set libPlausibleEvent(value) {
|
|
1944
|
-
if (!value) {
|
|
1945
|
-
return;
|
|
1946
|
-
}
|
|
1947
|
-
this.id = value.eventId;
|
|
1948
|
-
if (value.properties) {
|
|
1949
|
-
this.properties = {};
|
|
1950
|
-
value.properties.forEach(item => this.properties[item.key] = item.value);
|
|
1951
|
-
}
|
|
1952
|
-
}
|
|
1953
|
-
onClick() {
|
|
1954
|
-
if (this.id.length) {
|
|
1955
|
-
PlausibleHelper.customEvent(this.id, this.properties);
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
|
-
static { this.ɵfac = function PlausibleEventDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlausibleEventDirective)(); }; }
|
|
1959
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PlausibleEventDirective, selectors: [["", "libPlausibleEvent", ""]], hostBindings: function PlausibleEventDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
1960
|
-
i0.ɵɵlistener("click", function PlausibleEventDirective_click_HostBindingHandler() { return ctx.onClick(); });
|
|
1961
|
-
} }, inputs: { libPlausibleEvent: "libPlausibleEvent" }, standalone: false }); }
|
|
1962
|
-
}
|
|
1963
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlausibleEventDirective, [{
|
|
1964
|
-
type: Directive,
|
|
1965
|
-
args: [{
|
|
1966
|
-
selector: '[libPlausibleEvent]',
|
|
1967
|
-
standalone: false
|
|
1968
|
-
}]
|
|
1969
|
-
}], null, { libPlausibleEvent: [{
|
|
1970
|
-
type: Input
|
|
1971
|
-
}], onClick: [{
|
|
1972
|
-
type: HostListener,
|
|
1973
|
-
args: ["click"]
|
|
1974
|
-
}] }); })();
|
|
1975
|
-
|
|
1976
|
-
class PlausibleModule {
|
|
1977
|
-
static { this.ɵfac = function PlausibleModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlausibleModule)(); }; }
|
|
1978
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PlausibleModule }); }
|
|
1979
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] }); }
|
|
1980
|
-
}
|
|
1981
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlausibleModule, [{
|
|
1982
|
-
type: NgModule,
|
|
1983
|
-
args: [{
|
|
1984
|
-
declarations: [
|
|
1985
|
-
PlausibleEventDirective
|
|
1986
|
-
],
|
|
1987
|
-
imports: [
|
|
1988
|
-
CommonModule
|
|
1989
|
-
],
|
|
1990
|
-
exports: [
|
|
1991
|
-
PlausibleEventDirective
|
|
1992
|
-
]
|
|
1993
|
-
}]
|
|
1994
|
-
}], null, null); })();
|
|
1995
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PlausibleModule, { declarations: [PlausibleEventDirective], imports: [CommonModule], exports: [PlausibleEventDirective] }); })();
|
|
1996
|
-
|
|
1997
1900
|
var InlineMessageIconPosition;
|
|
1998
1901
|
(function (InlineMessageIconPosition) {
|
|
1999
1902
|
InlineMessageIconPosition[InlineMessageIconPosition["START"] = 0] = "START";
|
|
@@ -2053,7 +1956,7 @@ class InlineMessageComponent {
|
|
|
2053
1956
|
i0.ɵɵproperty("ngIf", ctx.iconName);
|
|
2054
1957
|
i0.ɵɵadvance();
|
|
2055
1958
|
i0.ɵɵproperty("ngIf", ctx.message);
|
|
2056
|
-
} }, dependencies: [i1$
|
|
1959
|
+
} }, dependencies: [i1$1.NgIf, i2$3.MatTooltip, i1.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}"] }); }
|
|
2057
1960
|
}
|
|
2058
1961
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InlineMessageComponent, [{
|
|
2059
1962
|
type: Component,
|
|
@@ -2278,7 +2181,7 @@ class MatButtonLoadingDirective {
|
|
|
2278
2181
|
this.spinner = null;
|
|
2279
2182
|
}
|
|
2280
2183
|
}
|
|
2281
|
-
static { this.ɵfac = function MatButtonLoadingDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MatButtonLoadingDirective)(i0.ɵɵdirectiveInject(i2$
|
|
2184
|
+
static { this.ɵfac = function MatButtonLoadingDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MatButtonLoadingDirective)(i0.ɵɵdirectiveInject(i2$2.MatButton), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
2282
2185
|
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 }); }
|
|
2283
2186
|
}
|
|
2284
2187
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MatButtonLoadingDirective, [{
|
|
@@ -2294,7 +2197,7 @@ class MatButtonLoadingDirective {
|
|
|
2294
2197
|
button[mat-flat-button][loading]`,
|
|
2295
2198
|
standalone: false
|
|
2296
2199
|
}]
|
|
2297
|
-
}], () => [{ type: i2$
|
|
2200
|
+
}], () => [{ type: i2$2.MatButton }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }], { loading: [{
|
|
2298
2201
|
type: Input
|
|
2299
2202
|
}] }); })();
|
|
2300
2203
|
|
|
@@ -2366,7 +2269,7 @@ class CompanyProductComponent {
|
|
|
2366
2269
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx.company), " ");
|
|
2367
2270
|
i0.ɵɵadvance(3);
|
|
2368
2271
|
i0.ɵɵtextInterpolate1(" ", ctx.product, " ");
|
|
2369
|
-
} }, dependencies: [i1$
|
|
2272
|
+
} }, dependencies: [i1$1.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}"] }); }
|
|
2370
2273
|
}
|
|
2371
2274
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyProductComponent, [{
|
|
2372
2275
|
type: Component,
|
|
@@ -2518,7 +2421,7 @@ class FooterComponent {
|
|
|
2518
2421
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(4, 3, "FOOTER.TITLE", i0.ɵɵpureFunction1(6, _c0$c, ctx.currentYear)), " ");
|
|
2519
2422
|
i0.ɵɵadvance(3);
|
|
2520
2423
|
i0.ɵɵproperty("ngIf", ctx.baseUrl)("ngIfElse", localRoutes_r2);
|
|
2521
|
-
} }, dependencies: [i1$
|
|
2424
|
+
} }, dependencies: [i1$1.NgIf, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutGapDirective, i2$4.DefaultLayoutAlignDirective, i2$4.DefaultFlexDirective, i6.RouterLink, i1.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}"] }); }
|
|
2522
2425
|
}
|
|
2523
2426
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterComponent, [{
|
|
2524
2427
|
type: Component,
|
|
@@ -2946,7 +2849,7 @@ class ExtensionDialogComponent {
|
|
|
2946
2849
|
i0.ɵɵproperty("ngClass.lt-md", "small-screen");
|
|
2947
2850
|
i0.ɵɵadvance();
|
|
2948
2851
|
i0.ɵɵproperty("ngForOf", ctx.config.elements);
|
|
2949
|
-
} }, dependencies: [i1$
|
|
2852
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogContent, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutAlignDirective, i3.DefaultClassDirective, i2.MatIcon, CloseButtonComponent, i1.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}"] }); }
|
|
2950
2853
|
}
|
|
2951
2854
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExtensionDialogComponent, [{
|
|
2952
2855
|
type: Component,
|
|
@@ -2965,7 +2868,7 @@ class ExtensionDialogService {
|
|
|
2965
2868
|
const data = { extensions };
|
|
2966
2869
|
this.dialog.open(ExtensionDialogComponent, { data, panelClass: 'responsive-dialog' });
|
|
2967
2870
|
}
|
|
2968
|
-
static { this.ɵfac = function ExtensionDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExtensionDialogService)(i0.ɵɵinject(i1$
|
|
2871
|
+
static { this.ɵfac = function ExtensionDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExtensionDialogService)(i0.ɵɵinject(i1$3.MatDialog)); }; }
|
|
2969
2872
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ExtensionDialogService, factory: ExtensionDialogService.ɵfac, providedIn: 'root' }); }
|
|
2970
2873
|
}
|
|
2971
2874
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExtensionDialogService, [{
|
|
@@ -2973,7 +2876,7 @@ class ExtensionDialogService {
|
|
|
2973
2876
|
args: [{
|
|
2974
2877
|
providedIn: 'root'
|
|
2975
2878
|
}]
|
|
2976
|
-
}], () => [{ type: i1$
|
|
2879
|
+
}], () => [{ type: i1$3.MatDialog }], null); })();
|
|
2977
2880
|
|
|
2978
2881
|
class OpenExtensionDialogComponent {
|
|
2979
2882
|
constructor(service) {
|
|
@@ -2993,7 +2896,7 @@ class OpenExtensionDialogComponent {
|
|
|
2993
2896
|
} if (rf & 2) {
|
|
2994
2897
|
i0.ɵɵadvance();
|
|
2995
2898
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "EXTENSION_POPUP.OPEN"), "\n");
|
|
2996
|
-
} }, dependencies: [i1
|
|
2899
|
+
} }, dependencies: [i1.TranslatePipe], styles: ["button.open-extension-popup[_ngcontent-%COMP%]{font-size:.875em}"] }); }
|
|
2997
2900
|
}
|
|
2998
2901
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenExtensionDialogComponent, [{
|
|
2999
2902
|
type: Component,
|
|
@@ -3247,7 +3150,7 @@ class FileUploadComponent {
|
|
|
3247
3150
|
i0.ɵɵproperty("ngIf", ctx.useCompactUpload)("ngIfElse", regularUpload_r9);
|
|
3248
3151
|
i0.ɵɵadvance(3);
|
|
3249
3152
|
i0.ɵɵproperty("accept", ctx.allowedExtensions)("multiple", ctx.multiple)("disabled", ctx.disabled);
|
|
3250
|
-
} }, dependencies: [i1$
|
|
3153
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2$5.MatProgressBar, i3.DefaultShowHideDirective, i3.DefaultClassDirective, i2$2.MatButton, DragAndDropDirective, i2.MatIcon, i1.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:1rem;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}"] }); }
|
|
3251
3154
|
}
|
|
3252
3155
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadComponent, [{
|
|
3253
3156
|
type: Component,
|
|
@@ -3687,7 +3590,7 @@ class FilterBarComponent {
|
|
|
3687
3590
|
this.emitFilters();
|
|
3688
3591
|
});
|
|
3689
3592
|
}
|
|
3690
|
-
static { this.ɵfac = function FilterBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FilterBarComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1
|
|
3593
|
+
static { this.ɵfac = function FilterBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FilterBarComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.TranslateService)); }; }
|
|
3691
3594
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FilterBarComponent, selectors: [["tld-filter-bar"]], viewQuery: function FilterBarComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3692
3595
|
i0.ɵɵviewQuery(_c0$a, 5);
|
|
3693
3596
|
i0.ɵɵviewQuery(_c1$4, 5);
|
|
@@ -3701,12 +3604,12 @@ class FilterBarComponent {
|
|
|
3701
3604
|
i0.ɵɵtemplate(0, FilterBarComponent_div_0_Template, 7, 3, "div", 5);
|
|
3702
3605
|
} if (rf & 2) {
|
|
3703
3606
|
i0.ɵɵproperty("ngIf", ctx.filterRowVisible);
|
|
3704
|
-
} }, dependencies: [i1$
|
|
3607
|
+
} }, dependencies: [i1$1.NgIf, i2$4.DefaultLayoutDirective, i4.MatSelect, i4.MatOption, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i2$2.MatButton, i2$2.MatIconButton, i2.MatIcon, i4$1.FormGroupDirective, i4$1.FormControlName, i1$1.TitleCasePipe, i1.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:.875rem;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:.875rem!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}"] }); }
|
|
3705
3608
|
}
|
|
3706
3609
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterBarComponent, [{
|
|
3707
3610
|
type: Component,
|
|
3708
3611
|
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:.875rem;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:.875rem!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"] }]
|
|
3709
|
-
}], () => [{ type: i0.ChangeDetectorRef }, { type: i1
|
|
3612
|
+
}], () => [{ type: i0.ChangeDetectorRef }, { type: i1.TranslateService }], { filterWrapper: [{
|
|
3710
3613
|
type: ViewChild,
|
|
3711
3614
|
args: ["filterWrapper"]
|
|
3712
3615
|
}], optionSearchInputs: [{
|
|
@@ -3843,7 +3746,7 @@ class StatusDisplayComponent {
|
|
|
3843
3746
|
const loading_r2 = i0.ɵɵreference(3);
|
|
3844
3747
|
i0.ɵɵadvance();
|
|
3845
3748
|
i0.ɵɵproperty("ngIf", !ctx.config.loading)("ngIfElse", loading_r2);
|
|
3846
|
-
} }, dependencies: [i1$
|
|
3749
|
+
} }, dependencies: [i1$1.NgIf, i2$6.MatProgressSpinner, i1.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}"] }); }
|
|
3847
3750
|
}
|
|
3848
3751
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StatusDisplayComponent, [{
|
|
3849
3752
|
type: Component,
|
|
@@ -4366,7 +4269,7 @@ class MultiFunctionalTableComponent {
|
|
|
4366
4269
|
this.paginator.pageIndex = pageIndex;
|
|
4367
4270
|
}
|
|
4368
4271
|
}
|
|
4369
|
-
static { this.ɵfac = function MultiFunctionalTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiFunctionalTableComponent)(i0.ɵɵdirectiveInject(DOMService), i0.ɵɵdirectiveInject(i1
|
|
4272
|
+
static { this.ɵfac = function MultiFunctionalTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultiFunctionalTableComponent)(i0.ɵɵdirectiveInject(DOMService), i0.ɵɵdirectiveInject(i1.TranslateService)); }; }
|
|
4370
4273
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultiFunctionalTableComponent, selectors: [["tld-multi-functional-table"]], contentQueries: function MultiFunctionalTableComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
4371
4274
|
i0.ɵɵcontentQuery(dirIndex, MatNoDataRow, 5);
|
|
4372
4275
|
i0.ɵɵcontentQuery(dirIndex, MatHeaderRowDef, 4);
|
|
@@ -4456,12 +4359,12 @@ class MultiFunctionalTableComponent {
|
|
|
4456
4359
|
i0.ɵɵproperty("ngForOf", ctx.configurableColumns);
|
|
4457
4360
|
i0.ɵɵadvance(3);
|
|
4458
4361
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(31, 20, "MULTI_FUNCTIONAL_TABLE.COLUMN_SELECT_SAVE"), " ");
|
|
4459
|
-
} }, dependencies: [i1$
|
|
4362
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.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, i2$2.MatButton, i2$2.MatIconButton, i6$1.MatMenu, i6$1.MatMenuTrigger, i7.MatCheckbox, i4$1.NgControlStatus, i4$1.NgModel, FilterBarComponent, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutGapDirective, i2$4.DefaultLayoutAlignDirective, i2$4.DefaultFlexDirective, i3.DefaultClassDirective, i2$3.MatTooltip, StatusDisplayComponent, i2.MatIcon, i15.MatPaginator, i1.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}"] }); }
|
|
4460
4363
|
}
|
|
4461
4364
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultiFunctionalTableComponent, [{
|
|
4462
4365
|
type: Component,
|
|
4463
4366
|
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"] }]
|
|
4464
|
-
}], () => [{ type: DOMService }, { type: i1
|
|
4367
|
+
}], () => [{ type: DOMService }, { type: i1.TranslateService }], { config: [{
|
|
4465
4368
|
type: Input
|
|
4466
4369
|
}], highlightedElements: [{
|
|
4467
4370
|
type: Input
|
|
@@ -4635,7 +4538,7 @@ class ConfirmationModalComponent {
|
|
|
4635
4538
|
this.data = data;
|
|
4636
4539
|
this.confirmation = Confirmation;
|
|
4637
4540
|
}
|
|
4638
|
-
static { this.ɵfac = function ConfirmationModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationModalComponent)(i0.ɵɵdirectiveInject(i1$
|
|
4541
|
+
static { this.ɵfac = function ConfirmationModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationModalComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
4639
4542
|
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) {
|
|
4640
4543
|
i0.ɵɵelementStart(0, "h1", 0);
|
|
4641
4544
|
i0.ɵɵtext(1);
|
|
@@ -4670,12 +4573,12 @@ class ConfirmationModalComponent {
|
|
|
4670
4573
|
i0.ɵɵproperty("mat-dialog-close", ctx.confirmation.PRIMARY);
|
|
4671
4574
|
i0.ɵɵadvance();
|
|
4672
4575
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, ctx.data.confirmationText), " ");
|
|
4673
|
-
} }, dependencies: [i1$
|
|
4576
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, i2$2.MatButton, i1.TranslatePipe], styles: [".confirmation-description[_ngcontent-%COMP%]{color:var(--base-40)}.confirmation-description[_ngcontent-%COMP%]{margin-top:4px}"] }); }
|
|
4674
4577
|
}
|
|
4675
4578
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationModalComponent, [{
|
|
4676
4579
|
type: Component,
|
|
4677
4580
|
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"] }]
|
|
4678
|
-
}], () => [{ type: i1$
|
|
4581
|
+
}], () => [{ type: i1$3.MatDialogRef }, { type: undefined, decorators: [{
|
|
4679
4582
|
type: Inject,
|
|
4680
4583
|
args: [MAT_DIALOG_DATA]
|
|
4681
4584
|
}] }], null); })();
|
|
@@ -4707,7 +4610,7 @@ class ConfirmationService {
|
|
|
4707
4610
|
});
|
|
4708
4611
|
return dialogRef.afterClosed();
|
|
4709
4612
|
}
|
|
4710
|
-
static { this.ɵfac = function ConfirmationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationService)(i0.ɵɵinject(i1$
|
|
4613
|
+
static { this.ɵfac = function ConfirmationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConfirmationService)(i0.ɵɵinject(i1$3.MatDialog)); }; }
|
|
4711
4614
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConfirmationService, factory: ConfirmationService.ɵfac, providedIn: 'root' }); }
|
|
4712
4615
|
}
|
|
4713
4616
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmationService, [{
|
|
@@ -4715,7 +4618,7 @@ class ConfirmationService {
|
|
|
4715
4618
|
args: [{
|
|
4716
4619
|
providedIn: 'root'
|
|
4717
4620
|
}]
|
|
4718
|
-
}], () => [{ type: i1$
|
|
4621
|
+
}], () => [{ type: i1$3.MatDialog }], null); })();
|
|
4719
4622
|
|
|
4720
4623
|
const OPEN_CLOSE_BTN_ICONS_TOKEN = 'OPEN_CLOSE_BTN_ICONS_TOKEN';
|
|
4721
4624
|
|
|
@@ -4798,7 +4701,7 @@ class OpenCloseButtonComponent {
|
|
|
4798
4701
|
i0.ɵɵproperty("ngIf", !ctx.isIcon);
|
|
4799
4702
|
i0.ɵɵadvance();
|
|
4800
4703
|
i0.ɵɵproperty("ngIf", ctx.isIcon);
|
|
4801
|
-
} }, dependencies: [i1$
|
|
4704
|
+
} }, dependencies: [i1$1.NgIf, i2$2.MatButton, i2$2.MatIconButton, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutAlignDirective, i3.DefaultClassDirective, i1.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)}"] }); }
|
|
4802
4705
|
}
|
|
4803
4706
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenCloseButtonComponent, [{
|
|
4804
4707
|
type: Component,
|
|
@@ -5106,7 +5009,7 @@ class TerminologyCollectionService {
|
|
|
5106
5009
|
collection.modifyDate = new Date(collection.modifyDate.toString() + "Z");
|
|
5107
5010
|
return new CombinedCollection(collection, null);
|
|
5108
5011
|
}
|
|
5109
|
-
static { this.ɵfac = function TerminologyCollectionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCollectionService)(i0.ɵɵinject(TerminologyConfigService), i0.ɵɵinject(i1$
|
|
5012
|
+
static { this.ɵfac = function TerminologyCollectionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCollectionService)(i0.ɵɵinject(TerminologyConfigService), i0.ɵɵinject(i1$2.HttpClient)); }; }
|
|
5110
5013
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TerminologyCollectionService, factory: TerminologyCollectionService.ɵfac, providedIn: "root" }); }
|
|
5111
5014
|
}
|
|
5112
5015
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionService, [{
|
|
@@ -5114,7 +5017,7 @@ class TerminologyCollectionService {
|
|
|
5114
5017
|
args: [{
|
|
5115
5018
|
providedIn: "root",
|
|
5116
5019
|
}]
|
|
5117
|
-
}], () => [{ type: TerminologyConfigService }, { type: i1$
|
|
5020
|
+
}], () => [{ type: TerminologyConfigService }, { type: i1$2.HttpClient }], null); })();
|
|
5118
5021
|
|
|
5119
5022
|
class EngineTermApiService {
|
|
5120
5023
|
constructor(http, config) {
|
|
@@ -5149,7 +5052,7 @@ class EngineTermApiService {
|
|
|
5149
5052
|
sync(engineId, collectionId) {
|
|
5150
5053
|
return this.http.post(`${this.baseUrl}/${engineId}/terms/${collectionId}/sync`, {});
|
|
5151
5054
|
}
|
|
5152
|
-
static { this.ɵfac = function EngineTermApiService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EngineTermApiService)(i0.ɵɵinject(i1$
|
|
5055
|
+
static { this.ɵfac = function EngineTermApiService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EngineTermApiService)(i0.ɵɵinject(i1$2.HttpClient), i0.ɵɵinject(TerminologyConfigService)); }; }
|
|
5153
5056
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EngineTermApiService, factory: EngineTermApiService.ɵfac, providedIn: 'root' }); }
|
|
5154
5057
|
}
|
|
5155
5058
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EngineTermApiService, [{
|
|
@@ -5157,7 +5060,7 @@ class EngineTermApiService {
|
|
|
5157
5060
|
args: [{
|
|
5158
5061
|
providedIn: 'root'
|
|
5159
5062
|
}]
|
|
5160
|
-
}], () => [{ type: i1$
|
|
5063
|
+
}], () => [{ type: i1$2.HttpClient }, { type: TerminologyConfigService }], null); })();
|
|
5161
5064
|
|
|
5162
5065
|
class TerminologyApiService {
|
|
5163
5066
|
constructor(config, engineTermApi) {
|
|
@@ -5798,7 +5701,7 @@ class TerminologyCollectionCardComponent {
|
|
|
5798
5701
|
i0.ɵɵtemplate(0, TerminologyCollectionCardComponent_ng_container_0_Template, 17, 16, "ng-container", 1);
|
|
5799
5702
|
} if (rf & 2) {
|
|
5800
5703
|
i0.ɵɵproperty("ngIf", ctx.collection);
|
|
5801
|
-
} }, dependencies: [i1$
|
|
5704
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutGapDirective, i2$4.DefaultLayoutAlignDirective, i2$4.DefaultFlexDirective, i2$2.MatButton, i2$2.MatIconButton, i2.MatIcon, i2$6.MatProgressSpinner, i5.MatRadioButton, i2$3.MatTooltip, i1$1.UpperCasePipe, i1.TranslatePipe, DateAgoPipe], styles: [".collection-languages[_ngcontent-%COMP%]{display:flex;gap:2px}.collection-languages[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.75rem;border-radius:100px;padding-right:8px;padding-left:8px;color:var(--base-40);background-color:var(--base-70)}"] }); }
|
|
5802
5705
|
}
|
|
5803
5706
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionCardComponent, [{
|
|
5804
5707
|
type: Component,
|
|
@@ -5964,7 +5867,7 @@ class TerminologyCollectionListComponent {
|
|
|
5964
5867
|
i0.ɵɵproperty("ngIf", !ctx.hasAnyCollections);
|
|
5965
5868
|
i0.ɵɵadvance();
|
|
5966
5869
|
i0.ɵɵproperty("ngIf", ctx.hasAnyCollections);
|
|
5967
|
-
} }, dependencies: [i1$
|
|
5870
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutAlignDirective, i5.MatRadioGroup, i5.MatRadioButton, TerminologyCollectionCardComponent, i1.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:.625rem;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}"] }); }
|
|
5968
5871
|
}
|
|
5969
5872
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCollectionListComponent, [{
|
|
5970
5873
|
type: Component,
|
|
@@ -6026,7 +5929,7 @@ class TerminologyCreateCollectionDialogComponent {
|
|
|
6026
5929
|
ngOnDestroy() {
|
|
6027
5930
|
this.subscription.unsubscribe();
|
|
6028
5931
|
}
|
|
6029
|
-
static { this.ɵfac = function TerminologyCreateCollectionDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionDialogComponent)(i0.ɵɵdirectiveInject(i1$
|
|
5932
|
+
static { this.ɵfac = function TerminologyCreateCollectionDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialogRef), i0.ɵɵdirectiveInject(TerminologyConfigService), i0.ɵɵdirectiveInject(i1.TranslateService), i0.ɵɵdirectiveInject(i4$1.FormBuilder), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
6030
5933
|
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) {
|
|
6031
5934
|
i0.ɵɵelementStart(0, "h1", 0);
|
|
6032
5935
|
i0.ɵɵtext(1);
|
|
@@ -6075,12 +5978,12 @@ class TerminologyCreateCollectionDialogComponent {
|
|
|
6075
5978
|
i0.ɵɵproperty("disabled", ctx.form.invalid);
|
|
6076
5979
|
i0.ɵɵadvance();
|
|
6077
5980
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 20, "TERM_COLLECTIONS.CREATE_DIALOG.CREATE"));
|
|
6078
|
-
} }, dependencies: [i1$
|
|
5981
|
+
} }, dependencies: [i1$1.NgIf, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutAlignDirective, i4$1.ɵNgNoValidate, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgControlStatusGroup, i4$1.FormGroupDirective, i4$1.FormControlName, CloseButtonComponent, i2$2.MatButton, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, i9.MatInput, i9.MatFormField, i9.MatLabel, i9.MatError, i1.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}"] }); }
|
|
6079
5982
|
}
|
|
6080
5983
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCreateCollectionDialogComponent, [{
|
|
6081
5984
|
type: Component,
|
|
6082
5985
|
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"] }]
|
|
6083
|
-
}], () => [{ type: i1$
|
|
5986
|
+
}], () => [{ type: i1$3.MatDialogRef }, { type: TerminologyConfigService }, { type: i1.TranslateService }, { type: i4$1.FormBuilder }, { type: undefined, decorators: [{
|
|
6084
5987
|
type: Inject,
|
|
6085
5988
|
args: [MAT_DIALOG_DATA]
|
|
6086
5989
|
}] }], null); })();
|
|
@@ -6131,17 +6034,17 @@ class TerminologyCreateCollectionComponent {
|
|
|
6131
6034
|
});
|
|
6132
6035
|
});
|
|
6133
6036
|
}
|
|
6134
|
-
static { this.ɵfac = function TerminologyCreateCollectionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionComponent)(i0.ɵɵdirectiveInject(i1
|
|
6037
|
+
static { this.ɵfac = function TerminologyCreateCollectionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TerminologyCreateCollectionComponent)(i0.ɵɵdirectiveInject(i1.TranslateService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(TerminologyService)); }; }
|
|
6135
6038
|
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) {
|
|
6136
6039
|
i0.ɵɵtemplate(0, TerminologyCreateCollectionComponent_button_0_Template, 3, 3, "button", 0);
|
|
6137
6040
|
} if (rf & 2) {
|
|
6138
6041
|
i0.ɵɵproperty("ngIf", ctx.canCreateCollections);
|
|
6139
|
-
} }, dependencies: [i1$
|
|
6042
|
+
} }, dependencies: [i1$1.NgIf, i2$2.MatButton, i1.TranslatePipe], styles: [".term-create-btn[_ngcontent-%COMP%]{white-space:nowrap}"] }); }
|
|
6140
6043
|
}
|
|
6141
6044
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyCreateCollectionComponent, [{
|
|
6142
6045
|
type: Component,
|
|
6143
6046
|
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"] }]
|
|
6144
|
-
}], () => [{ type: i1
|
|
6047
|
+
}], () => [{ type: i1.TranslateService }, { type: i1$3.MatDialog }, { type: TerminologyService }], { sourceLanguageCode: [{
|
|
6145
6048
|
type: Input
|
|
6146
6049
|
}], targetLanguageCode: [{
|
|
6147
6050
|
type: Input
|
|
@@ -6274,7 +6177,7 @@ class TerminologyPanelComponent {
|
|
|
6274
6177
|
const emptyView_r4 = i0.ɵɵreference(3);
|
|
6275
6178
|
i0.ɵɵadvance();
|
|
6276
6179
|
i0.ɵɵproperty("ngIf", ctx.showGlossaryList)("ngIfElse", emptyView_r4);
|
|
6277
|
-
} }, dependencies: [i1$
|
|
6180
|
+
} }, dependencies: [i1$1.NgIf, i2$4.DefaultLayoutDirective, i2$4.DefaultLayoutGapDirective, i2$4.DefaultLayoutAlignDirective, TerminologyCreateCollectionComponent, TerminologyCollectionListComponent, i1.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}"] }); }
|
|
6278
6181
|
}
|
|
6279
6182
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyPanelComponent, [{
|
|
6280
6183
|
type: Component,
|
|
@@ -6508,7 +6411,7 @@ class TerminologyComponent {
|
|
|
6508
6411
|
i0.ɵɵproperty("ngIf", !ctx.hideGlossaryMenuWithoutCollections || ctx.hideGlossaryMenuWithoutCollections && ctx.hasAnyCollections);
|
|
6509
6412
|
i0.ɵɵadvance(5);
|
|
6510
6413
|
i0.ɵɵproperty("system", ctx.system)("selectedCollection", ctx.selected)("setSelectedFromLocalStorage", ctx.setSelectedFromLocalStorage);
|
|
6511
|
-
} }, dependencies: [i1$
|
|
6414
|
+
} }, dependencies: [i1$1.NgIf, OpenCloseButtonComponent, i2$4.DefaultLayoutGapDirective, i2$4.DefaultLayoutAlignDirective, i3.DefaultShowHideDirective, i3.DefaultClassDirective, CloseButtonComponent, i2$2.MatIconButton, i2.MatIcon, i2$6.MatProgressSpinner, i6$1.MatMenu, i6$1.MatMenuTrigger, i2$3.MatTooltip, TerminologyPanelComponent, i1.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}"] }); }
|
|
6512
6415
|
}
|
|
6513
6416
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TerminologyComponent, [{
|
|
6514
6417
|
type: Component,
|
|
@@ -6748,10 +6651,10 @@ class TextToSpeechComponent {
|
|
|
6748
6651
|
i0.ɵɵproperty("ngIf", !ctx.isLoading);
|
|
6749
6652
|
i0.ɵɵadvance();
|
|
6750
6653
|
i0.ɵɵproperty("ngIf", ctx.isLoading);
|
|
6751
|
-
} }, dependencies: [CommonModule, i1$
|
|
6654
|
+
} }, dependencies: [CommonModule, i1$1.NgForOf, i1$1.NgIf, MatIconButton,
|
|
6752
6655
|
MatIcon,
|
|
6753
6656
|
FormsModule, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.NgModel, MatProgressSpinner,
|
|
6754
|
-
MatTooltipModule, i2$
|
|
6657
|
+
MatTooltipModule, i2$3.MatTooltip, MatFormFieldModule, i9.MatFormField, i9.MatLabel, MatSelectModule, i4.MatSelect, i4.MatOption, FlexLayoutModule, i3.DefaultClassDirective, TranslateModule, i1.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:.8125rem;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"] }); }
|
|
6755
6658
|
}
|
|
6756
6659
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextToSpeechComponent, [{
|
|
6757
6660
|
type: Component,
|
|
@@ -6780,6 +6683,103 @@ var LLMActions;
|
|
|
6780
6683
|
LLMActions["REPHRASE"] = "REPHRASE";
|
|
6781
6684
|
})(LLMActions || (LLMActions = {}));
|
|
6782
6685
|
|
|
6686
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
6687
|
+
class PlausibleHelper {
|
|
6688
|
+
/**
|
|
6689
|
+
* Adds plausible for selected domain and adds additional script for custom event (goal) triggering
|
|
6690
|
+
* @param domain domain that is registered in your plausible account
|
|
6691
|
+
* @returns
|
|
6692
|
+
*/
|
|
6693
|
+
static addPlausible(domain) {
|
|
6694
|
+
const domService = new DOMService();
|
|
6695
|
+
const windowObj = domService.window;
|
|
6696
|
+
if (!windowObj || !domain) {
|
|
6697
|
+
return;
|
|
6698
|
+
}
|
|
6699
|
+
const plausibleSrc = "https://plausible.io/js/plausible.js";
|
|
6700
|
+
const script = document.createElement("script");
|
|
6701
|
+
script.src = plausibleSrc;
|
|
6702
|
+
script.setAttribute("data-domain", domain);
|
|
6703
|
+
document.head.append(script);
|
|
6704
|
+
// Add plausible custom event functionality https://plausible.io/docs/custom-event-goals#code-example-for-tracking-link-clicks
|
|
6705
|
+
windowObj.plausible = windowObj.plausible || ((...params) => { (windowObj.plausible.q = windowObj.plausible.q || []).push(params); });
|
|
6706
|
+
}
|
|
6707
|
+
/**
|
|
6708
|
+
* Emits custom plausible event
|
|
6709
|
+
* @param id plausible event id that should be the same as registered in plausible
|
|
6710
|
+
* @param properties an object with custom properties for the event
|
|
6711
|
+
* @returns
|
|
6712
|
+
*/
|
|
6713
|
+
static customEvent(id, properties) {
|
|
6714
|
+
const windowObj = window;
|
|
6715
|
+
if (!windowObj?.plausible) {
|
|
6716
|
+
return;
|
|
6717
|
+
}
|
|
6718
|
+
windowObj.plausible(id, { props: properties });
|
|
6719
|
+
}
|
|
6720
|
+
}
|
|
6721
|
+
|
|
6722
|
+
class PlausibleEventDirective {
|
|
6723
|
+
constructor() {
|
|
6724
|
+
this.id = "";
|
|
6725
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6726
|
+
this.properties = null;
|
|
6727
|
+
}
|
|
6728
|
+
/** Plausible event id. */
|
|
6729
|
+
set libPlausibleEvent(value) {
|
|
6730
|
+
if (!value) {
|
|
6731
|
+
return;
|
|
6732
|
+
}
|
|
6733
|
+
this.id = value.eventId;
|
|
6734
|
+
if (value.properties) {
|
|
6735
|
+
this.properties = {};
|
|
6736
|
+
value.properties.forEach(item => this.properties[item.key] = item.value);
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
onClick() {
|
|
6740
|
+
if (this.id.length) {
|
|
6741
|
+
PlausibleHelper.customEvent(this.id, this.properties);
|
|
6742
|
+
}
|
|
6743
|
+
}
|
|
6744
|
+
static { this.ɵfac = function PlausibleEventDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlausibleEventDirective)(); }; }
|
|
6745
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PlausibleEventDirective, selectors: [["", "libPlausibleEvent", ""]], hostBindings: function PlausibleEventDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
6746
|
+
i0.ɵɵlistener("click", function PlausibleEventDirective_click_HostBindingHandler() { return ctx.onClick(); });
|
|
6747
|
+
} }, inputs: { libPlausibleEvent: "libPlausibleEvent" }, standalone: false }); }
|
|
6748
|
+
}
|
|
6749
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlausibleEventDirective, [{
|
|
6750
|
+
type: Directive,
|
|
6751
|
+
args: [{
|
|
6752
|
+
selector: '[libPlausibleEvent]',
|
|
6753
|
+
standalone: false
|
|
6754
|
+
}]
|
|
6755
|
+
}], null, { libPlausibleEvent: [{
|
|
6756
|
+
type: Input
|
|
6757
|
+
}], onClick: [{
|
|
6758
|
+
type: HostListener,
|
|
6759
|
+
args: ["click"]
|
|
6760
|
+
}] }); })();
|
|
6761
|
+
|
|
6762
|
+
class PlausibleModule {
|
|
6763
|
+
static { this.ɵfac = function PlausibleModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlausibleModule)(); }; }
|
|
6764
|
+
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PlausibleModule }); }
|
|
6765
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] }); }
|
|
6766
|
+
}
|
|
6767
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlausibleModule, [{
|
|
6768
|
+
type: NgModule,
|
|
6769
|
+
args: [{
|
|
6770
|
+
declarations: [
|
|
6771
|
+
PlausibleEventDirective
|
|
6772
|
+
],
|
|
6773
|
+
imports: [
|
|
6774
|
+
CommonModule
|
|
6775
|
+
],
|
|
6776
|
+
exports: [
|
|
6777
|
+
PlausibleEventDirective
|
|
6778
|
+
]
|
|
6779
|
+
}]
|
|
6780
|
+
}], null, null); })();
|
|
6781
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PlausibleModule, { declarations: [PlausibleEventDirective], imports: [CommonModule], exports: [PlausibleEventDirective] }); })();
|
|
6782
|
+
|
|
6783
6783
|
var LLMWritingStyle;
|
|
6784
6784
|
(function (LLMWritingStyle) {
|
|
6785
6785
|
LLMWritingStyle["GENERAL"] = "General";
|
|
@@ -6874,7 +6874,7 @@ class LLMHelperService {
|
|
|
6874
6874
|
localStorage.setItem(this.LLMQuotaLocalStorageKey, JSON.stringify(trialQuota));
|
|
6875
6875
|
return trialQuota.remainingQuota;
|
|
6876
6876
|
}
|
|
6877
|
-
static { this.ɵfac = function LLMHelperService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMHelperService)(i0.ɵɵinject(i1$
|
|
6877
|
+
static { this.ɵfac = function LLMHelperService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMHelperService)(i0.ɵɵinject(i1$4.QuotaService)); }; }
|
|
6878
6878
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LLMHelperService, factory: LLMHelperService.ɵfac, providedIn: 'root' }); }
|
|
6879
6879
|
}
|
|
6880
6880
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMHelperService, [{
|
|
@@ -6882,7 +6882,7 @@ class LLMHelperService {
|
|
|
6882
6882
|
args: [{
|
|
6883
6883
|
providedIn: 'root'
|
|
6884
6884
|
}]
|
|
6885
|
-
}], () => [{ type: i1$
|
|
6885
|
+
}], () => [{ type: i1$4.QuotaService }], null); })();
|
|
6886
6886
|
|
|
6887
6887
|
const _c0$2 = ["textarea"];
|
|
6888
6888
|
class LLMTextareaComponent {
|
|
@@ -6924,7 +6924,7 @@ class LLMTextareaComponent {
|
|
|
6924
6924
|
this.destroy.next(null);
|
|
6925
6925
|
this.destroy.complete();
|
|
6926
6926
|
}
|
|
6927
|
-
static { this.ɵfac = function LLMTextareaComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaComponent)(i0.ɵɵdirectiveInject(i1$
|
|
6927
|
+
static { this.ɵfac = function LLMTextareaComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaComponent)(i0.ɵɵdirectiveInject(i1$5.Clipboard)); }; }
|
|
6928
6928
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LLMTextareaComponent, selectors: [["lib-llm-textarea"]], viewQuery: function LLMTextareaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
6929
6929
|
i0.ɵɵviewQuery(_c0$2, 5);
|
|
6930
6930
|
} if (rf & 2) {
|
|
@@ -6961,12 +6961,12 @@ class LLMTextareaComponent {
|
|
|
6961
6961
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(11, 9, "TOOLTIPS.DISLIKE"))("disabled", ctx.actionButtonsDisabled || !ctx.textareaControl.value);
|
|
6962
6962
|
i0.ɵɵadvance(4);
|
|
6963
6963
|
i0.ɵɵproperty("disabled", ctx.actionButtonsDisabled || !ctx.textareaControl.value)("matTooltip", i0.ɵɵpipeBind1(15, 11, "TOOLTIPS.COPY"));
|
|
6964
|
-
} }, dependencies: [i2$
|
|
6964
|
+
} }, dependencies: [i2$2.MatIconButton, i2.MatIcon, i4$1.DefaultValueAccessor, i4$1.NgControlStatus, i4$1.FormControlDirective, i2$3.MatTooltip, i3.DefaultClassDirective, i1.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}"] }); }
|
|
6965
6965
|
}
|
|
6966
6966
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMTextareaComponent, [{
|
|
6967
6967
|
type: Component,
|
|
6968
6968
|
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"] }]
|
|
6969
|
-
}], () => [{ type: i1$
|
|
6969
|
+
}], () => [{ type: i1$5.Clipboard }], { textarea: [{
|
|
6970
6970
|
type: ViewChild,
|
|
6971
6971
|
args: ['textarea']
|
|
6972
6972
|
}], text: [{
|
|
@@ -7240,7 +7240,7 @@ class LLMTextareaWithActionsComponent {
|
|
|
7240
7240
|
}
|
|
7241
7241
|
};
|
|
7242
7242
|
}
|
|
7243
|
-
static { this.ɵfac = function LLMTextareaWithActionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaWithActionsComponent)(i0.ɵɵdirectiveInject(i1$
|
|
7243
|
+
static { this.ɵfac = function LLMTextareaWithActionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMTextareaWithActionsComponent)(i0.ɵɵdirectiveInject(i1$4.LLMService), i0.ɵɵdirectiveInject(LLMHelperService), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); }; }
|
|
7244
7244
|
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) {
|
|
7245
7245
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7246
7246
|
i0.ɵɵelementStart(0, "h1", 2);
|
|
@@ -7288,12 +7288,12 @@ class LLMTextareaWithActionsComponent {
|
|
|
7288
7288
|
i0.ɵɵproperty("ngIf", ctx.llmActionType === ctx.llmActions.SUMMARY)("ngIfElse", rephraseAction_r9);
|
|
7289
7289
|
i0.ɵɵadvance(3);
|
|
7290
7290
|
i0.ɵɵproperty("ngIf", ctx.isLoading);
|
|
7291
|
-
} }, dependencies: [i1$
|
|
7291
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2$2.MatButton, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, i4$1.NgControlStatus, i4$1.NgModel, i9.MatFormField, i9.MatLabel, i4.MatSelect, i4.MatOption, NotificationMessageComponent, i2$6.MatProgressSpinner, LLMTextareaComponent, i1$1.UpperCasePipe, i1.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:.875rem}[_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}"] }); }
|
|
7292
7292
|
}
|
|
7293
7293
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMTextareaWithActionsComponent, [{
|
|
7294
7294
|
type: Component,
|
|
7295
7295
|
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:.875rem}: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"] }]
|
|
7296
|
-
}], () => [{ type: i1$
|
|
7296
|
+
}], () => [{ type: i1$4.LLMService }, { type: LLMHelperService }, { type: undefined, decorators: [{
|
|
7297
7297
|
type: Inject,
|
|
7298
7298
|
args: [MAT_DIALOG_DATA]
|
|
7299
7299
|
}] }], null); })();
|
|
@@ -7344,7 +7344,7 @@ class NewFeatureDialogComponent {
|
|
|
7344
7344
|
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(5, 5, ctx.data.description), i0.ɵɵsanitizeHtml);
|
|
7345
7345
|
i0.ɵɵadvance(4);
|
|
7346
7346
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 7, ctx.data.close), " ");
|
|
7347
|
-
} }, dependencies: [MatDialogModule, i1$
|
|
7347
|
+
} }, dependencies: [MatDialogModule, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, MatButtonModule, i2$2.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}"] }); }
|
|
7348
7348
|
}
|
|
7349
7349
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NewFeatureDialogComponent, [{
|
|
7350
7350
|
type: Component,
|
|
@@ -7510,7 +7510,7 @@ class LLMSummaryComponent {
|
|
|
7510
7510
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 10, "LLM.SUMMARY"), "\n");
|
|
7511
7511
|
i0.ɵɵadvance(2);
|
|
7512
7512
|
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);
|
|
7513
|
-
} }, dependencies: [i2$
|
|
7513
|
+
} }, dependencies: [i2$2.MatButton, i2.MatIcon, NewFeatureDialogWrapperComponent, i1.TranslatePipe], styles: [".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"] }); }
|
|
7514
7514
|
}
|
|
7515
7515
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMSummaryComponent, [{
|
|
7516
7516
|
type: Component,
|
|
@@ -7551,7 +7551,7 @@ class LLMRephraseComponent {
|
|
|
7551
7551
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 11, "LLM.REPHRASE"), "\n");
|
|
7552
7552
|
i0.ɵɵadvance(2);
|
|
7553
7553
|
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);
|
|
7554
|
-
} }, dependencies: [i2$
|
|
7554
|
+
} }, dependencies: [i2$2.MatButton, i2.MatIcon, NewFeatureDialogWrapperComponent, i1.TranslatePipe], styles: [".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"] }); }
|
|
7555
7555
|
}
|
|
7556
7556
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMRephraseComponent, [{
|
|
7557
7557
|
type: Component,
|
|
@@ -7634,7 +7634,7 @@ class LLMComponent {
|
|
|
7634
7634
|
data
|
|
7635
7635
|
});
|
|
7636
7636
|
}
|
|
7637
|
-
static { this.ɵfac = function LLMComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMComponent)(i0.ɵɵdirectiveInject(i1$
|
|
7637
|
+
static { this.ɵfac = function LLMComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LLMComponent)(i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(IconService), i0.ɵɵdirectiveInject(LanguageTranslateService)); }; }
|
|
7638
7638
|
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) {
|
|
7639
7639
|
i0.ɵɵelementStart(0, "div", 0);
|
|
7640
7640
|
i0.ɵɵtemplate(1, LLMComponent_div_1_Template, 3, 6, "div", 1)(2, LLMComponent_div_2_Template, 3, 6, "div", 1);
|
|
@@ -7644,12 +7644,12 @@ class LLMComponent {
|
|
|
7644
7644
|
i0.ɵɵproperty("ngIf", ctx.summaryEnabled);
|
|
7645
7645
|
i0.ɵɵadvance();
|
|
7646
7646
|
i0.ɵɵproperty("ngIf", ctx.rephraseEnabled);
|
|
7647
|
-
} }, dependencies: [i1$
|
|
7647
|
+
} }, dependencies: [i1$1.NgIf, i2$3.MatTooltip, LLMSummaryComponent, LLMRephraseComponent, i1.TranslatePipe], styles: [".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"] }); }
|
|
7648
7648
|
}
|
|
7649
7649
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LLMComponent, [{
|
|
7650
7650
|
type: Component,
|
|
7651
7651
|
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"] }]
|
|
7652
|
-
}], () => [{ type: i1$
|
|
7652
|
+
}], () => [{ type: i1$3.MatDialog }, { type: IconService }, { type: LanguageTranslateService }], { text: [{
|
|
7653
7653
|
type: Input
|
|
7654
7654
|
}], language: [{
|
|
7655
7655
|
type: Input
|
|
@@ -7779,7 +7779,7 @@ class SidebarComponent {
|
|
|
7779
7779
|
i0.ɵɵclassProp("expanded", ctx.isOpen);
|
|
7780
7780
|
i0.ɵɵadvance();
|
|
7781
7781
|
i0.ɵɵproperty("ngTemplateOutlet", ctx.template);
|
|
7782
|
-
} }, dependencies: [CommonModule, i1$
|
|
7782
|
+
} }, dependencies: [CommonModule, i1$1.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)}}"] }); }
|
|
7783
7783
|
}
|
|
7784
7784
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidebarComponent, [{
|
|
7785
7785
|
type: Component,
|
|
@@ -7865,7 +7865,7 @@ class ToastComponent {
|
|
|
7865
7865
|
} if (rf & 2) {
|
|
7866
7866
|
i0.ɵɵadvance();
|
|
7867
7867
|
i0.ɵɵrepeater(ctx.toasts);
|
|
7868
|
-
} }, dependencies: [CommonModule, MatIconModule,
|
|
7868
|
+
} }, dependencies: [CommonModule, MatIconModule, i2.MatIcon, MatButtonModule, i2$2.MatIconButton, TranslateModule, i1.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:.875rem;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}}"] }); }
|
|
7869
7869
|
}
|
|
7870
7870
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToastComponent, [{
|
|
7871
7871
|
type: Component,
|
|
@@ -8040,7 +8040,7 @@ class SelectLanguageDialogComponent {
|
|
|
8040
8040
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(19, 16, "SELECT_LANGUAGE.CANCEL"), " ");
|
|
8041
8041
|
i0.ɵɵadvance(3);
|
|
8042
8042
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(22, 18, "SELECT_LANGUAGE.SAVE"), " ");
|
|
8043
|
-
} }, dependencies: [MatDialogModule, i1$
|
|
8043
|
+
} }, dependencies: [MatDialogModule, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, MatButtonModule, i2$2.MatButton, MatSelectModule, i9.MatFormField, i9.MatLabel, i4.MatSelect, i4.MatOption, FormsModule, i4$1.NgControlStatus, i4$1.NgModel, SortLanguageListPipe,
|
|
8044
8044
|
AsyncPipe,
|
|
8045
8045
|
TranslatePipe], styles: [".description[_ngcontent-%COMP%]{color:var(--base-40)}.w-full[_ngcontent-%COMP%]{width:100%}.mt-4[_ngcontent-%COMP%]{margin-top:1.5rem!important}"] }); }
|
|
8046
8046
|
}
|
|
@@ -8101,7 +8101,7 @@ class GlobalMessageComponent {
|
|
|
8101
8101
|
i0.ɵɵconditional(ctx.showCloseButton ? 3 : -1);
|
|
8102
8102
|
i0.ɵɵadvance();
|
|
8103
8103
|
i0.ɵɵrepeater(ctx.actions);
|
|
8104
|
-
} }, dependencies: [CommonModule, TranslateModule, MatButtonModule, i2$
|
|
8104
|
+
} }, dependencies: [CommonModule, TranslateModule, MatButtonModule, i2$2.MatButton, i2$2.MatIconButton, MatIconModule, i2.MatIcon, i1.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}"] }); }
|
|
8105
8105
|
}
|
|
8106
8106
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalMessageComponent, [{
|
|
8107
8107
|
type: Component,
|
|
@@ -8506,9 +8506,9 @@ class SubscriptionComponent {
|
|
|
8506
8506
|
i0.ɵɵconditional(ctx.chargebeeSettings() ? 5 : -1);
|
|
8507
8507
|
i0.ɵɵadvance();
|
|
8508
8508
|
i0.ɵɵconditional(ctx.contactUsUrl() ? 6 : -1);
|
|
8509
|
-
} }, dependencies: [MatProgressBarModule, i2$
|
|
8510
|
-
MatButtonModule, i2$
|
|
8511
|
-
DatePipe, i1$
|
|
8509
|
+
} }, dependencies: [MatProgressBarModule, i2$5.MatProgressBar, CommonModule,
|
|
8510
|
+
MatButtonModule, i2$2.MatButton, TranslatePipe,
|
|
8511
|
+
DatePipe, i1$1.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}"] }); }
|
|
8512
8512
|
}
|
|
8513
8513
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscriptionComponent, [{
|
|
8514
8514
|
type: Component,
|
|
@@ -8967,7 +8967,7 @@ class AccessibilityDialogComponent {
|
|
|
8967
8967
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(36, 28, "ACCESSIBILITY.RESET"));
|
|
8968
8968
|
i0.ɵɵadvance(3);
|
|
8969
8969
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(39, 30, "ACCESSIBILITY.CLOSE"));
|
|
8970
|
-
} }, dependencies: [MatDialogModule, i1$
|
|
8970
|
+
} }, dependencies: [MatDialogModule, i1$3.MatDialogClose, i1$3.MatDialogTitle, i1$3.MatDialogActions, i1$3.MatDialogContent, TranslateModule, MatButtonModule, i2$2.MatButton, MatTabsModule, i3$1.MatTab, i3$1.MatTabGroup, MatIconModule, i2.MatIcon, i1.TranslatePipe], styles: [".settings-title[_ngcontent-%COMP%]{color:var(--base-30);font-weight:600;font-size:.8125rem;margin-bottom:12px}.contrast-wrapper[_ngcontent-%COMP%]{margin-top:24px}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%]{display:flex;gap:12px}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:8px 24px;color:#000!important;background-color:#fff!important;border-radius:8px;width:100%;border:2px solid transparent}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.black-white[_ngcontent-%COMP%]{background-color:#000!important;color:#fff!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.yellow-black[_ngcontent-%COMP%]{background-color:#f9f150!important;color:#000!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.black-yellow[_ngcontent-%COMP%]{background-color:#000!important;color:#f9f150!important}.contrast-wrapper[_ngcontent-%COMP%] .contrast-option-wrapper[_ngcontent-%COMP%] .contrast-option.active[_ngcontent-%COMP%]{border:2px solid;border-color:var(--base-0)}.visual-tools-wrapper[_ngcontent-%COMP%]{margin-top:24px}.visual-tools-wrapper[_ngcontent-%COMP%] .screen-mask-btn[_ngcontent-%COMP%]{margin-left:8px}.divider[_ngcontent-%COMP%]{margin:24px 0;border:1px solid var(--base-70)}.feature-links-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.feature-link[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;color:var(--base-40)}.feature-link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{scale:.75}[_nghost-%COMP%] .mdc-tab--active{background-color:var(--mat-sys-primary-container)!important}[_nghost-%COMP%] .mdc-tab--active .mdc-tab__text-label{color:var(--primary-accent)!important}[_nghost-%COMP%] .mat-mdc-tab{width:50px;border:1px solid var(--base-70)}[_nghost-%COMP%] .mat-mdc-tab:first-child{border-bottom-left-radius:16px;border-top-left-radius:16px}[_nghost-%COMP%] .mat-mdc-tab:last-child{border-bottom-right-radius:16px;border-top-right-radius:16px}[_nghost-%COMP%] .mdc-tab-indicator__content--underline{display:none}[_nghost-%COMP%] .mat-mdc-tab-label-container{border-bottom-width:0!important}[_nghost-%COMP%] .active .mdc-button__ripple{background-color:var(--primary-accent)!important;opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}"] }); }
|
|
8971
8971
|
}
|
|
8972
8972
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AccessibilityDialogComponent, [{
|
|
8973
8973
|
type: Component,
|
|
@@ -9013,12 +9013,323 @@ class CustomTranslateLoader {
|
|
|
9013
9013
|
isObject(item) {
|
|
9014
9014
|
return item && typeof item === 'object' && !Array.isArray(item);
|
|
9015
9015
|
}
|
|
9016
|
-
static { this.ɵfac = function CustomTranslateLoader_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomTranslateLoader)(i0.ɵɵinject(i1$
|
|
9016
|
+
static { this.ɵfac = function CustomTranslateLoader_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomTranslateLoader)(i0.ɵɵinject(i1$2.HttpClient)); }; }
|
|
9017
9017
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CustomTranslateLoader, factory: CustomTranslateLoader.ɵfac }); }
|
|
9018
9018
|
}
|
|
9019
9019
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomTranslateLoader, [{
|
|
9020
9020
|
type: Injectable
|
|
9021
|
-
}], () => [{ type: i1$
|
|
9021
|
+
}], () => [{ type: i1$2.HttpClient }], null); })();
|
|
9022
|
+
|
|
9023
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9024
|
+
const translations = {
|
|
9025
|
+
lv: {
|
|
9026
|
+
COOKIE_CONSENT: {
|
|
9027
|
+
DESCRIPTION: 'Ar Jūsu piekrīšanu šajā vietnē izmantotas funkcionālās un analītiski statistiskās sīkdatnes. <br/> Ja piekrītat šo sīkdatņu izmantošanai, lūdzu, atzimējiet savu izvēli.',
|
|
9028
|
+
ACCEPT: 'Apstiptināt',
|
|
9029
|
+
DECLINE: 'Noraidīt',
|
|
9030
|
+
CONFIGURE: 'Pielāgot izvēli',
|
|
9031
|
+
PRIVACY: 'Privātums',
|
|
9032
|
+
DETAILS: 'Detalizētāka informācija par izmantojamām sīkdatnēm',
|
|
9033
|
+
MORE_INFORMATION: {
|
|
9034
|
+
NAME: 'Nosaukums',
|
|
9035
|
+
PURPOSE: 'Mērķis',
|
|
9036
|
+
CATEGORY: 'Kategorija',
|
|
9037
|
+
DURATION: 'Apstrādes termiņš',
|
|
9038
|
+
ALLOW_COOKIES: 'allowCookies',
|
|
9039
|
+
ALLOW_COOKIES_PURPOSE: 'Saglabā lietotāja piekrišanu sīkdatņu izmantošanai un statistikas ieguvei.',
|
|
9040
|
+
FUNCTIONAL_COOKIES: 'Funkcionālās sīkdatnes',
|
|
9041
|
+
ONE_YEAR: '1 gads',
|
|
9042
|
+
CULTURE: 'culture',
|
|
9043
|
+
CULTURE_PURPOSE: 'Saglabā lietotāja izvēlēto valodu, lai lietotājam katru reizi nav jāpārslēdz.',
|
|
9044
|
+
ONE_MONTH: '1 mēnesis',
|
|
9045
|
+
PK_ID: '_pk_id',
|
|
9046
|
+
PK_ID_PURPOSE: 'Apmeklējuma uzskaites sīkdatne, kas pieglabā unikāla apmeklētāja ID.',
|
|
9047
|
+
ANALYTICAL_COOKIES: 'Analītiskās statistiskās sīkdatnes',
|
|
9048
|
+
THIRTEEN_MONTHS: '13 mēneši',
|
|
9049
|
+
PK_SES: '_pk_ses',
|
|
9050
|
+
PK_SES_PURPOSE: 'Sesijas sīkdatne, kas pieglabā datus par apmeklējumu.',
|
|
9051
|
+
SESSION_COOKIES: 'Sesijas sīkdatnes',
|
|
9052
|
+
THIRTY_MINUTES: '30 min',
|
|
9053
|
+
},
|
|
9054
|
+
},
|
|
9055
|
+
},
|
|
9056
|
+
en: {
|
|
9057
|
+
COOKIE_CONSENT: {
|
|
9058
|
+
DESCRIPTION: 'By your consent, functional and analytical cookies are used on this site. <br/> If you agree to the use of these cookies, please confirm your choice.',
|
|
9059
|
+
ACCEPT: 'Accept',
|
|
9060
|
+
DECLINE: 'Decline',
|
|
9061
|
+
CONFIGURE: 'Configure choice',
|
|
9062
|
+
PRIVACY: 'Privacy',
|
|
9063
|
+
DETAILS: 'More information about the cookies used',
|
|
9064
|
+
MORE_INFORMATION: {
|
|
9065
|
+
NAME: 'Name',
|
|
9066
|
+
PURPOSE: 'Purpose',
|
|
9067
|
+
CATEGORY: 'Category',
|
|
9068
|
+
DURATION: 'Duration',
|
|
9069
|
+
ALLOW_COOKIES: 'allowCookies',
|
|
9070
|
+
ALLOW_COOKIES_PURPOSE: 'Saves user consent for cookie usage and statistics gathering.',
|
|
9071
|
+
FUNCTIONAL_COOKIES: 'Functional cookies',
|
|
9072
|
+
ONE_YEAR: '1 year',
|
|
9073
|
+
CULTURE: 'culture',
|
|
9074
|
+
CULTURE_PURPOSE: "Saves user selected language so it doesn't need to be switched every time.",
|
|
9075
|
+
ONE_MONTH: '1 month',
|
|
9076
|
+
PK_ID: '_pk_id',
|
|
9077
|
+
PK_ID_PURPOSE: 'Visit tracking cookie that stores unique visitor ID.',
|
|
9078
|
+
ANALYTICAL_COOKIES: 'Analytical statistical cookies',
|
|
9079
|
+
THIRTEEN_MONTHS: '13 months',
|
|
9080
|
+
PK_SES: '_pk_ses',
|
|
9081
|
+
PK_SES_PURPOSE: 'Session cookie that stores visit data.',
|
|
9082
|
+
SESSION_COOKIES: 'Session cookies',
|
|
9083
|
+
THIRTY_MINUTES: '30 min',
|
|
9084
|
+
},
|
|
9085
|
+
},
|
|
9086
|
+
},
|
|
9087
|
+
};
|
|
9088
|
+
|
|
9089
|
+
function CookieConsentComponent_Conditional_0_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
9090
|
+
i0.ɵɵelementStart(0, "mat-icon", 9);
|
|
9091
|
+
i0.ɵɵtext(1);
|
|
9092
|
+
i0.ɵɵelementEnd();
|
|
9093
|
+
} if (rf & 2) {
|
|
9094
|
+
i0.ɵɵadvance();
|
|
9095
|
+
i0.ɵɵtextInterpolate("keyboard_arrow_down");
|
|
9096
|
+
} }
|
|
9097
|
+
function CookieConsentComponent_Conditional_0_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
9098
|
+
i0.ɵɵelementStart(0, "mat-icon", 9);
|
|
9099
|
+
i0.ɵɵtext(1);
|
|
9100
|
+
i0.ɵɵelementEnd();
|
|
9101
|
+
} if (rf & 2) {
|
|
9102
|
+
i0.ɵɵadvance();
|
|
9103
|
+
i0.ɵɵtextInterpolate("keyboard_arrow_up");
|
|
9104
|
+
} }
|
|
9105
|
+
function CookieConsentComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
9106
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
9107
|
+
i0.ɵɵelementStart(0, "section", 0)(1, "div", 1);
|
|
9108
|
+
i0.ɵɵelement(2, "div", 2);
|
|
9109
|
+
i0.ɵɵpipe(3, "translate");
|
|
9110
|
+
i0.ɵɵelementStart(4, "div", 3)(5, "button", 4);
|
|
9111
|
+
i0.ɵɵlistener("click", function CookieConsentComponent_Conditional_0_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.accept()); });
|
|
9112
|
+
i0.ɵɵtext(6);
|
|
9113
|
+
i0.ɵɵpipe(7, "translate");
|
|
9114
|
+
i0.ɵɵelementEnd();
|
|
9115
|
+
i0.ɵɵelementStart(8, "button", 5);
|
|
9116
|
+
i0.ɵɵlistener("click", function CookieConsentComponent_Conditional_0_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.decline()); });
|
|
9117
|
+
i0.ɵɵtext(9);
|
|
9118
|
+
i0.ɵɵpipe(10, "translate");
|
|
9119
|
+
i0.ɵɵelementEnd()();
|
|
9120
|
+
i0.ɵɵelementStart(11, "div", 6)(12, "a", 7);
|
|
9121
|
+
i0.ɵɵtext(13);
|
|
9122
|
+
i0.ɵɵpipe(14, "translate");
|
|
9123
|
+
i0.ɵɵelementEnd();
|
|
9124
|
+
i0.ɵɵtext(15, " | ");
|
|
9125
|
+
i0.ɵɵelementStart(16, "button", 8);
|
|
9126
|
+
i0.ɵɵlistener("click", function CookieConsentComponent_Conditional_0_Template_button_click_16_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.toggleDetails()); });
|
|
9127
|
+
i0.ɵɵtext(17);
|
|
9128
|
+
i0.ɵɵpipe(18, "translate");
|
|
9129
|
+
i0.ɵɵconditionalCreate(19, CookieConsentComponent_Conditional_0_Conditional_19_Template, 2, 1, "mat-icon", 9)(20, CookieConsentComponent_Conditional_0_Conditional_20_Template, 2, 1, "mat-icon", 9);
|
|
9130
|
+
i0.ɵɵelementEnd()()();
|
|
9131
|
+
i0.ɵɵelementStart(21, "div", 10)(22, "table")(23, "thead")(24, "tr")(25, "th");
|
|
9132
|
+
i0.ɵɵtext(26);
|
|
9133
|
+
i0.ɵɵpipe(27, "translate");
|
|
9134
|
+
i0.ɵɵelementEnd();
|
|
9135
|
+
i0.ɵɵelementStart(28, "th");
|
|
9136
|
+
i0.ɵɵtext(29);
|
|
9137
|
+
i0.ɵɵpipe(30, "translate");
|
|
9138
|
+
i0.ɵɵelementEnd();
|
|
9139
|
+
i0.ɵɵelementStart(31, "th");
|
|
9140
|
+
i0.ɵɵtext(32);
|
|
9141
|
+
i0.ɵɵpipe(33, "translate");
|
|
9142
|
+
i0.ɵɵelementEnd();
|
|
9143
|
+
i0.ɵɵelementStart(34, "th");
|
|
9144
|
+
i0.ɵɵtext(35);
|
|
9145
|
+
i0.ɵɵpipe(36, "translate");
|
|
9146
|
+
i0.ɵɵelementEnd()()();
|
|
9147
|
+
i0.ɵɵelementStart(37, "tbody")(38, "tr")(39, "td");
|
|
9148
|
+
i0.ɵɵtext(40);
|
|
9149
|
+
i0.ɵɵpipe(41, "translate");
|
|
9150
|
+
i0.ɵɵelementEnd();
|
|
9151
|
+
i0.ɵɵelementStart(42, "td");
|
|
9152
|
+
i0.ɵɵtext(43);
|
|
9153
|
+
i0.ɵɵpipe(44, "translate");
|
|
9154
|
+
i0.ɵɵelementEnd();
|
|
9155
|
+
i0.ɵɵelementStart(45, "td");
|
|
9156
|
+
i0.ɵɵtext(46);
|
|
9157
|
+
i0.ɵɵpipe(47, "translate");
|
|
9158
|
+
i0.ɵɵelementEnd();
|
|
9159
|
+
i0.ɵɵelementStart(48, "td");
|
|
9160
|
+
i0.ɵɵtext(49);
|
|
9161
|
+
i0.ɵɵpipe(50, "translate");
|
|
9162
|
+
i0.ɵɵelementEnd()();
|
|
9163
|
+
i0.ɵɵelementStart(51, "tr")(52, "td");
|
|
9164
|
+
i0.ɵɵtext(53);
|
|
9165
|
+
i0.ɵɵpipe(54, "translate");
|
|
9166
|
+
i0.ɵɵelementEnd();
|
|
9167
|
+
i0.ɵɵelementStart(55, "td");
|
|
9168
|
+
i0.ɵɵtext(56);
|
|
9169
|
+
i0.ɵɵpipe(57, "translate");
|
|
9170
|
+
i0.ɵɵelementEnd();
|
|
9171
|
+
i0.ɵɵelementStart(58, "td");
|
|
9172
|
+
i0.ɵɵtext(59);
|
|
9173
|
+
i0.ɵɵpipe(60, "translate");
|
|
9174
|
+
i0.ɵɵelementEnd();
|
|
9175
|
+
i0.ɵɵelementStart(61, "td");
|
|
9176
|
+
i0.ɵɵtext(62);
|
|
9177
|
+
i0.ɵɵpipe(63, "translate");
|
|
9178
|
+
i0.ɵɵelementEnd()();
|
|
9179
|
+
i0.ɵɵelementStart(64, "tr")(65, "td");
|
|
9180
|
+
i0.ɵɵtext(66);
|
|
9181
|
+
i0.ɵɵpipe(67, "translate");
|
|
9182
|
+
i0.ɵɵelementEnd();
|
|
9183
|
+
i0.ɵɵelementStart(68, "td");
|
|
9184
|
+
i0.ɵɵtext(69);
|
|
9185
|
+
i0.ɵɵpipe(70, "translate");
|
|
9186
|
+
i0.ɵɵelementEnd();
|
|
9187
|
+
i0.ɵɵelementStart(71, "td");
|
|
9188
|
+
i0.ɵɵtext(72);
|
|
9189
|
+
i0.ɵɵpipe(73, "translate");
|
|
9190
|
+
i0.ɵɵelementEnd();
|
|
9191
|
+
i0.ɵɵelementStart(74, "td");
|
|
9192
|
+
i0.ɵɵtext(75);
|
|
9193
|
+
i0.ɵɵpipe(76, "translate");
|
|
9194
|
+
i0.ɵɵelementEnd()();
|
|
9195
|
+
i0.ɵɵelementStart(77, "tr")(78, "td");
|
|
9196
|
+
i0.ɵɵtext(79);
|
|
9197
|
+
i0.ɵɵpipe(80, "translate");
|
|
9198
|
+
i0.ɵɵelementEnd();
|
|
9199
|
+
i0.ɵɵelementStart(81, "td");
|
|
9200
|
+
i0.ɵɵtext(82);
|
|
9201
|
+
i0.ɵɵpipe(83, "translate");
|
|
9202
|
+
i0.ɵɵelementEnd();
|
|
9203
|
+
i0.ɵɵelementStart(84, "td");
|
|
9204
|
+
i0.ɵɵtext(85);
|
|
9205
|
+
i0.ɵɵpipe(86, "translate");
|
|
9206
|
+
i0.ɵɵelementEnd();
|
|
9207
|
+
i0.ɵɵelementStart(87, "td");
|
|
9208
|
+
i0.ɵɵtext(88);
|
|
9209
|
+
i0.ɵɵpipe(89, "translate");
|
|
9210
|
+
i0.ɵɵelementEnd()()()()()();
|
|
9211
|
+
} if (rf & 2) {
|
|
9212
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
9213
|
+
i0.ɵɵadvance(2);
|
|
9214
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(3, 29, "COOKIE_CONSENT.DESCRIPTION"), i0.ɵɵsanitizeHtml);
|
|
9215
|
+
i0.ɵɵadvance(4);
|
|
9216
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 31, "COOKIE_CONSENT.ACCEPT"));
|
|
9217
|
+
i0.ɵɵadvance(3);
|
|
9218
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 33, "COOKIE_CONSENT.DECLINE"));
|
|
9219
|
+
i0.ɵɵadvance(3);
|
|
9220
|
+
i0.ɵɵproperty("href", ctx_r1.privacyPolicyUrl, i0.ɵɵsanitizeUrl);
|
|
9221
|
+
i0.ɵɵadvance();
|
|
9222
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 35, "COOKIE_CONSENT.PRIVACY"));
|
|
9223
|
+
i0.ɵɵadvance(4);
|
|
9224
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 37, "COOKIE_CONSENT.DETAILS"), " ");
|
|
9225
|
+
i0.ɵɵadvance(2);
|
|
9226
|
+
i0.ɵɵconditional(ctx_r1.isDetailsVisible ? 19 : 20);
|
|
9227
|
+
i0.ɵɵadvance(2);
|
|
9228
|
+
i0.ɵɵclassProp("cookie-consent--details-hidden", !ctx_r1.isDetailsVisible);
|
|
9229
|
+
i0.ɵɵadvance(5);
|
|
9230
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 39, "COOKIE_CONSENT.MORE_INFORMATION.NAME"));
|
|
9231
|
+
i0.ɵɵadvance(3);
|
|
9232
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 41, "COOKIE_CONSENT.MORE_INFORMATION.PURPOSE"));
|
|
9233
|
+
i0.ɵɵadvance(3);
|
|
9234
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(33, 43, "COOKIE_CONSENT.MORE_INFORMATION.CATEGORY"));
|
|
9235
|
+
i0.ɵɵadvance(3);
|
|
9236
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(36, 45, "COOKIE_CONSENT.MORE_INFORMATION.DURATION"));
|
|
9237
|
+
i0.ɵɵadvance(5);
|
|
9238
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(41, 47, "COOKIE_CONSENT.MORE_INFORMATION.ALLOW_COOKIES"));
|
|
9239
|
+
i0.ɵɵadvance(3);
|
|
9240
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(44, 49, "COOKIE_CONSENT.MORE_INFORMATION.ALLOW_COOKIES_PURPOSE"));
|
|
9241
|
+
i0.ɵɵadvance(3);
|
|
9242
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(47, 51, "COOKIE_CONSENT.MORE_INFORMATION.FUNCTIONAL_COOKIES"));
|
|
9243
|
+
i0.ɵɵadvance(3);
|
|
9244
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(50, 53, "COOKIE_CONSENT.MORE_INFORMATION.ONE_YEAR"));
|
|
9245
|
+
i0.ɵɵadvance(4);
|
|
9246
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(54, 55, "COOKIE_CONSENT.MORE_INFORMATION.CULTURE"));
|
|
9247
|
+
i0.ɵɵadvance(3);
|
|
9248
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(57, 57, "COOKIE_CONSENT.MORE_INFORMATION.CULTURE_PURPOSE"));
|
|
9249
|
+
i0.ɵɵadvance(3);
|
|
9250
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(60, 59, "COOKIE_CONSENT.MORE_INFORMATION.FUNCTIONAL_COOKIES"));
|
|
9251
|
+
i0.ɵɵadvance(3);
|
|
9252
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(63, 61, "COOKIE_CONSENT.MORE_INFORMATION.ONE_MONTH"));
|
|
9253
|
+
i0.ɵɵadvance(4);
|
|
9254
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(67, 63, "COOKIE_CONSENT.MORE_INFORMATION.PK_ID"));
|
|
9255
|
+
i0.ɵɵadvance(3);
|
|
9256
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(70, 65, "COOKIE_CONSENT.MORE_INFORMATION.PK_ID_PURPOSE"));
|
|
9257
|
+
i0.ɵɵadvance(3);
|
|
9258
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(73, 67, "COOKIE_CONSENT.MORE_INFORMATION.ANALYTICAL_COOKIES"));
|
|
9259
|
+
i0.ɵɵadvance(3);
|
|
9260
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(76, 69, "COOKIE_CONSENT.MORE_INFORMATION.THIRTEEN_MONTHS"));
|
|
9261
|
+
i0.ɵɵadvance(4);
|
|
9262
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(80, 71, "COOKIE_CONSENT.MORE_INFORMATION.PK_SES"));
|
|
9263
|
+
i0.ɵɵadvance(3);
|
|
9264
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(83, 73, "COOKIE_CONSENT.MORE_INFORMATION.PK_SES_PURPOSE"));
|
|
9265
|
+
i0.ɵɵadvance(3);
|
|
9266
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(86, 75, "COOKIE_CONSENT.MORE_INFORMATION.SESSION_COOKIES"));
|
|
9267
|
+
i0.ɵɵadvance(3);
|
|
9268
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(89, 77, "COOKIE_CONSENT.MORE_INFORMATION.THIRTY_MINUTES"));
|
|
9269
|
+
} }
|
|
9270
|
+
class CookieConsentComponent {
|
|
9271
|
+
constructor() {
|
|
9272
|
+
this.#translate = inject(TranslateService);
|
|
9273
|
+
this.isClosed = false;
|
|
9274
|
+
this.isDetailsVisible = false;
|
|
9275
|
+
this.#COOKIE_CONSENT_ACCEPTED_KEY = 'cookie-consent-accepted';
|
|
9276
|
+
this.#COOKIE_CONSENT_DECLINED_KEY = 'cookie-consent-declined';
|
|
9277
|
+
}
|
|
9278
|
+
#translate;
|
|
9279
|
+
#COOKIE_CONSENT_ACCEPTED_KEY;
|
|
9280
|
+
#COOKIE_CONSENT_DECLINED_KEY;
|
|
9281
|
+
ngOnInit() {
|
|
9282
|
+
const script = document.createElement('script');
|
|
9283
|
+
script.async = true;
|
|
9284
|
+
script.defer = true;
|
|
9285
|
+
script.innerHTML = this.script.replace('scriptSrc', this.scriptSrc);
|
|
9286
|
+
document.body.appendChild(script);
|
|
9287
|
+
if (this.isCookieConsentConfigured()) {
|
|
9288
|
+
this.isClosed = true;
|
|
9289
|
+
return;
|
|
9290
|
+
}
|
|
9291
|
+
const currentLang = this.#translate.getCurrentLang();
|
|
9292
|
+
this.#translate.setTranslation(currentLang, translations[currentLang.split('-')[0]], true);
|
|
9293
|
+
}
|
|
9294
|
+
toggleDetails() {
|
|
9295
|
+
this.isDetailsVisible = !this.isDetailsVisible;
|
|
9296
|
+
}
|
|
9297
|
+
accept() {
|
|
9298
|
+
this.isClosed = true;
|
|
9299
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9300
|
+
window['_mtm'].push(['setCookieConsentGiven']);
|
|
9301
|
+
localStorage.setItem(this.#COOKIE_CONSENT_ACCEPTED_KEY, 'true');
|
|
9302
|
+
}
|
|
9303
|
+
decline() {
|
|
9304
|
+
this.isClosed = true;
|
|
9305
|
+
localStorage.setItem(this.#COOKIE_CONSENT_DECLINED_KEY, 'true');
|
|
9306
|
+
}
|
|
9307
|
+
isCookieConsentConfigured() {
|
|
9308
|
+
const isAccepted = localStorage.getItem(this.#COOKIE_CONSENT_ACCEPTED_KEY) === 'true';
|
|
9309
|
+
const isDeclined = localStorage.getItem(this.#COOKIE_CONSENT_DECLINED_KEY) === 'true';
|
|
9310
|
+
if (isAccepted) {
|
|
9311
|
+
this.accept();
|
|
9312
|
+
}
|
|
9313
|
+
return isAccepted || isDeclined;
|
|
9314
|
+
}
|
|
9315
|
+
static { this.ɵfac = function CookieConsentComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CookieConsentComponent)(); }; }
|
|
9316
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CookieConsentComponent, selectors: [["lib-cookie-consent"]], inputs: { script: "script", scriptSrc: "scriptSrc", privacyPolicyUrl: "privacyPolicyUrl" }, decls: 1, vars: 1, consts: [[1, "cookie-consent-container"], [1, "cookie-consent-content"], [1, "cookie-consent-description", 3, "innerHTML"], [1, "cookie-consent-actions"], ["mat-flat-button", "", 3, "click"], ["mat-stroked-button", "", 3, "click"], [1, "cookie-consent-info"], [1, "cookie-consent-info--privacy", 3, "href"], [1, "cookie-consent-info--details", 3, "click"], [1, "spin"], [1, "cookie-consent--details"]], template: function CookieConsentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9317
|
+
i0.ɵɵconditionalCreate(0, CookieConsentComponent_Conditional_0_Template, 90, 79, "section", 0);
|
|
9318
|
+
} if (rf & 2) {
|
|
9319
|
+
i0.ɵɵconditional(!ctx.isClosed ? 0 : -1);
|
|
9320
|
+
} }, dependencies: [TranslateModule, MatButtonModule, i2$2.MatButton, MatIconModule, i2.MatIcon, MatCheckboxModule, i1.TranslatePipe], styles: [".spin[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spinArrow .3s forwards}@keyframes _ngcontent-%COMP%_spinArrow{to{transform:rotate(180deg)}}button[_ngcontent-%COMP%]{min-width:170px}tr[_ngcontent-%COMP%]{border-bottom:1px solid var(--base-65)}.cookie-consent-container[_ngcontent-%COMP%]{position:fixed;bottom:0;width:100%;background-color:var(--base-100);box-shadow:0 -2px 5px #0000001a;padding:25px;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center}.cookie-consent-content[_ngcontent-%COMP%]{max-width:800px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}.cookie-consent-description[_ngcontent-%COMP%]{color:var(--base-30)}.cookie-consent-actions[_ngcontent-%COMP%]{display:flex;gap:10px}.cookie-consent-info[_ngcontent-%COMP%]{display:flex;gap:16px;font-weight:700;font-size:14px}.cookie-consent-info--privacy[_ngcontent-%COMP%], .cookie-consent-info--details[_ngcontent-%COMP%]{color:var(--base-30)!important}.cookie-consent-info--details[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}table[_ngcontent-%COMP%]{margin-top:20px;color:var(--base-30)}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:10px 20px}th[_ngcontent-%COMP%]{text-align:start}.cookie-consent--details[_ngcontent-%COMP%]{max-height:245px;transition:max-height .2s ease-in}.cookie-consent--details-hidden[_ngcontent-%COMP%]{max-height:0;transition:max-height .2s ease-out;overflow:hidden}@media (max-width: 600px){.cookie-consent-container[_ngcontent-%COMP%]{padding:15px}.cookie-consent-content[_ngcontent-%COMP%]{gap:15px}.cookie-consent-actions[_ngcontent-%COMP%]{flex-direction:column;width:100%}button[_ngcontent-%COMP%]{width:100%}.cookie-consent--details[_ngcontent-%COMP%]{max-width:100vw;overflow:auto}.cookie-consent-info--details[_ngcontent-%COMP%]{gap:0}.cookie-consent-info--details[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{display:none}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{padding:2px 4px}}.cookie-consent-configuration-description[_ngcontent-%COMP%]{color:var(--base-40)}mat-checkbox[_ngcontent-%COMP%]{width:100%;text-align:start}"] }); }
|
|
9321
|
+
}
|
|
9322
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CookieConsentComponent, [{
|
|
9323
|
+
type: Component,
|
|
9324
|
+
args: [{ selector: 'lib-cookie-consent', imports: [TranslateModule, MatButtonModule, MatIconModule, MatCheckboxModule], template: "@if (!isClosed) {\r\n<section class=\"cookie-consent-container\">\r\n\t<div class=\"cookie-consent-content\">\r\n\t\t<div class=\"cookie-consent-description\" [innerHTML]=\"'COOKIE_CONSENT.DESCRIPTION' | translate\"></div>\r\n\r\n\t\t<div class=\"cookie-consent-actions\">\r\n\t\t\t<button mat-flat-button (click)=\"accept()\">{{ \"COOKIE_CONSENT.ACCEPT\" | translate }}</button>\r\n\t\t\t<button mat-stroked-button (click)=\"decline()\">{{ \"COOKIE_CONSENT.DECLINE\" | translate }}</button>\r\n\t\t</div>\r\n\r\n\t\t<div class=\"cookie-consent-info\">\r\n\t\t\t<a [href]=\"privacyPolicyUrl\" class=\"cookie-consent-info--privacy\">{{ \"COOKIE_CONSENT.PRIVACY\" | translate }}</a>\r\n\t\t\t|\r\n\t\t\t<button class=\"cookie-consent-info--details\" (click)=\"toggleDetails()\">\r\n\t\t\t\t{{ \"COOKIE_CONSENT.DETAILS\" | translate }}\r\n\r\n\t\t\t\t@if (isDetailsVisible) {\r\n\t\t\t\t<mat-icon class=\"spin\">{{ \"keyboard_arrow_down\" }}</mat-icon>\r\n\t\t\t\t} @else {\r\n\t\t\t\t<mat-icon class=\"spin\">{{ \"keyboard_arrow_up\" }}</mat-icon>\r\n\t\t\t\t}\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</div>\r\n\r\n\t<div class=\"cookie-consent--details\" [class.cookie-consent--details-hidden]=\"!isDetailsVisible\">\r\n\t\t<table>\r\n\t\t\t<thead>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<th>{{ \"COOKIE_CONSENT.MORE_INFORMATION.NAME\" | translate }}</th>\r\n\t\t\t\t\t<th>{{ \"COOKIE_CONSENT.MORE_INFORMATION.PURPOSE\" | translate }}</th>\r\n\t\t\t\t\t<th>{{ \"COOKIE_CONSENT.MORE_INFORMATION.CATEGORY\" | translate }}</th>\r\n\t\t\t\t\t<th>{{ \"COOKIE_CONSENT.MORE_INFORMATION.DURATION\" | translate }}</th>\r\n\t\t\t\t</tr>\r\n\t\t\t</thead>\r\n\t\t\t<tbody>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.ALLOW_COOKIES\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.ALLOW_COOKIES_PURPOSE\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.FUNCTIONAL_COOKIES\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.ONE_YEAR\" | translate }}</td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.CULTURE\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.CULTURE_PURPOSE\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.FUNCTIONAL_COOKIES\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.ONE_MONTH\" | translate }}</td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.PK_ID\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.PK_ID_PURPOSE\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.ANALYTICAL_COOKIES\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.THIRTEEN_MONTHS\" | translate }}</td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.PK_SES\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.PK_SES_PURPOSE\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.SESSION_COOKIES\" | translate }}</td>\r\n\t\t\t\t\t<td>{{ \"COOKIE_CONSENT.MORE_INFORMATION.THIRTY_MINUTES\" | translate }}</td>\r\n\t\t\t\t</tr>\r\n\t\t\t</tbody>\r\n\t\t</table>\r\n\t</div>\r\n</section>\r\n\r\n}\r\n", styles: [".spin{animation:spinArrow .3s forwards}@keyframes spinArrow{to{transform:rotate(180deg)}}button{min-width:170px}tr{border-bottom:1px solid var(--base-65)}.cookie-consent-container{position:fixed;bottom:0;width:100%;background-color:var(--base-100);box-shadow:0 -2px 5px #0000001a;padding:25px;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center}.cookie-consent-content{max-width:800px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}.cookie-consent-description{color:var(--base-30)}.cookie-consent-actions{display:flex;gap:10px}.cookie-consent-info{display:flex;gap:16px;font-weight:700;font-size:14px}.cookie-consent-info--privacy,.cookie-consent-info--details{color:var(--base-30)!important}.cookie-consent-info--details{display:flex;align-items:center;gap:10px}table{margin-top:20px;color:var(--base-30)}th,td{padding:10px 20px}th{text-align:start}.cookie-consent--details{max-height:245px;transition:max-height .2s ease-in}.cookie-consent--details-hidden{max-height:0;transition:max-height .2s ease-out;overflow:hidden}@media (max-width: 600px){.cookie-consent-container{padding:15px}.cookie-consent-content{gap:15px}.cookie-consent-actions{flex-direction:column;width:100%}button{width:100%}.cookie-consent--details{max-width:100vw;overflow:auto}.cookie-consent-info--details{gap:0}.cookie-consent-info--details mat-icon{display:none}th,td{padding:2px 4px}}.cookie-consent-configuration-description{color:var(--base-40)}mat-checkbox{width:100%;text-align:start}\n"] }]
|
|
9325
|
+
}], null, { script: [{
|
|
9326
|
+
type: Input
|
|
9327
|
+
}], scriptSrc: [{
|
|
9328
|
+
type: Input
|
|
9329
|
+
}], privacyPolicyUrl: [{
|
|
9330
|
+
type: Input
|
|
9331
|
+
}] }); })();
|
|
9332
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CookieConsentComponent, { className: "CookieConsentComponent", filePath: "lib/analytics/cookie-consent/cookie-consent.component.ts", lineNumber: 14 }); })();
|
|
9022
9333
|
|
|
9023
9334
|
/*
|
|
9024
9335
|
* Public API Surface of ngx-common
|
|
@@ -9028,5 +9339,5 @@ class CustomTranslateLoader {
|
|
|
9028
9339
|
* Generated bundle index. Do not edit.
|
|
9029
9340
|
*/
|
|
9030
9341
|
|
|
9031
|
-
export { ALERT_CONFIGURATION_TOKEN, AccessibilityContrasts, AccessibilityDialogComponent, AccessibilityFontSizes, AccessibilityService, AccessibilityTextMagnifierService, AlertService, AuthHeadersHelper, COLLECTIONS_MENU, CUSTOM_TITLE_CONFIGURATION_TOKEN, ClickOutsideDirective, ClickOutsideModule, CloseButtonComponent, CloseButtonModule, CombinedCollection, CombinedCollectionTooltipKey, CompanyProductComponent, CompanyProductModule, Confirmation, ConfirmationModalComponent, ConfirmationModalModule, ConfirmationService, ConversionHelper, CustomPaginatorInernationalizationHelper, CustomTitleStrategyService, CustomTranslateLoader, DISABLE_EXPORT_ATTRIBUTE_NAME, DOMService, DateAgoModule, DateAgoPipe, DomainTranslatePipe, DragAndDropDirective, DragAndDropModule, ERROR_CODES, EngineTermApiService, EngineTermCollectionScope, EngineTermCollectionSource, EngineTermCollectionStatus, EngineTermCollectionSubStatus, ExportFormat, ExtensionDialogComponent, ExtensionDialogModule, ExtensionDialogService, FILE_SIZE_UNIT, FileCategories, FileExtensionHelper, FileExtensions, FileSizeLabelPipe, FileTypeIcons, FileTypes, FileUploadComponent, FileUploadErrorTypeEnum, FileUploadModule, FilterBarComponent, FilterBarModule, FilterWithHighlightModule, FilterWithHighlightPipe, FooterComponent, FooterModule, GlobalMessageComponent, HashHelper, HtmlElementParseHelper, HtmlHelper, IconService, InlineMessageComponent, InlineMessageIconPosition, InlineMessageModule, InlineMessageType, LAST_USED_SYSTEM_LOCAL_STORAGE_KEY, LLMActions, LLMComponent, LLMModule, LLM_CONFIGURATION_TOKEN, LanguageTranslateModule, LanguageTranslatePipe, LanguageTranslateService, MatButtonLoadingDirective, MatButtonLoadingModule, MissingTranslationHandlerService, MissingTranslationHelper, MtCollectionStatus, MultiFunctionalTableComponent, MultiFunctionalTableModule, NewFeatureDialogWrapperComponent, NotificationMessageComponent, NotificationMessageModule, NotificationMessageType, NotificationService, OPEN_CLOSE_BTN_ICONS_TOKEN, ObjectLengthModule, ObjectLengthPipe, OpenCloseButtonComponent, OpenCloseButtonModule, OpenExtensionDialogComponent, Operations, PlausibleEventDirective, PlausibleHelper, PlausibleModule, ResolutionHelper, SCREEN_SIZE, SaveFileHelper, SelectLanguageDialogComponent, SidebarComponent, SidebarService, SortAlphabeticallyModule, SortAlphabeticallyPipe, SortByNumberPipe, SortDomainsPipe, SortHelper, SortLanguageListPipe, SortTranslationsByPropertyModule, SortTranslationsByPropertyPipe, SortTranslationsModule, SortTranslationsPipe, StatusDisplayComponent, StatusDisplayModule, SubscriptionComponent, SubscriptionPlan, SystemService, TerminologyApiService, TerminologyCollectionService, TerminologyComponent, TerminologyConfigService, TerminologyCreateCollectionComponent, TerminologyModule, TerminologyService, TextToSpeechComponent, TldLoaderComponent, TldLoaderModule, ToastComponent, ToastService, getFileSizeLabel, provideCustomTitleStrategy };
|
|
9342
|
+
export { ALERT_CONFIGURATION_TOKEN, AccessibilityContrasts, AccessibilityDialogComponent, AccessibilityFontSizes, AccessibilityService, AccessibilityTextMagnifierService, AlertService, AuthHeadersHelper, COLLECTIONS_MENU, CUSTOM_TITLE_CONFIGURATION_TOKEN, ClickOutsideDirective, ClickOutsideModule, CloseButtonComponent, CloseButtonModule, CombinedCollection, CombinedCollectionTooltipKey, CompanyProductComponent, CompanyProductModule, Confirmation, ConfirmationModalComponent, ConfirmationModalModule, ConfirmationService, ConversionHelper, CookieConsentComponent, CustomPaginatorInernationalizationHelper, CustomTitleStrategyService, CustomTranslateLoader, DISABLE_EXPORT_ATTRIBUTE_NAME, DOMService, DateAgoModule, DateAgoPipe, DomainTranslatePipe, DragAndDropDirective, DragAndDropModule, ERROR_CODES, EngineTermApiService, EngineTermCollectionScope, EngineTermCollectionSource, EngineTermCollectionStatus, EngineTermCollectionSubStatus, ExportFormat, ExtensionDialogComponent, ExtensionDialogModule, ExtensionDialogService, FILE_SIZE_UNIT, FileCategories, FileExtensionHelper, FileExtensions, FileSizeLabelPipe, FileTypeIcons, FileTypes, FileUploadComponent, FileUploadErrorTypeEnum, FileUploadModule, FilterBarComponent, FilterBarModule, FilterWithHighlightModule, FilterWithHighlightPipe, FooterComponent, FooterModule, GlobalMessageComponent, HashHelper, HtmlElementParseHelper, HtmlHelper, IconService, InlineMessageComponent, InlineMessageIconPosition, InlineMessageModule, InlineMessageType, LAST_USED_SYSTEM_LOCAL_STORAGE_KEY, LLMActions, LLMComponent, LLMModule, LLM_CONFIGURATION_TOKEN, LanguageTranslateModule, LanguageTranslatePipe, LanguageTranslateService, MatButtonLoadingDirective, MatButtonLoadingModule, MissingTranslationHandlerService, MissingTranslationHelper, MtCollectionStatus, MultiFunctionalTableComponent, MultiFunctionalTableModule, NewFeatureDialogWrapperComponent, NotificationMessageComponent, NotificationMessageModule, NotificationMessageType, NotificationService, OPEN_CLOSE_BTN_ICONS_TOKEN, ObjectLengthModule, ObjectLengthPipe, OpenCloseButtonComponent, OpenCloseButtonModule, OpenExtensionDialogComponent, Operations, PlausibleEventDirective, PlausibleHelper, PlausibleModule, ResolutionHelper, SCREEN_SIZE, SaveFileHelper, SelectLanguageDialogComponent, SidebarComponent, SidebarService, SortAlphabeticallyModule, SortAlphabeticallyPipe, SortByNumberPipe, SortDomainsPipe, SortHelper, SortLanguageListPipe, SortTranslationsByPropertyModule, SortTranslationsByPropertyPipe, SortTranslationsModule, SortTranslationsPipe, StatusDisplayComponent, StatusDisplayModule, SubscriptionComponent, SubscriptionPlan, SystemService, TerminologyApiService, TerminologyCollectionService, TerminologyComponent, TerminologyConfigService, TerminologyCreateCollectionComponent, TerminologyModule, TerminologyService, TextToSpeechComponent, TldLoaderComponent, TldLoaderModule, ToastComponent, ToastService, getFileSizeLabel, provideCustomTitleStrategy };
|
|
9032
9343
|
//# sourceMappingURL=tilde-nlp-ngx-common.mjs.map
|