frst-components 0.22.25 → 0.22.27

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.
Files changed (20) hide show
  1. package/dist/index.js +187 -114
  2. package/dist/src/components/FI/ThreadComments/index.d.ts +1 -1
  3. package/dist/src/components/FI/ThreadComments/index.d.ts.map +1 -1
  4. package/dist/src/components/FI/ThreadComments/threadComments.styles.d.ts.map +1 -1
  5. package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts +1 -1
  6. package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map +1 -1
  7. package/dist/src/components/commentaryBoxV2/CommentaryBoxV2.styles.d.ts.map +1 -1
  8. package/dist/src/components/commentaryBoxV2/index.d.ts +1 -1
  9. package/dist/src/components/commentaryBoxV2/index.d.ts.map +1 -1
  10. package/dist/src/components/commentaryBoxV2/utilitiesComponents/index.d.ts +2 -0
  11. package/dist/src/components/commentaryBoxV2/utilitiesComponents/index.d.ts.map +1 -0
  12. package/dist/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/index.d.ts +4 -0
  13. package/dist/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/index.d.ts.map +1 -0
  14. package/dist/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.d.ts +5 -0
  15. package/dist/src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.d.ts.map +1 -0
  16. package/dist/src/components/input-comment/index.d.ts +1 -1
  17. package/dist/src/components/input-comment/index.d.ts.map +1 -1
  18. package/dist/src/components/input-comment/useInputHook.d.ts +4 -3
  19. package/dist/src/components/input-comment/useInputHook.d.ts.map +1 -1
  20. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1532,7 +1532,7 @@ styled__default["default"](MenuItem__default["default"]) `
1532
1532
  }
1533
1533
  `;
1534
1534
 
1535
- const Container$k = styled__default["default"](Card__default["default"]) `
1535
+ const Container$l = styled__default["default"](Card__default["default"]) `
1536
1536
  height: 100%;
1537
1537
  box-shadow: none !important;
1538
1538
  border: 1px solid #c4c4c4 !important;
@@ -1738,9 +1738,9 @@ function CalendarCard(props) {
1738
1738
  }
1739
1739
  }, [props.trails]);
