1
0

2 Commits 39603d0a56 ... 633c36dd07

Autor SHA1 Nachricht Datum
  cainiao-hue 633c36dd07 Merge branch 'master' of http://git.fmode.cn:3000/4u/workspace vor 3 Monaten
  cainiao-hue 1d24efe2b0 update:report-modal vor 3 Monaten

+ 2 - 2
soul-app/src/app/consult-picture/consult-picture.component.ts

@@ -1,6 +1,6 @@
 import { Component, OnInit } from '@angular/core';
 import { IonHeader, IonToolbar, IonTitle, IonContent } from '@ionic/angular/standalone';
-import { IonTextarea, IonButton,IonInput } from "@ionic/angular/standalone";
+import { IonTextarea, IonButton } from "@ionic/angular/standalone";
 import { DalleOptions, ImagineWork,FmodeChatCompletion } from 'fmode-ng';
 
 @Component({
@@ -10,7 +10,7 @@ import { DalleOptions, ImagineWork,FmodeChatCompletion } from 'fmode-ng';
   standalone: true,
   imports: [
     IonHeader, IonToolbar, IonTitle, IonContent, 
-    IonButton,IonInput,
+    IonButton,
     IonTextarea
   ],
 })

+ 4 - 6
soul-app/src/app/info-modal/info-modal.component.ts

@@ -1,6 +1,6 @@
 import { Component, OnInit } from '@angular/core';
-import { IonButton, IonContent, IonHeader, IonLabel, IonSegment, IonSegmentButton, IonTitle, IonToolbar, ModalController } from '@ionic/angular/standalone';
-import { IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonInput, IonItem } from '@ionic/angular/standalone';
+import { IonLabel,ModalController } from '@ionic/angular/standalone';
+import { IonCard, IonCardContent, IonCardHeader,  IonCardTitle,  IonItem } from '@ionic/angular/standalone';
 import { CloudUser } from 'src/lib/ncloud';
 
 @Component({
@@ -8,10 +8,8 @@ import { CloudUser } from 'src/lib/ncloud';
   templateUrl: './info-modal.component.html',
   styleUrls: ['./info-modal.component.scss'],
   standalone: true,
-  imports: [IonHeader, IonToolbar, IonTitle, IonContent, 
-    IonCard,IonCardContent,IonButton,IonCardHeader,IonCardTitle,IonCardSubtitle,
-    IonInput,IonItem,
-    IonSegment,IonSegmentButton,IonLabel
+  imports: [IonCard,IonCardContent,IonCardHeader,IonCardTitle,
+    IonItem,IonLabel
   ],
 })
 export class InfoModalComponent  implements OnInit {

+ 5 - 5
soul-app/src/app/page-psysurvey/page-psysurvey.component.ts

@@ -1,8 +1,8 @@
 import { CommonModule } from '@angular/common';
 import { Component, OnInit } from '@angular/core';
 import { Router } from '@angular/router';
-import { IonHeader,IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList, 
-  IonListHeader,IonCardHeader,IonCardTitle,IonCardContent, IonTitle,IonCard, IonToolbar,IonInput,IonSearchbar } from '@ionic/angular/standalone';
+import { IonHeader,IonButton, IonContent, IonIcon,
+  IonCardHeader,IonCardTitle,IonCardContent, IonTitle,IonCard, IonToolbar } from '@ionic/angular/standalone';
   import { HttpClient } from '@angular/common/http';
   import { UserService } from '../user.service'; // 确保路径正确
   import { FormsModule } from '@angular/forms'; // 导入 FormsModule
@@ -17,9 +17,9 @@ import { CloudQuery, CloudUser } from 'src/lib/ncloud';
   styleUrls: ['./page-psysurvey.component.scss'],
   standalone: true,
   imports: [IonHeader,IonToolbar,IonTitle,IonContent,
-      IonList,IonListHeader,IonItem,IonCardTitle,FormsModule,
-      IonLabel,IonIcon,IonButton,IonCardContent,
-      IonInput,IonSearchbar,IonCard,IonCardHeader,
+      IonCardTitle,FormsModule,
+      IonIcon,IonButton,IonCardContent,
+      IonCard,IonCardHeader,
       CommonModule
     ]
 })

+ 4 - 4
soul-app/src/app/page-publishsurvey/page-publishsurvey.component.ts

@@ -1,6 +1,6 @@
 import { Component, OnInit } from '@angular/core';
 import { Router } from '@angular/router';
