@plusscommunities/pluss-circles-web 1.5.5 → 1.5.6

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/dist/index.esm.js CHANGED
@@ -827,7 +827,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
827
827
  if (res.data != null && !_.isEmpty(res.data.results.Items)) {
828
828
  _this.setState({
829
829
  users: _.sortBy(res.data.results.Items, function (u) {
830
- return (u.displayName || '').toLowerCase();
830
+ return (u.displayName || "").toLowerCase();
831
831
  }).map(function (u) {
832
832
  return _objectSpread$4(_objectSpread$4({}, u), {}, {
833
833
  userId: u.userId || u.Id
@@ -851,7 +851,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
851
851
  }
852
852
 
853
853
  if (!_.isEmpty(_this.state.userSearch)) {
854
- return (u.displayName || '').toLowerCase().indexOf(_this.state.userSearch.toLowerCase()) > -1;
854
+ return (u.displayName || "").toLowerCase().indexOf(_this.state.userSearch.toLowerCase()) > -1;
855
855
  }
856
856
 
857
857
  return true;
@@ -905,7 +905,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
905
905
 
906
906
  case 3:
907
907
  res = _context.sent;
908
- console.log('getData', res.data);
908
+ console.log("getData", res.data);
909
909
  circle = _.find(res.data, function (c) {
910
910
  return c.Id === _this.state.circleId;
911
911
  });
@@ -925,7 +925,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
925
925
  case 11:
926
926
  _context.prev = 11;
927
927
  _context.t0 = _context["catch"](0);
928
- console.error('getData', _context.t0);
928
+ console.error("getData", _context.t0);
929
929
 
930
930
  _this.setState({
931
931
  loadingAll: false
@@ -942,7 +942,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
942
942
 
943
943
  _defineProperty(_assertThisInitialized(_this), "onHandleChange", function (event) {
944
944
  var stateChange = {};
945
- stateChange[event.target.getAttribute('id')] = event.target.value;
945
+ stateChange[event.target.getAttribute("id")] = event.target.value;
946
946
 
947
947
  _this.setState(stateChange);
948
948
  });
@@ -965,7 +965,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
965
965
  };
966
966
 
967
967
  if (_.isEmpty(_this.state.title) && _.includes(newState.selectedUsers, user)) {
968
- newState.title = "".concat(user.displayName.split(' ')[0], "'s Circle");
968
+ newState.title = "".concat(user.displayName.split(" ")[0], "'s Circle");
969
969
  }
970
970
 
971
971
  _this.setState(newState);
@@ -1006,17 +1006,17 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1006
1006
  updating: false
1007
1007
  });
1008
1008
 
1009
- console.log('success');
1009
+ console.log("success");
1010
1010
 
1011
1011
  _this.props.circleUpdated(res.data);
1012
1012
  }).catch(function (err) {
1013
- console.log('error');
1013
+ console.log("error");
1014
1014
 
1015
1015
  _this.setState({
1016
1016
  updating: false
1017
1017
  });
1018
1018
 
1019
- alert('Something went wrong with the request. Please try again.');
1019
+ alert("Something went wrong with the request. Please try again.");
1020
1020
  });
1021
1021
  } else {
1022
1022
  circleActions.add(_this.props.auth.site, _this.state.title, _this.state.image, audience, _this.state.isPublic).then(function (res) {
@@ -1025,17 +1025,17 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1025
1025
  updating: false
1026
1026
  });
1027
1027
 
1028
- console.log('success');
1028
+ console.log("success");
1029
1029
 
1030
1030
  _this.props.circleUpdated(res.data);
1031
1031
  }).catch(function (err) {
1032
- console.log('error');
1032
+ console.log("error");
1033
1033
 
1034
1034
  _this.setState({
1035
1035
  updating: false
1036
1036
  });
1037
1037
 
1038
- alert('Something went wrong with the request. Please try again.');
1038
+ alert("Something went wrong with the request. Please try again.");
1039
1039
  });
1040
1040
  }
1041
1041
  });
@@ -1056,20 +1056,20 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1056
1056
  });
1057
1057
  });
1058
1058
 
