|
@@ -2,21 +2,26 @@
|
|
import { Component, AfterViewInit, ViewChild, ElementRef, OnDestroy } from '@angular/core';
|
|
import { Component, AfterViewInit, ViewChild, ElementRef, OnDestroy } from '@angular/core';
|
|
import { Autoplay, Pagination, Navigation } from 'swiper/modules';
|
|
import { Autoplay, Pagination, Navigation } from 'swiper/modules';
|
|
import { CommonModule } from '@angular/common';
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
+import { ChatAssistant } from '../chat-assistant/chat-assistant';
|
|
import Swiper from 'swiper';
|
|
import Swiper from 'swiper';
|
|
import * as echarts from 'echarts';
|
|
import * as echarts from 'echarts';
|
|
|
|
|
|
@Component({
|
|
@Component({
|
|
selector: 'app-page-home',
|
|
selector: 'app-page-home',
|
|
standalone: true,
|
|
standalone: true,
|
|
- imports: [CommonModule],
|
|
|
|
|
|
+ imports: [ChatAssistant,CommonModule],
|
|
templateUrl: './page-home.html',
|
|
templateUrl: './page-home.html',
|
|
- styleUrls: ['./page-home.scss']
|
|
|
|
|
|
+ styleUrls: ['./page-home.scss'],
|
|
})
|
|
})
|
|
export class PageHome implements AfterViewInit, OnDestroy {
|
|
export class PageHome implements AfterViewInit, OnDestroy {
|
|
@ViewChild('swiperContainer') swiperContainer!: ElementRef;
|
|
@ViewChild('swiperContainer') swiperContainer!: ElementRef;
|
|
@ViewChild('galleryChart') galleryChart!: ElementRef;
|
|
@ViewChild('galleryChart') galleryChart!: ElementRef;
|
|
@ViewChild('xrChart') xrChart!: ElementRef;
|
|
@ViewChild('xrChart') xrChart!: ElementRef;
|
|
@ViewChild('dashboardChart') dashboardChart!: ElementRef;
|
|
@ViewChild('dashboardChart') dashboardChart!: ElementRef;
|
|
|
|
+ showChat=false;
|
|
|
|
+ toggleChat(){
|
|
|
|
+ this.showChat=!this.showChat;
|
|
|
|
+ }
|
|
|
|
|
|
private swiper: any;
|
|
private swiper: any;
|
|
private galleryChartInstance: any;
|
|
private galleryChartInstance: any;
|