@memberjunction/ng-skip-chat 2.32.2 → 2.34.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/README.md +296 -0
- package/dist/lib/dynamic-report/base-report.d.ts +7 -1
- package/dist/lib/dynamic-report/base-report.d.ts.map +1 -1
- package/dist/lib/dynamic-report/base-report.js +12 -2
- package/dist/lib/dynamic-report/base-report.js.map +1 -1
- package/dist/lib/dynamic-report/dynamic-html-report.d.ts +7 -5
- package/dist/lib/dynamic-report/dynamic-html-report.d.ts.map +1 -1
- package/dist/lib/dynamic-report/dynamic-html-report.js +98 -28
- package/dist/lib/dynamic-report/dynamic-html-report.js.map +1 -1
- package/dist/lib/dynamic-report/linear-report.js +10 -9
- package/dist/lib/dynamic-report/linear-report.js.map +1 -1
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.d.ts +7 -1
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.d.ts.map +1 -1
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.js +13 -3
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.js.map +1 -1
- package/dist/lib/module.d.ts +1 -1
- package/dist/lib/module.d.ts.map +1 -1
- package/dist/lib/module.js +3 -1
- package/dist/lib/module.js.map +1 -1
- package/dist/lib/skip-chat/skip-chat.component.d.ts +6 -1
- package/dist/lib/skip-chat/skip-chat.component.d.ts.map +1 -1
- package/dist/lib/skip-chat/skip-chat.component.js +17 -5
- package/dist/lib/skip-chat/skip-chat.component.js.map +1 -1
- package/dist/lib/skip-single-message/skip-single-message.component.d.ts +6 -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 +11 -2
- package/dist/lib/skip-single-message/skip-single-message.component.js.map +1 -1
- package/package.json +14 -14
package/README.md
ADDED
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
# Skip Chat Component
|
|
2
|
+
|
|
3
|
+
An Angular component package for integrating the Skip AI assistant into MemberJunction applications. This package provides a complete chat interface and dynamic report rendering system for AI-driven conversations and data visualization.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Conversational AI Interface**: Full chat interface for Skip AI assistant
|
|
8
|
+
- **Dynamic Report Rendering**: Displays AI-generated reports, charts, and data visualizations
|
|
9
|
+
- **Conversation Management**: Create, save, rename, and delete conversations
|
|
10
|
+
- **Message Controls**: Edit, delete, and rate messages
|
|
11
|
+
- **Welcome Experience**: Configurable welcome screen with suggested prompts
|
|
12
|
+
- **Sharing Capabilities**: Share conversations with other users or roles
|
|
13
|
+
- **Data Context Integration**: Link conversations with data contexts for contextual understanding
|
|
14
|
+
- **Entity Linking**: Associate conversations with specific entity records
|
|
15
|
+
- **Responsive Design**: Adapts to different screen sizes and layouts
|
|
16
|
+
- **Markdown Support**: Rich text formatting in messages
|
|
17
|
+
- **Suggested Questions/Answers**: AI-suggested follow-up questions and responses
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @memberjunction/ng-skip-chat
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
### Import the Module
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { SkipChatModule } from '@memberjunction/ng-skip-chat';
|
|
31
|
+
|
|
32
|
+
@NgModule({
|
|
33
|
+
imports: [
|
|
34
|
+
SkipChatModule,
|
|
35
|
+
// other imports
|
|
36
|
+
],
|
|
37
|
+
// ...
|
|
38
|
+
})
|
|
39
|
+
export class YourModule { }
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Basic Component Usage
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<!-- Basic Skip Chat integration -->
|
|
46
|
+
<skip-chat
|
|
47
|
+
[Title]="'Ask Skip'"
|
|
48
|
+
[ShowConversationList]="true"
|
|
49
|
+
[SkipLogoURL]="'assets/Skip-Logo.png'"
|
|
50
|
+
[SkipMarkOnlyLogoURL]="'assets/Skip-Icon.png'"
|
|
51
|
+
(NavigateToMatchingReport)="handleReportNavigation($event)"
|
|
52
|
+
(NewReportCreated)="handleNewReport($event)">
|
|
53
|
+
</skip-chat>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Embedded in Entity Record
|
|
57
|
+
|
|
58
|
+
```html
|
|
59
|
+
<!-- Skip Chat embedded in an entity record view -->
|
|
60
|
+
<skip-chat
|
|
61
|
+
[Title]="'Product Assistant'"
|
|
62
|
+
[LinkedEntity]="'Products'"
|
|
63
|
+
[LinkedEntityCompositeKey]="productKey"
|
|
64
|
+
[ShowConversationList]="false"
|
|
65
|
+
[IncludeLinkedConversationsInList]="true"
|
|
66
|
+
[UpdateAppRoute]="false">
|
|
67
|
+
</skip-chat>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### TypeScript Component Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import { Component, OnInit } from '@angular/core';
|
|
74
|
+
import { Router } from '@angular/router';
|
|
75
|
+
import { CompositeKey } from '@memberjunction/core';
|
|
76
|
+
import { ChatWelcomeQuestion } from '@memberjunction/ng-skip-chat';
|
|
77
|
+
import { MJNotificationService } from '@memberjunction/ng-notifications';
|
|
78
|
+
|
|
79
|
+
@Component({
|
|
80
|
+
selector: 'app-analytics-dashboard',
|
|
81
|
+
template: `
|
|
82
|
+
<div class="dashboard-container">
|
|
83
|
+
<div class="sidebar">
|
|
84
|
+
<h3>Analytics Tools</h3>
|
|
85
|
+
<ul class="nav-menu">
|
|
86
|
+
<li><a (click)="showReports()">Reports</a></li>
|
|
87
|
+
<li><a (click)="showDashboards()">Dashboards</a></li>
|
|
88
|
+
<li><a (click)="showSettings()">Settings</a></li>
|
|
89
|
+
</ul>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
<div class="main-content">
|
|
93
|
+
<skip-chat
|
|
94
|
+
[Title]="'Analytics Assistant'"
|
|
95
|
+
[SkipLogoURL]="'assets/analytics-logo.png'"
|
|
96
|
+
[WelcomeQuestions]="customWelcomeQuestions"
|
|
97
|
+
[ShowDataContextButton]="true"
|
|
98
|
+
[ShowSharingButton]="true"
|
|
99
|
+
(NavigateToMatchingReport)="navigateToReport($event)"
|
|
100
|
+
(NewReportCreated)="handleNewReport($event)"
|
|
101
|
+
(ConversationSelected)="onConversationSelected($event)">
|
|
102
|
+
</skip-chat>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
`,
|
|
106
|
+
styles: [`
|
|
107
|
+
.dashboard-container {
|
|
108
|
+
display: flex;
|
|
109
|
+
height: 100%;
|
|
110
|
+
}
|
|
111
|
+
.sidebar {
|
|
112
|
+
width: 250px;
|
|
113
|
+
background: #f5f5f5;
|
|
114
|
+
padding: 20px;
|
|
115
|
+
}
|
|
116
|
+
.main-content {
|
|
117
|
+
flex: 1;
|
|
118
|
+
padding: 20px;
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
}
|
|
121
|
+
`]
|
|
122
|
+
})
|
|
123
|
+
export class AnalyticsDashboardComponent implements OnInit {
|
|
124
|
+
customWelcomeQuestions: ChatWelcomeQuestion[] = [
|
|
125
|
+
{
|
|
126
|
+
topLine: 'Sales Analysis',
|
|
127
|
+
bottomLine: 'Analyze sales trends by region',
|
|
128
|
+
prompt: 'Can you analyze our sales data by region and show me the trends over the last year?'
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
topLine: 'Customer Insights',
|
|
132
|
+
bottomLine: 'Identify top customer segments',
|
|
133
|
+
prompt: 'What are our most valuable customer segments and how are they performing?'
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
topLine: 'Inventory Report',
|
|
137
|
+
bottomLine: 'Check stock levels and reorder needs',
|
|
138
|
+
prompt: 'Create a report showing inventory levels across warehouses and identify items that need to be reordered'
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
topLine: 'Marketing ROI',
|
|
142
|
+
bottomLine: 'Measure campaign effectiveness',
|
|
143
|
+
prompt: 'Calculate the ROI for our recent marketing campaigns and recommend areas for improvement'
|
|
144
|
+
}
|
|
145
|
+
];
|
|
146
|
+
|
|
147
|
+
constructor(
|
|
148
|
+
private router: Router,
|
|
149
|
+
private notificationService: MJNotificationService
|
|
150
|
+
) {}
|
|
151
|
+
|
|
152
|
+
ngOnInit() {
|
|
153
|
+
// Any initialization code
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
navigateToReport(reportId: string) {
|
|
157
|
+
this.router.navigate(['/reports', reportId]);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
handleNewReport(reportId: string) {
|
|
161
|
+
this.notificationService.CreateSimpleNotification(
|
|
162
|
+
`New report created (ID: ${reportId})`,
|
|
163
|
+
'success',
|
|
164
|
+
3000
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
onConversationSelected(conversationId: string) {
|
|
169
|
+
console.log(`Conversation selected: ${conversationId}`);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
showReports() {
|
|
173
|
+
this.router.navigate(['/reports']);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
showDashboards() {
|
|
177
|
+
this.router.navigate(['/dashboards']);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
showSettings() {
|
|
181
|
+
this.router.navigate(['/settings']);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
## API Reference
|
|
187
|
+
|
|
188
|
+
### SkipChatComponent
|
|
189
|
+
|
|
190
|
+
The main component for the Skip chat interface.
|
|
191
|
+
|
|
192
|
+
#### Inputs
|
|
193
|
+
|
|
194
|
+
- `Title`: string - Title for the chat interface (default: 'Ask Skip')
|
|
195
|
+
- `ShowConversationList`: boolean - Whether to show the conversation list (default: true)
|
|
196
|
+
- `AllowNewConversations`: boolean - Whether to allow creating new conversations (default: true)
|
|
197
|
+
- `SkipLogoURL`: string - URL for the Skip logo
|
|
198
|
+
- `SkipMarkOnlyLogoURL`: string - URL for the Skip icon logo
|
|
199
|
+
- `UserImage`: string | Blob - Image for the user avatar
|
|
200
|
+
- `DefaultTextboxPlaceholder`: string - Placeholder text for the input field
|
|
201
|
+
- `ProcessingTextBoxPlaceholder`: string - Placeholder text during processing
|
|
202
|
+
- `Messages`: ConversationDetailEntity[] - Array of conversation messages
|
|
203
|
+
- `Conversations`: ConversationEntity[] - Array of available conversations
|
|
204
|
+
- `SelectedConversation`: ConversationEntity - Currently selected conversation
|
|
205
|
+
- `DataContextID`: string - ID of the data context
|
|
206
|
+
- `LinkedEntity`: string - Name of the linked entity
|
|
207
|
+
- `LinkedEntityCompositeKey`: CompositeKey - Key for the linked entity record
|
|
208
|
+
- `ShowDataContextButton`: boolean - Whether to show the data context button (default: true)
|
|
209
|
+
- `IncludeLinkedConversationsInList`: boolean - Whether to include linked conversations (default: false)
|
|
210
|
+
- `UpdateAppRoute`: boolean - Whether to update the browser URL (default: true)
|
|
211
|
+
- `ShowSkipLogoInConversationList`: boolean - Whether to show the Skip logo in the conversation list (default: false)
|
|
212
|
+
- `ShowSharingButton`: boolean - Whether to show the sharing button (default: true)
|
|
213
|
+
- `SharingExcludeRoleNames`: string[] - Role names to exclude from sharing
|
|
214
|
+
- `SharingExcludeEmails`: string[] - User emails to exclude from sharing
|
|
215
|
+
- `WelcomeQuestions`: ChatWelcomeQuestion[] - Array of welcome questions/prompts
|
|
216
|
+
- `AutoLoad`: boolean - Whether to automatically load data (default: true)
|
|
217
|
+
- `VerboseLogging`: boolean - Whether to enable verbose logging (default: false)
|
|
218
|
+
|
|
219
|
+
#### Outputs
|
|
220
|
+
|
|
221
|
+
- `NavigateToMatchingReport`: EventEmitter<string> - Emitted when a matching report is clicked
|
|
222
|
+
- `ConversationSelected`: EventEmitter<string> - Emitted when a conversation is selected
|
|
223
|
+
- `NewReportCreated`: EventEmitter<string> - Emitted when a new report is created
|
|
224
|
+
|
|
225
|
+
#### Methods
|
|
226
|
+
|
|
227
|
+
- `Load(forceRefresh: boolean)`: Loads conversations and messages
|
|
228
|
+
- `Refresh()`: Refreshes data from the server
|
|
229
|
+
- `CreateNewConversation()`: Creates a new conversation
|
|
230
|
+
- `SelectConversation(conversation: ConversationEntity)`: Selects a conversation
|
|
231
|
+
- `sendPrompt(val: string)`: Sends a prompt to Skip AI
|
|
232
|
+
- `sendSkipMessage()`: Sends the current message in the input box
|
|
233
|
+
- `FlipEmbeddedConversationState()`: Toggles the inclusion of linked conversations
|
|
234
|
+
|
|
235
|
+
### SkipSingleMessageComponent
|
|
236
|
+
|
|
237
|
+
Component for rendering a single message in the conversation.
|
|
238
|
+
|
|
239
|
+
#### Inputs
|
|
240
|
+
|
|
241
|
+
- `ConversationRecord`: ConversationEntity - The conversation this message belongs to
|
|
242
|
+
- `ConversationDetailRecord`: ConversationDetailEntity - The message details
|
|
243
|
+
- `ConversationUser`: UserInfo - User who owns the conversation
|
|
244
|
+
- `DataContext`: DataContext - Data context for the conversation
|
|
245
|
+
- `ConversationMessages`: ConversationDetailEntity[] - All messages in the conversation
|
|
246
|
+
- `ConversationProcessing`: boolean - Whether the conversation is processing
|
|
247
|
+
- `SkipMarkOnlyLogoURL`: string - URL for the Skip icon logo
|
|
248
|
+
- `UserImage`: string | Blob - Image for the user avatar
|
|
249
|
+
- `ShowMessageEditPanel`: boolean - Whether to show edit controls (default: true)
|
|
250
|
+
- `ShowMessageRating`: boolean - Whether to show message rating controls (default: true)
|
|
251
|
+
|
|
252
|
+
#### Outputs
|
|
253
|
+
|
|
254
|
+
- `SuggestedQuestionSelected`: EventEmitter<string> - Emitted when a suggested question is selected
|
|
255
|
+
- `SuggestedAnswerSelected`: EventEmitter<string> - Emitted when a suggested answer is selected
|
|
256
|
+
- `NavigateToMatchingReport`: EventEmitter<string> - Emitted when a matching report is clicked
|
|
257
|
+
- `NewReportCreated`: EventEmitter<string> - Emitted when a new report is created
|
|
258
|
+
- `EditMessageRequested`: EventEmitter<ConversationDetailEntity> - Emitted when message edit is requested
|
|
259
|
+
- `DeleteMessageRequested`: EventEmitter<ConversationDetailEntity> - Emitted when message delete is requested
|
|
260
|
+
|
|
261
|
+
### Dynamic Report Components
|
|
262
|
+
|
|
263
|
+
The package includes several components for rendering dynamic reports:
|
|
264
|
+
|
|
265
|
+
- `SkipDynamicReportWrapperComponent`: Main wrapper for reports
|
|
266
|
+
- `LinearReportComponent`: For linear report layouts
|
|
267
|
+
- `DynamicChartComponent`: For chart visualizations
|
|
268
|
+
- `DynamicGridComponent`: For data grid displays
|
|
269
|
+
- `DynamicHtmlReportComponent`: For HTML formatted reports
|
|
270
|
+
|
|
271
|
+
## Conversation Flow
|
|
272
|
+
|
|
273
|
+
1. **Initialization**: Load existing conversations or create a new one
|
|
274
|
+
2. **User Input**: User enters a message or selects a suggested prompt
|
|
275
|
+
3. **AI Processing**: Skip processes the request and generates a response
|
|
276
|
+
4. **Report Generation**: For data analysis requests, Skip generates dynamic reports
|
|
277
|
+
5. **Follow-up**: Skip suggests follow-up questions and provides interaction with the data
|
|
278
|
+
|
|
279
|
+
## Styling
|
|
280
|
+
|
|
281
|
+
The component includes extensive CSS styling that can be customized to match your application's design.
|
|
282
|
+
|
|
283
|
+
## Dependencies
|
|
284
|
+
|
|
285
|
+
- `@memberjunction/core`: For metadata and entity access
|
|
286
|
+
- `@memberjunction/core-entities`: For conversation and data context entities
|
|
287
|
+
- `@memberjunction/global`: For global utilities
|
|
288
|
+
- `@memberjunction/skip-types`: For Skip API response types
|
|
289
|
+
- `@memberjunction/data-context`: For data context management
|
|
290
|
+
- `@memberjunction/ng-notifications`: For notification services
|
|
291
|
+
- `@memberjunction/ng-resource-permissions`: For conversation sharing
|
|
292
|
+
- `@progress/kendo-angular-grid`: For grid components
|
|
293
|
+
- `@progress/kendo-angular-listview`: For conversation list
|
|
294
|
+
- `@progress/kendo-angular-dialog`: For dialog components
|
|
295
|
+
- `ngx-markdown`: For markdown rendering
|
|
296
|
+
- `plotly.js-dist-min`: For chart rendering
|
|
@@ -3,6 +3,7 @@ import { ReportEntity } from "@memberjunction/core-entities";
|
|
|
3
3
|
import { DataContext } from "@memberjunction/data-context";
|
|
4
4
|
import { BaseAngularComponent } from "@memberjunction/ng-base-types";
|
|
5
5
|
import { SkipAPIAnalysisCompleteResponse, SkipColumnInfo } from "@memberjunction/skip-types";
|
|
6
|
+
import { DrillDownInfo } from "../drill-down-info";
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare abstract class SkipDynamicReportBase extends BaseAngularComponent implements AfterViewInit {
|
|
8
9
|
protected cdRef: ChangeDetectorRef;
|
|
@@ -27,6 +28,10 @@ export declare abstract class SkipDynamicReportBase extends BaseAngularComponent
|
|
|
27
28
|
* This event fires whenever a new report is created.
|
|
28
29
|
*/
|
|
29
30
|
NewReportCreated: EventEmitter<string>;
|
|
31
|
+
/**
|
|
32
|
+
* This event fires whenever a drill down is requested within a given report.
|
|
33
|
+
*/
|
|
34
|
+
DrillDownEvent: EventEmitter<DrillDownInfo>;
|
|
30
35
|
constructor(cdRef: ChangeDetectorRef);
|
|
31
36
|
ngAfterViewInit(): void;
|
|
32
37
|
matchingReportID: string | null;
|
|
@@ -34,6 +39,7 @@ export declare abstract class SkipDynamicReportBase extends BaseAngularComponent
|
|
|
34
39
|
private static _reportCache;
|
|
35
40
|
private _loaded;
|
|
36
41
|
RefreshMatchingReport(): Promise<void>;
|
|
42
|
+
HandleDrillDownEvent(drillDownInfo: DrillDownInfo): void;
|
|
37
43
|
get Columns(): SkipColumnInfo[];
|
|
38
44
|
protected get ResultType(): string;
|
|
39
45
|
get IsChart(): boolean;
|
|
@@ -69,6 +75,6 @@ export declare abstract class SkipDynamicReportBase extends BaseAngularComponent
|
|
|
69
75
|
*/
|
|
70
76
|
DoRefreshReport(): Promise<void>;
|
|
71
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkipDynamicReportBase, never>;
|
|
72
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkipDynamicReportBase, never, never, { "SkipData": { "alias": "SkipData"; "required": false; }; "ShowCreateReportButton": { "alias": "ShowCreateReportButton"; "required": false; }; "ConversationID": { "alias": "ConversationID"; "required": false; }; "ConversationName": { "alias": "ConversationName"; "required": false; }; "ConversationDetailID": { "alias": "ConversationDetailID"; "required": false; }; "DataContext": { "alias": "DataContext"; "required": false; }; "ReportEntity": { "alias": "ReportEntity"; "required": false; }; }, { "UserNotification": "UserNotification"; "NavigateToMatchingReport": "NavigateToMatchingReport"; "NewReportCreated": "NewReportCreated"; }, never, never, false, never>;
|
|
78
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SkipDynamicReportBase, never, never, { "SkipData": { "alias": "SkipData"; "required": false; }; "ShowCreateReportButton": { "alias": "ShowCreateReportButton"; "required": false; }; "ConversationID": { "alias": "ConversationID"; "required": false; }; "ConversationName": { "alias": "ConversationName"; "required": false; }; "ConversationDetailID": { "alias": "ConversationDetailID"; "required": false; }; "DataContext": { "alias": "DataContext"; "required": false; }; "ReportEntity": { "alias": "ReportEntity"; "required": false; }; }, { "UserNotification": "UserNotification"; "NavigateToMatchingReport": "NavigateToMatchingReport"; "NewReportCreated": "NewReportCreated"; "DrillDownEvent": "DrillDownEvent"; }, never, never, false, never>;
|
|
73
79
|
}
|
|
74
80
|
//# sourceMappingURL=base-report.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-report.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-report/base-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAwB,YAAY,EAAyB,MAAM,eAAe,CAAC;AAE5H,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAmB,+BAA+B,EAAE,cAAc,EAAE,MAA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O,CAAC,OAAO,CAAkB;IACpB,qBAAqB;IAmC3B,oBAAoB,CAAC,aAAa,EAAE,aAAa;IAKxD,IAAW,OAAO,IAAI,cAAc,EAAE,CAErC;IAED,SAAS,KAAK,UAAU,IAAI,MAAM,CAWjC;IACD,IAAW,OAAO,IAAI,OAAO,CAE5B;IACD,IAAW,OAAO,IAAI,OAAO,CAE5B;IACD,IAAW,MAAM,IAAI,OAAO,CAE3B;IAED;;;OAGG;IACI,kBAAkB,IAAI,MAAM;IASnC;;OAEG;IACH,IAAW,gBAAgB,IAAI,OAAO,CAErC;IACD,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAAS;IAE7C;;OAEG;IACU,cAAc;IA2B3B,SAAS,CAAC,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM;IAI7H;;OAEG;cACa,uBAAuB,IAAI,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;IAyBpI;;;OAGG;IACU,eAAe;yCAlMR,qBAAqB;2CAArB,qBAAqB;CAwQ1C"}
|
|
@@ -31,6 +31,10 @@ export class SkipDynamicReportBase extends BaseAngularComponent {
|
|
|
31
31
|
* This event fires whenever a new report is created.
|
|
32
32
|
*/
|
|
33
33
|
this.NewReportCreated = new EventEmitter();
|
|
34
|
+
/**
|
|
35
|
+
* This event fires whenever a drill down is requested within a given report.
|
|
36
|
+
*/
|
|
37
|
+
this.DrillDownEvent = new EventEmitter();
|
|
34
38
|
this.matchingReportID = null;
|
|
35
39
|
this.matchingReportName = null;
|
|
36
40
|
this._loaded = false;
|
|
@@ -73,6 +77,10 @@ export class SkipDynamicReportBase extends BaseAngularComponent {
|
|
|
73
77
|
}
|
|
74
78
|
});
|
|
75
79
|
}
|
|
80
|
+
HandleDrillDownEvent(drillDownInfo) {
|
|
81
|
+
// bubble the event up to the parent component
|
|
82
|
+
this.DrillDownEvent.emit(drillDownInfo);
|
|
83
|
+
}
|
|
76
84
|
get Columns() {
|
|
77
85
|
var _a;
|
|
78
86
|
return ((_a = this.SkipData) === null || _a === void 0 ? void 0 : _a.tableDataColumns) || [];
|
|
@@ -94,7 +102,7 @@ export class SkipDynamicReportBase extends BaseAngularComponent {
|
|
|
94
102
|
return this.ResultType === 'plot';
|
|
95
103
|
}
|
|
96
104
|
get IsTable() {
|
|
97
|
-
return this.ResultType === 'table';
|
|
105
|
+
return this.ResultType === 'data' || this.ResultType === 'table';
|
|
98
106
|
}
|
|
99
107
|
get IsHTML() {
|
|
100
108
|
return this.ResultType === 'html';
|
|
@@ -251,7 +259,7 @@ export class SkipDynamicReportBase extends BaseAngularComponent {
|
|
|
251
259
|
}
|
|
252
260
|
SkipDynamicReportBase._reportCache = [];
|
|
253
261
|
SkipDynamicReportBase.ɵfac = function SkipDynamicReportBase_Factory(t) { return new (t || SkipDynamicReportBase)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
254
|
-
SkipDynamicReportBase.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SkipDynamicReportBase, inputs: { SkipData: "SkipData", ShowCreateReportButton: "ShowCreateReportButton", ConversationID: "ConversationID", ConversationName: "ConversationName", ConversationDetailID: "ConversationDetailID", DataContext: "DataContext", ReportEntity: "ReportEntity" }, outputs: { UserNotification: "UserNotification", NavigateToMatchingReport: "NavigateToMatchingReport", NewReportCreated: "NewReportCreated" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
|
262
|
+
SkipDynamicReportBase.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SkipDynamicReportBase, inputs: { SkipData: "SkipData", ShowCreateReportButton: "ShowCreateReportButton", ConversationID: "ConversationID", ConversationName: "ConversationName", ConversationDetailID: "ConversationDetailID", DataContext: "DataContext", ReportEntity: "ReportEntity" }, outputs: { UserNotification: "UserNotification", NavigateToMatchingReport: "NavigateToMatchingReport", NewReportCreated: "NewReportCreated", DrillDownEvent: "DrillDownEvent" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
|
255
263
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SkipDynamicReportBase, [{
|
|
256
264
|
type: Directive
|
|
257
265
|
}], () => [{ type: i0.ChangeDetectorRef }], { SkipData: [{
|
|
@@ -274,5 +282,7 @@ SkipDynamicReportBase.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SkipD
|
|
|
274
282
|
type: Output
|
|
275
283
|
}], NewReportCreated: [{
|
|
276
284
|
type: Output
|
|
285
|
+
}], DrillDownEvent: [{
|
|
286
|
+
type: Output
|
|
277
287
|
}] }); })();
|
|
278
288
|
//# sourceMappingURL=base-report.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-report.js","sourceRoot":"","sources":["../../../src/lib/dynamic-report/base-report.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAA+C,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5H,OAAO,EAAuC,QAAQ,EAAqB,MAAM,sBAAsB,CAAC;AAGxG,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AAEzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;;
|
|
1
|
+
{"version":3,"file":"base-report.js","sourceRoot":"","sources":["../../../src/lib/dynamic-report/base-report.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAA+C,SAAS,EAAE,YAAY,EAAE,KAAK,EAAU,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5H,OAAO,EAAuC,QAAQ,EAAqB,MAAM,sBAAsB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G,gBAAgB;kBAAzB,MAAM;YAKG,cAAc;kBAAvB,MAAM"}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { SkipAPIAnalysisCompleteResponse } from '@memberjunction/skip-types';
|
|
3
3
|
import { DrillDownInfo } from '../drill-down-info';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SkipDynamicHTMLReportComponent implements AfterViewInit {
|
|
6
|
-
private
|
|
6
|
+
private cdr;
|
|
7
7
|
HTMLReport: string | null;
|
|
8
|
-
|
|
8
|
+
HTMLReportObjectName: string | null;
|
|
9
9
|
ShowPrintReport: boolean;
|
|
10
10
|
DrillDownEvent: EventEmitter<DrillDownInfo>;
|
|
11
|
-
|
|
11
|
+
htmlContainer: ElementRef;
|
|
12
|
+
constructor(cdr: ChangeDetectorRef);
|
|
12
13
|
PrintReport(): Promise<void>;
|
|
13
14
|
ngAfterViewInit(): void;
|
|
14
15
|
private _skipData;
|
|
15
16
|
get SkipData(): SkipAPIAnalysisCompleteResponse | undefined;
|
|
16
17
|
set SkipData(d: SkipAPIAnalysisCompleteResponse | undefined);
|
|
17
18
|
private invokeHTMLInitFunction;
|
|
19
|
+
protected finishHTMLInitialization(): void;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkipDynamicHTMLReportComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkipDynamicHTMLReportComponent, "skip-dynamic-html-report", never, { "HTMLReport": { "alias": "HTMLReport"; "required": false; }; "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkipDynamicHTMLReportComponent, "skip-dynamic-html-report", never, { "HTMLReport": { "alias": "HTMLReport"; "required": false; }; "HTMLReportObjectName": { "alias": "HTMLReportObjectName"; "required": false; }; "ShowPrintReport": { "alias": "ShowPrintReport"; "required": false; }; "SkipData": { "alias": "SkipData"; "required": false; }; }, { "DrillDownEvent": "DrillDownEvent"; }, never, never, false, never>;
|
|
20
22
|
}
|
|
21
23
|
//# sourceMappingURL=dynamic-html-report.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-html-report.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-report/dynamic-html-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,UAAU,EAAE,YAAY,EAA+C,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"dynamic-html-report.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-report/dynamic-html-report.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAa,UAAU,EAAE,YAAY,EAA+C,MAAM,eAAe,CAAC;AAEnJ,OAAO,EAAE,+BAA+B,EAAoD,MAAM,4BAA4B,CAAC;AAC/H,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;;AAKnD,qBAaa,8BAA+B,YAAW,aAAa;IAQpD,OAAO,CAAC,GAAG;IAPd,UAAU,EAAE,MAAM,GAAG,IAAI,CAAQ;IACjC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC3C,eAAe,EAAE,OAAO,CAAQ;IAC/B,cAAc,8BAAqC;IAEd,aAAa,EAAG,UAAU,CAAC;gBAEtD,GAAG,EAAE,iBAAiB;IAE7B,WAAW;IAIxB,eAAe;IAWf,OAAO,CAAC,SAAS,CAA8C;IAC/D,IAAa,QAAQ,IAAI,+BAA+B,GAAG,SAAS,CAEnE;IACD,IAAI,QAAQ,CAAC,CAAC,EAAE,+BAA+B,GAAG,SAAS,EAW1D;IAED,OAAO,CAAC,sBAAsB;IA0C9B,SAAS,CAAC,wBAAwB;yCApFzB,8BAA8B;2CAA9B,8BAA8B;CAsJ1C"}
|