@fntio/infra-client
Version:
Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.
2 lines (1 loc) • 1.58 kB
JavaScript
import{Da as r,Ea as a,Fa as _,Ja as v,K as c,L as l,Ma as C,Na as d,Oa as y,Pa as T,Wa as E,Xa as h,Za as D,_ as i,ga as m,sa as p,ta as b,tb as s,ua as u,wa as f,wb as M,xa as g,ya as x}from"./chunk-FYA6QUPZ.js";var F=["*"];function S(n,o){n&1&&_(0,"span",5)}function I(n,o){if(n&1){let e=v();r(0,"button",4),C("click",function(){let N=c(e).$implicit,k=d();return l(k.selected.set(N))}),h(1),b(2,S,1,0,"span",5),a()}if(n&2){let e=o.$implicit,t=d();E(t.selected()===e?t.active:t.inactive),p("aria-selected",t.selected()===e),i(),D(" ",e," "),i(),u(t.dotted().includes(e)&&t.selected()!==e?2:-1)}}var w=class n{tabs=s.required();selected=M.required();dotted=s([]);base="inline-flex items-center gap-1.5 -mb-px border-b-2 px-3 py-2 text-[13px] font-medium cursor-pointer ";active=this.base+"border-brand text-brand-muted-foreground";inactive=this.base+"border-transparent text-muted-foreground hover:text-surface-foreground";static \u0275fac=function(e){return new(e||n)};static \u0275cmp=m({type:n,selectors:[["app-tabs"]],inputs:{tabs:[1,"tabs"],selected:[1,"selected"],dotted:[1,"dotted"]},outputs:{selected:"selectedChange"},ngContentSelectors:F,decls:6,vars:0,consts:[[1,"flex","items-center","border-b","border-border"],["role","tablist",1,"flex","gap-1","self-end"],["role","tab",3,"class"],[1,"ml-auto","flex","items-center","pl-3"],["role","tab",3,"click"],[1,"h-1.5","w-1.5","rounded-full","bg-notif"]],template:function(e,t){e&1&&(y(),r(0,"div",0)(1,"div",1),g(2,I,3,5,"button",2,f),a(),r(4,"div",3),T(5),a()()),e&2&&(i(2),x(t.tabs()))},encapsulation:2})};export{w as a};