-import { IonHeader,IonButton, IonList, IonListHeader, IonItem,IonContent, IonIcon, IonLabel, IonCardHeader,IonCardContent, IonTitle,IonCard, IonToolbar,IonInput,IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption } from '@ionic/angular/standalone';
+import { IonHeader,IonButton, IonList,  IonItem,IonContent, IonIcon, IonLabel, IonTitle, IonToolbar,IonInput, IonSegment, IonSegmentButton, IonSelect, IonSelectOption } from '@ionic/angular/standalone';
   import { CommonModule } from '@angular/common';
   import { FormsModule } from '@angular/forms'; // 导入 FormsModule
   import { HttpClient } from '@angular/common/http';
@@ -14,9 +14,9 @@ import { CloudObject } from 'src/lib/ncloud';
   standalone: true,
   imports: [
     IonHeader,IonToolbar,IonTitle,IonContent,IonSegment,IonSegmentButton,IonSelect,IonSelectOption,
-    FormsModule,IonList, IonListHeader, IonItem,
-    IonLabel,IonIcon,IonButton,IonCardContent,
-    IonInput,IonSearchbar,IonCard,IonCardHeader,
+    FormsModule,IonList, IonItem,
+    IonLabel,IonIcon,IonButton,
+    IonInput,
     CommonModule,
   ]
 })

+ 0 - 24
soul-app/src/app/report-modal/report-modal.component.html

@@ -1,27 +1,3 @@
-<!--<ion-header>
-  <ion-toolbar>
-    <ion-title>聊天记录报告</ion-title>
-    <ion-buttons slot="end">
-      <ion-button (click)="closeModal()">关闭</ion-button>
-    </ion-buttons>
-  </ion-toolbar>
-</ion-header>
-
-<ion-content>
-<section>
-  <ion-card>
-    <ion-list>
-      <ion-item *ngFor="let chatrecord of chatrecordList">
-        <ion-label>
-          <p style="font-size: 18px; line-height: 1.5; color: #333; margin: 8px 0;" *ngFor="let contentItem of chatrecord.get('content')">
-            {{ contentItem.content }}
-          </p>
-        </ion-label>
-      </ion-item>
-    </ion-list>
-  </ion-card>
-</section>
-</ion-content>-->
 <ion-header>
   <ion-toolbar>
     <ion-title>聊天记录</ion-title>

+ 32 - 23
soul-app/src/app/report-modal/report-modal.component.ts

@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
 import { Router } from '@angular/router';
 import { IonCard, IonItem, IonLabel, IonList } from '@ionic/angular/standalone';
 import { IonButton, IonButtons, IonContent, IonHeader, IonTitle, IonToolbar, ModalController } from '@ionic/angular/standalone';
