@tilde-nlp/ngx-translate 4.0.0 → 4.0.2
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/esm2022/lib/components/shared/extension-dialog/components/open-extension-dialog/open-extension-dialog.component.mjs +3 -3
- package/esm2022/lib/components/shared/extension-dialog/extension-dialog.component.mjs +3 -3
- package/esm2022/lib/components/shared/extension-dialog/extension-dialog.module.mjs +4 -4
- package/esm2022/lib/components/shared/extension-dialog/services/extension-dialog.service.mjs +3 -3
- package/esm2022/lib/components/shared/text-to-speech/text-to-speech.component.mjs +3 -3
- package/esm2022/lib/components/shared/text-to-speech/text-to-speech.module.mjs +4 -4
- package/esm2022/lib/components/shared/vendor-disclaimer/vendor-disclaimer.component.mjs +3 -3
- package/esm2022/lib/components/shared/vendor-disclaimer/vendor-disclaimer.module.mjs +4 -4
- package/esm2022/lib/i18n/de.mjs +1 -7
- package/esm2022/lib/i18n/en.mjs +5 -6
- package/esm2022/lib/i18n/et.mjs +1 -7
- package/esm2022/lib/i18n/fi.mjs +1 -7
- package/esm2022/lib/i18n/lt.mjs +1 -7
- package/esm2022/lib/i18n/lv.mjs +5 -6
- package/esm2022/lib/i18n/pl.mjs +1 -7
- package/esm2022/lib/modules/material.module.mjs +4 -4
- package/esm2022/lib/modules/tld-audio/services/audio-record.service.mjs +3 -3
- package/esm2022/lib/modules/tld-audio/services/tld-voice-input-api.service.mjs +3 -3
- package/esm2022/lib/modules/tld-audio/services/tld-voice-input.service.mjs +3 -3
- package/esm2022/lib/modules/tld-audio/tld-audio.module.mjs +4 -4
- package/esm2022/lib/modules/tld-audio/tld-dictate/tld-dictate.component.mjs +3 -3
- package/esm2022/lib/modules/tld-audio/tld-record/tld-record.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/open-close-button/open-close-button.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/source-and-target-wrapper/source-and-target-wrapper.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/tld-lang-list/tld-lang-list.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/tld-list-menu/tld-list-menu.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/tld-loader/tld-loader.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/tld-message/tld-message.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/tld-translate-achievement/tld-translate-achievement.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/translate-button/tld-translate-button.service.mjs +3 -3
- package/esm2022/lib/modules/tld-common/components/translate-button/translate-button.component.mjs +3 -3
- package/esm2022/lib/modules/tld-common/pipes/translate-domain.pipe.mjs +3 -3
- package/esm2022/lib/modules/tld-common/services/icon-service/icon.service.mjs +3 -3
- package/esm2022/lib/modules/tld-common/services/scroll/tld-scroll.service.mjs +3 -3
- package/esm2022/lib/modules/tld-common/services/tld-alert.service.mjs +3 -3
- package/esm2022/lib/modules/tld-common/services/tld-highlight.service.mjs +3 -3
- package/esm2022/lib/modules/tld-common/services/tld-translate-config.service.mjs +3 -3
- package/esm2022/lib/modules/tld-common/services/wtw-link-params.service.mjs +3 -3
- package/esm2022/lib/modules/tld-common/tld-common.module.mjs +4 -4
- package/esm2022/lib/modules/tld-document/download-button/download-button.component.mjs +3 -3
- package/esm2022/lib/modules/tld-document/image-conversion-help/image-conversion-help.component.mjs +3 -3
- package/esm2022/lib/modules/tld-document/pdf-conversion-help/pdf-conversion-help.component.mjs +3 -3
- package/esm2022/lib/modules/tld-document/services/api/file-api.service.mjs +3 -3
- package/esm2022/lib/modules/tld-document/services/api-v2/file-api-v2.service.mjs +3 -3
- package/esm2022/lib/modules/tld-document/services/tld-translate-file.service.mjs +3 -3
- package/esm2022/lib/modules/tld-document/tld-document.module.mjs +4 -4
- package/esm2022/lib/modules/tld-document/tld-file-translate-base.component.mjs +3 -3
- package/esm2022/lib/modules/tld-document/tld-translate-file-multiple/tld-translate-file-multiple.component.mjs +3 -3
- package/esm2022/lib/modules/tld-term/create-collection/create-collection.component.mjs +11 -7
- package/esm2022/lib/modules/tld-term/index.mjs +1 -2
- package/esm2022/lib/modules/tld-term/services/api-v1/mt-term-v1.service.mjs +3 -3
- package/esm2022/lib/modules/tld-term/services/api-v2/mt-term-v2.service.mjs +3 -3
- package/esm2022/lib/modules/tld-term/services/engine-term/eninge-term-api.service.mjs +6 -5
- package/esm2022/lib/modules/tld-term/services/term-api/term-api.service.mjs +3 -3
- package/esm2022/lib/modules/tld-term/services/terminology.service.mjs +4 -7
- package/esm2022/lib/modules/tld-term/tld-term-collection/tld-term-collection.component.mjs +10 -9
- package/esm2022/lib/modules/tld-term/tld-term-collection-list/tld-term-collection-list.component.mjs +3 -3
- package/esm2022/lib/modules/tld-term/tld-term-create-collection-dialog/tld-term-create-collection-dialog.component.mjs +3 -3
- package/esm2022/lib/modules/tld-term/tld-term-menu/tld-term-menu.component.mjs +14 -10
- package/esm2022/lib/modules/tld-term/tld-term.module.mjs +6 -7
- package/esm2022/lib/modules/tld-text/components/highlight-tree/highlight-tree.component.mjs +3 -3
- package/esm2022/lib/modules/tld-text/components/progress-indicator/progress-indicator.component.mjs +3 -3
- package/esm2022/lib/modules/tld-text/components/textarea-with-background/textarea-with-background.component.mjs +3 -3
- package/esm2022/lib/modules/tld-text/components/tld-dictionary/tld-dictionary.component.mjs +3 -3
- package/esm2022/lib/modules/tld-text/components/tld-translate-source/tld-translate-source.component.mjs +3 -3
- package/esm2022/lib/modules/tld-text/components/tld-translate-suggest/dialog/tld-translate-suggest-dialog.component.mjs +3 -3
- package/esm2022/lib/modules/tld-text/components/tld-translate-suggest/tld-translate-suggest.component.mjs +3 -3
- package/esm2022/lib/modules/tld-text/components/tld-translate-text/tld-translate-text.component.mjs +3 -3
- package/esm2022/lib/modules/tld-text/services/api/tld-translate-text-api.service.mjs +3 -3
- package/esm2022/lib/modules/tld-text/services/api-v2/tld-translate-text-api-v2.service.mjs +3 -3
- package/esm2022/lib/modules/tld-text/services/tld-translate-text.service.mjs +3 -3
- package/esm2022/lib/modules/tld-text/tld-text.module.mjs +4 -4
- package/esm2022/lib/modules/tld-tooltip/services/api/tld-system-api.service.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/services/api-v2/tld-system-api-v2.service.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/services/tld-system.service.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/tld-domain-list/tld-domain-list.component.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/tld-tooltip.module.mjs +4 -4
- package/esm2022/lib/modules/tld-tooltip/tld-translate-switcher/tld-translate-switcher.component.mjs +5 -5
- package/esm2022/lib/modules/tld-tooltip/translation-system-picker/dropdown/translation-system-picker-dropdown.component.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/translation-system-picker/dropdown-body/translation-system-picker-dropdown-body.component.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/translation-system-picker/filter/translation-system-picker-filter.component.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/translation-system-picker/language-list/translation-system-picker-language-list.component.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/translation-system-picker/services/translation-system-picker.service.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/translation-system-picker/system-list/translation-system-picker-system-list.component.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/translation-system-picker/system-picker-button/translation-system-picker-button.component.mjs +3 -3
- package/esm2022/lib/modules/tld-tooltip/translation-system-picker/translation-system-picker.component.mjs +3 -3
- package/esm2022/lib/modules/tld-translate-file/tld-translate-file.component.mjs +3 -3
- package/esm2022/lib/modules/tld-web/tld-translate-web/tld-translate-web.component.mjs +3 -3
- package/esm2022/lib/modules/tld-web/tld-translate-web.service.mjs +3 -3
- package/esm2022/lib/modules/tld-web/tld-web.module.mjs +4 -4
- package/esm2022/lib/tld-translate-body/tld-translate-body.component.mjs +3 -3
- package/esm2022/lib/tld-translate.component.mjs +3 -3
- package/esm2022/lib/tld-translate.module.mjs +7 -6
- package/fesm2022/tilde-nlp-ngx-translate.mjs +325 -380
- package/fesm2022/tilde-nlp-ngx-translate.mjs.map +1 -1
- package/lib/i18n/de.d.ts +0 -6
- package/lib/i18n/en.d.ts +2 -3
- package/lib/i18n/et.d.ts +0 -6
- package/lib/i18n/fi.d.ts +0 -6
- package/lib/i18n/lt.d.ts +0 -6
- package/lib/i18n/lv.d.ts +3 -4
- package/lib/i18n/pl.d.ts +0 -6
- package/lib/modules/tld-term/create-collection/create-collection.component.d.ts +1 -0
- package/lib/modules/tld-term/index.d.ts +0 -1
- package/lib/modules/tld-term/services/terminology.service.d.ts +0 -1
- package/lib/modules/tld-term/tld-term-collection/tld-term-collection.component.d.ts +3 -1
- package/lib/modules/tld-term/tld-term-menu/tld-term-menu.component.d.ts +3 -2
- package/lib/modules/tld-term/tld-term.module.d.ts +13 -14
- package/package.json +1 -1
- package/src/assets/webcomponent/styles.css +1 -1
- package/src/assets/webcomponent/tld-translate.js +2 -2
- package/src/assets/webtranslate/page-translate-widget.js +1 -1
- package/tilde-nlp-ngx-translate-4.0.2.tgz +0 -0
- package/esm2022/lib/modules/tld-term/tld-term-promotion/tld-term-promotion.component.mjs +0 -39
- package/lib/modules/tld-term/tld-term-promotion/tld-term-promotion.component.d.ts +0 -17
- package/tilde-nlp-ngx-translate-4.0.0.tgz +0 -0
|
@@ -16,8 +16,8 @@ import { TldTranslateButtonComponent } from './components/translate-button/trans
|
|
|
16
16
|
import { TranslateDomainPipe } from './pipes/translate-domain.pipe';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
18
|
export class TldCommonModule {
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
20
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: TldCommonModule, declarations: [TldTranslateAchievementComponent,
|
|
21
21
|
TldLangListComponent,
|
|
22
22
|
TldLoaderComponent,
|
|
23
23
|
TldMessageComponent,
|
|
@@ -40,7 +40,7 @@ export class TldCommonModule {
|
|
|
40
40
|
TranslateDomainPipe,
|
|
41
41
|
TldListMenuComponent,
|
|
42
42
|
SourceAndTargetWrapperComponent] });
|
|
43
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
43
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldCommonModule, imports: [FormsModule,
|
|
44
44
|
CommonModule,
|
|
45
45
|
MaterialModule,
|
|
46
46
|
TranslateModule,
|
|
@@ -48,7 +48,7 @@ export class TldCommonModule {
|
|
|
48
48
|
SortTranslationsModule,
|
|
49
49
|
TextToSpeechModule] });
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldCommonModule, decorators: [{
|
|
52
52
|
type: NgModule,
|
|
53
53
|
args: [{
|
|
54
54
|
declarations: [
|
|
@@ -67,10 +67,10 @@ export class TldTranslateFileDownloadButtonComponent {
|
|
|
67
67
|
const panel = document.getElementById(this.menu.panelId);
|
|
68
68
|
panel.setAttribute("data-test-id", 'tld-download-file-list');
|
|
69
69
|
}
|
|
70
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
71
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
70
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileDownloadButtonComponent, deps: [{ token: i1.TldTranslateFileService }, { token: i2.TldTranslateConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TldTranslateFileDownloadButtonComponent, selector: "tld-translate-file-download-button", inputs: { file: "file", disabled: "disabled", sourceDownload: "sourceDownload" }, outputs: { tldClick: "tldClick" }, viewQueries: [{ propertyName: "menu", first: true, predicate: MatMenu, descendants: true }], ngImport: i0, template: "<div fxLayout=\"row\">\r\n\r\n <button mat-stroked-button color=\"accent\" (click)=\"onClick()\" class=\"action-button border-accent download-button\"\r\n [disabled]=\"disabled\">\r\n <span class=\"material-icons\">\r\n file_download\r\n </span>\r\n <span class=\"download-btn-text text-m-semi-bold\">\r\n {{'TLD_TRANSLATE.DOWNLOAD_TRANSLATED' | translate}}\r\n </span>\r\n </button>\r\n <button mat-stroked-button color=\"accent\" class=\"extension-button border-accent\" #menuTrigger=\"matMenuTrigger\"\r\n data-test-id=\"download-other-formats-button\" (menuOpened)=\"onMenuOpen()\" *ngIf=\"extensions && extensions.length>1\"\r\n [matMenuTriggerFor]=\"extensionMenu\" [disabled]=\"disabled\"\r\n [attr.aria-label]=\"'ARIA_LABELS.SHOW_EXTENSIONS' | translate\" fxLayoutAlign=\"center center\">\r\n <span class=\"material-icons\">\r\n arrow_drop_down\r\n </span>\r\n </button>\r\n</div>\r\n<mat-menu #extensionMenu=\"matMenu\">\r\n <div fxLayout=\"column\">\r\n <ng-container *ngFor=\"let extension of extensions\">\r\n <button mat-menu-item fxLayoutAlign=\"start center\" *ngIf=\"canDownload(extension.extension)\" class=\"language-title\"\r\n (click)=\"onClick(extension)\">\r\n {{extension.extension}}\r\n </button>\r\n </ng-container>\r\n <button mat-menu-item fxLayoutAlign=\"start center\" *ngIf=\"showSourceDownloadPdf\" class=\"language-title\"\r\n (click)=\"onSourceClick()\">\r\n {{'TLD_TRANSLATE.FILE_DOWNLOAD_SOURCE'|translate}}\r\n </button>\r\n <button mat-menu-item fxLayoutAlign=\"start center\" *ngIf=\"showSourceDownloadImage\" class=\"language-title\"\r\n (click)=\"onSourceClick()\">\r\n {{'TLD_TRANSLATE.FILE_DOWNLOAD_SOURCE_IMAGE'|translate}}\r\n </button>\r\n </div>\r\n</mat-menu>\r\n", styles: [".action-button{width:100%;padding:5px}.download-button .material-icons{margin-right:.5625rem;width:.8125rem}.extension-button{padding:0;min-width:38px;margin-left:2px}.action-button.mat-mdc-outlined-button.mat-accent,.extension-button.mat-mdc-outlined-button.mat-accent{background-color:#fff}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i6.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i6.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i6.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileDownloadButtonComponent, decorators: [{
|
|
74
74
|
type: Component,
|
|
75
75
|
args: [{ selector: 'tld-translate-file-download-button', template: "<div fxLayout=\"row\">\r\n\r\n <button mat-stroked-button color=\"accent\" (click)=\"onClick()\" class=\"action-button border-accent download-button\"\r\n [disabled]=\"disabled\">\r\n <span class=\"material-icons\">\r\n file_download\r\n </span>\r\n <span class=\"download-btn-text text-m-semi-bold\">\r\n {{'TLD_TRANSLATE.DOWNLOAD_TRANSLATED' | translate}}\r\n </span>\r\n </button>\r\n <button mat-stroked-button color=\"accent\" class=\"extension-button border-accent\" #menuTrigger=\"matMenuTrigger\"\r\n data-test-id=\"download-other-formats-button\" (menuOpened)=\"onMenuOpen()\" *ngIf=\"extensions && extensions.length>1\"\r\n [matMenuTriggerFor]=\"extensionMenu\" [disabled]=\"disabled\"\r\n [attr.aria-label]=\"'ARIA_LABELS.SHOW_EXTENSIONS' | translate\" fxLayoutAlign=\"center center\">\r\n <span class=\"material-icons\">\r\n arrow_drop_down\r\n </span>\r\n </button>\r\n</div>\r\n<mat-menu #extensionMenu=\"matMenu\">\r\n <div fxLayout=\"column\">\r\n <ng-container *ngFor=\"let extension of extensions\">\r\n <button mat-menu-item fxLayoutAlign=\"start center\" *ngIf=\"canDownload(extension.extension)\" class=\"language-title\"\r\n (click)=\"onClick(extension)\">\r\n {{extension.extension}}\r\n </button>\r\n </ng-container>\r\n <button mat-menu-item fxLayoutAlign=\"start center\" *ngIf=\"showSourceDownloadPdf\" class=\"language-title\"\r\n (click)=\"onSourceClick()\">\r\n {{'TLD_TRANSLATE.FILE_DOWNLOAD_SOURCE'|translate}}\r\n </button>\r\n <button mat-menu-item fxLayoutAlign=\"start center\" *ngIf=\"showSourceDownloadImage\" class=\"language-title\"\r\n (click)=\"onSourceClick()\">\r\n {{'TLD_TRANSLATE.FILE_DOWNLOAD_SOURCE_IMAGE'|translate}}\r\n </button>\r\n </div>\r\n</mat-menu>\r\n", styles: [".action-button{width:100%;padding:5px}.download-button .material-icons{margin-right:.5625rem;width:.8125rem}.extension-button{padding:0;min-width:38px;margin-left:2px}.action-button.mat-mdc-outlined-button.mat-accent,.extension-button.mat-mdc-outlined-button.mat-accent{background-color:#fff}\n"] }]
|
|
76
76
|
}], ctorParameters: function () { return [{ type: i1.TldTranslateFileService }, { type: i2.TldTranslateConfigService }]; }, propDecorators: { menu: [{
|
package/esm2022/lib/modules/tld-document/image-conversion-help/image-conversion-help.component.mjs
CHANGED
|
@@ -28,10 +28,10 @@ export class TldTranslateImageConversionHelpComponent {
|
|
|
28
28
|
this.imageSrc = this.files.translationFiles?.length > 1 || this.config.fileConfig.useMultipleFileUpload ?
|
|
29
29
|
this.multipleFileImageDownloadHelpImageSrc : this.singleFileImageDownloadHelpImageSrc;
|
|
30
30
|
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
32
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
31
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateImageConversionHelpComponent, deps: [{ token: i1.TldTranslateConfigService }, { token: i2.TldTranslateFileService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TldTranslateImageConversionHelpComponent, selector: "lib-image-conversion-help", ngImport: i0, template: "<mat-dialog-content>\r\n <section>\r\n\r\n <h1 id=\"image-disclaimer-title\">{{'IMAGE_CONVERSION.TITLE_1' | translate}}</h1>\r\n\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_1_1' | translate}}</p>\r\n <p [innerHtml]=\"'IMAGE_CONVERSION.PARAGRAPH_1_2' | translate\"></p>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_1_3' | translate}}</p>\r\n <img *ngIf=\"showImage\" [attr.src]=\"imageSrc+'_'+selectedLanguage+helpImageExtension\" [attr.alt]=\"'IMAGE_CONVERSION.IMAGE_ALT_1' | translate\" />\r\n\r\n <h2>{{'IMAGE_CONVERSION.TITLE_2' | translate}}</h2>\r\n\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_2_1' | translate}}</p>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_2_2' | translate}}</p>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_2_3' | translate}}</p>\r\n <ul>\r\n <li>{{'IMAGE_CONVERSION.LI_1_1' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_1_2' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_1_3' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_1_4' | translate}}</li>\r\n </ul>\r\n\r\n <h2>{{'IMAGE_CONVERSION.TITLE_3' | translate}}</h2>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_3_1' | translate}}</p>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_3_2' | translate}}</p>\r\n\r\n <ul>\r\n <li>{{'IMAGE_CONVERSION.LI_2_1' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_2' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_3' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_4' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_5' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_6' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_7' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_8' | translate}}</li>\r\n </ul>\r\n\r\n <p [innerHtml]=\"'IMAGE_CONVERSION.PARAGRAPH_4_1' | translate\"></p>\r\n </section>\r\n</mat-dialog-content>\r\n<mat-dialog-actions align=\"center\">\r\n <button mat-button mat-dialog-close color=\"accent\">{{'IMAGE_CONVERSION.CLOSE' | translate }}</button>\r\n</mat-dialog-actions>\r\n", styles: ["mat-dialog-content{position:relative}img{margin-bottom:1em;max-width:550px;border-top:2px solid var(--base-70);border-bottom:2px solid var(--base-70);border-right:2px solid var(--base-70);border-left:2px solid var(--base-70)}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i6.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i6.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
|
33
33
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateImageConversionHelpComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
36
|
args: [{ selector: 'lib-image-conversion-help', template: "<mat-dialog-content>\r\n <section>\r\n\r\n <h1 id=\"image-disclaimer-title\">{{'IMAGE_CONVERSION.TITLE_1' | translate}}</h1>\r\n\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_1_1' | translate}}</p>\r\n <p [innerHtml]=\"'IMAGE_CONVERSION.PARAGRAPH_1_2' | translate\"></p>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_1_3' | translate}}</p>\r\n <img *ngIf=\"showImage\" [attr.src]=\"imageSrc+'_'+selectedLanguage+helpImageExtension\" [attr.alt]=\"'IMAGE_CONVERSION.IMAGE_ALT_1' | translate\" />\r\n\r\n <h2>{{'IMAGE_CONVERSION.TITLE_2' | translate}}</h2>\r\n\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_2_1' | translate}}</p>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_2_2' | translate}}</p>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_2_3' | translate}}</p>\r\n <ul>\r\n <li>{{'IMAGE_CONVERSION.LI_1_1' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_1_2' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_1_3' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_1_4' | translate}}</li>\r\n </ul>\r\n\r\n <h2>{{'IMAGE_CONVERSION.TITLE_3' | translate}}</h2>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_3_1' | translate}}</p>\r\n <p>{{'IMAGE_CONVERSION.PARAGRAPH_3_2' | translate}}</p>\r\n\r\n <ul>\r\n <li>{{'IMAGE_CONVERSION.LI_2_1' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_2' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_3' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_4' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_5' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_6' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_7' | translate}}</li>\r\n <li>{{'IMAGE_CONVERSION.LI_2_8' | translate}}</li>\r\n </ul>\r\n\r\n <p [innerHtml]=\"'IMAGE_CONVERSION.PARAGRAPH_4_1' | translate\"></p>\r\n </section>\r\n</mat-dialog-content>\r\n<mat-dialog-actions align=\"center\">\r\n <button mat-button mat-dialog-close color=\"accent\">{{'IMAGE_CONVERSION.CLOSE' | translate }}</button>\r\n</mat-dialog-actions>\r\n", styles: ["mat-dialog-content{position:relative}img{margin-bottom:1em;max-width:550px;border-top:2px solid var(--base-70);border-bottom:2px solid var(--base-70);border-right:2px solid var(--base-70);border-left:2px solid var(--base-70)}\n"] }]
|
|
37
37
|
}], ctorParameters: function () { return [{ type: i1.TldTranslateConfigService }, { type: i2.TldTranslateFileService }, { type: i3.TranslateService }]; } });
|
package/esm2022/lib/modules/tld-document/pdf-conversion-help/pdf-conversion-help.component.mjs
CHANGED
|
@@ -28,10 +28,10 @@ export class TldTranslatePdfConversionHelpComponent {
|
|
|
28
28
|
this.imageSrc = this.files.translationFiles?.length > 1 || this.config.fileConfig.useMultipleFileUpload ?
|
|
29
29
|
this.multipleFilePdfDownloadHelpImageSrc : this.singleFilePdfDownloadHelpImageSrc;
|
|
30
30
|
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
32
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
31
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslatePdfConversionHelpComponent, deps: [{ token: i1.TldTranslateConfigService }, { token: i2.TldTranslateFileService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TldTranslatePdfConversionHelpComponent, selector: "tld-translate-pdf-conversion-help", ngImport: i0, template: "<mat-dialog-content>\r\n <section>\r\n\r\n <h1 id=\"pdf-disclaimer-title\">{{'PDF_CONVERSION.TITLE_1' | translate}}</h1>\r\n\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_1_1' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_1_2' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_1_3' | translate}}</p>\r\n <img *ngIf=\"showImage\" [attr.src]=\"imageSrc+'_'+selectedLanguage+helpImageExtension\" [attr.alt]=\"'PDF_CONVERSION.IMAGE_ALT_1' | translate\" />\r\n\r\n <h2>{{'PDF_CONVERSION.TITLE_2' | translate}}</h2>\r\n\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_2_1' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_2_2' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_2_3' | translate}}</p>\r\n <ul>\r\n <li>{{'PDF_CONVERSION.LI_1_1' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_1_2' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_1_3' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_1_4' | translate}}</li>\r\n </ul>\r\n\r\n <h2>{{'PDF_CONVERSION.TITLE_3' | translate}}</h2>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_3_1' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_3_2' | translate}}</p>\r\n\r\n <ul>\r\n <li>{{'PDF_CONVERSION.LI_2_1' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_2' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_3' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_4' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_5' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_6' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_7' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_8' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_9' | translate}}</li>\r\n </ul>\r\n\r\n <p [innerHtml]=\"'PDF_CONVERSION.PARAGRAPH_4_1' | translate\"></p>\r\n </section>\r\n</mat-dialog-content>\r\n<mat-dialog-actions align=\"center\">\r\n <button mat-button mat-dialog-close color=\"accent\">{{'PDF_CONVERSION.CLOSE' | translate }}</button>\r\n</mat-dialog-actions>\r\n", styles: ["mat-dialog-content{position:relative}img{margin-bottom:1em;max-width:550px;border-top:2px solid var(--base-70);border-bottom:2px solid var(--base-70);border-right:2px solid var(--base-70);border-left:2px solid var(--base-70)}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i6.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i6.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] });
|
|
33
33
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslatePdfConversionHelpComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
36
|
args: [{ selector: 'tld-translate-pdf-conversion-help', template: "<mat-dialog-content>\r\n <section>\r\n\r\n <h1 id=\"pdf-disclaimer-title\">{{'PDF_CONVERSION.TITLE_1' | translate}}</h1>\r\n\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_1_1' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_1_2' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_1_3' | translate}}</p>\r\n <img *ngIf=\"showImage\" [attr.src]=\"imageSrc+'_'+selectedLanguage+helpImageExtension\" [attr.alt]=\"'PDF_CONVERSION.IMAGE_ALT_1' | translate\" />\r\n\r\n <h2>{{'PDF_CONVERSION.TITLE_2' | translate}}</h2>\r\n\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_2_1' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_2_2' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_2_3' | translate}}</p>\r\n <ul>\r\n <li>{{'PDF_CONVERSION.LI_1_1' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_1_2' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_1_3' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_1_4' | translate}}</li>\r\n </ul>\r\n\r\n <h2>{{'PDF_CONVERSION.TITLE_3' | translate}}</h2>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_3_1' | translate}}</p>\r\n <p>{{'PDF_CONVERSION.PARAGRAPH_3_2' | translate}}</p>\r\n\r\n <ul>\r\n <li>{{'PDF_CONVERSION.LI_2_1' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_2' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_3' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_4' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_5' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_6' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_7' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_8' | translate}}</li>\r\n <li>{{'PDF_CONVERSION.LI_2_9' | translate}}</li>\r\n </ul>\r\n\r\n <p [innerHtml]=\"'PDF_CONVERSION.PARAGRAPH_4_1' | translate\"></p>\r\n </section>\r\n</mat-dialog-content>\r\n<mat-dialog-actions align=\"center\">\r\n <button mat-button mat-dialog-close color=\"accent\">{{'PDF_CONVERSION.CLOSE' | translate }}</button>\r\n</mat-dialog-actions>\r\n", styles: ["mat-dialog-content{position:relative}img{margin-bottom:1em;max-width:550px;border-top:2px solid var(--base-70);border-bottom:2px solid var(--base-70);border-right:2px solid var(--base-70);border-left:2px solid var(--base-70)}\n"] }]
|
|
37
37
|
}], ctorParameters: function () { return [{ type: i1.TldTranslateConfigService }, { type: i2.TldTranslateFileService }, { type: i3.TranslateService }]; } });
|
|
@@ -158,10 +158,10 @@ export class TldTranslateFileApiService {
|
|
|
158
158
|
getAuthHeaders() {
|
|
159
159
|
return Common.getAuthHeaders(this.config);
|
|
160
160
|
}
|
|
161
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
162
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.
|
|
161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileApiService, deps: [{ token: i1.HttpClient }, { token: i2.TldTranslateConfigService }, { token: i3.TerminologyService }, { token: i2.TldAlertService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
162
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileApiService, providedIn: 'root' });
|
|
163
163
|
}
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileApiService, decorators: [{
|
|
165
165
|
type: Injectable,
|
|
166
166
|
args: [{
|
|
167
167
|
providedIn: 'root'
|
|
@@ -83,10 +83,10 @@ export class FileApiV2Service {
|
|
|
83
83
|
return returnValue;
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
87
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.
|
|
86
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FileApiV2Service, deps: [{ token: i1.HttpClient }, { token: i2.TldTranslateConfigService }, { token: i3.TerminologyService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
87
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FileApiV2Service, providedIn: 'root' });
|
|
88
88
|
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FileApiV2Service, decorators: [{
|
|
90
90
|
type: Injectable,
|
|
91
91
|
args: [{
|
|
92
92
|
providedIn: 'root'
|
|
@@ -412,10 +412,10 @@ export class TldTranslateFileService {
|
|
|
412
412
|
translationFile.messages.push(inlineMessage);
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
416
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.
|
|
415
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileService, deps: [{ token: FILE_API_SERVICE_TOKEN }, { token: i1.TldAlertService }, { token: i2.DomSanitizer }, { token: i1.TldTranslateConfigService }, { token: i3.TldSystemService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
416
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileService, providedIn: 'root' });
|
|
417
417
|
}
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileService, decorators: [{
|
|
419
419
|
type: Injectable,
|
|
420
420
|
args: [{
|
|
421
421
|
providedIn: 'root'
|
|
@@ -15,8 +15,8 @@ import { TldFileTranslateBaseComponent } from './tld-file-translate-base.compone
|
|
|
15
15
|
import { TldTranslateFileMultipleComponent } from './tld-translate-file-multiple/tld-translate-file-multiple.component';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export class TldDocumentModule {
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
19
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldDocumentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: TldDocumentModule, declarations: [TldTranslateFileComponent,
|
|
20
20
|
TldTranslateFileMultipleComponent,
|
|
21
21
|
TldTranslateFileDownloadButtonComponent,
|
|
22
22
|
TldTranslatePdfConversionHelpComponent,
|
|
@@ -32,7 +32,7 @@ export class TldDocumentModule {
|
|
|
32
32
|
FileUploadModule], exports: [TldTranslateFileComponent,
|
|
33
33
|
TldTranslateFileMultipleComponent,
|
|
34
34
|
TldTranslateFileDownloadButtonComponent] });
|
|
35
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.
|
|
35
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldDocumentModule, imports: [CommonModule,
|
|
36
36
|
TldCommonModule,
|
|
37
37
|
TranslateModule,
|
|
38
38
|
FlexLayoutModule,
|
|
@@ -42,7 +42,7 @@ export class TldDocumentModule {
|
|
|
42
42
|
VendorDisclaimerModule,
|
|
43
43
|
FileUploadModule] });
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldDocumentModule, decorators: [{
|
|
46
46
|
type: NgModule,
|
|
47
47
|
args: [{
|
|
48
48
|
declarations: [
|
|
@@ -63,10 +63,10 @@ export class TldFileTranslateBaseComponent {
|
|
|
63
63
|
ngOnDestroy() {
|
|
64
64
|
this.clearAll();
|
|
65
65
|
}
|
|
66
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
67
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
66
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldFileTranslateBaseComponent, deps: [{ token: i1.MatDialog }, { token: i2.TldTranslateConfigService }, { token: i3.TldTranslateFileService }], target: i0.ɵɵFactoryTarget.Component });
|
|
67
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TldFileTranslateBaseComponent, selector: "ng-component", viewQueries: [{ propertyName: "pdfConversionButton", first: true, predicate: ["pdfConversionButton"], descendants: true }, { propertyName: "imageConversionButton", first: true, predicate: ["imageConversionButton"], descendants: true }], ngImport: i0, template: '', isInline: true });
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldFileTranslateBaseComponent, decorators: [{
|
|
70
70
|
type: Component,
|
|
71
71
|
args: [{
|
|
72
72
|
template: ''
|
|
@@ -93,10 +93,10 @@ export class TldTranslateFileMultipleComponent extends TldFileTranslateBaseCompo
|
|
|
93
93
|
const vendor = this.systemService.activeVendor;
|
|
94
94
|
this.showVendorNotification = this.config.fileConfig.progressIndicatorTitleVisibleForVendors.includes(vendor);
|
|
95
95
|
}
|
|
96
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
97
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.5", type: TldTranslateFileMultipleComponent, selector: "tld-translate-file-multiple", inputs: { translationFiles: "translationFiles" }, usesInheritance: true, ngImport: i0, template: "<div class=\"tld-translate-file-container\" [ngClass.xs]=\"'tld-multiple-mobile'\" fxLayout=\"column\" fxFlex\r\n fxLayoutAlign=\"start center\">\r\n <div class=\"cdk-visually-hidden\" aria-live=\"polite\">\r\n {{'MULTIPLE_FILES.SCREEN_READER_ANNOUNCEMENT' | translate: {translated:translatedFilesCount , total: fileCount} }}\r\n </div>\r\n <div fxLayout=\"column\" fxLayoutGap=\"0.5rem\" fxFlex class=\"multiple-files-body\">\r\n <div *ngFor=\"let file of translationFiles\" class=\"file-row\" [ngClass.gt-sm]=\"'extra-width'\" fxLayout=\"row\"\r\n fxLayoutAlign=\"center center\" fxLayoutAlign.xs=\"flex-start center\">\r\n <div fxLayout=\"column\" fxFlex>\r\n <div fxLayout=\"row\" fxLayoutAlign.xs=\"space-between center\" fxLayoutAlign=\"space-between center\">\r\n <div class=\"file-name\">\r\n {{file.originalFileName}}\r\n </div>\r\n <div fxLayout=\"row\" class=\"file-actions\">\r\n <tld-translate-file-download-button (tldClick)=\"download(file, $event)\" *ngIf=\"file.downloadAvailable\"\r\n [sourceDownload]=\"true\" [disabled]=\"file.isDownloading\" [file]=\"file\">\r\n </tld-translate-file-download-button>\r\n <tld-close-button [tooltip]=\"'FILE_UPLOAD.CLEAR'\" (tldClick)=\"remove(file)\"></tld-close-button>\r\n </div>\r\n </div>\r\n <mat-progress-bar *ngIf=\"file.translationStatuss===translatingStatuss\" color=\"accent\" mode=\"determinate\"\r\n [value]=\"file.progress\"></mat-progress-bar>\r\n <div class=\"progress-message text-s\"\r\n *ngIf=\"(file.translationStatuss !== errorTranslatingStatuss) && (file.translationStatuss !== completedTranslatingStatuss) && (file.translationStatuss !== uploadedTranslatingStatuss)\">\r\n {{'MULTIPLE_FILES.STATUSS_' + file.translationStatuss | translate: {percent: file.progress} }}\r\n </div>\r\n <ng-container *ngIf=\"file.messages.length>0\">\r\n <lib-inline-message *ngFor=\"let message of file.messages\" [message]=\"message\"></lib-inline-message>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <tld-file-upload *ngIf=\"!translationStarted\" fxFlex class=\"tld-append-files\" (fileChange)=\"fileChange($event)\"\r\n [accept]=\"allowedFileTypes\" [maxSize]=\"maxFileUploadSize\" [multiple]=\"multipleFiles\"\r\n [disabled]=\"disableAppendFiles\" (errorEvent)=\"fileUploadError($event)\" [extendedAcceptList]=\"extendedFileTypes\">\r\n {{'MULTIPLE_FILES.APPEND' | translate}} ({{fileCount}}/{{maxFileCount}})\r\n </tld-file-upload>\r\n </div>\r\n <ng-container *ngIf=\"sourceDownloadPDF\">\r\n <ng-container\r\n *ngTemplateOutlet=\"conversionMessage; context: { messageKey:'MULTIPLE_FILES.PDF_DISCLAIMER', dialogParams: pdfConversion, buttonText: 'MULTIPLE_FILES.PDF_DISCLAIMER_LINK'}\">\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"sourceDownloadImage\">\r\n <ng-container\r\n *ngTemplateOutlet=\"conversionMessage; context: { messageKey:'MULTIPLE_FILES.IMAGE_DISCLAIMER', dialogParams: imageConversion, buttonText: 'MULTIPLE_FILES.IMAGE_DISCLAIMER_LINK'}\">\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"showVendorNotification\">\r\n <vendor-disclaimer></vendor-disclaimer>\r\n </ng-container>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayout.xs=\"column\" fxLayuotGap.xs=\"1rem\" class=\"button-container\">\r\n <button (click)=\"clearAll()\" mat-stroked-button color=\"accent\"\r\n class=\"cancel-button border-accent\">{{'MULTIPLE_FILES.CLEAR_ALL' | translate}}</button>\r\n <tld-translate-button [disabled]=\"disableTranslateButton\" (clicked)=\"translateButtonClick()\"\r\n *ngIf=\"!translationStarted\"></tld-translate-button>\r\n </div>\r\n</div>\r\n\r\n<ng-template #conversionMessage let-messageKey=\"messageKey\" let-dialogParams=\"dialogParams\" let-buttonText=\"buttonText\">\r\n\r\n <p class=\"conversion-disclaimer text=m\" [ngClass.gt-sm]=\"'conversion-info-margins-gt-sm'\">\r\n <span class=\"material-icons\">\r\n info\r\n </span>\r\n <span>\r\n {{messageKey | translate }}\r\n </span>\r\n <button class=\"conversion-message-action text-m-semi-bold\" (click)=\"conversionDialog(dialogParams)\">{{buttonText |\r\n translate}}</button>\r\n</ng-template>\r\n", styles: [".semi-bold,.text-s-semi-bold,.text-m-semi-bold,.text-l-semi-bold,.text-xl-semi-bold,.text-2-xl,.text-3-xl,.text-4-xl{font-weight:600}@media (min-width: 600px){.text-4-xl{font-size:2.75rem;line-height:3.375rem}}@media (min-width: 0) and (max-width: 599.9px){.text-4-xl{font-size:2rem;line-height:2.625rem}}.text-3-xl{font-size:2rem;line-height:2.625rem}.text-2-xl{font-size:1.5rem;line-height:2.125rem}.text-xl,.text-xl-semi-bold{font-size:1.25rem;line-height:2rem}.text-l,.cancel-button,.text-l-semi-bold{font-size:1rem;line-height:1.625rem}.text-m,.text-m-semi-bold{font-size:.875rem;line-height:1.4375rem}.text-s,.text-s-semi-bold{font-size:.75rem;line-height:1.25rem}.tld-translate-file-container{padding:3em;width:100%}.tld-translate-file-container .file-row{min-height:4rem;width:100%;padding:.5em 0;border-bottom:1px solid var(--base-70)}.tld-translate-file-container .file-row .file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tld-translate-file-container .file-row lib-inline-message{margin-top:.5rem}.tld-translate-file-container .file-row .file-actions{margin-left:.5rem}.tld-append-files{font-size:1em;margin-top:1rem}.conversion-disclaimer.conversion-info-margins-gt-sm{margin:.5em 20%}.conversion-disclaimer:not(.conversion-info-margins-gt-sm){text-align:center}tld-translate-button{margin:1em}.tld-multiple-mobile{padding:1rem}.tld-multiple-mobile tld-translate-button{margin:1rem 0 0;width:100%}.tld-multiple-mobile .file-row,.tld-multiple-mobile .multiple-files-body,.tld-multiple-mobile .cancel-button,.tld-multiple-mobile .button-container{width:100%}.multiple-files-body ::ng-deep tld-file-upload .file-upload .upload-button{text-align:center}.download-file{cursor:pointer}.material-icons{vertical-align:middle;color:var(--base-40)}.conversion-message-action{background:transparent;color:var(--accent);border:none;cursor:pointer}.extra-width{min-width:30rem}.progress-message{color:var(--base-40)}mat-progress-bar{margin:.375rem 0}.cancel-button{padding:.375rem 1.5rem}vendor-disclaimer{margin-bottom:1rem}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i7.TldTranslateButtonComponent, selector: "tld-translate-button", inputs: ["disabled", "enablePulseAnimation"], outputs: ["clicked"] }, { kind: "directive", type: i8.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i9.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: i10.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i11.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i12.CloseButtonComponent, selector: "tld-close-button", inputs: ["ariaCode", "disabled", "tooltip"], outputs: ["tldClick"] }, { kind: "component", type: i12.InlineMessageComponent, selector: "lib-inline-message", inputs: ["iconName", "message"] }, { kind: "component", type: i13.VendorDisclaimerComponent, selector: "vendor-disclaimer" }, { kind: "component", type: i12.FileUploadComponent, selector: "tld-file-upload", inputs: ["accept", "maxSize", "multiple", "filePreviewProgress", "allowEmpty", "disabled", "uploadIconName", "extendedAcceptList"], outputs: ["fileChange", "errorEvent"] }, { kind: "component", type: i14.TldTranslateFileDownloadButtonComponent, selector: "tld-translate-file-download-button", inputs: ["file", "disabled", "sourceDownload"], outputs: ["tldClick"] }, { kind: "pipe", type: i15.TranslatePipe, name: "translate" }] });
|
|
96
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileMultipleComponent, deps: [{ token: i1.TldTranslateFileService }, { token: i2.TldTranslateConfigService }, { token: i3.MatDialog }, { token: i4.TldTranslateButtonService }, { token: i5.TldSystemService }], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: TldTranslateFileMultipleComponent, selector: "tld-translate-file-multiple", inputs: { translationFiles: "translationFiles" }, usesInheritance: true, ngImport: i0, template: "<div class=\"tld-translate-file-container\" [ngClass.xs]=\"'tld-multiple-mobile'\" fxLayout=\"column\" fxFlex\r\n fxLayoutAlign=\"start center\">\r\n <div class=\"cdk-visually-hidden\" aria-live=\"polite\">\r\n {{'MULTIPLE_FILES.SCREEN_READER_ANNOUNCEMENT' | translate: {translated:translatedFilesCount , total: fileCount} }}\r\n </div>\r\n <div fxLayout=\"column\" fxLayoutGap=\"0.5rem\" fxFlex class=\"multiple-files-body\">\r\n <div *ngFor=\"let file of translationFiles\" class=\"file-row\" [ngClass.gt-sm]=\"'extra-width'\" fxLayout=\"row\"\r\n fxLayoutAlign=\"center center\" fxLayoutAlign.xs=\"flex-start center\">\r\n <div fxLayout=\"column\" fxFlex>\r\n <div fxLayout=\"row\" fxLayoutAlign.xs=\"space-between center\" fxLayoutAlign=\"space-between center\">\r\n <div class=\"file-name\">\r\n {{file.originalFileName}}\r\n </div>\r\n <div fxLayout=\"row\" class=\"file-actions\">\r\n <tld-translate-file-download-button (tldClick)=\"download(file, $event)\" *ngIf=\"file.downloadAvailable\"\r\n [sourceDownload]=\"true\" [disabled]=\"file.isDownloading\" [file]=\"file\">\r\n </tld-translate-file-download-button>\r\n <tld-close-button [tooltip]=\"'FILE_UPLOAD.CLEAR'\" (tldClick)=\"remove(file)\"></tld-close-button>\r\n </div>\r\n </div>\r\n <mat-progress-bar *ngIf=\"file.translationStatuss===translatingStatuss\" color=\"accent\" mode=\"determinate\"\r\n [value]=\"file.progress\"></mat-progress-bar>\r\n <div class=\"progress-message text-s\"\r\n *ngIf=\"(file.translationStatuss !== errorTranslatingStatuss) && (file.translationStatuss !== completedTranslatingStatuss) && (file.translationStatuss !== uploadedTranslatingStatuss)\">\r\n {{'MULTIPLE_FILES.STATUSS_' + file.translationStatuss | translate: {percent: file.progress} }}\r\n </div>\r\n <ng-container *ngIf=\"file.messages.length>0\">\r\n <lib-inline-message *ngFor=\"let message of file.messages\" [message]=\"message\"></lib-inline-message>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <tld-file-upload *ngIf=\"!translationStarted\" fxFlex class=\"tld-append-files\" (fileChange)=\"fileChange($event)\"\r\n [accept]=\"allowedFileTypes\" [maxSize]=\"maxFileUploadSize\" [multiple]=\"multipleFiles\"\r\n [disabled]=\"disableAppendFiles\" (errorEvent)=\"fileUploadError($event)\" [extendedAcceptList]=\"extendedFileTypes\">\r\n {{'MULTIPLE_FILES.APPEND' | translate}} ({{fileCount}}/{{maxFileCount}})\r\n </tld-file-upload>\r\n </div>\r\n <ng-container *ngIf=\"sourceDownloadPDF\">\r\n <ng-container\r\n *ngTemplateOutlet=\"conversionMessage; context: { messageKey:'MULTIPLE_FILES.PDF_DISCLAIMER', dialogParams: pdfConversion, buttonText: 'MULTIPLE_FILES.PDF_DISCLAIMER_LINK'}\">\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"sourceDownloadImage\">\r\n <ng-container\r\n *ngTemplateOutlet=\"conversionMessage; context: { messageKey:'MULTIPLE_FILES.IMAGE_DISCLAIMER', dialogParams: imageConversion, buttonText: 'MULTIPLE_FILES.IMAGE_DISCLAIMER_LINK'}\">\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"showVendorNotification\">\r\n <vendor-disclaimer></vendor-disclaimer>\r\n </ng-container>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayout.xs=\"column\" fxLayuotGap.xs=\"1rem\" class=\"button-container\">\r\n <button (click)=\"clearAll()\" mat-stroked-button color=\"accent\"\r\n class=\"cancel-button border-accent\">{{'MULTIPLE_FILES.CLEAR_ALL' | translate}}</button>\r\n <tld-translate-button [disabled]=\"disableTranslateButton\" (clicked)=\"translateButtonClick()\"\r\n *ngIf=\"!translationStarted\"></tld-translate-button>\r\n </div>\r\n</div>\r\n\r\n<ng-template #conversionMessage let-messageKey=\"messageKey\" let-dialogParams=\"dialogParams\" let-buttonText=\"buttonText\">\r\n\r\n <p class=\"conversion-disclaimer text=m\" [ngClass.gt-sm]=\"'conversion-info-margins-gt-sm'\">\r\n <span class=\"material-icons\">\r\n info\r\n </span>\r\n <span>\r\n {{messageKey | translate }}\r\n </span>\r\n <button class=\"conversion-message-action text-m-semi-bold\" (click)=\"conversionDialog(dialogParams)\">{{buttonText |\r\n translate}}</button>\r\n</ng-template>\r\n", styles: [".semi-bold,.text-s-semi-bold,.text-m-semi-bold,.text-l-semi-bold,.text-xl-semi-bold,.text-2-xl,.text-3-xl,.text-4-xl{font-weight:600}@media (min-width: 600px){.text-4-xl{font-size:2.75rem;line-height:3.375rem}}@media (min-width: 0) and (max-width: 599.9px){.text-4-xl{font-size:2rem;line-height:2.625rem}}.text-3-xl{font-size:2rem;line-height:2.625rem}.text-2-xl{font-size:1.5rem;line-height:2.125rem}.text-xl,.text-xl-semi-bold{font-size:1.25rem;line-height:2rem}.text-l,.cancel-button,.text-l-semi-bold{font-size:1rem;line-height:1.625rem}.text-m,.text-m-semi-bold{font-size:.875rem;line-height:1.4375rem}.text-s,.text-s-semi-bold{font-size:.75rem;line-height:1.25rem}.tld-translate-file-container{padding:3em;width:100%}.tld-translate-file-container .file-row{min-height:4rem;width:100%;padding:.5em 0;border-bottom:1px solid var(--base-70)}.tld-translate-file-container .file-row .file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tld-translate-file-container .file-row lib-inline-message{margin-top:.5rem}.tld-translate-file-container .file-row .file-actions{margin-left:.5rem}.tld-append-files{font-size:1em;margin-top:1rem}.conversion-disclaimer.conversion-info-margins-gt-sm{margin:.5em 20%}.conversion-disclaimer:not(.conversion-info-margins-gt-sm){text-align:center}tld-translate-button{margin:1em}.tld-multiple-mobile{padding:1rem}.tld-multiple-mobile tld-translate-button{margin:1rem 0 0;width:100%}.tld-multiple-mobile .file-row,.tld-multiple-mobile .multiple-files-body,.tld-multiple-mobile .cancel-button,.tld-multiple-mobile .button-container{width:100%}.multiple-files-body ::ng-deep tld-file-upload .file-upload .upload-button{text-align:center}.download-file{cursor:pointer}.material-icons{vertical-align:middle;color:var(--base-40)}.conversion-message-action{background:transparent;color:var(--accent);border:none;cursor:pointer}.extra-width{min-width:30rem}.progress-message{color:var(--base-40)}mat-progress-bar{margin:.375rem 0}.cancel-button{padding:.375rem 1.5rem}vendor-disclaimer{margin-bottom:1rem}\n"], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i7.TldTranslateButtonComponent, selector: "tld-translate-button", inputs: ["disabled", "enablePulseAnimation"], outputs: ["clicked"] }, { kind: "directive", type: i8.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i9.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: i10.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i11.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "component", type: i12.CloseButtonComponent, selector: "tld-close-button", inputs: ["ariaCode", "disabled", "tooltip"], outputs: ["tldClick"] }, { kind: "component", type: i12.InlineMessageComponent, selector: "lib-inline-message", inputs: ["iconName", "message"] }, { kind: "component", type: i13.VendorDisclaimerComponent, selector: "vendor-disclaimer" }, { kind: "component", type: i12.FileUploadComponent, selector: "tld-file-upload", inputs: ["accept", "maxSize", "multiple", "filePreviewProgress", "allowEmpty", "disabled", "uploadIconName", "extendedAcceptList"], outputs: ["fileChange", "errorEvent"] }, { kind: "component", type: i14.TldTranslateFileDownloadButtonComponent, selector: "tld-translate-file-download-button", inputs: ["file", "disabled", "sourceDownload"], outputs: ["tldClick"] }, { kind: "pipe", type: i15.TranslatePipe, name: "translate" }] });
|
|
98
98
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TldTranslateFileMultipleComponent, decorators: [{
|
|
100
100
|
type: Component,
|
|
101
101
|
args: [{ selector: 'tld-translate-file-multiple', template: "<div class=\"tld-translate-file-container\" [ngClass.xs]=\"'tld-multiple-mobile'\" fxLayout=\"column\" fxFlex\r\n fxLayoutAlign=\"start center\">\r\n <div class=\"cdk-visually-hidden\" aria-live=\"polite\">\r\n {{'MULTIPLE_FILES.SCREEN_READER_ANNOUNCEMENT' | translate: {translated:translatedFilesCount , total: fileCount} }}\r\n </div>\r\n <div fxLayout=\"column\" fxLayoutGap=\"0.5rem\" fxFlex class=\"multiple-files-body\">\r\n <div *ngFor=\"let file of translationFiles\" class=\"file-row\" [ngClass.gt-sm]=\"'extra-width'\" fxLayout=\"row\"\r\n fxLayoutAlign=\"center center\" fxLayoutAlign.xs=\"flex-start center\">\r\n <div fxLayout=\"column\" fxFlex>\r\n <div fxLayout=\"row\" fxLayoutAlign.xs=\"space-between center\" fxLayoutAlign=\"space-between center\">\r\n <div class=\"file-name\">\r\n {{file.originalFileName}}\r\n </div>\r\n <div fxLayout=\"row\" class=\"file-actions\">\r\n <tld-translate-file-download-button (tldClick)=\"download(file, $event)\" *ngIf=\"file.downloadAvailable\"\r\n [sourceDownload]=\"true\" [disabled]=\"file.isDownloading\" [file]=\"file\">\r\n </tld-translate-file-download-button>\r\n <tld-close-button [tooltip]=\"'FILE_UPLOAD.CLEAR'\" (tldClick)=\"remove(file)\"></tld-close-button>\r\n </div>\r\n </div>\r\n <mat-progress-bar *ngIf=\"file.translationStatuss===translatingStatuss\" color=\"accent\" mode=\"determinate\"\r\n [value]=\"file.progress\"></mat-progress-bar>\r\n <div class=\"progress-message text-s\"\r\n *ngIf=\"(file.translationStatuss !== errorTranslatingStatuss) && (file.translationStatuss !== completedTranslatingStatuss) && (file.translationStatuss !== uploadedTranslatingStatuss)\">\r\n {{'MULTIPLE_FILES.STATUSS_' + file.translationStatuss | translate: {percent: file.progress} }}\r\n </div>\r\n <ng-container *ngIf=\"file.messages.length>0\">\r\n <lib-inline-message *ngFor=\"let message of file.messages\" [message]=\"message\"></lib-inline-message>\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <tld-file-upload *ngIf=\"!translationStarted\" fxFlex class=\"tld-append-files\" (fileChange)=\"fileChange($event)\"\r\n [accept]=\"allowedFileTypes\" [maxSize]=\"maxFileUploadSize\" [multiple]=\"multipleFiles\"\r\n [disabled]=\"disableAppendFiles\" (errorEvent)=\"fileUploadError($event)\" [extendedAcceptList]=\"extendedFileTypes\">\r\n {{'MULTIPLE_FILES.APPEND' | translate}} ({{fileCount}}/{{maxFileCount}})\r\n </tld-file-upload>\r\n </div>\r\n <ng-container *ngIf=\"sourceDownloadPDF\">\r\n <ng-container\r\n *ngTemplateOutlet=\"conversionMessage; context: { messageKey:'MULTIPLE_FILES.PDF_DISCLAIMER', dialogParams: pdfConversion, buttonText: 'MULTIPLE_FILES.PDF_DISCLAIMER_LINK'}\">\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"sourceDownloadImage\">\r\n <ng-container\r\n *ngTemplateOutlet=\"conversionMessage; context: { messageKey:'MULTIPLE_FILES.IMAGE_DISCLAIMER', dialogParams: imageConversion, buttonText: 'MULTIPLE_FILES.IMAGE_DISCLAIMER_LINK'}\">\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"showVendorNotification\">\r\n <vendor-disclaimer></vendor-disclaimer>\r\n </ng-container>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayout.xs=\"column\" fxLayuotGap.xs=\"1rem\" class=\"button-container\">\r\n <button (click)=\"clearAll()\" mat-stroked-button color=\"accent\"\r\n class=\"cancel-button border-accent\">{{'MULTIPLE_FILES.CLEAR_ALL' | translate}}</button>\r\n <tld-translate-button [disabled]=\"disableTranslateButton\" (clicked)=\"translateButtonClick()\"\r\n *ngIf=\"!translationStarted\"></tld-translate-button>\r\n </div>\r\n</div>\r\n\r\n<ng-template #conversionMessage let-messageKey=\"messageKey\" let-dialogParams=\"dialogParams\" let-buttonText=\"buttonText\">\r\n\r\n <p class=\"conversion-disclaimer text=m\" [ngClass.gt-sm]=\"'conversion-info-margins-gt-sm'\">\r\n <span class=\"material-icons\">\r\n info\r\n </span>\r\n <span>\r\n {{messageKey | translate }}\r\n </span>\r\n <button class=\"conversion-message-action text-m-semi-bold\" (click)=\"conversionDialog(dialogParams)\">{{buttonText |\r\n translate}}</button>\r\n</ng-template>\r\n", styles: [".semi-bold,.text-s-semi-bold,.text-m-semi-bold,.text-l-semi-bold,.text-xl-semi-bold,.text-2-xl,.text-3-xl,.text-4-xl{font-weight:600}@media (min-width: 600px){.text-4-xl{font-size:2.75rem;line-height:3.375rem}}@media (min-width: 0) and (max-width: 599.9px){.text-4-xl{font-size:2rem;line-height:2.625rem}}.text-3-xl{font-size:2rem;line-height:2.625rem}.text-2-xl{font-size:1.5rem;line-height:2.125rem}.text-xl,.text-xl-semi-bold{font-size:1.25rem;line-height:2rem}.text-l,.cancel-button,.text-l-semi-bold{font-size:1rem;line-height:1.625rem}.text-m,.text-m-semi-bold{font-size:.875rem;line-height:1.4375rem}.text-s,.text-s-semi-bold{font-size:.75rem;line-height:1.25rem}.tld-translate-file-container{padding:3em;width:100%}.tld-translate-file-container .file-row{min-height:4rem;width:100%;padding:.5em 0;border-bottom:1px solid var(--base-70)}.tld-translate-file-container .file-row .file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tld-translate-file-container .file-row lib-inline-message{margin-top:.5rem}.tld-translate-file-container .file-row .file-actions{margin-left:.5rem}.tld-append-files{font-size:1em;margin-top:1rem}.conversion-disclaimer.conversion-info-margins-gt-sm{margin:.5em 20%}.conversion-disclaimer:not(.conversion-info-margins-gt-sm){text-align:center}tld-translate-button{margin:1em}.tld-multiple-mobile{padding:1rem}.tld-multiple-mobile tld-translate-button{margin:1rem 0 0;width:100%}.tld-multiple-mobile .file-row,.tld-multiple-mobile .multiple-files-body,.tld-multiple-mobile .cancel-button,.tld-multiple-mobile .button-container{width:100%}.multiple-files-body ::ng-deep tld-file-upload .file-upload .upload-button{text-align:center}.download-file{cursor:pointer}.material-icons{vertical-align:middle;color:var(--base-40)}.conversion-message-action{background:transparent;color:var(--accent);border:none;cursor:pointer}.extra-width{min-width:30rem}.progress-message{color:var(--base-40)}mat-progress-bar{margin:.375rem 0}.cancel-button{padding:.375rem 1.5rem}vendor-disclaimer{margin-bottom:1rem}\n"] }]
|
|
102
102
|
}], ctorParameters: function () { return [{ type: i1.TldTranslateFileService }, { type: i2.TldTranslateConfigService }, { type: i3.MatDialog }, { type: i4.TldTranslateButtonService }, { type: i5.TldSystemService }]; }, propDecorators: { translationFiles: [{
|
|
@@ -5,8 +5,9 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@ngx-translate/core";
|
|
6
6
|
import * as i2 from "@angular/material/dialog";
|
|
7
7
|
import * as i3 from "../services/terminology.service";
|
|
8
|
-
import * as i4 from "@angular/
|
|
9
|
-
import * as i5 from "@angular/
|
|
8
|
+
import * as i4 from "@angular/common";
|
|
9
|
+
import * as i5 from "@angular/material/button";
|
|
10
|
+
import * as i6 from "@angular/flex-layout/extended";
|
|
10
11
|
export class CreateCollectionComponent {
|
|
11
12
|
translate;
|
|
12
13
|
dialog;
|
|
@@ -14,6 +15,9 @@ export class CreateCollectionComponent {
|
|
|
14
15
|
sourceLanguageCode;
|
|
15
16
|
targetLanguageCode;
|
|
16
17
|
collectionCreated = new EventEmitter();
|
|
18
|
+
get canCreateCollections() {
|
|
19
|
+
return this.terminologyService.canCreateCollections;
|
|
20
|
+
}
|
|
17
21
|
constructor(translate, dialog, terminologyService) {
|
|
18
22
|
this.translate = translate;
|
|
19
23
|
this.dialog = dialog;
|
|
@@ -46,12 +50,12 @@ export class CreateCollectionComponent {
|
|
|
46
50
|
});
|
|
47
51
|
});
|
|
48
52
|
}
|
|
49
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
50
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: CreateCollectionComponent, deps: [{ token: i1.TranslateService }, { token: i2.MatDialog }, { token: i3.TerminologyService }], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.9", type: CreateCollectionComponent, selector: "tld-create-collection", inputs: { sourceLanguageCode: "sourceLanguageCode", targetLanguageCode: "targetLanguageCode" }, outputs: { collectionCreated: "collectionCreated" }, ngImport: i0, template: "<button *ngIf=\"canCreateCollections\" mat-flat-button color=\"accent\" (click)=\"create()\" fxHide.lt-sm>\r\n {{'TERM_COLLECTIONS.CREATE' | translate}}\r\n</button>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i6.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }] });
|
|
51
55
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: CreateCollectionComponent, decorators: [{
|
|
53
57
|
type: Component,
|
|
54
|
-
args: [{ selector: 'tld-create-collection', template: "<button mat-flat-button color=\"accent\" (click)=\"create()\" fxHide.lt-sm>\r\n {{'TERM_COLLECTIONS.CREATE' | translate}}\r\n</button>\r\n" }]
|
|
58
|
+
args: [{ selector: 'tld-create-collection', template: "<button *ngIf=\"canCreateCollections\" mat-flat-button color=\"accent\" (click)=\"create()\" fxHide.lt-sm>\r\n {{'TERM_COLLECTIONS.CREATE' | translate}}\r\n</button>\r\n" }]
|
|
55
59
|
}], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.MatDialog }, { type: i3.TerminologyService }]; }, propDecorators: { sourceLanguageCode: [{
|
|
56
60
|
type: Input
|
|
57
61
|
}], targetLanguageCode: [{
|
|
@@ -59,4 +63,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.5", ngImpor
|
|
|
59
63
|
}], collectionCreated: [{
|
|
60
64
|
type: Output
|
|
61
65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ICAgICAgY29uc29sZS5lcnJvcihlcnIpO1xyXG4gICAgICAgICAgICBjb25zdCBlcnJvciA9IHsgRXJyb3JDb2RlOiBFcnJvckNvZGUuQ09MTEVDVElPTl9DUkVBVEUgfTtcclxuICAgICAgICAgICAgdGhyb3cgZXJyb3I7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfSk7XHJcbiAgICAgIH0pO1xyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxufVxyXG4iLCI8YnV0dG9uICpuZ0lmPVwiY2FuQ3JlYXRlQ29sbGVjdGlvbnNcIiBtYXQtZmxhdC1idXR0b24gY29sb3I9XCJhY2NlbnRcIiAoY2xpY2spPVwiY3JlYXRlKClcIiBmeEhpZGUubHQtc20+XHJcbiAge3snVEVSTV9DT0xMRUNUSU9OUy5DUkVBVEUnIHwgdHJhbnNsYXRlfX1cclxuPC9idXR0b24+XHJcbiJdfQ==
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export * from './tld-term.module';
|
|
2
2
|
export * from './tld-term-collection/tld-term-collection.component';
|
|
3
3
|
export * from './tld-term-menu/tld-term-menu.component';
|
|
4
|
-
export * from './tld-term-promotion/tld-term-promotion.component';
|
|
5
4
|
export * from './tld-term-collection-list/tld-term-collection-list.component';
|
|
6
5
|
export * from './tld-term-create-collection-dialog/tld-term-create-collection-dialog.component';
|
|
7
6
|
export * from './create-collection/create-collection.component';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90bGQtdHJhbnNsYXRlL3NyYy9saWIvbW9kdWxlcy90bGQtdGVybS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMscURBQXFELENBQUM7QUFDcEUsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLCtEQUErRCxDQUFDO0FBQzlFLGNBQWMsaUZBQWlGLENBQUM7QUFDaEcsY0FBYyxpREFBaUQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGxkLXRlcm0ubW9kdWxlJztcclxuZXhwb3J0ICogZnJvbSAnLi90bGQtdGVybS1jb2xsZWN0aW9uL3RsZC10ZXJtLWNvbGxlY3Rpb24uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi90bGQtdGVybS1tZW51L3RsZC10ZXJtLW1lbnUuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi90bGQtdGVybS1jb2xsZWN0aW9uLWxpc3QvdGxkLXRlcm0tY29sbGVjdGlvbi1saXN0LmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vdGxkLXRlcm0tY3JlYXRlLWNvbGxlY3Rpb24tZGlhbG9nL3RsZC10ZXJtLWNyZWF0ZS1jb2xsZWN0aW9uLWRpYWxvZy5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NyZWF0ZS1jb2xsZWN0aW9uL2NyZWF0ZS1jb2xsZWN0aW9uLmNvbXBvbmVudCc7XHJcbiJdfQ==
|
|
@@ -48,10 +48,10 @@ export class MtTermV1Service {
|
|
|
48
48
|
};
|
|
49
49
|
return new CombinedCollection(null, convertedMtCollection);
|
|
50
50
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
52
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MtTermV1Service, deps: [{ token: i1.HttpClient }, { token: i2.TldTranslateConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
52
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MtTermV1Service, providedIn: 'root' });
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MtTermV1Service, decorators: [{
|
|
55
55
|
type: Injectable,
|
|
56
56
|
args: [{
|
|
57
57
|
providedIn: 'root'
|
|
@@ -70,10 +70,10 @@ export class MtTermV2Service {
|
|
|
70
70
|
};
|
|
71
71
|
return new CombinedCollection(null, convertedMtCollection);
|
|
72
72
|
}
|
|
73
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
74
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.
|
|
73
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MtTermV2Service, deps: [{ token: i1.TldTranslateConfigService }, { token: i2.EningeTermApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
74
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MtTermV2Service, providedIn: 'root' });
|
|
75
75
|
}
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: MtTermV2Service, decorators: [{
|
|
77
77
|
type: Injectable,
|
|
78
78
|
args: [{
|
|
79
79
|
providedIn: 'root'
|
|
@@ -5,10 +5,11 @@ import * as i2 from "../../../tld-common/services";
|
|
|
5
5
|
export class EningeTermApiService {
|
|
6
6
|
http;
|
|
7
7
|
config;
|
|
8
|
-
baseUrl
|
|
8
|
+
baseUrl;
|
|
9
9
|
constructor(http, config) {
|
|
10
10
|
this.http = http;
|
|
11
11
|
this.config = config;
|
|
12
|
+
this.baseUrl = this.config.termConfig.engineTermUrl;
|
|
12
13
|
}
|
|
13
14
|
add(engineId, params) {
|
|
14
15
|
var data = new FormData();
|
|
@@ -40,13 +41,13 @@ export class EningeTermApiService {
|
|
|
40
41
|
sync(engineId, collectionId) {
|
|
41
42
|
return this.http.post(`${this.baseUrl}/${engineId}/terms/${collectionId}/sync`, {});
|
|
42
43
|
}
|
|
43
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
44
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: EningeTermApiService, deps: [{ token: i1.HttpClient }, { token: i2.TldTranslateConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
45
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: EningeTermApiService, providedIn: 'root' });
|
|
45
46
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: EningeTermApiService, decorators: [{
|
|
47
48
|
type: Injectable,
|
|
48
49
|
args: [{
|
|
49
50
|
providedIn: 'root'
|
|
50
51
|
}]
|
|
51
52
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.TldTranslateConfigService }]; } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5pbmdlLXRlcm0tYXBpLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlc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lcm1Db2xsZWN0aW9uTGlzdD4oYCR7dGhpcy5iYXNlVXJsfS8ke2VuZ2luZUlkfS90ZXJtc2AsIHsgcGFyYW1zOiB7IGVuZ2luZUlkIH0gfSk7XHJcbiAgfVxyXG5cclxuICByZW1vdmUoZW5naW5lSWQ6IHN0cmluZywgY29sbGVjdGlvbklkOiBzdHJpbmcpIHtcclxuICAgIHJldHVybiB0aGlzLmh0dHAuZGVsZXRlPEVuZ2luZVRlcm1Db2xsZWN0aW9uPihgJHt0aGlzLmJhc2VVcmx9LyR7ZW5naW5lSWR9L3Rlcm1zLyR7Y29sbGVjdGlvbklkfWApO1xyXG4gIH1cclxuXHJcbiAgb3JkZXIoZW5naW5lSWQ6IHN0cmluZywgb3JkZXJVcGRhdGU6IERlZmF1bHRDb2xsZWN0aW9uT3JkZXJVcGRhdGUpOiBPYnNlcnZhYmxlPEVuZ2luZVRlcm1Db2xsZWN0aW9uTGlzdD4ge1xyXG4gICAgcmV0dXJuIHRoaXMuaHR0cC5wb3N0PEVuZ2luZVRlcm1Db2xsZWN0aW9uTGlzdD4oYCR7dGhpcy5iYXNlVXJsfS8ke2VuZ2luZUlkfS90ZXJtcy9vcmRlcmAsIG9yZGVyVXBkYXRlKTtcclxuICB9XHJcblxyXG4gIHN5bmMoZW5naW5lSWQ6IHN0cmluZywgY29sbGVjdGlvbklkKTogT2JzZXJ2YWJsZTxFbmdpbmVUZXJtQ29sbGVjdGlvbj4ge1xyXG4gICAgcmV0dXJuIHRoaXMuaHR0cC5wb3N0PEVuZ2luZVRlcm1Db2xsZWN0aW9uPihgJHt0aGlzLmJhc2VVcmx9LyR7ZW5naW5lSWR9L3Rlcm1zLyR7Y29sbGVjdGlvbklkfS9zeW5jYCwge30pO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -49,10 +49,10 @@ export class TermApiService {
|
|
|
49
49
|
collection.modifyDate = new Date(collection.modifyDate.toString() + "Z");
|
|
50
50
|
return new CombinedCollection(collection, null);
|
|
51
51
|
}
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.
|
|
53
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TermApiService, deps: [{ token: i1.TldTranslateConfigService }, { token: i2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
53
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TermApiService, providedIn: 'root' });
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: TermApiService, decorators: [{
|
|
56
56
|
type: Injectable,
|
|
57
57
|
args: [{
|
|
58
58
|
providedIn: 'root'
|