@symphony-talent/component-library 4.180.0 → 4.181.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 (46) hide show
  1. package/README.md +0 -1
  2. package/esm2020/lib/atoms/atoms.module.mjs +5 -1
  3. package/esm2020/lib/atoms/input-textarea-with-send/input-textarea-with-send.component.mjs +156 -0
  4. package/esm2020/lib/atoms/input-textarea-with-send/input-textarea-with-send.module.mjs +36 -0
  5. package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.mjs +172 -0
  6. package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.mjs +2 -0
  7. package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.mjs +60 -0
  8. package/esm2020/lib/organisms/ai-search-assistant-drawer/pipes/new-line-to-br.pipe.mjs +22 -0
  9. package/esm2020/lib/organisms/organisms.module.mjs +12 -4
  10. package/esm2020/projects/component-library/lib/atoms/atoms.module.mjs +5 -1
  11. package/esm2020/projects/component-library/lib/atoms/input-textarea-with-send/input-textarea-with-send.component.mjs +156 -0
  12. package/esm2020/projects/component-library/lib/atoms/input-textarea-with-send/input-textarea-with-send.module.mjs +36 -0
  13. package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.mjs +172 -0
  14. package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.mjs +2 -0
  15. package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.mjs +60 -0
  16. package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/pipes/new-line-to-br.pipe.mjs +22 -0
  17. package/esm2020/projects/component-library/lib/organisms/organisms.module.mjs +12 -4
  18. package/esm2020/projects/component-library/public-api.mjs +6 -1
  19. package/esm2020/public-api.mjs +6 -1
  20. package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +423 -6
  21. package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
  22. package/fesm2015/symphony-talent-component-library.mjs +423 -6
  23. package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
  24. package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +420 -6
  25. package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
  26. package/fesm2020/symphony-talent-component-library.mjs +420 -6
  27. package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
  28. package/lib/atoms/atoms.module.d.ts +13 -12
  29. package/lib/atoms/input-textarea-with-send/input-textarea-with-send.component.d.ts +38 -0
  30. package/lib/atoms/input-textarea-with-send/input-textarea-with-send.module.d.ts +10 -0
  31. package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.d.ts +39 -0
  32. package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.d.ts +53 -0
  33. package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.d.ts +16 -0
  34. package/lib/organisms/ai-search-assistant-drawer/pipes/new-line-to-br.pipe.d.ts +7 -0
  35. package/lib/organisms/organisms.module.d.ts +2 -1
  36. package/package.json +1 -1
  37. package/projects/component-library/lib/atoms/atoms.module.d.ts +13 -12
  38. package/projects/component-library/lib/atoms/input-textarea-with-send/input-textarea-with-send.component.d.ts +38 -0
  39. package/projects/component-library/lib/atoms/input-textarea-with-send/input-textarea-with-send.module.d.ts +10 -0
  40. package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.d.ts +39 -0
  41. package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.d.ts +53 -0
  42. package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.d.ts +16 -0
  43. package/projects/component-library/lib/organisms/ai-search-assistant-drawer/pipes/new-line-to-br.pipe.d.ts +7 -0
  44. package/projects/component-library/lib/organisms/organisms.module.d.ts +2 -1
  45. package/projects/component-library/public-api.d.ts +5 -0
  46. package/public-api.d.ts +5 -0
@@ -34,19 +34,20 @@ import * as i32 from "./advance-filter-selected-counter/advance-filter-selected-
34
34
  import * as i33 from "./notifications/notifications.module";
35
35
  import * as i34 from "./character-counter/character-counter.module";
36
36
  import * as i35 from "./input-textarea/input-textarea.module";
