gsintegrations 0.0.483 → 0.0.484
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 +7284 -1613
- package/dist/bundle.cjs.js.map +2 -2
- package/dist/bundle.esm.js +7161 -1614
- package/dist/bundle.esm.js.map +2 -2
- package/dist/index.d.ts +2857 -144
- package/dist/types/components/FormChatAssistant/FormChatAssistant.types.d.ts +5 -1
- package/dist/types/components/FormChatAssistant/FormChatPanelLayout.d.ts +17 -0
- package/dist/types/components/FormChatAssistant/formChatAssistant.theme.d.ts +34 -0
- package/dist/types/components/PageHeader/PageHeader.d.ts +4 -0
- package/dist/types/components/atoms/FacebookAuthButton/FacebookAuthButton.d.ts +4 -0
- package/dist/types/components/atoms/FacebookAuthButton/FacebookAuthButton.types.d.ts +18 -0
- package/dist/types/components/atoms/FacebookAuthButton/index.d.ts +2 -0
- package/dist/types/components/atoms/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/molecules/GenericDrawer/GenericDrawer.types.d.ts +15 -0
- package/dist/types/components/molecules/QuickActions/iconMap.d.ts +6 -0
- package/dist/types/components/organisms/SignInForm/SignInForm.types.d.ts +17 -0
- package/dist/types/components/organisms/SignUpForm/SignUpForm.types.d.ts +17 -0
- package/dist/types/components/social/AlsoExperiencedButton.d.ts +10 -0
- package/dist/types/components/social/BlockDialog.d.ts +10 -0
- package/dist/types/components/social/ConnectionButton.d.ts +11 -0
- package/dist/types/components/social/ExperienceCard.d.ts +18 -0
- package/dist/types/components/social/ExperienceCategoryBadge.d.ts +8 -0
- package/dist/types/components/social/ExperienceCommentRow.d.ts +12 -0
- package/dist/types/components/social/ExperienceCommentsSheet.d.ts +27 -0
- package/dist/types/components/social/ExperienceComposer.d.ts +21 -0
- package/dist/types/components/social/ExperienceDetailView.d.ts +17 -0
- package/dist/types/components/social/ExperienceEngageMenu.d.ts +14 -0
- package/dist/types/components/social/ExperiencePostTypeBadge.d.ts +8 -0
- package/dist/types/components/social/ExperienceReactionBar.d.ts +11 -0
- package/dist/types/components/social/JourneyProfile.d.ts +34 -0
- package/dist/types/components/social/PeerMessageList.d.ts +10 -0
- package/dist/types/components/social/PostGiraPrompt.d.ts +8 -0
- package/dist/types/components/social/PrivacySelector.d.ts +11 -0
- package/dist/types/components/social/QuestionAnswerCard.d.ts +8 -0
- package/dist/types/components/social/QuestionAnswersSheet.d.ts +23 -0
- package/dist/types/components/social/QuestionCard.d.ts +16 -0
- package/dist/types/components/social/QuestionComposer.d.ts +17 -0
- package/dist/types/components/social/QuestionSourceBadge.d.ts +7 -0
- package/dist/types/components/social/ReportDialog.d.ts +13 -0
- package/dist/types/components/social/ShareSheet.d.ts +13 -0
- package/dist/types/components/social/SimilarExperienceCard.d.ts +8 -0
- package/dist/types/components/social/SimilarPeopleCard.d.ts +10 -0
- package/dist/types/components/social/SocialAccountDrawer.d.ts +31 -0
- package/dist/types/components/social/SocialConversationRow.d.ts +8 -0
- package/dist/types/components/social/SocialCreateActionsSheet.d.ts +13 -0
- package/dist/types/components/social/SocialEmptyState.d.ts +10 -0
- package/dist/types/components/social/SocialErrorState.d.ts +8 -0
- package/dist/types/components/social/SocialHomeBottomNav.d.ts +22 -0
- package/dist/types/components/social/SocialHomeHeader.d.ts +13 -0
- package/dist/types/components/social/SocialMessageBubble.d.ts +19 -0
- package/dist/types/components/social/SocialMessageComposer.d.ts +17 -0
- package/dist/types/components/social/SocialReadOnlyNotice.d.ts +6 -0
- package/dist/types/components/social/SocialSkeleton.d.ts +7 -0
- package/dist/types/components/social/SocialUnreadIndicator.d.ts +8 -0
- package/dist/types/components/social/SocialVerificationEarnedCelebration.d.ts +18 -0
- package/dist/types/components/social/SocialVerificationProgressSheet.d.ts +35 -0
- package/dist/types/components/social/TraditionBadge.d.ts +7 -0
- package/dist/types/components/social/WhatsAppShareButton.d.ts +8 -0
- package/dist/types/components/social/bannerPresets.d.ts +29 -0
- package/dist/types/components/social/formatAffinityPercent.d.ts +5 -0
- package/dist/types/components/social/index.d.ts +61 -0
- package/dist/types/components/social/labels.d.ts +20 -0
- package/dist/types/components/social/profileFields.d.ts +27 -0
- package/dist/types/components/social/socialSurfaces.d.ts +103 -0
- package/dist/types/components/social/types.d.ts +1003 -0
- package/dist/types/hooks/useHideOnScroll.d.ts +13 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/pages/AddMediumByQRCodePage/AddMediumByQRCodePage.types.d.ts +6 -6
- package/dist/types/pages/EventsPage/EventsPage.types.d.ts +36 -36
- package/dist/types/pages/FinancialRegisterPage/FinancialRegister.types.d.ts +28 -28
- package/dist/types/pages/GamificationHelpPage/GamificationHelpPage.types.d.ts +2 -2
- package/dist/types/pages/HomePage/HomePage.constants.d.ts +4 -3
- package/dist/types/pages/HomePage/HomePage.types.d.ts +29 -13
- package/dist/types/pages/HomePage/components/HomeBottomNav.d.ts +12 -0
- package/dist/types/pages/HomePage/components/HomeMenu.d.ts +7 -7
- package/dist/types/pages/HomePage/components/HomeMenu.types.d.ts +20 -20
- package/dist/types/pages/HomePage/components/TopBar.d.ts +1 -1
- package/dist/types/pages/HomePage/components/TopBar.types.d.ts +2 -2
- package/dist/types/pages/HomePage/components/index.d.ts +1 -1
- package/dist/types/pages/HomePage/components/useHomeMenu.d.ts +2 -2
- package/dist/types/pages/HomePage/useHomePage.d.ts +2 -2
- package/dist/types/pages/HomePage/widgets/homeWidgets.catalog.d.ts +6 -6
- package/dist/types/pages/InviteLandingPage/InviteLandingPage.types.d.ts +4 -0
- package/dist/types/pages/InviteLandingPage/useInviteLandingPage.d.ts +1 -0
- package/dist/types/pages/NotFoundPage/NotFoundPage.types.d.ts +2 -2
- package/dist/types/pages/NotificationsPage/NotificationsPage.types.d.ts +38 -38
- package/dist/types/pages/NotificationsPage/useNotificationsPage.d.ts +3 -3
- package/dist/types/pages/PasswordCreationPage/PasswordCreationPage.types.d.ts +8 -8
- package/dist/types/pages/RitualBathDetailPage/RitualBathDetailPage.d.ts +1 -1
- package/dist/types/pages/RitualBathDetailPage/RitualBathDetailPage.types.d.ts +6 -6
- package/dist/types/pages/RitualBathDetailPage/useRitualBathDetailPage.d.ts +1 -1
- package/dist/types/pages/RitualBathListPage/RitualBathListPage.types.d.ts +16 -16
- package/dist/types/pages/RitualBathListPage/useRitualBathListPage.d.ts +2 -2
- package/dist/types/pages/RitualBathOnboardingPage/RitualBathOnboarding.types.d.ts +4 -4
- package/dist/types/pages/RitualBathOnboardingPage/useRitualBathOnboarding.d.ts +1 -1
- package/dist/types/pages/RitualBathSchedulePage/RitualBathSchedulePage.types.d.ts +6 -6
- package/dist/types/pages/RoleFormPage/RoleFormPage.types.d.ts +2 -2
- package/dist/types/pages/SigninPage/SigninPage.types.d.ts +14 -0
- package/dist/types/pages/SignupPage/SignupPage.types.d.ts +14 -0
- package/dist/types/pages/Social/CreateExperiencePage/CreateExperiencePage.d.ts +12 -0
- package/dist/types/pages/Social/CreateExperiencePage/CreateExperiencePage.types.d.ts +62 -0
- package/dist/types/pages/Social/CreateExperiencePage/CreateExperienceSummaryCard.d.ts +13 -0
- package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionPage.d.ts +12 -0
- package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionPage.types.d.ts +55 -0
- package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionSummaryCard.d.ts +12 -0
- package/dist/types/pages/Social/EditJourneyPage/EditJourneyPage.d.ts +53 -0
- package/dist/types/pages/Social/ExperienceDetailPage/ExperienceDetailPage.d.ts +50 -0
- package/dist/types/pages/Social/JourneyProfilePage/JourneyProfilePage.d.ts +59 -0
- package/dist/types/pages/Social/PublicSocialPreviewPage/PublicSocialPreviewPage.d.ts +5 -0
- package/dist/types/pages/Social/PublicSocialPreviewPage/PublicSocialPreviewPage.types.d.ts +334 -0
- package/dist/types/pages/Social/PublicSocialPreviewPage/index.d.ts +3 -0
- package/dist/types/pages/Social/QuestionDetailPage/QuestionDetailPage.d.ts +15 -0
- package/dist/types/pages/Social/QuestionsPage/QuestionsPage.d.ts +13 -0
- package/dist/types/pages/Social/SimilarPage/SimilarPage.d.ts +15 -0
- package/dist/types/pages/Social/SocialConnectionsPage/SocialConnectionsPage.d.ts +41 -0
- package/dist/types/pages/Social/SocialConversationPage/SocialConversationPage.d.ts +19 -0
- package/dist/types/pages/Social/SocialDiscoverPage/SocialDiscoverPage.d.ts +34 -0
- package/dist/types/pages/Social/SocialHomePage/SocialHomePage.d.ts +116 -0
- package/dist/types/pages/Social/SocialHomePage/index.d.ts +2 -0
- package/dist/types/pages/Social/SocialInboxPage/SocialInboxPage.d.ts +14 -0
- package/dist/types/pages/Social/SocialNotificationsPage/SocialNotificationsPage.d.ts +21 -0
- package/dist/types/pages/Social/SocialOnboardingIntro/SocialOnboardingIntro.d.ts +5 -0
- package/dist/types/pages/Social/SocialOnboardingIntro/SocialOnboardingIntro.types.d.ts +14 -0
- package/dist/types/pages/Social/SocialOnboardingIntro/index.d.ts +2 -0
- package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingPage.d.ts +13 -0
- package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingPage.types.d.ts +59 -0
- package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingSummaryCard.d.ts +12 -0
- package/dist/types/pages/Social/SocialPageShell.d.ts +29 -0
- package/dist/types/pages/Social/SocialPrivacySettingsPage/SocialPrivacySettingsPage.d.ts +18 -0
- package/dist/types/pages/Social/SocialSavedPage/SocialSavedPage.d.ts +59 -0
- package/dist/types/pages/Social/index.d.ts +42 -0
- package/dist/types/pages/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type UseHideOnScrollOptions = {
|
|
2
|
+
/** Minimum scroll delta (px) to treat as active scrolling. Default 5. */
|
|
3
|
+
delta?: number;
|
|
4
|
+
/** Idle ms after last significant scroll before showing chrome again. Default 300. */
|
|
5
|
+
idleMs?: number;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* HomePage-style chrome hide-on-scroll: hide while the user is scrolling,
|
|
9
|
+
* show again shortly after scroll stops. Listens on `window` (document scroll).
|
|
10
|
+
*/
|
|
11
|
+
export declare function useHideOnScroll(options?: UseHideOnScrollOptions): {
|
|
12
|
+
isScrolling: boolean;
|
|
13
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export { getContentMarginTop, getContentPaddingTop, getTopBarExpandedHeight, get
|
|
|
7
7
|
export type { ContentOffsetParams, QuickActionsLayout, ResponsivePx, } from "./theme/topBarLayout";
|
|
8
8
|
export { useElementSize, EMPTY_ELEMENT_SIZE } from "./hooks/useElementSize";
|
|
9
9
|
export type { ElementSize } from "./hooks/useElementSize";
|
|
10
|
+
export { useHideOnScroll } from "./hooks/useHideOnScroll";
|
|
11
|
+
export type { UseHideOnScrollOptions } from "./hooks/useHideOnScroll";
|
|
10
12
|
export { MeasuredLayoutProvider, useMeasureSlot, useMeasuredSlot, useContentClearance, useMeasuredLayoutContext, useOptionalMeasuredLayoutContext, HOME_MEASURE_SLOTS, EMPTY_SLOT_SIZE, } from "./hooks/measuredLayout";
|
|
11
13
|
export type { ContentClearance, ContentClearanceOptions, HomeMeasureSlotId, MeasuredLayoutProviderProps, MeasuredLayoutRegistry, MeasuredSlotSize, } from "./hooks/measuredLayout";
|
|
12
14
|
export { default as useSubscription } from "./hooks/useSubscription";
|
|
@@ -307,8 +307,10 @@ export declare const AddMediumByQRCodePagePropsSchema: z.ZodObject<{
|
|
|
307
307
|
logoUrl?: string | undefined;
|
|
308
308
|
onBack?: (() => void) | undefined;
|
|
309
309
|
isLoading?: boolean | undefined;
|
|
310
|
-
|
|
310
|
+
onShare?: ((args_0: string, args_1: string) => void) | undefined;
|
|
311
311
|
shareUrl?: string | undefined;
|
|
312
|
+
onCopyLink?: ((args_0: string) => void) | undefined;
|
|
313
|
+
terreiroDescription?: string | undefined;
|
|
312
314
|
onSettings?: (() => void) | undefined;
|
|
313
315
|
qrCodeData?: {
|
|
314
316
|
id: string;
|
|
@@ -344,8 +346,6 @@ export declare const AddMediumByQRCodePagePropsSchema: z.ZodObject<{
|
|
|
344
346
|
ttlHours: number;
|
|
345
347
|
usageMode: "single_use" | "multi_until_expiry";
|
|
346
348
|
}) => void) | undefined;
|
|
347
|
-
onCopyLink?: ((args_0: string) => void) | undefined;
|
|
348
|
-
onShare?: ((args_0: string, args_1: string) => void) | undefined;
|
|
349
349
|
onViewRequests?: (() => void) | undefined;
|
|
350
350
|
autoRefresh?: boolean | undefined;
|
|
351
351
|
showExpiryTime?: boolean | undefined;
|
|
@@ -362,8 +362,10 @@ export declare const AddMediumByQRCodePagePropsSchema: z.ZodObject<{
|
|
|
362
362
|
logoUrl?: string | undefined;
|
|
363
363
|
onBack?: (() => void) | undefined;
|
|
364
364
|
isLoading?: boolean | undefined;
|
|
365
|
-
|
|
365
|
+
onShare?: ((args_0: string, args_1: string) => void) | undefined;
|
|
366
366
|
shareUrl?: string | undefined;
|
|
367
|
+
onCopyLink?: ((args_0: string) => void) | undefined;
|
|
368
|
+
terreiroDescription?: string | undefined;
|
|
367
369
|
onSettings?: (() => void) | undefined;
|
|
368
370
|
qrCodeData?: {
|
|
369
371
|
id: string;
|
|
@@ -399,8 +401,6 @@ export declare const AddMediumByQRCodePagePropsSchema: z.ZodObject<{
|
|
|
399
401
|
ttlHours: number;
|
|
400
402
|
usageMode: "single_use" | "multi_until_expiry";
|
|
401
403
|
}) => void) | undefined;
|
|
402
|
-
onCopyLink?: ((args_0: string) => void) | undefined;
|
|
403
|
-
onShare?: ((args_0: string, args_1: string) => void) | undefined;
|
|
404
404
|
onViewRequests?: (() => void) | undefined;
|
|
405
405
|
autoRefresh?: boolean | undefined;
|
|
406
406
|
showExpiryTime?: boolean | undefined;
|
|
@@ -250,6 +250,12 @@ export declare const ActivitySchema: z.ZodObject<{
|
|
|
250
250
|
description?: string | undefined;
|
|
251
251
|
createdAt?: string | undefined;
|
|
252
252
|
updatedAt?: string | undefined;
|
|
253
|
+
comments?: {
|
|
254
|
+
id: string;
|
|
255
|
+
text: string;
|
|
256
|
+
userId: string;
|
|
257
|
+
createdAt: string;
|
|
258
|
+
}[] | undefined;
|
|
253
259
|
createdBy?: string | undefined;
|
|
254
260
|
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
255
261
|
assignedTo?: string[] | undefined;
|
|
@@ -260,12 +266,6 @@ export declare const ActivitySchema: z.ZodObject<{
|
|
|
260
266
|
name: string;
|
|
261
267
|
url: string;
|
|
262
268
|
}[] | undefined;
|
|
263
|
-
comments?: {
|
|
264
|
-
id: string;
|
|
265
|
-
text: string;
|
|
266
|
-
userId: string;
|
|
267
|
-
createdAt: string;
|
|
268
|
-
}[] | undefined;
|
|
269
269
|
isRecurring?: boolean | undefined;
|
|
270
270
|
recurrencePattern?: string | undefined;
|
|
271
271
|
}, {
|
|
@@ -276,6 +276,12 @@ export declare const ActivitySchema: z.ZodObject<{
|
|
|
276
276
|
description?: string | undefined;
|
|
277
277
|
createdAt?: string | undefined;
|
|
278
278
|
updatedAt?: string | undefined;
|
|
279
|
+
comments?: {
|
|
280
|
+
id: string;
|
|
281
|
+
text: string;
|
|
282
|
+
userId: string;
|
|
283
|
+
createdAt: string;
|
|
284
|
+
}[] | undefined;
|
|
279
285
|
createdBy?: string | undefined;
|
|
280
286
|
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
281
287
|
assignedTo?: string[] | undefined;
|
|
@@ -286,12 +292,6 @@ export declare const ActivitySchema: z.ZodObject<{
|
|
|
286
292
|
name: string;
|
|
287
293
|
url: string;
|
|
288
294
|
}[] | undefined;
|
|
289
|
-
comments?: {
|
|
290
|
-
id: string;
|
|
291
|
-
text: string;
|
|
292
|
-
userId: string;
|
|
293
|
-
createdAt: string;
|
|
294
|
-
}[] | undefined;
|
|
295
295
|
isRecurring?: boolean | undefined;
|
|
296
296
|
recurrencePattern?: string | undefined;
|
|
297
297
|
}>;
|
|
@@ -911,6 +911,12 @@ export declare const EventsPagePropsSchema: z.ZodObject<{
|
|
|
911
911
|
description?: string | undefined;
|
|
912
912
|
createdAt?: string | undefined;
|
|
913
913
|
updatedAt?: string | undefined;
|
|
914
|
+
comments?: {
|
|
915
|
+
id: string;
|
|
916
|
+
text: string;
|
|
917
|
+
userId: string;
|
|
918
|
+
createdAt: string;
|
|
919
|
+
}[] | undefined;
|
|
914
920
|
createdBy?: string | undefined;
|
|
915
921
|
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
916
922
|
assignedTo?: string[] | undefined;
|
|
@@ -921,12 +927,6 @@ export declare const EventsPagePropsSchema: z.ZodObject<{
|
|
|
921
927
|
name: string;
|
|
922
928
|
url: string;
|
|
923
929
|
}[] | undefined;
|
|
924
|
-
comments?: {
|
|
925
|
-
id: string;
|
|
926
|
-
text: string;
|
|
927
|
-
userId: string;
|
|
928
|
-
createdAt: string;
|
|
929
|
-
}[] | undefined;
|
|
930
930
|
isRecurring?: boolean | undefined;
|
|
931
931
|
recurrencePattern?: string | undefined;
|
|
932
932
|
}, {
|
|
@@ -937,6 +937,12 @@ export declare const EventsPagePropsSchema: z.ZodObject<{
|
|
|
937
937
|
description?: string | undefined;
|
|
938
938
|
createdAt?: string | undefined;
|
|
939
939
|
updatedAt?: string | undefined;
|
|
940
|
+
comments?: {
|
|
941
|
+
id: string;
|
|
942
|
+
text: string;
|
|
943
|
+
userId: string;
|
|
944
|
+
createdAt: string;
|
|
945
|
+
}[] | undefined;
|
|
940
946
|
createdBy?: string | undefined;
|
|
941
947
|
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
942
948
|
assignedTo?: string[] | undefined;
|
|
@@ -947,12 +953,6 @@ export declare const EventsPagePropsSchema: z.ZodObject<{
|
|
|
947
953
|
name: string;
|
|
948
954
|
url: string;
|
|
949
955
|
}[] | undefined;
|
|
950
|
-
comments?: {
|
|
951
|
-
id: string;
|
|
952
|
-
text: string;
|
|
953
|
-
userId: string;
|
|
954
|
-
createdAt: string;
|
|
955
|
-
}[] | undefined;
|
|
956
956
|
isRecurring?: boolean | undefined;
|
|
957
957
|
recurrencePattern?: string | undefined;
|
|
958
958
|
}>, "many">>;
|
|
@@ -984,6 +984,12 @@ export declare const EventsPagePropsSchema: z.ZodObject<{
|
|
|
984
984
|
description?: string | undefined;
|
|
985
985
|
createdAt?: string | undefined;
|
|
986
986
|
updatedAt?: string | undefined;
|
|
987
|
+
comments?: {
|
|
988
|
+
id: string;
|
|
989
|
+
text: string;
|
|
990
|
+
userId: string;
|
|
991
|
+
createdAt: string;
|
|
992
|
+
}[] | undefined;
|
|
987
993
|
createdBy?: string | undefined;
|
|
988
994
|
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
989
995
|
assignedTo?: string[] | undefined;
|
|
@@ -994,12 +1000,6 @@ export declare const EventsPagePropsSchema: z.ZodObject<{
|
|
|
994
1000
|
name: string;
|
|
995
1001
|
url: string;
|
|
996
1002
|
}[] | undefined;
|
|
997
|
-
comments?: {
|
|
998
|
-
id: string;
|
|
999
|
-
text: string;
|
|
1000
|
-
userId: string;
|
|
1001
|
-
createdAt: string;
|
|
1002
|
-
}[] | undefined;
|
|
1003
1003
|
isRecurring?: boolean | undefined;
|
|
1004
1004
|
recurrencePattern?: string | undefined;
|
|
1005
1005
|
}[] | undefined;
|
|
@@ -1089,6 +1089,12 @@ export declare const EventsPagePropsSchema: z.ZodObject<{
|
|
|
1089
1089
|
description?: string | undefined;
|
|
1090
1090
|
createdAt?: string | undefined;
|
|
1091
1091
|
updatedAt?: string | undefined;
|
|
1092
|
+
comments?: {
|
|
1093
|
+
id: string;
|
|
1094
|
+
text: string;
|
|
1095
|
+
userId: string;
|
|
1096
|
+
createdAt: string;
|
|
1097
|
+
}[] | undefined;
|
|
1092
1098
|
createdBy?: string | undefined;
|
|
1093
1099
|
priority?: "LOW" | "MEDIUM" | "HIGH" | "URGENT" | undefined;
|
|
1094
1100
|
assignedTo?: string[] | undefined;
|
|
@@ -1099,12 +1105,6 @@ export declare const EventsPagePropsSchema: z.ZodObject<{
|
|
|
1099
1105
|
name: string;
|
|
1100
1106
|
url: string;
|
|
1101
1107
|
}[] | undefined;
|
|
1102
|
-
comments?: {
|
|
1103
|
-
id: string;
|
|
1104
|
-
text: string;
|
|
1105
|
-
userId: string;
|
|
1106
|
-
createdAt: string;
|
|
1107
|
-
}[] | undefined;
|
|
1108
1108
|
isRecurring?: boolean | undefined;
|
|
1109
1109
|
recurrencePattern?: string | undefined;
|
|
1110
1110
|
}[] | undefined;
|
|
@@ -543,6 +543,27 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
|
|
|
543
543
|
}[];
|
|
544
544
|
canShareWithMembers: boolean;
|
|
545
545
|
onCancel?: (() => void) | undefined;
|
|
546
|
+
initialValues?: {
|
|
547
|
+
id?: string | undefined;
|
|
548
|
+
value?: number | undefined;
|
|
549
|
+
description?: string | undefined;
|
|
550
|
+
dueDate?: string | undefined;
|
|
551
|
+
isRecurring?: boolean | undefined;
|
|
552
|
+
paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
|
|
553
|
+
settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
|
|
554
|
+
shareReason?: string | null | undefined;
|
|
555
|
+
transactionType?: "entrada" | "saida" | undefined;
|
|
556
|
+
categoryId?: string | undefined;
|
|
557
|
+
subcategoryId?: string | undefined;
|
|
558
|
+
hasDueDate?: boolean | undefined;
|
|
559
|
+
accountId?: string | undefined;
|
|
560
|
+
installments?: number | undefined;
|
|
561
|
+
observation?: string | undefined;
|
|
562
|
+
correctionReason?: string | null | undefined;
|
|
563
|
+
isSharedWithMembers?: boolean | undefined;
|
|
564
|
+
inventoryItemId?: string | undefined;
|
|
565
|
+
purchasedQuantity?: number | undefined;
|
|
566
|
+
} | undefined;
|
|
546
567
|
onSave?: ((args_0: {
|
|
547
568
|
value: number;
|
|
548
569
|
description: string;
|
|
@@ -564,6 +585,13 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
|
|
|
564
585
|
inventoryItemId?: string | undefined;
|
|
565
586
|
purchasedQuantity?: number | undefined;
|
|
566
587
|
}) => void) | undefined;
|
|
588
|
+
}, {
|
|
589
|
+
inventoryItems?: {
|
|
590
|
+
id: string;
|
|
591
|
+
name: string;
|
|
592
|
+
unit?: string | undefined;
|
|
593
|
+
}[] | undefined;
|
|
594
|
+
onCancel?: (() => void) | undefined;
|
|
567
595
|
initialValues?: {
|
|
568
596
|
id?: string | undefined;
|
|
569
597
|
value?: number | undefined;
|
|
@@ -585,13 +613,6 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
|
|
|
585
613
|
inventoryItemId?: string | undefined;
|
|
586
614
|
purchasedQuantity?: number | undefined;
|
|
587
615
|
} | undefined;
|
|
588
|
-
}, {
|
|
589
|
-
inventoryItems?: {
|
|
590
|
-
id: string;
|
|
591
|
-
name: string;
|
|
592
|
-
unit?: string | undefined;
|
|
593
|
-
}[] | undefined;
|
|
594
|
-
onCancel?: (() => void) | undefined;
|
|
595
616
|
onSave?: ((args_0: {
|
|
596
617
|
value: number;
|
|
597
618
|
description: string;
|
|
@@ -642,26 +663,5 @@ export declare const FinancialRegisterPagePropsSchema: z.ZodObject<{
|
|
|
642
663
|
accountType?: string | undefined;
|
|
643
664
|
}[] | undefined;
|
|
644
665
|
canShareWithMembers?: boolean | undefined;
|
|
645
|
-
initialValues?: {
|
|
646
|
-
id?: string | undefined;
|
|
647
|
-
value?: number | undefined;
|
|
648
|
-
description?: string | undefined;
|
|
649
|
-
dueDate?: string | undefined;
|
|
650
|
-
isRecurring?: boolean | undefined;
|
|
651
|
-
paymentMethod?: "dinheiro" | "pix" | "cartao_debito" | "cartao_credito" | "transferencia" | "boleto" | "cheque" | undefined;
|
|
652
|
-
settlementStatus?: "PROJECTED" | "CONSOLIDATED" | undefined;
|
|
653
|
-
shareReason?: string | null | undefined;
|
|
654
|
-
transactionType?: "entrada" | "saida" | undefined;
|
|
655
|
-
categoryId?: string | undefined;
|
|
656
|
-
subcategoryId?: string | undefined;
|
|
657
|
-
hasDueDate?: boolean | undefined;
|
|
658
|
-
accountId?: string | undefined;
|
|
659
|
-
installments?: number | undefined;
|
|
660
|
-
observation?: string | undefined;
|
|
661
|
-
correctionReason?: string | null | undefined;
|
|
662
|
-
isSharedWithMembers?: boolean | undefined;
|
|
663
|
-
inventoryItemId?: string | undefined;
|
|
664
|
-
purchasedQuantity?: number | undefined;
|
|
665
|
-
} | undefined;
|
|
666
666
|
}>;
|
|
667
667
|
export type FinancialRegisterPageProps = z.infer<typeof FinancialRegisterPagePropsSchema>;
|
|
@@ -51,9 +51,9 @@ export declare const GamificationHelpPagePropsSchema: z.ZodObject<{
|
|
|
51
51
|
onClose?: ((...args: unknown[]) => void) | undefined;
|
|
52
52
|
onBack?: ((...args: unknown[]) => void) | undefined;
|
|
53
53
|
subtitle?: string | undefined;
|
|
54
|
+
closeLabel?: string | undefined;
|
|
54
55
|
supportingText?: string | undefined;
|
|
55
56
|
backLabel?: string | undefined;
|
|
56
|
-
closeLabel?: string | undefined;
|
|
57
57
|
customTopics?: {
|
|
58
58
|
title: string;
|
|
59
59
|
id: string;
|
|
@@ -66,9 +66,9 @@ export declare const GamificationHelpPagePropsSchema: z.ZodObject<{
|
|
|
66
66
|
onClose?: ((...args: unknown[]) => void) | undefined;
|
|
67
67
|
onBack?: ((...args: unknown[]) => void) | undefined;
|
|
68
68
|
subtitle?: string | undefined;
|
|
69
|
+
closeLabel?: string | undefined;
|
|
69
70
|
supportingText?: string | undefined;
|
|
70
71
|
backLabel?: string | undefined;
|
|
71
|
-
closeLabel?: string | undefined;
|
|
72
72
|
customTopics?: {
|
|
73
73
|
title: string;
|
|
74
74
|
id: string;
|
|
@@ -68,8 +68,9 @@ export declare const ANIMATION_EASING: {
|
|
|
68
68
|
* - Example: On a medium screen (`md`), the expanded TopBar height is 220px.
|
|
69
69
|
* @property quickActionsCompact - Heights (in pixels) for the QuickActionsBar in compact mode.
|
|
70
70
|
* - Example: On an extra-small screen (`xs`), the QuickActionsBar height is 60px.
|
|
71
|
-
* @property bottomNav -
|
|
72
|
-
*
|
|
71
|
+
* @property bottomNav - Content clearance for the floating Home bottom nav pill
|
|
72
|
+
* (inner height 52 + float margin 16). Keep in sync with
|
|
73
|
+
* `HOME_BOTTOM_NAV_CLEARANCE` in `HomeBottomNav.tsx`.
|
|
73
74
|
* @property featuredCard - Minimum heights (in pixels) for the featured event card.
|
|
74
75
|
* - Example: On a small screen (`sm`), the featured card has a minimum height of 220px.
|
|
75
76
|
*/
|
|
@@ -93,7 +94,7 @@ export declare const COMPONENT_HEIGHTS: {
|
|
|
93
94
|
readonly sm: 88;
|
|
94
95
|
readonly md: 104;
|
|
95
96
|
};
|
|
96
|
-
readonly bottomNav:
|
|
97
|
+
readonly bottomNav: 68;
|
|
97
98
|
readonly featuredCard: {
|
|
98
99
|
readonly xs: 200;
|
|
99
100
|
readonly sm: 220;
|
|
@@ -44,6 +44,14 @@ export interface HomePageProps {
|
|
|
44
44
|
isPersonalProfile?: boolean;
|
|
45
45
|
/** Show the Ingressos quick action (terreiro + event.publish + ticketing chat flag) */
|
|
46
46
|
canPublishTickets?: boolean;
|
|
47
|
+
/** Show Personal-profile Social quick action / bottom nav when social feature is enabled */
|
|
48
|
+
canUseSocial?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Unread Social notifications count (same source as Social inbox).
|
|
51
|
+
* Shown as a numeric badge on the Social quick action, Home Menu row, and bottom-nav Social tab.
|
|
52
|
+
* Hidden when 0 / undefined; display caps at `99+`.
|
|
53
|
+
*/
|
|
54
|
+
socialNotificationsUnreadCount?: number;
|
|
47
55
|
/** Current user information including profile, address, and contact */
|
|
48
56
|
user?: {
|
|
49
57
|
profile: {
|
|
@@ -1482,6 +1490,10 @@ export declare const HomePagePropsSchema: z.ZodObject<{
|
|
|
1482
1490
|
isPersonalProfile: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1483
1491
|
/** Show the Ingressos quick action */
|
|
1484
1492
|
canPublishTickets: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1493
|
+
/** Show the Experiências quick action */
|
|
1494
|
+
canUseSocial: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1495
|
+
/** Unread Social notifications for Social entry badges */
|
|
1496
|
+
socialNotificationsUnreadCount: z.ZodOptional<z.ZodNumber>;
|
|
1485
1497
|
/** Quick action buttons */
|
|
1486
1498
|
quickActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1487
1499
|
/** Unique identifier */
|
|
@@ -1623,12 +1635,12 @@ export declare const HomePagePropsSchema: z.ZodObject<{
|
|
|
1623
1635
|
toIndex: z.ZodOptional<z.ZodNumber>;
|
|
1624
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1625
1637
|
method: "reset" | "drag" | "arrow_up" | "arrow_down";
|
|
1626
|
-
widgetId?: "attendance" | "
|
|
1638
|
+
widgetId?: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals" | undefined;
|
|
1627
1639
|
fromIndex?: number | undefined;
|
|
1628
1640
|
toIndex?: number | undefined;
|
|
1629
1641
|
}, {
|
|
1630
1642
|
method: "reset" | "drag" | "arrow_up" | "arrow_down";
|
|
1631
|
-
widgetId?: "attendance" | "
|
|
1643
|
+
widgetId?: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals" | undefined;
|
|
1632
1644
|
fromIndex?: number | undefined;
|
|
1633
1645
|
toIndex?: number | undefined;
|
|
1634
1646
|
}>>], null>, z.ZodVoid>>;
|
|
@@ -1678,6 +1690,7 @@ export declare const HomePagePropsSchema: z.ZodObject<{
|
|
|
1678
1690
|
isPersonalProfile: boolean;
|
|
1679
1691
|
showQuickActions: boolean;
|
|
1680
1692
|
canPublishTickets: boolean;
|
|
1693
|
+
canUseSocial: boolean;
|
|
1681
1694
|
user?: {
|
|
1682
1695
|
profile: {
|
|
1683
1696
|
document: string;
|
|
@@ -1754,6 +1767,7 @@ export declare const HomePagePropsSchema: z.ZodObject<{
|
|
|
1754
1767
|
value: string;
|
|
1755
1768
|
icon: string;
|
|
1756
1769
|
}[] | undefined;
|
|
1770
|
+
socialNotificationsUnreadCount?: number | undefined;
|
|
1757
1771
|
upcomingEvents?: {
|
|
1758
1772
|
id: string | number;
|
|
1759
1773
|
status: string;
|
|
@@ -1778,12 +1792,12 @@ export declare const HomePagePropsSchema: z.ZodObject<{
|
|
|
1778
1792
|
timestamp: Date;
|
|
1779
1793
|
}[] | undefined;
|
|
1780
1794
|
onNavigate?: ((args_0: string) => void) | undefined;
|
|
1781
|
-
homeWidgets?: Partial<Record<"attendance" | "
|
|
1782
|
-
onHomeWidgetVisibilityChange?: ((args_0: "attendance" | "
|
|
1783
|
-
homeWidgetOrder?: ("attendance" | "
|
|
1784
|
-
onHomeWidgetOrderChange?: ((args_0: ("attendance" | "
|
|
1795
|
+
homeWidgets?: Partial<Record<"attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", boolean>> | undefined;
|
|
1796
|
+
onHomeWidgetVisibilityChange?: ((args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void) | undefined;
|
|
1797
|
+
homeWidgetOrder?: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[] | undefined;
|
|
1798
|
+
onHomeWidgetOrderChange?: ((args_0: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[], args_1: {
|
|
1785
1799
|
method: "reset" | "drag" | "arrow_up" | "arrow_down";
|
|
1786
|
-
widgetId?: "attendance" | "
|
|
1800
|
+
widgetId?: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals" | undefined;
|
|
1787
1801
|
fromIndex?: number | undefined;
|
|
1788
1802
|
toIndex?: number | undefined;
|
|
1789
1803
|
} | undefined) => void) | undefined;
|
|
@@ -1838,8 +1852,8 @@ export declare const HomePagePropsSchema: z.ZodObject<{
|
|
|
1838
1852
|
};
|
|
1839
1853
|
} | undefined;
|
|
1840
1854
|
isPersonalProfile?: boolean | undefined;
|
|
1841
|
-
onRefresh?: (() => void) | undefined;
|
|
1842
1855
|
showQuickActions?: boolean | undefined;
|
|
1856
|
+
onRefresh?: (() => void) | undefined;
|
|
1843
1857
|
quickActions?: {
|
|
1844
1858
|
title: string;
|
|
1845
1859
|
id: string;
|
|
@@ -1871,6 +1885,8 @@ export declare const HomePagePropsSchema: z.ZodObject<{
|
|
|
1871
1885
|
icon: string;
|
|
1872
1886
|
}[] | undefined;
|
|
1873
1887
|
canPublishTickets?: boolean | undefined;
|
|
1888
|
+
canUseSocial?: boolean | undefined;
|
|
1889
|
+
socialNotificationsUnreadCount?: number | undefined;
|
|
1874
1890
|
upcomingEvents?: {
|
|
1875
1891
|
id: string | number;
|
|
1876
1892
|
status: string;
|
|
@@ -1895,12 +1911,12 @@ export declare const HomePagePropsSchema: z.ZodObject<{
|
|
|
1895
1911
|
timestamp: Date;
|
|
1896
1912
|
}[] | undefined;
|
|
1897
1913
|
onNavigate?: ((args_0: string) => void) | undefined;
|
|
1898
|
-
homeWidgets?: Partial<Record<"attendance" | "
|
|
1899
|
-
onHomeWidgetVisibilityChange?: ((args_0: "attendance" | "
|
|
1900
|
-
homeWidgetOrder?: ("attendance" | "
|
|
1901
|
-
onHomeWidgetOrderChange?: ((args_0: ("attendance" | "
|
|
1914
|
+
homeWidgets?: Partial<Record<"attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", boolean>> | undefined;
|
|
1915
|
+
onHomeWidgetVisibilityChange?: ((args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void) | undefined;
|
|
1916
|
+
homeWidgetOrder?: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[] | undefined;
|
|
1917
|
+
onHomeWidgetOrderChange?: ((args_0: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[], args_1: {
|
|
1902
1918
|
method: "reset" | "drag" | "arrow_up" | "arrow_down";
|
|
1903
|
-
widgetId?: "attendance" | "
|
|
1919
|
+
widgetId?: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals" | undefined;
|
|
1904
1920
|
fromIndex?: number | undefined;
|
|
1905
1921
|
toIndex?: number | undefined;
|
|
1906
1922
|
} | undefined) => void) | undefined;
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
/** Inner pill height (actions row). */
|
|
3
|
+
export declare const HOME_BOTTOM_NAV_HEIGHT = 52;
|
|
4
|
+
/** Float margin below the pill (before safe-area). */
|
|
5
|
+
export declare const HOME_BOTTOM_NAV_FLOAT_MB = 16;
|
|
6
|
+
/** Total clearance for content padding (pill + float margin). */
|
|
7
|
+
export declare const HOME_BOTTOM_NAV_CLEARANCE: number;
|
|
2
8
|
declare const HomeBottomNav: React.NamedExoticComponent<{
|
|
3
9
|
value: number;
|
|
4
10
|
onChange: (v: number) => void;
|
|
5
11
|
onQuickAction: (route: string) => void;
|
|
6
12
|
onMenu: () => void;
|
|
13
|
+
/** Whether the Home menu drawer is currently open (for aria-expanded). */
|
|
14
|
+
menuOpen?: boolean;
|
|
7
15
|
onOpenProfileSelector: () => void;
|
|
8
16
|
/** Whether the user has a terreiro context (affects which nav items are shown) */
|
|
9
17
|
hasTerreiroContext?: boolean;
|
|
18
|
+
/** Personal-profile Social entry (feature flag). Hidden on terreiro / médium hubs. */
|
|
19
|
+
canUseSocial?: boolean;
|
|
20
|
+
/** Unread Social notifications for the Social tab badge (hidden when 0). */
|
|
21
|
+
socialNotificationsUnreadCount?: number;
|
|
10
22
|
}>;
|
|
11
23
|
export default HomeBottomNav;
|
|
@@ -14,27 +14,27 @@ declare const _default: React.NamedExoticComponent<{
|
|
|
14
14
|
onActionClick: (args_0: string) => void;
|
|
15
15
|
widgets: {
|
|
16
16
|
title: string;
|
|
17
|
-
id: "attendance" | "
|
|
17
|
+
id: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals";
|
|
18
18
|
visible: boolean;
|
|
19
19
|
description: string;
|
|
20
20
|
}[];
|
|
21
|
-
onWidgetVisibilityChange: (args_0: "attendance" | "
|
|
21
|
+
onWidgetVisibilityChange: (args_0: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals", args_1: boolean) => void;
|
|
22
22
|
showQuickActions?: boolean | undefined;
|
|
23
23
|
onShowQuickActionsChange?: ((args_0: boolean) => void) | undefined;
|
|
24
|
-
widgetOrder?: ("attendance" | "
|
|
25
|
-
onWidgetOrderChange?: ((args_0: ("attendance" | "
|
|
24
|
+
widgetOrder?: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[] | undefined;
|
|
25
|
+
onWidgetOrderChange?: ((args_0: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[], args_1: {
|
|
26
26
|
method: "reset" | "drag" | "arrow_up" | "arrow_down";
|
|
27
|
-
widgetId?: "attendance" | "
|
|
27
|
+
widgetId?: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals" | undefined;
|
|
28
28
|
fromIndex?: number | undefined;
|
|
29
29
|
toIndex?: number | undefined;
|
|
30
30
|
} | undefined) => void) | undefined;
|
|
31
31
|
reorderableWidgets?: {
|
|
32
32
|
title: string;
|
|
33
|
-
id: "attendance" | "
|
|
33
|
+
id: "attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals";
|
|
34
34
|
visible: boolean;
|
|
35
35
|
description: string;
|
|
36
36
|
}[] | undefined;
|
|
37
|
-
defaultWidgetOrder?: ("attendance" | "
|
|
37
|
+
defaultWidgetOrder?: ("attendance" | "calendar" | "highlights" | "quickActions" | "weeklyTasks" | "profileCompleteness" | "terreiroCompleteness" | "gamification" | "supplyPlan" | "moonPhase" | "dailyRituals")[] | undefined;
|
|
38
38
|
onWidgetsCustomizeViewOpen?: ((args_0: "order" | "visibility") => void) | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
export default _default;
|