UNPKG

angular-t9n

Version:
2 lines (1 loc) 3.38 kB
import{a as x,b as X,c as w,d as z}from"./chunk-BX3AJDAI.js";import{b as y,c as k,d as I}from"./chunk-N5UD5EBK.js";import{a as L,f as $}from"./chunk-4RXFGBXH.js";import{a as D}from"./chunk-JZGDUES4.js";import"./chunk-LCKERP7W.js";import{c as G,d as O,f as h,g as N}from"./chunk-PTK3D5EO.js";import"./chunk-SML6JUFJ.js";import"./chunk-QTUSJNUZ.js";import{a as b}from"./chunk-DK3NDEDW.js";import"./chunk-MLPE3OCH.js";import"./chunk-RVNPJH6Y.js";import{$ as m,Cc as v,Ib as _,P as u,Qa as s,Yb as C,Zb as R,ac as S,bb as M,bc as P,ec as T,fc as d,pb as p,qb as g,ub as f,vb as i,wb as e,x as E,xb as A}from"./chunk-KWXDDR2S.js";import"./chunk-4CLCTAJ7.js";var F=()=>({exact:!0});function j(t,B){t&1&&(i(0,"a",9),_(1,3),e())}function q(t,B){t&1&&(i(0,"mat-card",10),_(1,4),e())}var re=(()=>{class t{constructor(){this._route=m(G),this._translationService=m(b),this.target=this._route.params.pipe(u(n=>this._translationService.target(n.language)),E(n=>!!n))}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=M({type:t,selectors:[["t9n-target"]],features:[S([D])],decls:18,vars:11,consts:()=>{let n;n=$localize`:␟e5b9218a6c766b23fc18899f8dc559cc4f7e7621␟1613971242435858090:Translate`;let o;o=$localize`:␟5f19586aba912ec6eb123ec5ab609a3bcc073066␟7462301153729425254:Export`;let r;r=$localize`:␟a059709f71aa4c0ac219e160e78a738682ca6a36␟1071721880474488785:Import`;let c;c=$localize`:␟4ab6aedb58478677ac0bfc5eb87bc3fe8b8c0920␟1724892236454928633:Orphans`;let l;return l=$localize`:␟d01de2fd7c8926d46f83d20fb7de011bef2672cf␟4627394559043499337: Orphans are translation units whose id is no longer contained in the source file. Migrate them in the orphans section. `,[n,o,r,c,l,["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"],["appearance","outlined"]]},template:function(o,r){if(o&1&&(i(0,"mat-sidenav-container")(1,"mat-sidenav",5)(2,"h1"),C(3),T(4,"async"),e(),i(5,"mat-nav-list")(6,"a",6),_(7,0),e(),i(8,"a",7),_(9,1),e(),i(10,"a",8),_(11,2),e(),p(12,j,2,0,"a",9),T(13,"async"),e(),p(14,q,2,0,"mat-card",10),T(15,"async"),e(),i(16,"mat-sidenav-content"),A(17,"router-outlet"),e()()),o&2){let c,l,a;s(3),R((c=d(4,4,r.target))==null?null:c.language),s(3),f("routerLinkActiveOptions",P(10,F)),s(6),g((l=d(13,6,r.target))!=null&&l.orphanCount?12:-1),s(2),g((a=d(15,8,r.target))!=null&&a.orphanCount?14:-1)}},dependencies:[z,X,w,x,I,k,y,h,N,$,L,O,v],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 t})();export{re as TargetComponent};