@symphony-talent/component-library 4.181.0 → 4.183.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.
- package/esm2020/lib/atoms/icon-wrapper/icon-wrapper.component.mjs +6 -3
- package/esm2020/lib/molecules/additional-information-card/additional-information-card.component.mjs +1 -1
- package/esm2020/lib/molecules/document-management-item/document-management-item.component.mjs +1 -1
- package/esm2020/lib/molecules/filter-tabs/filter-tabs.component.mjs +9 -3
- package/esm2020/lib/molecules/filter-tabs/filter-tabs.model.mjs +1 -1
- package/esm2020/lib/molecules/filter-tabs-v2/filter-tabs.component.mjs +1 -1
- package/esm2020/lib/molecules/icon-swatch/icon-swatch.component.mjs +1 -1
- package/esm2020/lib/molecules/molecules.module.mjs +11 -4
- package/esm2020/lib/molecules/task-status/task-status.component.mjs +64 -0
- package/esm2020/lib/molecules/task-status/task-status.model.mjs +2 -0
- package/esm2020/lib/molecules/task-status/task-status.module.mjs +50 -0
- package/esm2020/lib/organisms/action-bar/action-bar.component.mjs +1 -1
- package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.mjs +18 -12
- package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.mjs +1 -1
- package/esm2020/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.mjs +8 -4
- package/esm2020/lib/organisms/assigned-to-widget/assigned-to-widget.component.mjs +1 -1
- package/esm2020/lib/organisms/document-management-list/document-management-list.component.mjs +1 -1
- package/esm2020/lib/organisms/grid-controls/grid-controls.component.mjs +1 -1
- package/esm2020/lib/organisms/grid-download/grid-download.component.mjs +1 -1
- package/esm2020/lib/pages/events-settings-page/events-settings-page.component.mjs +1 -1
- package/esm2020/lib/pages/feedback-detail-page/feedback-detail-page.component.mjs +1 -1
- package/esm2020/lib/pages/job-list-page/job-list-page.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/atoms/icon-wrapper/icon-wrapper.component.mjs +6 -3
- package/esm2020/projects/component-library/lib/molecules/additional-information-card/additional-information-card.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/molecules/document-management-item/document-management-item.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/molecules/filter-tabs/filter-tabs.component.mjs +9 -3
- package/esm2020/projects/component-library/lib/molecules/filter-tabs/filter-tabs.model.mjs +1 -1
- package/esm2020/projects/component-library/lib/molecules/filter-tabs-v2/filter-tabs.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/molecules/icon-swatch/icon-swatch.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/molecules/molecules.module.mjs +11 -4
- package/esm2020/projects/component-library/lib/molecules/task-status/task-status.component.mjs +64 -0
- package/esm2020/projects/component-library/lib/molecules/task-status/task-status.model.mjs +2 -0
- package/esm2020/projects/component-library/lib/molecules/task-status/task-status.module.mjs +50 -0
- package/esm2020/projects/component-library/lib/organisms/action-bar/action-bar.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.mjs +18 -12
- package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.mjs +1 -1
- package/esm2020/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.mjs +8 -4
- package/esm2020/projects/component-library/lib/organisms/assigned-to-widget/assigned-to-widget.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/organisms/document-management-list/document-management-list.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/organisms/grid-controls/grid-controls.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/organisms/grid-download/grid-download.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/pages/events-settings-page/events-settings-page.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/pages/feedback-detail-page/feedback-detail-page.component.mjs +1 -1
- package/esm2020/projects/component-library/lib/pages/job-list-page/job-list-page.component.mjs +1 -1
- package/esm2020/projects/component-library/public-api.mjs +4 -1
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +154 -29
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2015/symphony-talent-component-library.mjs +154 -29
- package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +148 -28
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library.mjs +148 -28
- package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
- package/lib/atoms/icon-wrapper/icon-wrapper.component.d.ts +2 -1
- package/lib/molecules/filter-tabs/filter-tabs.component.d.ts +3 -1
- package/lib/molecules/filter-tabs/filter-tabs.model.d.ts +2 -0
- package/lib/molecules/molecules.module.d.ts +3 -2
- package/lib/molecules/task-status/task-status.component.d.ts +18 -0
- package/lib/molecules/task-status/task-status.model.d.ts +21 -0
- package/lib/molecules/task-status/task-status.module.d.ts +15 -0
- package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.d.ts +4 -2
- package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.d.ts +2 -2
- package/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.d.ts +2 -1
- package/package.json +1 -1
- package/projects/component-library/lib/atoms/icon-wrapper/icon-wrapper.component.d.ts +2 -1
- package/projects/component-library/lib/molecules/filter-tabs/filter-tabs.component.d.ts +3 -1
- package/projects/component-library/lib/molecules/filter-tabs/filter-tabs.model.d.ts +2 -0
- package/projects/component-library/lib/molecules/molecules.module.d.ts +3 -2
- package/projects/component-library/lib/molecules/task-status/task-status.component.d.ts +18 -0
- package/projects/component-library/lib/molecules/task-status/task-status.model.d.ts +21 -0
- package/projects/component-library/lib/molecules/task-status/task-status.module.d.ts +15 -0
- package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.component.d.ts +4 -2
- package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.model.d.ts +2 -2
- package/projects/component-library/lib/organisms/ai-search-assistant-drawer/ai-search-assistant-drawer.module.d.ts +2 -1
- package/projects/component-library/public-api.d.ts +3 -0
- package/public-api.d.ts +3 -0
|
@@ -6,9 +6,10 @@ export declare class IconWrapperComponent {
|
|
|
6
6
|
backgroundColor: string;
|
|
7
7
|
isInverse: boolean;
|
|
8
8
|
hasHoverWithoutBorder: boolean;
|
|
9
|
+
isDisabled?: boolean;
|
|
9
10
|
clicked: EventEmitter<string>;
|
|
10
11
|
constructor();
|
|
11
12
|
onClick(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconWrapperComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconWrapperComponent, "symphony-icon-wrapper", never, { "backgroundColor": "backgroundColor"; "isInverse": "isInverse"; "hasHoverWithoutBorder": "hasHoverWithoutBorder"; }, { "clicked": "clicked"; }, never, ["*"]>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconWrapperComponent, "symphony-icon-wrapper", never, { "backgroundColor": "backgroundColor"; "isInverse": "isInverse"; "hasHoverWithoutBorder": "hasHoverWithoutBorder"; "isDisabled": "isDisabled"; }, { "clicked": "clicked"; }, never, ["*"]>;
|
|
14
15
|
}
|
|
@@ -10,14 +10,16 @@ export declare class FilterTabsComponent {
|
|
|
10
10
|
buttonClicked: EventEmitter<string>;
|
|
11
11
|
tabSetClicked: EventEmitter<any>;
|
|
12
12
|
tabSelectedClicked: EventEmitter<any>;
|
|
13
|
+
savedSearchClick: EventEmitter<void>;
|
|
13
14
|
advancedSearchTabs?: TabsetComponent;
|
|
14
15
|
constructor();
|
|
15
16
|
onItemClick(item: string): void;
|
|
16
17
|
onLoadSearchClick(): void;
|
|
18
|
+
onSavedSearchClick(): void;
|
|
17
19
|
onClearSearchClick(): void;
|
|
18
20
|
onButtonClick(text: string): void;
|
|
19
21
|
onTabSelected(): void;
|
|
20
22
|
onTabSetClick(event: any): void;
|
|
21
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterTabsComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterTabsComponent, "symphony-filter-tabs", never, { "filterTabs": "filterTabs"; }, { "moreOptionClick": "moreOptionClick"; "loadSearchClick": "loadSearchClick"; "clearSearchClick": "clearSearchClick"; "buttonClicked": "buttonClicked"; "tabSetClicked": "tabSetClicked"; "tabSelectedClicked": "tabSelectedClicked"; }, never, ["[basic-search-content]", "[advanced-search-content]"]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterTabsComponent, "symphony-filter-tabs", never, { "filterTabs": "filterTabs"; }, { "moreOptionClick": "moreOptionClick"; "loadSearchClick": "loadSearchClick"; "clearSearchClick": "clearSearchClick"; "buttonClicked": "buttonClicked"; "tabSetClicked": "tabSetClicked"; "tabSelectedClicked": "tabSelectedClicked"; "savedSearchClick": "savedSearchClick"; }, never, ["[saved-search-dropdown-zone]", "[basic-search-content]", "[advanced-search-content]"]>;
|
|
23
25
|
}
|
|
@@ -28,9 +28,10 @@ import * as i26 from "./chat-history-message-item/chat-history-message-item.modu
|
|
|
28
28
|
import * as i27 from "./filter-tabs/filter-tabs.module";
|
|
29
29
|
import * as i28 from "./filter-tabs-v2/filter-tabs.module";
|
|
30
30
|
import * as i29 from "./filter-detail-tree/filter-detail-tree.module";
|
|
31
|
-
import * as i30 from "./
|
|
31
|
+
import * as i30 from "./task-status/task-status.module";
|
|
32
|
+
import * as i31 from "./phaser-card/phaser-card.module";
|
|
32
33
|
export declare class MoleculesModule {
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<MoleculesModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MoleculesModule, never, [typeof i1.CommonModule, typeof i2.AvatarModule, typeof i3.ContextualMenuModule, typeof i4.PillsModule, typeof i5.ColorSwatchModule, typeof i6.IconSwatchModule, typeof i7.BreadcrumbModule, typeof i8.H5WithIconModule, typeof i9.InvoiceLineItemModule, typeof i10.FeedbackCardModule, typeof i11.SfxAccordionHeaderModule, typeof i12.FileUploadModule, typeof i13.FileUploadStatusModule, typeof i10.FeedbackCardModule, typeof i14.ButtonWithIconModule, typeof i15.IconWithTooltipModule, typeof i16.DocumentManagementItemModule, typeof i17.ActionBarSelectionCounterModule, typeof i18.InputTextareaModule, typeof i19.CharacterCounterModule, typeof i20.SettingsDetailNavigationItemModule, typeof i21.EditableSettingItemModule, typeof i22.TabsModules, typeof i23.InputToggleModule, typeof i24.LabelledInputToggleModule, typeof i25.LabelledToggleListModule, typeof i26.ChatHistoryMessageItemModule, typeof i27.FilterTabsModule, typeof i28.FilterTabsV2Module, typeof i29.FilterDetailTreeModule], [typeof i4.PillsModule, typeof i7.BreadcrumbModule, typeof i10.FeedbackCardModule, typeof i28.FilterTabsV2Module, typeof i16.DocumentManagementItemModule, typeof
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MoleculesModule, never, [typeof i1.CommonModule, typeof i2.AvatarModule, typeof i3.ContextualMenuModule, typeof i4.PillsModule, typeof i5.ColorSwatchModule, typeof i6.IconSwatchModule, typeof i7.BreadcrumbModule, typeof i8.H5WithIconModule, typeof i9.InvoiceLineItemModule, typeof i10.FeedbackCardModule, typeof i11.SfxAccordionHeaderModule, typeof i12.FileUploadModule, typeof i13.FileUploadStatusModule, typeof i10.FeedbackCardModule, typeof i14.ButtonWithIconModule, typeof i15.IconWithTooltipModule, typeof i16.DocumentManagementItemModule, typeof i17.ActionBarSelectionCounterModule, typeof i18.InputTextareaModule, typeof i19.CharacterCounterModule, typeof i20.SettingsDetailNavigationItemModule, typeof i21.EditableSettingItemModule, typeof i22.TabsModules, typeof i23.InputToggleModule, typeof i24.LabelledInputToggleModule, typeof i25.LabelledToggleListModule, typeof i26.ChatHistoryMessageItemModule, typeof i27.FilterTabsModule, typeof i28.FilterTabsV2Module, typeof i29.FilterDetailTreeModule, typeof i30.TaskStatusModule], [typeof i4.PillsModule, typeof i7.BreadcrumbModule, typeof i10.FeedbackCardModule, typeof i28.FilterTabsV2Module, typeof i16.DocumentManagementItemModule, typeof i31.PhaserCardModule, typeof i20.SettingsDetailNavigationItemModule, typeof i30.TaskStatusModule]>;
|
|
35
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<MoleculesModule>;
|
|
36
37
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TaskStatusModel } from './task-status.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TaskStatusComponent {
|
|
5
|
+
taskStatusModel: TaskStatusModel;
|
|
6
|
+
cancelTask: EventEmitter<void>;
|
|
7
|
+
retryTask: EventEmitter<void>;
|
|
8
|
+
constructor();
|
|
9
|
+
onCancelTask(): void;
|
|
10
|
+
onRetryTask(): void;
|
|
11
|
+
getProgressText(): string;
|
|
12
|
+
getTaskStatusText(): string;
|
|
13
|
+
getTaskName(): string;
|
|
14
|
+
getErrorMessage(): string;
|
|
15
|
+
shouldShowRetry(): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskStatusComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskStatusComponent, "symphony-task-status", never, { "taskStatusModel": "taskStatusModel"; }, { "cancelTask": "cancelTask"; "retryTask": "retryTask"; }, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface TaskStatusModel {
|
|
2
|
+
taskDescription: string;
|
|
3
|
+
taskTitle?: string;
|
|
4
|
+
showProgressBar: boolean;
|
|
5
|
+
progress: number;
|
|
6
|
+
showCancel: boolean;
|
|
7
|
+
showCompleted?: boolean;
|
|
8
|
+
show?: boolean;
|
|
9
|
+
successMessage?: string;
|
|
10
|
+
processingMessage?: string;
|
|
11
|
+
hasError?: boolean;
|
|
12
|
+
errorMessage?: string;
|
|
13
|
+
showRetry?: boolean;
|
|
14
|
+
processingIcon?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TaskNavigationModel {
|
|
17
|
+
showTaskProgress: boolean;
|
|
18
|
+
showTaskCompleted: boolean;
|
|
19
|
+
showTaskError: boolean;
|
|
20
|
+
showTaskIdle: boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./task-status.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../atoms/sfx-progress-bar/sfx-progress-bar.module";
|
|
5
|
+
import * as i4 from "../../atoms/icon/icon.module";
|
|
6
|
+
import * as i5 from "../../atoms/icon-wrapper/icon-wrapper.module";
|
|
7
|
+
import * as i6 from "../../atoms/paragraph/paragraph.module";
|
|
8
|
+
import * as i7 from "../../atoms/h3/h3.module";
|
|
9
|
+
import * as i8 from "../../atoms/h4/h4.module";
|
|
10
|
+
import * as i9 from "../../atoms/button-v2/button.module";
|
|
11
|
+
export declare class TaskStatusModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskStatusModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskStatusModule, [typeof i1.TaskStatusComponent], [typeof i2.CommonModule, typeof i3.SfxProgressBarModule, typeof i4.IconModule, typeof i5.IconWrapperModule, typeof i6.ParagraphModule, typeof i7.H3Module, typeof i8.H4Module, typeof i9.ButtonV2Module], [typeof i1.TaskStatusComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TaskStatusModule>;
|
|
15
|
+
}
|
|
@@ -11,6 +11,7 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
|
|
|
11
11
|
messageSent: EventEmitter<MessageEvent>;
|
|
12
12
|
inputChanged: EventEmitter<string>;
|
|
13
13
|
retryClicked: EventEmitter<void>;
|
|
14
|
+
taskCancelled: EventEmitter<void>;
|
|
14
15
|
chatContainer: ElementRef<HTMLDivElement>;
|
|
15
16
|
messageInput: InputTextareaWithSendComponent;
|
|
16
17
|
private shouldScrollToBottom;
|
|
@@ -23,7 +24,8 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
|
|
|
23
24
|
onPromptClick(prompt: SuggestedPrompt): void;
|
|
24
25
|
onSendMessage(): void;
|
|
25
26
|
onInputChange(value: string): void;
|
|
26
|
-
|
|
27
|
+
onCancelTask(): void;
|
|
28
|
+
onRetryTask(): void;
|
|
27
29
|
private scrollToBottom;
|
|
28
30
|
/**
|
|
29
31
|
* Gets formatted time string for message timestamp
|
|
@@ -35,5 +37,5 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
|
|
|
35
37
|
getStatusText(status: 'pending' | 'delivered' | 'error'): string;
|
|
36
38
|
private addWelcomeMessageIfNeeded;
|
|
37
39
|
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>;
|
|
40
|
+
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"; "taskCancelled": "taskCancelled"; }, never, never>;
|
|
39
41
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TaskStatusModel } from '../../molecules/task-status/task-status.model';
|
|
1
2
|
export interface ChatMessage {
|
|
2
3
|
id: string;
|
|
3
4
|
type: 'user' | 'ai' | 'system';
|
|
@@ -26,10 +27,9 @@ export interface AISearchAssistantModel {
|
|
|
26
27
|
messages: ChatMessage[];
|
|
27
28
|
suggestedPrompts: SuggestedPrompt[];
|
|
28
29
|
isLoading: boolean;
|
|
29
|
-
hasError: boolean;
|
|
30
|
-
errorMessage?: string;
|
|
31
30
|
inputValue?: string;
|
|
32
31
|
maxCharacterLimit?: number;
|
|
32
|
+
aiTaskStatus?: TaskStatusModel;
|
|
33
33
|
context?: Record<string, any>;
|
|
34
34
|
}
|
|
35
35
|
export interface AISearchAssistantConfig {
|
|
@@ -9,8 +9,9 @@ import * as i7 from "../../atoms/paragraph/paragraph.module";
|
|
|
9
9
|
import * as i8 from "../../atoms/button-v2/button.module";
|
|
10
10
|
import * as i9 from "../../atoms/sfx-loader/sfx-loader.module";
|
|
11
11
|
import * as i10 from "../../atoms/input-textarea-with-send/input-textarea-with-send.module";
|
|
12
|
+
import * as i11 from "../../molecules/task-status/task-status.module";
|
|
12
13
|
export declare class AISearchAssistantDrawerModule {
|
|
13
14
|
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 ɵ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
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<AISearchAssistantDrawerModule>;
|
|
16
17
|
}
|
package/package.json
CHANGED
|
@@ -6,9 +6,10 @@ export declare class IconWrapperComponent {
|
|
|
6
6
|
backgroundColor: string;
|
|
7
7
|
isInverse: boolean;
|
|
8
8
|
hasHoverWithoutBorder: boolean;
|
|
9
|
+
isDisabled?: boolean;
|
|
9
10
|
clicked: EventEmitter<string>;
|
|
10
11
|
constructor();
|
|
11
12
|
onClick(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconWrapperComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconWrapperComponent, "symphony-icon-wrapper", never, { "backgroundColor": "backgroundColor"; "isInverse": "isInverse"; "hasHoverWithoutBorder": "hasHoverWithoutBorder"; }, { "clicked": "clicked"; }, never, ["*"]>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconWrapperComponent, "symphony-icon-wrapper", never, { "backgroundColor": "backgroundColor"; "isInverse": "isInverse"; "hasHoverWithoutBorder": "hasHoverWithoutBorder"; "isDisabled": "isDisabled"; }, { "clicked": "clicked"; }, never, ["*"]>;
|
|
14
15
|
}
|
|
@@ -10,14 +10,16 @@ export declare class FilterTabsComponent {
|
|
|
10
10
|
buttonClicked: EventEmitter<string>;
|
|
11
11
|
tabSetClicked: EventEmitter<any>;
|
|
12
12
|
tabSelectedClicked: EventEmitter<any>;
|
|
13
|
+
savedSearchClick: EventEmitter<void>;
|
|
13
14
|
advancedSearchTabs?: TabsetComponent;
|
|
14
15
|
constructor();
|
|
15
16
|
onItemClick(item: string): void;
|
|
16
17
|
onLoadSearchClick(): void;
|
|
18
|
+
onSavedSearchClick(): void;
|
|
17
19
|
onClearSearchClick(): void;
|
|
18
20
|
onButtonClick(text: string): void;
|
|
19
21
|
onTabSelected(): void;
|
|
20
22
|
onTabSetClick(event: any): void;
|
|
21
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterTabsComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterTabsComponent, "symphony-filter-tabs", never, { "filterTabs": "filterTabs"; }, { "moreOptionClick": "moreOptionClick"; "loadSearchClick": "loadSearchClick"; "clearSearchClick": "clearSearchClick"; "buttonClicked": "buttonClicked"; "tabSetClicked": "tabSetClicked"; "tabSelectedClicked": "tabSelectedClicked"; }, never, ["[basic-search-content]", "[advanced-search-content]"]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterTabsComponent, "symphony-filter-tabs", never, { "filterTabs": "filterTabs"; }, { "moreOptionClick": "moreOptionClick"; "loadSearchClick": "loadSearchClick"; "clearSearchClick": "clearSearchClick"; "buttonClicked": "buttonClicked"; "tabSetClicked": "tabSetClicked"; "tabSelectedClicked": "tabSelectedClicked"; "savedSearchClick": "savedSearchClick"; }, never, ["[saved-search-dropdown-zone]", "[basic-search-content]", "[advanced-search-content]"]>;
|
|
23
25
|
}
|
|
@@ -28,9 +28,10 @@ import * as i26 from "./chat-history-message-item/chat-history-message-item.modu
|
|
|
28
28
|
import * as i27 from "./filter-tabs/filter-tabs.module";
|
|
29
29
|
import * as i28 from "./filter-tabs-v2/filter-tabs.module";
|
|
30
30
|
import * as i29 from "./filter-detail-tree/filter-detail-tree.module";
|
|
31
|
-
import * as i30 from "./
|
|
31
|
+
import * as i30 from "./task-status/task-status.module";
|
|
32
|
+
import * as i31 from "./phaser-card/phaser-card.module";
|
|
32
33
|
export declare class MoleculesModule {
|
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<MoleculesModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MoleculesModule, never, [typeof i1.CommonModule, typeof i2.AvatarModule, typeof i3.ContextualMenuModule, typeof i4.PillsModule, typeof i5.ColorSwatchModule, typeof i6.IconSwatchModule, typeof i7.BreadcrumbModule, typeof i8.H5WithIconModule, typeof i9.InvoiceLineItemModule, typeof i10.FeedbackCardModule, typeof i11.SfxAccordionHeaderModule, typeof i12.FileUploadModule, typeof i13.FileUploadStatusModule, typeof i10.FeedbackCardModule, typeof i14.ButtonWithIconModule, typeof i15.IconWithTooltipModule, typeof i16.DocumentManagementItemModule, typeof i17.ActionBarSelectionCounterModule, typeof i18.InputTextareaModule, typeof i19.CharacterCounterModule, typeof i20.SettingsDetailNavigationItemModule, typeof i21.EditableSettingItemModule, typeof i22.TabsModules, typeof i23.InputToggleModule, typeof i24.LabelledInputToggleModule, typeof i25.LabelledToggleListModule, typeof i26.ChatHistoryMessageItemModule, typeof i27.FilterTabsModule, typeof i28.FilterTabsV2Module, typeof i29.FilterDetailTreeModule], [typeof i4.PillsModule, typeof i7.BreadcrumbModule, typeof i10.FeedbackCardModule, typeof i28.FilterTabsV2Module, typeof i16.DocumentManagementItemModule, typeof
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MoleculesModule, never, [typeof i1.CommonModule, typeof i2.AvatarModule, typeof i3.ContextualMenuModule, typeof i4.PillsModule, typeof i5.ColorSwatchModule, typeof i6.IconSwatchModule, typeof i7.BreadcrumbModule, typeof i8.H5WithIconModule, typeof i9.InvoiceLineItemModule, typeof i10.FeedbackCardModule, typeof i11.SfxAccordionHeaderModule, typeof i12.FileUploadModule, typeof i13.FileUploadStatusModule, typeof i10.FeedbackCardModule, typeof i14.ButtonWithIconModule, typeof i15.IconWithTooltipModule, typeof i16.DocumentManagementItemModule, typeof i17.ActionBarSelectionCounterModule, typeof i18.InputTextareaModule, typeof i19.CharacterCounterModule, typeof i20.SettingsDetailNavigationItemModule, typeof i21.EditableSettingItemModule, typeof i22.TabsModules, typeof i23.InputToggleModule, typeof i24.LabelledInputToggleModule, typeof i25.LabelledToggleListModule, typeof i26.ChatHistoryMessageItemModule, typeof i27.FilterTabsModule, typeof i28.FilterTabsV2Module, typeof i29.FilterDetailTreeModule, typeof i30.TaskStatusModule], [typeof i4.PillsModule, typeof i7.BreadcrumbModule, typeof i10.FeedbackCardModule, typeof i28.FilterTabsV2Module, typeof i16.DocumentManagementItemModule, typeof i31.PhaserCardModule, typeof i20.SettingsDetailNavigationItemModule, typeof i30.TaskStatusModule]>;
|
|
35
36
|
static ɵinj: i0.ɵɵInjectorDeclaration<MoleculesModule>;
|
|
36
37
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TaskStatusModel } from './task-status.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TaskStatusComponent {
|
|
5
|
+
taskStatusModel: TaskStatusModel;
|
|
6
|
+
cancelTask: EventEmitter<void>;
|
|
7
|
+
retryTask: EventEmitter<void>;
|
|
8
|
+
constructor();
|
|
9
|
+
onCancelTask(): void;
|
|
10
|
+
onRetryTask(): void;
|
|
11
|
+
getProgressText(): string;
|
|
12
|
+
getTaskStatusText(): string;
|
|
13
|
+
getTaskName(): string;
|
|
14
|
+
getErrorMessage(): string;
|
|
15
|
+
shouldShowRetry(): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskStatusComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskStatusComponent, "symphony-task-status", never, { "taskStatusModel": "taskStatusModel"; }, { "cancelTask": "cancelTask"; "retryTask": "retryTask"; }, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface TaskStatusModel {
|
|
2
|
+
taskDescription: string;
|
|
3
|
+
taskTitle?: string;
|
|
4
|
+
showProgressBar: boolean;
|
|
5
|
+
progress: number;
|
|
6
|
+
showCancel: boolean;
|
|
7
|
+
showCompleted?: boolean;
|
|
8
|
+
show?: boolean;
|
|
9
|
+
successMessage?: string;
|
|
10
|
+
processingMessage?: string;
|
|
11
|
+
hasError?: boolean;
|
|
12
|
+
errorMessage?: string;
|
|
13
|
+
showRetry?: boolean;
|
|
14
|
+
processingIcon?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TaskNavigationModel {
|
|
17
|
+
showTaskProgress: boolean;
|
|
18
|
+
showTaskCompleted: boolean;
|
|
19
|
+
showTaskError: boolean;
|
|
20
|
+
showTaskIdle: boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./task-status.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../atoms/sfx-progress-bar/sfx-progress-bar.module";
|
|
5
|
+
import * as i4 from "../../atoms/icon/icon.module";
|
|
6
|
+
import * as i5 from "../../atoms/icon-wrapper/icon-wrapper.module";
|
|
7
|
+
import * as i6 from "../../atoms/paragraph/paragraph.module";
|
|
8
|
+
import * as i7 from "../../atoms/h3/h3.module";
|
|
9
|
+
import * as i8 from "../../atoms/h4/h4.module";
|
|
10
|
+
import * as i9 from "../../atoms/button-v2/button.module";
|
|
11
|
+
export declare class TaskStatusModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskStatusModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskStatusModule, [typeof i1.TaskStatusComponent], [typeof i2.CommonModule, typeof i3.SfxProgressBarModule, typeof i4.IconModule, typeof i5.IconWrapperModule, typeof i6.ParagraphModule, typeof i7.H3Module, typeof i8.H4Module, typeof i9.ButtonV2Module], [typeof i1.TaskStatusComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TaskStatusModule>;
|
|
15
|
+
}
|
|
@@ -11,6 +11,7 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
|
|
|
11
11
|
messageSent: EventEmitter<MessageEvent>;
|
|
12
12
|
inputChanged: EventEmitter<string>;
|
|
13
13
|
retryClicked: EventEmitter<void>;
|
|
14
|
+
taskCancelled: EventEmitter<void>;
|
|
14
15
|
chatContainer: ElementRef<HTMLDivElement>;
|
|
15
16
|
messageInput: InputTextareaWithSendComponent;
|
|
16
17
|
private shouldScrollToBottom;
|
|
@@ -23,7 +24,8 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
|
|
|
23
24
|
onPromptClick(prompt: SuggestedPrompt): void;
|
|
24
25
|
onSendMessage(): void;
|
|
25
26
|
onInputChange(value: string): void;
|
|
26
|
-
|
|
27
|
+
onCancelTask(): void;
|
|
28
|
+
onRetryTask(): void;
|
|
27
29
|
private scrollToBottom;
|
|
28
30
|
/**
|
|
29
31
|
* Gets formatted time string for message timestamp
|
|
@@ -35,5 +37,5 @@ export declare class AISearchAssistantDrawerComponent implements OnInit, AfterVi
|
|
|
35
37
|
getStatusText(status: 'pending' | 'delivered' | 'error'): string;
|
|
36
38
|
private addWelcomeMessageIfNeeded;
|
|
37
39
|
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>;
|
|
40
|
+
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"; "taskCancelled": "taskCancelled"; }, never, never>;
|
|
39
41
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TaskStatusModel } from '../../molecules/task-status/task-status.model';
|
|
1
2
|
export interface ChatMessage {
|
|
2
3
|
id: string;
|
|
3
4
|
type: 'user' | 'ai' | 'system';
|
|
@@ -26,10 +27,9 @@ export interface AISearchAssistantModel {
|
|
|
26
27
|
messages: ChatMessage[];
|
|
27
28
|
suggestedPrompts: SuggestedPrompt[];
|
|
28
29
|
isLoading: boolean;
|
|
29
|
-
hasError: boolean;
|
|
30
|
-
errorMessage?: string;
|
|
31
30
|
inputValue?: string;
|
|
32
31
|
maxCharacterLimit?: number;
|
|
32
|
+
aiTaskStatus?: TaskStatusModel;
|
|
33
33
|
context?: Record<string, any>;
|
|
34
34
|
}
|
|
35
35
|
export interface AISearchAssistantConfig {
|
|
@@ -9,8 +9,9 @@ import * as i7 from "../../atoms/paragraph/paragraph.module";
|
|
|
9
9
|
import * as i8 from "../../atoms/button-v2/button.module";
|
|
10
10
|
import * as i9 from "../../atoms/sfx-loader/sfx-loader.module";
|
|
11
11
|
import * as i10 from "../../atoms/input-textarea-with-send/input-textarea-with-send.module";
|
|
12
|
+
import * as i11 from "../../molecules/task-status/task-status.module";
|
|
12
13
|
export declare class AISearchAssistantDrawerModule {
|
|
13
14
|
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 ɵ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
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<AISearchAssistantDrawerModule>;
|
|
16
17
|
}
|
|
@@ -198,6 +198,9 @@ export * from './lib/molecules/filter-detail-tree/filter-detail-tree.component.m
|
|
|
198
198
|
export * from './lib/molecules/filter-detail-tree/filter-detail-tree.module';
|
|
199
199
|
export * from './lib/molecules/tabs/tabs.component';
|
|
200
200
|
export * from './lib/molecules/tabs/tabs.module';
|
|
201
|
+
export * from './lib/molecules/task-status/task-status.component';
|
|
202
|
+
export * from './lib/molecules/task-status/task-status.module';
|
|
203
|
+
export * from './lib/molecules/task-status/task-status.model';
|
|
201
204
|
export * from './lib/molecules/molecules.module';
|
|
202
205
|
export * from './lib/organisms/card-list/card-list.component';
|
|
203
206
|
export * from './lib/organisms/card-list/card-list.module';
|
package/public-api.d.ts
CHANGED
|
@@ -198,6 +198,9 @@ export * from './lib/molecules/filter-detail-tree/filter-detail-tree.component.m
|
|
|
198
198
|
export * from './lib/molecules/filter-detail-tree/filter-detail-tree.module';
|
|
199
199
|
export * from './lib/molecules/tabs/tabs.component';
|
|
200
200
|
export * from './lib/molecules/tabs/tabs.module';
|
|
201
|
+
export * from './lib/molecules/task-status/task-status.component';
|
|
202
|
+
export * from './lib/molecules/task-status/task-status.module';
|
|
203
|
+
export * from './lib/molecules/task-status/task-status.model';
|
|
201
204
|
export * from './lib/molecules/molecules.module';
|
|
202
205
|
export * from './lib/organisms/card-list/card-list.component';
|
|
203
206
|
export * from './lib/organisms/card-list/card-list.module';
|