<ol class="breadcrumb breadcrumb-arrow font-trirong">
  <li><a href="javascript://"> Basicp1</a></li>
</ol>
<section class="ug-hero">
  <div class="ug-hero__content">
    <div class="ug-hero__icon"><clr-icon shape="users"></clr-icon></div>
    <div>
      <h2 class="ug-hero__title">Basicp1</h2>
    </div>
  </div>
  <div class="ug-hero__actions"> 
    <button id="add" class="ug-btn ug-btn-primary" (click)="goToAdd()">
      <clr-icon shape="plus"></clr-icon>
      <span class="ug-btn-text">ADD</span>
    </button>
   
  </div>
</section>


<div class="ug-toolbar">
  <div class="ug-toolbar__left">
    <div class="ug-search">
      <clr-icon shape="search"></clr-icon>
      <input class="ug-search__input" type="text" placeholder="SEARCH" [(ngModel)]="filterText" />
    </div>
  </div>
  <div class="ug-toolbar__right">
    <div class="ug-view-toggle">
      <button class="ug-btn ug-btn-sm" [class.ug-btn-primary]="viewMode==='cards'" (click)="setViewMode('cards')">
        <clr-icon shape="view-cards"></clr-icon>
      </button>
      <button class="ug-btn ug-btn-sm" [class.ug-btn-primary]="viewMode==='table'" (click)="setViewMode('table')">
        <clr-icon shape="table"></clr-icon>
      </button>
    </div>
  </div>
</div> 
<clr-datagrid class="ug-grid" [clrDgLoading]="loading" *ngIf="viewMode==='table'">
  <clr-dg-placeholder>
    <ng-template #loadingSpinner>
      <clr-spinner>LOADING ... </clr-spinner>
    </ng-template>
    <div *ngIf="error;else loadingSpinner">{{error}}</div>
  </clr-dg-placeholder>



 <clr-dg-column [clrDgField]="'name'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      name
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'name2'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      name2
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'number1'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      number1
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'number2'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      number2
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'phone_number'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      Phone Number
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'phone_number2'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      Phone Number2
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'paragraph_field'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      Paragraph Field
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'paragraph_field2'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      Paragraph Field2
    </ng-container>
  </clr-dg-column>


 <clr-dg-column [clrDgField]="'password_field'"> <ng-container *clrDgHideableColumn="{hidden: false}">Password Field
						 </ng-container></clr-dg-column>




 <clr-dg-column [clrDgField]="'textarea'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      Textarea
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'textarea_field'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      Textarea Field
    </ng-container>
  </clr-dg-column>




 <clr-dg-column [clrDgField]="'textarea_field2'">
    <ng-container *clrDgHideableColumn="{hidden: false}">
      Textarea Field2
    </ng-container>
  </clr-dg-column>

 
 <!-- who column -->
      <clr-dg-column> <ng-container *clrDgHideableColumn="{hidden: false}">
        <clr-icon shape="bars"></clr-icon> Action
      </ng-container></clr-dg-column>
      <!-- end --> 
  <clr-dg-row *clrDgItems="let user of filteredGroups;let i = index" [clrDgItem]="user">

<clr-dg-cell>{{user.name }}</clr-dg-cell>


<clr-dg-cell>{{user.name2 }}</clr-dg-cell>


<clr-dg-cell>{{user.number1 }}</clr-dg-cell>


<clr-dg-cell>{{user.number2 }}</clr-dg-cell>


<clr-dg-cell>{{user.phone_number }}</clr-dg-cell>


<clr-dg-cell>{{user.phone_number2 }}</clr-dg-cell>


<clr-dg-cell (click)="goToReplaceStringparagraph_field(user.paragraph_field)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon></clr-dg-cell>


<clr-dg-cell (click)="goToReplaceStringparagraph_field2(user.paragraph_field2)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon></clr-dg-cell>


<clr-dg-cell>{{user.password_field }}</clr-dg-cell>


<clr-dg-cell (click)="goToReplaceStringtextarea (user.textarea)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
</clr-dg-cell>


<clr-dg-cell (click)="goToReplaceStringtextarea_field (user.textarea_field)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
</clr-dg-cell>


