mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Add profile modal
This commit is contained in:
@@ -249,7 +249,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</ion-header>
|
||||
<ion-content class="timeline">
|
||||
<ion-content id="timeline-conteiner" class="timeline">
|
||||
|
||||
<!-- Progress bar -->
|
||||
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
||||
|
||||
@@ -263,10 +263,13 @@ export class AgendaPage implements OnInit {
|
||||
// auto scroll timeline
|
||||
setTimeout(() => {
|
||||
const timelineMarker = document.querySelector('.cal-current-time-marker');
|
||||
const timelineContainer = document.querySelectorAll('ion-content')[2];
|
||||
|
||||
const timelineContainer = document.querySelector('ion-content#timeline-conteiner');
|
||||
|
||||
const shadowRoot = timelineContainer.shadowRoot;
|
||||
|
||||
const scrollContainer = shadowRoot.querySelector('main');
|
||||
|
||||
try {
|
||||
scrollContainer.scroll({
|
||||
top: timelineMarker['offsetTop'] - ((scrollContainer.offsetHeight/2) - 60),
|
||||
|
||||
@@ -65,9 +65,9 @@ export class EventsPage implements OnInit {
|
||||
private storageService:StorageService,
|
||||
public activatedRoute: ActivatedRoute,
|
||||
private alertController: AlertService,
|
||||
private modalController: ModalController,
|
||||
private authService: AuthService,
|
||||
private processes:ProcessesService) {
|
||||
private processes:ProcessesService,
|
||||
private modalController:ModalController) {
|
||||
this.prEventList = null;
|
||||
|
||||
// list
|
||||
@@ -317,7 +317,7 @@ export class EventsPage implements OnInit {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ export class PublicationsPage implements OnInit {
|
||||
async viewPublications(folderId: string) {
|
||||
console.log('FOLDER', folderId)
|
||||
|
||||
/* const enterAnimation = (baseEl: any) => {
|
||||
const enterAnimation = (baseEl: any) => {
|
||||
const backdropAnimation = this.animationController.create()
|
||||
.addElement(baseEl.querySelector('ion-backdrop')!)
|
||||
.fromTo('opacity', '0.01', 'var(--backdrop-opacity)');
|
||||
@@ -128,14 +128,13 @@ export class PublicationsPage implements OnInit {
|
||||
const leaveAnimation = (baseEl: any) => {
|
||||
return enterAnimation(baseEl).direction('reverse');
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/* let item = this.publicationFolderList; */
|
||||
const modal = await this.modalController.create({
|
||||
component: ViewPublicationsPage,
|
||||
/* enterAnimation,
|
||||
leaveAnimation, */
|
||||
enterAnimation,
|
||||
leaveAnimation,
|
||||
componentProps:{
|
||||
folderId:folderId,
|
||||
},
|
||||
|
||||
@@ -1,20 +1,13 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ModalController } from '@ionic/angular';
|
||||
import { ProcessesService } from 'src/app/services/processes.service';
|
||||
import { SearchService } from "../../services/search.service";
|
||||
import { SearchCategory } from "src/app/models/search-category";
|
||||
import { SearchDocument } from "src/app/models/search-document";
|
||||
import { formatDate } from '@angular/common';
|
||||
import { CloudData, CloudOptions } from 'angular-tag-cloud-module';
|
||||
import { SenderPage } from 'src/app/pages/search/sender/sender.page';
|
||||
import { OrganicEntityPage } from 'src/app/pages/search/organic-entity/organic-entity.page';
|
||||
import WordCloud from 'src/plugin/wordcloud2.js'
|
||||
import { TopSearch } from 'src/app/models/top-search';
|
||||
import { EventListPage } from '../gabinete-digital/event-list/event-list.page';
|
||||
import WordCloud from 'src/plugin/wordcloud2.js';
|
||||
import { ViewEventPage } from 'src/app/pages/agenda/view-event/view-event.page';
|
||||
import { ViewPublicationsPage } from 'src/app/pages/publications/view-publications/view-publications.page';
|
||||
|
||||
import { NgModel } from '@angular/forms';
|
||||
import { PublicationDetailPage } from '../publications/view-publications/publication-detail/publication-detail.page';
|
||||
@Component({
|
||||
selector: 'app-search',
|
||||
|
||||
Reference in New Issue
Block a user