@memberjunction/ng-skip-chat 2.36.1 → 2.37.1
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/README.md +97 -2
- package/dist/lib/artifacts/skip-artifact-viewer.component.d.ts +78 -0
- package/dist/lib/artifacts/skip-artifact-viewer.component.d.ts.map +1 -0
- package/dist/lib/artifacts/skip-artifact-viewer.component.js +520 -0
- package/dist/lib/artifacts/skip-artifact-viewer.component.js.map +1 -0
- package/dist/lib/artifacts/skip-artifacts-counter.component.d.ts +25 -0
- package/dist/lib/artifacts/skip-artifacts-counter.component.d.ts.map +1 -0
- package/dist/lib/artifacts/skip-artifacts-counter.component.js +253 -0
- package/dist/lib/artifacts/skip-artifacts-counter.component.js.map +1 -0
- package/dist/lib/module.d.ts +23 -20
- package/dist/lib/module.d.ts.map +1 -1
- package/dist/lib/module.js +19 -4
- package/dist/lib/module.js.map +1 -1
- package/dist/lib/skip-chat/skip-chat.component.d.ts +45 -1
- package/dist/lib/skip-chat/skip-chat.component.d.ts.map +1 -1
- package/dist/lib/skip-chat/skip-chat.component.js +239 -116
- package/dist/lib/skip-chat/skip-chat.component.js.map +1 -1
- package/dist/lib/skip-single-message/skip-single-message.component.d.ts +33 -1
- package/dist/lib/skip-single-message/skip-single-message.component.d.ts.map +1 -1
- package/dist/lib/skip-single-message/skip-single-message.component.js +160 -38
- package/dist/lib/skip-single-message/skip-single-message.component.js.map +1 -1
- package/dist/lib/split-panel/skip-split-panel.component.d.ts +41 -0
- package/dist/lib/split-panel/skip-split-panel.component.d.ts.map +1 -0
- package/dist/lib/split-panel/skip-split-panel.component.js +135 -0
- package/dist/lib/split-panel/skip-split-panel.component.js.map +1 -0
- package/dist/public-api.d.ts +3 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +3 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +12 -12
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { Component, EventEmitter, Input, Output, ViewChild, ViewContainerRef } from '@angular/core';
|
|
11
|
-
import { LogError } from '@memberjunction/core';
|
|
11
|
+
import { LogError, RunView } from '@memberjunction/core';
|
|
12
12
|
import { SkipResponsePhase } from '@memberjunction/skip-types';
|
|
13
13
|
import { SkipDynamicReportWrapperComponent } from '../dynamic-report/skip-dynamic-report-wrapper';
|
|
14
14
|
import { BaseAngularComponent } from '@memberjunction/ng-base-types';
|
|
@@ -28,7 +28,7 @@ function SkipSingleMessageComponent_Conditional_4_Template(rf, ctx) { if (rf & 1
|
|
|
28
28
|
} }
|
|
29
29
|
function SkipSingleMessageComponent_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
30
30
|
i0.ɵɵelement(0, "kendo-loader");
|
|
31
|
-
i0.ɵɵelementStart(1, "span",
|
|
31
|
+
i0.ɵɵelementStart(1, "span", 12);
|
|
32
32
|
i0.ɵɵtext(2);
|
|
33
33
|
i0.ɵɵelementEnd();
|
|
34
34
|
} if (rf & 2) {
|
|
@@ -38,30 +38,46 @@ function SkipSingleMessageComponent_Conditional_9_Template(rf, ctx) { if (rf & 1
|
|
|
38
38
|
} }
|
|
39
39
|
function SkipSingleMessageComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
40
40
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
41
|
-
i0.ɵɵelementStart(0, "div", 7)(1, "span",
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 7)(1, "span", 13);
|
|
42
42
|
i0.ɵɵlistener("click", function SkipSingleMessageComponent_Conditional_11_Template_span_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.RaiseMessageEditRequest()); });
|
|
43
43
|
i0.ɵɵelementEnd();
|
|
44
|
-
i0.ɵɵelementStart(2, "span",
|
|
44
|
+
i0.ɵɵelementStart(2, "span", 14);
|
|
45
45
|
i0.ɵɵlistener("click", function SkipSingleMessageComponent_Conditional_11_Template_span_click_2_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.RaiseMessageDeleteRequest()); });
|
|
46
46
|
i0.ɵɵelementEnd()();
|
|
47
47
|
} }
|
|
48
|
-
function
|
|
48
|
+
function SkipSingleMessageComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
49
49
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
50
|
-
i0.ɵɵelementStart(0, "div",
|
|
51
|
-
i0.ɵɵlistener("click", function
|
|
50
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
51
|
+
i0.ɵɵlistener("click", function SkipSingleMessageComponent_Conditional_12_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.onArtifactIndicatorClick()); });
|
|
52
|
+
i0.ɵɵelement(1, "i", 16);
|
|
53
|
+
i0.ɵɵelementStart(2, "span", 17);
|
|
54
|
+
i0.ɵɵtext(3);
|
|
55
|
+
i0.ɵɵelementEnd()();
|
|
56
|
+
} if (rf & 2) {
|
|
57
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
58
|
+
i0.ɵɵadvance(3);
|
|
59
|
+
i0.ɵɵtextInterpolate2("", ctx_r0.ArtifactName || "View Artifact", "", ctx_r0.ArtifactVersion ? " v" + ctx_r0.ArtifactVersion : "", "");
|
|
60
|
+
} }
|
|
61
|
+
function SkipSingleMessageComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
+
i0.ɵɵelement(0, "div", null, 0);
|
|
63
|
+
} }
|
|
64
|
+
function SkipSingleMessageComponent_div_14_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
66
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
67
|
+
i0.ɵɵlistener("click", function SkipSingleMessageComponent_div_14_div_4_Template_div_click_0_listener() { const question_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.RaiseSuggestedQuestionSelectedEvent(question_r5)); });
|
|
52
68
|
i0.ɵɵtext(1);
|
|
53
69
|
i0.ɵɵelementEnd();
|
|
54
70
|
} if (rf & 2) {
|
|
55
|
-
const
|
|
71
|
+
const question_r5 = ctx.$implicit;
|
|
56
72
|
i0.ɵɵadvance();
|
|
57
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
73
|
+
i0.ɵɵtextInterpolate1(" ", question_r5, " ");
|
|
58
74
|
} }
|
|
59
75
|
function SkipSingleMessageComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
-
i0.ɵɵelementStart(0, "div",
|
|
76
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "div", 19);
|
|
61
77
|
i0.ɵɵtext(2, "Suggested Questions");
|
|
62
78
|
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementStart(3, "div",
|
|
64
|
-
i0.ɵɵtemplate(4, SkipSingleMessageComponent_div_14_div_4_Template, 2, 1, "div",
|
|
79
|
+
i0.ɵɵelementStart(3, "div", 20);
|
|
80
|
+
i0.ɵɵtemplate(4, SkipSingleMessageComponent_div_14_div_4_Template, 2, 1, "div", 21);
|
|
65
81
|
i0.ɵɵelementEnd()();
|
|
66
82
|
} if (rf & 2) {
|
|
67
83
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -69,19 +85,19 @@ function SkipSingleMessageComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
69
85
|
i0.ɵɵproperty("ngForOf", ctx_r0.SuggestedQuestions);
|
|
70
86
|
} }
|
|
71
87
|
function SkipSingleMessageComponent_div_15_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
-
const
|
|
73
|
-
i0.ɵɵelementStart(0, "div",
|
|
74
|
-
i0.ɵɵlistener("click", function SkipSingleMessageComponent_div_15_div_2_Template_div_click_0_listener() { const
|
|
88
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
89
|
+
i0.ɵɵelementStart(0, "div", 22);
|
|
90
|
+
i0.ɵɵlistener("click", function SkipSingleMessageComponent_div_15_div_2_Template_div_click_0_listener() { const answer_r7 = i0.ɵɵrestoreView(_r6).$implicit; const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.RaiseSuggestedAnswerSelectedEvent(answer_r7)); });
|
|
75
91
|
i0.ɵɵtext(1);
|
|
76
92
|
i0.ɵɵelementEnd();
|
|
77
93
|
} if (rf & 2) {
|
|
78
|
-
const
|
|
94
|
+
const answer_r7 = ctx.$implicit;
|
|
79
95
|
i0.ɵɵadvance();
|
|
80
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
96
|
+
i0.ɵɵtextInterpolate1(" ", answer_r7, " ");
|
|
81
97
|
} }
|
|
82
98
|
function SkipSingleMessageComponent_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
83
|
-
i0.ɵɵelementStart(0, "div",
|
|
84
|
-
i0.ɵɵtemplate(2, SkipSingleMessageComponent_div_15_div_2_Template, 2, 1, "div",
|
|
99
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "div", 23);
|
|
100
|
+
i0.ɵɵtemplate(2, SkipSingleMessageComponent_div_15_div_2_Template, 2, 1, "div", 21);
|
|
85
101
|
i0.ɵɵelementEnd()();
|
|
86
102
|
} if (rf & 2) {
|
|
87
103
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -89,28 +105,28 @@ function SkipSingleMessageComponent_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
|
89
105
|
i0.ɵɵproperty("ngForOf", ctx_r0.SuggestedAnswers);
|
|
90
106
|
} }
|
|
91
107
|
function SkipSingleMessageComponent_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
-
const
|
|
93
|
-
i0.ɵɵelementStart(0, "div",
|
|
108
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
109
|
+
i0.ɵɵelementStart(0, "div", 10)(1, "div", 24);
|
|
94
110
|
i0.ɵɵtext(2, "Was this response helpful?");
|
|
95
111
|
i0.ɵɵelementEnd();
|
|
96
|
-
i0.ɵɵelementStart(3, "div",
|
|
97
|
-
i0.ɵɵlistener("click", function SkipSingleMessageComponent_Conditional_16_Template_span_click_4_listener() { i0.ɵɵrestoreView(
|
|
112
|
+
i0.ɵɵelementStart(3, "div", 25)(4, "span", 26);
|
|
113
|
+
i0.ɵɵlistener("click", function SkipSingleMessageComponent_Conditional_16_Template_span_click_4_listener() { i0.ɵɵrestoreView(_r8); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.RateMessage(10)); });
|
|
98
114
|
i0.ɵɵelementEnd();
|
|
99
|
-
i0.ɵɵelementStart(5, "span",
|
|
100
|
-
i0.ɵɵlistener("click", function SkipSingleMessageComponent_Conditional_16_Template_span_click_5_listener() { i0.ɵɵrestoreView(
|
|
115
|
+
i0.ɵɵelementStart(5, "span", 27);
|
|
116
|
+
i0.ɵɵlistener("click", function SkipSingleMessageComponent_Conditional_16_Template_span_click_5_listener() { i0.ɵɵrestoreView(_r8); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.RateMessage(0)); });
|
|
101
117
|
i0.ɵɵelementEnd()()();
|
|
102
118
|
} }
|
|
103
119
|
function SkipSingleMessageComponent_Conditional_17_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
104
|
-
i0.ɵɵelement(0, "span",
|
|
120
|
+
i0.ɵɵelement(0, "span", 29);
|
|
105
121
|
} }
|
|
106
122
|
function SkipSingleMessageComponent_Conditional_17_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
107
|
-
i0.ɵɵelement(0, "span",
|
|
123
|
+
i0.ɵɵelement(0, "span", 30);
|
|
108
124
|
} }
|
|
109
125
|
function SkipSingleMessageComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
110
|
-
i0.ɵɵelementStart(0, "div",
|
|
126
|
+
i0.ɵɵelementStart(0, "div", 11)(1, "span", 28);
|
|
111
127
|
i0.ɵɵtext(2);
|
|
112
128
|
i0.ɵɵelementEnd();
|
|
113
|
-
i0.ɵɵtemplate(3, SkipSingleMessageComponent_Conditional_17_Conditional_3_Template, 1, 0, "span",
|
|
129
|
+
i0.ɵɵtemplate(3, SkipSingleMessageComponent_Conditional_17_Conditional_3_Template, 1, 0, "span", 29)(4, SkipSingleMessageComponent_Conditional_17_Conditional_4_Template, 1, 0, "span", 30);
|
|
114
130
|
i0.ɵɵelementEnd();
|
|
115
131
|
} if (rf & 2) {
|
|
116
132
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -150,6 +166,10 @@ export class SkipSingleMessageComponent extends BaseAngularComponent {
|
|
|
150
166
|
* If set to true, AI messages that are the last in the conversation will show thumbs up/down rating
|
|
151
167
|
*/
|
|
152
168
|
this.ShowMessageRating = true;
|
|
169
|
+
/**
|
|
170
|
+
* If set to true, messages with linked artifacts will show an artifact indicator
|
|
171
|
+
*/
|
|
172
|
+
this.ShowArtifactIndicator = true;
|
|
153
173
|
/**
|
|
154
174
|
* Indicates if the message is currently being rated and saved to the database
|
|
155
175
|
*/
|
|
@@ -158,6 +178,18 @@ export class SkipSingleMessageComponent extends BaseAngularComponent {
|
|
|
158
178
|
* This is an internal property that is turned on just after a user succesfully rates a message, and is never true otherwise. This allows the UI to show a thank you message for the rating.
|
|
159
179
|
*/
|
|
160
180
|
this.UserJustRated = false;
|
|
181
|
+
/**
|
|
182
|
+
* Name of the artifact associated with this message, if any
|
|
183
|
+
*/
|
|
184
|
+
this.ArtifactName = null;
|
|
185
|
+
/**
|
|
186
|
+
* Description of the artifact associated with this message, if any
|
|
187
|
+
*/
|
|
188
|
+
this.ArtifactDescription = null;
|
|
189
|
+
/**
|
|
190
|
+
* Version of the artifact associated with this message, if any
|
|
191
|
+
*/
|
|
192
|
+
this.ArtifactVersion = null;
|
|
161
193
|
this.SuggestedQuestionSelected = new EventEmitter();
|
|
162
194
|
this.SuggestedAnswerSelected = new EventEmitter();
|
|
163
195
|
/**
|
|
@@ -180,6 +212,10 @@ export class SkipSingleMessageComponent extends BaseAngularComponent {
|
|
|
180
212
|
* This event fires whenever a drill down is requested within a given report.
|
|
181
213
|
*/
|
|
182
214
|
this.DrillDownEvent = new EventEmitter();
|
|
215
|
+
/**
|
|
216
|
+
* This event fires when the user clicks on an artifact indicator to view the artifact
|
|
217
|
+
*/
|
|
218
|
+
this.ArtifactSelected = new EventEmitter();
|
|
183
219
|
this.SuggestedQuestions = [];
|
|
184
220
|
this.SuggestedAnswers = [];
|
|
185
221
|
this.ShowSuggestedQuestions = true;
|
|
@@ -240,6 +276,10 @@ export class SkipSingleMessageComponent extends BaseAngularComponent {
|
|
|
240
276
|
// since we are dynamically adding stuff
|
|
241
277
|
this.cdRef.detectChanges();
|
|
242
278
|
this._loadTime = Date.now();
|
|
279
|
+
// Load artifact info if available
|
|
280
|
+
if (this.HasArtifact) {
|
|
281
|
+
this.loadArtifactInfo();
|
|
282
|
+
}
|
|
243
283
|
}
|
|
244
284
|
RefreshMessage() {
|
|
245
285
|
this._cachedMessage = null;
|
|
@@ -346,7 +386,7 @@ export class SkipSingleMessageComponent extends BaseAngularComponent {
|
|
|
346
386
|
AddReportToConversation() {
|
|
347
387
|
var _a;
|
|
348
388
|
const detail = this.ConversationDetailRecord;
|
|
349
|
-
if (((_a = detail === null || detail === void 0 ? void 0 : detail.ID) === null || _a === void 0 ? void 0 : _a.length) > 0 && detail.Role.trim().toLowerCase() === 'ai') {
|
|
389
|
+
if (this.reportContainerRef && ((_a = detail === null || detail === void 0 ? void 0 : detail.ID) === null || _a === void 0 ? void 0 : _a.length) > 0 && detail.Role.trim().toLowerCase() === 'ai') {
|
|
350
390
|
const resultObject = JSON.parse(detail.Message);
|
|
351
391
|
if (resultObject.success) {
|
|
352
392
|
if (resultObject.responsePhase === SkipResponsePhase.analysis_complete) {
|
|
@@ -444,6 +484,81 @@ export class SkipSingleMessageComponent extends BaseAngularComponent {
|
|
|
444
484
|
return 'Thanks for your feedback!';
|
|
445
485
|
}
|
|
446
486
|
}
|
|
487
|
+
/**
|
|
488
|
+
* Determines if the current message has an associated artifact
|
|
489
|
+
*/
|
|
490
|
+
get HasArtifact() {
|
|
491
|
+
return this.ShowArtifactIndicator &&
|
|
492
|
+
!!this.ConversationDetailRecord &&
|
|
493
|
+
!!this.ConversationDetailRecord.ArtifactID &&
|
|
494
|
+
this.ConversationDetailRecord.ArtifactID.length > 0;
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* Emits the ArtifactSelected event with the artifact ID and version ID
|
|
498
|
+
*/
|
|
499
|
+
onArtifactIndicatorClick() {
|
|
500
|
+
if (this.HasArtifact) {
|
|
501
|
+
this.ArtifactSelected.emit({
|
|
502
|
+
artifactId: this.ConversationDetailRecord.ArtifactID,
|
|
503
|
+
artifactVersionId: this.ConversationDetailRecord.ArtifactVersionID,
|
|
504
|
+
messageId: this.ConversationDetailRecord.ID,
|
|
505
|
+
name: this.ArtifactName,
|
|
506
|
+
description: this.ArtifactDescription
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Loads the artifact information if available
|
|
512
|
+
*/
|
|
513
|
+
loadArtifactInfo() {
|
|
514
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
515
|
+
var _a, _b;
|
|
516
|
+
if (!this.HasArtifact || !this.ConversationDetailRecord.ArtifactID) {
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
try {
|
|
520
|
+
const provider = this.ProviderToUse;
|
|
521
|
+
const rv = new RunView(this.RunViewToUse);
|
|
522
|
+
const params = [
|
|
523
|
+
{
|
|
524
|
+
EntityName: 'MJ: Conversation Artifacts',
|
|
525
|
+
ExtraFilter: "ID = '" + this.ConversationDetailRecord.ArtifactID + "'",
|
|
526
|
+
ResultType: 'simple'
|
|
527
|
+
}
|
|
528
|
+
];
|
|
529
|
+
if (this.ConversationDetailRecord.ArtifactVersionID) {
|
|
530
|
+
params.push({
|
|
531
|
+
EntityName: 'MJ: Conversation Artifact Versions',
|
|
532
|
+
ExtraFilter: "ID = '" + this.ConversationDetailRecord.ArtifactVersionID + "'",
|
|
533
|
+
ResultType: 'simple'
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
const results = yield rv.RunViews(params, this.ProviderToUse.CurrentUser);
|
|
537
|
+
if (results) {
|
|
538
|
+
const artifactResult = results[0];
|
|
539
|
+
if (artifactResult && ((_a = artifactResult.Results) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
540
|
+
const artifact = artifactResult.Results[0];
|
|
541
|
+
if (artifact) {
|
|
542
|
+
this.ArtifactName = artifact.Name;
|
|
543
|
+
this.ArtifactDescription = artifact.Description;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
if (this.ConversationDetailRecord.ArtifactVersionID) {
|
|
547
|
+
const versionResult = results[1];
|
|
548
|
+
if (versionResult && ((_b = versionResult.Results) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
549
|
+
const version = versionResult.Results[0];
|
|
550
|
+
if (version) {
|
|
551
|
+
this.ArtifactVersion = version.Version;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
catch (err) {
|
|
558
|
+
console.error('Error loading artifact information', err);
|
|
559
|
+
}
|
|
560
|
+
});
|
|
561
|
+
}
|
|
447
562
|
}
|
|
448
563
|
SkipSingleMessageComponent._detailHtml = {};
|
|
449
564
|
SkipSingleMessageComponent.ɵfac = function SkipSingleMessageComponent_Factory(t) { return new (t || SkipSingleMessageComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1.MJNotificationService)); };
|
|
@@ -452,7 +567,7 @@ SkipSingleMessageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
452
567
|
} if (rf & 2) {
|
|
453
568
|
let _t;
|
|
454
569
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.reportContainerRef = _t.first);
|
|
455
|
-
} }, inputs: { ConversationRecord: "ConversationRecord", ConversationDetailRecord: "ConversationDetailRecord", ConversationUser: "ConversationUser", DataContext: "DataContext", ConversationMessages: "ConversationMessages", ConversationProcessing: "ConversationProcessing", SkipMarkOnlyLogoURL: "SkipMarkOnlyLogoURL", UserImage: "UserImage", DefaultUserImage: "DefaultUserImage", ShowMessageEditPanel: "ShowMessageEditPanel", ShowMessageRating: "ShowMessageRating", ShowSuggestedQuestions: "ShowSuggestedQuestions", HideSuggestedQuestionsAfterClick: "HideSuggestedQuestionsAfterClick", ShowSuggestedAnswers: "ShowSuggestedAnswers", HideSuggestedAnswersAfterClick: "HideSuggestedAnswersAfterClick" }, outputs: { SuggestedQuestionSelected: "SuggestedQuestionSelected", SuggestedAnswerSelected: "SuggestedAnswerSelected", NavigateToMatchingReport: "NavigateToMatchingReport", NewReportCreated: "NewReportCreated", EditMessageRequested: "EditMessageRequested", DeleteMessageRequested: "DeleteMessageRequested", DrillDownEvent: "DrillDownEvent" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars:
|
|
570
|
+
} }, inputs: { ConversationRecord: "ConversationRecord", ConversationDetailRecord: "ConversationDetailRecord", ConversationUser: "ConversationUser", DataContext: "DataContext", ConversationMessages: "ConversationMessages", ConversationProcessing: "ConversationProcessing", SkipMarkOnlyLogoURL: "SkipMarkOnlyLogoURL", UserImage: "UserImage", DefaultUserImage: "DefaultUserImage", ShowMessageEditPanel: "ShowMessageEditPanel", ShowMessageRating: "ShowMessageRating", ShowArtifactIndicator: "ShowArtifactIndicator", ShowSuggestedQuestions: "ShowSuggestedQuestions", HideSuggestedQuestionsAfterClick: "HideSuggestedQuestionsAfterClick", ShowSuggestedAnswers: "ShowSuggestedAnswers", HideSuggestedAnswersAfterClick: "HideSuggestedAnswersAfterClick" }, outputs: { SuggestedQuestionSelected: "SuggestedQuestionSelected", SuggestedAnswerSelected: "SuggestedAnswerSelected", NavigateToMatchingReport: "NavigateToMatchingReport", NewReportCreated: "NewReportCreated", EditMessageRequested: "EditMessageRequested", DeleteMessageRequested: "DeleteMessageRequested", DrillDownEvent: "DrillDownEvent", ArtifactSelected: "ArtifactSelected" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 13, consts: [["reportContainer", ""], [1, "message-row", 3, "ngClass"], [1, "message-image"], [1, "avatar", 3, "src"], [1, "fa-solid", "fa-user", "default-user-image"], [1, "message", 3, "id"], [1, "message-user-name"], ["title", "Message actions", 1, "message-actions"], [1, "artifact-indicator"], ["class", "suggested-container", 4, "ngIf"], [1, "message-rating"], [1, "rating-feedback"], [1, "elapsed-time"], ["title", "Edit message", 1, "fa-solid", "fa-edit", 3, "click"], ["title", "Delete message", 1, "fa-solid", "fa-trash", 3, "click"], [1, "artifact-indicator", 3, "click"], [1, "fa-solid", "fa-file-lines"], [1, "artifact-label"], [1, "suggested-container"], [1, "suggested-header"], [1, "suggested-questions-list"], ["class", "suggested-item", 3, "click", 4, "ngFor", "ngForOf"], [1, "suggested-item", 3, "click"], [1, "suggested-answers-list"], [1, "rating-prompt"], [1, "rating-buttons"], ["title", "This was helpful", 1, "fa-solid", "fa-thumbs-up", 3, "click"], ["title", "This wasn't helpful", 1, "fa-solid", "fa-thumbs-down", 3, "click"], [1, "rating-status-text"], [1, "fa-solid", "fa-thumbs-up", "rating-icon-selected"], [1, "fa-solid", "fa-thumbs-down", "rating-icon-selected"]], template: function SkipSingleMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
456
571
|
i0.ɵɵelementStart(0, "div")(1, "div", 1)(2, "div", 2);
|
|
457
572
|
i0.ɵɵtemplate(3, SkipSingleMessageComponent_Conditional_3_Template, 1, 1, "img", 3)(4, SkipSingleMessageComponent_Conditional_4_Template, 1, 0, "span", 4);
|
|
458
573
|
i0.ɵɵelementEnd();
|
|
@@ -462,10 +577,9 @@ SkipSingleMessageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
462
577
|
i0.ɵɵelementStart(8, "div");
|
|
463
578
|
i0.ɵɵtemplate(9, SkipSingleMessageComponent_Conditional_9_Template, 3, 1);
|
|
464
579
|
i0.ɵɵtext(10);
|
|
465
|
-
i0.ɵɵtemplate(11, SkipSingleMessageComponent_Conditional_11_Template, 3, 0, "div", 7);
|
|
580
|
+
i0.ɵɵtemplate(11, SkipSingleMessageComponent_Conditional_11_Template, 3, 0, "div", 7)(12, SkipSingleMessageComponent_Conditional_12_Template, 4, 2, "div", 8);
|
|
466
581
|
i0.ɵɵelementEnd();
|
|
467
|
-
i0.ɵɵ
|
|
468
|
-
i0.ɵɵtemplate(14, SkipSingleMessageComponent_div_14_Template, 5, 1, "div", 8)(15, SkipSingleMessageComponent_div_15_Template, 3, 1, "div", 8)(16, SkipSingleMessageComponent_Conditional_16_Template, 6, 0, "div", 9)(17, SkipSingleMessageComponent_Conditional_17_Template, 5, 2, "div", 10);
|
|
582
|
+
i0.ɵɵtemplate(13, SkipSingleMessageComponent_Conditional_13_Template, 2, 0, "div")(14, SkipSingleMessageComponent_div_14_Template, 5, 1, "div", 9)(15, SkipSingleMessageComponent_div_15_Template, 3, 1, "div", 9)(16, SkipSingleMessageComponent_Conditional_16_Template, 6, 0, "div", 10)(17, SkipSingleMessageComponent_Conditional_17_Template, 5, 2, "div", 11);
|
|
469
583
|
i0.ɵɵelementEnd()()();
|
|
470
584
|
} if (rf & 2) {
|
|
471
585
|
i0.ɵɵadvance();
|
|
@@ -482,7 +596,11 @@ SkipSingleMessageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
482
596
|
i0.ɵɵtextInterpolate1(" ", ctx.Message, " ");
|
|
483
597
|
i0.ɵɵadvance();
|
|
484
598
|
i0.ɵɵconditional(!ctx.IsTemporaryMessage && !ctx.IsAIMessage && ctx.ShowMessageEditPanel && !ctx.ConversationProcessing ? 11 : -1);
|
|
485
|
-
i0.ɵɵadvance(
|
|
599
|
+
i0.ɵɵadvance();
|
|
600
|
+
i0.ɵɵconditional(ctx.HasArtifact ? 12 : -1);
|
|
601
|
+
i0.ɵɵadvance();
|
|
602
|
+
i0.ɵɵconditional(!ctx.HasArtifact ? 13 : -1);
|
|
603
|
+
i0.ɵɵadvance();
|
|
486
604
|
i0.ɵɵproperty("ngIf", ctx.IsAIMessage && ctx.SuggestedQuestions.length > 0 && ctx.IsLastMessageInConversation && ctx.ShowSuggestedQuestions && (!ctx.HideSuggestedQuestionsAfterClick || !ctx.SuggestedQuestionsClicked));
|
|
487
605
|
i0.ɵɵadvance();
|
|
488
606
|
i0.ɵɵproperty("ngIf", ctx.IsAIMessage && ctx.SuggestedAnswers.length > 0 && ctx.IsLastMessageInConversation && ctx.ShowSuggestedAnswers && (!ctx.HideSuggestedAnswersAfterClick || !ctx.SuggestedAnswersClicked));
|
|
@@ -490,10 +608,10 @@ SkipSingleMessageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
490
608
|
i0.ɵɵconditional(!ctx.IsTemporaryMessage && ctx.ShouldShowRating ? 16 : -1);
|
|
491
609
|
i0.ɵɵadvance();
|
|
492
610
|
i0.ɵɵconditional(!ctx.IsTemporaryMessage && ctx.IsAIMessage && ctx.ConversationDetailRecord.UserRating !== null && ctx.UserJustRated ? 17 : -1);
|
|
493
|
-
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i3.LoaderComponent], styles: [".message-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: start; \n\n \n\n justify-content: center; \n\n \n padding: 10px;\n}\n\n.message[_ngcontent-%COMP%] {\n word-wrap: break-word;\n width: 100%;\n margin-right: 20px;\n padding-bottom:
|
|
611
|
+
} }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i3.LoaderComponent], styles: [".message-row[_ngcontent-%COMP%] {\n display: flex;\n align-items: start; \n\n \n\n justify-content: center; \n\n \n padding: 10px;\n}\n\n.message[_ngcontent-%COMP%] {\n word-wrap: break-word;\n width: 100%;\n margin-right: 20px;\n padding-bottom: 30px; \n\n min-height: 60px; \n\n position: relative; \n\n @media (min-width: 1280px) {\n max-width: 48rem;\n }\n}\n\n.message-actions[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 5px;\n right: 10px;\n background-color: #ffffff;\n border-radius: 20px;\n padding: 6px 10px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n z-index: 10;\n transition: opacity 0.3s ease, transform 0.3s ease;\n border: 1px solid #e0e0e0;\n opacity: 0;\n transform: translateY(5px) scale(0.95);\n pointer-events: none;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.message[_ngcontent-%COMP%]:hover .message-actions[_ngcontent-%COMP%] {\n opacity: 1;\n transform: translateY(0) scale(1);\n pointer-events: auto;\n}\n \n.message-actions[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n margin: 0 5px;\n color: #6e7072;\n cursor: pointer;\n font-size: 14px;\n padding: 3px;\n transition: all 0.2s ease;\n width: 18px;\n height: 18px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n}\n\n.message-actions[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:hover {\n color: #333;\n background-color: #f5f5f5;\n}\n\n.message-actions[_ngcontent-%COMP%] > span.fa-edit[_ngcontent-%COMP%]:hover {\n color: #4285f4;\n}\n\n.message-actions[_ngcontent-%COMP%] > span.fa-trash[_ngcontent-%COMP%]:hover {\n color: #ea4335;\n}\n\n.message-image[_ngcontent-%COMP%] {\n max-width: 24px;\n max-height: 24px;\n margin-right: 10px;\n margin-left: 5px;\n margin-bottom: 10px;\n}\n.message-image[_ngcontent-%COMP%] > img[_ngcontent-%COMP%] {\n max-width: 100%;\n max-height: 100%;\n}\n\n\n\n.error-message[_ngcontent-%COMP%] {\n background-color:lightpink;\n}\n\n.ai-message-in-progress[_ngcontent-%COMP%] {\n \n\n opacity: 0.9;\n}\n\n.elapsed-time[_ngcontent-%COMP%] {\n font-style: regular;\n font-size: 0.8rem;\n color: #124be7;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.message-user-name[_ngcontent-%COMP%] {\n font-weight: 600;\n margin-top: 0px;\n margin-bottom: 10px;\n padding-bottom: 7px;\n height: .5rem;\n}\n\n.suggested-container[_ngcontent-%COMP%] {\n margin-right: 20px; \n\n display: flex;\n flex-direction: column;\n align-items: left;\n justify-content: left;\n padding: 10px;\n margin-top: 10px;\n margin-bottom: 10px;\n border: solid 1px rgba(28, 103, 202, 0.08);\n background-color: rgb(241, 236, 227);\n}\n.suggested-header[_ngcontent-%COMP%] {\n font-weight: 600;\n margin-bottom: 10px;\n}\n.suggested-questions-list[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n}\n.suggested-answers-list[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: none;\n}\n.suggested-item[_ngcontent-%COMP%] {\n margin: 5px;\n padding: 5px 10px;\n border-radius: 5px;\n background-color: #f5f5f5;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n.suggested-item[_ngcontent-%COMP%]:hover {\n background-color: #96d0f1;\n}\n\n.default-user-image[_ngcontent-%COMP%] {\n width: 24px;\n font-size: 22px;\n}\n\n\n\n.message-rating[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n margin-top: 15px;\n padding: 8px 12px;\n background-color: #f5f5f5;\n border-radius: 8px;\n width: fit-content;\n}\n\n.rating-prompt[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n margin-bottom: 8px;\n color: #555;\n}\n\n.rating-buttons[_ngcontent-%COMP%] {\n display: flex;\n gap: 15px;\n}\n\n.rating-buttons[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n font-size: 1.2rem;\n cursor: pointer;\n padding: 5px;\n border-radius: 4px;\n transition: all 0.2s ease;\n}\n\n.fa-thumbs-up[_ngcontent-%COMP%] {\n color: #4caf50;\n}\n\n.fa-thumbs-up[_ngcontent-%COMP%]:hover {\n background-color: rgba(76, 175, 80, 0.1);\n transform: scale(1.1);\n}\n\n.fa-thumbs-down[_ngcontent-%COMP%] {\n color: #f44336;\n}\n\n.fa-thumbs-down[_ngcontent-%COMP%]:hover {\n background-color: rgba(244, 67, 54, 0.1);\n transform: scale(1.1);\n}\n\n.rating-feedback[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n margin-top: 12px;\n color: #666;\n font-size: 0.85rem;\n font-style: italic;\n}\n\n.rating-status-text[_ngcontent-%COMP%] {\n margin-right: 8px;\n}\n\n.rating-icon-selected[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n}\n\n\n\n.artifact-indicator[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n margin-top: 12px;\n padding: 12px 16px;\n background-color: #eef6ff;\n border: 1px solid #d0e1fd;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n}\n\n.artifact-indicator[_ngcontent-%COMP%]:hover {\n background-color: #d2e5ff;\n border-color: #a9c9fc;\n}\n\n.artifact-indicator[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 16px;\n color: #4285f4;\n margin-right: 10px;\n}\n\n.artifact-label[_ngcontent-%COMP%] {\n font-size: 14px;\n color: #4285f4;\n font-weight: 500;\n}"] });
|
|
494
612
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SkipSingleMessageComponent, [{
|
|
495
613
|
type: Component,
|
|
496
|
-
args: [{ selector: 'mj-skip-single-message', template: "<div>\n <div class=\"message-row\" [ngClass]=\"GetMessageRowCssClass()\" > \n <div class=\"message-image\">\n @if (GetUserImageSource()) {\n <img [src]=\"GetUserImageSource()\" class=\"avatar\" />\n }\n @else {\n <span class=\"fa-solid fa-user default-user-image\"></span>\n }\n </div>\n <div class=\"message\" \n [id]=\"'skip_message_' + ConversationDetailRecord.ID\">\n <div class=\"message-user-name\">{{IsAIMessage ? 'Skip' : (ConversationUser ? ConversationUser.FirstName + ' ' + ConversationUser.LastName : 'You')}}</div>\n <div>\n @if(IsTemporaryMessage) {\n <kendo-loader></kendo-loader>\n <span class=\"elapsed-time\">{{ElapsedTimeSinceLoadFormatted}}</span>\n }\n {{Message}}\n @if(!IsTemporaryMessage && !IsAIMessage && ShowMessageEditPanel && !ConversationProcessing) {\n <!-- this is a user message, so we need to offer the ability to edit/delete the message. -->\n <div class=\"message-actions\">\n <span class=\"fa-solid fa-edit\" (click)=\"RaiseMessageEditRequest()\"></span>\n <span class=\"fa-solid fa-trash\" (click)=\"RaiseMessageDeleteRequest()\"></span>\n </div>\n }\n </div>\n <div #reportContainer>\n <!-- this is where the report will go - dynamically instantiated -->\n </div>\n <div *ngIf=\"IsAIMessage && \n SuggestedQuestions.length > 0 && \n IsLastMessageInConversation && \n ShowSuggestedQuestions && \n (!HideSuggestedQuestionsAfterClick || !SuggestedQuestionsClicked)\" class=\"suggested-container\">\n <div class=\"suggested-header\">Suggested Questions</div>\n <div class=\"suggested-questions-list\">\n <div class=\"suggested-item\" *ngFor=\"let question of SuggestedQuestions\" (click)=\"RaiseSuggestedQuestionSelectedEvent(question)\">\n {{question}}\n </div>\n </div>\n </div>\n <div *ngIf=\"IsAIMessage && \n SuggestedAnswers.length > 0 && \n IsLastMessageInConversation &&\n ShowSuggestedAnswers && \n (!HideSuggestedAnswersAfterClick || !SuggestedAnswersClicked)\" class=\"suggested-container\">\n <div class=\"suggested-answers-list\">\n <div class=\"suggested-item\" *ngFor=\"let answer of SuggestedAnswers\" (click)=\"RaiseSuggestedAnswerSelectedEvent(answer)\">\n {{answer}}\n </div>\n </div>\n </div>\n\n <!-- Rating UI for AI messages that haven't been rated yet -->\n @if(!IsTemporaryMessage && ShouldShowRating) {\n <div class=\"message-rating\">\n <div class=\"rating-prompt\">Was this response helpful?</div>\n <div class=\"rating-buttons\">\n <span class=\"fa-solid fa-thumbs-up\" (click)=\"RateMessage(10)\" title=\"This was helpful\"></span>\n <span class=\"fa-solid fa-thumbs-down\" (click)=\"RateMessage(0)\" title=\"This wasn't helpful\"></span>\n </div>\n </div>\n }\n <!-- Show rating feedback after user has rated - ONLY AFTER THE USER JUST FINISHED RATING, never in future refreshes of the window -->\n @if(!IsTemporaryMessage && IsAIMessage && ConversationDetailRecord.UserRating !== null && UserJustRated) {\n <div class=\"rating-feedback\">\n <span class=\"rating-status-text\">{{RatingStatusText}}</span>\n @if(ConversationDetailRecord.UserRating === 10) {\n <span class=\"fa-solid fa-thumbs-up rating-icon-selected\"></span>\n } @else {\n <span class=\"fa-solid fa-thumbs-down rating-icon-selected\"></span>\n }\n </div>\n }\n </div>\n </div>\n</div>", styles: [".message-row {\n display: flex;\n align-items: start; /* if you want to align them at the top */\n /* border-bottom: solid 1px rgba(0, 0, 0, 0.08); */\n justify-content: center; /* Center align horizontally */\n \n padding: 10px;\n}\n\n.message {\n word-wrap: break-word;\n width: 100%;\n margin-right: 20px;\n padding-bottom: 25px;\n @media (min-width: 1280px) {\n max-width: 48rem;\n }\n}\n\n.message-actions {\n margin-top: 5px;\n top: 0; /* Align to the top of the parent container */\n left: 0; /* Align to the right edge */\n display: none; /* Hide by default */\n}\n\n.message:hover .message-actions {\n display: flex; /* Show the actions when the message is hovered */\n}\n \n.message-actions > span {\n margin-right: 5px;\n color: #6e7072;\n cursor: pointer;\n}\n\n.message-image {\n max-width: 24px;\n max-height: 24px;\n margin-right: 10px;\n margin-left: 5px;\n margin-bottom: 10px;\n}\n.message-image > img {\n max-width: 100%;\n max-height: 100%;\n}\n\n\n\n.error-message {\n background-color:lightpink;\n}\n\n.ai-message-in-progress {\n /* font-style: italic; */\n opacity: 0.9;\n}\n\n.elapsed-time {\n font-style: regular;\n font-size: 0.8rem;\n color: #124be7;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.message-user-name {\n font-weight: 600;\n margin-top: 0px;\n margin-bottom: 10px;\n padding-bottom: 7px;\n height: .5rem;\n}\n\n.suggested-container {\n margin-right: 20px; /*match the message class*/\n display: flex;\n flex-direction: column;\n align-items: left;\n justify-content: left;\n padding: 10px;\n margin-top: 10px;\n margin-bottom: 10px;\n border: solid 1px rgba(28, 103, 202, 0.08);\n background-color: rgb(241, 236, 227);\n}\n.suggested-header {\n font-weight: 600;\n margin-bottom: 10px;\n}\n.suggested-questions-list {\n display: flex;\n flex-wrap: wrap;\n}\n.suggested-answers-list {\n display: flex;\n flex-wrap: none;\n}\n.suggested-item {\n margin: 5px;\n padding: 5px 10px;\n border-radius: 5px;\n background-color: #f5f5f5;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n.suggested-item:hover {\n background-color: #96d0f1;\n}\n\n.default-user-image {\n width: 24px;\n font-size: 22px;\n}\n\n/* Message rating styles */\n.message-rating {\n display: flex;\n flex-direction: column;\n margin-top: 15px;\n padding: 8px 12px;\n background-color: #f5f5f5;\n border-radius: 8px;\n width: fit-content;\n}\n\n.rating-prompt {\n font-size: 0.9rem;\n margin-bottom: 8px;\n color: #555;\n}\n\n.rating-buttons {\n display: flex;\n gap: 15px;\n}\n\n.rating-buttons span {\n font-size: 1.2rem;\n cursor: pointer;\n padding: 5px;\n border-radius: 4px;\n transition: all 0.2s ease;\n}\n\n.fa-thumbs-up {\n color: #4caf50;\n}\n\n.fa-thumbs-up:hover {\n background-color: rgba(76, 175, 80, 0.1);\n transform: scale(1.1);\n}\n\n.fa-thumbs-down {\n color: #f44336;\n}\n\n.fa-thumbs-down:hover {\n background-color: rgba(244, 67, 54, 0.1);\n transform: scale(1.1);\n}\n\n.rating-feedback {\n display: flex;\n align-items: center;\n margin-top: 12px;\n color: #666;\n font-size: 0.85rem;\n font-style: italic;\n}\n\n.rating-status-text {\n margin-right: 8px;\n}\n\n.rating-icon-selected {\n font-size: 0.9rem;\n}"] }]
|
|
614
|
+
args: [{ selector: 'mj-skip-single-message', template: "<div>\n <div class=\"message-row\" [ngClass]=\"GetMessageRowCssClass()\" > \n <div class=\"message-image\">\n @if (GetUserImageSource()) {\n <img [src]=\"GetUserImageSource()\" class=\"avatar\" />\n }\n @else {\n <span class=\"fa-solid fa-user default-user-image\"></span>\n }\n </div>\n <div class=\"message\" \n [id]=\"'skip_message_' + ConversationDetailRecord.ID\">\n <div class=\"message-user-name\">{{IsAIMessage ? 'Skip' : (ConversationUser ? ConversationUser.FirstName + ' ' + ConversationUser.LastName : 'You')}}</div>\n <div>\n @if(IsTemporaryMessage) {\n <kendo-loader></kendo-loader>\n <span class=\"elapsed-time\">{{ElapsedTimeSinceLoadFormatted}}</span>\n }\n {{Message}}\n @if(!IsTemporaryMessage && !IsAIMessage && ShowMessageEditPanel && !ConversationProcessing) {\n <!-- this is a user message, so we need to offer the ability to edit/delete the message. -->\n <div class=\"message-actions\" title=\"Message actions\">\n <span class=\"fa-solid fa-edit\" (click)=\"RaiseMessageEditRequest()\" title=\"Edit message\"></span>\n <span class=\"fa-solid fa-trash\" (click)=\"RaiseMessageDeleteRequest()\" title=\"Delete message\"></span>\n </div>\n }\n \n @if(HasArtifact) {\n <!-- Artifact indicator for messages with associated artifacts -->\n <div class=\"artifact-indicator\" (click)=\"onArtifactIndicatorClick()\">\n <i class=\"fa-solid fa-file-lines\"></i>\n <span class=\"artifact-label\">{{ArtifactName || 'View Artifact'}}{{ArtifactVersion ? ' v' + ArtifactVersion : ''}}</span>\n </div>\n }\n </div>\n @if (!HasArtifact) {\n <div #reportContainer>\n <!-- this is where the report will go - dynamically instantiated -->\n </div>\n }\n <div *ngIf=\"IsAIMessage && \n SuggestedQuestions.length > 0 && \n IsLastMessageInConversation && \n ShowSuggestedQuestions && \n (!HideSuggestedQuestionsAfterClick || !SuggestedQuestionsClicked)\" class=\"suggested-container\">\n <div class=\"suggested-header\">Suggested Questions</div>\n <div class=\"suggested-questions-list\">\n <div class=\"suggested-item\" *ngFor=\"let question of SuggestedQuestions\" (click)=\"RaiseSuggestedQuestionSelectedEvent(question)\">\n {{question}}\n </div>\n </div>\n </div>\n <div *ngIf=\"IsAIMessage && \n SuggestedAnswers.length > 0 && \n IsLastMessageInConversation &&\n ShowSuggestedAnswers && \n (!HideSuggestedAnswersAfterClick || !SuggestedAnswersClicked)\" class=\"suggested-container\">\n <div class=\"suggested-answers-list\">\n <div class=\"suggested-item\" *ngFor=\"let answer of SuggestedAnswers\" (click)=\"RaiseSuggestedAnswerSelectedEvent(answer)\">\n {{answer}}\n </div>\n </div>\n </div>\n\n <!-- Rating UI for AI messages that haven't been rated yet -->\n @if(!IsTemporaryMessage && ShouldShowRating) {\n <div class=\"message-rating\">\n <div class=\"rating-prompt\">Was this response helpful?</div>\n <div class=\"rating-buttons\">\n <span class=\"fa-solid fa-thumbs-up\" (click)=\"RateMessage(10)\" title=\"This was helpful\"></span>\n <span class=\"fa-solid fa-thumbs-down\" (click)=\"RateMessage(0)\" title=\"This wasn't helpful\"></span>\n </div>\n </div>\n }\n <!-- Show rating feedback after user has rated - ONLY AFTER THE USER JUST FINISHED RATING, never in future refreshes of the window -->\n @if(!IsTemporaryMessage && IsAIMessage && ConversationDetailRecord.UserRating !== null && UserJustRated) {\n <div class=\"rating-feedback\">\n <span class=\"rating-status-text\">{{RatingStatusText}}</span>\n @if(ConversationDetailRecord.UserRating === 10) {\n <span class=\"fa-solid fa-thumbs-up rating-icon-selected\"></span>\n } @else {\n <span class=\"fa-solid fa-thumbs-down rating-icon-selected\"></span>\n }\n </div>\n }\n </div>\n </div>\n</div>", styles: [".message-row {\n display: flex;\n align-items: start; /* if you want to align them at the top */\n /* border-bottom: solid 1px rgba(0, 0, 0, 0.08); */\n justify-content: center; /* Center align horizontally */\n \n padding: 10px;\n}\n\n.message {\n word-wrap: break-word;\n width: 100%;\n margin-right: 20px;\n padding-bottom: 30px; /* Increased to ensure space for action buttons */\n min-height: 60px; /* Ensure minimum height for short messages */\n position: relative; /* Ensure position relative for absolute positioning of child elements */\n @media (min-width: 1280px) {\n max-width: 48rem;\n }\n}\n\n.message-actions {\n position: absolute;\n bottom: 5px;\n right: 10px;\n background-color: #ffffff;\n border-radius: 20px;\n padding: 6px 10px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n z-index: 10;\n transition: opacity 0.3s ease, transform 0.3s ease;\n border: 1px solid #e0e0e0;\n opacity: 0;\n transform: translateY(5px) scale(0.95);\n pointer-events: none;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.message:hover .message-actions {\n opacity: 1;\n transform: translateY(0) scale(1);\n pointer-events: auto;\n}\n \n.message-actions > span {\n margin: 0 5px;\n color: #6e7072;\n cursor: pointer;\n font-size: 14px;\n padding: 3px;\n transition: all 0.2s ease;\n width: 18px;\n height: 18px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n}\n\n.message-actions > span:hover {\n color: #333;\n background-color: #f5f5f5;\n}\n\n.message-actions > span.fa-edit:hover {\n color: #4285f4;\n}\n\n.message-actions > span.fa-trash:hover {\n color: #ea4335;\n}\n\n.message-image {\n max-width: 24px;\n max-height: 24px;\n margin-right: 10px;\n margin-left: 5px;\n margin-bottom: 10px;\n}\n.message-image > img {\n max-width: 100%;\n max-height: 100%;\n}\n\n\n\n.error-message {\n background-color:lightpink;\n}\n\n.ai-message-in-progress {\n /* font-style: italic; */\n opacity: 0.9;\n}\n\n.elapsed-time {\n font-style: regular;\n font-size: 0.8rem;\n color: #124be7;\n margin-left: 5px;\n margin-right: 5px;\n}\n\n.message-user-name {\n font-weight: 600;\n margin-top: 0px;\n margin-bottom: 10px;\n padding-bottom: 7px;\n height: .5rem;\n}\n\n.suggested-container {\n margin-right: 20px; /*match the message class*/\n display: flex;\n flex-direction: column;\n align-items: left;\n justify-content: left;\n padding: 10px;\n margin-top: 10px;\n margin-bottom: 10px;\n border: solid 1px rgba(28, 103, 202, 0.08);\n background-color: rgb(241, 236, 227);\n}\n.suggested-header {\n font-weight: 600;\n margin-bottom: 10px;\n}\n.suggested-questions-list {\n display: flex;\n flex-wrap: wrap;\n}\n.suggested-answers-list {\n display: flex;\n flex-wrap: none;\n}\n.suggested-item {\n margin: 5px;\n padding: 5px 10px;\n border-radius: 5px;\n background-color: #f5f5f5;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n.suggested-item:hover {\n background-color: #96d0f1;\n}\n\n.default-user-image {\n width: 24px;\n font-size: 22px;\n}\n\n/* Message rating styles */\n.message-rating {\n display: flex;\n flex-direction: column;\n margin-top: 15px;\n padding: 8px 12px;\n background-color: #f5f5f5;\n border-radius: 8px;\n width: fit-content;\n}\n\n.rating-prompt {\n font-size: 0.9rem;\n margin-bottom: 8px;\n color: #555;\n}\n\n.rating-buttons {\n display: flex;\n gap: 15px;\n}\n\n.rating-buttons span {\n font-size: 1.2rem;\n cursor: pointer;\n padding: 5px;\n border-radius: 4px;\n transition: all 0.2s ease;\n}\n\n.fa-thumbs-up {\n color: #4caf50;\n}\n\n.fa-thumbs-up:hover {\n background-color: rgba(76, 175, 80, 0.1);\n transform: scale(1.1);\n}\n\n.fa-thumbs-down {\n color: #f44336;\n}\n\n.fa-thumbs-down:hover {\n background-color: rgba(244, 67, 54, 0.1);\n transform: scale(1.1);\n}\n\n.rating-feedback {\n display: flex;\n align-items: center;\n margin-top: 12px;\n color: #666;\n font-size: 0.85rem;\n font-style: italic;\n}\n\n.rating-status-text {\n margin-right: 8px;\n}\n\n.rating-icon-selected {\n font-size: 0.9rem;\n}\n\n/* Artifact indicator styles */\n.artifact-indicator {\n display: flex;\n align-items: center;\n margin-top: 12px;\n padding: 12px 16px;\n background-color: #eef6ff;\n border: 1px solid #d0e1fd;\n border-radius: 6px;\n cursor: pointer;\n transition: all 0.2s ease;\n width: 100%;\n box-sizing: border-box;\n}\n\n.artifact-indicator:hover {\n background-color: #d2e5ff;\n border-color: #a9c9fc;\n}\n\n.artifact-indicator i {\n font-size: 16px;\n color: #4285f4;\n margin-right: 10px;\n}\n\n.artifact-label {\n font-size: 14px;\n color: #4285f4;\n font-weight: 500;\n}"] }]
|
|
497
615
|
}], () => [{ type: i0.ChangeDetectorRef }, { type: i1.MJNotificationService }], { ConversationRecord: [{
|
|
498
616
|
type: Input
|
|
499
617
|
}], ConversationDetailRecord: [{
|
|
@@ -516,6 +634,8 @@ SkipSingleMessageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
516
634
|
type: Input
|
|
517
635
|
}], ShowMessageRating: [{
|
|
518
636
|
type: Input
|
|
637
|
+
}], ShowArtifactIndicator: [{
|
|
638
|
+
type: Input
|
|
519
639
|
}], SuggestedQuestionSelected: [{
|
|
520
640
|
type: Output
|
|
521
641
|
}], SuggestedAnswerSelected: [{
|
|
@@ -530,6 +650,8 @@ SkipSingleMessageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
530
650
|
type: Output
|
|
531
651
|
}], DrillDownEvent: [{
|
|
532
652
|
type: Output
|
|
653
|
+
}], ArtifactSelected: [{
|
|
654
|
+
type: Output
|
|
533
655
|
}], ShowSuggestedQuestions: [{
|
|
534
656
|
type: Input
|
|
535
657
|
}], HideSuggestedQuestionsAfterClick: [{
|
|
@@ -542,5 +664,5 @@ SkipSingleMessageComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
542
664
|
type: ViewChild,
|
|
543
665
|
args: ['reportContainer', { read: ViewContainerRef }]
|
|
544
666
|
}] }); })();
|
|
545
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SkipSingleMessageComponent, { className: "SkipSingleMessageComponent", filePath: "src/lib/skip-single-message/skip-single-message.component.ts", lineNumber:
|
|
667
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SkipSingleMessageComponent, { className: "SkipSingleMessageComponent", filePath: "src/lib/skip-single-message/skip-single-message.component.ts", lineNumber: 20 }); })();
|
|
546
668
|
//# sourceMappingURL=skip-single-message.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-single-message.component.js","sourceRoot":"","sources":["../../../src/lib/skip-single-message/skip-single-message.component.ts","../../../src/lib/skip-single-message/skip-single-message.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAoC,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtI,OAAO,EAAqB,QAAQ,EAAsB,MAAM,sBAAsB,CAAC;AAEvF,OAAO,EAAuF,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpJ,OAAO,EAAE,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AAGlG,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;ICHrD,yBAAmD;;;IAA9C,mEAA4B;;;IAGjC,0BAAyD;;;IAQrD,+BAA6B;IAC7B,gCAA2B;IAAA,YAAiC;IAAA,iBAAO;;;IAAxC,eAAiC;IAAjC,0DAAiC;;;;IAMxD,AADJ,8BAA6B,eAC0C;IAApC,6LAAS,gCAAyB,KAAC;IAAC,iBAAO;IAC1E,gCAAsE;IAAtC,6LAAS,kCAA2B,KAAC;IACzE,AAD0E,iBAAO,EAC3E;;;;IAaN,+BAAgI;IAAxD,yNAAS,uDAA6C,KAAC;IAC3H,YACJ;IAAA,iBAAM;;;IADF,cACJ;IADI,4CACJ;;;IAJJ,AALJ,+BAI2G,cACzE;IAAA,mCAAmB;IAAA,iBAAM;IACvD,+BAAsC;IAClC,mFAAgI;IAIxI,AADI,iBAAM,EACJ;;;IAJmD,eAAqB;IAArB,mDAAqB;;;;IAWtE,+BAAwH;IAApD,uNAAS,mDAAyC,KAAC;IACnH,YACJ;IAAA,iBAAM;;;IADF,cACJ;IADI,0CACJ;;;IAHJ,AALJ,+BAIuG,cAC/D;IAChC,mFAAwH;IAIhI,AADI,iBAAM,EACJ;;;IAJiD,eAAmB;IAAnB,iDAAmB;;;;IASlE,AADJ,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AAK;YAIU,gBAAgB;kBAA/B,KAAK;YAKU,oBAAoB;kBAAnC,KAAK;YAKU,iBAAiB;kBAAhC,KAAK;YAYW,yBAAyB;kBAAzC,MAAM;YACU,uBAAuB;kBAAvC,MAAM;YAIG,wBAAwB;kBAAjC,MAAM;YAKG,gBAAgB;kBAAzB,MAAM;YAKG,oBAAoB;kBAA7B,MAAM;YAIG,sBAAsB;kBAA/B,MAAM;YAKG,cAAc;kBAAvB,MAAM;YAKS,sBAAsB;kBAArC,KAAK;YACU,gCAAgC;kBAA/C,KAAK;YAEU,oBAAoB;kBAAnC,KAAK;YACU,8BAA8B;kBAA7C,KAAK;YASoD,kBAAkB;kBAA3E,SAAS;mBAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;;kFAvF/C,0BAA0B"}
|
|
1
|
+
{"version":3,"file":"skip-single-message.component.js","sourceRoot":"","sources":["../../../src/lib/skip-single-message/skip-single-message.component.ts","../../../src/lib/skip-single-message/skip-single-message.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAoC,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtI,OAAO,EAAqB,QAAQ,EAAY,OAAO,EAA2B,MAAM,sBAAsB,CAAC;AAE/G,OAAO,EAAuF,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpJ,OAAO,EAAE,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AAGlG,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;ICJrD,yBAAmD;;;IAA9C,mEAA4B;;;IAGjC,0BAAyD;;;IAQrD,+BAA6B;IAC7B,gCAA2B;IAAA,YAAiC;IAAA,iBAAO;;;IAAxC,eAAiC;IAAjC,0DAAiC;;;;IAMxD,AADJ,8BAAqD,eACuC;IAAzD,6LAAS,gCAAyB,KAAC;IAAsB,iBAAO;IAC/F,gCAA6F;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uBAAuB;kBAAvC,MAAM;YAIG,wBAAwB;kBAAjC,MAAM;YAKG,gBAAgB;kBAAzB,MAAM;YAKG,oBAAoB;kBAA7B,MAAM;YAIG,sBAAsB;kBAA/B,MAAM;YAKG,cAAc;kBAAvB,MAAM;YAKG,gBAAgB;kBAAzB,MAAM;YAKS,sBAAsB;kBAArC,KAAK;YACU,gCAAgC;kBAA/C,KAAK;YAEU,oBAAoB;kBAAnC,KAAK;YACU,8BAA8B;kBAA7C,KAAK;YASoD,kBAAkB;kBAA3E,SAAS;mBAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;;kFAhH/C,0BAA0B"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BaseAngularComponent } from '@memberjunction/ng-base-types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type SplitPanelMode = 'LeftOnly' | 'RightOnly' | 'BothSides';
|
|
5
|
+
export declare class SkipSplitPanelComponent extends BaseAngularComponent implements OnInit, AfterViewInit, OnChanges {
|
|
6
|
+
SplitRatio: number;
|
|
7
|
+
MinLeftPanelWidth: string;
|
|
8
|
+
MinRightPanelWidth: string;
|
|
9
|
+
private _mode;
|
|
10
|
+
set Mode(value: SplitPanelMode);
|
|
11
|
+
get Mode(): SplitPanelMode;
|
|
12
|
+
SplitRatioChanged: EventEmitter<number>;
|
|
13
|
+
leftPaneSize: string;
|
|
14
|
+
rightPaneSize: string;
|
|
15
|
+
private _lastRatioBeforeClosing;
|
|
16
|
+
constructor();
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
/**
|
|
21
|
+
* Updates the pane sizes based on the current SplitRatio
|
|
22
|
+
*/
|
|
23
|
+
private updatePaneSizes;
|
|
24
|
+
/**
|
|
25
|
+
* Handler for the Kendo Splitter's resize event
|
|
26
|
+
* @param event The resize event data
|
|
27
|
+
*/
|
|
28
|
+
onResize(event: any): void;
|
|
29
|
+
/**
|
|
30
|
+
* Closes the right panel by switching to LeftOnly mode
|
|
31
|
+
*/
|
|
32
|
+
closeRightPanel(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Sets the mode for the split panel
|
|
35
|
+
* @param mode The new mode to set
|
|
36
|
+
*/
|
|
37
|
+
setMode(mode: SplitPanelMode): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkipSplitPanelComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkipSplitPanelComponent, "skip-split-panel", never, { "SplitRatio": { "alias": "SplitRatio"; "required": false; }; "MinLeftPanelWidth": { "alias": "MinLeftPanelWidth"; "required": false; }; "MinRightPanelWidth": { "alias": "MinRightPanelWidth"; "required": false; }; "Mode": { "alias": "Mode"; "required": false; }; }, { "SplitRatioChanged": "SplitRatioChanged"; }, never, ["[left-panel]", "[right-panel]"], false, never>;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=skip-split-panel.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skip-split-panel.component.d.ts","sourceRoot":"","sources":["../../../src/lib/split-panel/skip-split-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACxH,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;AAErE,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW,CAAC;AAEpE,qBAKa,uBAAwB,SAAQ,oBAAqB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS;IAC3F,UAAU,EAAE,MAAM,CAAO;IACzB,iBAAiB,EAAE,MAAM,CAAS;IAClC,kBAAkB,EAAE,MAAM,CAAS;IAEnD,OAAO,CAAC,KAAK,CAA+B;IAC5C,IACW,IAAI,CAAC,KAAK,EAAE,cAAc,EAQpC;IACD,IAAW,IAAI,IAAI,cAAc,CAEhC;IAEgB,iBAAiB,uBAA8B;IAGzD,YAAY,EAAE,MAAM,CAAS;IAC7B,aAAa,EAAE,MAAM,CAAS;IACrC,OAAO,CAAC,uBAAuB,CAAe;;IAM9C,QAAQ,IAAI,IAAI;IAIhB,eAAe,IAAI,IAAI;IAMvB,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAMzC;;OAEG;IACH,OAAO,CAAC,eAAe;IASvB;;;OAGG;IACI,QAAQ,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAgBjC;;OAEG;IACI,eAAe,IAAI,IAAI;IAS9B;;;OAGG;IACI,OAAO,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;yCA/F/B,uBAAuB;2CAAvB,uBAAuB;CAyGnC"}
|