-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchunk-GRPBNUKH.js
2 lines (2 loc) · 13.1 KB
/
chunk-GRPBNUKH.js
1
2
import{a as k,b as ae,e as re}from"./chunk-DYC74ZM5.js";import"./chunk-ZFBHFYAX.js";import{a}from"./chunk-AU3QBWYB.js";import{L as te,Q as ie,R as ne,c as Z,d as J,e as W,f as X,g as Q,h as ee}from"./chunk-E4I7JNBM.js";import{u as H}from"./chunk-6KKW6GNI.js";import"./chunk-WXI33M2S.js";import{Bb as $,Cb as O,Db as x,Eb as c,Fb as p,Gb as h,Kb as j,Nb as A,Pb as g,Va as s,Yb as d,Zb as I,_b as K,aa as U,cc as y,ga as q,hb as l,hc as S,ic as F,ma as C,nb as v,pa as B,tb as M,vb as m,wa as V,xa as z,xb as P,zb as f,zc as Y}from"./chunk-FNSPSJSE.js";var N=(()=>{let e=class e{constructor(){this.shortLabelsMap={[a.BLOCK]:"B",[a.CLASS]:"C",[a.CONST]:"K",[a.DECORATOR]:"@",[a.DIRECTIVE]:"D",[a.ELEMENT]:"El",[a.ENUM]:"E",[a.FUNCTION]:"F",[a.INTERFACE]:"I",[a.PIPE]:"P",[a.NG_MODULE]:"M",[a.TYPE_ALIAS]:"T",[a.INITIALIZER_API_FUNCTION]:"IA"},this.fullLabelsMap={[a.BLOCK]:"\u63A7\u5236\u5757",[a.CLASS]:"\u7C7B",[a.CONST]:"\u5E38\u91CF",[a.DECORATOR]:"\u88C5\u9970\u5668",[a.DIRECTIVE]:"\u6307\u4EE4",[a.ELEMENT]:"\u5143\u7D20",[a.ENUM]:"\u679A\u4E3E",[a.FUNCTION]:"\u51FD\u6570",[a.INTERFACE]:"\u63A5\u53E3",[a.PIPE]:"\u7BA1\u9053",[a.NG_MODULE]:"\u6A21\u5757",[a.TYPE_ALIAS]:"\u7C7B\u578B\u522B\u540D",[a.INITIALIZER_API_FUNCTION]:"\u521D\u59CB\u5316 API"}}transform(i,n){return n==="full"?this.fullLabelsMap[i]:this.shortLabelsMap[i]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=B({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 r=g();K(" ",F(1,1,r.apiItemType(),r.labelMode()),`
`)}}var D=(()=>{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=C({type:e,selectors:[["docs-api-item-label"]],hostVars:2,hostBindings:function(n,o){n&2&&M("data-type",o.apiItemType())("data-mode",o.labelMode())},inputs:{type:"type",mode:"mode"},standalone:!0,features:[y],decls:1,vars:1,template:function(n,o){n&1&&v(0,pe,2,4),n&2&&f(o.apiItemType()?0:-1)},dependencies:[N],encapsulation:2,changeDetection:0});let t=e;return t})();var de=(t,e)=>e.url;function le(t,e){t&1&&(c(0,"docs-icon",1),d(1,"star"),p())}function me(t,e){t&1&&(c(0,"span",8),d(1," <!> "),p())}function ge(t,e){if(t&1&&(c(0,"docs-icon",10),d(1," star "),p()),t&2){let r=g().$implicit,i=g();P("adev-api-item-in-featured-section",i.group.isFeatured)("adev-api-items-section-item-featured-active",r.isFeatured)}}function fe(t,e){if(t&1&&(c(0,"li")(1,"a",5),h(2,"docs-api-item-label",6),c(3,"span",7),d(4),p()(),v(5,me,2,0,"span",8)(6,ge,2,4,"docs-icon",9),p()),t&2){let r=e.$implicit;P("adev-api-items-section-item-deprecated",r.isDeprecated),s(),m("routerLink","/"+r.url),M("aria-describedby",r.isDeprecated?"deprecated-description":null),s(),m("type",r.itemType),s(2),I(r.title),s(),f(r.isDeprecated?5:-1),s(),f(r.isFeatured?6:-1)}}var oe=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=C({type:e,selectors:[["adev-api-items-section"]],inputs:{group:"group"},standalone:!0,features:[y],decls:8,vars:4,consts:[[1,"adev-api-items-section-header"],["aria-hidden",""],["routerLink","/api","tabindex","-1",1,"adev-api-anchor",3,"fragment"],[1,"adev-api-items-section-grid"],[3,"adev-api-items-section-item-deprecated"],[1,"adev-api-items-section-item",3,"routerLink"],["mode","short","aria-hidden","true",1,"docs-api-item-label",3,"type"],[1,"adev-item-title"],[1,"docs-deprecated"],[1,"adev-api-items-section-item-featured",3,"adev-api-item-in-featured-section","adev-api-items-section-item-featured-active"],[1,"adev-api-items-section-item-featured"]],template:function(n,o){n&1&&(c(0,"header",0)(1,"h3"),v(2,le,2,0,"docs-icon",1),c(3,"a",2),d(4),p()()(),c(5,"ul",3),O(6,fe,7,8,"li",4,de),p()),n&2&&(s(),M("id",o.group.id),s(),f(o.group.isFeatured?2:-1),s(),m("fragment",o.group.id),s(),I(o.group.title),s(2),x(o.group.items))},dependencies:[D,H,te],styles:['.adev-api-items-section-header[_ngcontent-%COMP%]{display:flex}.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;display:flex;gap:.75em;align-items:flex-start;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}.adev-api-anchor[_ngcontent-%COMP%]{color:inherit}.adev-api-anchor[_ngcontent-%COMP%]:after{content:"\\e157";font-family:Material Symbols Outlined;opacity:0;margin-left:8px;vertical-align:middle;color:var(--quaternary-contrast);font-size:clamp(18px,1.25em,30px);transition:opacity .3s ease}.adev-api-anchor[_ngcontent-%COMP%]:hover:after{opacity:1}'],changeDetection:0});let t=e;return t})();var ue="\u6700\u5E38\u7528",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,id:"featured",items:[],isFeatured:!0}),this.apiGroups=l(this.mapManifestToApiGroups())}mapManifestToApiGroups(){let i=[],n=k,o=Object.keys(k);for(let T of o){let u=T.replace(ae,""),ce=n[T];i.push({title:u,id:u.replaceAll("/","-"),items:ce.map(_=>{let b=re(u,_.name),R=ve.some(E=>E===b),G={itemType:_.type,title:_.name,isDeprecated:!!_.isDeprecated,isFeatured:R,url:b};return R&&this.featuredGroup.update(E=>(E.items.push(G),E)),G}).sort((_,b)=>_.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})();var _e=(t,e)=>e.id;function Ce(t,e){if(t&1&&h(0,"adev-api-items-section",2),t&2){let r=g();m("group",r.featuredGroup())}}function he(t,e){if(t&1){let r=j();c(0,"li",10),A("click",function(){let n=V(r).$implicit,o=g();return z(o.filterByItemType(n))}),h(1,"docs-api-item-label",11),c(2,"span",12),d(3),S(4,"adevApiLabel"),p()()}if(t&2){let r=e.$implicit,i=g();P("adev-reference-list-legend-item-active",i.type()===r),s(),m("type",r),s(2),I(F(4,4,r,"full"))}}function ye(t,e){if(t&1&&h(0,"adev-api-items-section",9),t&2){let r=e.$implicit;m("group",r)}}var w="All",Ze=(()=>{let e=class e{constructor(){this.apiReferenceManager=q(se),this.allGroups=this.apiReferenceManager.apiGroups,this.query=l(""),this.includeDeprecated=l(!1),this.type=l(w),this.featuredGroup=this.apiReferenceManager.featuredGroup,this.filteredGroups=Y(()=>this.allGroups().map(i=>({title:i.title,isFeatured:i.isFeatured,id:i.id,items:i.items.filter(n=>(this.query()?n.title.toLocaleLowerCase().includes(this.query().toLocaleLowerCase()):!0)&&(this.includeDeprecated()?!0:n.isDeprecated===this.includeDeprecated())&&(this.type()===w||n.itemType===this.type()))})).filter(i=>i.items.length>0)),this.itemTypes=Object.values(a)}filterByItemType(i){this.type.set(this.type()===i?w:i)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=C({type:e,selectors:[["adev-reference-list"]],standalone:!0,features:[y],decls:16,vars:3,consts:[[1,"adev-reference-list-page"],["tabindex","-1"],[1,"adev-featured-list",3,"group"],[1,"adev-reference-list-form"],["name","query","placeholder","\u8FC7\u6EE4\u5668",3,"ngModelChange","ngModel"],[1,"adev-reference-list-form-part-two"],["buttonId","includeDeprecated","label","\u663E\u793A @deprecated","name","includeDeprecated",3,"ngModelChange","ngModel"],[1,"adev-reference-list-legend"],[1,"adev-reference-list-legend-item",3,"adev-reference-list-legend-item-active"],[3,"group"],[1,"adev-reference-list-legend-item",3,"click"],["mode","short",1,"docs-api-item-label",3,"type"],[1,"docs-api-item-label-full"]],template:function(n,o){n&1&&(c(0,"div",0)(1,"header")(2,"h6"),d(3,"\u5FEB\u901F\u4E0A\u624B"),p(),c(4,"h1",1),d(5,"API \u53C2\u8003\u624B\u518C"),p()(),v(6,Ce,1,1,"adev-api-items-section",2),c(7,"form",3)(8,"docs-text-field",4),A("ngModelChange",function(u){return o.query.set(u)}),p(),c(9,"div",5)(10,"docs-slide-toggle",6),A("ngModelChange",function(u){return o.includeDeprecated.set(u)}),p()(),c(11,"ul",7),O(12,he,5,7,"li",8,$),p()(),O(14,ye,1,1,"adev-api-items-section",9,_e),p()),n&2&&(s(6),f(o.featuredGroup().items.length?6:-1),s(2),m("ngModel",o.query()),s(2),m("ngModel",o.includeDeprecated()),s(2),x(o.itemTypes),s(2),x(o.filteredGroups()))},dependencies:[oe,D,ee,Q,Z,J,X,W,ie,ne,N],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:1.5rem;padding-block-end:2rem;border-block:1px solid var(--senary-contrast)}.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:1rem;margin-block:1rem;border-top:0;margin-top:-1.5rem}.docs-api-item-label-full[_ngcontent-%COMP%]{white-space:nowrap}"],changeDetection:0});let t=e;return t})();export{w as ALL_STATUSES_KEY,Ze as default};