@symphony-talent/component-library 4.186.0 → 4.187.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.mjs +16 -7
  2. package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.mjs +1 -1
  3. package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.mjs +5 -5
  4. package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.mjs +16 -7
  5. package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.mjs +1 -1
  6. package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.mjs +5 -5
  7. package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +17 -8
  8. package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
  9. package/fesm2015/symphony-talent-component-library.mjs +17 -8
  10. package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
  11. package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +17 -8
  12. package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
  13. package/fesm2020/symphony-talent-component-library.mjs +17 -8
  14. package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
  15. package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.d.ts +3 -1
  16. package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.d.ts +1 -0
  17. package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.d.ts +2 -2
  18. package/package.json +1 -1
  19. package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.d.ts +3 -1
  20. package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.d.ts +1 -0
  21. package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.d.ts +2 -2
@@ -17,6 +17,7 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
17
17
  inputChanged: EventEmitter<string>;
18
18
  retryClicked: EventEmitter<void>;
19
19
  taskCancelled: EventEmitter<void>;
20
+ suggestionsToggled: EventEmitter<boolean>;
20
21
  chatContainer: ElementRef<HTMLDivElement>;
21
22
  messageInput: InputTextareaWithSendComponent;
22
23
  private shouldScrollToBottom;
@@ -26,6 +27,7 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
26
27
  ngAfterViewChecked(): void;
27
28
  trackByMessageId(index: number, message: ChatMessage): string;
28
29
  onToggleDrawer(): void;
30
+ onToggleSuggestions(): void;
29
31
  onPromptClick(prompt: SuggestedPrompt): void;
30
32
  onSendMessage(): void;
31
33
  onInputChange(value: string): void;
@@ -48,5 +50,5 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
48
50
  getPendoId(baseId: string): string;
49
51
  private addWelcomeMessageIfNeeded;
50
52
  static ɵfac: i0.ɵɵFactoryDeclaration<AISearchAssistantDrawerComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<AISearchAssistantDrawerComponent, "symphony-ai-search-assistant-drawer", never, { "model": "model"; "config": "config"; "contextId": "contextId"; }, { "drawerClosed": "drawerClosed"; "promptSelected": "promptSelected"; "messageSent": "messageSent"; "inputChanged": "inputChanged"; "retryClicked": "retryClicked"; "taskCancelled": "taskCancelled"; }, never, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<AISearchAssistantDrawerComponent, "symphony-ai-search-assistant-drawer", never, { "model": "model"; "config": "config"; "contextId": "contextId"; }, { "drawerClosed": "drawerClosed"; "promptSelected": "promptSelected"; "messageSent": "messageSent"; "inputChanged": "inputChanged"; "retryClicked": "retryClicked"; "taskCancelled": "taskCancelled"; "suggestionsToggled": "suggestionsToggled"; }, never, never>;
52
54
  }
@@ -30,6 +30,7 @@ export interface AISearchAssistantModel {
30
30
  inputValue?: string;
31
31
  maxCharacterLimit?: number;
32
32
  aiTaskStatus?: TaskStatusModel;
33
+ isSuggestionsOpen?: boolean;
33
34
  context?: Record<string, any>;
34
35
  }