<clr-dg-cell (click)="goToReplaceStringtextarea_field2 (user.textarea_field2)" style="cursor: pointer; align-items: center;"><clr-icon shape="details"></clr-icon>
</clr-dg-cell>

 
  <!-- who column -->
<clr-dg-cell>
  <clr-signpost>
   <span style="cursor: pointer;" clrSignpostTrigger><clr-icon shape="help" class="success" style="color: rgb(0, 130, 236);"></clr-icon></span>
   <clr-signpost-content [clrPosition]="'left-middle'" *clrIfOpen>
     <h5 style="margin-top: 0">Who Column</h5>
           <div>Account ID: <code class="clr-code">{{user.accountId}}</code></div>
           <div>Created At: <code class="clr-code">{{user.createdAt| date}}</code></div>
           <div>Created By: <code class="clr-code">{{user.createdBy}}</code></div>
           <div>Updated At: <code class="clr-code">{{user.updatedAt | date}}</code></div>
           <div>Updated By: <code class="clr-code">{{user.updatedBy}}</code></div>
   </clr-signpost-content>
 </clr-signpost>
 </clr-dg-cell>
 
 <!-- who colmn --> 
 
 
    <clr-dg-action-overflow>
      <!-- <button class="ug-action-item" *ngIf="medit == 'true' || medit == true" (click)="onEdit(user)">
        <clr-icon shape="edit"></clr-icon>
        EDIT
      </button> -->
      <button class="ug-action-item" (click)="onEdit(user)">
        <clr-icon shape="edit"></clr-icon>
        EDIT
      </button>
      <button class="ug-action-item ug-btn-error" (click)="onDelete(user)">
        <clr-icon shape="trash"></clr-icon>
 DELETE
      </button>
    </clr-dg-action-overflow>

</clr-dg-row>

  <clr-dg-footer class="ug-grid-footer">
    <clr-dg-pagination #pagination [clrDgPageSize]="10">
      <clr-dg-page-size [clrPageSizeOptions]="[10,20,50,100]">Record per page</clr-dg-page-size>
      {{pagination.firstItem + 1}} - {{pagination.lastItem + 1}}
      of {{pagination.totalItems}} Records
    </clr-dg-pagination>
  </clr-dg-footer>
</clr-datagrid>

<div class="ug-cards" *ngIf="viewMode==='cards'">
  <div class="ug-card-item" *ngFor="let user of filteredGroups; let i = index">
 <div class="ug-card-item__body"> 
    
      <div class="ug-kv"><span>name</span><strong>{{user.name}}</strong></div>


      <div class="ug-kv"><span>name2</span><strong>{{user.name2}}</strong></div>


      <div class="ug-kv"><span>number1</span><strong>{{user.number1}}</strong></div>


      <div class="ug-kv"><span>number2</span><strong>{{user.number2}}</strong></div>


      <div class="ug-kv"><span>Phone Number</span><strong>{{user.phone_number}}</strong></div>


      <div class="ug-kv"><span>Phone Number2</span><strong>{{user.phone_number2}}</strong></div>


      <div class="ug-kv"><span>Paragraph Field</span><strong>{{user.paragraph_field}}</strong></div>


      <div class="ug-kv"><span>Paragraph Field2</span><strong>{{user.paragraph_field2}}</strong></div>


      <div class="ug-kv"><span>Password Field</span><strong>{{user.password_field}}</strong></div>


      <div class="ug-kv"><span>Textarea</span><strong>{{user.textarea}}</strong></div>


      <div class="ug-kv"><span>Textarea Field</span><strong>{{user.textarea_field}}</strong></div>


      <div class="ug-kv"><span>Textarea Field2</span><strong>{{user.textarea_field2}}</strong></div>


 </div>
    <div class="ug-card-item__footer">
      
      <button class="ug-btn ug-btn-sm ug-btn-outline" (click)="onEdit(user)">
        <clr-icon shape="edit"></clr-icon> Edit
      </button>
      <button class="ug-btn ug-btn-sm ug-btn-error" (click)="onDelete(user)">
        <clr-icon shape="trash"></clr-icon> Delete
      </button>
    </div>
  </div>
</div>












