frst-components 0.23.87 → 0.23.89
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 +13 -6
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.d.ts.map +1 -1
- package/dist/src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/index.d.ts.map +1 -1
- package/dist/src/components/IJ/learningCycleCard/components/menu/menuStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableBody/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableBody/tableStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableHead/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table/parts/TableHead/tableStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.d.ts +1 -1
- package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/DateLimit/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/EmptyState/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/TagStatus/index.d.ts.map +1 -1
- package/dist/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8067,7 +8067,7 @@ hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDelete
|
|
|
8067
8067
|
}
|
|
8068
8068
|
if (hasEditHipotesisOrImpediment)
|
|
8069
8069
|
setIsEditing(true);
|
|
8070
|
-
}, style: {
|
|
8070
|
+
}, style: { minHeight: '36px', height: isEditing ? "16px" : "fit-content" }, children: jsxRuntime.jsxs(Tooltip$2, { content: 'Clique na hipótese para ver as ações vinculadas', direction: 'bottom', wrapperWidth: '100%', style: {
|
|
8071
8071
|
fontFamily: 'PT Sans',
|
|
8072
8072
|
fontWeight: 400,
|
|
8073
8073
|
fontSize: '14px',
|
|
@@ -8084,7 +8084,7 @@ hasVoting, voteHasAlreadyBeenRegistered, isVotedByUserLogged, voteText, onDelete
|
|
|
8084
8084
|
height: isEditing ? '20px' : '0',
|
|
8085
8085
|
overflow: 'hidden',
|
|
8086
8086
|
background: 'transparent',
|
|
8087
|
-
}, children: jsxRuntime.jsx("input", { ref: inputRef, type: "text", value: editDescription, onBlur: handleSaveDescription, onChange: handleChange, onKeyDown: handleKeyDown, autoFocus: true, style: { width: '100%', border: 'none', outline: 'none', background: 'transparent' } }) }), jsxRuntime.jsx("div", { style: { width: !isEditing ? '100%' : '0', overflow: 'hidden', }, children: editDescription })] }) }), !isEditing && hasVoting && (jsxRuntime.jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id), onChangeVote: () => onChangeVote(id), isVotedByUserLogged: isVotedByUserLogged, voteHasAlreadyBeenRegistered: voteHasAlreadyBeenRegistered, popperStyle: popperStyle })), !isEditing && validHasEditHipotesisOrImpediment && (jsxRuntime.jsx(MenuMore, { options: options, isContainerOptions: true, closeAfterClick: true }))] })] }) }) }));
|
|
8087
|
+
}, children: jsxRuntime.jsx("input", { ref: inputRef, type: "text", value: editDescription, onBlur: handleSaveDescription, onChange: handleChange, onKeyDown: handleKeyDown, autoFocus: true, style: { width: '100%', height: '16px', border: 'none', outline: 'none', background: 'transparent' } }) }), jsxRuntime.jsx("div", { style: { width: !isEditing ? '100%' : '0', overflow: 'hidden', }, children: editDescription })] }) }), !isEditing && hasVoting && (jsxRuntime.jsx(Voting, { voteText: voteText, type: type, onDeleteVote: onDeleteVote, votersList: votersList, onVote: () => onVote(id), onChangeVote: () => onChangeVote(id), isVotedByUserLogged: isVotedByUserLogged, voteHasAlreadyBeenRegistered: voteHasAlreadyBeenRegistered, popperStyle: popperStyle })), !isEditing && validHasEditHipotesisOrImpediment && (jsxRuntime.jsx(MenuMore, { options: options, isContainerOptions: true, closeAfterClick: true }))] })] }) }) }));
|
|
8088
8088
|
};
|
|
8089
8089
|
|
|
8090
8090
|
const ModalContainer = styled__default["default"].div `
|
|
@@ -21987,11 +21987,18 @@ const WrapperCollaboratorAvatar = styled__default["default"].div `
|
|
|
21987
21987
|
align-items: center;
|
|
21988
21988
|
`;
|
|
21989
21989
|
|
|
21990
|
-
function CollaboratorAvatar({ src, onPressAvatar, labelTextVisitProfile, uuid, align }) {
|
|
21991
|
-
return (jsxRuntime.jsx(WrapperCollaboratorAvatar, { align: align, children: onPressAvatar && uuid ? (jsxRuntime.jsx(Tooltip$2, { direction: "bottom", content: labelTextVisitProfile ? labelTextVisitProfile : 'Visitar perfil', trigger: "hover", width: "fit-content", height: "32px", style: { top: '10px', textAlign: 'center', whiteSpace: 'nowrap' }, children: jsxRuntime.jsx("div", { onClick: (event) => {
|
|
21990
|
+
function CollaboratorAvatar({ src, onPressAvatar, labelTextVisitProfile, uuid, align, isResponsible, userName }) {
|
|
21991
|
+
return (jsxRuntime.jsx(WrapperCollaboratorAvatar, { align: align, children: onPressAvatar && uuid ? (jsxRuntime.jsx(Tooltip$2, { direction: "bottom", content: userName ? userName : (labelTextVisitProfile ? labelTextVisitProfile : 'Visitar perfil'), trigger: "hover", width: "fit-content", height: "32px", style: { top: '10px', textAlign: 'center', whiteSpace: 'nowrap' }, children: jsxRuntime.jsx("div", { onClick: (event) => {
|
|
21992
21992
|
event.stopPropagation();
|
|
21993
21993
|
onPressAvatar?.(uuid);
|
|
21994
|
-
}, children: jsxRuntime.jsx(Avatar, { size: "32px", src: src ? src : 'https://cdn-images.frstfalconi.cloud/path582.svg', isActiveClick: !!(onPressAvatar && uuid)
|
|
21994
|
+
}, children: jsxRuntime.jsx(Avatar, { size: "32px", src: src ? src : 'https://cdn-images.frstfalconi.cloud/path582.svg', isActiveClick: !!(onPressAvatar && uuid), style: {
|
|
21995
|
+
display: "flex",
|
|
21996
|
+
justifyContent: "center",
|
|
21997
|
+
alignItems: "center",
|
|
21998
|
+
overflow: "hidden",
|
|
21999
|
+
borderRadius: "50%",
|
|
22000
|
+
border: isResponsible ? "2px solid #31AAAA" : "2px solid transparent",
|
|
22001
|
+
} }) }) })) : (jsxRuntime.jsx(Avatar, { size: "32px", src: src ? src : 'https://cdn-images.frstfalconi.cloud/path582.svg', onClick: null, isActiveClick: !!(onPressAvatar && uuid) })) }));
|
|
21995
22002
|
}
|
|
21996
22003
|
|
|
21997
22004
|
const WrapperDateLimit = styled__default["default"].div `
|
|
@@ -22309,7 +22316,7 @@ function TableActions({ columns, data, isLoading, lengthElSkeleton = 3, onPressA
|
|
|
22309
22316
|
const newData = data.map((item) => ({
|
|
22310
22317
|
id: item.id,
|
|
22311
22318
|
value: [
|
|
22312
|
-
jsxRuntime.jsx(CollaboratorAvatar, { src: item?.value?.[0]?.id ? item?.value?.[0]?.src : item?.value?.[0], onPressAvatar: onPressAvatar, uuid: item?.value?.[0]?.id, labelTextVisitProfile: labelTextVisitProfile, align: typeof columns?.[0] !== 'string' && columns?.[0]?.alignContent }),
|
|
22319
|
+
jsxRuntime.jsx(CollaboratorAvatar, { src: item?.value?.[0]?.id ? item?.value?.[0]?.src : item?.value?.[0], onPressAvatar: onPressAvatar, uuid: item?.value?.[0]?.id, labelTextVisitProfile: labelTextVisitProfile, align: typeof columns?.[0] !== 'string' && columns?.[0]?.alignContent, isResponsible: item?.value?.[0]?.isResponsible, userName: item?.value?.[0]?.name }),
|
|
22313
22320
|
// @ts-ignore
|
|
22314
22321
|
jsxRuntime.jsx("p", { style: { color: '#222', textAlign: columns?.[1]?.alignContent }, children: item.value[1] }),
|
|
22315
22322
|
jsxRuntime.jsx(DateLimit, { date: item?.value?.[2], status: item?.value?.[3] }),
|
package/dist/src/components/FI/ThreadComments/utilitiesComponents/commentaryBoxReply/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
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;AAKtE,eAAO,MAAM,kBAAkB,scAgC5B,yBAAyB,4CAsH3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,UAAU,oMAapB,WAAW,4CAkGb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputReply.styles.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"inputReply.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/FI/ThreadComments/utilitiesComponents/inputReply/inputReply.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,oEAI1B,CAAA;AAED,eAAO,MAAM,SAAS,oEAGrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/IJ/learningCycleCard/components/menu/index.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE;;;CAAA,2CAiFnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"menuStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/IJ/learningCycleCard/components/menu/menuStyle.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,oEAuBxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table/parts/TableBody/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,UAAU,EAAE,MAAM,aAAa,CAAA;AAUlD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,UAAU,2CAiB/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table/parts/TableBody/tableStyle.ts"],"names":[],"mappings":"AAEA,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,cAAc,qFAI1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mEAM5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qFAMjC,CAAC;AAEF,eAAO,MAAM,8BAA8B,sFAI1C,CAAC;AAEF,eAAO,MAAM,WAAW,sFAUvB,CAAC;AAEF,UAAU,wBAAwB;IAChC,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,0FAU/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table/parts/TableHead/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,OAAO,EAAE,EAAE,UAAU,2CAmBxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tableStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table/parts/TableHead/tableStyle.ts"],"names":[],"mappings":"AAEA,UAAU,qBAAqB;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,WAAW,sEAEvB,CAAC;AAEF,eAAO,MAAM,UAAU,mEAEtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,sFAW7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form-elements/table-actions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAA;AAGnC,OAAO,EAAc,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAc1D,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,OAAO,EACP,IAAI,EACJ,SAAS,EACT,gBAAoB,EACpB,aAAa,EACb,WAAW,EACX,qBAAqB,EACrB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACtB,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form-elements/table-actions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAA;AAGnC,OAAO,EAAc,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAc1D,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,OAAO,EACP,IAAI,EACJ,SAAS,EACT,gBAAoB,EACpB,aAAa,EACb,WAAW,EACX,qBAAqB,EACrB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACtB,EAAE,aAAa,2CAwHf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collaboratorAvatarStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"collaboratorAvatarStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/CollaboratorAvatar/collaboratorAvatarStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB;;SASrC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ICollaboratorAvatar } from './collaborator-Avatar';
|
|
2
|
-
export default function CollaboratorAvatar({ src, onPressAvatar, labelTextVisitProfile, uuid, align }: ICollaboratorAvatar): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default function CollaboratorAvatar({ src, onPressAvatar, labelTextVisitProfile, uuid, align, isResponsible, userName }: ICollaboratorAvatar): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/CollaboratorAvatar/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAI3D,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,qBAAqB,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CAyClJ"}
|
package/dist/src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateLimitStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"dateLimitStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/DateLimit/dateLimitStyle.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,gBAAgB,oFAkB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/DateLimit/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,UAAU,2CAE7D"}
|
package/dist/src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emptyStateStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"emptyStateStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/EmptyState/emptyStateStyle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,oEAY7B,CAAA;AAED,eAAO,MAAM,eAAe,oEAE3B,CAAA;AAED,eAAO,MAAM,eAAe,oEAY3B,CAAA;AAED,eAAO,MAAM,kBAAkB,oEAuB9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/EmptyState/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAI1C,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,WAAW,2CA2B1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/TagStatus/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,UAAU,2CAS9D"}
|
package/dist/src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagStatusStyle.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tagStatusStyle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/form-elements/table-actions/parts/TagStatus/tagStatusStyle.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,YAAY,oEAKxB,CAAA;AAED,eAAO,MAAM,UAAU,6EAqBtB,CAAC;AAEF,eAAO,MAAM,QAAQ,6EAapB,CAAC"}
|