-import { CloudObject, CloudQuery } from 'src/lib/ncloud';
+import { CloudObject, CloudQuery, CloudUser } from 'src/lib/ncloud';
 
 // 定义 ContentItem 接口
 interface ContentItem {
@@ -31,26 +31,35 @@ export class ReportModalComponent  implements OnInit {
     this.router.navigate(['tabs/tab3']);
   }
   chatrecordList:Array<CloudObject>=[]
-  async loadChatRecordList(){
+  async loadChatRecordList() {
+    // 获取当前用户的 ObjectId
+    const currentUser = new CloudUser();
+    await currentUser.current(); // 确保用户信息已加载
+    const userId = currentUser.id; // 获取当前用户的 ObjectId
+
+    // 创建查询并添加过滤条件
     let query = new CloudQuery("ChatRecord");
-    this.chatrecordList = await query.find()
+    query.equalTo("user", currentUser.toPointer()); // 过滤条件,确保只获取当前用户的记录
+
+    this.chatrecordList = await query.find();
+
     // 遍历 chatrecordList,去除每个记录中 user 的第一条 content
     this.chatrecordList.forEach(chatrecord => {
-      const contentArray = chatrecord.get('content');
-      if (contentArray && contentArray.length > 0) {
-        // 找到第一条 role 为 user 的内容并移除
-        const userIndex = contentArray.findIndex((item: ContentItem) => item.role === 'user');
-        if (userIndex !== -1) {
-          contentArray.splice(userIndex, 1); // 移除第一条 user 内容
+        const contentArray = chatrecord.get('content');
+        if (contentArray && contentArray.length > 0) {
+            // 找到第一条 role 为 user 的内容并移除
+            const userIndex = contentArray.findIndex((item: ContentItem) => item.role === 'user');
+            if (userIndex !== -1) {
+                contentArray.splice(userIndex, 1); // 移除第一条 user 内容
+            }
         }
-      }
-    })
-  }
+    });
+}
   analyzeUserFeeling(content: string): { score: number; label: string } {
     const moodScores = {
       positive: {
-        words: ['开心', '高兴', '喜欢', '快乐', '棒', '兴奋', '满足', '美好'],
-        score: 2
+        words: ['开心', '高兴', '喜欢', '快乐', '棒', '兴奋', '满足', '美好','喜悦'],
+        score: 1
       },
       neutral: {
         words: ['一般', '还好', '可以', '无所谓', '正常'],
@@ -58,7 +67,7 @@ export class ReportModalComponent  implements OnInit {
       },
       negative: {
         words: ['难过', '生气', '失望', '讨厌', '悲伤', '烦恼', '痛苦', '沮丧'],
-        score: -2
+        score: -1
       }
     };
 
@@ -90,13 +99,13 @@ export class ReportModalComponent  implements OnInit {
     await this.loadChatRecordList();
     // 在这里可以遍历 chatrecordList 中的用户内容并进行情感分析
     this.chatrecordList.forEach(chatrecord => {
-      const contentArray = chatrecord.get('content');
-      contentArray.forEach((contentItem: ContentItem) => {
-        if (contentItem.role === 'user') {
-          const analysis = this.analyzeUserFeeling(contentItem.content);
-          this.userFeelings.push({ content: contentItem.content, score: analysis.score, label: analysis.label });
-        }
-      });
+        const contentArray = chatrecord.get('content');
+        contentArray.forEach((contentItem: ContentItem) => {
+            if (contentItem.role === 'user') {
+                const analysis = this.analyzeUserFeeling(contentItem.content);
+                this.userFeelings.push({ content: contentItem.content, score: analysis.score, label: analysis.label });
+            }
+        });
     });
-  }
+  } 
 }

+ 4 - 10
soul-app/src/app/tab1/tab1.page.ts

@@ -1,12 +1,8 @@
 import { Component,CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
-import { IonHeader, IonToolbar, IonTitle, IonContent, IonAvatar, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonLabel, IonList,
-   IonItem,IonIcon,IonInput,IonSearchbar} from '@ionic/angular/standalone';
-import { ExploreContainerComponent } from '../explore-container/explore-container.component';
+import { IonHeader, IonToolbar,IonContent, IonAvatar, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonLabel, IonList,
+   IonItem,IonIcon,IonSearchbar} from '@ionic/angular/standalone';
 import { CommonModule } from '@angular/common';
-import {  TopicDetailComponent } from '../topic-detail/topic-detail.component';
 import { Router } from '@angular/router';
-import { TopicDetail2Component } from '../topic-detail2/topic-detail2.component';
-import { TopicDetail3Component } from '../topic-detail3/topic-detail3.component';
 import { CloudObject, CloudQuery, CloudUser } from 'src/lib/ncloud';
 import { ModalController } from '@ionic/angular/standalone';
 import { openUserEvaModal } from '../user-evaluate/user-evaluate.component';
@@ -16,13 +12,11 @@ import { openUserLoginModal } from 'src/lib/user/modal-user-login/modal-user-log
   templateUrl: 'tab1.page.html',
   styleUrls: ['tab1.page.scss'],
   standalone: true,
-  imports: [IonHeader,IonToolbar,IonTitle,IonContent,ExploreContainerComponent,
+  imports: [IonHeader,IonToolbar,IonContent,
     IonButtons,IonButton,IonIcon,
     IonCard,IonCardContent,IonCardHeader,
-    IonLabel,IonList,IonItem,IonAvatar,
-    IonInput,IonSearchbar,
+    IonLabel,IonList,IonItem,IonAvatar,IonSearchbar,
     CommonModule,
-    TopicDetailComponent,TopicDetail2Component,TopicDetail3Component
   ],
   schemas: [CUSTOM_ELEMENTS_SCHEMA],
 })

+ 2 - 5
soul-app/src/app/tab2/tab2.page.ts

