import{a as c}from"./chunk-MFZ3EXVF.js";import{a as f,b as x,c as g}from"./chunk-UZB7YFT6.js";import{Aa as s,cb as p,cd as b,db as m,ya as d}from"./chunk-SKPDQO4E.js";var w=`<div>
    <div class="type-container" [attr.type]="workplanType" [ngSwitch]="workplanType">
        <!-- <div class="icon-container" *ngSwitchCase="1">
            <cds-icon shape="clock" size="sm" solid></cds-icon>
        </div> -->
        <armon-icon-label [colorCode]="2" *ngSwitchCase="1">
            <ng-template icon-label-icon>
                <cds-icon shape="clock" solid></cds-icon>
            </ng-template>
            <ng-template icon-label-content>
                <span>{{workplanTypeTitle}}</span>
            </ng-template>
        </armon-icon-label>
        <armon-icon-label [colorCode]="3" *ngSwitchCase="2">
            <ng-template icon-label-icon>
                <cds-icon shape="clock" solid></cds-icon>
                <cds-icon shape="hourglass" solid></cds-icon>
            </ng-template>
            <ng-template icon-label-content>
                <span>{{workplanTypeTitle}}</span>
            </ng-template>
        </armon-icon-label>
        <armon-icon-label [colorCode]="4" *ngSwitchCase="3">
            <ng-template icon-label-icon>
                <cds-icon shape="hourglass" solid></cds-icon>
            </ng-template>
            <ng-template icon-label-content>
                <span>{{workplanTypeTitle}}</span>
            </ng-template>
        </armon-icon-label>
        <armon-icon-label [colorCode]="5" *ngSwitchCase="4">
            <ng-template icon-label-icon>
                <cds-icon shape="clock" solid></cds-icon>
                <cds-icon shape="sync"></cds-icon>
            </ng-template>
            <ng-template icon-label-content>
                <span>{{workplanTypeTitle}}</span>
            </ng-template>
        </armon-icon-label>
    </div>
</div>`;var h=`.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}.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}:host{display:inline-block}:host .type-container[type="1"]{font-size:.714rem;margin:0 3px;display:-webkit-box;display:-moz-box;display:-webkit-flexbox;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center}:host .type-container[type="1"] .icon-container{padding:0 3px;background-color:#06b2dc;color:#e3f9fe;-webkit-border-top-left-radius:.375rem;-moz-border-radius-topleft:.375rem;border-top-left-radius:.375rem;-webkit-border-v-left-radius:.375rem;-moz-border-radius-bottomleft:.375rem;border-bottom-left-radius:.375rem}:host .type-container[type="1"] .icon-container cds-icon:nth-child(2){margin-left:-4px}:host .type-container[type="1"] .title-container{padding:0 6px;font-size:.714rem;text-align:center;font-weight:400!important;color:#06b2dc;background-color:#06b2dc26;-webkit-border-top-right-radius:.375rem;-moz-border-radius-topv:.375rem;border-top-right-radius:.375rem;-webkit-border-v-right-radius:.375rem;-moz-border-radius-bottomright:.375rem;border-bottom-right-radius:.375rem}:host .type-container[type="2"]{font-size:.714rem;margin:0 3px;display:-webkit-box;display:-moz-box;display:-webkit-flexbox;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center}:host .type-container[type="2"] .icon-container{padding:0 3px;background-color:#f2ab1f;color:#fff;-webkit-border-top-left-radius:.375rem;-moz-border-radius-topleft:.375rem;border-top-left-radius:.375rem;-webkit-border-v-left-radius:.375rem;-moz-border-radius-bottomleft:.375rem;border-bottom-left-radius:.375rem}:host .type-container[type="2"] .icon-container cds-icon:nth-child(2){margin-left:-4px}:host .type-container[type="2"] .title-container{padding:0 6px;font-size:.714rem;text-align:center;font-weight:400!important;color:#f2ab1f;background-color:#f2ab1f26;-webkit-border-top-right-radius:.375rem;-moz-border-radius-topv:.375rem;border-top-right-radius:.375rem;-webkit-border-v-right-radius:.375rem;-moz-border-radius-bottomright:.375rem;border-bottom-right-radius:.375rem}:host .type-container[type="3"]{font-size:.714rem;margin:0 3px;display:-webkit-box;display:-moz-box;display:-webkit-flexbox;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center}:host .type-container[type="3"] .icon-container{padding:0 3px;background-color:#f08743;color:#fff;-webkit-border-top-left-radius:.375rem;-moz-border-radius-topleft:.375rem;border-top-left-radius:.375rem;-webkit-border-v-left-radius:.375rem;-moz-border-radius-bottomleft:.375rem;border-bottom-left-radius:.375rem}:host .type-container[type="3"] .icon-container cds-icon:nth-child(2){margin-left:-4px}:host .type-container[type="3"] .title-container{padding:0 6px;font-size:.714rem;text-align:center;font-weight:400!important;color:#f08743;background-color:#f0874326;-webkit-border-top-right-radius:.375rem;-moz-border-radius-topv:.375rem;border-top-right-radius:.375rem;-webkit-border-v-right-radius:.375rem;-moz-border-radius-bottomright:.375rem;border-bottom-right-radius:.375rem}:host .type-container[type="4"]{font-size:.714rem;margin:0 3px;display:-webkit-box;display:-moz-box;display:-webkit-flexbox;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center}:host .type-container[type="4"] .icon-container{padding:0 3px;background-color:#f36052;color:#fff;-webkit-border-top-left-radius:.375rem;-moz-border-radius-topleft:.375rem;border-top-left-radius:.375rem;-webkit-border-v-left-radius:.375rem;-moz-border-radius-bottomleft:.375rem;border-bottom-left-radius:.375rem}:host .type-container[type="4"] .icon-container cds-icon:nth-child(2){margin-left:-4px}:host .type-container[type="4"] .title-container{padding:0 6px;font-size:.714rem;text-align:center;font-weight:400!important;color:#f36052;background-color:#f3605226;-webkit-border-top-right-radius:.375rem;-moz-border-radius-topv:.375rem;border-top-right-radius:.375rem;-webkit-border-v-right-radius:.375rem;-moz-border-radius-bottomright:.375rem;border-bottom-right-radius:.375rem}
`;var z=function(r,e,o,i){var n=arguments.length,t=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(r,e,o,i);else for(var l=r.length-1;l>=0;l--)(a=r[l])&&(t=(n<3?a(t):n>3?a(e,o,t):a(e,o))||t);return n>3&&t&&Object.defineProperty(e,o,t),t},y=class{translate;workplanType;workplanTypeTitle;constructor(e){this.translate=e}ngOnInit(){this.translate.get([c[this.workplanType-1].i18nName]).subscribe(e=>{this.workplanTypeTitle=e[c[this.workplanType-1].i18nName]})}ngOnDestroy(){}static ctorParameters=()=>[{type:b}];static propDecorators={workplanType:[{type:s}]}};y=z([d({selector:"armon-pacs-workplan-type",template:w,standalone:!0,imports:[p,m,g,f,x],styles:[h]})],y);export{y as a};
