@hivegpt/hiveai-angular 0.0.505 → 0.0.506
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/bundles/hivegpt-hiveai-angular.umd.js +12 -1
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +13 -2
- package/fesm2015/hivegpt-hiveai-angular.js +12 -1
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1985,7 +1985,7 @@ class ChatDrawerComponent {
|
|
|
1985
1985
|
if (!Array.isArray(attendees))
|
|
1986
1986
|
return [];
|
|
1987
1987
|
return attendees.map((a) => {
|
|
1988
|
-
var _a, _b, _c, _d, _e;
|
|
1988
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1989
1989
|
return ({
|
|
1990
1990
|
name: String((_a = a.name) !== null && _a !== void 0 ? _a : '').trim(),
|
|
1991
1991
|
company: a.company != null && String(a.company).trim() !== '' ? String(a.company).trim() : null,
|
|
@@ -1993,6 +1993,17 @@ class ChatDrawerComponent {
|
|
|
1993
1993
|
photo: a.photo != null && String(a.photo).trim() !== '' ? String(a.photo).trim() : null,
|
|
1994
1994
|
id: (_e = (_d = (_c = (_b = a.id) !== null && _b !== void 0 ? _b : a.userId) !== null && _c !== void 0 ? _c : a._id) !== null && _d !== void 0 ? _d : a.attendeeId) !== null && _e !== void 0 ? _e : undefined,
|
|
1995
1995
|
interests: a.interests != null && String(a.interests).trim() !== '' ? String(a.interests).trim() : null,
|
|
1996
|
+
description: a.description != null && String(a.description).trim() !== '' ? String(a.description).trim() : null,
|
|
1997
|
+
userVideosModel: a.userVideosModel
|
|
1998
|
+
? {
|
|
1999
|
+
url: ((_f = a.userVideosModel) === null || _f === void 0 ? void 0 : _f.url) != null && String(a.userVideosModel.url).trim() !== ''
|
|
2000
|
+
? String(a.userVideosModel.url).trim()
|
|
2001
|
+
: null,
|
|
2002
|
+
thumbnail: ((_g = a.userVideosModel) === null || _g === void 0 ? void 0 : _g.thumbnail) != null && String(a.userVideosModel.thumbnail).trim() !== ''
|
|
2003
|
+
? String(a.userVideosModel.thumbnail).trim()
|
|
2004
|
+
: null,
|
|
2005
|
+
}
|
|
2006
|
+
: null,
|
|
1996
2007
|
});
|
|
1997
2008
|
});
|
|
1998
2009
|
}
|