UNPKG

angular-t9n

Version:

A translation tool for Angular i18n

2 lines (1 loc) 3.46 kB
import{a as x,b as X,c as w,d as z}from"./chunk-LNXGMWFE.js";import{b,c as y,d as k}from"./chunk-5QNKL7ZA.js";import{a as L,f as $}from"./chunk-OEL2JDRQ.js";import{a as D}from"./chunk-IQUQLZUX.js";import{d as G,e as O,g as h,h as N}from"./chunk-JCOG3QZD.js";import"./chunk-IIDNLDIX.js";import"./chunk-SWXDJEZV.js";import{a as I}from"./chunk-IZB6ZOII.js";import"./chunk-OHHIBRCV.js";import{Db as o,Dc as S,Eb as t,Fb as M,Fc as P,Ob as _,U as E,Ya as l,Za as d,ac as A,bc as R,dc as C,eb as f,ec as v,hc as T,ic as p,sb as g,ub as m,z as u}from"./chunk-XN5ZPBP6.js";import"./chunk-4CLCTAJ7.js";var F=()=>({exact:!0});function j(i,B){i&1&&(o(0,"a",11),_(1,3),t())}function q(i,B){i&1&&(o(0,"mat-card",12),_(1,4),t())}var _e=(()=>{class i{constructor(r,n){this._route=r,this._translationService=n,this.target=this._route.params.pipe(E(e=>this._translationService.target(e.language)),u(e=>!!e))}static{this.\u0275fac=function(n){return new(n||i)(d(G),d(I))}}static{this.\u0275cmp=f({type:i,selectors:[["t9n-target"]],features:[C([D])],decls:18,vars:11,consts:()=>{let r;r=$localize`:␟e5b9218a6c766b23fc18899f8dc559cc4f7e7621␟1613971242435858090:Translate`;let n;n=$localize`:␟5f19586aba912ec6eb123ec5ab609a3bcc073066␟7462301153729425254:Export`;let e;e=$localize`:␟a059709f71aa4c0ac219e160e78a738682ca6a36␟1071721880474488785:Import`;let c;c=$localize`:␟4ab6aedb58478677ac0bfc5eb87bc3fe8b8c0920␟1724892236454928633:Orphans`;let s;return s=$localize`:␟883f596b4489ae541868cbc12502ed1ec13f08c7␟8128328859314736211: Orphans are translation units whose id is no longer contained in the source file. Migrate them in the orphans section. `,[r,n,e,c,s,["opened","","mode","side"],["mat-list-item","","routerLink","./","routerLinkActive","active",3,"routerLinkActiveOptions"],["mat-list-item","","routerLink","./export","routerLinkActive","active"],["mat-list-item","","routerLink","./import","routerLinkActive","active"],["mat-list-item","","routerLink","./orphans","routerLinkActive","active",4,"ngIf"],["appearance","outlined",4,"ngIf"],["mat-list-item","","routerLink","./orphans","routerLinkActive","active"],["appearance","outlined"]]},template:function(n,e){if(n&1&&(o(0,"mat-sidenav-container")(1,"mat-sidenav",5)(2,"h1"),A(3),T(4,"async"),t(),o(5,"mat-nav-list")(6,"a",6),_(7,0),t(),o(8,"a",7),_(9,1),t(),o(10,"a",8),_(11,2),t(),g(12,j,2,0,"a",9),T(13,"async"),t(),g(14,q,2,0,"mat-card",10),T(15,"async"),t(),o(16,"mat-sidenav-content"),M(17,"router-outlet"),t()()),n&2){let c,s,a;l(3),R((c=p(4,4,e.target))==null?null:c.language),l(3),m("routerLinkActiveOptions",v(10,F)),l(6),m("ngIf",(s=p(13,6,e.target))==null?null:s.orphanCount),l(2),m("ngIf",(a=p(15,8,e.target))==null?null:a.orphanCount)}},dependencies:[z,X,w,x,k,y,b,h,N,S,$,L,O,P],styles:["[_nghost-%COMP%]{display:block;height:100%}h1[_ngcontent-%COMP%]{color:#00000061;font-size:12px;font-weight:600;margin-bottom:8px;padding:20px 24px 0 16px;text-transform:uppercase}mat-sidenav-container[_ngcontent-%COMP%]{height:100%}mat-sidenav-container[_ngcontent-%COMP%] mat-sidenav[_ngcontent-%COMP%]{width:12rem}mat-sidenav-container[_ngcontent-%COMP%] mat-sidenav[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:#3f51b5;background-color:#0000000d}mat-sidenav-container[_ngcontent-%COMP%] mat-sidenav[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{background-color:#fff59d;margin:.5rem;padding:.25rem}"],changeDetection:0})}}return i})();export{_e as TargetComponent};