35
36
  export interface AISearchAssistantConfig {
@@ -3,7 +3,7 @@ import * as i1 from "./ai-search-assistant-drawer.component";
3
3
  import * as i2 from "./pipes/new-line-to-br.pipe";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
- import * as i5 from "../../atoms/h3/h3.module";
6
+ import * as i5 from "../../atoms/h4/h4.module";
7
7
  import * as i6 from "../../atoms/icon/icon.module";
8
8
  import * as i7 from "../../atoms/paragraph/paragraph.module";
9
9
  import * as i8 from "../../atoms/button-v2/button.module";
@@ -12,6 +12,6 @@ import * as i10 from "../../atoms/input-textarea-with-send/input-textarea-with-s
12
12
  import * as i11 from "../../molecules/task-status/task-status.module";
13
13
  export declare class AISearchAssistantDrawerModule {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AISearchAssistantDrawerModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<AISearchAssistantDrawerModule, [typeof i1.AISearchAssistantDrawerComponent, typeof i2.NewLineToBrPipe], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.H3Module, typeof i6.IconModule, typeof i7.ParagraphModule, typeof i8.ButtonV2Module, typeof i9.SfxLoaderModule, typeof i10.InputTextareaWithSendModule, typeof i11.TaskStatusModule], [typeof i1.AISearchAssistantDrawerComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AISearchAssistantDrawerModule, [typeof i1.AISearchAssistantDrawerComponent, typeof i2.NewLineToBrPipe], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.H4Module, typeof i6.IconModule, typeof i7.ParagraphModule, typeof i8.ButtonV2Module, typeof i9.SfxLoaderModule, typeof i10.InputTextareaWithSendModule, typeof i11.TaskStatusModule], [typeof i1.AISearchAssistantDrawerComponent]>;
16
16
  static ɵinj: i0.ɵɵInjectorDeclaration<AISearchAssistantDrawerModule>;
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symphony-talent/component-library",
3
- "version": "4.186.0",
3
+ "version": "4.187.0",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "ag-grid-angular": "^24.0.0",
@@ -17,6 +17,7 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
17
17
  inputChanged: EventEmitter<string>;
18
18
  retryClicked: EventEmitter<void>;
19
19
  taskCancelled: EventEmitter<void>;
20
+ suggestionsToggled: EventEmitter<boolean>;
20
21
  chatContainer: ElementRef<HTMLDivElement>;
21
22
  messageInput: InputTextareaWithSendComponent;
22
23
  private shouldScrollToBottom;
@@ -26,6 +27,7 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
26
27
  ngAfterViewChecked(): void;
27
28
  trackByMessageId(index: number, message: ChatMessage): string;
28
29
  onToggleDrawer(): void;
30
+ onToggleSuggestions(): void;
29
31
  onPromptClick(prompt: SuggestedPrompt): void;
30
32
  onSendMessage(): void;
31
33
  onInputChange(value: string): void;
@@ -48,5 +50,5 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
48
50
  getPendoId(baseId: string): string;
49
51
  private addWelcomeMessageIfNeeded;
50
52
  static ɵfac: i0.ɵɵFactoryDeclaration<AISearchAssistantDrawerComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<AISearchAssistantDrawerComponent, "symphony-ai-search-assistant-drawer", never, { "model": "model"; "config": "config"; "contextId": "contextId"; }, { "drawerClosed": "drawerClosed"; "promptSelected": "promptSelected"; "messageSent": "messageSent"; "inputChanged": "inputChanged"; "retryClicked": "retryClicked"; "taskCancelled": "taskCancelled"; }, never, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<AISearchAssistantDrawerComponent, "symphony-ai-search-assistant-drawer", never, { "model": "model"; "config": "config"; "contextId": "contextId"; }, { "drawerClosed": "drawerClosed"; "promptSelected": "promptSelected"; "messageSent": "messageSent"; "inputChanged": "inputChanged"; "retryClicked": "retryClicked"; "taskCancelled": "taskCancelled"; "suggestionsToggled": "suggestionsToggled"; }, never, never>;
52
54
  }
@@ -30,6 +30,7 @@ export interface AISearchAssistantModel {
30
30
  inputValue?: string;
31
31
  maxCharacterLimit?: number;
32
32
  aiTaskStatus?: TaskStatusModel;
33
+ isSuggestionsOpen?: boolean;
33
34
  context?: Record<string, any>;
34
35
  }
35
36
  export interface AISearchAssistantConfig {
@@ -3,7 +3,7 @@ import * as i1 from "./ai-search-assistant-drawer.component";
3
3
  import * as i2 from "./pipes/new-line-to-br.pipe";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/forms";
6
- import * as i5 from "../../atoms/h3/h3.module";
6
+ import * as i5 from "../../atoms/h4/h4.module";
7
7
  import * as i6 from "../../atoms/icon/icon.module";
8
8
  import * as i7 from "../../atoms/paragraph/paragraph.module";
9
9
  import * as i8 from "../../atoms/button-v2/button.module";
@@ -12,6 +12,6 @@ import * as i10 from "../../atoms/input-textarea-with-send/input-textarea-with-s
12
12
  import * as i11 from "../../molecules/task-status/task-status.module";
13
13
  export declare class AISearchAssistantDrawerModule {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AISearchAssistantDrawerModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<AISearchAssistantDrawerModule, [typeof i1.AISearchAssistantDrawerComponent, typeof i2.NewLineToBrPipe], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.H3Module, typeof i6.IconModule, typeof i7.ParagraphModule, typeof i8.ButtonV2Module, typeof i9.SfxLoaderModule, typeof i10.InputTextareaWithSendModule, typeof i11.TaskStatusModule], [typeof i1.AISearchAssistantDrawerComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AISearchAssistantDrawerModule, [typeof i1.AISearchAssistantDrawerComponent, typeof i2.NewLineToBrPipe], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.H4Module, typeof i6.IconModule, typeof i7.ParagraphModule, typeof i8.ButtonV2Module, typeof i9.SfxLoaderModule, typeof i10.InputTextareaWithSendModule, typeof i11.TaskStatusModule], [typeof i1.AISearchAssistantDrawerComponent]>;
16
16
  static ɵinj: i0.ɵɵInjectorDeclaration<AISearchAssistantDrawerModule>;
17
17
  }