<clr-modal [(clrModalOpen)]="rsModalparagraph_field" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
						  <div class="modal-body">
						    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
						  </div></clr-modal>


<clr-modal [(clrModalOpen)]="rsModalparagraph_field2" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
						  <div class="modal-body">
						    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
						  </div></clr-modal>




<clr-modal [(clrModalOpen)]="rsModaltextarea" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
						  <div class="modal-body">
						    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
						  </div></clr-modal>


<clr-modal [(clrModalOpen)]="rsModaltextarea_field" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
						  <div class="modal-body">
						    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
						  </div></clr-modal>


<clr-modal [(clrModalOpen)]="rsModaltextarea_field2" [clrModalSize]="'xl'" [clrModalStaticBackdrop]="true">
						  <div class="modal-body">
						    <textarea class="form-control" style="width:100%; height: 400px;" readonly>{{rowSelected}}</textarea>
						  </div></clr-modal>

<clr-modal [(clrModalOpen)]="modalAdd" [clrModalSize]="'md'" [clrModalStaticBackdrop]="true">
  <h3 class="modal-title">Add Basicp1</h3>
  <div class="modal-body">
    <form [formGroup]="entryForm" (ngSubmit)="onSubmit()">
<div class="form-row">
            <div class="form-col">
<div class="ug-form-group">
        <label for="name" class="ug-form-label">name<span class="required-field">*</span></label>
        <input type="text" id="name" class="ug-form-input" formControlName="name">
        <div *ngIf="submitted && entryForm.controls.name.errors" class="ug-form-error">
          <div *ngIf="submitted && entryForm.controls.name.errors.required">*This field is Required</div>
        </div>
      </div>
</div>
            </div>

<div class="form-row">
            <div class="form-col">
<div class="ug-form-group">
        <label for="name2" class="ug-form-label">name2<span class="required-field">*</span></label>
        <input type="text" id="name2" class="ug-form-input" formControlName="name2">
        <div *ngIf="submitted && entryForm.controls.name2.errors" class="ug-form-error">
          <div *ngIf="submitted && entryForm.controls.name2.errors.required">*This field is Required</div>
        </div>
      </div>
</div>
            </div>

<div class="form-row">
            <div class="form-col"> 
<div class="ug-form-group">
              <label for="number1" class="ug-form-label">number1<span class="required-field">*</span></label>
              <input type="number" id="number1" class="ug-form-input" formControlName="number1" placeholder="Enter number1">
              <div *ngIf="submitted && entryForm.controls.number1.errors" class="ug-form-error">
                <div *ngIf="submitted && entryForm.controls.number1.errors.required">*This field is Required</div>
              </div>
            </div>
 </div>
            </div>

<div class="form-row">
            <div class="form-col"> 
<div class="ug-form-group">
              <label for="number2" class="ug-form-label">number2<span class="required-field">*</span></label>
              <input type="number" id="number2" class="ug-form-input" formControlName="number2" placeholder="Enter number2">
              <div *ngIf="submitted && entryForm.controls.number2.errors" class="ug-form-error">
                <div *ngIf="submitted && entryForm.controls.number2.errors.required">*This field is Required</div>
              </div>
            </div>
 </div>
            </div>


<div class="form-row">
            <div class="form-col">
 <div class="ug-form-group">
              <label for="phone_number" class="ug-form-label">Phone Number</label>
              <input type="text" id="phone_number" class="ug-form-input" formControlName="phone_number" placeholder="+91 Enter 10 digit Mobile Number" pattern="((\+)?([1-9]{2}))?[1-9]{1}[0-9]{9}$">
              <div *ngIf="submitted && entryForm.controls['phone_number'].errors" class="ug-form-error">
                <div *ngIf="submitted && entryForm.controls['phone_number'].hasError('pattern')">* Please Follow your pattern,+91 Enter 10 digit Mobile Number.</div>
              </div>
            </div>
 </div>
            </div>


