-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathchunk-AMB2SXIB.js
1 lines (1 loc) · 6.72 KB
/
chunk-AMB2SXIB.js
1
import{Ib as le,p as se,ua as ce,va as ae}from"./chunk-O3IWK6WU.js";import{Ac as K,Bc as X,Ga as f,Gc as ee,Hc as te,Ib as _,Jb as V,Kb as D,Kd as oe,Na as z,Oa as y,Ob as x,Qa as l,Rc as ne,Tc as ie,Vb as E,Wb as g,Xb as O,Zb as W,aa as d,ab as Z,c as R,cc as L,ec as Q,f as F,fa as C,fc as H,gc as Y,hc as I,hd as re,ia as q,ic as k,ka as m,l as $,ld as A,m as S,mc as G,na as a,od as h,rb as u,sc as p,tb as U,tc as w,ua as v,uc as M,wa as B,xb as b,yc as J}from"./chunk-NACBYLXS.js";function me(e){e||(v(me),e=a(f));let o=new R(t=>e.onDestroy(t.next.bind(t)));return t=>t.pipe(d(o))}function N(e,o){let t=!o?.manualCleanup;t&&!o?.injector&&v(N);let i=t?o?.injector?.get(f)??a(f):null,r=fe(o?.equal),n;o?.requireSync?n=l({kind:0},{equal:r}):n=l({kind:1,value:o?.initialValue},{equal:r});let s=e.subscribe({next:c=>n.set({kind:1,value:c}),error:c=>{if(o?.rejectErrors)throw c;n.set({kind:2,error:c})}});if(o?.requireSync&&n().kind===0)throw new C(601,!1);return i?.onDestroy(s.unsubscribe.bind(s)),h(()=>{let c=n();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new C(601,!1)}},{equal:o?.equal})}function fe(e=Object.is){return(o,t)=>o.kind===1&&t.kind===1&&e(o.value,t.value)}var pe=["*"],ze=e=>({$implicit:e});function ge(e,o){if(e&1&&ee(0),e&2){let t=p(3);te(t.nzSplit)}}function he(e,o){if(e&1&&(I(0,"span",3),x(1,ge,1,1,"ng-template",4),k()),e&2){let t=p(),i=t.$index,r=t.$count,n=p();g("margin-block-end",n.nzDirection==="vertical"?i===r-1?null:n.spaceSize:null,"px")("margin-inline-end",n.nzDirection==="horizontal"?i===r-1?null:n.spaceSize:null,"px"),u(),E("nzStringTemplateOutlet",n.nzSplit)("nzStringTemplateOutletContext",ie(6,ze,i))}}function Se(e,o){if(e&1&&(I(0,"div",0),G(1,1),k(),x(2,he,2,8,"span",2)),e&2){let t=o.$implicit,i=o.$index,r=o.$count,n=p();g("margin-block-end",n.nzDirection==="vertical"?i===r-1?null:n.spaceSize:null,"px")("margin-inline-end",n.nzDirection==="horizontal"?i===r-1?null:n.spaceSize:null,"px"),u(),E("ngTemplateOutlet",t),u(),L(n.nzSplit&&i!==r-1?2:-1)}}var Ce=new m("NZ_SPACE_COMPACT_SIZE"),de=new m("NZ_SPACE_COMPACT_ITEMS"),ve=new m("NZ_SPACE_COMPACT_ITEM_TYPE"),ye=(()=>{class e{nzBlock=z(!1,{transform:A});nzDirection=z("horizontal");nzSize=z("default");elementRef=a(y);static \u0275fac=function(i){return new(i||e)};static \u0275cmp=_({type:e,selectors:[["nz-space-compact"]],hostAttrs:[1,"ant-space-compact"],hostVars:4,hostBindings:function(i,r){i&2&&O("ant-space-compact-block",r.nzBlock())("ant-space-compact-vertical",r.nzDirection()==="vertical")},inputs:{nzBlock:[1,"nzBlock"],nzDirection:[1,"nzDirection"],nzSize:[1,"nzSize"]},exportAs:["nzSpaceCompact"],features:[ne([{provide:Ce,useFactory:()=>a(e).nzSize},{provide:de,useFactory:()=>l([])}])],ngContentSelectors:pe,decls:1,vars:0,template:function(i,r){i&1&&(w(),M(0))},encapsulation:2,changeDetection:0})}return e})(),st=(()=>{class e{spaceCompactCmp=a(ye,{host:!0,optional:!0});items=a(de,{host:!0,optional:!0});type=a(ve);elementRef=a(y);directionality=a(se);dir=N(this.directionality.change,{initialValue:this.directionality.value});get parentElement(){return this.elementRef.nativeElement?.parentElement}class=h(()=>{if(!this.spaceCompactCmp||!this.items||this.parentElement!==this.spaceCompactCmp.elementRef.nativeElement)return null;let t=this.items(),i=this.spaceCompactCmp.nzDirection(),r=[be(this.type,i,this.dir()==="rtl")],n=t.indexOf(this),s=t.findIndex(c=>c);return n===s?r.push(_e(this.type,i)):n===t.length-1&&r.push(De(this.type,i)),r});constructor(){!this.spaceCompactCmp||!this.items||Z(()=>{if(this.parentElement===this.spaceCompactCmp.elementRef.nativeElement){let t=Array.from(this.parentElement.children).indexOf(this.elementRef.nativeElement);this.items.update(i=>{let r=i.slice();return r.splice(t,0,this),r})}})}ngOnDestroy(){this.items?.update(t=>t.filter(i=>i!==this))}static \u0275fac=function(i){return new(i||e)};static \u0275dir=D({type:e,hostVars:2,hostBindings:function(i,r){i&2&&W(r.class())},exportAs:["nzSpaceCompactItem"]})}return e})();function j(e,o,t){return`ant-${e}-compact-${o==="vertical"?"vertical-":""}${t}`}function be(e,o,t){let i=t?"-rtl":"";return`${j(e,o,"item")}${i}`}function _e(e,o){return j(e,o,"first-item")}function De(e,o){return j(e,o,"last-item")}var xe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=D({type:e,selectors:[["","nzSpaceItem",""]]})}return e})(),Ee="space",ue={small:8,middle:16,large:24},ct=(()=>{let e,o=[],t=[];return class T{static{let r=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;e=[ae()],$(null,null,e,{kind:"field",name:"nzSize",static:!1,private:!1,access:{has:n=>"nzSize"in n,get:n=>n.nzSize,set:(n,s)=>{n.nzSize=s}},metadata:r},o,t),r&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:r})}nzConfigService;cdr;_nzModuleName=Ee;nzDirection="horizontal";nzAlign;nzSplit=null;nzWrap=!1;nzSize=S(this,o,"small");items=S(this,t);mergedAlign;spaceSize=ue.small;destroy$=new F;constructor(r,n){this.nzConfigService=r,this.cdr=n}updateSpaceItems(){let r=typeof this.nzSize=="string"?ue[this.nzSize]:this.nzSize;this.spaceSize=r/(this.nzSplit?2:1),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=this.nzAlign===void 0&&this.nzDirection==="horizontal"?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.items.changes.pipe(d(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}static \u0275fac=function(n){return new(n||T)(b(ce),b(re))};static \u0275cmp=_({type:T,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(n,s,c){if(n&1&&J(c,xe,4,U),n&2){let P;K(P=X())&&(s.items=P)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(n,s){n&2&&(g("flex-wrap",s.nzWrap?"wrap":null),O("ant-space-horizontal",s.nzDirection==="horizontal")("ant-space-vertical",s.nzDirection==="vertical")("ant-space-align-start",s.mergedAlign==="start")("ant-space-align-end",s.mergedAlign==="end")("ant-space-align-center",s.mergedAlign==="center")("ant-space-align-baseline",s.mergedAlign==="baseline"))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:[2,"nzWrap","nzWrap",A],nzSize:"nzSize"},exportAs:["nzSpace"],features:[B],ngContentSelectors:pe,decls:3,vars:0,consts:[[1,"ant-space-item"],[3,"ngTemplateOutlet"],[1,"ant-space-split",3,"margin-block-end","margin-inline-end"],[1,"ant-space-split"],[3,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(n,s){n&1&&(w(),M(0),H(1,Se,3,6,null,null,Q)),n&2&&(u(),Y(s.items))},dependencies:[oe,le],encapsulation:2,changeDetection:0})}})(),at=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=V({type:e});static \u0275inj=q({})}return e})();export{me as a,N as b,Ce as c,ve as d,ye as e,st as f,xe as g,ct as h,at as i};