<app-page-header [pathTitle]="pathTitle"></app-page-header>
<div class="bg-card-white">
</div>
<div class="block-main-content">
    <div class="font-size-18px font-weight-700 pt-1.5rem text-primary px-2rem">
        {{'menu.EvaluationPeriod' | translate }}
    </div>
    <div class="page pt-0.75rem">
        <div class="border-b border-gray-200 dark:border-white/10 px-2rem">
            <nav class="-mb-0.5 flex space-x-6 rtl:space-x-reverse">
                <a class="font-size-16px font-weight-500  hs-tab-active:font-weight-700 hs-tab-active:border-secondary  hs-tab-active:text-secondary pb-3 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500  hover:text-secondary active"
                    href="javascript:void(0);" id="underline-item-1" data-hs-tab="#underline-1"
                    aria-controls="underline-1"
                    (click)="activeTab='underline-1';pathTitle = ['menu.PerformanceManagementSystem','menu.EvaluationPeriod','menu.EvaluationPeriod']">
                    {{'menu.EvaluationPeriod' | translate }}
                </a>
                <!-- <a class="font-size-16px font-weight-500  hs-tab-active:font-weight-700 hs-tab-active:border-secondary  hs-tab-active:text-secondary pb-3 px-1 inline-flex items-center gap-2 border-b-[3px] border-transparent whitespace-nowrap text-gray-500  hover:text-secondary"
                    href="javascript:void(0);" id="underline-item-2" data-hs-tab="#underline-2"
                    aria-controls="underline-2"
                    (click)="activeTab='underline-2';pathTitle = ['การประเมินจัดการประสิทธิภาพ','รอบประเมิน','กำหนดฟอร์มเอกสาร']">
                    กำหนดฟอร์มเอกสาร
                </a> -->
            </nav>
        </div>
        <div class="px-2rem" [ngClass]="{'pt-50px': groupShow !== '2'}">
            <div id="underline-1" role="tabpanel" aria-labelledby="underline-item-1"
                *ngIf="activeTab === 'underline-1'">
                <app-management-evaluation-cycle></app-management-evaluation-cycle>
            </div>
            <div id="underline-2" role="tabpanel" aria-labelledby="underline-item-2"
                *ngIf="activeTab === 'underline-2'">
                <app-document-form *ngIf="groupShow=='1'" [pathTitle]="pathTitle" (sendPathTitle)="pathTitle=$event"
                    (sendGroupShow)="groupShow=$event"></app-document-form>
                <app-edit-evaluation-form *ngIf="groupShow=='2'" [pathTitle]="pathTitle"
                    (sendPathTitle)="pathTitle=$event" (sendGroupShow)="groupShow=$event"></app-edit-evaluation-form>
            </div>
        </div>
    </div>
</div>