37
- import * as i36 from "./grid/framework/colored-text-indicator/colored-text-indicator.module";
38
- import * as i37 from "./input-file-upload/input-file-upload.module";
39
- import * as i38 from "./chat-history-message-avatar/chat-history-message-avatar.module";
40
- import * as i39 from "./chat-history-message-bubble/chat-history-message-bubble.module";
41
- import * as i40 from "./chat-history-date-stamp/chat-history-date-stamp.module";
42
- import * as i41 from "./input-radio-toggle/input-radio-toggle.module";
43
- import * as i42 from "./button-dropdown/button-dropdown.module";
44
- import * as i43 from "./status-card/status-card.module";
45
- import * as i44 from "./status-pill/status-pill.module";
46
- import * as i45 from "./grid/framework/status-indicator/status-indicator.module";
47
- import * as i46 from "./input-number/input-number.module";
37
+ import * as i36 from "./input-textarea-with-send/input-textarea-with-send.module";
38
+ import * as i37 from "./grid/framework/colored-text-indicator/colored-text-indicator.module";
39
+ import * as i38 from "./input-file-upload/input-file-upload.module";
40
+ import * as i39 from "./chat-history-message-avatar/chat-history-message-avatar.module";
41
+ import * as i40 from "./chat-history-message-bubble/chat-history-message-bubble.module";
42
+ import * as i41 from "./chat-history-date-stamp/chat-history-date-stamp.module";
43
+ import * as i42 from "./input-radio-toggle/input-radio-toggle.module";
44
+ import * as i43 from "./button-dropdown/button-dropdown.module";
45
+ import * as i44 from "./status-card/status-card.module";
46
+ import * as i45 from "./status-pill/status-pill.module";
47
+ import * as i46 from "./grid/framework/status-indicator/status-indicator.module";
48
+ import * as i47 from "./input-number/input-number.module";
48
49
  export declare class AtomsModule {
49
50
  static ɵfac: i0.ɵɵFactoryDeclaration<AtomsModule, never>;
50
- static ɵmod: i0.ɵɵNgModuleDeclaration<AtomsModule, never, never, [typeof i1.ButtonModule, typeof i2.ContextualMenuModule, typeof i3.AvatarModule, typeof i4.PillModule, typeof i5.H1Module, typeof i6.H2Module, typeof i7.H3Module, typeof i8.H4Module, typeof i9.H5Module, typeof i10.ParagraphModule, typeof i11.IconModule, typeof i12.IconWrapperModule, typeof i13.FilterAreaModule, typeof i14.TwoColumnFilterAreaModule, typeof i15.InputRadioModule, typeof i16.InputCheckboxModule, typeof i17.InputTextModule, typeof i18.InputDropdownModule, typeof i19.GridModule, typeof i20.ContactActivityScoreModule, typeof i21.RelevanceScoreModule, typeof i22.ToasterAlertModule, typeof i23.SfxLoaderModule, typeof i24.SfxPageLoaderModule, typeof i25.SfxProgressBarModule, typeof i26.TooltipWrapperModule, typeof i27.InputSearchCheckboxDropdownModule, typeof i28.InputChipsModule, typeof i29.PhaserModule, typeof i30.VerticalSeparatorModule, typeof i31.FormattedCounterModule, typeof i32.AdvanceFilterSelectedCounterModule, typeof i33.NotificationsModule, typeof i34.CharacterCounterModule, typeof i35.InputTextareaModule, typeof i36.ColoredTextIndicatorModule, typeof i37.InputFileUploadModule, typeof i38.ChatHistoryMessageAvatarModule, typeof i39.ChatHistoryMessageBubbleModule, typeof i40.ChatHistoryDateStampModule, typeof i41.InputRadioToggleModule, typeof i42.ButtonDropdownModule, typeof i43.StatusCardModule, typeof i44.StatusPillModule, typeof i45.StatusIndicatorModule, typeof i46.InputNumberModule]>;
51
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AtomsModule, never, never, [typeof i1.ButtonModule, typeof i2.ContextualMenuModule, typeof i3.AvatarModule, typeof i4.PillModule, typeof i5.H1Module, typeof i6.H2Module, typeof i7.H3Module, typeof i8.H4Module, typeof i9.H5Module, typeof i10.ParagraphModule, typeof i11.IconModule, typeof i12.IconWrapperModule, typeof i13.FilterAreaModule, typeof i14.TwoColumnFilterAreaModule, typeof i15.InputRadioModule, typeof i16.InputCheckboxModule, typeof i17.InputTextModule, typeof i18.InputDropdownModule, typeof i19.GridModule, typeof i20.ContactActivityScoreModule, typeof i21.RelevanceScoreModule, typeof i22.ToasterAlertModule, typeof i23.SfxLoaderModule, typeof i24.SfxPageLoaderModule, typeof i25.SfxProgressBarModule, typeof i26.TooltipWrapperModule, typeof i27.InputSearchCheckboxDropdownModule, typeof i28.InputChipsModule, typeof i29.PhaserModule, typeof i30.VerticalSeparatorModule, typeof i31.FormattedCounterModule, typeof i32.AdvanceFilterSelectedCounterModule, typeof i33.NotificationsModule, typeof i34.CharacterCounterModule, typeof i35.InputTextareaModule, typeof i36.InputTextareaWithSendModule, typeof i37.ColoredTextIndicatorModule, typeof i38.InputFileUploadModule, typeof i39.ChatHistoryMessageAvatarModule, typeof i40.ChatHistoryMessageBubbleModule, typeof i41.ChatHistoryDateStampModule, typeof i42.InputRadioToggleModule, typeof i43.ButtonDropdownModule, typeof i44.StatusCardModule, typeof i45.StatusPillModule, typeof i46.StatusIndicatorModule, typeof i47.InputNumberModule]>;
51
52
  static ɵinj: i0.ɵɵInjectorDeclaration<AtomsModule>;
52
53
  }