<div class="form-row">
            <div class="form-col">
 <div class="ug-form-group">
              <label for="phone_number2" class="ug-form-label">Phone Number2</label>
              <input type="text" id="phone_number2" class="ug-form-input" formControlName="phone_number2" placeholder="+91 Enter 10 digit Mobile Number" pattern="((\+)?([1-9]{2}))?[1-9]{1}[0-9]{9}$">
              <div *ngIf="submitted && entryForm.controls['phone_number2'].errors" class="ug-form-error">
                <div *ngIf="submitted && entryForm.controls['phone_number2'].hasError('pattern')">* Please Follow your pattern,+91 Enter 10 digit Mobile Number.</div>
              </div>
            </div>
 </div>
            </div>

<div class="form-row">
            <div class="form-col">
 <div class="ug-form-group">
              <label for="paragraph_field" class="ug-form-label">Paragraph Field</label>
              <input type="text" id="paragraph_field" class="ug-form-input" formControlName="paragraph_field" placeholder="Enter paragraph">
            </div>
 </div>
            </div>

<div class="form-row">
            <div class="form-col">
 <div class="ug-form-group">
              <label for="paragraph_field2" class="ug-form-label">Paragraph Field2</label>
              <input type="text" id="paragraph_field2" class="ug-form-input" formControlName="paragraph_field2" placeholder="Enter paragraph">
            </div>
 </div>
            </div>



        <!-- Password Fields -->
        <div class="form-row">
          <div class="form-col">
            <div class="ug-form-group">
              <label for="password_field" class="ug-form-label">Password Field</label>
              <div class="password-input-container">
                <input 
                  [type]="newaddpHidepassword_field ? 'password' : 'text'" 
                  id="password_field" 
                  class="ug-form-input password-input" 
                  formControlName="password_field" 
                  placeholder="Enter Password Field"
                  autocomplete="new-password">
                <button 
                  type="button" 
                  class="password-toggle" 
                  (click)="newaddChangerpassword_field()" 
                  [attr.aria-label]="newaddpHidepassword_field? 'Show password' : 'Hide password'">
                  <clr-icon [attr.shape]="newaddIconpassword_field"></clr-icon>
                </button>
              </div>
            </div>
          </div>
          
          <div class="form-col">
            <div class="ug-form-group">
              <label for="confirmpassword_field" class="ug-form-label">Confirm Password Field</label>
              <input 
                type="password" 
                id="confirmpassword_field" 
                class="ug-form-input" 
                formControlName="confirmpassword_field" 
                placeholder="Confirm password"
                autocomplete="new-password">
              <div *ngIf="entryForm.controls.confirmpassword_field.errors" class="ug-form-error">
                <div *ngIf="entryForm.controls.confirmpassword_field.errors.confirmedpassword_fieldValidator">* Password and Confirm Password must match.</div>
              </div>
            </div>
          </div>
        </div>


<div class="form-row">
            <div class="form-col">
 <div class="ug-form-group">
              <label for="textarea" class="ug-form-label">Textarea</label>
              <textarea 
                id="textarea" 
                class="ug-form-input" 
                formControlName="textarea" 
                placeholder="Enter text" 
                rows="3"></textarea>
            </div>
</div>
            </div>


<div class="form-row">
            <div class="form-col">
 <div class="ug-form-group">
              <label for="textarea_field" class="ug-form-label">Textarea Field</label>
              <textarea 
                id="textarea_field" 
                class="ug-form-input" 
                formControlName="textarea_field" 
                placeholder="Enter text" 
                rows="3"></textarea>
            </div>
</div>
            </div>


<div class="form-row">
            <div class="form-col">
 <div class="ug-form-group">
              <label for="textarea_field2" class="ug-form-label">Textarea Field2</label>
              <textarea 
                id="textarea_field2" 
                class="ug-form-input" 
                formControlName="textarea_field2" 
                placeholder="Enter text" 
                rows="3"></textarea>
            </div>
</div>
            </div>


      <div class="modal-footer">
        <button type="button" class="ug-btn ug-btn-outline" (click)="modalAdd = false">Cancel</button>
        <button type="submit" class="ug-btn ug-btn-primary">ADD</button>
      </div>
    </form>
  </div>
</clr-modal>

<clr-modal [(clrModalOpen)]="modalEdit" [clrModalSize]="'md'" [clrModalStaticBackdrop]="true">
  <h3 class="modal-title">Update Basicp1</h3>
  <div class="modal-body" *ngIf="rowSelected.id">
    



