@tilde-nlp/ngx-common 4.1.3 → 4.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/status-display/models/status-display-config.model.mjs +1 -1
- package/esm2022/lib/terminology/components/terminology-panel/terminology-panel.component.mjs +3 -3
- package/fesm2022/tilde-nlp-ngx-common.mjs +2 -2
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/lib/status-display/models/status-display-config.model.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLWRpc3BsYXktY29uZmlnLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbW1vbi9zcmMvbGliL3N0YXR1cy1kaXNwbGF5L21vZGVscy9zdGF0dXMtZGlzcGxheS1jb25maWcubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgU3RhdHVzRGlzcGxheUNvbmZpZyB7XHJcbiAgZW5hYmxlZDogYm9vbGVhbjtcclxuICB0aXRsZTogc3RyaW5nO1xyXG4gIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZXhwbGljaXQtYW55XHJcbiAgdGl0bGVQYXJhbXM/
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLWRpc3BsYXktY29uZmlnLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbW1vbi9zcmMvbGliL3N0YXR1cy1kaXNwbGF5L21vZGVscy9zdGF0dXMtZGlzcGxheS1jb25maWcubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgU3RhdHVzRGlzcGxheUNvbmZpZyB7XHJcbiAgZW5hYmxlZDogYm9vbGVhbjtcclxuICB0aXRsZTogc3RyaW5nO1xyXG4gIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZXhwbGljaXQtYW55XHJcbiAgdGl0bGVQYXJhbXM/OiBhbnk7XHJcbiAgZGVzY3JpcHRpb24/OiBzdHJpbmc7XHJcbiAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnlcclxuICBkZXNjcmlwdGlvblBhcmFtcz86IGFueTtcclxuICBpY29uPzogc3RyaW5nO1xyXG4gIGxvYWRpbmc/OiBib29sZWFuO1xyXG59Il19
|
package/esm2022/lib/terminology/components/terminology-panel/terminology-panel.component.mjs
CHANGED
|
@@ -33,11 +33,11 @@ export class TerminologyPanelComponent {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TerminologyPanelComponent, deps: [{ token: i1.TerminologyService }, { token: i2.TerminologyConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TerminologyPanelComponent, selector: "lib-terminology-panel", inputs: { system: "system", setSelectedFromLocalStorage: "setSelectedFromLocalStorage", selectedCollection: "selectedCollection" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, ngImport: i0, template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"hasAnyCollections || canCreateCollections; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate\"></p>\r\n\r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_DESC\" | translate }}</p>\r\n \r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"BENEFITS_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"BENEFITS_DESC\" | translate }}</p
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TerminologyPanelComponent, selector: "lib-terminology-panel", inputs: { system: "system", setSelectedFromLocalStorage: "setSelectedFromLocalStorage", selectedCollection: "selectedCollection" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, ngImport: i0, template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"hasAnyCollections || canCreateCollections; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate\"></p>\r\n\r\n <!-- Will be uncommented with new menu implementation -->\r\n\r\n <!-- <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_DESC\" | translate }}</p>\r\n \r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"BENEFITS_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"BENEFITS_DESC\" | translate }}</p> -->\r\n </div>\r\n </section>\r\n </ng-template>\r\n</section>\r\n", styles: [".tld-collection-list-footer{margin-top:1rem;padding:0 .75em 1em}.default-glossary-management{display:block;color:var(--base-30)}.term-reader-wrapper{margin:1em}.glossary-unavailable{font-weight:500;font-style:italic}.hint-title{margin-bottom:0}\n"], dependencies: [{ 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.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: 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.TerminologyCreateCollectionComponent, selector: "lib-terminology-create-collection", inputs: ["sourceLanguageCode", "targetLanguageCode"], outputs: ["collectionCreated"] }, { kind: "component", type: i6.TerminologyCollectionListComponent, selector: "lib-terminology-collection-list", inputs: ["system", "selectedCollection"], outputs: ["glossarySelectEvent"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
|
|
37
37
|
}
|
|
38
38
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TerminologyPanelComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
|
-
args: [{ selector: "lib-terminology-panel", template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"hasAnyCollections || canCreateCollections; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate\"></p>\r\n\r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_DESC\" | translate }}</p>\r\n \r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"BENEFITS_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"BENEFITS_DESC\" | translate }}</p
|
|
40
|
+
args: [{ selector: "lib-terminology-panel", template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"hasAnyCollections || canCreateCollections; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate\"></p>\r\n\r\n <!-- Will be uncommented with new menu implementation -->\r\n\r\n <!-- <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_DESC\" | translate }}</p>\r\n \r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"BENEFITS_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"BENEFITS_DESC\" | translate }}</p> -->\r\n </div>\r\n </section>\r\n </ng-template>\r\n</section>\r\n", styles: [".tld-collection-list-footer{margin-top:1rem;padding:0 .75em 1em}.default-glossary-management{display:block;color:var(--base-30)}.term-reader-wrapper{margin:1em}.glossary-unavailable{font-weight:500;font-style:italic}.hint-title{margin-bottom:0}\n"] }]
|
|
41
41
|
}], ctorParameters: function () { return [{ type: i1.TerminologyService }, { type: i2.TerminologyConfigService }]; }, propDecorators: { system: [{
|
|
42
42
|
type: Input,
|
|
43
43
|
args: [{ required: true }]
|
|
@@ -49,4 +49,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
49
49
|
}], glossarySelectEvent: [{
|
|
50
50
|
type: Output
|
|
51
51
|
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVybWlub2xvZ3ktcGFuZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbW1vbi9zcmMvbGliL3Rlcm1pbm9sb2d5L2NvbXBvbmVudHMvdGVybWlub2xvZ3ktcGFuZWwvdGVybWlub2xvZ3ktcGFuZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNvbW1vbi9zcmMvbGliL3Rlcm1pbm9sb2d5L2NvbXBvbmVudHMvdGVybWlub2xvZ3ktcGFuZWwvdGVybWlub2xvZ3ktcGFuZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7Ozs7O0FBVS9FLE1BQU0sT0FBTyx5QkFBeUI7SUFNcEMsSUFBSSxlQUFlLEtBQUssT0FBTyxJQUFJLENBQUMsa0JBQWtCLENBQUMsZUFBZSxDQUFBLENBQUMsQ0FBQztJQUN4RSxJQUFJLGlCQUFpQixLQUFLLE9BQU8sSUFBSSxDQUFDLGtCQUFrQixDQUFDLGlCQUFpQixDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsUUFBUSxDQUFDLENBQUEsQ0FBQyxDQUFDO0lBQ2xHLElBQUksa0JBQWtCLEtBQUksT0FBTyxJQUFJLENBQUMsa0JBQWtCLENBQUMsa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erminologyPanelComponent {
|
|
|
3510
3510
|
}
|
|
3511
3511
|
}
|
|
3512
3512
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TerminologyPanelComponent, deps: [{ token: TerminologyService }, { token: TerminologyConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3513
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TerminologyPanelComponent, selector: "lib-terminology-panel", inputs: { system: "system", setSelectedFromLocalStorage: "setSelectedFromLocalStorage", selectedCollection: "selectedCollection" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, ngImport: i0, template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"hasAnyCollections || canCreateCollections; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate\"></p>\r\n\r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_DESC\" | translate }}</p>\r\n \r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"BENEFITS_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"BENEFITS_DESC\" | translate }}</p
|
|
3513
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TerminologyPanelComponent, selector: "lib-terminology-panel", inputs: { system: "system", setSelectedFromLocalStorage: "setSelectedFromLocalStorage", selectedCollection: "selectedCollection" }, outputs: { glossarySelectEvent: "glossarySelectEvent" }, ngImport: i0, template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"hasAnyCollections || canCreateCollections; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate\"></p>\r\n\r\n <!-- Will be uncommented with new menu implementation -->\r\n\r\n <!-- <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_DESC\" | translate }}</p>\r\n \r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"BENEFITS_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"BENEFITS_DESC\" | translate }}</p> -->\r\n </div>\r\n </section>\r\n </ng-template>\r\n</section>\r\n", styles: [".tld-collection-list-footer{margin-top:1rem;padding:0 .75em 1em}.default-glossary-management{display:block;color:var(--base-30)}.term-reader-wrapper{margin:1em}.glossary-unavailable{font-weight:500;font-style:italic}.hint-title{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i2$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$3.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: i2$3.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: i2$3.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: TerminologyCreateCollectionComponent, selector: "lib-terminology-create-collection", inputs: ["sourceLanguageCode", "targetLanguageCode"], outputs: ["collectionCreated"] }, { kind: "component", type: TerminologyCollectionListComponent, selector: "lib-terminology-collection-list", inputs: ["system", "selectedCollection"], outputs: ["glossarySelectEvent"] }, { kind: "pipe", type: i1$2.TranslatePipe, name: "translate" }] }); }
|
|
3514
3514
|
}
|
|
3515
3515
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TerminologyPanelComponent, decorators: [{
|
|
3516
3516
|
type: Component,
|
|
3517
|
-
args: [{ selector: "lib-terminology-panel", template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"hasAnyCollections || canCreateCollections; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate\"></p>\r\n\r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_DESC\" | translate }}</p>\r\n \r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"BENEFITS_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"BENEFITS_DESC\" | translate }}</p
|
|
3517
|
+
args: [{ selector: "lib-terminology-panel", template: "<section class=\"tld-collection-list-wrapper\">\r\n <ng-container *ngIf=\"hasAnyCollections || canCreateCollections; else emptyView\">\r\n <lib-terminology-collection-list (glossarySelectEvent)=\"selectGlossary($event)\" [system]=\"system\" [selectedCollection]=\"selectedCollection\"></lib-terminology-collection-list>\r\n\r\n <footer *ngIf=\"hasEditPermissions\" class=\"tld-collection-list-footer\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"1rem\">\r\n <lib-terminology-create-collection [sourceLanguageCode]=\"sourceLanguageCode\" [targetLanguageCode]=\"targetLanguageCode\"></lib-terminology-create-collection>\r\n \r\n <a *ngIf=\"defaultGlossaryManagementLink\" [attr.href]=\"defaultGlossaryManagementLink\" class=\"default-glossary-management text-m\" target=\"_blank\">\r\n {{ \"TERM_COLLECTIONS.DEFAULT_GLOSSARY_MANAGEMENT\" | translate }}\r\n </a>\r\n </footer>\r\n </ng-container>\r\n <ng-template #emptyView>\r\n <section class=\"term-reader-wrapper\" fxLayout=\"column\" fxLayoutGap=\"16px\">\r\n <div>\r\n <h1 class=\"text-l-semi-bold\">{{ readerLocalizationKey + \"TITLE\" | translate }}</h1>\r\n <p class=\"text-xl-semi-bold glossary-unavailable\">{{ readerLocalizationKey + \"UNAVAILABLE\" | translate }}</p>\r\n <p [innerHtml]=\"readerLocalizationKey + 'TEXT' | translate\"></p>\r\n\r\n <!-- Will be uncommented with new menu implementation -->\r\n\r\n <!-- <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"WHAT_IS_GLOSSARY_DESC\" | translate }}</p>\r\n \r\n <p class=\"text-s-semi-bold hint-title\">{{ readerLocalizationKey + \"BENEFITS_TITLE\" | translate }}</p>\r\n <p class=\"text-s\">{{ readerLocalizationKey + \"BENEFITS_DESC\" | translate }}</p> -->\r\n </div>\r\n </section>\r\n </ng-template>\r\n</section>\r\n", styles: [".tld-collection-list-footer{margin-top:1rem;padding:0 .75em 1em}.default-glossary-management{display:block;color:var(--base-30)}.term-reader-wrapper{margin:1em}.glossary-unavailable{font-weight:500;font-style:italic}.hint-title{margin-bottom:0}\n"] }]
|
|
3518
3518
|
}], ctorParameters: function () { return [{ type: TerminologyService }, { type: TerminologyConfigService }]; }, propDecorators: { system: [{
|
|
3519
3519
|
type: Input,
|
|
3520
3520
|
args: [{ required: true }]
|