2023-07-27 12:58:01 +01:00
|
|
|
<ion-header class="ion-no-border">
|
2021-02-24 09:14:58 +01:00
|
|
|
<ion-toolbar class="header-toolbar">
|
|
|
|
|
<div class="main-header">
|
|
|
|
|
<div class="title-content">
|
|
|
|
|
<div class="middle">
|
2023-06-09 15:29:03 +01:00
|
|
|
<ion-label id="edit-event-desktop" class="title">Editar Evento</ion-label> <br>
|
2023-07-27 12:58:01 +01:00
|
|
|
<i style="margin-top: -3px; font-size: 15px;"> Campos marcados com * são obrigatórios</i>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-06-23 15:39:45 +01:00
|
|
|
<ion-progress-bar class="calendar-progress-bar" type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</ion-toolbar>
|
2021-02-24 20:23:15 +01:00
|
|
|
</ion-header>
|
2021-02-24 09:14:58 +01:00
|
|
|
|
2021-02-24 20:23:15 +01:00
|
|
|
<ion-content>
|
|
|
|
|
<div class="main-content">
|
2021-07-01 16:23:47 +01:00
|
|
|
<div class="ion-item-container" [class.input-error]="Form?.get('Subject')?.invalid && validateFrom ">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-input autocomplete="on" autocorrect="on" spellcheck="true" placeholder="Assunto*"
|
2023-12-27 10:28:48 +01:00
|
|
|
[(ngModel)]="_postEvent.Subject"></ion-input>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2023-07-27 12:58:01 +01:00
|
|
|
<div *ngIf="Form && validateFrom">
|
2021-07-01 16:23:47 +01:00
|
|
|
<div *ngIf="Form.get('Subject').invalid " class="input-errror-message">
|
|
|
|
|
<div *ngIf="Form.get('Subject').errors?.required">
|
2023-07-27 12:58:01 +01:00
|
|
|
|
2021-07-01 16:23:47 +01:00
|
|
|
</div>
|
|
|
|
|
<div *ngIf="Form.get('Subject').errors?.minlength">
|
|
|
|
|
O campo deve ter pelo menos 4 caracteres.
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="container-div">
|
2021-03-25 11:38:59 +01:00
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-location.svg"></ion-icon>
|
|
|
|
|
</div>
|
2021-07-01 16:23:47 +01:00
|
|
|
<div class="ion-input-class flex-grow-1" [class.input-error]="Form?.get('Location')?.invalid && validateFrom ">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-input autocomplete="on" autocorrect="on" spellcheck="true" placeholder="Localização*"
|
|
|
|
|
[(ngModel)]="_postEvent.Location"></ion-input>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- Error messages -->
|
|
|
|
|
<!-- <span class="error ion-padding" >
|
|
|
|
|
Campo obrigatório
|
|
|
|
|
</span> -->
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
2021-07-01 16:23:47 +01:00
|
|
|
|
2023-07-20 16:54:58 +01:00
|
|
|
|
2023-07-23 21:24:34 +01:00
|
|
|
<!-- <div class="container-div">
|
2023-07-20 16:54:58 +01:00
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
|
|
|
|
<div class="ion-icon-class">
|
2023-07-21 10:12:55 +01:00
|
|
|
<ion-icon slot="start" src="assets/images/icons-description.svg"></ion-icon>
|
2023-07-20 16:54:58 +01:00
|
|
|
</div>
|
2023-07-21 10:12:55 +01:00
|
|
|
<div class="ion-input-class flex-grow-1" >
|
2023-07-20 16:54:58 +01:00
|
|
|
<ion-input [disabled]=true autocomplete="on" autocorrect="on" spellcheck="true" placeholder="Localização*" [(ngModel)]="CalendarNameOwnerName"></ion-input>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-23 21:24:34 +01:00
|
|
|
|
|
|
|
|
<span class="error ion-padding" >
|
2023-07-20 16:54:58 +01:00
|
|
|
Campo obrigatório
|
2023-07-23 21:24:34 +01:00
|
|
|
</span>
|
2023-07-20 16:54:58 +01:00
|
|
|
|
2023-07-23 21:24:34 +01:00
|
|
|
</div> -->
|
2023-07-20 16:54:58 +01:00
|
|
|
|
2023-07-27 12:58:01 +01:00
|
|
|
<div *ngIf="Form && validateFrom">
|
2021-07-01 16:23:47 +01:00
|
|
|
<div *ngIf="Form.get('Location').invalid " class="input-errror-message">
|
|
|
|
|
<div *ngIf="Form.get('Location').errors?.required">
|
2023-07-27 12:58:01 +01:00
|
|
|
|
2021-07-01 16:23:47 +01:00
|
|
|
</div>
|
|
|
|
|
<div *ngIf="Form.get('Location').errors?.minlength">
|
|
|
|
|
O campo deve ter pelo menos 4 caracteres.
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="container-div">
|
2021-03-25 11:38:59 +01:00
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
2021-03-25 11:38:59 +01:00
|
|
|
<div class="ion-input-class flex-grow-1">
|
2021-06-23 15:39:45 +01:00
|
|
|
|
2023-07-27 12:58:01 +01:00
|
|
|
<mat-form-field appearance="none" floatLabel="never" class="width-100 ">
|
2023-07-25 15:56:42 +01:00
|
|
|
<mat-select placeholder="Selecione agenda*" [(ngModel)]="_postEvent.CalendarName" [disabled]=true>
|
2023-07-20 16:54:58 +01:00
|
|
|
<mat-option *ngFor="let calendars of CalendarNamesOptions" value="{{calendars}}">
|
|
|
|
|
Agenda {{ calendars }}
|
2021-06-23 15:39:45 +01:00
|
|
|
</mat-option>
|
|
|
|
|
</mat-select>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container-div">
|
2021-03-25 11:38:59 +01:00
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
2023-07-27 12:58:01 +01:00
|
|
|
<div class="ion-input-class flex-grow-1"
|
|
|
|
|
[class.input-error]="Form?.get('Categories')?.invalid && validateFrom ">
|
2021-06-23 15:39:45 +01:00
|
|
|
|
2021-07-01 12:21:37 +01:00
|
|
|
<mat-form-field appearance="none" floatLabel="never" class="width-100" required>
|
2021-06-23 15:39:45 +01:00
|
|
|
<!-- <input matInput type="text" > -->
|
2023-07-27 12:58:01 +01:00
|
|
|
<mat-select placeholder="Selecione o tipo de evento*" matInput [(ngModel)]="_postEvent.Category">
|
2021-06-23 15:39:45 +01:00
|
|
|
<mat-option value="Reunião">
|
|
|
|
|
Reunião
|
|
|
|
|
</mat-option>
|
|
|
|
|
<mat-option value="Viagem">
|
|
|
|
|
Viagem
|
|
|
|
|
</mat-option>
|
|
|
|
|
<mat-option value="Conferência">
|
|
|
|
|
Conferência
|
|
|
|
|
</mat-option>
|
|
|
|
|
<mat-option value="Encontro">
|
|
|
|
|
Encontro
|
|
|
|
|
</mat-option>
|
|
|
|
|
</mat-select>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="container-div">
|
2024-03-03 05:36:03 +01:00
|
|
|
<div>
|
|
|
|
|
<ion-item>
|
|
|
|
|
<ion-label>Todo dia</ion-label>
|
|
|
|
|
<ion-checkbox [(ngModel)]="allDayCheck" (ionChange)="onCheckboxChange($event)"></ion-checkbox>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="allDayCheck" class="container-div">
|
2021-03-25 10:50:58 +01:00
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
2021-07-12 16:05:05 +01:00
|
|
|
<div class="ion-input-class flex-grow-1" [class.input-error]="Form?.get('Date')?.invalid && validateFrom ">
|
2021-06-23 15:39:45 +01:00
|
|
|
|
2021-07-12 16:39:55 +01:00
|
|
|
<mat-form-field appearance="none" floatLabel="never" class="date-hour-picker">
|
2023-07-27 12:58:01 +01:00
|
|
|
<input matInput [ngxMatDatetimePicker]="picker1" placeholder="Choose a date"
|
|
|
|
|
[(ngModel)]="_postEvent.StartDate" [max]="maxDate" [disabled]="disabled">
|
2021-06-23 15:39:45 +01:00
|
|
|
<mat-datepicker-toggle id="new-inicio" matSuffix [for]="picker1"></mat-datepicker-toggle>
|
2023-07-27 12:58:01 +01:00
|
|
|
<ngx-mat-datetime-picker #picker1 [showSpinners]="showSpinners" [showSeconds]="showSeconds"
|
2024-03-03 05:36:03 +01:00
|
|
|
[stepHour]="stepHour" [stepMinute]="stepMinute" [stepSecond]="stepSecond" [touchUi]="touchUi" [hideTime]="true">
|
2021-06-23 15:39:45 +01:00
|
|
|
</ngx-mat-datetime-picker>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2024-03-03 05:36:03 +01:00
|
|
|
<div *ngIf="!allDayCheck" class="container-div">
|
|
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
|
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="ion-input-class flex-grow-1" [class.input-error]="Form?.get('Date')?.invalid && validateFrom ">
|
|
|
|
|
|
|
|
|
|
<mat-form-field appearance="none" floatLabel="never" class="date-hour-picker">
|
|
|
|
|
<input matInput [ngxMatDatetimePicker]="picker1" placeholder="Choose a date"
|
|
|
|
|
[(ngModel)]="_postEvent.StartDate" [max]="maxDate" [disabled]="disabled">
|
|
|
|
|
<mat-datepicker-toggle id="new-inicio" matSuffix [for]="picker1"></mat-datepicker-toggle>
|
|
|
|
|
<ngx-mat-datetime-picker #picker1 [showSpinners]="showSpinners" [showSeconds]="showSeconds"
|
|
|
|
|
[stepHour]="stepHour" [stepMinute]="stepMinute" [stepSecond]="stepSecond" [touchUi]="touchUi" [hideTime]="false">
|
|
|
|
|
</ngx-mat-datetime-picker>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="allDayCheck" class="container-div">
|
|
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
|
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="ion-input-class flex-grow-1" [class.input-error]="Form?.get('Date')?.invalid && validateFrom ">
|
|
|
|
|
|
|
|
|
|
<mat-form-field appearance="none" floatLabel="never" floatLabel="never" class="date-hour-picker">
|
|
|
|
|
<input matInput [ngxMatDatetimePicker]="fim" placeholder="Choose a date" [(ngModel)]="_postEvent.EndDate"
|
|
|
|
|
[max]="maxDate" [disabled]="disabled" [min]="_postEvent.StartDate">
|
|
|
|
|
<mat-datepicker-toggle id="new-fim" matSuffix [for]="fim"></mat-datepicker-toggle>
|
|
|
|
|
<ngx-mat-datetime-picker #fim [showSpinners]="showSpinners" [showSeconds]="showSeconds"
|
|
|
|
|
[stepHour]="stepHour" [stepMinute]="stepMinute" [stepSecond]="stepSecond" [hideTime]="true">
|
|
|
|
|
</ngx-mat-datetime-picker>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="!allDayCheck" class="container-div">
|
2023-07-27 12:58:01 +01:00
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
2021-08-06 10:24:57 +01:00
|
|
|
<div class="ion-input-class flex-grow-1" [class.input-error]="Form?.get('Date')?.invalid && validateFrom ">
|
2021-06-23 15:39:45 +01:00
|
|
|
|
2021-07-01 12:21:37 +01:00
|
|
|
<mat-form-field appearance="none" floatLabel="never" floatLabel="never" class="date-hour-picker">
|
2023-07-27 12:58:01 +01:00
|
|
|
<input matInput [ngxMatDatetimePicker]="fim" placeholder="Choose a date" [(ngModel)]="_postEvent.EndDate"
|
|
|
|
|
[max]="maxDate" [disabled]="disabled" [min]="_postEvent.StartDate">
|
2021-06-23 15:39:45 +01:00
|
|
|
<mat-datepicker-toggle id="new-fim" matSuffix [for]="fim"></mat-datepicker-toggle>
|
2023-07-27 12:58:01 +01:00
|
|
|
<ngx-mat-datetime-picker #fim [showSpinners]="showSpinners" [showSeconds]="showSeconds"
|
2024-03-03 05:36:03 +01:00
|
|
|
[stepHour]="stepHour" [stepMinute]="stepMinute" [stepSecond]="stepSecond" [hideTime]="false">
|
2021-06-23 15:39:45 +01:00
|
|
|
</ngx-mat-datetime-picker>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-06 16:18:00 +01:00
|
|
|
|
2022-12-17 17:08:13 +01:00
|
|
|
<!-- <div class="container-div d-flex">
|
2021-03-25 11:38:59 +01:00
|
|
|
<div class="ion-item-class-2 width-100 d-flex">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-refresh.svg"></ion-icon>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
<div class="ion-input-class flex-grow-1">
|
2021-06-23 15:39:45 +01:00
|
|
|
|
2021-07-12 16:39:55 +01:00
|
|
|
<mat-form-field appearance="none" floatLabel="never" class="width-100" value="false" interface="action-sheet" required>
|
2021-07-15 14:26:26 +01:00
|
|
|
<mat-select
|
|
|
|
|
placeholder="Selecione repetição*"
|
2023-07-25 15:56:42 +01:00
|
|
|
[(ngModel)]="_postEvent.EventRecurrence.Type"
|
2021-07-12 16:39:55 +01:00
|
|
|
(ngModelChange)="onSelectedRecurringChanged($event)">
|
|
|
|
|
<mat-option
|
2021-07-15 14:26:26 +01:00
|
|
|
*ngFor="let recurring of recurringTypes"
|
|
|
|
|
value="{{recurring.Code}}">
|
|
|
|
|
{{recurring.Description}}
|
2021-06-23 15:39:45 +01:00
|
|
|
</mat-option>
|
|
|
|
|
</mat-select>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-12-17 17:08:13 +01:00
|
|
|
</div> -->
|
2021-07-01 16:23:47 +01:00
|
|
|
|
2023-07-25 15:56:42 +01:00
|
|
|
<div *ngIf="_postEvent.EventRecurrence.Type != '-1'" class="container-div width-100">
|
2021-07-12 16:39:55 +01:00
|
|
|
<div class="ion-item-class-2 d-flex">
|
|
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-calendar.svg"></ion-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div (click)="openLastOccurrence()" class="ion-input-class flex-grow-1">
|
|
|
|
|
|
|
|
|
|
<mat-form-field class="date-hour-picker">
|
2023-07-27 12:58:01 +01:00
|
|
|
<input matInput [ngxMatDatetimePicker]="occurrrence" placeholder="Choose a date"
|
|
|
|
|
[(ngModel)]="_postEvent.EventRecurrence.LastOccurrence" [disabled]="disabled" [min]="_postEvent.EndDate">
|
2021-07-12 16:39:55 +01:00
|
|
|
<mat-datepicker-toggle id="last-occurrence" matSuffix [for]="occurrrence"></mat-datepicker-toggle>
|
2023-07-27 12:58:01 +01:00
|
|
|
<ngx-mat-datetime-picker #occurrrence [showSpinners]="showSpinners" [showSeconds]="showSeconds"
|
|
|
|
|
[stepHour]="stepHour" [stepMinute]="stepMinute" [stepSecond]="stepSecond" [touchUi]="touchUi">
|
2021-07-12 16:39:55 +01:00
|
|
|
</ngx-mat-datetime-picker>
|
|
|
|
|
</mat-form-field>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-08-31 15:05:42 +01:00
|
|
|
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2021-04-08 13:39:48 +01:00
|
|
|
<div class=" d-flex width-100">
|
|
|
|
|
<div class="ion-item-class-2 width-100">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-person.svg"></ion-icon>
|
|
|
|
|
</div>
|
2023-07-27 12:58:01 +01:00
|
|
|
<div class="ion-input-class-no-height"
|
|
|
|
|
[class.input-error]="Form?.get('participantes')?.invalid && validateFrom">
|
2021-04-08 13:39:48 +01:00
|
|
|
<div class="list-people">
|
2021-02-24 09:14:58 +01:00
|
|
|
<ion-item lines="none">
|
|
|
|
|
<ion-list>
|
2023-08-30 17:07:08 +01:00
|
|
|
<div *ngIf="taskParticipants?.length < 1" class="list-people-title">Adicionar Intervenientes*</div>
|
2021-10-29 14:23:25 +01:00
|
|
|
<div *ngFor="let participant of taskParticipants">{{participant.Name}}</div>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-list>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</div>
|
2021-04-08 13:39:48 +01:00
|
|
|
<div class="add-people">
|
2021-05-04 16:21:24 +01:00
|
|
|
<button class="btn-no-color cursor-pointer" (click)="addParticipants()">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="font-35-rem" slot="start"
|
|
|
|
|
src="assets/images/icons-arrow-forward.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-35-rem" slot="start"
|
|
|
|
|
src="assets/images/theme/gov/icons-arrow-forward.svg"></ion-icon>
|
2021-04-08 16:51:40 +01:00
|
|
|
</button>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2021-04-08 13:39:48 +01:00
|
|
|
<div class=" d-flex width-100">
|
|
|
|
|
<div class="ion-item-class-2 width-100">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-people-cc.svg"></ion-icon>
|
|
|
|
|
</div>
|
2023-07-27 12:58:01 +01:00
|
|
|
<div class="ion-input-class-no-height"
|
|
|
|
|
[class.input-error]="Form?.get('participantes')?.invalid && validateFrom">
|
2021-04-08 13:39:48 +01:00
|
|
|
<div class="list-people">
|
2021-02-24 09:14:58 +01:00
|
|
|
<ion-item lines="none">
|
|
|
|
|
<ion-list>
|
2021-06-25 12:06:18 +01:00
|
|
|
<ion-label *ngIf="taskParticipantsCc?.length < 1" class="list-people-title">Com conhecimento</ion-label>
|
2021-04-08 13:39:48 +01:00
|
|
|
<ion-label *ngFor="let participant of taskParticipantsCc">{{participant.Name}}</ion-label>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-list>
|
|
|
|
|
</ion-item>
|
|
|
|
|
</div>
|
2021-04-08 13:39:48 +01:00
|
|
|
<div class="add-people">
|
2021-05-04 16:21:24 +01:00
|
|
|
<button class="btn-no-color cursor-pointer" (click)="addParticipantsCc()">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="font-35-rem" slot="start"
|
|
|
|
|
src="assets/images/icons-arrow-forward.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="font-35-rem" slot="start"
|
|
|
|
|
src="assets/images/theme/gov/icons-arrow-forward.svg"></ion-icon>
|
2021-04-08 16:51:40 +01:00
|
|
|
</button>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2021-04-01 14:19:00 +01:00
|
|
|
<div class="container-div">
|
|
|
|
|
<div class="ion-item-class-2 d-flex">
|
2021-02-24 09:14:58 +01:00
|
|
|
<div class="ion-icon-class">
|
|
|
|
|
<ion-icon slot="start" src="assets/images/icons-description.svg"></ion-icon>
|
|
|
|
|
</div>
|
2021-04-05 14:13:13 +01:00
|
|
|
<div class="ion-input-class-no-height width-100">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-textarea autocomplete="on" autocorrect="on" spellcheck="true" [(ngModel)]="_postEvent.Body.Text"
|
|
|
|
|
placeholder="Detalhes" rows="6" cols="20"></ion-textarea>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2023-07-27 12:58:01 +01:00
|
|
|
<div (click)="getDoc()" class="d-flex container-div width-100 ion-item-container-no-border cursor-pointer">
|
2021-02-24 09:14:58 +01:00
|
|
|
<ion-label>
|
|
|
|
|
<div class="attach-icon">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " src="assets/images/icons-attach-doc.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' "
|
|
|
|
|
src="assets/images/theme/gov/icons-attach-doc.svg"></ion-icon>
|
|
|
|
|
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' "
|
|
|
|
|
src="assets/images/theme/{{ThemeService.currentTheme}}/icons-attach-doc.svg"></ion-icon>
|
2021-02-24 09:14:58 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="attach-document">
|
2021-04-19 18:03:41 +01:00
|
|
|
<ion-label>Adicionar documentos</ion-label>
|
2021-07-12 16:39:55 +01:00
|
|
|
</div>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-label>
|
|
|
|
|
</div>
|
2021-07-12 16:39:55 +01:00
|
|
|
|
2021-12-07 15:34:39 +01:00
|
|
|
|
2023-07-27 12:58:01 +01:00
|
|
|
<div class="d-flex container-div width-100" *ngFor="let document of loadedEventAttachments; let i = index">
|
|
|
|
|
<ion-list class="width-100 list" *ngIf="!document.remove">
|
2021-04-19 18:03:41 +01:00
|
|
|
<ion-item class="width-100">
|
2023-07-27 12:58:01 +01:00
|
|
|
<ion-label class="width-100">
|
|
|
|
|
<p class="d-flex ion-justify-content-between">
|
|
|
|
|
<span class="attach-title-item">{{document.SourceName}}</span>
|
|
|
|
|
<span class="app-name" *ngIf="document.ApplicationId == '8'"> Correspondencia </span>
|
|
|
|
|
<span class="app-name" *ngIf="document.ApplicationId == '386'"> AccoesPresidenciais </span>
|
|
|
|
|
<span class="app-name" *ngIf="document.ApplicationId == '361' "> ArquivoDespachoElect </span>
|
|
|
|
|
<span class="close-button text-black cursor-pointer" (click)="deleteAttachment(document.Id, i)">
|
|
|
|
|
<ion-icon class="font-20" src="assets/images/icons-delete-25.svg"></ion-icon>
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p><span class="span-left">{{document.Stakeholders}}</span><span class="span-right"> {{document.CreateDate |
|
|
|
|
|
date: 'dd-MM-yyyy HH:mm'}} </span></p>
|
|
|
|
|
</ion-label>
|
|
|
|
|
</ion-item>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-list>
|
2021-07-12 16:39:55 +01:00
|
|
|
</div>
|
2021-04-19 18:03:41 +01:00
|
|
|
|
2021-07-12 16:39:55 +01:00
|
|
|
</div>
|
2021-02-24 20:23:15 +01:00
|
|
|
</ion-content>
|
|
|
|
|
<ion-footer class="ion-no-border">
|
2021-03-25 11:38:59 +01:00
|
|
|
<ion-toolbar class="width-100 d-flex justify-space-between px-20">
|
2021-02-24 09:14:58 +01:00
|
|
|
<ion-buttons slot="start">
|
2024-05-29 15:43:37 +01:00
|
|
|
<button class="btn-ok" fill="clear" color="#fff" (click)="save_v2()">
|
2023-10-19 16:51:12 +01:00
|
|
|
<ion-label>Gravar</ion-label>
|
2021-06-25 12:06:18 +01:00
|
|
|
</button>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-buttons>
|
|
|
|
|
<ion-title></ion-title>
|
|
|
|
|
<ion-buttons slot="end">
|
2023-10-19 16:51:12 +01:00
|
|
|
<button class="btn-cancel" fill="clear" color="#061b52" (click)="close()">
|
|
|
|
|
<ion-label>Cancelar</ion-label>
|
2021-06-25 12:06:18 +01:00
|
|
|
</button>
|
2021-02-24 09:14:58 +01:00
|
|
|
</ion-buttons>
|
|
|
|
|
</ion-toolbar>
|
2024-02-29 16:55:28 +01:00
|
|
|
</ion-footer>
|