UNPKG

@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.05 kB
import{Da as a,Ea as o,Na as s,Oa as x,Pa as u,Wa as b,Xa as l,Ya as p,Za as C,_ as n,ga as f,ta as c,tb as r,ua as m}from"./chunk-FYA6QUPZ.js";var v=["*"];function E(e,d){if(e&1&&(a(0,"span",2),l(1),o()),e&2){let t=s();n(),p(t.hint())}}function h(e,d){if(e&1&&(a(0,"span",3),l(1),o()),e&2){let t=s();n(),p(t.error())}}var g=class e{label=r.required();hint=r("");error=r("");static \u0275fac=function(t){return new(t||e)};static \u0275cmp=f({type:e,selectors:[["app-field"]],hostAttrs:[1,"block"],inputs:{label:[1,"label"],hint:[1,"hint"],error:[1,"error"]},ngContentSelectors:v,decls:6,vars:5,consts:[[1,"block"],[1,"block","text-sm","font-medium","text-surface-foreground"],[1,"mb-1.5","block","text-xs","font-normal","text-text-secondary"],[1,"mt-1","block","text-xs","text-danger"]],template:function(t,i){t&1&&(x(),a(0,"label",0)(1,"span",1),l(2),o(),c(3,E,2,1,"span",2),u(4),c(5,h,2,1,"span",3),o()),t&2&&(n(),b(i.hint()?"":"mb-1.5"),n(),C(" ",i.label()," "),n(),m(i.hint()?3:-1),n(2),m(i.error()?5:-1))},encapsulation:2})};export{g as a};