@@ -1,8 +1,6 @@
 import { Component,CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { IonHeader, IonToolbar, IonTitle, IonContent } from '@ionic/angular/standalone';
-import { ExploreContainerComponent } from '../explore-container/explore-container.component';
-import { IonButton, IonCard, IonCardContent, IonCardHeader, IonCardTitle, IonItem, IonLabel,
-   IonList,IonSelect, IonSelectOption,IonIcon } from '@ionic/angular/standalone';
+import { IonButton, IonCard, IonCardContent, IonCardHeader, IonCardTitle, IonItem, IonLabel,IonList,IonIcon } from '@ionic/angular/standalone';
 import { CommonModule } from '@angular/common';
 import { Router } from '@angular/router';
 import { ChatPanelOptions, FmodeChat, FmodeChatMessage, openChatPanelModal } from 'fmode-ng';
@@ -16,10 +14,9 @@ import { CustomerServiceComponent } from '../customer-service/customer-service.c
   templateUrl: 'tab2.page.html',
   styleUrls: ['tab2.page.scss'],
   standalone: true,
-  imports: [IonHeader, IonToolbar, IonTitle, IonContent, ExploreContainerComponent,
+  imports: [IonHeader, IonToolbar, IonContent,
     IonCard,IonCardHeader,IonCardTitle,IonCardContent,
     IonItem,IonLabel,
-    IonSelect,IonSelectOption,
     IonButton,IonList,IonIcon,
     CommonModule
   ],

+ 3 - 5
soul-app/src/app/tab3/tab3.page.ts

@@ -1,7 +1,6 @@
 import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
-import { IonHeader, IonToolbar, IonTitle, IonContent, IonList,IonItem,IonIcon,IonLabel,IonButton,IonAvatar,
+import { IonHeader, IonToolbar, IonTitle, IonContent, IonList,IonItem,IonIcon,IonLabel,IonButton,
   IonCard,IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle} from '@ionic/angular/standalone';
-import { ExploreContainerComponent } from '../explore-container/explore-container.component';
 import { CloudUser } from 'src/lib/ncloud';
 import { openUserLoginModal } from 'src/lib/user/modal-user-login/modal-user-login.component';
 import { ModalController } from '@ionic/angular/standalone';
@@ -15,9 +14,8 @@ import { Router } from '@angular/router';
   templateUrl: 'tab3.page.html',
   styleUrls: ['tab3.page.scss'],
   standalone: true,
-  imports: [IonHeader,IonToolbar,IonTitle,IonContent,IonList,IonItem,IonIcon,IonLabel,IonButton,IonAvatar,
-    IonCard,IonCardContent,IonCardHeader,IonCardTitle,IonCardSubtitle,
-    ExploreContainerComponent
+  imports: [IonHeader,IonToolbar,IonTitle,IonContent,IonList,IonItem,IonIcon,IonLabel,IonButton,
+    IonCard,IonCardContent,IonCardHeader,IonCardTitle,IonCardSubtitle
   ],
   schemas: [CUSTOM_ELEMENTS_SCHEMA]
   })

+ 2 - 2
soul-app/src/app/tabs/tabs.page.ts

@@ -1,5 +1,5 @@
 import { Component, EnvironmentInjector, inject } from '@angular/core';
-import { IonTabs, IonTabBar, IonTabButton, IonTitle,IonIcon, IonLabel } from '@ionic/angular/standalone';
+import { IonTabs, IonTabBar, IonTabButton, IonIcon, IonLabel } from '@ionic/angular/standalone';
 import { addIcons } from 'ionicons';
 import { home, chatbubbles, person,chevronBack, headset, personOutline, shieldCheckmarkOutline,chevronForwardOutline, heartOutline, notificationsOutline,
    settingsOutline,
@@ -15,7 +15,7 @@ import { home, chatbubbles, person,chevronBack, headset, personOutline, shieldCh
   templateUrl: 'tabs.page.html',
   styleUrls: ['tabs.page.scss'],
   standalone: true,
-  imports: [IonTabs, IonTabBar, IonTabButton, IonIcon, IonLabel,IonTitle],
+  imports: [IonTabs, IonTabBar, IonTabButton, IonIcon, IonLabel,],
 })
 export class TabsPage {
   public environmentInjector = inject(EnvironmentInjector);

+ 2 - 4
soul-app/src/app/topic-detail/topic-detail.component.ts

@@ -1,8 +1,7 @@
 import { CommonModule } from '@angular/common';
 import { Component, OnInit } from '@angular/core';
 import { IonHeader,IonButton, IonContent, IonIcon, IonItem, IonLabel, IonList, 
-  IonListHeader, IonTitle, IonToolbar,IonInput,IonSearchbar } from '@ionic/angular/standalone';
-import { ExploreContainerComponent } from '../explore-container/explore-container.component';
+  IonListHeader, IonTitle, IonToolbar, } from '@ionic/angular/standalone';
 import { Router } from '@angular/router';
 
 @Component({
@@ -10,10 +9,9 @@ import { Router } from '@angular/router';
   templateUrl: './topic-detail.component.html',
   styleUrls: ['./topic-detail.component.scss'],
   standalone: true,
-  imports: [IonHeader,IonToolbar,IonTitle,IonContent,ExploreContainerComponent,
+  imports: [IonHeader,IonToolbar,IonTitle,IonContent,
     IonList,IonListHeader,IonItem,
     IonLabel,IonIcon,IonButton,
-    IonInput,IonSearchbar,
     CommonModule
   ]
 })

+ 3 - 5
soul-app/src/app/topic-detail2/topic-detail2.component.ts

@@ -1,8 +1,7 @@
 import { CommonModule } from '@angular/common';
 import { Component, OnInit } from '@angular/core';
 import { IonButton, IonContent, IonHeader, IonIcon, IonInput, IonItem, IonLabel,
-   IonList, IonListHeader, IonSearchbar, IonTitle, IonToolbar } from '@ionic/angular/standalone';
-import { ExploreContainerComponent } from '../explore-container/explore-container.component';
+   IonList, IonListHeader, IonTitle, IonToolbar } from '@ionic/angular/standalone';
 import { Router } from '@angular/router';
 
 @Component({
@@ -10,10 +9,9 @@ import { Router } from '@angular/router';
   templateUrl: './topic-detail2.component.html',
   styleUrls: ['./topic-detail2.component.scss'],
   standalone: true,
-  imports:[IonHeader,IonToolbar,IonTitle,IonContent,ExploreContainerComponent,
+  imports:[IonHeader,IonToolbar,IonTitle,IonContent,
     IonList,IonListHeader,IonLabel,IonItem,IonIcon,
-  IonButton,IonInput,IonSearchbar,
-  CommonModule]
+  IonButton,CommonModule]
 })
 export class TopicDetail2Component  implements OnInit {
   methods = [

+ 2 - 5
soul-app/src/app/topic-detail3/topic-detail3.component.ts

@@ -1,7 +1,5 @@
 import { Component, OnInit } from '@angular/core';
-import { IonButton, IonContent, IonHeader, IonIcon, IonInput, IonItem, IonLabel, IonList, IonListHeader, 
-  IonSearchbar, IonTitle, IonToolbar } from '@ionic/angular/standalone';
-import { ExploreContainerComponent } from '../explore-container/explore-container.component';
+import { IonButton, IonContent, IonHeader, IonIcon, IonInput, IonItem, IonLabel, IonList, IonListHeader, IonTitle, IonToolbar } from '@ionic/angular/standalone';
 import { CommonModule } from '@angular/common';
 import { Router } from '@angular/router';
 
@@ -10,9 +8,8 @@ import { Router } from '@angular/router';
   templateUrl: './topic-detail3.component.html',
   styleUrls: ['./topic-detail3.component.scss'],
   standalone: true,
-  imports:[IonHeader,IonToolbar,IonTitle,IonContent,ExploreContainerComponent,
+  imports:[IonHeader,IonToolbar,IonTitle,IonContent,
     IonList,IonListHeader,IonLabel,IonItem,IonIcon,IonButton,
-    IonInput,IonSearchbar,
     CommonModule
   ],
 })

+ 2 - 6
soul-app/src/app/user-evaluate/user-evaluate.component.ts

@@ -1,8 +1,6 @@
 import { Component, OnInit } from '@angular/core';
 import { ModalController } from '@ionic/angular/standalone';
-import { IonButton, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, 
-  IonContent, IonHeader, IonInput, IonItem, IonLabel, IonSegment, IonSegmentButton,
-   IonTitle, IonToolbar } from '@ionic/angular/standalone';
+import { IonButton, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonInput, IonItem } from '@ionic/angular/standalone';
 import { CloudUser } from 'src/lib/ncloud';
 import { CloudEvaluate } from 'src/lib/cloud.evaluate';
 
@@ -11,10 +9,8 @@ import { CloudEvaluate } from 'src/lib/cloud.evaluate';
   templateUrl: './user-evaluate.component.html',
   styleUrls: ['./user-evaluate.component.scss'],
   standalone: true,
-  imports: [IonHeader, IonToolbar, IonTitle, IonContent, 
-    IonCard,IonCardContent,IonButton,IonCardHeader,IonCardTitle,IonCardSubtitle,
+  imports: [IonCard,IonCardContent,IonButton,IonCardHeader,IonCardTitle,IonCardSubtitle,
     IonInput,IonItem,
-    IonSegment,IonSegmentButton,IonLabel
   ],
 })
 export class UserEvaluateComponent  implements OnInit {

+ 1 - 3
soul-app/src/lib/user/modal-identity-verification/modal-identity-verification.component.ts

@@ -1,6 +1,6 @@
 import { OnInit } from '@angular/core';
 import { Component } from '@angular/core';
-import { ModalController, IonInput, IonItem, IonLabel, IonSegment,  IonButton, IonCard, IonSegmentButton,IonCardHeader, IonCardTitle, IonCardSubtitle, IonCardContent, IonSelect, IonSelectOption } from '@ionic/angular/standalone';
+import { ModalController, IonInput, IonItem, IonLabel, IonSegment,  IonButton, IonCard, IonSegmentButton,IonCardHeader, IonCardTitle, IonCardSubtitle, IonCardContent } from '@ionic/angular/standalone';
 import { CloudUser } from 'src/lib/ncloud';
 import { FormsModule } from '@angular/forms'; // 导入 FormsModule
 import { CommonModule } from '@angular/common';
@@ -22,8 +22,6 @@ import { CommonModule } from '@angular/common';
     IonInput,
     IonItem,
     IonLabel,
-    IonSelect,
-    IonSelectOption,
     FormsModule,
     CommonModule
   ],

+ 1 - 2
soul-app/src/lib/user/modal-user-edit/modal-user-edit.component.ts

@@ -1,6 +1,6 @@
 import { OnInit } from '@angular/core';
 import { Component } from '@angular/core';
-import {   IonCard, IonCardContent, IonButton, IonCardHeader, IonCardTitle, IonCardSubtitle, ModalController, IonInput, IonItem, IonSegment, IonSegmentButton, IonLabel } from '@ionic/angular/standalone';
+import {   IonCard, IonCardContent, IonButton, IonCardHeader, IonCardTitle, IonCardSubtitle, ModalController, IonInput, IonItem } from '@ionic/angular/standalone';
 import { CloudUser } from 'src/lib/ncloud';
 
 @Component({
@@ -10,7 +10,6 @@ import { CloudUser } from 'src/lib/ncloud';
   standalone: true,
   imports: [IonCard,IonCardContent,IonButton,IonCardHeader,IonCardTitle,IonCardSubtitle,
     IonInput,IonItem,
-    IonSegment,IonSegmentButton,IonLabel
   ],
 })
 export class ModalUserEditComponent  implements OnInit {

+ 2 - 3
soul-app/src/lib/user/modal-user-login/modal-user-login.component.ts

@@ -1,6 +1,6 @@
 import { Input, OnInit } from '@angular/core';
 import { Component } from '@angular/core';
-import { IonHeader, IonToolbar, IonTitle, IonContent, IonCard, IonCardContent, IonButton, IonCardHeader, IonCardTitle, IonCardSubtitle, ModalController, IonInput, IonItem, IonSegment, IonSegmentButton, IonLabel } from '@ionic/angular/standalone';
+import {  IonCard, IonCardContent, IonButton, IonCardHeader, IonCardTitle, IonCardSubtitle, ModalController, IonInput, IonItem, IonSegment, IonSegmentButton, IonLabel } from '@ionic/angular/standalone';
 import { CloudUser } from 'src/lib/ncloud';
 
 @Component({
@@ -8,8 +8,7 @@ import { CloudUser } from 'src/lib/ncloud';
   templateUrl: './modal-user-login.component.html',
   styleUrls: ['./modal-user-login.component.scss'],
   standalone: true,
-  imports: [IonHeader, IonToolbar, IonTitle, IonContent, 
-    IonCard,IonCardContent,IonButton,IonCardHeader,IonCardTitle,IonCardSubtitle,
+  imports: [IonCard,IonCardContent,IonButton,IonCardHeader,IonCardTitle,IonCardSubtitle,
     IonInput,IonItem,
     IonSegment,IonSegmentButton,IonLabel
   ],