-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchunk-7KM7EVHY.js
executable file
·2 lines (2 loc) · 12.4 KB
/
chunk-7KM7EVHY.js
1
2
import{a as w,b as re,e as ae}from"./chunk-3WP3NJRK.js";import"./chunk-524GE4OX.js";import{a as r}from"./chunk-DNDXUZY4.js";import{I as te,M as ie,N as ne,a as J,b as W,c as X,d as Q,e as Z,f as ee}from"./chunk-7TRK3HOB.js";import{t as H}from"./chunk-6NZ26NM6.js";import"./chunk-NFIH6FSW.js";import{$ as U,Ab as p,Bb as h,Fb as $,Jb as A,Lb as g,Ta as K,Ua as l,Wb as d,Xa as c,Xb as T,Yb as Y,bc as M,fa as B,gc as S,hc as F,ia as y,ib as u,la as V,na as j,oa as z,ob as E,qb as m,sb as P,ub as f,wb as N,xb as x,yb as O,zb as s}from"./chunk-TLQ7SHBH.js";var D=(()=>{let e=class e{constructor(){this.shortLabelsMap={[r.BLOCK]:"B",[r.CLASS]:"C",[r.CONST]:"K",[r.DECORATOR]:"@",[r.DIRECTIVE]:"D",[r.ELEMENT]:"El",[r.ENUM]:"E",[r.FUNCTION]:"F",[r.INTERFACE]:"I",[r.PIPE]:"P",[r.NG_MODULE]:"M",[r.TYPE_ALIAS]:"T"},this.fullLabelsMap={[r.BLOCK]:"Block",[r.CLASS]:"Class",[r.CONST]:"Const",[r.DECORATOR]:"Decorator",[r.DIRECTIVE]:"Directive",[r.ELEMENT]:"Element",[r.ENUM]:"Enum",[r.FUNCTION]:"Function",[r.INTERFACE]:"Interface",[r.PIPE]:"Pipe",[r.NG_MODULE]:"Module",[r.TYPE_ALIAS]:"Type Alias"}}transform(i,n){return n==="full"?this.fullLabelsMap[i]:this.shortLabelsMap[i]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=V({name:"adevApiLabel",type:e,pure:!0,standalone:!0});let t=e;return t})();function pe(t,e){if(t&1&&(d(0),S(1,"adevApiLabel")),t&2){let a=g();Y(" ",F(1,1,a.apiItemType(),a.labelMode()),`
`)}}var k=(()=>{let e=class e{constructor(){this.apiItemType=l(void 0),this.labelMode=l("short")}set type(i){this.apiItemType.set(i)}set mode(i){this.labelMode.set(i)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=y({type:e,selectors:[["docs-api-item-label"]],hostVars:2,hostBindings:function(n,o){n&2&&E("data-type",o.apiItemType())("data-mode",o.labelMode())},inputs:{type:"type",mode:"mode"},standalone:!0,features:[M],decls:1,vars:1,template:function(n,o){n&1&&u(0,pe,2,4),n&2&&f(0,o.apiItemType()?0:-1)},dependencies:[D],encapsulation:2,changeDetection:0});let t=e;return t})();var de=(t,e)=>e.url;function le(t,e){t&1&&(s(0,"docs-icon"),d(1,"star"),p())}function me(t,e){t&1&&(s(0,"span",7),d(1," <!> "),p())}function ge(t,e){if(t&1&&(s(0,"docs-icon",8),d(1," star "),p()),t&2){let a=g().$implicit,i=g();P("adev-api-item-in-featured-section",i.group.isFeatured)("adev-api-items-section-item-featured-active",a.isFeatured)}}function fe(t,e){if(t&1&&(s(0,"li")(1,"a",2),h(2,"docs-api-item-label",3),s(3,"span",4),d(4),p()(),u(5,me,2,0,"span",5)(6,ge,2,4,"docs-icon",6),p()),t&2){let a=e.$implicit;P("adev-api-items-section-item-deprecated",a.isDeprecated),c(),m("routerLink","/"+a.url),E("aria-describedby",a.isDeprecated?"deprecated-description":null),c(),m("type",a.itemType),c(2),T(a.title),c(),f(5,a.isDeprecated?5:-1),c(),f(6,a.isFeatured?6:-1)}}var oe=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=y({type:e,selectors:[["adev-api-items-section"]],inputs:{group:"group"},standalone:!0,features:[M],decls:7,vars:2,consts:[[1,"adev-api-items-section-header"],[1,"adev-api-items-section-grid"],[1,"adev-api-items-section-item",3,"routerLink"],["mode","short","aria-hidden","true",1,"docs-api-item-label",3,"type"],[1,"adev-item-title"],["class","docs-deprecated"],["class","adev-api-items-section-item-featured",3,"adev-api-item-in-featured-section","adev-api-items-section-item-featured-active"],[1,"docs-deprecated"],[1,"adev-api-items-section-item-featured"],[3,"adev-api-items-section-item-deprecated"]],template:function(n,o){n&1&&(s(0,"header",0),u(1,le,2,0,"docs-icon"),s(2,"h3"),d(3),p()(),s(4,"ul",1),x(5,fe,7,8,"li",9,de),p()),n&2&&(c(),f(1,o.group.isFeatured?1:-1),c(2),T(o.group.title),c(2),O(o.group.items))},dependencies:[k,H,te],styles:[".adev-api-items-section-header[_ngcontent-%COMP%]{display:flex;gap:.75em;align-items:center}.adev-api-items-section-header[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:var(--primary-contrast)}.adev-api-items-section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{flex:1;margin-top:1.43rem;font-size:1.25rem}.adev-api-items-section-header[_ngcontent-%COMP%] .adev-link-icon[_ngcontent-%COMP%]{color:var(--quinary-contrast);cursor:pointer}.adev-api-items-section-header[_ngcontent-%COMP%] .adev-link-icon[_ngcontent-%COMP%]:hover{color:var(--primary-contrast)}.adev-api-items-section-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;padding:0}@container api-ref-page (max-width: 798px){.adev-api-items-section-grid[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}}@container api-ref-page (max-width: 600px){.adev-api-items-section-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.adev-api-items-section-grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;border-inline-start:1px solid var(--senary-contrast);padding:.3rem;padding-inline-start:.75rem;font-size:.875rem}.adev-api-items-section-grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--quaternary-contrast);display:flex;align-items:center}.adev-api-items-section-grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .adev-item-title[_ngcontent-%COMP%]{margin-block-start:3px}.adev-api-items-section-grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .adev-api-items-section-item-featured[_ngcontent-%COMP%]{opacity:0;border:none;background-color:transparent;color:var(--quinary-contrast);cursor:pointer;margin-top:-2px;transition:color .3s ease}.adev-api-items-section-grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .adev-api-items-section-item-featured-active[_ngcontent-%COMP%]{opacity:1;color:var(--quinary-contrast)}.adev-api-items-section-grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{border-inline-start:1px solid var(--quaternary-contrast);background-color:var(--septenary-contrast)}.adev-api-items-section-grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{color:var(--primary-contrast)}.adev-api-items-section-grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover .adev-api-items-section-item-featured-active[_ngcontent-%COMP%]{color:var(--tertiary-contrast)}.adev-api-item-in-featured-section[_ngcontent-%COMP%]{display:none}.adev-api-items-section-item[_ngcontent-%COMP%]{display:flex;flex:1;gap:1em}.docs-deprecated[_ngcontent-%COMP%]{font-family:var(--code-font);background-color:var(--senary-contrast);color:var(--tertiary-contrast);width:max-content;border-radius:.25rem;padding:.001rem .2rem .005rem;margin-inline-start:.5rem}"],changeDetection:0});let t=e;return t})();var ue="Featured",ve=["api/common/DatePipe","api/common/NgIf","api/common/NgFor","api/common/NgClass","api/core/ViewChild","api/forms/NgModel","api/router/RouterLink","api/forms/FormControl","api/common/http/HttpClient","api/core/OnChanges","api/forms/FormGroup","api/router/CanActivate"],se=(()=>{let e=class e{constructor(){this.featuredGroup=l({title:ue,items:[],isFeatured:!0}),this.apiGroups=l(this.mapManifestToApiGroups())}mapManifestToApiGroups(){let i=[],n=w,o=Object.keys(w);for(let v of o){let _=v.replace(re,""),ce=n[v];i.push({title:_,items:ce.map(C=>{let b=ae(_,C.name),G=ve.some(I=>I===b),q={itemType:C.type,title:C.name,isDeprecated:!!C.isDeprecated,isFeatured:G,url:b};return G&&this.featuredGroup.update(I=>(I.items.push(q),I)),q}).sort((C,b)=>C.title.localeCompare(b.title))})}return i}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _e(t,e){if(t&1){let a=$();s(0,"li",9),A("click",function(){let o=j(a).$implicit,v=g();return z(v.filterByItemType(o))}),h(1,"docs-api-item-label",10),s(2,"span"),d(3),S(4,"adevApiLabel"),p()()}if(t&2){let a=e.$implicit,i=g();P("adev-reference-list-legend-item-active",i.type()===a),c(),m("type",a),c(2),T(F(4,4,a,"full"))}}function Ce(t,e){if(t&1&&h(0,"adev-api-items-section",11),t&2){let a=g();m("group",a.featuredGroup())}}function ye(t,e){if(t&1&&h(0,"adev-api-items-section",12),t&2){let a=e.$implicit;m("group",a)}}var R="All",He=(()=>{let e=class e{constructor(){this.apiReferenceManager=B(se),this.allGroups=this.apiReferenceManager.apiGroups,this.query=l(""),this.includeDeprecated=l(!1),this.type=l(R),this.featuredGroup=this.apiReferenceManager.featuredGroup,this.filteredGroups=K(()=>this.allGroups().map(i=>({title:i.title,isFeatured:i.isFeatured,items:i.items.filter(n=>(this.query()?n.title.toLocaleLowerCase().includes(this.query().toLocaleLowerCase()):!0)&&(this.includeDeprecated()?!0:n.isDeprecated===this.includeDeprecated())&&(this.type()===R||n.itemType===this.type()))})).filter(i=>i.items.length>0)),this.itemTypes=Object.values(r)}filterByItemType(i){this.type.set(this.type()===i?R:i)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=y({type:e,selectors:[["adev-reference-list"]],standalone:!0,features:[M],decls:18,vars:3,consts:[[1,"adev-reference-list-page"],["tabindex","-1"],[1,"adev-reference-list-form"],["name","query","placeholder","Filter",3,"ngModel","ngModelChange"],[1,"adev-reference-list-form-part-two"],["buttonId","includeDeprecated","label","Show @deprecated","name","includeDeprecated",3,"ngModel","ngModelChange"],[1,"adev-reference-list-legend"],["class","adev-featured-list",3,"group"],["id","deprecated-description",1,"docs-deprecated-description"],[1,"adev-reference-list-legend-item",3,"click"],["mode","short",1,"docs-api-item-label",3,"type"],[1,"adev-featured-list",3,"group"],[3,"group"],["class","adev-reference-list-legend-item",3,"adev-reference-list-legend-item-active"]],template:function(n,o){n&1&&(s(0,"div",0)(1,"header")(2,"h6"),d(3,"Getting Started"),p(),s(4,"h1",1),d(5,"API Reference"),p()(),s(6,"form",2)(7,"docs-text-field",3),A("ngModelChange",function(_){return o.query.set(_)}),p(),s(8,"div",4)(9,"docs-slide-toggle",5),A("ngModelChange",function(_){return o.includeDeprecated.set(_)}),p()(),s(10,"ul",6),x(11,_e,5,7,"li",13,N),p()(),u(13,Ce,1,1,"adev-api-items-section",7),x(14,ye,1,1,"adev-api-items-section",12,N),s(16,"span",8),d(17,"Deprecated"),p()()),n&2&&(c(7),m("ngModel",o.query()),c(2),m("ngModel",o.includeDeprecated()),c(2),O(o.itemTypes),c(2),f(13,o.featuredGroup().items.length?13:-1),c(),O(o.filteredGroups()))},dependencies:[oe,k,ee,Z,J,W,Q,X,ie,ne,D],styles:[".adev-reference-list-page[_ngcontent-%COMP%]{padding:var(--layout-padding);max-width:var(--page-width);container:api-ref-page/inline-size}.adev-reference-list-page[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{margin-block-end:2.75rem}.adev-reference-list-page[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:var(--quaternary-contrast);font-weight:500;font-size:.875rem;margin:0}.adev-reference-list-page[_ngcontent-%COMP%] header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{max-width:78ch;color:var(--secondary-contrast)}.adev-reference-list-legend[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(6,1fr);padding-block-end:.5rem;margin-block-start:0;padding-inline:0;cursor:pointer;width:100%}@container api-ref-page (max-width: 775px){.adev-reference-list-legend[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}}@container api-ref-page (max-width: 600px){.adev-reference-list-legend[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}}@container api-ref-page (max-width: 500px){.adev-reference-list-legend[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@container api-ref-page (max-width: 350px){.adev-reference-list-legend[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}.adev-reference-list-legend[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center;padding:.3rem;font-size:.875rem;color:var(--quaternary-contrast);font-weight:500;text-transform:capitalize;border:1px solid transparent;border-radius:.25rem;margin-inline-end:.5rem;margin-block-end:.5rem;transition:color .3s ease,background .3s ease,border .3s ease}.adev-reference-list-legend[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{color:var(--primary-contrast);border:1px solid var(--senary-contrast)}.adev-reference-list-legend[_ngcontent-%COMP%] li.adev-reference-list-legend-item-active[_ngcontent-%COMP%]{background:var(--septenary-contrast);border:1px solid var(--quinary-contrast);color:var(--primary-contrast)}.adev-reference-list-form[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap-reverse;gap:1.5rem;padding-block-start:0;padding-block-end:2rem}.adev-reference-list-form-part-two[_ngcontent-%COMP%]{display:flex;gap:1.5rem;flex-wrap:wrap}.adev-featured-list[_ngcontent-%COMP%]{display:block;padding-block-end:2rem;padding-block-start:1.5rem;margin-block:1rem;border-block:1px solid var(--senary-contrast)}.docs-deprecated-description[_ngcontent-%COMP%]{display:none}"],changeDetection:0});let t=e;return t})();export{R as ALL_STATUSES_KEY,He as default};