1740
1740
  return (jsxRuntime.jsx("div", { style: { height: '100%' }, children: props.loading ?
1741
- jsxRuntime.jsx(Container$k, { className: 'shimmer' })
1741
+ jsxRuntime.jsx(Container$l, { className: 'shimmer' })
1742
1742
  :
1743
- jsxRuntime.jsx(Container$k, { children: jsxRuntime.jsxs(material.CardContent, { style: { padding: '0px' }, children: [jsxRuntime.jsx(Title$6, { children: t('calendar.title') }), moduleSelector &&
1743
+ jsxRuntime.jsx(Container$l, { children: jsxRuntime.jsxs(material.CardContent, { style: { padding: '0px' }, children: [jsxRuntime.jsx(Title$6, { children: t('calendar.title') }), moduleSelector &&
1744
1744
  jsxRuntime.jsxs(ContainerDescription, { children: [jsxRuntime.jsx(TextDescription$1, { children: t('calendar.card.description') }), jsxRuntime.jsx(FormControlSelect, { fullWidth: true, children: jsxRuntime.jsx(DropDownList$2, { id: "module-id", value: module, onChange: handleChange, children: props.trails?.map((item, index) => {
1745
1745
  return jsxRuntime.jsxs(material.MenuItem, { value: index, children: [item.name, " - ", item.moduleID] }, index);
1746
1746
  }) }) })] }), moduleEvents?.length === 0 &&
@@ -3421,7 +3421,7 @@ const LimitCharsExceededMessage = styled__default["default"].span `
3421
3421
  `;
3422
3422
  // transform: scale(0.845);
3423
3423
 
3424
- const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onContentUnformat, onChange, value, replyMentionedUser }) => {
3424
+ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onContentUnformat, onChange, value, replyMentionedUser, initialText }) => {
3425
3425
  const [showMention, setShowMention] = React.useState(false);
3426
3426
  const [inputSearch, setInputSearch] = React.useState('');
3427
3427
  const divInputRef = React.useRef(null);
@@ -3457,8 +3457,8 @@ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onC
3457
3457
  mentionAnchorElement.style.fontWeight = 'bold';
3458
3458
  mentionAnchorElement.style.color = DesignTokens.colors.primary1;
3459
3459
  mentionAnchorElement.setAttribute('data-mention-id', user.user_uuid);
3460
- mentionAnchorElement.setAttribute("contenteditable", "false");
3461
- mentionAnchorElement.setAttribute("href", `/profile/${user.user_uuid}`);
3460
+ mentionAnchorElement.setAttribute('contenteditable', 'false');
3461
+ mentionAnchorElement.setAttribute('href', `/profile/${user.user_uuid}`);
3462
3462
  return mentionAnchorElement;
3463
3463
  };
3464
3464
  const handleMentionUser = (user) => {
@@ -3532,8 +3532,8 @@ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onC
3532
3532
  let inputSearch = '';
3533
3533
  let hasSpaceBeForeKey = false;
3534
3534
  let hasKeyPresent = false;
3535
- let textBeforeCursor = "";
3536
- let textBeforeKey = "";
3535
+ let textBeforeCursor = '';
3536
+ let textBeforeKey = '';
3537
3537
  if (selection && selection.rangeCount > 0) {
3538
3538
  const range = selection.getRangeAt(0);
3539
3539
  if (range.startContainer.textContent === null)
@@ -3543,13 +3543,13 @@ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onC
3543
3543
  // Find the last index of "@" in the text before the cursor
3544
3544
  const atIndex = completeText.lastIndexOf('@');
3545
3545
  textBeforeCursor = range.startContainer.textContent.substring(atIndex, range.startOffset);
3546
- hasSpaceBeForeKey = completeText.substring(atIndex - 1, atIndex).trim() === "";
3546
+ hasSpaceBeForeKey = completeText.substring(atIndex - 1, atIndex).trim() === '';
3547
3547
  textBeforeKey = completeText.substring(atIndex - 1, atIndex).trim();
3548
- if (hasSpaceBeForeKey || (textBeforeCursor === "@" && textBeforeKey.length === 0)) {
3548
+ if (hasSpaceBeForeKey || (textBeforeCursor === '@' && textBeforeKey.length === 0)) {
3549
3549
  if (atIndex !== -1) {
3550
3550
  // Get the characters after the last "@"
3551
3551
  const afterAt = completeText.substring(atIndex);
3552
- if (afterAt.length > 1 || event.key === "@" || textBeforeCursor === "@") {
3552
+ if (afterAt.length > 1 || event.key === '@' || textBeforeCursor === '@') {
3553
3553
  hasKeyPresent = true;
3554
3554
  }
3555
3555
  inputSearch = afterAt.replace('@', '');
@@ -3563,7 +3563,7 @@ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onC
3563
3563
  setShowMention(false);
3564
3564
  }
3565
3565
  }
3566
- if ((hasSpaceBeForeKey && hasKeyPresent) || (textBeforeCursor === "@" && textBeforeKey.length === 0)) {
3566
+ if ((hasSpaceBeForeKey && hasKeyPresent) || (textBeforeCursor === '@' && textBeforeKey.length === 0)) {
3567
3567
  setShowMention(true);
3568
3568
  setInputSearch(inputSearch);
3569
3569
  !!onChange && onChange(inputSearch);
@@ -3587,7 +3587,7 @@ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onC
3587
3587
  const areChildrenEmpty = () => {
3588
3588
  // return if divInputRef has child empty
3589
3589
  let isEmpty = false;
3590
- //if divInputRef is not focused
3590
+ //if divInputRef is not focused
3591
3591
  const isFocused = divInputRef.current === document.activeElement;
3592
3592
  if (divInputRef.current && !isFocused) {
3593
3593
  if (divInputRef.current.childNodes.length <= 0)
@@ -3628,6 +3628,9 @@ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onC
3628
3628
  }
3629
3629
  };
3630
3630
  React.useEffect(() => {
3631
+ if (divInputRef.current && initialText) {
3632
+ divInputRef.current.innerHTML = initialText;
3633
+ }
3631
3634
  divInputRef.current?.addEventListener('input', resizeDiv);
3632
3635
  return () => {
3633
3636
  divInputRef.current?.removeEventListener('input', resizeDiv);
@@ -3686,7 +3689,11 @@ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onC
3686
3689
  });
3687
3690
  //capture the cursor position on arrow up and down or left and right and check if it´s close to the @ key
3688
3691
  divInputRef.current.addEventListener('keyup', (event) => {
3689
- if (event.key === 'ArrowUp' || event.key === 'ArrowDown' || event.key === 'ArrowLeft' || event.key === 'ArrowRight' || event.key === 'Enter') {
3692
+ if (event.key === 'ArrowUp' ||
3693
+ event.key === 'ArrowDown' ||
3694
+ event.key === 'ArrowLeft' ||
3695
+ event.key === 'ArrowRight' ||
3696
+ event.key === 'Enter') {
3690
3697
  setShowMention(false);
3691
3698
  }
3692
3699
  });
@@ -3720,7 +3727,11 @@ const useInputHook = ({ limit, placeholder, onSendMentions, onContentFormat, onC
3720
3727
  });
3721
3728
  //capture the cursor position on arrow up and down or left and right and check if it´s close to the @ key
3722
3729
  divInputRef.current.removeEventListener('keyup', (event) => {
3723
- if (event.key === 'ArrowUp' || event.key === 'ArrowDown' || event.key === 'ArrowLeft' || event.key === 'ArrowRight' || event.key === 'Enter') {
3730
+ if (event.key === 'ArrowUp' ||
3731
+ event.key === 'ArrowDown' ||
3732
+ event.key === 'ArrowLeft' ||
3733
+ event.key === 'ArrowRight' ||
3734
+ event.key === 'Enter') {
3724
3735
  setShowMention(false);
3725
3736
  }
3726
3737
  });
@@ -3761,7 +3772,7 @@ const DefaultProfile = ({ className, size = 40 }) => {
3761
3772
  return (jsxRuntime.jsxs("svg", { className: className, width: size, height: size, viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", children: [jsxRuntime.jsx("path", { d: "M40 19.9999C40 8.95419 31.0463 2.71419e-06 19.9991 1.7484e-06C8.9537 7.82768e-07 -7.82789e-07 8.95419 -1.74842e-06 19.9999C-2.71406e-06 31.0456 8.95369 40 19.9991 40C31.0463 40 40 31.0456 40 19.9999Z", fill: "url(#pattern0)" }), jsxRuntime.jsxs("defs", { children: [jsxRuntime.jsx("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: jsxRuntime.jsx("use", { xlinkHref: "#image0_1049_1923", transform: "scale(0.00287356)" }) }), jsxRuntime.jsx("image", { id: "image0_1049_1923", width: "348", height: "348", xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVwAAAFcC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u7pyshWjlChF3RALy0I4YMeKZXC73f+iblXWSk5+HhJu8DpRI8PTTTy84d+7c/zx37twXe3t7m6IsknUrFxWKDxw4EAVCX2NJsr5gMroTCddo9fkTvky+58+fv/LChQuhLN+sWrnIZbx7925/QIfoBXdBc3PzK7RkQ4Bn4BASroFKiyLypk2bvtTd3b383Llzt/b09Fzqd64sWrkqIhIQXdDS0nK4ubl5bVNT068YYeD3BKajHwk3HXoMvYsg1m+WcizIuiRDZEFLS0sHrdjQRzRVA0m4qVJn9M089dRT/7W7u/vfenp6JlVbwFnKsRC2RE7Zgh0yZMjfc7nc/2X4VvQzmaYZSLhp0qaCvcAC7unp+daFCxeu6e7u/tT48eMHz5o1S8FK+kzp99kurNdhw4Z1Dhs2bN+QIUNeHjx48CZGFOijRx0lIeHqqBXNZdq0adN/GzRo0O0tLS1fa21tHTpq1Chr/PjxmkvtT7x6l2SIIBg6dGjn0KFD38nlchuamppeI7n6w5S9PkGAhMvTIA2BLVu2/HfLsr4BIsaktm27ERFXXHGFtDVUTrRnz57eQ4cOdTU3N+/BOiRWlWhnc24Sbjb1nsiut27duhMLDx48eHJzc3Mr/j58+PAhI0aM6IsTbm1tlVZT7fjx4yhV7pQ3e+rUqQtnzpw5g//u7u4uXrx48d8dx/l/t9xyy/2JAMJFM4fA/wf65vwkZAwMJwAAAABJRU5ErkJggg==" })] })] }));
3762
3773
  };
3763
3774
 
3764
- const Container$j = styled__default["default"].div `
3775
+ const Container$k = styled__default["default"].div `
3765
3776
  background-color: #ffff;
3766
3777
  display: ${({ hide }) => hide ? 'none' : 'flex'};
3767
3778
  justify-content: center;
@@ -3923,7 +3934,7 @@ const useMentions = (mention) => {
3923
3934
  const Mentions = (mention) => {
3924
3935
  const { selectedUser, setSelectedUser, mentionListRef } = useMentions(mention);
3925
3936
  const { top, users } = mention;
3926
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(Container$j, { top: top, tabIndex: 0, hide: !users || users.length <= 0, children: jsxRuntime.jsx(MentionList, { tabIndex: 1, ref: mentionListRef, children: users?.map((user, index) => {
3937
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(Container$k, { top: top, tabIndex: 0, hide: !users || users.length <= 0, children: jsxRuntime.jsx(MentionList, { tabIndex: 1, ref: mentionListRef, children: users?.map((user, index) => {
3927
3938
  return (jsxRuntime.jsxs(MentionItem, { tabIndex: index += 2, active: user.user_uuid === selectedUser?.user_uuid, onMouseDown: () => setSelectedUser(user), onKeyUpCapture: (e) => {
3928
3939
  if (e.key.toLowerCase() === 'enter') {
3929
3940
  setSelectedUser(user);
@@ -3932,17 +3943,24 @@ const Mentions = (mention) => {
3932
3943
  }) }) }) }));
3933
3944
  };
3934
3945
 
3935
- function InputComment$1({ placeholder, onChange, limit, users, showCharacterCounter, styles, onSendMentions, onContentFormat, onContentUnformat, disabled, className, value, replyMentionedUser, group_uuid, limitMessageExceeded }) {
3936
- const { divPlaceholder, handleInput, isPlaceholder, divInputRef, handleMentionUser, mentionTopPosition, setShowMention, showMention, textLength, styleLimitExceeded } = useInputHook({ limit, placeholder, onContentFormat, onContentUnformat, onSendMentions, onChange, value, replyMentionedUser });
3946
+ function InputComment$1({ placeholder, onChange, limit, users, showCharacterCounter, styles, onSendMentions, onContentFormat, onContentUnformat, disabled, className, value, replyMentionedUser, group_uuid, limitMessageExceeded, initialText }) {
3947
+ const { divPlaceholder, handleInput, isPlaceholder, divInputRef, handleMentionUser, mentionTopPosition, setShowMention, showMention, textLength, styleLimitExceeded } = useInputHook({
3948
+ limit,
3949
+ placeholder,
3950
+ onContentFormat,
3951
+ onContentUnformat,
3952
+ onSendMentions,
3953
+ onChange,
3954
+ value,
3955
+ replyMentionedUser,
3956
+ initialText
3957
+ });
3937
3958
  return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs("div", { style: { minHeight: '48px', ...styles }, tabIndex: 0, children: [jsxRuntime.jsxs(InputWrapper$2, { tabIndex: 1, isPlaceholder: isPlaceholder, isInputLimit: styleLimitExceeded, children: [jsxRuntime.jsx(InputText$4, { id: "input-comment-component", tabIndex: 2, contentEditable: true, ref: divInputRef, onKeyUpCapture: (event) => {
3938
3959
  handleInput(event);
3939
- }, "data-text": "enter", suppressContentEditableWarning: true, children: jsxRuntime.jsx("p", { children: jsxRuntime.jsx("br", {}) }) }), jsxRuntime.jsx(InputPlaceholder, { style: { display: 'none' }, contentEditable: true, ref: divPlaceholder, children: placeholder }), showMention && users && users.length > 0 && jsxRuntime.jsx(Mentions, { users: users, top: mentionTopPosition, onSelect: (user) => {
3960
+ }, "data-text": "enter", suppressContentEditableWarning: true, children: jsxRuntime.jsx("p", { children: jsxRuntime.jsx("br", {}) }) }), jsxRuntime.jsx(InputPlaceholder, { style: { display: 'none' }, contentEditable: true, ref: divPlaceholder, children: placeholder }), showMention && users && users.length > 0 && (jsxRuntime.jsx(Mentions, { users: users, top: mentionTopPosition, onSelect: (user) => {
3940
3961
  setShowMention(false);
3941
3962
  handleMentionUser(user);
3942
- } })] }), jsxRuntime.jsx(HelperContainer, { children: !isPlaceholder ?
3943
- jsxRuntime.jsxs(HelperText$2, { isInputLimit: styleLimitExceeded, children: [textLength, "/", limit] })
3944
- :
3945
- jsxRuntime.jsx(jsxRuntime.Fragment, {}) }), styleLimitExceeded && (jsxRuntime.jsxs(LimitCharsContainer, { children: [jsxRuntime.jsx(TagAlert, {}), jsxRuntime.jsx(LimitCharsExceededMessage, { children: limitMessageExceeded })] }))] }) }));
3963
+ } }))] }), jsxRuntime.jsx(HelperContainer, { children: !isPlaceholder ? (jsxRuntime.jsxs(HelperText$2, { isInputLimit: styleLimitExceeded, children: [textLength, "/", limit] })) : (jsxRuntime.jsx(jsxRuntime.Fragment, {})) }), styleLimitExceeded && (jsxRuntime.jsxs(LimitCharsContainer, { children: [jsxRuntime.jsx(TagAlert, {}), jsxRuntime.jsx(LimitCharsExceededMessage, { children: limitMessageExceeded })] }))] }) }));
3946
3964
  }
3947
3965
 
3948
3966
  const HeaderWrapper$1 = styled__default["default"].div `
@@ -4400,7 +4418,7 @@ function CommentaryBox({ name, className, styles, position, value, date, actionL
4400
4418
  jsxRuntime.jsxs(LinkButton, { onClick: actionAnswer, children: [" ", textAnswer, " "] })] })] })] })] }) }));
4401
4419
  }
4402
4420
 
4403
- const Container$i = styled__default["default"].div `
4421
+ const Container$j = styled__default["default"].div `
4404
4422
  display:flex;
4405
4423
  width: ${({ width }) => width ? width : "100%"};
4406
4424
  height: ${({ height }) => height ? height : "auto"};
@@ -4453,7 +4471,7 @@ const MenuMoreContainer = styled__default["default"].div `
4453
4471
  justify-content: center;
4454
4472
  margin-top: 5px;
4455
4473
  padding: 4px;
4456
-
4474
+
4457
4475
  &:hover {
4458
4476
  background-color: #f2f2f2;
4459
4477
  }
@@ -4469,7 +4487,6 @@ const LikesContainer = styled__default["default"].div `
4469
4487
  font-style: normal;
4470
4488
  font-weight: 400;
4471
4489
  line-height: 110%;
4472
-
4473
4490
  `;
4474
4491
  const IconLikeContainer = styled__default["default"].div `
4475
4492
  & > *:last-child {
@@ -4535,6 +4552,8 @@ const FlexButtonContainer = styled__default["default"].div `
4535
4552
  const Text$2 = styled__default["default"].div `
4536
4553
  color: #444;
4537
4554
  font-family: Work Sans;
4555
+ font-weight: 400;
4556
+ line-height: 140%;
4538
4557
  font-size: 16px;
4539
4558
  font-style: normal;
4540
4559
  overflow: hidden;
@@ -4820,24 +4839,150 @@ const createUUID = () => {
4820
4839
  return uuid;
4821
4840
  };
4822
4841
 
4823
- const CommentaryBoxV2 = ({ userName, imgProfile, userCompany, userOffice, showMoreText, relationToPhaseText, showLessText, showLikeButton, styles, actionLike, answerButtonText, likeButtonText, commentTextWithMention, editText, deleteText, isAuthor, isOwnerPost, howLongAgo, commentId, commentUuid, commentText, actionAnswer, onClickUserInfo, actionEditComment, actionDeleteComment, isMainComment, likesCount, hasActionToClickOnAvatar, showOptions, itsLiked }) => {
4842
+ const container = styled__default["default"].div `
4843
+ display: flex;
4844
+ justify-content: center;
4845
+ align-items: center;
4846
+ flex-direction: ${({ textPosition }) => textPosition === 'left' ? 'row-reverse'
4847
+ : textPosition === 'right' ? 'row'
4848
+ : textPosition === 'top' ? 'column-reverse'
4849
+ : textPosition === 'bottom' ? 'column'
4850
+ : null};
4851
+ position: relative;
4852
+ width: auto;
4853
+ gap: 8px;
4854
+ padding: 16px;
4855
+ `;
4856
+ const loader = styled__default["default"].div `
4857
+
4858
+ svg {
4859
+ animation: load 1.5s infinite linear;
4860
+
4861
+ @keyframes load {
4862
+ 0% {
4863
+ transform: rotate(0deg);
4864
+ }
4865
+ 100% {
4866
+ transform: rotate(360deg);
4867
+ }
4868
+ }
4869
+ }
4870
+ `;
4871
+ const loadText = styled__default["default"].p `
4872
+ font-family: 'Inter';
4873
+ font-size: 14px;
4874
+ font-weight: 400;
4875
+ line-height: 20px;
4876
+ `;
4877
+
4878
+ function Loading(props) {
4879
+ const [Size, setSize] = React.useState('24');
4880
+ const [Color, setColor] = React.useState(props.loadColor ? props.loadColor : '');
4881
+ const [PositionTextLoad, setPositionTextLoad] = React.useState(props.positionLoadingText ? props.positionLoadingText : 'bottom');
4882
+ const [LoadText, setLoadText] = React.useState(props.loadText ? props.loadText : '');
4883
+ React.useEffect(() => {
4884
+ setLoadText(props.loadText);
4885
+ }, [props.loadText]);
4886
+ React.useEffect(() => {
4887
+ setColor(props.loadColor);
4888
+ }, [props.loadColor]);
4889
+ React.useEffect(() => {
4890
+ setPositionTextLoad(props.positionLoadingText);
4891
+ }, [props.positionLoadingText]);
4892
+ React.useEffect(() => {
4893
+ if (props.sizeLoading === 'extra-small') {
4894
+ setSize('16');
4895
+ }
4896
+ else if (props.sizeLoading === 'small') {
4897
+ setSize('20');
4898
+ }
4899
+ else if (props.sizeLoading === 'medium') {
4900
+ setSize('24');
4901
+ }
4902
+ else if (props.sizeLoading === 'large') {
4903
+ setSize('32');
4904
+ }
4905
+ else if (props.sizeLoading === 'extra-large') {
4906
+ setSize('40');
4907
+ }
4908
+ else {
4909
+ setSize('24');
4910
+ }
4911
+ }, [props.sizeLoading]);
4912
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(container, { textPosition: PositionTextLoad, style: { ...props.style }, children: [jsxRuntime.jsx(loader, { children: jsxRuntime.jsx(Load, { width: Size, height: Size, fill: Color !== '' && Color }) }), jsxRuntime.jsx(loadText, { style: { color: props.loadTextColor ? props.loadTextColor : 'white' }, children: LoadText })] }) }));
4913
+ }
4914
+
4915
+ const InputContainer$1 = styled__default["default"].div `
4916
+ display:flex;
4917
+ flex-direction:column;
4918
+ position:relative;
4919
+ `;
4920
+ const Container$i = styled__default["default"].div `
4921
+ display:flex;
4922
+ justify-content:center;
4923
+ flex-direction:column;
4924
+ width:100%;
4925
+ `;
4926
+ const SpanText = styled__default["default"].p `
4927
+ color: #000;
4928
+ font-family: PT Sans;
4929
+ font-size: 16px;
4930
+ font-style: normal;
4931
+ font-weight: 400;
4932
+ line-height: 110%;
4933
+ `;
4934
+ const ButtonsContainer = styled__default["default"].div `
4935
+ width:175px;
4936
+ display:flex;
4937
+ align-items: center;
4938
+ justify-content: space-between;
4939
+ margin-left:auto;
4940
+ `;
4941
+
4942
+ const InputEdit = ({ placeHolderText, commentText, commentTextWithMention, getSearchUsers, onClickEditButton, limitInput, editButtonText, cancelButtonText, orText, limitMessageExceeded, commentUUID, group_uuid, setIsModeEdit }) => {
4943
+ const [comment, setComment] = React.useState(commentText);
4944
+ const [CaptureFormattedValue, setCaptureFormattedValue] = React.useState(commentTextWithMention);
4945
+ const [captureMentions, setCaptureMentions] = React.useState([]);
4946
+ const [users, setUsers] = React.useState([]);
4947
+ const [isLoading, setIsLoading] = React.useState(false);
4948
+ const inputRef = React.useRef(null);
4949
+ let timeout;
4950
+ const setCommentData = (value) => {
4951
+ clearTimeout(timeout);
4952
+ timeout = setTimeout(() => {
4953
+ setComment(value);
4954
+ }, 300);
4955
+ };
4956
+ const handleSearchUsers = async (value) => {
4957
+ const response = await getSearchUsers(value);
4958
+ setUsers(response?.data?.results || response);
4959
+ };
4960
+ return (jsxRuntime.jsxs(Container$i, { children: [jsxRuntime.jsx(InputContainer$1, { ref: inputRef, style: { width: '100%' }, children: jsxRuntime.jsx(InputComment$1, { styles: { width: '100%' }, onChange: (e) => {
4961
+ handleSearchUsers(e);
4962
+ }, value: comment, placeholder: placeHolderText, limit: limitInput, showCharacterCounter: true, onContentUnformat: (unformattedValue) => setCommentData(unformattedValue), onContentFormat: (formattedValue) => setCaptureFormattedValue(formattedValue), onSendMentions: (mentions) => setCaptureMentions(mentions), users: users, group_uuid: group_uuid, limitMessageExceeded: limitMessageExceeded, initialText: CaptureFormattedValue || comment }) }), jsxRuntime.jsxs(ButtonsContainer, { children: [jsxRuntime.jsx(MiniButton, { label: cancelButtonText, onClick: () => setIsModeEdit(false), variant: 'secondary' }), jsxRuntime.jsx(SpanText, { children: orText }), jsxRuntime.jsx(MiniButton, { disabled: comment.length <= 0 || comment.length > limitInput || isLoading, label: editButtonText, onClick: () => onClickEditButton({
4963
+ commentUuid: commentUUID,
4964
+ content: comment,
4965
+ contentMention: CaptureFormattedValue,
4966
+ mentions: captureMentions
4967
+ }), variant: "primary", styles: {} })] }), isLoading && jsxRuntime.jsx(Loading, {})] }));
4968
+ };
4969
+
4970
+ const CommentaryBoxV2 = ({ userName, imgProfile, userCompany, userOffice, showMoreText, relationToPhaseText, showLessText, showLikeButton, styles, actionLike, answerButtonText, likeButtonText, commentTextWithMention, editText, deleteText, isAuthor, isOwnerPost, howLongAgo, commentId, commentUuid, commentText, actionAnswer, onClickUserInfo, actionEditComment, actionDeleteComment, isMainComment, likesCount, hasActionToClickOnAvatar, showOptions, itsLiked, limitInput = 800, saveButtonText, cancelButtonText, orText, groupUuid, limitMessageExceeded }) => {
4824
4971
  const iDCommentPosted = commentId ? commentId : `IDCommentPosted-${createUUID()}`;
4825
4972
  const [isLiked, setIsLiked] = React.useState(itsLiked);
4826
- ({
4973
+ const [isModeEdit, setIsModeEdit] = React.useState(false);
4974
+ const edit = {
4827
4975
  description: editText,
4828
4976
  startIcon: jsxRuntime.jsx(EditIcon, { fill: "#222" }),
4829
- onClick: actionEditComment
4830
- });
4977
+ onClick: () => setIsModeEdit(true)
4978
+ };
4831
4979
  const exclude = {
4832
4980
  description: deleteText,
4833
4981
  startIcon: jsxRuntime.jsx(TrashIconNew, { fill: "#C1341A" }),
4834
4982
  onClick: () => actionDeleteComment(commentUuid),
4835
4983
  color: '#C1341A'
4836
4984
  };
4837
- const authorOptions = [
4838
- // edit,
4839
- exclude
4840
- ];
4985
+ const authorOptions = [edit, exclude];
4841
4986
  const ownerPost = [exclude];
4842
4987
  const handleLike = () => {
4843
4988
  try {
@@ -4870,9 +5015,9 @@ const CommentaryBoxV2 = ({ userName, imgProfile, userCompany, userOffice, showMo
4870
5015
  window.removeEventListener('resize', handleResize);
4871
5016
  };
4872
5017
  }, []);
4873
- return (jsxRuntime.jsxs(styled.ThemeProvider, { theme: FRSTTheme, children: [jsxRuntime.jsxs(Container$i, { style: { ...styles }, children: [jsxRuntime.jsx(Avatar, { size: isMainComment ? '48px' : '32px', src: imgProfile, onClick: onClickUserInfo, style: { cursor: hasActionToClickOnAvatar ? 'pointer' : 'default', marginRight: '6px' } }), jsxRuntime.jsxs(Box, { children: [jsxRuntime.jsxs(UserDataContainer, { children: [jsxRuntime.jsxs(FirstChildUserData, { children: [jsxRuntime.jsx(Username, { children: userName }), likesCount > 0 && (jsxRuntime.jsxs(LikesContainer, { children: [jsxRuntime.jsx(IconLikeContainer, { children: jsxRuntime.jsx(IconLikeFilled, { fill: "#fff", stroke: "#fff", customColor_1: '#757575', width: "16px", height: "16px" }) }), jsxRuntime.jsx("p", { children: likesCount })] }))] }), jsxRuntime.jsxs(UserDataLastChild, { children: [userOffice && userOffice, " ", userCompany && `• ${userCompany}`, " ", howLongAgo && `• ${howLongAgo}`] })] }), relationToPhaseText && jsxRuntime.jsx(RelationContainer, { children: relationToPhaseText }), jsxRuntime.jsxs(TextContainer$1, { id: "textContainerId", children: [jsxRuntime.jsx(Text$2, { style: isExpanded ? { display: 'block' } : { display: '-webkit-box' }, id: iDCommentPosted, dangerouslySetInnerHTML: {
5018
+ return (jsxRuntime.jsxs(styled.ThemeProvider, { theme: FRSTTheme, children: [jsxRuntime.jsxs(Container$j, { style: { ...styles }, children: [jsxRuntime.jsx(Avatar, { size: isMainComment ? '48px' : '32px', src: imgProfile, onClick: onClickUserInfo, style: { cursor: hasActionToClickOnAvatar ? 'pointer' : 'default', marginRight: '6px' } }), isModeEdit ? (jsxRuntime.jsx(InputEdit, { placeHolderText: 'teste', commentText: buildStringWithLinkHTML(commentText), commentTextWithMention: commentTextWithMention && buildStringWithLinkHTML(commentTextWithMention), editButtonText: saveButtonText, onClickEditButton: actionEditComment, limitInput: limitInput, cancelButtonText: cancelButtonText, orText: orText, limitMessageExceeded: limitMessageExceeded, commentUUID: commentUuid, setIsModeEdit: setIsModeEdit, group_uuid: groupUuid })) : (jsxRuntime.jsxs(Box, { children: [jsxRuntime.jsxs(UserDataContainer, { children: [jsxRuntime.jsxs(FirstChildUserData, { children: [jsxRuntime.jsx(Username, { children: userName }), likesCount > 0 && (jsxRuntime.jsxs(LikesContainer, { children: [jsxRuntime.jsx(IconLikeContainer, { children: jsxRuntime.jsx(IconLikeFilled, { fill: "#fff", stroke: "#fff", customColor_1: '#757575', width: "16px", height: "16px" }) }), jsxRuntime.jsx("p", { children: likesCount })] }))] }), jsxRuntime.jsxs(UserDataLastChild, { children: [userOffice && userOffice, " ", userCompany && `• ${userCompany}`, " ", howLongAgo && `• ${howLongAgo}`] })] }), relationToPhaseText && jsxRuntime.jsx(RelationContainer, { children: relationToPhaseText }), jsxRuntime.jsxs(TextContainer$1, { id: "textContainerId", children: [jsxRuntime.jsx(Text$2, { style: isExpanded ? { display: 'block' } : { display: '-webkit-box' }, id: iDCommentPosted, dangerouslySetInnerHTML: {
4874
5019
  __html: buildStringWithLinkHTML(commentTextWithMention ? commentTextWithMention : commentText)
4875
- } }), jsxRuntime.jsx(ShowMore$1, { isVisible: isEllipsisVisible, onClick: toggleExpand, children: isExpanded ? showLessText : showMoreText })] })] })] }), jsxRuntime.jsxs(InteractiveButtonsContainer, { style: isMainComment ? { marginLeft: '55px' } : {}, children: [showLikeButton && (jsxRuntime.jsxs(FlexButtonContainer, { onClick: handleLike, children: [isLiked ? jsxRuntime.jsx(IconLikeFilled, {}) : jsxRuntime.jsx(IconLikeLine, { fill: "#444" }), jsxRuntime.jsx(MiniButton, { variant: "terciary", onClick: handleLike, label: likeButtonText, active: isLiked, styles: { padding: '0px' } })] })), jsxRuntime.jsx(MiniButton, { variant: "terciary", onClick: actionAnswer, label: answerButtonText }), showOptions ? (isAuthor ? (jsxRuntime.jsx(MenuMoreContainer, { children: jsxRuntime.jsx(MenuMore, { options: authorOptions, style: {}, closeAfterClick: true, isHover: false }) })) : isOwnerPost ? (jsxRuntime.jsx(MenuMoreContainer, { children: jsxRuntime.jsx(MenuMore, { options: ownerPost, style: {}, closeAfterClick: true, isHover: false }) })) : (jsxRuntime.jsx(MenuMoreContainer, { children: jsxRuntime.jsx(MenuMore, { options: [], isHover: false }) }))) : (jsxRuntime.jsx("div", {}))] })] }));
5020
+ } }), jsxRuntime.jsx(ShowMore$1, { isVisible: isEllipsisVisible, onClick: toggleExpand, children: isExpanded ? showLessText : showMoreText })] })] }))] }), !isModeEdit && (jsxRuntime.jsxs(InteractiveButtonsContainer, { style: isMainComment ? { marginLeft: '55px' } : {}, children: [showLikeButton && (jsxRuntime.jsxs(FlexButtonContainer, { onClick: handleLike, children: [isLiked ? jsxRuntime.jsx(IconLikeFilled, {}) : jsxRuntime.jsx(IconLikeLine, { fill: "#444" }), jsxRuntime.jsx(MiniButton, { variant: "terciary", onClick: handleLike, label: likeButtonText, active: isLiked, styles: { padding: '0px' } })] })), jsxRuntime.jsx(MiniButton, { variant: "terciary", onClick: actionAnswer, label: answerButtonText }), showOptions ? (isAuthor ? (jsxRuntime.jsx(MenuMoreContainer, { children: jsxRuntime.jsx(MenuMore, { options: authorOptions, style: {}, closeAfterClick: true, isHover: false }) })) : isOwnerPost ? (jsxRuntime.jsx(MenuMoreContainer, { children: jsxRuntime.jsx(MenuMore, { options: ownerPost, style: {}, closeAfterClick: true, isHover: false }) })) : (jsxRuntime.jsx(MenuMoreContainer, { children: jsxRuntime.jsx(MenuMore, { options: [], isHover: false }) }))) : (jsxRuntime.jsx("div", {}))] }))] }));
4876
5021
  };
4877
5022
 
4878
5023
  const Container$h = styled__default["default"].div `
@@ -4901,6 +5046,7 @@ line-height: 110%;
4901
5046
  position: relative;
4902
5047
  left: 59px;
4903
5048
  margin-top: 6px;
5049
+ width: 190px !important;
4904
5050
 
4905
5051
  span{
4906
5052
  cursor:pointer;
@@ -4911,83 +5057,10 @@ width: ${({ width }) => (width ? `${width}px` : 'auto')};
4911
5057
  margin-left:60px;
4912
5058
  `;
4913
5059
 
4914
- const CommentaryBoxReply = ({ commentData, showMoreButtonText, showLessButtonText, answerButtonText, onClickAnswerButton, isAuthor, isOwnerPost, deleteText, editText, onClickDelete }) => {
4915
- return (jsxRuntime.jsx(CommentaryBoxV2, { hasActionToClickOnAvatar: false, imgProfile: commentData.user?.avatar, itsLiked: false, userName: commentData.user?.name, userOffice: commentData.user?.role_name, userCompany: commentData.user?.company_name, commentId: commentData.id, commentText: commentData.text, commentUuid: commentData.uuid, howLongAgo: commentData.howLongAgo, showMoreText: showMoreButtonText, actionAnswer: () => onClickAnswerButton(commentData.id), showLessText: showLessButtonText, answerButtonText: answerButtonText, styles: { marginTop: '0px' }, commentTextWithMention: commentData.mentionText, isAuthor: isAuthor, isOwnerPost: isOwnerPost, deleteText: deleteText, editText: editText, showOptions: isAuthor || isOwnerPost, actionDeleteComment: onClickDelete }));
5060
+ const CommentaryBoxReply = ({ commentData, showMoreButtonText, showLessButtonText, answerButtonText, onClickAnswerButton, isAuthor, isOwnerPost, deleteText, editText, onClickDelete, limitInput, cancelButtonText, saveButtonText, orText, limitMessageExceeded }) => {
5061
+ return (jsxRuntime.jsx(CommentaryBoxV2, { hasActionToClickOnAvatar: false, imgProfile: commentData.user?.avatar, itsLiked: false, userName: commentData.user?.name, userOffice: commentData.user?.role_name, userCompany: commentData.user?.company_name, commentId: commentData.id, commentText: commentData.text, commentUuid: commentData.uuid, howLongAgo: commentData.howLongAgo, showMoreText: showMoreButtonText, actionAnswer: () => onClickAnswerButton(commentData.id), showLessText: showLessButtonText, answerButtonText: answerButtonText, styles: { marginTop: '0px' }, commentTextWithMention: commentData.mentionText, isAuthor: isAuthor, isOwnerPost: isOwnerPost, deleteText: deleteText, editText: editText, showOptions: isAuthor || isOwnerPost, actionDeleteComment: onClickDelete, limitInput: limitInput, cancelButtonText: cancelButtonText, saveButtonText: saveButtonText, orText: orText, limitMessageExceeded: limitMessageExceeded }));
4916
5062
  };
4917
5063
 
4918
- const container = styled__default["default"].div `
4919
- display: flex;
4920
- justify-content: center;
4921
- align-items: center;
4922
- flex-direction: ${({ textPosition }) => textPosition === 'left' ? 'row-reverse'
4923
- : textPosition === 'right' ? 'row'
4924
- : textPosition === 'top' ? 'column-reverse'
4925
- : textPosition === 'bottom' ? 'column'
4926
- : null};
4927
- position: relative;
4928
- width: auto;
4929
- gap: 8px;
4930
- padding: 16px;
4931
- `;
4932
- const loader = styled__default["default"].div `
4933
-
4934
- svg {
4935
- animation: load 1.5s infinite linear;
4936
-
4937
- @keyframes load {
4938
- 0% {
4939
- transform: rotate(0deg);
4940
- }
4941
- 100% {
4942
- transform: rotate(360deg);
4943
- }
4944
- }
4945
- }
4946
- `;
4947
- const loadText = styled__default["default"].p `
4948
- font-family: 'Inter';
4949
- font-size: 14px;
4950
- font-weight: 400;
4951
- line-height: 20px;
4952
- `;
4953
-
4954
- function Loading(props) {
4955
- const [Size, setSize] = React.useState('24');
4956
- const [Color, setColor] = React.useState(props.loadColor ? props.loadColor : '');
4957
- const [PositionTextLoad, setPositionTextLoad] = React.useState(props.positionLoadingText ? props.positionLoadingText : 'bottom');
4958
- const [LoadText, setLoadText] = React.useState(props.loadText ? props.loadText : '');
4959
- React.useEffect(() => {
4960
- setLoadText(props.loadText);
4961
- }, [props.loadText]);
4962
- React.useEffect(() => {
4963
- setColor(props.loadColor);
4964
- }, [props.loadColor]);
4965
- React.useEffect(() => {
4966
- setPositionTextLoad(props.positionLoadingText);
4967
- }, [props.positionLoadingText]);
4968
- React.useEffect(() => {
4969
- if (props.sizeLoading === 'extra-small') {
4970
- setSize('16');
4971
- }
4972
- else if (props.sizeLoading === 'small') {
4973
- setSize('20');
4974
- }
4975
- else if (props.sizeLoading === 'medium') {
4976
- setSize('24');
4977
- }
4978
- else if (props.sizeLoading === 'large') {
4979
- setSize('32');
4980
- }
4981
- else if (props.sizeLoading === 'extra-large') {
4982
- setSize('40');
4983
- }
4984
- else {
4985
- setSize('24');
4986
- }
4987
- }, [props.sizeLoading]);
4988
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(container, { textPosition: PositionTextLoad, style: { ...props.style }, children: [jsxRuntime.jsx(loader, { children: jsxRuntime.jsx(Load, { width: Size, height: Size, fill: Color !== '' && Color }) }), jsxRuntime.jsx(loadText, { style: { color: props.loadTextColor ? props.loadTextColor : 'white' }, children: LoadText })] }) }));
4989
- }
4990
-
4991
5064
  const InputContainer = styled__default["default"].div `
4992
5065
  display:flex;
4993
5066
  flex-direction:column;
@@ -5057,7 +5130,7 @@ const InputReply = ({ placeHolderText, getSearchUsers, onClickPublishButton, par
5057
5130
  }, value: comment, placeholder: placeHolderText, limit: limitInput, showCharacterCounter: true, onContentUnformat: (unformattedValue) => setCommentData(unformattedValue), onContentFormat: (formattedValue) => setCaptureFormattedValue(formattedValue), onSendMentions: (mentions) => setCaptureMentions(mentions), users: users, replyMentionedUser: !userMentionedOnReplied && user, group_uuid: group_uuid, limitMessageExceeded: limitMessageExceeded }), jsxRuntime.jsx(MiniButton, { disabled: comment.length <= 0 || comment.length > limitInput || isLoading, label: publishButtonText, onClick: () => handlePublish(), variant: "primary", styles: { marginLeft: 'auto', marginTop: '14px' } }), isLoading && jsxRuntime.jsx(Loading, {})] })] }));
5058
5131
  };
5059
5132
 
5060
- const ThreadComments = ({ mainComment, listReplyComments, placeHolderText, onClickPublishButton, showReplysButtonText, publishButtonText, limitInputs, answerButtonText, loggedInUser, group_uuid, getSearchUsers, showMoreButtonText, showLessButtonText, styles, relationToPhaseText, limitMessageExceeded, size = 5, showMoreReplysButtonText, isGoalOwner, editText, deleteText, onClickDelete }) => {
5133
+ const ThreadComments = ({ mainComment, listReplyComments, placeHolderText, onClickPublishButton, showReplysButtonText, publishButtonText, limitInputs, answerButtonText, loggedInUser, group_uuid, getSearchUsers, showMoreButtonText, showLessButtonText, styles, relationToPhaseText, limitMessageExceeded, size = 5, showMoreReplysButtonText, isGoalOwner, editText, deleteText, onClickDelete, cancelButtonText, saveButtonText, orText }) => {
5061
5134
  const [showAnswers, setShowAnswers] = React.useState(false);
5062
5135
  const [showReplysOnClickCounter, setReplysOnClickCounter] = React.useState(0);
5063
5136
  const [showReplyInput, setShowReplyInput] = React.useState(false);
@@ -5086,7 +5159,7 @@ const ThreadComments = ({ mainComment, listReplyComments, placeHolderText, onCli
5086
5159
  setShowInputByIdReply([...showInputByIdReply, idReply]);
5087
5160
  };
5088
5161
  const isMainCommentUser = mainComment.user?.uuid === loggedInUser?.id;
5089
- return (jsxRuntime.jsx(Container$h, { style: styles, children: jsxRuntime.jsxs(CommentarysContainer, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(CommentaryBoxV2, { hasActionToClickOnAvatar: false, imgProfile: mainComment.user?.avatar, itsLiked: false, userId: mainComment.user?.uuid, userName: mainComment.user?.name, userOffice: mainComment.user?.role_name, userCompany: mainComment.user?.company_name, commentId: mainComment.id, commentText: mainComment.text, howLongAgo: mainComment.howLongAgo, showMoreText: showMoreButtonText, showLessText: showLessButtonText, answerButtonText: answerButtonText, actionAnswer: handleCommentReply, actionDeleteComment: onClickDelete, relationToPhaseText: relationToPhaseText, commentTextWithMention: mainComment.mentionText, isMainComment: true, isAuthor: isMainCommentUser, isOwnerPost: isGoalOwner, deleteText: deleteText, editText: editText, showOptions: isMainCommentUser || isGoalOwner, commentUuid: mainComment.uuid }), listReplyComments.length > visibleReplies && (jsxRuntime.jsx(ViewReplysButtonContainer, { children: jsxRuntime.jsx("span", { onClick: handleLoadMoreReplies, children: showReplysOnClickCounter === 0 ? showReplysButtonText : showMoreReplysButtonText }) })), showReplyInput && (jsxRuntime.jsx(InputReply, { styles: { marginLeft: '60px' }, imgProfile: loggedInUser?.avatar, idInput: `idInput-${mainComment.id}`, placeHolderText: placeHolderText, publishButtonText: publishButtonText, limitInput: limitInputs, onClickPublishButton: onClickPublishButton, getSearchUsers: getSearchUsers, replyMentionedUser: mainComment.user, parentId: Number(mainComment.id), handleHiddenInput: handleHiddenInput, group_uuid: group_uuid, limitMessageExceeded: limitMessageExceeded }))] }), showAnswers && visibleReplies && (jsxRuntime.jsx(RepplysContainer, { style: { marginTop: '24px' }, children: listReplyComments.slice(0, visibleReplies).map((replyComment) => (jsxRuntime.jsxs("div", { style: { marginTop: "6px" }, children: [jsxRuntime.jsx(CommentaryBoxReply, { commentData: replyComment, answerButtonText: '', showMoreButtonText: showMoreButtonText, showLessButtonText: showLessButtonText, onClickAnswerButton: handleCommentReplyReply, isAuthor: replyComment.user?.uuid === loggedInUser?.id, isOwnerPost: (mainComment.user?.uuid === loggedInUser?.id) || isGoalOwner, deleteText: deleteText, editText: editText, onClickDelete: onClickDelete }), showInputByIdReply.includes(replyComment.id) && (jsxRuntime.jsx(InputReply, { imgProfile: loggedInUser?.avatar, styles: { width: '100%' }, idInput: `idInput-${replyComment.id}`, placeHolderText: placeHolderText, publishButtonText: publishButtonText, limitInput: limitInputs, onClickPublishButton: onClickPublishButton, replyMentionedUser: replyComment.user, getSearchUsers: getSearchUsers, parentId: Number(mainComment.id), handleHiddenInput: (replyId = replyComment.id) => handleHiddenInputReply(replyId), group_uuid: group_uuid, limitMessageExceeded: limitMessageExceeded }))] }, replyComment.id))) }))] }) }));
5162
+ return (jsxRuntime.jsx(Container$h, { style: styles, children: jsxRuntime.jsxs(CommentarysContainer, { children: [jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(CommentaryBoxV2, { hasActionToClickOnAvatar: false, imgProfile: mainComment.user?.avatar, itsLiked: false, userId: mainComment.user?.uuid, userName: mainComment.user?.name, userOffice: mainComment.user?.role_name, userCompany: mainComment.user?.company_name, commentId: mainComment.id, commentText: mainComment.text, howLongAgo: mainComment.howLongAgo, showMoreText: showMoreButtonText, showLessText: showLessButtonText, answerButtonText: answerButtonText, actionAnswer: handleCommentReply, actionDeleteComment: onClickDelete, relationToPhaseText: relationToPhaseText, commentTextWithMention: mainComment.mentionText, isMainComment: true, isAuthor: isMainCommentUser, isOwnerPost: isGoalOwner, deleteText: deleteText, editText: editText, showOptions: isMainCommentUser || isGoalOwner, commentUuid: mainComment.uuid, limitInput: limitInputs, groupUuid: group_uuid, cancelButtonText: cancelButtonText, saveButtonText: saveButtonText, orText: orText, limitMessageExceeded: limitMessageExceeded }), listReplyComments.length > visibleReplies && (jsxRuntime.jsx(ViewReplysButtonContainer, { children: jsxRuntime.jsx("span", { onClick: handleLoadMoreReplies, children: showReplysOnClickCounter === 0 ? showReplysButtonText : showMoreReplysButtonText }) })), showReplyInput && (jsxRuntime.jsx(InputReply, { styles: { marginLeft: '60px' }, imgProfile: loggedInUser?.avatar, idInput: `idInput-${mainComment.id}`, placeHolderText: placeHolderText, publishButtonText: publishButtonText, limitInput: limitInputs, onClickPublishButton: onClickPublishButton, getSearchUsers: getSearchUsers, replyMentionedUser: mainComment.user, parentId: Number(mainComment.id), handleHiddenInput: handleHiddenInput, group_uuid: group_uuid, limitMessageExceeded: limitMessageExceeded }))] }), showAnswers && visibleReplies && (jsxRuntime.jsx(RepplysContainer, { style: { marginTop: '24px' }, children: listReplyComments.slice(0, visibleReplies).map((replyComment) => (jsxRuntime.jsxs("div", { style: { marginTop: '6px' }, children: [jsxRuntime.jsx(CommentaryBoxReply, { commentData: replyComment, answerButtonText: '', showMoreButtonText: showMoreButtonText, showLessButtonText: showLessButtonText, onClickAnswerButton: handleCommentReplyReply, isAuthor: replyComment.user?.uuid === loggedInUser?.id, isOwnerPost: mainComment.user?.uuid === loggedInUser?.id || isGoalOwner, deleteText: deleteText, editText: editText, onClickDelete: onClickDelete, limitInput: limitInputs, groupUuid: group_uuid, cancelButtonText: cancelButtonText, saveButtonText: saveButtonText, orText: orText, limitMessageExceeded: limitMessageExceeded }), showInputByIdReply.includes(replyComment.id) && (jsxRuntime.jsx(InputReply, { imgProfile: loggedInUser?.avatar, styles: { width: '100%' }, idInput: `idInput-${replyComment.id}`, placeHolderText: placeHolderText, publishButtonText: publishButtonText, limitInput: limitInputs, onClickPublishButton: onClickPublishButton, replyMentionedUser: replyComment.user, getSearchUsers: getSearchUsers, parentId: Number(mainComment.id), handleHiddenInput: (replyId = replyComment.id) => handleHiddenInputReply(replyId), group_uuid: group_uuid, limitMessageExceeded: limitMessageExceeded }))] }, replyComment.id))) }))] }) }));
5090
5163
  };
5091
5164
 
5092
5165
  const ButtonCheckmark = styled__default["default"].div `
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { IThreadComments } from './threadComments.types';
3
- export declare const ThreadComments: ({ mainComment, listReplyComments, placeHolderText, onClickPublishButton, showReplysButtonText, publishButtonText, limitInputs, answerButtonText, loggedInUser, group_uuid, getSearchUsers, showMoreButtonText, showLessButtonText, styles, relationToPhaseText, limitMessageExceeded, size, showMoreReplysButtonText, isGoalOwner, editText, deleteText, onClickDelete }: IThreadComments) => JSX.Element;
3
+ export declare const ThreadComments: ({ mainComment, listReplyComments, placeHolderText, onClickPublishButton, showReplysButtonText, publishButtonText, limitInputs, answerButtonText, loggedInUser, group_uuid, getSearchUsers, showMoreButtonText, showLessButtonText, styles, relationToPhaseText, limitMessageExceeded, size, showMoreReplysButtonText, isGoalOwner, editText, deleteText, onClickDelete, cancelButtonText, saveButtonText, orText }: IThreadComments) => JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/ThreadComments/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAIxD,eAAO,MAAM,cAAc,6WAuBxB,eAAe,gBAqIjB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/ThreadComments/index.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAIxD,eAAO,MAAM,cAAc,uZA0BxB,eAAe,gBAiJjB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"threadComments.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/ThreadComments/threadComments.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,oEAMrB,CAAA;AACD,eAAO,MAAM,oBAAoB,oEAIhC,CAAA;AAED,eAAO,MAAM,cAAc,oEAG1B,CAAA;AAED,eAAO,MAAM,yBAAyB,oEAcrC,CAAA;AAED,eAAO,MAAM,gBAAgB;YAAwB,MAAM;SAG1D,CAAA"}
1
+ {"version":3,"file":"threadComments.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/ThreadComments/threadComments.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,oEAMrB,CAAA;AACD,eAAO,MAAM,oBAAoB,oEAIhC,CAAA;AAED,eAAO,MAAM,cAAc,oEAG1B,CAAA;AAED,eAAO,MAAM,yBAAyB,oEAerC,CAAA;AAED,eAAO,MAAM,gBAAgB;YAAwB,MAAM;SAG1D,CAAA"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ICommentComentaryBoxReply } from './commentaryBoxReply.types';
3
- export declare const CommentaryBoxReply: ({ commentData, showMoreButtonText, showLessButtonText, answerButtonText, onClickAnswerButton, isAuthor, isOwnerPost, deleteText, editText, onClickDelete }: ICommentComentaryBoxReply) => JSX.Element;
3
+ export declare const CommentaryBoxReply: ({ commentData, showMoreButtonText, showLessButtonText, answerButtonText, onClickAnswerButton, isAuthor, isOwnerPost, deleteText, editText, onClickDelete, limitInput, cancelButtonText, saveButtonText, orText, limitMessageExceeded }: ICommentComentaryBoxReply) => JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,yBAAyB,EAAC,MAAM,4BAA4B,CAAC;AAGrE,eAAO,MAAM,kBAAkB,+JAC5B,yBAAyB,gBAkB3B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAGtE,eAAO,MAAM,kBAAkB,2OAgB5B,yBAAyB,gBAgC3B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommentaryBoxV2.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/commentaryBoxV2/CommentaryBoxV2.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;YAAwB,MAAM;aAAW,MAAM;SAIpE,CAAC;AAEF,eAAO,MAAM,GAAG;YAAwB,MAAM;aAAW,MAAM;SAU9D,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEAM7B,CAAA;AACD,eAAO,MAAM,QAAQ,mEAOpB,CAAA;AAED,eAAO,MAAM,kBAAkB,oEAG7B,CAAA;AAEF,eAAO,MAAM,iBAAiB,oEAQ7B,CAAA;AAED,eA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A;CACrB"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ICommentaryBoxV2 } from './CommentaryBoxV2.types';
3
- export declare const CommentaryBoxV2: ({ userName, imgProfile, userCompany, userOffice, showMoreText, relationToPhaseText, showLessText, showLikeButton, styles, actionLike, answerButtonText, likeButtonText, commentTextWithMention, editText, deleteText, isAuthor, isOwnerPost, howLongAgo, commentId, commentUuid, commentText, actionAnswer, onClickUserInfo, actionEditComment, actionDeleteComment, isMainComment, likesCount, hasActionToClickOnAvatar, showOptions, itsLiked }: ICommentaryBoxV2) => JSX.Element;
3
+ export declare const CommentaryBoxV2: ({ userName, imgProfile, userCompany, userOffice, showMoreText, relationToPhaseText, showLessText, showLikeButton, styles, actionLike, answerButtonText, likeButtonText, commentTextWithMention, editText, deleteText, isAuthor, isOwnerPost, howLongAgo, commentId, commentUuid, commentText, actionAnswer, onClickUserInfo, actionEditComment, actionDeleteComment, isMainComment, likesCount, hasActionToClickOnAvatar, showOptions, itsLiked, limitInput, saveButtonText, cancelButtonText, orText, groupUuid, limitMessageExceeded }: ICommentaryBoxV2) => JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/commentaryBoxV2/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAS1D,eAAO,MAAM,eAAe,sbA+BzB,gBAAgB,gBAyIlB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/commentaryBoxV2/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAU1D,eAAO,MAAM,eAAe,6gBAqCzB,gBAAgB,gBA2JlB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { InputEdit } from './inputEdit/index';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/commentaryBoxV2/utilitiesComponents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IInputEdit } from './inputEdit.types';
3
+ export declare const InputEdit: ({ placeHolderText, commentText, commentTextWithMention, getSearchUsers, onClickEditButton, limitInput, editButtonText, cancelButtonText, orText, limitMessageExceeded, commentUUID, group_uuid, setIsModeEdit }: IInputEdit) => JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/commentaryBoxV2/utilitiesComponents/inputEdit/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,eAAO,MAAM,SAAS,oNAcnB,UAAU,gBAgFZ,CAAA"}
@@ -0,0 +1,5 @@
1
+ export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const SpanText: import("styled-components").StyledComponent<"p", any, {}, never>;
4
+ export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ //# sourceMappingURL=inputEdit.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inputEdit.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/commentaryBoxV2/utilitiesComponents/inputEdit/inputEdit.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,oEAI1B,CAAA;AAED,eAAO,MAAM,SAAS,oEAKrB,CAAA;AAED,eAAO,MAAM,QAAQ,kEAOpB,CAAA;AAED,eAAO,MAAM,gBAAgB,oEAM5B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import '../../shared/global.css';
3
3
  import { IInputComment } from './types';
4
- export default function InputComment({ placeholder, onChange, limit, users, showCharacterCounter, styles, onSendMentions, onContentFormat, onContentUnformat, disabled, className, value, replyMentionedUser, group_uuid, limitMessageExceeded }: IInputComment): JSX.Element;
4
+ export default function InputComment({ placeholder, onChange, limit, users, showCharacterCounter, styles, onSendMentions, onContentFormat, onContentUnformat, disabled, className, value, replyMentionedUser, group_uuid, limitMessageExceeded, initialText }: IInputComment): JSX.Element;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input-comment/index.tsx"],"names":[],"mappings":";AACA,OAAO,yBAAyB,CAAA;AAGhC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAOvC,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,oBAAoB,EAAE,EAAE,aAAa,eAyD9P"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/input-comment/index.tsx"],"names":[],"mappings":";AACA,OAAO,yBAAyB,CAAA;AAGhC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAOvC,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,WAAW,EACX,QAAQ,EACR,KAAK,EACL,KAAK,EACL,oBAAoB,EACpB,MAAM,EACN,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,KAAK,EACL,kBAAkB,EAClB,UAAU,EACV,oBAAoB,EACpB,WAAW,EACZ,EAAE,aAAa,eA2Ef"}
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { User } from "./types";
1
+ import React from 'react';
2
+ import { User } from './types';
3
3
  interface IInputHook {
4
4
  limit: number;
5
5
  placeholder: string;
@@ -9,8 +9,9 @@ interface IInputHook {
9
9
  onChange?: (value: any) => void;
10
10
  value?: string;
11
11
  replyMentionedUser?: User;
12
+ initialText?: string;
12
13
  }
13
- export declare const useInputHook: ({ limit, placeholder, onSendMentions, onContentFormat, onContentUnformat, onChange, value, replyMentionedUser }: IInputHook) => {
14
+ export declare const useInputHook: ({ limit, placeholder, onSendMentions, onContentFormat, onContentUnformat, onChange, value, replyMentionedUser, initialText }: IInputHook) => {
14
15
  handleInput: (event: React.KeyboardEvent) => void;
15
16
  handlePlaceholderInputText: (isPlaceHolderFocus?: boolean) => void;
16
17
  showMention: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useInputHook.d.ts","sourceRoot":"","sources":["../../../../src/components/input-comment/useInputHook.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,UAAU,UAAU;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC5C,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,iBAAiB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,IAAI,CAAA;CAC5B;AAED,eAAO,MAAM,YAAY,oHAAqH,UAAU;yBA2HxH,mBAAmB;sDAkFQ,OAAO;;;;;;;8BAjK7B,IAAI;;;;;CAqVxC,CAAA"}
1
+ {"version":3,"file":"useInputHook.d.ts","sourceRoot":"","sources":["../../../../src/components/input-comment/useInputHook.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC5C,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC1C,iBAAiB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,IAAI,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,YAAY,iIAUtB,UAAU;yBAiHiB,mBAAmB;sDA8ES,OAAO;;;;;;;8BApJ9B,IAAI;;;;;CAqUtC,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.22.25",
4
+ "version": "0.22.27",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",