import{Aa as a,Yg as f,_a as l,bb as c,dd as m,ya as p}from"./chunk-SKPDQO4E.js";var g=`<div class="addedBadge d-flex justify-content-end" *ngIf="added || updated || saved || removed"
  [ngClass]="getBadgeClass()" nz-tooltip [nzTooltipTitle]="titleTemplate">
  <cds-icon [attr.shape]="getBadgeIcon()" class="cds-icon-18"></cds-icon>
</div>
<ng-template #titleTemplate>
  <span *ngIf="added">{{'COMMON.ADDED' | translate}}</span>
  <span *ngIf="updated">{{'COMMON.UPDATED' | translate}}</span>
  <span *ngIf="removed">{{'COMMON.REMOVED' | translate}}</span>
  <span *ngIf="saved">{{'COMMON.SAVED' | translate}}</span>
</ng-template>`;var u=`.card-footer{padding:.28rem .7rem}.alert{font-size:.756rem}@media screen and (min-width: 992px){.modal-xxl{max-width:1640px}}@media screen and (min-width: 1200px){.modal-xxxl{max-width:1860px}}.modal-fs{max-width:none;position:absolute;margin:auto;inset:16px;height:100vh;display:flex}.btn-link{text-decoration:none}.btn-link:hover{text-decoration:underline}.invalid-feedback{margin-top:0!important;font-size:.672rem!important}.justify-content-center{-webkit-box-pack:center;-moz-box-pack:center;-webkit-flex-pack:center;-ms-flex-pack:center;-moz-justify-content:center;-webkit-justify-content:center;justify-content:center}.justify-content-flex-end{-webkit-box-pack:end;-moz-box-pack:end;-webkit-flex-pack:end;-ms-flex-pack:end;-moz-justify-content:flex-end;-webkit-justify-content:flex-end;justify-content:flex-end}.addedBadge{height:32px;width:32px;position:absolute;right:0;top:0;-webkit-border-top-right-radius:.375rem;-moz-border-radius-topv:.375rem;border-top-right-radius:.375rem;background:linear-gradient(to left bottom,#62a325 50%,transparent 50%)}.addedBadge cds-icon{color:#fff}.updatedBadge{background:linear-gradient(to left bottom,#eb8d00 50%,transparent 50%)!important}.removedBadge{background:linear-gradient(to left bottom,#c82602 50%,transparent 50%)!important}.savedBadge{background:linear-gradient(to left bottom,#0369a1 50%,transparent 50%)!important}
`;var v=function(d,t,n,r){var o=arguments.length,e=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(d,t,n,r);else for(var s=d.length-1;s>=0;s--)(i=d[s])&&(e=(o<3?i(e):o>3?i(t,n,e):i(t,n))||e);return o>3&&e&&Object.defineProperty(t,n,e),e},b=class{added;updated;saved;removed;constructor(){}ngOnInit(){}getBadgeIcon(){return this.added?"plus":this.updated?"sync":this.removed?"times":"check"}getBadgeClass(){return this.added?"addedBadge":this.updated?"updatedBadge":this.removed?"removedBadge":"savedBadge"}static ctorParameters=()=>[];static propDecorators={added:[{type:a}],updated:[{type:a}],saved:[{type:a}],removed:[{type:a}]}};b=v([p({selector:"armon-card-badge",template:g,standalone:!0,imports:[c,f,l,m],styles:[u]})],b);export{b as a};