@@ -0,0 +1,38 @@
1
+ import { EventEmitter, ElementRef, AfterViewInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InputTextareaWithSendComponent implements ControlValueAccessor, AfterViewInit {
5
+ placeholder: string;
6
+ isDisabled: boolean;
7
+ maxCharacterLimit?: number;
8
+ showCharacterCount: boolean;
9
+ minRows: number;
10
+ maxRows: number;
11
+ sendButtonIcon: string;
12
+ sendButtonAriaLabel: string;
13
+ autoResize: boolean;
14
+ sendClicked: EventEmitter<string>;
15
+ enterPressed: EventEmitter<string>;
16
+ valueChanged: EventEmitter<string>;
17
+ textareaElement: ElementRef<HTMLTextAreaElement>;
18
+ value: string;
19
+ currentRows: number;
20
+ private onChange;
21
+ onTouched: () => void;
22
+ ngAfterViewInit(): void;
23
+ writeValue(value: string): void;
24
+ registerOnChange(fn: (value: string) => void): void;
25
+ registerOnTouched(fn: () => void): void;
26
+ setDisabledState(isDisabled: boolean): void;
27
+ onInputChange(event: Event): void;
28
+ onInputKeyPress(event: KeyboardEvent): void;
29
+ onSendClick(): void;
30
+ private adjustTextareaHeight;
31
+ canSend(): boolean;
32
+ getCharacterCount(): number;
33
+ isCharacterLimitExceeded(): boolean;
34
+ focus(): void;
35
+ clear(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaWithSendComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTextareaWithSendComponent, "symphony-input-textarea-with-send", never, { "placeholder": "placeholder"; "isDisabled": "isDisabled"; "maxCharacterLimit": "maxCharacterLimit"; "showCharacterCount": "showCharacterCount"; "minRows": "minRows"; "maxRows": "maxRows"; "sendButtonIcon": "sendButtonIcon"; "sendButtonAriaLabel": "sendButtonAriaLabel"; "autoResize": "autoResize"; }, { "sendClicked": "sendClicked"; "enterPressed": "enterPressed"; "valueChanged": "valueChanged"; }, never, never>;
38
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-textarea-with-send.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../icon/icon.module";
6
+ export declare class InputTextareaWithSendModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaWithSendModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputTextareaWithSendModule, [typeof i1.InputTextareaWithSendComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.IconModule], [typeof i1.InputTextareaWithSendComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputTextareaWithSendModule>;
10
+ }
@@ -0,0 +1,39 @@
1
+ import { EventEmitter, AfterViewChecked, ElementRef, ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { AISearchAssistantModel, ChatMessage, SuggestedPrompt, AISearchAssistantConfig, MessageEvent } from './ai-search-assistant-drawer.model';
3
+ import { InputTextareaWithSendComponent } from '../../atoms/input-textarea-with-send/input-textarea-with-send.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterViewChecked {
6
+ private cdr;
7
+ model: AISearchAssistantModel;
8
+ config: AISearchAssistantConfig;
9
+ drawerClosed: EventEmitter<void>;
10
+ promptSelected: EventEmitter<SuggestedPrompt>;
11
+ messageSent: EventEmitter<MessageEvent>;
12
+ inputChanged: EventEmitter<string>;
13
+ retryClicked: EventEmitter<void>;
14
+ chatContainer: ElementRef<HTMLDivElement>;
15
+ messageInput: InputTextareaWithSendComponent;
16
+ private shouldScrollToBottom;
17
+ private hasAddedWelcomeMessage;
18
+ constructor(cdr: ChangeDetectorRef);
19
+ ngOnInit(): void;
20
+ ngAfterViewChecked(): void;
21
+ trackByMessageId(index: number, message: ChatMessage): string;
22
+ onToggleDrawer(): void;
23
+ onPromptClick(prompt: SuggestedPrompt): void;
24
+ onSendMessage(): void;
25
+ onInputChange(value: string): void;
26
+ onRetry(): void;
27
+ private scrollToBottom;
28
+ /**
29
+ * Gets formatted time string for message timestamp
30
+ */
31
+ getMessageTime(timestamp: Date | string): string;
32
+ /**
33
+ * Gets the display text for message status
34
+ */
35
+ getStatusText(status: 'pending' | 'delivered' | 'error'): string;
36
+ private addWelcomeMessageIfNeeded;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AISearchAssistantDrawerComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<AISearchAssistantDrawerComponent, "symphony-ai-search-assistant-drawer", never, { "model": "model"; "config": "config"; }, { "drawerClosed": "drawerClosed"; "promptSelected": "promptSelected"; "messageSent": "messageSent"; "inputChanged": "inputChanged"; "retryClicked": "retryClicked"; }, never, never>;
39
+ }
@@ -0,0 +1,53 @@
1
+ export interface ChatMessage {
2
+ id: string;
3
+ type: 'user' | 'ai' | 'system';
4
+ content: string;
5
+ timestamp: Date | string;
6
+ status?: 'pending' | 'delivered' | 'error';
7
+ metadata?: Record<string, any>;
8
+ }
9
+ export interface SuggestedPrompt {
10
+ id: string;
11
+ text: string;
12
+ category: string;
13
+ icon?: string;
14
+ metadata?: Record<string, any>;
15
+ }
16
+ export interface ConversationInfo {
17
+ id: string;
18
+ userId: string;
19
+ createdAt: Date | string;
20
+ status: 'pending' | 'delivered' | 'error';
21
+ renderStatus?: boolean;
22
+ lastMessageId?: string;
23
+ }
24
+ export interface AISearchAssistantModel {
25
+ isOpen: boolean;
26
+ messages: ChatMessage[];
27
+ suggestedPrompts: SuggestedPrompt[];
28
+ isLoading: boolean;
29
+ hasError: boolean;
30
+ errorMessage?: string;
31
+ inputValue?: string;
32
+ maxCharacterLimit?: number;
33
+ context?: Record<string, any>;
34
+ }
35
+ export interface AISearchAssistantConfig {
36
+ welcomeMessage?: string;
37
+ placeholder?: string;
38
+ maxMessages?: number;
39
+ autoScroll?: boolean;
40
+ showTimestamps?: boolean;
41
+ enableSuggestedPrompts?: boolean;
42
+ features?: Record<string, boolean>;
43
+ }
44
+ export interface MessageEvent {
45
+ content: string;
46
+ context?: Record<string, any>;
47
+ }
48
+ export interface ActionEvent {
49
+ action: string;
50
+ context?: Record<string, any>;
51
+ }
52
+ export declare type ChatMessageType = 'user' | 'ai' | 'system';
53
+ export declare type MessageStatus = 'pending' | 'delivered' | 'error';
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ai-search-assistant-drawer.component";
3
+ import * as i2 from "./pipes/new-line-to-br.pipe";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "../../atoms/h3/h3.module";
7
+ import * as i6 from "../../atoms/icon/icon.module";
8
+ import * as i7 from "../../atoms/paragraph/paragraph.module";
9
+ import * as i8 from "../../atoms/button-v2/button.module";
10
+ import * as i9 from "../../atoms/sfx-loader/sfx-loader.module";
11
+ import * as i10 from "../../atoms/input-textarea-with-send/input-textarea-with-send.module";
12
+ export declare class AISearchAssistantDrawerModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AISearchAssistantDrawerModule, never>;
14
+ 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 i1.AISearchAssistantDrawerComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<AISearchAssistantDrawerModule>;
16
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NewLineToBrPipe implements PipeTransform {
4
+ transform(value: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewLineToBrPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<NewLineToBrPipe, "newLineToBr">;
7
+ }
@@ -32,8 +32,9 @@ import * as i30 from "./filter-detail/filter-detail.module";
32
32
  import * as i31 from "./reports-card-list/reports-card-list.module";
33
33
  import * as i32 from "./grid-action-bar-v2/grid-action-bar-v2.module";
34
34
  import * as i33 from "./generate-license-modal/generate-license-modal.module";
35
+ import * as i34 from "./ai-search-assistant-drawer/ai-search-assistant-drawer.module";
35
36
  export declare class OrganismsModule {
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<OrganismsModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<OrganismsModule, never, [typeof i1.CommonModule, typeof i2.NoteListModule, typeof i3.TaskListModule, typeof i4.TypographyModule, typeof i5.IconExplorerModule, typeof i6.CardListModule, typeof i7.ConfirmationModalModule, typeof i8.UploadResumeModalModule, typeof i9.FeedbackCardListModule, typeof i10.FeedbackDetailHeaderModule, typeof i11.FeedbackDetailCandidateInfoModule, typeof i12.FeedbackLoginModalModule, typeof i13.GridActionsModule, typeof i14.GridControlsModule, typeof i15.GridDownloadModule, typeof i16.ActionBarModule, typeof i17.ActionBarJobListModule, typeof i18.DocumentManagementListModule, typeof i19.InputCheckboxListModule, typeof i20.SettingsDetailNavigationListModule, typeof i21.EditableSettingItemListModule, typeof i22.AdditionalInformationCardListModule, typeof i23.AdditionModalModule, typeof i24.H4Module, typeof i25.ParagraphModule, typeof i26.ButtonModule, typeof i27.InformationModalModule, typeof i28.ChatHistoryMessageListModule, typeof i29.AssignedToWidgetModule, typeof i30.FilterDetailModule, typeof i31.ReportsCardListModule, typeof i32.GridActionBarV2Module, typeof i33.GenerateLicenseModalModule], never>;
38
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OrganismsModule, never, [typeof i1.CommonModule, typeof i2.NoteListModule, typeof i3.TaskListModule, typeof i4.TypographyModule, typeof i5.IconExplorerModule, typeof i6.CardListModule, typeof i7.ConfirmationModalModule, typeof i8.UploadResumeModalModule, typeof i9.FeedbackCardListModule, typeof i10.FeedbackDetailHeaderModule, typeof i11.FeedbackDetailCandidateInfoModule, typeof i12.FeedbackLoginModalModule, typeof i13.GridActionsModule, typeof i14.GridControlsModule, typeof i15.GridDownloadModule, typeof i16.ActionBarModule, typeof i17.ActionBarJobListModule, typeof i18.DocumentManagementListModule, typeof i19.InputCheckboxListModule, typeof i20.SettingsDetailNavigationListModule, typeof i21.EditableSettingItemListModule, typeof i22.AdditionalInformationCardListModule, typeof i23.AdditionModalModule, typeof i24.H4Module, typeof i25.ParagraphModule, typeof i26.ButtonModule, typeof i27.InformationModalModule, typeof i28.ChatHistoryMessageListModule, typeof i29.AssignedToWidgetModule, typeof i30.FilterDetailModule, typeof i31.ReportsCardListModule, typeof i32.GridActionBarV2Module, typeof i33.GenerateLicenseModalModule, typeof i34.AISearchAssistantDrawerModule], never>;
38
39
  static ɵinj: i0.ɵɵInjectorDeclaration<OrganismsModule>;
39
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symphony-talent/component-library",
3
- "version": "4.180.0",
3
+ "version": "4.181.0",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "ag-grid-angular": "^24.0.0",
@@ -34,19 +34,20 @@ import * as i32 from "./advance-filter-selected-counter/advance-filter-selected-
34
34
  import * as i33 from "./notifications/notifications.module";
35
35
  import * as i34 from "./character-counter/character-counter.module";
36
36
  import * as i35 from "./input-textarea/input-textarea.module";
37
- import * as i36 from "./grid/framework/colored-text-indicator/colored-text-indicator.module";
38
- import * as i37 from "./input-file-upload/input-file-upload.module";
39
- import * as i38 from "./chat-history-message-avatar/chat-history-message-avatar.module";
40
- import * as i39 from "./chat-history-message-bubble/chat-history-message-bubble.module";
41
- import * as i40 from "./chat-history-date-stamp/chat-history-date-stamp.module";
42
- import * as i41 from "./input-radio-toggle/input-radio-toggle.module";
43
- import * as i42 from "./button-dropdown/button-dropdown.module";
44
- import * as i43 from "./status-card/status-card.module";
45
- import * as i44 from "./status-pill/status-pill.module";
46
- import * as i45 from "./grid/framework/status-indicator/status-indicator.module";
47
- import * as i46 from "./input-number/input-number.module";
37
+ import * as i36 from "./input-textarea-with-send/input-textarea-with-send.module";
38
+ import * as i37 from "./grid/framework/colored-text-indicator/colored-text-indicator.module";
39
+ import * as i38 from "./input-file-upload/input-file-upload.module";
40
+ import * as i39 from "./chat-history-message-avatar/chat-history-message-avatar.module";
41
+ import * as i40 from "./chat-history-message-bubble/chat-history-message-bubble.module";
42
+ import * as i41 from "./chat-history-date-stamp/chat-history-date-stamp.module";
43
+ import * as i42 from "./input-radio-toggle/input-radio-toggle.module";
44
+ import * as i43 from "./button-dropdown/button-dropdown.module";
45
+ import * as i44 from "./status-card/status-card.module";
46
+ import * as i45 from "./status-pill/status-pill.module";
47
+ import * as i46 from "./grid/framework/status-indicator/status-indicator.module";
48
+ import * as i47 from "./input-number/input-number.module";
48
49
  export declare class AtomsModule {
49
50
  static ɵfac: i0.ɵɵFactoryDeclaration<AtomsModule, never>;
50
- static ɵmod: i0.ɵɵNgModuleDeclaration<AtomsModule, never, never, [typeof i1.ButtonModule, typeof i2.ContextualMenuModule, typeof i3.AvatarModule, typeof i4.PillModule, typeof i5.H1Module, typeof i6.H2Module, typeof i7.H3Module, typeof i8.H4Module, typeof i9.H5Module, typeof i10.ParagraphModule, typeof i11.IconModule, typeof i12.IconWrapperModule, typeof i13.FilterAreaModule, typeof i14.TwoColumnFilterAreaModule, typeof i15.InputRadioModule, typeof i16.InputCheckboxModule, typeof i17.InputTextModule, typeof i18.InputDropdownModule, typeof i19.GridModule, typeof i20.ContactActivityScoreModule, typeof i21.RelevanceScoreModule, typeof i22.ToasterAlertModule, typeof i23.SfxLoaderModule, typeof i24.SfxPageLoaderModule, typeof i25.SfxProgressBarModule, typeof i26.TooltipWrapperModule, typeof i27.InputSearchCheckboxDropdownModule, typeof i28.InputChipsModule, typeof i29.PhaserModule, typeof i30.VerticalSeparatorModule, typeof i31.FormattedCounterModule, typeof i32.AdvanceFilterSelectedCounterModule, typeof i33.NotificationsModule, typeof i34.CharacterCounterModule, typeof i35.InputTextareaModule, typeof i36.ColoredTextIndicatorModule, typeof i37.InputFileUploadModule, typeof i38.ChatHistoryMessageAvatarModule, typeof i39.ChatHistoryMessageBubbleModule, typeof i40.ChatHistoryDateStampModule, typeof i41.InputRadioToggleModule, typeof i42.ButtonDropdownModule, typeof i43.StatusCardModule, typeof i44.StatusPillModule, typeof i45.StatusIndicatorModule, typeof i46.InputNumberModule]>;
51
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AtomsModule, never, never, [typeof i1.ButtonModule, typeof i2.ContextualMenuModule, typeof i3.AvatarModule, typeof i4.PillModule, typeof i5.H1Module, typeof i6.H2Module, typeof i7.H3Module, typeof i8.H4Module, typeof i9.H5Module, typeof i10.ParagraphModule, typeof i11.IconModule, typeof i12.IconWrapperModule, typeof i13.FilterAreaModule, typeof i14.TwoColumnFilterAreaModule, typeof i15.InputRadioModule, typeof i16.InputCheckboxModule, typeof i17.InputTextModule, typeof i18.InputDropdownModule, typeof i19.GridModule, typeof i20.ContactActivityScoreModule, typeof i21.RelevanceScoreModule, typeof i22.ToasterAlertModule, typeof i23.SfxLoaderModule, typeof i24.SfxPageLoaderModule, typeof i25.SfxProgressBarModule, typeof i26.TooltipWrapperModule, typeof i27.InputSearchCheckboxDropdownModule, typeof i28.InputChipsModule, typeof i29.PhaserModule, typeof i30.VerticalSeparatorModule, typeof i31.FormattedCounterModule, typeof i32.AdvanceFilterSelectedCounterModule, typeof i33.NotificationsModule, typeof i34.CharacterCounterModule, typeof i35.InputTextareaModule, typeof i36.InputTextareaWithSendModule, typeof i37.ColoredTextIndicatorModule, typeof i38.InputFileUploadModule, typeof i39.ChatHistoryMessageAvatarModule, typeof i40.ChatHistoryMessageBubbleModule, typeof i41.ChatHistoryDateStampModule, typeof i42.InputRadioToggleModule, typeof i43.ButtonDropdownModule, typeof i44.StatusCardModule, typeof i45.StatusPillModule, typeof i46.StatusIndicatorModule, typeof i47.InputNumberModule]>;
51
52
  static ɵinj: i0.ɵɵInjectorDeclaration<AtomsModule>;
52
53
  }
@@ -0,0 +1,38 @@
1
+ import { EventEmitter, ElementRef, AfterViewInit } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InputTextareaWithSendComponent implements ControlValueAccessor, AfterViewInit {
5
+ placeholder: string;
6
+ isDisabled: boolean;
7
+ maxCharacterLimit?: number;
8
+ showCharacterCount: boolean;
9
+ minRows: number;
10
+ maxRows: number;
11
+ sendButtonIcon: string;
12
+ sendButtonAriaLabel: string;
13
+ autoResize: boolean;
14
+ sendClicked: EventEmitter<string>;
15
+ enterPressed: EventEmitter<string>;
16
+ valueChanged: EventEmitter<string>;
17
+ textareaElement: ElementRef<HTMLTextAreaElement>;
18
+ value: string;
19
+ currentRows: number;
20
+ private onChange;
21
+ onTouched: () => void;
22
+ ngAfterViewInit(): void;
23
+ writeValue(value: string): void;
24
+ registerOnChange(fn: (value: string) => void): void;
25
+ registerOnTouched(fn: () => void): void;
26
+ setDisabledState(isDisabled: boolean): void;
27
+ onInputChange(event: Event): void;
28
+ onInputKeyPress(event: KeyboardEvent): void;
29
+ onSendClick(): void;
30
+ private adjustTextareaHeight;
31
+ canSend(): boolean;
32
+ getCharacterCount(): number;
33
+ isCharacterLimitExceeded(): boolean;
34
+ focus(): void;
35
+ clear(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaWithSendComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTextareaWithSendComponent, "symphony-input-textarea-with-send", never, { "placeholder": "placeholder"; "isDisabled": "isDisabled"; "maxCharacterLimit": "maxCharacterLimit"; "showCharacterCount": "showCharacterCount"; "minRows": "minRows"; "maxRows": "maxRows"; "sendButtonIcon": "sendButtonIcon"; "sendButtonAriaLabel": "sendButtonAriaLabel"; "autoResize": "autoResize"; }, { "sendClicked": "sendClicked"; "enterPressed": "enterPressed"; "valueChanged": "valueChanged"; }, never, never>;
38
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-textarea-with-send.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../icon/icon.module";
6
+ export declare class InputTextareaWithSendModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaWithSendModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputTextareaWithSendModule, [typeof i1.InputTextareaWithSendComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.IconModule], [typeof i1.InputTextareaWithSendComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputTextareaWithSendModule>;
10
+ }
@@ -0,0 +1,39 @@
1
+ import { EventEmitter, AfterViewChecked, ElementRef, ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { AISearchAssistantModel, ChatMessage, SuggestedPrompt, AISearchAssistantConfig, MessageEvent } from './ai-search-assistant-drawer.model';
3
+ import { InputTextareaWithSendComponent } from '../../atoms/input-textarea-with-send/input-textarea-with-send.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterViewChecked {
6
+ private cdr;
7
+ model: AISearchAssistantModel;
8
+ config: AISearchAssistantConfig;
9
+ drawerClosed: EventEmitter<void>;
10
+ promptSelected: EventEmitter<SuggestedPrompt>;
11
+ messageSent: EventEmitter<MessageEvent>;
12
+ inputChanged: EventEmitter<string>;
13
+ retryClicked: EventEmitter<void>;
14
+ chatContainer: ElementRef<HTMLDivElement>;
15
+ messageInput: InputTextareaWithSendComponent;
16
+ private shouldScrollToBottom;
17
+ private hasAddedWelcomeMessage;
18
+ constructor(cdr: ChangeDetectorRef);
19
+ ngOnInit(): void;
20
+ ngAfterViewChecked(): void;
21
+ trackByMessageId(index: number, message: ChatMessage): string;
22
+ onToggleDrawer(): void;
23
+ onPromptClick(prompt: SuggestedPrompt): void;
24
+ onSendMessage(): void;
25
+ onInputChange(value: string): void;
26
+ onRetry(): void;
27
+ private scrollToBottom;
28
+ /**
29
+ * Gets formatted time string for message timestamp
30
+ */
31
+ getMessageTime(timestamp: Date | string): string;
32
+ /**
33
+ * Gets the display text for message status
34
+ */
35
+ getStatusText(status: 'pending' | 'delivered' | 'error'): string;
36
+ private addWelcomeMessageIfNeeded;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AISearchAssistantDrawerComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<AISearchAssistantDrawerComponent, "symphony-ai-search-assistant-drawer", never, { "model": "model"; "config": "config"; }, { "drawerClosed": "drawerClosed"; "promptSelected": "promptSelected"; "messageSent": "messageSent"; "inputChanged": "inputChanged"; "retryClicked": "retryClicked"; }, never, never>;
39
+ }
@@ -0,0 +1,53 @@
1
+ export interface ChatMessage {
2
+ id: string;
3
+ type: 'user' | 'ai' | 'system';
4
+ content: string;
5
+ timestamp: Date | string;
6
+ status?: 'pending' | 'delivered' | 'error';
7
+ metadata?: Record<string, any>;
8
+ }
9
+ export interface SuggestedPrompt {
10
+ id: string;
11
+ text: string;
12
+ category: string;
13
+ icon?: string;
14
+ metadata?: Record<string, any>;
15
+ }
16
+ export interface ConversationInfo {
17
+ id: string;
18
+ userId: string;
19
+ createdAt: Date | string;
20
+ status: 'pending' | 'delivered' | 'error';
21
+ renderStatus?: boolean;
22
+ lastMessageId?: string;
23
+ }
24
+ export interface AISearchAssistantModel {
25
+ isOpen: boolean;
26
+ messages: ChatMessage[];
27
+ suggestedPrompts: SuggestedPrompt[];
28
+ isLoading: boolean;
29
+ hasError: boolean;
30
+ errorMessage?: string;
31
+ inputValue?: string;
32
+ maxCharacterLimit?: number;
33
+ context?: Record<string, any>;
34
+ }
35
+ export interface AISearchAssistantConfig {
36
+ welcomeMessage?: string;
37
+ placeholder?: string;
38
+ maxMessages?: number;
39
+ autoScroll?: boolean;
40
+ showTimestamps?: boolean;
41
+ enableSuggestedPrompts?: boolean;
42
+ features?: Record<string, boolean>;
43
+ }
44
+ export interface MessageEvent {
45
+ content: string;
46
+ context?: Record<string, any>;
47
+ }
48
+ export interface ActionEvent {
49
+ action: string;
50
+ context?: Record<string, any>;
51
+ }
52
+ export declare type ChatMessageType = 'user' | 'ai' | 'system';
53
+ export declare type MessageStatus = 'pending' | 'delivered' | 'error';
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ai-search-assistant-drawer.component";
3
+ import * as i2 from "./pipes/new-line-to-br.pipe";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "../../atoms/h3/h3.module";
7
+ import * as i6 from "../../atoms/icon/icon.module";
8
+ import * as i7 from "../../atoms/paragraph/paragraph.module";
9
+ import * as i8 from "../../atoms/button-v2/button.module";
10
+ import * as i9 from "../../atoms/sfx-loader/sfx-loader.module";
11
+ import * as i10 from "../../atoms/input-textarea-with-send/input-textarea-with-send.module";
12
+ export declare class AISearchAssistantDrawerModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AISearchAssistantDrawerModule, never>;
14
+ 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 i1.AISearchAssistantDrawerComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<AISearchAssistantDrawerModule>;
16
+ }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NewLineToBrPipe implements PipeTransform {
4
+ transform(value: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewLineToBrPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<NewLineToBrPipe, "newLineToBr">;
7
+ }
@@ -32,8 +32,9 @@ import * as i30 from "./filter-detail/filter-detail.module";
32
32
  import * as i31 from "./reports-card-list/reports-card-list.module";
33
33
  import * as i32 from "./grid-action-bar-v2/grid-action-bar-v2.module";
34
34
  import * as i33 from "./generate-license-modal/generate-license-modal.module";
35
+ import * as i34 from "./ai-search-assistant-drawer/ai-search-assistant-drawer.module";
35
36
  export declare class OrganismsModule {
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<OrganismsModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<OrganismsModule, never, [typeof i1.CommonModule, typeof i2.NoteListModule, typeof i3.TaskListModule, typeof i4.TypographyModule, typeof i5.IconExplorerModule, typeof i6.CardListModule, typeof i7.ConfirmationModalModule, typeof i8.UploadResumeModalModule, typeof i9.FeedbackCardListModule, typeof i10.FeedbackDetailHeaderModule, typeof i11.FeedbackDetailCandidateInfoModule, typeof i12.FeedbackLoginModalModule, typeof i13.GridActionsModule, typeof i14.GridControlsModule, typeof i15.GridDownloadModule, typeof i16.ActionBarModule, typeof i17.ActionBarJobListModule, typeof i18.DocumentManagementListModule, typeof i19.InputCheckboxListModule, typeof i20.SettingsDetailNavigationListModule, typeof i21.EditableSettingItemListModule, typeof i22.AdditionalInformationCardListModule, typeof i23.AdditionModalModule, typeof i24.H4Module, typeof i25.ParagraphModule, typeof i26.ButtonModule, typeof i27.InformationModalModule, typeof i28.ChatHistoryMessageListModule, typeof i29.AssignedToWidgetModule, typeof i30.FilterDetailModule, typeof i31.ReportsCardListModule, typeof i32.GridActionBarV2Module, typeof i33.GenerateLicenseModalModule], never>;
38
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OrganismsModule, never, [typeof i1.CommonModule, typeof i2.NoteListModule, typeof i3.TaskListModule, typeof i4.TypographyModule, typeof i5.IconExplorerModule, typeof i6.CardListModule, typeof i7.ConfirmationModalModule, typeof i8.UploadResumeModalModule, typeof i9.FeedbackCardListModule, typeof i10.FeedbackDetailHeaderModule, typeof i11.FeedbackDetailCandidateInfoModule, typeof i12.FeedbackLoginModalModule, typeof i13.GridActionsModule, typeof i14.GridControlsModule, typeof i15.GridDownloadModule, typeof i16.ActionBarModule, typeof i17.ActionBarJobListModule, typeof i18.DocumentManagementListModule, typeof i19.InputCheckboxListModule, typeof i20.SettingsDetailNavigationListModule, typeof i21.EditableSettingItemListModule, typeof i22.AdditionalInformationCardListModule, typeof i23.AdditionModalModule, typeof i24.H4Module, typeof i25.ParagraphModule, typeof i26.ButtonModule, typeof i27.InformationModalModule, typeof i28.ChatHistoryMessageListModule, typeof i29.AssignedToWidgetModule, typeof i30.FilterDetailModule, typeof i31.ReportsCardListModule, typeof i32.GridActionBarV2Module, typeof i33.GenerateLicenseModalModule, typeof i34.AISearchAssistantDrawerModule], never>;
38
39
  static ɵinj: i0.ɵɵInjectorDeclaration<OrganismsModule>;
39
40
  }
@@ -91,6 +91,8 @@ export * from './lib/atoms/input-number/input-number.module';
91
91
  export * from './lib/atoms/input-textarea/input-textarea.component';
92
92
  export * from './lib/atoms/input-textarea/input-textarea.module';
93
93
  export * from './lib/atoms/input-textarea/input-textarea.model';
94
+ export * from './lib/atoms/input-textarea-with-send/input-textarea-with-send.component';
95
+ export * from './lib/atoms/input-textarea-with-send/input-textarea-with-send.module';
94
96
  export * from './lib/atoms/input-toggle/input-toggle.component';
95
97
  export * from './lib/atoms/input-toggle/input-toggle.module';
96
98
  export * from './lib/atoms/input-radio-toggle/input-radio-toggle.component';
@@ -261,6 +263,9 @@ export * from './lib/organisms/filter-detail/filter-detail.component.model';
261
263
  export * from './lib/organisms/filter-detail/filter-detail.module';
262
264
  export * from './lib/organisms/reports-card-list/reports-card-list.component';
263
265
  export * from './lib/organisms/reports-card-list/reports-card-list.module';
266
+ export * from './lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component';
267
+ export * from './lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module';
268
+ export * from './lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model';
264
269
  export * from './lib/pages/events-settings-page/events-settings-page.component';
265
270
  export * from './lib/pages/events-settings-page/events-settings-page.module';
266
271
  export * from './lib/pages/events-settings-page/events-settings-page.model';
package/public-api.d.ts CHANGED
@@ -91,6 +91,8 @@ export * from './lib/atoms/input-number/input-number.module';
91
91
  export * from './lib/atoms/input-textarea/input-textarea.component';
92
92
  export * from './lib/atoms/input-textarea/input-textarea.module';
93
93
  export * from './lib/atoms/input-textarea/input-textarea.model';
94
+ export * from './lib/atoms/input-textarea-with-send/input-textarea-with-send.component';
95
+ export * from './lib/atoms/input-textarea-with-send/input-textarea-with-send.module';
94
96
  export * from './lib/atoms/input-toggle/input-toggle.component';
95
97
  export * from './lib/atoms/input-toggle/input-toggle.module';
96
98
  export * from './lib/atoms/input-radio-toggle/input-radio-toggle.component';
@@ -261,6 +263,9 @@ export * from './lib/organisms/filter-detail/filter-detail.component.model';
261
263
  export * from './lib/organisms/filter-detail/filter-detail.module';
262
264
  export * from './lib/organisms/reports-card-list/reports-card-list.component';
263
265
  export * from './lib/organisms/reports-card-list/reports-card-list.module';
266
+ export * from './lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component';
267
+ export * from './lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module';
268
+ export * from './lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model';
264
269
  export * from './lib/pages/events-settings-page/events-settings-page.component';
265
270
  export * from './lib/pages/events-settings-page/events-settings-page.module';
266
271
  export * from './lib/pages/events-settings-page/events-settings-page.model';