1059
- var circleId = Helper$1.safeReadParams(props, 'circleId');
1059
+ var circleId = Helper$1.safeReadParams(props, "circleId");
1060
1060
  _this.state = {
1061
1061
  circleId: circleId,
1062
1062
  circle: _.find(props.circles, function (c) {
1063
1063
  return c.Id === circleId;
1064
1064
  }),
1065
- title: '',
1065
+ title: "",
1066
1066
  showWarnings: false,
1067
1067
  success: false,
1068
1068
  users: [],
1069
1069
  selectedUsers: [],
1070
- userSearch: '',
1070
+ userSearch: "",
1071
1071
  isPublic: false,
1072
- selectedOption: 'visibility'
1072
+ selectedOption: "visibility"
1073
1073
  };
1074
1074
  return _this;
1075
1075
  }
@@ -1091,7 +1091,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1091
1091
  this.setState({
1092
1092
  image: url
1093
1093
  });
1094
- this.imageInput.getWrappedInstance().setValue(url);
1094
+ this.imageInput.setValue(url);
1095
1095
  } else {
1096
1096
  setTimeout(function () {
1097
1097
  _this2.checkSetImage(url);
@@ -1124,9 +1124,9 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1124
1124
  value: function renderSuccess() {
1125
1125
  if (!this.state.success) return null;
1126
1126
  return /*#__PURE__*/React.createElement(Components$3.SuccessPopup, {
1127
- text: "".concat(_.capitalize(values.entityName), " has been ").concat(this.state.circleId == null ? 'added' : 'edited'),
1127
+ text: "".concat(_.capitalize(values.entityName), " has been ").concat(this.state.circleId == null ? "added" : "edited"),
1128
1128
  buttons: [{
1129
- type: 'outlined',
1129
+ type: "outlined",
1130
1130
  onClick: function onClick() {
1131
1131
  window.history.back();
1132
1132
  },
@@ -1173,7 +1173,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1173
1173
  label: "Do you want to make this ".concat(values.entityName, " a public ").concat(values.entityName, "?"),
1174
1174
  isActive: this.state.isPublic,
1175
1175
  options: [{
1176
- Label: 'Yes',
1176
+ Label: "Yes",
1177
1177
  Value: true,
1178
1178
  onChange: function onChange() {
1179
1179
  return _this5.setState({
@@ -1181,7 +1181,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1181
1181
  });
1182
1182
  }
1183
1183
  }, {
1184
- Label: 'No',
1184
+ Label: "No",
1185
1185
  Value: false,
1186
1186
  onChange: function onChange() {
1187
1187
  return _this5.setState({
@@ -1201,7 +1201,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1201
1201
  value: function renderSelectedOption() {
1202
1202
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
1203
1203
  style: {
1204
- display: this.state.selectedOption === 'visibility' ? 'block' : 'none'
1204
+ display: this.state.selectedOption === "visibility" ? "block" : "none"
1205
1205
  }
1206
1206
  }, this.renderVisibility()));
1207
1207
  }
@@ -1209,14 +1209,14 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1209
1209
  key: "renderOptionsSection",
1210
1210
  value: function renderOptionsSection() {
1211
1211
  var options = [{
1212
- key: 'visibility',
1213
- icon: 'people3',
1214
- text: 'Visibility'
1212
+ key: "visibility",
1213
+ icon: "people3",
1214
+ text: "Visibility"
1215
1215
  }];
1216
1216
 
1217
1217
  if (!this.props.circleAllowPublicCircles) {
1218
1218
  options = _.filter(options, function (o) {
1219
- return o.key !== 'visibility';
1219
+ return o.key !== "visibility";
1220
1220
  });
1221
1221
  }
1222
1222
 
@@ -1240,7 +1240,7 @@ var AddCircle = /*#__PURE__*/function (_Component) {
1240
1240
  }, /*#__PURE__*/React.createElement(Components$3.Text, {
1241
1241
  type: "formTitleLarge",
1242
1242
  className: "marginBottom-24"
1243
- }, this.state.circleId == null ? 'New' : 'Edit', " ", _.capitalize(values.entityName)), /*#__PURE__*/React.createElement("div", {
1243
+ }, this.state.circleId == null ? "New" : "Edit", " ", _.capitalize(values.entityName)), /*#__PURE__*/React.createElement("div", {
1244
1244
  className: "flex flex-reverse"
1245
1245
  }, /*#__PURE__*/React.createElement(Components$3.ImageInput, {
1246
1246
  ref: function ref(_ref2) {
@@ -1424,7 +1424,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1424
1424
 
1425
1425
  case 3:
1426
1426
  res = _context.sent;
1427
- console.log('getData', res.data);
1427
+ console.log("getData", res.data);
1428
1428
  circle = _.find(res.data, function (c) {
1429
1429
  return c.Id === _this.state.circleId;
1430
1430
  });
@@ -1442,7 +1442,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1442
1442
  case 10:
1443
1443
  _context.prev = 10;
1444
1444
  _context.t0 = _context["catch"](0);
1445
- console.error('getData', _context.t0);
1445
+ console.error("getData", _context.t0);
1446
1446
 
1447
1447
  _this.setState({
1448
1448
  loadingAll: false
@@ -1474,8 +1474,8 @@ var Circle = /*#__PURE__*/function (_Component) {
1474
1474
  while (1) {
1475
1475
  switch (_context2.prev = _context2.next) {
1476
1476
  case 0:
1477
- startOf = moment(date, 'YYYY-MM-DD').startOf('d');
1478
- endOf = moment(date, 'YYYY-MM-DD').endOf('d');
1477
+ startOf = moment(date, "YYYY-MM-DD").startOf("d");
1478
+ endOf = moment(date, "YYYY-MM-DD").endOf("d");
1479
1479
  _context2.next = 4;
1480
1480
  return circleActions.getMessages(_this.state.circleId, 10000, startOf.valueOf(), endOf.valueOf());
1481
1481
 
@@ -1529,13 +1529,13 @@ var Circle = /*#__PURE__*/function (_Component) {
1529
1529
  var circle = _this.state.circle;
1530
1530
 
1531
1531
  if (!circle) {
1532
- return '';
1532
+ return "";
1533
1533
  }
1534
1534
 
1535
1535
  if (circle.IsPrivate) {
1536
1536
  return "PM: ".concat(circle.Audience.map(function (user) {
1537
1537
  return user.displayName;
1538
- }).join(', '));
1538
+ }).join(", "));
1539
1539
  }
1540
1540
 
1541
1541
  return circle.Title;
@@ -1543,13 +1543,13 @@ var Circle = /*#__PURE__*/function (_Component) {
1543
1543
 
1544
1544
  _defineProperty(_assertThisInitialized(_this), "onHandleChange", function (event) {
1545
1545
  var stateChange = {};
1546
- stateChange[event.target.getAttribute('id')] = event.target.value;
1546
+ stateChange[event.target.getAttribute("id")] = event.target.value;
1547
1547
 
1548
1548
  _this.setState(stateChange);
1549
1549
  });
1550
1550
 
1551
1551
  _defineProperty(_assertThisInitialized(_this), "onImageUpdated", function (image) {
1552
- console.log('updated image');
1552
+ console.log("updated image");
1553
1553
  console.log(image);
1554
1554
 
1555
1555
  _this.setState({
@@ -1565,7 +1565,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1565
1565
  });
1566
1566
 
1567
1567
  _defineProperty(_assertThisInitialized(_this), "onFileUpdated", function (url) {
1568
- console.log('updated url');
1568
+ console.log("updated url");
1569
1569
  console.log(url);
1570
1570
 
1571
1571
  _this.setState({
@@ -1586,7 +1586,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1586
1586
  });
1587
1587
 
1588
1588
  if (m) {
1589
- var input = document.getElementById('messageInput');
1589
+ var input = document.getElementById("messageInput");
1590
1590
  if (input) input.focus();
1591
1591
  }
1592
1592
  });
@@ -1594,7 +1594,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1594
1594
  _defineProperty(_assertThisInitialized(_this), "handleMessageDateChange", function (date) {
1595
1595
  _this.setState({
1596
1596
  messageDate: date,
1597
- messageDateText: moment(date, 'YYYY-MM-DD').format('DD/MM/YYYY'),
1597
+ messageDateText: moment(date, "YYYY-MM-DD").format("DD/MM/YYYY"),
1598
1598
  showMessageDate: false,
1599
1599
  messages: []
1600
1600
  });
@@ -1632,7 +1632,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1632
1632
  });
1633
1633
 
1634
1634
  _defineProperty(_assertThisInitialized(_this), "onKeyDown", function (event) {
1635
- if (event.key === 'Enter' && !event.shiftKey) {
1635
+ if (event.key === "Enter" && !event.shiftKey) {
1636
1636
  event.preventDefault();
1637
1637
 
1638
1638
  _this.sendMessage();
@@ -1667,7 +1667,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1667
1667
  if (m._id === messageToDelete._id) {
1668
1668
  return _objectSpread$3(_objectSpread$3({}, m), {}, {
1669
1669
  deleted: true,
1670
- text: ' '
1670
+ text: " "
1671
1671
  });
1672
1672
  }
1673
1673
 
@@ -1697,7 +1697,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1697
1697
  case 11:
1698
1698
  _context4.prev = 11;
1699
1699
  _context4.t0 = _context4["catch"](5);
1700
- console.error('Failed to delete message:', _context4.t0); // Revert the optimistic update on failure
1700
+ console.error("Failed to delete message:", _context4.t0); // Revert the optimistic update on failure
1701
1701
 
1702
1702
  revertedMessages = _this.state.messages.map(function (m) {
1703
1703
  if (m._id === messageToDelete._id) {
@@ -1712,7 +1712,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1712
1712
  deletingMessageId: null
1713
1713
  });
1714
1714
 
1715
- alert('Failed to delete message. Please try again.');
1715
+ alert("Failed to delete message. Please try again.");
1716
1716
 
1717
1717
  case 17:
1718
1718
  case "end":
@@ -1770,7 +1770,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1770
1770
 
1771
1771
  _this.setState({
1772
1772
  messages: [].concat(_toConsumableArray(_this.state.messages), [clonedMessage]),
1773
- messageInput: '',
1773
+ messageInput: "",
1774
1774
  imageInput: null,
1775
1775
  imageInputShowing: false,
1776
1776
  fileInput: null,
@@ -1782,18 +1782,18 @@ var Circle = /*#__PURE__*/function (_Component) {
1782
1782
 
1783
1783
  _this.scrollToBottom();
1784
1784
 
1785
- _this.imageInput && _this.imageInput.getWrappedInstance().setValue(null);
1786
- _this.fileInput && _this.fileInput.getWrappedInstance().setValue(null);
1785
+ _this.imageInput && _this.imageInput.setValue(null);
1786
+ _this.fileInput && _this.fileInput.setValue(null);
1787
1787
  }, 100);
1788
1788
  });
1789
1789
 
1790
- var circleId = Helper.safeReadParams(props, 'circleId');
1790
+ var circleId = Helper.safeReadParams(props, "circleId");
1791
1791
  _this.state = {
1792
1792
  circleId: circleId,
1793
1793
  circle: _.find(props.circles, function (c) {
1794
1794
  return c.Id === circleId;
1795
1795
  }),
1796
- messageInput: '',
1796
+ messageInput: "",
1797
1797
  messages: [],
1798
1798
  images: [],
1799
1799
  files: [],
@@ -1842,7 +1842,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1842
1842
  value: function mergeMessages(receivedMessages, excludePending) {
1843
1843
  var _this2 = this;
1844
1844
 
1845
- var newMessages = _.sortBy(_.concat(this.state.messages, receivedMessages), 'createdAt');
1845
+ var newMessages = _.sortBy(_.concat(this.state.messages, receivedMessages), "createdAt");
1846
1846
 
1847
1847
  this.setState({
1848
1848
  messages: _.filter(_.uniqBy(newMessages, function (m) {
@@ -1936,17 +1936,17 @@ var Circle = /*#__PURE__*/function (_Component) {
1936
1936
  },
1937
1937
  onKeyDown: this.onKeyDown
1938
1938
  }), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(FontAwesome, {
1939
- className: "chat_imageIcon".concat(this.state.imageInputShowing ? ' chat_imageIcon-selected' : ''),
1939
+ className: "chat_imageIcon".concat(this.state.imageInputShowing ? " chat_imageIcon-selected" : ""),
1940
1940
  name: "camera",
1941
1941
  onClick: this.showImageInput
1942
1942
  }), /*#__PURE__*/React.createElement(FontAwesome, {
1943
- className: "chat_imageIcon".concat(this.state.fileInputShowing ? ' chat_imageIcon-selected' : ''),
1943
+ className: "chat_imageIcon".concat(this.state.fileInputShowing ? " chat_imageIcon-selected" : ""),
1944
1944
  name: "paperclip",
1945
1945
  onClick: this.showFileInput
1946
1946
  })), /*#__PURE__*/React.createElement("div", {
1947
1947
  className: "overflow-x",
1948
1948
  style: {
1949
- display: this.state.imageInputShowing ? 'block' : 'none'
1949
+ display: this.state.imageInputShowing ? "block" : "none"
1950
1950
  }
1951
1951
  }, /*#__PURE__*/React.createElement(Components$2.ImageInput, {
1952
1952
  ref: function ref(_ref5) {
@@ -1961,7 +1961,7 @@ var Circle = /*#__PURE__*/function (_Component) {
1961
1961
  })), /*#__PURE__*/React.createElement("div", {
1962
1962
  className: "overflow-x",
1963
1963
  style: {
1964
- display: this.state.fileInputShowing ? 'block' : 'none'
1964
+ display: this.state.fileInputShowing ? "block" : "none"
1965
1965
  }
1966
1966
  }, /*#__PURE__*/React.createElement(Components$2.FileInput, {
1967
1967
  ref: function ref(_ref6) {
@@ -1995,11 +1995,11 @@ var Circle = /*#__PURE__*/function (_Component) {
1995
1995
  var isDeleting = this.state.deletingMessageId === m._id;
1996
1996
  return /*#__PURE__*/React.createElement("div", {
1997
1997
  key: m._id,
1998
- className: "message".concat(isSelf ? ' message-self' : '').concat(m.uploading ? ' message-uploading' : '').concat(isDeleting ? ' message-deleting' : '')
1998
+ className: "message".concat(isSelf ? " message-self" : "").concat(m.uploading ? " message-uploading" : "").concat(isDeleting ? " message-deleting" : "")
1999
1999
  }, /*#__PURE__*/React.createElement(Components$2.Text, {
2000
2000
  type: "h5-noUpper",
2001
2001
  className: "message_time"
2002
- }, moment.utc(m.createdAt).local().format('D MMM YYYY • h:mma')), /*#__PURE__*/React.createElement("div", {
2002
+ }, moment.utc(m.createdAt).local().format("D MMM YYYY • h:mma")), /*#__PURE__*/React.createElement("div", {
2003
2003
  className: "message_inner"
2004
2004
  }, /*#__PURE__*/React.createElement(Components$2.ProfilePic, {
2005
2005
  size: 40,
@@ -2010,17 +2010,17 @@ var Circle = /*#__PURE__*/function (_Component) {
2010
2010
  }, /*#__PURE__*/React.createElement(Components$2.Text, {
2011
2011
  type: "body",
2012
2012
  className: "message_name"
2013
- }, m.user.name, m.replyingTo && !isDeleted ? " replied to ".concat(m.replyingTo.user.name) : ''), m.replyingTo && !isDeleted && /*#__PURE__*/React.createElement("div", {
2013
+ }, m.user.name, m.replyingTo && !isDeleted ? " replied to ".concat(m.replyingTo.user.name) : ""), m.replyingTo && !isDeleted && /*#__PURE__*/React.createElement("div", {
2014
2014
  className: "message_replyBubble"
2015
2015
  }, /*#__PURE__*/React.createElement(Components$2.Text, {
2016
2016
  type: "body",
2017
2017
  className: "message_text"
2018
- }, Helper.toParagraphed((m.replyingTo.text || '').substr(0, 100)))), /*#__PURE__*/React.createElement("div", {
2018
+ }, Helper.toParagraphed((m.replyingTo.text || "").substr(0, 100)))), /*#__PURE__*/React.createElement("div", {
2019
2019
  className: "message_bubble"
2020
2020
  }, /*#__PURE__*/React.createElement(Components$2.Text, {
2021
2021
  type: "body",
2022
2022
  className: "message_text"
2023
- }, isDeleted ? '[Message deleted]' : Helper.toParagraphed(m.text)), !isDeleted && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, (m.image || []).map(function (url, i) {
2023
+ }, isDeleted ? "[Message deleted]" : Helper.toParagraphed(m.text)), !isDeleted && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, (m.image || []).map(function (url, i) {
2024
2024
  return /*#__PURE__*/React.createElement("a", {
2025
2025
  href: url,
2026
2026
  target: "_blank",
@@ -2039,8 +2039,8 @@ var Circle = /*#__PURE__*/function (_Component) {
2039
2039
  })))), !isDeleted && /*#__PURE__*/React.createElement("div", {
2040
2040
  className: "message_reply",
2041
2041
  style: {
2042
- display: 'flex',
2043
- gap: '16px'
2042
+ display: "flex",
2043
+ gap: "16px"
2044
2044
  }
2045
2045
  }, /*#__PURE__*/React.createElement(Components$2.Text, {
2046
2046
  type: "button",
@@ -2077,7 +2077,7 @@ var Circle = /*#__PURE__*/function (_Component) {
2077
2077
  value: function renderEmptyDate() {
2078
2078
  return this.renderMessage({
2079
2079
  system: true,
2080
- text: 'No messages on this date'
2080
+ text: "No messages on this date"
2081
2081
  });
2082
2082
  }
2083
2083
  }, {
@@ -2092,7 +2092,7 @@ var Circle = /*#__PURE__*/function (_Component) {
2092
2092
  className: "chat_section_titleSection"
2093
2093
  }, /*#__PURE__*/React.createElement(FontAwesome, {
2094
2094
  className: "chat_section_titleSection_caret",
2095
- name: "chevron-".concat(this.state.membersExpanded ? 'up' : 'down'),
2095
+ name: "chevron-".concat(this.state.membersExpanded ? "up" : "down"),
2096
2096
  onClick: this.toggleMembers
2097
2097
  }), /*#__PURE__*/React.createElement("div", {
2098
2098
  className: "flex-1"
@@ -2110,7 +2110,7 @@ var Circle = /*#__PURE__*/function (_Component) {
2110
2110
  className: "chat_section_titleSection"
2111
2111
  }, /*#__PURE__*/React.createElement(FontAwesome, {
2112
2112
  className: "chat_section_titleSection_caret",
2113
- name: "chevron-".concat(this.state.imagesExpanded ? 'up' : 'down'),
2113
+ name: "chevron-".concat(this.state.imagesExpanded ? "up" : "down"),
2114
2114
  onClick: this.toggleImages
2115
2115
  }), /*#__PURE__*/React.createElement("div", {
2116
2116
  className: "flex-1"
@@ -2133,7 +2133,7 @@ var Circle = /*#__PURE__*/function (_Component) {
2133
2133
  className: "chat_section_titleSection"
2134
2134
  }, /*#__PURE__*/React.createElement(FontAwesome, {
2135
2135
  className: "chat_section_titleSection_caret",
2136
- name: "chevron-".concat(this.state.filesExpanded ? 'up' : 'down'),
2136
+ name: "chevron-".concat(this.state.filesExpanded ? "up" : "down"),
2137
2137
  onClick: this.toggleFiles
2138
2138
  }), /*#__PURE__*/React.createElement("div", {
2139
2139
  className: "flex-1"
@@ -2164,7 +2164,7 @@ var Circle = /*#__PURE__*/function (_Component) {
2164
2164
  className: "chat_replyTo_container"
2165
2165
  }, /*#__PURE__*/React.createElement(Components$2.Text, {
2166
2166
  type: "h5"
2167
- }, "Replying to ", m && m.user && !_.isEmpty(m.user.displayName) ? m.user.displayName : ''), m && !_.isEmpty(m.text) && /*#__PURE__*/React.createElement(Components$2.Text, {
2167
+ }, "Replying to", " ", m && m.user && !_.isEmpty(m.user.displayName) ? m.user.displayName : ""), m && !_.isEmpty(m.text) && /*#__PURE__*/React.createElement(Components$2.Text, {
2168
2168
  type: "body"
2169
2169
  }, m.text.substr(0, 50))), /*#__PURE__*/React.createElement("div", {
2170
2170
  className: "chat_replyTo_remove"
@@ -2184,14 +2184,14 @@ var Circle = /*#__PURE__*/function (_Component) {
2184
2184
  return /*#__PURE__*/React.createElement(Components$2.Popup, {
2185
2185
  title: "Delete Message",
2186
2186
  buttons: [{
2187
- text: 'Delete',
2187
+ text: "Delete",
2188
2188
  onClick: this.onConfirmDelete,
2189
- type: 'primary',
2189
+ type: "primary",
2190
2190
  isActive: true
2191
2191
  }, {
2192
- text: 'Cancel',
2192
+ text: "Cancel",
2193
2193
  onClick: this.onCancelDelete,
2194
- type: 'tertiary',
2194
+ type: "tertiary",
2195
2195
  isActive: true
2196
2196
  }],
2197
2197
  onClose: this.onCancelDelete,
@@ -2208,8 +2208,8 @@ var Circle = /*#__PURE__*/function (_Component) {
2208
2208
  return /*#__PURE__*/React.createElement(Components$2.OverlayPage, {
2209
2209
  fullPage: true,
2210
2210
  fullPageStyle: {
2211
- display: 'flex',
2212
- flexDirection: 'column'
2211
+ display: "flex",
2212
+ flexDirection: "column"
2213
2213
  }
2214
2214
  }, this.renderDeleteConfirmPopup(), /*#__PURE__*/React.createElement(Components$2.Header, {
2215
2215
  rightContent: this.renderHeaderRight()