frst-components 0.23.55 → 0.23.56
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.js +40 -44
- package/dist/src/components/DS/hypotesisAndImpediment/index.d.ts +1 -1
- package/dist/src/components/DS/hypotesisAndImpediment/index.d.ts.map +1 -1
- package/dist/src/components/DS/impedimentosTab/index.d.ts.map +1 -1
- package/dist/src/components/menu-more/index.d.ts +1 -1
- package/dist/src/components/menu-more/index.d.ts.map +1 -1
- package/dist/src/components/menu-more/menuMoreStyles.d.ts +1 -0
- package/dist/src/components/menu-more/menuMoreStyles.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -176,7 +176,7 @@ function Trash({ fill, width, height }) {
|
|
|
176
176
|
return (jsxRuntime.jsx("svg", { width: width ? width : '14', height: height ? height : '16', viewBox: `0 0 ${width ? width : '14'} ${height ? height : '16'}`, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.43064 2.09763C5.49315 2.03512 5.57794 2 5.66634 2H8.33301C8.42141 2 8.5062 2.03512 8.56871 2.09763C8.63122 2.16014 8.66634 2.24493 8.66634 2.33333V2.66667H5.33301V2.33333C5.33301 2.24493 5.36813 2.16014 5.43064 2.09763ZM10.6663 2.33333V2.66667H11.6663C11.6674 2.66667 11.6685 2.66667 11.6695 2.66667H13C13.5523 2.66667 14 3.11439 14 3.66667C14 4.21896 13.5523 4.66667 13 4.66667H12.6663V13C12.6663 13.6188 12.4205 14.2123 11.9829 14.6499C11.5453 15.0875 10.9518 15.3333 10.333 15.3333H3.66634C3.0475 15.3333 2.45401 15.0875 2.01643 14.6499C1.57884 14.2123 1.33301 13.6188 1.33301 13V4.66667H1C0.447715 4.66667 0 4.21896 0 3.66667C0 3.11439 0.447715 2.66667 1 2.66667H2.32981C2.33087 2.66667 2.33194 2.66667 2.33301 2.66667H3.33301V2.33333C3.33301 1.71449 3.57884 1.121 4.01643 0.683417C4.45401 0.245833 5.0475 0 5.66634 0H8.33301C8.95185 0 9.54534 0.245833 9.98292 0.683417C10.4205 1.121 10.6663 1.71449 10.6663 2.33333ZM3.33301 4.66667V13C3.33301 13.0884 3.36813 13.1732 3.43064 13.2357C3.49315 13.2982 3.57794 13.3333 3.66634 13.3333H10.333C10.4214 13.3333 10.5062 13.2982 10.5687 13.2357C10.6312 13.1732 10.6663 13.0884 10.6663 13V4.66667L3.33301 4.66667Z", fill: fill ? fill : '#0645AD' }) }));
|
|
177
177
|
}
|
|
178
178
|
function TrashDelete({ fill, width, height }) {
|
|
179
|
-
return (jsxRuntime.jsxs("svg", { width: width
|
|
179
|
+
return (jsxRuntime.jsxs("svg", { width: width ? width : '24', height: height ? height : '24', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M4.36035 7.33398H6.13813H20.3604", stroke: fill ?? '#923534', strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M18.9054 7.5V18.4C18.9054 18.8243 18.7083 19.2313 18.3576 19.5314C18.0069 19.8314 17.5312 20 17.0352 20H7.68458C7.18859 20 6.71292 19.8314 6.3622 19.5314C6.01148 19.2313 5.81445 18.8243 5.81445 18.4V7.5M8.61965 7.2V5.6C8.61965 5.17565 8.81668 4.76869 9.1674 4.46863C9.51811 4.16857 9.99379 4 10.4898 4H14.23C14.726 4 15.2017 4.16857 15.5524 4.46863C15.9031 4.76869 16.1002 5.17565 16.1002 5.6V7.2", stroke: fill ?? '#923534', strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
180
180
|
}
|
|
181
181
|
function AlertCicle({ fill, width, height }) {
|
|
182
182
|
return (jsxRuntime.jsxs("svg", { width: width ? width : '16', height: height ? height : '16', viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: fill ?? '#FF0000', strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M12 8V12", stroke: fill ?? '#FF0000', strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M12 16H12.01", stroke: fill ?? '#FF0000', strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
@@ -245,7 +245,7 @@ function CloseIcon$1({ fill, width = '12', height = '12' }) {
|
|
|
245
245
|
return (jsxRuntime.jsxs("svg", { width: width, height: height, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M11.3334 0.666687L0.666748 11.3334", stroke: fill ? fill : '#222222', strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M0.666748 0.666687L11.3334 11.3334", stroke: fill ? fill : '#222222', strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
246
246
|
}
|
|
247
247
|
function AddIcon({ fill, width, height }) {
|
|
248
|
-
return (jsxRuntime.jsxs("svg", { width: width ? width : '17', height: height ? height : '16', viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M8.16992 1V15", stroke: fill ? fill : '#0645AD', strokeWidth: "
|
|
248
|
+
return (jsxRuntime.jsxs("svg", { width: width ? width : '17', height: height ? height : '16', viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M8.16992 1V15", stroke: fill ? fill : '#0645AD', strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M1.16992 8H15.1699", stroke: fill ? fill : '#0645AD', strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
249
249
|
}
|
|
250
250
|
function OpenedEye({ fill, width, height }) {
|
|
251
251
|
return (jsxRuntime.jsxs("svg", { width: width ? width : '32', height: height ? height : '32', viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M5.33337 16C5.33337 16 9.21216 8 16 8C22.7879 8 26.6667 16 26.6667 16C26.6667 16 22.7879 24 16 24C9.21216 24 5.33337 16 5.33337 16Z", stroke: fill ? fill : '#0645AD', strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M16 18.6663C17.4728 18.6663 18.6667 17.4724 18.6667 15.9997C18.6667 14.5269 17.4728 13.333 16 13.333C14.5273 13.333 13.3334 14.5269 13.3334 15.9997C13.3334 17.4724 14.5273 18.6663 16 18.6663Z", stroke: fill ? fill : '#0645AD', strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
@@ -577,7 +577,7 @@ function DocumentResourceInfoIcon({ fill, width, height, fillOpacity, stroke, st
|
|
|
577
577
|
return (jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsx("path", { d: "M9.66602 1.3335H3.99935C3.64573 1.3335 3.30659 1.47397 3.05654 1.72402C2.80649 1.97407 2.66602 2.31321 2.66602 2.66683V13.3335C2.66602 13.6871 2.80649 14.0263 3.05654 14.2763C3.30659 14.5264 3.64573 14.6668 3.99935 14.6668H11.9993C12.353 14.6668 12.6921 14.5264 12.9422 14.2763C13.1922 14.0263 13.3327 13.6871 13.3327 13.3335V5.00016L9.66602 1.3335Z", stroke: "#222222", strokeLinecap: "round", strokeLinejoin: "round" }), jsxRuntime.jsx("path", { d: "M9.33398 1.3335V5.3335H13.334", stroke: "#222222", strokeLinecap: "round", strokeLinejoin: "round" })] }));
|
|
578
578
|
}
|
|
579
579
|
function StarPrioritize({ fill, width, height, fillOpacity, stroke, strokeWidth }) {
|
|
580
|
-
return (jsxRuntime.jsx("svg", { width:
|
|
580
|
+
return (jsxRuntime.jsx("svg", { width: width ? width : '20', height: height ? height : '19', viewBox: "0 0 20 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M8.76629 1.56915C9.29428 0.584872 10.7057 0.584872 11.2337 1.56915L12.7175 4.33521C13.0927 5.03459 13.7667 5.52431 14.5478 5.665L17.637 6.2214C18.7362 6.41939 19.1724 7.76174 18.3995 8.56805L16.2273 10.834C15.6781 11.4069 15.4206 12.1993 15.5282 12.9856L15.9536 16.0955C16.105 17.2022 14.9631 18.0318 13.9574 17.5459L11.1312 16.1802C10.4166 15.8349 9.58342 15.8349 8.86882 16.1802L6.04256 17.5459C5.03686 18.0318 3.89499 17.2022 4.04638 16.0955L4.47182 12.9856C4.57939 12.1993 4.32193 11.4069 3.77271 10.834L1.60055 8.56805C0.827603 7.76174 1.26376 6.41939 2.36302 6.2214L5.45222 5.665C6.23329 5.52431 6.90734 5.03459 7.28251 4.33521L8.76629 1.56915Z", stroke: stroke ? stroke : "#222222", strokeWidth: "1.2" }) }));
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
function styleInject(css, ref) {
|
|
@@ -3545,11 +3545,11 @@ styled__default["default"].div `
|
|
|
3545
3545
|
font-style: normal;
|
|
3546
3546
|
font-weight: 400;
|
|
3547
3547
|
font-size: 16px;
|
|
3548
|
-
line-height: 17.6px;
|
|
3548
|
+
/* line-height: 17.6px; */
|
|
3549
3549
|
`;
|
|
3550
3550
|
const IconOption = styled__default["default"].div `
|
|
3551
|
-
width: 20px;
|
|
3552
|
-
height: 30px;
|
|
3551
|
+
/* width: 20px;
|
|
3552
|
+
height: 30px; */
|
|
3553
3553
|
display: flex;
|
|
3554
3554
|
align-items: center;
|
|
3555
3555
|
justify-content: center;
|
|
@@ -3558,7 +3558,7 @@ const ButtonMenuNotification = styled__default["default"].button `
|
|
|
3558
3558
|
width: 100% !important;
|
|
3559
3559
|
text-decoration: none !important;
|
|
3560
3560
|
color: ${({ isColor }) => (isColor ? isColor : `#FFFFF`)} !important;
|
|
3561
|
-
padding: 6px 16px !important;
|
|
3561
|
+
padding: ${({ isContainerOptions }) => isContainerOptions ? '4px 10px 4px 8px' : ' 6px 16px !important'};
|
|
3562
3562
|
border: none !important;
|
|
3563
3563
|
background: transparent !important;
|
|
3564
3564
|
font-family: 'PT Sans' !important;
|
|
@@ -3570,13 +3570,12 @@ const ButtonMenuNotification = styled__default["default"].button `
|
|
|
3570
3570
|
align-items: center !important;
|
|
3571
3571
|
gap: 8px !important;
|
|
3572
3572
|
cursor: ${({ disabled }) => disabled ? 'default !important' : 'pointer !important'};
|
|
3573
|
-
|
|
3574
3573
|
:hover {
|
|
3575
3574
|
background-color: ${({ isDarkMode }) => (isDarkMode ? ` rgb(82, 82, 82) !important` : `#F7F9FC !important;`)};
|
|
3576
3575
|
}
|
|
3577
3576
|
`;
|
|
3578
3577
|
|
|
3579
|
-
function MenuMore({ iconButton, options, style, closeAfterClick, isHover = true, isArrowInMenu = true, isPaddingInMenu = true, isDarkMode = false }) {
|
|
3578
|
+
function MenuMore({ iconButton, options, style, closeAfterClick, isHover = true, isArrowInMenu = true, isPaddingInMenu = true, isDarkMode = false, isContainerOptions }) {
|
|
3580
3579
|
const [listOptions, setListOptions] = React.useState(options);
|
|
3581
3580
|
React.useEffect(() => {
|
|
3582
3581
|
setListOptions(options);
|
|
@@ -3593,7 +3592,7 @@ function MenuMore({ iconButton, options, style, closeAfterClick, isHover = true,
|
|
|
3593
3592
|
return (jsxRuntime.jsx(material.Box, { children: jsxRuntime.jsxs(ButtonMenuNotification, { onClick: () => {
|
|
3594
3593
|
itemOption?.onClick();
|
|
3595
3594
|
closeAfterClick && handleClose();
|
|
3596
|
-
}, isColor: itemOption?.color, isDarkMode: isDarkMode, disabled: itemOption.disabled, children: [itemOption?.startIcon && jsxRuntime.jsx(IconOption, { children: itemOption?.startIcon }), itemOption?.description] }) }, index));
|
|
3595
|
+
}, isColor: itemOption?.color, isDarkMode: isDarkMode, disabled: itemOption.disabled, isContainerOptions: isContainerOptions, children: [itemOption?.startIcon && jsxRuntime.jsx(IconOption, { children: itemOption?.startIcon }), itemOption?.description] }) }, index));
|
|
3597
3596
|
}) }))] }) }));
|
|
3598
3597
|
}
|
|
3599
3598
|
|
|
@@ -7566,7 +7565,7 @@ function ImpedimentosTab({ maxTabs, tabsList, showOptions, showAddButton, onSave
|
|
|
7566
7565
|
startIcon: jsxRuntime.jsx(TrashIconNew, { fill: '#C00F00' }),
|
|
7567
7566
|
color: '#C00F00'
|
|
7568
7567
|
}] : []),
|
|
7569
|
-
], closeAfterClick: true }) })
|
|
7568
|
+
], closeAfterClick: true, isContainerOptions: true }) })
|
|
7570
7569
|
:
|
|
7571
7570
|
jsxRuntime.jsx(jsxRuntime.Fragment, {})] }), isEdit ?
|
|
7572
7571
|
jsxRuntime.jsxs(EditWrapper, { children: [jsxRuntime.jsx(TextField, { placeholder: selectedTab.description, value: editDescription, onChange: (e) => setEditDescription(e.target.value), style: { width: '100%' } }), jsxRuntime.jsxs(material.Box, { display: 'flex', gap: '8px', children: [jsxRuntime.jsx(EditButtons, { buttonColor: editDescription === '' ? '#EBEBEB' : '#D1F6D1', onClick: () => {
|
|
@@ -7898,7 +7897,7 @@ const EditHypotesisAndImpediment = ({ setEditDescription, editDescription, onSav
|
|
|
7898
7897
|
const HypothesisAndImpediment = ({ description, variant, type, avatar, id, index, authorGoalId, // id do dono do desafio
|
|
7899
7898
|
userLoggedId, authorName, // nome autor da hipotese ou do impedimento
|
|
7900
7899
|
handleViewProfile, authorId, // id do autor do impedimento ou da hipotese
|
|
7901
|
-
hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp }) => {
|
|
7900
|
+
hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions }) => {
|
|
7902
7901
|
const [editDescription, setEditDescription] = React.useState(description);
|
|
7903
7902
|
const [isEditing, setIsEditing] = React.useState(false);
|
|
7904
7903
|
const isOwnerGoal = authorGoalId === userLoggedId;
|
|
@@ -7929,7 +7928,11 @@ hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, on
|
|
|
7929
7928
|
}
|
|
7930
7929
|
return false;
|
|
7931
7930
|
}, [type, hasEditHipotesisOrImpediment, authorGoalId, authorId, userLoggedId]);
|
|
7932
|
-
|
|
7931
|
+
const handleClickAction = (event) => {
|
|
7932
|
+
event.stopPropagation();
|
|
7933
|
+
onClickAction();
|
|
7934
|
+
};
|
|
7935
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(MainContainer, { children: isEditing ? (jsxRuntime.jsx(EditHypotesisAndImpediment, { setEditDescription: setEditDescription, editDescription: editDescription, onSave: handleSaveDescription, onCancel: handleCancel, originalDescription: description })) : (jsxRuntime.jsxs(ContainerHypotheis, { type: type, variant: variant, children: [hasUpdownButtons && isOwnerGoal &&
|
|
7933
7936
|
jsxRuntime.jsx(UpDownButtons, { type: type, variant: variant, onDownClick: () => onDown(id, index), onUpClick: () => onUp(id, index) }), jsxRuntime.jsxs(SplitContainerDescription, { children: [jsxRuntime.jsx(Tooltip$2, { content: authorName, direction: 'bottom', style: {
|
|
7934
7937
|
fontFamily: 'PT Sans',
|
|
7935
7938
|
fontWeight: 400,
|
|
@@ -7941,40 +7944,33 @@ hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, on
|
|
|
7941
7944
|
left: '4px',
|
|
7942
7945
|
whiteSpace: 'nowrap',
|
|
7943
7946
|
boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
|
|
7944
|
-
}, children: jsxRuntime.jsx(Avatar, { src: avatar, size: isOwnerGoal ? '28px' : '24px', border: avatarBorder, style: { marginRight: '14px', cursor: 'pointer', marginLeft: '16px' }, onClick: () => handleViewProfile(authorId) }) }), jsxRuntime.jsx(Title$6, { children: title }), jsxRuntime.jsx(Separator, { type: type, variant: variant }), jsxRuntime.jsx(Description$4, { children: editDescription }), hasVoting && (jsxRuntime.jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id) })), validHasEditHipotesisOrImpediment && (jsxRuntime.jsx(MenuMore, { options:
|
|
7945
|
-
|
|
7946
|
-
{
|
|
7947
|
-
startIcon: jsxRuntime.jsx(StarPrioritize, {}),
|
|
7947
|
+
}, children: jsxRuntime.jsx(Avatar, { src: avatar, size: isOwnerGoal ? '28px' : '24px', border: avatarBorder, style: { marginRight: '14px', cursor: 'pointer', marginLeft: '16px' }, onClick: () => handleViewProfile(authorId) }) }), jsxRuntime.jsx(Title$6, { children: title }), jsxRuntime.jsx(Separator, { type: type, variant: variant }), jsxRuntime.jsx(Description$4, { onClick: handleClickAction, children: editDescription }), hasVoting && (jsxRuntime.jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id) })), validHasEditHipotesisOrImpediment && (jsxRuntime.jsx(MenuMore, { options: [
|
|
7948
|
+
hasUpdownButtons && isOwnerGoal &&
|
|
7949
|
+
({
|
|
7950
|
+
startIcon: jsxRuntime.jsx(StarPrioritize, { width: '24px', height: '24px', stroke: type === 'prioritize' ? "#b7b7b7" : "#222222" }),
|
|
7948
7951
|
description: 'Priorizar',
|
|
7949
7952
|
onClick: () => onPrioritize(id),
|
|
7950
7953
|
disabled: type === 'prioritize'
|
|
7951
|
-
},
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
{
|
|
7972
|
-
startIcon: jsxRuntime.jsx(TrashDelete, { fill: "#C00F00", width: "24px" }),
|
|
7973
|
-
description: 'Excluir',
|
|
7974
|
-
onClick: () => onDeleteHipotesisOrImpediment(id),
|
|
7975
|
-
color: '#C00F00'
|
|
7976
|
-
}
|
|
7977
|
-
] }))] })] })) }) }));
|
|
7954
|
+
}),
|
|
7955
|
+
{
|
|
7956
|
+
startIcon: jsxRuntime.jsx(EditIcon, { fill: "#222222", width: "24px", height: '24px' }),
|
|
7957
|
+
description: 'Editar',
|
|
7958
|
+
onClick: (e) => setIsEditing(true)
|
|
7959
|
+
},
|
|
7960
|
+
hasAddActions && isOwnerGoal &&
|
|
7961
|
+
({
|
|
7962
|
+
startIcon: jsxRuntime.jsx(AddIcon, { fill: "#222222", width: "24px", height: '24px' }),
|
|
7963
|
+
description: 'Adicionar ações',
|
|
7964
|
+
onClick: () => onAddActions(id),
|
|
7965
|
+
color: '#222222'
|
|
7966
|
+
}),
|
|
7967
|
+
{
|
|
7968
|
+
startIcon: jsxRuntime.jsx(TrashDelete, { fill: "#C00F00" }),
|
|
7969
|
+
description: 'Excluir',
|
|
7970
|
+
onClick: () => onDeleteHipotesisOrImpediment(id),
|
|
7971
|
+
color: '#C00F00'
|
|
7972
|
+
}
|
|
7973
|
+
], isContainerOptions: true }))] })] })) }) }));
|
|
7978
7974
|
};
|
|
7979
7975
|
|
|
7980
7976
|
const Container$g = styled__default["default"].div `
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IHypothesisAndImpedimentComponent } from './hypothesisAndImpediment';
|
|
3
|
-
export declare const HypothesisAndImpediment: ({ description, variant, type, avatar, id, index, authorGoalId, userLoggedId, authorName, handleViewProfile, authorId, hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp }: IHypothesisAndImpedimentComponent) => JSX.Element;
|
|
3
|
+
export declare const HypothesisAndImpediment: ({ description, variant, type, avatar, id, index, authorGoalId, userLoggedId, authorName, handleViewProfile, authorId, hasVoting, voteText, onDeleteVote, votersList, onDeleteHipotesisOrImpediment, onSaveEditHipotesisOrImpediment, hasEditHipotesisOrImpediment, onVote, onPrioritize, onDown, onUp, hasUpdownButtons, onClickAction, onAddActions, hasAddActions }: IHypothesisAndImpedimentComponent) => JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/hypotesisAndImpediment/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAU7E,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/hypotesisAndImpediment/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2BAA2B,CAAA;AAU7E,eAAO,MAAM,uBAAuB,0WA2BjC,iCAAiC,gBAsInC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":";AAYA,OAAO,EACH,oBAAoB,EAEvB,MAAM,mBAAmB,CAAA;AAc1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,aAAa,GAChB,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/impedimentosTab/index.tsx"],"names":[],"mappings":";AAYA,OAAO,EACH,oBAAoB,EAEvB,MAAM,mBAAmB,CAAA;AAc1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACpC,OAAO,EACP,QAAQ,EACR,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,aAAa,GAChB,EAAE,oBAAoB,eAmNtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import '../../shared/global.css';
|
|
3
3
|
import { IMenuMore } from './menuMore';
|
|
4
|
-
export default function MenuMore({ iconButton, options, style, closeAfterClick, isHover, isArrowInMenu, isPaddingInMenu, isDarkMode }: IMenuMore): JSX.Element;
|
|
4
|
+
export default function MenuMore({ iconButton, options, style, closeAfterClick, isHover, isArrowInMenu, isPaddingInMenu, isDarkMode, isContainerOptions }: IMenuMore): JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-more/index.tsx"],"names":[],"mappings":";AAGA,OAAO,yBAAyB,CAAA;AAKhC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAGtC,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,UAAU,EACV,OAAO,EACP,KAAK,EACL,eAAe,EACf,OAAc,EACd,aAAoB,EACpB,eAAsB,EACtB,UAAkB,EACnB,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-more/index.tsx"],"names":[],"mappings":";AAGA,OAAO,yBAAyB,CAAA;AAKhC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAGtC,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,UAAU,EACV,OAAO,EACP,KAAK,EACL,eAAe,EACf,OAAc,EACd,aAAoB,EACpB,eAAsB,EACtB,UAAkB,EAClB,kBAAkB,EACnB,EAAE,SAAS,eAsFX"}
|
|
@@ -2,6 +2,7 @@ import Menu from '@mui/material/Menu';
|
|
|
2
2
|
interface IButtonMenuProps {
|
|
3
3
|
isColor?: string;
|
|
4
4
|
isDarkMode?: boolean;
|
|
5
|
+
isContainerOptions?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const UserName: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
7
8
|
export declare const ButtonMore: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material/Button").ButtonTypeMap<{}, "button">>, any, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuMoreStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-more/menuMoreStyles.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,oBAAoB,CAAA;AAKrC,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"menuMoreStyles.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-more/menuMoreStyles.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,oBAAoB,CAAA;AAKrC,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAGD,eAAO,MAAM,QAAQ,kEAIpB,CAAA;AAED,eAAO,MAAM,UAAU,mKAWtB,CAAA;AAED,eAAO,MAAM,UAAU;mBAAiC,OAAO;qBAAmB,OAAO;gBAAc,OAAO;SAsD7G,CAAA;AAED,eAAO,MAAM,cAAc;qBAAuC,OAAO;gBAAc,OAAO;SAa7F,CAAA;AAED,eAAO,MAAM,iBAAiB,mKAS7B,CAAA;AAED,eAAO,MAAM,UAAU,oEAQtB,CAAA;AAED,eAAO,MAAM,UAAU,oEAMtB,CAAA;AAED,eAAO,MAAM,sBAAsB,qFAmBlC,CAAA"}
|