@memberjunction/ng-skip-chat 2.43.0 → 2.45.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 +99 -7
- package/dist/lib/artifacts/skip-artifact-viewer.component.d.ts +33 -1
- package/dist/lib/artifacts/skip-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/artifacts/skip-artifact-viewer.component.js +82 -86
- package/dist/lib/artifacts/skip-artifact-viewer.component.js.map +1 -1
- package/dist/lib/dynamic-report/base-report.d.ts.map +1 -1
- package/dist/lib/dynamic-report/base-report.js +2 -1
- package/dist/lib/dynamic-report/base-report.js.map +1 -1
- package/dist/lib/dynamic-report/dynamic-chart.d.ts.map +1 -1
- package/dist/lib/dynamic-report/dynamic-chart.js +5 -2
- package/dist/lib/dynamic-report/dynamic-chart.js.map +1 -1
- package/dist/lib/dynamic-report/dynamic-grid.d.ts.map +1 -1
- package/dist/lib/dynamic-report/dynamic-grid.js +6 -3
- package/dist/lib/dynamic-report/dynamic-grid.js.map +1 -1
- package/dist/lib/dynamic-report/dynamic-html-report.d.ts +90 -11
- package/dist/lib/dynamic-report/dynamic-html-report.d.ts.map +1 -1
- package/dist/lib/dynamic-report/dynamic-html-report.js +1001 -163
- package/dist/lib/dynamic-report/dynamic-html-report.js.map +1 -1
- package/dist/lib/dynamic-report/linear-report.d.ts +4 -0
- package/dist/lib/dynamic-report/linear-report.d.ts.map +1 -1
- package/dist/lib/dynamic-report/linear-report.js +78 -76
- package/dist/lib/dynamic-report/linear-report.js.map +1 -1
- package/dist/lib/dynamic-report/skip-react-component-host.d.ts +106 -0
- package/dist/lib/dynamic-report/skip-react-component-host.d.ts.map +1 -0
- package/dist/lib/dynamic-report/skip-react-component-host.js +450 -0
- package/dist/lib/dynamic-report/skip-react-component-host.js.map +1 -0
- package/dist/lib/skip-chat/skip-chat.component.d.ts +54 -0
- package/dist/lib/skip-chat/skip-chat.component.d.ts.map +1 -1
- package/dist/lib/skip-chat/skip-chat.component.js +107 -6
- package/dist/lib/skip-chat/skip-chat.component.js.map +1 -1
- package/dist/lib/split-panel/skip-split-panel.component.d.ts +18 -1
- package/dist/lib/split-panel/skip-split-panel.component.d.ts.map +1 -1
- package/dist/lib/split-panel/skip-split-panel.component.js +135 -8
- package/dist/lib/split-panel/skip-split-panel.component.js.map +1 -1
- package/package.json +17 -13
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { LogError } from '@memberjunction/core';
|
|
11
|
+
/**
|
|
12
|
+
* CDN URLs for external dependencies
|
|
13
|
+
* These can be configured via environment variables in the future
|
|
14
|
+
*/
|
|
15
|
+
const BABEL_STANDALONE_CDN_URL = 'https://unpkg.com/@babel/standalone@7/babel.min.js';
|
|
16
|
+
const REACT_CDN_URL = 'https://unpkg.com/react@18/umd/react.production.min.js';
|
|
17
|
+
const REACT_DOM_CDN_URL = 'https://unpkg.com/react-dom@18/umd/react-dom.production.min.js';
|
|
18
|
+
/**
|
|
19
|
+
* Default styles that match the Skip design system
|
|
20
|
+
*/
|
|
21
|
+
const DEFAULT_STYLES = {
|
|
22
|
+
colors: {
|
|
23
|
+
// Primary colors - modern purple/blue gradient feel
|
|
24
|
+
primary: '#5B4FE9',
|
|
25
|
+
primaryHover: '#4940D4',
|
|
26
|
+
primaryLight: '#E8E6FF',
|
|
27
|
+
// Secondary colors - sophisticated gray
|
|
28
|
+
secondary: '#64748B',
|
|
29
|
+
secondaryHover: '#475569',
|
|
30
|
+
// Status colors
|
|
31
|
+
success: '#10B981',
|
|
32
|
+
successLight: '#D1FAE5',
|
|
33
|
+
warning: '#F59E0B',
|
|
34
|
+
warningLight: '#FEF3C7',
|
|
35
|
+
error: '#EF4444',
|
|
36
|
+
errorLight: '#FEE2E2',
|
|
37
|
+
info: '#3B82F6',
|
|
38
|
+
infoLight: '#DBEAFE',
|
|
39
|
+
// Base colors
|
|
40
|
+
background: '#FFFFFF',
|
|
41
|
+
surface: '#F8FAFC',
|
|
42
|
+
surfaceHover: '#F1F5F9',
|
|
43
|
+
// Text colors with better contrast
|
|
44
|
+
text: '#1E293B',
|
|
45
|
+
textSecondary: '#64748B',
|
|
46
|
+
textTertiary: '#94A3B8',
|
|
47
|
+
textInverse: '#FFFFFF',
|
|
48
|
+
// Border colors
|
|
49
|
+
border: '#E2E8F0',
|
|
50
|
+
borderLight: '#F1F5F9',
|
|
51
|
+
borderFocus: '#5B4FE9',
|
|
52
|
+
// Shadows (as color strings for easy use)
|
|
53
|
+
shadow: 'rgba(0, 0, 0, 0.05)',
|
|
54
|
+
shadowMedium: 'rgba(0, 0, 0, 0.1)',
|
|
55
|
+
shadowLarge: 'rgba(0, 0, 0, 0.15)',
|
|
56
|
+
},
|
|
57
|
+
spacing: {
|
|
58
|
+
xs: '4px',
|
|
59
|
+
sm: '8px',
|
|
60
|
+
md: '16px',
|
|
61
|
+
lg: '24px',
|
|
62
|
+
xl: '32px',
|
|
63
|
+
xxl: '48px',
|
|
64
|
+
xxxl: '64px',
|
|
65
|
+
},
|
|
66
|
+
typography: {
|
|
67
|
+
fontFamily: '-apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif',
|
|
68
|
+
fontSize: {
|
|
69
|
+
xs: '11px',
|
|
70
|
+
sm: '12px',
|
|
71
|
+
md: '14px',
|
|
72
|
+
lg: '16px',
|
|
73
|
+
xl: '20px',
|
|
74
|
+
xxl: '24px',
|
|
75
|
+
xxxl: '32px',
|
|
76
|
+
},
|
|
77
|
+
fontWeight: {
|
|
78
|
+
light: '300',
|
|
79
|
+
regular: '400',
|
|
80
|
+
medium: '500',
|
|
81
|
+
semibold: '600',
|
|
82
|
+
bold: '700',
|
|
83
|
+
},
|
|
84
|
+
lineHeight: {
|
|
85
|
+
tight: '1.25',
|
|
86
|
+
normal: '1.5',
|
|
87
|
+
relaxed: '1.75',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
borders: {
|
|
91
|
+
radius: {
|
|
92
|
+
sm: '6px',
|
|
93
|
+
md: '8px',
|
|
94
|
+
lg: '12px',
|
|
95
|
+
xl: '16px',
|
|
96
|
+
full: '9999px',
|
|
97
|
+
},
|
|
98
|
+
width: {
|
|
99
|
+
thin: '1px',
|
|
100
|
+
medium: '2px',
|
|
101
|
+
thick: '3px',
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
shadows: {
|
|
105
|
+
sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
|
|
106
|
+
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
|
|
107
|
+
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
|
|
108
|
+
xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
|
|
109
|
+
inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
|
|
110
|
+
},
|
|
111
|
+
transitions: {
|
|
112
|
+
fast: '150ms ease-in-out',
|
|
113
|
+
normal: '250ms ease-in-out',
|
|
114
|
+
slow: '350ms ease-in-out',
|
|
115
|
+
},
|
|
116
|
+
overflow: 'auto'
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Host class for integrating Skip-generated React components into Angular applications.
|
|
120
|
+
* This class handles the lifecycle management, state synchronization, and communication
|
|
121
|
+
* between React components and their Angular host containers.
|
|
122
|
+
*/
|
|
123
|
+
export class SkipReactComponentHost {
|
|
124
|
+
constructor(config) {
|
|
125
|
+
this.config = config;
|
|
126
|
+
this.componentResult = null;
|
|
127
|
+
this.reactRoot = null;
|
|
128
|
+
this.componentContainer = null;
|
|
129
|
+
this.destroyed = false;
|
|
130
|
+
this.currentState = {};
|
|
131
|
+
this.loadReactLibraries();
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Load React and ReactDOM dynamically
|
|
135
|
+
*/
|
|
136
|
+
loadReactLibraries() {
|
|
137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
+
// Check if React is already loaded globally
|
|
139
|
+
if (window.React && window.ReactDOM) {
|
|
140
|
+
this.React = window.React;
|
|
141
|
+
this.ReactDOM = window.ReactDOM;
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
// Otherwise, we need to load React dynamically
|
|
145
|
+
// This is a simplified approach - in production, you might want to use a proper module loader
|
|
146
|
+
try {
|
|
147
|
+
// Try to use ES modules if available
|
|
148
|
+
const [ReactModule, ReactDOMModule] = yield Promise.all([
|
|
149
|
+
import('react'),
|
|
150
|
+
import('react-dom/client')
|
|
151
|
+
]);
|
|
152
|
+
this.React = ReactModule;
|
|
153
|
+
this.ReactDOM = ReactDOMModule;
|
|
154
|
+
}
|
|
155
|
+
catch (error) {
|
|
156
|
+
// Fallback to assuming React is available globally
|
|
157
|
+
if (window.React && window.ReactDOM) {
|
|
158
|
+
this.React = window.React;
|
|
159
|
+
this.ReactDOM = window.ReactDOM;
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
throw new Error('React and ReactDOM must be available either as ES modules or global variables');
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Generic method to load a script from CDN
|
|
169
|
+
*/
|
|
170
|
+
loadScriptFromCDN(url, globalName) {
|
|
171
|
+
return new Promise((resolve, reject) => {
|
|
172
|
+
// Check if already loaded
|
|
173
|
+
if (window[globalName]) {
|
|
174
|
+
resolve(window[globalName]);
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
// Check if script is already in DOM
|
|
178
|
+
const existingScript = document.querySelector(`script[src="${url}"]`);
|
|
179
|
+
if (existingScript) {
|
|
180
|
+
// Wait for it to load
|
|
181
|
+
existingScript.addEventListener('load', () => {
|
|
182
|
+
if (window[globalName]) {
|
|
183
|
+
resolve(window[globalName]);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
reject(new Error(`${globalName} not found after script load`));
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
// Load new script
|
|
192
|
+
const script = document.createElement('script');
|
|
193
|
+
script.src = url;
|
|
194
|
+
script.onload = () => {
|
|
195
|
+
if (window[globalName]) {
|
|
196
|
+
resolve(window[globalName]);
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
reject(new Error(`${globalName} not found after script load`));
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
script.onerror = () => reject(new Error(`Failed to load script: ${url}`));
|
|
203
|
+
document.head.appendChild(script);
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Load Babel standalone for JSX transpilation
|
|
208
|
+
*/
|
|
209
|
+
loadBabel() {
|
|
210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
+
return this.loadScriptFromCDN(BABEL_STANDALONE_CDN_URL, 'Babel');
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Initialize the React component
|
|
216
|
+
*/
|
|
217
|
+
initialize() {
|
|
218
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
219
|
+
var _a;
|
|
220
|
+
try {
|
|
221
|
+
yield this.loadReactLibraries();
|
|
222
|
+
const Babel = yield this.loadBabel();
|
|
223
|
+
// Create utility functions
|
|
224
|
+
const createStateUpdater = this.createStateUpdaterFunction();
|
|
225
|
+
const createStandardEventHandler = this.createStandardEventHandlerFunction();
|
|
226
|
+
// Get or create the style system
|
|
227
|
+
const styles = this.getOrCreateStyleSystem();
|
|
228
|
+
// Transpile the JSX code to JavaScript
|
|
229
|
+
let transpiledCode;
|
|
230
|
+
try {
|
|
231
|
+
const result = Babel.transform(this.config.componentCode, {
|
|
232
|
+
presets: ['react'],
|
|
233
|
+
filename: 'component.jsx'
|
|
234
|
+
});
|
|
235
|
+
transpiledCode = result.code;
|
|
236
|
+
}
|
|
237
|
+
catch (transpileError) {
|
|
238
|
+
LogError(`Failed to transpile JSX: ${transpileError}`);
|
|
239
|
+
throw new Error(`JSX transpilation failed: ${transpileError}`);
|
|
240
|
+
}
|
|
241
|
+
// Create the component factory function from the transpiled code
|
|
242
|
+
// Evaluate the code with React and styles in scope to get the createComponent function
|
|
243
|
+
const createComponent = new Function('React', 'styles', 'console', `${transpiledCode}; return createComponent;`)(this.React, styles, console);
|
|
244
|
+
// Debug: Check if React hooks are available
|
|
245
|
+
if (!this.React.useState) {
|
|
246
|
+
console.error('React.useState is not available. React object:', this.React);
|
|
247
|
+
throw new Error('React hooks are not available. Make sure React is loaded correctly.');
|
|
248
|
+
}
|
|
249
|
+
// Then call createComponent with all the necessary dependencies
|
|
250
|
+
this.componentResult = createComponent(this.React, this.ReactDOM, this.React.useState, this.React.useEffect, this.React.useCallback, createStateUpdater, createStandardEventHandler);
|
|
251
|
+
// Create container if it doesn't exist
|
|
252
|
+
if (!this.componentContainer) {
|
|
253
|
+
this.componentContainer = document.createElement('div');
|
|
254
|
+
this.componentContainer.className = 'react-component-container';
|
|
255
|
+
this.componentContainer.style.width = '100%';
|
|
256
|
+
this.componentContainer.style.height = '100%';
|
|
257
|
+
this.config.container.appendChild(this.componentContainer);
|
|
258
|
+
}
|
|
259
|
+
// Store initial state
|
|
260
|
+
this.currentState = this.config.initialState || {};
|
|
261
|
+
// Render the component
|
|
262
|
+
this.render();
|
|
263
|
+
}
|
|
264
|
+
catch (error) {
|
|
265
|
+
LogError(error);
|
|
266
|
+
if ((_a = this.config.callbacks) === null || _a === void 0 ? void 0 : _a.NotifyEvent) {
|
|
267
|
+
this.config.callbacks.NotifyEvent('error', error);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Render or re-render the React component with new props
|
|
274
|
+
*/
|
|
275
|
+
render() {
|
|
276
|
+
var _a;
|
|
277
|
+
if (!this.componentResult || !this.componentResult.component || this.destroyed) {
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
const Component = this.componentResult.component;
|
|
281
|
+
// Ensure utilities and callbacks are available
|
|
282
|
+
const utilities = this.config.utilities || {};
|
|
283
|
+
const callbacks = this.createCallbacks();
|
|
284
|
+
const styles = this.getOrCreateStyleSystem();
|
|
285
|
+
const componentProps = {
|
|
286
|
+
data: this.config.data || {},
|
|
287
|
+
utilities: utilities,
|
|
288
|
+
userState: this.currentState,
|
|
289
|
+
callbacks: callbacks,
|
|
290
|
+
styles: styles
|
|
291
|
+
};
|
|
292
|
+
// Debug: Log the data being passed to the component
|
|
293
|
+
console.log('=== SkipReactComponentHost: Rendering component ===');
|
|
294
|
+
console.log('Data:', componentProps.data);
|
|
295
|
+
console.log('User state:', componentProps.userState);
|
|
296
|
+
if ((_a = componentProps.data) === null || _a === void 0 ? void 0 : _a.data_item_0) {
|
|
297
|
+
console.log('First entity:', componentProps.data.data_item_0[0]);
|
|
298
|
+
console.log('Entity count:', componentProps.data.data_item_0.length);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
console.log('WARNING: No data_item_0 found in data');
|
|
302
|
+
}
|
|
303
|
+
console.log('=== End component props debug ===');
|
|
304
|
+
if (!this.reactRoot && this.componentContainer) {
|
|
305
|
+
this.reactRoot = this.ReactDOM.createRoot(this.componentContainer);
|
|
306
|
+
}
|
|
307
|
+
if (this.reactRoot) {
|
|
308
|
+
this.reactRoot.render(this.React.createElement(Component, componentProps));
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Update the component state
|
|
313
|
+
*/
|
|
314
|
+
updateState(path, value) {
|
|
315
|
+
// Update the current state
|
|
316
|
+
this.currentState = Object.assign(Object.assign({}, this.currentState), { [path]: value });
|
|
317
|
+
// Re-render with new state
|
|
318
|
+
this.render();
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Update the component data
|
|
322
|
+
*/
|
|
323
|
+
updateData(newData) {
|
|
324
|
+
this.config.data = Object.assign(Object.assign({}, this.config.data), newData);
|
|
325
|
+
// Re-render with new data
|
|
326
|
+
this.render();
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Refresh the component with optional new data
|
|
330
|
+
*/
|
|
331
|
+
refresh(newData) {
|
|
332
|
+
if (newData) {
|
|
333
|
+
this.updateData(newData);
|
|
334
|
+
}
|
|
335
|
+
if (this.componentResult && this.componentResult.refresh) {
|
|
336
|
+
this.componentResult.refresh(this.config.data);
|
|
337
|
+
}
|
|
338
|
+
else {
|
|
339
|
+
// Re-render the component if no refresh method is available
|
|
340
|
+
this.render();
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Print the component
|
|
345
|
+
*/
|
|
346
|
+
print() {
|
|
347
|
+
if (this.componentResult && this.componentResult.print) {
|
|
348
|
+
this.componentResult.print();
|
|
349
|
+
}
|
|
350
|
+
else {
|
|
351
|
+
window.print();
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* Clean up resources
|
|
356
|
+
*/
|
|
357
|
+
destroy() {
|
|
358
|
+
this.destroyed = true;
|
|
359
|
+
if (this.reactRoot) {
|
|
360
|
+
this.reactRoot.unmount();
|
|
361
|
+
this.reactRoot = null;
|
|
362
|
+
}
|
|
363
|
+
if (this.componentContainer && this.componentContainer.parentNode) {
|
|
364
|
+
this.componentContainer.parentNode.removeChild(this.componentContainer);
|
|
365
|
+
}
|
|
366
|
+
this.componentContainer = null;
|
|
367
|
+
this.componentResult = null;
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Create the callbacks object to pass to the React component
|
|
371
|
+
*/
|
|
372
|
+
createCallbacks() {
|
|
373
|
+
return this.config.callbacks || {
|
|
374
|
+
RefreshData: () => { },
|
|
375
|
+
OpenEntityRecord: () => { },
|
|
376
|
+
UpdateUserState: () => { },
|
|
377
|
+
NotifyEvent: () => { }
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Get or create the cached style system
|
|
382
|
+
*/
|
|
383
|
+
getOrCreateStyleSystem() {
|
|
384
|
+
// If we already have a cached style system, return it
|
|
385
|
+
if (SkipReactComponentHost.cachedStyleSystem) {
|
|
386
|
+
return SkipReactComponentHost.cachedStyleSystem;
|
|
387
|
+
}
|
|
388
|
+
// Create the style system by merging defaults with config
|
|
389
|
+
SkipReactComponentHost.cachedStyleSystem = this.createStyleSystem(this.config.styles);
|
|
390
|
+
return SkipReactComponentHost.cachedStyleSystem;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Create a unified style system for the component
|
|
394
|
+
*/
|
|
395
|
+
createStyleSystem(baseStyles) {
|
|
396
|
+
return Object.assign(Object.assign({}, DEFAULT_STYLES), baseStyles);
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* Create the state updater utility function for the React component
|
|
400
|
+
*/
|
|
401
|
+
createStateUpdaterFunction() {
|
|
402
|
+
return function createStateUpdater(statePath, parentStateUpdater) {
|
|
403
|
+
return (componentStateUpdate) => {
|
|
404
|
+
if (!statePath) {
|
|
405
|
+
// Root component - call container callback directly
|
|
406
|
+
parentStateUpdater(componentStateUpdate);
|
|
407
|
+
}
|
|
408
|
+
else {
|
|
409
|
+
// Sub-component - bubble up with path context
|
|
410
|
+
const pathParts = statePath.split('.');
|
|
411
|
+
const componentKey = pathParts[pathParts.length - 1];
|
|
412
|
+
parentStateUpdater({
|
|
413
|
+
[componentKey]: Object.assign({}, componentStateUpdate)
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Create the standard event handler utility function for the React component
|
|
421
|
+
*/
|
|
422
|
+
createStandardEventHandlerFunction() {
|
|
423
|
+
return function createStandardEventHandler(updateUserState, callbacksParam) {
|
|
424
|
+
return (event) => {
|
|
425
|
+
var _a, _b;
|
|
426
|
+
switch (event.type) {
|
|
427
|
+
case 'stateChanged':
|
|
428
|
+
if (((_a = event.payload) === null || _a === void 0 ? void 0 : _a.statePath) && ((_b = event.payload) === null || _b === void 0 ? void 0 : _b.newState)) {
|
|
429
|
+
const update = {};
|
|
430
|
+
update[event.payload.statePath] = event.payload.newState;
|
|
431
|
+
updateUserState(update);
|
|
432
|
+
}
|
|
433
|
+
break;
|
|
434
|
+
case 'navigate':
|
|
435
|
+
if ((callbacksParam === null || callbacksParam === void 0 ? void 0 : callbacksParam.OpenEntityRecord) && event.payload) {
|
|
436
|
+
callbacksParam.OpenEntityRecord(event.payload.entityName, event.payload.key);
|
|
437
|
+
}
|
|
438
|
+
break;
|
|
439
|
+
default:
|
|
440
|
+
if (callbacksParam === null || callbacksParam === void 0 ? void 0 : callbacksParam.NotifyEvent) {
|
|
441
|
+
callbacksParam.NotifyEvent(event.type, event.payload);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
// Static style system that's created once and reused
|
|
449
|
+
SkipReactComponentHost.cachedStyleSystem = null;
|
|
450
|
+
//# sourceMappingURL=skip-react-component-host.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skip-react-component-host.js","sourceRoot":"","sources":["../../../src/lib/dynamic-report/skip-react-component-host.ts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wBAC/E,CAAC;wBACD,MAAM;oBACR;wBACE,IAAI,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,WAAW,EAAE,CAAC;4BAChC,cAAc,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;wBACxD,CAAC;gBACL,CAAC;YACH,CAAC,CAAC;QACJ,CAAC,CAAC;IACJ,CAAC;;AA3WD,qDAAqD;AACtC,wCAAiB,GAA+B,IAAI,AAAnC,CAAoC"}
|
|
@@ -131,6 +131,27 @@ export declare class SkipChatComponent extends BaseAngularComponent implements O
|
|
|
131
131
|
* Currently selected artifact for viewing in the split panel
|
|
132
132
|
*/
|
|
133
133
|
selectedArtifact: any;
|
|
134
|
+
/**
|
|
135
|
+
* Artifact header info to display in split panel
|
|
136
|
+
*/
|
|
137
|
+
artifactHeaderInfo: {
|
|
138
|
+
title: string;
|
|
139
|
+
type: string;
|
|
140
|
+
date: Date | null;
|
|
141
|
+
version: string;
|
|
142
|
+
} | null;
|
|
143
|
+
/**
|
|
144
|
+
* Artifact version list for dropdown
|
|
145
|
+
*/
|
|
146
|
+
artifactVersionList: Array<{
|
|
147
|
+
ID: string;
|
|
148
|
+
Version: string | number;
|
|
149
|
+
__mj_CreatedAt: Date;
|
|
150
|
+
}>;
|
|
151
|
+
/**
|
|
152
|
+
* Selected artifact version ID
|
|
153
|
+
*/
|
|
154
|
+
selectedArtifactVersionId: string;
|
|
134
155
|
/**
|
|
135
156
|
* Current split ratio for the split panel
|
|
136
157
|
*/
|
|
@@ -311,6 +332,39 @@ export declare class SkipChatComponent extends BaseAngularComponent implements O
|
|
|
311
332
|
* Clears the selected artifact and closes the split panel
|
|
312
333
|
*/
|
|
313
334
|
closeArtifactPanel(): void;
|
|
335
|
+
/**
|
|
336
|
+
* Handles when an artifact version is selected from the dropdown
|
|
337
|
+
* @param versionId The ID of the selected version
|
|
338
|
+
*/
|
|
339
|
+
onArtifactVersionSelected(versionId: string): void;
|
|
340
|
+
/**
|
|
341
|
+
* Handles when artifact info changes (from the artifact viewer)
|
|
342
|
+
* @param info The updated artifact header information
|
|
343
|
+
*/
|
|
344
|
+
onArtifactInfoChanged(info: {
|
|
345
|
+
title: string;
|
|
346
|
+
type: string;
|
|
347
|
+
date: Date | null;
|
|
348
|
+
version: string;
|
|
349
|
+
versionList?: Array<{
|
|
350
|
+
ID: string;
|
|
351
|
+
Version: string | number;
|
|
352
|
+
__mj_CreatedAt: Date;
|
|
353
|
+
}>;
|
|
354
|
+
selectedVersionId?: string;
|
|
355
|
+
}): void;
|
|
356
|
+
/**
|
|
357
|
+
* Automatically shows an artifact if the provided AI message has one
|
|
358
|
+
* This is called when new AI messages are received to automatically display artifacts
|
|
359
|
+
* @param aiMessage The AI message to check for artifacts
|
|
360
|
+
*/
|
|
361
|
+
private autoShowArtifactIfPresent;
|
|
362
|
+
/**
|
|
363
|
+
* Determines if the given AI message contains a new artifact or a new version of an existing artifact
|
|
364
|
+
* @param aiMessage The AI message to check
|
|
365
|
+
* @returns true if this is a new artifact or version, false otherwise
|
|
366
|
+
*/
|
|
367
|
+
private isNewArtifactOrVersion;
|
|
314
368
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkipChatComponent, never>;
|
|
315
369
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkipChatComponent, "skip-chat", never, { "AllowSend": { "alias": "AllowSend"; "required": false; }; "Messages": { "alias": "Messages"; "required": false; }; "Conversations": { "alias": "Conversations"; "required": false; }; "SelectedConversation": { "alias": "SelectedConversation"; "required": false; }; "ConversationEditMode": { "alias": "ConversationEditMode"; "required": false; }; "ShowConversationList": { "alias": "ShowConversationList"; "required": false; }; "AllowNewConversations": { "alias": "AllowNewConversations"; "required": false; }; "Title": { "alias": "Title"; "required": false; }; "DataContextID": { "alias": "DataContextID"; "required": false; }; "LinkedEntity": { "alias": "LinkedEntity"; "required": false; }; "LinkedEntityCompositeKey": { "alias": "LinkedEntityCompositeKey"; "required": false; }; "ShowDataContextButton": { "alias": "ShowDataContextButton"; "required": false; }; "IncludeLinkedConversationsInList": { "alias": "IncludeLinkedConversationsInList"; "required": false; }; "SkipLogoURL": { "alias": "SkipLogoURL"; "required": false; }; "SkipMarkOnlyLogoURL": { "alias": "SkipMarkOnlyLogoURL"; "required": false; }; "UserImage": { "alias": "UserImage"; "required": false; }; "VerboseLogging": { "alias": "VerboseLogging"; "required": false; }; "UpdateAppRoute": { "alias": "UpdateAppRoute"; "required": false; }; "ShowSkipLogoInConversationList": { "alias": "ShowSkipLogoInConversationList"; "required": false; }; "ShowSharingButton": { "alias": "ShowSharingButton"; "required": false; }; "SharingExcludeRoleNames": { "alias": "SharingExcludeRoleNames"; "required": false; }; "SharingExcludeEmails": { "alias": "SharingExcludeEmails"; "required": false; }; "EnableArtifactSplitView": { "alias": "EnableArtifactSplitView"; "required": false; }; "DefaultSplitRatio": { "alias": "DefaultSplitRatio"; "required": false; }; "DefaultTextboxPlaceholder": { "alias": "DefaultTextboxPlaceholder"; "required": false; }; "ProcessingTextBoxPlaceholder": { "alias": "ProcessingTextBoxPlaceholder"; "required": false; }; "WelcomeQuestions": { "alias": "WelcomeQuestions"; "required": false; }; "AutoLoad": { "alias": "AutoLoad"; "required": false; }; }, { "NavigateToMatchingReport": "NavigateToMatchingReport"; "ConversationSelected": "ConversationSelected"; "NewReportCreated": "NewReportCreated"; "DrillDownEvent": "DrillDownEvent"; "ArtifactSelected": "ArtifactSelected"; "ArtifactViewed": "ArtifactViewed"; }, never, never, false, never>;
|
|
316
370
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-chat.component.d.ts","sourceRoot":"","sources":["../../../src/lib/skip-chat/skip-chat.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,EAEhB,MAAM,EAEN,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,SAAS,EAET,iBAAiB,EAEjB,YAAY,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE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