<div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="name" class="ug-form-label">name<span class="required-field">*</span></label>
                <input type="text" id="name" class="ug-form-input" [(ngModel)]="rowSelected.name" name="name"
                  placeholder="Enter name">
              </div>
            </div>
          </div>





<div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="name2" class="ug-form-label">name2<span class="required-field">*</span></label>
                <input type="text" id="name2" class="ug-form-input" [(ngModel)]="rowSelected.name2" name="name2"
                  placeholder="Enter name2">
              </div>
            </div>
          </div>


 <!-- Number Fields -->
          <div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="number1" class="ug-form-label">number1</label>
                <input type="number" id="number1" class="ug-form-input" [(ngModel)]="rowSelected.number1"
                  name="number1" placeholder="Enter number1">
              </div>
            </div>
          </div>


 <!-- Number Fields -->
          <div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="number2" class="ug-form-label">number2</label>
                <input type="number" id="number2" class="ug-form-input" [(ngModel)]="rowSelected.number2"
                  name="number2" placeholder="Enter number2">
              </div>
            </div>
          </div>


 <!-- Phone Number Fields -->
          <div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="phone_number" class="ug-form-label">Phone Number</label>
                <input type="text" id="phone_number" class="ug-form-input" [(ngModel)]="rowSelected.phone_number"
                  name="phone_number" placeholder="+91 Enter 10 digit Mobile Number"
                  pattern="((\+)?([1-9]{2}))?[1-9]{1}[0-9]{9}$">
                <div *ngIf="rowSelected.phone_number && !isValidPhone_number(rowSelected.phone_number)"
                  class="ug-form-error">
                  * Please Follow your pattern,+91 Enter 10 digit Mobile Number.
                </div>
              </div>
            </div>
          </div>


 <!-- Phone Number Fields -->
          <div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="phone_number2" class="ug-form-label">Phone Number2</label>
                <input type="text" id="phone_number2" class="ug-form-input" [(ngModel)]="rowSelected.phone_number2"
                  name="phone_number2" placeholder="+91 Enter 10 digit Mobile Number"
                  pattern="((\+)?([1-9]{2}))?[1-9]{1}[0-9]{9}$">
                <div *ngIf="rowSelected.phone_number2 && !isValidPhone_number2(rowSelected.phone_number2)"
                  class="ug-form-error">
                  * Please Follow your pattern,+91 Enter 10 digit Mobile Number.
                </div>
              </div>
            </div>
          </div>


  <!-- Paragraph Fields -->
          <div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="paragraph_field" class="ug-form-label">Paragraph Field</label>
                <input type="text" id="paragraph_field" class="ug-form-input"
                  [(ngModel)]="rowSelected.paragraph_field" name="paragraph_field" placeholder="Enter Paragraph Field">
              </div>
            </div>
            </div>


  <!-- Paragraph Fields -->
          <div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="paragraph_field2" class="ug-form-label">Paragraph Field2</label>
                <input type="text" id="paragraph_field2" class="ug-form-input"
                  [(ngModel)]="rowSelected.paragraph_field2" name="paragraph_field2" placeholder="Enter Paragraph Field2">
              </div>
            </div>
            </div>


          <!-- Password Fields -->
          <div class="form-row">
            <div class="form-col">
              <div class="ug-form-group">
                <label for="password_field" class="ug-form-label">Password Field</label>
                <div class="password-input-container">
                  <input [type]="newpHidepassword_field ? 'password' : 'text'" id="password_field"
                    class="ug-form-input password-input" [(ngModel)]="rowSelected.password_field" name="password_field"
                    placeholder="Enter Password Field">
                  <button type="button" class="password-toggle" (click)="newShapeChangerpassword_field()"
                    [attr.aria-label]="newpHidepassword_field ? 'Show password' : 'Hide password'">
                    <clr-icon [attr.shape]="newIconpassword_field"></clr-icon>
                  </button>
                </div>
              </div>
            </div>
          </div>


            <div class="form-col">
              <div class="ug-form-group">
                <label for="textarea" class="ug-form-label">Textarea</label>
                <textarea id="textarea" class="ug-form-input" [(ngModel)]="rowSelected.textarea"
                  name="textarea" placeholder="Enter text" rows="3"></textarea>
              </div>
            </div>
           


            <div class="form-col">
              <div class="ug-form-group">
                <label for="textarea_field" class="ug-form-label">Textarea Field</label>
                <textarea id="textarea_field" class="ug-form-input" [(ngModel)]="rowSelected.textarea_field"
                  name="textarea_field" placeholder="Enter text" rows="3"></textarea>
              </div>
            </div>
           


            <div class="form-col">
              <div class="ug-form-group">
                <label for="textarea_field2" class="ug-form-label">Textarea Field2</label>
                <textarea id="textarea_field2" class="ug-form-input" [(ngModel)]="rowSelected.textarea_field2"
                  name="textarea_field2" placeholder="Enter text" rows="3"></textarea>
              </div>
            </div>
           


    <div class="modal-footer">
      <button type="button" class="ug-btn ug-btn-outline" (click)="modalEdit = false">Cancel</button>
      <button type="submit" (click)="onUpdate(rowSelected.id)" class="ug-btn ug-btn-primary">Update</button>
    </div>

