-
Notifications
You must be signed in to change notification settings - Fork 0
/
chunk-DDPZX22V.js
2 lines (2 loc) · 1.64 KB
/
chunk-DDPZX22V.js
1
2
import{c as m}from"./chunk-J75FIYFQ.js";import{Ha as c,V as o,ea as a,fa as l,xa as d}from"./chunk-C45MVH67.js";var v=(()=>{class t{constructor(e){this.element=e.nativeElement}get shape(){return this.element.shape}set shape(e){this.element.shape=e}get size(){return this.element.size}set size(e){this.element.size=e}get direction(){return this.element.direction}set direction(e){this.element.direction=e}get flip(){return this.element.flip}set flip(e){this.element.flip=e}get solid(){return this.element.solid}set solid(e){this.element.solid=e===""?!0:e}get status(){return this.element.status}set status(e){this.element.status=e}get inverse(){return this.element.inverse}set inverse(e){this.element.inverse=e===""?!0:e}get badge(){return this.element.badge}set badge(e){this.element.badge=e}}return t.\u0275fac=function(e){return new(e||t)(c(d))},t.\u0275dir=l({type:t,selectors:[["cds-icon"]],inputs:{shape:"shape",size:"size",direction:"direction",flip:"flip",solid:"solid",status:"status",inverse:"inverse",badge:"badge"}}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a({type:t}),t.\u0275inj=o({imports:[[m]]}),t})();var n=class extends Error{constructor(i){super(i)}};var h=class{constructor(i="",e=5,s=0,r=0,u=!1){this.name=i,this.availableDaysInAWeek=e,this.holidaysForNextSprint=s,this.meetingDaysAWeek=r,this.isNewComer=u}getAvailableDaysInSprint(i){let e=this.availableDaysInAWeek*i,s=e-this.holidaysForNextSprint;if(s<0)throw new n(`Teammate ${this.name} has too many holidays versus number of days of a sprint
(${this.holidaysForNextSprint} vs ${e}`);let r=this.meetingDaysAWeek*i;return s-r}};export{v as a,y as b,h as c};