@fntio/infra-client
Version:
Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.
3 lines (2 loc) • 19.3 kB
JavaScript
import{b as me}from"./chunk-Z3HRRJWO.js";import{a as pe}from"./chunk-SH2F2DCQ.js";import{e as de}from"./chunk-BADG46IJ.js";import{e as ce}from"./chunk-JNANYFF2.js";import{a as ee}from"./chunk-YMC4QOLO.js";import{a as se}from"./chunk-XOFD5DNL.js";import{a as ae,b as le}from"./chunk-2SO4BVIT.js";import{a as ne,b as L,e as G,i as ie,j as oe,k as re,o as R}from"./chunk-T5HLFYHP.js";import{b as Y}from"./chunk-KCJ5HNXP.js";import{a as te}from"./chunk-3SC2PPSK.js";import{b as Z}from"./chunk-MID2IYAR.js";import{a as V}from"./chunk-7A4HO4AV.js";import{$a as H,Aa as a,Ba as s,Ca as N,F,I as q,Ja as C,K as u,Kb as X,L as g,La as x,Na as l,Oa as W,Pa as z,R as w,Ua as I,Va as U,Wa as M,Xa as d,Ya as b,Za as D,_ as r,_a as j,bb as Q,cb as J,db as K,ga as k,k as v,qb as h,sa as B,sb as y,ta as _,tb as c,ua as f,wa as O,xa as S,ya as T,za as p,zb as E}from"./chunk-FYA6QUPZ.js";var ue=class n{http=q(X);list(){return this.http.get("/api/admin/groups").pipe(v(t=>t.groups))}create(t,e,i,o){return this.http.post("/api/admin/groups",{name:t,roles:e,description:i,resources:o}).pipe(v(m=>m.group))}update(t,e){return this.http.patch(`/api/admin/groups/${encodeURIComponent(t)}`,e).pipe(v(i=>i.group))}delete(t){return this.http.delete(`/api/admin/groups/${encodeURIComponent(t)}`).pipe(v(()=>{}))}addMembers(t,e){return this.http.post(`/api/admin/groups/${encodeURIComponent(t)}/members`,{userIds:e}).pipe(v(i=>i.added))}removeMembers(t,e){return this.http.post(`/api/admin/groups/${encodeURIComponent(t)}/members/remove`,{userIds:e}).pipe(v(i=>i.removed))}get(t){return this.http.get(`/api/admin/groups/${encodeURIComponent(t)}`).pipe(v(e=>e.group))}listRolesPage(t,e){return this.http.get(`/api/admin/groups/${encodeURIComponent(t)}/roles`,{params:Y(e)})}addRole(t,e){return this.http.post(`/api/admin/groups/${encodeURIComponent(t)}/roles`,e).pipe(v(()=>{}))}addRolesByDimension(t,e){return this.http.post(`/api/admin/groups/${encodeURIComponent(t)}/roles/bulk`,e)}suggest(t,e){return this.http.get("/api/admin/groups/suggest",{params:{accountNumber:t,roleName:e}}).pipe(v(i=>i.suggestions))}removeRole(t,e){return this.http.delete(`/api/admin/groups/${encodeURIComponent(t)}/roles/${e.accountNumber}/${encodeURIComponent(e.roleName)}`).pipe(v(()=>{}))}static \u0275fac=function(e){return new(e||n)};static \u0275prov=F({token:n,factory:n.\u0275fac,providedIn:"root"})};var be=(n,t)=>t.id,Ce=(n,t)=>t.text;function he(n,t){if(n&1&&(a(0,"p",0),d(1),s()),n&2){let e=l();r(),b(e.empty())}}function ve(n,t){if(n&1){let e=C();a(0,"app-search-input",6),K("valueChange",function(o){u(e);let m=l(2);return J(m.fold.query,o)||(m.fold.query=o),g(o)}),s()}if(n&2){let e=l(2);p("placeholder",e.searchPlaceholder()),Q("value",e.fold.query)}}function ye(n,t){if(n&1&&(a(0,"span",15)(1,"span",16),d(2),s()()),n&2){let e=l().$implicit;M(e.pillClass),r(),p("title",e.title),r(),b(e.title)}}function we(n,t){if(n&1&&(a(0,"span",11),d(1),s()),n&2){let e=l().$implicit;p("title",e.title),r(),b(e.title)}}function ke(n,t){if(n&1&&(a(0,"span",12),N(1,"span",17),a(2,"span",18),d(3),s()()),n&2){let e=l().$implicit;r(2),p("title",e.subtitle),r(),b(e.subtitle)}}function De(n,t){if(n&1&&(a(0,"app-badge",19),d(1),s()),n&2){let e=t.$implicit;p("tone",e.tone)("title",e.title??""),r(),b(e.text)}}function Me(n,t){if(n&1&&(a(0,"app-badge",20),d(1),s()),n&2){let e=l(2).$implicit,i=l(2);p("title",i.moreTitle(e)),r(),D("+",e.badges.length-2," more")}}function Se(n,t){if(n&1&&(a(0,"span",13),S(1,De,2,3,"app-badge",19,Ce),_(3,Me,2,2,"app-badge",20),s()),n&2){let e=l().$implicit;r(),T(e.badges.slice(0,2)),r(2),f(e.badges.length>2?3:-1)}}function Te(n,t){if(n&1){let e=C();a(0,"app-button",21),x("click",function(o){u(e);let m=l().$implicit,xe=l(2);return o.stopPropagation(),g(xe.action.emit(m.id))}),d(1),s()}if(n&2){let e=t;p("disabled",e.disabled??!1),r(),D(" ",e.label," ")}}function Ne(n,t){if(n&1){let e=C();a(0,"div",7),x("click",function(){let o=u(e).$implicit,m=l(2);return g(o.clickable&&m.open.emit(o.id))}),a(1,"span",8)(2,"span",9),_(3,ye,3,4,"span",10)(4,we,2,2,"span",11),_(5,ke,4,2,"span",12),s(),_(6,Se,4,1,"span",13),s(),_(7,Te,2,2,"app-button",14),s()}if(n&2){let e,i=t.$implicit;U("cursor-pointer",i.clickable)("hover:bg-state-hover",i.clickable),r(2),I("--role-c",i.chipColor||null),r(),f(i.pillClass?3:4),r(2),f(i.subtitle?5:-1),r(),f(i.badges.length?6:-1),r(),f((e=i.action)?7:-1,e)}}function Ee(n,t){if(n&1&&(a(0,"p",4),d(1),s()),n&2){let e=l(2);r(),D('Nothing matches "',e.fold.query(),'".')}}function Ie(n,t){if(n&1){let e=C();a(0,"button",23),x("click",function(){u(e);let o=l(3);return g(o.fold.showMore())}),d(1),s()}if(n&2){let e=l(3);r(),D(" Show ",e.fold.more()," more ")}}function Ve(n,t){if(n&1){let e=C();a(0,"button",23),x("click",function(){u(e);let o=l(3);return g(o.fold.showLess())}),d(1,"Show less"),s()}}function Le(n,t){if(n&1&&(a(0,"p",5),_(1,Ie,2,1,"button",22),_(2,Ve,2,0,"button",22),a(3,"span"),d(4),s()()),n&2){let e=l(2);r(),f(e.fold.more()?1:-1),r(),f(e.fold.expanded()?2:-1),r(2),H("",e.fold.visible().length," of ",e.fold.matching().length,"",e.fold.searchable()?" \u2014 or search":"")}}function Ge(n,t){if(n&1&&(_(0,ve,1,2,"app-search-input",1),a(1,"div",2),S(2,Ne,8,10,"div",3,be,!1,Ee,2,1,"p",4),s(),_(5,Le,5,5,"p",5)),n&2){let e=l();f(e.fold.searchable()?0:-1),r(2),T(e.fold.visible()),r(3),f(e.fold.more()||e.fold.expanded()?5:-1)}}var ge=class n{rows=c.required();searchPlaceholder=c("Search this list");fold=me(this.rows,t=>`${t.title} ${t.subtitle??""} ${t.badges.map(e=>e.text).join(" ")}`);moreTitle(t){return t.badges.slice(2).map(e=>e.text).join(`
`)}empty=c("Nobody yet.");action=y();open=y();static \u0275fac=function(e){return new(e||n)};static \u0275cmp=k({type:n,selectors:[["app-access-list"]],inputs:{rows:[1,"rows"],searchPlaceholder:[1,"searchPlaceholder"],empty:[1,"empty"]},outputs:{action:"action",open:"open"},decls:2,vars:1,consts:[[1,"pb-1","text-xs","text-placeholder"],["compact","",1,"mb-2","block",3,"placeholder","value"],[1,"divide-y","divide-border","overflow-hidden","rounded-lg","border","border-border","bg-card-bg"],[1,"flex","items-center","gap-x-3","px-3","py-2","text-sm",3,"cursor-pointer","hover:bg-state-hover"],[1,"px-3","py-2","text-xs","text-muted-foreground"],[1,"mt-1.5","flex","items-center","gap-2","text-[11px]","text-text-secondary"],["compact","",1,"mb-2","block",3,"valueChange","placeholder","value"],[1,"flex","items-center","gap-x-3","px-3","py-2","text-sm",3,"click"],[1,"flex","min-w-0","flex-1","flex-col","gap-1"],[1,"flex","min-w-0","items-center","gap-1.5"],[1,"inline-flex","max-w-full","items-center","overflow-hidden","whitespace-nowrap","rounded-full","px-2","py-0.5","text-xs","font-medium",3,"class"],[1,"min-w-0","shrink","truncate","text-surface-foreground",3,"title"],[1,"flex","min-w-0","shrink-[60]","items-center","gap-2"],[1,"flex","flex-wrap","items-center","gap-1"],["size","sm","variant","danger",1,"shrink-0",3,"disabled"],[1,"inline-flex","max-w-full","items-center","overflow-hidden","whitespace-nowrap","rounded-full","px-2","py-0.5","text-xs","font-medium"],[1,"min-w-0","truncate",3,"title"],[1,"h-[3px]","w-[3px]","shrink-0","rounded-full","bg-muted-foreground/40"],[1,"min-w-0","truncate","text-xs","text-muted-foreground",3,"title"],[3,"tone","title"],["tone","gray",3,"title"],["size","sm","variant","danger",1,"shrink-0",3,"click","disabled"],["type","button",1,"text-xs","text-muted-foreground","underline","hover:text-surface-foreground"],["type","button",1,"text-xs","text-muted-foreground","underline","hover:text-surface-foreground",3,"click"]],template:function(e,i){e&1&&_(0,he,2,1,"p",0)(1,Ge,6,3),e&2&&f(i.rows().length===0?0:1)},dependencies:[ee,V,pe],encapsulation:2})};var Ae=[[["","picker-trailing",""]]],Pe=["[picker-trailing]"];function $e(n,t){if(n&1){let e=C();a(0,"app-chip",4),x("removed",function(){u(e);let o=l();return g(o.cleared.emit())}),d(1),s()}if(n&2){let e=l();r(),b(e.summary())}}var P=class n{summary=c("");query=c("");placeholder=c("Filter\u2026");queryChange=y();cleared=y();static \u0275fac=function(e){return new(e||n)};static \u0275cmp=k({type:n,selectors:[["app-picker-box"]],hostAttrs:[1,"flex","min-w-0"],inputs:{summary:[1,"summary"],query:[1,"query"],placeholder:[1,"placeholder"]},outputs:{queryChange:"queryChange",cleared:"cleared"},ngContentSelectors:Pe,decls:5,vars:3,consts:[[1,"ui-input","flex","h-9","min-w-0","flex-nowrap","items-center","gap-1.5","pr-1","[&:focus-within:not(:has([picker-trailing]:focus))]:border-transparent","[&:focus-within:not(:has([picker-trailing]:focus))]:outline-2","[&:focus-within:not(:has([picker-trailing]:focus))]:-outline-offset-1","[&:focus-within:not(:has([picker-trailing]:focus))]:outline-[var(--ring)]"],["tone","brand","removable",""],[1,"min-w-0","flex-1","border-0","bg-transparent","px-1","text-sm","text-surface-foreground","outline-none","placeholder:text-placeholder",3,"ngModelChange","placeholder","ngModel"],[1,"ml-auto","flex","shrink-0","items-center"],["tone","brand","removable","",3,"removed"]],template:function(e,i){e&1&&(W(Ae),a(0,"div",0),_(1,$e,2,1,"app-chip",1),a(2,"input",2),x("ngModelChange",function(m){return i.queryChange.emit(m)}),s(),a(3,"span",3),z(4),s()()),e&2&&(r(),f(i.summary()?1:-1),r(),p("placeholder",i.summary()?"":i.placeholder())("ngModel",i.query()))},dependencies:[R,ne,L,G,ce],encapsulation:2})};var Fe=(n,t)=>t.id;function qe(n,t){if(n&1&&(a(0,"p",1),d(1),s()),n&2){let e=l();r(),b(e.intro())}}function Be(n,t){if(n&1){let e=C();a(0,"div",2)(1,"app-account-picker",11),x("picked",function(o){u(e);let m=l();return g(m.account.set(o))}),s()()}if(n&2){let e=l();r(),p("source",t)("selected",e.account())("dimensionFilters",!0)}}function Oe(n,t){if(n&1&&(a(0,"option",13),d(1),s()),n&2){let e=t.$implicit,i=l(2);p("ngValue",e),r(),b(i.label(e))}}function We(n,t){if(n&1){let e=C();a(0,"select",12),x("ngModelChange",function(o){u(e);let m=l();return g(m.duration.set(o))}),S(1,Oe,2,2,"option",13,O),a(3,"option",13),d(4,"long-term"),s()()}if(n&2){let e=l();p("ngModel",e.duration()),r(),T(e.PRESETS),r(2),p("ngValue","long")}}function ze(n,t){if(n&1&&(a(0,"div",14),d(1),s()),n&2){let e=l().$implicit;r(),b(e.group)}}function Ue(n,t){if(n&1&&(a(0,"span",18),d(1),s()),n&2){let e=l().$implicit;r(),b(e.sublabel)}}function je(n,t){if(n&1){let e=C();_(0,ze,2,1,"div",14),a(1,"label",15)(2,"input",16),x("change",function(){let o=u(e).$implicit,m=l();return g(m.toggle(o.id))}),s(),a(3,"span",17),d(4),s(),_(5,Ue,2,1,"span",18),s()}if(n&2){let e=t.$implicit,i=t.$index,o=l();f(e.group&&(i===0||o.filtered()[i-1].group!==e.group)?0:-1),r(2),p("checked",o.pickedSet().has(e.id)),r(2),b(e.label),r(),f(e.sublabel?5:-1)}}function He(n,t){if(n&1&&(a(0,"p",6),d(1),s()),n&2){let e=l();r(),D(" ",e.query()?'Nothing matches "'+e.query()+'".':e.accountSource()&&!e.account()?"Pick an account above to see its roles.":e.emptyText()," ")}}function Qe(n,t){if(n&1&&(a(0,"p",7),d(1),s()),n&2){let e=l();r(),D("Picked: ",e.pickedLabels().join(", "))}}var _e=class n{title=c.required();intro=c("");options=c([]);accountSource=c(null);optionsFor=c(null);placeholder=c("Filter\u2026");emptyText=c("Nothing left to grant.");verb=c("Grant");withDuration=c(!1,{transform:E});busy=c(!1);granted=y();closed=y();PRESETS=ae;label(t){return t==="long"?"long-term":le(t)}query=w("");picked=w([]);duration=w("long");pickedSet=h(()=>new Set(this.picked()));account=w(null);labels=w(new Map);current=h(()=>{let t=this.optionsFor(),e=this.account();return this.accountSource()?e&&t?t(e):[]:this.options()});filtered=h(()=>{let t=this.query().trim().toLowerCase();return this.current().filter(e=>!t||`${e.label} ${e.sublabel??""} ${e.group??""}`.toLowerCase().includes(t))});pickedLabels=h(()=>this.picked().map(t=>this.labels().get(t)??t));summaryLabel=h(()=>{let t=this.picked();if(!t.length)return"";let e=this.labels().get(t[0])??this.current().find(i=>i.id===t[0])?.label??t[0];return t.length>1?`${e} +${t.length-1} more`:e});toggle(t){let e=this.current().find(o=>o.id===t),i=this.account();if(e){let o=i&&this.accountSource()?`${e.label} \xB7 ${i.name||i.accountNumber}`:e.label;this.labels.update(m=>new Map(m).set(t,o))}this.picked.update(o=>o.includes(t)?o.filter(m=>m!==t):[...o,t])}submit(){let t=this.duration();this.granted.emit({ids:[...this.picked()],durationHours:this.withDuration()&&t!=="long"?t:void 0})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=k({type:n,selectors:[["app-grant-dialog"]],inputs:{title:[1,"title"],intro:[1,"intro"],options:[1,"options"],accountSource:[1,"accountSource"],optionsFor:[1,"optionsFor"],placeholder:[1,"placeholder"],emptyText:[1,"emptyText"],verb:[1,"verb"],withDuration:[1,"withDuration"],busy:[1,"busy"]},outputs:{granted:"granted",closed:"closed"},decls:16,vars:14,consts:[["width","max-w-2xl",3,"closed","title","scrollBody"],[1,"text-xs","text-muted-foreground"],[1,"mt-3"],[3,"queryChange","cleared","summary","query","placeholder"],["picker-trailing","","aria-label","Duration",1,"ui-input","h-7","w-28","shrink-0","cursor-pointer","rounded-md","border-border","bg-surface","pl-2.5","pr-7","text-xs","font-medium","text-muted-foreground",3,"ngModel"],[1,"mt-2","max-h-[50vh]","min-h-24","overflow-y-auto","rounded-lg","border","border-border-strong"],[1,"px-3","py-3","text-sm","text-muted-foreground"],[1,"mt-2","text-xs","text-muted-foreground"],[1,"mt-4","flex","justify-end","gap-2"],["variant","outline",3,"click"],[3,"click","loading","disabled"],["placeholder","Search accounts by name or number",3,"picked","source","selected","dimensionFilters"],["picker-trailing","","aria-label","Duration",1,"ui-input","h-7","w-28","shrink-0","cursor-pointer","rounded-md","border-border","bg-surface","pl-2.5","pr-7","text-xs","font-medium","text-muted-foreground",3,"ngModelChange","ngModel"],[3,"ngValue"],[1,"bg-card-bg","px-3","py-1","text-[10.5px]","font-medium","text-text-secondary"],[1,"flex","w-full","cursor-pointer","items-center","gap-2.5","border-b","border-border","px-3","py-2","text-sm","last:border-b-0","hover:bg-state-hover"],["type","checkbox",1,"ui-checkbox",3,"change","checked"],[1,"min-w-0","flex-1","truncate","text-surface-foreground"],[1,"min-w-0","shrink-[4]","truncate","text-xs","text-muted-foreground"]],template:function(e,i){if(e&1&&(a(0,"app-dialog",0),x("closed",function(){return i.closed.emit()}),_(1,qe,2,1,"p",1),_(2,Be,2,3,"div",2),a(3,"div",2)(4,"app-picker-box",3),x("queryChange",function(m){return i.query.set(m)})("cleared",function(){return i.picked.set([])}),_(5,We,5,2,"select",4),s()(),a(6,"div",5),S(7,je,6,4,null,null,Fe,!1,He,2,1,"p",6),s(),_(10,Qe,2,1,"p",7),a(11,"div",8)(12,"app-button",9),x("click",function(){return i.closed.emit()}),d(13,"Cancel"),s(),a(14,"app-button",10),x("click",function(){return i.submit()}),d(15),s()()()),e&2){let o;p("title",i.title())("scrollBody",!1),r(),f(i.intro()?1:-1),r(),f((o=i.accountSource())?2:-1,o),r(2),p("summary",i.summaryLabel())("query",i.query())("placeholder",i.placeholder()),r(),f(i.withDuration()?5:-1),r(2),T(i.filtered()),r(3),f(i.accountSource()&&i.pickedLabels().length?10:-1),r(4),p("loading",i.busy())("disabled",i.picked().length===0),r(),j(" ",i.verb()," ",i.picked().length||""," ")}},dependencies:[R,oe,re,ie,L,G,V,te,P,de],encapsulation:2})};function Je(n,t){if(n&1){let e=C();a(0,"span",0)(1,"input",2),x("input",function(o){u(e);let m=l();return g(m.draft.set(o.target.value))})("keydown.enter",function(){u(e);let o=l();return g(o.commit())})("keydown.escape",function(){u(e);let o=l();return g(o.cancel())})("blur",function(){u(e);let o=l();return g(o.onBlur())}),s(),a(2,"span",3)(3,"button",4),x("mousedown",function(o){return u(e),g(o.preventDefault())})("click",function(){u(e);let o=l();return g(o.commit())}),N(4,"app-icon",5),s(),a(5,"button",6),x("mousedown",function(o){return u(e),g(o.preventDefault())})("click",function(){u(e);let o=l();return g(o.cancel())}),N(6,"app-icon",7),s()()()}if(n&2){let e=l();r(),M(e.inputClass()),I("width",e.width(),"ch"),p("value",e.draft())("placeholder",e.placeholder()),B("aria-label",e.ariaLabel()||null),r(3),p("strokeWidth",2.5),r(2),p("strokeWidth",2)}}function Ke(n,t){if(n&1){let e=C();a(0,"button",8),x("click",function(){u(e);let o=l();return g(o.start())}),a(1,"span"),d(2),s(),N(3,"app-icon",9),s()}if(n&2){let e=l();M(e.viewClass()),p("title","Edit "+(e.ariaLabel()||"value")),r(),M("min-w-0 "+(e.wrap()?"whitespace-normal break-words":"truncate")+(e.value()?"":" text-placeholder")),r(),b(e.value()||e.placeholder()),r(),p("strokeWidth",2)}}var fe=class n{value=c("");placeholder=c("\u2014");ariaLabel=c("");mono=c(!1,{transform:E});size=c("md");wrap=c(!1,{transform:E});align=c("end");hostClass=h(()=>"flex min-w-0 flex-1 "+(this.align()==="end"?"justify-end":"justify-start"));save=y();editing=w(!1);draft=w("");width=h(()=>Math.min(Math.max(this.draft().length+3,12),60));textSizeClass=h(()=>this.size()==="lg"?"text-xl font-semibold":this.mono()?"text-[13px]":"text-sm");inputClass=h(()=>"-my-px min-w-0 flex-1 rounded-md border border-brand bg-surface py-0 text-surface-foreground focus:outline-none "+(this.mono()?"font-mono ":"")+(this.align()==="end"?"text-right ":"")+{sm:"-mx-1 px-1 ",md:"-mx-1.5 px-1.5 ",lg:"-mx-1.5 px-1.5 "}[this.size()]+this.textSizeClass());viewClass=h(()=>"group flex min-w-0 max-w-full items-center gap-1.5 rounded-md text-left transition-colors hover:bg-muted "+(this.mono()?"font-mono ":"")+{sm:"-mx-1 px-1 ",md:"-mx-1.5 px-1.5 ",lg:"-mx-1.5 px-1.5 "}[this.size()]+this.textSizeClass());start(){this.draft.set(this.value()),this.editing.set(!0)}commit(){let t=this.draft().trim();this.editing.set(!1),t!==(this.value()??"")&&this.save.emit(t)}cancel(){this.editing.set(!1)}onBlur(){this.editing()&&this.commit()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=k({type:n,selectors:[["app-inline-edit"]],hostVars:2,hostBindings:function(e,i){e&2&&M(i.hostClass())},inputs:{value:[1,"value"],placeholder:[1,"placeholder"],ariaLabel:[1,"ariaLabel"],mono:[1,"mono"],size:[1,"size"],wrap:[1,"wrap"],align:[1,"align"]},outputs:{save:"save"},decls:2,vars:1,consts:[[1,"relative","flex","min-w-0","max-w-full","items-center"],["type","button",3,"class","title"],["appAutofocusSelect","",3,"input","keydown.enter","keydown.escape","blur","value","placeholder"],[1,"absolute","left-full","top-1/2","z-10","ml-1.5","flex","-translate-y-1/2","gap-1","rounded-lg","border","border-border","bg-surface","p-0.5","shadow-md"],["type","button","title","Save (Enter)","aria-label","Save",1,"grid","h-6","w-6","shrink-0","place-items-center","rounded-md","bg-brand","text-brand-foreground",3,"mousedown","click"],["name","check",1,"h-3.5","w-3.5",3,"strokeWidth"],["type","button","title","Cancel (Esc)","aria-label","Cancel",1,"grid","h-6","w-6","shrink-0","place-items-center","rounded-md","text-muted-foreground","hover:bg-muted",3,"mousedown","click"],["name","x",1,"h-3.5","w-3.5",3,"strokeWidth"],["type","button",3,"click","title"],["name","pencil",1,"h-3","w-3","shrink-0","text-muted-foreground","opacity-50","transition-opacity","group-hover:opacity-100",3,"strokeWidth"]],template:function(e,i){e&1&&_(0,Je,7,9,"span",0)(1,Ke,4,7,"button",1),e&2&&f(i.editing()?0:1)},dependencies:[se,Z],encapsulation:2})};export{ue as a,ge as b,_e as c,fe as d};