<clr-modal [(clrModalOpen)]="modaldelete" [clrModalSize]="'lg'" [clrModalStaticBackdrop]="true">
  <div class="modal-body" *ngIf="rowSelected.id">
    <div class="ug-delete-header">
      <div class="ug-delete-icon">
        <clr-icon shape="exclamation-triangle" size="48"></clr-icon>
      </div>
      <h1 class="ug-delete-title">Are You Sure Want to Delete?</h1>
      <p class="ug-delete-subtitle">This action cannot be undone</p>
    </div>

<div class="ug-delete-details"><div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">name:</span>
        <span class="ug-delete-detail-value">{{rowSelected.name}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">name2:</span>
        <span class="ug-delete-detail-value">{{rowSelected.name2}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">number1:</span>
        <span class="ug-delete-detail-value">{{rowSelected.number1}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">number2:</span>
        <span class="ug-delete-detail-value">{{rowSelected.number2}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">Phone Number:</span>
        <span class="ug-delete-detail-value">{{rowSelected.phone_number}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">Phone Number2:</span>
        <span class="ug-delete-detail-value">{{rowSelected.phone_number2}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">Paragraph Field:</span>
        <span class="ug-delete-detail-value">{{rowSelected.paragraph_field}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">Paragraph Field2:</span>
        <span class="ug-delete-detail-value">{{rowSelected.paragraph_field2}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">Password Field:</span>
        <span class="ug-delete-detail-value">{{rowSelected.password_field}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">Textarea:</span>
        <span class="ug-delete-detail-value">{{rowSelected.textarea}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">Textarea Field:</span>
        <span class="ug-delete-detail-value">{{rowSelected.textarea_field}}</span>
      </div>

<div class="ug-delete-detail-item">
        <span class="ug-delete-detail-label">Textarea Field2:</span>
        <span class="ug-delete-detail-value">{{rowSelected.textarea_field2}}</span>
      </div>

 
    </div>

    <div class="modal-footer">
      <button type="button" class="ug-btn ug-btn-outline" (click)="modaldelete = false">Cancel</button>
      <button type="submit" (click)="delete(rowSelected.id)" class="ug-btn ug-btn-error">Delete</button>
    </div>
  </div>
</clr-modal>

<clr-modal [(clrModalOpen)]="modalCsv" [clrModalSize]="'sm'" [clrModalStaticBackdrop]="false">
  <h3 class="modal-title">Import File</h3>
  <div class="modal-body">
    <div class="ug-form-group">
      <label class="ug-form-label">Select CSV File</label>
      <input type="file" name="file" class="ug-file-input" (change)="selectFile($event)"
        accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel">
    </div>
  </div>
  <div class="modal-footer">
    <button class="ug-btn ug-btn-outline" type="button" (click)="modalCsv = false">Cancel</button>
    <button class="ug-btn ug-btn-primary" type="button" [disabled]="!selectedFiles" (click)="saveCsv()">Import</button>
  </div>
</clr-modal>























  <!-- htmlpopup -->
