-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-EJLLX3NW.js
More file actions
1 lines (1 loc) · 2.93 KB
/
chunk-EJLLX3NW.js
File metadata and controls
1 lines (1 loc) · 2.93 KB
1
import{m as h,u as m}from"./chunk-GU7FRFWB.js";import{$ as f,Ba as l,Bb as u,Cb as g,Yc as s,ga as p,ha as d,la as r,md as c,p as o,uc as z,vc as y}from"./chunk-GUHHCQYK.js";var v=768,b=1120,j=1200,w=class n{http=r(h);codeMap=new Map;directionality=r(m);theme=l("default");windowWidth=l(1400);isMobile=s(()=>this.windowWidth()<=v);responsive=s(()=>this.windowWidth()<b?"crowded":this.windowWidth()<j?"narrow":null);getCode(t){if(this.codeMap.has(t))return o(this.codeMap.get(t));let a=t.startsWith("components-")?t.split("components-")[1]:t;return this.http.get(`assets/codes/${a}.json`,{responseType:"json"}).pipe(f(i=>this.codeMap.set(t,i)))}static \u0275fac=function(a){return new(a||n)};static \u0275prov=p({token:n,factory:n.\u0275fac,providedIn:"root"})};var P=(()=>{class n{nzVertical=!1;nzJustify="normal";nzAlign="normal";nzGap=0;nzWrap="nowrap";nzFlex="unset";get gap(){switch(this.nzGap){case"small":return"8px";case"middle":return"16px";case"large":return"24px";default:return typeof this.nzGap=="number"?`${this.nzGap}px`:this.nzGap}}static \u0275fac=function(i){return new(i||n)};static \u0275dir=g({type:n,selectors:[["","nz-flex",""],["nz-flex"]],hostAttrs:[1,"ant-flex"],hostVars:60,hostBindings:function(i,e){i&2&&(z("gap",e.gap)("flex",e.nzFlex),y("ant-flex-vertical",e.nzVertical)("ant-flex-justify-flex-start",e.nzJustify==="flex-start")("ant-flex-justify-center",e.nzJustify==="center")("ant-flex-justify-flex-end",e.nzJustify==="flex-end")("ant-flex-justify-space-between",e.nzJustify==="space-between")("ant-flex-justify-space-around",e.nzJustify==="space-around")("ant-flex-justify-space-evenly",e.nzJustify==="space-evenly")("ant-flex-justify-start",e.nzJustify==="start")("ant-flex-justify-end",e.nzJustify==="end")("ant-flex-justify-right",e.nzJustify==="right")("ant-flex-justify-left",e.nzJustify==="left")("ant-flex-justify-stretch",e.nzJustify==="stretch")("ant-flex-justify-normal",e.nzJustify==="normal")("ant-flex-align-flex-start",e.nzAlign==="flex-start")("ant-flex-align-center",e.nzAlign==="center")("ant-flex-align-flex-end",e.nzAlign==="flex-end")("ant-flex-align-space-between",e.nzAlign==="space-between")("ant-flex-align-space-around",e.nzAlign==="space-around")("ant-flex-align-space-evenly",e.nzAlign==="space-evenly")("ant-flex-align-start",e.nzAlign==="start")("ant-flex-align-end",e.nzAlign==="end")("ant-flex-align-right",e.nzAlign==="right")("ant-flex-align-left",e.nzAlign==="left")("ant-flex-align-stretch",e.nzAlign==="stretch")("ant-flex-align-normal",e.nzAlign==="normal")("ant-flex-wrap-wrap",e.nzWrap==="wrap")("ant-flex-wrap-wrap-reverse",e.nzWrap==="wrap-reverse")("ant-flex-wrap-nowrap",e.nzWrap==="nowrap"))},inputs:{nzVertical:[2,"nzVertical","nzVertical",c],nzJustify:"nzJustify",nzAlign:"nzAlign",nzGap:"nzGap",nzWrap:"nzWrap",nzFlex:"nzFlex"},exportAs:["nzFlex"]})}return n})(),R=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=u({type:n});static \u0275inj=d({})}return n})();export{w as a,P as b,R as c};