gsintegrations 0.0.484 → 0.0.485
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/bundle.cjs.js +231 -47
- package/dist/bundle.cjs.js.map +2 -2
- package/dist/bundle.esm.js +230 -48
- package/dist/bundle.esm.js.map +2 -2
- package/dist/index.d.ts +132 -42
- package/dist/types/components/social/EditedMark.d.ts +7 -0
- package/dist/types/components/social/ExperienceCard.d.ts +5 -0
- package/dist/types/components/social/ExperienceCommentRow.d.ts +3 -0
- package/dist/types/components/social/ExperienceCommentsSheet.d.ts +3 -0
- package/dist/types/components/social/ExperienceDetailView.d.ts +5 -0
- package/dist/types/components/social/SocialDeleteConfirmDialog.d.ts +11 -0
- package/dist/types/components/social/SocialEditTextDialog.d.ts +19 -0
- package/dist/types/components/social/index.d.ts +4 -0
- package/dist/types/components/social/types.d.ts +11 -0
- package/dist/types/pages/FinancialAccountPage/FinancialAccountPage.types.d.ts +12 -12
- package/dist/types/pages/FinancialRegisterPage/FinancialRegister.types.d.ts +28 -28
- package/dist/types/pages/Social/ExperienceDetailPage/ExperienceDetailPage.d.ts +7 -0
- package/dist/types/pages/Social/JourneyProfilePage/JourneyProfilePage.d.ts +8 -0
- package/dist/types/pages/Social/SocialDiscoverPage/SocialDiscoverPage.d.ts +6 -0
- package/dist/types/pages/Social/SocialHomePage/SocialHomePage.d.ts +7 -0
- package/dist/types/pages/Social/SocialSavedPage/SocialSavedPage.d.ts +7 -0
- package/package.json +1 -1
package/dist/bundle.esm.js
CHANGED
|
@@ -79998,7 +79998,7 @@ const TYPE = 16191; /* i: waiting for type bits, including last-flag
|
|
|
79998
79998
|
const TYPEDO = 16192; /* i: same, but skip check to exit inflate on new block */
|
|
79999
79999
|
const STORED = 16193; /* i: waiting for stored size (length and complement) */
|
|
80000
80000
|
const COPY_ = 16194; /* i/o: same as COPY below, but only first time in */
|
|
80001
|
-
const COPY$
|
|
80001
|
+
const COPY$2 = 16195; /* i/o: waiting for input or output to copy stored block */
|
|
80002
80002
|
const TABLE = 16196; /* i: waiting for dynamic block table lengths */
|
|
80003
80003
|
const LENLENS = 16197; /* i: waiting for code length code lengths */
|
|
80004
80004
|
const CODELENS = 16198; /* i: waiting for length/lit and distance code lengths */
|
|
@@ -80803,9 +80803,9 @@ const inflate$2 = (strm, flush) => {
|
|
|
80803
80803
|
if (flush === Z_TREES) { break inf_leave; }
|
|
80804
80804
|
/* falls through */
|
|
80805
80805
|
case COPY_:
|
|
80806
|
-
state.mode = COPY$
|
|
80806
|
+
state.mode = COPY$2;
|
|
80807
80807
|
/* falls through */
|
|
80808
|
-
case COPY$
|
|
80808
|
+
case COPY$2:
|
|
80809
80809
|
copy = state.length;
|
|
80810
80810
|
if (copy) {
|
|
80811
80811
|
if (copy > have) { copy = have; }
|
|
@@ -128227,6 +128227,7 @@ const ExperienceSchema = objectType({
|
|
|
128227
128227
|
eventId: stringType().nullable().optional(),
|
|
128228
128228
|
terreiroId: stringType().nullable().optional(),
|
|
128229
128229
|
publishedAt: unionType([stringType(), dateType()]).nullable().optional(),
|
|
128230
|
+
editedAt: unionType([stringType(), dateType()]).nullable().optional(),
|
|
128230
128231
|
createdAt: unionType([stringType(), dateType()]).optional(),
|
|
128231
128232
|
});
|
|
128232
128233
|
const QuestionSchema = objectType({
|
|
@@ -128269,6 +128270,7 @@ const ExperienceCommentSchema = objectType({
|
|
|
128269
128270
|
likeCount: numberType().optional(),
|
|
128270
128271
|
viewerHasLiked: booleanType().optional(),
|
|
128271
128272
|
repliesHasMore: booleanType().optional(),
|
|
128273
|
+
editedAt: unionType([stringType(), dateType()]).nullable().optional(),
|
|
128272
128274
|
createdAt: unionType([stringType(), dateType()]).optional(),
|
|
128273
128275
|
});
|
|
128274
128276
|
const SocialProfileSchema = objectType({
|
|
@@ -128758,26 +128760,89 @@ const AlsoExperiencedButton = ({ count = 0, active = false, loading = false, dis
|
|
|
128758
128760
|
? `Eu também passei por isso · ${count}`
|
|
128759
128761
|
: "Eu também passei por isso"));
|
|
128760
128762
|
|
|
128763
|
+
const EditedMark = ({ editedAt, fontSize = "0.9375rem", }) => {
|
|
128764
|
+
if (!editedAt)
|
|
128765
|
+
return null;
|
|
128766
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
128767
|
+
React__default.createElement(Typography$1, { component: "span", color: "text.secondary", sx: { fontSize }, "data-testid": "edited-mark" }, "\u00B7"),
|
|
128768
|
+
React__default.createElement(Typography$1, { component: "span", color: "text.secondary", sx: { fontSize } }, "Editado")));
|
|
128769
|
+
};
|
|
128770
|
+
|
|
128771
|
+
const COPY$1 = {
|
|
128772
|
+
post: {
|
|
128773
|
+
title: "Excluir publicação",
|
|
128774
|
+
body: "Excluir esta publicação? Essa ação não pode ser desfeita.",
|
|
128775
|
+
},
|
|
128776
|
+
comment: {
|
|
128777
|
+
title: "Excluir comentário",
|
|
128778
|
+
body: "Excluir este comentário? As respostas também serão removidas.",
|
|
128779
|
+
},
|
|
128780
|
+
reply: {
|
|
128781
|
+
title: "Excluir resposta",
|
|
128782
|
+
body: "Excluir esta resposta? Essa ação não pode ser desfeita.",
|
|
128783
|
+
},
|
|
128784
|
+
};
|
|
128785
|
+
const SocialDeleteConfirmDialog = ({ open, kind, submitting = false, onClose, onConfirm, }) => {
|
|
128786
|
+
const copy = COPY$1[kind];
|
|
128787
|
+
return (React__default.createElement(Dialog$1, { open: open, onClose: submitting ? undefined : onClose, fullWidth: true, maxWidth: "xs", "data-testid": "social-delete-confirm-dialog" },
|
|
128788
|
+
React__default.createElement(DialogTitle$1, null, copy.title),
|
|
128789
|
+
React__default.createElement(DialogContent$1, null,
|
|
128790
|
+
React__default.createElement(DialogContentText$1, null, copy.body)),
|
|
128791
|
+
React__default.createElement(DialogActions$1, null,
|
|
128792
|
+
React__default.createElement(Button$1, { onClick: onClose, disabled: submitting }, "Cancelar"),
|
|
128793
|
+
React__default.createElement(Button$1, { variant: "contained", color: "error", disabled: submitting, onClick: () => void onConfirm() }, "Excluir"))));
|
|
128794
|
+
};
|
|
128795
|
+
|
|
128796
|
+
const SocialEditTextDialog = ({ open, dialogTitle, contentLabel, initialContent, initialTitle = null, showTitle = false, submitting = false, maxLength = 10000, onClose, onSave, }) => {
|
|
128797
|
+
const [title, setTitle] = useState(initialTitle !== null && initialTitle !== void 0 ? initialTitle : "");
|
|
128798
|
+
const [content, setContent] = useState(initialContent);
|
|
128799
|
+
useEffect(() => {
|
|
128800
|
+
if (!open)
|
|
128801
|
+
return;
|
|
128802
|
+
setTitle(initialTitle !== null && initialTitle !== void 0 ? initialTitle : "");
|
|
128803
|
+
setContent(initialContent);
|
|
128804
|
+
}, [open, initialContent, initialTitle]);
|
|
128805
|
+
const trimmed = content.trim();
|
|
128806
|
+
const canSave = trimmed.length > 0 && !submitting;
|
|
128807
|
+
return (React__default.createElement(Dialog$1, { open: open, onClose: submitting ? undefined : onClose, fullWidth: true, maxWidth: "xs", "data-testid": "social-edit-text-dialog" },
|
|
128808
|
+
React__default.createElement(DialogTitle$1, null, dialogTitle),
|
|
128809
|
+
React__default.createElement(DialogContent$1, null,
|
|
128810
|
+
showTitle ? (React__default.createElement(TextField$1, { label: "T\u00EDtulo", value: title, onChange: (event) => setTitle(event.target.value), fullWidth: true, margin: "normal", disabled: submitting, inputProps: { maxLength: 200 } })) : null,
|
|
128811
|
+
React__default.createElement(TextField$1, { label: contentLabel, value: content, onChange: (event) => setContent(event.target.value), fullWidth: true, multiline: true, minRows: 3, margin: "normal", disabled: submitting, inputProps: { maxLength } })),
|
|
128812
|
+
React__default.createElement(DialogActions$1, null,
|
|
128813
|
+
React__default.createElement(Button$1, { onClick: onClose, disabled: submitting }, "Cancelar"),
|
|
128814
|
+
React__default.createElement(Button$1, { variant: "contained", disabled: !canSave, onClick: () => void onSave(Object.assign({ content: trimmed }, (showTitle ? { title: title.trim() || null } : {}))) }, "Salvar"))));
|
|
128815
|
+
};
|
|
128816
|
+
|
|
128761
128817
|
const ActionCount$1 = ({ count, active }) => count > 0 ? (React__default.createElement(Typography$1, { variant: "caption", color: active ? "primary.main" : "text.secondary", sx: { minWidth: 16 } }, count)) : null;
|
|
128762
|
-
const ExperienceCard = ({ experience, viewerUserId, onOpen, onAlsoExperienced, onReactionToggle, onShare, onReport, onComment, onBookmark, onAuthorClick, alsoExperiencedLoading = false, compact = false, }) => {
|
|
128763
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
128818
|
+
const ExperienceCard = ({ experience, viewerUserId, onOpen, onAlsoExperienced, onReactionToggle, onShare, onReport, onEdit, onDelete, onComment, onBookmark, onAuthorClick, alsoExperiencedLoading = false, compact = false, }) => {
|
|
128819
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
128764
128820
|
const [menuAnchor, setMenuAnchor] = useState(null);
|
|
128821
|
+
const [editOpen, setEditOpen] = useState(false);
|
|
128822
|
+
const [deleteOpen, setDeleteOpen] = useState(false);
|
|
128823
|
+
const [actionPending, setActionPending] = useState(false);
|
|
128765
128824
|
const authorName = authorDisplayName(experience.author, {
|
|
128766
128825
|
authorId: (_b = (_a = experience.author) === null || _a === void 0 ? void 0 : _a.userId) !== null && _b !== void 0 ? _b : experience.authorId,
|
|
128767
128826
|
viewerUserId,
|
|
128768
128827
|
});
|
|
128769
128828
|
const username = (_c = experience.author) === null || _c === void 0 ? void 0 : _c.username;
|
|
128770
|
-
const
|
|
128771
|
-
|
|
128772
|
-
|
|
128829
|
+
const isAuthor = Boolean(viewerUserId) &&
|
|
128830
|
+
(experience.authorId === viewerUserId ||
|
|
128831
|
+
((_d = experience.author) === null || _d === void 0 ? void 0 : _d.userId) === viewerUserId);
|
|
128832
|
+
const canEdit = isAuthor && Boolean(onEdit);
|
|
128833
|
+
const canDelete = isAuthor && Boolean(onDelete);
|
|
128834
|
+
const showMenu = Boolean(onShare || (!isAuthor && onReport) || canEdit || canDelete);
|
|
128835
|
+
const verified = Boolean((_e = experience.author) === null || _e === void 0 ? void 0 : _e.verified);
|
|
128836
|
+
const timeLabel = formatRelativeTime((_f = experience.publishedAt) !== null && _f !== void 0 ? _f : experience.createdAt);
|
|
128837
|
+
const hasImage = Boolean((_g = experience.imageUrl) === null || _g === void 0 ? void 0 : _g.trim());
|
|
128773
128838
|
const postType = resolveExperiencePostType(experience);
|
|
128774
128839
|
const alsoActive = Boolean(experience.viewerHasAlsoExperienced);
|
|
128775
128840
|
const bookmarked = Boolean(experience.viewerHasBookmarked);
|
|
128776
|
-
const commentCount = (
|
|
128777
|
-
const bookmarkCount = (
|
|
128778
|
-
const shareCount = (
|
|
128779
|
-
const reactionCount = (
|
|
128780
|
-
const alsoCount = (
|
|
128841
|
+
const commentCount = (_h = experience.commentCount) !== null && _h !== void 0 ? _h : 0;
|
|
128842
|
+
const bookmarkCount = (_j = experience.bookmarkCount) !== null && _j !== void 0 ? _j : 0;
|
|
128843
|
+
const shareCount = (_k = experience.shareCount) !== null && _k !== void 0 ? _k : 0;
|
|
128844
|
+
const reactionCount = (_l = experience.reactionCount) !== null && _l !== void 0 ? _l : 0;
|
|
128845
|
+
const alsoCount = (_m = experience.alsoExperiencedCount) !== null && _m !== void 0 ? _m : 0;
|
|
128781
128846
|
const openAuthor = (event) => {
|
|
128782
128847
|
var _a, _b, _c;
|
|
128783
128848
|
event.stopPropagation();
|
|
@@ -128785,7 +128850,7 @@ const ExperienceCard = ({ experience, viewerUserId, onOpen, onAlsoExperienced, o
|
|
|
128785
128850
|
};
|
|
128786
128851
|
return (React__default.createElement(Box$1, { component: "article", sx: socialTimelineRowSx, "data-testid": "experience-card", "data-experience-id": experience.id },
|
|
128787
128852
|
React__default.createElement(Stack$1, { direction: "row", spacing: 1.5, alignItems: "flex-start" },
|
|
128788
|
-
React__default.createElement(Avatar$1, { src: (
|
|
128853
|
+
React__default.createElement(Avatar$1, { src: (_p = (_o = experience.author) === null || _o === void 0 ? void 0 : _o.avatarUrl) !== null && _p !== void 0 ? _p : undefined, alt: authorName, onClick: openAuthor, sx: {
|
|
128789
128854
|
width: 40,
|
|
128790
128855
|
height: 40,
|
|
128791
128856
|
mt: 0.25,
|
|
@@ -128812,8 +128877,9 @@ const ExperienceCard = ({ experience, viewerUserId, onOpen, onAlsoExperienced, o
|
|
|
128812
128877
|
timeLabel ? (React__default.createElement(React__default.Fragment, null,
|
|
128813
128878
|
React__default.createElement(Typography$1, { component: "span", color: "text.secondary", sx: { fontSize: "0.9375rem" } }, "\u00B7"),
|
|
128814
128879
|
React__default.createElement(Typography$1, { component: "span", color: "text.secondary", noWrap: true, sx: { fontSize: "0.9375rem" } }, timeLabel))) : null,
|
|
128880
|
+
React__default.createElement(EditedMark, { editedAt: experience.editedAt }),
|
|
128815
128881
|
React__default.createElement(Box$1, { sx: { flex: 1 } }),
|
|
128816
|
-
|
|
128882
|
+
showMenu ? (React__default.createElement(React__default.Fragment, null,
|
|
128817
128883
|
React__default.createElement(IconButton$1, { size: "small", "aria-label": "Mais op\u00E7\u00F5es", onClick: (event) => {
|
|
128818
128884
|
event.stopPropagation();
|
|
128819
128885
|
setMenuAnchor(event.currentTarget);
|
|
@@ -128824,10 +128890,18 @@ const ExperienceCard = ({ experience, viewerUserId, onOpen, onAlsoExperienced, o
|
|
|
128824
128890
|
setMenuAnchor(null);
|
|
128825
128891
|
onShare(experience.id);
|
|
128826
128892
|
} }, "Compartilhar")) : null,
|
|
128827
|
-
|
|
128893
|
+
canEdit ? (React__default.createElement(MenuItem$1, { onClick: () => {
|
|
128894
|
+
setMenuAnchor(null);
|
|
128895
|
+
setEditOpen(true);
|
|
128896
|
+
} }, "Editar")) : null,
|
|
128897
|
+
canDelete ? (React__default.createElement(MenuItem$1, { onClick: () => {
|
|
128898
|
+
setMenuAnchor(null);
|
|
128899
|
+
setDeleteOpen(true);
|
|
128900
|
+
} }, "Excluir")) : null,
|
|
128901
|
+
!isAuthor && onReport ? (React__default.createElement(MenuItem$1, { onClick: () => {
|
|
128828
128902
|
setMenuAnchor(null);
|
|
128829
128903
|
onReport(experience.id);
|
|
128830
|
-
} }, "Denunciar")) : null)))),
|
|
128904
|
+
} }, "Denunciar")) : null))) : null),
|
|
128831
128905
|
React__default.createElement(Box$1, { role: onOpen ? "link" : undefined, tabIndex: onOpen ? 0 : undefined, onClick: () => onOpen === null || onOpen === void 0 ? void 0 : onOpen(experience.id), onKeyDown: (event) => {
|
|
128832
128906
|
if (!onOpen)
|
|
128833
128907
|
return;
|
|
@@ -128883,23 +128957,52 @@ const ExperienceCard = ({ experience, viewerUserId, onOpen, onAlsoExperienced, o
|
|
|
128883
128957
|
React__default.createElement(Stack$1, { direction: "row", alignItems: "center", spacing: 0.25 },
|
|
128884
128958
|
React__default.createElement(IconButton$1, { size: "small", "aria-label": "Compartilhar", onClick: () => onShare === null || onShare === void 0 ? void 0 : onShare(experience.id), disabled: !onShare, sx: socialActionIconSx },
|
|
128885
128959
|
React__default.createElement(ShareOutlined$1, { sx: { fontSize: 18 } })),
|
|
128886
|
-
React__default.createElement(ActionCount$1, { count: shareCount })))))
|
|
128960
|
+
React__default.createElement(ActionCount$1, { count: shareCount }))))),
|
|
128961
|
+
editOpen ? (React__default.createElement(SocialEditTextDialog, { open: true, dialogTitle: "Editar publica\u00E7\u00E3o", contentLabel: "Texto", initialContent: experience.content, initialTitle: experience.title, showTitle: Boolean((_q = experience.title) === null || _q === void 0 ? void 0 : _q.trim()), submitting: actionPending, onClose: () => setEditOpen(false), onSave: (value) => __awaiter$1(void 0, void 0, void 0, function* () {
|
|
128962
|
+
if (!onEdit)
|
|
128963
|
+
return;
|
|
128964
|
+
setActionPending(true);
|
|
128965
|
+
try {
|
|
128966
|
+
yield onEdit(experience.id, value);
|
|
128967
|
+
setEditOpen(false);
|
|
128968
|
+
}
|
|
128969
|
+
finally {
|
|
128970
|
+
setActionPending(false);
|
|
128971
|
+
}
|
|
128972
|
+
}) })) : null,
|
|
128973
|
+
deleteOpen ? (React__default.createElement(SocialDeleteConfirmDialog, { open: true, kind: "post", submitting: actionPending, onClose: () => setDeleteOpen(false), onConfirm: () => __awaiter$1(void 0, void 0, void 0, function* () {
|
|
128974
|
+
if (!onDelete)
|
|
128975
|
+
return;
|
|
128976
|
+
setActionPending(true);
|
|
128977
|
+
try {
|
|
128978
|
+
yield onDelete(experience.id);
|
|
128979
|
+
setDeleteOpen(false);
|
|
128980
|
+
}
|
|
128981
|
+
finally {
|
|
128982
|
+
setActionPending(false);
|
|
128983
|
+
}
|
|
128984
|
+
}) })) : null));
|
|
128887
128985
|
};
|
|
128888
128986
|
|
|
128889
|
-
const ExperienceCommentRow = ({ comment, depth = 0, likeDisabled = false, onAuthorClick, onReply, onToggleLike, }) => {
|
|
128890
|
-
var _a, _b, _c, _d;
|
|
128987
|
+
const ExperienceCommentRow = ({ comment, depth = 0, likeDisabled = false, viewerUserId, onAuthorClick, onReply, onToggleLike, onEdit, onDelete, }) => {
|
|
128988
|
+
var _a, _b, _c, _d, _e;
|
|
128989
|
+
const [menuAnchor, setMenuAnchor] = useState(null);
|
|
128891
128990
|
const name = authorDisplayName(comment.author);
|
|
128892
|
-
const
|
|
128991
|
+
const isAuthor = Boolean(viewerUserId) &&
|
|
128992
|
+
(comment.authorId === viewerUserId ||
|
|
128993
|
+
((_a = comment.author) === null || _a === void 0 ? void 0 : _a.userId) === viewerUserId);
|
|
128994
|
+
const showOwnerMenu = isAuthor && Boolean(onEdit || onDelete);
|
|
128995
|
+
const username = (_b = comment.author) === null || _b === void 0 ? void 0 : _b.username;
|
|
128893
128996
|
const isReply = depth === 1;
|
|
128894
128997
|
const avatarSize = isReply ? 28 : 36;
|
|
128895
|
-
const likeCount = (
|
|
128998
|
+
const likeCount = (_c = comment.likeCount) !== null && _c !== void 0 ? _c : 0;
|
|
128896
128999
|
const liked = Boolean(comment.viewerHasLiked);
|
|
128897
129000
|
return (React__default.createElement(Stack$1, { direction: "row", spacing: 1.25, alignItems: "flex-start", sx: {
|
|
128898
129001
|
px: 2,
|
|
128899
129002
|
py: 1.25,
|
|
128900
129003
|
pl: isReply ? 7 : 2,
|
|
128901
129004
|
}, "data-testid": "experience-comment-row" },
|
|
128902
|
-
React__default.createElement(Avatar$1, { src: (
|
|
129005
|
+
React__default.createElement(Avatar$1, { src: (_e = (_d = comment.author) === null || _d === void 0 ? void 0 : _d.avatarUrl) !== null && _e !== void 0 ? _e : undefined, alt: name, sx: {
|
|
128903
129006
|
width: avatarSize,
|
|
128904
129007
|
height: avatarSize,
|
|
128905
129008
|
cursor: onAuthorClick ? "pointer" : "default",
|
|
@@ -128919,6 +129022,7 @@ const ExperienceCommentRow = ({ comment, depth = 0, likeDisabled = false, onAuth
|
|
|
128919
129022
|
React__default.createElement(Box$1, { component: "span", sx: { whiteSpace: "pre-wrap" } }, comment.body)),
|
|
128920
129023
|
React__default.createElement(Stack$1, { direction: "row", spacing: 1.5, alignItems: "center", sx: { mt: 0.25 } },
|
|
128921
129024
|
React__default.createElement(Typography$1, { variant: "caption", color: "text.secondary" }, formatRelativeTime(comment.createdAt)),
|
|
129025
|
+
React__default.createElement(EditedMark, { editedAt: comment.editedAt, fontSize: "0.75rem" }),
|
|
128922
129026
|
onReply ? (React__default.createElement(ButtonBase$1, { onClick: () => onReply(comment), "aria-label": "Responder", sx: {
|
|
128923
129027
|
typography: "caption",
|
|
128924
129028
|
fontWeight: 700,
|
|
@@ -128927,6 +129031,18 @@ const ExperienceCommentRow = ({ comment, depth = 0, likeDisabled = false, onAuth
|
|
|
128927
129031
|
px: 0.25,
|
|
128928
129032
|
"&:hover": { color: "text.primary" },
|
|
128929
129033
|
} }, "Responder")) : null)),
|
|
129034
|
+
showOwnerMenu ? (React__default.createElement(React__default.Fragment, null,
|
|
129035
|
+
React__default.createElement(IconButton$1, { size: "small", "aria-label": "Mais op\u00E7\u00F5es do coment\u00E1rio", onClick: (event) => setMenuAnchor(event.currentTarget), sx: socialActionIconSx },
|
|
129036
|
+
React__default.createElement(MoreHoriz$1, { fontSize: "small" })),
|
|
129037
|
+
React__default.createElement(Menu$2, { anchorEl: menuAnchor, open: Boolean(menuAnchor), onClose: () => setMenuAnchor(null) },
|
|
129038
|
+
onEdit ? (React__default.createElement(MenuItem$1, { onClick: () => {
|
|
129039
|
+
setMenuAnchor(null);
|
|
129040
|
+
onEdit(comment);
|
|
129041
|
+
} }, "Editar")) : null,
|
|
129042
|
+
onDelete ? (React__default.createElement(MenuItem$1, { onClick: () => {
|
|
129043
|
+
setMenuAnchor(null);
|
|
129044
|
+
onDelete(comment);
|
|
129045
|
+
} }, "Excluir")) : null))) : null,
|
|
128930
129046
|
onToggleLike ? (React__default.createElement(Stack$1, { alignItems: "center", sx: { pt: 0.25, minWidth: 28 } },
|
|
128931
129047
|
React__default.createElement(IconButton$1, { size: "small", "aria-label": liked ? "Remover curtida" : "Curtir", disabled: likeDisabled, onClick: () => onToggleLike(comment), sx: {
|
|
128932
129048
|
color: liked ? "error.main" : "text.secondary",
|
|
@@ -129025,9 +129141,12 @@ const SocialMessageComposer = ({ value, onChange, onSend, isSending = false, dis
|
|
|
129025
129141
|
} }, isSending ? (React__default.createElement(CircularProgress$1, { size: 22, color: "inherit" })) : (React__default.createElement(Send, { fontSize: "small" })))))));
|
|
129026
129142
|
};
|
|
129027
129143
|
|
|
129028
|
-
const ExperienceCommentsSheet = ({ open, comments = [], commentCount, isLoading = false, isFetchingMore = false, hasMore = false, isSubmitting = false, error = null, composerDisabled = false, onClose, onLoadMore, onLoadMoreReplies, onSubmitComment, onRetry, onAuthorClick, onToggleLike, }) => {
|
|
129144
|
+
const ExperienceCommentsSheet = ({ open, comments = [], commentCount, isLoading = false, isFetchingMore = false, hasMore = false, isSubmitting = false, error = null, composerDisabled = false, onClose, onLoadMore, onLoadMoreReplies, onSubmitComment, onRetry, onAuthorClick, onToggleLike, viewerUserId, onEditComment, onDeleteComment, }) => {
|
|
129029
129145
|
var _a;
|
|
129030
129146
|
const [draft, setDraft] = useState("");
|
|
129147
|
+
const [editing, setEditing] = useState(null);
|
|
129148
|
+
const [deleting, setDeleting] = useState(null);
|
|
129149
|
+
const [actionPending, setActionPending] = useState(false);
|
|
129031
129150
|
const [replyTarget, setReplyTarget] = useState(null);
|
|
129032
129151
|
const [loadingRepliesFor, setLoadingRepliesFor] = useState(null);
|
|
129033
129152
|
const listRef = useRef(null);
|
|
@@ -129037,6 +129156,8 @@ const ExperienceCommentsSheet = ({ open, comments = [], commentCount, isLoading
|
|
|
129037
129156
|
setDraft("");
|
|
129038
129157
|
setReplyTarget(null);
|
|
129039
129158
|
setLoadingRepliesFor(null);
|
|
129159
|
+
setEditing(null);
|
|
129160
|
+
setDeleting(null);
|
|
129040
129161
|
}
|
|
129041
129162
|
}, [open]);
|
|
129042
129163
|
useEffect(() => {
|
|
@@ -129112,8 +129233,8 @@ const ExperienceCommentsSheet = ({ open, comments = [], commentCount, isLoading
|
|
|
129112
129233
|
(Boolean(comment.repliesHasMore) ||
|
|
129113
129234
|
replyCount > replies.length);
|
|
129114
129235
|
return (React__default.createElement(Box$1, { key: comment.id },
|
|
129115
|
-
React__default.createElement(ExperienceCommentRow, { comment: comment, depth: 0, likeDisabled: composerDisabled, onAuthorClick: onAuthorClick, onReply: onSubmitComment ? startReply : undefined, onToggleLike: onToggleLike }),
|
|
129116
|
-
replies.map((reply) => (React__default.createElement(ExperienceCommentRow, { key: reply.id, comment: reply, depth: 1, likeDisabled: composerDisabled, onAuthorClick: onAuthorClick, onReply: onSubmitComment ? startReply : undefined, onToggleLike: onToggleLike }))),
|
|
129236
|
+
React__default.createElement(ExperienceCommentRow, { comment: comment, depth: 0, likeDisabled: composerDisabled, viewerUserId: viewerUserId, onAuthorClick: onAuthorClick, onReply: onSubmitComment ? startReply : undefined, onToggleLike: onToggleLike, onEdit: onEditComment ? setEditing : undefined, onDelete: onDeleteComment ? setDeleting : undefined }),
|
|
129237
|
+
replies.map((reply) => (React__default.createElement(ExperienceCommentRow, { key: reply.id, comment: reply, depth: 1, likeDisabled: composerDisabled, viewerUserId: viewerUserId, onAuthorClick: onAuthorClick, onReply: onSubmitComment ? startReply : undefined, onToggleLike: onToggleLike, onEdit: onEditComment ? setEditing : undefined, onDelete: onDeleteComment ? setDeleting : undefined }))),
|
|
129117
129238
|
showViewReplies ? (React__default.createElement(Box$1, { sx: { pl: 7, pb: 1 } },
|
|
129118
129239
|
React__default.createElement(ButtonBase$1, { onClick: () => void handleLoadReplies(comment.id), disabled: loadingRepliesFor === comment.id, "aria-label": "Ver respostas", sx: {
|
|
129119
129240
|
typography: "caption",
|
|
@@ -129143,7 +129264,31 @@ const ExperienceCommentsSheet = ({ open, comments = [], commentCount, isLoading
|
|
|
129143
129264
|
React__default.createElement(default_1$N, { fontSize: "small" })))) : null,
|
|
129144
129265
|
React__default.createElement(SocialMessageComposer, { variant: "drawer", value: draft, onChange: setDraft, onSend: (message) => void handleSend(message), isSending: isSubmitting, disabled: composerDisabled || !onSubmitComment, placeholder: replyTarget
|
|
129145
129266
|
? "Adicione uma resposta..."
|
|
129146
|
-
: "Adicione um comentário...", maxLength: 2000 })
|
|
129267
|
+
: "Adicione um comentário...", maxLength: 2000 }),
|
|
129268
|
+
editing ? (React__default.createElement(SocialEditTextDialog, { open: true, dialogTitle: editing.parentId ? "Editar resposta" : "Editar comentário", contentLabel: "Texto", initialContent: editing.body, submitting: actionPending, maxLength: 2000, onClose: () => setEditing(null), onSave: (value) => __awaiter$1(void 0, void 0, void 0, function* () {
|
|
129269
|
+
if (!onEditComment)
|
|
129270
|
+
return;
|
|
129271
|
+
setActionPending(true);
|
|
129272
|
+
try {
|
|
129273
|
+
yield onEditComment(editing, value.content);
|
|
129274
|
+
setEditing(null);
|
|
129275
|
+
}
|
|
129276
|
+
finally {
|
|
129277
|
+
setActionPending(false);
|
|
129278
|
+
}
|
|
129279
|
+
}) })) : null,
|
|
129280
|
+
deleting ? (React__default.createElement(SocialDeleteConfirmDialog, { open: true, kind: deleting.parentId ? "reply" : "comment", submitting: actionPending, onClose: () => setDeleting(null), onConfirm: () => __awaiter$1(void 0, void 0, void 0, function* () {
|
|
129281
|
+
if (!onDeleteComment)
|
|
129282
|
+
return;
|
|
129283
|
+
setActionPending(true);
|
|
129284
|
+
try {
|
|
129285
|
+
yield onDeleteComment(deleting);
|
|
129286
|
+
setDeleting(null);
|
|
129287
|
+
}
|
|
129288
|
+
finally {
|
|
129289
|
+
setActionPending(false);
|
|
129290
|
+
}
|
|
129291
|
+
}) })) : null)));
|
|
129147
129292
|
};
|
|
129148
129293
|
|
|
129149
129294
|
const DEFAULT_OPTIONS = [
|
|
@@ -129298,9 +129443,12 @@ const SimilarExperienceCard = ({ experience, onOpen, }) => {
|
|
|
129298
129443
|
} }, experience.title || experience.content)))));
|
|
129299
129444
|
};
|
|
129300
129445
|
|
|
129301
|
-
const ExperienceDetailView = ({ experience, similarExperiences = [], viewerUserId, alsoExperiencedLoading, onAlsoExperienced, onReactionToggle, onComment, onShare, onReport, onAuthorClick, onSimilarOpen, }) => {
|
|
129302
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
129446
|
+
const ExperienceDetailView = ({ experience, similarExperiences = [], viewerUserId, alsoExperiencedLoading, onAlsoExperienced, onReactionToggle, onComment, onShare, onReport, onEdit, onDelete, onAuthorClick, onSimilarOpen, }) => {
|
|
129447
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
129303
129448
|
const [menuAnchor, setMenuAnchor] = useState(null);
|
|
129449
|
+
const [editOpen, setEditOpen] = useState(false);
|
|
129450
|
+
const [deleteOpen, setDeleteOpen] = useState(false);
|
|
129451
|
+
const [actionPending, setActionPending] = useState(false);
|
|
129304
129452
|
const authorName = authorDisplayName(experience.author, {
|
|
129305
129453
|
authorId: (_b = (_a = experience.author) === null || _a === void 0 ? void 0 : _a.userId) !== null && _b !== void 0 ? _b : experience.authorId,
|
|
129306
129454
|
viewerUserId,
|
|
@@ -129310,6 +129458,9 @@ const ExperienceDetailView = ({ experience, similarExperiences = [], viewerUserI
|
|
|
129310
129458
|
const isAuthor = Boolean(viewerUserId) &&
|
|
129311
129459
|
(experience.authorId === viewerUserId ||
|
|
129312
129460
|
((_e = experience.author) === null || _e === void 0 ? void 0 : _e.userId) === viewerUserId);
|
|
129461
|
+
const canEdit = isAuthor && Boolean(onEdit);
|
|
129462
|
+
const canDelete = isAuthor && Boolean(onDelete);
|
|
129463
|
+
const showMenu = Boolean(onShare || (!isAuthor && onReport) || canEdit || canDelete);
|
|
129313
129464
|
const hasImage = Boolean((_f = experience.imageUrl) === null || _f === void 0 ? void 0 : _f.trim());
|
|
129314
129465
|
const commentCount = (_g = experience.commentCount) !== null && _g !== void 0 ? _g : 0;
|
|
129315
129466
|
const shareCount = (_h = experience.shareCount) !== null && _h !== void 0 ? _h : 0;
|
|
@@ -129352,8 +129503,9 @@ const ExperienceDetailView = ({ experience, similarExperiences = [], viewerUserI
|
|
|
129352
129503
|
timeLabel ? (React__default.createElement(React__default.Fragment, null,
|
|
129353
129504
|
React__default.createElement(Typography$1, { component: "span", color: "text.secondary", sx: { fontSize: "0.9375rem" } }, "\u00B7"),
|
|
129354
129505
|
React__default.createElement(Typography$1, { component: "span", color: "text.secondary", noWrap: true, sx: { fontSize: "0.9375rem" } }, timeLabel))) : null,
|
|
129506
|
+
React__default.createElement(EditedMark, { editedAt: experience.editedAt }),
|
|
129355
129507
|
React__default.createElement(Box$1, { sx: { flex: 1 } }),
|
|
129356
|
-
|
|
129508
|
+
showMenu ? (React__default.createElement(React__default.Fragment, null,
|
|
129357
129509
|
React__default.createElement(IconButton$1, { size: "small", "aria-label": "Mais op\u00E7\u00F5es", onClick: (event) => setMenuAnchor(event.currentTarget), sx: socialActionIconSx },
|
|
129358
129510
|
React__default.createElement(default_1$K, { fontSize: "small" })),
|
|
129359
129511
|
React__default.createElement(Menu$2, { anchorEl: menuAnchor, open: Boolean(menuAnchor), onClose: () => setMenuAnchor(null) },
|
|
@@ -129361,6 +129513,14 @@ const ExperienceDetailView = ({ experience, similarExperiences = [], viewerUserI
|
|
|
129361
129513
|
setMenuAnchor(null);
|
|
129362
129514
|
onShare();
|
|
129363
129515
|
} }, "Compartilhar")) : null,
|
|
129516
|
+
canEdit ? (React__default.createElement(MenuItem$1, { onClick: () => {
|
|
129517
|
+
setMenuAnchor(null);
|
|
129518
|
+
setEditOpen(true);
|
|
129519
|
+
} }, "Editar")) : null,
|
|
129520
|
+
canDelete ? (React__default.createElement(MenuItem$1, { onClick: () => {
|
|
129521
|
+
setMenuAnchor(null);
|
|
129522
|
+
setDeleteOpen(true);
|
|
129523
|
+
} }, "Excluir")) : null,
|
|
129364
129524
|
!isAuthor && onReport ? (React__default.createElement(MenuItem$1, { onClick: () => {
|
|
129365
129525
|
setMenuAnchor(null);
|
|
129366
129526
|
onReport();
|
|
@@ -129411,7 +129571,31 @@ const ExperienceDetailView = ({ experience, similarExperiences = [], viewerUserI
|
|
|
129411
129571
|
borderBottom: 1,
|
|
129412
129572
|
borderColor: "divider",
|
|
129413
129573
|
} }, "Semelhantes"),
|
|
129414
|
-
similarExperiences.map((item) => (React__default.createElement(SimilarExperienceCard, { key: item.id, experience: item, onOpen: onSimilarOpen }))))) : null
|
|
129574
|
+
similarExperiences.map((item) => (React__default.createElement(SimilarExperienceCard, { key: item.id, experience: item, onOpen: onSimilarOpen }))))) : null,
|
|
129575
|
+
editOpen ? (React__default.createElement(SocialEditTextDialog, { open: true, dialogTitle: "Editar publica\u00E7\u00E3o", contentLabel: "Texto", initialContent: experience.content, initialTitle: experience.title, showTitle: Boolean((_p = experience.title) === null || _p === void 0 ? void 0 : _p.trim()), submitting: actionPending, onClose: () => setEditOpen(false), onSave: (value) => __awaiter$1(void 0, void 0, void 0, function* () {
|
|
129576
|
+
if (!onEdit)
|
|
129577
|
+
return;
|
|
129578
|
+
setActionPending(true);
|
|
129579
|
+
try {
|
|
129580
|
+
yield onEdit(value);
|
|
129581
|
+
setEditOpen(false);
|
|
129582
|
+
}
|
|
129583
|
+
finally {
|
|
129584
|
+
setActionPending(false);
|
|
129585
|
+
}
|
|
129586
|
+
}) })) : null,
|
|
129587
|
+
deleteOpen ? (React__default.createElement(SocialDeleteConfirmDialog, { open: true, kind: "post", submitting: actionPending, onClose: () => setDeleteOpen(false), onConfirm: () => __awaiter$1(void 0, void 0, void 0, function* () {
|
|
129588
|
+
if (!onDelete)
|
|
129589
|
+
return;
|
|
129590
|
+
setActionPending(true);
|
|
129591
|
+
try {
|
|
129592
|
+
yield onDelete();
|
|
129593
|
+
setDeleteOpen(false);
|
|
129594
|
+
}
|
|
129595
|
+
finally {
|
|
129596
|
+
setActionPending(false);
|
|
129597
|
+
}
|
|
129598
|
+
}) })) : null));
|
|
129415
129599
|
};
|
|
129416
129600
|
|
|
129417
129601
|
const QuestionSourceBadge = ({ source }) => {
|
|
@@ -178291,8 +178475,8 @@ const SocialHomePage = (props) => {
|
|
|
178291
178475
|
: undefined, onAction: tab === "para-voce"
|
|
178292
178476
|
? props.onCreateExperience
|
|
178293
178477
|
: props.onOpenFollow })) : (React__default.createElement(InfiniteScroll, { hasNextPage: feedHasNextPage, isFetchingNextPage: feedIsFetchingNextPage, onLoadMore: onFeedLoadMore !== null && onFeedLoadMore !== void 0 ? onFeedLoadMore : (() => undefined) },
|
|
178294
|
-
React__default.createElement(Box$1, { sx: { border: "none" } }, feed.map((item) => item.kind === "experience" ? (React__default.createElement(ExperienceCard, { key: `experience-${item.id}`, experience: item.experience, viewerUserId: props.viewerUserId, onOpen: props.onOpenExperience, onAlsoExperienced: props.onAlsoExperienced, onReactionToggle: props.onReactionToggle, onShare: props.onShareExperience, onReport: props.onReportExperience, onComment: openComments, onBookmark: props.onBookmarkExperience, onAuthorClick: props.onOpenPerson, alsoExperiencedLoading: props.alsoExperiencedLoadingId === item.id })) : (React__default.createElement(QuestionCard, { key: `question-${item.id}`, question: item.question, viewerUserId: props.viewerUserId, onOpen: openAnswers, onOpenAnswers: openAnswers, onBookmark: props.onBookmarkQuestion, onShare: props.onShareQuestion, onReactionToggle: props.onReactionToggleQuestion, onAuthorClick: props.onOpenPerson }))))))),
|
|
178295
|
-
React__default.createElement(ExperienceCommentsSheet, { open: Boolean(commentsExperienceId), experienceId: commentsExperienceId, comments: props.comments, commentCount: (_k = (_j = props.commentsCount) !== null && _j !== void 0 ? _j : commentsTarget === null || commentsTarget === void 0 ? void 0 : commentsTarget.commentCount) !== null && _k !== void 0 ? _k : undefined, isLoading: props.commentsLoading, isFetchingMore: props.commentsFetchingMore, hasMore: props.commentsHasMore, isSubmitting: props.commentsSubmitting, error: props.commentsError, composerDisabled: props.commentsComposerDisabled, onClose: closeComments, onLoadMore: props.onLoadMoreComments, onLoadMoreReplies: props.onLoadMoreReplies, onSubmitComment: props.onSubmitComment, onToggleLike: props.onToggleCommentLike, onRetry: props.onRetryComments, onAuthorClick: props.onOpenPerson }),
|
|
178478
|
+
React__default.createElement(Box$1, { sx: { border: "none" } }, feed.map((item) => item.kind === "experience" ? (React__default.createElement(ExperienceCard, { key: `experience-${item.id}`, experience: item.experience, viewerUserId: props.viewerUserId, onOpen: props.onOpenExperience, onAlsoExperienced: props.onAlsoExperienced, onReactionToggle: props.onReactionToggle, onShare: props.onShareExperience, onReport: props.onReportExperience, onEdit: props.onEditExperience, onDelete: props.onDeleteExperience, onComment: openComments, onBookmark: props.onBookmarkExperience, onAuthorClick: props.onOpenPerson, alsoExperiencedLoading: props.alsoExperiencedLoadingId === item.id })) : (React__default.createElement(QuestionCard, { key: `question-${item.id}`, question: item.question, viewerUserId: props.viewerUserId, onOpen: openAnswers, onOpenAnswers: openAnswers, onBookmark: props.onBookmarkQuestion, onShare: props.onShareQuestion, onReactionToggle: props.onReactionToggleQuestion, onAuthorClick: props.onOpenPerson }))))))),
|
|
178479
|
+
React__default.createElement(ExperienceCommentsSheet, { open: Boolean(commentsExperienceId), experienceId: commentsExperienceId, comments: props.comments, commentCount: (_k = (_j = props.commentsCount) !== null && _j !== void 0 ? _j : commentsTarget === null || commentsTarget === void 0 ? void 0 : commentsTarget.commentCount) !== null && _k !== void 0 ? _k : undefined, isLoading: props.commentsLoading, isFetchingMore: props.commentsFetchingMore, hasMore: props.commentsHasMore, isSubmitting: props.commentsSubmitting, error: props.commentsError, composerDisabled: props.commentsComposerDisabled, onClose: closeComments, onLoadMore: props.onLoadMoreComments, onLoadMoreReplies: props.onLoadMoreReplies, onSubmitComment: props.onSubmitComment, onToggleLike: props.onToggleCommentLike, onRetry: props.onRetryComments, onAuthorClick: props.onOpenPerson, viewerUserId: props.viewerUserId, onEditComment: props.onEditComment, onDeleteComment: props.onDeleteComment }),
|
|
178296
178480
|
React__default.createElement(QuestionAnswersSheet, { open: Boolean(answersQuestionId), questionId: answersQuestionId, questionTitle: answersTarget === null || answersTarget === void 0 ? void 0 : answersTarget.title, answers: props.answers, answerCount: (_m = (_l = props.answersCount) !== null && _l !== void 0 ? _l : answersTarget === null || answersTarget === void 0 ? void 0 : answersTarget.answerCount) !== null && _m !== void 0 ? _m : undefined, isLoading: props.answersLoading, isSubmitting: props.answersSubmitting, error: props.answersError, onClose: closeAnswers, onRetry: props.onRetryAnswers, onSubmitAnswer: props.onSubmitAnswer, onAuthorClick: props.onOpenPerson }),
|
|
178297
178481
|
hasCreateActions ? (React__default.createElement(React__default.Fragment, null,
|
|
178298
178482
|
React__default.createElement(Fab$1, { color: "primary", "aria-label": "Criar", "data-testid": "social-create-fab", onClick: openCreateSheet, sx: {
|
|
@@ -178594,10 +178778,10 @@ const ExperienceDetailPage = (props) => {
|
|
|
178594
178778
|
(_a = props.onCloseComments) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
178595
178779
|
};
|
|
178596
178780
|
return (React__default.createElement(SocialPageShell, { title: "Experi\u00EAncia", onBack: props.onBack }, props.isLoading ? (React__default.createElement(SocialSkeleton, { count: 1 })) : props.error ? (React__default.createElement(SocialErrorState, { message: props.error, onRetry: props.onRetry })) : props.experience ? (React__default.createElement(React__default.Fragment, null,
|
|
178597
|
-
React__default.createElement(ExperienceDetailView, { experience: props.experience, similarExperiences: props.similarExperiences, viewerUserId: props.viewerUserId, alsoExperiencedLoading: props.alsoExperiencedLoading, onAlsoExperienced: props.onAlsoExperienced, onReactionToggle: props.onReactionToggle, onComment: openComments, onShare: props.onShare, onReport: props.onReport, onAuthorClick: props.onAuthorClick, onSimilarOpen: props.onSimilarOpen }),
|
|
178781
|
+
React__default.createElement(ExperienceDetailView, { experience: props.experience, similarExperiences: props.similarExperiences, viewerUserId: props.viewerUserId, alsoExperiencedLoading: props.alsoExperiencedLoading, onAlsoExperienced: props.onAlsoExperienced, onReactionToggle: props.onReactionToggle, onComment: openComments, onShare: props.onShare, onReport: props.onReport, onEdit: props.onEditExperience, onDelete: props.onDeleteExperience, onAuthorClick: props.onAuthorClick, onSimilarOpen: props.onSimilarOpen }),
|
|
178598
178782
|
React__default.createElement(ShareSheet, { open: Boolean(props.shareOpen), onClose: (_b = props.onShareClose) !== null && _b !== void 0 ? _b : (() => undefined), previewText: (_c = props.sharePreviewText) !== null && _c !== void 0 ? _c : "Uma experiência na comunidade", shareUrl: (_d = props.shareUrl) !== null && _d !== void 0 ? _d : "", onWhatsAppShare: props.onWhatsAppShare, onCopyLink: props.onCopyLink, onShareStarted: props.onShareStarted }),
|
|
178599
178783
|
React__default.createElement(ReportDialog, { open: Boolean(props.reportOpen), onClose: (_e = props.onReportClose) !== null && _e !== void 0 ? _e : (() => undefined), onSubmit: (_f = props.onReportSubmit) !== null && _f !== void 0 ? _f : (() => undefined) }),
|
|
178600
|
-
React__default.createElement(ExperienceCommentsSheet, { open: commentsOpen, experienceId: props.experience.id, comments: props.comments, commentCount: (_h = (_g = props.commentsCount) !== null && _g !== void 0 ? _g : props.experience.commentCount) !== null && _h !== void 0 ? _h : undefined, isLoading: props.commentsLoading, isFetchingMore: props.commentsFetchingMore, hasMore: props.commentsHasMore, isSubmitting: props.commentsSubmitting, error: props.commentsError, composerDisabled: props.commentsComposerDisabled, onClose: closeComments, onLoadMore: props.onLoadMoreComments, onLoadMoreReplies: props.onLoadMoreReplies, onSubmitComment: props.onSubmitComment, onToggleLike: props.onToggleCommentLike, onRetry: props.onRetryComments, onAuthorClick: props.onCommentAuthorClick }))) : (React__default.createElement(SocialErrorState, { title: "Experi\u00EAncia n\u00E3o encontrada", message: "Este conte\u00FAdo pode ter sido removido ou n\u00E3o est\u00E1 dispon\u00EDvel.", onRetry: props.onRetry }))));
|
|
178784
|
+
React__default.createElement(ExperienceCommentsSheet, { open: commentsOpen, experienceId: props.experience.id, comments: props.comments, commentCount: (_h = (_g = props.commentsCount) !== null && _g !== void 0 ? _g : props.experience.commentCount) !== null && _h !== void 0 ? _h : undefined, isLoading: props.commentsLoading, isFetchingMore: props.commentsFetchingMore, hasMore: props.commentsHasMore, isSubmitting: props.commentsSubmitting, error: props.commentsError, composerDisabled: props.commentsComposerDisabled, onClose: closeComments, onLoadMore: props.onLoadMoreComments, onLoadMoreReplies: props.onLoadMoreReplies, onSubmitComment: props.onSubmitComment, onToggleLike: props.onToggleCommentLike, onRetry: props.onRetryComments, onAuthorClick: props.onCommentAuthorClick, viewerUserId: props.viewerUserId, onEditComment: props.onEditComment, onDeleteComment: props.onDeleteComment }))) : (React__default.createElement(SocialErrorState, { title: "Experi\u00EAncia n\u00E3o encontrada", message: "Este conte\u00FAdo pode ter sido removido ou n\u00E3o est\u00E1 dispon\u00EDvel.", onRetry: props.onRetry }))));
|
|
178601
178785
|
};
|
|
178602
178786
|
|
|
178603
178787
|
const QuestionsPage = ({ questions = [], isLoading, error, onBack, onRetry, onOpenQuestion, onCreateQuestion, }) => (React__default.createElement(SocialPageShell, { title: "Perguntas", onBack: onBack },
|
|
@@ -178726,12 +178910,13 @@ const stubEmptyCopy = {
|
|
|
178726
178910
|
},
|
|
178727
178911
|
};
|
|
178728
178912
|
const JourneyProfilePage = (props) => {
|
|
178729
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
178913
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
178730
178914
|
const [contentTab, setContentTab] = useState("posts");
|
|
178731
178915
|
const [commentsExperienceId, setCommentsExperienceId] = useState(null);
|
|
178732
178916
|
const experiences = (_a = props.experiences) !== null && _a !== void 0 ? _a : [];
|
|
178733
178917
|
(_b = props.similarPeople) !== null && _b !== void 0 ? _b : [];
|
|
178734
178918
|
const isOwn = props.isOwnProfile || ((_c = props.profile) === null || _c === void 0 ? void 0 : _c.connectionStatus) === "SELF";
|
|
178919
|
+
const viewerUserId = (_d = props.viewerUserId) !== null && _d !== void 0 ? _d : (isOwn ? (_e = props.profile) === null || _e === void 0 ? void 0 : _e.userId : undefined);
|
|
178735
178920
|
const commentsTarget = commentsExperienceId == null
|
|
178736
178921
|
? undefined
|
|
178737
178922
|
: experiences.find((item) => item.id === commentsExperienceId);
|
|
@@ -178746,7 +178931,7 @@ const JourneyProfilePage = (props) => {
|
|
|
178746
178931
|
(_a = props.onCloseComments) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
178747
178932
|
};
|
|
178748
178933
|
return (React__default.createElement(SocialPageShell, { title: "Jornada", onBack: props.onBack, hideHeader: true }, props.isLoading ? (React__default.createElement(SocialSkeleton, { variant: "profile", count: 1 })) : props.error ? (React__default.createElement(SocialErrorState, { message: props.error, onRetry: props.onRetry })) : props.profile ? (React__default.createElement(React__default.Fragment, null,
|
|
178749
|
-
React__default.createElement(JourneyProfile, { profile: props.profile, isOwnProfile: isOwn, connectionLoading: props.connectionLoading, onBack: props.onBack, onSearch: props.onSearch, onMore: (
|
|
178934
|
+
React__default.createElement(JourneyProfile, { profile: props.profile, isOwnProfile: isOwn, connectionLoading: props.connectionLoading, onBack: props.onBack, onSearch: props.onSearch, onMore: (_f = props.onMore) !== null && _f !== void 0 ? _f : (isOwn ? undefined : props.onBlockOpen), onConnect: props.onConnect, onDisconnect: props.onDisconnect, onMessage: props.onMessage, onEdit: props.onEdit, onShare: props.onShare, onBlock: props.onBlockOpen, onOpenJoined: props.onOpenJoined, onOpenFollowing: props.onOpenFollowing, onOpenFollowers: props.onOpenFollowers, showVerificationBanner: Boolean(props.showVerificationBanner) && isOwn, verificationBannerMode: props.verificationBannerMode, verificationDaysRemaining: props.verificationDaysRemaining, onOpenVerificationProgress: props.onOpenVerificationProgress, onGetVerification: props.onGetVerification, onDismissVerification: props.onDismissVerification, experiencesCount: props.experiencesCount, connectionsCount: props.connectionsCount }),
|
|
178750
178935
|
React__default.createElement(Tabs$1, { value: contentTab, onChange: (_, value) => setContentTab(value), variant: "fullWidth", "aria-label": "Conte\u00FAdo da jornada", sx: {
|
|
178751
178936
|
borderBottom: 1,
|
|
178752
178937
|
borderColor: "divider",
|
|
@@ -178767,14 +178952,11 @@ const JourneyProfilePage = (props) => {
|
|
|
178767
178952
|
} },
|
|
178768
178953
|
React__default.createElement(Tab$1, { value: "posts", label: "Posts", disableRipple: true }),
|
|
178769
178954
|
React__default.createElement(Tab$1, { value: "replies", "aria-label": "Respostas", icon: React__default.createElement(ChatBubbleOutline$1, { fontSize: "small" }), disableRipple: true })),
|
|
178770
|
-
contentTab === "posts" ? (experiences.length === 0 ? (React__default.createElement(SocialEmptyState, { title: "Sem experi\u00EAncias p\u00FAblicas", description: "Esta jornada ainda n\u00E3o tem experi\u00EAncias vis\u00EDveis.", actionLabel: isOwn ? "Compartilhar experiência" : undefined, onAction: isOwn ? props.onCreateExperience : undefined })) : (React__default.createElement(Box$1, null, experiences.map((experience) => {
|
|
178771
|
-
var _a;
|
|
178772
|
-
return (React__default.createElement(ExperienceCard, { key: experience.id, experience: experience, viewerUserId: isOwn ? (_a = props.profile) === null || _a === void 0 ? void 0 : _a.userId : undefined, onOpen: props.onOpenExperience, onComment: openComments, onAuthorClick: props.onOpenPerson, compact: true }));
|
|
178773
|
-
})))) : (React__default.createElement(SocialEmptyState, { title: stubEmptyCopy[contentTab].title, description: stubEmptyCopy[contentTab].description })),
|
|
178955
|
+
contentTab === "posts" ? (experiences.length === 0 ? (React__default.createElement(SocialEmptyState, { title: "Sem experi\u00EAncias p\u00FAblicas", description: "Esta jornada ainda n\u00E3o tem experi\u00EAncias vis\u00EDveis.", actionLabel: isOwn ? "Compartilhar experiência" : undefined, onAction: isOwn ? props.onCreateExperience : undefined })) : (React__default.createElement(Box$1, null, experiences.map((experience) => (React__default.createElement(ExperienceCard, { key: experience.id, experience: experience, viewerUserId: viewerUserId, onOpen: props.onOpenExperience, onEdit: props.onEditExperience, onDelete: props.onDeleteExperience, onComment: openComments, onAuthorClick: props.onOpenPerson, compact: true })))))) : (React__default.createElement(SocialEmptyState, { title: stubEmptyCopy[contentTab].title, description: stubEmptyCopy[contentTab].description })),
|
|
178774
178956
|
isOwn && props.onCreateExperience ? (React__default.createElement(Fab$1, { color: "primary", "aria-label": "Nova experi\u00EAncia", onClick: props.onCreateExperience, sx: { position: "fixed", bottom: 24, right: 16, zIndex: 10 } },
|
|
178775
178957
|
React__default.createElement(Add$1, null))) : null,
|
|
178776
|
-
React__default.createElement(ExperienceCommentsSheet, { open: Boolean(commentsExperienceId), experienceId: commentsExperienceId, comments: props.comments, commentCount: (
|
|
178777
|
-
React__default.createElement(BlockDialog, { open: Boolean(props.blockOpen), displayName: props.profile.displayName || props.profile.username || undefined, onClose: (
|
|
178958
|
+
React__default.createElement(ExperienceCommentsSheet, { open: Boolean(commentsExperienceId), experienceId: commentsExperienceId, comments: props.comments, commentCount: (_h = (_g = props.commentsCount) !== null && _g !== void 0 ? _g : commentsTarget === null || commentsTarget === void 0 ? void 0 : commentsTarget.commentCount) !== null && _h !== void 0 ? _h : undefined, isLoading: props.commentsLoading, isFetchingMore: props.commentsFetchingMore, hasMore: props.commentsHasMore, isSubmitting: props.commentsSubmitting, error: props.commentsError, composerDisabled: props.commentsComposerDisabled, onClose: closeComments, onLoadMore: props.onLoadMoreComments, onLoadMoreReplies: props.onLoadMoreReplies, onSubmitComment: props.onSubmitComment, onToggleLike: props.onToggleCommentLike, onRetry: props.onRetryComments, onAuthorClick: props.onOpenPerson, viewerUserId: viewerUserId, onEditComment: props.onEditComment, onDeleteComment: props.onDeleteComment }),
|
|
178959
|
+
React__default.createElement(BlockDialog, { open: Boolean(props.blockOpen), displayName: props.profile.displayName || props.profile.username || undefined, onClose: (_j = props.onBlockClose) !== null && _j !== void 0 ? _j : (() => undefined), onConfirm: (_k = props.onBlockConfirm) !== null && _k !== void 0 ? _k : (() => undefined) }))) : (React__default.createElement(Box$1, { sx: { pt: 2 } },
|
|
178778
178960
|
props.onBack ? (React__default.createElement(Typography$1, { component: "button", onClick: props.onBack, sx: {
|
|
178779
178961
|
display: "block",
|
|
178780
178962
|
mx: 2,
|
|
@@ -179534,7 +179716,7 @@ const SocialDiscoverPage = (props) => {
|
|
|
179534
179716
|
const renderMixed = (experienceItems, questionItems, peopleItems, sectioned) => (React__default.createElement(Box$1, null,
|
|
179535
179717
|
experienceItems.length > 0 ? (React__default.createElement(Box$1, null,
|
|
179536
179718
|
sectioned ? (React__default.createElement(Typography$1, { component: "h2", sx: sectionTitleSx$1 }, "Experi\u00EAncias")) : null,
|
|
179537
|
-
experienceItems.map((experience) => (React__default.createElement(ExperienceCard, { key: experience.id, experience: experience, onOpen: props.onOpenExperience, compact: true }))),
|
|
179719
|
+
experienceItems.map((experience) => (React__default.createElement(ExperienceCard, { key: experience.id, experience: experience, viewerUserId: props.viewerUserId, onOpen: props.onOpenExperience, onEdit: props.onEditExperience, onDelete: props.onDeleteExperience, compact: true }))),
|
|
179538
179720
|
sectioned ? (React__default.createElement(DiscoverSeeMoreRow, { label: "Ver mais experi\u00EAncias", onSeeMore: () => goToTab("experiences") })) : null)) : null,
|
|
179539
179721
|
questionItems.length > 0 ? (React__default.createElement(Box$1, null,
|
|
179540
179722
|
sectioned ? (React__default.createElement(Typography$1, { component: "h2", sx: sectionTitleSx$1 }, "Perguntas")) : null,
|
|
@@ -179568,7 +179750,7 @@ const SocialDiscoverPage = (props) => {
|
|
|
179568
179750
|
return (React__default.createElement(SocialErrorState, { message: props.error, onRetry: props.onRetry }));
|
|
179569
179751
|
}
|
|
179570
179752
|
if (tab === "experiences" && experiences.length > 0) {
|
|
179571
|
-
return (React__default.createElement(Box$1, null, experiences.map((experience) => (React__default.createElement(ExperienceCard, { key: experience.id, experience: experience, onOpen: props.onOpenExperience, compact: true })))));
|
|
179753
|
+
return (React__default.createElement(Box$1, null, experiences.map((experience) => (React__default.createElement(ExperienceCard, { key: experience.id, experience: experience, viewerUserId: props.viewerUserId, onOpen: props.onOpenExperience, onEdit: props.onEditExperience, onDelete: props.onDeleteExperience, compact: true })))));
|
|
179572
179754
|
}
|
|
179573
179755
|
if (tab === "questions" && questions.length > 0) {
|
|
179574
179756
|
return (React__default.createElement(Box$1, null, questions.map((question) => (React__default.createElement(QuestionCard, { key: question.id, question: question, onOpen: props.onOpenQuestion, onOpenAnswers: props.onOpenQuestionAnswers, onBookmark: props.onBookmarkQuestion, onShare: props.onShareQuestion, onReactionToggle: props.onReactionToggleQuestion, onAuthorClick: props.onOpenPerson })))));
|
|
@@ -179748,12 +179930,12 @@ const SocialSavedPage = (props) => {
|
|
|
179748
179930
|
showExperiences && experiences.length > 0 ? (React__default.createElement(InfiniteScroll, { hasNextPage: Boolean(props.hasNextPage), isFetchingNextPage: Boolean(props.isFetchingNextPage), onLoadMore: (_d = props.onLoadMore) !== null && _d !== void 0 ? _d : (() => undefined) },
|
|
179749
179931
|
React__default.createElement(Box$1, { sx: { border: "none" } },
|
|
179750
179932
|
tab === "all" ? (React__default.createElement(Typography$1, { sx: sectionTitleSx }, "Experi\u00EAncias")) : null,
|
|
179751
|
-
experiences.map((experience) => (React__default.createElement(ExperienceCard, { key: experience.id, experience: experience, viewerUserId: props.viewerUserId, onOpen: props.onOpenExperience, onAlsoExperienced: props.onAlsoExperienced, onReactionToggle: props.onReactionToggle, onShare: props.onShareExperience, onComment: openComments, onBookmark: props.onBookmarkExperience, onAuthorClick: props.onOpenPerson, alsoExperiencedLoading: props.alsoExperiencedLoadingId === experience.id })))))) : null,
|
|
179933
|
+
experiences.map((experience) => (React__default.createElement(ExperienceCard, { key: experience.id, experience: experience, viewerUserId: props.viewerUserId, onOpen: props.onOpenExperience, onAlsoExperienced: props.onAlsoExperienced, onReactionToggle: props.onReactionToggle, onShare: props.onShareExperience, onEdit: props.onEditExperience, onDelete: props.onDeleteExperience, onComment: openComments, onBookmark: props.onBookmarkExperience, onAuthorClick: props.onOpenPerson, alsoExperiencedLoading: props.alsoExperiencedLoadingId === experience.id })))))) : null,
|
|
179752
179934
|
showQuestions && questions.length > 0 ? (React__default.createElement(InfiniteScroll, { hasNextPage: Boolean(props.questionsHasNextPage), isFetchingNextPage: Boolean(props.questionsFetchingNextPage), onLoadMore: (_e = props.onLoadMoreQuestions) !== null && _e !== void 0 ? _e : (() => undefined) },
|
|
179753
179935
|
React__default.createElement(Box$1, { sx: { border: "none" } },
|
|
179754
179936
|
tab === "all" ? (React__default.createElement(Typography$1, { sx: sectionTitleSx }, "Perguntas")) : null,
|
|
179755
179937
|
questions.map((question) => (React__default.createElement(QuestionCard, { key: question.id, question: question, viewerUserId: props.viewerUserId, onOpen: openAnswers, onOpenAnswers: openAnswers, onBookmark: props.onBookmarkQuestion, onShare: props.onShareQuestion, onReactionToggle: props.onReactionToggleQuestion, onAuthorClick: props.onOpenPerson })))))) : null)),
|
|
179756
|
-
React__default.createElement(ExperienceCommentsSheet, { open: Boolean(commentsExperienceId), experienceId: commentsExperienceId, comments: props.comments, commentCount: (_g = (_f = props.commentsCount) !== null && _f !== void 0 ? _f : commentsTarget === null || commentsTarget === void 0 ? void 0 : commentsTarget.commentCount) !== null && _g !== void 0 ? _g : undefined, isLoading: props.commentsLoading, isFetchingMore: props.commentsFetchingMore, hasMore: props.commentsHasMore, isSubmitting: props.commentsSubmitting, error: props.commentsError, composerDisabled: false, onClose: closeComments, onLoadMore: props.onLoadMoreComments, onLoadMoreReplies: props.onLoadMoreReplies, onSubmitComment: props.onSubmitComment, onToggleLike: props.onToggleCommentLike, onRetry: props.onRetryComments, onAuthorClick: props.onOpenPerson }),
|
|
179938
|
+
React__default.createElement(ExperienceCommentsSheet, { open: Boolean(commentsExperienceId), experienceId: commentsExperienceId, comments: props.comments, commentCount: (_g = (_f = props.commentsCount) !== null && _f !== void 0 ? _f : commentsTarget === null || commentsTarget === void 0 ? void 0 : commentsTarget.commentCount) !== null && _g !== void 0 ? _g : undefined, isLoading: props.commentsLoading, isFetchingMore: props.commentsFetchingMore, hasMore: props.commentsHasMore, isSubmitting: props.commentsSubmitting, error: props.commentsError, composerDisabled: false, onClose: closeComments, onLoadMore: props.onLoadMoreComments, onLoadMoreReplies: props.onLoadMoreReplies, onSubmitComment: props.onSubmitComment, onToggleLike: props.onToggleCommentLike, viewerUserId: props.viewerUserId, onEditComment: props.onEditComment, onDeleteComment: props.onDeleteComment, onRetry: props.onRetryComments, onAuthorClick: props.onOpenPerson }),
|
|
179757
179939
|
React__default.createElement(QuestionAnswersSheet, { open: Boolean(answersQuestionId), questionId: answersQuestionId, questionTitle: answersTarget === null || answersTarget === void 0 ? void 0 : answersTarget.title, answers: props.answers, answerCount: (_j = (_h = props.answersCount) !== null && _h !== void 0 ? _h : answersTarget === null || answersTarget === void 0 ? void 0 : answersTarget.answerCount) !== null && _j !== void 0 ? _j : undefined, isLoading: props.answersLoading, isSubmitting: props.answersSubmitting, error: props.answersError, onClose: closeAnswers, onRetry: props.onRetryAnswers, onSubmitAnswer: props.onSubmitAnswer, onAuthorClick: props.onOpenPerson })));
|
|
179758
179940
|
};
|
|
179759
179941
|
|
|
@@ -194641,5 +194823,5 @@ var index_es = /*#__PURE__*/Object.freeze({
|
|
|
194641
194823
|
vectorsRatio: vectorsRatio
|
|
194642
194824
|
});
|
|
194643
194825
|
|
|
194644
|
-
export { ACTIVITY_STEP_ORDER, ALSO_EXPERIENCED_LABEL, AVATAR_SIZE_CONFIG, AcademyCertificatePreview, AcademyModulePage, AcademyPage, AccessBlockedPage, AccountOptionSchema, BasicInfoSchema as ActivityBasicInfoSchema, ActivityChatInsumosPicker, ActivityChatMembersPicker, ActivityCheckinWindowSchema, ActivityDetailPage$1 as ActivityDetailPage, ActivityEditPage, ActivityFormChatSummaryCard, InsumosSelectionSchema$1 as ActivityInsumosSelectionSchema, ActivityListPage, MembersSelectionSchema as ActivityMembersSelectionSchema, ActivityOnboardingPage, TemplateSchema as ActivityTemplateSchema, TimeSelectionSchema as ActivityTimeSelectionSchema, AddMediumByQRCodePage, AddressInfoSchema, AddressPage, AffiliateProgramPage, AlsoExperiencedButton, AttendanceCheckinCta$1 as AttendanceCheckinCta, AttendanceCheckinDialog, AttendanceCheckinEntryPage, AttendanceInsightsPage, AvatarWithBadge, BADGE_SIZE_CONFIG, BADGE_TIER_COLORS, BADGE_TIER_CONFIG, BADGE_TIER_LABELS, BADGE_TYPE_LABELS, BANK_OPTIONS, BANNER_GRADIENT_KEYS, BANNER_GRADIENT_PRESETS, BRAZILIAN_STATES$1 as BRAZILIAN_STATES, BadgeProgressSchema, BadgeTierSchema$2 as BadgeTierSchema, BadgesPage, BadgeInfoSchema as BadgesPageBadgeInfoSchema, BadgeTierSchema as BadgesPageBadgeTierSchema, BadgeTypeSchema as BadgesPageBadgeTypeSchema, BadgesPagePropsSchema, BathCategorySchema$2 as BathCategorySchema, BlockDialog, BrazilianStateUFSchema, CARD_CONTENT_STYLES, CATEGORY_CONFIG, CATEGORY_LABELS, CREATE_EXPERIENCE_STEP_LABELS, CREATE_EXPERIENCE_STEP_ORDER, CREATE_QUESTION_STEP_LABELS, CREATE_QUESTION_STEP_ORDER, CellphoneInput, CellphoneInputPropsSchema, CompletenessCard, ConnectionButton, ContactArraySchema, ContactPage, ContactPagePropsSchema, ContactSchema, ContactSectionCardPropsSchema, ContributionImpactCard, CopyTargetSchema, CreateExperiencePage, CreateExperienceValuesSchema, CreateIngressoPage, CreateQuestionPage, CreateQuestionValuesSchema, CredentialsApiErrorSchema, CredentialsDataSchema, CredentialsFormStateSchema, CredentialsPage, CredentialsPagePropsSchema, CredentialsValidationErrorsSchema, CustomBannerGradientPresetSchema, DAILY_MESSAGE_POOL, DEFAULT_BANNER_GRADIENT_KEY, DEFAULT_HOME_WIDGET_ORDER, DEFAULT_HOME_WIDGET_VISIBILITY, DailyRitualCard, DescriptionBox$3 as DescriptionBox, DetailedPermissionSchema, EMPTY_ELEMENT_SIZE, EMPTY_ELEMENT_SIZE as EMPTY_SLOT_SIZE, EVENT_STEP_ORDER, EditEventPage, EditJourneyPage, EventAISuggestionsPage, EventBasicInfoSchema, EventChatActivitiesPicker, EventChatInsumosPicker, EventChatLocationPicker, EventChatMembersPicker, EventChatTypePicker, EventCheckinWindowSchema, EventDateTimeSchema, EventDetailPage$1 as EventDetailPage, EventFormChatSummaryCard, EventFormValuesSchema, InsumosSelectionSchema as EventInsumosSelectionSchema, EventLocationSchema, EventOnboardingPage, EventParticipantsSchema, EventProfileBlockedPage, EventPublicationFormChatSummaryCard, EventTicketingManagementPage, EventsPage, ExperienceCard, ExperienceCategoryBadge, ExperienceCategorySchema, ExperienceCommentRow, ExperienceCommentSchema, ExperienceCommentsSheet, ExperienceComposer, ExperienceDetailPage, ExperienceDetailView, ExperienceEngageMenu, ExperiencePostTypeBadge, ExperiencePostTypeSchema, ExperienceReactionBar, ExperienceReactionTypeSchema, ExperienceSchema, ExpiredLinkPage, FORM_CONFIG, FacebookAuthButton, FilterDrawerShellPropsSchema, FinanceMetricCard$1 as FinanceMetricCard, FinancialAccountPage, FinancialAccountsList$1 as FinancialAccountsList, FinancialOverviewCard, FinancialRegisterPage, FinancialTransparencyPage, ForbiddenPage, ForgotPasswordPage, FormChatAssistant, FormChatListSelect, FormChatPickerDrawer, FormChatSelectionBar, GLOW_EFFECT, GamificationBadgeSchema, GamificationBadgeTierEnum, GamificationBadgeTypeEnum, GamificationCard, GamificationCardPropsSchema, GamificationHelpPage, GamificationHelpPagePropsSchema, GamificationHelpTopicSchema, GamificationSummarySchema, GoogleAuthButton, HOME_BELL_NOTIFICATION_LIMIT, HOME_MEASURE_SLOTS, HOME_WIDGETS_CATALOG, HomePage, Image$1 as Image, ImageButton, IncomeListPage$1 as IncomeListPage, IncomingFinancialPage, InfiniteScroll, InfiniteScrollPropsSchema, InstallPrompt, InsumosAvatarGroup, InventoryItemDetail$1 as InventoryItemDetailPage, InventoryItemOnboardingPage, InventoryListItemPage, InventoryListPage, InviteCard$1 as InviteCard, InviteLandingPage, InviteLandingPagePropsSchema, InviteLandingViewStateSchema, InviteTerreiroInfoSchema, JoinTerreiroPage, JourneyProfile, JourneyProfilePage, LAYOUT, LabeledBrazilianStateSelect, LabeledBrazilianStateSelectPropsSchema, LabeledDatePickerPropsSchema, LabeledFieldHeaderPropsSchema, LabeledMinuteInput, LabeledMonthPickerPropsSchema, LabeledTextField$1 as LabeledTextField, LabeledTimePicker, LeaderboardPage, LeaderboardPagePropsSchema, LoadMoreResultSchema, Loading, LunarEclipseSchema, MeasuredLayoutProvider, MediumBadgeSchema, MediumFinancialTransparencyPage, MediumHubPage, MediumListPage, MediumPage, MediumPointsSchema, MediumProfilePage, MediumProfileViewPage$1 as MediumProfileViewPage, MediumStatus$1 as MediumStatus, MemberListItem$1 as MemberListItem, MonthlyFeeInfoSchema, MonthlyFeePage, MonthlyFeePaymentsManagementPage, MoonApiResponseSchema, MoonCard, MoonCardContent, MoonCardPropsSchema, MoonCardSkeleton, MoonDataSchema, MoonDetailedSchema, MoonEventsSchema, MoonPositionSchema, MoonZodiacSchema, MyPermissionsDetailedSchema, MyPermissionsPage, MyPermissionsPagePropsSchema, NotFoundPage, NotificationSettingsPage, NotificationSettingsPagePropsSchema, NotificationsPage, ONBOARDING_TERREIRO_STEPS, ORIGIN_LABELS, OnboardingFormChatPanel, OnboardingFormChatSummaryCard, OnboardingIntroModal, OnboardingMediumPage, OnboardingPage, OnboardingTerreiroPage$1 as OnboardingTerreiroPage, OnboardingTerreiroPagePropsSchema, OutcomeListPage$1 as OutcomeListPage, OutgoingFinancialPage, PAYMENT_METHOD_OPTIONS$1 as PAYMENT_METHOD_OPTIONS, PIX_KEY_TYPE_OPTIONS, POST_TYPE_LABELS, PROFILE_SECTION_CONFIG, PROFILE_SECTION_WEIGHTS, PWAUpdatePromptUI, PageHeader$2 as PageHeader, PaginationInfoSchema, ParticipationResponseButtons$1 as ParticipationResponseButtons, ParticipationStatusBadge$1 as ParticipationStatusBadge, ParticipationStatusLabels, PasskeyCredentialSchema, PasskeyEnrollmentPrompt, PasskeyLoginDialog, PasswordInfoSchemaWithConfirmation, PasswordVisibilitySchema, PaymentStatusBanner, PeerMessageList, PendingApprovalBlockedPage, PermissionSelector, PermissionStatsSchema, PersonalInfoSchema, PhaseEventSchema, PlanChangePayloadSchema, PlanManagementPage, PlanManagementPagePropsSchema, PointsSummarySchema, PositionInfoSchema, PostGiraPrompt, PrivacySelector, ProfileCompletenessCard, ProfileDetailsPage, PublicEventTicketPage, PublicExperiencePreviewSchema, PublicProfilePreviewSchema, PublicQuestionPreviewSchema, PublicSocialPreviewDataSchema, PublicSocialPreviewPage, PublicTerreiroAgendaPage, QUESTION_SOURCE_LABELS, QUICK_ONBOARDING_TERREIRO_STEPS, QUICK_TERREIRO_ONBOARDING_FIELDS_BY_STEP, QrAnalyticsEventNameSchema, QrLandingPage, QrLandingPagePropsSchema, QrScannerSurface$1 as QrScannerSurface, QrTrackingEventSchema, QrTrackingPayloadSchema, QrVariantSchema, QuestionAnswerCard, QuestionAnswerSchema, QuestionAnswersSheet, QuestionCard, QuestionComposer, QuestionDetailPage, QuestionSchema, QuestionSourceBadge, QuestionSourceSchema, QuestionsPage, QuickActionSchema$1 as QuickActionSchema, QuickActions, QuickActionsPropsSchema, QuickMediumOnboardingFormStateSchema, QuickPersonalInfoSchema, QuickPersonalInfoStep, QuickTerreiroOnboardingFormStateSchema, QuickTerreiroPersonalInfoSchema, QuickTerreiroStepValidationSchemas, QuotaBehaviorSchema, QuotaGuard, QuotaGuardPropsSchema, QuotaStatusSchema, QuotaSummaryCard, QuotaSummaryCardPropsSchema, RADIUS, RANKING_PERIOD_LABELS, RANKING_SCOPE_LABELS, REACTION_LABELS, REPORT_REASON_LABELS, RankingEntrySchema, RankingPeriodEnum, RankingResultSchema, RankingScopeEnum, ReasonDialog$1 as ReasonDialog, ReasonDialogPropsSchema, ReligionSchema, ReportDialog, ResetPasswordPage, BasicInfoStepSchema as RitualBathBasicInfoStepSchema, RitualBathDetailPage$1 as RitualBathDetailPage, RitualBathDetailPagePropsSchema, RitualBathDetailSchema, RitualBathFilterSchema, RitualBathFormValuesSchema, RitualBathIngredientSchema$2 as RitualBathIngredientSchema, IngredientsStepSchema as RitualBathIngredientsStepSchema, RitualBathItemSchema, BathCategorySchema$1 as RitualBathListCategorySchema, RitualBathListPage, RitualBathOccurrenceSchema, RitualBathOnboardingPage, RitualBathOriginSchema, OriginStepSchema as RitualBathOriginStepSchema, RitualBathScheduleFormSchema, RitualBathSchedulePage, RitualBathSchedulePagePropsSchema, RitualBathScheduleSummarySchema, RitualBathStatusSchema, RitualBathStepSchema$2 as RitualBathStepSchema, RitualBathStepTypeSchema, StepsStepSchema as RitualBathStepsStepSchema, RitualCard, RoleFormPage, RoleFormValuesSchema, RoleInfoSchema, RoleManagementPage, RoleSchema, SKELETON_SIZES, SOCIAL_BIO_MAX_LENGTH, SOCIAL_DISPLAY_NAME_MAX_LENGTH, SOCIAL_HOME_BOTTOM_NAV_CLEARANCE, SOCIAL_HOME_BOTTOM_NAV_FLOAT_MB, SOCIAL_HOME_BOTTOM_NAV_HEIGHT, SOCIAL_HOME_HEADER_HEIGHT, SOCIAL_ONBOARDING_INTRO_STEPS, SOCIAL_ONBOARDING_STEP_LABELS, SOCIAL_ONBOARDING_STEP_ORDER, SOCIAL_TRADITION_MAX_LENGTH, SOCIAL_USERNAME_MAX_LENGTH, STATUS_COLORS, STATUS_LABELS, STEP_ORDER, STEP_TYPE_ICONS, STEP_TYPE_LABELS, ScheduleDateTimeFields$1 as ScheduleDateTimeFields, SelectField$2 as SelectField, ShareDrawerPropsSchema, SharePlatformSchema, ShareSheet, SharedExpensesCard, SigninPage, SignupPage, SimilarExperienceCard, SimilarPage, SimilarPeopleCard, SimilarPersonSchema, SingleContactSchema, SocialAccountDrawer, SocialAuthorSchema, SocialConnectionsPage, SocialConversationPage, SocialConversationPeerSchema, SocialConversationRow, SocialConversationSchema, SocialCreateActionsSheet, SocialDiscoverPage, SocialEmptyState, SocialErrorState, SocialFeedItemSchema, SocialHomeBottomNav, SocialHomeCurrentUserSchema, SocialHomeHeader, SocialHomePage, SocialInboxPage, SocialMessageBubble, SocialMessageComposer, SocialMessageDeliveryStatusSchema, SocialMessageSchema, SocialNotificationsPage, SocialOnboardingIntro, SocialOnboardingPage, SocialOnboardingValuesSchema, SocialPrivacySettingsPage, SocialProfileFieldsSchema, SocialProfileSchema, SocialReadOnlyNotice, SocialReportReasonSchema, SocialSavedPage, SocialSkeleton, SocialUnreadIndicator, SocialUsernameSchema, SocialVerificationEarnedCelebration, SocialVerificationProgressSheet, SocialVisibilitySchema, SpiritualFormChatSummaryCard, SpiritualProfilePage, StreakInfoSchema, SubscriptionGuard, SubscriptionProvider, SubscriptionRequiredForMediumPage, SuggestionsCarousel, SupplyPlanBlockerSchema, SupplyPlanCostsSchema, SupplyPlanItemSchema, SupplyPlanMissionSchema, SupplyPlanPage, SupplyPlanPagePropsSchema, SupplyPlanReadinessSchema, SupplyPlanSchema, SupplyPlanSourceActivitySchema, SupplyPlanSourceEventSchema, SupplyPlanSummarySchema, SystemSettingsPage, TERREIRO_COMPLETION_MESSAGES, TERREIRO_ONBOARDING_FIELDS_BY_STEP, TERREIRO_SECTION_CONFIG, TERREIRO_SECTION_WEIGHTS, TOP_BAR_HEIGHTS, TYPOGRAPHY_SCALE, TerreiroFinancialInfoSchema, TerreiroOnboardingApiErrorSchema, TerreiroOnboardingFormStateSchema, TerreiroOnboardingValidationErrorsSchema, TerreiroPersonalInfoSchema, TerreiroPolicyPage, TerreiroPolicyPagePropsSchema, TerreiroProfileDataPage$1 as TerreiroProfileDataPage, TerreiroProfilePage, TerreiroReadonlyProfilePage, TerreiroRegistrationSchema, TerreiroRegistrationWithoutPasswordSchema, TerreiroSchema$2 as TerreiroSchema, TerreiroSearchPage, TerreiroSectionCard, TerreiroSectionCardPropsSchema, TerreiroStatusSchema, TerreiroStepValidationSchemas, TerreiroSubscriptionInfoSchema, ThemeButton, ThemeProvider, TicketVoucherPage, TicketingClaimFormChatSummaryCard, TraditionBadge, UnitCostMetaSchema, UpcomingPhasesSchema, UpgradePrompt, UsageBar, UsageBarPropsSchema, UsageProvider, UsageQuotaPage, UsageQuotaPagePropsSchema, UseInfiniteScrollReturnSchema, VISIBILITY_HELPERS, VISIBILITY_LABELS, ValidationErrorsSchema, VerificationBadge, WhatsAppShareButton, WhatsNewModal, authorDisplayName, brand, buildAcademyCertificatePreviewNode, buildItemReasonText, buildMergedInsumos$1 as buildMergedInsumos, buildMergedMediums$1 as buildMergedMediums, defaultDisplayProps, defaultInputProps, drawerSheetRadius, filterSupplyPlanMissions, formatRelativeTime, formatScheduleDate, formatSecondsAsMinutesLabel, formatCurrency$1 as formatTerreiroCurrency, formatPhone as formatTerreiroPhone, generateAcademyCertificatePdf, getBannerGradient, getCardBaseStyles, getContentMarginTop, getContentPaddingTop, getCustomBannerGradient, getDateString, getDefaultHomeWidgetOrder, getHomeWidgetsForProfile, getReorderableHomeWidgetsForProfile, getSocialBannerSx, getSocialUsernameError, getTopBarExpandedHeight, getTopBarHeight, getTopBarStackHeight, installPromptPropsSchema, isDefaultHomeWidgetOrder, isPasskeySupported, isValidEmail, isValidPassword, mapPasskeyError, mapRawMemberToActivityChatOption, mediumStatusLabelsPtBr, mergeHomeWidgetOrder, mergeHomeWidgetVisibility, mockCalendarActivities, mockCalendarEvents, mockCalendarRitualBaths, mockHomePageProps, mockLoadingHomePageProps, mockMediumHomePageProps, mockMoonData, mockPendingMediumHomePageProps, mockQuickActions, mockRituals, mockSupplyPlanEmpty, mockSupplyPlanSufficientWithDemand, mockSupplyPlanWithCosts, mockSupplyPlanWithoutCosts, mockTerreiros, mockUpcomingEvents, mockUser, moveHomeWidgetInOrder, onboardingIntroModalPropsSchema, onboardingIntroModeSchema, onboardingIntroProfileContextSchema, overlayZIndex, parseScheduleDate, radiusPx, reorderHomeWidgetOrder, resolveExperiencePostType, secondsToRoundedMinutes, startPasskeyAuthentication, startPasskeyRegistration, useAcademyModulePage, useAcademyPage, useAccessBlockedPage, useActivityOnboarding, useAddressSectionCard, useAffiliateProgramPage, useAttendanceCheckinEntryPage, useAttendanceInsightsPage, useAvatarWithBadge, useBadgesPage, useCellphoneInput, useCompletenessCard, useContactPage, useContentClearance, useCredentialsPage, useElementSize, useEventAISuggestionsPage, useFilterDrawer, useFinancialRegister, useFinancialTransparencyPage, useFormChatAssistant, useGamificationCard, useGamificationHelpPage, useHideOnScroll, useHomePage, useInfiniteScroll, useInstallPrompt, useInventoryListItemPage, useInventoryListPage, useInviteLandingPage, useJoinTerreiroPage, useLabeledBrazilianStateSelect, useLeaderboardPage, useMeasureSlot, useMeasuredLayoutContext, useMeasuredSlot, useMediumFinancialTransparencyPage, useMediumHubPage, useMemberListItem, useMonthlyFeePaymentsManagementPage, useMoonCard, useMyPermissionsPage, useNotFoundPage, useNotificationSettingsPage, useOnboardingIntroModal, useOnboardingMedium, useOnboardingPage, useOnboardingTerreiro, useOptionalMeasuredLayoutContext, useOptionalUsageContext, usePWAUpdatePromptUI, usePermissionSelector, usePlanManagementPage, useProfileCompletenessCard, useQrLandingPage, useQuotaGuard, useRitualBathDetailPage, useRitualBathListPage, useRitualBathOnboarding, useRoleFormPage, useRoleManagementPage, useSelectMediumsPage, useSpiritualProfilePage, useSubscription, useSubscriptionContext, useSubscriptionGuard, useSupplyPlanPage, useTerreiroPolicyPage, useTerreiroProfileDataPage, useTerreiroProfilePage$1 as useTerreiroProfilePage, useTerreiroSectionCard, useThemeProvider, useUpgradePrompt, useUsageContext, useUsageQuota, useUsageQuotaPage, useVerificationBadge, useWhatsNewModal, validateEmail$1 as validateEmail, validatePassword$1 as validatePassword, validatePhoneNumber, validateCurrency as validateTerreiroCurrency, validateDueDay as validateTerreiroDueDay, validatePassword as validateTerreiroPassword, validatePasswordConfirmation as validateTerreiroPasswordConfirmation, validatePhone as validateTerreiroPhone, whatsNewAnnouncementSchema, whatsNewModalPropsSchema, whatsNewSlideSchema };
|
|
194826
|
+
export { ACTIVITY_STEP_ORDER, ALSO_EXPERIENCED_LABEL, AVATAR_SIZE_CONFIG, AcademyCertificatePreview, AcademyModulePage, AcademyPage, AccessBlockedPage, AccountOptionSchema, BasicInfoSchema as ActivityBasicInfoSchema, ActivityChatInsumosPicker, ActivityChatMembersPicker, ActivityCheckinWindowSchema, ActivityDetailPage$1 as ActivityDetailPage, ActivityEditPage, ActivityFormChatSummaryCard, InsumosSelectionSchema$1 as ActivityInsumosSelectionSchema, ActivityListPage, MembersSelectionSchema as ActivityMembersSelectionSchema, ActivityOnboardingPage, TemplateSchema as ActivityTemplateSchema, TimeSelectionSchema as ActivityTimeSelectionSchema, AddMediumByQRCodePage, AddressInfoSchema, AddressPage, AffiliateProgramPage, AlsoExperiencedButton, AttendanceCheckinCta$1 as AttendanceCheckinCta, AttendanceCheckinDialog, AttendanceCheckinEntryPage, AttendanceInsightsPage, AvatarWithBadge, BADGE_SIZE_CONFIG, BADGE_TIER_COLORS, BADGE_TIER_CONFIG, BADGE_TIER_LABELS, BADGE_TYPE_LABELS, BANK_OPTIONS, BANNER_GRADIENT_KEYS, BANNER_GRADIENT_PRESETS, BRAZILIAN_STATES$1 as BRAZILIAN_STATES, BadgeProgressSchema, BadgeTierSchema$2 as BadgeTierSchema, BadgesPage, BadgeInfoSchema as BadgesPageBadgeInfoSchema, BadgeTierSchema as BadgesPageBadgeTierSchema, BadgeTypeSchema as BadgesPageBadgeTypeSchema, BadgesPagePropsSchema, BathCategorySchema$2 as BathCategorySchema, BlockDialog, BrazilianStateUFSchema, CARD_CONTENT_STYLES, CATEGORY_CONFIG, CATEGORY_LABELS, CREATE_EXPERIENCE_STEP_LABELS, CREATE_EXPERIENCE_STEP_ORDER, CREATE_QUESTION_STEP_LABELS, CREATE_QUESTION_STEP_ORDER, CellphoneInput, CellphoneInputPropsSchema, CompletenessCard, ConnectionButton, ContactArraySchema, ContactPage, ContactPagePropsSchema, ContactSchema, ContactSectionCardPropsSchema, ContributionImpactCard, CopyTargetSchema, CreateExperiencePage, CreateExperienceValuesSchema, CreateIngressoPage, CreateQuestionPage, CreateQuestionValuesSchema, CredentialsApiErrorSchema, CredentialsDataSchema, CredentialsFormStateSchema, CredentialsPage, CredentialsPagePropsSchema, CredentialsValidationErrorsSchema, CustomBannerGradientPresetSchema, DAILY_MESSAGE_POOL, DEFAULT_BANNER_GRADIENT_KEY, DEFAULT_HOME_WIDGET_ORDER, DEFAULT_HOME_WIDGET_VISIBILITY, DailyRitualCard, DescriptionBox$3 as DescriptionBox, DetailedPermissionSchema, EMPTY_ELEMENT_SIZE, EMPTY_ELEMENT_SIZE as EMPTY_SLOT_SIZE, EVENT_STEP_ORDER, EditEventPage, EditJourneyPage, EventAISuggestionsPage, EventBasicInfoSchema, EventChatActivitiesPicker, EventChatInsumosPicker, EventChatLocationPicker, EventChatMembersPicker, EventChatTypePicker, EventCheckinWindowSchema, EventDateTimeSchema, EventDetailPage$1 as EventDetailPage, EventFormChatSummaryCard, EventFormValuesSchema, InsumosSelectionSchema as EventInsumosSelectionSchema, EventLocationSchema, EventOnboardingPage, EventParticipantsSchema, EventProfileBlockedPage, EventPublicationFormChatSummaryCard, EventTicketingManagementPage, EventsPage, ExperienceCard, ExperienceCategoryBadge, ExperienceCategorySchema, ExperienceCommentRow, ExperienceCommentSchema, ExperienceCommentsSheet, ExperienceComposer, ExperienceDetailPage, ExperienceDetailView, ExperienceEngageMenu, ExperiencePostTypeBadge, ExperiencePostTypeSchema, ExperienceReactionBar, ExperienceReactionTypeSchema, ExperienceSchema, ExpiredLinkPage, FORM_CONFIG, FacebookAuthButton, FilterDrawerShellPropsSchema, FinanceMetricCard$1 as FinanceMetricCard, FinancialAccountPage, FinancialAccountsList$1 as FinancialAccountsList, FinancialOverviewCard, FinancialRegisterPage, FinancialTransparencyPage, ForbiddenPage, ForgotPasswordPage, FormChatAssistant, FormChatListSelect, FormChatPickerDrawer, FormChatSelectionBar, GLOW_EFFECT, GamificationBadgeSchema, GamificationBadgeTierEnum, GamificationBadgeTypeEnum, GamificationCard, GamificationCardPropsSchema, GamificationHelpPage, GamificationHelpPagePropsSchema, GamificationHelpTopicSchema, GamificationSummarySchema, GoogleAuthButton, HOME_BELL_NOTIFICATION_LIMIT, HOME_MEASURE_SLOTS, HOME_WIDGETS_CATALOG, HomePage, Image$1 as Image, ImageButton, IncomeListPage$1 as IncomeListPage, IncomingFinancialPage, InfiniteScroll, InfiniteScrollPropsSchema, InstallPrompt, InsumosAvatarGroup, InventoryItemDetail$1 as InventoryItemDetailPage, InventoryItemOnboardingPage, InventoryListItemPage, InventoryListPage, InviteCard$1 as InviteCard, InviteLandingPage, InviteLandingPagePropsSchema, InviteLandingViewStateSchema, InviteTerreiroInfoSchema, JoinTerreiroPage, JourneyProfile, JourneyProfilePage, LAYOUT, LabeledBrazilianStateSelect, LabeledBrazilianStateSelectPropsSchema, LabeledDatePickerPropsSchema, LabeledFieldHeaderPropsSchema, LabeledMinuteInput, LabeledMonthPickerPropsSchema, LabeledTextField$1 as LabeledTextField, LabeledTimePicker, LeaderboardPage, LeaderboardPagePropsSchema, LoadMoreResultSchema, Loading, LunarEclipseSchema, MeasuredLayoutProvider, MediumBadgeSchema, MediumFinancialTransparencyPage, MediumHubPage, MediumListPage, MediumPage, MediumPointsSchema, MediumProfilePage, MediumProfileViewPage$1 as MediumProfileViewPage, MediumStatus$1 as MediumStatus, MemberListItem$1 as MemberListItem, MonthlyFeeInfoSchema, MonthlyFeePage, MonthlyFeePaymentsManagementPage, MoonApiResponseSchema, MoonCard, MoonCardContent, MoonCardPropsSchema, MoonCardSkeleton, MoonDataSchema, MoonDetailedSchema, MoonEventsSchema, MoonPositionSchema, MoonZodiacSchema, MyPermissionsDetailedSchema, MyPermissionsPage, MyPermissionsPagePropsSchema, NotFoundPage, NotificationSettingsPage, NotificationSettingsPagePropsSchema, NotificationsPage, ONBOARDING_TERREIRO_STEPS, ORIGIN_LABELS, OnboardingFormChatPanel, OnboardingFormChatSummaryCard, OnboardingIntroModal, OnboardingMediumPage, OnboardingPage, OnboardingTerreiroPage$1 as OnboardingTerreiroPage, OnboardingTerreiroPagePropsSchema, OutcomeListPage$1 as OutcomeListPage, OutgoingFinancialPage, PAYMENT_METHOD_OPTIONS$1 as PAYMENT_METHOD_OPTIONS, PIX_KEY_TYPE_OPTIONS, POST_TYPE_LABELS, PROFILE_SECTION_CONFIG, PROFILE_SECTION_WEIGHTS, PWAUpdatePromptUI, PageHeader$2 as PageHeader, PaginationInfoSchema, ParticipationResponseButtons$1 as ParticipationResponseButtons, ParticipationStatusBadge$1 as ParticipationStatusBadge, ParticipationStatusLabels, PasskeyCredentialSchema, PasskeyEnrollmentPrompt, PasskeyLoginDialog, PasswordInfoSchemaWithConfirmation, PasswordVisibilitySchema, PaymentStatusBanner, PeerMessageList, PendingApprovalBlockedPage, PermissionSelector, PermissionStatsSchema, PersonalInfoSchema, PhaseEventSchema, PlanChangePayloadSchema, PlanManagementPage, PlanManagementPagePropsSchema, PointsSummarySchema, PositionInfoSchema, PostGiraPrompt, PrivacySelector, ProfileCompletenessCard, ProfileDetailsPage, PublicEventTicketPage, PublicExperiencePreviewSchema, PublicProfilePreviewSchema, PublicQuestionPreviewSchema, PublicSocialPreviewDataSchema, PublicSocialPreviewPage, PublicTerreiroAgendaPage, QUESTION_SOURCE_LABELS, QUICK_ONBOARDING_TERREIRO_STEPS, QUICK_TERREIRO_ONBOARDING_FIELDS_BY_STEP, QrAnalyticsEventNameSchema, QrLandingPage, QrLandingPagePropsSchema, QrScannerSurface$1 as QrScannerSurface, QrTrackingEventSchema, QrTrackingPayloadSchema, QrVariantSchema, QuestionAnswerCard, QuestionAnswerSchema, QuestionAnswersSheet, QuestionCard, QuestionComposer, QuestionDetailPage, QuestionSchema, QuestionSourceBadge, QuestionSourceSchema, QuestionsPage, QuickActionSchema$1 as QuickActionSchema, QuickActions, QuickActionsPropsSchema, QuickMediumOnboardingFormStateSchema, QuickPersonalInfoSchema, QuickPersonalInfoStep, QuickTerreiroOnboardingFormStateSchema, QuickTerreiroPersonalInfoSchema, QuickTerreiroStepValidationSchemas, QuotaBehaviorSchema, QuotaGuard, QuotaGuardPropsSchema, QuotaStatusSchema, QuotaSummaryCard, QuotaSummaryCardPropsSchema, RADIUS, RANKING_PERIOD_LABELS, RANKING_SCOPE_LABELS, REACTION_LABELS, REPORT_REASON_LABELS, RankingEntrySchema, RankingPeriodEnum, RankingResultSchema, RankingScopeEnum, ReasonDialog$1 as ReasonDialog, ReasonDialogPropsSchema, ReligionSchema, ReportDialog, ResetPasswordPage, BasicInfoStepSchema as RitualBathBasicInfoStepSchema, RitualBathDetailPage$1 as RitualBathDetailPage, RitualBathDetailPagePropsSchema, RitualBathDetailSchema, RitualBathFilterSchema, RitualBathFormValuesSchema, RitualBathIngredientSchema$2 as RitualBathIngredientSchema, IngredientsStepSchema as RitualBathIngredientsStepSchema, RitualBathItemSchema, BathCategorySchema$1 as RitualBathListCategorySchema, RitualBathListPage, RitualBathOccurrenceSchema, RitualBathOnboardingPage, RitualBathOriginSchema, OriginStepSchema as RitualBathOriginStepSchema, RitualBathScheduleFormSchema, RitualBathSchedulePage, RitualBathSchedulePagePropsSchema, RitualBathScheduleSummarySchema, RitualBathStatusSchema, RitualBathStepSchema$2 as RitualBathStepSchema, RitualBathStepTypeSchema, StepsStepSchema as RitualBathStepsStepSchema, RitualCard, RoleFormPage, RoleFormValuesSchema, RoleInfoSchema, RoleManagementPage, RoleSchema, SKELETON_SIZES, SOCIAL_BIO_MAX_LENGTH, SOCIAL_DISPLAY_NAME_MAX_LENGTH, SOCIAL_HOME_BOTTOM_NAV_CLEARANCE, SOCIAL_HOME_BOTTOM_NAV_FLOAT_MB, SOCIAL_HOME_BOTTOM_NAV_HEIGHT, SOCIAL_HOME_HEADER_HEIGHT, SOCIAL_ONBOARDING_INTRO_STEPS, SOCIAL_ONBOARDING_STEP_LABELS, SOCIAL_ONBOARDING_STEP_ORDER, SOCIAL_TRADITION_MAX_LENGTH, SOCIAL_USERNAME_MAX_LENGTH, STATUS_COLORS, STATUS_LABELS, STEP_ORDER, STEP_TYPE_ICONS, STEP_TYPE_LABELS, ScheduleDateTimeFields$1 as ScheduleDateTimeFields, SelectField$2 as SelectField, ShareDrawerPropsSchema, SharePlatformSchema, ShareSheet, SharedExpensesCard, SigninPage, SignupPage, SimilarExperienceCard, SimilarPage, SimilarPeopleCard, SimilarPersonSchema, SingleContactSchema, SocialAccountDrawer, SocialAuthorSchema, SocialConnectionsPage, SocialConversationPage, SocialConversationPeerSchema, SocialConversationRow, SocialConversationSchema, SocialCreateActionsSheet, SocialDeleteConfirmDialog, SocialDiscoverPage, SocialEditTextDialog, SocialEmptyState, SocialErrorState, SocialFeedItemSchema, SocialHomeBottomNav, SocialHomeCurrentUserSchema, SocialHomeHeader, SocialHomePage, SocialInboxPage, SocialMessageBubble, SocialMessageComposer, SocialMessageDeliveryStatusSchema, SocialMessageSchema, SocialNotificationsPage, SocialOnboardingIntro, SocialOnboardingPage, SocialOnboardingValuesSchema, SocialPrivacySettingsPage, SocialProfileFieldsSchema, SocialProfileSchema, SocialReadOnlyNotice, SocialReportReasonSchema, SocialSavedPage, SocialSkeleton, SocialUnreadIndicator, SocialUsernameSchema, SocialVerificationEarnedCelebration, SocialVerificationProgressSheet, SocialVisibilitySchema, SpiritualFormChatSummaryCard, SpiritualProfilePage, StreakInfoSchema, SubscriptionGuard, SubscriptionProvider, SubscriptionRequiredForMediumPage, SuggestionsCarousel, SupplyPlanBlockerSchema, SupplyPlanCostsSchema, SupplyPlanItemSchema, SupplyPlanMissionSchema, SupplyPlanPage, SupplyPlanPagePropsSchema, SupplyPlanReadinessSchema, SupplyPlanSchema, SupplyPlanSourceActivitySchema, SupplyPlanSourceEventSchema, SupplyPlanSummarySchema, SystemSettingsPage, TERREIRO_COMPLETION_MESSAGES, TERREIRO_ONBOARDING_FIELDS_BY_STEP, TERREIRO_SECTION_CONFIG, TERREIRO_SECTION_WEIGHTS, TOP_BAR_HEIGHTS, TYPOGRAPHY_SCALE, TerreiroFinancialInfoSchema, TerreiroOnboardingApiErrorSchema, TerreiroOnboardingFormStateSchema, TerreiroOnboardingValidationErrorsSchema, TerreiroPersonalInfoSchema, TerreiroPolicyPage, TerreiroPolicyPagePropsSchema, TerreiroProfileDataPage$1 as TerreiroProfileDataPage, TerreiroProfilePage, TerreiroReadonlyProfilePage, TerreiroRegistrationSchema, TerreiroRegistrationWithoutPasswordSchema, TerreiroSchema$2 as TerreiroSchema, TerreiroSearchPage, TerreiroSectionCard, TerreiroSectionCardPropsSchema, TerreiroStatusSchema, TerreiroStepValidationSchemas, TerreiroSubscriptionInfoSchema, ThemeButton, ThemeProvider, TicketVoucherPage, TicketingClaimFormChatSummaryCard, TraditionBadge, UnitCostMetaSchema, UpcomingPhasesSchema, UpgradePrompt, UsageBar, UsageBarPropsSchema, UsageProvider, UsageQuotaPage, UsageQuotaPagePropsSchema, UseInfiniteScrollReturnSchema, VISIBILITY_HELPERS, VISIBILITY_LABELS, ValidationErrorsSchema, VerificationBadge, WhatsAppShareButton, WhatsNewModal, authorDisplayName, brand, buildAcademyCertificatePreviewNode, buildItemReasonText, buildMergedInsumos$1 as buildMergedInsumos, buildMergedMediums$1 as buildMergedMediums, defaultDisplayProps, defaultInputProps, drawerSheetRadius, filterSupplyPlanMissions, formatRelativeTime, formatScheduleDate, formatSecondsAsMinutesLabel, formatCurrency$1 as formatTerreiroCurrency, formatPhone as formatTerreiroPhone, generateAcademyCertificatePdf, getBannerGradient, getCardBaseStyles, getContentMarginTop, getContentPaddingTop, getCustomBannerGradient, getDateString, getDefaultHomeWidgetOrder, getHomeWidgetsForProfile, getReorderableHomeWidgetsForProfile, getSocialBannerSx, getSocialUsernameError, getTopBarExpandedHeight, getTopBarHeight, getTopBarStackHeight, installPromptPropsSchema, isDefaultHomeWidgetOrder, isPasskeySupported, isValidEmail, isValidPassword, mapPasskeyError, mapRawMemberToActivityChatOption, mediumStatusLabelsPtBr, mergeHomeWidgetOrder, mergeHomeWidgetVisibility, mockCalendarActivities, mockCalendarEvents, mockCalendarRitualBaths, mockHomePageProps, mockLoadingHomePageProps, mockMediumHomePageProps, mockMoonData, mockPendingMediumHomePageProps, mockQuickActions, mockRituals, mockSupplyPlanEmpty, mockSupplyPlanSufficientWithDemand, mockSupplyPlanWithCosts, mockSupplyPlanWithoutCosts, mockTerreiros, mockUpcomingEvents, mockUser, moveHomeWidgetInOrder, onboardingIntroModalPropsSchema, onboardingIntroModeSchema, onboardingIntroProfileContextSchema, overlayZIndex, parseScheduleDate, radiusPx, reorderHomeWidgetOrder, resolveExperiencePostType, secondsToRoundedMinutes, startPasskeyAuthentication, startPasskeyRegistration, useAcademyModulePage, useAcademyPage, useAccessBlockedPage, useActivityOnboarding, useAddressSectionCard, useAffiliateProgramPage, useAttendanceCheckinEntryPage, useAttendanceInsightsPage, useAvatarWithBadge, useBadgesPage, useCellphoneInput, useCompletenessCard, useContactPage, useContentClearance, useCredentialsPage, useElementSize, useEventAISuggestionsPage, useFilterDrawer, useFinancialRegister, useFinancialTransparencyPage, useFormChatAssistant, useGamificationCard, useGamificationHelpPage, useHideOnScroll, useHomePage, useInfiniteScroll, useInstallPrompt, useInventoryListItemPage, useInventoryListPage, useInviteLandingPage, useJoinTerreiroPage, useLabeledBrazilianStateSelect, useLeaderboardPage, useMeasureSlot, useMeasuredLayoutContext, useMeasuredSlot, useMediumFinancialTransparencyPage, useMediumHubPage, useMemberListItem, useMonthlyFeePaymentsManagementPage, useMoonCard, useMyPermissionsPage, useNotFoundPage, useNotificationSettingsPage, useOnboardingIntroModal, useOnboardingMedium, useOnboardingPage, useOnboardingTerreiro, useOptionalMeasuredLayoutContext, useOptionalUsageContext, usePWAUpdatePromptUI, usePermissionSelector, usePlanManagementPage, useProfileCompletenessCard, useQrLandingPage, useQuotaGuard, useRitualBathDetailPage, useRitualBathListPage, useRitualBathOnboarding, useRoleFormPage, useRoleManagementPage, useSelectMediumsPage, useSpiritualProfilePage, useSubscription, useSubscriptionContext, useSubscriptionGuard, useSupplyPlanPage, useTerreiroPolicyPage, useTerreiroProfileDataPage, useTerreiroProfilePage$1 as useTerreiroProfilePage, useTerreiroSectionCard, useThemeProvider, useUpgradePrompt, useUsageContext, useUsageQuota, useUsageQuotaPage, useVerificationBadge, useWhatsNewModal, validateEmail$1 as validateEmail, validatePassword$1 as validatePassword, validatePhoneNumber, validateCurrency as validateTerreiroCurrency, validateDueDay as validateTerreiroDueDay, validatePassword as validateTerreiroPassword, validatePasswordConfirmation as validateTerreiroPasswordConfirmation, validatePhone as validateTerreiroPhone, whatsNewAnnouncementSchema, whatsNewModalPropsSchema, whatsNewSlideSchema };
|
|
194645
194827
|
//# sourceMappingURL=bundle.esm.js.map
|