mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
save
This commit is contained in:
@@ -16,14 +16,6 @@ const routes: Routes = [
|
||||
path: 'empty-chat',
|
||||
loadChildren: () => import('./shared/chat/empty-chat/empty-chat.module').then( m => m.EmptyChatPageModule)
|
||||
},
|
||||
{
|
||||
path: 'btn-criar',
|
||||
loadChildren: () => import('./shared/buttons/btn-criar/btn-criar.module').then( m => m.BtnCriarPageModule)
|
||||
},
|
||||
{
|
||||
path: 'btn-adicionar',
|
||||
loadChildren: () => import('./shared/buttons/btn-adicionar/btn-adicionar.module').then( m => m.BtnAdicionarPageModule)
|
||||
},
|
||||
{
|
||||
path: 'empty-container',
|
||||
loadChildren: () => import('./shared/empty-container/empty-container.module').then( m => m.EmptyContainerPageModule)
|
||||
|
||||
@@ -3,8 +3,6 @@ import { CommonModule } from '@angular/common';
|
||||
import { BtnSeguintePage } from '../shared/btn-seguinte/btn-seguinte.page';
|
||||
import { BtnModalDismissPage } from '../shared/btn-modal-dismiss/btn-modal-dismiss.page';
|
||||
import { EmptyChatPage } from '../shared/chat/empty-chat/empty-chat.page';
|
||||
import { BtnCriarPage } from '../shared/buttons/btn-criar/btn-criar.page';
|
||||
import { BtnAdicionarPage } from '../shared/buttons/btn-adicionar/btn-adicionar.page';
|
||||
import { NewEventPage } from '../shared/agenda/new-event/new-event.page';
|
||||
import { EditEventPage } from '../shared/agenda/edit-event/edit-event.page';
|
||||
import { ViewEventPage } from '../shared/agenda/view-event/view-event.page';
|
||||
@@ -15,10 +13,8 @@ import { AttendeesPage } from '../shared/event/attendees/attendees.page';
|
||||
@NgModule({
|
||||
|
||||
declarations: [
|
||||
BtnSeguintePage,
|
||||
/* BtnSeguintePage, */
|
||||
BtnModalDismissPage,
|
||||
BtnCriarPage,
|
||||
BtnAdicionarPage,
|
||||
|
||||
//NewEventPage,
|
||||
//EditEventPage,
|
||||
@@ -34,10 +30,8 @@ import { AttendeesPage } from '../shared/event/attendees/attendees.page';
|
||||
|
||||
],
|
||||
exports: [
|
||||
BtnSeguintePage,
|
||||
/* BtnSeguintePage, */
|
||||
BtnModalDismissPage,
|
||||
BtnCriarPage,
|
||||
BtnAdicionarPage,
|
||||
|
||||
//NewEventPage,
|
||||
//EditEventPage,
|
||||
|
||||
@@ -9,6 +9,7 @@ import { EditGroupPageRoutingModule } from './edit-group-routing.module';
|
||||
import { EditGroupPage } from './edit-group.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
EditGroupPageRoutingModule
|
||||
EditGroupPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [EditGroupPage]
|
||||
})
|
||||
|
||||
@@ -10,6 +10,7 @@ import { GroupContactsPage } from './group-contacts.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { PipesModule } from 'src/app/pipes/pipes.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -18,7 +19,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
PipesModule,
|
||||
GroupContactsPageRoutingModule
|
||||
GroupContactsPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [GroupContactsPage]
|
||||
})
|
||||
|
||||
@@ -9,6 +9,7 @@ import { ContactsPageRoutingModule } from './contacts-routing.module';
|
||||
import { ContactsPage } from './contacts.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
ContactsPageRoutingModule
|
||||
ContactsPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [ContactsPage]
|
||||
})
|
||||
|
||||
@@ -9,6 +9,7 @@ import { GroupChatPageRoutingModule } from './group-chat-routing.module';
|
||||
import { GroupChatPage } from './group-chat.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
GroupChatPageRoutingModule
|
||||
GroupChatPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [GroupChatPage]
|
||||
})
|
||||
|
||||
@@ -9,6 +9,7 @@ import { NewGroupPageRoutingModule } from './new-group-routing.module';
|
||||
import { NewGroupPage } from './new-group.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
NewGroupPageRoutingModule
|
||||
NewGroupPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [NewGroupPage]
|
||||
})
|
||||
|
||||
@@ -15,6 +15,7 @@ import { BtnSeguintePage } from './btn-seguinte.page';
|
||||
IonicModule,
|
||||
BtnSeguintePageRoutingModule
|
||||
],
|
||||
declarations: []
|
||||
exports: [BtnSeguintePage],
|
||||
declarations: [BtnSeguintePage]
|
||||
})
|
||||
export class BtnSeguintePageModule {}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { BtnAdicionarPage } from './btn-adicionar.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: BtnAdicionarPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class BtnAdicionarPageRoutingModule {}
|
||||
@@ -1,20 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BtnAdicionarPageRoutingModule } from './btn-adicionar-routing.module';
|
||||
|
||||
import { BtnAdicionarPage } from './btn-adicionar.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
BtnAdicionarPageRoutingModule
|
||||
],
|
||||
declarations: []
|
||||
})
|
||||
export class BtnAdicionarPageModule {}
|
||||
@@ -1,3 +0,0 @@
|
||||
<div class="right">
|
||||
<ion-label>Adicionar</ion-label>
|
||||
</div>
|
||||
@@ -1,7 +0,0 @@
|
||||
.right{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
color: #0782c9;
|
||||
margin: 8px 5px 0 5px;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BtnAdicionarPage } from './btn-adicionar.page';
|
||||
|
||||
describe('BtnAdicionarPage', () => {
|
||||
let component: BtnAdicionarPage;
|
||||
let fixture: ComponentFixture<BtnAdicionarPage>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ BtnAdicionarPage ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(BtnAdicionarPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -1,15 +0,0 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-btn-adicionar',
|
||||
templateUrl: './btn-adicionar.page.html',
|
||||
styleUrls: ['./btn-adicionar.page.scss'],
|
||||
})
|
||||
export class BtnAdicionarPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { BtnCriarPage } from './btn-criar.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: BtnCriarPage
|
||||
}
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class BtnCriarPageRoutingModule {}
|
||||
@@ -1,20 +0,0 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BtnCriarPageRoutingModule } from './btn-criar-routing.module';
|
||||
|
||||
import { BtnCriarPage } from './btn-criar.page';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
BtnCriarPageRoutingModule
|
||||
],
|
||||
declarations: []
|
||||
})
|
||||
export class BtnCriarPageModule {}
|
||||
@@ -1,3 +0,0 @@
|
||||
<div class="right">
|
||||
<ion-label>Criar grupo</ion-label>
|
||||
</div>
|
||||
@@ -1,7 +0,0 @@
|
||||
.right{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
color: #0782c9;
|
||||
margin: 8px 5px 0 5px;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
|
||||
import { BtnCriarPage } from './btn-criar.page';
|
||||
|
||||
describe('BtnCriarPage', () => {
|
||||
let component: BtnCriarPage;
|
||||
let fixture: ComponentFixture<BtnCriarPage>;
|
||||
|
||||
beforeEach(waitForAsync(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ BtnCriarPage ],
|
||||
imports: [IonicModule.forRoot()]
|
||||
}).compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(BtnCriarPage);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
}));
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -1,15 +0,0 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-btn-criar',
|
||||
templateUrl: './btn-criar.page.html',
|
||||
styleUrls: ['./btn-criar.page.scss'],
|
||||
})
|
||||
export class BtnCriarPage implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -9,6 +9,7 @@ import { EditGroupPageRoutingModule } from './edit-group-routing.module';
|
||||
import { EditGroupPage } from './edit-group.page';
|
||||
import { SharedModule } from '../../shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from '../../btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
EditGroupPageRoutingModule
|
||||
EditGroupPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
exports: [EditGroupPage],
|
||||
declarations: [EditGroupPage]
|
||||
|
||||
@@ -10,7 +10,11 @@
|
||||
<div class="div-title">
|
||||
<ion-label class="title">Contactos</ion-label>
|
||||
</div>
|
||||
<app-btn-adicionar (click)="updateGroup()"></app-btn-adicionar>
|
||||
<div>
|
||||
<button class="btn-no-color adicionar" (click)="updateGroup()">
|
||||
<ion-label>Adicionar</ion-label>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ion-toolbar>
|
||||
|
||||
@@ -41,6 +41,13 @@
|
||||
float: left;
|
||||
margin: 2.5px 0 0 5px;
|
||||
}
|
||||
.adicionar{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
color: #0782c9;
|
||||
margin: 8px 5px 0 5px;
|
||||
}
|
||||
.title{
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import { ContactsPageRoutingModule } from './contacts-routing.module';
|
||||
import { ContactsPage } from './contacts.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
ContactsPageRoutingModule
|
||||
ContactsPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [ContactsPage]
|
||||
})
|
||||
|
||||
@@ -9,6 +9,7 @@ import { GroupChatPageRoutingModule } from './group-chat-routing.module';
|
||||
import { GroupChatPage } from './group-chat.page';
|
||||
import { SharedModule } from 'src/app/shared/shared.module';
|
||||
import { ComponentsModule } from 'src/app/components/components.module';
|
||||
import { BtnSeguintePageModule } from 'src/app/shared/btn-seguinte/btn-seguinte.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,7 +17,8 @@ import { ComponentsModule } from 'src/app/components/components.module';
|
||||
FormsModule,
|
||||
IonicModule,
|
||||
ComponentsModule,
|
||||
GroupChatPageRoutingModule
|
||||
GroupChatPageRoutingModule,
|
||||
BtnSeguintePageModule,
|
||||
],
|
||||
declarations: [GroupChatPage]
|
||||
})
|
||||
|
||||
@@ -5,7 +5,11 @@
|
||||
<div class="middle">
|
||||
<ion-label class="title">Novo Grupo</ion-label>
|
||||
</div>
|
||||
<app-btn-criar *ngIf="groupName" (click)="createGroup()"></app-btn-criar> <!-- addContacts -->
|
||||
<div *ngIf="groupName">
|
||||
<button class="btn-no-color btn-criar" (click)="createGroup()">
|
||||
<ion-label>Criar grupo</ion-label>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ion-toolbar>
|
||||
|
||||
@@ -65,6 +65,13 @@ ion-content{
|
||||
width: 221px;
|
||||
//margin: 2.5px 0 0 5px;
|
||||
}
|
||||
.btn-criar{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
font-size: 15px;
|
||||
color: #0782c9;
|
||||
margin: 8px 5px 0 5px;
|
||||
}
|
||||
.right{
|
||||
padding: 0!important;
|
||||
float: right;
|
||||
|
||||
@@ -15,6 +15,7 @@ import { AttendeesPage } from './attendees.page';
|
||||
IonicModule,
|
||||
AttendeesPageRoutingModule
|
||||
],
|
||||
declarations: []
|
||||
exports: [AttendeesPage],
|
||||
declarations: [AttendeesPage]
|
||||
})
|
||||
export class AttendeesPageModule {}
|
||||
|
||||
Reference in New Issue
Block a user