|
@@ -1,10 +1,11 @@
|
|
import { Component, OnInit } from '@angular/core';
|
|
import { Component, OnInit } from '@angular/core';
|
|
import { Router } from '@angular/router';
|
|
import { Router } from '@angular/router';
|
|
-import { CloudObject, CloudQuery, CloudUser } from '../lib/ncloud';
|
|
|
|
-import { IonHeader, IonToolbar, IonTitle, IonContent, IonButton,IonIcon, ModalController, IonTextarea, IonInput, IonCard, IonCardHeader, IonCardTitle, IonThumbnail, IonCardContent, IonCardSubtitle, IonItem, IonList, IonLabel, IonAvatar, IonSelect, IonSelectOption, AlertController, IonButtons, IonProgressBar, IonText } from '@ionic/angular/standalone';
|
|
|
|
|
|
+import { CloudObject,CloudUser } from '../lib/ncloud';
|
|
|
|
+import { IonHeader, IonToolbar, IonTitle, IonContent, IonButton, ModalController, IonTextarea, IonInput, IonCard, IonItem, IonList, IonLabel, AlertController, IonButtons, IonBackButton, IonAvatar, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle,
|
|
|
|
+ IonIcon, IonProgressBar, IonSelect, IonSelectOption, IonText, IonThumbnail } from '@ionic/angular/standalone';
|
|
import { CommonModule } from '@angular/common';
|
|
import { CommonModule } from '@angular/common';
|
|
import { AvatarModule, ChatPanelOptions, DalleOptions, FmodeChat, FmodeChatCompletion, FmodeChatMessage, ImagineWork, openChatPanelModal } from 'fmode-ng';
|
|
import { AvatarModule, ChatPanelOptions, DalleOptions, FmodeChat, FmodeChatCompletion, FmodeChatMessage, ImagineWork, openChatPanelModal } from 'fmode-ng';
|
|
-import { CompUploaderHwobsComponent } from '../comp-uploader-hwobs/comp-uploader-hwobs.component';
|
|
|
|
|
|
+import { CompUploaderHwobsComponent } from "../comp-uploader-hwobs/comp-uploader-hwobs.component";
|
|
|
|
|
|
@Component({
|
|
@Component({
|
|
selector: 'app-agent-create',
|
|
selector: 'app-agent-create',
|
|
@@ -12,11 +13,12 @@ import { CompUploaderHwobsComponent } from '../comp-uploader-hwobs/comp-uploader
|
|
styleUrls: ['./agent-create.page.scss'],
|
|
styleUrls: ['./agent-create.page.scss'],
|
|
standalone: true,
|
|
standalone: true,
|
|
imports: [
|
|
imports: [
|
|
- IonHeader, IonToolbar, IonTitle, IonContent, IonButton,IonTextarea,IonInput,
|
|
|
|
- IonIcon,IonCard,IonCardHeader,IonCardTitle,
|
|
|
|
- IonCardSubtitle,IonCardContent, IonThumbnail, IonItem,IonList,CommonModule,IonLabel,
|
|
|
|
- IonAvatar, IonSelect, IonSelectOption,IonButtons,IonProgressBar,
|
|
|
|
- IonText, IonCardHeader, IonCardSubtitle,CompUploaderHwobsComponent]
|
|
|
|
|
|
+ IonHeader, IonToolbar, IonTitle, IonContent, IonButton, IonTextarea, IonInput,
|
|
|
|
+ IonCard, IonBackButton,
|
|
|
|
+ IonItem, IonList, CommonModule,
|
|
|
|
+ IonButtons,
|
|
|
|
+ CompUploaderHwobsComponent
|
|
|
|
+]
|
|
})
|
|
})
|
|
export class AgentCreatePage implements OnInit {
|
|
export class AgentCreatePage implements OnInit {
|
|
|
|
|
|
@@ -32,7 +34,7 @@ export class AgentCreatePage implements OnInit {
|
|
images:Array<string> = []
|
|
images:Array<string> = []
|
|
back:string = "<";
|
|
back:string = "<";
|
|
backhome() {
|
|
backhome() {
|
|
- this.router.navigate(['/tab1']);
|
|
|
|
|
|
+ this.router.navigate(['tabs/tab1']);
|
|
}
|
|
}
|
|
ngOnInit() {
|
|
ngOnInit() {
|
|
|
|
|